@revkeen/sdk 1.20260312.41
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/BaseClient.d.ts +41 -0
- package/BaseClient.js +29 -0
- package/BaseClient.ts +83 -0
- package/Client.d.ts +123 -0
- package/Client.js +156 -0
- package/Client.ts +240 -0
- package/api/errors/BadRequestError.d.ts +6 -0
- package/api/errors/BadRequestError.js +18 -0
- package/api/errors/BadRequestError.ts +21 -0
- package/api/errors/ConflictError.d.ts +6 -0
- package/api/errors/ConflictError.js +18 -0
- package/api/errors/ConflictError.ts +21 -0
- package/api/errors/ForbiddenError.d.ts +6 -0
- package/api/errors/ForbiddenError.js +18 -0
- package/api/errors/ForbiddenError.ts +21 -0
- package/api/errors/InternalServerError.d.ts +6 -0
- package/api/errors/InternalServerError.js +18 -0
- package/api/errors/InternalServerError.ts +21 -0
- package/api/errors/NotFoundError.d.ts +6 -0
- package/api/errors/NotFoundError.js +18 -0
- package/api/errors/NotFoundError.ts +21 -0
- package/api/errors/UnauthorizedError.d.ts +6 -0
- package/api/errors/UnauthorizedError.js +18 -0
- package/api/errors/UnauthorizedError.ts +21 -0
- package/api/errors/UnprocessableEntityError.d.ts +6 -0
- package/api/errors/UnprocessableEntityError.js +18 -0
- package/api/errors/UnprocessableEntityError.ts +21 -0
- package/api/errors/index.d.ts +8 -0
- package/api/errors/index.js +8 -0
- package/api/errors/index.ts +7 -0
- package/api/index.d.ts +4 -0
- package/api/index.js +4 -0
- package/api/index.ts +3 -0
- package/api/resources/analytics/client/Client.d.ts +170 -0
- package/api/resources/analytics/client/Client.js +613 -0
- package/api/resources/analytics/client/Client.ts +860 -0
- package/api/resources/analytics/client/index.d.ts +2 -0
- package/api/resources/analytics/client/index.js +2 -0
- package/api/resources/analytics/client/index.ts +1 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutAbandonmentGetSummaryRequest.d.ts +14 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutAbandonmentGetSummaryRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutAbandonmentGetSummaryRequest.ts +15 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutAbandonmentListRequest.d.ts +16 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutAbandonmentListRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutAbandonmentListRequest.ts +18 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutGetFunnelRequest.d.ts +14 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutGetFunnelRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutGetFunnelRequest.ts +15 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutWinbackListRequest.d.ts +18 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutWinbackListRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCheckoutWinbackListRequest.ts +20 -0
- package/api/resources/analytics/client/requests/AnalyticsCollectionsGetDsoRequest.d.ts +14 -0
- package/api/resources/analytics/client/requests/AnalyticsCollectionsGetDsoRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCollectionsGetDsoRequest.ts +15 -0
- package/api/resources/analytics/client/requests/AnalyticsCustomersGetLtvRequest.d.ts +11 -0
- package/api/resources/analytics/client/requests/AnalyticsCustomersGetLtvRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCustomersGetLtvRequest.ts +12 -0
- package/api/resources/analytics/client/requests/AnalyticsCustomersRetrieveRequest.d.ts +11 -0
- package/api/resources/analytics/client/requests/AnalyticsCustomersRetrieveRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsCustomersRetrieveRequest.ts +12 -0
- package/api/resources/analytics/client/requests/AnalyticsInvoicesGetArAgingRequest.d.ts +11 -0
- package/api/resources/analytics/client/requests/AnalyticsInvoicesGetArAgingRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsInvoicesGetArAgingRequest.ts +12 -0
- package/api/resources/analytics/client/requests/AnalyticsPaymentLinksGetConversionRequest.d.ts +14 -0
- package/api/resources/analytics/client/requests/AnalyticsPaymentLinksGetConversionRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsPaymentLinksGetConversionRequest.ts +15 -0
- package/api/resources/analytics/client/requests/AnalyticsRevenueGetMrrSummaryRequest.d.ts +11 -0
- package/api/resources/analytics/client/requests/AnalyticsRevenueGetMrrSummaryRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsRevenueGetMrrSummaryRequest.ts +12 -0
- package/api/resources/analytics/client/requests/AnalyticsRevenueGetTimeSeriesRequest.d.ts +17 -0
- package/api/resources/analytics/client/requests/AnalyticsRevenueGetTimeSeriesRequest.js +3 -0
- package/api/resources/analytics/client/requests/AnalyticsRevenueGetTimeSeriesRequest.ts +19 -0
- package/api/resources/analytics/client/requests/index.d.ts +12 -0
- package/api/resources/analytics/client/requests/index.js +2 -0
- package/api/resources/analytics/client/requests/index.ts +11 -0
- package/api/resources/analytics/index.d.ts +3 -0
- package/api/resources/analytics/index.js +3 -0
- package/api/resources/analytics/index.ts +2 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentGetSummaryResponse.d.ts +22 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentGetSummaryResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentGetSummaryResponse.ts +25 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListRequestSeverity.d.ts +9 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListRequestSeverity.js +9 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListRequestSeverity.ts +11 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListRequestStatus.d.ts +9 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListRequestStatus.js +9 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListRequestStatus.ts +11 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListResponse.d.ts +31 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsCheckoutAbandonmentListResponse.ts +34 -0
- package/api/resources/analytics/types/AnalyticsCheckoutGetFunnelResponse.d.ts +25 -0
- package/api/resources/analytics/types/AnalyticsCheckoutGetFunnelResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsCheckoutGetFunnelResponse.ts +28 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackGetSummaryResponse.d.ts +23 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackGetSummaryResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackGetSummaryResponse.ts +26 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListRequestStatus.d.ts +10 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListRequestStatus.js +10 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListRequestStatus.ts +12 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListRequestType.d.ts +8 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListRequestType.js +8 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListRequestType.ts +10 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListResponse.d.ts +45 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListResponse.js +23 -0
- package/api/resources/analytics/types/AnalyticsCheckoutWinbackListResponse.ts +49 -0
- package/api/resources/analytics/types/AnalyticsCollectionsGetDsoResponse.d.ts +16 -0
- package/api/resources/analytics/types/AnalyticsCollectionsGetDsoResponse.js +10 -0
- package/api/resources/analytics/types/AnalyticsCollectionsGetDsoResponse.ts +18 -0
- package/api/resources/analytics/types/AnalyticsCustomersGetLtvResponse.d.ts +19 -0
- package/api/resources/analytics/types/AnalyticsCustomersGetLtvResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsCustomersGetLtvResponse.ts +22 -0
- package/api/resources/analytics/types/AnalyticsCustomersRetrieveResponse.d.ts +10 -0
- package/api/resources/analytics/types/AnalyticsCustomersRetrieveResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsCustomersRetrieveResponse.ts +11 -0
- package/api/resources/analytics/types/AnalyticsInvoicesGetArAgingResponse.d.ts +17 -0
- package/api/resources/analytics/types/AnalyticsInvoicesGetArAgingResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsInvoicesGetArAgingResponse.ts +20 -0
- package/api/resources/analytics/types/AnalyticsPaymentLinksGetConversionResponse.d.ts +9 -0
- package/api/resources/analytics/types/AnalyticsPaymentLinksGetConversionResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsPaymentLinksGetConversionResponse.ts +10 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetMrrSummaryResponse.d.ts +11 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetMrrSummaryResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetMrrSummaryResponse.ts +12 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetTimeSeriesRequestGranularity.d.ts +10 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetTimeSeriesRequestGranularity.js +10 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetTimeSeriesRequestGranularity.ts +12 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetTimeSeriesResponse.d.ts +19 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetTimeSeriesResponse.js +3 -0
- package/api/resources/analytics/types/AnalyticsRevenueGetTimeSeriesResponse.ts +22 -0
- package/api/resources/analytics/types/index.d.ts +18 -0
- package/api/resources/analytics/types/index.js +18 -0
- package/api/resources/analytics/types/index.ts +17 -0
- package/api/resources/apps/client/Client.d.ts +63 -0
- package/api/resources/apps/client/Client.js +187 -0
- package/api/resources/apps/client/Client.ts +246 -0
- package/api/resources/apps/client/index.d.ts +2 -0
- package/api/resources/apps/client/index.js +2 -0
- package/api/resources/apps/client/index.ts +1 -0
- package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.d.ts +10 -0
- package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.js +3 -0
- package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.ts +11 -0
- package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.d.ts +10 -0
- package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.js +3 -0
- package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.ts +11 -0
- package/api/resources/apps/client/requests/index.d.ts +3 -0
- package/api/resources/apps/client/requests/index.js +2 -0
- package/api/resources/apps/client/requests/index.ts +2 -0
- package/api/resources/apps/index.d.ts +3 -0
- package/api/resources/apps/index.js +3 -0
- package/api/resources/apps/index.ts +2 -0
- package/api/resources/apps/types/DeleteAppsAppKeyInstallResponse.d.ts +5 -0
- package/api/resources/apps/types/DeleteAppsAppKeyInstallResponse.js +3 -0
- package/api/resources/apps/types/DeleteAppsAppKeyInstallResponse.ts +6 -0
- package/api/resources/apps/types/GetAppsEntitlementsResponse.d.ts +5 -0
- package/api/resources/apps/types/GetAppsEntitlementsResponse.js +3 -0
- package/api/resources/apps/types/GetAppsEntitlementsResponse.ts +6 -0
- package/api/resources/apps/types/PostAppsAppKeyInstallResponse.d.ts +6 -0
- package/api/resources/apps/types/PostAppsAppKeyInstallResponse.js +3 -0
- package/api/resources/apps/types/PostAppsAppKeyInstallResponse.ts +7 -0
- package/api/resources/apps/types/index.d.ts +4 -0
- package/api/resources/apps/types/index.js +4 -0
- package/api/resources/apps/types/index.ts +3 -0
- package/api/resources/billing/client/Client.d.ts +61 -0
- package/api/resources/billing/client/Client.js +156 -0
- package/api/resources/billing/client/Client.ts +213 -0
- package/api/resources/billing/client/index.d.ts +2 -0
- package/api/resources/billing/client/index.js +2 -0
- package/api/resources/billing/client/index.ts +1 -0
- package/api/resources/billing/client/requests/BillingGeneratePreviewRequest.d.ts +50 -0
- package/api/resources/billing/client/requests/BillingGeneratePreviewRequest.js +27 -0
- package/api/resources/billing/client/requests/BillingGeneratePreviewRequest.ts +52 -0
- package/api/resources/billing/client/requests/index.d.ts +2 -0
- package/api/resources/billing/client/requests/index.js +2 -0
- package/api/resources/billing/client/requests/index.ts +1 -0
- package/api/resources/billing/index.d.ts +2 -0
- package/api/resources/billing/index.js +2 -0
- package/api/resources/billing/index.ts +1 -0
- package/api/resources/businesses/client/Client.d.ts +59 -0
- package/api/resources/businesses/client/Client.js +175 -0
- package/api/resources/businesses/client/Client.ts +236 -0
- package/api/resources/businesses/client/index.d.ts +2 -0
- package/api/resources/businesses/client/index.js +2 -0
- package/api/resources/businesses/client/index.ts +1 -0
- package/api/resources/businesses/client/requests/GetBusinessesIdRequest.d.ts +10 -0
- package/api/resources/businesses/client/requests/GetBusinessesIdRequest.js +3 -0
- package/api/resources/businesses/client/requests/GetBusinessesIdRequest.ts +11 -0
- package/api/resources/businesses/client/requests/GetBusinessesRequest.d.ts +13 -0
- package/api/resources/businesses/client/requests/GetBusinessesRequest.js +3 -0
- package/api/resources/businesses/client/requests/GetBusinessesRequest.ts +14 -0
- package/api/resources/businesses/client/requests/PostBusinessesRequest.d.ts +21 -0
- package/api/resources/businesses/client/requests/PostBusinessesRequest.js +3 -0
- package/api/resources/businesses/client/requests/PostBusinessesRequest.ts +22 -0
- package/api/resources/businesses/client/requests/index.d.ts +4 -0
- package/api/resources/businesses/client/requests/index.js +2 -0
- package/api/resources/businesses/client/requests/index.ts +3 -0
- package/api/resources/businesses/index.d.ts +3 -0
- package/api/resources/businesses/index.js +3 -0
- package/api/resources/businesses/index.ts +2 -0
- package/api/resources/businesses/types/GetBusinessesIdResponse.d.ts +5 -0
- package/api/resources/businesses/types/GetBusinessesIdResponse.js +3 -0
- package/api/resources/businesses/types/GetBusinessesIdResponse.ts +6 -0
- package/api/resources/businesses/types/GetBusinessesResponse.d.ts +15 -0
- package/api/resources/businesses/types/GetBusinessesResponse.js +3 -0
- package/api/resources/businesses/types/GetBusinessesResponse.ts +17 -0
- package/api/resources/businesses/types/PostBusinessesResponse.d.ts +5 -0
- package/api/resources/businesses/types/PostBusinessesResponse.js +3 -0
- package/api/resources/businesses/types/PostBusinessesResponse.ts +6 -0
- package/api/resources/businesses/types/index.d.ts +4 -0
- package/api/resources/businesses/types/index.js +4 -0
- package/api/resources/businesses/types/index.ts +3 -0
- package/api/resources/charges/client/Client.d.ts +110 -0
- package/api/resources/charges/client/Client.js +317 -0
- package/api/resources/charges/client/Client.ts +412 -0
- package/api/resources/charges/client/index.d.ts +2 -0
- package/api/resources/charges/client/index.js +2 -0
- package/api/resources/charges/client/index.ts +1 -0
- package/api/resources/charges/client/requests/ChargesCaptureRequest.d.ts +11 -0
- package/api/resources/charges/client/requests/ChargesCaptureRequest.js +3 -0
- package/api/resources/charges/client/requests/ChargesCaptureRequest.ts +12 -0
- package/api/resources/charges/client/requests/ChargesCreateRequest.d.ts +21 -0
- package/api/resources/charges/client/requests/ChargesCreateRequest.js +3 -0
- package/api/resources/charges/client/requests/ChargesCreateRequest.ts +22 -0
- package/api/resources/charges/client/requests/ChargesListRequest.d.ts +20 -0
- package/api/resources/charges/client/requests/ChargesListRequest.js +3 -0
- package/api/resources/charges/client/requests/ChargesListRequest.ts +22 -0
- package/api/resources/charges/client/requests/ChargesRefundRequest.d.ts +22 -0
- package/api/resources/charges/client/requests/ChargesRefundRequest.js +11 -0
- package/api/resources/charges/client/requests/ChargesRefundRequest.ts +24 -0
- package/api/resources/charges/client/requests/ChargesRetrieveRequest.d.ts +10 -0
- package/api/resources/charges/client/requests/ChargesRetrieveRequest.js +3 -0
- package/api/resources/charges/client/requests/ChargesRetrieveRequest.ts +11 -0
- package/api/resources/charges/client/requests/index.d.ts +6 -0
- package/api/resources/charges/client/requests/index.js +2 -0
- package/api/resources/charges/client/requests/index.ts +5 -0
- package/api/resources/charges/index.d.ts +3 -0
- package/api/resources/charges/index.js +3 -0
- package/api/resources/charges/index.ts +2 -0
- package/api/resources/charges/types/ChargesListRequestStatus.d.ts +10 -0
- package/api/resources/charges/types/ChargesListRequestStatus.js +10 -0
- package/api/resources/charges/types/ChargesListRequestStatus.ts +11 -0
- package/api/resources/charges/types/index.d.ts +2 -0
- package/api/resources/charges/types/index.js +2 -0
- package/api/resources/charges/types/index.ts +1 -0
- package/api/resources/checkoutSessions/client/Client.d.ts +36 -0
- package/api/resources/checkoutSessions/client/Client.js +80 -0
- package/api/resources/checkoutSessions/client/Client.ts +107 -0
- package/api/resources/checkoutSessions/client/index.d.ts +2 -0
- package/api/resources/checkoutSessions/client/index.js +2 -0
- package/api/resources/checkoutSessions/client/index.ts +1 -0
- package/api/resources/checkoutSessions/client/requests/CreateCheckoutSessionInput.d.ts +13 -0
- package/api/resources/checkoutSessions/client/requests/CreateCheckoutSessionInput.js +3 -0
- package/api/resources/checkoutSessions/client/requests/CreateCheckoutSessionInput.ts +14 -0
- package/api/resources/checkoutSessions/client/requests/index.d.ts +2 -0
- package/api/resources/checkoutSessions/client/requests/index.js +2 -0
- package/api/resources/checkoutSessions/client/requests/index.ts +1 -0
- package/api/resources/checkoutSessions/index.d.ts +2 -0
- package/api/resources/checkoutSessions/index.js +2 -0
- package/api/resources/checkoutSessions/index.ts +1 -0
- package/api/resources/clients/client/Client.d.ts +32 -0
- package/api/resources/clients/client/Client.js +76 -0
- package/api/resources/clients/client/Client.ts +108 -0
- package/api/resources/clients/client/index.d.ts +2 -0
- package/api/resources/clients/client/index.js +2 -0
- package/api/resources/clients/client/index.ts +1 -0
- package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.d.ts +10 -0
- package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.js +3 -0
- package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.ts +11 -0
- package/api/resources/clients/client/requests/index.d.ts +2 -0
- package/api/resources/clients/client/requests/index.js +2 -0
- package/api/resources/clients/client/requests/index.ts +1 -0
- package/api/resources/clients/index.d.ts +3 -0
- package/api/resources/clients/index.js +3 -0
- package/api/resources/clients/index.ts +2 -0
- package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.d.ts +18 -0
- package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.js +3 -0
- package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.ts +21 -0
- package/api/resources/clients/types/index.d.ts +2 -0
- package/api/resources/clients/types/index.js +2 -0
- package/api/resources/clients/types/index.ts +1 -0
- package/api/resources/comms/client/Client.d.ts +56 -0
- package/api/resources/comms/client/Client.js +170 -0
- package/api/resources/comms/client/Client.ts +236 -0
- package/api/resources/comms/client/index.d.ts +2 -0
- package/api/resources/comms/client/index.js +2 -0
- package/api/resources/comms/client/index.ts +1 -0
- package/api/resources/comms/client/requests/CommsMessagesListRequest.d.ts +15 -0
- package/api/resources/comms/client/requests/CommsMessagesListRequest.js +3 -0
- package/api/resources/comms/client/requests/CommsMessagesListRequest.ts +16 -0
- package/api/resources/comms/client/requests/CommsMessagesSendRequest.d.ts +45 -0
- package/api/resources/comms/client/requests/CommsMessagesSendRequest.js +22 -0
- package/api/resources/comms/client/requests/CommsMessagesSendRequest.ts +47 -0
- package/api/resources/comms/client/requests/CommsThreadsListRequest.d.ts +20 -0
- package/api/resources/comms/client/requests/CommsThreadsListRequest.js +3 -0
- package/api/resources/comms/client/requests/CommsThreadsListRequest.ts +22 -0
- package/api/resources/comms/client/requests/index.d.ts +4 -0
- package/api/resources/comms/client/requests/index.js +2 -0
- package/api/resources/comms/client/requests/index.ts +3 -0
- package/api/resources/comms/index.d.ts +3 -0
- package/api/resources/comms/index.js +3 -0
- package/api/resources/comms/index.ts +2 -0
- package/api/resources/comms/types/CommsMessagesListResponse.d.ts +8 -0
- package/api/resources/comms/types/CommsMessagesListResponse.js +3 -0
- package/api/resources/comms/types/CommsMessagesListResponse.ts +9 -0
- package/api/resources/comms/types/CommsMessagesSendResponse.d.ts +8 -0
- package/api/resources/comms/types/CommsMessagesSendResponse.js +3 -0
- package/api/resources/comms/types/CommsMessagesSendResponse.ts +9 -0
- package/api/resources/comms/types/CommsThreadsListRequestStatus.d.ts +8 -0
- package/api/resources/comms/types/CommsThreadsListRequestStatus.js +8 -0
- package/api/resources/comms/types/CommsThreadsListRequestStatus.ts +10 -0
- package/api/resources/comms/types/CommsThreadsListResponse.d.ts +8 -0
- package/api/resources/comms/types/CommsThreadsListResponse.js +3 -0
- package/api/resources/comms/types/CommsThreadsListResponse.ts +9 -0
- package/api/resources/comms/types/index.d.ts +5 -0
- package/api/resources/comms/types/index.js +5 -0
- package/api/resources/comms/types/index.ts +4 -0
- package/api/resources/creditNotes/client/Client.d.ts +93 -0
- package/api/resources/creditNotes/client/Client.js +263 -0
- package/api/resources/creditNotes/client/Client.ts +350 -0
- package/api/resources/creditNotes/client/index.d.ts +2 -0
- package/api/resources/creditNotes/client/index.js +2 -0
- package/api/resources/creditNotes/client/index.ts +1 -0
- package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.d.ts +54 -0
- package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.js +21 -0
- package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.ts +56 -0
- package/api/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +28 -0
- package/api/resources/creditNotes/client/requests/CreditNotesListRequest.js +3 -0
- package/api/resources/creditNotes/client/requests/CreditNotesListRequest.ts +30 -0
- package/api/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +11 -0
- package/api/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.js +3 -0
- package/api/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.ts +12 -0
- package/api/resources/creditNotes/client/requests/CreditNotesVoidRequest.d.ts +11 -0
- package/api/resources/creditNotes/client/requests/CreditNotesVoidRequest.js +3 -0
- package/api/resources/creditNotes/client/requests/CreditNotesVoidRequest.ts +12 -0
- package/api/resources/creditNotes/client/requests/index.d.ts +5 -0
- package/api/resources/creditNotes/client/requests/index.js +2 -0
- package/api/resources/creditNotes/client/requests/index.ts +4 -0
- package/api/resources/creditNotes/index.d.ts +3 -0
- package/api/resources/creditNotes/index.js +3 -0
- package/api/resources/creditNotes/index.ts +2 -0
- package/api/resources/creditNotes/types/CreditNotesListRequestCreditMethod.d.ts +8 -0
- package/api/resources/creditNotes/types/CreditNotesListRequestCreditMethod.js +8 -0
- package/api/resources/creditNotes/types/CreditNotesListRequestCreditMethod.ts +10 -0
- package/api/resources/creditNotes/types/CreditNotesListRequestStatus.d.ts +10 -0
- package/api/resources/creditNotes/types/CreditNotesListRequestStatus.js +10 -0
- package/api/resources/creditNotes/types/CreditNotesListRequestStatus.ts +12 -0
- package/api/resources/creditNotes/types/index.d.ts +3 -0
- package/api/resources/creditNotes/types/index.js +3 -0
- package/api/resources/creditNotes/types/index.ts +2 -0
- package/api/resources/customers/client/Client.d.ts +223 -0
- package/api/resources/customers/client/Client.js +729 -0
- package/api/resources/customers/client/Client.ts +978 -0
- package/api/resources/customers/client/index.d.ts +2 -0
- package/api/resources/customers/client/index.js +2 -0
- package/api/resources/customers/client/index.ts +1 -0
- package/api/resources/customers/client/requests/CustomersCreateRequest.d.ts +15 -0
- package/api/resources/customers/client/requests/CustomersCreateRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersCreateRequest.ts +16 -0
- package/api/resources/customers/client/requests/CustomersExternalBatchRequest.d.ts +53 -0
- package/api/resources/customers/client/requests/CustomersExternalBatchRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersExternalBatchRequest.ts +56 -0
- package/api/resources/customers/client/requests/CustomersExternalUpsertByExternalIdRequest.d.ts +31 -0
- package/api/resources/customers/client/requests/CustomersExternalUpsertByExternalIdRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersExternalUpsertByExternalIdRequest.ts +32 -0
- package/api/resources/customers/client/requests/CustomersInvoicesListRequest.d.ts +18 -0
- package/api/resources/customers/client/requests/CustomersInvoicesListRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersInvoicesListRequest.ts +19 -0
- package/api/resources/customers/client/requests/CustomersListRequest.d.ts +13 -0
- package/api/resources/customers/client/requests/CustomersListRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersListRequest.ts +14 -0
- package/api/resources/customers/client/requests/CustomersOrdersListRequest.d.ts +21 -0
- package/api/resources/customers/client/requests/CustomersOrdersListRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersOrdersListRequest.ts +23 -0
- package/api/resources/customers/client/requests/CustomersPaymentMethodsListRequest.d.ts +11 -0
- package/api/resources/customers/client/requests/CustomersPaymentMethodsListRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersPaymentMethodsListRequest.ts +12 -0
- package/api/resources/customers/client/requests/CustomersPaymentsListRequest.d.ts +21 -0
- package/api/resources/customers/client/requests/CustomersPaymentsListRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersPaymentsListRequest.ts +23 -0
- package/api/resources/customers/client/requests/CustomersPortalSessionsCreateRequest.d.ts +13 -0
- package/api/resources/customers/client/requests/CustomersPortalSessionsCreateRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersPortalSessionsCreateRequest.ts +14 -0
- package/api/resources/customers/client/requests/CustomersRetrieveRequest.d.ts +11 -0
- package/api/resources/customers/client/requests/CustomersRetrieveRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersRetrieveRequest.ts +12 -0
- package/api/resources/customers/client/requests/CustomersSubscriptionsListRequest.d.ts +21 -0
- package/api/resources/customers/client/requests/CustomersSubscriptionsListRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersSubscriptionsListRequest.ts +23 -0
- package/api/resources/customers/client/requests/CustomersUpdateRequest.d.ts +17 -0
- package/api/resources/customers/client/requests/CustomersUpdateRequest.js +3 -0
- package/api/resources/customers/client/requests/CustomersUpdateRequest.ts +18 -0
- package/api/resources/customers/client/requests/index.d.ts +13 -0
- package/api/resources/customers/client/requests/index.js +2 -0
- package/api/resources/customers/client/requests/index.ts +12 -0
- package/api/resources/customers/index.d.ts +3 -0
- package/api/resources/customers/index.js +3 -0
- package/api/resources/customers/index.ts +2 -0
- package/api/resources/customers/types/CustomersExternalBatchResponse.d.ts +20 -0
- package/api/resources/customers/types/CustomersExternalBatchResponse.js +3 -0
- package/api/resources/customers/types/CustomersExternalBatchResponse.ts +23 -0
- package/api/resources/customers/types/CustomersExternalUpsertByExternalIdResponse.d.ts +23 -0
- package/api/resources/customers/types/CustomersExternalUpsertByExternalIdResponse.js +3 -0
- package/api/resources/customers/types/CustomersExternalUpsertByExternalIdResponse.ts +26 -0
- package/api/resources/customers/types/CustomersInvoicesListResponse.d.ts +13 -0
- package/api/resources/customers/types/CustomersInvoicesListResponse.js +8 -0
- package/api/resources/customers/types/CustomersInvoicesListResponse.ts +16 -0
- package/api/resources/customers/types/CustomersOrdersListRequestStatus.d.ts +9 -0
- package/api/resources/customers/types/CustomersOrdersListRequestStatus.js +9 -0
- package/api/resources/customers/types/CustomersOrdersListRequestStatus.ts +11 -0
- package/api/resources/customers/types/CustomersOrdersListResponse.d.ts +13 -0
- package/api/resources/customers/types/CustomersOrdersListResponse.js +8 -0
- package/api/resources/customers/types/CustomersOrdersListResponse.ts +16 -0
- package/api/resources/customers/types/CustomersPaymentsListRequestStatus.d.ts +11 -0
- package/api/resources/customers/types/CustomersPaymentsListRequestStatus.js +11 -0
- package/api/resources/customers/types/CustomersPaymentsListRequestStatus.ts +13 -0
- package/api/resources/customers/types/CustomersPaymentsListResponse.d.ts +13 -0
- package/api/resources/customers/types/CustomersPaymentsListResponse.js +8 -0
- package/api/resources/customers/types/CustomersPaymentsListResponse.ts +16 -0
- package/api/resources/customers/types/CustomersSubscriptionsListRequestStatus.d.ts +10 -0
- package/api/resources/customers/types/CustomersSubscriptionsListRequestStatus.js +10 -0
- package/api/resources/customers/types/CustomersSubscriptionsListRequestStatus.ts +12 -0
- package/api/resources/customers/types/CustomersSubscriptionsListResponse.d.ts +13 -0
- package/api/resources/customers/types/CustomersSubscriptionsListResponse.js +8 -0
- package/api/resources/customers/types/CustomersSubscriptionsListResponse.ts +16 -0
- package/api/resources/customers/types/index.d.ts +10 -0
- package/api/resources/customers/types/index.js +10 -0
- package/api/resources/customers/types/index.ts +9 -0
- package/api/resources/discounts/client/Client.d.ts +104 -0
- package/api/resources/discounts/client/Client.js +300 -0
- package/api/resources/discounts/client/Client.ts +395 -0
- package/api/resources/discounts/client/index.d.ts +2 -0
- package/api/resources/discounts/client/index.js +2 -0
- package/api/resources/discounts/client/index.ts +1 -0
- package/api/resources/discounts/client/requests/CreateDiscountInput.d.ts +71 -0
- package/api/resources/discounts/client/requests/CreateDiscountInput.js +28 -0
- package/api/resources/discounts/client/requests/CreateDiscountInput.ts +73 -0
- package/api/resources/discounts/client/requests/DiscountsDeleteRequest.d.ts +11 -0
- package/api/resources/discounts/client/requests/DiscountsDeleteRequest.js +3 -0
- package/api/resources/discounts/client/requests/DiscountsDeleteRequest.ts +12 -0
- package/api/resources/discounts/client/requests/DiscountsListRequest.d.ts +18 -0
- package/api/resources/discounts/client/requests/DiscountsListRequest.js +3 -0
- package/api/resources/discounts/client/requests/DiscountsListRequest.ts +20 -0
- package/api/resources/discounts/client/requests/DiscountsRetrieveRequest.d.ts +11 -0
- package/api/resources/discounts/client/requests/DiscountsRetrieveRequest.js +3 -0
- package/api/resources/discounts/client/requests/DiscountsRetrieveRequest.ts +12 -0
- package/api/resources/discounts/client/requests/UpdateDiscountInput.d.ts +46 -0
- package/api/resources/discounts/client/requests/UpdateDiscountInput.js +20 -0
- package/api/resources/discounts/client/requests/UpdateDiscountInput.ts +48 -0
- package/api/resources/discounts/client/requests/index.d.ts +6 -0
- package/api/resources/discounts/client/requests/index.js +3 -0
- package/api/resources/discounts/client/requests/index.ts +5 -0
- package/api/resources/discounts/index.d.ts +3 -0
- package/api/resources/discounts/index.js +3 -0
- package/api/resources/discounts/index.ts +2 -0
- package/api/resources/discounts/types/DiscountsListRequestIsActive.d.ts +7 -0
- package/api/resources/discounts/types/DiscountsListRequestIsActive.js +7 -0
- package/api/resources/discounts/types/DiscountsListRequestIsActive.ts +9 -0
- package/api/resources/discounts/types/DiscountsListRequestIsArchived.d.ts +7 -0
- package/api/resources/discounts/types/DiscountsListRequestIsArchived.js +7 -0
- package/api/resources/discounts/types/DiscountsListRequestIsArchived.ts +9 -0
- package/api/resources/discounts/types/index.d.ts +3 -0
- package/api/resources/discounts/types/index.js +3 -0
- package/api/resources/discounts/types/index.ts +2 -0
- package/api/resources/disputes/client/Client.d.ts +72 -0
- package/api/resources/disputes/client/Client.js +199 -0
- package/api/resources/disputes/client/Client.ts +270 -0
- package/api/resources/disputes/client/index.d.ts +2 -0
- package/api/resources/disputes/client/index.js +2 -0
- package/api/resources/disputes/client/index.ts +1 -0
- package/api/resources/disputes/client/requests/DisputesGetOpenRequest.d.ts +11 -0
- package/api/resources/disputes/client/requests/DisputesGetOpenRequest.js +3 -0
- package/api/resources/disputes/client/requests/DisputesGetOpenRequest.ts +12 -0
- package/api/resources/disputes/client/requests/DisputesListRequest.d.ts +30 -0
- package/api/resources/disputes/client/requests/DisputesListRequest.js +3 -0
- package/api/resources/disputes/client/requests/DisputesListRequest.ts +32 -0
- package/api/resources/disputes/client/requests/DisputesRetrieveRequest.d.ts +11 -0
- package/api/resources/disputes/client/requests/DisputesRetrieveRequest.js +3 -0
- package/api/resources/disputes/client/requests/DisputesRetrieveRequest.ts +12 -0
- package/api/resources/disputes/client/requests/index.d.ts +4 -0
- package/api/resources/disputes/client/requests/index.js +2 -0
- package/api/resources/disputes/client/requests/index.ts +3 -0
- package/api/resources/disputes/index.d.ts +3 -0
- package/api/resources/disputes/index.js +3 -0
- package/api/resources/disputes/index.ts +2 -0
- package/api/resources/disputes/types/DisputesGetOpenResponse.d.ts +12 -0
- package/api/resources/disputes/types/DisputesGetOpenResponse.js +3 -0
- package/api/resources/disputes/types/DisputesGetOpenResponse.ts +15 -0
- package/api/resources/disputes/types/DisputesListRequestNeedsEvidence.d.ts +7 -0
- package/api/resources/disputes/types/DisputesListRequestNeedsEvidence.js +7 -0
- package/api/resources/disputes/types/DisputesListRequestNeedsEvidence.ts +9 -0
- package/api/resources/disputes/types/DisputesListRequestResolution.d.ts +8 -0
- package/api/resources/disputes/types/DisputesListRequestResolution.js +8 -0
- package/api/resources/disputes/types/DisputesListRequestResolution.ts +10 -0
- package/api/resources/disputes/types/DisputesListRequestStatus.d.ts +11 -0
- package/api/resources/disputes/types/DisputesListRequestStatus.js +11 -0
- package/api/resources/disputes/types/DisputesListRequestStatus.ts +12 -0
- package/api/resources/disputes/types/DisputesListResponse.d.ts +14 -0
- package/api/resources/disputes/types/DisputesListResponse.js +3 -0
- package/api/resources/disputes/types/DisputesListResponse.ts +17 -0
- package/api/resources/disputes/types/DisputesRetrieveResponse.d.ts +11 -0
- package/api/resources/disputes/types/DisputesRetrieveResponse.js +3 -0
- package/api/resources/disputes/types/DisputesRetrieveResponse.ts +14 -0
- package/api/resources/disputes/types/index.d.ts +7 -0
- package/api/resources/disputes/types/index.js +7 -0
- package/api/resources/disputes/types/index.ts +6 -0
- package/api/resources/entitlements/client/Client.d.ts +98 -0
- package/api/resources/entitlements/client/Client.js +318 -0
- package/api/resources/entitlements/client/Client.ts +438 -0
- package/api/resources/entitlements/client/index.d.ts +2 -0
- package/api/resources/entitlements/client/index.js +2 -0
- package/api/resources/entitlements/client/index.ts +1 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsCheckRequest.d.ts +14 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsCheckRequest.js +3 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsCheckRequest.ts +15 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsGrantRequest.d.ts +15 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsGrantRequest.js +3 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsGrantRequest.ts +16 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsListRequest.d.ts +21 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsListRequest.js +3 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsListRequest.ts +22 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsRevokeByIdRequest.d.ts +14 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsRevokeByIdRequest.js +3 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsRevokeByIdRequest.ts +15 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsRevokeByKeyRequest.d.ts +13 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsRevokeByKeyRequest.js +3 -0
- package/api/resources/entitlements/client/requests/CustomersEntitlementsRevokeByKeyRequest.ts +14 -0
- package/api/resources/entitlements/client/requests/index.d.ts +6 -0
- package/api/resources/entitlements/client/requests/index.js +2 -0
- package/api/resources/entitlements/client/requests/index.ts +5 -0
- package/api/resources/entitlements/index.d.ts +3 -0
- package/api/resources/entitlements/index.js +3 -0
- package/api/resources/entitlements/index.ts +2 -0
- package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.d.ts +45 -0
- package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.js +22 -0
- package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.ts +49 -0
- package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.d.ts +52 -0
- package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.js +22 -0
- package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.ts +56 -0
- package/api/resources/entitlements/types/CustomersEntitlementsListResponse.d.ts +66 -0
- package/api/resources/entitlements/types/CustomersEntitlementsListResponse.js +25 -0
- package/api/resources/entitlements/types/CustomersEntitlementsListResponse.ts +73 -0
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.d.ts +52 -0
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.js +22 -0
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.ts +56 -0
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.d.ts +52 -0
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.js +22 -0
- package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.ts +56 -0
- package/api/resources/entitlements/types/index.d.ts +6 -0
- package/api/resources/entitlements/types/index.js +6 -0
- package/api/resources/entitlements/types/index.ts +5 -0
- package/api/resources/events/client/Client.d.ts +84 -0
- package/api/resources/events/client/Client.js +243 -0
- package/api/resources/events/client/Client.ts +333 -0
- package/api/resources/events/client/index.d.ts +2 -0
- package/api/resources/events/client/index.js +2 -0
- package/api/resources/events/client/index.ts +1 -0
- package/api/resources/events/client/requests/CreateTestEventRequest.d.ts +60 -0
- package/api/resources/events/client/requests/CreateTestEventRequest.js +51 -0
- package/api/resources/events/client/requests/CreateTestEventRequest.ts +62 -0
- package/api/resources/events/client/requests/EventsListRequest.d.ts +32 -0
- package/api/resources/events/client/requests/EventsListRequest.js +3 -0
- package/api/resources/events/client/requests/EventsListRequest.ts +33 -0
- package/api/resources/events/client/requests/EventsResendRequest.d.ts +11 -0
- package/api/resources/events/client/requests/EventsResendRequest.js +3 -0
- package/api/resources/events/client/requests/EventsResendRequest.ts +12 -0
- package/api/resources/events/client/requests/EventsRetrieveRequest.d.ts +11 -0
- package/api/resources/events/client/requests/EventsRetrieveRequest.js +3 -0
- package/api/resources/events/client/requests/EventsRetrieveRequest.ts +12 -0
- package/api/resources/events/client/requests/index.d.ts +5 -0
- package/api/resources/events/client/requests/index.js +2 -0
- package/api/resources/events/client/requests/index.ts +4 -0
- package/api/resources/events/index.d.ts +2 -0
- package/api/resources/events/index.js +2 -0
- package/api/resources/events/index.ts +1 -0
- package/api/resources/finance/client/Client.d.ts +46 -0
- package/api/resources/finance/client/Client.js +130 -0
- package/api/resources/finance/client/Client.ts +178 -0
- package/api/resources/finance/client/index.d.ts +2 -0
- package/api/resources/finance/client/index.js +2 -0
- package/api/resources/finance/client/index.ts +1 -0
- package/api/resources/finance/client/requests/GetFinanceIncomeRequest.d.ts +21 -0
- package/api/resources/finance/client/requests/GetFinanceIncomeRequest.js +3 -0
- package/api/resources/finance/client/requests/GetFinanceIncomeRequest.ts +23 -0
- package/api/resources/finance/client/requests/index.d.ts +2 -0
- package/api/resources/finance/client/requests/index.js +2 -0
- package/api/resources/finance/client/requests/index.ts +1 -0
- package/api/resources/finance/index.d.ts +3 -0
- package/api/resources/finance/index.js +3 -0
- package/api/resources/finance/index.ts +2 -0
- package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.d.ts +8 -0
- package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.js +8 -0
- package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.ts +10 -0
- package/api/resources/finance/types/GetFinanceIncomeResponse.d.ts +15 -0
- package/api/resources/finance/types/GetFinanceIncomeResponse.js +3 -0
- package/api/resources/finance/types/GetFinanceIncomeResponse.ts +17 -0
- package/api/resources/finance/types/GetFinanceSummaryResponse.d.ts +7 -0
- package/api/resources/finance/types/GetFinanceSummaryResponse.js +3 -0
- package/api/resources/finance/types/GetFinanceSummaryResponse.ts +8 -0
- package/api/resources/finance/types/index.d.ts +4 -0
- package/api/resources/finance/types/index.js +4 -0
- package/api/resources/finance/types/index.ts +3 -0
- package/api/resources/index.d.ts +109 -0
- package/api/resources/index.js +109 -0
- package/api/resources/index.ts +108 -0
- package/api/resources/integrations/client/Client.d.ts +416 -0
- package/api/resources/integrations/client/Client.js +1385 -0
- package/api/resources/integrations/client/Client.ts +1922 -0
- package/api/resources/integrations/client/index.d.ts +2 -0
- package/api/resources/integrations/client/index.js +2 -0
- package/api/resources/integrations/client/index.ts +1 -0
- package/api/resources/integrations/client/requests/IntegrationsActivateRequest.d.ts +26 -0
- package/api/resources/integrations/client/requests/IntegrationsActivateRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsActivateRequest.ts +29 -0
- package/api/resources/integrations/client/requests/IntegrationsBatchRetryRequest.d.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsBatchRetryRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsBatchRetryRequest.ts +17 -0
- package/api/resources/integrations/client/requests/IntegrationsDeactivateRequest.d.ts +12 -0
- package/api/resources/integrations/client/requests/IntegrationsDeactivateRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsDeactivateRequest.ts +14 -0
- package/api/resources/integrations/client/requests/IntegrationsDeleteProductMappingRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsDeleteProductMappingRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsDeleteProductMappingRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsGetPackagesRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsGetPackagesRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsGetPackagesRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsGetPaymentMethodsRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsGetPaymentMethodsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsGetPaymentMethodsRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsGetProductMappingsRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsGetProductMappingsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsGetProductMappingsRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsGetStatusRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsGetStatusRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsGetStatusRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsInvoiceLookbackRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsInvoiceLookbackRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsInvoiceLookbackRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsPaymentMappingsRequest.d.ts +27 -0
- package/api/resources/integrations/client/requests/IntegrationsPaymentMappingsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsPaymentMappingsRequest.ts +31 -0
- package/api/resources/integrations/client/requests/IntegrationsPostPaymentMethodsRequest.d.ts +17 -0
- package/api/resources/integrations/client/requests/IntegrationsPostPaymentMethodsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsPostPaymentMethodsRequest.ts +19 -0
- package/api/resources/integrations/client/requests/IntegrationsPutProductMappingsRequest.d.ts +33 -0
- package/api/resources/integrations/client/requests/IntegrationsPutProductMappingsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsPutProductMappingsRequest.ts +38 -0
- package/api/resources/integrations/client/requests/IntegrationsRetryLogRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsRetryLogRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsRetryLogRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncIntervalRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncIntervalRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncIntervalRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncLogByIdRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncLogByIdRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncLogByIdRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncLogsRequest.d.ts +20 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncLogsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncLogsRequest.ts +22 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatesRequest.d.ts +11 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatesRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatesRequest.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatsByTypeRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatsByTypeRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatsByTypeRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatsRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatsRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncStatsRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncToggleRequest.d.ts +13 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncToggleRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsSyncToggleRequest.ts +15 -0
- package/api/resources/integrations/client/requests/IntegrationsTestRequest.d.ts +24 -0
- package/api/resources/integrations/client/requests/IntegrationsTestRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsTestRequest.ts +27 -0
- package/api/resources/integrations/client/requests/IntegrationsTriggerSyncRequest.d.ts +12 -0
- package/api/resources/integrations/client/requests/IntegrationsTriggerSyncRequest.js +3 -0
- package/api/resources/integrations/client/requests/IntegrationsTriggerSyncRequest.ts +14 -0
- package/api/resources/integrations/client/requests/IntegrationsUpdateStatusRequest.d.ts +23 -0
- package/api/resources/integrations/client/requests/IntegrationsUpdateStatusRequest.js +11 -0
- package/api/resources/integrations/client/requests/IntegrationsUpdateStatusRequest.ts +26 -0
- package/api/resources/integrations/client/requests/index.d.ts +24 -0
- package/api/resources/integrations/client/requests/index.js +2 -0
- package/api/resources/integrations/client/requests/index.ts +23 -0
- package/api/resources/integrations/index.d.ts +3 -0
- package/api/resources/integrations/index.js +3 -0
- package/api/resources/integrations/index.ts +2 -0
- package/api/resources/integrations/types/IntegrationsActivateRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsActivateRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsActivateRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsActivateResponse.d.ts +37 -0
- package/api/resources/integrations/types/IntegrationsActivateResponse.js +18 -0
- package/api/resources/integrations/types/IntegrationsActivateResponse.ts +41 -0
- package/api/resources/integrations/types/IntegrationsBatchRetryRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsBatchRetryRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsBatchRetryRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsBatchRetryResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsBatchRetryResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsBatchRetryResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsDeactivateRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsDeactivateRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsDeactivateRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsDeactivateResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsDeactivateResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsDeactivateResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsDeleteProductMappingRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsDeleteProductMappingRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsDeleteProductMappingRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsDeleteProductMappingResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsDeleteProductMappingResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsDeleteProductMappingResponse.ts +5 -0
- package/api/resources/integrations/types/IntegrationsGetPackagesRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsGetPackagesRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsGetPackagesRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsGetPackagesResponse.d.ts +25 -0
- package/api/resources/integrations/types/IntegrationsGetPackagesResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsGetPackagesResponse.ts +29 -0
- package/api/resources/integrations/types/IntegrationsGetPaymentMethodsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsGetPaymentMethodsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsGetPaymentMethodsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsGetPaymentMethodsResponse.d.ts +16 -0
- package/api/resources/integrations/types/IntegrationsGetPaymentMethodsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsGetPaymentMethodsResponse.ts +19 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.d.ts +18 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.ts +21 -0
- package/api/resources/integrations/types/IntegrationsGetStatusRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsGetStatusRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsGetStatusRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsGetStatusResponse.d.ts +36 -0
- package/api/resources/integrations/types/IntegrationsGetStatusResponse.js +18 -0
- package/api/resources/integrations/types/IntegrationsGetStatusResponse.ts +40 -0
- package/api/resources/integrations/types/IntegrationsInvoiceLookbackRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsInvoiceLookbackRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsInvoiceLookbackRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsInvoiceLookbackResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsInvoiceLookbackResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsInvoiceLookbackResponse.ts +5 -0
- package/api/resources/integrations/types/IntegrationsListResponse.d.ts +39 -0
- package/api/resources/integrations/types/IntegrationsListResponse.js +21 -0
- package/api/resources/integrations/types/IntegrationsListResponse.ts +44 -0
- package/api/resources/integrations/types/IntegrationsPaymentMappingsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsPaymentMappingsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsPaymentMappingsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsPaymentMappingsResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsPaymentMappingsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsPaymentMappingsResponse.ts +5 -0
- package/api/resources/integrations/types/IntegrationsPostPaymentMethodsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsPostPaymentMethodsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsPostPaymentMethodsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsPostPaymentMethodsResponse.d.ts +16 -0
- package/api/resources/integrations/types/IntegrationsPostPaymentMethodsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsPostPaymentMethodsResponse.ts +19 -0
- package/api/resources/integrations/types/IntegrationsPutProductMappingsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsPutProductMappingsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsPutProductMappingsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsPutProductMappingsResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsPutProductMappingsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsPutProductMappingsResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsRetryLogRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsRetryLogRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsRetryLogRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsRetryLogResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsRetryLogResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsRetryLogResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncIntervalRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncIntervalRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncIntervalRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncIntervalResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsSyncIntervalResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncIntervalResponse.ts +5 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestJobType.d.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestJobType.js +8 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestJobType.ts +10 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestLatestOnly.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestLatestOnly.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestLatestOnly.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestStatus.d.ts +9 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestStatus.js +9 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsRequestStatus.ts +11 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncLogsResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatesRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatesRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatesRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncStatesResponse.d.ts +18 -0
- package/api/resources/integrations/types/IntegrationsSyncStatesResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncStatesResponse.ts +21 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncStatsResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncToggleRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsSyncToggleRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsSyncToggleRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsSyncToggleResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsSyncToggleResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsSyncToggleResponse.ts +5 -0
- package/api/resources/integrations/types/IntegrationsTestRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsTestRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsTestRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsTestResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsTestResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsTestResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsTriggerSyncRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsTriggerSyncRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsTriggerSyncRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsTriggerSyncResponse.d.ts +5 -0
- package/api/resources/integrations/types/IntegrationsTriggerSyncResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsTriggerSyncResponse.ts +6 -0
- package/api/resources/integrations/types/IntegrationsUpdateStatusRequestProvider.d.ts +6 -0
- package/api/resources/integrations/types/IntegrationsUpdateStatusRequestProvider.js +6 -0
- package/api/resources/integrations/types/IntegrationsUpdateStatusRequestProvider.ts +8 -0
- package/api/resources/integrations/types/IntegrationsUpdateStatusResponse.d.ts +4 -0
- package/api/resources/integrations/types/IntegrationsUpdateStatusResponse.js +3 -0
- package/api/resources/integrations/types/IntegrationsUpdateStatusResponse.ts +5 -0
- package/api/resources/integrations/types/index.d.ts +51 -0
- package/api/resources/integrations/types/index.js +51 -0
- package/api/resources/integrations/types/index.ts +50 -0
- package/api/resources/invoices/client/Client.d.ts +297 -0
- package/api/resources/invoices/client/Client.js +964 -0
- package/api/resources/invoices/client/Client.ts +1290 -0
- package/api/resources/invoices/client/index.d.ts +2 -0
- package/api/resources/invoices/client/index.js +2 -0
- package/api/resources/invoices/client/index.ts +1 -0
- package/api/resources/invoices/client/requests/InvoicesCommentsAddRequest.d.ts +15 -0
- package/api/resources/invoices/client/requests/InvoicesCommentsAddRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesCommentsAddRequest.ts +16 -0
- package/api/resources/invoices/client/requests/InvoicesCommentsListRequest.d.ts +13 -0
- package/api/resources/invoices/client/requests/InvoicesCommentsListRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesCommentsListRequest.ts +14 -0
- package/api/resources/invoices/client/requests/InvoicesCreateRequest.d.ts +20 -0
- package/api/resources/invoices/client/requests/InvoicesCreateRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesCreateRequest.ts +22 -0
- package/api/resources/invoices/client/requests/InvoicesCreditEligibilityRequest.d.ts +10 -0
- package/api/resources/invoices/client/requests/InvoicesCreditEligibilityRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesCreditEligibilityRequest.ts +11 -0
- package/api/resources/invoices/client/requests/InvoicesCreditNoteIssueRequest.d.ts +56 -0
- package/api/resources/invoices/client/requests/InvoicesCreditNoteIssueRequest.js +23 -0
- package/api/resources/invoices/client/requests/InvoicesCreditNoteIssueRequest.ts +58 -0
- package/api/resources/invoices/client/requests/InvoicesCreditNotesListRequest.d.ts +10 -0
- package/api/resources/invoices/client/requests/InvoicesCreditNotesListRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesCreditNotesListRequest.ts +11 -0
- package/api/resources/invoices/client/requests/InvoicesDeleteRequest.d.ts +10 -0
- package/api/resources/invoices/client/requests/InvoicesDeleteRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesDeleteRequest.ts +11 -0
- package/api/resources/invoices/client/requests/InvoicesExternalBatchRequest.d.ts +74 -0
- package/api/resources/invoices/client/requests/InvoicesExternalBatchRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesExternalBatchRequest.ts +81 -0
- package/api/resources/invoices/client/requests/InvoicesExternalUpsertByExternalIdRequest.d.ts +50 -0
- package/api/resources/invoices/client/requests/InvoicesExternalUpsertByExternalIdRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesExternalUpsertByExternalIdRequest.ts +55 -0
- package/api/resources/invoices/client/requests/InvoicesFinalizeRequest.d.ts +12 -0
- package/api/resources/invoices/client/requests/InvoicesFinalizeRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesFinalizeRequest.ts +13 -0
- package/api/resources/invoices/client/requests/InvoicesListRequest.d.ts +15 -0
- package/api/resources/invoices/client/requests/InvoicesListRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesListRequest.ts +16 -0
- package/api/resources/invoices/client/requests/InvoicesPayRequest.d.ts +30 -0
- package/api/resources/invoices/client/requests/InvoicesPayRequest.js +12 -0
- package/api/resources/invoices/client/requests/InvoicesPayRequest.ts +32 -0
- package/api/resources/invoices/client/requests/InvoicesRefundRequest.d.ts +14 -0
- package/api/resources/invoices/client/requests/InvoicesRefundRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesRefundRequest.ts +15 -0
- package/api/resources/invoices/client/requests/InvoicesRejectRequest.d.ts +13 -0
- package/api/resources/invoices/client/requests/InvoicesRejectRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesRejectRequest.ts +14 -0
- package/api/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +10 -0
- package/api/resources/invoices/client/requests/InvoicesRetrieveRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesRetrieveRequest.ts +11 -0
- package/api/resources/invoices/client/requests/InvoicesSendRequest.d.ts +23 -0
- package/api/resources/invoices/client/requests/InvoicesSendRequest.js +11 -0
- package/api/resources/invoices/client/requests/InvoicesSendRequest.ts +25 -0
- package/api/resources/invoices/client/requests/InvoicesUpdateRequest.d.ts +65 -0
- package/api/resources/invoices/client/requests/InvoicesUpdateRequest.js +31 -0
- package/api/resources/invoices/client/requests/InvoicesUpdateRequest.ts +68 -0
- package/api/resources/invoices/client/requests/InvoicesVoidRequest.d.ts +12 -0
- package/api/resources/invoices/client/requests/InvoicesVoidRequest.js +3 -0
- package/api/resources/invoices/client/requests/InvoicesVoidRequest.ts +13 -0
- package/api/resources/invoices/client/requests/index.d.ts +19 -0
- package/api/resources/invoices/client/requests/index.js +5 -0
- package/api/resources/invoices/client/requests/index.ts +18 -0
- package/api/resources/invoices/index.d.ts +3 -0
- package/api/resources/invoices/index.js +3 -0
- package/api/resources/invoices/index.ts +2 -0
- package/api/resources/invoices/types/InvoicesExternalBatchResponse.d.ts +23 -0
- package/api/resources/invoices/types/InvoicesExternalBatchResponse.js +3 -0
- package/api/resources/invoices/types/InvoicesExternalBatchResponse.ts +26 -0
- package/api/resources/invoices/types/InvoicesExternalUpsertByExternalIdResponse.d.ts +3 -0
- package/api/resources/invoices/types/InvoicesExternalUpsertByExternalIdResponse.js +3 -0
- package/api/resources/invoices/types/InvoicesExternalUpsertByExternalIdResponse.ts +5 -0
- package/api/resources/invoices/types/index.d.ts +3 -0
- package/api/resources/invoices/types/index.js +3 -0
- package/api/resources/invoices/types/index.ts +2 -0
- package/api/resources/orders/client/Client.d.ts +123 -0
- package/api/resources/orders/client/Client.js +372 -0
- package/api/resources/orders/client/Client.ts +493 -0
- package/api/resources/orders/client/index.d.ts +2 -0
- package/api/resources/orders/client/index.js +2 -0
- package/api/resources/orders/client/index.ts +1 -0
- package/api/resources/orders/client/requests/CancelOrderRequest.d.ts +13 -0
- package/api/resources/orders/client/requests/CancelOrderRequest.js +3 -0
- package/api/resources/orders/client/requests/CancelOrderRequest.ts +14 -0
- package/api/resources/orders/client/requests/CreateOrderRequest.d.ts +50 -0
- package/api/resources/orders/client/requests/CreateOrderRequest.js +10 -0
- package/api/resources/orders/client/requests/CreateOrderRequest.ts +53 -0
- package/api/resources/orders/client/requests/FulfillOrderRequest.d.ts +19 -0
- package/api/resources/orders/client/requests/FulfillOrderRequest.js +3 -0
- package/api/resources/orders/client/requests/FulfillOrderRequest.ts +20 -0
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +24 -0
- package/api/resources/orders/client/requests/OrdersListRequest.js +3 -0
- package/api/resources/orders/client/requests/OrdersListRequest.ts +26 -0
- package/api/resources/orders/client/requests/OrdersRetrieveRequest.d.ts +11 -0
- package/api/resources/orders/client/requests/OrdersRetrieveRequest.js +3 -0
- package/api/resources/orders/client/requests/OrdersRetrieveRequest.ts +12 -0
- package/api/resources/orders/client/requests/PayOrderRequest.d.ts +17 -0
- package/api/resources/orders/client/requests/PayOrderRequest.js +3 -0
- package/api/resources/orders/client/requests/PayOrderRequest.ts +18 -0
- package/api/resources/orders/client/requests/index.d.ts +7 -0
- package/api/resources/orders/client/requests/index.js +2 -0
- package/api/resources/orders/client/requests/index.ts +6 -0
- package/api/resources/orders/index.d.ts +3 -0
- package/api/resources/orders/index.js +3 -0
- package/api/resources/orders/index.ts +2 -0
- package/api/resources/orders/types/OrdersListRequestBillingType.d.ts +7 -0
- package/api/resources/orders/types/OrdersListRequestBillingType.js +7 -0
- package/api/resources/orders/types/OrdersListRequestBillingType.ts +9 -0
- package/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
- package/api/resources/orders/types/OrdersListRequestStatus.js +12 -0
- package/api/resources/orders/types/OrdersListRequestStatus.ts +13 -0
- package/api/resources/orders/types/index.d.ts +3 -0
- package/api/resources/orders/types/index.js +3 -0
- package/api/resources/orders/types/index.ts +2 -0
- package/api/resources/paymentAttempts/client/Client.d.ts +165 -0
- package/api/resources/paymentAttempts/client/Client.js +537 -0
- package/api/resources/paymentAttempts/client/Client.ts +757 -0
- package/api/resources/paymentAttempts/client/index.d.ts +2 -0
- package/api/resources/paymentAttempts/client/index.js +2 -0
- package/api/resources/paymentAttempts/client/index.ts +1 -0
- package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.d.ts +11 -0
- package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.ts +12 -0
- package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.d.ts +11 -0
- package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.ts +12 -0
- package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.d.ts +11 -0
- package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.ts +12 -0
- package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.d.ts +11 -0
- package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.ts +12 -0
- package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.d.ts +13 -0
- package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.ts +14 -0
- package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.d.ts +13 -0
- package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.ts +14 -0
- package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.d.ts +11 -0
- package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.ts +12 -0
- package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.d.ts +19 -0
- package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.js +3 -0
- package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.ts +20 -0
- package/api/resources/paymentAttempts/client/requests/index.d.ts +9 -0
- package/api/resources/paymentAttempts/client/requests/index.js +2 -0
- package/api/resources/paymentAttempts/client/requests/index.ts +8 -0
- package/api/resources/paymentAttempts/index.d.ts +4 -0
- package/api/resources/paymentAttempts/index.js +4 -0
- package/api/resources/paymentAttempts/index.ts +3 -0
- package/api/resources/paymentAttempts/resources/analytics/client/Client.d.ts +30 -0
- package/api/resources/paymentAttempts/resources/analytics/client/Client.js +70 -0
- package/api/resources/paymentAttempts/resources/analytics/client/Client.ts +102 -0
- package/api/resources/paymentAttempts/resources/analytics/client/index.d.ts +2 -0
- package/api/resources/paymentAttempts/resources/analytics/client/index.js +2 -0
- package/api/resources/paymentAttempts/resources/analytics/client/index.ts +1 -0
- package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.d.ts +16 -0
- package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.js +3 -0
- package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.ts +17 -0
- package/api/resources/paymentAttempts/resources/analytics/client/requests/index.d.ts +2 -0
- package/api/resources/paymentAttempts/resources/analytics/client/requests/index.js +2 -0
- package/api/resources/paymentAttempts/resources/analytics/client/requests/index.ts +1 -0
- package/api/resources/paymentAttempts/resources/analytics/index.d.ts +2 -0
- package/api/resources/paymentAttempts/resources/analytics/index.js +2 -0
- package/api/resources/paymentAttempts/resources/analytics/index.ts +1 -0
- package/api/resources/paymentAttempts/resources/index.d.ts +3 -0
- package/api/resources/paymentAttempts/resources/index.js +3 -0
- package/api/resources/paymentAttempts/resources/index.ts +2 -0
- package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.d.ts +32 -0
- package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.js +3 -0
- package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.ts +38 -0
- package/api/resources/paymentAttempts/types/index.d.ts +2 -0
- package/api/resources/paymentAttempts/types/index.js +2 -0
- package/api/resources/paymentAttempts/types/index.ts +1 -0
- package/api/resources/paymentIntents/client/Client.d.ts +132 -0
- package/api/resources/paymentIntents/client/Client.js +410 -0
- package/api/resources/paymentIntents/client/Client.ts +557 -0
- package/api/resources/paymentIntents/client/index.d.ts +2 -0
- package/api/resources/paymentIntents/client/index.js +2 -0
- package/api/resources/paymentIntents/client/index.ts +1 -0
- package/api/resources/paymentIntents/client/requests/CancelPaymentIntentRequest.d.ts +24 -0
- package/api/resources/paymentIntents/client/requests/CancelPaymentIntentRequest.js +13 -0
- package/api/resources/paymentIntents/client/requests/CancelPaymentIntentRequest.ts +26 -0
- package/api/resources/paymentIntents/client/requests/CapturePaymentIntentRequest.d.ts +13 -0
- package/api/resources/paymentIntents/client/requests/CapturePaymentIntentRequest.js +3 -0
- package/api/resources/paymentIntents/client/requests/CapturePaymentIntentRequest.ts +14 -0
- package/api/resources/paymentIntents/client/requests/ConfirmPaymentIntentRequest.d.ts +15 -0
- package/api/resources/paymentIntents/client/requests/ConfirmPaymentIntentRequest.js +3 -0
- package/api/resources/paymentIntents/client/requests/ConfirmPaymentIntentRequest.ts +16 -0
- package/api/resources/paymentIntents/client/requests/CreatePaymentIntentRequest.d.ts +40 -0
- package/api/resources/paymentIntents/client/requests/CreatePaymentIntentRequest.js +10 -0
- package/api/resources/paymentIntents/client/requests/CreatePaymentIntentRequest.ts +42 -0
- package/api/resources/paymentIntents/client/requests/PaymentIntentsListRequest.d.ts +22 -0
- package/api/resources/paymentIntents/client/requests/PaymentIntentsListRequest.js +3 -0
- package/api/resources/paymentIntents/client/requests/PaymentIntentsListRequest.ts +24 -0
- package/api/resources/paymentIntents/client/requests/PaymentIntentsRetrieveRequest.d.ts +11 -0
- package/api/resources/paymentIntents/client/requests/PaymentIntentsRetrieveRequest.js +3 -0
- package/api/resources/paymentIntents/client/requests/PaymentIntentsRetrieveRequest.ts +12 -0
- package/api/resources/paymentIntents/client/requests/UpdatePaymentIntentRequest.d.ts +27 -0
- package/api/resources/paymentIntents/client/requests/UpdatePaymentIntentRequest.js +3 -0
- package/api/resources/paymentIntents/client/requests/UpdatePaymentIntentRequest.ts +28 -0
- package/api/resources/paymentIntents/client/requests/index.d.ts +8 -0
- package/api/resources/paymentIntents/client/requests/index.js +3 -0
- package/api/resources/paymentIntents/client/requests/index.ts +7 -0
- package/api/resources/paymentIntents/index.d.ts +3 -0
- package/api/resources/paymentIntents/index.js +3 -0
- package/api/resources/paymentIntents/index.ts +2 -0
- package/api/resources/paymentIntents/types/PaymentIntentsListRequestStatus.d.ts +11 -0
- package/api/resources/paymentIntents/types/PaymentIntentsListRequestStatus.js +11 -0
- package/api/resources/paymentIntents/types/PaymentIntentsListRequestStatus.ts +13 -0
- package/api/resources/paymentIntents/types/index.d.ts +2 -0
- package/api/resources/paymentIntents/types/index.js +2 -0
- package/api/resources/paymentIntents/types/index.ts +1 -0
- package/api/resources/paymentLinks/client/Client.d.ts +151 -0
- package/api/resources/paymentLinks/client/Client.js +478 -0
- package/api/resources/paymentLinks/client/Client.ts +629 -0
- package/api/resources/paymentLinks/client/index.d.ts +2 -0
- package/api/resources/paymentLinks/client/index.js +2 -0
- package/api/resources/paymentLinks/client/index.ts +1 -0
- package/api/resources/paymentLinks/client/requests/ActivatePaymentLinkRequest.d.ts +11 -0
- package/api/resources/paymentLinks/client/requests/ActivatePaymentLinkRequest.js +3 -0
- package/api/resources/paymentLinks/client/requests/ActivatePaymentLinkRequest.ts +12 -0
- package/api/resources/paymentLinks/client/requests/ArchivePaymentLinkRequest.d.ts +11 -0
- package/api/resources/paymentLinks/client/requests/ArchivePaymentLinkRequest.js +3 -0
- package/api/resources/paymentLinks/client/requests/ArchivePaymentLinkRequest.ts +12 -0
- package/api/resources/paymentLinks/client/requests/CreatePaymentLinkRequest.d.ts +86 -0
- package/api/resources/paymentLinks/client/requests/CreatePaymentLinkRequest.js +37 -0
- package/api/resources/paymentLinks/client/requests/CreatePaymentLinkRequest.ts +95 -0
- package/api/resources/paymentLinks/client/requests/DeactivatePaymentLinkRequest.d.ts +11 -0
- package/api/resources/paymentLinks/client/requests/DeactivatePaymentLinkRequest.js +3 -0
- package/api/resources/paymentLinks/client/requests/DeactivatePaymentLinkRequest.ts +12 -0
- package/api/resources/paymentLinks/client/requests/ExpirePaymentLinkRequest.d.ts +12 -0
- package/api/resources/paymentLinks/client/requests/ExpirePaymentLinkRequest.js +3 -0
- package/api/resources/paymentLinks/client/requests/ExpirePaymentLinkRequest.ts +13 -0
- package/api/resources/paymentLinks/client/requests/GetPaymentLinkRequest.d.ts +11 -0
- package/api/resources/paymentLinks/client/requests/GetPaymentLinkRequest.js +3 -0
- package/api/resources/paymentLinks/client/requests/GetPaymentLinkRequest.ts +12 -0
- package/api/resources/paymentLinks/client/requests/ListPaymentLinksRequest.d.ts +13 -0
- package/api/resources/paymentLinks/client/requests/ListPaymentLinksRequest.js +3 -0
- package/api/resources/paymentLinks/client/requests/ListPaymentLinksRequest.ts +15 -0
- package/api/resources/paymentLinks/client/requests/UpdatePaymentLinkStatusRequest.d.ts +23 -0
- package/api/resources/paymentLinks/client/requests/UpdatePaymentLinkStatusRequest.js +11 -0
- package/api/resources/paymentLinks/client/requests/UpdatePaymentLinkStatusRequest.ts +25 -0
- package/api/resources/paymentLinks/client/requests/index.d.ts +9 -0
- package/api/resources/paymentLinks/client/requests/index.js +3 -0
- package/api/resources/paymentLinks/client/requests/index.ts +8 -0
- package/api/resources/paymentLinks/index.d.ts +3 -0
- package/api/resources/paymentLinks/index.js +3 -0
- package/api/resources/paymentLinks/index.ts +2 -0
- package/api/resources/paymentLinks/types/ActivatePaymentLinkResponse.d.ts +16 -0
- package/api/resources/paymentLinks/types/ActivatePaymentLinkResponse.js +10 -0
- package/api/resources/paymentLinks/types/ActivatePaymentLinkResponse.ts +18 -0
- package/api/resources/paymentLinks/types/ArchivePaymentLinkResponse.d.ts +16 -0
- package/api/resources/paymentLinks/types/ArchivePaymentLinkResponse.js +10 -0
- package/api/resources/paymentLinks/types/ArchivePaymentLinkResponse.ts +18 -0
- package/api/resources/paymentLinks/types/CreatePaymentLinkResponse.d.ts +84 -0
- package/api/resources/paymentLinks/types/CreatePaymentLinkResponse.js +39 -0
- package/api/resources/paymentLinks/types/CreatePaymentLinkResponse.ts +91 -0
- package/api/resources/paymentLinks/types/DeactivatePaymentLinkResponse.d.ts +16 -0
- package/api/resources/paymentLinks/types/DeactivatePaymentLinkResponse.js +10 -0
- package/api/resources/paymentLinks/types/DeactivatePaymentLinkResponse.ts +18 -0
- package/api/resources/paymentLinks/types/ExpirePaymentLinkResponse.d.ts +84 -0
- package/api/resources/paymentLinks/types/ExpirePaymentLinkResponse.js +39 -0
- package/api/resources/paymentLinks/types/ExpirePaymentLinkResponse.ts +91 -0
- package/api/resources/paymentLinks/types/GetPaymentLinkResponse.d.ts +84 -0
- package/api/resources/paymentLinks/types/GetPaymentLinkResponse.js +39 -0
- package/api/resources/paymentLinks/types/GetPaymentLinkResponse.ts +91 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksRequestMode.d.ts +7 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksRequestMode.js +7 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksRequestMode.ts +9 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksRequestStatus.d.ts +8 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksRequestStatus.js +8 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksRequestStatus.ts +10 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksResponse.d.ts +98 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksResponse.js +45 -0
- package/api/resources/paymentLinks/types/ListPaymentLinksResponse.ts +108 -0
- package/api/resources/paymentLinks/types/UpdatePaymentLinkStatusResponse.d.ts +16 -0
- package/api/resources/paymentLinks/types/UpdatePaymentLinkStatusResponse.js +10 -0
- package/api/resources/paymentLinks/types/UpdatePaymentLinkStatusResponse.ts +18 -0
- package/api/resources/paymentLinks/types/index.d.ts +11 -0
- package/api/resources/paymentLinks/types/index.js +11 -0
- package/api/resources/paymentLinks/types/index.ts +10 -0
- package/api/resources/paymentMethods/client/Client.d.ts +115 -0
- package/api/resources/paymentMethods/client/Client.js +327 -0
- package/api/resources/paymentMethods/client/Client.ts +428 -0
- package/api/resources/paymentMethods/client/index.d.ts +2 -0
- package/api/resources/paymentMethods/client/index.js +2 -0
- package/api/resources/paymentMethods/client/index.ts +1 -0
- package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.d.ts +14 -0
- package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.js +3 -0
- package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.ts +15 -0
- package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.d.ts +11 -0
- package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.js +3 -0
- package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.ts +12 -0
- package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.ts +18 -0
- package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.js +3 -0
- package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.ts +20 -0
- package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.d.ts +11 -0
- package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.js +3 -0
- package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.ts +12 -0
- package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.d.ts +15 -0
- package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.js +3 -0
- package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.ts +17 -0
- package/api/resources/paymentMethods/client/requests/index.d.ts +6 -0
- package/api/resources/paymentMethods/client/requests/index.js +2 -0
- package/api/resources/paymentMethods/client/requests/index.ts +5 -0
- package/api/resources/paymentMethods/index.d.ts +3 -0
- package/api/resources/paymentMethods/index.js +3 -0
- package/api/resources/paymentMethods/index.ts +2 -0
- package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.d.ts +8 -0
- package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.js +8 -0
- package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.ts +10 -0
- package/api/resources/paymentMethods/types/index.d.ts +2 -0
- package/api/resources/paymentMethods/types/index.js +2 -0
- package/api/resources/paymentMethods/types/index.ts +1 -0
- package/api/resources/payments/client/Client.d.ts +86 -0
- package/api/resources/payments/client/Client.js +253 -0
- package/api/resources/payments/client/Client.ts +341 -0
- package/api/resources/payments/client/index.d.ts +2 -0
- package/api/resources/payments/client/index.js +2 -0
- package/api/resources/payments/client/index.ts +1 -0
- package/api/resources/payments/client/requests/CancelPaymentRequest.d.ts +13 -0
- package/api/resources/payments/client/requests/CancelPaymentRequest.js +3 -0
- package/api/resources/payments/client/requests/CancelPaymentRequest.ts +14 -0
- package/api/resources/payments/client/requests/CapturePaymentRequest.d.ts +13 -0
- package/api/resources/payments/client/requests/CapturePaymentRequest.js +3 -0
- package/api/resources/payments/client/requests/CapturePaymentRequest.ts +14 -0
- package/api/resources/payments/client/requests/PaymentsListRequest.d.ts +26 -0
- package/api/resources/payments/client/requests/PaymentsListRequest.js +3 -0
- package/api/resources/payments/client/requests/PaymentsListRequest.ts +28 -0
- package/api/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +11 -0
- package/api/resources/payments/client/requests/PaymentsRetrieveRequest.js +3 -0
- package/api/resources/payments/client/requests/PaymentsRetrieveRequest.ts +12 -0
- package/api/resources/payments/client/requests/index.d.ts +5 -0
- package/api/resources/payments/client/requests/index.js +2 -0
- package/api/resources/payments/client/requests/index.ts +4 -0
- package/api/resources/payments/index.d.ts +3 -0
- package/api/resources/payments/index.js +3 -0
- package/api/resources/payments/index.ts +2 -0
- package/api/resources/payments/types/PaymentsListRequestPaymentChannel.d.ts +9 -0
- package/api/resources/payments/types/PaymentsListRequestPaymentChannel.js +9 -0
- package/api/resources/payments/types/PaymentsListRequestPaymentChannel.ts +11 -0
- package/api/resources/payments/types/PaymentsListRequestStatus.d.ts +13 -0
- package/api/resources/payments/types/PaymentsListRequestStatus.js +13 -0
- package/api/resources/payments/types/PaymentsListRequestStatus.ts +14 -0
- package/api/resources/payments/types/index.d.ts +3 -0
- package/api/resources/payments/types/index.js +3 -0
- package/api/resources/payments/types/index.ts +2 -0
- package/api/resources/payouts/client/Client.d.ts +72 -0
- package/api/resources/payouts/client/Client.js +199 -0
- package/api/resources/payouts/client/Client.ts +260 -0
- package/api/resources/payouts/client/index.d.ts +2 -0
- package/api/resources/payouts/client/index.js +2 -0
- package/api/resources/payouts/client/index.ts +1 -0
- package/api/resources/payouts/client/requests/PayoutsListRequest.d.ts +24 -0
- package/api/resources/payouts/client/requests/PayoutsListRequest.js +3 -0
- package/api/resources/payouts/client/requests/PayoutsListRequest.ts +26 -0
- package/api/resources/payouts/client/requests/PayoutsPaymentsListRequest.d.ts +15 -0
- package/api/resources/payouts/client/requests/PayoutsPaymentsListRequest.js +3 -0
- package/api/resources/payouts/client/requests/PayoutsPaymentsListRequest.ts +16 -0
- package/api/resources/payouts/client/requests/PayoutsRetrieveRequest.d.ts +11 -0
- package/api/resources/payouts/client/requests/PayoutsRetrieveRequest.js +3 -0
- package/api/resources/payouts/client/requests/PayoutsRetrieveRequest.ts +12 -0
- package/api/resources/payouts/client/requests/index.d.ts +4 -0
- package/api/resources/payouts/client/requests/index.js +2 -0
- package/api/resources/payouts/client/requests/index.ts +3 -0
- package/api/resources/payouts/index.d.ts +3 -0
- package/api/resources/payouts/index.js +3 -0
- package/api/resources/payouts/index.ts +2 -0
- package/api/resources/payouts/types/PayoutsListRequestStatus.d.ts +10 -0
- package/api/resources/payouts/types/PayoutsListRequestStatus.js +10 -0
- package/api/resources/payouts/types/PayoutsListRequestStatus.ts +11 -0
- package/api/resources/payouts/types/PayoutsListResponse.d.ts +14 -0
- package/api/resources/payouts/types/PayoutsListResponse.js +3 -0
- package/api/resources/payouts/types/PayoutsListResponse.ts +17 -0
- package/api/resources/payouts/types/PayoutsPaymentsListResponse.d.ts +14 -0
- package/api/resources/payouts/types/PayoutsPaymentsListResponse.js +3 -0
- package/api/resources/payouts/types/PayoutsPaymentsListResponse.ts +17 -0
- package/api/resources/payouts/types/PayoutsRetrieveResponse.d.ts +5 -0
- package/api/resources/payouts/types/PayoutsRetrieveResponse.js +3 -0
- package/api/resources/payouts/types/PayoutsRetrieveResponse.ts +7 -0
- package/api/resources/payouts/types/index.d.ts +5 -0
- package/api/resources/payouts/types/index.js +5 -0
- package/api/resources/payouts/types/index.ts +4 -0
- package/api/resources/prices/client/Client.d.ts +100 -0
- package/api/resources/prices/client/Client.js +303 -0
- package/api/resources/prices/client/Client.ts +408 -0
- package/api/resources/prices/client/index.d.ts +2 -0
- package/api/resources/prices/client/index.js +2 -0
- package/api/resources/prices/client/index.ts +1 -0
- package/api/resources/prices/client/requests/CreatePriceRequest.d.ts +62 -0
- package/api/resources/prices/client/requests/CreatePriceRequest.js +23 -0
- package/api/resources/prices/client/requests/CreatePriceRequest.ts +64 -0
- package/api/resources/prices/client/requests/PricesArchiveRequest.d.ts +11 -0
- package/api/resources/prices/client/requests/PricesArchiveRequest.js +3 -0
- package/api/resources/prices/client/requests/PricesArchiveRequest.ts +12 -0
- package/api/resources/prices/client/requests/PricesListRequest.d.ts +26 -0
- package/api/resources/prices/client/requests/PricesListRequest.js +3 -0
- package/api/resources/prices/client/requests/PricesListRequest.ts +28 -0
- package/api/resources/prices/client/requests/PricesRetrieveRequest.d.ts +11 -0
- package/api/resources/prices/client/requests/PricesRetrieveRequest.js +3 -0
- package/api/resources/prices/client/requests/PricesRetrieveRequest.ts +12 -0
- package/api/resources/prices/client/requests/UpdatePriceRequest.d.ts +19 -0
- package/api/resources/prices/client/requests/UpdatePriceRequest.js +3 -0
- package/api/resources/prices/client/requests/UpdatePriceRequest.ts +20 -0
- package/api/resources/prices/client/requests/index.d.ts +6 -0
- package/api/resources/prices/client/requests/index.js +2 -0
- package/api/resources/prices/client/requests/index.ts +5 -0
- package/api/resources/prices/index.d.ts +3 -0
- package/api/resources/prices/index.js +3 -0
- package/api/resources/prices/index.ts +2 -0
- package/api/resources/prices/types/PricesListRequestActive.d.ts +7 -0
- package/api/resources/prices/types/PricesListRequestActive.js +7 -0
- package/api/resources/prices/types/PricesListRequestActive.ts +8 -0
- package/api/resources/prices/types/PricesListRequestPricingModel.d.ts +8 -0
- package/api/resources/prices/types/PricesListRequestPricingModel.js +8 -0
- package/api/resources/prices/types/PricesListRequestPricingModel.ts +10 -0
- package/api/resources/prices/types/PricesListRequestType.d.ts +7 -0
- package/api/resources/prices/types/PricesListRequestType.js +7 -0
- package/api/resources/prices/types/PricesListRequestType.ts +8 -0
- package/api/resources/prices/types/index.d.ts +4 -0
- package/api/resources/prices/types/index.js +4 -0
- package/api/resources/prices/types/index.ts +3 -0
- package/api/resources/products/client/Client.d.ts +130 -0
- package/api/resources/products/client/Client.js +379 -0
- package/api/resources/products/client/Client.ts +496 -0
- package/api/resources/products/client/index.d.ts +2 -0
- package/api/resources/products/client/index.js +2 -0
- package/api/resources/products/client/index.ts +1 -0
- package/api/resources/products/client/requests/CreateProductRequest.d.ts +78 -0
- package/api/resources/products/client/requests/CreateProductRequest.js +38 -0
- package/api/resources/products/client/requests/CreateProductRequest.ts +80 -0
- package/api/resources/products/client/requests/ProductsExternalBatchRequest.d.ts +65 -0
- package/api/resources/products/client/requests/ProductsExternalBatchRequest.js +23 -0
- package/api/resources/products/client/requests/ProductsExternalBatchRequest.ts +69 -0
- package/api/resources/products/client/requests/ProductsExternalUpsertRequest.d.ts +56 -0
- package/api/resources/products/client/requests/ProductsExternalUpsertRequest.js +17 -0
- package/api/resources/products/client/requests/ProductsExternalUpsertRequest.ts +58 -0
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +13 -0
- package/api/resources/products/client/requests/ProductsListRequest.js +3 -0
- package/api/resources/products/client/requests/ProductsListRequest.ts +14 -0
- package/api/resources/products/client/requests/ProductsRetrieveRequest.d.ts +10 -0
- package/api/resources/products/client/requests/ProductsRetrieveRequest.js +3 -0
- package/api/resources/products/client/requests/ProductsRetrieveRequest.ts +11 -0
- package/api/resources/products/client/requests/UpdateProductRequest.d.ts +58 -0
- package/api/resources/products/client/requests/UpdateProductRequest.js +28 -0
- package/api/resources/products/client/requests/UpdateProductRequest.ts +60 -0
- package/api/resources/products/client/requests/index.d.ts +7 -0
- package/api/resources/products/client/requests/index.js +5 -0
- package/api/resources/products/client/requests/index.ts +6 -0
- package/api/resources/products/index.d.ts +3 -0
- package/api/resources/products/index.js +3 -0
- package/api/resources/products/index.ts +2 -0
- package/api/resources/products/types/ProductsExternalBatchResponse.d.ts +20 -0
- package/api/resources/products/types/ProductsExternalBatchResponse.js +3 -0
- package/api/resources/products/types/ProductsExternalBatchResponse.ts +23 -0
- package/api/resources/products/types/ProductsExternalUpsertResponse.d.ts +32 -0
- package/api/resources/products/types/ProductsExternalUpsertResponse.js +12 -0
- package/api/resources/products/types/ProductsExternalUpsertResponse.ts +35 -0
- package/api/resources/products/types/index.d.ts +3 -0
- package/api/resources/products/types/index.js +3 -0
- package/api/resources/products/types/index.ts +2 -0
- package/api/resources/refunds/client/Client.d.ts +75 -0
- package/api/resources/refunds/client/Client.js +202 -0
- package/api/resources/refunds/client/Client.ts +272 -0
- package/api/resources/refunds/client/index.d.ts +2 -0
- package/api/resources/refunds/client/index.js +2 -0
- package/api/resources/refunds/client/index.ts +1 -0
- package/api/resources/refunds/client/requests/CreateRefundInput.d.ts +30 -0
- package/api/resources/refunds/client/requests/CreateRefundInput.js +15 -0
- package/api/resources/refunds/client/requests/CreateRefundInput.ts +32 -0
- package/api/resources/refunds/client/requests/RefundsListRequest.d.ts +28 -0
- package/api/resources/refunds/client/requests/RefundsListRequest.js +3 -0
- package/api/resources/refunds/client/requests/RefundsListRequest.ts +30 -0
- package/api/resources/refunds/client/requests/RefundsRetrieveRequest.d.ts +11 -0
- package/api/resources/refunds/client/requests/RefundsRetrieveRequest.js +3 -0
- package/api/resources/refunds/client/requests/RefundsRetrieveRequest.ts +12 -0
- package/api/resources/refunds/client/requests/index.d.ts +4 -0
- package/api/resources/refunds/client/requests/index.js +2 -0
- package/api/resources/refunds/client/requests/index.ts +3 -0
- package/api/resources/refunds/index.d.ts +3 -0
- package/api/resources/refunds/index.js +3 -0
- package/api/resources/refunds/index.ts +2 -0
- package/api/resources/refunds/types/RefundsListRequestReason.d.ts +12 -0
- package/api/resources/refunds/types/RefundsListRequestReason.js +12 -0
- package/api/resources/refunds/types/RefundsListRequestReason.ts +13 -0
- package/api/resources/refunds/types/RefundsListRequestStatus.d.ts +10 -0
- package/api/resources/refunds/types/RefundsListRequestStatus.js +10 -0
- package/api/resources/refunds/types/RefundsListRequestStatus.ts +11 -0
- package/api/resources/refunds/types/index.d.ts +3 -0
- package/api/resources/refunds/types/index.js +3 -0
- package/api/resources/refunds/types/index.ts +2 -0
- package/api/resources/setupIntents/client/Client.d.ts +144 -0
- package/api/resources/setupIntents/client/Client.js +400 -0
- package/api/resources/setupIntents/client/Client.ts +518 -0
- package/api/resources/setupIntents/client/index.d.ts +2 -0
- package/api/resources/setupIntents/client/index.js +2 -0
- package/api/resources/setupIntents/client/index.ts +1 -0
- package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.d.ts +22 -0
- package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.js +11 -0
- package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.ts +24 -0
- package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.d.ts +15 -0
- package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.js +3 -0
- package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.ts +16 -0
- package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.d.ts +25 -0
- package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.js +10 -0
- package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.ts +27 -0
- package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.d.ts +18 -0
- package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.js +3 -0
- package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.ts +20 -0
- package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.d.ts +11 -0
- package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.js +3 -0
- package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.ts +12 -0
- package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.d.ts +19 -0
- package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.js +3 -0
- package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.ts +20 -0
- package/api/resources/setupIntents/client/requests/index.d.ts +7 -0
- package/api/resources/setupIntents/client/requests/index.js +3 -0
- package/api/resources/setupIntents/client/requests/index.ts +6 -0
- package/api/resources/setupIntents/index.d.ts +3 -0
- package/api/resources/setupIntents/index.js +3 -0
- package/api/resources/setupIntents/index.ts +2 -0
- package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.d.ts +11 -0
- package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.js +11 -0
- package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.ts +13 -0
- package/api/resources/setupIntents/types/index.d.ts +2 -0
- package/api/resources/setupIntents/types/index.js +2 -0
- package/api/resources/setupIntents/types/index.ts +1 -0
- package/api/resources/subscriptionSchedules/client/Client.d.ts +122 -0
- package/api/resources/subscriptionSchedules/client/Client.js +372 -0
- package/api/resources/subscriptionSchedules/client/Client.ts +503 -0
- package/api/resources/subscriptionSchedules/client/index.d.ts +2 -0
- package/api/resources/subscriptionSchedules/client/index.js +2 -0
- package/api/resources/subscriptionSchedules/client/index.ts +1 -0
- package/api/resources/subscriptionSchedules/client/requests/CancelSubscriptionScheduleRequest.d.ts +15 -0
- package/api/resources/subscriptionSchedules/client/requests/CancelSubscriptionScheduleRequest.js +3 -0
- package/api/resources/subscriptionSchedules/client/requests/CancelSubscriptionScheduleRequest.ts +16 -0
- package/api/resources/subscriptionSchedules/client/requests/CreateSubscriptionScheduleRequest.d.ts +39 -0
- package/api/resources/subscriptionSchedules/client/requests/CreateSubscriptionScheduleRequest.js +10 -0
- package/api/resources/subscriptionSchedules/client/requests/CreateSubscriptionScheduleRequest.ts +42 -0
- package/api/resources/subscriptionSchedules/client/requests/ReleaseSubscriptionScheduleRequest.d.ts +13 -0
- package/api/resources/subscriptionSchedules/client/requests/ReleaseSubscriptionScheduleRequest.js +3 -0
- package/api/resources/subscriptionSchedules/client/requests/ReleaseSubscriptionScheduleRequest.ts +14 -0
- package/api/resources/subscriptionSchedules/client/requests/SubscriptionSchedulesListRequest.d.ts +24 -0
- package/api/resources/subscriptionSchedules/client/requests/SubscriptionSchedulesListRequest.js +3 -0
- package/api/resources/subscriptionSchedules/client/requests/SubscriptionSchedulesListRequest.ts +26 -0
- package/api/resources/subscriptionSchedules/client/requests/SubscriptionSchedulesRetrieveRequest.d.ts +11 -0
- package/api/resources/subscriptionSchedules/client/requests/SubscriptionSchedulesRetrieveRequest.js +3 -0
- package/api/resources/subscriptionSchedules/client/requests/SubscriptionSchedulesRetrieveRequest.ts +12 -0
- package/api/resources/subscriptionSchedules/client/requests/UpdateSubscriptionScheduleRequest.d.ts +35 -0
- package/api/resources/subscriptionSchedules/client/requests/UpdateSubscriptionScheduleRequest.js +16 -0
- package/api/resources/subscriptionSchedules/client/requests/UpdateSubscriptionScheduleRequest.ts +38 -0
- package/api/resources/subscriptionSchedules/client/requests/index.d.ts +7 -0
- package/api/resources/subscriptionSchedules/client/requests/index.js +3 -0
- package/api/resources/subscriptionSchedules/client/requests/index.ts +6 -0
- package/api/resources/subscriptionSchedules/index.d.ts +3 -0
- package/api/resources/subscriptionSchedules/index.js +3 -0
- package/api/resources/subscriptionSchedules/index.ts +2 -0
- package/api/resources/subscriptionSchedules/types/SubscriptionSchedulesListRequestStatus.d.ts +10 -0
- package/api/resources/subscriptionSchedules/types/SubscriptionSchedulesListRequestStatus.js +10 -0
- package/api/resources/subscriptionSchedules/types/SubscriptionSchedulesListRequestStatus.ts +12 -0
- package/api/resources/subscriptionSchedules/types/index.d.ts +2 -0
- package/api/resources/subscriptionSchedules/types/index.js +2 -0
- package/api/resources/subscriptionSchedules/types/index.ts +1 -0
- package/api/resources/subscriptions/client/Client.d.ts +309 -0
- package/api/resources/subscriptions/client/Client.js +971 -0
- package/api/resources/subscriptions/client/Client.ts +1293 -0
- package/api/resources/subscriptions/client/index.d.ts +2 -0
- package/api/resources/subscriptions/client/index.js +2 -0
- package/api/resources/subscriptions/client/index.ts +1 -0
- package/api/resources/subscriptions/client/requests/CancelSubscriptionInput.d.ts +24 -0
- package/api/resources/subscriptions/client/requests/CancelSubscriptionInput.js +10 -0
- package/api/resources/subscriptions/client/requests/CancelSubscriptionInput.ts +26 -0
- package/api/resources/subscriptions/client/requests/CreateSubscriptionItemInput.d.ts +38 -0
- package/api/resources/subscriptions/client/requests/CreateSubscriptionItemInput.js +11 -0
- package/api/resources/subscriptions/client/requests/CreateSubscriptionItemInput.ts +40 -0
- package/api/resources/subscriptions/client/requests/PauseSubscriptionInput.d.ts +24 -0
- package/api/resources/subscriptions/client/requests/PauseSubscriptionInput.js +11 -0
- package/api/resources/subscriptions/client/requests/PauseSubscriptionInput.ts +26 -0
- package/api/resources/subscriptions/client/requests/SubscriptionItemsDeleteRequest.d.ts +14 -0
- package/api/resources/subscriptions/client/requests/SubscriptionItemsDeleteRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionItemsDeleteRequest.ts +15 -0
- package/api/resources/subscriptions/client/requests/SubscriptionItemsListRequest.d.ts +15 -0
- package/api/resources/subscriptions/client/requests/SubscriptionItemsListRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionItemsListRequest.ts +16 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsCancelRequest.d.ts +11 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsCancelRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsCancelRequest.ts +12 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsChangePlanRequest.d.ts +24 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsChangePlanRequest.js +10 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsChangePlanRequest.ts +26 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsChangeQuantityRequest.d.ts +24 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsChangeQuantityRequest.js +10 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsChangeQuantityRequest.ts +26 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsCreateRequest.d.ts +42 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsCreateRequest.js +15 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsCreateRequest.ts +44 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsListRequest.d.ts +16 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsListRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsListRequest.ts +18 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsPreviewRenewalRequest.d.ts +12 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsPreviewRenewalRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsPreviewRenewalRequest.ts +13 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsReactivateRequest.d.ts +11 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsReactivateRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsReactivateRequest.ts +12 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsResumeRequest.d.ts +11 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsResumeRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsResumeRequest.ts +12 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsRetrieveRequest.d.ts +11 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsRetrieveRequest.js +3 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsRetrieveRequest.ts +12 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsUpdateRequest.d.ts +30 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsUpdateRequest.js +13 -0
- package/api/resources/subscriptions/client/requests/SubscriptionsUpdateRequest.ts +32 -0
- package/api/resources/subscriptions/client/requests/UpdateSubscriptionItemInput.d.ts +33 -0
- package/api/resources/subscriptions/client/requests/UpdateSubscriptionItemInput.js +11 -0
- package/api/resources/subscriptions/client/requests/UpdateSubscriptionItemInput.ts +35 -0
- package/api/resources/subscriptions/client/requests/index.d.ts +17 -0
- package/api/resources/subscriptions/client/requests/index.js +9 -0
- package/api/resources/subscriptions/client/requests/index.ts +16 -0
- package/api/resources/subscriptions/index.d.ts +3 -0
- package/api/resources/subscriptions/index.js +3 -0
- package/api/resources/subscriptions/index.ts +2 -0
- package/api/resources/subscriptions/types/SubscriptionsListRequestStatus.d.ts +12 -0
- package/api/resources/subscriptions/types/SubscriptionsListRequestStatus.js +12 -0
- package/api/resources/subscriptions/types/SubscriptionsListRequestStatus.ts +14 -0
- package/api/resources/subscriptions/types/index.d.ts +2 -0
- package/api/resources/subscriptions/types/index.js +2 -0
- package/api/resources/subscriptions/types/index.ts +1 -0
- package/api/resources/syncState/client/Client.d.ts +52 -0
- package/api/resources/syncState/client/Client.js +129 -0
- package/api/resources/syncState/client/Client.ts +183 -0
- package/api/resources/syncState/client/index.d.ts +2 -0
- package/api/resources/syncState/client/index.js +2 -0
- package/api/resources/syncState/client/index.ts +1 -0
- package/api/resources/syncState/client/requests/SyncStateListRequest.d.ts +14 -0
- package/api/resources/syncState/client/requests/SyncStateListRequest.js +3 -0
- package/api/resources/syncState/client/requests/SyncStateListRequest.ts +15 -0
- package/api/resources/syncState/client/requests/SyncStateUpdateRequest.d.ts +31 -0
- package/api/resources/syncState/client/requests/SyncStateUpdateRequest.js +11 -0
- package/api/resources/syncState/client/requests/SyncStateUpdateRequest.ts +33 -0
- package/api/resources/syncState/client/requests/index.d.ts +3 -0
- package/api/resources/syncState/client/requests/index.js +2 -0
- package/api/resources/syncState/client/requests/index.ts +2 -0
- package/api/resources/syncState/index.d.ts +3 -0
- package/api/resources/syncState/index.js +3 -0
- package/api/resources/syncState/index.ts +2 -0
- package/api/resources/syncState/types/SyncStateListResponse.d.ts +31 -0
- package/api/resources/syncState/types/SyncStateListResponse.js +17 -0
- package/api/resources/syncState/types/SyncStateListResponse.ts +35 -0
- package/api/resources/syncState/types/SyncStateUpdateResponse.d.ts +29 -0
- package/api/resources/syncState/types/SyncStateUpdateResponse.js +14 -0
- package/api/resources/syncState/types/SyncStateUpdateResponse.ts +32 -0
- package/api/resources/syncState/types/index.d.ts +3 -0
- package/api/resources/syncState/types/index.js +3 -0
- package/api/resources/syncState/types/index.ts +2 -0
- package/api/resources/taxRates/client/Client.d.ts +93 -0
- package/api/resources/taxRates/client/Client.js +293 -0
- package/api/resources/taxRates/client/Client.ts +397 -0
- package/api/resources/taxRates/client/index.d.ts +2 -0
- package/api/resources/taxRates/client/index.js +2 -0
- package/api/resources/taxRates/client/index.ts +1 -0
- package/api/resources/taxRates/client/requests/CreateTaxRateRequest.d.ts +38 -0
- package/api/resources/taxRates/client/requests/CreateTaxRateRequest.js +12 -0
- package/api/resources/taxRates/client/requests/CreateTaxRateRequest.ts +40 -0
- package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.d.ts +11 -0
- package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.js +3 -0
- package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.ts +12 -0
- package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.d.ts +11 -0
- package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.js +3 -0
- package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.ts +12 -0
- package/api/resources/taxRates/client/requests/GetTaxRatesRequest.d.ts +24 -0
- package/api/resources/taxRates/client/requests/GetTaxRatesRequest.js +3 -0
- package/api/resources/taxRates/client/requests/GetTaxRatesRequest.ts +26 -0
- package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.d.ts +25 -0
- package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.js +3 -0
- package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.ts +26 -0
- package/api/resources/taxRates/client/requests/index.d.ts +6 -0
- package/api/resources/taxRates/client/requests/index.js +2 -0
- package/api/resources/taxRates/client/requests/index.ts +5 -0
- package/api/resources/taxRates/index.d.ts +3 -0
- package/api/resources/taxRates/index.js +3 -0
- package/api/resources/taxRates/index.ts +2 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestActive.d.ts +7 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestActive.js +7 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestActive.ts +8 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.d.ts +7 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.js +7 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.ts +9 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.d.ts +9 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.js +9 -0
- package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.ts +10 -0
- package/api/resources/taxRates/types/index.d.ts +4 -0
- package/api/resources/taxRates/types/index.js +4 -0
- package/api/resources/taxRates/types/index.ts +3 -0
- package/api/resources/terminalDevices/client/Client.d.ts +50 -0
- package/api/resources/terminalDevices/client/Client.js +124 -0
- package/api/resources/terminalDevices/client/Client.ts +168 -0
- package/api/resources/terminalDevices/client/index.d.ts +2 -0
- package/api/resources/terminalDevices/client/index.js +2 -0
- package/api/resources/terminalDevices/client/index.ts +1 -0
- package/api/resources/terminalDevices/client/requests/ListTerminalDevicesRequest.d.ts +12 -0
- package/api/resources/terminalDevices/client/requests/ListTerminalDevicesRequest.js +3 -0
- package/api/resources/terminalDevices/client/requests/ListTerminalDevicesRequest.ts +14 -0
- package/api/resources/terminalDevices/client/requests/RetrieveTerminalDevicesRequest.d.ts +11 -0
- package/api/resources/terminalDevices/client/requests/RetrieveTerminalDevicesRequest.js +3 -0
- package/api/resources/terminalDevices/client/requests/RetrieveTerminalDevicesRequest.ts +12 -0
- package/api/resources/terminalDevices/client/requests/index.d.ts +3 -0
- package/api/resources/terminalDevices/client/requests/index.js +2 -0
- package/api/resources/terminalDevices/client/requests/index.ts +2 -0
- package/api/resources/terminalDevices/index.d.ts +3 -0
- package/api/resources/terminalDevices/index.js +3 -0
- package/api/resources/terminalDevices/index.ts +2 -0
- package/api/resources/terminalDevices/types/ListTerminalDevicesRequestStatus.d.ts +8 -0
- package/api/resources/terminalDevices/types/ListTerminalDevicesRequestStatus.js +8 -0
- package/api/resources/terminalDevices/types/ListTerminalDevicesRequestStatus.ts +10 -0
- package/api/resources/terminalDevices/types/index.d.ts +2 -0
- package/api/resources/terminalDevices/types/index.js +2 -0
- package/api/resources/terminalDevices/types/index.ts +1 -0
- package/api/resources/terminalPayments/client/Client.d.ts +134 -0
- package/api/resources/terminalPayments/client/Client.js +374 -0
- package/api/resources/terminalPayments/client/Client.ts +503 -0
- package/api/resources/terminalPayments/client/index.d.ts +2 -0
- package/api/resources/terminalPayments/client/index.js +2 -0
- package/api/resources/terminalPayments/client/index.ts +1 -0
- package/api/resources/terminalPayments/client/requests/CancelTerminalPaymentsRequest.d.ts +11 -0
- package/api/resources/terminalPayments/client/requests/CancelTerminalPaymentsRequest.js +3 -0
- package/api/resources/terminalPayments/client/requests/CancelTerminalPaymentsRequest.ts +12 -0
- package/api/resources/terminalPayments/client/requests/CreateTerminalPaymentRequest.d.ts +21 -0
- package/api/resources/terminalPayments/client/requests/CreateTerminalPaymentRequest.js +3 -0
- package/api/resources/terminalPayments/client/requests/CreateTerminalPaymentRequest.ts +22 -0
- package/api/resources/terminalPayments/client/requests/ListTerminalPaymentsRequest.d.ts +20 -0
- package/api/resources/terminalPayments/client/requests/ListTerminalPaymentsRequest.js +3 -0
- package/api/resources/terminalPayments/client/requests/ListTerminalPaymentsRequest.ts +22 -0
- package/api/resources/terminalPayments/client/requests/RefundTerminalPaymentRequest.d.ts +15 -0
- package/api/resources/terminalPayments/client/requests/RefundTerminalPaymentRequest.js +3 -0
- package/api/resources/terminalPayments/client/requests/RefundTerminalPaymentRequest.ts +16 -0
- package/api/resources/terminalPayments/client/requests/RetrieveTerminalPaymentsRequest.d.ts +11 -0
- package/api/resources/terminalPayments/client/requests/RetrieveTerminalPaymentsRequest.js +3 -0
- package/api/resources/terminalPayments/client/requests/RetrieveTerminalPaymentsRequest.ts +12 -0
- package/api/resources/terminalPayments/client/requests/VoidTerminalPaymentRequest.d.ts +13 -0
- package/api/resources/terminalPayments/client/requests/VoidTerminalPaymentRequest.js +3 -0
- package/api/resources/terminalPayments/client/requests/VoidTerminalPaymentRequest.ts +14 -0
- package/api/resources/terminalPayments/client/requests/index.d.ts +7 -0
- package/api/resources/terminalPayments/client/requests/index.js +2 -0
- package/api/resources/terminalPayments/client/requests/index.ts +6 -0
- package/api/resources/terminalPayments/index.d.ts +3 -0
- package/api/resources/terminalPayments/index.js +3 -0
- package/api/resources/terminalPayments/index.ts +2 -0
- package/api/resources/terminalPayments/types/ListTerminalPaymentsRequestStatus.d.ts +12 -0
- package/api/resources/terminalPayments/types/ListTerminalPaymentsRequestStatus.js +12 -0
- package/api/resources/terminalPayments/types/ListTerminalPaymentsRequestStatus.ts +14 -0
- package/api/resources/terminalPayments/types/ListTerminalPaymentsRequestType.d.ts +8 -0
- package/api/resources/terminalPayments/types/ListTerminalPaymentsRequestType.js +8 -0
- package/api/resources/terminalPayments/types/ListTerminalPaymentsRequestType.ts +10 -0
- package/api/resources/terminalPayments/types/index.d.ts +3 -0
- package/api/resources/terminalPayments/types/index.js +3 -0
- package/api/resources/terminalPayments/types/index.ts +2 -0
- package/api/resources/userInvitations/client/Client.d.ts +96 -0
- package/api/resources/userInvitations/client/Client.js +299 -0
- package/api/resources/userInvitations/client/Client.ts +397 -0
- package/api/resources/userInvitations/client/index.d.ts +2 -0
- package/api/resources/userInvitations/client/index.js +2 -0
- package/api/resources/userInvitations/client/index.ts +1 -0
- package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.d.ts +10 -0
- package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.js +3 -0
- package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.ts +11 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.d.ts +13 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.js +3 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.ts +14 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.d.ts +10 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.js +3 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.ts +11 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.d.ts +21 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.js +10 -0
- package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.ts +23 -0
- package/api/resources/userInvitations/client/requests/index.d.ts +5 -0
- package/api/resources/userInvitations/client/requests/index.js +2 -0
- package/api/resources/userInvitations/client/requests/index.ts +4 -0
- package/api/resources/userInvitations/index.d.ts +3 -0
- package/api/resources/userInvitations/index.js +3 -0
- package/api/resources/userInvitations/index.ts +2 -0
- package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.d.ts +4 -0
- package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.js +3 -0
- package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.ts +5 -0
- package/api/resources/userInvitations/types/GetUserInvitationsResponse.d.ts +26 -0
- package/api/resources/userInvitations/types/GetUserInvitationsResponse.js +16 -0
- package/api/resources/userInvitations/types/GetUserInvitationsResponse.ts +30 -0
- package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.d.ts +6 -0
- package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.js +3 -0
- package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.ts +7 -0
- package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.d.ts +23 -0
- package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.js +13 -0
- package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.ts +26 -0
- package/api/resources/userInvitations/types/PostUserInvitationsResponse.d.ts +23 -0
- package/api/resources/userInvitations/types/PostUserInvitationsResponse.js +13 -0
- package/api/resources/userInvitations/types/PostUserInvitationsResponse.ts +26 -0
- package/api/resources/userInvitations/types/index.d.ts +6 -0
- package/api/resources/userInvitations/types/index.js +6 -0
- package/api/resources/userInvitations/types/index.ts +5 -0
- package/api/resources/voids/client/Client.d.ts +73 -0
- package/api/resources/voids/client/Client.js +199 -0
- package/api/resources/voids/client/Client.ts +268 -0
- package/api/resources/voids/client/index.d.ts +2 -0
- package/api/resources/voids/client/index.js +2 -0
- package/api/resources/voids/client/index.ts +1 -0
- package/api/resources/voids/client/requests/CreateVoidInput.d.ts +26 -0
- package/api/resources/voids/client/requests/CreateVoidInput.js +13 -0
- package/api/resources/voids/client/requests/CreateVoidInput.ts +28 -0
- package/api/resources/voids/client/requests/VoidsListRequest.d.ts +26 -0
- package/api/resources/voids/client/requests/VoidsListRequest.js +3 -0
- package/api/resources/voids/client/requests/VoidsListRequest.ts +28 -0
- package/api/resources/voids/client/requests/VoidsRetrieveRequest.d.ts +11 -0
- package/api/resources/voids/client/requests/VoidsRetrieveRequest.js +3 -0
- package/api/resources/voids/client/requests/VoidsRetrieveRequest.ts +12 -0
- package/api/resources/voids/client/requests/index.d.ts +4 -0
- package/api/resources/voids/client/requests/index.js +2 -0
- package/api/resources/voids/client/requests/index.ts +3 -0
- package/api/resources/voids/index.d.ts +3 -0
- package/api/resources/voids/index.js +3 -0
- package/api/resources/voids/index.ts +2 -0
- package/api/resources/voids/types/VoidsListRequestStatus.d.ts +9 -0
- package/api/resources/voids/types/VoidsListRequestStatus.js +9 -0
- package/api/resources/voids/types/VoidsListRequestStatus.ts +10 -0
- package/api/resources/voids/types/index.d.ts +2 -0
- package/api/resources/voids/types/index.js +2 -0
- package/api/resources/voids/types/index.ts +1 -0
- package/api/resources/webhookEndpoints/client/Client.d.ts +136 -0
- package/api/resources/webhookEndpoints/client/Client.js +385 -0
- package/api/resources/webhookEndpoints/client/Client.ts +502 -0
- package/api/resources/webhookEndpoints/client/index.d.ts +2 -0
- package/api/resources/webhookEndpoints/client/index.js +2 -0
- package/api/resources/webhookEndpoints/client/index.ts +1 -0
- package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.d.ts +16 -0
- package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.ts +17 -0
- package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.d.ts +19 -0
- package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.ts +20 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.d.ts +11 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.ts +12 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.d.ts +16 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.ts +18 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.d.ts +11 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.ts +12 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.d.ts +11 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.js +3 -0
- package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.ts +12 -0
- package/api/resources/webhookEndpoints/client/requests/index.d.ts +7 -0
- package/api/resources/webhookEndpoints/client/requests/index.js +2 -0
- package/api/resources/webhookEndpoints/client/requests/index.ts +6 -0
- package/api/resources/webhookEndpoints/index.d.ts +3 -0
- package/api/resources/webhookEndpoints/index.js +3 -0
- package/api/resources/webhookEndpoints/index.ts +2 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.d.ts +7 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.js +7 -0
- package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.ts +9 -0
- package/api/resources/webhookEndpoints/types/index.d.ts +2 -0
- package/api/resources/webhookEndpoints/types/index.js +2 -0
- package/api/resources/webhookEndpoints/types/index.ts +1 -0
- package/api/types/AuthenticationError.d.ts +24 -0
- package/api/types/AuthenticationError.js +16 -0
- package/api/types/AuthenticationError.ts +27 -0
- package/api/types/AvsCodeInterpretation.d.ts +38 -0
- package/api/types/AvsCodeInterpretation.js +21 -0
- package/api/types/AvsCodeInterpretation.ts +40 -0
- package/api/types/BadRequestErrorBody.d.ts +5 -0
- package/api/types/BadRequestErrorBody.js +3 -0
- package/api/types/BadRequestErrorBody.ts +6 -0
- package/api/types/BankAccountDetails.d.ts +22 -0
- package/api/types/BankAccountDetails.js +10 -0
- package/api/types/BankAccountDetails.ts +24 -0
- package/api/types/BillingAnchorRulesResponse.d.ts +15 -0
- package/api/types/BillingAnchorRulesResponse.js +3 -0
- package/api/types/BillingAnchorRulesResponse.ts +18 -0
- package/api/types/BillingDetails.d.ts +27 -0
- package/api/types/BillingDetails.js +3 -0
- package/api/types/BillingDetails.ts +29 -0
- package/api/types/BillingIntervalsResponse.d.ts +14 -0
- package/api/types/BillingIntervalsResponse.js +3 -0
- package/api/types/BillingIntervalsResponse.ts +17 -0
- package/api/types/BillingPreviewErrorResponse.d.ts +5 -0
- package/api/types/BillingPreviewErrorResponse.js +3 -0
- package/api/types/BillingPreviewErrorResponse.ts +6 -0
- package/api/types/BillingPreviewResponse.d.ts +31 -0
- package/api/types/BillingPreviewResponse.js +3 -0
- package/api/types/BillingPreviewResponse.ts +35 -0
- package/api/types/CardDetails.d.ts +38 -0
- package/api/types/CardDetails.js +23 -0
- package/api/types/CardDetails.ts +40 -0
- package/api/types/ChargeCaptureResponse.d.ts +40 -0
- package/api/types/ChargeCaptureResponse.js +17 -0
- package/api/types/ChargeCaptureResponse.ts +43 -0
- package/api/types/ChargeCreateResponse.d.ts +40 -0
- package/api/types/ChargeCreateResponse.js +17 -0
- package/api/types/ChargeCreateResponse.ts +43 -0
- package/api/types/ChargeDuplicateErrorResponse.d.ts +5 -0
- package/api/types/ChargeDuplicateErrorResponse.js +3 -0
- package/api/types/ChargeDuplicateErrorResponse.ts +6 -0
- package/api/types/ChargeErrorResponse.d.ts +5 -0
- package/api/types/ChargeErrorResponse.js +3 -0
- package/api/types/ChargeErrorResponse.ts +6 -0
- package/api/types/ChargeListResponse.d.ts +50 -0
- package/api/types/ChargeListResponse.js +20 -0
- package/api/types/ChargeListResponse.ts +55 -0
- package/api/types/ChargeRefundResponse.d.ts +40 -0
- package/api/types/ChargeRefundResponse.js +17 -0
- package/api/types/ChargeRefundResponse.ts +43 -0
- package/api/types/ChargeRetrieveResponse.d.ts +40 -0
- package/api/types/ChargeRetrieveResponse.js +17 -0
- package/api/types/ChargeRetrieveResponse.ts +43 -0
- package/api/types/CheckoutSessionCreateResponse.d.ts +16 -0
- package/api/types/CheckoutSessionCreateResponse.js +3 -0
- package/api/types/CheckoutSessionCreateResponse.ts +18 -0
- package/api/types/CheckoutSessionErrorResponse.d.ts +4 -0
- package/api/types/CheckoutSessionErrorResponse.js +3 -0
- package/api/types/CheckoutSessionErrorResponse.ts +5 -0
- package/api/types/ConflictErrorBody.d.ts +5 -0
- package/api/types/ConflictErrorBody.js +3 -0
- package/api/types/ConflictErrorBody.ts +6 -0
- package/api/types/CreditEligibilityResponse.d.ts +14 -0
- package/api/types/CreditEligibilityResponse.js +3 -0
- package/api/types/CreditEligibilityResponse.ts +16 -0
- package/api/types/CreditNote.d.ts +18 -0
- package/api/types/CreditNote.js +3 -0
- package/api/types/CreditNote.ts +19 -0
- package/api/types/CreditNoteCreateResponse.d.ts +5 -0
- package/api/types/CreditNoteCreateResponse.js +3 -0
- package/api/types/CreditNoteCreateResponse.ts +7 -0
- package/api/types/CreditNoteListResponse.d.ts +6 -0
- package/api/types/CreditNoteListResponse.js +3 -0
- package/api/types/CreditNoteListResponse.ts +8 -0
- package/api/types/CreditNoteResponse.d.ts +6 -0
- package/api/types/CreditNoteResponse.js +3 -0
- package/api/types/CreditNoteResponse.ts +8 -0
- package/api/types/CreditNoteRetrieveResponse.d.ts +5 -0
- package/api/types/CreditNoteRetrieveResponse.js +3 -0
- package/api/types/CreditNoteRetrieveResponse.ts +7 -0
- package/api/types/CreditNoteVoidResponse.d.ts +5 -0
- package/api/types/CreditNoteVoidResponse.js +3 -0
- package/api/types/CreditNoteVoidResponse.ts +7 -0
- package/api/types/CustomerCreateResponse.d.ts +20 -0
- package/api/types/CustomerCreateResponse.js +3 -0
- package/api/types/CustomerCreateResponse.ts +22 -0
- package/api/types/CustomerInvoice.d.ts +12 -0
- package/api/types/CustomerInvoice.js +3 -0
- package/api/types/CustomerInvoice.ts +13 -0
- package/api/types/CustomerListResponse.d.ts +29 -0
- package/api/types/CustomerListResponse.js +3 -0
- package/api/types/CustomerListResponse.ts +33 -0
- package/api/types/CustomerOrder.d.ts +13 -0
- package/api/types/CustomerOrder.js +3 -0
- package/api/types/CustomerOrder.ts +14 -0
- package/api/types/CustomerPayment.d.ts +12 -0
- package/api/types/CustomerPayment.js +3 -0
- package/api/types/CustomerPayment.ts +13 -0
- package/api/types/CustomerPaymentMethodsListResponse.d.ts +5 -0
- package/api/types/CustomerPaymentMethodsListResponse.js +3 -0
- package/api/types/CustomerPaymentMethodsListResponse.ts +6 -0
- package/api/types/CustomerPortalSessionCreateResponse.d.ts +14 -0
- package/api/types/CustomerPortalSessionCreateResponse.js +3 -0
- package/api/types/CustomerPortalSessionCreateResponse.ts +16 -0
- package/api/types/CustomerRetrieveResponse.d.ts +20 -0
- package/api/types/CustomerRetrieveResponse.js +3 -0
- package/api/types/CustomerRetrieveResponse.ts +22 -0
- package/api/types/CustomerSubscription.d.ts +14 -0
- package/api/types/CustomerSubscription.js +3 -0
- package/api/types/CustomerSubscription.ts +15 -0
- package/api/types/CustomerUpdateResponse.d.ts +20 -0
- package/api/types/CustomerUpdateResponse.js +3 -0
- package/api/types/CustomerUpdateResponse.ts +22 -0
- package/api/types/CvvCodeInterpretation.d.ts +34 -0
- package/api/types/CvvCodeInterpretation.js +21 -0
- package/api/types/CvvCodeInterpretation.ts +36 -0
- package/api/types/DeclineAnalyticsResponse.d.ts +33 -0
- package/api/types/DeclineAnalyticsResponse.js +3 -0
- package/api/types/DeclineAnalyticsResponse.ts +38 -0
- package/api/types/Discount.d.ts +22 -0
- package/api/types/Discount.js +3 -0
- package/api/types/Discount.ts +23 -0
- package/api/types/DiscountCreateResponse.d.ts +5 -0
- package/api/types/DiscountCreateResponse.js +3 -0
- package/api/types/DiscountCreateResponse.ts +7 -0
- package/api/types/DiscountDeleteResponse.d.ts +5 -0
- package/api/types/DiscountDeleteResponse.js +3 -0
- package/api/types/DiscountDeleteResponse.ts +7 -0
- package/api/types/DiscountListResponse.d.ts +14 -0
- package/api/types/DiscountListResponse.js +3 -0
- package/api/types/DiscountListResponse.ts +17 -0
- package/api/types/DiscountRetrieveResponse.d.ts +5 -0
- package/api/types/DiscountRetrieveResponse.js +3 -0
- package/api/types/DiscountRetrieveResponse.ts +7 -0
- package/api/types/DiscountUpdateResponse.d.ts +5 -0
- package/api/types/DiscountUpdateResponse.js +3 -0
- package/api/types/DiscountUpdateResponse.ts +7 -0
- package/api/types/Dispute.d.ts +48 -0
- package/api/types/Dispute.js +18 -0
- package/api/types/Dispute.ts +50 -0
- package/api/types/ErrorResponse.d.ts +10 -0
- package/api/types/ErrorResponse.js +3 -0
- package/api/types/ErrorResponse.ts +12 -0
- package/api/types/Event.d.ts +37 -0
- package/api/types/Event.js +9 -0
- package/api/types/Event.ts +41 -0
- package/api/types/EventErrorResponse.d.ts +16 -0
- package/api/types/EventErrorResponse.js +3 -0
- package/api/types/EventErrorResponse.ts +18 -0
- package/api/types/EventListResponse.d.ts +15 -0
- package/api/types/EventListResponse.js +8 -0
- package/api/types/EventListResponse.ts +18 -0
- package/api/types/EventRequest.d.ts +10 -0
- package/api/types/EventRequest.js +3 -0
- package/api/types/EventRequest.ts +11 -0
- package/api/types/ExternalUpsertResponse.d.ts +8 -0
- package/api/types/ExternalUpsertResponse.js +3 -0
- package/api/types/ExternalUpsertResponse.ts +10 -0
- package/api/types/ForbiddenErrorBody.d.ts +23 -0
- package/api/types/ForbiddenErrorBody.js +15 -0
- package/api/types/ForbiddenErrorBody.ts +26 -0
- package/api/types/InternalServerErrorBody.d.ts +4 -0
- package/api/types/InternalServerErrorBody.js +3 -0
- package/api/types/InternalServerErrorBody.ts +5 -0
- package/api/types/Invoice.d.ts +72 -0
- package/api/types/Invoice.js +31 -0
- package/api/types/Invoice.ts +75 -0
- package/api/types/InvoiceCommentDetail.d.ts +10 -0
- package/api/types/InvoiceCommentDetail.js +3 -0
- package/api/types/InvoiceCommentDetail.ts +11 -0
- package/api/types/InvoiceCommentDetailResponse.d.ts +6 -0
- package/api/types/InvoiceCommentDetailResponse.js +3 -0
- package/api/types/InvoiceCommentDetailResponse.ts +8 -0
- package/api/types/InvoiceCommentListDetailResponse.d.ts +6 -0
- package/api/types/InvoiceCommentListDetailResponse.js +3 -0
- package/api/types/InvoiceCommentListDetailResponse.ts +8 -0
- package/api/types/InvoiceListResponse.d.ts +6 -0
- package/api/types/InvoiceListResponse.js +3 -0
- package/api/types/InvoiceListResponse.ts +8 -0
- package/api/types/InvoiceResponse.d.ts +6 -0
- package/api/types/InvoiceResponse.js +3 -0
- package/api/types/InvoiceResponse.ts +8 -0
- package/api/types/NotFoundErrorBody.d.ts +23 -0
- package/api/types/NotFoundErrorBody.js +14 -0
- package/api/types/NotFoundErrorBody.ts +26 -0
- package/api/types/OpenDispute.d.ts +18 -0
- package/api/types/OpenDispute.js +3 -0
- package/api/types/OpenDispute.ts +19 -0
- package/api/types/Order.d.ts +80 -0
- package/api/types/Order.js +31 -0
- package/api/types/Order.ts +83 -0
- package/api/types/OrderErrorResponse.d.ts +12 -0
- package/api/types/OrderErrorResponse.js +3 -0
- package/api/types/OrderErrorResponse.ts +14 -0
- package/api/types/OrderLineItem.d.ts +20 -0
- package/api/types/OrderLineItem.js +3 -0
- package/api/types/OrderLineItem.ts +21 -0
- package/api/types/OrderListResponse.d.ts +14 -0
- package/api/types/OrderListResponse.js +8 -0
- package/api/types/OrderListResponse.ts +17 -0
- package/api/types/Payment.d.ts +83 -0
- package/api/types/Payment.js +35 -0
- package/api/types/Payment.ts +85 -0
- package/api/types/PaymentAttempt.d.ts +171 -0
- package/api/types/PaymentAttempt.js +89 -0
- package/api/types/PaymentAttempt.ts +173 -0
- package/api/types/PaymentAttemptErrorResponse.d.ts +5 -0
- package/api/types/PaymentAttemptErrorResponse.js +3 -0
- package/api/types/PaymentAttemptErrorResponse.ts +6 -0
- package/api/types/PaymentAttemptListResponse.d.ts +14 -0
- package/api/types/PaymentAttemptListResponse.js +3 -0
- package/api/types/PaymentAttemptListResponse.ts +17 -0
- package/api/types/PaymentAttemptSingleResponse.d.ts +5 -0
- package/api/types/PaymentAttemptSingleResponse.js +3 -0
- package/api/types/PaymentAttemptSingleResponse.ts +7 -0
- package/api/types/PaymentErrorResponse.d.ts +12 -0
- package/api/types/PaymentErrorResponse.js +3 -0
- package/api/types/PaymentErrorResponse.ts +14 -0
- package/api/types/PaymentIntent.d.ts +130 -0
- package/api/types/PaymentIntent.js +40 -0
- package/api/types/PaymentIntent.ts +138 -0
- package/api/types/PaymentIntentErrorResponse.d.ts +16 -0
- package/api/types/PaymentIntentErrorResponse.js +3 -0
- package/api/types/PaymentIntentErrorResponse.ts +18 -0
- package/api/types/PaymentIntentListResponse.d.ts +15 -0
- package/api/types/PaymentIntentListResponse.js +8 -0
- package/api/types/PaymentIntentListResponse.ts +18 -0
- package/api/types/PaymentListResponse.d.ts +14 -0
- package/api/types/PaymentListResponse.js +8 -0
- package/api/types/PaymentListResponse.ts +17 -0
- package/api/types/PaymentMethod.d.ts +48 -0
- package/api/types/PaymentMethod.js +21 -0
- package/api/types/PaymentMethod.ts +51 -0
- package/api/types/PaymentMethodList.d.ts +19 -0
- package/api/types/PaymentMethodList.js +9 -0
- package/api/types/PaymentMethodList.ts +22 -0
- package/api/types/PaymentSecurityResponse.d.ts +5 -0
- package/api/types/PaymentSecurityResponse.js +3 -0
- package/api/types/PaymentSecurityResponse.ts +7 -0
- package/api/types/PaymentSecurityResult.d.ts +27 -0
- package/api/types/PaymentSecurityResult.js +18 -0
- package/api/types/PaymentSecurityResult.ts +30 -0
- package/api/types/Payout.d.ts +31 -0
- package/api/types/Payout.js +12 -0
- package/api/types/Payout.ts +33 -0
- package/api/types/PayoutPayment.d.ts +11 -0
- package/api/types/PayoutPayment.js +3 -0
- package/api/types/PayoutPayment.ts +12 -0
- package/api/types/PhaseItem.d.ts +7 -0
- package/api/types/PhaseItem.js +3 -0
- package/api/types/PhaseItem.ts +8 -0
- package/api/types/Price.d.ts +71 -0
- package/api/types/Price.js +27 -0
- package/api/types/Price.ts +73 -0
- package/api/types/PriceErrorResponse.d.ts +12 -0
- package/api/types/PriceErrorResponse.js +3 -0
- package/api/types/PriceErrorResponse.ts +14 -0
- package/api/types/PriceListResponse.d.ts +14 -0
- package/api/types/PriceListResponse.js +8 -0
- package/api/types/PriceListResponse.ts +17 -0
- package/api/types/ProductCreateResponse.d.ts +5 -0
- package/api/types/ProductCreateResponse.js +3 -0
- package/api/types/ProductCreateResponse.ts +6 -0
- package/api/types/ProductErrorResponse.d.ts +4 -0
- package/api/types/ProductErrorResponse.js +3 -0
- package/api/types/ProductErrorResponse.ts +5 -0
- package/api/types/ProductListResponse.d.ts +15 -0
- package/api/types/ProductListResponse.js +3 -0
- package/api/types/ProductListResponse.ts +17 -0
- package/api/types/ProductRetrieveResponse.d.ts +5 -0
- package/api/types/ProductRetrieveResponse.js +3 -0
- package/api/types/ProductRetrieveResponse.ts +6 -0
- package/api/types/ProductUpdateResponse.d.ts +5 -0
- package/api/types/ProductUpdateResponse.js +3 -0
- package/api/types/ProductUpdateResponse.ts +6 -0
- package/api/types/Refund.d.ts +42 -0
- package/api/types/Refund.js +21 -0
- package/api/types/Refund.ts +44 -0
- package/api/types/RefundCreateResponse.d.ts +5 -0
- package/api/types/RefundCreateResponse.js +3 -0
- package/api/types/RefundCreateResponse.ts +7 -0
- package/api/types/RefundListResponse.d.ts +14 -0
- package/api/types/RefundListResponse.js +3 -0
- package/api/types/RefundListResponse.ts +17 -0
- package/api/types/RefundRetrieveResponse.d.ts +5 -0
- package/api/types/RefundRetrieveResponse.js +3 -0
- package/api/types/RefundRetrieveResponse.ts +7 -0
- package/api/types/ResendWebhookResponse.d.ts +9 -0
- package/api/types/ResendWebhookResponse.js +3 -0
- package/api/types/ResendWebhookResponse.ts +10 -0
- package/api/types/RetryEligibilityResponse.d.ts +14 -0
- package/api/types/RetryEligibilityResponse.js +3 -0
- package/api/types/RetryEligibilityResponse.ts +17 -0
- package/api/types/SchedulePhase.d.ts +39 -0
- package/api/types/SchedulePhase.js +16 -0
- package/api/types/SchedulePhase.ts +42 -0
- package/api/types/SetupIntent.d.ts +70 -0
- package/api/types/SetupIntent.js +29 -0
- package/api/types/SetupIntent.ts +73 -0
- package/api/types/SetupIntentError.d.ts +23 -0
- package/api/types/SetupIntentError.js +3 -0
- package/api/types/SetupIntentError.ts +25 -0
- package/api/types/SetupIntentList.d.ts +21 -0
- package/api/types/SetupIntentList.js +9 -0
- package/api/types/SetupIntentList.ts +24 -0
- package/api/types/SetupIntentNextAction.d.ts +29 -0
- package/api/types/SetupIntentNextAction.js +10 -0
- package/api/types/SetupIntentNextAction.ts +32 -0
- package/api/types/StaleUpdateResponse.d.ts +14 -0
- package/api/types/StaleUpdateResponse.js +8 -0
- package/api/types/StaleUpdateResponse.ts +16 -0
- package/api/types/SubscriptionCancelResponse.d.ts +4 -0
- package/api/types/SubscriptionCancelResponse.js +3 -0
- package/api/types/SubscriptionCancelResponse.ts +5 -0
- package/api/types/SubscriptionCancelSubscriptionResponse.d.ts +63 -0
- package/api/types/SubscriptionCancelSubscriptionResponse.js +30 -0
- package/api/types/SubscriptionCancelSubscriptionResponse.ts +68 -0
- package/api/types/SubscriptionChangePlanResponse.d.ts +67 -0
- package/api/types/SubscriptionChangePlanResponse.js +30 -0
- package/api/types/SubscriptionChangePlanResponse.ts +72 -0
- package/api/types/SubscriptionChangeQuantityResponse.d.ts +67 -0
- package/api/types/SubscriptionChangeQuantityResponse.js +30 -0
- package/api/types/SubscriptionChangeQuantityResponse.ts +72 -0
- package/api/types/SubscriptionCreateResponse.d.ts +63 -0
- package/api/types/SubscriptionCreateResponse.js +30 -0
- package/api/types/SubscriptionCreateResponse.ts +68 -0
- package/api/types/SubscriptionItem.d.ts +28 -0
- package/api/types/SubscriptionItem.js +11 -0
- package/api/types/SubscriptionItem.ts +30 -0
- package/api/types/SubscriptionItemCreateResponse.d.ts +5 -0
- package/api/types/SubscriptionItemCreateResponse.js +3 -0
- package/api/types/SubscriptionItemCreateResponse.ts +7 -0
- package/api/types/SubscriptionItemDeleteResponse.d.ts +5 -0
- package/api/types/SubscriptionItemDeleteResponse.js +3 -0
- package/api/types/SubscriptionItemDeleteResponse.ts +6 -0
- package/api/types/SubscriptionItemListResponse.d.ts +14 -0
- package/api/types/SubscriptionItemListResponse.js +3 -0
- package/api/types/SubscriptionItemListResponse.ts +17 -0
- package/api/types/SubscriptionItemUpdateResponse.d.ts +5 -0
- package/api/types/SubscriptionItemUpdateResponse.js +3 -0
- package/api/types/SubscriptionItemUpdateResponse.ts +7 -0
- package/api/types/SubscriptionListResponse.d.ts +73 -0
- package/api/types/SubscriptionListResponse.js +33 -0
- package/api/types/SubscriptionListResponse.ts +80 -0
- package/api/types/SubscriptionPauseResponse.d.ts +63 -0
- package/api/types/SubscriptionPauseResponse.js +30 -0
- package/api/types/SubscriptionPauseResponse.ts +68 -0
- package/api/types/SubscriptionPreviewRenewalResponse.d.ts +29 -0
- package/api/types/SubscriptionPreviewRenewalResponse.js +3 -0
- package/api/types/SubscriptionPreviewRenewalResponse.ts +33 -0
- package/api/types/SubscriptionReactivateResponse.d.ts +63 -0
- package/api/types/SubscriptionReactivateResponse.js +30 -0
- package/api/types/SubscriptionReactivateResponse.ts +68 -0
- package/api/types/SubscriptionResumeResponse.d.ts +63 -0
- package/api/types/SubscriptionResumeResponse.js +30 -0
- package/api/types/SubscriptionResumeResponse.ts +68 -0
- package/api/types/SubscriptionRetrieveResponse.d.ts +63 -0
- package/api/types/SubscriptionRetrieveResponse.js +30 -0
- package/api/types/SubscriptionRetrieveResponse.ts +68 -0
- package/api/types/SubscriptionSchedule.d.ts +61 -0
- package/api/types/SubscriptionSchedule.js +22 -0
- package/api/types/SubscriptionSchedule.ts +66 -0
- package/api/types/SubscriptionScheduleErrorResponse.d.ts +16 -0
- package/api/types/SubscriptionScheduleErrorResponse.js +3 -0
- package/api/types/SubscriptionScheduleErrorResponse.ts +18 -0
- package/api/types/SubscriptionScheduleListResponse.d.ts +15 -0
- package/api/types/SubscriptionScheduleListResponse.js +8 -0
- package/api/types/SubscriptionScheduleListResponse.ts +18 -0
- package/api/types/SubscriptionTerms.d.ts +49 -0
- package/api/types/SubscriptionTerms.js +28 -0
- package/api/types/SubscriptionTerms.ts +51 -0
- package/api/types/SubscriptionUpdateResponse.d.ts +63 -0
- package/api/types/SubscriptionUpdateResponse.js +30 -0
- package/api/types/SubscriptionUpdateResponse.ts +68 -0
- package/api/types/SuccessResponse.d.ts +4 -0
- package/api/types/SuccessResponse.js +3 -0
- package/api/types/SuccessResponse.ts +5 -0
- package/api/types/TaxRate.d.ts +46 -0
- package/api/types/TaxRate.js +16 -0
- package/api/types/TaxRate.ts +48 -0
- package/api/types/TaxRateErrorResponse.d.ts +12 -0
- package/api/types/TaxRateErrorResponse.js +3 -0
- package/api/types/TaxRateErrorResponse.ts +14 -0
- package/api/types/TaxRateListResponse.d.ts +14 -0
- package/api/types/TaxRateListResponse.js +8 -0
- package/api/types/TaxRateListResponse.ts +17 -0
- package/api/types/TerminalDevice.d.ts +39 -0
- package/api/types/TerminalDevice.js +17 -0
- package/api/types/TerminalDevice.ts +41 -0
- package/api/types/TerminalDeviceErrorResponse.d.ts +5 -0
- package/api/types/TerminalDeviceErrorResponse.js +3 -0
- package/api/types/TerminalDeviceErrorResponse.ts +6 -0
- package/api/types/TerminalDeviceListResponse.d.ts +11 -0
- package/api/types/TerminalDeviceListResponse.js +3 -0
- package/api/types/TerminalDeviceListResponse.ts +14 -0
- package/api/types/TerminalDeviceResponse.d.ts +5 -0
- package/api/types/TerminalDeviceResponse.js +3 -0
- package/api/types/TerminalDeviceResponse.ts +7 -0
- package/api/types/TerminalPayment.d.ts +63 -0
- package/api/types/TerminalPayment.js +23 -0
- package/api/types/TerminalPayment.ts +65 -0
- package/api/types/TerminalPaymentErrorResponse.d.ts +6 -0
- package/api/types/TerminalPaymentErrorResponse.js +3 -0
- package/api/types/TerminalPaymentErrorResponse.ts +7 -0
- package/api/types/TerminalPaymentListResponse.d.ts +12 -0
- package/api/types/TerminalPaymentListResponse.js +3 -0
- package/api/types/TerminalPaymentListResponse.ts +15 -0
- package/api/types/TerminalPaymentResponse.d.ts +5 -0
- package/api/types/TerminalPaymentResponse.js +3 -0
- package/api/types/TerminalPaymentResponse.ts +7 -0
- package/api/types/TestEventResponse.d.ts +9 -0
- package/api/types/TestEventResponse.js +3 -0
- package/api/types/TestEventResponse.ts +11 -0
- package/api/types/UnauthorizedErrorBody.d.ts +5 -0
- package/api/types/UnauthorizedErrorBody.js +3 -0
- package/api/types/UnauthorizedErrorBody.ts +6 -0
- package/api/types/ValidationError.d.ts +28 -0
- package/api/types/ValidationError.js +14 -0
- package/api/types/ValidationError.ts +32 -0
- package/api/types/Void.d.ts +39 -0
- package/api/types/Void.js +18 -0
- package/api/types/Void.ts +41 -0
- package/api/types/VoidCreateResponse.d.ts +5 -0
- package/api/types/VoidCreateResponse.js +3 -0
- package/api/types/VoidCreateResponse.ts +7 -0
- package/api/types/VoidListResponse.d.ts +14 -0
- package/api/types/VoidListResponse.js +3 -0
- package/api/types/VoidListResponse.ts +17 -0
- package/api/types/VoidRetrieveResponse.d.ts +5 -0
- package/api/types/VoidRetrieveResponse.js +3 -0
- package/api/types/VoidRetrieveResponse.ts +7 -0
- package/api/types/WebhookEndpoint.d.ts +33 -0
- package/api/types/WebhookEndpoint.js +15 -0
- package/api/types/WebhookEndpoint.ts +35 -0
- package/api/types/WebhookEndpointCreateResponse.d.ts +5 -0
- package/api/types/WebhookEndpointCreateResponse.js +3 -0
- package/api/types/WebhookEndpointCreateResponse.ts +7 -0
- package/api/types/WebhookEndpointDeleteResponse.d.ts +10 -0
- package/api/types/WebhookEndpointDeleteResponse.js +3 -0
- package/api/types/WebhookEndpointDeleteResponse.ts +12 -0
- package/api/types/WebhookEndpointListResponse.d.ts +46 -0
- package/api/types/WebhookEndpointListResponse.js +21 -0
- package/api/types/WebhookEndpointListResponse.ts +51 -0
- package/api/types/WebhookEndpointRetrieveResponse.d.ts +36 -0
- package/api/types/WebhookEndpointRetrieveResponse.js +18 -0
- package/api/types/WebhookEndpointRetrieveResponse.ts +39 -0
- package/api/types/WebhookEndpointRotateSecretResponse.d.ts +5 -0
- package/api/types/WebhookEndpointRotateSecretResponse.js +3 -0
- package/api/types/WebhookEndpointRotateSecretResponse.ts +7 -0
- package/api/types/WebhookEndpointUpdateResponse.d.ts +36 -0
- package/api/types/WebhookEndpointUpdateResponse.js +18 -0
- package/api/types/WebhookEndpointUpdateResponse.ts +39 -0
- package/api/types/WebhookEvent.d.ts +24 -0
- package/api/types/WebhookEvent.js +3 -0
- package/api/types/WebhookEvent.ts +26 -0
- package/api/types/index.d.ts +152 -0
- package/api/types/index.js +152 -0
- package/api/types/index.ts +151 -0
- package/auth/HeaderAuthProvider.d.ts +21 -0
- package/auth/HeaderAuthProvider.js +33 -0
- package/auth/HeaderAuthProvider.ts +48 -0
- package/auth/index.d.ts +2 -0
- package/auth/index.js +2 -0
- package/auth/index.ts +1 -0
- package/core/auth/AuthProvider.d.ts +8 -0
- package/core/auth/AuthProvider.js +2 -0
- package/core/auth/AuthProvider.ts +6 -0
- package/core/auth/AuthRequest.d.ts +10 -0
- package/core/auth/AuthRequest.js +2 -0
- package/core/auth/AuthRequest.ts +9 -0
- package/core/auth/BasicAuth.d.ts +9 -0
- package/core/auth/BasicAuth.js +25 -0
- package/core/auth/BasicAuth.ts +32 -0
- package/core/auth/BearerToken.d.ts +8 -0
- package/core/auth/BearerToken.js +14 -0
- package/core/auth/BearerToken.ts +20 -0
- package/core/auth/NoOpAuthProvider.d.ts +6 -0
- package/core/auth/NoOpAuthProvider.js +6 -0
- package/core/auth/NoOpAuthProvider.ts +8 -0
- package/core/auth/index.d.ts +6 -0
- package/core/auth/index.js +4 -0
- package/core/auth/index.ts +5 -0
- package/core/base64.d.ts +3 -0
- package/core/base64.js +23 -0
- package/core/base64.ts +27 -0
- package/core/exports.d.ts +2 -0
- package/core/exports.js +2 -0
- package/core/exports.ts +1 -0
- package/core/fetcher/APIResponse.d.ts +21 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/APIResponse.ts +23 -0
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +15 -0
- package/core/fetcher/BinaryResponse.ts +34 -0
- package/core/fetcher/EndpointMetadata.d.ts +14 -0
- package/core/fetcher/EndpointMetadata.js +2 -0
- package/core/fetcher/EndpointMetadata.ts +13 -0
- package/core/fetcher/EndpointSupplier.d.ts +13 -0
- package/core/fetcher/EndpointSupplier.js +11 -0
- package/core/fetcher/EndpointSupplier.ts +14 -0
- package/core/fetcher/Fetcher.d.ts +49 -0
- package/core/fetcher/Fetcher.js +296 -0
- package/core/fetcher/Fetcher.ts +391 -0
- package/core/fetcher/Headers.d.ts +3 -0
- package/core/fetcher/Headers.js +83 -0
- package/core/fetcher/Headers.ts +93 -0
- package/core/fetcher/HttpResponsePromise.d.ts +59 -0
- package/core/fetcher/HttpResponsePromise.js +89 -0
- package/core/fetcher/HttpResponsePromise.ts +116 -0
- package/core/fetcher/RawResponse.d.ts +30 -0
- package/core/fetcher/RawResponse.js +41 -0
- package/core/fetcher/RawResponse.ts +61 -0
- package/core/fetcher/Supplier.d.ts +5 -0
- package/core/fetcher/Supplier.js +11 -0
- package/core/fetcher/Supplier.ts +11 -0
- package/core/fetcher/createRequestUrl.d.ts +2 -0
- package/core/fetcher/createRequestUrl.js +6 -0
- package/core/fetcher/createRequestUrl.ts +6 -0
- package/core/fetcher/getErrorResponseBody.d.ts +2 -0
- package/core/fetcher/getErrorResponseBody.js +31 -0
- package/core/fetcher/getErrorResponseBody.ts +33 -0
- package/core/fetcher/getFetchFn.d.ts +2 -0
- package/core/fetcher/getFetchFn.js +4 -0
- package/core/fetcher/getFetchFn.ts +3 -0
- package/core/fetcher/getHeader.d.ts +2 -0
- package/core/fetcher/getHeader.js +9 -0
- package/core/fetcher/getHeader.ts +8 -0
- package/core/fetcher/getRequestBody.d.ts +8 -0
- package/core/fetcher/getRequestBody.js +14 -0
- package/core/fetcher/getRequestBody.ts +20 -0
- package/core/fetcher/getResponseBody.d.ts +2 -0
- package/core/fetcher/getResponseBody.js +56 -0
- package/core/fetcher/getResponseBody.ts +58 -0
- package/core/fetcher/index.d.ts +12 -0
- package/core/fetcher/index.js +7 -0
- package/core/fetcher/index.ts +11 -0
- package/core/fetcher/makeRequest.d.ts +2 -0
- package/core/fetcher/makeRequest.js +28 -0
- package/core/fetcher/makeRequest.ts +42 -0
- package/core/fetcher/requestWithRetries.d.ts +2 -0
- package/core/fetcher/requestWithRetries.js +54 -0
- package/core/fetcher/requestWithRetries.ts +64 -0
- package/core/fetcher/signals.d.ts +6 -0
- package/core/fetcher/signals.js +21 -0
- package/core/fetcher/signals.ts +26 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +28 -0
- package/core/headers.ts +33 -0
- package/core/index.d.ts +7 -0
- package/core/index.js +7 -0
- package/core/index.ts +6 -0
- package/core/json.d.ts +16 -0
- package/core/json.js +20 -0
- package/core/json.ts +27 -0
- package/core/logging/exports.d.ts +19 -0
- package/core/logging/exports.js +10 -0
- package/core/logging/exports.ts +19 -0
- package/core/logging/index.d.ts +2 -0
- package/core/logging/index.js +2 -0
- package/core/logging/index.ts +1 -0
- package/core/logging/logger.d.ts +127 -0
- package/core/logging/logger.js +138 -0
- package/core/logging/logger.ts +203 -0
- package/core/runtime/index.d.ts +2 -0
- package/core/runtime/index.js +2 -0
- package/core/runtime/index.ts +1 -0
- package/core/runtime/runtime.d.ts +10 -0
- package/core/runtime/runtime.js +100 -0
- package/core/runtime/runtime.ts +134 -0
- package/core/url/encodePathParam.d.ts +2 -0
- package/core/url/encodePathParam.js +19 -0
- package/core/url/encodePathParam.ts +18 -0
- package/core/url/index.d.ts +4 -0
- package/core/url/index.js +4 -0
- package/core/url/index.ts +3 -0
- package/core/url/join.d.ts +2 -0
- package/core/url/join.js +66 -0
- package/core/url/join.ts +79 -0
- package/core/url/qs.d.ts +7 -0
- package/core/url/qs.js +65 -0
- package/core/url/qs.ts +74 -0
- package/environments.d.ts +5 -0
- package/environments.js +5 -0
- package/environments.ts +7 -0
- package/errors/RevKeenError.d.ts +13 -0
- package/errors/RevKeenError.js +29 -0
- package/errors/RevKeenError.ts +58 -0
- package/errors/RevKeenTimeoutError.d.ts +4 -0
- package/errors/RevKeenTimeoutError.js +12 -0
- package/errors/RevKeenTimeoutError.ts +13 -0
- package/errors/handleNonStatusCodeError.d.ts +3 -0
- package/errors/handleNonStatusCodeError.js +30 -0
- package/errors/handleNonStatusCodeError.ts +37 -0
- package/errors/index.d.ts +3 -0
- package/errors/index.js +3 -0
- package/errors/index.ts +2 -0
- package/exports.d.ts +2 -0
- package/exports.js +2 -0
- package/exports.ts +1 -0
- package/index.d.ts +9 -0
- package/index.js +8 -0
- package/index.ts +10 -0
- package/package.json +53 -0
- package/webhooks.d.ts +292 -0
- package/webhooks.js +360 -0
- package/webhooks.ts +558 -0
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
4
|
+
import { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
5
|
+
import { mergeHeaders } from "../../../../core/headers.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
import * as environments from "../../../../environments.js";
|
|
8
|
+
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
|
|
9
|
+
import * as errors from "../../../../errors/index.js";
|
|
10
|
+
import * as RevKeen from "../../../index.js";
|
|
11
|
+
|
|
12
|
+
export declare namespace OrdersClient {
|
|
13
|
+
export type Options = BaseClientOptions;
|
|
14
|
+
|
|
15
|
+
export interface RequestOptions extends BaseRequestOptions {}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* One-off purchases with lifecycle operations: create, pay, cancel, and fulfill.
|
|
20
|
+
*
|
|
21
|
+
* **Required Scopes:**
|
|
22
|
+
* - `orders:read` - List and retrieve orders
|
|
23
|
+
* - `orders:write` - Create, cancel, fulfill orders
|
|
24
|
+
*
|
|
25
|
+
* **MCP Tools:** `orders_list`, `orders_create`, `orders_cancel`, `orders_fulfill`
|
|
26
|
+
*/
|
|
27
|
+
export class OrdersClient {
|
|
28
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<OrdersClient.Options>;
|
|
29
|
+
|
|
30
|
+
constructor(options: OrdersClient.Options) {
|
|
31
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* List all orders for the authenticated merchant. Supports filtering and cursor-based pagination.
|
|
36
|
+
*
|
|
37
|
+
* @param {RevKeen.OrdersListRequest} request
|
|
38
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.orders.list()
|
|
44
|
+
*/
|
|
45
|
+
public list(
|
|
46
|
+
request: RevKeen.OrdersListRequest = {},
|
|
47
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
48
|
+
): core.HttpResponsePromise<RevKeen.OrderListResponse> {
|
|
49
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
private async __list(
|
|
53
|
+
request: RevKeen.OrdersListRequest = {},
|
|
54
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
55
|
+
): Promise<core.WithRawResponse<RevKeen.OrderListResponse>> {
|
|
56
|
+
const {
|
|
57
|
+
customer_id: customerId,
|
|
58
|
+
status,
|
|
59
|
+
billing_type: billingType,
|
|
60
|
+
created_gte: createdGte,
|
|
61
|
+
created_lte: createdLte,
|
|
62
|
+
limit,
|
|
63
|
+
starting_after: startingAfter,
|
|
64
|
+
ending_before: endingBefore,
|
|
65
|
+
} = request;
|
|
66
|
+
const _queryParams: Record<string, unknown> = {
|
|
67
|
+
customer_id: customerId,
|
|
68
|
+
status: status != null ? status : undefined,
|
|
69
|
+
billing_type: billingType != null ? billingType : undefined,
|
|
70
|
+
created_gte: createdGte,
|
|
71
|
+
created_lte: createdLte,
|
|
72
|
+
limit,
|
|
73
|
+
starting_after: startingAfter,
|
|
74
|
+
ending_before: endingBefore,
|
|
75
|
+
};
|
|
76
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
77
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
78
|
+
_authRequest.headers,
|
|
79
|
+
this._options?.headers,
|
|
80
|
+
requestOptions?.headers,
|
|
81
|
+
);
|
|
82
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
83
|
+
url: core.url.join(
|
|
84
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
85
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
86
|
+
environments.RevKeenEnvironment.Default,
|
|
87
|
+
"orders",
|
|
88
|
+
),
|
|
89
|
+
method: "GET",
|
|
90
|
+
headers: _headers,
|
|
91
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
92
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
93
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
94
|
+
abortSignal: requestOptions?.abortSignal,
|
|
95
|
+
fetchFn: this._options?.fetch,
|
|
96
|
+
logging: this._options.logging,
|
|
97
|
+
});
|
|
98
|
+
if (_response.ok) {
|
|
99
|
+
return { data: _response.body as RevKeen.OrderListResponse, rawResponse: _response.rawResponse };
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (_response.error.reason === "status-code") {
|
|
103
|
+
switch (_response.error.statusCode) {
|
|
104
|
+
case 401:
|
|
105
|
+
throw new RevKeen.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
|
|
106
|
+
default:
|
|
107
|
+
throw new errors.RevKeenError({
|
|
108
|
+
statusCode: _response.error.statusCode,
|
|
109
|
+
body: _response.error.body,
|
|
110
|
+
rawResponse: _response.rawResponse,
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/orders");
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Creates a new order with line items. Orders start in draft status.
|
|
120
|
+
*
|
|
121
|
+
* @param {RevKeen.CreateOrderRequest} request
|
|
122
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link RevKeen.BadRequestError}
|
|
125
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
126
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* await client.orders.create({
|
|
130
|
+
* line_items: [{
|
|
131
|
+
* description: "description",
|
|
132
|
+
* unit_price: 1
|
|
133
|
+
* }]
|
|
134
|
+
* })
|
|
135
|
+
*/
|
|
136
|
+
public create(
|
|
137
|
+
request: RevKeen.CreateOrderRequest,
|
|
138
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
139
|
+
): core.HttpResponsePromise<RevKeen.Order> {
|
|
140
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
private async __create(
|
|
144
|
+
request: RevKeen.CreateOrderRequest,
|
|
145
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
146
|
+
): Promise<core.WithRawResponse<RevKeen.Order>> {
|
|
147
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
148
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
149
|
+
_authRequest.headers,
|
|
150
|
+
this._options?.headers,
|
|
151
|
+
requestOptions?.headers,
|
|
152
|
+
);
|
|
153
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
154
|
+
url: core.url.join(
|
|
155
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
156
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
157
|
+
environments.RevKeenEnvironment.Default,
|
|
158
|
+
"orders",
|
|
159
|
+
),
|
|
160
|
+
method: "POST",
|
|
161
|
+
headers: _headers,
|
|
162
|
+
contentType: "application/json",
|
|
163
|
+
queryParameters: requestOptions?.queryParams,
|
|
164
|
+
requestType: "json",
|
|
165
|
+
body: request,
|
|
166
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
167
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
168
|
+
abortSignal: requestOptions?.abortSignal,
|
|
169
|
+
fetchFn: this._options?.fetch,
|
|
170
|
+
logging: this._options.logging,
|
|
171
|
+
});
|
|
172
|
+
if (_response.ok) {
|
|
173
|
+
return { data: _response.body as RevKeen.Order, rawResponse: _response.rawResponse };
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (_response.error.reason === "status-code") {
|
|
177
|
+
switch (_response.error.statusCode) {
|
|
178
|
+
case 400:
|
|
179
|
+
throw new RevKeen.BadRequestError(_response.error.body as unknown, _response.rawResponse);
|
|
180
|
+
case 401:
|
|
181
|
+
throw new RevKeen.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
|
|
182
|
+
case 404:
|
|
183
|
+
throw new RevKeen.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
|
184
|
+
default:
|
|
185
|
+
throw new errors.RevKeenError({
|
|
186
|
+
statusCode: _response.error.statusCode,
|
|
187
|
+
body: _response.error.body,
|
|
188
|
+
rawResponse: _response.rawResponse,
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/orders");
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Retrieves an order by its ID, including line items.
|
|
198
|
+
*
|
|
199
|
+
* @param {RevKeen.OrdersRetrieveRequest} request
|
|
200
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
201
|
+
*
|
|
202
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
203
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* await client.orders.retrieve({
|
|
207
|
+
* id: "id"
|
|
208
|
+
* })
|
|
209
|
+
*/
|
|
210
|
+
public retrieve(
|
|
211
|
+
request: RevKeen.OrdersRetrieveRequest,
|
|
212
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
213
|
+
): core.HttpResponsePromise<RevKeen.Order> {
|
|
214
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieve(request, requestOptions));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
private async __retrieve(
|
|
218
|
+
request: RevKeen.OrdersRetrieveRequest,
|
|
219
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
220
|
+
): Promise<core.WithRawResponse<RevKeen.Order>> {
|
|
221
|
+
const { id } = request;
|
|
222
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
223
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
224
|
+
_authRequest.headers,
|
|
225
|
+
this._options?.headers,
|
|
226
|
+
requestOptions?.headers,
|
|
227
|
+
);
|
|
228
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
229
|
+
url: core.url.join(
|
|
230
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
231
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
232
|
+
environments.RevKeenEnvironment.Default,
|
|
233
|
+
`orders/${core.url.encodePathParam(id)}`,
|
|
234
|
+
),
|
|
235
|
+
method: "GET",
|
|
236
|
+
headers: _headers,
|
|
237
|
+
queryParameters: requestOptions?.queryParams,
|
|
238
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
239
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
240
|
+
abortSignal: requestOptions?.abortSignal,
|
|
241
|
+
fetchFn: this._options?.fetch,
|
|
242
|
+
logging: this._options.logging,
|
|
243
|
+
});
|
|
244
|
+
if (_response.ok) {
|
|
245
|
+
return { data: _response.body as RevKeen.Order, rawResponse: _response.rawResponse };
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (_response.error.reason === "status-code") {
|
|
249
|
+
switch (_response.error.statusCode) {
|
|
250
|
+
case 401:
|
|
251
|
+
throw new RevKeen.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
|
|
252
|
+
case 404:
|
|
253
|
+
throw new RevKeen.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
|
254
|
+
default:
|
|
255
|
+
throw new errors.RevKeenError({
|
|
256
|
+
statusCode: _response.error.statusCode,
|
|
257
|
+
body: _response.error.body,
|
|
258
|
+
rawResponse: _response.rawResponse,
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/orders/{id}");
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Process payment for an order. Creates an invoice and charges the customer's payment method.
|
|
268
|
+
*
|
|
269
|
+
* @param {RevKeen.PayOrderRequest} request
|
|
270
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
271
|
+
*
|
|
272
|
+
* @throws {@link RevKeen.BadRequestError}
|
|
273
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
274
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
275
|
+
*
|
|
276
|
+
* @example
|
|
277
|
+
* await client.orders.pay({
|
|
278
|
+
* id: "id"
|
|
279
|
+
* })
|
|
280
|
+
*/
|
|
281
|
+
public pay(
|
|
282
|
+
request: RevKeen.PayOrderRequest,
|
|
283
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
284
|
+
): core.HttpResponsePromise<RevKeen.Order> {
|
|
285
|
+
return core.HttpResponsePromise.fromPromise(this.__pay(request, requestOptions));
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
private async __pay(
|
|
289
|
+
request: RevKeen.PayOrderRequest,
|
|
290
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
291
|
+
): Promise<core.WithRawResponse<RevKeen.Order>> {
|
|
292
|
+
const { id, ..._body } = request;
|
|
293
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
294
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
295
|
+
_authRequest.headers,
|
|
296
|
+
this._options?.headers,
|
|
297
|
+
requestOptions?.headers,
|
|
298
|
+
);
|
|
299
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
300
|
+
url: core.url.join(
|
|
301
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
302
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
303
|
+
environments.RevKeenEnvironment.Default,
|
|
304
|
+
`orders/${core.url.encodePathParam(id)}/pay`,
|
|
305
|
+
),
|
|
306
|
+
method: "POST",
|
|
307
|
+
headers: _headers,
|
|
308
|
+
contentType: "application/json",
|
|
309
|
+
queryParameters: requestOptions?.queryParams,
|
|
310
|
+
requestType: "json",
|
|
311
|
+
body: _body,
|
|
312
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
313
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
314
|
+
abortSignal: requestOptions?.abortSignal,
|
|
315
|
+
fetchFn: this._options?.fetch,
|
|
316
|
+
logging: this._options.logging,
|
|
317
|
+
});
|
|
318
|
+
if (_response.ok) {
|
|
319
|
+
return { data: _response.body as RevKeen.Order, rawResponse: _response.rawResponse };
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (_response.error.reason === "status-code") {
|
|
323
|
+
switch (_response.error.statusCode) {
|
|
324
|
+
case 400:
|
|
325
|
+
throw new RevKeen.BadRequestError(_response.error.body as unknown, _response.rawResponse);
|
|
326
|
+
case 401:
|
|
327
|
+
throw new RevKeen.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
|
|
328
|
+
case 404:
|
|
329
|
+
throw new RevKeen.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
|
330
|
+
default:
|
|
331
|
+
throw new errors.RevKeenError({
|
|
332
|
+
statusCode: _response.error.statusCode,
|
|
333
|
+
body: _response.error.body,
|
|
334
|
+
rawResponse: _response.rawResponse,
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/orders/{id}/pay");
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Cancels an order. Only orders that haven't been paid or fulfilled can be canceled.
|
|
344
|
+
*
|
|
345
|
+
* @param {RevKeen.CancelOrderRequest} request
|
|
346
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
347
|
+
*
|
|
348
|
+
* @throws {@link RevKeen.BadRequestError}
|
|
349
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
350
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
351
|
+
*
|
|
352
|
+
* @example
|
|
353
|
+
* await client.orders.cancel({
|
|
354
|
+
* id: "id"
|
|
355
|
+
* })
|
|
356
|
+
*/
|
|
357
|
+
public cancel(
|
|
358
|
+
request: RevKeen.CancelOrderRequest,
|
|
359
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
360
|
+
): core.HttpResponsePromise<RevKeen.Order> {
|
|
361
|
+
return core.HttpResponsePromise.fromPromise(this.__cancel(request, requestOptions));
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
private async __cancel(
|
|
365
|
+
request: RevKeen.CancelOrderRequest,
|
|
366
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
367
|
+
): Promise<core.WithRawResponse<RevKeen.Order>> {
|
|
368
|
+
const { id, ..._body } = request;
|
|
369
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
370
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
371
|
+
_authRequest.headers,
|
|
372
|
+
this._options?.headers,
|
|
373
|
+
requestOptions?.headers,
|
|
374
|
+
);
|
|
375
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
376
|
+
url: core.url.join(
|
|
377
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
378
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
379
|
+
environments.RevKeenEnvironment.Default,
|
|
380
|
+
`orders/${core.url.encodePathParam(id)}/cancel`,
|
|
381
|
+
),
|
|
382
|
+
method: "POST",
|
|
383
|
+
headers: _headers,
|
|
384
|
+
contentType: "application/json",
|
|
385
|
+
queryParameters: requestOptions?.queryParams,
|
|
386
|
+
requestType: "json",
|
|
387
|
+
body: _body,
|
|
388
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
389
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
390
|
+
abortSignal: requestOptions?.abortSignal,
|
|
391
|
+
fetchFn: this._options?.fetch,
|
|
392
|
+
logging: this._options.logging,
|
|
393
|
+
});
|
|
394
|
+
if (_response.ok) {
|
|
395
|
+
return { data: _response.body as RevKeen.Order, rawResponse: _response.rawResponse };
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
if (_response.error.reason === "status-code") {
|
|
399
|
+
switch (_response.error.statusCode) {
|
|
400
|
+
case 400:
|
|
401
|
+
throw new RevKeen.BadRequestError(_response.error.body as unknown, _response.rawResponse);
|
|
402
|
+
case 401:
|
|
403
|
+
throw new RevKeen.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
|
|
404
|
+
case 404:
|
|
405
|
+
throw new RevKeen.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
|
406
|
+
default:
|
|
407
|
+
throw new errors.RevKeenError({
|
|
408
|
+
statusCode: _response.error.statusCode,
|
|
409
|
+
body: _response.error.body,
|
|
410
|
+
rawResponse: _response.rawResponse,
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/orders/{id}/cancel");
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Mark an order as fulfilled. Optionally include shipping tracking information.
|
|
420
|
+
*
|
|
421
|
+
* @param {RevKeen.FulfillOrderRequest} request
|
|
422
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
423
|
+
*
|
|
424
|
+
* @throws {@link RevKeen.BadRequestError}
|
|
425
|
+
* @throws {@link RevKeen.UnauthorizedError}
|
|
426
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
427
|
+
*
|
|
428
|
+
* @example
|
|
429
|
+
* await client.orders.fulfill({
|
|
430
|
+
* id: "id"
|
|
431
|
+
* })
|
|
432
|
+
*/
|
|
433
|
+
public fulfill(
|
|
434
|
+
request: RevKeen.FulfillOrderRequest,
|
|
435
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
436
|
+
): core.HttpResponsePromise<RevKeen.Order> {
|
|
437
|
+
return core.HttpResponsePromise.fromPromise(this.__fulfill(request, requestOptions));
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
private async __fulfill(
|
|
441
|
+
request: RevKeen.FulfillOrderRequest,
|
|
442
|
+
requestOptions?: OrdersClient.RequestOptions,
|
|
443
|
+
): Promise<core.WithRawResponse<RevKeen.Order>> {
|
|
444
|
+
const { id, ..._body } = request;
|
|
445
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
446
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
447
|
+
_authRequest.headers,
|
|
448
|
+
this._options?.headers,
|
|
449
|
+
requestOptions?.headers,
|
|
450
|
+
);
|
|
451
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
452
|
+
url: core.url.join(
|
|
453
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
454
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
455
|
+
environments.RevKeenEnvironment.Default,
|
|
456
|
+
`orders/${core.url.encodePathParam(id)}/fulfill`,
|
|
457
|
+
),
|
|
458
|
+
method: "POST",
|
|
459
|
+
headers: _headers,
|
|
460
|
+
contentType: "application/json",
|
|
461
|
+
queryParameters: requestOptions?.queryParams,
|
|
462
|
+
requestType: "json",
|
|
463
|
+
body: _body,
|
|
464
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
465
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
466
|
+
abortSignal: requestOptions?.abortSignal,
|
|
467
|
+
fetchFn: this._options?.fetch,
|
|
468
|
+
logging: this._options.logging,
|
|
469
|
+
});
|
|
470
|
+
if (_response.ok) {
|
|
471
|
+
return { data: _response.body as RevKeen.Order, rawResponse: _response.rawResponse };
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
if (_response.error.reason === "status-code") {
|
|
475
|
+
switch (_response.error.statusCode) {
|
|
476
|
+
case 400:
|
|
477
|
+
throw new RevKeen.BadRequestError(_response.error.body as unknown, _response.rawResponse);
|
|
478
|
+
case 401:
|
|
479
|
+
throw new RevKeen.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
|
|
480
|
+
case 404:
|
|
481
|
+
throw new RevKeen.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
|
482
|
+
default:
|
|
483
|
+
throw new errors.RevKeenError({
|
|
484
|
+
statusCode: _response.error.statusCode,
|
|
485
|
+
body: _response.error.body,
|
|
486
|
+
rawResponse: _response.rawResponse,
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/orders/{id}/fulfill");
|
|
492
|
+
}
|
|
493
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* line_items: [{
|
|
5
|
+
* description: "description",
|
|
6
|
+
* unit_price: 1
|
|
7
|
+
* }]
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface CreateOrderRequest {
|
|
11
|
+
/** Customer ID (optional for guest orders) */
|
|
12
|
+
customer_id?: string;
|
|
13
|
+
/** Three-letter ISO currency code */
|
|
14
|
+
currency?: string;
|
|
15
|
+
/** Billing type. one_time: Single purchase. recurring: Subscription-based. */
|
|
16
|
+
billing_type?: CreateOrderRequest.BillingType;
|
|
17
|
+
/** Order line items (at least one required) */
|
|
18
|
+
line_items: CreateOrderRequest.LineItems.Item[];
|
|
19
|
+
/** Custom key-value metadata */
|
|
20
|
+
metadata?: Record<string, unknown>;
|
|
21
|
+
notes?: string;
|
|
22
|
+
/** Expiration timestamp for the order */
|
|
23
|
+
expires_at?: string;
|
|
24
|
+
/** ID of the linked invoice (Commercial Truth) */
|
|
25
|
+
invoice_id?: string;
|
|
26
|
+
/** ID of the linked subscription (for recurring fulfillment) */
|
|
27
|
+
subscription_id?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace CreateOrderRequest {
|
|
30
|
+
/** Billing type. one_time: Single purchase. recurring: Subscription-based. */
|
|
31
|
+
const BillingType: {
|
|
32
|
+
readonly OneTime: "one_time";
|
|
33
|
+
readonly Recurring: "recurring";
|
|
34
|
+
};
|
|
35
|
+
type BillingType = (typeof BillingType)[keyof typeof BillingType];
|
|
36
|
+
type LineItems = LineItems.Item[];
|
|
37
|
+
namespace LineItems {
|
|
38
|
+
interface Item {
|
|
39
|
+
/** Product ID (optional for ad-hoc items) */
|
|
40
|
+
product_id?: string;
|
|
41
|
+
description: string;
|
|
42
|
+
quantity?: number;
|
|
43
|
+
/** Unit price in cents */
|
|
44
|
+
unit_price: number;
|
|
45
|
+
/** Custom key-value metadata */
|
|
46
|
+
metadata?: Record<string, unknown>;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=CreateOrderRequest.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var CreateOrderRequest;
|
|
3
|
+
(function (CreateOrderRequest) {
|
|
4
|
+
/** Billing type. one_time: Single purchase. recurring: Subscription-based. */
|
|
5
|
+
CreateOrderRequest.BillingType = {
|
|
6
|
+
OneTime: "one_time",
|
|
7
|
+
Recurring: "recurring",
|
|
8
|
+
};
|
|
9
|
+
})(CreateOrderRequest || (CreateOrderRequest = {}));
|
|
10
|
+
//# sourceMappingURL=CreateOrderRequest.js.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* {
|
|
6
|
+
* line_items: [{
|
|
7
|
+
* description: "description",
|
|
8
|
+
* unit_price: 1
|
|
9
|
+
* }]
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateOrderRequest {
|
|
13
|
+
/** Customer ID (optional for guest orders) */
|
|
14
|
+
customer_id?: string;
|
|
15
|
+
/** Three-letter ISO currency code */
|
|
16
|
+
currency?: string;
|
|
17
|
+
/** Billing type. one_time: Single purchase. recurring: Subscription-based. */
|
|
18
|
+
billing_type?: CreateOrderRequest.BillingType;
|
|
19
|
+
/** Order line items (at least one required) */
|
|
20
|
+
line_items: CreateOrderRequest.LineItems.Item[];
|
|
21
|
+
/** Custom key-value metadata */
|
|
22
|
+
metadata?: Record<string, unknown>;
|
|
23
|
+
notes?: string;
|
|
24
|
+
/** Expiration timestamp for the order */
|
|
25
|
+
expires_at?: string;
|
|
26
|
+
/** ID of the linked invoice (Commercial Truth) */
|
|
27
|
+
invoice_id?: string;
|
|
28
|
+
/** ID of the linked subscription (for recurring fulfillment) */
|
|
29
|
+
subscription_id?: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export namespace CreateOrderRequest {
|
|
33
|
+
/** Billing type. one_time: Single purchase. recurring: Subscription-based. */
|
|
34
|
+
export const BillingType = {
|
|
35
|
+
OneTime: "one_time",
|
|
36
|
+
Recurring: "recurring",
|
|
37
|
+
} as const;
|
|
38
|
+
export type BillingType = (typeof BillingType)[keyof typeof BillingType];
|
|
39
|
+
export type LineItems = LineItems.Item[];
|
|
40
|
+
|
|
41
|
+
export namespace LineItems {
|
|
42
|
+
export interface Item {
|
|
43
|
+
/** Product ID (optional for ad-hoc items) */
|
|
44
|
+
product_id?: string;
|
|
45
|
+
description: string;
|
|
46
|
+
quantity?: number;
|
|
47
|
+
/** Unit price in cents */
|
|
48
|
+
unit_price: number;
|
|
49
|
+
/** Custom key-value metadata */
|
|
50
|
+
metadata?: Record<string, unknown>;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* id: "id"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface FulfillOrderRequest {
|
|
8
|
+
/** Order ID */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Shipping tracking number */
|
|
11
|
+
tracking_number?: string;
|
|
12
|
+
/** Shipping carrier (e.g., 'ups', 'fedex', 'usps') */
|
|
13
|
+
carrier?: string;
|
|
14
|
+
/** Specific line items to fulfill (defaults to all) */
|
|
15
|
+
line_item_ids?: string[];
|
|
16
|
+
/** Send fulfillment notification to customer */
|
|
17
|
+
notify_customer?: boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=FulfillOrderRequest.d.ts.map
|