@gobodo/gobodo-api 0.1.97 → 0.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +602 -684
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +7 -3
- package/dist/api/ActionTypesApi.d.ts +2 -1
- package/dist/api/ActionTypesApi.js +6 -3
- package/dist/api/AdCampaignsApi.d.ts +30 -47
- package/dist/api/AdCampaignsApi.js +107 -145
- package/dist/api/AdManagementApi.d.ts +53 -41
- package/dist/api/AdManagementApi.js +186 -156
- package/dist/api/AdminDataManagementApi.d.ts +4 -3
- package/dist/api/AdminDataManagementApi.js +17 -15
- package/dist/api/AdsApi.d.ts +24 -43
- package/dist/api/AdsApi.js +80 -124
- package/dist/api/AttachmentsApi.d.ts +14 -58
- package/dist/api/AttachmentsApi.js +64 -166
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +12 -12
- package/dist/api/CategoriesApi.d.ts +17 -10
- package/dist/api/CategoriesApi.js +88 -65
- package/dist/api/CommentsApi.d.ts +11 -53
- package/dist/api/CommentsApi.js +64 -159
- package/dist/api/ContentManagementApi.d.ts +44 -16
- package/dist/api/ContentManagementApi.js +306 -222
- package/dist/api/ConversationsApi.d.ts +13 -29
- package/dist/api/ConversationsApi.js +87 -119
- package/dist/api/CurrencyApi.d.ts +8 -1
- package/dist/api/CurrencyApi.js +71 -50
- package/dist/api/DataSheetImportsApi.d.ts +23 -11
- package/dist/api/DataSheetImportsApi.js +167 -127
- package/dist/api/DefaultApi.d.ts +18 -13
- package/dist/api/DefaultApi.js +73 -58
- package/dist/api/DocumentPartTypesApi.d.ts +3 -1
- package/dist/api/DocumentPartTypesApi.js +23 -16
- package/dist/api/DocumentTypesApi.d.ts +3 -1
- package/dist/api/DocumentTypesApi.js +23 -16
- package/dist/api/DocumentsApi.d.ts +20 -32
- package/dist/api/DocumentsApi.js +131 -153
- package/dist/api/EmailsApi.d.ts +5 -1
- package/dist/api/EmailsApi.js +43 -30
- package/dist/api/EntryPartsApi.d.ts +21 -33
- package/dist/api/EntryPartsApi.js +132 -152
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +3 -3
- package/dist/api/FieldsApi.d.ts +4 -1
- package/dist/api/FieldsApi.js +33 -23
- package/dist/api/FilesApi.d.ts +5 -5
- package/dist/api/FilesApi.js +13 -12
- package/dist/api/FormsApi.d.ts +52 -34
- package/dist/api/FormsApi.js +233 -182
- package/dist/api/FunctionsApi.d.ts +21 -27
- package/dist/api/FunctionsApi.js +196 -203
- package/dist/api/GeocodeApi.d.ts +30 -70
- package/dist/api/GeocodeApi.js +72 -176
- package/dist/api/GobodoManagementApi.d.ts +6 -1
- package/dist/api/GobodoManagementApi.js +53 -37
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +3 -3
- package/dist/api/GraphActionTypesApi.d.ts +79 -61
- package/dist/api/GraphActionTypesApi.js +225 -184
- package/dist/api/GraphActionsApi.d.ts +28 -149
- package/dist/api/GraphActionsApi.js +85 -374
- package/dist/api/GraphObjectTypesApi.d.ts +38 -148
- package/dist/api/GraphObjectTypesApi.js +140 -392
- package/dist/api/GraphObjectsApi.d.ts +194 -1103
- package/dist/api/GraphObjectsApi.js +597 -2774
- package/dist/api/GraphRelationshipTypesApi.d.ts +67 -303
- package/dist/api/GraphRelationshipTypesApi.js +200 -748
- package/dist/api/GraphRelationshipsApi.d.ts +83 -494
- package/dist/api/GraphRelationshipsApi.js +351 -1306
- package/dist/api/GraphSchemasApi.d.ts +9 -229
- package/dist/api/GraphSchemasApi.js +86 -610
- package/dist/api/GraphTraversalApi.d.ts +12 -5
- package/dist/api/GraphTraversalApi.js +80 -58
- package/dist/api/GraphsApi.d.ts +102 -87
- package/dist/api/GraphsApi.js +274 -233
- package/dist/api/IAMApi.d.ts +21 -17
- package/dist/api/IAMApi.js +69 -57
- package/dist/api/ImagesApi.d.ts +15 -86
- package/dist/api/ImagesApi.js +71 -238
- package/dist/api/InvitesApi.d.ts +6 -1
- package/dist/api/InvitesApi.js +53 -37
- package/dist/api/LikesApi.d.ts +42 -29
- package/dist/api/LikesApi.js +179 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +5 -3
- package/dist/api/LiveMeetingsApi.js +27 -22
- package/dist/api/MeetingEventsApi.d.ts +20 -131
- package/dist/api/MeetingEventsApi.js +175 -431
- package/dist/api/NotificationsApi.d.ts +15 -1
- package/dist/api/NotificationsApi.js +137 -97
- package/dist/api/PagesApi.d.ts +15 -31
- package/dist/api/PagesApi.js +94 -126
- package/dist/api/PasswordResetApi.d.ts +78 -0
- package/dist/api/PasswordResetApi.js +189 -0
- package/dist/api/PhoneNumbersApi.d.ts +6 -1
- package/dist/api/PhoneNumbersApi.js +53 -37
- package/dist/api/PostsApi.d.ts +9 -29
- package/dist/api/PostsApi.js +47 -91
- package/dist/api/PrivateMessagesApi.d.ts +24 -33
- package/dist/api/PrivateMessagesApi.js +160 -171
- package/dist/api/PublicationsApi.d.ts +10 -25
- package/dist/api/PublicationsApi.js +83 -116
- package/dist/api/RestApplicationsApi.d.ts +6 -1
- package/dist/api/RestApplicationsApi.js +51 -36
- package/dist/api/ScreensApi.d.ts +4 -1
- package/dist/api/ScreensApi.js +33 -23
- package/dist/api/SitesApi.d.ts +11 -1
- package/dist/api/SitesApi.js +99 -70
- package/dist/api/SocialGroupsApi.d.ts +25 -6
- package/dist/api/SocialGroupsApi.js +193 -139
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +42 -3
- package/dist/api/StripeAccountsApi.js +397 -281
- package/dist/api/TagsApi.d.ts +2 -1
- package/dist/api/TagsApi.js +6 -3
- package/dist/api/TemplatesApi.d.ts +4 -1
- package/dist/api/TemplatesApi.js +33 -23
- package/dist/api/ThemeMappingsApi.d.ts +8 -5
- package/dist/api/ThemeMappingsApi.js +39 -29
- package/dist/api/TopicsApi.d.ts +9 -1
- package/dist/api/TopicsApi.js +83 -58
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +5 -5
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +3 -3
- package/dist/api/UserManagerAdministrationApi.d.ts +96 -0
- package/dist/api/UserManagerAdministrationApi.js +234 -0
- package/dist/api/UserTagsApi.d.ts +33 -75
- package/dist/api/UserTagsApi.js +111 -209
- package/dist/api/UsersApi.d.ts +12 -1
- package/dist/api/UsersApi.js +111 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +17 -57
- package/dist/api/VideosApi.js +102 -192
- package/dist/api/WalletsApi.d.ts +18 -1
- package/dist/api/WalletsApi.js +167 -118
- package/dist/index.d.ts +33 -16
- package/dist/index.js +204 -85
- package/dist/model/APIClient.d.ts +2 -2
- package/dist/model/APIClient.js +10 -10
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/Address.d.ts +33 -0
- package/dist/model/Address.js +137 -0
- package/dist/model/AddressResponse.d.ts +46 -0
- package/dist/model/AddressResponse.js +168 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.d.ts +10 -10
- package/dist/model/Article.js +68 -68
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.d.ts +2 -2
- package/dist/model/Balance.js +19 -19
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +46 -0
- package/dist/model/CacheInvalidation.js +137 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +4 -4
- package/dist/model/Comment.js +22 -22
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.d.ts +1 -1
- package/dist/model/Currency.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.d.ts +1 -1
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +8 -8
- package/dist/model/DataSheetImport.js +76 -76
- package/dist/model/DataSheetImportPrivacySettings.d.ts +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +10 -10
- package/dist/model/DataSheetImportSummary.d.ts +2 -2
- package/dist/model/DataSheetImportSummary.js +14 -14
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +11 -11
- package/dist/model/Document.js +72 -72
- package/dist/model/DocumentPart.d.ts +6 -6
- package/dist/model/DocumentPart.js +54 -54
- package/dist/model/DocumentPartType.d.ts +4 -4
- package/dist/model/DocumentPartType.js +30 -30
- package/dist/model/DocumentType.d.ts +6 -6
- package/dist/model/DocumentType.js +46 -46
- package/dist/model/DomainMappingInput.d.ts +40 -0
- package/dist/model/DomainMappingInput.js +122 -0
- package/dist/model/DomainMappingResponse.d.ts +40 -0
- package/dist/model/DomainMappingResponse.js +122 -0
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.d.ts +1 -1
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.d.ts +5 -5
- package/dist/model/Fields.js +25 -25
- package/dist/model/File.d.ts +5 -5
- package/dist/model/File.js +28 -28
- package/dist/model/FileAttachmentUploadObject.d.ts +5 -5
- package/dist/model/FileAttachmentUploadObject.js +28 -28
- package/dist/model/Filter.d.ts +1 -1
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.d.ts +1 -1
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.d.ts +3 -3
- package/dist/model/Form.js +21 -21
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +3 -3
- package/dist/model/FormSubmission.js +17 -17
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.d.ts +1 -1
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +6 -6
- package/dist/model/GeocodeResponse.d.ts +42 -0
- package/dist/model/GeocodeResponse.js +140 -0
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.d.ts +5 -5
- package/dist/model/Graph.js +33 -33
- package/dist/model/GraphAction.d.ts +2 -2
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +3 -1
- package/dist/model/GraphActionResponse.js +26 -2
- package/dist/model/GraphActionTypeInput.d.ts +55 -0
- package/dist/model/GraphActionTypeInput.js +316 -0
- package/dist/model/GraphActionTypeResponse.d.ts +69 -0
- package/dist/model/GraphActionTypeResponse.js +407 -0
- package/dist/model/GraphDatabaseService.d.ts +2 -2
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +43 -0
- package/dist/model/GraphInput.js +152 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +9 -9
- package/dist/model/GraphObject.d.ts +3 -3
- package/dist/model/GraphObject.js +19 -19
- package/dist/model/GraphObjectPayload.d.ts +3 -3
- package/dist/model/GraphObjectPayload.js +17 -19
- package/dist/model/GraphObjectResponse.d.ts +11 -3
- package/dist/model/GraphObjectResponse.js +74 -6
- package/dist/model/GraphObjectSchema.d.ts +4 -4
- package/dist/model/GraphObjectSchema.js +31 -31
- package/dist/model/GraphObjectType.d.ts +3 -3
- package/dist/model/GraphObjectType.js +18 -18
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +9 -7
- package/dist/model/GraphObjectTypeResponse.js +59 -28
- package/dist/model/GraphObjectTypeSchema.d.ts +3 -3
- package/dist/model/GraphObjectTypeSchema.js +18 -18
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +2 -2
- package/dist/model/GraphRelationship.js +11 -11
- package/dist/model/GraphRelationshipPayload.d.ts +3 -3
- package/dist/model/GraphRelationshipPayload.js +22 -24
- package/dist/model/GraphRelationshipResponse.d.ts +55 -0
- package/dist/model/GraphRelationshipResponse.js +229 -0
- package/dist/model/GraphRelationshipType.d.ts +6 -6
- package/dist/model/GraphRelationshipType.js +43 -43
- package/dist/model/GraphRelationshipTypeInput.d.ts +59 -0
- package/dist/model/GraphRelationshipTypeInput.js +367 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -1
- package/dist/model/GraphRelationshipTypeResponse.js +38 -2
- package/dist/model/GraphResponse.d.ts +54 -0
- package/dist/model/GraphResponse.js +196 -0
- package/dist/model/GraphSchema.d.ts +7 -7
- package/dist/model/GraphSchema.js +42 -42
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +7 -1
- package/dist/model/GraphTraversalInput.js +74 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +5 -3
- package/dist/model/InputPart.js +42 -23
- package/dist/model/InputPartHeaders.d.ts +29 -0
- package/dist/model/InputPartHeaders.js +87 -0
- package/dist/model/InputPartMediaType.d.ts +1 -1
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/JsonArray.d.ts +34 -0
- package/dist/model/JsonArray.js +95 -0
- package/dist/model/JsonObject.d.ts +41 -0
- package/dist/model/JsonObject.js +143 -0
- package/dist/model/JsonValue.d.ts +40 -0
- package/dist/model/JsonValue.js +132 -0
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +3 -3
- package/dist/model/Link.js +21 -21
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +33 -0
- package/dist/model/MediaType.js +127 -0
- package/dist/model/MeetingEvent.d.ts +7 -7
- package/dist/model/MeetingEvent.js +50 -50
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTimezone.d.ts +1 -1
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +2 -2
- package/dist/model/MeetingInfo.js +15 -15
- package/dist/model/Member.d.ts +4 -4
- package/dist/model/Member.js +24 -24
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +39 -0
- package/dist/model/MemberManagerConfigInput.js +124 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +41 -0
- package/dist/model/MemberManagerConfigResponse.js +134 -0
- package/dist/model/MemberManagerInput.d.ts +41 -0
- package/dist/model/MemberManagerInput.js +134 -0
- package/dist/model/MemberManagerResponse.d.ts +41 -0
- package/dist/model/MemberManagerResponse.js +134 -0
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +29 -0
- package/dist/model/MultivaluedMapStringString.js +87 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +3 -3
- package/dist/model/Objecttype.js +18 -18
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +3 -3
- package/dist/model/Page.js +16 -16
- package/dist/model/PageSchema.d.ts +4 -4
- package/dist/model/PageSchema.js +25 -25
- package/dist/model/Pageable.d.ts +3 -3
- package/dist/model/Pageable.js +16 -16
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +38 -0
- package/dist/model/PasswordResetInitiateRequest.js +112 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +46 -0
- package/dist/model/PasswordResetInitiateResponse.js +156 -0
- package/dist/model/PasswordResetRequest.d.ts +42 -0
- package/dist/model/PasswordResetRequest.js +136 -0
- package/dist/model/PasswordResetResponse.d.ts +46 -0
- package/dist/model/PasswordResetResponse.js +162 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +46 -0
- package/dist/model/PasswordResetValidationResponse.js +162 -0
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +9 -9
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.d.ts +2 -2
- package/dist/model/PaymentMethod.js +10 -10
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.d.ts +2 -2
- package/dist/model/Payout.js +15 -15
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.d.ts +3 -3
- package/dist/model/PhoneNumber.js +20 -20
- package/dist/model/Post.d.ts +3 -3
- package/dist/model/Post.js +17 -17
- package/dist/model/PrivateMessage.d.ts +4 -4
- package/dist/model/PrivateMessage.js +28 -28
- package/dist/model/PrivateMessageConversation.d.ts +6 -6
- package/dist/model/PrivateMessageConversation.js +52 -52
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +2 -2
- package/dist/model/Profile.js +14 -14
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.d.ts +1 -1
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +41 -0
- package/dist/model/PurgeDataDefaultResponse.js +143 -0
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +2 -2
- package/dist/model/RelationshipMapping.js +18 -18
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +5 -5
- package/dist/model/ScreenSchema.js +37 -37
- package/dist/model/SimulcastInfo.d.ts +1 -1
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SiteInput.d.ts +1 -1
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.d.ts +1 -1
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.d.ts +1 -1
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.d.ts +1 -1
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.d.ts +5 -5
- package/dist/model/SkinField.js +25 -25
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +2 -2
- package/dist/model/SocialGroup.js +14 -14
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sort.d.ts +2 -2
- package/dist/model/Sort.js +9 -9
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +2 -2
- package/dist/model/StatusUpdate.js +10 -10
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +2 -2
- package/dist/model/StripeAccount.js +10 -10
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +2 -2
- package/dist/model/Template.js +10 -10
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +2 -2
- package/dist/model/TemplateSchema.js +10 -10
- package/dist/model/ThemeMapping.d.ts +2 -2
- package/dist/model/ThemeMapping.js +14 -14
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +2 -2
- package/dist/model/Transfer.js +12 -12
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +12 -12
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +10 -10
- package/dist/model/User.d.ts +4 -4
- package/dist/model/User.js +24 -24
- package/dist/model/UserDataPayload.d.ts +4 -4
- package/dist/model/UserDataPayload.js +24 -24
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +4 -4
- package/dist/model/UserInvite.js +26 -26
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +4 -4
- package/dist/model/UserSchema.js +24 -24
- package/dist/model/UserTag.d.ts +3 -3
- package/dist/model/UserTag.js +21 -21
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +38 -0
- package/dist/model/UsernameReminderRequest.js +112 -0
- package/dist/model/UsernameReminderResponse.d.ts +46 -0
- package/dist/model/UsernameReminderResponse.js +156 -0
- package/dist/model/Video.d.ts +10 -10
- package/dist/model/Video.js +63 -63
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +10 -10
- package/dist/model/VideoSchema.js +63 -63
- package/dist/model/VideoUploadObject.d.ts +10 -10
- package/dist/model/VideoUploadObject.js +63 -63
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +1 -1
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +3 -3
package/dist/model/Pageable.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.100
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The Pageable model module.
|
|
29
29
|
* @module model/Pageable
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.100
|
|
31
31
|
*/
|
|
32
32
|
var Pageable = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -66,18 +66,18 @@ var Pageable = /*#__PURE__*/function () {
|
|
|
66
66
|
if (data.hasOwnProperty('sort')) {
|
|
67
67
|
obj['sort'] = _Sort["default"].constructFromObject(data['sort']);
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty('pageNumber')) {
|
|
70
|
-
obj['pageNumber'] = _ApiClient["default"].convertToType(data['pageNumber'], 'Number');
|
|
71
|
-
}
|
|
72
|
-
if (data.hasOwnProperty('pageSize')) {
|
|
73
|
-
obj['pageSize'] = _ApiClient["default"].convertToType(data['pageSize'], 'Number');
|
|
74
|
-
}
|
|
75
69
|
if (data.hasOwnProperty('paged')) {
|
|
76
70
|
obj['paged'] = _ApiClient["default"].convertToType(data['paged'], 'Boolean');
|
|
77
71
|
}
|
|
78
72
|
if (data.hasOwnProperty('unpaged')) {
|
|
79
73
|
obj['unpaged'] = _ApiClient["default"].convertToType(data['unpaged'], 'Boolean');
|
|
80
74
|
}
|
|
75
|
+
if (data.hasOwnProperty('pageNumber')) {
|
|
76
|
+
obj['pageNumber'] = _ApiClient["default"].convertToType(data['pageNumber'], 'Number');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('pageSize')) {
|
|
79
|
+
obj['pageSize'] = _ApiClient["default"].convertToType(data['pageSize'], 'Number');
|
|
80
|
+
}
|
|
81
81
|
}
|
|
82
82
|
return obj;
|
|
83
83
|
}
|
|
@@ -110,22 +110,22 @@ Pageable.prototype['offset'] = undefined;
|
|
|
110
110
|
Pageable.prototype['sort'] = undefined;
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* @member {
|
|
113
|
+
* @member {Boolean} paged
|
|
114
114
|
*/
|
|
115
|
-
Pageable.prototype['
|
|
115
|
+
Pageable.prototype['paged'] = undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* @member {
|
|
118
|
+
* @member {Boolean} unpaged
|
|
119
119
|
*/
|
|
120
|
-
Pageable.prototype['
|
|
120
|
+
Pageable.prototype['unpaged'] = undefined;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* @member {
|
|
123
|
+
* @member {Number} pageNumber
|
|
124
124
|
*/
|
|
125
|
-
Pageable.prototype['
|
|
125
|
+
Pageable.prototype['pageNumber'] = undefined;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* @member {
|
|
128
|
+
* @member {Number} pageSize
|
|
129
129
|
*/
|
|
130
|
-
Pageable.prototype['
|
|
130
|
+
Pageable.prototype['pageSize'] = undefined;
|
|
131
131
|
var _default = exports["default"] = Pageable;
|
package/dist/model/Parameter.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
* gobodo-api
|
|
19
19
|
* REST Interface for Gobodo API
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 0.1.
|
|
21
|
+
* The version of the OpenAPI document: 0.1.100
|
|
22
22
|
* Contact: info@gobodo.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The Parameter model module.
|
|
31
31
|
* @module model/Parameter
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.100
|
|
33
33
|
*/
|
|
34
34
|
var Parameter = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default PasswordResetInitiateRequest;
|
|
2
|
+
/**
|
|
3
|
+
* The PasswordResetInitiateRequest model module.
|
|
4
|
+
* @module model/PasswordResetInitiateRequest
|
|
5
|
+
* @version 0.1.100
|
|
6
|
+
*/
|
|
7
|
+
declare class PasswordResetInitiateRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Initializes the fields of this object.
|
|
10
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
11
|
+
* Only for internal use.
|
|
12
|
+
*/
|
|
13
|
+
static initialize(obj: any, email: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a <code>PasswordResetInitiateRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
16
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
17
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
18
|
+
* @param {module:model/PasswordResetInitiateRequest} obj Optional instance to populate.
|
|
19
|
+
* @return {module:model/PasswordResetInitiateRequest} The populated <code>PasswordResetInitiateRequest</code> instance.
|
|
20
|
+
*/
|
|
21
|
+
static constructFromObject(data: any, obj: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* Validates the JSON data with respect to <code>PasswordResetInitiateRequest</code>.
|
|
24
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
25
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PasswordResetInitiateRequest</code>.
|
|
26
|
+
*/
|
|
27
|
+
static validateJSON(data: any): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new <code>PasswordResetInitiateRequest</code>.
|
|
30
|
+
* @alias module:model/PasswordResetInitiateRequest
|
|
31
|
+
* @param email {String}
|
|
32
|
+
*/
|
|
33
|
+
constructor(email: string);
|
|
34
|
+
email: any;
|
|
35
|
+
}
|
|
36
|
+
declare namespace PasswordResetInitiateRequest {
|
|
37
|
+
let RequiredProperties: string[];
|
|
38
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
|
+
* gobodo-api
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.100
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The PasswordResetInitiateRequest model module.
|
|
31
|
+
* @module model/PasswordResetInitiateRequest
|
|
32
|
+
* @version 0.1.100
|
|
33
|
+
*/
|
|
34
|
+
var PasswordResetInitiateRequest = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>PasswordResetInitiateRequest</code>.
|
|
37
|
+
* @alias module:model/PasswordResetInitiateRequest
|
|
38
|
+
* @param email {String}
|
|
39
|
+
*/
|
|
40
|
+
function PasswordResetInitiateRequest(email) {
|
|
41
|
+
_classCallCheck(this, PasswordResetInitiateRequest);
|
|
42
|
+
PasswordResetInitiateRequest.initialize(this, email);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
return _createClass(PasswordResetInitiateRequest, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj, email) {
|
|
53
|
+
obj['email'] = email;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Constructs a <code>PasswordResetInitiateRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
58
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
59
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
60
|
+
* @param {module:model/PasswordResetInitiateRequest} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/PasswordResetInitiateRequest} The populated <code>PasswordResetInitiateRequest</code> instance.
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "constructFromObject",
|
|
65
|
+
value: function constructFromObject(data, obj) {
|
|
66
|
+
if (data) {
|
|
67
|
+
obj = obj || new PasswordResetInitiateRequest();
|
|
68
|
+
if (data.hasOwnProperty('email')) {
|
|
69
|
+
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Validates the JSON data with respect to <code>PasswordResetInitiateRequest</code>.
|
|
77
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
78
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PasswordResetInitiateRequest</code>.
|
|
79
|
+
*/
|
|
80
|
+
}, {
|
|
81
|
+
key: "validateJSON",
|
|
82
|
+
value: function validateJSON(data) {
|
|
83
|
+
// check to make sure all required properties are present in the JSON string
|
|
84
|
+
var _iterator = _createForOfIteratorHelper(PasswordResetInitiateRequest.RequiredProperties),
|
|
85
|
+
_step;
|
|
86
|
+
try {
|
|
87
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
88
|
+
var property = _step.value;
|
|
89
|
+
if (!data[property]) {
|
|
90
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
// ensure the json data is a string
|
|
94
|
+
} catch (err) {
|
|
95
|
+
_iterator.e(err);
|
|
96
|
+
} finally {
|
|
97
|
+
_iterator.f();
|
|
98
|
+
}
|
|
99
|
+
if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
|
|
100
|
+
throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
|
|
101
|
+
}
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
}]);
|
|
105
|
+
}();
|
|
106
|
+
PasswordResetInitiateRequest.RequiredProperties = ["email"];
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @member {String} email
|
|
110
|
+
*/
|
|
111
|
+
PasswordResetInitiateRequest.prototype['email'] = undefined;
|
|
112
|
+
var _default = exports["default"] = PasswordResetInitiateRequest;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export default PasswordResetInitiateResponse;
|
|
2
|
+
/**
|
|
3
|
+
* The PasswordResetInitiateResponse model module.
|
|
4
|
+
* @module model/PasswordResetInitiateResponse
|
|
5
|
+
* @version 0.1.100
|
|
6
|
+
*/
|
|
7
|
+
declare class PasswordResetInitiateResponse {
|
|
8
|
+
/**
|
|
9
|
+
* Initializes the fields of this object.
|
|
10
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
11
|
+
* Only for internal use.
|
|
12
|
+
*/
|
|
13
|
+
static initialize(obj: any, success: any, message: any, email: any, emailFound: any, initiatedAt: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a <code>PasswordResetInitiateResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
16
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
17
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
18
|
+
* @param {module:model/PasswordResetInitiateResponse} obj Optional instance to populate.
|
|
19
|
+
* @return {module:model/PasswordResetInitiateResponse} The populated <code>PasswordResetInitiateResponse</code> instance.
|
|
20
|
+
*/
|
|
21
|
+
static constructFromObject(data: any, obj: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* Validates the JSON data with respect to <code>PasswordResetInitiateResponse</code>.
|
|
24
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
25
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PasswordResetInitiateResponse</code>.
|
|
26
|
+
*/
|
|
27
|
+
static validateJSON(data: any): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new <code>PasswordResetInitiateResponse</code>.
|
|
30
|
+
* @alias module:model/PasswordResetInitiateResponse
|
|
31
|
+
* @param success {Boolean}
|
|
32
|
+
* @param message {String}
|
|
33
|
+
* @param email {String}
|
|
34
|
+
* @param emailFound {Boolean}
|
|
35
|
+
* @param initiatedAt {Date}
|
|
36
|
+
*/
|
|
37
|
+
constructor(success: boolean, message: string, email: string, emailFound: boolean, initiatedAt: Date);
|
|
38
|
+
success: any;
|
|
39
|
+
message: any;
|
|
40
|
+
email: any;
|
|
41
|
+
emailFound: any;
|
|
42
|
+
initiatedAt: any;
|
|
43
|
+
}
|
|
44
|
+
declare namespace PasswordResetInitiateResponse {
|
|
45
|
+
let RequiredProperties: string[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
|
+
* gobodo-api
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.100
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The PasswordResetInitiateResponse model module.
|
|
31
|
+
* @module model/PasswordResetInitiateResponse
|
|
32
|
+
* @version 0.1.100
|
|
33
|
+
*/
|
|
34
|
+
var PasswordResetInitiateResponse = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>PasswordResetInitiateResponse</code>.
|
|
37
|
+
* @alias module:model/PasswordResetInitiateResponse
|
|
38
|
+
* @param success {Boolean}
|
|
39
|
+
* @param message {String}
|
|
40
|
+
* @param email {String}
|
|
41
|
+
* @param emailFound {Boolean}
|
|
42
|
+
* @param initiatedAt {Date}
|
|
43
|
+
*/
|
|
44
|
+
function PasswordResetInitiateResponse(success, message, email, emailFound, initiatedAt) {
|
|
45
|
+
_classCallCheck(this, PasswordResetInitiateResponse);
|
|
46
|
+
PasswordResetInitiateResponse.initialize(this, success, message, email, emailFound, initiatedAt);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Initializes the fields of this object.
|
|
51
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
52
|
+
* Only for internal use.
|
|
53
|
+
*/
|
|
54
|
+
return _createClass(PasswordResetInitiateResponse, null, [{
|
|
55
|
+
key: "initialize",
|
|
56
|
+
value: function initialize(obj, success, message, email, emailFound, initiatedAt) {
|
|
57
|
+
obj['success'] = success;
|
|
58
|
+
obj['message'] = message;
|
|
59
|
+
obj['email'] = email;
|
|
60
|
+
obj['emailFound'] = emailFound;
|
|
61
|
+
obj['initiatedAt'] = initiatedAt;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Constructs a <code>PasswordResetInitiateResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
66
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
67
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
68
|
+
* @param {module:model/PasswordResetInitiateResponse} obj Optional instance to populate.
|
|
69
|
+
* @return {module:model/PasswordResetInitiateResponse} The populated <code>PasswordResetInitiateResponse</code> instance.
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "constructFromObject",
|
|
73
|
+
value: function constructFromObject(data, obj) {
|
|
74
|
+
if (data) {
|
|
75
|
+
obj = obj || new PasswordResetInitiateResponse();
|
|
76
|
+
if (data.hasOwnProperty('success')) {
|
|
77
|
+
obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty('message')) {
|
|
80
|
+
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
81
|
+
}
|
|
82
|
+
if (data.hasOwnProperty('email')) {
|
|
83
|
+
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('emailFound')) {
|
|
86
|
+
obj['emailFound'] = _ApiClient["default"].convertToType(data['emailFound'], 'Boolean');
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('initiatedAt')) {
|
|
89
|
+
obj['initiatedAt'] = _ApiClient["default"].convertToType(data['initiatedAt'], 'Date');
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return obj;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Validates the JSON data with respect to <code>PasswordResetInitiateResponse</code>.
|
|
97
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
98
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PasswordResetInitiateResponse</code>.
|
|
99
|
+
*/
|
|
100
|
+
}, {
|
|
101
|
+
key: "validateJSON",
|
|
102
|
+
value: function validateJSON(data) {
|
|
103
|
+
// check to make sure all required properties are present in the JSON string
|
|
104
|
+
var _iterator = _createForOfIteratorHelper(PasswordResetInitiateResponse.RequiredProperties),
|
|
105
|
+
_step;
|
|
106
|
+
try {
|
|
107
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
108
|
+
var property = _step.value;
|
|
109
|
+
if (!data[property]) {
|
|
110
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
// ensure the json data is a string
|
|
114
|
+
} catch (err) {
|
|
115
|
+
_iterator.e(err);
|
|
116
|
+
} finally {
|
|
117
|
+
_iterator.f();
|
|
118
|
+
}
|
|
119
|
+
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
120
|
+
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
121
|
+
}
|
|
122
|
+
// ensure the json data is a string
|
|
123
|
+
if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
|
|
124
|
+
throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
|
|
125
|
+
}
|
|
126
|
+
return true;
|
|
127
|
+
}
|
|
128
|
+
}]);
|
|
129
|
+
}();
|
|
130
|
+
PasswordResetInitiateResponse.RequiredProperties = ["success", "message", "email", "emailFound", "initiatedAt"];
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @member {Boolean} success
|
|
134
|
+
*/
|
|
135
|
+
PasswordResetInitiateResponse.prototype['success'] = undefined;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @member {String} message
|
|
139
|
+
*/
|
|
140
|
+
PasswordResetInitiateResponse.prototype['message'] = undefined;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @member {String} email
|
|
144
|
+
*/
|
|
145
|
+
PasswordResetInitiateResponse.prototype['email'] = undefined;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @member {Boolean} emailFound
|
|
149
|
+
*/
|
|
150
|
+
PasswordResetInitiateResponse.prototype['emailFound'] = undefined;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @member {Date} initiatedAt
|
|
154
|
+
*/
|
|
155
|
+
PasswordResetInitiateResponse.prototype['initiatedAt'] = undefined;
|
|
156
|
+
var _default = exports["default"] = PasswordResetInitiateResponse;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export default PasswordResetRequest;
|
|
2
|
+
/**
|
|
3
|
+
* The PasswordResetRequest model module.
|
|
4
|
+
* @module model/PasswordResetRequest
|
|
5
|
+
* @version 0.1.100
|
|
6
|
+
*/
|
|
7
|
+
declare class PasswordResetRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Initializes the fields of this object.
|
|
10
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
11
|
+
* Only for internal use.
|
|
12
|
+
*/
|
|
13
|
+
static initialize(obj: any, userId: any, token: any, newPassword: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a <code>PasswordResetRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
16
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
17
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
18
|
+
* @param {module:model/PasswordResetRequest} obj Optional instance to populate.
|
|
19
|
+
* @return {module:model/PasswordResetRequest} The populated <code>PasswordResetRequest</code> instance.
|
|
20
|
+
*/
|
|
21
|
+
static constructFromObject(data: any, obj: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* Validates the JSON data with respect to <code>PasswordResetRequest</code>.
|
|
24
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
25
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PasswordResetRequest</code>.
|
|
26
|
+
*/
|
|
27
|
+
static validateJSON(data: any): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new <code>PasswordResetRequest</code>.
|
|
30
|
+
* @alias module:model/PasswordResetRequest
|
|
31
|
+
* @param userId {Number}
|
|
32
|
+
* @param token {String}
|
|
33
|
+
* @param newPassword {String}
|
|
34
|
+
*/
|
|
35
|
+
constructor(userId: number, token: string, newPassword: string);
|
|
36
|
+
userId: any;
|
|
37
|
+
token: any;
|
|
38
|
+
newPassword: any;
|
|
39
|
+
}
|
|
40
|
+
declare namespace PasswordResetRequest {
|
|
41
|
+
let RequiredProperties: string[];
|
|
42
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
|
+
* gobodo-api
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.100
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The PasswordResetRequest model module.
|
|
31
|
+
* @module model/PasswordResetRequest
|
|
32
|
+
* @version 0.1.100
|
|
33
|
+
*/
|
|
34
|
+
var PasswordResetRequest = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>PasswordResetRequest</code>.
|
|
37
|
+
* @alias module:model/PasswordResetRequest
|
|
38
|
+
* @param userId {Number}
|
|
39
|
+
* @param token {String}
|
|
40
|
+
* @param newPassword {String}
|
|
41
|
+
*/
|
|
42
|
+
function PasswordResetRequest(userId, token, newPassword) {
|
|
43
|
+
_classCallCheck(this, PasswordResetRequest);
|
|
44
|
+
PasswordResetRequest.initialize(this, userId, token, newPassword);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
return _createClass(PasswordResetRequest, null, [{
|
|
53
|
+
key: "initialize",
|
|
54
|
+
value: function initialize(obj, userId, token, newPassword) {
|
|
55
|
+
obj['userId'] = userId;
|
|
56
|
+
obj['token'] = token;
|
|
57
|
+
obj['newPassword'] = newPassword;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a <code>PasswordResetRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
+
* @param {module:model/PasswordResetRequest} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/PasswordResetRequest} The populated <code>PasswordResetRequest</code> instance.
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "constructFromObject",
|
|
69
|
+
value: function constructFromObject(data, obj) {
|
|
70
|
+
if (data) {
|
|
71
|
+
obj = obj || new PasswordResetRequest();
|
|
72
|
+
if (data.hasOwnProperty('userId')) {
|
|
73
|
+
obj['userId'] = _ApiClient["default"].convertToType(data['userId'], 'Number');
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('token')) {
|
|
76
|
+
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('newPassword')) {
|
|
79
|
+
obj['newPassword'] = _ApiClient["default"].convertToType(data['newPassword'], 'String');
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Validates the JSON data with respect to <code>PasswordResetRequest</code>.
|
|
87
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
88
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PasswordResetRequest</code>.
|
|
89
|
+
*/
|
|
90
|
+
}, {
|
|
91
|
+
key: "validateJSON",
|
|
92
|
+
value: function validateJSON(data) {
|
|
93
|
+
// check to make sure all required properties are present in the JSON string
|
|
94
|
+
var _iterator = _createForOfIteratorHelper(PasswordResetRequest.RequiredProperties),
|
|
95
|
+
_step;
|
|
96
|
+
try {
|
|
97
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
98
|
+
var property = _step.value;
|
|
99
|
+
if (!data[property]) {
|
|
100
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
// ensure the json data is a string
|
|
104
|
+
} catch (err) {
|
|
105
|
+
_iterator.e(err);
|
|
106
|
+
} finally {
|
|
107
|
+
_iterator.f();
|
|
108
|
+
}
|
|
109
|
+
if (data['token'] && !(typeof data['token'] === 'string' || data['token'] instanceof String)) {
|
|
110
|
+
throw new Error("Expected the field `token` to be a primitive type in the JSON string but got " + data['token']);
|
|
111
|
+
}
|
|
112
|
+
// ensure the json data is a string
|
|
113
|
+
if (data['newPassword'] && !(typeof data['newPassword'] === 'string' || data['newPassword'] instanceof String)) {
|
|
114
|
+
throw new Error("Expected the field `newPassword` to be a primitive type in the JSON string but got " + data['newPassword']);
|
|
115
|
+
}
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
}]);
|
|
119
|
+
}();
|
|
120
|
+
PasswordResetRequest.RequiredProperties = ["userId", "token", "newPassword"];
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @member {Number} userId
|
|
124
|
+
*/
|
|
125
|
+
PasswordResetRequest.prototype['userId'] = undefined;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @member {String} token
|
|
129
|
+
*/
|
|
130
|
+
PasswordResetRequest.prototype['token'] = undefined;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @member {String} newPassword
|
|
134
|
+
*/
|
|
135
|
+
PasswordResetRequest.prototype['newPassword'] = undefined;
|
|
136
|
+
var _default = exports["default"] = PasswordResetRequest;
|