@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,29 +4,34 @@ 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 _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
|
|
13
|
-
|
|
14
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject1"));
|
|
15
|
-
|
|
10
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
16
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
12
|
+
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); }
|
|
18
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Gobodo API
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.6
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
24
29
|
/**
|
|
25
30
|
* GraphRelationshipTypes service.
|
|
26
31
|
* @module api/GraphRelationshipTypesApi
|
|
27
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.6
|
|
28
33
|
*/
|
|
29
|
-
var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
34
|
+
var GraphRelationshipTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
30
35
|
/**
|
|
31
36
|
* Constructs a new GraphRelationshipTypesApi.
|
|
32
37
|
* @alias module:api/GraphRelationshipTypesApi
|
|
@@ -36,39 +41,36 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
36
41
|
*/
|
|
37
42
|
function GraphRelationshipTypesApi(apiClient) {
|
|
38
43
|
_classCallCheck(this, GraphRelationshipTypesApi);
|
|
39
|
-
|
|
40
44
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
41
45
|
}
|
|
46
|
+
|
|
42
47
|
/**
|
|
43
48
|
* Callback function to receive the result of the addEndObjectTypes1 operation.
|
|
44
49
|
* @callback module:api/GraphRelationshipTypesApi~addEndObjectTypes1Callback
|
|
45
50
|
* @param {String} error Error message, if any.
|
|
46
|
-
* @param {module:model/
|
|
51
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
47
52
|
* @param {String} response The complete HTTP response.
|
|
48
53
|
*/
|
|
49
54
|
|
|
50
55
|
/**
|
|
51
56
|
* @param {Number} id
|
|
52
57
|
* @param {Object} opts Optional parameters
|
|
53
|
-
* @param {String}
|
|
54
|
-
* @param {Number}
|
|
55
|
-
* @param {String}
|
|
56
|
-
* @param {String}
|
|
58
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
59
|
+
* @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
|
|
60
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
61
|
+
* @param {String} [body]
|
|
57
62
|
* @param {module:api/GraphRelationshipTypesApi~addEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
58
|
-
* data is of type: {@link module:model/
|
|
63
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
59
64
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
65
|
_createClass(GraphRelationshipTypesApi, [{
|
|
63
66
|
key: "addEndObjectTypes1",
|
|
64
67
|
value: function addEndObjectTypes1(id, opts, callback) {
|
|
65
68
|
opts = opts || {};
|
|
66
|
-
var postBody = opts['body'];
|
|
67
|
-
|
|
69
|
+
var postBody = opts['body'];
|
|
70
|
+
// verify the required parameter 'id' is set
|
|
68
71
|
if (id === undefined || id === null) {
|
|
69
72
|
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
|
|
70
73
|
}
|
|
71
|
-
|
|
72
74
|
var pathParams = {
|
|
73
75
|
'id': id
|
|
74
76
|
};
|
|
@@ -82,38 +84,37 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
82
84
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
83
85
|
var contentTypes = ['application/json'];
|
|
84
86
|
var accepts = ['application/json'];
|
|
85
|
-
var returnType =
|
|
87
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
86
88
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
87
89
|
}
|
|
90
|
+
|
|
88
91
|
/**
|
|
89
92
|
* Callback function to receive the result of the addStartObjectTypes operation.
|
|
90
93
|
* @callback module:api/GraphRelationshipTypesApi~addStartObjectTypesCallback
|
|
91
94
|
* @param {String} error Error message, if any.
|
|
92
|
-
* @param {module:model/
|
|
95
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
93
96
|
* @param {String} response The complete HTTP response.
|
|
94
97
|
*/
|
|
95
98
|
|
|
96
99
|
/**
|
|
97
100
|
* @param {Number} id
|
|
98
101
|
* @param {Object} opts Optional parameters
|
|
99
|
-
* @param {String}
|
|
100
|
-
* @param {Number}
|
|
101
|
-
* @param {String}
|
|
102
|
-
* @param {String}
|
|
102
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
103
|
+
* @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
|
|
104
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
105
|
+
* @param {String} [body]
|
|
103
106
|
* @param {module:api/GraphRelationshipTypesApi~addStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
104
|
-
* data is of type: {@link module:model/
|
|
107
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
105
108
|
*/
|
|
106
|
-
|
|
107
109
|
}, {
|
|
108
110
|
key: "addStartObjectTypes",
|
|
109
111
|
value: function addStartObjectTypes(id, opts, callback) {
|
|
110
112
|
opts = opts || {};
|
|
111
|
-
var postBody = opts['body'];
|
|
112
|
-
|
|
113
|
+
var postBody = opts['body'];
|
|
114
|
+
// verify the required parameter 'id' is set
|
|
113
115
|
if (id === undefined || id === null) {
|
|
114
116
|
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
115
117
|
}
|
|
116
|
-
|
|
117
118
|
var pathParams = {
|
|
118
119
|
'id': id
|
|
119
120
|
};
|
|
@@ -127,9 +128,10 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
127
128
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
128
129
|
var contentTypes = ['application/json'];
|
|
129
130
|
var accepts = ['application/json'];
|
|
130
|
-
var returnType =
|
|
131
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
131
132
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
132
133
|
}
|
|
134
|
+
|
|
133
135
|
/**
|
|
134
136
|
* Callback function to receive the result of the createRelationshipType operation.
|
|
135
137
|
* @callback module:api/GraphRelationshipTypesApi~createRelationshipTypeCallback
|
|
@@ -143,23 +145,21 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
143
145
|
* Creates a new relationship type
|
|
144
146
|
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
145
147
|
* @param {Object} opts Optional parameters
|
|
146
|
-
* @param {String}
|
|
147
|
-
* @param {Number}
|
|
148
|
-
* @param {String}
|
|
148
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
149
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
150
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
149
151
|
* @param {module:api/GraphRelationshipTypesApi~createRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
150
152
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
151
153
|
*/
|
|
152
|
-
|
|
153
154
|
}, {
|
|
154
155
|
key: "createRelationshipType",
|
|
155
156
|
value: function createRelationshipType(graphRelationshipType, opts, callback) {
|
|
156
157
|
opts = opts || {};
|
|
157
|
-
var postBody = graphRelationshipType;
|
|
158
|
-
|
|
158
|
+
var postBody = graphRelationshipType;
|
|
159
|
+
// verify the required parameter 'graphRelationshipType' is set
|
|
159
160
|
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
160
161
|
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
161
162
|
}
|
|
162
|
-
|
|
163
163
|
var pathParams = {};
|
|
164
164
|
var queryParams = {};
|
|
165
165
|
var headerParams = {
|
|
@@ -174,6 +174,7 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
174
174
|
var returnType = _GraphRelationshipType["default"];
|
|
175
175
|
return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
176
176
|
}
|
|
177
|
+
|
|
177
178
|
/**
|
|
178
179
|
* Callback function to receive the result of the get12 operation.
|
|
179
180
|
* @callback module:api/GraphRelationshipTypesApi~get12Callback
|
|
@@ -185,12 +186,11 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
185
186
|
/**
|
|
186
187
|
* Root for the API
|
|
187
188
|
* @param {Object} opts Optional parameters
|
|
188
|
-
* @param {String}
|
|
189
|
-
* @param {Number}
|
|
190
|
-
* @param {String}
|
|
189
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
190
|
+
* @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
|
|
191
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
191
192
|
* @param {module:api/GraphRelationshipTypesApi~get12Callback} callback The callback function, accepting three arguments: error, data, response
|
|
192
193
|
*/
|
|
193
|
-
|
|
194
194
|
}, {
|
|
195
195
|
key: "get12",
|
|
196
196
|
value: function get12(opts, callback) {
|
|
@@ -210,6 +210,7 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
210
210
|
var returnType = null;
|
|
211
211
|
return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
212
212
|
}
|
|
213
|
+
|
|
213
214
|
/**
|
|
214
215
|
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
215
216
|
* @callback module:api/GraphRelationshipTypesApi~getAllRelationshipsByTypeCallback
|
|
@@ -224,28 +225,25 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
224
225
|
* @param {Number} id The id of the relationship type we are searching for
|
|
225
226
|
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
226
227
|
* @param {Object} opts Optional parameters
|
|
227
|
-
* @param {String}
|
|
228
|
-
* @param {Number}
|
|
229
|
-
* @param {String}
|
|
228
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
229
|
+
* @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
|
|
230
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
230
231
|
* @param {module:api/GraphRelationshipTypesApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
231
232
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
232
233
|
*/
|
|
233
|
-
|
|
234
234
|
}, {
|
|
235
235
|
key: "getAllRelationshipsByType",
|
|
236
236
|
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
237
237
|
opts = opts || {};
|
|
238
|
-
var postBody = null;
|
|
239
|
-
|
|
238
|
+
var postBody = null;
|
|
239
|
+
// verify the required parameter 'id' is set
|
|
240
240
|
if (id === undefined || id === null) {
|
|
241
241
|
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
}
|
|
243
|
+
// verify the required parameter 'reltypeid' is set
|
|
245
244
|
if (reltypeid === undefined || reltypeid === null) {
|
|
246
245
|
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
247
246
|
}
|
|
248
|
-
|
|
249
247
|
var pathParams = {
|
|
250
248
|
'id': id,
|
|
251
249
|
'reltypeid': reltypeid
|
|
@@ -263,34 +261,33 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
263
261
|
var returnType = [_GraphRelationship["default"]];
|
|
264
262
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
265
263
|
}
|
|
264
|
+
|
|
266
265
|
/**
|
|
267
266
|
* Callback function to receive the result of the getEndObjectTypes1 operation.
|
|
268
267
|
* @callback module:api/GraphRelationshipTypesApi~getEndObjectTypes1Callback
|
|
269
268
|
* @param {String} error Error message, if any.
|
|
270
|
-
* @param {module:model/
|
|
269
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
271
270
|
* @param {String} response The complete HTTP response.
|
|
272
271
|
*/
|
|
273
272
|
|
|
274
273
|
/**
|
|
275
274
|
* @param {Number} id
|
|
276
275
|
* @param {Object} opts Optional parameters
|
|
277
|
-
* @param {String}
|
|
278
|
-
* @param {Number}
|
|
279
|
-
* @param {String}
|
|
276
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
277
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
278
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
280
279
|
* @param {module:api/GraphRelationshipTypesApi~getEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
281
|
-
* data is of type: {@link module:model/
|
|
280
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
282
281
|
*/
|
|
283
|
-
|
|
284
282
|
}, {
|
|
285
283
|
key: "getEndObjectTypes1",
|
|
286
284
|
value: function getEndObjectTypes1(id, opts, callback) {
|
|
287
285
|
opts = opts || {};
|
|
288
|
-
var postBody = null;
|
|
289
|
-
|
|
286
|
+
var postBody = null;
|
|
287
|
+
// verify the required parameter 'id' is set
|
|
290
288
|
if (id === undefined || id === null) {
|
|
291
289
|
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes1");
|
|
292
290
|
}
|
|
293
|
-
|
|
294
291
|
var pathParams = {
|
|
295
292
|
'id': id
|
|
296
293
|
};
|
|
@@ -304,37 +301,36 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
304
301
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
305
302
|
var contentTypes = [];
|
|
306
303
|
var accepts = ['application/json'];
|
|
307
|
-
var returnType =
|
|
304
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
308
305
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
309
306
|
}
|
|
307
|
+
|
|
310
308
|
/**
|
|
311
309
|
* Callback function to receive the result of the getFields2 operation.
|
|
312
310
|
* @callback module:api/GraphRelationshipTypesApi~getFields2Callback
|
|
313
311
|
* @param {String} error Error message, if any.
|
|
314
|
-
* @param {module:model/
|
|
312
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
315
313
|
* @param {String} response The complete HTTP response.
|
|
316
314
|
*/
|
|
317
315
|
|
|
318
316
|
/**
|
|
319
317
|
* @param {Number} id
|
|
320
318
|
* @param {Object} opts Optional parameters
|
|
321
|
-
* @param {String}
|
|
322
|
-
* @param {Number}
|
|
323
|
-
* @param {String}
|
|
319
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
320
|
+
* @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
|
|
321
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
324
322
|
* @param {module:api/GraphRelationshipTypesApi~getFields2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
325
|
-
* data is of type: {@link module:model/
|
|
323
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
326
324
|
*/
|
|
327
|
-
|
|
328
325
|
}, {
|
|
329
326
|
key: "getFields2",
|
|
330
327
|
value: function getFields2(id, opts, callback) {
|
|
331
328
|
opts = opts || {};
|
|
332
|
-
var postBody = null;
|
|
333
|
-
|
|
329
|
+
var postBody = null;
|
|
330
|
+
// verify the required parameter 'id' is set
|
|
334
331
|
if (id === undefined || id === null) {
|
|
335
332
|
throw new Error("Missing the required parameter 'id' when calling getFields2");
|
|
336
333
|
}
|
|
337
|
-
|
|
338
334
|
var pathParams = {
|
|
339
335
|
'id': id
|
|
340
336
|
};
|
|
@@ -348,9 +344,10 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
348
344
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
349
345
|
var contentTypes = [];
|
|
350
346
|
var accepts = ['application/json'];
|
|
351
|
-
var returnType =
|
|
347
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
352
348
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
353
349
|
}
|
|
350
|
+
|
|
354
351
|
/**
|
|
355
352
|
* Callback function to receive the result of the getRelationshipTypeByClassName operation.
|
|
356
353
|
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeByClassNameCallback
|
|
@@ -363,23 +360,21 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
363
360
|
* Gets the relationship type by the java classname
|
|
364
361
|
* @param {String} classname
|
|
365
362
|
* @param {Object} opts Optional parameters
|
|
366
|
-
* @param {String}
|
|
367
|
-
* @param {Number}
|
|
368
|
-
* @param {String}
|
|
363
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
364
|
+
* @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
|
|
365
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
369
366
|
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeByClassNameCallback} callback The callback function, accepting three arguments: error, data, response
|
|
370
367
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
371
368
|
*/
|
|
372
|
-
|
|
373
369
|
}, {
|
|
374
370
|
key: "getRelationshipTypeByClassName",
|
|
375
371
|
value: function getRelationshipTypeByClassName(classname, opts, callback) {
|
|
376
372
|
opts = opts || {};
|
|
377
|
-
var postBody = null;
|
|
378
|
-
|
|
373
|
+
var postBody = null;
|
|
374
|
+
// verify the required parameter 'classname' is set
|
|
379
375
|
if (classname === undefined || classname === null) {
|
|
380
376
|
throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
|
|
381
377
|
}
|
|
382
|
-
|
|
383
378
|
var pathParams = {
|
|
384
379
|
'classname': classname
|
|
385
380
|
};
|
|
@@ -396,6 +391,7 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
396
391
|
var returnType = _GraphRelationshipType["default"];
|
|
397
392
|
return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
398
393
|
}
|
|
394
|
+
|
|
399
395
|
/**
|
|
400
396
|
* Callback function to receive the result of the getRelationshipTypeById operation.
|
|
401
397
|
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeByIdCallback
|
|
@@ -408,23 +404,21 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
408
404
|
* Gets the relationship type by key
|
|
409
405
|
* @param {Number} id
|
|
410
406
|
* @param {Object} opts Optional parameters
|
|
411
|
-
* @param {String}
|
|
412
|
-
* @param {Number}
|
|
413
|
-
* @param {String}
|
|
407
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
408
|
+
* @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
|
|
409
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
414
410
|
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
415
411
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
416
412
|
*/
|
|
417
|
-
|
|
418
413
|
}, {
|
|
419
414
|
key: "getRelationshipTypeById",
|
|
420
415
|
value: function getRelationshipTypeById(id, opts, callback) {
|
|
421
416
|
opts = opts || {};
|
|
422
|
-
var postBody = null;
|
|
423
|
-
|
|
417
|
+
var postBody = null;
|
|
418
|
+
// verify the required parameter 'id' is set
|
|
424
419
|
if (id === undefined || id === null) {
|
|
425
420
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
426
421
|
}
|
|
427
|
-
|
|
428
422
|
var pathParams = {
|
|
429
423
|
'id': id
|
|
430
424
|
};
|
|
@@ -441,6 +435,7 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
441
435
|
var returnType = _GraphRelationshipType["default"];
|
|
442
436
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
443
437
|
}
|
|
438
|
+
|
|
444
439
|
/**
|
|
445
440
|
* Callback function to receive the result of the getRelationshipTypeByKey operation.
|
|
446
441
|
* @callback module:api/GraphRelationshipTypesApi~getRelationshipTypeByKeyCallback
|
|
@@ -453,23 +448,21 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
453
448
|
* Gets the relationship type by key
|
|
454
449
|
* @param {String} key
|
|
455
450
|
* @param {Object} opts Optional parameters
|
|
456
|
-
* @param {String}
|
|
457
|
-
* @param {Number}
|
|
458
|
-
* @param {String}
|
|
451
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
452
|
+
* @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
|
|
453
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
459
454
|
* @param {module:api/GraphRelationshipTypesApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
460
455
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
461
456
|
*/
|
|
462
|
-
|
|
463
457
|
}, {
|
|
464
458
|
key: "getRelationshipTypeByKey",
|
|
465
459
|
value: function getRelationshipTypeByKey(key, opts, callback) {
|
|
466
460
|
opts = opts || {};
|
|
467
|
-
var postBody = null;
|
|
468
|
-
|
|
461
|
+
var postBody = null;
|
|
462
|
+
// verify the required parameter 'key' is set
|
|
469
463
|
if (key === undefined || key === null) {
|
|
470
464
|
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
471
465
|
}
|
|
472
|
-
|
|
473
466
|
var pathParams = {
|
|
474
467
|
'key': key
|
|
475
468
|
};
|
|
@@ -486,6 +479,7 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
486
479
|
var returnType = _GraphRelationshipType["default"];
|
|
487
480
|
return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
488
481
|
}
|
|
482
|
+
|
|
489
483
|
/**
|
|
490
484
|
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
491
485
|
* @callback module:api/GraphRelationshipTypesApi~getRelationshipsByTypeInCallback
|
|
@@ -500,28 +494,25 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
500
494
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
501
495
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
502
496
|
* @param {Object} opts Optional parameters
|
|
503
|
-
* @param {String}
|
|
504
|
-
* @param {Number}
|
|
505
|
-
* @param {String}
|
|
497
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
498
|
+
* @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
|
|
499
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
506
500
|
* @param {module:api/GraphRelationshipTypesApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
507
501
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
508
502
|
*/
|
|
509
|
-
|
|
510
503
|
}, {
|
|
511
504
|
key: "getRelationshipsByTypeIn",
|
|
512
505
|
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
513
506
|
opts = opts || {};
|
|
514
|
-
var postBody = null;
|
|
515
|
-
|
|
507
|
+
var postBody = null;
|
|
508
|
+
// verify the required parameter 'id' is set
|
|
516
509
|
if (id === undefined || id === null) {
|
|
517
510
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
|
|
511
|
+
}
|
|
512
|
+
// verify the required parameter 'reltypeid' is set
|
|
521
513
|
if (reltypeid === undefined || reltypeid === null) {
|
|
522
514
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
523
515
|
}
|
|
524
|
-
|
|
525
516
|
var pathParams = {
|
|
526
517
|
'id': id,
|
|
527
518
|
'reltypeid': reltypeid
|
|
@@ -539,6 +530,7 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
539
530
|
var returnType = [_GraphRelationship["default"]];
|
|
540
531
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
541
532
|
}
|
|
533
|
+
|
|
542
534
|
/**
|
|
543
535
|
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
544
536
|
* @callback module:api/GraphRelationshipTypesApi~getRelationshipsByTypeOutCallback
|
|
@@ -553,28 +545,25 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
553
545
|
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
554
546
|
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
555
547
|
* @param {Object} opts Optional parameters
|
|
556
|
-
* @param {String}
|
|
557
|
-
* @param {Number}
|
|
558
|
-
* @param {String}
|
|
548
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
549
|
+
* @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
|
|
550
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
559
551
|
* @param {module:api/GraphRelationshipTypesApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
560
552
|
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
561
553
|
*/
|
|
562
|
-
|
|
563
554
|
}, {
|
|
564
555
|
key: "getRelationshipsByTypeOut",
|
|
565
556
|
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
566
557
|
opts = opts || {};
|
|
567
|
-
var postBody = null;
|
|
568
|
-
|
|
558
|
+
var postBody = null;
|
|
559
|
+
// verify the required parameter 'id' is set
|
|
569
560
|
if (id === undefined || id === null) {
|
|
570
561
|
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
|
|
562
|
+
}
|
|
563
|
+
// verify the required parameter 'reltypeid' is set
|
|
574
564
|
if (reltypeid === undefined || reltypeid === null) {
|
|
575
565
|
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
576
566
|
}
|
|
577
|
-
|
|
578
567
|
var pathParams = {
|
|
579
568
|
'id': id,
|
|
580
569
|
'reltypeid': reltypeid
|
|
@@ -592,34 +581,33 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
592
581
|
var returnType = [_GraphRelationship["default"]];
|
|
593
582
|
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
594
583
|
}
|
|
584
|
+
|
|
595
585
|
/**
|
|
596
586
|
* Callback function to receive the result of the getStartObjectTypes operation.
|
|
597
587
|
* @callback module:api/GraphRelationshipTypesApi~getStartObjectTypesCallback
|
|
598
588
|
* @param {String} error Error message, if any.
|
|
599
|
-
* @param {module:model/
|
|
589
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
600
590
|
* @param {String} response The complete HTTP response.
|
|
601
591
|
*/
|
|
602
592
|
|
|
603
593
|
/**
|
|
604
594
|
* @param {Number} id
|
|
605
595
|
* @param {Object} opts Optional parameters
|
|
606
|
-
* @param {String}
|
|
607
|
-
* @param {Number}
|
|
608
|
-
* @param {String}
|
|
596
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
597
|
+
* @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
|
|
598
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
609
599
|
* @param {module:api/GraphRelationshipTypesApi~getStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
610
|
-
* data is of type: {@link module:model/
|
|
600
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
611
601
|
*/
|
|
612
|
-
|
|
613
602
|
}, {
|
|
614
603
|
key: "getStartObjectTypes",
|
|
615
604
|
value: function getStartObjectTypes(id, opts, callback) {
|
|
616
605
|
opts = opts || {};
|
|
617
|
-
var postBody = null;
|
|
618
|
-
|
|
606
|
+
var postBody = null;
|
|
607
|
+
// verify the required parameter 'id' is set
|
|
619
608
|
if (id === undefined || id === null) {
|
|
620
609
|
throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
|
|
621
610
|
}
|
|
622
|
-
|
|
623
611
|
var pathParams = {
|
|
624
612
|
'id': id
|
|
625
613
|
};
|
|
@@ -633,38 +621,37 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
633
621
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
634
622
|
var contentTypes = [];
|
|
635
623
|
var accepts = ['application/json'];
|
|
636
|
-
var returnType =
|
|
624
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
637
625
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
638
626
|
}
|
|
627
|
+
|
|
639
628
|
/**
|
|
640
629
|
* Callback function to receive the result of the removeEndObjectTypes operation.
|
|
641
630
|
* @callback module:api/GraphRelationshipTypesApi~removeEndObjectTypesCallback
|
|
642
631
|
* @param {String} error Error message, if any.
|
|
643
|
-
* @param {module:model/
|
|
632
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
644
633
|
* @param {String} response The complete HTTP response.
|
|
645
634
|
*/
|
|
646
635
|
|
|
647
636
|
/**
|
|
648
637
|
* @param {Number} id
|
|
649
638
|
* @param {Object} opts Optional parameters
|
|
650
|
-
* @param {String}
|
|
651
|
-
* @param {Number}
|
|
652
|
-
* @param {String}
|
|
653
|
-
* @param {String}
|
|
639
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
640
|
+
* @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
|
|
641
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
642
|
+
* @param {String} [body]
|
|
654
643
|
* @param {module:api/GraphRelationshipTypesApi~removeEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
655
|
-
* data is of type: {@link module:model/
|
|
644
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
656
645
|
*/
|
|
657
|
-
|
|
658
646
|
}, {
|
|
659
647
|
key: "removeEndObjectTypes",
|
|
660
648
|
value: function removeEndObjectTypes(id, opts, callback) {
|
|
661
649
|
opts = opts || {};
|
|
662
|
-
var postBody = opts['body'];
|
|
663
|
-
|
|
650
|
+
var postBody = opts['body'];
|
|
651
|
+
// verify the required parameter 'id' is set
|
|
664
652
|
if (id === undefined || id === null) {
|
|
665
653
|
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
666
654
|
}
|
|
667
|
-
|
|
668
655
|
var pathParams = {
|
|
669
656
|
'id': id
|
|
670
657
|
};
|
|
@@ -678,38 +665,37 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
678
665
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
679
666
|
var contentTypes = ['application/json'];
|
|
680
667
|
var accepts = ['application/json'];
|
|
681
|
-
var returnType =
|
|
668
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
682
669
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
683
670
|
}
|
|
671
|
+
|
|
684
672
|
/**
|
|
685
673
|
* Callback function to receive the result of the removeStartObjectTypes operation.
|
|
686
674
|
* @callback module:api/GraphRelationshipTypesApi~removeStartObjectTypesCallback
|
|
687
675
|
* @param {String} error Error message, if any.
|
|
688
|
-
* @param {module:model/
|
|
676
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
689
677
|
* @param {String} response The complete HTTP response.
|
|
690
678
|
*/
|
|
691
679
|
|
|
692
680
|
/**
|
|
693
681
|
* @param {Number} id
|
|
694
682
|
* @param {Object} opts Optional parameters
|
|
695
|
-
* @param {String}
|
|
696
|
-
* @param {Number}
|
|
697
|
-
* @param {String}
|
|
698
|
-
* @param {String}
|
|
683
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
684
|
+
* @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
|
|
685
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
686
|
+
* @param {String} [body]
|
|
699
687
|
* @param {module:api/GraphRelationshipTypesApi~removeStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
700
|
-
* data is of type: {@link module:model/
|
|
688
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
701
689
|
*/
|
|
702
|
-
|
|
703
690
|
}, {
|
|
704
691
|
key: "removeStartObjectTypes",
|
|
705
692
|
value: function removeStartObjectTypes(id, opts, callback) {
|
|
706
693
|
opts = opts || {};
|
|
707
|
-
var postBody = opts['body'];
|
|
708
|
-
|
|
694
|
+
var postBody = opts['body'];
|
|
695
|
+
// verify the required parameter 'id' is set
|
|
709
696
|
if (id === undefined || id === null) {
|
|
710
697
|
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
711
698
|
}
|
|
712
|
-
|
|
713
699
|
var pathParams = {
|
|
714
700
|
'id': id
|
|
715
701
|
};
|
|
@@ -723,9 +709,10 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
723
709
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
724
710
|
var contentTypes = ['application/json'];
|
|
725
711
|
var accepts = ['application/json'];
|
|
726
|
-
var returnType =
|
|
712
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
727
713
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
728
714
|
}
|
|
715
|
+
|
|
729
716
|
/**
|
|
730
717
|
* Callback function to receive the result of the updateRelationshipType operation.
|
|
731
718
|
* @callback module:api/GraphRelationshipTypesApi~updateRelationshipTypeCallback
|
|
@@ -740,28 +727,25 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
740
727
|
* @param {Number} id The id of the relationship type we are updating
|
|
741
728
|
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
742
729
|
* @param {Object} opts Optional parameters
|
|
743
|
-
* @param {String}
|
|
744
|
-
* @param {Number}
|
|
745
|
-
* @param {String}
|
|
730
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
731
|
+
* @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
|
|
732
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
746
733
|
* @param {module:api/GraphRelationshipTypesApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
747
734
|
* data is of type: {@link module:model/GraphRelationshipType}
|
|
748
735
|
*/
|
|
749
|
-
|
|
750
736
|
}, {
|
|
751
737
|
key: "updateRelationshipType",
|
|
752
738
|
value: function updateRelationshipType(id, graphRelationshipType, opts, callback) {
|
|
753
739
|
opts = opts || {};
|
|
754
|
-
var postBody = graphRelationshipType;
|
|
755
|
-
|
|
740
|
+
var postBody = graphRelationshipType;
|
|
741
|
+
// verify the required parameter 'id' is set
|
|
756
742
|
if (id === undefined || id === null) {
|
|
757
743
|
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
|
|
744
|
+
}
|
|
745
|
+
// verify the required parameter 'graphRelationshipType' is set
|
|
761
746
|
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
762
747
|
throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
|
|
763
748
|
}
|
|
764
|
-
|
|
765
749
|
var pathParams = {
|
|
766
750
|
'id': id
|
|
767
751
|
};
|
|
@@ -778,35 +762,34 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
778
762
|
var returnType = _GraphRelationshipType["default"];
|
|
779
763
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
780
764
|
}
|
|
765
|
+
|
|
781
766
|
/**
|
|
782
767
|
* Callback function to receive the result of the updateTemplate2 operation.
|
|
783
768
|
* @callback module:api/GraphRelationshipTypesApi~updateTemplate2Callback
|
|
784
769
|
* @param {String} error Error message, if any.
|
|
785
|
-
* @param {module:model/
|
|
770
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
786
771
|
* @param {String} response The complete HTTP response.
|
|
787
772
|
*/
|
|
788
773
|
|
|
789
774
|
/**
|
|
790
775
|
* @param {Number} id
|
|
791
776
|
* @param {Object} opts Optional parameters
|
|
792
|
-
* @param {String}
|
|
793
|
-
* @param {Number}
|
|
794
|
-
* @param {String}
|
|
795
|
-
* @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
|
|
780
|
+
* @param {String} [body]
|
|
796
781
|
* @param {module:api/GraphRelationshipTypesApi~updateTemplate2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
797
|
-
* data is of type: {@link module:model/
|
|
782
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
798
783
|
*/
|
|
799
|
-
|
|
800
784
|
}, {
|
|
801
785
|
key: "updateTemplate2",
|
|
802
786
|
value: function updateTemplate2(id, opts, callback) {
|
|
803
787
|
opts = opts || {};
|
|
804
|
-
var postBody = opts['body'];
|
|
805
|
-
|
|
788
|
+
var postBody = opts['body'];
|
|
789
|
+
// verify the required parameter 'id' is set
|
|
806
790
|
if (id === undefined || id === null) {
|
|
807
791
|
throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
|
|
808
792
|
}
|
|
809
|
-
|
|
810
793
|
var pathParams = {
|
|
811
794
|
'id': id
|
|
812
795
|
};
|
|
@@ -820,12 +803,9 @@ var GraphRelationshipTypesApi = /*#__PURE__*/function () {
|
|
|
820
803
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
821
804
|
var contentTypes = ['application/json'];
|
|
822
805
|
var accepts = ['application/json'];
|
|
823
|
-
var returnType =
|
|
806
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
824
807
|
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
825
808
|
}
|
|
826
809
|
}]);
|
|
827
|
-
|
|
828
810
|
return GraphRelationshipTypesApi;
|
|
829
|
-
}();
|
|
830
|
-
|
|
831
|
-
exports["default"] = GraphRelationshipTypesApi;
|
|
811
|
+
}();
|