@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,860 @@
|
|
|
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 AnalyticsClient {
|
|
13
|
+
export type Options = BaseClientOptions;
|
|
14
|
+
|
|
15
|
+
export interface RequestOptions extends BaseRequestOptions {}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export class AnalyticsClient {
|
|
19
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
|
|
20
|
+
|
|
21
|
+
constructor(options: AnalyticsClient.Options) {
|
|
22
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Get Monthly Recurring Revenue metrics and growth
|
|
27
|
+
*
|
|
28
|
+
* @param {RevKeen.AnalyticsRevenueGetMrrSummaryRequest} request
|
|
29
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* await client.analytics.revenueGetmrrsummary({
|
|
33
|
+
* asOfDate: "2024-01-31T23:59:59Z"
|
|
34
|
+
* })
|
|
35
|
+
*/
|
|
36
|
+
public revenueGetmrrsummary(
|
|
37
|
+
request: RevKeen.AnalyticsRevenueGetMrrSummaryRequest = {},
|
|
38
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
39
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsRevenueGetMrrSummaryResponse> {
|
|
40
|
+
return core.HttpResponsePromise.fromPromise(this.__revenueGetmrrsummary(request, requestOptions));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
private async __revenueGetmrrsummary(
|
|
44
|
+
request: RevKeen.AnalyticsRevenueGetMrrSummaryRequest = {},
|
|
45
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
46
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsRevenueGetMrrSummaryResponse>> {
|
|
47
|
+
const { asOfDate } = request;
|
|
48
|
+
const _queryParams: Record<string, unknown> = {
|
|
49
|
+
asOfDate: asOfDate != null ? asOfDate : undefined,
|
|
50
|
+
};
|
|
51
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
52
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
53
|
+
_authRequest.headers,
|
|
54
|
+
this._options?.headers,
|
|
55
|
+
requestOptions?.headers,
|
|
56
|
+
);
|
|
57
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
58
|
+
url: core.url.join(
|
|
59
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
60
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
61
|
+
environments.RevKeenEnvironment.Default,
|
|
62
|
+
"analytics/revenue/mrr-summary",
|
|
63
|
+
),
|
|
64
|
+
method: "GET",
|
|
65
|
+
headers: _headers,
|
|
66
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
67
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
68
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
69
|
+
abortSignal: requestOptions?.abortSignal,
|
|
70
|
+
fetchFn: this._options?.fetch,
|
|
71
|
+
logging: this._options.logging,
|
|
72
|
+
});
|
|
73
|
+
if (_response.ok) {
|
|
74
|
+
return {
|
|
75
|
+
data: _response.body as RevKeen.AnalyticsRevenueGetMrrSummaryResponse,
|
|
76
|
+
rawResponse: _response.rawResponse,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (_response.error.reason === "status-code") {
|
|
81
|
+
throw new errors.RevKeenError({
|
|
82
|
+
statusCode: _response.error.statusCode,
|
|
83
|
+
body: _response.error.body,
|
|
84
|
+
rawResponse: _response.rawResponse,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return handleNonStatusCodeError(
|
|
89
|
+
_response.error,
|
|
90
|
+
_response.rawResponse,
|
|
91
|
+
"GET",
|
|
92
|
+
"/analytics/revenue/mrr-summary",
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Get revenue data over time with configurable granularity
|
|
98
|
+
*
|
|
99
|
+
* @param {RevKeen.AnalyticsRevenueGetTimeSeriesRequest} request
|
|
100
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* await client.analytics.revenueGettimeseries({
|
|
104
|
+
* startDate: "2024-01-01T00:00:00Z",
|
|
105
|
+
* endDate: "2024-12-31T23:59:59Z"
|
|
106
|
+
* })
|
|
107
|
+
*/
|
|
108
|
+
public revenueGettimeseries(
|
|
109
|
+
request: RevKeen.AnalyticsRevenueGetTimeSeriesRequest,
|
|
110
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
111
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsRevenueGetTimeSeriesResponse> {
|
|
112
|
+
return core.HttpResponsePromise.fromPromise(this.__revenueGettimeseries(request, requestOptions));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
private async __revenueGettimeseries(
|
|
116
|
+
request: RevKeen.AnalyticsRevenueGetTimeSeriesRequest,
|
|
117
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
118
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsRevenueGetTimeSeriesResponse>> {
|
|
119
|
+
const { startDate, endDate, granularity } = request;
|
|
120
|
+
const _queryParams: Record<string, unknown> = {
|
|
121
|
+
startDate,
|
|
122
|
+
endDate,
|
|
123
|
+
granularity: granularity != null ? granularity : undefined,
|
|
124
|
+
};
|
|
125
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
126
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
127
|
+
_authRequest.headers,
|
|
128
|
+
this._options?.headers,
|
|
129
|
+
requestOptions?.headers,
|
|
130
|
+
);
|
|
131
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
132
|
+
url: core.url.join(
|
|
133
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
134
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
135
|
+
environments.RevKeenEnvironment.Default,
|
|
136
|
+
"analytics/revenue/time-series",
|
|
137
|
+
),
|
|
138
|
+
method: "GET",
|
|
139
|
+
headers: _headers,
|
|
140
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
141
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
142
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
143
|
+
abortSignal: requestOptions?.abortSignal,
|
|
144
|
+
fetchFn: this._options?.fetch,
|
|
145
|
+
logging: this._options.logging,
|
|
146
|
+
});
|
|
147
|
+
if (_response.ok) {
|
|
148
|
+
return {
|
|
149
|
+
data: _response.body as RevKeen.AnalyticsRevenueGetTimeSeriesResponse,
|
|
150
|
+
rawResponse: _response.rawResponse,
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (_response.error.reason === "status-code") {
|
|
155
|
+
throw new errors.RevKeenError({
|
|
156
|
+
statusCode: _response.error.statusCode,
|
|
157
|
+
body: _response.error.body,
|
|
158
|
+
rawResponse: _response.rawResponse,
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return handleNonStatusCodeError(
|
|
163
|
+
_response.error,
|
|
164
|
+
_response.rawResponse,
|
|
165
|
+
"GET",
|
|
166
|
+
"/analytics/revenue/time-series",
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Returns Accounts Receivable aging buckets with invoice counts and amounts
|
|
172
|
+
*
|
|
173
|
+
* @param {RevKeen.AnalyticsInvoicesGetArAgingRequest} request
|
|
174
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* await client.analytics.invoicesGetaraging({
|
|
178
|
+
* asOfDate: "2024-01-31T23:59:59Z"
|
|
179
|
+
* })
|
|
180
|
+
*/
|
|
181
|
+
public invoicesGetaraging(
|
|
182
|
+
request: RevKeen.AnalyticsInvoicesGetArAgingRequest = {},
|
|
183
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
184
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsInvoicesGetArAgingResponse> {
|
|
185
|
+
return core.HttpResponsePromise.fromPromise(this.__invoicesGetaraging(request, requestOptions));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
private async __invoicesGetaraging(
|
|
189
|
+
request: RevKeen.AnalyticsInvoicesGetArAgingRequest = {},
|
|
190
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
191
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsInvoicesGetArAgingResponse>> {
|
|
192
|
+
const { asOfDate } = request;
|
|
193
|
+
const _queryParams: Record<string, unknown> = {
|
|
194
|
+
asOfDate: asOfDate != null ? asOfDate : undefined,
|
|
195
|
+
};
|
|
196
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
197
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
198
|
+
_authRequest.headers,
|
|
199
|
+
this._options?.headers,
|
|
200
|
+
requestOptions?.headers,
|
|
201
|
+
);
|
|
202
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
203
|
+
url: core.url.join(
|
|
204
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
205
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
206
|
+
environments.RevKeenEnvironment.Default,
|
|
207
|
+
"analytics/invoices/ar-aging",
|
|
208
|
+
),
|
|
209
|
+
method: "GET",
|
|
210
|
+
headers: _headers,
|
|
211
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
212
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
213
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
214
|
+
abortSignal: requestOptions?.abortSignal,
|
|
215
|
+
fetchFn: this._options?.fetch,
|
|
216
|
+
logging: this._options.logging,
|
|
217
|
+
});
|
|
218
|
+
if (_response.ok) {
|
|
219
|
+
return {
|
|
220
|
+
data: _response.body as RevKeen.AnalyticsInvoicesGetArAgingResponse,
|
|
221
|
+
rawResponse: _response.rawResponse,
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (_response.error.reason === "status-code") {
|
|
226
|
+
throw new errors.RevKeenError({
|
|
227
|
+
statusCode: _response.error.statusCode,
|
|
228
|
+
body: _response.error.body,
|
|
229
|
+
rawResponse: _response.rawResponse,
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/analytics/invoices/ar-aging");
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Calculate DSO and collection health metrics
|
|
238
|
+
*
|
|
239
|
+
* @param {RevKeen.AnalyticsCollectionsGetDsoRequest} request
|
|
240
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* await client.analytics.collectionsGetdso({
|
|
244
|
+
* startDate: "2024-01-01T00:00:00Z",
|
|
245
|
+
* endDate: "2024-12-31T23:59:59Z"
|
|
246
|
+
* })
|
|
247
|
+
*/
|
|
248
|
+
public collectionsGetdso(
|
|
249
|
+
request: RevKeen.AnalyticsCollectionsGetDsoRequest = {},
|
|
250
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
251
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCollectionsGetDsoResponse> {
|
|
252
|
+
return core.HttpResponsePromise.fromPromise(this.__collectionsGetdso(request, requestOptions));
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
private async __collectionsGetdso(
|
|
256
|
+
request: RevKeen.AnalyticsCollectionsGetDsoRequest = {},
|
|
257
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
258
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCollectionsGetDsoResponse>> {
|
|
259
|
+
const { startDate, endDate } = request;
|
|
260
|
+
const _queryParams: Record<string, unknown> = {
|
|
261
|
+
startDate: startDate != null ? startDate : undefined,
|
|
262
|
+
endDate: endDate != null ? endDate : undefined,
|
|
263
|
+
};
|
|
264
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
265
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
266
|
+
_authRequest.headers,
|
|
267
|
+
this._options?.headers,
|
|
268
|
+
requestOptions?.headers,
|
|
269
|
+
);
|
|
270
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
271
|
+
url: core.url.join(
|
|
272
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
273
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
274
|
+
environments.RevKeenEnvironment.Default,
|
|
275
|
+
"analytics/collections/dso",
|
|
276
|
+
),
|
|
277
|
+
method: "GET",
|
|
278
|
+
headers: _headers,
|
|
279
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
280
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
281
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
282
|
+
abortSignal: requestOptions?.abortSignal,
|
|
283
|
+
fetchFn: this._options?.fetch,
|
|
284
|
+
logging: this._options.logging,
|
|
285
|
+
});
|
|
286
|
+
if (_response.ok) {
|
|
287
|
+
return {
|
|
288
|
+
data: _response.body as RevKeen.AnalyticsCollectionsGetDsoResponse,
|
|
289
|
+
rawResponse: _response.rawResponse,
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
if (_response.error.reason === "status-code") {
|
|
294
|
+
throw new errors.RevKeenError({
|
|
295
|
+
statusCode: _response.error.statusCode,
|
|
296
|
+
body: _response.error.body,
|
|
297
|
+
rawResponse: _response.rawResponse,
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/analytics/collections/dso");
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Calculate customer lifetime value metrics
|
|
306
|
+
*
|
|
307
|
+
* @param {RevKeen.AnalyticsCustomersGetLtvRequest} request
|
|
308
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* await client.analytics.customersGetltv({
|
|
312
|
+
* topN: 10
|
|
313
|
+
* })
|
|
314
|
+
*/
|
|
315
|
+
public customersGetltv(
|
|
316
|
+
request: RevKeen.AnalyticsCustomersGetLtvRequest = {},
|
|
317
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
318
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCustomersGetLtvResponse> {
|
|
319
|
+
return core.HttpResponsePromise.fromPromise(this.__customersGetltv(request, requestOptions));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
private async __customersGetltv(
|
|
323
|
+
request: RevKeen.AnalyticsCustomersGetLtvRequest = {},
|
|
324
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
325
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCustomersGetLtvResponse>> {
|
|
326
|
+
const { topN } = request;
|
|
327
|
+
const _queryParams: Record<string, unknown> = {
|
|
328
|
+
topN,
|
|
329
|
+
};
|
|
330
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
331
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
332
|
+
_authRequest.headers,
|
|
333
|
+
this._options?.headers,
|
|
334
|
+
requestOptions?.headers,
|
|
335
|
+
);
|
|
336
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
337
|
+
url: core.url.join(
|
|
338
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
339
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
340
|
+
environments.RevKeenEnvironment.Default,
|
|
341
|
+
"analytics/customers/ltv",
|
|
342
|
+
),
|
|
343
|
+
method: "GET",
|
|
344
|
+
headers: _headers,
|
|
345
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
346
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
347
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
348
|
+
abortSignal: requestOptions?.abortSignal,
|
|
349
|
+
fetchFn: this._options?.fetch,
|
|
350
|
+
logging: this._options.logging,
|
|
351
|
+
});
|
|
352
|
+
if (_response.ok) {
|
|
353
|
+
return {
|
|
354
|
+
data: _response.body as RevKeen.AnalyticsCustomersGetLtvResponse,
|
|
355
|
+
rawResponse: _response.rawResponse,
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (_response.error.reason === "status-code") {
|
|
360
|
+
throw new errors.RevKeenError({
|
|
361
|
+
statusCode: _response.error.statusCode,
|
|
362
|
+
body: _response.error.body,
|
|
363
|
+
rawResponse: _response.rawResponse,
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/analytics/customers/ltv");
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Get analytics for a specific customer
|
|
372
|
+
*
|
|
373
|
+
* @param {RevKeen.AnalyticsCustomersRetrieveRequest} request
|
|
374
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
375
|
+
*
|
|
376
|
+
* @throws {@link RevKeen.NotFoundError}
|
|
377
|
+
*
|
|
378
|
+
* @example
|
|
379
|
+
* await client.analytics.customersRetrieve({
|
|
380
|
+
* customerId: "customerId"
|
|
381
|
+
* })
|
|
382
|
+
*/
|
|
383
|
+
public customersRetrieve(
|
|
384
|
+
request: RevKeen.AnalyticsCustomersRetrieveRequest,
|
|
385
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
386
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCustomersRetrieveResponse> {
|
|
387
|
+
return core.HttpResponsePromise.fromPromise(this.__customersRetrieve(request, requestOptions));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
private async __customersRetrieve(
|
|
391
|
+
request: RevKeen.AnalyticsCustomersRetrieveRequest,
|
|
392
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
393
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCustomersRetrieveResponse>> {
|
|
394
|
+
const { customerId } = request;
|
|
395
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
396
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
397
|
+
_authRequest.headers,
|
|
398
|
+
this._options?.headers,
|
|
399
|
+
requestOptions?.headers,
|
|
400
|
+
);
|
|
401
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
402
|
+
url: core.url.join(
|
|
403
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
404
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
405
|
+
environments.RevKeenEnvironment.Default,
|
|
406
|
+
`analytics/customers/${core.url.encodePathParam(customerId)}`,
|
|
407
|
+
),
|
|
408
|
+
method: "GET",
|
|
409
|
+
headers: _headers,
|
|
410
|
+
queryParameters: requestOptions?.queryParams,
|
|
411
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
412
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
413
|
+
abortSignal: requestOptions?.abortSignal,
|
|
414
|
+
fetchFn: this._options?.fetch,
|
|
415
|
+
logging: this._options.logging,
|
|
416
|
+
});
|
|
417
|
+
if (_response.ok) {
|
|
418
|
+
return {
|
|
419
|
+
data: _response.body as RevKeen.AnalyticsCustomersRetrieveResponse,
|
|
420
|
+
rawResponse: _response.rawResponse,
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
if (_response.error.reason === "status-code") {
|
|
425
|
+
switch (_response.error.statusCode) {
|
|
426
|
+
case 404:
|
|
427
|
+
throw new RevKeen.NotFoundError(_response.error.body as unknown, _response.rawResponse);
|
|
428
|
+
default:
|
|
429
|
+
throw new errors.RevKeenError({
|
|
430
|
+
statusCode: _response.error.statusCode,
|
|
431
|
+
body: _response.error.body,
|
|
432
|
+
rawResponse: _response.rawResponse,
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
return handleNonStatusCodeError(
|
|
438
|
+
_response.error,
|
|
439
|
+
_response.rawResponse,
|
|
440
|
+
"GET",
|
|
441
|
+
"/analytics/customers/{customerId}",
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Get payment link performance metrics
|
|
447
|
+
*
|
|
448
|
+
* @param {RevKeen.AnalyticsPaymentLinksGetConversionRequest} request
|
|
449
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
450
|
+
*
|
|
451
|
+
* @example
|
|
452
|
+
* await client.analytics.paymentlinksGetconversion({
|
|
453
|
+
* startDate: "2024-01-01T00:00:00Z",
|
|
454
|
+
* endDate: "2024-12-31T23:59:59Z"
|
|
455
|
+
* })
|
|
456
|
+
*/
|
|
457
|
+
public paymentlinksGetconversion(
|
|
458
|
+
request: RevKeen.AnalyticsPaymentLinksGetConversionRequest = {},
|
|
459
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
460
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsPaymentLinksGetConversionResponse> {
|
|
461
|
+
return core.HttpResponsePromise.fromPromise(this.__paymentlinksGetconversion(request, requestOptions));
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
private async __paymentlinksGetconversion(
|
|
465
|
+
request: RevKeen.AnalyticsPaymentLinksGetConversionRequest = {},
|
|
466
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
467
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsPaymentLinksGetConversionResponse>> {
|
|
468
|
+
const { startDate, endDate } = request;
|
|
469
|
+
const _queryParams: Record<string, unknown> = {
|
|
470
|
+
startDate: startDate != null ? startDate : undefined,
|
|
471
|
+
endDate: endDate != null ? endDate : undefined,
|
|
472
|
+
};
|
|
473
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
474
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
475
|
+
_authRequest.headers,
|
|
476
|
+
this._options?.headers,
|
|
477
|
+
requestOptions?.headers,
|
|
478
|
+
);
|
|
479
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
480
|
+
url: core.url.join(
|
|
481
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
482
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
483
|
+
environments.RevKeenEnvironment.Default,
|
|
484
|
+
"analytics/payment-links/conversion",
|
|
485
|
+
),
|
|
486
|
+
method: "GET",
|
|
487
|
+
headers: _headers,
|
|
488
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
489
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
490
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
491
|
+
abortSignal: requestOptions?.abortSignal,
|
|
492
|
+
fetchFn: this._options?.fetch,
|
|
493
|
+
logging: this._options.logging,
|
|
494
|
+
});
|
|
495
|
+
if (_response.ok) {
|
|
496
|
+
return {
|
|
497
|
+
data: _response.body as RevKeen.AnalyticsPaymentLinksGetConversionResponse,
|
|
498
|
+
rawResponse: _response.rawResponse,
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if (_response.error.reason === "status-code") {
|
|
503
|
+
throw new errors.RevKeenError({
|
|
504
|
+
statusCode: _response.error.statusCode,
|
|
505
|
+
body: _response.error.body,
|
|
506
|
+
rawResponse: _response.rawResponse,
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
return handleNonStatusCodeError(
|
|
511
|
+
_response.error,
|
|
512
|
+
_response.rawResponse,
|
|
513
|
+
"GET",
|
|
514
|
+
"/analytics/payment-links/conversion",
|
|
515
|
+
);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Get stage-by-stage checkout conversion funnel metrics. Shows sessions, drop-offs, and conversion rates at each step.
|
|
520
|
+
*
|
|
521
|
+
* @param {RevKeen.AnalyticsCheckoutGetFunnelRequest} request
|
|
522
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
523
|
+
*
|
|
524
|
+
* @example
|
|
525
|
+
* await client.analytics.checkoutGetfunnel({
|
|
526
|
+
* startDate: "2024-01-01T00:00:00Z",
|
|
527
|
+
* endDate: "2024-01-31T23:59:59Z"
|
|
528
|
+
* })
|
|
529
|
+
*/
|
|
530
|
+
public checkoutGetfunnel(
|
|
531
|
+
request: RevKeen.AnalyticsCheckoutGetFunnelRequest = {},
|
|
532
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
533
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCheckoutGetFunnelResponse> {
|
|
534
|
+
return core.HttpResponsePromise.fromPromise(this.__checkoutGetfunnel(request, requestOptions));
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
private async __checkoutGetfunnel(
|
|
538
|
+
request: RevKeen.AnalyticsCheckoutGetFunnelRequest = {},
|
|
539
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
540
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCheckoutGetFunnelResponse>> {
|
|
541
|
+
const { startDate, endDate } = request;
|
|
542
|
+
const _queryParams: Record<string, unknown> = {
|
|
543
|
+
startDate: startDate != null ? startDate : undefined,
|
|
544
|
+
endDate: endDate != null ? endDate : undefined,
|
|
545
|
+
};
|
|
546
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
547
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
548
|
+
_authRequest.headers,
|
|
549
|
+
this._options?.headers,
|
|
550
|
+
requestOptions?.headers,
|
|
551
|
+
);
|
|
552
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
553
|
+
url: core.url.join(
|
|
554
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
555
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
556
|
+
environments.RevKeenEnvironment.Default,
|
|
557
|
+
"analytics/checkout/funnel",
|
|
558
|
+
),
|
|
559
|
+
method: "GET",
|
|
560
|
+
headers: _headers,
|
|
561
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
562
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
563
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
564
|
+
abortSignal: requestOptions?.abortSignal,
|
|
565
|
+
fetchFn: this._options?.fetch,
|
|
566
|
+
logging: this._options.logging,
|
|
567
|
+
});
|
|
568
|
+
if (_response.ok) {
|
|
569
|
+
return {
|
|
570
|
+
data: _response.body as RevKeen.AnalyticsCheckoutGetFunnelResponse,
|
|
571
|
+
rawResponse: _response.rawResponse,
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
if (_response.error.reason === "status-code") {
|
|
576
|
+
throw new errors.RevKeenError({
|
|
577
|
+
statusCode: _response.error.statusCode,
|
|
578
|
+
body: _response.error.body,
|
|
579
|
+
rawResponse: _response.rawResponse,
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/analytics/checkout/funnel");
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Get aggregated abandonment alert metrics by status and severity
|
|
588
|
+
*
|
|
589
|
+
* @param {RevKeen.AnalyticsCheckoutAbandonmentGetSummaryRequest} request
|
|
590
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
591
|
+
*
|
|
592
|
+
* @example
|
|
593
|
+
* await client.analytics.checkoutAbandonmentGetsummary({
|
|
594
|
+
* startDate: "2024-01-01T00:00:00Z",
|
|
595
|
+
* endDate: "2024-12-31T23:59:59Z"
|
|
596
|
+
* })
|
|
597
|
+
*/
|
|
598
|
+
public checkoutAbandonmentGetsummary(
|
|
599
|
+
request: RevKeen.AnalyticsCheckoutAbandonmentGetSummaryRequest = {},
|
|
600
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
601
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCheckoutAbandonmentGetSummaryResponse> {
|
|
602
|
+
return core.HttpResponsePromise.fromPromise(this.__checkoutAbandonmentGetsummary(request, requestOptions));
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
private async __checkoutAbandonmentGetsummary(
|
|
606
|
+
request: RevKeen.AnalyticsCheckoutAbandonmentGetSummaryRequest = {},
|
|
607
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
608
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCheckoutAbandonmentGetSummaryResponse>> {
|
|
609
|
+
const { startDate, endDate } = request;
|
|
610
|
+
const _queryParams: Record<string, unknown> = {
|
|
611
|
+
startDate: startDate != null ? startDate : undefined,
|
|
612
|
+
endDate: endDate != null ? endDate : undefined,
|
|
613
|
+
};
|
|
614
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
615
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
616
|
+
_authRequest.headers,
|
|
617
|
+
this._options?.headers,
|
|
618
|
+
requestOptions?.headers,
|
|
619
|
+
);
|
|
620
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
621
|
+
url: core.url.join(
|
|
622
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
623
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
624
|
+
environments.RevKeenEnvironment.Default,
|
|
625
|
+
"analytics/checkout/abandonment/summary",
|
|
626
|
+
),
|
|
627
|
+
method: "GET",
|
|
628
|
+
headers: _headers,
|
|
629
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
630
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
631
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
632
|
+
abortSignal: requestOptions?.abortSignal,
|
|
633
|
+
fetchFn: this._options?.fetch,
|
|
634
|
+
logging: this._options.logging,
|
|
635
|
+
});
|
|
636
|
+
if (_response.ok) {
|
|
637
|
+
return {
|
|
638
|
+
data: _response.body as RevKeen.AnalyticsCheckoutAbandonmentGetSummaryResponse,
|
|
639
|
+
rawResponse: _response.rawResponse,
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
if (_response.error.reason === "status-code") {
|
|
644
|
+
throw new errors.RevKeenError({
|
|
645
|
+
statusCode: _response.error.statusCode,
|
|
646
|
+
body: _response.error.body,
|
|
647
|
+
rawResponse: _response.rawResponse,
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
return handleNonStatusCodeError(
|
|
652
|
+
_response.error,
|
|
653
|
+
_response.rawResponse,
|
|
654
|
+
"GET",
|
|
655
|
+
"/analytics/checkout/abandonment/summary",
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Get paginated list of abandonment alerts with filtering
|
|
661
|
+
*
|
|
662
|
+
* @param {RevKeen.AnalyticsCheckoutAbandonmentListRequest} request
|
|
663
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
664
|
+
*
|
|
665
|
+
* @example
|
|
666
|
+
* await client.analytics.checkoutAbandonmentList()
|
|
667
|
+
*/
|
|
668
|
+
public checkoutAbandonmentList(
|
|
669
|
+
request: RevKeen.AnalyticsCheckoutAbandonmentListRequest = {},
|
|
670
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
671
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCheckoutAbandonmentListResponse> {
|
|
672
|
+
return core.HttpResponsePromise.fromPromise(this.__checkoutAbandonmentList(request, requestOptions));
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
private async __checkoutAbandonmentList(
|
|
676
|
+
request: RevKeen.AnalyticsCheckoutAbandonmentListRequest = {},
|
|
677
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
678
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCheckoutAbandonmentListResponse>> {
|
|
679
|
+
const { status, severity, page, pageSize } = request;
|
|
680
|
+
const _queryParams: Record<string, unknown> = {
|
|
681
|
+
status: status != null ? status : undefined,
|
|
682
|
+
severity: severity != null ? severity : undefined,
|
|
683
|
+
page,
|
|
684
|
+
pageSize,
|
|
685
|
+
};
|
|
686
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
687
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
688
|
+
_authRequest.headers,
|
|
689
|
+
this._options?.headers,
|
|
690
|
+
requestOptions?.headers,
|
|
691
|
+
);
|
|
692
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
693
|
+
url: core.url.join(
|
|
694
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
695
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
696
|
+
environments.RevKeenEnvironment.Default,
|
|
697
|
+
"analytics/checkout/abandonment",
|
|
698
|
+
),
|
|
699
|
+
method: "GET",
|
|
700
|
+
headers: _headers,
|
|
701
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
702
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
703
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
704
|
+
abortSignal: requestOptions?.abortSignal,
|
|
705
|
+
fetchFn: this._options?.fetch,
|
|
706
|
+
logging: this._options.logging,
|
|
707
|
+
});
|
|
708
|
+
if (_response.ok) {
|
|
709
|
+
return {
|
|
710
|
+
data: _response.body as RevKeen.AnalyticsCheckoutAbandonmentListResponse,
|
|
711
|
+
rawResponse: _response.rawResponse,
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
if (_response.error.reason === "status-code") {
|
|
716
|
+
throw new errors.RevKeenError({
|
|
717
|
+
statusCode: _response.error.statusCode,
|
|
718
|
+
body: _response.error.body,
|
|
719
|
+
rawResponse: _response.rawResponse,
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
return handleNonStatusCodeError(
|
|
724
|
+
_response.error,
|
|
725
|
+
_response.rawResponse,
|
|
726
|
+
"GET",
|
|
727
|
+
"/analytics/checkout/abandonment",
|
|
728
|
+
);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Get aggregated winback opportunity metrics by type and status
|
|
733
|
+
*
|
|
734
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
735
|
+
*
|
|
736
|
+
* @example
|
|
737
|
+
* await client.analytics.checkoutWinbackGetsummary()
|
|
738
|
+
*/
|
|
739
|
+
public checkoutWinbackGetsummary(
|
|
740
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
741
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCheckoutWinbackGetSummaryResponse> {
|
|
742
|
+
return core.HttpResponsePromise.fromPromise(this.__checkoutWinbackGetsummary(requestOptions));
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
private async __checkoutWinbackGetsummary(
|
|
746
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
747
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCheckoutWinbackGetSummaryResponse>> {
|
|
748
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
749
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
750
|
+
_authRequest.headers,
|
|
751
|
+
this._options?.headers,
|
|
752
|
+
requestOptions?.headers,
|
|
753
|
+
);
|
|
754
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
755
|
+
url: core.url.join(
|
|
756
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
757
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
758
|
+
environments.RevKeenEnvironment.Default,
|
|
759
|
+
"analytics/checkout/winback/summary",
|
|
760
|
+
),
|
|
761
|
+
method: "GET",
|
|
762
|
+
headers: _headers,
|
|
763
|
+
queryParameters: requestOptions?.queryParams,
|
|
764
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
765
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
766
|
+
abortSignal: requestOptions?.abortSignal,
|
|
767
|
+
fetchFn: this._options?.fetch,
|
|
768
|
+
logging: this._options.logging,
|
|
769
|
+
});
|
|
770
|
+
if (_response.ok) {
|
|
771
|
+
return {
|
|
772
|
+
data: _response.body as RevKeen.AnalyticsCheckoutWinbackGetSummaryResponse,
|
|
773
|
+
rawResponse: _response.rawResponse,
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
if (_response.error.reason === "status-code") {
|
|
778
|
+
throw new errors.RevKeenError({
|
|
779
|
+
statusCode: _response.error.statusCode,
|
|
780
|
+
body: _response.error.body,
|
|
781
|
+
rawResponse: _response.rawResponse,
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
return handleNonStatusCodeError(
|
|
786
|
+
_response.error,
|
|
787
|
+
_response.rawResponse,
|
|
788
|
+
"GET",
|
|
789
|
+
"/analytics/checkout/winback/summary",
|
|
790
|
+
);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Get paginated list of winback opportunities with filtering
|
|
795
|
+
*
|
|
796
|
+
* @param {RevKeen.AnalyticsCheckoutWinbackListRequest} request
|
|
797
|
+
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
798
|
+
*
|
|
799
|
+
* @example
|
|
800
|
+
* await client.analytics.checkoutWinbackList()
|
|
801
|
+
*/
|
|
802
|
+
public checkoutWinbackList(
|
|
803
|
+
request: RevKeen.AnalyticsCheckoutWinbackListRequest = {},
|
|
804
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
805
|
+
): core.HttpResponsePromise<RevKeen.AnalyticsCheckoutWinbackListResponse> {
|
|
806
|
+
return core.HttpResponsePromise.fromPromise(this.__checkoutWinbackList(request, requestOptions));
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
private async __checkoutWinbackList(
|
|
810
|
+
request: RevKeen.AnalyticsCheckoutWinbackListRequest = {},
|
|
811
|
+
requestOptions?: AnalyticsClient.RequestOptions,
|
|
812
|
+
): Promise<core.WithRawResponse<RevKeen.AnalyticsCheckoutWinbackListResponse>> {
|
|
813
|
+
const { type: type_, status, minValueCents, page, pageSize } = request;
|
|
814
|
+
const _queryParams: Record<string, unknown> = {
|
|
815
|
+
type: type_ != null ? type_ : undefined,
|
|
816
|
+
status: status != null ? status : undefined,
|
|
817
|
+
minValueCents,
|
|
818
|
+
page,
|
|
819
|
+
pageSize,
|
|
820
|
+
};
|
|
821
|
+
const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
|
|
822
|
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
|
|
823
|
+
_authRequest.headers,
|
|
824
|
+
this._options?.headers,
|
|
825
|
+
requestOptions?.headers,
|
|
826
|
+
);
|
|
827
|
+
const _response = await (this._options.fetcher ?? core.fetcher)({
|
|
828
|
+
url: core.url.join(
|
|
829
|
+
(await core.Supplier.get(this._options.baseUrl)) ??
|
|
830
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
831
|
+
environments.RevKeenEnvironment.Default,
|
|
832
|
+
"analytics/checkout/winback",
|
|
833
|
+
),
|
|
834
|
+
method: "GET",
|
|
835
|
+
headers: _headers,
|
|
836
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
837
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
838
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
839
|
+
abortSignal: requestOptions?.abortSignal,
|
|
840
|
+
fetchFn: this._options?.fetch,
|
|
841
|
+
logging: this._options.logging,
|
|
842
|
+
});
|
|
843
|
+
if (_response.ok) {
|
|
844
|
+
return {
|
|
845
|
+
data: _response.body as RevKeen.AnalyticsCheckoutWinbackListResponse,
|
|
846
|
+
rawResponse: _response.rawResponse,
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
if (_response.error.reason === "status-code") {
|
|
851
|
+
throw new errors.RevKeenError({
|
|
852
|
+
statusCode: _response.error.statusCode,
|
|
853
|
+
body: _response.error.body,
|
|
854
|
+
rawResponse: _response.rawResponse,
|
|
855
|
+
});
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/analytics/checkout/winback");
|
|
859
|
+
}
|
|
860
|
+
}
|