@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,39 +4,39 @@ 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 _CreateAccountResponse = _interopRequireDefault(require("../model/CreateAccountResponse"));
|
|
11
|
-
|
|
12
9
|
var _CreateCustomerResponse = _interopRequireDefault(require("../model/CreateCustomerResponse"));
|
|
13
|
-
|
|
14
10
|
var _CreateStripeAccountInput = _interopRequireDefault(require("../model/CreateStripeAccountInput"));
|
|
15
|
-
|
|
16
11
|
var _CreateStripeCustomerInput = _interopRequireDefault(require("../model/CreateStripeCustomerInput"));
|
|
17
|
-
|
|
18
|
-
var _InlineResponseDefault = _interopRequireDefault(require("../model/InlineResponseDefault"));
|
|
19
|
-
|
|
20
12
|
var _PaymentIntentInput = _interopRequireDefault(require("../model/PaymentIntentInput"));
|
|
21
|
-
|
|
22
13
|
var _PaymentIntentResponse = _interopRequireDefault(require("../model/PaymentIntentResponse"));
|
|
23
|
-
|
|
24
14
|
var _PaymentMethod = _interopRequireDefault(require("../model/PaymentMethod"));
|
|
25
|
-
|
|
15
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
26
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
-
|
|
17
|
+
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); }
|
|
28
18
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
19
|
+
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); } }
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
|
+
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); } /**
|
|
23
|
+
* Gobodo API
|
|
24
|
+
* REST Interface for Gobodo API
|
|
25
|
+
*
|
|
26
|
+
* The version of the OpenAPI document: 0.1.6
|
|
27
|
+
* Contact: info@gobodo.io
|
|
28
|
+
*
|
|
29
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
30
|
+
* https://openapi-generator.tech
|
|
31
|
+
* Do not edit the class manually.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
34
|
/**
|
|
35
35
|
* StripeAccounts service.
|
|
36
36
|
* @module api/StripeAccountsApi
|
|
37
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.6
|
|
38
38
|
*/
|
|
39
|
-
var StripeAccountsApi = /*#__PURE__*/function () {
|
|
39
|
+
var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
|
41
41
|
* Constructs a new StripeAccountsApi.
|
|
42
42
|
* @alias module:api/StripeAccountsApi
|
|
@@ -46,9 +46,9 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
46
46
|
*/
|
|
47
47
|
function StripeAccountsApi(apiClient) {
|
|
48
48
|
_classCallCheck(this, StripeAccountsApi);
|
|
49
|
-
|
|
50
49
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
51
50
|
}
|
|
51
|
+
|
|
52
52
|
/**
|
|
53
53
|
* Callback function to receive the result of the createAndLinkStripeAccount operation.
|
|
54
54
|
* @callback module:api/StripeAccountsApi~createAndLinkStripeAccountCallback
|
|
@@ -62,24 +62,21 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
62
62
|
* Creates a Stripe Account
|
|
63
63
|
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
64
64
|
* @param {Object} opts Optional parameters
|
|
65
|
-
* @param {String}
|
|
66
|
-
* @param {Number}
|
|
67
|
-
* @param {String}
|
|
65
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
66
|
+
* @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
|
|
67
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
68
68
|
* @param {module:api/StripeAccountsApi~createAndLinkStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
69
69
|
* data is of type: {@link module:model/CreateAccountResponse}
|
|
70
70
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
71
|
_createClass(StripeAccountsApi, [{
|
|
74
72
|
key: "createAndLinkStripeAccount",
|
|
75
73
|
value: function createAndLinkStripeAccount(createStripeAccountInput, opts, callback) {
|
|
76
74
|
opts = opts || {};
|
|
77
|
-
var postBody = createStripeAccountInput;
|
|
78
|
-
|
|
75
|
+
var postBody = createStripeAccountInput;
|
|
76
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
79
77
|
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
80
78
|
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createAndLinkStripeAccount");
|
|
81
79
|
}
|
|
82
|
-
|
|
83
80
|
var pathParams = {};
|
|
84
81
|
var queryParams = {};
|
|
85
82
|
var headerParams = {
|
|
@@ -94,6 +91,7 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
94
91
|
var returnType = _CreateAccountResponse["default"];
|
|
95
92
|
return this.apiClient.callApi('/graph/data/stripe/account', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
96
93
|
}
|
|
94
|
+
|
|
97
95
|
/**
|
|
98
96
|
* Callback function to receive the result of the createAndLinkStripeCustomerAccount operation.
|
|
99
97
|
* @callback module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback
|
|
@@ -107,23 +105,21 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
107
105
|
* Creates a Stripe Customer Account
|
|
108
106
|
* @param {module:model/CreateStripeCustomerInput} createStripeCustomerInput Contains the info to create the Stripe Account
|
|
109
107
|
* @param {Object} opts Optional parameters
|
|
110
|
-
* @param {String}
|
|
111
|
-
* @param {Number}
|
|
112
|
-
* @param {String}
|
|
108
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
109
|
+
* @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
|
|
110
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
113
111
|
* @param {module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
114
112
|
* data is of type: {@link module:model/CreateCustomerResponse}
|
|
115
113
|
*/
|
|
116
|
-
|
|
117
114
|
}, {
|
|
118
115
|
key: "createAndLinkStripeCustomerAccount",
|
|
119
116
|
value: function createAndLinkStripeCustomerAccount(createStripeCustomerInput, opts, callback) {
|
|
120
117
|
opts = opts || {};
|
|
121
|
-
var postBody = createStripeCustomerInput;
|
|
122
|
-
|
|
118
|
+
var postBody = createStripeCustomerInput;
|
|
119
|
+
// verify the required parameter 'createStripeCustomerInput' is set
|
|
123
120
|
if (createStripeCustomerInput === undefined || createStripeCustomerInput === null) {
|
|
124
121
|
throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling createAndLinkStripeCustomerAccount");
|
|
125
122
|
}
|
|
126
|
-
|
|
127
123
|
var pathParams = {};
|
|
128
124
|
var queryParams = {};
|
|
129
125
|
var headerParams = {
|
|
@@ -138,6 +134,7 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
138
134
|
var returnType = _CreateCustomerResponse["default"];
|
|
139
135
|
return this.apiClient.callApi('/graph/data/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
140
136
|
}
|
|
137
|
+
|
|
141
138
|
/**
|
|
142
139
|
* Callback function to receive the result of the createStripePaymentIntent operation.
|
|
143
140
|
* @callback module:api/StripeAccountsApi~createStripePaymentIntentCallback
|
|
@@ -151,23 +148,21 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
151
148
|
* Creates a Payment Intent to initate a Stripe payment
|
|
152
149
|
* @param {module:model/PaymentIntentInput} paymentIntentInput Contains the info to create the Stripe Payment Intent
|
|
153
150
|
* @param {Object} opts Optional parameters
|
|
154
|
-
* @param {String}
|
|
155
|
-
* @param {Number}
|
|
156
|
-
* @param {String}
|
|
151
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
152
|
+
* @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
|
|
153
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
157
154
|
* @param {module:api/StripeAccountsApi~createStripePaymentIntentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
158
155
|
* data is of type: {@link module:model/PaymentIntentResponse}
|
|
159
156
|
*/
|
|
160
|
-
|
|
161
157
|
}, {
|
|
162
158
|
key: "createStripePaymentIntent",
|
|
163
159
|
value: function createStripePaymentIntent(paymentIntentInput, opts, callback) {
|
|
164
160
|
opts = opts || {};
|
|
165
|
-
var postBody = paymentIntentInput;
|
|
166
|
-
|
|
161
|
+
var postBody = paymentIntentInput;
|
|
162
|
+
// verify the required parameter 'paymentIntentInput' is set
|
|
167
163
|
if (paymentIntentInput === undefined || paymentIntentInput === null) {
|
|
168
164
|
throw new Error("Missing the required parameter 'paymentIntentInput' when calling createStripePaymentIntent");
|
|
169
165
|
}
|
|
170
|
-
|
|
171
166
|
var pathParams = {};
|
|
172
167
|
var queryParams = {};
|
|
173
168
|
var headerParams = {
|
|
@@ -182,6 +177,7 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
182
177
|
var returnType = _PaymentIntentResponse["default"];
|
|
183
178
|
return this.apiClient.callApi('/graph/data/stripe/payment', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
184
179
|
}
|
|
180
|
+
|
|
185
181
|
/**
|
|
186
182
|
* Callback function to receive the result of the get operation.
|
|
187
183
|
* @callback module:api/StripeAccountsApi~getCallback
|
|
@@ -193,12 +189,11 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
193
189
|
/**
|
|
194
190
|
* Root for the API
|
|
195
191
|
* @param {Object} opts Optional parameters
|
|
196
|
-
* @param {String}
|
|
197
|
-
* @param {Number}
|
|
198
|
-
* @param {String}
|
|
192
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
193
|
+
* @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
|
|
194
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
199
195
|
* @param {module:api/StripeAccountsApi~getCallback} callback The callback function, accepting three arguments: error, data, response
|
|
200
196
|
*/
|
|
201
|
-
|
|
202
197
|
}, {
|
|
203
198
|
key: "get",
|
|
204
199
|
value: function get(opts, callback) {
|
|
@@ -218,11 +213,12 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
218
213
|
var returnType = null;
|
|
219
214
|
return this.apiClient.callApi('/graph/data/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
220
215
|
}
|
|
216
|
+
|
|
221
217
|
/**
|
|
222
218
|
* Callback function to receive the result of the get1 operation.
|
|
223
219
|
* @callback module:api/StripeAccountsApi~get1Callback
|
|
224
220
|
* @param {String} error Error message, if any.
|
|
225
|
-
* @param {Object.<String, module:model/{String:
|
|
221
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
226
222
|
* @param {String} response The complete HTTP response.
|
|
227
223
|
*/
|
|
228
224
|
|
|
@@ -230,23 +226,21 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
230
226
|
* Gets and object by id
|
|
231
227
|
* @param {Number} id
|
|
232
228
|
* @param {Object} opts Optional parameters
|
|
233
|
-
* @param {String}
|
|
234
|
-
* @param {Number}
|
|
235
|
-
* @param {String}
|
|
229
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
230
|
+
* @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
|
|
231
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
236
232
|
* @param {module:api/StripeAccountsApi~get1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
237
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
233
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
238
234
|
*/
|
|
239
|
-
|
|
240
235
|
}, {
|
|
241
236
|
key: "get1",
|
|
242
237
|
value: function get1(id, opts, callback) {
|
|
243
238
|
opts = opts || {};
|
|
244
|
-
var postBody = null;
|
|
245
|
-
|
|
239
|
+
var postBody = null;
|
|
240
|
+
// verify the required parameter 'id' is set
|
|
246
241
|
if (id === undefined || id === null) {
|
|
247
242
|
throw new Error("Missing the required parameter 'id' when calling get1");
|
|
248
243
|
}
|
|
249
|
-
|
|
250
244
|
var pathParams = {
|
|
251
245
|
'id': id
|
|
252
246
|
};
|
|
@@ -261,10 +255,11 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
261
255
|
var contentTypes = [];
|
|
262
256
|
var accepts = ['application/json'];
|
|
263
257
|
var returnType = {
|
|
264
|
-
'String':
|
|
258
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
265
259
|
};
|
|
266
260
|
return this.apiClient.callApi('/graph/data/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
267
261
|
}
|
|
262
|
+
|
|
268
263
|
/**
|
|
269
264
|
* Callback function to receive the result of the getStripeApiKey operation.
|
|
270
265
|
* @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
|
|
@@ -277,13 +272,12 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
277
272
|
* Returns the publishable API key for Stripe
|
|
278
273
|
* Returns the publishable API key for Stripe
|
|
279
274
|
* @param {Object} opts Optional parameters
|
|
280
|
-
* @param {String}
|
|
281
|
-
* @param {Number}
|
|
282
|
-
* @param {String}
|
|
275
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
276
|
+
* @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
|
|
277
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
283
278
|
* @param {module:api/StripeAccountsApi~getStripeApiKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
284
279
|
* data is of type: {@link String}
|
|
285
280
|
*/
|
|
286
|
-
|
|
287
281
|
}, {
|
|
288
282
|
key: "getStripeApiKey",
|
|
289
283
|
value: function getStripeApiKey(opts, callback) {
|
|
@@ -303,6 +297,7 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
303
297
|
var returnType = 'String';
|
|
304
298
|
return this.apiClient.callApi('/graph/data/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
305
299
|
}
|
|
300
|
+
|
|
306
301
|
/**
|
|
307
302
|
* Callback function to receive the result of the getStripePaymentMethods operation.
|
|
308
303
|
* @callback module:api/StripeAccountsApi~getStripePaymentMethodsCallback
|
|
@@ -316,23 +311,21 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
316
311
|
* Retrieves the payment methods for the customer stored in stripe
|
|
317
312
|
* @param {Number} customerID The customerid to update
|
|
318
313
|
* @param {Object} opts Optional parameters
|
|
319
|
-
* @param {String}
|
|
320
|
-
* @param {Number}
|
|
321
|
-
* @param {String}
|
|
314
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
315
|
+
* @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
|
|
316
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
322
317
|
* @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
323
318
|
* data is of type: {@link Array.<module:model/PaymentMethod>}
|
|
324
319
|
*/
|
|
325
|
-
|
|
326
320
|
}, {
|
|
327
321
|
key: "getStripePaymentMethods",
|
|
328
322
|
value: function getStripePaymentMethods(customerID, opts, callback) {
|
|
329
323
|
opts = opts || {};
|
|
330
|
-
var postBody = null;
|
|
331
|
-
|
|
324
|
+
var postBody = null;
|
|
325
|
+
// verify the required parameter 'customerID' is set
|
|
332
326
|
if (customerID === undefined || customerID === null) {
|
|
333
327
|
throw new Error("Missing the required parameter 'customerID' when calling getStripePaymentMethods");
|
|
334
328
|
}
|
|
335
|
-
|
|
336
329
|
var pathParams = {
|
|
337
330
|
'customerID': customerID
|
|
338
331
|
};
|
|
@@ -349,6 +342,7 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
349
342
|
var returnType = [_PaymentMethod["default"]];
|
|
350
343
|
return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
351
344
|
}
|
|
345
|
+
|
|
352
346
|
/**
|
|
353
347
|
* Callback function to receive the result of the updateAccountLink operation.
|
|
354
348
|
* @callback module:api/StripeAccountsApi~updateAccountLinkCallback
|
|
@@ -363,28 +357,25 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
363
357
|
* @param {Number} accountID The accountid to update
|
|
364
358
|
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
365
359
|
* @param {Object} opts Optional parameters
|
|
366
|
-
* @param {String}
|
|
367
|
-
* @param {Number}
|
|
368
|
-
* @param {String}
|
|
360
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
361
|
+
* @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
|
|
362
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
369
363
|
* @param {module:api/StripeAccountsApi~updateAccountLinkCallback} callback The callback function, accepting three arguments: error, data, response
|
|
370
364
|
* data is of type: {@link module:model/CreateAccountResponse}
|
|
371
365
|
*/
|
|
372
|
-
|
|
373
366
|
}, {
|
|
374
367
|
key: "updateAccountLink",
|
|
375
368
|
value: function updateAccountLink(accountID, createStripeAccountInput, opts, callback) {
|
|
376
369
|
opts = opts || {};
|
|
377
|
-
var postBody = createStripeAccountInput;
|
|
378
|
-
|
|
370
|
+
var postBody = createStripeAccountInput;
|
|
371
|
+
// verify the required parameter 'accountID' is set
|
|
379
372
|
if (accountID === undefined || accountID === null) {
|
|
380
373
|
throw new Error("Missing the required parameter 'accountID' when calling updateAccountLink");
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
|
|
374
|
+
}
|
|
375
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
384
376
|
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
385
377
|
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling updateAccountLink");
|
|
386
378
|
}
|
|
387
|
-
|
|
388
379
|
var pathParams = {
|
|
389
380
|
'accountID': accountID
|
|
390
381
|
};
|
|
@@ -401,6 +392,7 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
401
392
|
var returnType = _CreateAccountResponse["default"];
|
|
402
393
|
return this.apiClient.callApi('/graph/data/stripe/account/{accountID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
403
394
|
}
|
|
395
|
+
|
|
404
396
|
/**
|
|
405
397
|
* Callback function to receive the result of the updateCustomer operation.
|
|
406
398
|
* @callback module:api/StripeAccountsApi~updateCustomerCallback
|
|
@@ -415,28 +407,25 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
415
407
|
* @param {Number} customerID The customerid to update
|
|
416
408
|
* @param {module:model/CreateStripeCustomerInput} createStripeCustomerInput Contains the info to update the Stripe Customer Account including a client secret to pass into Stripe Payment Elements
|
|
417
409
|
* @param {Object} opts Optional parameters
|
|
418
|
-
* @param {String}
|
|
419
|
-
* @param {Number}
|
|
420
|
-
* @param {String}
|
|
410
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
411
|
+
* @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
|
|
412
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
421
413
|
* @param {module:api/StripeAccountsApi~updateCustomerCallback} callback The callback function, accepting three arguments: error, data, response
|
|
422
414
|
* data is of type: {@link module:model/CreateCustomerResponse}
|
|
423
415
|
*/
|
|
424
|
-
|
|
425
416
|
}, {
|
|
426
417
|
key: "updateCustomer",
|
|
427
418
|
value: function updateCustomer(customerID, createStripeCustomerInput, opts, callback) {
|
|
428
419
|
opts = opts || {};
|
|
429
|
-
var postBody = createStripeCustomerInput;
|
|
430
|
-
|
|
420
|
+
var postBody = createStripeCustomerInput;
|
|
421
|
+
// verify the required parameter 'customerID' is set
|
|
431
422
|
if (customerID === undefined || customerID === null) {
|
|
432
423
|
throw new Error("Missing the required parameter 'customerID' when calling updateCustomer");
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
424
|
+
}
|
|
425
|
+
// verify the required parameter 'createStripeCustomerInput' is set
|
|
436
426
|
if (createStripeCustomerInput === undefined || createStripeCustomerInput === null) {
|
|
437
427
|
throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling updateCustomer");
|
|
438
428
|
}
|
|
439
|
-
|
|
440
429
|
var pathParams = {
|
|
441
430
|
'customerID': customerID
|
|
442
431
|
};
|
|
@@ -454,8 +443,5 @@ var StripeAccountsApi = /*#__PURE__*/function () {
|
|
|
454
443
|
return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
455
444
|
}
|
|
456
445
|
}]);
|
|
457
|
-
|
|
458
446
|
return StripeAccountsApi;
|
|
459
|
-
}();
|
|
460
|
-
|
|
461
|
-
exports["default"] = StripeAccountsApi;
|
|
447
|
+
}();
|
package/dist/api/TagsApi.js
CHANGED
|
@@ -4,25 +4,32 @@ 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
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
10
|
+
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); }
|
|
14
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
12
|
+
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); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
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); } /**
|
|
16
|
+
* Gobodo API
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.6
|
|
20
|
+
* Contact: info@gobodo.io
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
20
27
|
/**
|
|
21
28
|
* Tags service.
|
|
22
29
|
* @module api/TagsApi
|
|
23
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.6
|
|
24
31
|
*/
|
|
25
|
-
var TagsApi = /*#__PURE__*/function () {
|
|
32
|
+
var TagsApi = exports["default"] = /*#__PURE__*/function () {
|
|
26
33
|
/**
|
|
27
34
|
* Constructs a new TagsApi.
|
|
28
35
|
* @alias module:api/TagsApi
|
|
@@ -32,9 +39,9 @@ var TagsApi = /*#__PURE__*/function () {
|
|
|
32
39
|
*/
|
|
33
40
|
function TagsApi(apiClient) {
|
|
34
41
|
_classCallCheck(this, TagsApi);
|
|
35
|
-
|
|
36
42
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
43
|
}
|
|
44
|
+
|
|
38
45
|
/**
|
|
39
46
|
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
40
47
|
* @callback module:api/TagsApi~getObjectsInGraphByTagCallback
|
|
@@ -48,29 +55,25 @@ var TagsApi = /*#__PURE__*/function () {
|
|
|
48
55
|
* @param {Number} id
|
|
49
56
|
* @param {String} tag
|
|
50
57
|
* @param {Object} opts Optional parameters
|
|
51
|
-
* @param {String}
|
|
52
|
-
* @param {Number}
|
|
53
|
-
* @param {String}
|
|
58
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
59
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
60
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
54
61
|
* @param {module:api/TagsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
55
62
|
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
56
63
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
59
64
|
_createClass(TagsApi, [{
|
|
60
65
|
key: "getObjectsInGraphByTag",
|
|
61
66
|
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
62
67
|
opts = opts || {};
|
|
63
|
-
var postBody = null;
|
|
64
|
-
|
|
68
|
+
var postBody = null;
|
|
69
|
+
// verify the required parameter 'id' is set
|
|
65
70
|
if (id === undefined || id === null) {
|
|
66
71
|
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
}
|
|
73
|
+
// verify the required parameter 'tag' is set
|
|
70
74
|
if (tag === undefined || tag === null) {
|
|
71
75
|
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
72
76
|
}
|
|
73
|
-
|
|
74
77
|
var pathParams = {
|
|
75
78
|
'id': id,
|
|
76
79
|
'tag': tag
|
|
@@ -89,8 +92,5 @@ var TagsApi = /*#__PURE__*/function () {
|
|
|
89
92
|
return this.apiClient.callApi('/graph/data/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
90
93
|
}
|
|
91
94
|
}]);
|
|
92
|
-
|
|
93
95
|
return TagsApi;
|
|
94
|
-
}();
|
|
95
|
-
|
|
96
|
-
exports["default"] = TagsApi;
|
|
96
|
+
}();
|