From 2ba160ae0730b60a9c9424368bbf6f91dd11a31f Mon Sep 17 00:00:00 2001
From: Mystical
Date: Wed, 11 Apr 2018 08:42:06 -0600
Subject: [PATCH 001/130] Initial commit
---
LICENSE | 674 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
README.md | 2 +
2 files changed, 676 insertions(+)
create mode 100644 LICENSE
create mode 100644 README.md
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a0020a8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# VRChatJS
+A JavaScript for the VRChat API.
From 1f69920f512e64e10ee4870185fac2b168bb012b Mon Sep 17 00:00:00 2001
From: Mystical
Date: Wed, 11 Apr 2018 08:43:33 -0600
Subject: [PATCH 002/130] Added README.md to the VRChatJS
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index a0020a8..7b0cebc 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,4 @@
# VRChatJS
A JavaScript for the VRChat API.
+
+For documentation based on the API itself. Check out our site. https://vrchatapi.github.io/
From 725df851c7bfd5b62a3dae0c4bebfc27681cc01b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?=
Date: Sun, 25 Jul 2021 20:00:58 +0200
Subject: [PATCH 003/130] Initial commit
Autogenerated library for NodeJS on OpenAPI spec 2021-07-25
---
.babelrc | 33 +
.gitignore | 33 +
.openapi-generator-ignore | 23 +
.openapi-generator/FILES | 138 +
.openapi-generator/VERSION | 1 +
.travis.yml | 5 +
LICENSE | 695 +---
README.md | 275 +-
dist/ApiClient.js | 786 ++++
dist/api/AuthenticationApi.js | 273 ++
dist/api/FilesApi.js | 555 +++
dist/api/FriendsApi.js | 268 ++
dist/api/NotificationsApi.js | 264 ++
dist/api/SystemApi.js | 178 +
dist/api/UsersApi.js | 286 ++
dist/api/WorldsApi.js | 131 +
dist/index.js | 359 ++
dist/model/Config.js | 973 +++++
dist/model/ConfigAnnouncements.js | 92 +
dist/model/ConfigDownloadUrls.js | 104 +
dist/model/ConfigDynamicWorldRows.js | 143 +
dist/model/ConfigEvents.js | 187 +
dist/model/CurrentUser.js | 578 +++
dist/model/DeploymentGroup.js | 54 +
dist/model/DeveloperType.js | 54 +
dist/model/Error.js | 77 +
dist/model/File.js | 150 +
dist/model/FileData.js | 173 +
dist/model/FileStatus.js | 52 +
dist/model/FileVersion.js | 145 +
dist/model/InlineObject.js | 78 +
dist/model/InlineObject1.js | 78 +
dist/model/InlineObject2.js | 150 +
dist/model/InlineObject3.js | 111 +
dist/model/InlineObject4.js | 129 +
dist/model/InlineResponse200.js | 89 +
dist/model/InlineResponse2001.js | 78 +
dist/model/InlineResponse2002.js | 100 +
dist/model/InlineResponse2003.js | 103 +
dist/model/InlineResponse2004.js | 134 +
dist/model/InlineResponse2005.js | 78 +
dist/model/InlineResponse401.js | 80 +
dist/model/LimitedUser.js | 246 ++
dist/model/LimitedWorld.js | 270 ++
dist/model/MIMEType.js | 74 +
dist/model/Notification.js | 162 +
dist/model/NotificationType.js | 60 +
dist/model/ReleaseStatus.js | 52 +
dist/model/Response.js | 89 +
dist/model/Success.js | 77 +
dist/model/User.js | 331 ++
dist/model/UserState.js | 52 +
dist/model/UserStatus.js | 56 +
docs/AuthenticationApi.md | 330 ++
docs/Config.md | 83 +
docs/ConfigAnnouncements.md | 10 +
docs/ConfigDownloadUrls.md | 11 +
docs/ConfigDynamicWorldRows.md | 15 +
docs/ConfigEvents.md | 18 +
docs/CurrentUser.md | 54 +
docs/DeploymentGroup.md | 14 +
docs/DeveloperType.md | 14 +
docs/Error.md | 9 +
docs/File.md | 15 +
docs/FileData.md | 28 +
docs/FileStatus.md | 12 +
docs/FileVersion.md | 15 +
docs/FilesApi.md | 600 +++
docs/FriendsApi.md | 294 ++
docs/InlineObject.md | 9 +
docs/InlineObject1.md | 9 +
docs/InlineObject2.md | 17 +
docs/InlineObject3.md | 12 +
docs/InlineObject4.md | 29 +
docs/InlineResponse200.md | 10 +
docs/InlineResponse2001.md | 9 +
docs/InlineResponse2002.md | 11 +
docs/InlineResponse2003.md | 11 +
docs/InlineResponse2004.md | 14 +
docs/InlineResponse2005.md | 9 +
docs/InlineResponse401.md | 9 +
docs/LimitedUser.md | 24 +
docs/LimitedWorld.md | 27 +
docs/MIMEType.md | 34 +
docs/Notification.md | 16 +
docs/NotificationType.md | 20 +
docs/NotificationsApi.md | 296 ++
docs/ReleaseStatus.md | 12 +
docs/Response.md | 10 +
docs/Success.md | 9 +
docs/SystemApi.md | 172 +
docs/User.md | 32 +
docs/UserState.md | 12 +
docs/UserStatus.md | 16 +
docs/UsersApi.md | 308 ++
docs/WorldsApi.md | 96 +
generate.sh | 16 +
git_push.sh | 58 +
mocha.opts | 1 +
openapitools.json | 7 +
package-lock.json | 4208 +++++++++++++++++++++
package.json | 46 +
src/ApiClient.js | 692 ++++
src/api/AuthenticationApi.js | 307 ++
src/api/FilesApi.js | 597 +++
src/api/FriendsApi.js | 288 ++
src/api/NotificationsApi.js | 288 ++
src/api/SystemApi.js | 203 +
src/api/UsersApi.js | 307 ++
src/api/WorldsApi.js | 131 +
src/index.js | 356 ++
src/model/Config.js | 889 +++++
src/model/ConfigAnnouncements.js | 86 +
src/model/ConfigDownloadUrls.js | 97 +
src/model/ConfigDynamicWorldRows.js | 132 +
src/model/ConfigEvents.js | 173 +
src/model/CurrentUser.js | 525 +++
src/model/DeploymentGroup.js | 60 +
src/model/DeveloperType.js | 60 +
src/model/Error.js | 72 +
src/model/File.js | 137 +
src/model/FileData.js | 163 +
src/model/FileStatus.js | 53 +
src/model/FileVersion.js | 132 +
src/model/InlineObject.js | 73 +
src/model/InlineObject1.js | 73 +
src/model/InlineObject2.js | 137 +
src/model/InlineObject3.js | 102 +
src/model/InlineObject4.js | 126 +
src/model/InlineResponse200.js | 83 +
src/model/InlineResponse2001.js | 73 +
src/model/InlineResponse2002.js | 93 +
src/model/InlineResponse2003.js | 96 +
src/model/InlineResponse2004.js | 124 +
src/model/InlineResponse2005.js | 73 +
src/model/InlineResponse401.js | 74 +
src/model/LimitedUser.js | 224 ++
src/model/LimitedWorld.js | 246 ++
src/model/MIMEType.js | 130 +
src/model/Notification.js | 149 +
src/model/NotificationType.js | 81 +
src/model/ReleaseStatus.js | 53 +
src/model/Response.js | 83 +
src/model/Success.js | 72 +
src/model/User.js | 300 ++
src/model/UserState.js | 53 +
src/model/UserStatus.js | 67 +
test/api/AuthenticationApi.spec.js | 113 +
test/api/FilesApi.spec.js | 153 +
test/api/FriendsApi.spec.js | 103 +
test/api/NotificationsApi.spec.js | 103 +
test/api/SystemApi.spec.js | 93 +
test/api/UsersApi.spec.js | 103 +
test/api/WorldsApi.spec.js | 63 +
test/model/Config.spec.js | 509 +++
test/model/ConfigAnnouncements.spec.js | 71 +
test/model/ConfigDownloadUrls.spec.js | 77 +
test/model/ConfigDynamicWorldRows.spec.js | 101 +
test/model/ConfigEvents.spec.js | 119 +
test/model/CurrentUser.spec.js | 335 ++
test/model/DeploymentGroup.spec.js | 58 +
test/model/DeveloperType.spec.js | 58 +
test/model/Error.spec.js | 65 +
test/model/File.spec.js | 101 +
test/model/FileData.spec.js | 101 +
test/model/FileStatus.spec.js | 58 +
test/model/FileVersion.spec.js | 101 +
test/model/InlineObject.spec.js | 65 +
test/model/InlineObject1.spec.js | 65 +
test/model/InlineObject2.spec.js | 113 +
test/model/InlineObject3.spec.js | 83 +
test/model/InlineObject4.spec.js | 77 +
test/model/InlineResponse200.spec.js | 71 +
test/model/InlineResponse2001.spec.js | 65 +
test/model/InlineResponse2002.spec.js | 77 +
test/model/InlineResponse2003.spec.js | 77 +
test/model/InlineResponse2004.spec.js | 95 +
test/model/InlineResponse2005.spec.js | 65 +
test/model/InlineResponse401.spec.js | 65 +
test/model/LimitedUser.spec.js | 155 +
test/model/LimitedWorld.spec.js | 173 +
test/model/MIMEType.spec.js | 58 +
test/model/Notification.spec.js | 107 +
test/model/NotificationType.spec.js | 58 +
test/model/ReleaseStatus.spec.js | 58 +
test/model/Response.spec.js | 71 +
test/model/Success.spec.js | 65 +
test/model/User.spec.js | 203 +
test/model/UserState.spec.js | 58 +
test/model/UserStatus.spec.js | 58 +
190 files changed, 28976 insertions(+), 677 deletions(-)
create mode 100644 .babelrc
create mode 100644 .gitignore
create mode 100644 .openapi-generator-ignore
create mode 100644 .openapi-generator/FILES
create mode 100644 .openapi-generator/VERSION
create mode 100644 .travis.yml
create mode 100644 dist/ApiClient.js
create mode 100644 dist/api/AuthenticationApi.js
create mode 100644 dist/api/FilesApi.js
create mode 100644 dist/api/FriendsApi.js
create mode 100644 dist/api/NotificationsApi.js
create mode 100644 dist/api/SystemApi.js
create mode 100644 dist/api/UsersApi.js
create mode 100644 dist/api/WorldsApi.js
create mode 100644 dist/index.js
create mode 100644 dist/model/Config.js
create mode 100644 dist/model/ConfigAnnouncements.js
create mode 100644 dist/model/ConfigDownloadUrls.js
create mode 100644 dist/model/ConfigDynamicWorldRows.js
create mode 100644 dist/model/ConfigEvents.js
create mode 100644 dist/model/CurrentUser.js
create mode 100644 dist/model/DeploymentGroup.js
create mode 100644 dist/model/DeveloperType.js
create mode 100644 dist/model/Error.js
create mode 100644 dist/model/File.js
create mode 100644 dist/model/FileData.js
create mode 100644 dist/model/FileStatus.js
create mode 100644 dist/model/FileVersion.js
create mode 100644 dist/model/InlineObject.js
create mode 100644 dist/model/InlineObject1.js
create mode 100644 dist/model/InlineObject2.js
create mode 100644 dist/model/InlineObject3.js
create mode 100644 dist/model/InlineObject4.js
create mode 100644 dist/model/InlineResponse200.js
create mode 100644 dist/model/InlineResponse2001.js
create mode 100644 dist/model/InlineResponse2002.js
create mode 100644 dist/model/InlineResponse2003.js
create mode 100644 dist/model/InlineResponse2004.js
create mode 100644 dist/model/InlineResponse2005.js
create mode 100644 dist/model/InlineResponse401.js
create mode 100644 dist/model/LimitedUser.js
create mode 100644 dist/model/LimitedWorld.js
create mode 100644 dist/model/MIMEType.js
create mode 100644 dist/model/Notification.js
create mode 100644 dist/model/NotificationType.js
create mode 100644 dist/model/ReleaseStatus.js
create mode 100644 dist/model/Response.js
create mode 100644 dist/model/Success.js
create mode 100644 dist/model/User.js
create mode 100644 dist/model/UserState.js
create mode 100644 dist/model/UserStatus.js
create mode 100644 docs/AuthenticationApi.md
create mode 100644 docs/Config.md
create mode 100644 docs/ConfigAnnouncements.md
create mode 100644 docs/ConfigDownloadUrls.md
create mode 100644 docs/ConfigDynamicWorldRows.md
create mode 100644 docs/ConfigEvents.md
create mode 100644 docs/CurrentUser.md
create mode 100644 docs/DeploymentGroup.md
create mode 100644 docs/DeveloperType.md
create mode 100644 docs/Error.md
create mode 100644 docs/File.md
create mode 100644 docs/FileData.md
create mode 100644 docs/FileStatus.md
create mode 100644 docs/FileVersion.md
create mode 100644 docs/FilesApi.md
create mode 100644 docs/FriendsApi.md
create mode 100644 docs/InlineObject.md
create mode 100644 docs/InlineObject1.md
create mode 100644 docs/InlineObject2.md
create mode 100644 docs/InlineObject3.md
create mode 100644 docs/InlineObject4.md
create mode 100644 docs/InlineResponse200.md
create mode 100644 docs/InlineResponse2001.md
create mode 100644 docs/InlineResponse2002.md
create mode 100644 docs/InlineResponse2003.md
create mode 100644 docs/InlineResponse2004.md
create mode 100644 docs/InlineResponse2005.md
create mode 100644 docs/InlineResponse401.md
create mode 100644 docs/LimitedUser.md
create mode 100644 docs/LimitedWorld.md
create mode 100644 docs/MIMEType.md
create mode 100644 docs/Notification.md
create mode 100644 docs/NotificationType.md
create mode 100644 docs/NotificationsApi.md
create mode 100644 docs/ReleaseStatus.md
create mode 100644 docs/Response.md
create mode 100644 docs/Success.md
create mode 100644 docs/SystemApi.md
create mode 100644 docs/User.md
create mode 100644 docs/UserState.md
create mode 100644 docs/UserStatus.md
create mode 100644 docs/UsersApi.md
create mode 100644 docs/WorldsApi.md
create mode 100644 generate.sh
create mode 100644 git_push.sh
create mode 100644 mocha.opts
create mode 100644 openapitools.json
create mode 100644 package-lock.json
create mode 100644 package.json
create mode 100644 src/ApiClient.js
create mode 100644 src/api/AuthenticationApi.js
create mode 100644 src/api/FilesApi.js
create mode 100644 src/api/FriendsApi.js
create mode 100644 src/api/NotificationsApi.js
create mode 100644 src/api/SystemApi.js
create mode 100644 src/api/UsersApi.js
create mode 100644 src/api/WorldsApi.js
create mode 100644 src/index.js
create mode 100644 src/model/Config.js
create mode 100644 src/model/ConfigAnnouncements.js
create mode 100644 src/model/ConfigDownloadUrls.js
create mode 100644 src/model/ConfigDynamicWorldRows.js
create mode 100644 src/model/ConfigEvents.js
create mode 100644 src/model/CurrentUser.js
create mode 100644 src/model/DeploymentGroup.js
create mode 100644 src/model/DeveloperType.js
create mode 100644 src/model/Error.js
create mode 100644 src/model/File.js
create mode 100644 src/model/FileData.js
create mode 100644 src/model/FileStatus.js
create mode 100644 src/model/FileVersion.js
create mode 100644 src/model/InlineObject.js
create mode 100644 src/model/InlineObject1.js
create mode 100644 src/model/InlineObject2.js
create mode 100644 src/model/InlineObject3.js
create mode 100644 src/model/InlineObject4.js
create mode 100644 src/model/InlineResponse200.js
create mode 100644 src/model/InlineResponse2001.js
create mode 100644 src/model/InlineResponse2002.js
create mode 100644 src/model/InlineResponse2003.js
create mode 100644 src/model/InlineResponse2004.js
create mode 100644 src/model/InlineResponse2005.js
create mode 100644 src/model/InlineResponse401.js
create mode 100644 src/model/LimitedUser.js
create mode 100644 src/model/LimitedWorld.js
create mode 100644 src/model/MIMEType.js
create mode 100644 src/model/Notification.js
create mode 100644 src/model/NotificationType.js
create mode 100644 src/model/ReleaseStatus.js
create mode 100644 src/model/Response.js
create mode 100644 src/model/Success.js
create mode 100644 src/model/User.js
create mode 100644 src/model/UserState.js
create mode 100644 src/model/UserStatus.js
create mode 100644 test/api/AuthenticationApi.spec.js
create mode 100644 test/api/FilesApi.spec.js
create mode 100644 test/api/FriendsApi.spec.js
create mode 100644 test/api/NotificationsApi.spec.js
create mode 100644 test/api/SystemApi.spec.js
create mode 100644 test/api/UsersApi.spec.js
create mode 100644 test/api/WorldsApi.spec.js
create mode 100644 test/model/Config.spec.js
create mode 100644 test/model/ConfigAnnouncements.spec.js
create mode 100644 test/model/ConfigDownloadUrls.spec.js
create mode 100644 test/model/ConfigDynamicWorldRows.spec.js
create mode 100644 test/model/ConfigEvents.spec.js
create mode 100644 test/model/CurrentUser.spec.js
create mode 100644 test/model/DeploymentGroup.spec.js
create mode 100644 test/model/DeveloperType.spec.js
create mode 100644 test/model/Error.spec.js
create mode 100644 test/model/File.spec.js
create mode 100644 test/model/FileData.spec.js
create mode 100644 test/model/FileStatus.spec.js
create mode 100644 test/model/FileVersion.spec.js
create mode 100644 test/model/InlineObject.spec.js
create mode 100644 test/model/InlineObject1.spec.js
create mode 100644 test/model/InlineObject2.spec.js
create mode 100644 test/model/InlineObject3.spec.js
create mode 100644 test/model/InlineObject4.spec.js
create mode 100644 test/model/InlineResponse200.spec.js
create mode 100644 test/model/InlineResponse2001.spec.js
create mode 100644 test/model/InlineResponse2002.spec.js
create mode 100644 test/model/InlineResponse2003.spec.js
create mode 100644 test/model/InlineResponse2004.spec.js
create mode 100644 test/model/InlineResponse2005.spec.js
create mode 100644 test/model/InlineResponse401.spec.js
create mode 100644 test/model/LimitedUser.spec.js
create mode 100644 test/model/LimitedWorld.spec.js
create mode 100644 test/model/MIMEType.spec.js
create mode 100644 test/model/Notification.spec.js
create mode 100644 test/model/NotificationType.spec.js
create mode 100644 test/model/ReleaseStatus.spec.js
create mode 100644 test/model/Response.spec.js
create mode 100644 test/model/Success.spec.js
create mode 100644 test/model/User.spec.js
create mode 100644 test/model/UserState.spec.js
create mode 100644 test/model/UserStatus.spec.js
diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000..c73df9d
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,33 @@
+{
+ "presets": [
+ "@babel/preset-env"
+ ],
+ "plugins": [
+ "@babel/plugin-syntax-dynamic-import",
+ "@babel/plugin-syntax-import-meta",
+ "@babel/plugin-proposal-class-properties",
+ "@babel/plugin-proposal-json-strings",
+ [
+ "@babel/plugin-proposal-decorators",
+ {
+ "legacy": true
+ }
+ ],
+ "@babel/plugin-proposal-function-sent",
+ "@babel/plugin-proposal-export-namespace-from",
+ "@babel/plugin-proposal-numeric-separator",
+ "@babel/plugin-proposal-throw-expressions",
+ "@babel/plugin-proposal-export-default-from",
+ "@babel/plugin-proposal-logical-assignment-operators",
+ "@babel/plugin-proposal-optional-chaining",
+ [
+ "@babel/plugin-proposal-pipeline-operator",
+ {
+ "proposal": "minimal"
+ }
+ ],
+ "@babel/plugin-proposal-nullish-coalescing-operator",
+ "@babel/plugin-proposal-do-expressions",
+ "@babel/plugin-proposal-function-bind"
+ ]
+}
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e920c16
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,33 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (http://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directory
+node_modules
+
+# Optional npm cache directory
+.npm
+
+# Optional REPL history
+.node_repl_history
diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore
new file mode 100644
index 0000000..7484ee5
--- /dev/null
+++ b/.openapi-generator-ignore
@@ -0,0 +1,23 @@
+# OpenAPI Generator Ignore
+# Generated by openapi-generator https://github.com/openapitools/openapi-generator
+
+# Use this file to prevent files from being overwritten by the generator.
+# The patterns follow closely to .gitignore or .dockerignore.
+
+# As an example, the C# client generator defines ApiClient.cs.
+# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
+#ApiClient.cs
+
+# You can match any string of characters against a directory, file or extension with a single asterisk (*):
+#foo/*/qux
+# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
+
+# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
+#foo/**/qux
+# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
+
+# You can also negate patterns with an exclamation (!).
+# For example, you can ignore all files in a docs folder with the file extension .md:
+#docs/*.md
+# Then explicitly reverse the ignore rule for a single file:
+#!docs/README.md
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
new file mode 100644
index 0000000..857f3c4
--- /dev/null
+++ b/.openapi-generator/FILES
@@ -0,0 +1,138 @@
+.babelrc
+.gitignore
+.travis.yml
+README.md
+docs/AuthenticationApi.md
+docs/Config.md
+docs/ConfigAnnouncements.md
+docs/ConfigDownloadUrls.md
+docs/ConfigDynamicWorldRows.md
+docs/ConfigEvents.md
+docs/CurrentUser.md
+docs/DeploymentGroup.md
+docs/DeveloperType.md
+docs/Error.md
+docs/File.md
+docs/FileData.md
+docs/FileStatus.md
+docs/FileVersion.md
+docs/FilesApi.md
+docs/FriendsApi.md
+docs/InlineObject.md
+docs/InlineObject1.md
+docs/InlineObject2.md
+docs/InlineObject3.md
+docs/InlineObject4.md
+docs/InlineResponse200.md
+docs/InlineResponse2001.md
+docs/InlineResponse2002.md
+docs/InlineResponse2003.md
+docs/InlineResponse2004.md
+docs/InlineResponse2005.md
+docs/InlineResponse401.md
+docs/LimitedUser.md
+docs/LimitedWorld.md
+docs/MIMEType.md
+docs/Notification.md
+docs/NotificationType.md
+docs/NotificationsApi.md
+docs/ReleaseStatus.md
+docs/Response.md
+docs/Success.md
+docs/SystemApi.md
+docs/User.md
+docs/UserState.md
+docs/UserStatus.md
+docs/UsersApi.md
+docs/WorldsApi.md
+git_push.sh
+mocha.opts
+package.json
+src/ApiClient.js
+src/api/AuthenticationApi.js
+src/api/FilesApi.js
+src/api/FriendsApi.js
+src/api/NotificationsApi.js
+src/api/SystemApi.js
+src/api/UsersApi.js
+src/api/WorldsApi.js
+src/index.js
+src/model/Config.js
+src/model/ConfigAnnouncements.js
+src/model/ConfigDownloadUrls.js
+src/model/ConfigDynamicWorldRows.js
+src/model/ConfigEvents.js
+src/model/CurrentUser.js
+src/model/DeploymentGroup.js
+src/model/DeveloperType.js
+src/model/Error.js
+src/model/File.js
+src/model/FileData.js
+src/model/FileStatus.js
+src/model/FileVersion.js
+src/model/InlineObject.js
+src/model/InlineObject1.js
+src/model/InlineObject2.js
+src/model/InlineObject3.js
+src/model/InlineObject4.js
+src/model/InlineResponse200.js
+src/model/InlineResponse2001.js
+src/model/InlineResponse2002.js
+src/model/InlineResponse2003.js
+src/model/InlineResponse2004.js
+src/model/InlineResponse2005.js
+src/model/InlineResponse401.js
+src/model/LimitedUser.js
+src/model/LimitedWorld.js
+src/model/MIMEType.js
+src/model/Notification.js
+src/model/NotificationType.js
+src/model/ReleaseStatus.js
+src/model/Response.js
+src/model/Success.js
+src/model/User.js
+src/model/UserState.js
+src/model/UserStatus.js
+test/api/AuthenticationApi.spec.js
+test/api/FilesApi.spec.js
+test/api/FriendsApi.spec.js
+test/api/NotificationsApi.spec.js
+test/api/SystemApi.spec.js
+test/api/UsersApi.spec.js
+test/api/WorldsApi.spec.js
+test/model/Config.spec.js
+test/model/ConfigAnnouncements.spec.js
+test/model/ConfigDownloadUrls.spec.js
+test/model/ConfigDynamicWorldRows.spec.js
+test/model/ConfigEvents.spec.js
+test/model/CurrentUser.spec.js
+test/model/DeploymentGroup.spec.js
+test/model/DeveloperType.spec.js
+test/model/Error.spec.js
+test/model/File.spec.js
+test/model/FileData.spec.js
+test/model/FileStatus.spec.js
+test/model/FileVersion.spec.js
+test/model/InlineObject.spec.js
+test/model/InlineObject1.spec.js
+test/model/InlineObject2.spec.js
+test/model/InlineObject3.spec.js
+test/model/InlineObject4.spec.js
+test/model/InlineResponse200.spec.js
+test/model/InlineResponse2001.spec.js
+test/model/InlineResponse2002.spec.js
+test/model/InlineResponse2003.spec.js
+test/model/InlineResponse2004.spec.js
+test/model/InlineResponse2005.spec.js
+test/model/InlineResponse401.spec.js
+test/model/LimitedUser.spec.js
+test/model/LimitedWorld.spec.js
+test/model/MIMEType.spec.js
+test/model/Notification.spec.js
+test/model/NotificationType.spec.js
+test/model/ReleaseStatus.spec.js
+test/model/Response.spec.js
+test/model/Success.spec.js
+test/model/User.spec.js
+test/model/UserState.spec.js
+test/model/UserStatus.spec.js
diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION
new file mode 100644
index 0000000..7cbea07
--- /dev/null
+++ b/.openapi-generator/VERSION
@@ -0,0 +1 @@
+5.2.0
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..0968f7a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,5 @@
+language: node_js
+cache: npm
+node_js:
+ - "6"
+ - "6.1"
diff --git a/LICENSE b/LICENSE
index 94a9ed0..ad4b3c7 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,674 +1,21 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
+The MIT License (MIT)
+
+Copyright (c) 2021 Rubybb and individual contributors.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/README.md b/README.md
index 7b0cebc..582cc1c 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,273 @@
-# VRChatJS
-A JavaScript for the VRChat API.
+# vrchatapi
+
+vrchatapi - JavaScript client for vrchatapi
+
+
+# VRChat API Documentation
+This project is an [OPEN Open Source Project](https://openopensource.org)
+
+Individuals making significant and valuable contributions are given
+commit-access to the project to contribute as they see fit. This project
+is more like an open wiki than a standard guarded open source project.
+
+## Disclaimer
+
+This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.
+
+> **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:**
+> * We do not provide documentation or support for the API.
+> * Do not make queries to the API more than once per 60 seconds.
+> * Abuse of the API may result in account termination.
+> * Access to API endpoints may break at any given time, with no warning.
+
+As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.
+
+## Get in touch with us!
+
+[https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
+
+- API version: 1.0.0
+- Package version: 1.0.0
+- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
+For more information, please visit [https://github.com/VRChatAPI](https://github.com/VRChatAPI)
+
+## Installation
+
+### For [Node.js](https://nodejs.org/)
+
+#### npm
+
+To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
+
+Then install it via:
+
+```shell
+npm install vrchatapi --save
+```
+
+Finally, you need to build the module:
+
+```shell
+npm run build
+```
+
+##### Local development
+
+To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
+
+```shell
+npm install
+```
+
+Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
+
+```shell
+npm link
+```
+
+To use the link you just defined in your project, switch to the directory you want to use your vrchatapi from, and run:
+
+```shell
+npm link /path/to/
+```
+
+Finally, you need to build the module:
+
+```shell
+npm run build
+```
+
+#### git
+
+If the library is hosted at a git repository, e.g.https://github.com/vrchatapi/vrchatapi-node
+then install it via:
+
+```shell
+ npm install vrchatapi/vrchatapi-node --save
+```
+
+### For browser
+
+The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
+the above steps with Node.js and installing browserify with `npm install -g browserify`,
+perform the following (assuming *main.js* is your entry file):
+
+```shell
+browserify main.js > bundle.js
+```
+
+Then include *bundle.js* in the HTML pages.
+
+### Webpack Configuration
+
+Using Webpack you may encounter the following error: "Module not found: Error:
+Cannot resolve module", most certainly you should disable AMD loader. Add/merge
+the following section to your webpack config:
+
+```javascript
+module: {
+ rules: [
+ {
+ parser: {
+ amd: false
+ }
+ }
+ ]
+}
+```
+
+## Getting Started
+
+Please follow the [installation](#installation) instruction and execute the following JS code:
+
+```javascript
+var vrchatapi = require('vrchatapi');
+
+var defaultClient = vrchatapi.ApiClient.instance;
+// Configure API key authorization: apiKeyCookie
+var apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
+apiKeyCookie.apiKey = "YOUR API KEY"
+// Configure API key authorization: authCookie
+var authCookie = defaultClient.authentications['authCookie'];
+authCookie.apiKey = "YOUR API KEY"
+
+var api = new vrchatapi.AuthenticationApi()
+var userId = "userId_example"; // {String}
+api.deleteUserById(userId).then(function(data) {
+ console.log('API called successfully. Returned data: ' + data);
+}, function(error) {
+ console.error(error);
+});
+
+
+```
+
+## Documentation for API Endpoints
+
+All URIs are relative to *https://api.vrchat.cloud/api/1*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*vrchatapi.AuthenticationApi* | [**deleteUserById**](docs/AuthenticationApi.md#deleteUserById) | **PUT** /user/{userId}/delete | Delete User
+*vrchatapi.AuthenticationApi* | [**getCurrentUser**](docs/AuthenticationApi.md#getCurrentUser) | **GET** /auth/user | Login and/or Get Current User Info
+*vrchatapi.AuthenticationApi* | [**logout**](docs/AuthenticationApi.md#logout) | **PUT** /logout | Logout
+*vrchatapi.AuthenticationApi* | [**verify2FA**](docs/AuthenticationApi.md#verify2FA) | **POST** /auth/twofactorauth/totp/verify | Verify 2FA code
+*vrchatapi.AuthenticationApi* | [**verifyAuthToken**](docs/AuthenticationApi.md#verifyAuthToken) | **GET** /auth | Verify Auth Token
+*vrchatapi.AuthenticationApi* | [**verifyRecoveryCode**](docs/AuthenticationApi.md#verifyRecoveryCode) | **POST** /auth/twofactorauth/otp/verify | Verify 2FA code with Recovery code
+*vrchatapi.FilesApi* | [**createFile**](docs/FilesApi.md#createFile) | **POST** /file | Create File
+*vrchatapi.FilesApi* | [**createFileVersion**](docs/FilesApi.md#createFileVersion) | **POST** /file/{fileId} | Create File Version
+*vrchatapi.FilesApi* | [**deleteFile**](docs/FilesApi.md#deleteFile) | **DELETE** /file/{fileId} | Delete File
+*vrchatapi.FilesApi* | [**deleteFileVersion**](docs/FilesApi.md#deleteFileVersion) | **DELETE** /file/{fileId}/{versionId} | Delete File Version
+*vrchatapi.FilesApi* | [**downloadFileVersion**](docs/FilesApi.md#downloadFileVersion) | **GET** /file/{fileId}/{versionId} | Download File Version
+*vrchatapi.FilesApi* | [**finishFileDataUpload**](docs/FilesApi.md#finishFileDataUpload) | **PUT** /file/{fileId}/{versionId}/{fileType}/finish | Finish FileData Upload
+*vrchatapi.FilesApi* | [**getFile**](docs/FilesApi.md#getFile) | **GET** /file/{fileId} | Show File
+*vrchatapi.FilesApi* | [**getFileDataUploadStatus**](docs/FilesApi.md#getFileDataUploadStatus) | **GET** /file/{fileId}/{versionId}/{fileType}/status | Check FileData Upload Status
+*vrchatapi.FilesApi* | [**getFiles**](docs/FilesApi.md#getFiles) | **GET** /files | List Files
+*vrchatapi.FilesApi* | [**startFileDataUpload**](docs/FilesApi.md#startFileDataUpload) | **PUT** /file/{fileId}/{versionId}/{fileType}/start | Start FileData Upload
+*vrchatapi.FriendsApi* | [**deleteFriendRequest**](docs/FriendsApi.md#deleteFriendRequest) | **DELETE** /user/{userId}/friendRequest | Delete Friend Request
+*vrchatapi.FriendsApi* | [**friend**](docs/FriendsApi.md#friend) | **POST** /user/{userId}/friendRequest | Send Friend Request
+*vrchatapi.FriendsApi* | [**getFriendStatus**](docs/FriendsApi.md#getFriendStatus) | **GET** /user/{userId}/friendStatus | Check Friend Status
+*vrchatapi.FriendsApi* | [**getFriends**](docs/FriendsApi.md#getFriends) | **GET** /auth/user/friends | List Friends
+*vrchatapi.FriendsApi* | [**unfriend**](docs/FriendsApi.md#unfriend) | **DELETE** /auth/user/friends/{userId} | Unfriend
+*vrchatapi.NotificationsApi* | [**acceptFriendRequest**](docs/NotificationsApi.md#acceptFriendRequest) | **PUT** /auth/user/notifications/{notificationId}/accept | Accept Friend Request
+*vrchatapi.NotificationsApi* | [**clearNotifications**](docs/NotificationsApi.md#clearNotifications) | **PUT** /auth/user/notifications/clear | Clear All Notifications
+*vrchatapi.NotificationsApi* | [**deleteNotification**](docs/NotificationsApi.md#deleteNotification) | **PUT** /auth/user/notifications/{notificationId}/hide | Delete Notification
+*vrchatapi.NotificationsApi* | [**getNotifications**](docs/NotificationsApi.md#getNotifications) | **GET** /auth/user/notifications | List Notifications
+*vrchatapi.NotificationsApi* | [**markNotificationAsRead**](docs/NotificationsApi.md#markNotificationAsRead) | **PUT** /auth/user/notifications/{notificationId}/see | Mark As Read
+*vrchatapi.SystemApi* | [**getConfig**](docs/SystemApi.md#getConfig) | **GET** /config | Fetch API Config
+*vrchatapi.SystemApi* | [**getCurrentOnlineUsers**](docs/SystemApi.md#getCurrentOnlineUsers) | **GET** /visits | Current Online Users
+*vrchatapi.SystemApi* | [**getHealth**](docs/SystemApi.md#getHealth) | **GET** /health | Check API Health
+*vrchatapi.SystemApi* | [**getSystemTime**](docs/SystemApi.md#getSystemTime) | **GET** /time | Current System Time
+*vrchatapi.UsersApi* | [**getUser**](docs/UsersApi.md#getUser) | **GET** /users/{userId} | Get User by ID
+*vrchatapi.UsersApi* | [**getUserByName**](docs/UsersApi.md#getUserByName) | **GET** /users/{username}/name | Get User by Username
+*vrchatapi.UsersApi* | [**searchActiveUsers**](docs/UsersApi.md#searchActiveUsers) | **GET** /users/active | Search Active Users
+*vrchatapi.UsersApi* | [**searchUsers**](docs/UsersApi.md#searchUsers) | **GET** /users | Search All Users
+*vrchatapi.UsersApi* | [**updateUser**](docs/UsersApi.md#updateUser) | **PUT** /users/{userId} | Update User Info
+*vrchatapi.WorldsApi* | [**searchWorlds**](docs/WorldsApi.md#searchWorlds) | **GET** /worlds | Search all worlds
+
+
+## Documentation for Models
+
+ - [vrchatapi.Config](docs/Config.md)
+ - [vrchatapi.ConfigAnnouncements](docs/ConfigAnnouncements.md)
+ - [vrchatapi.ConfigDownloadUrls](docs/ConfigDownloadUrls.md)
+ - [vrchatapi.ConfigDynamicWorldRows](docs/ConfigDynamicWorldRows.md)
+ - [vrchatapi.ConfigEvents](docs/ConfigEvents.md)
+ - [vrchatapi.CurrentUser](docs/CurrentUser.md)
+ - [vrchatapi.DeploymentGroup](docs/DeploymentGroup.md)
+ - [vrchatapi.DeveloperType](docs/DeveloperType.md)
+ - [vrchatapi.Error](docs/Error.md)
+ - [vrchatapi.File](docs/File.md)
+ - [vrchatapi.FileData](docs/FileData.md)
+ - [vrchatapi.FileStatus](docs/FileStatus.md)
+ - [vrchatapi.FileVersion](docs/FileVersion.md)
+ - [vrchatapi.InlineObject](docs/InlineObject.md)
+ - [vrchatapi.InlineObject1](docs/InlineObject1.md)
+ - [vrchatapi.InlineObject2](docs/InlineObject2.md)
+ - [vrchatapi.InlineObject3](docs/InlineObject3.md)
+ - [vrchatapi.InlineObject4](docs/InlineObject4.md)
+ - [vrchatapi.InlineResponse200](docs/InlineResponse200.md)
+ - [vrchatapi.InlineResponse2001](docs/InlineResponse2001.md)
+ - [vrchatapi.InlineResponse2002](docs/InlineResponse2002.md)
+ - [vrchatapi.InlineResponse2003](docs/InlineResponse2003.md)
+ - [vrchatapi.InlineResponse2004](docs/InlineResponse2004.md)
+ - [vrchatapi.InlineResponse2005](docs/InlineResponse2005.md)
+ - [vrchatapi.InlineResponse401](docs/InlineResponse401.md)
+ - [vrchatapi.LimitedUser](docs/LimitedUser.md)
+ - [vrchatapi.LimitedWorld](docs/LimitedWorld.md)
+ - [vrchatapi.MIMEType](docs/MIMEType.md)
+ - [vrchatapi.Notification](docs/Notification.md)
+ - [vrchatapi.NotificationType](docs/NotificationType.md)
+ - [vrchatapi.ReleaseStatus](docs/ReleaseStatus.md)
+ - [vrchatapi.Response](docs/Response.md)
+ - [vrchatapi.Success](docs/Success.md)
+ - [vrchatapi.User](docs/User.md)
+ - [vrchatapi.UserState](docs/UserState.md)
+ - [vrchatapi.UserStatus](docs/UserStatus.md)
+
+
+## Documentation for Authorization
+
+
+
+### apiKeyCookie
+
+
+- **Type**: API key
+- **API key parameter name**: apiKey
+- **Location**:
+
+
+
+### apiKeyQuery
+
+
+- **Type**: API key
+- **API key parameter name**: apiKey
+- **Location**: URL query string
+
+
+
+### authCookie
+
+
+- **Type**: API key
+- **API key parameter name**: auth
+- **Location**:
+
+
+
+### authHeader
+
+- **Type**: HTTP basic authentication
+
+
+
+### twoFactorAuthCookie
+
+
+- **Type**: API key
+- **API key parameter name**: twoFactorAuth
+- **Location**:
-For documentation based on the API itself. Check out our site. https://vrchatapi.github.io/
diff --git a/dist/ApiClient.js b/dist/ApiClient.js
new file mode 100644
index 0000000..dc4b91f
--- /dev/null
+++ b/dist/ApiClient.js
@@ -0,0 +1,786 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _superagent = _interopRequireDefault(require("superagent"));
+
+var _querystring = _interopRequireDefault(require("querystring"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* @module ApiClient
+* @version 1.0.0
+*/
+
+/**
+* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
+* application to use this class directly - the *Api and model classes provide the public API for the service. The
+* contents of this file should be regarded as internal but are documented for completeness.
+* @alias module:ApiClient
+* @class
+*/
+var ApiClient = /*#__PURE__*/function () {
+ function ApiClient() {
+ _classCallCheck(this, ApiClient);
+
+ /**
+ * The base URL against which to resolve every API call's (relative) path.
+ * @type {String}
+ * @default https://api.vrchat.cloud/api/1
+ */
+ this.basePath = 'https://api.vrchat.cloud/api/1'.replace(/\/+$/, '');
+ /**
+ * The authentication methods to be included for all API calls.
+ * @type {Array.}
+ */
+
+ this.authentications = {
+ 'apiKeyCookie': {
+ type: 'apiKey',
+ 'in': 'query',
+ name: 'apiKey'
+ },
+ 'apiKeyQuery': {
+ type: 'apiKey',
+ 'in': 'query',
+ name: 'apiKey'
+ },
+ 'authCookie': {
+ type: 'apiKey',
+ 'in': 'query',
+ name: 'auth'
+ },
+ 'authHeader': {
+ type: 'basic'
+ },
+ 'twoFactorAuthCookie': {
+ type: 'apiKey',
+ 'in': 'query',
+ name: 'twoFactorAuth'
+ }
+ };
+ /**
+ * The default HTTP headers to be included for all API calls.
+ * @type {Array.}
+ * @default {}
+ */
+
+ this.defaultHeaders = {
+ 'User-Agent': 'vrchatapi-node'
+ };
+ /**
+ * The default HTTP timeout for all API calls.
+ * @type {Number}
+ * @default 60000
+ */
+
+ this.timeout = 60000;
+ /**
+ * If set to false an additional timestamp parameter is added to all API GET calls to
+ * prevent browser caching
+ * @type {Boolean}
+ * @default true
+ */
+
+ this.cache = true;
+ /**
+ * If set to true, the client will save the cookies from each server
+ * response, and return them in the next request.
+ * @default false
+ */
+
+ this.enableCookies = false;
+ /*
+ * Used to save and return cookies in a node.js (non-browser) setting,
+ * if this.enableCookies is set to true.
+ */
+
+ if (typeof window === 'undefined') {
+ this.agent = new _superagent["default"].agent();
+ }
+ /*
+ * Allow user to override superagent agent
+ */
+
+
+ this.requestAgent = null;
+ /*
+ * Allow user to add superagent plugins
+ */
+
+ this.plugins = null;
+ }
+ /**
+ * Returns a string representation for an actual parameter.
+ * @param param The actual parameter.
+ * @returns {String} The string representation of param.
+ */
+
+
+ _createClass(ApiClient, [{
+ key: "paramToString",
+ value: function paramToString(param) {
+ if (param == undefined || param == null) {
+ return '';
+ }
+
+ if (param instanceof Date) {
+ return param.toJSON();
+ }
+
+ if (ApiClient.canBeJsonified(param)) {
+ return JSON.stringify(param);
+ }
+
+ return param.toString();
+ }
+ /**
+ * Returns a boolean indicating if the parameter could be JSON.stringified
+ * @param param The actual parameter
+ * @returns {Boolean} Flag indicating if param can be JSON.stringified
+ */
+
+ }, {
+ key: "buildUrl",
+ value:
+ /**
+ * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
+ * NOTE: query parameters are not handled here.
+ * @param {String} path The path to append to the base URL.
+ * @param {Object} pathParams The parameter values to append.
+ * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
+ * @returns {String} The encoded path with parameter values substituted.
+ */
+ function buildUrl(path, pathParams, apiBasePath) {
+ var _this = this;
+
+ if (!path.match(/^\//)) {
+ path = '/' + path;
+ }
+
+ var url = this.basePath + path; // use API (operation, path) base path if defined
+
+ if (apiBasePath !== null && apiBasePath !== undefined) {
+ url = apiBasePath + path;
+ }
+
+ url = url.replace(/\{([\w-\.]+)\}/g, function (fullMatch, key) {
+ var value;
+
+ if (pathParams.hasOwnProperty(key)) {
+ value = _this.paramToString(pathParams[key]);
+ } else {
+ value = fullMatch;
+ }
+
+ return encodeURIComponent(value);
+ });
+ return url;
+ }
+ /**
+ * Checks whether the given content type represents JSON.
+ * JSON content type examples:
+ *
+ *
application/json
+ *
application/json; charset=UTF8
+ *
APPLICATION/JSON
+ *
+ * @param {String} contentType The MIME content type to check.
+ * @returns {Boolean} true if contentType represents JSON, otherwise false.
+ */
+
+ }, {
+ key: "isJsonMime",
+ value: function isJsonMime(contentType) {
+ return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
+ }
+ /**
+ * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
+ * @param {Array.} contentTypes
+ * @returns {String} The chosen content type, preferring JSON.
+ */
+
+ }, {
+ key: "jsonPreferredMime",
+ value: function jsonPreferredMime(contentTypes) {
+ for (var i = 0; i < contentTypes.length; i++) {
+ if (this.isJsonMime(contentTypes[i])) {
+ return contentTypes[i];
+ }
+ }
+
+ return contentTypes[0];
+ }
+ /**
+ * Checks whether the given parameter value represents file-like content.
+ * @param param The parameter to check.
+ * @returns {Boolean} true if param represents a file.
+ */
+
+ }, {
+ key: "isFileParam",
+ value: function isFileParam(param) {
+ // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
+ if (typeof require === 'function') {
+ var fs;
+
+ try {
+ fs = require('fs');
+ } catch (err) {}
+
+ if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
+ return true;
+ }
+ } // Buffer in Node.js
+
+
+ if (typeof Buffer === 'function' && param instanceof Buffer) {
+ return true;
+ } // Blob in browser
+
+
+ if (typeof Blob === 'function' && param instanceof Blob) {
+ return true;
+ } // File in browser (it seems File object is also instance of Blob, but keep this for safe)
+
+
+ if (typeof File === 'function' && param instanceof File) {
+ return true;
+ }
+
+ return false;
+ }
+ /**
+ * Normalizes parameter values:
+ *
+ *
remove nils
+ *
keep files and arrays
+ *
format to string with `paramToString` for other cases
+ *
+ * @param {Object.} params The parameters as object properties.
+ * @returns {Object.} normalized parameters.
+ */
+
+ }, {
+ key: "normalizeParams",
+ value: function normalizeParams(params) {
+ var newParams = {};
+
+ for (var key in params) {
+ if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
+ var value = params[key];
+
+ if (this.isFileParam(value) || Array.isArray(value)) {
+ newParams[key] = value;
+ } else {
+ newParams[key] = this.paramToString(value);
+ }
+ }
+ }
+
+ return newParams;
+ }
+ /**
+ * Builds a string representation of an array-type actual parameter, according to the given collection format.
+ * @param {Array} param An array parameter.
+ * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
+ * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
+ * param as is if collectionFormat is multi.
+ */
+
+ }, {
+ key: "buildCollectionParam",
+ value: function buildCollectionParam(param, collectionFormat) {
+ if (param == null) {
+ return null;
+ }
+
+ switch (collectionFormat) {
+ case 'csv':
+ return param.map(this.paramToString, this).join(',');
+
+ case 'ssv':
+ return param.map(this.paramToString, this).join(' ');
+
+ case 'tsv':
+ return param.map(this.paramToString, this).join('\t');
+
+ case 'pipes':
+ return param.map(this.paramToString, this).join('|');
+
+ case 'multi':
+ //return the array directly as SuperAgent will handle it as expected
+ return param.map(this.paramToString, this);
+
+ case 'passthrough':
+ return param;
+
+ default:
+ throw new Error('Unknown collection format: ' + collectionFormat);
+ }
+ }
+ /**
+ * Applies authentication headers to the request.
+ * @param {Object} request The request object created by a superagent() call.
+ * @param {Array.} authNames An array of authentication method names.
+ */
+
+ }, {
+ key: "applyAuthToRequest",
+ value: function applyAuthToRequest(request, authNames) {
+ var _this2 = this;
+
+ authNames.forEach(function (authName) {
+ var auth = _this2.authentications[authName];
+
+ switch (auth.type) {
+ case 'basic':
+ if (auth.username || auth.password) {
+ request.auth(auth.username || '', auth.password || '');
+ }
+
+ break;
+
+ case 'bearer':
+ if (auth.accessToken) {
+ var localVarBearerToken = typeof auth.accessToken === 'function' ? auth.accessToken() : auth.accessToken;
+ request.set({
+ 'Authorization': 'Bearer ' + localVarBearerToken
+ });
+ }
+
+ break;
+
+ case 'apiKey':
+ if (auth.apiKey) {
+ var data = {};
+
+ if (auth.apiKeyPrefix) {
+ data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;
+ } else {
+ data[auth.name] = auth.apiKey;
+ }
+
+ if (auth['in'] === 'header') {
+ request.set(data);
+ } else {
+ request.query(data);
+ }
+ }
+
+ break;
+
+ case 'oauth2':
+ if (auth.accessToken) {
+ request.set({
+ 'Authorization': 'Bearer ' + auth.accessToken
+ });
+ }
+
+ break;
+
+ default:
+ throw new Error('Unknown authentication type: ' + auth.type);
+ }
+ });
+ }
+ /**
+ * Deserializes an HTTP response body into a value of the specified type.
+ * @param {Object} response A SuperAgent response object.
+ * @param {(String|Array.|Object.|Function)} returnType The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns A value of the specified type.
+ */
+
+ }, {
+ key: "deserialize",
+ value: function deserialize(response, returnType) {
+ if (response == null || returnType == null || response.status == 204) {
+ return null;
+ } // Rely on SuperAgent for parsing response body.
+ // See http://visionmedia.github.io/superagent/#parsing-response-bodies
+
+
+ var data = response.body;
+
+ if (data == null || _typeof(data) === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {
+ // SuperAgent does not always produce a body; use the unparsed response as a fallback
+ data = response.text;
+ }
+
+ return ApiClient.convertToType(data, returnType);
+ }
+ /**
+ * Invokes the REST service using the supplied settings and parameters.
+ * @param {String} path The base URL to invoke.
+ * @param {String} httpMethod The HTTP method to use.
+ * @param {Object.} pathParams A map of path parameters and their values.
+ * @param {Object.} queryParams A map of query parameters and their values.
+ * @param {Object.} headerParams A map of header parameters and their values.
+ * @param {Object.} formParams A map of form parameters and their values.
+ * @param {Object} bodyParam The value to pass as the request body.
+ * @param {Array.} authNames An array of authentication type names.
+ * @param {Array.} contentTypes An array of request MIME types.
+ * @param {Array.} accepts An array of acceptable response MIME types.
+ * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
+ * constructor for a complex type.
+ * @param {String} apiBasePath base path defined in the operation/path level to override the default one
+ * @returns {Promise} A {@link https://www.promisejs.org/|Promise} object.
+ */
+
+ }, {
+ key: "callApi",
+ value: function callApi(path, httpMethod, pathParams, queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, returnType, apiBasePath) {
+ var _this3 = this;
+
+ var url = this.buildUrl(path, pathParams, apiBasePath);
+ var request = (0, _superagent["default"])(httpMethod, url);
+
+ if (this.plugins !== null) {
+ for (var index in this.plugins) {
+ if (this.plugins.hasOwnProperty(index)) {
+ request.use(this.plugins[index]);
+ }
+ }
+ } // apply authentications
+
+
+ this.applyAuthToRequest(request, authNames); // set query parameters
+
+ if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
+ queryParams['_'] = new Date().getTime();
+ }
+
+ request.query(this.normalizeParams(queryParams)); // set header parameters
+
+ request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); // set requestAgent if it is set by user
+
+ if (this.requestAgent) {
+ request.agent(this.requestAgent);
+ } // set request timeout
+
+
+ request.timeout(this.timeout);
+ var contentType = this.jsonPreferredMime(contentTypes);
+
+ if (contentType) {
+ // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
+ if (contentType != 'multipart/form-data') {
+ request.type(contentType);
+ }
+ }
+
+ if (contentType === 'application/x-www-form-urlencoded') {
+ request.send(_querystring["default"].stringify(this.normalizeParams(formParams)));
+ } else if (contentType == 'multipart/form-data') {
+ var _formParams = this.normalizeParams(formParams);
+
+ for (var key in _formParams) {
+ if (_formParams.hasOwnProperty(key)) {
+ var _formParamsValue = _formParams[key];
+
+ if (this.isFileParam(_formParamsValue)) {
+ // file field
+ request.attach(key, _formParamsValue);
+ } else if (Array.isArray(_formParamsValue) && _formParamsValue.length && this.isFileParam(_formParamsValue[0])) {
+ // multiple files
+ _formParamsValue.forEach(function (file) {
+ return request.attach(key, file);
+ });
+ } else {
+ request.field(key, _formParamsValue);
+ }
+ }
+ }
+ } else if (bodyParam !== null && bodyParam !== undefined) {
+ if (!request.header['Content-Type']) {
+ request.type('application/json');
+ }
+
+ request.send(bodyParam);
+ }
+
+ var accept = this.jsonPreferredMime(accepts);
+
+ if (accept) {
+ request.accept(accept);
+ }
+
+ if (returnType === 'Blob') {
+ request.responseType('blob');
+ } else if (returnType === 'String') {
+ request.responseType('string');
+ } // Attach previously saved cookies, if enabled
+
+
+ if (this.enableCookies) {
+ if (typeof window === 'undefined') {
+ this.agent._attachCookies(request);
+ } else {
+ request.withCredentials();
+ }
+ }
+
+ return new Promise(function (resolve, reject) {
+ request.end(function (error, response) {
+ if (error) {
+ var err = {};
+
+ if (response) {
+ err.status = response.status;
+ err.statusText = response.statusText;
+ err.body = response.body;
+ err.response = response;
+ }
+
+ err.error = error;
+ reject(err);
+ } else {
+ try {
+ var data = _this3.deserialize(response, returnType);
+
+ if (_this3.enableCookies && typeof window === 'undefined') {
+ _this3.agent._saveCookies(response);
+ }
+
+ resolve({
+ data: data,
+ response: response
+ });
+ } catch (err) {
+ reject(err);
+ }
+ }
+ });
+ });
+ }
+ /**
+ * Parses an ISO-8601 string representation or epoch representation of a date value.
+ * @param {String} str The date value as a string.
+ * @returns {Date} The parsed date object.
+ */
+
+ }, {
+ key: "hostSettings",
+ value:
+ /**
+ * Gets an array of host settings
+ * @returns An array of host settings
+ */
+ function hostSettings() {
+ return [{
+ 'url': "https://api.vrchat.cloud/api/1",
+ 'description': "No description provided"
+ }];
+ }
+ }, {
+ key: "getBasePathFromSettings",
+ value: function getBasePathFromSettings(index) {
+ var variables = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+ var servers = this.hostSettings(); // check array index out of bound
+
+ if (index < 0 || index >= servers.length) {
+ throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
+ }
+
+ var server = servers[index];
+ var url = server['url']; // go through variable and assign a value
+
+ for (var variable_name in server['variables']) {
+ if (variable_name in variables) {
+ var variable = server['variables'][variable_name];
+
+ if (!('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name])) {
+ url = url.replace("{" + variable_name + "}", variables[variable_name]);
+ } else {
+ throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
+ }
+ } else {
+ // use default value
+ url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value']);
+ }
+ }
+
+ return url;
+ }
+ /**
+ * Constructs a new map or array model from REST data.
+ * @param data {Object|Array} The REST data.
+ * @param obj {Object|Array} The target object or array.
+ */
+
+ }], [{
+ key: "canBeJsonified",
+ value: function canBeJsonified(str) {
+ if (typeof str !== 'string' && _typeof(str) !== 'object') return false;
+
+ try {
+ var type = str.toString();
+ return type === '[object Object]' || type === '[object Array]';
+ } catch (err) {
+ return false;
+ }
+ }
+ }, {
+ key: "parseDate",
+ value: function parseDate(str) {
+ if (isNaN(str)) {
+ return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
+ }
+
+ return new Date(+str);
+ }
+ /**
+ * Converts a value to the specified type.
+ * @param {(String|Object)} data The data to convert, as a string or object.
+ * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns An instance of the specified type or null or undefined if data is null or undefined.
+ */
+
+ }, {
+ key: "convertToType",
+ value: function convertToType(data, type) {
+ if (data === null || data === undefined) return data;
+
+ switch (type) {
+ case 'Boolean':
+ return Boolean(data);
+
+ case 'Integer':
+ return parseInt(data, 10);
+
+ case 'Number':
+ return parseFloat(data);
+
+ case 'String':
+ return String(data);
+
+ case 'Date':
+ return ApiClient.parseDate(String(data));
+
+ case 'Blob':
+ return data;
+
+ default:
+ if (type === Object) {
+ // generic object, return directly
+ return data;
+ } else if (typeof type.constructFromObject === 'function') {
+ // for model type like User and enum class
+ return type.constructFromObject(data);
+ } else if (Array.isArray(type)) {
+ // for array type like: ['String']
+ var itemType = type[0];
+ return data.map(function (item) {
+ return ApiClient.convertToType(item, itemType);
+ });
+ } else if (_typeof(type) === 'object') {
+ // for plain object type like: {'String': 'Integer'}
+ var keyType, valueType;
+
+ for (var k in type) {
+ if (type.hasOwnProperty(k)) {
+ keyType = k;
+ valueType = type[k];
+ break;
+ }
+ }
+
+ var result = {};
+
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) {
+ var key = ApiClient.convertToType(k, keyType);
+ var value = ApiClient.convertToType(data[k], valueType);
+ result[key] = value;
+ }
+ }
+
+ return result;
+ } else {
+ // for unknown type, return the data directly
+ return data;
+ }
+
+ }
+ }
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj, itemType) {
+ if (Array.isArray(data)) {
+ for (var i = 0; i < data.length; i++) {
+ if (data.hasOwnProperty(i)) obj[i] = ApiClient.convertToType(data[i], itemType);
+ }
+ } else {
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) obj[k] = ApiClient.convertToType(data[k], itemType);
+ }
+ }
+ }
+ }]);
+
+ return ApiClient;
+}();
+/**
+ * Enumeration of collection format separator strategies.
+ * @enum {String}
+ * @readonly
+ */
+
+
+ApiClient.CollectionFormatEnum = {
+ /**
+ * Comma-separated values. Value: csv
+ * @const
+ */
+ CSV: ',',
+
+ /**
+ * Space-separated values. Value: ssv
+ * @const
+ */
+ SSV: ' ',
+
+ /**
+ * Tab-separated values. Value: tsv
+ * @const
+ */
+ TSV: '\t',
+
+ /**
+ * Pipe(|)-separated values. Value: pipes
+ * @const
+ */
+ PIPES: '|',
+
+ /**
+ * Native array. Value: multi
+ * @const
+ */
+ MULTI: 'multi'
+};
+/**
+* The default API client implementation.
+* @type {module:ApiClient}
+*/
+
+ApiClient.instance = new ApiClient();
+var _default = ApiClient;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/api/AuthenticationApi.js b/dist/api/AuthenticationApi.js
new file mode 100644
index 0000000..884c727
--- /dev/null
+++ b/dist/api/AuthenticationApi.js
@@ -0,0 +1,273 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _CurrentUser = _interopRequireDefault(require("../model/CurrentUser"));
+
+var _InlineObject = _interopRequireDefault(require("../model/InlineObject"));
+
+var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject1"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse200"));
+
+var _InlineResponse2 = _interopRequireDefault(require("../model/InlineResponse2001"));
+
+var _InlineResponse3 = _interopRequireDefault(require("../model/InlineResponse401"));
+
+var _Success = _interopRequireDefault(require("../model/Success"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* Authentication service.
+* @module api/AuthenticationApi
+* @version 1.0.0
+*/
+var AuthenticationApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AuthenticationApi.
+ * @alias module:api/AuthenticationApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function AuthenticationApi(apiClient) {
+ _classCallCheck(this, AuthenticationApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Delete User
+ * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrentUser} and HTTP response
+ */
+
+
+ _createClass(AuthenticationApi, [{
+ key: "deleteUserByIdWithHttpInfo",
+ value: function deleteUserByIdWithHttpInfo(userId) {
+ var postBody = null; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling deleteUserById");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _CurrentUser["default"];
+ return this.apiClient.callApi('/user/{userId}/delete', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Delete User
+ * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrentUser}
+ */
+
+ }, {
+ key: "deleteUserById",
+ value: function deleteUserById(userId) {
+ return this.deleteUserByIdWithHttpInfo(userId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Login and/or Get Current User Info
+ * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrentUser} and HTTP response
+ */
+
+ }, {
+ key: "getCurrentUserWithHttpInfo",
+ value: function getCurrentUserWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['authCookie', 'authHeader', 'twoFactorAuthCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _CurrentUser["default"];
+ return this.apiClient.callApi('/auth/user', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Login and/or Get Current User Info
+ * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrentUser}
+ */
+
+ }, {
+ key: "getCurrentUser",
+ value: function getCurrentUser() {
+ return this.getCurrentUserWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Logout
+ * Invalidates the auth cookie.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
+ */
+
+ }, {
+ key: "logoutWithHttpInfo",
+ value: function logoutWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Success["default"];
+ return this.apiClient.callApi('/logout', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Logout
+ * Invalidates the auth cookie.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
+ */
+
+ }, {
+ key: "logout",
+ value: function logout() {
+ return this.logoutWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Verify 2FA code
+ * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject} opts.inlineObject
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2001} and HTTP response
+ */
+
+ }, {
+ key: "verify2FAWithHttpInfo",
+ value: function verify2FAWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = opts['inlineObject'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['authCookie'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse2["default"];
+ return this.apiClient.callApi('/auth/twofactorauth/totp/verify', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Verify 2FA code
+ * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject} opts.inlineObject
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2001}
+ */
+
+ }, {
+ key: "verify2FA",
+ value: function verify2FA(opts) {
+ return this.verify2FAWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Verify Auth Token
+ * Verify whether the currently provided Auth Token is valid.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse200} and HTTP response
+ */
+
+ }, {
+ key: "verifyAuthTokenWithHttpInfo",
+ value: function verifyAuthTokenWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse["default"];
+ return this.apiClient.callApi('/auth', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Verify Auth Token
+ * Verify whether the currently provided Auth Token is valid.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse200}
+ */
+
+ }, {
+ key: "verifyAuthToken",
+ value: function verifyAuthToken() {
+ return this.verifyAuthTokenWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Verify 2FA code with Recovery code
+ * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject1} opts.inlineObject1
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2001} and HTTP response
+ */
+
+ }, {
+ key: "verifyRecoveryCodeWithHttpInfo",
+ value: function verifyRecoveryCodeWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = opts['inlineObject1'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['authCookie'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse2["default"];
+ return this.apiClient.callApi('/auth/twofactorauth/otp/verify', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Verify 2FA code with Recovery code
+ * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject1} opts.inlineObject1
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2001}
+ */
+
+ }, {
+ key: "verifyRecoveryCode",
+ value: function verifyRecoveryCode(opts) {
+ return this.verifyRecoveryCodeWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return AuthenticationApi;
+}();
+
+exports["default"] = AuthenticationApi;
\ No newline at end of file
diff --git a/dist/api/FilesApi.js b/dist/api/FilesApi.js
new file mode 100644
index 0000000..6b2341e
--- /dev/null
+++ b/dist/api/FilesApi.js
@@ -0,0 +1,555 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _Error = _interopRequireDefault(require("../model/Error"));
+
+var _InlineObject = _interopRequireDefault(require("../model/InlineObject3"));
+
+var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject4"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse2004"));
+
+var _InlineResponse2 = _interopRequireDefault(require("../model/InlineResponse2005"));
+
+var _Success = _interopRequireDefault(require("../model/Success"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* Files service.
+* @module api/FilesApi
+* @version 1.0.0
+*/
+var FilesApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FilesApi.
+ * @alias module:api/FilesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function FilesApi(apiClient) {
+ _classCallCheck(this, FilesApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Create File
+ * Creates a new File object
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject3} opts.inlineObject3
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
+ */
+
+
+ _createClass(FilesApi, [{
+ key: "createFileWithHttpInfo",
+ value: function createFileWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = opts['inlineObject3'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = File;
+ return this.apiClient.callApi('/file', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Create File
+ * Creates a new File object
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject3} opts.inlineObject3
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
+ */
+
+ }, {
+ key: "createFile",
+ value: function createFile(opts) {
+ return this.createFileWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Create File Version
+ * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
+ * @param {String} fileId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
+ */
+
+ }, {
+ key: "createFileVersionWithHttpInfo",
+ value: function createFileVersionWithHttpInfo(fileId) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling createFileVersion");
+ }
+
+ var pathParams = {
+ 'fileId': fileId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = File;
+ return this.apiClient.callApi('/file/{fileId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Create File Version
+ * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
+ * @param {String} fileId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
+ */
+
+ }, {
+ key: "createFileVersion",
+ value: function createFileVersion(fileId) {
+ return this.createFileVersionWithHttpInfo(fileId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Delete File
+ * Deletes a File object.
+ * @param {String} fileId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
+ */
+
+ }, {
+ key: "deleteFileWithHttpInfo",
+ value: function deleteFileWithHttpInfo(fileId) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling deleteFile");
+ }
+
+ var pathParams = {
+ 'fileId': fileId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Success["default"];
+ return this.apiClient.callApi('/file/{fileId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Delete File
+ * Deletes a File object.
+ * @param {String} fileId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
+ */
+
+ }, {
+ key: "deleteFile",
+ value: function deleteFile(fileId) {
+ return this.deleteFileWithHttpInfo(fileId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Delete File Version
+ * Delete a specific version of a file. You can only delete the latest version.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
+ */
+
+ }, {
+ key: "deleteFileVersionWithHttpInfo",
+ value: function deleteFileVersionWithHttpInfo(fileId, versionId) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling deleteFileVersion");
+ } // verify the required parameter 'versionId' is set
+
+
+ if (versionId === undefined || versionId === null) {
+ throw new _Error["default"]("Missing the required parameter 'versionId' when calling deleteFileVersion");
+ }
+
+ var pathParams = {
+ 'fileId': fileId,
+ 'versionId': versionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = File;
+ return this.apiClient.callApi('/file/{fileId}/{versionId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Delete File Version
+ * Delete a specific version of a file. You can only delete the latest version.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
+ */
+
+ }, {
+ key: "deleteFileVersion",
+ value: function deleteFileVersion(fileId, versionId) {
+ return this.deleteFileVersionWithHttpInfo(fileId, versionId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Download File Version
+ * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
+ */
+
+ }, {
+ key: "downloadFileVersionWithHttpInfo",
+ value: function downloadFileVersionWithHttpInfo(fileId, versionId) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling downloadFileVersion");
+ } // verify the required parameter 'versionId' is set
+
+
+ if (versionId === undefined || versionId === null) {
+ throw new _Error["default"]("Missing the required parameter 'versionId' when calling downloadFileVersion");
+ }
+
+ var pathParams = {
+ 'fileId': fileId,
+ 'versionId': versionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/file/{fileId}/{versionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Download File Version
+ * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
+ */
+
+ }, {
+ key: "downloadFileVersion",
+ value: function downloadFileVersion(fileId, versionId) {
+ return this.downloadFileVersionWithHttpInfo(fileId, versionId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Finish FileData Upload
+ * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @param {module:model/String} fileType
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject4} opts.inlineObject4
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
+ */
+
+ }, {
+ key: "finishFileDataUploadWithHttpInfo",
+ value: function finishFileDataUploadWithHttpInfo(fileId, versionId, fileType, opts) {
+ opts = opts || {};
+ var postBody = opts['inlineObject4']; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling finishFileDataUpload");
+ } // verify the required parameter 'versionId' is set
+
+
+ if (versionId === undefined || versionId === null) {
+ throw new _Error["default"]("Missing the required parameter 'versionId' when calling finishFileDataUpload");
+ } // verify the required parameter 'fileType' is set
+
+
+ if (fileType === undefined || fileType === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileType' when calling finishFileDataUpload");
+ }
+
+ var pathParams = {
+ 'fileId': fileId,
+ 'versionId': versionId,
+ 'fileType': fileType
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = File;
+ return this.apiClient.callApi('/file/{fileId}/{versionId}/{fileType}/finish', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Finish FileData Upload
+ * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @param {module:model/String} fileType
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject4} opts.inlineObject4
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
+ */
+
+ }, {
+ key: "finishFileDataUpload",
+ value: function finishFileDataUpload(fileId, versionId, fileType, opts) {
+ return this.finishFileDataUploadWithHttpInfo(fileId, versionId, fileType, opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Show File
+ * Shows general information about the \"File\" object. Each File can have several \"Version\"'s, and each Version can have multiple real files or \"Data\" blobs.
+ * @param {String} fileId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
+ */
+
+ }, {
+ key: "getFileWithHttpInfo",
+ value: function getFileWithHttpInfo(fileId) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling getFile");
+ }
+
+ var pathParams = {
+ 'fileId': fileId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = File;
+ return this.apiClient.callApi('/file/{fileId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Show File
+ * Shows general information about the \"File\" object. Each File can have several \"Version\"'s, and each Version can have multiple real files or \"Data\" blobs.
+ * @param {String} fileId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
+ */
+
+ }, {
+ key: "getFile",
+ value: function getFile(fileId) {
+ return this.getFileWithHttpInfo(fileId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Check FileData Upload Status
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @param {module:model/String} fileType
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2004} and HTTP response
+ */
+
+ }, {
+ key: "getFileDataUploadStatusWithHttpInfo",
+ value: function getFileDataUploadStatusWithHttpInfo(fileId, versionId, fileType) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling getFileDataUploadStatus");
+ } // verify the required parameter 'versionId' is set
+
+
+ if (versionId === undefined || versionId === null) {
+ throw new _Error["default"]("Missing the required parameter 'versionId' when calling getFileDataUploadStatus");
+ } // verify the required parameter 'fileType' is set
+
+
+ if (fileType === undefined || fileType === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileType' when calling getFileDataUploadStatus");
+ }
+
+ var pathParams = {
+ 'fileId': fileId,
+ 'versionId': versionId,
+ 'fileType': fileType
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse["default"];
+ return this.apiClient.callApi('/file/{fileId}/{versionId}/{fileType}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Check FileData Upload Status
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @param {module:model/String} fileType
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2004}
+ */
+
+ }, {
+ key: "getFileDataUploadStatus",
+ value: function getFileDataUploadStatus(fileId, versionId, fileType) {
+ return this.getFileDataUploadStatusWithHttpInfo(fileId, versionId, fileType).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * List Files
+ * Returns a list of files
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.tag Tag, for example \"icon\" or \"gallery\", not included by default.
+ * @param {String} opts.userId UserID, will always generate a 500 permission error.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
+ */
+
+ }, {
+ key: "getFilesWithHttpInfo",
+ value: function getFilesWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'tag': opts['tag'],
+ 'userId': opts['userId'],
+ 'n': opts['n'],
+ 'offset': opts['offset']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = [File];
+ return this.apiClient.callApi('/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * List Files
+ * Returns a list of files
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.tag Tag, for example \"icon\" or \"gallery\", not included by default.
+ * @param {String} opts.userId UserID, will always generate a 500 permission error.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
+ */
+
+ }, {
+ key: "getFiles",
+ value: function getFiles(opts) {
+ return this.getFilesWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Start FileData Upload
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @param {module:model/String} fileType
+ * @param {Number} partNumber
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2005} and HTTP response
+ */
+
+ }, {
+ key: "startFileDataUploadWithHttpInfo",
+ value: function startFileDataUploadWithHttpInfo(fileId, versionId, fileType, partNumber) {
+ var postBody = null; // verify the required parameter 'fileId' is set
+
+ if (fileId === undefined || fileId === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileId' when calling startFileDataUpload");
+ } // verify the required parameter 'versionId' is set
+
+
+ if (versionId === undefined || versionId === null) {
+ throw new _Error["default"]("Missing the required parameter 'versionId' when calling startFileDataUpload");
+ } // verify the required parameter 'fileType' is set
+
+
+ if (fileType === undefined || fileType === null) {
+ throw new _Error["default"]("Missing the required parameter 'fileType' when calling startFileDataUpload");
+ } // verify the required parameter 'partNumber' is set
+
+
+ if (partNumber === undefined || partNumber === null) {
+ throw new _Error["default"]("Missing the required parameter 'partNumber' when calling startFileDataUpload");
+ }
+
+ var pathParams = {
+ 'fileId': fileId,
+ 'versionId': versionId,
+ 'fileType': fileType
+ };
+ var queryParams = {
+ 'partNumber': partNumber
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse2["default"];
+ return this.apiClient.callApi('/file/{fileId}/{versionId}/{fileType}/start', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Start FileData Upload
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
+ * @param {String} fileId
+ * @param {Number} versionId
+ * @param {module:model/String} fileType
+ * @param {Number} partNumber
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2005}
+ */
+
+ }, {
+ key: "startFileDataUpload",
+ value: function startFileDataUpload(fileId, versionId, fileType, partNumber) {
+ return this.startFileDataUploadWithHttpInfo(fileId, versionId, fileType, partNumber).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return FilesApi;
+}();
+
+exports["default"] = FilesApi;
\ No newline at end of file
diff --git a/dist/api/FriendsApi.js b/dist/api/FriendsApi.js
new file mode 100644
index 0000000..f8bd6c3
--- /dev/null
+++ b/dist/api/FriendsApi.js
@@ -0,0 +1,268 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _Error = _interopRequireDefault(require("../model/Error"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse2003"));
+
+var _InlineResponse2 = _interopRequireDefault(require("../model/InlineResponse401"));
+
+var _LimitedUser = _interopRequireDefault(require("../model/LimitedUser"));
+
+var _Notification = _interopRequireDefault(require("../model/Notification"));
+
+var _Success = _interopRequireDefault(require("../model/Success"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* Friends service.
+* @module api/FriendsApi
+* @version 1.0.0
+*/
+var FriendsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FriendsApi.
+ * @alias module:api/FriendsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function FriendsApi(apiClient) {
+ _classCallCheck(this, FriendsApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Delete Friend Request
+ * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
+ */
+
+
+ _createClass(FriendsApi, [{
+ key: "deleteFriendRequestWithHttpInfo",
+ value: function deleteFriendRequestWithHttpInfo(userId) {
+ var postBody = null; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new _Error["default"]("Missing the required parameter 'userId' when calling deleteFriendRequest");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Success["default"];
+ return this.apiClient.callApi('/user/{userId}/friendRequest', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Delete Friend Request
+ * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
+ */
+
+ }, {
+ key: "deleteFriendRequest",
+ value: function deleteFriendRequest(userId) {
+ return this.deleteFriendRequestWithHttpInfo(userId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Send Friend Request
+ * Send a friend request to another user.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Notification} and HTTP response
+ */
+
+ }, {
+ key: "friendWithHttpInfo",
+ value: function friendWithHttpInfo(userId) {
+ var postBody = null; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new _Error["default"]("Missing the required parameter 'userId' when calling friend");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Notification["default"];
+ return this.apiClient.callApi('/user/{userId}/friendRequest', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Send Friend Request
+ * Send a friend request to another user.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Notification}
+ */
+
+ }, {
+ key: "friend",
+ value: function friend(userId) {
+ return this.friendWithHttpInfo(userId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Check Friend Status
+ * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2003} and HTTP response
+ */
+
+ }, {
+ key: "getFriendStatusWithHttpInfo",
+ value: function getFriendStatusWithHttpInfo(userId) {
+ var postBody = null; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new _Error["default"]("Missing the required parameter 'userId' when calling getFriendStatus");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse["default"];
+ return this.apiClient.callApi('/user/{userId}/friendStatus', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Check Friend Status
+ * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2003}
+ */
+
+ }, {
+ key: "getFriendStatus",
+ value: function getFriendStatus(userId) {
+ return this.getFriendStatusWithHttpInfo(userId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * List Friends
+ * List information about friends.
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Boolean} opts.offline Returns *only* offline users if true, returns only online and active users if false
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
+ */
+
+ }, {
+ key: "getFriendsWithHttpInfo",
+ value: function getFriendsWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'offset': opts['offset'],
+ 'n': opts['n'],
+ 'offline': opts['offline']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = [_LimitedUser["default"]];
+ return this.apiClient.callApi('/auth/user/friends', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * List Friends
+ * List information about friends.
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Boolean} opts.offline Returns *only* offline users if true, returns only online and active users if false
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
+ */
+
+ }, {
+ key: "getFriends",
+ value: function getFriends(opts) {
+ return this.getFriendsWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Unfriend
+ * Unfriend a user by ID.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
+ */
+
+ }, {
+ key: "unfriendWithHttpInfo",
+ value: function unfriendWithHttpInfo(userId) {
+ var postBody = null; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new _Error["default"]("Missing the required parameter 'userId' when calling unfriend");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Success["default"];
+ return this.apiClient.callApi('/auth/user/friends/{userId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Unfriend
+ * Unfriend a user by ID.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
+ */
+
+ }, {
+ key: "unfriend",
+ value: function unfriend(userId) {
+ return this.unfriendWithHttpInfo(userId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return FriendsApi;
+}();
+
+exports["default"] = FriendsApi;
\ No newline at end of file
diff --git a/dist/api/NotificationsApi.js b/dist/api/NotificationsApi.js
new file mode 100644
index 0000000..1255870
--- /dev/null
+++ b/dist/api/NotificationsApi.js
@@ -0,0 +1,264 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _Error = _interopRequireDefault(require("../model/Error"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse401"));
+
+var _Notification = _interopRequireDefault(require("../model/Notification"));
+
+var _Success = _interopRequireDefault(require("../model/Success"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* Notifications service.
+* @module api/NotificationsApi
+* @version 1.0.0
+*/
+var NotificationsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new NotificationsApi.
+ * @alias module:api/NotificationsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function NotificationsApi(apiClient) {
+ _classCallCheck(this, NotificationsApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Accept Friend Request
+ * Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`.
+ * @param {String} notificationId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
+ */
+
+
+ _createClass(NotificationsApi, [{
+ key: "acceptFriendRequestWithHttpInfo",
+ value: function acceptFriendRequestWithHttpInfo(notificationId) {
+ var postBody = null; // verify the required parameter 'notificationId' is set
+
+ if (notificationId === undefined || notificationId === null) {
+ throw new _Error["default"]("Missing the required parameter 'notificationId' when calling acceptFriendRequest");
+ }
+
+ var pathParams = {
+ 'notificationId': notificationId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Success["default"];
+ return this.apiClient.callApi('/auth/user/notifications/{notificationId}/accept', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Accept Friend Request
+ * Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`.
+ * @param {String} notificationId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
+ */
+
+ }, {
+ key: "acceptFriendRequest",
+ value: function acceptFriendRequest(notificationId) {
+ return this.acceptFriendRequestWithHttpInfo(notificationId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Clear All Notifications
+ * Clear **all** notifications.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
+ */
+
+ }, {
+ key: "clearNotificationsWithHttpInfo",
+ value: function clearNotificationsWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Success["default"];
+ return this.apiClient.callApi('/auth/user/notifications/clear', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Clear All Notifications
+ * Clear **all** notifications.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
+ */
+
+ }, {
+ key: "clearNotifications",
+ value: function clearNotifications() {
+ return this.clearNotificationsWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Delete Notification
+ * Delete a notification.
+ * @param {String} notificationId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Notification} and HTTP response
+ */
+
+ }, {
+ key: "deleteNotificationWithHttpInfo",
+ value: function deleteNotificationWithHttpInfo(notificationId) {
+ var postBody = null; // verify the required parameter 'notificationId' is set
+
+ if (notificationId === undefined || notificationId === null) {
+ throw new _Error["default"]("Missing the required parameter 'notificationId' when calling deleteNotification");
+ }
+
+ var pathParams = {
+ 'notificationId': notificationId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Notification["default"];
+ return this.apiClient.callApi('/auth/user/notifications/{notificationId}/hide', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Delete Notification
+ * Delete a notification.
+ * @param {String} notificationId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Notification}
+ */
+
+ }, {
+ key: "deleteNotification",
+ value: function deleteNotification(notificationId) {
+ return this.deleteNotificationWithHttpInfo(notificationId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * List Notifications
+ * Retrieve all of the current user's notifications.
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.type Only send notifications of this type (can use `all` for all).
+ * @param {Boolean} opts.sent Return notifications sent by the user. Must be false or omitted.
+ * @param {Boolean} opts.hidden Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.
+ * @param {String} opts.after Only return notifications sent after this Date. Ignored if type is `friendRequest`.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
+ */
+
+ }, {
+ key: "getNotificationsWithHttpInfo",
+ value: function getNotificationsWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'type': opts['type'],
+ 'sent': opts['sent'],
+ 'hidden': opts['hidden'],
+ 'after': opts['after'],
+ 'n': opts['n'],
+ 'offset': opts['offset']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = [_Notification["default"]];
+ return this.apiClient.callApi('/auth/user/notifications', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * List Notifications
+ * Retrieve all of the current user's notifications.
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.type Only send notifications of this type (can use `all` for all).
+ * @param {Boolean} opts.sent Return notifications sent by the user. Must be false or omitted.
+ * @param {Boolean} opts.hidden Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.
+ * @param {String} opts.after Only return notifications sent after this Date. Ignored if type is `friendRequest`.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
+ */
+
+ }, {
+ key: "getNotifications",
+ value: function getNotifications(opts) {
+ return this.getNotificationsWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Mark As Read
+ * Mark a notification as seen.
+ * @param {String} notificationId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Notification} and HTTP response
+ */
+
+ }, {
+ key: "markNotificationAsReadWithHttpInfo",
+ value: function markNotificationAsReadWithHttpInfo(notificationId) {
+ var postBody = null; // verify the required parameter 'notificationId' is set
+
+ if (notificationId === undefined || notificationId === null) {
+ throw new _Error["default"]("Missing the required parameter 'notificationId' when calling markNotificationAsRead");
+ }
+
+ var pathParams = {
+ 'notificationId': notificationId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Notification["default"];
+ return this.apiClient.callApi('/auth/user/notifications/{notificationId}/see', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Mark As Read
+ * Mark a notification as seen.
+ * @param {String} notificationId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Notification}
+ */
+
+ }, {
+ key: "markNotificationAsRead",
+ value: function markNotificationAsRead(notificationId) {
+ return this.markNotificationAsReadWithHttpInfo(notificationId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return NotificationsApi;
+}();
+
+exports["default"] = NotificationsApi;
\ No newline at end of file
diff --git a/dist/api/SystemApi.js b/dist/api/SystemApi.js
new file mode 100644
index 0000000..b278693
--- /dev/null
+++ b/dist/api/SystemApi.js
@@ -0,0 +1,178 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _Config = _interopRequireDefault(require("../model/Config"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse2002"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* System service.
+* @module api/SystemApi
+* @version 1.0.0
+*/
+var SystemApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new SystemApi.
+ * @alias module:api/SystemApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function SystemApi(apiClient) {
+ _classCallCheck(this, SystemApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Fetch API Config
+ * API config contains configuration that the clients needs to work properly. Currently the most important value here is `clientApiKey` which is used for all other API endpoints.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Config} and HTTP response
+ */
+
+
+ _createClass(SystemApi, [{
+ key: "getConfigWithHttpInfo",
+ value: function getConfigWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = [];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Config["default"];
+ return this.apiClient.callApi('/config', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Fetch API Config
+ * API config contains configuration that the clients needs to work properly. Currently the most important value here is `clientApiKey` which is used for all other API endpoints.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Config}
+ */
+
+ }, {
+ key: "getConfig",
+ value: function getConfig() {
+ return this.getConfigWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Current Online Users
+ * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
+ */
+
+ }, {
+ key: "getCurrentOnlineUsersWithHttpInfo",
+ value: function getCurrentOnlineUsersWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = [];
+ var contentTypes = [];
+ var accepts = ['text/plain'];
+ var returnType = 'Number';
+ return this.apiClient.callApi('/visits', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Current Online Users
+ * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
+ */
+
+ }, {
+ key: "getCurrentOnlineUsers",
+ value: function getCurrentOnlineUsers() {
+ return this.getCurrentOnlineUsersWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Check API Health
+ * Gets the overall health status, the server name, and the current build version tag of the API.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2002} and HTTP response
+ */
+
+ }, {
+ key: "getHealthWithHttpInfo",
+ value: function getHealthWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = [];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _InlineResponse["default"];
+ return this.apiClient.callApi('/health', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Check API Health
+ * Gets the overall health status, the server name, and the current build version tag of the API.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2002}
+ */
+
+ }, {
+ key: "getHealth",
+ value: function getHealth() {
+ return this.getHealthWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Current System Time
+ * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Date} and HTTP response
+ */
+
+ }, {
+ key: "getSystemTimeWithHttpInfo",
+ value: function getSystemTimeWithHttpInfo() {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = [];
+ var contentTypes = [];
+ var accepts = ['text/plain'];
+ var returnType = 'Date';
+ return this.apiClient.callApi('/time', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Current System Time
+ * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Date}
+ */
+
+ }, {
+ key: "getSystemTime",
+ value: function getSystemTime() {
+ return this.getSystemTimeWithHttpInfo().then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return SystemApi;
+}();
+
+exports["default"] = SystemApi;
\ No newline at end of file
diff --git a/dist/api/UsersApi.js b/dist/api/UsersApi.js
new file mode 100644
index 0000000..5f176a9
--- /dev/null
+++ b/dist/api/UsersApi.js
@@ -0,0 +1,286 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _CurrentUser = _interopRequireDefault(require("../model/CurrentUser"));
+
+var _InlineObject = _interopRequireDefault(require("../model/InlineObject2"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse401"));
+
+var _LimitedUser = _interopRequireDefault(require("../model/LimitedUser"));
+
+var _User = _interopRequireDefault(require("../model/User"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* Users service.
+* @module api/UsersApi
+* @version 1.0.0
+*/
+var UsersApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new UsersApi.
+ * @alias module:api/UsersApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function UsersApi(apiClient) {
+ _classCallCheck(this, UsersApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Get User by ID
+ * Get public user information about a specific user using their ID.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
+ */
+
+
+ _createClass(UsersApi, [{
+ key: "getUserWithHttpInfo",
+ value: function getUserWithHttpInfo(userId) {
+ var postBody = null; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getUser");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _User["default"];
+ return this.apiClient.callApi('/users/{userId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Get User by ID
+ * Get public user information about a specific user using their ID.
+ * @param {String} userId
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
+ */
+
+ }, {
+ key: "getUser",
+ value: function getUser(userId) {
+ return this.getUserWithHttpInfo(userId).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Get User by Username
+ * Get public user information about a specific user using their name.
+ * @param {String} username
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
+ */
+
+ }, {
+ key: "getUserByNameWithHttpInfo",
+ value: function getUserByNameWithHttpInfo(username) {
+ var postBody = null; // verify the required parameter 'username' is set
+
+ if (username === undefined || username === null) {
+ throw new Error("Missing the required parameter 'username' when calling getUserByName");
+ }
+
+ var pathParams = {
+ 'username': username
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _User["default"];
+ return this.apiClient.callApi('/users/{username}/name', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Get User by Username
+ * Get public user information about a specific user using their name.
+ * @param {String} username
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
+ */
+
+ }, {
+ key: "getUserByName",
+ value: function getUserByName(username) {
+ return this.getUserByNameWithHttpInfo(username).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Search Active Users
+ * Search and list any Active users by text query. **Has been locked down and now always respond with \"Invalid Admin Credentials\".**
+ * @param {String} search Username to search for
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
+ */
+
+ }, {
+ key: "searchActiveUsersWithHttpInfo",
+ value: function searchActiveUsersWithHttpInfo(search, opts) {
+ opts = opts || {};
+ var postBody = null; // verify the required parameter 'search' is set
+
+ if (search === undefined || search === null) {
+ throw new Error("Missing the required parameter 'search' when calling searchActiveUsers");
+ }
+
+ var pathParams = {};
+ var queryParams = {
+ 'search': search,
+ 'developerType': opts['developerType'],
+ 'offset': opts['offset'],
+ 'n': opts['n']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = [_LimitedUser["default"]];
+ return this.apiClient.callApi('/users/active', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Search Active Users
+ * Search and list any Active users by text query. **Has been locked down and now always respond with \"Invalid Admin Credentials\".**
+ * @param {String} search Username to search for
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
+ */
+
+ }, {
+ key: "searchActiveUsers",
+ value: function searchActiveUsers(search, opts) {
+ return this.searchActiveUsersWithHttpInfo(search, opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Search All Users
+ * Search and list any users by text query
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.search Searches by `displayName`. Will return empty array if search query is empty or missing.
+ * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
+ */
+
+ }, {
+ key: "searchUsersWithHttpInfo",
+ value: function searchUsersWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'search': opts['search'],
+ 'developerType': opts['developerType'],
+ 'n': opts['n'],
+ 'offset': opts['offset']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = [_LimitedUser["default"]];
+ return this.apiClient.callApi('/users', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Search All Users
+ * Search and list any users by text query
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.search Searches by `displayName`. Will return empty array if search query is empty or missing.
+ * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
+ */
+
+ }, {
+ key: "searchUsers",
+ value: function searchUsers(opts) {
+ return this.searchUsersWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ /**
+ * Update User Info
+ * Update a users information such as the email and birthday.
+ * @param {String} userId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject2} opts.inlineObject2
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrentUser} and HTTP response
+ */
+
+ }, {
+ key: "updateUserWithHttpInfo",
+ value: function updateUserWithHttpInfo(userId, opts) {
+ opts = opts || {};
+ var postBody = opts['inlineObject2']; // verify the required parameter 'userId' is set
+
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling updateUser");
+ }
+
+ var pathParams = {
+ 'userId': userId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _CurrentUser["default"];
+ return this.apiClient.callApi('/users/{userId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Update User Info
+ * Update a users information such as the email and birthday.
+ * @param {String} userId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/InlineObject2} opts.inlineObject2
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrentUser}
+ */
+
+ }, {
+ key: "updateUser",
+ value: function updateUser(userId, opts) {
+ return this.updateUserWithHttpInfo(userId, opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return UsersApi;
+}();
+
+exports["default"] = UsersApi;
\ No newline at end of file
diff --git a/dist/api/WorldsApi.js b/dist/api/WorldsApi.js
new file mode 100644
index 0000000..7b01921
--- /dev/null
+++ b/dist/api/WorldsApi.js
@@ -0,0 +1,131 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse401"));
+
+var _LimitedWorld = _interopRequireDefault(require("../model/LimitedWorld"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+* Worlds service.
+* @module api/WorldsApi
+* @version 1.0.0
+*/
+var WorldsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new WorldsApi.
+ * @alias module:api/WorldsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function WorldsApi(apiClient) {
+ _classCallCheck(this, WorldsApi);
+
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+ /**
+ * Search all worlds
+ * Search and list any worlds by text query
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.featured is the world featured
+ * @param {module:model/String} opts.sort (default to 'order')
+ * @param {String} opts.user Set to `me` for searching own worlds
+ * @param {String} opts.userId Filter by creator id, use `me` for only worlds owned by current user
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {module:model/String} opts.order (default to 'descending')
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @param {String} opts.search Searches by `name`. Will return empty array if search query is empty or missing.
+ * @param {Array.} opts.tag Filter by Tag
+ * @param {Array.} opts.notag Tags to exclude
+ * @param {module:model/String} opts.releaseStatus (default to 'hidden')
+ * @param {String} opts.maxUnityVersion Current unity version the game is using
+ * @param {String} opts.minUnityVersion The min unity version the world support
+ * @param {String} opts.maxAssetVersion Current asset version the game is using
+ * @param {String} opts.minAssetVersion The min asset version the world support
+ * @param {String} opts.platform The platform the world supports (usually standalonewindows)
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
+ */
+
+
+ _createClass(WorldsApi, [{
+ key: "searchWorldsWithHttpInfo",
+ value: function searchWorldsWithHttpInfo(opts) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'featured': opts['featured'],
+ 'sort': opts['sort'],
+ 'user': opts['user'],
+ 'userId': opts['userId'],
+ 'n': opts['n'],
+ 'order': opts['order'],
+ 'offset': opts['offset'],
+ 'search': opts['search'],
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
+ 'notag': this.apiClient.buildCollectionParam(opts['notag'], 'multi'),
+ 'releaseStatus': opts['releaseStatus'],
+ 'maxUnityVersion': opts['maxUnityVersion'],
+ 'minUnityVersion': opts['minUnityVersion'],
+ 'maxAssetVersion': opts['maxAssetVersion'],
+ 'minAssetVersion': opts['minAssetVersion'],
+ 'platform': opts['platform']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['apiKeyCookie', 'authCookie'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = [_LimitedWorld["default"]];
+ return this.apiClient.callApi('/worlds', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
+ }
+ /**
+ * Search all worlds
+ * Search and list any worlds by text query
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.featured is the world featured
+ * @param {module:model/String} opts.sort (default to 'order')
+ * @param {String} opts.user Set to `me` for searching own worlds
+ * @param {String} opts.userId Filter by creator id, use `me` for only worlds owned by current user
+ * @param {Number} opts.n The number of objects to return. (default to 60)
+ * @param {module:model/String} opts.order (default to 'descending')
+ * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
+ * @param {String} opts.search Searches by `name`. Will return empty array if search query is empty or missing.
+ * @param {Array.} opts.tag Filter by Tag
+ * @param {Array.} opts.notag Tags to exclude
+ * @param {module:model/String} opts.releaseStatus (default to 'hidden')
+ * @param {String} opts.maxUnityVersion Current unity version the game is using
+ * @param {String} opts.minUnityVersion The min unity version the world support
+ * @param {String} opts.maxAssetVersion Current asset version the game is using
+ * @param {String} opts.minAssetVersion The min asset version the world support
+ * @param {String} opts.platform The platform the world supports (usually standalonewindows)
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
+ */
+
+ }, {
+ key: "searchWorlds",
+ value: function searchWorlds(opts) {
+ return this.searchWorldsWithHttpInfo(opts).then(function (response_and_data) {
+ return response_and_data.data;
+ });
+ }
+ }]);
+
+ return WorldsApi;
+}();
+
+exports["default"] = WorldsApi;
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..8b3c3e2
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,359 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+Object.defineProperty(exports, "ApiClient", {
+ enumerable: true,
+ get: function get() {
+ return _ApiClient["default"];
+ }
+});
+Object.defineProperty(exports, "Config", {
+ enumerable: true,
+ get: function get() {
+ return _Config["default"];
+ }
+});
+Object.defineProperty(exports, "ConfigAnnouncements", {
+ enumerable: true,
+ get: function get() {
+ return _ConfigAnnouncements["default"];
+ }
+});
+Object.defineProperty(exports, "ConfigDownloadUrls", {
+ enumerable: true,
+ get: function get() {
+ return _ConfigDownloadUrls["default"];
+ }
+});
+Object.defineProperty(exports, "ConfigDynamicWorldRows", {
+ enumerable: true,
+ get: function get() {
+ return _ConfigDynamicWorldRows["default"];
+ }
+});
+Object.defineProperty(exports, "ConfigEvents", {
+ enumerable: true,
+ get: function get() {
+ return _ConfigEvents["default"];
+ }
+});
+Object.defineProperty(exports, "CurrentUser", {
+ enumerable: true,
+ get: function get() {
+ return _CurrentUser["default"];
+ }
+});
+Object.defineProperty(exports, "DeploymentGroup", {
+ enumerable: true,
+ get: function get() {
+ return _DeploymentGroup["default"];
+ }
+});
+Object.defineProperty(exports, "DeveloperType", {
+ enumerable: true,
+ get: function get() {
+ return _DeveloperType["default"];
+ }
+});
+Object.defineProperty(exports, "Error", {
+ enumerable: true,
+ get: function get() {
+ return _Error["default"];
+ }
+});
+Object.defineProperty(exports, "File", {
+ enumerable: true,
+ get: function get() {
+ return _File["default"];
+ }
+});
+Object.defineProperty(exports, "FileData", {
+ enumerable: true,
+ get: function get() {
+ return _FileData["default"];
+ }
+});
+Object.defineProperty(exports, "FileStatus", {
+ enumerable: true,
+ get: function get() {
+ return _FileStatus["default"];
+ }
+});
+Object.defineProperty(exports, "FileVersion", {
+ enumerable: true,
+ get: function get() {
+ return _FileVersion["default"];
+ }
+});
+Object.defineProperty(exports, "InlineObject", {
+ enumerable: true,
+ get: function get() {
+ return _InlineObject["default"];
+ }
+});
+Object.defineProperty(exports, "InlineObject1", {
+ enumerable: true,
+ get: function get() {
+ return _InlineObject2["default"];
+ }
+});
+Object.defineProperty(exports, "InlineObject2", {
+ enumerable: true,
+ get: function get() {
+ return _InlineObject3["default"];
+ }
+});
+Object.defineProperty(exports, "InlineObject3", {
+ enumerable: true,
+ get: function get() {
+ return _InlineObject4["default"];
+ }
+});
+Object.defineProperty(exports, "InlineObject4", {
+ enumerable: true,
+ get: function get() {
+ return _InlineObject5["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse200", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse2001", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse2["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse2002", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse3["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse2003", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse4["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse2004", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse5["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse2005", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse6["default"];
+ }
+});
+Object.defineProperty(exports, "InlineResponse401", {
+ enumerable: true,
+ get: function get() {
+ return _InlineResponse7["default"];
+ }
+});
+Object.defineProperty(exports, "LimitedUser", {
+ enumerable: true,
+ get: function get() {
+ return _LimitedUser["default"];
+ }
+});
+Object.defineProperty(exports, "LimitedWorld", {
+ enumerable: true,
+ get: function get() {
+ return _LimitedWorld["default"];
+ }
+});
+Object.defineProperty(exports, "MIMEType", {
+ enumerable: true,
+ get: function get() {
+ return _MIMEType["default"];
+ }
+});
+Object.defineProperty(exports, "Notification", {
+ enumerable: true,
+ get: function get() {
+ return _Notification["default"];
+ }
+});
+Object.defineProperty(exports, "NotificationType", {
+ enumerable: true,
+ get: function get() {
+ return _NotificationType["default"];
+ }
+});
+Object.defineProperty(exports, "ReleaseStatus", {
+ enumerable: true,
+ get: function get() {
+ return _ReleaseStatus["default"];
+ }
+});
+Object.defineProperty(exports, "Response", {
+ enumerable: true,
+ get: function get() {
+ return _Response["default"];
+ }
+});
+Object.defineProperty(exports, "Success", {
+ enumerable: true,
+ get: function get() {
+ return _Success["default"];
+ }
+});
+Object.defineProperty(exports, "User", {
+ enumerable: true,
+ get: function get() {
+ return _User["default"];
+ }
+});
+Object.defineProperty(exports, "UserState", {
+ enumerable: true,
+ get: function get() {
+ return _UserState["default"];
+ }
+});
+Object.defineProperty(exports, "UserStatus", {
+ enumerable: true,
+ get: function get() {
+ return _UserStatus["default"];
+ }
+});
+Object.defineProperty(exports, "AuthenticationApi", {
+ enumerable: true,
+ get: function get() {
+ return _AuthenticationApi["default"];
+ }
+});
+Object.defineProperty(exports, "FilesApi", {
+ enumerable: true,
+ get: function get() {
+ return _FilesApi["default"];
+ }
+});
+Object.defineProperty(exports, "FriendsApi", {
+ enumerable: true,
+ get: function get() {
+ return _FriendsApi["default"];
+ }
+});
+Object.defineProperty(exports, "NotificationsApi", {
+ enumerable: true,
+ get: function get() {
+ return _NotificationsApi["default"];
+ }
+});
+Object.defineProperty(exports, "SystemApi", {
+ enumerable: true,
+ get: function get() {
+ return _SystemApi["default"];
+ }
+});
+Object.defineProperty(exports, "UsersApi", {
+ enumerable: true,
+ get: function get() {
+ return _UsersApi["default"];
+ }
+});
+Object.defineProperty(exports, "WorldsApi", {
+ enumerable: true,
+ get: function get() {
+ return _WorldsApi["default"];
+ }
+});
+
+var _ApiClient = _interopRequireDefault(require("./ApiClient"));
+
+var _Config = _interopRequireDefault(require("./model/Config"));
+
+var _ConfigAnnouncements = _interopRequireDefault(require("./model/ConfigAnnouncements"));
+
+var _ConfigDownloadUrls = _interopRequireDefault(require("./model/ConfigDownloadUrls"));
+
+var _ConfigDynamicWorldRows = _interopRequireDefault(require("./model/ConfigDynamicWorldRows"));
+
+var _ConfigEvents = _interopRequireDefault(require("./model/ConfigEvents"));
+
+var _CurrentUser = _interopRequireDefault(require("./model/CurrentUser"));
+
+var _DeploymentGroup = _interopRequireDefault(require("./model/DeploymentGroup"));
+
+var _DeveloperType = _interopRequireDefault(require("./model/DeveloperType"));
+
+var _Error = _interopRequireDefault(require("./model/Error"));
+
+var _File = _interopRequireDefault(require("./model/File"));
+
+var _FileData = _interopRequireDefault(require("./model/FileData"));
+
+var _FileStatus = _interopRequireDefault(require("./model/FileStatus"));
+
+var _FileVersion = _interopRequireDefault(require("./model/FileVersion"));
+
+var _InlineObject = _interopRequireDefault(require("./model/InlineObject"));
+
+var _InlineObject2 = _interopRequireDefault(require("./model/InlineObject1"));
+
+var _InlineObject3 = _interopRequireDefault(require("./model/InlineObject2"));
+
+var _InlineObject4 = _interopRequireDefault(require("./model/InlineObject3"));
+
+var _InlineObject5 = _interopRequireDefault(require("./model/InlineObject4"));
+
+var _InlineResponse = _interopRequireDefault(require("./model/InlineResponse200"));
+
+var _InlineResponse2 = _interopRequireDefault(require("./model/InlineResponse2001"));
+
+var _InlineResponse3 = _interopRequireDefault(require("./model/InlineResponse2002"));
+
+var _InlineResponse4 = _interopRequireDefault(require("./model/InlineResponse2003"));
+
+var _InlineResponse5 = _interopRequireDefault(require("./model/InlineResponse2004"));
+
+var _InlineResponse6 = _interopRequireDefault(require("./model/InlineResponse2005"));
+
+var _InlineResponse7 = _interopRequireDefault(require("./model/InlineResponse401"));
+
+var _LimitedUser = _interopRequireDefault(require("./model/LimitedUser"));
+
+var _LimitedWorld = _interopRequireDefault(require("./model/LimitedWorld"));
+
+var _MIMEType = _interopRequireDefault(require("./model/MIMEType"));
+
+var _Notification = _interopRequireDefault(require("./model/Notification"));
+
+var _NotificationType = _interopRequireDefault(require("./model/NotificationType"));
+
+var _ReleaseStatus = _interopRequireDefault(require("./model/ReleaseStatus"));
+
+var _Response = _interopRequireDefault(require("./model/Response"));
+
+var _Success = _interopRequireDefault(require("./model/Success"));
+
+var _User = _interopRequireDefault(require("./model/User"));
+
+var _UserState = _interopRequireDefault(require("./model/UserState"));
+
+var _UserStatus = _interopRequireDefault(require("./model/UserStatus"));
+
+var _AuthenticationApi = _interopRequireDefault(require("./api/AuthenticationApi"));
+
+var _FilesApi = _interopRequireDefault(require("./api/FilesApi"));
+
+var _FriendsApi = _interopRequireDefault(require("./api/FriendsApi"));
+
+var _NotificationsApi = _interopRequireDefault(require("./api/NotificationsApi"));
+
+var _SystemApi = _interopRequireDefault(require("./api/SystemApi"));
+
+var _UsersApi = _interopRequireDefault(require("./api/UsersApi"));
+
+var _WorldsApi = _interopRequireDefault(require("./api/WorldsApi"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
\ No newline at end of file
diff --git a/dist/model/Config.js b/dist/model/Config.js
new file mode 100644
index 0000000..1f2389b
--- /dev/null
+++ b/dist/model/Config.js
@@ -0,0 +1,973 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _ConfigAnnouncements = _interopRequireDefault(require("./ConfigAnnouncements"));
+
+var _ConfigDownloadUrls = _interopRequireDefault(require("./ConfigDownloadUrls"));
+
+var _ConfigDynamicWorldRows = _interopRequireDefault(require("./ConfigDynamicWorldRows"));
+
+var _ConfigEvents = _interopRequireDefault(require("./ConfigEvents"));
+
+var _DeploymentGroup = _interopRequireDefault(require("./DeploymentGroup"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The Config model module.
+ * @module model/Config
+ * @version 1.0.0
+ */
+var Config = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Config.
+ * @alias module:model/Config
+ * @param address {String} VRChat's office address
+ * @param announcements {Array.} PSA, Public Announcements
+ * @param apiKey {String} apiKey to be used for all other requests
+ * @param appName {String} Game name
+ * @param buildVersionTag {String} Build tag of the API server
+ * @param clientApiKey {String} apiKey to be used for all other requests
+ * @param contactEmail {String} VRChat's contact email
+ * @param copyrightEmail {String} VRChat's copyright-issues-related email
+ * @param currentTOSVersion {Number} Current version number of the Terms of Service
+ * @param defaultAvatar {String}
+ * @param deploymentGroup {module:model/DeploymentGroup}
+ * @param devAppVersionStandalone {String} Version number for game development build
+ * @param devDownloadLinkWindows {String} Developer Download link
+ * @param devSdkUrl {String} Link to download the development SDK, use downloadUrls instead
+ * @param devSdkVersion {String} Version of the development SDK
+ * @param devServerVersionStandalone {String} Version number for server development build
+ * @param disableAvatarCopying {Boolean} Toggles if copying avatars should be disabled
+ * @param disableAvatarGating {Boolean} Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
+ * @param disableCommunityLabs {Boolean} Toggles if the Community Labs should be disabled
+ * @param disableCommunityLabsPromotion {Boolean} Toggles if promotion out of Community Labs should be disabled
+ * @param disableEventStream {Boolean} Toggles if Analytics should be disabled (this sreportedly not used in the Client)
+ * @param disableFeedbackGating {Boolean} Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
+ * @param disableRegistration {Boolean} Toggles if new user account registration should be disabled
+ * @param disableSteamNetworking {Boolean} Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
+ * @param disableTwoFactorAuth {Boolean} Toggles if 2FA should be disabled.
+ * @param disableUdon {Boolean} Toggles if Udon should be universally disabled in-game.
+ * @param disableUpgradeAccount {Boolean} Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
+ * @param downloadLinkWindows {String} Download link for game on the Oculus Rift website.
+ * @param downloadUrls {module:model/ConfigDownloadUrls}
+ * @param dynamicWorldRows {Array.} Array of DynamicWorldRow objects, used by the game to display the list of world rows
+ * @param events {module:model/ConfigEvents}
+ * @param gearDemoRoomId {String} Unknown
+ * @param homepageRedirectTarget {String} Redirect target if you try to open the base API domain in your browser
+ * @param homeWorldId {String}
+ * @param hubWorldId {String}
+ * @param jobsEmail {String} VRChat's job application email
+ * @param messageOfTheDay {String} MOTD
+ * @param moderationEmail {String} VRChat's moderation related email
+ * @param moderationQueryPeriod {Number} Unknown
+ * @param notAllowedToSelectAvatarInPrivateWorldMessage {String} Used in-game to notify a user they aren't allowed to select avatars in private worlds
+ * @param plugin {String} Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
+ * @param releaseAppVersionStandalone {String} Version number for game release build
+ * @param releaseSdkUrl {String} Link to download the release SDK
+ * @param releaseSdkVersion {String} Version of the release SDK
+ * @param releaseServerVersionStandalone {String} Version number for server release build
+ * @param sdkDeveloperFaqUrl {String} Link to the developer FAQ
+ * @param sdkDiscordUrl {String} Link to the official VRChat Discord
+ * @param sdkNotAllowedToPublishMessage {String} Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet
+ * @param sdkUnityVersion {String} Unity version supported by the SDK
+ * @param serverName {String} Server name of the API server currently responding
+ * @param supportEmail {String} VRChat's support email
+ * @param timeOutWorldId {String}
+ * @param tutorialWorldId {String}
+ * @param updateRateMsMaximum {Number} Unknown
+ * @param updateRateMsMinimum {Number} Unknown
+ * @param updateRateMsNormal {Number} Unknown
+ * @param updateRateMsUdonManual {Number} Unknown
+ * @param uploadAnalysisPercent {Number} Unknown
+ * @param urlList {Array.} List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game
+ * @param useReliableUdpForVoice {Boolean} Unknown
+ * @param userUpdatePeriod {Number} Unknown
+ * @param userVerificationDelay {Number} Unknown
+ * @param userVerificationRetry {Number} Unknown
+ * @param userVerificationTimeout {Number} Unknown
+ * @param viveWindowsUrl {String} Download link for game on the Steam website.
+ * @param whiteListedAssetUrls {Array.} List of allowed URLs that are allowed to host avatar assets
+ * @param worldUpdatePeriod {Number} Unknown
+ * @param youtubedlHash {String} Currently used youtube-dl.exe hash in SHA-256-delimited format
+ * @param youtubedlVersion {String} Currently used youtube-dl.exe version
+ */
+ function Config(address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion) {
+ _classCallCheck(this, Config);
+
+ Config.initialize(this, address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(Config, null, [{
+ key: "initialize",
+ value: function initialize(obj, address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion) {
+ obj['address'] = address;
+ obj['announcements'] = announcements;
+ obj['apiKey'] = apiKey;
+ obj['appName'] = appName || 'VrChat';
+ obj['buildVersionTag'] = buildVersionTag;
+ obj['clientApiKey'] = clientApiKey;
+ obj['contactEmail'] = contactEmail;
+ obj['copyrightEmail'] = copyrightEmail;
+ obj['currentTOSVersion'] = currentTOSVersion;
+ obj['defaultAvatar'] = defaultAvatar;
+ obj['deploymentGroup'] = deploymentGroup;
+ obj['devAppVersionStandalone'] = devAppVersionStandalone;
+ obj['devDownloadLinkWindows'] = devDownloadLinkWindows;
+ obj['devSdkUrl'] = devSdkUrl;
+ obj['devSdkVersion'] = devSdkVersion;
+ obj['devServerVersionStandalone'] = devServerVersionStandalone;
+ obj['disableAvatarCopying'] = disableAvatarCopying || false;
+ obj['disableAvatarGating'] = disableAvatarGating || false;
+ obj['disableCommunityLabs'] = disableCommunityLabs || false;
+ obj['disableCommunityLabsPromotion'] = disableCommunityLabsPromotion || false;
+ obj['disableEventStream'] = disableEventStream || false;
+ obj['disableFeedbackGating'] = disableFeedbackGating || false;
+ obj['disableRegistration'] = disableRegistration || false;
+ obj['disableSteamNetworking'] = disableSteamNetworking || true;
+ obj['disableTwoFactorAuth'] = disableTwoFactorAuth || false;
+ obj['disableUdon'] = disableUdon || false;
+ obj['disableUpgradeAccount'] = disableUpgradeAccount || false;
+ obj['downloadLinkWindows'] = downloadLinkWindows;
+ obj['downloadUrls'] = downloadUrls;
+ obj['dynamicWorldRows'] = dynamicWorldRows;
+ obj['events'] = events;
+ obj['gearDemoRoomId'] = gearDemoRoomId;
+ obj['homepageRedirectTarget'] = homepageRedirectTarget || 'https://hello.vrchat.com';
+ obj['homeWorldId'] = homeWorldId;
+ obj['hubWorldId'] = hubWorldId;
+ obj['jobsEmail'] = jobsEmail;
+ obj['messageOfTheDay'] = messageOfTheDay;
+ obj['moderationEmail'] = moderationEmail;
+ obj['moderationQueryPeriod'] = moderationQueryPeriod;
+ obj['notAllowedToSelectAvatarInPrivateWorldMessage'] = notAllowedToSelectAvatarInPrivateWorldMessage;
+ obj['plugin'] = plugin;
+ obj['releaseAppVersionStandalone'] = releaseAppVersionStandalone;
+ obj['releaseSdkUrl'] = releaseSdkUrl;
+ obj['releaseSdkVersion'] = releaseSdkVersion;
+ obj['releaseServerVersionStandalone'] = releaseServerVersionStandalone;
+ obj['sdkDeveloperFaqUrl'] = sdkDeveloperFaqUrl;
+ obj['sdkDiscordUrl'] = sdkDiscordUrl;
+ obj['sdkNotAllowedToPublishMessage'] = sdkNotAllowedToPublishMessage;
+ obj['sdkUnityVersion'] = sdkUnityVersion;
+ obj['serverName'] = serverName;
+ obj['supportEmail'] = supportEmail;
+ obj['timeOutWorldId'] = timeOutWorldId;
+ obj['tutorialWorldId'] = tutorialWorldId;
+ obj['updateRateMsMaximum'] = updateRateMsMaximum;
+ obj['updateRateMsMinimum'] = updateRateMsMinimum;
+ obj['updateRateMsNormal'] = updateRateMsNormal;
+ obj['updateRateMsUdonManual'] = updateRateMsUdonManual;
+ obj['uploadAnalysisPercent'] = uploadAnalysisPercent;
+ obj['urlList'] = urlList;
+ obj['useReliableUdpForVoice'] = useReliableUdpForVoice || false;
+ obj['userUpdatePeriod'] = userUpdatePeriod;
+ obj['userVerificationDelay'] = userVerificationDelay;
+ obj['userVerificationRetry'] = userVerificationRetry;
+ obj['userVerificationTimeout'] = userVerificationTimeout;
+ obj['viveWindowsUrl'] = viveWindowsUrl;
+ obj['whiteListedAssetUrls'] = whiteListedAssetUrls;
+ obj['worldUpdatePeriod'] = worldUpdatePeriod;
+ obj['youtubedl-hash'] = youtubedlHash;
+ obj['youtubedl-version'] = youtubedlVersion;
+ }
+ /**
+ * Constructs a Config from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Config} obj Optional instance to populate.
+ * @return {module:model/Config} The populated Config instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Config();
+
+ if (data.hasOwnProperty('address')) {
+ obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
+ }
+
+ if (data.hasOwnProperty('announcements')) {
+ obj['announcements'] = _ApiClient["default"].convertToType(data['announcements'], [_ConfigAnnouncements["default"]]);
+ }
+
+ if (data.hasOwnProperty('apiKey')) {
+ obj['apiKey'] = _ApiClient["default"].convertToType(data['apiKey'], 'String');
+ }
+
+ if (data.hasOwnProperty('appName')) {
+ obj['appName'] = _ApiClient["default"].convertToType(data['appName'], 'String');
+ }
+
+ if (data.hasOwnProperty('buildVersionTag')) {
+ obj['buildVersionTag'] = _ApiClient["default"].convertToType(data['buildVersionTag'], 'String');
+ }
+
+ if (data.hasOwnProperty('clientApiKey')) {
+ obj['clientApiKey'] = _ApiClient["default"].convertToType(data['clientApiKey'], 'String');
+ }
+
+ if (data.hasOwnProperty('clientBPSCeiling')) {
+ obj['clientBPSCeiling'] = _ApiClient["default"].convertToType(data['clientBPSCeiling'], 'Number');
+ }
+
+ if (data.hasOwnProperty('clientDisconnectTimeout')) {
+ obj['clientDisconnectTimeout'] = _ApiClient["default"].convertToType(data['clientDisconnectTimeout'], 'Number');
+ }
+
+ if (data.hasOwnProperty('clientReservedPlayerBPS')) {
+ obj['clientReservedPlayerBPS'] = _ApiClient["default"].convertToType(data['clientReservedPlayerBPS'], 'Number');
+ }
+
+ if (data.hasOwnProperty('clientSentCountAllowance')) {
+ obj['clientSentCountAllowance'] = _ApiClient["default"].convertToType(data['clientSentCountAllowance'], 'Number');
+ }
+
+ if (data.hasOwnProperty('contactEmail')) {
+ obj['contactEmail'] = _ApiClient["default"].convertToType(data['contactEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('copyrightEmail')) {
+ obj['copyrightEmail'] = _ApiClient["default"].convertToType(data['copyrightEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('currentTOSVersion')) {
+ obj['currentTOSVersion'] = _ApiClient["default"].convertToType(data['currentTOSVersion'], 'Number');
+ }
+
+ if (data.hasOwnProperty('defaultAvatar')) {
+ obj['defaultAvatar'] = _ApiClient["default"].convertToType(data['defaultAvatar'], 'String');
+ }
+
+ if (data.hasOwnProperty('deploymentGroup')) {
+ obj['deploymentGroup'] = _DeploymentGroup["default"].constructFromObject(data['deploymentGroup']);
+ }
+
+ if (data.hasOwnProperty('devAppVersionStandalone')) {
+ obj['devAppVersionStandalone'] = _ApiClient["default"].convertToType(data['devAppVersionStandalone'], 'String');
+ }
+
+ if (data.hasOwnProperty('devDownloadLinkWindows')) {
+ obj['devDownloadLinkWindows'] = _ApiClient["default"].convertToType(data['devDownloadLinkWindows'], 'String');
+ }
+
+ if (data.hasOwnProperty('devSdkUrl')) {
+ obj['devSdkUrl'] = _ApiClient["default"].convertToType(data['devSdkUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('devSdkVersion')) {
+ obj['devSdkVersion'] = _ApiClient["default"].convertToType(data['devSdkVersion'], 'String');
+ }
+
+ if (data.hasOwnProperty('devServerVersionStandalone')) {
+ obj['devServerVersionStandalone'] = _ApiClient["default"].convertToType(data['devServerVersionStandalone'], 'String');
+ }
+
+ if (data.hasOwnProperty('disableAvatarCopying')) {
+ obj['disableAvatarCopying'] = _ApiClient["default"].convertToType(data['disableAvatarCopying'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableAvatarGating')) {
+ obj['disableAvatarGating'] = _ApiClient["default"].convertToType(data['disableAvatarGating'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableCommunityLabs')) {
+ obj['disableCommunityLabs'] = _ApiClient["default"].convertToType(data['disableCommunityLabs'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableCommunityLabsPromotion')) {
+ obj['disableCommunityLabsPromotion'] = _ApiClient["default"].convertToType(data['disableCommunityLabsPromotion'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableEmail')) {
+ obj['disableEmail'] = _ApiClient["default"].convertToType(data['disableEmail'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableEventStream')) {
+ obj['disableEventStream'] = _ApiClient["default"].convertToType(data['disableEventStream'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableFeedbackGating')) {
+ obj['disableFeedbackGating'] = _ApiClient["default"].convertToType(data['disableFeedbackGating'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableHello')) {
+ obj['disableHello'] = _ApiClient["default"].convertToType(data['disableHello'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableRegistration')) {
+ obj['disableRegistration'] = _ApiClient["default"].convertToType(data['disableRegistration'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableSteamNetworking')) {
+ obj['disableSteamNetworking'] = _ApiClient["default"].convertToType(data['disableSteamNetworking'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableTwoFactorAuth')) {
+ obj['disableTwoFactorAuth'] = _ApiClient["default"].convertToType(data['disableTwoFactorAuth'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableUdon')) {
+ obj['disableUdon'] = _ApiClient["default"].convertToType(data['disableUdon'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('disableUpgradeAccount')) {
+ obj['disableUpgradeAccount'] = _ApiClient["default"].convertToType(data['disableUpgradeAccount'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('downloadLinkWindows')) {
+ obj['downloadLinkWindows'] = _ApiClient["default"].convertToType(data['downloadLinkWindows'], 'String');
+ }
+
+ if (data.hasOwnProperty('downloadUrls')) {
+ obj['downloadUrls'] = _ConfigDownloadUrls["default"].constructFromObject(data['downloadUrls']);
+ }
+
+ if (data.hasOwnProperty('dynamicWorldRows')) {
+ obj['dynamicWorldRows'] = _ApiClient["default"].convertToType(data['dynamicWorldRows'], [_ConfigDynamicWorldRows["default"]]);
+ }
+
+ if (data.hasOwnProperty('events')) {
+ obj['events'] = _ConfigEvents["default"].constructFromObject(data['events']);
+ }
+
+ if (data.hasOwnProperty('gearDemoRoomId')) {
+ obj['gearDemoRoomId'] = _ApiClient["default"].convertToType(data['gearDemoRoomId'], 'String');
+ }
+
+ if (data.hasOwnProperty('homepageRedirectTarget')) {
+ obj['homepageRedirectTarget'] = _ApiClient["default"].convertToType(data['homepageRedirectTarget'], 'String');
+ }
+
+ if (data.hasOwnProperty('homeWorldId')) {
+ obj['homeWorldId'] = _ApiClient["default"].convertToType(data['homeWorldId'], 'String');
+ }
+
+ if (data.hasOwnProperty('hubWorldId')) {
+ obj['hubWorldId'] = _ApiClient["default"].convertToType(data['hubWorldId'], 'String');
+ }
+
+ if (data.hasOwnProperty('jobsEmail')) {
+ obj['jobsEmail'] = _ApiClient["default"].convertToType(data['jobsEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('messageOfTheDay')) {
+ obj['messageOfTheDay'] = _ApiClient["default"].convertToType(data['messageOfTheDay'], 'String');
+ }
+
+ if (data.hasOwnProperty('moderationEmail')) {
+ obj['moderationEmail'] = _ApiClient["default"].convertToType(data['moderationEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('moderationQueryPeriod')) {
+ obj['moderationQueryPeriod'] = _ApiClient["default"].convertToType(data['moderationQueryPeriod'], 'Number');
+ }
+
+ if (data.hasOwnProperty('notAllowedToSelectAvatarInPrivateWorldMessage')) {
+ obj['notAllowedToSelectAvatarInPrivateWorldMessage'] = _ApiClient["default"].convertToType(data['notAllowedToSelectAvatarInPrivateWorldMessage'], 'String');
+ }
+
+ if (data.hasOwnProperty('plugin')) {
+ obj['plugin'] = _ApiClient["default"].convertToType(data['plugin'], 'String');
+ }
+
+ if (data.hasOwnProperty('releaseAppVersionStandalone')) {
+ obj['releaseAppVersionStandalone'] = _ApiClient["default"].convertToType(data['releaseAppVersionStandalone'], 'String');
+ }
+
+ if (data.hasOwnProperty('releaseSdkUrl')) {
+ obj['releaseSdkUrl'] = _ApiClient["default"].convertToType(data['releaseSdkUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('releaseSdkVersion')) {
+ obj['releaseSdkVersion'] = _ApiClient["default"].convertToType(data['releaseSdkVersion'], 'String');
+ }
+
+ if (data.hasOwnProperty('releaseServerVersionStandalone')) {
+ obj['releaseServerVersionStandalone'] = _ApiClient["default"].convertToType(data['releaseServerVersionStandalone'], 'String');
+ }
+
+ if (data.hasOwnProperty('sdkDeveloperFaqUrl')) {
+ obj['sdkDeveloperFaqUrl'] = _ApiClient["default"].convertToType(data['sdkDeveloperFaqUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('sdkDiscordUrl')) {
+ obj['sdkDiscordUrl'] = _ApiClient["default"].convertToType(data['sdkDiscordUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('sdkNotAllowedToPublishMessage')) {
+ obj['sdkNotAllowedToPublishMessage'] = _ApiClient["default"].convertToType(data['sdkNotAllowedToPublishMessage'], 'String');
+ }
+
+ if (data.hasOwnProperty('sdkUnityVersion')) {
+ obj['sdkUnityVersion'] = _ApiClient["default"].convertToType(data['sdkUnityVersion'], 'String');
+ }
+
+ if (data.hasOwnProperty('serverName')) {
+ obj['serverName'] = _ApiClient["default"].convertToType(data['serverName'], 'String');
+ }
+
+ if (data.hasOwnProperty('supportEmail')) {
+ obj['supportEmail'] = _ApiClient["default"].convertToType(data['supportEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('timeOutWorldId')) {
+ obj['timeOutWorldId'] = _ApiClient["default"].convertToType(data['timeOutWorldId'], 'String');
+ }
+
+ if (data.hasOwnProperty('tutorialWorldId')) {
+ obj['tutorialWorldId'] = _ApiClient["default"].convertToType(data['tutorialWorldId'], 'String');
+ }
+
+ if (data.hasOwnProperty('updateRateMsMaximum')) {
+ obj['updateRateMsMaximum'] = _ApiClient["default"].convertToType(data['updateRateMsMaximum'], 'Number');
+ }
+
+ if (data.hasOwnProperty('updateRateMsMinimum')) {
+ obj['updateRateMsMinimum'] = _ApiClient["default"].convertToType(data['updateRateMsMinimum'], 'Number');
+ }
+
+ if (data.hasOwnProperty('updateRateMsNormal')) {
+ obj['updateRateMsNormal'] = _ApiClient["default"].convertToType(data['updateRateMsNormal'], 'Number');
+ }
+
+ if (data.hasOwnProperty('updateRateMsUdonManual')) {
+ obj['updateRateMsUdonManual'] = _ApiClient["default"].convertToType(data['updateRateMsUdonManual'], 'Number');
+ }
+
+ if (data.hasOwnProperty('uploadAnalysisPercent')) {
+ obj['uploadAnalysisPercent'] = _ApiClient["default"].convertToType(data['uploadAnalysisPercent'], 'Number');
+ }
+
+ if (data.hasOwnProperty('urlList')) {
+ obj['urlList'] = _ApiClient["default"].convertToType(data['urlList'], ['String']);
+ }
+
+ if (data.hasOwnProperty('useReliableUdpForVoice')) {
+ obj['useReliableUdpForVoice'] = _ApiClient["default"].convertToType(data['useReliableUdpForVoice'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('userUpdatePeriod')) {
+ obj['userUpdatePeriod'] = _ApiClient["default"].convertToType(data['userUpdatePeriod'], 'Number');
+ }
+
+ if (data.hasOwnProperty('userVerificationDelay')) {
+ obj['userVerificationDelay'] = _ApiClient["default"].convertToType(data['userVerificationDelay'], 'Number');
+ }
+
+ if (data.hasOwnProperty('userVerificationRetry')) {
+ obj['userVerificationRetry'] = _ApiClient["default"].convertToType(data['userVerificationRetry'], 'Number');
+ }
+
+ if (data.hasOwnProperty('userVerificationTimeout')) {
+ obj['userVerificationTimeout'] = _ApiClient["default"].convertToType(data['userVerificationTimeout'], 'Number');
+ }
+
+ if (data.hasOwnProperty('viveWindowsUrl')) {
+ obj['viveWindowsUrl'] = _ApiClient["default"].convertToType(data['viveWindowsUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('whiteListedAssetUrls')) {
+ obj['whiteListedAssetUrls'] = _ApiClient["default"].convertToType(data['whiteListedAssetUrls'], ['String']);
+ }
+
+ if (data.hasOwnProperty('worldUpdatePeriod')) {
+ obj['worldUpdatePeriod'] = _ApiClient["default"].convertToType(data['worldUpdatePeriod'], 'Number');
+ }
+
+ if (data.hasOwnProperty('youtubedl-hash')) {
+ obj['youtubedl-hash'] = _ApiClient["default"].convertToType(data['youtubedl-hash'], 'String');
+ }
+
+ if (data.hasOwnProperty('youtubedl-version')) {
+ obj['youtubedl-version'] = _ApiClient["default"].convertToType(data['youtubedl-version'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return Config;
+}();
+/**
+ * VRChat's office address
+ * @member {String} address
+ */
+
+
+Config.prototype['address'] = undefined;
+/**
+ * PSA, Public Announcements
+ * @member {Array.} announcements
+ */
+
+Config.prototype['announcements'] = undefined;
+/**
+ * apiKey to be used for all other requests
+ * @member {String} apiKey
+ */
+
+Config.prototype['apiKey'] = undefined;
+/**
+ * Game name
+ * @member {String} appName
+ * @default 'VrChat'
+ */
+
+Config.prototype['appName'] = 'VrChat';
+/**
+ * Build tag of the API server
+ * @member {String} buildVersionTag
+ */
+
+Config.prototype['buildVersionTag'] = undefined;
+/**
+ * apiKey to be used for all other requests
+ * @member {String} clientApiKey
+ */
+
+Config.prototype['clientApiKey'] = undefined;
+/**
+ * Unknown
+ * @member {Number} clientBPSCeiling
+ */
+
+Config.prototype['clientBPSCeiling'] = undefined;
+/**
+ * Unknown
+ * @member {Number} clientDisconnectTimeout
+ */
+
+Config.prototype['clientDisconnectTimeout'] = undefined;
+/**
+ * Unknown
+ * @member {Number} clientReservedPlayerBPS
+ */
+
+Config.prototype['clientReservedPlayerBPS'] = undefined;
+/**
+ * Unknown
+ * @member {Number} clientSentCountAllowance
+ */
+
+Config.prototype['clientSentCountAllowance'] = undefined;
+/**
+ * VRChat's contact email
+ * @member {String} contactEmail
+ */
+
+Config.prototype['contactEmail'] = undefined;
+/**
+ * VRChat's copyright-issues-related email
+ * @member {String} copyrightEmail
+ */
+
+Config.prototype['copyrightEmail'] = undefined;
+/**
+ * Current version number of the Terms of Service
+ * @member {Number} currentTOSVersion
+ */
+
+Config.prototype['currentTOSVersion'] = undefined;
+/**
+ * @member {String} defaultAvatar
+ */
+
+Config.prototype['defaultAvatar'] = undefined;
+/**
+ * @member {module:model/DeploymentGroup} deploymentGroup
+ */
+
+Config.prototype['deploymentGroup'] = undefined;
+/**
+ * Version number for game development build
+ * @member {String} devAppVersionStandalone
+ */
+
+Config.prototype['devAppVersionStandalone'] = undefined;
+/**
+ * Developer Download link
+ * @member {String} devDownloadLinkWindows
+ */
+
+Config.prototype['devDownloadLinkWindows'] = undefined;
+/**
+ * Link to download the development SDK, use downloadUrls instead
+ * @member {String} devSdkUrl
+ */
+
+Config.prototype['devSdkUrl'] = undefined;
+/**
+ * Version of the development SDK
+ * @member {String} devSdkVersion
+ */
+
+Config.prototype['devSdkVersion'] = undefined;
+/**
+ * Version number for server development build
+ * @member {String} devServerVersionStandalone
+ */
+
+Config.prototype['devServerVersionStandalone'] = undefined;
+/**
+ * Toggles if copying avatars should be disabled
+ * @member {Boolean} disableAvatarCopying
+ * @default false
+ */
+
+Config.prototype['disableAvatarCopying'] = false;
+/**
+ * Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
+ * @member {Boolean} disableAvatarGating
+ * @default false
+ */
+
+Config.prototype['disableAvatarGating'] = false;
+/**
+ * Toggles if the Community Labs should be disabled
+ * @member {Boolean} disableCommunityLabs
+ * @default false
+ */
+
+Config.prototype['disableCommunityLabs'] = false;
+/**
+ * Toggles if promotion out of Community Labs should be disabled
+ * @member {Boolean} disableCommunityLabsPromotion
+ * @default false
+ */
+
+Config.prototype['disableCommunityLabsPromotion'] = false;
+/**
+ * Unknown
+ * @member {Boolean} disableEmail
+ * @default false
+ */
+
+Config.prototype['disableEmail'] = false;
+/**
+ * Toggles if Analytics should be disabled (this sreportedly not used in the Client)
+ * @member {Boolean} disableEventStream
+ * @default false
+ */
+
+Config.prototype['disableEventStream'] = false;
+/**
+ * Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
+ * @member {Boolean} disableFeedbackGating
+ * @default false
+ */
+
+Config.prototype['disableFeedbackGating'] = false;
+/**
+ * Unknown
+ * @member {Boolean} disableHello
+ * @default false
+ */
+
+Config.prototype['disableHello'] = false;
+/**
+ * Toggles if new user account registration should be disabled
+ * @member {Boolean} disableRegistration
+ * @default false
+ */
+
+Config.prototype['disableRegistration'] = false;
+/**
+ * Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
+ * @member {Boolean} disableSteamNetworking
+ * @default true
+ */
+
+Config.prototype['disableSteamNetworking'] = true;
+/**
+ * Toggles if 2FA should be disabled.
+ * @member {Boolean} disableTwoFactorAuth
+ * @default false
+ */
+
+Config.prototype['disableTwoFactorAuth'] = false;
+/**
+ * Toggles if Udon should be universally disabled in-game.
+ * @member {Boolean} disableUdon
+ * @default false
+ */
+
+Config.prototype['disableUdon'] = false;
+/**
+ * Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
+ * @member {Boolean} disableUpgradeAccount
+ * @default false
+ */
+
+Config.prototype['disableUpgradeAccount'] = false;
+/**
+ * Download link for game on the Oculus Rift website.
+ * @member {String} downloadLinkWindows
+ */
+
+Config.prototype['downloadLinkWindows'] = undefined;
+/**
+ * @member {module:model/ConfigDownloadUrls} downloadUrls
+ */
+
+Config.prototype['downloadUrls'] = undefined;
+/**
+ * Array of DynamicWorldRow objects, used by the game to display the list of world rows
+ * @member {Array.} dynamicWorldRows
+ */
+
+Config.prototype['dynamicWorldRows'] = undefined;
+/**
+ * @member {module:model/ConfigEvents} events
+ */
+
+Config.prototype['events'] = undefined;
+/**
+ * Unknown
+ * @member {String} gearDemoRoomId
+ */
+
+Config.prototype['gearDemoRoomId'] = undefined;
+/**
+ * Redirect target if you try to open the base API domain in your browser
+ * @member {String} homepageRedirectTarget
+ * @default 'https://hello.vrchat.com'
+ */
+
+Config.prototype['homepageRedirectTarget'] = 'https://hello.vrchat.com';
+/**
+ * @member {String} homeWorldId
+ */
+
+Config.prototype['homeWorldId'] = undefined;
+/**
+ * @member {String} hubWorldId
+ */
+
+Config.prototype['hubWorldId'] = undefined;
+/**
+ * VRChat's job application email
+ * @member {String} jobsEmail
+ */
+
+Config.prototype['jobsEmail'] = undefined;
+/**
+ * MOTD
+ * @member {String} messageOfTheDay
+ */
+
+Config.prototype['messageOfTheDay'] = undefined;
+/**
+ * VRChat's moderation related email
+ * @member {String} moderationEmail
+ */
+
+Config.prototype['moderationEmail'] = undefined;
+/**
+ * Unknown
+ * @member {Number} moderationQueryPeriod
+ */
+
+Config.prototype['moderationQueryPeriod'] = undefined;
+/**
+ * Used in-game to notify a user they aren't allowed to select avatars in private worlds
+ * @member {String} notAllowedToSelectAvatarInPrivateWorldMessage
+ */
+
+Config.prototype['notAllowedToSelectAvatarInPrivateWorldMessage'] = undefined;
+/**
+ * Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
+ * @member {String} plugin
+ */
+
+Config.prototype['plugin'] = undefined;
+/**
+ * Version number for game release build
+ * @member {String} releaseAppVersionStandalone
+ */
+
+Config.prototype['releaseAppVersionStandalone'] = undefined;
+/**
+ * Link to download the release SDK
+ * @member {String} releaseSdkUrl
+ */
+
+Config.prototype['releaseSdkUrl'] = undefined;
+/**
+ * Version of the release SDK
+ * @member {String} releaseSdkVersion
+ */
+
+Config.prototype['releaseSdkVersion'] = undefined;
+/**
+ * Version number for server release build
+ * @member {String} releaseServerVersionStandalone
+ */
+
+Config.prototype['releaseServerVersionStandalone'] = undefined;
+/**
+ * Link to the developer FAQ
+ * @member {String} sdkDeveloperFaqUrl
+ */
+
+Config.prototype['sdkDeveloperFaqUrl'] = undefined;
+/**
+ * Link to the official VRChat Discord
+ * @member {String} sdkDiscordUrl
+ */
+
+Config.prototype['sdkDiscordUrl'] = undefined;
+/**
+ * Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet
+ * @member {String} sdkNotAllowedToPublishMessage
+ */
+
+Config.prototype['sdkNotAllowedToPublishMessage'] = undefined;
+/**
+ * Unity version supported by the SDK
+ * @member {String} sdkUnityVersion
+ */
+
+Config.prototype['sdkUnityVersion'] = undefined;
+/**
+ * Server name of the API server currently responding
+ * @member {String} serverName
+ */
+
+Config.prototype['serverName'] = undefined;
+/**
+ * VRChat's support email
+ * @member {String} supportEmail
+ */
+
+Config.prototype['supportEmail'] = undefined;
+/**
+ * @member {String} timeOutWorldId
+ */
+
+Config.prototype['timeOutWorldId'] = undefined;
+/**
+ * @member {String} tutorialWorldId
+ */
+
+Config.prototype['tutorialWorldId'] = undefined;
+/**
+ * Unknown
+ * @member {Number} updateRateMsMaximum
+ */
+
+Config.prototype['updateRateMsMaximum'] = undefined;
+/**
+ * Unknown
+ * @member {Number} updateRateMsMinimum
+ */
+
+Config.prototype['updateRateMsMinimum'] = undefined;
+/**
+ * Unknown
+ * @member {Number} updateRateMsNormal
+ */
+
+Config.prototype['updateRateMsNormal'] = undefined;
+/**
+ * Unknown
+ * @member {Number} updateRateMsUdonManual
+ */
+
+Config.prototype['updateRateMsUdonManual'] = undefined;
+/**
+ * Unknown
+ * @member {Number} uploadAnalysisPercent
+ */
+
+Config.prototype['uploadAnalysisPercent'] = undefined;
+/**
+ * List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game
+ * @member {Array.} urlList
+ */
+
+Config.prototype['urlList'] = undefined;
+/**
+ * Unknown
+ * @member {Boolean} useReliableUdpForVoice
+ * @default false
+ */
+
+Config.prototype['useReliableUdpForVoice'] = false;
+/**
+ * Unknown
+ * @member {Number} userUpdatePeriod
+ */
+
+Config.prototype['userUpdatePeriod'] = undefined;
+/**
+ * Unknown
+ * @member {Number} userVerificationDelay
+ */
+
+Config.prototype['userVerificationDelay'] = undefined;
+/**
+ * Unknown
+ * @member {Number} userVerificationRetry
+ */
+
+Config.prototype['userVerificationRetry'] = undefined;
+/**
+ * Unknown
+ * @member {Number} userVerificationTimeout
+ */
+
+Config.prototype['userVerificationTimeout'] = undefined;
+/**
+ * Download link for game on the Steam website.
+ * @member {String} viveWindowsUrl
+ */
+
+Config.prototype['viveWindowsUrl'] = undefined;
+/**
+ * List of allowed URLs that are allowed to host avatar assets
+ * @member {Array.} whiteListedAssetUrls
+ */
+
+Config.prototype['whiteListedAssetUrls'] = undefined;
+/**
+ * Unknown
+ * @member {Number} worldUpdatePeriod
+ */
+
+Config.prototype['worldUpdatePeriod'] = undefined;
+/**
+ * Currently used youtube-dl.exe hash in SHA-256-delimited format
+ * @member {String} youtubedl-hash
+ */
+
+Config.prototype['youtubedl-hash'] = undefined;
+/**
+ * Currently used youtube-dl.exe version
+ * @member {String} youtubedl-version
+ */
+
+Config.prototype['youtubedl-version'] = undefined;
+var _default = Config;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigAnnouncements.js b/dist/model/ConfigAnnouncements.js
new file mode 100644
index 0000000..a9667e3
--- /dev/null
+++ b/dist/model/ConfigAnnouncements.js
@@ -0,0 +1,92 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The ConfigAnnouncements model module.
+ * @module model/ConfigAnnouncements
+ * @version 1.0.0
+ */
+var ConfigAnnouncements = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConfigAnnouncements.
+ * Public Announcement
+ * @alias module:model/ConfigAnnouncements
+ * @param name {String} Announcement name
+ * @param text {String} Announcement text
+ */
+ function ConfigAnnouncements(name, text) {
+ _classCallCheck(this, ConfigAnnouncements);
+
+ ConfigAnnouncements.initialize(this, name, text);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(ConfigAnnouncements, null, [{
+ key: "initialize",
+ value: function initialize(obj, name, text) {
+ obj['name'] = name;
+ obj['text'] = text;
+ }
+ /**
+ * Constructs a ConfigAnnouncements from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigAnnouncements} obj Optional instance to populate.
+ * @return {module:model/ConfigAnnouncements} The populated ConfigAnnouncements instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigAnnouncements();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+
+ if (data.hasOwnProperty('text')) {
+ obj['text'] = _ApiClient["default"].convertToType(data['text'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return ConfigAnnouncements;
+}();
+/**
+ * Announcement name
+ * @member {String} name
+ */
+
+
+ConfigAnnouncements.prototype['name'] = undefined;
+/**
+ * Announcement text
+ * @member {String} text
+ */
+
+ConfigAnnouncements.prototype['text'] = undefined;
+var _default = ConfigAnnouncements;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigDownloadUrls.js b/dist/model/ConfigDownloadUrls.js
new file mode 100644
index 0000000..dc5726f
--- /dev/null
+++ b/dist/model/ConfigDownloadUrls.js
@@ -0,0 +1,104 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The ConfigDownloadUrls model module.
+ * @module model/ConfigDownloadUrls
+ * @version 1.0.0
+ */
+var ConfigDownloadUrls = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConfigDownloadUrls.
+ * Download links for various development assets
+ * @alias module:model/ConfigDownloadUrls
+ * @param sdk2 {String} Download link for legacy SDK2
+ * @param sdk3Avatars {String} Download link for SDK3 for Avatars
+ * @param sdk3Worlds {String} Download link for SDK3 for Worlds
+ */
+ function ConfigDownloadUrls(sdk2, sdk3Avatars, sdk3Worlds) {
+ _classCallCheck(this, ConfigDownloadUrls);
+
+ ConfigDownloadUrls.initialize(this, sdk2, sdk3Avatars, sdk3Worlds);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(ConfigDownloadUrls, null, [{
+ key: "initialize",
+ value: function initialize(obj, sdk2, sdk3Avatars, sdk3Worlds) {
+ obj['sdk2'] = sdk2;
+ obj['sdk3-avatars'] = sdk3Avatars;
+ obj['sdk3-worlds'] = sdk3Worlds;
+ }
+ /**
+ * Constructs a ConfigDownloadUrls from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigDownloadUrls} obj Optional instance to populate.
+ * @return {module:model/ConfigDownloadUrls} The populated ConfigDownloadUrls instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigDownloadUrls();
+
+ if (data.hasOwnProperty('sdk2')) {
+ obj['sdk2'] = _ApiClient["default"].convertToType(data['sdk2'], 'String');
+ }
+
+ if (data.hasOwnProperty('sdk3-avatars')) {
+ obj['sdk3-avatars'] = _ApiClient["default"].convertToType(data['sdk3-avatars'], 'String');
+ }
+
+ if (data.hasOwnProperty('sdk3-worlds')) {
+ obj['sdk3-worlds'] = _ApiClient["default"].convertToType(data['sdk3-worlds'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return ConfigDownloadUrls;
+}();
+/**
+ * Download link for legacy SDK2
+ * @member {String} sdk2
+ */
+
+
+ConfigDownloadUrls.prototype['sdk2'] = undefined;
+/**
+ * Download link for SDK3 for Avatars
+ * @member {String} sdk3-avatars
+ */
+
+ConfigDownloadUrls.prototype['sdk3-avatars'] = undefined;
+/**
+ * Download link for SDK3 for Worlds
+ * @member {String} sdk3-worlds
+ */
+
+ConfigDownloadUrls.prototype['sdk3-worlds'] = undefined;
+var _default = ConfigDownloadUrls;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigDynamicWorldRows.js b/dist/model/ConfigDynamicWorldRows.js
new file mode 100644
index 0000000..a156f9a
--- /dev/null
+++ b/dist/model/ConfigDynamicWorldRows.js
@@ -0,0 +1,143 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The ConfigDynamicWorldRows model module.
+ * @module model/ConfigDynamicWorldRows
+ * @version 1.0.0
+ */
+var ConfigDynamicWorldRows = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConfigDynamicWorldRows.
+ * @alias module:model/ConfigDynamicWorldRows
+ * @param index {Number}
+ * @param name {String}
+ * @param platform {String}
+ * @param sortHeading {String}
+ * @param sortOrder {String}
+ * @param sortOwnership {String}
+ */
+ function ConfigDynamicWorldRows(index, name, platform, sortHeading, sortOrder, sortOwnership) {
+ _classCallCheck(this, ConfigDynamicWorldRows);
+
+ ConfigDynamicWorldRows.initialize(this, index, name, platform, sortHeading, sortOrder, sortOwnership);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(ConfigDynamicWorldRows, null, [{
+ key: "initialize",
+ value: function initialize(obj, index, name, platform, sortHeading, sortOrder, sortOwnership) {
+ obj['index'] = index;
+ obj['name'] = name;
+ obj['platform'] = platform;
+ obj['sortHeading'] = sortHeading;
+ obj['sortOrder'] = sortOrder;
+ obj['sortOwnership'] = sortOwnership;
+ }
+ /**
+ * Constructs a ConfigDynamicWorldRows from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigDynamicWorldRows} obj Optional instance to populate.
+ * @return {module:model/ConfigDynamicWorldRows} The populated ConfigDynamicWorldRows instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigDynamicWorldRows();
+
+ if (data.hasOwnProperty('index')) {
+ obj['index'] = _ApiClient["default"].convertToType(data['index'], 'Number');
+ }
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+
+ if (data.hasOwnProperty('platform')) {
+ obj['platform'] = _ApiClient["default"].convertToType(data['platform'], 'String');
+ }
+
+ if (data.hasOwnProperty('sortHeading')) {
+ obj['sortHeading'] = _ApiClient["default"].convertToType(data['sortHeading'], 'String');
+ }
+
+ if (data.hasOwnProperty('sortOrder')) {
+ obj['sortOrder'] = _ApiClient["default"].convertToType(data['sortOrder'], 'String');
+ }
+
+ if (data.hasOwnProperty('sortOwnership')) {
+ obj['sortOwnership'] = _ApiClient["default"].convertToType(data['sortOwnership'], 'String');
+ }
+
+ if (data.hasOwnProperty('tag')) {
+ obj['tag'] = _ApiClient["default"].convertToType(data['tag'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return ConfigDynamicWorldRows;
+}();
+/**
+ * @member {Number} index
+ */
+
+
+ConfigDynamicWorldRows.prototype['index'] = undefined;
+/**
+ * @member {String} name
+ */
+
+ConfigDynamicWorldRows.prototype['name'] = undefined;
+/**
+ * @member {String} platform
+ */
+
+ConfigDynamicWorldRows.prototype['platform'] = undefined;
+/**
+ * @member {String} sortHeading
+ */
+
+ConfigDynamicWorldRows.prototype['sortHeading'] = undefined;
+/**
+ * @member {String} sortOrder
+ */
+
+ConfigDynamicWorldRows.prototype['sortOrder'] = undefined;
+/**
+ * @member {String} sortOwnership
+ */
+
+ConfigDynamicWorldRows.prototype['sortOwnership'] = undefined;
+/**
+ * Tag to filter worlds for this row
+ * @member {String} tag
+ */
+
+ConfigDynamicWorldRows.prototype['tag'] = undefined;
+var _default = ConfigDynamicWorldRows;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigEvents.js b/dist/model/ConfigEvents.js
new file mode 100644
index 0000000..c487502
--- /dev/null
+++ b/dist/model/ConfigEvents.js
@@ -0,0 +1,187 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The ConfigEvents model module.
+ * @module model/ConfigEvents
+ * @version 1.0.0
+ */
+var ConfigEvents = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConfigEvents.
+ * @alias module:model/ConfigEvents
+ * @param distanceClose {Number} Unknown
+ * @param distanceFactor {Number} Unknown
+ * @param distanceFar {Number} Unknown
+ * @param groupDistance {Number} Unknown
+ * @param maximumBunchSize {Number} Unknown
+ * @param notVisibleFactor {Number} Unknown
+ * @param playerOrderBucketSize {Number} Unknown
+ * @param playerOrderFactor {Number} Unknown
+ * @param slowUpdateFactorThreshold {Number} Unknown
+ * @param viewSegmentLength {Number} Unknown
+ */
+ function ConfigEvents(distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength) {
+ _classCallCheck(this, ConfigEvents);
+
+ ConfigEvents.initialize(this, distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(ConfigEvents, null, [{
+ key: "initialize",
+ value: function initialize(obj, distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength) {
+ obj['distanceClose'] = distanceClose;
+ obj['distanceFactor'] = distanceFactor;
+ obj['distanceFar'] = distanceFar;
+ obj['groupDistance'] = groupDistance;
+ obj['maximumBunchSize'] = maximumBunchSize;
+ obj['notVisibleFactor'] = notVisibleFactor;
+ obj['playerOrderBucketSize'] = playerOrderBucketSize;
+ obj['playerOrderFactor'] = playerOrderFactor;
+ obj['slowUpdateFactorThreshold'] = slowUpdateFactorThreshold;
+ obj['viewSegmentLength'] = viewSegmentLength;
+ }
+ /**
+ * Constructs a ConfigEvents from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigEvents} obj Optional instance to populate.
+ * @return {module:model/ConfigEvents} The populated ConfigEvents instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigEvents();
+
+ if (data.hasOwnProperty('distanceClose')) {
+ obj['distanceClose'] = _ApiClient["default"].convertToType(data['distanceClose'], 'Number');
+ }
+
+ if (data.hasOwnProperty('distanceFactor')) {
+ obj['distanceFactor'] = _ApiClient["default"].convertToType(data['distanceFactor'], 'Number');
+ }
+
+ if (data.hasOwnProperty('distanceFar')) {
+ obj['distanceFar'] = _ApiClient["default"].convertToType(data['distanceFar'], 'Number');
+ }
+
+ if (data.hasOwnProperty('groupDistance')) {
+ obj['groupDistance'] = _ApiClient["default"].convertToType(data['groupDistance'], 'Number');
+ }
+
+ if (data.hasOwnProperty('maximumBunchSize')) {
+ obj['maximumBunchSize'] = _ApiClient["default"].convertToType(data['maximumBunchSize'], 'Number');
+ }
+
+ if (data.hasOwnProperty('notVisibleFactor')) {
+ obj['notVisibleFactor'] = _ApiClient["default"].convertToType(data['notVisibleFactor'], 'Number');
+ }
+
+ if (data.hasOwnProperty('playerOrderBucketSize')) {
+ obj['playerOrderBucketSize'] = _ApiClient["default"].convertToType(data['playerOrderBucketSize'], 'Number');
+ }
+
+ if (data.hasOwnProperty('playerOrderFactor')) {
+ obj['playerOrderFactor'] = _ApiClient["default"].convertToType(data['playerOrderFactor'], 'Number');
+ }
+
+ if (data.hasOwnProperty('slowUpdateFactorThreshold')) {
+ obj['slowUpdateFactorThreshold'] = _ApiClient["default"].convertToType(data['slowUpdateFactorThreshold'], 'Number');
+ }
+
+ if (data.hasOwnProperty('viewSegmentLength')) {
+ obj['viewSegmentLength'] = _ApiClient["default"].convertToType(data['viewSegmentLength'], 'Number');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return ConfigEvents;
+}();
+/**
+ * Unknown
+ * @member {Number} distanceClose
+ */
+
+
+ConfigEvents.prototype['distanceClose'] = undefined;
+/**
+ * Unknown
+ * @member {Number} distanceFactor
+ */
+
+ConfigEvents.prototype['distanceFactor'] = undefined;
+/**
+ * Unknown
+ * @member {Number} distanceFar
+ */
+
+ConfigEvents.prototype['distanceFar'] = undefined;
+/**
+ * Unknown
+ * @member {Number} groupDistance
+ */
+
+ConfigEvents.prototype['groupDistance'] = undefined;
+/**
+ * Unknown
+ * @member {Number} maximumBunchSize
+ */
+
+ConfigEvents.prototype['maximumBunchSize'] = undefined;
+/**
+ * Unknown
+ * @member {Number} notVisibleFactor
+ */
+
+ConfigEvents.prototype['notVisibleFactor'] = undefined;
+/**
+ * Unknown
+ * @member {Number} playerOrderBucketSize
+ */
+
+ConfigEvents.prototype['playerOrderBucketSize'] = undefined;
+/**
+ * Unknown
+ * @member {Number} playerOrderFactor
+ */
+
+ConfigEvents.prototype['playerOrderFactor'] = undefined;
+/**
+ * Unknown
+ * @member {Number} slowUpdateFactorThreshold
+ */
+
+ConfigEvents.prototype['slowUpdateFactorThreshold'] = undefined;
+/**
+ * Unknown
+ * @member {Number} viewSegmentLength
+ */
+
+ConfigEvents.prototype['viewSegmentLength'] = undefined;
+var _default = ConfigEvents;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/CurrentUser.js b/dist/model/CurrentUser.js
new file mode 100644
index 0000000..f1a1dd4
--- /dev/null
+++ b/dist/model/CurrentUser.js
@@ -0,0 +1,578 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _DeveloperType = _interopRequireDefault(require("./DeveloperType"));
+
+var _UserState = _interopRequireDefault(require("./UserState"));
+
+var _UserStatus = _interopRequireDefault(require("./UserStatus"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The CurrentUser model module.
+ * @module model/CurrentUser
+ * @version 1.0.0
+ */
+var CurrentUser = /*#__PURE__*/function () {
+ /**
+ * Constructs a new CurrentUser.
+ * @alias module:model/CurrentUser
+ * @param id {String}
+ * @param username {String}
+ * @param displayName {String}
+ * @param userIcon {String}
+ * @param bio {String}
+ * @param bioLinks {Array.}
+ * @param profilePicOverride {String}
+ * @param statusDescription {String}
+ * @param pastDisplayNames {Array.}
+ * @param hasEmail {Boolean}
+ * @param hasPendingEmail {Boolean}
+ * @param obfuscatedEmail {String}
+ * @param obfuscatedPendingEmail {String}
+ * @param emailVerified {Boolean}
+ * @param hasBirthday {Boolean}
+ * @param unsubscribe {Boolean}
+ * @param statusHistory {Array.}
+ * @param statusFirstTime {Boolean}
+ * @param friends {Array.}
+ * @param friendGroupNames {Array.}
+ * @param currentAvatarImageUrl {String}
+ * @param currentAvatarThumbnailImageUrl {String}
+ * @param fallbackAvatar {String}
+ * @param currentAvatar {String}
+ * @param currentAvatarAssetUrl {String}
+ * @param acceptedTOSVersion {Number}
+ * @param steamId {String}
+ * @param steamDetails {Object}
+ * @param oculusId {String}
+ * @param hasLoggedInFromClient {Boolean}
+ * @param homeLocation {String}
+ * @param twoFactorAuthEnabled {Boolean}
+ * @param state {module:model/UserState}
+ * @param tags {Array.}
+ * @param developerType {module:model/DeveloperType}
+ * @param lastLogin {Date}
+ * @param lastPlatform {String}
+ * @param allowAvatarCopying {Boolean}
+ * @param status {module:model/UserStatus}
+ * @param dateJoined {Date}
+ * @param isFriend {Boolean}
+ * @param friendKey {String}
+ * @param onlineFriends {Array.}
+ * @param activeFriends {Array.}
+ * @param offlineFriends {Array.}
+ */
+ function CurrentUser(id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends) {
+ _classCallCheck(this, CurrentUser);
+
+ CurrentUser.initialize(this, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(CurrentUser, null, [{
+ key: "initialize",
+ value: function initialize(obj, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends) {
+ obj['id'] = id;
+ obj['username'] = username;
+ obj['displayName'] = displayName;
+ obj['userIcon'] = userIcon;
+ obj['bio'] = bio;
+ obj['bioLinks'] = bioLinks;
+ obj['profilePicOverride'] = profilePicOverride;
+ obj['statusDescription'] = statusDescription;
+ obj['pastDisplayNames'] = pastDisplayNames;
+ obj['hasEmail'] = hasEmail;
+ obj['hasPendingEmail'] = hasPendingEmail;
+ obj['obfuscatedEmail'] = obfuscatedEmail;
+ obj['obfuscatedPendingEmail'] = obfuscatedPendingEmail;
+ obj['emailVerified'] = emailVerified;
+ obj['hasBirthday'] = hasBirthday;
+ obj['unsubscribe'] = unsubscribe;
+ obj['statusHistory'] = statusHistory;
+ obj['statusFirstTime'] = statusFirstTime;
+ obj['friends'] = friends;
+ obj['friendGroupNames'] = friendGroupNames;
+ obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
+ obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
+ obj['fallbackAvatar'] = fallbackAvatar;
+ obj['currentAvatar'] = currentAvatar;
+ obj['currentAvatarAssetUrl'] = currentAvatarAssetUrl;
+ obj['acceptedTOSVersion'] = acceptedTOSVersion;
+ obj['steamId'] = steamId;
+ obj['steamDetails'] = steamDetails;
+ obj['oculusId'] = oculusId;
+ obj['hasLoggedInFromClient'] = hasLoggedInFromClient;
+ obj['homeLocation'] = homeLocation;
+ obj['twoFactorAuthEnabled'] = twoFactorAuthEnabled;
+ obj['state'] = state;
+ obj['tags'] = tags;
+ obj['developerType'] = developerType;
+ obj['last_login'] = lastLogin;
+ obj['last_platform'] = lastPlatform;
+ obj['allowAvatarCopying'] = allowAvatarCopying;
+ obj['status'] = status;
+ obj['date_joined'] = dateJoined;
+ obj['isFriend'] = isFriend || false;
+ obj['friendKey'] = friendKey;
+ obj['onlineFriends'] = onlineFriends;
+ obj['activeFriends'] = activeFriends;
+ obj['offlineFriends'] = offlineFriends;
+ }
+ /**
+ * Constructs a CurrentUser from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CurrentUser} obj Optional instance to populate.
+ * @return {module:model/CurrentUser} The populated CurrentUser instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CurrentUser();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
+ }
+
+ if (data.hasOwnProperty('displayName')) {
+ obj['displayName'] = _ApiClient["default"].convertToType(data['displayName'], 'String');
+ }
+
+ if (data.hasOwnProperty('userIcon')) {
+ obj['userIcon'] = _ApiClient["default"].convertToType(data['userIcon'], 'String');
+ }
+
+ if (data.hasOwnProperty('bio')) {
+ obj['bio'] = _ApiClient["default"].convertToType(data['bio'], 'String');
+ }
+
+ if (data.hasOwnProperty('bioLinks')) {
+ obj['bioLinks'] = _ApiClient["default"].convertToType(data['bioLinks'], ['String']);
+ }
+
+ if (data.hasOwnProperty('profilePicOverride')) {
+ obj['profilePicOverride'] = _ApiClient["default"].convertToType(data['profilePicOverride'], 'String');
+ }
+
+ if (data.hasOwnProperty('statusDescription')) {
+ obj['statusDescription'] = _ApiClient["default"].convertToType(data['statusDescription'], 'String');
+ }
+
+ if (data.hasOwnProperty('pastDisplayNames')) {
+ obj['pastDisplayNames'] = _ApiClient["default"].convertToType(data['pastDisplayNames'], ['String']);
+ }
+
+ if (data.hasOwnProperty('hasEmail')) {
+ obj['hasEmail'] = _ApiClient["default"].convertToType(data['hasEmail'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('hasPendingEmail')) {
+ obj['hasPendingEmail'] = _ApiClient["default"].convertToType(data['hasPendingEmail'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('obfuscatedEmail')) {
+ obj['obfuscatedEmail'] = _ApiClient["default"].convertToType(data['obfuscatedEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('obfuscatedPendingEmail')) {
+ obj['obfuscatedPendingEmail'] = _ApiClient["default"].convertToType(data['obfuscatedPendingEmail'], 'String');
+ }
+
+ if (data.hasOwnProperty('emailVerified')) {
+ obj['emailVerified'] = _ApiClient["default"].convertToType(data['emailVerified'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('hasBirthday')) {
+ obj['hasBirthday'] = _ApiClient["default"].convertToType(data['hasBirthday'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('unsubscribe')) {
+ obj['unsubscribe'] = _ApiClient["default"].convertToType(data['unsubscribe'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('statusHistory')) {
+ obj['statusHistory'] = _ApiClient["default"].convertToType(data['statusHistory'], ['String']);
+ }
+
+ if (data.hasOwnProperty('statusFirstTime')) {
+ obj['statusFirstTime'] = _ApiClient["default"].convertToType(data['statusFirstTime'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('friends')) {
+ obj['friends'] = _ApiClient["default"].convertToType(data['friends'], ['String']);
+ }
+
+ if (data.hasOwnProperty('friendGroupNames')) {
+ obj['friendGroupNames'] = _ApiClient["default"].convertToType(data['friendGroupNames'], ['String']);
+ }
+
+ if (data.hasOwnProperty('currentAvatarImageUrl')) {
+ obj['currentAvatarImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarImageUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
+ obj['currentAvatarThumbnailImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('fallbackAvatar')) {
+ obj['fallbackAvatar'] = _ApiClient["default"].convertToType(data['fallbackAvatar'], 'String');
+ }
+
+ if (data.hasOwnProperty('currentAvatar')) {
+ obj['currentAvatar'] = _ApiClient["default"].convertToType(data['currentAvatar'], 'String');
+ }
+
+ if (data.hasOwnProperty('currentAvatarAssetUrl')) {
+ obj['currentAvatarAssetUrl'] = _ApiClient["default"].convertToType(data['currentAvatarAssetUrl'], 'String');
+ }
+
+ if (data.hasOwnProperty('accountDeletionDate')) {
+ obj['accountDeletionDate'] = _ApiClient["default"].convertToType(data['accountDeletionDate'], 'Date');
+ }
+
+ if (data.hasOwnProperty('acceptedTOSVersion')) {
+ obj['acceptedTOSVersion'] = _ApiClient["default"].convertToType(data['acceptedTOSVersion'], 'Number');
+ }
+
+ if (data.hasOwnProperty('steamId')) {
+ obj['steamId'] = _ApiClient["default"].convertToType(data['steamId'], 'String');
+ }
+
+ if (data.hasOwnProperty('steamDetails')) {
+ obj['steamDetails'] = _ApiClient["default"].convertToType(data['steamDetails'], Object);
+ }
+
+ if (data.hasOwnProperty('oculusId')) {
+ obj['oculusId'] = _ApiClient["default"].convertToType(data['oculusId'], 'String');
+ }
+
+ if (data.hasOwnProperty('hasLoggedInFromClient')) {
+ obj['hasLoggedInFromClient'] = _ApiClient["default"].convertToType(data['hasLoggedInFromClient'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('homeLocation')) {
+ obj['homeLocation'] = _ApiClient["default"].convertToType(data['homeLocation'], 'String');
+ }
+
+ if (data.hasOwnProperty('twoFactorAuthEnabled')) {
+ obj['twoFactorAuthEnabled'] = _ApiClient["default"].convertToType(data['twoFactorAuthEnabled'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('state')) {
+ obj['state'] = _UserState["default"].constructFromObject(data['state']);
+ }
+
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
+ }
+
+ if (data.hasOwnProperty('developerType')) {
+ obj['developerType'] = _DeveloperType["default"].constructFromObject(data['developerType']);
+ }
+
+ if (data.hasOwnProperty('last_login')) {
+ obj['last_login'] = _ApiClient["default"].convertToType(data['last_login'], 'Date');
+ }
+
+ if (data.hasOwnProperty('last_platform')) {
+ obj['last_platform'] = _ApiClient["default"].convertToType(data['last_platform'], 'String');
+ }
+
+ if (data.hasOwnProperty('allowAvatarCopying')) {
+ obj['allowAvatarCopying'] = _ApiClient["default"].convertToType(data['allowAvatarCopying'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _UserStatus["default"].constructFromObject(data['status']);
+ }
+
+ if (data.hasOwnProperty('date_joined')) {
+ obj['date_joined'] = _ApiClient["default"].convertToType(data['date_joined'], 'Date');
+ }
+
+ if (data.hasOwnProperty('isFriend')) {
+ obj['isFriend'] = _ApiClient["default"].convertToType(data['isFriend'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('friendKey')) {
+ obj['friendKey'] = _ApiClient["default"].convertToType(data['friendKey'], 'String');
+ }
+
+ if (data.hasOwnProperty('onlineFriends')) {
+ obj['onlineFriends'] = _ApiClient["default"].convertToType(data['onlineFriends'], ['String']);
+ }
+
+ if (data.hasOwnProperty('activeFriends')) {
+ obj['activeFriends'] = _ApiClient["default"].convertToType(data['activeFriends'], ['String']);
+ }
+
+ if (data.hasOwnProperty('offlineFriends')) {
+ obj['offlineFriends'] = _ApiClient["default"].convertToType(data['offlineFriends'], ['String']);
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return CurrentUser;
+}();
+/**
+ * @member {String} id
+ */
+
+
+CurrentUser.prototype['id'] = undefined;
+/**
+ * @member {String} username
+ */
+
+CurrentUser.prototype['username'] = undefined;
+/**
+ * @member {String} displayName
+ */
+
+CurrentUser.prototype['displayName'] = undefined;
+/**
+ * @member {String} userIcon
+ */
+
+CurrentUser.prototype['userIcon'] = undefined;
+/**
+ * @member {String} bio
+ */
+
+CurrentUser.prototype['bio'] = undefined;
+/**
+ * @member {Array.} bioLinks
+ */
+
+CurrentUser.prototype['bioLinks'] = undefined;
+/**
+ * @member {String} profilePicOverride
+ */
+
+CurrentUser.prototype['profilePicOverride'] = undefined;
+/**
+ * @member {String} statusDescription
+ */
+
+CurrentUser.prototype['statusDescription'] = undefined;
+/**
+ * @member {Array.} pastDisplayNames
+ */
+
+CurrentUser.prototype['pastDisplayNames'] = undefined;
+/**
+ * @member {Boolean} hasEmail
+ */
+
+CurrentUser.prototype['hasEmail'] = undefined;
+/**
+ * @member {Boolean} hasPendingEmail
+ */
+
+CurrentUser.prototype['hasPendingEmail'] = undefined;
+/**
+ * @member {String} obfuscatedEmail
+ */
+
+CurrentUser.prototype['obfuscatedEmail'] = undefined;
+/**
+ * @member {String} obfuscatedPendingEmail
+ */
+
+CurrentUser.prototype['obfuscatedPendingEmail'] = undefined;
+/**
+ * @member {Boolean} emailVerified
+ */
+
+CurrentUser.prototype['emailVerified'] = undefined;
+/**
+ * @member {Boolean} hasBirthday
+ */
+
+CurrentUser.prototype['hasBirthday'] = undefined;
+/**
+ * @member {Boolean} unsubscribe
+ */
+
+CurrentUser.prototype['unsubscribe'] = undefined;
+/**
+ * @member {Array.} statusHistory
+ */
+
+CurrentUser.prototype['statusHistory'] = undefined;
+/**
+ * @member {Boolean} statusFirstTime
+ */
+
+CurrentUser.prototype['statusFirstTime'] = undefined;
+/**
+ * @member {Array.} friends
+ */
+
+CurrentUser.prototype['friends'] = undefined;
+/**
+ * @member {Array.} friendGroupNames
+ */
+
+CurrentUser.prototype['friendGroupNames'] = undefined;
+/**
+ * @member {String} currentAvatarImageUrl
+ */
+
+CurrentUser.prototype['currentAvatarImageUrl'] = undefined;
+/**
+ * @member {String} currentAvatarThumbnailImageUrl
+ */
+
+CurrentUser.prototype['currentAvatarThumbnailImageUrl'] = undefined;
+/**
+ * @member {String} fallbackAvatar
+ */
+
+CurrentUser.prototype['fallbackAvatar'] = undefined;
+/**
+ * @member {String} currentAvatar
+ */
+
+CurrentUser.prototype['currentAvatar'] = undefined;
+/**
+ * @member {String} currentAvatarAssetUrl
+ */
+
+CurrentUser.prototype['currentAvatarAssetUrl'] = undefined;
+/**
+ * @member {Date} accountDeletionDate
+ */
+
+CurrentUser.prototype['accountDeletionDate'] = undefined;
+/**
+ * @member {Number} acceptedTOSVersion
+ */
+
+CurrentUser.prototype['acceptedTOSVersion'] = undefined;
+/**
+ * @member {String} steamId
+ */
+
+CurrentUser.prototype['steamId'] = undefined;
+/**
+ * @member {Object} steamDetails
+ */
+
+CurrentUser.prototype['steamDetails'] = undefined;
+/**
+ * @member {String} oculusId
+ */
+
+CurrentUser.prototype['oculusId'] = undefined;
+/**
+ * @member {Boolean} hasLoggedInFromClient
+ */
+
+CurrentUser.prototype['hasLoggedInFromClient'] = undefined;
+/**
+ * @member {String} homeLocation
+ */
+
+CurrentUser.prototype['homeLocation'] = undefined;
+/**
+ * @member {Boolean} twoFactorAuthEnabled
+ */
+
+CurrentUser.prototype['twoFactorAuthEnabled'] = undefined;
+/**
+ * @member {module:model/UserState} state
+ */
+
+CurrentUser.prototype['state'] = undefined;
+/**
+ * @member {Array.} tags
+ */
+
+CurrentUser.prototype['tags'] = undefined;
+/**
+ * @member {module:model/DeveloperType} developerType
+ */
+
+CurrentUser.prototype['developerType'] = undefined;
+/**
+ * @member {Date} last_login
+ */
+
+CurrentUser.prototype['last_login'] = undefined;
+/**
+ * @member {String} last_platform
+ */
+
+CurrentUser.prototype['last_platform'] = undefined;
+/**
+ * @member {Boolean} allowAvatarCopying
+ */
+
+CurrentUser.prototype['allowAvatarCopying'] = undefined;
+/**
+ * @member {module:model/UserStatus} status
+ */
+
+CurrentUser.prototype['status'] = undefined;
+/**
+ * @member {Date} date_joined
+ */
+
+CurrentUser.prototype['date_joined'] = undefined;
+/**
+ * @member {Boolean} isFriend
+ * @default false
+ */
+
+CurrentUser.prototype['isFriend'] = false;
+/**
+ * @member {String} friendKey
+ */
+
+CurrentUser.prototype['friendKey'] = undefined;
+/**
+ * @member {Array.} onlineFriends
+ */
+
+CurrentUser.prototype['onlineFriends'] = undefined;
+/**
+ * @member {Array.} activeFriends
+ */
+
+CurrentUser.prototype['activeFriends'] = undefined;
+/**
+ * @member {Array.} offlineFriends
+ */
+
+CurrentUser.prototype['offlineFriends'] = undefined;
+var _default = CurrentUser;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/DeploymentGroup.js b/dist/model/DeploymentGroup.js
new file mode 100644
index 0000000..42734ce
--- /dev/null
+++ b/dist/model/DeploymentGroup.js
@@ -0,0 +1,54 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+/**
+* Enum class DeploymentGroup.
+* @enum {}
+* @readonly
+*/
+var DeploymentGroup = /*#__PURE__*/function () {
+ function DeploymentGroup() {
+ _classCallCheck(this, DeploymentGroup);
+
+ _defineProperty(this, "blue", "blue");
+
+ _defineProperty(this, "green", "green");
+
+ _defineProperty(this, "grape", "grape");
+
+ _defineProperty(this, "cherry", "cherry");
+ }
+
+ _createClass(DeploymentGroup, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a DeploymentGroup enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/DeploymentGroup} The enum DeploymentGroup value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+
+ return DeploymentGroup;
+}();
+
+exports["default"] = DeploymentGroup;
\ No newline at end of file
diff --git a/dist/model/DeveloperType.js b/dist/model/DeveloperType.js
new file mode 100644
index 0000000..216343c
--- /dev/null
+++ b/dist/model/DeveloperType.js
@@ -0,0 +1,54 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+/**
+* Enum class DeveloperType.
+* @enum {}
+* @readonly
+*/
+var DeveloperType = /*#__PURE__*/function () {
+ function DeveloperType() {
+ _classCallCheck(this, DeveloperType);
+
+ _defineProperty(this, "none", "none");
+
+ _defineProperty(this, "trusted", "trusted");
+
+ _defineProperty(this, "internal", "internal");
+
+ _defineProperty(this, "moderator", "moderator");
+ }
+
+ _createClass(DeveloperType, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a DeveloperType enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/DeveloperType} The enum DeveloperType value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+
+ return DeveloperType;
+}();
+
+exports["default"] = DeveloperType;
\ No newline at end of file
diff --git a/dist/model/Error.js b/dist/model/Error.js
new file mode 100644
index 0000000..531d1c6
--- /dev/null
+++ b/dist/model/Error.js
@@ -0,0 +1,77 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _Response = _interopRequireDefault(require("./Response"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The Error model module.
+ * @module model/Error
+ * @version 1.0.0
+ */
+var Error = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Error.
+ * @alias module:model/Error
+ */
+ function Error() {
+ _classCallCheck(this, Error);
+
+ Error.initialize(this);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(Error, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+ /**
+ * Constructs a Error from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Error} obj Optional instance to populate.
+ * @return {module:model/Error} The populated Error instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Error();
+
+ if (data.hasOwnProperty('error')) {
+ obj['error'] = _Response["default"].constructFromObject(data['error']);
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return Error;
+}();
+/**
+ * @member {module:model/Response} error
+ */
+
+
+Error.prototype['error'] = undefined;
+var _default = Error;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/File.js b/dist/model/File.js
new file mode 100644
index 0000000..867b535
--- /dev/null
+++ b/dist/model/File.js
@@ -0,0 +1,150 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _FileVersion = _interopRequireDefault(require("./FileVersion"));
+
+var _MIMEType = _interopRequireDefault(require("./MIMEType"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The File model module.
+ * @module model/File
+ * @version 1.0.0
+ */
+var File = /*#__PURE__*/function () {
+ /**
+ * Constructs a new File.
+ *
+ * @alias module:model/File
+ * @param id {String}
+ * @param name {String}
+ * @param ownerId {String}
+ * @param mimeType {module:model/MIMEType}
+ * @param extension {String}
+ * @param tags {Array.}
+ * @param versions {Array.}
+ */
+ function File(id, name, ownerId, mimeType, extension, tags, versions) {
+ _classCallCheck(this, File);
+
+ File.initialize(this, id, name, ownerId, mimeType, extension, tags, versions);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(File, null, [{
+ key: "initialize",
+ value: function initialize(obj, id, name, ownerId, mimeType, extension, tags, versions) {
+ obj['id'] = id;
+ obj['name'] = name;
+ obj['ownerId'] = ownerId;
+ obj['mimeType'] = mimeType;
+ obj['extension'] = extension;
+ obj['tags'] = tags;
+ obj['versions'] = versions;
+ }
+ /**
+ * Constructs a File from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/File} obj Optional instance to populate.
+ * @return {module:model/File} The populated File instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new File();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+
+ if (data.hasOwnProperty('ownerId')) {
+ obj['ownerId'] = _ApiClient["default"].convertToType(data['ownerId'], 'String');
+ }
+
+ if (data.hasOwnProperty('mimeType')) {
+ obj['mimeType'] = _MIMEType["default"].constructFromObject(data['mimeType']);
+ }
+
+ if (data.hasOwnProperty('extension')) {
+ obj['extension'] = _ApiClient["default"].convertToType(data['extension'], 'String');
+ }
+
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
+ }
+
+ if (data.hasOwnProperty('versions')) {
+ obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_FileVersion["default"]]);
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return File;
+}();
+/**
+ * @member {String} id
+ */
+
+
+File.prototype['id'] = undefined;
+/**
+ *
+ * @member {String} name
+ */
+
+File.prototype['name'] = undefined;
+/**
+ * @member {String} ownerId
+ */
+
+File.prototype['ownerId'] = undefined;
+/**
+ * @member {module:model/MIMEType} mimeType
+ */
+
+File.prototype['mimeType'] = undefined;
+/**
+ * @member {String} extension
+ */
+
+File.prototype['extension'] = undefined;
+/**
+ * @member {Array.} tags
+ */
+
+File.prototype['tags'] = undefined;
+/**
+ * @member {Array.} versions
+ */
+
+File.prototype['versions'] = undefined;
+var _default = File;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/FileData.js b/dist/model/FileData.js
new file mode 100644
index 0000000..6b30c2d
--- /dev/null
+++ b/dist/model/FileData.js
@@ -0,0 +1,173 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _FileStatus = _interopRequireDefault(require("./FileStatus"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The FileData model module.
+ * @module model/FileData
+ * @version 1.0.0
+ */
+var FileData = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FileData.
+ *
+ * @alias module:model/FileData
+ * @param fileName {String}
+ * @param url {String}
+ * @param md5 {String}
+ * @param sizeInBytes {Number}
+ * @param status {module:model/FileStatus}
+ * @param category {module:model/FileData.CategoryEnum}
+ * @param uploadId {String}
+ */
+ function FileData(fileName, url, md5, sizeInBytes, status, category, uploadId) {
+ _classCallCheck(this, FileData);
+
+ FileData.initialize(this, fileName, url, md5, sizeInBytes, status, category, uploadId);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(FileData, null, [{
+ key: "initialize",
+ value: function initialize(obj, fileName, url, md5, sizeInBytes, status, category, uploadId) {
+ obj['fileName'] = fileName;
+ obj['url'] = url;
+ obj['md5'] = md5;
+ obj['sizeInBytes'] = sizeInBytes;
+ obj['status'] = status;
+ obj['category'] = category;
+ obj['uploadId'] = uploadId || '';
+ }
+ /**
+ * Constructs a FileData from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FileData} obj Optional instance to populate.
+ * @return {module:model/FileData} The populated FileData instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FileData();
+
+ if (data.hasOwnProperty('fileName')) {
+ obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
+ }
+
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
+ }
+
+ if (data.hasOwnProperty('md5')) {
+ obj['md5'] = _ApiClient["default"].convertToType(data['md5'], 'String');
+ }
+
+ if (data.hasOwnProperty('sizeInBytes')) {
+ obj['sizeInBytes'] = _ApiClient["default"].convertToType(data['sizeInBytes'], 'Number');
+ }
+
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _FileStatus["default"].constructFromObject(data['status']);
+ }
+
+ if (data.hasOwnProperty('category')) {
+ obj['category'] = _ApiClient["default"].convertToType(data['category'], 'String');
+ }
+
+ if (data.hasOwnProperty('uploadId')) {
+ obj['uploadId'] = _ApiClient["default"].convertToType(data['uploadId'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return FileData;
+}();
+/**
+ * @member {String} fileName
+ */
+
+
+FileData.prototype['fileName'] = undefined;
+/**
+ * @member {String} url
+ */
+
+FileData.prototype['url'] = undefined;
+/**
+ * @member {String} md5
+ */
+
+FileData.prototype['md5'] = undefined;
+/**
+ * @member {Number} sizeInBytes
+ */
+
+FileData.prototype['sizeInBytes'] = undefined;
+/**
+ * @member {module:model/FileStatus} status
+ */
+
+FileData.prototype['status'] = undefined;
+/**
+ * @member {module:model/FileData.CategoryEnum} category
+ */
+
+FileData.prototype['category'] = undefined;
+/**
+ * @member {String} uploadId
+ * @default ''
+ */
+
+FileData.prototype['uploadId'] = '';
+/**
+ * Allowed values for the category property.
+ * @enum {String}
+ * @readonly
+ */
+
+FileData['CategoryEnum'] = {
+ /**
+ * value: "multipart"
+ * @const
+ */
+ "multipart": "multipart",
+
+ /**
+ * value: "queued"
+ * @const
+ */
+ "queued": "queued",
+
+ /**
+ * value: "simple"
+ * @const
+ */
+ "simple": "simple"
+};
+var _default = FileData;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/FileStatus.js b/dist/model/FileStatus.js
new file mode 100644
index 0000000..fc4e20e
--- /dev/null
+++ b/dist/model/FileStatus.js
@@ -0,0 +1,52 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+/**
+* Enum class FileStatus.
+* @enum {}
+* @readonly
+*/
+var FileStatus = /*#__PURE__*/function () {
+ function FileStatus() {
+ _classCallCheck(this, FileStatus);
+
+ _defineProperty(this, "waiting", "waiting");
+
+ _defineProperty(this, "complete", "complete");
+
+ _defineProperty(this, "none", "none");
+ }
+
+ _createClass(FileStatus, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a FileStatus enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/FileStatus} The enum FileStatus value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+
+ return FileStatus;
+}();
+
+exports["default"] = FileStatus;
\ No newline at end of file
diff --git a/dist/model/FileVersion.js b/dist/model/FileVersion.js
new file mode 100644
index 0000000..5bb4fb4
--- /dev/null
+++ b/dist/model/FileVersion.js
@@ -0,0 +1,145 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _FileData = _interopRequireDefault(require("./FileData"));
+
+var _FileStatus = _interopRequireDefault(require("./FileStatus"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The FileVersion model module.
+ * @module model/FileVersion
+ * @version 1.0.0
+ */
+var FileVersion = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FileVersion.
+ *
+ * @alias module:model/FileVersion
+ * @param version {Number} Incremental version counter, can only be increased.
+ * @param status {module:model/FileStatus}
+ * @param createdAt {Date}
+ */
+ function FileVersion(version, status, createdAt) {
+ _classCallCheck(this, FileVersion);
+
+ FileVersion.initialize(this, version, status, createdAt);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(FileVersion, null, [{
+ key: "initialize",
+ value: function initialize(obj, version, status, createdAt) {
+ obj['version'] = version || 0;
+ obj['status'] = status;
+ obj['created_at'] = createdAt;
+ }
+ /**
+ * Constructs a FileVersion from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FileVersion} obj Optional instance to populate.
+ * @return {module:model/FileVersion} The populated FileVersion instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FileVersion();
+
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ }
+
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _FileStatus["default"].constructFromObject(data['status']);
+ }
+
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+
+ if (data.hasOwnProperty('file')) {
+ obj['file'] = _FileData["default"].constructFromObject(data['file']);
+ }
+
+ if (data.hasOwnProperty('delta')) {
+ obj['delta'] = _FileData["default"].constructFromObject(data['delta']);
+ }
+
+ if (data.hasOwnProperty('signature')) {
+ obj['signature'] = _FileData["default"].constructFromObject(data['signature']);
+ }
+
+ if (data.hasOwnProperty('deleted')) {
+ obj['deleted'] = _ApiClient["default"].convertToType(data['deleted'], 'Boolean');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return FileVersion;
+}();
+/**
+ * Incremental version counter, can only be increased.
+ * @member {Number} version
+ * @default 0
+ */
+
+
+FileVersion.prototype['version'] = 0;
+/**
+ * @member {module:model/FileStatus} status
+ */
+
+FileVersion.prototype['status'] = undefined;
+/**
+ * @member {Date} created_at
+ */
+
+FileVersion.prototype['created_at'] = undefined;
+/**
+ * @member {module:model/FileData} file
+ */
+
+FileVersion.prototype['file'] = undefined;
+/**
+ * @member {module:model/FileData} delta
+ */
+
+FileVersion.prototype['delta'] = undefined;
+/**
+ * @member {module:model/FileData} signature
+ */
+
+FileVersion.prototype['signature'] = undefined;
+/**
+ * Usually only present if `true`
+ * @member {Boolean} deleted
+ * @default true
+ */
+
+FileVersion.prototype['deleted'] = true;
+var _default = FileVersion;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject.js b/dist/model/InlineObject.js
new file mode 100644
index 0000000..2f97735
--- /dev/null
+++ b/dist/model/InlineObject.js
@@ -0,0 +1,78 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineObject model module.
+ * @module model/InlineObject
+ * @version 1.0.0
+ */
+var InlineObject = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineObject.
+ * @alias module:model/InlineObject
+ * @param code {String}
+ */
+ function InlineObject(code) {
+ _classCallCheck(this, InlineObject);
+
+ InlineObject.initialize(this, code);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineObject, null, [{
+ key: "initialize",
+ value: function initialize(obj, code) {
+ obj['code'] = code;
+ }
+ /**
+ * Constructs a InlineObject from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject} obj Optional instance to populate.
+ * @return {module:model/InlineObject} The populated InlineObject instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject();
+
+ if (data.hasOwnProperty('code')) {
+ obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineObject;
+}();
+/**
+ * @member {String} code
+ */
+
+
+InlineObject.prototype['code'] = undefined;
+var _default = InlineObject;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject1.js b/dist/model/InlineObject1.js
new file mode 100644
index 0000000..1afe679
--- /dev/null
+++ b/dist/model/InlineObject1.js
@@ -0,0 +1,78 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineObject1 model module.
+ * @module model/InlineObject1
+ * @version 1.0.0
+ */
+var InlineObject1 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineObject1.
+ * @alias module:model/InlineObject1
+ * @param code {String}
+ */
+ function InlineObject1(code) {
+ _classCallCheck(this, InlineObject1);
+
+ InlineObject1.initialize(this, code);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineObject1, null, [{
+ key: "initialize",
+ value: function initialize(obj, code) {
+ obj['code'] = code;
+ }
+ /**
+ * Constructs a InlineObject1 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject1} obj Optional instance to populate.
+ * @return {module:model/InlineObject1} The populated InlineObject1 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject1();
+
+ if (data.hasOwnProperty('code')) {
+ obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineObject1;
+}();
+/**
+ * @member {String} code
+ */
+
+
+InlineObject1.prototype['code'] = undefined;
+var _default = InlineObject1;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject2.js b/dist/model/InlineObject2.js
new file mode 100644
index 0000000..91d14b9
--- /dev/null
+++ b/dist/model/InlineObject2.js
@@ -0,0 +1,150 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _UserStatus = _interopRequireDefault(require("./UserStatus"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineObject2 model module.
+ * @module model/InlineObject2
+ * @version 1.0.0
+ */
+var InlineObject2 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineObject2.
+ * @alias module:model/InlineObject2
+ */
+ function InlineObject2() {
+ _classCallCheck(this, InlineObject2);
+
+ InlineObject2.initialize(this);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineObject2, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+ /**
+ * Constructs a InlineObject2 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject2} obj Optional instance to populate.
+ * @return {module:model/InlineObject2} The populated InlineObject2 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject2();
+
+ if (data.hasOwnProperty('email')) {
+ obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
+ }
+
+ if (data.hasOwnProperty('birthday')) {
+ obj['birthday'] = _ApiClient["default"].convertToType(data['birthday'], 'Date');
+ }
+
+ if (data.hasOwnProperty('acceptedTOSVersion')) {
+ obj['acceptedTOSVersion'] = _ApiClient["default"].convertToType(data['acceptedTOSVersion'], 'Number');
+ }
+
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
+ }
+
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _UserStatus["default"].constructFromObject(data['status']);
+ }
+
+ if (data.hasOwnProperty('statusDescription')) {
+ obj['statusDescription'] = _ApiClient["default"].convertToType(data['statusDescription'], 'String');
+ }
+
+ if (data.hasOwnProperty('bio')) {
+ obj['bio'] = _ApiClient["default"].convertToType(data['bio'], 'String');
+ }
+
+ if (data.hasOwnProperty('bioLinks')) {
+ obj['bioLinks'] = _ApiClient["default"].convertToType(data['bioLinks'], ['String']);
+ }
+
+ if (data.hasOwnProperty('userIcon')) {
+ obj['userIcon'] = _ApiClient["default"].convertToType(data['userIcon'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineObject2;
+}();
+/**
+ * @member {String} email
+ */
+
+
+InlineObject2.prototype['email'] = undefined;
+/**
+ * @member {Date} birthday
+ */
+
+InlineObject2.prototype['birthday'] = undefined;
+/**
+ * @member {Number} acceptedTOSVersion
+ */
+
+InlineObject2.prototype['acceptedTOSVersion'] = undefined;
+/**
+ * @member {Array.} tags
+ */
+
+InlineObject2.prototype['tags'] = undefined;
+/**
+ * @member {module:model/UserStatus} status
+ */
+
+InlineObject2.prototype['status'] = undefined;
+/**
+ * @member {String} statusDescription
+ */
+
+InlineObject2.prototype['statusDescription'] = undefined;
+/**
+ * @member {String} bio
+ */
+
+InlineObject2.prototype['bio'] = undefined;
+/**
+ * @member {Array.} bioLinks
+ */
+
+InlineObject2.prototype['bioLinks'] = undefined;
+/**
+ * MUST be a valid VRChat /file/ url.
+ * @member {String} userIcon
+ */
+
+InlineObject2.prototype['userIcon'] = undefined;
+var _default = InlineObject2;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject3.js b/dist/model/InlineObject3.js
new file mode 100644
index 0000000..2308677
--- /dev/null
+++ b/dist/model/InlineObject3.js
@@ -0,0 +1,111 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+var _MIMEType = _interopRequireDefault(require("./MIMEType"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineObject3 model module.
+ * @module model/InlineObject3
+ * @version 1.0.0
+ */
+var InlineObject3 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineObject3.
+ * @alias module:model/InlineObject3
+ * @param name {String}
+ * @param mimeType {module:model/MIMEType}
+ * @param extension {String}
+ */
+ function InlineObject3(name, mimeType, extension) {
+ _classCallCheck(this, InlineObject3);
+
+ InlineObject3.initialize(this, name, mimeType, extension);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineObject3, null, [{
+ key: "initialize",
+ value: function initialize(obj, name, mimeType, extension) {
+ obj['name'] = name;
+ obj['mimeType'] = mimeType;
+ obj['extension'] = extension;
+ }
+ /**
+ * Constructs a InlineObject3 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject3} obj Optional instance to populate.
+ * @return {module:model/InlineObject3} The populated InlineObject3 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject3();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+
+ if (data.hasOwnProperty('mimeType')) {
+ obj['mimeType'] = _MIMEType["default"].constructFromObject(data['mimeType']);
+ }
+
+ if (data.hasOwnProperty('extension')) {
+ obj['extension'] = _ApiClient["default"].convertToType(data['extension'], 'String');
+ }
+
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineObject3;
+}();
+/**
+ * @member {String} name
+ */
+
+
+InlineObject3.prototype['name'] = undefined;
+/**
+ * @member {module:model/MIMEType} mimeType
+ */
+
+InlineObject3.prototype['mimeType'] = undefined;
+/**
+ * @member {String} extension
+ */
+
+InlineObject3.prototype['extension'] = undefined;
+/**
+ * @member {Array.} tags
+ */
+
+InlineObject3.prototype['tags'] = undefined;
+var _default = InlineObject3;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject4.js b/dist/model/InlineObject4.js
new file mode 100644
index 0000000..78526a8
--- /dev/null
+++ b/dist/model/InlineObject4.js
@@ -0,0 +1,129 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineObject4 model module.
+ * @module model/InlineObject4
+ * @version 1.0.0
+ */
+var InlineObject4 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineObject4.
+ * @alias module:model/InlineObject4
+ * @param nextPartNumber {module:model/InlineObject4.NextPartNumberEnum} Always a zero in string form, despite how many parts uploaded.
+ * @param maxParts {module:model/InlineObject4.MaxPartsEnum} Always a zero in string form, despite how many parts uploaded.
+ */
+ function InlineObject4(nextPartNumber, maxParts) {
+ _classCallCheck(this, InlineObject4);
+
+ InlineObject4.initialize(this, nextPartNumber, maxParts);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineObject4, null, [{
+ key: "initialize",
+ value: function initialize(obj, nextPartNumber, maxParts) {
+ obj['nextPartNumber'] = nextPartNumber || '0';
+ obj['maxParts'] = maxParts || '0';
+ }
+ /**
+ * Constructs a InlineObject4 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject4} obj Optional instance to populate.
+ * @return {module:model/InlineObject4} The populated InlineObject4 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject4();
+
+ if (data.hasOwnProperty('etags')) {
+ obj['etags'] = _ApiClient["default"].convertToType(data['etags'], ['String']);
+ }
+
+ if (data.hasOwnProperty('nextPartNumber')) {
+ obj['nextPartNumber'] = _ApiClient["default"].convertToType(data['nextPartNumber'], 'String');
+ }
+
+ if (data.hasOwnProperty('maxParts')) {
+ obj['maxParts'] = _ApiClient["default"].convertToType(data['maxParts'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineObject4;
+}();
+/**
+ * Array of ETags uploaded.
+ * @member {Array.} etags
+ */
+
+
+InlineObject4.prototype['etags'] = undefined;
+/**
+ * Always a zero in string form, despite how many parts uploaded.
+ * @member {module:model/InlineObject4.NextPartNumberEnum} nextPartNumber
+ * @default '0'
+ */
+
+InlineObject4.prototype['nextPartNumber'] = '0';
+/**
+ * Always a zero in string form, despite how many parts uploaded.
+ * @member {module:model/InlineObject4.MaxPartsEnum} maxParts
+ * @default '0'
+ */
+
+InlineObject4.prototype['maxParts'] = '0';
+/**
+ * Allowed values for the nextPartNumber property.
+ * @enum {String}
+ * @readonly
+ */
+
+InlineObject4['NextPartNumberEnum'] = {
+ /**
+ * value: "0"
+ * @const
+ */
+ "0": "0"
+};
+/**
+ * Allowed values for the maxParts property.
+ * @enum {String}
+ * @readonly
+ */
+
+InlineObject4['MaxPartsEnum'] = {
+ /**
+ * value: "0"
+ * @const
+ */
+ "0": "0"
+};
+var _default = InlineObject4;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse200.js b/dist/model/InlineResponse200.js
new file mode 100644
index 0000000..c6e345e
--- /dev/null
+++ b/dist/model/InlineResponse200.js
@@ -0,0 +1,89 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineResponse200 model module.
+ * @module model/InlineResponse200
+ * @version 1.0.0
+ */
+var InlineResponse200 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineResponse200.
+ * @alias module:model/InlineResponse200
+ * @param ok {Boolean}
+ * @param token {String}
+ */
+ function InlineResponse200(ok, token) {
+ _classCallCheck(this, InlineResponse200);
+
+ InlineResponse200.initialize(this, ok, token);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineResponse200, null, [{
+ key: "initialize",
+ value: function initialize(obj, ok, token) {
+ obj['ok'] = ok;
+ obj['token'] = token;
+ }
+ /**
+ * Constructs a InlineResponse200 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse200} obj Optional instance to populate.
+ * @return {module:model/InlineResponse200} The populated InlineResponse200 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse200();
+
+ if (data.hasOwnProperty('ok')) {
+ obj['ok'] = _ApiClient["default"].convertToType(data['ok'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('token')) {
+ obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineResponse200;
+}();
+/**
+ * @member {Boolean} ok
+ */
+
+
+InlineResponse200.prototype['ok'] = undefined;
+/**
+ * @member {String} token
+ */
+
+InlineResponse200.prototype['token'] = undefined;
+var _default = InlineResponse200;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2001.js b/dist/model/InlineResponse2001.js
new file mode 100644
index 0000000..5e68d38
--- /dev/null
+++ b/dist/model/InlineResponse2001.js
@@ -0,0 +1,78 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineResponse2001 model module.
+ * @module model/InlineResponse2001
+ * @version 1.0.0
+ */
+var InlineResponse2001 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineResponse2001.
+ * @alias module:model/InlineResponse2001
+ * @param verified {Boolean}
+ */
+ function InlineResponse2001(verified) {
+ _classCallCheck(this, InlineResponse2001);
+
+ InlineResponse2001.initialize(this, verified);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineResponse2001, null, [{
+ key: "initialize",
+ value: function initialize(obj, verified) {
+ obj['verified'] = verified;
+ }
+ /**
+ * Constructs a InlineResponse2001 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2001} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2001} The populated InlineResponse2001 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2001();
+
+ if (data.hasOwnProperty('verified')) {
+ obj['verified'] = _ApiClient["default"].convertToType(data['verified'], 'Boolean');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineResponse2001;
+}();
+/**
+ * @member {Boolean} verified
+ */
+
+
+InlineResponse2001.prototype['verified'] = undefined;
+var _default = InlineResponse2001;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2002.js b/dist/model/InlineResponse2002.js
new file mode 100644
index 0000000..1032b17
--- /dev/null
+++ b/dist/model/InlineResponse2002.js
@@ -0,0 +1,100 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineResponse2002 model module.
+ * @module model/InlineResponse2002
+ * @version 1.0.0
+ */
+var InlineResponse2002 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineResponse2002.
+ * @alias module:model/InlineResponse2002
+ * @param ok {Boolean}
+ * @param serverName {String}
+ * @param buildVersionTag {String}
+ */
+ function InlineResponse2002(ok, serverName, buildVersionTag) {
+ _classCallCheck(this, InlineResponse2002);
+
+ InlineResponse2002.initialize(this, ok, serverName, buildVersionTag);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineResponse2002, null, [{
+ key: "initialize",
+ value: function initialize(obj, ok, serverName, buildVersionTag) {
+ obj['ok'] = ok;
+ obj['serverName'] = serverName;
+ obj['buildVersionTag'] = buildVersionTag;
+ }
+ /**
+ * Constructs a InlineResponse2002 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2002} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2002} The populated InlineResponse2002 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2002();
+
+ if (data.hasOwnProperty('ok')) {
+ obj['ok'] = _ApiClient["default"].convertToType(data['ok'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('serverName')) {
+ obj['serverName'] = _ApiClient["default"].convertToType(data['serverName'], 'String');
+ }
+
+ if (data.hasOwnProperty('buildVersionTag')) {
+ obj['buildVersionTag'] = _ApiClient["default"].convertToType(data['buildVersionTag'], 'String');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineResponse2002;
+}();
+/**
+ * @member {Boolean} ok
+ */
+
+
+InlineResponse2002.prototype['ok'] = undefined;
+/**
+ * @member {String} serverName
+ */
+
+InlineResponse2002.prototype['serverName'] = undefined;
+/**
+ * @member {String} buildVersionTag
+ */
+
+InlineResponse2002.prototype['buildVersionTag'] = undefined;
+var _default = InlineResponse2002;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2003.js b/dist/model/InlineResponse2003.js
new file mode 100644
index 0000000..59754be
--- /dev/null
+++ b/dist/model/InlineResponse2003.js
@@ -0,0 +1,103 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineResponse2003 model module.
+ * @module model/InlineResponse2003
+ * @version 1.0.0
+ */
+var InlineResponse2003 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineResponse2003.
+ * @alias module:model/InlineResponse2003
+ * @param isFriend {Boolean}
+ * @param outgoingRequest {Boolean}
+ * @param incomingRequest {Boolean}
+ */
+ function InlineResponse2003(isFriend, outgoingRequest, incomingRequest) {
+ _classCallCheck(this, InlineResponse2003);
+
+ InlineResponse2003.initialize(this, isFriend, outgoingRequest, incomingRequest);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+
+
+ _createClass(InlineResponse2003, null, [{
+ key: "initialize",
+ value: function initialize(obj, isFriend, outgoingRequest, incomingRequest) {
+ obj['isFriend'] = isFriend || false;
+ obj['outgoingRequest'] = outgoingRequest || false;
+ obj['incomingRequest'] = incomingRequest || false;
+ }
+ /**
+ * Constructs a InlineResponse2003 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2003} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2003} The populated InlineResponse2003 instance.
+ */
+
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2003();
+
+ if (data.hasOwnProperty('isFriend')) {
+ obj['isFriend'] = _ApiClient["default"].convertToType(data['isFriend'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('outgoingRequest')) {
+ obj['outgoingRequest'] = _ApiClient["default"].convertToType(data['outgoingRequest'], 'Boolean');
+ }
+
+ if (data.hasOwnProperty('incomingRequest')) {
+ obj['incomingRequest'] = _ApiClient["default"].convertToType(data['incomingRequest'], 'Boolean');
+ }
+ }
+
+ return obj;
+ }
+ }]);
+
+ return InlineResponse2003;
+}();
+/**
+ * @member {Boolean} isFriend
+ * @default false
+ */
+
+
+InlineResponse2003.prototype['isFriend'] = false;
+/**
+ * @member {Boolean} outgoingRequest
+ * @default false
+ */
+
+InlineResponse2003.prototype['outgoingRequest'] = false;
+/**
+ * @member {Boolean} incomingRequest
+ * @default false
+ */
+
+InlineResponse2003.prototype['incomingRequest'] = false;
+var _default = InlineResponse2003;
+exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2004.js b/dist/model/InlineResponse2004.js
new file mode 100644
index 0000000..1be7222
--- /dev/null
+++ b/dist/model/InlineResponse2004.js
@@ -0,0 +1,134 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports["default"] = void 0;
+
+var _ApiClient = _interopRequireDefault(require("../ApiClient"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * The InlineResponse2004 model module.
+ * @module model/InlineResponse2004
+ * @version 1.0.0
+ */
+var InlineResponse2004 = /*#__PURE__*/function () {
+ /**
+ * Constructs a new InlineResponse2004.
+ * @alias module:model/InlineResponse2004
+ * @param uploadId {String}
+ * @param fileName {String}
+ * @param nextPartNumber {Number}
+ * @param maxParts {Number}
+ * @param parts {Array.
+*
+* A non-AMD browser application (discouraged) might do something like this:
+*
+* var xxxSvc = new vrchatapi.XxxApi(); // Allocate the API class we're going to use.
+* var yyy = new vrchatapi.Yyy(); // Construct a model instance.
+* yyyModel.someProperty = 'someValue';
+* ...
+* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
+* ...
+*
+*
+* @module index
+* @version 1.0.0
+*/
+export {
+ /**
+ * The ApiClient constructor.
+ * @property {module:ApiClient}
+ */
+ ApiClient,
+
+ /**
+ * The Config model constructor.
+ * @property {module:model/Config}
+ */
+ Config,
+
+ /**
+ * The ConfigAnnouncements model constructor.
+ * @property {module:model/ConfigAnnouncements}
+ */
+ ConfigAnnouncements,
+
+ /**
+ * The ConfigDownloadUrls model constructor.
+ * @property {module:model/ConfigDownloadUrls}
+ */
+ ConfigDownloadUrls,
+
+ /**
+ * The ConfigDynamicWorldRows model constructor.
+ * @property {module:model/ConfigDynamicWorldRows}
+ */
+ ConfigDynamicWorldRows,
+
+ /**
+ * The ConfigEvents model constructor.
+ * @property {module:model/ConfigEvents}
+ */
+ ConfigEvents,
+
+ /**
+ * The CurrentUser model constructor.
+ * @property {module:model/CurrentUser}
+ */
+ CurrentUser,
+
+ /**
+ * The DeploymentGroup model constructor.
+ * @property {module:model/DeploymentGroup}
+ */
+ DeploymentGroup,
+
+ /**
+ * The DeveloperType model constructor.
+ * @property {module:model/DeveloperType}
+ */
+ DeveloperType,
+
+ /**
+ * The Error model constructor.
+ * @property {module:model/Error}
+ */
+ Error,
+
+ /**
+ * The File model constructor.
+ * @property {module:model/File}
+ */
+ File,
+
+ /**
+ * The FileData model constructor.
+ * @property {module:model/FileData}
+ */
+ FileData,
+
+ /**
+ * The FileStatus model constructor.
+ * @property {module:model/FileStatus}
+ */
+ FileStatus,
+
+ /**
+ * The FileVersion model constructor.
+ * @property {module:model/FileVersion}
+ */
+ FileVersion,
+
+ /**
+ * The InlineObject model constructor.
+ * @property {module:model/InlineObject}
+ */
+ InlineObject,
+
+ /**
+ * The InlineObject1 model constructor.
+ * @property {module:model/InlineObject1}
+ */
+ InlineObject1,
+
+ /**
+ * The InlineObject2 model constructor.
+ * @property {module:model/InlineObject2}
+ */
+ InlineObject2,
+
+ /**
+ * The InlineObject3 model constructor.
+ * @property {module:model/InlineObject3}
+ */
+ InlineObject3,
+
+ /**
+ * The InlineObject4 model constructor.
+ * @property {module:model/InlineObject4}
+ */
+ InlineObject4,
+
+ /**
+ * The InlineResponse200 model constructor.
+ * @property {module:model/InlineResponse200}
+ */
+ InlineResponse200,
+
+ /**
+ * The InlineResponse2001 model constructor.
+ * @property {module:model/InlineResponse2001}
+ */
+ InlineResponse2001,
+
+ /**
+ * The InlineResponse2002 model constructor.
+ * @property {module:model/InlineResponse2002}
+ */
+ InlineResponse2002,
+
+ /**
+ * The InlineResponse2003 model constructor.
+ * @property {module:model/InlineResponse2003}
+ */
+ InlineResponse2003,
+
+ /**
+ * The InlineResponse2004 model constructor.
+ * @property {module:model/InlineResponse2004}
+ */
+ InlineResponse2004,
+
+ /**
+ * The InlineResponse2005 model constructor.
+ * @property {module:model/InlineResponse2005}
+ */
+ InlineResponse2005,
+
+ /**
+ * The InlineResponse401 model constructor.
+ * @property {module:model/InlineResponse401}
+ */
+ InlineResponse401,
+
+ /**
+ * The LimitedUser model constructor.
+ * @property {module:model/LimitedUser}
+ */
+ LimitedUser,
+
+ /**
+ * The LimitedWorld model constructor.
+ * @property {module:model/LimitedWorld}
+ */
+ LimitedWorld,
+
+ /**
+ * The MIMEType model constructor.
+ * @property {module:model/MIMEType}
+ */
+ MIMEType,
+
+ /**
+ * The Notification model constructor.
+ * @property {module:model/Notification}
+ */
+ Notification,
+
+ /**
+ * The NotificationType model constructor.
+ * @property {module:model/NotificationType}
+ */
+ NotificationType,
+
+ /**
+ * The ReleaseStatus model constructor.
+ * @property {module:model/ReleaseStatus}
+ */
+ ReleaseStatus,
+
+ /**
+ * The Response model constructor.
+ * @property {module:model/Response}
+ */
+ Response,
+
+ /**
+ * The Success model constructor.
+ * @property {module:model/Success}
+ */
+ Success,
+
+ /**
+ * The User model constructor.
+ * @property {module:model/User}
+ */
+ User,
+
+ /**
+ * The UserState model constructor.
+ * @property {module:model/UserState}
+ */
+ UserState,
+
+ /**
+ * The UserStatus model constructor.
+ * @property {module:model/UserStatus}
+ */
+ UserStatus,
+
+ /**
+ * The AuthenticationApi service constructor.
+ * @property {module:api/AuthenticationApi}
+ */
+ AuthenticationApi,
+
+ /**
+ * The FilesApi service constructor.
+ * @property {module:api/FilesApi}
+ */
+ FilesApi,
+
+ /**
+ * The FriendsApi service constructor.
+ * @property {module:api/FriendsApi}
+ */
+ FriendsApi,
+
+ /**
+ * The NotificationsApi service constructor.
+ * @property {module:api/NotificationsApi}
+ */
+ NotificationsApi,
+
+ /**
+ * The SystemApi service constructor.
+ * @property {module:api/SystemApi}
+ */
+ SystemApi,
+
+ /**
+ * The UsersApi service constructor.
+ * @property {module:api/UsersApi}
+ */
+ UsersApi,
+
+ /**
+ * The WorldsApi service constructor.
+ * @property {module:api/WorldsApi}
+ */
+ WorldsApi
+};
diff --git a/src/model/Config.js b/src/model/Config.js
new file mode 100644
index 0000000..bd478fe
--- /dev/null
+++ b/src/model/Config.js
@@ -0,0 +1,889 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ConfigAnnouncements from './ConfigAnnouncements';
+import ConfigDownloadUrls from './ConfigDownloadUrls';
+import ConfigDynamicWorldRows from './ConfigDynamicWorldRows';
+import ConfigEvents from './ConfigEvents';
+import DeploymentGroup from './DeploymentGroup';
+
+/**
+ * The Config model module.
+ * @module model/Config
+ * @version 1.0.0
+ */
+class Config {
+ /**
+ * Constructs a new Config.
+ * @alias module:model/Config
+ * @param address {String} VRChat's office address
+ * @param announcements {Array.} PSA, Public Announcements
+ * @param apiKey {String} apiKey to be used for all other requests
+ * @param appName {String} Game name
+ * @param buildVersionTag {String} Build tag of the API server
+ * @param clientApiKey {String} apiKey to be used for all other requests
+ * @param contactEmail {String} VRChat's contact email
+ * @param copyrightEmail {String} VRChat's copyright-issues-related email
+ * @param currentTOSVersion {Number} Current version number of the Terms of Service
+ * @param defaultAvatar {String}
+ * @param deploymentGroup {module:model/DeploymentGroup}
+ * @param devAppVersionStandalone {String} Version number for game development build
+ * @param devDownloadLinkWindows {String} Developer Download link
+ * @param devSdkUrl {String} Link to download the development SDK, use downloadUrls instead
+ * @param devSdkVersion {String} Version of the development SDK
+ * @param devServerVersionStandalone {String} Version number for server development build
+ * @param disableAvatarCopying {Boolean} Toggles if copying avatars should be disabled
+ * @param disableAvatarGating {Boolean} Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
+ * @param disableCommunityLabs {Boolean} Toggles if the Community Labs should be disabled
+ * @param disableCommunityLabsPromotion {Boolean} Toggles if promotion out of Community Labs should be disabled
+ * @param disableEventStream {Boolean} Toggles if Analytics should be disabled (this sreportedly not used in the Client)
+ * @param disableFeedbackGating {Boolean} Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
+ * @param disableRegistration {Boolean} Toggles if new user account registration should be disabled
+ * @param disableSteamNetworking {Boolean} Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
+ * @param disableTwoFactorAuth {Boolean} Toggles if 2FA should be disabled.
+ * @param disableUdon {Boolean} Toggles if Udon should be universally disabled in-game.
+ * @param disableUpgradeAccount {Boolean} Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
+ * @param downloadLinkWindows {String} Download link for game on the Oculus Rift website.
+ * @param downloadUrls {module:model/ConfigDownloadUrls}
+ * @param dynamicWorldRows {Array.} Array of DynamicWorldRow objects, used by the game to display the list of world rows
+ * @param events {module:model/ConfigEvents}
+ * @param gearDemoRoomId {String} Unknown
+ * @param homepageRedirectTarget {String} Redirect target if you try to open the base API domain in your browser
+ * @param homeWorldId {String}
+ * @param hubWorldId {String}
+ * @param jobsEmail {String} VRChat's job application email
+ * @param messageOfTheDay {String} MOTD
+ * @param moderationEmail {String} VRChat's moderation related email
+ * @param moderationQueryPeriod {Number} Unknown
+ * @param notAllowedToSelectAvatarInPrivateWorldMessage {String} Used in-game to notify a user they aren't allowed to select avatars in private worlds
+ * @param plugin {String} Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
+ * @param releaseAppVersionStandalone {String} Version number for game release build
+ * @param releaseSdkUrl {String} Link to download the release SDK
+ * @param releaseSdkVersion {String} Version of the release SDK
+ * @param releaseServerVersionStandalone {String} Version number for server release build
+ * @param sdkDeveloperFaqUrl {String} Link to the developer FAQ
+ * @param sdkDiscordUrl {String} Link to the official VRChat Discord
+ * @param sdkNotAllowedToPublishMessage {String} Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet
+ * @param sdkUnityVersion {String} Unity version supported by the SDK
+ * @param serverName {String} Server name of the API server currently responding
+ * @param supportEmail {String} VRChat's support email
+ * @param timeOutWorldId {String}
+ * @param tutorialWorldId {String}
+ * @param updateRateMsMaximum {Number} Unknown
+ * @param updateRateMsMinimum {Number} Unknown
+ * @param updateRateMsNormal {Number} Unknown
+ * @param updateRateMsUdonManual {Number} Unknown
+ * @param uploadAnalysisPercent {Number} Unknown
+ * @param urlList {Array.} List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game
+ * @param useReliableUdpForVoice {Boolean} Unknown
+ * @param userUpdatePeriod {Number} Unknown
+ * @param userVerificationDelay {Number} Unknown
+ * @param userVerificationRetry {Number} Unknown
+ * @param userVerificationTimeout {Number} Unknown
+ * @param viveWindowsUrl {String} Download link for game on the Steam website.
+ * @param whiteListedAssetUrls {Array.} List of allowed URLs that are allowed to host avatar assets
+ * @param worldUpdatePeriod {Number} Unknown
+ * @param youtubedlHash {String} Currently used youtube-dl.exe hash in SHA-256-delimited format
+ * @param youtubedlVersion {String} Currently used youtube-dl.exe version
+ */
+ constructor(address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion) {
+
+ Config.initialize(this, address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion) {
+ obj['address'] = address;
+ obj['announcements'] = announcements;
+ obj['apiKey'] = apiKey;
+ obj['appName'] = appName || 'VrChat';
+ obj['buildVersionTag'] = buildVersionTag;
+ obj['clientApiKey'] = clientApiKey;
+ obj['contactEmail'] = contactEmail;
+ obj['copyrightEmail'] = copyrightEmail;
+ obj['currentTOSVersion'] = currentTOSVersion;
+ obj['defaultAvatar'] = defaultAvatar;
+ obj['deploymentGroup'] = deploymentGroup;
+ obj['devAppVersionStandalone'] = devAppVersionStandalone;
+ obj['devDownloadLinkWindows'] = devDownloadLinkWindows;
+ obj['devSdkUrl'] = devSdkUrl;
+ obj['devSdkVersion'] = devSdkVersion;
+ obj['devServerVersionStandalone'] = devServerVersionStandalone;
+ obj['disableAvatarCopying'] = disableAvatarCopying || false;
+ obj['disableAvatarGating'] = disableAvatarGating || false;
+ obj['disableCommunityLabs'] = disableCommunityLabs || false;
+ obj['disableCommunityLabsPromotion'] = disableCommunityLabsPromotion || false;
+ obj['disableEventStream'] = disableEventStream || false;
+ obj['disableFeedbackGating'] = disableFeedbackGating || false;
+ obj['disableRegistration'] = disableRegistration || false;
+ obj['disableSteamNetworking'] = disableSteamNetworking || true;
+ obj['disableTwoFactorAuth'] = disableTwoFactorAuth || false;
+ obj['disableUdon'] = disableUdon || false;
+ obj['disableUpgradeAccount'] = disableUpgradeAccount || false;
+ obj['downloadLinkWindows'] = downloadLinkWindows;
+ obj['downloadUrls'] = downloadUrls;
+ obj['dynamicWorldRows'] = dynamicWorldRows;
+ obj['events'] = events;
+ obj['gearDemoRoomId'] = gearDemoRoomId;
+ obj['homepageRedirectTarget'] = homepageRedirectTarget || 'https://hello.vrchat.com';
+ obj['homeWorldId'] = homeWorldId;
+ obj['hubWorldId'] = hubWorldId;
+ obj['jobsEmail'] = jobsEmail;
+ obj['messageOfTheDay'] = messageOfTheDay;
+ obj['moderationEmail'] = moderationEmail;
+ obj['moderationQueryPeriod'] = moderationQueryPeriod;
+ obj['notAllowedToSelectAvatarInPrivateWorldMessage'] = notAllowedToSelectAvatarInPrivateWorldMessage;
+ obj['plugin'] = plugin;
+ obj['releaseAppVersionStandalone'] = releaseAppVersionStandalone;
+ obj['releaseSdkUrl'] = releaseSdkUrl;
+ obj['releaseSdkVersion'] = releaseSdkVersion;
+ obj['releaseServerVersionStandalone'] = releaseServerVersionStandalone;
+ obj['sdkDeveloperFaqUrl'] = sdkDeveloperFaqUrl;
+ obj['sdkDiscordUrl'] = sdkDiscordUrl;
+ obj['sdkNotAllowedToPublishMessage'] = sdkNotAllowedToPublishMessage;
+ obj['sdkUnityVersion'] = sdkUnityVersion;
+ obj['serverName'] = serverName;
+ obj['supportEmail'] = supportEmail;
+ obj['timeOutWorldId'] = timeOutWorldId;
+ obj['tutorialWorldId'] = tutorialWorldId;
+ obj['updateRateMsMaximum'] = updateRateMsMaximum;
+ obj['updateRateMsMinimum'] = updateRateMsMinimum;
+ obj['updateRateMsNormal'] = updateRateMsNormal;
+ obj['updateRateMsUdonManual'] = updateRateMsUdonManual;
+ obj['uploadAnalysisPercent'] = uploadAnalysisPercent;
+ obj['urlList'] = urlList;
+ obj['useReliableUdpForVoice'] = useReliableUdpForVoice || false;
+ obj['userUpdatePeriod'] = userUpdatePeriod;
+ obj['userVerificationDelay'] = userVerificationDelay;
+ obj['userVerificationRetry'] = userVerificationRetry;
+ obj['userVerificationTimeout'] = userVerificationTimeout;
+ obj['viveWindowsUrl'] = viveWindowsUrl;
+ obj['whiteListedAssetUrls'] = whiteListedAssetUrls;
+ obj['worldUpdatePeriod'] = worldUpdatePeriod;
+ obj['youtubedl-hash'] = youtubedlHash;
+ obj['youtubedl-version'] = youtubedlVersion;
+ }
+
+ /**
+ * Constructs a Config from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Config} obj Optional instance to populate.
+ * @return {module:model/Config} The populated Config instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Config();
+
+ if (data.hasOwnProperty('address')) {
+ obj['address'] = ApiClient.convertToType(data['address'], 'String');
+ }
+ if (data.hasOwnProperty('announcements')) {
+ obj['announcements'] = ApiClient.convertToType(data['announcements'], [ConfigAnnouncements]);
+ }
+ if (data.hasOwnProperty('apiKey')) {
+ obj['apiKey'] = ApiClient.convertToType(data['apiKey'], 'String');
+ }
+ if (data.hasOwnProperty('appName')) {
+ obj['appName'] = ApiClient.convertToType(data['appName'], 'String');
+ }
+ if (data.hasOwnProperty('buildVersionTag')) {
+ obj['buildVersionTag'] = ApiClient.convertToType(data['buildVersionTag'], 'String');
+ }
+ if (data.hasOwnProperty('clientApiKey')) {
+ obj['clientApiKey'] = ApiClient.convertToType(data['clientApiKey'], 'String');
+ }
+ if (data.hasOwnProperty('clientBPSCeiling')) {
+ obj['clientBPSCeiling'] = ApiClient.convertToType(data['clientBPSCeiling'], 'Number');
+ }
+ if (data.hasOwnProperty('clientDisconnectTimeout')) {
+ obj['clientDisconnectTimeout'] = ApiClient.convertToType(data['clientDisconnectTimeout'], 'Number');
+ }
+ if (data.hasOwnProperty('clientReservedPlayerBPS')) {
+ obj['clientReservedPlayerBPS'] = ApiClient.convertToType(data['clientReservedPlayerBPS'], 'Number');
+ }
+ if (data.hasOwnProperty('clientSentCountAllowance')) {
+ obj['clientSentCountAllowance'] = ApiClient.convertToType(data['clientSentCountAllowance'], 'Number');
+ }
+ if (data.hasOwnProperty('contactEmail')) {
+ obj['contactEmail'] = ApiClient.convertToType(data['contactEmail'], 'String');
+ }
+ if (data.hasOwnProperty('copyrightEmail')) {
+ obj['copyrightEmail'] = ApiClient.convertToType(data['copyrightEmail'], 'String');
+ }
+ if (data.hasOwnProperty('currentTOSVersion')) {
+ obj['currentTOSVersion'] = ApiClient.convertToType(data['currentTOSVersion'], 'Number');
+ }
+ if (data.hasOwnProperty('defaultAvatar')) {
+ obj['defaultAvatar'] = ApiClient.convertToType(data['defaultAvatar'], 'String');
+ }
+ if (data.hasOwnProperty('deploymentGroup')) {
+ obj['deploymentGroup'] = DeploymentGroup.constructFromObject(data['deploymentGroup']);
+ }
+ if (data.hasOwnProperty('devAppVersionStandalone')) {
+ obj['devAppVersionStandalone'] = ApiClient.convertToType(data['devAppVersionStandalone'], 'String');
+ }
+ if (data.hasOwnProperty('devDownloadLinkWindows')) {
+ obj['devDownloadLinkWindows'] = ApiClient.convertToType(data['devDownloadLinkWindows'], 'String');
+ }
+ if (data.hasOwnProperty('devSdkUrl')) {
+ obj['devSdkUrl'] = ApiClient.convertToType(data['devSdkUrl'], 'String');
+ }
+ if (data.hasOwnProperty('devSdkVersion')) {
+ obj['devSdkVersion'] = ApiClient.convertToType(data['devSdkVersion'], 'String');
+ }
+ if (data.hasOwnProperty('devServerVersionStandalone')) {
+ obj['devServerVersionStandalone'] = ApiClient.convertToType(data['devServerVersionStandalone'], 'String');
+ }
+ if (data.hasOwnProperty('disableAvatarCopying')) {
+ obj['disableAvatarCopying'] = ApiClient.convertToType(data['disableAvatarCopying'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableAvatarGating')) {
+ obj['disableAvatarGating'] = ApiClient.convertToType(data['disableAvatarGating'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableCommunityLabs')) {
+ obj['disableCommunityLabs'] = ApiClient.convertToType(data['disableCommunityLabs'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableCommunityLabsPromotion')) {
+ obj['disableCommunityLabsPromotion'] = ApiClient.convertToType(data['disableCommunityLabsPromotion'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableEmail')) {
+ obj['disableEmail'] = ApiClient.convertToType(data['disableEmail'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableEventStream')) {
+ obj['disableEventStream'] = ApiClient.convertToType(data['disableEventStream'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableFeedbackGating')) {
+ obj['disableFeedbackGating'] = ApiClient.convertToType(data['disableFeedbackGating'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableHello')) {
+ obj['disableHello'] = ApiClient.convertToType(data['disableHello'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableRegistration')) {
+ obj['disableRegistration'] = ApiClient.convertToType(data['disableRegistration'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableSteamNetworking')) {
+ obj['disableSteamNetworking'] = ApiClient.convertToType(data['disableSteamNetworking'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableTwoFactorAuth')) {
+ obj['disableTwoFactorAuth'] = ApiClient.convertToType(data['disableTwoFactorAuth'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableUdon')) {
+ obj['disableUdon'] = ApiClient.convertToType(data['disableUdon'], 'Boolean');
+ }
+ if (data.hasOwnProperty('disableUpgradeAccount')) {
+ obj['disableUpgradeAccount'] = ApiClient.convertToType(data['disableUpgradeAccount'], 'Boolean');
+ }
+ if (data.hasOwnProperty('downloadLinkWindows')) {
+ obj['downloadLinkWindows'] = ApiClient.convertToType(data['downloadLinkWindows'], 'String');
+ }
+ if (data.hasOwnProperty('downloadUrls')) {
+ obj['downloadUrls'] = ConfigDownloadUrls.constructFromObject(data['downloadUrls']);
+ }
+ if (data.hasOwnProperty('dynamicWorldRows')) {
+ obj['dynamicWorldRows'] = ApiClient.convertToType(data['dynamicWorldRows'], [ConfigDynamicWorldRows]);
+ }
+ if (data.hasOwnProperty('events')) {
+ obj['events'] = ConfigEvents.constructFromObject(data['events']);
+ }
+ if (data.hasOwnProperty('gearDemoRoomId')) {
+ obj['gearDemoRoomId'] = ApiClient.convertToType(data['gearDemoRoomId'], 'String');
+ }
+ if (data.hasOwnProperty('homepageRedirectTarget')) {
+ obj['homepageRedirectTarget'] = ApiClient.convertToType(data['homepageRedirectTarget'], 'String');
+ }
+ if (data.hasOwnProperty('homeWorldId')) {
+ obj['homeWorldId'] = ApiClient.convertToType(data['homeWorldId'], 'String');
+ }
+ if (data.hasOwnProperty('hubWorldId')) {
+ obj['hubWorldId'] = ApiClient.convertToType(data['hubWorldId'], 'String');
+ }
+ if (data.hasOwnProperty('jobsEmail')) {
+ obj['jobsEmail'] = ApiClient.convertToType(data['jobsEmail'], 'String');
+ }
+ if (data.hasOwnProperty('messageOfTheDay')) {
+ obj['messageOfTheDay'] = ApiClient.convertToType(data['messageOfTheDay'], 'String');
+ }
+ if (data.hasOwnProperty('moderationEmail')) {
+ obj['moderationEmail'] = ApiClient.convertToType(data['moderationEmail'], 'String');
+ }
+ if (data.hasOwnProperty('moderationQueryPeriod')) {
+ obj['moderationQueryPeriod'] = ApiClient.convertToType(data['moderationQueryPeriod'], 'Number');
+ }
+ if (data.hasOwnProperty('notAllowedToSelectAvatarInPrivateWorldMessage')) {
+ obj['notAllowedToSelectAvatarInPrivateWorldMessage'] = ApiClient.convertToType(data['notAllowedToSelectAvatarInPrivateWorldMessage'], 'String');
+ }
+ if (data.hasOwnProperty('plugin')) {
+ obj['plugin'] = ApiClient.convertToType(data['plugin'], 'String');
+ }
+ if (data.hasOwnProperty('releaseAppVersionStandalone')) {
+ obj['releaseAppVersionStandalone'] = ApiClient.convertToType(data['releaseAppVersionStandalone'], 'String');
+ }
+ if (data.hasOwnProperty('releaseSdkUrl')) {
+ obj['releaseSdkUrl'] = ApiClient.convertToType(data['releaseSdkUrl'], 'String');
+ }
+ if (data.hasOwnProperty('releaseSdkVersion')) {
+ obj['releaseSdkVersion'] = ApiClient.convertToType(data['releaseSdkVersion'], 'String');
+ }
+ if (data.hasOwnProperty('releaseServerVersionStandalone')) {
+ obj['releaseServerVersionStandalone'] = ApiClient.convertToType(data['releaseServerVersionStandalone'], 'String');
+ }
+ if (data.hasOwnProperty('sdkDeveloperFaqUrl')) {
+ obj['sdkDeveloperFaqUrl'] = ApiClient.convertToType(data['sdkDeveloperFaqUrl'], 'String');
+ }
+ if (data.hasOwnProperty('sdkDiscordUrl')) {
+ obj['sdkDiscordUrl'] = ApiClient.convertToType(data['sdkDiscordUrl'], 'String');
+ }
+ if (data.hasOwnProperty('sdkNotAllowedToPublishMessage')) {
+ obj['sdkNotAllowedToPublishMessage'] = ApiClient.convertToType(data['sdkNotAllowedToPublishMessage'], 'String');
+ }
+ if (data.hasOwnProperty('sdkUnityVersion')) {
+ obj['sdkUnityVersion'] = ApiClient.convertToType(data['sdkUnityVersion'], 'String');
+ }
+ if (data.hasOwnProperty('serverName')) {
+ obj['serverName'] = ApiClient.convertToType(data['serverName'], 'String');
+ }
+ if (data.hasOwnProperty('supportEmail')) {
+ obj['supportEmail'] = ApiClient.convertToType(data['supportEmail'], 'String');
+ }
+ if (data.hasOwnProperty('timeOutWorldId')) {
+ obj['timeOutWorldId'] = ApiClient.convertToType(data['timeOutWorldId'], 'String');
+ }
+ if (data.hasOwnProperty('tutorialWorldId')) {
+ obj['tutorialWorldId'] = ApiClient.convertToType(data['tutorialWorldId'], 'String');
+ }
+ if (data.hasOwnProperty('updateRateMsMaximum')) {
+ obj['updateRateMsMaximum'] = ApiClient.convertToType(data['updateRateMsMaximum'], 'Number');
+ }
+ if (data.hasOwnProperty('updateRateMsMinimum')) {
+ obj['updateRateMsMinimum'] = ApiClient.convertToType(data['updateRateMsMinimum'], 'Number');
+ }
+ if (data.hasOwnProperty('updateRateMsNormal')) {
+ obj['updateRateMsNormal'] = ApiClient.convertToType(data['updateRateMsNormal'], 'Number');
+ }
+ if (data.hasOwnProperty('updateRateMsUdonManual')) {
+ obj['updateRateMsUdonManual'] = ApiClient.convertToType(data['updateRateMsUdonManual'], 'Number');
+ }
+ if (data.hasOwnProperty('uploadAnalysisPercent')) {
+ obj['uploadAnalysisPercent'] = ApiClient.convertToType(data['uploadAnalysisPercent'], 'Number');
+ }
+ if (data.hasOwnProperty('urlList')) {
+ obj['urlList'] = ApiClient.convertToType(data['urlList'], ['String']);
+ }
+ if (data.hasOwnProperty('useReliableUdpForVoice')) {
+ obj['useReliableUdpForVoice'] = ApiClient.convertToType(data['useReliableUdpForVoice'], 'Boolean');
+ }
+ if (data.hasOwnProperty('userUpdatePeriod')) {
+ obj['userUpdatePeriod'] = ApiClient.convertToType(data['userUpdatePeriod'], 'Number');
+ }
+ if (data.hasOwnProperty('userVerificationDelay')) {
+ obj['userVerificationDelay'] = ApiClient.convertToType(data['userVerificationDelay'], 'Number');
+ }
+ if (data.hasOwnProperty('userVerificationRetry')) {
+ obj['userVerificationRetry'] = ApiClient.convertToType(data['userVerificationRetry'], 'Number');
+ }
+ if (data.hasOwnProperty('userVerificationTimeout')) {
+ obj['userVerificationTimeout'] = ApiClient.convertToType(data['userVerificationTimeout'], 'Number');
+ }
+ if (data.hasOwnProperty('viveWindowsUrl')) {
+ obj['viveWindowsUrl'] = ApiClient.convertToType(data['viveWindowsUrl'], 'String');
+ }
+ if (data.hasOwnProperty('whiteListedAssetUrls')) {
+ obj['whiteListedAssetUrls'] = ApiClient.convertToType(data['whiteListedAssetUrls'], ['String']);
+ }
+ if (data.hasOwnProperty('worldUpdatePeriod')) {
+ obj['worldUpdatePeriod'] = ApiClient.convertToType(data['worldUpdatePeriod'], 'Number');
+ }
+ if (data.hasOwnProperty('youtubedl-hash')) {
+ obj['youtubedl-hash'] = ApiClient.convertToType(data['youtubedl-hash'], 'String');
+ }
+ if (data.hasOwnProperty('youtubedl-version')) {
+ obj['youtubedl-version'] = ApiClient.convertToType(data['youtubedl-version'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * VRChat's office address
+ * @member {String} address
+ */
+Config.prototype['address'] = undefined;
+
+/**
+ * PSA, Public Announcements
+ * @member {Array.} announcements
+ */
+Config.prototype['announcements'] = undefined;
+
+/**
+ * apiKey to be used for all other requests
+ * @member {String} apiKey
+ */
+Config.prototype['apiKey'] = undefined;
+
+/**
+ * Game name
+ * @member {String} appName
+ * @default 'VrChat'
+ */
+Config.prototype['appName'] = 'VrChat';
+
+/**
+ * Build tag of the API server
+ * @member {String} buildVersionTag
+ */
+Config.prototype['buildVersionTag'] = undefined;
+
+/**
+ * apiKey to be used for all other requests
+ * @member {String} clientApiKey
+ */
+Config.prototype['clientApiKey'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} clientBPSCeiling
+ */
+Config.prototype['clientBPSCeiling'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} clientDisconnectTimeout
+ */
+Config.prototype['clientDisconnectTimeout'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} clientReservedPlayerBPS
+ */
+Config.prototype['clientReservedPlayerBPS'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} clientSentCountAllowance
+ */
+Config.prototype['clientSentCountAllowance'] = undefined;
+
+/**
+ * VRChat's contact email
+ * @member {String} contactEmail
+ */
+Config.prototype['contactEmail'] = undefined;
+
+/**
+ * VRChat's copyright-issues-related email
+ * @member {String} copyrightEmail
+ */
+Config.prototype['copyrightEmail'] = undefined;
+
+/**
+ * Current version number of the Terms of Service
+ * @member {Number} currentTOSVersion
+ */
+Config.prototype['currentTOSVersion'] = undefined;
+
+/**
+ * @member {String} defaultAvatar
+ */
+Config.prototype['defaultAvatar'] = undefined;
+
+/**
+ * @member {module:model/DeploymentGroup} deploymentGroup
+ */
+Config.prototype['deploymentGroup'] = undefined;
+
+/**
+ * Version number for game development build
+ * @member {String} devAppVersionStandalone
+ */
+Config.prototype['devAppVersionStandalone'] = undefined;
+
+/**
+ * Developer Download link
+ * @member {String} devDownloadLinkWindows
+ */
+Config.prototype['devDownloadLinkWindows'] = undefined;
+
+/**
+ * Link to download the development SDK, use downloadUrls instead
+ * @member {String} devSdkUrl
+ */
+Config.prototype['devSdkUrl'] = undefined;
+
+/**
+ * Version of the development SDK
+ * @member {String} devSdkVersion
+ */
+Config.prototype['devSdkVersion'] = undefined;
+
+/**
+ * Version number for server development build
+ * @member {String} devServerVersionStandalone
+ */
+Config.prototype['devServerVersionStandalone'] = undefined;
+
+/**
+ * Toggles if copying avatars should be disabled
+ * @member {Boolean} disableAvatarCopying
+ * @default false
+ */
+Config.prototype['disableAvatarCopying'] = false;
+
+/**
+ * Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
+ * @member {Boolean} disableAvatarGating
+ * @default false
+ */
+Config.prototype['disableAvatarGating'] = false;
+
+/**
+ * Toggles if the Community Labs should be disabled
+ * @member {Boolean} disableCommunityLabs
+ * @default false
+ */
+Config.prototype['disableCommunityLabs'] = false;
+
+/**
+ * Toggles if promotion out of Community Labs should be disabled
+ * @member {Boolean} disableCommunityLabsPromotion
+ * @default false
+ */
+Config.prototype['disableCommunityLabsPromotion'] = false;
+
+/**
+ * Unknown
+ * @member {Boolean} disableEmail
+ * @default false
+ */
+Config.prototype['disableEmail'] = false;
+
+/**
+ * Toggles if Analytics should be disabled (this sreportedly not used in the Client)
+ * @member {Boolean} disableEventStream
+ * @default false
+ */
+Config.prototype['disableEventStream'] = false;
+
+/**
+ * Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
+ * @member {Boolean} disableFeedbackGating
+ * @default false
+ */
+Config.prototype['disableFeedbackGating'] = false;
+
+/**
+ * Unknown
+ * @member {Boolean} disableHello
+ * @default false
+ */
+Config.prototype['disableHello'] = false;
+
+/**
+ * Toggles if new user account registration should be disabled
+ * @member {Boolean} disableRegistration
+ * @default false
+ */
+Config.prototype['disableRegistration'] = false;
+
+/**
+ * Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
+ * @member {Boolean} disableSteamNetworking
+ * @default true
+ */
+Config.prototype['disableSteamNetworking'] = true;
+
+/**
+ * Toggles if 2FA should be disabled.
+ * @member {Boolean} disableTwoFactorAuth
+ * @default false
+ */
+Config.prototype['disableTwoFactorAuth'] = false;
+
+/**
+ * Toggles if Udon should be universally disabled in-game.
+ * @member {Boolean} disableUdon
+ * @default false
+ */
+Config.prototype['disableUdon'] = false;
+
+/**
+ * Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
+ * @member {Boolean} disableUpgradeAccount
+ * @default false
+ */
+Config.prototype['disableUpgradeAccount'] = false;
+
+/**
+ * Download link for game on the Oculus Rift website.
+ * @member {String} downloadLinkWindows
+ */
+Config.prototype['downloadLinkWindows'] = undefined;
+
+/**
+ * @member {module:model/ConfigDownloadUrls} downloadUrls
+ */
+Config.prototype['downloadUrls'] = undefined;
+
+/**
+ * Array of DynamicWorldRow objects, used by the game to display the list of world rows
+ * @member {Array.} dynamicWorldRows
+ */
+Config.prototype['dynamicWorldRows'] = undefined;
+
+/**
+ * @member {module:model/ConfigEvents} events
+ */
+Config.prototype['events'] = undefined;
+
+/**
+ * Unknown
+ * @member {String} gearDemoRoomId
+ */
+Config.prototype['gearDemoRoomId'] = undefined;
+
+/**
+ * Redirect target if you try to open the base API domain in your browser
+ * @member {String} homepageRedirectTarget
+ * @default 'https://hello.vrchat.com'
+ */
+Config.prototype['homepageRedirectTarget'] = 'https://hello.vrchat.com';
+
+/**
+ * @member {String} homeWorldId
+ */
+Config.prototype['homeWorldId'] = undefined;
+
+/**
+ * @member {String} hubWorldId
+ */
+Config.prototype['hubWorldId'] = undefined;
+
+/**
+ * VRChat's job application email
+ * @member {String} jobsEmail
+ */
+Config.prototype['jobsEmail'] = undefined;
+
+/**
+ * MOTD
+ * @member {String} messageOfTheDay
+ */
+Config.prototype['messageOfTheDay'] = undefined;
+
+/**
+ * VRChat's moderation related email
+ * @member {String} moderationEmail
+ */
+Config.prototype['moderationEmail'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} moderationQueryPeriod
+ */
+Config.prototype['moderationQueryPeriod'] = undefined;
+
+/**
+ * Used in-game to notify a user they aren't allowed to select avatars in private worlds
+ * @member {String} notAllowedToSelectAvatarInPrivateWorldMessage
+ */
+Config.prototype['notAllowedToSelectAvatarInPrivateWorldMessage'] = undefined;
+
+/**
+ * Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
+ * @member {String} plugin
+ */
+Config.prototype['plugin'] = undefined;
+
+/**
+ * Version number for game release build
+ * @member {String} releaseAppVersionStandalone
+ */
+Config.prototype['releaseAppVersionStandalone'] = undefined;
+
+/**
+ * Link to download the release SDK
+ * @member {String} releaseSdkUrl
+ */
+Config.prototype['releaseSdkUrl'] = undefined;
+
+/**
+ * Version of the release SDK
+ * @member {String} releaseSdkVersion
+ */
+Config.prototype['releaseSdkVersion'] = undefined;
+
+/**
+ * Version number for server release build
+ * @member {String} releaseServerVersionStandalone
+ */
+Config.prototype['releaseServerVersionStandalone'] = undefined;
+
+/**
+ * Link to the developer FAQ
+ * @member {String} sdkDeveloperFaqUrl
+ */
+Config.prototype['sdkDeveloperFaqUrl'] = undefined;
+
+/**
+ * Link to the official VRChat Discord
+ * @member {String} sdkDiscordUrl
+ */
+Config.prototype['sdkDiscordUrl'] = undefined;
+
+/**
+ * Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet
+ * @member {String} sdkNotAllowedToPublishMessage
+ */
+Config.prototype['sdkNotAllowedToPublishMessage'] = undefined;
+
+/**
+ * Unity version supported by the SDK
+ * @member {String} sdkUnityVersion
+ */
+Config.prototype['sdkUnityVersion'] = undefined;
+
+/**
+ * Server name of the API server currently responding
+ * @member {String} serverName
+ */
+Config.prototype['serverName'] = undefined;
+
+/**
+ * VRChat's support email
+ * @member {String} supportEmail
+ */
+Config.prototype['supportEmail'] = undefined;
+
+/**
+ * @member {String} timeOutWorldId
+ */
+Config.prototype['timeOutWorldId'] = undefined;
+
+/**
+ * @member {String} tutorialWorldId
+ */
+Config.prototype['tutorialWorldId'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} updateRateMsMaximum
+ */
+Config.prototype['updateRateMsMaximum'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} updateRateMsMinimum
+ */
+Config.prototype['updateRateMsMinimum'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} updateRateMsNormal
+ */
+Config.prototype['updateRateMsNormal'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} updateRateMsUdonManual
+ */
+Config.prototype['updateRateMsUdonManual'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} uploadAnalysisPercent
+ */
+Config.prototype['uploadAnalysisPercent'] = undefined;
+
+/**
+ * List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game
+ * @member {Array.} urlList
+ */
+Config.prototype['urlList'] = undefined;
+
+/**
+ * Unknown
+ * @member {Boolean} useReliableUdpForVoice
+ * @default false
+ */
+Config.prototype['useReliableUdpForVoice'] = false;
+
+/**
+ * Unknown
+ * @member {Number} userUpdatePeriod
+ */
+Config.prototype['userUpdatePeriod'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} userVerificationDelay
+ */
+Config.prototype['userVerificationDelay'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} userVerificationRetry
+ */
+Config.prototype['userVerificationRetry'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} userVerificationTimeout
+ */
+Config.prototype['userVerificationTimeout'] = undefined;
+
+/**
+ * Download link for game on the Steam website.
+ * @member {String} viveWindowsUrl
+ */
+Config.prototype['viveWindowsUrl'] = undefined;
+
+/**
+ * List of allowed URLs that are allowed to host avatar assets
+ * @member {Array.} whiteListedAssetUrls
+ */
+Config.prototype['whiteListedAssetUrls'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} worldUpdatePeriod
+ */
+Config.prototype['worldUpdatePeriod'] = undefined;
+
+/**
+ * Currently used youtube-dl.exe hash in SHA-256-delimited format
+ * @member {String} youtubedl-hash
+ */
+Config.prototype['youtubedl-hash'] = undefined;
+
+/**
+ * Currently used youtube-dl.exe version
+ * @member {String} youtubedl-version
+ */
+Config.prototype['youtubedl-version'] = undefined;
+
+
+
+
+
+
+export default Config;
+
diff --git a/src/model/ConfigAnnouncements.js b/src/model/ConfigAnnouncements.js
new file mode 100644
index 0000000..824c14f
--- /dev/null
+++ b/src/model/ConfigAnnouncements.js
@@ -0,0 +1,86 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ConfigAnnouncements model module.
+ * @module model/ConfigAnnouncements
+ * @version 1.0.0
+ */
+class ConfigAnnouncements {
+ /**
+ * Constructs a new ConfigAnnouncements.
+ * Public Announcement
+ * @alias module:model/ConfigAnnouncements
+ * @param name {String} Announcement name
+ * @param text {String} Announcement text
+ */
+ constructor(name, text) {
+
+ ConfigAnnouncements.initialize(this, name, text);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, name, text) {
+ obj['name'] = name;
+ obj['text'] = text;
+ }
+
+ /**
+ * Constructs a ConfigAnnouncements from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigAnnouncements} obj Optional instance to populate.
+ * @return {module:model/ConfigAnnouncements} The populated ConfigAnnouncements instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigAnnouncements();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('text')) {
+ obj['text'] = ApiClient.convertToType(data['text'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Announcement name
+ * @member {String} name
+ */
+ConfigAnnouncements.prototype['name'] = undefined;
+
+/**
+ * Announcement text
+ * @member {String} text
+ */
+ConfigAnnouncements.prototype['text'] = undefined;
+
+
+
+
+
+
+export default ConfigAnnouncements;
+
diff --git a/src/model/ConfigDownloadUrls.js b/src/model/ConfigDownloadUrls.js
new file mode 100644
index 0000000..52a10ed
--- /dev/null
+++ b/src/model/ConfigDownloadUrls.js
@@ -0,0 +1,97 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ConfigDownloadUrls model module.
+ * @module model/ConfigDownloadUrls
+ * @version 1.0.0
+ */
+class ConfigDownloadUrls {
+ /**
+ * Constructs a new ConfigDownloadUrls.
+ * Download links for various development assets
+ * @alias module:model/ConfigDownloadUrls
+ * @param sdk2 {String} Download link for legacy SDK2
+ * @param sdk3Avatars {String} Download link for SDK3 for Avatars
+ * @param sdk3Worlds {String} Download link for SDK3 for Worlds
+ */
+ constructor(sdk2, sdk3Avatars, sdk3Worlds) {
+
+ ConfigDownloadUrls.initialize(this, sdk2, sdk3Avatars, sdk3Worlds);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, sdk2, sdk3Avatars, sdk3Worlds) {
+ obj['sdk2'] = sdk2;
+ obj['sdk3-avatars'] = sdk3Avatars;
+ obj['sdk3-worlds'] = sdk3Worlds;
+ }
+
+ /**
+ * Constructs a ConfigDownloadUrls from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigDownloadUrls} obj Optional instance to populate.
+ * @return {module:model/ConfigDownloadUrls} The populated ConfigDownloadUrls instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigDownloadUrls();
+
+ if (data.hasOwnProperty('sdk2')) {
+ obj['sdk2'] = ApiClient.convertToType(data['sdk2'], 'String');
+ }
+ if (data.hasOwnProperty('sdk3-avatars')) {
+ obj['sdk3-avatars'] = ApiClient.convertToType(data['sdk3-avatars'], 'String');
+ }
+ if (data.hasOwnProperty('sdk3-worlds')) {
+ obj['sdk3-worlds'] = ApiClient.convertToType(data['sdk3-worlds'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Download link for legacy SDK2
+ * @member {String} sdk2
+ */
+ConfigDownloadUrls.prototype['sdk2'] = undefined;
+
+/**
+ * Download link for SDK3 for Avatars
+ * @member {String} sdk3-avatars
+ */
+ConfigDownloadUrls.prototype['sdk3-avatars'] = undefined;
+
+/**
+ * Download link for SDK3 for Worlds
+ * @member {String} sdk3-worlds
+ */
+ConfigDownloadUrls.prototype['sdk3-worlds'] = undefined;
+
+
+
+
+
+
+export default ConfigDownloadUrls;
+
diff --git a/src/model/ConfigDynamicWorldRows.js b/src/model/ConfigDynamicWorldRows.js
new file mode 100644
index 0000000..8a67050
--- /dev/null
+++ b/src/model/ConfigDynamicWorldRows.js
@@ -0,0 +1,132 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ConfigDynamicWorldRows model module.
+ * @module model/ConfigDynamicWorldRows
+ * @version 1.0.0
+ */
+class ConfigDynamicWorldRows {
+ /**
+ * Constructs a new ConfigDynamicWorldRows.
+ * @alias module:model/ConfigDynamicWorldRows
+ * @param index {Number}
+ * @param name {String}
+ * @param platform {String}
+ * @param sortHeading {String}
+ * @param sortOrder {String}
+ * @param sortOwnership {String}
+ */
+ constructor(index, name, platform, sortHeading, sortOrder, sortOwnership) {
+
+ ConfigDynamicWorldRows.initialize(this, index, name, platform, sortHeading, sortOrder, sortOwnership);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, index, name, platform, sortHeading, sortOrder, sortOwnership) {
+ obj['index'] = index;
+ obj['name'] = name;
+ obj['platform'] = platform;
+ obj['sortHeading'] = sortHeading;
+ obj['sortOrder'] = sortOrder;
+ obj['sortOwnership'] = sortOwnership;
+ }
+
+ /**
+ * Constructs a ConfigDynamicWorldRows from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigDynamicWorldRows} obj Optional instance to populate.
+ * @return {module:model/ConfigDynamicWorldRows} The populated ConfigDynamicWorldRows instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigDynamicWorldRows();
+
+ if (data.hasOwnProperty('index')) {
+ obj['index'] = ApiClient.convertToType(data['index'], 'Number');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('platform')) {
+ obj['platform'] = ApiClient.convertToType(data['platform'], 'String');
+ }
+ if (data.hasOwnProperty('sortHeading')) {
+ obj['sortHeading'] = ApiClient.convertToType(data['sortHeading'], 'String');
+ }
+ if (data.hasOwnProperty('sortOrder')) {
+ obj['sortOrder'] = ApiClient.convertToType(data['sortOrder'], 'String');
+ }
+ if (data.hasOwnProperty('sortOwnership')) {
+ obj['sortOwnership'] = ApiClient.convertToType(data['sortOwnership'], 'String');
+ }
+ if (data.hasOwnProperty('tag')) {
+ obj['tag'] = ApiClient.convertToType(data['tag'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} index
+ */
+ConfigDynamicWorldRows.prototype['index'] = undefined;
+
+/**
+ * @member {String} name
+ */
+ConfigDynamicWorldRows.prototype['name'] = undefined;
+
+/**
+ * @member {String} platform
+ */
+ConfigDynamicWorldRows.prototype['platform'] = undefined;
+
+/**
+ * @member {String} sortHeading
+ */
+ConfigDynamicWorldRows.prototype['sortHeading'] = undefined;
+
+/**
+ * @member {String} sortOrder
+ */
+ConfigDynamicWorldRows.prototype['sortOrder'] = undefined;
+
+/**
+ * @member {String} sortOwnership
+ */
+ConfigDynamicWorldRows.prototype['sortOwnership'] = undefined;
+
+/**
+ * Tag to filter worlds for this row
+ * @member {String} tag
+ */
+ConfigDynamicWorldRows.prototype['tag'] = undefined;
+
+
+
+
+
+
+export default ConfigDynamicWorldRows;
+
diff --git a/src/model/ConfigEvents.js b/src/model/ConfigEvents.js
new file mode 100644
index 0000000..bccc202
--- /dev/null
+++ b/src/model/ConfigEvents.js
@@ -0,0 +1,173 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ConfigEvents model module.
+ * @module model/ConfigEvents
+ * @version 1.0.0
+ */
+class ConfigEvents {
+ /**
+ * Constructs a new ConfigEvents.
+ * @alias module:model/ConfigEvents
+ * @param distanceClose {Number} Unknown
+ * @param distanceFactor {Number} Unknown
+ * @param distanceFar {Number} Unknown
+ * @param groupDistance {Number} Unknown
+ * @param maximumBunchSize {Number} Unknown
+ * @param notVisibleFactor {Number} Unknown
+ * @param playerOrderBucketSize {Number} Unknown
+ * @param playerOrderFactor {Number} Unknown
+ * @param slowUpdateFactorThreshold {Number} Unknown
+ * @param viewSegmentLength {Number} Unknown
+ */
+ constructor(distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength) {
+
+ ConfigEvents.initialize(this, distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength) {
+ obj['distanceClose'] = distanceClose;
+ obj['distanceFactor'] = distanceFactor;
+ obj['distanceFar'] = distanceFar;
+ obj['groupDistance'] = groupDistance;
+ obj['maximumBunchSize'] = maximumBunchSize;
+ obj['notVisibleFactor'] = notVisibleFactor;
+ obj['playerOrderBucketSize'] = playerOrderBucketSize;
+ obj['playerOrderFactor'] = playerOrderFactor;
+ obj['slowUpdateFactorThreshold'] = slowUpdateFactorThreshold;
+ obj['viewSegmentLength'] = viewSegmentLength;
+ }
+
+ /**
+ * Constructs a ConfigEvents from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfigEvents} obj Optional instance to populate.
+ * @return {module:model/ConfigEvents} The populated ConfigEvents instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfigEvents();
+
+ if (data.hasOwnProperty('distanceClose')) {
+ obj['distanceClose'] = ApiClient.convertToType(data['distanceClose'], 'Number');
+ }
+ if (data.hasOwnProperty('distanceFactor')) {
+ obj['distanceFactor'] = ApiClient.convertToType(data['distanceFactor'], 'Number');
+ }
+ if (data.hasOwnProperty('distanceFar')) {
+ obj['distanceFar'] = ApiClient.convertToType(data['distanceFar'], 'Number');
+ }
+ if (data.hasOwnProperty('groupDistance')) {
+ obj['groupDistance'] = ApiClient.convertToType(data['groupDistance'], 'Number');
+ }
+ if (data.hasOwnProperty('maximumBunchSize')) {
+ obj['maximumBunchSize'] = ApiClient.convertToType(data['maximumBunchSize'], 'Number');
+ }
+ if (data.hasOwnProperty('notVisibleFactor')) {
+ obj['notVisibleFactor'] = ApiClient.convertToType(data['notVisibleFactor'], 'Number');
+ }
+ if (data.hasOwnProperty('playerOrderBucketSize')) {
+ obj['playerOrderBucketSize'] = ApiClient.convertToType(data['playerOrderBucketSize'], 'Number');
+ }
+ if (data.hasOwnProperty('playerOrderFactor')) {
+ obj['playerOrderFactor'] = ApiClient.convertToType(data['playerOrderFactor'], 'Number');
+ }
+ if (data.hasOwnProperty('slowUpdateFactorThreshold')) {
+ obj['slowUpdateFactorThreshold'] = ApiClient.convertToType(data['slowUpdateFactorThreshold'], 'Number');
+ }
+ if (data.hasOwnProperty('viewSegmentLength')) {
+ obj['viewSegmentLength'] = ApiClient.convertToType(data['viewSegmentLength'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Unknown
+ * @member {Number} distanceClose
+ */
+ConfigEvents.prototype['distanceClose'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} distanceFactor
+ */
+ConfigEvents.prototype['distanceFactor'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} distanceFar
+ */
+ConfigEvents.prototype['distanceFar'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} groupDistance
+ */
+ConfigEvents.prototype['groupDistance'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} maximumBunchSize
+ */
+ConfigEvents.prototype['maximumBunchSize'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} notVisibleFactor
+ */
+ConfigEvents.prototype['notVisibleFactor'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} playerOrderBucketSize
+ */
+ConfigEvents.prototype['playerOrderBucketSize'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} playerOrderFactor
+ */
+ConfigEvents.prototype['playerOrderFactor'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} slowUpdateFactorThreshold
+ */
+ConfigEvents.prototype['slowUpdateFactorThreshold'] = undefined;
+
+/**
+ * Unknown
+ * @member {Number} viewSegmentLength
+ */
+ConfigEvents.prototype['viewSegmentLength'] = undefined;
+
+
+
+
+
+
+export default ConfigEvents;
+
diff --git a/src/model/CurrentUser.js b/src/model/CurrentUser.js
new file mode 100644
index 0000000..2434cf0
--- /dev/null
+++ b/src/model/CurrentUser.js
@@ -0,0 +1,525 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeveloperType from './DeveloperType';
+import UserState from './UserState';
+import UserStatus from './UserStatus';
+
+/**
+ * The CurrentUser model module.
+ * @module model/CurrentUser
+ * @version 1.0.0
+ */
+class CurrentUser {
+ /**
+ * Constructs a new CurrentUser.
+ * @alias module:model/CurrentUser
+ * @param id {String}
+ * @param username {String}
+ * @param displayName {String}
+ * @param userIcon {String}
+ * @param bio {String}
+ * @param bioLinks {Array.}
+ * @param profilePicOverride {String}
+ * @param statusDescription {String}
+ * @param pastDisplayNames {Array.}
+ * @param hasEmail {Boolean}
+ * @param hasPendingEmail {Boolean}
+ * @param obfuscatedEmail {String}
+ * @param obfuscatedPendingEmail {String}
+ * @param emailVerified {Boolean}
+ * @param hasBirthday {Boolean}
+ * @param unsubscribe {Boolean}
+ * @param statusHistory {Array.}
+ * @param statusFirstTime {Boolean}
+ * @param friends {Array.}
+ * @param friendGroupNames {Array.}
+ * @param currentAvatarImageUrl {String}
+ * @param currentAvatarThumbnailImageUrl {String}
+ * @param fallbackAvatar {String}
+ * @param currentAvatar {String}
+ * @param currentAvatarAssetUrl {String}
+ * @param acceptedTOSVersion {Number}
+ * @param steamId {String}
+ * @param steamDetails {Object}
+ * @param oculusId {String}
+ * @param hasLoggedInFromClient {Boolean}
+ * @param homeLocation {String}
+ * @param twoFactorAuthEnabled {Boolean}
+ * @param state {module:model/UserState}
+ * @param tags {Array.}
+ * @param developerType {module:model/DeveloperType}
+ * @param lastLogin {Date}
+ * @param lastPlatform {String}
+ * @param allowAvatarCopying {Boolean}
+ * @param status {module:model/UserStatus}
+ * @param dateJoined {Date}
+ * @param isFriend {Boolean}
+ * @param friendKey {String}
+ * @param onlineFriends {Array.}
+ * @param activeFriends {Array.}
+ * @param offlineFriends {Array.}
+ */
+ constructor(id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends) {
+
+ CurrentUser.initialize(this, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends) {
+ obj['id'] = id;
+ obj['username'] = username;
+ obj['displayName'] = displayName;
+ obj['userIcon'] = userIcon;
+ obj['bio'] = bio;
+ obj['bioLinks'] = bioLinks;
+ obj['profilePicOverride'] = profilePicOverride;
+ obj['statusDescription'] = statusDescription;
+ obj['pastDisplayNames'] = pastDisplayNames;
+ obj['hasEmail'] = hasEmail;
+ obj['hasPendingEmail'] = hasPendingEmail;
+ obj['obfuscatedEmail'] = obfuscatedEmail;
+ obj['obfuscatedPendingEmail'] = obfuscatedPendingEmail;
+ obj['emailVerified'] = emailVerified;
+ obj['hasBirthday'] = hasBirthday;
+ obj['unsubscribe'] = unsubscribe;
+ obj['statusHistory'] = statusHistory;
+ obj['statusFirstTime'] = statusFirstTime;
+ obj['friends'] = friends;
+ obj['friendGroupNames'] = friendGroupNames;
+ obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
+ obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
+ obj['fallbackAvatar'] = fallbackAvatar;
+ obj['currentAvatar'] = currentAvatar;
+ obj['currentAvatarAssetUrl'] = currentAvatarAssetUrl;
+ obj['acceptedTOSVersion'] = acceptedTOSVersion;
+ obj['steamId'] = steamId;
+ obj['steamDetails'] = steamDetails;
+ obj['oculusId'] = oculusId;
+ obj['hasLoggedInFromClient'] = hasLoggedInFromClient;
+ obj['homeLocation'] = homeLocation;
+ obj['twoFactorAuthEnabled'] = twoFactorAuthEnabled;
+ obj['state'] = state;
+ obj['tags'] = tags;
+ obj['developerType'] = developerType;
+ obj['last_login'] = lastLogin;
+ obj['last_platform'] = lastPlatform;
+ obj['allowAvatarCopying'] = allowAvatarCopying;
+ obj['status'] = status;
+ obj['date_joined'] = dateJoined;
+ obj['isFriend'] = isFriend || false;
+ obj['friendKey'] = friendKey;
+ obj['onlineFriends'] = onlineFriends;
+ obj['activeFriends'] = activeFriends;
+ obj['offlineFriends'] = offlineFriends;
+ }
+
+ /**
+ * Constructs a CurrentUser from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CurrentUser} obj Optional instance to populate.
+ * @return {module:model/CurrentUser} The populated CurrentUser instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CurrentUser();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = ApiClient.convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('displayName')) {
+ obj['displayName'] = ApiClient.convertToType(data['displayName'], 'String');
+ }
+ if (data.hasOwnProperty('userIcon')) {
+ obj['userIcon'] = ApiClient.convertToType(data['userIcon'], 'String');
+ }
+ if (data.hasOwnProperty('bio')) {
+ obj['bio'] = ApiClient.convertToType(data['bio'], 'String');
+ }
+ if (data.hasOwnProperty('bioLinks')) {
+ obj['bioLinks'] = ApiClient.convertToType(data['bioLinks'], ['String']);
+ }
+ if (data.hasOwnProperty('profilePicOverride')) {
+ obj['profilePicOverride'] = ApiClient.convertToType(data['profilePicOverride'], 'String');
+ }
+ if (data.hasOwnProperty('statusDescription')) {
+ obj['statusDescription'] = ApiClient.convertToType(data['statusDescription'], 'String');
+ }
+ if (data.hasOwnProperty('pastDisplayNames')) {
+ obj['pastDisplayNames'] = ApiClient.convertToType(data['pastDisplayNames'], ['String']);
+ }
+ if (data.hasOwnProperty('hasEmail')) {
+ obj['hasEmail'] = ApiClient.convertToType(data['hasEmail'], 'Boolean');
+ }
+ if (data.hasOwnProperty('hasPendingEmail')) {
+ obj['hasPendingEmail'] = ApiClient.convertToType(data['hasPendingEmail'], 'Boolean');
+ }
+ if (data.hasOwnProperty('obfuscatedEmail')) {
+ obj['obfuscatedEmail'] = ApiClient.convertToType(data['obfuscatedEmail'], 'String');
+ }
+ if (data.hasOwnProperty('obfuscatedPendingEmail')) {
+ obj['obfuscatedPendingEmail'] = ApiClient.convertToType(data['obfuscatedPendingEmail'], 'String');
+ }
+ if (data.hasOwnProperty('emailVerified')) {
+ obj['emailVerified'] = ApiClient.convertToType(data['emailVerified'], 'Boolean');
+ }
+ if (data.hasOwnProperty('hasBirthday')) {
+ obj['hasBirthday'] = ApiClient.convertToType(data['hasBirthday'], 'Boolean');
+ }
+ if (data.hasOwnProperty('unsubscribe')) {
+ obj['unsubscribe'] = ApiClient.convertToType(data['unsubscribe'], 'Boolean');
+ }
+ if (data.hasOwnProperty('statusHistory')) {
+ obj['statusHistory'] = ApiClient.convertToType(data['statusHistory'], ['String']);
+ }
+ if (data.hasOwnProperty('statusFirstTime')) {
+ obj['statusFirstTime'] = ApiClient.convertToType(data['statusFirstTime'], 'Boolean');
+ }
+ if (data.hasOwnProperty('friends')) {
+ obj['friends'] = ApiClient.convertToType(data['friends'], ['String']);
+ }
+ if (data.hasOwnProperty('friendGroupNames')) {
+ obj['friendGroupNames'] = ApiClient.convertToType(data['friendGroupNames'], ['String']);
+ }
+ if (data.hasOwnProperty('currentAvatarImageUrl')) {
+ obj['currentAvatarImageUrl'] = ApiClient.convertToType(data['currentAvatarImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
+ obj['currentAvatarThumbnailImageUrl'] = ApiClient.convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('fallbackAvatar')) {
+ obj['fallbackAvatar'] = ApiClient.convertToType(data['fallbackAvatar'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatar')) {
+ obj['currentAvatar'] = ApiClient.convertToType(data['currentAvatar'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatarAssetUrl')) {
+ obj['currentAvatarAssetUrl'] = ApiClient.convertToType(data['currentAvatarAssetUrl'], 'String');
+ }
+ if (data.hasOwnProperty('accountDeletionDate')) {
+ obj['accountDeletionDate'] = ApiClient.convertToType(data['accountDeletionDate'], 'Date');
+ }
+ if (data.hasOwnProperty('acceptedTOSVersion')) {
+ obj['acceptedTOSVersion'] = ApiClient.convertToType(data['acceptedTOSVersion'], 'Number');
+ }
+ if (data.hasOwnProperty('steamId')) {
+ obj['steamId'] = ApiClient.convertToType(data['steamId'], 'String');
+ }
+ if (data.hasOwnProperty('steamDetails')) {
+ obj['steamDetails'] = ApiClient.convertToType(data['steamDetails'], Object);
+ }
+ if (data.hasOwnProperty('oculusId')) {
+ obj['oculusId'] = ApiClient.convertToType(data['oculusId'], 'String');
+ }
+ if (data.hasOwnProperty('hasLoggedInFromClient')) {
+ obj['hasLoggedInFromClient'] = ApiClient.convertToType(data['hasLoggedInFromClient'], 'Boolean');
+ }
+ if (data.hasOwnProperty('homeLocation')) {
+ obj['homeLocation'] = ApiClient.convertToType(data['homeLocation'], 'String');
+ }
+ if (data.hasOwnProperty('twoFactorAuthEnabled')) {
+ obj['twoFactorAuthEnabled'] = ApiClient.convertToType(data['twoFactorAuthEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('state')) {
+ obj['state'] = UserState.constructFromObject(data['state']);
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ if (data.hasOwnProperty('developerType')) {
+ obj['developerType'] = DeveloperType.constructFromObject(data['developerType']);
+ }
+ if (data.hasOwnProperty('last_login')) {
+ obj['last_login'] = ApiClient.convertToType(data['last_login'], 'Date');
+ }
+ if (data.hasOwnProperty('last_platform')) {
+ obj['last_platform'] = ApiClient.convertToType(data['last_platform'], 'String');
+ }
+ if (data.hasOwnProperty('allowAvatarCopying')) {
+ obj['allowAvatarCopying'] = ApiClient.convertToType(data['allowAvatarCopying'], 'Boolean');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = UserStatus.constructFromObject(data['status']);
+ }
+ if (data.hasOwnProperty('date_joined')) {
+ obj['date_joined'] = ApiClient.convertToType(data['date_joined'], 'Date');
+ }
+ if (data.hasOwnProperty('isFriend')) {
+ obj['isFriend'] = ApiClient.convertToType(data['isFriend'], 'Boolean');
+ }
+ if (data.hasOwnProperty('friendKey')) {
+ obj['friendKey'] = ApiClient.convertToType(data['friendKey'], 'String');
+ }
+ if (data.hasOwnProperty('onlineFriends')) {
+ obj['onlineFriends'] = ApiClient.convertToType(data['onlineFriends'], ['String']);
+ }
+ if (data.hasOwnProperty('activeFriends')) {
+ obj['activeFriends'] = ApiClient.convertToType(data['activeFriends'], ['String']);
+ }
+ if (data.hasOwnProperty('offlineFriends')) {
+ obj['offlineFriends'] = ApiClient.convertToType(data['offlineFriends'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+CurrentUser.prototype['id'] = undefined;
+
+/**
+ * @member {String} username
+ */
+CurrentUser.prototype['username'] = undefined;
+
+/**
+ * @member {String} displayName
+ */
+CurrentUser.prototype['displayName'] = undefined;
+
+/**
+ * @member {String} userIcon
+ */
+CurrentUser.prototype['userIcon'] = undefined;
+
+/**
+ * @member {String} bio
+ */
+CurrentUser.prototype['bio'] = undefined;
+
+/**
+ * @member {Array.} bioLinks
+ */
+CurrentUser.prototype['bioLinks'] = undefined;
+
+/**
+ * @member {String} profilePicOverride
+ */
+CurrentUser.prototype['profilePicOverride'] = undefined;
+
+/**
+ * @member {String} statusDescription
+ */
+CurrentUser.prototype['statusDescription'] = undefined;
+
+/**
+ * @member {Array.} pastDisplayNames
+ */
+CurrentUser.prototype['pastDisplayNames'] = undefined;
+
+/**
+ * @member {Boolean} hasEmail
+ */
+CurrentUser.prototype['hasEmail'] = undefined;
+
+/**
+ * @member {Boolean} hasPendingEmail
+ */
+CurrentUser.prototype['hasPendingEmail'] = undefined;
+
+/**
+ * @member {String} obfuscatedEmail
+ */
+CurrentUser.prototype['obfuscatedEmail'] = undefined;
+
+/**
+ * @member {String} obfuscatedPendingEmail
+ */
+CurrentUser.prototype['obfuscatedPendingEmail'] = undefined;
+
+/**
+ * @member {Boolean} emailVerified
+ */
+CurrentUser.prototype['emailVerified'] = undefined;
+
+/**
+ * @member {Boolean} hasBirthday
+ */
+CurrentUser.prototype['hasBirthday'] = undefined;
+
+/**
+ * @member {Boolean} unsubscribe
+ */
+CurrentUser.prototype['unsubscribe'] = undefined;
+
+/**
+ * @member {Array.} statusHistory
+ */
+CurrentUser.prototype['statusHistory'] = undefined;
+
+/**
+ * @member {Boolean} statusFirstTime
+ */
+CurrentUser.prototype['statusFirstTime'] = undefined;
+
+/**
+ * @member {Array.} friends
+ */
+CurrentUser.prototype['friends'] = undefined;
+
+/**
+ * @member {Array.} friendGroupNames
+ */
+CurrentUser.prototype['friendGroupNames'] = undefined;
+
+/**
+ * @member {String} currentAvatarImageUrl
+ */
+CurrentUser.prototype['currentAvatarImageUrl'] = undefined;
+
+/**
+ * @member {String} currentAvatarThumbnailImageUrl
+ */
+CurrentUser.prototype['currentAvatarThumbnailImageUrl'] = undefined;
+
+/**
+ * @member {String} fallbackAvatar
+ */
+CurrentUser.prototype['fallbackAvatar'] = undefined;
+
+/**
+ * @member {String} currentAvatar
+ */
+CurrentUser.prototype['currentAvatar'] = undefined;
+
+/**
+ * @member {String} currentAvatarAssetUrl
+ */
+CurrentUser.prototype['currentAvatarAssetUrl'] = undefined;
+
+/**
+ * @member {Date} accountDeletionDate
+ */
+CurrentUser.prototype['accountDeletionDate'] = undefined;
+
+/**
+ * @member {Number} acceptedTOSVersion
+ */
+CurrentUser.prototype['acceptedTOSVersion'] = undefined;
+
+/**
+ * @member {String} steamId
+ */
+CurrentUser.prototype['steamId'] = undefined;
+
+/**
+ * @member {Object} steamDetails
+ */
+CurrentUser.prototype['steamDetails'] = undefined;
+
+/**
+ * @member {String} oculusId
+ */
+CurrentUser.prototype['oculusId'] = undefined;
+
+/**
+ * @member {Boolean} hasLoggedInFromClient
+ */
+CurrentUser.prototype['hasLoggedInFromClient'] = undefined;
+
+/**
+ * @member {String} homeLocation
+ */
+CurrentUser.prototype['homeLocation'] = undefined;
+
+/**
+ * @member {Boolean} twoFactorAuthEnabled
+ */
+CurrentUser.prototype['twoFactorAuthEnabled'] = undefined;
+
+/**
+ * @member {module:model/UserState} state
+ */
+CurrentUser.prototype['state'] = undefined;
+
+/**
+ * @member {Array.} tags
+ */
+CurrentUser.prototype['tags'] = undefined;
+
+/**
+ * @member {module:model/DeveloperType} developerType
+ */
+CurrentUser.prototype['developerType'] = undefined;
+
+/**
+ * @member {Date} last_login
+ */
+CurrentUser.prototype['last_login'] = undefined;
+
+/**
+ * @member {String} last_platform
+ */
+CurrentUser.prototype['last_platform'] = undefined;
+
+/**
+ * @member {Boolean} allowAvatarCopying
+ */
+CurrentUser.prototype['allowAvatarCopying'] = undefined;
+
+/**
+ * @member {module:model/UserStatus} status
+ */
+CurrentUser.prototype['status'] = undefined;
+
+/**
+ * @member {Date} date_joined
+ */
+CurrentUser.prototype['date_joined'] = undefined;
+
+/**
+ * @member {Boolean} isFriend
+ * @default false
+ */
+CurrentUser.prototype['isFriend'] = false;
+
+/**
+ * @member {String} friendKey
+ */
+CurrentUser.prototype['friendKey'] = undefined;
+
+/**
+ * @member {Array.} onlineFriends
+ */
+CurrentUser.prototype['onlineFriends'] = undefined;
+
+/**
+ * @member {Array.} activeFriends
+ */
+CurrentUser.prototype['activeFriends'] = undefined;
+
+/**
+ * @member {Array.} offlineFriends
+ */
+CurrentUser.prototype['offlineFriends'] = undefined;
+
+
+
+
+
+
+export default CurrentUser;
+
diff --git a/src/model/DeploymentGroup.js b/src/model/DeploymentGroup.js
new file mode 100644
index 0000000..0b9f7d4
--- /dev/null
+++ b/src/model/DeploymentGroup.js
@@ -0,0 +1,60 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class DeploymentGroup.
+* @enum {}
+* @readonly
+*/
+export default class DeploymentGroup {
+
+ /**
+ * value: "blue"
+ * @const
+ */
+ "blue" = "blue";
+
+
+ /**
+ * value: "green"
+ * @const
+ */
+ "green" = "green";
+
+
+ /**
+ * value: "grape"
+ * @const
+ */
+ "grape" = "grape";
+
+
+ /**
+ * value: "cherry"
+ * @const
+ */
+ "cherry" = "cherry";
+
+
+
+ /**
+ * Returns a DeploymentGroup enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/DeploymentGroup} The enum DeploymentGroup value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/DeveloperType.js b/src/model/DeveloperType.js
new file mode 100644
index 0000000..af0ff35
--- /dev/null
+++ b/src/model/DeveloperType.js
@@ -0,0 +1,60 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class DeveloperType.
+* @enum {}
+* @readonly
+*/
+export default class DeveloperType {
+
+ /**
+ * value: "none"
+ * @const
+ */
+ "none" = "none";
+
+
+ /**
+ * value: "trusted"
+ * @const
+ */
+ "trusted" = "trusted";
+
+
+ /**
+ * value: "internal"
+ * @const
+ */
+ "internal" = "internal";
+
+
+ /**
+ * value: "moderator"
+ * @const
+ */
+ "moderator" = "moderator";
+
+
+
+ /**
+ * Returns a DeveloperType enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/DeveloperType} The enum DeveloperType value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/Error.js b/src/model/Error.js
new file mode 100644
index 0000000..b4609d7
--- /dev/null
+++ b/src/model/Error.js
@@ -0,0 +1,72 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Response from './Response';
+
+/**
+ * The Error model module.
+ * @module model/Error
+ * @version 1.0.0
+ */
+class Error {
+ /**
+ * Constructs a new Error.
+ * @alias module:model/Error
+ */
+ constructor() {
+
+ Error.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Error from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Error} obj Optional instance to populate.
+ * @return {module:model/Error} The populated Error instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Error();
+
+ if (data.hasOwnProperty('error')) {
+ obj['error'] = Response.constructFromObject(data['error']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Response} error
+ */
+Error.prototype['error'] = undefined;
+
+
+
+
+
+
+export default Error;
+
diff --git a/src/model/File.js b/src/model/File.js
new file mode 100644
index 0000000..0c86a9b
--- /dev/null
+++ b/src/model/File.js
@@ -0,0 +1,137 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FileVersion from './FileVersion';
+import MIMEType from './MIMEType';
+
+/**
+ * The File model module.
+ * @module model/File
+ * @version 1.0.0
+ */
+class File {
+ /**
+ * Constructs a new File.
+ *
+ * @alias module:model/File
+ * @param id {String}
+ * @param name {String}
+ * @param ownerId {String}
+ * @param mimeType {module:model/MIMEType}
+ * @param extension {String}
+ * @param tags {Array.}
+ * @param versions {Array.}
+ */
+ constructor(id, name, ownerId, mimeType, extension, tags, versions) {
+
+ File.initialize(this, id, name, ownerId, mimeType, extension, tags, versions);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id, name, ownerId, mimeType, extension, tags, versions) {
+ obj['id'] = id;
+ obj['name'] = name;
+ obj['ownerId'] = ownerId;
+ obj['mimeType'] = mimeType;
+ obj['extension'] = extension;
+ obj['tags'] = tags;
+ obj['versions'] = versions;
+ }
+
+ /**
+ * Constructs a File from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/File} obj Optional instance to populate.
+ * @return {module:model/File} The populated File instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new File();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('ownerId')) {
+ obj['ownerId'] = ApiClient.convertToType(data['ownerId'], 'String');
+ }
+ if (data.hasOwnProperty('mimeType')) {
+ obj['mimeType'] = MIMEType.constructFromObject(data['mimeType']);
+ }
+ if (data.hasOwnProperty('extension')) {
+ obj['extension'] = ApiClient.convertToType(data['extension'], 'String');
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ if (data.hasOwnProperty('versions')) {
+ obj['versions'] = ApiClient.convertToType(data['versions'], [FileVersion]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+File.prototype['id'] = undefined;
+
+/**
+ *
+ * @member {String} name
+ */
+File.prototype['name'] = undefined;
+
+/**
+ * @member {String} ownerId
+ */
+File.prototype['ownerId'] = undefined;
+
+/**
+ * @member {module:model/MIMEType} mimeType
+ */
+File.prototype['mimeType'] = undefined;
+
+/**
+ * @member {String} extension
+ */
+File.prototype['extension'] = undefined;
+
+/**
+ * @member {Array.} tags
+ */
+File.prototype['tags'] = undefined;
+
+/**
+ * @member {Array.} versions
+ */
+File.prototype['versions'] = undefined;
+
+
+
+
+
+
+export default File;
+
diff --git a/src/model/FileData.js b/src/model/FileData.js
new file mode 100644
index 0000000..35ceb0d
--- /dev/null
+++ b/src/model/FileData.js
@@ -0,0 +1,163 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FileStatus from './FileStatus';
+
+/**
+ * The FileData model module.
+ * @module model/FileData
+ * @version 1.0.0
+ */
+class FileData {
+ /**
+ * Constructs a new FileData.
+ *
+ * @alias module:model/FileData
+ * @param fileName {String}
+ * @param url {String}
+ * @param md5 {String}
+ * @param sizeInBytes {Number}
+ * @param status {module:model/FileStatus}
+ * @param category {module:model/FileData.CategoryEnum}
+ * @param uploadId {String}
+ */
+ constructor(fileName, url, md5, sizeInBytes, status, category, uploadId) {
+
+ FileData.initialize(this, fileName, url, md5, sizeInBytes, status, category, uploadId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, fileName, url, md5, sizeInBytes, status, category, uploadId) {
+ obj['fileName'] = fileName;
+ obj['url'] = url;
+ obj['md5'] = md5;
+ obj['sizeInBytes'] = sizeInBytes;
+ obj['status'] = status;
+ obj['category'] = category;
+ obj['uploadId'] = uploadId || '';
+ }
+
+ /**
+ * Constructs a FileData from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FileData} obj Optional instance to populate.
+ * @return {module:model/FileData} The populated FileData instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FileData();
+
+ if (data.hasOwnProperty('fileName')) {
+ obj['fileName'] = ApiClient.convertToType(data['fileName'], 'String');
+ }
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = ApiClient.convertToType(data['url'], 'String');
+ }
+ if (data.hasOwnProperty('md5')) {
+ obj['md5'] = ApiClient.convertToType(data['md5'], 'String');
+ }
+ if (data.hasOwnProperty('sizeInBytes')) {
+ obj['sizeInBytes'] = ApiClient.convertToType(data['sizeInBytes'], 'Number');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = FileStatus.constructFromObject(data['status']);
+ }
+ if (data.hasOwnProperty('category')) {
+ obj['category'] = ApiClient.convertToType(data['category'], 'String');
+ }
+ if (data.hasOwnProperty('uploadId')) {
+ obj['uploadId'] = ApiClient.convertToType(data['uploadId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} fileName
+ */
+FileData.prototype['fileName'] = undefined;
+
+/**
+ * @member {String} url
+ */
+FileData.prototype['url'] = undefined;
+
+/**
+ * @member {String} md5
+ */
+FileData.prototype['md5'] = undefined;
+
+/**
+ * @member {Number} sizeInBytes
+ */
+FileData.prototype['sizeInBytes'] = undefined;
+
+/**
+ * @member {module:model/FileStatus} status
+ */
+FileData.prototype['status'] = undefined;
+
+/**
+ * @member {module:model/FileData.CategoryEnum} category
+ */
+FileData.prototype['category'] = undefined;
+
+/**
+ * @member {String} uploadId
+ * @default ''
+ */
+FileData.prototype['uploadId'] = '';
+
+
+
+
+
+/**
+ * Allowed values for the category property.
+ * @enum {String}
+ * @readonly
+ */
+FileData['CategoryEnum'] = {
+
+ /**
+ * value: "multipart"
+ * @const
+ */
+ "multipart": "multipart",
+
+ /**
+ * value: "queued"
+ * @const
+ */
+ "queued": "queued",
+
+ /**
+ * value: "simple"
+ * @const
+ */
+ "simple": "simple"
+};
+
+
+
+export default FileData;
+
diff --git a/src/model/FileStatus.js b/src/model/FileStatus.js
new file mode 100644
index 0000000..eff1ae1
--- /dev/null
+++ b/src/model/FileStatus.js
@@ -0,0 +1,53 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class FileStatus.
+* @enum {}
+* @readonly
+*/
+export default class FileStatus {
+
+ /**
+ * value: "waiting"
+ * @const
+ */
+ "waiting" = "waiting";
+
+
+ /**
+ * value: "complete"
+ * @const
+ */
+ "complete" = "complete";
+
+
+ /**
+ * value: "none"
+ * @const
+ */
+ "none" = "none";
+
+
+
+ /**
+ * Returns a FileStatus enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/FileStatus} The enum FileStatus value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/FileVersion.js b/src/model/FileVersion.js
new file mode 100644
index 0000000..9d4b352
--- /dev/null
+++ b/src/model/FileVersion.js
@@ -0,0 +1,132 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FileData from './FileData';
+import FileStatus from './FileStatus';
+
+/**
+ * The FileVersion model module.
+ * @module model/FileVersion
+ * @version 1.0.0
+ */
+class FileVersion {
+ /**
+ * Constructs a new FileVersion.
+ *
+ * @alias module:model/FileVersion
+ * @param version {Number} Incremental version counter, can only be increased.
+ * @param status {module:model/FileStatus}
+ * @param createdAt {Date}
+ */
+ constructor(version, status, createdAt) {
+
+ FileVersion.initialize(this, version, status, createdAt);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, version, status, createdAt) {
+ obj['version'] = version || 0;
+ obj['status'] = status;
+ obj['created_at'] = createdAt;
+ }
+
+ /**
+ * Constructs a FileVersion from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FileVersion} obj Optional instance to populate.
+ * @return {module:model/FileVersion} The populated FileVersion instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FileVersion();
+
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = FileStatus.constructFromObject(data['status']);
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('file')) {
+ obj['file'] = FileData.constructFromObject(data['file']);
+ }
+ if (data.hasOwnProperty('delta')) {
+ obj['delta'] = FileData.constructFromObject(data['delta']);
+ }
+ if (data.hasOwnProperty('signature')) {
+ obj['signature'] = FileData.constructFromObject(data['signature']);
+ }
+ if (data.hasOwnProperty('deleted')) {
+ obj['deleted'] = ApiClient.convertToType(data['deleted'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Incremental version counter, can only be increased.
+ * @member {Number} version
+ * @default 0
+ */
+FileVersion.prototype['version'] = 0;
+
+/**
+ * @member {module:model/FileStatus} status
+ */
+FileVersion.prototype['status'] = undefined;
+
+/**
+ * @member {Date} created_at
+ */
+FileVersion.prototype['created_at'] = undefined;
+
+/**
+ * @member {module:model/FileData} file
+ */
+FileVersion.prototype['file'] = undefined;
+
+/**
+ * @member {module:model/FileData} delta
+ */
+FileVersion.prototype['delta'] = undefined;
+
+/**
+ * @member {module:model/FileData} signature
+ */
+FileVersion.prototype['signature'] = undefined;
+
+/**
+ * Usually only present if `true`
+ * @member {Boolean} deleted
+ * @default true
+ */
+FileVersion.prototype['deleted'] = true;
+
+
+
+
+
+
+export default FileVersion;
+
diff --git a/src/model/InlineObject.js b/src/model/InlineObject.js
new file mode 100644
index 0000000..dd50cb0
--- /dev/null
+++ b/src/model/InlineObject.js
@@ -0,0 +1,73 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineObject model module.
+ * @module model/InlineObject
+ * @version 1.0.0
+ */
+class InlineObject {
+ /**
+ * Constructs a new InlineObject.
+ * @alias module:model/InlineObject
+ * @param code {String}
+ */
+ constructor(code) {
+
+ InlineObject.initialize(this, code);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, code) {
+ obj['code'] = code;
+ }
+
+ /**
+ * Constructs a InlineObject from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject} obj Optional instance to populate.
+ * @return {module:model/InlineObject} The populated InlineObject instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject();
+
+ if (data.hasOwnProperty('code')) {
+ obj['code'] = ApiClient.convertToType(data['code'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} code
+ */
+InlineObject.prototype['code'] = undefined;
+
+
+
+
+
+
+export default InlineObject;
+
diff --git a/src/model/InlineObject1.js b/src/model/InlineObject1.js
new file mode 100644
index 0000000..e07462e
--- /dev/null
+++ b/src/model/InlineObject1.js
@@ -0,0 +1,73 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineObject1 model module.
+ * @module model/InlineObject1
+ * @version 1.0.0
+ */
+class InlineObject1 {
+ /**
+ * Constructs a new InlineObject1.
+ * @alias module:model/InlineObject1
+ * @param code {String}
+ */
+ constructor(code) {
+
+ InlineObject1.initialize(this, code);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, code) {
+ obj['code'] = code;
+ }
+
+ /**
+ * Constructs a InlineObject1 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject1} obj Optional instance to populate.
+ * @return {module:model/InlineObject1} The populated InlineObject1 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject1();
+
+ if (data.hasOwnProperty('code')) {
+ obj['code'] = ApiClient.convertToType(data['code'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} code
+ */
+InlineObject1.prototype['code'] = undefined;
+
+
+
+
+
+
+export default InlineObject1;
+
diff --git a/src/model/InlineObject2.js b/src/model/InlineObject2.js
new file mode 100644
index 0000000..2942d40
--- /dev/null
+++ b/src/model/InlineObject2.js
@@ -0,0 +1,137 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserStatus from './UserStatus';
+
+/**
+ * The InlineObject2 model module.
+ * @module model/InlineObject2
+ * @version 1.0.0
+ */
+class InlineObject2 {
+ /**
+ * Constructs a new InlineObject2.
+ * @alias module:model/InlineObject2
+ */
+ constructor() {
+
+ InlineObject2.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a InlineObject2 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject2} obj Optional instance to populate.
+ * @return {module:model/InlineObject2} The populated InlineObject2 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject2();
+
+ if (data.hasOwnProperty('email')) {
+ obj['email'] = ApiClient.convertToType(data['email'], 'String');
+ }
+ if (data.hasOwnProperty('birthday')) {
+ obj['birthday'] = ApiClient.convertToType(data['birthday'], 'Date');
+ }
+ if (data.hasOwnProperty('acceptedTOSVersion')) {
+ obj['acceptedTOSVersion'] = ApiClient.convertToType(data['acceptedTOSVersion'], 'Number');
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = UserStatus.constructFromObject(data['status']);
+ }
+ if (data.hasOwnProperty('statusDescription')) {
+ obj['statusDescription'] = ApiClient.convertToType(data['statusDescription'], 'String');
+ }
+ if (data.hasOwnProperty('bio')) {
+ obj['bio'] = ApiClient.convertToType(data['bio'], 'String');
+ }
+ if (data.hasOwnProperty('bioLinks')) {
+ obj['bioLinks'] = ApiClient.convertToType(data['bioLinks'], ['String']);
+ }
+ if (data.hasOwnProperty('userIcon')) {
+ obj['userIcon'] = ApiClient.convertToType(data['userIcon'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} email
+ */
+InlineObject2.prototype['email'] = undefined;
+
+/**
+ * @member {Date} birthday
+ */
+InlineObject2.prototype['birthday'] = undefined;
+
+/**
+ * @member {Number} acceptedTOSVersion
+ */
+InlineObject2.prototype['acceptedTOSVersion'] = undefined;
+
+/**
+ * @member {Array.} tags
+ */
+InlineObject2.prototype['tags'] = undefined;
+
+/**
+ * @member {module:model/UserStatus} status
+ */
+InlineObject2.prototype['status'] = undefined;
+
+/**
+ * @member {String} statusDescription
+ */
+InlineObject2.prototype['statusDescription'] = undefined;
+
+/**
+ * @member {String} bio
+ */
+InlineObject2.prototype['bio'] = undefined;
+
+/**
+ * @member {Array.} bioLinks
+ */
+InlineObject2.prototype['bioLinks'] = undefined;
+
+/**
+ * MUST be a valid VRChat /file/ url.
+ * @member {String} userIcon
+ */
+InlineObject2.prototype['userIcon'] = undefined;
+
+
+
+
+
+
+export default InlineObject2;
+
diff --git a/src/model/InlineObject3.js b/src/model/InlineObject3.js
new file mode 100644
index 0000000..f049967
--- /dev/null
+++ b/src/model/InlineObject3.js
@@ -0,0 +1,102 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import MIMEType from './MIMEType';
+
+/**
+ * The InlineObject3 model module.
+ * @module model/InlineObject3
+ * @version 1.0.0
+ */
+class InlineObject3 {
+ /**
+ * Constructs a new InlineObject3.
+ * @alias module:model/InlineObject3
+ * @param name {String}
+ * @param mimeType {module:model/MIMEType}
+ * @param extension {String}
+ */
+ constructor(name, mimeType, extension) {
+
+ InlineObject3.initialize(this, name, mimeType, extension);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, name, mimeType, extension) {
+ obj['name'] = name;
+ obj['mimeType'] = mimeType;
+ obj['extension'] = extension;
+ }
+
+ /**
+ * Constructs a InlineObject3 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject3} obj Optional instance to populate.
+ * @return {module:model/InlineObject3} The populated InlineObject3 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject3();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('mimeType')) {
+ obj['mimeType'] = MIMEType.constructFromObject(data['mimeType']);
+ }
+ if (data.hasOwnProperty('extension')) {
+ obj['extension'] = ApiClient.convertToType(data['extension'], 'String');
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} name
+ */
+InlineObject3.prototype['name'] = undefined;
+
+/**
+ * @member {module:model/MIMEType} mimeType
+ */
+InlineObject3.prototype['mimeType'] = undefined;
+
+/**
+ * @member {String} extension
+ */
+InlineObject3.prototype['extension'] = undefined;
+
+/**
+ * @member {Array.} tags
+ */
+InlineObject3.prototype['tags'] = undefined;
+
+
+
+
+
+
+export default InlineObject3;
+
diff --git a/src/model/InlineObject4.js b/src/model/InlineObject4.js
new file mode 100644
index 0000000..6f7fba4
--- /dev/null
+++ b/src/model/InlineObject4.js
@@ -0,0 +1,126 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineObject4 model module.
+ * @module model/InlineObject4
+ * @version 1.0.0
+ */
+class InlineObject4 {
+ /**
+ * Constructs a new InlineObject4.
+ * @alias module:model/InlineObject4
+ * @param nextPartNumber {module:model/InlineObject4.NextPartNumberEnum} Always a zero in string form, despite how many parts uploaded.
+ * @param maxParts {module:model/InlineObject4.MaxPartsEnum} Always a zero in string form, despite how many parts uploaded.
+ */
+ constructor(nextPartNumber, maxParts) {
+
+ InlineObject4.initialize(this, nextPartNumber, maxParts);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, nextPartNumber, maxParts) {
+ obj['nextPartNumber'] = nextPartNumber || '0';
+ obj['maxParts'] = maxParts || '0';
+ }
+
+ /**
+ * Constructs a InlineObject4 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineObject4} obj Optional instance to populate.
+ * @return {module:model/InlineObject4} The populated InlineObject4 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineObject4();
+
+ if (data.hasOwnProperty('etags')) {
+ obj['etags'] = ApiClient.convertToType(data['etags'], ['String']);
+ }
+ if (data.hasOwnProperty('nextPartNumber')) {
+ obj['nextPartNumber'] = ApiClient.convertToType(data['nextPartNumber'], 'String');
+ }
+ if (data.hasOwnProperty('maxParts')) {
+ obj['maxParts'] = ApiClient.convertToType(data['maxParts'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Array of ETags uploaded.
+ * @member {Array.} etags
+ */
+InlineObject4.prototype['etags'] = undefined;
+
+/**
+ * Always a zero in string form, despite how many parts uploaded.
+ * @member {module:model/InlineObject4.NextPartNumberEnum} nextPartNumber
+ * @default '0'
+ */
+InlineObject4.prototype['nextPartNumber'] = '0';
+
+/**
+ * Always a zero in string form, despite how many parts uploaded.
+ * @member {module:model/InlineObject4.MaxPartsEnum} maxParts
+ * @default '0'
+ */
+InlineObject4.prototype['maxParts'] = '0';
+
+
+
+
+
+/**
+ * Allowed values for the nextPartNumber property.
+ * @enum {String}
+ * @readonly
+ */
+InlineObject4['NextPartNumberEnum'] = {
+
+ /**
+ * value: "0"
+ * @const
+ */
+ "0": "0"
+};
+
+
+/**
+ * Allowed values for the maxParts property.
+ * @enum {String}
+ * @readonly
+ */
+InlineObject4['MaxPartsEnum'] = {
+
+ /**
+ * value: "0"
+ * @const
+ */
+ "0": "0"
+};
+
+
+
+export default InlineObject4;
+
diff --git a/src/model/InlineResponse200.js b/src/model/InlineResponse200.js
new file mode 100644
index 0000000..e3d2ec8
--- /dev/null
+++ b/src/model/InlineResponse200.js
@@ -0,0 +1,83 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineResponse200 model module.
+ * @module model/InlineResponse200
+ * @version 1.0.0
+ */
+class InlineResponse200 {
+ /**
+ * Constructs a new InlineResponse200.
+ * @alias module:model/InlineResponse200
+ * @param ok {Boolean}
+ * @param token {String}
+ */
+ constructor(ok, token) {
+
+ InlineResponse200.initialize(this, ok, token);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, ok, token) {
+ obj['ok'] = ok;
+ obj['token'] = token;
+ }
+
+ /**
+ * Constructs a InlineResponse200 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse200} obj Optional instance to populate.
+ * @return {module:model/InlineResponse200} The populated InlineResponse200 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse200();
+
+ if (data.hasOwnProperty('ok')) {
+ obj['ok'] = ApiClient.convertToType(data['ok'], 'Boolean');
+ }
+ if (data.hasOwnProperty('token')) {
+ obj['token'] = ApiClient.convertToType(data['token'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} ok
+ */
+InlineResponse200.prototype['ok'] = undefined;
+
+/**
+ * @member {String} token
+ */
+InlineResponse200.prototype['token'] = undefined;
+
+
+
+
+
+
+export default InlineResponse200;
+
diff --git a/src/model/InlineResponse2001.js b/src/model/InlineResponse2001.js
new file mode 100644
index 0000000..c75ec2f
--- /dev/null
+++ b/src/model/InlineResponse2001.js
@@ -0,0 +1,73 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineResponse2001 model module.
+ * @module model/InlineResponse2001
+ * @version 1.0.0
+ */
+class InlineResponse2001 {
+ /**
+ * Constructs a new InlineResponse2001.
+ * @alias module:model/InlineResponse2001
+ * @param verified {Boolean}
+ */
+ constructor(verified) {
+
+ InlineResponse2001.initialize(this, verified);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, verified) {
+ obj['verified'] = verified;
+ }
+
+ /**
+ * Constructs a InlineResponse2001 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2001} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2001} The populated InlineResponse2001 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2001();
+
+ if (data.hasOwnProperty('verified')) {
+ obj['verified'] = ApiClient.convertToType(data['verified'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} verified
+ */
+InlineResponse2001.prototype['verified'] = undefined;
+
+
+
+
+
+
+export default InlineResponse2001;
+
diff --git a/src/model/InlineResponse2002.js b/src/model/InlineResponse2002.js
new file mode 100644
index 0000000..a7c9d67
--- /dev/null
+++ b/src/model/InlineResponse2002.js
@@ -0,0 +1,93 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineResponse2002 model module.
+ * @module model/InlineResponse2002
+ * @version 1.0.0
+ */
+class InlineResponse2002 {
+ /**
+ * Constructs a new InlineResponse2002.
+ * @alias module:model/InlineResponse2002
+ * @param ok {Boolean}
+ * @param serverName {String}
+ * @param buildVersionTag {String}
+ */
+ constructor(ok, serverName, buildVersionTag) {
+
+ InlineResponse2002.initialize(this, ok, serverName, buildVersionTag);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, ok, serverName, buildVersionTag) {
+ obj['ok'] = ok;
+ obj['serverName'] = serverName;
+ obj['buildVersionTag'] = buildVersionTag;
+ }
+
+ /**
+ * Constructs a InlineResponse2002 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2002} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2002} The populated InlineResponse2002 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2002();
+
+ if (data.hasOwnProperty('ok')) {
+ obj['ok'] = ApiClient.convertToType(data['ok'], 'Boolean');
+ }
+ if (data.hasOwnProperty('serverName')) {
+ obj['serverName'] = ApiClient.convertToType(data['serverName'], 'String');
+ }
+ if (data.hasOwnProperty('buildVersionTag')) {
+ obj['buildVersionTag'] = ApiClient.convertToType(data['buildVersionTag'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} ok
+ */
+InlineResponse2002.prototype['ok'] = undefined;
+
+/**
+ * @member {String} serverName
+ */
+InlineResponse2002.prototype['serverName'] = undefined;
+
+/**
+ * @member {String} buildVersionTag
+ */
+InlineResponse2002.prototype['buildVersionTag'] = undefined;
+
+
+
+
+
+
+export default InlineResponse2002;
+
diff --git a/src/model/InlineResponse2003.js b/src/model/InlineResponse2003.js
new file mode 100644
index 0000000..dfadc92
--- /dev/null
+++ b/src/model/InlineResponse2003.js
@@ -0,0 +1,96 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineResponse2003 model module.
+ * @module model/InlineResponse2003
+ * @version 1.0.0
+ */
+class InlineResponse2003 {
+ /**
+ * Constructs a new InlineResponse2003.
+ * @alias module:model/InlineResponse2003
+ * @param isFriend {Boolean}
+ * @param outgoingRequest {Boolean}
+ * @param incomingRequest {Boolean}
+ */
+ constructor(isFriend, outgoingRequest, incomingRequest) {
+
+ InlineResponse2003.initialize(this, isFriend, outgoingRequest, incomingRequest);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, isFriend, outgoingRequest, incomingRequest) {
+ obj['isFriend'] = isFriend || false;
+ obj['outgoingRequest'] = outgoingRequest || false;
+ obj['incomingRequest'] = incomingRequest || false;
+ }
+
+ /**
+ * Constructs a InlineResponse2003 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2003} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2003} The populated InlineResponse2003 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2003();
+
+ if (data.hasOwnProperty('isFriend')) {
+ obj['isFriend'] = ApiClient.convertToType(data['isFriend'], 'Boolean');
+ }
+ if (data.hasOwnProperty('outgoingRequest')) {
+ obj['outgoingRequest'] = ApiClient.convertToType(data['outgoingRequest'], 'Boolean');
+ }
+ if (data.hasOwnProperty('incomingRequest')) {
+ obj['incomingRequest'] = ApiClient.convertToType(data['incomingRequest'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} isFriend
+ * @default false
+ */
+InlineResponse2003.prototype['isFriend'] = false;
+
+/**
+ * @member {Boolean} outgoingRequest
+ * @default false
+ */
+InlineResponse2003.prototype['outgoingRequest'] = false;
+
+/**
+ * @member {Boolean} incomingRequest
+ * @default false
+ */
+InlineResponse2003.prototype['incomingRequest'] = false;
+
+
+
+
+
+
+export default InlineResponse2003;
+
diff --git a/src/model/InlineResponse2004.js b/src/model/InlineResponse2004.js
new file mode 100644
index 0000000..440b06f
--- /dev/null
+++ b/src/model/InlineResponse2004.js
@@ -0,0 +1,124 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineResponse2004 model module.
+ * @module model/InlineResponse2004
+ * @version 1.0.0
+ */
+class InlineResponse2004 {
+ /**
+ * Constructs a new InlineResponse2004.
+ * @alias module:model/InlineResponse2004
+ * @param uploadId {String}
+ * @param fileName {String}
+ * @param nextPartNumber {Number}
+ * @param maxParts {Number}
+ * @param parts {Array.}
+ * @param etags {Array.} Unknown
+ */
+ constructor(uploadId, fileName, nextPartNumber, maxParts, parts, etags) {
+
+ InlineResponse2004.initialize(this, uploadId, fileName, nextPartNumber, maxParts, parts, etags);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, uploadId, fileName, nextPartNumber, maxParts, parts, etags) {
+ obj['uploadId'] = uploadId;
+ obj['fileName'] = fileName;
+ obj['nextPartNumber'] = nextPartNumber;
+ obj['maxParts'] = maxParts;
+ obj['parts'] = parts;
+ obj['etags'] = etags;
+ }
+
+ /**
+ * Constructs a InlineResponse2004 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2004} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2004} The populated InlineResponse2004 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2004();
+
+ if (data.hasOwnProperty('uploadId')) {
+ obj['uploadId'] = ApiClient.convertToType(data['uploadId'], 'String');
+ }
+ if (data.hasOwnProperty('fileName')) {
+ obj['fileName'] = ApiClient.convertToType(data['fileName'], 'String');
+ }
+ if (data.hasOwnProperty('nextPartNumber')) {
+ obj['nextPartNumber'] = ApiClient.convertToType(data['nextPartNumber'], 'Number');
+ }
+ if (data.hasOwnProperty('maxParts')) {
+ obj['maxParts'] = ApiClient.convertToType(data['maxParts'], 'Number');
+ }
+ if (data.hasOwnProperty('parts')) {
+ obj['parts'] = ApiClient.convertToType(data['parts'], [Object]);
+ }
+ if (data.hasOwnProperty('etags')) {
+ obj['etags'] = ApiClient.convertToType(data['etags'], [Object]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} uploadId
+ */
+InlineResponse2004.prototype['uploadId'] = undefined;
+
+/**
+ * @member {String} fileName
+ */
+InlineResponse2004.prototype['fileName'] = undefined;
+
+/**
+ * @member {Number} nextPartNumber
+ */
+InlineResponse2004.prototype['nextPartNumber'] = undefined;
+
+/**
+ * @member {Number} maxParts
+ */
+InlineResponse2004.prototype['maxParts'] = undefined;
+
+/**
+ * @member {Array.} parts
+ */
+InlineResponse2004.prototype['parts'] = undefined;
+
+/**
+ * Unknown
+ * @member {Array.} etags
+ */
+InlineResponse2004.prototype['etags'] = undefined;
+
+
+
+
+
+
+export default InlineResponse2004;
+
diff --git a/src/model/InlineResponse2005.js b/src/model/InlineResponse2005.js
new file mode 100644
index 0000000..6641f90
--- /dev/null
+++ b/src/model/InlineResponse2005.js
@@ -0,0 +1,73 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The InlineResponse2005 model module.
+ * @module model/InlineResponse2005
+ * @version 1.0.0
+ */
+class InlineResponse2005 {
+ /**
+ * Constructs a new InlineResponse2005.
+ * @alias module:model/InlineResponse2005
+ * @param url {String}
+ */
+ constructor(url) {
+
+ InlineResponse2005.initialize(this, url);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, url) {
+ obj['url'] = url;
+ }
+
+ /**
+ * Constructs a InlineResponse2005 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse2005} obj Optional instance to populate.
+ * @return {module:model/InlineResponse2005} The populated InlineResponse2005 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse2005();
+
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = ApiClient.convertToType(data['url'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} url
+ */
+InlineResponse2005.prototype['url'] = undefined;
+
+
+
+
+
+
+export default InlineResponse2005;
+
diff --git a/src/model/InlineResponse401.js b/src/model/InlineResponse401.js
new file mode 100644
index 0000000..234bed4
--- /dev/null
+++ b/src/model/InlineResponse401.js
@@ -0,0 +1,74 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Error from './Error';
+
+/**
+ * The InlineResponse401 model module.
+ * @module model/InlineResponse401
+ * @version 1.0.0
+ */
+class InlineResponse401 {
+ /**
+ * Constructs a new InlineResponse401.
+ * @alias module:model/InlineResponse401
+ * @param error {module:model/Error}
+ */
+ constructor(error) {
+
+ InlineResponse401.initialize(this, error);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, error) {
+ obj['error'] = error;
+ }
+
+ /**
+ * Constructs a InlineResponse401 from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/InlineResponse401} obj Optional instance to populate.
+ * @return {module:model/InlineResponse401} The populated InlineResponse401 instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new InlineResponse401();
+
+ if (data.hasOwnProperty('error')) {
+ obj['error'] = Error.constructFromObject(data['error']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Error} error
+ */
+InlineResponse401.prototype['error'] = undefined;
+
+
+
+
+
+
+export default InlineResponse401;
+
diff --git a/src/model/LimitedUser.js b/src/model/LimitedUser.js
new file mode 100644
index 0000000..9df309d
--- /dev/null
+++ b/src/model/LimitedUser.js
@@ -0,0 +1,224 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeveloperType from './DeveloperType';
+import UserStatus from './UserStatus';
+
+/**
+ * The LimitedUser model module.
+ * @module model/LimitedUser
+ * @version 1.0.0
+ */
+class LimitedUser {
+ /**
+ * Constructs a new LimitedUser.
+ * @alias module:model/LimitedUser
+ * @param id {String}
+ * @param username {String}
+ * @param displayName {String}
+ * @param userIcon {String}
+ * @param profilePicOverride {String}
+ * @param statusDescription {String}
+ * @param currentAvatarImageUrl {String}
+ * @param currentAvatarThumbnailImageUrl {String}
+ * @param fallbackAvatar {String}
+ * @param developerType {module:model/DeveloperType}
+ * @param lastPlatform {String}
+ * @param status {module:model/UserStatus}
+ * @param isFriend {Boolean}
+ * @param location {String}
+ * @param tags {Array.} Always empty
+ */
+ constructor(id, username, displayName, userIcon, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, developerType, lastPlatform, status, isFriend, location, tags) {
+
+ LimitedUser.initialize(this, id, username, displayName, userIcon, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, developerType, lastPlatform, status, isFriend, location, tags);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id, username, displayName, userIcon, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, developerType, lastPlatform, status, isFriend, location, tags) {
+ obj['id'] = id;
+ obj['username'] = username;
+ obj['displayName'] = displayName;
+ obj['userIcon'] = userIcon;
+ obj['profilePicOverride'] = profilePicOverride;
+ obj['statusDescription'] = statusDescription;
+ obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
+ obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
+ obj['fallbackAvatar'] = fallbackAvatar;
+ obj['developerType'] = developerType;
+ obj['last_platform'] = lastPlatform;
+ obj['status'] = status;
+ obj['isFriend'] = isFriend;
+ obj['location'] = location;
+ obj['tags'] = tags;
+ }
+
+ /**
+ * Constructs a LimitedUser from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LimitedUser} obj Optional instance to populate.
+ * @return {module:model/LimitedUser} The populated LimitedUser instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LimitedUser();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = ApiClient.convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('displayName')) {
+ obj['displayName'] = ApiClient.convertToType(data['displayName'], 'String');
+ }
+ if (data.hasOwnProperty('bio')) {
+ obj['bio'] = ApiClient.convertToType(data['bio'], 'String');
+ }
+ if (data.hasOwnProperty('userIcon')) {
+ obj['userIcon'] = ApiClient.convertToType(data['userIcon'], 'String');
+ }
+ if (data.hasOwnProperty('profilePicOverride')) {
+ obj['profilePicOverride'] = ApiClient.convertToType(data['profilePicOverride'], 'String');
+ }
+ if (data.hasOwnProperty('statusDescription')) {
+ obj['statusDescription'] = ApiClient.convertToType(data['statusDescription'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatarImageUrl')) {
+ obj['currentAvatarImageUrl'] = ApiClient.convertToType(data['currentAvatarImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
+ obj['currentAvatarThumbnailImageUrl'] = ApiClient.convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('fallbackAvatar')) {
+ obj['fallbackAvatar'] = ApiClient.convertToType(data['fallbackAvatar'], 'String');
+ }
+ if (data.hasOwnProperty('developerType')) {
+ obj['developerType'] = DeveloperType.constructFromObject(data['developerType']);
+ }
+ if (data.hasOwnProperty('last_platform')) {
+ obj['last_platform'] = ApiClient.convertToType(data['last_platform'], 'String');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = UserStatus.constructFromObject(data['status']);
+ }
+ if (data.hasOwnProperty('isFriend')) {
+ obj['isFriend'] = ApiClient.convertToType(data['isFriend'], 'Boolean');
+ }
+ if (data.hasOwnProperty('location')) {
+ obj['location'] = ApiClient.convertToType(data['location'], 'String');
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+LimitedUser.prototype['id'] = undefined;
+
+/**
+ * @member {String} username
+ */
+LimitedUser.prototype['username'] = undefined;
+
+/**
+ * @member {String} displayName
+ */
+LimitedUser.prototype['displayName'] = undefined;
+
+/**
+ * @member {String} bio
+ */
+LimitedUser.prototype['bio'] = undefined;
+
+/**
+ * @member {String} userIcon
+ */
+LimitedUser.prototype['userIcon'] = undefined;
+
+/**
+ * @member {String} profilePicOverride
+ */
+LimitedUser.prototype['profilePicOverride'] = undefined;
+
+/**
+ * @member {String} statusDescription
+ */
+LimitedUser.prototype['statusDescription'] = undefined;
+
+/**
+ * @member {String} currentAvatarImageUrl
+ */
+LimitedUser.prototype['currentAvatarImageUrl'] = undefined;
+
+/**
+ * @member {String} currentAvatarThumbnailImageUrl
+ */
+LimitedUser.prototype['currentAvatarThumbnailImageUrl'] = undefined;
+
+/**
+ * @member {String} fallbackAvatar
+ */
+LimitedUser.prototype['fallbackAvatar'] = undefined;
+
+/**
+ * @member {module:model/DeveloperType} developerType
+ */
+LimitedUser.prototype['developerType'] = undefined;
+
+/**
+ * @member {String} last_platform
+ */
+LimitedUser.prototype['last_platform'] = undefined;
+
+/**
+ * @member {module:model/UserStatus} status
+ */
+LimitedUser.prototype['status'] = undefined;
+
+/**
+ * @member {Boolean} isFriend
+ */
+LimitedUser.prototype['isFriend'] = undefined;
+
+/**
+ * @member {String} location
+ */
+LimitedUser.prototype['location'] = undefined;
+
+/**
+ * Always empty
+ * @member {Array.} tags
+ */
+LimitedUser.prototype['tags'] = undefined;
+
+
+
+
+
+
+export default LimitedUser;
+
diff --git a/src/model/LimitedWorld.js b/src/model/LimitedWorld.js
new file mode 100644
index 0000000..99ba944
--- /dev/null
+++ b/src/model/LimitedWorld.js
@@ -0,0 +1,246 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ReleaseStatus from './ReleaseStatus';
+
+/**
+ * The LimitedWorld model module.
+ * @module model/LimitedWorld
+ * @version 1.0.0
+ */
+class LimitedWorld {
+ /**
+ * Constructs a new LimitedWorld.
+ * @alias module:model/LimitedWorld
+ * @param authorId {String}
+ * @param authorName {String}
+ * @param capacity {Number}
+ * @param favorites {Number}
+ * @param heat {Number}
+ * @param id {String}
+ * @param imageUrl {String}
+ * @param name {String}
+ * @param organization {String}
+ * @param popularity {Number}
+ * @param publicationDate {String}
+ * @param releaseStatus {module:model/ReleaseStatus}
+ * @param tags {Array.}
+ * @param thumbnailImageUrl {String}
+ * @param unityPackages {Array.}
+ */
+ constructor(authorId, authorName, capacity, favorites, heat, id, imageUrl, name, organization, popularity, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages) {
+
+ LimitedWorld.initialize(this, authorId, authorName, capacity, favorites, heat, id, imageUrl, name, organization, popularity, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, authorId, authorName, capacity, favorites, heat, id, imageUrl, name, organization, popularity, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages) {
+ obj['authorId'] = authorId;
+ obj['authorName'] = authorName;
+ obj['capacity'] = capacity;
+ obj['favorites'] = favorites;
+ obj['heat'] = heat;
+ obj['id'] = id;
+ obj['imageUrl'] = imageUrl;
+ obj['name'] = name;
+ obj['organization'] = organization;
+ obj['popularity'] = popularity;
+ obj['publicationDate'] = publicationDate;
+ obj['releaseStatus'] = releaseStatus;
+ obj['tags'] = tags;
+ obj['thumbnailImageUrl'] = thumbnailImageUrl;
+ obj['unityPackages'] = unityPackages;
+ }
+
+ /**
+ * Constructs a LimitedWorld from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LimitedWorld} obj Optional instance to populate.
+ * @return {module:model/LimitedWorld} The populated LimitedWorld instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LimitedWorld();
+
+ if (data.hasOwnProperty('authorId')) {
+ obj['authorId'] = ApiClient.convertToType(data['authorId'], 'String');
+ }
+ if (data.hasOwnProperty('authorName')) {
+ obj['authorName'] = ApiClient.convertToType(data['authorName'], 'String');
+ }
+ if (data.hasOwnProperty('capacity')) {
+ obj['capacity'] = ApiClient.convertToType(data['capacity'], 'Number');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('favorites')) {
+ obj['favorites'] = ApiClient.convertToType(data['favorites'], 'Number');
+ }
+ if (data.hasOwnProperty('heat')) {
+ obj['heat'] = ApiClient.convertToType(data['heat'], 'Number');
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('imageUrl')) {
+ obj['imageUrl'] = ApiClient.convertToType(data['imageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('labsPublicationDate')) {
+ obj['labsPublicationDate'] = ApiClient.convertToType(data['labsPublicationDate'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('occupants')) {
+ obj['occupants'] = ApiClient.convertToType(data['occupants'], 'Number');
+ }
+ if (data.hasOwnProperty('organization')) {
+ obj['organization'] = ApiClient.convertToType(data['organization'], 'String');
+ }
+ if (data.hasOwnProperty('popularity')) {
+ obj['popularity'] = ApiClient.convertToType(data['popularity'], 'Number');
+ }
+ if (data.hasOwnProperty('publicationDate')) {
+ obj['publicationDate'] = ApiClient.convertToType(data['publicationDate'], 'String');
+ }
+ if (data.hasOwnProperty('releaseStatus')) {
+ obj['releaseStatus'] = ReleaseStatus.constructFromObject(data['releaseStatus']);
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ if (data.hasOwnProperty('thumbnailImageUrl')) {
+ obj['thumbnailImageUrl'] = ApiClient.convertToType(data['thumbnailImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('unityPackages')) {
+ obj['unityPackages'] = ApiClient.convertToType(data['unityPackages'], [Object]);
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} authorId
+ */
+LimitedWorld.prototype['authorId'] = undefined;
+
+/**
+ * @member {String} authorName
+ */
+LimitedWorld.prototype['authorName'] = undefined;
+
+/**
+ * @member {Number} capacity
+ */
+LimitedWorld.prototype['capacity'] = undefined;
+
+/**
+ * @member {Date} created_at
+ */
+LimitedWorld.prototype['created_at'] = undefined;
+
+/**
+ * @member {Number} favorites
+ */
+LimitedWorld.prototype['favorites'] = undefined;
+
+/**
+ * @member {Number} heat
+ */
+LimitedWorld.prototype['heat'] = undefined;
+
+/**
+ * @member {String} id
+ */
+LimitedWorld.prototype['id'] = undefined;
+
+/**
+ * @member {String} imageUrl
+ */
+LimitedWorld.prototype['imageUrl'] = undefined;
+
+/**
+ * @member {String} labsPublicationDate
+ */
+LimitedWorld.prototype['labsPublicationDate'] = undefined;
+
+/**
+ * @member {String} name
+ */
+LimitedWorld.prototype['name'] = undefined;
+
+/**
+ * @member {Number} occupants
+ */
+LimitedWorld.prototype['occupants'] = undefined;
+
+/**
+ * @member {String} organization
+ */
+LimitedWorld.prototype['organization'] = undefined;
+
+/**
+ * @member {Number} popularity
+ */
+LimitedWorld.prototype['popularity'] = undefined;
+
+/**
+ * @member {String} publicationDate
+ */
+LimitedWorld.prototype['publicationDate'] = undefined;
+
+/**
+ * @member {module:model/ReleaseStatus} releaseStatus
+ */
+LimitedWorld.prototype['releaseStatus'] = undefined;
+
+/**
+ * @member {Array.} tags
+ */
+LimitedWorld.prototype['tags'] = undefined;
+
+/**
+ * @member {String} thumbnailImageUrl
+ */
+LimitedWorld.prototype['thumbnailImageUrl'] = undefined;
+
+/**
+ * @member {Array.} unityPackages
+ */
+LimitedWorld.prototype['unityPackages'] = undefined;
+
+/**
+ * @member {Date} updated_at
+ */
+LimitedWorld.prototype['updated_at'] = undefined;
+
+
+
+
+
+
+export default LimitedWorld;
+
diff --git a/src/model/MIMEType.js b/src/model/MIMEType.js
new file mode 100644
index 0000000..560ab65
--- /dev/null
+++ b/src/model/MIMEType.js
@@ -0,0 +1,130 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class MIMEType.
+* @enum {}
+* @readonly
+*/
+export default class MIMEType {
+
+ /**
+ * value: "image⁄jpeg"
+ * @const
+ */
+ "image⁄jpeg" = "image⁄jpeg";
+
+
+ /**
+ * value: "image⁄jpg"
+ * @const
+ */
+ "image⁄jpg" = "image⁄jpg";
+
+
+ /**
+ * value: "image⁄png"
+ * @const
+ */
+ "image⁄png" = "image⁄png";
+
+
+ /**
+ * value: "image⁄webp"
+ * @const
+ */
+ "image⁄webp" = "image⁄webp";
+
+
+ /**
+ * value: "image⁄gif"
+ * @const
+ */
+ "image⁄gif" = "image⁄gif";
+
+
+ /**
+ * value: "image⁄bmp"
+ * @const
+ */
+ "image⁄bmp" = "image⁄bmp";
+
+
+ /**
+ * value: "image⁄svg+xml"
+ * @const
+ */
+ "image⁄svg+xml" = "image⁄svg+xml";
+
+
+ /**
+ * value: "image⁄tiff"
+ * @const
+ */
+ "image⁄tiff" = "image⁄tiff";
+
+
+ /**
+ * value: "application⁄x-avatar"
+ * @const
+ */
+ "application⁄x-avatar" = "application⁄x-avatar";
+
+
+ /**
+ * value: "application⁄x-world"
+ * @const
+ */
+ "application⁄x-world" = "application⁄x-world";
+
+
+ /**
+ * value: "application⁄gzip"
+ * @const
+ */
+ "application⁄gzip" = "application⁄gzip";
+
+
+ /**
+ * value: "application/x-rsync-signature"
+ * @const
+ */
+ "application/x-rsync-signature" = "application/x-rsync-signature";
+
+
+ /**
+ * value: "application/x-rsync-delta"
+ * @const
+ */
+ "application/x-rsync-delta" = "application/x-rsync-delta";
+
+
+ /**
+ * value: "application/octet-stream"
+ * @const
+ */
+ "application/octet-stream" = "application/octet-stream";
+
+
+
+ /**
+ * Returns a MIMEType enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/MIMEType} The enum MIMEType value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/Notification.js b/src/model/Notification.js
new file mode 100644
index 0000000..4bd979e
--- /dev/null
+++ b/src/model/Notification.js
@@ -0,0 +1,149 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import NotificationType from './NotificationType';
+
+/**
+ * The Notification model module.
+ * @module model/Notification
+ * @version 1.0.0
+ */
+class Notification {
+ /**
+ * Constructs a new Notification.
+ *
+ * @alias module:model/Notification
+ * @param id {String}
+ * @param senderUserId {String}
+ * @param senderUsername {String}
+ * @param type {module:model/NotificationType}
+ * @param message {String}
+ * @param details {String} **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
+ * @param seen {Boolean}
+ * @param createdAt {Date}
+ */
+ constructor(id, senderUserId, senderUsername, type, message, details, seen, createdAt) {
+
+ Notification.initialize(this, id, senderUserId, senderUsername, type, message, details, seen, createdAt);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id, senderUserId, senderUsername, type, message, details, seen, createdAt) {
+ obj['id'] = id;
+ obj['senderUserId'] = senderUserId;
+ obj['senderUsername'] = senderUsername;
+ obj['type'] = type;
+ obj['message'] = message;
+ obj['details'] = details || '{}';
+ obj['seen'] = seen || false;
+ obj['created_at'] = createdAt;
+ }
+
+ /**
+ * Constructs a Notification from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Notification} obj Optional instance to populate.
+ * @return {module:model/Notification} The populated Notification instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Notification();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('senderUserId')) {
+ obj['senderUserId'] = ApiClient.convertToType(data['senderUserId'], 'String');
+ }
+ if (data.hasOwnProperty('senderUsername')) {
+ obj['senderUsername'] = ApiClient.convertToType(data['senderUsername'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = NotificationType.constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('message')) {
+ obj['message'] = ApiClient.convertToType(data['message'], 'String');
+ }
+ if (data.hasOwnProperty('details')) {
+ obj['details'] = ApiClient.convertToType(data['details'], 'String');
+ }
+ if (data.hasOwnProperty('seen')) {
+ obj['seen'] = ApiClient.convertToType(data['seen'], 'Boolean');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+Notification.prototype['id'] = undefined;
+
+/**
+ * @member {String} senderUserId
+ */
+Notification.prototype['senderUserId'] = undefined;
+
+/**
+ * @member {String} senderUsername
+ */
+Notification.prototype['senderUsername'] = undefined;
+
+/**
+ * @member {module:model/NotificationType} type
+ */
+Notification.prototype['type'] = undefined;
+
+/**
+ *
+ * @member {String} message
+ */
+Notification.prototype['message'] = undefined;
+
+/**
+ * **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
+ * @member {String} details
+ * @default '{}'
+ */
+Notification.prototype['details'] = '{}';
+
+/**
+ * @member {Boolean} seen
+ * @default false
+ */
+Notification.prototype['seen'] = false;
+
+/**
+ * @member {Date} created_at
+ */
+Notification.prototype['created_at'] = undefined;
+
+
+
+
+
+
+export default Notification;
+
diff --git a/src/model/NotificationType.js b/src/model/NotificationType.js
new file mode 100644
index 0000000..249c83a
--- /dev/null
+++ b/src/model/NotificationType.js
@@ -0,0 +1,81 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class NotificationType.
+* @enum {}
+* @readonly
+*/
+export default class NotificationType {
+
+ /**
+ * value: "all"
+ * @const
+ */
+ "all" = "all";
+
+
+ /**
+ * value: "broadcast"
+ * @const
+ */
+ "broadcast" = "broadcast";
+
+
+ /**
+ * value: "friendRequest"
+ * @const
+ */
+ "friendRequest" = "friendRequest";
+
+
+ /**
+ * value: "invite"
+ * @const
+ */
+ "invite" = "invite";
+
+
+ /**
+ * value: "message"
+ * @const
+ */
+ "message" = "message";
+
+
+ /**
+ * value: "RequestInvite"
+ * @const
+ */
+ "RequestInvite" = "RequestInvite";
+
+
+ /**
+ * value: "votetokick"
+ * @const
+ */
+ "votetokick" = "votetokick";
+
+
+
+ /**
+ * Returns a NotificationType enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/NotificationType} The enum NotificationType value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/ReleaseStatus.js b/src/model/ReleaseStatus.js
new file mode 100644
index 0000000..4c1083f
--- /dev/null
+++ b/src/model/ReleaseStatus.js
@@ -0,0 +1,53 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class ReleaseStatus.
+* @enum {}
+* @readonly
+*/
+export default class ReleaseStatus {
+
+ /**
+ * value: "public"
+ * @const
+ */
+ "public" = "public";
+
+
+ /**
+ * value: "private"
+ * @const
+ */
+ "private" = "private";
+
+
+ /**
+ * value: "hidden"
+ * @const
+ */
+ "hidden" = "hidden";
+
+
+
+ /**
+ * Returns a ReleaseStatus enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/ReleaseStatus} The enum ReleaseStatus value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/Response.js b/src/model/Response.js
new file mode 100644
index 0000000..6590779
--- /dev/null
+++ b/src/model/Response.js
@@ -0,0 +1,83 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Response model module.
+ * @module model/Response
+ * @version 1.0.0
+ */
+class Response {
+ /**
+ * Constructs a new Response.
+ * @alias module:model/Response
+ * @param message {String}
+ * @param statusCode {Number}
+ */
+ constructor(message, statusCode) {
+
+ Response.initialize(this, message, statusCode);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, message, statusCode) {
+ obj['message'] = message;
+ obj['status_code'] = statusCode;
+ }
+
+ /**
+ * Constructs a Response from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Response} obj Optional instance to populate.
+ * @return {module:model/Response} The populated Response instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Response();
+
+ if (data.hasOwnProperty('message')) {
+ obj['message'] = ApiClient.convertToType(data['message'], 'String');
+ }
+ if (data.hasOwnProperty('status_code')) {
+ obj['status_code'] = ApiClient.convertToType(data['status_code'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} message
+ */
+Response.prototype['message'] = undefined;
+
+/**
+ * @member {Number} status_code
+ */
+Response.prototype['status_code'] = undefined;
+
+
+
+
+
+
+export default Response;
+
diff --git a/src/model/Success.js b/src/model/Success.js
new file mode 100644
index 0000000..0c990d1
--- /dev/null
+++ b/src/model/Success.js
@@ -0,0 +1,72 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Response from './Response';
+
+/**
+ * The Success model module.
+ * @module model/Success
+ * @version 1.0.0
+ */
+class Success {
+ /**
+ * Constructs a new Success.
+ * @alias module:model/Success
+ */
+ constructor() {
+
+ Success.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Success from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Success} obj Optional instance to populate.
+ * @return {module:model/Success} The populated Success instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Success();
+
+ if (data.hasOwnProperty('success')) {
+ obj['success'] = Response.constructFromObject(data['success']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Response} success
+ */
+Success.prototype['success'] = undefined;
+
+
+
+
+
+
+export default Success;
+
diff --git a/src/model/User.js b/src/model/User.js
new file mode 100644
index 0000000..71fd633
--- /dev/null
+++ b/src/model/User.js
@@ -0,0 +1,300 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeveloperType from './DeveloperType';
+import UserState from './UserState';
+import UserStatus from './UserStatus';
+
+/**
+ * The User model module.
+ * @module model/User
+ * @version 1.0.0
+ */
+class User {
+ /**
+ * Constructs a new User.
+ * @alias module:model/User
+ * @param id {String}
+ * @param username {String}
+ * @param displayName {String}
+ * @param userIcon {String}
+ * @param bio {String}
+ * @param bioLinks {Array.}
+ * @param profilePicOverride {String}
+ * @param statusDescription {String}
+ * @param currentAvatarImageUrl {String}
+ * @param currentAvatarThumbnailImageUrl {String}
+ * @param fallbackAvatar {String}
+ * @param state {module:model/UserState}
+ * @param tags {Array.}
+ * @param developerType {module:model/DeveloperType}
+ * @param lastLogin {Date}
+ * @param lastPlatform {String}
+ * @param allowAvatarCopying {Boolean}
+ * @param status {module:model/UserStatus}
+ * @param dateJoined {Date}
+ * @param isFriend {Boolean}
+ * @param friendKey {String}
+ */
+ constructor(id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey) {
+
+ User.initialize(this, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey) {
+ obj['id'] = id;
+ obj['username'] = username;
+ obj['displayName'] = displayName;
+ obj['userIcon'] = userIcon;
+ obj['bio'] = bio;
+ obj['bioLinks'] = bioLinks;
+ obj['profilePicOverride'] = profilePicOverride;
+ obj['statusDescription'] = statusDescription;
+ obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
+ obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
+ obj['fallbackAvatar'] = fallbackAvatar;
+ obj['state'] = state;
+ obj['tags'] = tags;
+ obj['developerType'] = developerType;
+ obj['last_login'] = lastLogin;
+ obj['last_platform'] = lastPlatform;
+ obj['allowAvatarCopying'] = allowAvatarCopying;
+ obj['status'] = status;
+ obj['date_joined'] = dateJoined;
+ obj['isFriend'] = isFriend;
+ obj['friendKey'] = friendKey;
+ }
+
+ /**
+ * Constructs a User from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/User} obj Optional instance to populate.
+ * @return {module:model/User} The populated User instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new User();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = ApiClient.convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('displayName')) {
+ obj['displayName'] = ApiClient.convertToType(data['displayName'], 'String');
+ }
+ if (data.hasOwnProperty('userIcon')) {
+ obj['userIcon'] = ApiClient.convertToType(data['userIcon'], 'String');
+ }
+ if (data.hasOwnProperty('bio')) {
+ obj['bio'] = ApiClient.convertToType(data['bio'], 'String');
+ }
+ if (data.hasOwnProperty('bioLinks')) {
+ obj['bioLinks'] = ApiClient.convertToType(data['bioLinks'], ['String']);
+ }
+ if (data.hasOwnProperty('profilePicOverride')) {
+ obj['profilePicOverride'] = ApiClient.convertToType(data['profilePicOverride'], 'String');
+ }
+ if (data.hasOwnProperty('statusDescription')) {
+ obj['statusDescription'] = ApiClient.convertToType(data['statusDescription'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatarImageUrl')) {
+ obj['currentAvatarImageUrl'] = ApiClient.convertToType(data['currentAvatarImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
+ obj['currentAvatarThumbnailImageUrl'] = ApiClient.convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('fallbackAvatar')) {
+ obj['fallbackAvatar'] = ApiClient.convertToType(data['fallbackAvatar'], 'String');
+ }
+ if (data.hasOwnProperty('state')) {
+ obj['state'] = UserState.constructFromObject(data['state']);
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ if (data.hasOwnProperty('developerType')) {
+ obj['developerType'] = DeveloperType.constructFromObject(data['developerType']);
+ }
+ if (data.hasOwnProperty('last_login')) {
+ obj['last_login'] = ApiClient.convertToType(data['last_login'], 'Date');
+ }
+ if (data.hasOwnProperty('last_platform')) {
+ obj['last_platform'] = ApiClient.convertToType(data['last_platform'], 'String');
+ }
+ if (data.hasOwnProperty('allowAvatarCopying')) {
+ obj['allowAvatarCopying'] = ApiClient.convertToType(data['allowAvatarCopying'], 'Boolean');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = UserStatus.constructFromObject(data['status']);
+ }
+ if (data.hasOwnProperty('date_joined')) {
+ obj['date_joined'] = ApiClient.convertToType(data['date_joined'], 'Date');
+ }
+ if (data.hasOwnProperty('isFriend')) {
+ obj['isFriend'] = ApiClient.convertToType(data['isFriend'], 'Boolean');
+ }
+ if (data.hasOwnProperty('friendKey')) {
+ obj['friendKey'] = ApiClient.convertToType(data['friendKey'], 'String');
+ }
+ if (data.hasOwnProperty('worldId')) {
+ obj['worldId'] = ApiClient.convertToType(data['worldId'], 'String');
+ }
+ if (data.hasOwnProperty('instanceId')) {
+ obj['instanceId'] = ApiClient.convertToType(data['instanceId'], 'String');
+ }
+ if (data.hasOwnProperty('location')) {
+ obj['location'] = ApiClient.convertToType(data['location'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+User.prototype['id'] = undefined;
+
+/**
+ * @member {String} username
+ */
+User.prototype['username'] = undefined;
+
+/**
+ * @member {String} displayName
+ */
+User.prototype['displayName'] = undefined;
+
+/**
+ * @member {String} userIcon
+ */
+User.prototype['userIcon'] = undefined;
+
+/**
+ * @member {String} bio
+ */
+User.prototype['bio'] = undefined;
+
+/**
+ * @member {Array.} bioLinks
+ */
+User.prototype['bioLinks'] = undefined;
+
+/**
+ * @member {String} profilePicOverride
+ */
+User.prototype['profilePicOverride'] = undefined;
+
+/**
+ * @member {String} statusDescription
+ */
+User.prototype['statusDescription'] = undefined;
+
+/**
+ * @member {String} currentAvatarImageUrl
+ */
+User.prototype['currentAvatarImageUrl'] = undefined;
+
+/**
+ * @member {String} currentAvatarThumbnailImageUrl
+ */
+User.prototype['currentAvatarThumbnailImageUrl'] = undefined;
+
+/**
+ * @member {String} fallbackAvatar
+ */
+User.prototype['fallbackAvatar'] = undefined;
+
+/**
+ * @member {module:model/UserState} state
+ */
+User.prototype['state'] = undefined;
+
+/**
+ * @member {Array.} tags
+ */
+User.prototype['tags'] = undefined;
+
+/**
+ * @member {module:model/DeveloperType} developerType
+ */
+User.prototype['developerType'] = undefined;
+
+/**
+ * @member {Date} last_login
+ */
+User.prototype['last_login'] = undefined;
+
+/**
+ * @member {String} last_platform
+ */
+User.prototype['last_platform'] = undefined;
+
+/**
+ * @member {Boolean} allowAvatarCopying
+ */
+User.prototype['allowAvatarCopying'] = undefined;
+
+/**
+ * @member {module:model/UserStatus} status
+ */
+User.prototype['status'] = undefined;
+
+/**
+ * @member {Date} date_joined
+ */
+User.prototype['date_joined'] = undefined;
+
+/**
+ * @member {Boolean} isFriend
+ */
+User.prototype['isFriend'] = undefined;
+
+/**
+ * @member {String} friendKey
+ */
+User.prototype['friendKey'] = undefined;
+
+/**
+ * @member {String} worldId
+ */
+User.prototype['worldId'] = undefined;
+
+/**
+ * @member {String} instanceId
+ */
+User.prototype['instanceId'] = undefined;
+
+/**
+ * @member {String} location
+ */
+User.prototype['location'] = undefined;
+
+
+
+
+
+
+export default User;
+
diff --git a/src/model/UserState.js b/src/model/UserState.js
new file mode 100644
index 0000000..c8c979c
--- /dev/null
+++ b/src/model/UserState.js
@@ -0,0 +1,53 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class UserState.
+* @enum {}
+* @readonly
+*/
+export default class UserState {
+
+ /**
+ * value: "offline"
+ * @const
+ */
+ "offline" = "offline";
+
+
+ /**
+ * value: "active"
+ * @const
+ */
+ "active" = "active";
+
+
+ /**
+ * value: "online"
+ * @const
+ */
+ "online" = "online";
+
+
+
+ /**
+ * Returns a UserState enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/UserState} The enum UserState value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/src/model/UserStatus.js b/src/model/UserStatus.js
new file mode 100644
index 0000000..60ccac1
--- /dev/null
+++ b/src/model/UserStatus.js
@@ -0,0 +1,67 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+/**
+* Enum class UserStatus.
+* @enum {}
+* @readonly
+*/
+export default class UserStatus {
+
+ /**
+ * value: "active"
+ * @const
+ */
+ "active" = "active";
+
+
+ /**
+ * value: "join me"
+ * @const
+ */
+ "join me" = "join me";
+
+
+ /**
+ * value: "ask me"
+ * @const
+ */
+ "ask me" = "ask me";
+
+
+ /**
+ * value: "busy"
+ * @const
+ */
+ "busy" = "busy";
+
+
+ /**
+ * value: "offline"
+ * @const
+ */
+ "offline" = "offline";
+
+
+
+ /**
+ * Returns a UserStatus enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/UserStatus} The enum UserStatus value.
+ */
+ static constructFromObject(object) {
+ return object;
+ }
+}
+
diff --git a/test/api/AuthenticationApi.spec.js b/test/api/AuthenticationApi.spec.js
new file mode 100644
index 0000000..3ec9f46
--- /dev/null
+++ b/test/api/AuthenticationApi.spec.js
@@ -0,0 +1,113 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.AuthenticationApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('AuthenticationApi', function() {
+ describe('deleteUserById', function() {
+ it('should call deleteUserById successfully', function(done) {
+ //uncomment below and update the code to test deleteUserById
+ //instance.deleteUserById(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getCurrentUser', function() {
+ it('should call getCurrentUser successfully', function(done) {
+ //uncomment below and update the code to test getCurrentUser
+ //instance.getCurrentUser(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('logout', function() {
+ it('should call logout successfully', function(done) {
+ //uncomment below and update the code to test logout
+ //instance.logout(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('verify2FA', function() {
+ it('should call verify2FA successfully', function(done) {
+ //uncomment below and update the code to test verify2FA
+ //instance.verify2FA(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('verifyAuthToken', function() {
+ it('should call verifyAuthToken successfully', function(done) {
+ //uncomment below and update the code to test verifyAuthToken
+ //instance.verifyAuthToken(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('verifyRecoveryCode', function() {
+ it('should call verifyRecoveryCode successfully', function(done) {
+ //uncomment below and update the code to test verifyRecoveryCode
+ //instance.verifyRecoveryCode(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/api/FilesApi.spec.js b/test/api/FilesApi.spec.js
new file mode 100644
index 0000000..d329214
--- /dev/null
+++ b/test/api/FilesApi.spec.js
@@ -0,0 +1,153 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.FilesApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FilesApi', function() {
+ describe('createFile', function() {
+ it('should call createFile successfully', function(done) {
+ //uncomment below and update the code to test createFile
+ //instance.createFile(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('createFileVersion', function() {
+ it('should call createFileVersion successfully', function(done) {
+ //uncomment below and update the code to test createFileVersion
+ //instance.createFileVersion(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteFile', function() {
+ it('should call deleteFile successfully', function(done) {
+ //uncomment below and update the code to test deleteFile
+ //instance.deleteFile(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteFileVersion', function() {
+ it('should call deleteFileVersion successfully', function(done) {
+ //uncomment below and update the code to test deleteFileVersion
+ //instance.deleteFileVersion(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('downloadFileVersion', function() {
+ it('should call downloadFileVersion successfully', function(done) {
+ //uncomment below and update the code to test downloadFileVersion
+ //instance.downloadFileVersion(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('finishFileDataUpload', function() {
+ it('should call finishFileDataUpload successfully', function(done) {
+ //uncomment below and update the code to test finishFileDataUpload
+ //instance.finishFileDataUpload(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getFile', function() {
+ it('should call getFile successfully', function(done) {
+ //uncomment below and update the code to test getFile
+ //instance.getFile(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getFileDataUploadStatus', function() {
+ it('should call getFileDataUploadStatus successfully', function(done) {
+ //uncomment below and update the code to test getFileDataUploadStatus
+ //instance.getFileDataUploadStatus(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getFiles', function() {
+ it('should call getFiles successfully', function(done) {
+ //uncomment below and update the code to test getFiles
+ //instance.getFiles(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('startFileDataUpload', function() {
+ it('should call startFileDataUpload successfully', function(done) {
+ //uncomment below and update the code to test startFileDataUpload
+ //instance.startFileDataUpload(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/api/FriendsApi.spec.js b/test/api/FriendsApi.spec.js
new file mode 100644
index 0000000..1cf8492
--- /dev/null
+++ b/test/api/FriendsApi.spec.js
@@ -0,0 +1,103 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.FriendsApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FriendsApi', function() {
+ describe('deleteFriendRequest', function() {
+ it('should call deleteFriendRequest successfully', function(done) {
+ //uncomment below and update the code to test deleteFriendRequest
+ //instance.deleteFriendRequest(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('friend', function() {
+ it('should call friend successfully', function(done) {
+ //uncomment below and update the code to test friend
+ //instance.friend(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getFriendStatus', function() {
+ it('should call getFriendStatus successfully', function(done) {
+ //uncomment below and update the code to test getFriendStatus
+ //instance.getFriendStatus(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getFriends', function() {
+ it('should call getFriends successfully', function(done) {
+ //uncomment below and update the code to test getFriends
+ //instance.getFriends(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('unfriend', function() {
+ it('should call unfriend successfully', function(done) {
+ //uncomment below and update the code to test unfriend
+ //instance.unfriend(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/api/NotificationsApi.spec.js b/test/api/NotificationsApi.spec.js
new file mode 100644
index 0000000..c31f3be
--- /dev/null
+++ b/test/api/NotificationsApi.spec.js
@@ -0,0 +1,103 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.NotificationsApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('NotificationsApi', function() {
+ describe('acceptFriendRequest', function() {
+ it('should call acceptFriendRequest successfully', function(done) {
+ //uncomment below and update the code to test acceptFriendRequest
+ //instance.acceptFriendRequest(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('clearNotifications', function() {
+ it('should call clearNotifications successfully', function(done) {
+ //uncomment below and update the code to test clearNotifications
+ //instance.clearNotifications(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteNotification', function() {
+ it('should call deleteNotification successfully', function(done) {
+ //uncomment below and update the code to test deleteNotification
+ //instance.deleteNotification(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getNotifications', function() {
+ it('should call getNotifications successfully', function(done) {
+ //uncomment below and update the code to test getNotifications
+ //instance.getNotifications(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('markNotificationAsRead', function() {
+ it('should call markNotificationAsRead successfully', function(done) {
+ //uncomment below and update the code to test markNotificationAsRead
+ //instance.markNotificationAsRead(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/api/SystemApi.spec.js b/test/api/SystemApi.spec.js
new file mode 100644
index 0000000..055e9dd
--- /dev/null
+++ b/test/api/SystemApi.spec.js
@@ -0,0 +1,93 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.SystemApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('SystemApi', function() {
+ describe('getConfig', function() {
+ it('should call getConfig successfully', function(done) {
+ //uncomment below and update the code to test getConfig
+ //instance.getConfig(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getCurrentOnlineUsers', function() {
+ it('should call getCurrentOnlineUsers successfully', function(done) {
+ //uncomment below and update the code to test getCurrentOnlineUsers
+ //instance.getCurrentOnlineUsers(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getHealth', function() {
+ it('should call getHealth successfully', function(done) {
+ //uncomment below and update the code to test getHealth
+ //instance.getHealth(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getSystemTime', function() {
+ it('should call getSystemTime successfully', function(done) {
+ //uncomment below and update the code to test getSystemTime
+ //instance.getSystemTime(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/api/UsersApi.spec.js b/test/api/UsersApi.spec.js
new file mode 100644
index 0000000..f206516
--- /dev/null
+++ b/test/api/UsersApi.spec.js
@@ -0,0 +1,103 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.UsersApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UsersApi', function() {
+ describe('getUser', function() {
+ it('should call getUser successfully', function(done) {
+ //uncomment below and update the code to test getUser
+ //instance.getUser(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getUserByName', function() {
+ it('should call getUserByName successfully', function(done) {
+ //uncomment below and update the code to test getUserByName
+ //instance.getUserByName(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('searchActiveUsers', function() {
+ it('should call searchActiveUsers successfully', function(done) {
+ //uncomment below and update the code to test searchActiveUsers
+ //instance.searchActiveUsers(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('searchUsers', function() {
+ it('should call searchUsers successfully', function(done) {
+ //uncomment below and update the code to test searchUsers
+ //instance.searchUsers(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('updateUser', function() {
+ it('should call updateUser successfully', function(done) {
+ //uncomment below and update the code to test updateUser
+ //instance.updateUser(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/api/WorldsApi.spec.js b/test/api/WorldsApi.spec.js
new file mode 100644
index 0000000..67413cb
--- /dev/null
+++ b/test/api/WorldsApi.spec.js
@@ -0,0 +1,63 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.WorldsApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('WorldsApi', function() {
+ describe('searchWorlds', function() {
+ it('should call searchWorlds successfully', function(done) {
+ //uncomment below and update the code to test searchWorlds
+ //instance.searchWorlds(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/test/model/Config.spec.js b/test/model/Config.spec.js
new file mode 100644
index 0000000..ad3a73c
--- /dev/null
+++ b/test/model/Config.spec.js
@@ -0,0 +1,509 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.Config();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Config', function() {
+ it('should create an instance of Config', function() {
+ // uncomment below and update the code to test Config
+ //var instane = new vrchatapi.Config();
+ //expect(instance).to.be.a(vrchatapi.Config);
+ });
+
+ it('should have the property address (base name: "address")', function() {
+ // uncomment below and update the code to test the property address
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property announcements (base name: "announcements")', function() {
+ // uncomment below and update the code to test the property announcements
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property apiKey (base name: "apiKey")', function() {
+ // uncomment below and update the code to test the property apiKey
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property appName (base name: "appName")', function() {
+ // uncomment below and update the code to test the property appName
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property buildVersionTag (base name: "buildVersionTag")', function() {
+ // uncomment below and update the code to test the property buildVersionTag
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property clientApiKey (base name: "clientApiKey")', function() {
+ // uncomment below and update the code to test the property clientApiKey
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property clientBPSCeiling (base name: "clientBPSCeiling")', function() {
+ // uncomment below and update the code to test the property clientBPSCeiling
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property clientDisconnectTimeout (base name: "clientDisconnectTimeout")', function() {
+ // uncomment below and update the code to test the property clientDisconnectTimeout
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property clientReservedPlayerBPS (base name: "clientReservedPlayerBPS")', function() {
+ // uncomment below and update the code to test the property clientReservedPlayerBPS
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property clientSentCountAllowance (base name: "clientSentCountAllowance")', function() {
+ // uncomment below and update the code to test the property clientSentCountAllowance
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property contactEmail (base name: "contactEmail")', function() {
+ // uncomment below and update the code to test the property contactEmail
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property copyrightEmail (base name: "copyrightEmail")', function() {
+ // uncomment below and update the code to test the property copyrightEmail
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentTOSVersion (base name: "currentTOSVersion")', function() {
+ // uncomment below and update the code to test the property currentTOSVersion
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property defaultAvatar (base name: "defaultAvatar")', function() {
+ // uncomment below and update the code to test the property defaultAvatar
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property deploymentGroup (base name: "deploymentGroup")', function() {
+ // uncomment below and update the code to test the property deploymentGroup
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property devAppVersionStandalone (base name: "devAppVersionStandalone")', function() {
+ // uncomment below and update the code to test the property devAppVersionStandalone
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property devDownloadLinkWindows (base name: "devDownloadLinkWindows")', function() {
+ // uncomment below and update the code to test the property devDownloadLinkWindows
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property devSdkUrl (base name: "devSdkUrl")', function() {
+ // uncomment below and update the code to test the property devSdkUrl
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property devSdkVersion (base name: "devSdkVersion")', function() {
+ // uncomment below and update the code to test the property devSdkVersion
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property devServerVersionStandalone (base name: "devServerVersionStandalone")', function() {
+ // uncomment below and update the code to test the property devServerVersionStandalone
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableAvatarCopying (base name: "disableAvatarCopying")', function() {
+ // uncomment below and update the code to test the property disableAvatarCopying
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableAvatarGating (base name: "disableAvatarGating")', function() {
+ // uncomment below and update the code to test the property disableAvatarGating
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableCommunityLabs (base name: "disableCommunityLabs")', function() {
+ // uncomment below and update the code to test the property disableCommunityLabs
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableCommunityLabsPromotion (base name: "disableCommunityLabsPromotion")', function() {
+ // uncomment below and update the code to test the property disableCommunityLabsPromotion
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableEmail (base name: "disableEmail")', function() {
+ // uncomment below and update the code to test the property disableEmail
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableEventStream (base name: "disableEventStream")', function() {
+ // uncomment below and update the code to test the property disableEventStream
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableFeedbackGating (base name: "disableFeedbackGating")', function() {
+ // uncomment below and update the code to test the property disableFeedbackGating
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableHello (base name: "disableHello")', function() {
+ // uncomment below and update the code to test the property disableHello
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableRegistration (base name: "disableRegistration")', function() {
+ // uncomment below and update the code to test the property disableRegistration
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableSteamNetworking (base name: "disableSteamNetworking")', function() {
+ // uncomment below and update the code to test the property disableSteamNetworking
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableTwoFactorAuth (base name: "disableTwoFactorAuth")', function() {
+ // uncomment below and update the code to test the property disableTwoFactorAuth
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableUdon (base name: "disableUdon")', function() {
+ // uncomment below and update the code to test the property disableUdon
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property disableUpgradeAccount (base name: "disableUpgradeAccount")', function() {
+ // uncomment below and update the code to test the property disableUpgradeAccount
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property downloadLinkWindows (base name: "downloadLinkWindows")', function() {
+ // uncomment below and update the code to test the property downloadLinkWindows
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property downloadUrls (base name: "downloadUrls")', function() {
+ // uncomment below and update the code to test the property downloadUrls
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property dynamicWorldRows (base name: "dynamicWorldRows")', function() {
+ // uncomment below and update the code to test the property dynamicWorldRows
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property events (base name: "events")', function() {
+ // uncomment below and update the code to test the property events
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property gearDemoRoomId (base name: "gearDemoRoomId")', function() {
+ // uncomment below and update the code to test the property gearDemoRoomId
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property homepageRedirectTarget (base name: "homepageRedirectTarget")', function() {
+ // uncomment below and update the code to test the property homepageRedirectTarget
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property homeWorldId (base name: "homeWorldId")', function() {
+ // uncomment below and update the code to test the property homeWorldId
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property hubWorldId (base name: "hubWorldId")', function() {
+ // uncomment below and update the code to test the property hubWorldId
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property jobsEmail (base name: "jobsEmail")', function() {
+ // uncomment below and update the code to test the property jobsEmail
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property messageOfTheDay (base name: "messageOfTheDay")', function() {
+ // uncomment below and update the code to test the property messageOfTheDay
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property moderationEmail (base name: "moderationEmail")', function() {
+ // uncomment below and update the code to test the property moderationEmail
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property moderationQueryPeriod (base name: "moderationQueryPeriod")', function() {
+ // uncomment below and update the code to test the property moderationQueryPeriod
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property notAllowedToSelectAvatarInPrivateWorldMessage (base name: "notAllowedToSelectAvatarInPrivateWorldMessage")', function() {
+ // uncomment below and update the code to test the property notAllowedToSelectAvatarInPrivateWorldMessage
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property plugin (base name: "plugin")', function() {
+ // uncomment below and update the code to test the property plugin
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property releaseAppVersionStandalone (base name: "releaseAppVersionStandalone")', function() {
+ // uncomment below and update the code to test the property releaseAppVersionStandalone
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property releaseSdkUrl (base name: "releaseSdkUrl")', function() {
+ // uncomment below and update the code to test the property releaseSdkUrl
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property releaseSdkVersion (base name: "releaseSdkVersion")', function() {
+ // uncomment below and update the code to test the property releaseSdkVersion
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property releaseServerVersionStandalone (base name: "releaseServerVersionStandalone")', function() {
+ // uncomment below and update the code to test the property releaseServerVersionStandalone
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sdkDeveloperFaqUrl (base name: "sdkDeveloperFaqUrl")', function() {
+ // uncomment below and update the code to test the property sdkDeveloperFaqUrl
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sdkDiscordUrl (base name: "sdkDiscordUrl")', function() {
+ // uncomment below and update the code to test the property sdkDiscordUrl
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sdkNotAllowedToPublishMessage (base name: "sdkNotAllowedToPublishMessage")', function() {
+ // uncomment below and update the code to test the property sdkNotAllowedToPublishMessage
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sdkUnityVersion (base name: "sdkUnityVersion")', function() {
+ // uncomment below and update the code to test the property sdkUnityVersion
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property serverName (base name: "serverName")', function() {
+ // uncomment below and update the code to test the property serverName
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property supportEmail (base name: "supportEmail")', function() {
+ // uncomment below and update the code to test the property supportEmail
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property timeOutWorldId (base name: "timeOutWorldId")', function() {
+ // uncomment below and update the code to test the property timeOutWorldId
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tutorialWorldId (base name: "tutorialWorldId")', function() {
+ // uncomment below and update the code to test the property tutorialWorldId
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property updateRateMsMaximum (base name: "updateRateMsMaximum")', function() {
+ // uncomment below and update the code to test the property updateRateMsMaximum
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property updateRateMsMinimum (base name: "updateRateMsMinimum")', function() {
+ // uncomment below and update the code to test the property updateRateMsMinimum
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property updateRateMsNormal (base name: "updateRateMsNormal")', function() {
+ // uncomment below and update the code to test the property updateRateMsNormal
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property updateRateMsUdonManual (base name: "updateRateMsUdonManual")', function() {
+ // uncomment below and update the code to test the property updateRateMsUdonManual
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property uploadAnalysisPercent (base name: "uploadAnalysisPercent")', function() {
+ // uncomment below and update the code to test the property uploadAnalysisPercent
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property urlList (base name: "urlList")', function() {
+ // uncomment below and update the code to test the property urlList
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property useReliableUdpForVoice (base name: "useReliableUdpForVoice")', function() {
+ // uncomment below and update the code to test the property useReliableUdpForVoice
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userUpdatePeriod (base name: "userUpdatePeriod")', function() {
+ // uncomment below and update the code to test the property userUpdatePeriod
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userVerificationDelay (base name: "userVerificationDelay")', function() {
+ // uncomment below and update the code to test the property userVerificationDelay
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userVerificationRetry (base name: "userVerificationRetry")', function() {
+ // uncomment below and update the code to test the property userVerificationRetry
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userVerificationTimeout (base name: "userVerificationTimeout")', function() {
+ // uncomment below and update the code to test the property userVerificationTimeout
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property viveWindowsUrl (base name: "viveWindowsUrl")', function() {
+ // uncomment below and update the code to test the property viveWindowsUrl
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property whiteListedAssetUrls (base name: "whiteListedAssetUrls")', function() {
+ // uncomment below and update the code to test the property whiteListedAssetUrls
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property worldUpdatePeriod (base name: "worldUpdatePeriod")', function() {
+ // uncomment below and update the code to test the property worldUpdatePeriod
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property youtubedlHash (base name: "youtubedl-hash")', function() {
+ // uncomment below and update the code to test the property youtubedlHash
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property youtubedlVersion (base name: "youtubedl-version")', function() {
+ // uncomment below and update the code to test the property youtubedlVersion
+ //var instance = new vrchatapi.Config();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/ConfigAnnouncements.spec.js b/test/model/ConfigAnnouncements.spec.js
new file mode 100644
index 0000000..25dbc53
--- /dev/null
+++ b/test/model/ConfigAnnouncements.spec.js
@@ -0,0 +1,71 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.ConfigAnnouncements();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ConfigAnnouncements', function() {
+ it('should create an instance of ConfigAnnouncements', function() {
+ // uncomment below and update the code to test ConfigAnnouncements
+ //var instane = new vrchatapi.ConfigAnnouncements();
+ //expect(instance).to.be.a(vrchatapi.ConfigAnnouncements);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new vrchatapi.ConfigAnnouncements();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property text (base name: "text")', function() {
+ // uncomment below and update the code to test the property text
+ //var instance = new vrchatapi.ConfigAnnouncements();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/ConfigDownloadUrls.spec.js b/test/model/ConfigDownloadUrls.spec.js
new file mode 100644
index 0000000..c5fe1d5
--- /dev/null
+++ b/test/model/ConfigDownloadUrls.spec.js
@@ -0,0 +1,77 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.ConfigDownloadUrls();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ConfigDownloadUrls', function() {
+ it('should create an instance of ConfigDownloadUrls', function() {
+ // uncomment below and update the code to test ConfigDownloadUrls
+ //var instane = new vrchatapi.ConfigDownloadUrls();
+ //expect(instance).to.be.a(vrchatapi.ConfigDownloadUrls);
+ });
+
+ it('should have the property sdk2 (base name: "sdk2")', function() {
+ // uncomment below and update the code to test the property sdk2
+ //var instance = new vrchatapi.ConfigDownloadUrls();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sdk3Avatars (base name: "sdk3-avatars")', function() {
+ // uncomment below and update the code to test the property sdk3Avatars
+ //var instance = new vrchatapi.ConfigDownloadUrls();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sdk3Worlds (base name: "sdk3-worlds")', function() {
+ // uncomment below and update the code to test the property sdk3Worlds
+ //var instance = new vrchatapi.ConfigDownloadUrls();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/ConfigDynamicWorldRows.spec.js b/test/model/ConfigDynamicWorldRows.spec.js
new file mode 100644
index 0000000..2d2871c
--- /dev/null
+++ b/test/model/ConfigDynamicWorldRows.spec.js
@@ -0,0 +1,101 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.ConfigDynamicWorldRows();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ConfigDynamicWorldRows', function() {
+ it('should create an instance of ConfigDynamicWorldRows', function() {
+ // uncomment below and update the code to test ConfigDynamicWorldRows
+ //var instane = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be.a(vrchatapi.ConfigDynamicWorldRows);
+ });
+
+ it('should have the property index (base name: "index")', function() {
+ // uncomment below and update the code to test the property index
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property platform (base name: "platform")', function() {
+ // uncomment below and update the code to test the property platform
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sortHeading (base name: "sortHeading")', function() {
+ // uncomment below and update the code to test the property sortHeading
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sortOrder (base name: "sortOrder")', function() {
+ // uncomment below and update the code to test the property sortOrder
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sortOwnership (base name: "sortOwnership")', function() {
+ // uncomment below and update the code to test the property sortOwnership
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tag (base name: "tag")', function() {
+ // uncomment below and update the code to test the property tag
+ //var instance = new vrchatapi.ConfigDynamicWorldRows();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/ConfigEvents.spec.js b/test/model/ConfigEvents.spec.js
new file mode 100644
index 0000000..ef7f3d2
--- /dev/null
+++ b/test/model/ConfigEvents.spec.js
@@ -0,0 +1,119 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.ConfigEvents();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ConfigEvents', function() {
+ it('should create an instance of ConfigEvents', function() {
+ // uncomment below and update the code to test ConfigEvents
+ //var instane = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be.a(vrchatapi.ConfigEvents);
+ });
+
+ it('should have the property distanceClose (base name: "distanceClose")', function() {
+ // uncomment below and update the code to test the property distanceClose
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property distanceFactor (base name: "distanceFactor")', function() {
+ // uncomment below and update the code to test the property distanceFactor
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property distanceFar (base name: "distanceFar")', function() {
+ // uncomment below and update the code to test the property distanceFar
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property groupDistance (base name: "groupDistance")', function() {
+ // uncomment below and update the code to test the property groupDistance
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property maximumBunchSize (base name: "maximumBunchSize")', function() {
+ // uncomment below and update the code to test the property maximumBunchSize
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property notVisibleFactor (base name: "notVisibleFactor")', function() {
+ // uncomment below and update the code to test the property notVisibleFactor
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property playerOrderBucketSize (base name: "playerOrderBucketSize")', function() {
+ // uncomment below and update the code to test the property playerOrderBucketSize
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property playerOrderFactor (base name: "playerOrderFactor")', function() {
+ // uncomment below and update the code to test the property playerOrderFactor
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property slowUpdateFactorThreshold (base name: "slowUpdateFactorThreshold")', function() {
+ // uncomment below and update the code to test the property slowUpdateFactorThreshold
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property viewSegmentLength (base name: "viewSegmentLength")', function() {
+ // uncomment below and update the code to test the property viewSegmentLength
+ //var instance = new vrchatapi.ConfigEvents();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/CurrentUser.spec.js b/test/model/CurrentUser.spec.js
new file mode 100644
index 0000000..a2b2883
--- /dev/null
+++ b/test/model/CurrentUser.spec.js
@@ -0,0 +1,335 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.CurrentUser();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CurrentUser', function() {
+ it('should create an instance of CurrentUser', function() {
+ // uncomment below and update the code to test CurrentUser
+ //var instane = new vrchatapi.CurrentUser();
+ //expect(instance).to.be.a(vrchatapi.CurrentUser);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property username (base name: "username")', function() {
+ // uncomment below and update the code to test the property username
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property displayName (base name: "displayName")', function() {
+ // uncomment below and update the code to test the property displayName
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userIcon (base name: "userIcon")', function() {
+ // uncomment below and update the code to test the property userIcon
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bio (base name: "bio")', function() {
+ // uncomment below and update the code to test the property bio
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bioLinks (base name: "bioLinks")', function() {
+ // uncomment below and update the code to test the property bioLinks
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property profilePicOverride (base name: "profilePicOverride")', function() {
+ // uncomment below and update the code to test the property profilePicOverride
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusDescription (base name: "statusDescription")', function() {
+ // uncomment below and update the code to test the property statusDescription
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property pastDisplayNames (base name: "pastDisplayNames")', function() {
+ // uncomment below and update the code to test the property pastDisplayNames
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property hasEmail (base name: "hasEmail")', function() {
+ // uncomment below and update the code to test the property hasEmail
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property hasPendingEmail (base name: "hasPendingEmail")', function() {
+ // uncomment below and update the code to test the property hasPendingEmail
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property obfuscatedEmail (base name: "obfuscatedEmail")', function() {
+ // uncomment below and update the code to test the property obfuscatedEmail
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property obfuscatedPendingEmail (base name: "obfuscatedPendingEmail")', function() {
+ // uncomment below and update the code to test the property obfuscatedPendingEmail
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property emailVerified (base name: "emailVerified")', function() {
+ // uncomment below and update the code to test the property emailVerified
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property hasBirthday (base name: "hasBirthday")', function() {
+ // uncomment below and update the code to test the property hasBirthday
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property unsubscribe (base name: "unsubscribe")', function() {
+ // uncomment below and update the code to test the property unsubscribe
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusHistory (base name: "statusHistory")', function() {
+ // uncomment below and update the code to test the property statusHistory
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusFirstTime (base name: "statusFirstTime")', function() {
+ // uncomment below and update the code to test the property statusFirstTime
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property friends (base name: "friends")', function() {
+ // uncomment below and update the code to test the property friends
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property friendGroupNames (base name: "friendGroupNames")', function() {
+ // uncomment below and update the code to test the property friendGroupNames
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarImageUrl (base name: "currentAvatarImageUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarImageUrl
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarThumbnailImageUrl (base name: "currentAvatarThumbnailImageUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarThumbnailImageUrl
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property fallbackAvatar (base name: "fallbackAvatar")', function() {
+ // uncomment below and update the code to test the property fallbackAvatar
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatar (base name: "currentAvatar")', function() {
+ // uncomment below and update the code to test the property currentAvatar
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarAssetUrl (base name: "currentAvatarAssetUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarAssetUrl
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property accountDeletionDate (base name: "accountDeletionDate")', function() {
+ // uncomment below and update the code to test the property accountDeletionDate
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property acceptedTOSVersion (base name: "acceptedTOSVersion")', function() {
+ // uncomment below and update the code to test the property acceptedTOSVersion
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property steamId (base name: "steamId")', function() {
+ // uncomment below and update the code to test the property steamId
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property steamDetails (base name: "steamDetails")', function() {
+ // uncomment below and update the code to test the property steamDetails
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property oculusId (base name: "oculusId")', function() {
+ // uncomment below and update the code to test the property oculusId
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property hasLoggedInFromClient (base name: "hasLoggedInFromClient")', function() {
+ // uncomment below and update the code to test the property hasLoggedInFromClient
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property homeLocation (base name: "homeLocation")', function() {
+ // uncomment below and update the code to test the property homeLocation
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property twoFactorAuthEnabled (base name: "twoFactorAuthEnabled")', function() {
+ // uncomment below and update the code to test the property twoFactorAuthEnabled
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property state (base name: "state")', function() {
+ // uncomment below and update the code to test the property state
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property developerType (base name: "developerType")', function() {
+ // uncomment below and update the code to test the property developerType
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lastLogin (base name: "last_login")', function() {
+ // uncomment below and update the code to test the property lastLogin
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lastPlatform (base name: "last_platform")', function() {
+ // uncomment below and update the code to test the property lastPlatform
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property allowAvatarCopying (base name: "allowAvatarCopying")', function() {
+ // uncomment below and update the code to test the property allowAvatarCopying
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property status (base name: "status")', function() {
+ // uncomment below and update the code to test the property status
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property dateJoined (base name: "date_joined")', function() {
+ // uncomment below and update the code to test the property dateJoined
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isFriend (base name: "isFriend")', function() {
+ // uncomment below and update the code to test the property isFriend
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property friendKey (base name: "friendKey")', function() {
+ // uncomment below and update the code to test the property friendKey
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property onlineFriends (base name: "onlineFriends")', function() {
+ // uncomment below and update the code to test the property onlineFriends
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property activeFriends (base name: "activeFriends")', function() {
+ // uncomment below and update the code to test the property activeFriends
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property offlineFriends (base name: "offlineFriends")', function() {
+ // uncomment below and update the code to test the property offlineFriends
+ //var instance = new vrchatapi.CurrentUser();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/DeploymentGroup.spec.js b/test/model/DeploymentGroup.spec.js
new file mode 100644
index 0000000..30b4c3e
--- /dev/null
+++ b/test/model/DeploymentGroup.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DeploymentGroup', function() {
+ it('should create an instance of DeploymentGroup', function() {
+ // uncomment below and update the code to test DeploymentGroup
+ //var instane = new vrchatapi.DeploymentGroup();
+ //expect(instance).to.be.a(vrchatapi.DeploymentGroup);
+ });
+
+ });
+
+}));
diff --git a/test/model/DeveloperType.spec.js b/test/model/DeveloperType.spec.js
new file mode 100644
index 0000000..ffcbf33
--- /dev/null
+++ b/test/model/DeveloperType.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('DeveloperType', function() {
+ it('should create an instance of DeveloperType', function() {
+ // uncomment below and update the code to test DeveloperType
+ //var instane = new vrchatapi.DeveloperType();
+ //expect(instance).to.be.a(vrchatapi.DeveloperType);
+ });
+
+ });
+
+}));
diff --git a/test/model/Error.spec.js b/test/model/Error.spec.js
new file mode 100644
index 0000000..f709e01
--- /dev/null
+++ b/test/model/Error.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.Error();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Error', function() {
+ it('should create an instance of Error', function() {
+ // uncomment below and update the code to test Error
+ //var instane = new vrchatapi.Error();
+ //expect(instance).to.be.a(vrchatapi.Error);
+ });
+
+ it('should have the property error (base name: "error")', function() {
+ // uncomment below and update the code to test the property error
+ //var instance = new vrchatapi.Error();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/File.spec.js b/test/model/File.spec.js
new file mode 100644
index 0000000..05a01fe
--- /dev/null
+++ b/test/model/File.spec.js
@@ -0,0 +1,101 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.File();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('File', function() {
+ it('should create an instance of File', function() {
+ // uncomment below and update the code to test File
+ //var instane = new vrchatapi.File();
+ //expect(instance).to.be.a(vrchatapi.File);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property ownerId (base name: "ownerId")', function() {
+ // uncomment below and update the code to test the property ownerId
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property mimeType (base name: "mimeType")', function() {
+ // uncomment below and update the code to test the property mimeType
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property extension (base name: "extension")', function() {
+ // uncomment below and update the code to test the property extension
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property versions (base name: "versions")', function() {
+ // uncomment below and update the code to test the property versions
+ //var instance = new vrchatapi.File();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/FileData.spec.js b/test/model/FileData.spec.js
new file mode 100644
index 0000000..f133dfa
--- /dev/null
+++ b/test/model/FileData.spec.js
@@ -0,0 +1,101 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.FileData();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FileData', function() {
+ it('should create an instance of FileData', function() {
+ // uncomment below and update the code to test FileData
+ //var instane = new vrchatapi.FileData();
+ //expect(instance).to.be.a(vrchatapi.FileData);
+ });
+
+ it('should have the property fileName (base name: "fileName")', function() {
+ // uncomment below and update the code to test the property fileName
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property url (base name: "url")', function() {
+ // uncomment below and update the code to test the property url
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property md5 (base name: "md5")', function() {
+ // uncomment below and update the code to test the property md5
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property sizeInBytes (base name: "sizeInBytes")', function() {
+ // uncomment below and update the code to test the property sizeInBytes
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property status (base name: "status")', function() {
+ // uncomment below and update the code to test the property status
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property category (base name: "category")', function() {
+ // uncomment below and update the code to test the property category
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property uploadId (base name: "uploadId")', function() {
+ // uncomment below and update the code to test the property uploadId
+ //var instance = new vrchatapi.FileData();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/FileStatus.spec.js b/test/model/FileStatus.spec.js
new file mode 100644
index 0000000..f668d4f
--- /dev/null
+++ b/test/model/FileStatus.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FileStatus', function() {
+ it('should create an instance of FileStatus', function() {
+ // uncomment below and update the code to test FileStatus
+ //var instane = new vrchatapi.FileStatus();
+ //expect(instance).to.be.a(vrchatapi.FileStatus);
+ });
+
+ });
+
+}));
diff --git a/test/model/FileVersion.spec.js b/test/model/FileVersion.spec.js
new file mode 100644
index 0000000..98c1ece
--- /dev/null
+++ b/test/model/FileVersion.spec.js
@@ -0,0 +1,101 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.FileVersion();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('FileVersion', function() {
+ it('should create an instance of FileVersion', function() {
+ // uncomment below and update the code to test FileVersion
+ //var instane = new vrchatapi.FileVersion();
+ //expect(instance).to.be.a(vrchatapi.FileVersion);
+ });
+
+ it('should have the property version (base name: "version")', function() {
+ // uncomment below and update the code to test the property version
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property status (base name: "status")', function() {
+ // uncomment below and update the code to test the property status
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property createdAt (base name: "created_at")', function() {
+ // uncomment below and update the code to test the property createdAt
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property file (base name: "file")', function() {
+ // uncomment below and update the code to test the property file
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property delta (base name: "delta")', function() {
+ // uncomment below and update the code to test the property delta
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property signature (base name: "signature")', function() {
+ // uncomment below and update the code to test the property signature
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property deleted (base name: "deleted")', function() {
+ // uncomment below and update the code to test the property deleted
+ //var instance = new vrchatapi.FileVersion();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineObject.spec.js b/test/model/InlineObject.spec.js
new file mode 100644
index 0000000..24f32eb
--- /dev/null
+++ b/test/model/InlineObject.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineObject();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineObject', function() {
+ it('should create an instance of InlineObject', function() {
+ // uncomment below and update the code to test InlineObject
+ //var instane = new vrchatapi.InlineObject();
+ //expect(instance).to.be.a(vrchatapi.InlineObject);
+ });
+
+ it('should have the property code (base name: "code")', function() {
+ // uncomment below and update the code to test the property code
+ //var instance = new vrchatapi.InlineObject();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineObject1.spec.js b/test/model/InlineObject1.spec.js
new file mode 100644
index 0000000..6094b44
--- /dev/null
+++ b/test/model/InlineObject1.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineObject1();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineObject1', function() {
+ it('should create an instance of InlineObject1', function() {
+ // uncomment below and update the code to test InlineObject1
+ //var instane = new vrchatapi.InlineObject1();
+ //expect(instance).to.be.a(vrchatapi.InlineObject1);
+ });
+
+ it('should have the property code (base name: "code")', function() {
+ // uncomment below and update the code to test the property code
+ //var instance = new vrchatapi.InlineObject1();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineObject2.spec.js b/test/model/InlineObject2.spec.js
new file mode 100644
index 0000000..db4da73
--- /dev/null
+++ b/test/model/InlineObject2.spec.js
@@ -0,0 +1,113 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineObject2();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineObject2', function() {
+ it('should create an instance of InlineObject2', function() {
+ // uncomment below and update the code to test InlineObject2
+ //var instane = new vrchatapi.InlineObject2();
+ //expect(instance).to.be.a(vrchatapi.InlineObject2);
+ });
+
+ it('should have the property email (base name: "email")', function() {
+ // uncomment below and update the code to test the property email
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property birthday (base name: "birthday")', function() {
+ // uncomment below and update the code to test the property birthday
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property acceptedTOSVersion (base name: "acceptedTOSVersion")', function() {
+ // uncomment below and update the code to test the property acceptedTOSVersion
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property status (base name: "status")', function() {
+ // uncomment below and update the code to test the property status
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusDescription (base name: "statusDescription")', function() {
+ // uncomment below and update the code to test the property statusDescription
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bio (base name: "bio")', function() {
+ // uncomment below and update the code to test the property bio
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bioLinks (base name: "bioLinks")', function() {
+ // uncomment below and update the code to test the property bioLinks
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userIcon (base name: "userIcon")', function() {
+ // uncomment below and update the code to test the property userIcon
+ //var instance = new vrchatapi.InlineObject2();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineObject3.spec.js b/test/model/InlineObject3.spec.js
new file mode 100644
index 0000000..cdee9bb
--- /dev/null
+++ b/test/model/InlineObject3.spec.js
@@ -0,0 +1,83 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineObject3();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineObject3', function() {
+ it('should create an instance of InlineObject3', function() {
+ // uncomment below and update the code to test InlineObject3
+ //var instane = new vrchatapi.InlineObject3();
+ //expect(instance).to.be.a(vrchatapi.InlineObject3);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new vrchatapi.InlineObject3();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property mimeType (base name: "mimeType")', function() {
+ // uncomment below and update the code to test the property mimeType
+ //var instance = new vrchatapi.InlineObject3();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property extension (base name: "extension")', function() {
+ // uncomment below and update the code to test the property extension
+ //var instance = new vrchatapi.InlineObject3();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.InlineObject3();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineObject4.spec.js b/test/model/InlineObject4.spec.js
new file mode 100644
index 0000000..c5eedee
--- /dev/null
+++ b/test/model/InlineObject4.spec.js
@@ -0,0 +1,77 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineObject4();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineObject4', function() {
+ it('should create an instance of InlineObject4', function() {
+ // uncomment below and update the code to test InlineObject4
+ //var instane = new vrchatapi.InlineObject4();
+ //expect(instance).to.be.a(vrchatapi.InlineObject4);
+ });
+
+ it('should have the property etags (base name: "etags")', function() {
+ // uncomment below and update the code to test the property etags
+ //var instance = new vrchatapi.InlineObject4();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property nextPartNumber (base name: "nextPartNumber")', function() {
+ // uncomment below and update the code to test the property nextPartNumber
+ //var instance = new vrchatapi.InlineObject4();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property maxParts (base name: "maxParts")', function() {
+ // uncomment below and update the code to test the property maxParts
+ //var instance = new vrchatapi.InlineObject4();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse200.spec.js b/test/model/InlineResponse200.spec.js
new file mode 100644
index 0000000..4f6138c
--- /dev/null
+++ b/test/model/InlineResponse200.spec.js
@@ -0,0 +1,71 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse200();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse200', function() {
+ it('should create an instance of InlineResponse200', function() {
+ // uncomment below and update the code to test InlineResponse200
+ //var instane = new vrchatapi.InlineResponse200();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse200);
+ });
+
+ it('should have the property ok (base name: "ok")', function() {
+ // uncomment below and update the code to test the property ok
+ //var instance = new vrchatapi.InlineResponse200();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property token (base name: "token")', function() {
+ // uncomment below and update the code to test the property token
+ //var instance = new vrchatapi.InlineResponse200();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse2001.spec.js b/test/model/InlineResponse2001.spec.js
new file mode 100644
index 0000000..ae05402
--- /dev/null
+++ b/test/model/InlineResponse2001.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse2001();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse2001', function() {
+ it('should create an instance of InlineResponse2001', function() {
+ // uncomment below and update the code to test InlineResponse2001
+ //var instane = new vrchatapi.InlineResponse2001();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse2001);
+ });
+
+ it('should have the property verified (base name: "verified")', function() {
+ // uncomment below and update the code to test the property verified
+ //var instance = new vrchatapi.InlineResponse2001();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse2002.spec.js b/test/model/InlineResponse2002.spec.js
new file mode 100644
index 0000000..0b64afb
--- /dev/null
+++ b/test/model/InlineResponse2002.spec.js
@@ -0,0 +1,77 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse2002();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse2002', function() {
+ it('should create an instance of InlineResponse2002', function() {
+ // uncomment below and update the code to test InlineResponse2002
+ //var instane = new vrchatapi.InlineResponse2002();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse2002);
+ });
+
+ it('should have the property ok (base name: "ok")', function() {
+ // uncomment below and update the code to test the property ok
+ //var instance = new vrchatapi.InlineResponse2002();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property serverName (base name: "serverName")', function() {
+ // uncomment below and update the code to test the property serverName
+ //var instance = new vrchatapi.InlineResponse2002();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property buildVersionTag (base name: "buildVersionTag")', function() {
+ // uncomment below and update the code to test the property buildVersionTag
+ //var instance = new vrchatapi.InlineResponse2002();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse2003.spec.js b/test/model/InlineResponse2003.spec.js
new file mode 100644
index 0000000..466c003
--- /dev/null
+++ b/test/model/InlineResponse2003.spec.js
@@ -0,0 +1,77 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse2003();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse2003', function() {
+ it('should create an instance of InlineResponse2003', function() {
+ // uncomment below and update the code to test InlineResponse2003
+ //var instane = new vrchatapi.InlineResponse2003();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse2003);
+ });
+
+ it('should have the property isFriend (base name: "isFriend")', function() {
+ // uncomment below and update the code to test the property isFriend
+ //var instance = new vrchatapi.InlineResponse2003();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property outgoingRequest (base name: "outgoingRequest")', function() {
+ // uncomment below and update the code to test the property outgoingRequest
+ //var instance = new vrchatapi.InlineResponse2003();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property incomingRequest (base name: "incomingRequest")', function() {
+ // uncomment below and update the code to test the property incomingRequest
+ //var instance = new vrchatapi.InlineResponse2003();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse2004.spec.js b/test/model/InlineResponse2004.spec.js
new file mode 100644
index 0000000..9832a4b
--- /dev/null
+++ b/test/model/InlineResponse2004.spec.js
@@ -0,0 +1,95 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse2004();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse2004', function() {
+ it('should create an instance of InlineResponse2004', function() {
+ // uncomment below and update the code to test InlineResponse2004
+ //var instane = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse2004);
+ });
+
+ it('should have the property uploadId (base name: "uploadId")', function() {
+ // uncomment below and update the code to test the property uploadId
+ //var instance = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property fileName (base name: "fileName")', function() {
+ // uncomment below and update the code to test the property fileName
+ //var instance = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property nextPartNumber (base name: "nextPartNumber")', function() {
+ // uncomment below and update the code to test the property nextPartNumber
+ //var instance = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property maxParts (base name: "maxParts")', function() {
+ // uncomment below and update the code to test the property maxParts
+ //var instance = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property parts (base name: "parts")', function() {
+ // uncomment below and update the code to test the property parts
+ //var instance = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property etags (base name: "etags")', function() {
+ // uncomment below and update the code to test the property etags
+ //var instance = new vrchatapi.InlineResponse2004();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse2005.spec.js b/test/model/InlineResponse2005.spec.js
new file mode 100644
index 0000000..3fc4521
--- /dev/null
+++ b/test/model/InlineResponse2005.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse2005();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse2005', function() {
+ it('should create an instance of InlineResponse2005', function() {
+ // uncomment below and update the code to test InlineResponse2005
+ //var instane = new vrchatapi.InlineResponse2005();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse2005);
+ });
+
+ it('should have the property url (base name: "url")', function() {
+ // uncomment below and update the code to test the property url
+ //var instance = new vrchatapi.InlineResponse2005();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/InlineResponse401.spec.js b/test/model/InlineResponse401.spec.js
new file mode 100644
index 0000000..21083ee
--- /dev/null
+++ b/test/model/InlineResponse401.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.InlineResponse401();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('InlineResponse401', function() {
+ it('should create an instance of InlineResponse401', function() {
+ // uncomment below and update the code to test InlineResponse401
+ //var instane = new vrchatapi.InlineResponse401();
+ //expect(instance).to.be.a(vrchatapi.InlineResponse401);
+ });
+
+ it('should have the property error (base name: "error")', function() {
+ // uncomment below and update the code to test the property error
+ //var instance = new vrchatapi.InlineResponse401();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/LimitedUser.spec.js b/test/model/LimitedUser.spec.js
new file mode 100644
index 0000000..63cd38d
--- /dev/null
+++ b/test/model/LimitedUser.spec.js
@@ -0,0 +1,155 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.LimitedUser();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LimitedUser', function() {
+ it('should create an instance of LimitedUser', function() {
+ // uncomment below and update the code to test LimitedUser
+ //var instane = new vrchatapi.LimitedUser();
+ //expect(instance).to.be.a(vrchatapi.LimitedUser);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property username (base name: "username")', function() {
+ // uncomment below and update the code to test the property username
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property displayName (base name: "displayName")', function() {
+ // uncomment below and update the code to test the property displayName
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bio (base name: "bio")', function() {
+ // uncomment below and update the code to test the property bio
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userIcon (base name: "userIcon")', function() {
+ // uncomment below and update the code to test the property userIcon
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property profilePicOverride (base name: "profilePicOverride")', function() {
+ // uncomment below and update the code to test the property profilePicOverride
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusDescription (base name: "statusDescription")', function() {
+ // uncomment below and update the code to test the property statusDescription
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarImageUrl (base name: "currentAvatarImageUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarImageUrl
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarThumbnailImageUrl (base name: "currentAvatarThumbnailImageUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarThumbnailImageUrl
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property fallbackAvatar (base name: "fallbackAvatar")', function() {
+ // uncomment below and update the code to test the property fallbackAvatar
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property developerType (base name: "developerType")', function() {
+ // uncomment below and update the code to test the property developerType
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lastPlatform (base name: "last_platform")', function() {
+ // uncomment below and update the code to test the property lastPlatform
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property status (base name: "status")', function() {
+ // uncomment below and update the code to test the property status
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isFriend (base name: "isFriend")', function() {
+ // uncomment below and update the code to test the property isFriend
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property location (base name: "location")', function() {
+ // uncomment below and update the code to test the property location
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.LimitedUser();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/LimitedWorld.spec.js b/test/model/LimitedWorld.spec.js
new file mode 100644
index 0000000..7892bb4
--- /dev/null
+++ b/test/model/LimitedWorld.spec.js
@@ -0,0 +1,173 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.LimitedWorld();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LimitedWorld', function() {
+ it('should create an instance of LimitedWorld', function() {
+ // uncomment below and update the code to test LimitedWorld
+ //var instane = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be.a(vrchatapi.LimitedWorld);
+ });
+
+ it('should have the property authorId (base name: "authorId")', function() {
+ // uncomment below and update the code to test the property authorId
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property authorName (base name: "authorName")', function() {
+ // uncomment below and update the code to test the property authorName
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property capacity (base name: "capacity")', function() {
+ // uncomment below and update the code to test the property capacity
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property createdAt (base name: "created_at")', function() {
+ // uncomment below and update the code to test the property createdAt
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property favorites (base name: "favorites")', function() {
+ // uncomment below and update the code to test the property favorites
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property heat (base name: "heat")', function() {
+ // uncomment below and update the code to test the property heat
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property imageUrl (base name: "imageUrl")', function() {
+ // uncomment below and update the code to test the property imageUrl
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property labsPublicationDate (base name: "labsPublicationDate")', function() {
+ // uncomment below and update the code to test the property labsPublicationDate
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property occupants (base name: "occupants")', function() {
+ // uncomment below and update the code to test the property occupants
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property organization (base name: "organization")', function() {
+ // uncomment below and update the code to test the property organization
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property popularity (base name: "popularity")', function() {
+ // uncomment below and update the code to test the property popularity
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property publicationDate (base name: "publicationDate")', function() {
+ // uncomment below and update the code to test the property publicationDate
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property releaseStatus (base name: "releaseStatus")', function() {
+ // uncomment below and update the code to test the property releaseStatus
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property thumbnailImageUrl (base name: "thumbnailImageUrl")', function() {
+ // uncomment below and update the code to test the property thumbnailImageUrl
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property unityPackages (base name: "unityPackages")', function() {
+ // uncomment below and update the code to test the property unityPackages
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property updatedAt (base name: "updated_at")', function() {
+ // uncomment below and update the code to test the property updatedAt
+ //var instance = new vrchatapi.LimitedWorld();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/MIMEType.spec.js b/test/model/MIMEType.spec.js
new file mode 100644
index 0000000..757f617
--- /dev/null
+++ b/test/model/MIMEType.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('MIMEType', function() {
+ it('should create an instance of MIMEType', function() {
+ // uncomment below and update the code to test MIMEType
+ //var instane = new vrchatapi.MIMEType();
+ //expect(instance).to.be.a(vrchatapi.MIMEType);
+ });
+
+ });
+
+}));
diff --git a/test/model/Notification.spec.js b/test/model/Notification.spec.js
new file mode 100644
index 0000000..2fcf21b
--- /dev/null
+++ b/test/model/Notification.spec.js
@@ -0,0 +1,107 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.Notification();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Notification', function() {
+ it('should create an instance of Notification', function() {
+ // uncomment below and update the code to test Notification
+ //var instane = new vrchatapi.Notification();
+ //expect(instance).to.be.a(vrchatapi.Notification);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property senderUserId (base name: "senderUserId")', function() {
+ // uncomment below and update the code to test the property senderUserId
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property senderUsername (base name: "senderUsername")', function() {
+ // uncomment below and update the code to test the property senderUsername
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property type (base name: "type")', function() {
+ // uncomment below and update the code to test the property type
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property message (base name: "message")', function() {
+ // uncomment below and update the code to test the property message
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property details (base name: "details")', function() {
+ // uncomment below and update the code to test the property details
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property seen (base name: "seen")', function() {
+ // uncomment below and update the code to test the property seen
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property createdAt (base name: "created_at")', function() {
+ // uncomment below and update the code to test the property createdAt
+ //var instance = new vrchatapi.Notification();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/NotificationType.spec.js b/test/model/NotificationType.spec.js
new file mode 100644
index 0000000..e9eed26
--- /dev/null
+++ b/test/model/NotificationType.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('NotificationType', function() {
+ it('should create an instance of NotificationType', function() {
+ // uncomment below and update the code to test NotificationType
+ //var instane = new vrchatapi.NotificationType();
+ //expect(instance).to.be.a(vrchatapi.NotificationType);
+ });
+
+ });
+
+}));
diff --git a/test/model/ReleaseStatus.spec.js b/test/model/ReleaseStatus.spec.js
new file mode 100644
index 0000000..263150e
--- /dev/null
+++ b/test/model/ReleaseStatus.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ReleaseStatus', function() {
+ it('should create an instance of ReleaseStatus', function() {
+ // uncomment below and update the code to test ReleaseStatus
+ //var instane = new vrchatapi.ReleaseStatus();
+ //expect(instance).to.be.a(vrchatapi.ReleaseStatus);
+ });
+
+ });
+
+}));
diff --git a/test/model/Response.spec.js b/test/model/Response.spec.js
new file mode 100644
index 0000000..063fa62
--- /dev/null
+++ b/test/model/Response.spec.js
@@ -0,0 +1,71 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.Response();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Response', function() {
+ it('should create an instance of Response', function() {
+ // uncomment below and update the code to test Response
+ //var instane = new vrchatapi.Response();
+ //expect(instance).to.be.a(vrchatapi.Response);
+ });
+
+ it('should have the property message (base name: "message")', function() {
+ // uncomment below and update the code to test the property message
+ //var instance = new vrchatapi.Response();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusCode (base name: "status_code")', function() {
+ // uncomment below and update the code to test the property statusCode
+ //var instance = new vrchatapi.Response();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/Success.spec.js b/test/model/Success.spec.js
new file mode 100644
index 0000000..fbab21d
--- /dev/null
+++ b/test/model/Success.spec.js
@@ -0,0 +1,65 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.Success();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Success', function() {
+ it('should create an instance of Success', function() {
+ // uncomment below and update the code to test Success
+ //var instane = new vrchatapi.Success();
+ //expect(instance).to.be.a(vrchatapi.Success);
+ });
+
+ it('should have the property success (base name: "success")', function() {
+ // uncomment below and update the code to test the property success
+ //var instance = new vrchatapi.Success();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/User.spec.js b/test/model/User.spec.js
new file mode 100644
index 0000000..1f0c66f
--- /dev/null
+++ b/test/model/User.spec.js
@@ -0,0 +1,203 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new vrchatapi.User();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('User', function() {
+ it('should create an instance of User', function() {
+ // uncomment below and update the code to test User
+ //var instane = new vrchatapi.User();
+ //expect(instance).to.be.a(vrchatapi.User);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property username (base name: "username")', function() {
+ // uncomment below and update the code to test the property username
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property displayName (base name: "displayName")', function() {
+ // uncomment below and update the code to test the property displayName
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userIcon (base name: "userIcon")', function() {
+ // uncomment below and update the code to test the property userIcon
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bio (base name: "bio")', function() {
+ // uncomment below and update the code to test the property bio
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bioLinks (base name: "bioLinks")', function() {
+ // uncomment below and update the code to test the property bioLinks
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property profilePicOverride (base name: "profilePicOverride")', function() {
+ // uncomment below and update the code to test the property profilePicOverride
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property statusDescription (base name: "statusDescription")', function() {
+ // uncomment below and update the code to test the property statusDescription
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarImageUrl (base name: "currentAvatarImageUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarImageUrl
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property currentAvatarThumbnailImageUrl (base name: "currentAvatarThumbnailImageUrl")', function() {
+ // uncomment below and update the code to test the property currentAvatarThumbnailImageUrl
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property fallbackAvatar (base name: "fallbackAvatar")', function() {
+ // uncomment below and update the code to test the property fallbackAvatar
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property state (base name: "state")', function() {
+ // uncomment below and update the code to test the property state
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property developerType (base name: "developerType")', function() {
+ // uncomment below and update the code to test the property developerType
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lastLogin (base name: "last_login")', function() {
+ // uncomment below and update the code to test the property lastLogin
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lastPlatform (base name: "last_platform")', function() {
+ // uncomment below and update the code to test the property lastPlatform
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property allowAvatarCopying (base name: "allowAvatarCopying")', function() {
+ // uncomment below and update the code to test the property allowAvatarCopying
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property status (base name: "status")', function() {
+ // uncomment below and update the code to test the property status
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property dateJoined (base name: "date_joined")', function() {
+ // uncomment below and update the code to test the property dateJoined
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isFriend (base name: "isFriend")', function() {
+ // uncomment below and update the code to test the property isFriend
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property friendKey (base name: "friendKey")', function() {
+ // uncomment below and update the code to test the property friendKey
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property worldId (base name: "worldId")', function() {
+ // uncomment below and update the code to test the property worldId
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property instanceId (base name: "instanceId")', function() {
+ // uncomment below and update the code to test the property instanceId
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property location (base name: "location")', function() {
+ // uncomment below and update the code to test the property location
+ //var instance = new vrchatapi.User();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/UserState.spec.js b/test/model/UserState.spec.js
new file mode 100644
index 0000000..ea74aa6
--- /dev/null
+++ b/test/model/UserState.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UserState', function() {
+ it('should create an instance of UserState', function() {
+ // uncomment below and update the code to test UserState
+ //var instane = new vrchatapi.UserState();
+ //expect(instance).to.be.a(vrchatapi.UserState);
+ });
+
+ });
+
+}));
diff --git a/test/model/UserStatus.spec.js b/test/model/UserStatus.spec.js
new file mode 100644
index 0000000..9283c9a
--- /dev/null
+++ b/test/model/UserStatus.spec.js
@@ -0,0 +1,58 @@
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.vrchatapi);
+ }
+}(this, function(expect, vrchatapi) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UserStatus', function() {
+ it('should create an instance of UserStatus', function() {
+ // uncomment below and update the code to test UserStatus
+ //var instane = new vrchatapi.UserStatus();
+ //expect(instance).to.be.a(vrchatapi.UserStatus);
+ });
+
+ });
+
+}));
From 76beb786cb6768e45fdb38d5677a7e2171e710ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?=
Date: Mon, 26 Jul 2021 09:18:01 +0200
Subject: [PATCH 004/130] Minor docs improvement
---
README.md | 2 +-
docs/AuthenticationApi.md | 20 --------------------
docs/FilesApi.md | 40 ---------------------------------------
docs/FriendsApi.md | 20 --------------------
docs/NotificationsApi.md | 20 --------------------
docs/UsersApi.md | 20 --------------------
docs/WorldsApi.md | 4 ----
generate.sh | 5 ++++-
8 files changed, 5 insertions(+), 126 deletions(-)
diff --git a/README.md b/README.md
index 582cc1c..eb68020 100644
--- a/README.md
+++ b/README.md
@@ -134,7 +134,7 @@ authCookie.apiKey = "YOUR API KEY"
var api = new vrchatapi.AuthenticationApi()
var userId = "userId_example"; // {String}
-api.deleteUserById(userId).then(function(data) {
+api.getUser(userId).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md
index c689ee8..52e2615 100644
--- a/docs/AuthenticationApi.md
+++ b/docs/AuthenticationApi.md
@@ -29,13 +29,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.AuthenticationApi();
let userId = "userId_example"; // String |
@@ -84,8 +80,6 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: authHeader
let authHeader = defaultClient.authentications['authHeader'];
authHeader.username = 'YOUR USERNAME';
@@ -93,8 +87,6 @@ authHeader.password = 'YOUR PASSWORD';
// Configure API key authorization: twoFactorAuthCookie
let twoFactorAuthCookie = defaultClient.authentications['twoFactorAuthCookie'];
twoFactorAuthCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//twoFactorAuthCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.AuthenticationApi();
apiInstance.getCurrentUser().then((data) => {
@@ -139,13 +131,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.AuthenticationApi();
apiInstance.logout().then((data) => {
@@ -190,8 +178,6 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.AuthenticationApi();
let opts = {
@@ -242,13 +228,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.AuthenticationApi();
apiInstance.verifyAuthToken().then((data) => {
@@ -293,8 +275,6 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.AuthenticationApi();
let opts = {
diff --git a/docs/FilesApi.md b/docs/FilesApi.md
index 492b4e5..c73b1f3 100644
--- a/docs/FilesApi.md
+++ b/docs/FilesApi.md
@@ -33,13 +33,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let opts = {
@@ -90,13 +86,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -145,13 +137,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -200,13 +188,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -257,13 +241,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -314,13 +294,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -377,13 +353,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -432,13 +404,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
@@ -491,13 +459,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let opts = {
@@ -554,13 +518,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FilesApi();
let fileId = file_00000000-0000-0000-0000-000000000000; // String |
diff --git a/docs/FriendsApi.md b/docs/FriendsApi.md
index db79599..e14b27d 100644
--- a/docs/FriendsApi.md
+++ b/docs/FriendsApi.md
@@ -28,13 +28,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FriendsApi();
let userId = "userId_example"; // String |
@@ -83,13 +79,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FriendsApi();
let userId = "userId_example"; // String |
@@ -138,13 +130,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FriendsApi();
let userId = "userId_example"; // String |
@@ -193,13 +181,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FriendsApi();
let opts = {
@@ -254,13 +238,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.FriendsApi();
let userId = "userId_example"; // String |
diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md
index c1a5c8f..4c95615 100644
--- a/docs/NotificationsApi.md
+++ b/docs/NotificationsApi.md
@@ -28,13 +28,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.NotificationsApi();
let notificationId = "notificationId_example"; // String |
@@ -83,13 +79,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.NotificationsApi();
apiInstance.clearNotifications().then((data) => {
@@ -134,13 +126,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.NotificationsApi();
let notificationId = "notificationId_example"; // String |
@@ -189,13 +177,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.NotificationsApi();
let opts = {
@@ -256,13 +240,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.NotificationsApi();
let notificationId = "notificationId_example"; // String |
diff --git a/docs/UsersApi.md b/docs/UsersApi.md
index 477bd76..ef3b8f7 100644
--- a/docs/UsersApi.md
+++ b/docs/UsersApi.md
@@ -28,13 +28,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.UsersApi();
let userId = "userId_example"; // String |
@@ -83,13 +79,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.UsersApi();
let username = "username_example"; // String |
@@ -138,13 +130,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.UsersApi();
let search = "search_example"; // String | Username to search for
@@ -201,13 +189,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.UsersApi();
let opts = {
@@ -264,13 +248,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.UsersApi();
let userId = "userId_example"; // String |
diff --git a/docs/WorldsApi.md b/docs/WorldsApi.md
index 0938b15..553acd5 100644
--- a/docs/WorldsApi.md
+++ b/docs/WorldsApi.md
@@ -24,13 +24,9 @@ let defaultClient = vrchatapi.ApiClient.instance;
// Configure API key authorization: apiKeyCookie
let apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
apiKeyCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//apiKeyCookie.apiKeyPrefix = 'Token';
// Configure API key authorization: authCookie
let authCookie = defaultClient.authentications['authCookie'];
authCookie.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//authCookie.apiKeyPrefix = 'Token';
let apiInstance = new vrchatapi.WorldsApi();
let opts = {
diff --git a/generate.sh b/generate.sh
index 2c75746..8ce279b 100644
--- a/generate.sh
+++ b/generate.sh
@@ -13,4 +13,7 @@ openapi-generator-cli generate \
# Remove unwanted lines from README
sed -i '/Uncomment the following line to set a prefix/d' ./README.md
-sed -i '/apiKeyPrefix/d' ./README.md
\ No newline at end of file
+sed -i '/apiKeyPrefix/d' ./README.md
+sed -i '/Uncomment the following line to set a prefix/d' ./docs/*.md
+sed -i '/apiKeyPrefix/d' ./docs/*.md
+sed -i 's/api.deleteUserById/api.getUser/g' ./README.md
\ No newline at end of file
From a200240d9b3f73f6c354cf32b9343f260ecc4276 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?=
Date: Mon, 26 Jul 2021 10:48:08 +0200
Subject: [PATCH 005/130] Enable saving cookies by default
---
generate.sh | 7 ++++++-
src/ApiClient.js | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/generate.sh b/generate.sh
index 8ce279b..ddc8deb 100644
--- a/generate.sh
+++ b/generate.sh
@@ -16,4 +16,9 @@ sed -i '/Uncomment the following line to set a prefix/d' ./README.md
sed -i '/apiKeyPrefix/d' ./README.md
sed -i '/Uncomment the following line to set a prefix/d' ./docs/*.md
sed -i '/apiKeyPrefix/d' ./docs/*.md
-sed -i 's/api.deleteUserById/api.getUser/g' ./README.md
\ No newline at end of file
+sed -i 's/api.deleteUserById/api.getUser/g' ./README.md
+
+sed -i 's/@default false/@default true/g' ./src/ApiClient.js
+sed -i 's/enableCookies = false/enableCookies = true/g' ./src/ApiClient.js
+
+npm run build
\ No newline at end of file
diff --git a/src/ApiClient.js b/src/ApiClient.js
index ba19768..0126a2a 100644
--- a/src/ApiClient.js
+++ b/src/ApiClient.js
@@ -75,9 +75,9 @@ class ApiClient {
/**
* If set to true, the client will save the cookies from each server
* response, and return them in the next request.
- * @default false
+ * @default true
*/
- this.enableCookies = false;
+ this.enableCookies = true;
/*
* Used to save and return cookies in a node.js (non-browser) setting,
From 69457b64413eb66887748e623c67d585026d8587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?=
Date: Mon, 26 Jul 2021 11:00:38 +0200
Subject: [PATCH 006/130] Remove dist from git
---
dist/ApiClient.js | 786 ----------------------
dist/api/AuthenticationApi.js | 273 --------
dist/api/FilesApi.js | 555 ---------------
dist/api/FriendsApi.js | 268 --------
dist/api/NotificationsApi.js | 264 --------
dist/api/SystemApi.js | 178 -----
dist/api/UsersApi.js | 286 --------
dist/api/WorldsApi.js | 131 ----
dist/index.js | 359 ----------
dist/model/Config.js | 973 ---------------------------
dist/model/ConfigAnnouncements.js | 92 ---
dist/model/ConfigDownloadUrls.js | 104 ---
dist/model/ConfigDynamicWorldRows.js | 143 ----
dist/model/ConfigEvents.js | 187 -----
dist/model/CurrentUser.js | 578 ----------------
dist/model/DeploymentGroup.js | 54 --
dist/model/DeveloperType.js | 54 --
dist/model/Error.js | 77 ---
dist/model/File.js | 150 -----
dist/model/FileData.js | 173 -----
dist/model/FileStatus.js | 52 --
dist/model/FileVersion.js | 145 ----
dist/model/InlineObject.js | 78 ---
dist/model/InlineObject1.js | 78 ---
dist/model/InlineObject2.js | 150 -----
dist/model/InlineObject3.js | 111 ---
dist/model/InlineObject4.js | 129 ----
dist/model/InlineResponse200.js | 89 ---
dist/model/InlineResponse2001.js | 78 ---
dist/model/InlineResponse2002.js | 100 ---
dist/model/InlineResponse2003.js | 103 ---
dist/model/InlineResponse2004.js | 134 ----
dist/model/InlineResponse2005.js | 78 ---
dist/model/InlineResponse401.js | 80 ---
dist/model/LimitedUser.js | 246 -------
dist/model/LimitedWorld.js | 270 --------
dist/model/MIMEType.js | 74 --
dist/model/Notification.js | 162 -----
dist/model/NotificationType.js | 60 --
dist/model/ReleaseStatus.js | 52 --
dist/model/Response.js | 89 ---
dist/model/Success.js | 77 ---
dist/model/User.js | 331 ---------
dist/model/UserState.js | 52 --
dist/model/UserStatus.js | 56 --
45 files changed, 8559 deletions(-)
delete mode 100644 dist/ApiClient.js
delete mode 100644 dist/api/AuthenticationApi.js
delete mode 100644 dist/api/FilesApi.js
delete mode 100644 dist/api/FriendsApi.js
delete mode 100644 dist/api/NotificationsApi.js
delete mode 100644 dist/api/SystemApi.js
delete mode 100644 dist/api/UsersApi.js
delete mode 100644 dist/api/WorldsApi.js
delete mode 100644 dist/index.js
delete mode 100644 dist/model/Config.js
delete mode 100644 dist/model/ConfigAnnouncements.js
delete mode 100644 dist/model/ConfigDownloadUrls.js
delete mode 100644 dist/model/ConfigDynamicWorldRows.js
delete mode 100644 dist/model/ConfigEvents.js
delete mode 100644 dist/model/CurrentUser.js
delete mode 100644 dist/model/DeploymentGroup.js
delete mode 100644 dist/model/DeveloperType.js
delete mode 100644 dist/model/Error.js
delete mode 100644 dist/model/File.js
delete mode 100644 dist/model/FileData.js
delete mode 100644 dist/model/FileStatus.js
delete mode 100644 dist/model/FileVersion.js
delete mode 100644 dist/model/InlineObject.js
delete mode 100644 dist/model/InlineObject1.js
delete mode 100644 dist/model/InlineObject2.js
delete mode 100644 dist/model/InlineObject3.js
delete mode 100644 dist/model/InlineObject4.js
delete mode 100644 dist/model/InlineResponse200.js
delete mode 100644 dist/model/InlineResponse2001.js
delete mode 100644 dist/model/InlineResponse2002.js
delete mode 100644 dist/model/InlineResponse2003.js
delete mode 100644 dist/model/InlineResponse2004.js
delete mode 100644 dist/model/InlineResponse2005.js
delete mode 100644 dist/model/InlineResponse401.js
delete mode 100644 dist/model/LimitedUser.js
delete mode 100644 dist/model/LimitedWorld.js
delete mode 100644 dist/model/MIMEType.js
delete mode 100644 dist/model/Notification.js
delete mode 100644 dist/model/NotificationType.js
delete mode 100644 dist/model/ReleaseStatus.js
delete mode 100644 dist/model/Response.js
delete mode 100644 dist/model/Success.js
delete mode 100644 dist/model/User.js
delete mode 100644 dist/model/UserState.js
delete mode 100644 dist/model/UserStatus.js
diff --git a/dist/ApiClient.js b/dist/ApiClient.js
deleted file mode 100644
index dc4b91f..0000000
--- a/dist/ApiClient.js
+++ /dev/null
@@ -1,786 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _superagent = _interopRequireDefault(require("superagent"));
-
-var _querystring = _interopRequireDefault(require("querystring"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* @module ApiClient
-* @version 1.0.0
-*/
-
-/**
-* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
-* application to use this class directly - the *Api and model classes provide the public API for the service. The
-* contents of this file should be regarded as internal but are documented for completeness.
-* @alias module:ApiClient
-* @class
-*/
-var ApiClient = /*#__PURE__*/function () {
- function ApiClient() {
- _classCallCheck(this, ApiClient);
-
- /**
- * The base URL against which to resolve every API call's (relative) path.
- * @type {String}
- * @default https://api.vrchat.cloud/api/1
- */
- this.basePath = 'https://api.vrchat.cloud/api/1'.replace(/\/+$/, '');
- /**
- * The authentication methods to be included for all API calls.
- * @type {Array.}
- */
-
- this.authentications = {
- 'apiKeyCookie': {
- type: 'apiKey',
- 'in': 'query',
- name: 'apiKey'
- },
- 'apiKeyQuery': {
- type: 'apiKey',
- 'in': 'query',
- name: 'apiKey'
- },
- 'authCookie': {
- type: 'apiKey',
- 'in': 'query',
- name: 'auth'
- },
- 'authHeader': {
- type: 'basic'
- },
- 'twoFactorAuthCookie': {
- type: 'apiKey',
- 'in': 'query',
- name: 'twoFactorAuth'
- }
- };
- /**
- * The default HTTP headers to be included for all API calls.
- * @type {Array.}
- * @default {}
- */
-
- this.defaultHeaders = {
- 'User-Agent': 'vrchatapi-node'
- };
- /**
- * The default HTTP timeout for all API calls.
- * @type {Number}
- * @default 60000
- */
-
- this.timeout = 60000;
- /**
- * If set to false an additional timestamp parameter is added to all API GET calls to
- * prevent browser caching
- * @type {Boolean}
- * @default true
- */
-
- this.cache = true;
- /**
- * If set to true, the client will save the cookies from each server
- * response, and return them in the next request.
- * @default false
- */
-
- this.enableCookies = false;
- /*
- * Used to save and return cookies in a node.js (non-browser) setting,
- * if this.enableCookies is set to true.
- */
-
- if (typeof window === 'undefined') {
- this.agent = new _superagent["default"].agent();
- }
- /*
- * Allow user to override superagent agent
- */
-
-
- this.requestAgent = null;
- /*
- * Allow user to add superagent plugins
- */
-
- this.plugins = null;
- }
- /**
- * Returns a string representation for an actual parameter.
- * @param param The actual parameter.
- * @returns {String} The string representation of param.
- */
-
-
- _createClass(ApiClient, [{
- key: "paramToString",
- value: function paramToString(param) {
- if (param == undefined || param == null) {
- return '';
- }
-
- if (param instanceof Date) {
- return param.toJSON();
- }
-
- if (ApiClient.canBeJsonified(param)) {
- return JSON.stringify(param);
- }
-
- return param.toString();
- }
- /**
- * Returns a boolean indicating if the parameter could be JSON.stringified
- * @param param The actual parameter
- * @returns {Boolean} Flag indicating if param can be JSON.stringified
- */
-
- }, {
- key: "buildUrl",
- value:
- /**
- * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
- * NOTE: query parameters are not handled here.
- * @param {String} path The path to append to the base URL.
- * @param {Object} pathParams The parameter values to append.
- * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
- * @returns {String} The encoded path with parameter values substituted.
- */
- function buildUrl(path, pathParams, apiBasePath) {
- var _this = this;
-
- if (!path.match(/^\//)) {
- path = '/' + path;
- }
-
- var url = this.basePath + path; // use API (operation, path) base path if defined
-
- if (apiBasePath !== null && apiBasePath !== undefined) {
- url = apiBasePath + path;
- }
-
- url = url.replace(/\{([\w-\.]+)\}/g, function (fullMatch, key) {
- var value;
-
- if (pathParams.hasOwnProperty(key)) {
- value = _this.paramToString(pathParams[key]);
- } else {
- value = fullMatch;
- }
-
- return encodeURIComponent(value);
- });
- return url;
- }
- /**
- * Checks whether the given content type represents JSON.
- * JSON content type examples:
- *
- *
application/json
- *
application/json; charset=UTF8
- *
APPLICATION/JSON
- *
- * @param {String} contentType The MIME content type to check.
- * @returns {Boolean} true if contentType represents JSON, otherwise false.
- */
-
- }, {
- key: "isJsonMime",
- value: function isJsonMime(contentType) {
- return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
- }
- /**
- * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
- * @param {Array.} contentTypes
- * @returns {String} The chosen content type, preferring JSON.
- */
-
- }, {
- key: "jsonPreferredMime",
- value: function jsonPreferredMime(contentTypes) {
- for (var i = 0; i < contentTypes.length; i++) {
- if (this.isJsonMime(contentTypes[i])) {
- return contentTypes[i];
- }
- }
-
- return contentTypes[0];
- }
- /**
- * Checks whether the given parameter value represents file-like content.
- * @param param The parameter to check.
- * @returns {Boolean} true if param represents a file.
- */
-
- }, {
- key: "isFileParam",
- value: function isFileParam(param) {
- // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
- if (typeof require === 'function') {
- var fs;
-
- try {
- fs = require('fs');
- } catch (err) {}
-
- if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
- return true;
- }
- } // Buffer in Node.js
-
-
- if (typeof Buffer === 'function' && param instanceof Buffer) {
- return true;
- } // Blob in browser
-
-
- if (typeof Blob === 'function' && param instanceof Blob) {
- return true;
- } // File in browser (it seems File object is also instance of Blob, but keep this for safe)
-
-
- if (typeof File === 'function' && param instanceof File) {
- return true;
- }
-
- return false;
- }
- /**
- * Normalizes parameter values:
- *
- *
remove nils
- *
keep files and arrays
- *
format to string with `paramToString` for other cases
- *
- * @param {Object.} params The parameters as object properties.
- * @returns {Object.} normalized parameters.
- */
-
- }, {
- key: "normalizeParams",
- value: function normalizeParams(params) {
- var newParams = {};
-
- for (var key in params) {
- if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
- var value = params[key];
-
- if (this.isFileParam(value) || Array.isArray(value)) {
- newParams[key] = value;
- } else {
- newParams[key] = this.paramToString(value);
- }
- }
- }
-
- return newParams;
- }
- /**
- * Builds a string representation of an array-type actual parameter, according to the given collection format.
- * @param {Array} param An array parameter.
- * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
- * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
- * param as is if collectionFormat is multi.
- */
-
- }, {
- key: "buildCollectionParam",
- value: function buildCollectionParam(param, collectionFormat) {
- if (param == null) {
- return null;
- }
-
- switch (collectionFormat) {
- case 'csv':
- return param.map(this.paramToString, this).join(',');
-
- case 'ssv':
- return param.map(this.paramToString, this).join(' ');
-
- case 'tsv':
- return param.map(this.paramToString, this).join('\t');
-
- case 'pipes':
- return param.map(this.paramToString, this).join('|');
-
- case 'multi':
- //return the array directly as SuperAgent will handle it as expected
- return param.map(this.paramToString, this);
-
- case 'passthrough':
- return param;
-
- default:
- throw new Error('Unknown collection format: ' + collectionFormat);
- }
- }
- /**
- * Applies authentication headers to the request.
- * @param {Object} request The request object created by a superagent() call.
- * @param {Array.} authNames An array of authentication method names.
- */
-
- }, {
- key: "applyAuthToRequest",
- value: function applyAuthToRequest(request, authNames) {
- var _this2 = this;
-
- authNames.forEach(function (authName) {
- var auth = _this2.authentications[authName];
-
- switch (auth.type) {
- case 'basic':
- if (auth.username || auth.password) {
- request.auth(auth.username || '', auth.password || '');
- }
-
- break;
-
- case 'bearer':
- if (auth.accessToken) {
- var localVarBearerToken = typeof auth.accessToken === 'function' ? auth.accessToken() : auth.accessToken;
- request.set({
- 'Authorization': 'Bearer ' + localVarBearerToken
- });
- }
-
- break;
-
- case 'apiKey':
- if (auth.apiKey) {
- var data = {};
-
- if (auth.apiKeyPrefix) {
- data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;
- } else {
- data[auth.name] = auth.apiKey;
- }
-
- if (auth['in'] === 'header') {
- request.set(data);
- } else {
- request.query(data);
- }
- }
-
- break;
-
- case 'oauth2':
- if (auth.accessToken) {
- request.set({
- 'Authorization': 'Bearer ' + auth.accessToken
- });
- }
-
- break;
-
- default:
- throw new Error('Unknown authentication type: ' + auth.type);
- }
- });
- }
- /**
- * Deserializes an HTTP response body into a value of the specified type.
- * @param {Object} response A SuperAgent response object.
- * @param {(String|Array.|Object.|Function)} returnType The type to return. Pass a string for simple types
- * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
- * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
- * all properties on data will be converted to this type.
- * @returns A value of the specified type.
- */
-
- }, {
- key: "deserialize",
- value: function deserialize(response, returnType) {
- if (response == null || returnType == null || response.status == 204) {
- return null;
- } // Rely on SuperAgent for parsing response body.
- // See http://visionmedia.github.io/superagent/#parsing-response-bodies
-
-
- var data = response.body;
-
- if (data == null || _typeof(data) === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {
- // SuperAgent does not always produce a body; use the unparsed response as a fallback
- data = response.text;
- }
-
- return ApiClient.convertToType(data, returnType);
- }
- /**
- * Invokes the REST service using the supplied settings and parameters.
- * @param {String} path The base URL to invoke.
- * @param {String} httpMethod The HTTP method to use.
- * @param {Object.} pathParams A map of path parameters and their values.
- * @param {Object.} queryParams A map of query parameters and their values.
- * @param {Object.} headerParams A map of header parameters and their values.
- * @param {Object.} formParams A map of form parameters and their values.
- * @param {Object} bodyParam The value to pass as the request body.
- * @param {Array.} authNames An array of authentication type names.
- * @param {Array.} contentTypes An array of request MIME types.
- * @param {Array.} accepts An array of acceptable response MIME types.
- * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
- * constructor for a complex type.
- * @param {String} apiBasePath base path defined in the operation/path level to override the default one
- * @returns {Promise} A {@link https://www.promisejs.org/|Promise} object.
- */
-
- }, {
- key: "callApi",
- value: function callApi(path, httpMethod, pathParams, queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, returnType, apiBasePath) {
- var _this3 = this;
-
- var url = this.buildUrl(path, pathParams, apiBasePath);
- var request = (0, _superagent["default"])(httpMethod, url);
-
- if (this.plugins !== null) {
- for (var index in this.plugins) {
- if (this.plugins.hasOwnProperty(index)) {
- request.use(this.plugins[index]);
- }
- }
- } // apply authentications
-
-
- this.applyAuthToRequest(request, authNames); // set query parameters
-
- if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
- queryParams['_'] = new Date().getTime();
- }
-
- request.query(this.normalizeParams(queryParams)); // set header parameters
-
- request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); // set requestAgent if it is set by user
-
- if (this.requestAgent) {
- request.agent(this.requestAgent);
- } // set request timeout
-
-
- request.timeout(this.timeout);
- var contentType = this.jsonPreferredMime(contentTypes);
-
- if (contentType) {
- // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
- if (contentType != 'multipart/form-data') {
- request.type(contentType);
- }
- }
-
- if (contentType === 'application/x-www-form-urlencoded') {
- request.send(_querystring["default"].stringify(this.normalizeParams(formParams)));
- } else if (contentType == 'multipart/form-data') {
- var _formParams = this.normalizeParams(formParams);
-
- for (var key in _formParams) {
- if (_formParams.hasOwnProperty(key)) {
- var _formParamsValue = _formParams[key];
-
- if (this.isFileParam(_formParamsValue)) {
- // file field
- request.attach(key, _formParamsValue);
- } else if (Array.isArray(_formParamsValue) && _formParamsValue.length && this.isFileParam(_formParamsValue[0])) {
- // multiple files
- _formParamsValue.forEach(function (file) {
- return request.attach(key, file);
- });
- } else {
- request.field(key, _formParamsValue);
- }
- }
- }
- } else if (bodyParam !== null && bodyParam !== undefined) {
- if (!request.header['Content-Type']) {
- request.type('application/json');
- }
-
- request.send(bodyParam);
- }
-
- var accept = this.jsonPreferredMime(accepts);
-
- if (accept) {
- request.accept(accept);
- }
-
- if (returnType === 'Blob') {
- request.responseType('blob');
- } else if (returnType === 'String') {
- request.responseType('string');
- } // Attach previously saved cookies, if enabled
-
-
- if (this.enableCookies) {
- if (typeof window === 'undefined') {
- this.agent._attachCookies(request);
- } else {
- request.withCredentials();
- }
- }
-
- return new Promise(function (resolve, reject) {
- request.end(function (error, response) {
- if (error) {
- var err = {};
-
- if (response) {
- err.status = response.status;
- err.statusText = response.statusText;
- err.body = response.body;
- err.response = response;
- }
-
- err.error = error;
- reject(err);
- } else {
- try {
- var data = _this3.deserialize(response, returnType);
-
- if (_this3.enableCookies && typeof window === 'undefined') {
- _this3.agent._saveCookies(response);
- }
-
- resolve({
- data: data,
- response: response
- });
- } catch (err) {
- reject(err);
- }
- }
- });
- });
- }
- /**
- * Parses an ISO-8601 string representation or epoch representation of a date value.
- * @param {String} str The date value as a string.
- * @returns {Date} The parsed date object.
- */
-
- }, {
- key: "hostSettings",
- value:
- /**
- * Gets an array of host settings
- * @returns An array of host settings
- */
- function hostSettings() {
- return [{
- 'url': "https://api.vrchat.cloud/api/1",
- 'description': "No description provided"
- }];
- }
- }, {
- key: "getBasePathFromSettings",
- value: function getBasePathFromSettings(index) {
- var variables = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var servers = this.hostSettings(); // check array index out of bound
-
- if (index < 0 || index >= servers.length) {
- throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
- }
-
- var server = servers[index];
- var url = server['url']; // go through variable and assign a value
-
- for (var variable_name in server['variables']) {
- if (variable_name in variables) {
- var variable = server['variables'][variable_name];
-
- if (!('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name])) {
- url = url.replace("{" + variable_name + "}", variables[variable_name]);
- } else {
- throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
- }
- } else {
- // use default value
- url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value']);
- }
- }
-
- return url;
- }
- /**
- * Constructs a new map or array model from REST data.
- * @param data {Object|Array} The REST data.
- * @param obj {Object|Array} The target object or array.
- */
-
- }], [{
- key: "canBeJsonified",
- value: function canBeJsonified(str) {
- if (typeof str !== 'string' && _typeof(str) !== 'object') return false;
-
- try {
- var type = str.toString();
- return type === '[object Object]' || type === '[object Array]';
- } catch (err) {
- return false;
- }
- }
- }, {
- key: "parseDate",
- value: function parseDate(str) {
- if (isNaN(str)) {
- return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
- }
-
- return new Date(+str);
- }
- /**
- * Converts a value to the specified type.
- * @param {(String|Object)} data The data to convert, as a string or object.
- * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types
- * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
- * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
- * all properties on data will be converted to this type.
- * @returns An instance of the specified type or null or undefined if data is null or undefined.
- */
-
- }, {
- key: "convertToType",
- value: function convertToType(data, type) {
- if (data === null || data === undefined) return data;
-
- switch (type) {
- case 'Boolean':
- return Boolean(data);
-
- case 'Integer':
- return parseInt(data, 10);
-
- case 'Number':
- return parseFloat(data);
-
- case 'String':
- return String(data);
-
- case 'Date':
- return ApiClient.parseDate(String(data));
-
- case 'Blob':
- return data;
-
- default:
- if (type === Object) {
- // generic object, return directly
- return data;
- } else if (typeof type.constructFromObject === 'function') {
- // for model type like User and enum class
- return type.constructFromObject(data);
- } else if (Array.isArray(type)) {
- // for array type like: ['String']
- var itemType = type[0];
- return data.map(function (item) {
- return ApiClient.convertToType(item, itemType);
- });
- } else if (_typeof(type) === 'object') {
- // for plain object type like: {'String': 'Integer'}
- var keyType, valueType;
-
- for (var k in type) {
- if (type.hasOwnProperty(k)) {
- keyType = k;
- valueType = type[k];
- break;
- }
- }
-
- var result = {};
-
- for (var k in data) {
- if (data.hasOwnProperty(k)) {
- var key = ApiClient.convertToType(k, keyType);
- var value = ApiClient.convertToType(data[k], valueType);
- result[key] = value;
- }
- }
-
- return result;
- } else {
- // for unknown type, return the data directly
- return data;
- }
-
- }
- }
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj, itemType) {
- if (Array.isArray(data)) {
- for (var i = 0; i < data.length; i++) {
- if (data.hasOwnProperty(i)) obj[i] = ApiClient.convertToType(data[i], itemType);
- }
- } else {
- for (var k in data) {
- if (data.hasOwnProperty(k)) obj[k] = ApiClient.convertToType(data[k], itemType);
- }
- }
- }
- }]);
-
- return ApiClient;
-}();
-/**
- * Enumeration of collection format separator strategies.
- * @enum {String}
- * @readonly
- */
-
-
-ApiClient.CollectionFormatEnum = {
- /**
- * Comma-separated values. Value: csv
- * @const
- */
- CSV: ',',
-
- /**
- * Space-separated values. Value: ssv
- * @const
- */
- SSV: ' ',
-
- /**
- * Tab-separated values. Value: tsv
- * @const
- */
- TSV: '\t',
-
- /**
- * Pipe(|)-separated values. Value: pipes
- * @const
- */
- PIPES: '|',
-
- /**
- * Native array. Value: multi
- * @const
- */
- MULTI: 'multi'
-};
-/**
-* The default API client implementation.
-* @type {module:ApiClient}
-*/
-
-ApiClient.instance = new ApiClient();
-var _default = ApiClient;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/api/AuthenticationApi.js b/dist/api/AuthenticationApi.js
deleted file mode 100644
index 884c727..0000000
--- a/dist/api/AuthenticationApi.js
+++ /dev/null
@@ -1,273 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _CurrentUser = _interopRequireDefault(require("../model/CurrentUser"));
-
-var _InlineObject = _interopRequireDefault(require("../model/InlineObject"));
-
-var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject1"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse200"));
-
-var _InlineResponse2 = _interopRequireDefault(require("../model/InlineResponse2001"));
-
-var _InlineResponse3 = _interopRequireDefault(require("../model/InlineResponse401"));
-
-var _Success = _interopRequireDefault(require("../model/Success"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* Authentication service.
-* @module api/AuthenticationApi
-* @version 1.0.0
-*/
-var AuthenticationApi = /*#__PURE__*/function () {
- /**
- * Constructs a new AuthenticationApi.
- * @alias module:api/AuthenticationApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function AuthenticationApi(apiClient) {
- _classCallCheck(this, AuthenticationApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Delete User
- * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrentUser} and HTTP response
- */
-
-
- _createClass(AuthenticationApi, [{
- key: "deleteUserByIdWithHttpInfo",
- value: function deleteUserByIdWithHttpInfo(userId) {
- var postBody = null; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new Error("Missing the required parameter 'userId' when calling deleteUserById");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _CurrentUser["default"];
- return this.apiClient.callApi('/user/{userId}/delete', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Delete User
- * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrentUser}
- */
-
- }, {
- key: "deleteUserById",
- value: function deleteUserById(userId) {
- return this.deleteUserByIdWithHttpInfo(userId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Login and/or Get Current User Info
- * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrentUser} and HTTP response
- */
-
- }, {
- key: "getCurrentUserWithHttpInfo",
- value: function getCurrentUserWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['authCookie', 'authHeader', 'twoFactorAuthCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _CurrentUser["default"];
- return this.apiClient.callApi('/auth/user', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Login and/or Get Current User Info
- * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrentUser}
- */
-
- }, {
- key: "getCurrentUser",
- value: function getCurrentUser() {
- return this.getCurrentUserWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Logout
- * Invalidates the auth cookie.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
- */
-
- }, {
- key: "logoutWithHttpInfo",
- value: function logoutWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Success["default"];
- return this.apiClient.callApi('/logout', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Logout
- * Invalidates the auth cookie.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
- */
-
- }, {
- key: "logout",
- value: function logout() {
- return this.logoutWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Verify 2FA code
- * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject} opts.inlineObject
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2001} and HTTP response
- */
-
- }, {
- key: "verify2FAWithHttpInfo",
- value: function verify2FAWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = opts['inlineObject'];
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['authCookie'];
- var contentTypes = ['application/json'];
- var accepts = ['application/json'];
- var returnType = _InlineResponse2["default"];
- return this.apiClient.callApi('/auth/twofactorauth/totp/verify', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Verify 2FA code
- * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject} opts.inlineObject
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2001}
- */
-
- }, {
- key: "verify2FA",
- value: function verify2FA(opts) {
- return this.verify2FAWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Verify Auth Token
- * Verify whether the currently provided Auth Token is valid.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse200} and HTTP response
- */
-
- }, {
- key: "verifyAuthTokenWithHttpInfo",
- value: function verifyAuthTokenWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _InlineResponse["default"];
- return this.apiClient.callApi('/auth', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Verify Auth Token
- * Verify whether the currently provided Auth Token is valid.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse200}
- */
-
- }, {
- key: "verifyAuthToken",
- value: function verifyAuthToken() {
- return this.verifyAuthTokenWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Verify 2FA code with Recovery code
- * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject1} opts.inlineObject1
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2001} and HTTP response
- */
-
- }, {
- key: "verifyRecoveryCodeWithHttpInfo",
- value: function verifyRecoveryCodeWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = opts['inlineObject1'];
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['authCookie'];
- var contentTypes = ['application/json'];
- var accepts = ['application/json'];
- var returnType = _InlineResponse2["default"];
- return this.apiClient.callApi('/auth/twofactorauth/otp/verify', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Verify 2FA code with Recovery code
- * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject1} opts.inlineObject1
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2001}
- */
-
- }, {
- key: "verifyRecoveryCode",
- value: function verifyRecoveryCode(opts) {
- return this.verifyRecoveryCodeWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return AuthenticationApi;
-}();
-
-exports["default"] = AuthenticationApi;
\ No newline at end of file
diff --git a/dist/api/FilesApi.js b/dist/api/FilesApi.js
deleted file mode 100644
index 6b2341e..0000000
--- a/dist/api/FilesApi.js
+++ /dev/null
@@ -1,555 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Error = _interopRequireDefault(require("../model/Error"));
-
-var _InlineObject = _interopRequireDefault(require("../model/InlineObject3"));
-
-var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject4"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse2004"));
-
-var _InlineResponse2 = _interopRequireDefault(require("../model/InlineResponse2005"));
-
-var _Success = _interopRequireDefault(require("../model/Success"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* Files service.
-* @module api/FilesApi
-* @version 1.0.0
-*/
-var FilesApi = /*#__PURE__*/function () {
- /**
- * Constructs a new FilesApi.
- * @alias module:api/FilesApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function FilesApi(apiClient) {
- _classCallCheck(this, FilesApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Create File
- * Creates a new File object
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject3} opts.inlineObject3
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
- */
-
-
- _createClass(FilesApi, [{
- key: "createFileWithHttpInfo",
- value: function createFileWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = opts['inlineObject3'];
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = ['application/json'];
- var accepts = ['application/json'];
- var returnType = File;
- return this.apiClient.callApi('/file', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Create File
- * Creates a new File object
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject3} opts.inlineObject3
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
- */
-
- }, {
- key: "createFile",
- value: function createFile(opts) {
- return this.createFileWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Create File Version
- * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
- * @param {String} fileId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
- */
-
- }, {
- key: "createFileVersionWithHttpInfo",
- value: function createFileVersionWithHttpInfo(fileId) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling createFileVersion");
- }
-
- var pathParams = {
- 'fileId': fileId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = File;
- return this.apiClient.callApi('/file/{fileId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Create File Version
- * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
- * @param {String} fileId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
- */
-
- }, {
- key: "createFileVersion",
- value: function createFileVersion(fileId) {
- return this.createFileVersionWithHttpInfo(fileId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Delete File
- * Deletes a File object.
- * @param {String} fileId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
- */
-
- }, {
- key: "deleteFileWithHttpInfo",
- value: function deleteFileWithHttpInfo(fileId) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling deleteFile");
- }
-
- var pathParams = {
- 'fileId': fileId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Success["default"];
- return this.apiClient.callApi('/file/{fileId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Delete File
- * Deletes a File object.
- * @param {String} fileId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
- */
-
- }, {
- key: "deleteFile",
- value: function deleteFile(fileId) {
- return this.deleteFileWithHttpInfo(fileId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Delete File Version
- * Delete a specific version of a file. You can only delete the latest version.
- * @param {String} fileId
- * @param {Number} versionId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
- */
-
- }, {
- key: "deleteFileVersionWithHttpInfo",
- value: function deleteFileVersionWithHttpInfo(fileId, versionId) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling deleteFileVersion");
- } // verify the required parameter 'versionId' is set
-
-
- if (versionId === undefined || versionId === null) {
- throw new _Error["default"]("Missing the required parameter 'versionId' when calling deleteFileVersion");
- }
-
- var pathParams = {
- 'fileId': fileId,
- 'versionId': versionId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = File;
- return this.apiClient.callApi('/file/{fileId}/{versionId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Delete File Version
- * Delete a specific version of a file. You can only delete the latest version.
- * @param {String} fileId
- * @param {Number} versionId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
- */
-
- }, {
- key: "deleteFileVersion",
- value: function deleteFileVersion(fileId, versionId) {
- return this.deleteFileVersionWithHttpInfo(fileId, versionId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Download File Version
- * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
- * @param {String} fileId
- * @param {Number} versionId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
- */
-
- }, {
- key: "downloadFileVersionWithHttpInfo",
- value: function downloadFileVersionWithHttpInfo(fileId, versionId) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling downloadFileVersion");
- } // verify the required parameter 'versionId' is set
-
-
- if (versionId === undefined || versionId === null) {
- throw new _Error["default"]("Missing the required parameter 'versionId' when calling downloadFileVersion");
- }
-
- var pathParams = {
- 'fileId': fileId,
- 'versionId': versionId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = [];
- var returnType = null;
- return this.apiClient.callApi('/file/{fileId}/{versionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Download File Version
- * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
- * @param {String} fileId
- * @param {Number} versionId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
- */
-
- }, {
- key: "downloadFileVersion",
- value: function downloadFileVersion(fileId, versionId) {
- return this.downloadFileVersionWithHttpInfo(fileId, versionId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Finish FileData Upload
- * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
- * @param {String} fileId
- * @param {Number} versionId
- * @param {module:model/String} fileType
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject4} opts.inlineObject4
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
- */
-
- }, {
- key: "finishFileDataUploadWithHttpInfo",
- value: function finishFileDataUploadWithHttpInfo(fileId, versionId, fileType, opts) {
- opts = opts || {};
- var postBody = opts['inlineObject4']; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling finishFileDataUpload");
- } // verify the required parameter 'versionId' is set
-
-
- if (versionId === undefined || versionId === null) {
- throw new _Error["default"]("Missing the required parameter 'versionId' when calling finishFileDataUpload");
- } // verify the required parameter 'fileType' is set
-
-
- if (fileType === undefined || fileType === null) {
- throw new _Error["default"]("Missing the required parameter 'fileType' when calling finishFileDataUpload");
- }
-
- var pathParams = {
- 'fileId': fileId,
- 'versionId': versionId,
- 'fileType': fileType
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = ['application/json'];
- var accepts = ['application/json'];
- var returnType = File;
- return this.apiClient.callApi('/file/{fileId}/{versionId}/{fileType}/finish', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Finish FileData Upload
- * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
- * @param {String} fileId
- * @param {Number} versionId
- * @param {module:model/String} fileType
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject4} opts.inlineObject4
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
- */
-
- }, {
- key: "finishFileDataUpload",
- value: function finishFileDataUpload(fileId, versionId, fileType, opts) {
- return this.finishFileDataUploadWithHttpInfo(fileId, versionId, fileType, opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Show File
- * Shows general information about the \"File\" object. Each File can have several \"Version\"'s, and each Version can have multiple real files or \"Data\" blobs.
- * @param {String} fileId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
- */
-
- }, {
- key: "getFileWithHttpInfo",
- value: function getFileWithHttpInfo(fileId) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling getFile");
- }
-
- var pathParams = {
- 'fileId': fileId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = File;
- return this.apiClient.callApi('/file/{fileId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Show File
- * Shows general information about the \"File\" object. Each File can have several \"Version\"'s, and each Version can have multiple real files or \"Data\" blobs.
- * @param {String} fileId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
- */
-
- }, {
- key: "getFile",
- value: function getFile(fileId) {
- return this.getFileWithHttpInfo(fileId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Check FileData Upload Status
- * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
- * @param {String} fileId
- * @param {Number} versionId
- * @param {module:model/String} fileType
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2004} and HTTP response
- */
-
- }, {
- key: "getFileDataUploadStatusWithHttpInfo",
- value: function getFileDataUploadStatusWithHttpInfo(fileId, versionId, fileType) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling getFileDataUploadStatus");
- } // verify the required parameter 'versionId' is set
-
-
- if (versionId === undefined || versionId === null) {
- throw new _Error["default"]("Missing the required parameter 'versionId' when calling getFileDataUploadStatus");
- } // verify the required parameter 'fileType' is set
-
-
- if (fileType === undefined || fileType === null) {
- throw new _Error["default"]("Missing the required parameter 'fileType' when calling getFileDataUploadStatus");
- }
-
- var pathParams = {
- 'fileId': fileId,
- 'versionId': versionId,
- 'fileType': fileType
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _InlineResponse["default"];
- return this.apiClient.callApi('/file/{fileId}/{versionId}/{fileType}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Check FileData Upload Status
- * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
- * @param {String} fileId
- * @param {Number} versionId
- * @param {module:model/String} fileType
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2004}
- */
-
- }, {
- key: "getFileDataUploadStatus",
- value: function getFileDataUploadStatus(fileId, versionId, fileType) {
- return this.getFileDataUploadStatusWithHttpInfo(fileId, versionId, fileType).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * List Files
- * Returns a list of files
- * @param {Object} opts Optional parameters
- * @param {String} opts.tag Tag, for example \"icon\" or \"gallery\", not included by default.
- * @param {String} opts.userId UserID, will always generate a 500 permission error.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
- */
-
- }, {
- key: "getFilesWithHttpInfo",
- value: function getFilesWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = null;
- var pathParams = {};
- var queryParams = {
- 'tag': opts['tag'],
- 'userId': opts['userId'],
- 'n': opts['n'],
- 'offset': opts['offset']
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = [File];
- return this.apiClient.callApi('/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * List Files
- * Returns a list of files
- * @param {Object} opts Optional parameters
- * @param {String} opts.tag Tag, for example \"icon\" or \"gallery\", not included by default.
- * @param {String} opts.userId UserID, will always generate a 500 permission error.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
- */
-
- }, {
- key: "getFiles",
- value: function getFiles(opts) {
- return this.getFilesWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Start FileData Upload
- * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
- * @param {String} fileId
- * @param {Number} versionId
- * @param {module:model/String} fileType
- * @param {Number} partNumber
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2005} and HTTP response
- */
-
- }, {
- key: "startFileDataUploadWithHttpInfo",
- value: function startFileDataUploadWithHttpInfo(fileId, versionId, fileType, partNumber) {
- var postBody = null; // verify the required parameter 'fileId' is set
-
- if (fileId === undefined || fileId === null) {
- throw new _Error["default"]("Missing the required parameter 'fileId' when calling startFileDataUpload");
- } // verify the required parameter 'versionId' is set
-
-
- if (versionId === undefined || versionId === null) {
- throw new _Error["default"]("Missing the required parameter 'versionId' when calling startFileDataUpload");
- } // verify the required parameter 'fileType' is set
-
-
- if (fileType === undefined || fileType === null) {
- throw new _Error["default"]("Missing the required parameter 'fileType' when calling startFileDataUpload");
- } // verify the required parameter 'partNumber' is set
-
-
- if (partNumber === undefined || partNumber === null) {
- throw new _Error["default"]("Missing the required parameter 'partNumber' when calling startFileDataUpload");
- }
-
- var pathParams = {
- 'fileId': fileId,
- 'versionId': versionId,
- 'fileType': fileType
- };
- var queryParams = {
- 'partNumber': partNumber
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _InlineResponse2["default"];
- return this.apiClient.callApi('/file/{fileId}/{versionId}/{fileType}/start', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Start FileData Upload
- * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
- * @param {String} fileId
- * @param {Number} versionId
- * @param {module:model/String} fileType
- * @param {Number} partNumber
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2005}
- */
-
- }, {
- key: "startFileDataUpload",
- value: function startFileDataUpload(fileId, versionId, fileType, partNumber) {
- return this.startFileDataUploadWithHttpInfo(fileId, versionId, fileType, partNumber).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return FilesApi;
-}();
-
-exports["default"] = FilesApi;
\ No newline at end of file
diff --git a/dist/api/FriendsApi.js b/dist/api/FriendsApi.js
deleted file mode 100644
index f8bd6c3..0000000
--- a/dist/api/FriendsApi.js
+++ /dev/null
@@ -1,268 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Error = _interopRequireDefault(require("../model/Error"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse2003"));
-
-var _InlineResponse2 = _interopRequireDefault(require("../model/InlineResponse401"));
-
-var _LimitedUser = _interopRequireDefault(require("../model/LimitedUser"));
-
-var _Notification = _interopRequireDefault(require("../model/Notification"));
-
-var _Success = _interopRequireDefault(require("../model/Success"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* Friends service.
-* @module api/FriendsApi
-* @version 1.0.0
-*/
-var FriendsApi = /*#__PURE__*/function () {
- /**
- * Constructs a new FriendsApi.
- * @alias module:api/FriendsApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function FriendsApi(apiClient) {
- _classCallCheck(this, FriendsApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Delete Friend Request
- * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
- */
-
-
- _createClass(FriendsApi, [{
- key: "deleteFriendRequestWithHttpInfo",
- value: function deleteFriendRequestWithHttpInfo(userId) {
- var postBody = null; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new _Error["default"]("Missing the required parameter 'userId' when calling deleteFriendRequest");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Success["default"];
- return this.apiClient.callApi('/user/{userId}/friendRequest', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Delete Friend Request
- * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
- */
-
- }, {
- key: "deleteFriendRequest",
- value: function deleteFriendRequest(userId) {
- return this.deleteFriendRequestWithHttpInfo(userId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Send Friend Request
- * Send a friend request to another user.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Notification} and HTTP response
- */
-
- }, {
- key: "friendWithHttpInfo",
- value: function friendWithHttpInfo(userId) {
- var postBody = null; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new _Error["default"]("Missing the required parameter 'userId' when calling friend");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Notification["default"];
- return this.apiClient.callApi('/user/{userId}/friendRequest', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Send Friend Request
- * Send a friend request to another user.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Notification}
- */
-
- }, {
- key: "friend",
- value: function friend(userId) {
- return this.friendWithHttpInfo(userId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Check Friend Status
- * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2003} and HTTP response
- */
-
- }, {
- key: "getFriendStatusWithHttpInfo",
- value: function getFriendStatusWithHttpInfo(userId) {
- var postBody = null; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new _Error["default"]("Missing the required parameter 'userId' when calling getFriendStatus");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _InlineResponse["default"];
- return this.apiClient.callApi('/user/{userId}/friendStatus', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Check Friend Status
- * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2003}
- */
-
- }, {
- key: "getFriendStatus",
- value: function getFriendStatus(userId) {
- return this.getFriendStatusWithHttpInfo(userId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * List Friends
- * List information about friends.
- * @param {Object} opts Optional parameters
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Boolean} opts.offline Returns *only* offline users if true, returns only online and active users if false
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
- */
-
- }, {
- key: "getFriendsWithHttpInfo",
- value: function getFriendsWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = null;
- var pathParams = {};
- var queryParams = {
- 'offset': opts['offset'],
- 'n': opts['n'],
- 'offline': opts['offline']
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = [_LimitedUser["default"]];
- return this.apiClient.callApi('/auth/user/friends', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * List Friends
- * List information about friends.
- * @param {Object} opts Optional parameters
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Boolean} opts.offline Returns *only* offline users if true, returns only online and active users if false
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
- */
-
- }, {
- key: "getFriends",
- value: function getFriends(opts) {
- return this.getFriendsWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Unfriend
- * Unfriend a user by ID.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
- */
-
- }, {
- key: "unfriendWithHttpInfo",
- value: function unfriendWithHttpInfo(userId) {
- var postBody = null; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new _Error["default"]("Missing the required parameter 'userId' when calling unfriend");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Success["default"];
- return this.apiClient.callApi('/auth/user/friends/{userId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Unfriend
- * Unfriend a user by ID.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
- */
-
- }, {
- key: "unfriend",
- value: function unfriend(userId) {
- return this.unfriendWithHttpInfo(userId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return FriendsApi;
-}();
-
-exports["default"] = FriendsApi;
\ No newline at end of file
diff --git a/dist/api/NotificationsApi.js b/dist/api/NotificationsApi.js
deleted file mode 100644
index 1255870..0000000
--- a/dist/api/NotificationsApi.js
+++ /dev/null
@@ -1,264 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Error = _interopRequireDefault(require("../model/Error"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse401"));
-
-var _Notification = _interopRequireDefault(require("../model/Notification"));
-
-var _Success = _interopRequireDefault(require("../model/Success"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* Notifications service.
-* @module api/NotificationsApi
-* @version 1.0.0
-*/
-var NotificationsApi = /*#__PURE__*/function () {
- /**
- * Constructs a new NotificationsApi.
- * @alias module:api/NotificationsApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function NotificationsApi(apiClient) {
- _classCallCheck(this, NotificationsApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Accept Friend Request
- * Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`.
- * @param {String} notificationId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
- */
-
-
- _createClass(NotificationsApi, [{
- key: "acceptFriendRequestWithHttpInfo",
- value: function acceptFriendRequestWithHttpInfo(notificationId) {
- var postBody = null; // verify the required parameter 'notificationId' is set
-
- if (notificationId === undefined || notificationId === null) {
- throw new _Error["default"]("Missing the required parameter 'notificationId' when calling acceptFriendRequest");
- }
-
- var pathParams = {
- 'notificationId': notificationId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Success["default"];
- return this.apiClient.callApi('/auth/user/notifications/{notificationId}/accept', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Accept Friend Request
- * Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`.
- * @param {String} notificationId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
- */
-
- }, {
- key: "acceptFriendRequest",
- value: function acceptFriendRequest(notificationId) {
- return this.acceptFriendRequestWithHttpInfo(notificationId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Clear All Notifications
- * Clear **all** notifications.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Success} and HTTP response
- */
-
- }, {
- key: "clearNotificationsWithHttpInfo",
- value: function clearNotificationsWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Success["default"];
- return this.apiClient.callApi('/auth/user/notifications/clear', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Clear All Notifications
- * Clear **all** notifications.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Success}
- */
-
- }, {
- key: "clearNotifications",
- value: function clearNotifications() {
- return this.clearNotificationsWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Delete Notification
- * Delete a notification.
- * @param {String} notificationId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Notification} and HTTP response
- */
-
- }, {
- key: "deleteNotificationWithHttpInfo",
- value: function deleteNotificationWithHttpInfo(notificationId) {
- var postBody = null; // verify the required parameter 'notificationId' is set
-
- if (notificationId === undefined || notificationId === null) {
- throw new _Error["default"]("Missing the required parameter 'notificationId' when calling deleteNotification");
- }
-
- var pathParams = {
- 'notificationId': notificationId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Notification["default"];
- return this.apiClient.callApi('/auth/user/notifications/{notificationId}/hide', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Delete Notification
- * Delete a notification.
- * @param {String} notificationId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Notification}
- */
-
- }, {
- key: "deleteNotification",
- value: function deleteNotification(notificationId) {
- return this.deleteNotificationWithHttpInfo(notificationId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * List Notifications
- * Retrieve all of the current user's notifications.
- * @param {Object} opts Optional parameters
- * @param {String} opts.type Only send notifications of this type (can use `all` for all).
- * @param {Boolean} opts.sent Return notifications sent by the user. Must be false or omitted.
- * @param {Boolean} opts.hidden Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.
- * @param {String} opts.after Only return notifications sent after this Date. Ignored if type is `friendRequest`.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
- */
-
- }, {
- key: "getNotificationsWithHttpInfo",
- value: function getNotificationsWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = null;
- var pathParams = {};
- var queryParams = {
- 'type': opts['type'],
- 'sent': opts['sent'],
- 'hidden': opts['hidden'],
- 'after': opts['after'],
- 'n': opts['n'],
- 'offset': opts['offset']
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = [_Notification["default"]];
- return this.apiClient.callApi('/auth/user/notifications', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * List Notifications
- * Retrieve all of the current user's notifications.
- * @param {Object} opts Optional parameters
- * @param {String} opts.type Only send notifications of this type (can use `all` for all).
- * @param {Boolean} opts.sent Return notifications sent by the user. Must be false or omitted.
- * @param {Boolean} opts.hidden Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.
- * @param {String} opts.after Only return notifications sent after this Date. Ignored if type is `friendRequest`.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
- */
-
- }, {
- key: "getNotifications",
- value: function getNotifications(opts) {
- return this.getNotificationsWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Mark As Read
- * Mark a notification as seen.
- * @param {String} notificationId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Notification} and HTTP response
- */
-
- }, {
- key: "markNotificationAsReadWithHttpInfo",
- value: function markNotificationAsReadWithHttpInfo(notificationId) {
- var postBody = null; // verify the required parameter 'notificationId' is set
-
- if (notificationId === undefined || notificationId === null) {
- throw new _Error["default"]("Missing the required parameter 'notificationId' when calling markNotificationAsRead");
- }
-
- var pathParams = {
- 'notificationId': notificationId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Notification["default"];
- return this.apiClient.callApi('/auth/user/notifications/{notificationId}/see', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Mark As Read
- * Mark a notification as seen.
- * @param {String} notificationId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Notification}
- */
-
- }, {
- key: "markNotificationAsRead",
- value: function markNotificationAsRead(notificationId) {
- return this.markNotificationAsReadWithHttpInfo(notificationId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return NotificationsApi;
-}();
-
-exports["default"] = NotificationsApi;
\ No newline at end of file
diff --git a/dist/api/SystemApi.js b/dist/api/SystemApi.js
deleted file mode 100644
index b278693..0000000
--- a/dist/api/SystemApi.js
+++ /dev/null
@@ -1,178 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Config = _interopRequireDefault(require("../model/Config"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse2002"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* System service.
-* @module api/SystemApi
-* @version 1.0.0
-*/
-var SystemApi = /*#__PURE__*/function () {
- /**
- * Constructs a new SystemApi.
- * @alias module:api/SystemApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function SystemApi(apiClient) {
- _classCallCheck(this, SystemApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Fetch API Config
- * API config contains configuration that the clients needs to work properly. Currently the most important value here is `clientApiKey` which is used for all other API endpoints.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Config} and HTTP response
- */
-
-
- _createClass(SystemApi, [{
- key: "getConfigWithHttpInfo",
- value: function getConfigWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = [];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _Config["default"];
- return this.apiClient.callApi('/config', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Fetch API Config
- * API config contains configuration that the clients needs to work properly. Currently the most important value here is `clientApiKey` which is used for all other API endpoints.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Config}
- */
-
- }, {
- key: "getConfig",
- value: function getConfig() {
- return this.getConfigWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Current Online Users
- * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
- */
-
- }, {
- key: "getCurrentOnlineUsersWithHttpInfo",
- value: function getCurrentOnlineUsersWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = [];
- var contentTypes = [];
- var accepts = ['text/plain'];
- var returnType = 'Number';
- return this.apiClient.callApi('/visits', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Current Online Users
- * Returns in plain format the number of currently online users. **NOTE:** The response type is not of JSON, but is an integer in plain ASCII format.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
- */
-
- }, {
- key: "getCurrentOnlineUsers",
- value: function getCurrentOnlineUsers() {
- return this.getCurrentOnlineUsersWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Check API Health
- * Gets the overall health status, the server name, and the current build version tag of the API.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse2002} and HTTP response
- */
-
- }, {
- key: "getHealthWithHttpInfo",
- value: function getHealthWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = [];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _InlineResponse["default"];
- return this.apiClient.callApi('/health', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Check API Health
- * Gets the overall health status, the server name, and the current build version tag of the API.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse2002}
- */
-
- }, {
- key: "getHealth",
- value: function getHealth() {
- return this.getHealthWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Current System Time
- * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Date} and HTTP response
- */
-
- }, {
- key: "getSystemTimeWithHttpInfo",
- value: function getSystemTimeWithHttpInfo() {
- var postBody = null;
- var pathParams = {};
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = [];
- var contentTypes = [];
- var accepts = ['text/plain'];
- var returnType = 'Date';
- return this.apiClient.callApi('/time', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Current System Time
- * Returns in plain format the current time of the API server. **NOTE:** The response type is not of JSON, but is a string in plain ASCII format.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Date}
- */
-
- }, {
- key: "getSystemTime",
- value: function getSystemTime() {
- return this.getSystemTimeWithHttpInfo().then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return SystemApi;
-}();
-
-exports["default"] = SystemApi;
\ No newline at end of file
diff --git a/dist/api/UsersApi.js b/dist/api/UsersApi.js
deleted file mode 100644
index 5f176a9..0000000
--- a/dist/api/UsersApi.js
+++ /dev/null
@@ -1,286 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _CurrentUser = _interopRequireDefault(require("../model/CurrentUser"));
-
-var _InlineObject = _interopRequireDefault(require("../model/InlineObject2"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse401"));
-
-var _LimitedUser = _interopRequireDefault(require("../model/LimitedUser"));
-
-var _User = _interopRequireDefault(require("../model/User"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* Users service.
-* @module api/UsersApi
-* @version 1.0.0
-*/
-var UsersApi = /*#__PURE__*/function () {
- /**
- * Constructs a new UsersApi.
- * @alias module:api/UsersApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function UsersApi(apiClient) {
- _classCallCheck(this, UsersApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Get User by ID
- * Get public user information about a specific user using their ID.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
- */
-
-
- _createClass(UsersApi, [{
- key: "getUserWithHttpInfo",
- value: function getUserWithHttpInfo(userId) {
- var postBody = null; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new Error("Missing the required parameter 'userId' when calling getUser");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _User["default"];
- return this.apiClient.callApi('/users/{userId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Get User by ID
- * Get public user information about a specific user using their ID.
- * @param {String} userId
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
- */
-
- }, {
- key: "getUser",
- value: function getUser(userId) {
- return this.getUserWithHttpInfo(userId).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Get User by Username
- * Get public user information about a specific user using their name.
- * @param {String} username
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
- */
-
- }, {
- key: "getUserByNameWithHttpInfo",
- value: function getUserByNameWithHttpInfo(username) {
- var postBody = null; // verify the required parameter 'username' is set
-
- if (username === undefined || username === null) {
- throw new Error("Missing the required parameter 'username' when calling getUserByName");
- }
-
- var pathParams = {
- 'username': username
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = _User["default"];
- return this.apiClient.callApi('/users/{username}/name', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Get User by Username
- * Get public user information about a specific user using their name.
- * @param {String} username
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
- */
-
- }, {
- key: "getUserByName",
- value: function getUserByName(username) {
- return this.getUserByNameWithHttpInfo(username).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Search Active Users
- * Search and list any Active users by text query. **Has been locked down and now always respond with \"Invalid Admin Credentials\".**
- * @param {String} search Username to search for
- * @param {Object} opts Optional parameters
- * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
- */
-
- }, {
- key: "searchActiveUsersWithHttpInfo",
- value: function searchActiveUsersWithHttpInfo(search, opts) {
- opts = opts || {};
- var postBody = null; // verify the required parameter 'search' is set
-
- if (search === undefined || search === null) {
- throw new Error("Missing the required parameter 'search' when calling searchActiveUsers");
- }
-
- var pathParams = {};
- var queryParams = {
- 'search': search,
- 'developerType': opts['developerType'],
- 'offset': opts['offset'],
- 'n': opts['n']
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = [_LimitedUser["default"]];
- return this.apiClient.callApi('/users/active', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Search Active Users
- * Search and list any Active users by text query. **Has been locked down and now always respond with \"Invalid Admin Credentials\".**
- * @param {String} search Username to search for
- * @param {Object} opts Optional parameters
- * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
- */
-
- }, {
- key: "searchActiveUsers",
- value: function searchActiveUsers(search, opts) {
- return this.searchActiveUsersWithHttpInfo(search, opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Search All Users
- * Search and list any users by text query
- * @param {Object} opts Optional parameters
- * @param {String} opts.search Searches by `displayName`. Will return empty array if search query is empty or missing.
- * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
- */
-
- }, {
- key: "searchUsersWithHttpInfo",
- value: function searchUsersWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = null;
- var pathParams = {};
- var queryParams = {
- 'search': opts['search'],
- 'developerType': opts['developerType'],
- 'n': opts['n'],
- 'offset': opts['offset']
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = [_LimitedUser["default"]];
- return this.apiClient.callApi('/users', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Search All Users
- * Search and list any users by text query
- * @param {Object} opts Optional parameters
- * @param {String} opts.search Searches by `displayName`. Will return empty array if search query is empty or missing.
- * @param {String} opts.developerType Active user by developer type, none for normal users and internal for moderators
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
- */
-
- }, {
- key: "searchUsers",
- value: function searchUsers(opts) {
- return this.searchUsersWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- /**
- * Update User Info
- * Update a users information such as the email and birthday.
- * @param {String} userId
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject2} opts.inlineObject2
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrentUser} and HTTP response
- */
-
- }, {
- key: "updateUserWithHttpInfo",
- value: function updateUserWithHttpInfo(userId, opts) {
- opts = opts || {};
- var postBody = opts['inlineObject2']; // verify the required parameter 'userId' is set
-
- if (userId === undefined || userId === null) {
- throw new Error("Missing the required parameter 'userId' when calling updateUser");
- }
-
- var pathParams = {
- 'userId': userId
- };
- var queryParams = {};
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = ['application/json'];
- var accepts = ['application/json'];
- var returnType = _CurrentUser["default"];
- return this.apiClient.callApi('/users/{userId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Update User Info
- * Update a users information such as the email and birthday.
- * @param {String} userId
- * @param {Object} opts Optional parameters
- * @param {module:model/InlineObject2} opts.inlineObject2
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrentUser}
- */
-
- }, {
- key: "updateUser",
- value: function updateUser(userId, opts) {
- return this.updateUserWithHttpInfo(userId, opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return UsersApi;
-}();
-
-exports["default"] = UsersApi;
\ No newline at end of file
diff --git a/dist/api/WorldsApi.js b/dist/api/WorldsApi.js
deleted file mode 100644
index 7b01921..0000000
--- a/dist/api/WorldsApi.js
+++ /dev/null
@@ -1,131 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _InlineResponse = _interopRequireDefault(require("../model/InlineResponse401"));
-
-var _LimitedWorld = _interopRequireDefault(require("../model/LimitedWorld"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
-* Worlds service.
-* @module api/WorldsApi
-* @version 1.0.0
-*/
-var WorldsApi = /*#__PURE__*/function () {
- /**
- * Constructs a new WorldsApi.
- * @alias module:api/WorldsApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- function WorldsApi(apiClient) {
- _classCallCheck(this, WorldsApi);
-
- this.apiClient = apiClient || _ApiClient["default"].instance;
- }
- /**
- * Search all worlds
- * Search and list any worlds by text query
- * @param {Object} opts Optional parameters
- * @param {Boolean} opts.featured is the world featured
- * @param {module:model/String} opts.sort (default to 'order')
- * @param {String} opts.user Set to `me` for searching own worlds
- * @param {String} opts.userId Filter by creator id, use `me` for only worlds owned by current user
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {module:model/String} opts.order (default to 'descending')
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @param {String} opts.search Searches by `name`. Will return empty array if search query is empty or missing.
- * @param {Array.} opts.tag Filter by Tag
- * @param {Array.} opts.notag Tags to exclude
- * @param {module:model/String} opts.releaseStatus (default to 'hidden')
- * @param {String} opts.maxUnityVersion Current unity version the game is using
- * @param {String} opts.minUnityVersion The min unity version the world support
- * @param {String} opts.maxAssetVersion Current asset version the game is using
- * @param {String} opts.minAssetVersion The min asset version the world support
- * @param {String} opts.platform The platform the world supports (usually standalonewindows)
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
- */
-
-
- _createClass(WorldsApi, [{
- key: "searchWorldsWithHttpInfo",
- value: function searchWorldsWithHttpInfo(opts) {
- opts = opts || {};
- var postBody = null;
- var pathParams = {};
- var queryParams = {
- 'featured': opts['featured'],
- 'sort': opts['sort'],
- 'user': opts['user'],
- 'userId': opts['userId'],
- 'n': opts['n'],
- 'order': opts['order'],
- 'offset': opts['offset'],
- 'search': opts['search'],
- 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
- 'notag': this.apiClient.buildCollectionParam(opts['notag'], 'multi'),
- 'releaseStatus': opts['releaseStatus'],
- 'maxUnityVersion': opts['maxUnityVersion'],
- 'minUnityVersion': opts['minUnityVersion'],
- 'maxAssetVersion': opts['maxAssetVersion'],
- 'minAssetVersion': opts['minAssetVersion'],
- 'platform': opts['platform']
- };
- var headerParams = {};
- var formParams = {};
- var authNames = ['apiKeyCookie', 'authCookie'];
- var contentTypes = [];
- var accepts = ['application/json'];
- var returnType = [_LimitedWorld["default"]];
- return this.apiClient.callApi('/worlds', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
- }
- /**
- * Search all worlds
- * Search and list any worlds by text query
- * @param {Object} opts Optional parameters
- * @param {Boolean} opts.featured is the world featured
- * @param {module:model/String} opts.sort (default to 'order')
- * @param {String} opts.user Set to `me` for searching own worlds
- * @param {String} opts.userId Filter by creator id, use `me` for only worlds owned by current user
- * @param {Number} opts.n The number of objects to return. (default to 60)
- * @param {module:model/String} opts.order (default to 'descending')
- * @param {Number} opts.offset A zero-based offset from the default object sorting from where search results start.
- * @param {String} opts.search Searches by `name`. Will return empty array if search query is empty or missing.
- * @param {Array.} opts.tag Filter by Tag
- * @param {Array.} opts.notag Tags to exclude
- * @param {module:model/String} opts.releaseStatus (default to 'hidden')
- * @param {String} opts.maxUnityVersion Current unity version the game is using
- * @param {String} opts.minUnityVersion The min unity version the world support
- * @param {String} opts.maxAssetVersion Current asset version the game is using
- * @param {String} opts.minAssetVersion The min asset version the world support
- * @param {String} opts.platform The platform the world supports (usually standalonewindows)
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
- */
-
- }, {
- key: "searchWorlds",
- value: function searchWorlds(opts) {
- return this.searchWorldsWithHttpInfo(opts).then(function (response_and_data) {
- return response_and_data.data;
- });
- }
- }]);
-
- return WorldsApi;
-}();
-
-exports["default"] = WorldsApi;
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
deleted file mode 100644
index 8b3c3e2..0000000
--- a/dist/index.js
+++ /dev/null
@@ -1,359 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-Object.defineProperty(exports, "ApiClient", {
- enumerable: true,
- get: function get() {
- return _ApiClient["default"];
- }
-});
-Object.defineProperty(exports, "Config", {
- enumerable: true,
- get: function get() {
- return _Config["default"];
- }
-});
-Object.defineProperty(exports, "ConfigAnnouncements", {
- enumerable: true,
- get: function get() {
- return _ConfigAnnouncements["default"];
- }
-});
-Object.defineProperty(exports, "ConfigDownloadUrls", {
- enumerable: true,
- get: function get() {
- return _ConfigDownloadUrls["default"];
- }
-});
-Object.defineProperty(exports, "ConfigDynamicWorldRows", {
- enumerable: true,
- get: function get() {
- return _ConfigDynamicWorldRows["default"];
- }
-});
-Object.defineProperty(exports, "ConfigEvents", {
- enumerable: true,
- get: function get() {
- return _ConfigEvents["default"];
- }
-});
-Object.defineProperty(exports, "CurrentUser", {
- enumerable: true,
- get: function get() {
- return _CurrentUser["default"];
- }
-});
-Object.defineProperty(exports, "DeploymentGroup", {
- enumerable: true,
- get: function get() {
- return _DeploymentGroup["default"];
- }
-});
-Object.defineProperty(exports, "DeveloperType", {
- enumerable: true,
- get: function get() {
- return _DeveloperType["default"];
- }
-});
-Object.defineProperty(exports, "Error", {
- enumerable: true,
- get: function get() {
- return _Error["default"];
- }
-});
-Object.defineProperty(exports, "File", {
- enumerable: true,
- get: function get() {
- return _File["default"];
- }
-});
-Object.defineProperty(exports, "FileData", {
- enumerable: true,
- get: function get() {
- return _FileData["default"];
- }
-});
-Object.defineProperty(exports, "FileStatus", {
- enumerable: true,
- get: function get() {
- return _FileStatus["default"];
- }
-});
-Object.defineProperty(exports, "FileVersion", {
- enumerable: true,
- get: function get() {
- return _FileVersion["default"];
- }
-});
-Object.defineProperty(exports, "InlineObject", {
- enumerable: true,
- get: function get() {
- return _InlineObject["default"];
- }
-});
-Object.defineProperty(exports, "InlineObject1", {
- enumerable: true,
- get: function get() {
- return _InlineObject2["default"];
- }
-});
-Object.defineProperty(exports, "InlineObject2", {
- enumerable: true,
- get: function get() {
- return _InlineObject3["default"];
- }
-});
-Object.defineProperty(exports, "InlineObject3", {
- enumerable: true,
- get: function get() {
- return _InlineObject4["default"];
- }
-});
-Object.defineProperty(exports, "InlineObject4", {
- enumerable: true,
- get: function get() {
- return _InlineObject5["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse200", {
- enumerable: true,
- get: function get() {
- return _InlineResponse["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse2001", {
- enumerable: true,
- get: function get() {
- return _InlineResponse2["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse2002", {
- enumerable: true,
- get: function get() {
- return _InlineResponse3["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse2003", {
- enumerable: true,
- get: function get() {
- return _InlineResponse4["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse2004", {
- enumerable: true,
- get: function get() {
- return _InlineResponse5["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse2005", {
- enumerable: true,
- get: function get() {
- return _InlineResponse6["default"];
- }
-});
-Object.defineProperty(exports, "InlineResponse401", {
- enumerable: true,
- get: function get() {
- return _InlineResponse7["default"];
- }
-});
-Object.defineProperty(exports, "LimitedUser", {
- enumerable: true,
- get: function get() {
- return _LimitedUser["default"];
- }
-});
-Object.defineProperty(exports, "LimitedWorld", {
- enumerable: true,
- get: function get() {
- return _LimitedWorld["default"];
- }
-});
-Object.defineProperty(exports, "MIMEType", {
- enumerable: true,
- get: function get() {
- return _MIMEType["default"];
- }
-});
-Object.defineProperty(exports, "Notification", {
- enumerable: true,
- get: function get() {
- return _Notification["default"];
- }
-});
-Object.defineProperty(exports, "NotificationType", {
- enumerable: true,
- get: function get() {
- return _NotificationType["default"];
- }
-});
-Object.defineProperty(exports, "ReleaseStatus", {
- enumerable: true,
- get: function get() {
- return _ReleaseStatus["default"];
- }
-});
-Object.defineProperty(exports, "Response", {
- enumerable: true,
- get: function get() {
- return _Response["default"];
- }
-});
-Object.defineProperty(exports, "Success", {
- enumerable: true,
- get: function get() {
- return _Success["default"];
- }
-});
-Object.defineProperty(exports, "User", {
- enumerable: true,
- get: function get() {
- return _User["default"];
- }
-});
-Object.defineProperty(exports, "UserState", {
- enumerable: true,
- get: function get() {
- return _UserState["default"];
- }
-});
-Object.defineProperty(exports, "UserStatus", {
- enumerable: true,
- get: function get() {
- return _UserStatus["default"];
- }
-});
-Object.defineProperty(exports, "AuthenticationApi", {
- enumerable: true,
- get: function get() {
- return _AuthenticationApi["default"];
- }
-});
-Object.defineProperty(exports, "FilesApi", {
- enumerable: true,
- get: function get() {
- return _FilesApi["default"];
- }
-});
-Object.defineProperty(exports, "FriendsApi", {
- enumerable: true,
- get: function get() {
- return _FriendsApi["default"];
- }
-});
-Object.defineProperty(exports, "NotificationsApi", {
- enumerable: true,
- get: function get() {
- return _NotificationsApi["default"];
- }
-});
-Object.defineProperty(exports, "SystemApi", {
- enumerable: true,
- get: function get() {
- return _SystemApi["default"];
- }
-});
-Object.defineProperty(exports, "UsersApi", {
- enumerable: true,
- get: function get() {
- return _UsersApi["default"];
- }
-});
-Object.defineProperty(exports, "WorldsApi", {
- enumerable: true,
- get: function get() {
- return _WorldsApi["default"];
- }
-});
-
-var _ApiClient = _interopRequireDefault(require("./ApiClient"));
-
-var _Config = _interopRequireDefault(require("./model/Config"));
-
-var _ConfigAnnouncements = _interopRequireDefault(require("./model/ConfigAnnouncements"));
-
-var _ConfigDownloadUrls = _interopRequireDefault(require("./model/ConfigDownloadUrls"));
-
-var _ConfigDynamicWorldRows = _interopRequireDefault(require("./model/ConfigDynamicWorldRows"));
-
-var _ConfigEvents = _interopRequireDefault(require("./model/ConfigEvents"));
-
-var _CurrentUser = _interopRequireDefault(require("./model/CurrentUser"));
-
-var _DeploymentGroup = _interopRequireDefault(require("./model/DeploymentGroup"));
-
-var _DeveloperType = _interopRequireDefault(require("./model/DeveloperType"));
-
-var _Error = _interopRequireDefault(require("./model/Error"));
-
-var _File = _interopRequireDefault(require("./model/File"));
-
-var _FileData = _interopRequireDefault(require("./model/FileData"));
-
-var _FileStatus = _interopRequireDefault(require("./model/FileStatus"));
-
-var _FileVersion = _interopRequireDefault(require("./model/FileVersion"));
-
-var _InlineObject = _interopRequireDefault(require("./model/InlineObject"));
-
-var _InlineObject2 = _interopRequireDefault(require("./model/InlineObject1"));
-
-var _InlineObject3 = _interopRequireDefault(require("./model/InlineObject2"));
-
-var _InlineObject4 = _interopRequireDefault(require("./model/InlineObject3"));
-
-var _InlineObject5 = _interopRequireDefault(require("./model/InlineObject4"));
-
-var _InlineResponse = _interopRequireDefault(require("./model/InlineResponse200"));
-
-var _InlineResponse2 = _interopRequireDefault(require("./model/InlineResponse2001"));
-
-var _InlineResponse3 = _interopRequireDefault(require("./model/InlineResponse2002"));
-
-var _InlineResponse4 = _interopRequireDefault(require("./model/InlineResponse2003"));
-
-var _InlineResponse5 = _interopRequireDefault(require("./model/InlineResponse2004"));
-
-var _InlineResponse6 = _interopRequireDefault(require("./model/InlineResponse2005"));
-
-var _InlineResponse7 = _interopRequireDefault(require("./model/InlineResponse401"));
-
-var _LimitedUser = _interopRequireDefault(require("./model/LimitedUser"));
-
-var _LimitedWorld = _interopRequireDefault(require("./model/LimitedWorld"));
-
-var _MIMEType = _interopRequireDefault(require("./model/MIMEType"));
-
-var _Notification = _interopRequireDefault(require("./model/Notification"));
-
-var _NotificationType = _interopRequireDefault(require("./model/NotificationType"));
-
-var _ReleaseStatus = _interopRequireDefault(require("./model/ReleaseStatus"));
-
-var _Response = _interopRequireDefault(require("./model/Response"));
-
-var _Success = _interopRequireDefault(require("./model/Success"));
-
-var _User = _interopRequireDefault(require("./model/User"));
-
-var _UserState = _interopRequireDefault(require("./model/UserState"));
-
-var _UserStatus = _interopRequireDefault(require("./model/UserStatus"));
-
-var _AuthenticationApi = _interopRequireDefault(require("./api/AuthenticationApi"));
-
-var _FilesApi = _interopRequireDefault(require("./api/FilesApi"));
-
-var _FriendsApi = _interopRequireDefault(require("./api/FriendsApi"));
-
-var _NotificationsApi = _interopRequireDefault(require("./api/NotificationsApi"));
-
-var _SystemApi = _interopRequireDefault(require("./api/SystemApi"));
-
-var _UsersApi = _interopRequireDefault(require("./api/UsersApi"));
-
-var _WorldsApi = _interopRequireDefault(require("./api/WorldsApi"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
\ No newline at end of file
diff --git a/dist/model/Config.js b/dist/model/Config.js
deleted file mode 100644
index 1f2389b..0000000
--- a/dist/model/Config.js
+++ /dev/null
@@ -1,973 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _ConfigAnnouncements = _interopRequireDefault(require("./ConfigAnnouncements"));
-
-var _ConfigDownloadUrls = _interopRequireDefault(require("./ConfigDownloadUrls"));
-
-var _ConfigDynamicWorldRows = _interopRequireDefault(require("./ConfigDynamicWorldRows"));
-
-var _ConfigEvents = _interopRequireDefault(require("./ConfigEvents"));
-
-var _DeploymentGroup = _interopRequireDefault(require("./DeploymentGroup"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The Config model module.
- * @module model/Config
- * @version 1.0.0
- */
-var Config = /*#__PURE__*/function () {
- /**
- * Constructs a new Config.
- * @alias module:model/Config
- * @param address {String} VRChat's office address
- * @param announcements {Array.} PSA, Public Announcements
- * @param apiKey {String} apiKey to be used for all other requests
- * @param appName {String} Game name
- * @param buildVersionTag {String} Build tag of the API server
- * @param clientApiKey {String} apiKey to be used for all other requests
- * @param contactEmail {String} VRChat's contact email
- * @param copyrightEmail {String} VRChat's copyright-issues-related email
- * @param currentTOSVersion {Number} Current version number of the Terms of Service
- * @param defaultAvatar {String}
- * @param deploymentGroup {module:model/DeploymentGroup}
- * @param devAppVersionStandalone {String} Version number for game development build
- * @param devDownloadLinkWindows {String} Developer Download link
- * @param devSdkUrl {String} Link to download the development SDK, use downloadUrls instead
- * @param devSdkVersion {String} Version of the development SDK
- * @param devServerVersionStandalone {String} Version number for server development build
- * @param disableAvatarCopying {Boolean} Toggles if copying avatars should be disabled
- * @param disableAvatarGating {Boolean} Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
- * @param disableCommunityLabs {Boolean} Toggles if the Community Labs should be disabled
- * @param disableCommunityLabsPromotion {Boolean} Toggles if promotion out of Community Labs should be disabled
- * @param disableEventStream {Boolean} Toggles if Analytics should be disabled (this sreportedly not used in the Client)
- * @param disableFeedbackGating {Boolean} Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
- * @param disableRegistration {Boolean} Toggles if new user account registration should be disabled
- * @param disableSteamNetworking {Boolean} Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
- * @param disableTwoFactorAuth {Boolean} Toggles if 2FA should be disabled.
- * @param disableUdon {Boolean} Toggles if Udon should be universally disabled in-game.
- * @param disableUpgradeAccount {Boolean} Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
- * @param downloadLinkWindows {String} Download link for game on the Oculus Rift website.
- * @param downloadUrls {module:model/ConfigDownloadUrls}
- * @param dynamicWorldRows {Array.} Array of DynamicWorldRow objects, used by the game to display the list of world rows
- * @param events {module:model/ConfigEvents}
- * @param gearDemoRoomId {String} Unknown
- * @param homepageRedirectTarget {String} Redirect target if you try to open the base API domain in your browser
- * @param homeWorldId {String}
- * @param hubWorldId {String}
- * @param jobsEmail {String} VRChat's job application email
- * @param messageOfTheDay {String} MOTD
- * @param moderationEmail {String} VRChat's moderation related email
- * @param moderationQueryPeriod {Number} Unknown
- * @param notAllowedToSelectAvatarInPrivateWorldMessage {String} Used in-game to notify a user they aren't allowed to select avatars in private worlds
- * @param plugin {String} Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
- * @param releaseAppVersionStandalone {String} Version number for game release build
- * @param releaseSdkUrl {String} Link to download the release SDK
- * @param releaseSdkVersion {String} Version of the release SDK
- * @param releaseServerVersionStandalone {String} Version number for server release build
- * @param sdkDeveloperFaqUrl {String} Link to the developer FAQ
- * @param sdkDiscordUrl {String} Link to the official VRChat Discord
- * @param sdkNotAllowedToPublishMessage {String} Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet
- * @param sdkUnityVersion {String} Unity version supported by the SDK
- * @param serverName {String} Server name of the API server currently responding
- * @param supportEmail {String} VRChat's support email
- * @param timeOutWorldId {String}
- * @param tutorialWorldId {String}
- * @param updateRateMsMaximum {Number} Unknown
- * @param updateRateMsMinimum {Number} Unknown
- * @param updateRateMsNormal {Number} Unknown
- * @param updateRateMsUdonManual {Number} Unknown
- * @param uploadAnalysisPercent {Number} Unknown
- * @param urlList {Array.} List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game
- * @param useReliableUdpForVoice {Boolean} Unknown
- * @param userUpdatePeriod {Number} Unknown
- * @param userVerificationDelay {Number} Unknown
- * @param userVerificationRetry {Number} Unknown
- * @param userVerificationTimeout {Number} Unknown
- * @param viveWindowsUrl {String} Download link for game on the Steam website.
- * @param whiteListedAssetUrls {Array.} List of allowed URLs that are allowed to host avatar assets
- * @param worldUpdatePeriod {Number} Unknown
- * @param youtubedlHash {String} Currently used youtube-dl.exe hash in SHA-256-delimited format
- * @param youtubedlVersion {String} Currently used youtube-dl.exe version
- */
- function Config(address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion) {
- _classCallCheck(this, Config);
-
- Config.initialize(this, address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(Config, null, [{
- key: "initialize",
- value: function initialize(obj, address, announcements, apiKey, appName, buildVersionTag, clientApiKey, contactEmail, copyrightEmail, currentTOSVersion, defaultAvatar, deploymentGroup, devAppVersionStandalone, devDownloadLinkWindows, devSdkUrl, devSdkVersion, devServerVersionStandalone, disableAvatarCopying, disableAvatarGating, disableCommunityLabs, disableCommunityLabsPromotion, disableEventStream, disableFeedbackGating, disableRegistration, disableSteamNetworking, disableTwoFactorAuth, disableUdon, disableUpgradeAccount, downloadLinkWindows, downloadUrls, dynamicWorldRows, events, gearDemoRoomId, homepageRedirectTarget, homeWorldId, hubWorldId, jobsEmail, messageOfTheDay, moderationEmail, moderationQueryPeriod, notAllowedToSelectAvatarInPrivateWorldMessage, plugin, releaseAppVersionStandalone, releaseSdkUrl, releaseSdkVersion, releaseServerVersionStandalone, sdkDeveloperFaqUrl, sdkDiscordUrl, sdkNotAllowedToPublishMessage, sdkUnityVersion, serverName, supportEmail, timeOutWorldId, tutorialWorldId, updateRateMsMaximum, updateRateMsMinimum, updateRateMsNormal, updateRateMsUdonManual, uploadAnalysisPercent, urlList, useReliableUdpForVoice, userUpdatePeriod, userVerificationDelay, userVerificationRetry, userVerificationTimeout, viveWindowsUrl, whiteListedAssetUrls, worldUpdatePeriod, youtubedlHash, youtubedlVersion) {
- obj['address'] = address;
- obj['announcements'] = announcements;
- obj['apiKey'] = apiKey;
- obj['appName'] = appName || 'VrChat';
- obj['buildVersionTag'] = buildVersionTag;
- obj['clientApiKey'] = clientApiKey;
- obj['contactEmail'] = contactEmail;
- obj['copyrightEmail'] = copyrightEmail;
- obj['currentTOSVersion'] = currentTOSVersion;
- obj['defaultAvatar'] = defaultAvatar;
- obj['deploymentGroup'] = deploymentGroup;
- obj['devAppVersionStandalone'] = devAppVersionStandalone;
- obj['devDownloadLinkWindows'] = devDownloadLinkWindows;
- obj['devSdkUrl'] = devSdkUrl;
- obj['devSdkVersion'] = devSdkVersion;
- obj['devServerVersionStandalone'] = devServerVersionStandalone;
- obj['disableAvatarCopying'] = disableAvatarCopying || false;
- obj['disableAvatarGating'] = disableAvatarGating || false;
- obj['disableCommunityLabs'] = disableCommunityLabs || false;
- obj['disableCommunityLabsPromotion'] = disableCommunityLabsPromotion || false;
- obj['disableEventStream'] = disableEventStream || false;
- obj['disableFeedbackGating'] = disableFeedbackGating || false;
- obj['disableRegistration'] = disableRegistration || false;
- obj['disableSteamNetworking'] = disableSteamNetworking || true;
- obj['disableTwoFactorAuth'] = disableTwoFactorAuth || false;
- obj['disableUdon'] = disableUdon || false;
- obj['disableUpgradeAccount'] = disableUpgradeAccount || false;
- obj['downloadLinkWindows'] = downloadLinkWindows;
- obj['downloadUrls'] = downloadUrls;
- obj['dynamicWorldRows'] = dynamicWorldRows;
- obj['events'] = events;
- obj['gearDemoRoomId'] = gearDemoRoomId;
- obj['homepageRedirectTarget'] = homepageRedirectTarget || 'https://hello.vrchat.com';
- obj['homeWorldId'] = homeWorldId;
- obj['hubWorldId'] = hubWorldId;
- obj['jobsEmail'] = jobsEmail;
- obj['messageOfTheDay'] = messageOfTheDay;
- obj['moderationEmail'] = moderationEmail;
- obj['moderationQueryPeriod'] = moderationQueryPeriod;
- obj['notAllowedToSelectAvatarInPrivateWorldMessage'] = notAllowedToSelectAvatarInPrivateWorldMessage;
- obj['plugin'] = plugin;
- obj['releaseAppVersionStandalone'] = releaseAppVersionStandalone;
- obj['releaseSdkUrl'] = releaseSdkUrl;
- obj['releaseSdkVersion'] = releaseSdkVersion;
- obj['releaseServerVersionStandalone'] = releaseServerVersionStandalone;
- obj['sdkDeveloperFaqUrl'] = sdkDeveloperFaqUrl;
- obj['sdkDiscordUrl'] = sdkDiscordUrl;
- obj['sdkNotAllowedToPublishMessage'] = sdkNotAllowedToPublishMessage;
- obj['sdkUnityVersion'] = sdkUnityVersion;
- obj['serverName'] = serverName;
- obj['supportEmail'] = supportEmail;
- obj['timeOutWorldId'] = timeOutWorldId;
- obj['tutorialWorldId'] = tutorialWorldId;
- obj['updateRateMsMaximum'] = updateRateMsMaximum;
- obj['updateRateMsMinimum'] = updateRateMsMinimum;
- obj['updateRateMsNormal'] = updateRateMsNormal;
- obj['updateRateMsUdonManual'] = updateRateMsUdonManual;
- obj['uploadAnalysisPercent'] = uploadAnalysisPercent;
- obj['urlList'] = urlList;
- obj['useReliableUdpForVoice'] = useReliableUdpForVoice || false;
- obj['userUpdatePeriod'] = userUpdatePeriod;
- obj['userVerificationDelay'] = userVerificationDelay;
- obj['userVerificationRetry'] = userVerificationRetry;
- obj['userVerificationTimeout'] = userVerificationTimeout;
- obj['viveWindowsUrl'] = viveWindowsUrl;
- obj['whiteListedAssetUrls'] = whiteListedAssetUrls;
- obj['worldUpdatePeriod'] = worldUpdatePeriod;
- obj['youtubedl-hash'] = youtubedlHash;
- obj['youtubedl-version'] = youtubedlVersion;
- }
- /**
- * Constructs a Config from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Config} obj Optional instance to populate.
- * @return {module:model/Config} The populated Config instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new Config();
-
- if (data.hasOwnProperty('address')) {
- obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
- }
-
- if (data.hasOwnProperty('announcements')) {
- obj['announcements'] = _ApiClient["default"].convertToType(data['announcements'], [_ConfigAnnouncements["default"]]);
- }
-
- if (data.hasOwnProperty('apiKey')) {
- obj['apiKey'] = _ApiClient["default"].convertToType(data['apiKey'], 'String');
- }
-
- if (data.hasOwnProperty('appName')) {
- obj['appName'] = _ApiClient["default"].convertToType(data['appName'], 'String');
- }
-
- if (data.hasOwnProperty('buildVersionTag')) {
- obj['buildVersionTag'] = _ApiClient["default"].convertToType(data['buildVersionTag'], 'String');
- }
-
- if (data.hasOwnProperty('clientApiKey')) {
- obj['clientApiKey'] = _ApiClient["default"].convertToType(data['clientApiKey'], 'String');
- }
-
- if (data.hasOwnProperty('clientBPSCeiling')) {
- obj['clientBPSCeiling'] = _ApiClient["default"].convertToType(data['clientBPSCeiling'], 'Number');
- }
-
- if (data.hasOwnProperty('clientDisconnectTimeout')) {
- obj['clientDisconnectTimeout'] = _ApiClient["default"].convertToType(data['clientDisconnectTimeout'], 'Number');
- }
-
- if (data.hasOwnProperty('clientReservedPlayerBPS')) {
- obj['clientReservedPlayerBPS'] = _ApiClient["default"].convertToType(data['clientReservedPlayerBPS'], 'Number');
- }
-
- if (data.hasOwnProperty('clientSentCountAllowance')) {
- obj['clientSentCountAllowance'] = _ApiClient["default"].convertToType(data['clientSentCountAllowance'], 'Number');
- }
-
- if (data.hasOwnProperty('contactEmail')) {
- obj['contactEmail'] = _ApiClient["default"].convertToType(data['contactEmail'], 'String');
- }
-
- if (data.hasOwnProperty('copyrightEmail')) {
- obj['copyrightEmail'] = _ApiClient["default"].convertToType(data['copyrightEmail'], 'String');
- }
-
- if (data.hasOwnProperty('currentTOSVersion')) {
- obj['currentTOSVersion'] = _ApiClient["default"].convertToType(data['currentTOSVersion'], 'Number');
- }
-
- if (data.hasOwnProperty('defaultAvatar')) {
- obj['defaultAvatar'] = _ApiClient["default"].convertToType(data['defaultAvatar'], 'String');
- }
-
- if (data.hasOwnProperty('deploymentGroup')) {
- obj['deploymentGroup'] = _DeploymentGroup["default"].constructFromObject(data['deploymentGroup']);
- }
-
- if (data.hasOwnProperty('devAppVersionStandalone')) {
- obj['devAppVersionStandalone'] = _ApiClient["default"].convertToType(data['devAppVersionStandalone'], 'String');
- }
-
- if (data.hasOwnProperty('devDownloadLinkWindows')) {
- obj['devDownloadLinkWindows'] = _ApiClient["default"].convertToType(data['devDownloadLinkWindows'], 'String');
- }
-
- if (data.hasOwnProperty('devSdkUrl')) {
- obj['devSdkUrl'] = _ApiClient["default"].convertToType(data['devSdkUrl'], 'String');
- }
-
- if (data.hasOwnProperty('devSdkVersion')) {
- obj['devSdkVersion'] = _ApiClient["default"].convertToType(data['devSdkVersion'], 'String');
- }
-
- if (data.hasOwnProperty('devServerVersionStandalone')) {
- obj['devServerVersionStandalone'] = _ApiClient["default"].convertToType(data['devServerVersionStandalone'], 'String');
- }
-
- if (data.hasOwnProperty('disableAvatarCopying')) {
- obj['disableAvatarCopying'] = _ApiClient["default"].convertToType(data['disableAvatarCopying'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableAvatarGating')) {
- obj['disableAvatarGating'] = _ApiClient["default"].convertToType(data['disableAvatarGating'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableCommunityLabs')) {
- obj['disableCommunityLabs'] = _ApiClient["default"].convertToType(data['disableCommunityLabs'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableCommunityLabsPromotion')) {
- obj['disableCommunityLabsPromotion'] = _ApiClient["default"].convertToType(data['disableCommunityLabsPromotion'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableEmail')) {
- obj['disableEmail'] = _ApiClient["default"].convertToType(data['disableEmail'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableEventStream')) {
- obj['disableEventStream'] = _ApiClient["default"].convertToType(data['disableEventStream'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableFeedbackGating')) {
- obj['disableFeedbackGating'] = _ApiClient["default"].convertToType(data['disableFeedbackGating'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableHello')) {
- obj['disableHello'] = _ApiClient["default"].convertToType(data['disableHello'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableRegistration')) {
- obj['disableRegistration'] = _ApiClient["default"].convertToType(data['disableRegistration'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableSteamNetworking')) {
- obj['disableSteamNetworking'] = _ApiClient["default"].convertToType(data['disableSteamNetworking'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableTwoFactorAuth')) {
- obj['disableTwoFactorAuth'] = _ApiClient["default"].convertToType(data['disableTwoFactorAuth'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableUdon')) {
- obj['disableUdon'] = _ApiClient["default"].convertToType(data['disableUdon'], 'Boolean');
- }
-
- if (data.hasOwnProperty('disableUpgradeAccount')) {
- obj['disableUpgradeAccount'] = _ApiClient["default"].convertToType(data['disableUpgradeAccount'], 'Boolean');
- }
-
- if (data.hasOwnProperty('downloadLinkWindows')) {
- obj['downloadLinkWindows'] = _ApiClient["default"].convertToType(data['downloadLinkWindows'], 'String');
- }
-
- if (data.hasOwnProperty('downloadUrls')) {
- obj['downloadUrls'] = _ConfigDownloadUrls["default"].constructFromObject(data['downloadUrls']);
- }
-
- if (data.hasOwnProperty('dynamicWorldRows')) {
- obj['dynamicWorldRows'] = _ApiClient["default"].convertToType(data['dynamicWorldRows'], [_ConfigDynamicWorldRows["default"]]);
- }
-
- if (data.hasOwnProperty('events')) {
- obj['events'] = _ConfigEvents["default"].constructFromObject(data['events']);
- }
-
- if (data.hasOwnProperty('gearDemoRoomId')) {
- obj['gearDemoRoomId'] = _ApiClient["default"].convertToType(data['gearDemoRoomId'], 'String');
- }
-
- if (data.hasOwnProperty('homepageRedirectTarget')) {
- obj['homepageRedirectTarget'] = _ApiClient["default"].convertToType(data['homepageRedirectTarget'], 'String');
- }
-
- if (data.hasOwnProperty('homeWorldId')) {
- obj['homeWorldId'] = _ApiClient["default"].convertToType(data['homeWorldId'], 'String');
- }
-
- if (data.hasOwnProperty('hubWorldId')) {
- obj['hubWorldId'] = _ApiClient["default"].convertToType(data['hubWorldId'], 'String');
- }
-
- if (data.hasOwnProperty('jobsEmail')) {
- obj['jobsEmail'] = _ApiClient["default"].convertToType(data['jobsEmail'], 'String');
- }
-
- if (data.hasOwnProperty('messageOfTheDay')) {
- obj['messageOfTheDay'] = _ApiClient["default"].convertToType(data['messageOfTheDay'], 'String');
- }
-
- if (data.hasOwnProperty('moderationEmail')) {
- obj['moderationEmail'] = _ApiClient["default"].convertToType(data['moderationEmail'], 'String');
- }
-
- if (data.hasOwnProperty('moderationQueryPeriod')) {
- obj['moderationQueryPeriod'] = _ApiClient["default"].convertToType(data['moderationQueryPeriod'], 'Number');
- }
-
- if (data.hasOwnProperty('notAllowedToSelectAvatarInPrivateWorldMessage')) {
- obj['notAllowedToSelectAvatarInPrivateWorldMessage'] = _ApiClient["default"].convertToType(data['notAllowedToSelectAvatarInPrivateWorldMessage'], 'String');
- }
-
- if (data.hasOwnProperty('plugin')) {
- obj['plugin'] = _ApiClient["default"].convertToType(data['plugin'], 'String');
- }
-
- if (data.hasOwnProperty('releaseAppVersionStandalone')) {
- obj['releaseAppVersionStandalone'] = _ApiClient["default"].convertToType(data['releaseAppVersionStandalone'], 'String');
- }
-
- if (data.hasOwnProperty('releaseSdkUrl')) {
- obj['releaseSdkUrl'] = _ApiClient["default"].convertToType(data['releaseSdkUrl'], 'String');
- }
-
- if (data.hasOwnProperty('releaseSdkVersion')) {
- obj['releaseSdkVersion'] = _ApiClient["default"].convertToType(data['releaseSdkVersion'], 'String');
- }
-
- if (data.hasOwnProperty('releaseServerVersionStandalone')) {
- obj['releaseServerVersionStandalone'] = _ApiClient["default"].convertToType(data['releaseServerVersionStandalone'], 'String');
- }
-
- if (data.hasOwnProperty('sdkDeveloperFaqUrl')) {
- obj['sdkDeveloperFaqUrl'] = _ApiClient["default"].convertToType(data['sdkDeveloperFaqUrl'], 'String');
- }
-
- if (data.hasOwnProperty('sdkDiscordUrl')) {
- obj['sdkDiscordUrl'] = _ApiClient["default"].convertToType(data['sdkDiscordUrl'], 'String');
- }
-
- if (data.hasOwnProperty('sdkNotAllowedToPublishMessage')) {
- obj['sdkNotAllowedToPublishMessage'] = _ApiClient["default"].convertToType(data['sdkNotAllowedToPublishMessage'], 'String');
- }
-
- if (data.hasOwnProperty('sdkUnityVersion')) {
- obj['sdkUnityVersion'] = _ApiClient["default"].convertToType(data['sdkUnityVersion'], 'String');
- }
-
- if (data.hasOwnProperty('serverName')) {
- obj['serverName'] = _ApiClient["default"].convertToType(data['serverName'], 'String');
- }
-
- if (data.hasOwnProperty('supportEmail')) {
- obj['supportEmail'] = _ApiClient["default"].convertToType(data['supportEmail'], 'String');
- }
-
- if (data.hasOwnProperty('timeOutWorldId')) {
- obj['timeOutWorldId'] = _ApiClient["default"].convertToType(data['timeOutWorldId'], 'String');
- }
-
- if (data.hasOwnProperty('tutorialWorldId')) {
- obj['tutorialWorldId'] = _ApiClient["default"].convertToType(data['tutorialWorldId'], 'String');
- }
-
- if (data.hasOwnProperty('updateRateMsMaximum')) {
- obj['updateRateMsMaximum'] = _ApiClient["default"].convertToType(data['updateRateMsMaximum'], 'Number');
- }
-
- if (data.hasOwnProperty('updateRateMsMinimum')) {
- obj['updateRateMsMinimum'] = _ApiClient["default"].convertToType(data['updateRateMsMinimum'], 'Number');
- }
-
- if (data.hasOwnProperty('updateRateMsNormal')) {
- obj['updateRateMsNormal'] = _ApiClient["default"].convertToType(data['updateRateMsNormal'], 'Number');
- }
-
- if (data.hasOwnProperty('updateRateMsUdonManual')) {
- obj['updateRateMsUdonManual'] = _ApiClient["default"].convertToType(data['updateRateMsUdonManual'], 'Number');
- }
-
- if (data.hasOwnProperty('uploadAnalysisPercent')) {
- obj['uploadAnalysisPercent'] = _ApiClient["default"].convertToType(data['uploadAnalysisPercent'], 'Number');
- }
-
- if (data.hasOwnProperty('urlList')) {
- obj['urlList'] = _ApiClient["default"].convertToType(data['urlList'], ['String']);
- }
-
- if (data.hasOwnProperty('useReliableUdpForVoice')) {
- obj['useReliableUdpForVoice'] = _ApiClient["default"].convertToType(data['useReliableUdpForVoice'], 'Boolean');
- }
-
- if (data.hasOwnProperty('userUpdatePeriod')) {
- obj['userUpdatePeriod'] = _ApiClient["default"].convertToType(data['userUpdatePeriod'], 'Number');
- }
-
- if (data.hasOwnProperty('userVerificationDelay')) {
- obj['userVerificationDelay'] = _ApiClient["default"].convertToType(data['userVerificationDelay'], 'Number');
- }
-
- if (data.hasOwnProperty('userVerificationRetry')) {
- obj['userVerificationRetry'] = _ApiClient["default"].convertToType(data['userVerificationRetry'], 'Number');
- }
-
- if (data.hasOwnProperty('userVerificationTimeout')) {
- obj['userVerificationTimeout'] = _ApiClient["default"].convertToType(data['userVerificationTimeout'], 'Number');
- }
-
- if (data.hasOwnProperty('viveWindowsUrl')) {
- obj['viveWindowsUrl'] = _ApiClient["default"].convertToType(data['viveWindowsUrl'], 'String');
- }
-
- if (data.hasOwnProperty('whiteListedAssetUrls')) {
- obj['whiteListedAssetUrls'] = _ApiClient["default"].convertToType(data['whiteListedAssetUrls'], ['String']);
- }
-
- if (data.hasOwnProperty('worldUpdatePeriod')) {
- obj['worldUpdatePeriod'] = _ApiClient["default"].convertToType(data['worldUpdatePeriod'], 'Number');
- }
-
- if (data.hasOwnProperty('youtubedl-hash')) {
- obj['youtubedl-hash'] = _ApiClient["default"].convertToType(data['youtubedl-hash'], 'String');
- }
-
- if (data.hasOwnProperty('youtubedl-version')) {
- obj['youtubedl-version'] = _ApiClient["default"].convertToType(data['youtubedl-version'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return Config;
-}();
-/**
- * VRChat's office address
- * @member {String} address
- */
-
-
-Config.prototype['address'] = undefined;
-/**
- * PSA, Public Announcements
- * @member {Array.} announcements
- */
-
-Config.prototype['announcements'] = undefined;
-/**
- * apiKey to be used for all other requests
- * @member {String} apiKey
- */
-
-Config.prototype['apiKey'] = undefined;
-/**
- * Game name
- * @member {String} appName
- * @default 'VrChat'
- */
-
-Config.prototype['appName'] = 'VrChat';
-/**
- * Build tag of the API server
- * @member {String} buildVersionTag
- */
-
-Config.prototype['buildVersionTag'] = undefined;
-/**
- * apiKey to be used for all other requests
- * @member {String} clientApiKey
- */
-
-Config.prototype['clientApiKey'] = undefined;
-/**
- * Unknown
- * @member {Number} clientBPSCeiling
- */
-
-Config.prototype['clientBPSCeiling'] = undefined;
-/**
- * Unknown
- * @member {Number} clientDisconnectTimeout
- */
-
-Config.prototype['clientDisconnectTimeout'] = undefined;
-/**
- * Unknown
- * @member {Number} clientReservedPlayerBPS
- */
-
-Config.prototype['clientReservedPlayerBPS'] = undefined;
-/**
- * Unknown
- * @member {Number} clientSentCountAllowance
- */
-
-Config.prototype['clientSentCountAllowance'] = undefined;
-/**
- * VRChat's contact email
- * @member {String} contactEmail
- */
-
-Config.prototype['contactEmail'] = undefined;
-/**
- * VRChat's copyright-issues-related email
- * @member {String} copyrightEmail
- */
-
-Config.prototype['copyrightEmail'] = undefined;
-/**
- * Current version number of the Terms of Service
- * @member {Number} currentTOSVersion
- */
-
-Config.prototype['currentTOSVersion'] = undefined;
-/**
- * @member {String} defaultAvatar
- */
-
-Config.prototype['defaultAvatar'] = undefined;
-/**
- * @member {module:model/DeploymentGroup} deploymentGroup
- */
-
-Config.prototype['deploymentGroup'] = undefined;
-/**
- * Version number for game development build
- * @member {String} devAppVersionStandalone
- */
-
-Config.prototype['devAppVersionStandalone'] = undefined;
-/**
- * Developer Download link
- * @member {String} devDownloadLinkWindows
- */
-
-Config.prototype['devDownloadLinkWindows'] = undefined;
-/**
- * Link to download the development SDK, use downloadUrls instead
- * @member {String} devSdkUrl
- */
-
-Config.prototype['devSdkUrl'] = undefined;
-/**
- * Version of the development SDK
- * @member {String} devSdkVersion
- */
-
-Config.prototype['devSdkVersion'] = undefined;
-/**
- * Version number for server development build
- * @member {String} devServerVersionStandalone
- */
-
-Config.prototype['devServerVersionStandalone'] = undefined;
-/**
- * Toggles if copying avatars should be disabled
- * @member {Boolean} disableAvatarCopying
- * @default false
- */
-
-Config.prototype['disableAvatarCopying'] = false;
-/**
- * Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
- * @member {Boolean} disableAvatarGating
- * @default false
- */
-
-Config.prototype['disableAvatarGating'] = false;
-/**
- * Toggles if the Community Labs should be disabled
- * @member {Boolean} disableCommunityLabs
- * @default false
- */
-
-Config.prototype['disableCommunityLabs'] = false;
-/**
- * Toggles if promotion out of Community Labs should be disabled
- * @member {Boolean} disableCommunityLabsPromotion
- * @default false
- */
-
-Config.prototype['disableCommunityLabsPromotion'] = false;
-/**
- * Unknown
- * @member {Boolean} disableEmail
- * @default false
- */
-
-Config.prototype['disableEmail'] = false;
-/**
- * Toggles if Analytics should be disabled (this sreportedly not used in the Client)
- * @member {Boolean} disableEventStream
- * @default false
- */
-
-Config.prototype['disableEventStream'] = false;
-/**
- * Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
- * @member {Boolean} disableFeedbackGating
- * @default false
- */
-
-Config.prototype['disableFeedbackGating'] = false;
-/**
- * Unknown
- * @member {Boolean} disableHello
- * @default false
- */
-
-Config.prototype['disableHello'] = false;
-/**
- * Toggles if new user account registration should be disabled
- * @member {Boolean} disableRegistration
- * @default false
- */
-
-Config.prototype['disableRegistration'] = false;
-/**
- * Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
- * @member {Boolean} disableSteamNetworking
- * @default true
- */
-
-Config.prototype['disableSteamNetworking'] = true;
-/**
- * Toggles if 2FA should be disabled.
- * @member {Boolean} disableTwoFactorAuth
- * @default false
- */
-
-Config.prototype['disableTwoFactorAuth'] = false;
-/**
- * Toggles if Udon should be universally disabled in-game.
- * @member {Boolean} disableUdon
- * @default false
- */
-
-Config.prototype['disableUdon'] = false;
-/**
- * Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
- * @member {Boolean} disableUpgradeAccount
- * @default false
- */
-
-Config.prototype['disableUpgradeAccount'] = false;
-/**
- * Download link for game on the Oculus Rift website.
- * @member {String} downloadLinkWindows
- */
-
-Config.prototype['downloadLinkWindows'] = undefined;
-/**
- * @member {module:model/ConfigDownloadUrls} downloadUrls
- */
-
-Config.prototype['downloadUrls'] = undefined;
-/**
- * Array of DynamicWorldRow objects, used by the game to display the list of world rows
- * @member {Array.} dynamicWorldRows
- */
-
-Config.prototype['dynamicWorldRows'] = undefined;
-/**
- * @member {module:model/ConfigEvents} events
- */
-
-Config.prototype['events'] = undefined;
-/**
- * Unknown
- * @member {String} gearDemoRoomId
- */
-
-Config.prototype['gearDemoRoomId'] = undefined;
-/**
- * Redirect target if you try to open the base API domain in your browser
- * @member {String} homepageRedirectTarget
- * @default 'https://hello.vrchat.com'
- */
-
-Config.prototype['homepageRedirectTarget'] = 'https://hello.vrchat.com';
-/**
- * @member {String} homeWorldId
- */
-
-Config.prototype['homeWorldId'] = undefined;
-/**
- * @member {String} hubWorldId
- */
-
-Config.prototype['hubWorldId'] = undefined;
-/**
- * VRChat's job application email
- * @member {String} jobsEmail
- */
-
-Config.prototype['jobsEmail'] = undefined;
-/**
- * MOTD
- * @member {String} messageOfTheDay
- */
-
-Config.prototype['messageOfTheDay'] = undefined;
-/**
- * VRChat's moderation related email
- * @member {String} moderationEmail
- */
-
-Config.prototype['moderationEmail'] = undefined;
-/**
- * Unknown
- * @member {Number} moderationQueryPeriod
- */
-
-Config.prototype['moderationQueryPeriod'] = undefined;
-/**
- * Used in-game to notify a user they aren't allowed to select avatars in private worlds
- * @member {String} notAllowedToSelectAvatarInPrivateWorldMessage
- */
-
-Config.prototype['notAllowedToSelectAvatarInPrivateWorldMessage'] = undefined;
-/**
- * Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
- * @member {String} plugin
- */
-
-Config.prototype['plugin'] = undefined;
-/**
- * Version number for game release build
- * @member {String} releaseAppVersionStandalone
- */
-
-Config.prototype['releaseAppVersionStandalone'] = undefined;
-/**
- * Link to download the release SDK
- * @member {String} releaseSdkUrl
- */
-
-Config.prototype['releaseSdkUrl'] = undefined;
-/**
- * Version of the release SDK
- * @member {String} releaseSdkVersion
- */
-
-Config.prototype['releaseSdkVersion'] = undefined;
-/**
- * Version number for server release build
- * @member {String} releaseServerVersionStandalone
- */
-
-Config.prototype['releaseServerVersionStandalone'] = undefined;
-/**
- * Link to the developer FAQ
- * @member {String} sdkDeveloperFaqUrl
- */
-
-Config.prototype['sdkDeveloperFaqUrl'] = undefined;
-/**
- * Link to the official VRChat Discord
- * @member {String} sdkDiscordUrl
- */
-
-Config.prototype['sdkDiscordUrl'] = undefined;
-/**
- * Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet
- * @member {String} sdkNotAllowedToPublishMessage
- */
-
-Config.prototype['sdkNotAllowedToPublishMessage'] = undefined;
-/**
- * Unity version supported by the SDK
- * @member {String} sdkUnityVersion
- */
-
-Config.prototype['sdkUnityVersion'] = undefined;
-/**
- * Server name of the API server currently responding
- * @member {String} serverName
- */
-
-Config.prototype['serverName'] = undefined;
-/**
- * VRChat's support email
- * @member {String} supportEmail
- */
-
-Config.prototype['supportEmail'] = undefined;
-/**
- * @member {String} timeOutWorldId
- */
-
-Config.prototype['timeOutWorldId'] = undefined;
-/**
- * @member {String} tutorialWorldId
- */
-
-Config.prototype['tutorialWorldId'] = undefined;
-/**
- * Unknown
- * @member {Number} updateRateMsMaximum
- */
-
-Config.prototype['updateRateMsMaximum'] = undefined;
-/**
- * Unknown
- * @member {Number} updateRateMsMinimum
- */
-
-Config.prototype['updateRateMsMinimum'] = undefined;
-/**
- * Unknown
- * @member {Number} updateRateMsNormal
- */
-
-Config.prototype['updateRateMsNormal'] = undefined;
-/**
- * Unknown
- * @member {Number} updateRateMsUdonManual
- */
-
-Config.prototype['updateRateMsUdonManual'] = undefined;
-/**
- * Unknown
- * @member {Number} uploadAnalysisPercent
- */
-
-Config.prototype['uploadAnalysisPercent'] = undefined;
-/**
- * List of allowed URLs that bypass the \"Allow untrusted URL's\" setting in-game
- * @member {Array.} urlList
- */
-
-Config.prototype['urlList'] = undefined;
-/**
- * Unknown
- * @member {Boolean} useReliableUdpForVoice
- * @default false
- */
-
-Config.prototype['useReliableUdpForVoice'] = false;
-/**
- * Unknown
- * @member {Number} userUpdatePeriod
- */
-
-Config.prototype['userUpdatePeriod'] = undefined;
-/**
- * Unknown
- * @member {Number} userVerificationDelay
- */
-
-Config.prototype['userVerificationDelay'] = undefined;
-/**
- * Unknown
- * @member {Number} userVerificationRetry
- */
-
-Config.prototype['userVerificationRetry'] = undefined;
-/**
- * Unknown
- * @member {Number} userVerificationTimeout
- */
-
-Config.prototype['userVerificationTimeout'] = undefined;
-/**
- * Download link for game on the Steam website.
- * @member {String} viveWindowsUrl
- */
-
-Config.prototype['viveWindowsUrl'] = undefined;
-/**
- * List of allowed URLs that are allowed to host avatar assets
- * @member {Array.} whiteListedAssetUrls
- */
-
-Config.prototype['whiteListedAssetUrls'] = undefined;
-/**
- * Unknown
- * @member {Number} worldUpdatePeriod
- */
-
-Config.prototype['worldUpdatePeriod'] = undefined;
-/**
- * Currently used youtube-dl.exe hash in SHA-256-delimited format
- * @member {String} youtubedl-hash
- */
-
-Config.prototype['youtubedl-hash'] = undefined;
-/**
- * Currently used youtube-dl.exe version
- * @member {String} youtubedl-version
- */
-
-Config.prototype['youtubedl-version'] = undefined;
-var _default = Config;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigAnnouncements.js b/dist/model/ConfigAnnouncements.js
deleted file mode 100644
index a9667e3..0000000
--- a/dist/model/ConfigAnnouncements.js
+++ /dev/null
@@ -1,92 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The ConfigAnnouncements model module.
- * @module model/ConfigAnnouncements
- * @version 1.0.0
- */
-var ConfigAnnouncements = /*#__PURE__*/function () {
- /**
- * Constructs a new ConfigAnnouncements.
- * Public Announcement
- * @alias module:model/ConfigAnnouncements
- * @param name {String} Announcement name
- * @param text {String} Announcement text
- */
- function ConfigAnnouncements(name, text) {
- _classCallCheck(this, ConfigAnnouncements);
-
- ConfigAnnouncements.initialize(this, name, text);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(ConfigAnnouncements, null, [{
- key: "initialize",
- value: function initialize(obj, name, text) {
- obj['name'] = name;
- obj['text'] = text;
- }
- /**
- * Constructs a ConfigAnnouncements from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/ConfigAnnouncements} obj Optional instance to populate.
- * @return {module:model/ConfigAnnouncements} The populated ConfigAnnouncements instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ConfigAnnouncements();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
- }
-
- if (data.hasOwnProperty('text')) {
- obj['text'] = _ApiClient["default"].convertToType(data['text'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return ConfigAnnouncements;
-}();
-/**
- * Announcement name
- * @member {String} name
- */
-
-
-ConfigAnnouncements.prototype['name'] = undefined;
-/**
- * Announcement text
- * @member {String} text
- */
-
-ConfigAnnouncements.prototype['text'] = undefined;
-var _default = ConfigAnnouncements;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigDownloadUrls.js b/dist/model/ConfigDownloadUrls.js
deleted file mode 100644
index dc5726f..0000000
--- a/dist/model/ConfigDownloadUrls.js
+++ /dev/null
@@ -1,104 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The ConfigDownloadUrls model module.
- * @module model/ConfigDownloadUrls
- * @version 1.0.0
- */
-var ConfigDownloadUrls = /*#__PURE__*/function () {
- /**
- * Constructs a new ConfigDownloadUrls.
- * Download links for various development assets
- * @alias module:model/ConfigDownloadUrls
- * @param sdk2 {String} Download link for legacy SDK2
- * @param sdk3Avatars {String} Download link for SDK3 for Avatars
- * @param sdk3Worlds {String} Download link for SDK3 for Worlds
- */
- function ConfigDownloadUrls(sdk2, sdk3Avatars, sdk3Worlds) {
- _classCallCheck(this, ConfigDownloadUrls);
-
- ConfigDownloadUrls.initialize(this, sdk2, sdk3Avatars, sdk3Worlds);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(ConfigDownloadUrls, null, [{
- key: "initialize",
- value: function initialize(obj, sdk2, sdk3Avatars, sdk3Worlds) {
- obj['sdk2'] = sdk2;
- obj['sdk3-avatars'] = sdk3Avatars;
- obj['sdk3-worlds'] = sdk3Worlds;
- }
- /**
- * Constructs a ConfigDownloadUrls from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/ConfigDownloadUrls} obj Optional instance to populate.
- * @return {module:model/ConfigDownloadUrls} The populated ConfigDownloadUrls instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ConfigDownloadUrls();
-
- if (data.hasOwnProperty('sdk2')) {
- obj['sdk2'] = _ApiClient["default"].convertToType(data['sdk2'], 'String');
- }
-
- if (data.hasOwnProperty('sdk3-avatars')) {
- obj['sdk3-avatars'] = _ApiClient["default"].convertToType(data['sdk3-avatars'], 'String');
- }
-
- if (data.hasOwnProperty('sdk3-worlds')) {
- obj['sdk3-worlds'] = _ApiClient["default"].convertToType(data['sdk3-worlds'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return ConfigDownloadUrls;
-}();
-/**
- * Download link for legacy SDK2
- * @member {String} sdk2
- */
-
-
-ConfigDownloadUrls.prototype['sdk2'] = undefined;
-/**
- * Download link for SDK3 for Avatars
- * @member {String} sdk3-avatars
- */
-
-ConfigDownloadUrls.prototype['sdk3-avatars'] = undefined;
-/**
- * Download link for SDK3 for Worlds
- * @member {String} sdk3-worlds
- */
-
-ConfigDownloadUrls.prototype['sdk3-worlds'] = undefined;
-var _default = ConfigDownloadUrls;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigDynamicWorldRows.js b/dist/model/ConfigDynamicWorldRows.js
deleted file mode 100644
index a156f9a..0000000
--- a/dist/model/ConfigDynamicWorldRows.js
+++ /dev/null
@@ -1,143 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The ConfigDynamicWorldRows model module.
- * @module model/ConfigDynamicWorldRows
- * @version 1.0.0
- */
-var ConfigDynamicWorldRows = /*#__PURE__*/function () {
- /**
- * Constructs a new ConfigDynamicWorldRows.
- * @alias module:model/ConfigDynamicWorldRows
- * @param index {Number}
- * @param name {String}
- * @param platform {String}
- * @param sortHeading {String}
- * @param sortOrder {String}
- * @param sortOwnership {String}
- */
- function ConfigDynamicWorldRows(index, name, platform, sortHeading, sortOrder, sortOwnership) {
- _classCallCheck(this, ConfigDynamicWorldRows);
-
- ConfigDynamicWorldRows.initialize(this, index, name, platform, sortHeading, sortOrder, sortOwnership);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(ConfigDynamicWorldRows, null, [{
- key: "initialize",
- value: function initialize(obj, index, name, platform, sortHeading, sortOrder, sortOwnership) {
- obj['index'] = index;
- obj['name'] = name;
- obj['platform'] = platform;
- obj['sortHeading'] = sortHeading;
- obj['sortOrder'] = sortOrder;
- obj['sortOwnership'] = sortOwnership;
- }
- /**
- * Constructs a ConfigDynamicWorldRows from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/ConfigDynamicWorldRows} obj Optional instance to populate.
- * @return {module:model/ConfigDynamicWorldRows} The populated ConfigDynamicWorldRows instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ConfigDynamicWorldRows();
-
- if (data.hasOwnProperty('index')) {
- obj['index'] = _ApiClient["default"].convertToType(data['index'], 'Number');
- }
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
- }
-
- if (data.hasOwnProperty('platform')) {
- obj['platform'] = _ApiClient["default"].convertToType(data['platform'], 'String');
- }
-
- if (data.hasOwnProperty('sortHeading')) {
- obj['sortHeading'] = _ApiClient["default"].convertToType(data['sortHeading'], 'String');
- }
-
- if (data.hasOwnProperty('sortOrder')) {
- obj['sortOrder'] = _ApiClient["default"].convertToType(data['sortOrder'], 'String');
- }
-
- if (data.hasOwnProperty('sortOwnership')) {
- obj['sortOwnership'] = _ApiClient["default"].convertToType(data['sortOwnership'], 'String');
- }
-
- if (data.hasOwnProperty('tag')) {
- obj['tag'] = _ApiClient["default"].convertToType(data['tag'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return ConfigDynamicWorldRows;
-}();
-/**
- * @member {Number} index
- */
-
-
-ConfigDynamicWorldRows.prototype['index'] = undefined;
-/**
- * @member {String} name
- */
-
-ConfigDynamicWorldRows.prototype['name'] = undefined;
-/**
- * @member {String} platform
- */
-
-ConfigDynamicWorldRows.prototype['platform'] = undefined;
-/**
- * @member {String} sortHeading
- */
-
-ConfigDynamicWorldRows.prototype['sortHeading'] = undefined;
-/**
- * @member {String} sortOrder
- */
-
-ConfigDynamicWorldRows.prototype['sortOrder'] = undefined;
-/**
- * @member {String} sortOwnership
- */
-
-ConfigDynamicWorldRows.prototype['sortOwnership'] = undefined;
-/**
- * Tag to filter worlds for this row
- * @member {String} tag
- */
-
-ConfigDynamicWorldRows.prototype['tag'] = undefined;
-var _default = ConfigDynamicWorldRows;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/ConfigEvents.js b/dist/model/ConfigEvents.js
deleted file mode 100644
index c487502..0000000
--- a/dist/model/ConfigEvents.js
+++ /dev/null
@@ -1,187 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The ConfigEvents model module.
- * @module model/ConfigEvents
- * @version 1.0.0
- */
-var ConfigEvents = /*#__PURE__*/function () {
- /**
- * Constructs a new ConfigEvents.
- * @alias module:model/ConfigEvents
- * @param distanceClose {Number} Unknown
- * @param distanceFactor {Number} Unknown
- * @param distanceFar {Number} Unknown
- * @param groupDistance {Number} Unknown
- * @param maximumBunchSize {Number} Unknown
- * @param notVisibleFactor {Number} Unknown
- * @param playerOrderBucketSize {Number} Unknown
- * @param playerOrderFactor {Number} Unknown
- * @param slowUpdateFactorThreshold {Number} Unknown
- * @param viewSegmentLength {Number} Unknown
- */
- function ConfigEvents(distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength) {
- _classCallCheck(this, ConfigEvents);
-
- ConfigEvents.initialize(this, distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(ConfigEvents, null, [{
- key: "initialize",
- value: function initialize(obj, distanceClose, distanceFactor, distanceFar, groupDistance, maximumBunchSize, notVisibleFactor, playerOrderBucketSize, playerOrderFactor, slowUpdateFactorThreshold, viewSegmentLength) {
- obj['distanceClose'] = distanceClose;
- obj['distanceFactor'] = distanceFactor;
- obj['distanceFar'] = distanceFar;
- obj['groupDistance'] = groupDistance;
- obj['maximumBunchSize'] = maximumBunchSize;
- obj['notVisibleFactor'] = notVisibleFactor;
- obj['playerOrderBucketSize'] = playerOrderBucketSize;
- obj['playerOrderFactor'] = playerOrderFactor;
- obj['slowUpdateFactorThreshold'] = slowUpdateFactorThreshold;
- obj['viewSegmentLength'] = viewSegmentLength;
- }
- /**
- * Constructs a ConfigEvents from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/ConfigEvents} obj Optional instance to populate.
- * @return {module:model/ConfigEvents} The populated ConfigEvents instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ConfigEvents();
-
- if (data.hasOwnProperty('distanceClose')) {
- obj['distanceClose'] = _ApiClient["default"].convertToType(data['distanceClose'], 'Number');
- }
-
- if (data.hasOwnProperty('distanceFactor')) {
- obj['distanceFactor'] = _ApiClient["default"].convertToType(data['distanceFactor'], 'Number');
- }
-
- if (data.hasOwnProperty('distanceFar')) {
- obj['distanceFar'] = _ApiClient["default"].convertToType(data['distanceFar'], 'Number');
- }
-
- if (data.hasOwnProperty('groupDistance')) {
- obj['groupDistance'] = _ApiClient["default"].convertToType(data['groupDistance'], 'Number');
- }
-
- if (data.hasOwnProperty('maximumBunchSize')) {
- obj['maximumBunchSize'] = _ApiClient["default"].convertToType(data['maximumBunchSize'], 'Number');
- }
-
- if (data.hasOwnProperty('notVisibleFactor')) {
- obj['notVisibleFactor'] = _ApiClient["default"].convertToType(data['notVisibleFactor'], 'Number');
- }
-
- if (data.hasOwnProperty('playerOrderBucketSize')) {
- obj['playerOrderBucketSize'] = _ApiClient["default"].convertToType(data['playerOrderBucketSize'], 'Number');
- }
-
- if (data.hasOwnProperty('playerOrderFactor')) {
- obj['playerOrderFactor'] = _ApiClient["default"].convertToType(data['playerOrderFactor'], 'Number');
- }
-
- if (data.hasOwnProperty('slowUpdateFactorThreshold')) {
- obj['slowUpdateFactorThreshold'] = _ApiClient["default"].convertToType(data['slowUpdateFactorThreshold'], 'Number');
- }
-
- if (data.hasOwnProperty('viewSegmentLength')) {
- obj['viewSegmentLength'] = _ApiClient["default"].convertToType(data['viewSegmentLength'], 'Number');
- }
- }
-
- return obj;
- }
- }]);
-
- return ConfigEvents;
-}();
-/**
- * Unknown
- * @member {Number} distanceClose
- */
-
-
-ConfigEvents.prototype['distanceClose'] = undefined;
-/**
- * Unknown
- * @member {Number} distanceFactor
- */
-
-ConfigEvents.prototype['distanceFactor'] = undefined;
-/**
- * Unknown
- * @member {Number} distanceFar
- */
-
-ConfigEvents.prototype['distanceFar'] = undefined;
-/**
- * Unknown
- * @member {Number} groupDistance
- */
-
-ConfigEvents.prototype['groupDistance'] = undefined;
-/**
- * Unknown
- * @member {Number} maximumBunchSize
- */
-
-ConfigEvents.prototype['maximumBunchSize'] = undefined;
-/**
- * Unknown
- * @member {Number} notVisibleFactor
- */
-
-ConfigEvents.prototype['notVisibleFactor'] = undefined;
-/**
- * Unknown
- * @member {Number} playerOrderBucketSize
- */
-
-ConfigEvents.prototype['playerOrderBucketSize'] = undefined;
-/**
- * Unknown
- * @member {Number} playerOrderFactor
- */
-
-ConfigEvents.prototype['playerOrderFactor'] = undefined;
-/**
- * Unknown
- * @member {Number} slowUpdateFactorThreshold
- */
-
-ConfigEvents.prototype['slowUpdateFactorThreshold'] = undefined;
-/**
- * Unknown
- * @member {Number} viewSegmentLength
- */
-
-ConfigEvents.prototype['viewSegmentLength'] = undefined;
-var _default = ConfigEvents;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/CurrentUser.js b/dist/model/CurrentUser.js
deleted file mode 100644
index f1a1dd4..0000000
--- a/dist/model/CurrentUser.js
+++ /dev/null
@@ -1,578 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _DeveloperType = _interopRequireDefault(require("./DeveloperType"));
-
-var _UserState = _interopRequireDefault(require("./UserState"));
-
-var _UserStatus = _interopRequireDefault(require("./UserStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The CurrentUser model module.
- * @module model/CurrentUser
- * @version 1.0.0
- */
-var CurrentUser = /*#__PURE__*/function () {
- /**
- * Constructs a new CurrentUser.
- * @alias module:model/CurrentUser
- * @param id {String}
- * @param username {String}
- * @param displayName {String}
- * @param userIcon {String}
- * @param bio {String}
- * @param bioLinks {Array.}
- * @param profilePicOverride {String}
- * @param statusDescription {String}
- * @param pastDisplayNames {Array.}
- * @param hasEmail {Boolean}
- * @param hasPendingEmail {Boolean}
- * @param obfuscatedEmail {String}
- * @param obfuscatedPendingEmail {String}
- * @param emailVerified {Boolean}
- * @param hasBirthday {Boolean}
- * @param unsubscribe {Boolean}
- * @param statusHistory {Array.}
- * @param statusFirstTime {Boolean}
- * @param friends {Array.}
- * @param friendGroupNames {Array.}
- * @param currentAvatarImageUrl {String}
- * @param currentAvatarThumbnailImageUrl {String}
- * @param fallbackAvatar {String}
- * @param currentAvatar {String}
- * @param currentAvatarAssetUrl {String}
- * @param acceptedTOSVersion {Number}
- * @param steamId {String}
- * @param steamDetails {Object}
- * @param oculusId {String}
- * @param hasLoggedInFromClient {Boolean}
- * @param homeLocation {String}
- * @param twoFactorAuthEnabled {Boolean}
- * @param state {module:model/UserState}
- * @param tags {Array.}
- * @param developerType {module:model/DeveloperType}
- * @param lastLogin {Date}
- * @param lastPlatform {String}
- * @param allowAvatarCopying {Boolean}
- * @param status {module:model/UserStatus}
- * @param dateJoined {Date}
- * @param isFriend {Boolean}
- * @param friendKey {String}
- * @param onlineFriends {Array.}
- * @param activeFriends {Array.}
- * @param offlineFriends {Array.}
- */
- function CurrentUser(id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends) {
- _classCallCheck(this, CurrentUser);
-
- CurrentUser.initialize(this, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(CurrentUser, null, [{
- key: "initialize",
- value: function initialize(obj, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, pastDisplayNames, hasEmail, hasPendingEmail, obfuscatedEmail, obfuscatedPendingEmail, emailVerified, hasBirthday, unsubscribe, statusHistory, statusFirstTime, friends, friendGroupNames, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, currentAvatar, currentAvatarAssetUrl, acceptedTOSVersion, steamId, steamDetails, oculusId, hasLoggedInFromClient, homeLocation, twoFactorAuthEnabled, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey, onlineFriends, activeFriends, offlineFriends) {
- obj['id'] = id;
- obj['username'] = username;
- obj['displayName'] = displayName;
- obj['userIcon'] = userIcon;
- obj['bio'] = bio;
- obj['bioLinks'] = bioLinks;
- obj['profilePicOverride'] = profilePicOverride;
- obj['statusDescription'] = statusDescription;
- obj['pastDisplayNames'] = pastDisplayNames;
- obj['hasEmail'] = hasEmail;
- obj['hasPendingEmail'] = hasPendingEmail;
- obj['obfuscatedEmail'] = obfuscatedEmail;
- obj['obfuscatedPendingEmail'] = obfuscatedPendingEmail;
- obj['emailVerified'] = emailVerified;
- obj['hasBirthday'] = hasBirthday;
- obj['unsubscribe'] = unsubscribe;
- obj['statusHistory'] = statusHistory;
- obj['statusFirstTime'] = statusFirstTime;
- obj['friends'] = friends;
- obj['friendGroupNames'] = friendGroupNames;
- obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
- obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
- obj['fallbackAvatar'] = fallbackAvatar;
- obj['currentAvatar'] = currentAvatar;
- obj['currentAvatarAssetUrl'] = currentAvatarAssetUrl;
- obj['acceptedTOSVersion'] = acceptedTOSVersion;
- obj['steamId'] = steamId;
- obj['steamDetails'] = steamDetails;
- obj['oculusId'] = oculusId;
- obj['hasLoggedInFromClient'] = hasLoggedInFromClient;
- obj['homeLocation'] = homeLocation;
- obj['twoFactorAuthEnabled'] = twoFactorAuthEnabled;
- obj['state'] = state;
- obj['tags'] = tags;
- obj['developerType'] = developerType;
- obj['last_login'] = lastLogin;
- obj['last_platform'] = lastPlatform;
- obj['allowAvatarCopying'] = allowAvatarCopying;
- obj['status'] = status;
- obj['date_joined'] = dateJoined;
- obj['isFriend'] = isFriend || false;
- obj['friendKey'] = friendKey;
- obj['onlineFriends'] = onlineFriends;
- obj['activeFriends'] = activeFriends;
- obj['offlineFriends'] = offlineFriends;
- }
- /**
- * Constructs a CurrentUser from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/CurrentUser} obj Optional instance to populate.
- * @return {module:model/CurrentUser} The populated CurrentUser instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new CurrentUser();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('username')) {
- obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
- }
-
- if (data.hasOwnProperty('displayName')) {
- obj['displayName'] = _ApiClient["default"].convertToType(data['displayName'], 'String');
- }
-
- if (data.hasOwnProperty('userIcon')) {
- obj['userIcon'] = _ApiClient["default"].convertToType(data['userIcon'], 'String');
- }
-
- if (data.hasOwnProperty('bio')) {
- obj['bio'] = _ApiClient["default"].convertToType(data['bio'], 'String');
- }
-
- if (data.hasOwnProperty('bioLinks')) {
- obj['bioLinks'] = _ApiClient["default"].convertToType(data['bioLinks'], ['String']);
- }
-
- if (data.hasOwnProperty('profilePicOverride')) {
- obj['profilePicOverride'] = _ApiClient["default"].convertToType(data['profilePicOverride'], 'String');
- }
-
- if (data.hasOwnProperty('statusDescription')) {
- obj['statusDescription'] = _ApiClient["default"].convertToType(data['statusDescription'], 'String');
- }
-
- if (data.hasOwnProperty('pastDisplayNames')) {
- obj['pastDisplayNames'] = _ApiClient["default"].convertToType(data['pastDisplayNames'], ['String']);
- }
-
- if (data.hasOwnProperty('hasEmail')) {
- obj['hasEmail'] = _ApiClient["default"].convertToType(data['hasEmail'], 'Boolean');
- }
-
- if (data.hasOwnProperty('hasPendingEmail')) {
- obj['hasPendingEmail'] = _ApiClient["default"].convertToType(data['hasPendingEmail'], 'Boolean');
- }
-
- if (data.hasOwnProperty('obfuscatedEmail')) {
- obj['obfuscatedEmail'] = _ApiClient["default"].convertToType(data['obfuscatedEmail'], 'String');
- }
-
- if (data.hasOwnProperty('obfuscatedPendingEmail')) {
- obj['obfuscatedPendingEmail'] = _ApiClient["default"].convertToType(data['obfuscatedPendingEmail'], 'String');
- }
-
- if (data.hasOwnProperty('emailVerified')) {
- obj['emailVerified'] = _ApiClient["default"].convertToType(data['emailVerified'], 'Boolean');
- }
-
- if (data.hasOwnProperty('hasBirthday')) {
- obj['hasBirthday'] = _ApiClient["default"].convertToType(data['hasBirthday'], 'Boolean');
- }
-
- if (data.hasOwnProperty('unsubscribe')) {
- obj['unsubscribe'] = _ApiClient["default"].convertToType(data['unsubscribe'], 'Boolean');
- }
-
- if (data.hasOwnProperty('statusHistory')) {
- obj['statusHistory'] = _ApiClient["default"].convertToType(data['statusHistory'], ['String']);
- }
-
- if (data.hasOwnProperty('statusFirstTime')) {
- obj['statusFirstTime'] = _ApiClient["default"].convertToType(data['statusFirstTime'], 'Boolean');
- }
-
- if (data.hasOwnProperty('friends')) {
- obj['friends'] = _ApiClient["default"].convertToType(data['friends'], ['String']);
- }
-
- if (data.hasOwnProperty('friendGroupNames')) {
- obj['friendGroupNames'] = _ApiClient["default"].convertToType(data['friendGroupNames'], ['String']);
- }
-
- if (data.hasOwnProperty('currentAvatarImageUrl')) {
- obj['currentAvatarImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
- obj['currentAvatarThumbnailImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('fallbackAvatar')) {
- obj['fallbackAvatar'] = _ApiClient["default"].convertToType(data['fallbackAvatar'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatar')) {
- obj['currentAvatar'] = _ApiClient["default"].convertToType(data['currentAvatar'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatarAssetUrl')) {
- obj['currentAvatarAssetUrl'] = _ApiClient["default"].convertToType(data['currentAvatarAssetUrl'], 'String');
- }
-
- if (data.hasOwnProperty('accountDeletionDate')) {
- obj['accountDeletionDate'] = _ApiClient["default"].convertToType(data['accountDeletionDate'], 'Date');
- }
-
- if (data.hasOwnProperty('acceptedTOSVersion')) {
- obj['acceptedTOSVersion'] = _ApiClient["default"].convertToType(data['acceptedTOSVersion'], 'Number');
- }
-
- if (data.hasOwnProperty('steamId')) {
- obj['steamId'] = _ApiClient["default"].convertToType(data['steamId'], 'String');
- }
-
- if (data.hasOwnProperty('steamDetails')) {
- obj['steamDetails'] = _ApiClient["default"].convertToType(data['steamDetails'], Object);
- }
-
- if (data.hasOwnProperty('oculusId')) {
- obj['oculusId'] = _ApiClient["default"].convertToType(data['oculusId'], 'String');
- }
-
- if (data.hasOwnProperty('hasLoggedInFromClient')) {
- obj['hasLoggedInFromClient'] = _ApiClient["default"].convertToType(data['hasLoggedInFromClient'], 'Boolean');
- }
-
- if (data.hasOwnProperty('homeLocation')) {
- obj['homeLocation'] = _ApiClient["default"].convertToType(data['homeLocation'], 'String');
- }
-
- if (data.hasOwnProperty('twoFactorAuthEnabled')) {
- obj['twoFactorAuthEnabled'] = _ApiClient["default"].convertToType(data['twoFactorAuthEnabled'], 'Boolean');
- }
-
- if (data.hasOwnProperty('state')) {
- obj['state'] = _UserState["default"].constructFromObject(data['state']);
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
-
- if (data.hasOwnProperty('developerType')) {
- obj['developerType'] = _DeveloperType["default"].constructFromObject(data['developerType']);
- }
-
- if (data.hasOwnProperty('last_login')) {
- obj['last_login'] = _ApiClient["default"].convertToType(data['last_login'], 'Date');
- }
-
- if (data.hasOwnProperty('last_platform')) {
- obj['last_platform'] = _ApiClient["default"].convertToType(data['last_platform'], 'String');
- }
-
- if (data.hasOwnProperty('allowAvatarCopying')) {
- obj['allowAvatarCopying'] = _ApiClient["default"].convertToType(data['allowAvatarCopying'], 'Boolean');
- }
-
- if (data.hasOwnProperty('status')) {
- obj['status'] = _UserStatus["default"].constructFromObject(data['status']);
- }
-
- if (data.hasOwnProperty('date_joined')) {
- obj['date_joined'] = _ApiClient["default"].convertToType(data['date_joined'], 'Date');
- }
-
- if (data.hasOwnProperty('isFriend')) {
- obj['isFriend'] = _ApiClient["default"].convertToType(data['isFriend'], 'Boolean');
- }
-
- if (data.hasOwnProperty('friendKey')) {
- obj['friendKey'] = _ApiClient["default"].convertToType(data['friendKey'], 'String');
- }
-
- if (data.hasOwnProperty('onlineFriends')) {
- obj['onlineFriends'] = _ApiClient["default"].convertToType(data['onlineFriends'], ['String']);
- }
-
- if (data.hasOwnProperty('activeFriends')) {
- obj['activeFriends'] = _ApiClient["default"].convertToType(data['activeFriends'], ['String']);
- }
-
- if (data.hasOwnProperty('offlineFriends')) {
- obj['offlineFriends'] = _ApiClient["default"].convertToType(data['offlineFriends'], ['String']);
- }
- }
-
- return obj;
- }
- }]);
-
- return CurrentUser;
-}();
-/**
- * @member {String} id
- */
-
-
-CurrentUser.prototype['id'] = undefined;
-/**
- * @member {String} username
- */
-
-CurrentUser.prototype['username'] = undefined;
-/**
- * @member {String} displayName
- */
-
-CurrentUser.prototype['displayName'] = undefined;
-/**
- * @member {String} userIcon
- */
-
-CurrentUser.prototype['userIcon'] = undefined;
-/**
- * @member {String} bio
- */
-
-CurrentUser.prototype['bio'] = undefined;
-/**
- * @member {Array.} bioLinks
- */
-
-CurrentUser.prototype['bioLinks'] = undefined;
-/**
- * @member {String} profilePicOverride
- */
-
-CurrentUser.prototype['profilePicOverride'] = undefined;
-/**
- * @member {String} statusDescription
- */
-
-CurrentUser.prototype['statusDescription'] = undefined;
-/**
- * @member {Array.} pastDisplayNames
- */
-
-CurrentUser.prototype['pastDisplayNames'] = undefined;
-/**
- * @member {Boolean} hasEmail
- */
-
-CurrentUser.prototype['hasEmail'] = undefined;
-/**
- * @member {Boolean} hasPendingEmail
- */
-
-CurrentUser.prototype['hasPendingEmail'] = undefined;
-/**
- * @member {String} obfuscatedEmail
- */
-
-CurrentUser.prototype['obfuscatedEmail'] = undefined;
-/**
- * @member {String} obfuscatedPendingEmail
- */
-
-CurrentUser.prototype['obfuscatedPendingEmail'] = undefined;
-/**
- * @member {Boolean} emailVerified
- */
-
-CurrentUser.prototype['emailVerified'] = undefined;
-/**
- * @member {Boolean} hasBirthday
- */
-
-CurrentUser.prototype['hasBirthday'] = undefined;
-/**
- * @member {Boolean} unsubscribe
- */
-
-CurrentUser.prototype['unsubscribe'] = undefined;
-/**
- * @member {Array.} statusHistory
- */
-
-CurrentUser.prototype['statusHistory'] = undefined;
-/**
- * @member {Boolean} statusFirstTime
- */
-
-CurrentUser.prototype['statusFirstTime'] = undefined;
-/**
- * @member {Array.} friends
- */
-
-CurrentUser.prototype['friends'] = undefined;
-/**
- * @member {Array.} friendGroupNames
- */
-
-CurrentUser.prototype['friendGroupNames'] = undefined;
-/**
- * @member {String} currentAvatarImageUrl
- */
-
-CurrentUser.prototype['currentAvatarImageUrl'] = undefined;
-/**
- * @member {String} currentAvatarThumbnailImageUrl
- */
-
-CurrentUser.prototype['currentAvatarThumbnailImageUrl'] = undefined;
-/**
- * @member {String} fallbackAvatar
- */
-
-CurrentUser.prototype['fallbackAvatar'] = undefined;
-/**
- * @member {String} currentAvatar
- */
-
-CurrentUser.prototype['currentAvatar'] = undefined;
-/**
- * @member {String} currentAvatarAssetUrl
- */
-
-CurrentUser.prototype['currentAvatarAssetUrl'] = undefined;
-/**
- * @member {Date} accountDeletionDate
- */
-
-CurrentUser.prototype['accountDeletionDate'] = undefined;
-/**
- * @member {Number} acceptedTOSVersion
- */
-
-CurrentUser.prototype['acceptedTOSVersion'] = undefined;
-/**
- * @member {String} steamId
- */
-
-CurrentUser.prototype['steamId'] = undefined;
-/**
- * @member {Object} steamDetails
- */
-
-CurrentUser.prototype['steamDetails'] = undefined;
-/**
- * @member {String} oculusId
- */
-
-CurrentUser.prototype['oculusId'] = undefined;
-/**
- * @member {Boolean} hasLoggedInFromClient
- */
-
-CurrentUser.prototype['hasLoggedInFromClient'] = undefined;
-/**
- * @member {String} homeLocation
- */
-
-CurrentUser.prototype['homeLocation'] = undefined;
-/**
- * @member {Boolean} twoFactorAuthEnabled
- */
-
-CurrentUser.prototype['twoFactorAuthEnabled'] = undefined;
-/**
- * @member {module:model/UserState} state
- */
-
-CurrentUser.prototype['state'] = undefined;
-/**
- * @member {Array.} tags
- */
-
-CurrentUser.prototype['tags'] = undefined;
-/**
- * @member {module:model/DeveloperType} developerType
- */
-
-CurrentUser.prototype['developerType'] = undefined;
-/**
- * @member {Date} last_login
- */
-
-CurrentUser.prototype['last_login'] = undefined;
-/**
- * @member {String} last_platform
- */
-
-CurrentUser.prototype['last_platform'] = undefined;
-/**
- * @member {Boolean} allowAvatarCopying
- */
-
-CurrentUser.prototype['allowAvatarCopying'] = undefined;
-/**
- * @member {module:model/UserStatus} status
- */
-
-CurrentUser.prototype['status'] = undefined;
-/**
- * @member {Date} date_joined
- */
-
-CurrentUser.prototype['date_joined'] = undefined;
-/**
- * @member {Boolean} isFriend
- * @default false
- */
-
-CurrentUser.prototype['isFriend'] = false;
-/**
- * @member {String} friendKey
- */
-
-CurrentUser.prototype['friendKey'] = undefined;
-/**
- * @member {Array.} onlineFriends
- */
-
-CurrentUser.prototype['onlineFriends'] = undefined;
-/**
- * @member {Array.} activeFriends
- */
-
-CurrentUser.prototype['activeFriends'] = undefined;
-/**
- * @member {Array.} offlineFriends
- */
-
-CurrentUser.prototype['offlineFriends'] = undefined;
-var _default = CurrentUser;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/DeploymentGroup.js b/dist/model/DeploymentGroup.js
deleted file mode 100644
index 42734ce..0000000
--- a/dist/model/DeploymentGroup.js
+++ /dev/null
@@ -1,54 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class DeploymentGroup.
-* @enum {}
-* @readonly
-*/
-var DeploymentGroup = /*#__PURE__*/function () {
- function DeploymentGroup() {
- _classCallCheck(this, DeploymentGroup);
-
- _defineProperty(this, "blue", "blue");
-
- _defineProperty(this, "green", "green");
-
- _defineProperty(this, "grape", "grape");
-
- _defineProperty(this, "cherry", "cherry");
- }
-
- _createClass(DeploymentGroup, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a DeploymentGroup enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/DeploymentGroup} The enum DeploymentGroup value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return DeploymentGroup;
-}();
-
-exports["default"] = DeploymentGroup;
\ No newline at end of file
diff --git a/dist/model/DeveloperType.js b/dist/model/DeveloperType.js
deleted file mode 100644
index 216343c..0000000
--- a/dist/model/DeveloperType.js
+++ /dev/null
@@ -1,54 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class DeveloperType.
-* @enum {}
-* @readonly
-*/
-var DeveloperType = /*#__PURE__*/function () {
- function DeveloperType() {
- _classCallCheck(this, DeveloperType);
-
- _defineProperty(this, "none", "none");
-
- _defineProperty(this, "trusted", "trusted");
-
- _defineProperty(this, "internal", "internal");
-
- _defineProperty(this, "moderator", "moderator");
- }
-
- _createClass(DeveloperType, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a DeveloperType enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/DeveloperType} The enum DeveloperType value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return DeveloperType;
-}();
-
-exports["default"] = DeveloperType;
\ No newline at end of file
diff --git a/dist/model/Error.js b/dist/model/Error.js
deleted file mode 100644
index 531d1c6..0000000
--- a/dist/model/Error.js
+++ /dev/null
@@ -1,77 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Response = _interopRequireDefault(require("./Response"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The Error model module.
- * @module model/Error
- * @version 1.0.0
- */
-var Error = /*#__PURE__*/function () {
- /**
- * Constructs a new Error.
- * @alias module:model/Error
- */
- function Error() {
- _classCallCheck(this, Error);
-
- Error.initialize(this);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(Error, null, [{
- key: "initialize",
- value: function initialize(obj) {}
- /**
- * Constructs a Error from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Error} obj Optional instance to populate.
- * @return {module:model/Error} The populated Error instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new Error();
-
- if (data.hasOwnProperty('error')) {
- obj['error'] = _Response["default"].constructFromObject(data['error']);
- }
- }
-
- return obj;
- }
- }]);
-
- return Error;
-}();
-/**
- * @member {module:model/Response} error
- */
-
-
-Error.prototype['error'] = undefined;
-var _default = Error;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/File.js b/dist/model/File.js
deleted file mode 100644
index 867b535..0000000
--- a/dist/model/File.js
+++ /dev/null
@@ -1,150 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _FileVersion = _interopRequireDefault(require("./FileVersion"));
-
-var _MIMEType = _interopRequireDefault(require("./MIMEType"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The File model module.
- * @module model/File
- * @version 1.0.0
- */
-var File = /*#__PURE__*/function () {
- /**
- * Constructs a new File.
- *
- * @alias module:model/File
- * @param id {String}
- * @param name {String}
- * @param ownerId {String}
- * @param mimeType {module:model/MIMEType}
- * @param extension {String}
- * @param tags {Array.}
- * @param versions {Array.}
- */
- function File(id, name, ownerId, mimeType, extension, tags, versions) {
- _classCallCheck(this, File);
-
- File.initialize(this, id, name, ownerId, mimeType, extension, tags, versions);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(File, null, [{
- key: "initialize",
- value: function initialize(obj, id, name, ownerId, mimeType, extension, tags, versions) {
- obj['id'] = id;
- obj['name'] = name;
- obj['ownerId'] = ownerId;
- obj['mimeType'] = mimeType;
- obj['extension'] = extension;
- obj['tags'] = tags;
- obj['versions'] = versions;
- }
- /**
- * Constructs a File from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/File} obj Optional instance to populate.
- * @return {module:model/File} The populated File instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new File();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
- }
-
- if (data.hasOwnProperty('ownerId')) {
- obj['ownerId'] = _ApiClient["default"].convertToType(data['ownerId'], 'String');
- }
-
- if (data.hasOwnProperty('mimeType')) {
- obj['mimeType'] = _MIMEType["default"].constructFromObject(data['mimeType']);
- }
-
- if (data.hasOwnProperty('extension')) {
- obj['extension'] = _ApiClient["default"].convertToType(data['extension'], 'String');
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
-
- if (data.hasOwnProperty('versions')) {
- obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_FileVersion["default"]]);
- }
- }
-
- return obj;
- }
- }]);
-
- return File;
-}();
-/**
- * @member {String} id
- */
-
-
-File.prototype['id'] = undefined;
-/**
- *
- * @member {String} name
- */
-
-File.prototype['name'] = undefined;
-/**
- * @member {String} ownerId
- */
-
-File.prototype['ownerId'] = undefined;
-/**
- * @member {module:model/MIMEType} mimeType
- */
-
-File.prototype['mimeType'] = undefined;
-/**
- * @member {String} extension
- */
-
-File.prototype['extension'] = undefined;
-/**
- * @member {Array.} tags
- */
-
-File.prototype['tags'] = undefined;
-/**
- * @member {Array.} versions
- */
-
-File.prototype['versions'] = undefined;
-var _default = File;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/FileData.js b/dist/model/FileData.js
deleted file mode 100644
index 6b30c2d..0000000
--- a/dist/model/FileData.js
+++ /dev/null
@@ -1,173 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _FileStatus = _interopRequireDefault(require("./FileStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The FileData model module.
- * @module model/FileData
- * @version 1.0.0
- */
-var FileData = /*#__PURE__*/function () {
- /**
- * Constructs a new FileData.
- *
- * @alias module:model/FileData
- * @param fileName {String}
- * @param url {String}
- * @param md5 {String}
- * @param sizeInBytes {Number}
- * @param status {module:model/FileStatus}
- * @param category {module:model/FileData.CategoryEnum}
- * @param uploadId {String}
- */
- function FileData(fileName, url, md5, sizeInBytes, status, category, uploadId) {
- _classCallCheck(this, FileData);
-
- FileData.initialize(this, fileName, url, md5, sizeInBytes, status, category, uploadId);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(FileData, null, [{
- key: "initialize",
- value: function initialize(obj, fileName, url, md5, sizeInBytes, status, category, uploadId) {
- obj['fileName'] = fileName;
- obj['url'] = url;
- obj['md5'] = md5;
- obj['sizeInBytes'] = sizeInBytes;
- obj['status'] = status;
- obj['category'] = category;
- obj['uploadId'] = uploadId || '';
- }
- /**
- * Constructs a FileData from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/FileData} obj Optional instance to populate.
- * @return {module:model/FileData} The populated FileData instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new FileData();
-
- if (data.hasOwnProperty('fileName')) {
- obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
- }
-
- if (data.hasOwnProperty('url')) {
- obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
- }
-
- if (data.hasOwnProperty('md5')) {
- obj['md5'] = _ApiClient["default"].convertToType(data['md5'], 'String');
- }
-
- if (data.hasOwnProperty('sizeInBytes')) {
- obj['sizeInBytes'] = _ApiClient["default"].convertToType(data['sizeInBytes'], 'Number');
- }
-
- if (data.hasOwnProperty('status')) {
- obj['status'] = _FileStatus["default"].constructFromObject(data['status']);
- }
-
- if (data.hasOwnProperty('category')) {
- obj['category'] = _ApiClient["default"].convertToType(data['category'], 'String');
- }
-
- if (data.hasOwnProperty('uploadId')) {
- obj['uploadId'] = _ApiClient["default"].convertToType(data['uploadId'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return FileData;
-}();
-/**
- * @member {String} fileName
- */
-
-
-FileData.prototype['fileName'] = undefined;
-/**
- * @member {String} url
- */
-
-FileData.prototype['url'] = undefined;
-/**
- * @member {String} md5
- */
-
-FileData.prototype['md5'] = undefined;
-/**
- * @member {Number} sizeInBytes
- */
-
-FileData.prototype['sizeInBytes'] = undefined;
-/**
- * @member {module:model/FileStatus} status
- */
-
-FileData.prototype['status'] = undefined;
-/**
- * @member {module:model/FileData.CategoryEnum} category
- */
-
-FileData.prototype['category'] = undefined;
-/**
- * @member {String} uploadId
- * @default ''
- */
-
-FileData.prototype['uploadId'] = '';
-/**
- * Allowed values for the category property.
- * @enum {String}
- * @readonly
- */
-
-FileData['CategoryEnum'] = {
- /**
- * value: "multipart"
- * @const
- */
- "multipart": "multipart",
-
- /**
- * value: "queued"
- * @const
- */
- "queued": "queued",
-
- /**
- * value: "simple"
- * @const
- */
- "simple": "simple"
-};
-var _default = FileData;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/FileStatus.js b/dist/model/FileStatus.js
deleted file mode 100644
index fc4e20e..0000000
--- a/dist/model/FileStatus.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class FileStatus.
-* @enum {}
-* @readonly
-*/
-var FileStatus = /*#__PURE__*/function () {
- function FileStatus() {
- _classCallCheck(this, FileStatus);
-
- _defineProperty(this, "waiting", "waiting");
-
- _defineProperty(this, "complete", "complete");
-
- _defineProperty(this, "none", "none");
- }
-
- _createClass(FileStatus, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a FileStatus enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/FileStatus} The enum FileStatus value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return FileStatus;
-}();
-
-exports["default"] = FileStatus;
\ No newline at end of file
diff --git a/dist/model/FileVersion.js b/dist/model/FileVersion.js
deleted file mode 100644
index 5bb4fb4..0000000
--- a/dist/model/FileVersion.js
+++ /dev/null
@@ -1,145 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _FileData = _interopRequireDefault(require("./FileData"));
-
-var _FileStatus = _interopRequireDefault(require("./FileStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The FileVersion model module.
- * @module model/FileVersion
- * @version 1.0.0
- */
-var FileVersion = /*#__PURE__*/function () {
- /**
- * Constructs a new FileVersion.
- *
- * @alias module:model/FileVersion
- * @param version {Number} Incremental version counter, can only be increased.
- * @param status {module:model/FileStatus}
- * @param createdAt {Date}
- */
- function FileVersion(version, status, createdAt) {
- _classCallCheck(this, FileVersion);
-
- FileVersion.initialize(this, version, status, createdAt);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(FileVersion, null, [{
- key: "initialize",
- value: function initialize(obj, version, status, createdAt) {
- obj['version'] = version || 0;
- obj['status'] = status;
- obj['created_at'] = createdAt;
- }
- /**
- * Constructs a FileVersion from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/FileVersion} obj Optional instance to populate.
- * @return {module:model/FileVersion} The populated FileVersion instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new FileVersion();
-
- if (data.hasOwnProperty('version')) {
- obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
- }
-
- if (data.hasOwnProperty('status')) {
- obj['status'] = _FileStatus["default"].constructFromObject(data['status']);
- }
-
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
- }
-
- if (data.hasOwnProperty('file')) {
- obj['file'] = _FileData["default"].constructFromObject(data['file']);
- }
-
- if (data.hasOwnProperty('delta')) {
- obj['delta'] = _FileData["default"].constructFromObject(data['delta']);
- }
-
- if (data.hasOwnProperty('signature')) {
- obj['signature'] = _FileData["default"].constructFromObject(data['signature']);
- }
-
- if (data.hasOwnProperty('deleted')) {
- obj['deleted'] = _ApiClient["default"].convertToType(data['deleted'], 'Boolean');
- }
- }
-
- return obj;
- }
- }]);
-
- return FileVersion;
-}();
-/**
- * Incremental version counter, can only be increased.
- * @member {Number} version
- * @default 0
- */
-
-
-FileVersion.prototype['version'] = 0;
-/**
- * @member {module:model/FileStatus} status
- */
-
-FileVersion.prototype['status'] = undefined;
-/**
- * @member {Date} created_at
- */
-
-FileVersion.prototype['created_at'] = undefined;
-/**
- * @member {module:model/FileData} file
- */
-
-FileVersion.prototype['file'] = undefined;
-/**
- * @member {module:model/FileData} delta
- */
-
-FileVersion.prototype['delta'] = undefined;
-/**
- * @member {module:model/FileData} signature
- */
-
-FileVersion.prototype['signature'] = undefined;
-/**
- * Usually only present if `true`
- * @member {Boolean} deleted
- * @default true
- */
-
-FileVersion.prototype['deleted'] = true;
-var _default = FileVersion;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject.js b/dist/model/InlineObject.js
deleted file mode 100644
index 2f97735..0000000
--- a/dist/model/InlineObject.js
+++ /dev/null
@@ -1,78 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineObject model module.
- * @module model/InlineObject
- * @version 1.0.0
- */
-var InlineObject = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineObject.
- * @alias module:model/InlineObject
- * @param code {String}
- */
- function InlineObject(code) {
- _classCallCheck(this, InlineObject);
-
- InlineObject.initialize(this, code);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineObject, null, [{
- key: "initialize",
- value: function initialize(obj, code) {
- obj['code'] = code;
- }
- /**
- * Constructs a InlineObject from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineObject} obj Optional instance to populate.
- * @return {module:model/InlineObject} The populated InlineObject instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineObject();
-
- if (data.hasOwnProperty('code')) {
- obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineObject;
-}();
-/**
- * @member {String} code
- */
-
-
-InlineObject.prototype['code'] = undefined;
-var _default = InlineObject;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject1.js b/dist/model/InlineObject1.js
deleted file mode 100644
index 1afe679..0000000
--- a/dist/model/InlineObject1.js
+++ /dev/null
@@ -1,78 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineObject1 model module.
- * @module model/InlineObject1
- * @version 1.0.0
- */
-var InlineObject1 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineObject1.
- * @alias module:model/InlineObject1
- * @param code {String}
- */
- function InlineObject1(code) {
- _classCallCheck(this, InlineObject1);
-
- InlineObject1.initialize(this, code);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineObject1, null, [{
- key: "initialize",
- value: function initialize(obj, code) {
- obj['code'] = code;
- }
- /**
- * Constructs a InlineObject1 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineObject1} obj Optional instance to populate.
- * @return {module:model/InlineObject1} The populated InlineObject1 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineObject1();
-
- if (data.hasOwnProperty('code')) {
- obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineObject1;
-}();
-/**
- * @member {String} code
- */
-
-
-InlineObject1.prototype['code'] = undefined;
-var _default = InlineObject1;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject2.js b/dist/model/InlineObject2.js
deleted file mode 100644
index 91d14b9..0000000
--- a/dist/model/InlineObject2.js
+++ /dev/null
@@ -1,150 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _UserStatus = _interopRequireDefault(require("./UserStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineObject2 model module.
- * @module model/InlineObject2
- * @version 1.0.0
- */
-var InlineObject2 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineObject2.
- * @alias module:model/InlineObject2
- */
- function InlineObject2() {
- _classCallCheck(this, InlineObject2);
-
- InlineObject2.initialize(this);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineObject2, null, [{
- key: "initialize",
- value: function initialize(obj) {}
- /**
- * Constructs a InlineObject2 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineObject2} obj Optional instance to populate.
- * @return {module:model/InlineObject2} The populated InlineObject2 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineObject2();
-
- if (data.hasOwnProperty('email')) {
- obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
- }
-
- if (data.hasOwnProperty('birthday')) {
- obj['birthday'] = _ApiClient["default"].convertToType(data['birthday'], 'Date');
- }
-
- if (data.hasOwnProperty('acceptedTOSVersion')) {
- obj['acceptedTOSVersion'] = _ApiClient["default"].convertToType(data['acceptedTOSVersion'], 'Number');
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
-
- if (data.hasOwnProperty('status')) {
- obj['status'] = _UserStatus["default"].constructFromObject(data['status']);
- }
-
- if (data.hasOwnProperty('statusDescription')) {
- obj['statusDescription'] = _ApiClient["default"].convertToType(data['statusDescription'], 'String');
- }
-
- if (data.hasOwnProperty('bio')) {
- obj['bio'] = _ApiClient["default"].convertToType(data['bio'], 'String');
- }
-
- if (data.hasOwnProperty('bioLinks')) {
- obj['bioLinks'] = _ApiClient["default"].convertToType(data['bioLinks'], ['String']);
- }
-
- if (data.hasOwnProperty('userIcon')) {
- obj['userIcon'] = _ApiClient["default"].convertToType(data['userIcon'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineObject2;
-}();
-/**
- * @member {String} email
- */
-
-
-InlineObject2.prototype['email'] = undefined;
-/**
- * @member {Date} birthday
- */
-
-InlineObject2.prototype['birthday'] = undefined;
-/**
- * @member {Number} acceptedTOSVersion
- */
-
-InlineObject2.prototype['acceptedTOSVersion'] = undefined;
-/**
- * @member {Array.} tags
- */
-
-InlineObject2.prototype['tags'] = undefined;
-/**
- * @member {module:model/UserStatus} status
- */
-
-InlineObject2.prototype['status'] = undefined;
-/**
- * @member {String} statusDescription
- */
-
-InlineObject2.prototype['statusDescription'] = undefined;
-/**
- * @member {String} bio
- */
-
-InlineObject2.prototype['bio'] = undefined;
-/**
- * @member {Array.} bioLinks
- */
-
-InlineObject2.prototype['bioLinks'] = undefined;
-/**
- * MUST be a valid VRChat /file/ url.
- * @member {String} userIcon
- */
-
-InlineObject2.prototype['userIcon'] = undefined;
-var _default = InlineObject2;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject3.js b/dist/model/InlineObject3.js
deleted file mode 100644
index 2308677..0000000
--- a/dist/model/InlineObject3.js
+++ /dev/null
@@ -1,111 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _MIMEType = _interopRequireDefault(require("./MIMEType"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineObject3 model module.
- * @module model/InlineObject3
- * @version 1.0.0
- */
-var InlineObject3 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineObject3.
- * @alias module:model/InlineObject3
- * @param name {String}
- * @param mimeType {module:model/MIMEType}
- * @param extension {String}
- */
- function InlineObject3(name, mimeType, extension) {
- _classCallCheck(this, InlineObject3);
-
- InlineObject3.initialize(this, name, mimeType, extension);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineObject3, null, [{
- key: "initialize",
- value: function initialize(obj, name, mimeType, extension) {
- obj['name'] = name;
- obj['mimeType'] = mimeType;
- obj['extension'] = extension;
- }
- /**
- * Constructs a InlineObject3 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineObject3} obj Optional instance to populate.
- * @return {module:model/InlineObject3} The populated InlineObject3 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineObject3();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
- }
-
- if (data.hasOwnProperty('mimeType')) {
- obj['mimeType'] = _MIMEType["default"].constructFromObject(data['mimeType']);
- }
-
- if (data.hasOwnProperty('extension')) {
- obj['extension'] = _ApiClient["default"].convertToType(data['extension'], 'String');
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineObject3;
-}();
-/**
- * @member {String} name
- */
-
-
-InlineObject3.prototype['name'] = undefined;
-/**
- * @member {module:model/MIMEType} mimeType
- */
-
-InlineObject3.prototype['mimeType'] = undefined;
-/**
- * @member {String} extension
- */
-
-InlineObject3.prototype['extension'] = undefined;
-/**
- * @member {Array.} tags
- */
-
-InlineObject3.prototype['tags'] = undefined;
-var _default = InlineObject3;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineObject4.js b/dist/model/InlineObject4.js
deleted file mode 100644
index 78526a8..0000000
--- a/dist/model/InlineObject4.js
+++ /dev/null
@@ -1,129 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineObject4 model module.
- * @module model/InlineObject4
- * @version 1.0.0
- */
-var InlineObject4 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineObject4.
- * @alias module:model/InlineObject4
- * @param nextPartNumber {module:model/InlineObject4.NextPartNumberEnum} Always a zero in string form, despite how many parts uploaded.
- * @param maxParts {module:model/InlineObject4.MaxPartsEnum} Always a zero in string form, despite how many parts uploaded.
- */
- function InlineObject4(nextPartNumber, maxParts) {
- _classCallCheck(this, InlineObject4);
-
- InlineObject4.initialize(this, nextPartNumber, maxParts);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineObject4, null, [{
- key: "initialize",
- value: function initialize(obj, nextPartNumber, maxParts) {
- obj['nextPartNumber'] = nextPartNumber || '0';
- obj['maxParts'] = maxParts || '0';
- }
- /**
- * Constructs a InlineObject4 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineObject4} obj Optional instance to populate.
- * @return {module:model/InlineObject4} The populated InlineObject4 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineObject4();
-
- if (data.hasOwnProperty('etags')) {
- obj['etags'] = _ApiClient["default"].convertToType(data['etags'], ['String']);
- }
-
- if (data.hasOwnProperty('nextPartNumber')) {
- obj['nextPartNumber'] = _ApiClient["default"].convertToType(data['nextPartNumber'], 'String');
- }
-
- if (data.hasOwnProperty('maxParts')) {
- obj['maxParts'] = _ApiClient["default"].convertToType(data['maxParts'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineObject4;
-}();
-/**
- * Array of ETags uploaded.
- * @member {Array.} etags
- */
-
-
-InlineObject4.prototype['etags'] = undefined;
-/**
- * Always a zero in string form, despite how many parts uploaded.
- * @member {module:model/InlineObject4.NextPartNumberEnum} nextPartNumber
- * @default '0'
- */
-
-InlineObject4.prototype['nextPartNumber'] = '0';
-/**
- * Always a zero in string form, despite how many parts uploaded.
- * @member {module:model/InlineObject4.MaxPartsEnum} maxParts
- * @default '0'
- */
-
-InlineObject4.prototype['maxParts'] = '0';
-/**
- * Allowed values for the nextPartNumber property.
- * @enum {String}
- * @readonly
- */
-
-InlineObject4['NextPartNumberEnum'] = {
- /**
- * value: "0"
- * @const
- */
- "0": "0"
-};
-/**
- * Allowed values for the maxParts property.
- * @enum {String}
- * @readonly
- */
-
-InlineObject4['MaxPartsEnum'] = {
- /**
- * value: "0"
- * @const
- */
- "0": "0"
-};
-var _default = InlineObject4;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse200.js b/dist/model/InlineResponse200.js
deleted file mode 100644
index c6e345e..0000000
--- a/dist/model/InlineResponse200.js
+++ /dev/null
@@ -1,89 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse200 model module.
- * @module model/InlineResponse200
- * @version 1.0.0
- */
-var InlineResponse200 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse200.
- * @alias module:model/InlineResponse200
- * @param ok {Boolean}
- * @param token {String}
- */
- function InlineResponse200(ok, token) {
- _classCallCheck(this, InlineResponse200);
-
- InlineResponse200.initialize(this, ok, token);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse200, null, [{
- key: "initialize",
- value: function initialize(obj, ok, token) {
- obj['ok'] = ok;
- obj['token'] = token;
- }
- /**
- * Constructs a InlineResponse200 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse200} obj Optional instance to populate.
- * @return {module:model/InlineResponse200} The populated InlineResponse200 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse200();
-
- if (data.hasOwnProperty('ok')) {
- obj['ok'] = _ApiClient["default"].convertToType(data['ok'], 'Boolean');
- }
-
- if (data.hasOwnProperty('token')) {
- obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse200;
-}();
-/**
- * @member {Boolean} ok
- */
-
-
-InlineResponse200.prototype['ok'] = undefined;
-/**
- * @member {String} token
- */
-
-InlineResponse200.prototype['token'] = undefined;
-var _default = InlineResponse200;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2001.js b/dist/model/InlineResponse2001.js
deleted file mode 100644
index 5e68d38..0000000
--- a/dist/model/InlineResponse2001.js
+++ /dev/null
@@ -1,78 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse2001 model module.
- * @module model/InlineResponse2001
- * @version 1.0.0
- */
-var InlineResponse2001 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse2001.
- * @alias module:model/InlineResponse2001
- * @param verified {Boolean}
- */
- function InlineResponse2001(verified) {
- _classCallCheck(this, InlineResponse2001);
-
- InlineResponse2001.initialize(this, verified);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse2001, null, [{
- key: "initialize",
- value: function initialize(obj, verified) {
- obj['verified'] = verified;
- }
- /**
- * Constructs a InlineResponse2001 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse2001} obj Optional instance to populate.
- * @return {module:model/InlineResponse2001} The populated InlineResponse2001 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse2001();
-
- if (data.hasOwnProperty('verified')) {
- obj['verified'] = _ApiClient["default"].convertToType(data['verified'], 'Boolean');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse2001;
-}();
-/**
- * @member {Boolean} verified
- */
-
-
-InlineResponse2001.prototype['verified'] = undefined;
-var _default = InlineResponse2001;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2002.js b/dist/model/InlineResponse2002.js
deleted file mode 100644
index 1032b17..0000000
--- a/dist/model/InlineResponse2002.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse2002 model module.
- * @module model/InlineResponse2002
- * @version 1.0.0
- */
-var InlineResponse2002 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse2002.
- * @alias module:model/InlineResponse2002
- * @param ok {Boolean}
- * @param serverName {String}
- * @param buildVersionTag {String}
- */
- function InlineResponse2002(ok, serverName, buildVersionTag) {
- _classCallCheck(this, InlineResponse2002);
-
- InlineResponse2002.initialize(this, ok, serverName, buildVersionTag);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse2002, null, [{
- key: "initialize",
- value: function initialize(obj, ok, serverName, buildVersionTag) {
- obj['ok'] = ok;
- obj['serverName'] = serverName;
- obj['buildVersionTag'] = buildVersionTag;
- }
- /**
- * Constructs a InlineResponse2002 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse2002} obj Optional instance to populate.
- * @return {module:model/InlineResponse2002} The populated InlineResponse2002 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse2002();
-
- if (data.hasOwnProperty('ok')) {
- obj['ok'] = _ApiClient["default"].convertToType(data['ok'], 'Boolean');
- }
-
- if (data.hasOwnProperty('serverName')) {
- obj['serverName'] = _ApiClient["default"].convertToType(data['serverName'], 'String');
- }
-
- if (data.hasOwnProperty('buildVersionTag')) {
- obj['buildVersionTag'] = _ApiClient["default"].convertToType(data['buildVersionTag'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse2002;
-}();
-/**
- * @member {Boolean} ok
- */
-
-
-InlineResponse2002.prototype['ok'] = undefined;
-/**
- * @member {String} serverName
- */
-
-InlineResponse2002.prototype['serverName'] = undefined;
-/**
- * @member {String} buildVersionTag
- */
-
-InlineResponse2002.prototype['buildVersionTag'] = undefined;
-var _default = InlineResponse2002;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2003.js b/dist/model/InlineResponse2003.js
deleted file mode 100644
index 59754be..0000000
--- a/dist/model/InlineResponse2003.js
+++ /dev/null
@@ -1,103 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse2003 model module.
- * @module model/InlineResponse2003
- * @version 1.0.0
- */
-var InlineResponse2003 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse2003.
- * @alias module:model/InlineResponse2003
- * @param isFriend {Boolean}
- * @param outgoingRequest {Boolean}
- * @param incomingRequest {Boolean}
- */
- function InlineResponse2003(isFriend, outgoingRequest, incomingRequest) {
- _classCallCheck(this, InlineResponse2003);
-
- InlineResponse2003.initialize(this, isFriend, outgoingRequest, incomingRequest);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse2003, null, [{
- key: "initialize",
- value: function initialize(obj, isFriend, outgoingRequest, incomingRequest) {
- obj['isFriend'] = isFriend || false;
- obj['outgoingRequest'] = outgoingRequest || false;
- obj['incomingRequest'] = incomingRequest || false;
- }
- /**
- * Constructs a InlineResponse2003 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse2003} obj Optional instance to populate.
- * @return {module:model/InlineResponse2003} The populated InlineResponse2003 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse2003();
-
- if (data.hasOwnProperty('isFriend')) {
- obj['isFriend'] = _ApiClient["default"].convertToType(data['isFriend'], 'Boolean');
- }
-
- if (data.hasOwnProperty('outgoingRequest')) {
- obj['outgoingRequest'] = _ApiClient["default"].convertToType(data['outgoingRequest'], 'Boolean');
- }
-
- if (data.hasOwnProperty('incomingRequest')) {
- obj['incomingRequest'] = _ApiClient["default"].convertToType(data['incomingRequest'], 'Boolean');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse2003;
-}();
-/**
- * @member {Boolean} isFriend
- * @default false
- */
-
-
-InlineResponse2003.prototype['isFriend'] = false;
-/**
- * @member {Boolean} outgoingRequest
- * @default false
- */
-
-InlineResponse2003.prototype['outgoingRequest'] = false;
-/**
- * @member {Boolean} incomingRequest
- * @default false
- */
-
-InlineResponse2003.prototype['incomingRequest'] = false;
-var _default = InlineResponse2003;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2004.js b/dist/model/InlineResponse2004.js
deleted file mode 100644
index 1be7222..0000000
--- a/dist/model/InlineResponse2004.js
+++ /dev/null
@@ -1,134 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse2004 model module.
- * @module model/InlineResponse2004
- * @version 1.0.0
- */
-var InlineResponse2004 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse2004.
- * @alias module:model/InlineResponse2004
- * @param uploadId {String}
- * @param fileName {String}
- * @param nextPartNumber {Number}
- * @param maxParts {Number}
- * @param parts {Array.}
- * @param etags {Array.} Unknown
- */
- function InlineResponse2004(uploadId, fileName, nextPartNumber, maxParts, parts, etags) {
- _classCallCheck(this, InlineResponse2004);
-
- InlineResponse2004.initialize(this, uploadId, fileName, nextPartNumber, maxParts, parts, etags);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse2004, null, [{
- key: "initialize",
- value: function initialize(obj, uploadId, fileName, nextPartNumber, maxParts, parts, etags) {
- obj['uploadId'] = uploadId;
- obj['fileName'] = fileName;
- obj['nextPartNumber'] = nextPartNumber;
- obj['maxParts'] = maxParts;
- obj['parts'] = parts;
- obj['etags'] = etags;
- }
- /**
- * Constructs a InlineResponse2004 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse2004} obj Optional instance to populate.
- * @return {module:model/InlineResponse2004} The populated InlineResponse2004 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse2004();
-
- if (data.hasOwnProperty('uploadId')) {
- obj['uploadId'] = _ApiClient["default"].convertToType(data['uploadId'], 'String');
- }
-
- if (data.hasOwnProperty('fileName')) {
- obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
- }
-
- if (data.hasOwnProperty('nextPartNumber')) {
- obj['nextPartNumber'] = _ApiClient["default"].convertToType(data['nextPartNumber'], 'Number');
- }
-
- if (data.hasOwnProperty('maxParts')) {
- obj['maxParts'] = _ApiClient["default"].convertToType(data['maxParts'], 'Number');
- }
-
- if (data.hasOwnProperty('parts')) {
- obj['parts'] = _ApiClient["default"].convertToType(data['parts'], [Object]);
- }
-
- if (data.hasOwnProperty('etags')) {
- obj['etags'] = _ApiClient["default"].convertToType(data['etags'], [Object]);
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse2004;
-}();
-/**
- * @member {String} uploadId
- */
-
-
-InlineResponse2004.prototype['uploadId'] = undefined;
-/**
- * @member {String} fileName
- */
-
-InlineResponse2004.prototype['fileName'] = undefined;
-/**
- * @member {Number} nextPartNumber
- */
-
-InlineResponse2004.prototype['nextPartNumber'] = undefined;
-/**
- * @member {Number} maxParts
- */
-
-InlineResponse2004.prototype['maxParts'] = undefined;
-/**
- * @member {Array.} parts
- */
-
-InlineResponse2004.prototype['parts'] = undefined;
-/**
- * Unknown
- * @member {Array.} etags
- */
-
-InlineResponse2004.prototype['etags'] = undefined;
-var _default = InlineResponse2004;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse2005.js b/dist/model/InlineResponse2005.js
deleted file mode 100644
index fee3f03..0000000
--- a/dist/model/InlineResponse2005.js
+++ /dev/null
@@ -1,78 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse2005 model module.
- * @module model/InlineResponse2005
- * @version 1.0.0
- */
-var InlineResponse2005 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse2005.
- * @alias module:model/InlineResponse2005
- * @param url {String}
- */
- function InlineResponse2005(url) {
- _classCallCheck(this, InlineResponse2005);
-
- InlineResponse2005.initialize(this, url);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse2005, null, [{
- key: "initialize",
- value: function initialize(obj, url) {
- obj['url'] = url;
- }
- /**
- * Constructs a InlineResponse2005 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse2005} obj Optional instance to populate.
- * @return {module:model/InlineResponse2005} The populated InlineResponse2005 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse2005();
-
- if (data.hasOwnProperty('url')) {
- obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse2005;
-}();
-/**
- * @member {String} url
- */
-
-
-InlineResponse2005.prototype['url'] = undefined;
-var _default = InlineResponse2005;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/InlineResponse401.js b/dist/model/InlineResponse401.js
deleted file mode 100644
index 6a5540a..0000000
--- a/dist/model/InlineResponse401.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Error = _interopRequireDefault(require("./Error"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The InlineResponse401 model module.
- * @module model/InlineResponse401
- * @version 1.0.0
- */
-var InlineResponse401 = /*#__PURE__*/function () {
- /**
- * Constructs a new InlineResponse401.
- * @alias module:model/InlineResponse401
- * @param error {module:model/Error}
- */
- function InlineResponse401(error) {
- _classCallCheck(this, InlineResponse401);
-
- InlineResponse401.initialize(this, error);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(InlineResponse401, null, [{
- key: "initialize",
- value: function initialize(obj, error) {
- obj['error'] = error;
- }
- /**
- * Constructs a InlineResponse401 from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/InlineResponse401} obj Optional instance to populate.
- * @return {module:model/InlineResponse401} The populated InlineResponse401 instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new InlineResponse401();
-
- if (data.hasOwnProperty('error')) {
- obj['error'] = _Error["default"].constructFromObject(data['error']);
- }
- }
-
- return obj;
- }
- }]);
-
- return InlineResponse401;
-}();
-/**
- * @member {module:model/Error} error
- */
-
-
-InlineResponse401.prototype['error'] = undefined;
-var _default = InlineResponse401;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/LimitedUser.js b/dist/model/LimitedUser.js
deleted file mode 100644
index ae98015..0000000
--- a/dist/model/LimitedUser.js
+++ /dev/null
@@ -1,246 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _DeveloperType = _interopRequireDefault(require("./DeveloperType"));
-
-var _UserStatus = _interopRequireDefault(require("./UserStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The LimitedUser model module.
- * @module model/LimitedUser
- * @version 1.0.0
- */
-var LimitedUser = /*#__PURE__*/function () {
- /**
- * Constructs a new LimitedUser.
- * @alias module:model/LimitedUser
- * @param id {String}
- * @param username {String}
- * @param displayName {String}
- * @param userIcon {String}
- * @param profilePicOverride {String}
- * @param statusDescription {String}
- * @param currentAvatarImageUrl {String}
- * @param currentAvatarThumbnailImageUrl {String}
- * @param fallbackAvatar {String}
- * @param developerType {module:model/DeveloperType}
- * @param lastPlatform {String}
- * @param status {module:model/UserStatus}
- * @param isFriend {Boolean}
- * @param location {String}
- * @param tags {Array.} Always empty
- */
- function LimitedUser(id, username, displayName, userIcon, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, developerType, lastPlatform, status, isFriend, location, tags) {
- _classCallCheck(this, LimitedUser);
-
- LimitedUser.initialize(this, id, username, displayName, userIcon, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, developerType, lastPlatform, status, isFriend, location, tags);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(LimitedUser, null, [{
- key: "initialize",
- value: function initialize(obj, id, username, displayName, userIcon, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, developerType, lastPlatform, status, isFriend, location, tags) {
- obj['id'] = id;
- obj['username'] = username;
- obj['displayName'] = displayName;
- obj['userIcon'] = userIcon;
- obj['profilePicOverride'] = profilePicOverride;
- obj['statusDescription'] = statusDescription;
- obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
- obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
- obj['fallbackAvatar'] = fallbackAvatar;
- obj['developerType'] = developerType;
- obj['last_platform'] = lastPlatform;
- obj['status'] = status;
- obj['isFriend'] = isFriend;
- obj['location'] = location;
- obj['tags'] = tags;
- }
- /**
- * Constructs a LimitedUser from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LimitedUser} obj Optional instance to populate.
- * @return {module:model/LimitedUser} The populated LimitedUser instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LimitedUser();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('username')) {
- obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
- }
-
- if (data.hasOwnProperty('displayName')) {
- obj['displayName'] = _ApiClient["default"].convertToType(data['displayName'], 'String');
- }
-
- if (data.hasOwnProperty('bio')) {
- obj['bio'] = _ApiClient["default"].convertToType(data['bio'], 'String');
- }
-
- if (data.hasOwnProperty('userIcon')) {
- obj['userIcon'] = _ApiClient["default"].convertToType(data['userIcon'], 'String');
- }
-
- if (data.hasOwnProperty('profilePicOverride')) {
- obj['profilePicOverride'] = _ApiClient["default"].convertToType(data['profilePicOverride'], 'String');
- }
-
- if (data.hasOwnProperty('statusDescription')) {
- obj['statusDescription'] = _ApiClient["default"].convertToType(data['statusDescription'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatarImageUrl')) {
- obj['currentAvatarImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
- obj['currentAvatarThumbnailImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('fallbackAvatar')) {
- obj['fallbackAvatar'] = _ApiClient["default"].convertToType(data['fallbackAvatar'], 'String');
- }
-
- if (data.hasOwnProperty('developerType')) {
- obj['developerType'] = _DeveloperType["default"].constructFromObject(data['developerType']);
- }
-
- if (data.hasOwnProperty('last_platform')) {
- obj['last_platform'] = _ApiClient["default"].convertToType(data['last_platform'], 'String');
- }
-
- if (data.hasOwnProperty('status')) {
- obj['status'] = _UserStatus["default"].constructFromObject(data['status']);
- }
-
- if (data.hasOwnProperty('isFriend')) {
- obj['isFriend'] = _ApiClient["default"].convertToType(data['isFriend'], 'Boolean');
- }
-
- if (data.hasOwnProperty('location')) {
- obj['location'] = _ApiClient["default"].convertToType(data['location'], 'String');
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
- }
-
- return obj;
- }
- }]);
-
- return LimitedUser;
-}();
-/**
- * @member {String} id
- */
-
-
-LimitedUser.prototype['id'] = undefined;
-/**
- * @member {String} username
- */
-
-LimitedUser.prototype['username'] = undefined;
-/**
- * @member {String} displayName
- */
-
-LimitedUser.prototype['displayName'] = undefined;
-/**
- * @member {String} bio
- */
-
-LimitedUser.prototype['bio'] = undefined;
-/**
- * @member {String} userIcon
- */
-
-LimitedUser.prototype['userIcon'] = undefined;
-/**
- * @member {String} profilePicOverride
- */
-
-LimitedUser.prototype['profilePicOverride'] = undefined;
-/**
- * @member {String} statusDescription
- */
-
-LimitedUser.prototype['statusDescription'] = undefined;
-/**
- * @member {String} currentAvatarImageUrl
- */
-
-LimitedUser.prototype['currentAvatarImageUrl'] = undefined;
-/**
- * @member {String} currentAvatarThumbnailImageUrl
- */
-
-LimitedUser.prototype['currentAvatarThumbnailImageUrl'] = undefined;
-/**
- * @member {String} fallbackAvatar
- */
-
-LimitedUser.prototype['fallbackAvatar'] = undefined;
-/**
- * @member {module:model/DeveloperType} developerType
- */
-
-LimitedUser.prototype['developerType'] = undefined;
-/**
- * @member {String} last_platform
- */
-
-LimitedUser.prototype['last_platform'] = undefined;
-/**
- * @member {module:model/UserStatus} status
- */
-
-LimitedUser.prototype['status'] = undefined;
-/**
- * @member {Boolean} isFriend
- */
-
-LimitedUser.prototype['isFriend'] = undefined;
-/**
- * @member {String} location
- */
-
-LimitedUser.prototype['location'] = undefined;
-/**
- * Always empty
- * @member {Array.} tags
- */
-
-LimitedUser.prototype['tags'] = undefined;
-var _default = LimitedUser;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/LimitedWorld.js b/dist/model/LimitedWorld.js
deleted file mode 100644
index 220bbd5..0000000
--- a/dist/model/LimitedWorld.js
+++ /dev/null
@@ -1,270 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _ReleaseStatus = _interopRequireDefault(require("./ReleaseStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The LimitedWorld model module.
- * @module model/LimitedWorld
- * @version 1.0.0
- */
-var LimitedWorld = /*#__PURE__*/function () {
- /**
- * Constructs a new LimitedWorld.
- * @alias module:model/LimitedWorld
- * @param authorId {String}
- * @param authorName {String}
- * @param capacity {Number}
- * @param favorites {Number}
- * @param heat {Number}
- * @param id {String}
- * @param imageUrl {String}
- * @param name {String}
- * @param organization {String}
- * @param popularity {Number}
- * @param publicationDate {String}
- * @param releaseStatus {module:model/ReleaseStatus}
- * @param tags {Array.}
- * @param thumbnailImageUrl {String}
- * @param unityPackages {Array.}
- */
- function LimitedWorld(authorId, authorName, capacity, favorites, heat, id, imageUrl, name, organization, popularity, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages) {
- _classCallCheck(this, LimitedWorld);
-
- LimitedWorld.initialize(this, authorId, authorName, capacity, favorites, heat, id, imageUrl, name, organization, popularity, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(LimitedWorld, null, [{
- key: "initialize",
- value: function initialize(obj, authorId, authorName, capacity, favorites, heat, id, imageUrl, name, organization, popularity, publicationDate, releaseStatus, tags, thumbnailImageUrl, unityPackages) {
- obj['authorId'] = authorId;
- obj['authorName'] = authorName;
- obj['capacity'] = capacity;
- obj['favorites'] = favorites;
- obj['heat'] = heat;
- obj['id'] = id;
- obj['imageUrl'] = imageUrl;
- obj['name'] = name;
- obj['organization'] = organization;
- obj['popularity'] = popularity;
- obj['publicationDate'] = publicationDate;
- obj['releaseStatus'] = releaseStatus;
- obj['tags'] = tags;
- obj['thumbnailImageUrl'] = thumbnailImageUrl;
- obj['unityPackages'] = unityPackages;
- }
- /**
- * Constructs a LimitedWorld from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LimitedWorld} obj Optional instance to populate.
- * @return {module:model/LimitedWorld} The populated LimitedWorld instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LimitedWorld();
-
- if (data.hasOwnProperty('authorId')) {
- obj['authorId'] = _ApiClient["default"].convertToType(data['authorId'], 'String');
- }
-
- if (data.hasOwnProperty('authorName')) {
- obj['authorName'] = _ApiClient["default"].convertToType(data['authorName'], 'String');
- }
-
- if (data.hasOwnProperty('capacity')) {
- obj['capacity'] = _ApiClient["default"].convertToType(data['capacity'], 'Number');
- }
-
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
- }
-
- if (data.hasOwnProperty('favorites')) {
- obj['favorites'] = _ApiClient["default"].convertToType(data['favorites'], 'Number');
- }
-
- if (data.hasOwnProperty('heat')) {
- obj['heat'] = _ApiClient["default"].convertToType(data['heat'], 'Number');
- }
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('imageUrl')) {
- obj['imageUrl'] = _ApiClient["default"].convertToType(data['imageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('labsPublicationDate')) {
- obj['labsPublicationDate'] = _ApiClient["default"].convertToType(data['labsPublicationDate'], 'String');
- }
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
- }
-
- if (data.hasOwnProperty('occupants')) {
- obj['occupants'] = _ApiClient["default"].convertToType(data['occupants'], 'Number');
- }
-
- if (data.hasOwnProperty('organization')) {
- obj['organization'] = _ApiClient["default"].convertToType(data['organization'], 'String');
- }
-
- if (data.hasOwnProperty('popularity')) {
- obj['popularity'] = _ApiClient["default"].convertToType(data['popularity'], 'Number');
- }
-
- if (data.hasOwnProperty('publicationDate')) {
- obj['publicationDate'] = _ApiClient["default"].convertToType(data['publicationDate'], 'String');
- }
-
- if (data.hasOwnProperty('releaseStatus')) {
- obj['releaseStatus'] = _ReleaseStatus["default"].constructFromObject(data['releaseStatus']);
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
-
- if (data.hasOwnProperty('thumbnailImageUrl')) {
- obj['thumbnailImageUrl'] = _ApiClient["default"].convertToType(data['thumbnailImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('unityPackages')) {
- obj['unityPackages'] = _ApiClient["default"].convertToType(data['unityPackages'], [Object]);
- }
-
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
- }
- }
-
- return obj;
- }
- }]);
-
- return LimitedWorld;
-}();
-/**
- * @member {String} authorId
- */
-
-
-LimitedWorld.prototype['authorId'] = undefined;
-/**
- * @member {String} authorName
- */
-
-LimitedWorld.prototype['authorName'] = undefined;
-/**
- * @member {Number} capacity
- */
-
-LimitedWorld.prototype['capacity'] = undefined;
-/**
- * @member {Date} created_at
- */
-
-LimitedWorld.prototype['created_at'] = undefined;
-/**
- * @member {Number} favorites
- */
-
-LimitedWorld.prototype['favorites'] = undefined;
-/**
- * @member {Number} heat
- */
-
-LimitedWorld.prototype['heat'] = undefined;
-/**
- * @member {String} id
- */
-
-LimitedWorld.prototype['id'] = undefined;
-/**
- * @member {String} imageUrl
- */
-
-LimitedWorld.prototype['imageUrl'] = undefined;
-/**
- * @member {String} labsPublicationDate
- */
-
-LimitedWorld.prototype['labsPublicationDate'] = undefined;
-/**
- * @member {String} name
- */
-
-LimitedWorld.prototype['name'] = undefined;
-/**
- * @member {Number} occupants
- */
-
-LimitedWorld.prototype['occupants'] = undefined;
-/**
- * @member {String} organization
- */
-
-LimitedWorld.prototype['organization'] = undefined;
-/**
- * @member {Number} popularity
- */
-
-LimitedWorld.prototype['popularity'] = undefined;
-/**
- * @member {String} publicationDate
- */
-
-LimitedWorld.prototype['publicationDate'] = undefined;
-/**
- * @member {module:model/ReleaseStatus} releaseStatus
- */
-
-LimitedWorld.prototype['releaseStatus'] = undefined;
-/**
- * @member {Array.} tags
- */
-
-LimitedWorld.prototype['tags'] = undefined;
-/**
- * @member {String} thumbnailImageUrl
- */
-
-LimitedWorld.prototype['thumbnailImageUrl'] = undefined;
-/**
- * @member {Array.} unityPackages
- */
-
-LimitedWorld.prototype['unityPackages'] = undefined;
-/**
- * @member {Date} updated_at
- */
-
-LimitedWorld.prototype['updated_at'] = undefined;
-var _default = LimitedWorld;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/MIMEType.js b/dist/model/MIMEType.js
deleted file mode 100644
index f3bf744..0000000
--- a/dist/model/MIMEType.js
+++ /dev/null
@@ -1,74 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class MIMEType.
-* @enum {}
-* @readonly
-*/
-var MIMEType = /*#__PURE__*/function () {
- function MIMEType() {
- _classCallCheck(this, MIMEType);
-
- _defineProperty(this, "image⁄jpeg", "image⁄jpeg");
-
- _defineProperty(this, "image⁄jpg", "image⁄jpg");
-
- _defineProperty(this, "image⁄png", "image⁄png");
-
- _defineProperty(this, "image⁄webp", "image⁄webp");
-
- _defineProperty(this, "image⁄gif", "image⁄gif");
-
- _defineProperty(this, "image⁄bmp", "image⁄bmp");
-
- _defineProperty(this, "image⁄svg+xml", "image⁄svg+xml");
-
- _defineProperty(this, "image⁄tiff", "image⁄tiff");
-
- _defineProperty(this, "application⁄x-avatar", "application⁄x-avatar");
-
- _defineProperty(this, "application⁄x-world", "application⁄x-world");
-
- _defineProperty(this, "application⁄gzip", "application⁄gzip");
-
- _defineProperty(this, "application/x-rsync-signature", "application/x-rsync-signature");
-
- _defineProperty(this, "application/x-rsync-delta", "application/x-rsync-delta");
-
- _defineProperty(this, "application/octet-stream", "application/octet-stream");
- }
-
- _createClass(MIMEType, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a MIMEType enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/MIMEType} The enum MIMEType value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return MIMEType;
-}();
-
-exports["default"] = MIMEType;
\ No newline at end of file
diff --git a/dist/model/Notification.js b/dist/model/Notification.js
deleted file mode 100644
index 48a2845..0000000
--- a/dist/model/Notification.js
+++ /dev/null
@@ -1,162 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _NotificationType = _interopRequireDefault(require("./NotificationType"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The Notification model module.
- * @module model/Notification
- * @version 1.0.0
- */
-var Notification = /*#__PURE__*/function () {
- /**
- * Constructs a new Notification.
- *
- * @alias module:model/Notification
- * @param id {String}
- * @param senderUserId {String}
- * @param senderUsername {String}
- * @param type {module:model/NotificationType}
- * @param message {String}
- * @param details {String} **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
- * @param seen {Boolean}
- * @param createdAt {Date}
- */
- function Notification(id, senderUserId, senderUsername, type, message, details, seen, createdAt) {
- _classCallCheck(this, Notification);
-
- Notification.initialize(this, id, senderUserId, senderUsername, type, message, details, seen, createdAt);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(Notification, null, [{
- key: "initialize",
- value: function initialize(obj, id, senderUserId, senderUsername, type, message, details, seen, createdAt) {
- obj['id'] = id;
- obj['senderUserId'] = senderUserId;
- obj['senderUsername'] = senderUsername;
- obj['type'] = type;
- obj['message'] = message;
- obj['details'] = details || '{}';
- obj['seen'] = seen || false;
- obj['created_at'] = createdAt;
- }
- /**
- * Constructs a Notification from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Notification} obj Optional instance to populate.
- * @return {module:model/Notification} The populated Notification instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new Notification();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('senderUserId')) {
- obj['senderUserId'] = _ApiClient["default"].convertToType(data['senderUserId'], 'String');
- }
-
- if (data.hasOwnProperty('senderUsername')) {
- obj['senderUsername'] = _ApiClient["default"].convertToType(data['senderUsername'], 'String');
- }
-
- if (data.hasOwnProperty('type')) {
- obj['type'] = _NotificationType["default"].constructFromObject(data['type']);
- }
-
- if (data.hasOwnProperty('message')) {
- obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
- }
-
- if (data.hasOwnProperty('details')) {
- obj['details'] = _ApiClient["default"].convertToType(data['details'], 'String');
- }
-
- if (data.hasOwnProperty('seen')) {
- obj['seen'] = _ApiClient["default"].convertToType(data['seen'], 'Boolean');
- }
-
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
- }
- }
-
- return obj;
- }
- }]);
-
- return Notification;
-}();
-/**
- * @member {String} id
- */
-
-
-Notification.prototype['id'] = undefined;
-/**
- * @member {String} senderUserId
- */
-
-Notification.prototype['senderUserId'] = undefined;
-/**
- * @member {String} senderUsername
- */
-
-Notification.prototype['senderUsername'] = undefined;
-/**
- * @member {module:model/NotificationType} type
- */
-
-Notification.prototype['type'] = undefined;
-/**
- *
- * @member {String} message
- */
-
-Notification.prototype['message'] = undefined;
-/**
- * **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
- * @member {String} details
- * @default '{}'
- */
-
-Notification.prototype['details'] = '{}';
-/**
- * @member {Boolean} seen
- * @default false
- */
-
-Notification.prototype['seen'] = false;
-/**
- * @member {Date} created_at
- */
-
-Notification.prototype['created_at'] = undefined;
-var _default = Notification;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/NotificationType.js b/dist/model/NotificationType.js
deleted file mode 100644
index 15f9696..0000000
--- a/dist/model/NotificationType.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class NotificationType.
-* @enum {}
-* @readonly
-*/
-var NotificationType = /*#__PURE__*/function () {
- function NotificationType() {
- _classCallCheck(this, NotificationType);
-
- _defineProperty(this, "all", "all");
-
- _defineProperty(this, "broadcast", "broadcast");
-
- _defineProperty(this, "friendRequest", "friendRequest");
-
- _defineProperty(this, "invite", "invite");
-
- _defineProperty(this, "message", "message");
-
- _defineProperty(this, "RequestInvite", "RequestInvite");
-
- _defineProperty(this, "votetokick", "votetokick");
- }
-
- _createClass(NotificationType, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a NotificationType enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/NotificationType} The enum NotificationType value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return NotificationType;
-}();
-
-exports["default"] = NotificationType;
\ No newline at end of file
diff --git a/dist/model/ReleaseStatus.js b/dist/model/ReleaseStatus.js
deleted file mode 100644
index 55ff796..0000000
--- a/dist/model/ReleaseStatus.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class ReleaseStatus.
-* @enum {}
-* @readonly
-*/
-var ReleaseStatus = /*#__PURE__*/function () {
- function ReleaseStatus() {
- _classCallCheck(this, ReleaseStatus);
-
- _defineProperty(this, "public", "public");
-
- _defineProperty(this, "private", "private");
-
- _defineProperty(this, "hidden", "hidden");
- }
-
- _createClass(ReleaseStatus, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a ReleaseStatus enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/ReleaseStatus} The enum ReleaseStatus value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return ReleaseStatus;
-}();
-
-exports["default"] = ReleaseStatus;
\ No newline at end of file
diff --git a/dist/model/Response.js b/dist/model/Response.js
deleted file mode 100644
index 38aeeb1..0000000
--- a/dist/model/Response.js
+++ /dev/null
@@ -1,89 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The Response model module.
- * @module model/Response
- * @version 1.0.0
- */
-var Response = /*#__PURE__*/function () {
- /**
- * Constructs a new Response.
- * @alias module:model/Response
- * @param message {String}
- * @param statusCode {Number}
- */
- function Response(message, statusCode) {
- _classCallCheck(this, Response);
-
- Response.initialize(this, message, statusCode);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(Response, null, [{
- key: "initialize",
- value: function initialize(obj, message, statusCode) {
- obj['message'] = message;
- obj['status_code'] = statusCode;
- }
- /**
- * Constructs a Response from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Response} obj Optional instance to populate.
- * @return {module:model/Response} The populated Response instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new Response();
-
- if (data.hasOwnProperty('message')) {
- obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
- }
-
- if (data.hasOwnProperty('status_code')) {
- obj['status_code'] = _ApiClient["default"].convertToType(data['status_code'], 'Number');
- }
- }
-
- return obj;
- }
- }]);
-
- return Response;
-}();
-/**
- * @member {String} message
- */
-
-
-Response.prototype['message'] = undefined;
-/**
- * @member {Number} status_code
- */
-
-Response.prototype['status_code'] = undefined;
-var _default = Response;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/Success.js b/dist/model/Success.js
deleted file mode 100644
index f5a8459..0000000
--- a/dist/model/Success.js
+++ /dev/null
@@ -1,77 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _Response = _interopRequireDefault(require("./Response"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The Success model module.
- * @module model/Success
- * @version 1.0.0
- */
-var Success = /*#__PURE__*/function () {
- /**
- * Constructs a new Success.
- * @alias module:model/Success
- */
- function Success() {
- _classCallCheck(this, Success);
-
- Success.initialize(this);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(Success, null, [{
- key: "initialize",
- value: function initialize(obj) {}
- /**
- * Constructs a Success from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Success} obj Optional instance to populate.
- * @return {module:model/Success} The populated Success instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new Success();
-
- if (data.hasOwnProperty('success')) {
- obj['success'] = _Response["default"].constructFromObject(data['success']);
- }
- }
-
- return obj;
- }
- }]);
-
- return Success;
-}();
-/**
- * @member {module:model/Response} success
- */
-
-
-Success.prototype['success'] = undefined;
-var _default = Success;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/User.js b/dist/model/User.js
deleted file mode 100644
index d0e5f1f..0000000
--- a/dist/model/User.js
+++ /dev/null
@@ -1,331 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-var _DeveloperType = _interopRequireDefault(require("./DeveloperType"));
-
-var _UserState = _interopRequireDefault(require("./UserState"));
-
-var _UserStatus = _interopRequireDefault(require("./UserStatus"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The User model module.
- * @module model/User
- * @version 1.0.0
- */
-var User = /*#__PURE__*/function () {
- /**
- * Constructs a new User.
- * @alias module:model/User
- * @param id {String}
- * @param username {String}
- * @param displayName {String}
- * @param userIcon {String}
- * @param bio {String}
- * @param bioLinks {Array.}
- * @param profilePicOverride {String}
- * @param statusDescription {String}
- * @param currentAvatarImageUrl {String}
- * @param currentAvatarThumbnailImageUrl {String}
- * @param fallbackAvatar {String}
- * @param state {module:model/UserState}
- * @param tags {Array.}
- * @param developerType {module:model/DeveloperType}
- * @param lastLogin {Date}
- * @param lastPlatform {String}
- * @param allowAvatarCopying {Boolean}
- * @param status {module:model/UserStatus}
- * @param dateJoined {Date}
- * @param isFriend {Boolean}
- * @param friendKey {String}
- */
- function User(id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey) {
- _classCallCheck(this, User);
-
- User.initialize(this, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(User, null, [{
- key: "initialize",
- value: function initialize(obj, id, username, displayName, userIcon, bio, bioLinks, profilePicOverride, statusDescription, currentAvatarImageUrl, currentAvatarThumbnailImageUrl, fallbackAvatar, state, tags, developerType, lastLogin, lastPlatform, allowAvatarCopying, status, dateJoined, isFriend, friendKey) {
- obj['id'] = id;
- obj['username'] = username;
- obj['displayName'] = displayName;
- obj['userIcon'] = userIcon;
- obj['bio'] = bio;
- obj['bioLinks'] = bioLinks;
- obj['profilePicOverride'] = profilePicOverride;
- obj['statusDescription'] = statusDescription;
- obj['currentAvatarImageUrl'] = currentAvatarImageUrl;
- obj['currentAvatarThumbnailImageUrl'] = currentAvatarThumbnailImageUrl;
- obj['fallbackAvatar'] = fallbackAvatar;
- obj['state'] = state;
- obj['tags'] = tags;
- obj['developerType'] = developerType;
- obj['last_login'] = lastLogin;
- obj['last_platform'] = lastPlatform;
- obj['allowAvatarCopying'] = allowAvatarCopying;
- obj['status'] = status;
- obj['date_joined'] = dateJoined;
- obj['isFriend'] = isFriend;
- obj['friendKey'] = friendKey;
- }
- /**
- * Constructs a User from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/User} obj Optional instance to populate.
- * @return {module:model/User} The populated User instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new User();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('username')) {
- obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
- }
-
- if (data.hasOwnProperty('displayName')) {
- obj['displayName'] = _ApiClient["default"].convertToType(data['displayName'], 'String');
- }
-
- if (data.hasOwnProperty('userIcon')) {
- obj['userIcon'] = _ApiClient["default"].convertToType(data['userIcon'], 'String');
- }
-
- if (data.hasOwnProperty('bio')) {
- obj['bio'] = _ApiClient["default"].convertToType(data['bio'], 'String');
- }
-
- if (data.hasOwnProperty('bioLinks')) {
- obj['bioLinks'] = _ApiClient["default"].convertToType(data['bioLinks'], ['String']);
- }
-
- if (data.hasOwnProperty('profilePicOverride')) {
- obj['profilePicOverride'] = _ApiClient["default"].convertToType(data['profilePicOverride'], 'String');
- }
-
- if (data.hasOwnProperty('statusDescription')) {
- obj['statusDescription'] = _ApiClient["default"].convertToType(data['statusDescription'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatarImageUrl')) {
- obj['currentAvatarImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('currentAvatarThumbnailImageUrl')) {
- obj['currentAvatarThumbnailImageUrl'] = _ApiClient["default"].convertToType(data['currentAvatarThumbnailImageUrl'], 'String');
- }
-
- if (data.hasOwnProperty('fallbackAvatar')) {
- obj['fallbackAvatar'] = _ApiClient["default"].convertToType(data['fallbackAvatar'], 'String');
- }
-
- if (data.hasOwnProperty('state')) {
- obj['state'] = _UserState["default"].constructFromObject(data['state']);
- }
-
- if (data.hasOwnProperty('tags')) {
- obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
- }
-
- if (data.hasOwnProperty('developerType')) {
- obj['developerType'] = _DeveloperType["default"].constructFromObject(data['developerType']);
- }
-
- if (data.hasOwnProperty('last_login')) {
- obj['last_login'] = _ApiClient["default"].convertToType(data['last_login'], 'Date');
- }
-
- if (data.hasOwnProperty('last_platform')) {
- obj['last_platform'] = _ApiClient["default"].convertToType(data['last_platform'], 'String');
- }
-
- if (data.hasOwnProperty('allowAvatarCopying')) {
- obj['allowAvatarCopying'] = _ApiClient["default"].convertToType(data['allowAvatarCopying'], 'Boolean');
- }
-
- if (data.hasOwnProperty('status')) {
- obj['status'] = _UserStatus["default"].constructFromObject(data['status']);
- }
-
- if (data.hasOwnProperty('date_joined')) {
- obj['date_joined'] = _ApiClient["default"].convertToType(data['date_joined'], 'Date');
- }
-
- if (data.hasOwnProperty('isFriend')) {
- obj['isFriend'] = _ApiClient["default"].convertToType(data['isFriend'], 'Boolean');
- }
-
- if (data.hasOwnProperty('friendKey')) {
- obj['friendKey'] = _ApiClient["default"].convertToType(data['friendKey'], 'String');
- }
-
- if (data.hasOwnProperty('worldId')) {
- obj['worldId'] = _ApiClient["default"].convertToType(data['worldId'], 'String');
- }
-
- if (data.hasOwnProperty('instanceId')) {
- obj['instanceId'] = _ApiClient["default"].convertToType(data['instanceId'], 'String');
- }
-
- if (data.hasOwnProperty('location')) {
- obj['location'] = _ApiClient["default"].convertToType(data['location'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return User;
-}();
-/**
- * @member {String} id
- */
-
-
-User.prototype['id'] = undefined;
-/**
- * @member {String} username
- */
-
-User.prototype['username'] = undefined;
-/**
- * @member {String} displayName
- */
-
-User.prototype['displayName'] = undefined;
-/**
- * @member {String} userIcon
- */
-
-User.prototype['userIcon'] = undefined;
-/**
- * @member {String} bio
- */
-
-User.prototype['bio'] = undefined;
-/**
- * @member {Array.} bioLinks
- */
-
-User.prototype['bioLinks'] = undefined;
-/**
- * @member {String} profilePicOverride
- */
-
-User.prototype['profilePicOverride'] = undefined;
-/**
- * @member {String} statusDescription
- */
-
-User.prototype['statusDescription'] = undefined;
-/**
- * @member {String} currentAvatarImageUrl
- */
-
-User.prototype['currentAvatarImageUrl'] = undefined;
-/**
- * @member {String} currentAvatarThumbnailImageUrl
- */
-
-User.prototype['currentAvatarThumbnailImageUrl'] = undefined;
-/**
- * @member {String} fallbackAvatar
- */
-
-User.prototype['fallbackAvatar'] = undefined;
-/**
- * @member {module:model/UserState} state
- */
-
-User.prototype['state'] = undefined;
-/**
- * @member {Array.} tags
- */
-
-User.prototype['tags'] = undefined;
-/**
- * @member {module:model/DeveloperType} developerType
- */
-
-User.prototype['developerType'] = undefined;
-/**
- * @member {Date} last_login
- */
-
-User.prototype['last_login'] = undefined;
-/**
- * @member {String} last_platform
- */
-
-User.prototype['last_platform'] = undefined;
-/**
- * @member {Boolean} allowAvatarCopying
- */
-
-User.prototype['allowAvatarCopying'] = undefined;
-/**
- * @member {module:model/UserStatus} status
- */
-
-User.prototype['status'] = undefined;
-/**
- * @member {Date} date_joined
- */
-
-User.prototype['date_joined'] = undefined;
-/**
- * @member {Boolean} isFriend
- */
-
-User.prototype['isFriend'] = undefined;
-/**
- * @member {String} friendKey
- */
-
-User.prototype['friendKey'] = undefined;
-/**
- * @member {String} worldId
- */
-
-User.prototype['worldId'] = undefined;
-/**
- * @member {String} instanceId
- */
-
-User.prototype['instanceId'] = undefined;
-/**
- * @member {String} location
- */
-
-User.prototype['location'] = undefined;
-var _default = User;
-exports["default"] = _default;
\ No newline at end of file
diff --git a/dist/model/UserState.js b/dist/model/UserState.js
deleted file mode 100644
index 398c6a6..0000000
--- a/dist/model/UserState.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class UserState.
-* @enum {}
-* @readonly
-*/
-var UserState = /*#__PURE__*/function () {
- function UserState() {
- _classCallCheck(this, UserState);
-
- _defineProperty(this, "offline", "offline");
-
- _defineProperty(this, "active", "active");
-
- _defineProperty(this, "online", "online");
- }
-
- _createClass(UserState, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a UserState enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/UserState} The enum UserState value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return UserState;
-}();
-
-exports["default"] = UserState;
\ No newline at end of file
diff --git a/dist/model/UserStatus.js b/dist/model/UserStatus.js
deleted file mode 100644
index 526113b..0000000
--- a/dist/model/UserStatus.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(require("../ApiClient"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
-/**
-* Enum class UserStatus.
-* @enum {}
-* @readonly
-*/
-var UserStatus = /*#__PURE__*/function () {
- function UserStatus() {
- _classCallCheck(this, UserStatus);
-
- _defineProperty(this, "active", "active");
-
- _defineProperty(this, "join me", "join me");
-
- _defineProperty(this, "ask me", "ask me");
-
- _defineProperty(this, "busy", "busy");
-
- _defineProperty(this, "offline", "offline");
- }
-
- _createClass(UserStatus, null, [{
- key: "constructFromObject",
- value:
- /**
- * Returns a UserStatus enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/UserStatus} The enum UserStatus value.
- */
- function constructFromObject(object) {
- return object;
- }
- }]);
-
- return UserStatus;
-}();
-
-exports["default"] = UserStatus;
\ No newline at end of file
From 1b3d17508a384f7552740d198924b31d543fb221 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?=
Date: Mon, 26 Jul 2021 11:02:56 +0200
Subject: [PATCH 007/130] Add dist to .gitignore and stop openapi-generator
from overwriting .gitignore
---
.gitignore | 3 +++
.openapi-generator-ignore | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/.gitignore b/.gitignore
index e920c16..75b7e98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,6 @@ node_modules
# Optional REPL history
.node_repl_history
+
+# NPM build output directory
+dist
\ No newline at end of file
diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore
index 7484ee5..2b61424 100644
--- a/.openapi-generator-ignore
+++ b/.openapi-generator-ignore
@@ -21,3 +21,7 @@
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
+
+
+# VRChatAPI: Do not modify .gitignore to avoid comitting "dist"
+.gitignore
From fca09b4eec8c7ad8498c3b63af897306a70c6f79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?=
Date: Mon, 26 Jul 2021 11:03:55 +0200
Subject: [PATCH 008/130] Update FILES
---
.openapi-generator/FILES | 1 -
1 file changed, 1 deletion(-)
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 857f3c4..f98129f 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -1,5 +1,4 @@
.babelrc
-.gitignore
.travis.yml
README.md
docs/AuthenticationApi.md
From cd29101f4c9e95872709475255262c62bb46f8ae Mon Sep 17 00:00:00 2001
From: Foorack
Date: Fri, 6 Aug 2021 23:42:24 +0200
Subject: [PATCH 009/130] refactor(lang)!: regenerate into typescript for TS
support
---
.babelrc | 33 -
.npmignore | 1 +
.openapi-generator/FILES | 141 +-
.travis.yml | 5 -
README.md | 274 +-
api.ts | 4725 +++++++++++++++++++++
src/model/UserStatus.js => base.ts | 98 +-
common.ts | 138 +
configuration.ts | 101 +
docs/AuthenticationApi.md | 310 --
docs/Config.md | 83 -
docs/ConfigAnnouncements.md | 10 -
docs/ConfigDownloadUrls.md | 11 -
docs/ConfigDynamicWorldRows.md | 15 -
docs/ConfigEvents.md | 18 -
docs/CurrentUser.md | 54 -
docs/DeploymentGroup.md | 14 -
docs/DeveloperType.md | 14 -
docs/Error.md | 9 -
docs/File.md | 15 -
docs/FileData.md | 28 -
docs/FileStatus.md | 12 -
docs/FileVersion.md | 15 -
docs/FilesApi.md | 560 ---
docs/FriendsApi.md | 274 --
docs/InlineObject.md | 9 -
docs/InlineObject1.md | 9 -
docs/InlineObject2.md | 17 -
docs/InlineObject3.md | 12 -
docs/InlineObject4.md | 29 -
docs/InlineResponse200.md | 10 -
docs/InlineResponse2001.md | 9 -
docs/InlineResponse2002.md | 11 -
docs/InlineResponse2003.md | 11 -
docs/InlineResponse2004.md | 14 -
docs/InlineResponse2005.md | 9 -
docs/InlineResponse401.md | 9 -
docs/LimitedUser.md | 24 -
docs/LimitedWorld.md | 27 -
docs/MIMEType.md | 34 -
docs/Notification.md | 16 -
docs/NotificationType.md | 20 -
docs/NotificationsApi.md | 276 --
docs/ReleaseStatus.md | 12 -
docs/Response.md | 10 -
docs/Success.md | 9 -
docs/SystemApi.md | 172 -
docs/User.md | 32 -
docs/UserState.md | 12 -
docs/UserStatus.md | 16 -
docs/UsersApi.md | 288 --
docs/WorldsApi.md | 92 -
foorack.js | 9 +
generate.sh | 30 +-
src/model/UserState.js => index.ts | 43 +-
mocha.opts | 1 -
package-lock.json | 4209 +-----------------
package.json | 55 +-
src/ApiClient.js | 692 ---
src/api/AuthenticationApi.js | 307 --
src/api/FilesApi.js | 597 ---
src/api/FriendsApi.js | 288 --
src/api/NotificationsApi.js | 288 --
src/api/SystemApi.js | 203 -
src/api/UsersApi.js | 307 --
src/api/WorldsApi.js | 131 -
src/index.js | 356 --
src/model/Config.js | 889 ----
src/model/ConfigAnnouncements.js | 86 -
src/model/ConfigDownloadUrls.js | 97 -
src/model/ConfigDynamicWorldRows.js | 132 -
src/model/ConfigEvents.js | 173 -
src/model/CurrentUser.js | 525 ---
src/model/DeploymentGroup.js | 60 -
src/model/DeveloperType.js | 60 -
src/model/Error.js | 72 -
src/model/File.js | 137 -
src/model/FileData.js | 163 -
src/model/FileStatus.js | 53 -
src/model/FileVersion.js | 132 -
src/model/InlineObject.js | 73 -
src/model/InlineObject1.js | 73 -
src/model/InlineObject2.js | 137 -
src/model/InlineObject3.js | 102 -
src/model/InlineObject4.js | 126 -
src/model/InlineResponse200.js | 83 -
src/model/InlineResponse2001.js | 73 -
src/model/InlineResponse2002.js | 93 -
src/model/InlineResponse2003.js | 96 -
src/model/InlineResponse2004.js | 124 -
src/model/InlineResponse2005.js | 73 -
src/model/InlineResponse401.js | 74 -
src/model/LimitedUser.js | 224 -
src/model/LimitedWorld.js | 246 --
src/model/MIMEType.js | 130 -
src/model/Notification.js | 149 -
src/model/NotificationType.js | 81 -
src/model/ReleaseStatus.js | 53 -
src/model/Response.js | 83 -
src/model/Success.js | 72 -
src/model/User.js | 300 --
test/api/AuthenticationApi.spec.js | 113 -
test/api/FilesApi.spec.js | 153 -
test/api/FriendsApi.spec.js | 103 -
test/api/NotificationsApi.spec.js | 103 -
test/api/SystemApi.spec.js | 93 -
test/api/UsersApi.spec.js | 103 -
test/api/WorldsApi.spec.js | 63 -
test/model/Config.spec.js | 509 ---
test/model/ConfigAnnouncements.spec.js | 71 -
test/model/ConfigDownloadUrls.spec.js | 77 -
test/model/ConfigDynamicWorldRows.spec.js | 101 -
test/model/ConfigEvents.spec.js | 119 -
test/model/CurrentUser.spec.js | 335 --
test/model/DeploymentGroup.spec.js | 58 -
test/model/DeveloperType.spec.js | 58 -
test/model/Error.spec.js | 65 -
test/model/File.spec.js | 101 -
test/model/FileData.spec.js | 101 -
test/model/FileStatus.spec.js | 58 -
test/model/FileVersion.spec.js | 101 -
test/model/InlineObject.spec.js | 65 -
test/model/InlineObject1.spec.js | 65 -
test/model/InlineObject2.spec.js | 113 -
test/model/InlineObject3.spec.js | 83 -
test/model/InlineObject4.spec.js | 77 -
test/model/InlineResponse200.spec.js | 71 -
test/model/InlineResponse2001.spec.js | 65 -
test/model/InlineResponse2002.spec.js | 77 -
test/model/InlineResponse2003.spec.js | 77 -
test/model/InlineResponse2004.spec.js | 95 -
test/model/InlineResponse2005.spec.js | 65 -
test/model/InlineResponse401.spec.js | 65 -
test/model/LimitedUser.spec.js | 155 -
test/model/LimitedWorld.spec.js | 173 -
test/model/MIMEType.spec.js | 58 -
test/model/Notification.spec.js | 107 -
test/model/NotificationType.spec.js | 58 -
test/model/ReleaseStatus.spec.js | 58 -
test/model/Response.spec.js | 71 -
test/model/Success.spec.js | 65 -
test/model/User.spec.js | 203 -
test/model/UserState.spec.js | 58 -
test/model/UserStatus.spec.js | 58 -
tsconfig.json | 21 +
145 files changed, 5135 insertions(+), 20060 deletions(-)
delete mode 100644 .babelrc
create mode 100644 .npmignore
delete mode 100644 .travis.yml
create mode 100644 api.ts
rename src/model/UserStatus.js => base.ts (59%)
create mode 100644 common.ts
create mode 100644 configuration.ts
delete mode 100644 docs/AuthenticationApi.md
delete mode 100644 docs/Config.md
delete mode 100644 docs/ConfigAnnouncements.md
delete mode 100644 docs/ConfigDownloadUrls.md
delete mode 100644 docs/ConfigDynamicWorldRows.md
delete mode 100644 docs/ConfigEvents.md
delete mode 100644 docs/CurrentUser.md
delete mode 100644 docs/DeploymentGroup.md
delete mode 100644 docs/DeveloperType.md
delete mode 100644 docs/Error.md
delete mode 100644 docs/File.md
delete mode 100644 docs/FileData.md
delete mode 100644 docs/FileStatus.md
delete mode 100644 docs/FileVersion.md
delete mode 100644 docs/FilesApi.md
delete mode 100644 docs/FriendsApi.md
delete mode 100644 docs/InlineObject.md
delete mode 100644 docs/InlineObject1.md
delete mode 100644 docs/InlineObject2.md
delete mode 100644 docs/InlineObject3.md
delete mode 100644 docs/InlineObject4.md
delete mode 100644 docs/InlineResponse200.md
delete mode 100644 docs/InlineResponse2001.md
delete mode 100644 docs/InlineResponse2002.md
delete mode 100644 docs/InlineResponse2003.md
delete mode 100644 docs/InlineResponse2004.md
delete mode 100644 docs/InlineResponse2005.md
delete mode 100644 docs/InlineResponse401.md
delete mode 100644 docs/LimitedUser.md
delete mode 100644 docs/LimitedWorld.md
delete mode 100644 docs/MIMEType.md
delete mode 100644 docs/Notification.md
delete mode 100644 docs/NotificationType.md
delete mode 100644 docs/NotificationsApi.md
delete mode 100644 docs/ReleaseStatus.md
delete mode 100644 docs/Response.md
delete mode 100644 docs/Success.md
delete mode 100644 docs/SystemApi.md
delete mode 100644 docs/User.md
delete mode 100644 docs/UserState.md
delete mode 100644 docs/UserStatus.md
delete mode 100644 docs/UsersApi.md
delete mode 100644 docs/WorldsApi.md
create mode 100644 foorack.js
rename src/model/UserState.js => index.ts (68%)
delete mode 100644 mocha.opts
delete mode 100644 src/ApiClient.js
delete mode 100644 src/api/AuthenticationApi.js
delete mode 100644 src/api/FilesApi.js
delete mode 100644 src/api/FriendsApi.js
delete mode 100644 src/api/NotificationsApi.js
delete mode 100644 src/api/SystemApi.js
delete mode 100644 src/api/UsersApi.js
delete mode 100644 src/api/WorldsApi.js
delete mode 100644 src/index.js
delete mode 100644 src/model/Config.js
delete mode 100644 src/model/ConfigAnnouncements.js
delete mode 100644 src/model/ConfigDownloadUrls.js
delete mode 100644 src/model/ConfigDynamicWorldRows.js
delete mode 100644 src/model/ConfigEvents.js
delete mode 100644 src/model/CurrentUser.js
delete mode 100644 src/model/DeploymentGroup.js
delete mode 100644 src/model/DeveloperType.js
delete mode 100644 src/model/Error.js
delete mode 100644 src/model/File.js
delete mode 100644 src/model/FileData.js
delete mode 100644 src/model/FileStatus.js
delete mode 100644 src/model/FileVersion.js
delete mode 100644 src/model/InlineObject.js
delete mode 100644 src/model/InlineObject1.js
delete mode 100644 src/model/InlineObject2.js
delete mode 100644 src/model/InlineObject3.js
delete mode 100644 src/model/InlineObject4.js
delete mode 100644 src/model/InlineResponse200.js
delete mode 100644 src/model/InlineResponse2001.js
delete mode 100644 src/model/InlineResponse2002.js
delete mode 100644 src/model/InlineResponse2003.js
delete mode 100644 src/model/InlineResponse2004.js
delete mode 100644 src/model/InlineResponse2005.js
delete mode 100644 src/model/InlineResponse401.js
delete mode 100644 src/model/LimitedUser.js
delete mode 100644 src/model/LimitedWorld.js
delete mode 100644 src/model/MIMEType.js
delete mode 100644 src/model/Notification.js
delete mode 100644 src/model/NotificationType.js
delete mode 100644 src/model/ReleaseStatus.js
delete mode 100644 src/model/Response.js
delete mode 100644 src/model/Success.js
delete mode 100644 src/model/User.js
delete mode 100644 test/api/AuthenticationApi.spec.js
delete mode 100644 test/api/FilesApi.spec.js
delete mode 100644 test/api/FriendsApi.spec.js
delete mode 100644 test/api/NotificationsApi.spec.js
delete mode 100644 test/api/SystemApi.spec.js
delete mode 100644 test/api/UsersApi.spec.js
delete mode 100644 test/api/WorldsApi.spec.js
delete mode 100644 test/model/Config.spec.js
delete mode 100644 test/model/ConfigAnnouncements.spec.js
delete mode 100644 test/model/ConfigDownloadUrls.spec.js
delete mode 100644 test/model/ConfigDynamicWorldRows.spec.js
delete mode 100644 test/model/ConfigEvents.spec.js
delete mode 100644 test/model/CurrentUser.spec.js
delete mode 100644 test/model/DeploymentGroup.spec.js
delete mode 100644 test/model/DeveloperType.spec.js
delete mode 100644 test/model/Error.spec.js
delete mode 100644 test/model/File.spec.js
delete mode 100644 test/model/FileData.spec.js
delete mode 100644 test/model/FileStatus.spec.js
delete mode 100644 test/model/FileVersion.spec.js
delete mode 100644 test/model/InlineObject.spec.js
delete mode 100644 test/model/InlineObject1.spec.js
delete mode 100644 test/model/InlineObject2.spec.js
delete mode 100644 test/model/InlineObject3.spec.js
delete mode 100644 test/model/InlineObject4.spec.js
delete mode 100644 test/model/InlineResponse200.spec.js
delete mode 100644 test/model/InlineResponse2001.spec.js
delete mode 100644 test/model/InlineResponse2002.spec.js
delete mode 100644 test/model/InlineResponse2003.spec.js
delete mode 100644 test/model/InlineResponse2004.spec.js
delete mode 100644 test/model/InlineResponse2005.spec.js
delete mode 100644 test/model/InlineResponse401.spec.js
delete mode 100644 test/model/LimitedUser.spec.js
delete mode 100644 test/model/LimitedWorld.spec.js
delete mode 100644 test/model/MIMEType.spec.js
delete mode 100644 test/model/Notification.spec.js
delete mode 100644 test/model/NotificationType.spec.js
delete mode 100644 test/model/ReleaseStatus.spec.js
delete mode 100644 test/model/Response.spec.js
delete mode 100644 test/model/Success.spec.js
delete mode 100644 test/model/User.spec.js
delete mode 100644 test/model/UserState.spec.js
delete mode 100644 test/model/UserStatus.spec.js
create mode 100644 tsconfig.json
diff --git a/.babelrc b/.babelrc
deleted file mode 100644
index c73df9d..0000000
--- a/.babelrc
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "presets": [
- "@babel/preset-env"
- ],
- "plugins": [
- "@babel/plugin-syntax-dynamic-import",
- "@babel/plugin-syntax-import-meta",
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-proposal-json-strings",
- [
- "@babel/plugin-proposal-decorators",
- {
- "legacy": true
- }
- ],
- "@babel/plugin-proposal-function-sent",
- "@babel/plugin-proposal-export-namespace-from",
- "@babel/plugin-proposal-numeric-separator",
- "@babel/plugin-proposal-throw-expressions",
- "@babel/plugin-proposal-export-default-from",
- "@babel/plugin-proposal-logical-assignment-operators",
- "@babel/plugin-proposal-optional-chaining",
- [
- "@babel/plugin-proposal-pipeline-operator",
- {
- "proposal": "minimal"
- }
- ],
- "@babel/plugin-proposal-nullish-coalescing-operator",
- "@babel/plugin-proposal-do-expressions",
- "@babel/plugin-proposal-function-bind"
- ]
-}
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..999d88d
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1 @@
+# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm
\ No newline at end of file
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index f98129f..9892094 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -1,137 +1,10 @@
-.babelrc
-.travis.yml
+.npmignore
README.md
-docs/AuthenticationApi.md
-docs/Config.md
-docs/ConfigAnnouncements.md
-docs/ConfigDownloadUrls.md
-docs/ConfigDynamicWorldRows.md
-docs/ConfigEvents.md
-docs/CurrentUser.md
-docs/DeploymentGroup.md
-docs/DeveloperType.md
-docs/Error.md
-docs/File.md
-docs/FileData.md
-docs/FileStatus.md
-docs/FileVersion.md
-docs/FilesApi.md
-docs/FriendsApi.md
-docs/InlineObject.md
-docs/InlineObject1.md
-docs/InlineObject2.md
-docs/InlineObject3.md
-docs/InlineObject4.md
-docs/InlineResponse200.md
-docs/InlineResponse2001.md
-docs/InlineResponse2002.md
-docs/InlineResponse2003.md
-docs/InlineResponse2004.md
-docs/InlineResponse2005.md
-docs/InlineResponse401.md
-docs/LimitedUser.md
-docs/LimitedWorld.md
-docs/MIMEType.md
-docs/Notification.md
-docs/NotificationType.md
-docs/NotificationsApi.md
-docs/ReleaseStatus.md
-docs/Response.md
-docs/Success.md
-docs/SystemApi.md
-docs/User.md
-docs/UserState.md
-docs/UserStatus.md
-docs/UsersApi.md
-docs/WorldsApi.md
+api.ts
+base.ts
+common.ts
+configuration.ts
git_push.sh
-mocha.opts
+index.ts
package.json
-src/ApiClient.js
-src/api/AuthenticationApi.js
-src/api/FilesApi.js
-src/api/FriendsApi.js
-src/api/NotificationsApi.js
-src/api/SystemApi.js
-src/api/UsersApi.js
-src/api/WorldsApi.js
-src/index.js
-src/model/Config.js
-src/model/ConfigAnnouncements.js
-src/model/ConfigDownloadUrls.js
-src/model/ConfigDynamicWorldRows.js
-src/model/ConfigEvents.js
-src/model/CurrentUser.js
-src/model/DeploymentGroup.js
-src/model/DeveloperType.js
-src/model/Error.js
-src/model/File.js
-src/model/FileData.js
-src/model/FileStatus.js
-src/model/FileVersion.js
-src/model/InlineObject.js
-src/model/InlineObject1.js
-src/model/InlineObject2.js
-src/model/InlineObject3.js
-src/model/InlineObject4.js
-src/model/InlineResponse200.js
-src/model/InlineResponse2001.js
-src/model/InlineResponse2002.js
-src/model/InlineResponse2003.js
-src/model/InlineResponse2004.js
-src/model/InlineResponse2005.js
-src/model/InlineResponse401.js
-src/model/LimitedUser.js
-src/model/LimitedWorld.js
-src/model/MIMEType.js
-src/model/Notification.js
-src/model/NotificationType.js
-src/model/ReleaseStatus.js
-src/model/Response.js
-src/model/Success.js
-src/model/User.js
-src/model/UserState.js
-src/model/UserStatus.js
-test/api/AuthenticationApi.spec.js
-test/api/FilesApi.spec.js
-test/api/FriendsApi.spec.js
-test/api/NotificationsApi.spec.js
-test/api/SystemApi.spec.js
-test/api/UsersApi.spec.js
-test/api/WorldsApi.spec.js
-test/model/Config.spec.js
-test/model/ConfigAnnouncements.spec.js
-test/model/ConfigDownloadUrls.spec.js
-test/model/ConfigDynamicWorldRows.spec.js
-test/model/ConfigEvents.spec.js
-test/model/CurrentUser.spec.js
-test/model/DeploymentGroup.spec.js
-test/model/DeveloperType.spec.js
-test/model/Error.spec.js
-test/model/File.spec.js
-test/model/FileData.spec.js
-test/model/FileStatus.spec.js
-test/model/FileVersion.spec.js
-test/model/InlineObject.spec.js
-test/model/InlineObject1.spec.js
-test/model/InlineObject2.spec.js
-test/model/InlineObject3.spec.js
-test/model/InlineObject4.spec.js
-test/model/InlineResponse200.spec.js
-test/model/InlineResponse2001.spec.js
-test/model/InlineResponse2002.spec.js
-test/model/InlineResponse2003.spec.js
-test/model/InlineResponse2004.spec.js
-test/model/InlineResponse2005.spec.js
-test/model/InlineResponse401.spec.js
-test/model/LimitedUser.spec.js
-test/model/LimitedWorld.spec.js
-test/model/MIMEType.spec.js
-test/model/Notification.spec.js
-test/model/NotificationType.spec.js
-test/model/ReleaseStatus.spec.js
-test/model/Response.spec.js
-test/model/Success.spec.js
-test/model/User.spec.js
-test/model/UserState.spec.js
-test/model/UserStatus.spec.js
+tsconfig.json
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0968f7a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-language: node_js
-cache: npm
-node_js:
- - "6"
- - "6.1"
diff --git a/README.md b/README.md
index eb68020..a9e68a5 100644
--- a/README.md
+++ b/README.md
@@ -1,273 +1,45 @@
-# vrchatapi
+## vrchatapi@1.0.0
-vrchatapi - JavaScript client for vrchatapi
-
+This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
-# VRChat API Documentation
-This project is an [OPEN Open Source Project](https://openopensource.org)
+Environment
+* Node.js
+* Webpack
+* Browserify
-Individuals making significant and valuable contributions are given
-commit-access to the project to contribute as they see fit. This project
-is more like an open wiki than a standard guarded open source project.
+Language level
+* ES5 - you must have a Promises/A+ library installed
+* ES6
-## Disclaimer
+Module system
+* CommonJS
+* ES6 module system
-This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.
+It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
-> **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:**
-> * We do not provide documentation or support for the API.
-> * Do not make queries to the API more than once per 60 seconds.
-> * Abuse of the API may result in account termination.
-> * Access to API endpoints may break at any given time, with no warning.
+### Building
-As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.
-
-## Get in touch with us!
-
-[https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
-This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-
-- API version: 1.0.0
-- Package version: 1.0.0
-- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
-For more information, please visit [https://github.com/VRChatAPI](https://github.com/VRChatAPI)
-
-## Installation
-
-### For [Node.js](https://nodejs.org/)
-
-#### npm
-
-To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
-
-Then install it via:
-
-```shell
-npm install vrchatapi --save
+To build and compile the typescript sources to javascript use:
```
-
-Finally, you need to build the module:
-
-```shell
-npm run build
-```
-
-##### Local development
-
-To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
-
-```shell
npm install
-```
-
-Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
-
-```shell
-npm link
-```
-
-To use the link you just defined in your project, switch to the directory you want to use your vrchatapi from, and run:
-
-```shell
-npm link /path/to/
-```
-
-Finally, you need to build the module:
-
-```shell
npm run build
```
-#### git
+### Publishing
-If the library is hosted at a git repository, e.g.https://github.com/vrchatapi/vrchatapi-node
-then install it via:
+First build the package then run ```npm publish```
-```shell
- npm install vrchatapi/vrchatapi-node --save
-```
+### Consuming
-### For browser
+navigate to the folder of your consuming project and run one of the following commands.
-The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
-the above steps with Node.js and installing browserify with `npm install -g browserify`,
-perform the following (assuming *main.js* is your entry file):
+_published:_
-```shell
-browserify main.js > bundle.js
```
-
-Then include *bundle.js* in the HTML pages.
-
-### Webpack Configuration
-
-Using Webpack you may encounter the following error: "Module not found: Error:
-Cannot resolve module", most certainly you should disable AMD loader. Add/merge
-the following section to your webpack config:
-
-```javascript
-module: {
- rules: [
- {
- parser: {
- amd: false
- }
- }
- ]
-}
+npm install vrchatapi@1.0.0 --save
```
-## Getting Started
-
-Please follow the [installation](#installation) instruction and execute the following JS code:
-
-```javascript
-var vrchatapi = require('vrchatapi');
-
-var defaultClient = vrchatapi.ApiClient.instance;
-// Configure API key authorization: apiKeyCookie
-var apiKeyCookie = defaultClient.authentications['apiKeyCookie'];
-apiKeyCookie.apiKey = "YOUR API KEY"
-// Configure API key authorization: authCookie
-var authCookie = defaultClient.authentications['authCookie'];
-authCookie.apiKey = "YOUR API KEY"
-
-var api = new vrchatapi.AuthenticationApi()
-var userId = "userId_example"; // {String}
-api.getUser(userId).then(function(data) {
- console.log('API called successfully. Returned data: ' + data);
-}, function(error) {
- console.error(error);
-});
-
+_unPublished (not recommended):_
```
-
-## Documentation for API Endpoints
-
-All URIs are relative to *https://api.vrchat.cloud/api/1*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*vrchatapi.AuthenticationApi* | [**deleteUserById**](docs/AuthenticationApi.md#deleteUserById) | **PUT** /user/{userId}/delete | Delete User
-*vrchatapi.AuthenticationApi* | [**getCurrentUser**](docs/AuthenticationApi.md#getCurrentUser) | **GET** /auth/user | Login and/or Get Current User Info
-*vrchatapi.AuthenticationApi* | [**logout**](docs/AuthenticationApi.md#logout) | **PUT** /logout | Logout
-*vrchatapi.AuthenticationApi* | [**verify2FA**](docs/AuthenticationApi.md#verify2FA) | **POST** /auth/twofactorauth/totp/verify | Verify 2FA code
-*vrchatapi.AuthenticationApi* | [**verifyAuthToken**](docs/AuthenticationApi.md#verifyAuthToken) | **GET** /auth | Verify Auth Token
-*vrchatapi.AuthenticationApi* | [**verifyRecoveryCode**](docs/AuthenticationApi.md#verifyRecoveryCode) | **POST** /auth/twofactorauth/otp/verify | Verify 2FA code with Recovery code
-*vrchatapi.FilesApi* | [**createFile**](docs/FilesApi.md#createFile) | **POST** /file | Create File
-*vrchatapi.FilesApi* | [**createFileVersion**](docs/FilesApi.md#createFileVersion) | **POST** /file/{fileId} | Create File Version
-*vrchatapi.FilesApi* | [**deleteFile**](docs/FilesApi.md#deleteFile) | **DELETE** /file/{fileId} | Delete File
-*vrchatapi.FilesApi* | [**deleteFileVersion**](docs/FilesApi.md#deleteFileVersion) | **DELETE** /file/{fileId}/{versionId} | Delete File Version
-*vrchatapi.FilesApi* | [**downloadFileVersion**](docs/FilesApi.md#downloadFileVersion) | **GET** /file/{fileId}/{versionId} | Download File Version
-*vrchatapi.FilesApi* | [**finishFileDataUpload**](docs/FilesApi.md#finishFileDataUpload) | **PUT** /file/{fileId}/{versionId}/{fileType}/finish | Finish FileData Upload
-*vrchatapi.FilesApi* | [**getFile**](docs/FilesApi.md#getFile) | **GET** /file/{fileId} | Show File
-*vrchatapi.FilesApi* | [**getFileDataUploadStatus**](docs/FilesApi.md#getFileDataUploadStatus) | **GET** /file/{fileId}/{versionId}/{fileType}/status | Check FileData Upload Status
-*vrchatapi.FilesApi* | [**getFiles**](docs/FilesApi.md#getFiles) | **GET** /files | List Files
-*vrchatapi.FilesApi* | [**startFileDataUpload**](docs/FilesApi.md#startFileDataUpload) | **PUT** /file/{fileId}/{versionId}/{fileType}/start | Start FileData Upload
-*vrchatapi.FriendsApi* | [**deleteFriendRequest**](docs/FriendsApi.md#deleteFriendRequest) | **DELETE** /user/{userId}/friendRequest | Delete Friend Request
-*vrchatapi.FriendsApi* | [**friend**](docs/FriendsApi.md#friend) | **POST** /user/{userId}/friendRequest | Send Friend Request
-*vrchatapi.FriendsApi* | [**getFriendStatus**](docs/FriendsApi.md#getFriendStatus) | **GET** /user/{userId}/friendStatus | Check Friend Status
-*vrchatapi.FriendsApi* | [**getFriends**](docs/FriendsApi.md#getFriends) | **GET** /auth/user/friends | List Friends
-*vrchatapi.FriendsApi* | [**unfriend**](docs/FriendsApi.md#unfriend) | **DELETE** /auth/user/friends/{userId} | Unfriend
-*vrchatapi.NotificationsApi* | [**acceptFriendRequest**](docs/NotificationsApi.md#acceptFriendRequest) | **PUT** /auth/user/notifications/{notificationId}/accept | Accept Friend Request
-*vrchatapi.NotificationsApi* | [**clearNotifications**](docs/NotificationsApi.md#clearNotifications) | **PUT** /auth/user/notifications/clear | Clear All Notifications
-*vrchatapi.NotificationsApi* | [**deleteNotification**](docs/NotificationsApi.md#deleteNotification) | **PUT** /auth/user/notifications/{notificationId}/hide | Delete Notification
-*vrchatapi.NotificationsApi* | [**getNotifications**](docs/NotificationsApi.md#getNotifications) | **GET** /auth/user/notifications | List Notifications
-*vrchatapi.NotificationsApi* | [**markNotificationAsRead**](docs/NotificationsApi.md#markNotificationAsRead) | **PUT** /auth/user/notifications/{notificationId}/see | Mark As Read
-*vrchatapi.SystemApi* | [**getConfig**](docs/SystemApi.md#getConfig) | **GET** /config | Fetch API Config
-*vrchatapi.SystemApi* | [**getCurrentOnlineUsers**](docs/SystemApi.md#getCurrentOnlineUsers) | **GET** /visits | Current Online Users
-*vrchatapi.SystemApi* | [**getHealth**](docs/SystemApi.md#getHealth) | **GET** /health | Check API Health
-*vrchatapi.SystemApi* | [**getSystemTime**](docs/SystemApi.md#getSystemTime) | **GET** /time | Current System Time
-*vrchatapi.UsersApi* | [**getUser**](docs/UsersApi.md#getUser) | **GET** /users/{userId} | Get User by ID
-*vrchatapi.UsersApi* | [**getUserByName**](docs/UsersApi.md#getUserByName) | **GET** /users/{username}/name | Get User by Username
-*vrchatapi.UsersApi* | [**searchActiveUsers**](docs/UsersApi.md#searchActiveUsers) | **GET** /users/active | Search Active Users
-*vrchatapi.UsersApi* | [**searchUsers**](docs/UsersApi.md#searchUsers) | **GET** /users | Search All Users
-*vrchatapi.UsersApi* | [**updateUser**](docs/UsersApi.md#updateUser) | **PUT** /users/{userId} | Update User Info
-*vrchatapi.WorldsApi* | [**searchWorlds**](docs/WorldsApi.md#searchWorlds) | **GET** /worlds | Search all worlds
-
-
-## Documentation for Models
-
- - [vrchatapi.Config](docs/Config.md)
- - [vrchatapi.ConfigAnnouncements](docs/ConfigAnnouncements.md)
- - [vrchatapi.ConfigDownloadUrls](docs/ConfigDownloadUrls.md)
- - [vrchatapi.ConfigDynamicWorldRows](docs/ConfigDynamicWorldRows.md)
- - [vrchatapi.ConfigEvents](docs/ConfigEvents.md)
- - [vrchatapi.CurrentUser](docs/CurrentUser.md)
- - [vrchatapi.DeploymentGroup](docs/DeploymentGroup.md)
- - [vrchatapi.DeveloperType](docs/DeveloperType.md)
- - [vrchatapi.Error](docs/Error.md)
- - [vrchatapi.File](docs/File.md)
- - [vrchatapi.FileData](docs/FileData.md)
- - [vrchatapi.FileStatus](docs/FileStatus.md)
- - [vrchatapi.FileVersion](docs/FileVersion.md)
- - [vrchatapi.InlineObject](docs/InlineObject.md)
- - [vrchatapi.InlineObject1](docs/InlineObject1.md)
- - [vrchatapi.InlineObject2](docs/InlineObject2.md)
- - [vrchatapi.InlineObject3](docs/InlineObject3.md)
- - [vrchatapi.InlineObject4](docs/InlineObject4.md)
- - [vrchatapi.InlineResponse200](docs/InlineResponse200.md)
- - [vrchatapi.InlineResponse2001](docs/InlineResponse2001.md)
- - [vrchatapi.InlineResponse2002](docs/InlineResponse2002.md)
- - [vrchatapi.InlineResponse2003](docs/InlineResponse2003.md)
- - [vrchatapi.InlineResponse2004](docs/InlineResponse2004.md)
- - [vrchatapi.InlineResponse2005](docs/InlineResponse2005.md)
- - [vrchatapi.InlineResponse401](docs/InlineResponse401.md)
- - [vrchatapi.LimitedUser](docs/LimitedUser.md)
- - [vrchatapi.LimitedWorld](docs/LimitedWorld.md)
- - [vrchatapi.MIMEType](docs/MIMEType.md)
- - [vrchatapi.Notification](docs/Notification.md)
- - [vrchatapi.NotificationType](docs/NotificationType.md)
- - [vrchatapi.ReleaseStatus](docs/ReleaseStatus.md)
- - [vrchatapi.Response](docs/Response.md)
- - [vrchatapi.Success](docs/Success.md)
- - [vrchatapi.User](docs/User.md)
- - [vrchatapi.UserState](docs/UserState.md)
- - [vrchatapi.UserStatus](docs/UserStatus.md)
-
-
-## Documentation for Authorization
-
-
-
-### apiKeyCookie
-
-
-- **Type**: API key
-- **API key parameter name**: apiKey
-- **Location**:
-
-
-
-### apiKeyQuery
-
-
-- **Type**: API key
-- **API key parameter name**: apiKey
-- **Location**: URL query string
-
-
-
-### authCookie
-
-
-- **Type**: API key
-- **API key parameter name**: auth
-- **Location**:
-
-
-
-### authHeader
-
-- **Type**: HTTP basic authentication
-
-
-
-### twoFactorAuthCookie
-
-
-- **Type**: API key
-- **API key parameter name**: twoFactorAuth
-- **Location**:
-
+npm install PATH_TO_GENERATED_PACKAGE --save
diff --git a/api.ts b/api.ts
new file mode 100644
index 0000000..9247420
--- /dev/null
+++ b/api.ts
@@ -0,0 +1,4725 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * VRChat API Documentation
+ *  # VRChat API Documentation This project is an [OPEN Open Source Project](https://openopensource.org) Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. ## Disclaimer This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API. > **Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:** > * We do not provide documentation or support for the API. > * Do not make queries to the API more than once per 60 seconds. > * Abuse of the API may result in account termination. > * Access to API endpoints may break at any given time, with no warning. As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it. ## Get in touch with us! [https://discord.gg/qjZE9C9fkB#vrchat-api](https://discord.gg/qjZE9C9fkB)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: me@ruby.js.org
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+import { Configuration } from './configuration';
+import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
+// Some imports not used depending on template conditions
+// @ts-ignore
+import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
+// @ts-ignore
+import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
+
+/**
+ *
+ * @export
+ * @interface Config
+ */
+export interface Config {
+ /**
+ * VRChat\'s office address
+ * @type {string}
+ * @memberof Config
+ */
+ address: string;
+ /**
+ * PSA, Public Announcements
+ * @type {Set}
+ * @memberof Config
+ */
+ announcements: Set;
+ /**
+ * apiKey to be used for all other requests
+ * @type {string}
+ * @memberof Config
+ */
+ apiKey: string;
+ /**
+ * Game name
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ appName: string;
+ /**
+ * Build tag of the API server
+ * @type {string}
+ * @memberof Config
+ */
+ buildVersionTag: string;
+ /**
+ * apiKey to be used for all other requests
+ * @type {string}
+ * @memberof Config
+ */
+ clientApiKey: string;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ clientBPSCeiling?: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ clientDisconnectTimeout?: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ clientReservedPlayerBPS?: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ clientSentCountAllowance?: number;
+ /**
+ * VRChat\'s contact email
+ * @type {string}
+ * @memberof Config
+ */
+ contactEmail: string;
+ /**
+ * VRChat\'s copyright-issues-related email
+ * @type {string}
+ * @memberof Config
+ */
+ copyrightEmail: string;
+ /**
+ * Current version number of the Terms of Service
+ * @type {number}
+ * @memberof Config
+ */
+ currentTOSVersion: number;
+ /**
+ *
+ * @type {string}
+ * @memberof Config
+ */
+ defaultAvatar: string;
+ /**
+ *
+ * @type {DeploymentGroup}
+ * @memberof Config
+ */
+ deploymentGroup: DeploymentGroup;
+ /**
+ * Version number for game development build
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ devAppVersionStandalone: string;
+ /**
+ * Developer Download link
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ devDownloadLinkWindows: string;
+ /**
+ * Link to download the development SDK, use downloadUrls instead
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ devSdkUrl: string;
+ /**
+ * Version of the development SDK
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ devSdkVersion: string;
+ /**
+ * Version number for server development build
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ devServerVersionStandalone: string;
+ /**
+ * Toggles if copying avatars should be disabled
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableAvatarCopying: boolean;
+ /**
+ * Toggles if avatar gating should be disabled. Avatar gating restricts uploading of avatars to people with the `system_avatar_access` Tag or `admin_avatar_access` Tag
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableAvatarGating: boolean;
+ /**
+ * Toggles if the Community Labs should be disabled
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableCommunityLabs: boolean;
+ /**
+ * Toggles if promotion out of Community Labs should be disabled
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableCommunityLabsPromotion: boolean;
+ /**
+ * Unknown
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableEmail?: boolean;
+ /**
+ * Toggles if Analytics should be disabled (this sreportedly not used in the Client)
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableEventStream: boolean;
+ /**
+ * Toggles if feedback gating should be disabled. Feedback gating restricts submission of feedback (reporting a World or User) to people with the `system_feedback_access` Tag.
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableFeedbackGating: boolean;
+ /**
+ * Unknown
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableHello?: boolean;
+ /**
+ * Toggles if new user account registration should be disabled
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableRegistration: boolean;
+ /**
+ * Toggles if Steam Networking should be disabled. VRChat these days uses Photon Unity Networking (PUN) instead.
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableSteamNetworking: boolean;
+ /**
+ * Toggles if 2FA should be disabled.
+ * @type {boolean}
+ * @memberof Config
+ * @deprecated
+ */
+ disableTwoFactorAuth: boolean;
+ /**
+ * Toggles if Udon should be universally disabled in-game.
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableUdon: boolean;
+ /**
+ * Toggles if account upgrading \"linking with Steam/Oculus\" should be disabled.
+ * @type {boolean}
+ * @memberof Config
+ */
+ disableUpgradeAccount: boolean;
+ /**
+ * Download link for game on the Oculus Rift website.
+ * @type {string}
+ * @memberof Config
+ */
+ downloadLinkWindows: string;
+ /**
+ *
+ * @type {ConfigDownloadUrls}
+ * @memberof Config
+ */
+ downloadUrls: ConfigDownloadUrls;
+ /**
+ * Array of DynamicWorldRow objects, used by the game to display the list of world rows
+ * @type {Set}
+ * @memberof Config
+ */
+ dynamicWorldRows: Set;
+ /**
+ *
+ * @type {ConfigEvents}
+ * @memberof Config
+ */
+ events: ConfigEvents;
+ /**
+ * Unknown
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ gearDemoRoomId: string;
+ /**
+ * Redirect target if you try to open the base API domain in your browser
+ * @type {string}
+ * @memberof Config
+ */
+ homepageRedirectTarget: string;
+ /**
+ *
+ * @type {string}
+ * @memberof Config
+ */
+ homeWorldId: string;
+ /**
+ *
+ * @type {string}
+ * @memberof Config
+ */
+ hubWorldId: string;
+ /**
+ * VRChat\'s job application email
+ * @type {string}
+ * @memberof Config
+ */
+ jobsEmail: string;
+ /**
+ * MOTD
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ messageOfTheDay: string;
+ /**
+ * VRChat\'s moderation related email
+ * @type {string}
+ * @memberof Config
+ */
+ moderationEmail: string;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ moderationQueryPeriod: number;
+ /**
+ * Used in-game to notify a user they aren\'t allowed to select avatars in private worlds
+ * @type {string}
+ * @memberof Config
+ */
+ notAllowedToSelectAvatarInPrivateWorldMessage: string;
+ /**
+ * Extra [plugin](https://doc.photonengine.com/en-us/server/current/plugins/manual) to run in each instance
+ * @type {string}
+ * @memberof Config
+ */
+ plugin: string;
+ /**
+ * Version number for game release build
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ releaseAppVersionStandalone: string;
+ /**
+ * Link to download the release SDK
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ releaseSdkUrl: string;
+ /**
+ * Version of the release SDK
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ releaseSdkVersion: string;
+ /**
+ * Version number for server release build
+ * @type {string}
+ * @memberof Config
+ * @deprecated
+ */
+ releaseServerVersionStandalone: string;
+ /**
+ * Link to the developer FAQ
+ * @type {string}
+ * @memberof Config
+ */
+ sdkDeveloperFaqUrl: string;
+ /**
+ * Link to the official VRChat Discord
+ * @type {string}
+ * @memberof Config
+ */
+ sdkDiscordUrl: string;
+ /**
+ * Used in the SDK to notify a user they aren\'t allowed to upload avatars/worlds yet
+ * @type {string}
+ * @memberof Config
+ */
+ sdkNotAllowedToPublishMessage: string;
+ /**
+ * Unity version supported by the SDK
+ * @type {string}
+ * @memberof Config
+ */
+ sdkUnityVersion: string;
+ /**
+ * Server name of the API server currently responding
+ * @type {string}
+ * @memberof Config
+ */
+ serverName: string;
+ /**
+ * VRChat\'s support email
+ * @type {string}
+ * @memberof Config
+ */
+ supportEmail: string;
+ /**
+ *
+ * @type {string}
+ * @memberof Config
+ */
+ timeOutWorldId: string;
+ /**
+ *
+ * @type {string}
+ * @memberof Config
+ */
+ tutorialWorldId: string;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ updateRateMsMaximum: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ updateRateMsMinimum: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ updateRateMsNormal: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ updateRateMsUdonManual: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ uploadAnalysisPercent: number;
+ /**
+ * List of allowed URLs that bypass the \"Allow untrusted URL\'s\" setting in-game
+ * @type {Array}
+ * @memberof Config
+ */
+ urlList: Array;
+ /**
+ * Unknown
+ * @type {boolean}
+ * @memberof Config
+ */
+ useReliableUdpForVoice: boolean;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ userUpdatePeriod: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ userVerificationDelay: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ userVerificationRetry: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ userVerificationTimeout: number;
+ /**
+ * Download link for game on the Steam website.
+ * @type {string}
+ * @memberof Config
+ */
+ viveWindowsUrl: string;
+ /**
+ * List of allowed URLs that are allowed to host avatar assets
+ * @type {Array}
+ * @memberof Config
+ */
+ whiteListedAssetUrls: Array;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof Config
+ */
+ worldUpdatePeriod: number;
+ /**
+ * Currently used youtube-dl.exe hash in SHA-256-delimited format
+ * @type {string}
+ * @memberof Config
+ */
+ youtubedl_hash: string;
+ /**
+ * Currently used youtube-dl.exe version
+ * @type {string}
+ * @memberof Config
+ */
+ youtubedl_version: string;
+}
+/**
+ * Public Announcement
+ * @export
+ * @interface ConfigAnnouncements
+ */
+export interface ConfigAnnouncements {
+ /**
+ * Announcement name
+ * @type {string}
+ * @memberof ConfigAnnouncements
+ */
+ name: string;
+ /**
+ * Announcement text
+ * @type {string}
+ * @memberof ConfigAnnouncements
+ */
+ text: string;
+}
+/**
+ * Download links for various development assets
+ * @export
+ * @interface ConfigDownloadUrls
+ */
+export interface ConfigDownloadUrls {
+ /**
+ * Download link for legacy SDK2
+ * @type {string}
+ * @memberof ConfigDownloadUrls
+ * @deprecated
+ */
+ sdk2: string;
+ /**
+ * Download link for SDK3 for Avatars
+ * @type {string}
+ * @memberof ConfigDownloadUrls
+ */
+ sdk3_avatars: string;
+ /**
+ * Download link for SDK3 for Worlds
+ * @type {string}
+ * @memberof ConfigDownloadUrls
+ */
+ sdk3_worlds: string;
+}
+/**
+ *
+ * @export
+ * @interface ConfigDynamicWorldRows
+ */
+export interface ConfigDynamicWorldRows {
+ /**
+ *
+ * @type {number}
+ * @memberof ConfigDynamicWorldRows
+ */
+ index: number;
+ /**
+ *
+ * @type {string}
+ * @memberof ConfigDynamicWorldRows
+ */
+ name: string;
+ /**
+ *
+ * @type {string}
+ * @memberof ConfigDynamicWorldRows
+ */
+ platform: string;
+ /**
+ *
+ * @type {string}
+ * @memberof ConfigDynamicWorldRows
+ */
+ sortHeading: string;
+ /**
+ *
+ * @type {string}
+ * @memberof ConfigDynamicWorldRows
+ */
+ sortOrder: string;
+ /**
+ *
+ * @type {string}
+ * @memberof ConfigDynamicWorldRows
+ */
+ sortOwnership: string;
+ /**
+ * Tag to filter worlds for this row
+ * @type {string}
+ * @memberof ConfigDynamicWorldRows
+ */
+ tag?: string;
+}
+/**
+ *
+ * @export
+ * @interface ConfigEvents
+ */
+export interface ConfigEvents {
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ distanceClose: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ distanceFactor: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ distanceFar: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ groupDistance: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ maximumBunchSize: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ notVisibleFactor: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ playerOrderBucketSize: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ playerOrderFactor: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ slowUpdateFactorThreshold: number;
+ /**
+ * Unknown
+ * @type {number}
+ * @memberof ConfigEvents
+ */
+ viewSegmentLength: number;
+}
+/**
+ *
+ * @export
+ * @interface CurrentUser
+ */
+export interface CurrentUser {
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ id: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ username: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ displayName: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ userIcon: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ bio: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ bioLinks: Array;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ profilePicOverride: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ statusDescription: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ pastDisplayNames: Array;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ hasEmail: boolean;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ hasPendingEmail: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ obfuscatedEmail: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ obfuscatedPendingEmail: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ emailVerified: boolean;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ hasBirthday: boolean;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ unsubscribe: boolean;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ statusHistory: Array;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ statusFirstTime: boolean;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ friends: Array;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ friendGroupNames: Array;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ currentAvatarImageUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ currentAvatarThumbnailImageUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ fallbackAvatar: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ currentAvatar: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ currentAvatarAssetUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ accountDeletionDate?: string;
+ /**
+ *
+ * @type {number}
+ * @memberof CurrentUser
+ */
+ acceptedTOSVersion: number;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ steamId: string;
+ /**
+ *
+ * @type {object}
+ * @memberof CurrentUser
+ */
+ steamDetails: object;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ oculusId: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ hasLoggedInFromClient: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ homeLocation: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ twoFactorAuthEnabled: boolean;
+ /**
+ *
+ * @type {UserState}
+ * @memberof CurrentUser
+ */
+ state: UserState;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ tags: Array;
+ /**
+ *
+ * @type {DeveloperType}
+ * @memberof CurrentUser
+ */
+ developerType: DeveloperType;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ last_login: string;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ last_platform: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ allowAvatarCopying: boolean;
+ /**
+ *
+ * @type {UserStatus}
+ * @memberof CurrentUser
+ */
+ status: UserStatus;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ date_joined: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof CurrentUser
+ */
+ isFriend: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof CurrentUser
+ */
+ friendKey: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ onlineFriends: Array;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ activeFriends: Array;
+ /**
+ *
+ * @type {Array}
+ * @memberof CurrentUser
+ */
+ offlineFriends: Array;
+}
+/**
+ * Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html)
+ * @export
+ * @enum {string}
+ */
+
+export enum DeploymentGroup {
+ Blue = 'blue',
+ Green = 'green',
+ Grape = 'grape',
+ Cherry = 'cherry'
+}
+
+/**
+ * \"none\" User is a normal user \"trusted\" Unknown \"internal\" Is a VRChat Developer \"moderator\" Is a VRChat Moderator Staff can hide their developerType at will.
+ * @export
+ * @enum {string}
+ */
+
+export enum DeveloperType {
+ None = 'none',
+ Trusted = 'trusted',
+ Internal = 'internal',
+ Moderator = 'moderator'
+}
+
+/**
+ *
+ * @export
+ * @interface FileData
+ */
+export interface FileData {
+ /**
+ *
+ * @type {string}
+ * @memberof FileData
+ */
+ fileName: string;
+ /**
+ *
+ * @type {string}
+ * @memberof FileData
+ */
+ url: string;
+ /**
+ *
+ * @type {string}
+ * @memberof FileData
+ */
+ md5: string;
+ /**
+ *
+ * @type {number}
+ * @memberof FileData
+ */
+ sizeInBytes: number;
+ /**
+ *
+ * @type {FileStatus}
+ * @memberof FileData
+ */
+ status: FileStatus;
+ /**
+ *
+ * @type {string}
+ * @memberof FileData
+ */
+ category: FileDataCategoryEnum;
+ /**
+ *
+ * @type {string}
+ * @memberof FileData
+ */
+ uploadId: string;
+}
+
+/**
+ * @export
+ * @enum {string}
+ */
+export enum FileDataCategoryEnum {
+ Multipart = 'multipart',
+ Queued = 'queued',
+ Simple = 'simple'
+}
+
+/**
+ *
+ * @export
+ * @enum {string}
+ */
+
+export enum FileStatus {
+ Waiting = 'waiting',
+ Complete = 'complete',
+ None = 'none'
+}
+
+/**
+ *
+ * @export
+ * @interface FileVersion
+ */
+export interface FileVersion {
+ /**
+ * Incremental version counter, can only be increased.
+ * @type {number}
+ * @memberof FileVersion
+ */
+ version: number;
+ /**
+ *
+ * @type {FileStatus}
+ * @memberof FileVersion
+ */
+ status: FileStatus;
+ /**
+ *
+ * @type {string}
+ * @memberof FileVersion
+ */
+ created_at: string;
+ /**
+ *
+ * @type {FileData}
+ * @memberof FileVersion
+ */
+ file?: FileData;
+ /**
+ *
+ * @type {FileData}
+ * @memberof FileVersion
+ */
+ delta?: FileData;
+ /**
+ *
+ * @type {FileData}
+ * @memberof FileVersion
+ */
+ signature?: FileData;
+ /**
+ * Usually only present if `true`
+ * @type {boolean}
+ * @memberof FileVersion
+ */
+ deleted?: boolean;
+}
+/**
+ *
+ * @export
+ * @interface InlineObject
+ */
+export interface InlineObject {
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject
+ */
+ code: string;
+}
+/**
+ *
+ * @export
+ * @interface InlineObject1
+ */
+export interface InlineObject1 {
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject1
+ */
+ code: string;
+}
+/**
+ *
+ * @export
+ * @interface InlineObject2
+ */
+export interface InlineObject2 {
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject2
+ */
+ email?: string;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject2
+ */
+ birthday?: string;
+ /**
+ *
+ * @type {number}
+ * @memberof InlineObject2
+ */
+ acceptedTOSVersion?: number;
+ /**
+ *
+ * @type {Array}
+ * @memberof InlineObject2
+ */
+ tags?: Array;
+ /**
+ *
+ * @type {UserStatus}
+ * @memberof InlineObject2
+ */
+ status?: UserStatus;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject2
+ */
+ statusDescription?: string;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject2
+ */
+ bio?: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof InlineObject2
+ */
+ bioLinks?: Array;
+ /**
+ * MUST be a valid VRChat /file/ url.
+ * @type {string}
+ * @memberof InlineObject2
+ */
+ userIcon?: string;
+}
+/**
+ *
+ * @export
+ * @interface InlineObject3
+ */
+export interface InlineObject3 {
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject3
+ */
+ name: string;
+ /**
+ *
+ * @type {MIMEType}
+ * @memberof InlineObject3
+ */
+ mimeType: MIMEType;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineObject3
+ */
+ extension: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof InlineObject3
+ */
+ tags?: Array;
+}
+/**
+ *
+ * @export
+ * @interface InlineObject4
+ */
+export interface InlineObject4 {
+ /**
+ * Array of ETags uploaded.
+ * @type {Set}
+ * @memberof InlineObject4
+ */
+ etags?: Set;
+ /**
+ * Always a zero in string form, despite how many parts uploaded.
+ * @type {string}
+ * @memberof InlineObject4
+ * @deprecated
+ */
+ nextPartNumber: InlineObject4NextPartNumberEnum;
+ /**
+ * Always a zero in string form, despite how many parts uploaded.
+ * @type {string}
+ * @memberof InlineObject4
+ * @deprecated
+ */
+ maxParts: InlineObject4MaxPartsEnum;
+}
+
+/**
+ * @export
+ * @enum {string}
+ */
+export enum InlineObject4NextPartNumberEnum {
+ _0 = '0'
+}
+/**
+ * @export
+ * @enum {string}
+ */
+export enum InlineObject4MaxPartsEnum {
+ _0 = '0'
+}
+
+/**
+ *
+ * @export
+ * @interface InlineResponse200
+ */
+export interface InlineResponse200 {
+ /**
+ *
+ * @type {boolean}
+ * @memberof InlineResponse200
+ */
+ ok: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineResponse200
+ */
+ token: string;
+}
+/**
+ *
+ * @export
+ * @interface InlineResponse2001
+ */
+export interface InlineResponse2001 {
+ /**
+ *
+ * @type {boolean}
+ * @memberof InlineResponse2001
+ */
+ verified: boolean;
+}
+/**
+ *
+ * @export
+ * @interface InlineResponse2002
+ */
+export interface InlineResponse2002 {
+ /**
+ *
+ * @type {boolean}
+ * @memberof InlineResponse2002
+ */
+ ok: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineResponse2002
+ */
+ serverName: string;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineResponse2002
+ */
+ buildVersionTag: string;
+}
+/**
+ *
+ * @export
+ * @interface InlineResponse2003
+ */
+export interface InlineResponse2003 {
+ /**
+ *
+ * @type {boolean}
+ * @memberof InlineResponse2003
+ */
+ isFriend: boolean;
+ /**
+ *
+ * @type {boolean}
+ * @memberof InlineResponse2003
+ */
+ outgoingRequest: boolean;
+ /**
+ *
+ * @type {boolean}
+ * @memberof InlineResponse2003
+ */
+ incomingRequest: boolean;
+}
+/**
+ *
+ * @export
+ * @interface InlineResponse2004
+ */
+export interface InlineResponse2004 {
+ /**
+ *
+ * @type {string}
+ * @memberof InlineResponse2004
+ */
+ uploadId: string;
+ /**
+ *
+ * @type {string}
+ * @memberof InlineResponse2004
+ */
+ fileName: string;
+ /**
+ *
+ * @type {number}
+ * @memberof InlineResponse2004
+ */
+ nextPartNumber: number;
+ /**
+ *
+ * @type {number}
+ * @memberof InlineResponse2004
+ */
+ maxParts: number;
+ /**
+ *
+ * @type {Array}
+ * @memberof InlineResponse2004
+ */
+ parts: Array;
+ /**
+ * Unknown
+ * @type {Array}
+ * @memberof InlineResponse2004
+ */
+ etags: Array;
+}
+/**
+ *
+ * @export
+ * @interface InlineResponse2005
+ */
+export interface InlineResponse2005 {
+ /**
+ *
+ * @type {string}
+ * @memberof InlineResponse2005
+ */
+ url: string;
+}
+/**
+ *
+ * @export
+ * @interface InlineResponse401
+ */
+export interface InlineResponse401 {
+ /**
+ *
+ * @type {Error}
+ * @memberof InlineResponse401
+ */
+ error: Error;
+}
+/**
+ *
+ * @export
+ * @interface LimitedUser
+ */
+export interface LimitedUser {
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ id: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ username: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ displayName: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ bio?: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ userIcon: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ profilePicOverride: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ statusDescription: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ currentAvatarImageUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ currentAvatarThumbnailImageUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ fallbackAvatar: string;
+ /**
+ *
+ * @type {DeveloperType}
+ * @memberof LimitedUser
+ */
+ developerType: DeveloperType;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ last_platform: string;
+ /**
+ *
+ * @type {UserStatus}
+ * @memberof LimitedUser
+ */
+ status: UserStatus;
+ /**
+ *
+ * @type {boolean}
+ * @memberof LimitedUser
+ */
+ isFriend: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof LimitedUser
+ */
+ location: string;
+ /**
+ * Always empty
+ * @type {Array}
+ * @memberof LimitedUser
+ */
+ tags: Array;
+}
+/**
+ *
+ * @export
+ * @enum {string}
+ */
+
+export enum MIMEType {
+ Imagejpeg = 'image⁄jpeg',
+ Imagejpg = 'image⁄jpg',
+ Imagepng = 'image⁄png',
+ Imagewebp = 'image⁄webp',
+ Imagegif = 'image⁄gif',
+ Imagebmp = 'image⁄bmp',
+ Imagesvgxml = 'image⁄svg+xml',
+ Imagetiff = 'image⁄tiff',
+ ApplicationxAvatar = 'application⁄x-avatar',
+ ApplicationxWorld = 'application⁄x-world',
+ Applicationgzip = 'application⁄gzip',
+ ApplicationXRsyncSignature = 'application/x-rsync-signature',
+ ApplicationXRsyncDelta = 'application/x-rsync-delta',
+ ApplicationOctetStream = 'application/octet-stream'
+}
+
+/**
+ *
+ * @export
+ * @interface ModelError
+ */
+export interface ModelError {
+ /**
+ *
+ * @type {Response}
+ * @memberof ModelError
+ */
+ error?: Response;
+}
+/**
+ *
+ * @export
+ * @interface ModelFile
+ */
+export interface ModelFile {
+ /**
+ *
+ * @type {string}
+ * @memberof ModelFile
+ */
+ id: string;
+ /**
+ *
+ * @type {string}
+ * @memberof ModelFile
+ */
+ name: string;
+ /**
+ *
+ * @type {string}
+ * @memberof ModelFile
+ */
+ ownerId: string;
+ /**
+ *
+ * @type {MIMEType}
+ * @memberof ModelFile
+ */
+ mimeType: MIMEType;
+ /**
+ *
+ * @type {string}
+ * @memberof ModelFile
+ */
+ extension: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof ModelFile
+ */
+ tags: Array;
+ /**
+ *
+ * @type {Set}
+ * @memberof ModelFile
+ */
+ versions: Set;
+}
+/**
+ *
+ * @export
+ * @interface Notification
+ */
+export interface Notification {
+ /**
+ *
+ * @type {string}
+ * @memberof Notification
+ */
+ id: string;
+ /**
+ *
+ * @type {string}
+ * @memberof Notification
+ */
+ senderUserId: string;
+ /**
+ *
+ * @type {string}
+ * @memberof Notification
+ */
+ senderUsername: string;
+ /**
+ *
+ * @type {NotificationType}
+ * @memberof Notification
+ */
+ type: NotificationType;
+ /**
+ *
+ * @type {string}
+ * @memberof Notification
+ */
+ message: string;
+ /**
+ * **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
+ * @type {string}
+ * @memberof Notification
+ */
+ details: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof Notification
+ */
+ seen: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof Notification
+ */
+ created_at: string;
+}
+/**
+ *
+ * @export
+ * @enum {string}
+ */
+
+export enum NotificationType {
+ All = 'all',
+ Broadcast = 'broadcast',
+ FriendRequest = 'friendRequest',
+ Invite = 'invite',
+ Message = 'message',
+ RequestInvite = 'RequestInvite',
+ Votetokick = 'votetokick'
+}
+
+/**
+ *
+ * @export
+ * @interface Response
+ */
+export interface Response {
+ /**
+ *
+ * @type {string}
+ * @memberof Response
+ */
+ message: string;
+ /**
+ *
+ * @type {number}
+ * @memberof Response
+ */
+ status_code: number;
+}
+/**
+ *
+ * @export
+ * @interface Success
+ */
+export interface Success {
+ /**
+ *
+ * @type {Response}
+ * @memberof Success
+ */
+ success?: Response;
+}
+/**
+ *
+ * @export
+ * @interface User
+ */
+export interface User {
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ id: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ username: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ displayName: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ userIcon: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ bio: string;
+ /**
+ *
+ * @type {Array}
+ * @memberof User
+ */
+ bioLinks: Array;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ profilePicOverride: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ statusDescription: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ currentAvatarImageUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ currentAvatarThumbnailImageUrl: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ fallbackAvatar: string;
+ /**
+ *
+ * @type {UserState}
+ * @memberof User
+ */
+ state: UserState;
+ /**
+ *
+ * @type {Array}
+ * @memberof User
+ */
+ tags: Array;
+ /**
+ *
+ * @type {DeveloperType}
+ * @memberof User
+ */
+ developerType: DeveloperType;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ last_login: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ last_platform: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof User
+ */
+ allowAvatarCopying: boolean;
+ /**
+ *
+ * @type {UserStatus}
+ * @memberof User
+ */
+ status: UserStatus;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ date_joined: string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof User
+ */
+ isFriend: boolean;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ friendKey: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ worldId: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ instanceId: string;
+ /**
+ *
+ * @type {string}
+ * @memberof User
+ */
+ location: string;
+}
+/**
+ * * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline
+ * @export
+ * @enum {string}
+ */
+
+export enum UserState {
+ Offline = 'offline',
+ Active = 'active',
+ Online = 'online'
+}
+
+/**
+ * Defines the User\'s current status, for example \"ask me\", \"join me\" or \"offline. This status is a combined indicator of their online activity and privacy preference.
+ * @export
+ * @enum {string}
+ */
+
+export enum UserStatus {
+ Active = 'active',
+ JoinMe = 'join me',
+ AskMe = 'ask me',
+ Busy = 'busy',
+ Offline = 'offline'
+}
+
+
+/**
+ * AuthenticationApi - axios parameter creator
+ * @export
+ */
+export const AuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {
+ return {
+ /**
+ * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
+ * @summary Delete User
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteUserById: async (userId: string, options: any = {}): Promise => {
+ // verify required parameter 'userId' is not null or undefined
+ assertParamExists('deleteUserById', 'userId', userId)
+ const localVarPath = `/user/{userId}/delete`
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
+ * @summary Login and/or Get Current User Info
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getCurrentUser: async (options: any = {}): Promise => {
+ const localVarPath = `/auth/user`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication authCookie required
+
+ // authentication authHeader required
+ // http basic authentication required
+ setBasicAuthToObject(localVarRequestOptions, configuration)
+
+ // authentication twoFactorAuthCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Invalidates the auth cookie.
+ * @summary Logout
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ logout: async (options: any = {}): Promise => {
+ const localVarPath = `/logout`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code
+ * @param {InlineObject} [inlineObject]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ verify2FA: async (inlineObject?: InlineObject, options: any = {}): Promise => {
+ const localVarPath = `/auth/twofactorauth/totp/verify`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication authCookie required
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+ localVarRequestOptions.data = serializeDataIfNeeded(inlineObject, localVarRequestOptions, configuration)
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Verify whether the currently provided Auth Token is valid.
+ * @summary Verify Auth Token
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ verifyAuthToken: async (options: any = {}): Promise => {
+ const localVarPath = `/auth`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code with Recovery code
+ * @param {InlineObject1} [inlineObject1]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ verifyRecoveryCode: async (inlineObject1?: InlineObject1, options: any = {}): Promise => {
+ const localVarPath = `/auth/twofactorauth/otp/verify`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication authCookie required
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+ localVarRequestOptions.data = serializeDataIfNeeded(inlineObject1, localVarRequestOptions, configuration)
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ }
+};
+
+/**
+ * AuthenticationApi - functional programming interface
+ * @export
+ */
+export const AuthenticationApiFp = function(configuration?: Configuration) {
+ const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration)
+ return {
+ /**
+ * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
+ * @summary Delete User
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async deleteUserById(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserById(userId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
+ * @summary Login and/or Get Current User Info
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getCurrentUser(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUser(options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Invalidates the auth cookie.
+ * @summary Logout
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async logout(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.logout(options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code
+ * @param {InlineObject} [inlineObject]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async verify2FA(inlineObject?: InlineObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.verify2FA(inlineObject, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Verify whether the currently provided Auth Token is valid.
+ * @summary Verify Auth Token
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async verifyAuthToken(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.verifyAuthToken(options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code with Recovery code
+ * @param {InlineObject1} [inlineObject1]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async verifyRecoveryCode(inlineObject1?: InlineObject1, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.verifyRecoveryCode(inlineObject1, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ }
+};
+
+/**
+ * AuthenticationApi - factory interface
+ * @export
+ */
+export const AuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
+ const localVarFp = AuthenticationApiFp(configuration)
+ return {
+ /**
+ * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
+ * @summary Delete User
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteUserById(userId: string, options?: any): AxiosPromise {
+ return localVarFp.deleteUserById(userId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
+ * @summary Login and/or Get Current User Info
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getCurrentUser(options?: any): AxiosPromise {
+ return localVarFp.getCurrentUser(options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Invalidates the auth cookie.
+ * @summary Logout
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ logout(options?: any): AxiosPromise {
+ return localVarFp.logout(options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code
+ * @param {InlineObject} [inlineObject]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ verify2FA(inlineObject?: InlineObject, options?: any): AxiosPromise {
+ return localVarFp.verify2FA(inlineObject, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Verify whether the currently provided Auth Token is valid.
+ * @summary Verify Auth Token
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ verifyAuthToken(options?: any): AxiosPromise {
+ return localVarFp.verifyAuthToken(options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code with Recovery code
+ * @param {InlineObject1} [inlineObject1]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ verifyRecoveryCode(inlineObject1?: InlineObject1, options?: any): AxiosPromise {
+ return localVarFp.verifyRecoveryCode(inlineObject1, options).then((request) => request(axios, basePath));
+ },
+ };
+};
+
+/**
+ * AuthenticationApi - object-oriented interface
+ * @export
+ * @class AuthenticationApi
+ * @extends {BaseAPI}
+ */
+export class AuthenticationApi extends BaseAPI {
+ /**
+ * Deletes the account with given ID. Normal users only have permission to delete their own account. Account deletion is 14 days from this request, and will be cancelled if you do an authenticated request with the account afterwards. **VRC+ NOTE:** Despite the 14-days cooldown, any VRC+ subscription will be cancelled **immediately**. **METHOD NOTE:** Despite this being a Delete action, the method type required is PUT.
+ * @summary Delete User
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof AuthenticationApi
+ */
+ public deleteUserById(userId: string, options?: any) {
+ return AuthenticationApiFp(this.configuration).deleteUserById(userId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Login and/or Get user data from your VRChat account. If `Authorization` header is present then a new login session will be generated, and a new `auth` cookie is returned. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie whenever you can, and avoid sending the Authorization header unless strictly neccesary. While the exact number of simultaneous open sessions is secret, expect to **very fast** run into the rate-limit and be temporarily blocked from making new sessions until the old ones expire.
+ * @summary Login and/or Get Current User Info
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof AuthenticationApi
+ */
+ public getCurrentUser(options?: any) {
+ return AuthenticationApiFp(this.configuration).getCurrentUser(options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Invalidates the auth cookie.
+ * @summary Logout
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof AuthenticationApi
+ */
+ public logout(options?: any) {
+ return AuthenticationApiFp(this.configuration).logout(options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code
+ * @param {InlineObject} [inlineObject]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof AuthenticationApi
+ */
+ public verify2FA(inlineObject?: InlineObject, options?: any) {
+ return AuthenticationApiFp(this.configuration).verify2FA(inlineObject, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Verify whether the currently provided Auth Token is valid.
+ * @summary Verify Auth Token
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof AuthenticationApi
+ */
+ public verifyAuthToken(options?: any) {
+ return AuthenticationApiFp(this.configuration).verifyAuthToken(options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Finishes the login sequence with an OTP (One Time Password) recovery code for accounts with 2FA-protection enabled.
+ * @summary Verify 2FA code with Recovery code
+ * @param {InlineObject1} [inlineObject1]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof AuthenticationApi
+ */
+ public verifyRecoveryCode(inlineObject1?: InlineObject1, options?: any) {
+ return AuthenticationApiFp(this.configuration).verifyRecoveryCode(inlineObject1, options).then((request) => request(this.axios, this.basePath));
+ }
+}
+
+
+/**
+ * FilesApi - axios parameter creator
+ * @export
+ */
+export const FilesApiAxiosParamCreator = function (configuration?: Configuration) {
+ return {
+ /**
+ * Creates a new File object
+ * @summary Create File
+ * @param {InlineObject3} [inlineObject3]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ createFile: async (inlineObject3?: InlineObject3, options: any = {}): Promise => {
+ const localVarPath = `/file`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+ localVarRequestOptions.data = serializeDataIfNeeded(inlineObject3, localVarRequestOptions, configuration)
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
+ * @summary Create File Version
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ createFileVersion: async (fileId: string, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('createFileVersion', 'fileId', fileId)
+ const localVarPath = `/file/{fileId}`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Deletes a File object.
+ * @summary Delete File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteFile: async (fileId: string, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('deleteFile', 'fileId', fileId)
+ const localVarPath = `/file/{fileId}`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Delete a specific version of a file. You can only delete the latest version.
+ * @summary Delete File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteFileVersion: async (fileId: string, versionId: number, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('deleteFileVersion', 'fileId', fileId)
+ // verify required parameter 'versionId' is not null or undefined
+ assertParamExists('deleteFileVersion', 'versionId', versionId)
+ const localVarPath = `/file/{fileId}/{versionId}`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
+ * @summary Download File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ downloadFileVersion: async (fileId: string, versionId: number, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('downloadFileVersion', 'fileId', fileId)
+ // verify required parameter 'versionId' is not null or undefined
+ assertParamExists('downloadFileVersion', 'versionId', versionId)
+ const localVarPath = `/file/{fileId}/{versionId}`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
+ * @summary Finish FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {InlineObject4} [inlineObject4]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ finishFileDataUpload: async (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', inlineObject4?: InlineObject4, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('finishFileDataUpload', 'fileId', fileId)
+ // verify required parameter 'versionId' is not null or undefined
+ assertParamExists('finishFileDataUpload', 'versionId', versionId)
+ // verify required parameter 'fileType' is not null or undefined
+ assertParamExists('finishFileDataUpload', 'fileType', fileType)
+ const localVarPath = `/file/{fileId}/{versionId}/{fileType}/finish`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)))
+ .replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+ localVarRequestOptions.data = serializeDataIfNeeded(inlineObject4, localVarRequestOptions, configuration)
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Shows general information about the \"File\" object. Each File can have several \"Version\"\'s, and each Version can have multiple real files or \"Data\" blobs.
+ * @summary Show File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFile: async (fileId: string, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('getFile', 'fileId', fileId)
+ const localVarPath = `/file/{fileId}`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
+ * @summary Check FileData Upload Status
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFileDataUploadStatus: async (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('getFileDataUploadStatus', 'fileId', fileId)
+ // verify required parameter 'versionId' is not null or undefined
+ assertParamExists('getFileDataUploadStatus', 'versionId', versionId)
+ // verify required parameter 'fileType' is not null or undefined
+ assertParamExists('getFileDataUploadStatus', 'fileType', fileType)
+ const localVarPath = `/file/{fileId}/{versionId}/{fileType}/status`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)))
+ .replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Returns a list of files
+ * @summary List Files
+ * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
+ * @param {string} [userId] UserID, will always generate a 500 permission error.
+ * @param {number} [n] The number of objects to return.
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFiles: async (tag?: string, userId?: string, n?: number, offset?: number, options: any = {}): Promise => {
+ const localVarPath = `/files`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+ if (tag !== undefined) {
+ localVarQueryParameter['tag'] = tag;
+ }
+
+ if (userId !== undefined) {
+ localVarQueryParameter['userId'] = userId;
+ }
+
+ if (n !== undefined) {
+ localVarQueryParameter['n'] = n;
+ }
+
+ if (offset !== undefined) {
+ localVarQueryParameter['offset'] = offset;
+ }
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS\'s REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
+ * @summary Start FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {number} partNumber
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ startFileDataUpload: async (fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber: number, options: any = {}): Promise => {
+ // verify required parameter 'fileId' is not null or undefined
+ assertParamExists('startFileDataUpload', 'fileId', fileId)
+ // verify required parameter 'versionId' is not null or undefined
+ assertParamExists('startFileDataUpload', 'versionId', versionId)
+ // verify required parameter 'fileType' is not null or undefined
+ assertParamExists('startFileDataUpload', 'fileType', fileType)
+ // verify required parameter 'partNumber' is not null or undefined
+ assertParamExists('startFileDataUpload', 'partNumber', partNumber)
+ const localVarPath = `/file/{fileId}/{versionId}/{fileType}/start`
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)))
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)))
+ .replace(`{${"fileType"}}`, encodeURIComponent(String(fileType)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+ if (partNumber !== undefined) {
+ localVarQueryParameter['partNumber'] = partNumber;
+ }
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ }
+};
+
+/**
+ * FilesApi - functional programming interface
+ * @export
+ */
+export const FilesApiFp = function(configuration?: Configuration) {
+ const localVarAxiosParamCreator = FilesApiAxiosParamCreator(configuration)
+ return {
+ /**
+ * Creates a new File object
+ * @summary Create File
+ * @param {InlineObject3} [inlineObject3]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async createFile(inlineObject3?: InlineObject3, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFile(inlineObject3, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
+ * @summary Create File Version
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async createFileVersion(fileId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFileVersion(fileId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Deletes a File object.
+ * @summary Delete File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async deleteFile(fileId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(fileId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Delete a specific version of a file. You can only delete the latest version.
+ * @summary Delete File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async deleteFileVersion(fileId: string, versionId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFileVersion(fileId, versionId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
+ * @summary Download File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async downloadFileVersion(fileId: string, versionId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFileVersion(fileId, versionId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
+ * @summary Finish FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {InlineObject4} [inlineObject4]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async finishFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', inlineObject4?: InlineObject4, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.finishFileDataUpload(fileId, versionId, fileType, inlineObject4, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Shows general information about the \"File\" object. Each File can have several \"Version\"\'s, and each Version can have multiple real files or \"Data\" blobs.
+ * @summary Show File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getFile(fileId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFile(fileId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
+ * @summary Check FileData Upload Status
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getFileDataUploadStatus(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFileDataUploadStatus(fileId, versionId, fileType, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Returns a list of files
+ * @summary List Files
+ * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
+ * @param {string} [userId] UserID, will always generate a 500 permission error.
+ * @param {number} [n] The number of objects to return.
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getFiles(tag?: string, userId?: string, n?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFiles(tag, userId, n, offset, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS\'s REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
+ * @summary Start FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {number} partNumber
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.startFileDataUpload(fileId, versionId, fileType, partNumber, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ }
+};
+
+/**
+ * FilesApi - factory interface
+ * @export
+ */
+export const FilesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
+ const localVarFp = FilesApiFp(configuration)
+ return {
+ /**
+ * Creates a new File object
+ * @summary Create File
+ * @param {InlineObject3} [inlineObject3]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ createFile(inlineObject3?: InlineObject3, options?: any): AxiosPromise {
+ return localVarFp.createFile(inlineObject3, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
+ * @summary Create File Version
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ createFileVersion(fileId: string, options?: any): AxiosPromise {
+ return localVarFp.createFileVersion(fileId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Deletes a File object.
+ * @summary Delete File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteFile(fileId: string, options?: any): AxiosPromise {
+ return localVarFp.deleteFile(fileId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Delete a specific version of a file. You can only delete the latest version.
+ * @summary Delete File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteFileVersion(fileId: string, versionId: number, options?: any): AxiosPromise {
+ return localVarFp.deleteFileVersion(fileId, versionId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
+ * @summary Download File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ downloadFileVersion(fileId: string, versionId: number, options?: any): AxiosPromise {
+ return localVarFp.downloadFileVersion(fileId, versionId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
+ * @summary Finish FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {InlineObject4} [inlineObject4]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ finishFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', inlineObject4?: InlineObject4, options?: any): AxiosPromise {
+ return localVarFp.finishFileDataUpload(fileId, versionId, fileType, inlineObject4, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Shows general information about the \"File\" object. Each File can have several \"Version\"\'s, and each Version can have multiple real files or \"Data\" blobs.
+ * @summary Show File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFile(fileId: string, options?: any): AxiosPromise {
+ return localVarFp.getFile(fileId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
+ * @summary Check FileData Upload Status
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFileDataUploadStatus(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', options?: any): AxiosPromise {
+ return localVarFp.getFileDataUploadStatus(fileId, versionId, fileType, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Returns a list of files
+ * @summary List Files
+ * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
+ * @param {string} [userId] UserID, will always generate a 500 permission error.
+ * @param {number} [n] The number of objects to return.
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFiles(tag?: string, userId?: string, n?: number, offset?: number, options?: any): AxiosPromise> {
+ return localVarFp.getFiles(tag, userId, n, offset, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS\'s REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
+ * @summary Start FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {number} partNumber
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber: number, options?: any): AxiosPromise {
+ return localVarFp.startFileDataUpload(fileId, versionId, fileType, partNumber, options).then((request) => request(axios, basePath));
+ },
+ };
+};
+
+/**
+ * FilesApi - object-oriented interface
+ * @export
+ * @class FilesApi
+ * @extends {BaseAPI}
+ */
+export class FilesApi extends BaseAPI {
+ /**
+ * Creates a new File object
+ * @summary Create File
+ * @param {InlineObject3} [inlineObject3]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public createFile(inlineObject3?: InlineObject3, options?: any) {
+ return FilesApiFp(this.configuration).createFile(inlineObject3, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Creates a new FileVersion. Once a Version has been created, proceed to the `/file/{fileId}/{versionId}/file/start` endpoint to start a file upload.
+ * @summary Create File Version
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public createFileVersion(fileId: string, options?: any) {
+ return FilesApiFp(this.configuration).createFileVersion(fileId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Deletes a File object.
+ * @summary Delete File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public deleteFile(fileId: string, options?: any) {
+ return FilesApiFp(this.configuration).deleteFile(fileId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Delete a specific version of a file. You can only delete the latest version.
+ * @summary Delete File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public deleteFileVersion(fileId: string, versionId: number, options?: any) {
+ return FilesApiFp(this.configuration).deleteFileVersion(fileId, versionId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Downloads the file with the provided version number. **Version Note:** Version 0 is always when the file was created. The real data is usually always located in version 1 and up. **Extension Note:** Files are not guaranteed to have a file extensions. UnityPackage files tends to have it, images through this endpoint do not. You are responsible for appending file extension from the `extension` field when neccesary.
+ * @summary Download File Version
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public downloadFileVersion(fileId: string, versionId: number, options?: any) {
+ return FilesApiFp(this.configuration).downloadFileVersion(fileId, versionId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Finish an upload of a FileData. This will mark it as \"complete\". After uploading the `file` for Avatars and Worlds you then have to upload a `signature` file.
+ * @summary Finish FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {InlineObject4} [inlineObject4]
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public finishFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', inlineObject4?: InlineObject4, options?: any) {
+ return FilesApiFp(this.configuration).finishFileDataUpload(fileId, versionId, fileType, inlineObject4, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Shows general information about the \"File\" object. Each File can have several \"Version\"\'s, and each Version can have multiple real files or \"Data\" blobs.
+ * @summary Show File
+ * @param {string} fileId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public getFile(fileId: string, options?: any) {
+ return FilesApiFp(this.configuration).getFile(fileId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
+ * @summary Check FileData Upload Status
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public getFileDataUploadStatus(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', options?: any) {
+ return FilesApiFp(this.configuration).getFileDataUploadStatus(fileId, versionId, fileType, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Returns a list of files
+ * @summary List Files
+ * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
+ * @param {string} [userId] UserID, will always generate a 500 permission error.
+ * @param {number} [n] The number of objects to return.
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public getFiles(tag?: string, userId?: string, n?: number, offset?: number, options?: any) {
+ return FilesApiFp(this.configuration).getFiles(tag, userId, n, offset, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS\'s REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
+ * @summary Start FileData Upload
+ * @param {string} fileId
+ * @param {number} versionId
+ * @param {'file' | 'signature' | 'delta'} fileType
+ * @param {number} partNumber
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FilesApi
+ */
+ public startFileDataUpload(fileId: string, versionId: number, fileType: 'file' | 'signature' | 'delta', partNumber: number, options?: any) {
+ return FilesApiFp(this.configuration).startFileDataUpload(fileId, versionId, fileType, partNumber, options).then((request) => request(this.axios, this.basePath));
+ }
+}
+
+
+/**
+ * FriendsApi - axios parameter creator
+ * @export
+ */
+export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
+ return {
+ /**
+ * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
+ * @summary Delete Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteFriendRequest: async (userId: string, options: any = {}): Promise => {
+ // verify required parameter 'userId' is not null or undefined
+ assertParamExists('deleteFriendRequest', 'userId', userId)
+ const localVarPath = `/user/{userId}/friendRequest`
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Send a friend request to another user.
+ * @summary Send Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ friend: async (userId: string, options: any = {}): Promise => {
+ // verify required parameter 'userId' is not null or undefined
+ assertParamExists('friend', 'userId', userId)
+ const localVarPath = `/user/{userId}/friendRequest`
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
+ * @summary Check Friend Status
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFriendStatus: async (userId: string, options: any = {}): Promise => {
+ // verify required parameter 'userId' is not null or undefined
+ assertParamExists('getFriendStatus', 'userId', userId)
+ const localVarPath = `/user/{userId}/friendStatus`
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * List information about friends.
+ * @summary List Friends
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {number} [n] The number of objects to return.
+ * @param {boolean} [offline] Returns *only* offline users if true, returns only online and active users if false
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFriends: async (offset?: number, n?: number, offline?: boolean, options: any = {}): Promise => {
+ const localVarPath = `/auth/user/friends`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+ if (offset !== undefined) {
+ localVarQueryParameter['offset'] = offset;
+ }
+
+ if (n !== undefined) {
+ localVarQueryParameter['n'] = n;
+ }
+
+ if (offline !== undefined) {
+ localVarQueryParameter['offline'] = offline;
+ }
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Unfriend a user by ID.
+ * @summary Unfriend
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ unfriend: async (userId: string, options: any = {}): Promise => {
+ // verify required parameter 'userId' is not null or undefined
+ assertParamExists('unfriend', 'userId', userId)
+ const localVarPath = `/auth/user/friends/{userId}`
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ }
+};
+
+/**
+ * FriendsApi - functional programming interface
+ * @export
+ */
+export const FriendsApiFp = function(configuration?: Configuration) {
+ const localVarAxiosParamCreator = FriendsApiAxiosParamCreator(configuration)
+ return {
+ /**
+ * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
+ * @summary Delete Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async deleteFriendRequest(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFriendRequest(userId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Send a friend request to another user.
+ * @summary Send Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async friend(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friend(userId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
+ * @summary Check Friend Status
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getFriendStatus(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFriendStatus(userId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * List information about friends.
+ * @summary List Friends
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {number} [n] The number of objects to return.
+ * @param {boolean} [offline] Returns *only* offline users if true, returns only online and active users if false
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getFriends(offset?: number, n?: number, offline?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFriends(offset, n, offline, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ /**
+ * Unfriend a user by ID.
+ * @summary Unfriend
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async unfriend(userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unfriend(userId, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
+ }
+};
+
+/**
+ * FriendsApi - factory interface
+ * @export
+ */
+export const FriendsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
+ const localVarFp = FriendsApiFp(configuration)
+ return {
+ /**
+ * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
+ * @summary Delete Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteFriendRequest(userId: string, options?: any): AxiosPromise {
+ return localVarFp.deleteFriendRequest(userId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Send a friend request to another user.
+ * @summary Send Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ friend(userId: string, options?: any): AxiosPromise {
+ return localVarFp.friend(userId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
+ * @summary Check Friend Status
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFriendStatus(userId: string, options?: any): AxiosPromise {
+ return localVarFp.getFriendStatus(userId, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * List information about friends.
+ * @summary List Friends
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {number} [n] The number of objects to return.
+ * @param {boolean} [offline] Returns *only* offline users if true, returns only online and active users if false
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getFriends(offset?: number, n?: number, offline?: boolean, options?: any): AxiosPromise> {
+ return localVarFp.getFriends(offset, n, offline, options).then((request) => request(axios, basePath));
+ },
+ /**
+ * Unfriend a user by ID.
+ * @summary Unfriend
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ unfriend(userId: string, options?: any): AxiosPromise {
+ return localVarFp.unfriend(userId, options).then((request) => request(axios, basePath));
+ },
+ };
+};
+
+/**
+ * FriendsApi - object-oriented interface
+ * @export
+ * @class FriendsApi
+ * @extends {BaseAPI}
+ */
+export class FriendsApi extends BaseAPI {
+ /**
+ * Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the `deleteNotification` endpoint instead.
+ * @summary Delete Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FriendsApi
+ */
+ public deleteFriendRequest(userId: string, options?: any) {
+ return FriendsApiFp(this.configuration).deleteFriendRequest(userId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Send a friend request to another user.
+ * @summary Send Friend Request
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FriendsApi
+ */
+ public friend(userId: string, options?: any) {
+ return FriendsApiFp(this.configuration).friend(userId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Retrieve if the user is currently a friend with a given user, if they have an outgoing friend request, and if they have an incoming friend request. The proper way to receive and accept friend request is by checking if the user has an incoming `Notification` of type `friendRequest`, and then accepting that notification.
+ * @summary Check Friend Status
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FriendsApi
+ */
+ public getFriendStatus(userId: string, options?: any) {
+ return FriendsApiFp(this.configuration).getFriendStatus(userId, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * List information about friends.
+ * @summary List Friends
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {number} [n] The number of objects to return.
+ * @param {boolean} [offline] Returns *only* offline users if true, returns only online and active users if false
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FriendsApi
+ */
+ public getFriends(offset?: number, n?: number, offline?: boolean, options?: any) {
+ return FriendsApiFp(this.configuration).getFriends(offset, n, offline, options).then((request) => request(this.axios, this.basePath));
+ }
+
+ /**
+ * Unfriend a user by ID.
+ * @summary Unfriend
+ * @param {string} userId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ * @memberof FriendsApi
+ */
+ public unfriend(userId: string, options?: any) {
+ return FriendsApiFp(this.configuration).unfriend(userId, options).then((request) => request(this.axios, this.basePath));
+ }
+}
+
+
+/**
+ * NotificationsApi - axios parameter creator
+ * @export
+ */
+export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
+ return {
+ /**
+ * Accept a friend request by notification `frq_` ID. Friend requests can be found using the NotificationsAPI `getNotifications` by filtering of type `friendRequest`.
+ * @summary Accept Friend Request
+ * @param {string} notificationId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ acceptFriendRequest: async (notificationId: string, options: any = {}): Promise => {
+ // verify required parameter 'notificationId' is not null or undefined
+ assertParamExists('acceptFriendRequest', 'notificationId', notificationId)
+ const localVarPath = `/auth/user/notifications/{notificationId}/accept`
+ .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Clear **all** notifications.
+ * @summary Clear All Notifications
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ clearNotifications: async (options: any = {}): Promise => {
+ const localVarPath = `/auth/user/notifications/clear`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Delete a notification.
+ * @summary Delete Notification
+ * @param {string} notificationId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ deleteNotification: async (notificationId: string, options: any = {}): Promise => {
+ // verify required parameter 'notificationId' is not null or undefined
+ assertParamExists('deleteNotification', 'notificationId', notificationId)
+ const localVarPath = `/auth/user/notifications/{notificationId}/hide`
+ .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Retrieve all of the current user\'s notifications.
+ * @summary List Notifications
+ * @param {string} [type] Only send notifications of this type (can use `all` for all).
+ * @param {boolean} [sent] Return notifications sent by the user. Must be false or omitted.
+ * @param {boolean} [hidden] Whether to return hidden or non-hidden notifications. True only allowed on type `friendRequest`.
+ * @param {string} [after] Only return notifications sent after this Date. Ignored if type is `friendRequest`.
+ * @param {number} [n] The number of objects to return.
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getNotifications: async (type?: string, sent?: boolean, hidden?: boolean, after?: string, n?: number, offset?: number, options: any = {}): Promise => {
+ const localVarPath = `/auth/user/notifications`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication apiKeyCookie required
+
+ // authentication authCookie required
+
+ if (type !== undefined) {
+ localVarQueryParameter['type'] = type;
+ }
+
+ if (sent !== undefined) {
+ localVarQueryParameter['sent'] = sent;
+ }
+
+ if (hidden !== undefined) {
+ localVarQueryParameter['hidden'] = hidden;
+ }
+
+ if (after !== undefined) {
+ localVarQueryParameter['after'] = after;
+ }
+
+ if (n !== undefined) {
+ localVarQueryParameter['n'] = n;
+ }
+
+ if (offset !== undefined) {
+ localVarQueryParameter['offset'] = offset;
+ }
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ * Mark a notification as seen.
+ * @summary Mark As Read
+ * @param {string} notificationId
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ markNotificationAsRead: async (notificationId: string, options: any = {}): Promise