@gobodo/gobodo-api-promise 0.1.97 → 0.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +602 -684
- package/dist/.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 +93 -95
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +255 -198
- package/dist/api/GraphActionsApi.d.ts +43 -288
- package/dist/api/GraphActionsApi.d.ts.map +1 -1
- package/dist/api/GraphActionsApi.js +107 -471
- 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 +289 -2054
- package/dist/api/GraphObjectsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectsApi.js +803 -3533
- package/dist/api/GraphRelationshipTypesApi.d.ts +91 -564
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +326 -1012
- package/dist/api/GraphRelationshipsApi.d.ts +145 -948
- package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipsApi.js +392 -1592
- 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 +311 -255
- 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 +9 -9
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +33 -33
- 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 +20 -20
- package/dist/model/Comment.d.ts.map +1 -1
- package/dist/model/Comment.js +55 -55
- 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 +188 -188
- 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 +46 -46
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +140 -140
- 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 +46 -46
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +124 -124
- 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 +28 -28
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +74 -74
- package/dist/model/File.d.ts +29 -29
- package/dist/model/File.d.ts.map +1 -1
- package/dist/model/File.js +75 -75
- package/dist/model/FileAttachmentUploadObject.d.ts +29 -29
- package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
- package/dist/model/FileAttachmentUploadObject.js +75 -75
- 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 +15 -15
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +45 -45
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +11 -11
- 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 +21 -21
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +54 -54
- package/dist/model/GraphObjectPayload.d.ts +16 -16
- package/dist/model/GraphObjectPayload.d.ts.map +1 -1
- package/dist/model/GraphObjectPayload.js +42 -44
- 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 +20 -20
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +51 -51
- 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 +20 -20
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +51 -51
- 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 +41 -41
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +111 -111
- 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 +36 -18
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +102 -49
- 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 +15 -15
- package/dist/model/Link.d.ts.map +1 -1
- package/dist/model/Link.js +44 -44
- 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 +20 -20
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +51 -51
- 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 +10 -10
- package/dist/model/PaymentMethod.d.ts.map +1 -1
- package/dist/model/PaymentMethod.js +27 -27
- 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 +35 -35
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +97 -97
- 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 +28 -28
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +74 -74
- 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 +71 -71
- package/dist/model/Video.d.ts.map +1 -1
- package/dist/model/Video.js +178 -178
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +71 -71
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +178 -178
- package/dist/model/VideoUploadObject.d.ts +71 -71
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +178 -178
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +1 -1
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +3 -3
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
8
9
|
var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
|
|
9
10
|
var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
|
|
11
|
+
var _GraphRelationshipResponse = _interopRequireDefault(require("../model/GraphRelationshipResponse"));
|
|
12
|
+
var _GraphRelationshipTypeInput = _interopRequireDefault(require("../model/GraphRelationshipTypeInput"));
|
|
13
13
|
var _GraphRelationshipTypeResponse = _interopRequireDefault(require("../model/GraphRelationshipTypeResponse"));
|
|
14
|
-
var
|
|
14
|
+
var _SkinFieldResponse = _interopRequireDefault(require("../model/SkinFieldResponse"));
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
16
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
17
17
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -22,7 +22,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
22
22
|
* gobodo-api
|
|
23
23
|
* REST Interface for Gobodo API
|
|
24
24
|
*
|
|
25
|
-
* The version of the OpenAPI document: 0.1.
|
|
25
|
+
* The version of the OpenAPI document: 0.1.100
|
|
26
26
|
* Contact: info@gobodo.io
|
|
27
27
|
*
|
|
28
28
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* GraphRelationshipTypes service.
|
|
35
35
|
* @module api/GraphRelationshipTypesApi
|
|
36
|
-
* @version 0.1.
|
|
36
|
+
* @version 0.1.100
|
|
37
37
|
*/
|
|
38
38
|
var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -49,7 +49,10 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Adds a method to an relationship type
|
|
53
|
+
* Adds a method to a relationship type
|
|
54
|
+
* @param {Number} reltypeid
|
|
55
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
53
56
|
* @param {Object} opts Optional parameters
|
|
54
57
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
55
58
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -57,770 +60,39 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
57
60
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
58
61
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
59
62
|
* @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)
|
|
63
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
60
64
|
* @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
65
|
* @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
66
|
* @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
67
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
64
|
-
* @
|
|
65
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
68
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
66
69
|
*/
|
|
67
70
|
_createClass(GraphRelationshipTypesApi, [{
|
|
68
|
-
key: "addEndObjectTypes1WithHttpInfo",
|
|
69
|
-
value: function addEndObjectTypes1WithHttpInfo(id, opts) {
|
|
70
|
-
opts = opts || {};
|
|
71
|
-
var postBody = opts['body'];
|
|
72
|
-
// verify the required parameter 'id' is set
|
|
73
|
-
if (id === undefined || id === null) {
|
|
74
|
-
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
|
|
75
|
-
}
|
|
76
|
-
var pathParams = {
|
|
77
|
-
'id': id
|
|
78
|
-
};
|
|
79
|
-
var queryParams = {};
|
|
80
|
-
var headerParams = {
|
|
81
|
-
'Authorization': opts['authorization'],
|
|
82
|
-
'cacheduration': opts['cacheduration'],
|
|
83
|
-
'cachegroup': opts['cachegroup'],
|
|
84
|
-
'cachekey': opts['cachekey'],
|
|
85
|
-
'cachescope': opts['cachescope'],
|
|
86
|
-
'cacheuser': opts['cacheuser'],
|
|
87
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
88
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
89
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
90
|
-
'transactionid': opts['transactionid']
|
|
91
|
-
};
|
|
92
|
-
var formParams = {};
|
|
93
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
94
|
-
var contentTypes = ['application/json'];
|
|
95
|
-
var accepts = ['application/json'];
|
|
96
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
97
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @param {Number} id
|
|
102
|
-
* @param {Object} opts Optional parameters
|
|
103
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
104
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
105
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
106
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
107
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
108
|
-
* @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)
|
|
109
|
-
* @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
|
|
110
|
-
* @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
|
|
111
|
-
* @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
|
|
112
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
113
|
-
* @param {String} opts.body
|
|
114
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
115
|
-
*/
|
|
116
|
-
}, {
|
|
117
|
-
key: "addEndObjectTypes1",
|
|
118
|
-
value: function addEndObjectTypes1(id, opts) {
|
|
119
|
-
return this.addEndObjectTypes1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
120
|
-
return response_and_data.data;
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Adds a method to an relationship type
|
|
126
|
-
* Adds a method to a relationship type
|
|
127
|
-
* @param {Number} reltypeid
|
|
128
|
-
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
129
|
-
* @param {Object} opts Optional parameters
|
|
130
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
131
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
132
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
133
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
134
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
135
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
136
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
137
|
-
* @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
|
|
138
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
139
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
140
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
141
|
-
*/
|
|
142
|
-
}, {
|
|
143
71
|
key: "addMethodToRelationshipTypeWithHttpInfo",
|
|
144
72
|
value: function addMethodToRelationshipTypeWithHttpInfo(reltypeid, createFunctionInput, opts) {
|
|
145
|
-
opts = opts || {};
|
|
146
|
-
var postBody = createFunctionInput;
|
|
147
|
-
// verify the required parameter 'reltypeid' is set
|
|
148
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
149
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling addMethodToRelationshipType");
|
|
150
|
-
}
|
|
151
|
-
// verify the required parameter 'createFunctionInput' is set
|
|
152
|
-
if (createFunctionInput === undefined || createFunctionInput === null) {
|
|
153
|
-
throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToRelationshipType");
|
|
154
|
-
}
|
|
155
|
-
var pathParams = {
|
|
156
|
-
'reltypeid': reltypeid
|
|
157
|
-
};
|
|
158
|
-
var queryParams = {};
|
|
159
|
-
var headerParams = {
|
|
160
|
-
'Authorization': opts['authorization'],
|
|
161
|
-
'cacheduration': opts['cacheduration'],
|
|
162
|
-
'cachegroup': opts['cachegroup'],
|
|
163
|
-
'cachekey': opts['cachekey'],
|
|
164
|
-
'cachescope': opts['cachescope'],
|
|
165
|
-
'cacheuser': opts['cacheuser'],
|
|
166
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
167
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
168
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
169
|
-
'transactionid': opts['transactionid']
|
|
170
|
-
};
|
|
171
|
-
var formParams = {};
|
|
172
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
173
|
-
var contentTypes = [];
|
|
174
|
-
var accepts = ['application/json'];
|
|
175
|
-
var returnType = _GetFunctionResponse["default"];
|
|
176
|
-
return this.apiClient.callApi('/graph/data/functions/relationshiptype/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Adds a method to an relationship type
|
|
181
|
-
* Adds a method to a relationship type
|
|
182
|
-
* @param {Number} reltypeid
|
|
183
|
-
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
184
|
-
* @param {Object} opts Optional parameters
|
|
185
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
186
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
187
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
188
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
189
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
190
|
-
* @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)
|
|
191
|
-
* @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
|
|
192
|
-
* @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
|
|
193
|
-
* @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
|
|
194
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
195
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
196
|
-
*/
|
|
197
|
-
}, {
|
|
198
|
-
key: "addMethodToRelationshipType",
|
|
199
|
-
value: function addMethodToRelationshipType(reltypeid, createFunctionInput, opts) {
|
|
200
|
-
return this.addMethodToRelationshipTypeWithHttpInfo(reltypeid, createFunctionInput, opts).then(function (response_and_data) {
|
|
201
|
-
return response_and_data.data;
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @param {Number} id
|
|
207
|
-
* @param {Object} opts Optional parameters
|
|
208
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
209
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
210
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
211
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
212
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
213
|
-
* @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)
|
|
214
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
215
|
-
* @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
|
|
216
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
217
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
218
|
-
* @param {String} [body]
|
|
219
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
220
|
-
*/
|
|
221
|
-
}, {
|
|
222
|
-
key: "addStartObjectTypesWithHttpInfo",
|
|
223
|
-
value: function addStartObjectTypesWithHttpInfo(id, opts) {
|
|
224
|
-
opts = opts || {};
|
|
225
|
-
var postBody = opts['body'];
|
|
226
|
-
// verify the required parameter 'id' is set
|
|
227
|
-
if (id === undefined || id === null) {
|
|
228
|
-
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
229
|
-
}
|
|
230
|
-
var pathParams = {
|
|
231
|
-
'id': id
|
|
232
|
-
};
|
|
233
|
-
var queryParams = {};
|
|
234
|
-
var headerParams = {
|
|
235
|
-
'Authorization': opts['authorization'],
|
|
236
|
-
'cacheduration': opts['cacheduration'],
|
|
237
|
-
'cachegroup': opts['cachegroup'],
|
|
238
|
-
'cachekey': opts['cachekey'],
|
|
239
|
-
'cachescope': opts['cachescope'],
|
|
240
|
-
'cacheuser': opts['cacheuser'],
|
|
241
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
242
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
243
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
244
|
-
'transactionid': opts['transactionid']
|
|
245
|
-
};
|
|
246
|
-
var formParams = {};
|
|
247
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
248
|
-
var contentTypes = ['application/json'];
|
|
249
|
-
var accepts = ['application/json'];
|
|
250
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
251
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @param {Number} id
|
|
256
|
-
* @param {Object} opts Optional parameters
|
|
257
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
258
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
259
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
260
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
261
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
262
|
-
* @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)
|
|
263
|
-
* @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
|
|
264
|
-
* @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
|
|
265
|
-
* @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
|
|
266
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
267
|
-
* @param {String} opts.body
|
|
268
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
269
|
-
*/
|
|
270
|
-
}, {
|
|
271
|
-
key: "addStartObjectTypes",
|
|
272
|
-
value: function addStartObjectTypes(id, opts) {
|
|
273
|
-
return this.addStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
274
|
-
return response_and_data.data;
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Create relationshp type
|
|
280
|
-
* Creates a new relationship type
|
|
281
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
282
|
-
* @param {Object} opts Optional parameters
|
|
283
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
284
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
285
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
286
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
287
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
288
|
-
* @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)
|
|
289
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
290
|
-
* @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
|
|
291
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
292
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
293
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
294
|
-
*/
|
|
295
|
-
}, {
|
|
296
|
-
key: "createRelationshipTypeWithHttpInfo",
|
|
297
|
-
value: function createRelationshipTypeWithHttpInfo(graphRelationshipType, opts) {
|
|
298
|
-
opts = opts || {};
|
|
299
|
-
var postBody = graphRelationshipType;
|
|
300
|
-
// verify the required parameter 'graphRelationshipType' is set
|
|
301
|
-
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
302
|
-
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
303
|
-
}
|
|
304
|
-
var pathParams = {};
|
|
305
|
-
var queryParams = {};
|
|
306
|
-
var headerParams = {
|
|
307
|
-
'Authorization': opts['authorization'],
|
|
308
|
-
'cacheduration': opts['cacheduration'],
|
|
309
|
-
'cachegroup': opts['cachegroup'],
|
|
310
|
-
'cachekey': opts['cachekey'],
|
|
311
|
-
'cachescope': opts['cachescope'],
|
|
312
|
-
'cacheuser': opts['cacheuser'],
|
|
313
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
314
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
315
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
316
|
-
'transactionid': opts['transactionid']
|
|
317
|
-
};
|
|
318
|
-
var formParams = {};
|
|
319
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
320
|
-
var contentTypes = ['application/json'];
|
|
321
|
-
var accepts = ['application/json'];
|
|
322
|
-
var returnType = _GraphRelationshipType["default"];
|
|
323
|
-
return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* Create relationshp type
|
|
328
|
-
* Creates a new relationship type
|
|
329
|
-
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
330
|
-
* @param {Object} opts Optional parameters
|
|
331
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
332
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
333
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
334
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
335
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
336
|
-
* @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)
|
|
337
|
-
* @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
|
|
338
|
-
* @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
|
|
339
|
-
* @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
|
|
340
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
341
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
342
|
-
*/
|
|
343
|
-
}, {
|
|
344
|
-
key: "createRelationshipType",
|
|
345
|
-
value: function createRelationshipType(graphRelationshipType, opts) {
|
|
346
|
-
return this.createRelationshipTypeWithHttpInfo(graphRelationshipType, opts).then(function (response_and_data) {
|
|
347
|
-
return response_and_data.data;
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Root for the API
|
|
353
|
-
* @param {Object} opts Optional parameters
|
|
354
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
355
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
356
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
357
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
358
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
359
|
-
* @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)
|
|
360
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
361
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
362
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
363
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
364
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
365
|
-
*/
|
|
366
|
-
}, {
|
|
367
|
-
key: "get10WithHttpInfo",
|
|
368
|
-
value: function get10WithHttpInfo(opts) {
|
|
369
|
-
opts = opts || {};
|
|
370
|
-
var postBody = null;
|
|
371
|
-
var pathParams = {};
|
|
372
|
-
var queryParams = {};
|
|
373
|
-
var headerParams = {
|
|
374
|
-
'Authorization': opts['authorization'],
|
|
375
|
-
'cacheduration': opts['cacheduration'],
|
|
376
|
-
'cachegroup': opts['cachegroup'],
|
|
377
|
-
'cachekey': opts['cachekey'],
|
|
378
|
-
'cachescope': opts['cachescope'],
|
|
379
|
-
'cacheuser': opts['cacheuser'],
|
|
380
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
381
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
382
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
383
|
-
'transactionid': opts['transactionid']
|
|
384
|
-
};
|
|
385
|
-
var formParams = {};
|
|
386
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
387
|
-
var contentTypes = [];
|
|
388
|
-
var accepts = ['*/*'];
|
|
389
|
-
var returnType = null;
|
|
390
|
-
return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* Root for the API
|
|
395
|
-
* @param {Object} opts Optional parameters
|
|
396
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
397
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
398
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
399
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
400
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
401
|
-
* @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)
|
|
402
|
-
* @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
|
|
403
|
-
* @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
|
|
404
|
-
* @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
|
|
405
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
406
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
407
|
-
*/
|
|
408
|
-
}, {
|
|
409
|
-
key: "get10",
|
|
410
|
-
value: function get10(opts) {
|
|
411
|
-
return this.get10WithHttpInfo(opts).then(function (response_and_data) {
|
|
412
|
-
return response_and_data.data;
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Get All Relationships By Type
|
|
418
|
-
* Returns a listing of relationships
|
|
419
|
-
* @param {Number} id The id of the relationship type we are searching for
|
|
420
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
421
|
-
* @param {Object} opts Optional parameters
|
|
422
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
423
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
424
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
425
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
426
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
427
|
-
* @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)
|
|
428
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
429
|
-
* @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
|
|
430
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
431
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
432
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
433
|
-
*/
|
|
434
|
-
}, {
|
|
435
|
-
key: "getAllRelationshipsByTypeWithHttpInfo",
|
|
436
|
-
value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
|
|
437
|
-
opts = opts || {};
|
|
438
|
-
var postBody = null;
|
|
439
|
-
// verify the required parameter 'id' is set
|
|
440
|
-
if (id === undefined || id === null) {
|
|
441
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
442
|
-
}
|
|
443
|
-
// verify the required parameter 'reltypeid' is set
|
|
444
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
445
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
446
|
-
}
|
|
447
|
-
var pathParams = {
|
|
448
|
-
'id': id,
|
|
449
|
-
'reltypeid': reltypeid
|
|
450
|
-
};
|
|
451
|
-
var queryParams = {};
|
|
452
|
-
var headerParams = {
|
|
453
|
-
'Authorization': opts['authorization'],
|
|
454
|
-
'cacheduration': opts['cacheduration'],
|
|
455
|
-
'cachegroup': opts['cachegroup'],
|
|
456
|
-
'cachekey': opts['cachekey'],
|
|
457
|
-
'cachescope': opts['cachescope'],
|
|
458
|
-
'cacheuser': opts['cacheuser'],
|
|
459
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
460
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
461
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
462
|
-
'transactionid': opts['transactionid']
|
|
463
|
-
};
|
|
464
|
-
var formParams = {};
|
|
465
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
466
|
-
var contentTypes = [];
|
|
467
|
-
var accepts = ['application/json'];
|
|
468
|
-
var returnType = [_GraphRelationship["default"]];
|
|
469
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Get All Relationships By Type
|
|
474
|
-
* Returns a listing of relationships
|
|
475
|
-
* @param {Number} id The id of the relationship type we are searching for
|
|
476
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
477
|
-
* @param {Object} opts Optional parameters
|
|
478
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
479
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
480
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
481
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
482
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
483
|
-
* @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)
|
|
484
|
-
* @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
|
-
* @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
|
-
* @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
|
-
* @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 Array.<module:model/GraphRelationship>}
|
|
489
|
-
*/
|
|
490
|
-
}, {
|
|
491
|
-
key: "getAllRelationshipsByType",
|
|
492
|
-
value: function getAllRelationshipsByType(id, reltypeid, opts) {
|
|
493
|
-
return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
494
|
-
return response_and_data.data;
|
|
495
|
-
});
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Retrieves the end object types on the relationship type
|
|
500
|
-
* @param {Number} id
|
|
501
|
-
* @param {Object} opts Optional parameters
|
|
502
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
503
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
504
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
505
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
506
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
507
|
-
* @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)
|
|
508
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
509
|
-
* @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
|
|
510
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
511
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
512
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
513
|
-
*/
|
|
514
|
-
}, {
|
|
515
|
-
key: "getEndObjectTypesWithHttpInfo",
|
|
516
|
-
value: function getEndObjectTypesWithHttpInfo(id, opts) {
|
|
517
|
-
opts = opts || {};
|
|
518
|
-
var postBody = null;
|
|
519
|
-
// verify the required parameter 'id' is set
|
|
520
|
-
if (id === undefined || id === null) {
|
|
521
|
-
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
|
|
522
|
-
}
|
|
523
|
-
var pathParams = {
|
|
524
|
-
'id': id
|
|
525
|
-
};
|
|
526
|
-
var queryParams = {};
|
|
527
|
-
var headerParams = {
|
|
528
|
-
'Authorization': opts['authorization'],
|
|
529
|
-
'cacheduration': opts['cacheduration'],
|
|
530
|
-
'cachegroup': opts['cachegroup'],
|
|
531
|
-
'cachekey': opts['cachekey'],
|
|
532
|
-
'cachescope': opts['cachescope'],
|
|
533
|
-
'cacheuser': opts['cacheuser'],
|
|
534
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
535
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
536
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
537
|
-
'transactionid': opts['transactionid']
|
|
538
|
-
};
|
|
539
|
-
var formParams = {};
|
|
540
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
541
|
-
var contentTypes = [];
|
|
542
|
-
var accepts = ['application/json'];
|
|
543
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
544
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Retrieves the end object types on the relationship type
|
|
549
|
-
* @param {Number} id
|
|
550
|
-
* @param {Object} opts Optional parameters
|
|
551
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
552
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
553
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
554
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
555
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
556
|
-
* @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)
|
|
557
|
-
* @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
|
|
558
|
-
* @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
|
|
559
|
-
* @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
|
|
560
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
561
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
562
|
-
*/
|
|
563
|
-
}, {
|
|
564
|
-
key: "getEndObjectTypes",
|
|
565
|
-
value: function getEndObjectTypes(id, opts) {
|
|
566
|
-
return this.getEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
567
|
-
return response_and_data.data;
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* @param {Number} id
|
|
573
|
-
* @param {Object} opts Optional parameters
|
|
574
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
575
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
576
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
577
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
578
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
579
|
-
* @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)
|
|
580
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
581
|
-
* @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
|
|
582
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
583
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
584
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
585
|
-
*/
|
|
586
|
-
}, {
|
|
587
|
-
key: "getFields2WithHttpInfo",
|
|
588
|
-
value: function getFields2WithHttpInfo(id, opts) {
|
|
589
|
-
opts = opts || {};
|
|
590
|
-
var postBody = null;
|
|
591
|
-
// verify the required parameter 'id' is set
|
|
592
|
-
if (id === undefined || id === null) {
|
|
593
|
-
throw new Error("Missing the required parameter 'id' when calling getFields2");
|
|
594
|
-
}
|
|
595
|
-
var pathParams = {
|
|
596
|
-
'id': id
|
|
597
|
-
};
|
|
598
|
-
var queryParams = {};
|
|
599
|
-
var headerParams = {
|
|
600
|
-
'Authorization': opts['authorization'],
|
|
601
|
-
'cacheduration': opts['cacheduration'],
|
|
602
|
-
'cachegroup': opts['cachegroup'],
|
|
603
|
-
'cachekey': opts['cachekey'],
|
|
604
|
-
'cachescope': opts['cachescope'],
|
|
605
|
-
'cacheuser': opts['cacheuser'],
|
|
606
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
607
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
608
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
609
|
-
'transactionid': opts['transactionid']
|
|
610
|
-
};
|
|
611
|
-
var formParams = {};
|
|
612
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
613
|
-
var contentTypes = [];
|
|
614
|
-
var accepts = ['application/json'];
|
|
615
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
616
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* @param {Number} id
|
|
621
|
-
* @param {Object} opts Optional parameters
|
|
622
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
623
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
624
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
625
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
626
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
627
|
-
* @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)
|
|
628
|
-
* @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
|
|
629
|
-
* @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
|
|
630
|
-
* @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
|
|
631
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
632
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
633
|
-
*/
|
|
634
|
-
}, {
|
|
635
|
-
key: "getFields2",
|
|
636
|
-
value: function getFields2(id, opts) {
|
|
637
|
-
return this.getFields2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
638
|
-
return response_and_data.data;
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Gets the relationship type by the java classname
|
|
644
|
-
* @param {String} classname
|
|
645
|
-
* @param {Object} opts Optional parameters
|
|
646
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
647
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
648
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
649
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
650
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
651
|
-
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
652
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
653
|
-
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
654
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
655
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
656
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
657
|
-
*/
|
|
658
|
-
}, {
|
|
659
|
-
key: "getRelationshipTypeByClassNameWithHttpInfo",
|
|
660
|
-
value: function getRelationshipTypeByClassNameWithHttpInfo(classname, opts) {
|
|
661
|
-
opts = opts || {};
|
|
662
|
-
var postBody = null;
|
|
663
|
-
// verify the required parameter 'classname' is set
|
|
664
|
-
if (classname === undefined || classname === null) {
|
|
665
|
-
throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
|
|
666
|
-
}
|
|
667
|
-
var pathParams = {
|
|
668
|
-
'classname': classname
|
|
669
|
-
};
|
|
670
|
-
var queryParams = {};
|
|
671
|
-
var headerParams = {
|
|
672
|
-
'Authorization': opts['authorization'],
|
|
673
|
-
'cacheduration': opts['cacheduration'],
|
|
674
|
-
'cachegroup': opts['cachegroup'],
|
|
675
|
-
'cachekey': opts['cachekey'],
|
|
676
|
-
'cachescope': opts['cachescope'],
|
|
677
|
-
'cacheuser': opts['cacheuser'],
|
|
678
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
679
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
680
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
681
|
-
'transactionid': opts['transactionid']
|
|
682
|
-
};
|
|
683
|
-
var formParams = {};
|
|
684
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
685
|
-
var contentTypes = [];
|
|
686
|
-
var accepts = ['*/*'];
|
|
687
|
-
var returnType = _GraphRelationshipType["default"];
|
|
688
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* Gets the relationship type by the java classname
|
|
693
|
-
* @param {String} classname
|
|
694
|
-
* @param {Object} opts Optional parameters
|
|
695
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
696
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
697
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
698
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
699
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
700
|
-
* @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)
|
|
701
|
-
* @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
|
|
702
|
-
* @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
|
|
703
|
-
* @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
|
|
704
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
705
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
706
|
-
*/
|
|
707
|
-
}, {
|
|
708
|
-
key: "getRelationshipTypeByClassName",
|
|
709
|
-
value: function getRelationshipTypeByClassName(classname, opts) {
|
|
710
|
-
return this.getRelationshipTypeByClassNameWithHttpInfo(classname, opts).then(function (response_and_data) {
|
|
711
|
-
return response_and_data.data;
|
|
712
|
-
});
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* Gets the relationship type by key
|
|
717
|
-
* @param {String} id
|
|
718
|
-
* @param {Object} opts Optional parameters
|
|
719
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
720
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
721
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
722
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
723
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
724
|
-
* @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)
|
|
725
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
726
|
-
* @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
|
|
727
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
728
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
729
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
730
|
-
*/
|
|
731
|
-
}, {
|
|
732
|
-
key: "getRelationshipTypeByIdWithHttpInfo",
|
|
733
|
-
value: function getRelationshipTypeByIdWithHttpInfo(id, opts) {
|
|
734
|
-
opts = opts || {};
|
|
735
|
-
var postBody = null;
|
|
736
|
-
// verify the required parameter 'id' is set
|
|
737
|
-
if (id === undefined || id === null) {
|
|
738
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
739
|
-
}
|
|
740
|
-
var pathParams = {
|
|
741
|
-
'id': id
|
|
742
|
-
};
|
|
743
|
-
var queryParams = {};
|
|
744
|
-
var headerParams = {
|
|
745
|
-
'Authorization': opts['authorization'],
|
|
746
|
-
'cacheduration': opts['cacheduration'],
|
|
747
|
-
'cachegroup': opts['cachegroup'],
|
|
748
|
-
'cachekey': opts['cachekey'],
|
|
749
|
-
'cachescope': opts['cachescope'],
|
|
750
|
-
'cacheuser': opts['cacheuser'],
|
|
751
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
752
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
753
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
754
|
-
'transactionid': opts['transactionid']
|
|
755
|
-
};
|
|
756
|
-
var formParams = {};
|
|
757
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
758
|
-
var contentTypes = [];
|
|
759
|
-
var accepts = ['application/json'];
|
|
760
|
-
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
761
|
-
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* Gets the relationship type by key
|
|
766
|
-
* @param {String} id
|
|
767
|
-
* @param {Object} opts Optional parameters
|
|
768
|
-
* @param {String} opts.authorization The authorization token of the logged in user
|
|
769
|
-
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
770
|
-
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
771
|
-
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
772
|
-
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
773
|
-
* @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)
|
|
774
|
-
* @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
|
|
775
|
-
* @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
|
|
776
|
-
* @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
|
|
777
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
778
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
779
|
-
*/
|
|
780
|
-
}, {
|
|
781
|
-
key: "getRelationshipTypeById",
|
|
782
|
-
value: function getRelationshipTypeById(id, opts) {
|
|
783
|
-
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
784
|
-
return response_and_data.data;
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Gets the relationship type by key
|
|
790
|
-
* @param {String} key
|
|
791
|
-
* @param {Object} opts Optional parameters
|
|
792
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
793
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
794
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
795
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
796
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
797
|
-
* @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)
|
|
798
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
799
|
-
* @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
|
|
800
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
801
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
802
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
803
|
-
*/
|
|
804
|
-
}, {
|
|
805
|
-
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
806
|
-
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
807
|
-
opts = opts || {};
|
|
808
|
-
var postBody = null;
|
|
809
|
-
// verify the required parameter 'key' is set
|
|
810
|
-
if (key === undefined || key === null) {
|
|
811
|
-
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
73
|
+
opts = opts || {};
|
|
74
|
+
var postBody = createFunctionInput;
|
|
75
|
+
// verify the required parameter 'reltypeid' is set
|
|
76
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling addMethodToRelationshipType");
|
|
78
|
+
}
|
|
79
|
+
// verify the required parameter 'createFunctionInput' is set
|
|
80
|
+
if (createFunctionInput === undefined || createFunctionInput === null) {
|
|
81
|
+
throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToRelationshipType");
|
|
812
82
|
}
|
|
813
83
|
var pathParams = {
|
|
814
|
-
'
|
|
84
|
+
'reltypeid': reltypeid
|
|
815
85
|
};
|
|
816
|
-
var queryParams = {
|
|
817
|
-
var headerParams = {
|
|
818
|
-
'Authorization': opts['authorization'],
|
|
86
|
+
var queryParams = {
|
|
819
87
|
'cacheduration': opts['cacheduration'],
|
|
820
|
-
'cachegroup': opts['cachegroup'],
|
|
821
|
-
'cachekey': opts['cachekey'],
|
|
88
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
89
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
822
90
|
'cachescope': opts['cachescope'],
|
|
823
|
-
'cacheuser': opts['cacheuser'],
|
|
91
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
92
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
93
|
+
};
|
|
94
|
+
var headerParams = {
|
|
95
|
+
'Authorization': opts['authorization'],
|
|
824
96
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
825
97
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
826
98
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -830,13 +102,15 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
830
102
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
831
103
|
var contentTypes = [];
|
|
832
104
|
var accepts = ['application/json'];
|
|
833
|
-
var returnType =
|
|
834
|
-
return this.apiClient.callApi('/
|
|
105
|
+
var returnType = _GetFunctionResponse["default"];
|
|
106
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
835
107
|
}
|
|
836
108
|
|
|
837
109
|
/**
|
|
838
|
-
*
|
|
839
|
-
*
|
|
110
|
+
* Adds a method to an relationship type
|
|
111
|
+
* Adds a method to a relationship type
|
|
112
|
+
* @param {Number} reltypeid
|
|
113
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
840
114
|
* @param {Object} opts Optional parameters
|
|
841
115
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
842
116
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -844,24 +118,25 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
844
118
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
845
119
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
846
120
|
* @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)
|
|
121
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
847
122
|
* @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
|
|
848
123
|
* @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
|
|
849
124
|
* @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
|
|
850
125
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
851
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
126
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
852
127
|
*/
|
|
853
128
|
}, {
|
|
854
|
-
key: "
|
|
855
|
-
value: function
|
|
856
|
-
return this.
|
|
129
|
+
key: "addMethodToRelationshipType",
|
|
130
|
+
value: function addMethodToRelationshipType(reltypeid, createFunctionInput, opts) {
|
|
131
|
+
return this.addMethodToRelationshipTypeWithHttpInfo(reltypeid, createFunctionInput, opts).then(function (response_and_data) {
|
|
857
132
|
return response_and_data.data;
|
|
858
133
|
});
|
|
859
134
|
}
|
|
860
135
|
|
|
861
136
|
/**
|
|
862
|
-
*
|
|
863
|
-
*
|
|
864
|
-
* @param {
|
|
137
|
+
* Create Graph Relationship Type
|
|
138
|
+
* Creates a new graph relationship type
|
|
139
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
865
140
|
* @param {Object} opts Optional parameters
|
|
866
141
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
867
142
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -869,32 +144,33 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
869
144
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
870
145
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
871
146
|
* @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)
|
|
147
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
872
148
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
873
149
|
* @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
|
|
874
150
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
875
151
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
876
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
152
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
877
153
|
*/
|
|
878
154
|
}, {
|
|
879
|
-
key: "
|
|
880
|
-
value: function
|
|
155
|
+
key: "createRelationshipTypeWithHttpInfo",
|
|
156
|
+
value: function createRelationshipTypeWithHttpInfo(graphRelationshipTypeInput, opts) {
|
|
881
157
|
opts = opts || {};
|
|
882
|
-
var postBody =
|
|
883
|
-
// verify the required parameter '
|
|
884
|
-
if (
|
|
885
|
-
throw new Error("Missing the required parameter '
|
|
158
|
+
var postBody = graphRelationshipTypeInput;
|
|
159
|
+
// verify the required parameter 'graphRelationshipTypeInput' is set
|
|
160
|
+
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
161
|
+
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling createRelationshipType");
|
|
886
162
|
}
|
|
887
|
-
var pathParams = {
|
|
888
|
-
|
|
163
|
+
var pathParams = {};
|
|
164
|
+
var queryParams = {
|
|
165
|
+
'cacheduration': opts['cacheduration'],
|
|
166
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
167
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
168
|
+
'cachescope': opts['cachescope'],
|
|
169
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
170
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
889
171
|
};
|
|
890
|
-
var queryParams = {};
|
|
891
172
|
var headerParams = {
|
|
892
173
|
'Authorization': opts['authorization'],
|
|
893
|
-
'cacheduration': opts['cacheduration'],
|
|
894
|
-
'cachegroup': opts['cachegroup'],
|
|
895
|
-
'cachekey': opts['cachekey'],
|
|
896
|
-
'cachescope': opts['cachescope'],
|
|
897
|
-
'cacheuser': opts['cacheuser'],
|
|
898
174
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
899
175
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
900
176
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -904,14 +180,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
904
180
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
905
181
|
var contentTypes = [];
|
|
906
182
|
var accepts = ['application/json'];
|
|
907
|
-
var returnType =
|
|
908
|
-
return this.apiClient.callApi('/
|
|
183
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
184
|
+
return this.apiClient.callApi('/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
909
185
|
}
|
|
910
186
|
|
|
911
187
|
/**
|
|
912
|
-
*
|
|
913
|
-
*
|
|
914
|
-
* @param {
|
|
188
|
+
* Create Graph Relationship Type
|
|
189
|
+
* Creates a new graph relationship type
|
|
190
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
915
191
|
* @param {Object} opts Optional parameters
|
|
916
192
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
917
193
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -919,25 +195,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
919
195
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
920
196
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
921
197
|
* @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)
|
|
198
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
922
199
|
* @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
|
|
923
200
|
* @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
|
|
924
201
|
* @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
|
|
925
202
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
926
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
203
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
927
204
|
*/
|
|
928
205
|
}, {
|
|
929
|
-
key: "
|
|
930
|
-
value: function
|
|
931
|
-
return this.
|
|
206
|
+
key: "createRelationshipType",
|
|
207
|
+
value: function createRelationshipType(graphRelationshipTypeInput, opts) {
|
|
208
|
+
return this.createRelationshipTypeWithHttpInfo(graphRelationshipTypeInput, opts).then(function (response_and_data) {
|
|
932
209
|
return response_and_data.data;
|
|
933
210
|
});
|
|
934
211
|
}
|
|
935
212
|
|
|
936
213
|
/**
|
|
937
|
-
* Get
|
|
938
|
-
* Returns a listing of relationships
|
|
939
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
940
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
214
|
+
* Get all relationship types
|
|
941
215
|
* @param {Object} opts Optional parameters
|
|
942
216
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
943
217
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -945,37 +219,29 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
945
219
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
946
220
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
947
221
|
* @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)
|
|
222
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
948
223
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
949
224
|
* @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
|
|
950
225
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
951
226
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
952
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/
|
|
227
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipTypeResponse>} and HTTP response
|
|
953
228
|
*/
|
|
954
229
|
}, {
|
|
955
|
-
key: "
|
|
956
|
-
value: function
|
|
230
|
+
key: "getAllRelationshipTypesWithHttpInfo",
|
|
231
|
+
value: function getAllRelationshipTypesWithHttpInfo(opts) {
|
|
957
232
|
opts = opts || {};
|
|
958
233
|
var postBody = null;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
var pathParams = {
|
|
968
|
-
'id': id,
|
|
969
|
-
'reltypeid': reltypeid
|
|
234
|
+
var pathParams = {};
|
|
235
|
+
var queryParams = {
|
|
236
|
+
'cacheduration': opts['cacheduration'],
|
|
237
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
238
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
239
|
+
'cachescope': opts['cachescope'],
|
|
240
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
241
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
970
242
|
};
|
|
971
|
-
var queryParams = {};
|
|
972
243
|
var headerParams = {
|
|
973
244
|
'Authorization': opts['authorization'],
|
|
974
|
-
'cacheduration': opts['cacheduration'],
|
|
975
|
-
'cachegroup': opts['cachegroup'],
|
|
976
|
-
'cachekey': opts['cachekey'],
|
|
977
|
-
'cachescope': opts['cachescope'],
|
|
978
|
-
'cacheuser': opts['cacheuser'],
|
|
979
245
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
980
246
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
981
247
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -985,15 +251,12 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
985
251
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
986
252
|
var contentTypes = [];
|
|
987
253
|
var accepts = ['application/json'];
|
|
988
|
-
var returnType = [
|
|
989
|
-
return this.apiClient.callApi('/
|
|
254
|
+
var returnType = [_GraphRelationshipTypeResponse["default"]];
|
|
255
|
+
return this.apiClient.callApi('/relationshiptype/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
990
256
|
}
|
|
991
257
|
|
|
992
258
|
/**
|
|
993
|
-
* Get
|
|
994
|
-
* Returns a listing of relationships
|
|
995
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
996
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
259
|
+
* Get all relationship types
|
|
997
260
|
* @param {Object} opts Optional parameters
|
|
998
261
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
999
262
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1001,25 +264,26 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1001
264
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1002
265
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1003
266
|
* @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)
|
|
267
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1004
268
|
* @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
|
|
1005
269
|
* @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
|
|
1006
270
|
* @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
|
|
1007
271
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1008
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/
|
|
272
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipTypeResponse>}
|
|
1009
273
|
*/
|
|
1010
274
|
}, {
|
|
1011
|
-
key: "
|
|
1012
|
-
value: function
|
|
1013
|
-
return this.
|
|
275
|
+
key: "getAllRelationshipTypes",
|
|
276
|
+
value: function getAllRelationshipTypes(opts) {
|
|
277
|
+
return this.getAllRelationshipTypesWithHttpInfo(opts).then(function (response_and_data) {
|
|
1014
278
|
return response_and_data.data;
|
|
1015
279
|
});
|
|
1016
280
|
}
|
|
1017
281
|
|
|
1018
282
|
/**
|
|
1019
|
-
* Get
|
|
283
|
+
* Get All Relationships By Type
|
|
1020
284
|
* Returns a listing of relationships
|
|
1021
|
-
* @param {Number} id
|
|
1022
|
-
* @param {Number} reltypeid
|
|
285
|
+
* @param {Number} id
|
|
286
|
+
* @param {Number} reltypeid
|
|
1023
287
|
* @param {Object} opts Optional parameters
|
|
1024
288
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1025
289
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1027,37 +291,40 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1027
291
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1028
292
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1029
293
|
* @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)
|
|
294
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1030
295
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1031
296
|
* @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
|
|
1032
297
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1033
298
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1034
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/
|
|
299
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
1035
300
|
*/
|
|
1036
301
|
}, {
|
|
1037
|
-
key: "
|
|
1038
|
-
value: function
|
|
302
|
+
key: "getAllRelationshipsByTypeWithHttpInfo",
|
|
303
|
+
value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
|
|
1039
304
|
opts = opts || {};
|
|
1040
305
|
var postBody = null;
|
|
1041
306
|
// verify the required parameter 'id' is set
|
|
1042
307
|
if (id === undefined || id === null) {
|
|
1043
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
308
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
1044
309
|
}
|
|
1045
310
|
// verify the required parameter 'reltypeid' is set
|
|
1046
311
|
if (reltypeid === undefined || reltypeid === null) {
|
|
1047
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling
|
|
312
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
1048
313
|
}
|
|
1049
314
|
var pathParams = {
|
|
1050
315
|
'id': id,
|
|
1051
316
|
'reltypeid': reltypeid
|
|
1052
317
|
};
|
|
1053
|
-
var queryParams = {
|
|
1054
|
-
var headerParams = {
|
|
1055
|
-
'Authorization': opts['authorization'],
|
|
318
|
+
var queryParams = {
|
|
1056
319
|
'cacheduration': opts['cacheduration'],
|
|
1057
|
-
'cachegroup': opts['cachegroup'],
|
|
1058
|
-
'cachekey': opts['cachekey'],
|
|
320
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
321
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1059
322
|
'cachescope': opts['cachescope'],
|
|
1060
|
-
'cacheuser': opts['cacheuser'],
|
|
323
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
324
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
325
|
+
};
|
|
326
|
+
var headerParams = {
|
|
327
|
+
'Authorization': opts['authorization'],
|
|
1061
328
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1062
329
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1063
330
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1067,15 +334,15 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1067
334
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1068
335
|
var contentTypes = [];
|
|
1069
336
|
var accepts = ['application/json'];
|
|
1070
|
-
var returnType = [
|
|
1071
|
-
return this.apiClient.callApi('/
|
|
337
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
338
|
+
return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1072
339
|
}
|
|
1073
340
|
|
|
1074
341
|
/**
|
|
1075
|
-
* Get
|
|
342
|
+
* Get All Relationships By Type
|
|
1076
343
|
* Returns a listing of relationships
|
|
1077
|
-
* @param {Number} id
|
|
1078
|
-
* @param {Number} reltypeid
|
|
344
|
+
* @param {Number} id
|
|
345
|
+
* @param {Number} reltypeid
|
|
1079
346
|
* @param {Object} opts Optional parameters
|
|
1080
347
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1081
348
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1083,23 +350,24 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1083
350
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1084
351
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1085
352
|
* @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)
|
|
353
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1086
354
|
* @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
|
|
1087
355
|
* @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
|
|
1088
356
|
* @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
|
|
1089
357
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1090
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/
|
|
358
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1091
359
|
*/
|
|
1092
360
|
}, {
|
|
1093
|
-
key: "
|
|
1094
|
-
value: function
|
|
1095
|
-
return this.
|
|
361
|
+
key: "getAllRelationshipsByType",
|
|
362
|
+
value: function getAllRelationshipsByType(id, reltypeid, opts) {
|
|
363
|
+
return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1096
364
|
return response_and_data.data;
|
|
1097
365
|
});
|
|
1098
366
|
}
|
|
1099
367
|
|
|
1100
368
|
/**
|
|
1101
|
-
* Get Relationship
|
|
1102
|
-
*
|
|
369
|
+
* Get Graph Relationship Type
|
|
370
|
+
* Returns the graph relationship type with the given id
|
|
1103
371
|
* @param {Number} id
|
|
1104
372
|
* @param {Object} opts Optional parameters
|
|
1105
373
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1108,32 +376,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1108
376
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1109
377
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1110
378
|
* @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)
|
|
379
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1111
380
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1112
381
|
* @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
|
|
1113
382
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1114
383
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1115
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
384
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
1116
385
|
*/
|
|
1117
386
|
}, {
|
|
1118
|
-
key: "
|
|
1119
|
-
value: function
|
|
387
|
+
key: "getRelationshipTypeByIdWithHttpInfo",
|
|
388
|
+
value: function getRelationshipTypeByIdWithHttpInfo(id, opts) {
|
|
1120
389
|
opts = opts || {};
|
|
1121
390
|
var postBody = null;
|
|
1122
391
|
// verify the required parameter 'id' is set
|
|
1123
392
|
if (id === undefined || id === null) {
|
|
1124
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
393
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
1125
394
|
}
|
|
1126
395
|
var pathParams = {
|
|
1127
396
|
'id': id
|
|
1128
397
|
};
|
|
1129
|
-
var queryParams = {
|
|
1130
|
-
var headerParams = {
|
|
1131
|
-
'Authorization': opts['authorization'],
|
|
398
|
+
var queryParams = {
|
|
1132
399
|
'cacheduration': opts['cacheduration'],
|
|
1133
|
-
'cachegroup': opts['cachegroup'],
|
|
1134
|
-
'cachekey': opts['cachekey'],
|
|
400
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
401
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1135
402
|
'cachescope': opts['cachescope'],
|
|
1136
|
-
'cacheuser': opts['cacheuser'],
|
|
403
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
404
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
405
|
+
};
|
|
406
|
+
var headerParams = {
|
|
407
|
+
'Authorization': opts['authorization'],
|
|
1137
408
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1138
409
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1139
410
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1143,13 +414,13 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1143
414
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1144
415
|
var contentTypes = [];
|
|
1145
416
|
var accepts = ['application/json'];
|
|
1146
|
-
var returnType = [
|
|
1147
|
-
return this.apiClient.callApi('/
|
|
417
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
418
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1148
419
|
}
|
|
1149
420
|
|
|
1150
421
|
/**
|
|
1151
|
-
* Get Relationship
|
|
1152
|
-
*
|
|
422
|
+
* Get Graph Relationship Type
|
|
423
|
+
* Returns the graph relationship type with the given id
|
|
1153
424
|
* @param {Number} id
|
|
1154
425
|
* @param {Object} opts Optional parameters
|
|
1155
426
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -1158,23 +429,25 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1158
429
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1159
430
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1160
431
|
* @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)
|
|
432
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1161
433
|
* @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
|
|
1162
434
|
* @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
|
|
1163
435
|
* @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
|
|
1164
436
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1165
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
437
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
1166
438
|
*/
|
|
1167
439
|
}, {
|
|
1168
|
-
key: "
|
|
1169
|
-
value: function
|
|
1170
|
-
return this.
|
|
440
|
+
key: "getRelationshipTypeById",
|
|
441
|
+
value: function getRelationshipTypeById(id, opts) {
|
|
442
|
+
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1171
443
|
return response_and_data.data;
|
|
1172
444
|
});
|
|
1173
445
|
}
|
|
1174
446
|
|
|
1175
447
|
/**
|
|
1176
|
-
*
|
|
1177
|
-
*
|
|
448
|
+
* Get Graph Relationship Type
|
|
449
|
+
* Returns the graph relationship type with the given key
|
|
450
|
+
* @param {String} key
|
|
1178
451
|
* @param {Object} opts Optional parameters
|
|
1179
452
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1180
453
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1182,32 +455,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1182
455
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1183
456
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1184
457
|
* @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)
|
|
458
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1185
459
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1186
460
|
* @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
|
|
1187
461
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1188
462
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1189
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
463
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
1190
464
|
*/
|
|
1191
465
|
}, {
|
|
1192
|
-
key: "
|
|
1193
|
-
value: function
|
|
466
|
+
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
467
|
+
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
1194
468
|
opts = opts || {};
|
|
1195
469
|
var postBody = null;
|
|
1196
|
-
// verify the required parameter '
|
|
1197
|
-
if (
|
|
1198
|
-
throw new Error("Missing the required parameter '
|
|
470
|
+
// verify the required parameter 'key' is set
|
|
471
|
+
if (key === undefined || key === null) {
|
|
472
|
+
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
1199
473
|
}
|
|
1200
474
|
var pathParams = {
|
|
1201
|
-
'
|
|
475
|
+
'key': key
|
|
1202
476
|
};
|
|
1203
|
-
var queryParams = {
|
|
1204
|
-
var headerParams = {
|
|
1205
|
-
'Authorization': opts['authorization'],
|
|
477
|
+
var queryParams = {
|
|
1206
478
|
'cacheduration': opts['cacheduration'],
|
|
1207
|
-
'cachegroup': opts['cachegroup'],
|
|
1208
|
-
'cachekey': opts['cachekey'],
|
|
479
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
480
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1209
481
|
'cachescope': opts['cachescope'],
|
|
1210
|
-
'cacheuser': opts['cacheuser'],
|
|
482
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
483
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
484
|
+
};
|
|
485
|
+
var headerParams = {
|
|
486
|
+
'Authorization': opts['authorization'],
|
|
1211
487
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1212
488
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1213
489
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1217,13 +493,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1217
493
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1218
494
|
var contentTypes = [];
|
|
1219
495
|
var accepts = ['application/json'];
|
|
1220
|
-
var returnType =
|
|
1221
|
-
return this.apiClient.callApi('/
|
|
496
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
497
|
+
return this.apiClient.callApi('/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1222
498
|
}
|
|
1223
499
|
|
|
1224
500
|
/**
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
501
|
+
* Get Graph Relationship Type
|
|
502
|
+
* Returns the graph relationship type with the given key
|
|
503
|
+
* @param {String} key
|
|
1227
504
|
* @param {Object} opts Optional parameters
|
|
1228
505
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1229
506
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1231,21 +508,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1231
508
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1232
509
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1233
510
|
* @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)
|
|
511
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1234
512
|
* @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
|
|
1235
513
|
* @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
|
|
1236
514
|
* @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
|
|
1237
515
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1238
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
516
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
1239
517
|
*/
|
|
1240
518
|
}, {
|
|
1241
|
-
key: "
|
|
1242
|
-
value: function
|
|
1243
|
-
return this.
|
|
519
|
+
key: "getRelationshipTypeByKey",
|
|
520
|
+
value: function getRelationshipTypeByKey(key, opts) {
|
|
521
|
+
return this.getRelationshipTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
1244
522
|
return response_and_data.data;
|
|
1245
523
|
});
|
|
1246
524
|
}
|
|
1247
525
|
|
|
1248
526
|
/**
|
|
527
|
+
* Get relationship type fields
|
|
1249
528
|
* @param {Number} id
|
|
1250
529
|
* @param {Object} opts Optional parameters
|
|
1251
530
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -1254,33 +533,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1254
533
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1255
534
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1256
535
|
* @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)
|
|
536
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1257
537
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1258
538
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1259
539
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1260
540
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1261
|
-
* @
|
|
1262
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
541
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SkinFieldResponse>} and HTTP response
|
|
1263
542
|
*/
|
|
1264
543
|
}, {
|
|
1265
|
-
key: "
|
|
1266
|
-
value: function
|
|
544
|
+
key: "getRelationshipTypeFieldsWithHttpInfo",
|
|
545
|
+
value: function getRelationshipTypeFieldsWithHttpInfo(id, opts) {
|
|
1267
546
|
opts = opts || {};
|
|
1268
|
-
var postBody =
|
|
547
|
+
var postBody = null;
|
|
1269
548
|
// verify the required parameter 'id' is set
|
|
1270
549
|
if (id === undefined || id === null) {
|
|
1271
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
550
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeFields");
|
|
1272
551
|
}
|
|
1273
552
|
var pathParams = {
|
|
1274
553
|
'id': id
|
|
1275
554
|
};
|
|
1276
|
-
var queryParams = {
|
|
1277
|
-
var headerParams = {
|
|
1278
|
-
'Authorization': opts['authorization'],
|
|
555
|
+
var queryParams = {
|
|
1279
556
|
'cacheduration': opts['cacheduration'],
|
|
1280
|
-
'cachegroup': opts['cachegroup'],
|
|
1281
|
-
'cachekey': opts['cachekey'],
|
|
557
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
558
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1282
559
|
'cachescope': opts['cachescope'],
|
|
1283
|
-
'cacheuser': opts['cacheuser'],
|
|
560
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
561
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
562
|
+
};
|
|
563
|
+
var headerParams = {
|
|
564
|
+
'Authorization': opts['authorization'],
|
|
1284
565
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1285
566
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1286
567
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1288,13 +569,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1288
569
|
};
|
|
1289
570
|
var formParams = {};
|
|
1290
571
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1291
|
-
var contentTypes = [
|
|
572
|
+
var contentTypes = [];
|
|
1292
573
|
var accepts = ['application/json'];
|
|
1293
|
-
var returnType =
|
|
1294
|
-
return this.apiClient.callApi('/
|
|
574
|
+
var returnType = [_SkinFieldResponse["default"]];
|
|
575
|
+
return this.apiClient.callApi('/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1295
576
|
}
|
|
1296
577
|
|
|
1297
578
|
/**
|
|
579
|
+
* Get relationship type fields
|
|
1298
580
|
* @param {Number} id
|
|
1299
581
|
* @param {Object} opts Optional parameters
|
|
1300
582
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -1303,23 +585,25 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1303
585
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1304
586
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1305
587
|
* @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)
|
|
588
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1306
589
|
* @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
|
|
1307
590
|
* @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
|
|
1308
591
|
* @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
|
|
1309
592
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1310
|
-
* @
|
|
1311
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
593
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SkinFieldResponse>}
|
|
1312
594
|
*/
|
|
1313
595
|
}, {
|
|
1314
|
-
key: "
|
|
1315
|
-
value: function
|
|
1316
|
-
return this.
|
|
596
|
+
key: "getRelationshipTypeFields",
|
|
597
|
+
value: function getRelationshipTypeFields(id, opts) {
|
|
598
|
+
return this.getRelationshipTypeFieldsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1317
599
|
return response_and_data.data;
|
|
1318
600
|
});
|
|
1319
601
|
}
|
|
1320
602
|
|
|
1321
603
|
/**
|
|
1322
|
-
*
|
|
604
|
+
* Retrieves the methods associated with the Object Type
|
|
605
|
+
* Retrieves the methods associated with the Object Type
|
|
606
|
+
* @param {Number} reltypeid
|
|
1323
607
|
* @param {Object} opts Optional parameters
|
|
1324
608
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1325
609
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1327,33 +611,35 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1327
611
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1328
612
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1329
613
|
* @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)
|
|
614
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1330
615
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1331
616
|
* @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
|
|
1332
617
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1333
618
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1334
|
-
* @
|
|
1335
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
619
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
1336
620
|
*/
|
|
1337
621
|
}, {
|
|
1338
|
-
key: "
|
|
1339
|
-
value: function
|
|
622
|
+
key: "getRelationshipTypeMethodsWithHttpInfo",
|
|
623
|
+
value: function getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts) {
|
|
1340
624
|
opts = opts || {};
|
|
1341
|
-
var postBody =
|
|
1342
|
-
// verify the required parameter '
|
|
1343
|
-
if (
|
|
1344
|
-
throw new Error("Missing the required parameter '
|
|
625
|
+
var postBody = null;
|
|
626
|
+
// verify the required parameter 'reltypeid' is set
|
|
627
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
628
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
|
|
1345
629
|
}
|
|
1346
630
|
var pathParams = {
|
|
1347
|
-
'
|
|
631
|
+
'reltypeid': reltypeid
|
|
1348
632
|
};
|
|
1349
|
-
var queryParams = {
|
|
1350
|
-
var headerParams = {
|
|
1351
|
-
'Authorization': opts['authorization'],
|
|
633
|
+
var queryParams = {
|
|
1352
634
|
'cacheduration': opts['cacheduration'],
|
|
1353
|
-
'cachegroup': opts['cachegroup'],
|
|
1354
|
-
'cachekey': opts['cachekey'],
|
|
635
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
636
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1355
637
|
'cachescope': opts['cachescope'],
|
|
1356
|
-
'cacheuser': opts['cacheuser'],
|
|
638
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
639
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
640
|
+
};
|
|
641
|
+
var headerParams = {
|
|
642
|
+
'Authorization': opts['authorization'],
|
|
1357
643
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1358
644
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1359
645
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1361,14 +647,16 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1361
647
|
};
|
|
1362
648
|
var formParams = {};
|
|
1363
649
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1364
|
-
var contentTypes = [
|
|
650
|
+
var contentTypes = [];
|
|
1365
651
|
var accepts = ['application/json'];
|
|
1366
|
-
var returnType =
|
|
1367
|
-
return this.apiClient.callApi('/
|
|
652
|
+
var returnType = _GetFunctionResponse["default"];
|
|
653
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1368
654
|
}
|
|
1369
655
|
|
|
1370
656
|
/**
|
|
1371
|
-
*
|
|
657
|
+
* Retrieves the methods associated with the Object Type
|
|
658
|
+
* Retrieves the methods associated with the Object Type
|
|
659
|
+
* @param {Number} reltypeid
|
|
1372
660
|
* @param {Object} opts Optional parameters
|
|
1373
661
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1374
662
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1376,26 +664,26 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1376
664
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1377
665
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1378
666
|
* @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)
|
|
667
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1379
668
|
* @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
|
|
1380
669
|
* @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
|
|
1381
670
|
* @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
|
|
1382
671
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1383
|
-
* @
|
|
1384
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
672
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
1385
673
|
*/
|
|
1386
674
|
}, {
|
|
1387
|
-
key: "
|
|
1388
|
-
value: function
|
|
1389
|
-
return this.
|
|
675
|
+
key: "getRelationshipTypeMethods",
|
|
676
|
+
value: function getRelationshipTypeMethods(reltypeid, opts) {
|
|
677
|
+
return this.getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts).then(function (response_and_data) {
|
|
1390
678
|
return response_and_data.data;
|
|
1391
679
|
});
|
|
1392
680
|
}
|
|
1393
681
|
|
|
1394
682
|
/**
|
|
1395
|
-
*
|
|
1396
|
-
*
|
|
1397
|
-
* @param {Number} id
|
|
1398
|
-
* @param {
|
|
683
|
+
* Get Incoming Relationships By Type
|
|
684
|
+
* Returns a listing of relationships
|
|
685
|
+
* @param {Number} id
|
|
686
|
+
* @param {Number} reltypeid
|
|
1399
687
|
* @param {Object} opts Optional parameters
|
|
1400
688
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1401
689
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1403,36 +691,40 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1403
691
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1404
692
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1405
693
|
* @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)
|
|
694
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1406
695
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1407
696
|
* @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
|
|
1408
697
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1409
698
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1410
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
699
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
1411
700
|
*/
|
|
1412
701
|
}, {
|
|
1413
|
-
key: "
|
|
1414
|
-
value: function
|
|
702
|
+
key: "getRelationshipsByTypeInWithHttpInfo",
|
|
703
|
+
value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
|
|
1415
704
|
opts = opts || {};
|
|
1416
|
-
var postBody =
|
|
705
|
+
var postBody = null;
|
|
1417
706
|
// verify the required parameter 'id' is set
|
|
1418
707
|
if (id === undefined || id === null) {
|
|
1419
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
708
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
1420
709
|
}
|
|
1421
|
-
// verify the required parameter '
|
|
1422
|
-
if (
|
|
1423
|
-
throw new Error("Missing the required parameter '
|
|
710
|
+
// verify the required parameter 'reltypeid' is set
|
|
711
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
712
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
1424
713
|
}
|
|
1425
714
|
var pathParams = {
|
|
1426
|
-
'id': id
|
|
715
|
+
'id': id,
|
|
716
|
+
'reltypeid': reltypeid
|
|
1427
717
|
};
|
|
1428
|
-
var queryParams = {
|
|
1429
|
-
var headerParams = {
|
|
1430
|
-
'Authorization': opts['authorization'],
|
|
718
|
+
var queryParams = {
|
|
1431
719
|
'cacheduration': opts['cacheduration'],
|
|
1432
|
-
'cachegroup': opts['cachegroup'],
|
|
1433
|
-
'cachekey': opts['cachekey'],
|
|
720
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
721
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1434
722
|
'cachescope': opts['cachescope'],
|
|
1435
|
-
'cacheuser': opts['cacheuser'],
|
|
723
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
724
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
725
|
+
};
|
|
726
|
+
var headerParams = {
|
|
727
|
+
'Authorization': opts['authorization'],
|
|
1436
728
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1437
729
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1438
730
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1440,17 +732,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1440
732
|
};
|
|
1441
733
|
var formParams = {};
|
|
1442
734
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1443
|
-
var contentTypes = [
|
|
735
|
+
var contentTypes = [];
|
|
1444
736
|
var accepts = ['application/json'];
|
|
1445
|
-
var returnType =
|
|
1446
|
-
return this.apiClient.callApi('/
|
|
737
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
738
|
+
return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1447
739
|
}
|
|
1448
740
|
|
|
1449
741
|
/**
|
|
1450
|
-
*
|
|
1451
|
-
*
|
|
1452
|
-
* @param {Number} id
|
|
1453
|
-
* @param {
|
|
742
|
+
* Get Incoming Relationships By Type
|
|
743
|
+
* Returns a listing of relationships
|
|
744
|
+
* @param {Number} id
|
|
745
|
+
* @param {Number} reltypeid
|
|
1454
746
|
* @param {Object} opts Optional parameters
|
|
1455
747
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1456
748
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1458,23 +750,26 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1458
750
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1459
751
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1460
752
|
* @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)
|
|
753
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1461
754
|
* @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
|
|
1462
755
|
* @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
|
|
1463
756
|
* @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
|
|
1464
757
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1465
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
758
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1466
759
|
*/
|
|
1467
760
|
}, {
|
|
1468
|
-
key: "
|
|
1469
|
-
value: function
|
|
1470
|
-
return this.
|
|
761
|
+
key: "getRelationshipsByTypeIn",
|
|
762
|
+
value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
|
|
763
|
+
return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1471
764
|
return response_and_data.data;
|
|
1472
765
|
});
|
|
1473
766
|
}
|
|
1474
767
|
|
|
1475
768
|
/**
|
|
769
|
+
* Get Outgoing Relationships By Type
|
|
770
|
+
* Returns a listing of relationships
|
|
1476
771
|
* @param {Number} id
|
|
1477
|
-
* @param {
|
|
772
|
+
* @param {Number} reltypeid
|
|
1478
773
|
* @param {Object} opts Optional parameters
|
|
1479
774
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1480
775
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1482,36 +777,40 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1482
777
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1483
778
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1484
779
|
* @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)
|
|
780
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1485
781
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1486
782
|
* @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
|
|
1487
783
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1488
784
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1489
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
785
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
1490
786
|
*/
|
|
1491
787
|
}, {
|
|
1492
|
-
key: "
|
|
1493
|
-
value: function
|
|
788
|
+
key: "getRelationshipsByTypeOutWithHttpInfo",
|
|
789
|
+
value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
|
|
1494
790
|
opts = opts || {};
|
|
1495
|
-
var postBody =
|
|
791
|
+
var postBody = null;
|
|
1496
792
|
// verify the required parameter 'id' is set
|
|
1497
793
|
if (id === undefined || id === null) {
|
|
1498
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
794
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1499
795
|
}
|
|
1500
|
-
// verify the required parameter '
|
|
1501
|
-
if (
|
|
1502
|
-
throw new Error("Missing the required parameter '
|
|
796
|
+
// verify the required parameter 'reltypeid' is set
|
|
797
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
798
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
1503
799
|
}
|
|
1504
800
|
var pathParams = {
|
|
1505
|
-
'id': id
|
|
801
|
+
'id': id,
|
|
802
|
+
'reltypeid': reltypeid
|
|
1506
803
|
};
|
|
1507
|
-
var queryParams = {
|
|
1508
|
-
var headerParams = {
|
|
1509
|
-
'Authorization': opts['authorization'],
|
|
804
|
+
var queryParams = {
|
|
1510
805
|
'cacheduration': opts['cacheduration'],
|
|
1511
|
-
'cachegroup': opts['cachegroup'],
|
|
1512
|
-
'cachekey': opts['cachekey'],
|
|
806
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
807
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1513
808
|
'cachescope': opts['cachescope'],
|
|
1514
|
-
'cacheuser': opts['cacheuser'],
|
|
809
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
810
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
811
|
+
};
|
|
812
|
+
var headerParams = {
|
|
813
|
+
'Authorization': opts['authorization'],
|
|
1515
814
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1516
815
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1517
816
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1519,15 +818,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1519
818
|
};
|
|
1520
819
|
var formParams = {};
|
|
1521
820
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1522
|
-
var contentTypes = [
|
|
821
|
+
var contentTypes = [];
|
|
1523
822
|
var accepts = ['application/json'];
|
|
1524
|
-
var returnType =
|
|
1525
|
-
return this.apiClient.callApi('/
|
|
823
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
824
|
+
return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1526
825
|
}
|
|
1527
826
|
|
|
1528
827
|
/**
|
|
828
|
+
* Get Outgoing Relationships By Type
|
|
829
|
+
* Returns a listing of relationships
|
|
1529
830
|
* @param {Number} id
|
|
1530
|
-
* @param {
|
|
831
|
+
* @param {Number} reltypeid
|
|
1531
832
|
* @param {Object} opts Optional parameters
|
|
1532
833
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1533
834
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1535,22 +836,26 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1535
836
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1536
837
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1537
838
|
* @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)
|
|
839
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1538
840
|
* @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
|
|
1539
841
|
* @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
|
|
1540
842
|
* @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
|
|
1541
843
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1542
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
844
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1543
845
|
*/
|
|
1544
846
|
}, {
|
|
1545
|
-
key: "
|
|
1546
|
-
value: function
|
|
1547
|
-
return this.
|
|
847
|
+
key: "getRelationshipsByTypeOut",
|
|
848
|
+
value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
|
|
849
|
+
return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1548
850
|
return response_and_data.data;
|
|
1549
851
|
});
|
|
1550
852
|
}
|
|
1551
853
|
|
|
1552
854
|
/**
|
|
855
|
+
* Update Graph Relationship Type
|
|
856
|
+
* Updates the graph relationship type with the given id
|
|
1553
857
|
* @param {Number} id
|
|
858
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
1554
859
|
* @param {Object} opts Optional parameters
|
|
1555
860
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1556
861
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1558,33 +863,39 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1558
863
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1559
864
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1560
865
|
* @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)
|
|
866
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1561
867
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1562
868
|
* @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
|
|
1563
869
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1564
870
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1565
|
-
* @
|
|
1566
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
871
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
1567
872
|
*/
|
|
1568
873
|
}, {
|
|
1569
|
-
key: "
|
|
1570
|
-
value: function
|
|
874
|
+
key: "updateRelationshipTypeWithHttpInfo",
|
|
875
|
+
value: function updateRelationshipTypeWithHttpInfo(id, graphRelationshipTypeInput, opts) {
|
|
1571
876
|
opts = opts || {};
|
|
1572
|
-
var postBody =
|
|
877
|
+
var postBody = graphRelationshipTypeInput;
|
|
1573
878
|
// verify the required parameter 'id' is set
|
|
1574
879
|
if (id === undefined || id === null) {
|
|
1575
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
880
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
881
|
+
}
|
|
882
|
+
// verify the required parameter 'graphRelationshipTypeInput' is set
|
|
883
|
+
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
884
|
+
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling updateRelationshipType");
|
|
1576
885
|
}
|
|
1577
886
|
var pathParams = {
|
|
1578
887
|
'id': id
|
|
1579
888
|
};
|
|
1580
|
-
var queryParams = {
|
|
1581
|
-
var headerParams = {
|
|
1582
|
-
'Authorization': opts['authorization'],
|
|
889
|
+
var queryParams = {
|
|
1583
890
|
'cacheduration': opts['cacheduration'],
|
|
1584
|
-
'cachegroup': opts['cachegroup'],
|
|
1585
|
-
'cachekey': opts['cachekey'],
|
|
891
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
892
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1586
893
|
'cachescope': opts['cachescope'],
|
|
1587
|
-
'cacheuser': opts['cacheuser'],
|
|
894
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
895
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
896
|
+
};
|
|
897
|
+
var headerParams = {
|
|
898
|
+
'Authorization': opts['authorization'],
|
|
1588
899
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1589
900
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1590
901
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1592,14 +903,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1592
903
|
};
|
|
1593
904
|
var formParams = {};
|
|
1594
905
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1595
|
-
var contentTypes = [
|
|
906
|
+
var contentTypes = [];
|
|
1596
907
|
var accepts = ['application/json'];
|
|
1597
|
-
var returnType =
|
|
1598
|
-
return this.apiClient.callApi('/
|
|
908
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
909
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1599
910
|
}
|
|
1600
911
|
|
|
1601
912
|
/**
|
|
913
|
+
* Update Graph Relationship Type
|
|
914
|
+
* Updates the graph relationship type with the given id
|
|
1602
915
|
* @param {Number} id
|
|
916
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
1603
917
|
* @param {Object} opts Optional parameters
|
|
1604
918
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1605
919
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1607,17 +921,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1607
921
|
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1608
922
|
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
1609
923
|
* @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)
|
|
924
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
1610
925
|
* @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
|
|
1611
926
|
* @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
|
|
1612
927
|
* @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
|
|
1613
928
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1614
|
-
* @
|
|
1615
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
929
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
1616
930
|
*/
|
|
1617
931
|
}, {
|
|
1618
|
-
key: "
|
|
1619
|
-
value: function
|
|
1620
|
-
return this.
|
|
932
|
+
key: "updateRelationshipType",
|
|
933
|
+
value: function updateRelationshipType(id, graphRelationshipTypeInput, opts) {
|
|
934
|
+
return this.updateRelationshipTypeWithHttpInfo(id, graphRelationshipTypeInput, opts).then(function (response_and_data) {
|
|
1621
935
|
return response_and_data.data;
|
|
1622
936
|
});
|
|
1623
937
|
}
|