@gobodo/gobodo-api-promise 0.1.97 → 0.1.99
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 +582 -684
- package/dist/.tsbuildinfo +1 -1
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.d.ts.map +1 -1
- package/dist/ApiClient.js +7 -3
- package/dist/api/ActionTypesApi.d.ts +3 -5
- package/dist/api/ActionTypesApi.d.ts.map +1 -1
- package/dist/api/ActionTypesApi.js +7 -3
- package/dist/api/AdCampaignsApi.d.ts +37 -98
- package/dist/api/AdCampaignsApi.d.ts.map +1 -1
- package/dist/api/AdCampaignsApi.js +119 -166
- package/dist/api/AdManagementApi.d.ts +63 -90
- package/dist/api/AdManagementApi.d.ts.map +1 -1
- package/dist/api/AdManagementApi.js +204 -162
- package/dist/api/AdminDataManagementApi.d.ts +5 -7
- package/dist/api/AdminDataManagementApi.d.ts.map +1 -1
- package/dist/api/AdminDataManagementApi.js +18 -15
- package/dist/api/AdsApi.d.ts +27 -83
- package/dist/api/AdsApi.d.ts.map +1 -1
- package/dist/api/AdsApi.js +88 -143
- package/dist/api/AttachmentsApi.d.ts +19 -123
- package/dist/api/AttachmentsApi.d.ts.map +1 -1
- package/dist/api/AttachmentsApi.js +73 -201
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +12 -12
- package/dist/api/CategoriesApi.d.ts +23 -37
- package/dist/api/CategoriesApi.d.ts.map +1 -1
- package/dist/api/CategoriesApi.js +96 -66
- package/dist/api/CommentsApi.d.ts +15 -115
- package/dist/api/CommentsApi.d.ts.map +1 -1
- package/dist/api/CommentsApi.js +73 -192
- package/dist/api/ContentManagementApi.d.ts +69 -127
- package/dist/api/ContentManagementApi.d.ts.map +1 -1
- package/dist/api/ContentManagementApi.js +335 -223
- package/dist/api/ConversationsApi.d.ts +19 -80
- package/dist/api/ConversationsApi.d.ts.map +1 -1
- package/dist/api/ConversationsApi.js +95 -135
- package/dist/api/CurrencyApi.d.ts +15 -32
- package/dist/api/CurrencyApi.d.ts.map +1 -1
- package/dist/api/CurrencyApi.js +78 -50
- package/dist/api/DataSheetImportsApi.d.ts +39 -81
- package/dist/api/DataSheetImportsApi.d.ts.map +1 -1
- package/dist/api/DataSheetImportsApi.js +185 -133
- package/dist/api/DefaultApi.d.ts +19 -31
- package/dist/api/DefaultApi.d.ts.map +1 -1
- package/dist/api/DefaultApi.js +78 -58
- package/dist/api/DocumentPartTypesApi.d.ts +5 -10
- package/dist/api/DocumentPartTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentPartTypesApi.js +25 -16
- package/dist/api/DocumentTypesApi.d.ts +5 -10
- package/dist/api/DocumentTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentTypesApi.js +25 -16
- package/dist/api/DocumentsApi.d.ts +31 -100
- package/dist/api/DocumentsApi.d.ts.map +1 -1
- package/dist/api/DocumentsApi.js +147 -173
- package/dist/api/EmailsApi.d.ts +9 -17
- package/dist/api/EmailsApi.d.ts.map +1 -1
- package/dist/api/EmailsApi.js +47 -30
- package/dist/api/EntryPartsApi.d.ts +31 -100
- package/dist/api/EntryPartsApi.d.ts.map +1 -1
- package/dist/api/EntryPartsApi.js +146 -170
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +3 -3
- package/dist/api/FieldsApi.d.ts +7 -13
- package/dist/api/FieldsApi.d.ts.map +1 -1
- package/dist/api/FieldsApi.js +36 -23
- package/dist/api/FilesApi.d.ts +7 -13
- package/dist/api/FilesApi.d.ts.map +1 -1
- package/dist/api/FilesApi.js +15 -14
- package/dist/api/FormsApi.d.ts +57 -94
- package/dist/api/FormsApi.d.ts.map +1 -1
- package/dist/api/FormsApi.js +252 -183
- package/dist/api/FunctionsApi.d.ts +41 -132
- package/dist/api/FunctionsApi.d.ts.map +1 -1
- package/dist/api/FunctionsApi.js +217 -220
- package/dist/api/GeocodeApi.d.ts +35 -121
- package/dist/api/GeocodeApi.d.ts.map +1 -1
- package/dist/api/GeocodeApi.js +84 -212
- package/dist/api/GobodoManagementApi.d.ts +11 -21
- package/dist/api/GobodoManagementApi.d.ts.map +1 -1
- package/dist/api/GobodoManagementApi.js +58 -37
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +3 -3
- package/dist/api/GraphActionTypesApi.d.ts +79 -128
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +216 -246
- package/dist/api/GraphActionsApi.d.ts +23 -407
- package/dist/api/GraphActionsApi.d.ts.map +1 -1
- package/dist/api/GraphActionsApi.js +59 -674
- package/dist/api/GraphObjectTypesApi.d.ts +53 -292
- package/dist/api/GraphObjectTypesApi.d.ts.map +1 -1
- package/dist/api/GraphObjectTypesApi.js +166 -480
- package/dist/api/GraphObjectsApi.d.ts +251 -2249
- package/dist/api/GraphObjectsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectsApi.js +633 -3787
- package/dist/api/GraphRelationshipTypesApi.d.ts +67 -681
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +207 -1152
- package/dist/api/GraphRelationshipsApi.d.ts +62 -1235
- package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipsApi.js +162 -2019
- package/dist/api/GraphSchemasApi.d.ts +17 -451
- package/dist/api/GraphSchemasApi.d.ts.map +1 -1
- package/dist/api/GraphSchemasApi.js +117 -773
- package/dist/api/GraphTraversalApi.d.ts +19 -33
- package/dist/api/GraphTraversalApi.d.ts.map +1 -1
- package/dist/api/GraphTraversalApi.js +87 -58
- package/dist/api/GraphsApi.d.ts +117 -135
- package/dist/api/GraphsApi.d.ts.map +1 -1
- package/dist/api/GraphsApi.js +314 -258
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +23 -32
- package/dist/api/IAMApi.d.ts.map +1 -1
- package/dist/api/IAMApi.js +75 -59
- package/dist/api/ImagesApi.d.ts +21 -190
- package/dist/api/ImagesApi.d.ts.map +1 -1
- package/dist/api/ImagesApi.js +81 -291
- package/dist/api/InvitesApi.d.ts +11 -21
- package/dist/api/InvitesApi.d.ts.map +1 -1
- package/dist/api/InvitesApi.js +58 -37
- package/dist/api/LikesApi.d.ts +43 -69
- package/dist/api/LikesApi.d.ts.map +1 -1
- package/dist/api/LikesApi.js +192 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +7 -11
- package/dist/api/LiveMeetingsApi.d.ts.map +1 -1
- package/dist/api/LiveMeetingsApi.js +29 -22
- package/dist/api/MeetingEventsApi.d.ts +39 -331
- package/dist/api/MeetingEventsApi.d.ts.map +1 -1
- package/dist/api/MeetingEventsApi.js +196 -515
- package/dist/api/NotificationsApi.d.ts +29 -63
- package/dist/api/NotificationsApi.d.ts.map +1 -1
- package/dist/api/NotificationsApi.js +151 -97
- package/dist/api/PagesApi.d.ts +23 -85
- package/dist/api/PagesApi.d.ts.map +1 -1
- package/dist/api/PagesApi.js +106 -146
- package/dist/api/PasswordResetApi.d.ts +80 -0
- package/dist/api/PasswordResetApi.d.ts.map +1 -0
- package/dist/api/PasswordResetApi.js +212 -0
- package/dist/api/PhoneNumbersApi.d.ts +11 -24
- package/dist/api/PhoneNumbersApi.d.ts.map +1 -1
- package/dist/api/PhoneNumbersApi.js +58 -37
- package/dist/api/PostsApi.d.ts +11 -64
- package/dist/api/PostsApi.d.ts.map +1 -1
- package/dist/api/PostsApi.js +51 -107
- package/dist/api/PrivateMessagesApi.d.ts +35 -110
- package/dist/api/PrivateMessagesApi.d.ts.map +1 -1
- package/dist/api/PrivateMessagesApi.js +177 -189
- package/dist/api/PublicationsApi.d.ts +19 -91
- package/dist/api/PublicationsApi.d.ts.map +1 -1
- package/dist/api/PublicationsApi.js +94 -134
- package/dist/api/RestApplicationsApi.d.ts +11 -25
- package/dist/api/RestApplicationsApi.d.ts.map +1 -1
- package/dist/api/RestApplicationsApi.js +56 -36
- package/dist/api/ScreensApi.d.ts +7 -13
- package/dist/api/ScreensApi.d.ts.map +1 -1
- package/dist/api/ScreensApi.js +36 -23
- package/dist/api/SitesApi.d.ts +21 -48
- package/dist/api/SitesApi.d.ts.map +1 -1
- package/dist/api/SitesApi.js +109 -70
- package/dist/api/SocialGroupsApi.d.ts +43 -90
- package/dist/api/SocialGroupsApi.d.ts.map +1 -1
- package/dist/api/SocialGroupsApi.js +213 -140
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +81 -161
- package/dist/api/StripeAccountsApi.d.ts.map +1 -1
- package/dist/api/StripeAccountsApi.js +436 -281
- package/dist/api/TagsApi.d.ts +3 -5
- package/dist/api/TagsApi.d.ts.map +1 -1
- package/dist/api/TagsApi.js +7 -3
- package/dist/api/TemplatesApi.d.ts +7 -13
- package/dist/api/TemplatesApi.d.ts.map +1 -1
- package/dist/api/TemplatesApi.js +36 -23
- package/dist/api/ThemeMappingsApi.d.ts +9 -16
- package/dist/api/ThemeMappingsApi.d.ts.map +1 -1
- package/dist/api/ThemeMappingsApi.js +42 -29
- package/dist/api/TopicsApi.d.ts +17 -33
- package/dist/api/TopicsApi.d.ts.map +1 -1
- package/dist/api/TopicsApi.js +91 -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 +83 -0
- package/dist/api/UserManagerAdministrationApi.d.ts.map +1 -0
- package/dist/api/UserManagerAdministrationApi.js +257 -0
- package/dist/api/UserTagsApi.d.ts +31 -135
- package/dist/api/UserTagsApi.d.ts.map +1 -1
- package/dist/api/UserTagsApi.js +121 -241
- package/dist/api/UsersApi.d.ts +23 -47
- package/dist/api/UsersApi.d.ts.map +1 -1
- package/dist/api/UsersApi.js +122 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +25 -137
- package/dist/api/VideosApi.d.ts.map +1 -1
- package/dist/api/VideosApi.js +114 -226
- package/dist/api/WalletsApi.d.ts +35 -72
- package/dist/api/WalletsApi.d.ts.map +1 -1
- package/dist/api/WalletsApi.js +184 -118
- package/dist/index.d.ts +33 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +204 -85
- package/dist/model/APIClient.d.ts +10 -10
- package/dist/model/APIClient.d.ts.map +1 -1
- package/dist/model/APIClient.js +27 -27
- 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 +74 -0
- package/dist/model/Address.d.ts.map +1 -0
- package/dist/model/Address.js +224 -0
- package/dist/model/AddressResponse.d.ts +87 -0
- package/dist/model/AddressResponse.d.ts.map +1 -0
- package/dist/model/AddressResponse.js +255 -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 +65 -65
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +179 -179
- 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 +21 -21
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +80 -80
- 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 +63 -0
- package/dist/model/CacheInvalidation.d.ts.map +1 -0
- package/dist/model/CacheInvalidation.js +173 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +24 -24
- package/dist/model/Comment.d.ts.map +1 -1
- package/dist/model/Comment.js +61 -61
- 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 +60 -60
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +186 -186
- package/dist/model/DataSheetImportPrivacySettings.d.ts +10 -10
- package/dist/model/DataSheetImportPrivacySettings.d.ts.map +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +29 -29
- package/dist/model/DataSheetImportSummary.d.ts +10 -10
- package/dist/model/DataSheetImportSummary.d.ts.map +1 -1
- package/dist/model/DataSheetImportSummary.js +33 -33
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +70 -70
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +193 -193
- package/dist/model/DocumentPart.d.ts +45 -45
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +139 -139
- package/dist/model/DocumentPartType.d.ts +24 -24
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +71 -71
- package/dist/model/DocumentType.d.ts +44 -44
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +123 -123
- package/dist/model/DomainMappingInput.d.ts +57 -0
- package/dist/model/DomainMappingInput.d.ts.map +1 -0
- package/dist/model/DomainMappingInput.js +158 -0
- package/dist/model/DomainMappingResponse.d.ts +57 -0
- package/dist/model/DomainMappingResponse.d.ts.map +1 -0
- package/dist/model/DomainMappingResponse.js +158 -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 +14 -14
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +38 -38
- package/dist/model/File.d.ts +26 -26
- package/dist/model/File.d.ts.map +1 -1
- package/dist/model/File.js +61 -61
- package/dist/model/FileAttachmentUploadObject.d.ts +26 -26
- package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
- package/dist/model/FileAttachmentUploadObject.js +61 -61
- 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 +20 -20
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +71 -71
- package/dist/model/FormSection.d.ts +10 -10
- package/dist/model/FormSection.d.ts.map +1 -1
- package/dist/model/FormSection.js +37 -37
- package/dist/model/FormSubmission.d.ts +10 -10
- package/dist/model/FormSubmission.d.ts.map +1 -1
- package/dist/model/FormSubmission.js +33 -33
- 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 +3 -3
- package/dist/model/GeocodePayload.d.ts.map +1 -1
- package/dist/model/GeocodePayload.js +8 -8
- package/dist/model/GeocodeResponse.d.ts +67 -0
- package/dist/model/GeocodeResponse.d.ts.map +1 -0
- package/dist/model/GeocodeResponse.js +193 -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 +37 -37
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +100 -100
- package/dist/model/GraphAction.d.ts +12 -12
- package/dist/model/GraphAction.d.ts.map +1 -1
- package/dist/model/GraphAction.js +29 -29
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +19 -1
- package/dist/model/GraphActionResponse.d.ts.map +1 -1
- package/dist/model/GraphActionResponse.js +60 -2
- package/dist/model/GraphActionTypeInput.d.ts +144 -0
- package/dist/model/GraphActionTypeInput.d.ts.map +1 -0
- package/dist/model/GraphActionTypeInput.js +505 -0
- package/dist/model/GraphActionTypeResponse.d.ts +198 -0
- package/dist/model/GraphActionTypeResponse.d.ts.map +1 -0
- package/dist/model/GraphActionTypeResponse.js +681 -0
- package/dist/model/GraphDatabaseService.d.ts +10 -10
- package/dist/model/GraphDatabaseService.d.ts.map +1 -1
- package/dist/model/GraphDatabaseService.js +27 -27
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +92 -0
- package/dist/model/GraphInput.d.ts.map +1 -0
- package/dist/model/GraphInput.js +256 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +10 -10
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts.map +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +25 -25
- package/dist/model/GraphObject.d.ts +12 -12
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +29 -29
- package/dist/model/GraphObjectPayload.d.ts +7 -16
- package/dist/model/GraphObjectPayload.d.ts.map +1 -1
- package/dist/model/GraphObjectPayload.js +19 -50
- package/dist/model/GraphObjectResponse.d.ts +43 -3
- package/dist/model/GraphObjectResponse.d.ts.map +1 -1
- package/dist/model/GraphObjectResponse.js +142 -6
- package/dist/model/GraphObjectSchema.d.ts +30 -30
- package/dist/model/GraphObjectSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectSchema.js +83 -83
- package/dist/model/GraphObjectType.d.ts +12 -12
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +30 -30
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +23 -13
- package/dist/model/GraphObjectTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeResponse.js +90 -42
- package/dist/model/GraphObjectTypeSchema.d.ts +12 -12
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +30 -30
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +12 -12
- package/dist/model/GraphRelationship.d.ts.map +1 -1
- package/dist/model/GraphRelationship.js +30 -30
- package/dist/model/GraphRelationshipPayload.d.ts +19 -19
- package/dist/model/GraphRelationshipPayload.d.ts.map +1 -1
- package/dist/model/GraphRelationshipPayload.js +52 -54
- package/dist/model/GraphRelationshipResponse.d.ts +144 -0
- package/dist/model/GraphRelationshipResponse.d.ts.map +1 -0
- package/dist/model/GraphRelationshipResponse.js +418 -0
- package/dist/model/GraphRelationshipType.d.ts +38 -38
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +102 -102
- package/dist/model/GraphRelationshipTypeInput.d.ts +172 -0
- package/dist/model/GraphRelationshipTypeInput.d.ts.map +1 -0
- package/dist/model/GraphRelationshipTypeInput.js +607 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +28 -1
- package/dist/model/GraphRelationshipTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +89 -2
- package/dist/model/GraphResponse.d.ts +127 -0
- package/dist/model/GraphResponse.d.ts.map +1 -0
- package/dist/model/GraphResponse.js +351 -0
- package/dist/model/GraphSchema.d.ts +41 -41
- package/dist/model/GraphSchema.d.ts.map +1 -1
- package/dist/model/GraphSchema.js +113 -113
- 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 +55 -1
- package/dist/model/GraphTraversalInput.d.ts.map +1 -1
- package/dist/model/GraphTraversalInput.js +176 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +31 -13
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +92 -39
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/InputPartMediaType.d.ts +1 -1
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/JsonArray.d.ts +35 -0
- package/dist/model/JsonArray.d.ts.map +1 -0
- package/dist/model/JsonArray.js +96 -0
- package/dist/model/JsonObject.d.ts +58 -0
- package/dist/model/JsonObject.d.ts.map +1 -0
- package/dist/model/JsonObject.js +179 -0
- package/dist/model/JsonValue.d.ts +49 -0
- package/dist/model/JsonValue.d.ts.map +1 -0
- package/dist/model/JsonValue.js +151 -0
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +10 -10
- package/dist/model/Link.d.ts.map +1 -1
- package/dist/model/Link.js +31 -31
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +74 -0
- package/dist/model/MediaType.d.ts.map +1 -0
- package/dist/model/MediaType.js +214 -0
- package/dist/model/MeetingEvent.d.ts +46 -46
- package/dist/model/MeetingEvent.d.ts.map +1 -1
- package/dist/model/MeetingEvent.js +133 -133
- 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 +12 -12
- package/dist/model/MeetingInfo.d.ts.map +1 -1
- package/dist/model/MeetingInfo.js +34 -34
- package/dist/model/Member.d.ts +19 -19
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +56 -56
- 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 +56 -0
- package/dist/model/MemberManagerConfigInput.d.ts.map +1 -0
- package/dist/model/MemberManagerConfigInput.js +160 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +66 -0
- package/dist/model/MemberManagerConfigResponse.d.ts.map +1 -0
- package/dist/model/MemberManagerConfigResponse.js +187 -0
- package/dist/model/MemberManagerInput.d.ts +66 -0
- package/dist/model/MemberManagerInput.d.ts.map +1 -0
- package/dist/model/MemberManagerInput.js +187 -0
- package/dist/model/MemberManagerResponse.d.ts +66 -0
- package/dist/model/MemberManagerResponse.d.ts.map +1 -0
- package/dist/model/MemberManagerResponse.js +187 -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 +38 -0
- package/dist/model/MultivaluedMapStringString.d.ts.map +1 -0
- package/dist/model/MultivaluedMapStringString.js +106 -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 +12 -12
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +30 -30
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +19 -19
- package/dist/model/Page.d.ts.map +1 -1
- package/dist/model/Page.js +48 -48
- package/dist/model/PageSchema.d.ts +24 -24
- package/dist/model/PageSchema.d.ts.map +1 -1
- package/dist/model/PageSchema.js +65 -65
- package/dist/model/Pageable.d.ts +19 -19
- package/dist/model/Pageable.d.ts.map +1 -1
- package/dist/model/Pageable.js +48 -48
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +47 -0
- package/dist/model/PasswordResetInitiateRequest.d.ts.map +1 -0
- package/dist/model/PasswordResetInitiateRequest.js +131 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +87 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetInitiateResponse.js +243 -0
- package/dist/model/PasswordResetRequest.d.ts +67 -0
- package/dist/model/PasswordResetRequest.d.ts.map +1 -0
- package/dist/model/PasswordResetRequest.js +189 -0
- package/dist/model/PasswordResetResponse.d.ts +95 -0
- package/dist/model/PasswordResetResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetResponse.js +266 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +95 -0
- package/dist/model/PasswordResetValidationResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetValidationResponse.js +266 -0
- package/dist/model/Path.d.ts +5 -5
- package/dist/model/Path.d.ts.map +1 -1
- package/dist/model/Path.js +13 -13
- 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 +9 -9
- package/dist/model/PaymentMethod.d.ts.map +1 -1
- package/dist/model/PaymentMethod.js +23 -23
- 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 +12 -12
- package/dist/model/Payout.d.ts.map +1 -1
- package/dist/model/Payout.js +34 -34
- 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 +14 -14
- package/dist/model/PhoneNumber.d.ts.map +1 -1
- package/dist/model/PhoneNumber.js +44 -44
- package/dist/model/Post.d.ts +19 -19
- package/dist/model/Post.d.ts.map +1 -1
- package/dist/model/Post.js +50 -50
- package/dist/model/PrivateMessage.d.ts +28 -28
- package/dist/model/PrivateMessage.d.ts.map +1 -1
- package/dist/model/PrivateMessage.js +77 -77
- package/dist/model/PrivateMessageConversation.d.ts +47 -47
- package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
- package/dist/model/PrivateMessageConversation.js +124 -124
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +10 -10
- package/dist/model/Profile.d.ts.map +1 -1
- package/dist/model/Profile.js +30 -30
- 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 +1 -1
- package/dist/model/PurgeDataDefaultResponse.js +4 -4
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +10 -10
- package/dist/model/RelationshipMapping.d.ts.map +1 -1
- package/dist/model/RelationshipMapping.js +35 -35
- 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 +26 -26
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +72 -72
- 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 +14 -14
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +38 -38
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +10 -10
- package/dist/model/SocialGroup.d.ts.map +1 -1
- package/dist/model/SocialGroup.js +33 -33
- 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 +9 -9
- package/dist/model/Sort.d.ts.map +1 -1
- package/dist/model/Sort.js +23 -23
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +10 -10
- package/dist/model/StatusUpdate.d.ts.map +1 -1
- package/dist/model/StatusUpdate.js +27 -27
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +10 -10
- package/dist/model/StripeAccount.d.ts.map +1 -1
- package/dist/model/StripeAccount.js +27 -27
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +10 -10
- package/dist/model/Template.d.ts.map +1 -1
- package/dist/model/Template.js +27 -27
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +10 -10
- package/dist/model/TemplateSchema.d.ts.map +1 -1
- package/dist/model/TemplateSchema.js +27 -27
- package/dist/model/ThemeMapping.d.ts +10 -10
- package/dist/model/ThemeMapping.d.ts.map +1 -1
- package/dist/model/ThemeMapping.js +30 -30
- 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 +10 -10
- package/dist/model/Transfer.d.ts.map +1 -1
- package/dist/model/Transfer.js +29 -29
- 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 +10 -10
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +29 -29
- package/dist/model/TraversalRelationResponse.d.ts +5 -5
- package/dist/model/TraversalRelationResponse.js +14 -14
- package/dist/model/User.d.ts +19 -19
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +56 -56
- package/dist/model/UserDataPayload.d.ts +19 -19
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +56 -56
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +18 -18
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +57 -57
- 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 +19 -19
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +56 -56
- package/dist/model/UserTag.d.ts +19 -19
- package/dist/model/UserTag.d.ts.map +1 -1
- package/dist/model/UserTag.js +52 -52
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +47 -0
- package/dist/model/UsernameReminderRequest.d.ts.map +1 -0
- package/dist/model/UsernameReminderRequest.js +131 -0
- package/dist/model/UsernameReminderResponse.d.ts +87 -0
- package/dist/model/UsernameReminderResponse.d.ts.map +1 -0
- package/dist/model/UsernameReminderResponse.js +243 -0
- package/dist/model/Video.d.ts +70 -70
- package/dist/model/Video.d.ts.map +1 -1
- package/dist/model/Video.js +177 -177
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +70 -70
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +177 -177
- package/dist/model/VideoUploadObject.d.ts +70 -70
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +177 -177
- 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
|
@@ -5,13 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
8
9
|
var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
|
|
9
10
|
var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
|
|
10
|
-
var
|
|
11
|
-
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
12
|
-
var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
|
|
11
|
+
var _GraphRelationshipTypeInput = _interopRequireDefault(require("../model/GraphRelationshipTypeInput"));
|
|
13
12
|
var _GraphRelationshipTypeResponse = _interopRequireDefault(require("../model/GraphRelationshipTypeResponse"));
|
|
14
|
-
var
|
|
13
|
+
var _SkinFieldResponse = _interopRequireDefault(require("../model/SkinFieldResponse"));
|
|
15
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
15
|
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); }
|
|
17
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -22,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
22
21
|
* gobodo-api
|
|
23
22
|
* REST Interface for Gobodo API
|
|
24
23
|
*
|
|
25
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.99
|
|
26
25
|
* Contact: info@gobodo.io
|
|
27
26
|
*
|
|
28
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
32
|
/**
|
|
34
33
|
* GraphRelationshipTypes service.
|
|
35
34
|
* @module api/GraphRelationshipTypesApi
|
|
36
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.99
|
|
37
36
|
*/
|
|
38
37
|
var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
39
38
|
/**
|
|
@@ -49,7 +48,10 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
/**
|
|
52
|
-
*
|
|
51
|
+
* Adds a method to an relationship type
|
|
52
|
+
* Adds a method to a relationship type
|
|
53
|
+
* @param {Number} reltypeid
|
|
54
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
53
55
|
* @param {Object} opts Optional parameters
|
|
54
56
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
55
57
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -57,89 +59,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
57
59
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
58
60
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
59
61
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
62
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
60
63
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
61
64
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
62
65
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
63
66
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
64
|
-
* @
|
|
65
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
67
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
66
68
|
*/
|
|
67
69
|
_createClass(GraphRelationshipTypesApi, [{
|
|
68
|
-
key: "addEndObjectTypes1WithHttpInfo",
|
|
69
|
-
value: function addEndObjectTypes1WithHttpInfo(id, opts) {
|
|
70
|
-
opts = opts || {};
|
|
71
|
-
var postBody = opts['body'];
|
|
72
|
-
// verify the required parameter 'id' is set
|
|
73
|
-
if (id === undefined || id === null) {
|
|
74
|
-
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
|
|
75
|
-
}
|
|
76
|
-
var pathParams = {
|
|
77
|
-
'id': id
|
|
78
|
-
};
|
|
79
|
-
var queryParams = {};
|
|
80
|
-
var headerParams = {
|
|
81
|
-
'Authorization': opts['authorization'],
|
|
82
|
-
'cacheduration': opts['cacheduration'],
|
|
83
|
-
'cachegroup': opts['cachegroup'],
|
|
84
|
-
'cachekey': opts['cachekey'],
|
|
85
|
-
'cachescope': opts['cachescope'],
|
|
86
|
-
'cacheuser': opts['cacheuser'],
|
|
87
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
88
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
89
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
90
|
-
'transactionid': opts['transactionid']
|
|
91
|
-
};
|
|
92
|
-
var formParams = {};
|
|
93
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
94
|
-
var contentTypes = ['application/json'];
|
|
95
|
-
var accepts = ['application/json'];
|
|
96
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
97
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @param {Number} id
|
|
102
|
-
* @param {Object} opts Optional parameters
|
|
103
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
104
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
105
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
106
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
107
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
108
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
109
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
110
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
111
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
112
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
113
|
-
* @param {String} opts.body
|
|
114
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
115
|
-
*/
|
|
116
|
-
}, {
|
|
117
|
-
key: "addEndObjectTypes1",
|
|
118
|
-
value: function addEndObjectTypes1(id, opts) {
|
|
119
|
-
return this.addEndObjectTypes1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
120
|
-
return response_and_data.data;
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Adds a method to an relationship type
|
|
126
|
-
* Adds a method to a relationship type
|
|
127
|
-
* @param {Number} reltypeid
|
|
128
|
-
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
129
|
-
* @param {Object} opts Optional parameters
|
|
130
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
131
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
132
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
133
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
134
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
135
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
136
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
137
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
138
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
139
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
140
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
141
|
-
*/
|
|
142
|
-
}, {
|
|
143
70
|
key: "addMethodToRelationshipTypeWithHttpInfo",
|
|
144
71
|
value: function addMethodToRelationshipTypeWithHttpInfo(reltypeid, createFunctionInput, opts) {
|
|
145
72
|
opts = opts || {};
|
|
@@ -155,14 +82,16 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
155
82
|
var pathParams = {
|
|
156
83
|
'reltypeid': reltypeid
|
|
157
84
|
};
|
|
158
|
-
var queryParams = {
|
|
159
|
-
var headerParams = {
|
|
160
|
-
'Authorization': opts['authorization'],
|
|
85
|
+
var queryParams = {
|
|
161
86
|
'cacheduration': opts['cacheduration'],
|
|
162
|
-
'cachegroup': opts['cachegroup'],
|
|
163
|
-
'cachekey': opts['cachekey'],
|
|
87
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
88
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
164
89
|
'cachescope': opts['cachescope'],
|
|
165
|
-
'cacheuser': opts['cacheuser'],
|
|
90
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
91
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
92
|
+
};
|
|
93
|
+
var headerParams = {
|
|
94
|
+
'Authorization': opts['authorization'],
|
|
166
95
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
167
96
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
168
97
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -173,7 +102,7 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
173
102
|
var contentTypes = [];
|
|
174
103
|
var accepts = ['application/json'];
|
|
175
104
|
var returnType = _GetFunctionResponse["default"];
|
|
176
|
-
return this.apiClient.callApi('/
|
|
105
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
177
106
|
}
|
|
178
107
|
|
|
179
108
|
/**
|
|
@@ -188,6 +117,7 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
188
117
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
189
118
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
190
119
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
120
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
191
121
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
192
122
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
193
123
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -203,7 +133,9 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
133
|
}
|
|
204
134
|
|
|
205
135
|
/**
|
|
206
|
-
*
|
|
136
|
+
* Create Graph Relationship Type
|
|
137
|
+
* Creates a new graph relationship type
|
|
138
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
207
139
|
* @param {Object} opts Optional parameters
|
|
208
140
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
209
141
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -211,105 +143,33 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
211
143
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
212
144
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
213
145
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
146
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
214
147
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
215
148
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
216
149
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
217
150
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
218
|
-
* @
|
|
219
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
151
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
220
152
|
*/
|
|
221
153
|
}, {
|
|
222
|
-
key: "
|
|
223
|
-
value: function
|
|
154
|
+
key: "createRelationshipTypeWithHttpInfo",
|
|
155
|
+
value: function createRelationshipTypeWithHttpInfo(graphRelationshipTypeInput, opts) {
|
|
224
156
|
opts = opts || {};
|
|
225
|
-
var postBody =
|
|
226
|
-
// verify the required parameter '
|
|
227
|
-
if (
|
|
228
|
-
throw new Error("Missing the required parameter '
|
|
157
|
+
var postBody = graphRelationshipTypeInput;
|
|
158
|
+
// verify the required parameter 'graphRelationshipTypeInput' is set
|
|
159
|
+
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
160
|
+
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling createRelationshipType");
|
|
229
161
|
}
|
|
230
|
-
var pathParams = {
|
|
231
|
-
|
|
232
|
-
};
|
|
233
|
-
var queryParams = {};
|
|
234
|
-
var headerParams = {
|
|
235
|
-
'Authorization': opts['authorization'],
|
|
162
|
+
var pathParams = {};
|
|
163
|
+
var queryParams = {
|
|
236
164
|
'cacheduration': opts['cacheduration'],
|
|
237
|
-
'cachegroup': opts['cachegroup'],
|
|
238
|
-
'cachekey': opts['cachekey'],
|
|
165
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
166
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
239
167
|
'cachescope': opts['cachescope'],
|
|
240
|
-
'cacheuser': opts['cacheuser'],
|
|
241
|
-
'
|
|
242
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
243
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
244
|
-
'transactionid': opts['transactionid']
|
|
168
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
169
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
245
170
|
};
|
|
246
|
-
var formParams = {};
|
|
247
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
248
|
-
var contentTypes = ['application/json'];
|
|
249
|
-
var accepts = ['application/json'];
|
|
250
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
251
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @param {Number} id
|
|
256
|
-
* @param {Object} opts Optional parameters
|
|
257
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
258
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
259
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
260
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
261
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
262
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
263
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
264
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
265
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
266
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
267
|
-
* @param {String} opts.body
|
|
268
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
269
|
-
*/
|
|
270
|
-
}, {
|
|
271
|
-
key: "addStartObjectTypes",
|
|
272
|
-
value: function addStartObjectTypes(id, opts) {
|
|
273
|
-
return this.addStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
274
|
-
return response_and_data.data;
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Create relationshp type
|
|
280
|
-
* Creates a new relationship type
|
|
281
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
282
|
-
* @param {Object} opts Optional parameters
|
|
283
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
284
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
285
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
286
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
287
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
288
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
289
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
290
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
291
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
292
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
293
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
294
|
-
*/
|
|
295
|
-
}, {
|
|
296
|
-
key: "createRelationshipTypeWithHttpInfo",
|
|
297
|
-
value: function createRelationshipTypeWithHttpInfo(graphRelationshipType, opts) {
|
|
298
|
-
opts = opts || {};
|
|
299
|
-
var postBody = graphRelationshipType;
|
|
300
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
301
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
302
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
303
|
-
}
|
|
304
|
-
var pathParams = {};
|
|
305
|
-
var queryParams = {};
|
|
306
171
|
var headerParams = {
|
|
307
172
|
'Authorization': opts['authorization'],
|
|
308
|
-
'cacheduration': opts['cacheduration'],
|
|
309
|
-
'cachegroup': opts['cachegroup'],
|
|
310
|
-
'cachekey': opts['cachekey'],
|
|
311
|
-
'cachescope': opts['cachescope'],
|
|
312
|
-
'cacheuser': opts['cacheuser'],
|
|
313
173
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
314
174
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
315
175
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -317,16 +177,16 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
317
177
|
};
|
|
318
178
|
var formParams = {};
|
|
319
179
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
320
|
-
var contentTypes = [
|
|
180
|
+
var contentTypes = [];
|
|
321
181
|
var accepts = ['application/json'];
|
|
322
|
-
var returnType =
|
|
323
|
-
return this.apiClient.callApi('/
|
|
182
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
183
|
+
return this.apiClient.callApi('/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
324
184
|
}
|
|
325
185
|
|
|
326
186
|
/**
|
|
327
|
-
* Create
|
|
328
|
-
* Creates a new relationship type
|
|
329
|
-
* @param {module:model/
|
|
187
|
+
* Create Graph Relationship Type
|
|
188
|
+
* Creates a new graph relationship type
|
|
189
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
330
190
|
* @param {Object} opts Optional parameters
|
|
331
191
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
332
192
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -334,22 +194,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
334
194
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
335
195
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
336
196
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
197
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
337
198
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
338
199
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
339
200
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
340
201
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
341
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
202
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
342
203
|
*/
|
|
343
204
|
}, {
|
|
344
205
|
key: "createRelationshipType",
|
|
345
|
-
value: function createRelationshipType(
|
|
346
|
-
return this.createRelationshipTypeWithHttpInfo(
|
|
206
|
+
value: function createRelationshipType(graphRelationshipTypeInput, opts) {
|
|
207
|
+
return this.createRelationshipTypeWithHttpInfo(graphRelationshipTypeInput, opts).then(function (response_and_data) {
|
|
347
208
|
return response_and_data.data;
|
|
348
209
|
});
|
|
349
210
|
}
|
|
350
211
|
|
|
351
212
|
/**
|
|
352
|
-
*
|
|
213
|
+
* Get all relationship types
|
|
353
214
|
* @param {Object} opts Optional parameters
|
|
354
215
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
355
216
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -357,26 +218,29 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
357
218
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
358
219
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
359
220
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
221
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
360
222
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
361
223
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
362
224
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
363
225
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
364
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
226
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipTypeResponse>} and HTTP response
|
|
365
227
|
*/
|
|
366
228
|
}, {
|
|
367
|
-
key: "
|
|
368
|
-
value: function
|
|
229
|
+
key: "getAllRelationshipTypesWithHttpInfo",
|
|
230
|
+
value: function getAllRelationshipTypesWithHttpInfo(opts) {
|
|
369
231
|
opts = opts || {};
|
|
370
232
|
var postBody = null;
|
|
371
233
|
var pathParams = {};
|
|
372
|
-
var queryParams = {
|
|
373
|
-
var headerParams = {
|
|
374
|
-
'Authorization': opts['authorization'],
|
|
234
|
+
var queryParams = {
|
|
375
235
|
'cacheduration': opts['cacheduration'],
|
|
376
|
-
'cachegroup': opts['cachegroup'],
|
|
377
|
-
'cachekey': opts['cachekey'],
|
|
236
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
237
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
378
238
|
'cachescope': opts['cachescope'],
|
|
379
|
-
'cacheuser': opts['cacheuser'],
|
|
239
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
240
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
241
|
+
};
|
|
242
|
+
var headerParams = {
|
|
243
|
+
'Authorization': opts['authorization'],
|
|
380
244
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
381
245
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
382
246
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -385,13 +249,13 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
385
249
|
var formParams = {};
|
|
386
250
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
387
251
|
var contentTypes = [];
|
|
388
|
-
var accepts = ['
|
|
389
|
-
var returnType =
|
|
390
|
-
return this.apiClient.callApi('/
|
|
252
|
+
var accepts = ['application/json'];
|
|
253
|
+
var returnType = [_GraphRelationshipTypeResponse["default"]];
|
|
254
|
+
return this.apiClient.callApi('/relationshiptype/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
391
255
|
}
|
|
392
256
|
|
|
393
257
|
/**
|
|
394
|
-
*
|
|
258
|
+
* Get all relationship types
|
|
395
259
|
* @param {Object} opts Optional parameters
|
|
396
260
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
397
261
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -399,25 +263,25 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
399
263
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
400
264
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
401
265
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
266
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
402
267
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
403
268
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
404
269
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
405
270
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
406
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
271
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipTypeResponse>}
|
|
407
272
|
*/
|
|
408
273
|
}, {
|
|
409
|
-
key: "
|
|
410
|
-
value: function
|
|
411
|
-
return this.
|
|
274
|
+
key: "getAllRelationshipTypes",
|
|
275
|
+
value: function getAllRelationshipTypes(opts) {
|
|
276
|
+
return this.getAllRelationshipTypesWithHttpInfo(opts).then(function (response_and_data) {
|
|
412
277
|
return response_and_data.data;
|
|
413
278
|
});
|
|
414
279
|
}
|
|
415
280
|
|
|
416
281
|
/**
|
|
417
|
-
* Get
|
|
418
|
-
* Returns
|
|
419
|
-
* @param {Number} id
|
|
420
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
282
|
+
* Get Graph Relationship Type
|
|
283
|
+
* Returns the graph relationship type with the given id
|
|
284
|
+
* @param {Number} id
|
|
421
285
|
* @param {Object} opts Optional parameters
|
|
422
286
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
423
287
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -425,37 +289,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
425
289
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
426
290
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
427
291
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
292
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
428
293
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
429
294
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
430
295
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
431
296
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
432
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
297
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
433
298
|
*/
|
|
434
299
|
}, {
|
|
435
|
-
key: "
|
|
436
|
-
value: function
|
|
300
|
+
key: "getRelationshipTypeByIdWithHttpInfo",
|
|
301
|
+
value: function getRelationshipTypeByIdWithHttpInfo(id, opts) {
|
|
437
302
|
opts = opts || {};
|
|
438
303
|
var postBody = null;
|
|
439
304
|
// verify the required parameter 'id' is set
|
|
440
305
|
if (id === undefined || id === null) {
|
|
441
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
442
|
-
}
|
|
443
|
-
// verify the required parameter 'reltypeid' is set
|
|
444
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
445
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
306
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
446
307
|
}
|
|
447
308
|
var pathParams = {
|
|
448
|
-
'id': id
|
|
449
|
-
'reltypeid': reltypeid
|
|
309
|
+
'id': id
|
|
450
310
|
};
|
|
451
|
-
var queryParams = {
|
|
452
|
-
var headerParams = {
|
|
453
|
-
'Authorization': opts['authorization'],
|
|
311
|
+
var queryParams = {
|
|
454
312
|
'cacheduration': opts['cacheduration'],
|
|
455
|
-
'cachegroup': opts['cachegroup'],
|
|
456
|
-
'cachekey': opts['cachekey'],
|
|
313
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
314
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
457
315
|
'cachescope': opts['cachescope'],
|
|
458
|
-
'cacheuser': opts['cacheuser'],
|
|
316
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
317
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
318
|
+
};
|
|
319
|
+
var headerParams = {
|
|
320
|
+
'Authorization': opts['authorization'],
|
|
459
321
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
460
322
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
461
323
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -465,15 +327,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
465
327
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
466
328
|
var contentTypes = [];
|
|
467
329
|
var accepts = ['application/json'];
|
|
468
|
-
var returnType = [
|
|
469
|
-
return this.apiClient.callApi('/
|
|
330
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
331
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
470
332
|
}
|
|
471
333
|
|
|
472
334
|
/**
|
|
473
|
-
* Get
|
|
474
|
-
* Returns
|
|
475
|
-
* @param {Number} id
|
|
476
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
335
|
+
* Get Graph Relationship Type
|
|
336
|
+
* Returns the graph relationship type with the given id
|
|
337
|
+
* @param {Number} id
|
|
477
338
|
* @param {Object} opts Optional parameters
|
|
478
339
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
479
340
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -481,23 +342,25 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
481
342
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
482
343
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
483
344
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
345
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
484
346
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
485
347
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
486
348
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
487
349
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
488
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
350
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
489
351
|
*/
|
|
490
352
|
}, {
|
|
491
|
-
key: "
|
|
492
|
-
value: function
|
|
493
|
-
return this.
|
|
353
|
+
key: "getRelationshipTypeById",
|
|
354
|
+
value: function getRelationshipTypeById(id, opts) {
|
|
355
|
+
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
494
356
|
return response_and_data.data;
|
|
495
357
|
});
|
|
496
358
|
}
|
|
497
359
|
|
|
498
360
|
/**
|
|
499
|
-
*
|
|
500
|
-
*
|
|
361
|
+
* Get Graph Relationship Type
|
|
362
|
+
* Returns the graph relationship type with the given key
|
|
363
|
+
* @param {String} key
|
|
501
364
|
* @param {Object} opts Optional parameters
|
|
502
365
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
503
366
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -505,32 +368,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
505
368
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
506
369
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
507
370
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
371
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
508
372
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
509
373
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
510
374
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
511
375
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
512
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
376
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
513
377
|
*/
|
|
514
378
|
}, {
|
|
515
|
-
key: "
|
|
516
|
-
value: function
|
|
379
|
+
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
380
|
+
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
517
381
|
opts = opts || {};
|
|
518
382
|
var postBody = null;
|
|
519
|
-
// verify the required parameter '
|
|
520
|
-
if (
|
|
521
|
-
throw new Error("Missing the required parameter '
|
|
383
|
+
// verify the required parameter 'key' is set
|
|
384
|
+
if (key === undefined || key === null) {
|
|
385
|
+
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
522
386
|
}
|
|
523
387
|
var pathParams = {
|
|
524
|
-
'
|
|
388
|
+
'key': key
|
|
525
389
|
};
|
|
526
|
-
var queryParams = {
|
|
527
|
-
var headerParams = {
|
|
528
|
-
'Authorization': opts['authorization'],
|
|
390
|
+
var queryParams = {
|
|
529
391
|
'cacheduration': opts['cacheduration'],
|
|
530
|
-
'cachegroup': opts['cachegroup'],
|
|
531
|
-
'cachekey': opts['cachekey'],
|
|
392
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
393
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
532
394
|
'cachescope': opts['cachescope'],
|
|
533
|
-
'cacheuser': opts['cacheuser'],
|
|
395
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
396
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
397
|
+
};
|
|
398
|
+
var headerParams = {
|
|
399
|
+
'Authorization': opts['authorization'],
|
|
534
400
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
535
401
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
536
402
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -540,13 +406,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
540
406
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
541
407
|
var contentTypes = [];
|
|
542
408
|
var accepts = ['application/json'];
|
|
543
|
-
var returnType =
|
|
544
|
-
return this.apiClient.callApi('/
|
|
409
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
410
|
+
return this.apiClient.callApi('/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
545
411
|
}
|
|
546
412
|
|
|
547
413
|
/**
|
|
548
|
-
*
|
|
549
|
-
*
|
|
414
|
+
* Get Graph Relationship Type
|
|
415
|
+
* Returns the graph relationship type with the given key
|
|
416
|
+
* @param {String} key
|
|
550
417
|
* @param {Object} opts Optional parameters
|
|
551
418
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
552
419
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -554,21 +421,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
554
421
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
555
422
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
556
423
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
424
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
557
425
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
558
426
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
559
427
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
560
428
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
561
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
429
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
562
430
|
*/
|
|
563
431
|
}, {
|
|
564
|
-
key: "
|
|
565
|
-
value: function
|
|
566
|
-
return this.
|
|
432
|
+
key: "getRelationshipTypeByKey",
|
|
433
|
+
value: function getRelationshipTypeByKey(key, opts) {
|
|
434
|
+
return this.getRelationshipTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
567
435
|
return response_and_data.data;
|
|
568
436
|
});
|
|
569
437
|
}
|
|
570
438
|
|
|
571
439
|
/**
|
|
440
|
+
* Get relationship type fields
|
|
572
441
|
* @param {Number} id
|
|
573
442
|
* @param {Object} opts Optional parameters
|
|
574
443
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -577,32 +446,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
577
446
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
578
447
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
579
448
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
449
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
580
450
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
581
451
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
582
452
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
583
453
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
584
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
454
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SkinFieldResponse>} and HTTP response
|
|
585
455
|
*/
|
|
586
456
|
}, {
|
|
587
|
-
key: "
|
|
588
|
-
value: function
|
|
457
|
+
key: "getRelationshipTypeFieldsWithHttpInfo",
|
|
458
|
+
value: function getRelationshipTypeFieldsWithHttpInfo(id, opts) {
|
|
589
459
|
opts = opts || {};
|
|
590
460
|
var postBody = null;
|
|
591
461
|
// verify the required parameter 'id' is set
|
|
592
462
|
if (id === undefined || id === null) {
|
|
593
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
463
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeFields");
|
|
594
464
|
}
|
|
595
465
|
var pathParams = {
|
|
596
466
|
'id': id
|
|
597
467
|
};
|
|
598
|
-
var queryParams = {
|
|
599
|
-
var headerParams = {
|
|
600
|
-
'Authorization': opts['authorization'],
|
|
468
|
+
var queryParams = {
|
|
601
469
|
'cacheduration': opts['cacheduration'],
|
|
602
|
-
'cachegroup': opts['cachegroup'],
|
|
603
|
-
'cachekey': opts['cachekey'],
|
|
470
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
471
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
604
472
|
'cachescope': opts['cachescope'],
|
|
605
|
-
'cacheuser': opts['cacheuser'],
|
|
473
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
474
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
475
|
+
};
|
|
476
|
+
var headerParams = {
|
|
477
|
+
'Authorization': opts['authorization'],
|
|
606
478
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
607
479
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
608
480
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -612,11 +484,12 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
612
484
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
613
485
|
var contentTypes = [];
|
|
614
486
|
var accepts = ['application/json'];
|
|
615
|
-
var returnType =
|
|
616
|
-
return this.apiClient.callApi('/
|
|
487
|
+
var returnType = [_SkinFieldResponse["default"]];
|
|
488
|
+
return this.apiClient.callApi('/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
617
489
|
}
|
|
618
490
|
|
|
619
491
|
/**
|
|
492
|
+
* Get relationship type fields
|
|
620
493
|
* @param {Number} id
|
|
621
494
|
* @param {Object} opts Optional parameters
|
|
622
495
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -625,23 +498,25 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
625
498
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
626
499
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
627
500
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
501
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
628
502
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
629
503
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
630
504
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
631
505
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
632
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
506
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SkinFieldResponse>}
|
|
633
507
|
*/
|
|
634
508
|
}, {
|
|
635
|
-
key: "
|
|
636
|
-
value: function
|
|
637
|
-
return this.
|
|
509
|
+
key: "getRelationshipTypeFields",
|
|
510
|
+
value: function getRelationshipTypeFields(id, opts) {
|
|
511
|
+
return this.getRelationshipTypeFieldsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
638
512
|
return response_and_data.data;
|
|
639
513
|
});
|
|
640
514
|
}
|
|
641
515
|
|
|
642
516
|
/**
|
|
643
|
-
*
|
|
644
|
-
*
|
|
517
|
+
* Retrieves the methods associated with the Object Type
|
|
518
|
+
* Retrieves the methods associated with the Object Type
|
|
519
|
+
* @param {Number} reltypeid
|
|
645
520
|
* @param {Object} opts Optional parameters
|
|
646
521
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
647
522
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -649,32 +524,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
649
524
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
650
525
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
651
526
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
527
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
652
528
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
653
529
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
654
530
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
655
531
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
656
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
532
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
657
533
|
*/
|
|
658
534
|
}, {
|
|
659
|
-
key: "
|
|
660
|
-
value: function
|
|
535
|
+
key: "getRelationshipTypeMethodsWithHttpInfo",
|
|
536
|
+
value: function getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts) {
|
|
661
537
|
opts = opts || {};
|
|
662
538
|
var postBody = null;
|
|
663
|
-
// verify the required parameter '
|
|
664
|
-
if (
|
|
665
|
-
throw new Error("Missing the required parameter '
|
|
539
|
+
// verify the required parameter 'reltypeid' is set
|
|
540
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
541
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
|
|
666
542
|
}
|
|
667
543
|
var pathParams = {
|
|
668
|
-
'
|
|
544
|
+
'reltypeid': reltypeid
|
|
669
545
|
};
|
|
670
|
-
var queryParams = {
|
|
671
|
-
var headerParams = {
|
|
672
|
-
'Authorization': opts['authorization'],
|
|
546
|
+
var queryParams = {
|
|
673
547
|
'cacheduration': opts['cacheduration'],
|
|
674
|
-
'cachegroup': opts['cachegroup'],
|
|
675
|
-
'cachekey': opts['cachekey'],
|
|
548
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
549
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
676
550
|
'cachescope': opts['cachescope'],
|
|
677
|
-
'cacheuser': opts['cacheuser'],
|
|
551
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
552
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
553
|
+
};
|
|
554
|
+
var headerParams = {
|
|
555
|
+
'Authorization': opts['authorization'],
|
|
678
556
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
679
557
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
680
558
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -683,14 +561,15 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
683
561
|
var formParams = {};
|
|
684
562
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
685
563
|
var contentTypes = [];
|
|
686
|
-
var accepts = ['
|
|
687
|
-
var returnType =
|
|
688
|
-
return this.apiClient.callApi('/
|
|
564
|
+
var accepts = ['application/json'];
|
|
565
|
+
var returnType = _GetFunctionResponse["default"];
|
|
566
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
689
567
|
}
|
|
690
568
|
|
|
691
569
|
/**
|
|
692
|
-
*
|
|
693
|
-
*
|
|
570
|
+
* Retrieves the methods associated with the Object Type
|
|
571
|
+
* Retrieves the methods associated with the Object Type
|
|
572
|
+
* @param {Number} reltypeid
|
|
694
573
|
* @param {Object} opts Optional parameters
|
|
695
574
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
696
575
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -698,23 +577,26 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
698
577
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
699
578
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
700
579
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
580
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
701
581
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
702
582
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
703
583
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
704
584
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
705
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
585
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
706
586
|
*/
|
|
707
587
|
}, {
|
|
708
|
-
key: "
|
|
709
|
-
value: function
|
|
710
|
-
return this.
|
|
588
|
+
key: "getRelationshipTypeMethods",
|
|
589
|
+
value: function getRelationshipTypeMethods(reltypeid, opts) {
|
|
590
|
+
return this.getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts).then(function (response_and_data) {
|
|
711
591
|
return response_and_data.data;
|
|
712
592
|
});
|
|
713
593
|
}
|
|
714
594
|
|
|
715
595
|
/**
|
|
716
|
-
*
|
|
717
|
-
*
|
|
596
|
+
* Update Graph Relationship Type
|
|
597
|
+
* Updates the graph relationship type with the given id
|
|
598
|
+
* @param {Number} id
|
|
599
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
718
600
|
* @param {Object} opts Optional parameters
|
|
719
601
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
720
602
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -722,6 +604,7 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
722
604
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
723
605
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
724
606
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
607
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
725
608
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
726
609
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
727
610
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -729,25 +612,31 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
729
612
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
730
613
|
*/
|
|
731
614
|
}, {
|
|
732
|
-
key: "
|
|
733
|
-
value: function
|
|
615
|
+
key: "updateRelationshipTypeWithHttpInfo",
|
|
616
|
+
value: function updateRelationshipTypeWithHttpInfo(id, graphRelationshipTypeInput, opts) {
|
|
734
617
|
opts = opts || {};
|
|
735
|
-
var postBody =
|
|
618
|
+
var postBody = graphRelationshipTypeInput;
|
|
736
619
|
// verify the required parameter 'id' is set
|
|
737
620
|
if (id === undefined || id === null) {
|
|
738
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
621
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
622
|
+
}
|
|
623
|
+
// verify the required parameter 'graphRelationshipTypeInput' is set
|
|
624
|
+
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
625
|
+
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling updateRelationshipType");
|
|
739
626
|
}
|
|
740
627
|
var pathParams = {
|
|
741
628
|
'id': id
|
|
742
629
|
};
|
|
743
|
-
var queryParams = {
|
|
744
|
-
var headerParams = {
|
|
745
|
-
'Authorization': opts['authorization'],
|
|
630
|
+
var queryParams = {
|
|
746
631
|
'cacheduration': opts['cacheduration'],
|
|
747
|
-
'cachegroup': opts['cachegroup'],
|
|
748
|
-
'cachekey': opts['cachekey'],
|
|
632
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
633
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
749
634
|
'cachescope': opts['cachescope'],
|
|
750
|
-
'cacheuser': opts['cacheuser'],
|
|
635
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
636
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
637
|
+
};
|
|
638
|
+
var headerParams = {
|
|
639
|
+
'Authorization': opts['authorization'],
|
|
751
640
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
752
641
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
753
642
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -758,12 +647,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
758
647
|
var contentTypes = [];
|
|
759
648
|
var accepts = ['application/json'];
|
|
760
649
|
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
761
|
-
return this.apiClient.callApi('/
|
|
650
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
762
651
|
}
|
|
763
652
|
|
|
764
653
|
/**
|
|
765
|
-
*
|
|
766
|
-
*
|
|
654
|
+
* Update Graph Relationship Type
|
|
655
|
+
* Updates the graph relationship type with the given id
|
|
656
|
+
* @param {Number} id
|
|
657
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
767
658
|
* @param {Object} opts Optional parameters
|
|
768
659
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
769
660
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -771,853 +662,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
771
662
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
772
663
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
773
664
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
665
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
774
666
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
775
667
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
776
668
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
777
669
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
778
670
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
779
671
|
*/
|
|
780
|
-
}, {
|
|
781
|
-
key: "getRelationshipTypeById",
|
|
782
|
-
value: function getRelationshipTypeById(id, opts) {
|
|
783
|
-
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
784
|
-
return response_and_data.data;
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Gets the relationship type by key
|
|
790
|
-
* @param {String} key
|
|
791
|
-
* @param {Object} opts Optional parameters
|
|
792
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
793
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
794
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
795
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
796
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
797
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
798
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
799
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
800
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
801
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
802
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
803
|
-
*/
|
|
804
|
-
}, {
|
|
805
|
-
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
806
|
-
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
807
|
-
opts = opts || {};
|
|
808
|
-
var postBody = null;
|
|
809
|
-
// verify the required parameter 'key' is set
|
|
810
|
-
if (key === undefined || key === null) {
|
|
811
|
-
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
812
|
-
}
|
|
813
|
-
var pathParams = {
|
|
814
|
-
'key': key
|
|
815
|
-
};
|
|
816
|
-
var queryParams = {};
|
|
817
|
-
var headerParams = {
|
|
818
|
-
'Authorization': opts['authorization'],
|
|
819
|
-
'cacheduration': opts['cacheduration'],
|
|
820
|
-
'cachegroup': opts['cachegroup'],
|
|
821
|
-
'cachekey': opts['cachekey'],
|
|
822
|
-
'cachescope': opts['cachescope'],
|
|
823
|
-
'cacheuser': opts['cacheuser'],
|
|
824
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
825
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
826
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
827
|
-
'transactionid': opts['transactionid']
|
|
828
|
-
};
|
|
829
|
-
var formParams = {};
|
|
830
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
831
|
-
var contentTypes = [];
|
|
832
|
-
var accepts = ['application/json'];
|
|
833
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
834
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Gets the relationship type by key
|
|
839
|
-
* @param {String} key
|
|
840
|
-
* @param {Object} opts Optional parameters
|
|
841
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
842
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
843
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
844
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
845
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
846
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
847
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
848
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
849
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
850
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
851
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
852
|
-
*/
|
|
853
|
-
}, {
|
|
854
|
-
key: "getRelationshipTypeByKey",
|
|
855
|
-
value: function getRelationshipTypeByKey(key, opts) {
|
|
856
|
-
return this.getRelationshipTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
857
|
-
return response_and_data.data;
|
|
858
|
-
});
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* Retrieves the methods associated with the Object Type
|
|
863
|
-
* Retrieves the methods associated with the Object Type
|
|
864
|
-
* @param {Number} reltypeid
|
|
865
|
-
* @param {Object} opts Optional parameters
|
|
866
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
867
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
868
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
869
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
870
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
871
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
872
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
873
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
874
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
875
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
876
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
877
|
-
*/
|
|
878
|
-
}, {
|
|
879
|
-
key: "getRelationshipTypeMethodsWithHttpInfo",
|
|
880
|
-
value: function getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts) {
|
|
881
|
-
opts = opts || {};
|
|
882
|
-
var postBody = null;
|
|
883
|
-
// verify the required parameter 'reltypeid' is set
|
|
884
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
885
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
|
|
886
|
-
}
|
|
887
|
-
var pathParams = {
|
|
888
|
-
'reltypeid': reltypeid
|
|
889
|
-
};
|
|
890
|
-
var queryParams = {};
|
|
891
|
-
var headerParams = {
|
|
892
|
-
'Authorization': opts['authorization'],
|
|
893
|
-
'cacheduration': opts['cacheduration'],
|
|
894
|
-
'cachegroup': opts['cachegroup'],
|
|
895
|
-
'cachekey': opts['cachekey'],
|
|
896
|
-
'cachescope': opts['cachescope'],
|
|
897
|
-
'cacheuser': opts['cacheuser'],
|
|
898
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
899
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
900
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
901
|
-
'transactionid': opts['transactionid']
|
|
902
|
-
};
|
|
903
|
-
var formParams = {};
|
|
904
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
905
|
-
var contentTypes = [];
|
|
906
|
-
var accepts = ['application/json'];
|
|
907
|
-
var returnType = _GetFunctionResponse["default"];
|
|
908
|
-
return this.apiClient.callApi('/graph/data/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* Retrieves the methods associated with the Object Type
|
|
913
|
-
* Retrieves the methods associated with the Object Type
|
|
914
|
-
* @param {Number} reltypeid
|
|
915
|
-
* @param {Object} opts Optional parameters
|
|
916
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
917
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
918
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
919
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
920
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
921
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
922
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
923
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
924
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
925
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
926
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
927
|
-
*/
|
|
928
|
-
}, {
|
|
929
|
-
key: "getRelationshipTypeMethods",
|
|
930
|
-
value: function getRelationshipTypeMethods(reltypeid, opts) {
|
|
931
|
-
return this.getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts).then(function (response_and_data) {
|
|
932
|
-
return response_and_data.data;
|
|
933
|
-
});
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* Get Incoming Relationships By Type
|
|
938
|
-
* Returns a listing of relationships
|
|
939
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
940
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
941
|
-
* @param {Object} opts Optional parameters
|
|
942
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
943
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
944
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
945
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
946
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
947
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
948
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
949
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
950
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
951
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
952
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
953
|
-
*/
|
|
954
|
-
}, {
|
|
955
|
-
key: "getRelationshipsByTypeInWithHttpInfo",
|
|
956
|
-
value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
|
|
957
|
-
opts = opts || {};
|
|
958
|
-
var postBody = null;
|
|
959
|
-
// verify the required parameter 'id' is set
|
|
960
|
-
if (id === undefined || id === null) {
|
|
961
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
962
|
-
}
|
|
963
|
-
// verify the required parameter 'reltypeid' is set
|
|
964
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
965
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
966
|
-
}
|
|
967
|
-
var pathParams = {
|
|
968
|
-
'id': id,
|
|
969
|
-
'reltypeid': reltypeid
|
|
970
|
-
};
|
|
971
|
-
var queryParams = {};
|
|
972
|
-
var headerParams = {
|
|
973
|
-
'Authorization': opts['authorization'],
|
|
974
|
-
'cacheduration': opts['cacheduration'],
|
|
975
|
-
'cachegroup': opts['cachegroup'],
|
|
976
|
-
'cachekey': opts['cachekey'],
|
|
977
|
-
'cachescope': opts['cachescope'],
|
|
978
|
-
'cacheuser': opts['cacheuser'],
|
|
979
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
980
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
981
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
982
|
-
'transactionid': opts['transactionid']
|
|
983
|
-
};
|
|
984
|
-
var formParams = {};
|
|
985
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
986
|
-
var contentTypes = [];
|
|
987
|
-
var accepts = ['application/json'];
|
|
988
|
-
var returnType = [_GraphRelationship["default"]];
|
|
989
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* Get Incoming Relationships By Type
|
|
994
|
-
* Returns a listing of relationships
|
|
995
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
996
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
997
|
-
* @param {Object} opts Optional parameters
|
|
998
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
999
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1000
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1001
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1002
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1003
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1004
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1005
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1006
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1007
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1008
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1009
|
-
*/
|
|
1010
|
-
}, {
|
|
1011
|
-
key: "getRelationshipsByTypeIn",
|
|
1012
|
-
value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
|
|
1013
|
-
return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1014
|
-
return response_and_data.data;
|
|
1015
|
-
});
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Get Outgoing Relationships By Type
|
|
1020
|
-
* Returns a listing of relationships
|
|
1021
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1022
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1023
|
-
* @param {Object} opts Optional parameters
|
|
1024
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1025
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1026
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1027
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1028
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1029
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1030
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1031
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1032
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1033
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1034
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1035
|
-
*/
|
|
1036
|
-
}, {
|
|
1037
|
-
key: "getRelationshipsByTypeOutWithHttpInfo",
|
|
1038
|
-
value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
|
|
1039
|
-
opts = opts || {};
|
|
1040
|
-
var postBody = null;
|
|
1041
|
-
// verify the required parameter 'id' is set
|
|
1042
|
-
if (id === undefined || id === null) {
|
|
1043
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1044
|
-
}
|
|
1045
|
-
// verify the required parameter 'reltypeid' is set
|
|
1046
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
1047
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
1048
|
-
}
|
|
1049
|
-
var pathParams = {
|
|
1050
|
-
'id': id,
|
|
1051
|
-
'reltypeid': reltypeid
|
|
1052
|
-
};
|
|
1053
|
-
var queryParams = {};
|
|
1054
|
-
var headerParams = {
|
|
1055
|
-
'Authorization': opts['authorization'],
|
|
1056
|
-
'cacheduration': opts['cacheduration'],
|
|
1057
|
-
'cachegroup': opts['cachegroup'],
|
|
1058
|
-
'cachekey': opts['cachekey'],
|
|
1059
|
-
'cachescope': opts['cachescope'],
|
|
1060
|
-
'cacheuser': opts['cacheuser'],
|
|
1061
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1062
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1063
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1064
|
-
'transactionid': opts['transactionid']
|
|
1065
|
-
};
|
|
1066
|
-
var formParams = {};
|
|
1067
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1068
|
-
var contentTypes = [];
|
|
1069
|
-
var accepts = ['application/json'];
|
|
1070
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1071
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
* Get Outgoing Relationships By Type
|
|
1076
|
-
* Returns a listing of relationships
|
|
1077
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1078
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1079
|
-
* @param {Object} opts Optional parameters
|
|
1080
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1081
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1082
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1083
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1084
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1085
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1086
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1087
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1088
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1089
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1090
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1091
|
-
*/
|
|
1092
|
-
}, {
|
|
1093
|
-
key: "getRelationshipsByTypeOut",
|
|
1094
|
-
value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
|
|
1095
|
-
return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1096
|
-
return response_and_data.data;
|
|
1097
|
-
});
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* Get Relationship Types
|
|
1102
|
-
* Get the Object Types for a Schema
|
|
1103
|
-
* @param {Number} id
|
|
1104
|
-
* @param {Object} opts Optional parameters
|
|
1105
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1106
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1107
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1108
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1109
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1110
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1111
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1112
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1113
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1114
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1115
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectTypeResponse>} and HTTP response
|
|
1116
|
-
*/
|
|
1117
|
-
}, {
|
|
1118
|
-
key: "getSchemaRelationshipTypesWithHttpInfo",
|
|
1119
|
-
value: function getSchemaRelationshipTypesWithHttpInfo(id, opts) {
|
|
1120
|
-
opts = opts || {};
|
|
1121
|
-
var postBody = null;
|
|
1122
|
-
// verify the required parameter 'id' is set
|
|
1123
|
-
if (id === undefined || id === null) {
|
|
1124
|
-
throw new Error("Missing the required parameter 'id' when calling getSchemaRelationshipTypes");
|
|
1125
|
-
}
|
|
1126
|
-
var pathParams = {
|
|
1127
|
-
'id': id
|
|
1128
|
-
};
|
|
1129
|
-
var queryParams = {};
|
|
1130
|
-
var headerParams = {
|
|
1131
|
-
'Authorization': opts['authorization'],
|
|
1132
|
-
'cacheduration': opts['cacheduration'],
|
|
1133
|
-
'cachegroup': opts['cachegroup'],
|
|
1134
|
-
'cachekey': opts['cachekey'],
|
|
1135
|
-
'cachescope': opts['cachescope'],
|
|
1136
|
-
'cacheuser': opts['cacheuser'],
|
|
1137
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1138
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1139
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1140
|
-
'transactionid': opts['transactionid']
|
|
1141
|
-
};
|
|
1142
|
-
var formParams = {};
|
|
1143
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1144
|
-
var contentTypes = [];
|
|
1145
|
-
var accepts = ['application/json'];
|
|
1146
|
-
var returnType = [_GraphObjectTypeResponse["default"]];
|
|
1147
|
-
return this.apiClient.callApi('/graph/data/schema/{id}/relationshiptypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Get Relationship Types
|
|
1152
|
-
* Get the Object Types for a Schema
|
|
1153
|
-
* @param {Number} id
|
|
1154
|
-
* @param {Object} opts Optional parameters
|
|
1155
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1156
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1157
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1158
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1159
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1160
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1161
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1162
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1163
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1164
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1165
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectTypeResponse>}
|
|
1166
|
-
*/
|
|
1167
|
-
}, {
|
|
1168
|
-
key: "getSchemaRelationshipTypes",
|
|
1169
|
-
value: function getSchemaRelationshipTypes(id, opts) {
|
|
1170
|
-
return this.getSchemaRelationshipTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1171
|
-
return response_and_data.data;
|
|
1172
|
-
});
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* Retrieves the start object types on the relationship type
|
|
1177
|
-
* @param {Number} id
|
|
1178
|
-
* @param {Object} opts Optional parameters
|
|
1179
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1180
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1181
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1182
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1183
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1184
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1185
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1186
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1187
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1188
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1189
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1190
|
-
*/
|
|
1191
|
-
}, {
|
|
1192
|
-
key: "getStartObjectTypesWithHttpInfo",
|
|
1193
|
-
value: function getStartObjectTypesWithHttpInfo(id, opts) {
|
|
1194
|
-
opts = opts || {};
|
|
1195
|
-
var postBody = null;
|
|
1196
|
-
// verify the required parameter 'id' is set
|
|
1197
|
-
if (id === undefined || id === null) {
|
|
1198
|
-
throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
|
|
1199
|
-
}
|
|
1200
|
-
var pathParams = {
|
|
1201
|
-
'id': id
|
|
1202
|
-
};
|
|
1203
|
-
var queryParams = {};
|
|
1204
|
-
var headerParams = {
|
|
1205
|
-
'Authorization': opts['authorization'],
|
|
1206
|
-
'cacheduration': opts['cacheduration'],
|
|
1207
|
-
'cachegroup': opts['cachegroup'],
|
|
1208
|
-
'cachekey': opts['cachekey'],
|
|
1209
|
-
'cachescope': opts['cachescope'],
|
|
1210
|
-
'cacheuser': opts['cacheuser'],
|
|
1211
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1212
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1213
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1214
|
-
'transactionid': opts['transactionid']
|
|
1215
|
-
};
|
|
1216
|
-
var formParams = {};
|
|
1217
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1218
|
-
var contentTypes = [];
|
|
1219
|
-
var accepts = ['application/json'];
|
|
1220
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1221
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* Retrieves the start object types on the relationship type
|
|
1226
|
-
* @param {Number} id
|
|
1227
|
-
* @param {Object} opts Optional parameters
|
|
1228
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1229
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1230
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1231
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1232
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1233
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1234
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1235
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1236
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1237
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1238
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1239
|
-
*/
|
|
1240
|
-
}, {
|
|
1241
|
-
key: "getStartObjectTypes",
|
|
1242
|
-
value: function getStartObjectTypes(id, opts) {
|
|
1243
|
-
return this.getStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1244
|
-
return response_and_data.data;
|
|
1245
|
-
});
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* @param {Number} id
|
|
1250
|
-
* @param {Object} opts Optional parameters
|
|
1251
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1252
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1253
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1254
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1255
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1256
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1257
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1258
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1259
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1260
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1261
|
-
* @param {String} [body]
|
|
1262
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1263
|
-
*/
|
|
1264
|
-
}, {
|
|
1265
|
-
key: "removeEndObjectTypesWithHttpInfo",
|
|
1266
|
-
value: function removeEndObjectTypesWithHttpInfo(id, opts) {
|
|
1267
|
-
opts = opts || {};
|
|
1268
|
-
var postBody = opts['body'];
|
|
1269
|
-
// verify the required parameter 'id' is set
|
|
1270
|
-
if (id === undefined || id === null) {
|
|
1271
|
-
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
1272
|
-
}
|
|
1273
|
-
var pathParams = {
|
|
1274
|
-
'id': id
|
|
1275
|
-
};
|
|
1276
|
-
var queryParams = {};
|
|
1277
|
-
var headerParams = {
|
|
1278
|
-
'Authorization': opts['authorization'],
|
|
1279
|
-
'cacheduration': opts['cacheduration'],
|
|
1280
|
-
'cachegroup': opts['cachegroup'],
|
|
1281
|
-
'cachekey': opts['cachekey'],
|
|
1282
|
-
'cachescope': opts['cachescope'],
|
|
1283
|
-
'cacheuser': opts['cacheuser'],
|
|
1284
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1285
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1286
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1287
|
-
'transactionid': opts['transactionid']
|
|
1288
|
-
};
|
|
1289
|
-
var formParams = {};
|
|
1290
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1291
|
-
var contentTypes = ['application/json'];
|
|
1292
|
-
var accepts = ['application/json'];
|
|
1293
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1294
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* @param {Number} id
|
|
1299
|
-
* @param {Object} opts Optional parameters
|
|
1300
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1301
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1302
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1303
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1304
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1305
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1306
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1307
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1308
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1309
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1310
|
-
* @param {String} opts.body
|
|
1311
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1312
|
-
*/
|
|
1313
|
-
}, {
|
|
1314
|
-
key: "removeEndObjectTypes",
|
|
1315
|
-
value: function removeEndObjectTypes(id, opts) {
|
|
1316
|
-
return this.removeEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1317
|
-
return response_and_data.data;
|
|
1318
|
-
});
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* @param {Number} id
|
|
1323
|
-
* @param {Object} opts Optional parameters
|
|
1324
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1325
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1326
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1327
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1328
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1329
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1330
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1331
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1332
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1333
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1334
|
-
* @param {String} [body]
|
|
1335
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1336
|
-
*/
|
|
1337
|
-
}, {
|
|
1338
|
-
key: "removeStartObjectTypesWithHttpInfo",
|
|
1339
|
-
value: function removeStartObjectTypesWithHttpInfo(id, opts) {
|
|
1340
|
-
opts = opts || {};
|
|
1341
|
-
var postBody = opts['body'];
|
|
1342
|
-
// verify the required parameter 'id' is set
|
|
1343
|
-
if (id === undefined || id === null) {
|
|
1344
|
-
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
1345
|
-
}
|
|
1346
|
-
var pathParams = {
|
|
1347
|
-
'id': id
|
|
1348
|
-
};
|
|
1349
|
-
var queryParams = {};
|
|
1350
|
-
var headerParams = {
|
|
1351
|
-
'Authorization': opts['authorization'],
|
|
1352
|
-
'cacheduration': opts['cacheduration'],
|
|
1353
|
-
'cachegroup': opts['cachegroup'],
|
|
1354
|
-
'cachekey': opts['cachekey'],
|
|
1355
|
-
'cachescope': opts['cachescope'],
|
|
1356
|
-
'cacheuser': opts['cacheuser'],
|
|
1357
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1358
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1359
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1360
|
-
'transactionid': opts['transactionid']
|
|
1361
|
-
};
|
|
1362
|
-
var formParams = {};
|
|
1363
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1364
|
-
var contentTypes = ['application/json'];
|
|
1365
|
-
var accepts = ['application/json'];
|
|
1366
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1367
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* @param {Number} id
|
|
1372
|
-
* @param {Object} opts Optional parameters
|
|
1373
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1374
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1375
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1376
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1377
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1378
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1379
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1380
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1381
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1382
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1383
|
-
* @param {String} opts.body
|
|
1384
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1385
|
-
*/
|
|
1386
|
-
}, {
|
|
1387
|
-
key: "removeStartObjectTypes",
|
|
1388
|
-
value: function removeStartObjectTypes(id, opts) {
|
|
1389
|
-
return this.removeStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1390
|
-
return response_and_data.data;
|
|
1391
|
-
});
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
/**
|
|
1395
|
-
* Update a relationshp type
|
|
1396
|
-
* Performs an update of the relationship type
|
|
1397
|
-
* @param {Number} id The id of the relationship type we are updating
|
|
1398
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1399
|
-
* @param {Object} opts Optional parameters
|
|
1400
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1401
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1402
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1403
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1404
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1405
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1406
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1407
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1408
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1409
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1410
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
1411
|
-
*/
|
|
1412
|
-
}, {
|
|
1413
|
-
key: "updateRelationshipTypeWithHttpInfo",
|
|
1414
|
-
value: function updateRelationshipTypeWithHttpInfo(id, graphRelationshipType, opts) {
|
|
1415
|
-
opts = opts || {};
|
|
1416
|
-
var postBody = graphRelationshipType;
|
|
1417
|
-
// verify the required parameter 'id' is set
|
|
1418
|
-
if (id === undefined || id === null) {
|
|
1419
|
-
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
1420
|
-
}
|
|
1421
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
1422
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
1423
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
|
|
1424
|
-
}
|
|
1425
|
-
var pathParams = {
|
|
1426
|
-
'id': id
|
|
1427
|
-
};
|
|
1428
|
-
var queryParams = {};
|
|
1429
|
-
var headerParams = {
|
|
1430
|
-
'Authorization': opts['authorization'],
|
|
1431
|
-
'cacheduration': opts['cacheduration'],
|
|
1432
|
-
'cachegroup': opts['cachegroup'],
|
|
1433
|
-
'cachekey': opts['cachekey'],
|
|
1434
|
-
'cachescope': opts['cachescope'],
|
|
1435
|
-
'cacheuser': opts['cacheuser'],
|
|
1436
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1437
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1438
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1439
|
-
'transactionid': opts['transactionid']
|
|
1440
|
-
};
|
|
1441
|
-
var formParams = {};
|
|
1442
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1443
|
-
var contentTypes = ['application/json'];
|
|
1444
|
-
var accepts = ['application/json'];
|
|
1445
|
-
var returnType = _GraphRelationshipType["default"];
|
|
1446
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
/**
|
|
1450
|
-
* Update a relationshp type
|
|
1451
|
-
* Performs an update of the relationship type
|
|
1452
|
-
* @param {Number} id The id of the relationship type we are updating
|
|
1453
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1454
|
-
* @param {Object} opts Optional parameters
|
|
1455
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1456
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1457
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1458
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1459
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1460
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1461
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1462
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1463
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1464
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1465
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
1466
|
-
*/
|
|
1467
672
|
}, {
|
|
1468
673
|
key: "updateRelationshipType",
|
|
1469
|
-
value: function updateRelationshipType(id,
|
|
1470
|
-
return this.updateRelationshipTypeWithHttpInfo(id,
|
|
1471
|
-
return response_and_data.data;
|
|
1472
|
-
});
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* @param {Number} id
|
|
1477
|
-
* @param {Array.<Number>} requestBody
|
|
1478
|
-
* @param {Object} opts Optional parameters
|
|
1479
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1480
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1481
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1482
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1483
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1484
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1485
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1486
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1487
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1488
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1489
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1490
|
-
*/
|
|
1491
|
-
}, {
|
|
1492
|
-
key: "updateSchemaRelationshipTypesWithHttpInfo",
|
|
1493
|
-
value: function updateSchemaRelationshipTypesWithHttpInfo(id, requestBody, opts) {
|
|
1494
|
-
opts = opts || {};
|
|
1495
|
-
var postBody = requestBody;
|
|
1496
|
-
// verify the required parameter 'id' is set
|
|
1497
|
-
if (id === undefined || id === null) {
|
|
1498
|
-
throw new Error("Missing the required parameter 'id' when calling updateSchemaRelationshipTypes");
|
|
1499
|
-
}
|
|
1500
|
-
// verify the required parameter 'requestBody' is set
|
|
1501
|
-
if (requestBody === undefined || requestBody === null) {
|
|
1502
|
-
throw new Error("Missing the required parameter 'requestBody' when calling updateSchemaRelationshipTypes");
|
|
1503
|
-
}
|
|
1504
|
-
var pathParams = {
|
|
1505
|
-
'id': id
|
|
1506
|
-
};
|
|
1507
|
-
var queryParams = {};
|
|
1508
|
-
var headerParams = {
|
|
1509
|
-
'Authorization': opts['authorization'],
|
|
1510
|
-
'cacheduration': opts['cacheduration'],
|
|
1511
|
-
'cachegroup': opts['cachegroup'],
|
|
1512
|
-
'cachekey': opts['cachekey'],
|
|
1513
|
-
'cachescope': opts['cachescope'],
|
|
1514
|
-
'cacheuser': opts['cacheuser'],
|
|
1515
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1516
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1517
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1518
|
-
'transactionid': opts['transactionid']
|
|
1519
|
-
};
|
|
1520
|
-
var formParams = {};
|
|
1521
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1522
|
-
var contentTypes = ['application/json'];
|
|
1523
|
-
var accepts = ['application/json'];
|
|
1524
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1525
|
-
return this.apiClient.callApi('/graph/data/schema/{id}/relationshiptypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
/**
|
|
1529
|
-
* @param {Number} id
|
|
1530
|
-
* @param {Array.<Number>} requestBody
|
|
1531
|
-
* @param {Object} opts Optional parameters
|
|
1532
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1533
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1534
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1535
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1536
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1537
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1538
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1539
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1540
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1541
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1542
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1543
|
-
*/
|
|
1544
|
-
}, {
|
|
1545
|
-
key: "updateSchemaRelationshipTypes",
|
|
1546
|
-
value: function updateSchemaRelationshipTypes(id, requestBody, opts) {
|
|
1547
|
-
return this.updateSchemaRelationshipTypesWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
1548
|
-
return response_and_data.data;
|
|
1549
|
-
});
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* @param {Number} id
|
|
1554
|
-
* @param {Object} opts Optional parameters
|
|
1555
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1556
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1557
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1558
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1559
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1560
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1561
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1562
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1563
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1564
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1565
|
-
* @param {String} [body]
|
|
1566
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1567
|
-
*/
|
|
1568
|
-
}, {
|
|
1569
|
-
key: "updateTemplate2WithHttpInfo",
|
|
1570
|
-
value: function updateTemplate2WithHttpInfo(id, opts) {
|
|
1571
|
-
opts = opts || {};
|
|
1572
|
-
var postBody = opts['body'];
|
|
1573
|
-
// verify the required parameter 'id' is set
|
|
1574
|
-
if (id === undefined || id === null) {
|
|
1575
|
-
throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
|
|
1576
|
-
}
|
|
1577
|
-
var pathParams = {
|
|
1578
|
-
'id': id
|
|
1579
|
-
};
|
|
1580
|
-
var queryParams = {};
|
|
1581
|
-
var headerParams = {
|
|
1582
|
-
'Authorization': opts['authorization'],
|
|
1583
|
-
'cacheduration': opts['cacheduration'],
|
|
1584
|
-
'cachegroup': opts['cachegroup'],
|
|
1585
|
-
'cachekey': opts['cachekey'],
|
|
1586
|
-
'cachescope': opts['cachescope'],
|
|
1587
|
-
'cacheuser': opts['cacheuser'],
|
|
1588
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1589
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1590
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1591
|
-
'transactionid': opts['transactionid']
|
|
1592
|
-
};
|
|
1593
|
-
var formParams = {};
|
|
1594
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1595
|
-
var contentTypes = ['application/json'];
|
|
1596
|
-
var accepts = ['application/json'];
|
|
1597
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1598
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* @param {Number} id
|
|
1603
|
-
* @param {Object} opts Optional parameters
|
|
1604
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1605
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1606
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1607
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1608
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1609
|
-
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1610
|
-
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1611
|
-
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1612
|
-
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1613
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1614
|
-
* @param {String} opts.body
|
|
1615
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1616
|
-
*/
|
|
1617
|
-
}, {
|
|
1618
|
-
key: "updateTemplate2",
|
|
1619
|
-
value: function updateTemplate2(id, opts) {
|
|
1620
|
-
return this.updateTemplate2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
674
|
+
value: function updateRelationshipType(id, graphRelationshipTypeInput, opts) {
|
|
675
|
+
return this.updateRelationshipTypeWithHttpInfo(id, graphRelationshipTypeInput, opts).then(function (response_and_data) {
|
|
1621
676
|
return response_and_data.data;
|
|
1622
677
|
});
|
|
1623
678
|
}
|