@gobodo/gobodo-api 0.1.4 → 0.1.6
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 +25 -29
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +590 -606
- package/dist/api/GraphRelationshipTypesApi.js +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +100 -116
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +43 -45
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +28 -28
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +67 -47
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +73 -61
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +122 -85
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +129 -84
- package/dist/model/DocumentPartType.js +67 -40
- package/dist/model/DocumentType.js +77 -54
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +93 -108
- package/dist/model/File.js +58 -44
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +77 -69
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +86 -36
- package/dist/model/GraphObjectSchema.js +90 -62
- package/dist/model/GraphObjectType.js +91 -67
- package/dist/model/GraphObjectTypeSchema.js +110 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +89 -69
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +79 -61
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +63 -35
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +108 -68
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +43 -30
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +104 -64
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +79 -65
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +38 -25
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +93 -108
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +108 -68
- package/dist/model/UserDataPayload.js +108 -68
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +108 -68
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +104 -85
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +122 -98
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
|
@@ -4,67 +4,51 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _Comment = _interopRequireDefault(require("../model/Comment"));
|
|
11
|
-
|
|
12
9
|
var _DataSheetImport = _interopRequireDefault(require("../model/DataSheetImport"));
|
|
13
|
-
|
|
14
10
|
var _Geocode = _interopRequireDefault(require("../model/Geocode"));
|
|
15
|
-
|
|
16
11
|
var _GeocodePayload = _interopRequireDefault(require("../model/GeocodePayload"));
|
|
17
|
-
|
|
18
12
|
var _Graph = _interopRequireDefault(require("../model/Graph"));
|
|
19
|
-
|
|
20
13
|
var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
|
|
21
|
-
|
|
22
14
|
var _GraphGeocode = _interopRequireDefault(require("../model/GraphGeocode"));
|
|
23
|
-
|
|
24
15
|
var _GraphObjectPayload = _interopRequireDefault(require("../model/GraphObjectPayload"));
|
|
25
|
-
|
|
26
16
|
var _GraphObjectSchema = _interopRequireDefault(require("../model/GraphObjectSchema"));
|
|
27
|
-
|
|
28
17
|
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
29
|
-
|
|
30
18
|
var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
|
|
31
|
-
|
|
32
19
|
var _Image = _interopRequireDefault(require("../model/Image"));
|
|
33
|
-
|
|
34
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject"));
|
|
35
|
-
|
|
36
|
-
var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject5"));
|
|
37
|
-
|
|
38
|
-
var _InlineResponseDefault = _interopRequireDefault(require("../model/InlineResponseDefault"));
|
|
39
|
-
|
|
40
20
|
var _InputPart = _interopRequireDefault(require("../model/InputPart"));
|
|
41
|
-
|
|
42
21
|
var _MeetingEvent = _interopRequireDefault(require("../model/MeetingEvent"));
|
|
43
|
-
|
|
44
22
|
var _MeetingInfo = _interopRequireDefault(require("../model/MeetingInfo"));
|
|
45
|
-
|
|
23
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
46
24
|
var _UserInvite = _interopRequireDefault(require("../model/UserInvite"));
|
|
47
|
-
|
|
48
25
|
var _UserInviteInput = _interopRequireDefault(require("../model/UserInviteInput"));
|
|
49
|
-
|
|
50
26
|
var _UserTag = _interopRequireDefault(require("../model/UserTag"));
|
|
51
|
-
|
|
52
27
|
var _Video = _interopRequireDefault(require("../model/Video"));
|
|
53
|
-
|
|
54
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
55
|
-
|
|
29
|
+
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); }
|
|
56
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
57
|
-
|
|
58
|
-
function
|
|
59
|
-
|
|
60
|
-
function
|
|
61
|
-
|
|
31
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
32
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
33
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
34
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
35
|
+
* Gobodo API
|
|
36
|
+
* REST Interface for Gobodo API
|
|
37
|
+
*
|
|
38
|
+
* The version of the OpenAPI document: 0.1.6
|
|
39
|
+
* Contact: info@gobodo.io
|
|
40
|
+
*
|
|
41
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
42
|
+
* https://openapi-generator.tech
|
|
43
|
+
* Do not edit the class manually.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
62
46
|
/**
|
|
63
47
|
* GraphObjects service.
|
|
64
48
|
* @module api/GraphObjectsApi
|
|
65
|
-
* @version 0.1.
|
|
49
|
+
* @version 0.1.6
|
|
66
50
|
*/
|
|
67
|
-
var GraphObjectsApi = /*#__PURE__*/function () {
|
|
51
|
+
var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
68
52
|
/**
|
|
69
53
|
* Constructs a new GraphObjectsApi.
|
|
70
54
|
* @alias module:api/GraphObjectsApi
|
|
@@ -74,9 +58,9 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
74
58
|
*/
|
|
75
59
|
function GraphObjectsApi(apiClient) {
|
|
76
60
|
_classCallCheck(this, GraphObjectsApi);
|
|
77
|
-
|
|
78
61
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
79
62
|
}
|
|
63
|
+
|
|
80
64
|
/**
|
|
81
65
|
* Callback function to receive the result of the addLiveMeeting operation.
|
|
82
66
|
* @callback module:api/GraphObjectsApi~addLiveMeetingCallback
|
|
@@ -91,28 +75,24 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
91
75
|
* @param {Number} objectid The id of the object we are attaching the live meeting to
|
|
92
76
|
* @param {module:model/MeetingInfo} meetingInfo Contains the info to create the live meeting
|
|
93
77
|
* @param {Object} opts Optional parameters
|
|
94
|
-
* @param {String}
|
|
95
|
-
* @param {Number}
|
|
96
|
-
* @param {String}
|
|
78
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
79
|
+
* @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
|
|
80
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
97
81
|
* @param {module:api/GraphObjectsApi~addLiveMeetingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
98
82
|
*/
|
|
99
|
-
|
|
100
|
-
|
|
101
83
|
_createClass(GraphObjectsApi, [{
|
|
102
84
|
key: "addLiveMeeting",
|
|
103
85
|
value: function addLiveMeeting(objectid, meetingInfo, opts, callback) {
|
|
104
86
|
opts = opts || {};
|
|
105
|
-
var postBody = meetingInfo;
|
|
106
|
-
|
|
87
|
+
var postBody = meetingInfo;
|
|
88
|
+
// verify the required parameter 'objectid' is set
|
|
107
89
|
if (objectid === undefined || objectid === null) {
|
|
108
90
|
throw new Error("Missing the required parameter 'objectid' when calling addLiveMeeting");
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
91
|
+
}
|
|
92
|
+
// verify the required parameter 'meetingInfo' is set
|
|
112
93
|
if (meetingInfo === undefined || meetingInfo === null) {
|
|
113
94
|
throw new Error("Missing the required parameter 'meetingInfo' when calling addLiveMeeting");
|
|
114
95
|
}
|
|
115
|
-
|
|
116
96
|
var pathParams = {
|
|
117
97
|
'objectid': objectid
|
|
118
98
|
};
|
|
@@ -129,11 +109,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
129
109
|
var returnType = null;
|
|
130
110
|
return this.apiClient.callApi('/graph/data/live/{objectid}/add', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
131
111
|
}
|
|
112
|
+
|
|
132
113
|
/**
|
|
133
|
-
* Callback function to receive the result of the
|
|
134
|
-
* @callback module:api/GraphObjectsApi~
|
|
114
|
+
* Callback function to receive the result of the addLiveStream operation.
|
|
115
|
+
* @callback module:api/GraphObjectsApi~addLiveStreamCallback
|
|
135
116
|
* @param {String} error Error message, if any.
|
|
136
|
-
* @param {Object.<String, module:model/{String:
|
|
117
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
137
118
|
* @param {String} response The complete HTTP response.
|
|
138
119
|
*/
|
|
139
120
|
|
|
@@ -142,23 +123,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
142
123
|
* Adds live meeting details to the object
|
|
143
124
|
* @param {Number} objectid The id of the object we are streaming
|
|
144
125
|
* @param {Object} opts Optional parameters
|
|
145
|
-
* @param {String}
|
|
146
|
-
* @param {Number}
|
|
147
|
-
* @param {String}
|
|
148
|
-
* @param {module:api/GraphObjectsApi~
|
|
149
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
126
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
127
|
+
* @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
|
|
128
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
129
|
+
* @param {module:api/GraphObjectsApi~addLiveStreamCallback} callback The callback function, accepting three arguments: error, data, response
|
|
130
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
150
131
|
*/
|
|
151
|
-
|
|
152
132
|
}, {
|
|
153
|
-
key: "
|
|
154
|
-
value: function
|
|
133
|
+
key: "addLiveStream",
|
|
134
|
+
value: function addLiveStream(objectid, opts, callback) {
|
|
155
135
|
opts = opts || {};
|
|
156
|
-
var postBody = null;
|
|
157
|
-
|
|
136
|
+
var postBody = null;
|
|
137
|
+
// verify the required parameter 'objectid' is set
|
|
158
138
|
if (objectid === undefined || objectid === null) {
|
|
159
|
-
throw new Error("Missing the required parameter 'objectid' when calling
|
|
139
|
+
throw new Error("Missing the required parameter 'objectid' when calling addLiveStream");
|
|
160
140
|
}
|
|
161
|
-
|
|
162
141
|
var pathParams = {
|
|
163
142
|
'objectid': objectid
|
|
164
143
|
};
|
|
@@ -173,40 +152,41 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
173
152
|
var contentTypes = [];
|
|
174
153
|
var accepts = ['application/json'];
|
|
175
154
|
var returnType = {
|
|
176
|
-
'String':
|
|
155
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
177
156
|
};
|
|
178
157
|
return this.apiClient.callApi('/graph/data/live/{objectid}/stream', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
179
158
|
}
|
|
159
|
+
|
|
180
160
|
/**
|
|
181
161
|
* Callback function to receive the result of the attachFile operation.
|
|
182
162
|
* @callback module:api/GraphObjectsApi~attachFileCallback
|
|
183
163
|
* @param {String} error Error message, if any.
|
|
184
|
-
* @param {module:model/
|
|
164
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
185
165
|
* @param {String} response The complete HTTP response.
|
|
186
166
|
*/
|
|
187
167
|
|
|
188
168
|
/**
|
|
189
169
|
* @param {Number} id The id of the object that the file is being attached to
|
|
190
170
|
* @param {Object} opts Optional parameters
|
|
191
|
-
* @param {String}
|
|
192
|
-
* @param {Number}
|
|
193
|
-
* @param {String}
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {String}
|
|
171
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
172
|
+
* @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
|
|
173
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
174
|
+
* @param {Object.<String, {String: [InputPart]}>} [formDataMap]
|
|
175
|
+
* @param {Object.<String, {String: InputPart}>} [formData]
|
|
176
|
+
* @param {Array.<module:model/InputPart>} [parts]
|
|
177
|
+
* @param {String} [preamble]
|
|
196
178
|
* @param {module:api/GraphObjectsApi~attachFileCallback} callback The callback function, accepting three arguments: error, data, response
|
|
197
|
-
* data is of type: {@link module:model/
|
|
179
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
198
180
|
*/
|
|
199
|
-
|
|
200
181
|
}, {
|
|
201
182
|
key: "attachFile",
|
|
202
183
|
value: function attachFile(id, opts, callback) {
|
|
203
184
|
opts = opts || {};
|
|
204
|
-
var postBody = null;
|
|
205
|
-
|
|
185
|
+
var postBody = null;
|
|
186
|
+
// verify the required parameter 'id' is set
|
|
206
187
|
if (id === undefined || id === null) {
|
|
207
188
|
throw new Error("Missing the required parameter 'id' when calling attachFile");
|
|
208
189
|
}
|
|
209
|
-
|
|
210
190
|
var pathParams = {
|
|
211
191
|
'id': id
|
|
212
192
|
};
|
|
@@ -217,45 +197,48 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
217
197
|
'transactionid': opts['transactionid']
|
|
218
198
|
};
|
|
219
199
|
var formParams = {
|
|
200
|
+
'formDataMap': opts['formDataMap'],
|
|
201
|
+
'formData': opts['formData'],
|
|
220
202
|
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
221
203
|
'preamble': opts['preamble']
|
|
222
204
|
};
|
|
223
205
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
224
206
|
var contentTypes = ['multipart/form-data'];
|
|
225
207
|
var accepts = ['application/json'];
|
|
226
|
-
var returnType =
|
|
208
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
227
209
|
return this.apiClient.callApi('/graph/data/object/{id}/attachfile', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
228
210
|
}
|
|
211
|
+
|
|
229
212
|
/**
|
|
230
213
|
* Callback function to receive the result of the attachImage operation.
|
|
231
214
|
* @callback module:api/GraphObjectsApi~attachImageCallback
|
|
232
215
|
* @param {String} error Error message, if any.
|
|
233
|
-
* @param {module:model/
|
|
216
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
234
217
|
* @param {String} response The complete HTTP response.
|
|
235
218
|
*/
|
|
236
219
|
|
|
237
220
|
/**
|
|
238
221
|
* @param {Number} id The id of the object that the image is being attached to
|
|
239
222
|
* @param {Object} opts Optional parameters
|
|
240
|
-
* @param {String}
|
|
241
|
-
* @param {Number}
|
|
242
|
-
* @param {String}
|
|
243
|
-
* @param {
|
|
244
|
-
* @param {String}
|
|
223
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
224
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
225
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
226
|
+
* @param {Object.<String, {String: [InputPart]}>} [formDataMap]
|
|
227
|
+
* @param {Object.<String, {String: InputPart}>} [formData]
|
|
228
|
+
* @param {Array.<module:model/InputPart>} [parts]
|
|
229
|
+
* @param {String} [preamble]
|
|
245
230
|
* @param {module:api/GraphObjectsApi~attachImageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
246
|
-
* data is of type: {@link module:model/
|
|
231
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
247
232
|
*/
|
|
248
|
-
|
|
249
233
|
}, {
|
|
250
234
|
key: "attachImage",
|
|
251
235
|
value: function attachImage(id, opts, callback) {
|
|
252
236
|
opts = opts || {};
|
|
253
|
-
var postBody = null;
|
|
254
|
-
|
|
237
|
+
var postBody = null;
|
|
238
|
+
// verify the required parameter 'id' is set
|
|
255
239
|
if (id === undefined || id === null) {
|
|
256
240
|
throw new Error("Missing the required parameter 'id' when calling attachImage");
|
|
257
241
|
}
|
|
258
|
-
|
|
259
242
|
var pathParams = {
|
|
260
243
|
'id': id
|
|
261
244
|
};
|
|
@@ -266,15 +249,18 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
266
249
|
'transactionid': opts['transactionid']
|
|
267
250
|
};
|
|
268
251
|
var formParams = {
|
|
252
|
+
'formDataMap': opts['formDataMap'],
|
|
253
|
+
'formData': opts['formData'],
|
|
269
254
|
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
270
255
|
'preamble': opts['preamble']
|
|
271
256
|
};
|
|
272
257
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
273
258
|
var contentTypes = ['multipart/form-data'];
|
|
274
259
|
var accepts = ['application/json'];
|
|
275
|
-
var returnType =
|
|
260
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
276
261
|
return this.apiClient.callApi('/graph/data/object/{id}/attachimage', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
277
262
|
}
|
|
263
|
+
|
|
278
264
|
/**
|
|
279
265
|
* Callback function to receive the result of the createActions operation.
|
|
280
266
|
* @callback module:api/GraphObjectsApi~createActionsCallback
|
|
@@ -287,28 +273,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
287
273
|
* @param {Number} id The id of the object that we are performing the action on
|
|
288
274
|
* @param {Array.<module:model/GraphAction>} graphAction Conversation object or array of objects to create
|
|
289
275
|
* @param {Object} opts Optional parameters
|
|
290
|
-
* @param {String}
|
|
291
|
-
* @param {Number}
|
|
292
|
-
* @param {String}
|
|
276
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
277
|
+
* @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
|
|
278
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
293
279
|
* @param {module:api/GraphObjectsApi~createActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
294
280
|
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
295
281
|
*/
|
|
296
|
-
|
|
297
282
|
}, {
|
|
298
283
|
key: "createActions",
|
|
299
284
|
value: function createActions(id, graphAction, opts, callback) {
|
|
300
285
|
opts = opts || {};
|
|
301
|
-
var postBody = graphAction;
|
|
302
|
-
|
|
286
|
+
var postBody = graphAction;
|
|
287
|
+
// verify the required parameter 'id' is set
|
|
303
288
|
if (id === undefined || id === null) {
|
|
304
289
|
throw new Error("Missing the required parameter 'id' when calling createActions");
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
290
|
+
}
|
|
291
|
+
// verify the required parameter 'graphAction' is set
|
|
308
292
|
if (graphAction === undefined || graphAction === null) {
|
|
309
293
|
throw new Error("Missing the required parameter 'graphAction' when calling createActions");
|
|
310
294
|
}
|
|
311
|
-
|
|
312
295
|
var pathParams = {
|
|
313
296
|
'id': id
|
|
314
297
|
};
|
|
@@ -325,6 +308,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
325
308
|
var returnType = [_GraphAction["default"]];
|
|
326
309
|
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
327
310
|
}
|
|
311
|
+
|
|
328
312
|
/**
|
|
329
313
|
* Callback function to receive the result of the createAddObjectsToGraph operation.
|
|
330
314
|
* @callback module:api/GraphObjectsApi~createAddObjectsToGraphCallback
|
|
@@ -337,24 +321,22 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
337
321
|
* Adds objects to the graph
|
|
338
322
|
* @param {Number} id
|
|
339
323
|
* @param {Object} opts Optional parameters
|
|
340
|
-
* @param {String}
|
|
341
|
-
* @param {Number}
|
|
342
|
-
* @param {String}
|
|
343
|
-
* @param {String}
|
|
324
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
325
|
+
* @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
|
|
326
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
327
|
+
* @param {String} [body]
|
|
344
328
|
* @param {module:api/GraphObjectsApi~createAddObjectsToGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
345
329
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
346
330
|
*/
|
|
347
|
-
|
|
348
331
|
}, {
|
|
349
332
|
key: "createAddObjectsToGraph",
|
|
350
333
|
value: function createAddObjectsToGraph(id, opts, callback) {
|
|
351
334
|
opts = opts || {};
|
|
352
|
-
var postBody = opts['body'];
|
|
353
|
-
|
|
335
|
+
var postBody = opts['body'];
|
|
336
|
+
// verify the required parameter 'id' is set
|
|
354
337
|
if (id === undefined || id === null) {
|
|
355
338
|
throw new Error("Missing the required parameter 'id' when calling createAddObjectsToGraph");
|
|
356
339
|
}
|
|
357
|
-
|
|
358
340
|
var pathParams = {
|
|
359
341
|
'id': id
|
|
360
342
|
};
|
|
@@ -371,6 +353,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
371
353
|
var returnType = _GraphObjectSchema["default"];
|
|
372
354
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
373
355
|
}
|
|
356
|
+
|
|
374
357
|
/**
|
|
375
358
|
* Callback function to receive the result of the createGeocodes operation.
|
|
376
359
|
* @callback module:api/GraphObjectsApi~createGeocodesCallback
|
|
@@ -383,28 +366,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
383
366
|
* @param {Number} id The id of the object that we are retrieving geolocation information from
|
|
384
367
|
* @param {module:model/GeocodePayload} geocodePayload Conversation object or array of objects to create
|
|
385
368
|
* @param {Object} opts Optional parameters
|
|
386
|
-
* @param {String}
|
|
387
|
-
* @param {Number}
|
|
388
|
-
* @param {String}
|
|
369
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
370
|
+
* @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
|
|
371
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
389
372
|
* @param {module:api/GraphObjectsApi~createGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
390
373
|
* data is of type: {@link module:model/Geocode}
|
|
391
374
|
*/
|
|
392
|
-
|
|
393
375
|
}, {
|
|
394
376
|
key: "createGeocodes",
|
|
395
377
|
value: function createGeocodes(id, geocodePayload, opts, callback) {
|
|
396
378
|
opts = opts || {};
|
|
397
|
-
var postBody = geocodePayload;
|
|
398
|
-
|
|
379
|
+
var postBody = geocodePayload;
|
|
380
|
+
// verify the required parameter 'id' is set
|
|
399
381
|
if (id === undefined || id === null) {
|
|
400
382
|
throw new Error("Missing the required parameter 'id' when calling createGeocodes");
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
|
|
383
|
+
}
|
|
384
|
+
// verify the required parameter 'geocodePayload' is set
|
|
404
385
|
if (geocodePayload === undefined || geocodePayload === null) {
|
|
405
386
|
throw new Error("Missing the required parameter 'geocodePayload' when calling createGeocodes");
|
|
406
387
|
}
|
|
407
|
-
|
|
408
388
|
var pathParams = {
|
|
409
389
|
'id': id
|
|
410
390
|
};
|
|
@@ -421,6 +401,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
421
401
|
var returnType = _Geocode["default"];
|
|
422
402
|
return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
423
403
|
}
|
|
404
|
+
|
|
424
405
|
/**
|
|
425
406
|
* Callback function to receive the result of the createInviteOnObject operation.
|
|
426
407
|
* @callback module:api/GraphObjectsApi~createInviteOnObjectCallback
|
|
@@ -435,28 +416,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
435
416
|
* @param {Number} inviteid The id of the invite we are retrieving
|
|
436
417
|
* @param {module:model/UserInviteInput} userInviteInput An Invite Input
|
|
437
418
|
* @param {Object} opts Optional parameters
|
|
438
|
-
* @param {String}
|
|
439
|
-
* @param {Number}
|
|
440
|
-
* @param {String}
|
|
419
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
420
|
+
* @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
|
|
421
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
441
422
|
* @param {module:api/GraphObjectsApi~createInviteOnObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
442
423
|
* data is of type: {@link module:model/UserInvite}
|
|
443
424
|
*/
|
|
444
|
-
|
|
445
425
|
}, {
|
|
446
426
|
key: "createInviteOnObject",
|
|
447
427
|
value: function createInviteOnObject(inviteid, userInviteInput, opts, callback) {
|
|
448
428
|
opts = opts || {};
|
|
449
|
-
var postBody = userInviteInput;
|
|
450
|
-
|
|
429
|
+
var postBody = userInviteInput;
|
|
430
|
+
// verify the required parameter 'inviteid' is set
|
|
451
431
|
if (inviteid === undefined || inviteid === null) {
|
|
452
432
|
throw new Error("Missing the required parameter 'inviteid' when calling createInviteOnObject");
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
|
|
433
|
+
}
|
|
434
|
+
// verify the required parameter 'userInviteInput' is set
|
|
456
435
|
if (userInviteInput === undefined || userInviteInput === null) {
|
|
457
436
|
throw new Error("Missing the required parameter 'userInviteInput' when calling createInviteOnObject");
|
|
458
437
|
}
|
|
459
|
-
|
|
460
438
|
var pathParams = {
|
|
461
439
|
'inviteid': inviteid
|
|
462
440
|
};
|
|
@@ -473,6 +451,93 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
473
451
|
var returnType = _UserInvite["default"];
|
|
474
452
|
return this.apiClient.callApi('/graph/data/invites/{objectid}/invite', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
475
453
|
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Callback function to receive the result of the createObject operation.
|
|
457
|
+
* @callback module:api/GraphObjectsApi~createObjectCallback
|
|
458
|
+
* @param {String} error Error message, if any.
|
|
459
|
+
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
460
|
+
* @param {String} response The complete HTTP response.
|
|
461
|
+
*/
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Create Objects
|
|
465
|
+
* Create graph object(s)
|
|
466
|
+
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject object data or array of object data to create
|
|
467
|
+
* @param {Object} opts Optional parameters
|
|
468
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
469
|
+
* @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
|
|
470
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
471
|
+
* @param {module:api/GraphObjectsApi~createObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
472
|
+
* data is of type: {@link module:model/GraphObjectSchema}
|
|
473
|
+
*/
|
|
474
|
+
}, {
|
|
475
|
+
key: "createObject",
|
|
476
|
+
value: function createObject(graphObjectPayload, opts, callback) {
|
|
477
|
+
opts = opts || {};
|
|
478
|
+
var postBody = graphObjectPayload;
|
|
479
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
480
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
481
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObject");
|
|
482
|
+
}
|
|
483
|
+
var pathParams = {};
|
|
484
|
+
var queryParams = {};
|
|
485
|
+
var headerParams = {
|
|
486
|
+
'Authorization': opts['authorization'],
|
|
487
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
488
|
+
'transactionid': opts['transactionid']
|
|
489
|
+
};
|
|
490
|
+
var formParams = {};
|
|
491
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
492
|
+
var contentTypes = [];
|
|
493
|
+
var accepts = ['application/json'];
|
|
494
|
+
var returnType = _GraphObjectSchema["default"];
|
|
495
|
+
return this.apiClient.callApi('/graph/data/object', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Callback function to receive the result of the createObjects operation.
|
|
500
|
+
* @callback module:api/GraphObjectsApi~createObjectsCallback
|
|
501
|
+
* @param {String} error Error message, if any.
|
|
502
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
503
|
+
* @param {String} response The complete HTTP response.
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Create Objects
|
|
508
|
+
* Create graph object(s)
|
|
509
|
+
* @param {Array.<module:model/GraphObjectPayload>} graphObjectPayload GraphObject object data or array of object data to create
|
|
510
|
+
* @param {Object} opts Optional parameters
|
|
511
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
512
|
+
* @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
|
|
513
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
514
|
+
* @param {module:api/GraphObjectsApi~createObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
515
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
516
|
+
*/
|
|
517
|
+
}, {
|
|
518
|
+
key: "createObjects",
|
|
519
|
+
value: function createObjects(graphObjectPayload, opts, callback) {
|
|
520
|
+
opts = opts || {};
|
|
521
|
+
var postBody = graphObjectPayload;
|
|
522
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
523
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
524
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObjects");
|
|
525
|
+
}
|
|
526
|
+
var pathParams = {};
|
|
527
|
+
var queryParams = {};
|
|
528
|
+
var headerParams = {
|
|
529
|
+
'Authorization': opts['authorization'],
|
|
530
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
531
|
+
'transactionid': opts['transactionid']
|
|
532
|
+
};
|
|
533
|
+
var formParams = {};
|
|
534
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
535
|
+
var contentTypes = [];
|
|
536
|
+
var accepts = ['application/json'];
|
|
537
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
538
|
+
return this.apiClient.callApi('/graph/data/object/createobjects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
539
|
+
}
|
|
540
|
+
|
|
476
541
|
/**
|
|
477
542
|
* Callback function to receive the result of the createRelationship operation.
|
|
478
543
|
* @callback module:api/GraphObjectsApi~createRelationshipCallback
|
|
@@ -487,28 +552,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
487
552
|
* @param {Number} id The id of the object that we are creating relationships on
|
|
488
553
|
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
489
554
|
* @param {Object} opts Optional parameters
|
|
490
|
-
* @param {String}
|
|
491
|
-
* @param {Number}
|
|
492
|
-
* @param {String}
|
|
555
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
556
|
+
* @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
|
|
557
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
493
558
|
* @param {module:api/GraphObjectsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
494
559
|
* data is of type: {@link module:model/GraphRelationship}
|
|
495
560
|
*/
|
|
496
|
-
|
|
497
561
|
}, {
|
|
498
562
|
key: "createRelationship",
|
|
499
563
|
value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
|
|
500
564
|
opts = opts || {};
|
|
501
|
-
var postBody = graphRelationshipPayload;
|
|
502
|
-
|
|
565
|
+
var postBody = graphRelationshipPayload;
|
|
566
|
+
// verify the required parameter 'id' is set
|
|
503
567
|
if (id === undefined || id === null) {
|
|
504
568
|
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
|
|
569
|
+
}
|
|
570
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
508
571
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
509
572
|
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
510
573
|
}
|
|
511
|
-
|
|
512
574
|
var pathParams = {
|
|
513
575
|
'id': id
|
|
514
576
|
};
|
|
@@ -525,6 +587,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
525
587
|
var returnType = _GraphRelationship["default"];
|
|
526
588
|
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
527
589
|
}
|
|
590
|
+
|
|
528
591
|
/**
|
|
529
592
|
* Callback function to receive the result of the createRelationships operation.
|
|
530
593
|
* @callback module:api/GraphObjectsApi~createRelationshipsCallback
|
|
@@ -539,28 +602,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
539
602
|
* @param {Number} id The id of the object that we are creating relationships on
|
|
540
603
|
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
541
604
|
* @param {Object} opts Optional parameters
|
|
542
|
-
* @param {String}
|
|
543
|
-
* @param {Number}
|
|
544
|
-
* @param {String}
|
|
605
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
606
|
+
* @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
|
|
607
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
545
608
|
* @param {module:api/GraphObjectsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
546
609
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
547
610
|
*/
|
|
548
|
-
|
|
549
611
|
}, {
|
|
550
612
|
key: "createRelationships",
|
|
551
613
|
value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
|
|
552
614
|
opts = opts || {};
|
|
553
|
-
var postBody = graphRelationshipPayload;
|
|
554
|
-
|
|
615
|
+
var postBody = graphRelationshipPayload;
|
|
616
|
+
// verify the required parameter 'id' is set
|
|
555
617
|
if (id === undefined || id === null) {
|
|
556
618
|
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
|
|
619
|
+
}
|
|
620
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
560
621
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
561
622
|
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
562
623
|
}
|
|
563
|
-
|
|
564
624
|
var pathParams = {
|
|
565
625
|
'id': id
|
|
566
626
|
};
|
|
@@ -577,6 +637,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
577
637
|
var returnType = [_GraphRelationship["default"]];
|
|
578
638
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
579
639
|
}
|
|
640
|
+
|
|
580
641
|
/**
|
|
581
642
|
* Callback function to receive the result of the deleteGeocode operation.
|
|
582
643
|
* @callback module:api/GraphObjectsApi~deleteGeocodeCallback
|
|
@@ -589,27 +650,24 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
589
650
|
* @param {Number} id The id of the geocode to delete
|
|
590
651
|
* @param {Number} geocodeid The id of the object whose properties we are updating
|
|
591
652
|
* @param {Object} opts Optional parameters
|
|
592
|
-
* @param {String}
|
|
593
|
-
* @param {Number}
|
|
594
|
-
* @param {String}
|
|
653
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
654
|
+
* @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
|
|
655
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
595
656
|
* @param {module:api/GraphObjectsApi~deleteGeocodeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
596
657
|
*/
|
|
597
|
-
|
|
598
658
|
}, {
|
|
599
659
|
key: "deleteGeocode",
|
|
600
660
|
value: function deleteGeocode(id, geocodeid, opts, callback) {
|
|
601
661
|
opts = opts || {};
|
|
602
|
-
var postBody = null;
|
|
603
|
-
|
|
662
|
+
var postBody = null;
|
|
663
|
+
// verify the required parameter 'id' is set
|
|
604
664
|
if (id === undefined || id === null) {
|
|
605
665
|
throw new Error("Missing the required parameter 'id' when calling deleteGeocode");
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
|
|
666
|
+
}
|
|
667
|
+
// verify the required parameter 'geocodeid' is set
|
|
609
668
|
if (geocodeid === undefined || geocodeid === null) {
|
|
610
669
|
throw new Error("Missing the required parameter 'geocodeid' when calling deleteGeocode");
|
|
611
670
|
}
|
|
612
|
-
|
|
613
671
|
var pathParams = {
|
|
614
672
|
'id': id,
|
|
615
673
|
'geocodeid': geocodeid
|
|
@@ -627,6 +685,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
627
685
|
var returnType = null;
|
|
628
686
|
return this.apiClient.callApi('/graph/data/object/{id}/geocode/{geocodeid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
629
687
|
}
|
|
688
|
+
|
|
630
689
|
/**
|
|
631
690
|
* Callback function to receive the result of the deleteLike operation.
|
|
632
691
|
* @callback module:api/GraphObjectsApi~deleteLikeCallback
|
|
@@ -640,22 +699,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
640
699
|
* Delete an individual like
|
|
641
700
|
* @param {Number} objectid
|
|
642
701
|
* @param {Object} opts Optional parameters
|
|
643
|
-
* @param {String}
|
|
644
|
-
* @param {Number}
|
|
645
|
-
* @param {String}
|
|
702
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
703
|
+
* @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
|
|
704
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
646
705
|
* @param {module:api/GraphObjectsApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
647
706
|
*/
|
|
648
|
-
|
|
649
707
|
}, {
|
|
650
708
|
key: "deleteLike",
|
|
651
709
|
value: function deleteLike(objectid, opts, callback) {
|
|
652
710
|
opts = opts || {};
|
|
653
|
-
var postBody = null;
|
|
654
|
-
|
|
711
|
+
var postBody = null;
|
|
712
|
+
// verify the required parameter 'objectid' is set
|
|
655
713
|
if (objectid === undefined || objectid === null) {
|
|
656
714
|
throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
|
|
657
715
|
}
|
|
658
|
-
|
|
659
716
|
var pathParams = {
|
|
660
717
|
'objectid': objectid
|
|
661
718
|
};
|
|
@@ -672,6 +729,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
672
729
|
var returnType = null;
|
|
673
730
|
return this.apiClient.callApi('/graph/data/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
674
731
|
}
|
|
732
|
+
|
|
675
733
|
/**
|
|
676
734
|
* Callback function to receive the result of the deleteObject operation.
|
|
677
735
|
* @callback module:api/GraphObjectsApi~deleteObjectCallback
|
|
@@ -684,22 +742,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
684
742
|
* Delete's the object with the id
|
|
685
743
|
* @param {Number} id The id of the object to delete
|
|
686
744
|
* @param {Object} opts Optional parameters
|
|
687
|
-
* @param {String}
|
|
688
|
-
* @param {Number}
|
|
689
|
-
* @param {String}
|
|
745
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
746
|
+
* @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
|
|
747
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
690
748
|
* @param {module:api/GraphObjectsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
691
749
|
*/
|
|
692
|
-
|
|
693
750
|
}, {
|
|
694
751
|
key: "deleteObject",
|
|
695
752
|
value: function deleteObject(id, opts, callback) {
|
|
696
753
|
opts = opts || {};
|
|
697
|
-
var postBody = null;
|
|
698
|
-
|
|
754
|
+
var postBody = null;
|
|
755
|
+
// verify the required parameter 'id' is set
|
|
699
756
|
if (id === undefined || id === null) {
|
|
700
757
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
701
758
|
}
|
|
702
|
-
|
|
703
759
|
var pathParams = {
|
|
704
760
|
'id': id
|
|
705
761
|
};
|
|
@@ -716,6 +772,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
716
772
|
var returnType = null;
|
|
717
773
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
718
774
|
}
|
|
775
|
+
|
|
719
776
|
/**
|
|
720
777
|
* Callback function to receive the result of the dislike operation.
|
|
721
778
|
* @callback module:api/GraphObjectsApi~dislikeCallback
|
|
@@ -729,22 +786,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
729
786
|
* Dislike an object
|
|
730
787
|
* @param {Number} objectid
|
|
731
788
|
* @param {Object} opts Optional parameters
|
|
732
|
-
* @param {String}
|
|
733
|
-
* @param {Number}
|
|
734
|
-
* @param {String}
|
|
789
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
790
|
+
* @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
|
|
791
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
735
792
|
* @param {module:api/GraphObjectsApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
736
793
|
*/
|
|
737
|
-
|
|
738
794
|
}, {
|
|
739
795
|
key: "dislike",
|
|
740
796
|
value: function dislike(objectid, opts, callback) {
|
|
741
797
|
opts = opts || {};
|
|
742
|
-
var postBody = null;
|
|
743
|
-
|
|
798
|
+
var postBody = null;
|
|
799
|
+
// verify the required parameter 'objectid' is set
|
|
744
800
|
if (objectid === undefined || objectid === null) {
|
|
745
801
|
throw new Error("Missing the required parameter 'objectid' when calling dislike");
|
|
746
802
|
}
|
|
747
|
-
|
|
748
803
|
var pathParams = {
|
|
749
804
|
'objectid': objectid
|
|
750
805
|
};
|
|
@@ -761,11 +816,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
761
816
|
var returnType = null;
|
|
762
817
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
763
818
|
}
|
|
819
|
+
|
|
764
820
|
/**
|
|
765
821
|
* Callback function to receive the result of the doPostFunction operation.
|
|
766
822
|
* @callback module:api/GraphObjectsApi~doPostFunctionCallback
|
|
767
823
|
* @param {String} error Error message, if any.
|
|
768
|
-
* @param {module:model/
|
|
824
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
769
825
|
* @param {String} response The complete HTTP response.
|
|
770
826
|
*/
|
|
771
827
|
|
|
@@ -773,29 +829,26 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
773
829
|
* @param {Number} id The id of the object we are calling the function on
|
|
774
830
|
* @param {String} _function
|
|
775
831
|
* @param {Object} opts Optional parameters
|
|
776
|
-
* @param {String}
|
|
777
|
-
* @param {Number}
|
|
778
|
-
* @param {String}
|
|
779
|
-
* @param {String}
|
|
832
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
833
|
+
* @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
|
|
834
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
835
|
+
* @param {String} [body]
|
|
780
836
|
* @param {module:api/GraphObjectsApi~doPostFunctionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
781
|
-
* data is of type: {@link module:model/
|
|
837
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
782
838
|
*/
|
|
783
|
-
|
|
784
839
|
}, {
|
|
785
840
|
key: "doPostFunction",
|
|
786
841
|
value: function doPostFunction(id, _function, opts, callback) {
|
|
787
842
|
opts = opts || {};
|
|
788
|
-
var postBody = opts['body'];
|
|
789
|
-
|
|
843
|
+
var postBody = opts['body'];
|
|
844
|
+
// verify the required parameter 'id' is set
|
|
790
845
|
if (id === undefined || id === null) {
|
|
791
846
|
throw new Error("Missing the required parameter 'id' when calling doPostFunction");
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
|
|
847
|
+
}
|
|
848
|
+
// verify the required parameter '_function' is set
|
|
795
849
|
if (_function === undefined || _function === null) {
|
|
796
850
|
throw new Error("Missing the required parameter '_function' when calling doPostFunction");
|
|
797
851
|
}
|
|
798
|
-
|
|
799
852
|
var pathParams = {
|
|
800
853
|
'id': id,
|
|
801
854
|
'function': _function
|
|
@@ -810,9 +863,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
810
863
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
811
864
|
var contentTypes = ['application/json'];
|
|
812
865
|
var accepts = ['application/json'];
|
|
813
|
-
var returnType =
|
|
866
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
814
867
|
return this.apiClient.callApi('/graph/data/object/{id}/function/{function}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
815
868
|
}
|
|
869
|
+
|
|
816
870
|
/**
|
|
817
871
|
* Callback function to receive the result of the follow operation.
|
|
818
872
|
* @callback module:api/GraphObjectsApi~followCallback
|
|
@@ -824,22 +878,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
824
878
|
/**
|
|
825
879
|
* @param {Number} id The id of the object being followed
|
|
826
880
|
* @param {Object} opts Optional parameters
|
|
827
|
-
* @param {String}
|
|
828
|
-
* @param {Number}
|
|
829
|
-
* @param {String}
|
|
881
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
882
|
+
* @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
|
|
883
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
830
884
|
* @param {module:api/GraphObjectsApi~followCallback} callback The callback function, accepting three arguments: error, data, response
|
|
831
885
|
*/
|
|
832
|
-
|
|
833
886
|
}, {
|
|
834
887
|
key: "follow",
|
|
835
888
|
value: function follow(id, opts, callback) {
|
|
836
889
|
opts = opts || {};
|
|
837
|
-
var postBody = null;
|
|
838
|
-
|
|
890
|
+
var postBody = null;
|
|
891
|
+
// verify the required parameter 'id' is set
|
|
839
892
|
if (id === undefined || id === null) {
|
|
840
893
|
throw new Error("Missing the required parameter 'id' when calling follow");
|
|
841
894
|
}
|
|
842
|
-
|
|
843
895
|
var pathParams = {
|
|
844
896
|
'id': id
|
|
845
897
|
};
|
|
@@ -856,6 +908,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
856
908
|
var returnType = null;
|
|
857
909
|
return this.apiClient.callApi('/graph/data/object/{id}/follow', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
858
910
|
}
|
|
911
|
+
|
|
859
912
|
/**
|
|
860
913
|
* Callback function to receive the result of the get7 operation.
|
|
861
914
|
* @callback module:api/GraphObjectsApi~get7Callback
|
|
@@ -867,12 +920,11 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
867
920
|
/**
|
|
868
921
|
* Root for the API
|
|
869
922
|
* @param {Object} opts Optional parameters
|
|
870
|
-
* @param {String}
|
|
871
|
-
* @param {Number}
|
|
872
|
-
* @param {String}
|
|
923
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
924
|
+
* @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
|
|
925
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
873
926
|
* @param {module:api/GraphObjectsApi~get7Callback} callback The callback function, accepting three arguments: error, data, response
|
|
874
927
|
*/
|
|
875
|
-
|
|
876
928
|
}, {
|
|
877
929
|
key: "get7",
|
|
878
930
|
value: function get7(opts, callback) {
|
|
@@ -892,6 +944,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
892
944
|
var returnType = null;
|
|
893
945
|
return this.apiClient.callApi('/graph/data/object', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
894
946
|
}
|
|
947
|
+
|
|
895
948
|
/**
|
|
896
949
|
* Callback function to receive the result of the getActions operation.
|
|
897
950
|
* @callback module:api/GraphObjectsApi~getActionsCallback
|
|
@@ -905,23 +958,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
905
958
|
* Get actions attached to an object
|
|
906
959
|
* @param {Number} id The id of the object that we are retrieving actions on
|
|
907
960
|
* @param {Object} opts Optional parameters
|
|
908
|
-
* @param {String}
|
|
909
|
-
* @param {Number}
|
|
910
|
-
* @param {String}
|
|
961
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
962
|
+
* @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
|
|
963
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
911
964
|
* @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
912
965
|
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
913
966
|
*/
|
|
914
|
-
|
|
915
967
|
}, {
|
|
916
968
|
key: "getActions",
|
|
917
969
|
value: function getActions(id, opts, callback) {
|
|
918
970
|
opts = opts || {};
|
|
919
|
-
var postBody = null;
|
|
920
|
-
|
|
971
|
+
var postBody = null;
|
|
972
|
+
// verify the required parameter 'id' is set
|
|
921
973
|
if (id === undefined || id === null) {
|
|
922
974
|
throw new Error("Missing the required parameter 'id' when calling getActions");
|
|
923
975
|
}
|
|
924
|
-
|
|
925
976
|
var pathParams = {
|
|
926
977
|
'id': id
|
|
927
978
|
};
|
|
@@ -938,6 +989,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
938
989
|
var returnType = [_GraphAction["default"]];
|
|
939
990
|
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
940
991
|
}
|
|
992
|
+
|
|
941
993
|
/**
|
|
942
994
|
* Callback function to receive the result of the getActionsByType operation.
|
|
943
995
|
* @callback module:api/GraphObjectsApi~getActionsByTypeCallback
|
|
@@ -952,28 +1004,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
952
1004
|
* @param {Number} id
|
|
953
1005
|
* @param {Number} actiontypeid
|
|
954
1006
|
* @param {Object} opts Optional parameters
|
|
955
|
-
* @param {String}
|
|
956
|
-
* @param {Number}
|
|
957
|
-
* @param {String}
|
|
1007
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1008
|
+
* @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
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
958
1010
|
* @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
959
1011
|
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
960
1012
|
*/
|
|
961
|
-
|
|
962
1013
|
}, {
|
|
963
1014
|
key: "getActionsByType",
|
|
964
1015
|
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
965
1016
|
opts = opts || {};
|
|
966
|
-
var postBody = null;
|
|
967
|
-
|
|
1017
|
+
var postBody = null;
|
|
1018
|
+
// verify the required parameter 'id' is set
|
|
968
1019
|
if (id === undefined || id === null) {
|
|
969
1020
|
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
|
|
1021
|
+
}
|
|
1022
|
+
// verify the required parameter 'actiontypeid' is set
|
|
973
1023
|
if (actiontypeid === undefined || actiontypeid === null) {
|
|
974
1024
|
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
975
1025
|
}
|
|
976
|
-
|
|
977
1026
|
var pathParams = {
|
|
978
1027
|
'id': id,
|
|
979
1028
|
'actiontypeid': actiontypeid
|
|
@@ -991,6 +1040,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
991
1040
|
var returnType = [_GraphAction["default"]];
|
|
992
1041
|
return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
993
1042
|
}
|
|
1043
|
+
|
|
994
1044
|
/**
|
|
995
1045
|
* Callback function to receive the result of the getAllRelationships operation.
|
|
996
1046
|
* @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
|
|
@@ -1004,23 +1054,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1004
1054
|
* Returns a listing of relationships
|
|
1005
1055
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1006
1056
|
* @param {Object} opts Optional parameters
|
|
1007
|
-
* @param {String}
|
|
1008
|
-
* @param {Number}
|
|
1009
|
-
* @param {String}
|
|
1057
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1058
|
+
* @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
|
|
1059
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1010
1060
|
* @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1011
1061
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1012
1062
|
*/
|
|
1013
|
-
|
|
1014
1063
|
}, {
|
|
1015
1064
|
key: "getAllRelationships",
|
|
1016
1065
|
value: function getAllRelationships(id, opts, callback) {
|
|
1017
1066
|
opts = opts || {};
|
|
1018
|
-
var postBody = null;
|
|
1019
|
-
|
|
1067
|
+
var postBody = null;
|
|
1068
|
+
// verify the required parameter 'id' is set
|
|
1020
1069
|
if (id === undefined || id === null) {
|
|
1021
1070
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
1022
1071
|
}
|
|
1023
|
-
|
|
1024
1072
|
var pathParams = {
|
|
1025
1073
|
'id': id
|
|
1026
1074
|
};
|
|
@@ -1037,6 +1085,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1037
1085
|
var returnType = [_GraphRelationship["default"]];
|
|
1038
1086
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1039
1087
|
}
|
|
1088
|
+
|
|
1040
1089
|
/**
|
|
1041
1090
|
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
1042
1091
|
* @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
|
|
@@ -1051,28 +1100,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1051
1100
|
* @param {Number} id The id of the relationship type we are searching for
|
|
1052
1101
|
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
1053
1102
|
* @param {Object} opts Optional parameters
|
|
1054
|
-
* @param {String}
|
|
1055
|
-
* @param {Number}
|
|
1056
|
-
* @param {String}
|
|
1103
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1104
|
+
* @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
|
|
1105
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1057
1106
|
* @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1058
1107
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1059
1108
|
*/
|
|
1060
|
-
|
|
1061
1109
|
}, {
|
|
1062
1110
|
key: "getAllRelationshipsByType",
|
|
1063
1111
|
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
1064
1112
|
opts = opts || {};
|
|
1065
|
-
var postBody = null;
|
|
1066
|
-
|
|
1113
|
+
var postBody = null;
|
|
1114
|
+
// verify the required parameter 'id' is set
|
|
1067
1115
|
if (id === undefined || id === null) {
|
|
1068
1116
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
|
|
1117
|
+
}
|
|
1118
|
+
// verify the required parameter 'reltypeid' is set
|
|
1072
1119
|
if (reltypeid === undefined || reltypeid === null) {
|
|
1073
1120
|
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
1074
1121
|
}
|
|
1075
|
-
|
|
1076
1122
|
var pathParams = {
|
|
1077
1123
|
'id': id,
|
|
1078
1124
|
'reltypeid': reltypeid
|
|
@@ -1090,6 +1136,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1090
1136
|
var returnType = [_GraphRelationship["default"]];
|
|
1091
1137
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1092
1138
|
}
|
|
1139
|
+
|
|
1093
1140
|
/**
|
|
1094
1141
|
* Callback function to receive the result of the getComments operation.
|
|
1095
1142
|
* @callback module:api/GraphObjectsApi~getCommentsCallback
|
|
@@ -1101,23 +1148,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1101
1148
|
/**
|
|
1102
1149
|
* @param {Number} objectid
|
|
1103
1150
|
* @param {Object} opts Optional parameters
|
|
1104
|
-
* @param {String}
|
|
1105
|
-
* @param {Number}
|
|
1106
|
-
* @param {String}
|
|
1151
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1152
|
+
* @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
|
|
1153
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1107
1154
|
* @param {module:api/GraphObjectsApi~getCommentsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1108
1155
|
* data is of type: {@link Array.<module:model/Comment>}
|
|
1109
1156
|
*/
|
|
1110
|
-
|
|
1111
1157
|
}, {
|
|
1112
1158
|
key: "getComments",
|
|
1113
1159
|
value: function getComments(objectid, opts, callback) {
|
|
1114
1160
|
opts = opts || {};
|
|
1115
|
-
var postBody = null;
|
|
1116
|
-
|
|
1161
|
+
var postBody = null;
|
|
1162
|
+
// verify the required parameter 'objectid' is set
|
|
1117
1163
|
if (objectid === undefined || objectid === null) {
|
|
1118
1164
|
throw new Error("Missing the required parameter 'objectid' when calling getComments");
|
|
1119
1165
|
}
|
|
1120
|
-
|
|
1121
1166
|
var pathParams = {
|
|
1122
1167
|
'objectid': objectid
|
|
1123
1168
|
};
|
|
@@ -1134,6 +1179,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1134
1179
|
var returnType = [_Comment["default"]];
|
|
1135
1180
|
return this.apiClient.callApi('/graph/data/object/{objectid}/comments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1136
1181
|
}
|
|
1182
|
+
|
|
1137
1183
|
/**
|
|
1138
1184
|
* Callback function to receive the result of the getDataSheetImports operation.
|
|
1139
1185
|
* @callback module:api/GraphObjectsApi~getDataSheetImportsCallback
|
|
@@ -1147,23 +1193,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1147
1193
|
* Get Related Objects
|
|
1148
1194
|
* @param {Number} objectid The id of the object we are importing the datasheet to
|
|
1149
1195
|
* @param {Object} opts Optional parameters
|
|
1150
|
-
* @param {String}
|
|
1151
|
-
* @param {Number}
|
|
1152
|
-
* @param {String}
|
|
1196
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1197
|
+
* @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
|
|
1198
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1153
1199
|
* @param {module:api/GraphObjectsApi~getDataSheetImportsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1154
1200
|
* data is of type: {@link Array.<module:model/DataSheetImport>}
|
|
1155
1201
|
*/
|
|
1156
|
-
|
|
1157
1202
|
}, {
|
|
1158
1203
|
key: "getDataSheetImports",
|
|
1159
1204
|
value: function getDataSheetImports(objectid, opts, callback) {
|
|
1160
1205
|
opts = opts || {};
|
|
1161
|
-
var postBody = null;
|
|
1162
|
-
|
|
1206
|
+
var postBody = null;
|
|
1207
|
+
// verify the required parameter 'objectid' is set
|
|
1163
1208
|
if (objectid === undefined || objectid === null) {
|
|
1164
1209
|
throw new Error("Missing the required parameter 'objectid' when calling getDataSheetImports");
|
|
1165
1210
|
}
|
|
1166
|
-
|
|
1167
1211
|
var pathParams = {
|
|
1168
1212
|
'objectid': objectid
|
|
1169
1213
|
};
|
|
@@ -1180,6 +1224,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1180
1224
|
var returnType = [_DataSheetImport["default"]];
|
|
1181
1225
|
return this.apiClient.callApi('/graph/data/object/{objectid}/datasheetimports', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1182
1226
|
}
|
|
1227
|
+
|
|
1183
1228
|
/**
|
|
1184
1229
|
* Callback function to receive the result of the getEvents operation.
|
|
1185
1230
|
* @callback module:api/GraphObjectsApi~getEventsCallback
|
|
@@ -1193,23 +1238,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1193
1238
|
* Returns a listing of meeting events contained in or attached to this object
|
|
1194
1239
|
* @param {Number} id The id of the object that we are retrieving events for
|
|
1195
1240
|
* @param {Object} opts Optional parameters
|
|
1196
|
-
* @param {String}
|
|
1197
|
-
* @param {Number}
|
|
1198
|
-
* @param {String}
|
|
1241
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1242
|
+
* @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
|
|
1243
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1199
1244
|
* @param {module:api/GraphObjectsApi~getEventsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1200
1245
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1201
1246
|
*/
|
|
1202
|
-
|
|
1203
1247
|
}, {
|
|
1204
1248
|
key: "getEvents",
|
|
1205
1249
|
value: function getEvents(id, opts, callback) {
|
|
1206
1250
|
opts = opts || {};
|
|
1207
|
-
var postBody = null;
|
|
1208
|
-
|
|
1251
|
+
var postBody = null;
|
|
1252
|
+
// verify the required parameter 'id' is set
|
|
1209
1253
|
if (id === undefined || id === null) {
|
|
1210
1254
|
throw new Error("Missing the required parameter 'id' when calling getEvents");
|
|
1211
1255
|
}
|
|
1212
|
-
|
|
1213
1256
|
var pathParams = {
|
|
1214
1257
|
'id': id
|
|
1215
1258
|
};
|
|
@@ -1226,6 +1269,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1226
1269
|
var returnType = [_MeetingEvent["default"]];
|
|
1227
1270
|
return this.apiClient.callApi('/graph/data/object/{id}/events', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1228
1271
|
}
|
|
1272
|
+
|
|
1229
1273
|
/**
|
|
1230
1274
|
* Callback function to receive the result of the getEventsDateRange operation.
|
|
1231
1275
|
* @callback module:api/GraphObjectsApi~getEventsDateRangeCallback
|
|
@@ -1241,33 +1285,29 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1241
1285
|
* @param {Number} startdate The unix epoch time for the start time of the event
|
|
1242
1286
|
* @param {Number} enddate The unix epoch time for the end time of the event
|
|
1243
1287
|
* @param {Object} opts Optional parameters
|
|
1244
|
-
* @param {String}
|
|
1245
|
-
* @param {Number}
|
|
1246
|
-
* @param {String}
|
|
1288
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1289
|
+
* @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
|
|
1290
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1247
1291
|
* @param {module:api/GraphObjectsApi~getEventsDateRangeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1248
1292
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1249
1293
|
*/
|
|
1250
|
-
|
|
1251
1294
|
}, {
|
|
1252
1295
|
key: "getEventsDateRange",
|
|
1253
1296
|
value: function getEventsDateRange(id, startdate, enddate, opts, callback) {
|
|
1254
1297
|
opts = opts || {};
|
|
1255
|
-
var postBody = null;
|
|
1256
|
-
|
|
1298
|
+
var postBody = null;
|
|
1299
|
+
// verify the required parameter 'id' is set
|
|
1257
1300
|
if (id === undefined || id === null) {
|
|
1258
1301
|
throw new Error("Missing the required parameter 'id' when calling getEventsDateRange");
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
|
|
1302
|
+
}
|
|
1303
|
+
// verify the required parameter 'startdate' is set
|
|
1262
1304
|
if (startdate === undefined || startdate === null) {
|
|
1263
1305
|
throw new Error("Missing the required parameter 'startdate' when calling getEventsDateRange");
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
|
|
1306
|
+
}
|
|
1307
|
+
// verify the required parameter 'enddate' is set
|
|
1267
1308
|
if (enddate === undefined || enddate === null) {
|
|
1268
1309
|
throw new Error("Missing the required parameter 'enddate' when calling getEventsDateRange");
|
|
1269
1310
|
}
|
|
1270
|
-
|
|
1271
1311
|
var pathParams = {
|
|
1272
1312
|
'id': id,
|
|
1273
1313
|
'startdate': startdate,
|
|
@@ -1286,6 +1326,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1286
1326
|
var returnType = [_MeetingEvent["default"]];
|
|
1287
1327
|
return this.apiClient.callApi('/graph/data/object/{id}/events/{startdate}:{enddate}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1288
1328
|
}
|
|
1329
|
+
|
|
1289
1330
|
/**
|
|
1290
1331
|
* Callback function to receive the result of the getEventsFuture operation.
|
|
1291
1332
|
* @callback module:api/GraphObjectsApi~getEventsFutureCallback
|
|
@@ -1299,23 +1340,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1299
1340
|
* Returns a listing of future meeting events contained in or attached to this object
|
|
1300
1341
|
* @param {Number} id The id of the object that we are retrieving events for
|
|
1301
1342
|
* @param {Object} opts Optional parameters
|
|
1302
|
-
* @param {String}
|
|
1303
|
-
* @param {Number}
|
|
1304
|
-
* @param {String}
|
|
1343
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1344
|
+
* @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
|
|
1345
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1305
1346
|
* @param {module:api/GraphObjectsApi~getEventsFutureCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1306
1347
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1307
1348
|
*/
|
|
1308
|
-
|
|
1309
1349
|
}, {
|
|
1310
1350
|
key: "getEventsFuture",
|
|
1311
1351
|
value: function getEventsFuture(id, opts, callback) {
|
|
1312
1352
|
opts = opts || {};
|
|
1313
|
-
var postBody = null;
|
|
1314
|
-
|
|
1353
|
+
var postBody = null;
|
|
1354
|
+
// verify the required parameter 'id' is set
|
|
1315
1355
|
if (id === undefined || id === null) {
|
|
1316
1356
|
throw new Error("Missing the required parameter 'id' when calling getEventsFuture");
|
|
1317
1357
|
}
|
|
1318
|
-
|
|
1319
1358
|
var pathParams = {
|
|
1320
1359
|
'id': id
|
|
1321
1360
|
};
|
|
@@ -1332,6 +1371,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1332
1371
|
var returnType = [_MeetingEvent["default"]];
|
|
1333
1372
|
return this.apiClient.callApi('/graph/data/object/{id}/events/future', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1334
1373
|
}
|
|
1374
|
+
|
|
1335
1375
|
/**
|
|
1336
1376
|
* Callback function to receive the result of the getEventsPast operation.
|
|
1337
1377
|
* @callback module:api/GraphObjectsApi~getEventsPastCallback
|
|
@@ -1345,23 +1385,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1345
1385
|
* Returns a listing of past meeting events contained in or attached to this object
|
|
1346
1386
|
* @param {Number} id The id of the object that we are retrieving events for
|
|
1347
1387
|
* @param {Object} opts Optional parameters
|
|
1348
|
-
* @param {String}
|
|
1349
|
-
* @param {Number}
|
|
1350
|
-
* @param {String}
|
|
1388
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1389
|
+
* @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
|
|
1390
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1351
1391
|
* @param {module:api/GraphObjectsApi~getEventsPastCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1352
1392
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1353
1393
|
*/
|
|
1354
|
-
|
|
1355
1394
|
}, {
|
|
1356
1395
|
key: "getEventsPast",
|
|
1357
1396
|
value: function getEventsPast(id, opts, callback) {
|
|
1358
1397
|
opts = opts || {};
|
|
1359
|
-
var postBody = null;
|
|
1360
|
-
|
|
1398
|
+
var postBody = null;
|
|
1399
|
+
// verify the required parameter 'id' is set
|
|
1361
1400
|
if (id === undefined || id === null) {
|
|
1362
1401
|
throw new Error("Missing the required parameter 'id' when calling getEventsPast");
|
|
1363
1402
|
}
|
|
1364
|
-
|
|
1365
1403
|
var pathParams = {
|
|
1366
1404
|
'id': id
|
|
1367
1405
|
};
|
|
@@ -1378,6 +1416,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1378
1416
|
var returnType = [_MeetingEvent["default"]];
|
|
1379
1417
|
return this.apiClient.callApi('/graph/data/object/{id}/events/past', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1380
1418
|
}
|
|
1419
|
+
|
|
1381
1420
|
/**
|
|
1382
1421
|
* Callback function to receive the result of the getFiles operation.
|
|
1383
1422
|
* @callback module:api/GraphObjectsApi~getFilesCallback
|
|
@@ -1389,23 +1428,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1389
1428
|
/**
|
|
1390
1429
|
* @param {Number} id
|
|
1391
1430
|
* @param {Object} opts Optional parameters
|
|
1392
|
-
* @param {String}
|
|
1393
|
-
* @param {Number}
|
|
1394
|
-
* @param {String}
|
|
1431
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1432
|
+
* @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
|
|
1433
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1395
1434
|
* @param {module:api/GraphObjectsApi~getFilesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1396
1435
|
* data is of type: {@link Array.<File>}
|
|
1397
1436
|
*/
|
|
1398
|
-
|
|
1399
1437
|
}, {
|
|
1400
1438
|
key: "getFiles",
|
|
1401
1439
|
value: function getFiles(id, opts, callback) {
|
|
1402
1440
|
opts = opts || {};
|
|
1403
|
-
var postBody = null;
|
|
1404
|
-
|
|
1441
|
+
var postBody = null;
|
|
1442
|
+
// verify the required parameter 'id' is set
|
|
1405
1443
|
if (id === undefined || id === null) {
|
|
1406
1444
|
throw new Error("Missing the required parameter 'id' when calling getFiles");
|
|
1407
1445
|
}
|
|
1408
|
-
|
|
1409
1446
|
var pathParams = {
|
|
1410
1447
|
'id': id
|
|
1411
1448
|
};
|
|
@@ -1422,6 +1459,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1422
1459
|
var returnType = [File];
|
|
1423
1460
|
return this.apiClient.callApi('/graph/data/object/{id}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1424
1461
|
}
|
|
1462
|
+
|
|
1425
1463
|
/**
|
|
1426
1464
|
* Callback function to receive the result of the getGeocodes operation.
|
|
1427
1465
|
* @callback module:api/GraphObjectsApi~getGeocodesCallback
|
|
@@ -1433,23 +1471,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1433
1471
|
/**
|
|
1434
1472
|
* @param {Number} id The id of the object to retrieve the geolocation information
|
|
1435
1473
|
* @param {Object} opts Optional parameters
|
|
1436
|
-
* @param {String}
|
|
1437
|
-
* @param {Number}
|
|
1438
|
-
* @param {String}
|
|
1474
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1475
|
+
* @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
|
|
1476
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1439
1477
|
* @param {module:api/GraphObjectsApi~getGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1440
1478
|
* data is of type: {@link Array.<module:model/GraphGeocode>}
|
|
1441
1479
|
*/
|
|
1442
|
-
|
|
1443
1480
|
}, {
|
|
1444
1481
|
key: "getGeocodes",
|
|
1445
1482
|
value: function getGeocodes(id, opts, callback) {
|
|
1446
1483
|
opts = opts || {};
|
|
1447
|
-
var postBody = null;
|
|
1448
|
-
|
|
1484
|
+
var postBody = null;
|
|
1485
|
+
// verify the required parameter 'id' is set
|
|
1449
1486
|
if (id === undefined || id === null) {
|
|
1450
1487
|
throw new Error("Missing the required parameter 'id' when calling getGeocodes");
|
|
1451
1488
|
}
|
|
1452
|
-
|
|
1453
1489
|
var pathParams = {
|
|
1454
1490
|
'id': id
|
|
1455
1491
|
};
|
|
@@ -1466,6 +1502,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1466
1502
|
var returnType = [_GraphGeocode["default"]];
|
|
1467
1503
|
return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1468
1504
|
}
|
|
1505
|
+
|
|
1469
1506
|
/**
|
|
1470
1507
|
* Callback function to receive the result of the getGraphs operation.
|
|
1471
1508
|
* @callback module:api/GraphObjectsApi~getGraphsCallback
|
|
@@ -1477,23 +1514,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1477
1514
|
/**
|
|
1478
1515
|
* @param {Number} id The id of the object whose graphs we are retrieving
|
|
1479
1516
|
* @param {Object} opts Optional parameters
|
|
1480
|
-
* @param {String}
|
|
1481
|
-
* @param {Number}
|
|
1482
|
-
* @param {String}
|
|
1517
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1518
|
+
* @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
|
|
1519
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1483
1520
|
* @param {module:api/GraphObjectsApi~getGraphsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1484
1521
|
* data is of type: {@link Array.<module:model/Graph>}
|
|
1485
1522
|
*/
|
|
1486
|
-
|
|
1487
1523
|
}, {
|
|
1488
1524
|
key: "getGraphs",
|
|
1489
1525
|
value: function getGraphs(id, opts, callback) {
|
|
1490
1526
|
opts = opts || {};
|
|
1491
|
-
var postBody = null;
|
|
1492
|
-
|
|
1527
|
+
var postBody = null;
|
|
1528
|
+
// verify the required parameter 'id' is set
|
|
1493
1529
|
if (id === undefined || id === null) {
|
|
1494
1530
|
throw new Error("Missing the required parameter 'id' when calling getGraphs");
|
|
1495
1531
|
}
|
|
1496
|
-
|
|
1497
1532
|
var pathParams = {
|
|
1498
1533
|
'id': id
|
|
1499
1534
|
};
|
|
@@ -1510,6 +1545,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1510
1545
|
var returnType = [_Graph["default"]];
|
|
1511
1546
|
return this.apiClient.callApi('/graph/data/object/{id}/graphs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1512
1547
|
}
|
|
1548
|
+
|
|
1513
1549
|
/**
|
|
1514
1550
|
* Callback function to receive the result of the getImages operation.
|
|
1515
1551
|
* @callback module:api/GraphObjectsApi~getImagesCallback
|
|
@@ -1521,23 +1557,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1521
1557
|
/**
|
|
1522
1558
|
* @param {Number} id
|
|
1523
1559
|
* @param {Object} opts Optional parameters
|
|
1524
|
-
* @param {String}
|
|
1525
|
-
* @param {Number}
|
|
1526
|
-
* @param {String}
|
|
1560
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1561
|
+
* @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
|
|
1562
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1527
1563
|
* @param {module:api/GraphObjectsApi~getImagesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1528
1564
|
* data is of type: {@link Array.<module:model/Image>}
|
|
1529
1565
|
*/
|
|
1530
|
-
|
|
1531
1566
|
}, {
|
|
1532
1567
|
key: "getImages",
|
|
1533
1568
|
value: function getImages(id, opts, callback) {
|
|
1534
1569
|
opts = opts || {};
|
|
1535
|
-
var postBody = null;
|
|
1536
|
-
|
|
1570
|
+
var postBody = null;
|
|
1571
|
+
// verify the required parameter 'id' is set
|
|
1537
1572
|
if (id === undefined || id === null) {
|
|
1538
1573
|
throw new Error("Missing the required parameter 'id' when calling getImages");
|
|
1539
1574
|
}
|
|
1540
|
-
|
|
1541
1575
|
var pathParams = {
|
|
1542
1576
|
'id': id
|
|
1543
1577
|
};
|
|
@@ -1554,34 +1588,33 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1554
1588
|
var returnType = [_Image["default"]];
|
|
1555
1589
|
return this.apiClient.callApi('/graph/data/object/{id}/images', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1556
1590
|
}
|
|
1591
|
+
|
|
1557
1592
|
/**
|
|
1558
1593
|
* Callback function to receive the result of the getNewsfeed operation.
|
|
1559
1594
|
* @callback module:api/GraphObjectsApi~getNewsfeedCallback
|
|
1560
1595
|
* @param {String} error Error message, if any.
|
|
1561
|
-
* @param {module:model/
|
|
1596
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1562
1597
|
* @param {String} response The complete HTTP response.
|
|
1563
1598
|
*/
|
|
1564
1599
|
|
|
1565
1600
|
/**
|
|
1566
1601
|
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
1567
1602
|
* @param {Object} opts Optional parameters
|
|
1568
|
-
* @param {String}
|
|
1569
|
-
* @param {Number}
|
|
1570
|
-
* @param {String}
|
|
1603
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1604
|
+
* @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
|
|
1605
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1571
1606
|
* @param {module:api/GraphObjectsApi~getNewsfeedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1572
|
-
* data is of type: {@link module:model/
|
|
1607
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1573
1608
|
*/
|
|
1574
|
-
|
|
1575
1609
|
}, {
|
|
1576
1610
|
key: "getNewsfeed",
|
|
1577
1611
|
value: function getNewsfeed(id, opts, callback) {
|
|
1578
1612
|
opts = opts || {};
|
|
1579
|
-
var postBody = null;
|
|
1580
|
-
|
|
1613
|
+
var postBody = null;
|
|
1614
|
+
// verify the required parameter 'id' is set
|
|
1581
1615
|
if (id === undefined || id === null) {
|
|
1582
1616
|
throw new Error("Missing the required parameter 'id' when calling getNewsfeed");
|
|
1583
1617
|
}
|
|
1584
|
-
|
|
1585
1618
|
var pathParams = {
|
|
1586
1619
|
'id': id
|
|
1587
1620
|
};
|
|
@@ -1595,14 +1628,15 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1595
1628
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1596
1629
|
var contentTypes = [];
|
|
1597
1630
|
var accepts = ['application/json'];
|
|
1598
|
-
var returnType =
|
|
1631
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1599
1632
|
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1600
1633
|
}
|
|
1634
|
+
|
|
1601
1635
|
/**
|
|
1602
1636
|
* Callback function to receive the result of the getNewsfeedIndexed operation.
|
|
1603
1637
|
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedCallback
|
|
1604
1638
|
* @param {String} error Error message, if any.
|
|
1605
|
-
* @param {module:model/
|
|
1639
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1606
1640
|
* @param {String} response The complete HTTP response.
|
|
1607
1641
|
*/
|
|
1608
1642
|
|
|
@@ -1611,33 +1645,29 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1611
1645
|
* @param {Number} start
|
|
1612
1646
|
* @param {Number} end
|
|
1613
1647
|
* @param {Object} opts Optional parameters
|
|
1614
|
-
* @param {String}
|
|
1615
|
-
* @param {Number}
|
|
1616
|
-
* @param {String}
|
|
1648
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1649
|
+
* @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
|
|
1650
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1617
1651
|
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1618
|
-
* data is of type: {@link module:model/
|
|
1652
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1619
1653
|
*/
|
|
1620
|
-
|
|
1621
1654
|
}, {
|
|
1622
1655
|
key: "getNewsfeedIndexed",
|
|
1623
1656
|
value: function getNewsfeedIndexed(id, start, end, opts, callback) {
|
|
1624
1657
|
opts = opts || {};
|
|
1625
|
-
var postBody = null;
|
|
1626
|
-
|
|
1658
|
+
var postBody = null;
|
|
1659
|
+
// verify the required parameter 'id' is set
|
|
1627
1660
|
if (id === undefined || id === null) {
|
|
1628
1661
|
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexed");
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
|
|
1662
|
+
}
|
|
1663
|
+
// verify the required parameter 'start' is set
|
|
1632
1664
|
if (start === undefined || start === null) {
|
|
1633
1665
|
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexed");
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
|
|
1666
|
+
}
|
|
1667
|
+
// verify the required parameter 'end' is set
|
|
1637
1668
|
if (end === undefined || end === null) {
|
|
1638
1669
|
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexed");
|
|
1639
1670
|
}
|
|
1640
|
-
|
|
1641
1671
|
var pathParams = {
|
|
1642
1672
|
'id': id,
|
|
1643
1673
|
'start': start,
|
|
@@ -1653,14 +1683,15 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1653
1683
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1654
1684
|
var contentTypes = [];
|
|
1655
1685
|
var accepts = ['application/json'];
|
|
1656
|
-
var returnType =
|
|
1686
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1657
1687
|
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}-{end}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1658
1688
|
}
|
|
1689
|
+
|
|
1659
1690
|
/**
|
|
1660
1691
|
* Callback function to receive the result of the getNewsfeedIndexedStart operation.
|
|
1661
1692
|
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback
|
|
1662
1693
|
* @param {String} error Error message, if any.
|
|
1663
|
-
* @param {module:model/
|
|
1694
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1664
1695
|
* @param {String} response The complete HTTP response.
|
|
1665
1696
|
*/
|
|
1666
1697
|
|
|
@@ -1669,33 +1700,29 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1669
1700
|
* @param {Number} start
|
|
1670
1701
|
* @param {Number} end
|
|
1671
1702
|
* @param {Object} opts Optional parameters
|
|
1672
|
-
* @param {String}
|
|
1673
|
-
* @param {Number}
|
|
1674
|
-
* @param {String}
|
|
1703
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1704
|
+
* @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
|
|
1705
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1675
1706
|
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1676
|
-
* data is of type: {@link module:model/
|
|
1707
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1677
1708
|
*/
|
|
1678
|
-
|
|
1679
1709
|
}, {
|
|
1680
1710
|
key: "getNewsfeedIndexedStart",
|
|
1681
1711
|
value: function getNewsfeedIndexedStart(id, start, end, opts, callback) {
|
|
1682
1712
|
opts = opts || {};
|
|
1683
|
-
var postBody = null;
|
|
1684
|
-
|
|
1713
|
+
var postBody = null;
|
|
1714
|
+
// verify the required parameter 'id' is set
|
|
1685
1715
|
if (id === undefined || id === null) {
|
|
1686
1716
|
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexedStart");
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
|
-
|
|
1717
|
+
}
|
|
1718
|
+
// verify the required parameter 'start' is set
|
|
1690
1719
|
if (start === undefined || start === null) {
|
|
1691
1720
|
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexedStart");
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
|
|
1721
|
+
}
|
|
1722
|
+
// verify the required parameter 'end' is set
|
|
1695
1723
|
if (end === undefined || end === null) {
|
|
1696
1724
|
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexedStart");
|
|
1697
1725
|
}
|
|
1698
|
-
|
|
1699
1726
|
var pathParams = {
|
|
1700
1727
|
'id': id,
|
|
1701
1728
|
'start': start,
|
|
@@ -1711,9 +1738,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1711
1738
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1712
1739
|
var contentTypes = [];
|
|
1713
1740
|
var accepts = ['application/json'];
|
|
1714
|
-
var returnType =
|
|
1741
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1715
1742
|
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1716
1743
|
}
|
|
1744
|
+
|
|
1717
1745
|
/**
|
|
1718
1746
|
* Callback function to receive the result of the getObjectById operation.
|
|
1719
1747
|
* @callback module:api/GraphObjectsApi~getObjectByIdCallback
|
|
@@ -1726,23 +1754,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1726
1754
|
* Gets object by id
|
|
1727
1755
|
* @param {Number} id The id of the object that we are retreiving
|
|
1728
1756
|
* @param {Object} opts Optional parameters
|
|
1729
|
-
* @param {String}
|
|
1730
|
-
* @param {Number}
|
|
1731
|
-
* @param {String}
|
|
1757
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1758
|
+
* @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
|
|
1759
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1732
1760
|
* @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1733
1761
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1734
1762
|
*/
|
|
1735
|
-
|
|
1736
1763
|
}, {
|
|
1737
1764
|
key: "getObjectById",
|
|
1738
1765
|
value: function getObjectById(id, opts, callback) {
|
|
1739
1766
|
opts = opts || {};
|
|
1740
|
-
var postBody = null;
|
|
1741
|
-
|
|
1767
|
+
var postBody = null;
|
|
1768
|
+
// verify the required parameter 'id' is set
|
|
1742
1769
|
if (id === undefined || id === null) {
|
|
1743
1770
|
throw new Error("Missing the required parameter 'id' when calling getObjectById");
|
|
1744
1771
|
}
|
|
1745
|
-
|
|
1746
1772
|
var pathParams = {
|
|
1747
1773
|
'id': id
|
|
1748
1774
|
};
|
|
@@ -1759,6 +1785,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1759
1785
|
var returnType = _GraphObjectSchema["default"];
|
|
1760
1786
|
return this.apiClient.callApi('/graph/data/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1761
1787
|
}
|
|
1788
|
+
|
|
1762
1789
|
/**
|
|
1763
1790
|
* Callback function to receive the result of the getObjectByKey operation.
|
|
1764
1791
|
* @callback module:api/GraphObjectsApi~getObjectByKeyCallback
|
|
@@ -1772,23 +1799,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1772
1799
|
* Get An Object By it's key identifier
|
|
1773
1800
|
* @param {String} key The unique key of the object we are retrieving
|
|
1774
1801
|
* @param {Object} opts Optional parameters
|
|
1775
|
-
* @param {String}
|
|
1776
|
-
* @param {Number}
|
|
1777
|
-
* @param {String}
|
|
1802
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1803
|
+
* @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
|
|
1804
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1778
1805
|
* @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1779
1806
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1780
1807
|
*/
|
|
1781
|
-
|
|
1782
1808
|
}, {
|
|
1783
1809
|
key: "getObjectByKey",
|
|
1784
1810
|
value: function getObjectByKey(key, opts, callback) {
|
|
1785
1811
|
opts = opts || {};
|
|
1786
|
-
var postBody = null;
|
|
1787
|
-
|
|
1812
|
+
var postBody = null;
|
|
1813
|
+
// verify the required parameter 'key' is set
|
|
1788
1814
|
if (key === undefined || key === null) {
|
|
1789
1815
|
throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
|
|
1790
1816
|
}
|
|
1791
|
-
|
|
1792
1817
|
var pathParams = {
|
|
1793
1818
|
'key': key
|
|
1794
1819
|
};
|
|
@@ -1805,6 +1830,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1805
1830
|
var returnType = _GraphObjectSchema["default"];
|
|
1806
1831
|
return this.apiClient.callApi('/graph/data/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1807
1832
|
}
|
|
1833
|
+
|
|
1808
1834
|
/**
|
|
1809
1835
|
* Callback function to receive the result of the getObjectFromSchema operation.
|
|
1810
1836
|
* @callback module:api/GraphObjectsApi~getObjectFromSchemaCallback
|
|
@@ -1818,23 +1844,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1818
1844
|
* Get the object representation of the Graph Schema
|
|
1819
1845
|
* @param {String} schemakey The unique id of the graph schema we are retrieving
|
|
1820
1846
|
* @param {Object} opts Optional parameters
|
|
1821
|
-
* @param {String}
|
|
1822
|
-
* @param {Number}
|
|
1823
|
-
* @param {String}
|
|
1847
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1848
|
+
* @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
|
|
1849
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1824
1850
|
* @param {module:api/GraphObjectsApi~getObjectFromSchemaCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1825
1851
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1826
1852
|
*/
|
|
1827
|
-
|
|
1828
1853
|
}, {
|
|
1829
1854
|
key: "getObjectFromSchema",
|
|
1830
1855
|
value: function getObjectFromSchema(schemakey, opts, callback) {
|
|
1831
1856
|
opts = opts || {};
|
|
1832
|
-
var postBody = null;
|
|
1833
|
-
|
|
1857
|
+
var postBody = null;
|
|
1858
|
+
// verify the required parameter 'schemakey' is set
|
|
1834
1859
|
if (schemakey === undefined || schemakey === null) {
|
|
1835
1860
|
throw new Error("Missing the required parameter 'schemakey' when calling getObjectFromSchema");
|
|
1836
1861
|
}
|
|
1837
|
-
|
|
1838
1862
|
var pathParams = {
|
|
1839
1863
|
'schemakey': schemakey
|
|
1840
1864
|
};
|
|
@@ -1851,11 +1875,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1851
1875
|
var returnType = _GraphObjectSchema["default"];
|
|
1852
1876
|
return this.apiClient.callApi('/graph/data/object/schema/{schemakey}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1853
1877
|
}
|
|
1878
|
+
|
|
1854
1879
|
/**
|
|
1855
1880
|
* Callback function to receive the result of the getObjectProperties operation.
|
|
1856
1881
|
* @callback module:api/GraphObjectsApi~getObjectPropertiesCallback
|
|
1857
1882
|
* @param {String} error Error message, if any.
|
|
1858
|
-
* @param {Object.<String, module:model/{String:
|
|
1883
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
1859
1884
|
* @param {String} response The complete HTTP response.
|
|
1860
1885
|
*/
|
|
1861
1886
|
|
|
@@ -1864,23 +1889,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1864
1889
|
* Get all properties attached to an object
|
|
1865
1890
|
* @param {Number} id The id of the object whose properties we are retrieve
|
|
1866
1891
|
* @param {Object} opts Optional parameters
|
|
1867
|
-
* @param {String}
|
|
1868
|
-
* @param {Number}
|
|
1869
|
-
* @param {String}
|
|
1892
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1893
|
+
* @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
|
|
1894
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1870
1895
|
* @param {module:api/GraphObjectsApi~getObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1871
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
1896
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
1872
1897
|
*/
|
|
1873
|
-
|
|
1874
1898
|
}, {
|
|
1875
1899
|
key: "getObjectProperties",
|
|
1876
1900
|
value: function getObjectProperties(id, opts, callback) {
|
|
1877
1901
|
opts = opts || {};
|
|
1878
|
-
var postBody = null;
|
|
1879
|
-
|
|
1902
|
+
var postBody = null;
|
|
1903
|
+
// verify the required parameter 'id' is set
|
|
1880
1904
|
if (id === undefined || id === null) {
|
|
1881
1905
|
throw new Error("Missing the required parameter 'id' when calling getObjectProperties");
|
|
1882
1906
|
}
|
|
1883
|
-
|
|
1884
1907
|
var pathParams = {
|
|
1885
1908
|
'id': id
|
|
1886
1909
|
};
|
|
@@ -1895,15 +1918,16 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1895
1918
|
var contentTypes = [];
|
|
1896
1919
|
var accepts = ['application/json'];
|
|
1897
1920
|
var returnType = {
|
|
1898
|
-
'String':
|
|
1921
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
1899
1922
|
};
|
|
1900
1923
|
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1901
1924
|
}
|
|
1925
|
+
|
|
1902
1926
|
/**
|
|
1903
1927
|
* Callback function to receive the result of the getObjectProperty operation.
|
|
1904
1928
|
* @callback module:api/GraphObjectsApi~getObjectPropertyCallback
|
|
1905
1929
|
* @param {String} error Error message, if any.
|
|
1906
|
-
* @param {Object.<String, module:model/{String:
|
|
1930
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
1907
1931
|
* @param {String} response The complete HTTP response.
|
|
1908
1932
|
*/
|
|
1909
1933
|
|
|
@@ -1913,28 +1937,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1913
1937
|
* @param {Number} id The id of the object whose properties we are retrieve
|
|
1914
1938
|
* @param {String} prop The property is retrieving
|
|
1915
1939
|
* @param {Object} opts Optional parameters
|
|
1916
|
-
* @param {String}
|
|
1917
|
-
* @param {Number}
|
|
1918
|
-
* @param {String}
|
|
1940
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1941
|
+
* @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
|
|
1942
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1919
1943
|
* @param {module:api/GraphObjectsApi~getObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1920
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
1944
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
1921
1945
|
*/
|
|
1922
|
-
|
|
1923
1946
|
}, {
|
|
1924
1947
|
key: "getObjectProperty",
|
|
1925
1948
|
value: function getObjectProperty(id, prop, opts, callback) {
|
|
1926
1949
|
opts = opts || {};
|
|
1927
|
-
var postBody = null;
|
|
1928
|
-
|
|
1950
|
+
var postBody = null;
|
|
1951
|
+
// verify the required parameter 'id' is set
|
|
1929
1952
|
if (id === undefined || id === null) {
|
|
1930
1953
|
throw new Error("Missing the required parameter 'id' when calling getObjectProperty");
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
|
|
1954
|
+
}
|
|
1955
|
+
// verify the required parameter 'prop' is set
|
|
1934
1956
|
if (prop === undefined || prop === null) {
|
|
1935
1957
|
throw new Error("Missing the required parameter 'prop' when calling getObjectProperty");
|
|
1936
1958
|
}
|
|
1937
|
-
|
|
1938
1959
|
var pathParams = {
|
|
1939
1960
|
'id': id,
|
|
1940
1961
|
'prop': prop
|
|
@@ -1950,10 +1971,11 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1950
1971
|
var contentTypes = [];
|
|
1951
1972
|
var accepts = ['application/json'];
|
|
1952
1973
|
var returnType = {
|
|
1953
|
-
'String':
|
|
1974
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
1954
1975
|
};
|
|
1955
1976
|
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1956
1977
|
}
|
|
1978
|
+
|
|
1957
1979
|
/**
|
|
1958
1980
|
* Callback function to receive the result of the getObjectsInGraph operation.
|
|
1959
1981
|
* @callback module:api/GraphObjectsApi~getObjectsInGraphCallback
|
|
@@ -1966,23 +1988,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1966
1988
|
* Get objects in the graph
|
|
1967
1989
|
* @param {Number} id
|
|
1968
1990
|
* @param {Object} opts Optional parameters
|
|
1969
|
-
* @param {String}
|
|
1970
|
-
* @param {Number}
|
|
1971
|
-
* @param {String}
|
|
1991
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1992
|
+
* @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
|
|
1993
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1972
1994
|
* @param {module:api/GraphObjectsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1973
1995
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
1974
1996
|
*/
|
|
1975
|
-
|
|
1976
1997
|
}, {
|
|
1977
1998
|
key: "getObjectsInGraph",
|
|
1978
1999
|
value: function getObjectsInGraph(id, opts, callback) {
|
|
1979
2000
|
opts = opts || {};
|
|
1980
|
-
var postBody = null;
|
|
1981
|
-
|
|
2001
|
+
var postBody = null;
|
|
2002
|
+
// verify the required parameter 'id' is set
|
|
1982
2003
|
if (id === undefined || id === null) {
|
|
1983
2004
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
|
|
1984
2005
|
}
|
|
1985
|
-
|
|
1986
2006
|
var pathParams = {
|
|
1987
2007
|
'id': id
|
|
1988
2008
|
};
|
|
@@ -1999,6 +2019,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1999
2019
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2000
2020
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2001
2021
|
}
|
|
2022
|
+
|
|
2002
2023
|
/**
|
|
2003
2024
|
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
2004
2025
|
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTagCallback
|
|
@@ -2012,28 +2033,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2012
2033
|
* @param {Number} id
|
|
2013
2034
|
* @param {String} tag
|
|
2014
2035
|
* @param {Object} opts Optional parameters
|
|
2015
|
-
* @param {String}
|
|
2016
|
-
* @param {Number}
|
|
2017
|
-
* @param {String}
|
|
2036
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2037
|
+
* @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
|
|
2038
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2018
2039
|
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2019
2040
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2020
2041
|
*/
|
|
2021
|
-
|
|
2022
2042
|
}, {
|
|
2023
2043
|
key: "getObjectsInGraphByTag",
|
|
2024
2044
|
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
2025
2045
|
opts = opts || {};
|
|
2026
|
-
var postBody = null;
|
|
2027
|
-
|
|
2046
|
+
var postBody = null;
|
|
2047
|
+
// verify the required parameter 'id' is set
|
|
2028
2048
|
if (id === undefined || id === null) {
|
|
2029
2049
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
|
|
2050
|
+
}
|
|
2051
|
+
// verify the required parameter 'tag' is set
|
|
2033
2052
|
if (tag === undefined || tag === null) {
|
|
2034
2053
|
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
2035
2054
|
}
|
|
2036
|
-
|
|
2037
2055
|
var pathParams = {
|
|
2038
2056
|
'id': id,
|
|
2039
2057
|
'tag': tag
|
|
@@ -2049,8 +2067,9 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2049
2067
|
var contentTypes = [];
|
|
2050
2068
|
var accepts = ['application/json'];
|
|
2051
2069
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2052
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/objects/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2070
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2053
2071
|
}
|
|
2072
|
+
|
|
2054
2073
|
/**
|
|
2055
2074
|
* Callback function to receive the result of the getObjectsInGraphByType operation.
|
|
2056
2075
|
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback
|
|
@@ -2064,28 +2083,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2064
2083
|
* @param {Number} id
|
|
2065
2084
|
* @param {String} type
|
|
2066
2085
|
* @param {Object} opts Optional parameters
|
|
2067
|
-
* @param {String}
|
|
2068
|
-
* @param {Number}
|
|
2069
|
-
* @param {String}
|
|
2086
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2087
|
+
* @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
|
|
2088
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2070
2089
|
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2071
2090
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2072
2091
|
*/
|
|
2073
|
-
|
|
2074
2092
|
}, {
|
|
2075
2093
|
key: "getObjectsInGraphByType",
|
|
2076
2094
|
value: function getObjectsInGraphByType(id, type, opts, callback) {
|
|
2077
2095
|
opts = opts || {};
|
|
2078
|
-
var postBody = null;
|
|
2079
|
-
|
|
2096
|
+
var postBody = null;
|
|
2097
|
+
// verify the required parameter 'id' is set
|
|
2080
2098
|
if (id === undefined || id === null) {
|
|
2081
2099
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
|
|
2100
|
+
}
|
|
2101
|
+
// verify the required parameter 'type' is set
|
|
2085
2102
|
if (type === undefined || type === null) {
|
|
2086
2103
|
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
2087
2104
|
}
|
|
2088
|
-
|
|
2089
2105
|
var pathParams = {
|
|
2090
2106
|
'id': id,
|
|
2091
2107
|
'type': type
|
|
@@ -2101,8 +2117,9 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2101
2117
|
var contentTypes = [];
|
|
2102
2118
|
var accepts = ['application/json'];
|
|
2103
2119
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2104
|
-
return this.apiClient.callApi('/graph/data/graph/{id}/objects
|
|
2120
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2105
2121
|
}
|
|
2122
|
+
|
|
2106
2123
|
/**
|
|
2107
2124
|
* Callback function to receive the result of the getRelatedObjects operation.
|
|
2108
2125
|
* @callback module:api/GraphObjectsApi~getRelatedObjectsCallback
|
|
@@ -2117,28 +2134,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2117
2134
|
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2118
2135
|
* @param {Number} reltypeid The relationship type id
|
|
2119
2136
|
* @param {Object} opts Optional parameters
|
|
2120
|
-
* @param {String}
|
|
2121
|
-
* @param {Number}
|
|
2122
|
-
* @param {String}
|
|
2137
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2138
|
+
* @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
|
|
2139
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2123
2140
|
* @param {module:api/GraphObjectsApi~getRelatedObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2124
2141
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2125
2142
|
*/
|
|
2126
|
-
|
|
2127
2143
|
}, {
|
|
2128
2144
|
key: "getRelatedObjects",
|
|
2129
2145
|
value: function getRelatedObjects(objectid, reltypeid, opts, callback) {
|
|
2130
2146
|
opts = opts || {};
|
|
2131
|
-
var postBody = null;
|
|
2132
|
-
|
|
2147
|
+
var postBody = null;
|
|
2148
|
+
// verify the required parameter 'objectid' is set
|
|
2133
2149
|
if (objectid === undefined || objectid === null) {
|
|
2134
2150
|
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjects");
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
|
-
|
|
2151
|
+
}
|
|
2152
|
+
// verify the required parameter 'reltypeid' is set
|
|
2138
2153
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2139
2154
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjects");
|
|
2140
2155
|
}
|
|
2141
|
-
|
|
2142
2156
|
var pathParams = {
|
|
2143
2157
|
'objectid': objectid,
|
|
2144
2158
|
'reltypeid': reltypeid
|
|
@@ -2156,6 +2170,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2156
2170
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2157
2171
|
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2158
2172
|
}
|
|
2173
|
+
|
|
2159
2174
|
/**
|
|
2160
2175
|
* Callback function to receive the result of the getRelatedObjectsIn operation.
|
|
2161
2176
|
* @callback module:api/GraphObjectsApi~getRelatedObjectsInCallback
|
|
@@ -2170,28 +2185,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2170
2185
|
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2171
2186
|
* @param {Number} reltypeid The relationship type id
|
|
2172
2187
|
* @param {Object} opts Optional parameters
|
|
2173
|
-
* @param {String}
|
|
2174
|
-
* @param {Number}
|
|
2175
|
-
* @param {String}
|
|
2188
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2189
|
+
* @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
|
|
2190
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2176
2191
|
* @param {module:api/GraphObjectsApi~getRelatedObjectsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2177
2192
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2178
2193
|
*/
|
|
2179
|
-
|
|
2180
2194
|
}, {
|
|
2181
2195
|
key: "getRelatedObjectsIn",
|
|
2182
2196
|
value: function getRelatedObjectsIn(objectid, reltypeid, opts, callback) {
|
|
2183
2197
|
opts = opts || {};
|
|
2184
|
-
var postBody = null;
|
|
2185
|
-
|
|
2198
|
+
var postBody = null;
|
|
2199
|
+
// verify the required parameter 'objectid' is set
|
|
2186
2200
|
if (objectid === undefined || objectid === null) {
|
|
2187
2201
|
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsIn");
|
|
2188
|
-
}
|
|
2189
|
-
|
|
2190
|
-
|
|
2202
|
+
}
|
|
2203
|
+
// verify the required parameter 'reltypeid' is set
|
|
2191
2204
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2192
2205
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsIn");
|
|
2193
2206
|
}
|
|
2194
|
-
|
|
2195
2207
|
var pathParams = {
|
|
2196
2208
|
'objectid': objectid,
|
|
2197
2209
|
'reltypeid': reltypeid
|
|
@@ -2209,6 +2221,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2209
2221
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2210
2222
|
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2211
2223
|
}
|
|
2224
|
+
|
|
2212
2225
|
/**
|
|
2213
2226
|
* Callback function to receive the result of the getRelatedObjectsOut operation.
|
|
2214
2227
|
* @callback module:api/GraphObjectsApi~getRelatedObjectsOutCallback
|
|
@@ -2223,28 +2236,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2223
2236
|
* @param {Number} objectid The id of the object that we are retrieving the related objects from
|
|
2224
2237
|
* @param {Number} reltypeid The relationship type id
|
|
2225
2238
|
* @param {Object} opts Optional parameters
|
|
2226
|
-
* @param {String}
|
|
2227
|
-
* @param {Number}
|
|
2228
|
-
* @param {String}
|
|
2239
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2240
|
+
* @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
|
|
2241
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2229
2242
|
* @param {module:api/GraphObjectsApi~getRelatedObjectsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2230
2243
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2231
2244
|
*/
|
|
2232
|
-
|
|
2233
2245
|
}, {
|
|
2234
2246
|
key: "getRelatedObjectsOut",
|
|
2235
2247
|
value: function getRelatedObjectsOut(objectid, reltypeid, opts, callback) {
|
|
2236
2248
|
opts = opts || {};
|
|
2237
|
-
var postBody = null;
|
|
2238
|
-
|
|
2249
|
+
var postBody = null;
|
|
2250
|
+
// verify the required parameter 'objectid' is set
|
|
2239
2251
|
if (objectid === undefined || objectid === null) {
|
|
2240
2252
|
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsOut");
|
|
2241
|
-
}
|
|
2242
|
-
|
|
2243
|
-
|
|
2253
|
+
}
|
|
2254
|
+
// verify the required parameter 'reltypeid' is set
|
|
2244
2255
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2245
2256
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsOut");
|
|
2246
2257
|
}
|
|
2247
|
-
|
|
2248
2258
|
var pathParams = {
|
|
2249
2259
|
'objectid': objectid,
|
|
2250
2260
|
'reltypeid': reltypeid
|
|
@@ -2262,6 +2272,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2262
2272
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2263
2273
|
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2264
2274
|
}
|
|
2275
|
+
|
|
2265
2276
|
/**
|
|
2266
2277
|
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
2267
2278
|
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
|
|
@@ -2276,28 +2287,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2276
2287
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2277
2288
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2278
2289
|
* @param {Object} opts Optional parameters
|
|
2279
|
-
* @param {String}
|
|
2280
|
-
* @param {Number}
|
|
2281
|
-
* @param {String}
|
|
2290
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2291
|
+
* @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
|
|
2292
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2282
2293
|
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2283
2294
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2284
2295
|
*/
|
|
2285
|
-
|
|
2286
2296
|
}, {
|
|
2287
2297
|
key: "getRelationshipsByTypeIn",
|
|
2288
2298
|
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
2289
2299
|
opts = opts || {};
|
|
2290
|
-
var postBody = null;
|
|
2291
|
-
|
|
2300
|
+
var postBody = null;
|
|
2301
|
+
// verify the required parameter 'id' is set
|
|
2292
2302
|
if (id === undefined || id === null) {
|
|
2293
2303
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
2294
|
-
}
|
|
2295
|
-
|
|
2296
|
-
|
|
2304
|
+
}
|
|
2305
|
+
// verify the required parameter 'reltypeid' is set
|
|
2297
2306
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2298
2307
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
2299
2308
|
}
|
|
2300
|
-
|
|
2301
2309
|
var pathParams = {
|
|
2302
2310
|
'id': id,
|
|
2303
2311
|
'reltypeid': reltypeid
|
|
@@ -2315,6 +2323,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2315
2323
|
var returnType = [_GraphRelationship["default"]];
|
|
2316
2324
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2317
2325
|
}
|
|
2326
|
+
|
|
2318
2327
|
/**
|
|
2319
2328
|
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
2320
2329
|
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
|
|
@@ -2329,28 +2338,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2329
2338
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2330
2339
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2331
2340
|
* @param {Object} opts Optional parameters
|
|
2332
|
-
* @param {String}
|
|
2333
|
-
* @param {Number}
|
|
2334
|
-
* @param {String}
|
|
2341
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2342
|
+
* @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
|
|
2343
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2335
2344
|
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2336
2345
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2337
2346
|
*/
|
|
2338
|
-
|
|
2339
2347
|
}, {
|
|
2340
2348
|
key: "getRelationshipsByTypeOut",
|
|
2341
2349
|
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
2342
2350
|
opts = opts || {};
|
|
2343
|
-
var postBody = null;
|
|
2344
|
-
|
|
2351
|
+
var postBody = null;
|
|
2352
|
+
// verify the required parameter 'id' is set
|
|
2345
2353
|
if (id === undefined || id === null) {
|
|
2346
2354
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
|
|
2355
|
+
}
|
|
2356
|
+
// verify the required parameter 'reltypeid' is set
|
|
2350
2357
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2351
2358
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
2352
2359
|
}
|
|
2353
|
-
|
|
2354
2360
|
var pathParams = {
|
|
2355
2361
|
'id': id,
|
|
2356
2362
|
'reltypeid': reltypeid
|
|
@@ -2368,6 +2374,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2368
2374
|
var returnType = [_GraphRelationship["default"]];
|
|
2369
2375
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2370
2376
|
}
|
|
2377
|
+
|
|
2371
2378
|
/**
|
|
2372
2379
|
* Callback function to receive the result of the getRelationshipsIn operation.
|
|
2373
2380
|
* @callback module:api/GraphObjectsApi~getRelationshipsInCallback
|
|
@@ -2381,23 +2388,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2381
2388
|
* Returns a listing of relationships
|
|
2382
2389
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2383
2390
|
* @param {Object} opts Optional parameters
|
|
2384
|
-
* @param {String}
|
|
2385
|
-
* @param {Number}
|
|
2386
|
-
* @param {String}
|
|
2391
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2392
|
+
* @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
|
|
2393
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2387
2394
|
* @param {module:api/GraphObjectsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2388
2395
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2389
2396
|
*/
|
|
2390
|
-
|
|
2391
2397
|
}, {
|
|
2392
2398
|
key: "getRelationshipsIn",
|
|
2393
2399
|
value: function getRelationshipsIn(id, opts, callback) {
|
|
2394
2400
|
opts = opts || {};
|
|
2395
|
-
var postBody = null;
|
|
2396
|
-
|
|
2401
|
+
var postBody = null;
|
|
2402
|
+
// verify the required parameter 'id' is set
|
|
2397
2403
|
if (id === undefined || id === null) {
|
|
2398
2404
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
2399
2405
|
}
|
|
2400
|
-
|
|
2401
2406
|
var pathParams = {
|
|
2402
2407
|
'id': id
|
|
2403
2408
|
};
|
|
@@ -2414,6 +2419,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2414
2419
|
var returnType = [_GraphRelationship["default"]];
|
|
2415
2420
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2416
2421
|
}
|
|
2422
|
+
|
|
2417
2423
|
/**
|
|
2418
2424
|
* Callback function to receive the result of the getRelationshipsOut operation.
|
|
2419
2425
|
* @callback module:api/GraphObjectsApi~getRelationshipsOutCallback
|
|
@@ -2427,23 +2433,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2427
2433
|
* Returns a listing of relationships
|
|
2428
2434
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2429
2435
|
* @param {Object} opts Optional parameters
|
|
2430
|
-
* @param {String}
|
|
2431
|
-
* @param {Number}
|
|
2432
|
-
* @param {String}
|
|
2436
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2437
|
+
* @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
|
|
2438
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2433
2439
|
* @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2434
2440
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2435
2441
|
*/
|
|
2436
|
-
|
|
2437
2442
|
}, {
|
|
2438
2443
|
key: "getRelationshipsOut",
|
|
2439
2444
|
value: function getRelationshipsOut(id, opts, callback) {
|
|
2440
2445
|
opts = opts || {};
|
|
2441
|
-
var postBody = null;
|
|
2442
|
-
|
|
2446
|
+
var postBody = null;
|
|
2447
|
+
// verify the required parameter 'id' is set
|
|
2443
2448
|
if (id === undefined || id === null) {
|
|
2444
2449
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
2445
2450
|
}
|
|
2446
|
-
|
|
2447
2451
|
var pathParams = {
|
|
2448
2452
|
'id': id
|
|
2449
2453
|
};
|
|
@@ -2460,34 +2464,33 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2460
2464
|
var returnType = [_GraphRelationship["default"]];
|
|
2461
2465
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2462
2466
|
}
|
|
2467
|
+
|
|
2463
2468
|
/**
|
|
2464
2469
|
* Callback function to receive the result of the getTags operation.
|
|
2465
2470
|
* @callback module:api/GraphObjectsApi~getTagsCallback
|
|
2466
2471
|
* @param {String} error Error message, if any.
|
|
2467
|
-
* @param {module:model/
|
|
2472
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2468
2473
|
* @param {String} response The complete HTTP response.
|
|
2469
2474
|
*/
|
|
2470
2475
|
|
|
2471
2476
|
/**
|
|
2472
2477
|
* @param {Number} id
|
|
2473
2478
|
* @param {Object} opts Optional parameters
|
|
2474
|
-
* @param {String}
|
|
2475
|
-
* @param {Number}
|
|
2476
|
-
* @param {String}
|
|
2479
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2480
|
+
* @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
|
|
2481
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2477
2482
|
* @param {module:api/GraphObjectsApi~getTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2478
|
-
* data is of type: {@link module:model/
|
|
2483
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2479
2484
|
*/
|
|
2480
|
-
|
|
2481
2485
|
}, {
|
|
2482
2486
|
key: "getTags",
|
|
2483
2487
|
value: function getTags(id, opts, callback) {
|
|
2484
2488
|
opts = opts || {};
|
|
2485
|
-
var postBody = null;
|
|
2486
|
-
|
|
2489
|
+
var postBody = null;
|
|
2490
|
+
// verify the required parameter 'id' is set
|
|
2487
2491
|
if (id === undefined || id === null) {
|
|
2488
2492
|
throw new Error("Missing the required parameter 'id' when calling getTags");
|
|
2489
2493
|
}
|
|
2490
|
-
|
|
2491
2494
|
var pathParams = {
|
|
2492
2495
|
'id': id
|
|
2493
2496
|
};
|
|
@@ -2501,9 +2504,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2501
2504
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2502
2505
|
var contentTypes = [];
|
|
2503
2506
|
var accepts = ['application/json'];
|
|
2504
|
-
var returnType =
|
|
2507
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
2505
2508
|
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2506
2509
|
}
|
|
2510
|
+
|
|
2507
2511
|
/**
|
|
2508
2512
|
* Callback function to receive the result of the getUserTags operation.
|
|
2509
2513
|
* @callback module:api/GraphObjectsApi~getUserTagsCallback
|
|
@@ -2515,23 +2519,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2515
2519
|
/**
|
|
2516
2520
|
* @param {Number} id
|
|
2517
2521
|
* @param {Object} opts Optional parameters
|
|
2518
|
-
* @param {String}
|
|
2519
|
-
* @param {Number}
|
|
2520
|
-
* @param {String}
|
|
2522
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2523
|
+
* @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
|
|
2524
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2521
2525
|
* @param {module:api/GraphObjectsApi~getUserTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2522
2526
|
* data is of type: {@link Array.<String>}
|
|
2523
2527
|
*/
|
|
2524
|
-
|
|
2525
2528
|
}, {
|
|
2526
2529
|
key: "getUserTags",
|
|
2527
2530
|
value: function getUserTags(id, opts, callback) {
|
|
2528
2531
|
opts = opts || {};
|
|
2529
|
-
var postBody = null;
|
|
2530
|
-
|
|
2532
|
+
var postBody = null;
|
|
2533
|
+
// verify the required parameter 'id' is set
|
|
2531
2534
|
if (id === undefined || id === null) {
|
|
2532
2535
|
throw new Error("Missing the required parameter 'id' when calling getUserTags");
|
|
2533
2536
|
}
|
|
2534
|
-
|
|
2535
2537
|
var pathParams = {
|
|
2536
2538
|
'id': id
|
|
2537
2539
|
};
|
|
@@ -2548,6 +2550,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2548
2550
|
var returnType = ['String'];
|
|
2549
2551
|
return this.apiClient.callApi('/graph/data/object/{id}/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2550
2552
|
}
|
|
2553
|
+
|
|
2551
2554
|
/**
|
|
2552
2555
|
* Callback function to receive the result of the getVideos operation.
|
|
2553
2556
|
* @callback module:api/GraphObjectsApi~getVideosCallback
|
|
@@ -2559,23 +2562,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2559
2562
|
/**
|
|
2560
2563
|
* @param {Number} id
|
|
2561
2564
|
* @param {Object} opts Optional parameters
|
|
2562
|
-
* @param {String}
|
|
2563
|
-
* @param {Number}
|
|
2564
|
-
* @param {String}
|
|
2565
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2566
|
+
* @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
|
|
2567
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2565
2568
|
* @param {module:api/GraphObjectsApi~getVideosCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2566
2569
|
* data is of type: {@link Array.<module:model/Video>}
|
|
2567
2570
|
*/
|
|
2568
|
-
|
|
2569
2571
|
}, {
|
|
2570
2572
|
key: "getVideos",
|
|
2571
2573
|
value: function getVideos(id, opts, callback) {
|
|
2572
2574
|
opts = opts || {};
|
|
2573
|
-
var postBody = null;
|
|
2574
|
-
|
|
2575
|
+
var postBody = null;
|
|
2576
|
+
// verify the required parameter 'id' is set
|
|
2575
2577
|
if (id === undefined || id === null) {
|
|
2576
2578
|
throw new Error("Missing the required parameter 'id' when calling getVideos");
|
|
2577
2579
|
}
|
|
2578
|
-
|
|
2579
2580
|
var pathParams = {
|
|
2580
2581
|
'id': id
|
|
2581
2582
|
};
|
|
@@ -2592,6 +2593,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2592
2593
|
var returnType = [_Video["default"]];
|
|
2593
2594
|
return this.apiClient.callApi('/graph/data/object/{id}/videos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2594
2595
|
}
|
|
2596
|
+
|
|
2595
2597
|
/**
|
|
2596
2598
|
* Callback function to receive the result of the isDisliked operation.
|
|
2597
2599
|
* @callback module:api/GraphObjectsApi~isDislikedCallback
|
|
@@ -2605,23 +2607,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2605
2607
|
* Checks if the user has disliked the object
|
|
2606
2608
|
* @param {Number} objectid
|
|
2607
2609
|
* @param {Object} opts Optional parameters
|
|
2608
|
-
* @param {String}
|
|
2609
|
-
* @param {Number}
|
|
2610
|
-
* @param {String}
|
|
2610
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2611
|
+
* @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
|
|
2612
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2611
2613
|
* @param {module:api/GraphObjectsApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2612
2614
|
* data is of type: {@link Boolean}
|
|
2613
2615
|
*/
|
|
2614
|
-
|
|
2615
2616
|
}, {
|
|
2616
2617
|
key: "isDisliked",
|
|
2617
2618
|
value: function isDisliked(objectid, opts, callback) {
|
|
2618
2619
|
opts = opts || {};
|
|
2619
|
-
var postBody = null;
|
|
2620
|
-
|
|
2620
|
+
var postBody = null;
|
|
2621
|
+
// verify the required parameter 'objectid' is set
|
|
2621
2622
|
if (objectid === undefined || objectid === null) {
|
|
2622
2623
|
throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
|
|
2623
2624
|
}
|
|
2624
|
-
|
|
2625
2625
|
var pathParams = {
|
|
2626
2626
|
'objectid': objectid
|
|
2627
2627
|
};
|
|
@@ -2638,6 +2638,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2638
2638
|
var returnType = 'Boolean';
|
|
2639
2639
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2640
2640
|
}
|
|
2641
|
+
|
|
2641
2642
|
/**
|
|
2642
2643
|
* Callback function to receive the result of the isLiked operation.
|
|
2643
2644
|
* @callback module:api/GraphObjectsApi~isLikedCallback
|
|
@@ -2651,23 +2652,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2651
2652
|
* Checks if the user has liked the object
|
|
2652
2653
|
* @param {Number} objectid
|
|
2653
2654
|
* @param {Object} opts Optional parameters
|
|
2654
|
-
* @param {String}
|
|
2655
|
-
* @param {Number}
|
|
2656
|
-
* @param {String}
|
|
2655
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2656
|
+
* @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
|
|
2657
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2657
2658
|
* @param {module:api/GraphObjectsApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2658
2659
|
* data is of type: {@link Boolean}
|
|
2659
2660
|
*/
|
|
2660
|
-
|
|
2661
2661
|
}, {
|
|
2662
2662
|
key: "isLiked",
|
|
2663
2663
|
value: function isLiked(objectid, opts, callback) {
|
|
2664
2664
|
opts = opts || {};
|
|
2665
|
-
var postBody = null;
|
|
2666
|
-
|
|
2665
|
+
var postBody = null;
|
|
2666
|
+
// verify the required parameter 'objectid' is set
|
|
2667
2667
|
if (objectid === undefined || objectid === null) {
|
|
2668
2668
|
throw new Error("Missing the required parameter 'objectid' when calling isLiked");
|
|
2669
2669
|
}
|
|
2670
|
-
|
|
2671
2670
|
var pathParams = {
|
|
2672
2671
|
'objectid': objectid
|
|
2673
2672
|
};
|
|
@@ -2684,6 +2683,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2684
2683
|
var returnType = 'Boolean';
|
|
2685
2684
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2686
2685
|
}
|
|
2686
|
+
|
|
2687
2687
|
/**
|
|
2688
2688
|
* Callback function to receive the result of the like operation.
|
|
2689
2689
|
* @callback module:api/GraphObjectsApi~likeCallback
|
|
@@ -2697,22 +2697,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2697
2697
|
* Likes an object
|
|
2698
2698
|
* @param {Number} objectid
|
|
2699
2699
|
* @param {Object} opts Optional parameters
|
|
2700
|
-
* @param {String}
|
|
2701
|
-
* @param {Number}
|
|
2702
|
-
* @param {String}
|
|
2700
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2701
|
+
* @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
|
|
2702
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2703
2703
|
* @param {module:api/GraphObjectsApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2704
2704
|
*/
|
|
2705
|
-
|
|
2706
2705
|
}, {
|
|
2707
2706
|
key: "like",
|
|
2708
2707
|
value: function like(objectid, opts, callback) {
|
|
2709
2708
|
opts = opts || {};
|
|
2710
|
-
var postBody = null;
|
|
2711
|
-
|
|
2709
|
+
var postBody = null;
|
|
2710
|
+
// verify the required parameter 'objectid' is set
|
|
2712
2711
|
if (objectid === undefined || objectid === null) {
|
|
2713
2712
|
throw new Error("Missing the required parameter 'objectid' when calling like");
|
|
2714
2713
|
}
|
|
2715
|
-
|
|
2716
2714
|
var pathParams = {
|
|
2717
2715
|
'objectid': objectid
|
|
2718
2716
|
};
|
|
@@ -2729,6 +2727,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2729
2727
|
var returnType = null;
|
|
2730
2728
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2731
2729
|
}
|
|
2730
|
+
|
|
2732
2731
|
/**
|
|
2733
2732
|
* Callback function to receive the result of the setObjectProperties operation.
|
|
2734
2733
|
* @callback module:api/GraphObjectsApi~setObjectPropertiesCallback
|
|
@@ -2741,29 +2740,26 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2741
2740
|
* Set Multiple Properties
|
|
2742
2741
|
* Set multiple properties attaced to an object / record
|
|
2743
2742
|
* @param {Number} id The id of the object whose properties we are updating
|
|
2744
|
-
* @param {Object.<String, {String:
|
|
2743
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} requestBody The properties and values to set on the object
|
|
2745
2744
|
* @param {Object} opts Optional parameters
|
|
2746
|
-
* @param {String}
|
|
2747
|
-
* @param {Number}
|
|
2748
|
-
* @param {String}
|
|
2745
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2746
|
+
* @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
|
|
2747
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2749
2748
|
* @param {module:api/GraphObjectsApi~setObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2750
2749
|
*/
|
|
2751
|
-
|
|
2752
2750
|
}, {
|
|
2753
2751
|
key: "setObjectProperties",
|
|
2754
2752
|
value: function setObjectProperties(id, requestBody, opts, callback) {
|
|
2755
2753
|
opts = opts || {};
|
|
2756
|
-
var postBody = requestBody;
|
|
2757
|
-
|
|
2754
|
+
var postBody = requestBody;
|
|
2755
|
+
// verify the required parameter 'id' is set
|
|
2758
2756
|
if (id === undefined || id === null) {
|
|
2759
2757
|
throw new Error("Missing the required parameter 'id' when calling setObjectProperties");
|
|
2760
|
-
}
|
|
2761
|
-
|
|
2762
|
-
|
|
2758
|
+
}
|
|
2759
|
+
// verify the required parameter 'requestBody' is set
|
|
2763
2760
|
if (requestBody === undefined || requestBody === null) {
|
|
2764
2761
|
throw new Error("Missing the required parameter 'requestBody' when calling setObjectProperties");
|
|
2765
2762
|
}
|
|
2766
|
-
|
|
2767
2763
|
var pathParams = {
|
|
2768
2764
|
'id': id
|
|
2769
2765
|
};
|
|
@@ -2780,6 +2776,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2780
2776
|
var returnType = null;
|
|
2781
2777
|
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2782
2778
|
}
|
|
2779
|
+
|
|
2783
2780
|
/**
|
|
2784
2781
|
* Callback function to receive the result of the setObjectProperty operation.
|
|
2785
2782
|
* @callback module:api/GraphObjectsApi~setObjectPropertyCallback
|
|
@@ -2794,28 +2791,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2794
2791
|
* @param {Number} id The id of the object whose properties we are updating
|
|
2795
2792
|
* @param {String} prop The property being updated
|
|
2796
2793
|
* @param {Object} opts Optional parameters
|
|
2797
|
-
* @param {String}
|
|
2798
|
-
* @param {Number}
|
|
2799
|
-
* @param {String}
|
|
2800
|
-
* @param {String}
|
|
2794
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2795
|
+
* @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
|
|
2796
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2797
|
+
* @param {String} [body] The value that is being set
|
|
2801
2798
|
* @param {module:api/GraphObjectsApi~setObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2802
2799
|
*/
|
|
2803
|
-
|
|
2804
2800
|
}, {
|
|
2805
2801
|
key: "setObjectProperty",
|
|
2806
2802
|
value: function setObjectProperty(id, prop, opts, callback) {
|
|
2807
2803
|
opts = opts || {};
|
|
2808
|
-
var postBody = opts['body'];
|
|
2809
|
-
|
|
2804
|
+
var postBody = opts['body'];
|
|
2805
|
+
// verify the required parameter 'id' is set
|
|
2810
2806
|
if (id === undefined || id === null) {
|
|
2811
2807
|
throw new Error("Missing the required parameter 'id' when calling setObjectProperty");
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
|
|
2808
|
+
}
|
|
2809
|
+
// verify the required parameter 'prop' is set
|
|
2815
2810
|
if (prop === undefined || prop === null) {
|
|
2816
2811
|
throw new Error("Missing the required parameter 'prop' when calling setObjectProperty");
|
|
2817
2812
|
}
|
|
2818
|
-
|
|
2819
2813
|
var pathParams = {
|
|
2820
2814
|
'id': id,
|
|
2821
2815
|
'prop': prop
|
|
@@ -2833,6 +2827,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2833
2827
|
var returnType = null;
|
|
2834
2828
|
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2835
2829
|
}
|
|
2830
|
+
|
|
2836
2831
|
/**
|
|
2837
2832
|
* Callback function to receive the result of the tagUsers operation.
|
|
2838
2833
|
* @callback module:api/GraphObjectsApi~tagUsersCallback
|
|
@@ -2844,24 +2839,22 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2844
2839
|
/**
|
|
2845
2840
|
* @param {Number} id
|
|
2846
2841
|
* @param {Object} opts Optional parameters
|
|
2847
|
-
* @param {String}
|
|
2848
|
-
* @param {Number}
|
|
2849
|
-
* @param {String}
|
|
2850
|
-
* @param {module:model/
|
|
2842
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2843
|
+
* @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
|
|
2844
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2845
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
2851
2846
|
* @param {module:api/GraphObjectsApi~tagUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2852
2847
|
* data is of type: {@link Array.<module:model/UserTag>}
|
|
2853
2848
|
*/
|
|
2854
|
-
|
|
2855
2849
|
}, {
|
|
2856
2850
|
key: "tagUsers",
|
|
2857
2851
|
value: function tagUsers(id, opts, callback) {
|
|
2858
2852
|
opts = opts || {};
|
|
2859
|
-
var postBody = opts['
|
|
2860
|
-
|
|
2853
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
2854
|
+
// verify the required parameter 'id' is set
|
|
2861
2855
|
if (id === undefined || id === null) {
|
|
2862
2856
|
throw new Error("Missing the required parameter 'id' when calling tagUsers");
|
|
2863
2857
|
}
|
|
2864
|
-
|
|
2865
2858
|
var pathParams = {
|
|
2866
2859
|
'id': id
|
|
2867
2860
|
};
|
|
@@ -2878,11 +2871,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2878
2871
|
var returnType = [_UserTag["default"]];
|
|
2879
2872
|
return this.apiClient.callApi('/graph/data/object/{id}/tagusers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2880
2873
|
}
|
|
2874
|
+
|
|
2881
2875
|
/**
|
|
2882
2876
|
* Callback function to receive the result of the updateObject operation.
|
|
2883
2877
|
* @callback module:api/GraphObjectsApi~updateObjectCallback
|
|
2884
2878
|
* @param {String} error Error message, if any.
|
|
2885
|
-
* @param {module:model/
|
|
2879
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2886
2880
|
* @param {String} response The complete HTTP response.
|
|
2887
2881
|
*/
|
|
2888
2882
|
|
|
@@ -2892,28 +2886,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2892
2886
|
* @param {Number} id The id of the object that we are updating
|
|
2893
2887
|
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject data object to update
|
|
2894
2888
|
* @param {Object} opts Optional parameters
|
|
2895
|
-
* @param {String}
|
|
2896
|
-
* @param {Number}
|
|
2897
|
-
* @param {String}
|
|
2889
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2890
|
+
* @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
|
|
2891
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2898
2892
|
* @param {module:api/GraphObjectsApi~updateObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2899
|
-
* data is of type: {@link module:model/
|
|
2893
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2900
2894
|
*/
|
|
2901
|
-
|
|
2902
2895
|
}, {
|
|
2903
2896
|
key: "updateObject",
|
|
2904
2897
|
value: function updateObject(id, graphObjectPayload, opts, callback) {
|
|
2905
2898
|
opts = opts || {};
|
|
2906
|
-
var postBody = graphObjectPayload;
|
|
2907
|
-
|
|
2899
|
+
var postBody = graphObjectPayload;
|
|
2900
|
+
// verify the required parameter 'id' is set
|
|
2908
2901
|
if (id === undefined || id === null) {
|
|
2909
2902
|
throw new Error("Missing the required parameter 'id' when calling updateObject");
|
|
2910
|
-
}
|
|
2911
|
-
|
|
2912
|
-
|
|
2903
|
+
}
|
|
2904
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
2913
2905
|
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
2914
2906
|
throw new Error("Missing the required parameter 'graphObjectPayload' when calling updateObject");
|
|
2915
2907
|
}
|
|
2916
|
-
|
|
2917
2908
|
var pathParams = {
|
|
2918
2909
|
'id': id
|
|
2919
2910
|
};
|
|
@@ -2927,9 +2918,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2927
2918
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2928
2919
|
var contentTypes = [];
|
|
2929
2920
|
var accepts = ['application/json'];
|
|
2930
|
-
var returnType =
|
|
2921
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
2931
2922
|
return this.apiClient.callApi('/graph/data/object/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2932
2923
|
}
|
|
2924
|
+
|
|
2933
2925
|
/**
|
|
2934
2926
|
* Callback function to receive the result of the updateTags operation.
|
|
2935
2927
|
* @callback module:api/GraphObjectsApi~updateTagsCallback
|
|
@@ -2942,27 +2934,24 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2942
2934
|
* @param {Number} id The id of the object whose tags we are updating
|
|
2943
2935
|
* @param {String} body Conversation object or array of objects to create
|
|
2944
2936
|
* @param {Object} opts Optional parameters
|
|
2945
|
-
* @param {String}
|
|
2946
|
-
* @param {Number}
|
|
2947
|
-
* @param {String}
|
|
2937
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2938
|
+
* @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
|
|
2939
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2948
2940
|
* @param {module:api/GraphObjectsApi~updateTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2949
2941
|
*/
|
|
2950
|
-
|
|
2951
2942
|
}, {
|
|
2952
2943
|
key: "updateTags",
|
|
2953
2944
|
value: function updateTags(id, body, opts, callback) {
|
|
2954
2945
|
opts = opts || {};
|
|
2955
|
-
var postBody = body;
|
|
2956
|
-
|
|
2946
|
+
var postBody = body;
|
|
2947
|
+
// verify the required parameter 'id' is set
|
|
2957
2948
|
if (id === undefined || id === null) {
|
|
2958
2949
|
throw new Error("Missing the required parameter 'id' when calling updateTags");
|
|
2959
|
-
}
|
|
2960
|
-
|
|
2961
|
-
|
|
2950
|
+
}
|
|
2951
|
+
// verify the required parameter 'body' is set
|
|
2962
2952
|
if (body === undefined || body === null) {
|
|
2963
2953
|
throw new Error("Missing the required parameter 'body' when calling updateTags");
|
|
2964
2954
|
}
|
|
2965
|
-
|
|
2966
2955
|
var pathParams = {
|
|
2967
2956
|
'id': id
|
|
2968
2957
|
};
|
|
@@ -2979,6 +2968,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2979
2968
|
var returnType = null;
|
|
2980
2969
|
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2981
2970
|
}
|
|
2971
|
+
|
|
2982
2972
|
/**
|
|
2983
2973
|
* Callback function to receive the result of the view operation.
|
|
2984
2974
|
* @callback module:api/GraphObjectsApi~viewCallback
|
|
@@ -2992,22 +2982,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2992
2982
|
* Marks the object as viewed by the logged in user
|
|
2993
2983
|
* @param {Number} objectid The id of the object being viewed
|
|
2994
2984
|
* @param {Object} opts Optional parameters
|
|
2995
|
-
* @param {String}
|
|
2996
|
-
* @param {Number}
|
|
2997
|
-
* @param {String}
|
|
2985
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2986
|
+
* @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
|
|
2987
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2998
2988
|
* @param {module:api/GraphObjectsApi~viewCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2999
2989
|
*/
|
|
3000
|
-
|
|
3001
2990
|
}, {
|
|
3002
2991
|
key: "view",
|
|
3003
2992
|
value: function view(objectid, opts, callback) {
|
|
3004
2993
|
opts = opts || {};
|
|
3005
|
-
var postBody = null;
|
|
3006
|
-
|
|
2994
|
+
var postBody = null;
|
|
2995
|
+
// verify the required parameter 'objectid' is set
|
|
3007
2996
|
if (objectid === undefined || objectid === null) {
|
|
3008
2997
|
throw new Error("Missing the required parameter 'objectid' when calling view");
|
|
3009
2998
|
}
|
|
3010
|
-
|
|
3011
2999
|
var pathParams = {
|
|
3012
3000
|
'objectid': objectid
|
|
3013
3001
|
};
|
|
@@ -3024,6 +3012,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3024
3012
|
var returnType = null;
|
|
3025
3013
|
return this.apiClient.callApi('/graph/data/object/{objectid}/view', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3026
3014
|
}
|
|
3015
|
+
|
|
3027
3016
|
/**
|
|
3028
3017
|
* Callback function to receive the result of the viewPost operation.
|
|
3029
3018
|
* @callback module:api/GraphObjectsApi~viewPostCallback
|
|
@@ -3037,22 +3026,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3037
3026
|
* Marks the object as viewed by the logged in user
|
|
3038
3027
|
* @param {Number} id The id of the object being viewed
|
|
3039
3028
|
* @param {Object} opts Optional parameters
|
|
3040
|
-
* @param {String}
|
|
3041
|
-
* @param {Number}
|
|
3042
|
-
* @param {String}
|
|
3029
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3030
|
+
* @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
|
|
3031
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3043
3032
|
* @param {module:api/GraphObjectsApi~viewPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3044
3033
|
*/
|
|
3045
|
-
|
|
3046
3034
|
}, {
|
|
3047
3035
|
key: "viewPost",
|
|
3048
3036
|
value: function viewPost(id, opts, callback) {
|
|
3049
3037
|
opts = opts || {};
|
|
3050
|
-
var postBody = null;
|
|
3051
|
-
|
|
3038
|
+
var postBody = null;
|
|
3039
|
+
// verify the required parameter 'id' is set
|
|
3052
3040
|
if (id === undefined || id === null) {
|
|
3053
3041
|
throw new Error("Missing the required parameter 'id' when calling viewPost");
|
|
3054
3042
|
}
|
|
3055
|
-
|
|
3056
3043
|
var pathParams = {
|
|
3057
3044
|
'id': id
|
|
3058
3045
|
};
|
|
@@ -3070,8 +3057,5 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3070
3057
|
return this.apiClient.callApi('/graph/data/object/{id}/view', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3071
3058
|
}
|
|
3072
3059
|
}]);
|
|
3073
|
-
|
|
3074
3060
|
return GraphObjectsApi;
|
|
3075
|
-
}();
|
|
3076
|
-
|
|
3077
|
-
exports["default"] = GraphObjectsApi;
|
|
3061
|
+
}();
|