@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
package/dist/api/GraphsApi.js
CHANGED
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
8
|
+
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
9
|
+
var _GraphInput = _interopRequireDefault(require("../model/GraphInput"));
|
|
10
|
+
var _GraphObjectPayload = _interopRequireDefault(require("../model/GraphObjectPayload"));
|
|
11
|
+
var _GraphObjectResponse = _interopRequireDefault(require("../model/GraphObjectResponse"));
|
|
12
|
+
var _GraphResponse = _interopRequireDefault(require("../model/GraphResponse"));
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
15
15
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -20,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
20
20
|
* gobodo-api
|
|
21
21
|
* REST Interface for Gobodo API
|
|
22
22
|
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.
|
|
23
|
+
* The version of the OpenAPI document: 0.1.99
|
|
24
24
|
* Contact: info@gobodo.io
|
|
25
25
|
*
|
|
26
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Graphs service.
|
|
33
33
|
* @module api/GraphsApi
|
|
34
|
-
* @version 0.1.
|
|
34
|
+
* @version 0.1.99
|
|
35
35
|
*/
|
|
36
36
|
var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -47,17 +47,17 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* Callback function to receive the result of the
|
|
51
|
-
* @callback module:api/GraphsApi~
|
|
50
|
+
* Callback function to receive the result of the addGraphObject operation.
|
|
51
|
+
* @callback module:api/GraphsApi~addGraphObjectCallback
|
|
52
52
|
* @param {String} error Error message, if any.
|
|
53
|
-
* @param {module:model/
|
|
53
|
+
* @param {module:model/GraphObjectResponse} data The data returned by the service call.
|
|
54
54
|
* @param {String} response The complete HTTP response.
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Add a new object to the graph
|
|
59
59
|
* @param {Number} id
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject payload
|
|
61
61
|
* @param {Object} opts Optional parameters
|
|
62
62
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
63
63
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -65,37 +65,40 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
65
65
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
66
66
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
67
67
|
* @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)
|
|
68
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
68
69
|
* @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
70
|
* @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
71
|
* @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
72
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
72
|
-
* @param {module:api/GraphsApi~
|
|
73
|
-
* data is of type: {@link module:model/
|
|
73
|
+
* @param {module:api/GraphsApi~addGraphObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
74
|
+
* data is of type: {@link module:model/GraphObjectResponse}
|
|
74
75
|
*/
|
|
75
76
|
return _createClass(GraphsApi, [{
|
|
76
|
-
key: "
|
|
77
|
-
value: function
|
|
77
|
+
key: "addGraphObject",
|
|
78
|
+
value: function addGraphObject(id, graphObjectPayload, opts, callback) {
|
|
78
79
|
opts = opts || {};
|
|
79
|
-
var postBody =
|
|
80
|
+
var postBody = graphObjectPayload;
|
|
80
81
|
// verify the required parameter 'id' is set
|
|
81
82
|
if (id === undefined || id === null) {
|
|
82
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
83
|
+
throw new Error("Missing the required parameter 'id' when calling addGraphObject");
|
|
83
84
|
}
|
|
84
|
-
// verify the required parameter '
|
|
85
|
-
if (
|
|
86
|
-
throw new Error("Missing the required parameter '
|
|
85
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
86
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
87
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling addGraphObject");
|
|
87
88
|
}
|
|
88
89
|
var pathParams = {
|
|
89
90
|
'id': id
|
|
90
91
|
};
|
|
91
|
-
var queryParams = {
|
|
92
|
-
var headerParams = {
|
|
93
|
-
'Authorization': opts['authorization'],
|
|
92
|
+
var queryParams = {
|
|
94
93
|
'cacheduration': opts['cacheduration'],
|
|
95
|
-
'cachegroup': opts['cachegroup'],
|
|
96
|
-
'cachekey': opts['cachekey'],
|
|
94
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
95
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
97
96
|
'cachescope': opts['cachescope'],
|
|
98
|
-
'cacheuser': opts['cacheuser'],
|
|
97
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
98
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
99
|
+
};
|
|
100
|
+
var headerParams = {
|
|
101
|
+
'Authorization': opts['authorization'],
|
|
99
102
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
100
103
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
101
104
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -103,23 +106,24 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
103
106
|
};
|
|
104
107
|
var formParams = {};
|
|
105
108
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
106
|
-
var contentTypes = [
|
|
109
|
+
var contentTypes = [];
|
|
107
110
|
var accepts = ['application/json'];
|
|
108
|
-
var returnType =
|
|
109
|
-
return this.apiClient.callApi('/graph/
|
|
111
|
+
var returnType = _GraphObjectResponse["default"];
|
|
112
|
+
return this.apiClient.callApi('/graph/{id}/objects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
/**
|
|
113
|
-
* Callback function to receive the result of the
|
|
114
|
-
* @callback module:api/GraphsApi~
|
|
116
|
+
* Callback function to receive the result of the addGraphObjectIds operation.
|
|
117
|
+
* @callback module:api/GraphsApi~addGraphObjectIdsCallback
|
|
115
118
|
* @param {String} error Error message, if any.
|
|
116
|
-
* @param {module:model/
|
|
119
|
+
* @param {Array.<module:model/GraphObjectResponse>} data The data returned by the service call.
|
|
117
120
|
* @param {String} response The complete HTTP response.
|
|
118
121
|
*/
|
|
119
122
|
|
|
120
123
|
/**
|
|
121
|
-
*
|
|
124
|
+
* Add existing objects to the graph by id
|
|
122
125
|
* @param {Number} id
|
|
126
|
+
* @param {Array.<Number>} requestBody Array of graph object ids
|
|
123
127
|
* @param {Object} opts Optional parameters
|
|
124
128
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
125
129
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -127,34 +131,40 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
127
131
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
128
132
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
129
133
|
* @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)
|
|
134
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
130
135
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
131
136
|
* @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
|
|
132
137
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
133
138
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
134
|
-
* @param {
|
|
135
|
-
* @
|
|
136
|
-
* data is of type: {@link module:model/GraphObjectSchema}
|
|
139
|
+
* @param {module:api/GraphsApi~addGraphObjectIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
140
|
+
* data is of type: {@link Array.<module:model/GraphObjectResponse>}
|
|
137
141
|
*/
|
|
138
142
|
}, {
|
|
139
|
-
key: "
|
|
140
|
-
value: function
|
|
143
|
+
key: "addGraphObjectIds",
|
|
144
|
+
value: function addGraphObjectIds(id, requestBody, opts, callback) {
|
|
141
145
|
opts = opts || {};
|
|
142
|
-
var postBody =
|
|
146
|
+
var postBody = requestBody;
|
|
143
147
|
// verify the required parameter 'id' is set
|
|
144
148
|
if (id === undefined || id === null) {
|
|
145
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
149
|
+
throw new Error("Missing the required parameter 'id' when calling addGraphObjectIds");
|
|
150
|
+
}
|
|
151
|
+
// verify the required parameter 'requestBody' is set
|
|
152
|
+
if (requestBody === undefined || requestBody === null) {
|
|
153
|
+
throw new Error("Missing the required parameter 'requestBody' when calling addGraphObjectIds");
|
|
146
154
|
}
|
|
147
155
|
var pathParams = {
|
|
148
156
|
'id': id
|
|
149
157
|
};
|
|
150
|
-
var queryParams = {
|
|
151
|
-
var headerParams = {
|
|
152
|
-
'Authorization': opts['authorization'],
|
|
158
|
+
var queryParams = {
|
|
153
159
|
'cacheduration': opts['cacheduration'],
|
|
154
|
-
'cachegroup': opts['cachegroup'],
|
|
155
|
-
'cachekey': opts['cachekey'],
|
|
160
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
161
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
156
162
|
'cachescope': opts['cachescope'],
|
|
157
|
-
'cacheuser': opts['cacheuser'],
|
|
163
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
164
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
165
|
+
};
|
|
166
|
+
var headerParams = {
|
|
167
|
+
'Authorization': opts['authorization'],
|
|
158
168
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
159
169
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
160
170
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -162,23 +172,24 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
162
172
|
};
|
|
163
173
|
var formParams = {};
|
|
164
174
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
165
|
-
var contentTypes = [
|
|
175
|
+
var contentTypes = [];
|
|
166
176
|
var accepts = ['application/json'];
|
|
167
|
-
var returnType =
|
|
168
|
-
return this.apiClient.callApi('/graph/
|
|
177
|
+
var returnType = [_GraphObjectResponse["default"]];
|
|
178
|
+
return this.apiClient.callApi('/graph/{id}/objects/ids', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
169
179
|
}
|
|
170
180
|
|
|
171
181
|
/**
|
|
172
|
-
* Callback function to receive the result of the
|
|
173
|
-
* @callback module:api/GraphsApi~
|
|
182
|
+
* Callback function to receive the result of the addGraphObjects operation.
|
|
183
|
+
* @callback module:api/GraphsApi~addGraphObjectsCallback
|
|
174
184
|
* @param {String} error Error message, if any.
|
|
175
|
-
* @param {module:model/
|
|
185
|
+
* @param {Array.<module:model/GraphObjectResponse>} data The data returned by the service call.
|
|
176
186
|
* @param {String} response The complete HTTP response.
|
|
177
187
|
*/
|
|
178
188
|
|
|
179
189
|
/**
|
|
180
|
-
*
|
|
190
|
+
* Add new objects to the graph
|
|
181
191
|
* @param {Number} id
|
|
192
|
+
* @param {Array.<module:model/GraphObjectPayload>} graphObjectPayload Array of GraphObject payloads
|
|
182
193
|
* @param {Object} opts Optional parameters
|
|
183
194
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
184
195
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -186,33 +197,40 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
186
197
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
187
198
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
188
199
|
* @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)
|
|
200
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
189
201
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
190
202
|
* @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
|
|
191
203
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
192
204
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
193
|
-
* @param {module:api/GraphsApi~
|
|
194
|
-
* data is of type: {@link module:model/
|
|
205
|
+
* @param {module:api/GraphsApi~addGraphObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
206
|
+
* data is of type: {@link Array.<module:model/GraphObjectResponse>}
|
|
195
207
|
*/
|
|
196
208
|
}, {
|
|
197
|
-
key: "
|
|
198
|
-
value: function
|
|
209
|
+
key: "addGraphObjects",
|
|
210
|
+
value: function addGraphObjects(id, graphObjectPayload, opts, callback) {
|
|
199
211
|
opts = opts || {};
|
|
200
|
-
var postBody =
|
|
212
|
+
var postBody = graphObjectPayload;
|
|
201
213
|
// verify the required parameter 'id' is set
|
|
202
214
|
if (id === undefined || id === null) {
|
|
203
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
215
|
+
throw new Error("Missing the required parameter 'id' when calling addGraphObjects");
|
|
216
|
+
}
|
|
217
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
218
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
219
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling addGraphObjects");
|
|
204
220
|
}
|
|
205
221
|
var pathParams = {
|
|
206
222
|
'id': id
|
|
207
223
|
};
|
|
208
|
-
var queryParams = {
|
|
209
|
-
var headerParams = {
|
|
210
|
-
'Authorization': opts['authorization'],
|
|
224
|
+
var queryParams = {
|
|
211
225
|
'cacheduration': opts['cacheduration'],
|
|
212
|
-
'cachegroup': opts['cachegroup'],
|
|
213
|
-
'cachekey': opts['cachekey'],
|
|
226
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
227
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
214
228
|
'cachescope': opts['cachescope'],
|
|
215
|
-
'cacheuser': opts['cacheuser'],
|
|
229
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
230
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
231
|
+
};
|
|
232
|
+
var headerParams = {
|
|
233
|
+
'Authorization': opts['authorization'],
|
|
216
234
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
217
235
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
218
236
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -222,20 +240,22 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
222
240
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
223
241
|
var contentTypes = [];
|
|
224
242
|
var accepts = ['application/json'];
|
|
225
|
-
var returnType =
|
|
226
|
-
return this.apiClient.callApi('/graph/
|
|
243
|
+
var returnType = [_GraphObjectResponse["default"]];
|
|
244
|
+
return this.apiClient.callApi('/graph/{id}/objects/batch', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
227
245
|
}
|
|
228
246
|
|
|
229
247
|
/**
|
|
230
|
-
* Callback function to receive the result of the
|
|
231
|
-
* @callback module:api/GraphsApi~
|
|
248
|
+
* Callback function to receive the result of the createGraph operation.
|
|
249
|
+
* @callback module:api/GraphsApi~createGraphCallback
|
|
232
250
|
* @param {String} error Error message, if any.
|
|
233
|
-
* @param {module:model/
|
|
251
|
+
* @param {module:model/GraphResponse} data The data returned by the service call.
|
|
234
252
|
* @param {String} response The complete HTTP response.
|
|
235
253
|
*/
|
|
236
254
|
|
|
237
255
|
/**
|
|
238
|
-
*
|
|
256
|
+
* Create Graph
|
|
257
|
+
* Create a new graph
|
|
258
|
+
* @param {module:model/GraphInput} graphInput Graph data to create
|
|
239
259
|
* @param {Object} opts Optional parameters
|
|
240
260
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
241
261
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -243,30 +263,34 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
243
263
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
244
264
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
245
265
|
* @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)
|
|
266
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
246
267
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
247
268
|
* @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
|
|
248
269
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
249
270
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
250
|
-
* @param {
|
|
251
|
-
* @
|
|
252
|
-
* data is of type: {@link module:model/Graph}
|
|
271
|
+
* @param {module:api/GraphsApi~createGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
272
|
+
* data is of type: {@link module:model/GraphResponse}
|
|
253
273
|
*/
|
|
254
274
|
}, {
|
|
255
|
-
key: "
|
|
256
|
-
value: function
|
|
275
|
+
key: "createGraph",
|
|
276
|
+
value: function createGraph(graphInput, opts, callback) {
|
|
257
277
|
opts = opts || {};
|
|
258
|
-
var postBody =
|
|
278
|
+
var postBody = graphInput;
|
|
279
|
+
// verify the required parameter 'graphInput' is set
|
|
280
|
+
if (graphInput === undefined || graphInput === null) {
|
|
281
|
+
throw new Error("Missing the required parameter 'graphInput' when calling createGraph");
|
|
282
|
+
}
|
|
259
283
|
var pathParams = {};
|
|
260
284
|
var queryParams = {
|
|
261
|
-
'
|
|
285
|
+
'cacheduration': opts['cacheduration'],
|
|
286
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
287
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
288
|
+
'cachescope': opts['cachescope'],
|
|
289
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
290
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
262
291
|
};
|
|
263
292
|
var headerParams = {
|
|
264
293
|
'Authorization': opts['authorization'],
|
|
265
|
-
'cacheduration': opts['cacheduration'],
|
|
266
|
-
'cachegroup': opts['cachegroup'],
|
|
267
|
-
'cachekey': opts['cachekey'],
|
|
268
|
-
'cachescope': opts['cachescope'],
|
|
269
|
-
'cacheuser': opts['cacheuser'],
|
|
270
294
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
271
295
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
272
296
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -276,20 +300,21 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
276
300
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
277
301
|
var contentTypes = [];
|
|
278
302
|
var accepts = ['application/json'];
|
|
279
|
-
var returnType =
|
|
280
|
-
return this.apiClient.callApi('/graph
|
|
303
|
+
var returnType = _GraphResponse["default"];
|
|
304
|
+
return this.apiClient.callApi('/graph', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
281
305
|
}
|
|
282
306
|
|
|
283
307
|
/**
|
|
284
|
-
* Callback function to receive the result of the
|
|
285
|
-
* @callback module:api/GraphsApi~
|
|
308
|
+
* Callback function to receive the result of the deleteGraph operation.
|
|
309
|
+
* @callback module:api/GraphsApi~deleteGraphCallback
|
|
286
310
|
* @param {String} error Error message, if any.
|
|
287
|
-
* @param
|
|
311
|
+
* @param data This operation does not return a value.
|
|
288
312
|
* @param {String} response The complete HTTP response.
|
|
289
313
|
*/
|
|
290
314
|
|
|
291
315
|
/**
|
|
292
|
-
*
|
|
316
|
+
* Delete Graph
|
|
317
|
+
* Delete a graph
|
|
293
318
|
* @param {Number} id
|
|
294
319
|
* @param {Object} opts Optional parameters
|
|
295
320
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -298,33 +323,35 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
298
323
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
299
324
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
300
325
|
* @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)
|
|
326
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
301
327
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
302
328
|
* @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
|
|
303
329
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
304
330
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
305
|
-
* @param {module:api/GraphsApi~
|
|
306
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
331
|
+
* @param {module:api/GraphsApi~deleteGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
307
332
|
*/
|
|
308
333
|
}, {
|
|
309
|
-
key: "
|
|
310
|
-
value: function
|
|
334
|
+
key: "deleteGraph",
|
|
335
|
+
value: function deleteGraph(id, opts, callback) {
|
|
311
336
|
opts = opts || {};
|
|
312
337
|
var postBody = null;
|
|
313
338
|
// verify the required parameter 'id' is set
|
|
314
339
|
if (id === undefined || id === null) {
|
|
315
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
340
|
+
throw new Error("Missing the required parameter 'id' when calling deleteGraph");
|
|
316
341
|
}
|
|
317
342
|
var pathParams = {
|
|
318
343
|
'id': id
|
|
319
344
|
};
|
|
320
|
-
var queryParams = {
|
|
321
|
-
var headerParams = {
|
|
322
|
-
'Authorization': opts['authorization'],
|
|
345
|
+
var queryParams = {
|
|
323
346
|
'cacheduration': opts['cacheduration'],
|
|
324
|
-
'cachegroup': opts['cachegroup'],
|
|
325
|
-
'cachekey': opts['cachekey'],
|
|
347
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
348
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
326
349
|
'cachescope': opts['cachescope'],
|
|
327
|
-
'cacheuser': opts['cacheuser'],
|
|
350
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
351
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
352
|
+
};
|
|
353
|
+
var headerParams = {
|
|
354
|
+
'Authorization': opts['authorization'],
|
|
328
355
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
329
356
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
330
357
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -334,22 +361,21 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
334
361
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
335
362
|
var contentTypes = [];
|
|
336
363
|
var accepts = ['application/json'];
|
|
337
|
-
var returnType =
|
|
338
|
-
return this.apiClient.callApi('/graph/
|
|
364
|
+
var returnType = null;
|
|
365
|
+
return this.apiClient.callApi('/graph/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
339
366
|
}
|
|
340
367
|
|
|
341
368
|
/**
|
|
342
|
-
* Callback function to receive the result of the
|
|
343
|
-
* @callback module:api/GraphsApi~
|
|
369
|
+
* Callback function to receive the result of the getGraphById operation.
|
|
370
|
+
* @callback module:api/GraphsApi~getGraphByIdCallback
|
|
344
371
|
* @param {String} error Error message, if any.
|
|
345
|
-
* @param {
|
|
372
|
+
* @param {module:model/GraphResponse} data The data returned by the service call.
|
|
346
373
|
* @param {String} response The complete HTTP response.
|
|
347
374
|
*/
|
|
348
375
|
|
|
349
376
|
/**
|
|
350
|
-
* Get
|
|
377
|
+
* Get graph by id
|
|
351
378
|
* @param {Number} id
|
|
352
|
-
* @param {String} tag
|
|
353
379
|
* @param {Object} opts Optional parameters
|
|
354
380
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
355
381
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -357,38 +383,36 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
357
383
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
358
384
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
359
385
|
* @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)
|
|
386
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
360
387
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
361
388
|
* @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
|
|
362
389
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
363
390
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
364
|
-
* @param {module:api/GraphsApi~
|
|
365
|
-
* data is of type: {@link
|
|
391
|
+
* @param {module:api/GraphsApi~getGraphByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
392
|
+
* data is of type: {@link module:model/GraphResponse}
|
|
366
393
|
*/
|
|
367
394
|
}, {
|
|
368
|
-
key: "
|
|
369
|
-
value: function
|
|
395
|
+
key: "getGraphById",
|
|
396
|
+
value: function getGraphById(id, opts, callback) {
|
|
370
397
|
opts = opts || {};
|
|
371
398
|
var postBody = null;
|
|
372
399
|
// verify the required parameter 'id' is set
|
|
373
400
|
if (id === undefined || id === null) {
|
|
374
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
375
|
-
}
|
|
376
|
-
// verify the required parameter 'tag' is set
|
|
377
|
-
if (tag === undefined || tag === null) {
|
|
378
|
-
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
401
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphById");
|
|
379
402
|
}
|
|
380
403
|
var pathParams = {
|
|
381
|
-
'id': id
|
|
382
|
-
'tag': tag
|
|
404
|
+
'id': id
|
|
383
405
|
};
|
|
384
|
-
var queryParams = {
|
|
385
|
-
var headerParams = {
|
|
386
|
-
'Authorization': opts['authorization'],
|
|
406
|
+
var queryParams = {
|
|
387
407
|
'cacheduration': opts['cacheduration'],
|
|
388
|
-
'cachegroup': opts['cachegroup'],
|
|
389
|
-
'cachekey': opts['cachekey'],
|
|
408
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
409
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
390
410
|
'cachescope': opts['cachescope'],
|
|
391
|
-
'cacheuser': opts['cacheuser'],
|
|
411
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
412
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
413
|
+
};
|
|
414
|
+
var headerParams = {
|
|
415
|
+
'Authorization': opts['authorization'],
|
|
392
416
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
393
417
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
394
418
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -398,22 +422,22 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
398
422
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
399
423
|
var contentTypes = [];
|
|
400
424
|
var accepts = ['application/json'];
|
|
401
|
-
var returnType = [
|
|
402
|
-
return this.apiClient.callApi('/graph/
|
|
425
|
+
var returnType = _GraphResponse["default"];
|
|
426
|
+
return this.apiClient.callApi('/graph/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
403
427
|
}
|
|
404
428
|
|
|
405
429
|
/**
|
|
406
|
-
* Callback function to receive the result of the
|
|
407
|
-
* @callback module:api/GraphsApi~
|
|
430
|
+
* Callback function to receive the result of the getGraphByKey operation.
|
|
431
|
+
* @callback module:api/GraphsApi~getGraphByKeyCallback
|
|
408
432
|
* @param {String} error Error message, if any.
|
|
409
|
-
* @param {
|
|
433
|
+
* @param {module:model/GraphResponse} data The data returned by the service call.
|
|
410
434
|
* @param {String} response The complete HTTP response.
|
|
411
435
|
*/
|
|
412
436
|
|
|
413
437
|
/**
|
|
414
|
-
* Get
|
|
415
|
-
*
|
|
416
|
-
* @param {String}
|
|
438
|
+
* Get Graph By Key
|
|
439
|
+
* Get A Graph By it's key identifier
|
|
440
|
+
* @param {String} key
|
|
417
441
|
* @param {Object} opts Optional parameters
|
|
418
442
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
419
443
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -421,43 +445,36 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
421
445
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
422
446
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
423
447
|
* @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)
|
|
448
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
424
449
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
425
450
|
* @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
|
|
426
451
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
427
452
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
428
|
-
* @param {
|
|
429
|
-
* @
|
|
430
|
-
* @param {module:api/GraphsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
431
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
453
|
+
* @param {module:api/GraphsApi~getGraphByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
454
|
+
* data is of type: {@link module:model/GraphResponse}
|
|
432
455
|
*/
|
|
433
456
|
}, {
|
|
434
|
-
key: "
|
|
435
|
-
value: function
|
|
457
|
+
key: "getGraphByKey",
|
|
458
|
+
value: function getGraphByKey(key, opts, callback) {
|
|
436
459
|
opts = opts || {};
|
|
437
460
|
var postBody = null;
|
|
438
|
-
// verify the required parameter '
|
|
439
|
-
if (
|
|
440
|
-
throw new Error("Missing the required parameter '
|
|
441
|
-
}
|
|
442
|
-
// verify the required parameter 'type' is set
|
|
443
|
-
if (type === undefined || type === null) {
|
|
444
|
-
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
461
|
+
// verify the required parameter 'key' is set
|
|
462
|
+
if (key === undefined || key === null) {
|
|
463
|
+
throw new Error("Missing the required parameter 'key' when calling getGraphByKey");
|
|
445
464
|
}
|
|
446
465
|
var pathParams = {
|
|
447
|
-
'
|
|
448
|
-
'type': type
|
|
466
|
+
'key': key
|
|
449
467
|
};
|
|
450
468
|
var queryParams = {
|
|
451
|
-
'
|
|
452
|
-
'
|
|
469
|
+
'cacheduration': opts['cacheduration'],
|
|
470
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
471
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
472
|
+
'cachescope': opts['cachescope'],
|
|
473
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
474
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
453
475
|
};
|
|
454
476
|
var headerParams = {
|
|
455
477
|
'Authorization': opts['authorization'],
|
|
456
|
-
'cacheduration': opts['cacheduration'],
|
|
457
|
-
'cachegroup': opts['cachegroup'],
|
|
458
|
-
'cachekey': opts['cachekey'],
|
|
459
|
-
'cachescope': opts['cachescope'],
|
|
460
|
-
'cacheuser': opts['cacheuser'],
|
|
461
478
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
462
479
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
463
480
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -467,20 +484,20 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
467
484
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
468
485
|
var contentTypes = [];
|
|
469
486
|
var accepts = ['application/json'];
|
|
470
|
-
var returnType = [
|
|
471
|
-
return this.apiClient.callApi('/graph/
|
|
487
|
+
var returnType = _GraphResponse["default"];
|
|
488
|
+
return this.apiClient.callApi('/graph/key/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
472
489
|
}
|
|
473
490
|
|
|
474
491
|
/**
|
|
475
|
-
* Callback function to receive the result of the
|
|
476
|
-
* @callback module:api/GraphsApi~
|
|
492
|
+
* Callback function to receive the result of the getGraphObjects operation.
|
|
493
|
+
* @callback module:api/GraphsApi~getGraphObjectsCallback
|
|
477
494
|
* @param {String} error Error message, if any.
|
|
478
|
-
* @param {
|
|
495
|
+
* @param {Array.<Object>} data The data returned by the service call.
|
|
479
496
|
* @param {String} response The complete HTTP response.
|
|
480
497
|
*/
|
|
481
498
|
|
|
482
499
|
/**
|
|
483
|
-
* Get
|
|
500
|
+
* Get objects in the graph
|
|
484
501
|
* @param {Number} id
|
|
485
502
|
* @param {Object} opts Optional parameters
|
|
486
503
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -489,33 +506,36 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
489
506
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
490
507
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
491
508
|
* @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)
|
|
509
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
492
510
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
493
511
|
* @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
|
|
494
512
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
495
513
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
496
|
-
* @param {module:api/GraphsApi~
|
|
497
|
-
* data is of type: {@link
|
|
514
|
+
* @param {module:api/GraphsApi~getGraphObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
515
|
+
* data is of type: {@link Array.<Object>}
|
|
498
516
|
*/
|
|
499
517
|
}, {
|
|
500
|
-
key: "
|
|
501
|
-
value: function
|
|
518
|
+
key: "getGraphObjects",
|
|
519
|
+
value: function getGraphObjects(id, opts, callback) {
|
|
502
520
|
opts = opts || {};
|
|
503
521
|
var postBody = null;
|
|
504
522
|
// verify the required parameter 'id' is set
|
|
505
523
|
if (id === undefined || id === null) {
|
|
506
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
524
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphObjects");
|
|
507
525
|
}
|
|
508
526
|
var pathParams = {
|
|
509
527
|
'id': id
|
|
510
528
|
};
|
|
511
|
-
var queryParams = {
|
|
512
|
-
var headerParams = {
|
|
513
|
-
'Authorization': opts['authorization'],
|
|
529
|
+
var queryParams = {
|
|
514
530
|
'cacheduration': opts['cacheduration'],
|
|
515
|
-
'cachegroup': opts['cachegroup'],
|
|
516
|
-
'cachekey': opts['cachekey'],
|
|
531
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
532
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
517
533
|
'cachescope': opts['cachescope'],
|
|
518
|
-
'cacheuser': opts['cacheuser'],
|
|
534
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
535
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
536
|
+
};
|
|
537
|
+
var headerParams = {
|
|
538
|
+
'Authorization': opts['authorization'],
|
|
519
539
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
520
540
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
521
541
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -525,22 +545,22 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
525
545
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
526
546
|
var contentTypes = [];
|
|
527
547
|
var accepts = ['application/json'];
|
|
528
|
-
var returnType =
|
|
529
|
-
return this.apiClient.callApi('/graph/
|
|
548
|
+
var returnType = [Object];
|
|
549
|
+
return this.apiClient.callApi('/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
530
550
|
}
|
|
531
551
|
|
|
532
552
|
/**
|
|
533
|
-
* Callback function to receive the result of the
|
|
534
|
-
* @callback module:api/GraphsApi~
|
|
553
|
+
* Callback function to receive the result of the getGraphObjectsByTag operation.
|
|
554
|
+
* @callback module:api/GraphsApi~getGraphObjectsByTagCallback
|
|
535
555
|
* @param {String} error Error message, if any.
|
|
536
|
-
* @param {
|
|
556
|
+
* @param {Array.<Object>} data The data returned by the service call.
|
|
537
557
|
* @param {String} response The complete HTTP response.
|
|
538
558
|
*/
|
|
539
559
|
|
|
540
560
|
/**
|
|
541
|
-
* Get
|
|
561
|
+
* Get graph objects by tag
|
|
542
562
|
* @param {Number} id
|
|
543
|
-
* @param {String}
|
|
563
|
+
* @param {String} tag
|
|
544
564
|
* @param {Object} opts Optional parameters
|
|
545
565
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
546
566
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -548,38 +568,41 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
548
568
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
549
569
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
550
570
|
* @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)
|
|
571
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
551
572
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
552
573
|
* @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
|
|
553
574
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
554
575
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
555
|
-
* @param {module:api/GraphsApi~
|
|
556
|
-
* data is of type: {@link
|
|
576
|
+
* @param {module:api/GraphsApi~getGraphObjectsByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
577
|
+
* data is of type: {@link Array.<Object>}
|
|
557
578
|
*/
|
|
558
579
|
}, {
|
|
559
|
-
key: "
|
|
560
|
-
value: function
|
|
580
|
+
key: "getGraphObjectsByTag",
|
|
581
|
+
value: function getGraphObjectsByTag(id, tag, opts, callback) {
|
|
561
582
|
opts = opts || {};
|
|
562
583
|
var postBody = null;
|
|
563
584
|
// verify the required parameter 'id' is set
|
|
564
585
|
if (id === undefined || id === null) {
|
|
565
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
586
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphObjectsByTag");
|
|
566
587
|
}
|
|
567
|
-
// verify the required parameter '
|
|
568
|
-
if (
|
|
569
|
-
throw new Error("Missing the required parameter '
|
|
588
|
+
// verify the required parameter 'tag' is set
|
|
589
|
+
if (tag === undefined || tag === null) {
|
|
590
|
+
throw new Error("Missing the required parameter 'tag' when calling getGraphObjectsByTag");
|
|
570
591
|
}
|
|
571
592
|
var pathParams = {
|
|
572
593
|
'id': id,
|
|
573
|
-
'
|
|
594
|
+
'tag': tag
|
|
574
595
|
};
|
|
575
|
-
var queryParams = {
|
|
576
|
-
var headerParams = {
|
|
577
|
-
'Authorization': opts['authorization'],
|
|
596
|
+
var queryParams = {
|
|
578
597
|
'cacheduration': opts['cacheduration'],
|
|
579
|
-
'cachegroup': opts['cachegroup'],
|
|
580
|
-
'cachekey': opts['cachekey'],
|
|
598
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
599
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
581
600
|
'cachescope': opts['cachescope'],
|
|
582
|
-
'cacheuser': opts['cacheuser'],
|
|
601
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
602
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
603
|
+
};
|
|
604
|
+
var headerParams = {
|
|
605
|
+
'Authorization': opts['authorization'],
|
|
583
606
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
584
607
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
585
608
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -589,21 +612,22 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
589
612
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
590
613
|
var contentTypes = [];
|
|
591
614
|
var accepts = ['application/json'];
|
|
592
|
-
var returnType =
|
|
593
|
-
return this.apiClient.callApi('/graph/
|
|
615
|
+
var returnType = [Object];
|
|
616
|
+
return this.apiClient.callApi('/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
594
617
|
}
|
|
595
618
|
|
|
596
619
|
/**
|
|
597
|
-
* Callback function to receive the result of the
|
|
598
|
-
* @callback module:api/GraphsApi~
|
|
620
|
+
* Callback function to receive the result of the getGraphObjectsByType operation.
|
|
621
|
+
* @callback module:api/GraphsApi~getGraphObjectsByTypeCallback
|
|
599
622
|
* @param {String} error Error message, if any.
|
|
600
|
-
* @param {Array.<
|
|
623
|
+
* @param {Array.<Object>} data The data returned by the service call.
|
|
601
624
|
* @param {String} response The complete HTTP response.
|
|
602
625
|
*/
|
|
603
626
|
|
|
604
627
|
/**
|
|
605
|
-
* Get
|
|
628
|
+
* Get graph objects by type
|
|
606
629
|
* @param {Number} id
|
|
630
|
+
* @param {String} type
|
|
607
631
|
* @param {Object} opts Optional parameters
|
|
608
632
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
609
633
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -611,33 +635,45 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
611
635
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
612
636
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
613
637
|
* @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)
|
|
638
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
614
639
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
615
640
|
* @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
|
|
616
641
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
617
642
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
618
|
-
* @param {
|
|
619
|
-
*
|
|
643
|
+
* @param {Number} [page = 0)]
|
|
644
|
+
* @param {Number} [size = 50)]
|
|
645
|
+
* @param {module:api/GraphsApi~getGraphObjectsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
646
|
+
* data is of type: {@link Array.<Object>}
|
|
620
647
|
*/
|
|
621
648
|
}, {
|
|
622
|
-
key: "
|
|
623
|
-
value: function
|
|
649
|
+
key: "getGraphObjectsByType",
|
|
650
|
+
value: function getGraphObjectsByType(id, type, opts, callback) {
|
|
624
651
|
opts = opts || {};
|
|
625
652
|
var postBody = null;
|
|
626
653
|
// verify the required parameter 'id' is set
|
|
627
654
|
if (id === undefined || id === null) {
|
|
628
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
655
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphObjectsByType");
|
|
656
|
+
}
|
|
657
|
+
// verify the required parameter 'type' is set
|
|
658
|
+
if (type === undefined || type === null) {
|
|
659
|
+
throw new Error("Missing the required parameter 'type' when calling getGraphObjectsByType");
|
|
629
660
|
}
|
|
630
661
|
var pathParams = {
|
|
631
|
-
'id': id
|
|
662
|
+
'id': id,
|
|
663
|
+
'type': type
|
|
632
664
|
};
|
|
633
|
-
var queryParams = {
|
|
634
|
-
var headerParams = {
|
|
635
|
-
'Authorization': opts['authorization'],
|
|
665
|
+
var queryParams = {
|
|
636
666
|
'cacheduration': opts['cacheduration'],
|
|
637
|
-
'cachegroup': opts['cachegroup'],
|
|
638
|
-
'cachekey': opts['cachekey'],
|
|
667
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
668
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
639
669
|
'cachescope': opts['cachescope'],
|
|
640
|
-
'cacheuser': opts['cacheuser'],
|
|
670
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
671
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi'),
|
|
672
|
+
'page': opts['page'],
|
|
673
|
+
'size': opts['size']
|
|
674
|
+
};
|
|
675
|
+
var headerParams = {
|
|
676
|
+
'Authorization': opts['authorization'],
|
|
641
677
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
642
678
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
643
679
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -647,22 +683,23 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
647
683
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
648
684
|
var contentTypes = [];
|
|
649
685
|
var accepts = ['application/json'];
|
|
650
|
-
var returnType = [
|
|
651
|
-
return this.apiClient.callApi('/graph/
|
|
686
|
+
var returnType = [Object];
|
|
687
|
+
return this.apiClient.callApi('/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
652
688
|
}
|
|
653
689
|
|
|
654
690
|
/**
|
|
655
|
-
* Callback function to receive the result of the
|
|
656
|
-
* @callback module:api/GraphsApi~
|
|
691
|
+
* Callback function to receive the result of the updateGraph operation.
|
|
692
|
+
* @callback module:api/GraphsApi~updateGraphCallback
|
|
657
693
|
* @param {String} error Error message, if any.
|
|
658
|
-
* @param data
|
|
694
|
+
* @param {module:model/GraphResponse} data The data returned by the service call.
|
|
659
695
|
* @param {String} response The complete HTTP response.
|
|
660
696
|
*/
|
|
661
697
|
|
|
662
698
|
/**
|
|
663
|
-
*
|
|
699
|
+
* Update Graph
|
|
700
|
+
* Update an existing graph
|
|
664
701
|
* @param {Number} id
|
|
665
|
-
* @param {
|
|
702
|
+
* @param {module:model/GraphInput} graphInput Graph data to update
|
|
666
703
|
* @param {Object} opts Optional parameters
|
|
667
704
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
668
705
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -670,36 +707,40 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
670
707
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
671
708
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
672
709
|
* @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)
|
|
710
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
673
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
|
|
674
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
|
|
675
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
|
|
676
714
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
677
|
-
* @param {module:api/GraphsApi~
|
|
715
|
+
* @param {module:api/GraphsApi~updateGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
716
|
+
* data is of type: {@link module:model/GraphResponse}
|
|
678
717
|
*/
|
|
679
718
|
}, {
|
|
680
|
-
key: "
|
|
681
|
-
value: function
|
|
719
|
+
key: "updateGraph",
|
|
720
|
+
value: function updateGraph(id, graphInput, opts, callback) {
|
|
682
721
|
opts = opts || {};
|
|
683
|
-
var postBody =
|
|
722
|
+
var postBody = graphInput;
|
|
684
723
|
// verify the required parameter 'id' is set
|
|
685
724
|
if (id === undefined || id === null) {
|
|
686
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
725
|
+
throw new Error("Missing the required parameter 'id' when calling updateGraph");
|
|
687
726
|
}
|
|
688
|
-
// verify the required parameter '
|
|
689
|
-
if (
|
|
690
|
-
throw new Error("Missing the required parameter '
|
|
727
|
+
// verify the required parameter 'graphInput' is set
|
|
728
|
+
if (graphInput === undefined || graphInput === null) {
|
|
729
|
+
throw new Error("Missing the required parameter 'graphInput' when calling updateGraph");
|
|
691
730
|
}
|
|
692
731
|
var pathParams = {
|
|
693
732
|
'id': id
|
|
694
733
|
};
|
|
695
|
-
var queryParams = {
|
|
696
|
-
var headerParams = {
|
|
697
|
-
'Authorization': opts['authorization'],
|
|
734
|
+
var queryParams = {
|
|
698
735
|
'cacheduration': opts['cacheduration'],
|
|
699
|
-
'cachegroup': opts['cachegroup'],
|
|
700
|
-
'cachekey': opts['cachekey'],
|
|
736
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
737
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
701
738
|
'cachescope': opts['cachescope'],
|
|
702
|
-
'cacheuser': opts['cacheuser'],
|
|
739
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
740
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
741
|
+
};
|
|
742
|
+
var headerParams = {
|
|
743
|
+
'Authorization': opts['authorization'],
|
|
703
744
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
704
745
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
705
746
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -707,10 +748,10 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
707
748
|
};
|
|
708
749
|
var formParams = {};
|
|
709
750
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
710
|
-
var contentTypes = [
|
|
751
|
+
var contentTypes = [];
|
|
711
752
|
var accepts = ['application/json'];
|
|
712
|
-
var returnType =
|
|
713
|
-
return this.apiClient.callApi('/graph/
|
|
753
|
+
var returnType = _GraphResponse["default"];
|
|
754
|
+
return this.apiClient.callApi('/graph/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
714
755
|
}
|
|
715
756
|
}]);
|
|
716
757
|
}();
|