@gobodo/gobodo-api-promise 0.1.97 → 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 -684
- package/dist/.tsbuildinfo +1 -1
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.d.ts.map +1 -1
- package/dist/ApiClient.js +7 -3
- package/dist/api/ActionTypesApi.d.ts +3 -5
- package/dist/api/ActionTypesApi.d.ts.map +1 -1
- package/dist/api/ActionTypesApi.js +7 -3
- package/dist/api/AdCampaignsApi.d.ts +37 -98
- package/dist/api/AdCampaignsApi.d.ts.map +1 -1
- package/dist/api/AdCampaignsApi.js +119 -166
- package/dist/api/AdManagementApi.d.ts +63 -90
- package/dist/api/AdManagementApi.d.ts.map +1 -1
- package/dist/api/AdManagementApi.js +204 -162
- package/dist/api/AdminDataManagementApi.d.ts +5 -7
- package/dist/api/AdminDataManagementApi.d.ts.map +1 -1
- package/dist/api/AdminDataManagementApi.js +18 -15
- package/dist/api/AdsApi.d.ts +27 -83
- package/dist/api/AdsApi.d.ts.map +1 -1
- package/dist/api/AdsApi.js +88 -143
- package/dist/api/AttachmentsApi.d.ts +19 -123
- package/dist/api/AttachmentsApi.d.ts.map +1 -1
- package/dist/api/AttachmentsApi.js +73 -201
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +12 -12
- package/dist/api/CategoriesApi.d.ts +23 -37
- package/dist/api/CategoriesApi.d.ts.map +1 -1
- package/dist/api/CategoriesApi.js +96 -66
- package/dist/api/CommentsApi.d.ts +15 -115
- package/dist/api/CommentsApi.d.ts.map +1 -1
- package/dist/api/CommentsApi.js +73 -192
- package/dist/api/ContentManagementApi.d.ts +69 -127
- package/dist/api/ContentManagementApi.d.ts.map +1 -1
- package/dist/api/ContentManagementApi.js +335 -223
- package/dist/api/ConversationsApi.d.ts +19 -80
- package/dist/api/ConversationsApi.d.ts.map +1 -1
- package/dist/api/ConversationsApi.js +95 -135
- package/dist/api/CurrencyApi.d.ts +15 -32
- package/dist/api/CurrencyApi.d.ts.map +1 -1
- package/dist/api/CurrencyApi.js +78 -50
- package/dist/api/DataSheetImportsApi.d.ts +39 -81
- package/dist/api/DataSheetImportsApi.d.ts.map +1 -1
- package/dist/api/DataSheetImportsApi.js +185 -133
- package/dist/api/DefaultApi.d.ts +19 -31
- package/dist/api/DefaultApi.d.ts.map +1 -1
- package/dist/api/DefaultApi.js +78 -58
- package/dist/api/DocumentPartTypesApi.d.ts +5 -10
- package/dist/api/DocumentPartTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentPartTypesApi.js +25 -16
- package/dist/api/DocumentTypesApi.d.ts +5 -10
- package/dist/api/DocumentTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentTypesApi.js +25 -16
- package/dist/api/DocumentsApi.d.ts +31 -100
- package/dist/api/DocumentsApi.d.ts.map +1 -1
- package/dist/api/DocumentsApi.js +147 -173
- package/dist/api/EmailsApi.d.ts +9 -17
- package/dist/api/EmailsApi.d.ts.map +1 -1
- package/dist/api/EmailsApi.js +47 -30
- package/dist/api/EntryPartsApi.d.ts +31 -100
- package/dist/api/EntryPartsApi.d.ts.map +1 -1
- package/dist/api/EntryPartsApi.js +146 -170
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +3 -3
- package/dist/api/FieldsApi.d.ts +7 -13
- package/dist/api/FieldsApi.d.ts.map +1 -1
- package/dist/api/FieldsApi.js +36 -23
- package/dist/api/FilesApi.d.ts +7 -13
- package/dist/api/FilesApi.d.ts.map +1 -1
- package/dist/api/FilesApi.js +15 -14
- package/dist/api/FormsApi.d.ts +57 -94
- package/dist/api/FormsApi.d.ts.map +1 -1
- package/dist/api/FormsApi.js +252 -183
- package/dist/api/FunctionsApi.d.ts +41 -132
- package/dist/api/FunctionsApi.d.ts.map +1 -1
- package/dist/api/FunctionsApi.js +217 -220
- package/dist/api/GeocodeApi.d.ts +35 -121
- package/dist/api/GeocodeApi.d.ts.map +1 -1
- package/dist/api/GeocodeApi.js +84 -212
- package/dist/api/GobodoManagementApi.d.ts +11 -21
- package/dist/api/GobodoManagementApi.d.ts.map +1 -1
- package/dist/api/GobodoManagementApi.js +58 -37
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +3 -3
- package/dist/api/GraphActionTypesApi.d.ts +79 -128
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +216 -246
- package/dist/api/GraphActionsApi.d.ts +23 -407
- package/dist/api/GraphActionsApi.d.ts.map +1 -1
- package/dist/api/GraphActionsApi.js +59 -674
- package/dist/api/GraphObjectTypesApi.d.ts +53 -292
- package/dist/api/GraphObjectTypesApi.d.ts.map +1 -1
- package/dist/api/GraphObjectTypesApi.js +166 -480
- package/dist/api/GraphObjectsApi.d.ts +251 -2249
- package/dist/api/GraphObjectsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectsApi.js +633 -3787
- package/dist/api/GraphRelationshipTypesApi.d.ts +67 -681
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +207 -1152
- package/dist/api/GraphRelationshipsApi.d.ts +62 -1235
- package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipsApi.js +162 -2019
- package/dist/api/GraphSchemasApi.d.ts +17 -451
- package/dist/api/GraphSchemasApi.d.ts.map +1 -1
- package/dist/api/GraphSchemasApi.js +117 -773
- package/dist/api/GraphTraversalApi.d.ts +19 -33
- package/dist/api/GraphTraversalApi.d.ts.map +1 -1
- package/dist/api/GraphTraversalApi.js +87 -58
- package/dist/api/GraphsApi.d.ts +117 -135
- package/dist/api/GraphsApi.d.ts.map +1 -1
- package/dist/api/GraphsApi.js +314 -258
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +23 -32
- package/dist/api/IAMApi.d.ts.map +1 -1
- package/dist/api/IAMApi.js +75 -59
- package/dist/api/ImagesApi.d.ts +21 -190
- package/dist/api/ImagesApi.d.ts.map +1 -1
- package/dist/api/ImagesApi.js +81 -291
- package/dist/api/InvitesApi.d.ts +11 -21
- package/dist/api/InvitesApi.d.ts.map +1 -1
- package/dist/api/InvitesApi.js +58 -37
- package/dist/api/LikesApi.d.ts +43 -69
- package/dist/api/LikesApi.d.ts.map +1 -1
- package/dist/api/LikesApi.js +192 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +7 -11
- package/dist/api/LiveMeetingsApi.d.ts.map +1 -1
- package/dist/api/LiveMeetingsApi.js +29 -22
- package/dist/api/MeetingEventsApi.d.ts +39 -331
- package/dist/api/MeetingEventsApi.d.ts.map +1 -1
- package/dist/api/MeetingEventsApi.js +196 -515
- package/dist/api/NotificationsApi.d.ts +29 -63
- package/dist/api/NotificationsApi.d.ts.map +1 -1
- package/dist/api/NotificationsApi.js +151 -97
- package/dist/api/PagesApi.d.ts +23 -85
- package/dist/api/PagesApi.d.ts.map +1 -1
- package/dist/api/PagesApi.js +106 -146
- package/dist/api/PasswordResetApi.d.ts +80 -0
- package/dist/api/PasswordResetApi.d.ts.map +1 -0
- package/dist/api/PasswordResetApi.js +212 -0
- package/dist/api/PhoneNumbersApi.d.ts +11 -24
- package/dist/api/PhoneNumbersApi.d.ts.map +1 -1
- package/dist/api/PhoneNumbersApi.js +58 -37
- package/dist/api/PostsApi.d.ts +11 -64
- package/dist/api/PostsApi.d.ts.map +1 -1
- package/dist/api/PostsApi.js +51 -107
- package/dist/api/PrivateMessagesApi.d.ts +35 -110
- package/dist/api/PrivateMessagesApi.d.ts.map +1 -1
- package/dist/api/PrivateMessagesApi.js +177 -189
- package/dist/api/PublicationsApi.d.ts +19 -91
- package/dist/api/PublicationsApi.d.ts.map +1 -1
- package/dist/api/PublicationsApi.js +94 -134
- package/dist/api/RestApplicationsApi.d.ts +11 -25
- package/dist/api/RestApplicationsApi.d.ts.map +1 -1
- package/dist/api/RestApplicationsApi.js +56 -36
- package/dist/api/ScreensApi.d.ts +7 -13
- package/dist/api/ScreensApi.d.ts.map +1 -1
- package/dist/api/ScreensApi.js +36 -23
- package/dist/api/SitesApi.d.ts +21 -48
- package/dist/api/SitesApi.d.ts.map +1 -1
- package/dist/api/SitesApi.js +109 -70
- package/dist/api/SocialGroupsApi.d.ts +43 -90
- package/dist/api/SocialGroupsApi.d.ts.map +1 -1
- package/dist/api/SocialGroupsApi.js +213 -140
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +81 -161
- package/dist/api/StripeAccountsApi.d.ts.map +1 -1
- package/dist/api/StripeAccountsApi.js +436 -281
- package/dist/api/TagsApi.d.ts +3 -5
- package/dist/api/TagsApi.d.ts.map +1 -1
- package/dist/api/TagsApi.js +7 -3
- package/dist/api/TemplatesApi.d.ts +7 -13
- package/dist/api/TemplatesApi.d.ts.map +1 -1
- package/dist/api/TemplatesApi.js +36 -23
- package/dist/api/ThemeMappingsApi.d.ts +9 -16
- package/dist/api/ThemeMappingsApi.d.ts.map +1 -1
- package/dist/api/ThemeMappingsApi.js +42 -29
- package/dist/api/TopicsApi.d.ts +17 -33
- package/dist/api/TopicsApi.d.ts.map +1 -1
- package/dist/api/TopicsApi.js +91 -58
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +5 -5
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +3 -3
- package/dist/api/UserManagerAdministrationApi.d.ts +83 -0
- package/dist/api/UserManagerAdministrationApi.d.ts.map +1 -0
- package/dist/api/UserManagerAdministrationApi.js +257 -0
- package/dist/api/UserTagsApi.d.ts +31 -135
- package/dist/api/UserTagsApi.d.ts.map +1 -1
- package/dist/api/UserTagsApi.js +121 -241
- package/dist/api/UsersApi.d.ts +23 -47
- package/dist/api/UsersApi.d.ts.map +1 -1
- package/dist/api/UsersApi.js +122 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +25 -137
- package/dist/api/VideosApi.d.ts.map +1 -1
- package/dist/api/VideosApi.js +114 -226
- package/dist/api/WalletsApi.d.ts +35 -72
- package/dist/api/WalletsApi.d.ts.map +1 -1
- package/dist/api/WalletsApi.js +184 -118
- package/dist/index.d.ts +33 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +204 -85
- package/dist/model/APIClient.d.ts +10 -10
- package/dist/model/APIClient.d.ts.map +1 -1
- package/dist/model/APIClient.js +27 -27
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/Address.d.ts +74 -0
- package/dist/model/Address.d.ts.map +1 -0
- package/dist/model/Address.js +224 -0
- package/dist/model/AddressResponse.d.ts +87 -0
- package/dist/model/AddressResponse.d.ts.map +1 -0
- package/dist/model/AddressResponse.js +255 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.d.ts +65 -65
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +179 -179
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.d.ts +21 -21
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +80 -80
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +63 -0
- package/dist/model/CacheInvalidation.d.ts.map +1 -0
- package/dist/model/CacheInvalidation.js +173 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +24 -24
- package/dist/model/Comment.d.ts.map +1 -1
- package/dist/model/Comment.js +61 -61
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.d.ts +1 -1
- package/dist/model/Currency.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.d.ts +1 -1
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +60 -60
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +186 -186
- package/dist/model/DataSheetImportPrivacySettings.d.ts +10 -10
- package/dist/model/DataSheetImportPrivacySettings.d.ts.map +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +29 -29
- package/dist/model/DataSheetImportSummary.d.ts +10 -10
- package/dist/model/DataSheetImportSummary.d.ts.map +1 -1
- package/dist/model/DataSheetImportSummary.js +33 -33
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +70 -70
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +193 -193
- package/dist/model/DocumentPart.d.ts +45 -45
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +139 -139
- package/dist/model/DocumentPartType.d.ts +24 -24
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +71 -71
- package/dist/model/DocumentType.d.ts +44 -44
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +123 -123
- package/dist/model/DomainMappingInput.d.ts +57 -0
- package/dist/model/DomainMappingInput.d.ts.map +1 -0
- package/dist/model/DomainMappingInput.js +158 -0
- package/dist/model/DomainMappingResponse.d.ts +57 -0
- package/dist/model/DomainMappingResponse.d.ts.map +1 -0
- package/dist/model/DomainMappingResponse.js +158 -0
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.d.ts +1 -1
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.d.ts +14 -14
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +38 -38
- package/dist/model/File.d.ts +26 -26
- package/dist/model/File.d.ts.map +1 -1
- package/dist/model/File.js +61 -61
- package/dist/model/FileAttachmentUploadObject.d.ts +26 -26
- package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
- package/dist/model/FileAttachmentUploadObject.js +61 -61
- 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 +20 -20
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +71 -71
- package/dist/model/FormSection.d.ts +10 -10
- package/dist/model/FormSection.d.ts.map +1 -1
- package/dist/model/FormSection.js +37 -37
- package/dist/model/FormSubmission.d.ts +10 -10
- package/dist/model/FormSubmission.d.ts.map +1 -1
- package/dist/model/FormSubmission.js +33 -33
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.d.ts +1 -1
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.d.ts +3 -3
- package/dist/model/GeocodePayload.d.ts.map +1 -1
- package/dist/model/GeocodePayload.js +8 -8
- package/dist/model/GeocodeResponse.d.ts +67 -0
- package/dist/model/GeocodeResponse.d.ts.map +1 -0
- package/dist/model/GeocodeResponse.js +193 -0
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.d.ts +37 -37
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +100 -100
- package/dist/model/GraphAction.d.ts +12 -12
- package/dist/model/GraphAction.d.ts.map +1 -1
- package/dist/model/GraphAction.js +29 -29
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +19 -1
- package/dist/model/GraphActionResponse.d.ts.map +1 -1
- package/dist/model/GraphActionResponse.js +60 -2
- package/dist/model/GraphActionTypeInput.d.ts +144 -0
- package/dist/model/GraphActionTypeInput.d.ts.map +1 -0
- package/dist/model/GraphActionTypeInput.js +505 -0
- package/dist/model/GraphActionTypeResponse.d.ts +198 -0
- package/dist/model/GraphActionTypeResponse.d.ts.map +1 -0
- package/dist/model/GraphActionTypeResponse.js +681 -0
- package/dist/model/GraphDatabaseService.d.ts +10 -10
- package/dist/model/GraphDatabaseService.d.ts.map +1 -1
- package/dist/model/GraphDatabaseService.js +27 -27
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +92 -0
- package/dist/model/GraphInput.d.ts.map +1 -0
- package/dist/model/GraphInput.js +256 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +10 -10
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts.map +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +25 -25
- package/dist/model/GraphObject.d.ts +12 -12
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +29 -29
- package/dist/model/GraphObjectPayload.d.ts +7 -16
- package/dist/model/GraphObjectPayload.d.ts.map +1 -1
- package/dist/model/GraphObjectPayload.js +19 -50
- package/dist/model/GraphObjectResponse.d.ts +43 -3
- package/dist/model/GraphObjectResponse.d.ts.map +1 -1
- package/dist/model/GraphObjectResponse.js +142 -6
- package/dist/model/GraphObjectSchema.d.ts +30 -30
- package/dist/model/GraphObjectSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectSchema.js +83 -83
- package/dist/model/GraphObjectType.d.ts +12 -12
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +30 -30
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +23 -13
- package/dist/model/GraphObjectTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeResponse.js +90 -42
- package/dist/model/GraphObjectTypeSchema.d.ts +12 -12
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +30 -30
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +12 -12
- package/dist/model/GraphRelationship.d.ts.map +1 -1
- package/dist/model/GraphRelationship.js +30 -30
- package/dist/model/GraphRelationshipPayload.d.ts +19 -19
- package/dist/model/GraphRelationshipPayload.d.ts.map +1 -1
- package/dist/model/GraphRelationshipPayload.js +52 -54
- package/dist/model/GraphRelationshipResponse.d.ts +144 -0
- package/dist/model/GraphRelationshipResponse.d.ts.map +1 -0
- package/dist/model/GraphRelationshipResponse.js +418 -0
- package/dist/model/GraphRelationshipType.d.ts +38 -38
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +102 -102
- package/dist/model/GraphRelationshipTypeInput.d.ts +172 -0
- package/dist/model/GraphRelationshipTypeInput.d.ts.map +1 -0
- package/dist/model/GraphRelationshipTypeInput.js +607 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +28 -1
- package/dist/model/GraphRelationshipTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +89 -2
- package/dist/model/GraphResponse.d.ts +127 -0
- package/dist/model/GraphResponse.d.ts.map +1 -0
- package/dist/model/GraphResponse.js +351 -0
- package/dist/model/GraphSchema.d.ts +41 -41
- package/dist/model/GraphSchema.d.ts.map +1 -1
- package/dist/model/GraphSchema.js +113 -113
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +55 -1
- package/dist/model/GraphTraversalInput.d.ts.map +1 -1
- package/dist/model/GraphTraversalInput.js +176 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +31 -13
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +92 -39
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/InputPartMediaType.d.ts +1 -1
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/JsonArray.d.ts +35 -0
- package/dist/model/JsonArray.d.ts.map +1 -0
- package/dist/model/JsonArray.js +96 -0
- package/dist/model/JsonObject.d.ts +58 -0
- package/dist/model/JsonObject.d.ts.map +1 -0
- package/dist/model/JsonObject.js +179 -0
- package/dist/model/JsonValue.d.ts +49 -0
- package/dist/model/JsonValue.d.ts.map +1 -0
- package/dist/model/JsonValue.js +151 -0
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +10 -10
- package/dist/model/Link.d.ts.map +1 -1
- package/dist/model/Link.js +31 -31
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +74 -0
- package/dist/model/MediaType.d.ts.map +1 -0
- package/dist/model/MediaType.js +214 -0
- package/dist/model/MeetingEvent.d.ts +46 -46
- package/dist/model/MeetingEvent.d.ts.map +1 -1
- package/dist/model/MeetingEvent.js +133 -133
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTimezone.d.ts +1 -1
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +12 -12
- package/dist/model/MeetingInfo.d.ts.map +1 -1
- package/dist/model/MeetingInfo.js +34 -34
- package/dist/model/Member.d.ts +19 -19
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +56 -56
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +56 -0
- package/dist/model/MemberManagerConfigInput.d.ts.map +1 -0
- package/dist/model/MemberManagerConfigInput.js +160 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +66 -0
- package/dist/model/MemberManagerConfigResponse.d.ts.map +1 -0
- package/dist/model/MemberManagerConfigResponse.js +187 -0
- package/dist/model/MemberManagerInput.d.ts +66 -0
- package/dist/model/MemberManagerInput.d.ts.map +1 -0
- package/dist/model/MemberManagerInput.js +187 -0
- package/dist/model/MemberManagerResponse.d.ts +66 -0
- package/dist/model/MemberManagerResponse.d.ts.map +1 -0
- package/dist/model/MemberManagerResponse.js +187 -0
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +38 -0
- package/dist/model/MultivaluedMapStringString.d.ts.map +1 -0
- package/dist/model/MultivaluedMapStringString.js +106 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +12 -12
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +30 -30
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +19 -19
- package/dist/model/Page.d.ts.map +1 -1
- package/dist/model/Page.js +48 -48
- package/dist/model/PageSchema.d.ts +24 -24
- package/dist/model/PageSchema.d.ts.map +1 -1
- package/dist/model/PageSchema.js +65 -65
- package/dist/model/Pageable.d.ts +19 -19
- package/dist/model/Pageable.d.ts.map +1 -1
- package/dist/model/Pageable.js +48 -48
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +47 -0
- package/dist/model/PasswordResetInitiateRequest.d.ts.map +1 -0
- package/dist/model/PasswordResetInitiateRequest.js +131 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +87 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetInitiateResponse.js +243 -0
- package/dist/model/PasswordResetRequest.d.ts +67 -0
- package/dist/model/PasswordResetRequest.d.ts.map +1 -0
- package/dist/model/PasswordResetRequest.js +189 -0
- package/dist/model/PasswordResetResponse.d.ts +95 -0
- package/dist/model/PasswordResetResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetResponse.js +266 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +95 -0
- package/dist/model/PasswordResetValidationResponse.d.ts.map +1 -0
- package/dist/model/PasswordResetValidationResponse.js +266 -0
- package/dist/model/Path.d.ts +5 -5
- package/dist/model/Path.d.ts.map +1 -1
- package/dist/model/Path.js +13 -13
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.d.ts +9 -9
- package/dist/model/PaymentMethod.d.ts.map +1 -1
- package/dist/model/PaymentMethod.js +23 -23
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.d.ts +12 -12
- package/dist/model/Payout.d.ts.map +1 -1
- package/dist/model/Payout.js +34 -34
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.d.ts +14 -14
- package/dist/model/PhoneNumber.d.ts.map +1 -1
- package/dist/model/PhoneNumber.js +44 -44
- package/dist/model/Post.d.ts +19 -19
- package/dist/model/Post.d.ts.map +1 -1
- package/dist/model/Post.js +50 -50
- package/dist/model/PrivateMessage.d.ts +28 -28
- package/dist/model/PrivateMessage.d.ts.map +1 -1
- package/dist/model/PrivateMessage.js +77 -77
- package/dist/model/PrivateMessageConversation.d.ts +47 -47
- package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
- package/dist/model/PrivateMessageConversation.js +124 -124
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +10 -10
- package/dist/model/Profile.d.ts.map +1 -1
- package/dist/model/Profile.js +30 -30
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.d.ts +1 -1
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponse.js +4 -4
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +10 -10
- package/dist/model/RelationshipMapping.d.ts.map +1 -1
- package/dist/model/RelationshipMapping.js +35 -35
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +26 -26
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +72 -72
- 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 +14 -14
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +38 -38
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +10 -10
- package/dist/model/SocialGroup.d.ts.map +1 -1
- package/dist/model/SocialGroup.js +33 -33
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sort.d.ts +9 -9
- package/dist/model/Sort.d.ts.map +1 -1
- package/dist/model/Sort.js +23 -23
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +10 -10
- package/dist/model/StatusUpdate.d.ts.map +1 -1
- package/dist/model/StatusUpdate.js +27 -27
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +10 -10
- package/dist/model/StripeAccount.d.ts.map +1 -1
- package/dist/model/StripeAccount.js +27 -27
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +10 -10
- package/dist/model/Template.d.ts.map +1 -1
- package/dist/model/Template.js +27 -27
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +10 -10
- package/dist/model/TemplateSchema.d.ts.map +1 -1
- package/dist/model/TemplateSchema.js +27 -27
- package/dist/model/ThemeMapping.d.ts +10 -10
- package/dist/model/ThemeMapping.d.ts.map +1 -1
- package/dist/model/ThemeMapping.js +30 -30
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +10 -10
- package/dist/model/Transfer.d.ts.map +1 -1
- package/dist/model/Transfer.js +29 -29
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +10 -10
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +29 -29
- package/dist/model/TraversalRelationResponse.d.ts +5 -5
- package/dist/model/TraversalRelationResponse.js +14 -14
- package/dist/model/User.d.ts +19 -19
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +56 -56
- package/dist/model/UserDataPayload.d.ts +19 -19
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +56 -56
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +18 -18
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +57 -57
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +19 -19
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +56 -56
- package/dist/model/UserTag.d.ts +19 -19
- package/dist/model/UserTag.d.ts.map +1 -1
- package/dist/model/UserTag.js +52 -52
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +47 -0
- package/dist/model/UsernameReminderRequest.d.ts.map +1 -0
- package/dist/model/UsernameReminderRequest.js +131 -0
- package/dist/model/UsernameReminderResponse.d.ts +87 -0
- package/dist/model/UsernameReminderResponse.d.ts.map +1 -0
- package/dist/model/UsernameReminderResponse.js +243 -0
- package/dist/model/Video.d.ts +70 -70
- package/dist/model/Video.d.ts.map +1 -1
- package/dist/model/Video.js +177 -177
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +70 -70
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +177 -177
- package/dist/model/VideoUploadObject.d.ts +70 -70
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +177 -177
- 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(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
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(instance, Constructor) { if (!(instance instanceof Constructor)) { 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,9 +47,9 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Add a new object to the graph
|
|
51
51
|
* @param {Number} id
|
|
52
|
-
* @param {
|
|
52
|
+
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject payload
|
|
53
53
|
* @param {Object} opts Optional parameters
|
|
54
54
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
55
55
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -57,36 +57,39 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
57
57
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
58
58
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
59
59
|
* @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)
|
|
60
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
60
61
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
61
62
|
* @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
|
|
62
63
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
63
64
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
64
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
65
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphObjectResponse} and HTTP response
|
|
65
66
|
*/
|
|
66
67
|
_createClass(GraphsApi, [{
|
|
67
|
-
key: "
|
|
68
|
-
value: function
|
|
68
|
+
key: "addGraphObjectWithHttpInfo",
|
|
69
|
+
value: function addGraphObjectWithHttpInfo(id, graphObjectPayload, opts) {
|
|
69
70
|
opts = opts || {};
|
|
70
|
-
var postBody =
|
|
71
|
+
var postBody = graphObjectPayload;
|
|
71
72
|
// verify the required parameter 'id' is set
|
|
72
73
|
if (id === undefined || id === null) {
|
|
73
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
74
|
+
throw new Error("Missing the required parameter 'id' when calling addGraphObject");
|
|
74
75
|
}
|
|
75
|
-
// verify the required parameter '
|
|
76
|
-
if (
|
|
77
|
-
throw new Error("Missing the required parameter '
|
|
76
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
77
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
78
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling addGraphObject");
|
|
78
79
|
}
|
|
79
80
|
var pathParams = {
|
|
80
81
|
'id': id
|
|
81
82
|
};
|
|
82
|
-
var queryParams = {
|
|
83
|
-
var headerParams = {
|
|
84
|
-
'Authorization': opts['authorization'],
|
|
83
|
+
var queryParams = {
|
|
85
84
|
'cacheduration': opts['cacheduration'],
|
|
86
|
-
'cachegroup': opts['cachegroup'],
|
|
87
|
-
'cachekey': opts['cachekey'],
|
|
85
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
86
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
88
87
|
'cachescope': opts['cachescope'],
|
|
89
|
-
'cacheuser': opts['cacheuser'],
|
|
88
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
89
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
90
|
+
};
|
|
91
|
+
var headerParams = {
|
|
92
|
+
'Authorization': opts['authorization'],
|
|
90
93
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
91
94
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
92
95
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -94,16 +97,16 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
94
97
|
};
|
|
95
98
|
var formParams = {};
|
|
96
99
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
97
|
-
var contentTypes = [
|
|
100
|
+
var contentTypes = [];
|
|
98
101
|
var accepts = ['application/json'];
|
|
99
|
-
var returnType =
|
|
100
|
-
return this.apiClient.callApi('/graph/
|
|
102
|
+
var returnType = _GraphObjectResponse["default"];
|
|
103
|
+
return this.apiClient.callApi('/graph/{id}/objects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
/**
|
|
104
|
-
*
|
|
107
|
+
* Add a new object to the graph
|
|
105
108
|
* @param {Number} id
|
|
106
|
-
* @param {
|
|
109
|
+
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject payload
|
|
107
110
|
* @param {Object} opts Optional parameters
|
|
108
111
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
109
112
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -111,23 +114,25 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
111
114
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
112
115
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
113
116
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
117
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
114
118
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
115
119
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
116
120
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
117
121
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
118
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
122
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphObjectResponse}
|
|
119
123
|
*/
|
|
120
124
|
}, {
|
|
121
|
-
key: "
|
|
122
|
-
value: function
|
|
123
|
-
return this.
|
|
125
|
+
key: "addGraphObject",
|
|
126
|
+
value: function addGraphObject(id, graphObjectPayload, opts) {
|
|
127
|
+
return this.addGraphObjectWithHttpInfo(id, graphObjectPayload, opts).then(function (response_and_data) {
|
|
124
128
|
return response_and_data.data;
|
|
125
129
|
});
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
/**
|
|
129
|
-
*
|
|
133
|
+
* Add existing objects to the graph by id
|
|
130
134
|
* @param {Number} id
|
|
135
|
+
* @param {Array.<Number>} requestBody Array of graph object ids
|
|
131
136
|
* @param {Object} opts Optional parameters
|
|
132
137
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
133
138
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -135,33 +140,39 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
135
140
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
136
141
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
137
142
|
* @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)
|
|
143
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
138
144
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
139
145
|
* @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
|
|
140
146
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
141
147
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
142
|
-
* @
|
|
143
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphObjectSchema} and HTTP response
|
|
148
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectResponse>} and HTTP response
|
|
144
149
|
*/
|
|
145
150
|
}, {
|
|
146
|
-
key: "
|
|
147
|
-
value: function
|
|
151
|
+
key: "addGraphObjectIdsWithHttpInfo",
|
|
152
|
+
value: function addGraphObjectIdsWithHttpInfo(id, requestBody, opts) {
|
|
148
153
|
opts = opts || {};
|
|
149
|
-
var postBody =
|
|
154
|
+
var postBody = requestBody;
|
|
150
155
|
// verify the required parameter 'id' is set
|
|
151
156
|
if (id === undefined || id === null) {
|
|
152
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
157
|
+
throw new Error("Missing the required parameter 'id' when calling addGraphObjectIds");
|
|
158
|
+
}
|
|
159
|
+
// verify the required parameter 'requestBody' is set
|
|
160
|
+
if (requestBody === undefined || requestBody === null) {
|
|
161
|
+
throw new Error("Missing the required parameter 'requestBody' when calling addGraphObjectIds");
|
|
153
162
|
}
|
|
154
163
|
var pathParams = {
|
|
155
164
|
'id': id
|
|
156
165
|
};
|
|
157
|
-
var queryParams = {
|
|
158
|
-
var headerParams = {
|
|
159
|
-
'Authorization': opts['authorization'],
|
|
166
|
+
var queryParams = {
|
|
160
167
|
'cacheduration': opts['cacheduration'],
|
|
161
|
-
'cachegroup': opts['cachegroup'],
|
|
162
|
-
'cachekey': opts['cachekey'],
|
|
168
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
169
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
163
170
|
'cachescope': opts['cachescope'],
|
|
164
|
-
'cacheuser': opts['cacheuser'],
|
|
171
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
172
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
173
|
+
};
|
|
174
|
+
var headerParams = {
|
|
175
|
+
'Authorization': opts['authorization'],
|
|
165
176
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
166
177
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
167
178
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -169,15 +180,16 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
180
|
};
|
|
170
181
|
var formParams = {};
|
|
171
182
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
172
|
-
var contentTypes = [
|
|
183
|
+
var contentTypes = [];
|
|
173
184
|
var accepts = ['application/json'];
|
|
174
|
-
var returnType =
|
|
175
|
-
return this.apiClient.callApi('/graph/
|
|
185
|
+
var returnType = [_GraphObjectResponse["default"]];
|
|
186
|
+
return this.apiClient.callApi('/graph/{id}/objects/ids', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
176
187
|
}
|
|
177
188
|
|
|
178
189
|
/**
|
|
179
|
-
*
|
|
190
|
+
* Add existing objects to the graph by id
|
|
180
191
|
* @param {Number} id
|
|
192
|
+
* @param {Array.<Number>} requestBody Array of graph object ids
|
|
181
193
|
* @param {Object} opts Optional parameters
|
|
182
194
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
183
195
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -185,24 +197,25 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
185
197
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
186
198
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
187
199
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
200
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
188
201
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
189
202
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
190
203
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
191
204
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
192
|
-
* @
|
|
193
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphObjectSchema}
|
|
205
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectResponse>}
|
|
194
206
|
*/
|
|
195
207
|
}, {
|
|
196
|
-
key: "
|
|
197
|
-
value: function
|
|
198
|
-
return this.
|
|
208
|
+
key: "addGraphObjectIds",
|
|
209
|
+
value: function addGraphObjectIds(id, requestBody, opts) {
|
|
210
|
+
return this.addGraphObjectIdsWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
199
211
|
return response_and_data.data;
|
|
200
212
|
});
|
|
201
213
|
}
|
|
202
214
|
|
|
203
215
|
/**
|
|
204
|
-
*
|
|
216
|
+
* Add new objects to the graph
|
|
205
217
|
* @param {Number} id
|
|
218
|
+
* @param {Array.<module:model/GraphObjectPayload>} graphObjectPayload Array of GraphObject payloads
|
|
206
219
|
* @param {Object} opts Optional parameters
|
|
207
220
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
208
221
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -210,32 +223,39 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
210
223
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
211
224
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
212
225
|
* @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)
|
|
226
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
213
227
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
214
228
|
* @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
|
|
215
229
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
216
230
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
217
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
231
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectResponse>} and HTTP response
|
|
218
232
|
*/
|
|
219
233
|
}, {
|
|
220
|
-
key: "
|
|
221
|
-
value: function
|
|
234
|
+
key: "addGraphObjectsWithHttpInfo",
|
|
235
|
+
value: function addGraphObjectsWithHttpInfo(id, graphObjectPayload, opts) {
|
|
222
236
|
opts = opts || {};
|
|
223
|
-
var postBody =
|
|
237
|
+
var postBody = graphObjectPayload;
|
|
224
238
|
// verify the required parameter 'id' is set
|
|
225
239
|
if (id === undefined || id === null) {
|
|
226
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
240
|
+
throw new Error("Missing the required parameter 'id' when calling addGraphObjects");
|
|
241
|
+
}
|
|
242
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
243
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
244
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling addGraphObjects");
|
|
227
245
|
}
|
|
228
246
|
var pathParams = {
|
|
229
247
|
'id': id
|
|
230
248
|
};
|
|
231
|
-
var queryParams = {
|
|
232
|
-
var headerParams = {
|
|
233
|
-
'Authorization': opts['authorization'],
|
|
249
|
+
var queryParams = {
|
|
234
250
|
'cacheduration': opts['cacheduration'],
|
|
235
|
-
'cachegroup': opts['cachegroup'],
|
|
236
|
-
'cachekey': opts['cachekey'],
|
|
251
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
252
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
237
253
|
'cachescope': opts['cachescope'],
|
|
238
|
-
'cacheuser': opts['cacheuser'],
|
|
254
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
255
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
256
|
+
};
|
|
257
|
+
var headerParams = {
|
|
258
|
+
'Authorization': opts['authorization'],
|
|
239
259
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
240
260
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
241
261
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -245,13 +265,14 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
245
265
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
246
266
|
var contentTypes = [];
|
|
247
267
|
var accepts = ['application/json'];
|
|
248
|
-
var returnType =
|
|
249
|
-
return this.apiClient.callApi('/graph/
|
|
268
|
+
var returnType = [_GraphObjectResponse["default"]];
|
|
269
|
+
return this.apiClient.callApi('/graph/{id}/objects/batch', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
250
270
|
}
|
|
251
271
|
|
|
252
272
|
/**
|
|
253
|
-
*
|
|
273
|
+
* Add new objects to the graph
|
|
254
274
|
* @param {Number} id
|
|
275
|
+
* @param {Array.<module:model/GraphObjectPayload>} graphObjectPayload Array of GraphObject payloads
|
|
255
276
|
* @param {Object} opts Optional parameters
|
|
256
277
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
257
278
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -259,22 +280,25 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
259
280
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
260
281
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
261
282
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
283
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
262
284
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
263
285
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
264
286
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
265
287
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
266
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
288
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectResponse>}
|
|
267
289
|
*/
|
|
268
290
|
}, {
|
|
269
|
-
key: "
|
|
270
|
-
value: function
|
|
271
|
-
return this.
|
|
291
|
+
key: "addGraphObjects",
|
|
292
|
+
value: function addGraphObjects(id, graphObjectPayload, opts) {
|
|
293
|
+
return this.addGraphObjectsWithHttpInfo(id, graphObjectPayload, opts).then(function (response_and_data) {
|
|
272
294
|
return response_and_data.data;
|
|
273
295
|
});
|
|
274
296
|
}
|
|
275
297
|
|
|
276
298
|
/**
|
|
277
|
-
*
|
|
299
|
+
* Create Graph
|
|
300
|
+
* Create a new graph
|
|
301
|
+
* @param {module:model/GraphInput} graphInput Graph data to create
|
|
278
302
|
* @param {Object} opts Optional parameters
|
|
279
303
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
280
304
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -282,29 +306,33 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
282
306
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
283
307
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
284
308
|
* @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)
|
|
309
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
285
310
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
286
311
|
* @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
|
|
287
312
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
288
313
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
289
|
-
* @
|
|
290
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Graph} and HTTP response
|
|
314
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphResponse} and HTTP response
|
|
291
315
|
*/
|
|
292
316
|
}, {
|
|
293
|
-
key: "
|
|
294
|
-
value: function
|
|
317
|
+
key: "createGraphWithHttpInfo",
|
|
318
|
+
value: function createGraphWithHttpInfo(graphInput, opts) {
|
|
295
319
|
opts = opts || {};
|
|
296
|
-
var postBody =
|
|
320
|
+
var postBody = graphInput;
|
|
321
|
+
// verify the required parameter 'graphInput' is set
|
|
322
|
+
if (graphInput === undefined || graphInput === null) {
|
|
323
|
+
throw new Error("Missing the required parameter 'graphInput' when calling createGraph");
|
|
324
|
+
}
|
|
297
325
|
var pathParams = {};
|
|
298
326
|
var queryParams = {
|
|
299
|
-
'
|
|
327
|
+
'cacheduration': opts['cacheduration'],
|
|
328
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
329
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
330
|
+
'cachescope': opts['cachescope'],
|
|
331
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
332
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
300
333
|
};
|
|
301
334
|
var headerParams = {
|
|
302
335
|
'Authorization': opts['authorization'],
|
|
303
|
-
'cacheduration': opts['cacheduration'],
|
|
304
|
-
'cachegroup': opts['cachegroup'],
|
|
305
|
-
'cachekey': opts['cachekey'],
|
|
306
|
-
'cachescope': opts['cachescope'],
|
|
307
|
-
'cacheuser': opts['cacheuser'],
|
|
308
336
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
309
337
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
310
338
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -314,12 +342,14 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
314
342
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
315
343
|
var contentTypes = [];
|
|
316
344
|
var accepts = ['application/json'];
|
|
317
|
-
var returnType =
|
|
318
|
-
return this.apiClient.callApi('/graph
|
|
345
|
+
var returnType = _GraphResponse["default"];
|
|
346
|
+
return this.apiClient.callApi('/graph', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
319
347
|
}
|
|
320
348
|
|
|
321
349
|
/**
|
|
322
|
-
*
|
|
350
|
+
* Create Graph
|
|
351
|
+
* Create a new graph
|
|
352
|
+
* @param {module:model/GraphInput} graphInput Graph data to create
|
|
323
353
|
* @param {Object} opts Optional parameters
|
|
324
354
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
325
355
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -327,23 +357,24 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
327
357
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
328
358
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
329
359
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
360
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
330
361
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
331
362
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
332
363
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
333
364
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
334
|
-
* @
|
|
335
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Graph}
|
|
365
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphResponse}
|
|
336
366
|
*/
|
|
337
367
|
}, {
|
|
338
|
-
key: "
|
|
339
|
-
value: function
|
|
340
|
-
return this.
|
|
368
|
+
key: "createGraph",
|
|
369
|
+
value: function createGraph(graphInput, opts) {
|
|
370
|
+
return this.createGraphWithHttpInfo(graphInput, opts).then(function (response_and_data) {
|
|
341
371
|
return response_and_data.data;
|
|
342
372
|
});
|
|
343
373
|
}
|
|
344
374
|
|
|
345
375
|
/**
|
|
346
|
-
*
|
|
376
|
+
* Delete Graph
|
|
377
|
+
* Delete a graph
|
|
347
378
|
* @param {Number} id
|
|
348
379
|
* @param {Object} opts Optional parameters
|
|
349
380
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -352,32 +383,35 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
352
383
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
353
384
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
354
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
|
|
355
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
|
|
356
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
|
|
357
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
|
|
358
390
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
359
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
391
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
360
392
|
*/
|
|
361
393
|
}, {
|
|
362
|
-
key: "
|
|
363
|
-
value: function
|
|
394
|
+
key: "deleteGraphWithHttpInfo",
|
|
395
|
+
value: function deleteGraphWithHttpInfo(id, opts) {
|
|
364
396
|
opts = opts || {};
|
|
365
397
|
var postBody = null;
|
|
366
398
|
// verify the required parameter 'id' is set
|
|
367
399
|
if (id === undefined || id === null) {
|
|
368
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
400
|
+
throw new Error("Missing the required parameter 'id' when calling deleteGraph");
|
|
369
401
|
}
|
|
370
402
|
var pathParams = {
|
|
371
403
|
'id': id
|
|
372
404
|
};
|
|
373
|
-
var queryParams = {
|
|
374
|
-
var headerParams = {
|
|
375
|
-
'Authorization': opts['authorization'],
|
|
405
|
+
var queryParams = {
|
|
376
406
|
'cacheduration': opts['cacheduration'],
|
|
377
|
-
'cachegroup': opts['cachegroup'],
|
|
378
|
-
'cachekey': opts['cachekey'],
|
|
407
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
408
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
379
409
|
'cachescope': opts['cachescope'],
|
|
380
|
-
'cacheuser': opts['cacheuser'],
|
|
410
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
411
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
412
|
+
};
|
|
413
|
+
var headerParams = {
|
|
414
|
+
'Authorization': opts['authorization'],
|
|
381
415
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
382
416
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
383
417
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -387,12 +421,13 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
387
421
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
388
422
|
var contentTypes = [];
|
|
389
423
|
var accepts = ['application/json'];
|
|
390
|
-
var returnType =
|
|
391
|
-
return this.apiClient.callApi('/graph/
|
|
424
|
+
var returnType = null;
|
|
425
|
+
return this.apiClient.callApi('/graph/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
392
426
|
}
|
|
393
427
|
|
|
394
428
|
/**
|
|
395
|
-
*
|
|
429
|
+
* Delete Graph
|
|
430
|
+
* Delete a graph
|
|
396
431
|
* @param {Number} id
|
|
397
432
|
* @param {Object} opts Optional parameters
|
|
398
433
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -401,24 +436,24 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
401
436
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
402
437
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
403
438
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
439
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
404
440
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
405
441
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
406
442
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
407
443
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
408
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
444
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
409
445
|
*/
|
|
410
446
|
}, {
|
|
411
|
-
key: "
|
|
412
|
-
value: function
|
|
413
|
-
return this.
|
|
447
|
+
key: "deleteGraph",
|
|
448
|
+
value: function deleteGraph(id, opts) {
|
|
449
|
+
return this.deleteGraphWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
414
450
|
return response_and_data.data;
|
|
415
451
|
});
|
|
416
452
|
}
|
|
417
453
|
|
|
418
454
|
/**
|
|
419
|
-
* Get
|
|
455
|
+
* Get graph by id
|
|
420
456
|
* @param {Number} id
|
|
421
|
-
* @param {String} tag
|
|
422
457
|
* @param {Object} opts Optional parameters
|
|
423
458
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
424
459
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -426,37 +461,35 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
426
461
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
427
462
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
428
463
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
464
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
429
465
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
430
466
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
431
467
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
432
468
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
433
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
469
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphResponse} and HTTP response
|
|
434
470
|
*/
|
|
435
471
|
}, {
|
|
436
|
-
key: "
|
|
437
|
-
value: function
|
|
472
|
+
key: "getGraphByIdWithHttpInfo",
|
|
473
|
+
value: function getGraphByIdWithHttpInfo(id, opts) {
|
|
438
474
|
opts = opts || {};
|
|
439
475
|
var postBody = null;
|
|
440
476
|
// verify the required parameter 'id' is set
|
|
441
477
|
if (id === undefined || id === null) {
|
|
442
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
443
|
-
}
|
|
444
|
-
// verify the required parameter 'tag' is set
|
|
445
|
-
if (tag === undefined || tag === null) {
|
|
446
|
-
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
478
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphById");
|
|
447
479
|
}
|
|
448
480
|
var pathParams = {
|
|
449
|
-
'id': id
|
|
450
|
-
'tag': tag
|
|
481
|
+
'id': id
|
|
451
482
|
};
|
|
452
|
-
var queryParams = {
|
|
453
|
-
var headerParams = {
|
|
454
|
-
'Authorization': opts['authorization'],
|
|
483
|
+
var queryParams = {
|
|
455
484
|
'cacheduration': opts['cacheduration'],
|
|
456
|
-
'cachegroup': opts['cachegroup'],
|
|
457
|
-
'cachekey': opts['cachekey'],
|
|
485
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
486
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
458
487
|
'cachescope': opts['cachescope'],
|
|
459
|
-
'cacheuser': opts['cacheuser'],
|
|
488
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
489
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
490
|
+
};
|
|
491
|
+
var headerParams = {
|
|
492
|
+
'Authorization': opts['authorization'],
|
|
460
493
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
461
494
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
462
495
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -466,14 +499,13 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
466
499
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
467
500
|
var contentTypes = [];
|
|
468
501
|
var accepts = ['application/json'];
|
|
469
|
-
var returnType = [
|
|
470
|
-
return this.apiClient.callApi('/graph/
|
|
502
|
+
var returnType = _GraphResponse["default"];
|
|
503
|
+
return this.apiClient.callApi('/graph/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
471
504
|
}
|
|
472
505
|
|
|
473
506
|
/**
|
|
474
|
-
* Get
|
|
507
|
+
* Get graph by id
|
|
475
508
|
* @param {Number} id
|
|
476
|
-
* @param {String} tag
|
|
477
509
|
* @param {Object} opts Optional parameters
|
|
478
510
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
479
511
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -481,24 +513,25 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
481
513
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
482
514
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
483
515
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
516
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
484
517
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
485
518
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
486
519
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
487
520
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
488
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
521
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphResponse}
|
|
489
522
|
*/
|
|
490
523
|
}, {
|
|
491
|
-
key: "
|
|
492
|
-
value: function
|
|
493
|
-
return this.
|
|
524
|
+
key: "getGraphById",
|
|
525
|
+
value: function getGraphById(id, opts) {
|
|
526
|
+
return this.getGraphByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
494
527
|
return response_and_data.data;
|
|
495
528
|
});
|
|
496
529
|
}
|
|
497
530
|
|
|
498
531
|
/**
|
|
499
|
-
* Get
|
|
500
|
-
*
|
|
501
|
-
* @param {String}
|
|
532
|
+
* Get Graph By Key
|
|
533
|
+
* Get A Graph By it's key identifier
|
|
534
|
+
* @param {String} key
|
|
502
535
|
* @param {Object} opts Optional parameters
|
|
503
536
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
504
537
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -506,42 +539,35 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
506
539
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
507
540
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
508
541
|
* @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)
|
|
542
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
509
543
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
510
544
|
* @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
|
|
511
545
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
512
546
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
513
|
-
* @
|
|
514
|
-
* @param {Number} [size]
|
|
515
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectSchema>} and HTTP response
|
|
547
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphResponse} and HTTP response
|
|
516
548
|
*/
|
|
517
549
|
}, {
|
|
518
|
-
key: "
|
|
519
|
-
value: function
|
|
550
|
+
key: "getGraphByKeyWithHttpInfo",
|
|
551
|
+
value: function getGraphByKeyWithHttpInfo(key, opts) {
|
|
520
552
|
opts = opts || {};
|
|
521
553
|
var postBody = null;
|
|
522
|
-
// verify the required parameter '
|
|
523
|
-
if (
|
|
524
|
-
throw new Error("Missing the required parameter '
|
|
525
|
-
}
|
|
526
|
-
// verify the required parameter 'type' is set
|
|
527
|
-
if (type === undefined || type === null) {
|
|
528
|
-
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
554
|
+
// verify the required parameter 'key' is set
|
|
555
|
+
if (key === undefined || key === null) {
|
|
556
|
+
throw new Error("Missing the required parameter 'key' when calling getGraphByKey");
|
|
529
557
|
}
|
|
530
558
|
var pathParams = {
|
|
531
|
-
'
|
|
532
|
-
'type': type
|
|
559
|
+
'key': key
|
|
533
560
|
};
|
|
534
561
|
var queryParams = {
|
|
535
|
-
'
|
|
536
|
-
'
|
|
562
|
+
'cacheduration': opts['cacheduration'],
|
|
563
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
564
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
565
|
+
'cachescope': opts['cachescope'],
|
|
566
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
567
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
537
568
|
};
|
|
538
569
|
var headerParams = {
|
|
539
570
|
'Authorization': opts['authorization'],
|
|
540
|
-
'cacheduration': opts['cacheduration'],
|
|
541
|
-
'cachegroup': opts['cachegroup'],
|
|
542
|
-
'cachekey': opts['cachekey'],
|
|
543
|
-
'cachescope': opts['cachescope'],
|
|
544
|
-
'cacheuser': opts['cacheuser'],
|
|
545
571
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
546
572
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
547
573
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -551,14 +577,14 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
551
577
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
552
578
|
var contentTypes = [];
|
|
553
579
|
var accepts = ['application/json'];
|
|
554
|
-
var returnType = [
|
|
555
|
-
return this.apiClient.callApi('/graph/
|
|
580
|
+
var returnType = _GraphResponse["default"];
|
|
581
|
+
return this.apiClient.callApi('/graph/key/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
556
582
|
}
|
|
557
583
|
|
|
558
584
|
/**
|
|
559
|
-
* Get
|
|
560
|
-
*
|
|
561
|
-
* @param {String}
|
|
585
|
+
* Get Graph By Key
|
|
586
|
+
* Get A Graph By it's key identifier
|
|
587
|
+
* @param {String} key
|
|
562
588
|
* @param {Object} opts Optional parameters
|
|
563
589
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
564
590
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -566,24 +592,23 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
566
592
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
567
593
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
568
594
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
595
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
569
596
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
570
597
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
571
598
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
572
599
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
573
|
-
* @
|
|
574
|
-
* @param {Number} opts.size
|
|
575
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectSchema>}
|
|
600
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphResponse}
|
|
576
601
|
*/
|
|
577
602
|
}, {
|
|
578
|
-
key: "
|
|
579
|
-
value: function
|
|
580
|
-
return this.
|
|
603
|
+
key: "getGraphByKey",
|
|
604
|
+
value: function getGraphByKey(key, opts) {
|
|
605
|
+
return this.getGraphByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
581
606
|
return response_and_data.data;
|
|
582
607
|
});
|
|
583
608
|
}
|
|
584
609
|
|
|
585
610
|
/**
|
|
586
|
-
* Get
|
|
611
|
+
* Get objects in the graph
|
|
587
612
|
* @param {Number} id
|
|
588
613
|
* @param {Object} opts Optional parameters
|
|
589
614
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -592,32 +617,35 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
592
617
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
593
618
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
594
619
|
* @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)
|
|
620
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
595
621
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
596
622
|
* @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
|
|
597
623
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
598
624
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
599
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
625
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<Object>} and HTTP response
|
|
600
626
|
*/
|
|
601
627
|
}, {
|
|
602
|
-
key: "
|
|
603
|
-
value: function
|
|
628
|
+
key: "getGraphObjectsWithHttpInfo",
|
|
629
|
+
value: function getGraphObjectsWithHttpInfo(id, opts) {
|
|
604
630
|
opts = opts || {};
|
|
605
631
|
var postBody = null;
|
|
606
632
|
// verify the required parameter 'id' is set
|
|
607
633
|
if (id === undefined || id === null) {
|
|
608
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
634
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphObjects");
|
|
609
635
|
}
|
|
610
636
|
var pathParams = {
|
|
611
637
|
'id': id
|
|
612
638
|
};
|
|
613
|
-
var queryParams = {
|
|
614
|
-
var headerParams = {
|
|
615
|
-
'Authorization': opts['authorization'],
|
|
639
|
+
var queryParams = {
|
|
616
640
|
'cacheduration': opts['cacheduration'],
|
|
617
|
-
'cachegroup': opts['cachegroup'],
|
|
618
|
-
'cachekey': opts['cachekey'],
|
|
641
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
642
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
619
643
|
'cachescope': opts['cachescope'],
|
|
620
|
-
'cacheuser': opts['cacheuser'],
|
|
644
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
645
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
646
|
+
};
|
|
647
|
+
var headerParams = {
|
|
648
|
+
'Authorization': opts['authorization'],
|
|
621
649
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
622
650
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
623
651
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -627,12 +655,12 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
627
655
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
628
656
|
var contentTypes = [];
|
|
629
657
|
var accepts = ['application/json'];
|
|
630
|
-
var returnType =
|
|
631
|
-
return this.apiClient.callApi('/graph/
|
|
658
|
+
var returnType = [Object];
|
|
659
|
+
return this.apiClient.callApi('/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
632
660
|
}
|
|
633
661
|
|
|
634
662
|
/**
|
|
635
|
-
* Get
|
|
663
|
+
* Get objects in the graph
|
|
636
664
|
* @param {Number} id
|
|
637
665
|
* @param {Object} opts Optional parameters
|
|
638
666
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -641,24 +669,25 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
641
669
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
642
670
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
643
671
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
672
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
644
673
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
645
674
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
646
675
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
647
676
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
648
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
677
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<Object>}
|
|
649
678
|
*/
|
|
650
679
|
}, {
|
|
651
|
-
key: "
|
|
652
|
-
value: function
|
|
653
|
-
return this.
|
|
680
|
+
key: "getGraphObjects",
|
|
681
|
+
value: function getGraphObjects(id, opts) {
|
|
682
|
+
return this.getGraphObjectsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
654
683
|
return response_and_data.data;
|
|
655
684
|
});
|
|
656
685
|
}
|
|
657
686
|
|
|
658
687
|
/**
|
|
659
|
-
* Get
|
|
688
|
+
* Get graph objects by tag
|
|
660
689
|
* @param {Number} id
|
|
661
|
-
* @param {String}
|
|
690
|
+
* @param {String} tag
|
|
662
691
|
* @param {Object} opts Optional parameters
|
|
663
692
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
664
693
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -666,37 +695,40 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
666
695
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
667
696
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
668
697
|
* @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)
|
|
698
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
669
699
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
670
700
|
* @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
|
|
671
701
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
672
702
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
673
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
703
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<Object>} and HTTP response
|
|
674
704
|
*/
|
|
675
705
|
}, {
|
|
676
|
-
key: "
|
|
677
|
-
value: function
|
|
706
|
+
key: "getGraphObjectsByTagWithHttpInfo",
|
|
707
|
+
value: function getGraphObjectsByTagWithHttpInfo(id, tag, opts) {
|
|
678
708
|
opts = opts || {};
|
|
679
709
|
var postBody = null;
|
|
680
710
|
// verify the required parameter 'id' is set
|
|
681
711
|
if (id === undefined || id === null) {
|
|
682
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
712
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphObjectsByTag");
|
|
683
713
|
}
|
|
684
|
-
// verify the required parameter '
|
|
685
|
-
if (
|
|
686
|
-
throw new Error("Missing the required parameter '
|
|
714
|
+
// verify the required parameter 'tag' is set
|
|
715
|
+
if (tag === undefined || tag === null) {
|
|
716
|
+
throw new Error("Missing the required parameter 'tag' when calling getGraphObjectsByTag");
|
|
687
717
|
}
|
|
688
718
|
var pathParams = {
|
|
689
719
|
'id': id,
|
|
690
|
-
'
|
|
720
|
+
'tag': tag
|
|
691
721
|
};
|
|
692
|
-
var queryParams = {
|
|
693
|
-
var headerParams = {
|
|
694
|
-
'Authorization': opts['authorization'],
|
|
722
|
+
var queryParams = {
|
|
695
723
|
'cacheduration': opts['cacheduration'],
|
|
696
|
-
'cachegroup': opts['cachegroup'],
|
|
697
|
-
'cachekey': opts['cachekey'],
|
|
724
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
725
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
698
726
|
'cachescope': opts['cachescope'],
|
|
699
|
-
'cacheuser': opts['cacheuser'],
|
|
727
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
728
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
729
|
+
};
|
|
730
|
+
var headerParams = {
|
|
731
|
+
'Authorization': opts['authorization'],
|
|
700
732
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
701
733
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
702
734
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -706,14 +738,14 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
706
738
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
707
739
|
var contentTypes = [];
|
|
708
740
|
var accepts = ['application/json'];
|
|
709
|
-
var returnType =
|
|
710
|
-
return this.apiClient.callApi('/graph/
|
|
741
|
+
var returnType = [Object];
|
|
742
|
+
return this.apiClient.callApi('/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
711
743
|
}
|
|
712
744
|
|
|
713
745
|
/**
|
|
714
|
-
* Get
|
|
746
|
+
* Get graph objects by tag
|
|
715
747
|
* @param {Number} id
|
|
716
|
-
* @param {String}
|
|
748
|
+
* @param {String} tag
|
|
717
749
|
* @param {Object} opts Optional parameters
|
|
718
750
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
719
751
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -721,23 +753,25 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
721
753
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
722
754
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
723
755
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
756
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
724
757
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
725
758
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
726
759
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
727
760
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
728
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
761
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<Object>}
|
|
729
762
|
*/
|
|
730
763
|
}, {
|
|
731
|
-
key: "
|
|
732
|
-
value: function
|
|
733
|
-
return this.
|
|
764
|
+
key: "getGraphObjectsByTag",
|
|
765
|
+
value: function getGraphObjectsByTag(id, tag, opts) {
|
|
766
|
+
return this.getGraphObjectsByTagWithHttpInfo(id, tag, opts).then(function (response_and_data) {
|
|
734
767
|
return response_and_data.data;
|
|
735
768
|
});
|
|
736
769
|
}
|
|
737
770
|
|
|
738
771
|
/**
|
|
739
|
-
* Get
|
|
772
|
+
* Get graph objects by type
|
|
740
773
|
* @param {Number} id
|
|
774
|
+
* @param {String} type
|
|
741
775
|
* @param {Object} opts Optional parameters
|
|
742
776
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
743
777
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -745,32 +779,44 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
745
779
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
746
780
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
747
781
|
* @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)
|
|
782
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
748
783
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
749
784
|
* @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
|
|
750
785
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
751
786
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
752
|
-
* @
|
|
787
|
+
* @param {Number} [page = 0)]
|
|
788
|
+
* @param {Number} [size = 50)]
|
|
789
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<Object>} and HTTP response
|
|
753
790
|
*/
|
|
754
791
|
}, {
|
|
755
|
-
key: "
|
|
756
|
-
value: function
|
|
792
|
+
key: "getGraphObjectsByTypeWithHttpInfo",
|
|
793
|
+
value: function getGraphObjectsByTypeWithHttpInfo(id, type, opts) {
|
|
757
794
|
opts = opts || {};
|
|
758
795
|
var postBody = null;
|
|
759
796
|
// verify the required parameter 'id' is set
|
|
760
797
|
if (id === undefined || id === null) {
|
|
761
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
798
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphObjectsByType");
|
|
799
|
+
}
|
|
800
|
+
// verify the required parameter 'type' is set
|
|
801
|
+
if (type === undefined || type === null) {
|
|
802
|
+
throw new Error("Missing the required parameter 'type' when calling getGraphObjectsByType");
|
|
762
803
|
}
|
|
763
804
|
var pathParams = {
|
|
764
|
-
'id': id
|
|
805
|
+
'id': id,
|
|
806
|
+
'type': type
|
|
765
807
|
};
|
|
766
|
-
var queryParams = {
|
|
767
|
-
var headerParams = {
|
|
768
|
-
'Authorization': opts['authorization'],
|
|
808
|
+
var queryParams = {
|
|
769
809
|
'cacheduration': opts['cacheduration'],
|
|
770
|
-
'cachegroup': opts['cachegroup'],
|
|
771
|
-
'cachekey': opts['cachekey'],
|
|
810
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
811
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
772
812
|
'cachescope': opts['cachescope'],
|
|
773
|
-
'cacheuser': opts['cacheuser'],
|
|
813
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
814
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi'),
|
|
815
|
+
'page': opts['page'],
|
|
816
|
+
'size': opts['size']
|
|
817
|
+
};
|
|
818
|
+
var headerParams = {
|
|
819
|
+
'Authorization': opts['authorization'],
|
|
774
820
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
775
821
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
776
822
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -780,13 +826,14 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
780
826
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
781
827
|
var contentTypes = [];
|
|
782
828
|
var accepts = ['application/json'];
|
|
783
|
-
var returnType = [
|
|
784
|
-
return this.apiClient.callApi('/graph/
|
|
829
|
+
var returnType = [Object];
|
|
830
|
+
return this.apiClient.callApi('/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
785
831
|
}
|
|
786
832
|
|
|
787
833
|
/**
|
|
788
|
-
* Get
|
|
834
|
+
* Get graph objects by type
|
|
789
835
|
* @param {Number} id
|
|
836
|
+
* @param {String} type
|
|
790
837
|
* @param {Object} opts Optional parameters
|
|
791
838
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
792
839
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -794,24 +841,28 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
794
841
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
795
842
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
796
843
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
844
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
797
845
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
798
846
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
799
847
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
800
848
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
801
|
-
* @
|
|
849
|
+
* @param {Number} opts.page (default to 0)
|
|
850
|
+
* @param {Number} opts.size (default to 50)
|
|
851
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<Object>}
|
|
802
852
|
*/
|
|
803
853
|
}, {
|
|
804
|
-
key: "
|
|
805
|
-
value: function
|
|
806
|
-
return this.
|
|
854
|
+
key: "getGraphObjectsByType",
|
|
855
|
+
value: function getGraphObjectsByType(id, type, opts) {
|
|
856
|
+
return this.getGraphObjectsByTypeWithHttpInfo(id, type, opts).then(function (response_and_data) {
|
|
807
857
|
return response_and_data.data;
|
|
808
858
|
});
|
|
809
859
|
}
|
|
810
860
|
|
|
811
861
|
/**
|
|
812
|
-
*
|
|
862
|
+
* Update Graph
|
|
863
|
+
* Update an existing graph
|
|
813
864
|
* @param {Number} id
|
|
814
|
-
* @param {
|
|
865
|
+
* @param {module:model/GraphInput} graphInput Graph data to update
|
|
815
866
|
* @param {Object} opts Optional parameters
|
|
816
867
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
817
868
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -819,36 +870,39 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
819
870
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
820
871
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
821
872
|
* @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)
|
|
873
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
822
874
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
823
875
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
824
876
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
825
877
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
826
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
878
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphResponse} and HTTP response
|
|
827
879
|
*/
|
|
828
880
|
}, {
|
|
829
|
-
key: "
|
|
830
|
-
value: function
|
|
881
|
+
key: "updateGraphWithHttpInfo",
|
|
882
|
+
value: function updateGraphWithHttpInfo(id, graphInput, opts) {
|
|
831
883
|
opts = opts || {};
|
|
832
|
-
var postBody =
|
|
884
|
+
var postBody = graphInput;
|
|
833
885
|
// verify the required parameter 'id' is set
|
|
834
886
|
if (id === undefined || id === null) {
|
|
835
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
887
|
+
throw new Error("Missing the required parameter 'id' when calling updateGraph");
|
|
836
888
|
}
|
|
837
|
-
// verify the required parameter '
|
|
838
|
-
if (
|
|
839
|
-
throw new Error("Missing the required parameter '
|
|
889
|
+
// verify the required parameter 'graphInput' is set
|
|
890
|
+
if (graphInput === undefined || graphInput === null) {
|
|
891
|
+
throw new Error("Missing the required parameter 'graphInput' when calling updateGraph");
|
|
840
892
|
}
|
|
841
893
|
var pathParams = {
|
|
842
894
|
'id': id
|
|
843
895
|
};
|
|
844
|
-
var queryParams = {
|
|
845
|
-
var headerParams = {
|
|
846
|
-
'Authorization': opts['authorization'],
|
|
896
|
+
var queryParams = {
|
|
847
897
|
'cacheduration': opts['cacheduration'],
|
|
848
|
-
'cachegroup': opts['cachegroup'],
|
|
849
|
-
'cachekey': opts['cachekey'],
|
|
898
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
899
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
850
900
|
'cachescope': opts['cachescope'],
|
|
851
|
-
'cacheuser': opts['cacheuser'],
|
|
901
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
902
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
903
|
+
};
|
|
904
|
+
var headerParams = {
|
|
905
|
+
'Authorization': opts['authorization'],
|
|
852
906
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
853
907
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
854
908
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -856,16 +910,17 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
856
910
|
};
|
|
857
911
|
var formParams = {};
|
|
858
912
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
859
|
-
var contentTypes = [
|
|
913
|
+
var contentTypes = [];
|
|
860
914
|
var accepts = ['application/json'];
|
|
861
|
-
var returnType =
|
|
862
|
-
return this.apiClient.callApi('/graph/
|
|
915
|
+
var returnType = _GraphResponse["default"];
|
|
916
|
+
return this.apiClient.callApi('/graph/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
863
917
|
}
|
|
864
918
|
|
|
865
919
|
/**
|
|
866
|
-
*
|
|
920
|
+
* Update Graph
|
|
921
|
+
* Update an existing graph
|
|
867
922
|
* @param {Number} id
|
|
868
|
-
* @param {
|
|
923
|
+
* @param {module:model/GraphInput} graphInput Graph data to update
|
|
869
924
|
* @param {Object} opts Optional parameters
|
|
870
925
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
871
926
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -873,16 +928,17 @@ var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
873
928
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
874
929
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
875
930
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
931
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
876
932
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
877
933
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
878
934
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
879
935
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
880
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
936
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphResponse}
|
|
881
937
|
*/
|
|
882
938
|
}, {
|
|
883
|
-
key: "
|
|
884
|
-
value: function
|
|
885
|
-
return this.
|
|
939
|
+
key: "updateGraph",
|
|
940
|
+
value: function updateGraph(id, graphInput, opts) {
|
|
941
|
+
return this.updateGraphWithHttpInfo(id, graphInput, opts).then(function (response_and_data) {
|
|
886
942
|
return response_and_data.data;
|
|
887
943
|
});
|
|
888
944
|
}
|