@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,27 +4,33 @@ 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 _GraphSchema = _interopRequireDefault(require("../model/GraphSchema"));
|
|
11
|
-
|
|
12
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject1"));
|
|
13
|
-
|
|
9
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
14
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
11
|
+
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); }
|
|
16
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Gobodo API
|
|
18
|
+
* REST Interface for Gobodo API
|
|
19
|
+
*
|
|
20
|
+
* The version of the OpenAPI document: 0.1.6
|
|
21
|
+
* Contact: info@gobodo.io
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
22
28
|
/**
|
|
23
29
|
* GraphSchemas service.
|
|
24
30
|
* @module api/GraphSchemasApi
|
|
25
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.6
|
|
26
32
|
*/
|
|
27
|
-
var GraphSchemasApi = /*#__PURE__*/function () {
|
|
33
|
+
var GraphSchemasApi = exports["default"] = /*#__PURE__*/function () {
|
|
28
34
|
/**
|
|
29
35
|
* Constructs a new GraphSchemasApi.
|
|
30
36
|
* @alias module:api/GraphSchemasApi
|
|
@@ -34,9 +40,9 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
34
40
|
*/
|
|
35
41
|
function GraphSchemasApi(apiClient) {
|
|
36
42
|
_classCallCheck(this, GraphSchemasApi);
|
|
37
|
-
|
|
38
43
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
44
|
}
|
|
45
|
+
|
|
40
46
|
/**
|
|
41
47
|
* Callback function to receive the result of the addSchemas operation.
|
|
42
48
|
* @callback module:api/GraphSchemasApi~addSchemasCallback
|
|
@@ -50,29 +56,25 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
50
56
|
* @param {Number} id
|
|
51
57
|
* @param {Array.<Number>} requestBody Array of schema ids
|
|
52
58
|
* @param {Object} opts Optional parameters
|
|
53
|
-
* @param {String}
|
|
54
|
-
* @param {Number}
|
|
55
|
-
* @param {String}
|
|
59
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
60
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
61
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
56
62
|
* @param {module:api/GraphSchemasApi~addSchemasCallback} callback The callback function, accepting three arguments: error, data, response
|
|
57
63
|
* data is of type: {@link module:model/GraphSchema}
|
|
58
64
|
*/
|
|
59
|
-
|
|
60
|
-
|
|
61
65
|
_createClass(GraphSchemasApi, [{
|
|
62
66
|
key: "addSchemas",
|
|
63
67
|
value: function addSchemas(id, requestBody, opts, callback) {
|
|
64
68
|
opts = opts || {};
|
|
65
|
-
var postBody = requestBody;
|
|
66
|
-
|
|
69
|
+
var postBody = requestBody;
|
|
70
|
+
// verify the required parameter 'id' is set
|
|
67
71
|
if (id === undefined || id === null) {
|
|
68
72
|
throw new Error("Missing the required parameter 'id' when calling addSchemas");
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
}
|
|
74
|
+
// verify the required parameter 'requestBody' is set
|
|
72
75
|
if (requestBody === undefined || requestBody === null) {
|
|
73
76
|
throw new Error("Missing the required parameter 'requestBody' when calling addSchemas");
|
|
74
77
|
}
|
|
75
|
-
|
|
76
78
|
var pathParams = {
|
|
77
79
|
'id': id
|
|
78
80
|
};
|
|
@@ -89,6 +91,7 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
89
91
|
var returnType = _GraphSchema["default"];
|
|
90
92
|
return this.apiClient.callApi('/graph/data/graph/{id}/schemas', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
91
93
|
}
|
|
94
|
+
|
|
92
95
|
/**
|
|
93
96
|
* Callback function to receive the result of the get15 operation.
|
|
94
97
|
* @callback module:api/GraphSchemasApi~get15Callback
|
|
@@ -100,12 +103,11 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
100
103
|
/**
|
|
101
104
|
* Root for the API
|
|
102
105
|
* @param {Object} opts Optional parameters
|
|
103
|
-
* @param {String}
|
|
104
|
-
* @param {Number}
|
|
105
|
-
* @param {String}
|
|
106
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
107
|
+
* @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
|
|
108
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
106
109
|
* @param {module:api/GraphSchemasApi~get15Callback} callback The callback function, accepting three arguments: error, data, response
|
|
107
110
|
*/
|
|
108
|
-
|
|
109
111
|
}, {
|
|
110
112
|
key: "get15",
|
|
111
113
|
value: function get15(opts, callback) {
|
|
@@ -125,11 +127,12 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
125
127
|
var returnType = null;
|
|
126
128
|
return this.apiClient.callApi('/graph/data/schema', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
127
129
|
}
|
|
130
|
+
|
|
128
131
|
/**
|
|
129
132
|
* Callback function to receive the result of the get16 operation.
|
|
130
133
|
* @callback module:api/GraphSchemasApi~get16Callback
|
|
131
134
|
* @param {String} error Error message, if any.
|
|
132
|
-
* @param {Object.<String, module:model/{String:
|
|
135
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
133
136
|
* @param {String} response The complete HTTP response.
|
|
134
137
|
*/
|
|
135
138
|
|
|
@@ -137,23 +140,21 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
137
140
|
* Gets and object by id
|
|
138
141
|
* @param {Number} id
|
|
139
142
|
* @param {Object} opts Optional parameters
|
|
140
|
-
* @param {String}
|
|
141
|
-
* @param {Number}
|
|
142
|
-
* @param {String}
|
|
143
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
144
|
+
* @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
|
|
145
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
143
146
|
* @param {module:api/GraphSchemasApi~get16Callback} callback The callback function, accepting three arguments: error, data, response
|
|
144
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
147
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
145
148
|
*/
|
|
146
|
-
|
|
147
149
|
}, {
|
|
148
150
|
key: "get16",
|
|
149
151
|
value: function get16(id, opts, callback) {
|
|
150
152
|
opts = opts || {};
|
|
151
|
-
var postBody = null;
|
|
152
|
-
|
|
153
|
+
var postBody = null;
|
|
154
|
+
// verify the required parameter 'id' is set
|
|
153
155
|
if (id === undefined || id === null) {
|
|
154
156
|
throw new Error("Missing the required parameter 'id' when calling get16");
|
|
155
157
|
}
|
|
156
|
-
|
|
157
158
|
var pathParams = {
|
|
158
159
|
'id': id
|
|
159
160
|
};
|
|
@@ -168,10 +169,11 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
168
169
|
var contentTypes = [];
|
|
169
170
|
var accepts = ['application/json'];
|
|
170
171
|
var returnType = {
|
|
171
|
-
'String':
|
|
172
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
172
173
|
};
|
|
173
174
|
return this.apiClient.callApi('/graph/data/schema/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
174
175
|
}
|
|
176
|
+
|
|
175
177
|
/**
|
|
176
178
|
* Callback function to receive the result of the getSchemas operation.
|
|
177
179
|
* @callback module:api/GraphSchemasApi~getSchemasCallback
|
|
@@ -184,23 +186,21 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
184
186
|
* Get schemas in the graph
|
|
185
187
|
* @param {Number} id
|
|
186
188
|
* @param {Object} opts Optional parameters
|
|
187
|
-
* @param {String}
|
|
188
|
-
* @param {Number}
|
|
189
|
-
* @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
|
|
190
192
|
* @param {module:api/GraphSchemasApi~getSchemasCallback} callback The callback function, accepting three arguments: error, data, response
|
|
191
193
|
* data is of type: {@link module:model/GraphSchema}
|
|
192
194
|
*/
|
|
193
|
-
|
|
194
195
|
}, {
|
|
195
196
|
key: "getSchemas",
|
|
196
197
|
value: function getSchemas(id, opts, callback) {
|
|
197
198
|
opts = opts || {};
|
|
198
|
-
var postBody = null;
|
|
199
|
-
|
|
199
|
+
var postBody = null;
|
|
200
|
+
// verify the required parameter 'id' is set
|
|
200
201
|
if (id === undefined || id === null) {
|
|
201
202
|
throw new Error("Missing the required parameter 'id' when calling getSchemas");
|
|
202
203
|
}
|
|
203
|
-
|
|
204
204
|
var pathParams = {
|
|
205
205
|
'id': id
|
|
206
206
|
};
|
|
@@ -217,6 +217,7 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
217
217
|
var returnType = _GraphSchema["default"];
|
|
218
218
|
return this.apiClient.callApi('/graph/data/graph/{id}/schemas', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
219
219
|
}
|
|
220
|
+
|
|
220
221
|
/**
|
|
221
222
|
* Callback function to receive the result of the removeSchemas operation.
|
|
222
223
|
* @callback module:api/GraphSchemasApi~removeSchemasCallback
|
|
@@ -230,27 +231,24 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
230
231
|
* @param {Number} id
|
|
231
232
|
* @param {Array.<Number>} requestBody Array of schema ids
|
|
232
233
|
* @param {Object} opts Optional parameters
|
|
233
|
-
* @param {String}
|
|
234
|
-
* @param {Number}
|
|
235
|
-
* @param {String}
|
|
234
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
235
|
+
* @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
|
|
236
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
236
237
|
* @param {module:api/GraphSchemasApi~removeSchemasCallback} callback The callback function, accepting three arguments: error, data, response
|
|
237
238
|
*/
|
|
238
|
-
|
|
239
239
|
}, {
|
|
240
240
|
key: "removeSchemas",
|
|
241
241
|
value: function removeSchemas(id, requestBody, opts, callback) {
|
|
242
242
|
opts = opts || {};
|
|
243
|
-
var postBody = requestBody;
|
|
244
|
-
|
|
243
|
+
var postBody = requestBody;
|
|
244
|
+
// verify the required parameter 'id' is set
|
|
245
245
|
if (id === undefined || id === null) {
|
|
246
246
|
throw new Error("Missing the required parameter 'id' when calling removeSchemas");
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
}
|
|
248
|
+
// verify the required parameter 'requestBody' is set
|
|
250
249
|
if (requestBody === undefined || requestBody === null) {
|
|
251
250
|
throw new Error("Missing the required parameter 'requestBody' when calling removeSchemas");
|
|
252
251
|
}
|
|
253
|
-
|
|
254
252
|
var pathParams = {
|
|
255
253
|
'id': id
|
|
256
254
|
};
|
|
@@ -267,35 +265,34 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
267
265
|
var returnType = null;
|
|
268
266
|
return this.apiClient.callApi('/graph/data/graph/{id}/schemas', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
269
267
|
}
|
|
268
|
+
|
|
270
269
|
/**
|
|
271
270
|
* Callback function to receive the result of the updateObjectTypes operation.
|
|
272
271
|
* @callback module:api/GraphSchemasApi~updateObjectTypesCallback
|
|
273
272
|
* @param {String} error Error message, if any.
|
|
274
|
-
* @param {module:model/
|
|
273
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
275
274
|
* @param {String} response The complete HTTP response.
|
|
276
275
|
*/
|
|
277
276
|
|
|
278
277
|
/**
|
|
279
278
|
* @param {Number} id
|
|
280
279
|
* @param {Object} opts Optional parameters
|
|
281
|
-
* @param {String}
|
|
282
|
-
* @param {Number}
|
|
283
|
-
* @param {String}
|
|
284
|
-
* @param {String}
|
|
280
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
281
|
+
* @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
|
|
282
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
283
|
+
* @param {String} [body]
|
|
285
284
|
* @param {module:api/GraphSchemasApi~updateObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
286
|
-
* data is of type: {@link module:model/
|
|
285
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
287
286
|
*/
|
|
288
|
-
|
|
289
287
|
}, {
|
|
290
288
|
key: "updateObjectTypes",
|
|
291
289
|
value: function updateObjectTypes(id, opts, callback) {
|
|
292
290
|
opts = opts || {};
|
|
293
|
-
var postBody = opts['body'];
|
|
294
|
-
|
|
291
|
+
var postBody = opts['body'];
|
|
292
|
+
// verify the required parameter 'id' is set
|
|
295
293
|
if (id === undefined || id === null) {
|
|
296
294
|
throw new Error("Missing the required parameter 'id' when calling updateObjectTypes");
|
|
297
295
|
}
|
|
298
|
-
|
|
299
296
|
var pathParams = {
|
|
300
297
|
'id': id
|
|
301
298
|
};
|
|
@@ -309,38 +306,37 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
309
306
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
310
307
|
var contentTypes = ['application/json'];
|
|
311
308
|
var accepts = ['application/json'];
|
|
312
|
-
var returnType =
|
|
309
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
313
310
|
return this.apiClient.callApi('/graph/data/schema/{id}/objecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
314
311
|
}
|
|
312
|
+
|
|
315
313
|
/**
|
|
316
314
|
* Callback function to receive the result of the updateTemplate3 operation.
|
|
317
315
|
* @callback module:api/GraphSchemasApi~updateTemplate3Callback
|
|
318
316
|
* @param {String} error Error message, if any.
|
|
319
|
-
* @param {module:model/
|
|
317
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
320
318
|
* @param {String} response The complete HTTP response.
|
|
321
319
|
*/
|
|
322
320
|
|
|
323
321
|
/**
|
|
324
322
|
* @param {Number} id
|
|
325
323
|
* @param {Object} opts Optional parameters
|
|
326
|
-
* @param {String}
|
|
327
|
-
* @param {Number}
|
|
328
|
-
* @param {String}
|
|
329
|
-
* @param {String}
|
|
324
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
325
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
326
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
327
|
+
* @param {String} [body]
|
|
330
328
|
* @param {module:api/GraphSchemasApi~updateTemplate3Callback} callback The callback function, accepting three arguments: error, data, response
|
|
331
|
-
* data is of type: {@link module:model/
|
|
329
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
332
330
|
*/
|
|
333
|
-
|
|
334
331
|
}, {
|
|
335
332
|
key: "updateTemplate3",
|
|
336
333
|
value: function updateTemplate3(id, opts, callback) {
|
|
337
334
|
opts = opts || {};
|
|
338
|
-
var postBody = opts['body'];
|
|
339
|
-
|
|
335
|
+
var postBody = opts['body'];
|
|
336
|
+
// verify the required parameter 'id' is set
|
|
340
337
|
if (id === undefined || id === null) {
|
|
341
338
|
throw new Error("Missing the required parameter 'id' when calling updateTemplate3");
|
|
342
339
|
}
|
|
343
|
-
|
|
344
340
|
var pathParams = {
|
|
345
341
|
'id': id
|
|
346
342
|
};
|
|
@@ -354,12 +350,9 @@ var GraphSchemasApi = /*#__PURE__*/function () {
|
|
|
354
350
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
355
351
|
var contentTypes = ['application/json'];
|
|
356
352
|
var accepts = ['application/json'];
|
|
357
|
-
var returnType =
|
|
353
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
358
354
|
return this.apiClient.callApi('/graph/data/schema/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
359
355
|
}
|
|
360
356
|
}]);
|
|
361
|
-
|
|
362
357
|
return GraphSchemasApi;
|
|
363
|
-
}();
|
|
364
|
-
|
|
365
|
-
exports["default"] = GraphSchemasApi;
|
|
358
|
+
}();
|
|
@@ -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 _GraphRelation = _interopRequireDefault(require("../model/GraphRelation"));
|
|
13
|
-
|
|
14
10
|
var _GraphTraversalInput = _interopRequireDefault(require("../model/GraphTraversalInput"));
|
|
15
|
-
|
|
16
11
|
var _Path = _interopRequireDefault(require("../model/Path"));
|
|
17
|
-
|
|
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
|
* GraphTraversal service.
|
|
28
32
|
* @module api/GraphTraversalApi
|
|
29
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.6
|
|
30
34
|
*/
|
|
31
|
-
var GraphTraversalApi = /*#__PURE__*/function () {
|
|
35
|
+
var GraphTraversalApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
36
|
/**
|
|
33
37
|
* Constructs a new GraphTraversalApi.
|
|
34
38
|
* @alias module:api/GraphTraversalApi
|
|
@@ -38,9 +42,9 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
38
42
|
*/
|
|
39
43
|
function GraphTraversalApi(apiClient) {
|
|
40
44
|
_classCallCheck(this, GraphTraversalApi);
|
|
41
|
-
|
|
42
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
46
|
}
|
|
47
|
+
|
|
44
48
|
/**
|
|
45
49
|
* Callback function to receive the result of the traverse operation.
|
|
46
50
|
* @callback module:api/GraphTraversalApi~traverseCallback
|
|
@@ -54,24 +58,21 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
54
58
|
* Traverses the graph based on the traversal query provided
|
|
55
59
|
* @param {module:model/GraphTraversalInput} graphTraversalInput The traversal query to execute
|
|
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/GraphTraversalApi~traverseCallback} callback The callback function, accepting three arguments: error, data, response
|
|
61
65
|
* data is of type: {@link Array.<module:model/Path>}
|
|
62
66
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
67
|
_createClass(GraphTraversalApi, [{
|
|
66
68
|
key: "traverse",
|
|
67
69
|
value: function traverse(graphTraversalInput, opts, callback) {
|
|
68
70
|
opts = opts || {};
|
|
69
|
-
var postBody = graphTraversalInput;
|
|
70
|
-
|
|
71
|
+
var postBody = graphTraversalInput;
|
|
72
|
+
// verify the required parameter 'graphTraversalInput' is set
|
|
71
73
|
if (graphTraversalInput === undefined || graphTraversalInput === null) {
|
|
72
74
|
throw new Error("Missing the required parameter 'graphTraversalInput' when calling traverse");
|
|
73
75
|
}
|
|
74
|
-
|
|
75
76
|
var pathParams = {};
|
|
76
77
|
var queryParams = {};
|
|
77
78
|
var headerParams = {
|
|
@@ -86,6 +87,7 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
86
87
|
var returnType = [_Path["default"]];
|
|
87
88
|
return this.apiClient.callApi('/graph/data/traverse', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
88
89
|
}
|
|
90
|
+
|
|
89
91
|
/**
|
|
90
92
|
* Callback function to receive the result of the traverseFrom operation.
|
|
91
93
|
* @callback module:api/GraphTraversalApi~traverseFromCallback
|
|
@@ -99,28 +101,25 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
99
101
|
* @param {Number} id The id of the object being traversed from
|
|
100
102
|
* @param {module:model/GraphTraversalInput} graphTraversalInput The traversal query to execute
|
|
101
103
|
* @param {Object} opts Optional parameters
|
|
102
|
-
* @param {String}
|
|
103
|
-
* @param {Number}
|
|
104
|
-
* @param {String}
|
|
104
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
105
|
+
* @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
|
|
106
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
105
107
|
* @param {module:api/GraphTraversalApi~traverseFromCallback} callback The callback function, accepting three arguments: error, data, response
|
|
106
108
|
* data is of type: {@link Array.<module:model/Path>}
|
|
107
109
|
*/
|
|
108
|
-
|
|
109
110
|
}, {
|
|
110
111
|
key: "traverseFrom",
|
|
111
112
|
value: function traverseFrom(id, graphTraversalInput, opts, callback) {
|
|
112
113
|
opts = opts || {};
|
|
113
|
-
var postBody = graphTraversalInput;
|
|
114
|
-
|
|
114
|
+
var postBody = graphTraversalInput;
|
|
115
|
+
// verify the required parameter 'id' is set
|
|
115
116
|
if (id === undefined || id === null) {
|
|
116
117
|
throw new Error("Missing the required parameter 'id' when calling traverseFrom");
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
}
|
|
119
|
+
// verify the required parameter 'graphTraversalInput' is set
|
|
120
120
|
if (graphTraversalInput === undefined || graphTraversalInput === null) {
|
|
121
121
|
throw new Error("Missing the required parameter 'graphTraversalInput' when calling traverseFrom");
|
|
122
122
|
}
|
|
123
|
-
|
|
124
123
|
var pathParams = {
|
|
125
124
|
'id': id
|
|
126
125
|
};
|
|
@@ -137,6 +136,7 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
137
136
|
var returnType = [_Path["default"]];
|
|
138
137
|
return this.apiClient.callApi('/graph/data/traverse/{id}/traverse', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
139
138
|
}
|
|
139
|
+
|
|
140
140
|
/**
|
|
141
141
|
* Callback function to receive the result of the traverseFromFindObjects operation.
|
|
142
142
|
* @callback module:api/GraphTraversalApi~traverseFromFindObjectsCallback
|
|
@@ -150,28 +150,25 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
150
150
|
* @param {Number} id The id of the object being traversed from
|
|
151
151
|
* @param {module:model/GraphTraversalInput} graphTraversalInput The traversal query to execute
|
|
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/GraphTraversalApi~traverseFromFindObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
157
157
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
158
158
|
*/
|
|
159
|
-
|
|
160
159
|
}, {
|
|
161
160
|
key: "traverseFromFindObjects",
|
|
162
161
|
value: function traverseFromFindObjects(id, graphTraversalInput, opts, callback) {
|
|
163
162
|
opts = opts || {};
|
|
164
|
-
var postBody = graphTraversalInput;
|
|
165
|
-
|
|
163
|
+
var postBody = graphTraversalInput;
|
|
164
|
+
// verify the required parameter 'id' is set
|
|
166
165
|
if (id === undefined || id === null) {
|
|
167
166
|
throw new Error("Missing the required parameter 'id' when calling traverseFromFindObjects");
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
}
|
|
168
|
+
// verify the required parameter 'graphTraversalInput' is set
|
|
171
169
|
if (graphTraversalInput === undefined || graphTraversalInput === null) {
|
|
172
170
|
throw new Error("Missing the required parameter 'graphTraversalInput' when calling traverseFromFindObjects");
|
|
173
171
|
}
|
|
174
|
-
|
|
175
172
|
var pathParams = {
|
|
176
173
|
'id': id
|
|
177
174
|
};
|
|
@@ -188,6 +185,7 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
188
185
|
var returnType = [_GraphObjectSchema["default"]];
|
|
189
186
|
return this.apiClient.callApi('/graph/data/traverse/{id}/traverseobjects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
190
187
|
}
|
|
188
|
+
|
|
191
189
|
/**
|
|
192
190
|
* Callback function to receive the result of the traverseFromFindRelationships operation.
|
|
193
191
|
* @callback module:api/GraphTraversalApi~traverseFromFindRelationshipsCallback
|
|
@@ -201,28 +199,25 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
201
199
|
* @param {Number} id The id of the object being traversed from
|
|
202
200
|
* @param {module:model/GraphTraversalInput} graphTraversalInput The traversal query to execute
|
|
203
201
|
* @param {Object} opts Optional parameters
|
|
204
|
-
* @param {String}
|
|
205
|
-
* @param {Number}
|
|
206
|
-
* @param {String}
|
|
202
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
203
|
+
* @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
|
|
204
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
207
205
|
* @param {module:api/GraphTraversalApi~traverseFromFindRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
208
206
|
* data is of type: {@link Array.<module:model/GraphRelation>}
|
|
209
207
|
*/
|
|
210
|
-
|
|
211
208
|
}, {
|
|
212
209
|
key: "traverseFromFindRelationships",
|
|
213
210
|
value: function traverseFromFindRelationships(id, graphTraversalInput, opts, callback) {
|
|
214
211
|
opts = opts || {};
|
|
215
|
-
var postBody = graphTraversalInput;
|
|
216
|
-
|
|
212
|
+
var postBody = graphTraversalInput;
|
|
213
|
+
// verify the required parameter 'id' is set
|
|
217
214
|
if (id === undefined || id === null) {
|
|
218
215
|
throw new Error("Missing the required parameter 'id' when calling traverseFromFindRelationships");
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
216
|
+
}
|
|
217
|
+
// verify the required parameter 'graphTraversalInput' is set
|
|
222
218
|
if (graphTraversalInput === undefined || graphTraversalInput === null) {
|
|
223
219
|
throw new Error("Missing the required parameter 'graphTraversalInput' when calling traverseFromFindRelationships");
|
|
224
220
|
}
|
|
225
|
-
|
|
226
221
|
var pathParams = {
|
|
227
222
|
'id': id
|
|
228
223
|
};
|
|
@@ -239,6 +234,7 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
239
234
|
var returnType = [_GraphRelation["default"]];
|
|
240
235
|
return this.apiClient.callApi('/graph/data/traverse/{id}/traverserelationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
241
236
|
}
|
|
237
|
+
|
|
242
238
|
/**
|
|
243
239
|
* Callback function to receive the result of the traverseObjects operation.
|
|
244
240
|
* @callback module:api/GraphTraversalApi~traverseObjectsCallback
|
|
@@ -252,23 +248,21 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
252
248
|
* Traverses the graph based on the traversal query provided
|
|
253
249
|
* @param {module:model/GraphTraversalInput} graphTraversalInput The traversal query to execute
|
|
254
250
|
* @param {Object} opts Optional parameters
|
|
255
|
-
* @param {String}
|
|
256
|
-
* @param {Number}
|
|
257
|
-
* @param {String}
|
|
251
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
252
|
+
* @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
|
|
253
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
258
254
|
* @param {module:api/GraphTraversalApi~traverseObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
259
255
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
260
256
|
*/
|
|
261
|
-
|
|
262
257
|
}, {
|
|
263
258
|
key: "traverseObjects",
|
|
264
259
|
value: function traverseObjects(graphTraversalInput, opts, callback) {
|
|
265
260
|
opts = opts || {};
|
|
266
|
-
var postBody = graphTraversalInput;
|
|
267
|
-
|
|
261
|
+
var postBody = graphTraversalInput;
|
|
262
|
+
// verify the required parameter 'graphTraversalInput' is set
|
|
268
263
|
if (graphTraversalInput === undefined || graphTraversalInput === null) {
|
|
269
264
|
throw new Error("Missing the required parameter 'graphTraversalInput' when calling traverseObjects");
|
|
270
265
|
}
|
|
271
|
-
|
|
272
266
|
var pathParams = {};
|
|
273
267
|
var queryParams = {};
|
|
274
268
|
var headerParams = {
|
|
@@ -284,8 +278,5 @@ var GraphTraversalApi = /*#__PURE__*/function () {
|
|
|
284
278
|
return this.apiClient.callApi('/graph/data/traverse/objects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
285
279
|
}
|
|
286
280
|
}]);
|
|
287
|
-
|
|
288
281
|
return GraphTraversalApi;
|
|
289
|
-
}();
|
|
290
|
-
|
|
291
|
-
exports["default"] = GraphTraversalApi;
|
|
282
|
+
}();
|