@gobodo/gobodo-api-promise 0.1.147 → 0.1.150
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 +54 -11
- package/dist/.tsbuildinfo +1 -1
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +3 -3
- package/dist/api/AIApi.d.ts +7 -7
- package/dist/api/AIApi.js +2 -2
- package/dist/api/AIConversationsApi.d.ts +11 -11
- package/dist/api/AIConversationsApi.js +2 -2
- package/dist/api/AbilitiesApi.d.ts +4 -4
- package/dist/api/AbilitiesApi.js +2 -2
- package/dist/api/ActionTypesApi.d.ts +1 -1
- package/dist/api/AdCampaignsApi.d.ts +8 -8
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.d.ts +13 -13
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.d.ts +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.d.ts +6 -6
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.d.ts +9 -9
- package/dist/api/AttachmentsApi.js +6 -6
- package/dist/api/AuthenticationApi.d.ts +12 -12
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.d.ts +8 -8
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CircleAccountsApi.d.ts +11 -11
- package/dist/api/CircleAccountsApi.js +2 -2
- package/dist/api/CommentsApi.d.ts +10 -10
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.d.ts +29 -29
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.d.ts +9 -9
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/CurrencyApi.d.ts +8 -8
- package/dist/api/CurrencyApi.js +2 -2
- package/dist/api/DataSheetImportsApi.d.ts +22 -22
- package/dist/api/DataSheetImportsApi.js +14 -14
- package/dist/api/DataSyncApi.d.ts +424 -0
- package/dist/api/DataSyncApi.d.ts.map +1 -0
- package/dist/api/DataSyncApi.js +772 -0
- package/dist/api/DefaultApi.d.ts +13 -13
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentPartTypesApi.d.ts +3 -3
- package/dist/api/DocumentPartTypesApi.js +2 -2
- package/dist/api/DocumentTypesApi.d.ts +3 -3
- package/dist/api/DocumentTypesApi.js +2 -2
- package/dist/api/DocumentsApi.d.ts +13 -13
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EmailsApi.d.ts +5 -5
- package/dist/api/EmailsApi.js +2 -2
- package/dist/api/EntryPartsApi.d.ts +13 -13
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.d.ts +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.d.ts +8 -8
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.d.ts +1 -1
- package/dist/api/FormsApi.d.ts +15 -15
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.d.ts +26 -26
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.d.ts +4 -4
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GobodoManagementApi.d.ts +18 -18
- package/dist/api/GobodoManagementApi.js +2 -2
- package/dist/api/GoogleApi.d.ts +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.d.ts +22 -22
- package/dist/api/GraphActionTypesApi.js +6 -6
- package/dist/api/GraphActionsApi.d.ts +10 -10
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.d.ts +32 -32
- package/dist/api/GraphObjectTypesApi.js +6 -6
- package/dist/api/GraphObjectsApi.d.ts +31 -31
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.d.ts +29 -29
- package/dist/api/GraphRelationshipTypesApi.js +6 -6
- package/dist/api/GraphRelationshipsApi.d.ts +15 -15
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.d.ts +19 -19
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.d.ts +8 -8
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.d.ts +23 -23
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +5 -5
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.d.ts +9 -9
- package/dist/api/ImagesApi.js +6 -6
- package/dist/api/InvitesApi.d.ts +6 -6
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LaunchTemplatesApi.d.ts +17 -17
- package/dist/api/LaunchTemplatesApi.js +2 -2
- package/dist/api/LikesApi.d.ts +14 -14
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.d.ts +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LinksApi.d.ts +10 -10
- package/dist/api/LinksApi.js +2 -2
- package/dist/api/LiveMeetingsApi.d.ts +3 -3
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.d.ts +20 -20
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/MenuItemsApi.d.ts +7 -7
- package/dist/api/MenuItemsApi.js +2 -2
- package/dist/api/MenusApi.d.ts +7 -7
- package/dist/api/MenusApi.js +2 -2
- package/dist/api/NotificationsApi.d.ts +15 -15
- package/dist/api/NotificationsApi.js +2 -2
- package/dist/api/PagesApi.d.ts +9 -9
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PasswordResetApi.d.ts +2 -2
- package/dist/api/PasswordResetApi.js +2 -2
- package/dist/api/PayPalAccountsApi.d.ts +3 -3
- package/dist/api/PhoneNumbersApi.d.ts +6 -6
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.d.ts +10 -10
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.d.ts +16 -16
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.d.ts +10 -10
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.d.ts +9 -9
- package/dist/api/RestApplicationsApi.js +2 -2
- package/dist/api/ScreensApi.d.ts +3 -3
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.d.ts +16 -16
- package/dist/api/SitesApi.js +2 -2
- package/dist/api/SocialGroupsApi.d.ts +20 -20
- package/dist/api/SocialGroupsApi.js +2 -2
- package/dist/api/SocialIntegrationApi.d.ts +5 -5
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/SquareAccountsApi.d.ts +4 -4
- package/dist/api/SquareAccountsApi.js +2 -2
- package/dist/api/StripeAccountsApi.d.ts +1038 -190
- package/dist/api/StripeAccountsApi.d.ts.map +1 -1
- package/dist/api/StripeAccountsApi.js +2006 -527
- package/dist/api/TagsApi.d.ts +1 -1
- package/dist/api/TemplatesApi.d.ts +10 -10
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.d.ts +9 -9
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TopicsApi.d.ts +9 -9
- package/dist/api/TopicsApi.js +2 -2
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.d.ts +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/URLMappingsApi.d.ts +9 -9
- package/dist/api/URLMappingsApi.js +2 -2
- package/dist/api/UserManagerAdministrationApi.d.ts +28 -28
- package/dist/api/UserManagerAdministrationApi.js +2 -2
- package/dist/api/UserTagsApi.d.ts +4 -4
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.d.ts +12 -12
- 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 +13 -13
- package/dist/api/VideosApi.js +6 -6
- package/dist/api/ViewsApi.d.ts +6 -6
- package/dist/api/ViewsApi.js +2 -2
- package/dist/api/WalletsApi.d.ts +18 -18
- package/dist/api/WalletsApi.js +2 -2
- package/dist/index.d.ts +18 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -0
- package/dist/model/AIPromptRequest.d.ts +1 -1
- package/dist/model/AIPromptRequest.js +2 -2
- package/dist/model/AIPromptResponse.d.ts +1 -1
- package/dist/model/AIPromptResponse.js +2 -2
- package/dist/model/APIClient.d.ts +28 -28
- package/dist/model/APIClient.d.ts.map +1 -1
- package/dist/model/APIClient.js +86 -86
- package/dist/model/Aba.d.ts +1 -1
- package/dist/model/Aba.js +2 -2
- package/dist/model/AbilityResponse.d.ts +1 -1
- package/dist/model/AbilityResponse.js +2 -2
- package/dist/model/Account.d.ts +1 -1
- package/dist/model/Account.js +2 -2
- 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 +1 -1
- package/dist/model/AchCreditTransfer.js +2 -2
- package/dist/model/AchDebit.d.ts +1 -1
- package/dist/model/AchDebit.js +2 -2
- package/dist/model/AcssDebit.d.ts +1 -1
- package/dist/model/AcssDebit.js +2 -2
- package/dist/model/AddInvoiceItem.d.ts +1 -1
- package/dist/model/AddInvoiceItem.js +2 -2
- package/dist/model/AddMembersInput.d.ts +1 -1
- package/dist/model/AddMembersInput.js +2 -2
- package/dist/model/AdditionalDocument.d.ts +1 -1
- package/dist/model/AdditionalDocument.js +2 -2
- package/dist/model/AdditionalTosAcceptances.d.ts +1 -1
- package/dist/model/AdditionalTosAcceptances.js +2 -2
- package/dist/model/Address.d.ts +1 -1
- package/dist/model/Address.js +2 -2
- package/dist/model/AddressKana.d.ts +1 -1
- package/dist/model/AddressKana.js +2 -2
- package/dist/model/AddressKanji.d.ts +1 -1
- package/dist/model/AddressKanji.js +2 -2
- package/dist/model/AddressResponse.d.ts +1 -1
- package/dist/model/AddressResponse.js +2 -2
- package/dist/model/Affirm.d.ts +28 -1
- package/dist/model/Affirm.d.ts.map +1 -1
- package/dist/model/Affirm.js +89 -2
- package/dist/model/AfterCompletion.d.ts +1 -1
- package/dist/model/AfterCompletion.js +2 -2
- package/dist/model/AfterExpiration.d.ts +1 -1
- package/dist/model/AfterExpiration.js +2 -2
- package/dist/model/AfterpayClearpay.d.ts +14 -5
- package/dist/model/AfterpayClearpay.d.ts.map +1 -1
- package/dist/model/AfterpayClearpay.js +44 -15
- package/dist/model/Alipay.d.ts +5 -23
- package/dist/model/Alipay.d.ts.map +1 -1
- package/dist/model/Alipay.js +15 -73
- package/dist/model/AlipayHandleRedirect.d.ts +1 -1
- package/dist/model/AlipayHandleRedirect.js +2 -2
- package/dist/model/Alternative.d.ts +1 -1
- package/dist/model/Alternative.js +2 -2
- package/dist/model/AmexExpressCheckout.d.ts +1 -1
- package/dist/model/AmexExpressCheckout.js +2 -2
- package/dist/model/AmountDetails.d.ts +1 -1
- package/dist/model/AmountDetails.js +2 -2
- package/dist/model/ApplePay.d.ts +1 -1
- package/dist/model/ApplePay.js +2 -2
- package/dist/model/Application.d.ts +1 -1
- package/dist/model/Application.js +2 -2
- package/dist/model/ApplicationFee.d.ts +19 -19
- package/dist/model/ApplicationFee.d.ts.map +1 -1
- package/dist/model/ApplicationFee.js +57 -57
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/AppliesTo.d.ts +1 -1
- package/dist/model/AppliesTo.js +2 -2
- package/dist/model/Article.d.ts +75 -75
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +211 -211
- package/dist/model/AttachmentData.d.ts +9 -9
- package/dist/model/AttachmentData.js +23 -23
- package/dist/model/AuBecsDebit.d.ts +1 -37
- package/dist/model/AuBecsDebit.d.ts.map +1 -1
- package/dist/model/AuBecsDebit.js +2 -118
- package/dist/model/Auth0ConfigInput.d.ts +1 -1
- package/dist/model/Auth0ConfigInput.js +2 -2
- package/dist/model/Auth0ConfigResponse.d.ts +1 -1
- package/dist/model/Auth0ConfigResponse.js +2 -2
- 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 +1 -1
- package/dist/model/AutomaticPaymentMethods.js +2 -2
- package/dist/model/AutomaticTax.d.ts +1 -1
- package/dist/model/AutomaticTax.js +2 -2
- package/dist/model/AvailablePlan.d.ts +1 -1
- package/dist/model/AvailablePlan.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/BacsDebit.d.ts +1 -37
- package/dist/model/BacsDebit.d.ts.map +1 -1
- package/dist/model/BacsDebit.js +2 -118
- package/dist/model/BacsDebitPayments.d.ts +1 -1
- package/dist/model/BacsDebitPayments.js +2 -2
- package/dist/model/Balance.d.ts +29 -29
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +102 -102
- 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 +1 -1
- package/dist/model/BalanceTransaction.js +2 -2
- package/dist/model/BalanceTransactionSource.d.ts +1 -1
- package/dist/model/BalanceTransactionSource.js +2 -2
- package/dist/model/Bancontact.d.ts +1 -1
- package/dist/model/Bancontact.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/BankTransfer.d.ts +1 -1
- package/dist/model/BankTransfer.js +2 -2
- package/dist/model/Base64AttachmentUpload.d.ts +1 -1
- package/dist/model/Base64AttachmentUpload.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/Base64Upload.d.ts +1 -1
- package/dist/model/Base64Upload.js +2 -2
- package/dist/model/Base64VideoUpload.d.ts +1 -1
- package/dist/model/Base64VideoUpload.js +2 -2
- package/dist/model/BillingDetails.d.ts +1 -1
- package/dist/model/BillingDetails.js +2 -2
- package/dist/model/BillingThresholds.d.ts +1 -1
- package/dist/model/BillingThresholds.js +2 -2
- package/dist/model/Blik.d.ts +1 -1
- package/dist/model/Blik.js +2 -2
- package/dist/model/Blocked.d.ts +1 -1
- package/dist/model/Blocked.js +2 -2
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/Boleto.d.ts +1 -10
- package/dist/model/Boleto.d.ts.map +1 -1
- package/dist/model/Boleto.js +2 -31
- package/dist/model/BoletoDisplayDetails.d.ts +1 -1
- package/dist/model/BoletoDisplayDetails.js +2 -2
- package/dist/model/Branding.d.ts +9 -9
- package/dist/model/Branding.js +28 -28
- package/dist/model/Breakdown.d.ts +1 -1
- package/dist/model/Breakdown.js +2 -2
- package/dist/model/BusinessProfile.d.ts +1 -1
- package/dist/model/BusinessProfile.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +1 -1
- package/dist/model/CacheInvalidation.js +2 -2
- package/dist/model/CancellationDetails.d.ts +1 -1
- package/dist/model/CancellationDetails.js +2 -2
- package/dist/model/Capabilities.d.ts +1 -1
- package/dist/model/Capabilities.js +2 -2
- package/dist/model/Card.d.ts +1 -1
- package/dist/model/Card.js +2 -2
- package/dist/model/CardAwaitNotification.d.ts +1 -1
- package/dist/model/CardAwaitNotification.js +2 -2
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/CardIssuing.d.ts +1 -1
- package/dist/model/CardIssuing.js +2 -2
- package/dist/model/CardPayments.d.ts +1 -1
- package/dist/model/CardPayments.js +2 -2
- package/dist/model/CardPresent.d.ts +6 -177
- package/dist/model/CardPresent.d.ts.map +1 -1
- package/dist/model/CardPresent.js +18 -547
- package/dist/model/CashBalance.d.ts +1 -1
- package/dist/model/CashBalance.js +2 -2
- package/dist/model/Cashapp.d.ts +1 -19
- package/dist/model/Cashapp.d.ts.map +1 -1
- package/dist/model/Cashapp.js +2 -60
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +1 -1
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +2 -2
- package/dist/model/Charge.d.ts +34 -34
- package/dist/model/Charge.d.ts.map +1 -1
- package/dist/model/Charge.js +107 -107
- package/dist/model/CheckoutSessionInput.d.ts +1 -1
- package/dist/model/CheckoutSessionInput.js +2 -2
- package/dist/model/CheckoutSessionResponse.d.ts +1 -1
- package/dist/model/CheckoutSessionResponse.js +2 -2
- package/dist/model/Checks.d.ts +1 -1
- package/dist/model/Checks.js +2 -2
- package/dist/model/ClerkConfigInput.d.ts +1 -1
- package/dist/model/ClerkConfigInput.js +2 -2
- package/dist/model/ClerkConfigResponse.d.ts +1 -1
- package/dist/model/ClerkConfigResponse.js +2 -2
- package/dist/model/CognitoConfigInput.d.ts +1 -1
- package/dist/model/CognitoConfigInput.js +2 -2
- package/dist/model/CognitoConfigResponse.d.ts +1 -1
- package/dist/model/CognitoConfigResponse.js +2 -2
- package/dist/model/CommentInput.d.ts +1 -1
- package/dist/model/CommentInput.js +2 -2
- package/dist/model/CommentResponse.d.ts +1 -1
- package/dist/model/CommentResponse.js +2 -2
- package/dist/model/Company.d.ts +1 -1
- package/dist/model/Company.js +2 -2
- package/dist/model/CompletedSessions.d.ts +1 -1
- package/dist/model/CompletedSessions.js +2 -2
- package/dist/model/Computed.d.ts +1 -1
- package/dist/model/Computed.js +2 -2
- package/dist/model/Consent.d.ts +1 -1
- package/dist/model/Consent.js +2 -2
- package/dist/model/ConsentCollection.d.ts +1 -1
- package/dist/model/ConsentCollection.js +2 -2
- 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 +1 -1
- package/dist/model/Controller.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/Coupon.d.ts +1 -1
- package/dist/model/Coupon.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateCircleAccountInput.d.ts +1 -1
- package/dist/model/CreateCircleAccountInput.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreatePayPalAccountInput.d.ts +1 -1
- package/dist/model/CreatePayPalAccountInput.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 +1 -1
- package/dist/model/CreditedItems.js +2 -2
- package/dist/model/CurrencyConversion.d.ts +1 -1
- package/dist/model/CurrencyConversion.js +2 -2
- 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 +1 -1
- package/dist/model/CurrencyOption.js +2 -2
- 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 +1 -1
- package/dist/model/CurrentPhase.js +2 -2
- package/dist/model/CustomField.d.ts +1 -1
- package/dist/model/CustomField.js +2 -2
- package/dist/model/CustomText.d.ts +1 -1
- package/dist/model/CustomText.js +2 -2
- package/dist/model/CustomUnitAmount.d.ts +1 -1
- package/dist/model/CustomUnitAmount.js +2 -2
- package/dist/model/Customer.d.ts +10 -10
- package/dist/model/Customer.d.ts.map +1 -1
- package/dist/model/Customer.js +27 -27
- package/dist/model/CustomerAcceptance.d.ts +1 -1
- package/dist/model/CustomerAcceptance.js +2 -2
- package/dist/model/CustomerBalance.d.ts +1 -1
- package/dist/model/CustomerBalance.js +2 -2
- package/dist/model/CustomerDetails.d.ts +1 -1
- package/dist/model/CustomerDetails.js +2 -2
- package/dist/model/CustomerNotification.d.ts +1 -1
- package/dist/model/CustomerNotification.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/CustomerTaxId.d.ts +1 -1
- package/dist/model/CustomerTaxId.js +2 -2
- package/dist/model/Dashboard.d.ts +1 -1
- package/dist/model/Dashboard.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +51 -51
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +159 -159
- 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/DataSync.d.ts +338 -0
- package/dist/model/DataSync.d.ts.map +1 -0
- package/dist/model/DataSync.js +1070 -0
- package/dist/model/DataSyncInput.d.ts +138 -0
- package/dist/model/DataSyncInput.d.ts.map +1 -0
- package/dist/model/DataSyncInput.js +422 -0
- package/dist/model/DataSyncResponse.d.ts +158 -0
- package/dist/model/DataSyncResponse.d.ts.map +1 -0
- package/dist/model/DataSyncResponse.js +488 -0
- package/dist/model/DeclineOn.d.ts +1 -1
- package/dist/model/DeclineOn.js +2 -2
- package/dist/model/DefaultSettings.d.ts +10 -10
- package/dist/model/DefaultSettings.d.ts.map +1 -1
- package/dist/model/DefaultSettings.js +30 -30
- package/dist/model/DeliveryEstimate.d.ts +1 -1
- package/dist/model/DeliveryEstimate.js +2 -2
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Discount.d.ts +10 -10
- package/dist/model/Discount.d.ts.map +1 -1
- package/dist/model/Discount.js +30 -30
- package/dist/model/DiscountAmount.d.ts +1 -1
- package/dist/model/DiscountAmount.js +2 -2
- package/dist/model/DisplayBankTransferInstructions.d.ts +1 -1
- package/dist/model/DisplayBankTransferInstructions.js +2 -2
- package/dist/model/DisplayDetails.d.ts +1 -1
- package/dist/model/DisplayDetails.js +2 -2
- package/dist/model/Dob.d.ts +1 -1
- package/dist/model/Dob.js +2 -2
- package/dist/model/Document.d.ts +80 -80
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +225 -225
- package/dist/model/DocumentPart.d.ts +69 -69
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +194 -194
- package/dist/model/DocumentPartType.d.ts +33 -33
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +96 -96
- package/dist/model/DocumentType.d.ts +53 -53
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +141 -141
- package/dist/model/DomainCreateInput.d.ts +1 -1
- package/dist/model/DomainCreateInput.js +2 -2
- package/dist/model/DomainCreateResponse.d.ts +1 -1
- package/dist/model/DomainCreateResponse.js +2 -2
- 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 +1 -1
- package/dist/model/Dropdown.js +2 -2
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/EmailSent.d.ts +1 -1
- package/dist/model/EmailSent.js +2 -2
- package/dist/model/EndBehavior.d.ts +1 -1
- package/dist/model/EndBehavior.js +2 -2
- package/dist/model/Eps.d.ts +5 -14
- package/dist/model/Eps.d.ts.map +1 -1
- package/dist/model/Eps.js +15 -44
- package/dist/model/Errors.d.ts +1 -1
- package/dist/model/Errors.js +2 -2
- package/dist/model/EuBankTransfer.d.ts +1 -1
- package/dist/model/EuBankTransfer.js +2 -2
- package/dist/model/ExtendedAuthorization.d.ts +1 -1
- package/dist/model/ExtendedAuthorization.js +2 -2
- package/dist/model/ExternalAccount.d.ts +1 -1
- package/dist/model/ExternalAccount.js +2 -2
- package/dist/model/ExternalAccountCollection.d.ts +1 -1
- package/dist/model/ExternalAccountCollection.js +2 -2
- package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +1 -1
- package/dist/model/ExternalAccountCollectionPageTypeToken.js +2 -2
- package/dist/model/Familymart.d.ts +1 -1
- package/dist/model/Familymart.js +2 -2
- package/dist/model/Feature.d.ts +1 -1
- package/dist/model/Feature.js +2 -2
- package/dist/model/FeeDetail.d.ts +1 -1
- package/dist/model/FeeDetail.js +2 -2
- package/dist/model/FeeRefund.d.ts +10 -10
- package/dist/model/FeeRefund.d.ts.map +1 -1
- package/dist/model/FeeRefund.js +30 -30
- package/dist/model/FeeRefundCollection.d.ts +1 -1
- package/dist/model/FeeRefundCollection.js +2 -2
- package/dist/model/Field.d.ts +65 -0
- package/dist/model/Field.d.ts.map +1 -0
- package/dist/model/Field.js +187 -0
- package/dist/model/FieldMapping.d.ts +10 -10
- package/dist/model/FieldMapping.d.ts.map +1 -1
- package/dist/model/FieldMapping.js +29 -29
- package/dist/model/Fields.d.ts +102 -60
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +295 -159
- package/dist/model/File.d.ts +1 -1
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.d.ts +38 -38
- package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
- package/dist/model/FileAttachmentUploadObject.js +106 -106
- package/dist/model/FileLink.d.ts +1 -1
- package/dist/model/FileLink.js +2 -2
- package/dist/model/FileLinkCollection.d.ts +1 -1
- package/dist/model/FileLinkCollection.js +2 -2
- 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 +1 -1
- package/dist/model/FinancialAddress.js +2 -2
- package/dist/model/FinancialConnections.d.ts +1 -1
- package/dist/model/FinancialConnections.js +2 -2
- package/dist/model/FirebaseConfigInput.d.ts +1 -1
- package/dist/model/FirebaseConfigInput.js +2 -2
- package/dist/model/FirebaseConfigResponse.d.ts +1 -1
- package/dist/model/FirebaseConfigResponse.js +2 -2
- package/dist/model/FixedAmount.d.ts +1 -1
- package/dist/model/FixedAmount.js +2 -2
- package/dist/model/Form.d.ts +24 -24
- package/dist/model/Form.d.ts.map +1 -1
- package/dist/model/Form.js +87 -87
- package/dist/model/FormSection.d.ts +11 -11
- package/dist/model/FormSection.d.ts.map +1 -1
- package/dist/model/FormSection.js +42 -42
- package/dist/model/FormSubmission.d.ts +10 -10
- package/dist/model/FormSubmission.d.ts.map +1 -1
- package/dist/model/FormSubmission.js +29 -29
- package/dist/model/Fpx.d.ts +5 -23
- package/dist/model/Fpx.d.ts.map +1 -1
- package/dist/model/Fpx.js +15 -73
- package/dist/model/FraudDetails.d.ts +1 -1
- package/dist/model/FraudDetails.js +2 -2
- package/dist/model/FromInvoice.d.ts +1 -1
- package/dist/model/FromInvoice.js +2 -2
- package/dist/model/FromQuote.d.ts +1 -1
- package/dist/model/FromQuote.js +2 -2
- 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 +1 -1
- package/dist/model/FutureRequirements.js +2 -2
- package/dist/model/GeneratedFrom.d.ts +10 -10
- package/dist/model/GeneratedFrom.d.ts.map +1 -1
- package/dist/model/GeneratedFrom.js +30 -30
- 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 +5 -32
- package/dist/model/Giropay.d.ts.map +1 -1
- package/dist/model/Giropay.js +15 -102
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/GooglePay.d.ts +1 -1
- package/dist/model/GooglePay.js +2 -2
- package/dist/model/Grabpay.d.ts +5 -5
- package/dist/model/Grabpay.d.ts.map +1 -1
- package/dist/model/Grabpay.js +15 -15
- package/dist/model/Graph.d.ts +41 -41
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +115 -115
- package/dist/model/GraphAction.d.ts +24 -24
- package/dist/model/GraphAction.d.ts.map +1 -1
- package/dist/model/GraphAction.js +56 -56
- 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 +4 -3
- package/dist/model/GraphActionTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphActionTypeResponse.js +8 -6
- 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 +10 -10
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts.map +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +25 -25
- package/dist/model/GraphObject.d.ts +50 -50
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +134 -134
- 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 +72 -72
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +202 -202
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +4 -3
- package/dist/model/GraphObjectTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeResponse.js +8 -6
- package/dist/model/GraphObjectTypeSchema.d.ts +59 -68
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +158 -189
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.d.ts +20 -20
- package/dist/model/GraphRelationship.d.ts.map +1 -1
- package/dist/model/GraphRelationship.js +51 -51
- 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 +62 -62
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +175 -175
- package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeInput.js +2 -2
- package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -3
- package/dist/model/GraphRelationshipTypeResponse.d.ts.map +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +8 -6
- 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 +1 -1
- package/dist/model/HostedConfirmation.js +2 -2
- package/dist/model/Iban.d.ts +1 -1
- package/dist/model/Iban.js +2 -2
- package/dist/model/Ideal.d.ts +10 -10
- package/dist/model/Ideal.d.ts.map +1 -1
- package/dist/model/Ideal.js +30 -30
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/IncrementalAuthorization.d.ts +1 -1
- package/dist/model/IncrementalAuthorization.js +2 -2
- package/dist/model/IndexFilter.d.ts +1 -1
- package/dist/model/IndexFilter.js +2 -2
- package/dist/model/InputPart.d.ts +24 -24
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +63 -63
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/Installments.d.ts +1 -1
- package/dist/model/Installments.js +2 -2
- package/dist/model/InteracPresent.d.ts +1 -154
- package/dist/model/InteracPresent.d.ts.map +1 -1
- package/dist/model/InteracPresent.js +2 -489
- package/dist/model/InviteMembersInput.d.ts +1 -1
- package/dist/model/InviteMembersInput.js +2 -2
- package/dist/model/Invoice.d.ts +28 -28
- package/dist/model/Invoice.d.ts.map +1 -1
- package/dist/model/Invoice.js +92 -92
- package/dist/model/InvoiceCreation.d.ts +1 -1
- package/dist/model/InvoiceCreation.js +2 -2
- package/dist/model/InvoiceData.d.ts +1 -1
- package/dist/model/InvoiceData.js +2 -2
- package/dist/model/InvoiceItem.d.ts +10 -10
- package/dist/model/InvoiceItem.d.ts.map +1 -1
- package/dist/model/InvoiceItem.js +32 -32
- package/dist/model/InvoiceLineItem.d.ts +10 -10
- package/dist/model/InvoiceLineItem.d.ts.map +1 -1
- package/dist/model/InvoiceLineItem.js +32 -32
- package/dist/model/InvoiceLineItemCollection.d.ts +1 -1
- package/dist/model/InvoiceLineItemCollection.js +2 -2
- package/dist/model/InvoiceSettings.d.ts +1 -1
- package/dist/model/InvoiceSettings.js +2 -2
- package/dist/model/IpAddressLocation.d.ts +1 -1
- package/dist/model/IpAddressLocation.js +2 -2
- package/dist/model/Item.d.ts +1 -1
- package/dist/model/Item.js +2 -2
- package/dist/model/ItemReason.d.ts +1 -1
- package/dist/model/ItemReason.js +2 -2
- package/dist/model/JsonArray.d.ts +1 -1
- package/dist/model/JsonArray.js +2 -2
- package/dist/model/JsonNull.d.ts +80 -80
- package/dist/model/JsonNull.d.ts.map +1 -1
- package/dist/model/JsonNull.js +213 -213
- package/dist/model/JsonObject.d.ts +1 -1
- package/dist/model/JsonObject.js +2 -2
- package/dist/model/JsonPrimitive.d.ts +63 -63
- package/dist/model/JsonPrimitive.d.ts.map +1 -1
- package/dist/model/JsonPrimitive.js +173 -173
- 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/KeycloakConfigInput.d.ts +1 -1
- package/dist/model/KeycloakConfigInput.js +2 -2
- package/dist/model/KeycloakConfigResponse.d.ts +1 -1
- package/dist/model/KeycloakConfigResponse.js +2 -2
- package/dist/model/Klarna.d.ts +1 -19
- package/dist/model/Klarna.d.ts.map +1 -1
- package/dist/model/Klarna.js +2 -60
- package/dist/model/Konbini.d.ts +1 -1
- package/dist/model/Konbini.js +2 -2
- package/dist/model/KonbiniDisplayDetails.d.ts +1 -1
- package/dist/model/KonbiniDisplayDetails.js +2 -2
- package/dist/model/Label.d.ts +1 -1
- package/dist/model/Label.js +2 -2
- package/dist/model/LaunchTemplateExecutionRequest.d.ts +1 -1
- package/dist/model/LaunchTemplateExecutionRequest.js +2 -2
- package/dist/model/LaunchTemplateExecutionResponse.d.ts +1 -1
- package/dist/model/LaunchTemplateExecutionResponse.js +2 -2
- package/dist/model/LaunchTemplateInput.d.ts +1 -1
- package/dist/model/LaunchTemplateInput.js +2 -2
- package/dist/model/LaunchTemplateObject.d.ts +28 -28
- package/dist/model/LaunchTemplateObject.d.ts.map +1 -1
- package/dist/model/LaunchTemplateObject.js +75 -75
- package/dist/model/LaunchTemplateResponse.d.ts +1 -1
- package/dist/model/LaunchTemplateResponse.js +2 -2
- package/dist/model/Lawson.d.ts +1 -1
- package/dist/model/Lawson.js +2 -2
- package/dist/model/Level3.d.ts +1 -1
- package/dist/model/Level3.js +2 -2
- package/dist/model/LineItem.d.ts +1 -1
- package/dist/model/LineItem.js +2 -2
- package/dist/model/LineItemCollection.d.ts +1 -1
- package/dist/model/LineItemCollection.js +2 -2
- package/dist/model/LineItemInput.d.ts +1 -1
- package/dist/model/LineItemInput.js +2 -2
- package/dist/model/Link.d.ts +1 -10
- package/dist/model/Link.d.ts.map +1 -1
- package/dist/model/Link.js +2 -31
- package/dist/model/LinkInput.d.ts +1 -1
- package/dist/model/LinkInput.js +2 -2
- package/dist/model/LinkResponse.d.ts +1 -1
- package/dist/model/LinkResponse.js +2 -2
- package/dist/model/LiveStreamInfo.d.ts +10 -10
- package/dist/model/LiveStreamInfo.d.ts.map +1 -1
- package/dist/model/LiveStreamInfo.js +33 -33
- package/dist/model/Location.d.ts +1 -1
- package/dist/model/Location.js +2 -2
- package/dist/model/MainPhoto.d.ts +1 -1
- package/dist/model/MainPhoto.js +2 -2
- package/dist/model/Mandate.d.ts +1 -1
- package/dist/model/Mandate.js +2 -2
- package/dist/model/MandateOptions.d.ts +1 -1
- package/dist/model/MandateOptions.js +2 -2
- package/dist/model/Masterpass.d.ts +1 -1
- package/dist/model/Masterpass.js +2 -2
- package/dist/model/Maximum.d.ts +1 -1
- package/dist/model/Maximum.js +2 -2
- package/dist/model/MediaType.d.ts +9 -9
- package/dist/model/MediaType.d.ts.map +1 -1
- package/dist/model/MediaType.js +23 -23
- 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 +23 -23
- package/dist/model/MeetingInfo.d.ts.map +1 -1
- package/dist/model/MeetingInfo.js +60 -60
- package/dist/model/Member.d.ts +32 -32
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +94 -94
- package/dist/model/MemberGroupCategory.d.ts +18 -18
- package/dist/model/MemberGroupCategory.d.ts.map +1 -1
- package/dist/model/MemberGroupCategory.js +50 -50
- 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/MemberManagerSecretInput.d.ts +1 -1
- package/dist/model/MemberManagerSecretInput.js +2 -2
- package/dist/model/MemberManagerSecretResponse.d.ts +1 -1
- package/dist/model/MemberManagerSecretResponse.js +2 -2
- package/dist/model/MenuInput.d.ts +1 -1
- package/dist/model/MenuInput.js +2 -2
- package/dist/model/MenuItemInput.d.ts +1 -1
- package/dist/model/MenuItemInput.js +2 -2
- package/dist/model/MenuItemResponse.d.ts +1 -1
- package/dist/model/MenuItemResponse.js +2 -2
- package/dist/model/MenuResponse.d.ts +1 -1
- package/dist/model/MenuResponse.js +2 -2
- package/dist/model/Message.d.ts +1 -1
- package/dist/model/Message.js +2 -2
- package/dist/model/MessageGroup.d.ts +1 -1
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/Minimum.d.ts +1 -1
- package/dist/model/Minimum.js +2 -2
- package/dist/model/Ministop.d.ts +1 -1
- package/dist/model/Ministop.js +2 -2
- package/dist/model/MonthlyEstimatedRevenue.d.ts +1 -1
- package/dist/model/MonthlyEstimatedRevenue.js +2 -2
- package/dist/model/MultiUse.d.ts +1 -1
- package/dist/model/MultiUse.js +2 -2
- package/dist/model/Multibanco.d.ts +1 -1
- package/dist/model/Multibanco.js +2 -2
- package/dist/model/Multicapture.d.ts +1 -1
- package/dist/model/Multicapture.js +2 -2
- 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/N8nSettings.d.ts +1 -1
- package/dist/model/N8nSettings.js +2 -2
- package/dist/model/NetworkToken.d.ts +1 -1
- package/dist/model/NetworkToken.js +2 -2
- package/dist/model/Networks.d.ts +1 -1
- package/dist/model/Networks.js +2 -2
- package/dist/model/NextAction.d.ts +33 -6
- package/dist/model/NextAction.d.ts.map +1 -1
- package/dist/model/NextAction.js +107 -18
- 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 +1 -1
- package/dist/model/Numeric.js +2 -2
- package/dist/model/ObjectSettings.d.ts +1 -1
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.d.ts +68 -59
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +189 -158
- package/dist/model/Offline.d.ts +1 -1
- package/dist/model/Offline.js +2 -2
- package/dist/model/Online.d.ts +1 -1
- package/dist/model/Online.js +2 -2
- package/dist/model/Option.d.ts +1 -1
- package/dist/model/Option.js +2 -2
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Outcome.d.ts +1 -1
- package/dist/model/Outcome.js +2 -2
- package/dist/model/Overcapture.d.ts +1 -1
- package/dist/model/Overcapture.js +2 -2
- package/dist/model/OwnershipDeclaration.d.ts +1 -1
- package/dist/model/OwnershipDeclaration.js +2 -2
- package/dist/model/Oxxo.d.ts +14 -5
- package/dist/model/Oxxo.d.ts.map +1 -1
- package/dist/model/Oxxo.js +40 -15
- package/dist/model/OxxoDisplayDetails.d.ts +1 -1
- package/dist/model/OxxoDisplayDetails.js +2 -2
- package/dist/model/P24.d.ts +5 -23
- package/dist/model/P24.d.ts.map +1 -1
- package/dist/model/P24.js +15 -73
- package/dist/model/PackageDimensions.d.ts +1 -1
- package/dist/model/PackageDimensions.js +2 -2
- package/dist/model/Page.d.ts +41 -41
- package/dist/model/Page.d.ts.map +1 -1
- package/dist/model/Page.js +117 -117
- package/dist/model/PageSchema.d.ts +19 -19
- package/dist/model/PageSchema.d.ts.map +1 -1
- package/dist/model/PageSchema.js +54 -54
- package/dist/model/PageableObject.d.ts +19 -19
- package/dist/model/PageableObject.d.ts.map +1 -1
- package/dist/model/PageableObject.js +48 -48
- 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 +1 -1
- package/dist/model/PauseCollection.js +2 -2
- package/dist/model/PaymentAccountObject.d.ts +10 -10
- package/dist/model/PaymentAccountObject.d.ts.map +1 -1
- package/dist/model/PaymentAccountObject.js +25 -25
- package/dist/model/PaymentIntent.d.ts +24 -24
- package/dist/model/PaymentIntent.d.ts.map +1 -1
- package/dist/model/PaymentIntent.js +77 -77
- package/dist/model/PaymentIntentData.d.ts +1 -1
- package/dist/model/PaymentIntentData.js +2 -2
- 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 +1 -1
- package/dist/model/PaymentLink.js +2 -2
- package/dist/model/PaymentMethod.d.ts +1 -1
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodConfigurationDetails.d.ts +1 -1
- package/dist/model/PaymentMethodConfigurationDetails.js +2 -2
- package/dist/model/PaymentMethodDetails.d.ts +1 -226
- package/dist/model/PaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/PaymentMethodDetails.js +2 -777
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodOptions.d.ts +1 -1
- package/dist/model/PaymentMethodOptions.js +2 -2
- 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 +1 -1
- package/dist/model/PaymentSettings.js +2 -2
- package/dist/model/PaymentSource.d.ts +1 -1
- package/dist/model/PaymentSource.js +2 -2
- package/dist/model/PaymentSourceCollection.d.ts +1 -1
- package/dist/model/PaymentSourceCollection.js +2 -2
- package/dist/model/Payments.d.ts +1 -1
- package/dist/model/Payments.js +2 -2
- package/dist/model/Paynow.d.ts +5 -5
- package/dist/model/Paynow.d.ts.map +1 -1
- package/dist/model/Paynow.js +15 -15
- package/dist/model/PaynowDisplayQrCode.d.ts +1 -1
- package/dist/model/PaynowDisplayQrCode.js +2 -2
- package/dist/model/Payout.d.ts +23 -23
- package/dist/model/Payout.d.ts.map +1 -1
- package/dist/model/Payout.js +64 -64
- 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 +1 -1
- package/dist/model/Payouts.js +2 -2
- package/dist/model/Paypal.d.ts +1 -46
- package/dist/model/Paypal.d.ts.map +1 -1
- package/dist/model/Paypal.js +2 -149
- package/dist/model/Pdf.d.ts +1 -1
- package/dist/model/Pdf.js +2 -2
- package/dist/model/PendingInvoiceItemInterval.d.ts +1 -1
- package/dist/model/PendingInvoiceItemInterval.js +2 -2
- package/dist/model/PendingUpdate.d.ts +1 -1
- package/dist/model/PendingUpdate.js +2 -2
- package/dist/model/Period.d.ts +1 -1
- package/dist/model/Period.js +2 -2
- package/dist/model/Person.d.ts +1 -1
- package/dist/model/Person.js +2 -2
- package/dist/model/Phase.d.ts +11 -11
- package/dist/model/Phase.d.ts.map +1 -1
- package/dist/model/Phase.js +32 -32
- package/dist/model/PhoneNumber.d.ts +27 -27
- package/dist/model/PhoneNumber.d.ts.map +1 -1
- package/dist/model/PhoneNumber.js +86 -86
- package/dist/model/PhoneNumberCollection.d.ts +1 -1
- package/dist/model/PhoneNumberCollection.js +2 -2
- package/dist/model/Pix.d.ts +23 -5
- package/dist/model/Pix.d.ts.map +1 -1
- package/dist/model/Pix.js +65 -15
- package/dist/model/PixDisplayQrCode.d.ts +1 -1
- package/dist/model/PixDisplayQrCode.js +2 -2
- package/dist/model/Plan.d.ts +1 -1
- package/dist/model/Plan.js +2 -2
- package/dist/model/PostInput.d.ts +1 -1
- package/dist/model/PostInput.js +2 -2
- package/dist/model/PostResponse.d.ts +1 -1
- package/dist/model/PostResponse.js +2 -2
- package/dist/model/Price.d.ts +1 -1
- package/dist/model/Price.js +2 -2
- package/dist/model/PriceInput.d.ts +94 -0
- package/dist/model/PriceInput.d.ts.map +1 -0
- package/dist/model/PriceInput.js +270 -0
- package/dist/model/PriceResponse.d.ts +57 -0
- package/dist/model/PriceResponse.d.ts.map +1 -0
- package/dist/model/PriceResponse.js +158 -0
- package/dist/model/PrivateMessage.d.ts +41 -41
- package/dist/model/PrivateMessage.d.ts.map +1 -1
- package/dist/model/PrivateMessage.js +114 -114
- package/dist/model/PrivateMessageConversation.d.ts +56 -56
- package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
- package/dist/model/PrivateMessageConversation.js +162 -162
- package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Processing.d.ts +1 -1
- package/dist/model/Processing.js +2 -2
- package/dist/model/Product.d.ts +10 -10
- package/dist/model/Product.d.ts.map +1 -1
- package/dist/model/Product.js +30 -30
- package/dist/model/ProductCategory.d.ts +112 -0
- package/dist/model/ProductCategory.d.ts.map +1 -0
- package/dist/model/ProductCategory.js +318 -0
- package/dist/model/ProductCategoryInput.d.ts +74 -0
- package/dist/model/ProductCategoryInput.d.ts.map +1 -0
- package/dist/model/ProductCategoryInput.js +210 -0
- package/dist/model/ProductCategoryResponse.d.ts +57 -0
- package/dist/model/ProductCategoryResponse.d.ts.map +1 -0
- package/dist/model/ProductCategoryResponse.js +158 -0
- package/dist/model/ProductInput.d.ts +92 -0
- package/dist/model/ProductInput.d.ts.map +1 -0
- package/dist/model/ProductInput.js +268 -0
- package/dist/model/ProductResponse.d.ts +57 -0
- package/dist/model/ProductResponse.d.ts.map +1 -0
- package/dist/model/ProductResponse.js +158 -0
- package/dist/model/Profile.d.ts +10 -10
- package/dist/model/Profile.d.ts.map +1 -1
- package/dist/model/Profile.js +30 -30
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PromotionCode.d.ts +1 -1
- package/dist/model/PromotionCode.js +2 -2
- package/dist/model/Promptpay.d.ts +5 -5
- package/dist/model/Promptpay.d.ts.map +1 -1
- package/dist/model/Promptpay.js +15 -15
- package/dist/model/PromptpayDisplayQrCode.d.ts +1 -1
- package/dist/model/PromptpayDisplayQrCode.js +2 -2
- package/dist/model/ProrationDetails.d.ts +1 -1
- package/dist/model/ProrationDetails.js +2 -2
- 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 +1 -1
- package/dist/model/QrCode.js +2 -2
- package/dist/model/Quote.d.ts +28 -28
- package/dist/model/Quote.d.ts.map +1 -1
- package/dist/model/Quote.js +108 -108
- package/dist/model/RadarOptions.d.ts +1 -1
- package/dist/model/RadarOptions.js +2 -2
- package/dist/model/Receipt.d.ts +1 -1
- package/dist/model/Receipt.js +2 -2
- package/dist/model/Recovery.d.ts +1 -1
- package/dist/model/Recovery.js +2 -2
- package/dist/model/Recurring.d.ts +1 -1
- package/dist/model/Recurring.js +2 -2
- package/dist/model/RecurringInput.d.ts +71 -0
- package/dist/model/RecurringInput.d.ts.map +1 -0
- package/dist/model/RecurringInput.js +209 -0
- package/dist/model/Redirect.d.ts +1 -1
- package/dist/model/Redirect.js +2 -2
- package/dist/model/RedirectToUrl.d.ts +1 -1
- package/dist/model/RedirectToUrl.js +2 -2
- package/dist/model/Refund.d.ts +34 -34
- package/dist/model/Refund.d.ts.map +1 -1
- package/dist/model/Refund.js +99 -99
- package/dist/model/RefundCollection.d.ts +1 -1
- package/dist/model/RefundCollection.js +2 -2
- package/dist/model/Relationship.d.ts +1 -1
- package/dist/model/Relationship.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +19 -19
- package/dist/model/RelationshipMapping.d.ts.map +1 -1
- package/dist/model/RelationshipMapping.js +55 -55
- package/dist/model/Rendering.d.ts +1 -1
- package/dist/model/Rendering.js +2 -2
- package/dist/model/RenderingOptions.d.ts +1 -1
- package/dist/model/RenderingOptions.js +2 -2
- package/dist/model/RequestOptions.d.ts +1 -1
- package/dist/model/RequestOptions.js +2 -2
- package/dist/model/RequestOptionsProxyCredential.d.ts +1 -1
- package/dist/model/RequestOptionsProxyCredential.js +2 -2
- package/dist/model/Requirements.d.ts +1 -1
- package/dist/model/Requirements.js +2 -2
- 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 +1 -1
- package/dist/model/Restrictions.js +2 -2
- package/dist/model/Review.d.ts +1 -1
- package/dist/model/Review.js +2 -2
- package/dist/model/RevolutPay.d.ts +1 -1
- package/dist/model/RevolutPay.js +2 -2
- package/dist/model/Rule.d.ts +1 -1
- package/dist/model/Rule.js +2 -2
- package/dist/model/SamsungPay.d.ts +1 -1
- package/dist/model/SamsungPay.js +2 -2
- package/dist/model/Schedule.d.ts +1 -1
- package/dist/model/Schedule.js +2 -2
- package/dist/model/Schema.d.ts +47 -0
- package/dist/model/Schema.d.ts.map +1 -0
- package/dist/model/Schema.js +158 -0
- package/dist/model/ScreenSchema.d.ts +59 -59
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +165 -165
- package/dist/model/Seicomart.d.ts +1 -1
- package/dist/model/Seicomart.js +2 -2
- package/dist/model/SellerProtection.d.ts +1 -1
- package/dist/model/SellerProtection.js +2 -2
- package/dist/model/SepaCreditTransfer.d.ts +1 -1
- package/dist/model/SepaCreditTransfer.js +2 -2
- package/dist/model/SepaDebit.d.ts +1 -1
- package/dist/model/SepaDebit.js +2 -2
- package/dist/model/SepaDebitPayments.d.ts +1 -1
- package/dist/model/SepaDebitPayments.js +2 -2
- package/dist/model/Session.d.ts +1 -1
- package/dist/model/Session.js +2 -2
- package/dist/model/Settings.d.ts +1 -1
- package/dist/model/Settings.js +2 -2
- package/dist/model/SetupAttempt.d.ts +10 -10
- package/dist/model/SetupAttempt.d.ts.map +1 -1
- package/dist/model/SetupAttempt.js +32 -32
- package/dist/model/SetupIntent.d.ts +1 -1
- package/dist/model/SetupIntent.js +2 -2
- package/dist/model/ShippingAddress.d.ts +1 -1
- package/dist/model/ShippingAddress.js +2 -2
- package/dist/model/ShippingAddressCollection.d.ts +1 -1
- package/dist/model/ShippingAddressCollection.js +2 -2
- package/dist/model/ShippingCost.d.ts +1 -1
- package/dist/model/ShippingCost.js +2 -2
- package/dist/model/ShippingDetails.d.ts +1 -1
- package/dist/model/ShippingDetails.js +2 -2
- package/dist/model/ShippingOption.d.ts +1 -1
- package/dist/model/ShippingOption.js +2 -2
- package/dist/model/ShippingRate.d.ts +1 -1
- package/dist/model/ShippingRate.js +2 -2
- package/dist/model/SimulcastInfo.d.ts +12 -12
- package/dist/model/SimulcastInfo.d.ts.map +1 -1
- package/dist/model/SimulcastInfo.js +36 -36
- package/dist/model/SingleUse.d.ts +1 -1
- package/dist/model/SingleUse.js +2 -2
- 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 +102 -60
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +295 -159
- package/dist/model/SkinFieldResponse.d.ts +33 -3
- package/dist/model/SkinFieldResponse.d.ts.map +1 -1
- package/dist/model/SkinFieldResponse.js +112 -6
- package/dist/model/SocialGroup.d.ts +52 -52
- package/dist/model/SocialGroup.d.ts.map +1 -1
- package/dist/model/SocialGroup.js +146 -146
- 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 +10 -19
- package/dist/model/Sofort.d.ts.map +1 -1
- package/dist/model/Sofort.js +30 -59
- package/dist/model/SortCode.d.ts +1 -1
- package/dist/model/SortCode.js +2 -2
- package/dist/model/SortObject.d.ts +1 -1
- package/dist/model/SortObject.js +2 -2
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/Spei.d.ts +1 -1
- package/dist/model/Spei.js +2 -2
- package/dist/model/StatusDetails.d.ts +1 -1
- package/dist/model/StatusDetails.js +2 -2
- package/dist/model/StatusTransitions.d.ts +1 -1
- package/dist/model/StatusTransitions.js +2 -2
- package/dist/model/Store.d.ts +1 -1
- package/dist/model/Store.js +2 -2
- package/dist/model/Stores.d.ts +1 -1
- package/dist/model/Stores.js +2 -2
- package/dist/model/StripeAccount.d.ts +1 -1
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCheckoutSession.d.ts +42 -42
- package/dist/model/StripeCheckoutSession.d.ts.map +1 -1
- package/dist/model/StripeCheckoutSession.js +113 -113
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/StripeError.d.ts +1 -1
- package/dist/model/StripeError.js +2 -2
- package/dist/model/StripePaymentIntent.d.ts +24 -24
- package/dist/model/StripePaymentIntent.d.ts.map +1 -1
- package/dist/model/StripePaymentIntent.js +66 -66
- package/dist/model/StripePrice.d.ts +119 -0
- package/dist/model/StripePrice.d.ts.map +1 -0
- package/dist/model/StripePrice.js +361 -0
- package/dist/model/StripeProduct.d.ts +101 -0
- package/dist/model/StripeProduct.d.ts.map +1 -0
- package/dist/model/StripeProduct.js +304 -0
- package/dist/model/StripeSubscription.d.ts +29 -29
- package/dist/model/StripeSubscription.d.ts.map +1 -1
- package/dist/model/StripeSubscription.js +76 -76
- package/dist/model/Submit.d.ts +1 -1
- package/dist/model/Submit.js +2 -2
- package/dist/model/Subscription.d.ts +19 -19
- package/dist/model/Subscription.d.ts.map +1 -1
- package/dist/model/Subscription.js +62 -62
- package/dist/model/SubscriptionCollection.d.ts +1 -1
- package/dist/model/SubscriptionCollection.js +2 -2
- package/dist/model/SubscriptionData.d.ts +1 -1
- package/dist/model/SubscriptionData.js +2 -2
- package/dist/model/SubscriptionDetails.d.ts +1 -1
- package/dist/model/SubscriptionDetails.js +2 -2
- package/dist/model/SubscriptionInput.d.ts +1 -1
- package/dist/model/SubscriptionInput.js +2 -2
- package/dist/model/SubscriptionItem.d.ts +1 -1
- package/dist/model/SubscriptionItem.js +2 -2
- package/dist/model/SubscriptionItemCollection.d.ts +1 -1
- package/dist/model/SubscriptionItemCollection.js +2 -2
- package/dist/model/SubscriptionResponse.d.ts +1 -1
- package/dist/model/SubscriptionResponse.js +2 -2
- package/dist/model/SubscriptionSchedule.d.ts +1 -1
- package/dist/model/SubscriptionSchedule.js +2 -2
- package/dist/model/SupabaseConfigInput.d.ts +1 -1
- package/dist/model/SupabaseConfigInput.js +2 -2
- package/dist/model/SupabaseConfigResponse.d.ts +1 -1
- package/dist/model/SupabaseConfigResponse.js +2 -2
- package/dist/model/Swift.d.ts +1 -1
- package/dist/model/Swift.js +2 -2
- package/dist/model/Tax.d.ts +1 -1
- package/dist/model/Tax.js +2 -2
- package/dist/model/TaxAmount.d.ts +1 -1
- package/dist/model/TaxAmount.js +2 -2
- package/dist/model/TaxCode.d.ts +1 -1
- package/dist/model/TaxCode.js +2 -2
- package/dist/model/TaxId.d.ts +1 -1
- package/dist/model/TaxId.js +2 -2
- package/dist/model/TaxIdCollection.d.ts +1 -1
- package/dist/model/TaxIdCollection.js +2 -2
- package/dist/model/TaxRate.d.ts +1 -1
- package/dist/model/TaxRate.js +2 -2
- package/dist/model/Template.d.ts +15 -15
- package/dist/model/Template.d.ts.map +1 -1
- package/dist/model/Template.js +43 -43
- package/dist/model/TemplateInput.d.ts +1 -1
- package/dist/model/TemplateInput.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +15 -15
- package/dist/model/TemplateSchema.d.ts.map +1 -1
- package/dist/model/TemplateSchema.js +43 -43
- package/dist/model/TermsOfServiceAcceptance.d.ts +1 -1
- package/dist/model/TermsOfServiceAcceptance.js +2 -2
- package/dist/model/TestClock.d.ts +1 -1
- package/dist/model/TestClock.js +2 -2
- package/dist/model/TestConnectionRequest.d.ts +61 -0
- package/dist/model/TestConnectionRequest.d.ts.map +1 -0
- package/dist/model/TestConnectionRequest.js +176 -0
- package/dist/model/TestConnectionResponse.d.ts +78 -0
- package/dist/model/TestConnectionResponse.d.ts.map +1 -0
- package/dist/model/TestConnectionResponse.js +238 -0
- package/dist/model/Text.d.ts +1 -1
- package/dist/model/Text.js +2 -2
- package/dist/model/ThemeMapping.d.ts +10 -10
- package/dist/model/ThemeMapping.d.ts.map +1 -1
- package/dist/model/ThemeMapping.js +32 -32
- package/dist/model/ThemeMappingPayload.d.ts +10 -10
- package/dist/model/ThemeMappingPayload.d.ts.map +1 -1
- package/dist/model/ThemeMappingPayload.js +25 -25
- package/dist/model/ThreeDSecure.d.ts +1 -19
- package/dist/model/ThreeDSecure.d.ts.map +1 -1
- package/dist/model/ThreeDSecure.js +2 -56
- package/dist/model/ThreeDSecureUsage.d.ts +1 -1
- package/dist/model/ThreeDSecureUsage.js +2 -2
- package/dist/model/ThresholdReason.d.ts +1 -1
- package/dist/model/ThresholdReason.js +2 -2
- package/dist/model/Tier.d.ts +1 -1
- package/dist/model/Tier.js +2 -2
- 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 +1 -1
- package/dist/model/Tip.js +2 -2
- 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 +1 -1
- package/dist/model/TosAcceptance.js +2 -2
- package/dist/model/TotalDetails.d.ts +1 -1
- package/dist/model/TotalDetails.js +2 -2
- package/dist/model/TotalDiscountAmount.d.ts +1 -1
- package/dist/model/TotalDiscountAmount.js +2 -2
- package/dist/model/TotalTaxAmount.d.ts +1 -1
- package/dist/model/TotalTaxAmount.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.d.ts +21 -21
- package/dist/model/Transfer.d.ts.map +1 -1
- package/dist/model/Transfer.js +59 -59
- package/dist/model/TransferData.d.ts +1 -1
- package/dist/model/TransferData.js +2 -2
- 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 +21 -21
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +59 -59
- package/dist/model/TransferReversal.d.ts +10 -10
- package/dist/model/TransferReversal.d.ts.map +1 -1
- package/dist/model/TransferReversal.js +32 -32
- package/dist/model/TransferReversalCollection.d.ts +1 -1
- package/dist/model/TransferReversalCollection.js +2 -2
- package/dist/model/TransformQuantity.d.ts +1 -1
- package/dist/model/TransformQuantity.js +2 -2
- package/dist/model/TransformUsage.d.ts +1 -1
- package/dist/model/TransformUsage.js +2 -2
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/Treasury.d.ts +1 -1
- package/dist/model/Treasury.js +2 -2
- package/dist/model/TrialSettings.d.ts +1 -1
- package/dist/model/TrialSettings.js +2 -2
- package/dist/model/URLMappingInput.d.ts +1 -1
- package/dist/model/URLMappingInput.js +2 -2
- package/dist/model/URLMappingResponse.d.ts +1 -1
- package/dist/model/URLMappingResponse.js +2 -2
- package/dist/model/Upfront.d.ts +1 -1
- package/dist/model/Upfront.js +2 -2
- package/dist/model/UsBankAccount.d.ts +1 -1
- package/dist/model/UsBankAccount.js +2 -2
- package/dist/model/User.d.ts +32 -32
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +94 -94
- package/dist/model/UserDataPayload.d.ts +32 -32
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +94 -94
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +37 -37
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +102 -102
- 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 +32 -32
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +94 -94
- package/dist/model/Userid.d.ts +10 -10
- package/dist/model/Userid.d.ts.map +1 -1
- package/dist/model/Userid.js +25 -25
- 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 +1 -1
- package/dist/model/Verification.js +2 -2
- package/dist/model/VerifyWithMicrodeposits.d.ts +1 -1
- package/dist/model/VerifyWithMicrodeposits.js +2 -2
- package/dist/model/Video.d.ts +1 -1
- package/dist/model/Video.js +2 -2
- package/dist/model/VideoLiveUrl.d.ts +1 -1
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.d.ts +78 -78
- package/dist/model/VideoSchema.d.ts.map +1 -1
- package/dist/model/VideoSchema.js +221 -221
- package/dist/model/VideoUploadObject.d.ts +78 -78
- package/dist/model/VideoUploadObject.d.ts.map +1 -1
- package/dist/model/VideoUploadObject.js +223 -223
- package/dist/model/ViewInput.d.ts +1 -1
- package/dist/model/ViewInput.js +2 -2
- package/dist/model/ViewResponse.d.ts +1 -1
- package/dist/model/ViewResponse.js +2 -2
- package/dist/model/VisaCheckout.d.ts +1 -1
- package/dist/model/VisaCheckout.js +2 -2
- package/dist/model/Wallet.d.ts +1 -55
- package/dist/model/Wallet.d.ts.map +1 -1
- package/dist/model/Wallet.js +2 -186
- 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 +1 -1
- package/dist/model/Wechat.js +2 -2
- package/dist/model/WechatPay.d.ts +1 -19
- package/dist/model/WechatPay.d.ts.map +1 -1
- package/dist/model/WechatPay.js +2 -60
- package/dist/model/WechatPayDisplayQrCode.d.ts +1 -1
- package/dist/model/WechatPayDisplayQrCode.js +2 -2
- package/dist/model/WechatPayRedirectToAndroidApp.d.ts +1 -1
- package/dist/model/WechatPayRedirectToAndroidApp.js +2 -2
- package/dist/model/WechatPayRedirectToIosApp.d.ts +1 -1
- package/dist/model/WechatPayRedirectToIosApp.js +2 -2
- package/dist/model/Zengin.d.ts +1 -1
- package/dist/model/Zengin.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +33 -33
- package/dist/model/ZeusPortalCategory.d.ts.map +1 -1
- package/dist/model/ZeusPortalCategory.js +97 -97
- package/dist/model/Zip.d.ts +1 -1
- package/dist/model/Zip.js +2 -2
- package/package.json +2 -2
|
@@ -23,9 +23,18 @@ var _PaymentMethodResponse = _interopRequireDefault(require("../model/PaymentMet
|
|
|
23
23
|
var _PaymentMethodsResponse = _interopRequireDefault(require("../model/PaymentMethodsResponse"));
|
|
24
24
|
var _PayoutInput = _interopRequireDefault(require("../model/PayoutInput"));
|
|
25
25
|
var _PayoutResponse = _interopRequireDefault(require("../model/PayoutResponse"));
|
|
26
|
+
var _PriceInput = _interopRequireDefault(require("../model/PriceInput"));
|
|
27
|
+
var _PriceResponse = _interopRequireDefault(require("../model/PriceResponse"));
|
|
28
|
+
var _ProductCategory = _interopRequireDefault(require("../model/ProductCategory"));
|
|
29
|
+
var _ProductCategoryInput = _interopRequireDefault(require("../model/ProductCategoryInput"));
|
|
30
|
+
var _ProductCategoryResponse = _interopRequireDefault(require("../model/ProductCategoryResponse"));
|
|
31
|
+
var _ProductInput = _interopRequireDefault(require("../model/ProductInput"));
|
|
32
|
+
var _ProductResponse = _interopRequireDefault(require("../model/ProductResponse"));
|
|
26
33
|
var _PurgeDataDefaultResponse = _interopRequireDefault(require("../model/PurgeDataDefaultResponse"));
|
|
27
34
|
var _StripeCheckoutSession = _interopRequireDefault(require("../model/StripeCheckoutSession"));
|
|
28
35
|
var _StripePaymentIntent = _interopRequireDefault(require("../model/StripePaymentIntent"));
|
|
36
|
+
var _StripePrice = _interopRequireDefault(require("../model/StripePrice"));
|
|
37
|
+
var _StripeProduct = _interopRequireDefault(require("../model/StripeProduct"));
|
|
29
38
|
var _StripeSubscription = _interopRequireDefault(require("../model/StripeSubscription"));
|
|
30
39
|
var _SubscriptionInput = _interopRequireDefault(require("../model/SubscriptionInput"));
|
|
31
40
|
var _SubscriptionResponse = _interopRequireDefault(require("../model/SubscriptionResponse"));
|
|
@@ -41,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
41
50
|
* gobodo-api
|
|
42
51
|
* REST Interface for Gobodo API
|
|
43
52
|
*
|
|
44
|
-
* The version of the OpenAPI document: 0.1.
|
|
53
|
+
* The version of the OpenAPI document: 0.1.150
|
|
45
54
|
* Contact: info@gobodo.io
|
|
46
55
|
*
|
|
47
56
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -52,7 +61,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
52
61
|
/**
|
|
53
62
|
* StripeAccounts service.
|
|
54
63
|
* @module api/StripeAccountsApi
|
|
55
|
-
* @version 0.1.
|
|
64
|
+
* @version 0.1.150
|
|
56
65
|
*/
|
|
57
66
|
var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
58
67
|
/**
|
|
@@ -331,13 +340,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
331
340
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
332
341
|
*/
|
|
333
342
|
}, {
|
|
334
|
-
key: "
|
|
335
|
-
value: function
|
|
343
|
+
key: "cancelStripeSubscriptionWithHttpInfo",
|
|
344
|
+
value: function cancelStripeSubscriptionWithHttpInfo(subscriptionId, opts) {
|
|
336
345
|
opts = opts || {};
|
|
337
346
|
var postBody = null;
|
|
338
347
|
// verify the required parameter 'subscriptionId' is set
|
|
339
348
|
if (subscriptionId === undefined || subscriptionId === null) {
|
|
340
|
-
throw new Error("Missing the required parameter 'subscriptionId' when calling
|
|
349
|
+
throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");
|
|
341
350
|
}
|
|
342
351
|
var pathParams = {
|
|
343
352
|
'subscriptionId': subscriptionId
|
|
@@ -386,9 +395,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
386
395
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
|
|
387
396
|
*/
|
|
388
397
|
}, {
|
|
389
|
-
key: "
|
|
390
|
-
value: function
|
|
391
|
-
return this.
|
|
398
|
+
key: "cancelStripeSubscription",
|
|
399
|
+
value: function cancelStripeSubscription(subscriptionId, opts) {
|
|
400
|
+
return this.cancelStripeSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
|
|
392
401
|
return response_and_data.data;
|
|
393
402
|
});
|
|
394
403
|
}
|
|
@@ -413,13 +422,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
413
422
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
414
423
|
*/
|
|
415
424
|
}, {
|
|
416
|
-
key: "
|
|
417
|
-
value: function
|
|
425
|
+
key: "cancelStripeSubscriptionAtPeriodEndWithHttpInfo",
|
|
426
|
+
value: function cancelStripeSubscriptionAtPeriodEndWithHttpInfo(subscriptionId, opts) {
|
|
418
427
|
opts = opts || {};
|
|
419
428
|
var postBody = null;
|
|
420
429
|
// verify the required parameter 'subscriptionId' is set
|
|
421
430
|
if (subscriptionId === undefined || subscriptionId === null) {
|
|
422
|
-
throw new Error("Missing the required parameter 'subscriptionId' when calling
|
|
431
|
+
throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");
|
|
423
432
|
}
|
|
424
433
|
var pathParams = {
|
|
425
434
|
'subscriptionId': subscriptionId
|
|
@@ -468,9 +477,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
468
477
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
|
|
469
478
|
*/
|
|
470
479
|
}, {
|
|
471
|
-
key: "
|
|
472
|
-
value: function
|
|
473
|
-
return this.
|
|
480
|
+
key: "cancelStripeSubscriptionAtPeriodEnd",
|
|
481
|
+
value: function cancelStripeSubscriptionAtPeriodEnd(subscriptionId, opts) {
|
|
482
|
+
return this.cancelStripeSubscriptionAtPeriodEndWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
|
|
474
483
|
return response_and_data.data;
|
|
475
484
|
});
|
|
476
485
|
}
|
|
@@ -804,9 +813,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
804
813
|
}
|
|
805
814
|
|
|
806
815
|
/**
|
|
807
|
-
* Creates
|
|
808
|
-
*
|
|
809
|
-
* @param {
|
|
816
|
+
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
817
|
+
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
818
|
+
* @param {Number} siteid
|
|
819
|
+
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
810
820
|
* @param {Object} opts Optional parameters
|
|
811
821
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
812
822
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -820,18 +830,24 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
820
830
|
* @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
|
|
821
831
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
822
832
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
823
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
833
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
824
834
|
*/
|
|
825
835
|
}, {
|
|
826
|
-
key: "
|
|
827
|
-
value: function
|
|
836
|
+
key: "createSiteStripePaymentAccountWithHttpInfo",
|
|
837
|
+
value: function createSiteStripePaymentAccountWithHttpInfo(siteid, createStripeAccountInput, opts) {
|
|
828
838
|
opts = opts || {};
|
|
829
|
-
var postBody =
|
|
830
|
-
// verify the required parameter '
|
|
831
|
-
if (
|
|
832
|
-
throw new Error("Missing the required parameter '
|
|
839
|
+
var postBody = createStripeAccountInput;
|
|
840
|
+
// verify the required parameter 'siteid' is set
|
|
841
|
+
if (siteid === undefined || siteid === null) {
|
|
842
|
+
throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
|
|
833
843
|
}
|
|
834
|
-
|
|
844
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
845
|
+
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
846
|
+
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
|
|
847
|
+
}
|
|
848
|
+
var pathParams = {
|
|
849
|
+
'siteid': siteid
|
|
850
|
+
};
|
|
835
851
|
var queryParams = {
|
|
836
852
|
'cacheduration': opts['cacheduration'],
|
|
837
853
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -850,16 +866,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
850
866
|
};
|
|
851
867
|
var formParams = {};
|
|
852
868
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
853
|
-
var contentTypes = [
|
|
869
|
+
var contentTypes = [];
|
|
854
870
|
var accepts = ['application/json'];
|
|
855
|
-
var returnType =
|
|
856
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
871
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
872
|
+
return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
857
873
|
}
|
|
858
874
|
|
|
859
875
|
/**
|
|
860
|
-
* Creates
|
|
861
|
-
*
|
|
862
|
-
* @param {
|
|
876
|
+
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
877
|
+
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
878
|
+
* @param {Number} siteid
|
|
879
|
+
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
863
880
|
* @param {Object} opts Optional parameters
|
|
864
881
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
865
882
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -873,21 +890,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
873
890
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
874
891
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
875
892
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
876
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
893
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
|
|
877
894
|
*/
|
|
878
895
|
}, {
|
|
879
|
-
key: "
|
|
880
|
-
value: function
|
|
881
|
-
return this.
|
|
896
|
+
key: "createSiteStripePaymentAccount",
|
|
897
|
+
value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts) {
|
|
898
|
+
return this.createSiteStripePaymentAccountWithHttpInfo(siteid, createStripeAccountInput, opts).then(function (response_and_data) {
|
|
882
899
|
return response_and_data.data;
|
|
883
900
|
});
|
|
884
901
|
}
|
|
885
902
|
|
|
886
903
|
/**
|
|
887
|
-
* Creates
|
|
888
|
-
*
|
|
889
|
-
* @param {
|
|
890
|
-
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
904
|
+
* Creates a Stripe Checkout Session for hosted payment page
|
|
905
|
+
* Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
|
|
906
|
+
* @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
|
|
891
907
|
* @param {Object} opts Optional parameters
|
|
892
908
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
893
909
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -901,24 +917,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
901
917
|
* @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
|
|
902
918
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
903
919
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
904
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
920
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CheckoutSessionResponse} and HTTP response
|
|
905
921
|
*/
|
|
906
922
|
}, {
|
|
907
|
-
key: "
|
|
908
|
-
value: function
|
|
923
|
+
key: "createStripeCheckoutSessionWithHttpInfo",
|
|
924
|
+
value: function createStripeCheckoutSessionWithHttpInfo(checkoutSessionInput, opts) {
|
|
909
925
|
opts = opts || {};
|
|
910
|
-
var postBody =
|
|
911
|
-
// verify the required parameter '
|
|
912
|
-
if (
|
|
913
|
-
throw new Error("Missing the required parameter '
|
|
914
|
-
}
|
|
915
|
-
// verify the required parameter 'createStripeAccountInput' is set
|
|
916
|
-
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
917
|
-
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
|
|
926
|
+
var postBody = checkoutSessionInput;
|
|
927
|
+
// verify the required parameter 'checkoutSessionInput' is set
|
|
928
|
+
if (checkoutSessionInput === undefined || checkoutSessionInput === null) {
|
|
929
|
+
throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");
|
|
918
930
|
}
|
|
919
|
-
var pathParams = {
|
|
920
|
-
'siteid': siteid
|
|
921
|
-
};
|
|
931
|
+
var pathParams = {};
|
|
922
932
|
var queryParams = {
|
|
923
933
|
'cacheduration': opts['cacheduration'],
|
|
924
934
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -937,17 +947,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
937
947
|
};
|
|
938
948
|
var formParams = {};
|
|
939
949
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
940
|
-
var contentTypes = [];
|
|
950
|
+
var contentTypes = ['application/json'];
|
|
941
951
|
var accepts = ['application/json'];
|
|
942
|
-
var returnType =
|
|
943
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
952
|
+
var returnType = _CheckoutSessionResponse["default"];
|
|
953
|
+
return this.apiClient.callApi('/payments/stripe/checkout/session', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
944
954
|
}
|
|
945
955
|
|
|
946
956
|
/**
|
|
947
|
-
* Creates
|
|
948
|
-
*
|
|
949
|
-
* @param {
|
|
950
|
-
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
957
|
+
* Creates a Stripe Checkout Session for hosted payment page
|
|
958
|
+
* Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
|
|
959
|
+
* @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
|
|
951
960
|
* @param {Object} opts Optional parameters
|
|
952
961
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
953
962
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -961,12 +970,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
961
970
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
962
971
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
963
972
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
964
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
973
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CheckoutSessionResponse}
|
|
965
974
|
*/
|
|
966
975
|
}, {
|
|
967
|
-
key: "
|
|
968
|
-
value: function
|
|
969
|
-
return this.
|
|
976
|
+
key: "createStripeCheckoutSession",
|
|
977
|
+
value: function createStripeCheckoutSession(checkoutSessionInput, opts) {
|
|
978
|
+
return this.createStripeCheckoutSessionWithHttpInfo(checkoutSessionInput, opts).then(function (response_and_data) {
|
|
970
979
|
return response_and_data.data;
|
|
971
980
|
});
|
|
972
981
|
}
|
|
@@ -1052,9 +1061,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1052
1061
|
}
|
|
1053
1062
|
|
|
1054
1063
|
/**
|
|
1055
|
-
* Creates a new
|
|
1056
|
-
* Creates a
|
|
1057
|
-
* @param {module:model/
|
|
1064
|
+
* Creates a new price
|
|
1065
|
+
* Creates a new price in Stripe
|
|
1066
|
+
* @param {module:model/PriceInput} priceInput Contains the info to create the price
|
|
1058
1067
|
* @param {Object} opts Optional parameters
|
|
1059
1068
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1060
1069
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1068,16 +1077,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1068
1077
|
* @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
|
|
1069
1078
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1070
1079
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1071
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1080
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
|
|
1072
1081
|
*/
|
|
1073
1082
|
}, {
|
|
1074
|
-
key: "
|
|
1075
|
-
value: function
|
|
1083
|
+
key: "createStripePriceWithHttpInfo",
|
|
1084
|
+
value: function createStripePriceWithHttpInfo(priceInput, opts) {
|
|
1076
1085
|
opts = opts || {};
|
|
1077
|
-
var postBody =
|
|
1078
|
-
// verify the required parameter '
|
|
1079
|
-
if (
|
|
1080
|
-
throw new Error("Missing the required parameter '
|
|
1086
|
+
var postBody = priceInput;
|
|
1087
|
+
// verify the required parameter 'priceInput' is set
|
|
1088
|
+
if (priceInput === undefined || priceInput === null) {
|
|
1089
|
+
throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");
|
|
1081
1090
|
}
|
|
1082
1091
|
var pathParams = {};
|
|
1083
1092
|
var queryParams = {
|
|
@@ -1100,14 +1109,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1100
1109
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1101
1110
|
var contentTypes = ['application/json'];
|
|
1102
1111
|
var accepts = ['application/json'];
|
|
1103
|
-
var returnType =
|
|
1104
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1112
|
+
var returnType = _PriceResponse["default"];
|
|
1113
|
+
return this.apiClient.callApi('/payments/stripe/price', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1105
1114
|
}
|
|
1106
1115
|
|
|
1107
1116
|
/**
|
|
1108
|
-
* Creates a new
|
|
1109
|
-
* Creates a
|
|
1110
|
-
* @param {module:model/
|
|
1117
|
+
* Creates a new price
|
|
1118
|
+
* Creates a new price in Stripe
|
|
1119
|
+
* @param {module:model/PriceInput} priceInput Contains the info to create the price
|
|
1111
1120
|
* @param {Object} opts Optional parameters
|
|
1112
1121
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1113
1122
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1121,17 +1130,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1121
1130
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1122
1131
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1123
1132
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1124
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1133
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PriceResponse}
|
|
1125
1134
|
*/
|
|
1126
1135
|
}, {
|
|
1127
|
-
key: "
|
|
1128
|
-
value: function
|
|
1129
|
-
return this.
|
|
1136
|
+
key: "createStripePrice",
|
|
1137
|
+
value: function createStripePrice(priceInput, opts) {
|
|
1138
|
+
return this.createStripePriceWithHttpInfo(priceInput, opts).then(function (response_and_data) {
|
|
1130
1139
|
return response_and_data.data;
|
|
1131
1140
|
});
|
|
1132
1141
|
}
|
|
1133
1142
|
|
|
1134
1143
|
/**
|
|
1144
|
+
* Creates a new product
|
|
1145
|
+
* Creates a new product in Stripe
|
|
1146
|
+
* @param {module:model/ProductInput} productInput Contains the info to create the product
|
|
1135
1147
|
* @param {Object} opts Optional parameters
|
|
1136
1148
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1137
1149
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1145,13 +1157,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1145
1157
|
* @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
|
|
1146
1158
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1147
1159
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1148
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
1160
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
1149
1161
|
*/
|
|
1150
1162
|
}, {
|
|
1151
|
-
key: "
|
|
1152
|
-
value: function
|
|
1163
|
+
key: "createStripeProductWithHttpInfo",
|
|
1164
|
+
value: function createStripeProductWithHttpInfo(productInput, opts) {
|
|
1153
1165
|
opts = opts || {};
|
|
1154
|
-
var postBody =
|
|
1166
|
+
var postBody = productInput;
|
|
1167
|
+
// verify the required parameter 'productInput' is set
|
|
1168
|
+
if (productInput === undefined || productInput === null) {
|
|
1169
|
+
throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");
|
|
1170
|
+
}
|
|
1155
1171
|
var pathParams = {};
|
|
1156
1172
|
var queryParams = {
|
|
1157
1173
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1171,13 +1187,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1171
1187
|
};
|
|
1172
1188
|
var formParams = {};
|
|
1173
1189
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1174
|
-
var contentTypes = [];
|
|
1190
|
+
var contentTypes = ['application/json'];
|
|
1175
1191
|
var accepts = ['application/json'];
|
|
1176
|
-
var returnType =
|
|
1177
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1192
|
+
var returnType = _ProductResponse["default"];
|
|
1193
|
+
return this.apiClient.callApi('/payments/stripe/product', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1178
1194
|
}
|
|
1179
1195
|
|
|
1180
1196
|
/**
|
|
1197
|
+
* Creates a new product
|
|
1198
|
+
* Creates a new product in Stripe
|
|
1199
|
+
* @param {module:model/ProductInput} productInput Contains the info to create the product
|
|
1181
1200
|
* @param {Object} opts Optional parameters
|
|
1182
1201
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1183
1202
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1191,18 +1210,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1191
1210
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1192
1211
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1193
1212
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1194
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
1213
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductResponse}
|
|
1195
1214
|
*/
|
|
1196
1215
|
}, {
|
|
1197
|
-
key: "
|
|
1198
|
-
value: function
|
|
1199
|
-
return this.
|
|
1216
|
+
key: "createStripeProduct",
|
|
1217
|
+
value: function createStripeProduct(productInput, opts) {
|
|
1218
|
+
return this.createStripeProductWithHttpInfo(productInput, opts).then(function (response_and_data) {
|
|
1200
1219
|
return response_and_data.data;
|
|
1201
1220
|
});
|
|
1202
1221
|
}
|
|
1203
1222
|
|
|
1204
1223
|
/**
|
|
1205
|
-
*
|
|
1224
|
+
* Creates a new product category
|
|
1225
|
+
* Creates a new product category
|
|
1226
|
+
* @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
|
|
1206
1227
|
* @param {Object} opts Optional parameters
|
|
1207
1228
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1208
1229
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1216,20 +1237,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1216
1237
|
* @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
|
|
1217
1238
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1218
1239
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1219
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
1240
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
1220
1241
|
*/
|
|
1221
1242
|
}, {
|
|
1222
|
-
key: "
|
|
1223
|
-
value: function
|
|
1243
|
+
key: "createStripeProductCategoryWithHttpInfo",
|
|
1244
|
+
value: function createStripeProductCategoryWithHttpInfo(productCategoryInput, opts) {
|
|
1224
1245
|
opts = opts || {};
|
|
1225
|
-
var postBody =
|
|
1226
|
-
// verify the required parameter '
|
|
1227
|
-
if (
|
|
1228
|
-
throw new Error("Missing the required parameter '
|
|
1246
|
+
var postBody = productCategoryInput;
|
|
1247
|
+
// verify the required parameter 'productCategoryInput' is set
|
|
1248
|
+
if (productCategoryInput === undefined || productCategoryInput === null) {
|
|
1249
|
+
throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");
|
|
1229
1250
|
}
|
|
1230
|
-
var pathParams = {
|
|
1231
|
-
'accountID': accountID
|
|
1232
|
-
};
|
|
1251
|
+
var pathParams = {};
|
|
1233
1252
|
var queryParams = {
|
|
1234
1253
|
'cacheduration': opts['cacheduration'],
|
|
1235
1254
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -1248,14 +1267,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1248
1267
|
};
|
|
1249
1268
|
var formParams = {};
|
|
1250
1269
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1251
|
-
var contentTypes = [];
|
|
1270
|
+
var contentTypes = ['application/json'];
|
|
1252
1271
|
var accepts = ['application/json'];
|
|
1253
|
-
var returnType =
|
|
1254
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1272
|
+
var returnType = _ProductCategoryResponse["default"];
|
|
1273
|
+
return this.apiClient.callApi('/payments/stripe/product-category', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1255
1274
|
}
|
|
1256
1275
|
|
|
1257
1276
|
/**
|
|
1258
|
-
*
|
|
1277
|
+
* Creates a new product category
|
|
1278
|
+
* Creates a new product category
|
|
1279
|
+
* @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
|
|
1259
1280
|
* @param {Object} opts Optional parameters
|
|
1260
1281
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1261
1282
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1269,20 +1290,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1269
1290
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1270
1291
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1271
1292
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1272
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
1293
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategoryResponse}
|
|
1273
1294
|
*/
|
|
1274
1295
|
}, {
|
|
1275
|
-
key: "
|
|
1276
|
-
value: function
|
|
1277
|
-
return this.
|
|
1296
|
+
key: "createStripeProductCategory",
|
|
1297
|
+
value: function createStripeProductCategory(productCategoryInput, opts) {
|
|
1298
|
+
return this.createStripeProductCategoryWithHttpInfo(productCategoryInput, opts).then(function (response_and_data) {
|
|
1278
1299
|
return response_and_data.data;
|
|
1279
1300
|
});
|
|
1280
1301
|
}
|
|
1281
1302
|
|
|
1282
1303
|
/**
|
|
1283
|
-
*
|
|
1284
|
-
*
|
|
1285
|
-
* @param {
|
|
1304
|
+
* Creates a new subscription
|
|
1305
|
+
* Creates a recurring subscription for the logged-in user
|
|
1306
|
+
* @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
|
|
1286
1307
|
* @param {Object} opts Optional parameters
|
|
1287
1308
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1288
1309
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1296,20 +1317,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1296
1317
|
* @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
|
|
1297
1318
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1298
1319
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1299
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1320
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
|
|
1300
1321
|
*/
|
|
1301
1322
|
}, {
|
|
1302
|
-
key: "
|
|
1303
|
-
value: function
|
|
1323
|
+
key: "createStripeSubscriptionWithHttpInfo",
|
|
1324
|
+
value: function createStripeSubscriptionWithHttpInfo(subscriptionInput, opts) {
|
|
1304
1325
|
opts = opts || {};
|
|
1305
|
-
var postBody =
|
|
1306
|
-
// verify the required parameter '
|
|
1307
|
-
if (
|
|
1308
|
-
throw new Error("Missing the required parameter '
|
|
1326
|
+
var postBody = subscriptionInput;
|
|
1327
|
+
// verify the required parameter 'subscriptionInput' is set
|
|
1328
|
+
if (subscriptionInput === undefined || subscriptionInput === null) {
|
|
1329
|
+
throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");
|
|
1309
1330
|
}
|
|
1310
|
-
var pathParams = {
|
|
1311
|
-
'paymentMethodID': paymentMethodID
|
|
1312
|
-
};
|
|
1331
|
+
var pathParams = {};
|
|
1313
1332
|
var queryParams = {
|
|
1314
1333
|
'cacheduration': opts['cacheduration'],
|
|
1315
1334
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -1328,16 +1347,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1328
1347
|
};
|
|
1329
1348
|
var formParams = {};
|
|
1330
1349
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1331
|
-
var contentTypes = [];
|
|
1350
|
+
var contentTypes = ['application/json'];
|
|
1332
1351
|
var accepts = ['application/json'];
|
|
1333
|
-
var returnType =
|
|
1334
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1352
|
+
var returnType = _SubscriptionResponse["default"];
|
|
1353
|
+
return this.apiClient.callApi('/payments/stripe/subscription', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1335
1354
|
}
|
|
1336
1355
|
|
|
1337
1356
|
/**
|
|
1338
|
-
*
|
|
1339
|
-
*
|
|
1340
|
-
* @param {
|
|
1357
|
+
* Creates a new subscription
|
|
1358
|
+
* Creates a recurring subscription for the logged-in user
|
|
1359
|
+
* @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
|
|
1341
1360
|
* @param {Object} opts Optional parameters
|
|
1342
1361
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1343
1362
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1351,18 +1370,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1351
1370
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1352
1371
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1353
1372
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1354
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1373
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionResponse}
|
|
1355
1374
|
*/
|
|
1356
1375
|
}, {
|
|
1357
|
-
key: "
|
|
1358
|
-
value: function
|
|
1359
|
-
return this.
|
|
1376
|
+
key: "createStripeSubscription",
|
|
1377
|
+
value: function createStripeSubscription(subscriptionInput, opts) {
|
|
1378
|
+
return this.createStripeSubscriptionWithHttpInfo(subscriptionInput, opts).then(function (response_and_data) {
|
|
1360
1379
|
return response_and_data.data;
|
|
1361
1380
|
});
|
|
1362
1381
|
}
|
|
1363
1382
|
|
|
1364
1383
|
/**
|
|
1365
|
-
* Root for the API
|
|
1366
1384
|
* @param {Object} opts Optional parameters
|
|
1367
1385
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1368
1386
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1376,11 +1394,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1376
1394
|
* @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
|
|
1377
1395
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1378
1396
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1379
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1397
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
1380
1398
|
*/
|
|
1381
1399
|
}, {
|
|
1382
|
-
key: "
|
|
1383
|
-
value: function
|
|
1400
|
+
key: "deleteStripeAccountWithHttpInfo",
|
|
1401
|
+
value: function deleteStripeAccountWithHttpInfo(opts) {
|
|
1384
1402
|
opts = opts || {};
|
|
1385
1403
|
var postBody = null;
|
|
1386
1404
|
var pathParams = {};
|
|
@@ -1404,12 +1422,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1404
1422
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1405
1423
|
var contentTypes = [];
|
|
1406
1424
|
var accepts = ['application/json'];
|
|
1407
|
-
var returnType =
|
|
1408
|
-
return this.apiClient.callApi('/payments/stripe', '
|
|
1425
|
+
var returnType = Object;
|
|
1426
|
+
return this.apiClient.callApi('/payments/stripe/account', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1409
1427
|
}
|
|
1410
1428
|
|
|
1411
1429
|
/**
|
|
1412
|
-
* Root for the API
|
|
1413
1430
|
* @param {Object} opts Optional parameters
|
|
1414
1431
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1415
1432
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1423,19 +1440,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1423
1440
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1424
1441
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1425
1442
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1426
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1443
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
|
|
1427
1444
|
*/
|
|
1428
1445
|
}, {
|
|
1429
|
-
key: "
|
|
1430
|
-
value: function
|
|
1431
|
-
return this.
|
|
1446
|
+
key: "deleteStripeAccount",
|
|
1447
|
+
value: function deleteStripeAccount(opts) {
|
|
1448
|
+
return this.deleteStripeAccountWithHttpInfo(opts).then(function (response_and_data) {
|
|
1432
1449
|
return response_and_data.data;
|
|
1433
1450
|
});
|
|
1434
1451
|
}
|
|
1435
1452
|
|
|
1436
1453
|
/**
|
|
1437
|
-
*
|
|
1438
|
-
* @param {Number} id
|
|
1454
|
+
* @param {Number} accountID The id of the account to delete
|
|
1439
1455
|
* @param {Object} opts Optional parameters
|
|
1440
1456
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1441
1457
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1449,19 +1465,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1449
1465
|
* @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
|
|
1450
1466
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1451
1467
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1452
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
1468
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
1453
1469
|
*/
|
|
1454
1470
|
}, {
|
|
1455
|
-
key: "
|
|
1456
|
-
value: function
|
|
1471
|
+
key: "deleteStripeAccountWithIdWithHttpInfo",
|
|
1472
|
+
value: function deleteStripeAccountWithIdWithHttpInfo(accountID, opts) {
|
|
1457
1473
|
opts = opts || {};
|
|
1458
1474
|
var postBody = null;
|
|
1459
|
-
// verify the required parameter '
|
|
1460
|
-
if (
|
|
1461
|
-
throw new Error("Missing the required parameter '
|
|
1475
|
+
// verify the required parameter 'accountID' is set
|
|
1476
|
+
if (accountID === undefined || accountID === null) {
|
|
1477
|
+
throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");
|
|
1462
1478
|
}
|
|
1463
1479
|
var pathParams = {
|
|
1464
|
-
'
|
|
1480
|
+
'accountID': accountID
|
|
1465
1481
|
};
|
|
1466
1482
|
var queryParams = {
|
|
1467
1483
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1483,13 +1499,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1483
1499
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1484
1500
|
var contentTypes = [];
|
|
1485
1501
|
var accepts = ['application/json'];
|
|
1486
|
-
var returnType =
|
|
1487
|
-
return this.apiClient.callApi('/payments/stripe/{
|
|
1502
|
+
var returnType = Object;
|
|
1503
|
+
return this.apiClient.callApi('/payments/stripe/account/{accountID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1488
1504
|
}
|
|
1489
1505
|
|
|
1490
1506
|
/**
|
|
1491
|
-
*
|
|
1492
|
-
* @param {Number} id
|
|
1507
|
+
* @param {Number} accountID The id of the account to delete
|
|
1493
1508
|
* @param {Object} opts Optional parameters
|
|
1494
1509
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1495
1510
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1503,20 +1518,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1503
1518
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1504
1519
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1505
1520
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1506
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
1521
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
|
|
1507
1522
|
*/
|
|
1508
1523
|
}, {
|
|
1509
|
-
key: "
|
|
1510
|
-
value: function
|
|
1511
|
-
return this.
|
|
1524
|
+
key: "deleteStripeAccountWithId",
|
|
1525
|
+
value: function deleteStripeAccountWithId(accountID, opts) {
|
|
1526
|
+
return this.deleteStripeAccountWithIdWithHttpInfo(accountID, opts).then(function (response_and_data) {
|
|
1512
1527
|
return response_and_data.data;
|
|
1513
1528
|
});
|
|
1514
1529
|
}
|
|
1515
1530
|
|
|
1516
1531
|
/**
|
|
1517
|
-
*
|
|
1518
|
-
* Retrieves the
|
|
1519
|
-
* @param {
|
|
1532
|
+
* Adds payment methods for the customer stored in stripe
|
|
1533
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
1534
|
+
* @param {String} paymentMethodID The id of the payment method to delete
|
|
1520
1535
|
* @param {Object} opts Optional parameters
|
|
1521
1536
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1522
1537
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1530,19 +1545,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1530
1545
|
* @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
|
|
1531
1546
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1532
1547
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1533
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1548
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
1534
1549
|
*/
|
|
1535
1550
|
}, {
|
|
1536
|
-
key: "
|
|
1537
|
-
value: function
|
|
1551
|
+
key: "deleteStripePaymentMethodWithHttpInfo",
|
|
1552
|
+
value: function deleteStripePaymentMethodWithHttpInfo(paymentMethodID, opts) {
|
|
1538
1553
|
opts = opts || {};
|
|
1539
1554
|
var postBody = null;
|
|
1540
|
-
// verify the required parameter '
|
|
1541
|
-
if (
|
|
1542
|
-
throw new Error("Missing the required parameter '
|
|
1555
|
+
// verify the required parameter 'paymentMethodID' is set
|
|
1556
|
+
if (paymentMethodID === undefined || paymentMethodID === null) {
|
|
1557
|
+
throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");
|
|
1543
1558
|
}
|
|
1544
1559
|
var pathParams = {
|
|
1545
|
-
'
|
|
1560
|
+
'paymentMethodID': paymentMethodID
|
|
1546
1561
|
};
|
|
1547
1562
|
var queryParams = {
|
|
1548
1563
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1564,14 +1579,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1564
1579
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1565
1580
|
var contentTypes = [];
|
|
1566
1581
|
var accepts = ['application/json'];
|
|
1567
|
-
var returnType =
|
|
1568
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1582
|
+
var returnType = _PaymentMethodResponse["default"];
|
|
1583
|
+
return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1569
1584
|
}
|
|
1570
1585
|
|
|
1571
1586
|
/**
|
|
1572
|
-
*
|
|
1573
|
-
* Retrieves the
|
|
1574
|
-
* @param {
|
|
1587
|
+
* Adds payment methods for the customer stored in stripe
|
|
1588
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
1589
|
+
* @param {String} paymentMethodID The id of the payment method to delete
|
|
1575
1590
|
* @param {Object} opts Optional parameters
|
|
1576
1591
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1577
1592
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1585,20 +1600,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1585
1600
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1586
1601
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1587
1602
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1588
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1603
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
|
|
1589
1604
|
*/
|
|
1590
1605
|
}, {
|
|
1591
|
-
key: "
|
|
1592
|
-
value: function
|
|
1593
|
-
return this.
|
|
1606
|
+
key: "deleteStripePaymentMethod",
|
|
1607
|
+
value: function deleteStripePaymentMethod(paymentMethodID, opts) {
|
|
1608
|
+
return this.deleteStripePaymentMethodWithHttpInfo(paymentMethodID, opts).then(function (response_and_data) {
|
|
1594
1609
|
return response_and_data.data;
|
|
1595
1610
|
});
|
|
1596
1611
|
}
|
|
1597
1612
|
|
|
1598
1613
|
/**
|
|
1599
|
-
*
|
|
1600
|
-
*
|
|
1601
|
-
* @param {String}
|
|
1614
|
+
* Archives a price
|
|
1615
|
+
* Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
|
|
1616
|
+
* @param {String} priceId The price ID
|
|
1602
1617
|
* @param {Object} opts Optional parameters
|
|
1603
1618
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1604
1619
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1612,19 +1627,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1612
1627
|
* @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
|
|
1613
1628
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1614
1629
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1615
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1630
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
|
|
1616
1631
|
*/
|
|
1617
1632
|
}, {
|
|
1618
|
-
key: "
|
|
1619
|
-
value: function
|
|
1633
|
+
key: "deleteStripePriceWithHttpInfo",
|
|
1634
|
+
value: function deleteStripePriceWithHttpInfo(priceId, opts) {
|
|
1620
1635
|
opts = opts || {};
|
|
1621
1636
|
var postBody = null;
|
|
1622
|
-
// verify the required parameter '
|
|
1623
|
-
if (
|
|
1624
|
-
throw new Error("Missing the required parameter '
|
|
1637
|
+
// verify the required parameter 'priceId' is set
|
|
1638
|
+
if (priceId === undefined || priceId === null) {
|
|
1639
|
+
throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");
|
|
1625
1640
|
}
|
|
1626
1641
|
var pathParams = {
|
|
1627
|
-
'
|
|
1642
|
+
'priceId': priceId
|
|
1628
1643
|
};
|
|
1629
1644
|
var queryParams = {
|
|
1630
1645
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1646,14 +1661,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1646
1661
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1647
1662
|
var contentTypes = [];
|
|
1648
1663
|
var accepts = ['application/json'];
|
|
1649
|
-
var returnType =
|
|
1650
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1664
|
+
var returnType = _StripePrice["default"];
|
|
1665
|
+
return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1651
1666
|
}
|
|
1652
1667
|
|
|
1653
1668
|
/**
|
|
1654
|
-
*
|
|
1655
|
-
*
|
|
1656
|
-
* @param {String}
|
|
1669
|
+
* Archives a price
|
|
1670
|
+
* Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
|
|
1671
|
+
* @param {String} priceId The price ID
|
|
1657
1672
|
* @param {Object} opts Optional parameters
|
|
1658
1673
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1659
1674
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1667,20 +1682,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1667
1682
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1668
1683
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1669
1684
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1670
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1685
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePrice}
|
|
1671
1686
|
*/
|
|
1672
1687
|
}, {
|
|
1673
|
-
key: "
|
|
1674
|
-
value: function
|
|
1675
|
-
return this.
|
|
1688
|
+
key: "deleteStripePrice",
|
|
1689
|
+
value: function deleteStripePrice(priceId, opts) {
|
|
1690
|
+
return this.deleteStripePriceWithHttpInfo(priceId, opts).then(function (response_and_data) {
|
|
1676
1691
|
return response_and_data.data;
|
|
1677
1692
|
});
|
|
1678
1693
|
}
|
|
1679
1694
|
|
|
1680
1695
|
/**
|
|
1681
|
-
*
|
|
1682
|
-
*
|
|
1683
|
-
* @param {String}
|
|
1696
|
+
* Deletes a product
|
|
1697
|
+
* Deletes a product
|
|
1698
|
+
* @param {String} productId The product ID
|
|
1684
1699
|
* @param {Object} opts Optional parameters
|
|
1685
1700
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1686
1701
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1694,19 +1709,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1694
1709
|
* @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
|
|
1695
1710
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1696
1711
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1697
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1712
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeProduct} and HTTP response
|
|
1698
1713
|
*/
|
|
1699
1714
|
}, {
|
|
1700
|
-
key: "
|
|
1701
|
-
value: function
|
|
1715
|
+
key: "deleteStripeProductWithHttpInfo",
|
|
1716
|
+
value: function deleteStripeProductWithHttpInfo(productId, opts) {
|
|
1702
1717
|
opts = opts || {};
|
|
1703
1718
|
var postBody = null;
|
|
1704
|
-
// verify the required parameter '
|
|
1705
|
-
if (
|
|
1706
|
-
throw new Error("Missing the required parameter '
|
|
1719
|
+
// verify the required parameter 'productId' is set
|
|
1720
|
+
if (productId === undefined || productId === null) {
|
|
1721
|
+
throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");
|
|
1707
1722
|
}
|
|
1708
1723
|
var pathParams = {
|
|
1709
|
-
'
|
|
1724
|
+
'productId': productId
|
|
1710
1725
|
};
|
|
1711
1726
|
var queryParams = {
|
|
1712
1727
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1728,14 +1743,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1728
1743
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1729
1744
|
var contentTypes = [];
|
|
1730
1745
|
var accepts = ['application/json'];
|
|
1731
|
-
var returnType =
|
|
1732
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1746
|
+
var returnType = _StripeProduct["default"];
|
|
1747
|
+
return this.apiClient.callApi('/payments/stripe/product/{productId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1733
1748
|
}
|
|
1734
1749
|
|
|
1735
1750
|
/**
|
|
1736
|
-
*
|
|
1737
|
-
*
|
|
1738
|
-
* @param {String}
|
|
1751
|
+
* Deletes a product
|
|
1752
|
+
* Deletes a product
|
|
1753
|
+
* @param {String} productId The product ID
|
|
1739
1754
|
* @param {Object} opts Optional parameters
|
|
1740
1755
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1741
1756
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1749,20 +1764,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1749
1764
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1750
1765
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1751
1766
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1752
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
1767
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeProduct}
|
|
1753
1768
|
*/
|
|
1754
1769
|
}, {
|
|
1755
|
-
key: "
|
|
1756
|
-
value: function
|
|
1757
|
-
return this.
|
|
1770
|
+
key: "deleteStripeProduct",
|
|
1771
|
+
value: function deleteStripeProduct(productId, opts) {
|
|
1772
|
+
return this.deleteStripeProductWithHttpInfo(productId, opts).then(function (response_and_data) {
|
|
1758
1773
|
return response_and_data.data;
|
|
1759
1774
|
});
|
|
1760
1775
|
}
|
|
1761
1776
|
|
|
1762
1777
|
/**
|
|
1763
|
-
*
|
|
1764
|
-
*
|
|
1765
|
-
* @param {Number}
|
|
1778
|
+
* Deletes a category
|
|
1779
|
+
* Deletes a category
|
|
1780
|
+
* @param {Number} categoryId The category ID
|
|
1766
1781
|
* @param {Object} opts Optional parameters
|
|
1767
1782
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1768
1783
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1776,19 +1791,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1776
1791
|
* @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
|
|
1777
1792
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1778
1793
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1779
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
1794
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1780
1795
|
*/
|
|
1781
1796
|
}, {
|
|
1782
|
-
key: "
|
|
1783
|
-
value: function
|
|
1797
|
+
key: "deleteStripeProductCategoryWithHttpInfo",
|
|
1798
|
+
value: function deleteStripeProductCategoryWithHttpInfo(categoryId, opts) {
|
|
1784
1799
|
opts = opts || {};
|
|
1785
1800
|
var postBody = null;
|
|
1786
|
-
// verify the required parameter '
|
|
1787
|
-
if (
|
|
1788
|
-
throw new Error("Missing the required parameter '
|
|
1801
|
+
// verify the required parameter 'categoryId' is set
|
|
1802
|
+
if (categoryId === undefined || categoryId === null) {
|
|
1803
|
+
throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");
|
|
1789
1804
|
}
|
|
1790
1805
|
var pathParams = {
|
|
1791
|
-
'
|
|
1806
|
+
'categoryId': categoryId
|
|
1792
1807
|
};
|
|
1793
1808
|
var queryParams = {
|
|
1794
1809
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1809,15 +1824,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1809
1824
|
var formParams = {};
|
|
1810
1825
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1811
1826
|
var contentTypes = [];
|
|
1812
|
-
var accepts = [
|
|
1813
|
-
var returnType =
|
|
1814
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1827
|
+
var accepts = [];
|
|
1828
|
+
var returnType = null;
|
|
1829
|
+
return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1815
1830
|
}
|
|
1816
1831
|
|
|
1817
1832
|
/**
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1820
|
-
* @param {Number}
|
|
1833
|
+
* Deletes a category
|
|
1834
|
+
* Deletes a category
|
|
1835
|
+
* @param {Number} categoryId The category ID
|
|
1821
1836
|
* @param {Object} opts Optional parameters
|
|
1822
1837
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1823
1838
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1831,19 +1846,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1831
1846
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1832
1847
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1833
1848
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1834
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1849
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1835
1850
|
*/
|
|
1836
1851
|
}, {
|
|
1837
|
-
key: "
|
|
1838
|
-
value: function
|
|
1839
|
-
return this.
|
|
1852
|
+
key: "deleteStripeProductCategory",
|
|
1853
|
+
value: function deleteStripeProductCategory(categoryId, opts) {
|
|
1854
|
+
return this.deleteStripeProductCategoryWithHttpInfo(categoryId, opts).then(function (response_and_data) {
|
|
1840
1855
|
return response_and_data.data;
|
|
1841
1856
|
});
|
|
1842
1857
|
}
|
|
1843
1858
|
|
|
1844
1859
|
/**
|
|
1845
|
-
*
|
|
1846
|
-
* Retrieves the default payment for the customer stored in stripe
|
|
1860
|
+
* Root for the API
|
|
1847
1861
|
* @param {Object} opts Optional parameters
|
|
1848
1862
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1849
1863
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1857,11 +1871,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1857
1871
|
* @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
|
|
1858
1872
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1859
1873
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1860
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing
|
|
1874
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1861
1875
|
*/
|
|
1862
1876
|
}, {
|
|
1863
|
-
key: "
|
|
1864
|
-
value: function
|
|
1877
|
+
key: "get6WithHttpInfo",
|
|
1878
|
+
value: function get6WithHttpInfo(opts) {
|
|
1865
1879
|
opts = opts || {};
|
|
1866
1880
|
var postBody = null;
|
|
1867
1881
|
var pathParams = {};
|
|
@@ -1885,13 +1899,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1885
1899
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1886
1900
|
var contentTypes = [];
|
|
1887
1901
|
var accepts = ['application/json'];
|
|
1888
|
-
var returnType =
|
|
1889
|
-
return this.apiClient.callApi('/payments/stripe
|
|
1902
|
+
var returnType = null;
|
|
1903
|
+
return this.apiClient.callApi('/payments/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1890
1904
|
}
|
|
1891
1905
|
|
|
1892
1906
|
/**
|
|
1893
|
-
*
|
|
1894
|
-
* Retrieves the default payment for the customer stored in stripe
|
|
1907
|
+
* Root for the API
|
|
1895
1908
|
* @param {Object} opts Optional parameters
|
|
1896
1909
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1897
1910
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1905,20 +1918,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1905
1918
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1906
1919
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1907
1920
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1908
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1921
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1909
1922
|
*/
|
|
1910
1923
|
}, {
|
|
1911
|
-
key: "
|
|
1912
|
-
value: function
|
|
1913
|
-
return this.
|
|
1924
|
+
key: "get6",
|
|
1925
|
+
value: function get6(opts) {
|
|
1926
|
+
return this.get6WithHttpInfo(opts).then(function (response_and_data) {
|
|
1914
1927
|
return response_and_data.data;
|
|
1915
1928
|
});
|
|
1916
1929
|
}
|
|
1917
1930
|
|
|
1918
1931
|
/**
|
|
1919
|
-
*
|
|
1920
|
-
*
|
|
1921
|
-
* @param {Number} siteid
|
|
1932
|
+
* Gets and object by id
|
|
1933
|
+
* @param {Number} id
|
|
1922
1934
|
* @param {Object} opts Optional parameters
|
|
1923
1935
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1924
1936
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -1932,19 +1944,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1932
1944
|
* @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
|
|
1933
1945
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1934
1946
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1935
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
1947
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponse} and HTTP response
|
|
1936
1948
|
*/
|
|
1937
1949
|
}, {
|
|
1938
|
-
key: "
|
|
1939
|
-
value: function
|
|
1950
|
+
key: "get7WithHttpInfo",
|
|
1951
|
+
value: function get7WithHttpInfo(id, opts) {
|
|
1940
1952
|
opts = opts || {};
|
|
1941
1953
|
var postBody = null;
|
|
1942
|
-
// verify the required parameter '
|
|
1943
|
-
if (
|
|
1944
|
-
throw new Error("Missing the required parameter '
|
|
1954
|
+
// verify the required parameter 'id' is set
|
|
1955
|
+
if (id === undefined || id === null) {
|
|
1956
|
+
throw new Error("Missing the required parameter 'id' when calling get7");
|
|
1945
1957
|
}
|
|
1946
1958
|
var pathParams = {
|
|
1947
|
-
'
|
|
1959
|
+
'id': id
|
|
1948
1960
|
};
|
|
1949
1961
|
var queryParams = {
|
|
1950
1962
|
'cacheduration': opts['cacheduration'],
|
|
@@ -1966,14 +1978,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1966
1978
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1967
1979
|
var contentTypes = [];
|
|
1968
1980
|
var accepts = ['application/json'];
|
|
1969
|
-
var returnType =
|
|
1970
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
1981
|
+
var returnType = _PurgeDataDefaultResponse["default"];
|
|
1982
|
+
return this.apiClient.callApi('/payments/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1971
1983
|
}
|
|
1972
1984
|
|
|
1973
1985
|
/**
|
|
1974
|
-
*
|
|
1975
|
-
*
|
|
1976
|
-
* @param {Number} siteid
|
|
1986
|
+
* Gets and object by id
|
|
1987
|
+
* @param {Number} id
|
|
1977
1988
|
* @param {Object} opts Optional parameters
|
|
1978
1989
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1979
1990
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -1987,19 +1998,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1987
1998
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1988
1999
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1989
2000
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1990
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
2001
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponse}
|
|
1991
2002
|
*/
|
|
1992
2003
|
}, {
|
|
1993
|
-
key: "
|
|
1994
|
-
value: function
|
|
1995
|
-
return this.
|
|
2004
|
+
key: "get7",
|
|
2005
|
+
value: function get7(id, opts) {
|
|
2006
|
+
return this.get7WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1996
2007
|
return response_and_data.data;
|
|
1997
2008
|
});
|
|
1998
2009
|
}
|
|
1999
2010
|
|
|
2000
2011
|
/**
|
|
2001
|
-
* Retrieves the Stripe
|
|
2002
|
-
* Retrieves the Stripe
|
|
2012
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2013
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2014
|
+
* @param {Number} applicationid
|
|
2003
2015
|
* @param {Object} opts Optional parameters
|
|
2004
2016
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2005
2017
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2013,14 +2025,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2013
2025
|
* @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
|
|
2014
2026
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2015
2027
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2016
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
2028
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
2017
2029
|
*/
|
|
2018
2030
|
}, {
|
|
2019
|
-
key: "
|
|
2020
|
-
value: function
|
|
2031
|
+
key: "getApplicationStripePaymentAccountWithHttpInfo",
|
|
2032
|
+
value: function getApplicationStripePaymentAccountWithHttpInfo(applicationid, opts) {
|
|
2021
2033
|
opts = opts || {};
|
|
2022
2034
|
var postBody = null;
|
|
2023
|
-
|
|
2035
|
+
// verify the required parameter 'applicationid' is set
|
|
2036
|
+
if (applicationid === undefined || applicationid === null) {
|
|
2037
|
+
throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");
|
|
2038
|
+
}
|
|
2039
|
+
var pathParams = {
|
|
2040
|
+
'applicationid': applicationid
|
|
2041
|
+
};
|
|
2024
2042
|
var queryParams = {
|
|
2025
2043
|
'cacheduration': opts['cacheduration'],
|
|
2026
2044
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -2041,13 +2059,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2041
2059
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2042
2060
|
var contentTypes = [];
|
|
2043
2061
|
var accepts = ['application/json'];
|
|
2044
|
-
var returnType =
|
|
2045
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
2062
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
2063
|
+
return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2046
2064
|
}
|
|
2047
2065
|
|
|
2048
2066
|
/**
|
|
2049
|
-
* Retrieves the Stripe
|
|
2050
|
-
* Retrieves the Stripe
|
|
2067
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2068
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2069
|
+
* @param {Number} applicationid
|
|
2051
2070
|
* @param {Object} opts Optional parameters
|
|
2052
2071
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2053
2072
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2061,20 +2080,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2061
2080
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2062
2081
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2063
2082
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2064
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
2083
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
|
|
2065
2084
|
*/
|
|
2066
2085
|
}, {
|
|
2067
|
-
key: "
|
|
2068
|
-
value: function
|
|
2069
|
-
return this.
|
|
2086
|
+
key: "getApplicationStripePaymentAccount",
|
|
2087
|
+
value: function getApplicationStripePaymentAccount(applicationid, opts) {
|
|
2088
|
+
return this.getApplicationStripePaymentAccountWithHttpInfo(applicationid, opts).then(function (response_and_data) {
|
|
2070
2089
|
return response_and_data.data;
|
|
2071
2090
|
});
|
|
2072
2091
|
}
|
|
2073
2092
|
|
|
2074
2093
|
/**
|
|
2075
|
-
* Gets the
|
|
2076
|
-
*
|
|
2077
|
-
* @param {Number}
|
|
2094
|
+
* Gets the default payment method
|
|
2095
|
+
* Retrieves the default payment for the customer stored in stripe
|
|
2096
|
+
* @param {Number} customerID The id of the customer
|
|
2078
2097
|
* @param {Object} opts Optional parameters
|
|
2079
2098
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2080
2099
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2088,19 +2107,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2088
2107
|
* @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
|
|
2089
2108
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2090
2109
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2091
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
2110
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
2092
2111
|
*/
|
|
2093
2112
|
}, {
|
|
2094
|
-
key: "
|
|
2095
|
-
value: function
|
|
2113
|
+
key: "getDefaultCustomerStripePaymentMethodWithHttpInfo",
|
|
2114
|
+
value: function getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID, opts) {
|
|
2096
2115
|
opts = opts || {};
|
|
2097
2116
|
var postBody = null;
|
|
2098
|
-
// verify the required parameter '
|
|
2099
|
-
if (
|
|
2100
|
-
throw new Error("Missing the required parameter '
|
|
2117
|
+
// verify the required parameter 'customerID' is set
|
|
2118
|
+
if (customerID === undefined || customerID === null) {
|
|
2119
|
+
throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");
|
|
2101
2120
|
}
|
|
2102
2121
|
var pathParams = {
|
|
2103
|
-
'
|
|
2122
|
+
'customerID': customerID
|
|
2104
2123
|
};
|
|
2105
2124
|
var queryParams = {
|
|
2106
2125
|
'cacheduration': opts['cacheduration'],
|
|
@@ -2122,14 +2141,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2122
2141
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2123
2142
|
var contentTypes = [];
|
|
2124
2143
|
var accepts = ['application/json'];
|
|
2125
|
-
var returnType =
|
|
2126
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
2144
|
+
var returnType = _PaymentMethodResponse["default"];
|
|
2145
|
+
return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2127
2146
|
}
|
|
2128
2147
|
|
|
2129
2148
|
/**
|
|
2130
|
-
* Gets the
|
|
2131
|
-
*
|
|
2132
|
-
* @param {Number}
|
|
2149
|
+
* Gets the default payment method
|
|
2150
|
+
* Retrieves the default payment for the customer stored in stripe
|
|
2151
|
+
* @param {Number} customerID The id of the customer
|
|
2133
2152
|
* @param {Object} opts Optional parameters
|
|
2134
2153
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2135
2154
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2143,19 +2162,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2143
2162
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2144
2163
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2145
2164
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2146
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
2165
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
|
|
2147
2166
|
*/
|
|
2148
2167
|
}, {
|
|
2149
|
-
key: "
|
|
2150
|
-
value: function
|
|
2151
|
-
return this.
|
|
2168
|
+
key: "getDefaultCustomerStripePaymentMethod",
|
|
2169
|
+
value: function getDefaultCustomerStripePaymentMethod(customerID, opts) {
|
|
2170
|
+
return this.getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID, opts).then(function (response_and_data) {
|
|
2152
2171
|
return response_and_data.data;
|
|
2153
2172
|
});
|
|
2154
2173
|
}
|
|
2155
2174
|
|
|
2156
2175
|
/**
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2176
|
+
* Gets the default payment method
|
|
2177
|
+
* Retrieves the default payment for the customer stored in stripe
|
|
2159
2178
|
* @param {Object} opts Optional parameters
|
|
2160
2179
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2161
2180
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2169,11 +2188,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2169
2188
|
* @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
|
|
2170
2189
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2171
2190
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2172
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link
|
|
2191
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
2173
2192
|
*/
|
|
2174
2193
|
}, {
|
|
2175
|
-
key: "
|
|
2176
|
-
value: function
|
|
2194
|
+
key: "getDefaultStripePaymentMethodWithHttpInfo",
|
|
2195
|
+
value: function getDefaultStripePaymentMethodWithHttpInfo(opts) {
|
|
2177
2196
|
opts = opts || {};
|
|
2178
2197
|
var postBody = null;
|
|
2179
2198
|
var pathParams = {};
|
|
@@ -2196,14 +2215,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2196
2215
|
var formParams = {};
|
|
2197
2216
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2198
2217
|
var contentTypes = [];
|
|
2199
|
-
var accepts = ['
|
|
2200
|
-
var returnType =
|
|
2201
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
2218
|
+
var accepts = ['application/json'];
|
|
2219
|
+
var returnType = _PaymentMethodResponse["default"];
|
|
2220
|
+
return this.apiClient.callApi('/payments/stripe/paymentmethods/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2202
2221
|
}
|
|
2203
2222
|
|
|
2204
2223
|
/**
|
|
2205
|
-
*
|
|
2206
|
-
*
|
|
2224
|
+
* Gets the default payment method
|
|
2225
|
+
* Retrieves the default payment for the customer stored in stripe
|
|
2207
2226
|
* @param {Object} opts Optional parameters
|
|
2208
2227
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2209
2228
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2217,19 +2236,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2217
2236
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2218
2237
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2219
2238
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2220
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link
|
|
2239
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
|
|
2221
2240
|
*/
|
|
2222
2241
|
}, {
|
|
2223
|
-
key: "
|
|
2224
|
-
value: function
|
|
2225
|
-
return this.
|
|
2242
|
+
key: "getDefaultStripePaymentMethod",
|
|
2243
|
+
value: function getDefaultStripePaymentMethod(opts) {
|
|
2244
|
+
return this.getDefaultStripePaymentMethodWithHttpInfo(opts).then(function (response_and_data) {
|
|
2226
2245
|
return response_and_data.data;
|
|
2227
2246
|
});
|
|
2228
2247
|
}
|
|
2229
2248
|
|
|
2230
2249
|
/**
|
|
2231
|
-
*
|
|
2232
|
-
*
|
|
2250
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2251
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2252
|
+
* @param {Number} siteid
|
|
2233
2253
|
* @param {Object} opts Optional parameters
|
|
2234
2254
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2235
2255
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2243,14 +2263,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2243
2263
|
* @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
|
|
2244
2264
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2245
2265
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2246
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
2266
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
2247
2267
|
*/
|
|
2248
2268
|
}, {
|
|
2249
|
-
key: "
|
|
2250
|
-
value: function
|
|
2269
|
+
key: "getSiteStripePaymentAccountWithHttpInfo",
|
|
2270
|
+
value: function getSiteStripePaymentAccountWithHttpInfo(siteid, opts) {
|
|
2251
2271
|
opts = opts || {};
|
|
2252
2272
|
var postBody = null;
|
|
2253
|
-
|
|
2273
|
+
// verify the required parameter 'siteid' is set
|
|
2274
|
+
if (siteid === undefined || siteid === null) {
|
|
2275
|
+
throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");
|
|
2276
|
+
}
|
|
2277
|
+
var pathParams = {
|
|
2278
|
+
'siteid': siteid
|
|
2279
|
+
};
|
|
2254
2280
|
var queryParams = {
|
|
2255
2281
|
'cacheduration': opts['cacheduration'],
|
|
2256
2282
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -2271,13 +2297,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2271
2297
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2272
2298
|
var contentTypes = [];
|
|
2273
2299
|
var accepts = ['application/json'];
|
|
2274
|
-
var returnType =
|
|
2275
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
2300
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
2301
|
+
return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2276
2302
|
}
|
|
2277
2303
|
|
|
2278
2304
|
/**
|
|
2279
|
-
*
|
|
2280
|
-
*
|
|
2305
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2306
|
+
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2307
|
+
* @param {Number} siteid
|
|
2281
2308
|
* @param {Object} opts Optional parameters
|
|
2282
2309
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2283
2310
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2291,18 +2318,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2291
2318
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2292
2319
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2293
2320
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2294
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
2321
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
|
|
2295
2322
|
*/
|
|
2296
2323
|
}, {
|
|
2297
|
-
key: "
|
|
2298
|
-
value: function
|
|
2299
|
-
return this.
|
|
2324
|
+
key: "getSiteStripePaymentAccount",
|
|
2325
|
+
value: function getSiteStripePaymentAccount(siteid, opts) {
|
|
2326
|
+
return this.getSiteStripePaymentAccountWithHttpInfo(siteid, opts).then(function (response_and_data) {
|
|
2300
2327
|
return response_and_data.data;
|
|
2301
2328
|
});
|
|
2302
2329
|
}
|
|
2303
2330
|
|
|
2304
2331
|
/**
|
|
2305
|
-
* Retrieves the Stripe
|
|
2332
|
+
* Retrieves the Stripe Account For the Logged In User
|
|
2306
2333
|
* Retrieves the Stripe Customer Account
|
|
2307
2334
|
* @param {Object} opts Optional parameters
|
|
2308
2335
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -2317,11 +2344,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2317
2344
|
* @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
|
|
2318
2345
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2319
2346
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2320
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
2347
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
2321
2348
|
*/
|
|
2322
2349
|
}, {
|
|
2323
|
-
key: "
|
|
2324
|
-
value: function
|
|
2350
|
+
key: "getStripeAccountWithHttpInfo",
|
|
2351
|
+
value: function getStripeAccountWithHttpInfo(opts) {
|
|
2325
2352
|
opts = opts || {};
|
|
2326
2353
|
var postBody = null;
|
|
2327
2354
|
var pathParams = {};
|
|
@@ -2345,12 +2372,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2345
2372
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2346
2373
|
var contentTypes = [];
|
|
2347
2374
|
var accepts = ['application/json'];
|
|
2348
|
-
var returnType =
|
|
2349
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
2375
|
+
var returnType = _CreateAccountResponse["default"];
|
|
2376
|
+
return this.apiClient.callApi('/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2350
2377
|
}
|
|
2351
2378
|
|
|
2352
2379
|
/**
|
|
2353
|
-
* Retrieves the Stripe
|
|
2380
|
+
* Retrieves the Stripe Account For the Logged In User
|
|
2354
2381
|
* Retrieves the Stripe Customer Account
|
|
2355
2382
|
* @param {Object} opts Optional parameters
|
|
2356
2383
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -2365,20 +2392,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2365
2392
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2366
2393
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2367
2394
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2368
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
2395
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAccountResponse}
|
|
2369
2396
|
*/
|
|
2370
2397
|
}, {
|
|
2371
|
-
key: "
|
|
2372
|
-
value: function
|
|
2373
|
-
return this.
|
|
2398
|
+
key: "getStripeAccount",
|
|
2399
|
+
value: function getStripeAccount(opts) {
|
|
2400
|
+
return this.getStripeAccountWithHttpInfo(opts).then(function (response_and_data) {
|
|
2374
2401
|
return response_and_data.data;
|
|
2375
2402
|
});
|
|
2376
2403
|
}
|
|
2377
2404
|
|
|
2378
2405
|
/**
|
|
2379
|
-
*
|
|
2380
|
-
*
|
|
2381
|
-
* @param {Number}
|
|
2406
|
+
* Gets the balance of the logged in user
|
|
2407
|
+
* Gets the balance of the logged in user
|
|
2408
|
+
* @param {Number} accountID The id of the account we are getting the balance for
|
|
2382
2409
|
* @param {Object} opts Optional parameters
|
|
2383
2410
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2384
2411
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2392,19 +2419,1127 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2392
2419
|
* @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
|
|
2393
2420
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2394
2421
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2395
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
2422
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
|
|
2423
|
+
*/
|
|
2424
|
+
}, {
|
|
2425
|
+
key: "getStripeAccountBalanceWithHttpInfo",
|
|
2426
|
+
value: function getStripeAccountBalanceWithHttpInfo(accountID, opts) {
|
|
2427
|
+
opts = opts || {};
|
|
2428
|
+
var postBody = null;
|
|
2429
|
+
// verify the required parameter 'accountID' is set
|
|
2430
|
+
if (accountID === undefined || accountID === null) {
|
|
2431
|
+
throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
|
|
2432
|
+
}
|
|
2433
|
+
var pathParams = {
|
|
2434
|
+
'accountID': accountID
|
|
2435
|
+
};
|
|
2436
|
+
var queryParams = {
|
|
2437
|
+
'cacheduration': opts['cacheduration'],
|
|
2438
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2439
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2440
|
+
'cachescope': opts['cachescope'],
|
|
2441
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2442
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2443
|
+
};
|
|
2444
|
+
var headerParams = {
|
|
2445
|
+
'Authorization': opts['authorization'],
|
|
2446
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2447
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2448
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2449
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2450
|
+
'transactionid': opts['transactionid']
|
|
2451
|
+
};
|
|
2452
|
+
var formParams = {};
|
|
2453
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2454
|
+
var contentTypes = [];
|
|
2455
|
+
var accepts = ['application/json'];
|
|
2456
|
+
var returnType = _BalanceResponse["default"];
|
|
2457
|
+
return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Gets the balance of the logged in user
|
|
2462
|
+
* Gets the balance of the logged in user
|
|
2463
|
+
* @param {Number} accountID The id of the account we are getting the balance for
|
|
2464
|
+
* @param {Object} opts Optional parameters
|
|
2465
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2466
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2467
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2468
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2469
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2470
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2471
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2472
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2473
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2474
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2475
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2476
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2477
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
|
|
2478
|
+
*/
|
|
2479
|
+
}, {
|
|
2480
|
+
key: "getStripeAccountBalance",
|
|
2481
|
+
value: function getStripeAccountBalance(accountID, opts) {
|
|
2482
|
+
return this.getStripeAccountBalanceWithHttpInfo(accountID, opts).then(function (response_and_data) {
|
|
2483
|
+
return response_and_data.data;
|
|
2484
|
+
});
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* Returns the publishable API key for Stripe
|
|
2489
|
+
* Returns the publishable API key for Stripe
|
|
2490
|
+
* @param {Object} opts Optional parameters
|
|
2491
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2492
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2493
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2494
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2495
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2496
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2497
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2498
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2499
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2500
|
+
* @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
|
|
2501
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2502
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2503
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
|
|
2504
|
+
*/
|
|
2505
|
+
}, {
|
|
2506
|
+
key: "getStripeApiKeyWithHttpInfo",
|
|
2507
|
+
value: function getStripeApiKeyWithHttpInfo(opts) {
|
|
2508
|
+
opts = opts || {};
|
|
2509
|
+
var postBody = null;
|
|
2510
|
+
var pathParams = {};
|
|
2511
|
+
var queryParams = {
|
|
2512
|
+
'cacheduration': opts['cacheduration'],
|
|
2513
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2514
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2515
|
+
'cachescope': opts['cachescope'],
|
|
2516
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2517
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2518
|
+
};
|
|
2519
|
+
var headerParams = {
|
|
2520
|
+
'Authorization': opts['authorization'],
|
|
2521
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2522
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2523
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2524
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2525
|
+
'transactionid': opts['transactionid']
|
|
2526
|
+
};
|
|
2527
|
+
var formParams = {};
|
|
2528
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2529
|
+
var contentTypes = [];
|
|
2530
|
+
var accepts = ['text/plain'];
|
|
2531
|
+
var returnType = 'String';
|
|
2532
|
+
return this.apiClient.callApi('/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* Returns the publishable API key for Stripe
|
|
2537
|
+
* Returns the publishable API key for Stripe
|
|
2538
|
+
* @param {Object} opts Optional parameters
|
|
2539
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2540
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2541
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2542
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2543
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2544
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2545
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2546
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2547
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2548
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2549
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2550
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2551
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link String}
|
|
2552
|
+
*/
|
|
2553
|
+
}, {
|
|
2554
|
+
key: "getStripeApiKey",
|
|
2555
|
+
value: function getStripeApiKey(opts) {
|
|
2556
|
+
return this.getStripeApiKeyWithHttpInfo(opts).then(function (response_and_data) {
|
|
2557
|
+
return response_and_data.data;
|
|
2558
|
+
});
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* Gets the balance of the logged in user
|
|
2563
|
+
* Gets the balance of the logged in user
|
|
2564
|
+
* @param {Object} opts Optional parameters
|
|
2565
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2566
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2567
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2568
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2569
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2570
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2571
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2572
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2573
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2574
|
+
* @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
|
|
2575
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2576
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2577
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
|
|
2578
|
+
*/
|
|
2579
|
+
}, {
|
|
2580
|
+
key: "getStripeBalanceWithHttpInfo",
|
|
2581
|
+
value: function getStripeBalanceWithHttpInfo(opts) {
|
|
2582
|
+
opts = opts || {};
|
|
2583
|
+
var postBody = null;
|
|
2584
|
+
var pathParams = {};
|
|
2585
|
+
var queryParams = {
|
|
2586
|
+
'cacheduration': opts['cacheduration'],
|
|
2587
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2588
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2589
|
+
'cachescope': opts['cachescope'],
|
|
2590
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2591
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2592
|
+
};
|
|
2593
|
+
var headerParams = {
|
|
2594
|
+
'Authorization': opts['authorization'],
|
|
2595
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2596
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2597
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2598
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2599
|
+
'transactionid': opts['transactionid']
|
|
2600
|
+
};
|
|
2601
|
+
var formParams = {};
|
|
2602
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2603
|
+
var contentTypes = [];
|
|
2604
|
+
var accepts = ['application/json'];
|
|
2605
|
+
var returnType = _BalanceResponse["default"];
|
|
2606
|
+
return this.apiClient.callApi('/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* Gets the balance of the logged in user
|
|
2611
|
+
* Gets the balance of the logged in user
|
|
2612
|
+
* @param {Object} opts Optional parameters
|
|
2613
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2614
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2615
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2616
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2617
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2618
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2619
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2620
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2621
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2622
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2623
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2624
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2625
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
|
|
2626
|
+
*/
|
|
2627
|
+
}, {
|
|
2628
|
+
key: "getStripeBalance",
|
|
2629
|
+
value: function getStripeBalance(opts) {
|
|
2630
|
+
return this.getStripeBalanceWithHttpInfo(opts).then(function (response_and_data) {
|
|
2631
|
+
return response_and_data.data;
|
|
2632
|
+
});
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* Retrieves a Stripe Checkout Session
|
|
2637
|
+
* Retrieves the details of a checkout session by ID
|
|
2638
|
+
* @param {String} sessionId The checkout session ID
|
|
2639
|
+
* @param {Object} opts Optional parameters
|
|
2640
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2641
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2642
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2643
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2644
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2645
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2646
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2647
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2648
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2649
|
+
* @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
|
|
2650
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2651
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2652
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeCheckoutSession} and HTTP response
|
|
2653
|
+
*/
|
|
2654
|
+
}, {
|
|
2655
|
+
key: "getStripeCheckoutSessionWithHttpInfo",
|
|
2656
|
+
value: function getStripeCheckoutSessionWithHttpInfo(sessionId, opts) {
|
|
2657
|
+
opts = opts || {};
|
|
2658
|
+
var postBody = null;
|
|
2659
|
+
// verify the required parameter 'sessionId' is set
|
|
2660
|
+
if (sessionId === undefined || sessionId === null) {
|
|
2661
|
+
throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");
|
|
2662
|
+
}
|
|
2663
|
+
var pathParams = {
|
|
2664
|
+
'sessionId': sessionId
|
|
2665
|
+
};
|
|
2666
|
+
var queryParams = {
|
|
2667
|
+
'cacheduration': opts['cacheduration'],
|
|
2668
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2669
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2670
|
+
'cachescope': opts['cachescope'],
|
|
2671
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2672
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2673
|
+
};
|
|
2674
|
+
var headerParams = {
|
|
2675
|
+
'Authorization': opts['authorization'],
|
|
2676
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2677
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2678
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2679
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2680
|
+
'transactionid': opts['transactionid']
|
|
2681
|
+
};
|
|
2682
|
+
var formParams = {};
|
|
2683
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2684
|
+
var contentTypes = [];
|
|
2685
|
+
var accepts = ['application/json'];
|
|
2686
|
+
var returnType = _StripeCheckoutSession["default"];
|
|
2687
|
+
return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Retrieves a Stripe Checkout Session
|
|
2692
|
+
* Retrieves the details of a checkout session by ID
|
|
2693
|
+
* @param {String} sessionId The checkout session ID
|
|
2694
|
+
* @param {Object} opts Optional parameters
|
|
2695
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2696
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2697
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2698
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2699
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2700
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2701
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2702
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2703
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2704
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2705
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2706
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2707
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeCheckoutSession}
|
|
2708
|
+
*/
|
|
2709
|
+
}, {
|
|
2710
|
+
key: "getStripeCheckoutSession",
|
|
2711
|
+
value: function getStripeCheckoutSession(sessionId, opts) {
|
|
2712
|
+
return this.getStripeCheckoutSessionWithHttpInfo(sessionId, opts).then(function (response_and_data) {
|
|
2713
|
+
return response_and_data.data;
|
|
2714
|
+
});
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
/**
|
|
2718
|
+
* Retrieves the payment intent for a checkout session
|
|
2719
|
+
* Retrieves the payment intent associated with a checkout session to verify payment status
|
|
2720
|
+
* @param {String} sessionId The checkout session ID
|
|
2721
|
+
* @param {Object} opts Optional parameters
|
|
2722
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2723
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2724
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2725
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2726
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2727
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2728
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2729
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2730
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2731
|
+
* @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
|
|
2732
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2733
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2734
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePaymentIntent} and HTTP response
|
|
2735
|
+
*/
|
|
2736
|
+
}, {
|
|
2737
|
+
key: "getStripeCheckoutSessionPaymentWithHttpInfo",
|
|
2738
|
+
value: function getStripeCheckoutSessionPaymentWithHttpInfo(sessionId, opts) {
|
|
2739
|
+
opts = opts || {};
|
|
2740
|
+
var postBody = null;
|
|
2741
|
+
// verify the required parameter 'sessionId' is set
|
|
2742
|
+
if (sessionId === undefined || sessionId === null) {
|
|
2743
|
+
throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");
|
|
2744
|
+
}
|
|
2745
|
+
var pathParams = {
|
|
2746
|
+
'sessionId': sessionId
|
|
2747
|
+
};
|
|
2748
|
+
var queryParams = {
|
|
2749
|
+
'cacheduration': opts['cacheduration'],
|
|
2750
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2751
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2752
|
+
'cachescope': opts['cachescope'],
|
|
2753
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2754
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2755
|
+
};
|
|
2756
|
+
var headerParams = {
|
|
2757
|
+
'Authorization': opts['authorization'],
|
|
2758
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2759
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2760
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2761
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2762
|
+
'transactionid': opts['transactionid']
|
|
2763
|
+
};
|
|
2764
|
+
var formParams = {};
|
|
2765
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2766
|
+
var contentTypes = [];
|
|
2767
|
+
var accepts = ['application/json'];
|
|
2768
|
+
var returnType = _StripePaymentIntent["default"];
|
|
2769
|
+
return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* Retrieves the payment intent for a checkout session
|
|
2774
|
+
* Retrieves the payment intent associated with a checkout session to verify payment status
|
|
2775
|
+
* @param {String} sessionId The checkout session ID
|
|
2776
|
+
* @param {Object} opts Optional parameters
|
|
2777
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2778
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2779
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2780
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2781
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2782
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2783
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2784
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2785
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2786
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2787
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2788
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2789
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePaymentIntent}
|
|
2790
|
+
*/
|
|
2791
|
+
}, {
|
|
2792
|
+
key: "getStripeCheckoutSessionPayment",
|
|
2793
|
+
value: function getStripeCheckoutSessionPayment(sessionId, opts) {
|
|
2794
|
+
return this.getStripeCheckoutSessionPaymentWithHttpInfo(sessionId, opts).then(function (response_and_data) {
|
|
2795
|
+
return response_and_data.data;
|
|
2796
|
+
});
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* Retrieves the Stripe Customer Account For the Logged In User
|
|
2801
|
+
* Retrieves the Stripe Customer Account
|
|
2802
|
+
* @param {Object} opts Optional parameters
|
|
2803
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2804
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2805
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2806
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2807
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2808
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2809
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2810
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2811
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2812
|
+
* @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
|
|
2813
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2814
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2815
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
2816
|
+
*/
|
|
2817
|
+
}, {
|
|
2818
|
+
key: "getStripeCustomerAccountWithHttpInfo",
|
|
2819
|
+
value: function getStripeCustomerAccountWithHttpInfo(opts) {
|
|
2820
|
+
opts = opts || {};
|
|
2821
|
+
var postBody = null;
|
|
2822
|
+
var pathParams = {};
|
|
2823
|
+
var queryParams = {
|
|
2824
|
+
'cacheduration': opts['cacheduration'],
|
|
2825
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2826
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2827
|
+
'cachescope': opts['cachescope'],
|
|
2828
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2829
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2830
|
+
};
|
|
2831
|
+
var headerParams = {
|
|
2832
|
+
'Authorization': opts['authorization'],
|
|
2833
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2834
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2835
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2836
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2837
|
+
'transactionid': opts['transactionid']
|
|
2838
|
+
};
|
|
2839
|
+
var formParams = {};
|
|
2840
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2841
|
+
var contentTypes = [];
|
|
2842
|
+
var accepts = ['application/json'];
|
|
2843
|
+
var returnType = _CustomerResponse["default"];
|
|
2844
|
+
return this.apiClient.callApi('/payments/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
/**
|
|
2848
|
+
* Retrieves the Stripe Customer Account For the Logged In User
|
|
2849
|
+
* Retrieves the Stripe Customer Account
|
|
2850
|
+
* @param {Object} opts Optional parameters
|
|
2851
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2852
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2853
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2854
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2855
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2856
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2857
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2858
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2859
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2860
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2861
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2862
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2863
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomerResponse}
|
|
2864
|
+
*/
|
|
2865
|
+
}, {
|
|
2866
|
+
key: "getStripeCustomerAccount",
|
|
2867
|
+
value: function getStripeCustomerAccount(opts) {
|
|
2868
|
+
return this.getStripeCustomerAccountWithHttpInfo(opts).then(function (response_and_data) {
|
|
2869
|
+
return response_and_data.data;
|
|
2870
|
+
});
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
2875
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
2876
|
+
* @param {Number} customerID The customerid to update
|
|
2877
|
+
* @param {Object} opts Optional parameters
|
|
2878
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2879
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2880
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2881
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2882
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2883
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2884
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2885
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2886
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2887
|
+
* @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
|
|
2888
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2889
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2890
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
|
|
2891
|
+
*/
|
|
2892
|
+
}, {
|
|
2893
|
+
key: "getStripeCustomerPaymentMethodsWithHttpInfo",
|
|
2894
|
+
value: function getStripeCustomerPaymentMethodsWithHttpInfo(customerID, opts) {
|
|
2895
|
+
opts = opts || {};
|
|
2896
|
+
var postBody = null;
|
|
2897
|
+
// verify the required parameter 'customerID' is set
|
|
2898
|
+
if (customerID === undefined || customerID === null) {
|
|
2899
|
+
throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
|
|
2900
|
+
}
|
|
2901
|
+
var pathParams = {
|
|
2902
|
+
'customerID': customerID
|
|
2903
|
+
};
|
|
2904
|
+
var queryParams = {
|
|
2905
|
+
'cacheduration': opts['cacheduration'],
|
|
2906
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2907
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2908
|
+
'cachescope': opts['cachescope'],
|
|
2909
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2910
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2911
|
+
};
|
|
2912
|
+
var headerParams = {
|
|
2913
|
+
'Authorization': opts['authorization'],
|
|
2914
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2915
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2916
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2917
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2918
|
+
'transactionid': opts['transactionid']
|
|
2919
|
+
};
|
|
2920
|
+
var formParams = {};
|
|
2921
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2922
|
+
var contentTypes = [];
|
|
2923
|
+
var accepts = ['application/json'];
|
|
2924
|
+
var returnType = _PaymentMethodsResponse["default"];
|
|
2925
|
+
return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
2930
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
2931
|
+
* @param {Number} customerID The customerid to update
|
|
2932
|
+
* @param {Object} opts Optional parameters
|
|
2933
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2934
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
2935
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2936
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2937
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
2938
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2939
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
2940
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2941
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2942
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2943
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2944
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2945
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodsResponse}
|
|
2946
|
+
*/
|
|
2947
|
+
}, {
|
|
2948
|
+
key: "getStripeCustomerPaymentMethods",
|
|
2949
|
+
value: function getStripeCustomerPaymentMethods(customerID, opts) {
|
|
2950
|
+
return this.getStripeCustomerPaymentMethodsWithHttpInfo(customerID, opts).then(function (response_and_data) {
|
|
2951
|
+
return response_and_data.data;
|
|
2952
|
+
});
|
|
2953
|
+
}
|
|
2954
|
+
|
|
2955
|
+
/**
|
|
2956
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
2957
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
2958
|
+
* @param {Object} opts Optional parameters
|
|
2959
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
2960
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
2961
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
2962
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
2963
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
2964
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
2965
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
2966
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2967
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2968
|
+
* @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
|
|
2969
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2970
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2971
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
|
|
2972
|
+
*/
|
|
2973
|
+
}, {
|
|
2974
|
+
key: "getStripePaymentMethodsWithHttpInfo",
|
|
2975
|
+
value: function getStripePaymentMethodsWithHttpInfo(opts) {
|
|
2976
|
+
opts = opts || {};
|
|
2977
|
+
var postBody = null;
|
|
2978
|
+
var pathParams = {};
|
|
2979
|
+
var queryParams = {
|
|
2980
|
+
'cacheduration': opts['cacheduration'],
|
|
2981
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
2982
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
2983
|
+
'cachescope': opts['cachescope'],
|
|
2984
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
2985
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
2986
|
+
};
|
|
2987
|
+
var headerParams = {
|
|
2988
|
+
'Authorization': opts['authorization'],
|
|
2989
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
2990
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
2991
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2992
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
2993
|
+
'transactionid': opts['transactionid']
|
|
2994
|
+
};
|
|
2995
|
+
var formParams = {};
|
|
2996
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2997
|
+
var contentTypes = [];
|
|
2998
|
+
var accepts = ['application/json'];
|
|
2999
|
+
var returnType = _PaymentMethodsResponse["default"];
|
|
3000
|
+
return this.apiClient.callApi('/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
3005
|
+
* Retrieves the payment methods for the customer stored in stripe
|
|
3006
|
+
* @param {Object} opts Optional parameters
|
|
3007
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3008
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3009
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3010
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3011
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3012
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3013
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3014
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3015
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3016
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3017
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3018
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3019
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodsResponse}
|
|
3020
|
+
*/
|
|
3021
|
+
}, {
|
|
3022
|
+
key: "getStripePaymentMethods",
|
|
3023
|
+
value: function getStripePaymentMethods(opts) {
|
|
3024
|
+
return this.getStripePaymentMethodsWithHttpInfo(opts).then(function (response_and_data) {
|
|
3025
|
+
return response_and_data.data;
|
|
3026
|
+
});
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
/**
|
|
3030
|
+
* Retrieves a price by ID
|
|
3031
|
+
* Gets the details of a specific price
|
|
3032
|
+
* @param {String} priceId The price ID
|
|
3033
|
+
* @param {Object} opts Optional parameters
|
|
3034
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3035
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3036
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3037
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3038
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3039
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3040
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3041
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3042
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3043
|
+
* @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
|
|
3044
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3045
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3046
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
|
|
3047
|
+
*/
|
|
3048
|
+
}, {
|
|
3049
|
+
key: "getStripePriceWithHttpInfo",
|
|
3050
|
+
value: function getStripePriceWithHttpInfo(priceId, opts) {
|
|
3051
|
+
opts = opts || {};
|
|
3052
|
+
var postBody = null;
|
|
3053
|
+
// verify the required parameter 'priceId' is set
|
|
3054
|
+
if (priceId === undefined || priceId === null) {
|
|
3055
|
+
throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");
|
|
3056
|
+
}
|
|
3057
|
+
var pathParams = {
|
|
3058
|
+
'priceId': priceId
|
|
3059
|
+
};
|
|
3060
|
+
var queryParams = {
|
|
3061
|
+
'cacheduration': opts['cacheduration'],
|
|
3062
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
3063
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3064
|
+
'cachescope': opts['cachescope'],
|
|
3065
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
3066
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3067
|
+
};
|
|
3068
|
+
var headerParams = {
|
|
3069
|
+
'Authorization': opts['authorization'],
|
|
3070
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3071
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
3072
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3073
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3074
|
+
'transactionid': opts['transactionid']
|
|
3075
|
+
};
|
|
3076
|
+
var formParams = {};
|
|
3077
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3078
|
+
var contentTypes = [];
|
|
3079
|
+
var accepts = ['application/json'];
|
|
3080
|
+
var returnType = _StripePrice["default"];
|
|
3081
|
+
return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
/**
|
|
3085
|
+
* Retrieves a price by ID
|
|
3086
|
+
* Gets the details of a specific price
|
|
3087
|
+
* @param {String} priceId The price ID
|
|
3088
|
+
* @param {Object} opts Optional parameters
|
|
3089
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3090
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3091
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3092
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3093
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3094
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3095
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3096
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3097
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3098
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3099
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3100
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3101
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePrice}
|
|
3102
|
+
*/
|
|
3103
|
+
}, {
|
|
3104
|
+
key: "getStripePrice",
|
|
3105
|
+
value: function getStripePrice(priceId, opts) {
|
|
3106
|
+
return this.getStripePriceWithHttpInfo(priceId, opts).then(function (response_and_data) {
|
|
3107
|
+
return response_and_data.data;
|
|
3108
|
+
});
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Retrieves a product by ID
|
|
3113
|
+
* Gets the details of a specific product
|
|
3114
|
+
* @param {String} productId The product ID
|
|
3115
|
+
* @param {Object} opts Optional parameters
|
|
3116
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3117
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3118
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3119
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3120
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3121
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3122
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3123
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3124
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3125
|
+
* @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
|
|
3126
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3127
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3128
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeProduct} and HTTP response
|
|
3129
|
+
*/
|
|
3130
|
+
}, {
|
|
3131
|
+
key: "getStripeProductWithHttpInfo",
|
|
3132
|
+
value: function getStripeProductWithHttpInfo(productId, opts) {
|
|
3133
|
+
opts = opts || {};
|
|
3134
|
+
var postBody = null;
|
|
3135
|
+
// verify the required parameter 'productId' is set
|
|
3136
|
+
if (productId === undefined || productId === null) {
|
|
3137
|
+
throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");
|
|
3138
|
+
}
|
|
3139
|
+
var pathParams = {
|
|
3140
|
+
'productId': productId
|
|
3141
|
+
};
|
|
3142
|
+
var queryParams = {
|
|
3143
|
+
'cacheduration': opts['cacheduration'],
|
|
3144
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
3145
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3146
|
+
'cachescope': opts['cachescope'],
|
|
3147
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
3148
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3149
|
+
};
|
|
3150
|
+
var headerParams = {
|
|
3151
|
+
'Authorization': opts['authorization'],
|
|
3152
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3153
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
3154
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3155
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3156
|
+
'transactionid': opts['transactionid']
|
|
3157
|
+
};
|
|
3158
|
+
var formParams = {};
|
|
3159
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3160
|
+
var contentTypes = [];
|
|
3161
|
+
var accepts = ['application/json'];
|
|
3162
|
+
var returnType = _StripeProduct["default"];
|
|
3163
|
+
return this.apiClient.callApi('/payments/stripe/product/{productId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* Retrieves a product by ID
|
|
3168
|
+
* Gets the details of a specific product
|
|
3169
|
+
* @param {String} productId The product ID
|
|
3170
|
+
* @param {Object} opts Optional parameters
|
|
3171
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3172
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3173
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3174
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3175
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3176
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3177
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3178
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3179
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3180
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3181
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3182
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3183
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeProduct}
|
|
3184
|
+
*/
|
|
3185
|
+
}, {
|
|
3186
|
+
key: "getStripeProduct",
|
|
3187
|
+
value: function getStripeProduct(productId, opts) {
|
|
3188
|
+
return this.getStripeProductWithHttpInfo(productId, opts).then(function (response_and_data) {
|
|
3189
|
+
return response_and_data.data;
|
|
3190
|
+
});
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* Retrieves a category by ID
|
|
3195
|
+
* Gets the details of a specific category
|
|
3196
|
+
* @param {Number} categoryId The category ID
|
|
3197
|
+
* @param {Object} opts Optional parameters
|
|
3198
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3199
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3200
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3201
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3202
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3203
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3204
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3205
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3206
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3207
|
+
* @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
|
|
3208
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3209
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3210
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategory} and HTTP response
|
|
3211
|
+
*/
|
|
3212
|
+
}, {
|
|
3213
|
+
key: "getStripeProductCategoryWithHttpInfo",
|
|
3214
|
+
value: function getStripeProductCategoryWithHttpInfo(categoryId, opts) {
|
|
3215
|
+
opts = opts || {};
|
|
3216
|
+
var postBody = null;
|
|
3217
|
+
// verify the required parameter 'categoryId' is set
|
|
3218
|
+
if (categoryId === undefined || categoryId === null) {
|
|
3219
|
+
throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");
|
|
3220
|
+
}
|
|
3221
|
+
var pathParams = {
|
|
3222
|
+
'categoryId': categoryId
|
|
3223
|
+
};
|
|
3224
|
+
var queryParams = {
|
|
3225
|
+
'cacheduration': opts['cacheduration'],
|
|
3226
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
3227
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3228
|
+
'cachescope': opts['cachescope'],
|
|
3229
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
3230
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3231
|
+
};
|
|
3232
|
+
var headerParams = {
|
|
3233
|
+
'Authorization': opts['authorization'],
|
|
3234
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3235
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
3236
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3237
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3238
|
+
'transactionid': opts['transactionid']
|
|
3239
|
+
};
|
|
3240
|
+
var formParams = {};
|
|
3241
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3242
|
+
var contentTypes = [];
|
|
3243
|
+
var accepts = ['application/json'];
|
|
3244
|
+
var returnType = _ProductCategory["default"];
|
|
3245
|
+
return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Retrieves a category by ID
|
|
3250
|
+
* Gets the details of a specific category
|
|
3251
|
+
* @param {Number} categoryId The category ID
|
|
3252
|
+
* @param {Object} opts Optional parameters
|
|
3253
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3254
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3255
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3256
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3257
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3258
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3259
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3260
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3261
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3262
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3263
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3264
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3265
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategory}
|
|
3266
|
+
*/
|
|
3267
|
+
}, {
|
|
3268
|
+
key: "getStripeProductCategory",
|
|
3269
|
+
value: function getStripeProductCategory(categoryId, opts) {
|
|
3270
|
+
return this.getStripeProductCategoryWithHttpInfo(categoryId, opts).then(function (response_and_data) {
|
|
3271
|
+
return response_and_data.data;
|
|
3272
|
+
});
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* Retrieves a category by unique key
|
|
3277
|
+
* Gets the details of a specific category by its unique key
|
|
3278
|
+
* @param {String} key The category key
|
|
3279
|
+
* @param {Object} opts Optional parameters
|
|
3280
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3281
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3282
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3283
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3284
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3285
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3286
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3287
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3288
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3289
|
+
* @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
|
|
3290
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3291
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3292
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategory} and HTTP response
|
|
3293
|
+
*/
|
|
3294
|
+
}, {
|
|
3295
|
+
key: "getStripeProductCategoryByKeyWithHttpInfo",
|
|
3296
|
+
value: function getStripeProductCategoryByKeyWithHttpInfo(key, opts) {
|
|
3297
|
+
opts = opts || {};
|
|
3298
|
+
var postBody = null;
|
|
3299
|
+
// verify the required parameter 'key' is set
|
|
3300
|
+
if (key === undefined || key === null) {
|
|
3301
|
+
throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");
|
|
3302
|
+
}
|
|
3303
|
+
var pathParams = {
|
|
3304
|
+
'key': key
|
|
3305
|
+
};
|
|
3306
|
+
var queryParams = {
|
|
3307
|
+
'cacheduration': opts['cacheduration'],
|
|
3308
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
3309
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3310
|
+
'cachescope': opts['cachescope'],
|
|
3311
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
3312
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3313
|
+
};
|
|
3314
|
+
var headerParams = {
|
|
3315
|
+
'Authorization': opts['authorization'],
|
|
3316
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3317
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
3318
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3319
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3320
|
+
'transactionid': opts['transactionid']
|
|
3321
|
+
};
|
|
3322
|
+
var formParams = {};
|
|
3323
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3324
|
+
var contentTypes = [];
|
|
3325
|
+
var accepts = ['application/json'];
|
|
3326
|
+
var returnType = _ProductCategory["default"];
|
|
3327
|
+
return this.apiClient.callApi('/payments/stripe/product-category/key/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* Retrieves a category by unique key
|
|
3332
|
+
* Gets the details of a specific category by its unique key
|
|
3333
|
+
* @param {String} key The category key
|
|
3334
|
+
* @param {Object} opts Optional parameters
|
|
3335
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3336
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3337
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3338
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3339
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3340
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3341
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3342
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3343
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3344
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3345
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3346
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3347
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategory}
|
|
3348
|
+
*/
|
|
3349
|
+
}, {
|
|
3350
|
+
key: "getStripeProductCategoryByKey",
|
|
3351
|
+
value: function getStripeProductCategoryByKey(key, opts) {
|
|
3352
|
+
return this.getStripeProductCategoryByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
3353
|
+
return response_and_data.data;
|
|
3354
|
+
});
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* Lists all subscriptions for the logged-in user
|
|
3359
|
+
* Retrieves all subscriptions for the current user
|
|
3360
|
+
* @param {Object} opts Optional parameters
|
|
3361
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3362
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3363
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3364
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3365
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3366
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3367
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3368
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3369
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3370
|
+
* @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
|
|
3371
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3372
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3373
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeSubscription>} and HTTP response
|
|
3374
|
+
*/
|
|
3375
|
+
}, {
|
|
3376
|
+
key: "getStripeSubscriptionsWithHttpInfo",
|
|
3377
|
+
value: function getStripeSubscriptionsWithHttpInfo(opts) {
|
|
3378
|
+
opts = opts || {};
|
|
3379
|
+
var postBody = null;
|
|
3380
|
+
var pathParams = {};
|
|
3381
|
+
var queryParams = {
|
|
3382
|
+
'cacheduration': opts['cacheduration'],
|
|
3383
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
3384
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3385
|
+
'cachescope': opts['cachescope'],
|
|
3386
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
3387
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3388
|
+
};
|
|
3389
|
+
var headerParams = {
|
|
3390
|
+
'Authorization': opts['authorization'],
|
|
3391
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3392
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
3393
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3394
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3395
|
+
'transactionid': opts['transactionid']
|
|
3396
|
+
};
|
|
3397
|
+
var formParams = {};
|
|
3398
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3399
|
+
var contentTypes = [];
|
|
3400
|
+
var accepts = ['application/json'];
|
|
3401
|
+
var returnType = [_StripeSubscription["default"]];
|
|
3402
|
+
return this.apiClient.callApi('/payments/stripe/subscription', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
/**
|
|
3406
|
+
* Lists all subscriptions for the logged-in user
|
|
3407
|
+
* Retrieves all subscriptions for the current user
|
|
3408
|
+
* @param {Object} opts Optional parameters
|
|
3409
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3410
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3411
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3412
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3413
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3414
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3415
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3416
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3417
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3418
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3419
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3420
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3421
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripeSubscription>}
|
|
3422
|
+
*/
|
|
3423
|
+
}, {
|
|
3424
|
+
key: "getStripeSubscriptions",
|
|
3425
|
+
value: function getStripeSubscriptions(opts) {
|
|
3426
|
+
return this.getStripeSubscriptionsWithHttpInfo(opts).then(function (response_and_data) {
|
|
3427
|
+
return response_and_data.data;
|
|
3428
|
+
});
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
/**
|
|
3432
|
+
* Retrieves the transfer payment with the given transferId
|
|
3433
|
+
* Retrieves the transfer payment with the given transferId
|
|
3434
|
+
* @param {String} transferID The id of the transfer
|
|
3435
|
+
* @param {Object} opts Optional parameters
|
|
3436
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3437
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3438
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3439
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3440
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3441
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3442
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3443
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3444
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3445
|
+
* @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
|
|
3446
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3447
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3448
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
3449
|
+
*/
|
|
3450
|
+
}, {
|
|
3451
|
+
key: "getStripeTransferWithHttpInfo",
|
|
3452
|
+
value: function getStripeTransferWithHttpInfo(transferID, opts) {
|
|
3453
|
+
opts = opts || {};
|
|
3454
|
+
var postBody = null;
|
|
3455
|
+
// verify the required parameter 'transferID' is set
|
|
3456
|
+
if (transferID === undefined || transferID === null) {
|
|
3457
|
+
throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");
|
|
3458
|
+
}
|
|
3459
|
+
var pathParams = {
|
|
3460
|
+
'transferID': transferID
|
|
3461
|
+
};
|
|
3462
|
+
var queryParams = {
|
|
3463
|
+
'cacheduration': opts['cacheduration'],
|
|
3464
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
3465
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
3466
|
+
'cachescope': opts['cachescope'],
|
|
3467
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
3468
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
3469
|
+
};
|
|
3470
|
+
var headerParams = {
|
|
3471
|
+
'Authorization': opts['authorization'],
|
|
3472
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
3473
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
3474
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3475
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
3476
|
+
'transactionid': opts['transactionid']
|
|
3477
|
+
};
|
|
3478
|
+
var formParams = {};
|
|
3479
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3480
|
+
var contentTypes = [];
|
|
3481
|
+
var accepts = ['application/json'];
|
|
3482
|
+
var returnType = _TransferResponse["default"];
|
|
3483
|
+
return this.apiClient.callApi('/payments/stripe/transfer/{transferID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Retrieves the transfer payment with the given transferId
|
|
3488
|
+
* Retrieves the transfer payment with the given transferId
|
|
3489
|
+
* @param {String} transferID The id of the transfer
|
|
3490
|
+
* @param {Object} opts Optional parameters
|
|
3491
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3492
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
3493
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3494
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3495
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
3496
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3497
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
3498
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3499
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3500
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3501
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3502
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3503
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
|
|
3504
|
+
*/
|
|
3505
|
+
}, {
|
|
3506
|
+
key: "getStripeTransfer",
|
|
3507
|
+
value: function getStripeTransfer(transferID, opts) {
|
|
3508
|
+
return this.getStripeTransferWithHttpInfo(transferID, opts).then(function (response_and_data) {
|
|
3509
|
+
return response_and_data.data;
|
|
3510
|
+
});
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
/**
|
|
3514
|
+
* Retrieves the transfer payment details with the given transferId
|
|
3515
|
+
* Retrieves the transfer payment with the given transferId
|
|
3516
|
+
* @param {String} transferID The id of the transfer
|
|
3517
|
+
* @param {Object} opts Optional parameters
|
|
3518
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
3519
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
3520
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
3521
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
3522
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
3523
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
3524
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
3525
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3526
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3527
|
+
* @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
|
|
3528
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3529
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3530
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
2396
3531
|
*/
|
|
2397
3532
|
}, {
|
|
2398
|
-
key: "
|
|
2399
|
-
value: function
|
|
3533
|
+
key: "getStripeTransferPaymentMethodDetailsWithHttpInfo",
|
|
3534
|
+
value: function getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID, opts) {
|
|
2400
3535
|
opts = opts || {};
|
|
2401
3536
|
var postBody = null;
|
|
2402
|
-
// verify the required parameter '
|
|
2403
|
-
if (
|
|
2404
|
-
throw new Error("Missing the required parameter '
|
|
3537
|
+
// verify the required parameter 'transferID' is set
|
|
3538
|
+
if (transferID === undefined || transferID === null) {
|
|
3539
|
+
throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");
|
|
2405
3540
|
}
|
|
2406
3541
|
var pathParams = {
|
|
2407
|
-
'
|
|
3542
|
+
'transferID': transferID
|
|
2408
3543
|
};
|
|
2409
3544
|
var queryParams = {
|
|
2410
3545
|
'cacheduration': opts['cacheduration'],
|
|
@@ -2426,14 +3561,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2426
3561
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2427
3562
|
var contentTypes = [];
|
|
2428
3563
|
var accepts = ['application/json'];
|
|
2429
|
-
var returnType =
|
|
2430
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
3564
|
+
var returnType = _TransferResponse["default"];
|
|
3565
|
+
return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2431
3566
|
}
|
|
2432
3567
|
|
|
2433
3568
|
/**
|
|
2434
|
-
* Retrieves the payment
|
|
2435
|
-
* Retrieves the payment
|
|
2436
|
-
* @param {
|
|
3569
|
+
* Retrieves the transfer payment details with the given transferId
|
|
3570
|
+
* Retrieves the transfer payment with the given transferId
|
|
3571
|
+
* @param {String} transferID The id of the transfer
|
|
2437
3572
|
* @param {Object} opts Optional parameters
|
|
2438
3573
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2439
3574
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2447,19 +3582,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2447
3582
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2448
3583
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2449
3584
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2450
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
3585
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
|
|
2451
3586
|
*/
|
|
2452
3587
|
}, {
|
|
2453
|
-
key: "
|
|
2454
|
-
value: function
|
|
2455
|
-
return this.
|
|
3588
|
+
key: "getStripeTransferPaymentMethodDetails",
|
|
3589
|
+
value: function getStripeTransferPaymentMethodDetails(transferID, opts) {
|
|
3590
|
+
return this.getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID, opts).then(function (response_and_data) {
|
|
2456
3591
|
return response_and_data.data;
|
|
2457
3592
|
});
|
|
2458
3593
|
}
|
|
2459
3594
|
|
|
2460
3595
|
/**
|
|
2461
|
-
* Retrieves
|
|
2462
|
-
*
|
|
3596
|
+
* Retrieves a subscription by ID
|
|
3597
|
+
* Gets the details of a specific subscription
|
|
3598
|
+
* @param {String} subscriptionId The subscription ID
|
|
2463
3599
|
* @param {Object} opts Optional parameters
|
|
2464
3600
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2465
3601
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2473,14 +3609,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2473
3609
|
* @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
|
|
2474
3610
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2475
3611
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2476
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
3612
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
2477
3613
|
*/
|
|
2478
3614
|
}, {
|
|
2479
|
-
key: "
|
|
2480
|
-
value: function
|
|
3615
|
+
key: "getSubscriptionWithHttpInfo",
|
|
3616
|
+
value: function getSubscriptionWithHttpInfo(subscriptionId, opts) {
|
|
2481
3617
|
opts = opts || {};
|
|
2482
3618
|
var postBody = null;
|
|
2483
|
-
|
|
3619
|
+
// verify the required parameter 'subscriptionId' is set
|
|
3620
|
+
if (subscriptionId === undefined || subscriptionId === null) {
|
|
3621
|
+
throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");
|
|
3622
|
+
}
|
|
3623
|
+
var pathParams = {
|
|
3624
|
+
'subscriptionId': subscriptionId
|
|
3625
|
+
};
|
|
2484
3626
|
var queryParams = {
|
|
2485
3627
|
'cacheduration': opts['cacheduration'],
|
|
2486
3628
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -2501,13 +3643,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2501
3643
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2502
3644
|
var contentTypes = [];
|
|
2503
3645
|
var accepts = ['application/json'];
|
|
2504
|
-
var returnType =
|
|
2505
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
3646
|
+
var returnType = _StripeSubscription["default"];
|
|
3647
|
+
return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2506
3648
|
}
|
|
2507
3649
|
|
|
2508
3650
|
/**
|
|
2509
|
-
* Retrieves
|
|
2510
|
-
*
|
|
3651
|
+
* Retrieves a subscription by ID
|
|
3652
|
+
* Gets the details of a specific subscription
|
|
3653
|
+
* @param {String} subscriptionId The subscription ID
|
|
2511
3654
|
* @param {Object} opts Optional parameters
|
|
2512
3655
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2513
3656
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2521,20 +3664,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2521
3664
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2522
3665
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2523
3666
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2524
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
3667
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
|
|
2525
3668
|
*/
|
|
2526
3669
|
}, {
|
|
2527
|
-
key: "
|
|
2528
|
-
value: function
|
|
2529
|
-
return this.
|
|
3670
|
+
key: "getSubscription",
|
|
3671
|
+
value: function getSubscription(subscriptionId, opts) {
|
|
3672
|
+
return this.getSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
|
|
2530
3673
|
return response_and_data.data;
|
|
2531
3674
|
});
|
|
2532
3675
|
}
|
|
2533
3676
|
|
|
2534
3677
|
/**
|
|
2535
|
-
* Retrieves the
|
|
2536
|
-
* Retrieves the
|
|
2537
|
-
* @param {
|
|
3678
|
+
* Retrieves the Stripe Account For the Specified User
|
|
3679
|
+
* Retrieves the Stripe Account
|
|
3680
|
+
* @param {Number} userID The id of the user to retrieve the account for
|
|
2538
3681
|
* @param {Object} opts Optional parameters
|
|
2539
3682
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2540
3683
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2548,19 +3691,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2548
3691
|
* @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
|
|
2549
3692
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2550
3693
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2551
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
3694
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
2552
3695
|
*/
|
|
2553
3696
|
}, {
|
|
2554
|
-
key: "
|
|
2555
|
-
value: function
|
|
3697
|
+
key: "getUserStripeAccountWithHttpInfo",
|
|
3698
|
+
value: function getUserStripeAccountWithHttpInfo(userID, opts) {
|
|
2556
3699
|
opts = opts || {};
|
|
2557
3700
|
var postBody = null;
|
|
2558
|
-
// verify the required parameter '
|
|
2559
|
-
if (
|
|
2560
|
-
throw new Error("Missing the required parameter '
|
|
3701
|
+
// verify the required parameter 'userID' is set
|
|
3702
|
+
if (userID === undefined || userID === null) {
|
|
3703
|
+
throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");
|
|
2561
3704
|
}
|
|
2562
3705
|
var pathParams = {
|
|
2563
|
-
'
|
|
3706
|
+
'userID': userID
|
|
2564
3707
|
};
|
|
2565
3708
|
var queryParams = {
|
|
2566
3709
|
'cacheduration': opts['cacheduration'],
|
|
@@ -2582,14 +3725,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2582
3725
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2583
3726
|
var contentTypes = [];
|
|
2584
3727
|
var accepts = ['application/json'];
|
|
2585
|
-
var returnType =
|
|
2586
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
3728
|
+
var returnType = _CreateAccountResponse["default"];
|
|
3729
|
+
return this.apiClient.callApi('/payments/stripe/user/{userID}/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2587
3730
|
}
|
|
2588
3731
|
|
|
2589
3732
|
/**
|
|
2590
|
-
* Retrieves the
|
|
2591
|
-
* Retrieves the
|
|
2592
|
-
* @param {
|
|
3733
|
+
* Retrieves the Stripe Account For the Specified User
|
|
3734
|
+
* Retrieves the Stripe Account
|
|
3735
|
+
* @param {Number} userID The id of the user to retrieve the account for
|
|
2593
3736
|
* @param {Object} opts Optional parameters
|
|
2594
3737
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2595
3738
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2603,20 +3746,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2603
3746
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2604
3747
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2605
3748
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2606
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
3749
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAccountResponse}
|
|
2607
3750
|
*/
|
|
2608
3751
|
}, {
|
|
2609
|
-
key: "
|
|
2610
|
-
value: function
|
|
2611
|
-
return this.
|
|
3752
|
+
key: "getUserStripeAccount",
|
|
3753
|
+
value: function getUserStripeAccount(userID, opts) {
|
|
3754
|
+
return this.getUserStripeAccountWithHttpInfo(userID, opts).then(function (response_and_data) {
|
|
2612
3755
|
return response_and_data.data;
|
|
2613
3756
|
});
|
|
2614
3757
|
}
|
|
2615
3758
|
|
|
2616
3759
|
/**
|
|
2617
|
-
* Retrieves the
|
|
2618
|
-
* Retrieves the
|
|
2619
|
-
* @param {
|
|
3760
|
+
* Retrieves the Stripe Customer Account For the Logged In User
|
|
3761
|
+
* Retrieves the Stripe Customer Account
|
|
3762
|
+
* @param {Number} userID The id of the user to retrieve the account for
|
|
2620
3763
|
* @param {Object} opts Optional parameters
|
|
2621
3764
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2622
3765
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2630,19 +3773,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2630
3773
|
* @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
|
|
2631
3774
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2632
3775
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2633
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
3776
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
2634
3777
|
*/
|
|
2635
3778
|
}, {
|
|
2636
|
-
key: "
|
|
2637
|
-
value: function
|
|
3779
|
+
key: "getUserStripeCustomerAccountWithHttpInfo",
|
|
3780
|
+
value: function getUserStripeCustomerAccountWithHttpInfo(userID, opts) {
|
|
2638
3781
|
opts = opts || {};
|
|
2639
3782
|
var postBody = null;
|
|
2640
|
-
// verify the required parameter '
|
|
2641
|
-
if (
|
|
2642
|
-
throw new Error("Missing the required parameter '
|
|
3783
|
+
// verify the required parameter 'userID' is set
|
|
3784
|
+
if (userID === undefined || userID === null) {
|
|
3785
|
+
throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
|
|
2643
3786
|
}
|
|
2644
3787
|
var pathParams = {
|
|
2645
|
-
'
|
|
3788
|
+
'userID': userID
|
|
2646
3789
|
};
|
|
2647
3790
|
var queryParams = {
|
|
2648
3791
|
'cacheduration': opts['cacheduration'],
|
|
@@ -2664,14 +3807,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2664
3807
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2665
3808
|
var contentTypes = [];
|
|
2666
3809
|
var accepts = ['application/json'];
|
|
2667
|
-
var returnType =
|
|
2668
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
3810
|
+
var returnType = _CustomerResponse["default"];
|
|
3811
|
+
return this.apiClient.callApi('/payments/stripe/user/{userID}/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2669
3812
|
}
|
|
2670
3813
|
|
|
2671
3814
|
/**
|
|
2672
|
-
* Retrieves the
|
|
2673
|
-
* Retrieves the
|
|
2674
|
-
* @param {
|
|
3815
|
+
* Retrieves the Stripe Customer Account For the Logged In User
|
|
3816
|
+
* Retrieves the Stripe Customer Account
|
|
3817
|
+
* @param {Number} userID The id of the user to retrieve the account for
|
|
2675
3818
|
* @param {Object} opts Optional parameters
|
|
2676
3819
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2677
3820
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2685,20 +3828,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2685
3828
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2686
3829
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2687
3830
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2688
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
3831
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomerResponse}
|
|
2689
3832
|
*/
|
|
2690
3833
|
}, {
|
|
2691
|
-
key: "
|
|
2692
|
-
value: function
|
|
2693
|
-
return this.
|
|
3834
|
+
key: "getUserStripeCustomerAccount",
|
|
3835
|
+
value: function getUserStripeCustomerAccount(userID, opts) {
|
|
3836
|
+
return this.getUserStripeCustomerAccountWithHttpInfo(userID, opts).then(function (response_and_data) {
|
|
2694
3837
|
return response_and_data.data;
|
|
2695
3838
|
});
|
|
2696
3839
|
}
|
|
2697
3840
|
|
|
2698
3841
|
/**
|
|
2699
|
-
*
|
|
2700
|
-
*
|
|
2701
|
-
* @param {String} subscriptionId The subscription ID
|
|
3842
|
+
* Handles Stripe webhook events
|
|
3843
|
+
* Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
|
|
2702
3844
|
* @param {Object} opts Optional parameters
|
|
2703
3845
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2704
3846
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2712,20 +3854,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2712
3854
|
* @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
|
|
2713
3855
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2714
3856
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2715
|
-
* @
|
|
3857
|
+
* @param {String} [body]
|
|
3858
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2716
3859
|
*/
|
|
2717
3860
|
}, {
|
|
2718
|
-
key: "
|
|
2719
|
-
value: function
|
|
3861
|
+
key: "handleStripeWebhookWithHttpInfo",
|
|
3862
|
+
value: function handleStripeWebhookWithHttpInfo(opts) {
|
|
2720
3863
|
opts = opts || {};
|
|
2721
|
-
var postBody =
|
|
2722
|
-
|
|
2723
|
-
if (subscriptionId === undefined || subscriptionId === null) {
|
|
2724
|
-
throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");
|
|
2725
|
-
}
|
|
2726
|
-
var pathParams = {
|
|
2727
|
-
'subscriptionId': subscriptionId
|
|
2728
|
-
};
|
|
3864
|
+
var postBody = opts['body'];
|
|
3865
|
+
var pathParams = {};
|
|
2729
3866
|
var queryParams = {
|
|
2730
3867
|
'cacheduration': opts['cacheduration'],
|
|
2731
3868
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -2744,16 +3881,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2744
3881
|
};
|
|
2745
3882
|
var formParams = {};
|
|
2746
3883
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2747
|
-
var contentTypes = [];
|
|
2748
|
-
var accepts = [
|
|
2749
|
-
var returnType =
|
|
2750
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
3884
|
+
var contentTypes = ['application/json'];
|
|
3885
|
+
var accepts = [];
|
|
3886
|
+
var returnType = null;
|
|
3887
|
+
return this.apiClient.callApi('/payments/stripe/webhook', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2751
3888
|
}
|
|
2752
3889
|
|
|
2753
3890
|
/**
|
|
2754
|
-
*
|
|
2755
|
-
*
|
|
2756
|
-
* @param {String} subscriptionId The subscription ID
|
|
3891
|
+
* Handles Stripe webhook events
|
|
3892
|
+
* Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
|
|
2757
3893
|
* @param {Object} opts Optional parameters
|
|
2758
3894
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2759
3895
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2767,19 +3903,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2767
3903
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2768
3904
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2769
3905
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2770
|
-
* @
|
|
3906
|
+
* @param {String} opts.body
|
|
3907
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2771
3908
|
*/
|
|
2772
3909
|
}, {
|
|
2773
|
-
key: "
|
|
2774
|
-
value: function
|
|
2775
|
-
return this.
|
|
3910
|
+
key: "handleStripeWebhook",
|
|
3911
|
+
value: function handleStripeWebhook(opts) {
|
|
3912
|
+
return this.handleStripeWebhookWithHttpInfo(opts).then(function (response_and_data) {
|
|
2776
3913
|
return response_and_data.data;
|
|
2777
3914
|
});
|
|
2778
3915
|
}
|
|
2779
3916
|
|
|
2780
3917
|
/**
|
|
2781
|
-
* Lists all
|
|
2782
|
-
* Retrieves all
|
|
3918
|
+
* Lists all prices
|
|
3919
|
+
* Retrieves all prices
|
|
2783
3920
|
* @param {Object} opts Optional parameters
|
|
2784
3921
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2785
3922
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2793,11 +3930,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2793
3930
|
* @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
|
|
2794
3931
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2795
3932
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2796
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/
|
|
3933
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
|
|
2797
3934
|
*/
|
|
2798
3935
|
}, {
|
|
2799
|
-
key: "
|
|
2800
|
-
value: function
|
|
3936
|
+
key: "listPricesWithHttpInfo",
|
|
3937
|
+
value: function listPricesWithHttpInfo(opts) {
|
|
2801
3938
|
opts = opts || {};
|
|
2802
3939
|
var postBody = null;
|
|
2803
3940
|
var pathParams = {};
|
|
@@ -2821,13 +3958,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2821
3958
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2822
3959
|
var contentTypes = [];
|
|
2823
3960
|
var accepts = ['application/json'];
|
|
2824
|
-
var returnType = [
|
|
2825
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
3961
|
+
var returnType = [_StripePrice["default"]];
|
|
3962
|
+
return this.apiClient.callApi('/payments/stripe/price', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2826
3963
|
}
|
|
2827
3964
|
|
|
2828
3965
|
/**
|
|
2829
|
-
* Lists all
|
|
2830
|
-
* Retrieves all
|
|
3966
|
+
* Lists all prices
|
|
3967
|
+
* Retrieves all prices
|
|
2831
3968
|
* @param {Object} opts Optional parameters
|
|
2832
3969
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2833
3970
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2841,20 +3978,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2841
3978
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2842
3979
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2843
3980
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2844
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/
|
|
3981
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripePrice>}
|
|
2845
3982
|
*/
|
|
2846
3983
|
}, {
|
|
2847
|
-
key: "
|
|
2848
|
-
value: function
|
|
2849
|
-
return this.
|
|
3984
|
+
key: "listPrices",
|
|
3985
|
+
value: function listPrices(opts) {
|
|
3986
|
+
return this.listPricesWithHttpInfo(opts).then(function (response_and_data) {
|
|
2850
3987
|
return response_and_data.data;
|
|
2851
3988
|
});
|
|
2852
3989
|
}
|
|
2853
3990
|
|
|
2854
3991
|
/**
|
|
2855
|
-
*
|
|
2856
|
-
* Retrieves
|
|
2857
|
-
* @param {
|
|
3992
|
+
* Lists all prices for a product
|
|
3993
|
+
* Retrieves all prices associated with a specific product
|
|
3994
|
+
* @param {String} productId The product ID
|
|
2858
3995
|
* @param {Object} opts Optional parameters
|
|
2859
3996
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2860
3997
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2868,19 +4005,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2868
4005
|
* @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
|
|
2869
4006
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2870
4007
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2871
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
4008
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
|
|
2872
4009
|
*/
|
|
2873
4010
|
}, {
|
|
2874
|
-
key: "
|
|
2875
|
-
value: function
|
|
4011
|
+
key: "listStripePricesByProductWithHttpInfo",
|
|
4012
|
+
value: function listStripePricesByProductWithHttpInfo(productId, opts) {
|
|
2876
4013
|
opts = opts || {};
|
|
2877
4014
|
var postBody = null;
|
|
2878
|
-
// verify the required parameter '
|
|
2879
|
-
if (
|
|
2880
|
-
throw new Error("Missing the required parameter '
|
|
4015
|
+
// verify the required parameter 'productId' is set
|
|
4016
|
+
if (productId === undefined || productId === null) {
|
|
4017
|
+
throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");
|
|
2881
4018
|
}
|
|
2882
4019
|
var pathParams = {
|
|
2883
|
-
'
|
|
4020
|
+
'productId': productId
|
|
2884
4021
|
};
|
|
2885
4022
|
var queryParams = {
|
|
2886
4023
|
'cacheduration': opts['cacheduration'],
|
|
@@ -2902,14 +4039,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2902
4039
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2903
4040
|
var contentTypes = [];
|
|
2904
4041
|
var accepts = ['application/json'];
|
|
2905
|
-
var returnType =
|
|
2906
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
4042
|
+
var returnType = [_StripePrice["default"]];
|
|
4043
|
+
return this.apiClient.callApi('/payments/stripe/product/{productId}/price', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2907
4044
|
}
|
|
2908
4045
|
|
|
2909
4046
|
/**
|
|
2910
|
-
*
|
|
2911
|
-
* Retrieves
|
|
2912
|
-
* @param {
|
|
4047
|
+
* Lists all prices for a product
|
|
4048
|
+
* Retrieves all prices associated with a specific product
|
|
4049
|
+
* @param {String} productId The product ID
|
|
2913
4050
|
* @param {Object} opts Optional parameters
|
|
2914
4051
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2915
4052
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -2923,20 +4060,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2923
4060
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2924
4061
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2925
4062
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2926
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
4063
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripePrice>}
|
|
2927
4064
|
*/
|
|
2928
4065
|
}, {
|
|
2929
|
-
key: "
|
|
2930
|
-
value: function
|
|
2931
|
-
return this.
|
|
4066
|
+
key: "listStripePricesByProduct",
|
|
4067
|
+
value: function listStripePricesByProduct(productId, opts) {
|
|
4068
|
+
return this.listStripePricesByProductWithHttpInfo(productId, opts).then(function (response_and_data) {
|
|
2932
4069
|
return response_and_data.data;
|
|
2933
4070
|
});
|
|
2934
4071
|
}
|
|
2935
4072
|
|
|
2936
4073
|
/**
|
|
2937
|
-
*
|
|
2938
|
-
* Retrieves the
|
|
2939
|
-
* @param {Number} userID The id of the user to retrieve the account for
|
|
4074
|
+
* Lists all product categories
|
|
4075
|
+
* Retrieves all product categories scoped to the current ApplicationRoot
|
|
2940
4076
|
* @param {Object} opts Optional parameters
|
|
2941
4077
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2942
4078
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -2950,20 +4086,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2950
4086
|
* @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
|
|
2951
4087
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2952
4088
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2953
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
4089
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProductCategory>} and HTTP response
|
|
2954
4090
|
*/
|
|
2955
4091
|
}, {
|
|
2956
|
-
key: "
|
|
2957
|
-
value: function
|
|
4092
|
+
key: "listStripeProductCategoriesWithHttpInfo",
|
|
4093
|
+
value: function listStripeProductCategoriesWithHttpInfo(opts) {
|
|
2958
4094
|
opts = opts || {};
|
|
2959
4095
|
var postBody = null;
|
|
2960
|
-
|
|
2961
|
-
if (userID === undefined || userID === null) {
|
|
2962
|
-
throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
|
|
2963
|
-
}
|
|
2964
|
-
var pathParams = {
|
|
2965
|
-
'userID': userID
|
|
2966
|
-
};
|
|
4096
|
+
var pathParams = {};
|
|
2967
4097
|
var queryParams = {
|
|
2968
4098
|
'cacheduration': opts['cacheduration'],
|
|
2969
4099
|
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
@@ -2984,14 +4114,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2984
4114
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2985
4115
|
var contentTypes = [];
|
|
2986
4116
|
var accepts = ['application/json'];
|
|
2987
|
-
var returnType =
|
|
2988
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
4117
|
+
var returnType = [_ProductCategory["default"]];
|
|
4118
|
+
return this.apiClient.callApi('/payments/stripe/product-category', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
2989
4119
|
}
|
|
2990
4120
|
|
|
2991
4121
|
/**
|
|
2992
|
-
*
|
|
2993
|
-
* Retrieves the
|
|
2994
|
-
* @param {Number} userID The id of the user to retrieve the account for
|
|
4122
|
+
* Lists all product categories
|
|
4123
|
+
* Retrieves all product categories scoped to the current ApplicationRoot
|
|
2995
4124
|
* @param {Object} opts Optional parameters
|
|
2996
4125
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2997
4126
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -3005,19 +4134,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3005
4134
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3006
4135
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3007
4136
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3008
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
4137
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ProductCategory>}
|
|
3009
4138
|
*/
|
|
3010
4139
|
}, {
|
|
3011
|
-
key: "
|
|
3012
|
-
value: function
|
|
3013
|
-
return this.
|
|
4140
|
+
key: "listStripeProductCategories",
|
|
4141
|
+
value: function listStripeProductCategories(opts) {
|
|
4142
|
+
return this.listStripeProductCategoriesWithHttpInfo(opts).then(function (response_and_data) {
|
|
3014
4143
|
return response_and_data.data;
|
|
3015
4144
|
});
|
|
3016
4145
|
}
|
|
3017
4146
|
|
|
3018
4147
|
/**
|
|
3019
|
-
*
|
|
3020
|
-
*
|
|
4148
|
+
* Lists all products
|
|
4149
|
+
* Retrieves all products
|
|
3021
4150
|
* @param {Object} opts Optional parameters
|
|
3022
4151
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3023
4152
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -3031,14 +4160,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3031
4160
|
* @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
|
|
3032
4161
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3033
4162
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3034
|
-
* @
|
|
3035
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
4163
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeProduct>} and HTTP response
|
|
3036
4164
|
*/
|
|
3037
4165
|
}, {
|
|
3038
|
-
key: "
|
|
3039
|
-
value: function
|
|
4166
|
+
key: "listStripeProductsWithHttpInfo",
|
|
4167
|
+
value: function listStripeProductsWithHttpInfo(opts) {
|
|
3040
4168
|
opts = opts || {};
|
|
3041
|
-
var postBody =
|
|
4169
|
+
var postBody = null;
|
|
3042
4170
|
var pathParams = {};
|
|
3043
4171
|
var queryParams = {
|
|
3044
4172
|
'cacheduration': opts['cacheduration'],
|
|
@@ -3058,15 +4186,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3058
4186
|
};
|
|
3059
4187
|
var formParams = {};
|
|
3060
4188
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3061
|
-
var contentTypes = [
|
|
3062
|
-
var accepts = [];
|
|
3063
|
-
var returnType =
|
|
3064
|
-
return this.apiClient.callApi('/payments/stripe/
|
|
4189
|
+
var contentTypes = [];
|
|
4190
|
+
var accepts = ['application/json'];
|
|
4191
|
+
var returnType = [_StripeProduct["default"]];
|
|
4192
|
+
return this.apiClient.callApi('/payments/stripe/product', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
3065
4193
|
}
|
|
3066
4194
|
|
|
3067
4195
|
/**
|
|
3068
|
-
*
|
|
3069
|
-
*
|
|
4196
|
+
* Lists all products
|
|
4197
|
+
* Retrieves all products
|
|
3070
4198
|
* @param {Object} opts Optional parameters
|
|
3071
4199
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3072
4200
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -3079,14 +4207,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3079
4207
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3080
4208
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
3081
4209
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
3082
|
-
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3083
|
-
* @
|
|
3084
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
4210
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
4211
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripeProduct>}
|
|
3085
4212
|
*/
|
|
3086
4213
|
}, {
|
|
3087
|
-
key: "
|
|
3088
|
-
value: function
|
|
3089
|
-
return this.
|
|
4214
|
+
key: "listStripeProducts",
|
|
4215
|
+
value: function listStripeProducts(opts) {
|
|
4216
|
+
return this.listStripeProductsWithHttpInfo(opts).then(function (response_and_data) {
|
|
3090
4217
|
return response_and_data.data;
|
|
3091
4218
|
});
|
|
3092
4219
|
}
|
|
@@ -3199,13 +4326,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3199
4326
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
3200
4327
|
*/
|
|
3201
4328
|
}, {
|
|
3202
|
-
key: "
|
|
3203
|
-
value: function
|
|
4329
|
+
key: "resumeStripeSubscriptionWithHttpInfo",
|
|
4330
|
+
value: function resumeStripeSubscriptionWithHttpInfo(subscriptionId, opts) {
|
|
3204
4331
|
opts = opts || {};
|
|
3205
4332
|
var postBody = null;
|
|
3206
4333
|
// verify the required parameter 'subscriptionId' is set
|
|
3207
4334
|
if (subscriptionId === undefined || subscriptionId === null) {
|
|
3208
|
-
throw new Error("Missing the required parameter 'subscriptionId' when calling
|
|
4335
|
+
throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");
|
|
3209
4336
|
}
|
|
3210
4337
|
var pathParams = {
|
|
3211
4338
|
'subscriptionId': subscriptionId
|
|
@@ -3254,9 +4381,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3254
4381
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
|
|
3255
4382
|
*/
|
|
3256
4383
|
}, {
|
|
3257
|
-
key: "
|
|
3258
|
-
value: function
|
|
3259
|
-
return this.
|
|
4384
|
+
key: "resumeStripeSubscription",
|
|
4385
|
+
value: function resumeStripeSubscription(subscriptionId, opts) {
|
|
4386
|
+
return this.resumeStripeSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
|
|
3260
4387
|
return response_and_data.data;
|
|
3261
4388
|
});
|
|
3262
4389
|
}
|
|
@@ -3607,6 +4734,94 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3607
4734
|
});
|
|
3608
4735
|
}
|
|
3609
4736
|
|
|
4737
|
+
/**
|
|
4738
|
+
* Sets or removes parent category
|
|
4739
|
+
* Sets the parent category for a category, or removes the parent if parentCategoryId is null
|
|
4740
|
+
* @param {Number} categoryId The category ID
|
|
4741
|
+
* @param {Object.<String, {String: Object}>} requestBody Contains the parent category ID (or null to remove parent)
|
|
4742
|
+
* @param {Object} opts Optional parameters
|
|
4743
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
4744
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
4745
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
4746
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
4747
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
4748
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
4749
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
4750
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
4751
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
4752
|
+
* @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
|
|
4753
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
4754
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
4755
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
4756
|
+
*/
|
|
4757
|
+
}, {
|
|
4758
|
+
key: "setStripeProductCategoryParentWithHttpInfo",
|
|
4759
|
+
value: function setStripeProductCategoryParentWithHttpInfo(categoryId, requestBody, opts) {
|
|
4760
|
+
opts = opts || {};
|
|
4761
|
+
var postBody = requestBody;
|
|
4762
|
+
// verify the required parameter 'categoryId' is set
|
|
4763
|
+
if (categoryId === undefined || categoryId === null) {
|
|
4764
|
+
throw new Error("Missing the required parameter 'categoryId' when calling setStripeProductCategoryParent");
|
|
4765
|
+
}
|
|
4766
|
+
// verify the required parameter 'requestBody' is set
|
|
4767
|
+
if (requestBody === undefined || requestBody === null) {
|
|
4768
|
+
throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");
|
|
4769
|
+
}
|
|
4770
|
+
var pathParams = {
|
|
4771
|
+
'categoryId': categoryId
|
|
4772
|
+
};
|
|
4773
|
+
var queryParams = {
|
|
4774
|
+
'cacheduration': opts['cacheduration'],
|
|
4775
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
4776
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
4777
|
+
'cachescope': opts['cachescope'],
|
|
4778
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
4779
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
4780
|
+
};
|
|
4781
|
+
var headerParams = {
|
|
4782
|
+
'Authorization': opts['authorization'],
|
|
4783
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
4784
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
4785
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
4786
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
4787
|
+
'transactionid': opts['transactionid']
|
|
4788
|
+
};
|
|
4789
|
+
var formParams = {};
|
|
4790
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
4791
|
+
var contentTypes = ['application/json'];
|
|
4792
|
+
var accepts = ['application/json'];
|
|
4793
|
+
var returnType = _ProductCategoryResponse["default"];
|
|
4794
|
+
return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
4795
|
+
}
|
|
4796
|
+
|
|
4797
|
+
/**
|
|
4798
|
+
* Sets or removes parent category
|
|
4799
|
+
* Sets the parent category for a category, or removes the parent if parentCategoryId is null
|
|
4800
|
+
* @param {Number} categoryId The category ID
|
|
4801
|
+
* @param {Object.<String, {String: Object}>} requestBody Contains the parent category ID (or null to remove parent)
|
|
4802
|
+
* @param {Object} opts Optional parameters
|
|
4803
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
4804
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
4805
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
4806
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
4807
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
4808
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
4809
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
4810
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
4811
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
4812
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
4813
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
4814
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
4815
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategoryResponse}
|
|
4816
|
+
*/
|
|
4817
|
+
}, {
|
|
4818
|
+
key: "setStripeProductCategoryParent",
|
|
4819
|
+
value: function setStripeProductCategoryParent(categoryId, requestBody, opts) {
|
|
4820
|
+
return this.setStripeProductCategoryParentWithHttpInfo(categoryId, requestBody, opts).then(function (response_and_data) {
|
|
4821
|
+
return response_and_data.data;
|
|
4822
|
+
});
|
|
4823
|
+
}
|
|
4824
|
+
|
|
3610
4825
|
/**
|
|
3611
4826
|
* Pays out the account of the logged in user
|
|
3612
4827
|
* Pays out the account of the logged in user
|
|
@@ -3943,6 +5158,94 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
3943
5158
|
});
|
|
3944
5159
|
}
|
|
3945
5160
|
|
|
5161
|
+
/**
|
|
5162
|
+
* Updates a price
|
|
5163
|
+
* Updates an existing price (only active status and metadata can be updated)
|
|
5164
|
+
* @param {String} priceId The price ID
|
|
5165
|
+
* @param {module:model/PriceInput} priceInput The price update data
|
|
5166
|
+
* @param {Object} opts Optional parameters
|
|
5167
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
5168
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
5169
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
5170
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
5171
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
5172
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
5173
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
5174
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
5175
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
5176
|
+
* @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
|
|
5177
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
5178
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
5179
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
|
|
5180
|
+
*/
|
|
5181
|
+
}, {
|
|
5182
|
+
key: "updatePriceWithHttpInfo",
|
|
5183
|
+
value: function updatePriceWithHttpInfo(priceId, priceInput, opts) {
|
|
5184
|
+
opts = opts || {};
|
|
5185
|
+
var postBody = priceInput;
|
|
5186
|
+
// verify the required parameter 'priceId' is set
|
|
5187
|
+
if (priceId === undefined || priceId === null) {
|
|
5188
|
+
throw new Error("Missing the required parameter 'priceId' when calling updatePrice");
|
|
5189
|
+
}
|
|
5190
|
+
// verify the required parameter 'priceInput' is set
|
|
5191
|
+
if (priceInput === undefined || priceInput === null) {
|
|
5192
|
+
throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");
|
|
5193
|
+
}
|
|
5194
|
+
var pathParams = {
|
|
5195
|
+
'priceId': priceId
|
|
5196
|
+
};
|
|
5197
|
+
var queryParams = {
|
|
5198
|
+
'cacheduration': opts['cacheduration'],
|
|
5199
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
5200
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
5201
|
+
'cachescope': opts['cachescope'],
|
|
5202
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
5203
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
5204
|
+
};
|
|
5205
|
+
var headerParams = {
|
|
5206
|
+
'Authorization': opts['authorization'],
|
|
5207
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
5208
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
5209
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
5210
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
5211
|
+
'transactionid': opts['transactionid']
|
|
5212
|
+
};
|
|
5213
|
+
var formParams = {};
|
|
5214
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
5215
|
+
var contentTypes = ['application/json'];
|
|
5216
|
+
var accepts = ['application/json'];
|
|
5217
|
+
var returnType = _PriceResponse["default"];
|
|
5218
|
+
return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
5219
|
+
}
|
|
5220
|
+
|
|
5221
|
+
/**
|
|
5222
|
+
* Updates a price
|
|
5223
|
+
* Updates an existing price (only active status and metadata can be updated)
|
|
5224
|
+
* @param {String} priceId The price ID
|
|
5225
|
+
* @param {module:model/PriceInput} priceInput The price update data
|
|
5226
|
+
* @param {Object} opts Optional parameters
|
|
5227
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
5228
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
5229
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
5230
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
5231
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
5232
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
5233
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
5234
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
5235
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
5236
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
5237
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
5238
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
5239
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PriceResponse}
|
|
5240
|
+
*/
|
|
5241
|
+
}, {
|
|
5242
|
+
key: "updatePrice",
|
|
5243
|
+
value: function updatePrice(priceId, priceInput, opts) {
|
|
5244
|
+
return this.updatePriceWithHttpInfo(priceId, priceInput, opts).then(function (response_and_data) {
|
|
5245
|
+
return response_and_data.data;
|
|
5246
|
+
});
|
|
5247
|
+
}
|
|
5248
|
+
|
|
3946
5249
|
/**
|
|
3947
5250
|
* Adds payment methods for the customer stored in stripe
|
|
3948
5251
|
* Retrieves the payment methods for the customer stored in stripe
|
|
@@ -4027,6 +5330,182 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
4027
5330
|
});
|
|
4028
5331
|
}
|
|
4029
5332
|
|
|
5333
|
+
/**
|
|
5334
|
+
* Updates a product
|
|
5335
|
+
* Updates an existing product
|
|
5336
|
+
* @param {String} productId The product ID
|
|
5337
|
+
* @param {module:model/ProductInput} productInput The product update data
|
|
5338
|
+
* @param {Object} opts Optional parameters
|
|
5339
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
5340
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
5341
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
5342
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
5343
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
5344
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
5345
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
5346
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
5347
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
5348
|
+
* @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
|
|
5349
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
5350
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
5351
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
5352
|
+
*/
|
|
5353
|
+
}, {
|
|
5354
|
+
key: "updateStripeProductWithHttpInfo",
|
|
5355
|
+
value: function updateStripeProductWithHttpInfo(productId, productInput, opts) {
|
|
5356
|
+
opts = opts || {};
|
|
5357
|
+
var postBody = productInput;
|
|
5358
|
+
// verify the required parameter 'productId' is set
|
|
5359
|
+
if (productId === undefined || productId === null) {
|
|
5360
|
+
throw new Error("Missing the required parameter 'productId' when calling updateStripeProduct");
|
|
5361
|
+
}
|
|
5362
|
+
// verify the required parameter 'productInput' is set
|
|
5363
|
+
if (productInput === undefined || productInput === null) {
|
|
5364
|
+
throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");
|
|
5365
|
+
}
|
|
5366
|
+
var pathParams = {
|
|
5367
|
+
'productId': productId
|
|
5368
|
+
};
|
|
5369
|
+
var queryParams = {
|
|
5370
|
+
'cacheduration': opts['cacheduration'],
|
|
5371
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
5372
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
5373
|
+
'cachescope': opts['cachescope'],
|
|
5374
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
5375
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
5376
|
+
};
|
|
5377
|
+
var headerParams = {
|
|
5378
|
+
'Authorization': opts['authorization'],
|
|
5379
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
5380
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
5381
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
5382
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
5383
|
+
'transactionid': opts['transactionid']
|
|
5384
|
+
};
|
|
5385
|
+
var formParams = {};
|
|
5386
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
5387
|
+
var contentTypes = ['application/json'];
|
|
5388
|
+
var accepts = ['application/json'];
|
|
5389
|
+
var returnType = _ProductResponse["default"];
|
|
5390
|
+
return this.apiClient.callApi('/payments/stripe/product/{productId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
* Updates a product
|
|
5395
|
+
* Updates an existing product
|
|
5396
|
+
* @param {String} productId The product ID
|
|
5397
|
+
* @param {module:model/ProductInput} productInput The product update data
|
|
5398
|
+
* @param {Object} opts Optional parameters
|
|
5399
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
5400
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
5401
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
5402
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
5403
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
5404
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
5405
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
5406
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
5407
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
5408
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
5409
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
5410
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
5411
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductResponse}
|
|
5412
|
+
*/
|
|
5413
|
+
}, {
|
|
5414
|
+
key: "updateStripeProduct",
|
|
5415
|
+
value: function updateStripeProduct(productId, productInput, opts) {
|
|
5416
|
+
return this.updateStripeProductWithHttpInfo(productId, productInput, opts).then(function (response_and_data) {
|
|
5417
|
+
return response_and_data.data;
|
|
5418
|
+
});
|
|
5419
|
+
}
|
|
5420
|
+
|
|
5421
|
+
/**
|
|
5422
|
+
* Updates a category
|
|
5423
|
+
* Updates an existing category
|
|
5424
|
+
* @param {Number} categoryId The category ID
|
|
5425
|
+
* @param {module:model/ProductCategoryInput} productCategoryInput The category update data
|
|
5426
|
+
* @param {Object} opts Optional parameters
|
|
5427
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
5428
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
5429
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
5430
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
5431
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
5432
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
5433
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
|
|
5434
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
5435
|
+
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
5436
|
+
* @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
|
|
5437
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
5438
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
5439
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
5440
|
+
*/
|
|
5441
|
+
}, {
|
|
5442
|
+
key: "updateStripeProductCategoryWithHttpInfo",
|
|
5443
|
+
value: function updateStripeProductCategoryWithHttpInfo(categoryId, productCategoryInput, opts) {
|
|
5444
|
+
opts = opts || {};
|
|
5445
|
+
var postBody = productCategoryInput;
|
|
5446
|
+
// verify the required parameter 'categoryId' is set
|
|
5447
|
+
if (categoryId === undefined || categoryId === null) {
|
|
5448
|
+
throw new Error("Missing the required parameter 'categoryId' when calling updateStripeProductCategory");
|
|
5449
|
+
}
|
|
5450
|
+
// verify the required parameter 'productCategoryInput' is set
|
|
5451
|
+
if (productCategoryInput === undefined || productCategoryInput === null) {
|
|
5452
|
+
throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");
|
|
5453
|
+
}
|
|
5454
|
+
var pathParams = {
|
|
5455
|
+
'categoryId': categoryId
|
|
5456
|
+
};
|
|
5457
|
+
var queryParams = {
|
|
5458
|
+
'cacheduration': opts['cacheduration'],
|
|
5459
|
+
'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
|
|
5460
|
+
'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
|
|
5461
|
+
'cachescope': opts['cachescope'],
|
|
5462
|
+
'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
|
|
5463
|
+
'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
|
|
5464
|
+
};
|
|
5465
|
+
var headerParams = {
|
|
5466
|
+
'Authorization': opts['authorization'],
|
|
5467
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
5468
|
+
'zeusportal-postas-org': opts['zeusportalPostasOrg'],
|
|
5469
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
5470
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
5471
|
+
'transactionid': opts['transactionid']
|
|
5472
|
+
};
|
|
5473
|
+
var formParams = {};
|
|
5474
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
5475
|
+
var contentTypes = ['application/json'];
|
|
5476
|
+
var accepts = ['application/json'];
|
|
5477
|
+
var returnType = _ProductCategoryResponse["default"];
|
|
5478
|
+
return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
5479
|
+
}
|
|
5480
|
+
|
|
5481
|
+
/**
|
|
5482
|
+
* Updates a category
|
|
5483
|
+
* Updates an existing category
|
|
5484
|
+
* @param {Number} categoryId The category ID
|
|
5485
|
+
* @param {module:model/ProductCategoryInput} productCategoryInput The category update data
|
|
5486
|
+
* @param {Object} opts Optional parameters
|
|
5487
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
5488
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
5489
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
5490
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
5491
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
5492
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
5493
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
|
|
5494
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
5495
|
+
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
5496
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
5497
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
5498
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
5499
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategoryResponse}
|
|
5500
|
+
*/
|
|
5501
|
+
}, {
|
|
5502
|
+
key: "updateStripeProductCategory",
|
|
5503
|
+
value: function updateStripeProductCategory(categoryId, productCategoryInput, opts) {
|
|
5504
|
+
return this.updateStripeProductCategoryWithHttpInfo(categoryId, productCategoryInput, opts).then(function (response_and_data) {
|
|
5505
|
+
return response_and_data.data;
|
|
5506
|
+
});
|
|
5507
|
+
}
|
|
5508
|
+
|
|
4030
5509
|
/**
|
|
4031
5510
|
* Updates a subscription
|
|
4032
5511
|
* Updates an existing subscription
|
|
@@ -4048,17 +5527,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
4048
5527
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
|
|
4049
5528
|
*/
|
|
4050
5529
|
}, {
|
|
4051
|
-
key: "
|
|
4052
|
-
value: function
|
|
5530
|
+
key: "updateStripeSubscriptionWithHttpInfo",
|
|
5531
|
+
value: function updateStripeSubscriptionWithHttpInfo(subscriptionId, subscriptionInput, opts) {
|
|
4053
5532
|
opts = opts || {};
|
|
4054
5533
|
var postBody = subscriptionInput;
|
|
4055
5534
|
// verify the required parameter 'subscriptionId' is set
|
|
4056
5535
|
if (subscriptionId === undefined || subscriptionId === null) {
|
|
4057
|
-
throw new Error("Missing the required parameter 'subscriptionId' when calling
|
|
5536
|
+
throw new Error("Missing the required parameter 'subscriptionId' when calling updateStripeSubscription");
|
|
4058
5537
|
}
|
|
4059
5538
|
// verify the required parameter 'subscriptionInput' is set
|
|
4060
5539
|
if (subscriptionInput === undefined || subscriptionInput === null) {
|
|
4061
|
-
throw new Error("Missing the required parameter 'subscriptionInput' when calling
|
|
5540
|
+
throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");
|
|
4062
5541
|
}
|
|
4063
5542
|
var pathParams = {
|
|
4064
5543
|
'subscriptionId': subscriptionId
|
|
@@ -4108,9 +5587,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
4108
5587
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionResponse}
|
|
4109
5588
|
*/
|
|
4110
5589
|
}, {
|
|
4111
|
-
key: "
|
|
4112
|
-
value: function
|
|
4113
|
-
return this.
|
|
5590
|
+
key: "updateStripeSubscription",
|
|
5591
|
+
value: function updateStripeSubscription(subscriptionId, subscriptionInput, opts) {
|
|
5592
|
+
return this.updateStripeSubscriptionWithHttpInfo(subscriptionId, subscriptionInput, opts).then(function (response_and_data) {
|
|
4114
5593
|
return response_and_data.data;
|
|
4115
5594
|
});
|
|
4116
5595
|
}
|