@gobodo/gobodo-api 0.1.5 → 0.1.7
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 +16 -22
- 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 +508 -612
- package/dist/api/GraphRelationshipTypesApi.js +158 -178
- package/dist/api/GraphRelationshipsApi.js +258 -297
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +98 -114
- 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 +37 -39
- 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 +27 -27
- 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 +61 -41
- package/dist/model/Article.js +109 -88
- 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 +145 -108
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +135 -93
- package/dist/model/DocumentPart.js +116 -71
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +76 -53
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +96 -111
- package/dist/model/File.js +52 -38
- package/dist/model/FileAttachmentUploadObject.js +66 -61
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +107 -42
- 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 -68
- package/dist/model/GraphAction.js +48 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +57 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +75 -51
- package/dist/model/GraphObjectPayload.js +80 -39
- package/dist/model/GraphObjectSchema.js +87 -58
- package/dist/model/GraphObjectType.js +92 -67
- package/dist/model/GraphObjectTypeSchema.js +111 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +49 -39
- package/dist/model/GraphRelationObjectObject.js +49 -39
- package/dist/model/GraphRelationship.js +49 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +99 -71
- package/dist/model/GraphSchema.js +101 -80
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +70 -52
- package/dist/model/ImageUploadObject.js +95 -77
- package/dist/model/InputPart.js +48 -32
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +74 -46
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +103 -70
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +99 -59
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +38 -25
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +105 -64
- package/dist/model/Page.js +55 -42
- package/dist/model/PageSchema.js +71 -57
- 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 +73 -57
- package/dist/model/PrivateMessageConversation.js +92 -55
- 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 +221 -79
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +96 -111
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +66 -42
- 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 +99 -59
- package/dist/model/UserDataPayload.js +99 -59
- 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 +99 -59
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +90 -71
- package/dist/model/VideoLiveUrl.js +40 -22
- package/dist/model/VideoSchema.js +102 -78
- package/dist/model/VideoUploadObject.js +131 -85
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +2 -2
- 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.7
|
|
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.7
|
|
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
114
|
* Callback function to receive the result of the addLiveStream operation.
|
|
134
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}
|
|
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
|
|
148
129
|
* @param {module:api/GraphObjectsApi~addLiveStreamCallback} callback The callback function, accepting three arguments: error, data, response
|
|
149
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
130
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
150
131
|
*/
|
|
151
|
-
|
|
152
132
|
}, {
|
|
153
133
|
key: "addLiveStream",
|
|
154
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
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,7 @@ 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
|
+
|
|
476
455
|
/**
|
|
477
456
|
* Callback function to receive the result of the createObject operation.
|
|
478
457
|
* @callback module:api/GraphObjectsApi~createObjectCallback
|
|
@@ -486,23 +465,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
486
465
|
* Create graph object(s)
|
|
487
466
|
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject object data or array of object data to create
|
|
488
467
|
* @param {Object} opts Optional parameters
|
|
489
|
-
* @param {String}
|
|
490
|
-
* @param {Number}
|
|
491
|
-
* @param {String}
|
|
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
|
|
492
471
|
* @param {module:api/GraphObjectsApi~createObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
493
472
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
494
473
|
*/
|
|
495
|
-
|
|
496
474
|
}, {
|
|
497
475
|
key: "createObject",
|
|
498
476
|
value: function createObject(graphObjectPayload, opts, callback) {
|
|
499
477
|
opts = opts || {};
|
|
500
|
-
var postBody = graphObjectPayload;
|
|
501
|
-
|
|
478
|
+
var postBody = graphObjectPayload;
|
|
479
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
502
480
|
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
503
481
|
throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObject");
|
|
504
482
|
}
|
|
505
|
-
|
|
506
483
|
var pathParams = {};
|
|
507
484
|
var queryParams = {};
|
|
508
485
|
var headerParams = {
|
|
@@ -517,6 +494,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
517
494
|
var returnType = _GraphObjectSchema["default"];
|
|
518
495
|
return this.apiClient.callApi('/graph/data/object', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
519
496
|
}
|
|
497
|
+
|
|
520
498
|
/**
|
|
521
499
|
* Callback function to receive the result of the createObjects operation.
|
|
522
500
|
* @callback module:api/GraphObjectsApi~createObjectsCallback
|
|
@@ -530,23 +508,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
530
508
|
* Create graph object(s)
|
|
531
509
|
* @param {Array.<module:model/GraphObjectPayload>} graphObjectPayload GraphObject object data or array of object data to create
|
|
532
510
|
* @param {Object} opts Optional parameters
|
|
533
|
-
* @param {String}
|
|
534
|
-
* @param {Number}
|
|
535
|
-
* @param {String}
|
|
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
|
|
536
514
|
* @param {module:api/GraphObjectsApi~createObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
537
515
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
538
516
|
*/
|
|
539
|
-
|
|
540
517
|
}, {
|
|
541
518
|
key: "createObjects",
|
|
542
519
|
value: function createObjects(graphObjectPayload, opts, callback) {
|
|
543
520
|
opts = opts || {};
|
|
544
|
-
var postBody = graphObjectPayload;
|
|
545
|
-
|
|
521
|
+
var postBody = graphObjectPayload;
|
|
522
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
546
523
|
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
547
524
|
throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObjects");
|
|
548
525
|
}
|
|
549
|
-
|
|
550
526
|
var pathParams = {};
|
|
551
527
|
var queryParams = {};
|
|
552
528
|
var headerParams = {
|
|
@@ -561,6 +537,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
561
537
|
var returnType = [_GraphObjectSchema["default"]];
|
|
562
538
|
return this.apiClient.callApi('/graph/data/object/createobjects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
563
539
|
}
|
|
540
|
+
|
|
564
541
|
/**
|
|
565
542
|
* Callback function to receive the result of the createRelationship operation.
|
|
566
543
|
* @callback module:api/GraphObjectsApi~createRelationshipCallback
|
|
@@ -575,28 +552,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
575
552
|
* @param {Number} id The id of the object that we are creating relationships on
|
|
576
553
|
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
577
554
|
* @param {Object} opts Optional parameters
|
|
578
|
-
* @param {String}
|
|
579
|
-
* @param {Number}
|
|
580
|
-
* @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
|
|
581
558
|
* @param {module:api/GraphObjectsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
582
559
|
* data is of type: {@link module:model/GraphRelationship}
|
|
583
560
|
*/
|
|
584
|
-
|
|
585
561
|
}, {
|
|
586
562
|
key: "createRelationship",
|
|
587
563
|
value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
|
|
588
564
|
opts = opts || {};
|
|
589
|
-
var postBody = graphRelationshipPayload;
|
|
590
|
-
|
|
565
|
+
var postBody = graphRelationshipPayload;
|
|
566
|
+
// verify the required parameter 'id' is set
|
|
591
567
|
if (id === undefined || id === null) {
|
|
592
568
|
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
|
|
569
|
+
}
|
|
570
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
596
571
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
597
572
|
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
598
573
|
}
|
|
599
|
-
|
|
600
574
|
var pathParams = {
|
|
601
575
|
'id': id
|
|
602
576
|
};
|
|
@@ -613,6 +587,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
613
587
|
var returnType = _GraphRelationship["default"];
|
|
614
588
|
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
615
589
|
}
|
|
590
|
+
|
|
616
591
|
/**
|
|
617
592
|
* Callback function to receive the result of the createRelationships operation.
|
|
618
593
|
* @callback module:api/GraphObjectsApi~createRelationshipsCallback
|
|
@@ -627,28 +602,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
627
602
|
* @param {Number} id The id of the object that we are creating relationships on
|
|
628
603
|
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
629
604
|
* @param {Object} opts Optional parameters
|
|
630
|
-
* @param {String}
|
|
631
|
-
* @param {Number}
|
|
632
|
-
* @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
|
|
633
608
|
* @param {module:api/GraphObjectsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
634
609
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
635
610
|
*/
|
|
636
|
-
|
|
637
611
|
}, {
|
|
638
612
|
key: "createRelationships",
|
|
639
613
|
value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
|
|
640
614
|
opts = opts || {};
|
|
641
|
-
var postBody = graphRelationshipPayload;
|
|
642
|
-
|
|
615
|
+
var postBody = graphRelationshipPayload;
|
|
616
|
+
// verify the required parameter 'id' is set
|
|
643
617
|
if (id === undefined || id === null) {
|
|
644
618
|
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
|
|
619
|
+
}
|
|
620
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
648
621
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
649
622
|
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
650
623
|
}
|
|
651
|
-
|
|
652
624
|
var pathParams = {
|
|
653
625
|
'id': id
|
|
654
626
|
};
|
|
@@ -665,6 +637,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
665
637
|
var returnType = [_GraphRelationship["default"]];
|
|
666
638
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
667
639
|
}
|
|
640
|
+
|
|
668
641
|
/**
|
|
669
642
|
* Callback function to receive the result of the deleteGeocode operation.
|
|
670
643
|
* @callback module:api/GraphObjectsApi~deleteGeocodeCallback
|
|
@@ -677,27 +650,24 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
677
650
|
* @param {Number} id The id of the geocode to delete
|
|
678
651
|
* @param {Number} geocodeid The id of the object whose properties we are updating
|
|
679
652
|
* @param {Object} opts Optional parameters
|
|
680
|
-
* @param {String}
|
|
681
|
-
* @param {Number}
|
|
682
|
-
* @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
|
|
683
656
|
* @param {module:api/GraphObjectsApi~deleteGeocodeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
684
657
|
*/
|
|
685
|
-
|
|
686
658
|
}, {
|
|
687
659
|
key: "deleteGeocode",
|
|
688
660
|
value: function deleteGeocode(id, geocodeid, opts, callback) {
|
|
689
661
|
opts = opts || {};
|
|
690
|
-
var postBody = null;
|
|
691
|
-
|
|
662
|
+
var postBody = null;
|
|
663
|
+
// verify the required parameter 'id' is set
|
|
692
664
|
if (id === undefined || id === null) {
|
|
693
665
|
throw new Error("Missing the required parameter 'id' when calling deleteGeocode");
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
|
|
666
|
+
}
|
|
667
|
+
// verify the required parameter 'geocodeid' is set
|
|
697
668
|
if (geocodeid === undefined || geocodeid === null) {
|
|
698
669
|
throw new Error("Missing the required parameter 'geocodeid' when calling deleteGeocode");
|
|
699
670
|
}
|
|
700
|
-
|
|
701
671
|
var pathParams = {
|
|
702
672
|
'id': id,
|
|
703
673
|
'geocodeid': geocodeid
|
|
@@ -715,6 +685,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
715
685
|
var returnType = null;
|
|
716
686
|
return this.apiClient.callApi('/graph/data/object/{id}/geocode/{geocodeid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
717
687
|
}
|
|
688
|
+
|
|
718
689
|
/**
|
|
719
690
|
* Callback function to receive the result of the deleteLike operation.
|
|
720
691
|
* @callback module:api/GraphObjectsApi~deleteLikeCallback
|
|
@@ -728,22 +699,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
728
699
|
* Delete an individual like
|
|
729
700
|
* @param {Number} objectid
|
|
730
701
|
* @param {Object} opts Optional parameters
|
|
731
|
-
* @param {String}
|
|
732
|
-
* @param {Number}
|
|
733
|
-
* @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
|
|
734
705
|
* @param {module:api/GraphObjectsApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
735
706
|
*/
|
|
736
|
-
|
|
737
707
|
}, {
|
|
738
708
|
key: "deleteLike",
|
|
739
709
|
value: function deleteLike(objectid, opts, callback) {
|
|
740
710
|
opts = opts || {};
|
|
741
|
-
var postBody = null;
|
|
742
|
-
|
|
711
|
+
var postBody = null;
|
|
712
|
+
// verify the required parameter 'objectid' is set
|
|
743
713
|
if (objectid === undefined || objectid === null) {
|
|
744
714
|
throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
|
|
745
715
|
}
|
|
746
|
-
|
|
747
716
|
var pathParams = {
|
|
748
717
|
'objectid': objectid
|
|
749
718
|
};
|
|
@@ -760,6 +729,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
760
729
|
var returnType = null;
|
|
761
730
|
return this.apiClient.callApi('/graph/data/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
762
731
|
}
|
|
732
|
+
|
|
763
733
|
/**
|
|
764
734
|
* Callback function to receive the result of the deleteObject operation.
|
|
765
735
|
* @callback module:api/GraphObjectsApi~deleteObjectCallback
|
|
@@ -772,22 +742,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
772
742
|
* Delete's the object with the id
|
|
773
743
|
* @param {Number} id The id of the object to delete
|
|
774
744
|
* @param {Object} opts Optional parameters
|
|
775
|
-
* @param {String}
|
|
776
|
-
* @param {Number}
|
|
777
|
-
* @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
|
|
778
748
|
* @param {module:api/GraphObjectsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
779
749
|
*/
|
|
780
|
-
|
|
781
750
|
}, {
|
|
782
751
|
key: "deleteObject",
|
|
783
752
|
value: function deleteObject(id, opts, callback) {
|
|
784
753
|
opts = opts || {};
|
|
785
|
-
var postBody = null;
|
|
786
|
-
|
|
754
|
+
var postBody = null;
|
|
755
|
+
// verify the required parameter 'id' is set
|
|
787
756
|
if (id === undefined || id === null) {
|
|
788
757
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
789
758
|
}
|
|
790
|
-
|
|
791
759
|
var pathParams = {
|
|
792
760
|
'id': id
|
|
793
761
|
};
|
|
@@ -804,6 +772,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
804
772
|
var returnType = null;
|
|
805
773
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
806
774
|
}
|
|
775
|
+
|
|
807
776
|
/**
|
|
808
777
|
* Callback function to receive the result of the dislike operation.
|
|
809
778
|
* @callback module:api/GraphObjectsApi~dislikeCallback
|
|
@@ -817,22 +786,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
817
786
|
* Dislike an object
|
|
818
787
|
* @param {Number} objectid
|
|
819
788
|
* @param {Object} opts Optional parameters
|
|
820
|
-
* @param {String}
|
|
821
|
-
* @param {Number}
|
|
822
|
-
* @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
|
|
823
792
|
* @param {module:api/GraphObjectsApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
824
793
|
*/
|
|
825
|
-
|
|
826
794
|
}, {
|
|
827
795
|
key: "dislike",
|
|
828
796
|
value: function dislike(objectid, opts, callback) {
|
|
829
797
|
opts = opts || {};
|
|
830
|
-
var postBody = null;
|
|
831
|
-
|
|
798
|
+
var postBody = null;
|
|
799
|
+
// verify the required parameter 'objectid' is set
|
|
832
800
|
if (objectid === undefined || objectid === null) {
|
|
833
801
|
throw new Error("Missing the required parameter 'objectid' when calling dislike");
|
|
834
802
|
}
|
|
835
|
-
|
|
836
803
|
var pathParams = {
|
|
837
804
|
'objectid': objectid
|
|
838
805
|
};
|
|
@@ -849,11 +816,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
849
816
|
var returnType = null;
|
|
850
817
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
851
818
|
}
|
|
819
|
+
|
|
852
820
|
/**
|
|
853
821
|
* Callback function to receive the result of the doPostFunction operation.
|
|
854
822
|
* @callback module:api/GraphObjectsApi~doPostFunctionCallback
|
|
855
823
|
* @param {String} error Error message, if any.
|
|
856
|
-
* @param {module:model/
|
|
824
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
857
825
|
* @param {String} response The complete HTTP response.
|
|
858
826
|
*/
|
|
859
827
|
|
|
@@ -861,29 +829,26 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
861
829
|
* @param {Number} id The id of the object we are calling the function on
|
|
862
830
|
* @param {String} _function
|
|
863
831
|
* @param {Object} opts Optional parameters
|
|
864
|
-
* @param {String}
|
|
865
|
-
* @param {Number}
|
|
866
|
-
* @param {String}
|
|
867
|
-
* @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]
|
|
868
836
|
* @param {module:api/GraphObjectsApi~doPostFunctionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
869
|
-
* data is of type: {@link module:model/
|
|
837
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
870
838
|
*/
|
|
871
|
-
|
|
872
839
|
}, {
|
|
873
840
|
key: "doPostFunction",
|
|
874
841
|
value: function doPostFunction(id, _function, opts, callback) {
|
|
875
842
|
opts = opts || {};
|
|
876
|
-
var postBody = opts['body'];
|
|
877
|
-
|
|
843
|
+
var postBody = opts['body'];
|
|
844
|
+
// verify the required parameter 'id' is set
|
|
878
845
|
if (id === undefined || id === null) {
|
|
879
846
|
throw new Error("Missing the required parameter 'id' when calling doPostFunction");
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
|
|
847
|
+
}
|
|
848
|
+
// verify the required parameter '_function' is set
|
|
883
849
|
if (_function === undefined || _function === null) {
|
|
884
850
|
throw new Error("Missing the required parameter '_function' when calling doPostFunction");
|
|
885
851
|
}
|
|
886
|
-
|
|
887
852
|
var pathParams = {
|
|
888
853
|
'id': id,
|
|
889
854
|
'function': _function
|
|
@@ -898,9 +863,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
898
863
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
899
864
|
var contentTypes = ['application/json'];
|
|
900
865
|
var accepts = ['application/json'];
|
|
901
|
-
var returnType =
|
|
866
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
902
867
|
return this.apiClient.callApi('/graph/data/object/{id}/function/{function}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
903
868
|
}
|
|
869
|
+
|
|
904
870
|
/**
|
|
905
871
|
* Callback function to receive the result of the follow operation.
|
|
906
872
|
* @callback module:api/GraphObjectsApi~followCallback
|
|
@@ -912,22 +878,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
912
878
|
/**
|
|
913
879
|
* @param {Number} id The id of the object being followed
|
|
914
880
|
* @param {Object} opts Optional parameters
|
|
915
|
-
* @param {String}
|
|
916
|
-
* @param {Number}
|
|
917
|
-
* @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
|
|
918
884
|
* @param {module:api/GraphObjectsApi~followCallback} callback The callback function, accepting three arguments: error, data, response
|
|
919
885
|
*/
|
|
920
|
-
|
|
921
886
|
}, {
|
|
922
887
|
key: "follow",
|
|
923
888
|
value: function follow(id, opts, callback) {
|
|
924
889
|
opts = opts || {};
|
|
925
|
-
var postBody = null;
|
|
926
|
-
|
|
890
|
+
var postBody = null;
|
|
891
|
+
// verify the required parameter 'id' is set
|
|
927
892
|
if (id === undefined || id === null) {
|
|
928
893
|
throw new Error("Missing the required parameter 'id' when calling follow");
|
|
929
894
|
}
|
|
930
|
-
|
|
931
895
|
var pathParams = {
|
|
932
896
|
'id': id
|
|
933
897
|
};
|
|
@@ -944,6 +908,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
944
908
|
var returnType = null;
|
|
945
909
|
return this.apiClient.callApi('/graph/data/object/{id}/follow', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
946
910
|
}
|
|
911
|
+
|
|
947
912
|
/**
|
|
948
913
|
* Callback function to receive the result of the get7 operation.
|
|
949
914
|
* @callback module:api/GraphObjectsApi~get7Callback
|
|
@@ -955,12 +920,11 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
955
920
|
/**
|
|
956
921
|
* Root for the API
|
|
957
922
|
* @param {Object} opts Optional parameters
|
|
958
|
-
* @param {String}
|
|
959
|
-
* @param {Number}
|
|
960
|
-
* @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
|
|
961
926
|
* @param {module:api/GraphObjectsApi~get7Callback} callback The callback function, accepting three arguments: error, data, response
|
|
962
927
|
*/
|
|
963
|
-
|
|
964
928
|
}, {
|
|
965
929
|
key: "get7",
|
|
966
930
|
value: function get7(opts, callback) {
|
|
@@ -980,6 +944,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
980
944
|
var returnType = null;
|
|
981
945
|
return this.apiClient.callApi('/graph/data/object', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
982
946
|
}
|
|
947
|
+
|
|
983
948
|
/**
|
|
984
949
|
* Callback function to receive the result of the getActions operation.
|
|
985
950
|
* @callback module:api/GraphObjectsApi~getActionsCallback
|
|
@@ -993,23 +958,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
993
958
|
* Get actions attached to an object
|
|
994
959
|
* @param {Number} id The id of the object that we are retrieving actions on
|
|
995
960
|
* @param {Object} opts Optional parameters
|
|
996
|
-
* @param {String}
|
|
997
|
-
* @param {Number}
|
|
998
|
-
* @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
|
|
999
964
|
* @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1000
965
|
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
1001
966
|
*/
|
|
1002
|
-
|
|
1003
967
|
}, {
|
|
1004
968
|
key: "getActions",
|
|
1005
969
|
value: function getActions(id, opts, callback) {
|
|
1006
970
|
opts = opts || {};
|
|
1007
|
-
var postBody = null;
|
|
1008
|
-
|
|
971
|
+
var postBody = null;
|
|
972
|
+
// verify the required parameter 'id' is set
|
|
1009
973
|
if (id === undefined || id === null) {
|
|
1010
974
|
throw new Error("Missing the required parameter 'id' when calling getActions");
|
|
1011
975
|
}
|
|
1012
|
-
|
|
1013
976
|
var pathParams = {
|
|
1014
977
|
'id': id
|
|
1015
978
|
};
|
|
@@ -1026,6 +989,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1026
989
|
var returnType = [_GraphAction["default"]];
|
|
1027
990
|
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1028
991
|
}
|
|
992
|
+
|
|
1029
993
|
/**
|
|
1030
994
|
* Callback function to receive the result of the getActionsByType operation.
|
|
1031
995
|
* @callback module:api/GraphObjectsApi~getActionsByTypeCallback
|
|
@@ -1040,28 +1004,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1040
1004
|
* @param {Number} id
|
|
1041
1005
|
* @param {Number} actiontypeid
|
|
1042
1006
|
* @param {Object} opts Optional parameters
|
|
1043
|
-
* @param {String}
|
|
1044
|
-
* @param {Number}
|
|
1045
|
-
* @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
|
|
1046
1010
|
* @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1047
1011
|
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
1048
1012
|
*/
|
|
1049
|
-
|
|
1050
1013
|
}, {
|
|
1051
1014
|
key: "getActionsByType",
|
|
1052
1015
|
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
1053
1016
|
opts = opts || {};
|
|
1054
|
-
var postBody = null;
|
|
1055
|
-
|
|
1017
|
+
var postBody = null;
|
|
1018
|
+
// verify the required parameter 'id' is set
|
|
1056
1019
|
if (id === undefined || id === null) {
|
|
1057
1020
|
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1021
|
+
}
|
|
1022
|
+
// verify the required parameter 'actiontypeid' is set
|
|
1061
1023
|
if (actiontypeid === undefined || actiontypeid === null) {
|
|
1062
1024
|
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
1063
1025
|
}
|
|
1064
|
-
|
|
1065
1026
|
var pathParams = {
|
|
1066
1027
|
'id': id,
|
|
1067
1028
|
'actiontypeid': actiontypeid
|
|
@@ -1079,6 +1040,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1079
1040
|
var returnType = [_GraphAction["default"]];
|
|
1080
1041
|
return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1081
1042
|
}
|
|
1043
|
+
|
|
1082
1044
|
/**
|
|
1083
1045
|
* Callback function to receive the result of the getAllRelationships operation.
|
|
1084
1046
|
* @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
|
|
@@ -1092,23 +1054,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1092
1054
|
* Returns a listing of relationships
|
|
1093
1055
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1094
1056
|
* @param {Object} opts Optional parameters
|
|
1095
|
-
* @param {String}
|
|
1096
|
-
* @param {Number}
|
|
1097
|
-
* @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
|
|
1098
1060
|
* @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1099
1061
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1100
1062
|
*/
|
|
1101
|
-
|
|
1102
1063
|
}, {
|
|
1103
1064
|
key: "getAllRelationships",
|
|
1104
1065
|
value: function getAllRelationships(id, opts, callback) {
|
|
1105
1066
|
opts = opts || {};
|
|
1106
|
-
var postBody = null;
|
|
1107
|
-
|
|
1067
|
+
var postBody = null;
|
|
1068
|
+
// verify the required parameter 'id' is set
|
|
1108
1069
|
if (id === undefined || id === null) {
|
|
1109
1070
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
1110
1071
|
}
|
|
1111
|
-
|
|
1112
1072
|
var pathParams = {
|
|
1113
1073
|
'id': id
|
|
1114
1074
|
};
|
|
@@ -1125,6 +1085,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1125
1085
|
var returnType = [_GraphRelationship["default"]];
|
|
1126
1086
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1127
1087
|
}
|
|
1088
|
+
|
|
1128
1089
|
/**
|
|
1129
1090
|
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
1130
1091
|
* @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
|
|
@@ -1139,28 +1100,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1139
1100
|
* @param {Number} id The id of the relationship type we are searching for
|
|
1140
1101
|
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
1141
1102
|
* @param {Object} opts Optional parameters
|
|
1142
|
-
* @param {String}
|
|
1143
|
-
* @param {Number}
|
|
1144
|
-
* @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
|
|
1145
1106
|
* @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1146
1107
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1147
1108
|
*/
|
|
1148
|
-
|
|
1149
1109
|
}, {
|
|
1150
1110
|
key: "getAllRelationshipsByType",
|
|
1151
1111
|
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
1152
1112
|
opts = opts || {};
|
|
1153
|
-
var postBody = null;
|
|
1154
|
-
|
|
1113
|
+
var postBody = null;
|
|
1114
|
+
// verify the required parameter 'id' is set
|
|
1155
1115
|
if (id === undefined || id === null) {
|
|
1156
1116
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
|
|
1117
|
+
}
|
|
1118
|
+
// verify the required parameter 'reltypeid' is set
|
|
1160
1119
|
if (reltypeid === undefined || reltypeid === null) {
|
|
1161
1120
|
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
1162
1121
|
}
|
|
1163
|
-
|
|
1164
1122
|
var pathParams = {
|
|
1165
1123
|
'id': id,
|
|
1166
1124
|
'reltypeid': reltypeid
|
|
@@ -1178,6 +1136,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1178
1136
|
var returnType = [_GraphRelationship["default"]];
|
|
1179
1137
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1180
1138
|
}
|
|
1139
|
+
|
|
1181
1140
|
/**
|
|
1182
1141
|
* Callback function to receive the result of the getComments operation.
|
|
1183
1142
|
* @callback module:api/GraphObjectsApi~getCommentsCallback
|
|
@@ -1189,23 +1148,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1189
1148
|
/**
|
|
1190
1149
|
* @param {Number} objectid
|
|
1191
1150
|
* @param {Object} opts Optional parameters
|
|
1192
|
-
* @param {String}
|
|
1193
|
-
* @param {Number}
|
|
1194
|
-
* @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
|
|
1195
1154
|
* @param {module:api/GraphObjectsApi~getCommentsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1196
1155
|
* data is of type: {@link Array.<module:model/Comment>}
|
|
1197
1156
|
*/
|
|
1198
|
-
|
|
1199
1157
|
}, {
|
|
1200
1158
|
key: "getComments",
|
|
1201
1159
|
value: function getComments(objectid, opts, callback) {
|
|
1202
1160
|
opts = opts || {};
|
|
1203
|
-
var postBody = null;
|
|
1204
|
-
|
|
1161
|
+
var postBody = null;
|
|
1162
|
+
// verify the required parameter 'objectid' is set
|
|
1205
1163
|
if (objectid === undefined || objectid === null) {
|
|
1206
1164
|
throw new Error("Missing the required parameter 'objectid' when calling getComments");
|
|
1207
1165
|
}
|
|
1208
|
-
|
|
1209
1166
|
var pathParams = {
|
|
1210
1167
|
'objectid': objectid
|
|
1211
1168
|
};
|
|
@@ -1222,6 +1179,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1222
1179
|
var returnType = [_Comment["default"]];
|
|
1223
1180
|
return this.apiClient.callApi('/graph/data/object/{objectid}/comments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1224
1181
|
}
|
|
1182
|
+
|
|
1225
1183
|
/**
|
|
1226
1184
|
* Callback function to receive the result of the getDataSheetImports operation.
|
|
1227
1185
|
* @callback module:api/GraphObjectsApi~getDataSheetImportsCallback
|
|
@@ -1235,23 +1193,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1235
1193
|
* Get Related Objects
|
|
1236
1194
|
* @param {Number} objectid The id of the object we are importing the datasheet to
|
|
1237
1195
|
* @param {Object} opts Optional parameters
|
|
1238
|
-
* @param {String}
|
|
1239
|
-
* @param {Number}
|
|
1240
|
-
* @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
|
|
1241
1199
|
* @param {module:api/GraphObjectsApi~getDataSheetImportsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1242
1200
|
* data is of type: {@link Array.<module:model/DataSheetImport>}
|
|
1243
1201
|
*/
|
|
1244
|
-
|
|
1245
1202
|
}, {
|
|
1246
1203
|
key: "getDataSheetImports",
|
|
1247
1204
|
value: function getDataSheetImports(objectid, opts, callback) {
|
|
1248
1205
|
opts = opts || {};
|
|
1249
|
-
var postBody = null;
|
|
1250
|
-
|
|
1206
|
+
var postBody = null;
|
|
1207
|
+
// verify the required parameter 'objectid' is set
|
|
1251
1208
|
if (objectid === undefined || objectid === null) {
|
|
1252
1209
|
throw new Error("Missing the required parameter 'objectid' when calling getDataSheetImports");
|
|
1253
1210
|
}
|
|
1254
|
-
|
|
1255
1211
|
var pathParams = {
|
|
1256
1212
|
'objectid': objectid
|
|
1257
1213
|
};
|
|
@@ -1268,6 +1224,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1268
1224
|
var returnType = [_DataSheetImport["default"]];
|
|
1269
1225
|
return this.apiClient.callApi('/graph/data/object/{objectid}/datasheetimports', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1270
1226
|
}
|
|
1227
|
+
|
|
1271
1228
|
/**
|
|
1272
1229
|
* Callback function to receive the result of the getEvents operation.
|
|
1273
1230
|
* @callback module:api/GraphObjectsApi~getEventsCallback
|
|
@@ -1281,23 +1238,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1281
1238
|
* Returns a listing of meeting events contained in or attached to this object
|
|
1282
1239
|
* @param {Number} id The id of the object that we are retrieving events for
|
|
1283
1240
|
* @param {Object} opts Optional parameters
|
|
1284
|
-
* @param {String}
|
|
1285
|
-
* @param {Number}
|
|
1286
|
-
* @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
|
|
1287
1244
|
* @param {module:api/GraphObjectsApi~getEventsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1288
1245
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1289
1246
|
*/
|
|
1290
|
-
|
|
1291
1247
|
}, {
|
|
1292
1248
|
key: "getEvents",
|
|
1293
1249
|
value: function getEvents(id, opts, callback) {
|
|
1294
1250
|
opts = opts || {};
|
|
1295
|
-
var postBody = null;
|
|
1296
|
-
|
|
1251
|
+
var postBody = null;
|
|
1252
|
+
// verify the required parameter 'id' is set
|
|
1297
1253
|
if (id === undefined || id === null) {
|
|
1298
1254
|
throw new Error("Missing the required parameter 'id' when calling getEvents");
|
|
1299
1255
|
}
|
|
1300
|
-
|
|
1301
1256
|
var pathParams = {
|
|
1302
1257
|
'id': id
|
|
1303
1258
|
};
|
|
@@ -1314,6 +1269,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1314
1269
|
var returnType = [_MeetingEvent["default"]];
|
|
1315
1270
|
return this.apiClient.callApi('/graph/data/object/{id}/events', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1316
1271
|
}
|
|
1272
|
+
|
|
1317
1273
|
/**
|
|
1318
1274
|
* Callback function to receive the result of the getEventsDateRange operation.
|
|
1319
1275
|
* @callback module:api/GraphObjectsApi~getEventsDateRangeCallback
|
|
@@ -1329,33 +1285,29 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1329
1285
|
* @param {Number} startdate The unix epoch time for the start time of the event
|
|
1330
1286
|
* @param {Number} enddate The unix epoch time for the end time of the event
|
|
1331
1287
|
* @param {Object} opts Optional parameters
|
|
1332
|
-
* @param {String}
|
|
1333
|
-
* @param {Number}
|
|
1334
|
-
* @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
|
|
1335
1291
|
* @param {module:api/GraphObjectsApi~getEventsDateRangeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1336
1292
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1337
1293
|
*/
|
|
1338
|
-
|
|
1339
1294
|
}, {
|
|
1340
1295
|
key: "getEventsDateRange",
|
|
1341
1296
|
value: function getEventsDateRange(id, startdate, enddate, opts, callback) {
|
|
1342
1297
|
opts = opts || {};
|
|
1343
|
-
var postBody = null;
|
|
1344
|
-
|
|
1298
|
+
var postBody = null;
|
|
1299
|
+
// verify the required parameter 'id' is set
|
|
1345
1300
|
if (id === undefined || id === null) {
|
|
1346
1301
|
throw new Error("Missing the required parameter 'id' when calling getEventsDateRange");
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
|
|
1302
|
+
}
|
|
1303
|
+
// verify the required parameter 'startdate' is set
|
|
1350
1304
|
if (startdate === undefined || startdate === null) {
|
|
1351
1305
|
throw new Error("Missing the required parameter 'startdate' when calling getEventsDateRange");
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
|
|
1306
|
+
}
|
|
1307
|
+
// verify the required parameter 'enddate' is set
|
|
1355
1308
|
if (enddate === undefined || enddate === null) {
|
|
1356
1309
|
throw new Error("Missing the required parameter 'enddate' when calling getEventsDateRange");
|
|
1357
1310
|
}
|
|
1358
|
-
|
|
1359
1311
|
var pathParams = {
|
|
1360
1312
|
'id': id,
|
|
1361
1313
|
'startdate': startdate,
|
|
@@ -1374,6 +1326,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1374
1326
|
var returnType = [_MeetingEvent["default"]];
|
|
1375
1327
|
return this.apiClient.callApi('/graph/data/object/{id}/events/{startdate}:{enddate}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1376
1328
|
}
|
|
1329
|
+
|
|
1377
1330
|
/**
|
|
1378
1331
|
* Callback function to receive the result of the getEventsFuture operation.
|
|
1379
1332
|
* @callback module:api/GraphObjectsApi~getEventsFutureCallback
|
|
@@ -1387,23 +1340,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1387
1340
|
* Returns a listing of future meeting events contained in or attached to this object
|
|
1388
1341
|
* @param {Number} id The id of the object that we are retrieving events for
|
|
1389
1342
|
* @param {Object} opts Optional parameters
|
|
1390
|
-
* @param {String}
|
|
1391
|
-
* @param {Number}
|
|
1392
|
-
* @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
|
|
1393
1346
|
* @param {module:api/GraphObjectsApi~getEventsFutureCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1394
1347
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1395
1348
|
*/
|
|
1396
|
-
|
|
1397
1349
|
}, {
|
|
1398
1350
|
key: "getEventsFuture",
|
|
1399
1351
|
value: function getEventsFuture(id, opts, callback) {
|
|
1400
1352
|
opts = opts || {};
|
|
1401
|
-
var postBody = null;
|
|
1402
|
-
|
|
1353
|
+
var postBody = null;
|
|
1354
|
+
// verify the required parameter 'id' is set
|
|
1403
1355
|
if (id === undefined || id === null) {
|
|
1404
1356
|
throw new Error("Missing the required parameter 'id' when calling getEventsFuture");
|
|
1405
1357
|
}
|
|
1406
|
-
|
|
1407
1358
|
var pathParams = {
|
|
1408
1359
|
'id': id
|
|
1409
1360
|
};
|
|
@@ -1420,6 +1371,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1420
1371
|
var returnType = [_MeetingEvent["default"]];
|
|
1421
1372
|
return this.apiClient.callApi('/graph/data/object/{id}/events/future', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1422
1373
|
}
|
|
1374
|
+
|
|
1423
1375
|
/**
|
|
1424
1376
|
* Callback function to receive the result of the getEventsPast operation.
|
|
1425
1377
|
* @callback module:api/GraphObjectsApi~getEventsPastCallback
|
|
@@ -1433,23 +1385,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1433
1385
|
* Returns a listing of past meeting events contained in or attached to this object
|
|
1434
1386
|
* @param {Number} id The id of the object that we are retrieving events for
|
|
1435
1387
|
* @param {Object} opts Optional parameters
|
|
1436
|
-
* @param {String}
|
|
1437
|
-
* @param {Number}
|
|
1438
|
-
* @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
|
|
1439
1391
|
* @param {module:api/GraphObjectsApi~getEventsPastCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1440
1392
|
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1441
1393
|
*/
|
|
1442
|
-
|
|
1443
1394
|
}, {
|
|
1444
1395
|
key: "getEventsPast",
|
|
1445
1396
|
value: function getEventsPast(id, opts, callback) {
|
|
1446
1397
|
opts = opts || {};
|
|
1447
|
-
var postBody = null;
|
|
1448
|
-
|
|
1398
|
+
var postBody = null;
|
|
1399
|
+
// verify the required parameter 'id' is set
|
|
1449
1400
|
if (id === undefined || id === null) {
|
|
1450
1401
|
throw new Error("Missing the required parameter 'id' when calling getEventsPast");
|
|
1451
1402
|
}
|
|
1452
|
-
|
|
1453
1403
|
var pathParams = {
|
|
1454
1404
|
'id': id
|
|
1455
1405
|
};
|
|
@@ -1466,6 +1416,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1466
1416
|
var returnType = [_MeetingEvent["default"]];
|
|
1467
1417
|
return this.apiClient.callApi('/graph/data/object/{id}/events/past', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1468
1418
|
}
|
|
1419
|
+
|
|
1469
1420
|
/**
|
|
1470
1421
|
* Callback function to receive the result of the getFiles operation.
|
|
1471
1422
|
* @callback module:api/GraphObjectsApi~getFilesCallback
|
|
@@ -1477,23 +1428,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1477
1428
|
/**
|
|
1478
1429
|
* @param {Number} id
|
|
1479
1430
|
* @param {Object} opts Optional parameters
|
|
1480
|
-
* @param {String}
|
|
1481
|
-
* @param {Number}
|
|
1482
|
-
* @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
|
|
1483
1434
|
* @param {module:api/GraphObjectsApi~getFilesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1484
1435
|
* data is of type: {@link Array.<File>}
|
|
1485
1436
|
*/
|
|
1486
|
-
|
|
1487
1437
|
}, {
|
|
1488
1438
|
key: "getFiles",
|
|
1489
1439
|
value: function getFiles(id, opts, callback) {
|
|
1490
1440
|
opts = opts || {};
|
|
1491
|
-
var postBody = null;
|
|
1492
|
-
|
|
1441
|
+
var postBody = null;
|
|
1442
|
+
// verify the required parameter 'id' is set
|
|
1493
1443
|
if (id === undefined || id === null) {
|
|
1494
1444
|
throw new Error("Missing the required parameter 'id' when calling getFiles");
|
|
1495
1445
|
}
|
|
1496
|
-
|
|
1497
1446
|
var pathParams = {
|
|
1498
1447
|
'id': id
|
|
1499
1448
|
};
|
|
@@ -1510,6 +1459,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1510
1459
|
var returnType = [File];
|
|
1511
1460
|
return this.apiClient.callApi('/graph/data/object/{id}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1512
1461
|
}
|
|
1462
|
+
|
|
1513
1463
|
/**
|
|
1514
1464
|
* Callback function to receive the result of the getGeocodes operation.
|
|
1515
1465
|
* @callback module:api/GraphObjectsApi~getGeocodesCallback
|
|
@@ -1521,23 +1471,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1521
1471
|
/**
|
|
1522
1472
|
* @param {Number} id The id of the object to retrieve the geolocation information
|
|
1523
1473
|
* @param {Object} opts Optional parameters
|
|
1524
|
-
* @param {String}
|
|
1525
|
-
* @param {Number}
|
|
1526
|
-
* @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
|
|
1527
1477
|
* @param {module:api/GraphObjectsApi~getGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1528
1478
|
* data is of type: {@link Array.<module:model/GraphGeocode>}
|
|
1529
1479
|
*/
|
|
1530
|
-
|
|
1531
1480
|
}, {
|
|
1532
1481
|
key: "getGeocodes",
|
|
1533
1482
|
value: function getGeocodes(id, opts, callback) {
|
|
1534
1483
|
opts = opts || {};
|
|
1535
|
-
var postBody = null;
|
|
1536
|
-
|
|
1484
|
+
var postBody = null;
|
|
1485
|
+
// verify the required parameter 'id' is set
|
|
1537
1486
|
if (id === undefined || id === null) {
|
|
1538
1487
|
throw new Error("Missing the required parameter 'id' when calling getGeocodes");
|
|
1539
1488
|
}
|
|
1540
|
-
|
|
1541
1489
|
var pathParams = {
|
|
1542
1490
|
'id': id
|
|
1543
1491
|
};
|
|
@@ -1554,6 +1502,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1554
1502
|
var returnType = [_GraphGeocode["default"]];
|
|
1555
1503
|
return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1556
1504
|
}
|
|
1505
|
+
|
|
1557
1506
|
/**
|
|
1558
1507
|
* Callback function to receive the result of the getGraphs operation.
|
|
1559
1508
|
* @callback module:api/GraphObjectsApi~getGraphsCallback
|
|
@@ -1565,23 +1514,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1565
1514
|
/**
|
|
1566
1515
|
* @param {Number} id The id of the object whose graphs we are retrieving
|
|
1567
1516
|
* @param {Object} opts Optional parameters
|
|
1568
|
-
* @param {String}
|
|
1569
|
-
* @param {Number}
|
|
1570
|
-
* @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
|
|
1571
1520
|
* @param {module:api/GraphObjectsApi~getGraphsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1572
1521
|
* data is of type: {@link Array.<module:model/Graph>}
|
|
1573
1522
|
*/
|
|
1574
|
-
|
|
1575
1523
|
}, {
|
|
1576
1524
|
key: "getGraphs",
|
|
1577
1525
|
value: function getGraphs(id, opts, callback) {
|
|
1578
1526
|
opts = opts || {};
|
|
1579
|
-
var postBody = null;
|
|
1580
|
-
|
|
1527
|
+
var postBody = null;
|
|
1528
|
+
// verify the required parameter 'id' is set
|
|
1581
1529
|
if (id === undefined || id === null) {
|
|
1582
1530
|
throw new Error("Missing the required parameter 'id' when calling getGraphs");
|
|
1583
1531
|
}
|
|
1584
|
-
|
|
1585
1532
|
var pathParams = {
|
|
1586
1533
|
'id': id
|
|
1587
1534
|
};
|
|
@@ -1598,6 +1545,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1598
1545
|
var returnType = [_Graph["default"]];
|
|
1599
1546
|
return this.apiClient.callApi('/graph/data/object/{id}/graphs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1600
1547
|
}
|
|
1548
|
+
|
|
1601
1549
|
/**
|
|
1602
1550
|
* Callback function to receive the result of the getImages operation.
|
|
1603
1551
|
* @callback module:api/GraphObjectsApi~getImagesCallback
|
|
@@ -1609,23 +1557,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1609
1557
|
/**
|
|
1610
1558
|
* @param {Number} id
|
|
1611
1559
|
* @param {Object} opts Optional parameters
|
|
1612
|
-
* @param {String}
|
|
1613
|
-
* @param {Number}
|
|
1614
|
-
* @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
|
|
1615
1563
|
* @param {module:api/GraphObjectsApi~getImagesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1616
1564
|
* data is of type: {@link Array.<module:model/Image>}
|
|
1617
1565
|
*/
|
|
1618
|
-
|
|
1619
1566
|
}, {
|
|
1620
1567
|
key: "getImages",
|
|
1621
1568
|
value: function getImages(id, opts, callback) {
|
|
1622
1569
|
opts = opts || {};
|
|
1623
|
-
var postBody = null;
|
|
1624
|
-
|
|
1570
|
+
var postBody = null;
|
|
1571
|
+
// verify the required parameter 'id' is set
|
|
1625
1572
|
if (id === undefined || id === null) {
|
|
1626
1573
|
throw new Error("Missing the required parameter 'id' when calling getImages");
|
|
1627
1574
|
}
|
|
1628
|
-
|
|
1629
1575
|
var pathParams = {
|
|
1630
1576
|
'id': id
|
|
1631
1577
|
};
|
|
@@ -1642,34 +1588,33 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1642
1588
|
var returnType = [_Image["default"]];
|
|
1643
1589
|
return this.apiClient.callApi('/graph/data/object/{id}/images', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1644
1590
|
}
|
|
1591
|
+
|
|
1645
1592
|
/**
|
|
1646
1593
|
* Callback function to receive the result of the getNewsfeed operation.
|
|
1647
1594
|
* @callback module:api/GraphObjectsApi~getNewsfeedCallback
|
|
1648
1595
|
* @param {String} error Error message, if any.
|
|
1649
|
-
* @param {module:model/
|
|
1596
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1650
1597
|
* @param {String} response The complete HTTP response.
|
|
1651
1598
|
*/
|
|
1652
1599
|
|
|
1653
1600
|
/**
|
|
1654
1601
|
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
1655
1602
|
* @param {Object} opts Optional parameters
|
|
1656
|
-
* @param {String}
|
|
1657
|
-
* @param {Number}
|
|
1658
|
-
* @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
|
|
1659
1606
|
* @param {module:api/GraphObjectsApi~getNewsfeedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1660
|
-
* data is of type: {@link module:model/
|
|
1607
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1661
1608
|
*/
|
|
1662
|
-
|
|
1663
1609
|
}, {
|
|
1664
1610
|
key: "getNewsfeed",
|
|
1665
1611
|
value: function getNewsfeed(id, opts, callback) {
|
|
1666
1612
|
opts = opts || {};
|
|
1667
|
-
var postBody = null;
|
|
1668
|
-
|
|
1613
|
+
var postBody = null;
|
|
1614
|
+
// verify the required parameter 'id' is set
|
|
1669
1615
|
if (id === undefined || id === null) {
|
|
1670
1616
|
throw new Error("Missing the required parameter 'id' when calling getNewsfeed");
|
|
1671
1617
|
}
|
|
1672
|
-
|
|
1673
1618
|
var pathParams = {
|
|
1674
1619
|
'id': id
|
|
1675
1620
|
};
|
|
@@ -1683,14 +1628,15 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1683
1628
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1684
1629
|
var contentTypes = [];
|
|
1685
1630
|
var accepts = ['application/json'];
|
|
1686
|
-
var returnType =
|
|
1631
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1687
1632
|
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1688
1633
|
}
|
|
1634
|
+
|
|
1689
1635
|
/**
|
|
1690
1636
|
* Callback function to receive the result of the getNewsfeedIndexed operation.
|
|
1691
1637
|
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedCallback
|
|
1692
1638
|
* @param {String} error Error message, if any.
|
|
1693
|
-
* @param {module:model/
|
|
1639
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1694
1640
|
* @param {String} response The complete HTTP response.
|
|
1695
1641
|
*/
|
|
1696
1642
|
|
|
@@ -1699,33 +1645,29 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1699
1645
|
* @param {Number} start
|
|
1700
1646
|
* @param {Number} end
|
|
1701
1647
|
* @param {Object} opts Optional parameters
|
|
1702
|
-
* @param {String}
|
|
1703
|
-
* @param {Number}
|
|
1704
|
-
* @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
|
|
1705
1651
|
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1706
|
-
* data is of type: {@link module:model/
|
|
1652
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1707
1653
|
*/
|
|
1708
|
-
|
|
1709
1654
|
}, {
|
|
1710
1655
|
key: "getNewsfeedIndexed",
|
|
1711
1656
|
value: function getNewsfeedIndexed(id, start, end, opts, callback) {
|
|
1712
1657
|
opts = opts || {};
|
|
1713
|
-
var postBody = null;
|
|
1714
|
-
|
|
1658
|
+
var postBody = null;
|
|
1659
|
+
// verify the required parameter 'id' is set
|
|
1715
1660
|
if (id === undefined || id === null) {
|
|
1716
1661
|
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexed");
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
|
|
1662
|
+
}
|
|
1663
|
+
// verify the required parameter 'start' is set
|
|
1720
1664
|
if (start === undefined || start === null) {
|
|
1721
1665
|
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexed");
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
|
|
1666
|
+
}
|
|
1667
|
+
// verify the required parameter 'end' is set
|
|
1725
1668
|
if (end === undefined || end === null) {
|
|
1726
1669
|
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexed");
|
|
1727
1670
|
}
|
|
1728
|
-
|
|
1729
1671
|
var pathParams = {
|
|
1730
1672
|
'id': id,
|
|
1731
1673
|
'start': start,
|
|
@@ -1741,14 +1683,15 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1741
1683
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1742
1684
|
var contentTypes = [];
|
|
1743
1685
|
var accepts = ['application/json'];
|
|
1744
|
-
var returnType =
|
|
1686
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1745
1687
|
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}-{end}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1746
1688
|
}
|
|
1689
|
+
|
|
1747
1690
|
/**
|
|
1748
1691
|
* Callback function to receive the result of the getNewsfeedIndexedStart operation.
|
|
1749
1692
|
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback
|
|
1750
1693
|
* @param {String} error Error message, if any.
|
|
1751
|
-
* @param {module:model/
|
|
1694
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1752
1695
|
* @param {String} response The complete HTTP response.
|
|
1753
1696
|
*/
|
|
1754
1697
|
|
|
@@ -1757,33 +1700,29 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1757
1700
|
* @param {Number} start
|
|
1758
1701
|
* @param {Number} end
|
|
1759
1702
|
* @param {Object} opts Optional parameters
|
|
1760
|
-
* @param {String}
|
|
1761
|
-
* @param {Number}
|
|
1762
|
-
* @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
|
|
1763
1706
|
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1764
|
-
* data is of type: {@link module:model/
|
|
1707
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1765
1708
|
*/
|
|
1766
|
-
|
|
1767
1709
|
}, {
|
|
1768
1710
|
key: "getNewsfeedIndexedStart",
|
|
1769
1711
|
value: function getNewsfeedIndexedStart(id, start, end, opts, callback) {
|
|
1770
1712
|
opts = opts || {};
|
|
1771
|
-
var postBody = null;
|
|
1772
|
-
|
|
1713
|
+
var postBody = null;
|
|
1714
|
+
// verify the required parameter 'id' is set
|
|
1773
1715
|
if (id === undefined || id === null) {
|
|
1774
1716
|
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexedStart");
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
|
|
1717
|
+
}
|
|
1718
|
+
// verify the required parameter 'start' is set
|
|
1778
1719
|
if (start === undefined || start === null) {
|
|
1779
1720
|
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexedStart");
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
|
-
|
|
1721
|
+
}
|
|
1722
|
+
// verify the required parameter 'end' is set
|
|
1783
1723
|
if (end === undefined || end === null) {
|
|
1784
1724
|
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexedStart");
|
|
1785
1725
|
}
|
|
1786
|
-
|
|
1787
1726
|
var pathParams = {
|
|
1788
1727
|
'id': id,
|
|
1789
1728
|
'start': start,
|
|
@@ -1799,9 +1738,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1799
1738
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1800
1739
|
var contentTypes = [];
|
|
1801
1740
|
var accepts = ['application/json'];
|
|
1802
|
-
var returnType =
|
|
1741
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1803
1742
|
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1804
1743
|
}
|
|
1744
|
+
|
|
1805
1745
|
/**
|
|
1806
1746
|
* Callback function to receive the result of the getObjectById operation.
|
|
1807
1747
|
* @callback module:api/GraphObjectsApi~getObjectByIdCallback
|
|
@@ -1814,23 +1754,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1814
1754
|
* Gets object by id
|
|
1815
1755
|
* @param {Number} id The id of the object that we are retreiving
|
|
1816
1756
|
* @param {Object} opts Optional parameters
|
|
1817
|
-
* @param {String}
|
|
1818
|
-
* @param {Number}
|
|
1819
|
-
* @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
|
|
1820
1760
|
* @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1821
1761
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1822
1762
|
*/
|
|
1823
|
-
|
|
1824
1763
|
}, {
|
|
1825
1764
|
key: "getObjectById",
|
|
1826
1765
|
value: function getObjectById(id, opts, callback) {
|
|
1827
1766
|
opts = opts || {};
|
|
1828
|
-
var postBody = null;
|
|
1829
|
-
|
|
1767
|
+
var postBody = null;
|
|
1768
|
+
// verify the required parameter 'id' is set
|
|
1830
1769
|
if (id === undefined || id === null) {
|
|
1831
1770
|
throw new Error("Missing the required parameter 'id' when calling getObjectById");
|
|
1832
1771
|
}
|
|
1833
|
-
|
|
1834
1772
|
var pathParams = {
|
|
1835
1773
|
'id': id
|
|
1836
1774
|
};
|
|
@@ -1847,6 +1785,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1847
1785
|
var returnType = _GraphObjectSchema["default"];
|
|
1848
1786
|
return this.apiClient.callApi('/graph/data/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1849
1787
|
}
|
|
1788
|
+
|
|
1850
1789
|
/**
|
|
1851
1790
|
* Callback function to receive the result of the getObjectByKey operation.
|
|
1852
1791
|
* @callback module:api/GraphObjectsApi~getObjectByKeyCallback
|
|
@@ -1860,23 +1799,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1860
1799
|
* Get An Object By it's key identifier
|
|
1861
1800
|
* @param {String} key The unique key of the object we are retrieving
|
|
1862
1801
|
* @param {Object} opts Optional parameters
|
|
1863
|
-
* @param {String}
|
|
1864
|
-
* @param {Number}
|
|
1865
|
-
* @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
|
|
1866
1805
|
* @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1867
1806
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1868
1807
|
*/
|
|
1869
|
-
|
|
1870
1808
|
}, {
|
|
1871
1809
|
key: "getObjectByKey",
|
|
1872
1810
|
value: function getObjectByKey(key, opts, callback) {
|
|
1873
1811
|
opts = opts || {};
|
|
1874
|
-
var postBody = null;
|
|
1875
|
-
|
|
1812
|
+
var postBody = null;
|
|
1813
|
+
// verify the required parameter 'key' is set
|
|
1876
1814
|
if (key === undefined || key === null) {
|
|
1877
1815
|
throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
|
|
1878
1816
|
}
|
|
1879
|
-
|
|
1880
1817
|
var pathParams = {
|
|
1881
1818
|
'key': key
|
|
1882
1819
|
};
|
|
@@ -1893,6 +1830,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1893
1830
|
var returnType = _GraphObjectSchema["default"];
|
|
1894
1831
|
return this.apiClient.callApi('/graph/data/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1895
1832
|
}
|
|
1833
|
+
|
|
1896
1834
|
/**
|
|
1897
1835
|
* Callback function to receive the result of the getObjectFromSchema operation.
|
|
1898
1836
|
* @callback module:api/GraphObjectsApi~getObjectFromSchemaCallback
|
|
@@ -1906,23 +1844,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1906
1844
|
* Get the object representation of the Graph Schema
|
|
1907
1845
|
* @param {String} schemakey The unique id of the graph schema we are retrieving
|
|
1908
1846
|
* @param {Object} opts Optional parameters
|
|
1909
|
-
* @param {String}
|
|
1910
|
-
* @param {Number}
|
|
1911
|
-
* @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
|
|
1912
1850
|
* @param {module:api/GraphObjectsApi~getObjectFromSchemaCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1913
1851
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1914
1852
|
*/
|
|
1915
|
-
|
|
1916
1853
|
}, {
|
|
1917
1854
|
key: "getObjectFromSchema",
|
|
1918
1855
|
value: function getObjectFromSchema(schemakey, opts, callback) {
|
|
1919
1856
|
opts = opts || {};
|
|
1920
|
-
var postBody = null;
|
|
1921
|
-
|
|
1857
|
+
var postBody = null;
|
|
1858
|
+
// verify the required parameter 'schemakey' is set
|
|
1922
1859
|
if (schemakey === undefined || schemakey === null) {
|
|
1923
1860
|
throw new Error("Missing the required parameter 'schemakey' when calling getObjectFromSchema");
|
|
1924
1861
|
}
|
|
1925
|
-
|
|
1926
1862
|
var pathParams = {
|
|
1927
1863
|
'schemakey': schemakey
|
|
1928
1864
|
};
|
|
@@ -1939,11 +1875,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1939
1875
|
var returnType = _GraphObjectSchema["default"];
|
|
1940
1876
|
return this.apiClient.callApi('/graph/data/object/schema/{schemakey}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1941
1877
|
}
|
|
1878
|
+
|
|
1942
1879
|
/**
|
|
1943
1880
|
* Callback function to receive the result of the getObjectProperties operation.
|
|
1944
1881
|
* @callback module:api/GraphObjectsApi~getObjectPropertiesCallback
|
|
1945
1882
|
* @param {String} error Error message, if any.
|
|
1946
|
-
* @param {Object.<String, module:model/{String:
|
|
1883
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
1947
1884
|
* @param {String} response The complete HTTP response.
|
|
1948
1885
|
*/
|
|
1949
1886
|
|
|
@@ -1952,23 +1889,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1952
1889
|
* Get all properties attached to an object
|
|
1953
1890
|
* @param {Number} id The id of the object whose properties we are retrieve
|
|
1954
1891
|
* @param {Object} opts Optional parameters
|
|
1955
|
-
* @param {String}
|
|
1956
|
-
* @param {Number}
|
|
1957
|
-
* @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
|
|
1958
1895
|
* @param {module:api/GraphObjectsApi~getObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1959
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
1896
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
1960
1897
|
*/
|
|
1961
|
-
|
|
1962
1898
|
}, {
|
|
1963
1899
|
key: "getObjectProperties",
|
|
1964
1900
|
value: function getObjectProperties(id, opts, callback) {
|
|
1965
1901
|
opts = opts || {};
|
|
1966
|
-
var postBody = null;
|
|
1967
|
-
|
|
1902
|
+
var postBody = null;
|
|
1903
|
+
// verify the required parameter 'id' is set
|
|
1968
1904
|
if (id === undefined || id === null) {
|
|
1969
1905
|
throw new Error("Missing the required parameter 'id' when calling getObjectProperties");
|
|
1970
1906
|
}
|
|
1971
|
-
|
|
1972
1907
|
var pathParams = {
|
|
1973
1908
|
'id': id
|
|
1974
1909
|
};
|
|
@@ -1983,15 +1918,16 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
1983
1918
|
var contentTypes = [];
|
|
1984
1919
|
var accepts = ['application/json'];
|
|
1985
1920
|
var returnType = {
|
|
1986
|
-
'String':
|
|
1921
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
1987
1922
|
};
|
|
1988
1923
|
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1989
1924
|
}
|
|
1925
|
+
|
|
1990
1926
|
/**
|
|
1991
1927
|
* Callback function to receive the result of the getObjectProperty operation.
|
|
1992
1928
|
* @callback module:api/GraphObjectsApi~getObjectPropertyCallback
|
|
1993
1929
|
* @param {String} error Error message, if any.
|
|
1994
|
-
* @param {Object.<String, module:model/{String:
|
|
1930
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
1995
1931
|
* @param {String} response The complete HTTP response.
|
|
1996
1932
|
*/
|
|
1997
1933
|
|
|
@@ -2001,28 +1937,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2001
1937
|
* @param {Number} id The id of the object whose properties we are retrieve
|
|
2002
1938
|
* @param {String} prop The property is retrieving
|
|
2003
1939
|
* @param {Object} opts Optional parameters
|
|
2004
|
-
* @param {String}
|
|
2005
|
-
* @param {Number}
|
|
2006
|
-
* @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
|
|
2007
1943
|
* @param {module:api/GraphObjectsApi~getObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2008
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
1944
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
2009
1945
|
*/
|
|
2010
|
-
|
|
2011
1946
|
}, {
|
|
2012
1947
|
key: "getObjectProperty",
|
|
2013
1948
|
value: function getObjectProperty(id, prop, opts, callback) {
|
|
2014
1949
|
opts = opts || {};
|
|
2015
|
-
var postBody = null;
|
|
2016
|
-
|
|
1950
|
+
var postBody = null;
|
|
1951
|
+
// verify the required parameter 'id' is set
|
|
2017
1952
|
if (id === undefined || id === null) {
|
|
2018
1953
|
throw new Error("Missing the required parameter 'id' when calling getObjectProperty");
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
|
-
|
|
1954
|
+
}
|
|
1955
|
+
// verify the required parameter 'prop' is set
|
|
2022
1956
|
if (prop === undefined || prop === null) {
|
|
2023
1957
|
throw new Error("Missing the required parameter 'prop' when calling getObjectProperty");
|
|
2024
1958
|
}
|
|
2025
|
-
|
|
2026
1959
|
var pathParams = {
|
|
2027
1960
|
'id': id,
|
|
2028
1961
|
'prop': prop
|
|
@@ -2038,10 +1971,11 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2038
1971
|
var contentTypes = [];
|
|
2039
1972
|
var accepts = ['application/json'];
|
|
2040
1973
|
var returnType = {
|
|
2041
|
-
'String':
|
|
1974
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
2042
1975
|
};
|
|
2043
1976
|
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2044
1977
|
}
|
|
1978
|
+
|
|
2045
1979
|
/**
|
|
2046
1980
|
* Callback function to receive the result of the getObjectsInGraph operation.
|
|
2047
1981
|
* @callback module:api/GraphObjectsApi~getObjectsInGraphCallback
|
|
@@ -2054,23 +1988,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2054
1988
|
* Get objects in the graph
|
|
2055
1989
|
* @param {Number} id
|
|
2056
1990
|
* @param {Object} opts Optional parameters
|
|
2057
|
-
* @param {String}
|
|
2058
|
-
* @param {Number}
|
|
2059
|
-
* @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
|
|
2060
1994
|
* @param {module:api/GraphObjectsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2061
1995
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2062
1996
|
*/
|
|
2063
|
-
|
|
2064
1997
|
}, {
|
|
2065
1998
|
key: "getObjectsInGraph",
|
|
2066
1999
|
value: function getObjectsInGraph(id, opts, callback) {
|
|
2067
2000
|
opts = opts || {};
|
|
2068
|
-
var postBody = null;
|
|
2069
|
-
|
|
2001
|
+
var postBody = null;
|
|
2002
|
+
// verify the required parameter 'id' is set
|
|
2070
2003
|
if (id === undefined || id === null) {
|
|
2071
2004
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
|
|
2072
2005
|
}
|
|
2073
|
-
|
|
2074
2006
|
var pathParams = {
|
|
2075
2007
|
'id': id
|
|
2076
2008
|
};
|
|
@@ -2087,6 +2019,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2087
2019
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2088
2020
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2089
2021
|
}
|
|
2022
|
+
|
|
2090
2023
|
/**
|
|
2091
2024
|
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
2092
2025
|
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTagCallback
|
|
@@ -2100,28 +2033,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2100
2033
|
* @param {Number} id
|
|
2101
2034
|
* @param {String} tag
|
|
2102
2035
|
* @param {Object} opts Optional parameters
|
|
2103
|
-
* @param {String}
|
|
2104
|
-
* @param {Number}
|
|
2105
|
-
* @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
|
|
2106
2039
|
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2107
2040
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2108
2041
|
*/
|
|
2109
|
-
|
|
2110
2042
|
}, {
|
|
2111
2043
|
key: "getObjectsInGraphByTag",
|
|
2112
2044
|
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
2113
2045
|
opts = opts || {};
|
|
2114
|
-
var postBody = null;
|
|
2115
|
-
|
|
2046
|
+
var postBody = null;
|
|
2047
|
+
// verify the required parameter 'id' is set
|
|
2116
2048
|
if (id === undefined || id === null) {
|
|
2117
2049
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
2118
|
-
}
|
|
2119
|
-
|
|
2120
|
-
|
|
2050
|
+
}
|
|
2051
|
+
// verify the required parameter 'tag' is set
|
|
2121
2052
|
if (tag === undefined || tag === null) {
|
|
2122
2053
|
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
2123
2054
|
}
|
|
2124
|
-
|
|
2125
2055
|
var pathParams = {
|
|
2126
2056
|
'id': id,
|
|
2127
2057
|
'tag': tag
|
|
@@ -2139,6 +2069,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2139
2069
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2140
2070
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2141
2071
|
}
|
|
2072
|
+
|
|
2142
2073
|
/**
|
|
2143
2074
|
* Callback function to receive the result of the getObjectsInGraphByType operation.
|
|
2144
2075
|
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback
|
|
@@ -2152,28 +2083,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2152
2083
|
* @param {Number} id
|
|
2153
2084
|
* @param {String} type
|
|
2154
2085
|
* @param {Object} opts Optional parameters
|
|
2155
|
-
* @param {String}
|
|
2156
|
-
* @param {Number}
|
|
2157
|
-
* @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
|
|
2158
2089
|
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2159
2090
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2160
2091
|
*/
|
|
2161
|
-
|
|
2162
2092
|
}, {
|
|
2163
2093
|
key: "getObjectsInGraphByType",
|
|
2164
2094
|
value: function getObjectsInGraphByType(id, type, opts, callback) {
|
|
2165
2095
|
opts = opts || {};
|
|
2166
|
-
var postBody = null;
|
|
2167
|
-
|
|
2096
|
+
var postBody = null;
|
|
2097
|
+
// verify the required parameter 'id' is set
|
|
2168
2098
|
if (id === undefined || id === null) {
|
|
2169
2099
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
|
-
|
|
2100
|
+
}
|
|
2101
|
+
// verify the required parameter 'type' is set
|
|
2173
2102
|
if (type === undefined || type === null) {
|
|
2174
2103
|
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
2175
2104
|
}
|
|
2176
|
-
|
|
2177
2105
|
var pathParams = {
|
|
2178
2106
|
'id': id,
|
|
2179
2107
|
'type': type
|
|
@@ -2191,6 +2119,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2191
2119
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2192
2120
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2193
2121
|
}
|
|
2122
|
+
|
|
2194
2123
|
/**
|
|
2195
2124
|
* Callback function to receive the result of the getRelatedObjects operation.
|
|
2196
2125
|
* @callback module:api/GraphObjectsApi~getRelatedObjectsCallback
|
|
@@ -2205,28 +2134,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2205
2134
|
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2206
2135
|
* @param {Number} reltypeid The relationship type id
|
|
2207
2136
|
* @param {Object} opts Optional parameters
|
|
2208
|
-
* @param {String}
|
|
2209
|
-
* @param {Number}
|
|
2210
|
-
* @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
|
|
2211
2140
|
* @param {module:api/GraphObjectsApi~getRelatedObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2212
2141
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2213
2142
|
*/
|
|
2214
|
-
|
|
2215
2143
|
}, {
|
|
2216
2144
|
key: "getRelatedObjects",
|
|
2217
2145
|
value: function getRelatedObjects(objectid, reltypeid, opts, callback) {
|
|
2218
2146
|
opts = opts || {};
|
|
2219
|
-
var postBody = null;
|
|
2220
|
-
|
|
2147
|
+
var postBody = null;
|
|
2148
|
+
// verify the required parameter 'objectid' is set
|
|
2221
2149
|
if (objectid === undefined || objectid === null) {
|
|
2222
2150
|
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjects");
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2225
|
-
|
|
2151
|
+
}
|
|
2152
|
+
// verify the required parameter 'reltypeid' is set
|
|
2226
2153
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2227
2154
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjects");
|
|
2228
2155
|
}
|
|
2229
|
-
|
|
2230
2156
|
var pathParams = {
|
|
2231
2157
|
'objectid': objectid,
|
|
2232
2158
|
'reltypeid': reltypeid
|
|
@@ -2244,6 +2170,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2244
2170
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2245
2171
|
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2246
2172
|
}
|
|
2173
|
+
|
|
2247
2174
|
/**
|
|
2248
2175
|
* Callback function to receive the result of the getRelatedObjectsIn operation.
|
|
2249
2176
|
* @callback module:api/GraphObjectsApi~getRelatedObjectsInCallback
|
|
@@ -2258,28 +2185,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2258
2185
|
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2259
2186
|
* @param {Number} reltypeid The relationship type id
|
|
2260
2187
|
* @param {Object} opts Optional parameters
|
|
2261
|
-
* @param {String}
|
|
2262
|
-
* @param {Number}
|
|
2263
|
-
* @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
|
|
2264
2191
|
* @param {module:api/GraphObjectsApi~getRelatedObjectsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2265
2192
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2266
2193
|
*/
|
|
2267
|
-
|
|
2268
2194
|
}, {
|
|
2269
2195
|
key: "getRelatedObjectsIn",
|
|
2270
2196
|
value: function getRelatedObjectsIn(objectid, reltypeid, opts, callback) {
|
|
2271
2197
|
opts = opts || {};
|
|
2272
|
-
var postBody = null;
|
|
2273
|
-
|
|
2198
|
+
var postBody = null;
|
|
2199
|
+
// verify the required parameter 'objectid' is set
|
|
2274
2200
|
if (objectid === undefined || objectid === null) {
|
|
2275
2201
|
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsIn");
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
|
|
2202
|
+
}
|
|
2203
|
+
// verify the required parameter 'reltypeid' is set
|
|
2279
2204
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2280
2205
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsIn");
|
|
2281
2206
|
}
|
|
2282
|
-
|
|
2283
2207
|
var pathParams = {
|
|
2284
2208
|
'objectid': objectid,
|
|
2285
2209
|
'reltypeid': reltypeid
|
|
@@ -2297,6 +2221,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2297
2221
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2298
2222
|
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2299
2223
|
}
|
|
2224
|
+
|
|
2300
2225
|
/**
|
|
2301
2226
|
* Callback function to receive the result of the getRelatedObjectsOut operation.
|
|
2302
2227
|
* @callback module:api/GraphObjectsApi~getRelatedObjectsOutCallback
|
|
@@ -2311,28 +2236,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2311
2236
|
* @param {Number} objectid The id of the object that we are retrieving the related objects from
|
|
2312
2237
|
* @param {Number} reltypeid The relationship type id
|
|
2313
2238
|
* @param {Object} opts Optional parameters
|
|
2314
|
-
* @param {String}
|
|
2315
|
-
* @param {Number}
|
|
2316
|
-
* @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
|
|
2317
2242
|
* @param {module:api/GraphObjectsApi~getRelatedObjectsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2318
2243
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2319
2244
|
*/
|
|
2320
|
-
|
|
2321
2245
|
}, {
|
|
2322
2246
|
key: "getRelatedObjectsOut",
|
|
2323
2247
|
value: function getRelatedObjectsOut(objectid, reltypeid, opts, callback) {
|
|
2324
2248
|
opts = opts || {};
|
|
2325
|
-
var postBody = null;
|
|
2326
|
-
|
|
2249
|
+
var postBody = null;
|
|
2250
|
+
// verify the required parameter 'objectid' is set
|
|
2327
2251
|
if (objectid === undefined || objectid === null) {
|
|
2328
2252
|
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsOut");
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
|
|
2253
|
+
}
|
|
2254
|
+
// verify the required parameter 'reltypeid' is set
|
|
2332
2255
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2333
2256
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsOut");
|
|
2334
2257
|
}
|
|
2335
|
-
|
|
2336
2258
|
var pathParams = {
|
|
2337
2259
|
'objectid': objectid,
|
|
2338
2260
|
'reltypeid': reltypeid
|
|
@@ -2350,6 +2272,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2350
2272
|
var returnType = [_GraphObjectSchema["default"]];
|
|
2351
2273
|
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2352
2274
|
}
|
|
2275
|
+
|
|
2353
2276
|
/**
|
|
2354
2277
|
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
2355
2278
|
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
|
|
@@ -2364,28 +2287,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2364
2287
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2365
2288
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2366
2289
|
* @param {Object} opts Optional parameters
|
|
2367
|
-
* @param {String}
|
|
2368
|
-
* @param {Number}
|
|
2369
|
-
* @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
|
|
2370
2293
|
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2371
2294
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2372
2295
|
*/
|
|
2373
|
-
|
|
2374
2296
|
}, {
|
|
2375
2297
|
key: "getRelationshipsByTypeIn",
|
|
2376
2298
|
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
2377
2299
|
opts = opts || {};
|
|
2378
|
-
var postBody = null;
|
|
2379
|
-
|
|
2300
|
+
var postBody = null;
|
|
2301
|
+
// verify the required parameter 'id' is set
|
|
2380
2302
|
if (id === undefined || id === null) {
|
|
2381
2303
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
|
|
2304
|
+
}
|
|
2305
|
+
// verify the required parameter 'reltypeid' is set
|
|
2385
2306
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2386
2307
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
2387
2308
|
}
|
|
2388
|
-
|
|
2389
2309
|
var pathParams = {
|
|
2390
2310
|
'id': id,
|
|
2391
2311
|
'reltypeid': reltypeid
|
|
@@ -2403,6 +2323,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2403
2323
|
var returnType = [_GraphRelationship["default"]];
|
|
2404
2324
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2405
2325
|
}
|
|
2326
|
+
|
|
2406
2327
|
/**
|
|
2407
2328
|
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
2408
2329
|
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
|
|
@@ -2417,28 +2338,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2417
2338
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2418
2339
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2419
2340
|
* @param {Object} opts Optional parameters
|
|
2420
|
-
* @param {String}
|
|
2421
|
-
* @param {Number}
|
|
2422
|
-
* @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
|
|
2423
2344
|
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2424
2345
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2425
2346
|
*/
|
|
2426
|
-
|
|
2427
2347
|
}, {
|
|
2428
2348
|
key: "getRelationshipsByTypeOut",
|
|
2429
2349
|
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
2430
2350
|
opts = opts || {};
|
|
2431
|
-
var postBody = null;
|
|
2432
|
-
|
|
2351
|
+
var postBody = null;
|
|
2352
|
+
// verify the required parameter 'id' is set
|
|
2433
2353
|
if (id === undefined || id === null) {
|
|
2434
2354
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
2435
|
-
}
|
|
2436
|
-
|
|
2437
|
-
|
|
2355
|
+
}
|
|
2356
|
+
// verify the required parameter 'reltypeid' is set
|
|
2438
2357
|
if (reltypeid === undefined || reltypeid === null) {
|
|
2439
2358
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
2440
2359
|
}
|
|
2441
|
-
|
|
2442
2360
|
var pathParams = {
|
|
2443
2361
|
'id': id,
|
|
2444
2362
|
'reltypeid': reltypeid
|
|
@@ -2456,6 +2374,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2456
2374
|
var returnType = [_GraphRelationship["default"]];
|
|
2457
2375
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2458
2376
|
}
|
|
2377
|
+
|
|
2459
2378
|
/**
|
|
2460
2379
|
* Callback function to receive the result of the getRelationshipsIn operation.
|
|
2461
2380
|
* @callback module:api/GraphObjectsApi~getRelationshipsInCallback
|
|
@@ -2469,23 +2388,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2469
2388
|
* Returns a listing of relationships
|
|
2470
2389
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2471
2390
|
* @param {Object} opts Optional parameters
|
|
2472
|
-
* @param {String}
|
|
2473
|
-
* @param {Number}
|
|
2474
|
-
* @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
|
|
2475
2394
|
* @param {module:api/GraphObjectsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2476
2395
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2477
2396
|
*/
|
|
2478
|
-
|
|
2479
2397
|
}, {
|
|
2480
2398
|
key: "getRelationshipsIn",
|
|
2481
2399
|
value: function getRelationshipsIn(id, opts, callback) {
|
|
2482
2400
|
opts = opts || {};
|
|
2483
|
-
var postBody = null;
|
|
2484
|
-
|
|
2401
|
+
var postBody = null;
|
|
2402
|
+
// verify the required parameter 'id' is set
|
|
2485
2403
|
if (id === undefined || id === null) {
|
|
2486
2404
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
2487
2405
|
}
|
|
2488
|
-
|
|
2489
2406
|
var pathParams = {
|
|
2490
2407
|
'id': id
|
|
2491
2408
|
};
|
|
@@ -2502,6 +2419,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2502
2419
|
var returnType = [_GraphRelationship["default"]];
|
|
2503
2420
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2504
2421
|
}
|
|
2422
|
+
|
|
2505
2423
|
/**
|
|
2506
2424
|
* Callback function to receive the result of the getRelationshipsOut operation.
|
|
2507
2425
|
* @callback module:api/GraphObjectsApi~getRelationshipsOutCallback
|
|
@@ -2515,23 +2433,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2515
2433
|
* Returns a listing of relationships
|
|
2516
2434
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2517
2435
|
* @param {Object} opts Optional parameters
|
|
2518
|
-
* @param {String}
|
|
2519
|
-
* @param {Number}
|
|
2520
|
-
* @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
|
|
2521
2439
|
* @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2522
2440
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2523
2441
|
*/
|
|
2524
|
-
|
|
2525
2442
|
}, {
|
|
2526
2443
|
key: "getRelationshipsOut",
|
|
2527
2444
|
value: function getRelationshipsOut(id, opts, callback) {
|
|
2528
2445
|
opts = opts || {};
|
|
2529
|
-
var postBody = null;
|
|
2530
|
-
|
|
2446
|
+
var postBody = null;
|
|
2447
|
+
// verify the required parameter 'id' is set
|
|
2531
2448
|
if (id === undefined || id === null) {
|
|
2532
2449
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
2533
2450
|
}
|
|
2534
|
-
|
|
2535
2451
|
var pathParams = {
|
|
2536
2452
|
'id': id
|
|
2537
2453
|
};
|
|
@@ -2548,34 +2464,33 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2548
2464
|
var returnType = [_GraphRelationship["default"]];
|
|
2549
2465
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2550
2466
|
}
|
|
2467
|
+
|
|
2551
2468
|
/**
|
|
2552
2469
|
* Callback function to receive the result of the getTags operation.
|
|
2553
2470
|
* @callback module:api/GraphObjectsApi~getTagsCallback
|
|
2554
2471
|
* @param {String} error Error message, if any.
|
|
2555
|
-
* @param {module:model/
|
|
2472
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2556
2473
|
* @param {String} response The complete HTTP response.
|
|
2557
2474
|
*/
|
|
2558
2475
|
|
|
2559
2476
|
/**
|
|
2560
2477
|
* @param {Number} id
|
|
2561
2478
|
* @param {Object} opts Optional parameters
|
|
2562
|
-
* @param {String}
|
|
2563
|
-
* @param {Number}
|
|
2564
|
-
* @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
|
|
2565
2482
|
* @param {module:api/GraphObjectsApi~getTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2566
|
-
* data is of type: {@link module:model/
|
|
2483
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2567
2484
|
*/
|
|
2568
|
-
|
|
2569
2485
|
}, {
|
|
2570
2486
|
key: "getTags",
|
|
2571
2487
|
value: function getTags(id, opts, callback) {
|
|
2572
2488
|
opts = opts || {};
|
|
2573
|
-
var postBody = null;
|
|
2574
|
-
|
|
2489
|
+
var postBody = null;
|
|
2490
|
+
// verify the required parameter 'id' is set
|
|
2575
2491
|
if (id === undefined || id === null) {
|
|
2576
2492
|
throw new Error("Missing the required parameter 'id' when calling getTags");
|
|
2577
2493
|
}
|
|
2578
|
-
|
|
2579
2494
|
var pathParams = {
|
|
2580
2495
|
'id': id
|
|
2581
2496
|
};
|
|
@@ -2589,9 +2504,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2589
2504
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2590
2505
|
var contentTypes = [];
|
|
2591
2506
|
var accepts = ['application/json'];
|
|
2592
|
-
var returnType =
|
|
2507
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
2593
2508
|
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2594
2509
|
}
|
|
2510
|
+
|
|
2595
2511
|
/**
|
|
2596
2512
|
* Callback function to receive the result of the getUserTags operation.
|
|
2597
2513
|
* @callback module:api/GraphObjectsApi~getUserTagsCallback
|
|
@@ -2603,23 +2519,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2603
2519
|
/**
|
|
2604
2520
|
* @param {Number} id
|
|
2605
2521
|
* @param {Object} opts Optional parameters
|
|
2606
|
-
* @param {String}
|
|
2607
|
-
* @param {Number}
|
|
2608
|
-
* @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
|
|
2609
2525
|
* @param {module:api/GraphObjectsApi~getUserTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2610
2526
|
* data is of type: {@link Array.<String>}
|
|
2611
2527
|
*/
|
|
2612
|
-
|
|
2613
2528
|
}, {
|
|
2614
2529
|
key: "getUserTags",
|
|
2615
2530
|
value: function getUserTags(id, opts, callback) {
|
|
2616
2531
|
opts = opts || {};
|
|
2617
|
-
var postBody = null;
|
|
2618
|
-
|
|
2532
|
+
var postBody = null;
|
|
2533
|
+
// verify the required parameter 'id' is set
|
|
2619
2534
|
if (id === undefined || id === null) {
|
|
2620
2535
|
throw new Error("Missing the required parameter 'id' when calling getUserTags");
|
|
2621
2536
|
}
|
|
2622
|
-
|
|
2623
2537
|
var pathParams = {
|
|
2624
2538
|
'id': id
|
|
2625
2539
|
};
|
|
@@ -2636,6 +2550,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2636
2550
|
var returnType = ['String'];
|
|
2637
2551
|
return this.apiClient.callApi('/graph/data/object/{id}/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2638
2552
|
}
|
|
2553
|
+
|
|
2639
2554
|
/**
|
|
2640
2555
|
* Callback function to receive the result of the getVideos operation.
|
|
2641
2556
|
* @callback module:api/GraphObjectsApi~getVideosCallback
|
|
@@ -2647,23 +2562,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2647
2562
|
/**
|
|
2648
2563
|
* @param {Number} id
|
|
2649
2564
|
* @param {Object} opts Optional parameters
|
|
2650
|
-
* @param {String}
|
|
2651
|
-
* @param {Number}
|
|
2652
|
-
* @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
|
|
2653
2568
|
* @param {module:api/GraphObjectsApi~getVideosCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2654
2569
|
* data is of type: {@link Array.<module:model/Video>}
|
|
2655
2570
|
*/
|
|
2656
|
-
|
|
2657
2571
|
}, {
|
|
2658
2572
|
key: "getVideos",
|
|
2659
2573
|
value: function getVideos(id, opts, callback) {
|
|
2660
2574
|
opts = opts || {};
|
|
2661
|
-
var postBody = null;
|
|
2662
|
-
|
|
2575
|
+
var postBody = null;
|
|
2576
|
+
// verify the required parameter 'id' is set
|
|
2663
2577
|
if (id === undefined || id === null) {
|
|
2664
2578
|
throw new Error("Missing the required parameter 'id' when calling getVideos");
|
|
2665
2579
|
}
|
|
2666
|
-
|
|
2667
2580
|
var pathParams = {
|
|
2668
2581
|
'id': id
|
|
2669
2582
|
};
|
|
@@ -2680,6 +2593,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2680
2593
|
var returnType = [_Video["default"]];
|
|
2681
2594
|
return this.apiClient.callApi('/graph/data/object/{id}/videos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2682
2595
|
}
|
|
2596
|
+
|
|
2683
2597
|
/**
|
|
2684
2598
|
* Callback function to receive the result of the isDisliked operation.
|
|
2685
2599
|
* @callback module:api/GraphObjectsApi~isDislikedCallback
|
|
@@ -2693,23 +2607,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2693
2607
|
* Checks if the user has disliked the object
|
|
2694
2608
|
* @param {Number} objectid
|
|
2695
2609
|
* @param {Object} opts Optional parameters
|
|
2696
|
-
* @param {String}
|
|
2697
|
-
* @param {Number}
|
|
2698
|
-
* @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
|
|
2699
2613
|
* @param {module:api/GraphObjectsApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2700
2614
|
* data is of type: {@link Boolean}
|
|
2701
2615
|
*/
|
|
2702
|
-
|
|
2703
2616
|
}, {
|
|
2704
2617
|
key: "isDisliked",
|
|
2705
2618
|
value: function isDisliked(objectid, opts, callback) {
|
|
2706
2619
|
opts = opts || {};
|
|
2707
|
-
var postBody = null;
|
|
2708
|
-
|
|
2620
|
+
var postBody = null;
|
|
2621
|
+
// verify the required parameter 'objectid' is set
|
|
2709
2622
|
if (objectid === undefined || objectid === null) {
|
|
2710
2623
|
throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
|
|
2711
2624
|
}
|
|
2712
|
-
|
|
2713
2625
|
var pathParams = {
|
|
2714
2626
|
'objectid': objectid
|
|
2715
2627
|
};
|
|
@@ -2726,6 +2638,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2726
2638
|
var returnType = 'Boolean';
|
|
2727
2639
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2728
2640
|
}
|
|
2641
|
+
|
|
2729
2642
|
/**
|
|
2730
2643
|
* Callback function to receive the result of the isLiked operation.
|
|
2731
2644
|
* @callback module:api/GraphObjectsApi~isLikedCallback
|
|
@@ -2739,23 +2652,21 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2739
2652
|
* Checks if the user has liked the object
|
|
2740
2653
|
* @param {Number} objectid
|
|
2741
2654
|
* @param {Object} opts Optional parameters
|
|
2742
|
-
* @param {String}
|
|
2743
|
-
* @param {Number}
|
|
2744
|
-
* @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
|
|
2745
2658
|
* @param {module:api/GraphObjectsApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2746
2659
|
* data is of type: {@link Boolean}
|
|
2747
2660
|
*/
|
|
2748
|
-
|
|
2749
2661
|
}, {
|
|
2750
2662
|
key: "isLiked",
|
|
2751
2663
|
value: function isLiked(objectid, opts, callback) {
|
|
2752
2664
|
opts = opts || {};
|
|
2753
|
-
var postBody = null;
|
|
2754
|
-
|
|
2665
|
+
var postBody = null;
|
|
2666
|
+
// verify the required parameter 'objectid' is set
|
|
2755
2667
|
if (objectid === undefined || objectid === null) {
|
|
2756
2668
|
throw new Error("Missing the required parameter 'objectid' when calling isLiked");
|
|
2757
2669
|
}
|
|
2758
|
-
|
|
2759
2670
|
var pathParams = {
|
|
2760
2671
|
'objectid': objectid
|
|
2761
2672
|
};
|
|
@@ -2772,6 +2683,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2772
2683
|
var returnType = 'Boolean';
|
|
2773
2684
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2774
2685
|
}
|
|
2686
|
+
|
|
2775
2687
|
/**
|
|
2776
2688
|
* Callback function to receive the result of the like operation.
|
|
2777
2689
|
* @callback module:api/GraphObjectsApi~likeCallback
|
|
@@ -2785,22 +2697,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2785
2697
|
* Likes an object
|
|
2786
2698
|
* @param {Number} objectid
|
|
2787
2699
|
* @param {Object} opts Optional parameters
|
|
2788
|
-
* @param {String}
|
|
2789
|
-
* @param {Number}
|
|
2790
|
-
* @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
|
|
2791
2703
|
* @param {module:api/GraphObjectsApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2792
2704
|
*/
|
|
2793
|
-
|
|
2794
2705
|
}, {
|
|
2795
2706
|
key: "like",
|
|
2796
2707
|
value: function like(objectid, opts, callback) {
|
|
2797
2708
|
opts = opts || {};
|
|
2798
|
-
var postBody = null;
|
|
2799
|
-
|
|
2709
|
+
var postBody = null;
|
|
2710
|
+
// verify the required parameter 'objectid' is set
|
|
2800
2711
|
if (objectid === undefined || objectid === null) {
|
|
2801
2712
|
throw new Error("Missing the required parameter 'objectid' when calling like");
|
|
2802
2713
|
}
|
|
2803
|
-
|
|
2804
2714
|
var pathParams = {
|
|
2805
2715
|
'objectid': objectid
|
|
2806
2716
|
};
|
|
@@ -2817,6 +2727,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2817
2727
|
var returnType = null;
|
|
2818
2728
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2819
2729
|
}
|
|
2730
|
+
|
|
2820
2731
|
/**
|
|
2821
2732
|
* Callback function to receive the result of the setObjectProperties operation.
|
|
2822
2733
|
* @callback module:api/GraphObjectsApi~setObjectPropertiesCallback
|
|
@@ -2829,29 +2740,26 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2829
2740
|
* Set Multiple Properties
|
|
2830
2741
|
* Set multiple properties attaced to an object / record
|
|
2831
2742
|
* @param {Number} id The id of the object whose properties we are updating
|
|
2832
|
-
* @param {Object.<String, {String:
|
|
2743
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} requestBody The properties and values to set on the object
|
|
2833
2744
|
* @param {Object} opts Optional parameters
|
|
2834
|
-
* @param {String}
|
|
2835
|
-
* @param {Number}
|
|
2836
|
-
* @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
|
|
2837
2748
|
* @param {module:api/GraphObjectsApi~setObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2838
2749
|
*/
|
|
2839
|
-
|
|
2840
2750
|
}, {
|
|
2841
2751
|
key: "setObjectProperties",
|
|
2842
2752
|
value: function setObjectProperties(id, requestBody, opts, callback) {
|
|
2843
2753
|
opts = opts || {};
|
|
2844
|
-
var postBody = requestBody;
|
|
2845
|
-
|
|
2754
|
+
var postBody = requestBody;
|
|
2755
|
+
// verify the required parameter 'id' is set
|
|
2846
2756
|
if (id === undefined || id === null) {
|
|
2847
2757
|
throw new Error("Missing the required parameter 'id' when calling setObjectProperties");
|
|
2848
|
-
}
|
|
2849
|
-
|
|
2850
|
-
|
|
2758
|
+
}
|
|
2759
|
+
// verify the required parameter 'requestBody' is set
|
|
2851
2760
|
if (requestBody === undefined || requestBody === null) {
|
|
2852
2761
|
throw new Error("Missing the required parameter 'requestBody' when calling setObjectProperties");
|
|
2853
2762
|
}
|
|
2854
|
-
|
|
2855
2763
|
var pathParams = {
|
|
2856
2764
|
'id': id
|
|
2857
2765
|
};
|
|
@@ -2868,6 +2776,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2868
2776
|
var returnType = null;
|
|
2869
2777
|
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2870
2778
|
}
|
|
2779
|
+
|
|
2871
2780
|
/**
|
|
2872
2781
|
* Callback function to receive the result of the setObjectProperty operation.
|
|
2873
2782
|
* @callback module:api/GraphObjectsApi~setObjectPropertyCallback
|
|
@@ -2882,28 +2791,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2882
2791
|
* @param {Number} id The id of the object whose properties we are updating
|
|
2883
2792
|
* @param {String} prop The property being updated
|
|
2884
2793
|
* @param {Object} opts Optional parameters
|
|
2885
|
-
* @param {String}
|
|
2886
|
-
* @param {Number}
|
|
2887
|
-
* @param {String}
|
|
2888
|
-
* @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
|
|
2889
2798
|
* @param {module:api/GraphObjectsApi~setObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2890
2799
|
*/
|
|
2891
|
-
|
|
2892
2800
|
}, {
|
|
2893
2801
|
key: "setObjectProperty",
|
|
2894
2802
|
value: function setObjectProperty(id, prop, opts, callback) {
|
|
2895
2803
|
opts = opts || {};
|
|
2896
|
-
var postBody = opts['body'];
|
|
2897
|
-
|
|
2804
|
+
var postBody = opts['body'];
|
|
2805
|
+
// verify the required parameter 'id' is set
|
|
2898
2806
|
if (id === undefined || id === null) {
|
|
2899
2807
|
throw new Error("Missing the required parameter 'id' when calling setObjectProperty");
|
|
2900
|
-
}
|
|
2901
|
-
|
|
2902
|
-
|
|
2808
|
+
}
|
|
2809
|
+
// verify the required parameter 'prop' is set
|
|
2903
2810
|
if (prop === undefined || prop === null) {
|
|
2904
2811
|
throw new Error("Missing the required parameter 'prop' when calling setObjectProperty");
|
|
2905
2812
|
}
|
|
2906
|
-
|
|
2907
2813
|
var pathParams = {
|
|
2908
2814
|
'id': id,
|
|
2909
2815
|
'prop': prop
|
|
@@ -2921,6 +2827,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2921
2827
|
var returnType = null;
|
|
2922
2828
|
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2923
2829
|
}
|
|
2830
|
+
|
|
2924
2831
|
/**
|
|
2925
2832
|
* Callback function to receive the result of the tagUsers operation.
|
|
2926
2833
|
* @callback module:api/GraphObjectsApi~tagUsersCallback
|
|
@@ -2932,24 +2839,22 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2932
2839
|
/**
|
|
2933
2840
|
* @param {Number} id
|
|
2934
2841
|
* @param {Object} opts Optional parameters
|
|
2935
|
-
* @param {String}
|
|
2936
|
-
* @param {Number}
|
|
2937
|
-
* @param {String}
|
|
2938
|
-
* @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]
|
|
2939
2846
|
* @param {module:api/GraphObjectsApi~tagUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2940
2847
|
* data is of type: {@link Array.<module:model/UserTag>}
|
|
2941
2848
|
*/
|
|
2942
|
-
|
|
2943
2849
|
}, {
|
|
2944
2850
|
key: "tagUsers",
|
|
2945
2851
|
value: function tagUsers(id, opts, callback) {
|
|
2946
2852
|
opts = opts || {};
|
|
2947
|
-
var postBody = opts['
|
|
2948
|
-
|
|
2853
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
2854
|
+
// verify the required parameter 'id' is set
|
|
2949
2855
|
if (id === undefined || id === null) {
|
|
2950
2856
|
throw new Error("Missing the required parameter 'id' when calling tagUsers");
|
|
2951
2857
|
}
|
|
2952
|
-
|
|
2953
2858
|
var pathParams = {
|
|
2954
2859
|
'id': id
|
|
2955
2860
|
};
|
|
@@ -2966,11 +2871,12 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2966
2871
|
var returnType = [_UserTag["default"]];
|
|
2967
2872
|
return this.apiClient.callApi('/graph/data/object/{id}/tagusers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2968
2873
|
}
|
|
2874
|
+
|
|
2969
2875
|
/**
|
|
2970
2876
|
* Callback function to receive the result of the updateObject operation.
|
|
2971
2877
|
* @callback module:api/GraphObjectsApi~updateObjectCallback
|
|
2972
2878
|
* @param {String} error Error message, if any.
|
|
2973
|
-
* @param {module:model/
|
|
2879
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
2974
2880
|
* @param {String} response The complete HTTP response.
|
|
2975
2881
|
*/
|
|
2976
2882
|
|
|
@@ -2980,28 +2886,25 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
2980
2886
|
* @param {Number} id The id of the object that we are updating
|
|
2981
2887
|
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject data object to update
|
|
2982
2888
|
* @param {Object} opts Optional parameters
|
|
2983
|
-
* @param {String}
|
|
2984
|
-
* @param {Number}
|
|
2985
|
-
* @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
|
|
2986
2892
|
* @param {module:api/GraphObjectsApi~updateObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2987
|
-
* data is of type: {@link module:model/
|
|
2893
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
2988
2894
|
*/
|
|
2989
|
-
|
|
2990
2895
|
}, {
|
|
2991
2896
|
key: "updateObject",
|
|
2992
2897
|
value: function updateObject(id, graphObjectPayload, opts, callback) {
|
|
2993
2898
|
opts = opts || {};
|
|
2994
|
-
var postBody = graphObjectPayload;
|
|
2995
|
-
|
|
2899
|
+
var postBody = graphObjectPayload;
|
|
2900
|
+
// verify the required parameter 'id' is set
|
|
2996
2901
|
if (id === undefined || id === null) {
|
|
2997
2902
|
throw new Error("Missing the required parameter 'id' when calling updateObject");
|
|
2998
|
-
}
|
|
2999
|
-
|
|
3000
|
-
|
|
2903
|
+
}
|
|
2904
|
+
// verify the required parameter 'graphObjectPayload' is set
|
|
3001
2905
|
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
3002
2906
|
throw new Error("Missing the required parameter 'graphObjectPayload' when calling updateObject");
|
|
3003
2907
|
}
|
|
3004
|
-
|
|
3005
2908
|
var pathParams = {
|
|
3006
2909
|
'id': id
|
|
3007
2910
|
};
|
|
@@ -3015,9 +2918,10 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3015
2918
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3016
2919
|
var contentTypes = [];
|
|
3017
2920
|
var accepts = ['application/json'];
|
|
3018
|
-
var returnType =
|
|
2921
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
3019
2922
|
return this.apiClient.callApi('/graph/data/object/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3020
2923
|
}
|
|
2924
|
+
|
|
3021
2925
|
/**
|
|
3022
2926
|
* Callback function to receive the result of the updateTags operation.
|
|
3023
2927
|
* @callback module:api/GraphObjectsApi~updateTagsCallback
|
|
@@ -3030,27 +2934,24 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3030
2934
|
* @param {Number} id The id of the object whose tags we are updating
|
|
3031
2935
|
* @param {String} body Conversation object or array of objects to create
|
|
3032
2936
|
* @param {Object} opts Optional parameters
|
|
3033
|
-
* @param {String}
|
|
3034
|
-
* @param {Number}
|
|
3035
|
-
* @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
|
|
3036
2940
|
* @param {module:api/GraphObjectsApi~updateTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3037
2941
|
*/
|
|
3038
|
-
|
|
3039
2942
|
}, {
|
|
3040
2943
|
key: "updateTags",
|
|
3041
2944
|
value: function updateTags(id, body, opts, callback) {
|
|
3042
2945
|
opts = opts || {};
|
|
3043
|
-
var postBody = body;
|
|
3044
|
-
|
|
2946
|
+
var postBody = body;
|
|
2947
|
+
// verify the required parameter 'id' is set
|
|
3045
2948
|
if (id === undefined || id === null) {
|
|
3046
2949
|
throw new Error("Missing the required parameter 'id' when calling updateTags");
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
|
|
2950
|
+
}
|
|
2951
|
+
// verify the required parameter 'body' is set
|
|
3050
2952
|
if (body === undefined || body === null) {
|
|
3051
2953
|
throw new Error("Missing the required parameter 'body' when calling updateTags");
|
|
3052
2954
|
}
|
|
3053
|
-
|
|
3054
2955
|
var pathParams = {
|
|
3055
2956
|
'id': id
|
|
3056
2957
|
};
|
|
@@ -3067,6 +2968,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3067
2968
|
var returnType = null;
|
|
3068
2969
|
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3069
2970
|
}
|
|
2971
|
+
|
|
3070
2972
|
/**
|
|
3071
2973
|
* Callback function to receive the result of the view operation.
|
|
3072
2974
|
* @callback module:api/GraphObjectsApi~viewCallback
|
|
@@ -3080,22 +2982,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3080
2982
|
* Marks the object as viewed by the logged in user
|
|
3081
2983
|
* @param {Number} objectid The id of the object being viewed
|
|
3082
2984
|
* @param {Object} opts Optional parameters
|
|
3083
|
-
* @param {String}
|
|
3084
|
-
* @param {Number}
|
|
3085
|
-
* @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
|
|
3086
2988
|
* @param {module:api/GraphObjectsApi~viewCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3087
2989
|
*/
|
|
3088
|
-
|
|
3089
2990
|
}, {
|
|
3090
2991
|
key: "view",
|
|
3091
2992
|
value: function view(objectid, opts, callback) {
|
|
3092
2993
|
opts = opts || {};
|
|
3093
|
-
var postBody = null;
|
|
3094
|
-
|
|
2994
|
+
var postBody = null;
|
|
2995
|
+
// verify the required parameter 'objectid' is set
|
|
3095
2996
|
if (objectid === undefined || objectid === null) {
|
|
3096
2997
|
throw new Error("Missing the required parameter 'objectid' when calling view");
|
|
3097
2998
|
}
|
|
3098
|
-
|
|
3099
2999
|
var pathParams = {
|
|
3100
3000
|
'objectid': objectid
|
|
3101
3001
|
};
|
|
@@ -3112,6 +3012,7 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3112
3012
|
var returnType = null;
|
|
3113
3013
|
return this.apiClient.callApi('/graph/data/object/{objectid}/view', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3114
3014
|
}
|
|
3015
|
+
|
|
3115
3016
|
/**
|
|
3116
3017
|
* Callback function to receive the result of the viewPost operation.
|
|
3117
3018
|
* @callback module:api/GraphObjectsApi~viewPostCallback
|
|
@@ -3125,22 +3026,20 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3125
3026
|
* Marks the object as viewed by the logged in user
|
|
3126
3027
|
* @param {Number} id The id of the object being viewed
|
|
3127
3028
|
* @param {Object} opts Optional parameters
|
|
3128
|
-
* @param {String}
|
|
3129
|
-
* @param {Number}
|
|
3130
|
-
* @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
|
|
3131
3032
|
* @param {module:api/GraphObjectsApi~viewPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3132
3033
|
*/
|
|
3133
|
-
|
|
3134
3034
|
}, {
|
|
3135
3035
|
key: "viewPost",
|
|
3136
3036
|
value: function viewPost(id, opts, callback) {
|
|
3137
3037
|
opts = opts || {};
|
|
3138
|
-
var postBody = null;
|
|
3139
|
-
|
|
3038
|
+
var postBody = null;
|
|
3039
|
+
// verify the required parameter 'id' is set
|
|
3140
3040
|
if (id === undefined || id === null) {
|
|
3141
3041
|
throw new Error("Missing the required parameter 'id' when calling viewPost");
|
|
3142
3042
|
}
|
|
3143
|
-
|
|
3144
3043
|
var pathParams = {
|
|
3145
3044
|
'id': id
|
|
3146
3045
|
};
|
|
@@ -3158,8 +3057,5 @@ var GraphObjectsApi = /*#__PURE__*/function () {
|
|
|
3158
3057
|
return this.apiClient.callApi('/graph/data/object/{id}/view', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3159
3058
|
}
|
|
3160
3059
|
}]);
|
|
3161
|
-
|
|
3162
3060
|
return GraphObjectsApi;
|
|
3163
|
-
}();
|
|
3164
|
-
|
|
3165
|
-
exports["default"] = GraphObjectsApi;
|
|
3061
|
+
}();
|