@gobodo/gobodo-api-promise 0.1.96 → 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 -685
- 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 +25 -194
- package/dist/api/ImagesApi.d.ts.map +1 -1
- package/dist/api/ImagesApi.js +85 -295
- 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 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +204 -92
- 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 +177 -177
- 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 +28 -4
- package/dist/model/Base64ImageUpload.d.ts.map +1 -1
- package/dist/model/Base64ImageUpload.js +73 -12
- 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 +29 -29
- package/dist/model/Comment.d.ts.map +1 -1
- package/dist/model/Comment.js +78 -78
- 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 +51 -51
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +156 -156
- 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 +71 -71
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +192 -192
- package/dist/model/DocumentPart.d.ts +36 -36
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +114 -114
- package/dist/model/DocumentPartType.d.ts +23 -23
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +69 -69
- package/dist/model/DocumentType.d.ts +42 -42
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +114 -114
- 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 +19 -19
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +47 -47
- package/dist/model/File.d.ts +28 -28
- package/dist/model/File.d.ts.map +1 -1
- package/dist/model/File.js +75 -75
- package/dist/model/FileAttachmentUploadObject.d.ts +28 -28
- package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
- package/dist/model/FileAttachmentUploadObject.js +75 -75
- 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 +10 -10
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +32 -32
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +10 -10
- package/dist/model/FormSubmission.d.ts.map +1 -1
- package/dist/model/FormSubmission.js +29 -29
- 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 +42 -42
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +111 -111
- 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 +46 -46
- package/dist/model/GraphSchema.d.ts.map +1 -1
- package/dist/model/GraphSchema.js +123 -123
- 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 +30 -12
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +89 -36
- 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 +13 -13
- package/dist/model/Link.d.ts.map +1 -1
- package/dist/model/Link.js +40 -40
- 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 +14 -14
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +44 -44
- 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 +19 -19
- package/dist/model/PageSchema.d.ts.map +1 -1
- package/dist/model/PageSchema.js +50 -50
- 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 +34 -34
- package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
- package/dist/model/PrivateMessageConversation.js +98 -98
- 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 +19 -19
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +47 -47
- 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 +1 -1
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +1 -1
- package/dist/model/TemplateSchema.js +2 -2
- 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 +14 -14
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +44 -44
- package/dist/model/UserDataPayload.d.ts +14 -14
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +44 -44
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +10 -10
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +31 -31
- 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 +14 -14
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +44 -44
- package/dist/model/UserTag.d.ts +10 -10
- package/dist/model/UserTag.d.ts.map +1 -1
- package/dist/model/UserTag.js +29 -29
- 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 +72 -72
- package/dist/model/Video.d.ts.map +1 -1
- package/dist/model/Video.js +180 -180
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +72 -72
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +180 -180
- package/dist/model/VideoUploadObject.d.ts +72 -72
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +180 -180
- 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,11 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
9
9
|
var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
|
|
10
|
-
var
|
|
11
|
-
var _GraphRelationshipTypeResponse = _interopRequireDefault(require("../model/GraphRelationshipTypeResponse"));
|
|
12
|
-
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
10
|
+
var _GraphRelationshipResponse = _interopRequireDefault(require("../model/GraphRelationshipResponse"));
|
|
13
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
12
|
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); }
|
|
15
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -20,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
20
18
|
* gobodo-api
|
|
21
19
|
* REST Interface for Gobodo API
|
|
22
20
|
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.
|
|
21
|
+
* The version of the OpenAPI document: 0.1.99
|
|
24
22
|
* Contact: info@gobodo.io
|
|
25
23
|
*
|
|
26
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
29
|
/**
|
|
32
30
|
* GraphRelationships service.
|
|
33
31
|
* @module api/GraphRelationshipsApi
|
|
34
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.99
|
|
35
33
|
*/
|
|
36
34
|
var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
35
|
/**
|
|
@@ -47,7 +45,10 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
45
|
}
|
|
48
46
|
|
|
49
47
|
/**
|
|
50
|
-
*
|
|
48
|
+
* Create Relationship
|
|
49
|
+
* Create a new relationship
|
|
50
|
+
* @param {Number} startObjectId
|
|
51
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
|
|
51
52
|
* @param {Object} opts Optional parameters
|
|
52
53
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
53
54
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -55,1766 +56,39 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
55
56
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
56
57
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
57
58
|
* @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)
|
|
59
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
58
60
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
59
61
|
* @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
|
|
60
62
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
61
63
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
62
|
-
* @
|
|
63
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
64
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
|
|
64
65
|
*/
|
|
65
66
|
_createClass(GraphRelationshipsApi, [{
|
|
66
|
-
key: "
|
|
67
|
-
value: function
|
|
67
|
+
key: "createRelationship1WithHttpInfo",
|
|
68
|
+
value: function createRelationship1WithHttpInfo(startObjectId, graphRelationshipPayload, opts) {
|
|
68
69
|
opts = opts || {};
|
|
69
|
-
var postBody =
|
|
70
|
-
// verify the required parameter '
|
|
71
|
-
if (
|
|
72
|
-
throw new Error("Missing the required parameter '
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
var queryParams = {};
|
|
78
|
-
var headerParams = {
|
|
79
|
-
'Authorization': opts['authorization'],
|
|
80
|
-
'cacheduration': opts['cacheduration'],
|
|
81
|
-
'cachegroup': opts['cachegroup'],
|
|
82
|
-
'cachekey': opts['cachekey'],
|
|
83
|
-
'cachescope': opts['cachescope'],
|
|
84
|
-
'cacheuser': opts['cacheuser'],
|
|
85
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
86
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
87
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
88
|
-
'transactionid': opts['transactionid']
|
|
89
|
-
};
|
|
90
|
-
var formParams = {};
|
|
91
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
92
|
-
var contentTypes = ['application/json'];
|
|
93
|
-
var accepts = ['application/json'];
|
|
94
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
95
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @param {Number} id
|
|
100
|
-
* @param {Object} opts Optional parameters
|
|
101
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
102
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
103
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
104
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
105
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
106
|
-
* @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)
|
|
107
|
-
* @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
|
|
108
|
-
* @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
|
|
109
|
-
* @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
|
|
110
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
111
|
-
* @param {String} opts.body
|
|
112
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
113
|
-
*/
|
|
114
|
-
}, {
|
|
115
|
-
key: "addEndObjectTypes1",
|
|
116
|
-
value: function addEndObjectTypes1(id, opts) {
|
|
117
|
-
return this.addEndObjectTypes1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
118
|
-
return response_and_data.data;
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @param {Number} id
|
|
124
|
-
* @param {Object} opts Optional parameters
|
|
125
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
126
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
127
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
128
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
129
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
130
|
-
* @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)
|
|
131
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
132
|
-
* @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
|
|
133
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
134
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
135
|
-
* @param {String} [body]
|
|
136
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
137
|
-
*/
|
|
138
|
-
}, {
|
|
139
|
-
key: "addStartObjectTypesWithHttpInfo",
|
|
140
|
-
value: function addStartObjectTypesWithHttpInfo(id, opts) {
|
|
141
|
-
opts = opts || {};
|
|
142
|
-
var postBody = opts['body'];
|
|
143
|
-
// verify the required parameter 'id' is set
|
|
144
|
-
if (id === undefined || id === null) {
|
|
145
|
-
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
146
|
-
}
|
|
147
|
-
var pathParams = {
|
|
148
|
-
'id': id
|
|
149
|
-
};
|
|
150
|
-
var queryParams = {};
|
|
151
|
-
var headerParams = {
|
|
152
|
-
'Authorization': opts['authorization'],
|
|
153
|
-
'cacheduration': opts['cacheduration'],
|
|
154
|
-
'cachegroup': opts['cachegroup'],
|
|
155
|
-
'cachekey': opts['cachekey'],
|
|
156
|
-
'cachescope': opts['cachescope'],
|
|
157
|
-
'cacheuser': opts['cacheuser'],
|
|
158
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
159
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
160
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
161
|
-
'transactionid': opts['transactionid']
|
|
162
|
-
};
|
|
163
|
-
var formParams = {};
|
|
164
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
165
|
-
var contentTypes = ['application/json'];
|
|
166
|
-
var accepts = ['application/json'];
|
|
167
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
168
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @param {Number} id
|
|
173
|
-
* @param {Object} opts Optional parameters
|
|
174
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
175
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
176
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
177
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
178
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
179
|
-
* @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)
|
|
180
|
-
* @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
|
|
181
|
-
* @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
|
|
182
|
-
* @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
|
|
183
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
184
|
-
* @param {String} opts.body
|
|
185
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
186
|
-
*/
|
|
187
|
-
}, {
|
|
188
|
-
key: "addStartObjectTypes",
|
|
189
|
-
value: function addStartObjectTypes(id, opts) {
|
|
190
|
-
return this.addStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
191
|
-
return response_and_data.data;
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Create a Relationship
|
|
197
|
-
* Create a relationship to another object
|
|
198
|
-
* @param {Number} id The id of the object that we are creating relationships on
|
|
199
|
-
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
200
|
-
* @param {Object} opts Optional parameters
|
|
201
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
202
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
203
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
204
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
205
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
206
|
-
* @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)
|
|
207
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
208
|
-
* @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
|
|
209
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
210
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
211
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
212
|
-
*/
|
|
213
|
-
}, {
|
|
214
|
-
key: "createRelationshipWithHttpInfo",
|
|
215
|
-
value: function createRelationshipWithHttpInfo(id, graphRelationshipPayload, opts) {
|
|
216
|
-
opts = opts || {};
|
|
217
|
-
var postBody = graphRelationshipPayload;
|
|
218
|
-
// verify the required parameter 'id' is set
|
|
219
|
-
if (id === undefined || id === null) {
|
|
220
|
-
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
221
|
-
}
|
|
222
|
-
// verify the required parameter 'graphRelationshipPayload' is set
|
|
223
|
-
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
224
|
-
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
225
|
-
}
|
|
226
|
-
var pathParams = {
|
|
227
|
-
'id': id
|
|
228
|
-
};
|
|
229
|
-
var queryParams = {};
|
|
230
|
-
var headerParams = {
|
|
231
|
-
'Authorization': opts['authorization'],
|
|
232
|
-
'cacheduration': opts['cacheduration'],
|
|
233
|
-
'cachegroup': opts['cachegroup'],
|
|
234
|
-
'cachekey': opts['cachekey'],
|
|
235
|
-
'cachescope': opts['cachescope'],
|
|
236
|
-
'cacheuser': opts['cacheuser'],
|
|
237
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
238
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
239
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
240
|
-
'transactionid': opts['transactionid']
|
|
241
|
-
};
|
|
242
|
-
var formParams = {};
|
|
243
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
244
|
-
var contentTypes = ['application/json'];
|
|
245
|
-
var accepts = ['application/json'];
|
|
246
|
-
var returnType = _GraphRelationship["default"];
|
|
247
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Create a Relationship
|
|
252
|
-
* Create a relationship to another object
|
|
253
|
-
* @param {Number} id The id of the object that we are creating relationships on
|
|
254
|
-
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
255
|
-
* @param {Object} opts Optional parameters
|
|
256
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
257
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
258
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
259
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
260
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
261
|
-
* @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)
|
|
262
|
-
* @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
|
|
263
|
-
* @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
|
|
264
|
-
* @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
|
|
265
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
266
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
267
|
-
*/
|
|
268
|
-
}, {
|
|
269
|
-
key: "createRelationship",
|
|
270
|
-
value: function createRelationship(id, graphRelationshipPayload, opts) {
|
|
271
|
-
return this.createRelationshipWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
272
|
-
return response_and_data.data;
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Create relationshp type
|
|
278
|
-
* Creates a new relationship type
|
|
279
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
280
|
-
* @param {Object} opts Optional parameters
|
|
281
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
282
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
283
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
284
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
285
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
286
|
-
* @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)
|
|
287
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
288
|
-
* @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
|
|
289
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
290
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
291
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
292
|
-
*/
|
|
293
|
-
}, {
|
|
294
|
-
key: "createRelationshipTypeWithHttpInfo",
|
|
295
|
-
value: function createRelationshipTypeWithHttpInfo(graphRelationshipType, opts) {
|
|
296
|
-
opts = opts || {};
|
|
297
|
-
var postBody = graphRelationshipType;
|
|
298
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
299
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
300
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
301
|
-
}
|
|
302
|
-
var pathParams = {};
|
|
303
|
-
var queryParams = {};
|
|
304
|
-
var headerParams = {
|
|
305
|
-
'Authorization': opts['authorization'],
|
|
306
|
-
'cacheduration': opts['cacheduration'],
|
|
307
|
-
'cachegroup': opts['cachegroup'],
|
|
308
|
-
'cachekey': opts['cachekey'],
|
|
309
|
-
'cachescope': opts['cachescope'],
|
|
310
|
-
'cacheuser': opts['cacheuser'],
|
|
311
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
312
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
313
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
314
|
-
'transactionid': opts['transactionid']
|
|
315
|
-
};
|
|
316
|
-
var formParams = {};
|
|
317
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
318
|
-
var contentTypes = ['application/json'];
|
|
319
|
-
var accepts = ['application/json'];
|
|
320
|
-
var returnType = _GraphRelationshipType["default"];
|
|
321
|
-
return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Create relationshp type
|
|
326
|
-
* Creates a new relationship type
|
|
327
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
328
|
-
* @param {Object} opts Optional parameters
|
|
329
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
330
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
331
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
332
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
333
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
334
|
-
* @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)
|
|
335
|
-
* @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
|
|
336
|
-
* @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
|
|
337
|
-
* @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
|
|
338
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
339
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
340
|
-
*/
|
|
341
|
-
}, {
|
|
342
|
-
key: "createRelationshipType",
|
|
343
|
-
value: function createRelationshipType(graphRelationshipType, opts) {
|
|
344
|
-
return this.createRelationshipTypeWithHttpInfo(graphRelationshipType, opts).then(function (response_and_data) {
|
|
345
|
-
return response_and_data.data;
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Create Relationships
|
|
351
|
-
* Create a relationships to other objects
|
|
352
|
-
* @param {Number} id The id of the object that we are creating relationships on
|
|
353
|
-
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
354
|
-
* @param {Object} opts Optional parameters
|
|
355
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
356
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
357
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
358
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
359
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
360
|
-
* @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)
|
|
361
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
362
|
-
* @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
|
|
363
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
364
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
365
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
366
|
-
*/
|
|
367
|
-
}, {
|
|
368
|
-
key: "createRelationshipsWithHttpInfo",
|
|
369
|
-
value: function createRelationshipsWithHttpInfo(id, graphRelationshipPayload, opts) {
|
|
370
|
-
opts = opts || {};
|
|
371
|
-
var postBody = graphRelationshipPayload;
|
|
372
|
-
// verify the required parameter 'id' is set
|
|
373
|
-
if (id === undefined || id === null) {
|
|
374
|
-
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
375
|
-
}
|
|
376
|
-
// verify the required parameter 'graphRelationshipPayload' is set
|
|
377
|
-
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
378
|
-
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
379
|
-
}
|
|
380
|
-
var pathParams = {
|
|
381
|
-
'id': id
|
|
382
|
-
};
|
|
383
|
-
var queryParams = {};
|
|
384
|
-
var headerParams = {
|
|
385
|
-
'Authorization': opts['authorization'],
|
|
386
|
-
'cacheduration': opts['cacheduration'],
|
|
387
|
-
'cachegroup': opts['cachegroup'],
|
|
388
|
-
'cachekey': opts['cachekey'],
|
|
389
|
-
'cachescope': opts['cachescope'],
|
|
390
|
-
'cacheuser': opts['cacheuser'],
|
|
391
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
392
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
393
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
394
|
-
'transactionid': opts['transactionid']
|
|
395
|
-
};
|
|
396
|
-
var formParams = {};
|
|
397
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
398
|
-
var contentTypes = ['application/json'];
|
|
399
|
-
var accepts = ['application/json'];
|
|
400
|
-
var returnType = [_GraphRelationship["default"]];
|
|
401
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Create Relationships
|
|
406
|
-
* Create a relationships to other objects
|
|
407
|
-
* @param {Number} id The id of the object that we are creating relationships on
|
|
408
|
-
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
409
|
-
* @param {Object} opts Optional parameters
|
|
410
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
411
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
412
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
413
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
414
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
415
|
-
* @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)
|
|
416
|
-
* @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
|
|
417
|
-
* @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
|
|
418
|
-
* @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
|
|
419
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
420
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
421
|
-
*/
|
|
422
|
-
}, {
|
|
423
|
-
key: "createRelationships",
|
|
424
|
-
value: function createRelationships(id, graphRelationshipPayload, opts) {
|
|
425
|
-
return this.createRelationshipsWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
426
|
-
return response_and_data.data;
|
|
427
|
-
});
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Delete Relationship
|
|
432
|
-
* Delete an individual relationship
|
|
433
|
-
* @param {Number} id
|
|
434
|
-
* @param {Object} opts Optional parameters
|
|
435
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
436
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
437
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
438
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
439
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
440
|
-
* @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)
|
|
441
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
442
|
-
* @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
|
|
443
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
444
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
445
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
446
|
-
*/
|
|
447
|
-
}, {
|
|
448
|
-
key: "deleteRelationshipWithHttpInfo",
|
|
449
|
-
value: function deleteRelationshipWithHttpInfo(id, opts) {
|
|
450
|
-
opts = opts || {};
|
|
451
|
-
var postBody = null;
|
|
452
|
-
// verify the required parameter 'id' is set
|
|
453
|
-
if (id === undefined || id === null) {
|
|
454
|
-
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
455
|
-
}
|
|
456
|
-
var pathParams = {
|
|
457
|
-
'id': id
|
|
458
|
-
};
|
|
459
|
-
var queryParams = {};
|
|
460
|
-
var headerParams = {
|
|
461
|
-
'Authorization': opts['authorization'],
|
|
462
|
-
'cacheduration': opts['cacheduration'],
|
|
463
|
-
'cachegroup': opts['cachegroup'],
|
|
464
|
-
'cachekey': opts['cachekey'],
|
|
465
|
-
'cachescope': opts['cachescope'],
|
|
466
|
-
'cacheuser': opts['cacheuser'],
|
|
467
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
468
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
469
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
470
|
-
'transactionid': opts['transactionid']
|
|
471
|
-
};
|
|
472
|
-
var formParams = {};
|
|
473
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
474
|
-
var contentTypes = [];
|
|
475
|
-
var accepts = ['*/*'];
|
|
476
|
-
var returnType = null;
|
|
477
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Delete Relationship
|
|
482
|
-
* Delete an individual relationship
|
|
483
|
-
* @param {Number} id
|
|
484
|
-
* @param {Object} opts Optional parameters
|
|
485
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
486
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
487
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
488
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
489
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
490
|
-
* @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)
|
|
491
|
-
* @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
|
|
492
|
-
* @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
|
|
493
|
-
* @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
|
|
494
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
495
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
496
|
-
*/
|
|
497
|
-
}, {
|
|
498
|
-
key: "deleteRelationship",
|
|
499
|
-
value: function deleteRelationship(id, opts) {
|
|
500
|
-
return this.deleteRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
501
|
-
return response_and_data.data;
|
|
502
|
-
});
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* Root for the API
|
|
507
|
-
* @param {Object} opts Optional parameters
|
|
508
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
509
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
510
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
511
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
512
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
513
|
-
* @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)
|
|
514
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
515
|
-
* @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
|
|
516
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
517
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
518
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
519
|
-
*/
|
|
520
|
-
}, {
|
|
521
|
-
key: "get10WithHttpInfo",
|
|
522
|
-
value: function get10WithHttpInfo(opts) {
|
|
523
|
-
opts = opts || {};
|
|
524
|
-
var postBody = null;
|
|
525
|
-
var pathParams = {};
|
|
526
|
-
var queryParams = {};
|
|
527
|
-
var headerParams = {
|
|
528
|
-
'Authorization': opts['authorization'],
|
|
529
|
-
'cacheduration': opts['cacheduration'],
|
|
530
|
-
'cachegroup': opts['cachegroup'],
|
|
531
|
-
'cachekey': opts['cachekey'],
|
|
532
|
-
'cachescope': opts['cachescope'],
|
|
533
|
-
'cacheuser': opts['cacheuser'],
|
|
534
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
535
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
536
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
537
|
-
'transactionid': opts['transactionid']
|
|
538
|
-
};
|
|
539
|
-
var formParams = {};
|
|
540
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
541
|
-
var contentTypes = [];
|
|
542
|
-
var accepts = ['*/*'];
|
|
543
|
-
var returnType = null;
|
|
544
|
-
return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Root for the API
|
|
549
|
-
* @param {Object} opts Optional parameters
|
|
550
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
551
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
552
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
553
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
554
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
555
|
-
* @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)
|
|
556
|
-
* @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
|
|
557
|
-
* @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
|
|
558
|
-
* @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
|
|
559
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
560
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
561
|
-
*/
|
|
562
|
-
}, {
|
|
563
|
-
key: "get10",
|
|
564
|
-
value: function get10(opts) {
|
|
565
|
-
return this.get10WithHttpInfo(opts).then(function (response_and_data) {
|
|
566
|
-
return response_and_data.data;
|
|
567
|
-
});
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* Root for the API
|
|
572
|
-
* @param {Object} opts Optional parameters
|
|
573
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
574
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
575
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
576
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
577
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
578
|
-
* @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)
|
|
579
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
580
|
-
* @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
|
|
581
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
582
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
583
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
584
|
-
*/
|
|
585
|
-
}, {
|
|
586
|
-
key: "get9WithHttpInfo",
|
|
587
|
-
value: function get9WithHttpInfo(opts) {
|
|
588
|
-
opts = opts || {};
|
|
589
|
-
var postBody = null;
|
|
590
|
-
var pathParams = {};
|
|
591
|
-
var queryParams = {};
|
|
592
|
-
var headerParams = {
|
|
593
|
-
'Authorization': opts['authorization'],
|
|
594
|
-
'cacheduration': opts['cacheduration'],
|
|
595
|
-
'cachegroup': opts['cachegroup'],
|
|
596
|
-
'cachekey': opts['cachekey'],
|
|
597
|
-
'cachescope': opts['cachescope'],
|
|
598
|
-
'cacheuser': opts['cacheuser'],
|
|
599
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
600
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
601
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
602
|
-
'transactionid': opts['transactionid']
|
|
603
|
-
};
|
|
604
|
-
var formParams = {};
|
|
605
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
606
|
-
var contentTypes = [];
|
|
607
|
-
var accepts = ['*/*'];
|
|
608
|
-
var returnType = null;
|
|
609
|
-
return this.apiClient.callApi('/graph/data/relationship', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* Root for the API
|
|
614
|
-
* @param {Object} opts Optional parameters
|
|
615
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
616
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
617
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
618
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
619
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
620
|
-
* @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)
|
|
621
|
-
* @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
|
|
622
|
-
* @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
|
|
623
|
-
* @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
|
|
624
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
625
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
626
|
-
*/
|
|
627
|
-
}, {
|
|
628
|
-
key: "get9",
|
|
629
|
-
value: function get9(opts) {
|
|
630
|
-
return this.get9WithHttpInfo(opts).then(function (response_and_data) {
|
|
631
|
-
return response_and_data.data;
|
|
632
|
-
});
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* Get All Relationships
|
|
637
|
-
* Returns a listing of relationships
|
|
638
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
639
|
-
* @param {Object} opts Optional parameters
|
|
640
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
641
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
642
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
643
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
644
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
645
|
-
* @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)
|
|
646
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
647
|
-
* @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
|
|
648
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
649
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
650
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
651
|
-
*/
|
|
652
|
-
}, {
|
|
653
|
-
key: "getAllRelationshipsWithHttpInfo",
|
|
654
|
-
value: function getAllRelationshipsWithHttpInfo(id, opts) {
|
|
655
|
-
opts = opts || {};
|
|
656
|
-
var postBody = null;
|
|
657
|
-
// verify the required parameter 'id' is set
|
|
658
|
-
if (id === undefined || id === null) {
|
|
659
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
660
|
-
}
|
|
661
|
-
var pathParams = {
|
|
662
|
-
'id': id
|
|
663
|
-
};
|
|
664
|
-
var queryParams = {};
|
|
665
|
-
var headerParams = {
|
|
666
|
-
'Authorization': opts['authorization'],
|
|
667
|
-
'cacheduration': opts['cacheduration'],
|
|
668
|
-
'cachegroup': opts['cachegroup'],
|
|
669
|
-
'cachekey': opts['cachekey'],
|
|
670
|
-
'cachescope': opts['cachescope'],
|
|
671
|
-
'cacheuser': opts['cacheuser'],
|
|
672
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
673
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
674
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
675
|
-
'transactionid': opts['transactionid']
|
|
676
|
-
};
|
|
677
|
-
var formParams = {};
|
|
678
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
679
|
-
var contentTypes = [];
|
|
680
|
-
var accepts = ['application/json'];
|
|
681
|
-
var returnType = [_GraphRelationship["default"]];
|
|
682
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* Get All Relationships
|
|
687
|
-
* Returns a listing of relationships
|
|
688
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
689
|
-
* @param {Object} opts Optional parameters
|
|
690
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
691
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
692
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
693
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
694
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
695
|
-
* @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)
|
|
696
|
-
* @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
|
|
697
|
-
* @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
|
|
698
|
-
* @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
|
|
699
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
700
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
701
|
-
*/
|
|
702
|
-
}, {
|
|
703
|
-
key: "getAllRelationships",
|
|
704
|
-
value: function getAllRelationships(id, opts) {
|
|
705
|
-
return this.getAllRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
706
|
-
return response_and_data.data;
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
/**
|
|
711
|
-
* Get All Relationships By Type
|
|
712
|
-
* Returns a listing of relationships
|
|
713
|
-
* @param {Number} id The id of the relationship type we are searching for
|
|
714
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
715
|
-
* @param {Object} opts Optional parameters
|
|
716
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
717
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
718
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
719
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
720
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
721
|
-
* @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)
|
|
722
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
723
|
-
* @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
|
|
724
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
725
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
726
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
727
|
-
*/
|
|
728
|
-
}, {
|
|
729
|
-
key: "getAllRelationshipsByTypeWithHttpInfo",
|
|
730
|
-
value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
|
|
731
|
-
opts = opts || {};
|
|
732
|
-
var postBody = null;
|
|
733
|
-
// verify the required parameter 'id' is set
|
|
734
|
-
if (id === undefined || id === null) {
|
|
735
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
736
|
-
}
|
|
737
|
-
// verify the required parameter 'reltypeid' is set
|
|
738
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
739
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
740
|
-
}
|
|
741
|
-
var pathParams = {
|
|
742
|
-
'id': id,
|
|
743
|
-
'reltypeid': reltypeid
|
|
744
|
-
};
|
|
745
|
-
var queryParams = {};
|
|
746
|
-
var headerParams = {
|
|
747
|
-
'Authorization': opts['authorization'],
|
|
748
|
-
'cacheduration': opts['cacheduration'],
|
|
749
|
-
'cachegroup': opts['cachegroup'],
|
|
750
|
-
'cachekey': opts['cachekey'],
|
|
751
|
-
'cachescope': opts['cachescope'],
|
|
752
|
-
'cacheuser': opts['cacheuser'],
|
|
753
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
754
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
755
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
756
|
-
'transactionid': opts['transactionid']
|
|
757
|
-
};
|
|
758
|
-
var formParams = {};
|
|
759
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
760
|
-
var contentTypes = [];
|
|
761
|
-
var accepts = ['application/json'];
|
|
762
|
-
var returnType = [_GraphRelationship["default"]];
|
|
763
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* Get All Relationships By Type
|
|
768
|
-
* Returns a listing of relationships
|
|
769
|
-
* @param {Number} id The id of the relationship type we are searching for
|
|
770
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
771
|
-
* @param {Object} opts Optional parameters
|
|
772
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
773
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
774
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
775
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
776
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
777
|
-
* @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)
|
|
778
|
-
* @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
|
|
779
|
-
* @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
|
|
780
|
-
* @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
|
|
781
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
782
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
783
|
-
*/
|
|
784
|
-
}, {
|
|
785
|
-
key: "getAllRelationshipsByType",
|
|
786
|
-
value: function getAllRelationshipsByType(id, reltypeid, opts) {
|
|
787
|
-
return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
788
|
-
return response_and_data.data;
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/**
|
|
793
|
-
* Retrieves the end object types on the relationship type
|
|
794
|
-
* @param {Number} id
|
|
795
|
-
* @param {Object} opts Optional parameters
|
|
796
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
797
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
798
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
799
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
800
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
801
|
-
* @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)
|
|
802
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
803
|
-
* @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
|
|
804
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
805
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
806
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
807
|
-
*/
|
|
808
|
-
}, {
|
|
809
|
-
key: "getEndObjectTypesWithHttpInfo",
|
|
810
|
-
value: function getEndObjectTypesWithHttpInfo(id, opts) {
|
|
811
|
-
opts = opts || {};
|
|
812
|
-
var postBody = null;
|
|
813
|
-
// verify the required parameter 'id' is set
|
|
814
|
-
if (id === undefined || id === null) {
|
|
815
|
-
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
|
|
816
|
-
}
|
|
817
|
-
var pathParams = {
|
|
818
|
-
'id': id
|
|
819
|
-
};
|
|
820
|
-
var queryParams = {};
|
|
821
|
-
var headerParams = {
|
|
822
|
-
'Authorization': opts['authorization'],
|
|
823
|
-
'cacheduration': opts['cacheduration'],
|
|
824
|
-
'cachegroup': opts['cachegroup'],
|
|
825
|
-
'cachekey': opts['cachekey'],
|
|
826
|
-
'cachescope': opts['cachescope'],
|
|
827
|
-
'cacheuser': opts['cacheuser'],
|
|
828
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
829
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
830
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
831
|
-
'transactionid': opts['transactionid']
|
|
832
|
-
};
|
|
833
|
-
var formParams = {};
|
|
834
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
835
|
-
var contentTypes = [];
|
|
836
|
-
var accepts = ['application/json'];
|
|
837
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
838
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* Retrieves the end object types on the relationship type
|
|
843
|
-
* @param {Number} id
|
|
844
|
-
* @param {Object} opts Optional parameters
|
|
845
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
846
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
847
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
848
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
849
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
850
|
-
* @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)
|
|
851
|
-
* @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
|
|
852
|
-
* @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
|
|
853
|
-
* @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
|
|
854
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
855
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
856
|
-
*/
|
|
857
|
-
}, {
|
|
858
|
-
key: "getEndObjectTypes",
|
|
859
|
-
value: function getEndObjectTypes(id, opts) {
|
|
860
|
-
return this.getEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
861
|
-
return response_and_data.data;
|
|
862
|
-
});
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/**
|
|
866
|
-
* @param {Number} id
|
|
867
|
-
* @param {Object} opts Optional parameters
|
|
868
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
869
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
870
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
871
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
872
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
873
|
-
* @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)
|
|
874
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
875
|
-
* @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
|
|
876
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
877
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
878
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
879
|
-
*/
|
|
880
|
-
}, {
|
|
881
|
-
key: "getFields2WithHttpInfo",
|
|
882
|
-
value: function getFields2WithHttpInfo(id, opts) {
|
|
883
|
-
opts = opts || {};
|
|
884
|
-
var postBody = null;
|
|
885
|
-
// verify the required parameter 'id' is set
|
|
886
|
-
if (id === undefined || id === null) {
|
|
887
|
-
throw new Error("Missing the required parameter 'id' when calling getFields2");
|
|
888
|
-
}
|
|
889
|
-
var pathParams = {
|
|
890
|
-
'id': id
|
|
891
|
-
};
|
|
892
|
-
var queryParams = {};
|
|
893
|
-
var headerParams = {
|
|
894
|
-
'Authorization': opts['authorization'],
|
|
895
|
-
'cacheduration': opts['cacheduration'],
|
|
896
|
-
'cachegroup': opts['cachegroup'],
|
|
897
|
-
'cachekey': opts['cachekey'],
|
|
898
|
-
'cachescope': opts['cachescope'],
|
|
899
|
-
'cacheuser': opts['cacheuser'],
|
|
900
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
901
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
902
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
903
|
-
'transactionid': opts['transactionid']
|
|
904
|
-
};
|
|
905
|
-
var formParams = {};
|
|
906
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
907
|
-
var contentTypes = [];
|
|
908
|
-
var accepts = ['application/json'];
|
|
909
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
910
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* @param {Number} id
|
|
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/PurgeDataDefaultResponseValue}
|
|
927
|
-
*/
|
|
928
|
-
}, {
|
|
929
|
-
key: "getFields2",
|
|
930
|
-
value: function getFields2(id, opts) {
|
|
931
|
-
return this.getFields2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
932
|
-
return response_and_data.data;
|
|
933
|
-
});
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* Get Properties
|
|
938
|
-
* Get all properties attached to a relationship
|
|
939
|
-
* @param {Number} id
|
|
940
|
-
* @param {Object} opts Optional parameters
|
|
941
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
942
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
943
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
944
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
945
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
946
|
-
* @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)
|
|
947
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
948
|
-
* @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
|
|
949
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
950
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
951
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
|
|
952
|
-
*/
|
|
953
|
-
}, {
|
|
954
|
-
key: "getRelPropertiesWithHttpInfo",
|
|
955
|
-
value: function getRelPropertiesWithHttpInfo(id, opts) {
|
|
956
|
-
opts = opts || {};
|
|
957
|
-
var postBody = null;
|
|
958
|
-
// verify the required parameter 'id' is set
|
|
959
|
-
if (id === undefined || id === null) {
|
|
960
|
-
throw new Error("Missing the required parameter 'id' when calling getRelProperties");
|
|
961
|
-
}
|
|
962
|
-
var pathParams = {
|
|
963
|
-
'id': id
|
|
964
|
-
};
|
|
965
|
-
var queryParams = {};
|
|
966
|
-
var headerParams = {
|
|
967
|
-
'Authorization': opts['authorization'],
|
|
968
|
-
'cacheduration': opts['cacheduration'],
|
|
969
|
-
'cachegroup': opts['cachegroup'],
|
|
970
|
-
'cachekey': opts['cachekey'],
|
|
971
|
-
'cachescope': opts['cachescope'],
|
|
972
|
-
'cacheuser': opts['cacheuser'],
|
|
973
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
974
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
975
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
976
|
-
'transactionid': opts['transactionid']
|
|
977
|
-
};
|
|
978
|
-
var formParams = {};
|
|
979
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
980
|
-
var contentTypes = [];
|
|
981
|
-
var accepts = ['application/json'];
|
|
982
|
-
var returnType = {
|
|
983
|
-
'String': _PurgeDataDefaultResponseValue["default"]
|
|
984
|
-
};
|
|
985
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
/**
|
|
989
|
-
* Get Properties
|
|
990
|
-
* Get all properties attached to a relationship
|
|
991
|
-
* @param {Number} id
|
|
992
|
-
* @param {Object} opts Optional parameters
|
|
993
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
994
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
995
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
996
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
997
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
998
|
-
* @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)
|
|
999
|
-
* @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
|
|
1000
|
-
* @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
|
|
1001
|
-
* @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
|
|
1002
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1003
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
1004
|
-
*/
|
|
1005
|
-
}, {
|
|
1006
|
-
key: "getRelProperties",
|
|
1007
|
-
value: function getRelProperties(id, opts) {
|
|
1008
|
-
return this.getRelPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1009
|
-
return response_and_data.data;
|
|
1010
|
-
});
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* Get Property
|
|
1015
|
-
* Get a single property attached to a relationship
|
|
1016
|
-
* @param {Number} id
|
|
1017
|
-
* @param {String} prop
|
|
1018
|
-
* @param {Object} opts Optional parameters
|
|
1019
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1020
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1021
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1022
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1023
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1024
|
-
* @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)
|
|
1025
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1026
|
-
* @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
|
|
1027
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1028
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1029
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
|
|
1030
|
-
*/
|
|
1031
|
-
}, {
|
|
1032
|
-
key: "getRelPropertyWithHttpInfo",
|
|
1033
|
-
value: function getRelPropertyWithHttpInfo(id, prop, opts) {
|
|
1034
|
-
opts = opts || {};
|
|
1035
|
-
var postBody = null;
|
|
1036
|
-
// verify the required parameter 'id' is set
|
|
1037
|
-
if (id === undefined || id === null) {
|
|
1038
|
-
throw new Error("Missing the required parameter 'id' when calling getRelProperty");
|
|
1039
|
-
}
|
|
1040
|
-
// verify the required parameter 'prop' is set
|
|
1041
|
-
if (prop === undefined || prop === null) {
|
|
1042
|
-
throw new Error("Missing the required parameter 'prop' when calling getRelProperty");
|
|
1043
|
-
}
|
|
1044
|
-
var pathParams = {
|
|
1045
|
-
'id': id,
|
|
1046
|
-
'prop': prop
|
|
1047
|
-
};
|
|
1048
|
-
var queryParams = {};
|
|
1049
|
-
var headerParams = {
|
|
1050
|
-
'Authorization': opts['authorization'],
|
|
1051
|
-
'cacheduration': opts['cacheduration'],
|
|
1052
|
-
'cachegroup': opts['cachegroup'],
|
|
1053
|
-
'cachekey': opts['cachekey'],
|
|
1054
|
-
'cachescope': opts['cachescope'],
|
|
1055
|
-
'cacheuser': opts['cacheuser'],
|
|
1056
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1057
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1058
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1059
|
-
'transactionid': opts['transactionid']
|
|
1060
|
-
};
|
|
1061
|
-
var formParams = {};
|
|
1062
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1063
|
-
var contentTypes = [];
|
|
1064
|
-
var accepts = ['application/json'];
|
|
1065
|
-
var returnType = {
|
|
1066
|
-
'String': _PurgeDataDefaultResponseValue["default"]
|
|
1067
|
-
};
|
|
1068
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* Get Property
|
|
1073
|
-
* Get a single property attached to a relationship
|
|
1074
|
-
* @param {Number} id
|
|
1075
|
-
* @param {String} prop
|
|
1076
|
-
* @param {Object} opts Optional parameters
|
|
1077
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1078
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1079
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1080
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1081
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1082
|
-
* @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)
|
|
1083
|
-
* @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
|
|
1084
|
-
* @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
|
|
1085
|
-
* @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
|
|
1086
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1087
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
1088
|
-
*/
|
|
1089
|
-
}, {
|
|
1090
|
-
key: "getRelProperty",
|
|
1091
|
-
value: function getRelProperty(id, prop, opts) {
|
|
1092
|
-
return this.getRelPropertyWithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
1093
|
-
return response_and_data.data;
|
|
1094
|
-
});
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* Gets the relationship by id
|
|
1099
|
-
* @param {Number} id
|
|
1100
|
-
* @param {Object} opts Optional parameters
|
|
1101
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1102
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1103
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1104
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1105
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1106
|
-
* @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)
|
|
1107
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1108
|
-
* @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
|
|
1109
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1110
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1111
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
1112
|
-
*/
|
|
1113
|
-
}, {
|
|
1114
|
-
key: "getRelationshipByIdWithHttpInfo",
|
|
1115
|
-
value: function getRelationshipByIdWithHttpInfo(id, opts) {
|
|
1116
|
-
opts = opts || {};
|
|
1117
|
-
var postBody = null;
|
|
1118
|
-
// verify the required parameter 'id' is set
|
|
1119
|
-
if (id === undefined || id === null) {
|
|
1120
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
1121
|
-
}
|
|
1122
|
-
var pathParams = {
|
|
1123
|
-
'id': id
|
|
1124
|
-
};
|
|
1125
|
-
var queryParams = {};
|
|
1126
|
-
var headerParams = {
|
|
1127
|
-
'Authorization': opts['authorization'],
|
|
1128
|
-
'cacheduration': opts['cacheduration'],
|
|
1129
|
-
'cachegroup': opts['cachegroup'],
|
|
1130
|
-
'cachekey': opts['cachekey'],
|
|
1131
|
-
'cachescope': opts['cachescope'],
|
|
1132
|
-
'cacheuser': opts['cacheuser'],
|
|
1133
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1134
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1135
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1136
|
-
'transactionid': opts['transactionid']
|
|
1137
|
-
};
|
|
1138
|
-
var formParams = {};
|
|
1139
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1140
|
-
var contentTypes = [];
|
|
1141
|
-
var accepts = ['application/json'];
|
|
1142
|
-
var returnType = _GraphRelationship["default"];
|
|
1143
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* Gets the relationship by id
|
|
1148
|
-
* @param {Number} id
|
|
1149
|
-
* @param {Object} opts Optional parameters
|
|
1150
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1151
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1152
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1153
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1154
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1155
|
-
* @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)
|
|
1156
|
-
* @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
|
|
1157
|
-
* @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
|
|
1158
|
-
* @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
|
|
1159
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1160
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
1161
|
-
*/
|
|
1162
|
-
}, {
|
|
1163
|
-
key: "getRelationshipById",
|
|
1164
|
-
value: function getRelationshipById(id, opts) {
|
|
1165
|
-
return this.getRelationshipByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1166
|
-
return response_and_data.data;
|
|
1167
|
-
});
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* Gets the relationship type by the java classname
|
|
1172
|
-
* @param {String} classname
|
|
1173
|
-
* @param {Object} opts Optional parameters
|
|
1174
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1175
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1176
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1177
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1178
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1179
|
-
* @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)
|
|
1180
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1181
|
-
* @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
|
|
1182
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1183
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1184
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
1185
|
-
*/
|
|
1186
|
-
}, {
|
|
1187
|
-
key: "getRelationshipTypeByClassNameWithHttpInfo",
|
|
1188
|
-
value: function getRelationshipTypeByClassNameWithHttpInfo(classname, opts) {
|
|
1189
|
-
opts = opts || {};
|
|
1190
|
-
var postBody = null;
|
|
1191
|
-
// verify the required parameter 'classname' is set
|
|
1192
|
-
if (classname === undefined || classname === null) {
|
|
1193
|
-
throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
|
|
1194
|
-
}
|
|
1195
|
-
var pathParams = {
|
|
1196
|
-
'classname': classname
|
|
1197
|
-
};
|
|
1198
|
-
var queryParams = {};
|
|
1199
|
-
var headerParams = {
|
|
1200
|
-
'Authorization': opts['authorization'],
|
|
1201
|
-
'cacheduration': opts['cacheduration'],
|
|
1202
|
-
'cachegroup': opts['cachegroup'],
|
|
1203
|
-
'cachekey': opts['cachekey'],
|
|
1204
|
-
'cachescope': opts['cachescope'],
|
|
1205
|
-
'cacheuser': opts['cacheuser'],
|
|
1206
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1207
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1208
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1209
|
-
'transactionid': opts['transactionid']
|
|
1210
|
-
};
|
|
1211
|
-
var formParams = {};
|
|
1212
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1213
|
-
var contentTypes = [];
|
|
1214
|
-
var accepts = ['*/*'];
|
|
1215
|
-
var returnType = _GraphRelationshipType["default"];
|
|
1216
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* Gets the relationship type by the java classname
|
|
1221
|
-
* @param {String} classname
|
|
1222
|
-
* @param {Object} opts Optional parameters
|
|
1223
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1224
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1225
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1226
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1227
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1228
|
-
* @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)
|
|
1229
|
-
* @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
|
|
1230
|
-
* @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
|
|
1231
|
-
* @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
|
|
1232
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1233
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
1234
|
-
*/
|
|
1235
|
-
}, {
|
|
1236
|
-
key: "getRelationshipTypeByClassName",
|
|
1237
|
-
value: function getRelationshipTypeByClassName(classname, opts) {
|
|
1238
|
-
return this.getRelationshipTypeByClassNameWithHttpInfo(classname, opts).then(function (response_and_data) {
|
|
1239
|
-
return response_and_data.data;
|
|
1240
|
-
});
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* Gets the relationship type by key
|
|
1245
|
-
* @param {String} id
|
|
1246
|
-
* @param {Object} opts Optional parameters
|
|
1247
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1248
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1249
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1250
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1251
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1252
|
-
* @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)
|
|
1253
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1254
|
-
* @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
|
|
1255
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1256
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1257
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
1258
|
-
*/
|
|
1259
|
-
}, {
|
|
1260
|
-
key: "getRelationshipTypeByIdWithHttpInfo",
|
|
1261
|
-
value: function getRelationshipTypeByIdWithHttpInfo(id, opts) {
|
|
1262
|
-
opts = opts || {};
|
|
1263
|
-
var postBody = null;
|
|
1264
|
-
// verify the required parameter 'id' is set
|
|
1265
|
-
if (id === undefined || id === null) {
|
|
1266
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
1267
|
-
}
|
|
1268
|
-
var pathParams = {
|
|
1269
|
-
'id': id
|
|
1270
|
-
};
|
|
1271
|
-
var queryParams = {};
|
|
1272
|
-
var headerParams = {
|
|
1273
|
-
'Authorization': opts['authorization'],
|
|
1274
|
-
'cacheduration': opts['cacheduration'],
|
|
1275
|
-
'cachegroup': opts['cachegroup'],
|
|
1276
|
-
'cachekey': opts['cachekey'],
|
|
1277
|
-
'cachescope': opts['cachescope'],
|
|
1278
|
-
'cacheuser': opts['cacheuser'],
|
|
1279
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1280
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1281
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1282
|
-
'transactionid': opts['transactionid']
|
|
1283
|
-
};
|
|
1284
|
-
var formParams = {};
|
|
1285
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1286
|
-
var contentTypes = [];
|
|
1287
|
-
var accepts = ['application/json'];
|
|
1288
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
1289
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* Gets the relationship type by key
|
|
1294
|
-
* @param {String} id
|
|
1295
|
-
* @param {Object} opts Optional parameters
|
|
1296
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1297
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1298
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1299
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1300
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1301
|
-
* @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)
|
|
1302
|
-
* @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
|
|
1303
|
-
* @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
|
|
1304
|
-
* @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
|
|
1305
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1306
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
1307
|
-
*/
|
|
1308
|
-
}, {
|
|
1309
|
-
key: "getRelationshipTypeById",
|
|
1310
|
-
value: function getRelationshipTypeById(id, opts) {
|
|
1311
|
-
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1312
|
-
return response_and_data.data;
|
|
1313
|
-
});
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* Gets the relationship type by key
|
|
1318
|
-
* @param {String} key
|
|
1319
|
-
* @param {Object} opts Optional parameters
|
|
1320
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1321
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1322
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1323
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1324
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1325
|
-
* @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)
|
|
1326
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1327
|
-
* @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
|
|
1328
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1329
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1330
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
1331
|
-
*/
|
|
1332
|
-
}, {
|
|
1333
|
-
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
1334
|
-
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
1335
|
-
opts = opts || {};
|
|
1336
|
-
var postBody = null;
|
|
1337
|
-
// verify the required parameter 'key' is set
|
|
1338
|
-
if (key === undefined || key === null) {
|
|
1339
|
-
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
1340
|
-
}
|
|
1341
|
-
var pathParams = {
|
|
1342
|
-
'key': key
|
|
1343
|
-
};
|
|
1344
|
-
var queryParams = {};
|
|
1345
|
-
var headerParams = {
|
|
1346
|
-
'Authorization': opts['authorization'],
|
|
1347
|
-
'cacheduration': opts['cacheduration'],
|
|
1348
|
-
'cachegroup': opts['cachegroup'],
|
|
1349
|
-
'cachekey': opts['cachekey'],
|
|
1350
|
-
'cachescope': opts['cachescope'],
|
|
1351
|
-
'cacheuser': opts['cacheuser'],
|
|
1352
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1353
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1354
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1355
|
-
'transactionid': opts['transactionid']
|
|
1356
|
-
};
|
|
1357
|
-
var formParams = {};
|
|
1358
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1359
|
-
var contentTypes = [];
|
|
1360
|
-
var accepts = ['application/json'];
|
|
1361
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
1362
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
/**
|
|
1366
|
-
* Gets the relationship type by key
|
|
1367
|
-
* @param {String} key
|
|
1368
|
-
* @param {Object} opts Optional parameters
|
|
1369
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1370
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1371
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1372
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1373
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1374
|
-
* @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)
|
|
1375
|
-
* @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
|
|
1376
|
-
* @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
|
|
1377
|
-
* @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
|
|
1378
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1379
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
1380
|
-
*/
|
|
1381
|
-
}, {
|
|
1382
|
-
key: "getRelationshipTypeByKey",
|
|
1383
|
-
value: function getRelationshipTypeByKey(key, opts) {
|
|
1384
|
-
return this.getRelationshipTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
1385
|
-
return response_and_data.data;
|
|
1386
|
-
});
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
* Get relationships in the graph
|
|
1391
|
-
* @param {Number} id
|
|
1392
|
-
* @param {Object} opts Optional parameters
|
|
1393
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1394
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1395
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1396
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1397
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1398
|
-
* @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)
|
|
1399
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1400
|
-
* @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
|
|
1401
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1402
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1403
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
1404
|
-
*/
|
|
1405
|
-
}, {
|
|
1406
|
-
key: "getRelationshipsWithHttpInfo",
|
|
1407
|
-
value: function getRelationshipsWithHttpInfo(id, opts) {
|
|
1408
|
-
opts = opts || {};
|
|
1409
|
-
var postBody = null;
|
|
1410
|
-
// verify the required parameter 'id' is set
|
|
1411
|
-
if (id === undefined || id === null) {
|
|
1412
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationships");
|
|
1413
|
-
}
|
|
1414
|
-
var pathParams = {
|
|
1415
|
-
'id': id
|
|
1416
|
-
};
|
|
1417
|
-
var queryParams = {};
|
|
1418
|
-
var headerParams = {
|
|
1419
|
-
'Authorization': opts['authorization'],
|
|
1420
|
-
'cacheduration': opts['cacheduration'],
|
|
1421
|
-
'cachegroup': opts['cachegroup'],
|
|
1422
|
-
'cachekey': opts['cachekey'],
|
|
1423
|
-
'cachescope': opts['cachescope'],
|
|
1424
|
-
'cacheuser': opts['cacheuser'],
|
|
1425
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1426
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1427
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1428
|
-
'transactionid': opts['transactionid']
|
|
1429
|
-
};
|
|
1430
|
-
var formParams = {};
|
|
1431
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1432
|
-
var contentTypes = [];
|
|
1433
|
-
var accepts = ['application/json'];
|
|
1434
|
-
var returnType = _GraphRelationship["default"];
|
|
1435
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
/**
|
|
1439
|
-
* Get relationships in the graph
|
|
1440
|
-
* @param {Number} id
|
|
1441
|
-
* @param {Object} opts Optional parameters
|
|
1442
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1443
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1444
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1445
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1446
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1447
|
-
* @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)
|
|
1448
|
-
* @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
|
|
1449
|
-
* @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
|
|
1450
|
-
* @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
|
|
1451
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1452
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
1453
|
-
*/
|
|
1454
|
-
}, {
|
|
1455
|
-
key: "getRelationships",
|
|
1456
|
-
value: function getRelationships(id, opts) {
|
|
1457
|
-
return this.getRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1458
|
-
return response_and_data.data;
|
|
1459
|
-
});
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* Get relationships in the graph with the given object type
|
|
1464
|
-
* @param {Number} id
|
|
1465
|
-
* @param {String} type
|
|
1466
|
-
* @param {Object} opts Optional parameters
|
|
1467
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1468
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1469
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1470
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1471
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1472
|
-
* @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)
|
|
1473
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1474
|
-
* @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
|
|
1475
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1476
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1477
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
1478
|
-
*/
|
|
1479
|
-
}, {
|
|
1480
|
-
key: "getRelationships1WithHttpInfo",
|
|
1481
|
-
value: function getRelationships1WithHttpInfo(id, type, opts) {
|
|
1482
|
-
opts = opts || {};
|
|
1483
|
-
var postBody = null;
|
|
1484
|
-
// verify the required parameter 'id' is set
|
|
1485
|
-
if (id === undefined || id === null) {
|
|
1486
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationships1");
|
|
1487
|
-
}
|
|
1488
|
-
// verify the required parameter 'type' is set
|
|
1489
|
-
if (type === undefined || type === null) {
|
|
1490
|
-
throw new Error("Missing the required parameter 'type' when calling getRelationships1");
|
|
1491
|
-
}
|
|
1492
|
-
var pathParams = {
|
|
1493
|
-
'id': id,
|
|
1494
|
-
'type': type
|
|
1495
|
-
};
|
|
1496
|
-
var queryParams = {};
|
|
1497
|
-
var headerParams = {
|
|
1498
|
-
'Authorization': opts['authorization'],
|
|
1499
|
-
'cacheduration': opts['cacheduration'],
|
|
1500
|
-
'cachegroup': opts['cachegroup'],
|
|
1501
|
-
'cachekey': opts['cachekey'],
|
|
1502
|
-
'cachescope': opts['cachescope'],
|
|
1503
|
-
'cacheuser': opts['cacheuser'],
|
|
1504
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1505
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1506
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1507
|
-
'transactionid': opts['transactionid']
|
|
1508
|
-
};
|
|
1509
|
-
var formParams = {};
|
|
1510
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1511
|
-
var contentTypes = [];
|
|
1512
|
-
var accepts = ['application/json'];
|
|
1513
|
-
var returnType = _GraphRelationship["default"];
|
|
1514
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* Get relationships in the graph with the given object type
|
|
1519
|
-
* @param {Number} id
|
|
1520
|
-
* @param {String} type
|
|
1521
|
-
* @param {Object} opts Optional parameters
|
|
1522
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1523
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1524
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1525
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1526
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1527
|
-
* @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)
|
|
1528
|
-
* @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
|
|
1529
|
-
* @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
|
|
1530
|
-
* @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
|
|
1531
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1532
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
1533
|
-
*/
|
|
1534
|
-
}, {
|
|
1535
|
-
key: "getRelationships1",
|
|
1536
|
-
value: function getRelationships1(id, type, opts) {
|
|
1537
|
-
return this.getRelationships1WithHttpInfo(id, type, opts).then(function (response_and_data) {
|
|
1538
|
-
return response_and_data.data;
|
|
1539
|
-
});
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
/**
|
|
1543
|
-
* Get Incoming Relationships By Type
|
|
1544
|
-
* Returns a listing of relationships
|
|
1545
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1546
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1547
|
-
* @param {Object} opts Optional parameters
|
|
1548
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1549
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1550
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1551
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1552
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1553
|
-
* @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)
|
|
1554
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1555
|
-
* @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
|
|
1556
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1557
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1558
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1559
|
-
*/
|
|
1560
|
-
}, {
|
|
1561
|
-
key: "getRelationshipsByTypeInWithHttpInfo",
|
|
1562
|
-
value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
|
|
1563
|
-
opts = opts || {};
|
|
1564
|
-
var postBody = null;
|
|
1565
|
-
// verify the required parameter 'id' is set
|
|
1566
|
-
if (id === undefined || id === null) {
|
|
1567
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
1568
|
-
}
|
|
1569
|
-
// verify the required parameter 'reltypeid' is set
|
|
1570
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
1571
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
1572
|
-
}
|
|
1573
|
-
var pathParams = {
|
|
1574
|
-
'id': id,
|
|
1575
|
-
'reltypeid': reltypeid
|
|
1576
|
-
};
|
|
1577
|
-
var queryParams = {};
|
|
1578
|
-
var headerParams = {
|
|
1579
|
-
'Authorization': opts['authorization'],
|
|
1580
|
-
'cacheduration': opts['cacheduration'],
|
|
1581
|
-
'cachegroup': opts['cachegroup'],
|
|
1582
|
-
'cachekey': opts['cachekey'],
|
|
1583
|
-
'cachescope': opts['cachescope'],
|
|
1584
|
-
'cacheuser': opts['cacheuser'],
|
|
1585
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1586
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1587
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1588
|
-
'transactionid': opts['transactionid']
|
|
1589
|
-
};
|
|
1590
|
-
var formParams = {};
|
|
1591
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1592
|
-
var contentTypes = [];
|
|
1593
|
-
var accepts = ['application/json'];
|
|
1594
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1595
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Get Incoming Relationships By Type
|
|
1600
|
-
* Returns a listing of relationships
|
|
1601
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1602
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
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
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1615
|
-
*/
|
|
1616
|
-
}, {
|
|
1617
|
-
key: "getRelationshipsByTypeIn",
|
|
1618
|
-
value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
|
|
1619
|
-
return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1620
|
-
return response_and_data.data;
|
|
1621
|
-
});
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
* Get Outgoing Relationships By Type
|
|
1626
|
-
* Returns a listing of relationships
|
|
1627
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1628
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1629
|
-
* @param {Object} opts Optional parameters
|
|
1630
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1631
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1632
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1633
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1634
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1635
|
-
* @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)
|
|
1636
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1637
|
-
* @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
|
|
1638
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1639
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1640
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1641
|
-
*/
|
|
1642
|
-
}, {
|
|
1643
|
-
key: "getRelationshipsByTypeOutWithHttpInfo",
|
|
1644
|
-
value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
|
|
1645
|
-
opts = opts || {};
|
|
1646
|
-
var postBody = null;
|
|
1647
|
-
// verify the required parameter 'id' is set
|
|
1648
|
-
if (id === undefined || id === null) {
|
|
1649
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1650
|
-
}
|
|
1651
|
-
// verify the required parameter 'reltypeid' is set
|
|
1652
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
1653
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
1654
|
-
}
|
|
1655
|
-
var pathParams = {
|
|
1656
|
-
'id': id,
|
|
1657
|
-
'reltypeid': reltypeid
|
|
1658
|
-
};
|
|
1659
|
-
var queryParams = {};
|
|
1660
|
-
var headerParams = {
|
|
1661
|
-
'Authorization': opts['authorization'],
|
|
1662
|
-
'cacheduration': opts['cacheduration'],
|
|
1663
|
-
'cachegroup': opts['cachegroup'],
|
|
1664
|
-
'cachekey': opts['cachekey'],
|
|
1665
|
-
'cachescope': opts['cachescope'],
|
|
1666
|
-
'cacheuser': opts['cacheuser'],
|
|
1667
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1668
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1669
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1670
|
-
'transactionid': opts['transactionid']
|
|
1671
|
-
};
|
|
1672
|
-
var formParams = {};
|
|
1673
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1674
|
-
var contentTypes = [];
|
|
1675
|
-
var accepts = ['application/json'];
|
|
1676
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1677
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
/**
|
|
1681
|
-
* Get Outgoing Relationships By Type
|
|
1682
|
-
* Returns a listing of relationships
|
|
1683
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1684
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1685
|
-
* @param {Object} opts Optional parameters
|
|
1686
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1687
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1688
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1689
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1690
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1691
|
-
* @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)
|
|
1692
|
-
* @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
|
|
1693
|
-
* @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
|
|
1694
|
-
* @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
|
|
1695
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1696
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1697
|
-
*/
|
|
1698
|
-
}, {
|
|
1699
|
-
key: "getRelationshipsByTypeOut",
|
|
1700
|
-
value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
|
|
1701
|
-
return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1702
|
-
return response_and_data.data;
|
|
1703
|
-
});
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* Get Incoming Relationships
|
|
1708
|
-
* Returns a listing of relationships
|
|
1709
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1710
|
-
* @param {Object} opts Optional parameters
|
|
1711
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1712
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1713
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1714
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1715
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1716
|
-
* @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)
|
|
1717
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1718
|
-
* @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
|
|
1719
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1720
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1721
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1722
|
-
*/
|
|
1723
|
-
}, {
|
|
1724
|
-
key: "getRelationshipsInWithHttpInfo",
|
|
1725
|
-
value: function getRelationshipsInWithHttpInfo(id, opts) {
|
|
1726
|
-
opts = opts || {};
|
|
1727
|
-
var postBody = null;
|
|
1728
|
-
// verify the required parameter 'id' is set
|
|
1729
|
-
if (id === undefined || id === null) {
|
|
1730
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
70
|
+
var postBody = graphRelationshipPayload;
|
|
71
|
+
// verify the required parameter 'startObjectId' is set
|
|
72
|
+
if (startObjectId === undefined || startObjectId === null) {
|
|
73
|
+
throw new Error("Missing the required parameter 'startObjectId' when calling createRelationship1");
|
|
74
|
+
}
|
|
75
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
76
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship1");
|
|
1731
78
|
}
|
|
1732
79
|
var pathParams = {
|
|
1733
|
-
'
|
|
80
|
+
'startObjectId': startObjectId
|
|
1734
81
|
};
|
|
1735
|
-
var queryParams = {
|
|
1736
|
-
var headerParams = {
|
|
1737
|
-
'Authorization': opts['authorization'],
|
|
82
|
+
var queryParams = {
|
|
1738
83
|
'cacheduration': opts['cacheduration'],
|
|
1739
|
-
'cachegroup': opts['cachegroup'],
|
|
1740
|
-
'cachekey': opts['cachekey'],
|
|
84
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
85
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1741
86
|
'cachescope': opts['cachescope'],
|
|
1742
|
-
'cacheuser': opts['cacheuser'],
|
|
1743
|
-
'
|
|
1744
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1745
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1746
|
-
'transactionid': opts['transactionid']
|
|
1747
|
-
};
|
|
1748
|
-
var formParams = {};
|
|
1749
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1750
|
-
var contentTypes = [];
|
|
1751
|
-
var accepts = ['application/json'];
|
|
1752
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1753
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
/**
|
|
1757
|
-
* Get Incoming Relationships
|
|
1758
|
-
* Returns a listing of relationships
|
|
1759
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1760
|
-
* @param {Object} opts Optional parameters
|
|
1761
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1762
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1763
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1764
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1765
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1766
|
-
* @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)
|
|
1767
|
-
* @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
|
|
1768
|
-
* @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
|
|
1769
|
-
* @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
|
|
1770
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1771
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1772
|
-
*/
|
|
1773
|
-
}, {
|
|
1774
|
-
key: "getRelationshipsIn",
|
|
1775
|
-
value: function getRelationshipsIn(id, opts) {
|
|
1776
|
-
return this.getRelationshipsInWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1777
|
-
return response_and_data.data;
|
|
1778
|
-
});
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
/**
|
|
1782
|
-
* Get Outgoing Relationships
|
|
1783
|
-
* Returns a listing of relationships
|
|
1784
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1785
|
-
* @param {Object} opts Optional parameters
|
|
1786
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1787
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1788
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1789
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1790
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1791
|
-
* @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)
|
|
1792
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1793
|
-
* @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
|
|
1794
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1795
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1796
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1797
|
-
*/
|
|
1798
|
-
}, {
|
|
1799
|
-
key: "getRelationshipsOutWithHttpInfo",
|
|
1800
|
-
value: function getRelationshipsOutWithHttpInfo(id, opts) {
|
|
1801
|
-
opts = opts || {};
|
|
1802
|
-
var postBody = null;
|
|
1803
|
-
// verify the required parameter 'id' is set
|
|
1804
|
-
if (id === undefined || id === null) {
|
|
1805
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
1806
|
-
}
|
|
1807
|
-
var pathParams = {
|
|
1808
|
-
'id': id
|
|
87
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
88
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1809
89
|
};
|
|
1810
|
-
var queryParams = {};
|
|
1811
90
|
var headerParams = {
|
|
1812
91
|
'Authorization': opts['authorization'],
|
|
1813
|
-
'cacheduration': opts['cacheduration'],
|
|
1814
|
-
'cachegroup': opts['cachegroup'],
|
|
1815
|
-
'cachekey': opts['cachekey'],
|
|
1816
|
-
'cachescope': opts['cachescope'],
|
|
1817
|
-
'cacheuser': opts['cacheuser'],
|
|
1818
92
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1819
93
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1820
94
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1824,14 +98,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1824
98
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1825
99
|
var contentTypes = [];
|
|
1826
100
|
var accepts = ['application/json'];
|
|
1827
|
-
var returnType = [
|
|
1828
|
-
return this.apiClient.callApi('/
|
|
101
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
102
|
+
return this.apiClient.callApi('/relationship/from/{startObjectId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1829
103
|
}
|
|
1830
104
|
|
|
1831
105
|
/**
|
|
1832
|
-
*
|
|
1833
|
-
*
|
|
1834
|
-
* @param {Number}
|
|
106
|
+
* Create Relationship
|
|
107
|
+
* Create a new relationship
|
|
108
|
+
* @param {Number} startObjectId
|
|
109
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
|
|
1835
110
|
* @param {Object} opts Optional parameters
|
|
1836
111
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1837
112
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1839,22 +114,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1839
114
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1840
115
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1841
116
|
* @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)
|
|
117
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1842
118
|
* @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
|
|
1843
119
|
* @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
|
|
1844
120
|
* @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
|
|
1845
121
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1846
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
122
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
1847
123
|
*/
|
|
1848
124
|
}, {
|
|
1849
|
-
key: "
|
|
1850
|
-
value: function
|
|
1851
|
-
return this.
|
|
125
|
+
key: "createRelationship1",
|
|
126
|
+
value: function createRelationship1(startObjectId, graphRelationshipPayload, opts) {
|
|
127
|
+
return this.createRelationship1WithHttpInfo(startObjectId, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
1852
128
|
return response_and_data.data;
|
|
1853
129
|
});
|
|
1854
130
|
}
|
|
1855
131
|
|
|
1856
132
|
/**
|
|
1857
|
-
*
|
|
133
|
+
* Delete Relationship
|
|
134
|
+
* Delete a relationship
|
|
1858
135
|
* @param {Number} id
|
|
1859
136
|
* @param {Object} opts Optional parameters
|
|
1860
137
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1863,32 +140,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1863
140
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1864
141
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1865
142
|
* @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)
|
|
143
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1866
144
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1867
145
|
* @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
|
|
1868
146
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1869
147
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1870
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
148
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1871
149
|
*/
|
|
1872
150
|
}, {
|
|
1873
|
-
key: "
|
|
1874
|
-
value: function
|
|
151
|
+
key: "deleteRelationshipWithHttpInfo",
|
|
152
|
+
value: function deleteRelationshipWithHttpInfo(id, opts) {
|
|
1875
153
|
opts = opts || {};
|
|
1876
154
|
var postBody = null;
|
|
1877
155
|
// verify the required parameter 'id' is set
|
|
1878
156
|
if (id === undefined || id === null) {
|
|
1879
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
157
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
1880
158
|
}
|
|
1881
159
|
var pathParams = {
|
|
1882
160
|
'id': id
|
|
1883
161
|
};
|
|
1884
|
-
var queryParams = {
|
|
1885
|
-
var headerParams = {
|
|
1886
|
-
'Authorization': opts['authorization'],
|
|
162
|
+
var queryParams = {
|
|
1887
163
|
'cacheduration': opts['cacheduration'],
|
|
1888
|
-
'cachegroup': opts['cachegroup'],
|
|
1889
|
-
'cachekey': opts['cachekey'],
|
|
164
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
165
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1890
166
|
'cachescope': opts['cachescope'],
|
|
1891
|
-
'cacheuser': opts['cacheuser'],
|
|
167
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
168
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
169
|
+
};
|
|
170
|
+
var headerParams = {
|
|
171
|
+
'Authorization': opts['authorization'],
|
|
1892
172
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1893
173
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1894
174
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1898,12 +178,13 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1898
178
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1899
179
|
var contentTypes = [];
|
|
1900
180
|
var accepts = ['application/json'];
|
|
1901
|
-
var returnType =
|
|
1902
|
-
return this.apiClient.callApi('/
|
|
181
|
+
var returnType = null;
|
|
182
|
+
return this.apiClient.callApi('/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1903
183
|
}
|
|
1904
184
|
|
|
1905
185
|
/**
|
|
1906
|
-
*
|
|
186
|
+
* Delete Relationship
|
|
187
|
+
* Delete a relationship
|
|
1907
188
|
* @param {Number} id
|
|
1908
189
|
* @param {Object} opts Optional parameters
|
|
1909
190
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -1912,21 +193,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1912
193
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1913
194
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1914
195
|
* @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)
|
|
196
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1915
197
|
* @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
|
|
1916
198
|
* @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
|
|
1917
199
|
* @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
|
|
1918
200
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1919
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
201
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1920
202
|
*/
|
|
1921
203
|
}, {
|
|
1922
|
-
key: "
|
|
1923
|
-
value: function
|
|
1924
|
-
return this.
|
|
204
|
+
key: "deleteRelationship",
|
|
205
|
+
value: function deleteRelationship(id, opts) {
|
|
206
|
+
return this.deleteRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1925
207
|
return response_and_data.data;
|
|
1926
208
|
});
|
|
1927
209
|
}
|
|
1928
210
|
|
|
1929
211
|
/**
|
|
212
|
+
* Gets the relationship by id
|
|
1930
213
|
* @param {Number} id
|
|
1931
214
|
* @param {Object} opts Optional parameters
|
|
1932
215
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1935,106 +218,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1935
218
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1936
219
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1937
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
|
|
1938
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
|
|
1939
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
|
|
1940
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
|
|
1941
225
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1942
|
-
* @
|
|
1943
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
226
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
|
|
1944
227
|
*/
|
|
1945
228
|
}, {
|
|
1946
|
-
key: "
|
|
1947
|
-
value: function
|
|
229
|
+
key: "getRelationshipByIdWithHttpInfo",
|
|
230
|
+
value: function getRelationshipByIdWithHttpInfo(id, opts) {
|
|
1948
231
|
opts = opts || {};
|
|
1949
|
-
var postBody =
|
|
232
|
+
var postBody = null;
|
|
1950
233
|
// verify the required parameter 'id' is set
|
|
1951
234
|
if (id === undefined || id === null) {
|
|
1952
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
235
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
1953
236
|
}
|
|
1954
237
|
var pathParams = {
|
|
1955
238
|
'id': id
|
|
1956
239
|
};
|
|
1957
|
-
var queryParams = {
|
|
1958
|
-
var headerParams = {
|
|
1959
|
-
'Authorization': opts['authorization'],
|
|
240
|
+
var queryParams = {
|
|
1960
241
|
'cacheduration': opts['cacheduration'],
|
|
1961
|
-
'cachegroup': opts['cachegroup'],
|
|
1962
|
-
'cachekey': opts['cachekey'],
|
|
242
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
243
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1963
244
|
'cachescope': opts['cachescope'],
|
|
1964
|
-
'cacheuser': opts['cacheuser'],
|
|
1965
|
-
'
|
|
1966
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1967
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1968
|
-
'transactionid': opts['transactionid']
|
|
1969
|
-
};
|
|
1970
|
-
var formParams = {};
|
|
1971
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1972
|
-
var contentTypes = ['application/json'];
|
|
1973
|
-
var accepts = ['application/json'];
|
|
1974
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1975
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
/**
|
|
1979
|
-
* @param {Number} id
|
|
1980
|
-
* @param {Object} opts Optional parameters
|
|
1981
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1982
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
1983
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1984
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1985
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1986
|
-
* @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)
|
|
1987
|
-
* @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
|
|
1988
|
-
* @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
|
|
1989
|
-
* @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
|
|
1990
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1991
|
-
* @param {String} opts.body
|
|
1992
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1993
|
-
*/
|
|
1994
|
-
}, {
|
|
1995
|
-
key: "removeEndObjectTypes",
|
|
1996
|
-
value: function removeEndObjectTypes(id, opts) {
|
|
1997
|
-
return this.removeEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1998
|
-
return response_and_data.data;
|
|
1999
|
-
});
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
/**
|
|
2003
|
-
* @param {Number} id
|
|
2004
|
-
* @param {Object} opts Optional parameters
|
|
2005
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2006
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2007
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2008
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2009
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2010
|
-
* @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)
|
|
2011
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2012
|
-
* @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
|
|
2013
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2014
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2015
|
-
* @param {String} [body]
|
|
2016
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
2017
|
-
*/
|
|
2018
|
-
}, {
|
|
2019
|
-
key: "removeStartObjectTypesWithHttpInfo",
|
|
2020
|
-
value: function removeStartObjectTypesWithHttpInfo(id, opts) {
|
|
2021
|
-
opts = opts || {};
|
|
2022
|
-
var postBody = opts['body'];
|
|
2023
|
-
// verify the required parameter 'id' is set
|
|
2024
|
-
if (id === undefined || id === null) {
|
|
2025
|
-
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
2026
|
-
}
|
|
2027
|
-
var pathParams = {
|
|
2028
|
-
'id': id
|
|
245
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
246
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2029
247
|
};
|
|
2030
|
-
var queryParams = {};
|
|
2031
248
|
var headerParams = {
|
|
2032
249
|
'Authorization': opts['authorization'],
|
|
2033
|
-
'cacheduration': opts['cacheduration'],
|
|
2034
|
-
'cachegroup': opts['cachegroup'],
|
|
2035
|
-
'cachekey': opts['cachekey'],
|
|
2036
|
-
'cachescope': opts['cachescope'],
|
|
2037
|
-
'cacheuser': opts['cacheuser'],
|
|
2038
250
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2039
251
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2040
252
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2042,13 +254,14 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2042
254
|
};
|
|
2043
255
|
var formParams = {};
|
|
2044
256
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2045
|
-
var contentTypes = [
|
|
257
|
+
var contentTypes = [];
|
|
2046
258
|
var accepts = ['application/json'];
|
|
2047
|
-
var returnType =
|
|
2048
|
-
return this.apiClient.callApi('/
|
|
259
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
260
|
+
return this.apiClient.callApi('/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2049
261
|
}
|
|
2050
262
|
|
|
2051
263
|
/**
|
|
264
|
+
* Gets the relationship by id
|
|
2052
265
|
* @param {Number} id
|
|
2053
266
|
* @param {Object} opts Optional parameters
|
|
2054
267
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -2057,24 +270,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2057
270
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2058
271
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2059
272
|
* @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)
|
|
273
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2060
274
|
* @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
|
|
2061
275
|
* @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
|
|
2062
276
|
* @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
|
|
2063
277
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2064
|
-
* @
|
|
2065
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
278
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
2066
279
|
*/
|
|
2067
280
|
}, {
|
|
2068
|
-
key: "
|
|
2069
|
-
value: function
|
|
2070
|
-
return this.
|
|
281
|
+
key: "getRelationshipById",
|
|
282
|
+
value: function getRelationshipById(id, opts) {
|
|
283
|
+
return this.getRelationshipByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2071
284
|
return response_and_data.data;
|
|
2072
285
|
});
|
|
2073
286
|
}
|
|
2074
287
|
|
|
2075
288
|
/**
|
|
2076
|
-
*
|
|
2077
|
-
*
|
|
289
|
+
* Get Relationship Properties
|
|
290
|
+
* Get properties of a relationship
|
|
2078
291
|
* @param {Number} id
|
|
2079
292
|
* @param {Object} opts Optional parameters
|
|
2080
293
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -2083,116 +296,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2083
296
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2084
297
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2085
298
|
* @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)
|
|
299
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2086
300
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2087
301
|
* @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
|
|
2088
302
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2089
303
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2090
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
2091
304
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2092
305
|
*/
|
|
2093
306
|
}, {
|
|
2094
|
-
key: "
|
|
2095
|
-
value: function
|
|
307
|
+
key: "getRelationshipPropertiesWithHttpInfo",
|
|
308
|
+
value: function getRelationshipPropertiesWithHttpInfo(id, opts) {
|
|
2096
309
|
opts = opts || {};
|
|
2097
|
-
var postBody =
|
|
310
|
+
var postBody = null;
|
|
2098
311
|
// verify the required parameter 'id' is set
|
|
2099
312
|
if (id === undefined || id === null) {
|
|
2100
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
313
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipProperties");
|
|
2101
314
|
}
|
|
2102
315
|
var pathParams = {
|
|
2103
316
|
'id': id
|
|
2104
317
|
};
|
|
2105
|
-
var queryParams = {
|
|
2106
|
-
var headerParams = {
|
|
2107
|
-
'Authorization': opts['authorization'],
|
|
318
|
+
var queryParams = {
|
|
2108
319
|
'cacheduration': opts['cacheduration'],
|
|
2109
|
-
'cachegroup': opts['cachegroup'],
|
|
2110
|
-
'cachekey': opts['cachekey'],
|
|
320
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
321
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2111
322
|
'cachescope': opts['cachescope'],
|
|
2112
|
-
'cacheuser': opts['cacheuser'],
|
|
2113
|
-
'
|
|
2114
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2115
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2116
|
-
'transactionid': opts['transactionid']
|
|
2117
|
-
};
|
|
2118
|
-
var formParams = {};
|
|
2119
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2120
|
-
var contentTypes = [];
|
|
2121
|
-
var accepts = ['*/*'];
|
|
2122
|
-
var returnType = null;
|
|
2123
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
/**
|
|
2127
|
-
* Set Multiple Properties
|
|
2128
|
-
* Set multiple properties attaced to an object / record
|
|
2129
|
-
* @param {Number} id
|
|
2130
|
-
* @param {Object} opts Optional parameters
|
|
2131
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2132
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2133
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2134
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2135
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2136
|
-
* @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)
|
|
2137
|
-
* @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
|
|
2138
|
-
* @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
|
|
2139
|
-
* @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
|
|
2140
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2141
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
|
|
2142
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2143
|
-
*/
|
|
2144
|
-
}, {
|
|
2145
|
-
key: "setRelProperties",
|
|
2146
|
-
value: function setRelProperties(id, opts) {
|
|
2147
|
-
return this.setRelPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2148
|
-
return response_and_data.data;
|
|
2149
|
-
});
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* Update Property
|
|
2154
|
-
* Update a specific property
|
|
2155
|
-
* @param {Number} id
|
|
2156
|
-
* @param {String} prop
|
|
2157
|
-
* @param {Object} opts Optional parameters
|
|
2158
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2159
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2160
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2161
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2162
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2163
|
-
* @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)
|
|
2164
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2165
|
-
* @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
|
|
2166
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2167
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2168
|
-
* @param {String} [body]
|
|
2169
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2170
|
-
*/
|
|
2171
|
-
}, {
|
|
2172
|
-
key: "setRelPropertyWithHttpInfo",
|
|
2173
|
-
value: function setRelPropertyWithHttpInfo(id, prop, opts) {
|
|
2174
|
-
opts = opts || {};
|
|
2175
|
-
var postBody = opts['body'];
|
|
2176
|
-
// verify the required parameter 'id' is set
|
|
2177
|
-
if (id === undefined || id === null) {
|
|
2178
|
-
throw new Error("Missing the required parameter 'id' when calling setRelProperty");
|
|
2179
|
-
}
|
|
2180
|
-
// verify the required parameter 'prop' is set
|
|
2181
|
-
if (prop === undefined || prop === null) {
|
|
2182
|
-
throw new Error("Missing the required parameter 'prop' when calling setRelProperty");
|
|
2183
|
-
}
|
|
2184
|
-
var pathParams = {
|
|
2185
|
-
'id': id,
|
|
2186
|
-
'prop': prop
|
|
323
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
324
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2187
325
|
};
|
|
2188
|
-
var queryParams = {};
|
|
2189
326
|
var headerParams = {
|
|
2190
327
|
'Authorization': opts['authorization'],
|
|
2191
|
-
'cacheduration': opts['cacheduration'],
|
|
2192
|
-
'cachegroup': opts['cachegroup'],
|
|
2193
|
-
'cachekey': opts['cachekey'],
|
|
2194
|
-
'cachescope': opts['cachescope'],
|
|
2195
|
-
'cacheuser': opts['cacheuser'],
|
|
2196
328
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2197
329
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2198
330
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2201,16 +333,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2201
333
|
var formParams = {};
|
|
2202
334
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2203
335
|
var contentTypes = [];
|
|
2204
|
-
var accepts = ['
|
|
336
|
+
var accepts = ['application/json'];
|
|
2205
337
|
var returnType = null;
|
|
2206
|
-
return this.apiClient.callApi('/
|
|
338
|
+
return this.apiClient.callApi('/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2207
339
|
}
|
|
2208
340
|
|
|
2209
341
|
/**
|
|
2210
|
-
*
|
|
2211
|
-
*
|
|
342
|
+
* Get Relationship Properties
|
|
343
|
+
* Get properties of a relationship
|
|
2212
344
|
* @param {Number} id
|
|
2213
|
-
* @param {String} prop
|
|
2214
345
|
* @param {Object} opts Optional parameters
|
|
2215
346
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2216
347
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2218,26 +349,26 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2218
349
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2219
350
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2220
351
|
* @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)
|
|
352
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2221
353
|
* @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
|
|
2222
354
|
* @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
|
|
2223
355
|
* @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
|
|
2224
356
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2225
|
-
* @param {String} opts.body
|
|
2226
357
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2227
358
|
*/
|
|
2228
359
|
}, {
|
|
2229
|
-
key: "
|
|
2230
|
-
value: function
|
|
2231
|
-
return this.
|
|
360
|
+
key: "getRelationshipProperties",
|
|
361
|
+
value: function getRelationshipProperties(id, opts) {
|
|
362
|
+
return this.getRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2232
363
|
return response_and_data.data;
|
|
2233
364
|
});
|
|
2234
365
|
}
|
|
2235
366
|
|
|
2236
367
|
/**
|
|
2237
|
-
* Update
|
|
2238
|
-
*
|
|
2239
|
-
* @param {Number} id
|
|
2240
|
-
* @param {module:model/
|
|
368
|
+
* Update Relationship
|
|
369
|
+
* Update an existing relationship
|
|
370
|
+
* @param {Number} id
|
|
371
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
|
|
2241
372
|
* @param {Object} opts Optional parameters
|
|
2242
373
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2243
374
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2245,36 +376,39 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2245
376
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2246
377
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2247
378
|
* @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)
|
|
379
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2248
380
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2249
381
|
* @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
|
|
2250
382
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2251
383
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2252
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
384
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
|
|
2253
385
|
*/
|
|
2254
386
|
}, {
|
|
2255
|
-
key: "
|
|
2256
|
-
value: function
|
|
387
|
+
key: "updateRelationshipWithHttpInfo",
|
|
388
|
+
value: function updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts) {
|
|
2257
389
|
opts = opts || {};
|
|
2258
|
-
var postBody =
|
|
390
|
+
var postBody = graphRelationshipPayload;
|
|
2259
391
|
// verify the required parameter 'id' is set
|
|
2260
392
|
if (id === undefined || id === null) {
|
|
2261
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
393
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationship");
|
|
2262
394
|
}
|
|
2263
|
-
// verify the required parameter '
|
|
2264
|
-
if (
|
|
2265
|
-
throw new Error("Missing the required parameter '
|
|
395
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
396
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
397
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling updateRelationship");
|
|
2266
398
|
}
|
|
2267
399
|
var pathParams = {
|
|
2268
400
|
'id': id
|
|
2269
401
|
};
|
|
2270
|
-
var queryParams = {
|
|
2271
|
-
var headerParams = {
|
|
2272
|
-
'Authorization': opts['authorization'],
|
|
402
|
+
var queryParams = {
|
|
2273
403
|
'cacheduration': opts['cacheduration'],
|
|
2274
|
-
'cachegroup': opts['cachegroup'],
|
|
2275
|
-
'cachekey': opts['cachekey'],
|
|
404
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
405
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2276
406
|
'cachescope': opts['cachescope'],
|
|
2277
|
-
'cacheuser': opts['cacheuser'],
|
|
407
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
408
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
409
|
+
};
|
|
410
|
+
var headerParams = {
|
|
411
|
+
'Authorization': opts['authorization'],
|
|
2278
412
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2279
413
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2280
414
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2282,17 +416,17 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2282
416
|
};
|
|
2283
417
|
var formParams = {};
|
|
2284
418
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2285
|
-
var contentTypes = [
|
|
419
|
+
var contentTypes = [];
|
|
2286
420
|
var accepts = ['application/json'];
|
|
2287
|
-
var returnType =
|
|
2288
|
-
return this.apiClient.callApi('/
|
|
421
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
422
|
+
return this.apiClient.callApi('/relationship/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2289
423
|
}
|
|
2290
424
|
|
|
2291
425
|
/**
|
|
2292
|
-
* Update
|
|
2293
|
-
*
|
|
2294
|
-
* @param {Number} id
|
|
2295
|
-
* @param {module:model/
|
|
426
|
+
* Update Relationship
|
|
427
|
+
* Update an existing relationship
|
|
428
|
+
* @param {Number} id
|
|
429
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
|
|
2296
430
|
* @param {Object} opts Optional parameters
|
|
2297
431
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2298
432
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2300,21 +434,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2300
434
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2301
435
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2302
436
|
* @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)
|
|
437
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2303
438
|
* @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
|
|
2304
439
|
* @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
|
|
2305
440
|
* @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
|
|
2306
441
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2307
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
442
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
2308
443
|
*/
|
|
2309
444
|
}, {
|
|
2310
|
-
key: "
|
|
2311
|
-
value: function
|
|
2312
|
-
return this.
|
|
445
|
+
key: "updateRelationship",
|
|
446
|
+
value: function updateRelationship(id, graphRelationshipPayload, opts) {
|
|
447
|
+
return this.updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
2313
448
|
return response_and_data.data;
|
|
2314
449
|
});
|
|
2315
450
|
}
|
|
2316
451
|
|
|
2317
452
|
/**
|
|
453
|
+
* Update Relationship Properties
|
|
454
|
+
* Update properties of a relationship
|
|
2318
455
|
* @param {Number} id
|
|
2319
456
|
* @param {Object} opts Optional parameters
|
|
2320
457
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -2323,33 +460,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2323
460
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2324
461
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2325
462
|
* @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)
|
|
463
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2326
464
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2327
465
|
* @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
|
|
2328
466
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2329
467
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2330
|
-
* @param {String} [body]
|
|
2331
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
468
|
+
* @param {Object.<String, Object>} [body]
|
|
469
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2332
470
|
*/
|
|
2333
471
|
}, {
|
|
2334
|
-
key: "
|
|
2335
|
-
value: function
|
|
472
|
+
key: "updateRelationshipPropertiesWithHttpInfo",
|
|
473
|
+
value: function updateRelationshipPropertiesWithHttpInfo(id, opts) {
|
|
2336
474
|
opts = opts || {};
|
|
2337
475
|
var postBody = opts['body'];
|
|
2338
476
|
// verify the required parameter 'id' is set
|
|
2339
477
|
if (id === undefined || id === null) {
|
|
2340
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
478
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipProperties");
|
|
2341
479
|
}
|
|
2342
480
|
var pathParams = {
|
|
2343
481
|
'id': id
|
|
2344
482
|
};
|
|
2345
|
-
var queryParams = {
|
|
2346
|
-
var headerParams = {
|
|
2347
|
-
'Authorization': opts['authorization'],
|
|
483
|
+
var queryParams = {
|
|
2348
484
|
'cacheduration': opts['cacheduration'],
|
|
2349
|
-
'cachegroup': opts['cachegroup'],
|
|
2350
|
-
'cachekey': opts['cachekey'],
|
|
485
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
486
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2351
487
|
'cachescope': opts['cachescope'],
|
|
2352
|
-
'cacheuser': opts['cacheuser'],
|
|
488
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
489
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
490
|
+
};
|
|
491
|
+
var headerParams = {
|
|
492
|
+
'Authorization': opts['authorization'],
|
|
2353
493
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2354
494
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2355
495
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2357,13 +497,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2357
497
|
};
|
|
2358
498
|
var formParams = {};
|
|
2359
499
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2360
|
-
var contentTypes = [
|
|
500
|
+
var contentTypes = [];
|
|
2361
501
|
var accepts = ['application/json'];
|
|
2362
|
-
var returnType =
|
|
2363
|
-
return this.apiClient.callApi('/
|
|
502
|
+
var returnType = null;
|
|
503
|
+
return this.apiClient.callApi('/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2364
504
|
}
|
|
2365
505
|
|
|
2366
506
|
/**
|
|
507
|
+
* Update Relationship Properties
|
|
508
|
+
* Update properties of a relationship
|
|
2367
509
|
* @param {Number} id
|
|
2368
510
|
* @param {Object} opts Optional parameters
|
|
2369
511
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -2372,17 +514,18 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2372
514
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2373
515
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2374
516
|
* @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)
|
|
517
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2375
518
|
* @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
|
|
2376
519
|
* @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
|
|
2377
520
|
* @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
|
|
2378
521
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2379
|
-
* @param {String} opts.body
|
|
2380
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
522
|
+
* @param {Object.<String, Object>} opts.body
|
|
523
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2381
524
|
*/
|
|
2382
525
|
}, {
|
|
2383
|
-
key: "
|
|
2384
|
-
value: function
|
|
2385
|
-
return this.
|
|
526
|
+
key: "updateRelationshipProperties",
|
|
527
|
+
value: function updateRelationshipProperties(id, opts) {
|
|
528
|
+
return this.updateRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2386
529
|
return response_and_data.data;
|
|
2387
530
|
});
|
|
2388
531
|
}
|