@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
package/dist/api/GraphsApi.js
CHANGED
|
@@ -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 _GraphObjectSchema = _interopRequireDefault(require("../model/GraphObjectSchema"));
|
|
11
|
-
|
|
12
9
|
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
13
|
-
|
|
14
10
|
var _GraphSchema = _interopRequireDefault(require("../model/GraphSchema"));
|
|
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
|
* Graphs service.
|
|
28
32
|
* @module api/GraphsApi
|
|
29
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.6
|
|
30
34
|
*/
|
|
31
|
-
var GraphsApi = /*#__PURE__*/function () {
|
|
35
|
+
var GraphsApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
36
|
/**
|
|
33
37
|
* Constructs a new GraphsApi.
|
|
34
38
|
* @alias module:api/GraphsApi
|
|
@@ -38,9 +42,9 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
38
42
|
*/
|
|
39
43
|
function GraphsApi(apiClient) {
|
|
40
44
|
_classCallCheck(this, GraphsApi);
|
|
41
|
-
|
|
42
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
46
|
}
|
|
47
|
+
|
|
44
48
|
/**
|
|
45
49
|
* Callback function to receive the result of the addSchemas operation.
|
|
46
50
|
* @callback module:api/GraphsApi~addSchemasCallback
|
|
@@ -54,29 +58,25 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
54
58
|
* @param {Number} id
|
|
55
59
|
* @param {Array.<Number>} requestBody Array of schema ids
|
|
56
60
|
* @param {Object} opts Optional parameters
|
|
57
|
-
* @param {String}
|
|
58
|
-
* @param {Number}
|
|
59
|
-
* @param {String}
|
|
61
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
62
|
+
* @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
|
|
63
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
60
64
|
* @param {module:api/GraphsApi~addSchemasCallback} callback The callback function, accepting three arguments: error, data, response
|
|
61
65
|
* data is of type: {@link module:model/GraphSchema}
|
|
62
66
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
67
|
_createClass(GraphsApi, [{
|
|
66
68
|
key: "addSchemas",
|
|
67
69
|
value: function addSchemas(id, requestBody, opts, callback) {
|
|
68
70
|
opts = opts || {};
|
|
69
|
-
var postBody = requestBody;
|
|
70
|
-
|
|
71
|
+
var postBody = requestBody;
|
|
72
|
+
// verify the required parameter 'id' is set
|
|
71
73
|
if (id === undefined || id === null) {
|
|
72
74
|
throw new Error("Missing the required parameter 'id' when calling addSchemas");
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
}
|
|
76
|
+
// verify the required parameter 'requestBody' is set
|
|
76
77
|
if (requestBody === undefined || requestBody === null) {
|
|
77
78
|
throw new Error("Missing the required parameter 'requestBody' when calling addSchemas");
|
|
78
79
|
}
|
|
79
|
-
|
|
80
80
|
var pathParams = {
|
|
81
81
|
'id': id
|
|
82
82
|
};
|
|
@@ -93,6 +93,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
93
93
|
var returnType = _GraphSchema["default"];
|
|
94
94
|
return this.apiClient.callApi('/graph/data/graph/{id}/schemas', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
95
95
|
}
|
|
96
|
+
|
|
96
97
|
/**
|
|
97
98
|
* Callback function to receive the result of the createAddObjectsToGraph operation.
|
|
98
99
|
* @callback module:api/GraphsApi~createAddObjectsToGraphCallback
|
|
@@ -105,24 +106,22 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
105
106
|
* Adds objects to the graph
|
|
106
107
|
* @param {Number} id
|
|
107
108
|
* @param {Object} opts Optional parameters
|
|
108
|
-
* @param {String}
|
|
109
|
-
* @param {Number}
|
|
110
|
-
* @param {String}
|
|
111
|
-
* @param {String}
|
|
109
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
110
|
+
* @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
|
|
111
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
112
|
+
* @param {String} [body]
|
|
112
113
|
* @param {module:api/GraphsApi~createAddObjectsToGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
113
114
|
* data is of type: {@link module:model/GraphObjectSchema}
|
|
114
115
|
*/
|
|
115
|
-
|
|
116
116
|
}, {
|
|
117
117
|
key: "createAddObjectsToGraph",
|
|
118
118
|
value: function createAddObjectsToGraph(id, opts, callback) {
|
|
119
119
|
opts = opts || {};
|
|
120
|
-
var postBody = opts['body'];
|
|
121
|
-
|
|
120
|
+
var postBody = opts['body'];
|
|
121
|
+
// verify the required parameter 'id' is set
|
|
122
122
|
if (id === undefined || id === null) {
|
|
123
123
|
throw new Error("Missing the required parameter 'id' when calling createAddObjectsToGraph");
|
|
124
124
|
}
|
|
125
|
-
|
|
126
125
|
var pathParams = {
|
|
127
126
|
'id': id
|
|
128
127
|
};
|
|
@@ -139,6 +138,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
139
138
|
var returnType = _GraphObjectSchema["default"];
|
|
140
139
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
141
140
|
}
|
|
141
|
+
|
|
142
142
|
/**
|
|
143
143
|
* Callback function to receive the result of the get13 operation.
|
|
144
144
|
* @callback module:api/GraphsApi~get13Callback
|
|
@@ -150,12 +150,11 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
150
150
|
/**
|
|
151
151
|
* Root for the API
|
|
152
152
|
* @param {Object} opts Optional parameters
|
|
153
|
-
* @param {String}
|
|
154
|
-
* @param {Number}
|
|
155
|
-
* @param {String}
|
|
153
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
154
|
+
* @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
|
|
155
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
156
156
|
* @param {module:api/GraphsApi~get13Callback} callback The callback function, accepting three arguments: error, data, response
|
|
157
157
|
*/
|
|
158
|
-
|
|
159
158
|
}, {
|
|
160
159
|
key: "get13",
|
|
161
160
|
value: function get13(opts, callback) {
|
|
@@ -175,11 +174,12 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
175
174
|
var returnType = null;
|
|
176
175
|
return this.apiClient.callApi('/graph/data/graph', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
177
176
|
}
|
|
177
|
+
|
|
178
178
|
/**
|
|
179
179
|
* Callback function to receive the result of the get14 operation.
|
|
180
180
|
* @callback module:api/GraphsApi~get14Callback
|
|
181
181
|
* @param {String} error Error message, if any.
|
|
182
|
-
* @param {Object.<String, module:model/{String:
|
|
182
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
183
183
|
* @param {String} response The complete HTTP response.
|
|
184
184
|
*/
|
|
185
185
|
|
|
@@ -187,23 +187,21 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
187
187
|
* Gets and object by id
|
|
188
188
|
* @param {Number} id
|
|
189
189
|
* @param {Object} opts Optional parameters
|
|
190
|
-
* @param {String}
|
|
191
|
-
* @param {Number}
|
|
192
|
-
* @param {String}
|
|
190
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
191
|
+
* @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
|
|
192
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
193
193
|
* @param {module:api/GraphsApi~get14Callback} callback The callback function, accepting three arguments: error, data, response
|
|
194
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
194
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
195
195
|
*/
|
|
196
|
-
|
|
197
196
|
}, {
|
|
198
197
|
key: "get14",
|
|
199
198
|
value: function get14(id, opts, callback) {
|
|
200
199
|
opts = opts || {};
|
|
201
|
-
var postBody = null;
|
|
202
|
-
|
|
200
|
+
var postBody = null;
|
|
201
|
+
// verify the required parameter 'id' is set
|
|
203
202
|
if (id === undefined || id === null) {
|
|
204
203
|
throw new Error("Missing the required parameter 'id' when calling get14");
|
|
205
204
|
}
|
|
206
|
-
|
|
207
205
|
var pathParams = {
|
|
208
206
|
'id': id
|
|
209
207
|
};
|
|
@@ -218,10 +216,11 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
218
216
|
var contentTypes = [];
|
|
219
217
|
var accepts = ['application/json'];
|
|
220
218
|
var returnType = {
|
|
221
|
-
'String':
|
|
219
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
222
220
|
};
|
|
223
221
|
return this.apiClient.callApi('/graph/data/graph/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
224
222
|
}
|
|
223
|
+
|
|
225
224
|
/**
|
|
226
225
|
* Callback function to receive the result of the getObjectsInGraph operation.
|
|
227
226
|
* @callback module:api/GraphsApi~getObjectsInGraphCallback
|
|
@@ -234,23 +233,21 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
234
233
|
* Get objects in the graph
|
|
235
234
|
* @param {Number} id
|
|
236
235
|
* @param {Object} opts Optional parameters
|
|
237
|
-
* @param {String}
|
|
238
|
-
* @param {Number}
|
|
239
|
-
* @param {String}
|
|
236
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
237
|
+
* @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
|
|
238
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
240
239
|
* @param {module:api/GraphsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
241
240
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
242
241
|
*/
|
|
243
|
-
|
|
244
242
|
}, {
|
|
245
243
|
key: "getObjectsInGraph",
|
|
246
244
|
value: function getObjectsInGraph(id, opts, callback) {
|
|
247
245
|
opts = opts || {};
|
|
248
|
-
var postBody = null;
|
|
249
|
-
|
|
246
|
+
var postBody = null;
|
|
247
|
+
// verify the required parameter 'id' is set
|
|
250
248
|
if (id === undefined || id === null) {
|
|
251
249
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
|
|
252
250
|
}
|
|
253
|
-
|
|
254
251
|
var pathParams = {
|
|
255
252
|
'id': id
|
|
256
253
|
};
|
|
@@ -267,6 +264,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
267
264
|
var returnType = [_GraphObjectSchema["default"]];
|
|
268
265
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
269
266
|
}
|
|
267
|
+
|
|
270
268
|
/**
|
|
271
269
|
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
272
270
|
* @callback module:api/GraphsApi~getObjectsInGraphByTagCallback
|
|
@@ -280,28 +278,25 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
280
278
|
* @param {Number} id
|
|
281
279
|
* @param {String} tag
|
|
282
280
|
* @param {Object} opts Optional parameters
|
|
283
|
-
* @param {String}
|
|
284
|
-
* @param {Number}
|
|
285
|
-
* @param {String}
|
|
281
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
282
|
+
* @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
|
|
283
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
286
284
|
* @param {module:api/GraphsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
287
285
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
288
286
|
*/
|
|
289
|
-
|
|
290
287
|
}, {
|
|
291
288
|
key: "getObjectsInGraphByTag",
|
|
292
289
|
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
293
290
|
opts = opts || {};
|
|
294
|
-
var postBody = null;
|
|
295
|
-
|
|
291
|
+
var postBody = null;
|
|
292
|
+
// verify the required parameter 'id' is set
|
|
296
293
|
if (id === undefined || id === null) {
|
|
297
294
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
295
|
+
}
|
|
296
|
+
// verify the required parameter 'tag' is set
|
|
301
297
|
if (tag === undefined || tag === null) {
|
|
302
298
|
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
303
299
|
}
|
|
304
|
-
|
|
305
300
|
var pathParams = {
|
|
306
301
|
'id': id,
|
|
307
302
|
'tag': tag
|
|
@@ -319,6 +314,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
319
314
|
var returnType = [_GraphObjectSchema["default"]];
|
|
320
315
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
321
316
|
}
|
|
317
|
+
|
|
322
318
|
/**
|
|
323
319
|
* Callback function to receive the result of the getObjectsInGraphByType operation.
|
|
324
320
|
* @callback module:api/GraphsApi~getObjectsInGraphByTypeCallback
|
|
@@ -332,28 +328,25 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
332
328
|
* @param {Number} id
|
|
333
329
|
* @param {String} type
|
|
334
330
|
* @param {Object} opts Optional parameters
|
|
335
|
-
* @param {String}
|
|
336
|
-
* @param {Number}
|
|
337
|
-
* @param {String}
|
|
331
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
332
|
+
* @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
|
|
333
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
338
334
|
* @param {module:api/GraphsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
339
335
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
340
336
|
*/
|
|
341
|
-
|
|
342
337
|
}, {
|
|
343
338
|
key: "getObjectsInGraphByType",
|
|
344
339
|
value: function getObjectsInGraphByType(id, type, opts, callback) {
|
|
345
340
|
opts = opts || {};
|
|
346
|
-
var postBody = null;
|
|
347
|
-
|
|
341
|
+
var postBody = null;
|
|
342
|
+
// verify the required parameter 'id' is set
|
|
348
343
|
if (id === undefined || id === null) {
|
|
349
344
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
345
|
+
}
|
|
346
|
+
// verify the required parameter 'type' is set
|
|
353
347
|
if (type === undefined || type === null) {
|
|
354
348
|
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
355
349
|
}
|
|
356
|
-
|
|
357
350
|
var pathParams = {
|
|
358
351
|
'id': id,
|
|
359
352
|
'type': type
|
|
@@ -371,6 +364,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
371
364
|
var returnType = [_GraphObjectSchema["default"]];
|
|
372
365
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
373
366
|
}
|
|
367
|
+
|
|
374
368
|
/**
|
|
375
369
|
* Callback function to receive the result of the getRelationships operation.
|
|
376
370
|
* @callback module:api/GraphsApi~getRelationshipsCallback
|
|
@@ -383,23 +377,21 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
383
377
|
* Get relationships in the graph
|
|
384
378
|
* @param {Number} id
|
|
385
379
|
* @param {Object} opts Optional parameters
|
|
386
|
-
* @param {String}
|
|
387
|
-
* @param {Number}
|
|
388
|
-
* @param {String}
|
|
380
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
381
|
+
* @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
|
|
382
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
389
383
|
* @param {module:api/GraphsApi~getRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
390
384
|
* data is of type: {@link module:model/GraphRelationship}
|
|
391
385
|
*/
|
|
392
|
-
|
|
393
386
|
}, {
|
|
394
387
|
key: "getRelationships",
|
|
395
388
|
value: function getRelationships(id, opts, callback) {
|
|
396
389
|
opts = opts || {};
|
|
397
|
-
var postBody = null;
|
|
398
|
-
|
|
390
|
+
var postBody = null;
|
|
391
|
+
// verify the required parameter 'id' is set
|
|
399
392
|
if (id === undefined || id === null) {
|
|
400
393
|
throw new Error("Missing the required parameter 'id' when calling getRelationships");
|
|
401
394
|
}
|
|
402
|
-
|
|
403
395
|
var pathParams = {
|
|
404
396
|
'id': id
|
|
405
397
|
};
|
|
@@ -416,6 +408,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
416
408
|
var returnType = _GraphRelationship["default"];
|
|
417
409
|
return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
418
410
|
}
|
|
411
|
+
|
|
419
412
|
/**
|
|
420
413
|
* Callback function to receive the result of the getRelationships1 operation.
|
|
421
414
|
* @callback module:api/GraphsApi~getRelationships1Callback
|
|
@@ -429,28 +422,25 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
429
422
|
* @param {Number} id
|
|
430
423
|
* @param {String} type
|
|
431
424
|
* @param {Object} opts Optional parameters
|
|
432
|
-
* @param {String}
|
|
433
|
-
* @param {Number}
|
|
434
|
-
* @param {String}
|
|
425
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
426
|
+
* @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
|
|
427
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
435
428
|
* @param {module:api/GraphsApi~getRelationships1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
436
429
|
* data is of type: {@link module:model/GraphRelationship}
|
|
437
430
|
*/
|
|
438
|
-
|
|
439
431
|
}, {
|
|
440
432
|
key: "getRelationships1",
|
|
441
433
|
value: function getRelationships1(id, type, opts, callback) {
|
|
442
434
|
opts = opts || {};
|
|
443
|
-
var postBody = null;
|
|
444
|
-
|
|
435
|
+
var postBody = null;
|
|
436
|
+
// verify the required parameter 'id' is set
|
|
445
437
|
if (id === undefined || id === null) {
|
|
446
438
|
throw new Error("Missing the required parameter 'id' when calling getRelationships1");
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
439
|
+
}
|
|
440
|
+
// verify the required parameter 'type' is set
|
|
450
441
|
if (type === undefined || type === null) {
|
|
451
442
|
throw new Error("Missing the required parameter 'type' when calling getRelationships1");
|
|
452
443
|
}
|
|
453
|
-
|
|
454
444
|
var pathParams = {
|
|
455
445
|
'id': id,
|
|
456
446
|
'type': type
|
|
@@ -468,6 +458,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
468
458
|
var returnType = _GraphRelationship["default"];
|
|
469
459
|
return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
470
460
|
}
|
|
461
|
+
|
|
471
462
|
/**
|
|
472
463
|
* Callback function to receive the result of the getSchemas operation.
|
|
473
464
|
* @callback module:api/GraphsApi~getSchemasCallback
|
|
@@ -480,23 +471,21 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
480
471
|
* Get schemas in the graph
|
|
481
472
|
* @param {Number} id
|
|
482
473
|
* @param {Object} opts Optional parameters
|
|
483
|
-
* @param {String}
|
|
484
|
-
* @param {Number}
|
|
485
|
-
* @param {String}
|
|
474
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
475
|
+
* @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
|
|
476
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
486
477
|
* @param {module:api/GraphsApi~getSchemasCallback} callback The callback function, accepting three arguments: error, data, response
|
|
487
478
|
* data is of type: {@link module:model/GraphSchema}
|
|
488
479
|
*/
|
|
489
|
-
|
|
490
480
|
}, {
|
|
491
481
|
key: "getSchemas",
|
|
492
482
|
value: function getSchemas(id, opts, callback) {
|
|
493
483
|
opts = opts || {};
|
|
494
|
-
var postBody = null;
|
|
495
|
-
|
|
484
|
+
var postBody = null;
|
|
485
|
+
// verify the required parameter 'id' is set
|
|
496
486
|
if (id === undefined || id === null) {
|
|
497
487
|
throw new Error("Missing the required parameter 'id' when calling getSchemas");
|
|
498
488
|
}
|
|
499
|
-
|
|
500
489
|
var pathParams = {
|
|
501
490
|
'id': id
|
|
502
491
|
};
|
|
@@ -513,6 +502,7 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
513
502
|
var returnType = _GraphSchema["default"];
|
|
514
503
|
return this.apiClient.callApi('/graph/data/graph/{id}/schemas', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
515
504
|
}
|
|
505
|
+
|
|
516
506
|
/**
|
|
517
507
|
* Callback function to receive the result of the removeSchemas operation.
|
|
518
508
|
* @callback module:api/GraphsApi~removeSchemasCallback
|
|
@@ -526,27 +516,24 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
526
516
|
* @param {Number} id
|
|
527
517
|
* @param {Array.<Number>} requestBody Array of schema ids
|
|
528
518
|
* @param {Object} opts Optional parameters
|
|
529
|
-
* @param {String}
|
|
530
|
-
* @param {Number}
|
|
531
|
-
* @param {String}
|
|
519
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
520
|
+
* @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
|
|
521
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
532
522
|
* @param {module:api/GraphsApi~removeSchemasCallback} callback The callback function, accepting three arguments: error, data, response
|
|
533
523
|
*/
|
|
534
|
-
|
|
535
524
|
}, {
|
|
536
525
|
key: "removeSchemas",
|
|
537
526
|
value: function removeSchemas(id, requestBody, opts, callback) {
|
|
538
527
|
opts = opts || {};
|
|
539
|
-
var postBody = requestBody;
|
|
540
|
-
|
|
528
|
+
var postBody = requestBody;
|
|
529
|
+
// verify the required parameter 'id' is set
|
|
541
530
|
if (id === undefined || id === null) {
|
|
542
531
|
throw new Error("Missing the required parameter 'id' when calling removeSchemas");
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
|
|
532
|
+
}
|
|
533
|
+
// verify the required parameter 'requestBody' is set
|
|
546
534
|
if (requestBody === undefined || requestBody === null) {
|
|
547
535
|
throw new Error("Missing the required parameter 'requestBody' when calling removeSchemas");
|
|
548
536
|
}
|
|
549
|
-
|
|
550
537
|
var pathParams = {
|
|
551
538
|
'id': id
|
|
552
539
|
};
|
|
@@ -564,8 +551,5 @@ var GraphsApi = /*#__PURE__*/function () {
|
|
|
564
551
|
return this.apiClient.callApi('/graph/data/graph/{id}/schemas', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
565
552
|
}
|
|
566
553
|
}]);
|
|
567
|
-
|
|
568
554
|
return GraphsApi;
|
|
569
|
-
}();
|
|
570
|
-
|
|
571
|
-
exports["default"] = GraphsApi;
|
|
555
|
+
}();
|