@gobodo/gobodo-api-promise 0.1.106 → 0.1.108
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 +31 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +3 -3
- package/dist/api/AdCampaignsApi.d.ts +1 -1
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.d.ts +1 -1
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.d.ts +1 -1
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.d.ts +1 -1
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.d.ts +1 -1
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.d.ts +1 -1
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.d.ts +1 -1
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.d.ts +1 -1
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.d.ts +1 -1
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/CurrencyApi.d.ts +1 -1
- package/dist/api/CurrencyApi.js +2 -2
- package/dist/api/DataSheetImportsApi.d.ts +1 -1
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.d.ts +1 -1
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentPartTypesApi.d.ts +1 -1
- package/dist/api/DocumentPartTypesApi.js +2 -2
- package/dist/api/DocumentTypesApi.d.ts +1 -1
- package/dist/api/DocumentTypesApi.js +2 -2
- package/dist/api/DocumentsApi.d.ts +1 -1
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EmailsApi.d.ts +1 -1
- package/dist/api/EmailsApi.js +2 -2
- package/dist/api/EntryPartsApi.d.ts +1 -1
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.d.ts +1 -1
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FormsApi.d.ts +1 -1
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.d.ts +1 -1
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.d.ts +1 -1
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GobodoManagementApi.d.ts +1 -1
- package/dist/api/GobodoManagementApi.js +2 -2
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.d.ts +185 -1
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +336 -7
- package/dist/api/GraphActionsApi.d.ts +1 -1
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.d.ts +463 -1
- package/dist/api/GraphObjectTypesApi.d.ts.map +1 -1
- package/dist/api/GraphObjectTypesApi.js +978 -152
- package/dist/api/GraphObjectsApi.d.ts +1 -1
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.d.ts +371 -1
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +824 -161
- package/dist/api/GraphRelationshipsApi.d.ts +1 -1
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.d.ts +277 -1
- package/dist/api/GraphSchemasApi.d.ts.map +1 -1
- package/dist/api/GraphSchemasApi.js +501 -6
- package/dist/api/GraphTraversalApi.d.ts +1 -1
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.d.ts +1 -1
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +1 -1
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.d.ts +1 -1
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.d.ts +1 -1
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.d.ts +1 -1
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.d.ts +1 -1
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.d.ts +1 -1
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.d.ts +1 -1
- package/dist/api/NotificationsApi.js +2 -2
- package/dist/api/PagesApi.d.ts +1 -1
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PasswordResetApi.d.ts +1 -1
- package/dist/api/PasswordResetApi.js +2 -2
- package/dist/api/PhoneNumbersApi.d.ts +1 -1
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.d.ts +1 -1
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.d.ts +1 -1
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.d.ts +1 -1
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.d.ts +1 -1
- package/dist/api/RestApplicationsApi.js +2 -2
- package/dist/api/ScreensApi.d.ts +1 -1
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.d.ts +1 -1
- package/dist/api/SitesApi.js +2 -2
- package/dist/api/SocialGroupsApi.d.ts +1 -1
- package/dist/api/SocialGroupsApi.js +2 -2
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.d.ts +1 -1
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TemplatesApi.d.ts +1 -1
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.d.ts +1 -1
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TopicsApi.d.ts +1 -1
- package/dist/api/TopicsApi.js +2 -2
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserManagerAdministrationApi.d.ts +1 -1
- package/dist/api/UserManagerAdministrationApi.js +2 -2
- package/dist/api/UserTagsApi.d.ts +1 -1
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.d.ts +1 -1
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.d.ts +1 -1
- package/dist/api/VideosApi.js +2 -2
- package/dist/api/WalletsApi.d.ts +1 -1
- package/dist/api/WalletsApi.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/model/APIClient.d.ts +1 -1
- package/dist/model/APIClient.js +2 -2
- 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 +1 -1
- package/dist/model/Address.js +2 -2
- package/dist/model/AddressResponse.d.ts +1 -1
- package/dist/model/AddressResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/Article.d.ts +10 -10
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +25 -25
- 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 +19 -19
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +78 -78
- 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 +1 -1
- package/dist/model/CacheInvalidation.js +2 -2
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +1 -1
- package/dist/model/Comment.js +2 -2
- 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/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 +15 -15
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +43 -43
- package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.d.ts +1 -1
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +10 -10
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +25 -25
- package/dist/model/DocumentPart.d.ts +10 -10
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +31 -31
- package/dist/model/DocumentPartType.d.ts +10 -10
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +27 -27
- package/dist/model/DocumentType.d.ts +10 -10
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +27 -27
- package/dist/model/DomainMappingInput.d.ts +1 -1
- package/dist/model/DomainMappingInput.js +2 -2
- package/dist/model/DomainMappingResponse.d.ts +1 -1
- package/dist/model/DomainMappingResponse.js +2 -2
- 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 +15 -15
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +39 -39
- package/dist/model/File.d.ts +10 -10
- package/dist/model/File.d.ts.map +1 -1
- package/dist/model/File.js +31 -31
- package/dist/model/FileAttachmentUploadObject.d.ts +10 -10
- package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
- package/dist/model/FileAttachmentUploadObject.js +31 -31
- 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 +10 -10
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +37 -37
- package/dist/model/FormSection.d.ts +10 -10
- package/dist/model/FormSection.d.ts.map +1 -1
- package/dist/model/FormSection.js +37 -37
- package/dist/model/FormSubmission.d.ts +10 -10
- package/dist/model/FormSubmission.d.ts.map +1 -1
- package/dist/model/FormSubmission.js +30 -30
- 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/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeocodeResponse.d.ts +1 -1
- package/dist/model/GeocodeResponse.js +2 -2
- 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 +11 -11
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +26 -26
- package/dist/model/GraphAction.d.ts +1 -1
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +1 -1
- package/dist/model/GraphActionResponse.js +2 -2
- package/dist/model/GraphActionTypeInput.d.ts +1 -1
- package/dist/model/GraphActionTypeInput.js +2 -2
- package/dist/model/GraphActionTypeResponse.d.ts +1 -1
- package/dist/model/GraphActionTypeResponse.js +2 -2
- package/dist/model/GraphInput.d.ts +1 -1
- package/dist/model/GraphInput.js +2 -2
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.d.ts +10 -10
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +27 -27
- package/dist/model/GraphObjectPayload.d.ts +1 -1
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectResponse.d.ts +1 -1
- package/dist/model/GraphObjectResponse.js +2 -2
- package/dist/model/GraphObjectType.d.ts +10 -10
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +27 -27
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.d.ts +10 -10
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +27 -27
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +1 -1
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.d.ts +1 -1
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipResponse.js +2 -2
- package/dist/model/GraphRelationshipType.d.ts +1 -1
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeInput.js +2 -2
- package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphResponse.d.ts +1 -1
- package/dist/model/GraphResponse.js +2 -2
- 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 +37 -1
- package/dist/model/GraphTraversalInput.d.ts.map +1 -1
- package/dist/model/GraphTraversalInput.js +190 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/IndexFilter.d.ts +69 -0
- package/dist/model/IndexFilter.d.ts.map +1 -0
- package/dist/model/IndexFilter.js +219 -0
- package/dist/model/InputPart.d.ts +15 -15
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +39 -39
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/JsonArray.d.ts +1 -1
- package/dist/model/JsonArray.js +2 -2
- package/dist/model/JsonObject.d.ts +1 -1
- package/dist/model/JsonObject.js +2 -2
- package/dist/model/JsonValue.d.ts +1 -1
- package/dist/model/JsonValue.js +2 -2
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +1 -1
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +1 -1
- package/dist/model/MediaType.js +2 -2
- 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/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 +1 -1
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.d.ts +1 -1
- package/dist/model/Member.js +2 -2
- 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 +1 -1
- package/dist/model/MemberManagerConfigInput.js +2 -2
- package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
- package/dist/model/MemberManagerConfigResponse.js +2 -2
- package/dist/model/MemberManagerInput.d.ts +1 -1
- package/dist/model/MemberManagerInput.js +2 -2
- package/dist/model/MemberManagerResponse.d.ts +1 -1
- package/dist/model/MemberManagerResponse.js +2 -2
- 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 +1 -1
- package/dist/model/MultivaluedMapStringString.js +2 -2
- 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 +9 -9
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +23 -23
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +1 -1
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.d.ts +1 -1
- package/dist/model/PageSchema.js +2 -2
- package/dist/model/Pageable.d.ts +1 -1
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
- package/dist/model/PasswordResetInitiateRequest.js +2 -2
- package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
- package/dist/model/PasswordResetInitiateResponse.js +2 -2
- package/dist/model/PasswordResetRequest.d.ts +1 -1
- package/dist/model/PasswordResetRequest.js +2 -2
- package/dist/model/PasswordResetResponse.d.ts +1 -1
- package/dist/model/PasswordResetResponse.js +2 -2
- package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
- package/dist/model/PasswordResetValidationResponse.js +2 -2
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +2 -2
- 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 +1 -1
- package/dist/model/PaymentMethod.js +2 -2
- 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 +1 -1
- package/dist/model/Payout.js +2 -2
- 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 +1 -1
- package/dist/model/PhoneNumber.js +2 -2
- package/dist/model/Post.d.ts +1 -1
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.d.ts +1 -1
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.d.ts +1 -1
- package/dist/model/PrivateMessageConversation.js +2 -2
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +1 -1
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.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 +2 -2
- package/dist/model/RelationshipMapping.d.ts +1 -1
- package/dist/model/RelationshipMapping.js +2 -2
- 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 +10 -10
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +27 -27
- 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 +15 -15
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +39 -39
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +1 -1
- package/dist/model/SocialGroup.js +2 -2
- 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 +1 -1
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +1 -1
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StripeAccount.d.ts +1 -1
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +1 -1
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +1 -1
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.d.ts +10 -10
- package/dist/model/ThemeMapping.d.ts.map +1 -1
- package/dist/model/ThemeMapping.js +25 -25
- 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 +1 -1
- package/dist/model/Transfer.js +2 -2
- 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 +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.d.ts +1 -1
- package/dist/model/User.js +2 -2
- package/dist/model/UserDataPayload.d.ts +1 -1
- package/dist/model/UserDataPayload.js +2 -2
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +1 -1
- package/dist/model/UserInvite.js +2 -2
- 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 +1 -1
- package/dist/model/UserSchema.js +2 -2
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +1 -1
- package/dist/model/UsernameReminderRequest.js +2 -2
- package/dist/model/UsernameReminderResponse.d.ts +1 -1
- package/dist/model/UsernameReminderResponse.js +2 -2
- package/dist/model/Video.d.ts +10 -10
- package/dist/model/Video.d.ts.map +1 -1
- package/dist/model/Video.js +31 -31
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +10 -10
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +31 -31
- package/dist/model/VideoUploadObject.d.ts +10 -10
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +31 -31
- 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
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
9
9
|
var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
|
|
10
10
|
var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
|
|
11
|
+
var _GraphObjectTypeResponse = _interopRequireDefault(require("../model/GraphObjectTypeResponse"));
|
|
11
12
|
var _GraphRelationshipResponse = _interopRequireDefault(require("../model/GraphRelationshipResponse"));
|
|
12
13
|
var _GraphRelationshipTypeInput = _interopRequireDefault(require("../model/GraphRelationshipTypeInput"));
|
|
13
14
|
var _GraphRelationshipTypeResponse = _interopRequireDefault(require("../model/GraphRelationshipTypeResponse"));
|
|
@@ -22,7 +23,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
22
23
|
* gobodo-api
|
|
23
24
|
* REST Interface for Gobodo API
|
|
24
25
|
*
|
|
25
|
-
* The version of the OpenAPI document: 0.1.
|
|
26
|
+
* The version of the OpenAPI document: 0.1.108
|
|
26
27
|
* Contact: info@gobodo.io
|
|
27
28
|
*
|
|
28
29
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
34
|
/**
|
|
34
35
|
* GraphRelationshipTypes service.
|
|
35
36
|
* @module api/GraphRelationshipTypesApi
|
|
36
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.108
|
|
37
38
|
*/
|
|
38
39
|
var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
39
40
|
/**
|
|
@@ -49,10 +50,10 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
/**
|
|
52
|
-
*
|
|
53
|
-
* Adds
|
|
54
|
-
* @param {Number}
|
|
55
|
-
* @param {
|
|
53
|
+
* Add End Object Types
|
|
54
|
+
* Adds end object types to the relationship type
|
|
55
|
+
* @param {Number} id
|
|
56
|
+
* @param {Array.<Number>} requestBody
|
|
56
57
|
* @param {Object} opts Optional parameters
|
|
57
58
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
58
59
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -65,9 +66,94 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
65
66
|
* @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
|
|
66
67
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
67
68
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
68
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
69
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectTypeResponse>} and HTTP response
|
|
69
70
|
*/
|
|
70
71
|
_createClass(GraphRelationshipTypesApi, [{
|
|
72
|
+
key: "addEndObjectTypesWithHttpInfo",
|
|
73
|
+
value: function addEndObjectTypesWithHttpInfo(id, requestBody, opts) {
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
var postBody = requestBody;
|
|
76
|
+
// verify the required parameter 'id' is set
|
|
77
|
+
if (id === undefined || id === null) {
|
|
78
|
+
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes");
|
|
79
|
+
}
|
|
80
|
+
// verify the required parameter 'requestBody' is set
|
|
81
|
+
if (requestBody === undefined || requestBody === null) {
|
|
82
|
+
throw new Error("Missing the required parameter 'requestBody' when calling addEndObjectTypes");
|
|
83
|
+
}
|
|
84
|
+
var pathParams = {
|
|
85
|
+
'id': id
|
|
86
|
+
};
|
|
87
|
+
var queryParams = {
|
|
88
|
+
'cacheduration': opts['cacheduration'],
|
|
89
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
90
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
91
|
+
'cachescope': opts['cachescope'],
|
|
92
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
93
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
94
|
+
};
|
|
95
|
+
var headerParams = {
|
|
96
|
+
'Authorization': opts['authorization'],
|
|
97
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
98
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
99
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
100
|
+
'transactionid': opts['transactionid']
|
|
101
|
+
};
|
|
102
|
+
var formParams = {};
|
|
103
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
104
|
+
var contentTypes = ['application/json'];
|
|
105
|
+
var accepts = ['application/json'];
|
|
106
|
+
var returnType = [_GraphObjectTypeResponse["default"]];
|
|
107
|
+
return this.apiClient.callApi('/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Add End Object Types
|
|
112
|
+
* Adds end object types to the relationship type
|
|
113
|
+
* @param {Number} id
|
|
114
|
+
* @param {Array.<Number>} requestBody
|
|
115
|
+
* @param {Object} opts Optional parameters
|
|
116
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
117
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
118
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
119
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
120
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
121
|
+
* @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)
|
|
122
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
123
|
+
* @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
|
|
124
|
+
* @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
|
|
125
|
+
* @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
|
|
126
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
127
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectTypeResponse>}
|
|
128
|
+
*/
|
|
129
|
+
}, {
|
|
130
|
+
key: "addEndObjectTypes",
|
|
131
|
+
value: function addEndObjectTypes(id, requestBody, opts) {
|
|
132
|
+
return this.addEndObjectTypesWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
133
|
+
return response_and_data.data;
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Adds a method to an relationship type
|
|
139
|
+
* Adds a method to a relationship type
|
|
140
|
+
* @param {Number} reltypeid
|
|
141
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
142
|
+
* @param {Object} opts Optional parameters
|
|
143
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
144
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
145
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
146
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
147
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
148
|
+
* @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)
|
|
149
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
150
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
151
|
+
* @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
|
|
152
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
153
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
154
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
155
|
+
*/
|
|
156
|
+
}, {
|
|
71
157
|
key: "addMethodToRelationshipTypeWithHttpInfo",
|
|
72
158
|
value: function addMethodToRelationshipTypeWithHttpInfo(reltypeid, createFunctionInput, opts) {
|
|
73
159
|
opts = opts || {};
|
|
@@ -133,6 +219,176 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
133
219
|
});
|
|
134
220
|
}
|
|
135
221
|
|
|
222
|
+
/**
|
|
223
|
+
* Add Relationship Types
|
|
224
|
+
* Add Relationship Types to a Schema
|
|
225
|
+
* @param {Number} id
|
|
226
|
+
* @param {Array.<Number>} requestBody
|
|
227
|
+
* @param {Object} opts Optional parameters
|
|
228
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
229
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
230
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
231
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
232
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
233
|
+
* @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)
|
|
234
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
235
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
236
|
+
* @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
|
|
237
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
238
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
239
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipTypeResponse>} and HTTP response
|
|
240
|
+
*/
|
|
241
|
+
}, {
|
|
242
|
+
key: "addSchemaRelationshipTypesWithHttpInfo",
|
|
243
|
+
value: function addSchemaRelationshipTypesWithHttpInfo(id, requestBody, opts) {
|
|
244
|
+
opts = opts || {};
|
|
245
|
+
var postBody = requestBody;
|
|
246
|
+
// verify the required parameter 'id' is set
|
|
247
|
+
if (id === undefined || id === null) {
|
|
248
|
+
throw new Error("Missing the required parameter 'id' when calling addSchemaRelationshipTypes");
|
|
249
|
+
}
|
|
250
|
+
// verify the required parameter 'requestBody' is set
|
|
251
|
+
if (requestBody === undefined || requestBody === null) {
|
|
252
|
+
throw new Error("Missing the required parameter 'requestBody' when calling addSchemaRelationshipTypes");
|
|
253
|
+
}
|
|
254
|
+
var pathParams = {
|
|
255
|
+
'id': id
|
|
256
|
+
};
|
|
257
|
+
var queryParams = {
|
|
258
|
+
'cacheduration': opts['cacheduration'],
|
|
259
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
260
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
261
|
+
'cachescope': opts['cachescope'],
|
|
262
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
263
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
264
|
+
};
|
|
265
|
+
var headerParams = {
|
|
266
|
+
'Authorization': opts['authorization'],
|
|
267
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
268
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
269
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
270
|
+
'transactionid': opts['transactionid']
|
|
271
|
+
};
|
|
272
|
+
var formParams = {};
|
|
273
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
274
|
+
var contentTypes = ['application/json'];
|
|
275
|
+
var accepts = ['application/json'];
|
|
276
|
+
var returnType = [_GraphRelationshipTypeResponse["default"]];
|
|
277
|
+
return this.apiClient.callApi('/schema/{id}/relationshiptypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Add Relationship Types
|
|
282
|
+
* Add Relationship Types to a Schema
|
|
283
|
+
* @param {Number} id
|
|
284
|
+
* @param {Array.<Number>} requestBody
|
|
285
|
+
* @param {Object} opts Optional parameters
|
|
286
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
287
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
288
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
289
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
290
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
291
|
+
* @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)
|
|
292
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
293
|
+
* @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
|
|
294
|
+
* @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
|
|
295
|
+
* @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
|
|
296
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
297
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipTypeResponse>}
|
|
298
|
+
*/
|
|
299
|
+
}, {
|
|
300
|
+
key: "addSchemaRelationshipTypes",
|
|
301
|
+
value: function addSchemaRelationshipTypes(id, requestBody, opts) {
|
|
302
|
+
return this.addSchemaRelationshipTypesWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
303
|
+
return response_and_data.data;
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Add Start Object Types
|
|
309
|
+
* Adds start object types to the relationship type
|
|
310
|
+
* @param {Number} id
|
|
311
|
+
* @param {Array.<Number>} requestBody
|
|
312
|
+
* @param {Object} opts Optional parameters
|
|
313
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
314
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
315
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
316
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
317
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
318
|
+
* @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)
|
|
319
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
320
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
321
|
+
* @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
|
|
322
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
323
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
324
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectTypeResponse>} and HTTP response
|
|
325
|
+
*/
|
|
326
|
+
}, {
|
|
327
|
+
key: "addStartObjectTypesWithHttpInfo",
|
|
328
|
+
value: function addStartObjectTypesWithHttpInfo(id, requestBody, opts) {
|
|
329
|
+
opts = opts || {};
|
|
330
|
+
var postBody = requestBody;
|
|
331
|
+
// verify the required parameter 'id' is set
|
|
332
|
+
if (id === undefined || id === null) {
|
|
333
|
+
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
334
|
+
}
|
|
335
|
+
// verify the required parameter 'requestBody' is set
|
|
336
|
+
if (requestBody === undefined || requestBody === null) {
|
|
337
|
+
throw new Error("Missing the required parameter 'requestBody' when calling addStartObjectTypes");
|
|
338
|
+
}
|
|
339
|
+
var pathParams = {
|
|
340
|
+
'id': id
|
|
341
|
+
};
|
|
342
|
+
var queryParams = {
|
|
343
|
+
'cacheduration': opts['cacheduration'],
|
|
344
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
345
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
346
|
+
'cachescope': opts['cachescope'],
|
|
347
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
348
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
349
|
+
};
|
|
350
|
+
var headerParams = {
|
|
351
|
+
'Authorization': opts['authorization'],
|
|
352
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
353
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
354
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
355
|
+
'transactionid': opts['transactionid']
|
|
356
|
+
};
|
|
357
|
+
var formParams = {};
|
|
358
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
359
|
+
var contentTypes = ['application/json'];
|
|
360
|
+
var accepts = ['application/json'];
|
|
361
|
+
var returnType = [_GraphObjectTypeResponse["default"]];
|
|
362
|
+
return this.apiClient.callApi('/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Add Start Object Types
|
|
367
|
+
* Adds start object types to the relationship type
|
|
368
|
+
* @param {Number} id
|
|
369
|
+
* @param {Array.<Number>} requestBody
|
|
370
|
+
* @param {Object} opts Optional parameters
|
|
371
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
372
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
373
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
374
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
375
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
376
|
+
* @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)
|
|
377
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
378
|
+
* @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
|
|
379
|
+
* @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
|
|
380
|
+
* @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
|
|
381
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
382
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectTypeResponse>}
|
|
383
|
+
*/
|
|
384
|
+
}, {
|
|
385
|
+
key: "addStartObjectTypes",
|
|
386
|
+
value: function addStartObjectTypes(id, requestBody, opts) {
|
|
387
|
+
return this.addStartObjectTypesWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
388
|
+
return response_and_data.data;
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
|
|
136
392
|
/**
|
|
137
393
|
* Create Graph Relationship Type
|
|
138
394
|
* Creates a new graph relationship type
|
|
@@ -160,7 +416,399 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
160
416
|
if (graphRelationshipTypeInput === undefined || graphRelationshipTypeInput === null) {
|
|
161
417
|
throw new Error("Missing the required parameter 'graphRelationshipTypeInput' when calling createRelationshipType");
|
|
162
418
|
}
|
|
163
|
-
var pathParams = {};
|
|
419
|
+
var pathParams = {};
|
|
420
|
+
var queryParams = {
|
|
421
|
+
'cacheduration': opts['cacheduration'],
|
|
422
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
423
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
424
|
+
'cachescope': opts['cachescope'],
|
|
425
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
426
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
427
|
+
};
|
|
428
|
+
var headerParams = {
|
|
429
|
+
'Authorization': opts['authorization'],
|
|
430
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
431
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
432
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
433
|
+
'transactionid': opts['transactionid']
|
|
434
|
+
};
|
|
435
|
+
var formParams = {};
|
|
436
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
437
|
+
var contentTypes = [];
|
|
438
|
+
var accepts = ['application/json'];
|
|
439
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
440
|
+
return this.apiClient.callApi('/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Create Graph Relationship Type
|
|
445
|
+
* Creates a new graph relationship type
|
|
446
|
+
* @param {module:model/GraphRelationshipTypeInput} graphRelationshipTypeInput
|
|
447
|
+
* @param {Object} opts Optional parameters
|
|
448
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
449
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
450
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
451
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
452
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
453
|
+
* @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)
|
|
454
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
455
|
+
* @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
|
|
456
|
+
* @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
|
|
457
|
+
* @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
|
|
458
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
459
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
460
|
+
*/
|
|
461
|
+
}, {
|
|
462
|
+
key: "createRelationshipType",
|
|
463
|
+
value: function createRelationshipType(graphRelationshipTypeInput, opts) {
|
|
464
|
+
return this.createRelationshipTypeWithHttpInfo(graphRelationshipTypeInput, opts).then(function (response_and_data) {
|
|
465
|
+
return response_and_data.data;
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Get all relationship types
|
|
471
|
+
* @param {Object} opts Optional parameters
|
|
472
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
473
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
474
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
475
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
476
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
477
|
+
* @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)
|
|
478
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
479
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
480
|
+
* @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
|
|
481
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
482
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
483
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipTypeResponse>} and HTTP response
|
|
484
|
+
*/
|
|
485
|
+
}, {
|
|
486
|
+
key: "getAllRelationshipTypesWithHttpInfo",
|
|
487
|
+
value: function getAllRelationshipTypesWithHttpInfo(opts) {
|
|
488
|
+
opts = opts || {};
|
|
489
|
+
var postBody = null;
|
|
490
|
+
var pathParams = {};
|
|
491
|
+
var queryParams = {
|
|
492
|
+
'cacheduration': opts['cacheduration'],
|
|
493
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
494
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
495
|
+
'cachescope': opts['cachescope'],
|
|
496
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
497
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
498
|
+
};
|
|
499
|
+
var headerParams = {
|
|
500
|
+
'Authorization': opts['authorization'],
|
|
501
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
502
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
503
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
504
|
+
'transactionid': opts['transactionid']
|
|
505
|
+
};
|
|
506
|
+
var formParams = {};
|
|
507
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
508
|
+
var contentTypes = [];
|
|
509
|
+
var accepts = ['application/json'];
|
|
510
|
+
var returnType = [_GraphRelationshipTypeResponse["default"]];
|
|
511
|
+
return this.apiClient.callApi('/relationshiptype/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Get all relationship types
|
|
516
|
+
* @param {Object} opts Optional parameters
|
|
517
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
518
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
519
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
520
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
521
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
522
|
+
* @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)
|
|
523
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
524
|
+
* @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
|
|
525
|
+
* @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
|
|
526
|
+
* @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
|
|
527
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
528
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipTypeResponse>}
|
|
529
|
+
*/
|
|
530
|
+
}, {
|
|
531
|
+
key: "getAllRelationshipTypes",
|
|
532
|
+
value: function getAllRelationshipTypes(opts) {
|
|
533
|
+
return this.getAllRelationshipTypesWithHttpInfo(opts).then(function (response_and_data) {
|
|
534
|
+
return response_and_data.data;
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Get All Relationships By Type
|
|
540
|
+
* Returns a listing of relationships
|
|
541
|
+
* @param {Number} id
|
|
542
|
+
* @param {Number} reltypeid
|
|
543
|
+
* @param {Object} opts Optional parameters
|
|
544
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
545
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
546
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
547
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
548
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
549
|
+
* @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)
|
|
550
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
551
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
552
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
553
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
554
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
555
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
556
|
+
*/
|
|
557
|
+
}, {
|
|
558
|
+
key: "getAllRelationshipsByTypeWithHttpInfo",
|
|
559
|
+
value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
|
|
560
|
+
opts = opts || {};
|
|
561
|
+
var postBody = null;
|
|
562
|
+
// verify the required parameter 'id' is set
|
|
563
|
+
if (id === undefined || id === null) {
|
|
564
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
565
|
+
}
|
|
566
|
+
// verify the required parameter 'reltypeid' is set
|
|
567
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
568
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
569
|
+
}
|
|
570
|
+
var pathParams = {
|
|
571
|
+
'id': id,
|
|
572
|
+
'reltypeid': reltypeid
|
|
573
|
+
};
|
|
574
|
+
var queryParams = {
|
|
575
|
+
'cacheduration': opts['cacheduration'],
|
|
576
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
577
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
578
|
+
'cachescope': opts['cachescope'],
|
|
579
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
580
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
581
|
+
};
|
|
582
|
+
var headerParams = {
|
|
583
|
+
'Authorization': opts['authorization'],
|
|
584
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
585
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
586
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
587
|
+
'transactionid': opts['transactionid']
|
|
588
|
+
};
|
|
589
|
+
var formParams = {};
|
|
590
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
591
|
+
var contentTypes = [];
|
|
592
|
+
var accepts = ['application/json'];
|
|
593
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
594
|
+
return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Get All Relationships By Type
|
|
599
|
+
* Returns a listing of relationships
|
|
600
|
+
* @param {Number} id
|
|
601
|
+
* @param {Number} reltypeid
|
|
602
|
+
* @param {Object} opts Optional parameters
|
|
603
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
604
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
605
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
606
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
607
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
608
|
+
* @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)
|
|
609
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
610
|
+
* @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
|
|
611
|
+
* @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
|
|
612
|
+
* @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
|
|
613
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
614
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
615
|
+
*/
|
|
616
|
+
}, {
|
|
617
|
+
key: "getAllRelationshipsByType",
|
|
618
|
+
value: function getAllRelationshipsByType(id, reltypeid, opts) {
|
|
619
|
+
return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
620
|
+
return response_and_data.data;
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Get End Object Types
|
|
626
|
+
* Retrieves the end object types on the relationship type
|
|
627
|
+
* @param {Number} id
|
|
628
|
+
* @param {Object} opts Optional parameters
|
|
629
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
630
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
631
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
632
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
633
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
634
|
+
* @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)
|
|
635
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
636
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
637
|
+
* @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
|
|
638
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
639
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
640
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectTypeResponse>} and HTTP response
|
|
641
|
+
*/
|
|
642
|
+
}, {
|
|
643
|
+
key: "getEndObjectTypesWithHttpInfo",
|
|
644
|
+
value: function getEndObjectTypesWithHttpInfo(id, opts) {
|
|
645
|
+
opts = opts || {};
|
|
646
|
+
var postBody = null;
|
|
647
|
+
// verify the required parameter 'id' is set
|
|
648
|
+
if (id === undefined || id === null) {
|
|
649
|
+
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
|
|
650
|
+
}
|
|
651
|
+
var pathParams = {
|
|
652
|
+
'id': id
|
|
653
|
+
};
|
|
654
|
+
var queryParams = {
|
|
655
|
+
'cacheduration': opts['cacheduration'],
|
|
656
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
657
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
658
|
+
'cachescope': opts['cachescope'],
|
|
659
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
660
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
661
|
+
};
|
|
662
|
+
var headerParams = {
|
|
663
|
+
'Authorization': opts['authorization'],
|
|
664
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
665
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
666
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
667
|
+
'transactionid': opts['transactionid']
|
|
668
|
+
};
|
|
669
|
+
var formParams = {};
|
|
670
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
671
|
+
var contentTypes = [];
|
|
672
|
+
var accepts = ['application/json'];
|
|
673
|
+
var returnType = [_GraphObjectTypeResponse["default"]];
|
|
674
|
+
return this.apiClient.callApi('/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Get End Object Types
|
|
679
|
+
* Retrieves the end object types on the relationship type
|
|
680
|
+
* @param {Number} id
|
|
681
|
+
* @param {Object} opts Optional parameters
|
|
682
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
683
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
684
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
685
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
686
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
687
|
+
* @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)
|
|
688
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
689
|
+
* @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
|
|
690
|
+
* @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
|
|
691
|
+
* @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
|
|
692
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
693
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectTypeResponse>}
|
|
694
|
+
*/
|
|
695
|
+
}, {
|
|
696
|
+
key: "getEndObjectTypes",
|
|
697
|
+
value: function getEndObjectTypes(id, opts) {
|
|
698
|
+
return this.getEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
699
|
+
return response_and_data.data;
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Get Graph Relationship Type
|
|
705
|
+
* Returns the graph relationship type with the given id
|
|
706
|
+
* @param {Number} id
|
|
707
|
+
* @param {Object} opts Optional parameters
|
|
708
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
709
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
710
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
711
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
712
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
713
|
+
* @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)
|
|
714
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
715
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
716
|
+
* @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
|
|
717
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
718
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
719
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
720
|
+
*/
|
|
721
|
+
}, {
|
|
722
|
+
key: "getRelationshipTypeByIdWithHttpInfo",
|
|
723
|
+
value: function getRelationshipTypeByIdWithHttpInfo(id, opts) {
|
|
724
|
+
opts = opts || {};
|
|
725
|
+
var postBody = null;
|
|
726
|
+
// verify the required parameter 'id' is set
|
|
727
|
+
if (id === undefined || id === null) {
|
|
728
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
729
|
+
}
|
|
730
|
+
var pathParams = {
|
|
731
|
+
'id': id
|
|
732
|
+
};
|
|
733
|
+
var queryParams = {
|
|
734
|
+
'cacheduration': opts['cacheduration'],
|
|
735
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
736
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
737
|
+
'cachescope': opts['cachescope'],
|
|
738
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
739
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
740
|
+
};
|
|
741
|
+
var headerParams = {
|
|
742
|
+
'Authorization': opts['authorization'],
|
|
743
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
744
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
745
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
746
|
+
'transactionid': opts['transactionid']
|
|
747
|
+
};
|
|
748
|
+
var formParams = {};
|
|
749
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
750
|
+
var contentTypes = [];
|
|
751
|
+
var accepts = ['application/json'];
|
|
752
|
+
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
753
|
+
return this.apiClient.callApi('/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Get Graph Relationship Type
|
|
758
|
+
* Returns the graph relationship type with the given id
|
|
759
|
+
* @param {Number} id
|
|
760
|
+
* @param {Object} opts Optional parameters
|
|
761
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
762
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
763
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
764
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
765
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
766
|
+
* @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)
|
|
767
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
768
|
+
* @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
|
|
769
|
+
* @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
|
|
770
|
+
* @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
|
|
771
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
772
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
773
|
+
*/
|
|
774
|
+
}, {
|
|
775
|
+
key: "getRelationshipTypeById",
|
|
776
|
+
value: function getRelationshipTypeById(id, opts) {
|
|
777
|
+
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
778
|
+
return response_and_data.data;
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Get Graph Relationship Type
|
|
784
|
+
* Returns the graph relationship type with the given key
|
|
785
|
+
* @param {String} key
|
|
786
|
+
* @param {Object} opts Optional parameters
|
|
787
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
788
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
789
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
790
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
791
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
792
|
+
* @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)
|
|
793
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
794
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
795
|
+
* @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
|
|
796
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
797
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
798
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipTypeResponse} and HTTP response
|
|
799
|
+
*/
|
|
800
|
+
}, {
|
|
801
|
+
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
802
|
+
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
803
|
+
opts = opts || {};
|
|
804
|
+
var postBody = null;
|
|
805
|
+
// verify the required parameter 'key' is set
|
|
806
|
+
if (key === undefined || key === null) {
|
|
807
|
+
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
808
|
+
}
|
|
809
|
+
var pathParams = {
|
|
810
|
+
'key': key
|
|
811
|
+
};
|
|
164
812
|
var queryParams = {
|
|
165
813
|
'cacheduration': opts['cacheduration'],
|
|
166
814
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -181,13 +829,13 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
181
829
|
var contentTypes = [];
|
|
182
830
|
var accepts = ['application/json'];
|
|
183
831
|
var returnType = _GraphRelationshipTypeResponse["default"];
|
|
184
|
-
return this.apiClient.callApi('/relationshiptype', '
|
|
832
|
+
return this.apiClient.callApi('/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
185
833
|
}
|
|
186
834
|
|
|
187
835
|
/**
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
* @param {
|
|
836
|
+
* Get Graph Relationship Type
|
|
837
|
+
* Returns the graph relationship type with the given key
|
|
838
|
+
* @param {String} key
|
|
191
839
|
* @param {Object} opts Optional parameters
|
|
192
840
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
193
841
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -203,15 +851,16 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
851
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipTypeResponse}
|
|
204
852
|
*/
|
|
205
853
|
}, {
|
|
206
|
-
key: "
|
|
207
|
-
value: function
|
|
208
|
-
return this.
|
|
854
|
+
key: "getRelationshipTypeByKey",
|
|
855
|
+
value: function getRelationshipTypeByKey(key, opts) {
|
|
856
|
+
return this.getRelationshipTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
209
857
|
return response_and_data.data;
|
|
210
858
|
});
|
|
211
859
|
}
|
|
212
860
|
|
|
213
861
|
/**
|
|
214
|
-
* Get
|
|
862
|
+
* Get relationship type fields
|
|
863
|
+
* @param {Number} id
|
|
215
864
|
* @param {Object} opts Optional parameters
|
|
216
865
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
217
866
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -224,14 +873,20 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
224
873
|
* @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
|
|
225
874
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
226
875
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
227
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/
|
|
876
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SkinFieldResponse>} and HTTP response
|
|
228
877
|
*/
|
|
229
878
|
}, {
|
|
230
|
-
key: "
|
|
231
|
-
value: function
|
|
879
|
+
key: "getRelationshipTypeFieldsWithHttpInfo",
|
|
880
|
+
value: function getRelationshipTypeFieldsWithHttpInfo(id, opts) {
|
|
232
881
|
opts = opts || {};
|
|
233
882
|
var postBody = null;
|
|
234
|
-
|
|
883
|
+
// verify the required parameter 'id' is set
|
|
884
|
+
if (id === undefined || id === null) {
|
|
885
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeFields");
|
|
886
|
+
}
|
|
887
|
+
var pathParams = {
|
|
888
|
+
'id': id
|
|
889
|
+
};
|
|
235
890
|
var queryParams = {
|
|
236
891
|
'cacheduration': opts['cacheduration'],
|
|
237
892
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -251,12 +906,13 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
251
906
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
252
907
|
var contentTypes = [];
|
|
253
908
|
var accepts = ['application/json'];
|
|
254
|
-
var returnType = [
|
|
255
|
-
return this.apiClient.callApi('/relationshiptype/
|
|
909
|
+
var returnType = [_SkinFieldResponse["default"]];
|
|
910
|
+
return this.apiClient.callApi('/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
256
911
|
}
|
|
257
912
|
|
|
258
913
|
/**
|
|
259
|
-
* Get
|
|
914
|
+
* Get relationship type fields
|
|
915
|
+
* @param {Number} id
|
|
260
916
|
* @param {Object} opts Optional parameters
|
|
261
917
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
262
918
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -269,20 +925,19 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
269
925
|
* @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
|
|
270
926
|
* @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
|
|
271
927
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
272
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/
|
|
928
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SkinFieldResponse>}
|
|
273
929
|
*/
|
|
274
930
|
}, {
|
|
275
|
-
key: "
|
|
276
|
-
value: function
|
|
277
|
-
return this.
|
|
931
|
+
key: "getRelationshipTypeFields",
|
|
932
|
+
value: function getRelationshipTypeFields(id, opts) {
|
|
933
|
+
return this.getRelationshipTypeFieldsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
278
934
|
return response_and_data.data;
|
|
279
935
|
});
|
|
280
936
|
}
|
|
281
937
|
|
|
282
938
|
/**
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
* @param {Number} id
|
|
939
|
+
* Retrieves the methods associated with the Object Type
|
|
940
|
+
* Retrieves the methods associated with the Object Type
|
|
286
941
|
* @param {Number} reltypeid
|
|
287
942
|
* @param {Object} opts Optional parameters
|
|
288
943
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -296,23 +951,18 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
296
951
|
* @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
|
|
297
952
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
298
953
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
299
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
954
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
300
955
|
*/
|
|
301
956
|
}, {
|
|
302
|
-
key: "
|
|
303
|
-
value: function
|
|
957
|
+
key: "getRelationshipTypeMethodsWithHttpInfo",
|
|
958
|
+
value: function getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts) {
|
|
304
959
|
opts = opts || {};
|
|
305
960
|
var postBody = null;
|
|
306
|
-
// verify the required parameter 'id' is set
|
|
307
|
-
if (id === undefined || id === null) {
|
|
308
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
309
|
-
}
|
|
310
961
|
// verify the required parameter 'reltypeid' is set
|
|
311
962
|
if (reltypeid === undefined || reltypeid === null) {
|
|
312
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling
|
|
963
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipTypeMethods");
|
|
313
964
|
}
|
|
314
965
|
var pathParams = {
|
|
315
|
-
'id': id,
|
|
316
966
|
'reltypeid': reltypeid
|
|
317
967
|
};
|
|
318
968
|
var queryParams = {
|
|
@@ -334,14 +984,13 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
334
984
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
335
985
|
var contentTypes = [];
|
|
336
986
|
var accepts = ['application/json'];
|
|
337
|
-
var returnType = [
|
|
338
|
-
return this.apiClient.callApi('/
|
|
987
|
+
var returnType = _GetFunctionResponse["default"];
|
|
988
|
+
return this.apiClient.callApi('/functions/relationshiptype/{reltypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
339
989
|
}
|
|
340
990
|
|
|
341
991
|
/**
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
* @param {Number} id
|
|
992
|
+
* Retrieves the methods associated with the Object Type
|
|
993
|
+
* Retrieves the methods associated with the Object Type
|
|
345
994
|
* @param {Number} reltypeid
|
|
346
995
|
* @param {Object} opts Optional parameters
|
|
347
996
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -355,20 +1004,21 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
355
1004
|
* @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
|
|
356
1005
|
* @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
|
|
357
1006
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
358
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
1007
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
359
1008
|
*/
|
|
360
1009
|
}, {
|
|
361
|
-
key: "
|
|
362
|
-
value: function
|
|
363
|
-
return this.
|
|
1010
|
+
key: "getRelationshipTypeMethods",
|
|
1011
|
+
value: function getRelationshipTypeMethods(reltypeid, opts) {
|
|
1012
|
+
return this.getRelationshipTypeMethodsWithHttpInfo(reltypeid, opts).then(function (response_and_data) {
|
|
364
1013
|
return response_and_data.data;
|
|
365
1014
|
});
|
|
366
1015
|
}
|
|
367
1016
|
|
|
368
1017
|
/**
|
|
369
|
-
* Get
|
|
370
|
-
* Returns
|
|
1018
|
+
* Get Incoming Relationships By Type
|
|
1019
|
+
* Returns a listing of relationships
|
|
371
1020
|
* @param {Number} id
|
|
1021
|
+
* @param {Number} reltypeid
|
|
372
1022
|
* @param {Object} opts Optional parameters
|
|
373
1023
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
374
1024
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -381,19 +1031,24 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
381
1031
|
* @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
|
|
382
1032
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
383
1033
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
384
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1034
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
385
1035
|
*/
|
|
386
1036
|
}, {
|
|
387
|
-
key: "
|
|
388
|
-
value: function
|
|
1037
|
+
key: "getRelationshipsByTypeInWithHttpInfo",
|
|
1038
|
+
value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
|
|
389
1039
|
opts = opts || {};
|
|
390
1040
|
var postBody = null;
|
|
391
1041
|
// verify the required parameter 'id' is set
|
|
392
1042
|
if (id === undefined || id === null) {
|
|
393
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1043
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
1044
|
+
}
|
|
1045
|
+
// verify the required parameter 'reltypeid' is set
|
|
1046
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
1047
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
394
1048
|
}
|
|
395
1049
|
var pathParams = {
|
|
396
|
-
'id': id
|
|
1050
|
+
'id': id,
|
|
1051
|
+
'reltypeid': reltypeid
|
|
397
1052
|
};
|
|
398
1053
|
var queryParams = {
|
|
399
1054
|
'cacheduration': opts['cacheduration'],
|
|
@@ -414,14 +1069,15 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
414
1069
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
415
1070
|
var contentTypes = [];
|
|
416
1071
|
var accepts = ['application/json'];
|
|
417
|
-
var returnType =
|
|
418
|
-
return this.apiClient.callApi('/
|
|
1072
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
1073
|
+
return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
419
1074
|
}
|
|
420
1075
|
|
|
421
1076
|
/**
|
|
422
|
-
* Get
|
|
423
|
-
* Returns
|
|
1077
|
+
* Get Incoming Relationships By Type
|
|
1078
|
+
* Returns a listing of relationships
|
|
424
1079
|
* @param {Number} id
|
|
1080
|
+
* @param {Number} reltypeid
|
|
425
1081
|
* @param {Object} opts Optional parameters
|
|
426
1082
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
427
1083
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -434,20 +1090,21 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
434
1090
|
* @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
|
|
435
1091
|
* @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
|
|
436
1092
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
437
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1093
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
438
1094
|
*/
|
|
439
1095
|
}, {
|
|
440
|
-
key: "
|
|
441
|
-
value: function
|
|
442
|
-
return this.
|
|
1096
|
+
key: "getRelationshipsByTypeIn",
|
|
1097
|
+
value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
|
|
1098
|
+
return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
443
1099
|
return response_and_data.data;
|
|
444
1100
|
});
|
|
445
1101
|
}
|
|
446
1102
|
|
|
447
1103
|
/**
|
|
448
|
-
* Get
|
|
449
|
-
* Returns
|
|
450
|
-
* @param {
|
|
1104
|
+
* Get Outgoing Relationships By Type
|
|
1105
|
+
* Returns a listing of relationships
|
|
1106
|
+
* @param {Number} id
|
|
1107
|
+
* @param {Number} reltypeid
|
|
451
1108
|
* @param {Object} opts Optional parameters
|
|
452
1109
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
453
1110
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -460,19 +1117,24 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
460
1117
|
* @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
|
|
461
1118
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
462
1119
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
463
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1120
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
|
|
464
1121
|
*/
|
|
465
1122
|
}, {
|
|
466
|
-
key: "
|
|
467
|
-
value: function
|
|
1123
|
+
key: "getRelationshipsByTypeOutWithHttpInfo",
|
|
1124
|
+
value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
|
|
468
1125
|
opts = opts || {};
|
|
469
1126
|
var postBody = null;
|
|
470
|
-
// verify the required parameter '
|
|
471
|
-
if (
|
|
472
|
-
throw new Error("Missing the required parameter '
|
|
1127
|
+
// verify the required parameter 'id' is set
|
|
1128
|
+
if (id === undefined || id === null) {
|
|
1129
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1130
|
+
}
|
|
1131
|
+
// verify the required parameter 'reltypeid' is set
|
|
1132
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
1133
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
473
1134
|
}
|
|
474
1135
|
var pathParams = {
|
|
475
|
-
'
|
|
1136
|
+
'id': id,
|
|
1137
|
+
'reltypeid': reltypeid
|
|
476
1138
|
};
|
|
477
1139
|
var queryParams = {
|
|
478
1140
|
'cacheduration': opts['cacheduration'],
|
|
@@ -493,14 +1155,15 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
493
1155
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
494
1156
|
var contentTypes = [];
|
|
495
1157
|
var accepts = ['application/json'];
|
|
496
|
-
var returnType =
|
|
497
|
-
return this.apiClient.callApi('/
|
|
1158
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
1159
|
+
return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
498
1160
|
}
|
|
499
1161
|
|
|
500
1162
|
/**
|
|
501
|
-
* Get
|
|
502
|
-
* Returns
|
|
503
|
-
* @param {
|
|
1163
|
+
* Get Outgoing Relationships By Type
|
|
1164
|
+
* Returns a listing of relationships
|
|
1165
|
+
* @param {Number} id
|
|
1166
|
+
* @param {Number} reltypeid
|
|
504
1167
|
* @param {Object} opts Optional parameters
|
|
505
1168
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
506
1169
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -513,18 +1176,19 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
513
1176
|
* @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
|
|
514
1177
|
* @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
|
|
515
1178
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
516
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1179
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
|
|
517
1180
|
*/
|
|
518
1181
|
}, {
|
|
519
|
-
key: "
|
|
520
|
-
value: function
|
|
521
|
-
return this.
|
|
1182
|
+
key: "getRelationshipsByTypeOut",
|
|
1183
|
+
value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
|
|
1184
|
+
return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
522
1185
|
return response_and_data.data;
|
|
523
1186
|
});
|
|
524
1187
|
}
|
|
525
1188
|
|
|
526
1189
|
/**
|
|
527
|
-
* Get
|
|
1190
|
+
* Get Relationship Types
|
|
1191
|
+
* Get the Relationship Types for a Schema
|
|
528
1192
|
* @param {Number} id
|
|
529
1193
|
* @param {Object} opts Optional parameters
|
|
530
1194
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -538,16 +1202,16 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
538
1202
|
* @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
|
|
539
1203
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
540
1204
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
541
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/
|
|
1205
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipTypeResponse>} and HTTP response
|
|
542
1206
|
*/
|
|
543
1207
|
}, {
|
|
544
|
-
key: "
|
|
545
|
-
value: function
|
|
1208
|
+
key: "getSchemaRelationshipTypesWithHttpInfo",
|
|
1209
|
+
value: function getSchemaRelationshipTypesWithHttpInfo(id, opts) {
|
|
546
1210
|
opts = opts || {};
|
|
547
1211
|
var postBody = null;
|
|
548
1212
|
// verify the required parameter 'id' is set
|
|
549
1213
|
if (id === undefined || id === null) {
|
|
550
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1214
|
+
throw new Error("Missing the required parameter 'id' when calling getSchemaRelationshipTypes");
|
|
551
1215
|
}
|
|
552
1216
|
var pathParams = {
|
|
553
1217
|
'id': id
|
|
@@ -571,12 +1235,13 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
571
1235
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
572
1236
|
var contentTypes = [];
|
|
573
1237
|
var accepts = ['application/json'];
|
|
574
|
-
var returnType = [
|
|
575
|
-
return this.apiClient.callApi('/
|
|
1238
|
+
var returnType = [_GraphRelationshipTypeResponse["default"]];
|
|
1239
|
+
return this.apiClient.callApi('/schema/{id}/relationshiptypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
576
1240
|
}
|
|
577
1241
|
|
|
578
1242
|
/**
|
|
579
|
-
* Get
|
|
1243
|
+
* Get Relationship Types
|
|
1244
|
+
* Get the Relationship Types for a Schema
|
|
580
1245
|
* @param {Number} id
|
|
581
1246
|
* @param {Object} opts Optional parameters
|
|
582
1247
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -590,20 +1255,20 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
590
1255
|
* @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
|
|
591
1256
|
* @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
|
|
592
1257
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
593
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/
|
|
1258
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipTypeResponse>}
|
|
594
1259
|
*/
|
|
595
1260
|
}, {
|
|
596
|
-
key: "
|
|
597
|
-
value: function
|
|
598
|
-
return this.
|
|
1261
|
+
key: "getSchemaRelationshipTypes",
|
|
1262
|
+
value: function getSchemaRelationshipTypes(id, opts) {
|
|
1263
|
+
return this.getSchemaRelationshipTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
599
1264
|
return response_and_data.data;
|
|
600
1265
|
});
|
|
601
1266
|
}
|
|
602
1267
|
|
|
603
1268
|
/**
|
|
604
|
-
*
|
|
605
|
-
* Retrieves the
|
|
606
|
-
* @param {Number}
|
|
1269
|
+
* Get Start Object Types
|
|
1270
|
+
* Retrieves the start object types on the relationship type
|
|
1271
|
+
* @param {Number} id
|
|
607
1272
|
* @param {Object} opts Optional parameters
|
|
608
1273
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
609
1274
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -616,19 +1281,19 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
616
1281
|
* @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
|
|
617
1282
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
618
1283
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
619
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1284
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphObjectTypeResponse>} and HTTP response
|
|
620
1285
|
*/
|
|
621
1286
|
}, {
|
|
622
|
-
key: "
|
|
623
|
-
value: function
|
|
1287
|
+
key: "getStartObjectTypesWithHttpInfo",
|
|
1288
|
+
value: function getStartObjectTypesWithHttpInfo(id, opts) {
|
|
624
1289
|
opts = opts || {};
|
|
625
1290
|
var postBody = null;
|
|
626
|
-
// verify the required parameter '
|
|
627
|
-
if (
|
|
628
|
-
throw new Error("Missing the required parameter '
|
|
1291
|
+
// verify the required parameter 'id' is set
|
|
1292
|
+
if (id === undefined || id === null) {
|
|
1293
|
+
throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
|
|
629
1294
|
}
|
|
630
1295
|
var pathParams = {
|
|
631
|
-
'
|
|
1296
|
+
'id': id
|
|
632
1297
|
};
|
|
633
1298
|
var queryParams = {
|
|
634
1299
|
'cacheduration': opts['cacheduration'],
|
|
@@ -649,14 +1314,14 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
649
1314
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
650
1315
|
var contentTypes = [];
|
|
651
1316
|
var accepts = ['application/json'];
|
|
652
|
-
var returnType =
|
|
653
|
-
return this.apiClient.callApi('/
|
|
1317
|
+
var returnType = [_GraphObjectTypeResponse["default"]];
|
|
1318
|
+
return this.apiClient.callApi('/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
654
1319
|
}
|
|
655
1320
|
|
|
656
1321
|
/**
|
|
657
|
-
*
|
|
658
|
-
* Retrieves the
|
|
659
|
-
* @param {Number}
|
|
1322
|
+
* Get Start Object Types
|
|
1323
|
+
* Retrieves the start object types on the relationship type
|
|
1324
|
+
* @param {Number} id
|
|
660
1325
|
* @param {Object} opts Optional parameters
|
|
661
1326
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
662
1327
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -669,21 +1334,21 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
669
1334
|
* @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
|
|
670
1335
|
* @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
|
|
671
1336
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
672
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1337
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphObjectTypeResponse>}
|
|
673
1338
|
*/
|
|
674
1339
|
}, {
|
|
675
|
-
key: "
|
|
676
|
-
value: function
|
|
677
|
-
return this.
|
|
1340
|
+
key: "getStartObjectTypes",
|
|
1341
|
+
value: function getStartObjectTypes(id, opts) {
|
|
1342
|
+
return this.getStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
678
1343
|
return response_and_data.data;
|
|
679
1344
|
});
|
|
680
1345
|
}
|
|
681
1346
|
|
|
682
1347
|
/**
|
|
683
|
-
*
|
|
684
|
-
*
|
|
1348
|
+
* Remove End Object Types
|
|
1349
|
+
* Removes end object types from the relationship type
|
|
685
1350
|
* @param {Number} id
|
|
686
|
-
* @param {Number}
|
|
1351
|
+
* @param {Array.<Number>} requestBody
|
|
687
1352
|
* @param {Object} opts Optional parameters
|
|
688
1353
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
689
1354
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -696,24 +1361,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
696
1361
|
* @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
|
|
697
1362
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
698
1363
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
699
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
1364
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
700
1365
|
*/
|
|
701
1366
|
}, {
|
|
702
|
-
key: "
|
|
703
|
-
value: function
|
|
1367
|
+
key: "removeEndObjectTypesWithHttpInfo",
|
|
1368
|
+
value: function removeEndObjectTypesWithHttpInfo(id, requestBody, opts) {
|
|
704
1369
|
opts = opts || {};
|
|
705
|
-
var postBody =
|
|
1370
|
+
var postBody = requestBody;
|
|
706
1371
|
// verify the required parameter 'id' is set
|
|
707
1372
|
if (id === undefined || id === null) {
|
|
708
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1373
|
+
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
709
1374
|
}
|
|
710
|
-
// verify the required parameter '
|
|
711
|
-
if (
|
|
712
|
-
throw new Error("Missing the required parameter '
|
|
1375
|
+
// verify the required parameter 'requestBody' is set
|
|
1376
|
+
if (requestBody === undefined || requestBody === null) {
|
|
1377
|
+
throw new Error("Missing the required parameter 'requestBody' when calling removeEndObjectTypes");
|
|
713
1378
|
}
|
|
714
1379
|
var pathParams = {
|
|
715
|
-
'id': id
|
|
716
|
-
'reltypeid': reltypeid
|
|
1380
|
+
'id': id
|
|
717
1381
|
};
|
|
718
1382
|
var queryParams = {
|
|
719
1383
|
'cacheduration': opts['cacheduration'],
|
|
@@ -732,17 +1396,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
732
1396
|
};
|
|
733
1397
|
var formParams = {};
|
|
734
1398
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
735
|
-
var contentTypes = [];
|
|
736
|
-
var accepts = [
|
|
737
|
-
var returnType =
|
|
738
|
-
return this.apiClient.callApi('/
|
|
1399
|
+
var contentTypes = ['application/json'];
|
|
1400
|
+
var accepts = [];
|
|
1401
|
+
var returnType = null;
|
|
1402
|
+
return this.apiClient.callApi('/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
739
1403
|
}
|
|
740
1404
|
|
|
741
1405
|
/**
|
|
742
|
-
*
|
|
743
|
-
*
|
|
1406
|
+
* Remove End Object Types
|
|
1407
|
+
* Removes end object types from the relationship type
|
|
744
1408
|
* @param {Number} id
|
|
745
|
-
* @param {Number}
|
|
1409
|
+
* @param {Array.<Number>} requestBody
|
|
746
1410
|
* @param {Object} opts Optional parameters
|
|
747
1411
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
748
1412
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -755,21 +1419,21 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
755
1419
|
* @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
|
|
756
1420
|
* @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
|
|
757
1421
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
758
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1422
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
759
1423
|
*/
|
|
760
1424
|
}, {
|
|
761
|
-
key: "
|
|
762
|
-
value: function
|
|
763
|
-
return this.
|
|
1425
|
+
key: "removeEndObjectTypes",
|
|
1426
|
+
value: function removeEndObjectTypes(id, requestBody, opts) {
|
|
1427
|
+
return this.removeEndObjectTypesWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
764
1428
|
return response_and_data.data;
|
|
765
1429
|
});
|
|
766
1430
|
}
|
|
767
1431
|
|
|
768
1432
|
/**
|
|
769
|
-
*
|
|
770
|
-
*
|
|
1433
|
+
* Remove Start Object Types
|
|
1434
|
+
* Removes start object types from the relationship type
|
|
771
1435
|
* @param {Number} id
|
|
772
|
-
* @param {Number}
|
|
1436
|
+
* @param {Array.<Number>} requestBody
|
|
773
1437
|
* @param {Object} opts Optional parameters
|
|
774
1438
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
775
1439
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -782,24 +1446,23 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
782
1446
|
* @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
|
|
783
1447
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
784
1448
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
785
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
1449
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
786
1450
|
*/
|
|
787
1451
|
}, {
|
|
788
|
-
key: "
|
|
789
|
-
value: function
|
|
1452
|
+
key: "removeStartObjectTypesWithHttpInfo",
|
|
1453
|
+
value: function removeStartObjectTypesWithHttpInfo(id, requestBody, opts) {
|
|
790
1454
|
opts = opts || {};
|
|
791
|
-
var postBody =
|
|
1455
|
+
var postBody = requestBody;
|
|
792
1456
|
// verify the required parameter 'id' is set
|
|
793
1457
|
if (id === undefined || id === null) {
|
|
794
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1458
|
+
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
795
1459
|
}
|
|
796
|
-
// verify the required parameter '
|
|
797
|
-
if (
|
|
798
|
-
throw new Error("Missing the required parameter '
|
|
1460
|
+
// verify the required parameter 'requestBody' is set
|
|
1461
|
+
if (requestBody === undefined || requestBody === null) {
|
|
1462
|
+
throw new Error("Missing the required parameter 'requestBody' when calling removeStartObjectTypes");
|
|
799
1463
|
}
|
|
800
1464
|
var pathParams = {
|
|
801
|
-
'id': id
|
|
802
|
-
'reltypeid': reltypeid
|
|
1465
|
+
'id': id
|
|
803
1466
|
};
|
|
804
1467
|
var queryParams = {
|
|
805
1468
|
'cacheduration': opts['cacheduration'],
|
|
@@ -818,17 +1481,17 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
818
1481
|
};
|
|
819
1482
|
var formParams = {};
|
|
820
1483
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
821
|
-
var contentTypes = [];
|
|
822
|
-
var accepts = [
|
|
823
|
-
var returnType =
|
|
824
|
-
return this.apiClient.callApi('/
|
|
1484
|
+
var contentTypes = ['application/json'];
|
|
1485
|
+
var accepts = [];
|
|
1486
|
+
var returnType = null;
|
|
1487
|
+
return this.apiClient.callApi('/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
825
1488
|
}
|
|
826
1489
|
|
|
827
1490
|
/**
|
|
828
|
-
*
|
|
829
|
-
*
|
|
1491
|
+
* Remove Start Object Types
|
|
1492
|
+
* Removes start object types from the relationship type
|
|
830
1493
|
* @param {Number} id
|
|
831
|
-
* @param {Number}
|
|
1494
|
+
* @param {Array.<Number>} requestBody
|
|
832
1495
|
* @param {Object} opts Optional parameters
|
|
833
1496
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
834
1497
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -841,12 +1504,12 @@ var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
841
1504
|
* @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
|
|
842
1505
|
* @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
|
|
843
1506
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
844
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1507
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
845
1508
|
*/
|
|
846
1509
|
}, {
|
|
847
|
-
key: "
|
|
848
|
-
value: function
|
|
849
|
-
return this.
|
|
1510
|
+
key: "removeStartObjectTypes",
|
|
1511
|
+
value: function removeStartObjectTypes(id, requestBody, opts) {
|
|
1512
|
+
return this.removeStartObjectTypesWithHttpInfo(id, requestBody, opts).then(function (response_and_data) {
|
|
850
1513
|
return response_and_data.data;
|
|
851
1514
|
});
|
|
852
1515
|
}
|