@revkeen/sdk 1.20260316.71 → 1.20260411.852
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/Client.d.ts +9 -24
- package/Client.js +12 -32
- package/Client.ts +18 -48
- package/api/resources/analytics/client/Client.d.ts +6 -0
- package/api/resources/analytics/client/Client.js +6 -0
- package/api/resources/analytics/client/Client.ts +6 -0
- package/api/resources/billing/client/Client.d.ts +1 -1
- package/api/resources/billing/client/Client.js +1 -1
- package/api/resources/billing/client/Client.ts +1 -1
- package/api/resources/checkoutSessions/client/Client.d.ts +19 -2
- package/api/resources/checkoutSessions/client/Client.js +61 -2
- package/api/resources/checkoutSessions/client/Client.ts +78 -2
- package/api/resources/checkoutSessions/client/requests/CheckoutSessionsRetrieveRequest.d.ts +10 -0
- package/api/resources/{apps/types/DeleteAppsAppKeyInstallResponse.js → checkoutSessions/client/requests/CheckoutSessionsRetrieveRequest.js} +1 -1
- package/api/resources/{businesses/client/requests/GetBusinessesIdRequest.ts → checkoutSessions/client/requests/CheckoutSessionsRetrieveRequest.ts} +2 -2
- package/api/resources/checkoutSessions/client/requests/index.d.ts +1 -0
- package/api/resources/checkoutSessions/client/requests/index.ts +1 -0
- package/api/resources/creditNotes/client/Client.d.ts +32 -0
- package/api/resources/creditNotes/client/Client.js +115 -0
- package/api/resources/creditNotes/client/Client.ts +159 -0
- package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.d.ts +4 -0
- package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.ts +4 -0
- package/api/resources/creditNotes/client/requests/CreditNotesInvoiceEligibilityRequest.d.ts +11 -0
- package/api/resources/creditNotes/client/requests/CreditNotesInvoiceEligibilityRequest.js +3 -0
- package/api/resources/creditNotes/client/requests/CreditNotesInvoiceEligibilityRequest.ts +12 -0
- package/api/resources/creditNotes/client/requests/CreditNotesTransactionReversalEligibilityRequest.d.ts +13 -0
- package/api/resources/creditNotes/client/requests/CreditNotesTransactionReversalEligibilityRequest.js +3 -0
- package/api/resources/creditNotes/client/requests/CreditNotesTransactionReversalEligibilityRequest.ts +14 -0
- package/api/resources/creditNotes/client/requests/index.d.ts +2 -0
- package/api/resources/creditNotes/client/requests/index.ts +2 -0
- package/api/resources/creditNotes/types/CreditNotesInvoiceEligibilityResponse.d.ts +5 -0
- package/api/resources/creditNotes/types/CreditNotesInvoiceEligibilityResponse.js +3 -0
- package/api/resources/creditNotes/types/CreditNotesInvoiceEligibilityResponse.ts +7 -0
- package/api/resources/creditNotes/types/CreditNotesTransactionReversalEligibilityResponse.d.ts +5 -0
- package/api/resources/creditNotes/types/CreditNotesTransactionReversalEligibilityResponse.js +3 -0
- package/api/resources/creditNotes/types/CreditNotesTransactionReversalEligibilityResponse.ts +7 -0
- package/api/resources/creditNotes/types/index.d.ts +2 -0
- package/api/resources/creditNotes/types/index.js +2 -0
- package/api/resources/creditNotes/types/index.ts +2 -0
- package/api/resources/customers/client/Client.d.ts +1 -1
- package/api/resources/customers/client/Client.js +1 -1
- package/api/resources/customers/client/Client.ts +1 -1
- package/api/resources/customers/client/requests/CustomersCreateRequest.d.ts +5 -1
- package/api/resources/customers/client/requests/CustomersCreateRequest.ts +5 -1
- package/api/resources/customers/client/requests/CustomersUpdateRequest.d.ts +5 -1
- package/api/resources/customers/client/requests/CustomersUpdateRequest.ts +5 -1
- package/api/resources/customers/types/CustomersInvoicesListResponse.d.ts +1 -0
- package/api/resources/customers/types/CustomersInvoicesListResponse.ts +1 -0
- package/api/resources/customers/types/CustomersOrdersListResponse.d.ts +1 -0
- package/api/resources/customers/types/CustomersOrdersListResponse.ts +1 -0
- package/api/resources/customers/types/CustomersPaymentsListResponse.d.ts +1 -0
- package/api/resources/customers/types/CustomersPaymentsListResponse.ts +1 -0
- package/api/resources/customers/types/CustomersSubscriptionsListResponse.d.ts +1 -0
- package/api/resources/customers/types/CustomersSubscriptionsListResponse.ts +1 -0
- package/api/resources/disputes/client/Client.d.ts +1 -1
- package/api/resources/disputes/client/Client.js +1 -1
- package/api/resources/disputes/client/Client.ts +1 -1
- package/api/resources/disputes/types/DisputesGetOpenResponse.d.ts +2 -0
- package/api/resources/disputes/types/DisputesGetOpenResponse.ts +2 -0
- package/api/resources/disputes/types/DisputesListResponse.d.ts +4 -0
- package/api/resources/disputes/types/DisputesListResponse.ts +4 -0
- package/api/resources/disputes/types/DisputesRetrieveResponse.d.ts +4 -0
- package/api/resources/disputes/types/DisputesRetrieveResponse.ts +4 -0
- package/api/resources/entitlements/client/Client.d.ts +40 -0
- package/api/resources/entitlements/client/Client.js +128 -0
- package/api/resources/entitlements/client/Client.ts +169 -0
- package/api/resources/entitlements/client/requests/EntitlementsCheckRequest.d.ts +14 -0
- package/api/resources/entitlements/client/requests/EntitlementsCheckRequest.js +3 -0
- package/api/resources/entitlements/client/requests/EntitlementsCheckRequest.ts +15 -0
- package/api/resources/entitlements/client/requests/EntitlementsListRequest.d.ts +21 -0
- package/api/resources/{businesses/types/GetBusinessesIdResponse.js → entitlements/client/requests/EntitlementsListRequest.js} +1 -1
- package/api/resources/entitlements/client/requests/EntitlementsListRequest.ts +22 -0
- package/api/resources/entitlements/client/requests/index.d.ts +2 -0
- package/api/resources/entitlements/client/requests/index.ts +2 -0
- package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.d.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.d.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsListResponse.d.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsListResponse.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.d.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.d.ts +2 -2
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.ts +2 -2
- package/api/resources/events/client/Client.d.ts +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/events/client/Client.ts +1 -1
- package/api/resources/exports/client/Client.d.ts +53 -0
- package/api/resources/{businesses → exports}/client/Client.js +28 -74
- package/api/resources/{businesses → exports}/client/Client.ts +46 -109
- package/api/resources/exports/client/requests/CreateExportRequest.d.ts +42 -0
- package/api/resources/exports/client/requests/CreateExportRequest.js +25 -0
- package/api/resources/exports/client/requests/CreateExportRequest.ts +44 -0
- package/api/resources/exports/client/requests/ExportsRetrieveRequest.d.ts +11 -0
- package/api/resources/{businesses/client/requests/GetBusinessesIdRequest.js → exports/client/requests/ExportsRetrieveRequest.js} +1 -1
- package/api/resources/{taxRates/client/requests/DeleteTaxRatesIdRequest.ts → exports/client/requests/ExportsRetrieveRequest.ts} +2 -2
- package/api/resources/exports/client/requests/index.d.ts +3 -0
- package/api/resources/exports/client/requests/index.js +2 -0
- package/api/resources/exports/client/requests/index.ts +2 -0
- package/api/resources/finance/client/Client.d.ts +13 -7
- package/api/resources/finance/client/Client.js +15 -9
- package/api/resources/finance/client/Client.ts +23 -17
- package/api/resources/finance/client/requests/{GetFinanceIncomeRequest.d.ts → FinanceGetIncomeRequest.d.ts} +3 -3
- package/api/resources/finance/client/requests/FinanceGetIncomeRequest.js +3 -0
- package/api/resources/finance/client/requests/{GetFinanceIncomeRequest.ts → FinanceGetIncomeRequest.ts} +2 -2
- package/api/resources/finance/client/requests/index.d.ts +1 -1
- package/api/resources/finance/client/requests/index.ts +1 -1
- package/api/resources/finance/types/FinanceGetIncomeRequestGroupBy.d.ts +8 -0
- package/api/resources/finance/types/{GetFinanceIncomeRequestGroupBy.js → FinanceGetIncomeRequestGroupBy.js} +2 -2
- package/api/resources/finance/types/FinanceGetIncomeRequestGroupBy.ts +10 -0
- package/api/resources/finance/types/{GetFinanceIncomeResponse.d.ts → FinanceGetIncomeResponse.d.ts} +4 -4
- package/api/resources/finance/types/FinanceGetIncomeResponse.js +3 -0
- package/api/resources/finance/types/{GetFinanceIncomeResponse.ts → FinanceGetIncomeResponse.ts} +3 -3
- package/api/resources/finance/types/{GetFinanceSummaryResponse.d.ts → FinanceGetSummaryResponse.d.ts} +2 -2
- package/api/resources/finance/types/FinanceGetSummaryResponse.js +3 -0
- package/api/resources/finance/types/{GetFinanceSummaryResponse.ts → FinanceGetSummaryResponse.ts} +1 -1
- package/api/resources/finance/types/index.d.ts +3 -3
- package/api/resources/finance/types/index.js +3 -3
- package/api/resources/finance/types/index.ts +3 -3
- package/api/resources/imports/client/Client.d.ts +53 -0
- package/api/resources/imports/client/Client.js +129 -0
- package/api/resources/imports/client/Client.ts +173 -0
- package/api/resources/imports/client/requests/CreateImportRequest.d.ts +33 -0
- package/api/resources/imports/client/requests/CreateImportRequest.js +17 -0
- package/api/resources/imports/client/requests/CreateImportRequest.ts +35 -0
- package/api/resources/imports/client/requests/ImportsRetrieveRequest.d.ts +11 -0
- package/api/resources/{businesses/client/requests/PostBusinessesRequest.js → imports/client/requests/ImportsRetrieveRequest.js} +1 -1
- package/api/resources/{taxRates/client/requests/GetTaxRatesIdRequest.ts → imports/client/requests/ImportsRetrieveRequest.ts} +2 -2
- package/api/resources/imports/client/requests/index.d.ts +3 -0
- package/api/resources/imports/client/requests/index.js +2 -0
- package/api/resources/imports/client/requests/index.ts +2 -0
- package/api/resources/imports/index.d.ts +2 -0
- package/api/resources/{businesses/index.ts → imports/index.js} +1 -1
- package/api/resources/{clients → imports}/index.ts +0 -1
- package/api/resources/index.d.ts +7 -24
- package/api/resources/index.js +7 -24
- package/api/resources/index.ts +7 -24
- package/api/resources/integrations/client/Client.d.ts +84 -0
- package/api/resources/integrations/client/Client.js +286 -0
- package/api/resources/integrations/client/Client.ts +396 -0
- package/api/resources/integrations/client/requests/IntegrationsActivateRequest.d.ts +16 -0
- package/api/resources/integrations/client/requests/IntegrationsActivateRequest.ts +18 -0
- package/api/resources/integrations/client/requests/IntegrationsAutoSendInvoicesRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsAutoSendInvoicesRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsAutoSendInvoicesRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsGetBillableItemsRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsGetBillableItemsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsGetBillableItemsRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsGetUnmappedAttemptsRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsGetUnmappedAttemptsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsGetUnmappedAttemptsRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsResumeSyncRequest.d.ts +11 -0
- package/api/resources/{apps/types/PostAppsAppKeyInstallResponse.js → integrations/client/requests/IntegrationsResumeSyncRequest.js} +1 -1
- package/api/resources/integrations/client/requests/IntegrationsResumeSyncRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSuggestMappingsRequest.d.ts +38 -0
- package/api/resources/integrations/client/requests/IntegrationsSuggestMappingsRequest.js +16 -0
- package/api/resources/integrations/client/requests/IntegrationsSuggestMappingsRequest.ts +43 -0
- package/api/resources/integrations/client/requests/index.d.ts +5 -0
- package/api/resources/integrations/client/requests/index.js +1 -0
- package/api/resources/integrations/client/requests/index.ts +5 -0
- package/api/resources/integrations/types/IntegrationsActivateResponse.d.ts +16 -0
- package/api/resources/integrations/types/IntegrationsActivateResponse.js +5 -0
- package/api/resources/integrations/types/IntegrationsActivateResponse.ts +17 -0
- package/api/resources/integrations/types/IntegrationsAutoSendInvoicesRequestProvider.d.ts +7 -0
- package/api/resources/integrations/types/IntegrationsAutoSendInvoicesRequestProvider.js +7 -0
- package/api/resources/integrations/types/IntegrationsAutoSendInvoicesRequestProvider.ts +9 -0
- package/api/resources/integrations/types/IntegrationsAutoSendInvoicesResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsAutoSendInvoicesResponse.js +3 -0
- package/api/resources/{userInvitations/types/DeleteUserInvitationsIdResponse.ts → integrations/types/IntegrationsAutoSendInvoicesResponse.ts} +1 -1
- package/api/resources/integrations/types/IntegrationsBatchRetryResponse.d.ts +1 -1
- package/api/resources/integrations/types/IntegrationsBatchRetryResponse.ts +1 -1
- package/api/resources/integrations/types/IntegrationsGetBillableItemsRequestProvider.d.ts +7 -0
- package/api/resources/integrations/types/IntegrationsGetBillableItemsRequestProvider.js +7 -0
- package/api/resources/integrations/types/IntegrationsGetBillableItemsRequestProvider.ts +9 -0
- package/api/resources/integrations/types/IntegrationsGetBillableItemsResponse.d.ts +25 -0
- package/api/resources/integrations/types/IntegrationsGetBillableItemsResponse.js +14 -0
- package/api/resources/integrations/types/IntegrationsGetBillableItemsResponse.ts +29 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.d.ts +3 -1
- package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.ts +3 -1
- package/api/resources/integrations/types/IntegrationsGetStatusResponse.d.ts +16 -0
- package/api/resources/integrations/types/IntegrationsGetStatusResponse.js +5 -0
- package/api/resources/integrations/types/IntegrationsGetStatusResponse.ts +17 -0
- package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsRequestProvider.d.ts +7 -0
- package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsRequestProvider.js +7 -0
- package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsRequestProvider.ts +9 -0
- package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsResponse.d.ts +17 -0
- package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsResponse.ts +20 -0
- package/api/resources/integrations/types/IntegrationsListResponse.d.ts +16 -0
- package/api/resources/integrations/types/IntegrationsListResponse.js +5 -0
- package/api/resources/integrations/types/IntegrationsListResponse.ts +17 -0
- package/api/resources/integrations/types/IntegrationsResumeSyncRequestProvider.d.ts +7 -0
- package/api/resources/integrations/types/IntegrationsResumeSyncRequestProvider.js +7 -0
- package/api/resources/integrations/types/IntegrationsResumeSyncRequestProvider.ts +9 -0
- package/api/resources/integrations/types/IntegrationsResumeSyncResponse.d.ts +6 -0
- package/api/resources/{apps/client/requests/DeleteAppsAppKeyInstallRequest.js → integrations/types/IntegrationsResumeSyncResponse.js} +1 -1
- package/api/resources/{apps/types/DeleteAppsAppKeyInstallResponse.ts → integrations/types/IntegrationsResumeSyncResponse.ts} +2 -1
- package/api/resources/integrations/types/IntegrationsRetryLogResponse.d.ts +1 -1
- package/api/resources/integrations/types/IntegrationsRetryLogResponse.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSuggestMappingsRequestProvider.d.ts +7 -0
- package/api/resources/integrations/types/IntegrationsSuggestMappingsRequestProvider.js +7 -0
- package/api/resources/integrations/types/IntegrationsSuggestMappingsRequestProvider.ts +9 -0
- package/api/resources/integrations/types/IntegrationsSuggestMappingsResponse.d.ts +16 -0
- package/api/resources/integrations/types/IntegrationsSuggestMappingsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSuggestMappingsResponse.ts +19 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.d.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncLogsResponse.d.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncLogsResponse.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.d.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncStatsResponse.d.ts +1 -1
- package/api/resources/integrations/types/IntegrationsSyncStatsResponse.ts +1 -1
- package/api/resources/integrations/types/index.d.ts +10 -0
- package/api/resources/integrations/types/index.js +10 -0
- package/api/resources/integrations/types/index.ts +10 -0
- package/api/resources/invoices/client/Client.d.ts +1 -1
- package/api/resources/invoices/client/Client.js +1 -1
- package/api/resources/invoices/client/Client.ts +1 -1
- package/api/resources/payments/client/Client.d.ts +1 -35
- package/api/resources/payments/client/Client.js +1 -119
- package/api/resources/payments/client/Client.ts +1 -153
- package/api/resources/payments/client/requests/index.d.ts +0 -2
- package/api/resources/payments/client/requests/index.ts +0 -2
- package/api/resources/payouts/client/Client.d.ts +1 -1
- package/api/resources/payouts/client/Client.js +1 -1
- package/api/resources/payouts/client/Client.ts +1 -1
- package/api/resources/prices/client/Client.d.ts +1 -1
- package/api/resources/prices/client/Client.js +1 -1
- package/api/resources/prices/client/Client.ts +1 -1
- package/api/resources/products/client/Client.d.ts +1 -1
- package/api/resources/products/client/Client.js +1 -1
- package/api/resources/products/client/Client.ts +1 -1
- package/api/resources/products/client/requests/CreateProductRequest.d.ts +2 -0
- package/api/resources/products/client/requests/CreateProductRequest.ts +2 -0
- package/api/resources/products/client/requests/UpdateProductRequest.d.ts +2 -0
- package/api/resources/products/client/requests/UpdateProductRequest.ts +2 -0
- package/api/resources/refunds/client/Client.d.ts +1 -1
- package/api/resources/refunds/client/Client.js +1 -1
- package/api/resources/refunds/client/Client.ts +1 -1
- package/api/resources/subscriptions/client/Client.d.ts +1 -1
- package/api/resources/subscriptions/client/Client.js +1 -1
- package/api/resources/subscriptions/client/Client.ts +1 -1
- package/api/resources/transactions/client/Client.d.ts +49 -0
- package/api/resources/transactions/client/Client.js +132 -0
- package/api/resources/transactions/client/Client.ts +186 -0
- package/api/resources/transactions/client/requests/TransactionsListRequest.d.ts +26 -0
- package/api/resources/transactions/client/requests/TransactionsListRequest.js +3 -0
- package/api/resources/transactions/client/requests/TransactionsListRequest.ts +28 -0
- package/api/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +11 -0
- package/api/resources/{apps/types/GetAppsEntitlementsResponse.js → transactions/client/requests/TransactionsRetrieveRequest.js} +1 -1
- package/api/resources/{userInvitations/client/requests/PostUserInvitationsIdResendRequest.ts → transactions/client/requests/TransactionsRetrieveRequest.ts} +2 -1
- package/api/resources/transactions/client/requests/index.d.ts +3 -0
- package/api/resources/transactions/client/requests/index.ts +2 -0
- package/api/resources/transactions/types/TransactionsListRequestStatus.d.ts +9 -0
- package/api/resources/transactions/types/TransactionsListRequestStatus.js +9 -0
- package/api/resources/transactions/types/TransactionsListRequestStatus.ts +11 -0
- package/api/resources/transactions/types/TransactionsListRequestType.d.ts +11 -0
- package/api/resources/transactions/types/TransactionsListRequestType.js +11 -0
- package/api/resources/transactions/types/TransactionsListRequestType.ts +13 -0
- package/api/resources/transactions/types/index.d.ts +3 -0
- package/api/resources/transactions/types/index.js +3 -0
- package/api/resources/transactions/types/index.ts +2 -0
- package/api/resources/webhookEndpoints/client/Client.d.ts +13 -67
- package/api/resources/webhookEndpoints/client/Client.js +36 -135
- package/api/resources/webhookEndpoints/client/Client.ts +59 -157
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsCreateRequest.d.ts +13 -0
- package/api/resources/{apps/client/requests/PostAppsAppKeyInstallRequest.js → webhookEndpoints/client/requests/WebhookEndpointsCreateRequest.js} +1 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsCreateRequest.ts +14 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.d.ts +0 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.ts +0 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.d.ts +1 -6
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.ts +1 -6
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.d.ts +0 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.ts +0 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.d.ts +0 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.ts +0 -1
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsUpdateRequest.d.ts +14 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsUpdateRequest.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/{UpdateWebhookEndpointInput.ts → WebhookEndpointsUpdateRequest.ts} +1 -6
- package/api/resources/webhookEndpoints/client/requests/index.d.ts +2 -2
- package/api/resources/webhookEndpoints/client/requests/index.ts +2 -2
- package/api/resources/webhookEndpoints/types/WebhookEndpointsCreateResponse.d.ts +5 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsCreateResponse.js +3 -0
- package/api/{types/WebhookEndpointCreateResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsCreateResponse.ts} +2 -2
- package/api/resources/webhookEndpoints/types/WebhookEndpointsDeleteResponse.d.ts +10 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsDeleteResponse.js +3 -0
- package/api/{types/WebhookEndpointDeleteResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsDeleteResponse.ts} +3 -3
- package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.d.ts +0 -1
- package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.js +0 -1
- package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.ts +0 -1
- package/api/{types/WebhookEndpointListResponse.d.ts → resources/webhookEndpoints/types/WebhookEndpointsListResponse.d.ts} +5 -8
- package/api/{types/WebhookEndpointListResponse.js → resources/webhookEndpoints/types/WebhookEndpointsListResponse.js} +5 -6
- package/api/{types/WebhookEndpointListResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsListResponse.ts} +4 -7
- package/api/{types/WebhookEndpointUpdateResponse.d.ts → resources/webhookEndpoints/types/WebhookEndpointsRetrieveResponse.d.ts} +4 -7
- package/api/resources/webhookEndpoints/types/WebhookEndpointsRetrieveResponse.js +17 -0
- package/api/{types/WebhookEndpointUpdateResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsRetrieveResponse.ts} +3 -6
- package/api/resources/webhookEndpoints/types/WebhookEndpointsRotateSecretResponse.d.ts +5 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsRotateSecretResponse.js +3 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsRotateSecretResponse.ts +7 -0
- package/api/{types/WebhookEndpointRetrieveResponse.d.ts → resources/webhookEndpoints/types/WebhookEndpointsUpdateResponse.d.ts} +4 -7
- package/api/resources/webhookEndpoints/types/WebhookEndpointsUpdateResponse.js +17 -0
- package/api/{types/WebhookEndpointRetrieveResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsUpdateResponse.ts} +3 -6
- package/api/resources/webhookEndpoints/types/index.d.ts +6 -0
- package/api/resources/webhookEndpoints/types/index.js +6 -0
- package/api/resources/webhookEndpoints/types/index.ts +6 -0
- package/api/types/BadRequestErrorBody.d.ts +1 -7
- package/api/types/BadRequestErrorBody.ts +1 -8
- package/api/types/BatchIngestRequest.d.ts +3 -0
- package/api/types/BatchIngestRequest.ts +3 -0
- package/api/types/BatchIngestResult.d.ts +3 -0
- package/api/types/BatchIngestResult.ts +3 -0
- package/api/types/Benefit.d.ts +14 -0
- package/api/types/{WebhookEvent.js → Benefit.js} +1 -1
- package/api/types/Benefit.ts +15 -0
- package/api/types/BillingAnchorRulesResponse.d.ts +3 -0
- package/api/types/BillingAnchorRulesResponse.ts +3 -0
- package/api/types/BillingIntervalsResponse.d.ts +3 -0
- package/api/types/BillingIntervalsResponse.ts +3 -0
- package/api/types/BillingPreviewErrorResponse.d.ts +3 -0
- package/api/types/BillingPreviewErrorResponse.ts +3 -0
- package/api/types/BillingPreviewResponse.d.ts +3 -0
- package/api/types/BillingPreviewResponse.ts +3 -0
- package/api/types/ChargeCaptureResponse.d.ts +3 -0
- package/api/types/ChargeCaptureResponse.ts +3 -0
- package/api/types/ChargeCreateResponse.d.ts +3 -0
- package/api/types/ChargeCreateResponse.ts +3 -0
- package/api/types/ChargeDuplicateErrorResponse.d.ts +3 -0
- package/api/types/ChargeDuplicateErrorResponse.ts +3 -0
- package/api/types/ChargeErrorResponse.d.ts +3 -0
- package/api/types/ChargeErrorResponse.ts +3 -0
- package/api/types/ChargeListResponse.d.ts +7 -0
- package/api/types/ChargeListResponse.ts +7 -0
- package/api/types/ChargeRefundResponse.d.ts +3 -0
- package/api/types/ChargeRefundResponse.ts +3 -0
- package/api/types/ChargeRetrieveResponse.d.ts +3 -0
- package/api/types/ChargeRetrieveResponse.ts +3 -0
- package/api/types/CheckoutSession.d.ts +27 -0
- package/api/types/CheckoutSession.js +8 -0
- package/api/types/CheckoutSession.ts +29 -0
- package/api/types/CheckoutSessionCreateResponse.d.ts +3 -0
- package/api/types/CheckoutSessionCreateResponse.ts +3 -0
- package/api/types/CheckoutSessionErrorResponse.d.ts +3 -0
- package/api/types/CheckoutSessionErrorResponse.ts +3 -0
- package/api/types/CheckoutSessionRetrieveResponse.d.ts +6 -0
- package/api/types/CheckoutSessionRetrieveResponse.js +3 -0
- package/api/types/{WebhookEndpointRotateSecretResponse.ts → CheckoutSessionRetrieveResponse.ts} +3 -2
- package/api/types/ConflictErrorBody.d.ts +1 -1
- package/api/types/ConflictErrorBody.ts +1 -1
- package/api/types/CreateMeterResponse.d.ts +3 -0
- package/api/types/CreateMeterResponse.ts +3 -0
- package/api/types/CreditEligibilityResponse.d.ts +8 -0
- package/api/types/CreditEligibilityResponse.ts +8 -0
- package/api/types/CreditNote.d.ts +18 -0
- package/api/types/CreditNote.ts +18 -0
- package/api/types/CreditNoteCreateResponse.d.ts +3 -0
- package/api/types/CreditNoteCreateResponse.ts +3 -0
- package/api/types/CreditNoteEligibilityResponse.d.ts +38 -0
- package/api/types/CreditNoteEligibilityResponse.js +3 -0
- package/api/types/CreditNoteEligibilityResponse.ts +42 -0
- package/api/types/CreditNoteListResponse.d.ts +3 -0
- package/api/types/CreditNoteListResponse.ts +3 -0
- package/api/types/CreditNoteResponse.d.ts +3 -0
- package/api/types/CreditNoteResponse.ts +3 -0
- package/api/types/CreditNoteRetrieveResponse.d.ts +3 -0
- package/api/types/CreditNoteRetrieveResponse.ts +3 -0
- package/api/types/CreditNoteVoidResponse.d.ts +3 -0
- package/api/types/CreditNoteVoidResponse.ts +3 -0
- package/api/types/CustomerCreateResponse.d.ts +14 -1
- package/api/types/CustomerCreateResponse.ts +14 -1
- package/api/types/CustomerInvoice.d.ts +3 -0
- package/api/types/CustomerInvoice.ts +3 -0
- package/api/types/CustomerListResponse.d.ts +14 -1
- package/api/types/CustomerListResponse.ts +14 -1
- package/api/types/CustomerOrder.d.ts +3 -0
- package/api/types/CustomerOrder.ts +3 -0
- package/api/types/CustomerPayment.d.ts +3 -0
- package/api/types/CustomerPayment.ts +3 -0
- package/api/types/CustomerPaymentMethodsListResponse.d.ts +5 -2
- package/api/types/CustomerPaymentMethodsListResponse.ts +6 -2
- package/api/types/CustomerPortalSessionCreateResponse.d.ts +3 -0
- package/api/types/CustomerPortalSessionCreateResponse.ts +3 -0
- package/api/types/CustomerRetrieveResponse.d.ts +14 -1
- package/api/types/CustomerRetrieveResponse.ts +14 -1
- package/api/types/CustomerSubscription.d.ts +3 -0
- package/api/types/CustomerSubscription.ts +3 -0
- package/api/types/CustomerUpdateResponse.d.ts +14 -1
- package/api/types/CustomerUpdateResponse.ts +14 -1
- package/api/types/Discount.d.ts +3 -0
- package/api/types/Discount.ts +3 -0
- package/api/types/DiscountCreateResponse.d.ts +3 -0
- package/api/types/DiscountCreateResponse.ts +3 -0
- package/api/types/DiscountDeleteResponse.d.ts +3 -0
- package/api/types/DiscountDeleteResponse.ts +3 -0
- package/api/types/DiscountListResponse.d.ts +3 -0
- package/api/types/DiscountListResponse.ts +3 -0
- package/api/types/DiscountRetrieveResponse.d.ts +3 -0
- package/api/types/DiscountRetrieveResponse.ts +3 -0
- package/api/types/DiscountUpdateResponse.d.ts +3 -0
- package/api/types/DiscountUpdateResponse.ts +3 -0
- package/api/types/Dispute.d.ts +25 -0
- package/api/types/Dispute.js +2 -0
- package/api/types/Dispute.ts +25 -0
- package/api/types/DryRunResult.d.ts +3 -0
- package/api/types/DryRunResult.ts +3 -0
- package/api/types/Entitlement.d.ts +34 -0
- package/api/types/Entitlement.js +19 -0
- package/api/types/Entitlement.ts +37 -0
- package/api/types/EntitlementCheck.d.ts +28 -0
- package/api/types/EntitlementCheck.js +19 -0
- package/api/types/EntitlementCheck.ts +31 -0
- package/api/types/EntitlementCheckResponse.d.ts +5 -0
- package/api/types/EntitlementCheckResponse.js +3 -0
- package/api/types/{PaymentAttemptSingleResponse.ts → EntitlementCheckResponse.ts} +2 -2
- package/api/types/EntitlementListResponse.d.ts +19 -0
- package/api/types/EntitlementListResponse.js +3 -0
- package/api/types/EntitlementListResponse.ts +23 -0
- package/api/types/ErrorResponse.d.ts +3 -0
- package/api/types/ErrorResponse.ts +3 -0
- package/api/types/Event.d.ts +5 -2
- package/api/types/Event.ts +5 -2
- package/api/types/EventErrorResponse.d.ts +3 -0
- package/api/types/EventErrorResponse.ts +3 -0
- package/api/types/EventListResponse.d.ts +3 -0
- package/api/types/EventListResponse.ts +3 -0
- package/api/types/Export.d.ts +59 -0
- package/api/types/Export.js +30 -0
- package/api/types/Export.ts +61 -0
- package/api/types/ExportCreateResponse.d.ts +8 -0
- package/api/{resources/payments/client/requests/CancelPaymentRequest.js → types/ExportCreateResponse.js} +1 -1
- package/api/types/ExportCreateResponse.ts +10 -0
- package/api/types/ExportRetrieveResponse.d.ts +8 -0
- package/api/{resources/businesses/types/GetBusinessesResponse.js → types/ExportRetrieveResponse.js} +1 -1
- package/api/types/{PaymentSecurityResponse.ts → ExportRetrieveResponse.ts} +5 -2
- package/api/types/ExternalUpsertResponse.d.ts +3 -0
- package/api/types/ExternalUpsertResponse.ts +3 -0
- package/api/types/Import.d.ts +63 -0
- package/api/types/Import.js +24 -0
- package/api/types/Import.ts +66 -0
- package/api/types/ImportCreateResponse.d.ts +8 -0
- package/api/{resources/businesses/client/requests/GetBusinessesRequest.js → types/ImportCreateResponse.js} +1 -1
- package/api/types/ImportCreateResponse.ts +10 -0
- package/api/types/ImportRetrieveResponse.d.ts +8 -0
- package/api/types/ImportRetrieveResponse.js +3 -0
- package/api/types/ImportRetrieveResponse.ts +10 -0
- package/api/types/InternalServerErrorBody.d.ts +1 -0
- package/api/types/InternalServerErrorBody.ts +1 -0
- package/api/types/Invoice.d.ts +12 -0
- package/api/types/Invoice.ts +12 -0
- package/api/types/InvoiceCommentDetail.d.ts +3 -0
- package/api/types/InvoiceCommentDetail.ts +3 -0
- package/api/types/InvoiceCommentDetailResponse.d.ts +3 -0
- package/api/types/InvoiceCommentDetailResponse.ts +3 -0
- package/api/types/InvoiceCommentListDetailResponse.d.ts +3 -0
- package/api/types/InvoiceCommentListDetailResponse.ts +3 -0
- package/api/types/InvoiceListResponse.d.ts +3 -0
- package/api/types/InvoiceListResponse.ts +3 -0
- package/api/types/InvoiceResponse.d.ts +3 -0
- package/api/types/InvoiceResponse.ts +3 -0
- package/api/types/MeterError.d.ts +3 -0
- package/api/types/MeterError.ts +3 -0
- package/api/types/MeterGetResponse.d.ts +3 -0
- package/api/types/MeterGetResponse.ts +3 -0
- package/api/types/MeterListResponse.d.ts +3 -0
- package/api/types/MeterListResponse.ts +3 -0
- package/api/types/MeterPriceError.d.ts +3 -0
- package/api/types/MeterPriceError.ts +3 -0
- package/api/types/MeterPriceListResponse.d.ts +3 -0
- package/api/types/MeterPriceListResponse.ts +3 -0
- package/api/types/MeterPriceResponse.d.ts +3 -0
- package/api/types/MeterPriceResponse.ts +3 -0
- package/api/types/NotFoundErrorBody.d.ts +1 -20
- package/api/types/NotFoundErrorBody.js +1 -12
- package/api/types/NotFoundErrorBody.ts +1 -22
- package/api/types/OauthScope.d.ts +205 -0
- package/api/types/OauthScope.js +205 -0
- package/api/types/OauthScope.ts +206 -0
- package/api/types/OpenDispute.d.ts +18 -0
- package/api/types/OpenDispute.ts +18 -0
- package/api/types/Order.d.ts +3 -0
- package/api/types/Order.ts +3 -0
- package/api/types/OrderErrorResponse.d.ts +3 -0
- package/api/types/OrderErrorResponse.ts +3 -0
- package/api/types/OrderLineItem.d.ts +3 -0
- package/api/types/OrderLineItem.ts +3 -0
- package/api/types/OrderListResponse.d.ts +3 -0
- package/api/types/OrderListResponse.ts +3 -0
- package/api/types/Pagination.d.ts +13 -0
- package/api/types/{SetupIntentError.js → Pagination.js} +1 -1
- package/api/types/Pagination.ts +14 -0
- package/api/types/Payment.d.ts +3 -0
- package/api/types/Payment.ts +3 -0
- package/api/types/PaymentErrorResponse.d.ts +3 -0
- package/api/types/PaymentErrorResponse.ts +3 -0
- package/api/types/PaymentIntent.d.ts +3 -0
- package/api/types/PaymentIntent.ts +3 -0
- package/api/types/PaymentIntentErrorResponse.d.ts +3 -0
- package/api/types/PaymentIntentErrorResponse.ts +3 -0
- package/api/types/PaymentIntentListResponse.d.ts +3 -0
- package/api/types/PaymentIntentListResponse.ts +3 -0
- package/api/types/PaymentListResponse.d.ts +3 -0
- package/api/types/PaymentListResponse.ts +3 -0
- package/api/types/PaymentMethod.d.ts +3 -0
- package/api/types/PaymentMethod.ts +3 -0
- package/api/types/Payout.d.ts +3 -0
- package/api/types/Payout.ts +3 -0
- package/api/types/PayoutPayment.d.ts +3 -0
- package/api/types/PayoutPayment.ts +3 -0
- package/api/types/PhaseItem.d.ts +3 -0
- package/api/types/PhaseItem.ts +3 -0
- package/api/types/Price.d.ts +3 -0
- package/api/types/Price.ts +3 -0
- package/api/types/PriceErrorResponse.d.ts +3 -0
- package/api/types/PriceErrorResponse.ts +3 -0
- package/api/types/PriceListResponse.d.ts +3 -0
- package/api/types/PriceListResponse.ts +3 -0
- package/api/types/Product.d.ts +110 -0
- package/api/types/Product.js +44 -0
- package/api/types/Product.ts +112 -0
- package/api/types/ProductCreateResponse.d.ts +5 -2
- package/api/types/ProductCreateResponse.ts +6 -2
- package/api/types/ProductErrorResponse.d.ts +3 -0
- package/api/types/ProductErrorResponse.ts +3 -0
- package/api/types/ProductListResponse.d.ts +6 -12
- package/api/types/ProductListResponse.ts +7 -13
- package/api/types/ProductRetrieveResponse.d.ts +5 -2
- package/api/types/ProductRetrieveResponse.ts +6 -2
- package/api/types/ProductUpdateResponse.d.ts +5 -2
- package/api/types/ProductUpdateResponse.ts +6 -2
- package/api/types/Refund.d.ts +3 -0
- package/api/types/Refund.ts +3 -0
- package/api/types/RefundCreateResponse.d.ts +3 -0
- package/api/types/RefundCreateResponse.ts +3 -0
- package/api/types/RefundListResponse.d.ts +7 -0
- package/api/types/RefundListResponse.ts +7 -0
- package/api/types/RefundRetrieveResponse.d.ts +3 -0
- package/api/types/RefundRetrieveResponse.ts +3 -0
- package/api/types/ResendWebhookResponse.d.ts +3 -0
- package/api/types/ResendWebhookResponse.ts +3 -0
- package/api/types/SchedulePhase.d.ts +3 -0
- package/api/types/SchedulePhase.ts +3 -0
- package/api/types/StaleUpdateResponse.d.ts +3 -0
- package/api/types/StaleUpdateResponse.ts +3 -0
- package/api/types/SubscriptionCancelResponse.d.ts +3 -0
- package/api/types/SubscriptionCancelResponse.ts +3 -0
- package/api/types/SubscriptionCancelSubscriptionResponse.d.ts +3 -0
- package/api/types/SubscriptionCancelSubscriptionResponse.ts +3 -0
- package/api/types/SubscriptionChangePlanResponse.d.ts +3 -0
- package/api/types/SubscriptionChangePlanResponse.ts +3 -0
- package/api/types/SubscriptionChangeQuantityResponse.d.ts +3 -0
- package/api/types/SubscriptionChangeQuantityResponse.ts +3 -0
- package/api/types/SubscriptionCreateResponse.d.ts +3 -0
- package/api/types/SubscriptionCreateResponse.ts +3 -0
- package/api/types/SubscriptionItem.d.ts +3 -0
- package/api/types/SubscriptionItem.ts +3 -0
- package/api/types/SubscriptionItemCreateResponse.d.ts +3 -0
- package/api/types/SubscriptionItemCreateResponse.ts +3 -0
- package/api/types/SubscriptionItemDeleteResponse.d.ts +3 -0
- package/api/types/SubscriptionItemDeleteResponse.ts +3 -0
- package/api/types/SubscriptionItemListResponse.d.ts +3 -0
- package/api/types/SubscriptionItemListResponse.ts +3 -0
- package/api/types/SubscriptionItemUpdateResponse.d.ts +3 -0
- package/api/types/SubscriptionItemUpdateResponse.ts +3 -0
- package/api/types/SubscriptionListResponse.d.ts +3 -0
- package/api/types/SubscriptionListResponse.ts +3 -0
- package/api/types/SubscriptionPauseResponse.d.ts +3 -0
- package/api/types/SubscriptionPauseResponse.ts +3 -0
- package/api/types/SubscriptionPreviewRenewalResponse.d.ts +3 -0
- package/api/types/SubscriptionPreviewRenewalResponse.ts +3 -0
- package/api/types/SubscriptionReactivateResponse.d.ts +3 -0
- package/api/types/SubscriptionReactivateResponse.ts +3 -0
- package/api/types/SubscriptionResumeResponse.d.ts +3 -0
- package/api/types/SubscriptionResumeResponse.ts +3 -0
- package/api/types/SubscriptionRetrieveResponse.d.ts +3 -0
- package/api/types/SubscriptionRetrieveResponse.ts +3 -0
- package/api/types/SubscriptionSchedule.d.ts +3 -0
- package/api/types/SubscriptionSchedule.ts +3 -0
- package/api/types/SubscriptionScheduleErrorResponse.d.ts +3 -0
- package/api/types/SubscriptionScheduleErrorResponse.ts +3 -0
- package/api/types/SubscriptionScheduleListResponse.d.ts +3 -0
- package/api/types/SubscriptionScheduleListResponse.ts +3 -0
- package/api/types/SubscriptionUpdateResponse.d.ts +3 -0
- package/api/types/SubscriptionUpdateResponse.ts +3 -0
- package/api/types/SuccessResponse.d.ts +3 -0
- package/api/types/SuccessResponse.ts +3 -0
- package/api/types/TerminalDevice.d.ts +3 -0
- package/api/types/TerminalDevice.ts +3 -0
- package/api/types/TerminalDeviceErrorResponse.d.ts +3 -0
- package/api/types/TerminalDeviceErrorResponse.ts +3 -0
- package/api/types/TerminalDeviceListResponse.d.ts +3 -0
- package/api/types/TerminalDeviceListResponse.ts +3 -0
- package/api/types/TerminalDeviceResponse.d.ts +3 -0
- package/api/types/TerminalDeviceResponse.ts +3 -0
- package/api/types/TerminalPayment.d.ts +3 -0
- package/api/types/TerminalPayment.ts +3 -0
- package/api/types/TerminalPaymentErrorResponse.d.ts +3 -0
- package/api/types/TerminalPaymentErrorResponse.ts +3 -0
- package/api/types/TerminalPaymentListResponse.d.ts +3 -0
- package/api/types/TerminalPaymentListResponse.ts +3 -0
- package/api/types/TerminalPaymentResponse.d.ts +3 -0
- package/api/types/TerminalPaymentResponse.ts +3 -0
- package/api/types/TestEventResponse.d.ts +3 -0
- package/api/types/TestEventResponse.ts +3 -0
- package/api/types/Transaction.d.ts +71 -0
- package/api/types/Transaction.js +25 -0
- package/api/types/Transaction.ts +73 -0
- package/api/types/TransactionListResponse.d.ts +17 -0
- package/api/types/TransactionListResponse.js +8 -0
- package/api/types/{TaxRateListResponse.ts → TransactionListResponse.ts} +7 -4
- package/api/types/TransactionRetrieveResponse.d.ts +8 -0
- package/api/types/TransactionRetrieveResponse.js +3 -0
- package/api/types/TransactionRetrieveResponse.ts +10 -0
- package/api/types/TransactionReversalEligibilityResponse.d.ts +26 -0
- package/api/types/TransactionReversalEligibilityResponse.js +3 -0
- package/api/types/TransactionReversalEligibilityResponse.ts +28 -0
- package/api/types/UnauthorizedErrorBody.d.ts +1 -7
- package/api/types/UnauthorizedErrorBody.ts +1 -8
- package/api/types/UpdateMeterResponse.d.ts +3 -0
- package/api/types/UpdateMeterResponse.ts +3 -0
- package/api/types/UsageAggregateResponse.d.ts +3 -0
- package/api/types/UsageAggregateResponse.ts +3 -0
- package/api/types/UsageBalanceMeter.d.ts +3 -0
- package/api/types/UsageBalanceMeter.ts +3 -0
- package/api/types/UsageBalanceResponse.d.ts +3 -0
- package/api/types/UsageBalanceResponse.ts +3 -0
- package/api/types/UsageEvent.d.ts +3 -0
- package/api/types/UsageEvent.ts +3 -0
- package/api/types/UsageEventError.d.ts +3 -0
- package/api/types/UsageEventError.ts +3 -0
- package/api/types/UsageEventListResponse.d.ts +3 -0
- package/api/types/UsageEventListResponse.ts +3 -0
- package/api/types/Void.d.ts +3 -0
- package/api/types/Void.ts +3 -0
- package/api/types/VoidCreateResponse.d.ts +3 -0
- package/api/types/VoidCreateResponse.ts +3 -0
- package/api/types/VoidListResponse.d.ts +7 -0
- package/api/types/VoidListResponse.ts +7 -0
- package/api/types/VoidRetrieveResponse.d.ts +3 -0
- package/api/types/VoidRetrieveResponse.ts +3 -0
- package/api/types/WebhookEndpoint.d.ts +1 -4
- package/api/types/WebhookEndpoint.js +0 -1
- package/api/types/WebhookEndpoint.ts +1 -4
- package/api/types/index.d.ts +21 -28
- package/api/types/index.js +21 -28
- package/api/types/index.ts +21 -28
- package/package.json +1 -1
- package/webhooks.d.ts +1 -1
- package/webhooks.ts +5 -1
- package/api/resources/apps/client/Client.d.ts +0 -63
- package/api/resources/apps/client/Client.js +0 -187
- package/api/resources/apps/client/Client.ts +0 -246
- package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.d.ts +0 -10
- package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.ts +0 -11
- package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.d.ts +0 -10
- package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.ts +0 -11
- package/api/resources/apps/client/requests/index.d.ts +0 -3
- package/api/resources/apps/client/requests/index.ts +0 -2
- package/api/resources/apps/types/DeleteAppsAppKeyInstallResponse.d.ts +0 -5
- package/api/resources/apps/types/GetAppsEntitlementsResponse.d.ts +0 -5
- package/api/resources/apps/types/GetAppsEntitlementsResponse.ts +0 -6
- package/api/resources/apps/types/PostAppsAppKeyInstallResponse.d.ts +0 -6
- package/api/resources/apps/types/PostAppsAppKeyInstallResponse.ts +0 -7
- package/api/resources/apps/types/index.d.ts +0 -4
- package/api/resources/apps/types/index.js +0 -4
- package/api/resources/apps/types/index.ts +0 -3
- package/api/resources/businesses/client/Client.d.ts +0 -59
- package/api/resources/businesses/client/requests/GetBusinessesIdRequest.d.ts +0 -10
- package/api/resources/businesses/client/requests/GetBusinessesRequest.d.ts +0 -13
- package/api/resources/businesses/client/requests/GetBusinessesRequest.ts +0 -14
- package/api/resources/businesses/client/requests/PostBusinessesRequest.d.ts +0 -21
- package/api/resources/businesses/client/requests/PostBusinessesRequest.ts +0 -22
- package/api/resources/businesses/client/requests/index.d.ts +0 -4
- package/api/resources/businesses/client/requests/index.js +0 -2
- package/api/resources/businesses/client/requests/index.ts +0 -3
- package/api/resources/businesses/index.d.ts +0 -3
- package/api/resources/businesses/index.js +0 -3
- package/api/resources/businesses/types/GetBusinessesIdResponse.d.ts +0 -5
- package/api/resources/businesses/types/GetBusinessesIdResponse.ts +0 -6
- package/api/resources/businesses/types/GetBusinessesResponse.d.ts +0 -15
- package/api/resources/businesses/types/GetBusinessesResponse.ts +0 -17
- package/api/resources/businesses/types/PostBusinessesResponse.d.ts +0 -5
- package/api/resources/businesses/types/PostBusinessesResponse.js +0 -3
- package/api/resources/businesses/types/PostBusinessesResponse.ts +0 -6
- package/api/resources/businesses/types/index.d.ts +0 -4
- package/api/resources/businesses/types/index.js +0 -4
- package/api/resources/businesses/types/index.ts +0 -3
- package/api/resources/clients/client/Client.d.ts +0 -32
- package/api/resources/clients/client/Client.js +0 -76
- package/api/resources/clients/client/Client.ts +0 -108
- package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.d.ts +0 -10
- package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.js +0 -3
- package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.ts +0 -11
- package/api/resources/clients/client/requests/index.d.ts +0 -2
- package/api/resources/clients/client/requests/index.js +0 -2
- package/api/resources/clients/client/requests/index.ts +0 -1
- package/api/resources/clients/index.d.ts +0 -3
- package/api/resources/clients/index.js +0 -3
- package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.d.ts +0 -18
- package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.js +0 -3
- package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.ts +0 -21
- package/api/resources/clients/types/index.d.ts +0 -2
- package/api/resources/clients/types/index.js +0 -2
- package/api/resources/clients/types/index.ts +0 -1
- package/api/resources/finance/client/requests/GetFinanceIncomeRequest.js +0 -3
- package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.d.ts +0 -8
- package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.ts +0 -10
- package/api/resources/finance/types/GetFinanceIncomeResponse.js +0 -3
- package/api/resources/finance/types/GetFinanceSummaryResponse.js +0 -3
- package/api/resources/paymentAttempts/client/Client.d.ts +0 -165
- package/api/resources/paymentAttempts/client/Client.js +0 -537
- package/api/resources/paymentAttempts/client/Client.ts +0 -757
- package/api/resources/paymentAttempts/client/index.d.ts +0 -2
- package/api/resources/paymentAttempts/client/index.js +0 -2
- package/api/resources/paymentAttempts/client/index.ts +0 -1
- package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.d.ts +0 -11
- package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.ts +0 -12
- package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.d.ts +0 -11
- package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.ts +0 -12
- package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.d.ts +0 -11
- package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.ts +0 -12
- package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.d.ts +0 -11
- package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.ts +0 -12
- package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.d.ts +0 -13
- package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.ts +0 -14
- package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.d.ts +0 -13
- package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.ts +0 -14
- package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.d.ts +0 -11
- package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.ts +0 -12
- package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.d.ts +0 -19
- package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.js +0 -3
- package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.ts +0 -20
- package/api/resources/paymentAttempts/client/requests/index.d.ts +0 -9
- package/api/resources/paymentAttempts/client/requests/index.js +0 -2
- package/api/resources/paymentAttempts/client/requests/index.ts +0 -8
- package/api/resources/paymentAttempts/index.d.ts +0 -4
- package/api/resources/paymentAttempts/index.js +0 -4
- package/api/resources/paymentAttempts/index.ts +0 -3
- package/api/resources/paymentAttempts/resources/analytics/client/Client.d.ts +0 -30
- package/api/resources/paymentAttempts/resources/analytics/client/Client.js +0 -70
- package/api/resources/paymentAttempts/resources/analytics/client/Client.ts +0 -102
- package/api/resources/paymentAttempts/resources/analytics/client/index.d.ts +0 -2
- package/api/resources/paymentAttempts/resources/analytics/client/index.js +0 -2
- package/api/resources/paymentAttempts/resources/analytics/client/index.ts +0 -1
- package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.d.ts +0 -16
- package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.js +0 -3
- package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.ts +0 -17
- package/api/resources/paymentAttempts/resources/analytics/client/requests/index.d.ts +0 -2
- package/api/resources/paymentAttempts/resources/analytics/client/requests/index.js +0 -2
- package/api/resources/paymentAttempts/resources/analytics/client/requests/index.ts +0 -1
- package/api/resources/paymentAttempts/resources/index.d.ts +0 -3
- package/api/resources/paymentAttempts/resources/index.js +0 -3
- package/api/resources/paymentAttempts/resources/index.ts +0 -2
- package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.d.ts +0 -32
- package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.js +0 -3
- package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.ts +0 -38
- package/api/resources/paymentAttempts/types/index.d.ts +0 -2
- package/api/resources/paymentAttempts/types/index.js +0 -2
- package/api/resources/paymentAttempts/types/index.ts +0 -1
- package/api/resources/paymentMethods/client/Client.d.ts +0 -115
- package/api/resources/paymentMethods/client/Client.js +0 -327
- package/api/resources/paymentMethods/client/Client.ts +0 -428
- package/api/resources/paymentMethods/client/index.d.ts +0 -2
- package/api/resources/paymentMethods/client/index.js +0 -2
- package/api/resources/paymentMethods/client/index.ts +0 -1
- package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.d.ts +0 -14
- package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.js +0 -3
- package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.ts +0 -15
- package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.d.ts +0 -11
- package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.js +0 -3
- package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.ts +0 -12
- package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.ts +0 -18
- package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.js +0 -3
- package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.ts +0 -20
- package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.d.ts +0 -11
- package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.js +0 -3
- package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.ts +0 -12
- package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.d.ts +0 -15
- package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.js +0 -3
- package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.ts +0 -17
- package/api/resources/paymentMethods/client/requests/index.d.ts +0 -6
- package/api/resources/paymentMethods/client/requests/index.js +0 -2
- package/api/resources/paymentMethods/client/requests/index.ts +0 -5
- package/api/resources/paymentMethods/index.d.ts +0 -3
- package/api/resources/paymentMethods/index.js +0 -3
- package/api/resources/paymentMethods/index.ts +0 -2
- package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.d.ts +0 -8
- package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.js +0 -8
- package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.ts +0 -10
- package/api/resources/paymentMethods/types/index.d.ts +0 -2
- package/api/resources/paymentMethods/types/index.js +0 -2
- package/api/resources/paymentMethods/types/index.ts +0 -1
- package/api/resources/payments/client/requests/CancelPaymentRequest.d.ts +0 -13
- package/api/resources/payments/client/requests/CancelPaymentRequest.ts +0 -14
- package/api/resources/payments/client/requests/CapturePaymentRequest.d.ts +0 -13
- package/api/resources/payments/client/requests/CapturePaymentRequest.js +0 -3
- package/api/resources/payments/client/requests/CapturePaymentRequest.ts +0 -14
- package/api/resources/setupIntents/client/Client.d.ts +0 -144
- package/api/resources/setupIntents/client/Client.js +0 -400
- package/api/resources/setupIntents/client/Client.ts +0 -518
- package/api/resources/setupIntents/client/index.d.ts +0 -2
- package/api/resources/setupIntents/client/index.js +0 -2
- package/api/resources/setupIntents/client/index.ts +0 -1
- package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.d.ts +0 -22
- package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.js +0 -11
- package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.ts +0 -24
- package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.d.ts +0 -15
- package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.js +0 -3
- package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.ts +0 -16
- package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.d.ts +0 -25
- package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.js +0 -10
- package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.ts +0 -27
- package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.d.ts +0 -18
- package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.js +0 -3
- package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.ts +0 -20
- package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.d.ts +0 -11
- package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.js +0 -3
- package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.ts +0 -12
- package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.d.ts +0 -19
- package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.js +0 -3
- package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.ts +0 -20
- package/api/resources/setupIntents/client/requests/index.d.ts +0 -7
- package/api/resources/setupIntents/client/requests/index.js +0 -3
- package/api/resources/setupIntents/client/requests/index.ts +0 -6
- package/api/resources/setupIntents/index.d.ts +0 -3
- package/api/resources/setupIntents/index.js +0 -3
- package/api/resources/setupIntents/index.ts +0 -2
- package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.d.ts +0 -11
- package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.js +0 -11
- package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.ts +0 -13
- package/api/resources/setupIntents/types/index.d.ts +0 -2
- package/api/resources/setupIntents/types/index.js +0 -2
- package/api/resources/setupIntents/types/index.ts +0 -1
- package/api/resources/taxRates/client/Client.d.ts +0 -93
- package/api/resources/taxRates/client/Client.js +0 -293
- package/api/resources/taxRates/client/Client.ts +0 -397
- package/api/resources/taxRates/client/index.d.ts +0 -2
- package/api/resources/taxRates/client/index.js +0 -2
- package/api/resources/taxRates/client/index.ts +0 -1
- package/api/resources/taxRates/client/requests/CreateTaxRateRequest.d.ts +0 -38
- package/api/resources/taxRates/client/requests/CreateTaxRateRequest.js +0 -12
- package/api/resources/taxRates/client/requests/CreateTaxRateRequest.ts +0 -40
- package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.d.ts +0 -11
- package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.js +0 -3
- package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.d.ts +0 -11
- package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.js +0 -3
- package/api/resources/taxRates/client/requests/GetTaxRatesRequest.d.ts +0 -24
- package/api/resources/taxRates/client/requests/GetTaxRatesRequest.js +0 -3
- package/api/resources/taxRates/client/requests/GetTaxRatesRequest.ts +0 -26
- package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.d.ts +0 -25
- package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.js +0 -3
- package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.ts +0 -26
- package/api/resources/taxRates/client/requests/index.d.ts +0 -6
- package/api/resources/taxRates/client/requests/index.js +0 -2
- package/api/resources/taxRates/client/requests/index.ts +0 -5
- package/api/resources/taxRates/index.d.ts +0 -3
- package/api/resources/taxRates/index.js +0 -3
- package/api/resources/taxRates/index.ts +0 -2
- package/api/resources/taxRates/types/GetTaxRatesRequestActive.d.ts +0 -7
- package/api/resources/taxRates/types/GetTaxRatesRequestActive.js +0 -7
- package/api/resources/taxRates/types/GetTaxRatesRequestActive.ts +0 -8
- package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.d.ts +0 -7
- package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.js +0 -7
- package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.ts +0 -9
- package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.d.ts +0 -9
- package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.js +0 -9
- package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.ts +0 -10
- package/api/resources/taxRates/types/index.d.ts +0 -4
- package/api/resources/taxRates/types/index.js +0 -4
- package/api/resources/taxRates/types/index.ts +0 -3
- package/api/resources/userInvitations/client/Client.d.ts +0 -96
- package/api/resources/userInvitations/client/Client.js +0 -299
- package/api/resources/userInvitations/client/Client.ts +0 -397
- package/api/resources/userInvitations/client/index.d.ts +0 -2
- package/api/resources/userInvitations/client/index.js +0 -2
- package/api/resources/userInvitations/client/index.ts +0 -1
- package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.d.ts +0 -10
- package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.js +0 -3
- package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.ts +0 -11
- package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.d.ts +0 -13
- package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.js +0 -3
- package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.ts +0 -14
- package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.d.ts +0 -10
- package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.js +0 -3
- package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.d.ts +0 -21
- package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.js +0 -10
- package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.ts +0 -23
- package/api/resources/userInvitations/client/requests/index.d.ts +0 -5
- package/api/resources/userInvitations/client/requests/index.js +0 -2
- package/api/resources/userInvitations/client/requests/index.ts +0 -4
- package/api/resources/userInvitations/index.d.ts +0 -3
- package/api/resources/userInvitations/index.js +0 -3
- package/api/resources/userInvitations/index.ts +0 -2
- package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.d.ts +0 -4
- package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.js +0 -3
- package/api/resources/userInvitations/types/GetUserInvitationsResponse.d.ts +0 -26
- package/api/resources/userInvitations/types/GetUserInvitationsResponse.js +0 -16
- package/api/resources/userInvitations/types/GetUserInvitationsResponse.ts +0 -30
- package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.d.ts +0 -6
- package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.js +0 -3
- package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.ts +0 -7
- package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.d.ts +0 -23
- package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.js +0 -13
- package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.ts +0 -26
- package/api/resources/userInvitations/types/PostUserInvitationsResponse.d.ts +0 -23
- package/api/resources/userInvitations/types/PostUserInvitationsResponse.js +0 -13
- package/api/resources/userInvitations/types/PostUserInvitationsResponse.ts +0 -26
- package/api/resources/userInvitations/types/index.d.ts +0 -6
- package/api/resources/userInvitations/types/index.js +0 -6
- package/api/resources/userInvitations/types/index.ts +0 -5
- package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.d.ts +0 -16
- package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.js +0 -3
- package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.ts +0 -17
- package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.d.ts +0 -19
- package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.js +0 -3
- package/api/types/AuthenticationError.d.ts +0 -24
- package/api/types/AuthenticationError.js +0 -16
- package/api/types/AuthenticationError.ts +0 -27
- package/api/types/AvsCodeInterpretation.d.ts +0 -38
- package/api/types/AvsCodeInterpretation.js +0 -21
- package/api/types/AvsCodeInterpretation.ts +0 -40
- package/api/types/CvvCodeInterpretation.d.ts +0 -34
- package/api/types/CvvCodeInterpretation.js +0 -21
- package/api/types/CvvCodeInterpretation.ts +0 -36
- package/api/types/DeclineAnalyticsResponse.d.ts +0 -33
- package/api/types/DeclineAnalyticsResponse.js +0 -3
- package/api/types/DeclineAnalyticsResponse.ts +0 -38
- package/api/types/ForbiddenErrorBody.d.ts +0 -23
- package/api/types/ForbiddenErrorBody.js +0 -15
- package/api/types/ForbiddenErrorBody.ts +0 -26
- package/api/types/PaymentAttempt.d.ts +0 -171
- package/api/types/PaymentAttempt.js +0 -89
- package/api/types/PaymentAttempt.ts +0 -173
- package/api/types/PaymentAttemptErrorResponse.d.ts +0 -5
- package/api/types/PaymentAttemptErrorResponse.js +0 -3
- package/api/types/PaymentAttemptErrorResponse.ts +0 -6
- package/api/types/PaymentAttemptListResponse.d.ts +0 -14
- package/api/types/PaymentAttemptListResponse.js +0 -3
- package/api/types/PaymentAttemptListResponse.ts +0 -17
- package/api/types/PaymentAttemptSingleResponse.d.ts +0 -5
- package/api/types/PaymentAttemptSingleResponse.js +0 -3
- package/api/types/PaymentMethodList.d.ts +0 -19
- package/api/types/PaymentMethodList.js +0 -9
- package/api/types/PaymentMethodList.ts +0 -22
- package/api/types/PaymentSecurityResponse.d.ts +0 -5
- package/api/types/PaymentSecurityResponse.js +0 -3
- package/api/types/PaymentSecurityResult.d.ts +0 -27
- package/api/types/PaymentSecurityResult.js +0 -18
- package/api/types/PaymentSecurityResult.ts +0 -30
- package/api/types/RetryEligibilityResponse.d.ts +0 -14
- package/api/types/RetryEligibilityResponse.js +0 -3
- package/api/types/RetryEligibilityResponse.ts +0 -17
- package/api/types/SetupIntent.d.ts +0 -70
- package/api/types/SetupIntent.js +0 -29
- package/api/types/SetupIntent.ts +0 -73
- package/api/types/SetupIntentError.d.ts +0 -23
- package/api/types/SetupIntentError.ts +0 -25
- package/api/types/SetupIntentList.d.ts +0 -21
- package/api/types/SetupIntentList.js +0 -9
- package/api/types/SetupIntentList.ts +0 -24
- package/api/types/SetupIntentNextAction.d.ts +0 -29
- package/api/types/SetupIntentNextAction.js +0 -10
- package/api/types/SetupIntentNextAction.ts +0 -32
- package/api/types/TaxRate.d.ts +0 -46
- package/api/types/TaxRate.js +0 -16
- package/api/types/TaxRate.ts +0 -48
- package/api/types/TaxRateErrorResponse.d.ts +0 -12
- package/api/types/TaxRateErrorResponse.js +0 -3
- package/api/types/TaxRateErrorResponse.ts +0 -14
- package/api/types/TaxRateListResponse.d.ts +0 -14
- package/api/types/TaxRateListResponse.js +0 -8
- package/api/types/ValidationError.d.ts +0 -28
- package/api/types/ValidationError.js +0 -14
- package/api/types/ValidationError.ts +0 -32
- package/api/types/WebhookEndpointCreateResponse.d.ts +0 -5
- package/api/types/WebhookEndpointCreateResponse.js +0 -3
- package/api/types/WebhookEndpointDeleteResponse.d.ts +0 -10
- package/api/types/WebhookEndpointDeleteResponse.js +0 -3
- package/api/types/WebhookEndpointRetrieveResponse.js +0 -18
- package/api/types/WebhookEndpointRotateSecretResponse.d.ts +0 -5
- package/api/types/WebhookEndpointRotateSecretResponse.js +0 -3
- package/api/types/WebhookEndpointUpdateResponse.js +0 -18
- package/api/types/WebhookEvent.d.ts +0 -24
- package/api/types/WebhookEvent.ts +0 -26
- /package/api/resources/{apps → exports}/client/index.d.ts +0 -0
- /package/api/resources/{apps → exports}/client/index.js +0 -0
- /package/api/resources/{apps → exports}/client/index.ts +0 -0
- /package/api/resources/{paymentAttempts/resources/analytics → exports}/index.d.ts +0 -0
- /package/api/resources/{paymentAttempts/resources/analytics → exports}/index.js +0 -0
- /package/api/resources/{paymentAttempts/resources/analytics → exports}/index.ts +0 -0
- /package/api/resources/{businesses → imports}/client/index.d.ts +0 -0
- /package/api/resources/{businesses → imports}/client/index.js +0 -0
- /package/api/resources/{businesses → imports}/client/index.ts +0 -0
- /package/api/resources/{clients → transactions}/client/index.d.ts +0 -0
- /package/api/resources/{clients → transactions}/client/index.js +0 -0
- /package/api/resources/{clients → transactions}/client/index.ts +0 -0
- /package/api/resources/{apps → transactions}/client/requests/index.js +0 -0
- /package/api/resources/{apps → transactions}/index.d.ts +0 -0
- /package/api/resources/{apps → transactions}/index.js +0 -0
- /package/api/resources/{apps → transactions}/index.ts +0 -0
package/Client.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { AnalyticsClient } from "./api/resources/analytics/client/Client.js";
|
|
2
|
-
import { AppsClient } from "./api/resources/apps/client/Client.js";
|
|
3
2
|
import { BillingClient } from "./api/resources/billing/client/Client.js";
|
|
4
|
-
import { BusinessesClient } from "./api/resources/businesses/client/Client.js";
|
|
5
3
|
import { ChargesClient } from "./api/resources/charges/client/Client.js";
|
|
6
4
|
import { CheckoutSessionsClient } from "./api/resources/checkoutSessions/client/Client.js";
|
|
7
|
-
import { ClientsClient } from "./api/resources/clients/client/Client.js";
|
|
8
5
|
import { CommsClient } from "./api/resources/comms/client/Client.js";
|
|
9
6
|
import { CreditNotesClient } from "./api/resources/creditNotes/client/Client.js";
|
|
10
7
|
import { CustomersClient } from "./api/resources/customers/client/Client.js";
|
|
@@ -12,29 +9,27 @@ import { DiscountsClient } from "./api/resources/discounts/client/Client.js";
|
|
|
12
9
|
import { DisputesClient } from "./api/resources/disputes/client/Client.js";
|
|
13
10
|
import { EntitlementsClient } from "./api/resources/entitlements/client/Client.js";
|
|
14
11
|
import { EventsClient } from "./api/resources/events/client/Client.js";
|
|
12
|
+
import { ExportsClient } from "./api/resources/exports/client/Client.js";
|
|
15
13
|
import { FinanceClient } from "./api/resources/finance/client/Client.js";
|
|
14
|
+
import { ImportsClient } from "./api/resources/imports/client/Client.js";
|
|
16
15
|
import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
|
|
17
16
|
import { InvoicesClient } from "./api/resources/invoices/client/Client.js";
|
|
18
17
|
import { MetersClient } from "./api/resources/meters/client/Client.js";
|
|
19
18
|
import { OrdersClient } from "./api/resources/orders/client/Client.js";
|
|
20
|
-
import { PaymentAttemptsClient } from "./api/resources/paymentAttempts/client/Client.js";
|
|
21
19
|
import { PaymentIntentsClient } from "./api/resources/paymentIntents/client/Client.js";
|
|
22
20
|
import { PaymentLinksClient } from "./api/resources/paymentLinks/client/Client.js";
|
|
23
|
-
import { PaymentMethodsClient } from "./api/resources/paymentMethods/client/Client.js";
|
|
24
21
|
import { PaymentsClient } from "./api/resources/payments/client/Client.js";
|
|
25
22
|
import { PayoutsClient } from "./api/resources/payouts/client/Client.js";
|
|
26
23
|
import { PricesClient } from "./api/resources/prices/client/Client.js";
|
|
27
24
|
import { ProductsClient } from "./api/resources/products/client/Client.js";
|
|
28
25
|
import { RefundsClient } from "./api/resources/refunds/client/Client.js";
|
|
29
|
-
import { SetupIntentsClient } from "./api/resources/setupIntents/client/Client.js";
|
|
30
26
|
import { SubscriptionSchedulesClient } from "./api/resources/subscriptionSchedules/client/Client.js";
|
|
31
27
|
import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client.js";
|
|
32
28
|
import { SyncStateClient } from "./api/resources/syncState/client/Client.js";
|
|
33
|
-
import { TaxRatesClient } from "./api/resources/taxRates/client/Client.js";
|
|
34
29
|
import { TerminalDevicesClient } from "./api/resources/terminalDevices/client/Client.js";
|
|
35
30
|
import { TerminalPaymentsClient } from "./api/resources/terminalPayments/client/Client.js";
|
|
31
|
+
import { TransactionsClient } from "./api/resources/transactions/client/Client.js";
|
|
36
32
|
import { UsageClient } from "./api/resources/usage/client/Client.js";
|
|
37
|
-
import { UserInvitationsClient } from "./api/resources/userInvitations/client/Client.js";
|
|
38
33
|
import { VoidsClient } from "./api/resources/voids/client/Client.js";
|
|
39
34
|
import { WebhookEndpointsClient } from "./api/resources/webhookEndpoints/client/Client.js";
|
|
40
35
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
@@ -47,12 +42,8 @@ export declare namespace RevKeenClient {
|
|
|
47
42
|
export declare class RevKeenClient {
|
|
48
43
|
protected readonly _options: NormalizedClientOptionsWithAuth<RevKeenClient.Options>;
|
|
49
44
|
protected _invoices: InvoicesClient | undefined;
|
|
50
|
-
protected _userInvitations: UserInvitationsClient | undefined;
|
|
51
45
|
protected _products: ProductsClient | undefined;
|
|
52
|
-
protected _apps: AppsClient | undefined;
|
|
53
46
|
protected _checkoutSessions: CheckoutSessionsClient | undefined;
|
|
54
|
-
protected _businesses: BusinessesClient | undefined;
|
|
55
|
-
protected _clients: ClientsClient | undefined;
|
|
56
47
|
protected _entitlements: EntitlementsClient | undefined;
|
|
57
48
|
protected _customers: CustomersClient | undefined;
|
|
58
49
|
protected _subscriptions: SubscriptionsClient | undefined;
|
|
@@ -66,33 +57,28 @@ export declare class RevKeenClient {
|
|
|
66
57
|
protected _disputes: DisputesClient | undefined;
|
|
67
58
|
protected _discounts: DiscountsClient | undefined;
|
|
68
59
|
protected _paymentLinks: PaymentLinksClient | undefined;
|
|
69
|
-
protected _paymentAttempts: PaymentAttemptsClient | undefined;
|
|
70
60
|
protected _charges: ChargesClient | undefined;
|
|
71
61
|
protected _billing: BillingClient | undefined;
|
|
72
62
|
protected _prices: PricesClient | undefined;
|
|
73
63
|
protected _meters: MetersClient | undefined;
|
|
74
|
-
protected _taxRates: TaxRatesClient | undefined;
|
|
75
64
|
protected _orders: OrdersClient | undefined;
|
|
76
65
|
protected _payments: PaymentsClient | undefined;
|
|
77
66
|
protected _integrations: IntegrationsClient | undefined;
|
|
78
67
|
protected _syncState: SyncStateClient | undefined;
|
|
79
68
|
protected _webhookEndpoints: WebhookEndpointsClient | undefined;
|
|
80
69
|
protected _paymentIntents: PaymentIntentsClient | undefined;
|
|
81
|
-
protected _setupIntents: SetupIntentsClient | undefined;
|
|
82
|
-
protected _paymentMethods: PaymentMethodsClient | undefined;
|
|
83
70
|
protected _events: EventsClient | undefined;
|
|
84
71
|
protected _subscriptionSchedules: SubscriptionSchedulesClient | undefined;
|
|
85
72
|
protected _terminalPayments: TerminalPaymentsClient | undefined;
|
|
86
73
|
protected _terminalDevices: TerminalDevicesClient | undefined;
|
|
87
74
|
protected _usage: UsageClient | undefined;
|
|
75
|
+
protected _transactions: TransactionsClient | undefined;
|
|
76
|
+
protected _exports: ExportsClient | undefined;
|
|
77
|
+
protected _imports: ImportsClient | undefined;
|
|
88
78
|
constructor(options: RevKeenClient.Options);
|
|
89
79
|
get invoices(): InvoicesClient;
|
|
90
|
-
get userInvitations(): UserInvitationsClient;
|
|
91
80
|
get products(): ProductsClient;
|
|
92
|
-
get apps(): AppsClient;
|
|
93
81
|
get checkoutSessions(): CheckoutSessionsClient;
|
|
94
|
-
get businesses(): BusinessesClient;
|
|
95
|
-
get clients(): ClientsClient;
|
|
96
82
|
get entitlements(): EntitlementsClient;
|
|
97
83
|
get customers(): CustomersClient;
|
|
98
84
|
get subscriptions(): SubscriptionsClient;
|
|
@@ -106,24 +92,23 @@ export declare class RevKeenClient {
|
|
|
106
92
|
get disputes(): DisputesClient;
|
|
107
93
|
get discounts(): DiscountsClient;
|
|
108
94
|
get paymentLinks(): PaymentLinksClient;
|
|
109
|
-
get paymentAttempts(): PaymentAttemptsClient;
|
|
110
95
|
get charges(): ChargesClient;
|
|
111
96
|
get billing(): BillingClient;
|
|
112
97
|
get prices(): PricesClient;
|
|
113
98
|
get meters(): MetersClient;
|
|
114
|
-
get taxRates(): TaxRatesClient;
|
|
115
99
|
get orders(): OrdersClient;
|
|
116
100
|
get payments(): PaymentsClient;
|
|
117
101
|
get integrations(): IntegrationsClient;
|
|
118
102
|
get syncState(): SyncStateClient;
|
|
119
103
|
get webhookEndpoints(): WebhookEndpointsClient;
|
|
120
104
|
get paymentIntents(): PaymentIntentsClient;
|
|
121
|
-
get setupIntents(): SetupIntentsClient;
|
|
122
|
-
get paymentMethods(): PaymentMethodsClient;
|
|
123
105
|
get events(): EventsClient;
|
|
124
106
|
get subscriptionSchedules(): SubscriptionSchedulesClient;
|
|
125
107
|
get terminalPayments(): TerminalPaymentsClient;
|
|
126
108
|
get terminalDevices(): TerminalDevicesClient;
|
|
127
109
|
get usage(): UsageClient;
|
|
110
|
+
get transactions(): TransactionsClient;
|
|
111
|
+
get exports(): ExportsClient;
|
|
112
|
+
get imports(): ImportsClient;
|
|
128
113
|
}
|
|
129
114
|
//# sourceMappingURL=Client.d.ts.map
|
package/Client.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import { AnalyticsClient } from "./api/resources/analytics/client/Client.js";
|
|
3
|
-
import { AppsClient } from "./api/resources/apps/client/Client.js";
|
|
4
3
|
import { BillingClient } from "./api/resources/billing/client/Client.js";
|
|
5
|
-
import { BusinessesClient } from "./api/resources/businesses/client/Client.js";
|
|
6
4
|
import { ChargesClient } from "./api/resources/charges/client/Client.js";
|
|
7
5
|
import { CheckoutSessionsClient } from "./api/resources/checkoutSessions/client/Client.js";
|
|
8
|
-
import { ClientsClient } from "./api/resources/clients/client/Client.js";
|
|
9
6
|
import { CommsClient } from "./api/resources/comms/client/Client.js";
|
|
10
7
|
import { CreditNotesClient } from "./api/resources/creditNotes/client/Client.js";
|
|
11
8
|
import { CustomersClient } from "./api/resources/customers/client/Client.js";
|
|
@@ -13,29 +10,27 @@ import { DiscountsClient } from "./api/resources/discounts/client/Client.js";
|
|
|
13
10
|
import { DisputesClient } from "./api/resources/disputes/client/Client.js";
|
|
14
11
|
import { EntitlementsClient } from "./api/resources/entitlements/client/Client.js";
|
|
15
12
|
import { EventsClient } from "./api/resources/events/client/Client.js";
|
|
13
|
+
import { ExportsClient } from "./api/resources/exports/client/Client.js";
|
|
16
14
|
import { FinanceClient } from "./api/resources/finance/client/Client.js";
|
|
15
|
+
import { ImportsClient } from "./api/resources/imports/client/Client.js";
|
|
17
16
|
import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
|
|
18
17
|
import { InvoicesClient } from "./api/resources/invoices/client/Client.js";
|
|
19
18
|
import { MetersClient } from "./api/resources/meters/client/Client.js";
|
|
20
19
|
import { OrdersClient } from "./api/resources/orders/client/Client.js";
|
|
21
|
-
import { PaymentAttemptsClient } from "./api/resources/paymentAttempts/client/Client.js";
|
|
22
20
|
import { PaymentIntentsClient } from "./api/resources/paymentIntents/client/Client.js";
|
|
23
21
|
import { PaymentLinksClient } from "./api/resources/paymentLinks/client/Client.js";
|
|
24
|
-
import { PaymentMethodsClient } from "./api/resources/paymentMethods/client/Client.js";
|
|
25
22
|
import { PaymentsClient } from "./api/resources/payments/client/Client.js";
|
|
26
23
|
import { PayoutsClient } from "./api/resources/payouts/client/Client.js";
|
|
27
24
|
import { PricesClient } from "./api/resources/prices/client/Client.js";
|
|
28
25
|
import { ProductsClient } from "./api/resources/products/client/Client.js";
|
|
29
26
|
import { RefundsClient } from "./api/resources/refunds/client/Client.js";
|
|
30
|
-
import { SetupIntentsClient } from "./api/resources/setupIntents/client/Client.js";
|
|
31
27
|
import { SubscriptionSchedulesClient } from "./api/resources/subscriptionSchedules/client/Client.js";
|
|
32
28
|
import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client.js";
|
|
33
29
|
import { SyncStateClient } from "./api/resources/syncState/client/Client.js";
|
|
34
|
-
import { TaxRatesClient } from "./api/resources/taxRates/client/Client.js";
|
|
35
30
|
import { TerminalDevicesClient } from "./api/resources/terminalDevices/client/Client.js";
|
|
36
31
|
import { TerminalPaymentsClient } from "./api/resources/terminalPayments/client/Client.js";
|
|
32
|
+
import { TransactionsClient } from "./api/resources/transactions/client/Client.js";
|
|
37
33
|
import { UsageClient } from "./api/resources/usage/client/Client.js";
|
|
38
|
-
import { UserInvitationsClient } from "./api/resources/userInvitations/client/Client.js";
|
|
39
34
|
import { VoidsClient } from "./api/resources/voids/client/Client.js";
|
|
40
35
|
import { WebhookEndpointsClient } from "./api/resources/webhookEndpoints/client/Client.js";
|
|
41
36
|
import { normalizeClientOptionsWithAuth } from "./BaseClient.js";
|
|
@@ -46,24 +41,12 @@ export class RevKeenClient {
|
|
|
46
41
|
get invoices() {
|
|
47
42
|
return (this._invoices ?? (this._invoices = new InvoicesClient(this._options)));
|
|
48
43
|
}
|
|
49
|
-
get userInvitations() {
|
|
50
|
-
return (this._userInvitations ?? (this._userInvitations = new UserInvitationsClient(this._options)));
|
|
51
|
-
}
|
|
52
44
|
get products() {
|
|
53
45
|
return (this._products ?? (this._products = new ProductsClient(this._options)));
|
|
54
46
|
}
|
|
55
|
-
get apps() {
|
|
56
|
-
return (this._apps ?? (this._apps = new AppsClient(this._options)));
|
|
57
|
-
}
|
|
58
47
|
get checkoutSessions() {
|
|
59
48
|
return (this._checkoutSessions ?? (this._checkoutSessions = new CheckoutSessionsClient(this._options)));
|
|
60
49
|
}
|
|
61
|
-
get businesses() {
|
|
62
|
-
return (this._businesses ?? (this._businesses = new BusinessesClient(this._options)));
|
|
63
|
-
}
|
|
64
|
-
get clients() {
|
|
65
|
-
return (this._clients ?? (this._clients = new ClientsClient(this._options)));
|
|
66
|
-
}
|
|
67
50
|
get entitlements() {
|
|
68
51
|
return (this._entitlements ?? (this._entitlements = new EntitlementsClient(this._options)));
|
|
69
52
|
}
|
|
@@ -103,9 +86,6 @@ export class RevKeenClient {
|
|
|
103
86
|
get paymentLinks() {
|
|
104
87
|
return (this._paymentLinks ?? (this._paymentLinks = new PaymentLinksClient(this._options)));
|
|
105
88
|
}
|
|
106
|
-
get paymentAttempts() {
|
|
107
|
-
return (this._paymentAttempts ?? (this._paymentAttempts = new PaymentAttemptsClient(this._options)));
|
|
108
|
-
}
|
|
109
89
|
get charges() {
|
|
110
90
|
return (this._charges ?? (this._charges = new ChargesClient(this._options)));
|
|
111
91
|
}
|
|
@@ -118,9 +98,6 @@ export class RevKeenClient {
|
|
|
118
98
|
get meters() {
|
|
119
99
|
return (this._meters ?? (this._meters = new MetersClient(this._options)));
|
|
120
100
|
}
|
|
121
|
-
get taxRates() {
|
|
122
|
-
return (this._taxRates ?? (this._taxRates = new TaxRatesClient(this._options)));
|
|
123
|
-
}
|
|
124
101
|
get orders() {
|
|
125
102
|
return (this._orders ?? (this._orders = new OrdersClient(this._options)));
|
|
126
103
|
}
|
|
@@ -139,12 +116,6 @@ export class RevKeenClient {
|
|
|
139
116
|
get paymentIntents() {
|
|
140
117
|
return (this._paymentIntents ?? (this._paymentIntents = new PaymentIntentsClient(this._options)));
|
|
141
118
|
}
|
|
142
|
-
get setupIntents() {
|
|
143
|
-
return (this._setupIntents ?? (this._setupIntents = new SetupIntentsClient(this._options)));
|
|
144
|
-
}
|
|
145
|
-
get paymentMethods() {
|
|
146
|
-
return (this._paymentMethods ?? (this._paymentMethods = new PaymentMethodsClient(this._options)));
|
|
147
|
-
}
|
|
148
119
|
get events() {
|
|
149
120
|
return (this._events ?? (this._events = new EventsClient(this._options)));
|
|
150
121
|
}
|
|
@@ -160,5 +131,14 @@ export class RevKeenClient {
|
|
|
160
131
|
get usage() {
|
|
161
132
|
return (this._usage ?? (this._usage = new UsageClient(this._options)));
|
|
162
133
|
}
|
|
134
|
+
get transactions() {
|
|
135
|
+
return (this._transactions ?? (this._transactions = new TransactionsClient(this._options)));
|
|
136
|
+
}
|
|
137
|
+
get exports() {
|
|
138
|
+
return (this._exports ?? (this._exports = new ExportsClient(this._options)));
|
|
139
|
+
}
|
|
140
|
+
get imports() {
|
|
141
|
+
return (this._imports ?? (this._imports = new ImportsClient(this._options)));
|
|
142
|
+
}
|
|
163
143
|
}
|
|
164
144
|
//# sourceMappingURL=Client.js.map
|
package/Client.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
import { AnalyticsClient } from "./api/resources/analytics/client/Client.js";
|
|
4
|
-
import { AppsClient } from "./api/resources/apps/client/Client.js";
|
|
5
4
|
import { BillingClient } from "./api/resources/billing/client/Client.js";
|
|
6
|
-
import { BusinessesClient } from "./api/resources/businesses/client/Client.js";
|
|
7
5
|
import { ChargesClient } from "./api/resources/charges/client/Client.js";
|
|
8
6
|
import { CheckoutSessionsClient } from "./api/resources/checkoutSessions/client/Client.js";
|
|
9
|
-
import { ClientsClient } from "./api/resources/clients/client/Client.js";
|
|
10
7
|
import { CommsClient } from "./api/resources/comms/client/Client.js";
|
|
11
8
|
import { CreditNotesClient } from "./api/resources/creditNotes/client/Client.js";
|
|
12
9
|
import { CustomersClient } from "./api/resources/customers/client/Client.js";
|
|
@@ -14,29 +11,27 @@ import { DiscountsClient } from "./api/resources/discounts/client/Client.js";
|
|
|
14
11
|
import { DisputesClient } from "./api/resources/disputes/client/Client.js";
|
|
15
12
|
import { EntitlementsClient } from "./api/resources/entitlements/client/Client.js";
|
|
16
13
|
import { EventsClient } from "./api/resources/events/client/Client.js";
|
|
14
|
+
import { ExportsClient } from "./api/resources/exports/client/Client.js";
|
|
17
15
|
import { FinanceClient } from "./api/resources/finance/client/Client.js";
|
|
16
|
+
import { ImportsClient } from "./api/resources/imports/client/Client.js";
|
|
18
17
|
import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
|
|
19
18
|
import { InvoicesClient } from "./api/resources/invoices/client/Client.js";
|
|
20
19
|
import { MetersClient } from "./api/resources/meters/client/Client.js";
|
|
21
20
|
import { OrdersClient } from "./api/resources/orders/client/Client.js";
|
|
22
|
-
import { PaymentAttemptsClient } from "./api/resources/paymentAttempts/client/Client.js";
|
|
23
21
|
import { PaymentIntentsClient } from "./api/resources/paymentIntents/client/Client.js";
|
|
24
22
|
import { PaymentLinksClient } from "./api/resources/paymentLinks/client/Client.js";
|
|
25
|
-
import { PaymentMethodsClient } from "./api/resources/paymentMethods/client/Client.js";
|
|
26
23
|
import { PaymentsClient } from "./api/resources/payments/client/Client.js";
|
|
27
24
|
import { PayoutsClient } from "./api/resources/payouts/client/Client.js";
|
|
28
25
|
import { PricesClient } from "./api/resources/prices/client/Client.js";
|
|
29
26
|
import { ProductsClient } from "./api/resources/products/client/Client.js";
|
|
30
27
|
import { RefundsClient } from "./api/resources/refunds/client/Client.js";
|
|
31
|
-
import { SetupIntentsClient } from "./api/resources/setupIntents/client/Client.js";
|
|
32
28
|
import { SubscriptionSchedulesClient } from "./api/resources/subscriptionSchedules/client/Client.js";
|
|
33
29
|
import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client.js";
|
|
34
30
|
import { SyncStateClient } from "./api/resources/syncState/client/Client.js";
|
|
35
|
-
import { TaxRatesClient } from "./api/resources/taxRates/client/Client.js";
|
|
36
31
|
import { TerminalDevicesClient } from "./api/resources/terminalDevices/client/Client.js";
|
|
37
32
|
import { TerminalPaymentsClient } from "./api/resources/terminalPayments/client/Client.js";
|
|
33
|
+
import { TransactionsClient } from "./api/resources/transactions/client/Client.js";
|
|
38
34
|
import { UsageClient } from "./api/resources/usage/client/Client.js";
|
|
39
|
-
import { UserInvitationsClient } from "./api/resources/userInvitations/client/Client.js";
|
|
40
35
|
import { VoidsClient } from "./api/resources/voids/client/Client.js";
|
|
41
36
|
import { WebhookEndpointsClient } from "./api/resources/webhookEndpoints/client/Client.js";
|
|
42
37
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
@@ -51,12 +46,8 @@ export declare namespace RevKeenClient {
|
|
|
51
46
|
export class RevKeenClient {
|
|
52
47
|
protected readonly _options: NormalizedClientOptionsWithAuth<RevKeenClient.Options>;
|
|
53
48
|
protected _invoices: InvoicesClient | undefined;
|
|
54
|
-
protected _userInvitations: UserInvitationsClient | undefined;
|
|
55
49
|
protected _products: ProductsClient | undefined;
|
|
56
|
-
protected _apps: AppsClient | undefined;
|
|
57
50
|
protected _checkoutSessions: CheckoutSessionsClient | undefined;
|
|
58
|
-
protected _businesses: BusinessesClient | undefined;
|
|
59
|
-
protected _clients: ClientsClient | undefined;
|
|
60
51
|
protected _entitlements: EntitlementsClient | undefined;
|
|
61
52
|
protected _customers: CustomersClient | undefined;
|
|
62
53
|
protected _subscriptions: SubscriptionsClient | undefined;
|
|
@@ -70,25 +61,24 @@ export class RevKeenClient {
|
|
|
70
61
|
protected _disputes: DisputesClient | undefined;
|
|
71
62
|
protected _discounts: DiscountsClient | undefined;
|
|
72
63
|
protected _paymentLinks: PaymentLinksClient | undefined;
|
|
73
|
-
protected _paymentAttempts: PaymentAttemptsClient | undefined;
|
|
74
64
|
protected _charges: ChargesClient | undefined;
|
|
75
65
|
protected _billing: BillingClient | undefined;
|
|
76
66
|
protected _prices: PricesClient | undefined;
|
|
77
67
|
protected _meters: MetersClient | undefined;
|
|
78
|
-
protected _taxRates: TaxRatesClient | undefined;
|
|
79
68
|
protected _orders: OrdersClient | undefined;
|
|
80
69
|
protected _payments: PaymentsClient | undefined;
|
|
81
70
|
protected _integrations: IntegrationsClient | undefined;
|
|
82
71
|
protected _syncState: SyncStateClient | undefined;
|
|
83
72
|
protected _webhookEndpoints: WebhookEndpointsClient | undefined;
|
|
84
73
|
protected _paymentIntents: PaymentIntentsClient | undefined;
|
|
85
|
-
protected _setupIntents: SetupIntentsClient | undefined;
|
|
86
|
-
protected _paymentMethods: PaymentMethodsClient | undefined;
|
|
87
74
|
protected _events: EventsClient | undefined;
|
|
88
75
|
protected _subscriptionSchedules: SubscriptionSchedulesClient | undefined;
|
|
89
76
|
protected _terminalPayments: TerminalPaymentsClient | undefined;
|
|
90
77
|
protected _terminalDevices: TerminalDevicesClient | undefined;
|
|
91
78
|
protected _usage: UsageClient | undefined;
|
|
79
|
+
protected _transactions: TransactionsClient | undefined;
|
|
80
|
+
protected _exports: ExportsClient | undefined;
|
|
81
|
+
protected _imports: ImportsClient | undefined;
|
|
92
82
|
|
|
93
83
|
constructor(options: RevKeenClient.Options) {
|
|
94
84
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
@@ -98,30 +88,14 @@ export class RevKeenClient {
|
|
|
98
88
|
return (this._invoices ??= new InvoicesClient(this._options));
|
|
99
89
|
}
|
|
100
90
|
|
|
101
|
-
public get userInvitations(): UserInvitationsClient {
|
|
102
|
-
return (this._userInvitations ??= new UserInvitationsClient(this._options));
|
|
103
|
-
}
|
|
104
|
-
|
|
105
91
|
public get products(): ProductsClient {
|
|
106
92
|
return (this._products ??= new ProductsClient(this._options));
|
|
107
93
|
}
|
|
108
94
|
|
|
109
|
-
public get apps(): AppsClient {
|
|
110
|
-
return (this._apps ??= new AppsClient(this._options));
|
|
111
|
-
}
|
|
112
|
-
|
|
113
95
|
public get checkoutSessions(): CheckoutSessionsClient {
|
|
114
96
|
return (this._checkoutSessions ??= new CheckoutSessionsClient(this._options));
|
|
115
97
|
}
|
|
116
98
|
|
|
117
|
-
public get businesses(): BusinessesClient {
|
|
118
|
-
return (this._businesses ??= new BusinessesClient(this._options));
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
public get clients(): ClientsClient {
|
|
122
|
-
return (this._clients ??= new ClientsClient(this._options));
|
|
123
|
-
}
|
|
124
|
-
|
|
125
99
|
public get entitlements(): EntitlementsClient {
|
|
126
100
|
return (this._entitlements ??= new EntitlementsClient(this._options));
|
|
127
101
|
}
|
|
@@ -174,10 +148,6 @@ export class RevKeenClient {
|
|
|
174
148
|
return (this._paymentLinks ??= new PaymentLinksClient(this._options));
|
|
175
149
|
}
|
|
176
150
|
|
|
177
|
-
public get paymentAttempts(): PaymentAttemptsClient {
|
|
178
|
-
return (this._paymentAttempts ??= new PaymentAttemptsClient(this._options));
|
|
179
|
-
}
|
|
180
|
-
|
|
181
151
|
public get charges(): ChargesClient {
|
|
182
152
|
return (this._charges ??= new ChargesClient(this._options));
|
|
183
153
|
}
|
|
@@ -194,10 +164,6 @@ export class RevKeenClient {
|
|
|
194
164
|
return (this._meters ??= new MetersClient(this._options));
|
|
195
165
|
}
|
|
196
166
|
|
|
197
|
-
public get taxRates(): TaxRatesClient {
|
|
198
|
-
return (this._taxRates ??= new TaxRatesClient(this._options));
|
|
199
|
-
}
|
|
200
|
-
|
|
201
167
|
public get orders(): OrdersClient {
|
|
202
168
|
return (this._orders ??= new OrdersClient(this._options));
|
|
203
169
|
}
|
|
@@ -222,14 +188,6 @@ export class RevKeenClient {
|
|
|
222
188
|
return (this._paymentIntents ??= new PaymentIntentsClient(this._options));
|
|
223
189
|
}
|
|
224
190
|
|
|
225
|
-
public get setupIntents(): SetupIntentsClient {
|
|
226
|
-
return (this._setupIntents ??= new SetupIntentsClient(this._options));
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
public get paymentMethods(): PaymentMethodsClient {
|
|
230
|
-
return (this._paymentMethods ??= new PaymentMethodsClient(this._options));
|
|
231
|
-
}
|
|
232
|
-
|
|
233
191
|
public get events(): EventsClient {
|
|
234
192
|
return (this._events ??= new EventsClient(this._options));
|
|
235
193
|
}
|
|
@@ -249,4 +207,16 @@ export class RevKeenClient {
|
|
|
249
207
|
public get usage(): UsageClient {
|
|
250
208
|
return (this._usage ??= new UsageClient(this._options));
|
|
251
209
|
}
|
|
210
|
+
|
|
211
|
+
public get transactions(): TransactionsClient {
|
|
212
|
+
return (this._transactions ??= new TransactionsClient(this._options));
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
public get exports(): ExportsClient {
|
|
216
|
+
return (this._exports ??= new ExportsClient(this._options));
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
public get imports(): ImportsClient {
|
|
220
|
+
return (this._imports ??= new ImportsClient(this._options));
|
|
221
|
+
}
|
|
252
222
|
}
|
|
@@ -7,6 +7,12 @@ export declare namespace AnalyticsClient {
|
|
|
7
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Revenue analytics including MRR summaries, time-series data, accounts receivable aging, days sales outstanding (DSO), and customer lifetime value (LTV). Use these endpoints to build dashboards and financial reports.
|
|
12
|
+
*
|
|
13
|
+
* **Required Scopes:**
|
|
14
|
+
* - `analytics:read` - Access analytics endpoints
|
|
15
|
+
*/
|
|
10
16
|
export declare class AnalyticsClient {
|
|
11
17
|
protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
|
|
12
18
|
constructor(options: AnalyticsClient.Options);
|
|
@@ -6,6 +6,12 @@ import * as environments from "../../../../environments.js";
|
|
|
6
6
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
|
|
7
7
|
import * as errors from "../../../../errors/index.js";
|
|
8
8
|
import * as RevKeen from "../../../index.js";
|
|
9
|
+
/**
|
|
10
|
+
* Revenue analytics including MRR summaries, time-series data, accounts receivable aging, days sales outstanding (DSO), and customer lifetime value (LTV). Use these endpoints to build dashboards and financial reports.
|
|
11
|
+
*
|
|
12
|
+
* **Required Scopes:**
|
|
13
|
+
* - `analytics:read` - Access analytics endpoints
|
|
14
|
+
*/
|
|
9
15
|
export class AnalyticsClient {
|
|
10
16
|
constructor(options) {
|
|
11
17
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
@@ -15,6 +15,12 @@ export declare namespace AnalyticsClient {
|
|
|
15
15
|
export interface RequestOptions extends BaseRequestOptions {}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Revenue analytics including MRR summaries, time-series data, accounts receivable aging, days sales outstanding (DSO), and customer lifetime value (LTV). Use these endpoints to build dashboards and financial reports.
|
|
20
|
+
*
|
|
21
|
+
* **Required Scopes:**
|
|
22
|
+
* - `analytics:read` - Access analytics endpoints
|
|
23
|
+
*/
|
|
18
24
|
export class AnalyticsClient {
|
|
19
25
|
protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
|
|
20
26
|
|
|
@@ -8,7 +8,7 @@ export declare namespace BillingClient {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* Billing
|
|
11
|
+
* Billing utilities let you preview upcoming charges and billing schedules before they execute. Use these endpoints to show customers what they will be charged and when, or to validate pricing changes before applying them.
|
|
12
12
|
*
|
|
13
13
|
* **Required Scopes:**
|
|
14
14
|
* - `billing:read` - Preview billing schedules
|
|
@@ -7,7 +7,7 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
|
|
|
7
7
|
import * as errors from "../../../../errors/index.js";
|
|
8
8
|
import * as RevKeen from "../../../index.js";
|
|
9
9
|
/**
|
|
10
|
-
* Billing
|
|
10
|
+
* Billing utilities let you preview upcoming charges and billing schedules before they execute. Use these endpoints to show customers what they will be charged and when, or to validate pricing changes before applying them.
|
|
11
11
|
*
|
|
12
12
|
* **Required Scopes:**
|
|
13
13
|
* - `billing:read` - Preview billing schedules
|
|
@@ -16,7 +16,7 @@ export declare namespace BillingClient {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Billing
|
|
19
|
+
* Billing utilities let you preview upcoming charges and billing schedules before they execute. Use these endpoints to show customers what they will be charged and when, or to validate pricing changes before applying them.
|
|
20
20
|
*
|
|
21
21
|
* **Required Scopes:**
|
|
22
22
|
* - `billing:read` - Preview billing schedules
|
|
@@ -11,8 +11,8 @@ export declare namespace CheckoutSessionsClient {
|
|
|
11
11
|
* Create hosted checkout pages for one-time payments or subscription sign-ups. Redirect customers to RevKeen-hosted payment forms.
|
|
12
12
|
*
|
|
13
13
|
* **Required Scopes:**
|
|
14
|
-
* - `
|
|
15
|
-
* - `
|
|
14
|
+
* - `checkout:read` - List and retrieve sessions
|
|
15
|
+
* - `checkout:write` - Create checkout sessions
|
|
16
16
|
*/
|
|
17
17
|
export declare class CheckoutSessionsClient {
|
|
18
18
|
protected readonly _options: NormalizedClientOptionsWithAuth<CheckoutSessionsClient.Options>;
|
|
@@ -32,5 +32,22 @@ export declare class CheckoutSessionsClient {
|
|
|
32
32
|
*/
|
|
33
33
|
checkoutSessionsCreate(request?: RevKeen.CreateCheckoutSessionInput, requestOptions?: CheckoutSessionsClient.RequestOptions): core.HttpResponsePromise<RevKeen.CheckoutSessionCreateResponse>;
|
|
34
34
|
private __checkoutSessionsCreate;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieve a checkout session by its ID.
|
|
37
|
+
*
|
|
38
|
+
* @param {RevKeen.CheckoutSessionsRetrieveRequest} request
|
|
39
|
+
* @param {CheckoutSessionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
42
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
43
|
+
* @throws {@link RevKeen.InternalServerError}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.checkoutSessions.checkoutSessionsRetrieve({
|
|
47
|
+
* id: "550e8400-e29b-41d4-a716-446655440000"
|
|
48
|
+
* })
|
|
49
|
+
*/
|
|
50
|
+
checkoutSessionsRetrieve(request: RevKeen.CheckoutSessionsRetrieveRequest, requestOptions?: CheckoutSessionsClient.RequestOptions): core.HttpResponsePromise<RevKeen.CheckoutSessionRetrieveResponse>;
|
|
51
|
+
private __checkoutSessionsRetrieve;
|
|
35
52
|
}
|
|
36
53
|
//# sourceMappingURL=Client.d.ts.map
|
|
@@ -10,8 +10,8 @@ import * as RevKeen from "../../../index.js";
|
|
|
10
10
|
* Create hosted checkout pages for one-time payments or subscription sign-ups. Redirect customers to RevKeen-hosted payment forms.
|
|
11
11
|
*
|
|
12
12
|
* **Required Scopes:**
|
|
13
|
-
* - `
|
|
14
|
-
* - `
|
|
13
|
+
* - `checkout:read` - List and retrieve sessions
|
|
14
|
+
* - `checkout:write` - Create checkout sessions
|
|
15
15
|
*/
|
|
16
16
|
export class CheckoutSessionsClient {
|
|
17
17
|
constructor(options) {
|
|
@@ -76,5 +76,64 @@ export class CheckoutSessionsClient {
|
|
|
76
76
|
}
|
|
77
77
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/checkout-sessions");
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Retrieve a checkout session by its ID.
|
|
81
|
+
*
|
|
82
|
+
* @param {RevKeen.CheckoutSessionsRetrieveRequest} request
|
|
83
|
+
* @param {CheckoutSessionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
86
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
87
|
+
* @throws {@link RevKeen.InternalServerError}
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* await client.checkoutSessions.checkoutSessionsRetrieve({
|
|
91
|
+
* id: "550e8400-e29b-41d4-a716-446655440000"
|
|
92
|
+
* })
|
|
93
|
+
*/
|
|
94
|
+
checkoutSessionsRetrieve(request, requestOptions) {
|
|
95
|
+
return core.HttpResponsePromise.fromPromise(this.__checkoutSessionsRetrieve(request, requestOptions));
|
|
96
|
+
}
|
|
97
|
+
async __checkoutSessionsRetrieve(request, requestOptions) {
|
|
98
|
+
const { id } = request;
|
|
99
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
100
|
+
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
101
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
102
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
103
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
104
|
+
environments.RevKeenEnvironment.Default, `checkout-sessions/${core.url.encodePathParam(id)}`),
|
|
105
|
+
method: "GET",
|
|
106
|
+
headers: _headers,
|
|
107
|
+
queryParameters: requestOptions?.queryParams,
|
|
108
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
109
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
110
|
+
abortSignal: requestOptions?.abortSignal,
|
|
111
|
+
fetchFn: this._options?.fetch,
|
|
112
|
+
logging: this._options.logging,
|
|
113
|
+
});
|
|
114
|
+
if (_response.ok) {
|
|
115
|
+
return {
|
|
116
|
+
data: _response.body,
|
|
117
|
+
rawResponse: _response.rawResponse,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
if (_response.error.reason === "status-code") {
|
|
121
|
+
switch (_response.error.statusCode) {
|
|
122
|
+
case 401:
|
|
123
|
+
throw new RevKeen.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
124
|
+
case 404:
|
|
125
|
+
throw new RevKeen.NotFoundError(_response.error.body, _response.rawResponse);
|
|
126
|
+
case 500:
|
|
127
|
+
throw new RevKeen.InternalServerError(_response.error.body, _response.rawResponse);
|
|
128
|
+
default:
|
|
129
|
+
throw new errors.RevKeenError({
|
|
130
|
+
statusCode: _response.error.statusCode,
|
|
131
|
+
body: _response.error.body,
|
|
132
|
+
rawResponse: _response.rawResponse,
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/checkout-sessions/{id}");
|
|
137
|
+
}
|
|
79
138
|
}
|
|
80
139
|
//# sourceMappingURL=Client.js.map
|