@gobodo/gobodo-api-promise 0.1.97 → 0.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +602 -684
- package/dist/.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 +93 -95
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +255 -198
- package/dist/api/GraphActionsApi.d.ts +43 -288
- package/dist/api/GraphActionsApi.d.ts.map +1 -1
- package/dist/api/GraphActionsApi.js +107 -471
- 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 +289 -2054
- package/dist/api/GraphObjectsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectsApi.js +803 -3533
- package/dist/api/GraphRelationshipTypesApi.d.ts +91 -564
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +326 -1012
- package/dist/api/GraphRelationshipsApi.d.ts +145 -948
- package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipsApi.js +392 -1592
- 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 +311 -255
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +23 -32
- package/dist/api/IAMApi.d.ts.map +1 -1
- package/dist/api/IAMApi.js +75 -59
- package/dist/api/ImagesApi.d.ts +21 -190
- package/dist/api/ImagesApi.d.ts.map +1 -1
- package/dist/api/ImagesApi.js +81 -291
- package/dist/api/InvitesApi.d.ts +11 -21
- package/dist/api/InvitesApi.d.ts.map +1 -1
- package/dist/api/InvitesApi.js +58 -37
- package/dist/api/LikesApi.d.ts +43 -69
- package/dist/api/LikesApi.d.ts.map +1 -1
- package/dist/api/LikesApi.js +192 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +7 -11
- package/dist/api/LiveMeetingsApi.d.ts.map +1 -1
- package/dist/api/LiveMeetingsApi.js +29 -22
- package/dist/api/MeetingEventsApi.d.ts +39 -331
- package/dist/api/MeetingEventsApi.d.ts.map +1 -1
- package/dist/api/MeetingEventsApi.js +196 -515
- package/dist/api/NotificationsApi.d.ts +29 -63
- package/dist/api/NotificationsApi.d.ts.map +1 -1
- package/dist/api/NotificationsApi.js +151 -97
- package/dist/api/PagesApi.d.ts +23 -85
- package/dist/api/PagesApi.d.ts.map +1 -1
- package/dist/api/PagesApi.js +106 -146
- package/dist/api/PasswordResetApi.d.ts +80 -0
- package/dist/api/PasswordResetApi.d.ts.map +1 -0
- package/dist/api/PasswordResetApi.js +212 -0
- package/dist/api/PhoneNumbersApi.d.ts +11 -24
- package/dist/api/PhoneNumbersApi.d.ts.map +1 -1
- package/dist/api/PhoneNumbersApi.js +58 -37
- package/dist/api/PostsApi.d.ts +11 -64
- package/dist/api/PostsApi.d.ts.map +1 -1
- package/dist/api/PostsApi.js +51 -107
- package/dist/api/PrivateMessagesApi.d.ts +35 -110
- package/dist/api/PrivateMessagesApi.d.ts.map +1 -1
- package/dist/api/PrivateMessagesApi.js +177 -189
- package/dist/api/PublicationsApi.d.ts +19 -91
- package/dist/api/PublicationsApi.d.ts.map +1 -1
- package/dist/api/PublicationsApi.js +94 -134
- package/dist/api/RestApplicationsApi.d.ts +11 -25
- package/dist/api/RestApplicationsApi.d.ts.map +1 -1
- package/dist/api/RestApplicationsApi.js +56 -36
- package/dist/api/ScreensApi.d.ts +7 -13
- package/dist/api/ScreensApi.d.ts.map +1 -1
- package/dist/api/ScreensApi.js +36 -23
- package/dist/api/SitesApi.d.ts +21 -48
- package/dist/api/SitesApi.d.ts.map +1 -1
- package/dist/api/SitesApi.js +109 -70
- package/dist/api/SocialGroupsApi.d.ts +43 -90
- package/dist/api/SocialGroupsApi.d.ts.map +1 -1
- package/dist/api/SocialGroupsApi.js +213 -140
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +81 -161
- package/dist/api/StripeAccountsApi.d.ts.map +1 -1
- package/dist/api/StripeAccountsApi.js +436 -281
- package/dist/api/TagsApi.d.ts +3 -5
- package/dist/api/TagsApi.d.ts.map +1 -1
- package/dist/api/TagsApi.js +7 -3
- package/dist/api/TemplatesApi.d.ts +7 -13
- package/dist/api/TemplatesApi.d.ts.map +1 -1
- package/dist/api/TemplatesApi.js +36 -23
- package/dist/api/ThemeMappingsApi.d.ts +9 -16
- package/dist/api/ThemeMappingsApi.d.ts.map +1 -1
- package/dist/api/ThemeMappingsApi.js +42 -29
- package/dist/api/TopicsApi.d.ts +17 -33
- package/dist/api/TopicsApi.d.ts.map +1 -1
- package/dist/api/TopicsApi.js +91 -58
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +5 -5
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +3 -3
- package/dist/api/UserManagerAdministrationApi.d.ts +83 -0
- package/dist/api/UserManagerAdministrationApi.d.ts.map +1 -0
- package/dist/api/UserManagerAdministrationApi.js +257 -0
- package/dist/api/UserTagsApi.d.ts +31 -135
- package/dist/api/UserTagsApi.d.ts.map +1 -1
- package/dist/api/UserTagsApi.js +121 -241
- package/dist/api/UsersApi.d.ts +23 -47
- package/dist/api/UsersApi.d.ts.map +1 -1
- package/dist/api/UsersApi.js +122 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +25 -137
- package/dist/api/VideosApi.d.ts.map +1 -1
- package/dist/api/VideosApi.js +114 -226
- package/dist/api/WalletsApi.d.ts +35 -72
- package/dist/api/WalletsApi.d.ts.map +1 -1
- package/dist/api/WalletsApi.js +184 -118
- package/dist/index.d.ts +33 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +204 -85
- package/dist/model/APIClient.d.ts +10 -10
- package/dist/model/APIClient.d.ts.map +1 -1
- package/dist/model/APIClient.js +27 -27
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/Address.d.ts +74 -0
- package/dist/model/Address.d.ts.map +1 -0
- package/dist/model/Address.js +224 -0
- package/dist/model/AddressResponse.d.ts +87 -0
- package/dist/model/AddressResponse.d.ts.map +1 -0
- package/dist/model/AddressResponse.js +255 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.d.ts +65 -65
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +179 -179
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.d.ts +9 -9
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +33 -33
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +63 -0
- package/dist/model/CacheInvalidation.d.ts.map +1 -0
- package/dist/model/CacheInvalidation.js +173 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +20 -20
- package/dist/model/Comment.d.ts.map +1 -1
- package/dist/model/Comment.js +55 -55
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.d.ts +1 -1
- package/dist/model/Currency.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.d.ts +1 -1
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +60 -60
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +188 -188
- package/dist/model/DataSheetImportPrivacySettings.d.ts +10 -10
- package/dist/model/DataSheetImportPrivacySettings.d.ts.map +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +29 -29
- package/dist/model/DataSheetImportSummary.d.ts +10 -10
- package/dist/model/DataSheetImportSummary.d.ts.map +1 -1
- package/dist/model/DataSheetImportSummary.js +33 -33
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +70 -70
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +193 -193
- package/dist/model/DocumentPart.d.ts +46 -46
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +140 -140
- package/dist/model/DocumentPartType.d.ts +24 -24
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +71 -71
- package/dist/model/DocumentType.d.ts +46 -46
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +124 -124
- 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 +28 -28
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +74 -74
- package/dist/model/File.d.ts +29 -29
- package/dist/model/File.d.ts.map +1 -1
- package/dist/model/File.js +75 -75
- package/dist/model/FileAttachmentUploadObject.d.ts +29 -29
- 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 +15 -15
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +45 -45
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +11 -11
- package/dist/model/FormSubmission.d.ts.map +1 -1
- package/dist/model/FormSubmission.js +33 -33
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.d.ts +1 -1
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.d.ts +3 -3
- package/dist/model/GeocodePayload.d.ts.map +1 -1
- package/dist/model/GeocodePayload.js +8 -8
- package/dist/model/GeocodeResponse.d.ts +67 -0
- package/dist/model/GeocodeResponse.d.ts.map +1 -0
- package/dist/model/GeocodeResponse.js +193 -0
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.d.ts +37 -37
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +100 -100
- package/dist/model/GraphAction.d.ts +12 -12
- package/dist/model/GraphAction.d.ts.map +1 -1
- package/dist/model/GraphAction.js +29 -29
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +19 -1
- package/dist/model/GraphActionResponse.d.ts.map +1 -1
- package/dist/model/GraphActionResponse.js +60 -2
- package/dist/model/GraphActionTypeInput.d.ts +144 -0
- package/dist/model/GraphActionTypeInput.d.ts.map +1 -0
- package/dist/model/GraphActionTypeInput.js +505 -0
- package/dist/model/GraphActionTypeResponse.d.ts +198 -0
- package/dist/model/GraphActionTypeResponse.d.ts.map +1 -0
- package/dist/model/GraphActionTypeResponse.js +681 -0
- package/dist/model/GraphDatabaseService.d.ts +10 -10
- package/dist/model/GraphDatabaseService.d.ts.map +1 -1
- package/dist/model/GraphDatabaseService.js +27 -27
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +92 -0
- package/dist/model/GraphInput.d.ts.map +1 -0
- package/dist/model/GraphInput.js +256 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +10 -10
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts.map +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +25 -25
- package/dist/model/GraphObject.d.ts +21 -21
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +54 -54
- package/dist/model/GraphObjectPayload.d.ts +16 -16
- package/dist/model/GraphObjectPayload.d.ts.map +1 -1
- package/dist/model/GraphObjectPayload.js +42 -44
- 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 +20 -20
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +51 -51
- 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 +20 -20
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +51 -51
- 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 +41 -41
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +111 -111
- package/dist/model/GraphRelationshipTypeInput.d.ts +172 -0
- package/dist/model/GraphRelationshipTypeInput.d.ts.map +1 -0
- package/dist/model/GraphRelationshipTypeInput.js +607 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +28 -1
- package/dist/model/GraphRelationshipTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +89 -2
- package/dist/model/GraphResponse.d.ts +127 -0
- package/dist/model/GraphResponse.d.ts.map +1 -0
- package/dist/model/GraphResponse.js +351 -0
- package/dist/model/GraphSchema.d.ts +41 -41
- package/dist/model/GraphSchema.d.ts.map +1 -1
- package/dist/model/GraphSchema.js +113 -113
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +55 -1
- package/dist/model/GraphTraversalInput.d.ts.map +1 -1
- package/dist/model/GraphTraversalInput.js +176 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +36 -18
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +102 -49
- 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 +15 -15
- package/dist/model/Link.d.ts.map +1 -1
- package/dist/model/Link.js +44 -44
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +74 -0
- package/dist/model/MediaType.d.ts.map +1 -0
- package/dist/model/MediaType.js +214 -0
- package/dist/model/MeetingEvent.d.ts +46 -46
- package/dist/model/MeetingEvent.d.ts.map +1 -1
- package/dist/model/MeetingEvent.js +133 -133
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTimezone.d.ts +1 -1
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +12 -12
- package/dist/model/MeetingInfo.d.ts.map +1 -1
- package/dist/model/MeetingInfo.js +34 -34
- package/dist/model/Member.d.ts +19 -19
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +56 -56
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +56 -0
- package/dist/model/MemberManagerConfigInput.d.ts.map +1 -0
- package/dist/model/MemberManagerConfigInput.js +160 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +66 -0
- package/dist/model/MemberManagerConfigResponse.d.ts.map +1 -0
- package/dist/model/MemberManagerConfigResponse.js +187 -0
- package/dist/model/MemberManagerInput.d.ts +66 -0
- package/dist/model/MemberManagerInput.d.ts.map +1 -0
- package/dist/model/MemberManagerInput.js +187 -0
- package/dist/model/MemberManagerResponse.d.ts +66 -0
- package/dist/model/MemberManagerResponse.d.ts.map +1 -0
- package/dist/model/MemberManagerResponse.js +187 -0
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +38 -0
- package/dist/model/MultivaluedMapStringString.d.ts.map +1 -0
- package/dist/model/MultivaluedMapStringString.js +106 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +20 -20
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +51 -51
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +19 -19
- package/dist/model/Page.d.ts.map +1 -1
- package/dist/model/Page.js +48 -48
- package/dist/model/PageSchema.d.ts +24 -24
- package/dist/model/PageSchema.d.ts.map +1 -1
- package/dist/model/PageSchema.js +65 -65
- package/dist/model/Pageable.d.ts +19 -19
- package/dist/model/Pageable.d.ts.map +1 -1
- package/dist/model/Pageable.js +48 -48
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +47 -0
- package/dist/model/PasswordResetInitiateRequest.d.ts.map +1 -0
- package/dist/model/PasswordResetInitiateRequest.js +131 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +87 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetInitiateResponse.js +243 -0
- package/dist/model/PasswordResetRequest.d.ts +67 -0
- package/dist/model/PasswordResetRequest.d.ts.map +1 -0
- package/dist/model/PasswordResetRequest.js +189 -0
- package/dist/model/PasswordResetResponse.d.ts +95 -0
- package/dist/model/PasswordResetResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetResponse.js +266 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +95 -0
- package/dist/model/PasswordResetValidationResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetValidationResponse.js +266 -0
- package/dist/model/Path.d.ts +5 -5
- package/dist/model/Path.d.ts.map +1 -1
- package/dist/model/Path.js +13 -13
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.d.ts +10 -10
- package/dist/model/PaymentMethod.d.ts.map +1 -1
- package/dist/model/PaymentMethod.js +27 -27
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.d.ts +12 -12
- package/dist/model/Payout.d.ts.map +1 -1
- package/dist/model/Payout.js +34 -34
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.d.ts +14 -14
- package/dist/model/PhoneNumber.d.ts.map +1 -1
- package/dist/model/PhoneNumber.js +44 -44
- package/dist/model/Post.d.ts +19 -19
- package/dist/model/Post.d.ts.map +1 -1
- package/dist/model/Post.js +50 -50
- package/dist/model/PrivateMessage.d.ts +28 -28
- package/dist/model/PrivateMessage.d.ts.map +1 -1
- package/dist/model/PrivateMessage.js +77 -77
- package/dist/model/PrivateMessageConversation.d.ts +47 -47
- package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
- package/dist/model/PrivateMessageConversation.js +124 -124
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +10 -10
- package/dist/model/Profile.d.ts.map +1 -1
- package/dist/model/Profile.js +30 -30
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.d.ts +1 -1
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponse.js +4 -4
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +10 -10
- package/dist/model/RelationshipMapping.d.ts.map +1 -1
- package/dist/model/RelationshipMapping.js +35 -35
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +35 -35
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +97 -97
- 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 +28 -28
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +74 -74
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +10 -10
- package/dist/model/SocialGroup.d.ts.map +1 -1
- package/dist/model/SocialGroup.js +33 -33
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sort.d.ts +9 -9
- package/dist/model/Sort.d.ts.map +1 -1
- package/dist/model/Sort.js +23 -23
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +10 -10
- package/dist/model/StatusUpdate.d.ts.map +1 -1
- package/dist/model/StatusUpdate.js +27 -27
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +10 -10
- package/dist/model/StripeAccount.d.ts.map +1 -1
- package/dist/model/StripeAccount.js +27 -27
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +10 -10
- package/dist/model/Template.d.ts.map +1 -1
- package/dist/model/Template.js +27 -27
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +10 -10
- package/dist/model/TemplateSchema.d.ts.map +1 -1
- package/dist/model/TemplateSchema.js +27 -27
- package/dist/model/ThemeMapping.d.ts +10 -10
- package/dist/model/ThemeMapping.d.ts.map +1 -1
- package/dist/model/ThemeMapping.js +30 -30
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +10 -10
- package/dist/model/Transfer.d.ts.map +1 -1
- package/dist/model/Transfer.js +29 -29
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +10 -10
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +29 -29
- package/dist/model/TraversalRelationResponse.d.ts +5 -5
- package/dist/model/TraversalRelationResponse.js +14 -14
- package/dist/model/User.d.ts +19 -19
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +56 -56
- package/dist/model/UserDataPayload.d.ts +19 -19
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +56 -56
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +18 -18
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +57 -57
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +19 -19
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +56 -56
- package/dist/model/UserTag.d.ts +19 -19
- package/dist/model/UserTag.d.ts.map +1 -1
- package/dist/model/UserTag.js +52 -52
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +47 -0
- package/dist/model/UsernameReminderRequest.d.ts.map +1 -0
- package/dist/model/UsernameReminderRequest.js +131 -0
- package/dist/model/UsernameReminderResponse.d.ts +87 -0
- package/dist/model/UsernameReminderResponse.d.ts.map +1 -0
- package/dist/model/UsernameReminderResponse.js +243 -0
- package/dist/model/Video.d.ts +71 -71
- package/dist/model/Video.d.ts.map +1 -1
- package/dist/model/Video.js +178 -178
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +71 -71
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +178 -178
- package/dist/model/VideoUploadObject.d.ts +71 -71
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +178 -178
- 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.100
|
|
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.100
|
|
35
33
|
*/
|
|
36
34
|
var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
35
|
/**
|
|
@@ -47,6 +45,8 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
45
|
}
|
|
48
46
|
|
|
49
47
|
/**
|
|
48
|
+
* Create a Relationship
|
|
49
|
+
* Create a relationship to another object
|
|
50
50
|
* @param {Number} id
|
|
51
51
|
* @param {Object} opts Optional parameters
|
|
52
52
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -55,106 +55,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
55
55
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
56
56
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
57
57
|
* @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)
|
|
58
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
58
59
|
* @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
60
|
* @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
61
|
* @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
62
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
62
63
|
* @param {String} [body]
|
|
63
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
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: "createRelationshipWithHttpInfo",
|
|
68
|
+
value: function createRelationshipWithHttpInfo(id, opts) {
|
|
68
69
|
opts = opts || {};
|
|
69
70
|
var postBody = opts['body'];
|
|
70
71
|
// verify the required parameter 'id' is set
|
|
71
72
|
if (id === undefined || id === null) {
|
|
72
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
73
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
73
74
|
}
|
|
74
75
|
var pathParams = {
|
|
75
76
|
'id': id
|
|
76
77
|
};
|
|
77
|
-
var queryParams = {
|
|
78
|
-
var headerParams = {
|
|
79
|
-
'Authorization': opts['authorization'],
|
|
78
|
+
var queryParams = {
|
|
80
79
|
'cacheduration': opts['cacheduration'],
|
|
81
|
-
'cachegroup': opts['cachegroup'],
|
|
82
|
-
'cachekey': opts['cachekey'],
|
|
80
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
81
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
83
82
|
'cachescope': opts['cachescope'],
|
|
84
|
-
'cacheuser': opts['cacheuser'],
|
|
85
|
-
'
|
|
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
|
|
83
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
84
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
149
85
|
};
|
|
150
|
-
var queryParams = {};
|
|
151
86
|
var headerParams = {
|
|
152
87
|
'Authorization': opts['authorization'],
|
|
153
|
-
'cacheduration': opts['cacheduration'],
|
|
154
|
-
'cachegroup': opts['cachegroup'],
|
|
155
|
-
'cachekey': opts['cachekey'],
|
|
156
|
-
'cachescope': opts['cachescope'],
|
|
157
|
-
'cacheuser': opts['cacheuser'],
|
|
158
88
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
159
89
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
160
90
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -162,13 +92,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
162
92
|
};
|
|
163
93
|
var formParams = {};
|
|
164
94
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
165
|
-
var contentTypes = [
|
|
95
|
+
var contentTypes = [];
|
|
166
96
|
var accepts = ['application/json'];
|
|
167
|
-
var returnType =
|
|
168
|
-
return this.apiClient.callApi('/
|
|
97
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
98
|
+
return this.apiClient.callApi('/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
169
99
|
}
|
|
170
100
|
|
|
171
101
|
/**
|
|
102
|
+
* Create a Relationship
|
|
103
|
+
* Create a relationship to another object
|
|
172
104
|
* @param {Number} id
|
|
173
105
|
* @param {Object} opts Optional parameters
|
|
174
106
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -177,26 +109,27 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
177
109
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
178
110
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
179
111
|
* @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)
|
|
112
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
180
113
|
* @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
114
|
* @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
115
|
* @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
116
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
184
117
|
* @param {String} opts.body
|
|
185
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
118
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
186
119
|
*/
|
|
187
120
|
}, {
|
|
188
|
-
key: "
|
|
189
|
-
value: function
|
|
190
|
-
return this.
|
|
121
|
+
key: "createRelationship",
|
|
122
|
+
value: function createRelationship(id, opts) {
|
|
123
|
+
return this.createRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
191
124
|
return response_and_data.data;
|
|
192
125
|
});
|
|
193
126
|
}
|
|
194
127
|
|
|
195
128
|
/**
|
|
196
|
-
* Create
|
|
197
|
-
* Create a relationship
|
|
198
|
-
* @param {Number}
|
|
199
|
-
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload
|
|
129
|
+
* Create Relationship
|
|
130
|
+
* Create a new relationship
|
|
131
|
+
* @param {Number} startObjectId
|
|
132
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
|
|
200
133
|
* @param {Object} opts Optional parameters
|
|
201
134
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
202
135
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -204,110 +137,39 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
204
137
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
205
138
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
206
139
|
* @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)
|
|
140
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
207
141
|
* @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
142
|
* @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
143
|
* @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
144
|
* @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/
|
|
145
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
|
|
212
146
|
*/
|
|
213
147
|
}, {
|
|
214
|
-
key: "
|
|
215
|
-
value: function
|
|
148
|
+
key: "createRelationship1WithHttpInfo",
|
|
149
|
+
value: function createRelationship1WithHttpInfo(startObjectId, graphRelationshipPayload, opts) {
|
|
216
150
|
opts = opts || {};
|
|
217
151
|
var postBody = graphRelationshipPayload;
|
|
218
|
-
// verify the required parameter '
|
|
219
|
-
if (
|
|
220
|
-
throw new Error("Missing the required parameter '
|
|
152
|
+
// verify the required parameter 'startObjectId' is set
|
|
153
|
+
if (startObjectId === undefined || startObjectId === null) {
|
|
154
|
+
throw new Error("Missing the required parameter 'startObjectId' when calling createRelationship1");
|
|
221
155
|
}
|
|
222
156
|
// verify the required parameter 'graphRelationshipPayload' is set
|
|
223
157
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
224
|
-
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling
|
|
158
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship1");
|
|
225
159
|
}
|
|
226
160
|
var pathParams = {
|
|
227
|
-
'
|
|
161
|
+
'startObjectId': startObjectId
|
|
228
162
|
};
|
|
229
|
-
var queryParams = {
|
|
230
|
-
var headerParams = {
|
|
231
|
-
'Authorization': opts['authorization'],
|
|
163
|
+
var queryParams = {
|
|
232
164
|
'cacheduration': opts['cacheduration'],
|
|
233
|
-
'cachegroup': opts['cachegroup'],
|
|
234
|
-
'cachekey': opts['cachekey'],
|
|
165
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
166
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
235
167
|
'cachescope': opts['cachescope'],
|
|
236
|
-
'cacheuser': opts['cacheuser'],
|
|
237
|
-
'
|
|
238
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
239
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
240
|
-
'transactionid': opts['transactionid']
|
|
168
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
169
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
241
170
|
};
|
|
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
171
|
var headerParams = {
|
|
305
172
|
'Authorization': opts['authorization'],
|
|
306
|
-
'cacheduration': opts['cacheduration'],
|
|
307
|
-
'cachegroup': opts['cachegroup'],
|
|
308
|
-
'cachekey': opts['cachekey'],
|
|
309
|
-
'cachescope': opts['cachescope'],
|
|
310
|
-
'cacheuser': opts['cacheuser'],
|
|
311
173
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
312
174
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
313
175
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -315,16 +177,17 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
315
177
|
};
|
|
316
178
|
var formParams = {};
|
|
317
179
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
318
|
-
var contentTypes = [
|
|
180
|
+
var contentTypes = [];
|
|
319
181
|
var accepts = ['application/json'];
|
|
320
|
-
var returnType =
|
|
321
|
-
return this.apiClient.callApi('/
|
|
182
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
183
|
+
return this.apiClient.callApi('/relationship/from/{startObjectId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
322
184
|
}
|
|
323
185
|
|
|
324
186
|
/**
|
|
325
|
-
* Create
|
|
326
|
-
*
|
|
327
|
-
* @param {
|
|
187
|
+
* Create Relationship
|
|
188
|
+
* Create a new relationship
|
|
189
|
+
* @param {Number} startObjectId
|
|
190
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
|
|
328
191
|
* @param {Object} opts Optional parameters
|
|
329
192
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
330
193
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -332,25 +195,25 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
332
195
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
333
196
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
334
197
|
* @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)
|
|
198
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
335
199
|
* @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
200
|
* @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
201
|
* @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
202
|
* @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/
|
|
203
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
340
204
|
*/
|
|
341
205
|
}, {
|
|
342
|
-
key: "
|
|
343
|
-
value: function
|
|
344
|
-
return this.
|
|
206
|
+
key: "createRelationship1",
|
|
207
|
+
value: function createRelationship1(startObjectId, graphRelationshipPayload, opts) {
|
|
208
|
+
return this.createRelationship1WithHttpInfo(startObjectId, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
345
209
|
return response_and_data.data;
|
|
346
210
|
});
|
|
347
211
|
}
|
|
348
212
|
|
|
349
213
|
/**
|
|
350
214
|
* Create Relationships
|
|
351
|
-
* Create
|
|
352
|
-
* @param {Number} id
|
|
353
|
-
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
215
|
+
* Create relationships to other objects
|
|
216
|
+
* @param {Number} id
|
|
354
217
|
* @param {Object} opts Optional parameters
|
|
355
218
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
356
219
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -358,1149 +221,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
358
221
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
359
222
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
360
223
|
* @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)
|
|
224
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
361
225
|
* @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
226
|
* @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
227
|
* @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
228
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
365
|
-
* @
|
|
229
|
+
* @param {String} [body]
|
|
230
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
366
231
|
*/
|
|
367
232
|
}, {
|
|
368
233
|
key: "createRelationshipsWithHttpInfo",
|
|
369
|
-
value: function createRelationshipsWithHttpInfo(id,
|
|
234
|
+
value: function createRelationshipsWithHttpInfo(id, opts) {
|
|
370
235
|
opts = opts || {};
|
|
371
|
-
var postBody =
|
|
236
|
+
var postBody = opts['body'];
|
|
372
237
|
// verify the required parameter 'id' is set
|
|
373
238
|
if (id === undefined || id === null) {
|
|
374
239
|
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
375
240
|
}
|
|
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
241
|
var pathParams = {
|
|
381
242
|
'id': id
|
|
382
243
|
};
|
|
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'],
|
|
244
|
+
var queryParams = {
|
|
462
245
|
'cacheduration': opts['cacheduration'],
|
|
463
|
-
'cachegroup': opts['cachegroup'],
|
|
464
|
-
'cachekey': opts['cachekey'],
|
|
465
|
-
'cachescope': opts['cachescope'],
|
|
466
|
-
'cacheuser': opts['cacheuser'],
|
|
467
|
-
'
|
|
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
|
|
246
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
247
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
248
|
+
'cachescope': opts['cachescope'],
|
|
249
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
250
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1495
251
|
};
|
|
1496
|
-
var queryParams = {};
|
|
1497
252
|
var headerParams = {
|
|
1498
253
|
'Authorization': opts['authorization'],
|
|
1499
|
-
'cacheduration': opts['cacheduration'],
|
|
1500
|
-
'cachegroup': opts['cachegroup'],
|
|
1501
|
-
'cachekey': opts['cachekey'],
|
|
1502
|
-
'cachescope': opts['cachescope'],
|
|
1503
|
-
'cacheuser': opts['cacheuser'],
|
|
1504
254
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1505
255
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1506
256
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1510,14 +260,14 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1510
260
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1511
261
|
var contentTypes = [];
|
|
1512
262
|
var accepts = ['application/json'];
|
|
1513
|
-
var returnType =
|
|
1514
|
-
return this.apiClient.callApi('/
|
|
263
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
264
|
+
return this.apiClient.callApi('/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1515
265
|
}
|
|
1516
266
|
|
|
1517
267
|
/**
|
|
1518
|
-
*
|
|
268
|
+
* Create Relationships
|
|
269
|
+
* Create relationships to other objects
|
|
1519
270
|
* @param {Number} id
|
|
1520
|
-
* @param {String} type
|
|
1521
271
|
* @param {Object} opts Optional parameters
|
|
1522
272
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1523
273
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1525,25 +275,26 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1525
275
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1526
276
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1527
277
|
* @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)
|
|
278
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1528
279
|
* @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
280
|
* @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
281
|
* @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
282
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1532
|
-
* @
|
|
283
|
+
* @param {String} opts.body
|
|
284
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1533
285
|
*/
|
|
1534
286
|
}, {
|
|
1535
|
-
key: "
|
|
1536
|
-
value: function
|
|
1537
|
-
return this.
|
|
287
|
+
key: "createRelationships",
|
|
288
|
+
value: function createRelationships(id, opts) {
|
|
289
|
+
return this.createRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1538
290
|
return response_and_data.data;
|
|
1539
291
|
});
|
|
1540
292
|
}
|
|
1541
293
|
|
|
1542
294
|
/**
|
|
1543
|
-
*
|
|
1544
|
-
*
|
|
1545
|
-
* @param {Number} id
|
|
1546
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
295
|
+
* Delete Relationship
|
|
296
|
+
* Delete a relationship
|
|
297
|
+
* @param {Number} id
|
|
1547
298
|
* @param {Object} opts Optional parameters
|
|
1548
299
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1549
300
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1551,37 +302,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1551
302
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1552
303
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1553
304
|
* @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)
|
|
305
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1554
306
|
* @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
307
|
* @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
308
|
* @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
309
|
* @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
|
|
310
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1559
311
|
*/
|
|
1560
312
|
}, {
|
|
1561
|
-
key: "
|
|
1562
|
-
value: function
|
|
313
|
+
key: "deleteRelationshipWithHttpInfo",
|
|
314
|
+
value: function deleteRelationshipWithHttpInfo(id, opts) {
|
|
1563
315
|
opts = opts || {};
|
|
1564
316
|
var postBody = null;
|
|
1565
317
|
// verify the required parameter 'id' is set
|
|
1566
318
|
if (id === undefined || id === null) {
|
|
1567
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
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");
|
|
319
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
1572
320
|
}
|
|
1573
321
|
var pathParams = {
|
|
1574
|
-
'id': id
|
|
1575
|
-
'reltypeid': reltypeid
|
|
322
|
+
'id': id
|
|
1576
323
|
};
|
|
1577
|
-
var queryParams = {
|
|
1578
|
-
var headerParams = {
|
|
1579
|
-
'Authorization': opts['authorization'],
|
|
324
|
+
var queryParams = {
|
|
1580
325
|
'cacheduration': opts['cacheduration'],
|
|
1581
|
-
'cachegroup': opts['cachegroup'],
|
|
1582
|
-
'cachekey': opts['cachekey'],
|
|
326
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
327
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1583
328
|
'cachescope': opts['cachescope'],
|
|
1584
|
-
'cacheuser': opts['cacheuser'],
|
|
329
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
330
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
331
|
+
};
|
|
332
|
+
var headerParams = {
|
|
333
|
+
'Authorization': opts['authorization'],
|
|
1585
334
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1586
335
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1587
336
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1591,15 +340,14 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1591
340
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1592
341
|
var contentTypes = [];
|
|
1593
342
|
var accepts = ['application/json'];
|
|
1594
|
-
var returnType =
|
|
1595
|
-
return this.apiClient.callApi('/
|
|
343
|
+
var returnType = null;
|
|
344
|
+
return this.apiClient.callApi('/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1596
345
|
}
|
|
1597
346
|
|
|
1598
347
|
/**
|
|
1599
|
-
*
|
|
1600
|
-
*
|
|
1601
|
-
* @param {Number} id
|
|
1602
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
348
|
+
* Delete Relationship
|
|
349
|
+
* Delete a relationship
|
|
350
|
+
* @param {Number} id
|
|
1603
351
|
* @param {Object} opts Optional parameters
|
|
1604
352
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1605
353
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1607,25 +355,25 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1607
355
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1608
356
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1609
357
|
* @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)
|
|
358
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1610
359
|
* @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
360
|
* @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
361
|
* @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
362
|
* @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}
|
|
363
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1615
364
|
*/
|
|
1616
365
|
}, {
|
|
1617
|
-
key: "
|
|
1618
|
-
value: function
|
|
1619
|
-
return this.
|
|
366
|
+
key: "deleteRelationship",
|
|
367
|
+
value: function deleteRelationship(id, opts) {
|
|
368
|
+
return this.deleteRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1620
369
|
return response_and_data.data;
|
|
1621
370
|
});
|
|
1622
371
|
}
|
|
1623
372
|
|
|
1624
373
|
/**
|
|
1625
|
-
* Get
|
|
374
|
+
* Get All Relationships
|
|
1626
375
|
* Returns a listing of relationships
|
|
1627
|
-
* @param {Number} id
|
|
1628
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
376
|
+
* @param {Number} id
|
|
1629
377
|
* @param {Object} opts Optional parameters
|
|
1630
378
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1631
379
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1633,37 +381,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1633
381
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1634
382
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1635
383
|
* @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)
|
|
384
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1636
385
|
* @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
386
|
* @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
387
|
* @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
388
|
* @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/
|
|
389
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
1641
390
|
*/
|
|
1642
391
|
}, {
|
|
1643
|
-
key: "
|
|
1644
|
-
value: function
|
|
392
|
+
key: "getAllRelationshipsWithHttpInfo",
|
|
393
|
+
value: function getAllRelationshipsWithHttpInfo(id, opts) {
|
|
1645
394
|
opts = opts || {};
|
|
1646
395
|
var postBody = null;
|
|
1647
396
|
// verify the required parameter 'id' is set
|
|
1648
397
|
if (id === undefined || id === null) {
|
|
1649
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
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");
|
|
398
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
1654
399
|
}
|
|
1655
400
|
var pathParams = {
|
|
1656
|
-
'id': id
|
|
1657
|
-
'reltypeid': reltypeid
|
|
401
|
+
'id': id
|
|
1658
402
|
};
|
|
1659
|
-
var queryParams = {
|
|
1660
|
-
var headerParams = {
|
|
1661
|
-
'Authorization': opts['authorization'],
|
|
403
|
+
var queryParams = {
|
|
1662
404
|
'cacheduration': opts['cacheduration'],
|
|
1663
|
-
'cachegroup': opts['cachegroup'],
|
|
1664
|
-
'cachekey': opts['cachekey'],
|
|
405
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
406
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1665
407
|
'cachescope': opts['cachescope'],
|
|
1666
|
-
'cacheuser': opts['cacheuser'],
|
|
408
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
409
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
410
|
+
};
|
|
411
|
+
var headerParams = {
|
|
412
|
+
'Authorization': opts['authorization'],
|
|
1667
413
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1668
414
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1669
415
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1673,15 +419,14 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1673
419
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1674
420
|
var contentTypes = [];
|
|
1675
421
|
var accepts = ['application/json'];
|
|
1676
|
-
var returnType = [
|
|
1677
|
-
return this.apiClient.callApi('/
|
|
422
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
423
|
+
return this.apiClient.callApi('/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1678
424
|
}
|
|
1679
425
|
|
|
1680
426
|
/**
|
|
1681
|
-
* Get
|
|
427
|
+
* Get All Relationships
|
|
1682
428
|
* Returns a listing of relationships
|
|
1683
|
-
* @param {Number} id
|
|
1684
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
429
|
+
* @param {Number} id
|
|
1685
430
|
* @param {Object} opts Optional parameters
|
|
1686
431
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1687
432
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1689,24 +434,26 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1689
434
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1690
435
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1691
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
|
|
1692
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
|
|
1693
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
|
|
1694
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
|
|
1695
441
|
* @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/
|
|
442
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1697
443
|
*/
|
|
1698
444
|
}, {
|
|
1699
|
-
key: "
|
|
1700
|
-
value: function
|
|
1701
|
-
return this.
|
|
445
|
+
key: "getAllRelationships",
|
|
446
|
+
value: function getAllRelationships(id, opts) {
|
|
447
|
+
return this.getAllRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1702
448
|
return response_and_data.data;
|
|
1703
449
|
});
|
|
1704
450
|
}
|
|
1705
451
|
|
|
1706
452
|
/**
|
|
1707
|
-
* Get
|
|
453
|
+
* Get All Relationships By Type
|
|
1708
454
|
* Returns a listing of relationships
|
|
1709
|
-
* @param {Number} id
|
|
455
|
+
* @param {Number} id
|
|
456
|
+
* @param {Number} reltypeid
|
|
1710
457
|
* @param {Object} opts Optional parameters
|
|
1711
458
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1712
459
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1714,32 +461,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1714
461
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1715
462
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1716
463
|
* @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)
|
|
464
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1717
465
|
* @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
466
|
* @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
467
|
* @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
468
|
* @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/
|
|
469
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
1722
470
|
*/
|
|
1723
471
|
}, {
|
|
1724
|
-
key: "
|
|
1725
|
-
value: function
|
|
472
|
+
key: "getAllRelationshipsByTypeWithHttpInfo",
|
|
473
|
+
value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
|
|
1726
474
|
opts = opts || {};
|
|
1727
475
|
var postBody = null;
|
|
1728
476
|
// verify the required parameter 'id' is set
|
|
1729
477
|
if (id === undefined || id === null) {
|
|
1730
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
478
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
479
|
+
}
|
|
480
|
+
// verify the required parameter 'reltypeid' is set
|
|
481
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
482
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
1731
483
|
}
|
|
1732
484
|
var pathParams = {
|
|
1733
|
-
'id': id
|
|
485
|
+
'id': id,
|
|
486
|
+
'reltypeid': reltypeid
|
|
1734
487
|
};
|
|
1735
|
-
var queryParams = {
|
|
1736
|
-
var headerParams = {
|
|
1737
|
-
'Authorization': opts['authorization'],
|
|
488
|
+
var queryParams = {
|
|
1738
489
|
'cacheduration': opts['cacheduration'],
|
|
1739
|
-
'cachegroup': opts['cachegroup'],
|
|
1740
|
-
'cachekey': opts['cachekey'],
|
|
490
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
491
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1741
492
|
'cachescope': opts['cachescope'],
|
|
1742
|
-
'cacheuser': opts['cacheuser'],
|
|
493
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
494
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
495
|
+
};
|
|
496
|
+
var headerParams = {
|
|
497
|
+
'Authorization': opts['authorization'],
|
|
1743
498
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1744
499
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1745
500
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1749,14 +504,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1749
504
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1750
505
|
var contentTypes = [];
|
|
1751
506
|
var accepts = ['application/json'];
|
|
1752
|
-
var returnType = [
|
|
1753
|
-
return this.apiClient.callApi('/
|
|
507
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
508
|
+
return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1754
509
|
}
|
|
1755
510
|
|
|
1756
511
|
/**
|
|
1757
|
-
* Get
|
|
512
|
+
* Get All Relationships By Type
|
|
1758
513
|
* Returns a listing of relationships
|
|
1759
|
-
* @param {Number} id
|
|
514
|
+
* @param {Number} id
|
|
515
|
+
* @param {Number} reltypeid
|
|
1760
516
|
* @param {Object} opts Optional parameters
|
|
1761
517
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1762
518
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1764,24 +520,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1764
520
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1765
521
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1766
522
|
* @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)
|
|
523
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1767
524
|
* @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
525
|
* @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
526
|
* @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
527
|
* @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/
|
|
528
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1772
529
|
*/
|
|
1773
530
|
}, {
|
|
1774
|
-
key: "
|
|
1775
|
-
value: function
|
|
1776
|
-
return this.
|
|
531
|
+
key: "getAllRelationshipsByType",
|
|
532
|
+
value: function getAllRelationshipsByType(id, reltypeid, opts) {
|
|
533
|
+
return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1777
534
|
return response_and_data.data;
|
|
1778
535
|
});
|
|
1779
536
|
}
|
|
1780
537
|
|
|
1781
538
|
/**
|
|
1782
|
-
*
|
|
1783
|
-
*
|
|
1784
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
539
|
+
* Gets the relationship by id
|
|
540
|
+
* @param {Number} id
|
|
1785
541
|
* @param {Object} opts Optional parameters
|
|
1786
542
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1787
543
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1789,32 +545,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1789
545
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1790
546
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1791
547
|
* @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)
|
|
548
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1792
549
|
* @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
550
|
* @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
551
|
* @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
552
|
* @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
|
|
553
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
|
|
1797
554
|
*/
|
|
1798
555
|
}, {
|
|
1799
|
-
key: "
|
|
1800
|
-
value: function
|
|
556
|
+
key: "getRelationshipByIdWithHttpInfo",
|
|
557
|
+
value: function getRelationshipByIdWithHttpInfo(id, opts) {
|
|
1801
558
|
opts = opts || {};
|
|
1802
559
|
var postBody = null;
|
|
1803
560
|
// verify the required parameter 'id' is set
|
|
1804
561
|
if (id === undefined || id === null) {
|
|
1805
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
562
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
1806
563
|
}
|
|
1807
564
|
var pathParams = {
|
|
1808
565
|
'id': id
|
|
1809
566
|
};
|
|
1810
|
-
var queryParams = {
|
|
1811
|
-
var headerParams = {
|
|
1812
|
-
'Authorization': opts['authorization'],
|
|
567
|
+
var queryParams = {
|
|
1813
568
|
'cacheduration': opts['cacheduration'],
|
|
1814
|
-
'cachegroup': opts['cachegroup'],
|
|
1815
|
-
'cachekey': opts['cachekey'],
|
|
569
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
570
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1816
571
|
'cachescope': opts['cachescope'],
|
|
1817
|
-
'cacheuser': opts['cacheuser'],
|
|
572
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
573
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
574
|
+
};
|
|
575
|
+
var headerParams = {
|
|
576
|
+
'Authorization': opts['authorization'],
|
|
1818
577
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1819
578
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1820
579
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1824,14 +583,13 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1824
583
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1825
584
|
var contentTypes = [];
|
|
1826
585
|
var accepts = ['application/json'];
|
|
1827
|
-
var returnType = [
|
|
1828
|
-
return this.apiClient.callApi('/
|
|
586
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
587
|
+
return this.apiClient.callApi('/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1829
588
|
}
|
|
1830
589
|
|
|
1831
590
|
/**
|
|
1832
|
-
*
|
|
1833
|
-
*
|
|
1834
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
591
|
+
* Gets the relationship by id
|
|
592
|
+
* @param {Number} id
|
|
1835
593
|
* @param {Object} opts Optional parameters
|
|
1836
594
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1837
595
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1839,22 +597,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1839
597
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1840
598
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1841
599
|
* @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)
|
|
600
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1842
601
|
* @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
602
|
* @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
603
|
* @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
604
|
* @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
|
|
605
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
1847
606
|
*/
|
|
1848
607
|
}, {
|
|
1849
|
-
key: "
|
|
1850
|
-
value: function
|
|
1851
|
-
return this.
|
|
608
|
+
key: "getRelationshipById",
|
|
609
|
+
value: function getRelationshipById(id, opts) {
|
|
610
|
+
return this.getRelationshipByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1852
611
|
return response_and_data.data;
|
|
1853
612
|
});
|
|
1854
613
|
}
|
|
1855
614
|
|
|
1856
615
|
/**
|
|
1857
|
-
*
|
|
616
|
+
* Get Relationship Properties
|
|
617
|
+
* Get properties of a relationship
|
|
1858
618
|
* @param {Number} id
|
|
1859
619
|
* @param {Object} opts Optional parameters
|
|
1860
620
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1863,32 +623,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1863
623
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1864
624
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1865
625
|
* @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)
|
|
626
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1866
627
|
* @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
628
|
* @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
629
|
* @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
630
|
* @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
|
|
631
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1871
632
|
*/
|
|
1872
633
|
}, {
|
|
1873
|
-
key: "
|
|
1874
|
-
value: function
|
|
634
|
+
key: "getRelationshipPropertiesWithHttpInfo",
|
|
635
|
+
value: function getRelationshipPropertiesWithHttpInfo(id, opts) {
|
|
1875
636
|
opts = opts || {};
|
|
1876
637
|
var postBody = null;
|
|
1877
638
|
// verify the required parameter 'id' is set
|
|
1878
639
|
if (id === undefined || id === null) {
|
|
1879
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
640
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipProperties");
|
|
1880
641
|
}
|
|
1881
642
|
var pathParams = {
|
|
1882
643
|
'id': id
|
|
1883
644
|
};
|
|
1884
|
-
var queryParams = {
|
|
1885
|
-
var headerParams = {
|
|
1886
|
-
'Authorization': opts['authorization'],
|
|
645
|
+
var queryParams = {
|
|
1887
646
|
'cacheduration': opts['cacheduration'],
|
|
1888
|
-
'cachegroup': opts['cachegroup'],
|
|
1889
|
-
'cachekey': opts['cachekey'],
|
|
647
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
648
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1890
649
|
'cachescope': opts['cachescope'],
|
|
1891
|
-
'cacheuser': opts['cacheuser'],
|
|
650
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
651
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
652
|
+
};
|
|
653
|
+
var headerParams = {
|
|
654
|
+
'Authorization': opts['authorization'],
|
|
1892
655
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1893
656
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1894
657
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1898,12 +661,13 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1898
661
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1899
662
|
var contentTypes = [];
|
|
1900
663
|
var accepts = ['application/json'];
|
|
1901
|
-
var returnType =
|
|
1902
|
-
return this.apiClient.callApi('/
|
|
664
|
+
var returnType = null;
|
|
665
|
+
return this.apiClient.callApi('/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1903
666
|
}
|
|
1904
667
|
|
|
1905
668
|
/**
|
|
1906
|
-
*
|
|
669
|
+
* Get Relationship Properties
|
|
670
|
+
* Get properties of a relationship
|
|
1907
671
|
* @param {Number} id
|
|
1908
672
|
* @param {Object} opts Optional parameters
|
|
1909
673
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -1912,22 +676,26 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1912
676
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1913
677
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1914
678
|
* @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)
|
|
679
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1915
680
|
* @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
681
|
* @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
682
|
* @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
683
|
* @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}
|
|
684
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1920
685
|
*/
|
|
1921
686
|
}, {
|
|
1922
|
-
key: "
|
|
1923
|
-
value: function
|
|
1924
|
-
return this.
|
|
687
|
+
key: "getRelationshipProperties",
|
|
688
|
+
value: function getRelationshipProperties(id, opts) {
|
|
689
|
+
return this.getRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1925
690
|
return response_and_data.data;
|
|
1926
691
|
});
|
|
1927
692
|
}
|
|
1928
693
|
|
|
1929
694
|
/**
|
|
695
|
+
* Get Incoming Relationships By Type
|
|
696
|
+
* Returns a listing of relationships
|
|
1930
697
|
* @param {Number} id
|
|
698
|
+
* @param {Number} reltypeid
|
|
1931
699
|
* @param {Object} opts Optional parameters
|
|
1932
700
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1933
701
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1935,33 +703,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1935
703
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1936
704
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1937
705
|
* @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)
|
|
706
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1938
707
|
* @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
708
|
* @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
709
|
* @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
710
|
* @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
|
|
711
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
1944
712
|
*/
|
|
1945
713
|
}, {
|
|
1946
|
-
key: "
|
|
1947
|
-
value: function
|
|
714
|
+
key: "getRelationshipsByTypeInWithHttpInfo",
|
|
715
|
+
value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
|
|
1948
716
|
opts = opts || {};
|
|
1949
|
-
var postBody =
|
|
717
|
+
var postBody = null;
|
|
1950
718
|
// verify the required parameter 'id' is set
|
|
1951
719
|
if (id === undefined || id === null) {
|
|
1952
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
720
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
721
|
+
}
|
|
722
|
+
// verify the required parameter 'reltypeid' is set
|
|
723
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
724
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
1953
725
|
}
|
|
1954
726
|
var pathParams = {
|
|
1955
|
-
'id': id
|
|
727
|
+
'id': id,
|
|
728
|
+
'reltypeid': reltypeid
|
|
1956
729
|
};
|
|
1957
|
-
var queryParams = {
|
|
1958
|
-
var headerParams = {
|
|
1959
|
-
'Authorization': opts['authorization'],
|
|
730
|
+
var queryParams = {
|
|
1960
731
|
'cacheduration': opts['cacheduration'],
|
|
1961
|
-
'cachegroup': opts['cachegroup'],
|
|
1962
|
-
'cachekey': opts['cachekey'],
|
|
732
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
733
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1963
734
|
'cachescope': opts['cachescope'],
|
|
1964
|
-
'cacheuser': opts['cacheuser'],
|
|
735
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
736
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
737
|
+
};
|
|
738
|
+
var headerParams = {
|
|
739
|
+
'Authorization': opts['authorization'],
|
|
1965
740
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1966
741
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1967
742
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1969,14 +744,17 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1969
744
|
};
|
|
1970
745
|
var formParams = {};
|
|
1971
746
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1972
|
-
var contentTypes = [
|
|
747
|
+
var contentTypes = [];
|
|
1973
748
|
var accepts = ['application/json'];
|
|
1974
|
-
var returnType =
|
|
1975
|
-
return this.apiClient.callApi('/
|
|
749
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
750
|
+
return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1976
751
|
}
|
|
1977
752
|
|
|
1978
753
|
/**
|
|
754
|
+
* Get Incoming Relationships By Type
|
|
755
|
+
* Returns a listing of relationships
|
|
1979
756
|
* @param {Number} id
|
|
757
|
+
* @param {Number} reltypeid
|
|
1980
758
|
* @param {Object} opts Optional parameters
|
|
1981
759
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1982
760
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1984,23 +762,26 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1984
762
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1985
763
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1986
764
|
* @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)
|
|
765
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1987
766
|
* @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
767
|
* @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
768
|
* @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
769
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1991
|
-
* @
|
|
1992
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
770
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1993
771
|
*/
|
|
1994
772
|
}, {
|
|
1995
|
-
key: "
|
|
1996
|
-
value: function
|
|
1997
|
-
return this.
|
|
773
|
+
key: "getRelationshipsByTypeIn",
|
|
774
|
+
value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
|
|
775
|
+
return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1998
776
|
return response_and_data.data;
|
|
1999
777
|
});
|
|
2000
778
|
}
|
|
2001
779
|
|
|
2002
780
|
/**
|
|
781
|
+
* Get Outgoing Relationships By Type
|
|
782
|
+
* Returns a listing of relationships
|
|
2003
783
|
* @param {Number} id
|
|
784
|
+
* @param {Number} reltypeid
|
|
2004
785
|
* @param {Object} opts Optional parameters
|
|
2005
786
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2006
787
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2008,33 +789,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2008
789
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2009
790
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2010
791
|
* @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)
|
|
792
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2011
793
|
* @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
794
|
* @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
795
|
* @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
796
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2015
|
-
* @
|
|
2016
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
797
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
2017
798
|
*/
|
|
2018
799
|
}, {
|
|
2019
|
-
key: "
|
|
2020
|
-
value: function
|
|
800
|
+
key: "getRelationshipsByTypeOutWithHttpInfo",
|
|
801
|
+
value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
|
|
2021
802
|
opts = opts || {};
|
|
2022
|
-
var postBody =
|
|
803
|
+
var postBody = null;
|
|
2023
804
|
// verify the required parameter 'id' is set
|
|
2024
805
|
if (id === undefined || id === null) {
|
|
2025
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
806
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
807
|
+
}
|
|
808
|
+
// verify the required parameter 'reltypeid' is set
|
|
809
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
810
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
2026
811
|
}
|
|
2027
812
|
var pathParams = {
|
|
2028
|
-
'id': id
|
|
813
|
+
'id': id,
|
|
814
|
+
'reltypeid': reltypeid
|
|
2029
815
|
};
|
|
2030
|
-
var queryParams = {
|
|
2031
|
-
var headerParams = {
|
|
2032
|
-
'Authorization': opts['authorization'],
|
|
816
|
+
var queryParams = {
|
|
2033
817
|
'cacheduration': opts['cacheduration'],
|
|
2034
|
-
'cachegroup': opts['cachegroup'],
|
|
2035
|
-
'cachekey': opts['cachekey'],
|
|
818
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
819
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2036
820
|
'cachescope': opts['cachescope'],
|
|
2037
|
-
'cacheuser': opts['cacheuser'],
|
|
821
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
822
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
823
|
+
};
|
|
824
|
+
var headerParams = {
|
|
825
|
+
'Authorization': opts['authorization'],
|
|
2038
826
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2039
827
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2040
828
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2042,14 +830,17 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2042
830
|
};
|
|
2043
831
|
var formParams = {};
|
|
2044
832
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2045
|
-
var contentTypes = [
|
|
833
|
+
var contentTypes = [];
|
|
2046
834
|
var accepts = ['application/json'];
|
|
2047
|
-
var returnType =
|
|
2048
|
-
return this.apiClient.callApi('/
|
|
835
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
836
|
+
return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2049
837
|
}
|
|
2050
838
|
|
|
2051
839
|
/**
|
|
840
|
+
* Get Outgoing Relationships By Type
|
|
841
|
+
* Returns a listing of relationships
|
|
2052
842
|
* @param {Number} id
|
|
843
|
+
* @param {Number} reltypeid
|
|
2053
844
|
* @param {Object} opts Optional parameters
|
|
2054
845
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2055
846
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2057,24 +848,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2057
848
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2058
849
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2059
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 {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2060
852
|
* @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
853
|
* @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
854
|
* @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
855
|
* @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}
|
|
856
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
2066
857
|
*/
|
|
2067
858
|
}, {
|
|
2068
|
-
key: "
|
|
2069
|
-
value: function
|
|
2070
|
-
return this.
|
|
859
|
+
key: "getRelationshipsByTypeOut",
|
|
860
|
+
value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
|
|
861
|
+
return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
2071
862
|
return response_and_data.data;
|
|
2072
863
|
});
|
|
2073
864
|
}
|
|
2074
865
|
|
|
2075
866
|
/**
|
|
2076
|
-
*
|
|
2077
|
-
*
|
|
867
|
+
* Get Incoming Relationships
|
|
868
|
+
* Returns a listing of relationships
|
|
2078
869
|
* @param {Number} id
|
|
2079
870
|
* @param {Object} opts Optional parameters
|
|
2080
871
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -2083,33 +874,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2083
874
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2084
875
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2085
876
|
* @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)
|
|
877
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2086
878
|
* @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
879
|
* @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
880
|
* @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
881
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2090
|
-
* @
|
|
2091
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
882
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
2092
883
|
*/
|
|
2093
884
|
}, {
|
|
2094
|
-
key: "
|
|
2095
|
-
value: function
|
|
885
|
+
key: "getRelationshipsInWithHttpInfo",
|
|
886
|
+
value: function getRelationshipsInWithHttpInfo(id, opts) {
|
|
2096
887
|
opts = opts || {};
|
|
2097
|
-
var postBody =
|
|
888
|
+
var postBody = null;
|
|
2098
889
|
// verify the required parameter 'id' is set
|
|
2099
890
|
if (id === undefined || id === null) {
|
|
2100
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
891
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
2101
892
|
}
|
|
2102
893
|
var pathParams = {
|
|
2103
894
|
'id': id
|
|
2104
895
|
};
|
|
2105
|
-
var queryParams = {
|
|
2106
|
-
var headerParams = {
|
|
2107
|
-
'Authorization': opts['authorization'],
|
|
896
|
+
var queryParams = {
|
|
2108
897
|
'cacheduration': opts['cacheduration'],
|
|
2109
|
-
'cachegroup': opts['cachegroup'],
|
|
2110
|
-
'cachekey': opts['cachekey'],
|
|
898
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
899
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2111
900
|
'cachescope': opts['cachescope'],
|
|
2112
|
-
'cacheuser': opts['cacheuser'],
|
|
901
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
902
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
903
|
+
};
|
|
904
|
+
var headerParams = {
|
|
905
|
+
'Authorization': opts['authorization'],
|
|
2113
906
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2114
907
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2115
908
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2118,14 +911,14 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2118
911
|
var formParams = {};
|
|
2119
912
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2120
913
|
var contentTypes = [];
|
|
2121
|
-
var accepts = ['
|
|
2122
|
-
var returnType =
|
|
2123
|
-
return this.apiClient.callApi('/
|
|
914
|
+
var accepts = ['application/json'];
|
|
915
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
916
|
+
return this.apiClient.callApi('/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2124
917
|
}
|
|
2125
918
|
|
|
2126
919
|
/**
|
|
2127
|
-
*
|
|
2128
|
-
*
|
|
920
|
+
* Get Incoming Relationships
|
|
921
|
+
* Returns a listing of relationships
|
|
2129
922
|
* @param {Number} id
|
|
2130
923
|
* @param {Object} opts Optional parameters
|
|
2131
924
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -2134,26 +927,25 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2134
927
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2135
928
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2136
929
|
* @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)
|
|
930
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2137
931
|
* @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
932
|
* @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
933
|
* @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
934
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2141
|
-
* @
|
|
2142
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
935
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
2143
936
|
*/
|
|
2144
937
|
}, {
|
|
2145
|
-
key: "
|
|
2146
|
-
value: function
|
|
2147
|
-
return this.
|
|
938
|
+
key: "getRelationshipsIn",
|
|
939
|
+
value: function getRelationshipsIn(id, opts) {
|
|
940
|
+
return this.getRelationshipsInWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2148
941
|
return response_and_data.data;
|
|
2149
942
|
});
|
|
2150
943
|
}
|
|
2151
944
|
|
|
2152
945
|
/**
|
|
2153
|
-
*
|
|
2154
|
-
*
|
|
946
|
+
* Get Outgoing Relationships
|
|
947
|
+
* Returns a listing of relationships
|
|
2155
948
|
* @param {Number} id
|
|
2156
|
-
* @param {String} prop
|
|
2157
949
|
* @param {Object} opts Optional parameters
|
|
2158
950
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2159
951
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2161,38 +953,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2161
953
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2162
954
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2163
955
|
* @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)
|
|
956
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2164
957
|
* @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
958
|
* @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
959
|
* @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
960
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2168
|
-
* @
|
|
2169
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
961
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
2170
962
|
*/
|
|
2171
963
|
}, {
|
|
2172
|
-
key: "
|
|
2173
|
-
value: function
|
|
964
|
+
key: "getRelationshipsOutWithHttpInfo",
|
|
965
|
+
value: function getRelationshipsOutWithHttpInfo(id, opts) {
|
|
2174
966
|
opts = opts || {};
|
|
2175
|
-
var postBody =
|
|
967
|
+
var postBody = null;
|
|
2176
968
|
// verify the required parameter 'id' is set
|
|
2177
969
|
if (id === undefined || id === null) {
|
|
2178
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
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");
|
|
970
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
2183
971
|
}
|
|
2184
972
|
var pathParams = {
|
|
2185
|
-
'id': id
|
|
2186
|
-
'prop': prop
|
|
973
|
+
'id': id
|
|
2187
974
|
};
|
|
2188
|
-
var queryParams = {
|
|
2189
|
-
var headerParams = {
|
|
2190
|
-
'Authorization': opts['authorization'],
|
|
975
|
+
var queryParams = {
|
|
2191
976
|
'cacheduration': opts['cacheduration'],
|
|
2192
|
-
'cachegroup': opts['cachegroup'],
|
|
2193
|
-
'cachekey': opts['cachekey'],
|
|
977
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
978
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2194
979
|
'cachescope': opts['cachescope'],
|
|
2195
|
-
'cacheuser': opts['cacheuser'],
|
|
980
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
981
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
982
|
+
};
|
|
983
|
+
var headerParams = {
|
|
984
|
+
'Authorization': opts['authorization'],
|
|
2196
985
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2197
986
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2198
987
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2201,16 +990,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2201
990
|
var formParams = {};
|
|
2202
991
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2203
992
|
var contentTypes = [];
|
|
2204
|
-
var accepts = ['
|
|
2205
|
-
var returnType =
|
|
2206
|
-
return this.apiClient.callApi('/
|
|
993
|
+
var accepts = ['application/json'];
|
|
994
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
995
|
+
return this.apiClient.callApi('/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2207
996
|
}
|
|
2208
997
|
|
|
2209
998
|
/**
|
|
2210
|
-
*
|
|
2211
|
-
*
|
|
999
|
+
* Get Outgoing Relationships
|
|
1000
|
+
* Returns a listing of relationships
|
|
2212
1001
|
* @param {Number} id
|
|
2213
|
-
* @param {String} prop
|
|
2214
1002
|
* @param {Object} opts Optional parameters
|
|
2215
1003
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2216
1004
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2218,26 +1006,26 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2218
1006
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2219
1007
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2220
1008
|
* @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)
|
|
1009
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2221
1010
|
* @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
1011
|
* @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
1012
|
* @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
1013
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2225
|
-
* @
|
|
2226
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1014
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
2227
1015
|
*/
|
|
2228
1016
|
}, {
|
|
2229
|
-
key: "
|
|
2230
|
-
value: function
|
|
2231
|
-
return this.
|
|
1017
|
+
key: "getRelationshipsOut",
|
|
1018
|
+
value: function getRelationshipsOut(id, opts) {
|
|
1019
|
+
return this.getRelationshipsOutWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2232
1020
|
return response_and_data.data;
|
|
2233
1021
|
});
|
|
2234
1022
|
}
|
|
2235
1023
|
|
|
2236
1024
|
/**
|
|
2237
|
-
* Update
|
|
2238
|
-
*
|
|
2239
|
-
* @param {Number} id
|
|
2240
|
-
* @param {module:model/
|
|
1025
|
+
* Update Relationship
|
|
1026
|
+
* Update an existing relationship
|
|
1027
|
+
* @param {Number} id
|
|
1028
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
|
|
2241
1029
|
* @param {Object} opts Optional parameters
|
|
2242
1030
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2243
1031
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2245,36 +1033,39 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2245
1033
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2246
1034
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2247
1035
|
* @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)
|
|
1036
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2248
1037
|
* @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
1038
|
* @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
1039
|
* @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
1040
|
* @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/
|
|
1041
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
|
|
2253
1042
|
*/
|
|
2254
1043
|
}, {
|
|
2255
|
-
key: "
|
|
2256
|
-
value: function
|
|
1044
|
+
key: "updateRelationshipWithHttpInfo",
|
|
1045
|
+
value: function updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts) {
|
|
2257
1046
|
opts = opts || {};
|
|
2258
|
-
var postBody =
|
|
1047
|
+
var postBody = graphRelationshipPayload;
|
|
2259
1048
|
// verify the required parameter 'id' is set
|
|
2260
1049
|
if (id === undefined || id === null) {
|
|
2261
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1050
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationship");
|
|
2262
1051
|
}
|
|
2263
|
-
// verify the required parameter '
|
|
2264
|
-
if (
|
|
2265
|
-
throw new Error("Missing the required parameter '
|
|
1052
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
1053
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
1054
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling updateRelationship");
|
|
2266
1055
|
}
|
|
2267
1056
|
var pathParams = {
|
|
2268
1057
|
'id': id
|
|
2269
1058
|
};
|
|
2270
|
-
var queryParams = {
|
|
2271
|
-
var headerParams = {
|
|
2272
|
-
'Authorization': opts['authorization'],
|
|
1059
|
+
var queryParams = {
|
|
2273
1060
|
'cacheduration': opts['cacheduration'],
|
|
2274
|
-
'cachegroup': opts['cachegroup'],
|
|
2275
|
-
'cachekey': opts['cachekey'],
|
|
1061
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1062
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2276
1063
|
'cachescope': opts['cachescope'],
|
|
2277
|
-
'cacheuser': opts['cacheuser'],
|
|
1064
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1065
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1066
|
+
};
|
|
1067
|
+
var headerParams = {
|
|
1068
|
+
'Authorization': opts['authorization'],
|
|
2278
1069
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2279
1070
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2280
1071
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2282,17 +1073,17 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2282
1073
|
};
|
|
2283
1074
|
var formParams = {};
|
|
2284
1075
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2285
|
-
var contentTypes = [
|
|
1076
|
+
var contentTypes = [];
|
|
2286
1077
|
var accepts = ['application/json'];
|
|
2287
|
-
var returnType =
|
|
2288
|
-
return this.apiClient.callApi('/
|
|
1078
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
1079
|
+
return this.apiClient.callApi('/relationship/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2289
1080
|
}
|
|
2290
1081
|
|
|
2291
1082
|
/**
|
|
2292
|
-
* Update
|
|
2293
|
-
*
|
|
2294
|
-
* @param {Number} id
|
|
2295
|
-
* @param {module:model/
|
|
1083
|
+
* Update Relationship
|
|
1084
|
+
* Update an existing relationship
|
|
1085
|
+
* @param {Number} id
|
|
1086
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
|
|
2296
1087
|
* @param {Object} opts Optional parameters
|
|
2297
1088
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2298
1089
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2300,21 +1091,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2300
1091
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2301
1092
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2302
1093
|
* @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)
|
|
1094
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2303
1095
|
* @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
1096
|
* @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
1097
|
* @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
1098
|
* @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/
|
|
1099
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
|
|
2308
1100
|
*/
|
|
2309
1101
|
}, {
|
|
2310
|
-
key: "
|
|
2311
|
-
value: function
|
|
2312
|
-
return this.
|
|
1102
|
+
key: "updateRelationship",
|
|
1103
|
+
value: function updateRelationship(id, graphRelationshipPayload, opts) {
|
|
1104
|
+
return this.updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
2313
1105
|
return response_and_data.data;
|
|
2314
1106
|
});
|
|
2315
1107
|
}
|
|
2316
1108
|
|
|
2317
1109
|
/**
|
|
1110
|
+
* Update Relationship Properties
|
|
1111
|
+
* Update properties of a relationship
|
|
2318
1112
|
* @param {Number} id
|
|
2319
1113
|
* @param {Object} opts Optional parameters
|
|
2320
1114
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -2323,33 +1117,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2323
1117
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2324
1118
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2325
1119
|
* @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)
|
|
1120
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2326
1121
|
* @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
1122
|
* @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
1123
|
* @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
1124
|
* @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
|
|
1125
|
+
* @param {Object.<String, Object>} [body]
|
|
1126
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2332
1127
|
*/
|
|
2333
1128
|
}, {
|
|
2334
|
-
key: "
|
|
2335
|
-
value: function
|
|
1129
|
+
key: "updateRelationshipPropertiesWithHttpInfo",
|
|
1130
|
+
value: function updateRelationshipPropertiesWithHttpInfo(id, opts) {
|
|
2336
1131
|
opts = opts || {};
|
|
2337
1132
|
var postBody = opts['body'];
|
|
2338
1133
|
// verify the required parameter 'id' is set
|
|
2339
1134
|
if (id === undefined || id === null) {
|
|
2340
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1135
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipProperties");
|
|
2341
1136
|
}
|
|
2342
1137
|
var pathParams = {
|
|
2343
1138
|
'id': id
|
|
2344
1139
|
};
|
|
2345
|
-
var queryParams = {
|
|
2346
|
-
var headerParams = {
|
|
2347
|
-
'Authorization': opts['authorization'],
|
|
1140
|
+
var queryParams = {
|
|
2348
1141
|
'cacheduration': opts['cacheduration'],
|
|
2349
|
-
'cachegroup': opts['cachegroup'],
|
|
2350
|
-
'cachekey': opts['cachekey'],
|
|
1142
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1143
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2351
1144
|
'cachescope': opts['cachescope'],
|
|
2352
|
-
'cacheuser': opts['cacheuser'],
|
|
1145
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1146
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1147
|
+
};
|
|
1148
|
+
var headerParams = {
|
|
1149
|
+
'Authorization': opts['authorization'],
|
|
2353
1150
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2354
1151
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2355
1152
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -2357,13 +1154,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2357
1154
|
};
|
|
2358
1155
|
var formParams = {};
|
|
2359
1156
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2360
|
-
var contentTypes = [
|
|
1157
|
+
var contentTypes = [];
|
|
2361
1158
|
var accepts = ['application/json'];
|
|
2362
|
-
var returnType =
|
|
2363
|
-
return this.apiClient.callApi('/
|
|
1159
|
+
var returnType = null;
|
|
1160
|
+
return this.apiClient.callApi('/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2364
1161
|
}
|
|
2365
1162
|
|
|
2366
1163
|
/**
|
|
1164
|
+
* Update Relationship Properties
|
|
1165
|
+
* Update properties of a relationship
|
|
2367
1166
|
* @param {Number} id
|
|
2368
1167
|
* @param {Object} opts Optional parameters
|
|
2369
1168
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -2372,17 +1171,18 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2372
1171
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2373
1172
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2374
1173
|
* @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)
|
|
1174
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2375
1175
|
* @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
1176
|
* @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
1177
|
* @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
1178
|
* @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}
|
|
1179
|
+
* @param {Object.<String, Object>} opts.body
|
|
1180
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2381
1181
|
*/
|
|
2382
1182
|
}, {
|
|
2383
|
-
key: "
|
|
2384
|
-
value: function
|
|
2385
|
-
return this.
|
|
1183
|
+
key: "updateRelationshipProperties",
|
|
1184
|
+
value: function updateRelationshipProperties(id, opts) {
|
|
1185
|
+
return this.updateRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
2386
1186
|
return response_and_data.data;
|
|
2387
1187
|
});
|
|
2388
1188
|
}
|