@gobodo/gobodo-api 0.1.97 → 0.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +602 -684
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +7 -3
- package/dist/api/ActionTypesApi.d.ts +2 -1
- package/dist/api/ActionTypesApi.js +6 -3
- package/dist/api/AdCampaignsApi.d.ts +30 -47
- package/dist/api/AdCampaignsApi.js +107 -145
- package/dist/api/AdManagementApi.d.ts +53 -41
- package/dist/api/AdManagementApi.js +186 -156
- package/dist/api/AdminDataManagementApi.d.ts +4 -3
- package/dist/api/AdminDataManagementApi.js +17 -15
- package/dist/api/AdsApi.d.ts +24 -43
- package/dist/api/AdsApi.js +80 -124
- package/dist/api/AttachmentsApi.d.ts +14 -58
- package/dist/api/AttachmentsApi.js +64 -166
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +12 -12
- package/dist/api/CategoriesApi.d.ts +17 -10
- package/dist/api/CategoriesApi.js +88 -65
- package/dist/api/CommentsApi.d.ts +11 -53
- package/dist/api/CommentsApi.js +64 -159
- package/dist/api/ContentManagementApi.d.ts +44 -16
- package/dist/api/ContentManagementApi.js +306 -222
- package/dist/api/ConversationsApi.d.ts +13 -29
- package/dist/api/ConversationsApi.js +87 -119
- package/dist/api/CurrencyApi.d.ts +8 -1
- package/dist/api/CurrencyApi.js +71 -50
- package/dist/api/DataSheetImportsApi.d.ts +23 -11
- package/dist/api/DataSheetImportsApi.js +167 -127
- package/dist/api/DefaultApi.d.ts +18 -13
- package/dist/api/DefaultApi.js +73 -58
- package/dist/api/DocumentPartTypesApi.d.ts +3 -1
- package/dist/api/DocumentPartTypesApi.js +23 -16
- package/dist/api/DocumentTypesApi.d.ts +3 -1
- package/dist/api/DocumentTypesApi.js +23 -16
- package/dist/api/DocumentsApi.d.ts +20 -32
- package/dist/api/DocumentsApi.js +131 -153
- package/dist/api/EmailsApi.d.ts +5 -1
- package/dist/api/EmailsApi.js +43 -30
- package/dist/api/EntryPartsApi.d.ts +21 -33
- package/dist/api/EntryPartsApi.js +132 -152
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +3 -3
- package/dist/api/FieldsApi.d.ts +4 -1
- package/dist/api/FieldsApi.js +33 -23
- package/dist/api/FilesApi.d.ts +5 -5
- package/dist/api/FilesApi.js +13 -12
- package/dist/api/FormsApi.d.ts +52 -34
- package/dist/api/FormsApi.js +233 -182
- package/dist/api/FunctionsApi.d.ts +21 -27
- package/dist/api/FunctionsApi.js +196 -203
- package/dist/api/GeocodeApi.d.ts +30 -70
- package/dist/api/GeocodeApi.js +72 -176
- package/dist/api/GobodoManagementApi.d.ts +6 -1
- package/dist/api/GobodoManagementApi.js +53 -37
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +3 -3
- package/dist/api/GraphActionTypesApi.d.ts +79 -61
- package/dist/api/GraphActionTypesApi.js +225 -184
- package/dist/api/GraphActionsApi.d.ts +28 -149
- package/dist/api/GraphActionsApi.js +85 -374
- package/dist/api/GraphObjectTypesApi.d.ts +38 -148
- package/dist/api/GraphObjectTypesApi.js +140 -392
- package/dist/api/GraphObjectsApi.d.ts +194 -1103
- package/dist/api/GraphObjectsApi.js +597 -2774
- package/dist/api/GraphRelationshipTypesApi.d.ts +67 -303
- package/dist/api/GraphRelationshipTypesApi.js +200 -748
- package/dist/api/GraphRelationshipsApi.d.ts +83 -494
- package/dist/api/GraphRelationshipsApi.js +351 -1306
- package/dist/api/GraphSchemasApi.d.ts +9 -229
- package/dist/api/GraphSchemasApi.js +86 -610
- package/dist/api/GraphTraversalApi.d.ts +12 -5
- package/dist/api/GraphTraversalApi.js +80 -58
- package/dist/api/GraphsApi.d.ts +102 -87
- package/dist/api/GraphsApi.js +274 -233
- package/dist/api/IAMApi.d.ts +21 -17
- package/dist/api/IAMApi.js +69 -57
- package/dist/api/ImagesApi.d.ts +15 -86
- package/dist/api/ImagesApi.js +71 -238
- package/dist/api/InvitesApi.d.ts +6 -1
- package/dist/api/InvitesApi.js +53 -37
- package/dist/api/LikesApi.d.ts +42 -29
- package/dist/api/LikesApi.js +179 -143
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +3 -3
- package/dist/api/LiveMeetingsApi.d.ts +5 -3
- package/dist/api/LiveMeetingsApi.js +27 -22
- package/dist/api/MeetingEventsApi.d.ts +20 -131
- package/dist/api/MeetingEventsApi.js +175 -431
- package/dist/api/NotificationsApi.d.ts +15 -1
- package/dist/api/NotificationsApi.js +137 -97
- package/dist/api/PagesApi.d.ts +15 -31
- package/dist/api/PagesApi.js +94 -126
- package/dist/api/PasswordResetApi.d.ts +78 -0
- package/dist/api/PasswordResetApi.js +189 -0
- package/dist/api/PhoneNumbersApi.d.ts +6 -1
- package/dist/api/PhoneNumbersApi.js +53 -37
- package/dist/api/PostsApi.d.ts +9 -29
- package/dist/api/PostsApi.js +47 -91
- package/dist/api/PrivateMessagesApi.d.ts +24 -33
- package/dist/api/PrivateMessagesApi.js +160 -171
- package/dist/api/PublicationsApi.d.ts +10 -25
- package/dist/api/PublicationsApi.js +83 -116
- package/dist/api/RestApplicationsApi.d.ts +6 -1
- package/dist/api/RestApplicationsApi.js +51 -36
- package/dist/api/ScreensApi.d.ts +4 -1
- package/dist/api/ScreensApi.js +33 -23
- package/dist/api/SitesApi.d.ts +11 -1
- package/dist/api/SitesApi.js +99 -70
- package/dist/api/SocialGroupsApi.d.ts +25 -6
- package/dist/api/SocialGroupsApi.js +193 -139
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +6 -6
- package/dist/api/StripeAccountsApi.d.ts +42 -3
- package/dist/api/StripeAccountsApi.js +397 -281
- package/dist/api/TagsApi.d.ts +2 -1
- package/dist/api/TagsApi.js +6 -3
- package/dist/api/TemplatesApi.d.ts +4 -1
- package/dist/api/TemplatesApi.js +33 -23
- package/dist/api/ThemeMappingsApi.d.ts +8 -5
- package/dist/api/ThemeMappingsApi.js +39 -29
- package/dist/api/TopicsApi.d.ts +9 -1
- package/dist/api/TopicsApi.js +83 -58
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +5 -5
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +3 -3
- package/dist/api/UserManagerAdministrationApi.d.ts +96 -0
- package/dist/api/UserManagerAdministrationApi.js +234 -0
- package/dist/api/UserTagsApi.d.ts +33 -75
- package/dist/api/UserTagsApi.js +111 -209
- package/dist/api/UsersApi.d.ts +12 -1
- package/dist/api/UsersApi.js +111 -78
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +3 -3
- package/dist/api/VideosApi.d.ts +17 -57
- package/dist/api/VideosApi.js +102 -192
- package/dist/api/WalletsApi.d.ts +18 -1
- package/dist/api/WalletsApi.js +167 -118
- package/dist/index.d.ts +33 -16
- package/dist/index.js +204 -85
- package/dist/model/APIClient.d.ts +2 -2
- package/dist/model/APIClient.js +10 -10
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/Address.d.ts +33 -0
- package/dist/model/Address.js +137 -0
- package/dist/model/AddressResponse.d.ts +46 -0
- package/dist/model/AddressResponse.js +168 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.d.ts +10 -10
- package/dist/model/Article.js +68 -68
- 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 +2 -2
- package/dist/model/Balance.js +19 -19
- 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 +46 -0
- package/dist/model/CacheInvalidation.js +137 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.d.ts +4 -4
- package/dist/model/Comment.js +22 -22
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.d.ts +1 -1
- package/dist/model/Currency.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.d.ts +1 -1
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +8 -8
- package/dist/model/DataSheetImport.js +76 -76
- package/dist/model/DataSheetImportPrivacySettings.d.ts +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +10 -10
- package/dist/model/DataSheetImportSummary.d.ts +2 -2
- package/dist/model/DataSheetImportSummary.js +14 -14
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.d.ts +11 -11
- package/dist/model/Document.js +72 -72
- package/dist/model/DocumentPart.d.ts +6 -6
- package/dist/model/DocumentPart.js +54 -54
- package/dist/model/DocumentPartType.d.ts +4 -4
- package/dist/model/DocumentPartType.js +30 -30
- package/dist/model/DocumentType.d.ts +6 -6
- package/dist/model/DocumentType.js +46 -46
- package/dist/model/DomainMappingInput.d.ts +40 -0
- package/dist/model/DomainMappingInput.js +122 -0
- package/dist/model/DomainMappingResponse.d.ts +40 -0
- package/dist/model/DomainMappingResponse.js +122 -0
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.d.ts +1 -1
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.d.ts +5 -5
- package/dist/model/Fields.js +25 -25
- package/dist/model/File.d.ts +5 -5
- package/dist/model/File.js +28 -28
- package/dist/model/FileAttachmentUploadObject.d.ts +5 -5
- package/dist/model/FileAttachmentUploadObject.js +28 -28
- 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 +3 -3
- package/dist/model/Form.js +21 -21
- package/dist/model/FormSection.d.ts +1 -1
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.d.ts +3 -3
- package/dist/model/FormSubmission.js +17 -17
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.d.ts +1 -1
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +6 -6
- package/dist/model/GeocodeResponse.d.ts +42 -0
- package/dist/model/GeocodeResponse.js +140 -0
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.d.ts +5 -5
- package/dist/model/Graph.js +33 -33
- package/dist/model/GraphAction.d.ts +2 -2
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +3 -1
- package/dist/model/GraphActionResponse.js +26 -2
- package/dist/model/GraphActionTypeInput.d.ts +55 -0
- package/dist/model/GraphActionTypeInput.js +316 -0
- package/dist/model/GraphActionTypeResponse.d.ts +69 -0
- package/dist/model/GraphActionTypeResponse.js +407 -0
- package/dist/model/GraphDatabaseService.d.ts +2 -2
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.d.ts +1 -1
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphInput.d.ts +43 -0
- package/dist/model/GraphInput.js +152 -0
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +9 -9
- package/dist/model/GraphObject.d.ts +3 -3
- package/dist/model/GraphObject.js +19 -19
- package/dist/model/GraphObjectPayload.d.ts +3 -3
- package/dist/model/GraphObjectPayload.js +17 -19
- package/dist/model/GraphObjectResponse.d.ts +11 -3
- package/dist/model/GraphObjectResponse.js +74 -6
- package/dist/model/GraphObjectSchema.d.ts +4 -4
- package/dist/model/GraphObjectSchema.js +31 -31
- package/dist/model/GraphObjectType.d.ts +3 -3
- package/dist/model/GraphObjectType.js +18 -18
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +9 -7
- package/dist/model/GraphObjectTypeResponse.js +59 -28
- package/dist/model/GraphObjectTypeSchema.d.ts +3 -3
- package/dist/model/GraphObjectTypeSchema.js +18 -18
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +2 -2
- package/dist/model/GraphRelationship.js +11 -11
- package/dist/model/GraphRelationshipPayload.d.ts +3 -3
- package/dist/model/GraphRelationshipPayload.js +22 -24
- package/dist/model/GraphRelationshipResponse.d.ts +55 -0
- package/dist/model/GraphRelationshipResponse.js +229 -0
- package/dist/model/GraphRelationshipType.d.ts +6 -6
- package/dist/model/GraphRelationshipType.js +43 -43
- package/dist/model/GraphRelationshipTypeInput.d.ts +59 -0
- package/dist/model/GraphRelationshipTypeInput.js +367 -0
- package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -1
- package/dist/model/GraphRelationshipTypeResponse.js +38 -2
- package/dist/model/GraphResponse.d.ts +54 -0
- package/dist/model/GraphResponse.js +196 -0
- package/dist/model/GraphSchema.d.ts +7 -7
- package/dist/model/GraphSchema.js +42 -42
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +7 -1
- package/dist/model/GraphTraversalInput.js +74 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/InputPart.d.ts +5 -3
- package/dist/model/InputPart.js +42 -23
- package/dist/model/InputPartHeaders.d.ts +29 -0
- package/dist/model/InputPartHeaders.js +87 -0
- package/dist/model/InputPartMediaType.d.ts +1 -1
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/JsonArray.d.ts +34 -0
- package/dist/model/JsonArray.js +95 -0
- package/dist/model/JsonObject.d.ts +41 -0
- package/dist/model/JsonObject.js +143 -0
- package/dist/model/JsonValue.d.ts +40 -0
- package/dist/model/JsonValue.js +132 -0
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.d.ts +3 -3
- package/dist/model/Link.js +21 -21
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MediaType.d.ts +33 -0
- package/dist/model/MediaType.js +127 -0
- package/dist/model/MeetingEvent.d.ts +7 -7
- package/dist/model/MeetingEvent.js +50 -50
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTimezone.d.ts +1 -1
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +2 -2
- package/dist/model/MeetingInfo.js +15 -15
- package/dist/model/Member.d.ts +4 -4
- package/dist/model/Member.js +24 -24
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +39 -0
- package/dist/model/MemberManagerConfigInput.js +124 -0
- package/dist/model/MemberManagerConfigResponse.d.ts +41 -0
- package/dist/model/MemberManagerConfigResponse.js +134 -0
- package/dist/model/MemberManagerInput.d.ts +41 -0
- package/dist/model/MemberManagerInput.js +134 -0
- package/dist/model/MemberManagerResponse.d.ts +41 -0
- package/dist/model/MemberManagerResponse.js +134 -0
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +29 -0
- package/dist/model/MultivaluedMapStringString.js +87 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +3 -3
- package/dist/model/Objecttype.js +18 -18
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.d.ts +3 -3
- package/dist/model/Page.js +16 -16
- package/dist/model/PageSchema.d.ts +4 -4
- package/dist/model/PageSchema.js +25 -25
- package/dist/model/Pageable.d.ts +3 -3
- package/dist/model/Pageable.js +16 -16
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +38 -0
- package/dist/model/PasswordResetInitiateRequest.js +112 -0
- package/dist/model/PasswordResetInitiateResponse.d.ts +46 -0
- package/dist/model/PasswordResetInitiateResponse.js +156 -0
- package/dist/model/PasswordResetRequest.d.ts +42 -0
- package/dist/model/PasswordResetRequest.js +136 -0
- package/dist/model/PasswordResetResponse.d.ts +46 -0
- package/dist/model/PasswordResetResponse.js +162 -0
- package/dist/model/PasswordResetValidationResponse.d.ts +46 -0
- package/dist/model/PasswordResetValidationResponse.js +162 -0
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +9 -9
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.d.ts +2 -2
- package/dist/model/PaymentMethod.js +10 -10
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.d.ts +2 -2
- package/dist/model/Payout.js +15 -15
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.d.ts +3 -3
- package/dist/model/PhoneNumber.js +20 -20
- package/dist/model/Post.d.ts +3 -3
- package/dist/model/Post.js +17 -17
- package/dist/model/PrivateMessage.d.ts +4 -4
- package/dist/model/PrivateMessage.js +28 -28
- package/dist/model/PrivateMessageConversation.d.ts +6 -6
- package/dist/model/PrivateMessageConversation.js +52 -52
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.d.ts +2 -2
- package/dist/model/Profile.js +14 -14
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.d.ts +1 -1
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +41 -0
- package/dist/model/PurgeDataDefaultResponse.js +143 -0
- package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +2 -2
- package/dist/model/RelationshipMapping.js +18 -18
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +5 -5
- package/dist/model/ScreenSchema.js +37 -37
- 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 +5 -5
- package/dist/model/SkinField.js +25 -25
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +2 -2
- package/dist/model/SocialGroup.js +14 -14
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sort.d.ts +2 -2
- package/dist/model/Sort.js +9 -9
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.d.ts +2 -2
- package/dist/model/StatusUpdate.js +10 -10
- package/dist/model/StreetAddress.d.ts +1 -1
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.d.ts +2 -2
- package/dist/model/StripeAccount.js +10 -10
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.d.ts +2 -2
- package/dist/model/Template.js +10 -10
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +2 -2
- package/dist/model/TemplateSchema.js +10 -10
- package/dist/model/ThemeMapping.d.ts +2 -2
- package/dist/model/ThemeMapping.js +14 -14
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +2 -2
- package/dist/model/Transfer.js +12 -12
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +12 -12
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +10 -10
- package/dist/model/User.d.ts +4 -4
- package/dist/model/User.js +24 -24
- package/dist/model/UserDataPayload.d.ts +4 -4
- package/dist/model/UserDataPayload.js +24 -24
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +4 -4
- package/dist/model/UserInvite.js +26 -26
- 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 +4 -4
- package/dist/model/UserSchema.js +24 -24
- package/dist/model/UserTag.d.ts +3 -3
- package/dist/model/UserTag.js +21 -21
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +38 -0
- package/dist/model/UsernameReminderRequest.js +112 -0
- package/dist/model/UsernameReminderResponse.d.ts +46 -0
- package/dist/model/UsernameReminderResponse.js +156 -0
- package/dist/model/Video.d.ts +10 -10
- package/dist/model/Video.js +63 -63
- 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.js +63 -63
- package/dist/model/VideoUploadObject.d.ts +10 -10
- package/dist/model/VideoUploadObject.js +63 -63
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +1 -1
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +3 -3
|
@@ -5,28 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
9
|
-
var _DataSheetImport = _interopRequireDefault(require("../model/DataSheetImport"));
|
|
10
|
-
var _Geocode = _interopRequireDefault(require("../model/Geocode"));
|
|
11
|
-
var _GeocodePayload = _interopRequireDefault(require("../model/GeocodePayload"));
|
|
12
|
-
var _Graph = _interopRequireDefault(require("../model/Graph"));
|
|
13
|
-
var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
|
|
8
|
+
var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
|
|
14
9
|
var _GraphActionPayload = _interopRequireDefault(require("../model/GraphActionPayload"));
|
|
15
10
|
var _GraphActionResponse = _interopRequireDefault(require("../model/GraphActionResponse"));
|
|
16
|
-
var _GraphGeocode = _interopRequireDefault(require("../model/GraphGeocode"));
|
|
17
11
|
var _GraphObjectPayload = _interopRequireDefault(require("../model/GraphObjectPayload"));
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
|
|
21
|
-
var _Image = _interopRequireDefault(require("../model/Image"));
|
|
22
|
-
var _InputPart = _interopRequireDefault(require("../model/InputPart"));
|
|
23
|
-
var _MeetingEvent = _interopRequireDefault(require("../model/MeetingEvent"));
|
|
12
|
+
var _GraphObjectResponse = _interopRequireDefault(require("../model/GraphObjectResponse"));
|
|
13
|
+
var _GraphRelationshipResponse = _interopRequireDefault(require("../model/GraphRelationshipResponse"));
|
|
24
14
|
var _MeetingInfo = _interopRequireDefault(require("../model/MeetingInfo"));
|
|
25
|
-
var
|
|
15
|
+
var _PurgeDataDefaultResponse = _interopRequireDefault(require("../model/PurgeDataDefaultResponse"));
|
|
26
16
|
var _UserInvite = _interopRequireDefault(require("../model/UserInvite"));
|
|
27
17
|
var _UserInviteInput = _interopRequireDefault(require("../model/UserInviteInput"));
|
|
28
|
-
var _UserTag = _interopRequireDefault(require("../model/UserTag"));
|
|
29
|
-
var _Video = _interopRequireDefault(require("../model/Video"));
|
|
30
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
31
19
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
32
20
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -37,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
37
25
|
* gobodo-api
|
|
38
26
|
* REST Interface for Gobodo API
|
|
39
27
|
*
|
|
40
|
-
* The version of the OpenAPI document: 0.1.
|
|
28
|
+
* The version of the OpenAPI document: 0.1.100
|
|
41
29
|
* Contact: info@gobodo.io
|
|
42
30
|
*
|
|
43
31
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -48,7 +36,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
48
36
|
/**
|
|
49
37
|
* GraphObjects service.
|
|
50
38
|
* @module api/GraphObjectsApi
|
|
51
|
-
* @version 0.1.
|
|
39
|
+
* @version 0.1.100
|
|
52
40
|
*/
|
|
53
41
|
var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
42
|
/**
|
|
@@ -83,6 +71,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
83
71
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
84
72
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
85
73
|
* @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)
|
|
74
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
86
75
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
87
76
|
* @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
|
|
88
77
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -105,14 +94,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
105
94
|
var pathParams = {
|
|
106
95
|
'objectid': objectid
|
|
107
96
|
};
|
|
108
|
-
var queryParams = {
|
|
109
|
-
var headerParams = {
|
|
110
|
-
'Authorization': opts['authorization'],
|
|
97
|
+
var queryParams = {
|
|
111
98
|
'cacheduration': opts['cacheduration'],
|
|
112
|
-
'cachegroup': opts['cachegroup'],
|
|
113
|
-
'cachekey': opts['cachekey'],
|
|
99
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
100
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
114
101
|
'cachescope': opts['cachescope'],
|
|
115
|
-
'cacheuser': opts['cacheuser'],
|
|
102
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
103
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
104
|
+
};
|
|
105
|
+
var headerParams = {
|
|
106
|
+
'Authorization': opts['authorization'],
|
|
116
107
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
117
108
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
118
109
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -123,14 +114,14 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
123
114
|
var contentTypes = ['application/json'];
|
|
124
115
|
var accepts = ['application/json'];
|
|
125
116
|
var returnType = null;
|
|
126
|
-
return this.apiClient.callApi('/
|
|
117
|
+
return this.apiClient.callApi('/live/{objectid}/add', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
127
118
|
}
|
|
128
119
|
|
|
129
120
|
/**
|
|
130
121
|
* Callback function to receive the result of the addLiveStream operation.
|
|
131
122
|
* @callback module:api/GraphObjectsApi~addLiveStreamCallback
|
|
132
123
|
* @param {String} error Error message, if any.
|
|
133
|
-
* @param {
|
|
124
|
+
* @param {module:model/PurgeDataDefaultResponse} data The data returned by the service call.
|
|
134
125
|
* @param {String} response The complete HTTP response.
|
|
135
126
|
*/
|
|
136
127
|
|
|
@@ -145,12 +136,13 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
145
136
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
146
137
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
147
138
|
* @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)
|
|
139
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
148
140
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
149
141
|
* @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
|
|
150
142
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
151
143
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
152
144
|
* @param {module:api/GraphObjectsApi~addLiveStreamCallback} callback The callback function, accepting three arguments: error, data, response
|
|
153
|
-
* data is of type: {@link
|
|
145
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponse}
|
|
154
146
|
*/
|
|
155
147
|
}, {
|
|
156
148
|
key: "addLiveStream",
|
|
@@ -164,14 +156,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
164
156
|
var pathParams = {
|
|
165
157
|
'objectid': objectid
|
|
166
158
|
};
|
|
167
|
-
var queryParams = {
|
|
168
|
-
var headerParams = {
|
|
169
|
-
'Authorization': opts['authorization'],
|
|
159
|
+
var queryParams = {
|
|
170
160
|
'cacheduration': opts['cacheduration'],
|
|
171
|
-
'cachegroup': opts['cachegroup'],
|
|
172
|
-
'cachekey': opts['cachekey'],
|
|
161
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
162
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
173
163
|
'cachescope': opts['cachescope'],
|
|
174
|
-
'cacheuser': opts['cacheuser'],
|
|
164
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
165
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
166
|
+
};
|
|
167
|
+
var headerParams = {
|
|
168
|
+
'Authorization': opts['authorization'],
|
|
175
169
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
176
170
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
177
171
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -181,22 +175,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
181
175
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
182
176
|
var contentTypes = [];
|
|
183
177
|
var accepts = ['application/json'];
|
|
184
|
-
var returnType =
|
|
185
|
-
|
|
186
|
-
};
|
|
187
|
-
return this.apiClient.callApi('/graph/data/live/{objectid}/stream', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
178
|
+
var returnType = _PurgeDataDefaultResponse["default"];
|
|
179
|
+
return this.apiClient.callApi('/live/{objectid}/stream', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
188
180
|
}
|
|
189
181
|
|
|
190
182
|
/**
|
|
191
|
-
* Callback function to receive the result of the
|
|
192
|
-
* @callback module:api/GraphObjectsApi~
|
|
183
|
+
* Callback function to receive the result of the createActions operation.
|
|
184
|
+
* @callback module:api/GraphObjectsApi~createActionsCallback
|
|
193
185
|
* @param {String} error Error message, if any.
|
|
194
|
-
* @param {module:model/
|
|
186
|
+
* @param {Array.<module:model/GraphActionResponse>} data The data returned by the service call.
|
|
195
187
|
* @param {String} response The complete HTTP response.
|
|
196
188
|
*/
|
|
197
189
|
|
|
198
190
|
/**
|
|
199
|
-
*
|
|
191
|
+
* Create Actions
|
|
192
|
+
* Create actions on an object
|
|
193
|
+
* @param {Number} id
|
|
194
|
+
* @param {Array.<module:model/GraphActionPayload>} graphActionPayload Actions payload
|
|
200
195
|
* @param {Object} opts Optional parameters
|
|
201
196
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
202
197
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -204,65 +199,66 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
204
199
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
205
200
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
206
201
|
* @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)
|
|
202
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
207
203
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
208
204
|
* @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
|
|
209
205
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
210
206
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
211
|
-
* @param {
|
|
212
|
-
* @
|
|
213
|
-
* @param {Array.<module:model/InputPart>} [parts]
|
|
214
|
-
* @param {String} [preamble]
|
|
215
|
-
* @param {module:api/GraphObjectsApi~attachFileCallback} callback The callback function, accepting three arguments: error, data, response
|
|
216
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
207
|
+
* @param {module:api/GraphObjectsApi~createActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
208
|
+
* data is of type: {@link Array.<module:model/GraphActionResponse>}
|
|
217
209
|
*/
|
|
218
210
|
}, {
|
|
219
|
-
key: "
|
|
220
|
-
value: function
|
|
211
|
+
key: "createActions",
|
|
212
|
+
value: function createActions(id, graphActionPayload, opts, callback) {
|
|
221
213
|
opts = opts || {};
|
|
222
|
-
var postBody =
|
|
214
|
+
var postBody = graphActionPayload;
|
|
223
215
|
// verify the required parameter 'id' is set
|
|
224
216
|
if (id === undefined || id === null) {
|
|
225
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
217
|
+
throw new Error("Missing the required parameter 'id' when calling createActions");
|
|
218
|
+
}
|
|
219
|
+
// verify the required parameter 'graphActionPayload' is set
|
|
220
|
+
if (graphActionPayload === undefined || graphActionPayload === null) {
|
|
221
|
+
throw new Error("Missing the required parameter 'graphActionPayload' when calling createActions");
|
|
226
222
|
}
|
|
227
223
|
var pathParams = {
|
|
228
224
|
'id': id
|
|
229
225
|
};
|
|
230
|
-
var queryParams = {
|
|
231
|
-
var headerParams = {
|
|
232
|
-
'Authorization': opts['authorization'],
|
|
226
|
+
var queryParams = {
|
|
233
227
|
'cacheduration': opts['cacheduration'],
|
|
234
|
-
'cachegroup': opts['cachegroup'],
|
|
235
|
-
'cachekey': opts['cachekey'],
|
|
228
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
229
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
236
230
|
'cachescope': opts['cachescope'],
|
|
237
|
-
'cacheuser': opts['cacheuser'],
|
|
231
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
232
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
233
|
+
};
|
|
234
|
+
var headerParams = {
|
|
235
|
+
'Authorization': opts['authorization'],
|
|
238
236
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
239
237
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
240
238
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
241
239
|
'transactionid': opts['transactionid']
|
|
242
240
|
};
|
|
243
|
-
var formParams = {
|
|
244
|
-
'formDataMap': opts['formDataMap'],
|
|
245
|
-
'formData': opts['formData'],
|
|
246
|
-
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
247
|
-
'preamble': opts['preamble']
|
|
248
|
-
};
|
|
241
|
+
var formParams = {};
|
|
249
242
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
250
|
-
var contentTypes = [
|
|
243
|
+
var contentTypes = [];
|
|
251
244
|
var accepts = ['application/json'];
|
|
252
|
-
var returnType =
|
|
253
|
-
return this.apiClient.callApi('/
|
|
245
|
+
var returnType = [_GraphActionResponse["default"]];
|
|
246
|
+
return this.apiClient.callApi('/object/{id}/actions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
254
247
|
}
|
|
255
248
|
|
|
256
249
|
/**
|
|
257
|
-
* Callback function to receive the result of the
|
|
258
|
-
* @callback module:api/GraphObjectsApi~
|
|
250
|
+
* Callback function to receive the result of the createInviteOnObject operation.
|
|
251
|
+
* @callback module:api/GraphObjectsApi~createInviteOnObjectCallback
|
|
259
252
|
* @param {String} error Error message, if any.
|
|
260
|
-
* @param {module:model/
|
|
253
|
+
* @param {module:model/UserInvite} data The data returned by the service call.
|
|
261
254
|
* @param {String} response The complete HTTP response.
|
|
262
255
|
*/
|
|
263
256
|
|
|
264
257
|
/**
|
|
265
|
-
*
|
|
258
|
+
* Returns an invite by id
|
|
259
|
+
* Returns a live meeting invite by id
|
|
260
|
+
* @param {Number} inviteid The id of the invite we are retrieving
|
|
261
|
+
* @param {module:model/UserInviteInput} userInviteInput An Invite Input
|
|
266
262
|
* @param {Object} opts Optional parameters
|
|
267
263
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
268
264
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -270,66 +266,65 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
270
266
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
271
267
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
272
268
|
* @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)
|
|
269
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
273
270
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
274
271
|
* @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
|
|
275
272
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
276
273
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
277
|
-
* @param {
|
|
278
|
-
*
|
|
279
|
-
* @param {Array.<module:model/InputPart>} [parts]
|
|
280
|
-
* @param {String} [preamble]
|
|
281
|
-
* @param {module:api/GraphObjectsApi~attachImageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
282
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
274
|
+
* @param {module:api/GraphObjectsApi~createInviteOnObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
275
|
+
* data is of type: {@link module:model/UserInvite}
|
|
283
276
|
*/
|
|
284
277
|
}, {
|
|
285
|
-
key: "
|
|
286
|
-
value: function
|
|
278
|
+
key: "createInviteOnObject",
|
|
279
|
+
value: function createInviteOnObject(inviteid, userInviteInput, opts, callback) {
|
|
287
280
|
opts = opts || {};
|
|
288
|
-
var postBody =
|
|
289
|
-
// verify the required parameter '
|
|
290
|
-
if (
|
|
291
|
-
throw new Error("Missing the required parameter '
|
|
281
|
+
var postBody = userInviteInput;
|
|
282
|
+
// verify the required parameter 'inviteid' is set
|
|
283
|
+
if (inviteid === undefined || inviteid === null) {
|
|
284
|
+
throw new Error("Missing the required parameter 'inviteid' when calling createInviteOnObject");
|
|
285
|
+
}
|
|
286
|
+
// verify the required parameter 'userInviteInput' is set
|
|
287
|
+
if (userInviteInput === undefined || userInviteInput === null) {
|
|
288
|
+
throw new Error("Missing the required parameter 'userInviteInput' when calling createInviteOnObject");
|
|
292
289
|
}
|
|
293
290
|
var pathParams = {
|
|
294
|
-
'
|
|
291
|
+
'inviteid': inviteid
|
|
295
292
|
};
|
|
296
|
-
var queryParams = {
|
|
297
|
-
var headerParams = {
|
|
298
|
-
'Authorization': opts['authorization'],
|
|
293
|
+
var queryParams = {
|
|
299
294
|
'cacheduration': opts['cacheduration'],
|
|
300
|
-
'cachegroup': opts['cachegroup'],
|
|
301
|
-
'cachekey': opts['cachekey'],
|
|
295
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
296
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
302
297
|
'cachescope': opts['cachescope'],
|
|
303
|
-
'cacheuser': opts['cacheuser'],
|
|
298
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
299
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
300
|
+
};
|
|
301
|
+
var headerParams = {
|
|
302
|
+
'Authorization': opts['authorization'],
|
|
304
303
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
305
304
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
306
305
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
307
306
|
'transactionid': opts['transactionid']
|
|
308
307
|
};
|
|
309
|
-
var formParams = {
|
|
310
|
-
'formDataMap': opts['formDataMap'],
|
|
311
|
-
'formData': opts['formData'],
|
|
312
|
-
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
313
|
-
'preamble': opts['preamble']
|
|
314
|
-
};
|
|
308
|
+
var formParams = {};
|
|
315
309
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
316
|
-
var contentTypes = ['
|
|
310
|
+
var contentTypes = ['application/json'];
|
|
317
311
|
var accepts = ['application/json'];
|
|
318
|
-
var returnType =
|
|
319
|
-
return this.apiClient.callApi('/
|
|
312
|
+
var returnType = _UserInvite["default"];
|
|
313
|
+
return this.apiClient.callApi('/invites/{objectid}/invite', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
320
314
|
}
|
|
321
315
|
|
|
322
316
|
/**
|
|
323
|
-
* Callback function to receive the result of the
|
|
324
|
-
* @callback module:api/GraphObjectsApi~
|
|
317
|
+
* Callback function to receive the result of the createObject operation.
|
|
318
|
+
* @callback module:api/GraphObjectsApi~createObjectCallback
|
|
325
319
|
* @param {String} error Error message, if any.
|
|
326
|
-
* @param {
|
|
320
|
+
* @param {module:model/GraphObjectResponse} data The data returned by the service call.
|
|
327
321
|
* @param {String} response The complete HTTP response.
|
|
328
322
|
*/
|
|
329
323
|
|
|
330
324
|
/**
|
|
331
|
-
*
|
|
332
|
-
*
|
|
325
|
+
* Create Objects
|
|
326
|
+
* Create graph object(s)
|
|
327
|
+
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject object data or array of object data to create
|
|
333
328
|
* @param {Object} opts Optional parameters
|
|
334
329
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
335
330
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -337,37 +332,34 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
337
332
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
338
333
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
339
334
|
* @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)
|
|
335
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
340
336
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
341
337
|
* @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
|
|
342
338
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
343
339
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
344
|
-
* @param {module:api/GraphObjectsApi~
|
|
345
|
-
* data is of type: {@link
|
|
340
|
+
* @param {module:api/GraphObjectsApi~createObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
341
|
+
* data is of type: {@link module:model/GraphObjectResponse}
|
|
346
342
|
*/
|
|
347
343
|
}, {
|
|
348
|
-
key: "
|
|
349
|
-
value: function
|
|
344
|
+
key: "createObject",
|
|
345
|
+
value: function createObject(graphObjectPayload, opts, callback) {
|
|
350
346
|
opts = opts || {};
|
|
351
|
-
var postBody =
|
|
352
|
-
// verify the required parameter '
|
|
353
|
-
if (
|
|
354
|
-
throw new Error("Missing the required parameter '
|
|
355
|
-
}
|
|
356
|
-
// verify the required parameter 'graphActionPayload' is set
|
|
357
|
-
if (graphActionPayload === undefined || graphActionPayload === null) {
|
|
358
|
-
throw new Error("Missing the required parameter 'graphActionPayload' when calling createActions");
|
|
347
|
+
var postBody = graphObjectPayload;
|
|
348
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
349
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
350
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObject");
|
|
359
351
|
}
|
|
360
|
-
var pathParams = {
|
|
361
|
-
|
|
352
|
+
var pathParams = {};
|
|
353
|
+
var queryParams = {
|
|
354
|
+
'cacheduration': opts['cacheduration'],
|
|
355
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
356
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
357
|
+
'cachescope': opts['cachescope'],
|
|
358
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
359
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
362
360
|
};
|
|
363
|
-
var queryParams = {};
|
|
364
361
|
var headerParams = {
|
|
365
362
|
'Authorization': opts['authorization'],
|
|
366
|
-
'cacheduration': opts['cacheduration'],
|
|
367
|
-
'cachegroup': opts['cachegroup'],
|
|
368
|
-
'cachekey': opts['cachekey'],
|
|
369
|
-
'cachescope': opts['cachescope'],
|
|
370
|
-
'cacheuser': opts['cacheuser'],
|
|
371
363
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
372
364
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
373
365
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -375,22 +367,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
375
367
|
};
|
|
376
368
|
var formParams = {};
|
|
377
369
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
378
|
-
var contentTypes = [
|
|
370
|
+
var contentTypes = [];
|
|
379
371
|
var accepts = ['application/json'];
|
|
380
|
-
var returnType = [
|
|
381
|
-
return this.apiClient.callApi('/
|
|
372
|
+
var returnType = _GraphObjectResponse["default"];
|
|
373
|
+
return this.apiClient.callApi('/object', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
382
374
|
}
|
|
383
375
|
|
|
384
376
|
/**
|
|
385
|
-
* Callback function to receive the result of the
|
|
386
|
-
* @callback module:api/GraphObjectsApi~
|
|
377
|
+
* Callback function to receive the result of the createRelationship operation.
|
|
378
|
+
* @callback module:api/GraphObjectsApi~createRelationshipCallback
|
|
387
379
|
* @param {String} error Error message, if any.
|
|
388
|
-
* @param {module:model/
|
|
380
|
+
* @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
|
|
389
381
|
* @param {String} response The complete HTTP response.
|
|
390
382
|
*/
|
|
391
383
|
|
|
392
384
|
/**
|
|
393
|
-
*
|
|
385
|
+
* Create a Relationship
|
|
386
|
+
* Create a relationship to another object
|
|
394
387
|
* @param {Number} id
|
|
395
388
|
* @param {Object} opts Optional parameters
|
|
396
389
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -399,34 +392,37 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
399
392
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
400
393
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
401
394
|
* @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)
|
|
395
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
402
396
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
403
397
|
* @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
|
|
404
398
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
405
399
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
406
400
|
* @param {String} [body]
|
|
407
|
-
* @param {module:api/GraphObjectsApi~
|
|
408
|
-
* data is of type: {@link module:model/
|
|
401
|
+
* @param {module:api/GraphObjectsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
402
|
+
* data is of type: {@link module:model/GraphRelationshipResponse}
|
|
409
403
|
*/
|
|
410
404
|
}, {
|
|
411
|
-
key: "
|
|
412
|
-
value: function
|
|
405
|
+
key: "createRelationship",
|
|
406
|
+
value: function createRelationship(id, opts, callback) {
|
|
413
407
|
opts = opts || {};
|
|
414
408
|
var postBody = opts['body'];
|
|
415
409
|
// verify the required parameter 'id' is set
|
|
416
410
|
if (id === undefined || id === null) {
|
|
417
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
411
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
418
412
|
}
|
|
419
413
|
var pathParams = {
|
|
420
414
|
'id': id
|
|
421
415
|
};
|
|
422
|
-
var queryParams = {
|
|
423
|
-
var headerParams = {
|
|
424
|
-
'Authorization': opts['authorization'],
|
|
416
|
+
var queryParams = {
|
|
425
417
|
'cacheduration': opts['cacheduration'],
|
|
426
|
-
'cachegroup': opts['cachegroup'],
|
|
427
|
-
'cachekey': opts['cachekey'],
|
|
418
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
419
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
428
420
|
'cachescope': opts['cachescope'],
|
|
429
|
-
'cacheuser': opts['cacheuser'],
|
|
421
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
422
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
423
|
+
};
|
|
424
|
+
var headerParams = {
|
|
425
|
+
'Authorization': opts['authorization'],
|
|
430
426
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
431
427
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
432
428
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -434,23 +430,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
434
430
|
};
|
|
435
431
|
var formParams = {};
|
|
436
432
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
437
|
-
var contentTypes = [
|
|
433
|
+
var contentTypes = [];
|
|
438
434
|
var accepts = ['application/json'];
|
|
439
|
-
var returnType =
|
|
440
|
-
return this.apiClient.callApi('/
|
|
435
|
+
var returnType = _GraphRelationshipResponse["default"];
|
|
436
|
+
return this.apiClient.callApi('/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
441
437
|
}
|
|
442
438
|
|
|
443
439
|
/**
|
|
444
|
-
* Callback function to receive the result of the
|
|
445
|
-
* @callback module:api/GraphObjectsApi~
|
|
440
|
+
* Callback function to receive the result of the createRelationships operation.
|
|
441
|
+
* @callback module:api/GraphObjectsApi~createRelationshipsCallback
|
|
446
442
|
* @param {String} error Error message, if any.
|
|
447
|
-
* @param {module:model/
|
|
443
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
448
444
|
* @param {String} response The complete HTTP response.
|
|
449
445
|
*/
|
|
450
446
|
|
|
451
447
|
/**
|
|
452
|
-
*
|
|
453
|
-
*
|
|
448
|
+
* Create Relationships
|
|
449
|
+
* Create relationships to other objects
|
|
450
|
+
* @param {Number} id
|
|
454
451
|
* @param {Object} opts Optional parameters
|
|
455
452
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
456
453
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -458,37 +455,37 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
458
455
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
459
456
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
460
457
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
458
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
461
459
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
462
460
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
463
461
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
464
462
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
465
|
-
* @param {
|
|
466
|
-
*
|
|
463
|
+
* @param {String} [body]
|
|
464
|
+
* @param {module:api/GraphObjectsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
465
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
467
466
|
*/
|
|
468
467
|
}, {
|
|
469
|
-
key: "
|
|
470
|
-
value: function
|
|
468
|
+
key: "createRelationships",
|
|
469
|
+
value: function createRelationships(id, opts, callback) {
|
|
471
470
|
opts = opts || {};
|
|
472
|
-
var postBody =
|
|
471
|
+
var postBody = opts['body'];
|
|
473
472
|
// verify the required parameter 'id' is set
|
|
474
473
|
if (id === undefined || id === null) {
|
|
475
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
476
|
-
}
|
|
477
|
-
// verify the required parameter 'geocodePayload' is set
|
|
478
|
-
if (geocodePayload === undefined || geocodePayload === null) {
|
|
479
|
-
throw new Error("Missing the required parameter 'geocodePayload' when calling createGeocodes");
|
|
474
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
480
475
|
}
|
|
481
476
|
var pathParams = {
|
|
482
477
|
'id': id
|
|
483
478
|
};
|
|
484
|
-
var queryParams = {
|
|
485
|
-
var headerParams = {
|
|
486
|
-
'Authorization': opts['authorization'],
|
|
479
|
+
var queryParams = {
|
|
487
480
|
'cacheduration': opts['cacheduration'],
|
|
488
|
-
'cachegroup': opts['cachegroup'],
|
|
489
|
-
'cachekey': opts['cachekey'],
|
|
481
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
482
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
490
483
|
'cachescope': opts['cachescope'],
|
|
491
|
-
'cacheuser': opts['cacheuser'],
|
|
484
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
485
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
486
|
+
};
|
|
487
|
+
var headerParams = {
|
|
488
|
+
'Authorization': opts['authorization'],
|
|
492
489
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
493
490
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
494
491
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -496,25 +493,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
496
493
|
};
|
|
497
494
|
var formParams = {};
|
|
498
495
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
499
|
-
var contentTypes = [
|
|
496
|
+
var contentTypes = [];
|
|
500
497
|
var accepts = ['application/json'];
|
|
501
|
-
var returnType =
|
|
502
|
-
return this.apiClient.callApi('/
|
|
498
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
499
|
+
return this.apiClient.callApi('/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
503
500
|
}
|
|
504
501
|
|
|
505
502
|
/**
|
|
506
|
-
* Callback function to receive the result of the
|
|
507
|
-
* @callback module:api/GraphObjectsApi~
|
|
503
|
+
* Callback function to receive the result of the deleteLike operation.
|
|
504
|
+
* @callback module:api/GraphObjectsApi~deleteLikeCallback
|
|
508
505
|
* @param {String} error Error message, if any.
|
|
509
|
-
* @param
|
|
506
|
+
* @param data This operation does not return a value.
|
|
510
507
|
* @param {String} response The complete HTTP response.
|
|
511
508
|
*/
|
|
512
509
|
|
|
513
510
|
/**
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
* @param {Number}
|
|
517
|
-
* @param {module:model/UserInviteInput} userInviteInput An Invite Input
|
|
511
|
+
* Delete Like
|
|
512
|
+
* Delete an individual like
|
|
513
|
+
* @param {Number} objectid
|
|
518
514
|
* @param {Object} opts Optional parameters
|
|
519
515
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
520
516
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -522,37 +518,35 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
522
518
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
523
519
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
524
520
|
* @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)
|
|
521
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
525
522
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
526
523
|
* @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
|
|
527
524
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
528
525
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
529
|
-
* @param {module:api/GraphObjectsApi~
|
|
530
|
-
* data is of type: {@link module:model/UserInvite}
|
|
526
|
+
* @param {module:api/GraphObjectsApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
531
527
|
*/
|
|
532
528
|
}, {
|
|
533
|
-
key: "
|
|
534
|
-
value: function
|
|
529
|
+
key: "deleteLike",
|
|
530
|
+
value: function deleteLike(objectid, opts, callback) {
|
|
535
531
|
opts = opts || {};
|
|
536
|
-
var postBody =
|
|
537
|
-
// verify the required parameter '
|
|
538
|
-
if (
|
|
539
|
-
throw new Error("Missing the required parameter '
|
|
540
|
-
}
|
|
541
|
-
// verify the required parameter 'userInviteInput' is set
|
|
542
|
-
if (userInviteInput === undefined || userInviteInput === null) {
|
|
543
|
-
throw new Error("Missing the required parameter 'userInviteInput' when calling createInviteOnObject");
|
|
532
|
+
var postBody = null;
|
|
533
|
+
// verify the required parameter 'objectid' is set
|
|
534
|
+
if (objectid === undefined || objectid === null) {
|
|
535
|
+
throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
|
|
544
536
|
}
|
|
545
537
|
var pathParams = {
|
|
546
|
-
'
|
|
538
|
+
'objectid': objectid
|
|
547
539
|
};
|
|
548
|
-
var queryParams = {
|
|
549
|
-
var headerParams = {
|
|
550
|
-
'Authorization': opts['authorization'],
|
|
540
|
+
var queryParams = {
|
|
551
541
|
'cacheduration': opts['cacheduration'],
|
|
552
|
-
'cachegroup': opts['cachegroup'],
|
|
553
|
-
'cachekey': opts['cachekey'],
|
|
542
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
543
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
554
544
|
'cachescope': opts['cachescope'],
|
|
555
|
-
'cacheuser': opts['cacheuser'],
|
|
545
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
546
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
547
|
+
};
|
|
548
|
+
var headerParams = {
|
|
549
|
+
'Authorization': opts['authorization'],
|
|
556
550
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
557
551
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
558
552
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -560,24 +554,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
560
554
|
};
|
|
561
555
|
var formParams = {};
|
|
562
556
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
563
|
-
var contentTypes = [
|
|
564
|
-
var accepts = ['
|
|
565
|
-
var returnType =
|
|
566
|
-
return this.apiClient.callApi('/
|
|
557
|
+
var contentTypes = [];
|
|
558
|
+
var accepts = ['*/*'];
|
|
559
|
+
var returnType = null;
|
|
560
|
+
return this.apiClient.callApi('/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
567
561
|
}
|
|
568
562
|
|
|
569
563
|
/**
|
|
570
|
-
* Callback function to receive the result of the
|
|
571
|
-
* @callback module:api/GraphObjectsApi~
|
|
564
|
+
* Callback function to receive the result of the dislike operation.
|
|
565
|
+
* @callback module:api/GraphObjectsApi~dislikeCallback
|
|
572
566
|
* @param {String} error Error message, if any.
|
|
573
|
-
* @param
|
|
567
|
+
* @param data This operation does not return a value.
|
|
574
568
|
* @param {String} response The complete HTTP response.
|
|
575
569
|
*/
|
|
576
570
|
|
|
577
571
|
/**
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
* @param {
|
|
572
|
+
* Dislike an Object
|
|
573
|
+
* Dislike an object
|
|
574
|
+
* @param {Number} objectid
|
|
581
575
|
* @param {Object} opts Optional parameters
|
|
582
576
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
583
577
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -585,31 +579,35 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
585
579
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
586
580
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
587
581
|
* @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)
|
|
582
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
588
583
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
589
584
|
* @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
|
|
590
585
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
591
586
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
592
|
-
* @param {module:api/GraphObjectsApi~
|
|
593
|
-
* data is of type: {@link module:model/GraphObjectSchema}
|
|
587
|
+
* @param {module:api/GraphObjectsApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
594
588
|
*/
|
|
595
589
|
}, {
|
|
596
|
-
key: "
|
|
597
|
-
value: function
|
|
590
|
+
key: "dislike",
|
|
591
|
+
value: function dislike(objectid, opts, callback) {
|
|
598
592
|
opts = opts || {};
|
|
599
|
-
var postBody =
|
|
600
|
-
// verify the required parameter '
|
|
601
|
-
if (
|
|
602
|
-
throw new Error("Missing the required parameter '
|
|
593
|
+
var postBody = null;
|
|
594
|
+
// verify the required parameter 'objectid' is set
|
|
595
|
+
if (objectid === undefined || objectid === null) {
|
|
596
|
+
throw new Error("Missing the required parameter 'objectid' when calling dislike");
|
|
603
597
|
}
|
|
604
|
-
var pathParams = {
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
598
|
+
var pathParams = {
|
|
599
|
+
'objectid': objectid
|
|
600
|
+
};
|
|
601
|
+
var queryParams = {
|
|
608
602
|
'cacheduration': opts['cacheduration'],
|
|
609
|
-
'cachegroup': opts['cachegroup'],
|
|
610
|
-
'cachekey': opts['cachekey'],
|
|
603
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
604
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
611
605
|
'cachescope': opts['cachescope'],
|
|
612
|
-
'cacheuser': opts['cacheuser'],
|
|
606
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
607
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
608
|
+
};
|
|
609
|
+
var headerParams = {
|
|
610
|
+
'Authorization': opts['authorization'],
|
|
613
611
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
614
612
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
615
613
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -618,23 +616,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
618
616
|
var formParams = {};
|
|
619
617
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
620
618
|
var contentTypes = [];
|
|
621
|
-
var accepts = ['
|
|
622
|
-
var returnType =
|
|
623
|
-
return this.apiClient.callApi('/
|
|
619
|
+
var accepts = ['*/*'];
|
|
620
|
+
var returnType = null;
|
|
621
|
+
return this.apiClient.callApi('/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
624
622
|
}
|
|
625
623
|
|
|
626
624
|
/**
|
|
627
|
-
* Callback function to receive the result of the
|
|
628
|
-
* @callback module:api/GraphObjectsApi~
|
|
625
|
+
* Callback function to receive the result of the getActions operation.
|
|
626
|
+
* @callback module:api/GraphObjectsApi~getActionsCallback
|
|
629
627
|
* @param {String} error Error message, if any.
|
|
630
|
-
* @param {Array.<module:model/
|
|
628
|
+
* @param {Array.<module:model/GraphActionResponse>} data The data returned by the service call.
|
|
631
629
|
* @param {String} response The complete HTTP response.
|
|
632
630
|
*/
|
|
633
631
|
|
|
634
632
|
/**
|
|
635
|
-
*
|
|
636
|
-
*
|
|
637
|
-
* @param {
|
|
633
|
+
* Get Actions
|
|
634
|
+
* Get actions attached to an object
|
|
635
|
+
* @param {Number} id
|
|
638
636
|
* @param {Object} opts Optional parameters
|
|
639
637
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
640
638
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -642,31 +640,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
642
640
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
643
641
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
644
642
|
* @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)
|
|
643
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
645
644
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
646
645
|
* @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
|
|
647
646
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
648
647
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
649
|
-
* @param {module:api/GraphObjectsApi~
|
|
650
|
-
* data is of type: {@link Array.<module:model/
|
|
648
|
+
* @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
649
|
+
* data is of type: {@link Array.<module:model/GraphActionResponse>}
|
|
651
650
|
*/
|
|
652
651
|
}, {
|
|
653
|
-
key: "
|
|
654
|
-
value: function
|
|
652
|
+
key: "getActions",
|
|
653
|
+
value: function getActions(id, opts, callback) {
|
|
655
654
|
opts = opts || {};
|
|
656
|
-
var postBody =
|
|
657
|
-
// verify the required parameter '
|
|
658
|
-
if (
|
|
659
|
-
throw new Error("Missing the required parameter '
|
|
655
|
+
var postBody = null;
|
|
656
|
+
// verify the required parameter 'id' is set
|
|
657
|
+
if (id === undefined || id === null) {
|
|
658
|
+
throw new Error("Missing the required parameter 'id' when calling getActions");
|
|
660
659
|
}
|
|
661
|
-
var pathParams = {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
660
|
+
var pathParams = {
|
|
661
|
+
'id': id
|
|
662
|
+
};
|
|
663
|
+
var queryParams = {
|
|
665
664
|
'cacheduration': opts['cacheduration'],
|
|
666
|
-
'cachegroup': opts['cachegroup'],
|
|
667
|
-
'cachekey': opts['cachekey'],
|
|
665
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
666
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
668
667
|
'cachescope': opts['cachescope'],
|
|
669
|
-
'cacheuser': opts['cacheuser'],
|
|
668
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
669
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
670
|
+
};
|
|
671
|
+
var headerParams = {
|
|
672
|
+
'Authorization': opts['authorization'],
|
|
670
673
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
671
674
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
672
675
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -676,23 +679,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
676
679
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
677
680
|
var contentTypes = [];
|
|
678
681
|
var accepts = ['application/json'];
|
|
679
|
-
var returnType = [
|
|
680
|
-
return this.apiClient.callApi('/
|
|
682
|
+
var returnType = [_GraphActionResponse["default"]];
|
|
683
|
+
return this.apiClient.callApi('/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
681
684
|
}
|
|
682
685
|
|
|
683
686
|
/**
|
|
684
|
-
* Callback function to receive the result of the
|
|
685
|
-
* @callback module:api/GraphObjectsApi~
|
|
687
|
+
* Callback function to receive the result of the getActionsByType operation.
|
|
688
|
+
* @callback module:api/GraphObjectsApi~getActionsByTypeCallback
|
|
686
689
|
* @param {String} error Error message, if any.
|
|
687
|
-
* @param {module:model/
|
|
690
|
+
* @param {Array.<module:model/GraphActionResponse>} data The data returned by the service call.
|
|
688
691
|
* @param {String} response The complete HTTP response.
|
|
689
692
|
*/
|
|
690
693
|
|
|
691
694
|
/**
|
|
692
|
-
*
|
|
693
|
-
*
|
|
694
|
-
* @param {Number} id
|
|
695
|
-
* @param {
|
|
695
|
+
* Get Actions By Type
|
|
696
|
+
* Get actions attached to an object by type
|
|
697
|
+
* @param {Number} id
|
|
698
|
+
* @param {Number} actiontypeid
|
|
696
699
|
* @param {Object} opts Optional parameters
|
|
697
700
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
698
701
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -700,37 +703,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
700
703
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
701
704
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
702
705
|
* @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)
|
|
706
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
703
707
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
704
708
|
* @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
|
|
705
709
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
706
710
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
707
|
-
* @param {module:api/GraphObjectsApi~
|
|
708
|
-
* data is of type: {@link module:model/
|
|
711
|
+
* @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
712
|
+
* data is of type: {@link Array.<module:model/GraphActionResponse>}
|
|
709
713
|
*/
|
|
710
714
|
}, {
|
|
711
|
-
key: "
|
|
712
|
-
value: function
|
|
715
|
+
key: "getActionsByType",
|
|
716
|
+
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
713
717
|
opts = opts || {};
|
|
714
|
-
var postBody =
|
|
718
|
+
var postBody = null;
|
|
715
719
|
// verify the required parameter 'id' is set
|
|
716
720
|
if (id === undefined || id === null) {
|
|
717
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
721
|
+
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
718
722
|
}
|
|
719
|
-
// verify the required parameter '
|
|
720
|
-
if (
|
|
721
|
-
throw new Error("Missing the required parameter '
|
|
723
|
+
// verify the required parameter 'actiontypeid' is set
|
|
724
|
+
if (actiontypeid === undefined || actiontypeid === null) {
|
|
725
|
+
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
722
726
|
}
|
|
723
727
|
var pathParams = {
|
|
724
|
-
'id': id
|
|
728
|
+
'id': id,
|
|
729
|
+
'actiontypeid': actiontypeid
|
|
725
730
|
};
|
|
726
|
-
var queryParams = {
|
|
727
|
-
var headerParams = {
|
|
728
|
-
'Authorization': opts['authorization'],
|
|
731
|
+
var queryParams = {
|
|
729
732
|
'cacheduration': opts['cacheduration'],
|
|
730
|
-
'cachegroup': opts['cachegroup'],
|
|
731
|
-
'cachekey': opts['cachekey'],
|
|
733
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
734
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
732
735
|
'cachescope': opts['cachescope'],
|
|
733
|
-
'cacheuser': opts['cacheuser'],
|
|
736
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
737
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
738
|
+
};
|
|
739
|
+
var headerParams = {
|
|
740
|
+
'Authorization': opts['authorization'],
|
|
734
741
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
735
742
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
736
743
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -738,25 +745,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
738
745
|
};
|
|
739
746
|
var formParams = {};
|
|
740
747
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
741
|
-
var contentTypes = [
|
|
748
|
+
var contentTypes = [];
|
|
742
749
|
var accepts = ['application/json'];
|
|
743
|
-
var returnType =
|
|
744
|
-
return this.apiClient.callApi('/
|
|
750
|
+
var returnType = [_GraphActionResponse["default"]];
|
|
751
|
+
return this.apiClient.callApi('/object', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
745
752
|
}
|
|
746
753
|
|
|
747
754
|
/**
|
|
748
|
-
* Callback function to receive the result of the
|
|
749
|
-
* @callback module:api/GraphObjectsApi~
|
|
755
|
+
* Callback function to receive the result of the getAllRelationships operation.
|
|
756
|
+
* @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
|
|
750
757
|
* @param {String} error Error message, if any.
|
|
751
|
-
* @param {Array.<module:model/
|
|
758
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
752
759
|
* @param {String} response The complete HTTP response.
|
|
753
760
|
*/
|
|
754
761
|
|
|
755
762
|
/**
|
|
756
|
-
*
|
|
757
|
-
*
|
|
758
|
-
* @param {Number} id
|
|
759
|
-
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
763
|
+
* Get All Relationships
|
|
764
|
+
* Returns a listing of relationships
|
|
765
|
+
* @param {Number} id
|
|
760
766
|
* @param {Object} opts Optional parameters
|
|
761
767
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
762
768
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -764,37 +770,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
764
770
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
765
771
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
766
772
|
* @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)
|
|
773
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
767
774
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
768
775
|
* @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
|
|
769
776
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
770
777
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
771
|
-
* @param {module:api/GraphObjectsApi~
|
|
772
|
-
* data is of type: {@link Array.<module:model/
|
|
778
|
+
* @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
779
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
773
780
|
*/
|
|
774
781
|
}, {
|
|
775
|
-
key: "
|
|
776
|
-
value: function
|
|
782
|
+
key: "getAllRelationships",
|
|
783
|
+
value: function getAllRelationships(id, opts, callback) {
|
|
777
784
|
opts = opts || {};
|
|
778
|
-
var postBody =
|
|
785
|
+
var postBody = null;
|
|
779
786
|
// verify the required parameter 'id' is set
|
|
780
787
|
if (id === undefined || id === null) {
|
|
781
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
782
|
-
}
|
|
783
|
-
// verify the required parameter 'graphRelationshipPayload' is set
|
|
784
|
-
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
785
|
-
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
788
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
786
789
|
}
|
|
787
790
|
var pathParams = {
|
|
788
791
|
'id': id
|
|
789
792
|
};
|
|
790
|
-
var queryParams = {
|
|
791
|
-
var headerParams = {
|
|
792
|
-
'Authorization': opts['authorization'],
|
|
793
|
+
var queryParams = {
|
|
793
794
|
'cacheduration': opts['cacheduration'],
|
|
794
|
-
'cachegroup': opts['cachegroup'],
|
|
795
|
-
'cachekey': opts['cachekey'],
|
|
795
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
796
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
796
797
|
'cachescope': opts['cachescope'],
|
|
797
|
-
'cacheuser': opts['cacheuser'],
|
|
798
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
799
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
800
|
+
};
|
|
801
|
+
var headerParams = {
|
|
802
|
+
'Authorization': opts['authorization'],
|
|
798
803
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
799
804
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
800
805
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -802,23 +807,25 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
802
807
|
};
|
|
803
808
|
var formParams = {};
|
|
804
809
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
805
|
-
var contentTypes = [
|
|
810
|
+
var contentTypes = [];
|
|
806
811
|
var accepts = ['application/json'];
|
|
807
|
-
var returnType = [
|
|
808
|
-
return this.apiClient.callApi('/
|
|
812
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
813
|
+
return this.apiClient.callApi('/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
809
814
|
}
|
|
810
815
|
|
|
811
816
|
/**
|
|
812
|
-
* Callback function to receive the result of the
|
|
813
|
-
* @callback module:api/GraphObjectsApi~
|
|
817
|
+
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
818
|
+
* @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
|
|
814
819
|
* @param {String} error Error message, if any.
|
|
815
|
-
* @param data
|
|
820
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
816
821
|
* @param {String} response The complete HTTP response.
|
|
817
822
|
*/
|
|
818
823
|
|
|
819
824
|
/**
|
|
820
|
-
*
|
|
821
|
-
*
|
|
825
|
+
* Get All Relationships By Type
|
|
826
|
+
* Returns a listing of relationships
|
|
827
|
+
* @param {Number} id
|
|
828
|
+
* @param {Number} reltypeid
|
|
822
829
|
* @param {Object} opts Optional parameters
|
|
823
830
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
824
831
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -826,37 +833,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
826
833
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
827
834
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
828
835
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
836
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
829
837
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
830
838
|
* @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
|
|
831
839
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
832
840
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
833
|
-
* @param {module:api/GraphObjectsApi~
|
|
841
|
+
* @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
842
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
834
843
|
*/
|
|
835
844
|
}, {
|
|
836
|
-
key: "
|
|
837
|
-
value: function
|
|
845
|
+
key: "getAllRelationshipsByType",
|
|
846
|
+
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
838
847
|
opts = opts || {};
|
|
839
848
|
var postBody = null;
|
|
840
849
|
// verify the required parameter 'id' is set
|
|
841
850
|
if (id === undefined || id === null) {
|
|
842
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
851
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
843
852
|
}
|
|
844
|
-
// verify the required parameter '
|
|
845
|
-
if (
|
|
846
|
-
throw new Error("Missing the required parameter '
|
|
853
|
+
// verify the required parameter 'reltypeid' is set
|
|
854
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
855
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
847
856
|
}
|
|
848
857
|
var pathParams = {
|
|
849
858
|
'id': id,
|
|
850
|
-
'
|
|
859
|
+
'reltypeid': reltypeid
|
|
851
860
|
};
|
|
852
|
-
var queryParams = {
|
|
853
|
-
var headerParams = {
|
|
854
|
-
'Authorization': opts['authorization'],
|
|
861
|
+
var queryParams = {
|
|
855
862
|
'cacheduration': opts['cacheduration'],
|
|
856
|
-
'cachegroup': opts['cachegroup'],
|
|
857
|
-
'cachekey': opts['cachekey'],
|
|
863
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
864
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
858
865
|
'cachescope': opts['cachescope'],
|
|
859
|
-
'cacheuser': opts['cacheuser'],
|
|
866
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
867
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
868
|
+
};
|
|
869
|
+
var headerParams = {
|
|
870
|
+
'Authorization': opts['authorization'],
|
|
860
871
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
861
872
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
862
873
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -866,22 +877,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
866
877
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
867
878
|
var contentTypes = [];
|
|
868
879
|
var accepts = ['application/json'];
|
|
869
|
-
var returnType =
|
|
870
|
-
return this.apiClient.callApi('/
|
|
880
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
881
|
+
return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
871
882
|
}
|
|
872
883
|
|
|
873
884
|
/**
|
|
874
|
-
* Callback function to receive the result of the
|
|
875
|
-
* @callback module:api/GraphObjectsApi~
|
|
885
|
+
* Callback function to receive the result of the getObjectById operation.
|
|
886
|
+
* @callback module:api/GraphObjectsApi~getObjectByIdCallback
|
|
876
887
|
* @param {String} error Error message, if any.
|
|
877
|
-
* @param data
|
|
888
|
+
* @param {module:model/GraphObjectResponse} data The data returned by the service call.
|
|
878
889
|
* @param {String} response The complete HTTP response.
|
|
879
890
|
*/
|
|
880
891
|
|
|
881
892
|
/**
|
|
882
|
-
*
|
|
883
|
-
*
|
|
884
|
-
* @param {Number}
|
|
893
|
+
* Get Object By Id
|
|
894
|
+
* Gets object by id
|
|
895
|
+
* @param {Number} id The id of the object that we are retrieving
|
|
885
896
|
* @param {Object} opts Optional parameters
|
|
886
897
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
887
898
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -889,32 +900,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
889
900
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
890
901
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
891
902
|
* @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)
|
|
903
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
892
904
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
893
905
|
* @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
|
|
894
906
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
895
907
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
896
|
-
* @param {module:api/GraphObjectsApi~
|
|
908
|
+
* @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
909
|
+
* data is of type: {@link module:model/GraphObjectResponse}
|
|
897
910
|
*/
|
|
898
911
|
}, {
|
|
899
|
-
key: "
|
|
900
|
-
value: function
|
|
912
|
+
key: "getObjectById",
|
|
913
|
+
value: function getObjectById(id, opts, callback) {
|
|
901
914
|
opts = opts || {};
|
|
902
915
|
var postBody = null;
|
|
903
|
-
// verify the required parameter '
|
|
904
|
-
if (
|
|
905
|
-
throw new Error("Missing the required parameter '
|
|
916
|
+
// verify the required parameter 'id' is set
|
|
917
|
+
if (id === undefined || id === null) {
|
|
918
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectById");
|
|
906
919
|
}
|
|
907
920
|
var pathParams = {
|
|
908
|
-
'
|
|
921
|
+
'id': id
|
|
909
922
|
};
|
|
910
|
-
var queryParams = {
|
|
911
|
-
var headerParams = {
|
|
912
|
-
'Authorization': opts['authorization'],
|
|
923
|
+
var queryParams = {
|
|
913
924
|
'cacheduration': opts['cacheduration'],
|
|
914
|
-
'cachegroup': opts['cachegroup'],
|
|
915
|
-
'cachekey': opts['cachekey'],
|
|
925
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
926
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
916
927
|
'cachescope': opts['cachescope'],
|
|
917
|
-
'cacheuser': opts['cacheuser'],
|
|
928
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
929
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
930
|
+
};
|
|
931
|
+
var headerParams = {
|
|
932
|
+
'Authorization': opts['authorization'],
|
|
918
933
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
919
934
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
920
935
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -923,22 +938,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
923
938
|
var formParams = {};
|
|
924
939
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
925
940
|
var contentTypes = [];
|
|
926
|
-
var accepts = ['
|
|
927
|
-
var returnType =
|
|
928
|
-
return this.apiClient.callApi('/
|
|
941
|
+
var accepts = ['application/json'];
|
|
942
|
+
var returnType = _GraphObjectResponse["default"];
|
|
943
|
+
return this.apiClient.callApi('/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
929
944
|
}
|
|
930
945
|
|
|
931
946
|
/**
|
|
932
|
-
* Callback function to receive the result of the
|
|
933
|
-
* @callback module:api/GraphObjectsApi~
|
|
947
|
+
* Callback function to receive the result of the getObjectByKey operation.
|
|
948
|
+
* @callback module:api/GraphObjectsApi~getObjectByKeyCallback
|
|
934
949
|
* @param {String} error Error message, if any.
|
|
935
|
-
* @param data
|
|
950
|
+
* @param {module:model/GraphObjectResponse} data The data returned by the service call.
|
|
936
951
|
* @param {String} response The complete HTTP response.
|
|
937
952
|
*/
|
|
938
953
|
|
|
939
954
|
/**
|
|
940
|
-
*
|
|
941
|
-
*
|
|
955
|
+
* Get Object By Key
|
|
956
|
+
* Get An Object By it's key identifier
|
|
957
|
+
* @param {String} key The unique key of the object we are retrieving
|
|
942
958
|
* @param {Object} opts Optional parameters
|
|
943
959
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
944
960
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -946,32 +962,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
946
962
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
947
963
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
948
964
|
* @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)
|
|
965
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
949
966
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
950
967
|
* @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
|
|
951
968
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
952
969
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
953
|
-
* @param {module:api/GraphObjectsApi~
|
|
970
|
+
* @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
971
|
+
* data is of type: {@link module:model/GraphObjectResponse}
|
|
954
972
|
*/
|
|
955
973
|
}, {
|
|
956
|
-
key: "
|
|
957
|
-
value: function
|
|
974
|
+
key: "getObjectByKey",
|
|
975
|
+
value: function getObjectByKey(key, opts, callback) {
|
|
958
976
|
opts = opts || {};
|
|
959
977
|
var postBody = null;
|
|
960
|
-
// verify the required parameter '
|
|
961
|
-
if (
|
|
962
|
-
throw new Error("Missing the required parameter '
|
|
978
|
+
// verify the required parameter 'key' is set
|
|
979
|
+
if (key === undefined || key === null) {
|
|
980
|
+
throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
|
|
963
981
|
}
|
|
964
982
|
var pathParams = {
|
|
965
|
-
'
|
|
983
|
+
'key': key
|
|
966
984
|
};
|
|
967
|
-
var queryParams = {
|
|
968
|
-
var headerParams = {
|
|
969
|
-
'Authorization': opts['authorization'],
|
|
985
|
+
var queryParams = {
|
|
970
986
|
'cacheduration': opts['cacheduration'],
|
|
971
|
-
'cachegroup': opts['cachegroup'],
|
|
972
|
-
'cachekey': opts['cachekey'],
|
|
987
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
988
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
973
989
|
'cachescope': opts['cachescope'],
|
|
974
|
-
'cacheuser': opts['cacheuser'],
|
|
990
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
991
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
992
|
+
};
|
|
993
|
+
var headerParams = {
|
|
994
|
+
'Authorization': opts['authorization'],
|
|
975
995
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
976
996
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
977
997
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -981,22 +1001,21 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
981
1001
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
982
1002
|
var contentTypes = [];
|
|
983
1003
|
var accepts = ['application/json'];
|
|
984
|
-
var returnType =
|
|
985
|
-
return this.apiClient.callApi('/
|
|
1004
|
+
var returnType = _GraphObjectResponse["default"];
|
|
1005
|
+
return this.apiClient.callApi('/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
986
1006
|
}
|
|
987
1007
|
|
|
988
1008
|
/**
|
|
989
|
-
* Callback function to receive the result of the
|
|
990
|
-
* @callback module:api/GraphObjectsApi~
|
|
1009
|
+
* Callback function to receive the result of the getObjectsInGraph operation.
|
|
1010
|
+
* @callback module:api/GraphObjectsApi~getObjectsInGraphCallback
|
|
991
1011
|
* @param {String} error Error message, if any.
|
|
992
|
-
* @param data
|
|
1012
|
+
* @param {Array.<Object>} data The data returned by the service call.
|
|
993
1013
|
* @param {String} response The complete HTTP response.
|
|
994
1014
|
*/
|
|
995
1015
|
|
|
996
1016
|
/**
|
|
997
|
-
*
|
|
998
|
-
*
|
|
999
|
-
* @param {Number} objectid
|
|
1017
|
+
* Get objects in the graph
|
|
1018
|
+
* @param {Number} id
|
|
1000
1019
|
* @param {Object} opts Optional parameters
|
|
1001
1020
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1002
1021
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1004,32 +1023,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1004
1023
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1005
1024
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1006
1025
|
* @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)
|
|
1026
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1007
1027
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1008
1028
|
* @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
|
|
1009
1029
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1010
1030
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1011
|
-
* @param {module:api/GraphObjectsApi~
|
|
1031
|
+
* @param {module:api/GraphObjectsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1032
|
+
* data is of type: {@link Array.<Object>}
|
|
1012
1033
|
*/
|
|
1013
1034
|
}, {
|
|
1014
|
-
key: "
|
|
1015
|
-
value: function
|
|
1035
|
+
key: "getObjectsInGraph",
|
|
1036
|
+
value: function getObjectsInGraph(id, opts, callback) {
|
|
1016
1037
|
opts = opts || {};
|
|
1017
1038
|
var postBody = null;
|
|
1018
|
-
// verify the required parameter '
|
|
1019
|
-
if (
|
|
1020
|
-
throw new Error("Missing the required parameter '
|
|
1039
|
+
// verify the required parameter 'id' is set
|
|
1040
|
+
if (id === undefined || id === null) {
|
|
1041
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
|
|
1021
1042
|
}
|
|
1022
1043
|
var pathParams = {
|
|
1023
|
-
'
|
|
1044
|
+
'id': id
|
|
1024
1045
|
};
|
|
1025
|
-
var queryParams = {
|
|
1026
|
-
var headerParams = {
|
|
1027
|
-
'Authorization': opts['authorization'],
|
|
1046
|
+
var queryParams = {
|
|
1028
1047
|
'cacheduration': opts['cacheduration'],
|
|
1029
|
-
'cachegroup': opts['cachegroup'],
|
|
1030
|
-
'cachekey': opts['cachekey'],
|
|
1048
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1049
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1031
1050
|
'cachescope': opts['cachescope'],
|
|
1032
|
-
'cacheuser': opts['cacheuser'],
|
|
1051
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1052
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1053
|
+
};
|
|
1054
|
+
var headerParams = {
|
|
1055
|
+
'Authorization': opts['authorization'],
|
|
1033
1056
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1034
1057
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1035
1058
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1038,22 +1061,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1038
1061
|
var formParams = {};
|
|
1039
1062
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1040
1063
|
var contentTypes = [];
|
|
1041
|
-
var accepts = ['
|
|
1042
|
-
var returnType =
|
|
1043
|
-
return this.apiClient.callApi('/graph/
|
|
1064
|
+
var accepts = ['application/json'];
|
|
1065
|
+
var returnType = [Object];
|
|
1066
|
+
return this.apiClient.callApi('/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1044
1067
|
}
|
|
1045
1068
|
|
|
1046
1069
|
/**
|
|
1047
|
-
* Callback function to receive the result of the
|
|
1048
|
-
* @callback module:api/GraphObjectsApi~
|
|
1070
|
+
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
1071
|
+
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTagCallback
|
|
1049
1072
|
* @param {String} error Error message, if any.
|
|
1050
|
-
* @param {
|
|
1073
|
+
* @param {Array.<Object>} data The data returned by the service call.
|
|
1051
1074
|
* @param {String} response The complete HTTP response.
|
|
1052
1075
|
*/
|
|
1053
1076
|
|
|
1054
1077
|
/**
|
|
1055
|
-
*
|
|
1056
|
-
* @param {
|
|
1078
|
+
* Get graph objects by tag
|
|
1079
|
+
* @param {Number} id
|
|
1080
|
+
* @param {String} tag
|
|
1057
1081
|
* @param {Object} opts Optional parameters
|
|
1058
1082
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1059
1083
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1061,39 +1085,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1061
1085
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1062
1086
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1063
1087
|
* @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)
|
|
1088
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1064
1089
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1065
1090
|
* @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
|
|
1066
1091
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1067
1092
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1068
|
-
* @param {
|
|
1069
|
-
*
|
|
1070
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1093
|
+
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1094
|
+
* data is of type: {@link Array.<Object>}
|
|
1071
1095
|
*/
|
|
1072
1096
|
}, {
|
|
1073
|
-
key: "
|
|
1074
|
-
value: function
|
|
1097
|
+
key: "getObjectsInGraphByTag",
|
|
1098
|
+
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
1075
1099
|
opts = opts || {};
|
|
1076
|
-
var postBody =
|
|
1100
|
+
var postBody = null;
|
|
1077
1101
|
// verify the required parameter 'id' is set
|
|
1078
1102
|
if (id === undefined || id === null) {
|
|
1079
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1103
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
1080
1104
|
}
|
|
1081
|
-
// verify the required parameter '
|
|
1082
|
-
if (
|
|
1083
|
-
throw new Error("Missing the required parameter '
|
|
1105
|
+
// verify the required parameter 'tag' is set
|
|
1106
|
+
if (tag === undefined || tag === null) {
|
|
1107
|
+
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
1084
1108
|
}
|
|
1085
1109
|
var pathParams = {
|
|
1086
1110
|
'id': id,
|
|
1087
|
-
'
|
|
1111
|
+
'tag': tag
|
|
1088
1112
|
};
|
|
1089
|
-
var queryParams = {
|
|
1090
|
-
var headerParams = {
|
|
1091
|
-
'Authorization': opts['authorization'],
|
|
1113
|
+
var queryParams = {
|
|
1092
1114
|
'cacheduration': opts['cacheduration'],
|
|
1093
|
-
'cachegroup': opts['cachegroup'],
|
|
1094
|
-
'cachekey': opts['cachekey'],
|
|
1115
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1116
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1095
1117
|
'cachescope': opts['cachescope'],
|
|
1096
|
-
'cacheuser': opts['cacheuser'],
|
|
1118
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1119
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1120
|
+
};
|
|
1121
|
+
var headerParams = {
|
|
1122
|
+
'Authorization': opts['authorization'],
|
|
1097
1123
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1098
1124
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1099
1125
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1101,22 +1127,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1101
1127
|
};
|
|
1102
1128
|
var formParams = {};
|
|
1103
1129
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1104
|
-
var contentTypes = [
|
|
1130
|
+
var contentTypes = [];
|
|
1105
1131
|
var accepts = ['application/json'];
|
|
1106
|
-
var returnType =
|
|
1107
|
-
return this.apiClient.callApi('/graph/
|
|
1132
|
+
var returnType = [Object];
|
|
1133
|
+
return this.apiClient.callApi('/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1108
1134
|
}
|
|
1109
1135
|
|
|
1110
1136
|
/**
|
|
1111
|
-
* Callback function to receive the result of the
|
|
1112
|
-
* @callback module:api/GraphObjectsApi~
|
|
1137
|
+
* Callback function to receive the result of the getObjectsInGraphByType operation.
|
|
1138
|
+
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback
|
|
1113
1139
|
* @param {String} error Error message, if any.
|
|
1114
|
-
* @param data
|
|
1140
|
+
* @param {Array.<Object>} data The data returned by the service call.
|
|
1115
1141
|
* @param {String} response The complete HTTP response.
|
|
1116
1142
|
*/
|
|
1117
1143
|
|
|
1118
1144
|
/**
|
|
1119
|
-
*
|
|
1145
|
+
* Get graph objects by type
|
|
1146
|
+
* @param {Number} id
|
|
1147
|
+
* @param {String} type
|
|
1120
1148
|
* @param {Object} opts Optional parameters
|
|
1121
1149
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1122
1150
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1124,32 +1152,45 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1124
1152
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1125
1153
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1126
1154
|
* @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)
|
|
1155
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1127
1156
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1128
1157
|
* @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
|
|
1129
1158
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1130
1159
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1131
|
-
* @param {
|
|
1160
|
+
* @param {Number} [page = 0)]
|
|
1161
|
+
* @param {Number} [size = 50)]
|
|
1162
|
+
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1163
|
+
* data is of type: {@link Array.<Object>}
|
|
1132
1164
|
*/
|
|
1133
1165
|
}, {
|
|
1134
|
-
key: "
|
|
1135
|
-
value: function
|
|
1166
|
+
key: "getObjectsInGraphByType",
|
|
1167
|
+
value: function getObjectsInGraphByType(id, type, opts, callback) {
|
|
1136
1168
|
opts = opts || {};
|
|
1137
1169
|
var postBody = null;
|
|
1138
1170
|
// verify the required parameter 'id' is set
|
|
1139
1171
|
if (id === undefined || id === null) {
|
|
1140
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1172
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
|
|
1173
|
+
}
|
|
1174
|
+
// verify the required parameter 'type' is set
|
|
1175
|
+
if (type === undefined || type === null) {
|
|
1176
|
+
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
1141
1177
|
}
|
|
1142
1178
|
var pathParams = {
|
|
1143
|
-
'id': id
|
|
1179
|
+
'id': id,
|
|
1180
|
+
'type': type
|
|
1144
1181
|
};
|
|
1145
|
-
var queryParams = {
|
|
1146
|
-
var headerParams = {
|
|
1147
|
-
'Authorization': opts['authorization'],
|
|
1182
|
+
var queryParams = {
|
|
1148
1183
|
'cacheduration': opts['cacheduration'],
|
|
1149
|
-
'cachegroup': opts['cachegroup'],
|
|
1150
|
-
'cachekey': opts['cachekey'],
|
|
1184
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1185
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1151
1186
|
'cachescope': opts['cachescope'],
|
|
1152
|
-
'cacheuser': opts['cacheuser'],
|
|
1187
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1188
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi'),
|
|
1189
|
+
'page': opts['page'],
|
|
1190
|
+
'size': opts['size']
|
|
1191
|
+
};
|
|
1192
|
+
var headerParams = {
|
|
1193
|
+
'Authorization': opts['authorization'],
|
|
1153
1194
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1154
1195
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1155
1196
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1159,20 +1200,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1159
1200
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1160
1201
|
var contentTypes = [];
|
|
1161
1202
|
var accepts = ['application/json'];
|
|
1162
|
-
var returnType =
|
|
1163
|
-
return this.apiClient.callApi('/graph/
|
|
1203
|
+
var returnType = [Object];
|
|
1204
|
+
return this.apiClient.callApi('/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1164
1205
|
}
|
|
1165
1206
|
|
|
1166
1207
|
/**
|
|
1167
|
-
* Callback function to receive the result of the
|
|
1168
|
-
* @callback module:api/GraphObjectsApi~
|
|
1208
|
+
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
1209
|
+
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
|
|
1169
1210
|
* @param {String} error Error message, if any.
|
|
1170
|
-
* @param data
|
|
1211
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
1171
1212
|
* @param {String} response The complete HTTP response.
|
|
1172
1213
|
*/
|
|
1173
1214
|
|
|
1174
1215
|
/**
|
|
1175
|
-
*
|
|
1216
|
+
* Get Incoming Relationships By Type
|
|
1217
|
+
* Returns a listing of relationships
|
|
1218
|
+
* @param {Number} id
|
|
1219
|
+
* @param {Number} reltypeid
|
|
1176
1220
|
* @param {Object} opts Optional parameters
|
|
1177
1221
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1178
1222
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1180,26 +1224,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1180
1224
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1181
1225
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1182
1226
|
* @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)
|
|
1227
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
1183
1228
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1184
1229
|
* @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
|
|
1185
1230
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1186
1231
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1187
|
-
* @param {module:api/GraphObjectsApi~
|
|
1232
|
+
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1233
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
1188
1234
|
*/
|
|
1189
1235
|
}, {
|
|
1190
|
-
key: "
|
|
1191
|
-
value: function
|
|
1236
|
+
key: "getRelationshipsByTypeIn",
|
|
1237
|
+
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
1192
1238
|
opts = opts || {};
|
|
1193
1239
|
var postBody = null;
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1240
|
+
// verify the required parameter 'id' is set
|
|
1241
|
+
if (id === undefined || id === null) {
|
|
1242
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
1243
|
+
}
|
|
1244
|
+
// verify the required parameter 'reltypeid' is set
|
|
1245
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
1246
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
1247
|
+
}
|
|
1248
|
+
var pathParams = {
|
|
1249
|
+
'id': id,
|
|
1250
|
+
'reltypeid': reltypeid
|
|
1251
|
+
};
|
|
1252
|
+
var queryParams = {
|
|
1198
1253
|
'cacheduration': opts['cacheduration'],
|
|
1199
|
-
'cachegroup': opts['cachegroup'],
|
|
1200
|
-
'cachekey': opts['cachekey'],
|
|
1254
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1255
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
1201
1256
|
'cachescope': opts['cachescope'],
|
|
1202
|
-
'cacheuser': opts['cacheuser'],
|
|
1257
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1258
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1259
|
+
};
|
|
1260
|
+
var headerParams = {
|
|
1261
|
+
'Authorization': opts['authorization'],
|
|
1203
1262
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1204
1263
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1205
1264
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -1209,1813 +1268,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1209
1268
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1210
1269
|
var contentTypes = [];
|
|
1211
1270
|
var accepts = ['application/json'];
|
|
1212
|
-
var returnType =
|
|
1213
|
-
return this.apiClient.callApi('/
|
|
1271
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
1272
|
+
return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1214
1273
|
}
|
|
1215
1274
|
|
|
1216
1275
|
/**
|
|
1217
|
-
* Callback function to receive the result of the
|
|
1218
|
-
* @callback module:api/GraphObjectsApi~
|
|
1276
|
+
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
1277
|
+
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
|
|
1219
1278
|
* @param {String} error Error message, if any.
|
|
1220
|
-
* @param {Array.<module:model/
|
|
1279
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
1221
1280
|
* @param {String} response The complete HTTP response.
|
|
1222
1281
|
*/
|
|
1223
1282
|
|
|
1224
1283
|
/**
|
|
1225
|
-
* Get
|
|
1226
|
-
*
|
|
1227
|
-
* @param {Number} id
|
|
1228
|
-
* @param {
|
|
1229
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1230
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1231
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1232
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1233
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1234
|
-
* @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)
|
|
1235
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1236
|
-
* @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
|
|
1237
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1238
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1239
|
-
* @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1240
|
-
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
1241
|
-
*/
|
|
1242
|
-
}, {
|
|
1243
|
-
key: "getActions",
|
|
1244
|
-
value: function getActions(id, opts, callback) {
|
|
1245
|
-
opts = opts || {};
|
|
1246
|
-
var postBody = null;
|
|
1247
|
-
// verify the required parameter 'id' is set
|
|
1248
|
-
if (id === undefined || id === null) {
|
|
1249
|
-
throw new Error("Missing the required parameter 'id' when calling getActions");
|
|
1250
|
-
}
|
|
1251
|
-
var pathParams = {
|
|
1252
|
-
'id': id
|
|
1253
|
-
};
|
|
1254
|
-
var queryParams = {};
|
|
1255
|
-
var headerParams = {
|
|
1256
|
-
'Authorization': opts['authorization'],
|
|
1257
|
-
'cacheduration': opts['cacheduration'],
|
|
1258
|
-
'cachegroup': opts['cachegroup'],
|
|
1259
|
-
'cachekey': opts['cachekey'],
|
|
1260
|
-
'cachescope': opts['cachescope'],
|
|
1261
|
-
'cacheuser': opts['cacheuser'],
|
|
1262
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1263
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1264
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1265
|
-
'transactionid': opts['transactionid']
|
|
1266
|
-
};
|
|
1267
|
-
var formParams = {};
|
|
1268
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1269
|
-
var contentTypes = [];
|
|
1270
|
-
var accepts = ['application/json'];
|
|
1271
|
-
var returnType = [_GraphAction["default"]];
|
|
1272
|
-
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
/**
|
|
1276
|
-
* Callback function to receive the result of the getActionsByType operation.
|
|
1277
|
-
* @callback module:api/GraphObjectsApi~getActionsByTypeCallback
|
|
1278
|
-
* @param {String} error Error message, if any.
|
|
1279
|
-
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
1280
|
-
* @param {String} response The complete HTTP response.
|
|
1281
|
-
*/
|
|
1282
|
-
|
|
1283
|
-
/**
|
|
1284
|
-
* Get Actions By Type
|
|
1285
|
-
* Get actions attached to an object by type
|
|
1286
|
-
* @param {Number} id
|
|
1287
|
-
* @param {Number} actiontypeid
|
|
1288
|
-
* @param {Object} opts Optional parameters
|
|
1289
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1290
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1291
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1292
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1293
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1294
|
-
* @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)
|
|
1295
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1296
|
-
* @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
|
|
1297
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1298
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1299
|
-
* @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1300
|
-
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
1301
|
-
*/
|
|
1302
|
-
}, {
|
|
1303
|
-
key: "getActionsByType",
|
|
1304
|
-
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
1305
|
-
opts = opts || {};
|
|
1306
|
-
var postBody = null;
|
|
1307
|
-
// verify the required parameter 'id' is set
|
|
1308
|
-
if (id === undefined || id === null) {
|
|
1309
|
-
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
1310
|
-
}
|
|
1311
|
-
// verify the required parameter 'actiontypeid' is set
|
|
1312
|
-
if (actiontypeid === undefined || actiontypeid === null) {
|
|
1313
|
-
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
1314
|
-
}
|
|
1315
|
-
var pathParams = {
|
|
1316
|
-
'id': id,
|
|
1317
|
-
'actiontypeid': actiontypeid
|
|
1318
|
-
};
|
|
1319
|
-
var queryParams = {};
|
|
1320
|
-
var headerParams = {
|
|
1321
|
-
'Authorization': opts['authorization'],
|
|
1322
|
-
'cacheduration': opts['cacheduration'],
|
|
1323
|
-
'cachegroup': opts['cachegroup'],
|
|
1324
|
-
'cachekey': opts['cachekey'],
|
|
1325
|
-
'cachescope': opts['cachescope'],
|
|
1326
|
-
'cacheuser': opts['cacheuser'],
|
|
1327
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1328
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1329
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1330
|
-
'transactionid': opts['transactionid']
|
|
1331
|
-
};
|
|
1332
|
-
var formParams = {};
|
|
1333
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1334
|
-
var contentTypes = [];
|
|
1335
|
-
var accepts = ['application/json'];
|
|
1336
|
-
var returnType = [_GraphAction["default"]];
|
|
1337
|
-
return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
/**
|
|
1341
|
-
* Callback function to receive the result of the getAllRelationships operation.
|
|
1342
|
-
* @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
|
|
1343
|
-
* @param {String} error Error message, if any.
|
|
1344
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
1345
|
-
* @param {String} response The complete HTTP response.
|
|
1346
|
-
*/
|
|
1347
|
-
|
|
1348
|
-
/**
|
|
1349
|
-
* Get All Relationships
|
|
1350
|
-
* Returns a listing of relationships
|
|
1351
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1352
|
-
* @param {Object} opts Optional parameters
|
|
1353
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1354
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1355
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1356
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1357
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1358
|
-
* @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)
|
|
1359
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1360
|
-
* @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
|
|
1361
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1362
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1363
|
-
* @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1364
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1365
|
-
*/
|
|
1366
|
-
}, {
|
|
1367
|
-
key: "getAllRelationships",
|
|
1368
|
-
value: function getAllRelationships(id, opts, callback) {
|
|
1369
|
-
opts = opts || {};
|
|
1370
|
-
var postBody = null;
|
|
1371
|
-
// verify the required parameter 'id' is set
|
|
1372
|
-
if (id === undefined || id === null) {
|
|
1373
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
1374
|
-
}
|
|
1375
|
-
var pathParams = {
|
|
1376
|
-
'id': id
|
|
1377
|
-
};
|
|
1378
|
-
var queryParams = {};
|
|
1379
|
-
var headerParams = {
|
|
1380
|
-
'Authorization': opts['authorization'],
|
|
1381
|
-
'cacheduration': opts['cacheduration'],
|
|
1382
|
-
'cachegroup': opts['cachegroup'],
|
|
1383
|
-
'cachekey': opts['cachekey'],
|
|
1384
|
-
'cachescope': opts['cachescope'],
|
|
1385
|
-
'cacheuser': opts['cacheuser'],
|
|
1386
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1387
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1388
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1389
|
-
'transactionid': opts['transactionid']
|
|
1390
|
-
};
|
|
1391
|
-
var formParams = {};
|
|
1392
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1393
|
-
var contentTypes = [];
|
|
1394
|
-
var accepts = ['application/json'];
|
|
1395
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1396
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
/**
|
|
1400
|
-
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
1401
|
-
* @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
|
|
1402
|
-
* @param {String} error Error message, if any.
|
|
1403
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
1404
|
-
* @param {String} response The complete HTTP response.
|
|
1405
|
-
*/
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Get All Relationships By Type
|
|
1409
|
-
* Returns a listing of relationships
|
|
1410
|
-
* @param {Number} id The id of the relationship type we are searching for
|
|
1411
|
-
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
1412
|
-
* @param {Object} opts Optional parameters
|
|
1413
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1414
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1415
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1416
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1417
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1418
|
-
* @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)
|
|
1419
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1420
|
-
* @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
|
|
1421
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1422
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1423
|
-
* @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1424
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1425
|
-
*/
|
|
1426
|
-
}, {
|
|
1427
|
-
key: "getAllRelationshipsByType",
|
|
1428
|
-
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
1429
|
-
opts = opts || {};
|
|
1430
|
-
var postBody = null;
|
|
1431
|
-
// verify the required parameter 'id' is set
|
|
1432
|
-
if (id === undefined || id === null) {
|
|
1433
|
-
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
1434
|
-
}
|
|
1435
|
-
// verify the required parameter 'reltypeid' is set
|
|
1436
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
1437
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
1438
|
-
}
|
|
1439
|
-
var pathParams = {
|
|
1440
|
-
'id': id,
|
|
1441
|
-
'reltypeid': reltypeid
|
|
1442
|
-
};
|
|
1443
|
-
var queryParams = {};
|
|
1444
|
-
var headerParams = {
|
|
1445
|
-
'Authorization': opts['authorization'],
|
|
1446
|
-
'cacheduration': opts['cacheduration'],
|
|
1447
|
-
'cachegroup': opts['cachegroup'],
|
|
1448
|
-
'cachekey': opts['cachekey'],
|
|
1449
|
-
'cachescope': opts['cachescope'],
|
|
1450
|
-
'cacheuser': opts['cacheuser'],
|
|
1451
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1452
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1453
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1454
|
-
'transactionid': opts['transactionid']
|
|
1455
|
-
};
|
|
1456
|
-
var formParams = {};
|
|
1457
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1458
|
-
var contentTypes = [];
|
|
1459
|
-
var accepts = ['application/json'];
|
|
1460
|
-
var returnType = [_GraphRelationship["default"]];
|
|
1461
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
* Callback function to receive the result of the getComments operation.
|
|
1466
|
-
* @callback module:api/GraphObjectsApi~getCommentsCallback
|
|
1467
|
-
* @param {String} error Error message, if any.
|
|
1468
|
-
* @param {Array.<module:model/Comment>} data The data returned by the service call.
|
|
1469
|
-
* @param {String} response The complete HTTP response.
|
|
1470
|
-
*/
|
|
1471
|
-
|
|
1472
|
-
/**
|
|
1473
|
-
* @param {Number} objectid
|
|
1474
|
-
* @param {Object} opts Optional parameters
|
|
1475
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1476
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1477
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1478
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1479
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1480
|
-
* @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)
|
|
1481
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1482
|
-
* @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
|
|
1483
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1484
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1485
|
-
* @param {module:api/GraphObjectsApi~getCommentsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1486
|
-
* data is of type: {@link Array.<module:model/Comment>}
|
|
1487
|
-
*/
|
|
1488
|
-
}, {
|
|
1489
|
-
key: "getComments",
|
|
1490
|
-
value: function getComments(objectid, opts, callback) {
|
|
1491
|
-
opts = opts || {};
|
|
1492
|
-
var postBody = null;
|
|
1493
|
-
// verify the required parameter 'objectid' is set
|
|
1494
|
-
if (objectid === undefined || objectid === null) {
|
|
1495
|
-
throw new Error("Missing the required parameter 'objectid' when calling getComments");
|
|
1496
|
-
}
|
|
1497
|
-
var pathParams = {
|
|
1498
|
-
'objectid': objectid
|
|
1499
|
-
};
|
|
1500
|
-
var queryParams = {};
|
|
1501
|
-
var headerParams = {
|
|
1502
|
-
'Authorization': opts['authorization'],
|
|
1503
|
-
'cacheduration': opts['cacheduration'],
|
|
1504
|
-
'cachegroup': opts['cachegroup'],
|
|
1505
|
-
'cachekey': opts['cachekey'],
|
|
1506
|
-
'cachescope': opts['cachescope'],
|
|
1507
|
-
'cacheuser': opts['cacheuser'],
|
|
1508
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1509
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1510
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1511
|
-
'transactionid': opts['transactionid']
|
|
1512
|
-
};
|
|
1513
|
-
var formParams = {};
|
|
1514
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1515
|
-
var contentTypes = [];
|
|
1516
|
-
var accepts = ['application/json'];
|
|
1517
|
-
var returnType = [_Comment["default"]];
|
|
1518
|
-
return this.apiClient.callApi('/graph/data/object/{objectid}/comments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
* Callback function to receive the result of the getDataSheetImports operation.
|
|
1523
|
-
* @callback module:api/GraphObjectsApi~getDataSheetImportsCallback
|
|
1524
|
-
* @param {String} error Error message, if any.
|
|
1525
|
-
* @param {Array.<module:model/DataSheetImport>} data The data returned by the service call.
|
|
1526
|
-
* @param {String} response The complete HTTP response.
|
|
1527
|
-
*/
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* Get Related Objects
|
|
1531
|
-
* Get Related Objects
|
|
1532
|
-
* @param {Number} objectid The id of the object we are importing the datasheet to
|
|
1533
|
-
* @param {Object} opts Optional parameters
|
|
1534
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1535
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1536
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1537
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1538
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1539
|
-
* @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)
|
|
1540
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1541
|
-
* @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
|
|
1542
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1543
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1544
|
-
* @param {module:api/GraphObjectsApi~getDataSheetImportsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1545
|
-
* data is of type: {@link Array.<module:model/DataSheetImport>}
|
|
1546
|
-
*/
|
|
1547
|
-
}, {
|
|
1548
|
-
key: "getDataSheetImports",
|
|
1549
|
-
value: function getDataSheetImports(objectid, opts, callback) {
|
|
1550
|
-
opts = opts || {};
|
|
1551
|
-
var postBody = null;
|
|
1552
|
-
// verify the required parameter 'objectid' is set
|
|
1553
|
-
if (objectid === undefined || objectid === null) {
|
|
1554
|
-
throw new Error("Missing the required parameter 'objectid' when calling getDataSheetImports");
|
|
1555
|
-
}
|
|
1556
|
-
var pathParams = {
|
|
1557
|
-
'objectid': objectid
|
|
1558
|
-
};
|
|
1559
|
-
var queryParams = {};
|
|
1560
|
-
var headerParams = {
|
|
1561
|
-
'Authorization': opts['authorization'],
|
|
1562
|
-
'cacheduration': opts['cacheduration'],
|
|
1563
|
-
'cachegroup': opts['cachegroup'],
|
|
1564
|
-
'cachekey': opts['cachekey'],
|
|
1565
|
-
'cachescope': opts['cachescope'],
|
|
1566
|
-
'cacheuser': opts['cacheuser'],
|
|
1567
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1568
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1569
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1570
|
-
'transactionid': opts['transactionid']
|
|
1571
|
-
};
|
|
1572
|
-
var formParams = {};
|
|
1573
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1574
|
-
var contentTypes = [];
|
|
1575
|
-
var accepts = ['application/json'];
|
|
1576
|
-
var returnType = [_DataSheetImport["default"]];
|
|
1577
|
-
return this.apiClient.callApi('/graph/data/object/{objectid}/datasheetimports', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
/**
|
|
1581
|
-
* Callback function to receive the result of the getEvents operation.
|
|
1582
|
-
* @callback module:api/GraphObjectsApi~getEventsCallback
|
|
1583
|
-
* @param {String} error Error message, if any.
|
|
1584
|
-
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1585
|
-
* @param {String} response The complete HTTP response.
|
|
1586
|
-
*/
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* Get Events
|
|
1590
|
-
* Returns a listing of meeting events contained in or attached to this object
|
|
1591
|
-
* @param {Number} id The id of the object that we are retrieving events for
|
|
1592
|
-
* @param {Object} opts Optional parameters
|
|
1593
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1594
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1595
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1596
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1597
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1598
|
-
* @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)
|
|
1599
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1600
|
-
* @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
|
|
1601
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1602
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1603
|
-
* @param {module:api/GraphObjectsApi~getEventsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1604
|
-
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1605
|
-
*/
|
|
1606
|
-
}, {
|
|
1607
|
-
key: "getEvents",
|
|
1608
|
-
value: function getEvents(id, opts, callback) {
|
|
1609
|
-
opts = opts || {};
|
|
1610
|
-
var postBody = null;
|
|
1611
|
-
// verify the required parameter 'id' is set
|
|
1612
|
-
if (id === undefined || id === null) {
|
|
1613
|
-
throw new Error("Missing the required parameter 'id' when calling getEvents");
|
|
1614
|
-
}
|
|
1615
|
-
var pathParams = {
|
|
1616
|
-
'id': id
|
|
1617
|
-
};
|
|
1618
|
-
var queryParams = {};
|
|
1619
|
-
var headerParams = {
|
|
1620
|
-
'Authorization': opts['authorization'],
|
|
1621
|
-
'cacheduration': opts['cacheduration'],
|
|
1622
|
-
'cachegroup': opts['cachegroup'],
|
|
1623
|
-
'cachekey': opts['cachekey'],
|
|
1624
|
-
'cachescope': opts['cachescope'],
|
|
1625
|
-
'cacheuser': opts['cacheuser'],
|
|
1626
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1627
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1628
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1629
|
-
'transactionid': opts['transactionid']
|
|
1630
|
-
};
|
|
1631
|
-
var formParams = {};
|
|
1632
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1633
|
-
var contentTypes = [];
|
|
1634
|
-
var accepts = ['application/json'];
|
|
1635
|
-
var returnType = [_MeetingEvent["default"]];
|
|
1636
|
-
return this.apiClient.callApi('/graph/data/object/{id}/events', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* Callback function to receive the result of the getEventsDateRange operation.
|
|
1641
|
-
* @callback module:api/GraphObjectsApi~getEventsDateRangeCallback
|
|
1642
|
-
* @param {String} error Error message, if any.
|
|
1643
|
-
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1644
|
-
* @param {String} response The complete HTTP response.
|
|
1645
|
-
*/
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* Get Events Date Range
|
|
1649
|
-
* Returns a listing of meeting events contained in or attached to this object within the specified date range
|
|
1650
|
-
* @param {Number} id The id of the object that we are retrieving events for
|
|
1651
|
-
* @param {Number} startdate The unix epoch time for the start time of the event
|
|
1652
|
-
* @param {Number} enddate The unix epoch time for the end time of the event
|
|
1653
|
-
* @param {Object} opts Optional parameters
|
|
1654
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1655
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1656
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1657
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1658
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1659
|
-
* @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)
|
|
1660
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1661
|
-
* @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
|
|
1662
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1663
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1664
|
-
* @param {module:api/GraphObjectsApi~getEventsDateRangeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1665
|
-
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1666
|
-
*/
|
|
1667
|
-
}, {
|
|
1668
|
-
key: "getEventsDateRange",
|
|
1669
|
-
value: function getEventsDateRange(id, startdate, enddate, opts, callback) {
|
|
1670
|
-
opts = opts || {};
|
|
1671
|
-
var postBody = null;
|
|
1672
|
-
// verify the required parameter 'id' is set
|
|
1673
|
-
if (id === undefined || id === null) {
|
|
1674
|
-
throw new Error("Missing the required parameter 'id' when calling getEventsDateRange");
|
|
1675
|
-
}
|
|
1676
|
-
// verify the required parameter 'startdate' is set
|
|
1677
|
-
if (startdate === undefined || startdate === null) {
|
|
1678
|
-
throw new Error("Missing the required parameter 'startdate' when calling getEventsDateRange");
|
|
1679
|
-
}
|
|
1680
|
-
// verify the required parameter 'enddate' is set
|
|
1681
|
-
if (enddate === undefined || enddate === null) {
|
|
1682
|
-
throw new Error("Missing the required parameter 'enddate' when calling getEventsDateRange");
|
|
1683
|
-
}
|
|
1684
|
-
var pathParams = {
|
|
1685
|
-
'id': id,
|
|
1686
|
-
'startdate': startdate,
|
|
1687
|
-
'enddate': enddate
|
|
1688
|
-
};
|
|
1689
|
-
var queryParams = {};
|
|
1690
|
-
var headerParams = {
|
|
1691
|
-
'Authorization': opts['authorization'],
|
|
1692
|
-
'cacheduration': opts['cacheduration'],
|
|
1693
|
-
'cachegroup': opts['cachegroup'],
|
|
1694
|
-
'cachekey': opts['cachekey'],
|
|
1695
|
-
'cachescope': opts['cachescope'],
|
|
1696
|
-
'cacheuser': opts['cacheuser'],
|
|
1697
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1698
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1699
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1700
|
-
'transactionid': opts['transactionid']
|
|
1701
|
-
};
|
|
1702
|
-
var formParams = {};
|
|
1703
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1704
|
-
var contentTypes = [];
|
|
1705
|
-
var accepts = ['application/json'];
|
|
1706
|
-
var returnType = [_MeetingEvent["default"]];
|
|
1707
|
-
return this.apiClient.callApi('/graph/data/object/{id}/events/{startdate}:{enddate}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* Callback function to receive the result of the getEventsFuture operation.
|
|
1712
|
-
* @callback module:api/GraphObjectsApi~getEventsFutureCallback
|
|
1713
|
-
* @param {String} error Error message, if any.
|
|
1714
|
-
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1715
|
-
* @param {String} response The complete HTTP response.
|
|
1716
|
-
*/
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* Get Events Future
|
|
1720
|
-
* Returns a listing of future meeting events contained in or attached to this object
|
|
1721
|
-
* @param {Number} id The id of the object that we are retrieving events for
|
|
1722
|
-
* @param {Object} opts Optional parameters
|
|
1723
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1724
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1725
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1726
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1727
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1728
|
-
* @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)
|
|
1729
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1730
|
-
* @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
|
|
1731
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1732
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1733
|
-
* @param {module:api/GraphObjectsApi~getEventsFutureCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1734
|
-
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1735
|
-
*/
|
|
1736
|
-
}, {
|
|
1737
|
-
key: "getEventsFuture",
|
|
1738
|
-
value: function getEventsFuture(id, opts, callback) {
|
|
1739
|
-
opts = opts || {};
|
|
1740
|
-
var postBody = null;
|
|
1741
|
-
// verify the required parameter 'id' is set
|
|
1742
|
-
if (id === undefined || id === null) {
|
|
1743
|
-
throw new Error("Missing the required parameter 'id' when calling getEventsFuture");
|
|
1744
|
-
}
|
|
1745
|
-
var pathParams = {
|
|
1746
|
-
'id': id
|
|
1747
|
-
};
|
|
1748
|
-
var queryParams = {};
|
|
1749
|
-
var headerParams = {
|
|
1750
|
-
'Authorization': opts['authorization'],
|
|
1751
|
-
'cacheduration': opts['cacheduration'],
|
|
1752
|
-
'cachegroup': opts['cachegroup'],
|
|
1753
|
-
'cachekey': opts['cachekey'],
|
|
1754
|
-
'cachescope': opts['cachescope'],
|
|
1755
|
-
'cacheuser': opts['cacheuser'],
|
|
1756
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1757
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1758
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1759
|
-
'transactionid': opts['transactionid']
|
|
1760
|
-
};
|
|
1761
|
-
var formParams = {};
|
|
1762
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1763
|
-
var contentTypes = [];
|
|
1764
|
-
var accepts = ['application/json'];
|
|
1765
|
-
var returnType = [_MeetingEvent["default"]];
|
|
1766
|
-
return this.apiClient.callApi('/graph/data/object/{id}/events/future', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
/**
|
|
1770
|
-
* Callback function to receive the result of the getEventsPast operation.
|
|
1771
|
-
* @callback module:api/GraphObjectsApi~getEventsPastCallback
|
|
1772
|
-
* @param {String} error Error message, if any.
|
|
1773
|
-
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1774
|
-
* @param {String} response The complete HTTP response.
|
|
1775
|
-
*/
|
|
1776
|
-
|
|
1777
|
-
/**
|
|
1778
|
-
* Get Events
|
|
1779
|
-
* Returns a listing of past meeting events contained in or attached to this object
|
|
1780
|
-
* @param {Number} id The id of the object that we are retrieving events for
|
|
1781
|
-
* @param {Object} opts Optional parameters
|
|
1782
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1783
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1784
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1785
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1786
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1787
|
-
* @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)
|
|
1788
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1789
|
-
* @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
|
|
1790
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1791
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1792
|
-
* @param {module:api/GraphObjectsApi~getEventsPastCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1793
|
-
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1794
|
-
*/
|
|
1795
|
-
}, {
|
|
1796
|
-
key: "getEventsPast",
|
|
1797
|
-
value: function getEventsPast(id, opts, callback) {
|
|
1798
|
-
opts = opts || {};
|
|
1799
|
-
var postBody = null;
|
|
1800
|
-
// verify the required parameter 'id' is set
|
|
1801
|
-
if (id === undefined || id === null) {
|
|
1802
|
-
throw new Error("Missing the required parameter 'id' when calling getEventsPast");
|
|
1803
|
-
}
|
|
1804
|
-
var pathParams = {
|
|
1805
|
-
'id': id
|
|
1806
|
-
};
|
|
1807
|
-
var queryParams = {};
|
|
1808
|
-
var headerParams = {
|
|
1809
|
-
'Authorization': opts['authorization'],
|
|
1810
|
-
'cacheduration': opts['cacheduration'],
|
|
1811
|
-
'cachegroup': opts['cachegroup'],
|
|
1812
|
-
'cachekey': opts['cachekey'],
|
|
1813
|
-
'cachescope': opts['cachescope'],
|
|
1814
|
-
'cacheuser': opts['cacheuser'],
|
|
1815
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1816
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1817
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1818
|
-
'transactionid': opts['transactionid']
|
|
1819
|
-
};
|
|
1820
|
-
var formParams = {};
|
|
1821
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1822
|
-
var contentTypes = [];
|
|
1823
|
-
var accepts = ['application/json'];
|
|
1824
|
-
var returnType = [_MeetingEvent["default"]];
|
|
1825
|
-
return this.apiClient.callApi('/graph/data/object/{id}/events/past', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
/**
|
|
1829
|
-
* Callback function to receive the result of the getFiles operation.
|
|
1830
|
-
* @callback module:api/GraphObjectsApi~getFilesCallback
|
|
1831
|
-
* @param {String} error Error message, if any.
|
|
1832
|
-
* @param {Array.<File>} data The data returned by the service call.
|
|
1833
|
-
* @param {String} response The complete HTTP response.
|
|
1834
|
-
*/
|
|
1835
|
-
|
|
1836
|
-
/**
|
|
1837
|
-
* @param {Number} id
|
|
1838
|
-
* @param {Object} opts Optional parameters
|
|
1839
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1840
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1841
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1842
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1843
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1844
|
-
* @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)
|
|
1845
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1846
|
-
* @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
|
|
1847
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1848
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1849
|
-
* @param {module:api/GraphObjectsApi~getFilesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1850
|
-
* data is of type: {@link Array.<File>}
|
|
1851
|
-
*/
|
|
1852
|
-
}, {
|
|
1853
|
-
key: "getFiles",
|
|
1854
|
-
value: function getFiles(id, opts, callback) {
|
|
1855
|
-
opts = opts || {};
|
|
1856
|
-
var postBody = null;
|
|
1857
|
-
// verify the required parameter 'id' is set
|
|
1858
|
-
if (id === undefined || id === null) {
|
|
1859
|
-
throw new Error("Missing the required parameter 'id' when calling getFiles");
|
|
1860
|
-
}
|
|
1861
|
-
var pathParams = {
|
|
1862
|
-
'id': id
|
|
1863
|
-
};
|
|
1864
|
-
var queryParams = {};
|
|
1865
|
-
var headerParams = {
|
|
1866
|
-
'Authorization': opts['authorization'],
|
|
1867
|
-
'cacheduration': opts['cacheduration'],
|
|
1868
|
-
'cachegroup': opts['cachegroup'],
|
|
1869
|
-
'cachekey': opts['cachekey'],
|
|
1870
|
-
'cachescope': opts['cachescope'],
|
|
1871
|
-
'cacheuser': opts['cacheuser'],
|
|
1872
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1873
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1874
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1875
|
-
'transactionid': opts['transactionid']
|
|
1876
|
-
};
|
|
1877
|
-
var formParams = {};
|
|
1878
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1879
|
-
var contentTypes = [];
|
|
1880
|
-
var accepts = ['application/json'];
|
|
1881
|
-
var returnType = [File];
|
|
1882
|
-
return this.apiClient.callApi('/graph/data/object/{id}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
* Callback function to receive the result of the getGeocodes operation.
|
|
1887
|
-
* @callback module:api/GraphObjectsApi~getGeocodesCallback
|
|
1888
|
-
* @param {String} error Error message, if any.
|
|
1889
|
-
* @param {Array.<module:model/GraphGeocode>} data The data returned by the service call.
|
|
1890
|
-
* @param {String} response The complete HTTP response.
|
|
1891
|
-
*/
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* @param {Number} id The id of the object to retrieve the geolocation information
|
|
1895
|
-
* @param {Object} opts Optional parameters
|
|
1896
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1897
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1898
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1899
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1900
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1901
|
-
* @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)
|
|
1902
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1903
|
-
* @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
|
|
1904
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1905
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1906
|
-
* @param {module:api/GraphObjectsApi~getGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1907
|
-
* data is of type: {@link Array.<module:model/GraphGeocode>}
|
|
1908
|
-
*/
|
|
1909
|
-
}, {
|
|
1910
|
-
key: "getGeocodes",
|
|
1911
|
-
value: function getGeocodes(id, opts, callback) {
|
|
1912
|
-
opts = opts || {};
|
|
1913
|
-
var postBody = null;
|
|
1914
|
-
// verify the required parameter 'id' is set
|
|
1915
|
-
if (id === undefined || id === null) {
|
|
1916
|
-
throw new Error("Missing the required parameter 'id' when calling getGeocodes");
|
|
1917
|
-
}
|
|
1918
|
-
var pathParams = {
|
|
1919
|
-
'id': id
|
|
1920
|
-
};
|
|
1921
|
-
var queryParams = {};
|
|
1922
|
-
var headerParams = {
|
|
1923
|
-
'Authorization': opts['authorization'],
|
|
1924
|
-
'cacheduration': opts['cacheduration'],
|
|
1925
|
-
'cachegroup': opts['cachegroup'],
|
|
1926
|
-
'cachekey': opts['cachekey'],
|
|
1927
|
-
'cachescope': opts['cachescope'],
|
|
1928
|
-
'cacheuser': opts['cacheuser'],
|
|
1929
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1930
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1931
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1932
|
-
'transactionid': opts['transactionid']
|
|
1933
|
-
};
|
|
1934
|
-
var formParams = {};
|
|
1935
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1936
|
-
var contentTypes = [];
|
|
1937
|
-
var accepts = ['application/json'];
|
|
1938
|
-
var returnType = [_GraphGeocode["default"]];
|
|
1939
|
-
return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
/**
|
|
1943
|
-
* Callback function to receive the result of the getGraphs operation.
|
|
1944
|
-
* @callback module:api/GraphObjectsApi~getGraphsCallback
|
|
1945
|
-
* @param {String} error Error message, if any.
|
|
1946
|
-
* @param {Array.<module:model/Graph>} data The data returned by the service call.
|
|
1947
|
-
* @param {String} response The complete HTTP response.
|
|
1948
|
-
*/
|
|
1949
|
-
|
|
1950
|
-
/**
|
|
1951
|
-
* @param {Number} id The id of the object whose graphs we are retrieving
|
|
1952
|
-
* @param {Object} opts Optional parameters
|
|
1953
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
1954
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
1955
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
1956
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
1957
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
1958
|
-
* @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)
|
|
1959
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1960
|
-
* @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
|
|
1961
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1962
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1963
|
-
* @param {module:api/GraphObjectsApi~getGraphsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1964
|
-
* data is of type: {@link Array.<module:model/Graph>}
|
|
1965
|
-
*/
|
|
1966
|
-
}, {
|
|
1967
|
-
key: "getGraphs",
|
|
1968
|
-
value: function getGraphs(id, opts, callback) {
|
|
1969
|
-
opts = opts || {};
|
|
1970
|
-
var postBody = null;
|
|
1971
|
-
// verify the required parameter 'id' is set
|
|
1972
|
-
if (id === undefined || id === null) {
|
|
1973
|
-
throw new Error("Missing the required parameter 'id' when calling getGraphs");
|
|
1974
|
-
}
|
|
1975
|
-
var pathParams = {
|
|
1976
|
-
'id': id
|
|
1977
|
-
};
|
|
1978
|
-
var queryParams = {};
|
|
1979
|
-
var headerParams = {
|
|
1980
|
-
'Authorization': opts['authorization'],
|
|
1981
|
-
'cacheduration': opts['cacheduration'],
|
|
1982
|
-
'cachegroup': opts['cachegroup'],
|
|
1983
|
-
'cachekey': opts['cachekey'],
|
|
1984
|
-
'cachescope': opts['cachescope'],
|
|
1985
|
-
'cacheuser': opts['cacheuser'],
|
|
1986
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1987
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1988
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1989
|
-
'transactionid': opts['transactionid']
|
|
1990
|
-
};
|
|
1991
|
-
var formParams = {};
|
|
1992
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1993
|
-
var contentTypes = [];
|
|
1994
|
-
var accepts = ['application/json'];
|
|
1995
|
-
var returnType = [_Graph["default"]];
|
|
1996
|
-
return this.apiClient.callApi('/graph/data/object/{id}/graphs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
/**
|
|
2000
|
-
* Callback function to receive the result of the getImages operation.
|
|
2001
|
-
* @callback module:api/GraphObjectsApi~getImagesCallback
|
|
2002
|
-
* @param {String} error Error message, if any.
|
|
2003
|
-
* @param {Array.<module:model/Image>} data The data returned by the service call.
|
|
2004
|
-
* @param {String} response The complete HTTP response.
|
|
2005
|
-
*/
|
|
2006
|
-
|
|
2007
|
-
/**
|
|
2008
|
-
* @param {Number} id
|
|
2009
|
-
* @param {Object} opts Optional parameters
|
|
2010
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2011
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2012
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2013
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2014
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2015
|
-
* @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)
|
|
2016
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2017
|
-
* @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
|
|
2018
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2019
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2020
|
-
* @param {module:api/GraphObjectsApi~getImagesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2021
|
-
* data is of type: {@link Array.<module:model/Image>}
|
|
2022
|
-
*/
|
|
2023
|
-
}, {
|
|
2024
|
-
key: "getImages",
|
|
2025
|
-
value: function getImages(id, opts, callback) {
|
|
2026
|
-
opts = opts || {};
|
|
2027
|
-
var postBody = null;
|
|
2028
|
-
// verify the required parameter 'id' is set
|
|
2029
|
-
if (id === undefined || id === null) {
|
|
2030
|
-
throw new Error("Missing the required parameter 'id' when calling getImages");
|
|
2031
|
-
}
|
|
2032
|
-
var pathParams = {
|
|
2033
|
-
'id': id
|
|
2034
|
-
};
|
|
2035
|
-
var queryParams = {};
|
|
2036
|
-
var headerParams = {
|
|
2037
|
-
'Authorization': opts['authorization'],
|
|
2038
|
-
'cacheduration': opts['cacheduration'],
|
|
2039
|
-
'cachegroup': opts['cachegroup'],
|
|
2040
|
-
'cachekey': opts['cachekey'],
|
|
2041
|
-
'cachescope': opts['cachescope'],
|
|
2042
|
-
'cacheuser': opts['cacheuser'],
|
|
2043
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2044
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2045
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2046
|
-
'transactionid': opts['transactionid']
|
|
2047
|
-
};
|
|
2048
|
-
var formParams = {};
|
|
2049
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2050
|
-
var contentTypes = [];
|
|
2051
|
-
var accepts = ['application/json'];
|
|
2052
|
-
var returnType = [_Image["default"]];
|
|
2053
|
-
return this.apiClient.callApi('/graph/data/object/{id}/images', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
/**
|
|
2057
|
-
* Callback function to receive the result of the getNewsfeed operation.
|
|
2058
|
-
* @callback module:api/GraphObjectsApi~getNewsfeedCallback
|
|
2059
|
-
* @param {String} error Error message, if any.
|
|
2060
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2061
|
-
* @param {String} response The complete HTTP response.
|
|
2062
|
-
*/
|
|
2063
|
-
|
|
2064
|
-
/**
|
|
2065
|
-
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
2066
|
-
* @param {Object} opts Optional parameters
|
|
2067
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2068
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2069
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2070
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2071
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2072
|
-
* @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)
|
|
2073
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2074
|
-
* @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
|
|
2075
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2076
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2077
|
-
* @param {module:api/GraphObjectsApi~getNewsfeedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2078
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2079
|
-
*/
|
|
2080
|
-
}, {
|
|
2081
|
-
key: "getNewsfeed",
|
|
2082
|
-
value: function getNewsfeed(id, opts, callback) {
|
|
2083
|
-
opts = opts || {};
|
|
2084
|
-
var postBody = null;
|
|
2085
|
-
// verify the required parameter 'id' is set
|
|
2086
|
-
if (id === undefined || id === null) {
|
|
2087
|
-
throw new Error("Missing the required parameter 'id' when calling getNewsfeed");
|
|
2088
|
-
}
|
|
2089
|
-
var pathParams = {
|
|
2090
|
-
'id': id
|
|
2091
|
-
};
|
|
2092
|
-
var queryParams = {};
|
|
2093
|
-
var headerParams = {
|
|
2094
|
-
'Authorization': opts['authorization'],
|
|
2095
|
-
'cacheduration': opts['cacheduration'],
|
|
2096
|
-
'cachegroup': opts['cachegroup'],
|
|
2097
|
-
'cachekey': opts['cachekey'],
|
|
2098
|
-
'cachescope': opts['cachescope'],
|
|
2099
|
-
'cacheuser': opts['cacheuser'],
|
|
2100
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2101
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2102
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2103
|
-
'transactionid': opts['transactionid']
|
|
2104
|
-
};
|
|
2105
|
-
var formParams = {};
|
|
2106
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2107
|
-
var contentTypes = [];
|
|
2108
|
-
var accepts = ['application/json'];
|
|
2109
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
2110
|
-
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
/**
|
|
2114
|
-
* Callback function to receive the result of the getNewsfeedIndexed operation.
|
|
2115
|
-
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedCallback
|
|
2116
|
-
* @param {String} error Error message, if any.
|
|
2117
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2118
|
-
* @param {String} response The complete HTTP response.
|
|
2119
|
-
*/
|
|
2120
|
-
|
|
2121
|
-
/**
|
|
2122
|
-
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
2123
|
-
* @param {Number} start
|
|
2124
|
-
* @param {Number} end
|
|
2125
|
-
* @param {Object} opts Optional parameters
|
|
2126
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2127
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2128
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2129
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2130
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2131
|
-
* @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)
|
|
2132
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2133
|
-
* @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
|
|
2134
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2135
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2136
|
-
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2137
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2138
|
-
*/
|
|
2139
|
-
}, {
|
|
2140
|
-
key: "getNewsfeedIndexed",
|
|
2141
|
-
value: function getNewsfeedIndexed(id, start, end, opts, callback) {
|
|
2142
|
-
opts = opts || {};
|
|
2143
|
-
var postBody = null;
|
|
2144
|
-
// verify the required parameter 'id' is set
|
|
2145
|
-
if (id === undefined || id === null) {
|
|
2146
|
-
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexed");
|
|
2147
|
-
}
|
|
2148
|
-
// verify the required parameter 'start' is set
|
|
2149
|
-
if (start === undefined || start === null) {
|
|
2150
|
-
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexed");
|
|
2151
|
-
}
|
|
2152
|
-
// verify the required parameter 'end' is set
|
|
2153
|
-
if (end === undefined || end === null) {
|
|
2154
|
-
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexed");
|
|
2155
|
-
}
|
|
2156
|
-
var pathParams = {
|
|
2157
|
-
'id': id,
|
|
2158
|
-
'start': start,
|
|
2159
|
-
'end': end
|
|
2160
|
-
};
|
|
2161
|
-
var queryParams = {};
|
|
2162
|
-
var headerParams = {
|
|
2163
|
-
'Authorization': opts['authorization'],
|
|
2164
|
-
'cacheduration': opts['cacheduration'],
|
|
2165
|
-
'cachegroup': opts['cachegroup'],
|
|
2166
|
-
'cachekey': opts['cachekey'],
|
|
2167
|
-
'cachescope': opts['cachescope'],
|
|
2168
|
-
'cacheuser': opts['cacheuser'],
|
|
2169
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2170
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2171
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2172
|
-
'transactionid': opts['transactionid']
|
|
2173
|
-
};
|
|
2174
|
-
var formParams = {};
|
|
2175
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2176
|
-
var contentTypes = [];
|
|
2177
|
-
var accepts = ['application/json'];
|
|
2178
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
2179
|
-
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}-{end}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
/**
|
|
2183
|
-
* Callback function to receive the result of the getNewsfeedIndexedStart operation.
|
|
2184
|
-
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback
|
|
2185
|
-
* @param {String} error Error message, if any.
|
|
2186
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2187
|
-
* @param {String} response The complete HTTP response.
|
|
2188
|
-
*/
|
|
2189
|
-
|
|
2190
|
-
/**
|
|
2191
|
-
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
2192
|
-
* @param {Number} start
|
|
2193
|
-
* @param {Number} end
|
|
2194
|
-
* @param {Object} opts Optional parameters
|
|
2195
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2196
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2197
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2198
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2199
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2200
|
-
* @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)
|
|
2201
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2202
|
-
* @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
|
|
2203
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2204
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2205
|
-
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2206
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2207
|
-
*/
|
|
2208
|
-
}, {
|
|
2209
|
-
key: "getNewsfeedIndexedStart",
|
|
2210
|
-
value: function getNewsfeedIndexedStart(id, start, end, opts, callback) {
|
|
2211
|
-
opts = opts || {};
|
|
2212
|
-
var postBody = null;
|
|
2213
|
-
// verify the required parameter 'id' is set
|
|
2214
|
-
if (id === undefined || id === null) {
|
|
2215
|
-
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexedStart");
|
|
2216
|
-
}
|
|
2217
|
-
// verify the required parameter 'start' is set
|
|
2218
|
-
if (start === undefined || start === null) {
|
|
2219
|
-
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexedStart");
|
|
2220
|
-
}
|
|
2221
|
-
// verify the required parameter 'end' is set
|
|
2222
|
-
if (end === undefined || end === null) {
|
|
2223
|
-
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexedStart");
|
|
2224
|
-
}
|
|
2225
|
-
var pathParams = {
|
|
2226
|
-
'id': id,
|
|
2227
|
-
'start': start,
|
|
2228
|
-
'end': end
|
|
2229
|
-
};
|
|
2230
|
-
var queryParams = {};
|
|
2231
|
-
var headerParams = {
|
|
2232
|
-
'Authorization': opts['authorization'],
|
|
2233
|
-
'cacheduration': opts['cacheduration'],
|
|
2234
|
-
'cachegroup': opts['cachegroup'],
|
|
2235
|
-
'cachekey': opts['cachekey'],
|
|
2236
|
-
'cachescope': opts['cachescope'],
|
|
2237
|
-
'cacheuser': opts['cacheuser'],
|
|
2238
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2239
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2240
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2241
|
-
'transactionid': opts['transactionid']
|
|
2242
|
-
};
|
|
2243
|
-
var formParams = {};
|
|
2244
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2245
|
-
var contentTypes = [];
|
|
2246
|
-
var accepts = ['application/json'];
|
|
2247
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
2248
|
-
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
/**
|
|
2252
|
-
* Callback function to receive the result of the getObjectById operation.
|
|
2253
|
-
* @callback module:api/GraphObjectsApi~getObjectByIdCallback
|
|
2254
|
-
* @param {String} error Error message, if any.
|
|
2255
|
-
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
2256
|
-
* @param {String} response The complete HTTP response.
|
|
2257
|
-
*/
|
|
2258
|
-
|
|
2259
|
-
/**
|
|
2260
|
-
* Gets object by id
|
|
2261
|
-
* @param {Number} id The id of the object that we are retreiving
|
|
2262
|
-
* @param {Object} opts Optional parameters
|
|
2263
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2264
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2265
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2266
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2267
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2268
|
-
* @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)
|
|
2269
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2270
|
-
* @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
|
|
2271
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2272
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2273
|
-
* @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2274
|
-
* data is of type: {@link module:model/GraphObjectSchema}
|
|
2275
|
-
*/
|
|
2276
|
-
}, {
|
|
2277
|
-
key: "getObjectById",
|
|
2278
|
-
value: function getObjectById(id, opts, callback) {
|
|
2279
|
-
opts = opts || {};
|
|
2280
|
-
var postBody = null;
|
|
2281
|
-
// verify the required parameter 'id' is set
|
|
2282
|
-
if (id === undefined || id === null) {
|
|
2283
|
-
throw new Error("Missing the required parameter 'id' when calling getObjectById");
|
|
2284
|
-
}
|
|
2285
|
-
var pathParams = {
|
|
2286
|
-
'id': id
|
|
2287
|
-
};
|
|
2288
|
-
var queryParams = {};
|
|
2289
|
-
var headerParams = {
|
|
2290
|
-
'Authorization': opts['authorization'],
|
|
2291
|
-
'cacheduration': opts['cacheduration'],
|
|
2292
|
-
'cachegroup': opts['cachegroup'],
|
|
2293
|
-
'cachekey': opts['cachekey'],
|
|
2294
|
-
'cachescope': opts['cachescope'],
|
|
2295
|
-
'cacheuser': opts['cacheuser'],
|
|
2296
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2297
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2298
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2299
|
-
'transactionid': opts['transactionid']
|
|
2300
|
-
};
|
|
2301
|
-
var formParams = {};
|
|
2302
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2303
|
-
var contentTypes = [];
|
|
2304
|
-
var accepts = ['application/json'];
|
|
2305
|
-
var returnType = _GraphObjectSchema["default"];
|
|
2306
|
-
return this.apiClient.callApi('/graph/data/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
|
-
/**
|
|
2310
|
-
* Callback function to receive the result of the getObjectByKey operation.
|
|
2311
|
-
* @callback module:api/GraphObjectsApi~getObjectByKeyCallback
|
|
2312
|
-
* @param {String} error Error message, if any.
|
|
2313
|
-
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
2314
|
-
* @param {String} response The complete HTTP response.
|
|
2315
|
-
*/
|
|
2316
|
-
|
|
2317
|
-
/**
|
|
2318
|
-
* Get Object By Key
|
|
2319
|
-
* Get An Object By it's key identifier
|
|
2320
|
-
* @param {String} key The unique key of the object we are retrieving
|
|
2321
|
-
* @param {Object} opts Optional parameters
|
|
2322
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2323
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2324
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2325
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2326
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2327
|
-
* @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)
|
|
2328
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2329
|
-
* @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
|
|
2330
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2331
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2332
|
-
* @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2333
|
-
* data is of type: {@link module:model/GraphObjectSchema}
|
|
2334
|
-
*/
|
|
2335
|
-
}, {
|
|
2336
|
-
key: "getObjectByKey",
|
|
2337
|
-
value: function getObjectByKey(key, opts, callback) {
|
|
2338
|
-
opts = opts || {};
|
|
2339
|
-
var postBody = null;
|
|
2340
|
-
// verify the required parameter 'key' is set
|
|
2341
|
-
if (key === undefined || key === null) {
|
|
2342
|
-
throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
|
|
2343
|
-
}
|
|
2344
|
-
var pathParams = {
|
|
2345
|
-
'key': key
|
|
2346
|
-
};
|
|
2347
|
-
var queryParams = {};
|
|
2348
|
-
var headerParams = {
|
|
2349
|
-
'Authorization': opts['authorization'],
|
|
2350
|
-
'cacheduration': opts['cacheduration'],
|
|
2351
|
-
'cachegroup': opts['cachegroup'],
|
|
2352
|
-
'cachekey': opts['cachekey'],
|
|
2353
|
-
'cachescope': opts['cachescope'],
|
|
2354
|
-
'cacheuser': opts['cacheuser'],
|
|
2355
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2356
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2357
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2358
|
-
'transactionid': opts['transactionid']
|
|
2359
|
-
};
|
|
2360
|
-
var formParams = {};
|
|
2361
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2362
|
-
var contentTypes = [];
|
|
2363
|
-
var accepts = ['application/json'];
|
|
2364
|
-
var returnType = _GraphObjectSchema["default"];
|
|
2365
|
-
return this.apiClient.callApi('/graph/data/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
/**
|
|
2369
|
-
* Callback function to receive the result of the getObjectFromSchema operation.
|
|
2370
|
-
* @callback module:api/GraphObjectsApi~getObjectFromSchemaCallback
|
|
2371
|
-
* @param {String} error Error message, if any.
|
|
2372
|
-
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
2373
|
-
* @param {String} response The complete HTTP response.
|
|
2374
|
-
*/
|
|
2375
|
-
|
|
2376
|
-
/**
|
|
2377
|
-
* Get Object From Schema
|
|
2378
|
-
* Get the object representation of the Graph Schema
|
|
2379
|
-
* @param {String} schemakey The unique id of the graph schema we are retrieving
|
|
2380
|
-
* @param {Object} opts Optional parameters
|
|
2381
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2382
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2383
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2384
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2385
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2386
|
-
* @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)
|
|
2387
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2388
|
-
* @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
|
|
2389
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2390
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2391
|
-
* @param {module:api/GraphObjectsApi~getObjectFromSchemaCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2392
|
-
* data is of type: {@link module:model/GraphObjectSchema}
|
|
2393
|
-
*/
|
|
2394
|
-
}, {
|
|
2395
|
-
key: "getObjectFromSchema",
|
|
2396
|
-
value: function getObjectFromSchema(schemakey, opts, callback) {
|
|
2397
|
-
opts = opts || {};
|
|
2398
|
-
var postBody = null;
|
|
2399
|
-
// verify the required parameter 'schemakey' is set
|
|
2400
|
-
if (schemakey === undefined || schemakey === null) {
|
|
2401
|
-
throw new Error("Missing the required parameter 'schemakey' when calling getObjectFromSchema");
|
|
2402
|
-
}
|
|
2403
|
-
var pathParams = {
|
|
2404
|
-
'schemakey': schemakey
|
|
2405
|
-
};
|
|
2406
|
-
var queryParams = {};
|
|
2407
|
-
var headerParams = {
|
|
2408
|
-
'Authorization': opts['authorization'],
|
|
2409
|
-
'cacheduration': opts['cacheduration'],
|
|
2410
|
-
'cachegroup': opts['cachegroup'],
|
|
2411
|
-
'cachekey': opts['cachekey'],
|
|
2412
|
-
'cachescope': opts['cachescope'],
|
|
2413
|
-
'cacheuser': opts['cacheuser'],
|
|
2414
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2415
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2416
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2417
|
-
'transactionid': opts['transactionid']
|
|
2418
|
-
};
|
|
2419
|
-
var formParams = {};
|
|
2420
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2421
|
-
var contentTypes = [];
|
|
2422
|
-
var accepts = ['application/json'];
|
|
2423
|
-
var returnType = _GraphObjectSchema["default"];
|
|
2424
|
-
return this.apiClient.callApi('/graph/data/object/schema/{schemakey}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2425
|
-
}
|
|
2426
|
-
|
|
2427
|
-
/**
|
|
2428
|
-
* Callback function to receive the result of the getObjectProperties operation.
|
|
2429
|
-
* @callback module:api/GraphObjectsApi~getObjectPropertiesCallback
|
|
2430
|
-
* @param {String} error Error message, if any.
|
|
2431
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
2432
|
-
* @param {String} response The complete HTTP response.
|
|
2433
|
-
*/
|
|
2434
|
-
|
|
2435
|
-
/**
|
|
2436
|
-
* Get Properties
|
|
2437
|
-
* Get all properties attached to an object
|
|
2438
|
-
* @param {Number} id The id of the object whose properties we are retrieve
|
|
2439
|
-
* @param {Object} opts Optional parameters
|
|
2440
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2441
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2442
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2443
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2444
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2445
|
-
* @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)
|
|
2446
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2447
|
-
* @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
|
|
2448
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2449
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2450
|
-
* @param {module:api/GraphObjectsApi~getObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2451
|
-
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
2452
|
-
*/
|
|
2453
|
-
}, {
|
|
2454
|
-
key: "getObjectProperties",
|
|
2455
|
-
value: function getObjectProperties(id, opts, callback) {
|
|
2456
|
-
opts = opts || {};
|
|
2457
|
-
var postBody = null;
|
|
2458
|
-
// verify the required parameter 'id' is set
|
|
2459
|
-
if (id === undefined || id === null) {
|
|
2460
|
-
throw new Error("Missing the required parameter 'id' when calling getObjectProperties");
|
|
2461
|
-
}
|
|
2462
|
-
var pathParams = {
|
|
2463
|
-
'id': id
|
|
2464
|
-
};
|
|
2465
|
-
var queryParams = {};
|
|
2466
|
-
var headerParams = {
|
|
2467
|
-
'Authorization': opts['authorization'],
|
|
2468
|
-
'cacheduration': opts['cacheduration'],
|
|
2469
|
-
'cachegroup': opts['cachegroup'],
|
|
2470
|
-
'cachekey': opts['cachekey'],
|
|
2471
|
-
'cachescope': opts['cachescope'],
|
|
2472
|
-
'cacheuser': opts['cacheuser'],
|
|
2473
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2474
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2475
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2476
|
-
'transactionid': opts['transactionid']
|
|
2477
|
-
};
|
|
2478
|
-
var formParams = {};
|
|
2479
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2480
|
-
var contentTypes = [];
|
|
2481
|
-
var accepts = ['application/json'];
|
|
2482
|
-
var returnType = {
|
|
2483
|
-
'String': _PurgeDataDefaultResponseValue["default"]
|
|
2484
|
-
};
|
|
2485
|
-
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2488
|
-
/**
|
|
2489
|
-
* Callback function to receive the result of the getObjectProperty operation.
|
|
2490
|
-
* @callback module:api/GraphObjectsApi~getObjectPropertyCallback
|
|
2491
|
-
* @param {String} error Error message, if any.
|
|
2492
|
-
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
2493
|
-
* @param {String} response The complete HTTP response.
|
|
2494
|
-
*/
|
|
2495
|
-
|
|
2496
|
-
/**
|
|
2497
|
-
* Get Property
|
|
2498
|
-
* Get a single property attached to an object
|
|
2499
|
-
* @param {Number} id The id of the object whose properties we are retrieve
|
|
2500
|
-
* @param {String} prop The property is retrieving
|
|
2501
|
-
* @param {Object} opts Optional parameters
|
|
2502
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2503
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2504
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2505
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2506
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2507
|
-
* @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)
|
|
2508
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2509
|
-
* @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
|
|
2510
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2511
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2512
|
-
* @param {module:api/GraphObjectsApi~getObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2513
|
-
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
2514
|
-
*/
|
|
2515
|
-
}, {
|
|
2516
|
-
key: "getObjectProperty",
|
|
2517
|
-
value: function getObjectProperty(id, prop, opts, callback) {
|
|
2518
|
-
opts = opts || {};
|
|
2519
|
-
var postBody = null;
|
|
2520
|
-
// verify the required parameter 'id' is set
|
|
2521
|
-
if (id === undefined || id === null) {
|
|
2522
|
-
throw new Error("Missing the required parameter 'id' when calling getObjectProperty");
|
|
2523
|
-
}
|
|
2524
|
-
// verify the required parameter 'prop' is set
|
|
2525
|
-
if (prop === undefined || prop === null) {
|
|
2526
|
-
throw new Error("Missing the required parameter 'prop' when calling getObjectProperty");
|
|
2527
|
-
}
|
|
2528
|
-
var pathParams = {
|
|
2529
|
-
'id': id,
|
|
2530
|
-
'prop': prop
|
|
2531
|
-
};
|
|
2532
|
-
var queryParams = {};
|
|
2533
|
-
var headerParams = {
|
|
2534
|
-
'Authorization': opts['authorization'],
|
|
2535
|
-
'cacheduration': opts['cacheduration'],
|
|
2536
|
-
'cachegroup': opts['cachegroup'],
|
|
2537
|
-
'cachekey': opts['cachekey'],
|
|
2538
|
-
'cachescope': opts['cachescope'],
|
|
2539
|
-
'cacheuser': opts['cacheuser'],
|
|
2540
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2541
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2542
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2543
|
-
'transactionid': opts['transactionid']
|
|
2544
|
-
};
|
|
2545
|
-
var formParams = {};
|
|
2546
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2547
|
-
var contentTypes = [];
|
|
2548
|
-
var accepts = ['application/json'];
|
|
2549
|
-
var returnType = {
|
|
2550
|
-
'String': _PurgeDataDefaultResponseValue["default"]
|
|
2551
|
-
};
|
|
2552
|
-
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2553
|
-
}
|
|
2554
|
-
|
|
2555
|
-
/**
|
|
2556
|
-
* Callback function to receive the result of the getObjectsInGraph operation.
|
|
2557
|
-
* @callback module:api/GraphObjectsApi~getObjectsInGraphCallback
|
|
2558
|
-
* @param {String} error Error message, if any.
|
|
2559
|
-
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2560
|
-
* @param {String} response The complete HTTP response.
|
|
2561
|
-
*/
|
|
2562
|
-
|
|
2563
|
-
/**
|
|
2564
|
-
* Get objects in the graph
|
|
2565
|
-
* @param {Number} id
|
|
2566
|
-
* @param {Object} opts Optional parameters
|
|
2567
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2568
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2569
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2570
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2571
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2572
|
-
* @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)
|
|
2573
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2574
|
-
* @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
|
|
2575
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2576
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2577
|
-
* @param {module:api/GraphObjectsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2578
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2579
|
-
*/
|
|
2580
|
-
}, {
|
|
2581
|
-
key: "getObjectsInGraph",
|
|
2582
|
-
value: function getObjectsInGraph(id, opts, callback) {
|
|
2583
|
-
opts = opts || {};
|
|
2584
|
-
var postBody = null;
|
|
2585
|
-
// verify the required parameter 'id' is set
|
|
2586
|
-
if (id === undefined || id === null) {
|
|
2587
|
-
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
|
|
2588
|
-
}
|
|
2589
|
-
var pathParams = {
|
|
2590
|
-
'id': id
|
|
2591
|
-
};
|
|
2592
|
-
var queryParams = {};
|
|
2593
|
-
var headerParams = {
|
|
2594
|
-
'Authorization': opts['authorization'],
|
|
2595
|
-
'cacheduration': opts['cacheduration'],
|
|
2596
|
-
'cachegroup': opts['cachegroup'],
|
|
2597
|
-
'cachekey': opts['cachekey'],
|
|
2598
|
-
'cachescope': opts['cachescope'],
|
|
2599
|
-
'cacheuser': opts['cacheuser'],
|
|
2600
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2601
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2602
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2603
|
-
'transactionid': opts['transactionid']
|
|
2604
|
-
};
|
|
2605
|
-
var formParams = {};
|
|
2606
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2607
|
-
var contentTypes = [];
|
|
2608
|
-
var accepts = ['application/json'];
|
|
2609
|
-
var returnType = [_GraphObjectSchema["default"]];
|
|
2610
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2611
|
-
}
|
|
2612
|
-
|
|
2613
|
-
/**
|
|
2614
|
-
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
2615
|
-
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTagCallback
|
|
2616
|
-
* @param {String} error Error message, if any.
|
|
2617
|
-
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2618
|
-
* @param {String} response The complete HTTP response.
|
|
2619
|
-
*/
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* Get objects in the graph with the given tag
|
|
2623
|
-
* @param {Number} id
|
|
2624
|
-
* @param {String} tag
|
|
2625
|
-
* @param {Object} opts Optional parameters
|
|
2626
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2627
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2628
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2629
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2630
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2631
|
-
* @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)
|
|
2632
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2633
|
-
* @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
|
|
2634
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2635
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2636
|
-
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2637
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2638
|
-
*/
|
|
2639
|
-
}, {
|
|
2640
|
-
key: "getObjectsInGraphByTag",
|
|
2641
|
-
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
2642
|
-
opts = opts || {};
|
|
2643
|
-
var postBody = null;
|
|
2644
|
-
// verify the required parameter 'id' is set
|
|
2645
|
-
if (id === undefined || id === null) {
|
|
2646
|
-
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
2647
|
-
}
|
|
2648
|
-
// verify the required parameter 'tag' is set
|
|
2649
|
-
if (tag === undefined || tag === null) {
|
|
2650
|
-
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
2651
|
-
}
|
|
2652
|
-
var pathParams = {
|
|
2653
|
-
'id': id,
|
|
2654
|
-
'tag': tag
|
|
2655
|
-
};
|
|
2656
|
-
var queryParams = {};
|
|
2657
|
-
var headerParams = {
|
|
2658
|
-
'Authorization': opts['authorization'],
|
|
2659
|
-
'cacheduration': opts['cacheduration'],
|
|
2660
|
-
'cachegroup': opts['cachegroup'],
|
|
2661
|
-
'cachekey': opts['cachekey'],
|
|
2662
|
-
'cachescope': opts['cachescope'],
|
|
2663
|
-
'cacheuser': opts['cacheuser'],
|
|
2664
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2665
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2666
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2667
|
-
'transactionid': opts['transactionid']
|
|
2668
|
-
};
|
|
2669
|
-
var formParams = {};
|
|
2670
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2671
|
-
var contentTypes = [];
|
|
2672
|
-
var accepts = ['application/json'];
|
|
2673
|
-
var returnType = [_GraphObjectSchema["default"]];
|
|
2674
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2675
|
-
}
|
|
2676
|
-
|
|
2677
|
-
/**
|
|
2678
|
-
* Callback function to receive the result of the getObjectsInGraphByType operation.
|
|
2679
|
-
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback
|
|
2680
|
-
* @param {String} error Error message, if any.
|
|
2681
|
-
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2682
|
-
* @param {String} response The complete HTTP response.
|
|
2683
|
-
*/
|
|
2684
|
-
|
|
2685
|
-
/**
|
|
2686
|
-
* Get objects in the graph with the given object type
|
|
2687
|
-
* @param {Number} id
|
|
2688
|
-
* @param {String} type
|
|
2689
|
-
* @param {Object} opts Optional parameters
|
|
2690
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2691
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2692
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2693
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2694
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2695
|
-
* @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)
|
|
2696
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2697
|
-
* @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
|
|
2698
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2699
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2700
|
-
* @param {Number} [page]
|
|
2701
|
-
* @param {Number} [size]
|
|
2702
|
-
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2703
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2704
|
-
*/
|
|
2705
|
-
}, {
|
|
2706
|
-
key: "getObjectsInGraphByType",
|
|
2707
|
-
value: function getObjectsInGraphByType(id, type, opts, callback) {
|
|
2708
|
-
opts = opts || {};
|
|
2709
|
-
var postBody = null;
|
|
2710
|
-
// verify the required parameter 'id' is set
|
|
2711
|
-
if (id === undefined || id === null) {
|
|
2712
|
-
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
|
|
2713
|
-
}
|
|
2714
|
-
// verify the required parameter 'type' is set
|
|
2715
|
-
if (type === undefined || type === null) {
|
|
2716
|
-
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
2717
|
-
}
|
|
2718
|
-
var pathParams = {
|
|
2719
|
-
'id': id,
|
|
2720
|
-
'type': type
|
|
2721
|
-
};
|
|
2722
|
-
var queryParams = {
|
|
2723
|
-
'page': opts['page'],
|
|
2724
|
-
'size': opts['size']
|
|
2725
|
-
};
|
|
2726
|
-
var headerParams = {
|
|
2727
|
-
'Authorization': opts['authorization'],
|
|
2728
|
-
'cacheduration': opts['cacheduration'],
|
|
2729
|
-
'cachegroup': opts['cachegroup'],
|
|
2730
|
-
'cachekey': opts['cachekey'],
|
|
2731
|
-
'cachescope': opts['cachescope'],
|
|
2732
|
-
'cacheuser': opts['cacheuser'],
|
|
2733
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2734
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2735
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2736
|
-
'transactionid': opts['transactionid']
|
|
2737
|
-
};
|
|
2738
|
-
var formParams = {};
|
|
2739
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2740
|
-
var contentTypes = [];
|
|
2741
|
-
var accepts = ['application/json'];
|
|
2742
|
-
var returnType = [_GraphObjectSchema["default"]];
|
|
2743
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2744
|
-
}
|
|
2745
|
-
|
|
2746
|
-
/**
|
|
2747
|
-
* Callback function to receive the result of the getRelatedObjects operation.
|
|
2748
|
-
* @callback module:api/GraphObjectsApi~getRelatedObjectsCallback
|
|
2749
|
-
* @param {String} error Error message, if any.
|
|
2750
|
-
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2751
|
-
* @param {String} response The complete HTTP response.
|
|
2752
|
-
*/
|
|
2753
|
-
|
|
2754
|
-
/**
|
|
2755
|
-
* Get Related Objects
|
|
2756
|
-
* Get Related Objects by relationship type
|
|
2757
|
-
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2758
|
-
* @param {Number} reltypeid The relationship type id
|
|
2759
|
-
* @param {Object} opts Optional parameters
|
|
2760
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2761
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2762
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2763
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2764
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2765
|
-
* @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)
|
|
2766
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2767
|
-
* @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
|
|
2768
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2769
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2770
|
-
* @param {module:api/GraphObjectsApi~getRelatedObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2771
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2772
|
-
*/
|
|
2773
|
-
}, {
|
|
2774
|
-
key: "getRelatedObjects",
|
|
2775
|
-
value: function getRelatedObjects(objectid, reltypeid, opts, callback) {
|
|
2776
|
-
opts = opts || {};
|
|
2777
|
-
var postBody = null;
|
|
2778
|
-
// verify the required parameter 'objectid' is set
|
|
2779
|
-
if (objectid === undefined || objectid === null) {
|
|
2780
|
-
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjects");
|
|
2781
|
-
}
|
|
2782
|
-
// verify the required parameter 'reltypeid' is set
|
|
2783
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
2784
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjects");
|
|
2785
|
-
}
|
|
2786
|
-
var pathParams = {
|
|
2787
|
-
'objectid': objectid,
|
|
2788
|
-
'reltypeid': reltypeid
|
|
2789
|
-
};
|
|
2790
|
-
var queryParams = {};
|
|
2791
|
-
var headerParams = {
|
|
2792
|
-
'Authorization': opts['authorization'],
|
|
2793
|
-
'cacheduration': opts['cacheduration'],
|
|
2794
|
-
'cachegroup': opts['cachegroup'],
|
|
2795
|
-
'cachekey': opts['cachekey'],
|
|
2796
|
-
'cachescope': opts['cachescope'],
|
|
2797
|
-
'cacheuser': opts['cacheuser'],
|
|
2798
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2799
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2800
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2801
|
-
'transactionid': opts['transactionid']
|
|
2802
|
-
};
|
|
2803
|
-
var formParams = {};
|
|
2804
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2805
|
-
var contentTypes = [];
|
|
2806
|
-
var accepts = ['application/json'];
|
|
2807
|
-
var returnType = [_GraphObjectSchema["default"]];
|
|
2808
|
-
return this.apiClient.callApi('/graph/data/object/{objectid}/relatedobjects/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2809
|
-
}
|
|
2810
|
-
|
|
2811
|
-
/**
|
|
2812
|
-
* Callback function to receive the result of the getRelatedObjectsIn operation.
|
|
2813
|
-
* @callback module:api/GraphObjectsApi~getRelatedObjectsInCallback
|
|
2814
|
-
* @param {String} error Error message, if any.
|
|
2815
|
-
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2816
|
-
* @param {String} response The complete HTTP response.
|
|
2817
|
-
*/
|
|
2818
|
-
|
|
2819
|
-
/**
|
|
2820
|
-
* Get Related Objects
|
|
2821
|
-
* Get Related Objects from incoming relationships by relationship type
|
|
2822
|
-
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2823
|
-
* @param {Number} reltypeid The relationship type id
|
|
2824
|
-
* @param {Object} opts Optional parameters
|
|
2825
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2826
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2827
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2828
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2829
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2830
|
-
* @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)
|
|
2831
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2832
|
-
* @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
|
|
2833
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2834
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2835
|
-
* @param {module:api/GraphObjectsApi~getRelatedObjectsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2836
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2837
|
-
*/
|
|
2838
|
-
}, {
|
|
2839
|
-
key: "getRelatedObjectsIn",
|
|
2840
|
-
value: function getRelatedObjectsIn(objectid, reltypeid, opts, callback) {
|
|
2841
|
-
opts = opts || {};
|
|
2842
|
-
var postBody = null;
|
|
2843
|
-
// verify the required parameter 'objectid' is set
|
|
2844
|
-
if (objectid === undefined || objectid === null) {
|
|
2845
|
-
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsIn");
|
|
2846
|
-
}
|
|
2847
|
-
// verify the required parameter 'reltypeid' is set
|
|
2848
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
2849
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsIn");
|
|
2850
|
-
}
|
|
2851
|
-
var pathParams = {
|
|
2852
|
-
'objectid': objectid,
|
|
2853
|
-
'reltypeid': reltypeid
|
|
2854
|
-
};
|
|
2855
|
-
var queryParams = {};
|
|
2856
|
-
var headerParams = {
|
|
2857
|
-
'Authorization': opts['authorization'],
|
|
2858
|
-
'cacheduration': opts['cacheduration'],
|
|
2859
|
-
'cachegroup': opts['cachegroup'],
|
|
2860
|
-
'cachekey': opts['cachekey'],
|
|
2861
|
-
'cachescope': opts['cachescope'],
|
|
2862
|
-
'cacheuser': opts['cacheuser'],
|
|
2863
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2864
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2865
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2866
|
-
'transactionid': opts['transactionid']
|
|
2867
|
-
};
|
|
2868
|
-
var formParams = {};
|
|
2869
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2870
|
-
var contentTypes = [];
|
|
2871
|
-
var accepts = ['application/json'];
|
|
2872
|
-
var returnType = [_GraphObjectSchema["default"]];
|
|
2873
|
-
return this.apiClient.callApi('/graph/data/object/{objectid}/relatedobjects/{reltypeid}/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
/**
|
|
2877
|
-
* Callback function to receive the result of the getRelatedObjectsOut operation.
|
|
2878
|
-
* @callback module:api/GraphObjectsApi~getRelatedObjectsOutCallback
|
|
2879
|
-
* @param {String} error Error message, if any.
|
|
2880
|
-
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2881
|
-
* @param {String} response The complete HTTP response.
|
|
2882
|
-
*/
|
|
2883
|
-
|
|
2884
|
-
/**
|
|
2885
|
-
* Get Related Objects
|
|
2886
|
-
* Get Related Objects from outgoing relationships by relationship type
|
|
2887
|
-
* @param {Number} objectid The id of the object that we are retrieving the related objects from
|
|
2888
|
-
* @param {Number} reltypeid The relationship type id
|
|
2889
|
-
* @param {Object} opts Optional parameters
|
|
2890
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2891
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2892
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2893
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2894
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2895
|
-
* @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)
|
|
2896
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2897
|
-
* @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
|
|
2898
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2899
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2900
|
-
* @param {module:api/GraphObjectsApi~getRelatedObjectsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2901
|
-
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2902
|
-
*/
|
|
2903
|
-
}, {
|
|
2904
|
-
key: "getRelatedObjectsOut",
|
|
2905
|
-
value: function getRelatedObjectsOut(objectid, reltypeid, opts, callback) {
|
|
2906
|
-
opts = opts || {};
|
|
2907
|
-
var postBody = null;
|
|
2908
|
-
// verify the required parameter 'objectid' is set
|
|
2909
|
-
if (objectid === undefined || objectid === null) {
|
|
2910
|
-
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsOut");
|
|
2911
|
-
}
|
|
2912
|
-
// verify the required parameter 'reltypeid' is set
|
|
2913
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
2914
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsOut");
|
|
2915
|
-
}
|
|
2916
|
-
var pathParams = {
|
|
2917
|
-
'objectid': objectid,
|
|
2918
|
-
'reltypeid': reltypeid
|
|
2919
|
-
};
|
|
2920
|
-
var queryParams = {};
|
|
2921
|
-
var headerParams = {
|
|
2922
|
-
'Authorization': opts['authorization'],
|
|
2923
|
-
'cacheduration': opts['cacheduration'],
|
|
2924
|
-
'cachegroup': opts['cachegroup'],
|
|
2925
|
-
'cachekey': opts['cachekey'],
|
|
2926
|
-
'cachescope': opts['cachescope'],
|
|
2927
|
-
'cacheuser': opts['cacheuser'],
|
|
2928
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2929
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2930
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2931
|
-
'transactionid': opts['transactionid']
|
|
2932
|
-
};
|
|
2933
|
-
var formParams = {};
|
|
2934
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2935
|
-
var contentTypes = [];
|
|
2936
|
-
var accepts = ['application/json'];
|
|
2937
|
-
var returnType = [_GraphObjectSchema["default"]];
|
|
2938
|
-
return this.apiClient.callApi('/graph/data/object/{objectid}/relatedobjects/{reltypeid}/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
/**
|
|
2942
|
-
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
2943
|
-
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
|
|
2944
|
-
* @param {String} error Error message, if any.
|
|
2945
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
2946
|
-
* @param {String} response The complete HTTP response.
|
|
2947
|
-
*/
|
|
2948
|
-
|
|
2949
|
-
/**
|
|
2950
|
-
* Get Incoming Relationships By Type
|
|
2951
|
-
* Returns a listing of relationships
|
|
2952
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2953
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2954
|
-
* @param {Object} opts Optional parameters
|
|
2955
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
2956
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2957
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2958
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2959
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2960
|
-
* @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)
|
|
2961
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2962
|
-
* @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
|
|
2963
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2964
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2965
|
-
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2966
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2967
|
-
*/
|
|
2968
|
-
}, {
|
|
2969
|
-
key: "getRelationshipsByTypeIn",
|
|
2970
|
-
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
2971
|
-
opts = opts || {};
|
|
2972
|
-
var postBody = null;
|
|
2973
|
-
// verify the required parameter 'id' is set
|
|
2974
|
-
if (id === undefined || id === null) {
|
|
2975
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
2976
|
-
}
|
|
2977
|
-
// verify the required parameter 'reltypeid' is set
|
|
2978
|
-
if (reltypeid === undefined || reltypeid === null) {
|
|
2979
|
-
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
2980
|
-
}
|
|
2981
|
-
var pathParams = {
|
|
2982
|
-
'id': id,
|
|
2983
|
-
'reltypeid': reltypeid
|
|
2984
|
-
};
|
|
2985
|
-
var queryParams = {};
|
|
2986
|
-
var headerParams = {
|
|
2987
|
-
'Authorization': opts['authorization'],
|
|
2988
|
-
'cacheduration': opts['cacheduration'],
|
|
2989
|
-
'cachegroup': opts['cachegroup'],
|
|
2990
|
-
'cachekey': opts['cachekey'],
|
|
2991
|
-
'cachescope': opts['cachescope'],
|
|
2992
|
-
'cacheuser': opts['cacheuser'],
|
|
2993
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2994
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2995
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2996
|
-
'transactionid': opts['transactionid']
|
|
2997
|
-
};
|
|
2998
|
-
var formParams = {};
|
|
2999
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3000
|
-
var contentTypes = [];
|
|
3001
|
-
var accepts = ['application/json'];
|
|
3002
|
-
var returnType = [_GraphRelationship["default"]];
|
|
3003
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3004
|
-
}
|
|
3005
|
-
|
|
3006
|
-
/**
|
|
3007
|
-
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
3008
|
-
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
|
|
3009
|
-
* @param {String} error Error message, if any.
|
|
3010
|
-
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
3011
|
-
* @param {String} response The complete HTTP response.
|
|
3012
|
-
*/
|
|
3013
|
-
|
|
3014
|
-
/**
|
|
3015
|
-
* Get Outgoing Relationships By Type
|
|
3016
|
-
* Returns a listing of relationships
|
|
3017
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
3018
|
-
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1284
|
+
* Get Outgoing Relationships By Type
|
|
1285
|
+
* Returns a listing of relationships
|
|
1286
|
+
* @param {Number} id
|
|
1287
|
+
* @param {Number} reltypeid
|
|
3019
1288
|
* @param {Object} opts Optional parameters
|
|
3020
1289
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3021
1290
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -3023,12 +1292,13 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3023
1292
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3024
1293
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3025
1294
|
* @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)
|
|
1295
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3026
1296
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3027
1297
|
* @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
|
|
3028
1298
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3029
1299
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3030
1300
|
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3031
|
-
* data is of type: {@link Array.<module:model/
|
|
1301
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
3032
1302
|
*/
|
|
3033
1303
|
}, {
|
|
3034
1304
|
key: "getRelationshipsByTypeOut",
|
|
@@ -3047,14 +1317,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3047
1317
|
'id': id,
|
|
3048
1318
|
'reltypeid': reltypeid
|
|
3049
1319
|
};
|
|
3050
|
-
var queryParams = {
|
|
3051
|
-
var headerParams = {
|
|
3052
|
-
'Authorization': opts['authorization'],
|
|
1320
|
+
var queryParams = {
|
|
3053
1321
|
'cacheduration': opts['cacheduration'],
|
|
3054
|
-
'cachegroup': opts['cachegroup'],
|
|
3055
|
-
'cachekey': opts['cachekey'],
|
|
1322
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1323
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3056
1324
|
'cachescope': opts['cachescope'],
|
|
3057
|
-
'cacheuser': opts['cacheuser'],
|
|
1325
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1326
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1327
|
+
};
|
|
1328
|
+
var headerParams = {
|
|
1329
|
+
'Authorization': opts['authorization'],
|
|
3058
1330
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3059
1331
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3060
1332
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3064,22 +1336,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3064
1336
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3065
1337
|
var contentTypes = [];
|
|
3066
1338
|
var accepts = ['application/json'];
|
|
3067
|
-
var returnType = [
|
|
3068
|
-
return this.apiClient.callApi('/
|
|
1339
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
1340
|
+
return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3069
1341
|
}
|
|
3070
1342
|
|
|
3071
1343
|
/**
|
|
3072
1344
|
* Callback function to receive the result of the getRelationshipsIn operation.
|
|
3073
1345
|
* @callback module:api/GraphObjectsApi~getRelationshipsInCallback
|
|
3074
1346
|
* @param {String} error Error message, if any.
|
|
3075
|
-
* @param {Array.<module:model/
|
|
1347
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
3076
1348
|
* @param {String} response The complete HTTP response.
|
|
3077
1349
|
*/
|
|
3078
1350
|
|
|
3079
1351
|
/**
|
|
3080
1352
|
* Get Incoming Relationships
|
|
3081
1353
|
* Returns a listing of relationships
|
|
3082
|
-
* @param {Number} id
|
|
1354
|
+
* @param {Number} id
|
|
3083
1355
|
* @param {Object} opts Optional parameters
|
|
3084
1356
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3085
1357
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -3087,12 +1359,13 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3087
1359
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3088
1360
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3089
1361
|
* @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)
|
|
1362
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3090
1363
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3091
1364
|
* @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
|
|
3092
1365
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3093
1366
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3094
1367
|
* @param {module:api/GraphObjectsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3095
|
-
* data is of type: {@link Array.<module:model/
|
|
1368
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
3096
1369
|
*/
|
|
3097
1370
|
}, {
|
|
3098
1371
|
key: "getRelationshipsIn",
|
|
@@ -3106,14 +1379,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3106
1379
|
var pathParams = {
|
|
3107
1380
|
'id': id
|
|
3108
1381
|
};
|
|
3109
|
-
var queryParams = {
|
|
3110
|
-
var headerParams = {
|
|
3111
|
-
'Authorization': opts['authorization'],
|
|
1382
|
+
var queryParams = {
|
|
3112
1383
|
'cacheduration': opts['cacheduration'],
|
|
3113
|
-
'cachegroup': opts['cachegroup'],
|
|
3114
|
-
'cachekey': opts['cachekey'],
|
|
1384
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1385
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3115
1386
|
'cachescope': opts['cachescope'],
|
|
3116
|
-
'cacheuser': opts['cacheuser'],
|
|
1387
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1388
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1389
|
+
};
|
|
1390
|
+
var headerParams = {
|
|
1391
|
+
'Authorization': opts['authorization'],
|
|
3117
1392
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3118
1393
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3119
1394
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3123,192 +1398,21 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3123
1398
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3124
1399
|
var contentTypes = [];
|
|
3125
1400
|
var accepts = ['application/json'];
|
|
3126
|
-
var returnType = [
|
|
3127
|
-
return this.apiClient.callApi('/
|
|
1401
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
1402
|
+
return this.apiClient.callApi('/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3128
1403
|
}
|
|
3129
1404
|
|
|
3130
1405
|
/**
|
|
3131
1406
|
* Callback function to receive the result of the getRelationshipsOut operation.
|
|
3132
1407
|
* @callback module:api/GraphObjectsApi~getRelationshipsOutCallback
|
|
3133
1408
|
* @param {String} error Error message, if any.
|
|
3134
|
-
* @param {Array.<module:model/
|
|
1409
|
+
* @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
|
|
3135
1410
|
* @param {String} response The complete HTTP response.
|
|
3136
1411
|
*/
|
|
3137
1412
|
|
|
3138
1413
|
/**
|
|
3139
1414
|
* Get Outgoing Relationships
|
|
3140
1415
|
* Returns a listing of relationships
|
|
3141
|
-
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
3142
|
-
* @param {Object} opts Optional parameters
|
|
3143
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3144
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3145
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3146
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3147
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3148
|
-
* @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)
|
|
3149
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3150
|
-
* @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
|
|
3151
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3152
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3153
|
-
* @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3154
|
-
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
3155
|
-
*/
|
|
3156
|
-
}, {
|
|
3157
|
-
key: "getRelationshipsOut",
|
|
3158
|
-
value: function getRelationshipsOut(id, opts, callback) {
|
|
3159
|
-
opts = opts || {};
|
|
3160
|
-
var postBody = null;
|
|
3161
|
-
// verify the required parameter 'id' is set
|
|
3162
|
-
if (id === undefined || id === null) {
|
|
3163
|
-
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
3164
|
-
}
|
|
3165
|
-
var pathParams = {
|
|
3166
|
-
'id': id
|
|
3167
|
-
};
|
|
3168
|
-
var queryParams = {};
|
|
3169
|
-
var headerParams = {
|
|
3170
|
-
'Authorization': opts['authorization'],
|
|
3171
|
-
'cacheduration': opts['cacheduration'],
|
|
3172
|
-
'cachegroup': opts['cachegroup'],
|
|
3173
|
-
'cachekey': opts['cachekey'],
|
|
3174
|
-
'cachescope': opts['cachescope'],
|
|
3175
|
-
'cacheuser': opts['cacheuser'],
|
|
3176
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3177
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3178
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3179
|
-
'transactionid': opts['transactionid']
|
|
3180
|
-
};
|
|
3181
|
-
var formParams = {};
|
|
3182
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3183
|
-
var contentTypes = [];
|
|
3184
|
-
var accepts = ['application/json'];
|
|
3185
|
-
var returnType = [_GraphRelationship["default"]];
|
|
3186
|
-
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3187
|
-
}
|
|
3188
|
-
|
|
3189
|
-
/**
|
|
3190
|
-
* Callback function to receive the result of the getTags operation.
|
|
3191
|
-
* @callback module:api/GraphObjectsApi~getTagsCallback
|
|
3192
|
-
* @param {String} error Error message, if any.
|
|
3193
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
3194
|
-
* @param {String} response The complete HTTP response.
|
|
3195
|
-
*/
|
|
3196
|
-
|
|
3197
|
-
/**
|
|
3198
|
-
* @param {Number} id
|
|
3199
|
-
* @param {Object} opts Optional parameters
|
|
3200
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3201
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3202
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3203
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3204
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3205
|
-
* @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)
|
|
3206
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3207
|
-
* @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
|
|
3208
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3209
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3210
|
-
* @param {module:api/GraphObjectsApi~getTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3211
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
3212
|
-
*/
|
|
3213
|
-
}, {
|
|
3214
|
-
key: "getTags",
|
|
3215
|
-
value: function getTags(id, opts, callback) {
|
|
3216
|
-
opts = opts || {};
|
|
3217
|
-
var postBody = null;
|
|
3218
|
-
// verify the required parameter 'id' is set
|
|
3219
|
-
if (id === undefined || id === null) {
|
|
3220
|
-
throw new Error("Missing the required parameter 'id' when calling getTags");
|
|
3221
|
-
}
|
|
3222
|
-
var pathParams = {
|
|
3223
|
-
'id': id
|
|
3224
|
-
};
|
|
3225
|
-
var queryParams = {};
|
|
3226
|
-
var headerParams = {
|
|
3227
|
-
'Authorization': opts['authorization'],
|
|
3228
|
-
'cacheduration': opts['cacheduration'],
|
|
3229
|
-
'cachegroup': opts['cachegroup'],
|
|
3230
|
-
'cachekey': opts['cachekey'],
|
|
3231
|
-
'cachescope': opts['cachescope'],
|
|
3232
|
-
'cacheuser': opts['cacheuser'],
|
|
3233
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3234
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3235
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3236
|
-
'transactionid': opts['transactionid']
|
|
3237
|
-
};
|
|
3238
|
-
var formParams = {};
|
|
3239
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3240
|
-
var contentTypes = [];
|
|
3241
|
-
var accepts = ['application/json'];
|
|
3242
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
3243
|
-
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3244
|
-
}
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* Callback function to receive the result of the getUserTags operation.
|
|
3248
|
-
* @callback module:api/GraphObjectsApi~getUserTagsCallback
|
|
3249
|
-
* @param {String} error Error message, if any.
|
|
3250
|
-
* @param {Array.<String>} data The data returned by the service call.
|
|
3251
|
-
* @param {String} response The complete HTTP response.
|
|
3252
|
-
*/
|
|
3253
|
-
|
|
3254
|
-
/**
|
|
3255
|
-
* @param {Number} id
|
|
3256
|
-
* @param {Object} opts Optional parameters
|
|
3257
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3258
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3259
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3260
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3261
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3262
|
-
* @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)
|
|
3263
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3264
|
-
* @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
|
|
3265
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3266
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3267
|
-
* @param {module:api/GraphObjectsApi~getUserTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3268
|
-
* data is of type: {@link Array.<String>}
|
|
3269
|
-
*/
|
|
3270
|
-
}, {
|
|
3271
|
-
key: "getUserTags",
|
|
3272
|
-
value: function getUserTags(id, opts, callback) {
|
|
3273
|
-
opts = opts || {};
|
|
3274
|
-
var postBody = null;
|
|
3275
|
-
// verify the required parameter 'id' is set
|
|
3276
|
-
if (id === undefined || id === null) {
|
|
3277
|
-
throw new Error("Missing the required parameter 'id' when calling getUserTags");
|
|
3278
|
-
}
|
|
3279
|
-
var pathParams = {
|
|
3280
|
-
'id': id
|
|
3281
|
-
};
|
|
3282
|
-
var queryParams = {};
|
|
3283
|
-
var headerParams = {
|
|
3284
|
-
'Authorization': opts['authorization'],
|
|
3285
|
-
'cacheduration': opts['cacheduration'],
|
|
3286
|
-
'cachegroup': opts['cachegroup'],
|
|
3287
|
-
'cachekey': opts['cachekey'],
|
|
3288
|
-
'cachescope': opts['cachescope'],
|
|
3289
|
-
'cacheuser': opts['cacheuser'],
|
|
3290
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3291
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3292
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3293
|
-
'transactionid': opts['transactionid']
|
|
3294
|
-
};
|
|
3295
|
-
var formParams = {};
|
|
3296
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3297
|
-
var contentTypes = [];
|
|
3298
|
-
var accepts = ['application/json'];
|
|
3299
|
-
var returnType = ['String'];
|
|
3300
|
-
return this.apiClient.callApi('/graph/data/object/{id}/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3301
|
-
}
|
|
3302
|
-
|
|
3303
|
-
/**
|
|
3304
|
-
* Callback function to receive the result of the getVideos operation.
|
|
3305
|
-
* @callback module:api/GraphObjectsApi~getVideosCallback
|
|
3306
|
-
* @param {String} error Error message, if any.
|
|
3307
|
-
* @param {Array.<module:model/Video>} data The data returned by the service call.
|
|
3308
|
-
* @param {String} response The complete HTTP response.
|
|
3309
|
-
*/
|
|
3310
|
-
|
|
3311
|
-
/**
|
|
3312
1416
|
* @param {Number} id
|
|
3313
1417
|
* @param {Object} opts Optional parameters
|
|
3314
1418
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -3317,33 +1421,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3317
1421
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3318
1422
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3319
1423
|
* @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)
|
|
1424
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3320
1425
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3321
1426
|
* @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
|
|
3322
1427
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3323
1428
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3324
|
-
* @param {module:api/GraphObjectsApi~
|
|
3325
|
-
* data is of type: {@link Array.<module:model/
|
|
1429
|
+
* @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1430
|
+
* data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
|
|
3326
1431
|
*/
|
|
3327
1432
|
}, {
|
|
3328
|
-
key: "
|
|
3329
|
-
value: function
|
|
1433
|
+
key: "getRelationshipsOut",
|
|
1434
|
+
value: function getRelationshipsOut(id, opts, callback) {
|
|
3330
1435
|
opts = opts || {};
|
|
3331
1436
|
var postBody = null;
|
|
3332
1437
|
// verify the required parameter 'id' is set
|
|
3333
1438
|
if (id === undefined || id === null) {
|
|
3334
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
1439
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
3335
1440
|
}
|
|
3336
1441
|
var pathParams = {
|
|
3337
1442
|
'id': id
|
|
3338
1443
|
};
|
|
3339
|
-
var queryParams = {
|
|
3340
|
-
var headerParams = {
|
|
3341
|
-
'Authorization': opts['authorization'],
|
|
1444
|
+
var queryParams = {
|
|
3342
1445
|
'cacheduration': opts['cacheduration'],
|
|
3343
|
-
'cachegroup': opts['cachegroup'],
|
|
3344
|
-
'cachekey': opts['cachekey'],
|
|
1446
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1447
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3345
1448
|
'cachescope': opts['cachescope'],
|
|
3346
|
-
'cacheuser': opts['cacheuser'],
|
|
1449
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1450
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1451
|
+
};
|
|
1452
|
+
var headerParams = {
|
|
1453
|
+
'Authorization': opts['authorization'],
|
|
3347
1454
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3348
1455
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3349
1456
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3353,8 +1460,8 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3353
1460
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3354
1461
|
var contentTypes = [];
|
|
3355
1462
|
var accepts = ['application/json'];
|
|
3356
|
-
var returnType = [
|
|
3357
|
-
return this.apiClient.callApi('/
|
|
1463
|
+
var returnType = [_GraphRelationshipResponse["default"]];
|
|
1464
|
+
return this.apiClient.callApi('/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3358
1465
|
}
|
|
3359
1466
|
|
|
3360
1467
|
/**
|
|
@@ -3376,6 +1483,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3376
1483
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3377
1484
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3378
1485
|
* @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)
|
|
1486
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3379
1487
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3380
1488
|
* @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
|
|
3381
1489
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3395,14 +1503,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3395
1503
|
var pathParams = {
|
|
3396
1504
|
'objectid': objectid
|
|
3397
1505
|
};
|
|
3398
|
-
var queryParams = {
|
|
3399
|
-
var headerParams = {
|
|
3400
|
-
'Authorization': opts['authorization'],
|
|
1506
|
+
var queryParams = {
|
|
3401
1507
|
'cacheduration': opts['cacheduration'],
|
|
3402
|
-
'cachegroup': opts['cachegroup'],
|
|
3403
|
-
'cachekey': opts['cachekey'],
|
|
1508
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1509
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3404
1510
|
'cachescope': opts['cachescope'],
|
|
3405
|
-
'cacheuser': opts['cacheuser'],
|
|
1511
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1512
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1513
|
+
};
|
|
1514
|
+
var headerParams = {
|
|
1515
|
+
'Authorization': opts['authorization'],
|
|
3406
1516
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3407
1517
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3408
1518
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3413,7 +1523,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3413
1523
|
var contentTypes = [];
|
|
3414
1524
|
var accepts = ['text/plain'];
|
|
3415
1525
|
var returnType = 'Boolean';
|
|
3416
|
-
return this.apiClient.callApi('/
|
|
1526
|
+
return this.apiClient.callApi('/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3417
1527
|
}
|
|
3418
1528
|
|
|
3419
1529
|
/**
|
|
@@ -3435,6 +1545,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3435
1545
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3436
1546
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3437
1547
|
* @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)
|
|
1548
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3438
1549
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3439
1550
|
* @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
|
|
3440
1551
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3454,14 +1565,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3454
1565
|
var pathParams = {
|
|
3455
1566
|
'objectid': objectid
|
|
3456
1567
|
};
|
|
3457
|
-
var queryParams = {
|
|
3458
|
-
var headerParams = {
|
|
3459
|
-
'Authorization': opts['authorization'],
|
|
1568
|
+
var queryParams = {
|
|
3460
1569
|
'cacheduration': opts['cacheduration'],
|
|
3461
|
-
'cachegroup': opts['cachegroup'],
|
|
3462
|
-
'cachekey': opts['cachekey'],
|
|
1570
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1571
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3463
1572
|
'cachescope': opts['cachescope'],
|
|
3464
|
-
'cacheuser': opts['cacheuser'],
|
|
1573
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1574
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1575
|
+
};
|
|
1576
|
+
var headerParams = {
|
|
1577
|
+
'Authorization': opts['authorization'],
|
|
3465
1578
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3466
1579
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3467
1580
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3472,7 +1585,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3472
1585
|
var contentTypes = [];
|
|
3473
1586
|
var accepts = ['text/plain'];
|
|
3474
1587
|
var returnType = 'Boolean';
|
|
3475
|
-
return this.apiClient.callApi('/
|
|
1588
|
+
return this.apiClient.callApi('/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3476
1589
|
}
|
|
3477
1590
|
|
|
3478
1591
|
/**
|
|
@@ -3494,6 +1607,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3494
1607
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3495
1608
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3496
1609
|
* @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)
|
|
1610
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3497
1611
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3498
1612
|
* @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
|
|
3499
1613
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3512,14 +1626,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3512
1626
|
var pathParams = {
|
|
3513
1627
|
'objectid': objectid
|
|
3514
1628
|
};
|
|
3515
|
-
var queryParams = {
|
|
3516
|
-
var headerParams = {
|
|
3517
|
-
'Authorization': opts['authorization'],
|
|
1629
|
+
var queryParams = {
|
|
3518
1630
|
'cacheduration': opts['cacheduration'],
|
|
3519
|
-
'cachegroup': opts['cachegroup'],
|
|
3520
|
-
'cachekey': opts['cachekey'],
|
|
1631
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1632
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3521
1633
|
'cachescope': opts['cachescope'],
|
|
3522
|
-
'cacheuser': opts['cacheuser'],
|
|
1634
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1635
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1636
|
+
};
|
|
1637
|
+
var headerParams = {
|
|
1638
|
+
'Authorization': opts['authorization'],
|
|
3523
1639
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3524
1640
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3525
1641
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3530,7 +1646,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3530
1646
|
var contentTypes = [];
|
|
3531
1647
|
var accepts = ['*/*'];
|
|
3532
1648
|
var returnType = null;
|
|
3533
|
-
return this.apiClient.callApi('/
|
|
1649
|
+
return this.apiClient.callApi('/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3534
1650
|
}
|
|
3535
1651
|
|
|
3536
1652
|
/**
|
|
@@ -3553,6 +1669,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3553
1669
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3554
1670
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3555
1671
|
* @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)
|
|
1672
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3556
1673
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3557
1674
|
* @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
|
|
3558
1675
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3575,14 +1692,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3575
1692
|
var pathParams = {
|
|
3576
1693
|
'id': id
|
|
3577
1694
|
};
|
|
3578
|
-
var queryParams = {
|
|
3579
|
-
var headerParams = {
|
|
3580
|
-
'Authorization': opts['authorization'],
|
|
1695
|
+
var queryParams = {
|
|
3581
1696
|
'cacheduration': opts['cacheduration'],
|
|
3582
|
-
'cachegroup': opts['cachegroup'],
|
|
3583
|
-
'cachekey': opts['cachekey'],
|
|
1697
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1698
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3584
1699
|
'cachescope': opts['cachescope'],
|
|
3585
|
-
'cacheuser': opts['cacheuser'],
|
|
1700
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1701
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
1702
|
+
};
|
|
1703
|
+
var headerParams = {
|
|
1704
|
+
'Authorization': opts['authorization'],
|
|
3586
1705
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3587
1706
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3588
1707
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3593,7 +1712,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3593
1712
|
var contentTypes = ['application/json'];
|
|
3594
1713
|
var accepts = ['application/json'];
|
|
3595
1714
|
var returnType = null;
|
|
3596
|
-
return this.apiClient.callApi('/
|
|
1715
|
+
return this.apiClient.callApi('/object/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3597
1716
|
}
|
|
3598
1717
|
|
|
3599
1718
|
/**
|
|
@@ -3616,11 +1735,12 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3616
1735
|
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3617
1736
|
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3618
1737
|
* @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)
|
|
1738
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3619
1739
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3620
1740
|
* @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
|
|
3621
1741
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3622
1742
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3623
|
-
* @param {String} [body] The value that is being set
|
|
1743
|
+
* @param {Object.<String, Object>} [body] The value that is being set
|
|
3624
1744
|
* @param {module:api/GraphObjectsApi~setObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3625
1745
|
*/
|
|
3626
1746
|
}, {
|
|
@@ -3640,197 +1760,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3640
1760
|
'id': id,
|
|
3641
1761
|
'prop': prop
|
|
3642
1762
|
};
|
|
3643
|
-
var queryParams = {
|
|
3644
|
-
var headerParams = {
|
|
3645
|
-
'Authorization': opts['authorization'],
|
|
3646
|
-
'cacheduration': opts['cacheduration'],
|
|
3647
|
-
'cachegroup': opts['cachegroup'],
|
|
3648
|
-
'cachekey': opts['cachekey'],
|
|
3649
|
-
'cachescope': opts['cachescope'],
|
|
3650
|
-
'cacheuser': opts['cacheuser'],
|
|
3651
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3652
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3653
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3654
|
-
'transactionid': opts['transactionid']
|
|
3655
|
-
};
|
|
3656
|
-
var formParams = {};
|
|
3657
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3658
|
-
var contentTypes = ['application/json'];
|
|
3659
|
-
var accepts = ['application/json'];
|
|
3660
|
-
var returnType = null;
|
|
3661
|
-
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3662
|
-
}
|
|
3663
|
-
|
|
3664
|
-
/**
|
|
3665
|
-
* Callback function to receive the result of the tagUsers operation.
|
|
3666
|
-
* @callback module:api/GraphObjectsApi~tagUsersCallback
|
|
3667
|
-
* @param {String} error Error message, if any.
|
|
3668
|
-
* @param {Array.<module:model/UserTag>} data The data returned by the service call.
|
|
3669
|
-
* @param {String} response The complete HTTP response.
|
|
3670
|
-
*/
|
|
3671
|
-
|
|
3672
|
-
/**
|
|
3673
|
-
* @param {Number} id
|
|
3674
|
-
* @param {Object} opts Optional parameters
|
|
3675
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3676
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3677
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3678
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3679
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3680
|
-
* @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)
|
|
3681
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3682
|
-
* @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
|
|
3683
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3684
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3685
|
-
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
3686
|
-
* @param {module:api/GraphObjectsApi~tagUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3687
|
-
* data is of type: {@link Array.<module:model/UserTag>}
|
|
3688
|
-
*/
|
|
3689
|
-
}, {
|
|
3690
|
-
key: "tagUsers",
|
|
3691
|
-
value: function tagUsers(id, opts, callback) {
|
|
3692
|
-
opts = opts || {};
|
|
3693
|
-
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
3694
|
-
// verify the required parameter 'id' is set
|
|
3695
|
-
if (id === undefined || id === null) {
|
|
3696
|
-
throw new Error("Missing the required parameter 'id' when calling tagUsers");
|
|
3697
|
-
}
|
|
3698
|
-
var pathParams = {
|
|
3699
|
-
'id': id
|
|
3700
|
-
};
|
|
3701
|
-
var queryParams = {};
|
|
3702
|
-
var headerParams = {
|
|
3703
|
-
'Authorization': opts['authorization'],
|
|
3704
|
-
'cacheduration': opts['cacheduration'],
|
|
3705
|
-
'cachegroup': opts['cachegroup'],
|
|
3706
|
-
'cachekey': opts['cachekey'],
|
|
3707
|
-
'cachescope': opts['cachescope'],
|
|
3708
|
-
'cacheuser': opts['cacheuser'],
|
|
3709
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3710
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3711
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3712
|
-
'transactionid': opts['transactionid']
|
|
3713
|
-
};
|
|
3714
|
-
var formParams = {};
|
|
3715
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3716
|
-
var contentTypes = ['application/json'];
|
|
3717
|
-
var accepts = ['application/json'];
|
|
3718
|
-
var returnType = [_UserTag["default"]];
|
|
3719
|
-
return this.apiClient.callApi('/graph/data/object/{id}/tagusers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3720
|
-
}
|
|
3721
|
-
|
|
3722
|
-
/**
|
|
3723
|
-
* Callback function to receive the result of the updateObject operation.
|
|
3724
|
-
* @callback module:api/GraphObjectsApi~updateObjectCallback
|
|
3725
|
-
* @param {String} error Error message, if any.
|
|
3726
|
-
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
3727
|
-
* @param {String} response The complete HTTP response.
|
|
3728
|
-
*/
|
|
3729
|
-
|
|
3730
|
-
/**
|
|
3731
|
-
* Update an Object
|
|
3732
|
-
* Performs an update of the Graph Object
|
|
3733
|
-
* @param {Number} id The id of the object that we are updating
|
|
3734
|
-
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject data object to update
|
|
3735
|
-
* @param {Object} opts Optional parameters
|
|
3736
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3737
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3738
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3739
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3740
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3741
|
-
* @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)
|
|
3742
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3743
|
-
* @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
|
|
3744
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3745
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3746
|
-
* @param {module:api/GraphObjectsApi~updateObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3747
|
-
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
3748
|
-
*/
|
|
3749
|
-
}, {
|
|
3750
|
-
key: "updateObject",
|
|
3751
|
-
value: function updateObject(id, graphObjectPayload, opts, callback) {
|
|
3752
|
-
opts = opts || {};
|
|
3753
|
-
var postBody = graphObjectPayload;
|
|
3754
|
-
// verify the required parameter 'id' is set
|
|
3755
|
-
if (id === undefined || id === null) {
|
|
3756
|
-
throw new Error("Missing the required parameter 'id' when calling updateObject");
|
|
3757
|
-
}
|
|
3758
|
-
// verify the required parameter 'graphObjectPayload' is set
|
|
3759
|
-
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
3760
|
-
throw new Error("Missing the required parameter 'graphObjectPayload' when calling updateObject");
|
|
3761
|
-
}
|
|
3762
|
-
var pathParams = {
|
|
3763
|
-
'id': id
|
|
3764
|
-
};
|
|
3765
|
-
var queryParams = {};
|
|
3766
|
-
var headerParams = {
|
|
3767
|
-
'Authorization': opts['authorization'],
|
|
1763
|
+
var queryParams = {
|
|
3768
1764
|
'cacheduration': opts['cacheduration'],
|
|
3769
|
-
'cachegroup': opts['cachegroup'],
|
|
3770
|
-
'cachekey': opts['cachekey'],
|
|
1765
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
1766
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3771
1767
|
'cachescope': opts['cachescope'],
|
|
3772
|
-
'cacheuser': opts['cacheuser'],
|
|
3773
|
-
'
|
|
3774
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3775
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3776
|
-
'transactionid': opts['transactionid']
|
|
3777
|
-
};
|
|
3778
|
-
var formParams = {};
|
|
3779
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3780
|
-
var contentTypes = [];
|
|
3781
|
-
var accepts = ['application/json'];
|
|
3782
|
-
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
3783
|
-
return this.apiClient.callApi('/graph/data/object/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3784
|
-
}
|
|
3785
|
-
|
|
3786
|
-
/**
|
|
3787
|
-
* Callback function to receive the result of the updateTags operation.
|
|
3788
|
-
* @callback module:api/GraphObjectsApi~updateTagsCallback
|
|
3789
|
-
* @param {String} error Error message, if any.
|
|
3790
|
-
* @param data This operation does not return a value.
|
|
3791
|
-
* @param {String} response The complete HTTP response.
|
|
3792
|
-
*/
|
|
3793
|
-
|
|
3794
|
-
/**
|
|
3795
|
-
* @param {Number} id The id of the object whose tags we are updating
|
|
3796
|
-
* @param {String} body Conversation object or array of objects to create
|
|
3797
|
-
* @param {Object} opts Optional parameters
|
|
3798
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3799
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3800
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3801
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3802
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3803
|
-
* @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)
|
|
3804
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3805
|
-
* @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
|
|
3806
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3807
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3808
|
-
* @param {module:api/GraphObjectsApi~updateTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3809
|
-
*/
|
|
3810
|
-
}, {
|
|
3811
|
-
key: "updateTags",
|
|
3812
|
-
value: function updateTags(id, body, opts, callback) {
|
|
3813
|
-
opts = opts || {};
|
|
3814
|
-
var postBody = body;
|
|
3815
|
-
// verify the required parameter 'id' is set
|
|
3816
|
-
if (id === undefined || id === null) {
|
|
3817
|
-
throw new Error("Missing the required parameter 'id' when calling updateTags");
|
|
3818
|
-
}
|
|
3819
|
-
// verify the required parameter 'body' is set
|
|
3820
|
-
if (body === undefined || body === null) {
|
|
3821
|
-
throw new Error("Missing the required parameter 'body' when calling updateTags");
|
|
3822
|
-
}
|
|
3823
|
-
var pathParams = {
|
|
3824
|
-
'id': id
|
|
1768
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
1769
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3825
1770
|
};
|
|
3826
|
-
var queryParams = {};
|
|
3827
1771
|
var headerParams = {
|
|
3828
1772
|
'Authorization': opts['authorization'],
|
|
3829
|
-
'cacheduration': opts['cacheduration'],
|
|
3830
|
-
'cachegroup': opts['cachegroup'],
|
|
3831
|
-
'cachekey': opts['cachekey'],
|
|
3832
|
-
'cachescope': opts['cachescope'],
|
|
3833
|
-
'cacheuser': opts['cacheuser'],
|
|
3834
1773
|
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3835
1774
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3836
1775
|
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
@@ -3841,123 +1780,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3841
1780
|
var contentTypes = ['application/json'];
|
|
3842
1781
|
var accepts = ['application/json'];
|
|
3843
1782
|
var returnType = null;
|
|
3844
|
-
return this.apiClient.callApi('/
|
|
3845
|
-
}
|
|
3846
|
-
|
|
3847
|
-
/**
|
|
3848
|
-
* Callback function to receive the result of the view operation.
|
|
3849
|
-
* @callback module:api/GraphObjectsApi~viewCallback
|
|
3850
|
-
* @param {String} error Error message, if any.
|
|
3851
|
-
* @param data This operation does not return a value.
|
|
3852
|
-
* @param {String} response The complete HTTP response.
|
|
3853
|
-
*/
|
|
3854
|
-
|
|
3855
|
-
/**
|
|
3856
|
-
* Marks the object as viewed
|
|
3857
|
-
* Marks the object as viewed by the logged in user
|
|
3858
|
-
* @param {Number} objectid The id of the object being viewed
|
|
3859
|
-
* @param {Object} opts Optional parameters
|
|
3860
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3861
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3862
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3863
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3864
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3865
|
-
* @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)
|
|
3866
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3867
|
-
* @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
|
|
3868
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3869
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3870
|
-
* @param {module:api/GraphObjectsApi~viewCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3871
|
-
*/
|
|
3872
|
-
}, {
|
|
3873
|
-
key: "view",
|
|
3874
|
-
value: function view(objectid, opts, callback) {
|
|
3875
|
-
opts = opts || {};
|
|
3876
|
-
var postBody = null;
|
|
3877
|
-
// verify the required parameter 'objectid' is set
|
|
3878
|
-
if (objectid === undefined || objectid === null) {
|
|
3879
|
-
throw new Error("Missing the required parameter 'objectid' when calling view");
|
|
3880
|
-
}
|
|
3881
|
-
var pathParams = {
|
|
3882
|
-
'objectid': objectid
|
|
3883
|
-
};
|
|
3884
|
-
var queryParams = {};
|
|
3885
|
-
var headerParams = {
|
|
3886
|
-
'Authorization': opts['authorization'],
|
|
3887
|
-
'cacheduration': opts['cacheduration'],
|
|
3888
|
-
'cachegroup': opts['cachegroup'],
|
|
3889
|
-
'cachekey': opts['cachekey'],
|
|
3890
|
-
'cachescope': opts['cachescope'],
|
|
3891
|
-
'cacheuser': opts['cacheuser'],
|
|
3892
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3893
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3894
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3895
|
-
'transactionid': opts['transactionid']
|
|
3896
|
-
};
|
|
3897
|
-
var formParams = {};
|
|
3898
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3899
|
-
var contentTypes = [];
|
|
3900
|
-
var accepts = ['application/json'];
|
|
3901
|
-
var returnType = null;
|
|
3902
|
-
return this.apiClient.callApi('/graph/data/object/{objectid}/view', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3903
|
-
}
|
|
3904
|
-
|
|
3905
|
-
/**
|
|
3906
|
-
* Callback function to receive the result of the viewPost operation.
|
|
3907
|
-
* @callback module:api/GraphObjectsApi~viewPostCallback
|
|
3908
|
-
* @param {String} error Error message, if any.
|
|
3909
|
-
* @param data This operation does not return a value.
|
|
3910
|
-
* @param {String} response The complete HTTP response.
|
|
3911
|
-
*/
|
|
3912
|
-
|
|
3913
|
-
/**
|
|
3914
|
-
* Marks the object as viewed (HTTP Post Operation)
|
|
3915
|
-
* Marks the object as viewed by the logged in user
|
|
3916
|
-
* @param {Number} id The id of the object being viewed
|
|
3917
|
-
* @param {Object} opts Optional parameters
|
|
3918
|
-
* @param {String} [authorization] The authorization token of the logged in user
|
|
3919
|
-
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3920
|
-
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3921
|
-
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3922
|
-
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3923
|
-
* @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)
|
|
3924
|
-
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3925
|
-
* @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
|
|
3926
|
-
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3927
|
-
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3928
|
-
* @param {module:api/GraphObjectsApi~viewPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3929
|
-
*/
|
|
3930
|
-
}, {
|
|
3931
|
-
key: "viewPost",
|
|
3932
|
-
value: function viewPost(id, opts, callback) {
|
|
3933
|
-
opts = opts || {};
|
|
3934
|
-
var postBody = null;
|
|
3935
|
-
// verify the required parameter 'id' is set
|
|
3936
|
-
if (id === undefined || id === null) {
|
|
3937
|
-
throw new Error("Missing the required parameter 'id' when calling viewPost");
|
|
3938
|
-
}
|
|
3939
|
-
var pathParams = {
|
|
3940
|
-
'id': id
|
|
3941
|
-
};
|
|
3942
|
-
var queryParams = {};
|
|
3943
|
-
var headerParams = {
|
|
3944
|
-
'Authorization': opts['authorization'],
|
|
3945
|
-
'cacheduration': opts['cacheduration'],
|
|
3946
|
-
'cachegroup': opts['cachegroup'],
|
|
3947
|
-
'cachekey': opts['cachekey'],
|
|
3948
|
-
'cachescope': opts['cachescope'],
|
|
3949
|
-
'cacheuser': opts['cacheuser'],
|
|
3950
|
-
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3951
|
-
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3952
|
-
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3953
|
-
'transactionid': opts['transactionid']
|
|
3954
|
-
};
|
|
3955
|
-
var formParams = {};
|
|
3956
|
-
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3957
|
-
var contentTypes = [];
|
|
3958
|
-
var accepts = ['application/json'];
|
|
3959
|
-
var returnType = null;
|
|
3960
|
-
return this.apiClient.callApi('/graph/data/object/{id}/view', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1783
|
+
return this.apiClient.callApi('/object/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3961
1784
|
}
|
|
3962
1785
|
}]);
|
|
3963
1786
|
}();
|