@gobodo/gobodo-api 0.1.112 → 0.1.113
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 +375 -45
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +3 -3
- package/dist/api/AbilitiesApi.d.ts +1 -1
- package/dist/api/AbilitiesApi.js +2 -2
- package/dist/api/AdCampaignsApi.d.ts +9 -9
- package/dist/api/AdCampaignsApi.js +13 -13
- package/dist/api/AdManagementApi.d.ts +17 -17
- package/dist/api/AdManagementApi.js +24 -24
- package/dist/api/AdminDataManagementApi.d.ts +1 -1
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.d.ts +9 -9
- package/dist/api/AdsApi.js +13 -13
- package/dist/api/AttachmentsApi.d.ts +5 -5
- package/dist/api/AttachmentsApi.js +7 -7
- package/dist/api/AuthenticationApi.d.ts +1 -1
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.d.ts +5 -5
- package/dist/api/CategoriesApi.js +7 -7
- package/dist/api/CommentsApi.d.ts +5 -5
- package/dist/api/CommentsApi.js +7 -7
- package/dist/api/ContentManagementApi.d.ts +9 -9
- package/dist/api/ContentManagementApi.js +12 -12
- package/dist/api/ConversationsApi.d.ts +5 -5
- package/dist/api/ConversationsApi.js +7 -7
- package/dist/api/CurrencyApi.d.ts +1 -1
- package/dist/api/CurrencyApi.js +2 -2
- package/dist/api/DataSheetImportsApi.d.ts +5 -5
- package/dist/api/DataSheetImportsApi.js +7 -7
- package/dist/api/DefaultApi.d.ts +9 -9
- package/dist/api/DefaultApi.js +13 -13
- package/dist/api/DocumentPartTypesApi.d.ts +1 -1
- package/dist/api/DocumentPartTypesApi.js +2 -2
- package/dist/api/DocumentTypesApi.d.ts +1 -1
- package/dist/api/DocumentTypesApi.js +2 -2
- package/dist/api/DocumentsApi.d.ts +5 -5
- package/dist/api/DocumentsApi.js +7 -7
- package/dist/api/EmailsApi.d.ts +1 -1
- package/dist/api/EmailsApi.js +2 -2
- package/dist/api/EntryPartsApi.d.ts +5 -5
- package/dist/api/EntryPartsApi.js +7 -7
- package/dist/api/FacebookApi.d.ts +1 -1
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.d.ts +1 -1
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FormsApi.d.ts +13 -13
- package/dist/api/FormsApi.js +17 -17
- package/dist/api/FunctionsApi.d.ts +1 -1
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.d.ts +1 -1
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GobodoManagementApi.d.ts +1 -1
- package/dist/api/GobodoManagementApi.js +2 -2
- package/dist/api/GoogleApi.d.ts +1 -1
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.d.ts +1 -1
- package/dist/api/GraphActionTypesApi.js +2 -2
- package/dist/api/GraphActionsApi.d.ts +1 -1
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.d.ts +1 -1
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.d.ts +1 -1
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.d.ts +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.d.ts +1 -1
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.d.ts +1 -1
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.d.ts +1 -1
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.d.ts +1 -1
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/IAMApi.d.ts +9 -9
- package/dist/api/IAMApi.js +13 -13
- package/dist/api/ImagesApi.d.ts +5 -5
- package/dist/api/ImagesApi.js +7 -7
- package/dist/api/InvitesApi.d.ts +1 -1
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.d.ts +5 -5
- package/dist/api/LikesApi.js +7 -7
- package/dist/api/LinkedINApi.d.ts +1 -1
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LinksApi.d.ts +266 -0
- package/dist/api/LinksApi.js +622 -0
- package/dist/api/LiveMeetingsApi.d.ts +1 -1
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.d.ts +1 -1
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.d.ts +1 -1
- package/dist/api/NotificationsApi.js +2 -2
- package/dist/api/PagesApi.d.ts +5 -5
- package/dist/api/PagesApi.js +7 -7
- package/dist/api/PasswordResetApi.d.ts +1 -1
- package/dist/api/PasswordResetApi.js +2 -2
- package/dist/api/PayPalAccountsApi.d.ts +94 -0
- package/dist/api/PayPalAccountsApi.js +220 -0
- package/dist/api/PhoneNumbersApi.d.ts +1 -1
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.d.ts +164 -21
- package/dist/api/PostsApi.js +374 -47
- package/dist/api/PrivateMessagesApi.d.ts +9 -9
- package/dist/api/PrivateMessagesApi.js +12 -12
- package/dist/api/PublicationsApi.d.ts +1 -1
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.d.ts +1 -1
- package/dist/api/RestApplicationsApi.js +2 -2
- package/dist/api/ScreensApi.d.ts +1 -1
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.d.ts +1 -1
- package/dist/api/SitesApi.js +2 -2
- package/dist/api/SocialGroupsApi.d.ts +5 -5
- package/dist/api/SocialGroupsApi.js +7 -7
- package/dist/api/SocialIntegrationApi.d.ts +1 -1
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/SquareAccountsApi.d.ts +94 -0
- package/dist/api/SquareAccountsApi.js +220 -0
- package/dist/api/StripeAccountsApi.d.ts +316 -9
- package/dist/api/StripeAccountsApi.js +730 -32
- package/dist/api/TemplatesApi.d.ts +1 -1
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.d.ts +5 -5
- package/dist/api/ThemeMappingsApi.js +8 -8
- package/dist/api/TopicsApi.d.ts +5 -5
- package/dist/api/TopicsApi.js +8 -8
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.d.ts +1 -1
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserManagerAdministrationApi.d.ts +1 -1
- package/dist/api/UserManagerAdministrationApi.js +2 -2
- package/dist/api/UserTagsApi.d.ts +9 -9
- package/dist/api/UserTagsApi.js +13 -13
- package/dist/api/UsersApi.d.ts +1 -1
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.d.ts +5 -5
- package/dist/api/VideosApi.js +7 -7
- package/dist/api/WalletsApi.d.ts +1 -1
- package/dist/api/WalletsApi.js +2 -2
- package/dist/index.d.ts +305 -3
- package/dist/index.js +2569 -455
- package/dist/model/APIClient.d.ts +1 -1
- package/dist/model/APIClient.js +2 -2
- package/dist/model/Aba.d.ts +33 -0
- package/dist/model/Aba.js +130 -0
- package/dist/model/AbilityResponse.d.ts +1 -1
- package/dist/model/AbilityResponse.js +2 -2
- package/dist/model/Account.d.ts +54 -0
- package/dist/model/Account.js +376 -0
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/AchCreditTransfer.d.ts +34 -0
- package/dist/model/AchCreditTransfer.js +142 -0
- package/dist/model/AchDebit.d.ts +36 -0
- package/dist/model/AchDebit.js +166 -0
- package/dist/model/AcssDebit.d.ts +36 -0
- package/dist/model/AcssDebit.js +166 -0
- package/dist/model/AddInvoiceItem.d.ts +34 -0
- package/dist/model/AddInvoiceItem.js +161 -0
- package/dist/model/AdditionalDocument.d.ts +36 -0
- package/dist/model/AdditionalDocument.js +168 -0
- package/dist/model/AdditionalTosAcceptances.d.ts +31 -0
- package/dist/model/AdditionalTosAcceptances.js +108 -0
- package/dist/model/Address.d.ts +1 -1
- package/dist/model/Address.js +2 -2
- package/dist/model/AddressKana.d.ts +37 -0
- package/dist/model/AddressKana.js +178 -0
- package/dist/model/AddressKanji.d.ts +37 -0
- package/dist/model/AddressKanji.js +178 -0
- package/dist/model/AddressResponse.d.ts +1 -1
- package/dist/model/AddressResponse.js +2 -2
- package/dist/model/Affirm.d.ts +30 -0
- package/dist/model/Affirm.js +94 -0
- package/dist/model/AfterCompletion.d.ts +33 -0
- package/dist/model/AfterCompletion.js +134 -0
- package/dist/model/AfterExpiration.d.ts +31 -0
- package/dist/model/AfterExpiration.js +108 -0
- package/dist/model/AfterpayClearpay.d.ts +32 -0
- package/dist/model/AfterpayClearpay.js +118 -0
- package/dist/model/Alipay.d.ts +33 -0
- package/dist/model/Alipay.js +130 -0
- package/dist/model/AlipayHandleRedirect.d.ts +34 -0
- package/dist/model/AlipayHandleRedirect.js +142 -0
- package/dist/model/Alternative.d.ts +32 -0
- package/dist/model/Alternative.js +118 -0
- package/dist/model/AmexExpressCheckout.d.ts +30 -0
- package/dist/model/AmexExpressCheckout.js +94 -0
- package/dist/model/AmountDetails.d.ts +31 -0
- package/dist/model/AmountDetails.js +108 -0
- package/dist/model/ApplePay.d.ts +30 -0
- package/dist/model/ApplePay.js +94 -0
- package/dist/model/Application.d.ts +34 -0
- package/dist/model/Application.js +138 -0
- package/dist/model/ApplicationFee.d.ts +50 -0
- package/dist/model/ApplicationFee.js +321 -0
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/AppliesTo.d.ts +31 -0
- package/dist/model/AppliesTo.js +106 -0
- package/dist/model/Article.d.ts +6 -6
- package/dist/model/Article.js +42 -42
- package/dist/model/AuBecsDebit.d.ts +34 -0
- package/dist/model/AuBecsDebit.js +142 -0
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AuthorizationCheckResponse.d.ts +1 -1
- package/dist/model/AuthorizationCheckResponse.js +2 -2
- package/dist/model/AutomaticPaymentMethods.d.ts +32 -0
- package/dist/model/AutomaticPaymentMethods.js +114 -0
- package/dist/model/AutomaticTax.d.ts +32 -0
- package/dist/model/AutomaticTax.js +114 -0
- package/dist/model/AvailablePlan.d.ts +33 -0
- package/dist/model/AvailablePlan.js +126 -0
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/BacsDebit.d.ts +34 -0
- package/dist/model/BacsDebit.js +142 -0
- package/dist/model/BacsDebitPayments.d.ts +32 -0
- package/dist/model/BacsDebitPayments.js +118 -0
- package/dist/model/Balance.d.ts +2 -2
- package/dist/model/Balance.js +19 -19
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BalanceTransaction.d.ts +47 -0
- package/dist/model/BalanceTransaction.js +293 -0
- package/dist/model/BalanceTransactionSource.d.ts +30 -0
- package/dist/model/BalanceTransactionSource.js +97 -0
- package/dist/model/Bancontact.d.ts +40 -0
- package/dist/model/Bancontact.js +218 -0
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/BankTransfer.d.ts +32 -0
- package/dist/model/BankTransfer.js +120 -0
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/BillingDetails.d.ts +34 -0
- package/dist/model/BillingDetails.js +144 -0
- package/dist/model/BillingThresholds.d.ts +31 -0
- package/dist/model/BillingThresholds.js +102 -0
- package/dist/model/Blik.d.ts +30 -0
- package/dist/model/Blik.js +94 -0
- package/dist/model/Blocked.d.ts +32 -0
- package/dist/model/Blocked.js +118 -0
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/Boleto.d.ts +31 -0
- package/dist/model/Boleto.js +106 -0
- package/dist/model/BoletoDisplayDetails.d.ts +34 -0
- package/dist/model/BoletoDisplayDetails.js +138 -0
- package/dist/model/Branding.d.ts +36 -0
- package/dist/model/Branding.js +168 -0
- package/dist/model/Breakdown.d.ts +32 -0
- package/dist/model/Breakdown.js +157 -0
- package/dist/model/BusinessProfile.d.ts +39 -0
- package/dist/model/BusinessProfile.js +206 -0
- package/dist/model/CacheInvalidation.d.ts +1 -1
- package/dist/model/CacheInvalidation.js +2 -2
- package/dist/model/CancellationDetails.d.ts +33 -0
- package/dist/model/CancellationDetails.js +130 -0
- package/dist/model/Capabilities.d.ts +67 -0
- package/dist/model/Capabilities.js +538 -0
- package/dist/model/Card.d.ts +54 -0
- package/dist/model/Card.js +380 -0
- package/dist/model/CardAwaitNotification.d.ts +32 -0
- package/dist/model/CardAwaitNotification.js +110 -0
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/CardIssuing.d.ts +31 -0
- package/dist/model/CardIssuing.js +108 -0
- package/dist/model/CardPayments.d.ts +34 -0
- package/dist/model/CardPayments.js +144 -0
- package/dist/model/CardPresent.d.ts +51 -0
- package/dist/model/CardPresent.js +326 -0
- package/dist/model/CashBalance.d.ts +36 -0
- package/dist/model/CashBalance.js +158 -0
- package/dist/model/Cashapp.d.ts +32 -0
- package/dist/model/Cashapp.js +118 -0
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +33 -0
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +132 -0
- package/dist/model/Charge.d.ts +90 -0
- package/dist/model/Charge.js +808 -0
- package/dist/model/CheckoutSessionInput.d.ts +60 -0
- package/dist/model/CheckoutSessionInput.js +289 -0
- package/dist/model/CheckoutSessionResponse.d.ts +35 -0
- package/dist/model/CheckoutSessionResponse.js +169 -0
- package/dist/model/Checks.d.ts +33 -0
- package/dist/model/Checks.js +130 -0
- package/dist/model/Comment.d.ts +3 -3
- package/dist/model/Comment.js +17 -17
- package/dist/model/Company.d.ts +48 -0
- package/dist/model/Company.js +300 -0
- package/dist/model/CompletedSessions.d.ts +32 -0
- package/dist/model/CompletedSessions.js +110 -0
- package/dist/model/Computed.d.ts +32 -0
- package/dist/model/Computed.js +122 -0
- package/dist/model/Consent.d.ts +32 -0
- package/dist/model/Consent.js +118 -0
- package/dist/model/ConsentCollection.d.ts +32 -0
- package/dist/model/ConsentCollection.js +118 -0
- package/dist/model/ConsoleOrganizationInput.d.ts +1 -1
- package/dist/model/ConsoleOrganizationInput.js +2 -2
- package/dist/model/ConsoleOrganizationResponse.d.ts +1 -1
- package/dist/model/ConsoleOrganizationResponse.js +2 -2
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Controller.d.ts +32 -0
- package/dist/model/Controller.js +114 -0
- package/dist/model/Coordinates.d.ts +12 -2
- package/dist/model/Coordinates.js +30 -5
- package/dist/model/Coupon.d.ts +49 -0
- package/dist/model/Coupon.js +277 -0
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/CreditedItems.d.ts +32 -0
- package/dist/model/CreditedItems.js +118 -0
- package/dist/model/CurrencyConversion.d.ts +34 -0
- package/dist/model/CurrencyConversion.js +130 -0
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyOption.d.ts +32 -0
- package/dist/model/CurrencyOption.js +114 -0
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.d.ts +1 -1
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CurrentPhase.d.ts +32 -0
- package/dist/model/CurrentPhase.js +110 -0
- package/dist/model/CustomField.d.ts +32 -0
- package/dist/model/CustomField.js +118 -0
- package/dist/model/CustomText.d.ts +33 -0
- package/dist/model/CustomText.js +136 -0
- package/dist/model/CustomUnitAmount.d.ts +33 -0
- package/dist/model/CustomUnitAmount.js +118 -0
- package/dist/model/Customer.d.ts +63 -0
- package/dist/model/Customer.js +476 -0
- package/dist/model/CustomerAcceptance.d.ts +34 -0
- package/dist/model/CustomerAcceptance.js +142 -0
- package/dist/model/CustomerBalance.d.ts +30 -0
- package/dist/model/CustomerBalance.js +94 -0
- package/dist/model/CustomerDetails.d.ts +36 -0
- package/dist/model/CustomerDetails.js +189 -0
- package/dist/model/CustomerNotification.d.ts +32 -0
- package/dist/model/CustomerNotification.js +110 -0
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/CustomerTaxId.d.ts +32 -0
- package/dist/model/CustomerTaxId.js +118 -0
- package/dist/model/Dashboard.d.ts +32 -0
- package/dist/model/Dashboard.js +118 -0
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +1 -1
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.d.ts +1 -1
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeclineOn.d.ts +32 -0
- package/dist/model/DeclineOn.js +110 -0
- package/dist/model/DefaultSettings.d.ts +42 -0
- package/dist/model/DefaultSettings.js +246 -0
- package/dist/model/DeliveryEstimate.d.ts +32 -0
- package/dist/model/DeliveryEstimate.js +122 -0
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Discount.d.ts +44 -0
- package/dist/model/Discount.js +256 -0
- package/dist/model/DiscountAmount.d.ts +33 -0
- package/dist/model/DiscountAmount.js +128 -0
- package/dist/model/DisplayBankTransferInstructions.d.ts +36 -0
- package/dist/model/DisplayBankTransferInstructions.js +183 -0
- package/dist/model/DisplayDetails.d.ts +32 -0
- package/dist/model/DisplayDetails.js +116 -0
- package/dist/model/Dob.d.ts +33 -0
- package/dist/model/Dob.js +118 -0
- package/dist/model/Document.d.ts +6 -6
- package/dist/model/Document.js +42 -42
- package/dist/model/DocumentPart.d.ts +4 -4
- package/dist/model/DocumentPart.js +25 -25
- package/dist/model/DocumentPartType.d.ts +2 -2
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.d.ts +2 -2
- package/dist/model/DocumentType.js +9 -9
- package/dist/model/DomainMappingInput.d.ts +1 -1
- package/dist/model/DomainMappingInput.js +2 -2
- package/dist/model/DomainMappingResponse.d.ts +1 -1
- package/dist/model/DomainMappingResponse.js +2 -2
- package/dist/model/Dropdown.d.ts +31 -0
- package/dist/model/Dropdown.js +127 -0
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/EmailSent.d.ts +32 -0
- package/dist/model/EmailSent.js +114 -0
- package/dist/model/EndBehavior.d.ts +31 -0
- package/dist/model/EndBehavior.js +106 -0
- package/dist/model/Eps.d.ts +32 -0
- package/dist/model/Eps.js +118 -0
- package/dist/model/Errors.d.ts +33 -0
- package/dist/model/Errors.js +130 -0
- package/dist/model/EuBankTransfer.d.ts +31 -0
- package/dist/model/EuBankTransfer.js +106 -0
- package/dist/model/ExtendedAuthorization.d.ts +31 -0
- package/dist/model/ExtendedAuthorization.js +106 -0
- package/dist/model/ExternalAccount.d.ts +30 -0
- package/dist/model/ExternalAccount.js +97 -0
- package/dist/model/ExternalAccountCollection.d.ts +38 -0
- package/dist/model/ExternalAccountCollection.js +205 -0
- package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +29 -0
- package/dist/model/ExternalAccountCollectionPageTypeToken.js +89 -0
- package/dist/model/Familymart.d.ts +32 -0
- package/dist/model/Familymart.js +118 -0
- package/dist/model/Feature.d.ts +31 -0
- package/dist/model/Feature.js +106 -0
- package/dist/model/FeeDetail.d.ts +35 -0
- package/dist/model/FeeDetail.js +150 -0
- package/dist/model/FeeRefund.d.ts +41 -0
- package/dist/model/FeeRefund.js +216 -0
- package/dist/model/FeeRefundCollection.d.ts +38 -0
- package/dist/model/FeeRefundCollection.js +205 -0
- package/dist/model/FieldMapping.d.ts +1 -1
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.d.ts +3 -3
- package/dist/model/Fields.js +17 -17
- package/dist/model/File.d.ts +2 -2
- package/dist/model/File.js +14 -14
- package/dist/model/FileAttachmentUploadObject.d.ts +2 -2
- package/dist/model/FileAttachmentUploadObject.js +14 -14
- package/dist/model/FileLink.d.ts +41 -0
- package/dist/model/FileLink.js +205 -0
- package/dist/model/FileLinkCollection.d.ts +38 -0
- package/dist/model/FileLinkCollection.js +205 -0
- package/dist/model/Filter.d.ts +1 -1
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.d.ts +1 -1
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/FinancialAddress.d.ts +38 -0
- package/dist/model/FinancialAddress.js +202 -0
- package/dist/model/FinancialConnections.d.ts +32 -0
- package/dist/model/FinancialConnections.js +118 -0
- package/dist/model/FixedAmount.d.ts +33 -0
- package/dist/model/FixedAmount.js +125 -0
- package/dist/model/Form.d.ts +2 -2
- package/dist/model/Form.js +21 -21
- package/dist/model/FormSection.d.ts +2 -2
- package/dist/model/FormSection.js +21 -21
- package/dist/model/FormSubmission.d.ts +1 -1
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Fpx.d.ts +33 -0
- package/dist/model/Fpx.js +130 -0
- package/dist/model/FraudDetails.d.ts +32 -0
- package/dist/model/FraudDetails.js +118 -0
- package/dist/model/FromInvoice.d.ts +33 -0
- package/dist/model/FromInvoice.js +132 -0
- package/dist/model/FromQuote.d.ts +33 -0
- package/dist/model/FromQuote.js +128 -0
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.d.ts +1 -1
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/FutureRequirements.d.ts +36 -0
- package/dist/model/FutureRequirements.js +205 -0
- package/dist/model/GeneratedFrom.d.ts +34 -0
- package/dist/model/GeneratedFrom.js +146 -0
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeocodeResponse.d.ts +1 -1
- package/dist/model/GeocodeResponse.js +2 -2
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/Giropay.d.ts +34 -0
- package/dist/model/Giropay.js +142 -0
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/GooglePay.d.ts +30 -0
- package/dist/model/GooglePay.js +94 -0
- package/dist/model/Grabpay.d.ts +31 -0
- package/dist/model/Grabpay.js +106 -0
- package/dist/model/Graph.d.ts +6 -6
- package/dist/model/Graph.js +33 -33
- package/dist/model/GraphAction.d.ts +1 -1
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +1 -1
- package/dist/model/GraphActionResponse.js +2 -2
- package/dist/model/GraphActionTypeInput.d.ts +1 -1
- package/dist/model/GraphActionTypeInput.js +2 -2
- package/dist/model/GraphActionTypeResponse.d.ts +1 -1
- package/dist/model/GraphActionTypeResponse.js +2 -2
- package/dist/model/GraphInput.d.ts +1 -1
- package/dist/model/GraphInput.js +2 -2
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.d.ts +2 -2
- package/dist/model/GraphObject.js +10 -10
- package/dist/model/GraphObjectPayload.d.ts +1 -1
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectResponse.d.ts +1 -1
- package/dist/model/GraphObjectResponse.js +2 -2
- package/dist/model/GraphObjectType.d.ts +2 -2
- package/dist/model/GraphObjectType.js +9 -9
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.d.ts +2 -2
- package/dist/model/GraphObjectTypeSchema.js +9 -9
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +1 -1
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.d.ts +1 -1
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipResponse.js +2 -2
- package/dist/model/GraphRelationshipType.d.ts +2 -2
- package/dist/model/GraphRelationshipType.js +15 -15
- package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeInput.js +2 -2
- package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphResponse.d.ts +1 -1
- package/dist/model/GraphResponse.js +2 -2
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +1 -1
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/HostedConfirmation.d.ts +31 -0
- package/dist/model/HostedConfirmation.js +106 -0
- package/dist/model/Iban.d.ts +34 -0
- package/dist/model/Iban.js +142 -0
- package/dist/model/Ideal.d.ts +38 -0
- package/dist/model/Ideal.js +194 -0
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/IncrementalAuthorization.d.ts +31 -0
- package/dist/model/IncrementalAuthorization.js +106 -0
- package/dist/model/IndexFilter.d.ts +1 -1
- package/dist/model/IndexFilter.js +2 -2
- package/dist/model/InputPart.d.ts +2 -2
- package/dist/model/InputPart.js +9 -9
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/Installments.d.ts +31 -0
- package/dist/model/Installments.js +108 -0
- package/dist/model/InteracPresent.d.ts +47 -0
- package/dist/model/InteracPresent.js +292 -0
- package/dist/model/Invoice.d.ts +127 -0
- package/dist/model/Invoice.js +1316 -0
- package/dist/model/InvoiceCreation.d.ts +32 -0
- package/dist/model/InvoiceCreation.js +116 -0
- package/dist/model/InvoiceData.d.ts +37 -0
- package/dist/model/InvoiceData.js +217 -0
- package/dist/model/InvoiceItem.d.ts +60 -0
- package/dist/model/InvoiceItem.js +465 -0
- package/dist/model/InvoiceLineItem.d.ts +58 -0
- package/dist/model/InvoiceLineItem.js +489 -0
- package/dist/model/InvoiceLineItemCollection.d.ts +38 -0
- package/dist/model/InvoiceLineItemCollection.js +205 -0
- package/dist/model/InvoiceSettings.d.ts +35 -0
- package/dist/model/InvoiceSettings.js +179 -0
- package/dist/model/IpAddressLocation.d.ts +35 -0
- package/dist/model/IpAddressLocation.js +146 -0
- package/dist/model/Item.d.ts +38 -0
- package/dist/model/Item.js +211 -0
- package/dist/model/ItemReason.d.ts +32 -0
- package/dist/model/ItemReason.js +114 -0
- package/dist/model/JsonArray.d.ts +1 -1
- package/dist/model/JsonArray.js +2 -2
- package/dist/model/JsonNull.d.ts +48 -0
- package/dist/model/JsonNull.js +258 -0
- package/dist/model/JsonObject.d.ts +1 -1
- package/dist/model/JsonObject.js +2 -2
- package/dist/model/JsonPrimitive.d.ts +51 -0
- package/dist/model/JsonPrimitive.js +282 -0
- package/dist/model/JsonValue.d.ts +1 -1
- package/dist/model/JsonValue.js +2 -2
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Klarna.d.ts +32 -0
- package/dist/model/Klarna.js +118 -0
- package/dist/model/Konbini.d.ts +31 -0
- package/dist/model/Konbini.js +108 -0
- package/dist/model/KonbiniDisplayDetails.d.ts +33 -0
- package/dist/model/KonbiniDisplayDetails.js +128 -0
- package/dist/model/Label.d.ts +32 -0
- package/dist/model/Label.js +118 -0
- package/dist/model/Lawson.d.ts +32 -0
- package/dist/model/Lawson.js +118 -0
- package/dist/model/Level3.d.ts +36 -0
- package/dist/model/Level3.js +183 -0
- package/dist/model/LineItem.d.ts +42 -0
- package/dist/model/LineItem.js +259 -0
- package/dist/model/LineItemCollection.d.ts +38 -0
- package/dist/model/LineItemCollection.js +205 -0
- package/dist/model/LineItemInput.d.ts +48 -0
- package/dist/model/LineItemInput.js +197 -0
- package/dist/model/Link.d.ts +4 -9
- package/dist/model/Link.js +17 -78
- package/dist/model/LinkInput.d.ts +44 -0
- package/dist/model/LinkInput.js +182 -0
- package/dist/model/LinkResponse.d.ts +52 -0
- package/dist/model/LinkResponse.js +204 -0
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/Location.d.ts +33 -0
- package/dist/model/Location.js +130 -0
- package/dist/model/MainPhoto.d.ts +30 -0
- package/dist/model/MainPhoto.js +97 -0
- package/dist/model/Mandate.d.ts +43 -0
- package/dist/model/Mandate.js +252 -0
- package/dist/model/MandateOptions.d.ts +31 -0
- package/dist/model/MandateOptions.js +106 -0
- package/dist/model/Masterpass.d.ts +34 -0
- package/dist/model/Masterpass.js +145 -0
- package/dist/model/Maximum.d.ts +32 -0
- package/dist/model/Maximum.js +114 -0
- package/dist/model/MediaType.d.ts +1 -1
- package/dist/model/MediaType.js +2 -2
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +1 -1
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.d.ts +2 -2
- package/dist/model/Member.js +14 -14
- package/dist/model/MemberGroupCategory.d.ts +1 -1
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +1 -1
- package/dist/model/MemberManagerConfigInput.js +2 -2
- package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
- package/dist/model/MemberManagerConfigResponse.js +2 -2
- package/dist/model/MemberManagerInput.d.ts +1 -1
- package/dist/model/MemberManagerInput.js +2 -2
- package/dist/model/MemberManagerResponse.d.ts +1 -1
- package/dist/model/MemberManagerResponse.js +2 -2
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/Minimum.d.ts +32 -0
- package/dist/model/Minimum.js +114 -0
- package/dist/model/Ministop.d.ts +32 -0
- package/dist/model/Ministop.js +118 -0
- package/dist/model/MonthlyEstimatedRevenue.d.ts +32 -0
- package/dist/model/MonthlyEstimatedRevenue.js +114 -0
- package/dist/model/MultiUse.d.ts +30 -0
- package/dist/model/MultiUse.js +94 -0
- package/dist/model/Multibanco.d.ts +32 -0
- package/dist/model/Multibanco.js +118 -0
- package/dist/model/Multicapture.d.ts +31 -0
- package/dist/model/Multicapture.js +106 -0
- package/dist/model/MultipartBody.d.ts +1 -1
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +1 -1
- package/dist/model/MultivaluedMapStringString.js +2 -2
- package/dist/model/NetworkToken.d.ts +31 -0
- package/dist/model/NetworkToken.js +102 -0
- package/dist/model/Networks.d.ts +32 -0
- package/dist/model/Networks.js +118 -0
- package/dist/model/NextAction.d.ts +32 -0
- package/dist/model/NextAction.js +120 -0
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.d.ts +1 -1
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/Numeric.d.ts +32 -0
- package/dist/model/Numeric.js +110 -0
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +2 -2
- package/dist/model/Objecttype.js +9 -9
- package/dist/model/Offline.d.ts +31 -0
- package/dist/model/Offline.js +102 -0
- package/dist/model/Online.d.ts +32 -0
- package/dist/model/Online.js +118 -0
- package/dist/model/Option.d.ts +32 -0
- package/dist/model/Option.js +118 -0
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Outcome.d.ts +38 -0
- package/dist/model/Outcome.js +188 -0
- package/dist/model/Overcapture.d.ts +32 -0
- package/dist/model/Overcapture.js +114 -0
- package/dist/model/OwnershipDeclaration.d.ts +33 -0
- package/dist/model/OwnershipDeclaration.js +126 -0
- package/dist/model/Oxxo.d.ts +31 -0
- package/dist/model/Oxxo.js +106 -0
- package/dist/model/OxxoDisplayDetails.d.ts +33 -0
- package/dist/model/OxxoDisplayDetails.js +126 -0
- package/dist/model/P24.d.ts +33 -0
- package/dist/model/P24.js +130 -0
- package/dist/model/PackageDimensions.d.ts +34 -0
- package/dist/model/PackageDimensions.js +126 -0
- package/dist/model/Page.d.ts +1 -1
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.d.ts +2 -2
- package/dist/model/PageSchema.js +9 -9
- package/dist/model/Pageable.d.ts +1 -1
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
- package/dist/model/PasswordResetInitiateRequest.js +2 -2
- package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
- package/dist/model/PasswordResetInitiateResponse.js +2 -2
- package/dist/model/PasswordResetRequest.d.ts +1 -1
- package/dist/model/PasswordResetRequest.js +2 -2
- package/dist/model/PasswordResetResponse.d.ts +1 -1
- package/dist/model/PasswordResetResponse.js +2 -2
- package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
- package/dist/model/PasswordResetValidationResponse.js +2 -2
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +2 -2
- package/dist/model/PauseCollection.d.ts +32 -0
- package/dist/model/PauseCollection.js +114 -0
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntent.d.ts +79 -0
- package/dist/model/PaymentIntent.js +682 -0
- package/dist/model/PaymentIntentData.d.ts +37 -0
- package/dist/model/PaymentIntentData.js +176 -0
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentLink.d.ts +66 -0
- package/dist/model/PaymentLink.js +569 -0
- package/dist/model/PaymentMethod.d.ts +46 -15
- package/dist/model/PaymentMethod.js +570 -57
- package/dist/model/PaymentMethodConfigurationDetails.d.ts +32 -0
- package/dist/model/PaymentMethodConfigurationDetails.js +118 -0
- package/dist/model/PaymentMethodDetails.d.ts +71 -0
- package/dist/model/PaymentMethodDetails.js +666 -0
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodOptions.d.ts +36 -0
- package/dist/model/PaymentMethodOptions.js +178 -0
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/PaymentSettings.d.ts +33 -0
- package/dist/model/PaymentSettings.js +132 -0
- package/dist/model/PaymentSource.d.ts +30 -0
- package/dist/model/PaymentSource.js +97 -0
- package/dist/model/PaymentSourceCollection.d.ts +38 -0
- package/dist/model/PaymentSourceCollection.js +205 -0
- package/dist/model/Payments.d.ts +35 -0
- package/dist/model/Payments.js +154 -0
- package/dist/model/Paynow.d.ts +31 -0
- package/dist/model/Paynow.js +106 -0
- package/dist/model/PaynowDisplayQrCode.d.ts +34 -0
- package/dist/model/PaynowDisplayQrCode.js +142 -0
- package/dist/model/Payout.d.ts +1 -1
- package/dist/model/Payout.js +2 -2
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Payouts.d.ts +33 -0
- package/dist/model/Payouts.js +128 -0
- package/dist/model/Paypal.d.ts +35 -0
- package/dist/model/Paypal.js +156 -0
- package/dist/model/Pdf.d.ts +31 -0
- package/dist/model/Pdf.js +106 -0
- package/dist/model/PendingInvoiceItemInterval.d.ts +32 -0
- package/dist/model/PendingInvoiceItemInterval.js +114 -0
- package/dist/model/PendingUpdate.d.ts +35 -0
- package/dist/model/PendingUpdate.js +159 -0
- package/dist/model/Period.d.ts +32 -0
- package/dist/model/Period.js +110 -0
- package/dist/model/Person.d.ts +63 -0
- package/dist/model/Person.js +483 -0
- package/dist/model/Phase.d.ts +53 -0
- package/dist/model/Phase.js +423 -0
- package/dist/model/PhoneNumber.d.ts +1 -1
- package/dist/model/PhoneNumber.js +2 -2
- package/dist/model/PhoneNumberCollection.d.ts +31 -0
- package/dist/model/PhoneNumberCollection.js +102 -0
- package/dist/model/Pix.d.ts +31 -0
- package/dist/model/Pix.js +106 -0
- package/dist/model/PixDisplayQrCode.d.ts +35 -0
- package/dist/model/PixDisplayQrCode.js +150 -0
- package/dist/model/Plan.d.ts +33 -0
- package/dist/model/Plan.js +126 -0
- package/dist/model/PostInput.d.ts +43 -0
- package/dist/model/PostInput.js +156 -0
- package/dist/model/PostResponse.d.ts +59 -0
- package/dist/model/PostResponse.js +230 -0
- package/dist/model/Price.d.ts +54 -0
- package/dist/model/Price.js +380 -0
- package/dist/model/PrivateMessage.d.ts +2 -2
- package/dist/model/PrivateMessage.js +10 -10
- package/dist/model/PrivateMessageConversation.d.ts +1 -1
- package/dist/model/PrivateMessageConversation.js +2 -2
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Processing.d.ts +32 -0
- package/dist/model/Processing.js +120 -0
- package/dist/model/Product.d.ts +53 -0
- package/dist/model/Product.js +367 -0
- package/dist/model/Profile.d.ts +1 -1
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PromotionCode.d.ts +45 -0
- package/dist/model/PromotionCode.js +250 -0
- package/dist/model/Promptpay.d.ts +31 -0
- package/dist/model/Promptpay.js +106 -0
- package/dist/model/PromptpayDisplayQrCode.d.ts +34 -0
- package/dist/model/PromptpayDisplayQrCode.js +142 -0
- package/dist/model/ProrationDetails.d.ts +31 -0
- package/dist/model/ProrationDetails.js +108 -0
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponse.js +2 -2
- package/dist/model/QrCode.d.ts +33 -0
- package/dist/model/QrCode.js +126 -0
- package/dist/model/Quote.d.ts +75 -0
- package/dist/model/Quote.js +671 -0
- package/dist/model/RadarOptions.d.ts +31 -0
- package/dist/model/RadarOptions.js +106 -0
- package/dist/model/Receipt.d.ts +39 -0
- package/dist/model/Receipt.js +202 -0
- package/dist/model/Recovery.d.ts +34 -0
- package/dist/model/Recovery.js +130 -0
- package/dist/model/Recurring.d.ts +35 -0
- package/dist/model/Recurring.js +144 -0
- package/dist/model/Redirect.d.ts +31 -0
- package/dist/model/Redirect.js +106 -0
- package/dist/model/RedirectToUrl.d.ts +32 -0
- package/dist/model/RedirectToUrl.js +118 -0
- package/dist/model/Refund.d.ts +57 -0
- package/dist/model/Refund.js +412 -0
- package/dist/model/RefundCollection.d.ts +38 -0
- package/dist/model/RefundCollection.js +205 -0
- package/dist/model/Relationship.d.ts +37 -0
- package/dist/model/Relationship.js +154 -0
- package/dist/model/RelationshipMapping.d.ts +1 -1
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/Rendering.d.ts +32 -0
- package/dist/model/Rendering.js +120 -0
- package/dist/model/RenderingOptions.d.ts +31 -0
- package/dist/model/RenderingOptions.js +106 -0
- package/dist/model/RequestOptions.d.ts +39 -0
- package/dist/model/RequestOptions.js +195 -0
- package/dist/model/RequestOptionsProxyCredential.d.ts +30 -0
- package/dist/model/RequestOptionsProxyCredential.js +101 -0
- package/dist/model/Requirements.d.ts +38 -0
- package/dist/model/Requirements.js +225 -0
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/Restrictions.d.ts +34 -0
- package/dist/model/Restrictions.js +133 -0
- package/dist/model/Review.d.ts +47 -0
- package/dist/model/Review.js +290 -0
- package/dist/model/RevolutPay.d.ts +30 -0
- package/dist/model/RevolutPay.js +94 -0
- package/dist/model/Rule.d.ts +33 -0
- package/dist/model/Rule.js +130 -0
- package/dist/model/SamsungPay.d.ts +30 -0
- package/dist/model/SamsungPay.js +94 -0
- package/dist/model/Schedule.d.ts +34 -0
- package/dist/model/Schedule.js +134 -0
- package/dist/model/ScreenSchema.d.ts +2 -2
- package/dist/model/ScreenSchema.js +10 -10
- package/dist/model/Seicomart.d.ts +32 -0
- package/dist/model/Seicomart.js +118 -0
- package/dist/model/SellerProtection.d.ts +32 -0
- package/dist/model/SellerProtection.js +118 -0
- package/dist/model/SepaCreditTransfer.d.ts +33 -0
- package/dist/model/SepaCreditTransfer.js +130 -0
- package/dist/model/SepaDebit.d.ts +36 -0
- package/dist/model/SepaDebit.js +168 -0
- package/dist/model/SepaDebitPayments.d.ts +31 -0
- package/dist/model/SepaDebitPayments.js +106 -0
- package/dist/model/Session.d.ts +34 -0
- package/dist/model/Session.js +142 -0
- package/dist/model/Settings.d.ts +39 -0
- package/dist/model/Settings.js +220 -0
- package/dist/model/SetupAttempt.d.ts +51 -0
- package/dist/model/SetupAttempt.js +344 -0
- package/dist/model/SetupIntent.d.ts +63 -0
- package/dist/model/SetupIntent.js +495 -0
- package/dist/model/ShippingAddress.d.ts +31 -0
- package/dist/model/ShippingAddress.js +106 -0
- package/dist/model/ShippingAddressCollection.d.ts +31 -0
- package/dist/model/ShippingAddressCollection.js +106 -0
- package/dist/model/ShippingCost.d.ts +36 -0
- package/dist/model/ShippingCost.js +177 -0
- package/dist/model/ShippingDetails.d.ts +35 -0
- package/dist/model/ShippingDetails.js +156 -0
- package/dist/model/ShippingOption.d.ts +33 -0
- package/dist/model/ShippingOption.js +128 -0
- package/dist/model/ShippingRate.d.ts +44 -0
- package/dist/model/ShippingRate.js +250 -0
- package/dist/model/SimulcastInfo.d.ts +1 -1
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SingleUse.d.ts +32 -0
- package/dist/model/SingleUse.js +114 -0
- package/dist/model/SiteInput.d.ts +1 -1
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.d.ts +1 -1
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.d.ts +1 -1
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.d.ts +1 -1
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.d.ts +3 -3
- package/dist/model/SkinField.js +17 -17
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.d.ts +2 -2
- package/dist/model/SocialGroup.js +9 -9
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sofort.d.ts +41 -0
- package/dist/model/Sofort.js +230 -0
- package/dist/model/Sort.d.ts +1 -1
- package/dist/model/Sort.js +2 -2
- package/dist/model/SortCode.d.ts +33 -0
- package/dist/model/SortCode.js +130 -0
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/Spei.d.ts +33 -0
- package/dist/model/Spei.js +130 -0
- package/dist/model/StatusDetails.d.ts +31 -0
- package/dist/model/StatusDetails.js +108 -0
- package/dist/model/StatusTransitions.d.ts +33 -0
- package/dist/model/StatusTransitions.js +118 -0
- package/dist/model/Store.d.ts +31 -0
- package/dist/model/Store.js +106 -0
- package/dist/model/Stores.d.ts +34 -0
- package/dist/model/Stores.js +150 -0
- package/dist/model/StripeAccount.d.ts +4 -33
- package/dist/model/StripeAccount.js +14 -200
- package/dist/model/StripeCheckoutSession.d.ts +38 -0
- package/dist/model/StripeCheckoutSession.js +205 -0
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/StripeError.d.ts +43 -0
- package/dist/model/StripeError.js +258 -0
- package/dist/model/StripePaymentIntent.d.ts +35 -0
- package/dist/model/StripePaymentIntent.js +166 -0
- package/dist/model/StripeSubscription.d.ts +38 -0
- package/dist/model/StripeSubscription.js +185 -0
- package/dist/model/Submit.d.ts +31 -0
- package/dist/model/Submit.js +106 -0
- package/dist/model/Subscription.d.ts +83 -0
- package/dist/model/Subscription.js +726 -0
- package/dist/model/SubscriptionCollection.d.ts +38 -0
- package/dist/model/SubscriptionCollection.js +205 -0
- package/dist/model/SubscriptionData.d.ts +34 -0
- package/dist/model/SubscriptionData.js +132 -0
- package/dist/model/SubscriptionDetails.d.ts +31 -0
- package/dist/model/SubscriptionDetails.js +104 -0
- package/dist/model/SubscriptionInput.d.ts +50 -0
- package/dist/model/SubscriptionInput.js +223 -0
- package/dist/model/SubscriptionItem.d.ts +42 -0
- package/dist/model/SubscriptionItem.js +247 -0
- package/dist/model/SubscriptionItemCollection.d.ts +38 -0
- package/dist/model/SubscriptionItemCollection.js +205 -0
- package/dist/model/SubscriptionResponse.d.ts +32 -0
- package/dist/model/SubscriptionResponse.js +131 -0
- package/dist/model/SubscriptionSchedule.d.ts +53 -0
- package/dist/model/SubscriptionSchedule.js +377 -0
- package/dist/model/Swift.d.ts +33 -0
- package/dist/model/Swift.js +130 -0
- package/dist/model/Tax.d.ts +33 -0
- package/dist/model/Tax.js +132 -0
- package/dist/model/TaxAmount.d.ts +36 -0
- package/dist/model/TaxAmount.js +156 -0
- package/dist/model/TaxCode.d.ts +35 -0
- package/dist/model/TaxCode.js +150 -0
- package/dist/model/TaxId.d.ts +42 -0
- package/dist/model/TaxId.js +226 -0
- package/dist/model/TaxIdCollection.d.ts +38 -0
- package/dist/model/TaxIdCollection.js +205 -0
- package/dist/model/TaxRate.d.ts +46 -0
- package/dist/model/TaxRate.js +256 -0
- package/dist/model/Template.d.ts +1 -1
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +1 -1
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/TermsOfServiceAcceptance.d.ts +31 -0
- package/dist/model/TermsOfServiceAcceptance.js +106 -0
- package/dist/model/TestClock.d.ts +40 -0
- package/dist/model/TestClock.js +190 -0
- package/dist/model/Text.d.ts +32 -0
- package/dist/model/Text.js +110 -0
- package/dist/model/ThemeMapping.d.ts +1 -1
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/ThreeDSecure.d.ts +38 -0
- package/dist/model/ThreeDSecure.js +186 -0
- package/dist/model/ThreeDSecureUsage.d.ts +31 -0
- package/dist/model/ThreeDSecureUsage.js +102 -0
- package/dist/model/ThresholdReason.d.ts +32 -0
- package/dist/model/ThresholdReason.js +135 -0
- package/dist/model/Tier.d.ts +35 -0
- package/dist/model/Tier.js +134 -0
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/Tip.d.ts +31 -0
- package/dist/model/Tip.js +102 -0
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/TosAcceptance.d.ts +34 -0
- package/dist/model/TosAcceptance.js +138 -0
- package/dist/model/TotalDetails.d.ts +34 -0
- package/dist/model/TotalDetails.js +132 -0
- package/dist/model/TotalDiscountAmount.d.ts +33 -0
- package/dist/model/TotalDiscountAmount.js +128 -0
- package/dist/model/TotalTaxAmount.d.ts +36 -0
- package/dist/model/TotalTaxAmount.js +156 -0
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +1 -1
- package/dist/model/Transfer.js +2 -2
- package/dist/model/TransferData.d.ts +34 -0
- package/dist/model/TransferData.js +136 -0
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
- package/dist/model/TransferReversal.d.ts +45 -0
- package/dist/model/TransferReversal.js +267 -0
- package/dist/model/TransferReversalCollection.d.ts +38 -0
- package/dist/model/TransferReversalCollection.js +205 -0
- package/dist/model/TransformQuantity.d.ts +32 -0
- package/dist/model/TransformQuantity.js +114 -0
- package/dist/model/TransformUsage.d.ts +32 -0
- package/dist/model/TransformUsage.js +114 -0
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/Treasury.d.ts +31 -0
- package/dist/model/Treasury.js +108 -0
- package/dist/model/TrialSettings.d.ts +31 -0
- package/dist/model/TrialSettings.js +108 -0
- package/dist/model/Upfront.d.ts +34 -0
- package/dist/model/Upfront.js +138 -0
- package/dist/model/UsBankAccount.d.ts +36 -0
- package/dist/model/UsBankAccount.js +166 -0
- package/dist/model/User.d.ts +2 -2
- package/dist/model/User.js +14 -14
- package/dist/model/UserDataPayload.d.ts +2 -2
- package/dist/model/UserDataPayload.js +14 -14
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +1 -1
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +2 -2
- package/dist/model/UserSchema.js +14 -14
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +1 -1
- package/dist/model/UsernameReminderRequest.js +2 -2
- package/dist/model/UsernameReminderResponse.d.ts +1 -1
- package/dist/model/UsernameReminderResponse.js +2 -2
- package/dist/model/Verification.d.ts +33 -0
- package/dist/model/Verification.js +130 -0
- package/dist/model/VerifyWithMicrodeposits.d.ts +33 -0
- package/dist/model/VerifyWithMicrodeposits.js +126 -0
- package/dist/model/Video.d.ts +3 -3
- package/dist/model/Video.js +18 -18
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +3 -3
- package/dist/model/VideoSchema.js +18 -18
- package/dist/model/VideoUploadObject.d.ts +3 -3
- package/dist/model/VideoUploadObject.js +18 -18
- package/dist/model/VisaCheckout.d.ts +34 -0
- package/dist/model/VisaCheckout.js +145 -0
- package/dist/model/Wallet.d.ts +39 -0
- package/dist/model/Wallet.js +216 -0
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/Wechat.d.ts +30 -0
- package/dist/model/Wechat.js +94 -0
- package/dist/model/WechatPay.d.ts +32 -0
- package/dist/model/WechatPay.js +118 -0
- package/dist/model/WechatPayDisplayQrCode.d.ts +35 -0
- package/dist/model/WechatPayDisplayQrCode.js +154 -0
- package/dist/model/WechatPayRedirectToAndroidApp.d.ts +38 -0
- package/dist/model/WechatPayRedirectToAndroidApp.js +190 -0
- package/dist/model/WechatPayRedirectToIosApp.d.ts +31 -0
- package/dist/model/WechatPayRedirectToIosApp.js +106 -0
- package/dist/model/Zengin.d.ts +37 -0
- package/dist/model/Zengin.js +178 -0
- package/dist/model/ZeusPortalCategory.d.ts +1 -1
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/dist/model/Zip.d.ts +30 -0
- package/dist/model/Zip.js +94 -0
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export default CheckoutSessionInput;
|
|
2
|
+
/**
|
|
3
|
+
* The CheckoutSessionInput model module.
|
|
4
|
+
* @module model/CheckoutSessionInput
|
|
5
|
+
* @version 0.1.113
|
|
6
|
+
*/
|
|
7
|
+
declare class CheckoutSessionInput {
|
|
8
|
+
/**
|
|
9
|
+
* Initializes the fields of this object.
|
|
10
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
11
|
+
* Only for internal use.
|
|
12
|
+
*/
|
|
13
|
+
static initialize(obj: any, mode: any, lineItems: any, currency: any, successUrl: any, cancelUrl: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a <code>CheckoutSessionInput</code> from a plain JavaScript object, optionally creating a new instance.
|
|
16
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
17
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
18
|
+
* @param {module:model/CheckoutSessionInput} obj Optional instance to populate.
|
|
19
|
+
* @return {module:model/CheckoutSessionInput} The populated <code>CheckoutSessionInput</code> instance.
|
|
20
|
+
*/
|
|
21
|
+
static constructFromObject(data: any, obj: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* Validates the JSON data with respect to <code>CheckoutSessionInput</code>.
|
|
24
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
25
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CheckoutSessionInput</code>.
|
|
26
|
+
*/
|
|
27
|
+
static validateJSON(data: any): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new <code>CheckoutSessionInput</code>.
|
|
30
|
+
* Input for creating a Stripe Checkout Session
|
|
31
|
+
* @alias module:model/CheckoutSessionInput
|
|
32
|
+
* @param mode {module:model/CheckoutSessionInput.ModeEnum} The checkout mode: payment, subscription, or setup
|
|
33
|
+
* @param lineItems {Array.<module:model/LineItemInput>} Line items to display in the checkout
|
|
34
|
+
* @param currency {String} Three-letter ISO currency code (e.g., 'usd')
|
|
35
|
+
* @param successUrl {String} URL to redirect to after successful payment
|
|
36
|
+
* @param cancelUrl {String} URL to redirect to if user cancels
|
|
37
|
+
*/
|
|
38
|
+
constructor(mode: any, lineItems: Array<NodeJS.Module>, currency: string, successUrl: string, cancelUrl: string);
|
|
39
|
+
mode: any;
|
|
40
|
+
lineItems: any;
|
|
41
|
+
currency: any;
|
|
42
|
+
successUrl: any;
|
|
43
|
+
cancelUrl: any;
|
|
44
|
+
customerId: any;
|
|
45
|
+
recipientAccountId: any;
|
|
46
|
+
metadata: any;
|
|
47
|
+
collectBillingAddress: any;
|
|
48
|
+
collectShippingAddress: any;
|
|
49
|
+
allowPromotionCodes: any;
|
|
50
|
+
autoCreateCustomer: any;
|
|
51
|
+
trialPeriodDays: any;
|
|
52
|
+
}
|
|
53
|
+
declare namespace CheckoutSessionInput {
|
|
54
|
+
let RequiredProperties: string[];
|
|
55
|
+
namespace ModeEnum {
|
|
56
|
+
let PAYMENT: string;
|
|
57
|
+
let SUBSCRIPTION: string;
|
|
58
|
+
let SETUP: string;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _LineItemInput = _interopRequireDefault(require("./LineItemInput"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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); }
|
|
11
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* gobodo-api
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.113
|
|
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
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The CheckoutSessionInput model module.
|
|
32
|
+
* @module model/CheckoutSessionInput
|
|
33
|
+
* @version 0.1.113
|
|
34
|
+
*/
|
|
35
|
+
var CheckoutSessionInput = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>CheckoutSessionInput</code>.
|
|
38
|
+
* Input for creating a Stripe Checkout Session
|
|
39
|
+
* @alias module:model/CheckoutSessionInput
|
|
40
|
+
* @param mode {module:model/CheckoutSessionInput.ModeEnum} The checkout mode: payment, subscription, or setup
|
|
41
|
+
* @param lineItems {Array.<module:model/LineItemInput>} Line items to display in the checkout
|
|
42
|
+
* @param currency {String} Three-letter ISO currency code (e.g., 'usd')
|
|
43
|
+
* @param successUrl {String} URL to redirect to after successful payment
|
|
44
|
+
* @param cancelUrl {String} URL to redirect to if user cancels
|
|
45
|
+
*/
|
|
46
|
+
function CheckoutSessionInput(mode, lineItems, currency, successUrl, cancelUrl) {
|
|
47
|
+
_classCallCheck(this, CheckoutSessionInput);
|
|
48
|
+
CheckoutSessionInput.initialize(this, mode, lineItems, currency, successUrl, cancelUrl);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Initializes the fields of this object.
|
|
53
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
54
|
+
* Only for internal use.
|
|
55
|
+
*/
|
|
56
|
+
return _createClass(CheckoutSessionInput, null, [{
|
|
57
|
+
key: "initialize",
|
|
58
|
+
value: function initialize(obj, mode, lineItems, currency, successUrl, cancelUrl) {
|
|
59
|
+
obj['mode'] = mode;
|
|
60
|
+
obj['lineItems'] = lineItems;
|
|
61
|
+
obj['currency'] = currency;
|
|
62
|
+
obj['successUrl'] = successUrl;
|
|
63
|
+
obj['cancelUrl'] = cancelUrl;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Constructs a <code>CheckoutSessionInput</code> from a plain JavaScript object, optionally creating a new instance.
|
|
68
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
69
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
70
|
+
* @param {module:model/CheckoutSessionInput} obj Optional instance to populate.
|
|
71
|
+
* @return {module:model/CheckoutSessionInput} The populated <code>CheckoutSessionInput</code> instance.
|
|
72
|
+
*/
|
|
73
|
+
}, {
|
|
74
|
+
key: "constructFromObject",
|
|
75
|
+
value: function constructFromObject(data, obj) {
|
|
76
|
+
if (data) {
|
|
77
|
+
obj = obj || new CheckoutSessionInput();
|
|
78
|
+
if (data.hasOwnProperty('mode')) {
|
|
79
|
+
obj['mode'] = _ApiClient["default"].convertToType(data['mode'], 'String');
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('lineItems')) {
|
|
82
|
+
obj['lineItems'] = _ApiClient["default"].convertToType(data['lineItems'], [_LineItemInput["default"]]);
|
|
83
|
+
}
|
|
84
|
+
if (data.hasOwnProperty('currency')) {
|
|
85
|
+
obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
|
|
86
|
+
}
|
|
87
|
+
if (data.hasOwnProperty('successUrl')) {
|
|
88
|
+
obj['successUrl'] = _ApiClient["default"].convertToType(data['successUrl'], 'String');
|
|
89
|
+
}
|
|
90
|
+
if (data.hasOwnProperty('cancelUrl')) {
|
|
91
|
+
obj['cancelUrl'] = _ApiClient["default"].convertToType(data['cancelUrl'], 'String');
|
|
92
|
+
}
|
|
93
|
+
if (data.hasOwnProperty('customerId')) {
|
|
94
|
+
obj['customerId'] = _ApiClient["default"].convertToType(data['customerId'], 'Number');
|
|
95
|
+
}
|
|
96
|
+
if (data.hasOwnProperty('recipientAccountId')) {
|
|
97
|
+
obj['recipientAccountId'] = _ApiClient["default"].convertToType(data['recipientAccountId'], 'Number');
|
|
98
|
+
}
|
|
99
|
+
if (data.hasOwnProperty('metadata')) {
|
|
100
|
+
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], {
|
|
101
|
+
'String': 'String'
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
if (data.hasOwnProperty('collectBillingAddress')) {
|
|
105
|
+
obj['collectBillingAddress'] = _ApiClient["default"].convertToType(data['collectBillingAddress'], 'Boolean');
|
|
106
|
+
}
|
|
107
|
+
if (data.hasOwnProperty('collectShippingAddress')) {
|
|
108
|
+
obj['collectShippingAddress'] = _ApiClient["default"].convertToType(data['collectShippingAddress'], 'Boolean');
|
|
109
|
+
}
|
|
110
|
+
if (data.hasOwnProperty('allowPromotionCodes')) {
|
|
111
|
+
obj['allowPromotionCodes'] = _ApiClient["default"].convertToType(data['allowPromotionCodes'], 'Boolean');
|
|
112
|
+
}
|
|
113
|
+
if (data.hasOwnProperty('autoCreateCustomer')) {
|
|
114
|
+
obj['autoCreateCustomer'] = _ApiClient["default"].convertToType(data['autoCreateCustomer'], 'Boolean');
|
|
115
|
+
}
|
|
116
|
+
if (data.hasOwnProperty('trialPeriodDays')) {
|
|
117
|
+
obj['trialPeriodDays'] = _ApiClient["default"].convertToType(data['trialPeriodDays'], 'Number');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return obj;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Validates the JSON data with respect to <code>CheckoutSessionInput</code>.
|
|
125
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
126
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CheckoutSessionInput</code>.
|
|
127
|
+
*/
|
|
128
|
+
}, {
|
|
129
|
+
key: "validateJSON",
|
|
130
|
+
value: function validateJSON(data) {
|
|
131
|
+
// check to make sure all required properties are present in the JSON string
|
|
132
|
+
var _iterator = _createForOfIteratorHelper(CheckoutSessionInput.RequiredProperties),
|
|
133
|
+
_step;
|
|
134
|
+
try {
|
|
135
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
136
|
+
var property = _step.value;
|
|
137
|
+
if (!data[property]) {
|
|
138
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
// ensure the json data is a string
|
|
142
|
+
} catch (err) {
|
|
143
|
+
_iterator.e(err);
|
|
144
|
+
} finally {
|
|
145
|
+
_iterator.f();
|
|
146
|
+
}
|
|
147
|
+
if (data['mode'] && !(typeof data['mode'] === 'string' || data['mode'] instanceof String)) {
|
|
148
|
+
throw new Error("Expected the field `mode` to be a primitive type in the JSON string but got " + data['mode']);
|
|
149
|
+
}
|
|
150
|
+
if (data['lineItems']) {
|
|
151
|
+
// data not null
|
|
152
|
+
// ensure the json data is an array
|
|
153
|
+
if (!Array.isArray(data['lineItems'])) {
|
|
154
|
+
throw new Error("Expected the field `lineItems` to be an array in the JSON data but got " + data['lineItems']);
|
|
155
|
+
}
|
|
156
|
+
// validate the optional field `lineItems` (array)
|
|
157
|
+
var _iterator2 = _createForOfIteratorHelper(data['lineItems']),
|
|
158
|
+
_step2;
|
|
159
|
+
try {
|
|
160
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
161
|
+
var item = _step2.value;
|
|
162
|
+
_LineItemInput["default"].validateJSON(item);
|
|
163
|
+
}
|
|
164
|
+
} catch (err) {
|
|
165
|
+
_iterator2.e(err);
|
|
166
|
+
} finally {
|
|
167
|
+
_iterator2.f();
|
|
168
|
+
}
|
|
169
|
+
;
|
|
170
|
+
}
|
|
171
|
+
// ensure the json data is a string
|
|
172
|
+
if (data['currency'] && !(typeof data['currency'] === 'string' || data['currency'] instanceof String)) {
|
|
173
|
+
throw new Error("Expected the field `currency` to be a primitive type in the JSON string but got " + data['currency']);
|
|
174
|
+
}
|
|
175
|
+
// ensure the json data is a string
|
|
176
|
+
if (data['successUrl'] && !(typeof data['successUrl'] === 'string' || data['successUrl'] instanceof String)) {
|
|
177
|
+
throw new Error("Expected the field `successUrl` to be a primitive type in the JSON string but got " + data['successUrl']);
|
|
178
|
+
}
|
|
179
|
+
// ensure the json data is a string
|
|
180
|
+
if (data['cancelUrl'] && !(typeof data['cancelUrl'] === 'string' || data['cancelUrl'] instanceof String)) {
|
|
181
|
+
throw new Error("Expected the field `cancelUrl` to be a primitive type in the JSON string but got " + data['cancelUrl']);
|
|
182
|
+
}
|
|
183
|
+
return true;
|
|
184
|
+
}
|
|
185
|
+
}]);
|
|
186
|
+
}();
|
|
187
|
+
CheckoutSessionInput.RequiredProperties = ["mode", "lineItems", "currency", "successUrl", "cancelUrl"];
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* The checkout mode: payment, subscription, or setup
|
|
191
|
+
* @member {module:model/CheckoutSessionInput.ModeEnum} mode
|
|
192
|
+
*/
|
|
193
|
+
CheckoutSessionInput.prototype['mode'] = undefined;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Line items to display in the checkout
|
|
197
|
+
* @member {Array.<module:model/LineItemInput>} lineItems
|
|
198
|
+
*/
|
|
199
|
+
CheckoutSessionInput.prototype['lineItems'] = undefined;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Three-letter ISO currency code (e.g., 'usd')
|
|
203
|
+
* @member {String} currency
|
|
204
|
+
*/
|
|
205
|
+
CheckoutSessionInput.prototype['currency'] = undefined;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* URL to redirect to after successful payment
|
|
209
|
+
* @member {String} successUrl
|
|
210
|
+
*/
|
|
211
|
+
CheckoutSessionInput.prototype['successUrl'] = undefined;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* URL to redirect to if user cancels
|
|
215
|
+
* @member {String} cancelUrl
|
|
216
|
+
*/
|
|
217
|
+
CheckoutSessionInput.prototype['cancelUrl'] = undefined;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Customer ID to associate with this checkout (uses logged in user if not specified)
|
|
221
|
+
* @member {Number} customerId
|
|
222
|
+
*/
|
|
223
|
+
CheckoutSessionInput.prototype['customerId'] = undefined;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Account ID to receive the payment (for marketplace/platform payments)
|
|
227
|
+
* @member {Number} recipientAccountId
|
|
228
|
+
*/
|
|
229
|
+
CheckoutSessionInput.prototype['recipientAccountId'] = undefined;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Optional metadata to attach to the session
|
|
233
|
+
* @member {Object.<String, String>} metadata
|
|
234
|
+
*/
|
|
235
|
+
CheckoutSessionInput.prototype['metadata'] = undefined;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Whether to collect billing address
|
|
239
|
+
* @member {Boolean} collectBillingAddress
|
|
240
|
+
*/
|
|
241
|
+
CheckoutSessionInput.prototype['collectBillingAddress'] = undefined;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Whether to collect shipping address
|
|
245
|
+
* @member {Boolean} collectShippingAddress
|
|
246
|
+
*/
|
|
247
|
+
CheckoutSessionInput.prototype['collectShippingAddress'] = undefined;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Whether to allow promotion codes
|
|
251
|
+
* @member {Boolean} allowPromotionCodes
|
|
252
|
+
*/
|
|
253
|
+
CheckoutSessionInput.prototype['allowPromotionCodes'] = undefined;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Automatically create a customer if one doesn't exist
|
|
257
|
+
* @member {Boolean} autoCreateCustomer
|
|
258
|
+
*/
|
|
259
|
+
CheckoutSessionInput.prototype['autoCreateCustomer'] = undefined;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* For subscriptions: trial period in days
|
|
263
|
+
* @member {Number} trialPeriodDays
|
|
264
|
+
*/
|
|
265
|
+
CheckoutSessionInput.prototype['trialPeriodDays'] = undefined;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Allowed values for the <code>mode</code> property.
|
|
269
|
+
* @enum {String}
|
|
270
|
+
* @readonly
|
|
271
|
+
*/
|
|
272
|
+
CheckoutSessionInput['ModeEnum'] = {
|
|
273
|
+
/**
|
|
274
|
+
* value: "PAYMENT"
|
|
275
|
+
* @const
|
|
276
|
+
*/
|
|
277
|
+
"PAYMENT": "PAYMENT",
|
|
278
|
+
/**
|
|
279
|
+
* value: "SUBSCRIPTION"
|
|
280
|
+
* @const
|
|
281
|
+
*/
|
|
282
|
+
"SUBSCRIPTION": "SUBSCRIPTION",
|
|
283
|
+
/**
|
|
284
|
+
* value: "SETUP"
|
|
285
|
+
* @const
|
|
286
|
+
*/
|
|
287
|
+
"SETUP": "SETUP"
|
|
288
|
+
};
|
|
289
|
+
var _default = exports["default"] = CheckoutSessionInput;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default CheckoutSessionResponse;
|
|
2
|
+
/**
|
|
3
|
+
* The CheckoutSessionResponse model module.
|
|
4
|
+
* @module model/CheckoutSessionResponse
|
|
5
|
+
* @version 0.1.113
|
|
6
|
+
*/
|
|
7
|
+
declare class CheckoutSessionResponse {
|
|
8
|
+
/**
|
|
9
|
+
* Initializes the fields of this object.
|
|
10
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
11
|
+
* Only for internal use.
|
|
12
|
+
*/
|
|
13
|
+
static initialize(obj: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a <code>CheckoutSessionResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
16
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
17
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
18
|
+
* @param {module:model/CheckoutSessionResponse} obj Optional instance to populate.
|
|
19
|
+
* @return {module:model/CheckoutSessionResponse} The populated <code>CheckoutSessionResponse</code> instance.
|
|
20
|
+
*/
|
|
21
|
+
static constructFromObject(data: any, obj: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* Validates the JSON data with respect to <code>CheckoutSessionResponse</code>.
|
|
24
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
25
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CheckoutSessionResponse</code>.
|
|
26
|
+
*/
|
|
27
|
+
static validateJSON(data: any): boolean;
|
|
28
|
+
sessionId: any;
|
|
29
|
+
url: any;
|
|
30
|
+
customerId: any;
|
|
31
|
+
paymentIntentId: any;
|
|
32
|
+
subscriptionId: any;
|
|
33
|
+
status: any;
|
|
34
|
+
failureException: any;
|
|
35
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
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); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
|
+
* gobodo-api
|
|
16
|
+
* REST Interface for Gobodo API
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 0.1.113
|
|
19
|
+
* Contact: info@gobodo.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The CheckoutSessionResponse model module.
|
|
28
|
+
* @module model/CheckoutSessionResponse
|
|
29
|
+
* @version 0.1.113
|
|
30
|
+
*/
|
|
31
|
+
var CheckoutSessionResponse = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>CheckoutSessionResponse</code>.
|
|
34
|
+
* Response from creating a Stripe Checkout Session
|
|
35
|
+
* @alias module:model/CheckoutSessionResponse
|
|
36
|
+
*/
|
|
37
|
+
function CheckoutSessionResponse() {
|
|
38
|
+
_classCallCheck(this, CheckoutSessionResponse);
|
|
39
|
+
CheckoutSessionResponse.initialize(this);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initializes the fields of this object.
|
|
44
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
|
+
* Only for internal use.
|
|
46
|
+
*/
|
|
47
|
+
return _createClass(CheckoutSessionResponse, null, [{
|
|
48
|
+
key: "initialize",
|
|
49
|
+
value: function initialize(obj) {}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Constructs a <code>CheckoutSessionResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
+
* @param {module:model/CheckoutSessionResponse} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/CheckoutSessionResponse} The populated <code>CheckoutSessionResponse</code> instance.
|
|
57
|
+
*/
|
|
58
|
+
}, {
|
|
59
|
+
key: "constructFromObject",
|
|
60
|
+
value: function constructFromObject(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new CheckoutSessionResponse();
|
|
63
|
+
if (data.hasOwnProperty('sessionId')) {
|
|
64
|
+
obj['sessionId'] = _ApiClient["default"].convertToType(data['sessionId'], 'String');
|
|
65
|
+
}
|
|
66
|
+
if (data.hasOwnProperty('url')) {
|
|
67
|
+
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('customerId')) {
|
|
70
|
+
obj['customerId'] = _ApiClient["default"].convertToType(data['customerId'], 'String');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('paymentIntentId')) {
|
|
73
|
+
obj['paymentIntentId'] = _ApiClient["default"].convertToType(data['paymentIntentId'], 'String');
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('subscriptionId')) {
|
|
76
|
+
obj['subscriptionId'] = _ApiClient["default"].convertToType(data['subscriptionId'], 'String');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('status')) {
|
|
79
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('failureException')) {
|
|
82
|
+
obj['failureException'] = _ApiClient["default"].convertToType(data['failureException'], 'String');
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return obj;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Validates the JSON data with respect to <code>CheckoutSessionResponse</code>.
|
|
90
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
91
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CheckoutSessionResponse</code>.
|
|
92
|
+
*/
|
|
93
|
+
}, {
|
|
94
|
+
key: "validateJSON",
|
|
95
|
+
value: function validateJSON(data) {
|
|
96
|
+
// ensure the json data is a string
|
|
97
|
+
if (data['sessionId'] && !(typeof data['sessionId'] === 'string' || data['sessionId'] instanceof String)) {
|
|
98
|
+
throw new Error("Expected the field `sessionId` to be a primitive type in the JSON string but got " + data['sessionId']);
|
|
99
|
+
}
|
|
100
|
+
// ensure the json data is a string
|
|
101
|
+
if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
102
|
+
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
103
|
+
}
|
|
104
|
+
// ensure the json data is a string
|
|
105
|
+
if (data['customerId'] && !(typeof data['customerId'] === 'string' || data['customerId'] instanceof String)) {
|
|
106
|
+
throw new Error("Expected the field `customerId` to be a primitive type in the JSON string but got " + data['customerId']);
|
|
107
|
+
}
|
|
108
|
+
// ensure the json data is a string
|
|
109
|
+
if (data['paymentIntentId'] && !(typeof data['paymentIntentId'] === 'string' || data['paymentIntentId'] instanceof String)) {
|
|
110
|
+
throw new Error("Expected the field `paymentIntentId` to be a primitive type in the JSON string but got " + data['paymentIntentId']);
|
|
111
|
+
}
|
|
112
|
+
// ensure the json data is a string
|
|
113
|
+
if (data['subscriptionId'] && !(typeof data['subscriptionId'] === 'string' || data['subscriptionId'] instanceof String)) {
|
|
114
|
+
throw new Error("Expected the field `subscriptionId` to be a primitive type in the JSON string but got " + data['subscriptionId']);
|
|
115
|
+
}
|
|
116
|
+
// ensure the json data is a string
|
|
117
|
+
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
|
|
118
|
+
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
119
|
+
}
|
|
120
|
+
// ensure the json data is a string
|
|
121
|
+
if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
|
|
122
|
+
throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
|
|
123
|
+
}
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
}]);
|
|
127
|
+
}();
|
|
128
|
+
/**
|
|
129
|
+
* The Stripe checkout session ID
|
|
130
|
+
* @member {String} sessionId
|
|
131
|
+
*/
|
|
132
|
+
CheckoutSessionResponse.prototype['sessionId'] = undefined;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The URL to redirect the user to for payment
|
|
136
|
+
* @member {String} url
|
|
137
|
+
*/
|
|
138
|
+
CheckoutSessionResponse.prototype['url'] = undefined;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The customer ID associated with this session
|
|
142
|
+
* @member {String} customerId
|
|
143
|
+
*/
|
|
144
|
+
CheckoutSessionResponse.prototype['customerId'] = undefined;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The payment intent ID (if payment mode)
|
|
148
|
+
* @member {String} paymentIntentId
|
|
149
|
+
*/
|
|
150
|
+
CheckoutSessionResponse.prototype['paymentIntentId'] = undefined;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* The subscription ID (if subscription mode)
|
|
154
|
+
* @member {String} subscriptionId
|
|
155
|
+
*/
|
|
156
|
+
CheckoutSessionResponse.prototype['subscriptionId'] = undefined;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The checkout session status
|
|
160
|
+
* @member {String} status
|
|
161
|
+
*/
|
|
162
|
+
CheckoutSessionResponse.prototype['status'] = undefined;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Error information if the operation failed
|
|
166
|
+
* @member {String} failureException
|
|
167
|
+
*/
|
|
168
|
+
CheckoutSessionResponse.prototype['failureException'] = undefined;
|
|
169
|
+
var _default = exports["default"] = CheckoutSessionResponse;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default Checks;
|
|
2
|
+
/**
|
|
3
|
+
* The Checks model module.
|
|
4
|
+
* @module model/Checks
|
|
5
|
+
* @version 0.1.113
|
|
6
|
+
*/
|
|
7
|
+
declare class Checks {
|
|
8
|
+
/**
|
|
9
|
+
* Initializes the fields of this object.
|
|
10
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
11
|
+
* Only for internal use.
|
|
12
|
+
*/
|
|
13
|
+
static initialize(obj: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a <code>Checks</code> from a plain JavaScript object, optionally creating a new instance.
|
|
16
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
17
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
18
|
+
* @param {module:model/Checks} obj Optional instance to populate.
|
|
19
|
+
* @return {module:model/Checks} The populated <code>Checks</code> instance.
|
|
20
|
+
*/
|
|
21
|
+
static constructFromObject(data: any, obj: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* Validates the JSON data with respect to <code>Checks</code>.
|
|
24
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
25
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Checks</code>.
|
|
26
|
+
*/
|
|
27
|
+
static validateJSON(data: any): boolean;
|
|
28
|
+
lastResponse: any;
|
|
29
|
+
rawJsonObject: any;
|
|
30
|
+
addressLine1Check: any;
|
|
31
|
+
addressPostalCodeCheck: any;
|
|
32
|
+
cvcCheck: any;
|
|
33
|
+
}
|