@gobodo/gobodo-api 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +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 +70 -50
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +68 -56
- 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 +141 -104
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +126 -81
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +84 -61
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +89 -104
- package/dist/model/File.js +61 -47
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +84 -76
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +80 -39
- package/dist/model/GraphObjectSchema.js +97 -69
- package/dist/model/GraphObjectType.js +97 -73
- package/dist/model/GraphObjectTypeSchema.js +116 -73
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +106 -86
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +81 -63
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +73 -45
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +104 -64
- 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 +110 -70
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +80 -66
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +44 -31
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +89 -104
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +104 -64
- package/dist/model/UserDataPayload.js +104 -64
- 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 +104 -64
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +107 -88
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +125 -101
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
|
@@ -4,31 +4,35 @@ 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 _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
11
|
-
|
|
12
9
|
var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
|
|
13
|
-
|
|
14
10
|
var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
|
|
15
|
-
|
|
16
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject1"));
|
|
17
|
-
|
|
11
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
18
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
13
|
+
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); }
|
|
20
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Gobodo API
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.6
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
26
30
|
/**
|
|
27
31
|
* GraphRelationships service.
|
|
28
32
|
* @module api/GraphRelationshipsApi
|
|
29
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.6
|
|
30
34
|
*/
|
|
31
|
-
var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
35
|
+
var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
36
|
/**
|
|
33
37
|
* Constructs a new GraphRelationshipsApi.
|
|
34
38
|
* @alias module:api/GraphRelationshipsApi
|
|
@@ -38,39 +42,36 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
38
42
|
*/
|
|
39
43
|
function GraphRelationshipsApi(apiClient) {
|
|
40
44
|
_classCallCheck(this, GraphRelationshipsApi);
|
|
41
|
-
|
|
42
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
46
|
}
|
|
47
|
+
|
|
44
48
|
/**
|
|
45
49
|
* Callback function to receive the result of the addEndObjectTypes1 operation.
|
|
46
50
|
* @callback module:api/GraphRelationshipsApi~addEndObjectTypes1Callback
|
|
47
51
|
* @param {String} error Error message, if any.
|
|
48
|
-
* @param {module:model/
|
|
52
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
49
53
|
* @param {String} response The complete HTTP response.
|
|
50
54
|
*/
|
|
51
55
|
|
|
52
56
|
/**
|
|
53
57
|
* @param {Number} id
|
|
54
58
|
* @param {Object} opts Optional parameters
|
|
55
|
-
* @param {String}
|
|
56
|
-
* @param {Number}
|
|
57
|
-
* @param {String}
|
|
58
|
-
* @param {String}
|
|
59
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
60
|
+
* @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
|
|
61
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
62
|
+
* @param {String} [body]
|
|
59
63
|
* @param {module:api/GraphRelationshipsApi~addEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
60
|
-
* data is of type: {@link module:model/
|
|
64
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
61
65
|
*/
|
|
62
|
-
|
|
63
|
-
|
|
64
66
|
_createClass(GraphRelationshipsApi, [{
|
|
65
67
|
key: "addEndObjectTypes1",
|
|
66
68
|
value: function addEndObjectTypes1(id, opts, callback) {
|
|
67
69
|
opts = opts || {};
|
|
68
|
-
var postBody = opts['body'];
|
|
69
|
-
|
|
70
|
+
var postBody = opts['body'];
|
|
71
|
+
// verify the required parameter 'id' is set
|
|
70
72
|
if (id === undefined || id === null) {
|
|
71
73
|
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
|
|
72
74
|
}
|
|
73
|
-
|
|
74
75
|
var pathParams = {
|
|
75
76
|
'id': id
|
|
76
77
|
};
|
|
@@ -84,38 +85,37 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
84
85
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
85
86
|
var contentTypes = ['application/json'];
|
|
86
87
|
var accepts = ['application/json'];
|
|
87
|
-
var returnType =
|
|
88
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
88
89
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
89
90
|
}
|
|
91
|
+
|
|
90
92
|
/**
|
|
91
93
|
* Callback function to receive the result of the addStartObjectTypes operation.
|
|
92
94
|
* @callback module:api/GraphRelationshipsApi~addStartObjectTypesCallback
|
|
93
95
|
* @param {String} error Error message, if any.
|
|
94
|
-
* @param {module:model/
|
|
96
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
95
97
|
* @param {String} response The complete HTTP response.
|
|
96
98
|
*/
|
|
97
99
|
|
|
98
100
|
/**
|
|
99
101
|
* @param {Number} id
|
|
100
102
|
* @param {Object} opts Optional parameters
|
|
101
|
-
* @param {String}
|
|
102
|
-
* @param {Number}
|
|
103
|
-
* @param {String}
|
|
104
|
-
* @param {String}
|
|
103
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
104
|
+
* @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
|
|
105
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
106
|
+
* @param {String} [body]
|
|
105
107
|
* @param {module:api/GraphRelationshipsApi~addStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
106
|
-
* data is of type: {@link module:model/
|
|
108
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
107
109
|
*/
|
|
108
|
-
|
|
109
110
|
}, {
|
|
110
111
|
key: "addStartObjectTypes",
|
|
111
112
|
value: function addStartObjectTypes(id, opts, callback) {
|
|
112
113
|
opts = opts || {};
|
|
113
|
-
var postBody = opts['body'];
|
|
114
|
-
|
|
114
|
+
var postBody = opts['body'];
|
|
115
|
+
// verify the required parameter 'id' is set
|
|
115
116
|
if (id === undefined || id === null) {
|
|
116
117
|
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
117
118
|
}
|
|
118
|
-
|
|
119
119
|
var pathParams = {
|
|
120
120
|
'id': id
|
|
121
121
|
};
|
|
@@ -129,9 +129,10 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
129
129
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
130
130
|
var contentTypes = ['application/json'];
|
|
131
131
|
var accepts = ['application/json'];
|
|
132
|
-
var returnType =
|
|
132
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
133
133
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
134
134
|
}
|
|
135
|
+
|
|
135
136
|
/**
|
|
136
137
|
* Callback function to receive the result of the createRelationship operation.
|
|
137
138
|
* @callback module:api/GraphRelationshipsApi~createRelationshipCallback
|
|
@@ -146,28 +147,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
146
147
|
* @param {Number} id The id of the object that we are creating relationships on
|
|
147
148
|
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
148
149
|
* @param {Object} opts Optional parameters
|
|
149
|
-
* @param {String}
|
|
150
|
-
* @param {Number}
|
|
151
|
-
* @param {String}
|
|
150
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
151
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
152
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
152
153
|
* @param {module:api/GraphRelationshipsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
153
154
|
* data is of type: {@link module:model/GraphRelationship}
|
|
154
155
|
*/
|
|
155
|
-
|
|
156
156
|
}, {
|
|
157
157
|
key: "createRelationship",
|
|
158
158
|
value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
|
|
159
159
|
opts = opts || {};
|
|
160
|
-
var postBody = graphRelationshipPayload;
|
|
161
|
-
|
|
160
|
+
var postBody = graphRelationshipPayload;
|
|
161
|
+
// verify the required parameter 'id' is set
|
|
162
162
|
if (id === undefined || id === null) {
|
|
163
163
|
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
}
|
|
165
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
167
166
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
168
167
|
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
169
168
|
}
|
|
170
|
-
|
|
171
169
|
var pathParams = {
|
|
172
170
|
'id': id
|
|
173
171
|
};
|
|
@@ -184,6 +182,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
184
182
|
var returnType = _GraphRelationship["default"];
|
|
185
183
|
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
186
184
|
}
|
|
185
|
+
|
|
187
186
|
/**
|
|
188
187
|
* Callback function to receive the result of the createRelationshipType operation.
|
|
189
188
|
* @callback module:api/GraphRelationshipsApi~createRelationshipTypeCallback
|
|
@@ -197,23 +196,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
197
196
|
* Creates a new relationship type
|
|
198
197
|
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
199
198
|
* @param {Object} opts Optional parameters
|
|
200
|
-
* @param {String}
|
|
201
|
-
* @param {Number}
|
|
202
|
-
* @param {String}
|
|
199
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
200
|
+
* @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
|
|
201
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
203
202
|
* @param {module:api/GraphRelationshipsApi~createRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
204
203
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
205
204
|
*/
|
|
206
|
-
|
|
207
205
|
}, {
|
|
208
206
|
key: "createRelationshipType",
|
|
209
207
|
value: function createRelationshipType(graphRelationshipType, opts, callback) {
|
|
210
208
|
opts = opts || {};
|
|
211
|
-
var postBody = graphRelationshipType;
|
|
212
|
-
|
|
209
|
+
var postBody = graphRelationshipType;
|
|
210
|
+
// verify the required parameter 'graphRelationshipType' is set
|
|
213
211
|
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
214
212
|
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
215
213
|
}
|
|
216
|
-
|
|
217
214
|
var pathParams = {};
|
|
218
215
|
var queryParams = {};
|
|
219
216
|
var headerParams = {
|
|
@@ -228,6 +225,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
228
225
|
var returnType = _GraphRelationshipType["default"];
|
|
229
226
|
return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
230
227
|
}
|
|
228
|
+
|
|
231
229
|
/**
|
|
232
230
|
* Callback function to receive the result of the createRelationships operation.
|
|
233
231
|
* @callback module:api/GraphRelationshipsApi~createRelationshipsCallback
|
|
@@ -242,28 +240,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
242
240
|
* @param {Number} id The id of the object that we are creating relationships on
|
|
243
241
|
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
244
242
|
* @param {Object} opts Optional parameters
|
|
245
|
-
* @param {String}
|
|
246
|
-
* @param {Number}
|
|
247
|
-
* @param {String}
|
|
243
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
244
|
+
* @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
|
|
245
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
248
246
|
* @param {module:api/GraphRelationshipsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
249
247
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
250
248
|
*/
|
|
251
|
-
|
|
252
249
|
}, {
|
|
253
250
|
key: "createRelationships",
|
|
254
251
|
value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
|
|
255
252
|
opts = opts || {};
|
|
256
|
-
var postBody = graphRelationshipPayload;
|
|
257
|
-
|
|
253
|
+
var postBody = graphRelationshipPayload;
|
|
254
|
+
// verify the required parameter 'id' is set
|
|
258
255
|
if (id === undefined || id === null) {
|
|
259
256
|
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
257
|
+
}
|
|
258
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
263
259
|
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
264
260
|
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
265
261
|
}
|
|
266
|
-
|
|
267
262
|
var pathParams = {
|
|
268
263
|
'id': id
|
|
269
264
|
};
|
|
@@ -280,6 +275,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
280
275
|
var returnType = [_GraphRelationship["default"]];
|
|
281
276
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
282
277
|
}
|
|
278
|
+
|
|
283
279
|
/**
|
|
284
280
|
* Callback function to receive the result of the deleteRelationship operation.
|
|
285
281
|
* @callback module:api/GraphRelationshipsApi~deleteRelationshipCallback
|
|
@@ -293,22 +289,20 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
293
289
|
* Delete an individual relationship
|
|
294
290
|
* @param {Number} id
|
|
295
291
|
* @param {Object} opts Optional parameters
|
|
296
|
-
* @param {String}
|
|
297
|
-
* @param {Number}
|
|
298
|
-
* @param {String}
|
|
292
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
293
|
+
* @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
|
|
294
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
299
295
|
* @param {module:api/GraphRelationshipsApi~deleteRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
300
296
|
*/
|
|
301
|
-
|
|
302
297
|
}, {
|
|
303
298
|
key: "deleteRelationship",
|
|
304
299
|
value: function deleteRelationship(id, opts, callback) {
|
|
305
300
|
opts = opts || {};
|
|
306
|
-
var postBody = null;
|
|
307
|
-
|
|
301
|
+
var postBody = null;
|
|
302
|
+
// verify the required parameter 'id' is set
|
|
308
303
|
if (id === undefined || id === null) {
|
|
309
304
|
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
310
305
|
}
|
|
311
|
-
|
|
312
306
|
var pathParams = {
|
|
313
307
|
'id': id
|
|
314
308
|
};
|
|
@@ -325,6 +319,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
325
319
|
var returnType = null;
|
|
326
320
|
return this.apiClient.callApi('/graph/data/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
327
321
|
}
|
|
322
|
+
|
|
328
323
|
/**
|
|
329
324
|
* Callback function to receive the result of the get11 operation.
|
|
330
325
|
* @callback module:api/GraphRelationshipsApi~get11Callback
|
|
@@ -336,12 +331,11 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
336
331
|
/**
|
|
337
332
|
* Root for the API
|
|
338
333
|
* @param {Object} opts Optional parameters
|
|
339
|
-
* @param {String}
|
|
340
|
-
* @param {Number}
|
|
341
|
-
* @param {String}
|
|
334
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
335
|
+
* @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
|
|
336
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
342
337
|
* @param {module:api/GraphRelationshipsApi~get11Callback} callback The callback function, accepting three arguments: error, data, response
|
|
343
338
|
*/
|
|
344
|
-
|
|
345
339
|
}, {
|
|
346
340
|
key: "get11",
|
|
347
341
|
value: function get11(opts, callback) {
|
|
@@ -361,6 +355,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
361
355
|
var returnType = null;
|
|
362
356
|
return this.apiClient.callApi('/graph/data/relationship', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
363
357
|
}
|
|
358
|
+
|
|
364
359
|
/**
|
|
365
360
|
* Callback function to receive the result of the get12 operation.
|
|
366
361
|
* @callback module:api/GraphRelationshipsApi~get12Callback
|
|
@@ -372,12 +367,11 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
372
367
|
/**
|
|
373
368
|
* Root for the API
|
|
374
369
|
* @param {Object} opts Optional parameters
|
|
375
|
-
* @param {String}
|
|
376
|
-
* @param {Number}
|
|
377
|
-
* @param {String}
|
|
370
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
371
|
+
* @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
|
|
372
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
378
373
|
* @param {module:api/GraphRelationshipsApi~get12Callback} callback The callback function, accepting three arguments: error, data, response
|
|
379
374
|
*/
|
|
380
|
-
|
|
381
375
|
}, {
|
|
382
376
|
key: "get12",
|
|
383
377
|
value: function get12(opts, callback) {
|
|
@@ -397,6 +391,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
397
391
|
var returnType = null;
|
|
398
392
|
return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
399
393
|
}
|
|
394
|
+
|
|
400
395
|
/**
|
|
401
396
|
* Callback function to receive the result of the getAllRelationships operation.
|
|
402
397
|
* @callback module:api/GraphRelationshipsApi~getAllRelationshipsCallback
|
|
@@ -410,23 +405,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
410
405
|
* Returns a listing of relationships
|
|
411
406
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
412
407
|
* @param {Object} opts Optional parameters
|
|
413
|
-
* @param {String}
|
|
414
|
-
* @param {Number}
|
|
415
|
-
* @param {String}
|
|
408
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
409
|
+
* @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
|
|
410
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
416
411
|
* @param {module:api/GraphRelationshipsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
417
412
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
418
413
|
*/
|
|
419
|
-
|
|
420
414
|
}, {
|
|
421
415
|
key: "getAllRelationships",
|
|
422
416
|
value: function getAllRelationships(id, opts, callback) {
|
|
423
417
|
opts = opts || {};
|
|
424
|
-
var postBody = null;
|
|
425
|
-
|
|
418
|
+
var postBody = null;
|
|
419
|
+
// verify the required parameter 'id' is set
|
|
426
420
|
if (id === undefined || id === null) {
|
|
427
421
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
428
422
|
}
|
|
429
|
-
|
|
430
423
|
var pathParams = {
|
|
431
424
|
'id': id
|
|
432
425
|
};
|
|
@@ -443,6 +436,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
443
436
|
var returnType = [_GraphRelationship["default"]];
|
|
444
437
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
445
438
|
}
|
|
439
|
+
|
|
446
440
|
/**
|
|
447
441
|
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
448
442
|
* @callback module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback
|
|
@@ -457,28 +451,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
457
451
|
* @param {Number} id The id of the relationship type we are searching for
|
|
458
452
|
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
459
453
|
* @param {Object} opts Optional parameters
|
|
460
|
-
* @param {String}
|
|
461
|
-
* @param {Number}
|
|
462
|
-
* @param {String}
|
|
454
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
455
|
+
* @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
|
|
456
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
463
457
|
* @param {module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
464
458
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
465
459
|
*/
|
|
466
|
-
|
|
467
460
|
}, {
|
|
468
461
|
key: "getAllRelationshipsByType",
|
|
469
462
|
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
470
463
|
opts = opts || {};
|
|
471
|
-
var postBody = null;
|
|
472
|
-
|
|
464
|
+
var postBody = null;
|
|
465
|
+
// verify the required parameter 'id' is set
|
|
473
466
|
if (id === undefined || id === null) {
|
|
474
467
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
468
|
+
}
|
|
469
|
+
// verify the required parameter 'reltypeid' is set
|
|
478
470
|
if (reltypeid === undefined || reltypeid === null) {
|
|
479
471
|
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
480
472
|
}
|
|
481
|
-
|
|
482
473
|
var pathParams = {
|
|
483
474
|
'id': id,
|
|
484
475
|
'reltypeid': reltypeid
|
|
@@ -496,34 +487,33 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
496
487
|
var returnType = [_GraphRelationship["default"]];
|
|
497
488
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
498
489
|
}
|
|
490
|
+
|
|
499
491
|
/**
|
|
500
492
|
* Callback function to receive the result of the getEndObjectTypes1 operation.
|
|
501
493
|
* @callback module:api/GraphRelationshipsApi~getEndObjectTypes1Callback
|
|
502
494
|
* @param {String} error Error message, if any.
|
|
503
|
-
* @param {module:model/
|
|
495
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
504
496
|
* @param {String} response The complete HTTP response.
|
|
505
497
|
*/
|
|
506
498
|
|
|
507
499
|
/**
|
|
508
500
|
* @param {Number} id
|
|
509
501
|
* @param {Object} opts Optional parameters
|
|
510
|
-
* @param {String}
|
|
511
|
-
* @param {Number}
|
|
512
|
-
* @param {String}
|
|
502
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
503
|
+
* @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
|
|
504
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
513
505
|
* @param {module:api/GraphRelationshipsApi~getEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
514
|
-
* data is of type: {@link module:model/
|
|
506
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
515
507
|
*/
|
|
516
|
-
|
|
517
508
|
}, {
|
|
518
509
|
key: "getEndObjectTypes1",
|
|
519
510
|
value: function getEndObjectTypes1(id, opts, callback) {
|
|
520
511
|
opts = opts || {};
|
|
521
|
-
var postBody = null;
|
|
522
|
-
|
|
512
|
+
var postBody = null;
|
|
513
|
+
// verify the required parameter 'id' is set
|
|
523
514
|
if (id === undefined || id === null) {
|
|
524
515
|
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes1");
|
|
525
516
|
}
|
|
526
|
-
|
|
527
517
|
var pathParams = {
|
|
528
518
|
'id': id
|
|
529
519
|
};
|
|
@@ -537,37 +527,36 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
537
527
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
538
528
|
var contentTypes = [];
|
|
539
529
|
var accepts = ['application/json'];
|
|
540
|
-
var returnType =
|
|
530
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
541
531
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
542
532
|
}
|
|
533
|
+
|
|
543
534
|
/**
|
|
544
535
|
* Callback function to receive the result of the getFields2 operation.
|
|
545
536
|
* @callback module:api/GraphRelationshipsApi~getFields2Callback
|
|
546
537
|
* @param {String} error Error message, if any.
|
|
547
|
-
* @param {module:model/
|
|
538
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
548
539
|
* @param {String} response The complete HTTP response.
|
|
549
540
|
*/
|
|
550
541
|
|
|
551
542
|
/**
|
|
552
543
|
* @param {Number} id
|
|
553
544
|
* @param {Object} opts Optional parameters
|
|
554
|
-
* @param {String}
|
|
555
|
-
* @param {Number}
|
|
556
|
-
* @param {String}
|
|
545
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
546
|
+
* @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
|
|
547
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
557
548
|
* @param {module:api/GraphRelationshipsApi~getFields2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
558
|
-
* data is of type: {@link module:model/
|
|
549
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
559
550
|
*/
|
|
560
|
-
|
|
561
551
|
}, {
|
|
562
552
|
key: "getFields2",
|
|
563
553
|
value: function getFields2(id, opts, callback) {
|
|
564
554
|
opts = opts || {};
|
|
565
|
-
var postBody = null;
|
|
566
|
-
|
|
555
|
+
var postBody = null;
|
|
556
|
+
// verify the required parameter 'id' is set
|
|
567
557
|
if (id === undefined || id === null) {
|
|
568
558
|
throw new Error("Missing the required parameter 'id' when calling getFields2");
|
|
569
559
|
}
|
|
570
|
-
|
|
571
560
|
var pathParams = {
|
|
572
561
|
'id': id
|
|
573
562
|
};
|
|
@@ -581,14 +570,15 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
581
570
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
582
571
|
var contentTypes = [];
|
|
583
572
|
var accepts = ['application/json'];
|
|
584
|
-
var returnType =
|
|
573
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
585
574
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
586
575
|
}
|
|
576
|
+
|
|
587
577
|
/**
|
|
588
578
|
* Callback function to receive the result of the getRelProperties operation.
|
|
589
579
|
* @callback module:api/GraphRelationshipsApi~getRelPropertiesCallback
|
|
590
580
|
* @param {String} error Error message, if any.
|
|
591
|
-
* @param {Object.<String, module:model/{String:
|
|
581
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
592
582
|
* @param {String} response The complete HTTP response.
|
|
593
583
|
*/
|
|
594
584
|
|
|
@@ -597,23 +587,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
597
587
|
* Get all properties attached to a relationship
|
|
598
588
|
* @param {Number} id
|
|
599
589
|
* @param {Object} opts Optional parameters
|
|
600
|
-
* @param {String}
|
|
601
|
-
* @param {Number}
|
|
602
|
-
* @param {String}
|
|
590
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
591
|
+
* @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
|
|
592
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
603
593
|
* @param {module:api/GraphRelationshipsApi~getRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
604
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
594
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
605
595
|
*/
|
|
606
|
-
|
|
607
596
|
}, {
|
|
608
597
|
key: "getRelProperties",
|
|
609
598
|
value: function getRelProperties(id, opts, callback) {
|
|
610
599
|
opts = opts || {};
|
|
611
|
-
var postBody = null;
|
|
612
|
-
|
|
600
|
+
var postBody = null;
|
|
601
|
+
// verify the required parameter 'id' is set
|
|
613
602
|
if (id === undefined || id === null) {
|
|
614
603
|
throw new Error("Missing the required parameter 'id' when calling getRelProperties");
|
|
615
604
|
}
|
|
616
|
-
|
|
617
605
|
var pathParams = {
|
|
618
606
|
'id': id
|
|
619
607
|
};
|
|
@@ -628,15 +616,16 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
628
616
|
var contentTypes = [];
|
|
629
617
|
var accepts = ['application/json'];
|
|
630
618
|
var returnType = {
|
|
631
|
-
'String':
|
|
619
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
632
620
|
};
|
|
633
621
|
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
634
622
|
}
|
|
623
|
+
|
|
635
624
|
/**
|
|
636
625
|
* Callback function to receive the result of the getRelProperty operation.
|
|
637
626
|
* @callback module:api/GraphRelationshipsApi~getRelPropertyCallback
|
|
638
627
|
* @param {String} error Error message, if any.
|
|
639
|
-
* @param {Object.<String, module:model/{String:
|
|
628
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
640
629
|
* @param {String} response The complete HTTP response.
|
|
641
630
|
*/
|
|
642
631
|
|
|
@@ -646,28 +635,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
646
635
|
* @param {Number} id
|
|
647
636
|
* @param {String} prop
|
|
648
637
|
* @param {Object} opts Optional parameters
|
|
649
|
-
* @param {String}
|
|
650
|
-
* @param {Number}
|
|
651
|
-
* @param {String}
|
|
638
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
639
|
+
* @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
|
|
640
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
652
641
|
* @param {module:api/GraphRelationshipsApi~getRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
653
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
642
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
654
643
|
*/
|
|
655
|
-
|
|
656
644
|
}, {
|
|
657
645
|
key: "getRelProperty",
|
|
658
646
|
value: function getRelProperty(id, prop, opts, callback) {
|
|
659
647
|
opts = opts || {};
|
|
660
|
-
var postBody = null;
|
|
661
|
-
|
|
648
|
+
var postBody = null;
|
|
649
|
+
// verify the required parameter 'id' is set
|
|
662
650
|
if (id === undefined || id === null) {
|
|
663
651
|
throw new Error("Missing the required parameter 'id' when calling getRelProperty");
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
|
|
652
|
+
}
|
|
653
|
+
// verify the required parameter 'prop' is set
|
|
667
654
|
if (prop === undefined || prop === null) {
|
|
668
655
|
throw new Error("Missing the required parameter 'prop' when calling getRelProperty");
|
|
669
656
|
}
|
|
670
|
-
|
|
671
657
|
var pathParams = {
|
|
672
658
|
'id': id,
|
|
673
659
|
'prop': prop
|
|
@@ -683,10 +669,11 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
683
669
|
var contentTypes = [];
|
|
684
670
|
var accepts = ['application/json'];
|
|
685
671
|
var returnType = {
|
|
686
|
-
'String':
|
|
672
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
687
673
|
};
|
|
688
674
|
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
689
675
|
}
|
|
676
|
+
|
|
690
677
|
/**
|
|
691
678
|
* Callback function to receive the result of the getRelationshipById operation.
|
|
692
679
|
* @callback module:api/GraphRelationshipsApi~getRelationshipByIdCallback
|
|
@@ -699,23 +686,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
699
686
|
* Gets the relationship by id
|
|
700
687
|
* @param {Number} id
|
|
701
688
|
* @param {Object} opts Optional parameters
|
|
702
|
-
* @param {String}
|
|
703
|
-
* @param {Number}
|
|
704
|
-
* @param {String}
|
|
689
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
690
|
+
* @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
|
|
691
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
705
692
|
* @param {module:api/GraphRelationshipsApi~getRelationshipByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
706
693
|
* data is of type: {@link module:model/GraphRelationship}
|
|
707
694
|
*/
|
|
708
|
-
|
|
709
695
|
}, {
|
|
710
696
|
key: "getRelationshipById",
|
|
711
697
|
value: function getRelationshipById(id, opts, callback) {
|
|
712
698
|
opts = opts || {};
|
|
713
|
-
var postBody = null;
|
|
714
|
-
|
|
699
|
+
var postBody = null;
|
|
700
|
+
// verify the required parameter 'id' is set
|
|
715
701
|
if (id === undefined || id === null) {
|
|
716
702
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
717
703
|
}
|
|
718
|
-
|
|
719
704
|
var pathParams = {
|
|
720
705
|
'id': id
|
|
721
706
|
};
|
|
@@ -732,6 +717,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
732
717
|
var returnType = _GraphRelationship["default"];
|
|
733
718
|
return this.apiClient.callApi('/graph/data/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
734
719
|
}
|
|
720
|
+
|
|
735
721
|
/**
|
|
736
722
|
* Callback function to receive the result of the getRelationshipTypeByClassName operation.
|
|
737
723
|
* @callback module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback
|
|
@@ -744,23 +730,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
744
730
|
* Gets the relationship type by the java classname
|
|
745
731
|
* @param {String} classname
|
|
746
732
|
* @param {Object} opts Optional parameters
|
|
747
|
-
* @param {String}
|
|
748
|
-
* @param {Number}
|
|
749
|
-
* @param {String}
|
|
733
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
734
|
+
* @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
|
|
735
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
750
736
|
* @param {module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback} callback The callback function, accepting three arguments: error, data, response
|
|
751
737
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
752
738
|
*/
|
|
753
|
-
|
|
754
739
|
}, {
|
|
755
740
|
key: "getRelationshipTypeByClassName",
|
|
756
741
|
value: function getRelationshipTypeByClassName(classname, opts, callback) {
|
|
757
742
|
opts = opts || {};
|
|
758
|
-
var postBody = null;
|
|
759
|
-
|
|
743
|
+
var postBody = null;
|
|
744
|
+
// verify the required parameter 'classname' is set
|
|
760
745
|
if (classname === undefined || classname === null) {
|
|
761
746
|
throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
|
|
762
747
|
}
|
|
763
|
-
|
|
764
748
|
var pathParams = {
|
|
765
749
|
'classname': classname
|
|
766
750
|
};
|
|
@@ -777,6 +761,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
777
761
|
var returnType = _GraphRelationshipType["default"];
|
|
778
762
|
return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
779
763
|
}
|
|
764
|
+
|
|
780
765
|
/**
|
|
781
766
|
* Callback function to receive the result of the getRelationshipTypeById operation.
|
|
782
767
|
* @callback module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback
|
|
@@ -789,23 +774,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
789
774
|
* Gets the relationship type by key
|
|
790
775
|
* @param {Number} id
|
|
791
776
|
* @param {Object} opts Optional parameters
|
|
792
|
-
* @param {String}
|
|
793
|
-
* @param {Number}
|
|
794
|
-
* @param {String}
|
|
777
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
778
|
+
* @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
|
|
779
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
795
780
|
* @param {module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
796
781
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
797
782
|
*/
|
|
798
|
-
|
|
799
783
|
}, {
|
|
800
784
|
key: "getRelationshipTypeById",
|
|
801
785
|
value: function getRelationshipTypeById(id, opts, callback) {
|
|
802
786
|
opts = opts || {};
|
|
803
|
-
var postBody = null;
|
|
804
|
-
|
|
787
|
+
var postBody = null;
|
|
788
|
+
// verify the required parameter 'id' is set
|
|
805
789
|
if (id === undefined || id === null) {
|
|
806
790
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
807
791
|
}
|
|
808
|
-
|
|
809
792
|
var pathParams = {
|
|
810
793
|
'id': id
|
|
811
794
|
};
|
|
@@ -822,6 +805,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
822
805
|
var returnType = _GraphRelationshipType["default"];
|
|
823
806
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
824
807
|
}
|
|
808
|
+
|
|
825
809
|
/**
|
|
826
810
|
* Callback function to receive the result of the getRelationshipTypeByKey operation.
|
|
827
811
|
* @callback module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback
|
|
@@ -834,23 +818,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
834
818
|
* Gets the relationship type by key
|
|
835
819
|
* @param {String} key
|
|
836
820
|
* @param {Object} opts Optional parameters
|
|
837
|
-
* @param {String}
|
|
838
|
-
* @param {Number}
|
|
839
|
-
* @param {String}
|
|
821
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
822
|
+
* @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
|
|
823
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
840
824
|
* @param {module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
841
825
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
842
826
|
*/
|
|
843
|
-
|
|
844
827
|
}, {
|
|
845
828
|
key: "getRelationshipTypeByKey",
|
|
846
829
|
value: function getRelationshipTypeByKey(key, opts, callback) {
|
|
847
830
|
opts = opts || {};
|
|
848
|
-
var postBody = null;
|
|
849
|
-
|
|
831
|
+
var postBody = null;
|
|
832
|
+
// verify the required parameter 'key' is set
|
|
850
833
|
if (key === undefined || key === null) {
|
|
851
834
|
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
852
835
|
}
|
|
853
|
-
|
|
854
836
|
var pathParams = {
|
|
855
837
|
'key': key
|
|
856
838
|
};
|
|
@@ -867,6 +849,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
867
849
|
var returnType = _GraphRelationshipType["default"];
|
|
868
850
|
return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
869
851
|
}
|
|
852
|
+
|
|
870
853
|
/**
|
|
871
854
|
* Callback function to receive the result of the getRelationships operation.
|
|
872
855
|
* @callback module:api/GraphRelationshipsApi~getRelationshipsCallback
|
|
@@ -879,23 +862,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
879
862
|
* Get relationships in the graph
|
|
880
863
|
* @param {Number} id
|
|
881
864
|
* @param {Object} opts Optional parameters
|
|
882
|
-
* @param {String}
|
|
883
|
-
* @param {Number}
|
|
884
|
-
* @param {String}
|
|
865
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
866
|
+
* @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
|
|
867
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
885
868
|
* @param {module:api/GraphRelationshipsApi~getRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
886
869
|
* data is of type: {@link module:model/GraphRelationship}
|
|
887
870
|
*/
|
|
888
|
-
|
|
889
871
|
}, {
|
|
890
872
|
key: "getRelationships",
|
|
891
873
|
value: function getRelationships(id, opts, callback) {
|
|
892
874
|
opts = opts || {};
|
|
893
|
-
var postBody = null;
|
|
894
|
-
|
|
875
|
+
var postBody = null;
|
|
876
|
+
// verify the required parameter 'id' is set
|
|
895
877
|
if (id === undefined || id === null) {
|
|
896
878
|
throw new Error("Missing the required parameter 'id' when calling getRelationships");
|
|
897
879
|
}
|
|
898
|
-
|
|
899
880
|
var pathParams = {
|
|
900
881
|
'id': id
|
|
901
882
|
};
|
|
@@ -912,6 +893,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
912
893
|
var returnType = _GraphRelationship["default"];
|
|
913
894
|
return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
914
895
|
}
|
|
896
|
+
|
|
915
897
|
/**
|
|
916
898
|
* Callback function to receive the result of the getRelationships1 operation.
|
|
917
899
|
* @callback module:api/GraphRelationshipsApi~getRelationships1Callback
|
|
@@ -925,28 +907,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
925
907
|
* @param {Number} id
|
|
926
908
|
* @param {String} type
|
|
927
909
|
* @param {Object} opts Optional parameters
|
|
928
|
-
* @param {String}
|
|
929
|
-
* @param {Number}
|
|
930
|
-
* @param {String}
|
|
910
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
911
|
+
* @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
|
|
912
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
931
913
|
* @param {module:api/GraphRelationshipsApi~getRelationships1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
932
914
|
* data is of type: {@link module:model/GraphRelationship}
|
|
933
915
|
*/
|
|
934
|
-
|
|
935
916
|
}, {
|
|
936
917
|
key: "getRelationships1",
|
|
937
918
|
value: function getRelationships1(id, type, opts, callback) {
|
|
938
919
|
opts = opts || {};
|
|
939
|
-
var postBody = null;
|
|
940
|
-
|
|
920
|
+
var postBody = null;
|
|
921
|
+
// verify the required parameter 'id' is set
|
|
941
922
|
if (id === undefined || id === null) {
|
|
942
923
|
throw new Error("Missing the required parameter 'id' when calling getRelationships1");
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
|
|
924
|
+
}
|
|
925
|
+
// verify the required parameter 'type' is set
|
|
946
926
|
if (type === undefined || type === null) {
|
|
947
927
|
throw new Error("Missing the required parameter 'type' when calling getRelationships1");
|
|
948
928
|
}
|
|
949
|
-
|
|
950
929
|
var pathParams = {
|
|
951
930
|
'id': id,
|
|
952
931
|
'type': type
|
|
@@ -964,6 +943,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
964
943
|
var returnType = _GraphRelationship["default"];
|
|
965
944
|
return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
966
945
|
}
|
|
946
|
+
|
|
967
947
|
/**
|
|
968
948
|
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
969
949
|
* @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback
|
|
@@ -978,28 +958,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
978
958
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
979
959
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
980
960
|
* @param {Object} opts Optional parameters
|
|
981
|
-
* @param {String}
|
|
982
|
-
* @param {Number}
|
|
983
|
-
* @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
|
|
984
964
|
* @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
985
965
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
986
966
|
*/
|
|
987
|
-
|
|
988
967
|
}, {
|
|
989
968
|
key: "getRelationshipsByTypeIn",
|
|
990
969
|
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
991
970
|
opts = opts || {};
|
|
992
|
-
var postBody = null;
|
|
993
|
-
|
|
971
|
+
var postBody = null;
|
|
972
|
+
// verify the required parameter 'id' is set
|
|
994
973
|
if (id === undefined || id === null) {
|
|
995
974
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
|
|
975
|
+
}
|
|
976
|
+
// verify the required parameter 'reltypeid' is set
|
|
999
977
|
if (reltypeid === undefined || reltypeid === null) {
|
|
1000
978
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
1001
979
|
}
|
|
1002
|
-
|
|
1003
980
|
var pathParams = {
|
|
1004
981
|
'id': id,
|
|
1005
982
|
'reltypeid': reltypeid
|
|
@@ -1017,6 +994,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1017
994
|
var returnType = [_GraphRelationship["default"]];
|
|
1018
995
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1019
996
|
}
|
|
997
|
+
|
|
1020
998
|
/**
|
|
1021
999
|
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
1022
1000
|
* @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback
|
|
@@ -1031,28 +1009,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1031
1009
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1032
1010
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1033
1011
|
* @param {Object} opts Optional parameters
|
|
1034
|
-
* @param {String}
|
|
1035
|
-
* @param {Number}
|
|
1036
|
-
* @param {String}
|
|
1012
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1013
|
+
* @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
|
|
1014
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1037
1015
|
* @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1038
1016
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1039
1017
|
*/
|
|
1040
|
-
|
|
1041
1018
|
}, {
|
|
1042
1019
|
key: "getRelationshipsByTypeOut",
|
|
1043
1020
|
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
1044
1021
|
opts = opts || {};
|
|
1045
|
-
var postBody = null;
|
|
1046
|
-
|
|
1022
|
+
var postBody = null;
|
|
1023
|
+
// verify the required parameter 'id' is set
|
|
1047
1024
|
if (id === undefined || id === null) {
|
|
1048
1025
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1026
|
+
}
|
|
1027
|
+
// verify the required parameter 'reltypeid' is set
|
|
1052
1028
|
if (reltypeid === undefined || reltypeid === null) {
|
|
1053
1029
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
1054
1030
|
}
|
|
1055
|
-
|
|
1056
1031
|
var pathParams = {
|
|
1057
1032
|
'id': id,
|
|
1058
1033
|
'reltypeid': reltypeid
|
|
@@ -1070,6 +1045,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1070
1045
|
var returnType = [_GraphRelationship["default"]];
|
|
1071
1046
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1072
1047
|
}
|
|
1048
|
+
|
|
1073
1049
|
/**
|
|
1074
1050
|
* Callback function to receive the result of the getRelationshipsIn operation.
|
|
1075
1051
|
* @callback module:api/GraphRelationshipsApi~getRelationshipsInCallback
|
|
@@ -1083,23 +1059,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1083
1059
|
* Returns a listing of relationships
|
|
1084
1060
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1085
1061
|
* @param {Object} opts Optional parameters
|
|
1086
|
-
* @param {String}
|
|
1087
|
-
* @param {Number}
|
|
1088
|
-
* @param {String}
|
|
1062
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1063
|
+
* @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
|
|
1064
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1089
1065
|
* @param {module:api/GraphRelationshipsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1090
1066
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1091
1067
|
*/
|
|
1092
|
-
|
|
1093
1068
|
}, {
|
|
1094
1069
|
key: "getRelationshipsIn",
|
|
1095
1070
|
value: function getRelationshipsIn(id, opts, callback) {
|
|
1096
1071
|
opts = opts || {};
|
|
1097
|
-
var postBody = null;
|
|
1098
|
-
|
|
1072
|
+
var postBody = null;
|
|
1073
|
+
// verify the required parameter 'id' is set
|
|
1099
1074
|
if (id === undefined || id === null) {
|
|
1100
1075
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
1101
1076
|
}
|
|
1102
|
-
|
|
1103
1077
|
var pathParams = {
|
|
1104
1078
|
'id': id
|
|
1105
1079
|
};
|
|
@@ -1116,6 +1090,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1116
1090
|
var returnType = [_GraphRelationship["default"]];
|
|
1117
1091
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1118
1092
|
}
|
|
1093
|
+
|
|
1119
1094
|
/**
|
|
1120
1095
|
* Callback function to receive the result of the getRelationshipsOut operation.
|
|
1121
1096
|
* @callback module:api/GraphRelationshipsApi~getRelationshipsOutCallback
|
|
@@ -1129,23 +1104,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1129
1104
|
* Returns a listing of relationships
|
|
1130
1105
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1131
1106
|
* @param {Object} opts Optional parameters
|
|
1132
|
-
* @param {String}
|
|
1133
|
-
* @param {Number}
|
|
1134
|
-
* @param {String}
|
|
1107
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1108
|
+
* @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
|
|
1109
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1135
1110
|
* @param {module:api/GraphRelationshipsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1136
1111
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1137
1112
|
*/
|
|
1138
|
-
|
|
1139
1113
|
}, {
|
|
1140
1114
|
key: "getRelationshipsOut",
|
|
1141
1115
|
value: function getRelationshipsOut(id, opts, callback) {
|
|
1142
1116
|
opts = opts || {};
|
|
1143
|
-
var postBody = null;
|
|
1144
|
-
|
|
1117
|
+
var postBody = null;
|
|
1118
|
+
// verify the required parameter 'id' is set
|
|
1145
1119
|
if (id === undefined || id === null) {
|
|
1146
1120
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
1147
1121
|
}
|
|
1148
|
-
|
|
1149
1122
|
var pathParams = {
|
|
1150
1123
|
'id': id
|
|
1151
1124
|
};
|
|
@@ -1162,34 +1135,33 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1162
1135
|
var returnType = [_GraphRelationship["default"]];
|
|
1163
1136
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1164
1137
|
}
|
|
1138
|
+
|
|
1165
1139
|
/**
|
|
1166
1140
|
* Callback function to receive the result of the getStartObjectTypes operation.
|
|
1167
1141
|
* @callback module:api/GraphRelationshipsApi~getStartObjectTypesCallback
|
|
1168
1142
|
* @param {String} error Error message, if any.
|
|
1169
|
-
* @param {module:model/
|
|
1143
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1170
1144
|
* @param {String} response The complete HTTP response.
|
|
1171
1145
|
*/
|
|
1172
1146
|
|
|
1173
1147
|
/**
|
|
1174
1148
|
* @param {Number} id
|
|
1175
1149
|
* @param {Object} opts Optional parameters
|
|
1176
|
-
* @param {String}
|
|
1177
|
-
* @param {Number}
|
|
1178
|
-
* @param {String}
|
|
1150
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1151
|
+
* @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
|
|
1152
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1179
1153
|
* @param {module:api/GraphRelationshipsApi~getStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1180
|
-
* data is of type: {@link module:model/
|
|
1154
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1181
1155
|
*/
|
|
1182
|
-
|
|
1183
1156
|
}, {
|
|
1184
1157
|
key: "getStartObjectTypes",
|
|
1185
1158
|
value: function getStartObjectTypes(id, opts, callback) {
|
|
1186
1159
|
opts = opts || {};
|
|
1187
|
-
var postBody = null;
|
|
1188
|
-
|
|
1160
|
+
var postBody = null;
|
|
1161
|
+
// verify the required parameter 'id' is set
|
|
1189
1162
|
if (id === undefined || id === null) {
|
|
1190
1163
|
throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
|
|
1191
1164
|
}
|
|
1192
|
-
|
|
1193
1165
|
var pathParams = {
|
|
1194
1166
|
'id': id
|
|
1195
1167
|
};
|
|
@@ -1203,38 +1175,37 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1203
1175
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1204
1176
|
var contentTypes = [];
|
|
1205
1177
|
var accepts = ['application/json'];
|
|
1206
|
-
var returnType =
|
|
1178
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1207
1179
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1208
1180
|
}
|
|
1181
|
+
|
|
1209
1182
|
/**
|
|
1210
1183
|
* Callback function to receive the result of the removeEndObjectTypes operation.
|
|
1211
1184
|
* @callback module:api/GraphRelationshipsApi~removeEndObjectTypesCallback
|
|
1212
1185
|
* @param {String} error Error message, if any.
|
|
1213
|
-
* @param {module:model/
|
|
1186
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1214
1187
|
* @param {String} response The complete HTTP response.
|
|
1215
1188
|
*/
|
|
1216
1189
|
|
|
1217
1190
|
/**
|
|
1218
1191
|
* @param {Number} id
|
|
1219
1192
|
* @param {Object} opts Optional parameters
|
|
1220
|
-
* @param {String}
|
|
1221
|
-
* @param {Number}
|
|
1222
|
-
* @param {String}
|
|
1223
|
-
* @param {String}
|
|
1193
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1194
|
+
* @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
|
|
1195
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1196
|
+
* @param {String} [body]
|
|
1224
1197
|
* @param {module:api/GraphRelationshipsApi~removeEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1225
|
-
* data is of type: {@link module:model/
|
|
1198
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1226
1199
|
*/
|
|
1227
|
-
|
|
1228
1200
|
}, {
|
|
1229
1201
|
key: "removeEndObjectTypes",
|
|
1230
1202
|
value: function removeEndObjectTypes(id, opts, callback) {
|
|
1231
1203
|
opts = opts || {};
|
|
1232
|
-
var postBody = opts['body'];
|
|
1233
|
-
|
|
1204
|
+
var postBody = opts['body'];
|
|
1205
|
+
// verify the required parameter 'id' is set
|
|
1234
1206
|
if (id === undefined || id === null) {
|
|
1235
1207
|
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
1236
1208
|
}
|
|
1237
|
-
|
|
1238
1209
|
var pathParams = {
|
|
1239
1210
|
'id': id
|
|
1240
1211
|
};
|
|
@@ -1248,38 +1219,37 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1248
1219
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1249
1220
|
var contentTypes = ['application/json'];
|
|
1250
1221
|
var accepts = ['application/json'];
|
|
1251
|
-
var returnType =
|
|
1222
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1252
1223
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1253
1224
|
}
|
|
1225
|
+
|
|
1254
1226
|
/**
|
|
1255
1227
|
* Callback function to receive the result of the removeStartObjectTypes operation.
|
|
1256
1228
|
* @callback module:api/GraphRelationshipsApi~removeStartObjectTypesCallback
|
|
1257
1229
|
* @param {String} error Error message, if any.
|
|
1258
|
-
* @param {module:model/
|
|
1230
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1259
1231
|
* @param {String} response The complete HTTP response.
|
|
1260
1232
|
*/
|
|
1261
1233
|
|
|
1262
1234
|
/**
|
|
1263
1235
|
* @param {Number} id
|
|
1264
1236
|
* @param {Object} opts Optional parameters
|
|
1265
|
-
* @param {String}
|
|
1266
|
-
* @param {Number}
|
|
1267
|
-
* @param {String}
|
|
1268
|
-
* @param {String}
|
|
1237
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1238
|
+
* @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
|
|
1239
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1240
|
+
* @param {String} [body]
|
|
1269
1241
|
* @param {module:api/GraphRelationshipsApi~removeStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1270
|
-
* data is of type: {@link module:model/
|
|
1242
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1271
1243
|
*/
|
|
1272
|
-
|
|
1273
1244
|
}, {
|
|
1274
1245
|
key: "removeStartObjectTypes",
|
|
1275
1246
|
value: function removeStartObjectTypes(id, opts, callback) {
|
|
1276
1247
|
opts = opts || {};
|
|
1277
|
-
var postBody = opts['body'];
|
|
1278
|
-
|
|
1248
|
+
var postBody = opts['body'];
|
|
1249
|
+
// verify the required parameter 'id' is set
|
|
1279
1250
|
if (id === undefined || id === null) {
|
|
1280
1251
|
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
1281
1252
|
}
|
|
1282
|
-
|
|
1283
1253
|
var pathParams = {
|
|
1284
1254
|
'id': id
|
|
1285
1255
|
};
|
|
@@ -1293,9 +1263,10 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1293
1263
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1294
1264
|
var contentTypes = ['application/json'];
|
|
1295
1265
|
var accepts = ['application/json'];
|
|
1296
|
-
var returnType =
|
|
1266
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1297
1267
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1298
1268
|
}
|
|
1269
|
+
|
|
1299
1270
|
/**
|
|
1300
1271
|
* Callback function to receive the result of the setRelProperties operation.
|
|
1301
1272
|
* @callback module:api/GraphRelationshipsApi~setRelPropertiesCallback
|
|
@@ -1309,23 +1280,21 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1309
1280
|
* Set multiple properties attaced to an object / record
|
|
1310
1281
|
* @param {Number} id
|
|
1311
1282
|
* @param {Object} opts Optional parameters
|
|
1312
|
-
* @param {String}
|
|
1313
|
-
* @param {Number}
|
|
1314
|
-
* @param {String}
|
|
1315
|
-
* @param {Object.<String, {String:
|
|
1283
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1284
|
+
* @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
|
|
1285
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1286
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
1316
1287
|
* @param {module:api/GraphRelationshipsApi~setRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1317
1288
|
*/
|
|
1318
|
-
|
|
1319
1289
|
}, {
|
|
1320
1290
|
key: "setRelProperties",
|
|
1321
1291
|
value: function setRelProperties(id, opts, callback) {
|
|
1322
1292
|
opts = opts || {};
|
|
1323
|
-
var postBody = opts['requestBody'];
|
|
1324
|
-
|
|
1293
|
+
var postBody = opts['requestBody'];
|
|
1294
|
+
// verify the required parameter 'id' is set
|
|
1325
1295
|
if (id === undefined || id === null) {
|
|
1326
1296
|
throw new Error("Missing the required parameter 'id' when calling setRelProperties");
|
|
1327
1297
|
}
|
|
1328
|
-
|
|
1329
1298
|
var pathParams = {
|
|
1330
1299
|
'id': id
|
|
1331
1300
|
};
|
|
@@ -1342,6 +1311,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1342
1311
|
var returnType = null;
|
|
1343
1312
|
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1344
1313
|
}
|
|
1314
|
+
|
|
1345
1315
|
/**
|
|
1346
1316
|
* Callback function to receive the result of the setRelProperty operation.
|
|
1347
1317
|
* @callback module:api/GraphRelationshipsApi~setRelPropertyCallback
|
|
@@ -1356,28 +1326,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1356
1326
|
* @param {Number} id
|
|
1357
1327
|
* @param {String} prop
|
|
1358
1328
|
* @param {Object} opts Optional parameters
|
|
1359
|
-
* @param {String}
|
|
1360
|
-
* @param {Number}
|
|
1361
|
-
* @param {String}
|
|
1362
|
-
* @param {String}
|
|
1329
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1330
|
+
* @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
|
|
1331
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1332
|
+
* @param {String} [body]
|
|
1363
1333
|
* @param {module:api/GraphRelationshipsApi~setRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1364
1334
|
*/
|
|
1365
|
-
|
|
1366
1335
|
}, {
|
|
1367
1336
|
key: "setRelProperty",
|
|
1368
1337
|
value: function setRelProperty(id, prop, opts, callback) {
|
|
1369
1338
|
opts = opts || {};
|
|
1370
|
-
var postBody = opts['body'];
|
|
1371
|
-
|
|
1339
|
+
var postBody = opts['body'];
|
|
1340
|
+
// verify the required parameter 'id' is set
|
|
1372
1341
|
if (id === undefined || id === null) {
|
|
1373
1342
|
throw new Error("Missing the required parameter 'id' when calling setRelProperty");
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1343
|
+
}
|
|
1344
|
+
// verify the required parameter 'prop' is set
|
|
1377
1345
|
if (prop === undefined || prop === null) {
|
|
1378
1346
|
throw new Error("Missing the required parameter 'prop' when calling setRelProperty");
|
|
1379
1347
|
}
|
|
1380
|
-
|
|
1381
1348
|
var pathParams = {
|
|
1382
1349
|
'id': id,
|
|
1383
1350
|
'prop': prop
|
|
@@ -1395,6 +1362,7 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1395
1362
|
var returnType = null;
|
|
1396
1363
|
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1397
1364
|
}
|
|
1365
|
+
|
|
1398
1366
|
/**
|
|
1399
1367
|
* Callback function to receive the result of the updateRelationshipType operation.
|
|
1400
1368
|
* @callback module:api/GraphRelationshipsApi~updateRelationshipTypeCallback
|
|
@@ -1409,28 +1377,25 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1409
1377
|
* @param {Number} id The id of the relationship type we are updating
|
|
1410
1378
|
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1411
1379
|
* @param {Object} opts Optional parameters
|
|
1412
|
-
* @param {String}
|
|
1413
|
-
* @param {Number}
|
|
1414
|
-
* @param {String}
|
|
1380
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1381
|
+
* @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
|
|
1382
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1415
1383
|
* @param {module:api/GraphRelationshipsApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1416
1384
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
1417
1385
|
*/
|
|
1418
|
-
|
|
1419
1386
|
}, {
|
|
1420
1387
|
key: "updateRelationshipType",
|
|
1421
1388
|
value: function updateRelationshipType(id, graphRelationshipType, opts, callback) {
|
|
1422
1389
|
opts = opts || {};
|
|
1423
|
-
var postBody = graphRelationshipType;
|
|
1424
|
-
|
|
1390
|
+
var postBody = graphRelationshipType;
|
|
1391
|
+
// verify the required parameter 'id' is set
|
|
1425
1392
|
if (id === undefined || id === null) {
|
|
1426
1393
|
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
|
|
1394
|
+
}
|
|
1395
|
+
// verify the required parameter 'graphRelationshipType' is set
|
|
1430
1396
|
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
1431
1397
|
throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
|
|
1432
1398
|
}
|
|
1433
|
-
|
|
1434
1399
|
var pathParams = {
|
|
1435
1400
|
'id': id
|
|
1436
1401
|
};
|
|
@@ -1447,35 +1412,34 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1447
1412
|
var returnType = _GraphRelationshipType["default"];
|
|
1448
1413
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1449
1414
|
}
|
|
1415
|
+
|
|
1450
1416
|
/**
|
|
1451
1417
|
* Callback function to receive the result of the updateTemplate2 operation.
|
|
1452
1418
|
* @callback module:api/GraphRelationshipsApi~updateTemplate2Callback
|
|
1453
1419
|
* @param {String} error Error message, if any.
|
|
1454
|
-
* @param {module:model/
|
|
1420
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
1455
1421
|
* @param {String} response The complete HTTP response.
|
|
1456
1422
|
*/
|
|
1457
1423
|
|
|
1458
1424
|
/**
|
|
1459
1425
|
* @param {Number} id
|
|
1460
1426
|
* @param {Object} opts Optional parameters
|
|
1461
|
-
* @param {String}
|
|
1462
|
-
* @param {Number}
|
|
1463
|
-
* @param {String}
|
|
1464
|
-
* @param {String}
|
|
1427
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1428
|
+
* @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
|
|
1429
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1430
|
+
* @param {String} [body]
|
|
1465
1431
|
* @param {module:api/GraphRelationshipsApi~updateTemplate2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1466
|
-
* data is of type: {@link module:model/
|
|
1432
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
1467
1433
|
*/
|
|
1468
|
-
|
|
1469
1434
|
}, {
|
|
1470
1435
|
key: "updateTemplate2",
|
|
1471
1436
|
value: function updateTemplate2(id, opts, callback) {
|
|
1472
1437
|
opts = opts || {};
|
|
1473
|
-
var postBody = opts['body'];
|
|
1474
|
-
|
|
1438
|
+
var postBody = opts['body'];
|
|
1439
|
+
// verify the required parameter 'id' is set
|
|
1475
1440
|
if (id === undefined || id === null) {
|
|
1476
1441
|
throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
|
|
1477
1442
|
}
|
|
1478
|
-
|
|
1479
1443
|
var pathParams = {
|
|
1480
1444
|
'id': id
|
|
1481
1445
|
};
|
|
@@ -1489,12 +1453,9 @@ var GraphRelationshipsApi = /*#__PURE__*/function () {
|
|
|
1489
1453
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1490
1454
|
var contentTypes = ['application/json'];
|
|
1491
1455
|
var accepts = ['application/json'];
|
|
1492
|
-
var returnType =
|
|
1456
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1493
1457
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1494
1458
|
}
|
|
1495
1459
|
}]);
|
|
1496
|
-
|
|
1497
1460
|
return GraphRelationshipsApi;
|
|
1498
|
-
}();
|
|
1499
|
-
|
|
1500
|
-
exports["default"] = GraphRelationshipsApi;
|
|
1461
|
+
}();
|