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