@gobodo/gobodo-api 0.1.96 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +582 -685
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +7 -3
- package/dist/api/ActionTypesApi.d.ts +2 -1
- package/dist/api/ActionTypesApi.js +6 -3
- package/dist/api/AdCampaignsApi.d.ts +30 -47
- package/dist/api/AdCampaignsApi.js +107 -145
- package/dist/api/AdManagementApi.d.ts +53 -41
- package/dist/api/AdManagementApi.js +186 -156
- package/dist/api/AdminDataManagementApi.d.ts +4 -3
- package/dist/api/AdminDataManagementApi.js +17 -15
- package/dist/api/AdsApi.d.ts +24 -43
- package/dist/api/AdsApi.js +80 -124
- package/dist/api/AttachmentsApi.d.ts +14 -58
- package/dist/api/AttachmentsApi.js +64 -166
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +12 -12
- package/dist/api/CategoriesApi.d.ts +17 -10
- package/dist/api/CategoriesApi.js +88 -65
- package/dist/api/CommentsApi.d.ts +11 -53
- package/dist/api/CommentsApi.js +64 -159
- package/dist/api/ContentManagementApi.d.ts +44 -16
- package/dist/api/ContentManagementApi.js +306 -222
- package/dist/api/ConversationsApi.d.ts +13 -29
- package/dist/api/ConversationsApi.js +87 -119
- package/dist/api/CurrencyApi.d.ts +8 -1
- package/dist/api/CurrencyApi.js +71 -50
- package/dist/api/DataSheetImportsApi.d.ts +23 -11
- package/dist/api/DataSheetImportsApi.js +167 -127
- package/dist/api/DefaultApi.d.ts +18 -13
- package/dist/api/DefaultApi.js +73 -58
- package/dist/api/DocumentPartTypesApi.d.ts +3 -1
- package/dist/api/DocumentPartTypesApi.js +23 -16
- package/dist/api/DocumentTypesApi.d.ts +3 -1
- package/dist/api/DocumentTypesApi.js +23 -16
- package/dist/api/DocumentsApi.d.ts +20 -32
- package/dist/api/DocumentsApi.js +131 -153
- package/dist/api/EmailsApi.d.ts +5 -1
- package/dist/api/EmailsApi.js +43 -30
- package/dist/api/EntryPartsApi.d.ts +21 -33
- package/dist/api/EntryPartsApi.js +132 -152
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +3 -3
- package/dist/api/FieldsApi.d.ts +4 -1
- package/dist/api/FieldsApi.js +33 -23
- package/dist/api/FilesApi.d.ts +5 -5
- package/dist/api/FilesApi.js +13 -12
- package/dist/api/FormsApi.d.ts +52 -34
- package/dist/api/FormsApi.js +233 -182
- package/dist/api/FunctionsApi.d.ts +21 -27
- package/dist/api/FunctionsApi.js +196 -203
- package/dist/api/GeocodeApi.d.ts +30 -70
- package/dist/api/GeocodeApi.js +72 -176
- package/dist/api/GobodoManagementApi.d.ts +6 -1
- package/dist/api/GobodoManagementApi.js +53 -37
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +3 -3
- package/dist/api/GraphActionTypesApi.d.ts +68 -78
- package/dist/api/GraphActionTypesApi.js +190 -218
- package/dist/api/GraphActionsApi.d.ts +16 -220
- package/dist/api/GraphActionsApi.js +50 -537
- package/dist/api/GraphObjectTypesApi.d.ts +38 -148
- package/dist/api/GraphObjectTypesApi.js +140 -392
- package/dist/api/GraphObjectsApi.d.ts +131 -1177
- package/dist/api/GraphObjectsApi.js +525 -3035
- package/dist/api/GraphRelationshipTypesApi.d.ts +51 -371
- package/dist/api/GraphRelationshipTypesApi.js +181 -934
- package/dist/api/GraphRelationshipsApi.d.ts +43 -675
- package/dist/api/GraphRelationshipsApi.js +132 -1603
- package/dist/api/GraphSchemasApi.d.ts +9 -229
- package/dist/api/GraphSchemasApi.js +86 -610
- package/dist/api/GraphTraversalApi.d.ts +12 -5
- package/dist/api/GraphTraversalApi.js +80 -58
- package/dist/api/GraphsApi.d.ts +102 -87
- package/dist/api/GraphsApi.js +277 -236
- package/dist/api/IAMApi.d.ts +21 -17
- package/dist/api/IAMApi.js +69 -57
- package/dist/api/ImagesApi.d.ts +17 -88
- package/dist/api/ImagesApi.js +73 -240
- package/dist/api/InvitesApi.d.ts +6 -1
- package/dist/api/InvitesApi.js +53 -37
- package/dist/api/LikesApi.d.ts +42 -29
- package/dist/api/LikesApi.js +179 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +5 -3
- package/dist/api/LiveMeetingsApi.js +27 -22
- package/dist/api/MeetingEventsApi.d.ts +20 -131
- package/dist/api/MeetingEventsApi.js +175 -431
- package/dist/api/NotificationsApi.d.ts +15 -1
- package/dist/api/NotificationsApi.js +137 -97
- package/dist/api/PagesApi.d.ts +15 -31
- package/dist/api/PagesApi.js +94 -126
- package/dist/api/PasswordResetApi.d.ts +78 -0
- package/dist/api/PasswordResetApi.js +189 -0
- package/dist/api/PhoneNumbersApi.d.ts +6 -1
- package/dist/api/PhoneNumbersApi.js +53 -37
- package/dist/api/PostsApi.d.ts +9 -29
- package/dist/api/PostsApi.js +47 -91
- package/dist/api/PrivateMessagesApi.d.ts +24 -33
- package/dist/api/PrivateMessagesApi.js +160 -171
- package/dist/api/PublicationsApi.d.ts +10 -25
- package/dist/api/PublicationsApi.js +83 -116
- package/dist/api/RestApplicationsApi.d.ts +6 -1
- package/dist/api/RestApplicationsApi.js +51 -36
- package/dist/api/ScreensApi.d.ts +4 -1
- package/dist/api/ScreensApi.js +33 -23
- package/dist/api/SitesApi.d.ts +11 -1
- package/dist/api/SitesApi.js +99 -70
- package/dist/api/SocialGroupsApi.d.ts +25 -6
- package/dist/api/SocialGroupsApi.js +193 -139
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +42 -3
- package/dist/api/StripeAccountsApi.js +397 -281
- package/dist/api/TagsApi.d.ts +2 -1
- package/dist/api/TagsApi.js +6 -3
- package/dist/api/TemplatesApi.d.ts +4 -1
- package/dist/api/TemplatesApi.js +33 -23
- package/dist/api/ThemeMappingsApi.d.ts +8 -5
- package/dist/api/ThemeMappingsApi.js +39 -29
- package/dist/api/TopicsApi.d.ts +9 -1
- package/dist/api/TopicsApi.js +83 -58
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +5 -5
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +3 -3
- package/dist/api/UserManagerAdministrationApi.d.ts +96 -0
- package/dist/api/UserManagerAdministrationApi.js +234 -0
- package/dist/api/UserTagsApi.d.ts +33 -75
- package/dist/api/UserTagsApi.js +111 -209
- package/dist/api/UsersApi.d.ts +12 -1
- package/dist/api/UsersApi.js +111 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +17 -57
- package/dist/api/VideosApi.js +102 -192
- package/dist/api/WalletsApi.d.ts +18 -1
- package/dist/api/WalletsApi.js +167 -118
- package/dist/index.d.ts +33 -17
- package/dist/index.js +204 -92
- package/dist/model/APIClient.d.ts +2 -2
- package/dist/model/APIClient.js +10 -10
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/Address.d.ts +33 -0
- package/dist/model/Address.js +137 -0
- package/dist/model/AddressResponse.d.ts +46 -0
- package/dist/model/AddressResponse.js +168 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.d.ts +9 -9
- package/dist/model/Article.js +66 -66
- 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 +4 -4
- package/dist/model/Balance.js +45 -45
- 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 +4 -2
- package/dist/model/Base64ImageUpload.js +31 -10
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +46 -0
- package/dist/model/CacheInvalidation.js +137 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +5 -5
- package/dist/model/Comment.js +29 -29
- 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 +7 -7
- package/dist/model/DataSheetImport.js +63 -63
- package/dist/model/DataSheetImportPrivacySettings.d.ts +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +10 -10
- package/dist/model/DataSheetImportSummary.d.ts +2 -2
- package/dist/model/DataSheetImportSummary.js +14 -14
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +10 -10
- package/dist/model/Document.js +70 -70
- package/dist/model/DocumentPart.d.ts +6 -6
- package/dist/model/DocumentPart.js +47 -47
- package/dist/model/DocumentPartType.d.ts +4 -4
- package/dist/model/DocumentPartType.js +30 -30
- package/dist/model/DocumentType.d.ts +7 -7
- package/dist/model/DocumentType.js +46 -46
- package/dist/model/DomainMappingInput.d.ts +40 -0
- package/dist/model/DomainMappingInput.js +122 -0
- package/dist/model/DomainMappingResponse.d.ts +40 -0
- package/dist/model/DomainMappingResponse.js +122 -0
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.d.ts +1 -1
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.d.ts +3 -3
- package/dist/model/Fields.js +16 -16
- package/dist/model/File.d.ts +4 -4
- package/dist/model/File.js +27 -27
- package/dist/model/FileAttachmentUploadObject.d.ts +4 -4
- package/dist/model/FileAttachmentUploadObject.js +27 -27
- 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 +2 -2
- package/dist/model/Form.js +15 -15
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +2 -2
- package/dist/model/FormSubmission.js +13 -13
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.d.ts +1 -1
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +6 -6
- package/dist/model/GeocodeResponse.d.ts +42 -0
- package/dist/model/GeocodeResponse.js +140 -0
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.d.ts +6 -6
- package/dist/model/Graph.js +37 -37
- package/dist/model/GraphAction.d.ts +2 -2
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +3 -1
- package/dist/model/GraphActionResponse.js +26 -2
- package/dist/model/GraphActionTypeInput.d.ts +55 -0
- package/dist/model/GraphActionTypeInput.js +316 -0
- package/dist/model/GraphActionTypeResponse.d.ts +69 -0
- package/dist/model/GraphActionTypeResponse.js +407 -0
- package/dist/model/GraphDatabaseService.d.ts +2 -2
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +43 -0
- package/dist/model/GraphInput.js +152 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +9 -9
- package/dist/model/GraphObject.d.ts +2 -2
- package/dist/model/GraphObject.js +11 -11
- package/dist/model/GraphObjectPayload.d.ts +2 -3
- package/dist/model/GraphObjectPayload.js +10 -24
- package/dist/model/GraphObjectResponse.d.ts +11 -3
- package/dist/model/GraphObjectResponse.js +74 -6
- package/dist/model/GraphObjectSchema.d.ts +4 -4
- package/dist/model/GraphObjectSchema.js +31 -31
- package/dist/model/GraphObjectType.d.ts +2 -2
- package/dist/model/GraphObjectType.js +11 -11
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +9 -7
- package/dist/model/GraphObjectTypeResponse.js +59 -28
- package/dist/model/GraphObjectTypeSchema.d.ts +2 -2
- package/dist/model/GraphObjectTypeSchema.js +11 -11
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +2 -2
- package/dist/model/GraphRelationship.js +11 -11
- package/dist/model/GraphRelationshipPayload.d.ts +3 -3
- package/dist/model/GraphRelationshipPayload.js +22 -24
- package/dist/model/GraphRelationshipResponse.d.ts +55 -0
- package/dist/model/GraphRelationshipResponse.js +229 -0
- package/dist/model/GraphRelationshipType.d.ts +6 -6
- package/dist/model/GraphRelationshipType.js +40 -40
- package/dist/model/GraphRelationshipTypeInput.d.ts +59 -0
- package/dist/model/GraphRelationshipTypeInput.js +367 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -1
- package/dist/model/GraphRelationshipTypeResponse.js +38 -2
- package/dist/model/GraphResponse.d.ts +54 -0
- package/dist/model/GraphResponse.js +196 -0
- package/dist/model/GraphSchema.d.ts +7 -7
- package/dist/model/GraphSchema.js +46 -46
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +7 -1
- package/dist/model/GraphTraversalInput.js +74 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +4 -2
- package/dist/model/InputPart.js +37 -18
- package/dist/model/InputPartHeaders.d.ts +29 -0
- package/dist/model/InputPartHeaders.js +87 -0
- package/dist/model/InputPartMediaType.d.ts +1 -1
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/JsonArray.d.ts +34 -0
- package/dist/model/JsonArray.js +95 -0
- package/dist/model/JsonObject.d.ts +41 -0
- package/dist/model/JsonObject.js +143 -0
- package/dist/model/JsonValue.d.ts +40 -0
- package/dist/model/JsonValue.js +132 -0
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +3 -3
- package/dist/model/Link.js +19 -19
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +33 -0
- package/dist/model/MediaType.js +127 -0
- package/dist/model/MeetingEvent.d.ts +7 -7
- package/dist/model/MeetingEvent.js +50 -50
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTimezone.d.ts +1 -1
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +2 -2
- package/dist/model/MeetingInfo.js +15 -15
- package/dist/model/Member.d.ts +3 -3
- package/dist/model/Member.js +20 -20
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +39 -0
- package/dist/model/MemberManagerConfigInput.js +124 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +41 -0
- package/dist/model/MemberManagerConfigResponse.js +134 -0
- package/dist/model/MemberManagerInput.d.ts +41 -0
- package/dist/model/MemberManagerInput.js +134 -0
- package/dist/model/MemberManagerResponse.d.ts +41 -0
- package/dist/model/MemberManagerResponse.js +134 -0
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +29 -0
- package/dist/model/MultivaluedMapStringString.js +87 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +2 -2
- package/dist/model/Objecttype.js +11 -11
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +3 -3
- package/dist/model/Page.js +16 -16
- package/dist/model/PageSchema.d.ts +3 -3
- package/dist/model/PageSchema.js +17 -17
- package/dist/model/Pageable.d.ts +3 -3
- package/dist/model/Pageable.js +16 -16
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +38 -0
- package/dist/model/PasswordResetInitiateRequest.js +112 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +46 -0
- package/dist/model/PasswordResetInitiateResponse.js +156 -0
- package/dist/model/PasswordResetRequest.d.ts +42 -0
- package/dist/model/PasswordResetRequest.js +136 -0
- package/dist/model/PasswordResetResponse.d.ts +46 -0
- package/dist/model/PasswordResetResponse.js +162 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +46 -0
- package/dist/model/PasswordResetValidationResponse.js +162 -0
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +9 -9
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.d.ts +2 -2
- package/dist/model/PaymentMethod.js +9 -9
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.d.ts +2 -2
- package/dist/model/Payout.js +15 -15
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.d.ts +3 -3
- package/dist/model/PhoneNumber.js +20 -20
- package/dist/model/Post.d.ts +3 -3
- package/dist/model/Post.js +17 -17
- package/dist/model/PrivateMessage.d.ts +4 -4
- package/dist/model/PrivateMessage.js +28 -28
- package/dist/model/PrivateMessageConversation.d.ts +4 -4
- package/dist/model/PrivateMessageConversation.js +41 -41
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +2 -2
- package/dist/model/Profile.js +14 -14
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.d.ts +1 -1
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +41 -0
- package/dist/model/PurgeDataDefaultResponse.js +143 -0
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +2 -2
- package/dist/model/RelationshipMapping.js +18 -18
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +4 -4
- package/dist/model/ScreenSchema.js +29 -29
- 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 +3 -3
- package/dist/model/SkinField.js +16 -16
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +2 -2
- package/dist/model/SocialGroup.js +14 -14
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sort.d.ts +2 -2
- package/dist/model/Sort.js +9 -9
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +2 -2
- package/dist/model/StatusUpdate.js +10 -10
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +2 -2
- package/dist/model/StripeAccount.js +10 -10
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +1 -1
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +1 -1
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.d.ts +2 -2
- package/dist/model/ThemeMapping.js +14 -14
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +2 -2
- package/dist/model/Transfer.js +12 -12
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +12 -12
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +10 -10
- package/dist/model/User.d.ts +3 -3
- package/dist/model/User.js +20 -20
- package/dist/model/UserDataPayload.d.ts +3 -3
- package/dist/model/UserDataPayload.js +20 -20
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +2 -2
- package/dist/model/UserInvite.js +14 -14
- 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 +3 -3
- package/dist/model/UserSchema.js +20 -20
- package/dist/model/UserTag.d.ts +2 -2
- package/dist/model/UserTag.js +10 -10
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +38 -0
- package/dist/model/UsernameReminderRequest.js +112 -0
- package/dist/model/UsernameReminderResponse.d.ts +46 -0
- package/dist/model/UsernameReminderResponse.js +156 -0
- package/dist/model/Video.d.ts +9 -9
- package/dist/model/Video.js +64 -64
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +9 -9
- package/dist/model/VideoSchema.js +64 -64
- package/dist/model/VideoUploadObject.d.ts +9 -9
- package/dist/model/VideoUploadObject.js +64 -64
- 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(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -20,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
20
18
|
* gobodo-api
|
|
21
19
|
* REST Interface for Gobodo API
|
|
22
20
|
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.
|
|
21
|
+
* The version of the OpenAPI document: 0.1.99
|
|
24
22
|
* Contact: info@gobodo.io
|
|
25
23
|
*
|
|
26
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
29
|
/**
|
|
32
30
|
* GraphRelationships service.
|
|
33
31
|
* @module api/GraphRelationshipsApi
|
|
34
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.99
|
|
35
33
|
*/
|
|
36
34
|
var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
35
|
/**
|
|
@@ -47,15 +45,18 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
45
|
}
|
|
48
46
|
|
|
49
47
|
/**
|
|
50
|
-
* Callback function to receive the result of the
|
|
51
|
-
* @callback module:api/GraphRelationshipsApi~
|
|
48
|
+
* Callback function to receive the result of the createRelationship1 operation.
|
|
49
|
+
* @callback module:api/GraphRelationshipsApi~createRelationship1Callback
|
|
52
50
|
* @param {String} error Error message, if any.
|
|
53
|
-
* @param {module:model/
|
|
51
|
+
* @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
|
|
54
52
|
* @param {String} response The complete HTTP response.
|
|
55
53
|
*/
|
|
56
54
|
|
|
57
55
|
/**
|
|
58
|
-
*
|
|
56
|
+
* Create Relationship
|
|
57
|
+
* Create a new relationship
|
|
58
|
+
* @param {Number} startObjectId
|
|
59
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
|
|
59
60
|
* @param {Object} opts Optional parameters
|
|
60
61
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
61
62
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -63,1286 +64,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
63
64
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
64
65
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
65
66
|
* @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)
|
|
67
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
66
68
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
67
69
|
* @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
|
|
68
70
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
69
71
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
70
|
-
* @param {
|
|
71
|
-
* @
|
|
72
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
72
|
+
* @param {module:api/GraphRelationshipsApi~createRelationship1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
73
|
+
* data is of type: {@link module:model/GraphRelationshipResponse}
|
|
73
74
|
*/
|
|
74
75
|
return _createClass(GraphRelationshipsApi, [{
|
|
75
|
-
key: "
|
|
76
|
-
value: function
|
|
76
|
+
key: "createRelationship1",
|
|
77
|
+
value: function createRelationship1(startObjectId, graphRelationshipPayload, opts, callback) {
|
|
77
78
|
opts = opts || {};
|
|
78
|
-
var postBody =
|
|
79
|
-
// verify the required parameter '
|
|
80
|
-
if (
|
|
81
|
-
throw new Error("Missing the required parameter '
|
|
82
|
-
}
|
|
83
|
-
var pathParams = {
|
|
84
|
-
'id': id
|
|
85
|
-
};
|
|
86
|
-
var queryParams = {};
|
|
87
|
-
var headerParams = {
|
|
88
|
-
'Authorization': opts['authorization'],
|
|
89
|
-
'cacheduration': opts['cacheduration'],
|
|
90
|
-
'cachegroup': opts['cachegroup'],
|
|
91
|
-
'cachekey': opts['cachekey'],
|
|
92
|
-
'cachescope': opts['cachescope'],
|
|
93
|
-
'cacheuser': opts['cacheuser'],
|
|
94
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
95
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
96
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
97
|
-
'transactionid': opts['transactionid']
|
|
98
|
-
};
|
|
99
|
-
var formParams = {};
|
|
100
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
101
|
-
var contentTypes = ['application/json'];
|
|
102
|
-
var accepts = ['application/json'];
|
|
103
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
104
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Callback function to receive the result of the addStartObjectTypes operation.
|
|
109
|
-
* @callback module:api/GraphRelationshipsApi~addStartObjectTypesCallback
|
|
110
|
-
* @param {String} error Error message, if any.
|
|
111
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
112
|
-
* @param {String} response The complete HTTP response.
|
|
113
|
-
*/
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @param {Number} id
|
|
117
|
-
* @param {Object} opts Optional parameters
|
|
118
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
119
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
120
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
121
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
122
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
123
|
-
* @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)
|
|
124
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
125
|
-
* @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
|
|
126
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
127
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
128
|
-
* @param {String} [body]
|
|
129
|
-
* @param {module:api/GraphRelationshipsApi~addStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
130
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
131
|
-
*/
|
|
132
|
-
}, {
|
|
133
|
-
key: "addStartObjectTypes",
|
|
134
|
-
value: function addStartObjectTypes(id, opts, callback) {
|
|
135
|
-
opts = opts || {};
|
|
136
|
-
var postBody = opts['body'];
|
|
137
|
-
// verify the required parameter 'id' is set
|
|
138
|
-
if (id === undefined || id === null) {
|
|
139
|
-
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
140
|
-
}
|
|
141
|
-
var pathParams = {
|
|
142
|
-
'id': id
|
|
143
|
-
};
|
|
144
|
-
var queryParams = {};
|
|
145
|
-
var headerParams = {
|
|
146
|
-
'Authorization': opts['authorization'],
|
|
147
|
-
'cacheduration': opts['cacheduration'],
|
|
148
|
-
'cachegroup': opts['cachegroup'],
|
|
149
|
-
'cachekey': opts['cachekey'],
|
|
150
|
-
'cachescope': opts['cachescope'],
|
|
151
|
-
'cacheuser': opts['cacheuser'],
|
|
152
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
153
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
154
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
155
|
-
'transactionid': opts['transactionid']
|
|
156
|
-
};
|
|
157
|
-
var formParams = {};
|
|
158
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
159
|
-
var contentTypes = ['application/json'];
|
|
160
|
-
var accepts = ['application/json'];
|
|
161
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
162
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Callback function to receive the result of the createRelationship operation.
|
|
167
|
-
* @callback module:api/GraphRelationshipsApi~createRelationshipCallback
|
|
168
|
-
* @param {String} error Error message, if any.
|
|
169
|
-
* @param {module:model/GraphRelationship} data The data returned by the service call.
|
|
170
|
-
* @param {String} response The complete HTTP response.
|
|
171
|
-
*/
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Create a Relationship
|
|
175
|
-
* Create a relationship to another object
|
|
176
|
-
* @param {Number} id The id of the object that we are creating relationships on
|
|
177
|
-
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
178
|
-
* @param {Object} opts Optional parameters
|
|
179
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
180
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
181
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
182
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
183
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
184
|
-
* @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)
|
|
185
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
186
|
-
* @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
|
|
187
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
188
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
189
|
-
* @param {module:api/GraphRelationshipsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
190
|
-
* data is of type: {@link module:model/GraphRelationship}
|
|
191
|
-
*/
|
|
192
|
-
}, {
|
|
193
|
-
key: "createRelationship",
|
|
194
|
-
value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
|
|
195
|
-
opts = opts || {};
|
|
196
|
-
var postBody = graphRelationshipPayload;
|
|
197
|
-
// verify the required parameter 'id' is set
|
|
198
|
-
if (id === undefined || id === null) {
|
|
199
|
-
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
200
|
-
}
|
|
201
|
-
// verify the required parameter 'graphRelationshipPayload' is set
|
|
202
|
-
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
203
|
-
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
204
|
-
}
|
|
205
|
-
var pathParams = {
|
|
206
|
-
'id': id
|
|
207
|
-
};
|
|
208
|
-
var queryParams = {};
|
|
209
|
-
var headerParams = {
|
|
210
|
-
'Authorization': opts['authorization'],
|
|
211
|
-
'cacheduration': opts['cacheduration'],
|
|
212
|
-
'cachegroup': opts['cachegroup'],
|
|
213
|
-
'cachekey': opts['cachekey'],
|
|
214
|
-
'cachescope': opts['cachescope'],
|
|
215
|
-
'cacheuser': opts['cacheuser'],
|
|
216
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
217
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
218
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
219
|
-
'transactionid': opts['transactionid']
|
|
220
|
-
};
|
|
221
|
-
var formParams = {};
|
|
222
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
223
|
-
var contentTypes = ['application/json'];
|
|
224
|
-
var accepts = ['application/json'];
|
|
225
|
-
var returnType = _GraphRelationship["default"];
|
|
226
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Callback function to receive the result of the createRelationshipType operation.
|
|
231
|
-
* @callback module:api/GraphRelationshipsApi~createRelationshipTypeCallback
|
|
232
|
-
* @param {String} error Error message, if any.
|
|
233
|
-
* @param {module:model/GraphRelationshipType} data The data returned by the service call.
|
|
234
|
-
* @param {String} response The complete HTTP response.
|
|
235
|
-
*/
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Create relationshp type
|
|
239
|
-
* Creates a new relationship type
|
|
240
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
241
|
-
* @param {Object} opts Optional parameters
|
|
242
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
243
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
244
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
245
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
246
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
247
|
-
* @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)
|
|
248
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
249
|
-
* @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
|
|
250
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
251
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
252
|
-
* @param {module:api/GraphRelationshipsApi~createRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
253
|
-
* data is of type: {@link module:model/GraphRelationshipType}
|
|
254
|
-
*/
|
|
255
|
-
}, {
|
|
256
|
-
key: "createRelationshipType",
|
|
257
|
-
value: function createRelationshipType(graphRelationshipType, opts, callback) {
|
|
258
|
-
opts = opts || {};
|
|
259
|
-
var postBody = graphRelationshipType;
|
|
260
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
261
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
262
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
263
|
-
}
|
|
264
|
-
var pathParams = {};
|
|
265
|
-
var queryParams = {};
|
|
266
|
-
var headerParams = {
|
|
267
|
-
'Authorization': opts['authorization'],
|
|
268
|
-
'cacheduration': opts['cacheduration'],
|
|
269
|
-
'cachegroup': opts['cachegroup'],
|
|
270
|
-
'cachekey': opts['cachekey'],
|
|
271
|
-
'cachescope': opts['cachescope'],
|
|
272
|
-
'cacheuser': opts['cacheuser'],
|
|
273
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
274
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
275
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
276
|
-
'transactionid': opts['transactionid']
|
|
277
|
-
};
|
|
278
|
-
var formParams = {};
|
|
279
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
280
|
-
var contentTypes = ['application/json'];
|
|
281
|
-
var accepts = ['application/json'];
|
|
282
|
-
var returnType = _GraphRelationshipType["default"];
|
|
283
|
-
return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Callback function to receive the result of the createRelationships operation.
|
|
288
|
-
* @callback module:api/GraphRelationshipsApi~createRelationshipsCallback
|
|
289
|
-
* @param {String} error Error message, if any.
|
|
290
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
291
|
-
* @param {String} response The complete HTTP response.
|
|
292
|
-
*/
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Create Relationships
|
|
296
|
-
* Create a relationships to other objects
|
|
297
|
-
* @param {Number} id The id of the object that we are creating relationships on
|
|
298
|
-
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
299
|
-
* @param {Object} opts Optional parameters
|
|
300
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
301
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
302
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
303
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
304
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
305
|
-
* @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)
|
|
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
|
|
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
|
|
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
|
|
309
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
310
|
-
* @param {module:api/GraphRelationshipsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
311
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
312
|
-
*/
|
|
313
|
-
}, {
|
|
314
|
-
key: "createRelationships",
|
|
315
|
-
value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
|
|
316
|
-
opts = opts || {};
|
|
317
|
-
var postBody = graphRelationshipPayload;
|
|
318
|
-
// verify the required parameter 'id' is set
|
|
319
|
-
if (id === undefined || id === null) {
|
|
320
|
-
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
321
|
-
}
|
|
322
|
-
// verify the required parameter 'graphRelationshipPayload' is set
|
|
323
|
-
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
324
|
-
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
325
|
-
}
|
|
326
|
-
var pathParams = {
|
|
327
|
-
'id': id
|
|
328
|
-
};
|
|
329
|
-
var queryParams = {};
|
|
330
|
-
var headerParams = {
|
|
331
|
-
'Authorization': opts['authorization'],
|
|
332
|
-
'cacheduration': opts['cacheduration'],
|
|
333
|
-
'cachegroup': opts['cachegroup'],
|
|
334
|
-
'cachekey': opts['cachekey'],
|
|
335
|
-
'cachescope': opts['cachescope'],
|
|
336
|
-
'cacheuser': opts['cacheuser'],
|
|
337
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
338
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
339
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
340
|
-
'transactionid': opts['transactionid']
|
|
341
|
-
};
|
|
342
|
-
var formParams = {};
|
|
343
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
344
|
-
var contentTypes = ['application/json'];
|
|
345
|
-
var accepts = ['application/json'];
|
|
346
|
-
var returnType = [_GraphRelationship["default"]];
|
|
347
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Callback function to receive the result of the deleteRelationship operation.
|
|
352
|
-
* @callback module:api/GraphRelationshipsApi~deleteRelationshipCallback
|
|
353
|
-
* @param {String} error Error message, if any.
|
|
354
|
-
* @param data This operation does not return a value.
|
|
355
|
-
* @param {String} response The complete HTTP response.
|
|
356
|
-
*/
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Delete Relationship
|
|
360
|
-
* Delete an individual relationship
|
|
361
|
-
* @param {Number} id
|
|
362
|
-
* @param {Object} opts Optional parameters
|
|
363
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
364
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
365
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
366
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
367
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
368
|
-
* @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)
|
|
369
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
370
|
-
* @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
|
|
371
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
372
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
373
|
-
* @param {module:api/GraphRelationshipsApi~deleteRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
374
|
-
*/
|
|
375
|
-
}, {
|
|
376
|
-
key: "deleteRelationship",
|
|
377
|
-
value: function deleteRelationship(id, opts, callback) {
|
|
378
|
-
opts = opts || {};
|
|
379
|
-
var postBody = null;
|
|
380
|
-
// verify the required parameter 'id' is set
|
|
381
|
-
if (id === undefined || id === null) {
|
|
382
|
-
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
383
|
-
}
|
|
384
|
-
var pathParams = {
|
|
385
|
-
'id': id
|
|
386
|
-
};
|
|
387
|
-
var queryParams = {};
|
|
388
|
-
var headerParams = {
|
|
389
|
-
'Authorization': opts['authorization'],
|
|
390
|
-
'cacheduration': opts['cacheduration'],
|
|
391
|
-
'cachegroup': opts['cachegroup'],
|
|
392
|
-
'cachekey': opts['cachekey'],
|
|
393
|
-
'cachescope': opts['cachescope'],
|
|
394
|
-
'cacheuser': opts['cacheuser'],
|
|
395
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
396
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
397
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
398
|
-
'transactionid': opts['transactionid']
|
|
399
|
-
};
|
|
400
|
-
var formParams = {};
|
|
401
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
402
|
-
var contentTypes = [];
|
|
403
|
-
var accepts = ['*/*'];
|
|
404
|
-
var returnType = null;
|
|
405
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Callback function to receive the result of the get10 operation.
|
|
410
|
-
* @callback module:api/GraphRelationshipsApi~get10Callback
|
|
411
|
-
* @param {String} error Error message, if any.
|
|
412
|
-
* @param data This operation does not return a value.
|
|
413
|
-
* @param {String} response The complete HTTP response.
|
|
414
|
-
*/
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Root for the API
|
|
418
|
-
* @param {Object} opts Optional parameters
|
|
419
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
420
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
421
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
422
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
423
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
424
|
-
* @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)
|
|
425
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
426
|
-
* @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
|
|
427
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
428
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
429
|
-
* @param {module:api/GraphRelationshipsApi~get10Callback} callback The callback function, accepting three arguments: error, data, response
|
|
430
|
-
*/
|
|
431
|
-
}, {
|
|
432
|
-
key: "get10",
|
|
433
|
-
value: function get10(opts, callback) {
|
|
434
|
-
opts = opts || {};
|
|
435
|
-
var postBody = null;
|
|
436
|
-
var pathParams = {};
|
|
437
|
-
var queryParams = {};
|
|
438
|
-
var headerParams = {
|
|
439
|
-
'Authorization': opts['authorization'],
|
|
440
|
-
'cacheduration': opts['cacheduration'],
|
|
441
|
-
'cachegroup': opts['cachegroup'],
|
|
442
|
-
'cachekey': opts['cachekey'],
|
|
443
|
-
'cachescope': opts['cachescope'],
|
|
444
|
-
'cacheuser': opts['cacheuser'],
|
|
445
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
446
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
447
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
448
|
-
'transactionid': opts['transactionid']
|
|
449
|
-
};
|
|
450
|
-
var formParams = {};
|
|
451
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
452
|
-
var contentTypes = [];
|
|
453
|
-
var accepts = ['*/*'];
|
|
454
|
-
var returnType = null;
|
|
455
|
-
return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* Callback function to receive the result of the get9 operation.
|
|
460
|
-
* @callback module:api/GraphRelationshipsApi~get9Callback
|
|
461
|
-
* @param {String} error Error message, if any.
|
|
462
|
-
* @param data This operation does not return a value.
|
|
463
|
-
* @param {String} response The complete HTTP response.
|
|
464
|
-
*/
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* Root for the API
|
|
468
|
-
* @param {Object} opts Optional parameters
|
|
469
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
470
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
471
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
472
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
473
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
474
|
-
* @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)
|
|
475
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
476
|
-
* @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
|
|
477
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
478
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
479
|
-
* @param {module:api/GraphRelationshipsApi~get9Callback} callback The callback function, accepting three arguments: error, data, response
|
|
480
|
-
*/
|
|
481
|
-
}, {
|
|
482
|
-
key: "get9",
|
|
483
|
-
value: function get9(opts, callback) {
|
|
484
|
-
opts = opts || {};
|
|
485
|
-
var postBody = null;
|
|
486
|
-
var pathParams = {};
|
|
487
|
-
var queryParams = {};
|
|
488
|
-
var headerParams = {
|
|
489
|
-
'Authorization': opts['authorization'],
|
|
490
|
-
'cacheduration': opts['cacheduration'],
|
|
491
|
-
'cachegroup': opts['cachegroup'],
|
|
492
|
-
'cachekey': opts['cachekey'],
|
|
493
|
-
'cachescope': opts['cachescope'],
|
|
494
|
-
'cacheuser': opts['cacheuser'],
|
|
495
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
496
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
497
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
498
|
-
'transactionid': opts['transactionid']
|
|
499
|
-
};
|
|
500
|
-
var formParams = {};
|
|
501
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
502
|
-
var contentTypes = [];
|
|
503
|
-
var accepts = ['*/*'];
|
|
504
|
-
var returnType = null;
|
|
505
|
-
return this.apiClient.callApi('/graph/data/relationship', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* Callback function to receive the result of the getAllRelationships operation.
|
|
510
|
-
* @callback module:api/GraphRelationshipsApi~getAllRelationshipsCallback
|
|
511
|
-
* @param {String} error Error message, if any.
|
|
512
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
513
|
-
* @param {String} response The complete HTTP response.
|
|
514
|
-
*/
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* Get All Relationships
|
|
518
|
-
* Returns a listing of relationships
|
|
519
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
520
|
-
* @param {Object} opts Optional parameters
|
|
521
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
522
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
523
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
524
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
525
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
526
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
527
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
528
|
-
* @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
|
|
529
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
530
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
531
|
-
* @param {module:api/GraphRelationshipsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
532
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
533
|
-
*/
|
|
534
|
-
}, {
|
|
535
|
-
key: "getAllRelationships",
|
|
536
|
-
value: function getAllRelationships(id, opts, callback) {
|
|
537
|
-
opts = opts || {};
|
|
538
|
-
var postBody = null;
|
|
539
|
-
// verify the required parameter 'id' is set
|
|
540
|
-
if (id === undefined || id === null) {
|
|
541
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
542
|
-
}
|
|
543
|
-
var pathParams = {
|
|
544
|
-
'id': id
|
|
545
|
-
};
|
|
546
|
-
var queryParams = {};
|
|
547
|
-
var headerParams = {
|
|
548
|
-
'Authorization': opts['authorization'],
|
|
549
|
-
'cacheduration': opts['cacheduration'],
|
|
550
|
-
'cachegroup': opts['cachegroup'],
|
|
551
|
-
'cachekey': opts['cachekey'],
|
|
552
|
-
'cachescope': opts['cachescope'],
|
|
553
|
-
'cacheuser': opts['cacheuser'],
|
|
554
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
555
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
556
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
557
|
-
'transactionid': opts['transactionid']
|
|
558
|
-
};
|
|
559
|
-
var formParams = {};
|
|
560
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
561
|
-
var contentTypes = [];
|
|
562
|
-
var accepts = ['application/json'];
|
|
563
|
-
var returnType = [_GraphRelationship["default"]];
|
|
564
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
569
|
-
* @callback module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback
|
|
570
|
-
* @param {String} error Error message, if any.
|
|
571
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
572
|
-
* @param {String} response The complete HTTP response.
|
|
573
|
-
*/
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* Get All Relationships By Type
|
|
577
|
-
* Returns a listing of relationships
|
|
578
|
-
* @param {Number} id The id of the relationship type we are searching for
|
|
579
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
580
|
-
* @param {Object} opts Optional parameters
|
|
581
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
582
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
583
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
584
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
585
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
586
|
-
* @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)
|
|
587
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
588
|
-
* @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
|
|
589
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
590
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
591
|
-
* @param {module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
592
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
593
|
-
*/
|
|
594
|
-
}, {
|
|
595
|
-
key: "getAllRelationshipsByType",
|
|
596
|
-
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
597
|
-
opts = opts || {};
|
|
598
|
-
var postBody = null;
|
|
599
|
-
// verify the required parameter 'id' is set
|
|
600
|
-
if (id === undefined || id === null) {
|
|
601
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
602
|
-
}
|
|
603
|
-
// verify the required parameter 'reltypeid' is set
|
|
604
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
605
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
606
|
-
}
|
|
607
|
-
var pathParams = {
|
|
608
|
-
'id': id,
|
|
609
|
-
'reltypeid': reltypeid
|
|
610
|
-
};
|
|
611
|
-
var queryParams = {};
|
|
612
|
-
var headerParams = {
|
|
613
|
-
'Authorization': opts['authorization'],
|
|
614
|
-
'cacheduration': opts['cacheduration'],
|
|
615
|
-
'cachegroup': opts['cachegroup'],
|
|
616
|
-
'cachekey': opts['cachekey'],
|
|
617
|
-
'cachescope': opts['cachescope'],
|
|
618
|
-
'cacheuser': opts['cacheuser'],
|
|
619
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
620
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
621
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
622
|
-
'transactionid': opts['transactionid']
|
|
623
|
-
};
|
|
624
|
-
var formParams = {};
|
|
625
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
626
|
-
var contentTypes = [];
|
|
627
|
-
var accepts = ['application/json'];
|
|
628
|
-
var returnType = [_GraphRelationship["default"]];
|
|
629
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Callback function to receive the result of the getEndObjectTypes operation.
|
|
634
|
-
* @callback module:api/GraphRelationshipsApi~getEndObjectTypesCallback
|
|
635
|
-
* @param {String} error Error message, if any.
|
|
636
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
637
|
-
* @param {String} response The complete HTTP response.
|
|
638
|
-
*/
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Retrieves the end object types on the relationship type
|
|
642
|
-
* @param {Number} id
|
|
643
|
-
* @param {Object} opts Optional parameters
|
|
644
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
645
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
646
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
647
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
648
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
649
|
-
* @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)
|
|
650
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
651
|
-
* @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
|
|
652
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
653
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
654
|
-
* @param {module:api/GraphRelationshipsApi~getEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
655
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
656
|
-
*/
|
|
657
|
-
}, {
|
|
658
|
-
key: "getEndObjectTypes",
|
|
659
|
-
value: function getEndObjectTypes(id, opts, callback) {
|
|
660
|
-
opts = opts || {};
|
|
661
|
-
var postBody = null;
|
|
662
|
-
// verify the required parameter 'id' is set
|
|
663
|
-
if (id === undefined || id === null) {
|
|
664
|
-
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
|
|
665
|
-
}
|
|
666
|
-
var pathParams = {
|
|
667
|
-
'id': id
|
|
668
|
-
};
|
|
669
|
-
var queryParams = {};
|
|
670
|
-
var headerParams = {
|
|
671
|
-
'Authorization': opts['authorization'],
|
|
672
|
-
'cacheduration': opts['cacheduration'],
|
|
673
|
-
'cachegroup': opts['cachegroup'],
|
|
674
|
-
'cachekey': opts['cachekey'],
|
|
675
|
-
'cachescope': opts['cachescope'],
|
|
676
|
-
'cacheuser': opts['cacheuser'],
|
|
677
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
678
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
679
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
680
|
-
'transactionid': opts['transactionid']
|
|
681
|
-
};
|
|
682
|
-
var formParams = {};
|
|
683
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
684
|
-
var contentTypes = [];
|
|
685
|
-
var accepts = ['application/json'];
|
|
686
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
687
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* Callback function to receive the result of the getFields2 operation.
|
|
692
|
-
* @callback module:api/GraphRelationshipsApi~getFields2Callback
|
|
693
|
-
* @param {String} error Error message, if any.
|
|
694
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
695
|
-
* @param {String} response The complete HTTP response.
|
|
696
|
-
*/
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* @param {Number} id
|
|
700
|
-
* @param {Object} opts Optional parameters
|
|
701
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
702
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
703
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
704
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
705
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
706
|
-
* @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)
|
|
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
|
|
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
|
|
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
|
|
710
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
711
|
-
* @param {module:api/GraphRelationshipsApi~getFields2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
712
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
713
|
-
*/
|
|
714
|
-
}, {
|
|
715
|
-
key: "getFields2",
|
|
716
|
-
value: function getFields2(id, opts, callback) {
|
|
717
|
-
opts = opts || {};
|
|
718
|
-
var postBody = null;
|
|
719
|
-
// verify the required parameter 'id' is set
|
|
720
|
-
if (id === undefined || id === null) {
|
|
721
|
-
throw new Error("Missing the required parameter 'id' when calling getFields2");
|
|
722
|
-
}
|
|
723
|
-
var pathParams = {
|
|
724
|
-
'id': id
|
|
725
|
-
};
|
|
726
|
-
var queryParams = {};
|
|
727
|
-
var headerParams = {
|
|
728
|
-
'Authorization': opts['authorization'],
|
|
729
|
-
'cacheduration': opts['cacheduration'],
|
|
730
|
-
'cachegroup': opts['cachegroup'],
|
|
731
|
-
'cachekey': opts['cachekey'],
|
|
732
|
-
'cachescope': opts['cachescope'],
|
|
733
|
-
'cacheuser': opts['cacheuser'],
|
|
734
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
735
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
736
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
737
|
-
'transactionid': opts['transactionid']
|
|
738
|
-
};
|
|
739
|
-
var formParams = {};
|
|
740
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
741
|
-
var contentTypes = [];
|
|
742
|
-
var accepts = ['application/json'];
|
|
743
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
744
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Callback function to receive the result of the getRelProperties operation.
|
|
749
|
-
* @callback module:api/GraphRelationshipsApi~getRelPropertiesCallback
|
|
750
|
-
* @param {String} error Error message, if any.
|
|
751
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
752
|
-
* @param {String} response The complete HTTP response.
|
|
753
|
-
*/
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* Get Properties
|
|
757
|
-
* Get all properties attached to a relationship
|
|
758
|
-
* @param {Number} id
|
|
759
|
-
* @param {Object} opts Optional parameters
|
|
760
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
761
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
762
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
763
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
764
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
765
|
-
* @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)
|
|
766
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
767
|
-
* @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
|
|
768
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
769
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
770
|
-
* @param {module:api/GraphRelationshipsApi~getRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
771
|
-
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
772
|
-
*/
|
|
773
|
-
}, {
|
|
774
|
-
key: "getRelProperties",
|
|
775
|
-
value: function getRelProperties(id, opts, callback) {
|
|
776
|
-
opts = opts || {};
|
|
777
|
-
var postBody = null;
|
|
778
|
-
// verify the required parameter 'id' is set
|
|
779
|
-
if (id === undefined || id === null) {
|
|
780
|
-
throw new Error("Missing the required parameter 'id' when calling getRelProperties");
|
|
781
|
-
}
|
|
782
|
-
var pathParams = {
|
|
783
|
-
'id': id
|
|
784
|
-
};
|
|
785
|
-
var queryParams = {};
|
|
786
|
-
var headerParams = {
|
|
787
|
-
'Authorization': opts['authorization'],
|
|
788
|
-
'cacheduration': opts['cacheduration'],
|
|
789
|
-
'cachegroup': opts['cachegroup'],
|
|
790
|
-
'cachekey': opts['cachekey'],
|
|
791
|
-
'cachescope': opts['cachescope'],
|
|
792
|
-
'cacheuser': opts['cacheuser'],
|
|
793
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
794
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
795
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
796
|
-
'transactionid': opts['transactionid']
|
|
797
|
-
};
|
|
798
|
-
var formParams = {};
|
|
799
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
800
|
-
var contentTypes = [];
|
|
801
|
-
var accepts = ['application/json'];
|
|
802
|
-
var returnType = {
|
|
803
|
-
'String': _PurgeDataDefaultResponseValue["default"]
|
|
804
|
-
};
|
|
805
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* Callback function to receive the result of the getRelProperty operation.
|
|
810
|
-
* @callback module:api/GraphRelationshipsApi~getRelPropertyCallback
|
|
811
|
-
* @param {String} error Error message, if any.
|
|
812
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
813
|
-
* @param {String} response The complete HTTP response.
|
|
814
|
-
*/
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* Get Property
|
|
818
|
-
* Get a single property attached to a relationship
|
|
819
|
-
* @param {Number} id
|
|
820
|
-
* @param {String} prop
|
|
821
|
-
* @param {Object} opts Optional parameters
|
|
822
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
823
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
824
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
825
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
826
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
827
|
-
* @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)
|
|
828
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
829
|
-
* @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
|
|
830
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
831
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
832
|
-
* @param {module:api/GraphRelationshipsApi~getRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
833
|
-
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
834
|
-
*/
|
|
835
|
-
}, {
|
|
836
|
-
key: "getRelProperty",
|
|
837
|
-
value: function getRelProperty(id, prop, opts, callback) {
|
|
838
|
-
opts = opts || {};
|
|
839
|
-
var postBody = null;
|
|
840
|
-
// verify the required parameter 'id' is set
|
|
841
|
-
if (id === undefined || id === null) {
|
|
842
|
-
throw new Error("Missing the required parameter 'id' when calling getRelProperty");
|
|
843
|
-
}
|
|
844
|
-
// verify the required parameter 'prop' is set
|
|
845
|
-
if (prop === undefined || prop === null) {
|
|
846
|
-
throw new Error("Missing the required parameter 'prop' when calling getRelProperty");
|
|
847
|
-
}
|
|
848
|
-
var pathParams = {
|
|
849
|
-
'id': id,
|
|
850
|
-
'prop': prop
|
|
851
|
-
};
|
|
852
|
-
var queryParams = {};
|
|
853
|
-
var headerParams = {
|
|
854
|
-
'Authorization': opts['authorization'],
|
|
855
|
-
'cacheduration': opts['cacheduration'],
|
|
856
|
-
'cachegroup': opts['cachegroup'],
|
|
857
|
-
'cachekey': opts['cachekey'],
|
|
858
|
-
'cachescope': opts['cachescope'],
|
|
859
|
-
'cacheuser': opts['cacheuser'],
|
|
860
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
861
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
862
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
863
|
-
'transactionid': opts['transactionid']
|
|
864
|
-
};
|
|
865
|
-
var formParams = {};
|
|
866
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
867
|
-
var contentTypes = [];
|
|
868
|
-
var accepts = ['application/json'];
|
|
869
|
-
var returnType = {
|
|
870
|
-
'String': _PurgeDataDefaultResponseValue["default"]
|
|
871
|
-
};
|
|
872
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* Callback function to receive the result of the getRelationshipById operation.
|
|
877
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipByIdCallback
|
|
878
|
-
* @param {String} error Error message, if any.
|
|
879
|
-
* @param {module:model/GraphRelationship} data The data returned by the service call.
|
|
880
|
-
* @param {String} response The complete HTTP response.
|
|
881
|
-
*/
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* Gets the relationship by id
|
|
885
|
-
* @param {Number} id
|
|
886
|
-
* @param {Object} opts Optional parameters
|
|
887
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
888
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
889
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
890
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
891
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
892
|
-
* @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)
|
|
893
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
894
|
-
* @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
|
|
895
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
896
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
897
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
898
|
-
* data is of type: {@link module:model/GraphRelationship}
|
|
899
|
-
*/
|
|
900
|
-
}, {
|
|
901
|
-
key: "getRelationshipById",
|
|
902
|
-
value: function getRelationshipById(id, opts, callback) {
|
|
903
|
-
opts = opts || {};
|
|
904
|
-
var postBody = null;
|
|
905
|
-
// verify the required parameter 'id' is set
|
|
906
|
-
if (id === undefined || id === null) {
|
|
907
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
908
|
-
}
|
|
909
|
-
var pathParams = {
|
|
910
|
-
'id': id
|
|
911
|
-
};
|
|
912
|
-
var queryParams = {};
|
|
913
|
-
var headerParams = {
|
|
914
|
-
'Authorization': opts['authorization'],
|
|
915
|
-
'cacheduration': opts['cacheduration'],
|
|
916
|
-
'cachegroup': opts['cachegroup'],
|
|
917
|
-
'cachekey': opts['cachekey'],
|
|
918
|
-
'cachescope': opts['cachescope'],
|
|
919
|
-
'cacheuser': opts['cacheuser'],
|
|
920
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
921
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
922
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
923
|
-
'transactionid': opts['transactionid']
|
|
924
|
-
};
|
|
925
|
-
var formParams = {};
|
|
926
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
927
|
-
var contentTypes = [];
|
|
928
|
-
var accepts = ['application/json'];
|
|
929
|
-
var returnType = _GraphRelationship["default"];
|
|
930
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* Callback function to receive the result of the getRelationshipTypeByClassName operation.
|
|
935
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback
|
|
936
|
-
* @param {String} error Error message, if any.
|
|
937
|
-
* @param {module:model/GraphRelationshipType} data The data returned by the service call.
|
|
938
|
-
* @param {String} response The complete HTTP response.
|
|
939
|
-
*/
|
|
940
|
-
|
|
941
|
-
/**
|
|
942
|
-
* Gets the relationship type by the java classname
|
|
943
|
-
* @param {String} classname
|
|
944
|
-
* @param {Object} opts Optional parameters
|
|
945
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
946
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
947
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
948
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
949
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
950
|
-
* @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)
|
|
951
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
952
|
-
* @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
|
|
953
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
954
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
955
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback} callback The callback function, accepting three arguments: error, data, response
|
|
956
|
-
* data is of type: {@link module:model/GraphRelationshipType}
|
|
957
|
-
*/
|
|
958
|
-
}, {
|
|
959
|
-
key: "getRelationshipTypeByClassName",
|
|
960
|
-
value: function getRelationshipTypeByClassName(classname, opts, callback) {
|
|
961
|
-
opts = opts || {};
|
|
962
|
-
var postBody = null;
|
|
963
|
-
// verify the required parameter 'classname' is set
|
|
964
|
-
if (classname === undefined || classname === null) {
|
|
965
|
-
throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
|
|
966
|
-
}
|
|
967
|
-
var pathParams = {
|
|
968
|
-
'classname': classname
|
|
969
|
-
};
|
|
970
|
-
var queryParams = {};
|
|
971
|
-
var headerParams = {
|
|
972
|
-
'Authorization': opts['authorization'],
|
|
973
|
-
'cacheduration': opts['cacheduration'],
|
|
974
|
-
'cachegroup': opts['cachegroup'],
|
|
975
|
-
'cachekey': opts['cachekey'],
|
|
976
|
-
'cachescope': opts['cachescope'],
|
|
977
|
-
'cacheuser': opts['cacheuser'],
|
|
978
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
979
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
980
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
981
|
-
'transactionid': opts['transactionid']
|
|
982
|
-
};
|
|
983
|
-
var formParams = {};
|
|
984
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
985
|
-
var contentTypes = [];
|
|
986
|
-
var accepts = ['*/*'];
|
|
987
|
-
var returnType = _GraphRelationshipType["default"];
|
|
988
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
/**
|
|
992
|
-
* Callback function to receive the result of the getRelationshipTypeById operation.
|
|
993
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback
|
|
994
|
-
* @param {String} error Error message, if any.
|
|
995
|
-
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
996
|
-
* @param {String} response The complete HTTP response.
|
|
997
|
-
*/
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* Gets the relationship type by key
|
|
1001
|
-
* @param {String} id
|
|
1002
|
-
* @param {Object} opts Optional parameters
|
|
1003
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1004
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1005
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1006
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1007
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1008
|
-
* @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)
|
|
1009
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1010
|
-
* @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
|
|
1011
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1012
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1013
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1014
|
-
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
1015
|
-
*/
|
|
1016
|
-
}, {
|
|
1017
|
-
key: "getRelationshipTypeById",
|
|
1018
|
-
value: function getRelationshipTypeById(id, opts, callback) {
|
|
1019
|
-
opts = opts || {};
|
|
1020
|
-
var postBody = null;
|
|
1021
|
-
// verify the required parameter 'id' is set
|
|
1022
|
-
if (id === undefined || id === null) {
|
|
1023
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
1024
|
-
}
|
|
1025
|
-
var pathParams = {
|
|
1026
|
-
'id': id
|
|
1027
|
-
};
|
|
1028
|
-
var queryParams = {};
|
|
1029
|
-
var headerParams = {
|
|
1030
|
-
'Authorization': opts['authorization'],
|
|
1031
|
-
'cacheduration': opts['cacheduration'],
|
|
1032
|
-
'cachegroup': opts['cachegroup'],
|
|
1033
|
-
'cachekey': opts['cachekey'],
|
|
1034
|
-
'cachescope': opts['cachescope'],
|
|
1035
|
-
'cacheuser': opts['cacheuser'],
|
|
1036
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1037
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1038
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1039
|
-
'transactionid': opts['transactionid']
|
|
1040
|
-
};
|
|
1041
|
-
var formParams = {};
|
|
1042
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1043
|
-
var contentTypes = [];
|
|
1044
|
-
var accepts = ['application/json'];
|
|
1045
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
1046
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
/**
|
|
1050
|
-
* Callback function to receive the result of the getRelationshipTypeByKey operation.
|
|
1051
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback
|
|
1052
|
-
* @param {String} error Error message, if any.
|
|
1053
|
-
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
1054
|
-
* @param {String} response The complete HTTP response.
|
|
1055
|
-
*/
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* Gets the relationship type by key
|
|
1059
|
-
* @param {String} key
|
|
1060
|
-
* @param {Object} opts Optional parameters
|
|
1061
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1062
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1063
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1064
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1065
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1066
|
-
* @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)
|
|
1067
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1068
|
-
* @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
|
|
1069
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1070
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1071
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1072
|
-
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
1073
|
-
*/
|
|
1074
|
-
}, {
|
|
1075
|
-
key: "getRelationshipTypeByKey",
|
|
1076
|
-
value: function getRelationshipTypeByKey(key, opts, callback) {
|
|
1077
|
-
opts = opts || {};
|
|
1078
|
-
var postBody = null;
|
|
1079
|
-
// verify the required parameter 'key' is set
|
|
1080
|
-
if (key === undefined || key === null) {
|
|
1081
|
-
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
1082
|
-
}
|
|
1083
|
-
var pathParams = {
|
|
1084
|
-
'key': key
|
|
1085
|
-
};
|
|
1086
|
-
var queryParams = {};
|
|
1087
|
-
var headerParams = {
|
|
1088
|
-
'Authorization': opts['authorization'],
|
|
1089
|
-
'cacheduration': opts['cacheduration'],
|
|
1090
|
-
'cachegroup': opts['cachegroup'],
|
|
1091
|
-
'cachekey': opts['cachekey'],
|
|
1092
|
-
'cachescope': opts['cachescope'],
|
|
1093
|
-
'cacheuser': opts['cacheuser'],
|
|
1094
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1095
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1096
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1097
|
-
'transactionid': opts['transactionid']
|
|
1098
|
-
};
|
|
1099
|
-
var formParams = {};
|
|
1100
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1101
|
-
var contentTypes = [];
|
|
1102
|
-
var accepts = ['application/json'];
|
|
1103
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
1104
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* Callback function to receive the result of the getRelationships operation.
|
|
1109
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipsCallback
|
|
1110
|
-
* @param {String} error Error message, if any.
|
|
1111
|
-
* @param {module:model/GraphRelationship} data The data returned by the service call.
|
|
1112
|
-
* @param {String} response The complete HTTP response.
|
|
1113
|
-
*/
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* Get relationships in the graph
|
|
1117
|
-
* @param {Number} id
|
|
1118
|
-
* @param {Object} opts Optional parameters
|
|
1119
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1120
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1121
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1122
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1123
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1124
|
-
* @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)
|
|
1125
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1126
|
-
* @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
|
|
1127
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1128
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1129
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1130
|
-
* data is of type: {@link module:model/GraphRelationship}
|
|
1131
|
-
*/
|
|
1132
|
-
}, {
|
|
1133
|
-
key: "getRelationships",
|
|
1134
|
-
value: function getRelationships(id, opts, callback) {
|
|
1135
|
-
opts = opts || {};
|
|
1136
|
-
var postBody = null;
|
|
1137
|
-
// verify the required parameter 'id' is set
|
|
1138
|
-
if (id === undefined || id === null) {
|
|
1139
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationships");
|
|
1140
|
-
}
|
|
1141
|
-
var pathParams = {
|
|
1142
|
-
'id': id
|
|
1143
|
-
};
|
|
1144
|
-
var queryParams = {};
|
|
1145
|
-
var headerParams = {
|
|
1146
|
-
'Authorization': opts['authorization'],
|
|
1147
|
-
'cacheduration': opts['cacheduration'],
|
|
1148
|
-
'cachegroup': opts['cachegroup'],
|
|
1149
|
-
'cachekey': opts['cachekey'],
|
|
1150
|
-
'cachescope': opts['cachescope'],
|
|
1151
|
-
'cacheuser': opts['cacheuser'],
|
|
1152
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1153
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1154
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1155
|
-
'transactionid': opts['transactionid']
|
|
1156
|
-
};
|
|
1157
|
-
var formParams = {};
|
|
1158
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1159
|
-
var contentTypes = [];
|
|
1160
|
-
var accepts = ['application/json'];
|
|
1161
|
-
var returnType = _GraphRelationship["default"];
|
|
1162
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* Callback function to receive the result of the getRelationships1 operation.
|
|
1167
|
-
* @callback module:api/GraphRelationshipsApi~getRelationships1Callback
|
|
1168
|
-
* @param {String} error Error message, if any.
|
|
1169
|
-
* @param {module:model/GraphRelationship} data The data returned by the service call.
|
|
1170
|
-
* @param {String} response The complete HTTP response.
|
|
1171
|
-
*/
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* Get relationships in the graph with the given object type
|
|
1175
|
-
* @param {Number} id
|
|
1176
|
-
* @param {String} type
|
|
1177
|
-
* @param {Object} opts Optional parameters
|
|
1178
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1179
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1180
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1181
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1182
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1183
|
-
* @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)
|
|
1184
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1185
|
-
* @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
|
|
1186
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1187
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1188
|
-
* @param {module:api/GraphRelationshipsApi~getRelationships1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1189
|
-
* data is of type: {@link module:model/GraphRelationship}
|
|
1190
|
-
*/
|
|
1191
|
-
}, {
|
|
1192
|
-
key: "getRelationships1",
|
|
1193
|
-
value: function getRelationships1(id, type, opts, callback) {
|
|
1194
|
-
opts = opts || {};
|
|
1195
|
-
var postBody = null;
|
|
1196
|
-
// verify the required parameter 'id' is set
|
|
1197
|
-
if (id === undefined || id === null) {
|
|
1198
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationships1");
|
|
1199
|
-
}
|
|
1200
|
-
// verify the required parameter 'type' is set
|
|
1201
|
-
if (type === undefined || type === null) {
|
|
1202
|
-
throw new Error("Missing the required parameter 'type' when calling getRelationships1");
|
|
1203
|
-
}
|
|
1204
|
-
var pathParams = {
|
|
1205
|
-
'id': id,
|
|
1206
|
-
'type': type
|
|
1207
|
-
};
|
|
1208
|
-
var queryParams = {};
|
|
1209
|
-
var headerParams = {
|
|
1210
|
-
'Authorization': opts['authorization'],
|
|
1211
|
-
'cacheduration': opts['cacheduration'],
|
|
1212
|
-
'cachegroup': opts['cachegroup'],
|
|
1213
|
-
'cachekey': opts['cachekey'],
|
|
1214
|
-
'cachescope': opts['cachescope'],
|
|
1215
|
-
'cacheuser': opts['cacheuser'],
|
|
1216
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1217
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1218
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1219
|
-
'transactionid': opts['transactionid']
|
|
1220
|
-
};
|
|
1221
|
-
var formParams = {};
|
|
1222
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1223
|
-
var contentTypes = [];
|
|
1224
|
-
var accepts = ['application/json'];
|
|
1225
|
-
var returnType = _GraphRelationship["default"];
|
|
1226
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
1231
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback
|
|
1232
|
-
* @param {String} error Error message, if any.
|
|
1233
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
1234
|
-
* @param {String} response The complete HTTP response.
|
|
1235
|
-
*/
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* Get Incoming Relationships By Type
|
|
1239
|
-
* Returns a listing of relationships
|
|
1240
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1241
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1242
|
-
* @param {Object} opts Optional parameters
|
|
1243
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1244
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1245
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1246
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1247
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1248
|
-
* @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)
|
|
1249
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1250
|
-
* @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
|
|
1251
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1252
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1253
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1254
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1255
|
-
*/
|
|
1256
|
-
}, {
|
|
1257
|
-
key: "getRelationshipsByTypeIn",
|
|
1258
|
-
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
1259
|
-
opts = opts || {};
|
|
1260
|
-
var postBody = null;
|
|
1261
|
-
// verify the required parameter 'id' is set
|
|
1262
|
-
if (id === undefined || id === null) {
|
|
1263
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
79
|
+
var postBody = graphRelationshipPayload;
|
|
80
|
+
// verify the required parameter 'startObjectId' is set
|
|
81
|
+
if (startObjectId === undefined || startObjectId === null) {
|
|
82
|
+
throw new Error("Missing the required parameter 'startObjectId' when calling createRelationship1");
|
|
1264
83
|
}
|
|
1265
|
-
// verify the required parameter '
|
|
1266
|
-
if (
|
|
1267
|
-
throw new Error("Missing the required parameter '
|
|
84
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
85
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
86
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship1");
|
|
1268
87
|
}
|
|
1269
88
|
var pathParams = {
|
|
1270
|
-
'
|
|
1271
|
-
'reltypeid': reltypeid
|
|
89
|
+
'startObjectId': startObjectId
|
|
1272
90
|
};
|
|
1273
|
-
var queryParams = {
|
|
1274
|
-
var headerParams = {
|
|
1275
|
-
'Authorization': opts['authorization'],
|
|
91
|
+
var queryParams = {
|
|
1276
92
|
'cacheduration': opts['cacheduration'],
|
|
1277
|
-
'cachegroup': opts['cachegroup'],
|
|
1278
|
-
'cachekey': opts['cachekey'],
|
|
93
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
94
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1279
95
|
'cachescope': opts['cachescope'],
|
|
1280
|
-
'cacheuser': opts['cacheuser'],
|
|
1281
|
-
'
|
|
1282
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1283
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1284
|
-
'transactionid': opts['transactionid']
|
|
1285
|
-
};
|
|
1286
|
-
var formParams = {};
|
|
1287
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1288
|
-
var contentTypes = [];
|
|
1289
|
-
var accepts = ['application/json'];
|
|
1290
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1291
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
1296
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback
|
|
1297
|
-
* @param {String} error Error message, if any.
|
|
1298
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
1299
|
-
* @param {String} response The complete HTTP response.
|
|
1300
|
-
*/
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* Get Outgoing Relationships By Type
|
|
1304
|
-
* Returns a listing of relationships
|
|
1305
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1306
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1307
|
-
* @param {Object} opts Optional parameters
|
|
1308
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1309
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1310
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1311
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1312
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1313
|
-
* @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)
|
|
1314
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1315
|
-
* @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
|
|
1316
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1317
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1318
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1319
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1320
|
-
*/
|
|
1321
|
-
}, {
|
|
1322
|
-
key: "getRelationshipsByTypeOut",
|
|
1323
|
-
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
1324
|
-
opts = opts || {};
|
|
1325
|
-
var postBody = null;
|
|
1326
|
-
// verify the required parameter 'id' is set
|
|
1327
|
-
if (id === undefined || id === null) {
|
|
1328
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1329
|
-
}
|
|
1330
|
-
// verify the required parameter 'reltypeid' is set
|
|
1331
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
1332
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
1333
|
-
}
|
|
1334
|
-
var pathParams = {
|
|
1335
|
-
'id': id,
|
|
1336
|
-
'reltypeid': reltypeid
|
|
96
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
97
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1337
98
|
};
|
|
1338
|
-
var queryParams = {};
|
|
1339
99
|
var headerParams = {
|
|
1340
100
|
'Authorization': opts['authorization'],
|
|
1341
|
-
'cacheduration': opts['cacheduration'],
|
|
1342
|
-
'cachegroup': opts['cachegroup'],
|
|
1343
|
-
'cachekey': opts['cachekey'],
|
|
1344
|
-
'cachescope': opts['cachescope'],
|
|
1345
|
-
'cacheuser': opts['cacheuser'],
|
|
1346
101
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1347
102
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1348
103
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1352,22 +107,22 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1352
107
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1353
108
|
var contentTypes = [];
|
|
1354
109
|
var accepts = ['application/json'];
|
|
1355
|
-
var returnType = [
|
|
1356
|
-
return this.apiClient.callApi('/
|
|
110
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
111
|
+
return this.apiClient.callApi('/relationship/from/{startObjectId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1357
112
|
}
|
|
1358
113
|
|
|
1359
114
|
/**
|
|
1360
|
-
* Callback function to receive the result of the
|
|
1361
|
-
* @callback module:api/GraphRelationshipsApi~
|
|
115
|
+
* Callback function to receive the result of the deleteRelationship operation.
|
|
116
|
+
* @callback module:api/GraphRelationshipsApi~deleteRelationshipCallback
|
|
1362
117
|
* @param {String} error Error message, if any.
|
|
1363
|
-
* @param
|
|
118
|
+
* @param data This operation does not return a value.
|
|
1364
119
|
* @param {String} response The complete HTTP response.
|
|
1365
120
|
*/
|
|
1366
121
|
|
|
1367
122
|
/**
|
|
1368
|
-
*
|
|
1369
|
-
*
|
|
1370
|
-
* @param {Number} id
|
|
123
|
+
* Delete Relationship
|
|
124
|
+
* Delete a relationship
|
|
125
|
+
* @param {Number} id
|
|
1371
126
|
* @param {Object} opts Optional parameters
|
|
1372
127
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1373
128
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1375,92 +130,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1375
130
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1376
131
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1377
132
|
* @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)
|
|
133
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1378
134
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1379
135
|
* @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
|
|
1380
136
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1381
137
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1382
|
-
* @param {module:api/GraphRelationshipsApi~
|
|
1383
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
138
|
+
* @param {module:api/GraphRelationshipsApi~deleteRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1384
139
|
*/
|
|
1385
140
|
}, {
|
|
1386
|
-
key: "
|
|
1387
|
-
value: function
|
|
141
|
+
key: "deleteRelationship",
|
|
142
|
+
value: function deleteRelationship(id, opts, callback) {
|
|
1388
143
|
opts = opts || {};
|
|
1389
144
|
var postBody = null;
|
|
1390
145
|
// verify the required parameter 'id' is set
|
|
1391
146
|
if (id === undefined || id === null) {
|
|
1392
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
147
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
1393
148
|
}
|
|
1394
149
|
var pathParams = {
|
|
1395
150
|
'id': id
|
|
1396
151
|
};
|
|
1397
|
-
var queryParams = {
|
|
1398
|
-
var headerParams = {
|
|
1399
|
-
'Authorization': opts['authorization'],
|
|
152
|
+
var queryParams = {
|
|
1400
153
|
'cacheduration': opts['cacheduration'],
|
|
1401
|
-
'cachegroup': opts['cachegroup'],
|
|
1402
|
-
'cachekey': opts['cachekey'],
|
|
154
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
155
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1403
156
|
'cachescope': opts['cachescope'],
|
|
1404
|
-
'cacheuser': opts['cacheuser'],
|
|
1405
|
-
'
|
|
1406
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1407
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1408
|
-
'transactionid': opts['transactionid']
|
|
1409
|
-
};
|
|
1410
|
-
var formParams = {};
|
|
1411
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1412
|
-
var contentTypes = [];
|
|
1413
|
-
var accepts = ['application/json'];
|
|
1414
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1415
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* Callback function to receive the result of the getRelationshipsOut operation.
|
|
1420
|
-
* @callback module:api/GraphRelationshipsApi~getRelationshipsOutCallback
|
|
1421
|
-
* @param {String} error Error message, if any.
|
|
1422
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
1423
|
-
* @param {String} response The complete HTTP response.
|
|
1424
|
-
*/
|
|
1425
|
-
|
|
1426
|
-
/**
|
|
1427
|
-
* Get Outgoing Relationships
|
|
1428
|
-
* Returns a listing of relationships
|
|
1429
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1430
|
-
* @param {Object} opts Optional parameters
|
|
1431
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1432
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1433
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1434
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1435
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1436
|
-
* @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)
|
|
1437
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1438
|
-
* @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
|
|
1439
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1440
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1441
|
-
* @param {module:api/GraphRelationshipsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1442
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1443
|
-
*/
|
|
1444
|
-
}, {
|
|
1445
|
-
key: "getRelationshipsOut",
|
|
1446
|
-
value: function getRelationshipsOut(id, opts, callback) {
|
|
1447
|
-
opts = opts || {};
|
|
1448
|
-
var postBody = null;
|
|
1449
|
-
// verify the required parameter 'id' is set
|
|
1450
|
-
if (id === undefined || id === null) {
|
|
1451
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
1452
|
-
}
|
|
1453
|
-
var pathParams = {
|
|
1454
|
-
'id': id
|
|
157
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
158
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1455
159
|
};
|
|
1456
|
-
var queryParams = {};
|
|
1457
160
|
var headerParams = {
|
|
1458
161
|
'Authorization': opts['authorization'],
|
|
1459
|
-
'cacheduration': opts['cacheduration'],
|
|
1460
|
-
'cachegroup': opts['cachegroup'],
|
|
1461
|
-
'cachekey': opts['cachekey'],
|
|
1462
|
-
'cachescope': opts['cachescope'],
|
|
1463
|
-
'cacheuser': opts['cacheuser'],
|
|
1464
162
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1465
163
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1466
164
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1470,20 +168,20 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1470
168
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1471
169
|
var contentTypes = [];
|
|
1472
170
|
var accepts = ['application/json'];
|
|
1473
|
-
var returnType =
|
|
1474
|
-
return this.apiClient.callApi('/
|
|
171
|
+
var returnType = null;
|
|
172
|
+
return this.apiClient.callApi('/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1475
173
|
}
|
|
1476
174
|
|
|
1477
175
|
/**
|
|
1478
|
-
* Callback function to receive the result of the
|
|
1479
|
-
* @callback module:api/GraphRelationshipsApi~
|
|
176
|
+
* Callback function to receive the result of the getRelationshipById operation.
|
|
177
|
+
* @callback module:api/GraphRelationshipsApi~getRelationshipByIdCallback
|
|
1480
178
|
* @param {String} error Error message, if any.
|
|
1481
|
-
* @param {module:model/
|
|
179
|
+
* @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
|
|
1482
180
|
* @param {String} response The complete HTTP response.
|
|
1483
181
|
*/
|
|
1484
182
|
|
|
1485
183
|
/**
|
|
1486
|
-
*
|
|
184
|
+
* Gets the relationship by id
|
|
1487
185
|
* @param {Number} id
|
|
1488
186
|
* @param {Object} opts Optional parameters
|
|
1489
187
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1492,91 +190,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1492
190
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1493
191
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1494
192
|
* @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)
|
|
193
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1495
194
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1496
195
|
* @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
|
|
1497
196
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1498
197
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1499
|
-
* @param {module:api/GraphRelationshipsApi~
|
|
1500
|
-
* data is of type: {@link module:model/
|
|
198
|
+
* @param {module:api/GraphRelationshipsApi~getRelationshipByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
199
|
+
* data is of type: {@link module:model/GraphRelationshipResponse}
|
|
1501
200
|
*/
|
|
1502
201
|
}, {
|
|
1503
|
-
key: "
|
|
1504
|
-
value: function
|
|
202
|
+
key: "getRelationshipById",
|
|
203
|
+
value: function getRelationshipById(id, opts, callback) {
|
|
1505
204
|
opts = opts || {};
|
|
1506
205
|
var postBody = null;
|
|
1507
206
|
// verify the required parameter 'id' is set
|
|
1508
207
|
if (id === undefined || id === null) {
|
|
1509
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
208
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
1510
209
|
}
|
|
1511
210
|
var pathParams = {
|
|
1512
211
|
'id': id
|
|
1513
212
|
};
|
|
1514
|
-
var queryParams = {
|
|
1515
|
-
var headerParams = {
|
|
1516
|
-
'Authorization': opts['authorization'],
|
|
213
|
+
var queryParams = {
|
|
1517
214
|
'cacheduration': opts['cacheduration'],
|
|
1518
|
-
'cachegroup': opts['cachegroup'],
|
|
1519
|
-
'cachekey': opts['cachekey'],
|
|
215
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
216
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1520
217
|
'cachescope': opts['cachescope'],
|
|
1521
|
-
'cacheuser': opts['cacheuser'],
|
|
1522
|
-
'
|
|
1523
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1524
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1525
|
-
'transactionid': opts['transactionid']
|
|
1526
|
-
};
|
|
1527
|
-
var formParams = {};
|
|
1528
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1529
|
-
var contentTypes = [];
|
|
1530
|
-
var accepts = ['application/json'];
|
|
1531
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1532
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
/**
|
|
1536
|
-
* Callback function to receive the result of the removeEndObjectTypes operation.
|
|
1537
|
-
* @callback module:api/GraphRelationshipsApi~removeEndObjectTypesCallback
|
|
1538
|
-
* @param {String} error Error message, if any.
|
|
1539
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1540
|
-
* @param {String} response The complete HTTP response.
|
|
1541
|
-
*/
|
|
1542
|
-
|
|
1543
|
-
/**
|
|
1544
|
-
* @param {Number} id
|
|
1545
|
-
* @param {Object} opts Optional parameters
|
|
1546
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1547
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1548
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1549
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1550
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1551
|
-
* @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)
|
|
1552
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1553
|
-
* @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
|
|
1554
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1555
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1556
|
-
* @param {String} [body]
|
|
1557
|
-
* @param {module:api/GraphRelationshipsApi~removeEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1558
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1559
|
-
*/
|
|
1560
|
-
}, {
|
|
1561
|
-
key: "removeEndObjectTypes",
|
|
1562
|
-
value: function removeEndObjectTypes(id, opts, callback) {
|
|
1563
|
-
opts = opts || {};
|
|
1564
|
-
var postBody = opts['body'];
|
|
1565
|
-
// verify the required parameter 'id' is set
|
|
1566
|
-
if (id === undefined || id === null) {
|
|
1567
|
-
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
1568
|
-
}
|
|
1569
|
-
var pathParams = {
|
|
1570
|
-
'id': id
|
|
218
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
219
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1571
220
|
};
|
|
1572
|
-
var queryParams = {};
|
|
1573
221
|
var headerParams = {
|
|
1574
222
|
'Authorization': opts['authorization'],
|
|
1575
|
-
'cacheduration': opts['cacheduration'],
|
|
1576
|
-
'cachegroup': opts['cachegroup'],
|
|
1577
|
-
'cachekey': opts['cachekey'],
|
|
1578
|
-
'cachescope': opts['cachescope'],
|
|
1579
|
-
'cacheuser': opts['cacheuser'],
|
|
1580
223
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1581
224
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1582
225
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1584,21 +227,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1584
227
|
};
|
|
1585
228
|
var formParams = {};
|
|
1586
229
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1587
|
-
var contentTypes = [
|
|
230
|
+
var contentTypes = [];
|
|
1588
231
|
var accepts = ['application/json'];
|
|
1589
|
-
var returnType =
|
|
1590
|
-
return this.apiClient.callApi('/
|
|
232
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
233
|
+
return this.apiClient.callApi('/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1591
234
|
}
|
|
1592
235
|
|
|
1593
236
|
/**
|
|
1594
|
-
* Callback function to receive the result of the
|
|
1595
|
-
* @callback module:api/GraphRelationshipsApi~
|
|
237
|
+
* Callback function to receive the result of the getRelationshipProperties operation.
|
|
238
|
+
* @callback module:api/GraphRelationshipsApi~getRelationshipPropertiesCallback
|
|
1596
239
|
* @param {String} error Error message, if any.
|
|
1597
|
-
* @param
|
|
240
|
+
* @param data This operation does not return a value.
|
|
1598
241
|
* @param {String} response The complete HTTP response.
|
|
1599
242
|
*/
|
|
1600
243
|
|
|
1601
244
|
/**
|
|
245
|
+
* Get Relationship Properties
|
|
246
|
+
* Get properties of a relationship
|
|
1602
247
|
* @param {Number} id
|
|
1603
248
|
* @param {Object} opts Optional parameters
|
|
1604
249
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1607,93 +252,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1607
252
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1608
253
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1609
254
|
* @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)
|
|
255
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1610
256
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1611
257
|
* @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
|
|
1612
258
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1613
259
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1614
|
-
* @param {
|
|
1615
|
-
* @param {module:api/GraphRelationshipsApi~removeStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1616
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
260
|
+
* @param {module:api/GraphRelationshipsApi~getRelationshipPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1617
261
|
*/
|
|
1618
262
|
}, {
|
|
1619
|
-
key: "
|
|
1620
|
-
value: function
|
|
263
|
+
key: "getRelationshipProperties",
|
|
264
|
+
value: function getRelationshipProperties(id, opts, callback) {
|
|
1621
265
|
opts = opts || {};
|
|
1622
|
-
var postBody =
|
|
266
|
+
var postBody = null;
|
|
1623
267
|
// verify the required parameter 'id' is set
|
|
1624
268
|
if (id === undefined || id === null) {
|
|
1625
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
269
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipProperties");
|
|
1626
270
|
}
|
|
1627
271
|
var pathParams = {
|
|
1628
272
|
'id': id
|
|
1629
273
|
};
|
|
1630
|
-
var queryParams = {
|
|
1631
|
-
var headerParams = {
|
|
1632
|
-
'Authorization': opts['authorization'],
|
|
274
|
+
var queryParams = {
|
|
1633
275
|
'cacheduration': opts['cacheduration'],
|
|
1634
|
-
'cachegroup': opts['cachegroup'],
|
|
1635
|
-
'cachekey': opts['cachekey'],
|
|
276
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
277
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1636
278
|
'cachescope': opts['cachescope'],
|
|
1637
|
-
'cacheuser': opts['cacheuser'],
|
|
1638
|
-
'
|
|
1639
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1640
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1641
|
-
'transactionid': opts['transactionid']
|
|
1642
|
-
};
|
|
1643
|
-
var formParams = {};
|
|
1644
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1645
|
-
var contentTypes = ['application/json'];
|
|
1646
|
-
var accepts = ['application/json'];
|
|
1647
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1648
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1649
|
-
}
|
|
1650
|
-
|
|
1651
|
-
/**
|
|
1652
|
-
* Callback function to receive the result of the setRelProperties operation.
|
|
1653
|
-
* @callback module:api/GraphRelationshipsApi~setRelPropertiesCallback
|
|
1654
|
-
* @param {String} error Error message, if any.
|
|
1655
|
-
* @param data This operation does not return a value.
|
|
1656
|
-
* @param {String} response The complete HTTP response.
|
|
1657
|
-
*/
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* Set Multiple Properties
|
|
1661
|
-
* Set multiple properties attaced to an object / record
|
|
1662
|
-
* @param {Number} id
|
|
1663
|
-
* @param {Object} opts Optional parameters
|
|
1664
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1665
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1666
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1667
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1668
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1669
|
-
* @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)
|
|
1670
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1671
|
-
* @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
|
|
1672
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1673
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1674
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
1675
|
-
* @param {module:api/GraphRelationshipsApi~setRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1676
|
-
*/
|
|
1677
|
-
}, {
|
|
1678
|
-
key: "setRelProperties",
|
|
1679
|
-
value: function setRelProperties(id, opts, callback) {
|
|
1680
|
-
opts = opts || {};
|
|
1681
|
-
var postBody = opts['requestBody'];
|
|
1682
|
-
// verify the required parameter 'id' is set
|
|
1683
|
-
if (id === undefined || id === null) {
|
|
1684
|
-
throw new Error("Missing the required parameter 'id' when calling setRelProperties");
|
|
1685
|
-
}
|
|
1686
|
-
var pathParams = {
|
|
1687
|
-
'id': id
|
|
279
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
280
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1688
281
|
};
|
|
1689
|
-
var queryParams = {};
|
|
1690
282
|
var headerParams = {
|
|
1691
283
|
'Authorization': opts['authorization'],
|
|
1692
|
-
'cacheduration': opts['cacheduration'],
|
|
1693
|
-
'cachegroup': opts['cachegroup'],
|
|
1694
|
-
'cachekey': opts['cachekey'],
|
|
1695
|
-
'cachescope': opts['cachescope'],
|
|
1696
|
-
'cacheuser': opts['cacheuser'],
|
|
1697
284
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1698
285
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1699
286
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1702,24 +289,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1702
289
|
var formParams = {};
|
|
1703
290
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1704
291
|
var contentTypes = [];
|
|
1705
|
-
var accepts = ['
|
|
292
|
+
var accepts = ['application/json'];
|
|
1706
293
|
var returnType = null;
|
|
1707
|
-
return this.apiClient.callApi('/
|
|
294
|
+
return this.apiClient.callApi('/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1708
295
|
}
|
|
1709
296
|
|
|
1710
297
|
/**
|
|
1711
|
-
* Callback function to receive the result of the
|
|
1712
|
-
* @callback module:api/GraphRelationshipsApi~
|
|
298
|
+
* Callback function to receive the result of the updateRelationship operation.
|
|
299
|
+
* @callback module:api/GraphRelationshipsApi~updateRelationshipCallback
|
|
1713
300
|
* @param {String} error Error message, if any.
|
|
1714
|
-
* @param data
|
|
301
|
+
* @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
|
|
1715
302
|
* @param {String} response The complete HTTP response.
|
|
1716
303
|
*/
|
|
1717
304
|
|
|
1718
305
|
/**
|
|
1719
|
-
* Update
|
|
1720
|
-
* Update
|
|
306
|
+
* Update Relationship
|
|
307
|
+
* Update an existing relationship
|
|
1721
308
|
* @param {Number} id
|
|
1722
|
-
* @param {
|
|
309
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
|
|
1723
310
|
* @param {Object} opts Optional parameters
|
|
1724
311
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1725
312
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1727,102 +314,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1727
314
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1728
315
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1729
316
|
* @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)
|
|
317
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1730
318
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1731
319
|
* @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
|
|
1732
320
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1733
321
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1734
|
-
* @param {
|
|
1735
|
-
* @
|
|
322
|
+
* @param {module:api/GraphRelationshipsApi~updateRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
323
|
+
* data is of type: {@link module:model/GraphRelationshipResponse}
|
|
1736
324
|
*/
|
|
1737
325
|
}, {
|
|
1738
|
-
key: "
|
|
1739
|
-
value: function
|
|
326
|
+
key: "updateRelationship",
|
|
327
|
+
value: function updateRelationship(id, graphRelationshipPayload, opts, callback) {
|
|
1740
328
|
opts = opts || {};
|
|
1741
|
-
var postBody =
|
|
329
|
+
var postBody = graphRelationshipPayload;
|
|
1742
330
|
// verify the required parameter 'id' is set
|
|
1743
331
|
if (id === undefined || id === null) {
|
|
1744
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
332
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationship");
|
|
1745
333
|
}
|
|
1746
|
-
// verify the required parameter '
|
|
1747
|
-
if (
|
|
1748
|
-
throw new Error("Missing the required parameter '
|
|
334
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
335
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
336
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling updateRelationship");
|
|
1749
337
|
}
|
|
1750
338
|
var pathParams = {
|
|
1751
|
-
'id': id
|
|
1752
|
-
'prop': prop
|
|
339
|
+
'id': id
|
|
1753
340
|
};
|
|
1754
|
-
var queryParams = {
|
|
1755
|
-
var headerParams = {
|
|
1756
|
-
'Authorization': opts['authorization'],
|
|
341
|
+
var queryParams = {
|
|
1757
342
|
'cacheduration': opts['cacheduration'],
|
|
1758
|
-
'cachegroup': opts['cachegroup'],
|
|
1759
|
-
'cachekey': opts['cachekey'],
|
|
343
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
344
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1760
345
|
'cachescope': opts['cachescope'],
|
|
1761
|
-
'cacheuser': opts['cacheuser'],
|
|
1762
|
-
'
|
|
1763
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1764
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1765
|
-
'transactionid': opts['transactionid']
|
|
1766
|
-
};
|
|
1767
|
-
var formParams = {};
|
|
1768
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1769
|
-
var contentTypes = [];
|
|
1770
|
-
var accepts = ['*/*'];
|
|
1771
|
-
var returnType = null;
|
|
1772
|
-
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
/**
|
|
1776
|
-
* Callback function to receive the result of the updateRelationshipType operation.
|
|
1777
|
-
* @callback module:api/GraphRelationshipsApi~updateRelationshipTypeCallback
|
|
1778
|
-
* @param {String} error Error message, if any.
|
|
1779
|
-
* @param {module:model/GraphRelationshipType} data The data returned by the service call.
|
|
1780
|
-
* @param {String} response The complete HTTP response.
|
|
1781
|
-
*/
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
* Update a relationshp type
|
|
1785
|
-
* Performs an update of the relationship type
|
|
1786
|
-
* @param {Number} id The id of the relationship type we are updating
|
|
1787
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1788
|
-
* @param {Object} opts Optional parameters
|
|
1789
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1790
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1791
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1792
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1793
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1794
|
-
* @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)
|
|
1795
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1796
|
-
* @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
|
|
1797
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1798
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1799
|
-
* @param {module:api/GraphRelationshipsApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1800
|
-
* data is of type: {@link module:model/GraphRelationshipType}
|
|
1801
|
-
*/
|
|
1802
|
-
}, {
|
|
1803
|
-
key: "updateRelationshipType",
|
|
1804
|
-
value: function updateRelationshipType(id, graphRelationshipType, opts, callback) {
|
|
1805
|
-
opts = opts || {};
|
|
1806
|
-
var postBody = graphRelationshipType;
|
|
1807
|
-
// verify the required parameter 'id' is set
|
|
1808
|
-
if (id === undefined || id === null) {
|
|
1809
|
-
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
1810
|
-
}
|
|
1811
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
1812
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
1813
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
|
|
1814
|
-
}
|
|
1815
|
-
var pathParams = {
|
|
1816
|
-
'id': id
|
|
346
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
347
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1817
348
|
};
|
|
1818
|
-
var queryParams = {};
|
|
1819
349
|
var headerParams = {
|
|
1820
350
|
'Authorization': opts['authorization'],
|
|
1821
|
-
'cacheduration': opts['cacheduration'],
|
|
1822
|
-
'cachegroup': opts['cachegroup'],
|
|
1823
|
-
'cachekey': opts['cachekey'],
|
|
1824
|
-
'cachescope': opts['cachescope'],
|
|
1825
|
-
'cacheuser': opts['cacheuser'],
|
|
1826
351
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1827
352
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1828
353
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1830,21 +355,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1830
355
|
};
|
|
1831
356
|
var formParams = {};
|
|
1832
357
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1833
|
-
var contentTypes = [
|
|
358
|
+
var contentTypes = [];
|
|
1834
359
|
var accepts = ['application/json'];
|
|
1835
|
-
var returnType =
|
|
1836
|
-
return this.apiClient.callApi('/
|
|
360
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
361
|
+
return this.apiClient.callApi('/relationship/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1837
362
|
}
|
|
1838
363
|
|
|
1839
364
|
/**
|
|
1840
|
-
* Callback function to receive the result of the
|
|
1841
|
-
* @callback module:api/GraphRelationshipsApi~
|
|
365
|
+
* Callback function to receive the result of the updateRelationshipProperties operation.
|
|
366
|
+
* @callback module:api/GraphRelationshipsApi~updateRelationshipPropertiesCallback
|
|
1842
367
|
* @param {String} error Error message, if any.
|
|
1843
|
-
* @param
|
|
368
|
+
* @param data This operation does not return a value.
|
|
1844
369
|
* @param {String} response The complete HTTP response.
|
|
1845
370
|
*/
|
|
1846
371
|
|
|
1847
372
|
/**
|
|
373
|
+
* Update Relationship Properties
|
|
374
|
+
* Update properties of a relationship
|
|
1848
375
|
* @param {Number} id
|
|
1849
376
|
* @param {Object} opts Optional parameters
|
|
1850
377
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1853,34 +380,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1853
380
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1854
381
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1855
382
|
* @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)
|
|
383
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1856
384
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1857
385
|
* @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
|
|
1858
386
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1859
387
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1860
|
-
* @param {String} [body]
|
|
1861
|
-
* @param {module:api/GraphRelationshipsApi~
|
|
1862
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
388
|
+
* @param {Object.<String, Object>} [body]
|
|
389
|
+
* @param {module:api/GraphRelationshipsApi~updateRelationshipPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1863
390
|
*/
|
|
1864
391
|
}, {
|
|
1865
|
-
key: "
|
|
1866
|
-
value: function
|
|
392
|
+
key: "updateRelationshipProperties",
|
|
393
|
+
value: function updateRelationshipProperties(id, opts, callback) {
|
|
1867
394
|
opts = opts || {};
|
|
1868
395
|
var postBody = opts['body'];
|
|
1869
396
|
// verify the required parameter 'id' is set
|
|
1870
397
|
if (id === undefined || id === null) {
|
|
1871
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
398
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipProperties");
|
|
1872
399
|
}
|
|
1873
400
|
var pathParams = {
|
|
1874
401
|
'id': id
|
|
1875
402
|
};
|
|
1876
|
-
var queryParams = {
|
|
1877
|
-
var headerParams = {
|
|
1878
|
-
'Authorization': opts['authorization'],
|
|
403
|
+
var queryParams = {
|
|
1879
404
|
'cacheduration': opts['cacheduration'],
|
|
1880
|
-
'cachegroup': opts['cachegroup'],
|
|
1881
|
-
'cachekey': opts['cachekey'],
|
|
405
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
406
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1882
407
|
'cachescope': opts['cachescope'],
|
|
1883
|
-
'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'],
|
|
1884
413
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1885
414
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1886
415
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1888,10 +417,10 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1888
417
|
};
|
|
1889
418
|
var formParams = {};
|
|
1890
419
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1891
|
-
var contentTypes = [
|
|
420
|
+
var contentTypes = [];
|
|
1892
421
|
var accepts = ['application/json'];
|
|
1893
|
-
var returnType =
|
|
1894
|
-
return this.apiClient.callApi('/
|
|
422
|
+
var returnType = null;
|
|
423
|
+
return this.apiClient.callApi('/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1895
424
|
}
|
|
1896
425
|
}]);
|
|
1897
426
|
}();
|