@gobodo/gobodo-api 0.1.96 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +582 -685
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +7 -3
- package/dist/api/ActionTypesApi.d.ts +2 -1
- package/dist/api/ActionTypesApi.js +6 -3
- package/dist/api/AdCampaignsApi.d.ts +30 -47
- package/dist/api/AdCampaignsApi.js +107 -145
- package/dist/api/AdManagementApi.d.ts +53 -41
- package/dist/api/AdManagementApi.js +186 -156
- package/dist/api/AdminDataManagementApi.d.ts +4 -3
- package/dist/api/AdminDataManagementApi.js +17 -15
- package/dist/api/AdsApi.d.ts +24 -43
- package/dist/api/AdsApi.js +80 -124
- package/dist/api/AttachmentsApi.d.ts +14 -58
- package/dist/api/AttachmentsApi.js +64 -166
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +12 -12
- package/dist/api/CategoriesApi.d.ts +17 -10
- package/dist/api/CategoriesApi.js +88 -65
- package/dist/api/CommentsApi.d.ts +11 -53
- package/dist/api/CommentsApi.js +64 -159
- package/dist/api/ContentManagementApi.d.ts +44 -16
- package/dist/api/ContentManagementApi.js +306 -222
- package/dist/api/ConversationsApi.d.ts +13 -29
- package/dist/api/ConversationsApi.js +87 -119
- package/dist/api/CurrencyApi.d.ts +8 -1
- package/dist/api/CurrencyApi.js +71 -50
- package/dist/api/DataSheetImportsApi.d.ts +23 -11
- package/dist/api/DataSheetImportsApi.js +167 -127
- package/dist/api/DefaultApi.d.ts +18 -13
- package/dist/api/DefaultApi.js +73 -58
- package/dist/api/DocumentPartTypesApi.d.ts +3 -1
- package/dist/api/DocumentPartTypesApi.js +23 -16
- package/dist/api/DocumentTypesApi.d.ts +3 -1
- package/dist/api/DocumentTypesApi.js +23 -16
- package/dist/api/DocumentsApi.d.ts +20 -32
- package/dist/api/DocumentsApi.js +131 -153
- package/dist/api/EmailsApi.d.ts +5 -1
- package/dist/api/EmailsApi.js +43 -30
- package/dist/api/EntryPartsApi.d.ts +21 -33
- package/dist/api/EntryPartsApi.js +132 -152
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +3 -3
- package/dist/api/FieldsApi.d.ts +4 -1
- package/dist/api/FieldsApi.js +33 -23
- package/dist/api/FilesApi.d.ts +5 -5
- package/dist/api/FilesApi.js +13 -12
- package/dist/api/FormsApi.d.ts +52 -34
- package/dist/api/FormsApi.js +233 -182
- package/dist/api/FunctionsApi.d.ts +21 -27
- package/dist/api/FunctionsApi.js +196 -203
- package/dist/api/GeocodeApi.d.ts +30 -70
- package/dist/api/GeocodeApi.js +72 -176
- package/dist/api/GobodoManagementApi.d.ts +6 -1
- package/dist/api/GobodoManagementApi.js +53 -37
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +3 -3
- package/dist/api/GraphActionTypesApi.d.ts +68 -78
- package/dist/api/GraphActionTypesApi.js +190 -218
- package/dist/api/GraphActionsApi.d.ts +16 -220
- package/dist/api/GraphActionsApi.js +50 -537
- package/dist/api/GraphObjectTypesApi.d.ts +38 -148
- package/dist/api/GraphObjectTypesApi.js +140 -392
- package/dist/api/GraphObjectsApi.d.ts +131 -1177
- package/dist/api/GraphObjectsApi.js +525 -3035
- package/dist/api/GraphRelationshipTypesApi.d.ts +51 -371
- package/dist/api/GraphRelationshipTypesApi.js +181 -934
- package/dist/api/GraphRelationshipsApi.d.ts +43 -675
- package/dist/api/GraphRelationshipsApi.js +132 -1603
- package/dist/api/GraphSchemasApi.d.ts +9 -229
- package/dist/api/GraphSchemasApi.js +86 -610
- package/dist/api/GraphTraversalApi.d.ts +12 -5
- package/dist/api/GraphTraversalApi.js +80 -58
- package/dist/api/GraphsApi.d.ts +102 -87
- package/dist/api/GraphsApi.js +277 -236
- package/dist/api/IAMApi.d.ts +21 -17
- package/dist/api/IAMApi.js +69 -57
- package/dist/api/ImagesApi.d.ts +17 -88
- package/dist/api/ImagesApi.js +73 -240
- package/dist/api/InvitesApi.d.ts +6 -1
- package/dist/api/InvitesApi.js +53 -37
- package/dist/api/LikesApi.d.ts +42 -29
- package/dist/api/LikesApi.js +179 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +5 -3
- package/dist/api/LiveMeetingsApi.js +27 -22
- package/dist/api/MeetingEventsApi.d.ts +20 -131
- package/dist/api/MeetingEventsApi.js +175 -431
- package/dist/api/NotificationsApi.d.ts +15 -1
- package/dist/api/NotificationsApi.js +137 -97
- package/dist/api/PagesApi.d.ts +15 -31
- package/dist/api/PagesApi.js +94 -126
- package/dist/api/PasswordResetApi.d.ts +78 -0
- package/dist/api/PasswordResetApi.js +189 -0
- package/dist/api/PhoneNumbersApi.d.ts +6 -1
- package/dist/api/PhoneNumbersApi.js +53 -37
- package/dist/api/PostsApi.d.ts +9 -29
- package/dist/api/PostsApi.js +47 -91
- package/dist/api/PrivateMessagesApi.d.ts +24 -33
- package/dist/api/PrivateMessagesApi.js +160 -171
- package/dist/api/PublicationsApi.d.ts +10 -25
- package/dist/api/PublicationsApi.js +83 -116
- package/dist/api/RestApplicationsApi.d.ts +6 -1
- package/dist/api/RestApplicationsApi.js +51 -36
- package/dist/api/ScreensApi.d.ts +4 -1
- package/dist/api/ScreensApi.js +33 -23
- package/dist/api/SitesApi.d.ts +11 -1
- package/dist/api/SitesApi.js +99 -70
- package/dist/api/SocialGroupsApi.d.ts +25 -6
- package/dist/api/SocialGroupsApi.js +193 -139
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +42 -3
- package/dist/api/StripeAccountsApi.js +397 -281
- package/dist/api/TagsApi.d.ts +2 -1
- package/dist/api/TagsApi.js +6 -3
- package/dist/api/TemplatesApi.d.ts +4 -1
- package/dist/api/TemplatesApi.js +33 -23
- package/dist/api/ThemeMappingsApi.d.ts +8 -5
- package/dist/api/ThemeMappingsApi.js +39 -29
- package/dist/api/TopicsApi.d.ts +9 -1
- package/dist/api/TopicsApi.js +83 -58
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +5 -5
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +3 -3
- package/dist/api/UserManagerAdministrationApi.d.ts +96 -0
- package/dist/api/UserManagerAdministrationApi.js +234 -0
- package/dist/api/UserTagsApi.d.ts +33 -75
- package/dist/api/UserTagsApi.js +111 -209
- package/dist/api/UsersApi.d.ts +12 -1
- package/dist/api/UsersApi.js +111 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +17 -57
- package/dist/api/VideosApi.js +102 -192
- package/dist/api/WalletsApi.d.ts +18 -1
- package/dist/api/WalletsApi.js +167 -118
- package/dist/index.d.ts +33 -17
- package/dist/index.js +204 -92
- package/dist/model/APIClient.d.ts +2 -2
- package/dist/model/APIClient.js +10 -10
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/Address.d.ts +33 -0
- package/dist/model/Address.js +137 -0
- package/dist/model/AddressResponse.d.ts +46 -0
- package/dist/model/AddressResponse.js +168 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.d.ts +9 -9
- package/dist/model/Article.js +66 -66
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.d.ts +4 -4
- package/dist/model/Balance.js +45 -45
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +4 -2
- package/dist/model/Base64ImageUpload.js +31 -10
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +46 -0
- package/dist/model/CacheInvalidation.js +137 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +5 -5
- package/dist/model/Comment.js +29 -29
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.d.ts +1 -1
- package/dist/model/Currency.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.d.ts +1 -1
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +7 -7
- package/dist/model/DataSheetImport.js +63 -63
- package/dist/model/DataSheetImportPrivacySettings.d.ts +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +10 -10
- package/dist/model/DataSheetImportSummary.d.ts +2 -2
- package/dist/model/DataSheetImportSummary.js +14 -14
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +10 -10
- package/dist/model/Document.js +70 -70
- package/dist/model/DocumentPart.d.ts +6 -6
- package/dist/model/DocumentPart.js +47 -47
- package/dist/model/DocumentPartType.d.ts +4 -4
- package/dist/model/DocumentPartType.js +30 -30
- package/dist/model/DocumentType.d.ts +7 -7
- package/dist/model/DocumentType.js +46 -46
- package/dist/model/DomainMappingInput.d.ts +40 -0
- package/dist/model/DomainMappingInput.js +122 -0
- package/dist/model/DomainMappingResponse.d.ts +40 -0
- package/dist/model/DomainMappingResponse.js +122 -0
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.d.ts +1 -1
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.d.ts +3 -3
- package/dist/model/Fields.js +16 -16
- package/dist/model/File.d.ts +4 -4
- package/dist/model/File.js +27 -27
- package/dist/model/FileAttachmentUploadObject.d.ts +4 -4
- package/dist/model/FileAttachmentUploadObject.js +27 -27
- package/dist/model/Filter.d.ts +1 -1
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.d.ts +1 -1
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.d.ts +2 -2
- package/dist/model/Form.js +15 -15
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +2 -2
- package/dist/model/FormSubmission.js +13 -13
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.d.ts +1 -1
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +6 -6
- package/dist/model/GeocodeResponse.d.ts +42 -0
- package/dist/model/GeocodeResponse.js +140 -0
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.d.ts +6 -6
- package/dist/model/Graph.js +37 -37
- package/dist/model/GraphAction.d.ts +2 -2
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +3 -1
- package/dist/model/GraphActionResponse.js +26 -2
- package/dist/model/GraphActionTypeInput.d.ts +55 -0
- package/dist/model/GraphActionTypeInput.js +316 -0
- package/dist/model/GraphActionTypeResponse.d.ts +69 -0
- package/dist/model/GraphActionTypeResponse.js +407 -0
- package/dist/model/GraphDatabaseService.d.ts +2 -2
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +43 -0
- package/dist/model/GraphInput.js +152 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +9 -9
- package/dist/model/GraphObject.d.ts +2 -2
- package/dist/model/GraphObject.js +11 -11
- package/dist/model/GraphObjectPayload.d.ts +2 -3
- package/dist/model/GraphObjectPayload.js +10 -24
- package/dist/model/GraphObjectResponse.d.ts +11 -3
- package/dist/model/GraphObjectResponse.js +74 -6
- package/dist/model/GraphObjectSchema.d.ts +4 -4
- package/dist/model/GraphObjectSchema.js +31 -31
- package/dist/model/GraphObjectType.d.ts +2 -2
- package/dist/model/GraphObjectType.js +11 -11
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +9 -7
- package/dist/model/GraphObjectTypeResponse.js +59 -28
- package/dist/model/GraphObjectTypeSchema.d.ts +2 -2
- package/dist/model/GraphObjectTypeSchema.js +11 -11
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +2 -2
- package/dist/model/GraphRelationship.js +11 -11
- package/dist/model/GraphRelationshipPayload.d.ts +3 -3
- package/dist/model/GraphRelationshipPayload.js +22 -24
- package/dist/model/GraphRelationshipResponse.d.ts +55 -0
- package/dist/model/GraphRelationshipResponse.js +229 -0
- package/dist/model/GraphRelationshipType.d.ts +6 -6
- package/dist/model/GraphRelationshipType.js +40 -40
- package/dist/model/GraphRelationshipTypeInput.d.ts +59 -0
- package/dist/model/GraphRelationshipTypeInput.js +367 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -1
- package/dist/model/GraphRelationshipTypeResponse.js +38 -2
- package/dist/model/GraphResponse.d.ts +54 -0
- package/dist/model/GraphResponse.js +196 -0
- package/dist/model/GraphSchema.d.ts +7 -7
- package/dist/model/GraphSchema.js +46 -46
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +7 -1
- package/dist/model/GraphTraversalInput.js +74 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +4 -2
- package/dist/model/InputPart.js +37 -18
- package/dist/model/InputPartHeaders.d.ts +29 -0
- package/dist/model/InputPartHeaders.js +87 -0
- package/dist/model/InputPartMediaType.d.ts +1 -1
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/JsonArray.d.ts +34 -0
- package/dist/model/JsonArray.js +95 -0
- package/dist/model/JsonObject.d.ts +41 -0
- package/dist/model/JsonObject.js +143 -0
- package/dist/model/JsonValue.d.ts +40 -0
- package/dist/model/JsonValue.js +132 -0
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +3 -3
- package/dist/model/Link.js +19 -19
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +33 -0
- package/dist/model/MediaType.js +127 -0
- package/dist/model/MeetingEvent.d.ts +7 -7
- package/dist/model/MeetingEvent.js +50 -50
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTimezone.d.ts +1 -1
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +2 -2
- package/dist/model/MeetingInfo.js +15 -15
- package/dist/model/Member.d.ts +3 -3
- package/dist/model/Member.js +20 -20
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +39 -0
- package/dist/model/MemberManagerConfigInput.js +124 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +41 -0
- package/dist/model/MemberManagerConfigResponse.js +134 -0
- package/dist/model/MemberManagerInput.d.ts +41 -0
- package/dist/model/MemberManagerInput.js +134 -0
- package/dist/model/MemberManagerResponse.d.ts +41 -0
- package/dist/model/MemberManagerResponse.js +134 -0
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +29 -0
- package/dist/model/MultivaluedMapStringString.js +87 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +2 -2
- package/dist/model/Objecttype.js +11 -11
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +3 -3
- package/dist/model/Page.js +16 -16
- package/dist/model/PageSchema.d.ts +3 -3
- package/dist/model/PageSchema.js +17 -17
- package/dist/model/Pageable.d.ts +3 -3
- package/dist/model/Pageable.js +16 -16
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +38 -0
- package/dist/model/PasswordResetInitiateRequest.js +112 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +46 -0
- package/dist/model/PasswordResetInitiateResponse.js +156 -0
- package/dist/model/PasswordResetRequest.d.ts +42 -0
- package/dist/model/PasswordResetRequest.js +136 -0
- package/dist/model/PasswordResetResponse.d.ts +46 -0
- package/dist/model/PasswordResetResponse.js +162 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +46 -0
- package/dist/model/PasswordResetValidationResponse.js +162 -0
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +9 -9
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.d.ts +2 -2
- package/dist/model/PaymentMethod.js +9 -9
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.d.ts +2 -2
- package/dist/model/Payout.js +15 -15
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.d.ts +3 -3
- package/dist/model/PhoneNumber.js +20 -20
- package/dist/model/Post.d.ts +3 -3
- package/dist/model/Post.js +17 -17
- package/dist/model/PrivateMessage.d.ts +4 -4
- package/dist/model/PrivateMessage.js +28 -28
- package/dist/model/PrivateMessageConversation.d.ts +4 -4
- package/dist/model/PrivateMessageConversation.js +41 -41
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +2 -2
- package/dist/model/Profile.js +14 -14
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.d.ts +1 -1
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +41 -0
- package/dist/model/PurgeDataDefaultResponse.js +143 -0
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +2 -2
- package/dist/model/RelationshipMapping.js +18 -18
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +4 -4
- package/dist/model/ScreenSchema.js +29 -29
- package/dist/model/SimulcastInfo.d.ts +1 -1
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SiteInput.d.ts +1 -1
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.d.ts +1 -1
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.d.ts +1 -1
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.d.ts +1 -1
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.d.ts +3 -3
- package/dist/model/SkinField.js +16 -16
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +2 -2
- package/dist/model/SocialGroup.js +14 -14
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sort.d.ts +2 -2
- package/dist/model/Sort.js +9 -9
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +2 -2
- package/dist/model/StatusUpdate.js +10 -10
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +2 -2
- package/dist/model/StripeAccount.js +10 -10
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +1 -1
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +1 -1
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.d.ts +2 -2
- package/dist/model/ThemeMapping.js +14 -14
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +2 -2
- package/dist/model/Transfer.js +12 -12
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +12 -12
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +10 -10
- package/dist/model/User.d.ts +3 -3
- package/dist/model/User.js +20 -20
- package/dist/model/UserDataPayload.d.ts +3 -3
- package/dist/model/UserDataPayload.js +20 -20
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +2 -2
- package/dist/model/UserInvite.js +14 -14
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +3 -3
- package/dist/model/UserSchema.js +20 -20
- package/dist/model/UserTag.d.ts +2 -2
- package/dist/model/UserTag.js +10 -10
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +38 -0
- package/dist/model/UsernameReminderRequest.js +112 -0
- package/dist/model/UsernameReminderResponse.d.ts +46 -0
- package/dist/model/UsernameReminderResponse.js +156 -0
- package/dist/model/Video.d.ts +9 -9
- package/dist/model/Video.js +64 -64
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +9 -9
- package/dist/model/VideoSchema.js +64 -64
- package/dist/model/VideoUploadObject.d.ts +9 -9
- package/dist/model/VideoUploadObject.js +64 -64
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +1 -1
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +3 -3
|
@@ -5,13 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
8
9
|
var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
|
|
9
10
|
var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
|
|
10
|
-
var
|
|
11
|
-
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
12
|
-
var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
|
|
11
|
+
var _GraphRelationshipTypeInput = _interopRequireDefault(require("../model/GraphRelationshipTypeInput"));
|
|
13
12
|
var _GraphRelationshipTypeResponse = _interopRequireDefault(require("../model/GraphRelationshipTypeResponse"));
|
|
14
|
-
var
|
|
13
|
+
var _SkinFieldResponse = _interopRequireDefault(require("../model/SkinFieldResponse"));
|
|
15
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
15
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
17
16
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -22,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
22
21
|
* gobodo-api
|
|
23
22
|
* REST Interface for Gobodo API
|
|
24
23
|
*
|
|
25
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.99
|
|
26
25
|
* Contact: info@gobodo.io
|
|
27
26
|
*
|
|
28
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
32
|
/**
|
|
34
33
|
* GraphRelationshipTypes service.
|
|
35
34
|
* @module api/GraphRelationshipTypesApi
|
|
36
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.99
|
|
37
36
|
*/
|
|
38
37
|
var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
39
38
|
/**
|
|
@@ -49,15 +48,18 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
/**
|
|
52
|
-
* Callback function to receive the result of the
|
|
53
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
51
|
+
* Callback function to receive the result of the addMethodToRelationshipType operation.
|
|
52
|
+
* @callback module:api/GraphRelationshipTypesApi~addMethodToRelationshipTypeCallback
|
|
54
53
|
* @param {String} error Error message, if any.
|
|
55
|
-
* @param {module:model/
|
|
54
|
+
* @param {module:model/GetFunctionResponse} data The data returned by the service call.
|
|
56
55
|
* @param {String} response The complete HTTP response.
|
|
57
56
|
*/
|
|
58
57
|
|
|
59
58
|
/**
|
|
60
|
-
*
|
|
59
|
+
* Adds a method to an relationship type
|
|
60
|
+
* Adds a method to a relationship type
|
|
61
|
+
* @param {Number} reltypeid
|
|
62
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
61
63
|
* @param {Object} opts Optional parameters
|
|
62
64
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
63
65
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -65,75 +67,15 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
65
67
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
66
68
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
67
69
|
* @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)
|
|
70
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
68
71
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
69
72
|
* @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
|
|
70
73
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
71
74
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
72
|
-
* @param {
|
|
73
|
-
* @
|
|
74
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
75
|
+
* @param {module:api/GraphRelationshipTypesApi~addMethodToRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
76
|
+
* data is of type: {@link module:model/GetFunctionResponse}
|
|
75
77
|
*/
|
|
76
78
|
return _createClass(GraphRelationshipTypesApi, [{
|
|
77
|
-
key: "addEndObjectTypes1",
|
|
78
|
-
value: function addEndObjectTypes1(id, opts, callback) {
|
|
79
|
-
opts = opts || {};
|
|
80
|
-
var postBody = opts['body'];
|
|
81
|
-
// verify the required parameter 'id' is set
|
|
82
|
-
if (id === undefined || id === null) {
|
|
83
|
-
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
|
|
84
|
-
}
|
|
85
|
-
var pathParams = {
|
|
86
|
-
'id': id
|
|
87
|
-
};
|
|
88
|
-
var queryParams = {};
|
|
89
|
-
var headerParams = {
|
|
90
|
-
'Authorization': opts['authorization'],
|
|
91
|
-
'cacheduration': opts['cacheduration'],
|
|
92
|
-
'cachegroup': opts['cachegroup'],
|
|
93
|
-
'cachekey': opts['cachekey'],
|
|
94
|
-
'cachescope': opts['cachescope'],
|
|
95
|
-
'cacheuser': opts['cacheuser'],
|
|
96
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
97
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
98
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
99
|
-
'transactionid': opts['transactionid']
|
|
100
|
-
};
|
|
101
|
-
var formParams = {};
|
|
102
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
103
|
-
var contentTypes = ['application/json'];
|
|
104
|
-
var accepts = ['application/json'];
|
|
105
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
106
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Callback function to receive the result of the addMethodToRelationshipType operation.
|
|
111
|
-
* @callback module:api/GraphRelationshipTypesApi~addMethodToRelationshipTypeCallback
|
|
112
|
-
* @param {String} error Error message, if any.
|
|
113
|
-
* @param {module:model/GetFunctionResponse} data The data returned by the service call.
|
|
114
|
-
* @param {String} response The complete HTTP response.
|
|
115
|
-
*/
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Adds a method to an relationship type
|
|
119
|
-
* Adds a method to a relationship type
|
|
120
|
-
* @param {Number} reltypeid
|
|
121
|
-
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
122
|
-
* @param {Object} opts Optional parameters
|
|
123
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
124
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
125
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
126
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
127
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
128
|
-
* @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)
|
|
129
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
130
|
-
* @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
|
|
131
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
132
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
133
|
-
* @param {module:api/GraphRelationshipTypesApi~addMethodToRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
134
|
-
* data is of type: {@link module:model/GetFunctionResponse}
|
|
135
|
-
*/
|
|
136
|
-
}, {
|
|
137
79
|
key: "addMethodToRelationshipType",
|
|
138
80
|
value: function addMethodToRelationshipType(reltypeid, createFunctionInput, opts, callback) {
|
|
139
81
|
opts = opts || {};
|
|
@@ -149,72 +91,16 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
149
91
|
var pathParams = {
|
|
150
92
|
'reltypeid': reltypeid
|
|
151
93
|
};
|
|
152
|
-
var queryParams = {
|
|
153
|
-
var headerParams = {
|
|
154
|
-
'Authorization': opts['authorization'],
|
|
94
|
+
var queryParams = {
|
|
155
95
|
'cacheduration': opts['cacheduration'],
|
|
156
|
-
'cachegroup': opts['cachegroup'],
|
|
157
|
-
'cachekey': opts['cachekey'],
|
|
96
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
97
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
158
98
|
'cachescope': opts['cachescope'],
|
|
159
|
-
'cacheuser': opts['cacheuser'],
|
|
160
|
-
'
|
|
161
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
162
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
163
|
-
'transactionid': opts['transactionid']
|
|
164
|
-
};
|
|
165
|
-
var formParams = {};
|
|
166
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
167
|
-
var contentTypes = [];
|
|
168
|
-
var accepts = ['application/json'];
|
|
169
|
-
var returnType = _GetFunctionResponse["default"];
|
|
170
|
-
return this.apiClient.callApi('/graph/data/functions/relationshiptype/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Callback function to receive the result of the addStartObjectTypes operation.
|
|
175
|
-
* @callback module:api/GraphRelationshipTypesApi~addStartObjectTypesCallback
|
|
176
|
-
* @param {String} error Error message, if any.
|
|
177
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
178
|
-
* @param {String} response The complete HTTP response.
|
|
179
|
-
*/
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @param {Number} id
|
|
183
|
-
* @param {Object} opts Optional parameters
|
|
184
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
185
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
186
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
187
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
188
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
189
|
-
* @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)
|
|
190
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
191
|
-
* @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
|
|
192
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
193
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
194
|
-
* @param {String} [body]
|
|
195
|
-
* @param {module:api/GraphRelationshipTypesApi~addStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
196
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
197
|
-
*/
|
|
198
|
-
}, {
|
|
199
|
-
key: "addStartObjectTypes",
|
|
200
|
-
value: function addStartObjectTypes(id, opts, callback) {
|
|
201
|
-
opts = opts || {};
|
|
202
|
-
var postBody = opts['body'];
|
|
203
|
-
// verify the required parameter 'id' is set
|
|
204
|
-
if (id === undefined || id === null) {
|
|
205
|
-
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
206
|
-
}
|
|
207
|
-
var pathParams = {
|
|
208
|
-
'id': id
|
|
99
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
100
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
209
101
|
};
|
|
210
|
-
var queryParams = {};
|
|
211
102
|
var headerParams = {
|
|
212
103
|
'Authorization': opts['authorization'],
|
|
213
|
-
'cacheduration': opts['cacheduration'],
|
|
214
|
-
'cachegroup': opts['cachegroup'],
|
|
215
|
-
'cachekey': opts['cachekey'],
|
|
216
|
-
'cachescope': opts['cachescope'],
|
|
217
|
-
'cacheuser': opts['cacheuser'],
|
|
218
104
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
219
105
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
220
106
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -222,24 +108,24 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
222
108
|
};
|
|
223
109
|
var formParams = {};
|
|
224
110
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
225
|
-
var contentTypes = [
|
|
111
|
+
var contentTypes = [];
|
|
226
112
|
var accepts = ['application/json'];
|
|
227
|
-
var returnType =
|
|
228
|
-
return this.apiClient.callApi('/
|
|
113
|
+
var returnType = _GetFunctionResponse["default"];
|
|
114
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
229
115
|
}
|
|
230
116
|
|
|
231
117
|
/**
|
|
232
118
|
* Callback function to receive the result of the createRelationshipType operation.
|
|
233
119
|
* @callback module:api/GraphRelationshipTypesApi~createRelationshipTypeCallback
|
|
234
120
|
* @param {String} error Error message, if any.
|
|
235
|
-
* @param {module:model/
|
|
121
|
+
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
236
122
|
* @param {String} response The complete HTTP response.
|
|
237
123
|
*/
|
|
238
124
|
|
|
239
125
|
/**
|
|
240
|
-
* Create
|
|
241
|
-
* Creates a new relationship type
|
|
242
|
-
* @param {module:model/
|
|
126
|
+
* Create Graph Relationship Type
|
|
127
|
+
* Creates a new graph relationship type
|
|
128
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
243
129
|
* @param {Object} opts Optional parameters
|
|
244
130
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
245
131
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -247,31 +133,34 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
247
133
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
248
134
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
249
135
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
136
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
250
137
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
251
138
|
* @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
|
|
252
139
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
253
140
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
254
141
|
* @param {module:api/GraphRelationshipTypesApi~createRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
255
|
-
* data is of type: {@link module:model/
|
|
142
|
+
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
256
143
|
*/
|
|
257
144
|
}, {
|
|
258
145
|
key: "createRelationshipType",
|
|
259
|
-
value: function createRelationshipType(
|
|
146
|
+
value: function createRelationshipType(graphRelationshipTypeInput, opts, callback) {
|
|
260
147
|
opts = opts || {};
|
|
261
|
-
var postBody =
|
|
262
|
-
// verify the required parameter '
|
|
263
|
-
if (
|
|
264
|
-
throw new Error("Missing the required parameter '
|
|
148
|
+
var postBody = graphRelationshipTypeInput;
|
|
149
|
+
// verify the required parameter 'graphRelationshipTypeInput' is set
|
|
150
|
+
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
151
|
+
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling createRelationshipType");
|
|
265
152
|
}
|
|
266
153
|
var pathParams = {};
|
|
267
|
-
var queryParams = {
|
|
268
|
-
var headerParams = {
|
|
269
|
-
'Authorization': opts['authorization'],
|
|
154
|
+
var queryParams = {
|
|
270
155
|
'cacheduration': opts['cacheduration'],
|
|
271
|
-
'cachegroup': opts['cachegroup'],
|
|
272
|
-
'cachekey': opts['cachekey'],
|
|
156
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
157
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
273
158
|
'cachescope': opts['cachescope'],
|
|
274
|
-
'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'],
|
|
275
164
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
276
165
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
277
166
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -279,22 +168,22 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
279
168
|
};
|
|
280
169
|
var formParams = {};
|
|
281
170
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
282
|
-
var contentTypes = [
|
|
171
|
+
var contentTypes = [];
|
|
283
172
|
var accepts = ['application/json'];
|
|
284
|
-
var returnType =
|
|
285
|
-
return this.apiClient.callApi('/
|
|
173
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
174
|
+
return this.apiClient.callApi('/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
286
175
|
}
|
|
287
176
|
|
|
288
177
|
/**
|
|
289
|
-
* Callback function to receive the result of the
|
|
290
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
178
|
+
* Callback function to receive the result of the getAllRelationshipTypes operation.
|
|
179
|
+
* @callback module:api/GraphRelationshipTypesApi~getAllRelationshipTypesCallback
|
|
291
180
|
* @param {String} error Error message, if any.
|
|
292
|
-
* @param data
|
|
181
|
+
* @param {Array.<module:model/GraphRelationshipTypeResponse>} data The data returned by the service call.
|
|
293
182
|
* @param {String} response The complete HTTP response.
|
|
294
183
|
*/
|
|
295
184
|
|
|
296
185
|
/**
|
|
297
|
-
*
|
|
186
|
+
* Get all relationship types
|
|
298
187
|
* @param {Object} opts Optional parameters
|
|
299
188
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
300
189
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -302,26 +191,30 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
302
191
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
303
192
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
304
193
|
* @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)
|
|
194
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
305
195
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
306
196
|
* @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
|
|
307
197
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
308
198
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
309
|
-
* @param {module:api/GraphRelationshipTypesApi~
|
|
199
|
+
* @param {module:api/GraphRelationshipTypesApi~getAllRelationshipTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
200
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipTypeResponse>}
|
|
310
201
|
*/
|
|
311
202
|
}, {
|
|
312
|
-
key: "
|
|
313
|
-
value: function
|
|
203
|
+
key: "getAllRelationshipTypes",
|
|
204
|
+
value: function getAllRelationshipTypes(opts, callback) {
|
|
314
205
|
opts = opts || {};
|
|
315
206
|
var postBody = null;
|
|
316
207
|
var pathParams = {};
|
|
317
|
-
var queryParams = {
|
|
318
|
-
var headerParams = {
|
|
319
|
-
'Authorization': opts['authorization'],
|
|
208
|
+
var queryParams = {
|
|
320
209
|
'cacheduration': opts['cacheduration'],
|
|
321
|
-
'cachegroup': opts['cachegroup'],
|
|
322
|
-
'cachekey': opts['cachekey'],
|
|
210
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
211
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
323
212
|
'cachescope': opts['cachescope'],
|
|
324
|
-
'cacheuser': opts['cacheuser'],
|
|
213
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
214
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
215
|
+
};
|
|
216
|
+
var headerParams = {
|
|
217
|
+
'Authorization': opts['authorization'],
|
|
325
218
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
326
219
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
327
220
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -330,24 +223,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
330
223
|
var formParams = {};
|
|
331
224
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
332
225
|
var contentTypes = [];
|
|
333
|
-
var accepts = ['
|
|
334
|
-
var returnType =
|
|
335
|
-
return this.apiClient.callApi('/
|
|
226
|
+
var accepts = ['application/json'];
|
|
227
|
+
var returnType = [_GraphRelationshipTypeResponse["default"]];
|
|
228
|
+
return this.apiClient.callApi('/relationshiptype/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
336
229
|
}
|
|
337
230
|
|
|
338
231
|
/**
|
|
339
|
-
* Callback function to receive the result of the
|
|
340
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
232
|
+
* Callback function to receive the result of the getRelationshipTypeById operation.
|
|
233
|
+
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeByIdCallback
|
|
341
234
|
* @param {String} error Error message, if any.
|
|
342
|
-
* @param {
|
|
235
|
+
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
343
236
|
* @param {String} response The complete HTTP response.
|
|
344
237
|
*/
|
|
345
238
|
|
|
346
239
|
/**
|
|
347
|
-
* Get
|
|
348
|
-
* Returns
|
|
349
|
-
* @param {Number} id
|
|
350
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
240
|
+
* Get Graph Relationship Type
|
|
241
|
+
* Returns the graph relationship type with the given id
|
|
242
|
+
* @param {Number} id
|
|
351
243
|
* @param {Object} opts Optional parameters
|
|
352
244
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
353
245
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -355,38 +247,36 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
355
247
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
356
248
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
357
249
|
* @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)
|
|
250
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
358
251
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
359
252
|
* @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
|
|
360
253
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
361
254
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
362
|
-
* @param {module:api/GraphRelationshipTypesApi~
|
|
363
|
-
* data is of type: {@link
|
|
255
|
+
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
256
|
+
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
364
257
|
*/
|
|
365
258
|
}, {
|
|
366
|
-
key: "
|
|
367
|
-
value: function
|
|
259
|
+
key: "getRelationshipTypeById",
|
|
260
|
+
value: function getRelationshipTypeById(id, opts, callback) {
|
|
368
261
|
opts = opts || {};
|
|
369
262
|
var postBody = null;
|
|
370
263
|
// verify the required parameter 'id' is set
|
|
371
264
|
if (id === undefined || id === null) {
|
|
372
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
373
|
-
}
|
|
374
|
-
// verify the required parameter 'reltypeid' is set
|
|
375
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
376
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
265
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
377
266
|
}
|
|
378
267
|
var pathParams = {
|
|
379
|
-
'id': id
|
|
380
|
-
'reltypeid': reltypeid
|
|
268
|
+
'id': id
|
|
381
269
|
};
|
|
382
|
-
var queryParams = {
|
|
383
|
-
var headerParams = {
|
|
384
|
-
'Authorization': opts['authorization'],
|
|
270
|
+
var queryParams = {
|
|
385
271
|
'cacheduration': opts['cacheduration'],
|
|
386
|
-
'cachegroup': opts['cachegroup'],
|
|
387
|
-
'cachekey': opts['cachekey'],
|
|
272
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
273
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
388
274
|
'cachescope': opts['cachescope'],
|
|
389
|
-
'cacheuser': opts['cacheuser'],
|
|
275
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
276
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
277
|
+
};
|
|
278
|
+
var headerParams = {
|
|
279
|
+
'Authorization': opts['authorization'],
|
|
390
280
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
391
281
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
392
282
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -396,21 +286,22 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
396
286
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
397
287
|
var contentTypes = [];
|
|
398
288
|
var accepts = ['application/json'];
|
|
399
|
-
var returnType = [
|
|
400
|
-
return this.apiClient.callApi('/
|
|
289
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
290
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
401
291
|
}
|
|
402
292
|
|
|
403
293
|
/**
|
|
404
|
-
* Callback function to receive the result of the
|
|
405
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
294
|
+
* Callback function to receive the result of the getRelationshipTypeByKey operation.
|
|
295
|
+
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeByKeyCallback
|
|
406
296
|
* @param {String} error Error message, if any.
|
|
407
|
-
* @param {module:model/
|
|
297
|
+
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
408
298
|
* @param {String} response The complete HTTP response.
|
|
409
299
|
*/
|
|
410
300
|
|
|
411
301
|
/**
|
|
412
|
-
*
|
|
413
|
-
*
|
|
302
|
+
* Get Graph Relationship Type
|
|
303
|
+
* Returns the graph relationship type with the given key
|
|
304
|
+
* @param {String} key
|
|
414
305
|
* @param {Object} opts Optional parameters
|
|
415
306
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
416
307
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -418,33 +309,36 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
418
309
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
419
310
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
420
311
|
* @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)
|
|
312
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
421
313
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
422
314
|
* @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
|
|
423
315
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
424
316
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
425
|
-
* @param {module:api/GraphRelationshipTypesApi~
|
|
426
|
-
* data is of type: {@link module:model/
|
|
317
|
+
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
318
|
+
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
427
319
|
*/
|
|
428
320
|
}, {
|
|
429
|
-
key: "
|
|
430
|
-
value: function
|
|
321
|
+
key: "getRelationshipTypeByKey",
|
|
322
|
+
value: function getRelationshipTypeByKey(key, opts, callback) {
|
|
431
323
|
opts = opts || {};
|
|
432
324
|
var postBody = null;
|
|
433
|
-
// verify the required parameter '
|
|
434
|
-
if (
|
|
435
|
-
throw new Error("Missing the required parameter '
|
|
325
|
+
// verify the required parameter 'key' is set
|
|
326
|
+
if (key === undefined || key === null) {
|
|
327
|
+
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
436
328
|
}
|
|
437
329
|
var pathParams = {
|
|
438
|
-
'
|
|
330
|
+
'key': key
|
|
439
331
|
};
|
|
440
|
-
var queryParams = {
|
|
441
|
-
var headerParams = {
|
|
442
|
-
'Authorization': opts['authorization'],
|
|
332
|
+
var queryParams = {
|
|
443
333
|
'cacheduration': opts['cacheduration'],
|
|
444
|
-
'cachegroup': opts['cachegroup'],
|
|
445
|
-
'cachekey': opts['cachekey'],
|
|
334
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
335
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
446
336
|
'cachescope': opts['cachescope'],
|
|
447
|
-
'cacheuser': opts['cacheuser'],
|
|
337
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
338
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
339
|
+
};
|
|
340
|
+
var headerParams = {
|
|
341
|
+
'Authorization': opts['authorization'],
|
|
448
342
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
449
343
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
450
344
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -454,19 +348,20 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
454
348
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
455
349
|
var contentTypes = [];
|
|
456
350
|
var accepts = ['application/json'];
|
|
457
|
-
var returnType =
|
|
458
|
-
return this.apiClient.callApi('/
|
|
351
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
352
|
+
return this.apiClient.callApi('/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
459
353
|
}
|
|
460
354
|
|
|
461
355
|
/**
|
|
462
|
-
* Callback function to receive the result of the
|
|
463
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
356
|
+
* Callback function to receive the result of the getRelationshipTypeFields operation.
|
|
357
|
+
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeFieldsCallback
|
|
464
358
|
* @param {String} error Error message, if any.
|
|
465
|
-
* @param {module:model/
|
|
359
|
+
* @param {Array.<module:model/SkinFieldResponse>} data The data returned by the service call.
|
|
466
360
|
* @param {String} response The complete HTTP response.
|
|
467
361
|
*/
|
|
468
362
|
|
|
469
363
|
/**
|
|
364
|
+
* Get relationship type fields
|
|
470
365
|
* @param {Number} id
|
|
471
366
|
* @param {Object} opts Optional parameters
|
|
472
367
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -475,33 +370,36 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
475
370
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
476
371
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
477
372
|
* @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)
|
|
373
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
478
374
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
479
375
|
* @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
|
|
480
376
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
481
377
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
482
|
-
* @param {module:api/GraphRelationshipTypesApi~
|
|
483
|
-
* data is of type: {@link module:model/
|
|
378
|
+
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeFieldsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
379
|
+
* data is of type: {@link Array.<module:model/SkinFieldResponse>}
|
|
484
380
|
*/
|
|
485
381
|
}, {
|
|
486
|
-
key: "
|
|
487
|
-
value: function
|
|
382
|
+
key: "getRelationshipTypeFields",
|
|
383
|
+
value: function getRelationshipTypeFields(id, opts, callback) {
|
|
488
384
|
opts = opts || {};
|
|
489
385
|
var postBody = null;
|
|
490
386
|
// verify the required parameter 'id' is set
|
|
491
387
|
if (id === undefined || id === null) {
|
|
492
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
388
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeFields");
|
|
493
389
|
}
|
|
494
390
|
var pathParams = {
|
|
495
391
|
'id': id
|
|
496
392
|
};
|
|
497
|
-
var queryParams = {
|
|
498
|
-
var headerParams = {
|
|
499
|
-
'Authorization': opts['authorization'],
|
|
393
|
+
var queryParams = {
|
|
500
394
|
'cacheduration': opts['cacheduration'],
|
|
501
|
-
'cachegroup': opts['cachegroup'],
|
|
502
|
-
'cachekey': opts['cachekey'],
|
|
395
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
396
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
503
397
|
'cachescope': opts['cachescope'],
|
|
504
|
-
'cacheuser': opts['cacheuser'],
|
|
398
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
399
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
400
|
+
};
|
|
401
|
+
var headerParams = {
|
|
402
|
+
'Authorization': opts['authorization'],
|
|
505
403
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
506
404
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
507
405
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -511,21 +409,22 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
511
409
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
512
410
|
var contentTypes = [];
|
|
513
411
|
var accepts = ['application/json'];
|
|
514
|
-
var returnType =
|
|
515
|
-
return this.apiClient.callApi('/
|
|
412
|
+
var returnType = [_SkinFieldResponse["default"]];
|
|
413
|
+
return this.apiClient.callApi('/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
516
414
|
}
|
|
517
415
|
|
|
518
416
|
/**
|
|
519
|
-
* Callback function to receive the result of the
|
|
520
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
417
|
+
* Callback function to receive the result of the getRelationshipTypeMethods operation.
|
|
418
|
+
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeMethodsCallback
|
|
521
419
|
* @param {String} error Error message, if any.
|
|
522
|
-
* @param {module:model/
|
|
420
|
+
* @param {module:model/GetFunctionResponse} data The data returned by the service call.
|
|
523
421
|
* @param {String} response The complete HTTP response.
|
|
524
422
|
*/
|
|
525
423
|
|
|
526
424
|
/**
|
|
527
|
-
*
|
|
528
|
-
*
|
|
425
|
+
* Retrieves the methods associated with the Object Type
|
|
426
|
+
* Retrieves the methods associated with the Object Type
|
|
427
|
+
* @param {Number} reltypeid
|
|
529
428
|
* @param {Object} opts Optional parameters
|
|
530
429
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
531
430
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -533,33 +432,36 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
533
432
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
534
433
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
535
434
|
* @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)
|
|
435
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
536
436
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
537
437
|
* @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
|
|
538
438
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
539
439
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
540
|
-
* @param {module:api/GraphRelationshipTypesApi~
|
|
541
|
-
* data is of type: {@link module:model/
|
|
440
|
+
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
441
|
+
* data is of type: {@link module:model/GetFunctionResponse}
|
|
542
442
|
*/
|
|
543
443
|
}, {
|
|
544
|
-
key: "
|
|
545
|
-
value: function
|
|
444
|
+
key: "getRelationshipTypeMethods",
|
|
445
|
+
value: function getRelationshipTypeMethods(reltypeid, opts, callback) {
|
|
546
446
|
opts = opts || {};
|
|
547
447
|
var postBody = null;
|
|
548
|
-
// verify the required parameter '
|
|
549
|
-
if (
|
|
550
|
-
throw new Error("Missing the required parameter '
|
|
448
|
+
// verify the required parameter 'reltypeid' is set
|
|
449
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
450
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
|
|
551
451
|
}
|
|
552
452
|
var pathParams = {
|
|
553
|
-
'
|
|
453
|
+
'reltypeid': reltypeid
|
|
554
454
|
};
|
|
555
|
-
var queryParams = {
|
|
556
|
-
var headerParams = {
|
|
557
|
-
'Authorization': opts['authorization'],
|
|
455
|
+
var queryParams = {
|
|
558
456
|
'cacheduration': opts['cacheduration'],
|
|
559
|
-
'cachegroup': opts['cachegroup'],
|
|
560
|
-
'cachekey': opts['cachekey'],
|
|
457
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
458
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
561
459
|
'cachescope': opts['cachescope'],
|
|
562
|
-
'cacheuser': opts['cacheuser'],
|
|
460
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
461
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
462
|
+
};
|
|
463
|
+
var headerParams = {
|
|
464
|
+
'Authorization': opts['authorization'],
|
|
563
465
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
564
466
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
565
467
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -568,22 +470,24 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
568
470
|
var formParams = {};
|
|
569
471
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
570
472
|
var contentTypes = [];
|
|
571
|
-
var accepts = ['
|
|
572
|
-
var returnType =
|
|
573
|
-
return this.apiClient.callApi('/
|
|
473
|
+
var accepts = ['application/json'];
|
|
474
|
+
var returnType = _GetFunctionResponse["default"];
|
|
475
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
574
476
|
}
|
|
575
477
|
|
|
576
478
|
/**
|
|
577
|
-
* Callback function to receive the result of the
|
|
578
|
-
* @callback module:api/GraphRelationshipTypesApi~
|
|
479
|
+
* Callback function to receive the result of the updateRelationshipType operation.
|
|
480
|
+
* @callback module:api/GraphRelationshipTypesApi~updateRelationshipTypeCallback
|
|
579
481
|
* @param {String} error Error message, if any.
|
|
580
482
|
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
581
483
|
* @param {String} response The complete HTTP response.
|
|
582
484
|
*/
|
|
583
485
|
|
|
584
486
|
/**
|
|
585
|
-
*
|
|
586
|
-
*
|
|
487
|
+
* Update Graph Relationship Type
|
|
488
|
+
* Updates the graph relationship type with the given id
|
|
489
|
+
* @param {Number} id
|
|
490
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
587
491
|
* @param {Object} opts Optional parameters
|
|
588
492
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
589
493
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -591,91 +495,40 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
591
495
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
592
496
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
593
497
|
* @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)
|
|
498
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
594
499
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
595
500
|
* @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
|
|
596
501
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
597
502
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
598
|
-
* @param {module:api/GraphRelationshipTypesApi~
|
|
503
|
+
* @param {module:api/GraphRelationshipTypesApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
599
504
|
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
600
505
|
*/
|
|
601
506
|
}, {
|
|
602
|
-
key: "
|
|
603
|
-
value: function
|
|
507
|
+
key: "updateRelationshipType",
|
|
508
|
+
value: function updateRelationshipType(id, graphRelationshipTypeInput, opts, callback) {
|
|
604
509
|
opts = opts || {};
|
|
605
|
-
var postBody =
|
|
510
|
+
var postBody = graphRelationshipTypeInput;
|
|
606
511
|
// verify the required parameter 'id' is set
|
|
607
512
|
if (id === undefined || id === null) {
|
|
608
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
513
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
514
|
+
}
|
|
515
|
+
// verify the required parameter 'graphRelationshipTypeInput' is set
|
|
516
|
+
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
517
|
+
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling updateRelationshipType");
|
|
609
518
|
}
|
|
610
519
|
var pathParams = {
|
|
611
520
|
'id': id
|
|
612
521
|
};
|
|
613
|
-
var queryParams = {
|
|
614
|
-
var headerParams = {
|
|
615
|
-
'Authorization': opts['authorization'],
|
|
522
|
+
var queryParams = {
|
|
616
523
|
'cacheduration': opts['cacheduration'],
|
|
617
|
-
'cachegroup': opts['cachegroup'],
|
|
618
|
-
'cachekey': opts['cachekey'],
|
|
524
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
525
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
619
526
|
'cachescope': opts['cachescope'],
|
|
620
|
-
'cacheuser': opts['cacheuser'],
|
|
621
|
-
'
|
|
622
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
623
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
624
|
-
'transactionid': opts['transactionid']
|
|
625
|
-
};
|
|
626
|
-
var formParams = {};
|
|
627
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
628
|
-
var contentTypes = [];
|
|
629
|
-
var accepts = ['application/json'];
|
|
630
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
631
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Callback function to receive the result of the getRelationshipTypeByKey operation.
|
|
636
|
-
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeByKeyCallback
|
|
637
|
-
* @param {String} error Error message, if any.
|
|
638
|
-
* @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
|
|
639
|
-
* @param {String} response The complete HTTP response.
|
|
640
|
-
*/
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Gets the relationship type by key
|
|
644
|
-
* @param {String} key
|
|
645
|
-
* @param {Object} opts Optional parameters
|
|
646
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
647
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
648
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
649
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
650
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
651
|
-
* @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)
|
|
652
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
653
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
654
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
655
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
656
|
-
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
657
|
-
* data is of type: {@link module:model/GraphRelationshipTypeResponse}
|
|
658
|
-
*/
|
|
659
|
-
}, {
|
|
660
|
-
key: "getRelationshipTypeByKey",
|
|
661
|
-
value: function getRelationshipTypeByKey(key, opts, callback) {
|
|
662
|
-
opts = opts || {};
|
|
663
|
-
var postBody = null;
|
|
664
|
-
// verify the required parameter 'key' is set
|
|
665
|
-
if (key === undefined || key === null) {
|
|
666
|
-
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
667
|
-
}
|
|
668
|
-
var pathParams = {
|
|
669
|
-
'key': key
|
|
527
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
528
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
670
529
|
};
|
|
671
|
-
var queryParams = {};
|
|
672
530
|
var headerParams = {
|
|
673
531
|
'Authorization': opts['authorization'],
|
|
674
|
-
'cacheduration': opts['cacheduration'],
|
|
675
|
-
'cachegroup': opts['cachegroup'],
|
|
676
|
-
'cachekey': opts['cachekey'],
|
|
677
|
-
'cachescope': opts['cachescope'],
|
|
678
|
-
'cacheuser': opts['cacheuser'],
|
|
679
532
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
680
533
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
681
534
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -686,613 +539,7 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
686
539
|
var contentTypes = [];
|
|
687
540
|
var accepts = ['application/json'];
|
|
688
541
|
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
689
|
-
return this.apiClient.callApi('/
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* Callback function to receive the result of the getRelationshipTypeMethods operation.
|
|
694
|
-
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeMethodsCallback
|
|
695
|
-
* @param {String} error Error message, if any.
|
|
696
|
-
* @param {module:model/GetFunctionResponse} data The data returned by the service call.
|
|
697
|
-
* @param {String} response The complete HTTP response.
|
|
698
|
-
*/
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* Retrieves the methods associated with the Object Type
|
|
702
|
-
* Retrieves the methods associated with the Object Type
|
|
703
|
-
* @param {Number} reltypeid
|
|
704
|
-
* @param {Object} opts Optional parameters
|
|
705
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
706
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
707
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
708
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
709
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
710
|
-
* @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)
|
|
711
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
712
|
-
* @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
|
|
713
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
714
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
715
|
-
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
716
|
-
* data is of type: {@link module:model/GetFunctionResponse}
|
|
717
|
-
*/
|
|
718
|
-
}, {
|
|
719
|
-
key: "getRelationshipTypeMethods",
|
|
720
|
-
value: function getRelationshipTypeMethods(reltypeid, opts, callback) {
|
|
721
|
-
opts = opts || {};
|
|
722
|
-
var postBody = null;
|
|
723
|
-
// verify the required parameter 'reltypeid' is set
|
|
724
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
725
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
|
|
726
|
-
}
|
|
727
|
-
var pathParams = {
|
|
728
|
-
'reltypeid': reltypeid
|
|
729
|
-
};
|
|
730
|
-
var queryParams = {};
|
|
731
|
-
var headerParams = {
|
|
732
|
-
'Authorization': opts['authorization'],
|
|
733
|
-
'cacheduration': opts['cacheduration'],
|
|
734
|
-
'cachegroup': opts['cachegroup'],
|
|
735
|
-
'cachekey': opts['cachekey'],
|
|
736
|
-
'cachescope': opts['cachescope'],
|
|
737
|
-
'cacheuser': opts['cacheuser'],
|
|
738
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
739
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
740
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
741
|
-
'transactionid': opts['transactionid']
|
|
742
|
-
};
|
|
743
|
-
var formParams = {};
|
|
744
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
745
|
-
var contentTypes = [];
|
|
746
|
-
var accepts = ['application/json'];
|
|
747
|
-
var returnType = _GetFunctionResponse["default"];
|
|
748
|
-
return this.apiClient.callApi('/graph/data/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
753
|
-
* @callback module:api/GraphRelationshipTypesApi~getRelationshipsByTypeInCallback
|
|
754
|
-
* @param {String} error Error message, if any.
|
|
755
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
756
|
-
* @param {String} response The complete HTTP response.
|
|
757
|
-
*/
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* Get Incoming Relationships By Type
|
|
761
|
-
* Returns a listing of relationships
|
|
762
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
763
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
764
|
-
* @param {Object} opts Optional parameters
|
|
765
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
766
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
767
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
768
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
769
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
770
|
-
* @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)
|
|
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
|
|
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
|
|
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
|
|
774
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
775
|
-
* @param {module:api/GraphRelationshipTypesApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
776
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
777
|
-
*/
|
|
778
|
-
}, {
|
|
779
|
-
key: "getRelationshipsByTypeIn",
|
|
780
|
-
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
781
|
-
opts = opts || {};
|
|
782
|
-
var postBody = null;
|
|
783
|
-
// verify the required parameter 'id' is set
|
|
784
|
-
if (id === undefined || id === null) {
|
|
785
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
786
|
-
}
|
|
787
|
-
// verify the required parameter 'reltypeid' is set
|
|
788
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
789
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
790
|
-
}
|
|
791
|
-
var pathParams = {
|
|
792
|
-
'id': id,
|
|
793
|
-
'reltypeid': reltypeid
|
|
794
|
-
};
|
|
795
|
-
var queryParams = {};
|
|
796
|
-
var headerParams = {
|
|
797
|
-
'Authorization': opts['authorization'],
|
|
798
|
-
'cacheduration': opts['cacheduration'],
|
|
799
|
-
'cachegroup': opts['cachegroup'],
|
|
800
|
-
'cachekey': opts['cachekey'],
|
|
801
|
-
'cachescope': opts['cachescope'],
|
|
802
|
-
'cacheuser': opts['cacheuser'],
|
|
803
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
804
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
805
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
806
|
-
'transactionid': opts['transactionid']
|
|
807
|
-
};
|
|
808
|
-
var formParams = {};
|
|
809
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
810
|
-
var contentTypes = [];
|
|
811
|
-
var accepts = ['application/json'];
|
|
812
|
-
var returnType = [_GraphRelationship["default"]];
|
|
813
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
818
|
-
* @callback module:api/GraphRelationshipTypesApi~getRelationshipsByTypeOutCallback
|
|
819
|
-
* @param {String} error Error message, if any.
|
|
820
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
821
|
-
* @param {String} response The complete HTTP response.
|
|
822
|
-
*/
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* Get Outgoing Relationships By Type
|
|
826
|
-
* Returns a listing of relationships
|
|
827
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
828
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
829
|
-
* @param {Object} opts Optional parameters
|
|
830
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
831
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
832
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
833
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
834
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
835
|
-
* @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)
|
|
836
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
837
|
-
* @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
|
|
838
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
839
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
840
|
-
* @param {module:api/GraphRelationshipTypesApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
841
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
842
|
-
*/
|
|
843
|
-
}, {
|
|
844
|
-
key: "getRelationshipsByTypeOut",
|
|
845
|
-
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
846
|
-
opts = opts || {};
|
|
847
|
-
var postBody = null;
|
|
848
|
-
// verify the required parameter 'id' is set
|
|
849
|
-
if (id === undefined || id === null) {
|
|
850
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
851
|
-
}
|
|
852
|
-
// verify the required parameter 'reltypeid' is set
|
|
853
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
854
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
855
|
-
}
|
|
856
|
-
var pathParams = {
|
|
857
|
-
'id': id,
|
|
858
|
-
'reltypeid': reltypeid
|
|
859
|
-
};
|
|
860
|
-
var queryParams = {};
|
|
861
|
-
var headerParams = {
|
|
862
|
-
'Authorization': opts['authorization'],
|
|
863
|
-
'cacheduration': opts['cacheduration'],
|
|
864
|
-
'cachegroup': opts['cachegroup'],
|
|
865
|
-
'cachekey': opts['cachekey'],
|
|
866
|
-
'cachescope': opts['cachescope'],
|
|
867
|
-
'cacheuser': opts['cacheuser'],
|
|
868
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
869
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
870
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
871
|
-
'transactionid': opts['transactionid']
|
|
872
|
-
};
|
|
873
|
-
var formParams = {};
|
|
874
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
875
|
-
var contentTypes = [];
|
|
876
|
-
var accepts = ['application/json'];
|
|
877
|
-
var returnType = [_GraphRelationship["default"]];
|
|
878
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* Callback function to receive the result of the getSchemaRelationshipTypes operation.
|
|
883
|
-
* @callback module:api/GraphRelationshipTypesApi~getSchemaRelationshipTypesCallback
|
|
884
|
-
* @param {String} error Error message, if any.
|
|
885
|
-
* @param {Array.<module:model/GraphObjectTypeResponse>} data The data returned by the service call.
|
|
886
|
-
* @param {String} response The complete HTTP response.
|
|
887
|
-
*/
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Get Relationship Types
|
|
891
|
-
* Get the Object Types for a Schema
|
|
892
|
-
* @param {Number} id
|
|
893
|
-
* @param {Object} opts Optional parameters
|
|
894
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
895
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
896
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
897
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
898
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
899
|
-
* @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)
|
|
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
|
|
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
|
|
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
|
|
903
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
904
|
-
* @param {module:api/GraphRelationshipTypesApi~getSchemaRelationshipTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
905
|
-
* data is of type: {@link Array.<module:model/GraphObjectTypeResponse>}
|
|
906
|
-
*/
|
|
907
|
-
}, {
|
|
908
|
-
key: "getSchemaRelationshipTypes",
|
|
909
|
-
value: function getSchemaRelationshipTypes(id, opts, callback) {
|
|
910
|
-
opts = opts || {};
|
|
911
|
-
var postBody = null;
|
|
912
|
-
// verify the required parameter 'id' is set
|
|
913
|
-
if (id === undefined || id === null) {
|
|
914
|
-
throw new Error("Missing the required parameter 'id' when calling getSchemaRelationshipTypes");
|
|
915
|
-
}
|
|
916
|
-
var pathParams = {
|
|
917
|
-
'id': id
|
|
918
|
-
};
|
|
919
|
-
var queryParams = {};
|
|
920
|
-
var headerParams = {
|
|
921
|
-
'Authorization': opts['authorization'],
|
|
922
|
-
'cacheduration': opts['cacheduration'],
|
|
923
|
-
'cachegroup': opts['cachegroup'],
|
|
924
|
-
'cachekey': opts['cachekey'],
|
|
925
|
-
'cachescope': opts['cachescope'],
|
|
926
|
-
'cacheuser': opts['cacheuser'],
|
|
927
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
928
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
929
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
930
|
-
'transactionid': opts['transactionid']
|
|
931
|
-
};
|
|
932
|
-
var formParams = {};
|
|
933
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
934
|
-
var contentTypes = [];
|
|
935
|
-
var accepts = ['application/json'];
|
|
936
|
-
var returnType = [_GraphObjectTypeResponse["default"]];
|
|
937
|
-
return this.apiClient.callApi('/graph/data/schema/{id}/relationshiptypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Callback function to receive the result of the getStartObjectTypes operation.
|
|
942
|
-
* @callback module:api/GraphRelationshipTypesApi~getStartObjectTypesCallback
|
|
943
|
-
* @param {String} error Error message, if any.
|
|
944
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
945
|
-
* @param {String} response The complete HTTP response.
|
|
946
|
-
*/
|
|
947
|
-
|
|
948
|
-
/**
|
|
949
|
-
* Retrieves the start object types on the relationship type
|
|
950
|
-
* @param {Number} id
|
|
951
|
-
* @param {Object} opts Optional parameters
|
|
952
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
953
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
954
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
955
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
956
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
957
|
-
* @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)
|
|
958
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
959
|
-
* @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
|
|
960
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
961
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
962
|
-
* @param {module:api/GraphRelationshipTypesApi~getStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
963
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
964
|
-
*/
|
|
965
|
-
}, {
|
|
966
|
-
key: "getStartObjectTypes",
|
|
967
|
-
value: function getStartObjectTypes(id, opts, callback) {
|
|
968
|
-
opts = opts || {};
|
|
969
|
-
var postBody = null;
|
|
970
|
-
// verify the required parameter 'id' is set
|
|
971
|
-
if (id === undefined || id === null) {
|
|
972
|
-
throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
|
|
973
|
-
}
|
|
974
|
-
var pathParams = {
|
|
975
|
-
'id': id
|
|
976
|
-
};
|
|
977
|
-
var queryParams = {};
|
|
978
|
-
var headerParams = {
|
|
979
|
-
'Authorization': opts['authorization'],
|
|
980
|
-
'cacheduration': opts['cacheduration'],
|
|
981
|
-
'cachegroup': opts['cachegroup'],
|
|
982
|
-
'cachekey': opts['cachekey'],
|
|
983
|
-
'cachescope': opts['cachescope'],
|
|
984
|
-
'cacheuser': opts['cacheuser'],
|
|
985
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
986
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
987
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
988
|
-
'transactionid': opts['transactionid']
|
|
989
|
-
};
|
|
990
|
-
var formParams = {};
|
|
991
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
992
|
-
var contentTypes = [];
|
|
993
|
-
var accepts = ['application/json'];
|
|
994
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
995
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* Callback function to receive the result of the removeEndObjectTypes operation.
|
|
1000
|
-
* @callback module:api/GraphRelationshipTypesApi~removeEndObjectTypesCallback
|
|
1001
|
-
* @param {String} error Error message, if any.
|
|
1002
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1003
|
-
* @param {String} response The complete HTTP response.
|
|
1004
|
-
*/
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* @param {Number} id
|
|
1008
|
-
* @param {Object} opts Optional parameters
|
|
1009
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1010
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1011
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1012
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1013
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1014
|
-
* @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)
|
|
1015
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1016
|
-
* @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
|
|
1017
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1018
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1019
|
-
* @param {String} [body]
|
|
1020
|
-
* @param {module:api/GraphRelationshipTypesApi~removeEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1021
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1022
|
-
*/
|
|
1023
|
-
}, {
|
|
1024
|
-
key: "removeEndObjectTypes",
|
|
1025
|
-
value: function removeEndObjectTypes(id, opts, callback) {
|
|
1026
|
-
opts = opts || {};
|
|
1027
|
-
var postBody = opts['body'];
|
|
1028
|
-
// verify the required parameter 'id' is set
|
|
1029
|
-
if (id === undefined || id === null) {
|
|
1030
|
-
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
1031
|
-
}
|
|
1032
|
-
var pathParams = {
|
|
1033
|
-
'id': id
|
|
1034
|
-
};
|
|
1035
|
-
var queryParams = {};
|
|
1036
|
-
var headerParams = {
|
|
1037
|
-
'Authorization': opts['authorization'],
|
|
1038
|
-
'cacheduration': opts['cacheduration'],
|
|
1039
|
-
'cachegroup': opts['cachegroup'],
|
|
1040
|
-
'cachekey': opts['cachekey'],
|
|
1041
|
-
'cachescope': opts['cachescope'],
|
|
1042
|
-
'cacheuser': opts['cacheuser'],
|
|
1043
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1044
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1045
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1046
|
-
'transactionid': opts['transactionid']
|
|
1047
|
-
};
|
|
1048
|
-
var formParams = {};
|
|
1049
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1050
|
-
var contentTypes = ['application/json'];
|
|
1051
|
-
var accepts = ['application/json'];
|
|
1052
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1053
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* Callback function to receive the result of the removeStartObjectTypes operation.
|
|
1058
|
-
* @callback module:api/GraphRelationshipTypesApi~removeStartObjectTypesCallback
|
|
1059
|
-
* @param {String} error Error message, if any.
|
|
1060
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1061
|
-
* @param {String} response The complete HTTP response.
|
|
1062
|
-
*/
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* @param {Number} id
|
|
1066
|
-
* @param {Object} opts Optional parameters
|
|
1067
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1068
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1069
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1070
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1071
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1072
|
-
* @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)
|
|
1073
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1074
|
-
* @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
|
|
1075
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1076
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1077
|
-
* @param {String} [body]
|
|
1078
|
-
* @param {module:api/GraphRelationshipTypesApi~removeStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1079
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1080
|
-
*/
|
|
1081
|
-
}, {
|
|
1082
|
-
key: "removeStartObjectTypes",
|
|
1083
|
-
value: function removeStartObjectTypes(id, opts, callback) {
|
|
1084
|
-
opts = opts || {};
|
|
1085
|
-
var postBody = opts['body'];
|
|
1086
|
-
// verify the required parameter 'id' is set
|
|
1087
|
-
if (id === undefined || id === null) {
|
|
1088
|
-
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
1089
|
-
}
|
|
1090
|
-
var pathParams = {
|
|
1091
|
-
'id': id
|
|
1092
|
-
};
|
|
1093
|
-
var queryParams = {};
|
|
1094
|
-
var headerParams = {
|
|
1095
|
-
'Authorization': opts['authorization'],
|
|
1096
|
-
'cacheduration': opts['cacheduration'],
|
|
1097
|
-
'cachegroup': opts['cachegroup'],
|
|
1098
|
-
'cachekey': opts['cachekey'],
|
|
1099
|
-
'cachescope': opts['cachescope'],
|
|
1100
|
-
'cacheuser': opts['cacheuser'],
|
|
1101
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1102
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1103
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1104
|
-
'transactionid': opts['transactionid']
|
|
1105
|
-
};
|
|
1106
|
-
var formParams = {};
|
|
1107
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1108
|
-
var contentTypes = ['application/json'];
|
|
1109
|
-
var accepts = ['application/json'];
|
|
1110
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1111
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Callback function to receive the result of the updateRelationshipType operation.
|
|
1116
|
-
* @callback module:api/GraphRelationshipTypesApi~updateRelationshipTypeCallback
|
|
1117
|
-
* @param {String} error Error message, if any.
|
|
1118
|
-
* @param {module:model/GraphRelationshipType} data The data returned by the service call.
|
|
1119
|
-
* @param {String} response The complete HTTP response.
|
|
1120
|
-
*/
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* Update a relationshp type
|
|
1124
|
-
* Performs an update of the relationship type
|
|
1125
|
-
* @param {Number} id The id of the relationship type we are updating
|
|
1126
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1127
|
-
* @param {Object} opts Optional parameters
|
|
1128
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1129
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1130
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1131
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1132
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1133
|
-
* @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)
|
|
1134
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1135
|
-
* @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
|
|
1136
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1137
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1138
|
-
* @param {module:api/GraphRelationshipTypesApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1139
|
-
* data is of type: {@link module:model/GraphRelationshipType}
|
|
1140
|
-
*/
|
|
1141
|
-
}, {
|
|
1142
|
-
key: "updateRelationshipType",
|
|
1143
|
-
value: function updateRelationshipType(id, graphRelationshipType, opts, callback) {
|
|
1144
|
-
opts = opts || {};
|
|
1145
|
-
var postBody = graphRelationshipType;
|
|
1146
|
-
// verify the required parameter 'id' is set
|
|
1147
|
-
if (id === undefined || id === null) {
|
|
1148
|
-
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
1149
|
-
}
|
|
1150
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
1151
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
1152
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
|
|
1153
|
-
}
|
|
1154
|
-
var pathParams = {
|
|
1155
|
-
'id': id
|
|
1156
|
-
};
|
|
1157
|
-
var queryParams = {};
|
|
1158
|
-
var headerParams = {
|
|
1159
|
-
'Authorization': opts['authorization'],
|
|
1160
|
-
'cacheduration': opts['cacheduration'],
|
|
1161
|
-
'cachegroup': opts['cachegroup'],
|
|
1162
|
-
'cachekey': opts['cachekey'],
|
|
1163
|
-
'cachescope': opts['cachescope'],
|
|
1164
|
-
'cacheuser': opts['cacheuser'],
|
|
1165
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1166
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1167
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1168
|
-
'transactionid': opts['transactionid']
|
|
1169
|
-
};
|
|
1170
|
-
var formParams = {};
|
|
1171
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1172
|
-
var contentTypes = ['application/json'];
|
|
1173
|
-
var accepts = ['application/json'];
|
|
1174
|
-
var returnType = _GraphRelationshipType["default"];
|
|
1175
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* Callback function to receive the result of the updateSchemaRelationshipTypes operation.
|
|
1180
|
-
* @callback module:api/GraphRelationshipTypesApi~updateSchemaRelationshipTypesCallback
|
|
1181
|
-
* @param {String} error Error message, if any.
|
|
1182
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1183
|
-
* @param {String} response The complete HTTP response.
|
|
1184
|
-
*/
|
|
1185
|
-
|
|
1186
|
-
/**
|
|
1187
|
-
* @param {Number} id
|
|
1188
|
-
* @param {Array.<Number>} requestBody
|
|
1189
|
-
* @param {Object} opts Optional parameters
|
|
1190
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1191
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1192
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1193
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1194
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1195
|
-
* @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)
|
|
1196
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1197
|
-
* @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
|
|
1198
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1199
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1200
|
-
* @param {module:api/GraphRelationshipTypesApi~updateSchemaRelationshipTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1201
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1202
|
-
*/
|
|
1203
|
-
}, {
|
|
1204
|
-
key: "updateSchemaRelationshipTypes",
|
|
1205
|
-
value: function updateSchemaRelationshipTypes(id, requestBody, opts, callback) {
|
|
1206
|
-
opts = opts || {};
|
|
1207
|
-
var postBody = requestBody;
|
|
1208
|
-
// verify the required parameter 'id' is set
|
|
1209
|
-
if (id === undefined || id === null) {
|
|
1210
|
-
throw new Error("Missing the required parameter 'id' when calling updateSchemaRelationshipTypes");
|
|
1211
|
-
}
|
|
1212
|
-
// verify the required parameter 'requestBody' is set
|
|
1213
|
-
if (requestBody === undefined || requestBody === null) {
|
|
1214
|
-
throw new Error("Missing the required parameter 'requestBody' when calling updateSchemaRelationshipTypes");
|
|
1215
|
-
}
|
|
1216
|
-
var pathParams = {
|
|
1217
|
-
'id': id
|
|
1218
|
-
};
|
|
1219
|
-
var queryParams = {};
|
|
1220
|
-
var headerParams = {
|
|
1221
|
-
'Authorization': opts['authorization'],
|
|
1222
|
-
'cacheduration': opts['cacheduration'],
|
|
1223
|
-
'cachegroup': opts['cachegroup'],
|
|
1224
|
-
'cachekey': opts['cachekey'],
|
|
1225
|
-
'cachescope': opts['cachescope'],
|
|
1226
|
-
'cacheuser': opts['cacheuser'],
|
|
1227
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1228
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1229
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1230
|
-
'transactionid': opts['transactionid']
|
|
1231
|
-
};
|
|
1232
|
-
var formParams = {};
|
|
1233
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1234
|
-
var contentTypes = ['application/json'];
|
|
1235
|
-
var accepts = ['application/json'];
|
|
1236
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1237
|
-
return this.apiClient.callApi('/graph/data/schema/{id}/relationshiptypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* Callback function to receive the result of the updateTemplate2 operation.
|
|
1242
|
-
* @callback module:api/GraphRelationshipTypesApi~updateTemplate2Callback
|
|
1243
|
-
* @param {String} error Error message, if any.
|
|
1244
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1245
|
-
* @param {String} response The complete HTTP response.
|
|
1246
|
-
*/
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* @param {Number} id
|
|
1250
|
-
* @param {Object} opts Optional parameters
|
|
1251
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1252
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1253
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1254
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1255
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1256
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
1257
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1258
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1259
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1260
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1261
|
-
* @param {String} [body]
|
|
1262
|
-
* @param {module:api/GraphRelationshipTypesApi~updateTemplate2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1263
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1264
|
-
*/
|
|
1265
|
-
}, {
|
|
1266
|
-
key: "updateTemplate2",
|
|
1267
|
-
value: function updateTemplate2(id, opts, callback) {
|
|
1268
|
-
opts = opts || {};
|
|
1269
|
-
var postBody = opts['body'];
|
|
1270
|
-
// verify the required parameter 'id' is set
|
|
1271
|
-
if (id === undefined || id === null) {
|
|
1272
|
-
throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
|
|
1273
|
-
}
|
|
1274
|
-
var pathParams = {
|
|
1275
|
-
'id': id
|
|
1276
|
-
};
|
|
1277
|
-
var queryParams = {};
|
|
1278
|
-
var headerParams = {
|
|
1279
|
-
'Authorization': opts['authorization'],
|
|
1280
|
-
'cacheduration': opts['cacheduration'],
|
|
1281
|
-
'cachegroup': opts['cachegroup'],
|
|
1282
|
-
'cachekey': opts['cachekey'],
|
|
1283
|
-
'cachescope': opts['cachescope'],
|
|
1284
|
-
'cacheuser': opts['cacheuser'],
|
|
1285
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1286
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1287
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1288
|
-
'transactionid': opts['transactionid']
|
|
1289
|
-
};
|
|
1290
|
-
var formParams = {};
|
|
1291
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1292
|
-
var contentTypes = ['application/json'];
|
|
1293
|
-
var accepts = ['application/json'];
|
|
1294
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1295
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
542
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1296
543
|
}
|
|
1297
544
|
}]);
|
|
1298
545
|
}();
|