@fs-ddiestra/dfs-sdk-typescript 0.0.0-placeholder.0 → 1.0.0-beta.1
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/LICENSE +202 -0
- package/README.md +328 -2
- package/dist/cjs/BaseClient.d.ts +55 -0
- package/dist/cjs/BaseClient.js +77 -0
- package/dist/cjs/Client.d.ts +56 -0
- package/dist/cjs/Client.js +133 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/MethodNotAllowedError.d.ts +7 -0
- package/dist/cjs/api/errors/MethodNotAllowedError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +5 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +7 -0
- package/dist/cjs/api/errors/index.js +23 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +134 -0
- package/dist/cjs/api/resources/accounts/client/Client.js +429 -0
- package/dist/cjs/api/resources/accounts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/client/index.js +17 -0
- package/dist/cjs/api/resources/accounts/client/requests/CreateOneAccountRequest.d.ts +36 -0
- package/dist/cjs/api/resources/accounts/client/requests/CreateOneAccountRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/ListAccountsRequest.d.ts +40 -0
- package/dist/cjs/api/resources/accounts/client/requests/ListAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/RetrieveAccountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/accounts/client/requests/RetrieveAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/RetrieveAuthenticateAccountsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/accounts/client/requests/RetrieveAuthenticateAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/UpdateOneAccountRequest.d.ts +53 -0
- package/dist/cjs/api/resources/accounts/client/requests/UpdateOneAccountRequest.js +3 -0
- package/dist/cjs/api/resources/accounts/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/accounts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/accounts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/accounts/exports.js +21 -0
- package/dist/cjs/api/resources/accounts/index.d.ts +2 -0
- package/dist/cjs/api/resources/accounts/index.js +18 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsRequestSubscriptions.d.ts +7 -0
- package/dist/cjs/api/resources/accounts/types/ListAccountsRequestSubscriptions.js +10 -0
- package/dist/cjs/api/resources/accounts/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/accounts/types/index.js +17 -0
- package/dist/cjs/api/resources/coupons/client/Client.d.ts +210 -0
- package/dist/cjs/api/resources/coupons/client/Client.js +494 -0
- package/dist/cjs/api/resources/coupons/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/coupons/client/index.js +17 -0
- package/dist/cjs/api/resources/coupons/client/requests/AddCodesRequest.d.ts +30 -0
- package/dist/cjs/api/resources/coupons/client/requests/AddCodesRequest.js +3 -0
- package/dist/cjs/api/resources/coupons/client/requests/CouponRequest.d.ts +190 -0
- package/dist/cjs/api/resources/coupons/client/requests/CouponRequest.js +3 -0
- package/dist/cjs/api/resources/coupons/client/requests/DeleteCouponsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/coupons/client/requests/DeleteCouponsRequest.js +3 -0
- package/dist/cjs/api/resources/coupons/client/requests/RetrieveCouponsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/coupons/client/requests/RetrieveCouponsRequest.js +3 -0
- package/dist/cjs/api/resources/coupons/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/coupons/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/coupons/exports.d.ts +3 -0
- package/dist/cjs/api/resources/coupons/exports.js +22 -0
- package/dist/cjs/api/resources/coupons/index.d.ts +3 -0
- package/dist/cjs/api/resources/coupons/index.js +19 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/Client.d.ts +61 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/Client.js +194 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/index.js +17 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/requests/DeleteCodesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/requests/DeleteCodesRequest.js +3 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/requests/ListCodesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/requests/ListCodesRequest.js +3 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/coupons/resources/codes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/coupons/resources/codes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/coupons/resources/codes/exports.js +21 -0
- package/dist/cjs/api/resources/coupons/resources/codes/index.d.ts +1 -0
- package/dist/cjs/api/resources/coupons/resources/codes/index.js +17 -0
- package/dist/cjs/api/resources/coupons/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/coupons/resources/index.js +41 -0
- package/dist/cjs/api/resources/coupons/types/CreateCouponsResponse.d.ts +10 -0
- package/dist/cjs/api/resources/coupons/types/CreateCouponsResponse.js +3 -0
- package/dist/cjs/api/resources/coupons/types/ListCouponsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/coupons/types/ListCouponsResponse.js +3 -0
- package/dist/cjs/api/resources/coupons/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/coupons/types/index.js +18 -0
- package/dist/cjs/api/resources/data/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/data/client/Client.js +16 -0
- package/dist/cjs/api/resources/data/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/client/index.js +2 -0
- package/dist/cjs/api/resources/data/exports.d.ts +3 -0
- package/dist/cjs/api/resources/data/exports.js +22 -0
- package/dist/cjs/api/resources/data/index.d.ts +2 -0
- package/dist/cjs/api/resources/data/index.js +18 -0
- package/dist/cjs/api/resources/data/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/data/resources/index.js +42 -0
- package/dist/cjs/api/resources/data/resources/v1/client/Client.d.ts +82 -0
- package/dist/cjs/api/resources/data/resources/v1/client/Client.js +233 -0
- package/dist/cjs/api/resources/data/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/client/index.js +17 -0
- package/dist/cjs/api/resources/data/resources/v1/client/requests/GenerateRevenueReportRequest.d.ts +150 -0
- package/dist/cjs/api/resources/data/resources/v1/client/requests/GenerateRevenueReportRequest.js +3 -0
- package/dist/cjs/api/resources/data/resources/v1/client/requests/GenerateSubscriptionReportRequest.d.ts +153 -0
- package/dist/cjs/api/resources/data/resources/v1/client/requests/GenerateSubscriptionReportRequest.js +3 -0
- package/dist/cjs/api/resources/data/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/data/resources/v1/exports.d.ts +3 -0
- package/dist/cjs/api/resources/data/resources/v1/exports.js +22 -0
- package/dist/cjs/api/resources/data/resources/v1/index.d.ts +3 -0
- package/dist/cjs/api/resources/data/resources/v1/index.js +19 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/Client.js +125 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/index.js +17 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/requests/RetrieveDownloadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/requests/RetrieveDownloadsRequest.js +3 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/exports.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/exports.js +21 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/downloads/index.js +17 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/index.js +44 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/Client.d.ts +51 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/Client.js +182 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/index.js +17 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/requests/RetrieveJobsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/requests/RetrieveJobsRequest.js +3 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/exports.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/exports.js +21 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/jobs/index.js +17 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/client/Client.js +118 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/client/index.js +2 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/exports.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/exports.js +21 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/index.d.ts +1 -0
- package/dist/cjs/api/resources/data/resources/v1/resources/util/index.js +17 -0
- package/dist/cjs/api/resources/data/resources/v1/types/GenerateRevenueReportV1Response.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/types/GenerateRevenueReportV1Response.js +3 -0
- package/dist/cjs/api/resources/data/resources/v1/types/GenerateSubscriptionReportV1Response.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/types/GenerateSubscriptionReportV1Response.js +3 -0
- package/dist/cjs/api/resources/data/resources/v1/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/data/resources/v1/types/index.js +18 -0
- package/dist/cjs/api/resources/events/client/Client.d.ts +80 -0
- package/dist/cjs/api/resources/events/client/Client.js +286 -0
- package/dist/cjs/api/resources/events/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/client/index.js +17 -0
- package/dist/cjs/api/resources/events/client/requests/ListProcessedEventsRequest.d.ts +26 -0
- package/dist/cjs/api/resources/events/client/requests/ListProcessedEventsRequest.js +3 -0
- package/dist/cjs/api/resources/events/client/requests/ListUnprocessedEventsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/events/client/requests/ListUnprocessedEventsRequest.js +3 -0
- package/dist/cjs/api/resources/events/client/requests/UpdateasingleeventRequest.d.ts +13 -0
- package/dist/cjs/api/resources/events/client/requests/UpdateasingleeventRequest.js +3 -0
- package/dist/cjs/api/resources/events/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/events/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/events/exports.d.ts +2 -0
- package/dist/cjs/api/resources/events/exports.js +21 -0
- package/dist/cjs/api/resources/events/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +28 -0
- package/dist/cjs/api/resources/index.js +67 -0
- package/dist/cjs/api/resources/invoices/client/Client.d.ts +123 -0
- package/dist/cjs/api/resources/invoices/client/Client.js +258 -0
- package/dist/cjs/api/resources/invoices/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/invoices/client/index.js +17 -0
- package/dist/cjs/api/resources/invoices/client/requests/InvoiceRequest.d.ts +177 -0
- package/dist/cjs/api/resources/invoices/client/requests/InvoiceRequest.js +23 -0
- package/dist/cjs/api/resources/invoices/client/requests/RetrieveInvoicesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/invoices/client/requests/RetrieveInvoicesRequest.js +3 -0
- package/dist/cjs/api/resources/invoices/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/invoices/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/invoices/exports.d.ts +2 -0
- package/dist/cjs/api/resources/invoices/exports.js +21 -0
- package/dist/cjs/api/resources/invoices/index.d.ts +1 -0
- package/dist/cjs/api/resources/invoices/index.js +17 -0
- package/dist/cjs/api/resources/orders/client/Client.d.ts +83 -0
- package/dist/cjs/api/resources/orders/client/Client.js +272 -0
- package/dist/cjs/api/resources/orders/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/orders/client/requests/ListOrdersRequest.d.ts +45 -0
- package/dist/cjs/api/resources/orders/client/requests/ListOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/orders/client/requests/RetrieveOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/orders/client/requests/RetrieveOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/orders/client/requests/UpdateOrderTagsRequest.d.ts +46 -0
- package/dist/cjs/api/resources/orders/client/requests/UpdateOrderTagsRequest.js +3 -0
- package/dist/cjs/api/resources/orders/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/orders/exports.js +21 -0
- package/dist/cjs/api/resources/orders/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/index.js +18 -0
- package/dist/cjs/api/resources/orders/types/ListOrdersRequestScope.d.ts +6 -0
- package/dist/cjs/api/resources/orders/types/ListOrdersRequestScope.js +9 -0
- package/dist/cjs/api/resources/orders/types/ListOrdersRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/orders/types/ListOrdersRequestStatus.js +9 -0
- package/dist/cjs/api/resources/orders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/types/index.js +18 -0
- package/dist/cjs/api/resources/products/client/Client.d.ts +303 -0
- package/dist/cjs/api/resources/products/client/Client.js +567 -0
- package/dist/cjs/api/resources/products/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/products/client/index.js +17 -0
- package/dist/cjs/api/resources/products/client/requests/CreateoneormorenewproductsRequest.d.ts +321 -0
- package/dist/cjs/api/resources/products/client/requests/CreateoneormorenewproductsRequest.js +34 -0
- package/dist/cjs/api/resources/products/client/requests/DeleteProductsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/products/client/requests/DeleteProductsRequest.js +3 -0
- package/dist/cjs/api/resources/products/client/requests/RetrieveProductsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/products/client/requests/RetrieveProductsRequest.js +3 -0
- package/dist/cjs/api/resources/products/client/requests/TaxRequest.d.ts +63 -0
- package/dist/cjs/api/resources/products/client/requests/TaxRequest.js +3 -0
- package/dist/cjs/api/resources/products/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/products/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/products/exports.d.ts +3 -0
- package/dist/cjs/api/resources/products/exports.js +22 -0
- package/dist/cjs/api/resources/products/index.d.ts +3 -0
- package/dist/cjs/api/resources/products/index.js +19 -0
- package/dist/cjs/api/resources/products/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/products/resources/index.js +44 -0
- package/dist/cjs/api/resources/products/resources/offers/client/Client.d.ts +83 -0
- package/dist/cjs/api/resources/products/resources/offers/client/Client.js +238 -0
- package/dist/cjs/api/resources/products/resources/offers/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/products/resources/offers/client/index.js +17 -0
- package/dist/cjs/api/resources/products/resources/offers/client/requests/CreateorupdateProductOffersRequest.d.ts +78 -0
- package/dist/cjs/api/resources/products/resources/offers/client/requests/CreateorupdateProductOffersRequest.js +30 -0
- package/dist/cjs/api/resources/products/resources/offers/client/requests/RetrieveOffersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/products/resources/offers/client/requests/RetrieveOffersRequest.js +3 -0
- package/dist/cjs/api/resources/products/resources/offers/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/products/resources/offers/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/products/resources/offers/exports.d.ts +2 -0
- package/dist/cjs/api/resources/products/resources/offers/exports.js +21 -0
- package/dist/cjs/api/resources/products/resources/offers/index.d.ts +2 -0
- package/dist/cjs/api/resources/products/resources/offers/index.js +18 -0
- package/dist/cjs/api/resources/products/resources/offers/types/RetrieveOffersRequestType.d.ts +11 -0
- package/dist/cjs/api/resources/products/resources/offers/types/RetrieveOffersRequestType.js +14 -0
- package/dist/cjs/api/resources/products/resources/offers/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/products/resources/offers/types/index.js +17 -0
- package/dist/cjs/api/resources/products/resources/price/client/Client.d.ts +54 -0
- package/dist/cjs/api/resources/products/resources/price/client/Client.js +204 -0
- package/dist/cjs/api/resources/products/resources/price/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/products/resources/price/client/index.js +17 -0
- package/dist/cjs/api/resources/products/resources/price/client/requests/ListPriceRequest.d.ts +17 -0
- package/dist/cjs/api/resources/products/resources/price/client/requests/ListPriceRequest.js +3 -0
- package/dist/cjs/api/resources/products/resources/price/client/requests/RetrievePriceRequest.d.ts +16 -0
- package/dist/cjs/api/resources/products/resources/price/client/requests/RetrievePriceRequest.js +3 -0
- package/dist/cjs/api/resources/products/resources/price/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/products/resources/price/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/products/resources/price/exports.d.ts +2 -0
- package/dist/cjs/api/resources/products/resources/price/exports.js +21 -0
- package/dist/cjs/api/resources/products/resources/price/index.d.ts +1 -0
- package/dist/cjs/api/resources/products/resources/price/index.js +17 -0
- package/dist/cjs/api/resources/products/types/CreateOrUpdateProductsResponse.d.ts +2 -0
- package/dist/cjs/api/resources/products/types/CreateOrUpdateProductsResponse.js +3 -0
- package/dist/cjs/api/resources/products/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/products/types/index.js +17 -0
- package/dist/cjs/api/resources/quotes/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/quotes/client/Client.js +427 -0
- package/dist/cjs/api/resources/quotes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/quotes/client/index.js +17 -0
- package/dist/cjs/api/resources/quotes/client/requests/CancelQuotesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/quotes/client/requests/CancelQuotesRequest.js +3 -0
- package/dist/cjs/api/resources/quotes/client/requests/CreateQuoteRequest.d.ts +119 -0
- package/dist/cjs/api/resources/quotes/client/requests/CreateQuoteRequest.js +12 -0
- package/dist/cjs/api/resources/quotes/client/requests/ListQuotesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/quotes/client/requests/ListQuotesRequest.js +3 -0
- package/dist/cjs/api/resources/quotes/client/requests/RetrieveQuotesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/quotes/client/requests/RetrieveQuotesRequest.js +3 -0
- package/dist/cjs/api/resources/quotes/client/requests/UpdateQuoteRequest.d.ts +141 -0
- package/dist/cjs/api/resources/quotes/client/requests/UpdateQuoteRequest.js +20 -0
- package/dist/cjs/api/resources/quotes/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/quotes/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/quotes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/quotes/exports.js +21 -0
- package/dist/cjs/api/resources/quotes/index.d.ts +2 -0
- package/dist/cjs/api/resources/quotes/index.js +18 -0
- package/dist/cjs/api/resources/quotes/types/ListQuotesRequestStatusesItem.d.ts +8 -0
- package/dist/cjs/api/resources/quotes/types/ListQuotesRequestStatusesItem.js +11 -0
- package/dist/cjs/api/resources/quotes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/quotes/types/index.js +17 -0
- package/dist/cjs/api/resources/returns/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/returns/client/Client.js +236 -0
- package/dist/cjs/api/resources/returns/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/returns/client/index.js +17 -0
- package/dist/cjs/api/resources/returns/client/requests/PostReturnsRequest.d.ts +151 -0
- package/dist/cjs/api/resources/returns/client/requests/PostReturnsRequest.js +58 -0
- package/dist/cjs/api/resources/returns/client/requests/RetrieveReturnsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/returns/client/requests/RetrieveReturnsRequest.js +3 -0
- package/dist/cjs/api/resources/returns/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/returns/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/returns/exports.d.ts +2 -0
- package/dist/cjs/api/resources/returns/exports.js +21 -0
- package/dist/cjs/api/resources/returns/index.d.ts +1 -0
- package/dist/cjs/api/resources/returns/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/client/Client.d.ts +573 -0
- package/dist/cjs/api/resources/subscriptions/client/Client.js +1219 -0
- package/dist/cjs/api/resources/subscriptions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/client/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/CancelSubscriptionsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/CancelSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ChargeSubscriptionRequest.d.ts +33 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ChargeSubscriptionRequest.js +18 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ConvertSubscriptionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ConvertSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/EstimateSubscriptionsRequest.d.ts +132 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/EstimateSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ListEntriesSubscriptionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ListEntriesSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ListHistorySubscriptionsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ListHistorySubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ListSubscriptionsRequest.d.ts +36 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ListSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/PauseSubscriptionRequest.d.ts +13 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/PauseSubscriptionRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ResumeSubscriptionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/ResumeSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/RetrieveSubscriptionsRequest.d.ts +32 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/RetrieveSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/TransferSubscriptionsRequest.d.ts +83 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/TransferSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/UpdateSubscriptionsRequest.d.ts +263 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/UpdateSubscriptionsRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/index.d.ts +12 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/subscriptions/exports.d.ts +3 -0
- package/dist/cjs/api/resources/subscriptions/exports.js +22 -0
- package/dist/cjs/api/resources/subscriptions/index.d.ts +3 -0
- package/dist/cjs/api/resources/subscriptions/index.js +19 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/Client.d.ts +38 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/Client.js +136 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/requests/RetrieveCancelSurveyRequest.d.ts +13 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/requests/RetrieveCancelSurveyRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/exports.d.ts +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/exports.js +22 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/index.d.ts +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/index.js +19 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/index.js +42 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/Client.d.ts +65 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/Client.js +202 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/CreateResponseRequest.d.ts +106 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/CreateResponseRequest.js +70 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/QueryResponseRequest.d.ts +57 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/QueryResponseRequest.js +24 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/exports.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/exports.js +21 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/index.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/index.js +18 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/CreateResponseResponse.d.ts +16 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/CreateResponseResponse.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/QueryResponseResponse.d.ts +37 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/QueryResponseResponse.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/index.js +18 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyRequestLang.d.ts +25 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyRequestLang.js +28 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyResponse.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyResponse.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/cancelSurvey/types/index.js +18 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/Client.d.ts +148 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/Client.js +475 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/CreateCoTermGroupRequest.d.ts +24 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/CreateCoTermGroupRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/DeleteCotermRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/DeleteCotermRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/EstimateCotermRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/EstimateCotermRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/ExecuteCotermRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/ExecuteCotermRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/RetrieveCotermRequest.d.ts +10 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/RetrieveCotermRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/UpdateCoTermGroupRequest.d.ts +30 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/UpdateCoTermGroupRequest.js +12 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/exports.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/exports.js +21 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/coterm/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/subscriptions/resources/index.js +47 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/Client.js +213 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/requests/CreateProformaInvoiceRequest.d.ts +67 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/requests/CreateProformaInvoiceRequest.js +32 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/requests/RetrieveProformaInvoiceRequest.d.ts +13 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/requests/RetrieveProformaInvoiceRequest.js +3 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/exports.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/exports.js +21 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/index.d.ts +2 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/index.js +18 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/types/RetrieveProformaInvoiceRequestLang.d.ts +25 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/types/RetrieveProformaInvoiceRequestLang.js +28 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/subscriptions/resources/proformaInvoice/types/index.js +17 -0
- package/dist/cjs/api/resources/subscriptions/types/ListHistorySubscriptionsRequestOrder.d.ts +5 -0
- package/dist/cjs/api/resources/subscriptions/types/ListHistorySubscriptionsRequestOrder.js +8 -0
- package/dist/cjs/api/resources/subscriptions/types/ListHistorySubscriptionsRequestScope.d.ts +5 -0
- package/dist/cjs/api/resources/subscriptions/types/ListHistorySubscriptionsRequestScope.js +8 -0
- package/dist/cjs/api/resources/subscriptions/types/ListSubscriptionsRequestEvent.d.ts +9 -0
- package/dist/cjs/api/resources/subscriptions/types/ListSubscriptionsRequestEvent.js +12 -0
- package/dist/cjs/api/resources/subscriptions/types/ListSubscriptionsRequestScope.d.ts +6 -0
- package/dist/cjs/api/resources/subscriptions/types/ListSubscriptionsRequestScope.js +9 -0
- package/dist/cjs/api/resources/subscriptions/types/ListSubscriptionsRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/subscriptions/types/ListSubscriptionsRequestStatus.js +11 -0
- package/dist/cjs/api/resources/subscriptions/types/RetrieveSubscriptionsRequestEvent.d.ts +9 -0
- package/dist/cjs/api/resources/subscriptions/types/RetrieveSubscriptionsRequestEvent.js +12 -0
- package/dist/cjs/api/resources/subscriptions/types/RetrieveSubscriptionsRequestScope.d.ts +6 -0
- package/dist/cjs/api/resources/subscriptions/types/RetrieveSubscriptionsRequestScope.js +9 -0
- package/dist/cjs/api/resources/subscriptions/types/RetrieveSubscriptionsRequestStatus.d.ts +8 -0
- package/dist/cjs/api/resources/subscriptions/types/RetrieveSubscriptionsRequestStatus.js +11 -0
- package/dist/cjs/api/resources/subscriptions/types/index.d.ts +8 -0
- package/dist/cjs/api/resources/subscriptions/types/index.js +24 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +141 -0
- package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateKeySecretWebhooksRequest.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateKeySecretWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/index.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateKeySecretWebhooksResponse.d.ts +8 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateKeySecretWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +17 -0
- package/dist/cjs/api/types/AddCodesSuccessResponse.d.ts +29 -0
- package/dist/cjs/api/types/AddCodesSuccessResponse.js +11 -0
- package/dist/cjs/api/types/AddonSnapshot.d.ts +13 -0
- package/dist/cjs/api/types/AddonSnapshot.js +3 -0
- package/dist/cjs/api/types/Address.d.ts +23 -0
- package/dist/cjs/api/types/Address.js +3 -0
- package/dist/cjs/api/types/AmountDue.d.ts +27 -0
- package/dist/cjs/api/types/AmountDue.js +3 -0
- package/dist/cjs/api/types/AuthFailureResponse.d.ts +10 -0
- package/dist/cjs/api/types/AuthFailureResponse.js +3 -0
- package/dist/cjs/api/types/AuthenticateAccount.d.ts +4 -0
- package/dist/cjs/api/types/AuthenticateAccount.js +3 -0
- package/dist/cjs/api/types/AuthenticateAccountError.d.ts +4 -0
- package/dist/cjs/api/types/AuthenticateAccountError.js +3 -0
- package/dist/cjs/api/types/AuthenticateAccountError400.d.ts +15 -0
- package/dist/cjs/api/types/AuthenticateAccountError400.js +3 -0
- package/dist/cjs/api/types/Availability.d.ts +20 -0
- package/dist/cjs/api/types/Availability.js +3 -0
- package/dist/cjs/api/types/BadRequestErrorBody.d.ts +19 -0
- package/dist/cjs/api/types/BadRequestErrorBody.js +3 -0
- package/dist/cjs/api/types/CancelReason.d.ts +39 -0
- package/dist/cjs/api/types/CancelReason.js +27 -0
- package/dist/cjs/api/types/CancelSubscriptionResponse.d.ts +20 -0
- package/dist/cjs/api/types/CancelSubscriptionResponse.js +3 -0
- package/dist/cjs/api/types/CancelSurvey.d.ts +73 -0
- package/dist/cjs/api/types/CancelSurvey.js +55 -0
- package/dist/cjs/api/types/CancelSurveyReasonsResponse.d.ts +32 -0
- package/dist/cjs/api/types/CancelSurveyReasonsResponse.js +3 -0
- package/dist/cjs/api/types/CancelSurveyRecordedResponse.d.ts +31 -0
- package/dist/cjs/api/types/CancelSurveyRecordedResponse.js +3 -0
- package/dist/cjs/api/types/ChargeSubscriptionErrorResponse.d.ts +26 -0
- package/dist/cjs/api/types/ChargeSubscriptionErrorResponse.js +3 -0
- package/dist/cjs/api/types/ChargeSubscriptionResponse.d.ts +40 -0
- package/dist/cjs/api/types/ChargeSubscriptionResponse.js +18 -0
- package/dist/cjs/api/types/CoTermCreateResponse.d.ts +13 -0
- package/dist/cjs/api/types/CoTermCreateResponse.js +3 -0
- package/dist/cjs/api/types/CoTermDeleteResponse.d.ts +22 -0
- package/dist/cjs/api/types/CoTermDeleteResponse.js +3 -0
- package/dist/cjs/api/types/CoTermDetailResponse.d.ts +27 -0
- package/dist/cjs/api/types/CoTermDetailResponse.js +3 -0
- package/dist/cjs/api/types/CoTermEstimateResponse.d.ts +33 -0
- package/dist/cjs/api/types/CoTermEstimateResponse.js +3 -0
- package/dist/cjs/api/types/CoTermExecutionResponse.d.ts +31 -0
- package/dist/cjs/api/types/CoTermExecutionResponse.js +3 -0
- package/dist/cjs/api/types/CoTermGroupObject.d.ts +25 -0
- package/dist/cjs/api/types/CoTermGroupObject.js +3 -0
- package/dist/cjs/api/types/CoTermUpdateResponse.d.ts +12 -0
- package/dist/cjs/api/types/CoTermUpdateResponse.js +3 -0
- package/dist/cjs/api/types/Contact.d.ts +27 -0
- package/dist/cjs/api/types/Contact.js +3 -0
- package/dist/cjs/api/types/ConvertExpiredTrialWithoutPaymentMethodResponse.d.ts +30 -0
- package/dist/cjs/api/types/ConvertExpiredTrialWithoutPaymentMethodResponse.js +3 -0
- package/dist/cjs/api/types/CouponCodesResponse.d.ts +12 -0
- package/dist/cjs/api/types/CouponCodesResponse.js +3 -0
- package/dist/cjs/api/types/CouponErrorResponse.d.ts +23 -0
- package/dist/cjs/api/types/CouponErrorResponse.js +11 -0
- package/dist/cjs/api/types/CouponResponse.d.ts +67 -0
- package/dist/cjs/api/types/CouponResponse.js +3 -0
- package/dist/cjs/api/types/CreateOneAccountResponse.d.ts +10 -0
- package/dist/cjs/api/types/CreateOneAccountResponse.js +3 -0
- package/dist/cjs/api/types/CreateProductsResponse.d.ts +18 -0
- package/dist/cjs/api/types/CreateProductsResponse.js +3 -0
- package/dist/cjs/api/types/CreateorupdateProductOffersError.d.ts +15 -0
- package/dist/cjs/api/types/CreateorupdateProductOffersError.js +3 -0
- package/dist/cjs/api/types/DeleteCodesSuccessResponse.d.ts +17 -0
- package/dist/cjs/api/types/DeleteCodesSuccessResponse.js +11 -0
- package/dist/cjs/api/types/DeleteCouponSuccessResponse.d.ts +15 -0
- package/dist/cjs/api/types/DeleteCouponSuccessResponse.js +11 -0
- package/dist/cjs/api/types/DeleteProductErrorResponse400.d.ts +23 -0
- package/dist/cjs/api/types/DeleteProductErrorResponse400.js +3 -0
- package/dist/cjs/api/types/DeleteProductSuccessResponse.d.ts +16 -0
- package/dist/cjs/api/types/DeleteProductSuccessResponse.js +3 -0
- package/dist/cjs/api/types/DeserializationErrorResponse.d.ts +10 -0
- package/dist/cjs/api/types/DeserializationErrorResponse.js +3 -0
- package/dist/cjs/api/types/DiscountAddOn.d.ts +15 -0
- package/dist/cjs/api/types/DiscountAddOn.js +3 -0
- package/dist/cjs/api/types/DiscountApplied.d.ts +15 -0
- package/dist/cjs/api/types/DiscountApplied.js +3 -0
- package/dist/cjs/api/types/DiscountAppliedToProduct.d.ts +15 -0
- package/dist/cjs/api/types/DiscountAppliedToProduct.js +3 -0
- package/dist/cjs/api/types/DiscountConfig.d.ts +30 -0
- package/dist/cjs/api/types/DiscountConfig.js +12 -0
- package/dist/cjs/api/types/DiscountResponseConfig.d.ts +3 -0
- package/dist/cjs/api/types/DiscountResponseConfig.js +3 -0
- package/dist/cjs/api/types/DiscountSubscription.d.ts +21 -0
- package/dist/cjs/api/types/DiscountSubscription.js +12 -0
- package/dist/cjs/api/types/DiscountTotals.d.ts +13 -0
- package/dist/cjs/api/types/DiscountTotals.js +3 -0
- package/dist/cjs/api/types/ErrorNotFoundResponse.d.ts +15 -0
- package/dist/cjs/api/types/ErrorNotFoundResponse.js +3 -0
- package/dist/cjs/api/types/ErrorResponse.d.ts +11 -0
- package/dist/cjs/api/types/ErrorResponse.js +3 -0
- package/dist/cjs/api/types/ErrorResponseV2.d.ts +6 -0
- package/dist/cjs/api/types/ErrorResponseV2.js +3 -0
- package/dist/cjs/api/types/EstimateSubscriptionErrorResponse400.d.ts +15 -0
- package/dist/cjs/api/types/EstimateSubscriptionErrorResponse400.js +3 -0
- package/dist/cjs/api/types/EstimateSubscriptionErrorResponse404.d.ts +15 -0
- package/dist/cjs/api/types/EstimateSubscriptionErrorResponse404.js +3 -0
- package/dist/cjs/api/types/EstimateSubscriptionSuccessResponse.d.ts +347 -0
- package/dist/cjs/api/types/EstimateSubscriptionSuccessResponse.js +3 -0
- package/dist/cjs/api/types/EventType.d.ts +38 -0
- package/dist/cjs/api/types/EventType.js +41 -0
- package/dist/cjs/api/types/EventsUpdateError400NotFound.d.ts +23 -0
- package/dist/cjs/api/types/EventsUpdateError400NotFound.js +3 -0
- package/dist/cjs/api/types/EventsUpdateResponse.d.ts +80 -0
- package/dist/cjs/api/types/EventsUpdateResponse.js +3 -0
- package/dist/cjs/api/types/GetASubscriptionResponse.d.ts +102 -0
- package/dist/cjs/api/types/GetASubscriptionResponse.js +3 -0
- package/dist/cjs/api/types/GetAllAccounts.d.ts +16 -0
- package/dist/cjs/api/types/GetAllAccounts.js +3 -0
- package/dist/cjs/api/types/GetAllOffersforProductByOfferTypeSuccessResponse.d.ts +46 -0
- package/dist/cjs/api/types/GetAllOffersforProductByOfferTypeSuccessResponse.js +30 -0
- package/dist/cjs/api/types/GetAllOrders.d.ts +16 -0
- package/dist/cjs/api/types/GetAllOrders.js +3 -0
- package/dist/cjs/api/types/GetAllProductPriceSuccessResponse.d.ts +86 -0
- package/dist/cjs/api/types/GetAllProductPriceSuccessResponse.js +3 -0
- package/dist/cjs/api/types/GetAllProducts.d.ts +16 -0
- package/dist/cjs/api/types/GetAllProducts.js +3 -0
- package/dist/cjs/api/types/GetAllSubscriptionsInstancesResponse.d.ts +46 -0
- package/dist/cjs/api/types/GetAllSubscriptionsInstancesResponse.js +3 -0
- package/dist/cjs/api/types/GetDownloadIdResponseBad.d.ts +28 -0
- package/dist/cjs/api/types/GetDownloadIdResponseBad.js +3 -0
- package/dist/cjs/api/types/GetEventsResponse.d.ts +189 -0
- package/dist/cjs/api/types/GetEventsResponse.js +3 -0
- package/dist/cjs/api/types/GetEventsResponseUnprocessed.d.ts +189 -0
- package/dist/cjs/api/types/GetEventsResponseUnprocessed.js +3 -0
- package/dist/cjs/api/types/GetJobIdResponse.d.ts +16 -0
- package/dist/cjs/api/types/GetJobIdResponse.js +3 -0
- package/dist/cjs/api/types/GetJobIdResponseBad.d.ts +28 -0
- package/dist/cjs/api/types/GetJobIdResponseBad.js +3 -0
- package/dist/cjs/api/types/GetJobsResponse.d.ts +5 -0
- package/dist/cjs/api/types/GetJobsResponse.js +3 -0
- package/dist/cjs/api/types/GetJobsResponseItem.d.ts +19 -0
- package/dist/cjs/api/types/GetJobsResponseItem.js +3 -0
- package/dist/cjs/api/types/GetOneAccount.d.ts +74 -0
- package/dist/cjs/api/types/GetOneAccount.js +3 -0
- package/dist/cjs/api/types/GetOneAccountError400.d.ts +17 -0
- package/dist/cjs/api/types/GetOneAccountError400.js +3 -0
- package/dist/cjs/api/types/GetOrdersById.d.ts +303 -0
- package/dist/cjs/api/types/GetOrdersById.js +3 -0
- package/dist/cjs/api/types/GetOrdersByIdError.d.ts +28 -0
- package/dist/cjs/api/types/GetOrdersByIdError.js +3 -0
- package/dist/cjs/api/types/GetProductPriceSuccessResponse.d.ts +84 -0
- package/dist/cjs/api/types/GetProductPriceSuccessResponse.js +3 -0
- package/dist/cjs/api/types/GetProductsByPth.d.ts +318 -0
- package/dist/cjs/api/types/GetProductsByPth.js +104 -0
- package/dist/cjs/api/types/GetProductsOffersErrorResponse400.d.ts +23 -0
- package/dist/cjs/api/types/GetProductsOffersErrorResponse400.js +3 -0
- package/dist/cjs/api/types/GetReturnsResponse.d.ts +194 -0
- package/dist/cjs/api/types/GetReturnsResponse.js +3 -0
- package/dist/cjs/api/types/GroupingCriteria.d.ts +31 -0
- package/dist/cjs/api/types/GroupingCriteria.js +3 -0
- package/dist/cjs/api/types/InvoiceGetResponse.d.ts +90 -0
- package/dist/cjs/api/types/InvoiceGetResponse.js +3 -0
- package/dist/cjs/api/types/InvoiceItem.d.ts +74 -0
- package/dist/cjs/api/types/InvoiceItem.js +3 -0
- package/dist/cjs/api/types/InvoicePostResponse.d.ts +71 -0
- package/dist/cjs/api/types/InvoicePostResponse.js +3 -0
- package/dist/cjs/api/types/InvoiceStatus.d.ts +20 -0
- package/dist/cjs/api/types/InvoiceStatus.js +23 -0
- package/dist/cjs/api/types/InvoiceTotals.d.ts +37 -0
- package/dist/cjs/api/types/InvoiceTotals.js +3 -0
- package/dist/cjs/api/types/InvoiceType.d.ts +10 -0
- package/dist/cjs/api/types/InvoiceType.js +13 -0
- package/dist/cjs/api/types/ListAllQuotesResponse.d.ts +632 -0
- package/dist/cjs/api/types/ListAllQuotesResponse.js +29 -0
- package/dist/cjs/api/types/MultiDiscountInfo.d.ts +7 -0
- package/dist/cjs/api/types/MultiDiscountInfo.js +3 -0
- package/dist/cjs/api/types/MultiDiscountTier.d.ts +33 -0
- package/dist/cjs/api/types/MultiDiscountTier.js +12 -0
- package/dist/cjs/api/types/OnlyCanceledErrorResponse.d.ts +20 -0
- package/dist/cjs/api/types/OnlyCanceledErrorResponse.js +3 -0
- package/dist/cjs/api/types/OnlyDeactivatedErrorResponse.d.ts +20 -0
- package/dist/cjs/api/types/OnlyDeactivatedErrorResponse.js +3 -0
- package/dist/cjs/api/types/Organization.d.ts +13 -0
- package/dist/cjs/api/types/Organization.js +3 -0
- package/dist/cjs/api/types/PauseSubscriptionErrorResponse.d.ts +20 -0
- package/dist/cjs/api/types/PauseSubscriptionErrorResponse.js +3 -0
- package/dist/cjs/api/types/PauseSubscriptionResponse.d.ts +357 -0
- package/dist/cjs/api/types/PauseSubscriptionResponse.js +3 -0
- package/dist/cjs/api/types/PlanSnapshot.d.ts +98 -0
- package/dist/cjs/api/types/PlanSnapshot.js +3 -0
- package/dist/cjs/api/types/PostReturns400ErrorResponse.d.ts +27 -0
- package/dist/cjs/api/types/PostReturns400ErrorResponse.js +3 -0
- package/dist/cjs/api/types/PostReturnsResponse.d.ts +194 -0
- package/dist/cjs/api/types/PostReturnsResponse.js +3 -0
- package/dist/cjs/api/types/PostRevenueAsyncResponse.d.ts +42 -0
- package/dist/cjs/api/types/PostRevenueAsyncResponse.js +3 -0
- package/dist/cjs/api/types/PostRevenueResponseBad.d.ts +28 -0
- package/dist/cjs/api/types/PostRevenueResponseBad.js +3 -0
- package/dist/cjs/api/types/PostRevenueSyncResponse.d.ts +52 -0
- package/dist/cjs/api/types/PostRevenueSyncResponse.js +3 -0
- package/dist/cjs/api/types/PostSubscriptionAsyncResponse.d.ts +36 -0
- package/dist/cjs/api/types/PostSubscriptionAsyncResponse.js +3 -0
- package/dist/cjs/api/types/PostSubscriptionResponseBad.d.ts +31 -0
- package/dist/cjs/api/types/PostSubscriptionResponseBad.js +3 -0
- package/dist/cjs/api/types/PostSubscriptionSyncResponse.d.ts +78 -0
- package/dist/cjs/api/types/PostSubscriptionSyncResponse.js +3 -0
- package/dist/cjs/api/types/ProductOffersResponses.d.ts +4 -0
- package/dist/cjs/api/types/ProductOffersResponses.js +3 -0
- package/dist/cjs/api/types/ProductResponse.d.ts +8 -0
- package/dist/cjs/api/types/ProductResponse.js +3 -0
- package/dist/cjs/api/types/ProductTotal.d.ts +9 -0
- package/dist/cjs/api/types/ProductTotal.js +3 -0
- package/dist/cjs/api/types/Proforma400Response.d.ts +13 -0
- package/dist/cjs/api/types/Proforma400Response.js +3 -0
- package/dist/cjs/api/types/Proforma404Response.d.ts +13 -0
- package/dist/cjs/api/types/Proforma404Response.js +3 -0
- package/dist/cjs/api/types/Proforma405Response.d.ts +13 -0
- package/dist/cjs/api/types/Proforma405Response.js +3 -0
- package/dist/cjs/api/types/Proforma500Response.d.ts +13 -0
- package/dist/cjs/api/types/Proforma500Response.js +3 -0
- package/dist/cjs/api/types/ProformaCreateInvoiceResponse.d.ts +160 -0
- package/dist/cjs/api/types/ProformaCreateInvoiceResponse.js +3 -0
- package/dist/cjs/api/types/ProformaInvoiceResponse.d.ts +486 -0
- package/dist/cjs/api/types/ProformaInvoiceResponse.js +3 -0
- package/dist/cjs/api/types/Quote.d.ts +614 -0
- package/dist/cjs/api/types/Quote.js +20 -0
- package/dist/cjs/api/types/ResourceErrorResponse.d.ts +17 -0
- package/dist/cjs/api/types/ResourceErrorResponse.js +10 -0
- package/dist/cjs/api/types/ResumeSubscriptionErrorResponse.d.ts +20 -0
- package/dist/cjs/api/types/ResumeSubscriptionErrorResponse.js +3 -0
- package/dist/cjs/api/types/ResumeSubscriptionResponse.d.ts +337 -0
- package/dist/cjs/api/types/ResumeSubscriptionResponse.js +3 -0
- package/dist/cjs/api/types/RetrieveAuthenticateAccount.d.ts +12 -0
- package/dist/cjs/api/types/RetrieveAuthenticateAccount.js +3 -0
- package/dist/cjs/api/types/RetrieveCharges.d.ts +36 -0
- package/dist/cjs/api/types/RetrieveCharges.js +12 -0
- package/dist/cjs/api/types/RetrieveSubscriptionErrorResponse400.d.ts +46 -0
- package/dist/cjs/api/types/RetrieveSubscriptionErrorResponse400.js +3 -0
- package/dist/cjs/api/types/RetrieveUpdateAccountResponse.d.ts +10 -0
- package/dist/cjs/api/types/RetrieveUpdateAccountResponse.js +3 -0
- package/dist/cjs/api/types/SubscriptionCancelErrorResponse.d.ts +22 -0
- package/dist/cjs/api/types/SubscriptionCancelErrorResponse.js +3 -0
- package/dist/cjs/api/types/SubscriptionChangeResult.d.ts +27 -0
- package/dist/cjs/api/types/SubscriptionChangeResult.js +3 -0
- package/dist/cjs/api/types/SubscriptionDetail.d.ts +27 -0
- package/dist/cjs/api/types/SubscriptionDetail.js +3 -0
- package/dist/cjs/api/types/SubscriptionEntriesErrorResponse.d.ts +6 -0
- package/dist/cjs/api/types/SubscriptionEntriesErrorResponse.js +3 -0
- package/dist/cjs/api/types/SubscriptionEntriesResponse.d.ts +2 -0
- package/dist/cjs/api/types/SubscriptionEntriesResponse.js +3 -0
- package/dist/cjs/api/types/SubscriptionEntriesResponseItem.d.ts +338 -0
- package/dist/cjs/api/types/SubscriptionEntriesResponseItem.js +3 -0
- package/dist/cjs/api/types/SubscriptionEstimate.d.ts +42 -0
- package/dist/cjs/api/types/SubscriptionEstimate.js +3 -0
- package/dist/cjs/api/types/SubscriptionHistoryErrorResponse.d.ts +31 -0
- package/dist/cjs/api/types/SubscriptionHistoryErrorResponse.js +3 -0
- package/dist/cjs/api/types/SubscriptionHistoryResponse.d.ts +52 -0
- package/dist/cjs/api/types/SubscriptionHistoryResponse.js +3 -0
- package/dist/cjs/api/types/TaxDetail.d.ts +19 -0
- package/dist/cjs/api/types/TaxDetail.js +3 -0
- package/dist/cjs/api/types/TaxErrorResponse400.d.ts +20 -0
- package/dist/cjs/api/types/TaxErrorResponse400.js +3 -0
- package/dist/cjs/api/types/TaxGroup.d.ts +10 -0
- package/dist/cjs/api/types/TaxGroup.js +3 -0
- package/dist/cjs/api/types/TaxGroupItem.d.ts +15 -0
- package/dist/cjs/api/types/TaxGroupItem.js +3 -0
- package/dist/cjs/api/types/TaxResponse.d.ts +22 -0
- package/dist/cjs/api/types/TaxResponse.js +3 -0
- package/dist/cjs/api/types/TaxResult.d.ts +22 -0
- package/dist/cjs/api/types/TaxResult.js +3 -0
- package/dist/cjs/api/types/TaxResultItemError.d.ts +16 -0
- package/dist/cjs/api/types/TaxResultItemError.js +3 -0
- package/dist/cjs/api/types/TaxResultItemSuccess.d.ts +14 -0
- package/dist/cjs/api/types/TaxResultItemSuccess.js +3 -0
- package/dist/cjs/api/types/TransferSubscriptionSuccessResponse.d.ts +29 -0
- package/dist/cjs/api/types/TransferSubscriptionSuccessResponse.js +3 -0
- package/dist/cjs/api/types/UnableFindErrorResponse.d.ts +20 -0
- package/dist/cjs/api/types/UnableFindErrorResponse.js +3 -0
- package/dist/cjs/api/types/UnableReactivateErrorResponse.d.ts +20 -0
- package/dist/cjs/api/types/UnableReactivateErrorResponse.js +3 -0
- package/dist/cjs/api/types/UpdateOneAccountResponse.d.ts +12 -0
- package/dist/cjs/api/types/UpdateOneAccountResponse.js +3 -0
- package/dist/cjs/api/types/UpdateOrderTagsError400NotFound.d.ts +23 -0
- package/dist/cjs/api/types/UpdateOrderTagsError400NotFound.js +3 -0
- package/dist/cjs/api/types/UpdateOrderTagsError400NotValid.d.ts +23 -0
- package/dist/cjs/api/types/UpdateOrderTagsError400NotValid.js +3 -0
- package/dist/cjs/api/types/UpdateOrderTagsResponse.d.ts +16 -0
- package/dist/cjs/api/types/UpdateOrderTagsResponse.js +3 -0
- package/dist/cjs/api/types/UpdateProductsResponse.d.ts +19 -0
- package/dist/cjs/api/types/UpdateProductsResponse.js +3 -0
- package/dist/cjs/api/types/UpdateSubscriptionResponse.d.ts +114 -0
- package/dist/cjs/api/types/UpdateSubscriptionResponse.js +3 -0
- package/dist/cjs/api/types/UpsertSuccessResponse.d.ts +14 -0
- package/dist/cjs/api/types/UpsertSuccessResponse.js +12 -0
- package/dist/cjs/api/types/index.d.ts +143 -0
- package/dist/cjs/api/types/index.js +159 -0
- package/dist/cjs/auth/BasicAuthProvider.d.ts +24 -0
- package/dist/cjs/auth/BasicAuthProvider.js +93 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +9 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +11 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +274 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +58 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +17 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +85 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +173 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -0
- package/dist/cjs/core/fetcher/makeRequest.js +94 -0
- package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +91 -0
- package/dist/cjs/core/fetcher/signals.d.ts +6 -0
- package/dist/cjs/core/fetcher/signals.js +33 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +6 -0
- package/dist/cjs/core/index.js +45 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +6 -0
- package/dist/cjs/core/runtime/runtime.d.ts +28 -0
- package/dist/cjs/core/runtime/runtime.js +176 -0
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +3 -0
- package/dist/cjs/core/url/encodePathParam.js +27 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +11 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +7 -0
- package/dist/cjs/core/url/qs.js +76 -0
- package/dist/cjs/environments.d.ts +4 -0
- package/dist/cjs/environments.js +7 -0
- package/dist/cjs/errors/FastSpringError.d.ts +15 -0
- package/dist/cjs/errors/FastSpringError.js +53 -0
- package/dist/cjs/errors/FastSpringTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/FastSpringTimeoutError.js +52 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +48 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +55 -0
- package/dist/esm/BaseClient.mjs +40 -0
- package/dist/esm/Client.d.mts +56 -0
- package/dist/esm/Client.mjs +96 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/errors/ForbiddenError.d.mts +7 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/errors/MethodNotAllowedError.d.mts +7 -0
- package/dist/esm/api/errors/MethodNotAllowedError.mjs +17 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +5 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
- package/dist/esm/api/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +7 -0
- package/dist/esm/api/errors/index.mjs +7 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/accounts/client/Client.d.mts +134 -0
- package/dist/esm/api/resources/accounts/client/Client.mjs +392 -0
- package/dist/esm/api/resources/accounts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/client/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/client/requests/CreateOneAccountRequest.d.mts +36 -0
- package/dist/esm/api/resources/accounts/client/requests/CreateOneAccountRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/ListAccountsRequest.d.mts +40 -0
- package/dist/esm/api/resources/accounts/client/requests/ListAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/RetrieveAccountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/accounts/client/requests/RetrieveAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/RetrieveAuthenticateAccountsRequest.d.mts +12 -0
- package/dist/esm/api/resources/accounts/client/requests/RetrieveAuthenticateAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/UpdateOneAccountRequest.d.mts +53 -0
- package/dist/esm/api/resources/accounts/client/requests/UpdateOneAccountRequest.mjs +2 -0
- package/dist/esm/api/resources/accounts/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/accounts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/accounts/exports.d.mts +2 -0
- package/dist/esm/api/resources/accounts/exports.mjs +3 -0
- package/dist/esm/api/resources/accounts/index.d.mts +2 -0
- package/dist/esm/api/resources/accounts/index.mjs +2 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsRequestSubscriptions.d.mts +7 -0
- package/dist/esm/api/resources/accounts/types/ListAccountsRequestSubscriptions.mjs +7 -0
- package/dist/esm/api/resources/accounts/types/index.d.mts +1 -0
- package/dist/esm/api/resources/accounts/types/index.mjs +1 -0
- package/dist/esm/api/resources/coupons/client/Client.d.mts +210 -0
- package/dist/esm/api/resources/coupons/client/Client.mjs +457 -0
- package/dist/esm/api/resources/coupons/client/index.d.mts +1 -0
- package/dist/esm/api/resources/coupons/client/index.mjs +1 -0
- package/dist/esm/api/resources/coupons/client/requests/AddCodesRequest.d.mts +30 -0
- package/dist/esm/api/resources/coupons/client/requests/AddCodesRequest.mjs +2 -0
- package/dist/esm/api/resources/coupons/client/requests/CouponRequest.d.mts +190 -0
- package/dist/esm/api/resources/coupons/client/requests/CouponRequest.mjs +2 -0
- package/dist/esm/api/resources/coupons/client/requests/DeleteCouponsRequest.d.mts +10 -0
- package/dist/esm/api/resources/coupons/client/requests/DeleteCouponsRequest.mjs +2 -0
- package/dist/esm/api/resources/coupons/client/requests/RetrieveCouponsRequest.d.mts +12 -0
- package/dist/esm/api/resources/coupons/client/requests/RetrieveCouponsRequest.mjs +2 -0
- package/dist/esm/api/resources/coupons/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/coupons/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/coupons/exports.d.mts +3 -0
- package/dist/esm/api/resources/coupons/exports.mjs +4 -0
- package/dist/esm/api/resources/coupons/index.d.mts +3 -0
- package/dist/esm/api/resources/coupons/index.mjs +3 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/Client.d.mts +61 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/Client.mjs +157 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/index.mjs +1 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/requests/DeleteCodesRequest.d.mts +10 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/requests/DeleteCodesRequest.mjs +2 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/requests/ListCodesRequest.d.mts +10 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/requests/ListCodesRequest.mjs +2 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/coupons/resources/codes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/coupons/resources/codes/exports.d.mts +2 -0
- package/dist/esm/api/resources/coupons/resources/codes/exports.mjs +3 -0
- package/dist/esm/api/resources/coupons/resources/codes/index.d.mts +1 -0
- package/dist/esm/api/resources/coupons/resources/codes/index.mjs +1 -0
- package/dist/esm/api/resources/coupons/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/coupons/resources/index.mjs +2 -0
- package/dist/esm/api/resources/coupons/types/CreateCouponsResponse.d.mts +10 -0
- package/dist/esm/api/resources/coupons/types/CreateCouponsResponse.mjs +2 -0
- package/dist/esm/api/resources/coupons/types/ListCouponsResponse.d.mts +4 -0
- package/dist/esm/api/resources/coupons/types/ListCouponsResponse.mjs +2 -0
- package/dist/esm/api/resources/coupons/types/index.d.mts +2 -0
- package/dist/esm/api/resources/coupons/types/index.mjs +2 -0
- package/dist/esm/api/resources/data/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/data/client/Client.mjs +12 -0
- package/dist/esm/api/resources/data/client/index.d.mts +1 -0
- package/dist/esm/api/resources/data/client/index.mjs +1 -0
- package/dist/esm/api/resources/data/exports.d.mts +3 -0
- package/dist/esm/api/resources/data/exports.mjs +4 -0
- package/dist/esm/api/resources/data/index.d.mts +2 -0
- package/dist/esm/api/resources/data/index.mjs +2 -0
- package/dist/esm/api/resources/data/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/data/resources/index.mjs +3 -0
- package/dist/esm/api/resources/data/resources/v1/client/Client.d.mts +82 -0
- package/dist/esm/api/resources/data/resources/v1/client/Client.mjs +196 -0
- package/dist/esm/api/resources/data/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/client/requests/GenerateRevenueReportRequest.d.mts +150 -0
- package/dist/esm/api/resources/data/resources/v1/client/requests/GenerateRevenueReportRequest.mjs +2 -0
- package/dist/esm/api/resources/data/resources/v1/client/requests/GenerateSubscriptionReportRequest.d.mts +153 -0
- package/dist/esm/api/resources/data/resources/v1/client/requests/GenerateSubscriptionReportRequest.mjs +2 -0
- package/dist/esm/api/resources/data/resources/v1/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/exports.d.mts +3 -0
- package/dist/esm/api/resources/data/resources/v1/exports.mjs +4 -0
- package/dist/esm/api/resources/data/resources/v1/index.d.mts +3 -0
- package/dist/esm/api/resources/data/resources/v1/index.mjs +3 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/Client.mjs +88 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/requests/RetrieveDownloadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/requests/RetrieveDownloadsRequest.mjs +2 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/exports.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/exports.mjs +3 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/downloads/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/data/resources/v1/resources/index.mjs +5 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/Client.d.mts +51 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/Client.mjs +145 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/requests/RetrieveJobsRequest.d.mts +10 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/requests/RetrieveJobsRequest.mjs +2 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/exports.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/exports.mjs +3 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/jobs/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/client/Client.mjs +81 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/client/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/client/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/exports.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/exports.mjs +3 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/index.d.mts +1 -0
- package/dist/esm/api/resources/data/resources/v1/resources/util/index.mjs +1 -0
- package/dist/esm/api/resources/data/resources/v1/types/GenerateRevenueReportV1Response.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/types/GenerateRevenueReportV1Response.mjs +2 -0
- package/dist/esm/api/resources/data/resources/v1/types/GenerateSubscriptionReportV1Response.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/types/GenerateSubscriptionReportV1Response.mjs +2 -0
- package/dist/esm/api/resources/data/resources/v1/types/index.d.mts +2 -0
- package/dist/esm/api/resources/data/resources/v1/types/index.mjs +2 -0
- package/dist/esm/api/resources/events/client/Client.d.mts +80 -0
- package/dist/esm/api/resources/events/client/Client.mjs +249 -0
- package/dist/esm/api/resources/events/client/index.d.mts +1 -0
- package/dist/esm/api/resources/events/client/index.mjs +1 -0
- package/dist/esm/api/resources/events/client/requests/ListProcessedEventsRequest.d.mts +26 -0
- package/dist/esm/api/resources/events/client/requests/ListProcessedEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/events/client/requests/ListUnprocessedEventsRequest.d.mts +25 -0
- package/dist/esm/api/resources/events/client/requests/ListUnprocessedEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/events/client/requests/UpdateasingleeventRequest.d.mts +13 -0
- package/dist/esm/api/resources/events/client/requests/UpdateasingleeventRequest.mjs +2 -0
- package/dist/esm/api/resources/events/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/events/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/events/exports.d.mts +2 -0
- package/dist/esm/api/resources/events/exports.mjs +3 -0
- package/dist/esm/api/resources/events/index.d.mts +1 -0
- package/dist/esm/api/resources/events/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +28 -0
- package/dist/esm/api/resources/index.mjs +28 -0
- package/dist/esm/api/resources/invoices/client/Client.d.mts +123 -0
- package/dist/esm/api/resources/invoices/client/Client.mjs +221 -0
- package/dist/esm/api/resources/invoices/client/index.d.mts +1 -0
- package/dist/esm/api/resources/invoices/client/index.mjs +1 -0
- package/dist/esm/api/resources/invoices/client/requests/InvoiceRequest.d.mts +177 -0
- package/dist/esm/api/resources/invoices/client/requests/InvoiceRequest.mjs +20 -0
- package/dist/esm/api/resources/invoices/client/requests/RetrieveInvoicesRequest.d.mts +10 -0
- package/dist/esm/api/resources/invoices/client/requests/RetrieveInvoicesRequest.mjs +2 -0
- package/dist/esm/api/resources/invoices/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/invoices/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/invoices/exports.d.mts +2 -0
- package/dist/esm/api/resources/invoices/exports.mjs +3 -0
- package/dist/esm/api/resources/invoices/index.d.mts +1 -0
- package/dist/esm/api/resources/invoices/index.mjs +1 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +83 -0
- package/dist/esm/api/resources/orders/client/Client.mjs +235 -0
- package/dist/esm/api/resources/orders/client/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/orders/client/requests/ListOrdersRequest.d.mts +45 -0
- package/dist/esm/api/resources/orders/client/requests/ListOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/orders/client/requests/RetrieveOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/orders/client/requests/RetrieveOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/orders/client/requests/UpdateOrderTagsRequest.d.mts +46 -0
- package/dist/esm/api/resources/orders/client/requests/UpdateOrderTagsRequest.mjs +2 -0
- package/dist/esm/api/resources/orders/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/exports.d.mts +2 -0
- package/dist/esm/api/resources/orders/exports.mjs +3 -0
- package/dist/esm/api/resources/orders/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/index.mjs +2 -0
- package/dist/esm/api/resources/orders/types/ListOrdersRequestScope.d.mts +6 -0
- package/dist/esm/api/resources/orders/types/ListOrdersRequestScope.mjs +6 -0
- package/dist/esm/api/resources/orders/types/ListOrdersRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/orders/types/ListOrdersRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/orders/types/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/types/index.mjs +2 -0
- package/dist/esm/api/resources/products/client/Client.d.mts +303 -0
- package/dist/esm/api/resources/products/client/Client.mjs +530 -0
- package/dist/esm/api/resources/products/client/index.d.mts +1 -0
- package/dist/esm/api/resources/products/client/index.mjs +1 -0
- package/dist/esm/api/resources/products/client/requests/CreateoneormorenewproductsRequest.d.mts +321 -0
- package/dist/esm/api/resources/products/client/requests/CreateoneormorenewproductsRequest.mjs +31 -0
- package/dist/esm/api/resources/products/client/requests/DeleteProductsRequest.d.mts +10 -0
- package/dist/esm/api/resources/products/client/requests/DeleteProductsRequest.mjs +2 -0
- package/dist/esm/api/resources/products/client/requests/RetrieveProductsRequest.d.mts +10 -0
- package/dist/esm/api/resources/products/client/requests/RetrieveProductsRequest.mjs +2 -0
- package/dist/esm/api/resources/products/client/requests/TaxRequest.d.mts +63 -0
- package/dist/esm/api/resources/products/client/requests/TaxRequest.mjs +2 -0
- package/dist/esm/api/resources/products/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/products/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/products/exports.d.mts +3 -0
- package/dist/esm/api/resources/products/exports.mjs +4 -0
- package/dist/esm/api/resources/products/index.d.mts +3 -0
- package/dist/esm/api/resources/products/index.mjs +3 -0
- package/dist/esm/api/resources/products/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/products/resources/index.mjs +5 -0
- package/dist/esm/api/resources/products/resources/offers/client/Client.d.mts +83 -0
- package/dist/esm/api/resources/products/resources/offers/client/Client.mjs +201 -0
- package/dist/esm/api/resources/products/resources/offers/client/index.d.mts +1 -0
- package/dist/esm/api/resources/products/resources/offers/client/index.mjs +1 -0
- package/dist/esm/api/resources/products/resources/offers/client/requests/CreateorupdateProductOffersRequest.d.mts +78 -0
- package/dist/esm/api/resources/products/resources/offers/client/requests/CreateorupdateProductOffersRequest.mjs +27 -0
- package/dist/esm/api/resources/products/resources/offers/client/requests/RetrieveOffersRequest.d.mts +13 -0
- package/dist/esm/api/resources/products/resources/offers/client/requests/RetrieveOffersRequest.mjs +2 -0
- package/dist/esm/api/resources/products/resources/offers/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/products/resources/offers/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/products/resources/offers/exports.d.mts +2 -0
- package/dist/esm/api/resources/products/resources/offers/exports.mjs +3 -0
- package/dist/esm/api/resources/products/resources/offers/index.d.mts +2 -0
- package/dist/esm/api/resources/products/resources/offers/index.mjs +2 -0
- package/dist/esm/api/resources/products/resources/offers/types/RetrieveOffersRequestType.d.mts +11 -0
- package/dist/esm/api/resources/products/resources/offers/types/RetrieveOffersRequestType.mjs +11 -0
- package/dist/esm/api/resources/products/resources/offers/types/index.d.mts +1 -0
- package/dist/esm/api/resources/products/resources/offers/types/index.mjs +1 -0
- package/dist/esm/api/resources/products/resources/price/client/Client.d.mts +54 -0
- package/dist/esm/api/resources/products/resources/price/client/Client.mjs +167 -0
- package/dist/esm/api/resources/products/resources/price/client/index.d.mts +1 -0
- package/dist/esm/api/resources/products/resources/price/client/index.mjs +1 -0
- package/dist/esm/api/resources/products/resources/price/client/requests/ListPriceRequest.d.mts +17 -0
- package/dist/esm/api/resources/products/resources/price/client/requests/ListPriceRequest.mjs +2 -0
- package/dist/esm/api/resources/products/resources/price/client/requests/RetrievePriceRequest.d.mts +16 -0
- package/dist/esm/api/resources/products/resources/price/client/requests/RetrievePriceRequest.mjs +2 -0
- package/dist/esm/api/resources/products/resources/price/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/products/resources/price/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/products/resources/price/exports.d.mts +2 -0
- package/dist/esm/api/resources/products/resources/price/exports.mjs +3 -0
- package/dist/esm/api/resources/products/resources/price/index.d.mts +1 -0
- package/dist/esm/api/resources/products/resources/price/index.mjs +1 -0
- package/dist/esm/api/resources/products/types/CreateOrUpdateProductsResponse.d.mts +2 -0
- package/dist/esm/api/resources/products/types/CreateOrUpdateProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/products/types/index.d.mts +1 -0
- package/dist/esm/api/resources/products/types/index.mjs +1 -0
- package/dist/esm/api/resources/quotes/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/quotes/client/Client.mjs +390 -0
- package/dist/esm/api/resources/quotes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/quotes/client/index.mjs +1 -0
- package/dist/esm/api/resources/quotes/client/requests/CancelQuotesRequest.d.mts +10 -0
- package/dist/esm/api/resources/quotes/client/requests/CancelQuotesRequest.mjs +2 -0
- package/dist/esm/api/resources/quotes/client/requests/CreateQuoteRequest.d.mts +119 -0
- package/dist/esm/api/resources/quotes/client/requests/CreateQuoteRequest.mjs +9 -0
- package/dist/esm/api/resources/quotes/client/requests/ListQuotesRequest.d.mts +16 -0
- package/dist/esm/api/resources/quotes/client/requests/ListQuotesRequest.mjs +2 -0
- package/dist/esm/api/resources/quotes/client/requests/RetrieveQuotesRequest.d.mts +10 -0
- package/dist/esm/api/resources/quotes/client/requests/RetrieveQuotesRequest.mjs +2 -0
- package/dist/esm/api/resources/quotes/client/requests/UpdateQuoteRequest.d.mts +141 -0
- package/dist/esm/api/resources/quotes/client/requests/UpdateQuoteRequest.mjs +17 -0
- package/dist/esm/api/resources/quotes/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/quotes/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/quotes/exports.d.mts +2 -0
- package/dist/esm/api/resources/quotes/exports.mjs +3 -0
- package/dist/esm/api/resources/quotes/index.d.mts +2 -0
- package/dist/esm/api/resources/quotes/index.mjs +2 -0
- package/dist/esm/api/resources/quotes/types/ListQuotesRequestStatusesItem.d.mts +8 -0
- package/dist/esm/api/resources/quotes/types/ListQuotesRequestStatusesItem.mjs +8 -0
- package/dist/esm/api/resources/quotes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/quotes/types/index.mjs +1 -0
- package/dist/esm/api/resources/returns/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/returns/client/Client.mjs +199 -0
- package/dist/esm/api/resources/returns/client/index.d.mts +1 -0
- package/dist/esm/api/resources/returns/client/index.mjs +1 -0
- package/dist/esm/api/resources/returns/client/requests/PostReturnsRequest.d.mts +151 -0
- package/dist/esm/api/resources/returns/client/requests/PostReturnsRequest.mjs +55 -0
- package/dist/esm/api/resources/returns/client/requests/RetrieveReturnsRequest.d.mts +10 -0
- package/dist/esm/api/resources/returns/client/requests/RetrieveReturnsRequest.mjs +2 -0
- package/dist/esm/api/resources/returns/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/returns/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/returns/exports.d.mts +2 -0
- package/dist/esm/api/resources/returns/exports.mjs +3 -0
- package/dist/esm/api/resources/returns/index.d.mts +1 -0
- package/dist/esm/api/resources/returns/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/client/Client.d.mts +573 -0
- package/dist/esm/api/resources/subscriptions/client/Client.mjs +1182 -0
- package/dist/esm/api/resources/subscriptions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/client/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/client/requests/CancelSubscriptionsRequest.d.mts +17 -0
- package/dist/esm/api/resources/subscriptions/client/requests/CancelSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ChargeSubscriptionRequest.d.mts +33 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ChargeSubscriptionRequest.mjs +15 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ConvertSubscriptionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ConvertSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/EstimateSubscriptionsRequest.d.mts +132 -0
- package/dist/esm/api/resources/subscriptions/client/requests/EstimateSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ListEntriesSubscriptionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ListEntriesSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ListHistorySubscriptionsRequest.d.mts +15 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ListHistorySubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ListSubscriptionsRequest.d.mts +36 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ListSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/PauseSubscriptionRequest.d.mts +13 -0
- package/dist/esm/api/resources/subscriptions/client/requests/PauseSubscriptionRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ResumeSubscriptionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/client/requests/ResumeSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/RetrieveSubscriptionsRequest.d.mts +32 -0
- package/dist/esm/api/resources/subscriptions/client/requests/RetrieveSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/TransferSubscriptionsRequest.d.mts +83 -0
- package/dist/esm/api/resources/subscriptions/client/requests/TransferSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/UpdateSubscriptionsRequest.d.mts +263 -0
- package/dist/esm/api/resources/subscriptions/client/requests/UpdateSubscriptionsRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/client/requests/index.d.mts +12 -0
- package/dist/esm/api/resources/subscriptions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/exports.d.mts +3 -0
- package/dist/esm/api/resources/subscriptions/exports.mjs +4 -0
- package/dist/esm/api/resources/subscriptions/index.d.mts +3 -0
- package/dist/esm/api/resources/subscriptions/index.mjs +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/Client.d.mts +38 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/Client.mjs +99 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/requests/RetrieveCancelSurveyRequest.d.mts +13 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/requests/RetrieveCancelSurveyRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/exports.d.mts +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/exports.mjs +4 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/index.d.mts +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/index.mjs +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/index.mjs +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/Client.d.mts +65 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/Client.mjs +165 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/CreateResponseRequest.d.mts +106 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/CreateResponseRequest.mjs +67 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/QueryResponseRequest.d.mts +57 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/QueryResponseRequest.mjs +21 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/exports.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/exports.mjs +3 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/index.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/index.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/CreateResponseResponse.d.mts +16 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/CreateResponseResponse.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/QueryResponseResponse.d.mts +37 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/QueryResponseResponse.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/index.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/resources/response/types/index.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyRequestLang.d.mts +25 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyRequestLang.mjs +25 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyResponse.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/types/RetrieveCancelSurveyResponse.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/types/index.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/cancelSurvey/types/index.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/Client.d.mts +148 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/Client.mjs +438 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/CreateCoTermGroupRequest.d.mts +24 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/CreateCoTermGroupRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/DeleteCotermRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/DeleteCotermRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/EstimateCotermRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/EstimateCotermRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/ExecuteCotermRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/ExecuteCotermRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/RetrieveCotermRequest.d.mts +10 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/RetrieveCotermRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/UpdateCoTermGroupRequest.d.mts +30 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/UpdateCoTermGroupRequest.mjs +9 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/exports.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/exports.mjs +3 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/coterm/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/subscriptions/resources/index.mjs +8 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/Client.mjs +176 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/requests/CreateProformaInvoiceRequest.d.mts +67 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/requests/CreateProformaInvoiceRequest.mjs +29 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/requests/RetrieveProformaInvoiceRequest.d.mts +13 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/requests/RetrieveProformaInvoiceRequest.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/exports.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/exports.mjs +3 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/index.d.mts +2 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/index.mjs +2 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/types/RetrieveProformaInvoiceRequestLang.d.mts +25 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/types/RetrieveProformaInvoiceRequestLang.mjs +25 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/types/index.d.mts +1 -0
- package/dist/esm/api/resources/subscriptions/resources/proformaInvoice/types/index.mjs +1 -0
- package/dist/esm/api/resources/subscriptions/types/ListHistorySubscriptionsRequestOrder.d.mts +5 -0
- package/dist/esm/api/resources/subscriptions/types/ListHistorySubscriptionsRequestOrder.mjs +5 -0
- package/dist/esm/api/resources/subscriptions/types/ListHistorySubscriptionsRequestScope.d.mts +5 -0
- package/dist/esm/api/resources/subscriptions/types/ListHistorySubscriptionsRequestScope.mjs +5 -0
- package/dist/esm/api/resources/subscriptions/types/ListSubscriptionsRequestEvent.d.mts +9 -0
- package/dist/esm/api/resources/subscriptions/types/ListSubscriptionsRequestEvent.mjs +9 -0
- package/dist/esm/api/resources/subscriptions/types/ListSubscriptionsRequestScope.d.mts +6 -0
- package/dist/esm/api/resources/subscriptions/types/ListSubscriptionsRequestScope.mjs +6 -0
- package/dist/esm/api/resources/subscriptions/types/ListSubscriptionsRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/subscriptions/types/ListSubscriptionsRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/subscriptions/types/RetrieveSubscriptionsRequestEvent.d.mts +9 -0
- package/dist/esm/api/resources/subscriptions/types/RetrieveSubscriptionsRequestEvent.mjs +9 -0
- package/dist/esm/api/resources/subscriptions/types/RetrieveSubscriptionsRequestScope.d.mts +6 -0
- package/dist/esm/api/resources/subscriptions/types/RetrieveSubscriptionsRequestScope.mjs +6 -0
- package/dist/esm/api/resources/subscriptions/types/RetrieveSubscriptionsRequestStatus.d.mts +8 -0
- package/dist/esm/api/resources/subscriptions/types/RetrieveSubscriptionsRequestStatus.mjs +8 -0
- package/dist/esm/api/resources/subscriptions/types/index.d.mts +8 -0
- package/dist/esm/api/resources/subscriptions/types/index.mjs +8 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +104 -0
- package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateKeySecretWebhooksRequest.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateKeySecretWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/index.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/UpdateKeySecretWebhooksResponse.d.mts +8 -0
- package/dist/esm/api/resources/webhooks/types/UpdateKeySecretWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +1 -0
- package/dist/esm/api/types/AddCodesSuccessResponse.d.mts +29 -0
- package/dist/esm/api/types/AddCodesSuccessResponse.mjs +8 -0
- package/dist/esm/api/types/AddonSnapshot.d.mts +13 -0
- package/dist/esm/api/types/AddonSnapshot.mjs +2 -0
- package/dist/esm/api/types/Address.d.mts +23 -0
- package/dist/esm/api/types/Address.mjs +2 -0
- package/dist/esm/api/types/AmountDue.d.mts +27 -0
- package/dist/esm/api/types/AmountDue.mjs +2 -0
- package/dist/esm/api/types/AuthFailureResponse.d.mts +10 -0
- package/dist/esm/api/types/AuthFailureResponse.mjs +2 -0
- package/dist/esm/api/types/AuthenticateAccount.d.mts +4 -0
- package/dist/esm/api/types/AuthenticateAccount.mjs +2 -0
- package/dist/esm/api/types/AuthenticateAccountError.d.mts +4 -0
- package/dist/esm/api/types/AuthenticateAccountError.mjs +2 -0
- package/dist/esm/api/types/AuthenticateAccountError400.d.mts +15 -0
- package/dist/esm/api/types/AuthenticateAccountError400.mjs +2 -0
- package/dist/esm/api/types/Availability.d.mts +20 -0
- package/dist/esm/api/types/Availability.mjs +2 -0
- package/dist/esm/api/types/BadRequestErrorBody.d.mts +19 -0
- package/dist/esm/api/types/BadRequestErrorBody.mjs +2 -0
- package/dist/esm/api/types/CancelReason.d.mts +39 -0
- package/dist/esm/api/types/CancelReason.mjs +24 -0
- package/dist/esm/api/types/CancelSubscriptionResponse.d.mts +20 -0
- package/dist/esm/api/types/CancelSubscriptionResponse.mjs +2 -0
- package/dist/esm/api/types/CancelSurvey.d.mts +73 -0
- package/dist/esm/api/types/CancelSurvey.mjs +52 -0
- package/dist/esm/api/types/CancelSurveyReasonsResponse.d.mts +32 -0
- package/dist/esm/api/types/CancelSurveyReasonsResponse.mjs +2 -0
- package/dist/esm/api/types/CancelSurveyRecordedResponse.d.mts +31 -0
- package/dist/esm/api/types/CancelSurveyRecordedResponse.mjs +2 -0
- package/dist/esm/api/types/ChargeSubscriptionErrorResponse.d.mts +26 -0
- package/dist/esm/api/types/ChargeSubscriptionErrorResponse.mjs +2 -0
- package/dist/esm/api/types/ChargeSubscriptionResponse.d.mts +40 -0
- package/dist/esm/api/types/ChargeSubscriptionResponse.mjs +15 -0
- package/dist/esm/api/types/CoTermCreateResponse.d.mts +13 -0
- package/dist/esm/api/types/CoTermCreateResponse.mjs +2 -0
- package/dist/esm/api/types/CoTermDeleteResponse.d.mts +22 -0
- package/dist/esm/api/types/CoTermDeleteResponse.mjs +2 -0
- package/dist/esm/api/types/CoTermDetailResponse.d.mts +27 -0
- package/dist/esm/api/types/CoTermDetailResponse.mjs +2 -0
- package/dist/esm/api/types/CoTermEstimateResponse.d.mts +33 -0
- package/dist/esm/api/types/CoTermEstimateResponse.mjs +2 -0
- package/dist/esm/api/types/CoTermExecutionResponse.d.mts +31 -0
- package/dist/esm/api/types/CoTermExecutionResponse.mjs +2 -0
- package/dist/esm/api/types/CoTermGroupObject.d.mts +25 -0
- package/dist/esm/api/types/CoTermGroupObject.mjs +2 -0
- package/dist/esm/api/types/CoTermUpdateResponse.d.mts +12 -0
- package/dist/esm/api/types/CoTermUpdateResponse.mjs +2 -0
- package/dist/esm/api/types/Contact.d.mts +27 -0
- package/dist/esm/api/types/Contact.mjs +2 -0
- package/dist/esm/api/types/ConvertExpiredTrialWithoutPaymentMethodResponse.d.mts +30 -0
- package/dist/esm/api/types/ConvertExpiredTrialWithoutPaymentMethodResponse.mjs +2 -0
- package/dist/esm/api/types/CouponCodesResponse.d.mts +12 -0
- package/dist/esm/api/types/CouponCodesResponse.mjs +2 -0
- package/dist/esm/api/types/CouponErrorResponse.d.mts +23 -0
- package/dist/esm/api/types/CouponErrorResponse.mjs +8 -0
- package/dist/esm/api/types/CouponResponse.d.mts +67 -0
- package/dist/esm/api/types/CouponResponse.mjs +2 -0
- package/dist/esm/api/types/CreateOneAccountResponse.d.mts +10 -0
- package/dist/esm/api/types/CreateOneAccountResponse.mjs +2 -0
- package/dist/esm/api/types/CreateProductsResponse.d.mts +18 -0
- package/dist/esm/api/types/CreateProductsResponse.mjs +2 -0
- package/dist/esm/api/types/CreateorupdateProductOffersError.d.mts +15 -0
- package/dist/esm/api/types/CreateorupdateProductOffersError.mjs +2 -0
- package/dist/esm/api/types/DeleteCodesSuccessResponse.d.mts +17 -0
- package/dist/esm/api/types/DeleteCodesSuccessResponse.mjs +8 -0
- package/dist/esm/api/types/DeleteCouponSuccessResponse.d.mts +15 -0
- package/dist/esm/api/types/DeleteCouponSuccessResponse.mjs +8 -0
- package/dist/esm/api/types/DeleteProductErrorResponse400.d.mts +23 -0
- package/dist/esm/api/types/DeleteProductErrorResponse400.mjs +2 -0
- package/dist/esm/api/types/DeleteProductSuccessResponse.d.mts +16 -0
- package/dist/esm/api/types/DeleteProductSuccessResponse.mjs +2 -0
- package/dist/esm/api/types/DeserializationErrorResponse.d.mts +10 -0
- package/dist/esm/api/types/DeserializationErrorResponse.mjs +2 -0
- package/dist/esm/api/types/DiscountAddOn.d.mts +15 -0
- package/dist/esm/api/types/DiscountAddOn.mjs +2 -0
- package/dist/esm/api/types/DiscountApplied.d.mts +15 -0
- package/dist/esm/api/types/DiscountApplied.mjs +2 -0
- package/dist/esm/api/types/DiscountAppliedToProduct.d.mts +15 -0
- package/dist/esm/api/types/DiscountAppliedToProduct.mjs +2 -0
- package/dist/esm/api/types/DiscountConfig.d.mts +30 -0
- package/dist/esm/api/types/DiscountConfig.mjs +9 -0
- package/dist/esm/api/types/DiscountResponseConfig.d.mts +3 -0
- package/dist/esm/api/types/DiscountResponseConfig.mjs +2 -0
- package/dist/esm/api/types/DiscountSubscription.d.mts +21 -0
- package/dist/esm/api/types/DiscountSubscription.mjs +9 -0
- package/dist/esm/api/types/DiscountTotals.d.mts +13 -0
- package/dist/esm/api/types/DiscountTotals.mjs +2 -0
- package/dist/esm/api/types/ErrorNotFoundResponse.d.mts +15 -0
- package/dist/esm/api/types/ErrorNotFoundResponse.mjs +2 -0
- package/dist/esm/api/types/ErrorResponse.d.mts +11 -0
- package/dist/esm/api/types/ErrorResponse.mjs +2 -0
- package/dist/esm/api/types/ErrorResponseV2.d.mts +6 -0
- package/dist/esm/api/types/ErrorResponseV2.mjs +2 -0
- package/dist/esm/api/types/EstimateSubscriptionErrorResponse400.d.mts +15 -0
- package/dist/esm/api/types/EstimateSubscriptionErrorResponse400.mjs +2 -0
- package/dist/esm/api/types/EstimateSubscriptionErrorResponse404.d.mts +15 -0
- package/dist/esm/api/types/EstimateSubscriptionErrorResponse404.mjs +2 -0
- package/dist/esm/api/types/EstimateSubscriptionSuccessResponse.d.mts +347 -0
- package/dist/esm/api/types/EstimateSubscriptionSuccessResponse.mjs +2 -0
- package/dist/esm/api/types/EventType.d.mts +38 -0
- package/dist/esm/api/types/EventType.mjs +38 -0
- package/dist/esm/api/types/EventsUpdateError400NotFound.d.mts +23 -0
- package/dist/esm/api/types/EventsUpdateError400NotFound.mjs +2 -0
- package/dist/esm/api/types/EventsUpdateResponse.d.mts +80 -0
- package/dist/esm/api/types/EventsUpdateResponse.mjs +2 -0
- package/dist/esm/api/types/GetASubscriptionResponse.d.mts +102 -0
- package/dist/esm/api/types/GetASubscriptionResponse.mjs +2 -0
- package/dist/esm/api/types/GetAllAccounts.d.mts +16 -0
- package/dist/esm/api/types/GetAllAccounts.mjs +2 -0
- package/dist/esm/api/types/GetAllOffersforProductByOfferTypeSuccessResponse.d.mts +46 -0
- package/dist/esm/api/types/GetAllOffersforProductByOfferTypeSuccessResponse.mjs +27 -0
- package/dist/esm/api/types/GetAllOrders.d.mts +16 -0
- package/dist/esm/api/types/GetAllOrders.mjs +2 -0
- package/dist/esm/api/types/GetAllProductPriceSuccessResponse.d.mts +86 -0
- package/dist/esm/api/types/GetAllProductPriceSuccessResponse.mjs +2 -0
- package/dist/esm/api/types/GetAllProducts.d.mts +16 -0
- package/dist/esm/api/types/GetAllProducts.mjs +2 -0
- package/dist/esm/api/types/GetAllSubscriptionsInstancesResponse.d.mts +46 -0
- package/dist/esm/api/types/GetAllSubscriptionsInstancesResponse.mjs +2 -0
- package/dist/esm/api/types/GetDownloadIdResponseBad.d.mts +28 -0
- package/dist/esm/api/types/GetDownloadIdResponseBad.mjs +2 -0
- package/dist/esm/api/types/GetEventsResponse.d.mts +189 -0
- package/dist/esm/api/types/GetEventsResponse.mjs +2 -0
- package/dist/esm/api/types/GetEventsResponseUnprocessed.d.mts +189 -0
- package/dist/esm/api/types/GetEventsResponseUnprocessed.mjs +2 -0
- package/dist/esm/api/types/GetJobIdResponse.d.mts +16 -0
- package/dist/esm/api/types/GetJobIdResponse.mjs +2 -0
- package/dist/esm/api/types/GetJobIdResponseBad.d.mts +28 -0
- package/dist/esm/api/types/GetJobIdResponseBad.mjs +2 -0
- package/dist/esm/api/types/GetJobsResponse.d.mts +5 -0
- package/dist/esm/api/types/GetJobsResponse.mjs +2 -0
- package/dist/esm/api/types/GetJobsResponseItem.d.mts +19 -0
- package/dist/esm/api/types/GetJobsResponseItem.mjs +2 -0
- package/dist/esm/api/types/GetOneAccount.d.mts +74 -0
- package/dist/esm/api/types/GetOneAccount.mjs +2 -0
- package/dist/esm/api/types/GetOneAccountError400.d.mts +17 -0
- package/dist/esm/api/types/GetOneAccountError400.mjs +2 -0
- package/dist/esm/api/types/GetOrdersById.d.mts +303 -0
- package/dist/esm/api/types/GetOrdersById.mjs +2 -0
- package/dist/esm/api/types/GetOrdersByIdError.d.mts +28 -0
- package/dist/esm/api/types/GetOrdersByIdError.mjs +2 -0
- package/dist/esm/api/types/GetProductPriceSuccessResponse.d.mts +84 -0
- package/dist/esm/api/types/GetProductPriceSuccessResponse.mjs +2 -0
- package/dist/esm/api/types/GetProductsByPth.d.mts +318 -0
- package/dist/esm/api/types/GetProductsByPth.mjs +101 -0
- package/dist/esm/api/types/GetProductsOffersErrorResponse400.d.mts +23 -0
- package/dist/esm/api/types/GetProductsOffersErrorResponse400.mjs +2 -0
- package/dist/esm/api/types/GetReturnsResponse.d.mts +194 -0
- package/dist/esm/api/types/GetReturnsResponse.mjs +2 -0
- package/dist/esm/api/types/GroupingCriteria.d.mts +31 -0
- package/dist/esm/api/types/GroupingCriteria.mjs +2 -0
- package/dist/esm/api/types/InvoiceGetResponse.d.mts +90 -0
- package/dist/esm/api/types/InvoiceGetResponse.mjs +2 -0
- package/dist/esm/api/types/InvoiceItem.d.mts +74 -0
- package/dist/esm/api/types/InvoiceItem.mjs +2 -0
- package/dist/esm/api/types/InvoicePostResponse.d.mts +71 -0
- package/dist/esm/api/types/InvoicePostResponse.mjs +2 -0
- package/dist/esm/api/types/InvoiceStatus.d.mts +20 -0
- package/dist/esm/api/types/InvoiceStatus.mjs +20 -0
- package/dist/esm/api/types/InvoiceTotals.d.mts +37 -0
- package/dist/esm/api/types/InvoiceTotals.mjs +2 -0
- package/dist/esm/api/types/InvoiceType.d.mts +10 -0
- package/dist/esm/api/types/InvoiceType.mjs +10 -0
- package/dist/esm/api/types/ListAllQuotesResponse.d.mts +632 -0
- package/dist/esm/api/types/ListAllQuotesResponse.mjs +26 -0
- package/dist/esm/api/types/MultiDiscountInfo.d.mts +7 -0
- package/dist/esm/api/types/MultiDiscountInfo.mjs +2 -0
- package/dist/esm/api/types/MultiDiscountTier.d.mts +33 -0
- package/dist/esm/api/types/MultiDiscountTier.mjs +9 -0
- package/dist/esm/api/types/OnlyCanceledErrorResponse.d.mts +20 -0
- package/dist/esm/api/types/OnlyCanceledErrorResponse.mjs +2 -0
- package/dist/esm/api/types/OnlyDeactivatedErrorResponse.d.mts +20 -0
- package/dist/esm/api/types/OnlyDeactivatedErrorResponse.mjs +2 -0
- package/dist/esm/api/types/Organization.d.mts +13 -0
- package/dist/esm/api/types/Organization.mjs +2 -0
- package/dist/esm/api/types/PauseSubscriptionErrorResponse.d.mts +20 -0
- package/dist/esm/api/types/PauseSubscriptionErrorResponse.mjs +2 -0
- package/dist/esm/api/types/PauseSubscriptionResponse.d.mts +357 -0
- package/dist/esm/api/types/PauseSubscriptionResponse.mjs +2 -0
- package/dist/esm/api/types/PlanSnapshot.d.mts +98 -0
- package/dist/esm/api/types/PlanSnapshot.mjs +2 -0
- package/dist/esm/api/types/PostReturns400ErrorResponse.d.mts +27 -0
- package/dist/esm/api/types/PostReturns400ErrorResponse.mjs +2 -0
- package/dist/esm/api/types/PostReturnsResponse.d.mts +194 -0
- package/dist/esm/api/types/PostReturnsResponse.mjs +2 -0
- package/dist/esm/api/types/PostRevenueAsyncResponse.d.mts +42 -0
- package/dist/esm/api/types/PostRevenueAsyncResponse.mjs +2 -0
- package/dist/esm/api/types/PostRevenueResponseBad.d.mts +28 -0
- package/dist/esm/api/types/PostRevenueResponseBad.mjs +2 -0
- package/dist/esm/api/types/PostRevenueSyncResponse.d.mts +52 -0
- package/dist/esm/api/types/PostRevenueSyncResponse.mjs +2 -0
- package/dist/esm/api/types/PostSubscriptionAsyncResponse.d.mts +36 -0
- package/dist/esm/api/types/PostSubscriptionAsyncResponse.mjs +2 -0
- package/dist/esm/api/types/PostSubscriptionResponseBad.d.mts +31 -0
- package/dist/esm/api/types/PostSubscriptionResponseBad.mjs +2 -0
- package/dist/esm/api/types/PostSubscriptionSyncResponse.d.mts +78 -0
- package/dist/esm/api/types/PostSubscriptionSyncResponse.mjs +2 -0
- package/dist/esm/api/types/ProductOffersResponses.d.mts +4 -0
- package/dist/esm/api/types/ProductOffersResponses.mjs +2 -0
- package/dist/esm/api/types/ProductResponse.d.mts +8 -0
- package/dist/esm/api/types/ProductResponse.mjs +2 -0
- package/dist/esm/api/types/ProductTotal.d.mts +9 -0
- package/dist/esm/api/types/ProductTotal.mjs +2 -0
- package/dist/esm/api/types/Proforma400Response.d.mts +13 -0
- package/dist/esm/api/types/Proforma400Response.mjs +2 -0
- package/dist/esm/api/types/Proforma404Response.d.mts +13 -0
- package/dist/esm/api/types/Proforma404Response.mjs +2 -0
- package/dist/esm/api/types/Proforma405Response.d.mts +13 -0
- package/dist/esm/api/types/Proforma405Response.mjs +2 -0
- package/dist/esm/api/types/Proforma500Response.d.mts +13 -0
- package/dist/esm/api/types/Proforma500Response.mjs +2 -0
- package/dist/esm/api/types/ProformaCreateInvoiceResponse.d.mts +160 -0
- package/dist/esm/api/types/ProformaCreateInvoiceResponse.mjs +2 -0
- package/dist/esm/api/types/ProformaInvoiceResponse.d.mts +486 -0
- package/dist/esm/api/types/ProformaInvoiceResponse.mjs +2 -0
- package/dist/esm/api/types/Quote.d.mts +614 -0
- package/dist/esm/api/types/Quote.mjs +17 -0
- package/dist/esm/api/types/ResourceErrorResponse.d.mts +17 -0
- package/dist/esm/api/types/ResourceErrorResponse.mjs +7 -0
- package/dist/esm/api/types/ResumeSubscriptionErrorResponse.d.mts +20 -0
- package/dist/esm/api/types/ResumeSubscriptionErrorResponse.mjs +2 -0
- package/dist/esm/api/types/ResumeSubscriptionResponse.d.mts +337 -0
- package/dist/esm/api/types/ResumeSubscriptionResponse.mjs +2 -0
- package/dist/esm/api/types/RetrieveAuthenticateAccount.d.mts +12 -0
- package/dist/esm/api/types/RetrieveAuthenticateAccount.mjs +2 -0
- package/dist/esm/api/types/RetrieveCharges.d.mts +36 -0
- package/dist/esm/api/types/RetrieveCharges.mjs +9 -0
- package/dist/esm/api/types/RetrieveSubscriptionErrorResponse400.d.mts +46 -0
- package/dist/esm/api/types/RetrieveSubscriptionErrorResponse400.mjs +2 -0
- package/dist/esm/api/types/RetrieveUpdateAccountResponse.d.mts +10 -0
- package/dist/esm/api/types/RetrieveUpdateAccountResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriptionCancelErrorResponse.d.mts +22 -0
- package/dist/esm/api/types/SubscriptionCancelErrorResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriptionChangeResult.d.mts +27 -0
- package/dist/esm/api/types/SubscriptionChangeResult.mjs +2 -0
- package/dist/esm/api/types/SubscriptionDetail.d.mts +27 -0
- package/dist/esm/api/types/SubscriptionDetail.mjs +2 -0
- package/dist/esm/api/types/SubscriptionEntriesErrorResponse.d.mts +6 -0
- package/dist/esm/api/types/SubscriptionEntriesErrorResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriptionEntriesResponse.d.mts +2 -0
- package/dist/esm/api/types/SubscriptionEntriesResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriptionEntriesResponseItem.d.mts +338 -0
- package/dist/esm/api/types/SubscriptionEntriesResponseItem.mjs +2 -0
- package/dist/esm/api/types/SubscriptionEstimate.d.mts +42 -0
- package/dist/esm/api/types/SubscriptionEstimate.mjs +2 -0
- package/dist/esm/api/types/SubscriptionHistoryErrorResponse.d.mts +31 -0
- package/dist/esm/api/types/SubscriptionHistoryErrorResponse.mjs +2 -0
- package/dist/esm/api/types/SubscriptionHistoryResponse.d.mts +52 -0
- package/dist/esm/api/types/SubscriptionHistoryResponse.mjs +2 -0
- package/dist/esm/api/types/TaxDetail.d.mts +19 -0
- package/dist/esm/api/types/TaxDetail.mjs +2 -0
- package/dist/esm/api/types/TaxErrorResponse400.d.mts +20 -0
- package/dist/esm/api/types/TaxErrorResponse400.mjs +2 -0
- package/dist/esm/api/types/TaxGroup.d.mts +10 -0
- package/dist/esm/api/types/TaxGroup.mjs +2 -0
- package/dist/esm/api/types/TaxGroupItem.d.mts +15 -0
- package/dist/esm/api/types/TaxGroupItem.mjs +2 -0
- package/dist/esm/api/types/TaxResponse.d.mts +22 -0
- package/dist/esm/api/types/TaxResponse.mjs +2 -0
- package/dist/esm/api/types/TaxResult.d.mts +22 -0
- package/dist/esm/api/types/TaxResult.mjs +2 -0
- package/dist/esm/api/types/TaxResultItemError.d.mts +16 -0
- package/dist/esm/api/types/TaxResultItemError.mjs +2 -0
- package/dist/esm/api/types/TaxResultItemSuccess.d.mts +14 -0
- package/dist/esm/api/types/TaxResultItemSuccess.mjs +2 -0
- package/dist/esm/api/types/TransferSubscriptionSuccessResponse.d.mts +29 -0
- package/dist/esm/api/types/TransferSubscriptionSuccessResponse.mjs +2 -0
- package/dist/esm/api/types/UnableFindErrorResponse.d.mts +20 -0
- package/dist/esm/api/types/UnableFindErrorResponse.mjs +2 -0
- package/dist/esm/api/types/UnableReactivateErrorResponse.d.mts +20 -0
- package/dist/esm/api/types/UnableReactivateErrorResponse.mjs +2 -0
- package/dist/esm/api/types/UpdateOneAccountResponse.d.mts +12 -0
- package/dist/esm/api/types/UpdateOneAccountResponse.mjs +2 -0
- package/dist/esm/api/types/UpdateOrderTagsError400NotFound.d.mts +23 -0
- package/dist/esm/api/types/UpdateOrderTagsError400NotFound.mjs +2 -0
- package/dist/esm/api/types/UpdateOrderTagsError400NotValid.d.mts +23 -0
- package/dist/esm/api/types/UpdateOrderTagsError400NotValid.mjs +2 -0
- package/dist/esm/api/types/UpdateOrderTagsResponse.d.mts +16 -0
- package/dist/esm/api/types/UpdateOrderTagsResponse.mjs +2 -0
- package/dist/esm/api/types/UpdateProductsResponse.d.mts +19 -0
- package/dist/esm/api/types/UpdateProductsResponse.mjs +2 -0
- package/dist/esm/api/types/UpdateSubscriptionResponse.d.mts +114 -0
- package/dist/esm/api/types/UpdateSubscriptionResponse.mjs +2 -0
- package/dist/esm/api/types/UpsertSuccessResponse.d.mts +14 -0
- package/dist/esm/api/types/UpsertSuccessResponse.mjs +9 -0
- package/dist/esm/api/types/index.d.mts +143 -0
- package/dist/esm/api/types/index.mjs +143 -0
- package/dist/esm/auth/BasicAuthProvider.d.mts +24 -0
- package/dist/esm/auth/BasicAuthProvider.mjs +56 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +8 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +30 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +4 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +56 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +270 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +55 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +17 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +81 -0
- package/dist/esm/core/fetcher/index.d.mts +13 -0
- package/dist/esm/core/fetcher/index.mjs +7 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +170 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +11 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +87 -0
- package/dist/esm/core/fetcher/redactUrl.d.mts +2 -0
- package/dist/esm/core/fetcher/redactUrl.mjs +84 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +88 -0
- package/dist/esm/core/fetcher/signals.d.mts +6 -0
- package/dist/esm/core/fetcher/signals.mjs +28 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +6 -0
- package/dist/esm/core/index.mjs +6 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +28 -0
- package/dist/esm/core/runtime/runtime.mjs +172 -0
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/core/url/encodePathParam.d.mts +3 -0
- package/dist/esm/core/url/encodePathParam.mjs +24 -0
- package/dist/esm/core/url/index.d.mts +4 -0
- package/dist/esm/core/url/index.mjs +4 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +7 -0
- package/dist/esm/core/url/qs.mjs +73 -0
- package/dist/esm/environments.d.mts +4 -0
- package/dist/esm/environments.mjs +4 -0
- package/dist/esm/errors/FastSpringError.d.mts +15 -0
- package/dist/esm/errors/FastSpringError.mjs +49 -0
- package/dist/esm/errors/FastSpringTimeoutError.d.mts +6 -0
- package/dist/esm/errors/FastSpringTimeoutError.mjs +15 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +6 -0
- package/dist/esm/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +322 -5
- package/reference.md +4725 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 FastSpring
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
package/README.md
CHANGED
|
@@ -1,3 +1,329 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Fastspring TypeScript Library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Fastspring%2FTypeScript)
|
|
4
|
+
[](https://www.npmjs.com/package/@fs-ddiestra/dfs-sdk-typescript)
|
|
5
|
+
|
|
6
|
+
The Fastspring TypeScript library provides convenient access to the Fastspring APIs from TypeScript.
|
|
7
|
+
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [Reference](#reference)
|
|
12
|
+
- [Usage](#usage)
|
|
13
|
+
- [Environments](#environments)
|
|
14
|
+
- [Request and Response Types](#request-and-response-types)
|
|
15
|
+
- [Exception Handling](#exception-handling)
|
|
16
|
+
- [Advanced](#advanced)
|
|
17
|
+
- [Subpackage Exports](#subpackage-exports)
|
|
18
|
+
- [Additional Headers](#additional-headers)
|
|
19
|
+
- [Additional Query String Parameters](#additional-query-string-parameters)
|
|
20
|
+
- [Retries](#retries)
|
|
21
|
+
- [Timeouts](#timeouts)
|
|
22
|
+
- [Aborting Requests](#aborting-requests)
|
|
23
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
24
|
+
- [Logging](#logging)
|
|
25
|
+
- [Custom Fetch](#custom-fetch)
|
|
26
|
+
- [Custom Fetcher](#custom-fetcher)
|
|
27
|
+
- [Runtime Compatibility](#runtime-compatibility)
|
|
28
|
+
- [Contributing](#contributing)
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
npm i -s @fs-ddiestra/dfs-sdk-typescript
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Reference
|
|
37
|
+
|
|
38
|
+
A full reference for this library is available [here](./reference.md).
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
Instantiate and use the client with the following:
|
|
43
|
+
|
|
44
|
+
```typescript
|
|
45
|
+
import { FastSpringClient } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
46
|
+
|
|
47
|
+
const client = new FastSpringClient({ username: "YOUR_USERNAME", password: "YOUR_PASSWORD" });
|
|
48
|
+
await client.accounts.create({
|
|
49
|
+
contact: {
|
|
50
|
+
first: "First",
|
|
51
|
+
last: "Last",
|
|
52
|
+
email: "first.last@domain.com"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Environments
|
|
58
|
+
|
|
59
|
+
This SDK allows you to configure different environments for API requests.
|
|
60
|
+
|
|
61
|
+
```typescript
|
|
62
|
+
import { FastSpringClient, FastSpringEnvironment } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
63
|
+
|
|
64
|
+
const client = new FastSpringClient({
|
|
65
|
+
environment: FastSpringEnvironment.Production,
|
|
66
|
+
});
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Request and Response Types
|
|
70
|
+
|
|
71
|
+
The SDK exports all request and response types as TypeScript interfaces. Simply import them with the
|
|
72
|
+
following namespace:
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
import { FastSpring } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
76
|
+
|
|
77
|
+
const request: FastSpring.ListAccountsRequest = {
|
|
78
|
+
...
|
|
79
|
+
};
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Exception Handling
|
|
83
|
+
|
|
84
|
+
When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
|
|
85
|
+
will be thrown.
|
|
86
|
+
|
|
87
|
+
```typescript
|
|
88
|
+
import { FastSpringError } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
89
|
+
|
|
90
|
+
try {
|
|
91
|
+
await client.accounts.create(...);
|
|
92
|
+
} catch (err) {
|
|
93
|
+
if (err instanceof FastSpringError) {
|
|
94
|
+
console.log(err.statusCode);
|
|
95
|
+
console.log(err.message);
|
|
96
|
+
console.log(err.body);
|
|
97
|
+
console.log(err.rawResponse);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Advanced
|
|
103
|
+
|
|
104
|
+
### Subpackage Exports
|
|
105
|
+
|
|
106
|
+
This SDK supports direct imports of subpackage clients, which allows JavaScript bundlers to tree-shake and include only the imported subpackage code. This results in much smaller bundle sizes.
|
|
107
|
+
|
|
108
|
+
```typescript
|
|
109
|
+
import { AccountsClient } from '@fs-ddiestra/dfs-sdk-typescript/accounts';
|
|
110
|
+
|
|
111
|
+
const client = new AccountsClient({...});
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Additional Headers
|
|
115
|
+
|
|
116
|
+
If you would like to send additional headers as part of the request, use the `headers` request option.
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
import { FastSpringClient } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
120
|
+
|
|
121
|
+
const client = new FastSpringClient({
|
|
122
|
+
...
|
|
123
|
+
headers: {
|
|
124
|
+
'X-Custom-Header': 'custom value'
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
const response = await client.accounts.create(..., {
|
|
129
|
+
headers: {
|
|
130
|
+
'X-Custom-Header': 'custom value'
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Additional Query String Parameters
|
|
136
|
+
|
|
137
|
+
If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
|
|
138
|
+
|
|
139
|
+
```typescript
|
|
140
|
+
const response = await client.accounts.create(..., {
|
|
141
|
+
queryParams: {
|
|
142
|
+
'customQueryParamKey': 'custom query param value'
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Retries
|
|
148
|
+
|
|
149
|
+
The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
|
|
150
|
+
as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
|
|
151
|
+
retry limit (default: 2).
|
|
152
|
+
|
|
153
|
+
Which status codes are retried depends on the `retryStatusCodes` generator configuration:
|
|
154
|
+
|
|
155
|
+
**`legacy`** (current default): retries on
|
|
156
|
+
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
157
|
+
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
158
|
+
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
|
|
159
|
+
|
|
160
|
+
**`recommended`**: retries on
|
|
161
|
+
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
162
|
+
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
163
|
+
- [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
|
|
164
|
+
- [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
|
|
165
|
+
- [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
|
|
166
|
+
|
|
167
|
+
Use the `maxRetries` request option to configure this behavior.
|
|
168
|
+
|
|
169
|
+
```typescript
|
|
170
|
+
const response = await client.accounts.create(..., {
|
|
171
|
+
maxRetries: 0 // override maxRetries at the request level
|
|
172
|
+
});
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Timeouts
|
|
176
|
+
|
|
177
|
+
The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
|
|
178
|
+
|
|
179
|
+
```typescript
|
|
180
|
+
const response = await client.accounts.create(..., {
|
|
181
|
+
timeoutInSeconds: 30 // override timeout to 30s
|
|
182
|
+
});
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Aborting Requests
|
|
186
|
+
|
|
187
|
+
The SDK allows users to abort requests at any point by passing in an abort signal.
|
|
188
|
+
|
|
189
|
+
```typescript
|
|
190
|
+
const controller = new AbortController();
|
|
191
|
+
const response = await client.accounts.create(..., {
|
|
192
|
+
abortSignal: controller.signal
|
|
193
|
+
});
|
|
194
|
+
controller.abort(); // aborts the request
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Access Raw Response Data
|
|
198
|
+
|
|
199
|
+
The SDK provides access to raw response data, including headers, through the `.withRawResponse()` method.
|
|
200
|
+
The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
|
|
201
|
+
|
|
202
|
+
```typescript
|
|
203
|
+
const { data, rawResponse } = await client.accounts.create(...).withRawResponse();
|
|
204
|
+
|
|
205
|
+
console.log(data);
|
|
206
|
+
console.log(rawResponse.headers['X-My-Header']);
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Logging
|
|
210
|
+
|
|
211
|
+
The SDK supports logging. You can configure the logger by passing in a `logging` object to the client options.
|
|
212
|
+
|
|
213
|
+
```typescript
|
|
214
|
+
import { FastSpringClient, logging } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
215
|
+
|
|
216
|
+
const client = new FastSpringClient({
|
|
217
|
+
...
|
|
218
|
+
logging: {
|
|
219
|
+
level: logging.LogLevel.Debug, // defaults to logging.LogLevel.Info
|
|
220
|
+
logger: new logging.ConsoleLogger(), // defaults to ConsoleLogger
|
|
221
|
+
silent: false, // defaults to true, set to false to enable logging
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
```
|
|
225
|
+
The `logging` object can have the following properties:
|
|
226
|
+
- `level`: The log level to use. Defaults to `logging.LogLevel.Info`.
|
|
227
|
+
- `logger`: The logger to use. Defaults to a `logging.ConsoleLogger`.
|
|
228
|
+
- `silent`: Whether to silence the logger. Defaults to `true`.
|
|
229
|
+
|
|
230
|
+
The `level` property can be one of the following values:
|
|
231
|
+
- `logging.LogLevel.Debug`
|
|
232
|
+
- `logging.LogLevel.Info`
|
|
233
|
+
- `logging.LogLevel.Warn`
|
|
234
|
+
- `logging.LogLevel.Error`
|
|
235
|
+
|
|
236
|
+
To provide a custom logger, you can pass in an object that implements the `logging.ILogger` interface.
|
|
237
|
+
|
|
238
|
+
<details>
|
|
239
|
+
<summary>Custom logger examples</summary>
|
|
240
|
+
|
|
241
|
+
Here's an example using the popular `winston` logging library.
|
|
242
|
+
```ts
|
|
243
|
+
import winston from 'winston';
|
|
244
|
+
|
|
245
|
+
const winstonLogger = winston.createLogger({...});
|
|
246
|
+
|
|
247
|
+
const logger: logging.ILogger = {
|
|
248
|
+
debug: (msg, ...args) => winstonLogger.debug(msg, ...args),
|
|
249
|
+
info: (msg, ...args) => winstonLogger.info(msg, ...args),
|
|
250
|
+
warn: (msg, ...args) => winstonLogger.warn(msg, ...args),
|
|
251
|
+
error: (msg, ...args) => winstonLogger.error(msg, ...args),
|
|
252
|
+
};
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Here's an example using the popular `pino` logging library.
|
|
256
|
+
|
|
257
|
+
```ts
|
|
258
|
+
import pino from 'pino';
|
|
259
|
+
|
|
260
|
+
const pinoLogger = pino({...});
|
|
261
|
+
|
|
262
|
+
const logger: logging.ILogger = {
|
|
263
|
+
debug: (msg, ...args) => pinoLogger.debug(args, msg),
|
|
264
|
+
info: (msg, ...args) => pinoLogger.info(args, msg),
|
|
265
|
+
warn: (msg, ...args) => pinoLogger.warn(args, msg),
|
|
266
|
+
error: (msg, ...args) => pinoLogger.error(args, msg),
|
|
267
|
+
};
|
|
268
|
+
```
|
|
269
|
+
</details>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
### Custom Fetch
|
|
273
|
+
|
|
274
|
+
The SDK provides a low-level `fetch` method for making custom HTTP requests while still
|
|
275
|
+
benefiting from SDK-level configuration like authentication, retries, timeouts, and logging.
|
|
276
|
+
This is useful for calling API endpoints not yet supported in the SDK.
|
|
277
|
+
|
|
278
|
+
```typescript
|
|
279
|
+
const response = await client.fetch("/v1/custom/endpoint", {
|
|
280
|
+
method: "GET",
|
|
281
|
+
}, {
|
|
282
|
+
timeoutInSeconds: 30,
|
|
283
|
+
maxRetries: 3,
|
|
284
|
+
headers: {
|
|
285
|
+
"X-Custom-Header": "custom-value",
|
|
286
|
+
},
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
const data = await response.json();
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Custom Fetcher
|
|
293
|
+
|
|
294
|
+
The SDK provides a way for you to customize the underlying HTTP client / Fetch function. If you're running in an
|
|
295
|
+
unsupported environment, this provides a way for you to break glass and ensure the SDK works.
|
|
296
|
+
|
|
297
|
+
```typescript
|
|
298
|
+
import { FastSpringClient } from "@fs-ddiestra/dfs-sdk-typescript";
|
|
299
|
+
|
|
300
|
+
const client = new FastSpringClient({
|
|
301
|
+
...
|
|
302
|
+
fetcher: // provide your implementation here
|
|
303
|
+
});
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Runtime Compatibility
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
The SDK works in the following runtimes:
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
- Node.js 18+
|
|
314
|
+
- Vercel
|
|
315
|
+
- Cloudflare Workers
|
|
316
|
+
- Deno v1.25+
|
|
317
|
+
- Bun 1.0+
|
|
318
|
+
- React Native
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
## Contributing
|
|
322
|
+
|
|
323
|
+
While we value open-source contributions to this SDK, this library is generated programmatically.
|
|
324
|
+
Additions made directly to this library would have to be moved over to our generation code,
|
|
325
|
+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
|
|
326
|
+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
|
|
327
|
+
an issue first to discuss with us!
|
|
328
|
+
|
|
329
|
+
On the other hand, contributions to the README are always very welcome!
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { BasicAuthProvider } from "./auth/BasicAuthProvider.js";
|
|
2
|
+
import * as core from "./core/index.js";
|
|
3
|
+
import type * as environments from "./environments.js";
|
|
4
|
+
export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | BasicAuthProvider.AuthOptions;
|
|
5
|
+
export type BaseClientOptions = {
|
|
6
|
+
environment?: core.Supplier<environments.FastSpringEnvironment | string>;
|
|
7
|
+
/** Specify a custom URL to connect the client to. */
|
|
8
|
+
baseUrl?: core.Supplier<string>;
|
|
9
|
+
/** Additional headers to include in requests. */
|
|
10
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
11
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
12
|
+
timeoutInSeconds?: number;
|
|
13
|
+
/** The default number of times to retry the request. Defaults to 2. */
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
16
|
+
fetch?: typeof fetch;
|
|
17
|
+
fetcher?: core.FetchFunction;
|
|
18
|
+
/** Configure logging for the client. */
|
|
19
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
20
|
+
/** Default options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
21
|
+
stream?: {
|
|
22
|
+
reconnectionEnabled?: boolean;
|
|
23
|
+
maxReconnectionAttempts?: number;
|
|
24
|
+
};
|
|
25
|
+
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
26
|
+
auth?: AuthOption;
|
|
27
|
+
} & BasicAuthProvider.AuthOptions;
|
|
28
|
+
export interface BaseRequestOptions {
|
|
29
|
+
/** The maximum time to wait for a response in seconds. */
|
|
30
|
+
timeoutInSeconds?: number;
|
|
31
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
32
|
+
maxRetries?: number;
|
|
33
|
+
/** A hook to abort the request. */
|
|
34
|
+
abortSignal?: AbortSignal;
|
|
35
|
+
/** Additional query string parameters to include in the request. */
|
|
36
|
+
queryParams?: Record<string, unknown>;
|
|
37
|
+
/** A dictionary containing additional parameters to spread into the request's body. */
|
|
38
|
+
additionalBodyParameters?: Record<string, unknown>;
|
|
39
|
+
/** Additional headers to include in the request. */
|
|
40
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
41
|
+
/** Options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
42
|
+
stream?: {
|
|
43
|
+
reconnectionEnabled?: boolean;
|
|
44
|
+
maxReconnectionAttempts?: number;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
48
|
+
logging: core.logging.Logger;
|
|
49
|
+
authProvider?: core.AuthProvider;
|
|
50
|
+
};
|
|
51
|
+
export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
|
|
52
|
+
authProvider: core.AuthProvider;
|
|
53
|
+
};
|
|
54
|
+
export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
|
|
55
|
+
export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.normalizeClientOptions = normalizeClientOptions;
|
|
38
|
+
exports.normalizeClientOptionsWithAuth = normalizeClientOptionsWithAuth;
|
|
39
|
+
const BasicAuthProvider_js_1 = require("./auth/BasicAuthProvider.js");
|
|
40
|
+
const headers_js_1 = require("./core/headers.js");
|
|
41
|
+
const core = __importStar(require("./core/index.js"));
|
|
42
|
+
function normalizeClientOptions(options) {
|
|
43
|
+
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
|
+
"X-Fern-Language": "JavaScript",
|
|
45
|
+
"X-Fern-SDK-Name": "@fs-ddiestra/dfs-sdk-typescript",
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.0-gen.8",
|
|
47
|
+
"User-Agent": "@fs-ddiestra/dfs-sdk-typescript/0.0.0-gen.8",
|
|
48
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
|
+
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
51
|
+
return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
|
|
52
|
+
}
|
|
53
|
+
function normalizeClientOptionsWithAuth(options) {
|
|
54
|
+
var _a;
|
|
55
|
+
const normalized = normalizeClientOptions(options);
|
|
56
|
+
if (options.auth === false) {
|
|
57
|
+
normalized.authProvider = new core.NoOpAuthProvider();
|
|
58
|
+
return normalized;
|
|
59
|
+
}
|
|
60
|
+
if (options.auth != null) {
|
|
61
|
+
if (typeof options.auth === "function") {
|
|
62
|
+
normalized.authProvider = { getAuthRequest: options.auth };
|
|
63
|
+
return normalized;
|
|
64
|
+
}
|
|
65
|
+
if (core.isAuthProvider(options.auth)) {
|
|
66
|
+
normalized.authProvider = options.auth;
|
|
67
|
+
return normalized;
|
|
68
|
+
}
|
|
69
|
+
Object.assign(normalized, options.auth);
|
|
70
|
+
}
|
|
71
|
+
const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
|
|
72
|
+
(_a = normalized.authProvider) !== null && _a !== void 0 ? _a : (normalized.authProvider = new BasicAuthProvider_js_1.BasicAuthProvider(normalizedWithNoOpAuthProvider));
|
|
73
|
+
return normalized;
|
|
74
|
+
}
|
|
75
|
+
function withNoOpAuthProvider(options) {
|
|
76
|
+
return Object.assign(Object.assign({}, options), { authProvider: new core.NoOpAuthProvider() });
|
|
77
|
+
}
|