@paid-ai/paid-node 1.7.0 → 1.8.0
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/dist/cjs/Client.d.ts +33 -0
- package/dist/cjs/Client.js +83 -28
- package/dist/cjs/api/errors/BadRequestError.d.ts +1 -2
- package/dist/cjs/api/errors/ConflictError.d.ts +1 -2
- package/dist/cjs/api/errors/ForbiddenError.d.ts +1 -2
- package/dist/cjs/api/errors/InternalServerError.d.ts +1 -2
- package/dist/cjs/api/errors/NotFoundError.d.ts +1 -2
- package/dist/cjs/api/errors/RequestTimeoutError.d.ts +6 -0
- package/dist/cjs/api/errors/RequestTimeoutError.js +50 -0
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +6 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +50 -0
- package/dist/cjs/api/errors/index.d.ts +2 -0
- package/dist/cjs/api/errors/index.js +2 -0
- package/dist/cjs/api/resources/amendments/client/Client.d.ts +83 -0
- package/dist/cjs/api/resources/amendments/client/Client.js +313 -0
- package/dist/cjs/api/resources/amendments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/amendments/client/index.js +17 -0
- package/dist/cjs/api/resources/amendments/client/requests/GetOrderAmendmentOptionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.d.ts +35 -0
- package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.js +14 -0
- package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.d.ts +33 -0
- package/dist/cjs/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.js +14 -0
- package/dist/cjs/api/resources/amendments/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/amendments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/amendments/index.d.ts +1 -0
- package/dist/cjs/api/resources/amendments/index.js +17 -0
- package/dist/cjs/api/resources/analytics/client/Client.d.ts +63 -0
- package/dist/cjs/api/resources/analytics/client/Client.js +273 -0
- package/dist/cjs/api/resources/analytics/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/analytics/client/index.js +17 -0
- package/dist/cjs/api/resources/analytics/client/requests/GetSignalsMetadataRequest.d.ts +12 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/analytics/index.d.ts +1 -0
- package/dist/cjs/api/resources/analytics/index.js +17 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/Client.d.ts +69 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/Client.js +279 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/index.js +17 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.d.ts +12 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.js +3 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/analyticsExperimental/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/analyticsExperimental/index.d.ts +1 -0
- package/dist/cjs/api/resources/analyticsExperimental/index.js +17 -0
- package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.ts +3 -1
- package/dist/cjs/api/resources/credits/client/Client.d.ts +57 -2
- package/dist/cjs/api/resources/credits/client/Client.js +267 -5
- package/dist/cjs/api/resources/credits/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/credits/client/index.js +15 -0
- package/dist/cjs/api/resources/credits/client/requests/CreateCreditCurrencyRequest.d.ts +16 -0
- package/dist/cjs/api/resources/credits/client/requests/CreateCreditCurrencyRequest.js +3 -0
- package/dist/cjs/api/resources/credits/client/requests/ListCreditCurrenciesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/credits/client/requests/ListCreditCurrenciesRequest.js +3 -0
- package/dist/cjs/api/resources/credits/client/requests/ListCreditTransactionsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/credits/client/requests/ListCreditTransactionsRequest.js +3 -0
- package/dist/cjs/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.d.ts +24 -0
- package/dist/cjs/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.js +12 -0
- package/dist/cjs/api/resources/credits/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/credits/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/credits/index.d.ts +1 -0
- package/dist/cjs/api/resources/credits/index.js +1 -0
- package/dist/cjs/api/resources/credits/types/ListCreditCurrenciesRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/credits/types/ListCreditCurrenciesRequestStatus.js +9 -0
- package/dist/cjs/api/resources/credits/types/ListCreditTransactionsRequestType.d.ts +6 -0
- package/dist/cjs/api/resources/credits/types/ListCreditTransactionsRequestType.js +9 -0
- package/dist/cjs/api/resources/credits/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/credits/types/index.js +18 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/Client.d.ts +177 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/Client.js +688 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/index.js +17 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.ts +66 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.js +26 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.ts +22 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.js +3 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.js +3 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.js +3 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.js +3 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.d.ts +46 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.js +21 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.ts +26 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.js +3 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customViewsExperimental/index.d.ts +2 -0
- package/dist/cjs/api/resources/customViewsExperimental/index.js +18 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.d.ts +5 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.js +8 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.d.ts +6 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.js +9 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/index.js +18 -0
- package/dist/cjs/api/resources/customerGroups/client/Client.d.ts +153 -0
- package/dist/cjs/api/resources/customerGroups/client/Client.js +636 -0
- package/dist/cjs/api/resources/customerGroups/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.d.ts +11 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.js +3 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/customerGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customerGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerGroups/index.js +17 -0
- package/dist/cjs/api/resources/customers/client/Client.d.ts +576 -12
- package/dist/cjs/api/resources/customers/client/Client.js +2292 -98
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerAliasRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerRequest.d.ts +1 -1
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerAliasRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerByExternalIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerByIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/EndCustomerUnitCapRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerByExternalIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerByIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByIdRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerStateByIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitCapRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerAliasesRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.d.ts +20 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customers/client/requests/SetCustomerUnitCapRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerByExternalIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerByIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/UpdateCustomerUnitRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/index.d.ts +28 -0
- package/dist/cjs/api/resources/customers/index.d.ts +1 -0
- package/dist/cjs/api/resources/customers/index.js +1 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.js +8 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsRequestStatus.js +8 -0
- package/dist/cjs/api/resources/customers/types/ListCustomersRequestCreationState.d.ts +5 -0
- package/dist/cjs/api/resources/customers/types/ListCustomersRequestCreationState.js +8 -0
- package/dist/cjs/api/resources/customers/types/ListCustomersRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/customers/types/ListCustomersRequestStatus.js +8 -0
- package/dist/cjs/api/resources/customers/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/customers/types/index.js +20 -0
- package/dist/cjs/api/resources/index.d.ts +28 -0
- package/dist/cjs/api/resources/index.js +29 -1
- package/dist/cjs/api/resources/invoices/client/Client.js +37 -1
- package/dist/cjs/api/resources/invoices/client/requests/ListInvoicesRequest.d.ts +25 -0
- package/dist/cjs/api/resources/invoices/index.d.ts +1 -0
- package/dist/cjs/api/resources/invoices/index.js +1 -0
- package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.d.ts +8 -0
- package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.js +11 -0
- package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestStatus.d.ts +10 -0
- package/dist/cjs/api/resources/invoices/types/ListInvoicesRequestStatus.js +13 -0
- package/dist/cjs/api/resources/invoices/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/invoices/types/index.js +18 -0
- package/dist/cjs/api/resources/orders/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/orders/client/Client.js +99 -1
- package/dist/cjs/api/resources/orders/client/requests/ActivateOrderByIdRequest.d.ts +9 -0
- package/dist/cjs/api/resources/orders/client/requests/ActivateOrderByIdRequest.js +3 -0
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderRequest.d.ts +2 -0
- package/dist/cjs/api/resources/orders/client/requests/ListOrdersRequest.d.ts +19 -0
- package/dist/cjs/api/resources/orders/client/requests/UpdateOrderRequest.d.ts +2 -0
- package/dist/cjs/api/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/types/ListOrdersRequestCreationState.d.ts +5 -0
- package/dist/cjs/api/resources/orders/types/ListOrdersRequestCreationState.js +8 -0
- package/dist/cjs/api/resources/orders/types/OrderStatusFilter.d.ts +7 -0
- package/dist/cjs/api/resources/orders/types/OrderStatusFilter.js +10 -0
- package/dist/cjs/api/resources/orders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/types/index.js +2 -0
- package/dist/cjs/api/resources/paymentAllocations/client/Client.d.ts +55 -0
- package/dist/cjs/api/resources/paymentAllocations/client/Client.js +224 -0
- package/dist/cjs/api/resources/paymentAllocations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentAllocations/client/index.js +17 -0
- package/dist/cjs/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.d.ts +17 -0
- package/dist/cjs/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.js +3 -0
- package/dist/cjs/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentAllocations/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/paymentAllocations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/paymentAllocations/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentAllocations/index.js +17 -0
- package/dist/cjs/api/resources/paymentMethods/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/paymentMethods/client/Client.js +446 -0
- package/dist/cjs/api/resources/paymentMethods/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentMethods/client/index.js +17 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.d.ts +18 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.js +3 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.d.ts +9 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.js +3 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.d.ts +9 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.js +3 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.js +3 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.d.ts +9 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.js +3 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/paymentMethods/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/paymentMethods/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentMethods/index.js +17 -0
- package/dist/cjs/api/resources/payments/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/payments/client/Client.js +293 -0
- package/dist/cjs/api/resources/payments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/payments/client/index.js +17 -0
- package/dist/cjs/api/resources/payments/client/requests/CreatePaymentRequest.d.ts +25 -0
- package/dist/cjs/api/resources/payments/client/requests/CreatePaymentRequest.js +3 -0
- package/dist/cjs/api/resources/payments/client/requests/GetPaymentRequest.d.ts +9 -0
- package/dist/cjs/api/resources/payments/client/requests/GetPaymentRequest.js +3 -0
- package/dist/cjs/api/resources/payments/client/requests/ListPaymentsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/payments/client/requests/ListPaymentsRequest.js +3 -0
- package/dist/cjs/api/resources/payments/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/payments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/payments/index.d.ts +2 -0
- package/dist/cjs/api/resources/payments/index.js +18 -0
- package/dist/cjs/api/resources/payments/types/ListPaymentsRequestStatus.d.ts +9 -0
- package/dist/cjs/api/resources/payments/types/ListPaymentsRequestStatus.js +12 -0
- package/dist/cjs/api/resources/payments/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/payments/types/index.js +17 -0
- package/dist/cjs/api/resources/plans/client/Client.d.ts +152 -0
- package/dist/cjs/api/resources/plans/client/Client.js +593 -0
- package/dist/cjs/api/resources/plans/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/plans/client/index.js +17 -0
- package/dist/cjs/api/resources/plans/client/requests/CreatePlanRequest.d.ts +28 -0
- package/dist/cjs/api/resources/plans/client/requests/CreatePlanRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/GetPlanByExternalIdRequest.d.ts +9 -0
- package/dist/cjs/api/resources/plans/client/requests/GetPlanByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/GetPlanByIdRequest.d.ts +9 -0
- package/dist/cjs/api/resources/plans/client/requests/GetPlanByIdRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/ListPlansRequest.d.ts +12 -0
- package/dist/cjs/api/resources/plans/client/requests/ListPlansRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/plans/client/requests/UpdatePlanByIdRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.d.ts +15 -0
- package/dist/cjs/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.js +3 -0
- package/dist/cjs/api/resources/plans/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/plans/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/plans/index.d.ts +1 -0
- package/dist/cjs/api/resources/plans/index.js +17 -0
- package/dist/cjs/api/resources/pricing/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/pricing/client/Client.js +2 -2
- package/dist/cjs/api/resources/pricing/client/requests/UpdatePricingRequest.d.ts +1 -1
- package/dist/cjs/api/resources/products/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/products/client/Client.js +15 -6
- package/dist/cjs/api/resources/products/client/requests/ListProductsRequest.d.ts +6 -0
- package/dist/cjs/api/resources/signals/client/Client.d.ts +38 -0
- package/dist/cjs/api/resources/signals/client/Client.js +180 -0
- package/dist/cjs/api/resources/signals/client/requests/GetSignalByIdRequest.d.ts +10 -0
- package/dist/cjs/api/resources/signals/client/requests/GetSignalByIdRequest.js +3 -0
- package/dist/cjs/api/resources/signals/client/requests/ListSignalsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/signals/client/requests/ListSignalsRequest.js +3 -0
- package/dist/cjs/api/resources/signals/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/valueMetrics/client/Client.d.ts +111 -0
- package/dist/cjs/api/resources/valueMetrics/client/Client.js +446 -0
- package/dist/cjs/api/resources/valueMetrics/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/valueMetrics/client/index.js +17 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.d.ts +10 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.js +3 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.d.ts +57 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.js +15 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/GetValueMetricRequest.d.ts +9 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/GetValueMetricRequest.js +3 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.js +3 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.d.ts +43 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.js +15 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/valueMetrics/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/valueMetrics/index.d.ts +1 -0
- package/dist/cjs/api/resources/valueMetrics/index.js +17 -0
- package/dist/cjs/api/resources/valueModels/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/valueModels/client/Client.js +419 -0
- package/dist/cjs/api/resources/valueModels/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/valueModels/client/index.js +17 -0
- package/dist/cjs/api/resources/valueModels/client/requests/GetValueModelVersionRequest.d.ts +9 -0
- package/dist/cjs/api/resources/valueModels/client/requests/GetValueModelVersionRequest.js +3 -0
- package/dist/cjs/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.js +3 -0
- package/dist/cjs/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.d.ts +5 -0
- package/dist/cjs/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.js +3 -0
- package/dist/cjs/api/resources/valueModels/client/requests/ValueModelUploadRequest.d.ts +44 -0
- package/dist/cjs/api/resources/valueModels/client/requests/ValueModelUploadRequest.js +3 -0
- package/dist/cjs/api/resources/valueModels/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/valueModels/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/valueModels/index.d.ts +1 -0
- package/dist/cjs/api/resources/valueModels/index.js +17 -0
- package/dist/cjs/api/resources/valueReceipts/client/Client.d.ts +42 -11
- package/dist/cjs/api/resources/valueReceipts/client/Client.js +153 -43
- package/dist/cjs/api/resources/valueReceipts/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +17 -2
- package/dist/cjs/api/resources/webhooks/client/Client.js +69 -1
- package/dist/cjs/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/types/TestWebhookRequestWebhookName.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/TestWebhookRequestWebhookName.js +2 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.js +2 -0
- package/dist/cjs/api/types/AddAttributeIntent.d.ts +45 -0
- package/dist/cjs/api/types/AddAttributeIntent.js +24 -0
- package/dist/cjs/api/types/AddFromCatalogIntent.d.ts +22 -0
- package/dist/cjs/api/types/AddFromCatalogIntent.js +13 -0
- package/dist/cjs/api/types/AddMembersResponse.d.ts +5 -0
- package/dist/cjs/api/types/AddMembersResponse.js +3 -0
- package/dist/cjs/api/types/AmendmentAddAttributeOptions.d.ts +9 -0
- package/dist/cjs/api/types/AmendmentAddAttributeOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentAddAxisOptions.d.ts +10 -0
- package/dist/cjs/api/types/AmendmentAddAxisOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentAttributeOptions.d.ts +14 -0
- package/dist/cjs/api/types/AmendmentAttributeOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentAttributeState.d.ts +24 -0
- package/dist/cjs/api/types/AmendmentAttributeState.js +3 -0
- package/dist/cjs/api/types/AmendmentAxisChoiceValue.d.ts +10 -0
- package/dist/cjs/api/types/AmendmentAxisChoiceValue.js +13 -0
- package/dist/cjs/api/types/AmendmentAxisId.d.ts +8 -0
- package/dist/cjs/api/types/AmendmentAxisId.js +11 -0
- package/dist/cjs/api/types/AmendmentAxisOptions.d.ts +16 -0
- package/dist/cjs/api/types/AmendmentAxisOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentAxisRelevance.d.ts +6 -0
- package/dist/cjs/api/types/AmendmentAxisRelevance.js +9 -0
- package/dist/cjs/api/types/AmendmentBillingType.d.ts +6 -0
- package/dist/cjs/api/types/AmendmentBillingType.js +9 -0
- package/dist/cjs/api/types/AmendmentChargeType.d.ts +8 -0
- package/dist/cjs/api/types/AmendmentChargeType.js +11 -0
- package/dist/cjs/api/types/AmendmentCreditEffectKind.d.ts +6 -0
- package/dist/cjs/api/types/AmendmentCreditEffectKind.js +9 -0
- package/dist/cjs/api/types/AmendmentErrorResponse.d.ts +7 -0
- package/dist/cjs/api/types/AmendmentErrorResponse.js +3 -0
- package/dist/cjs/api/types/AmendmentIntentKind.d.ts +10 -0
- package/dist/cjs/api/types/AmendmentIntentKind.js +13 -0
- package/dist/cjs/api/types/AmendmentIntentOptions.d.ts +7 -0
- package/dist/cjs/api/types/AmendmentIntentOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentLineOptions.d.ts +12 -0
- package/dist/cjs/api/types/AmendmentLineOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentMoneyBilling.d.ts +6 -0
- package/dist/cjs/api/types/AmendmentMoneyBilling.js +9 -0
- package/dist/cjs/api/types/AmendmentOptions.d.ts +26 -0
- package/dist/cjs/api/types/AmendmentOptions.js +3 -0
- package/dist/cjs/api/types/AmendmentPlan.d.ts +24 -0
- package/dist/cjs/api/types/AmendmentPlan.js +3 -0
- package/dist/cjs/api/types/AmendmentPlanAttributeDiff.d.ts +18 -0
- package/dist/cjs/api/types/AmendmentPlanAttributeDiff.js +3 -0
- package/dist/cjs/api/types/AmendmentPlanChange.d.ts +9 -0
- package/dist/cjs/api/types/AmendmentPlanChange.js +12 -0
- package/dist/cjs/api/types/AmendmentPlanCreditEffect.d.ts +15 -0
- package/dist/cjs/api/types/AmendmentPlanCreditEffect.js +3 -0
- package/dist/cjs/api/types/AmendmentPlanLineType.d.ts +8 -0
- package/dist/cjs/api/types/AmendmentPlanLineType.js +11 -0
- package/dist/cjs/api/types/AmendmentPlanMoneyEffect.d.ts +31 -0
- package/dist/cjs/api/types/AmendmentPlanMoneyEffect.js +13 -0
- package/dist/cjs/api/types/AmendmentPlanTreatmentResolution.d.ts +12 -0
- package/dist/cjs/api/types/AmendmentPlanTreatmentResolution.js +3 -0
- package/dist/cjs/api/types/AmendmentPlanUsageEffect.d.ts +17 -0
- package/dist/cjs/api/types/AmendmentPlanUsageEffect.js +12 -0
- package/dist/cjs/api/types/AmendmentPricingClause.d.ts +14 -0
- package/dist/cjs/api/types/AmendmentPricingClause.js +3 -0
- package/dist/cjs/api/types/AmendmentPricingModel.d.ts +11 -0
- package/dist/cjs/api/types/AmendmentPricingModel.js +14 -0
- package/dist/cjs/api/types/AmendmentTreatmentSource.d.ts +7 -0
- package/dist/cjs/api/types/AmendmentTreatmentSource.js +10 -0
- package/dist/cjs/api/types/AnalyticsColumn.d.ts +5 -0
- package/dist/cjs/api/types/AnalyticsColumn.js +3 -0
- package/dist/cjs/api/types/AnalyticsQueryRequest.d.ts +4 -0
- package/dist/cjs/api/types/AnalyticsQueryRequest.js +3 -0
- package/dist/cjs/api/types/AnalyticsQueryResponse.d.ts +15 -0
- package/dist/cjs/api/types/AnalyticsQueryResponse.js +3 -0
- package/dist/cjs/api/types/AnalyticsSchemaColumn.d.ts +6 -0
- package/dist/cjs/api/types/AnalyticsSchemaColumn.js +3 -0
- package/dist/cjs/api/types/AnalyticsSchemaResponse.d.ts +4 -0
- package/dist/cjs/api/types/AnalyticsSchemaResponse.js +3 -0
- package/dist/cjs/api/types/AnalyticsSchemaView.d.ts +6 -0
- package/dist/cjs/api/types/AnalyticsSchemaView.js +3 -0
- package/dist/cjs/api/types/BackfillResponse.d.ts +4 -0
- package/dist/cjs/api/types/BackfillResponse.js +3 -0
- package/dist/cjs/api/types/ChargeStubAddAxisOptions.d.ts +34 -0
- package/dist/cjs/api/types/ChargeStubAddAxisOptions.js +19 -0
- package/dist/cjs/api/types/ChargeStubAxisOptions.d.ts +33 -0
- package/dist/cjs/api/types/ChargeStubAxisOptions.js +19 -0
- package/dist/cjs/api/types/Checkout.d.ts +2 -0
- package/dist/cjs/api/types/CheckoutCustomCard.d.ts +10 -0
- package/dist/cjs/api/types/CheckoutCustomCard.js +3 -0
- package/dist/cjs/api/types/CheckoutCustomCardInput.d.ts +10 -0
- package/dist/cjs/api/types/CheckoutCustomCardInput.js +3 -0
- package/dist/cjs/api/types/CheckoutDetails.d.ts +3 -0
- package/dist/cjs/api/types/CheckoutPlan.d.ts +4 -0
- package/dist/cjs/api/types/CheckoutPlan.js +3 -0
- package/dist/cjs/api/types/CheckoutPlanInput.d.ts +6 -0
- package/dist/cjs/api/types/CheckoutPlanInput.js +3 -0
- package/dist/cjs/api/types/CheckoutProduct.d.ts +3 -0
- package/dist/cjs/api/types/CheckoutProductInput.d.ts +3 -0
- package/dist/cjs/api/types/CheckoutSelectedProduct.d.ts +8 -0
- package/dist/cjs/api/types/CheckoutSelectedProduct.js +3 -0
- package/dist/cjs/api/types/CreateOrderLineAttributeRequest.d.ts +38 -5
- package/dist/cjs/api/types/CreateOrderLineAttributeRequest.js +8 -0
- package/dist/cjs/api/types/CreateOrderLineRequest.d.ts +4 -0
- package/dist/cjs/api/types/CreditBalance.d.ts +3 -1
- package/dist/cjs/api/types/CreditBenefitInput.d.ts +7 -5
- package/dist/cjs/api/types/CreditBenefitOutput.d.ts +6 -6
- package/dist/cjs/api/types/CreditCurrency.d.ts +17 -0
- package/dist/cjs/api/types/CreditCurrency.js +9 -0
- package/dist/cjs/api/types/CreditGrant.d.ts +3 -0
- package/dist/cjs/api/types/CreditGrantAddAxisOptions.d.ts +24 -0
- package/dist/cjs/api/types/CreditGrantAddAxisOptions.js +3 -0
- package/dist/cjs/api/types/CreditGrantAxisOptions.d.ts +23 -0
- package/dist/cjs/api/types/CreditGrantAxisOptions.js +3 -0
- package/dist/cjs/api/types/CreditGrantCreateRequest.d.ts +10 -0
- package/dist/cjs/api/types/CreditGrantCreateRequest.js +3 -0
- package/dist/cjs/api/types/CreditGrantCurrency.d.ts +6 -0
- package/dist/cjs/api/types/CreditGrantCurrency.js +3 -0
- package/dist/cjs/api/types/CreditGrantCustomer.d.ts +6 -0
- package/dist/cjs/api/types/CreditGrantCustomer.js +3 -0
- package/dist/cjs/api/types/CreditGrantResult.d.ts +19 -0
- package/dist/cjs/api/types/CreditGrantResult.js +11 -0
- package/dist/cjs/api/types/CreditGrantValue.d.ts +7 -0
- package/dist/cjs/api/types/CreditGrantValue.js +10 -0
- package/dist/cjs/api/types/CreditTransaction.d.ts +31 -0
- package/dist/cjs/api/types/CreditTransaction.js +13 -0
- package/dist/cjs/api/types/CreditTransactionCurrency.d.ts +6 -0
- package/dist/cjs/api/types/CreditTransactionCurrency.js +3 -0
- package/dist/cjs/api/types/CreditTransactionCustomer.d.ts +6 -0
- package/dist/cjs/api/types/CreditTransactionCustomer.js +3 -0
- package/dist/cjs/api/types/CreditTransactionListResponse.d.ts +6 -0
- package/dist/cjs/api/types/CreditTransactionListResponse.js +3 -0
- package/dist/cjs/api/types/CreditTransactionProduct.d.ts +11 -0
- package/dist/cjs/api/types/CreditTransactionProduct.js +3 -0
- package/dist/cjs/api/types/CurrencyCode.d.ts +4 -0
- package/dist/cjs/api/types/CurrencyCode.js +3 -0
- package/dist/cjs/api/types/CustomView.d.ts +25 -0
- package/dist/cjs/api/types/CustomView.js +17 -0
- package/dist/cjs/api/types/CustomViewAuthoringDetail.d.ts +69 -0
- package/dist/cjs/api/types/CustomViewAuthoringDetail.js +30 -0
- package/dist/cjs/api/types/CustomViewAuthoringGuide.d.ts +6 -0
- package/dist/cjs/api/types/CustomViewAuthoringGuide.js +3 -0
- package/dist/cjs/api/types/CustomViewDetail.d.ts +60 -0
- package/dist/cjs/api/types/CustomViewDetail.js +30 -0
- package/dist/cjs/api/types/CustomViewEmbedTokenResponse.d.ts +6 -0
- package/dist/cjs/api/types/CustomViewEmbedTokenResponse.js +3 -0
- package/dist/cjs/api/types/CustomViewFilter.d.ts +6 -0
- package/dist/cjs/api/types/CustomViewFilter.js +3 -0
- package/dist/cjs/api/types/CustomViewListResponse.d.ts +4 -0
- package/dist/cjs/api/types/CustomViewListResponse.js +3 -0
- package/dist/cjs/api/types/CustomViewPreviewHarness.d.ts +4 -0
- package/dist/cjs/api/types/CustomViewPreviewHarness.js +3 -0
- package/dist/cjs/api/types/CustomViewPreviewHarnessColumn.d.ts +16 -0
- package/dist/cjs/api/types/CustomViewPreviewHarnessColumn.js +14 -0
- package/dist/cjs/api/types/CustomViewPreviewHarnessRequest.d.ts +11 -0
- package/dist/cjs/api/types/CustomViewPreviewHarnessRequest.js +3 -0
- package/dist/cjs/api/types/CustomViewQuery.d.ts +6 -0
- package/dist/cjs/api/types/CustomViewQuery.js +3 -0
- package/dist/cjs/api/types/CustomViewSummary.d.ts +57 -0
- package/dist/cjs/api/types/CustomViewSummary.js +30 -0
- package/dist/cjs/api/types/CustomViewValidationFinding.d.ts +8 -0
- package/dist/cjs/api/types/CustomViewValidationFinding.js +3 -0
- package/dist/cjs/api/types/Customer.d.ts +14 -2
- package/dist/cjs/api/types/Customer.js +9 -0
- package/dist/cjs/api/types/CustomerAlias.d.ts +10 -0
- package/dist/cjs/api/types/CustomerAlias.js +3 -0
- package/dist/cjs/api/types/CustomerAliasCreateRequest.d.ts +8 -0
- package/dist/cjs/api/types/CustomerAliasCreateRequest.js +3 -0
- package/dist/cjs/api/types/CustomerAliasListResponse.d.ts +5 -0
- package/dist/cjs/api/types/CustomerAliasListResponse.js +3 -0
- package/dist/{esm/api/types/CustomerBillingAddress.d.mts → cjs/api/types/CustomerBillingAddressInput.d.ts} +1 -1
- package/dist/cjs/api/types/CustomerBillingAddressInput.js +3 -0
- package/dist/cjs/api/types/CustomerBillingAddressResponse.d.ts +11 -0
- package/dist/cjs/api/types/CustomerBillingAddressResponse.js +3 -0
- package/dist/cjs/api/types/CustomerConnections.d.ts +7 -0
- package/dist/cjs/api/types/CustomerConnections.js +3 -0
- package/dist/cjs/api/types/CustomerGroupDeleteResponse.d.ts +4 -0
- package/dist/cjs/api/types/CustomerGroupDeleteResponse.js +3 -0
- package/dist/cjs/api/types/CustomerGroupDetail.d.ts +10 -0
- package/dist/cjs/api/types/CustomerGroupDetail.js +3 -0
- package/dist/cjs/api/types/CustomerGroupListResponse.d.ts +5 -0
- package/dist/cjs/api/types/CustomerGroupListResponse.js +3 -0
- package/dist/cjs/api/types/CustomerGroupMember.d.ts +5 -0
- package/dist/cjs/api/types/CustomerGroupMember.js +3 -0
- package/dist/cjs/api/types/CustomerGroupSummary.d.ts +8 -0
- package/dist/cjs/api/types/CustomerGroupSummary.js +3 -0
- package/dist/cjs/api/types/CustomerState.d.ts +10 -0
- package/dist/cjs/api/types/CustomerState.js +3 -0
- package/dist/cjs/api/types/CustomerStateCheckoutLink.d.ts +18 -0
- package/dist/cjs/api/types/CustomerStateCheckoutLink.js +13 -0
- package/dist/cjs/api/types/CustomerStateCreditBalance.d.ts +6 -0
- package/dist/cjs/api/types/CustomerStateCreditBalance.js +3 -0
- package/dist/cjs/api/types/CustomerStateCreditSummary.d.ts +4 -0
- package/dist/cjs/api/types/CustomerStateCreditSummary.js +3 -0
- package/dist/cjs/api/types/CustomerStateCustomer.d.ts +8 -0
- package/dist/cjs/api/types/CustomerStateCustomer.js +3 -0
- package/dist/cjs/api/types/CustomerStateOrder.d.ts +21 -0
- package/dist/cjs/api/types/CustomerStateOrder.js +13 -0
- package/dist/cjs/api/types/CustomerStateProductRef.d.ts +5 -0
- package/dist/cjs/api/types/CustomerStateProductRef.js +3 -0
- package/dist/cjs/api/types/CustomerStateSeat.d.ts +17 -0
- package/dist/cjs/api/types/CustomerStateSeat.js +11 -0
- package/dist/cjs/api/types/CustomerStateSeatAssignee.d.ts +6 -0
- package/dist/cjs/api/types/CustomerStateSeatAssignee.js +3 -0
- package/dist/cjs/api/types/CustomerStateSeats.d.ts +7 -0
- package/dist/cjs/api/types/CustomerStateSeats.js +3 -0
- package/dist/cjs/api/types/CustomerUnit.d.ts +25 -0
- package/dist/cjs/api/types/CustomerUnit.js +12 -0
- package/dist/cjs/api/types/CustomerUnitAttribution.d.ts +7 -0
- package/dist/cjs/api/types/CustomerUnitAttribution.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapCurrentPeriod.d.ts +11 -0
- package/dist/cjs/api/types/CustomerUnitCapCurrentPeriod.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapEndResponse.d.ts +12 -0
- package/dist/cjs/api/types/CustomerUnitCapEndResponse.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapEndedPolicy.d.ts +24 -0
- package/dist/cjs/api/types/CustomerUnitCapEndedPolicy.js +11 -0
- package/dist/cjs/api/types/CustomerUnitCapOpenPolicy.d.ts +29 -0
- package/dist/cjs/api/types/CustomerUnitCapOpenPolicy.js +15 -0
- package/dist/cjs/api/types/CustomerUnitCapPeriod.d.ts +6 -0
- package/dist/cjs/api/types/CustomerUnitCapPeriod.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapPolicy.d.ts +24 -0
- package/dist/cjs/api/types/CustomerUnitCapPolicy.js +11 -0
- package/dist/cjs/api/types/CustomerUnitCapResponse.d.ts +11 -0
- package/dist/cjs/api/types/CustomerUnitCapResponse.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapSet.d.ts +17 -0
- package/dist/cjs/api/types/CustomerUnitCapSet.js +11 -0
- package/dist/cjs/api/types/CustomerUnitCapSetResponse.d.ts +11 -0
- package/dist/cjs/api/types/CustomerUnitCapSetResponse.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCreate.d.ts +12 -0
- package/dist/cjs/api/types/CustomerUnitCreate.js +3 -0
- package/dist/cjs/api/types/CustomerUnitListResponse.d.ts +6 -0
- package/dist/cjs/api/types/CustomerUnitListResponse.js +3 -0
- package/dist/cjs/api/types/CustomerUnitUpdate.d.ts +10 -0
- package/dist/cjs/api/types/CustomerUnitUpdate.js +3 -0
- package/dist/cjs/api/types/EndAttributeIntent.d.ts +16 -0
- package/dist/cjs/api/types/EndAttributeIntent.js +14 -0
- package/dist/cjs/api/types/GrantCustomerCreditsResponse.d.ts +9 -0
- package/dist/cjs/api/types/GrantCustomerCreditsResponse.js +3 -0
- package/dist/cjs/api/types/Invoice.d.ts +3 -0
- package/dist/cjs/api/types/MemberRequest.d.ts +4 -0
- package/dist/cjs/api/types/MemberRequest.js +3 -0
- package/dist/cjs/api/types/MoneyAxisOptions.d.ts +23 -0
- package/dist/cjs/api/types/MoneyAxisOptions.js +3 -0
- package/dist/cjs/api/types/MoneyAxisValue.d.ts +6 -0
- package/dist/cjs/api/types/MoneyAxisValue.js +9 -0
- package/dist/cjs/api/types/Order.d.ts +1 -0
- package/dist/cjs/api/types/OrderLine.d.ts +2 -0
- package/dist/cjs/api/types/OrderLineType.d.ts +7 -0
- package/dist/cjs/api/types/OrderLineType.js +10 -0
- package/dist/cjs/api/types/Payment.d.ts +30 -0
- package/dist/cjs/api/types/Payment.js +3 -0
- package/dist/cjs/api/types/PaymentAllocation.d.ts +21 -0
- package/dist/cjs/api/types/PaymentAllocation.js +3 -0
- package/dist/cjs/api/types/PaymentAllocationCreateResponse.d.ts +4 -0
- package/dist/cjs/api/types/PaymentAllocationCreateResponse.js +3 -0
- package/dist/cjs/api/types/PaymentAllocationInput.d.ts +8 -0
- package/dist/cjs/api/types/PaymentAllocationInput.js +3 -0
- package/dist/cjs/api/types/PaymentAllocationListResponse.d.ts +5 -0
- package/dist/cjs/api/types/PaymentAllocationListResponse.js +3 -0
- package/dist/cjs/api/types/PaymentCreateStatus.d.ts +6 -0
- package/dist/cjs/api/types/PaymentCreateStatus.js +9 -0
- package/dist/cjs/api/types/PaymentListResponse.d.ts +5 -0
- package/dist/cjs/api/types/PaymentListResponse.js +3 -0
- package/dist/cjs/api/types/PaymentMethod.d.ts +15 -0
- package/dist/cjs/api/types/PaymentMethod.js +3 -0
- package/dist/cjs/api/types/PaymentMethodCard.d.ts +13 -0
- package/dist/cjs/api/types/PaymentMethodCard.js +3 -0
- package/dist/cjs/api/types/PaymentMethodListResponse.d.ts +5 -0
- package/dist/cjs/api/types/PaymentMethodListResponse.js +3 -0
- package/dist/cjs/api/types/PaymentMethodSetup.d.ts +21 -0
- package/dist/cjs/api/types/PaymentMethodSetup.js +3 -0
- package/dist/cjs/api/types/PaymentType.d.ts +9 -0
- package/dist/cjs/api/types/PaymentType.js +12 -0
- package/dist/cjs/api/types/PendingCreditConsumption.d.ts +16 -0
- package/dist/cjs/api/types/PendingCreditConsumption.js +3 -0
- package/dist/cjs/api/types/PendingCreditConsumptionCurrency.d.ts +9 -0
- package/dist/cjs/api/types/PendingCreditConsumptionCurrency.js +3 -0
- package/dist/cjs/api/types/PendingCreditConsumptionListResponse.d.ts +6 -0
- package/dist/cjs/api/types/PendingCreditConsumptionListResponse.js +3 -0
- package/dist/cjs/api/types/Plan.d.ts +22 -0
- package/dist/cjs/api/types/Plan.js +11 -0
- package/dist/cjs/api/types/PlanAttribute.d.ts +8 -0
- package/dist/cjs/api/types/PlanAttribute.js +3 -0
- package/dist/cjs/api/types/PlanAttributeInput.d.ts +7 -0
- package/dist/cjs/api/types/PlanAttributeInput.js +3 -0
- package/dist/cjs/api/types/PlanCreditBenefit.d.ts +37 -0
- package/dist/cjs/api/types/PlanCreditBenefit.js +24 -0
- package/dist/cjs/api/types/PlanListResponse.d.ts +5 -0
- package/dist/cjs/api/types/PlanListResponse.js +3 -0
- package/dist/cjs/api/types/PlanPricing.d.ts +31 -0
- package/dist/cjs/api/types/PlanPricing.js +24 -0
- package/dist/cjs/api/types/PlanRef.d.ts +5 -0
- package/dist/cjs/api/types/PlanRef.js +3 -0
- package/dist/cjs/api/types/PlanUpgradePathGroup.d.ts +4 -0
- package/dist/cjs/api/types/PlanUpgradePathGroup.js +3 -0
- package/dist/cjs/api/types/PlanUpgradePathResponse.d.ts +4 -0
- package/dist/cjs/api/types/PlanUpgradePathResponse.js +3 -0
- package/dist/cjs/api/types/PlannedAdd.d.ts +28 -0
- package/dist/cjs/api/types/PlannedAdd.js +13 -0
- package/dist/cjs/api/types/PlannedCopy.d.ts +10 -0
- package/dist/cjs/api/types/PlannedCopy.js +3 -0
- package/dist/cjs/api/types/PlannedEnd.d.ts +10 -0
- package/dist/cjs/api/types/PlannedEnd.js +3 -0
- package/dist/cjs/api/types/PlannedOperations.d.ts +13 -0
- package/dist/cjs/api/types/PlannedOperations.js +3 -0
- package/dist/cjs/api/types/PlannedOrderTerm.d.ts +10 -0
- package/dist/cjs/api/types/PlannedOrderTerm.js +3 -0
- package/dist/cjs/api/types/PlannedReplace.d.ts +15 -0
- package/dist/cjs/api/types/PlannedReplace.js +3 -0
- package/dist/cjs/api/types/PricingInput.d.ts +4 -1
- package/dist/cjs/api/types/PricingOutput.d.ts +7 -0
- package/dist/cjs/api/types/PricingOutput.js +5 -0
- package/dist/cjs/api/types/PricingPricePointOutput.d.ts +2 -22
- package/dist/cjs/api/types/PricingPricePointOutput.js +0 -14
- package/dist/cjs/api/types/PricingTierOutput.d.ts +16 -0
- package/dist/cjs/api/types/PricingTierOutput.js +11 -0
- package/dist/cjs/api/types/ProductAttributeOutput.d.ts +8 -0
- package/dist/cjs/api/types/ProductAttributeOutput.js +3 -0
- package/dist/cjs/api/types/ProductAttributeUpsert.d.ts +9 -0
- package/dist/cjs/api/types/ProductAttributeUpsert.js +3 -0
- package/dist/cjs/api/types/ProductCreditBenefitInput.d.ts +32 -0
- package/dist/cjs/api/types/ProductCreditBenefitInput.js +20 -0
- package/dist/cjs/api/types/ProductCreditBenefitOutput.d.ts +13 -0
- package/dist/cjs/api/types/ProductCreditBenefitOutput.js +3 -0
- package/dist/cjs/api/types/ProductDetail.d.ts +14 -0
- package/dist/cjs/api/types/ProductDetail.js +3 -0
- package/dist/cjs/api/types/ProductOneTimePerUnitInput.d.ts +21 -0
- package/dist/cjs/api/types/ProductOneTimePerUnitInput.js +18 -0
- package/dist/cjs/api/types/ProductPricePointOutput.d.ts +9 -0
- package/dist/cjs/api/types/ProductPricePointOutput.js +3 -0
- package/dist/cjs/api/types/ProductPricingInput.d.ts +49 -0
- package/dist/cjs/api/types/ProductPricingInput.js +3 -0
- package/dist/cjs/api/types/ProductPricingOutput.d.ts +43 -0
- package/dist/cjs/api/types/ProductPricingOutput.js +28 -0
- package/dist/cjs/api/types/ProductPricingTierOutput.d.ts +16 -0
- package/dist/cjs/api/types/ProductPricingTierOutput.js +11 -0
- package/dist/cjs/api/types/ProductRecurringGraduatedInput.d.ts +22 -0
- package/dist/cjs/api/types/ProductRecurringGraduatedInput.js +18 -0
- package/dist/cjs/api/types/ProductRecurringPerUnitInput.d.ts +22 -0
- package/dist/cjs/api/types/ProductRecurringPerUnitInput.js +18 -0
- package/dist/cjs/api/types/ProductRecurringPercentOfTotalInput.d.ts +23 -0
- package/dist/cjs/api/types/ProductRecurringPercentOfTotalInput.js +18 -0
- package/dist/cjs/api/types/ProductRecurringVolumeInput.d.ts +22 -0
- package/dist/cjs/api/types/ProductRecurringVolumeInput.js +18 -0
- package/dist/cjs/api/types/ProductSeatBasedGraduatedInput.d.ts +22 -0
- package/dist/cjs/api/types/ProductSeatBasedGraduatedInput.js +18 -0
- package/dist/cjs/api/types/ProductSeatBasedPerUnitInput.d.ts +22 -0
- package/dist/cjs/api/types/ProductSeatBasedPerUnitInput.js +18 -0
- package/dist/cjs/api/types/ProductSeatBasedPrepaidCreditsInput.d.ts +26 -0
- package/dist/cjs/api/types/ProductSeatBasedPrepaidCreditsInput.js +18 -0
- package/dist/cjs/api/types/ProductSeatBasedVolumeInput.d.ts +22 -0
- package/dist/cjs/api/types/ProductSeatBasedVolumeInput.js +18 -0
- package/dist/cjs/api/types/ProductSimplePricePoint.d.ts +29 -0
- package/dist/cjs/api/types/ProductSimplePricePoint.js +17 -0
- package/dist/cjs/api/types/ProductTieredPricePoint.d.ts +29 -0
- package/dist/cjs/api/types/ProductTieredPricePoint.js +17 -0
- package/dist/cjs/api/types/ProductUsageBracketedPrepaidCreditsInput.d.ts +57 -0
- package/dist/cjs/api/types/ProductUsageBracketedPrepaidCreditsInput.js +28 -0
- package/dist/cjs/api/types/ProductUsageCostPlusInput.d.ts +29 -0
- package/dist/cjs/api/types/ProductUsageCostPlusInput.js +22 -0
- package/dist/cjs/api/types/ProductUsageGraduatedInput.d.ts +29 -0
- package/dist/cjs/api/types/ProductUsageGraduatedInput.js +22 -0
- package/dist/cjs/api/types/ProductUsagePerUnitInput.d.ts +29 -0
- package/dist/cjs/api/types/ProductUsagePerUnitInput.js +22 -0
- package/dist/cjs/api/types/ProductUsagePrepaidCreditsInput.d.ts +45 -0
- package/dist/cjs/api/types/ProductUsagePrepaidCreditsInput.js +28 -0
- package/dist/cjs/api/types/ProductUsageVolumeInput.d.ts +29 -0
- package/dist/cjs/api/types/ProductUsageVolumeInput.js +22 -0
- package/dist/cjs/api/types/RemoveMembersResponse.d.ts +5 -0
- package/dist/cjs/api/types/RemoveMembersResponse.js +3 -0
- package/dist/cjs/api/types/RenderBundleEdit.d.ts +8 -0
- package/dist/cjs/api/types/RenderBundleEdit.js +3 -0
- package/dist/cjs/api/types/RotateWebhookSecretResponse.d.ts +4 -0
- package/dist/cjs/api/types/RotateWebhookSecretResponse.js +3 -0
- package/dist/cjs/api/types/SeatBasedPrepaidCreditsInput.d.ts +1 -0
- package/dist/cjs/api/types/SetMembersResponse.d.ts +6 -0
- package/dist/cjs/api/types/SetMembersResponse.js +3 -0
- package/dist/cjs/api/types/Signal.d.ts +1 -0
- package/dist/cjs/api/types/SignalListItem.d.ts +20 -0
- package/dist/cjs/api/types/SignalListItem.js +3 -0
- package/dist/cjs/api/types/SignalListResponse.d.ts +5 -0
- package/dist/cjs/api/types/SignalListResponse.js +3 -0
- package/dist/cjs/api/types/SignalsMetadataResponse.d.ts +28 -0
- package/dist/cjs/api/types/SignalsMetadataResponse.js +3 -0
- package/dist/cjs/api/types/StripeConnection.d.ts +7 -0
- package/dist/cjs/api/types/StripeConnection.js +3 -0
- package/dist/cjs/api/{resources/valueReceipts/client/requests → types}/SyncValueReceiptRequest.d.ts +0 -7
- package/dist/cjs/api/types/SyncValueReceiptRequest.js +3 -0
- package/dist/cjs/api/types/UnifiedAmendmentIntent.d.ts +25 -0
- package/dist/cjs/api/types/UnifiedAmendmentIntent.js +3 -0
- package/dist/cjs/api/types/UnifiedAmendmentResponse.d.ts +19 -0
- package/dist/cjs/api/types/UnifiedAmendmentResponse.js +3 -0
- package/dist/cjs/api/types/UpdateCustomerRequest.d.ts +1 -1
- package/dist/cjs/api/types/UpdateLineTermIntent.d.ts +18 -0
- package/dist/cjs/api/types/UpdateLineTermIntent.js +14 -0
- package/dist/cjs/api/types/UpdateOrderTermIntent.d.ts +18 -0
- package/dist/cjs/api/types/UpdateOrderTermIntent.js +14 -0
- package/dist/cjs/api/types/UpdatePlanRequest.d.ts +18 -0
- package/dist/cjs/api/types/UpdatePlanRequest.js +12 -0
- package/dist/cjs/api/types/UpdatePricingIntent.d.ts +22 -0
- package/dist/cjs/api/types/UpdatePricingIntent.js +14 -0
- package/dist/cjs/api/types/UpdateProductRequest.d.ts +2 -0
- package/dist/cjs/api/types/UpdateQuantityIntent.d.ts +18 -0
- package/dist/cjs/api/types/UpdateQuantityIntent.js +14 -0
- package/dist/cjs/api/types/UsageAttributionAxisOptions.d.ts +23 -0
- package/dist/cjs/api/types/UsageAttributionAxisOptions.js +3 -0
- package/dist/cjs/api/types/UsageAttributionAxisValue.d.ts +6 -0
- package/dist/cjs/api/types/UsageAttributionAxisValue.js +9 -0
- package/dist/cjs/api/types/UsageBracketedPrepaidCreditsInput.d.ts +57 -0
- package/dist/cjs/api/types/UsageBracketedPrepaidCreditsInput.js +28 -0
- package/dist/cjs/api/types/UsageCostPlusInput.d.ts +6 -0
- package/dist/cjs/api/types/UsageCostPlusInput.js +4 -0
- package/dist/cjs/api/types/UsageGraduatedInput.d.ts +6 -0
- package/dist/cjs/api/types/UsageGraduatedInput.js +4 -0
- package/dist/cjs/api/types/UsagePerUnitInput.d.ts +6 -0
- package/dist/cjs/api/types/UsagePerUnitInput.js +4 -0
- package/dist/cjs/api/types/UsagePrepaidCreditsInput.d.ts +19 -0
- package/dist/cjs/api/types/UsagePrepaidCreditsInput.js +10 -0
- package/dist/cjs/api/types/UsageVolumeInput.d.ts +6 -0
- package/dist/cjs/api/types/UsageVolumeInput.js +4 -0
- package/dist/cjs/api/types/ValidateCustomViewRequest.d.ts +51 -0
- package/dist/cjs/api/types/ValidateCustomViewRequest.js +26 -0
- package/dist/cjs/api/types/ValidateCustomViewResponse.d.ts +7 -0
- package/dist/cjs/api/types/ValidateCustomViewResponse.js +3 -0
- package/dist/cjs/api/types/ValueMetricDetail.d.ts +47 -0
- package/dist/cjs/api/types/ValueMetricDetail.js +3 -0
- package/dist/cjs/api/types/ValueMetricFormula.d.ts +9 -0
- package/dist/cjs/api/types/ValueMetricFormula.js +3 -0
- package/dist/cjs/api/types/ValueMetricFormulaVariable.d.ts +31 -0
- package/dist/cjs/api/types/ValueMetricFormulaVariable.js +24 -0
- package/dist/cjs/api/types/ValueMetricListResponse.d.ts +5 -0
- package/dist/cjs/api/types/ValueMetricListResponse.js +3 -0
- package/dist/cjs/api/types/ValueMetricMonetaryConversion.d.ts +6 -0
- package/dist/cjs/api/types/ValueMetricMonetaryConversion.js +3 -0
- package/dist/cjs/api/types/ValueMetricSignalBinding.d.ts +14 -0
- package/dist/cjs/api/types/ValueMetricSignalBinding.js +3 -0
- package/dist/cjs/api/types/ValueMetricSummary.d.ts +30 -0
- package/dist/cjs/api/types/ValueMetricSummary.js +3 -0
- package/dist/cjs/api/types/ValueMetricUnit.d.ts +27 -0
- package/dist/cjs/api/types/ValueMetricUnit.js +20 -0
- package/dist/cjs/api/types/ValueMetricValidationResponse.d.ts +13 -0
- package/dist/cjs/api/types/ValueMetricValidationResponse.js +3 -0
- package/dist/cjs/api/types/ValueMetricVariableEdit.d.ts +26 -0
- package/dist/cjs/api/types/ValueMetricVariableEdit.js +19 -0
- package/dist/cjs/api/types/ValueMetricWriteAck.d.ts +6 -0
- package/dist/cjs/api/types/ValueMetricWriteAck.js +3 -0
- package/dist/cjs/api/types/ValueModelAuthoringGuide.d.ts +22 -0
- package/dist/cjs/api/types/ValueModelAuthoringGuide.js +3 -0
- package/dist/cjs/api/types/ValueModelContent.d.ts +357 -0
- package/dist/cjs/api/types/ValueModelContent.js +141 -0
- package/dist/cjs/api/types/ValueModelDetail.d.ts +12 -0
- package/dist/cjs/api/types/ValueModelDetail.js +3 -0
- package/dist/cjs/api/types/ValueModelSummary.d.ts +18 -0
- package/dist/cjs/api/types/ValueModelSummary.js +12 -0
- package/dist/cjs/api/types/ValueModelVersionListResponse.d.ts +5 -0
- package/dist/cjs/api/types/ValueModelVersionListResponse.js +3 -0
- package/dist/cjs/api/types/ValueReceiptSyncResponse.d.ts +1 -0
- package/dist/cjs/api/types/ViewDataResponse.d.ts +4 -0
- package/dist/cjs/api/types/ViewDataResponse.js +3 -0
- package/dist/cjs/api/types/Webhook.d.ts +2 -0
- package/dist/cjs/api/types/Webhook.js +2 -0
- package/dist/cjs/api/types/WebhookListResponse.d.ts +2 -0
- package/dist/cjs/api/types/WebhookUpdateResponse.d.ts +28 -0
- package/dist/cjs/api/types/WebhookUpdateResponse.js +20 -0
- package/dist/cjs/api/types/WritableOrderLineType.d.ts +6 -0
- package/dist/cjs/api/types/WritableOrderLineType.js +9 -0
- package/dist/cjs/api/types/index.d.ts +209 -1
- package/dist/cjs/api/types/index.js +209 -1
- package/dist/cjs/tracing/aiSdkSpanProcessor.js +17 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +33 -0
- package/dist/esm/Client.mjs +57 -2
- package/dist/esm/api/errors/BadRequestError.d.mts +1 -2
- package/dist/esm/api/errors/ConflictError.d.mts +1 -2
- package/dist/esm/api/errors/ForbiddenError.d.mts +1 -2
- package/dist/esm/api/errors/InternalServerError.d.mts +1 -2
- package/dist/esm/api/errors/NotFoundError.d.mts +1 -2
- package/dist/esm/api/errors/RequestTimeoutError.d.mts +6 -0
- package/dist/esm/api/errors/RequestTimeoutError.mjs +13 -0
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +6 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +13 -0
- package/dist/esm/api/errors/index.d.mts +2 -0
- package/dist/esm/api/errors/index.mjs +2 -0
- package/dist/esm/api/resources/amendments/client/Client.d.mts +83 -0
- package/dist/esm/api/resources/amendments/client/Client.mjs +276 -0
- package/dist/esm/api/resources/amendments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/amendments/client/index.mjs +1 -0
- package/dist/esm/api/resources/amendments/client/requests/GetOrderAmendmentOptionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.d.mts +35 -0
- package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentExecuteRequest.mjs +11 -0
- package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.d.mts +33 -0
- package/dist/esm/api/resources/amendments/client/requests/UnifiedAmendmentPreviewRequest.mjs +11 -0
- package/dist/esm/api/resources/amendments/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/amendments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/amendments/index.d.mts +1 -0
- package/dist/esm/api/resources/amendments/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/client/Client.d.mts +63 -0
- package/dist/esm/api/resources/analytics/client/Client.mjs +236 -0
- package/dist/esm/api/resources/analytics/client/index.d.mts +1 -0
- package/dist/esm/api/resources/analytics/client/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/client/requests/GetSignalsMetadataRequest.d.mts +12 -0
- package/dist/esm/api/resources/analytics/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/analytics/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/index.d.mts +1 -0
- package/dist/esm/api/resources/analytics/index.mjs +1 -0
- package/dist/esm/api/resources/analyticsExperimental/client/Client.d.mts +69 -0
- package/dist/esm/api/resources/analyticsExperimental/client/Client.mjs +242 -0
- package/dist/esm/api/resources/analyticsExperimental/client/index.d.mts +1 -0
- package/dist/esm/api/resources/analyticsExperimental/client/index.mjs +1 -0
- package/dist/esm/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.d.mts +12 -0
- package/dist/esm/api/resources/analyticsExperimental/client/requests/GetExperimentalSignalsMetadataRequest.mjs +2 -0
- package/dist/esm/api/resources/analyticsExperimental/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/analyticsExperimental/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/analyticsExperimental/index.d.mts +1 -0
- package/dist/esm/api/resources/analyticsExperimental/index.mjs +1 -0
- package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.mts +3 -1
- package/dist/esm/api/resources/credits/client/Client.d.mts +57 -2
- package/dist/esm/api/resources/credits/client/Client.mjs +267 -5
- package/dist/esm/api/resources/credits/client/index.d.mts +1 -1
- package/dist/esm/api/resources/credits/client/index.mjs +1 -1
- package/dist/esm/api/resources/credits/client/requests/CreateCreditCurrencyRequest.d.mts +16 -0
- package/dist/esm/api/resources/credits/client/requests/CreateCreditCurrencyRequest.mjs +2 -0
- package/dist/esm/api/resources/credits/client/requests/ListCreditCurrenciesRequest.d.mts +9 -0
- package/dist/esm/api/resources/credits/client/requests/ListCreditCurrenciesRequest.mjs +2 -0
- package/dist/esm/api/resources/credits/client/requests/ListCreditTransactionsRequest.d.mts +25 -0
- package/dist/esm/api/resources/credits/client/requests/ListCreditTransactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.d.mts +24 -0
- package/dist/esm/api/resources/credits/client/requests/UpdateCreditCurrencyRequest.mjs +9 -0
- package/dist/esm/api/resources/credits/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/credits/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/credits/index.d.mts +1 -0
- package/dist/esm/api/resources/credits/index.mjs +1 -0
- package/dist/esm/api/resources/credits/types/ListCreditCurrenciesRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/credits/types/ListCreditCurrenciesRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/credits/types/ListCreditTransactionsRequestType.d.mts +6 -0
- package/dist/esm/api/resources/credits/types/ListCreditTransactionsRequestType.mjs +6 -0
- package/dist/esm/api/resources/credits/types/index.d.mts +2 -0
- package/dist/esm/api/resources/credits/types/index.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/client/Client.d.mts +177 -0
- package/dist/esm/api/resources/customViewsExperimental/client/Client.mjs +651 -0
- package/dist/esm/api/resources/customViewsExperimental/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customViewsExperimental/client/index.mjs +1 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.mts +66 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.mjs +23 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.mts +22 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.d.mts +14 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewEmbedTokenRequest.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.d.mts +9 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewRequest.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.d.mts +9 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/PublishCustomViewRequest.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.d.mts +46 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewPeriodRequest.mjs +18 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.mts +26 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customViewsExperimental/index.d.mts +2 -0
- package/dist/esm/api/resources/customViewsExperimental/index.mjs +2 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.d.mts +5 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.mjs +5 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.d.mts +6 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.mjs +6 -0
- package/dist/esm/api/resources/customViewsExperimental/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customViewsExperimental/types/index.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/Client.d.mts +153 -0
- package/dist/esm/api/resources/customerGroups/client/Client.mjs +599 -0
- package/dist/esm/api/resources/customerGroups/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customerGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.d.mts +14 -0
- package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.d.mts +10 -0
- package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.d.mts +14 -0
- package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.d.mts +9 -0
- package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.d.mts +9 -0
- package/dist/esm/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.d.mts +8 -0
- package/dist/esm/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.d.mts +14 -0
- package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.d.mts +11 -0
- package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.mjs +2 -0
- package/dist/esm/api/resources/customerGroups/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/customerGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customerGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/customerGroups/index.mjs +1 -0
- package/dist/esm/api/resources/customers/client/Client.d.mts +576 -12
- package/dist/esm/api/resources/customers/client/Client.mjs +2292 -98
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerAliasRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerRequest.d.mts +1 -1
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerAliasRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerByExternalIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerByIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/EndCustomerUnitCapRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerByExternalIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/GetCustomerByIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.d.mts +10 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByIdRequest.d.mts +10 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerStateByIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitCapRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.d.mts +18 -0
- package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsRequest.d.mts +18 -0
- package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerAliasesRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerPendingCreditConsumptionRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.d.mts +20 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsRequest.d.mts +20 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomersRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.d.mts +18 -0
- package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapRequest.d.mts +18 -0
- package/dist/esm/api/resources/customers/client/requests/SetCustomerUnitCapRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/UpdateCustomerByExternalIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/UpdateCustomerByIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/UpdateCustomerUnitRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/index.d.mts +28 -0
- package/dist/esm/api/resources/customers/index.d.mts +1 -0
- package/dist/esm/api/resources/customers/index.mjs +1 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomersRequestCreationState.d.mts +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomersRequestCreationState.mjs +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomersRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/customers/types/ListCustomersRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/customers/types/index.d.mts +4 -0
- package/dist/esm/api/resources/customers/types/index.mjs +4 -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.mjs +37 -1
- package/dist/esm/api/resources/invoices/client/requests/ListInvoicesRequest.d.mts +25 -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/invoices/types/ListInvoicesRequestPaymentStatus.d.mts +8 -0
- package/dist/esm/api/resources/invoices/types/ListInvoicesRequestPaymentStatus.mjs +8 -0
- package/dist/esm/api/resources/invoices/types/ListInvoicesRequestStatus.d.mts +10 -0
- package/dist/esm/api/resources/invoices/types/ListInvoicesRequestStatus.mjs +10 -0
- package/dist/esm/api/resources/invoices/types/index.d.mts +2 -0
- package/dist/esm/api/resources/invoices/types/index.mjs +2 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/orders/client/Client.mjs +99 -1
- package/dist/esm/api/resources/orders/client/requests/ActivateOrderByIdRequest.d.mts +9 -0
- package/dist/esm/api/resources/orders/client/requests/ActivateOrderByIdRequest.mjs +2 -0
- package/dist/esm/api/resources/orders/client/requests/CreateOrderRequest.d.mts +2 -0
- package/dist/esm/api/resources/orders/client/requests/ListOrdersRequest.d.mts +19 -0
- package/dist/esm/api/resources/orders/client/requests/UpdateOrderRequest.d.mts +2 -0
- package/dist/esm/api/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/types/ListOrdersRequestCreationState.d.mts +5 -0
- package/dist/esm/api/resources/orders/types/ListOrdersRequestCreationState.mjs +5 -0
- package/dist/esm/api/resources/orders/types/OrderStatusFilter.d.mts +7 -0
- package/dist/esm/api/resources/orders/types/OrderStatusFilter.mjs +7 -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/paymentAllocations/client/Client.d.mts +55 -0
- package/dist/esm/api/resources/paymentAllocations/client/Client.mjs +187 -0
- package/dist/esm/api/resources/paymentAllocations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentAllocations/client/index.mjs +1 -0
- package/dist/esm/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.d.mts +17 -0
- package/dist/esm/api/resources/paymentAllocations/client/requests/CreatePaymentAllocationRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.d.mts +15 -0
- package/dist/esm/api/resources/paymentAllocations/client/requests/ListPaymentAllocationsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentAllocations/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/paymentAllocations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/paymentAllocations/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentAllocations/index.mjs +1 -0
- package/dist/esm/api/resources/paymentMethods/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/paymentMethods/client/Client.mjs +409 -0
- package/dist/esm/api/resources/paymentMethods/client/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentMethods/client/index.mjs +1 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.d.mts +18 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/CreatePaymentMethodRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.d.mts +9 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/DeletePaymentMethodRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.d.mts +9 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/GetPaymentMethodRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.mts +14 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.d.mts +9 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/UpdateDefaultPaymentMethodRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/paymentMethods/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/paymentMethods/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentMethods/index.mjs +1 -0
- package/dist/esm/api/resources/payments/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/payments/client/Client.mjs +256 -0
- package/dist/esm/api/resources/payments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/payments/client/index.mjs +1 -0
- package/dist/esm/api/resources/payments/client/requests/CreatePaymentRequest.d.mts +25 -0
- package/dist/esm/api/resources/payments/client/requests/CreatePaymentRequest.mjs +2 -0
- package/dist/esm/api/resources/payments/client/requests/GetPaymentRequest.d.mts +9 -0
- package/dist/esm/api/resources/payments/client/requests/GetPaymentRequest.mjs +2 -0
- package/dist/esm/api/resources/payments/client/requests/ListPaymentsRequest.d.mts +15 -0
- package/dist/esm/api/resources/payments/client/requests/ListPaymentsRequest.mjs +2 -0
- package/dist/esm/api/resources/payments/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/payments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/payments/index.d.mts +2 -0
- package/dist/esm/api/resources/payments/index.mjs +2 -0
- package/dist/esm/api/resources/payments/types/ListPaymentsRequestStatus.d.mts +9 -0
- package/dist/esm/api/resources/payments/types/ListPaymentsRequestStatus.mjs +9 -0
- package/dist/esm/api/resources/payments/types/index.d.mts +1 -0
- package/dist/esm/api/resources/payments/types/index.mjs +1 -0
- package/dist/esm/api/resources/plans/client/Client.d.mts +152 -0
- package/dist/esm/api/resources/plans/client/Client.mjs +556 -0
- package/dist/esm/api/resources/plans/client/index.d.mts +1 -0
- package/dist/esm/api/resources/plans/client/index.mjs +1 -0
- package/dist/esm/api/resources/plans/client/requests/CreatePlanRequest.d.mts +28 -0
- package/dist/esm/api/resources/plans/client/requests/CreatePlanRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/GetPlanByExternalIdRequest.d.mts +9 -0
- package/dist/esm/api/resources/plans/client/requests/GetPlanByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/GetPlanByIdRequest.d.mts +9 -0
- package/dist/esm/api/resources/plans/client/requests/GetPlanByIdRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/ListPlansRequest.d.mts +12 -0
- package/dist/esm/api/resources/plans/client/requests/ListPlansRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/plans/client/requests/UpdatePlanByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/UpdatePlanByIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/plans/client/requests/UpdatePlanByIdRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.d.mts +15 -0
- package/dist/esm/api/resources/plans/client/requests/UpdatePlanUpgradePathRequest.mjs +2 -0
- package/dist/esm/api/resources/plans/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/plans/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/plans/index.d.mts +1 -0
- package/dist/esm/api/resources/plans/index.mjs +1 -0
- package/dist/esm/api/resources/pricing/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/pricing/client/Client.mjs +2 -2
- package/dist/esm/api/resources/pricing/client/requests/UpdatePricingRequest.d.mts +1 -1
- package/dist/esm/api/resources/products/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/products/client/Client.mjs +15 -6
- package/dist/esm/api/resources/products/client/requests/ListProductsRequest.d.mts +6 -0
- package/dist/esm/api/resources/signals/client/Client.d.mts +38 -0
- package/dist/esm/api/resources/signals/client/Client.mjs +180 -0
- package/dist/esm/api/resources/signals/client/requests/GetSignalByIdRequest.d.mts +10 -0
- package/dist/esm/api/resources/signals/client/requests/GetSignalByIdRequest.mjs +2 -0
- package/dist/esm/api/resources/signals/client/requests/ListSignalsRequest.d.mts +22 -0
- package/dist/esm/api/resources/signals/client/requests/ListSignalsRequest.mjs +2 -0
- package/dist/esm/api/resources/signals/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/valueMetrics/client/Client.d.mts +111 -0
- package/dist/esm/api/resources/valueMetrics/client/Client.mjs +409 -0
- package/dist/esm/api/resources/valueMetrics/client/index.d.mts +1 -0
- package/dist/esm/api/resources/valueMetrics/client/index.mjs +1 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.d.mts +10 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/ArchiveValueMetricRequest.mjs +2 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.d.mts +57 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/CreateValueMetricRequest.mjs +12 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/GetValueMetricRequest.d.mts +9 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/GetValueMetricRequest.mjs +2 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.d.mts +10 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/ListValueMetricsRequest.mjs +2 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.d.mts +43 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/UpdateValueMetricRequest.mjs +12 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/valueMetrics/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/valueMetrics/index.d.mts +1 -0
- package/dist/esm/api/resources/valueMetrics/index.mjs +1 -0
- package/dist/esm/api/resources/valueModels/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/valueModels/client/Client.mjs +382 -0
- package/dist/esm/api/resources/valueModels/client/index.d.mts +1 -0
- package/dist/esm/api/resources/valueModels/client/index.mjs +1 -0
- package/dist/esm/api/resources/valueModels/client/requests/GetValueModelVersionRequest.d.mts +9 -0
- package/dist/esm/api/resources/valueModels/client/requests/GetValueModelVersionRequest.mjs +2 -0
- package/dist/esm/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.d.mts +8 -0
- package/dist/esm/api/resources/valueModels/client/requests/ListValueModelVersionsRequest.mjs +2 -0
- package/dist/esm/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.d.mts +5 -0
- package/dist/esm/api/resources/valueModels/client/requests/RefreshValueModelBackfillRequest.mjs +2 -0
- package/dist/esm/api/resources/valueModels/client/requests/ValueModelUploadRequest.d.mts +44 -0
- package/dist/esm/api/resources/valueModels/client/requests/ValueModelUploadRequest.mjs +2 -0
- package/dist/esm/api/resources/valueModels/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/valueModels/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/valueModels/index.d.mts +1 -0
- package/dist/esm/api/resources/valueModels/index.mjs +1 -0
- package/dist/esm/api/resources/valueReceipts/client/Client.d.mts +42 -11
- package/dist/esm/api/resources/valueReceipts/client/Client.mjs +153 -43
- package/dist/esm/api/resources/valueReceipts/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +17 -2
- package/dist/esm/api/resources/webhooks/client/Client.mjs +69 -1
- package/dist/esm/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/client/requests/RotateWebhookSecretRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/types/TestWebhookRequestWebhookName.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/TestWebhookRequestWebhookName.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.mjs +2 -0
- package/dist/esm/api/types/AddAttributeIntent.d.mts +45 -0
- package/dist/esm/api/types/AddAttributeIntent.mjs +21 -0
- package/dist/esm/api/types/AddFromCatalogIntent.d.mts +22 -0
- package/dist/esm/api/types/AddFromCatalogIntent.mjs +10 -0
- package/dist/esm/api/types/AddMembersResponse.d.mts +5 -0
- package/dist/esm/api/types/AddMembersResponse.mjs +2 -0
- package/dist/esm/api/types/AmendmentAddAttributeOptions.d.mts +9 -0
- package/dist/esm/api/types/AmendmentAddAttributeOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentAddAxisOptions.d.mts +10 -0
- package/dist/esm/api/types/AmendmentAddAxisOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentAttributeOptions.d.mts +14 -0
- package/dist/esm/api/types/AmendmentAttributeOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentAttributeState.d.mts +24 -0
- package/dist/esm/api/types/AmendmentAttributeState.mjs +2 -0
- package/dist/esm/api/types/AmendmentAxisChoiceValue.d.mts +10 -0
- package/dist/esm/api/types/AmendmentAxisChoiceValue.mjs +10 -0
- package/dist/esm/api/types/AmendmentAxisId.d.mts +8 -0
- package/dist/esm/api/types/AmendmentAxisId.mjs +8 -0
- package/dist/esm/api/types/AmendmentAxisOptions.d.mts +16 -0
- package/dist/esm/api/types/AmendmentAxisOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentAxisRelevance.d.mts +6 -0
- package/dist/esm/api/types/AmendmentAxisRelevance.mjs +6 -0
- package/dist/esm/api/types/AmendmentBillingType.d.mts +6 -0
- package/dist/esm/api/types/AmendmentBillingType.mjs +6 -0
- package/dist/esm/api/types/AmendmentChargeType.d.mts +8 -0
- package/dist/esm/api/types/AmendmentChargeType.mjs +8 -0
- package/dist/esm/api/types/AmendmentCreditEffectKind.d.mts +6 -0
- package/dist/esm/api/types/AmendmentCreditEffectKind.mjs +6 -0
- package/dist/esm/api/types/AmendmentErrorResponse.d.mts +7 -0
- package/dist/esm/api/types/AmendmentErrorResponse.mjs +2 -0
- package/dist/esm/api/types/AmendmentIntentKind.d.mts +10 -0
- package/dist/esm/api/types/AmendmentIntentKind.mjs +10 -0
- package/dist/esm/api/types/AmendmentIntentOptions.d.mts +7 -0
- package/dist/esm/api/types/AmendmentIntentOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentLineOptions.d.mts +12 -0
- package/dist/esm/api/types/AmendmentLineOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentMoneyBilling.d.mts +6 -0
- package/dist/esm/api/types/AmendmentMoneyBilling.mjs +6 -0
- package/dist/esm/api/types/AmendmentOptions.d.mts +26 -0
- package/dist/esm/api/types/AmendmentOptions.mjs +2 -0
- package/dist/esm/api/types/AmendmentPlan.d.mts +24 -0
- package/dist/esm/api/types/AmendmentPlan.mjs +2 -0
- package/dist/esm/api/types/AmendmentPlanAttributeDiff.d.mts +18 -0
- package/dist/esm/api/types/AmendmentPlanAttributeDiff.mjs +2 -0
- package/dist/esm/api/types/AmendmentPlanChange.d.mts +9 -0
- package/dist/esm/api/types/AmendmentPlanChange.mjs +9 -0
- package/dist/esm/api/types/AmendmentPlanCreditEffect.d.mts +15 -0
- package/dist/esm/api/types/AmendmentPlanCreditEffect.mjs +2 -0
- package/dist/esm/api/types/AmendmentPlanLineType.d.mts +8 -0
- package/dist/esm/api/types/AmendmentPlanLineType.mjs +8 -0
- package/dist/esm/api/types/AmendmentPlanMoneyEffect.d.mts +31 -0
- package/dist/esm/api/types/AmendmentPlanMoneyEffect.mjs +10 -0
- package/dist/esm/api/types/AmendmentPlanTreatmentResolution.d.mts +12 -0
- package/dist/esm/api/types/AmendmentPlanTreatmentResolution.mjs +2 -0
- package/dist/esm/api/types/AmendmentPlanUsageEffect.d.mts +17 -0
- package/dist/esm/api/types/AmendmentPlanUsageEffect.mjs +9 -0
- package/dist/esm/api/types/AmendmentPricingClause.d.mts +14 -0
- package/dist/esm/api/types/AmendmentPricingClause.mjs +2 -0
- package/dist/esm/api/types/AmendmentPricingModel.d.mts +11 -0
- package/dist/esm/api/types/AmendmentPricingModel.mjs +11 -0
- package/dist/esm/api/types/AmendmentTreatmentSource.d.mts +7 -0
- package/dist/esm/api/types/AmendmentTreatmentSource.mjs +7 -0
- package/dist/esm/api/types/AnalyticsColumn.d.mts +5 -0
- package/dist/esm/api/types/AnalyticsColumn.mjs +2 -0
- package/dist/esm/api/types/AnalyticsQueryRequest.d.mts +4 -0
- package/dist/esm/api/types/AnalyticsQueryRequest.mjs +2 -0
- package/dist/esm/api/types/AnalyticsQueryResponse.d.mts +15 -0
- package/dist/esm/api/types/AnalyticsQueryResponse.mjs +2 -0
- package/dist/esm/api/types/AnalyticsSchemaColumn.d.mts +6 -0
- package/dist/esm/api/types/AnalyticsSchemaColumn.mjs +2 -0
- package/dist/esm/api/types/AnalyticsSchemaResponse.d.mts +4 -0
- package/dist/esm/api/types/AnalyticsSchemaResponse.mjs +2 -0
- package/dist/esm/api/types/AnalyticsSchemaView.d.mts +6 -0
- package/dist/esm/api/types/AnalyticsSchemaView.mjs +2 -0
- package/dist/esm/api/types/BackfillResponse.d.mts +4 -0
- package/dist/esm/api/types/BackfillResponse.mjs +2 -0
- package/dist/esm/api/types/ChargeStubAddAxisOptions.d.mts +34 -0
- package/dist/esm/api/types/ChargeStubAddAxisOptions.mjs +16 -0
- package/dist/esm/api/types/ChargeStubAxisOptions.d.mts +33 -0
- package/dist/esm/api/types/ChargeStubAxisOptions.mjs +16 -0
- package/dist/esm/api/types/Checkout.d.mts +2 -0
- package/dist/esm/api/types/CheckoutCustomCard.d.mts +10 -0
- package/dist/esm/api/types/CheckoutCustomCard.mjs +2 -0
- package/dist/esm/api/types/CheckoutCustomCardInput.d.mts +10 -0
- package/dist/esm/api/types/CheckoutCustomCardInput.mjs +2 -0
- package/dist/esm/api/types/CheckoutDetails.d.mts +3 -0
- package/dist/esm/api/types/CheckoutPlan.d.mts +4 -0
- package/dist/esm/api/types/CheckoutPlan.mjs +2 -0
- package/dist/esm/api/types/CheckoutPlanInput.d.mts +6 -0
- package/dist/esm/api/types/CheckoutPlanInput.mjs +2 -0
- package/dist/esm/api/types/CheckoutProduct.d.mts +3 -0
- package/dist/esm/api/types/CheckoutProductInput.d.mts +3 -0
- package/dist/esm/api/types/CheckoutSelectedProduct.d.mts +8 -0
- package/dist/esm/api/types/CheckoutSelectedProduct.mjs +2 -0
- package/dist/esm/api/types/CreateOrderLineAttributeRequest.d.mts +38 -5
- package/dist/esm/api/types/CreateOrderLineAttributeRequest.mjs +8 -0
- package/dist/esm/api/types/CreateOrderLineRequest.d.mts +4 -0
- package/dist/esm/api/types/CreditBalance.d.mts +3 -1
- package/dist/esm/api/types/CreditBenefitInput.d.mts +7 -5
- package/dist/esm/api/types/CreditBenefitOutput.d.mts +6 -6
- package/dist/esm/api/types/CreditCurrency.d.mts +17 -0
- package/dist/esm/api/types/CreditCurrency.mjs +8 -1
- package/dist/esm/api/types/CreditGrant.d.mts +3 -0
- package/dist/esm/api/types/CreditGrantAddAxisOptions.d.mts +24 -0
- package/dist/esm/api/types/CreditGrantAddAxisOptions.mjs +2 -0
- package/dist/esm/api/types/CreditGrantAxisOptions.d.mts +23 -0
- package/dist/esm/api/types/CreditGrantAxisOptions.mjs +2 -0
- package/dist/esm/api/types/CreditGrantCreateRequest.d.mts +10 -0
- package/dist/esm/api/types/CreditGrantCreateRequest.mjs +2 -0
- package/dist/esm/api/types/CreditGrantCurrency.d.mts +6 -0
- package/dist/esm/api/types/CreditGrantCurrency.mjs +2 -0
- package/dist/esm/api/types/CreditGrantCustomer.d.mts +6 -0
- package/dist/esm/api/types/CreditGrantCustomer.mjs +2 -0
- package/dist/esm/api/types/CreditGrantResult.d.mts +19 -0
- package/dist/esm/api/types/CreditGrantResult.mjs +8 -0
- package/dist/esm/api/types/CreditGrantValue.d.mts +7 -0
- package/dist/esm/api/types/CreditGrantValue.mjs +7 -0
- package/dist/esm/api/types/CreditTransaction.d.mts +31 -0
- package/dist/esm/api/types/CreditTransaction.mjs +10 -0
- package/dist/esm/api/types/CreditTransactionCurrency.d.mts +6 -0
- package/dist/esm/api/types/CreditTransactionCurrency.mjs +2 -0
- package/dist/esm/api/types/CreditTransactionCustomer.d.mts +6 -0
- package/dist/esm/api/types/CreditTransactionCustomer.mjs +2 -0
- package/dist/esm/api/types/CreditTransactionListResponse.d.mts +6 -0
- package/dist/esm/api/types/CreditTransactionListResponse.mjs +2 -0
- package/dist/esm/api/types/CreditTransactionProduct.d.mts +11 -0
- package/dist/esm/api/types/CreditTransactionProduct.mjs +2 -0
- package/dist/esm/api/types/CurrencyCode.d.mts +4 -0
- package/dist/esm/api/types/CurrencyCode.mjs +2 -0
- package/dist/esm/api/types/CustomView.d.mts +25 -0
- package/dist/esm/api/types/CustomView.mjs +14 -0
- package/dist/esm/api/types/CustomViewAuthoringDetail.d.mts +69 -0
- package/dist/esm/api/types/CustomViewAuthoringDetail.mjs +27 -0
- package/dist/esm/api/types/CustomViewAuthoringGuide.d.mts +6 -0
- package/dist/esm/api/types/CustomViewAuthoringGuide.mjs +2 -0
- package/dist/esm/api/types/CustomViewDetail.d.mts +60 -0
- package/dist/esm/api/types/CustomViewDetail.mjs +27 -0
- package/dist/esm/api/types/CustomViewEmbedTokenResponse.d.mts +6 -0
- package/dist/esm/api/types/CustomViewEmbedTokenResponse.mjs +2 -0
- package/dist/esm/api/types/CustomViewFilter.d.mts +6 -0
- package/dist/esm/api/types/CustomViewFilter.mjs +2 -0
- package/dist/esm/api/types/CustomViewListResponse.d.mts +4 -0
- package/dist/esm/api/types/CustomViewListResponse.mjs +2 -0
- package/dist/esm/api/types/CustomViewPreviewHarness.d.mts +4 -0
- package/dist/esm/api/types/CustomViewPreviewHarness.mjs +2 -0
- package/dist/esm/api/types/CustomViewPreviewHarnessColumn.d.mts +16 -0
- package/dist/esm/api/types/CustomViewPreviewHarnessColumn.mjs +11 -0
- package/dist/esm/api/types/CustomViewPreviewHarnessRequest.d.mts +11 -0
- package/dist/esm/api/types/CustomViewPreviewHarnessRequest.mjs +2 -0
- package/dist/esm/api/types/CustomViewQuery.d.mts +6 -0
- package/dist/esm/api/types/CustomViewQuery.mjs +2 -0
- package/dist/esm/api/types/CustomViewSummary.d.mts +57 -0
- package/dist/esm/api/types/CustomViewSummary.mjs +27 -0
- package/dist/esm/api/types/CustomViewValidationFinding.d.mts +8 -0
- package/dist/esm/api/types/CustomViewValidationFinding.mjs +2 -0
- package/dist/esm/api/types/Customer.d.mts +14 -2
- package/dist/esm/api/types/Customer.mjs +8 -1
- package/dist/esm/api/types/CustomerAlias.d.mts +10 -0
- package/dist/esm/api/types/CustomerAlias.mjs +2 -0
- package/dist/esm/api/types/CustomerAliasCreateRequest.d.mts +8 -0
- package/dist/esm/api/types/CustomerAliasCreateRequest.mjs +2 -0
- package/dist/esm/api/types/CustomerAliasListResponse.d.mts +5 -0
- package/dist/esm/api/types/CustomerAliasListResponse.mjs +2 -0
- package/dist/{cjs/api/types/CustomerBillingAddress.d.ts → esm/api/types/CustomerBillingAddressInput.d.mts} +1 -1
- package/dist/esm/api/types/CustomerBillingAddressInput.mjs +2 -0
- package/dist/esm/api/types/CustomerBillingAddressResponse.d.mts +11 -0
- package/dist/esm/api/types/CustomerBillingAddressResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerConnections.d.mts +7 -0
- package/dist/esm/api/types/CustomerConnections.mjs +2 -0
- package/dist/esm/api/types/CustomerGroupDeleteResponse.d.mts +4 -0
- package/dist/esm/api/types/CustomerGroupDeleteResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerGroupDetail.d.mts +10 -0
- package/dist/esm/api/types/CustomerGroupDetail.mjs +2 -0
- package/dist/esm/api/types/CustomerGroupListResponse.d.mts +5 -0
- package/dist/esm/api/types/CustomerGroupListResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerGroupMember.d.mts +5 -0
- package/dist/esm/api/types/CustomerGroupMember.mjs +2 -0
- package/dist/esm/api/types/CustomerGroupSummary.d.mts +8 -0
- package/dist/esm/api/types/CustomerGroupSummary.mjs +2 -0
- package/dist/esm/api/types/CustomerState.d.mts +10 -0
- package/dist/esm/api/types/CustomerState.mjs +2 -0
- package/dist/esm/api/types/CustomerStateCheckoutLink.d.mts +18 -0
- package/dist/esm/api/types/CustomerStateCheckoutLink.mjs +10 -0
- package/dist/esm/api/types/CustomerStateCreditBalance.d.mts +6 -0
- package/dist/esm/api/types/CustomerStateCreditBalance.mjs +2 -0
- package/dist/esm/api/types/CustomerStateCreditSummary.d.mts +4 -0
- package/dist/esm/api/types/CustomerStateCreditSummary.mjs +2 -0
- package/dist/esm/api/types/CustomerStateCustomer.d.mts +8 -0
- package/dist/esm/api/types/CustomerStateCustomer.mjs +2 -0
- package/dist/esm/api/types/CustomerStateOrder.d.mts +21 -0
- package/dist/esm/api/types/CustomerStateOrder.mjs +10 -0
- package/dist/esm/api/types/CustomerStateProductRef.d.mts +5 -0
- package/dist/esm/api/types/CustomerStateProductRef.mjs +2 -0
- package/dist/esm/api/types/CustomerStateSeat.d.mts +17 -0
- package/dist/esm/api/types/CustomerStateSeat.mjs +8 -0
- package/dist/esm/api/types/CustomerStateSeatAssignee.d.mts +6 -0
- package/dist/esm/api/types/CustomerStateSeatAssignee.mjs +2 -0
- package/dist/esm/api/types/CustomerStateSeats.d.mts +7 -0
- package/dist/esm/api/types/CustomerStateSeats.mjs +2 -0
- package/dist/esm/api/types/CustomerUnit.d.mts +25 -0
- package/dist/esm/api/types/CustomerUnit.mjs +9 -0
- package/dist/esm/api/types/CustomerUnitAttribution.d.mts +7 -0
- package/dist/esm/api/types/CustomerUnitAttribution.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapCurrentPeriod.d.mts +11 -0
- package/dist/esm/api/types/CustomerUnitCapCurrentPeriod.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapEndResponse.d.mts +12 -0
- package/dist/esm/api/types/CustomerUnitCapEndResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapEndedPolicy.d.mts +24 -0
- package/dist/esm/api/types/CustomerUnitCapEndedPolicy.mjs +8 -0
- package/dist/esm/api/types/CustomerUnitCapOpenPolicy.d.mts +29 -0
- package/dist/esm/api/types/CustomerUnitCapOpenPolicy.mjs +12 -0
- package/dist/esm/api/types/CustomerUnitCapPeriod.d.mts +6 -0
- package/dist/esm/api/types/CustomerUnitCapPeriod.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapPolicy.d.mts +24 -0
- package/dist/esm/api/types/CustomerUnitCapPolicy.mjs +8 -0
- package/dist/esm/api/types/CustomerUnitCapResponse.d.mts +11 -0
- package/dist/esm/api/types/CustomerUnitCapResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapSet.d.mts +17 -0
- package/dist/esm/api/types/CustomerUnitCapSet.mjs +8 -0
- package/dist/esm/api/types/CustomerUnitCapSetResponse.d.mts +11 -0
- package/dist/esm/api/types/CustomerUnitCapSetResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCreate.d.mts +12 -0
- package/dist/esm/api/types/CustomerUnitCreate.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitListResponse.d.mts +6 -0
- package/dist/esm/api/types/CustomerUnitListResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitUpdate.d.mts +10 -0
- package/dist/esm/api/types/CustomerUnitUpdate.mjs +2 -0
- package/dist/esm/api/types/EndAttributeIntent.d.mts +16 -0
- package/dist/esm/api/types/EndAttributeIntent.mjs +11 -0
- package/dist/esm/api/types/GrantCustomerCreditsResponse.d.mts +9 -0
- package/dist/esm/api/types/GrantCustomerCreditsResponse.mjs +2 -0
- package/dist/esm/api/types/Invoice.d.mts +3 -0
- package/dist/esm/api/types/MemberRequest.d.mts +4 -0
- package/dist/esm/api/types/MemberRequest.mjs +2 -0
- package/dist/esm/api/types/MoneyAxisOptions.d.mts +23 -0
- package/dist/esm/api/types/MoneyAxisOptions.mjs +2 -0
- package/dist/esm/api/types/MoneyAxisValue.d.mts +6 -0
- package/dist/esm/api/types/MoneyAxisValue.mjs +6 -0
- package/dist/esm/api/types/Order.d.mts +1 -0
- package/dist/esm/api/types/OrderLine.d.mts +2 -0
- package/dist/esm/api/types/OrderLineType.d.mts +7 -0
- package/dist/esm/api/types/OrderLineType.mjs +7 -0
- package/dist/esm/api/types/Payment.d.mts +30 -0
- package/dist/esm/api/types/Payment.mjs +2 -0
- package/dist/esm/api/types/PaymentAllocation.d.mts +21 -0
- package/dist/esm/api/types/PaymentAllocation.mjs +2 -0
- package/dist/esm/api/types/PaymentAllocationCreateResponse.d.mts +4 -0
- package/dist/esm/api/types/PaymentAllocationCreateResponse.mjs +2 -0
- package/dist/esm/api/types/PaymentAllocationInput.d.mts +8 -0
- package/dist/esm/api/types/PaymentAllocationInput.mjs +2 -0
- package/dist/esm/api/types/PaymentAllocationListResponse.d.mts +5 -0
- package/dist/esm/api/types/PaymentAllocationListResponse.mjs +2 -0
- package/dist/esm/api/types/PaymentCreateStatus.d.mts +6 -0
- package/dist/esm/api/types/PaymentCreateStatus.mjs +6 -0
- package/dist/esm/api/types/PaymentListResponse.d.mts +5 -0
- package/dist/esm/api/types/PaymentListResponse.mjs +2 -0
- package/dist/esm/api/types/PaymentMethod.d.mts +15 -0
- package/dist/esm/api/types/PaymentMethod.mjs +2 -0
- package/dist/esm/api/types/PaymentMethodCard.d.mts +13 -0
- package/dist/esm/api/types/PaymentMethodCard.mjs +2 -0
- package/dist/esm/api/types/PaymentMethodListResponse.d.mts +5 -0
- package/dist/esm/api/types/PaymentMethodListResponse.mjs +2 -0
- package/dist/esm/api/types/PaymentMethodSetup.d.mts +21 -0
- package/dist/esm/api/types/PaymentMethodSetup.mjs +2 -0
- package/dist/esm/api/types/PaymentType.d.mts +9 -0
- package/dist/esm/api/types/PaymentType.mjs +9 -0
- package/dist/esm/api/types/PendingCreditConsumption.d.mts +16 -0
- package/dist/esm/api/types/PendingCreditConsumption.mjs +2 -0
- package/dist/esm/api/types/PendingCreditConsumptionCurrency.d.mts +9 -0
- package/dist/esm/api/types/PendingCreditConsumptionCurrency.mjs +2 -0
- package/dist/esm/api/types/PendingCreditConsumptionListResponse.d.mts +6 -0
- package/dist/esm/api/types/PendingCreditConsumptionListResponse.mjs +2 -0
- package/dist/esm/api/types/Plan.d.mts +22 -0
- package/dist/esm/api/types/Plan.mjs +8 -0
- package/dist/esm/api/types/PlanAttribute.d.mts +8 -0
- package/dist/esm/api/types/PlanAttribute.mjs +2 -0
- package/dist/esm/api/types/PlanAttributeInput.d.mts +7 -0
- package/dist/esm/api/types/PlanAttributeInput.mjs +2 -0
- package/dist/esm/api/types/PlanCreditBenefit.d.mts +37 -0
- package/dist/esm/api/types/PlanCreditBenefit.mjs +21 -0
- package/dist/esm/api/types/PlanListResponse.d.mts +5 -0
- package/dist/esm/api/types/PlanListResponse.mjs +2 -0
- package/dist/esm/api/types/PlanPricing.d.mts +31 -0
- package/dist/esm/api/types/PlanPricing.mjs +21 -0
- package/dist/esm/api/types/PlanRef.d.mts +5 -0
- package/dist/esm/api/types/PlanRef.mjs +2 -0
- package/dist/esm/api/types/PlanUpgradePathGroup.d.mts +4 -0
- package/dist/esm/api/types/PlanUpgradePathGroup.mjs +2 -0
- package/dist/esm/api/types/PlanUpgradePathResponse.d.mts +4 -0
- package/dist/esm/api/types/PlanUpgradePathResponse.mjs +2 -0
- package/dist/esm/api/types/PlannedAdd.d.mts +28 -0
- package/dist/esm/api/types/PlannedAdd.mjs +10 -0
- package/dist/esm/api/types/PlannedCopy.d.mts +10 -0
- package/dist/esm/api/types/PlannedCopy.mjs +2 -0
- package/dist/esm/api/types/PlannedEnd.d.mts +10 -0
- package/dist/esm/api/types/PlannedEnd.mjs +2 -0
- package/dist/esm/api/types/PlannedOperations.d.mts +13 -0
- package/dist/esm/api/types/PlannedOperations.mjs +2 -0
- package/dist/esm/api/types/PlannedOrderTerm.d.mts +10 -0
- package/dist/esm/api/types/PlannedOrderTerm.mjs +2 -0
- package/dist/esm/api/types/PlannedReplace.d.mts +15 -0
- package/dist/esm/api/types/PlannedReplace.mjs +2 -0
- package/dist/esm/api/types/PricingInput.d.mts +4 -1
- package/dist/esm/api/types/PricingOutput.d.mts +7 -0
- package/dist/esm/api/types/PricingOutput.mjs +5 -0
- package/dist/esm/api/types/PricingPricePointOutput.d.mts +2 -22
- package/dist/esm/api/types/PricingPricePointOutput.mjs +1 -13
- package/dist/esm/api/types/PricingTierOutput.d.mts +16 -0
- package/dist/esm/api/types/PricingTierOutput.mjs +8 -0
- package/dist/esm/api/types/ProductAttributeOutput.d.mts +8 -0
- package/dist/esm/api/types/ProductAttributeOutput.mjs +2 -0
- package/dist/esm/api/types/ProductAttributeUpsert.d.mts +9 -0
- package/dist/esm/api/types/ProductAttributeUpsert.mjs +2 -0
- package/dist/esm/api/types/ProductCreditBenefitInput.d.mts +32 -0
- package/dist/esm/api/types/ProductCreditBenefitInput.mjs +17 -0
- package/dist/esm/api/types/ProductCreditBenefitOutput.d.mts +13 -0
- package/dist/esm/api/types/ProductCreditBenefitOutput.mjs +2 -0
- package/dist/esm/api/types/ProductDetail.d.mts +14 -0
- package/dist/esm/api/types/ProductDetail.mjs +2 -0
- package/dist/esm/api/types/ProductOneTimePerUnitInput.d.mts +21 -0
- package/dist/esm/api/types/ProductOneTimePerUnitInput.mjs +15 -0
- package/dist/esm/api/types/ProductPricePointOutput.d.mts +9 -0
- package/dist/esm/api/types/ProductPricePointOutput.mjs +2 -0
- package/dist/esm/api/types/ProductPricingInput.d.mts +49 -0
- package/dist/esm/api/types/ProductPricingInput.mjs +2 -0
- package/dist/esm/api/types/ProductPricingOutput.d.mts +43 -0
- package/dist/esm/api/types/ProductPricingOutput.mjs +25 -0
- package/dist/esm/api/types/ProductPricingTierOutput.d.mts +16 -0
- package/dist/esm/api/types/ProductPricingTierOutput.mjs +8 -0
- package/dist/esm/api/types/ProductRecurringGraduatedInput.d.mts +22 -0
- package/dist/esm/api/types/ProductRecurringGraduatedInput.mjs +15 -0
- package/dist/esm/api/types/ProductRecurringPerUnitInput.d.mts +22 -0
- package/dist/esm/api/types/ProductRecurringPerUnitInput.mjs +15 -0
- package/dist/esm/api/types/ProductRecurringPercentOfTotalInput.d.mts +23 -0
- package/dist/esm/api/types/ProductRecurringPercentOfTotalInput.mjs +15 -0
- package/dist/esm/api/types/ProductRecurringVolumeInput.d.mts +22 -0
- package/dist/esm/api/types/ProductRecurringVolumeInput.mjs +15 -0
- package/dist/esm/api/types/ProductSeatBasedGraduatedInput.d.mts +22 -0
- package/dist/esm/api/types/ProductSeatBasedGraduatedInput.mjs +15 -0
- package/dist/esm/api/types/ProductSeatBasedPerUnitInput.d.mts +22 -0
- package/dist/esm/api/types/ProductSeatBasedPerUnitInput.mjs +15 -0
- package/dist/esm/api/types/ProductSeatBasedPrepaidCreditsInput.d.mts +26 -0
- package/dist/esm/api/types/ProductSeatBasedPrepaidCreditsInput.mjs +15 -0
- package/dist/esm/api/types/ProductSeatBasedVolumeInput.d.mts +22 -0
- package/dist/esm/api/types/ProductSeatBasedVolumeInput.mjs +15 -0
- package/dist/esm/api/types/ProductSimplePricePoint.d.mts +29 -0
- package/dist/esm/api/types/ProductSimplePricePoint.mjs +14 -0
- package/dist/esm/api/types/ProductTieredPricePoint.d.mts +29 -0
- package/dist/esm/api/types/ProductTieredPricePoint.mjs +14 -0
- package/dist/esm/api/types/ProductUsageBracketedPrepaidCreditsInput.d.mts +57 -0
- package/dist/esm/api/types/ProductUsageBracketedPrepaidCreditsInput.mjs +25 -0
- package/dist/esm/api/types/ProductUsageCostPlusInput.d.mts +29 -0
- package/dist/esm/api/types/ProductUsageCostPlusInput.mjs +19 -0
- package/dist/esm/api/types/ProductUsageGraduatedInput.d.mts +29 -0
- package/dist/esm/api/types/ProductUsageGraduatedInput.mjs +19 -0
- package/dist/esm/api/types/ProductUsagePerUnitInput.d.mts +29 -0
- package/dist/esm/api/types/ProductUsagePerUnitInput.mjs +19 -0
- package/dist/esm/api/types/ProductUsagePrepaidCreditsInput.d.mts +45 -0
- package/dist/esm/api/types/ProductUsagePrepaidCreditsInput.mjs +25 -0
- package/dist/esm/api/types/ProductUsageVolumeInput.d.mts +29 -0
- package/dist/esm/api/types/ProductUsageVolumeInput.mjs +19 -0
- package/dist/esm/api/types/RemoveMembersResponse.d.mts +5 -0
- package/dist/esm/api/types/RemoveMembersResponse.mjs +2 -0
- package/dist/esm/api/types/RenderBundleEdit.d.mts +8 -0
- package/dist/esm/api/types/RenderBundleEdit.mjs +2 -0
- package/dist/esm/api/types/RotateWebhookSecretResponse.d.mts +4 -0
- package/dist/esm/api/types/RotateWebhookSecretResponse.mjs +2 -0
- package/dist/esm/api/types/SeatBasedPrepaidCreditsInput.d.mts +1 -0
- package/dist/esm/api/types/SetMembersResponse.d.mts +6 -0
- package/dist/esm/api/types/SetMembersResponse.mjs +2 -0
- package/dist/esm/api/types/Signal.d.mts +1 -0
- package/dist/esm/api/types/SignalListItem.d.mts +20 -0
- package/dist/esm/api/types/SignalListItem.mjs +2 -0
- package/dist/esm/api/types/SignalListResponse.d.mts +5 -0
- package/dist/esm/api/types/SignalListResponse.mjs +2 -0
- package/dist/esm/api/types/SignalsMetadataResponse.d.mts +28 -0
- package/dist/esm/api/types/SignalsMetadataResponse.mjs +2 -0
- package/dist/esm/api/types/StripeConnection.d.mts +7 -0
- package/dist/esm/api/types/StripeConnection.mjs +2 -0
- package/dist/esm/api/{resources/valueReceipts/client/requests → types}/SyncValueReceiptRequest.d.mts +0 -7
- package/dist/esm/api/types/SyncValueReceiptRequest.mjs +2 -0
- package/dist/esm/api/types/UnifiedAmendmentIntent.d.mts +25 -0
- package/dist/esm/api/types/UnifiedAmendmentIntent.mjs +2 -0
- package/dist/esm/api/types/UnifiedAmendmentResponse.d.mts +19 -0
- package/dist/esm/api/types/UnifiedAmendmentResponse.mjs +2 -0
- package/dist/esm/api/types/UpdateCustomerRequest.d.mts +1 -1
- package/dist/esm/api/types/UpdateLineTermIntent.d.mts +18 -0
- package/dist/esm/api/types/UpdateLineTermIntent.mjs +11 -0
- package/dist/esm/api/types/UpdateOrderTermIntent.d.mts +18 -0
- package/dist/esm/api/types/UpdateOrderTermIntent.mjs +11 -0
- package/dist/esm/api/types/UpdatePlanRequest.d.mts +18 -0
- package/dist/esm/api/types/UpdatePlanRequest.mjs +9 -0
- package/dist/esm/api/types/UpdatePricingIntent.d.mts +22 -0
- package/dist/esm/api/types/UpdatePricingIntent.mjs +11 -0
- package/dist/esm/api/types/UpdateProductRequest.d.mts +2 -0
- package/dist/esm/api/types/UpdateQuantityIntent.d.mts +18 -0
- package/dist/esm/api/types/UpdateQuantityIntent.mjs +11 -0
- package/dist/esm/api/types/UsageAttributionAxisOptions.d.mts +23 -0
- package/dist/esm/api/types/UsageAttributionAxisOptions.mjs +2 -0
- package/dist/esm/api/types/UsageAttributionAxisValue.d.mts +6 -0
- package/dist/esm/api/types/UsageAttributionAxisValue.mjs +6 -0
- package/dist/esm/api/types/UsageBracketedPrepaidCreditsInput.d.mts +57 -0
- package/dist/esm/api/types/UsageBracketedPrepaidCreditsInput.mjs +25 -0
- package/dist/esm/api/types/UsageCostPlusInput.d.mts +6 -0
- package/dist/esm/api/types/UsageCostPlusInput.mjs +4 -0
- package/dist/esm/api/types/UsageGraduatedInput.d.mts +6 -0
- package/dist/esm/api/types/UsageGraduatedInput.mjs +4 -0
- package/dist/esm/api/types/UsagePerUnitInput.d.mts +6 -0
- package/dist/esm/api/types/UsagePerUnitInput.mjs +4 -0
- package/dist/esm/api/types/UsagePrepaidCreditsInput.d.mts +19 -0
- package/dist/esm/api/types/UsagePrepaidCreditsInput.mjs +10 -0
- package/dist/esm/api/types/UsageVolumeInput.d.mts +6 -0
- package/dist/esm/api/types/UsageVolumeInput.mjs +4 -0
- package/dist/esm/api/types/ValidateCustomViewRequest.d.mts +51 -0
- package/dist/esm/api/types/ValidateCustomViewRequest.mjs +23 -0
- package/dist/esm/api/types/ValidateCustomViewResponse.d.mts +7 -0
- package/dist/esm/api/types/ValidateCustomViewResponse.mjs +2 -0
- package/dist/esm/api/types/ValueMetricDetail.d.mts +47 -0
- package/dist/esm/api/types/ValueMetricDetail.mjs +2 -0
- package/dist/esm/api/types/ValueMetricFormula.d.mts +9 -0
- package/dist/esm/api/types/ValueMetricFormula.mjs +2 -0
- package/dist/esm/api/types/ValueMetricFormulaVariable.d.mts +31 -0
- package/dist/esm/api/types/ValueMetricFormulaVariable.mjs +21 -0
- package/dist/esm/api/types/ValueMetricListResponse.d.mts +5 -0
- package/dist/esm/api/types/ValueMetricListResponse.mjs +2 -0
- package/dist/esm/api/types/ValueMetricMonetaryConversion.d.mts +6 -0
- package/dist/esm/api/types/ValueMetricMonetaryConversion.mjs +2 -0
- package/dist/esm/api/types/ValueMetricSignalBinding.d.mts +14 -0
- package/dist/esm/api/types/ValueMetricSignalBinding.mjs +2 -0
- package/dist/esm/api/types/ValueMetricSummary.d.mts +30 -0
- package/dist/esm/api/types/ValueMetricSummary.mjs +2 -0
- package/dist/esm/api/types/ValueMetricUnit.d.mts +27 -0
- package/dist/esm/api/types/ValueMetricUnit.mjs +17 -0
- package/dist/esm/api/types/ValueMetricValidationResponse.d.mts +13 -0
- package/dist/esm/api/types/ValueMetricValidationResponse.mjs +2 -0
- package/dist/esm/api/types/ValueMetricVariableEdit.d.mts +26 -0
- package/dist/esm/api/types/ValueMetricVariableEdit.mjs +16 -0
- package/dist/esm/api/types/ValueMetricWriteAck.d.mts +6 -0
- package/dist/esm/api/types/ValueMetricWriteAck.mjs +2 -0
- package/dist/esm/api/types/ValueModelAuthoringGuide.d.mts +22 -0
- package/dist/esm/api/types/ValueModelAuthoringGuide.mjs +2 -0
- package/dist/esm/api/types/ValueModelContent.d.mts +357 -0
- package/dist/esm/api/types/ValueModelContent.mjs +138 -0
- package/dist/esm/api/types/ValueModelDetail.d.mts +12 -0
- package/dist/esm/api/types/ValueModelDetail.mjs +2 -0
- package/dist/esm/api/types/ValueModelSummary.d.mts +18 -0
- package/dist/esm/api/types/ValueModelSummary.mjs +9 -0
- package/dist/esm/api/types/ValueModelVersionListResponse.d.mts +5 -0
- package/dist/esm/api/types/ValueModelVersionListResponse.mjs +2 -0
- package/dist/esm/api/types/ValueReceiptSyncResponse.d.mts +1 -0
- package/dist/esm/api/types/ViewDataResponse.d.mts +4 -0
- package/dist/esm/api/types/ViewDataResponse.mjs +2 -0
- package/dist/esm/api/types/Webhook.d.mts +2 -0
- package/dist/esm/api/types/Webhook.mjs +2 -0
- package/dist/esm/api/types/WebhookListResponse.d.mts +2 -0
- package/dist/esm/api/types/WebhookUpdateResponse.d.mts +28 -0
- package/dist/esm/api/types/WebhookUpdateResponse.mjs +17 -0
- package/dist/esm/api/types/WritableOrderLineType.d.mts +6 -0
- package/dist/esm/api/types/WritableOrderLineType.mjs +6 -0
- package/dist/esm/api/types/index.d.mts +209 -1
- package/dist/esm/api/types/index.mjs +209 -1
- package/dist/esm/tracing/aiSdkSpanProcessor.mjs +17 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +6237 -375
- /package/dist/cjs/api/resources/{valueReceipts/client/requests/SyncValueReceiptRequest.js → amendments/client/requests/GetOrderAmendmentOptionsRequest.js} +0 -0
- /package/dist/cjs/api/{types/CustomerBillingAddress.js → resources/analytics/client/requests/GetSignalsMetadataRequest.js} +0 -0
- /package/dist/esm/api/resources/{valueReceipts/client/requests/SyncValueReceiptRequest.mjs → amendments/client/requests/GetOrderAmendmentOptionsRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CustomerBillingAddress.mjs → resources/analytics/client/requests/GetSignalsMetadataRequest.mjs} +0 -0
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
|
+
import { Amendments } from "./api/resources/amendments/client/Client.js";
|
|
2
|
+
import { Analytics } from "./api/resources/analytics/client/Client.js";
|
|
3
|
+
import { AnalyticsExperimental } from "./api/resources/analyticsExperimental/client/Client.js";
|
|
1
4
|
import { Checkouts } from "./api/resources/checkouts/client/Client.js";
|
|
2
5
|
import { Contacts } from "./api/resources/contacts/client/Client.js";
|
|
3
6
|
import { Costs } from "./api/resources/costs/client/Client.js";
|
|
4
7
|
import { Credits } from "./api/resources/credits/client/Client.js";
|
|
8
|
+
import { CustomerGroups } from "./api/resources/customerGroups/client/Client.js";
|
|
5
9
|
import { CustomerPortals } from "./api/resources/customerPortals/client/Client.js";
|
|
6
10
|
import { Customers } from "./api/resources/customers/client/Client.js";
|
|
11
|
+
import { CustomViewsExperimental } from "./api/resources/customViewsExperimental/client/Client.js";
|
|
7
12
|
import { Invoices } from "./api/resources/invoices/client/Client.js";
|
|
8
13
|
import { Orders } from "./api/resources/orders/client/Client.js";
|
|
14
|
+
import { PaymentAllocations } from "./api/resources/paymentAllocations/client/Client.js";
|
|
15
|
+
import { PaymentMethods } from "./api/resources/paymentMethods/client/Client.js";
|
|
16
|
+
import { Payments } from "./api/resources/payments/client/Client.js";
|
|
17
|
+
import { Plans } from "./api/resources/plans/client/Client.js";
|
|
9
18
|
import { Pricing } from "./api/resources/pricing/client/Client.js";
|
|
10
19
|
import { Products } from "./api/resources/products/client/Client.js";
|
|
11
20
|
import { Signals } from "./api/resources/signals/client/Client.js";
|
|
21
|
+
import { ValueMetrics } from "./api/resources/valueMetrics/client/Client.js";
|
|
22
|
+
import { ValueModels } from "./api/resources/valueModels/client/Client.js";
|
|
12
23
|
import { ValueReceipts } from "./api/resources/valueReceipts/client/Client.js";
|
|
13
24
|
import { Webhooks } from "./api/resources/webhooks/client/Client.js";
|
|
14
25
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
@@ -21,6 +32,7 @@ export declare namespace PaidClient {
|
|
|
21
32
|
export declare class PaidClient {
|
|
22
33
|
protected readonly _options: PaidClient.Options;
|
|
23
34
|
protected _products: Products | undefined;
|
|
35
|
+
protected _plans: Plans | undefined;
|
|
24
36
|
protected _customers: Customers | undefined;
|
|
25
37
|
protected _contacts: Contacts | undefined;
|
|
26
38
|
protected _orders: Orders | undefined;
|
|
@@ -33,8 +45,19 @@ export declare class PaidClient {
|
|
|
33
45
|
protected _webhooks: Webhooks | undefined;
|
|
34
46
|
protected _pricing: Pricing | undefined;
|
|
35
47
|
protected _costs: Costs | undefined;
|
|
48
|
+
protected _analytics: Analytics | undefined;
|
|
49
|
+
protected _customViewsExperimental: CustomViewsExperimental | undefined;
|
|
50
|
+
protected _valueModels: ValueModels | undefined;
|
|
51
|
+
protected _valueMetrics: ValueMetrics | undefined;
|
|
52
|
+
protected _customerGroups: CustomerGroups | undefined;
|
|
53
|
+
protected _paymentMethods: PaymentMethods | undefined;
|
|
54
|
+
protected _payments: Payments | undefined;
|
|
55
|
+
protected _paymentAllocations: PaymentAllocations | undefined;
|
|
56
|
+
protected _amendments: Amendments | undefined;
|
|
57
|
+
protected _analyticsExperimental: AnalyticsExperimental | undefined;
|
|
36
58
|
constructor(_options: PaidClient.Options);
|
|
37
59
|
get products(): Products;
|
|
60
|
+
get plans(): Plans;
|
|
38
61
|
get customers(): Customers;
|
|
39
62
|
get contacts(): Contacts;
|
|
40
63
|
get orders(): Orders;
|
|
@@ -47,4 +70,14 @@ export declare class PaidClient {
|
|
|
47
70
|
get webhooks(): Webhooks;
|
|
48
71
|
get pricing(): Pricing;
|
|
49
72
|
get costs(): Costs;
|
|
73
|
+
get analytics(): Analytics;
|
|
74
|
+
get customViewsExperimental(): CustomViewsExperimental;
|
|
75
|
+
get valueModels(): ValueModels;
|
|
76
|
+
get valueMetrics(): ValueMetrics;
|
|
77
|
+
get customerGroups(): CustomerGroups;
|
|
78
|
+
get paymentMethods(): PaymentMethods;
|
|
79
|
+
get payments(): Payments;
|
|
80
|
+
get paymentAllocations(): PaymentAllocations;
|
|
81
|
+
get amendments(): Amendments;
|
|
82
|
+
get analyticsExperimental(): AnalyticsExperimental;
|
|
50
83
|
}
|
package/dist/cjs/Client.js
CHANGED
|
@@ -35,19 +35,30 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.PaidClient = void 0;
|
|
38
|
-
const Client_js_1 = require("./api/resources/
|
|
39
|
-
const Client_js_2 = require("./api/resources/
|
|
40
|
-
const Client_js_3 = require("./api/resources/
|
|
41
|
-
const Client_js_4 = require("./api/resources/
|
|
42
|
-
const Client_js_5 = require("./api/resources/
|
|
43
|
-
const Client_js_6 = require("./api/resources/
|
|
44
|
-
const Client_js_7 = require("./api/resources/
|
|
45
|
-
const Client_js_8 = require("./api/resources/
|
|
46
|
-
const Client_js_9 = require("./api/resources/
|
|
47
|
-
const Client_js_10 = require("./api/resources/
|
|
48
|
-
const Client_js_11 = require("./api/resources/
|
|
49
|
-
const Client_js_12 = require("./api/resources/
|
|
50
|
-
const Client_js_13 = require("./api/resources/
|
|
38
|
+
const Client_js_1 = require("./api/resources/amendments/client/Client.js");
|
|
39
|
+
const Client_js_2 = require("./api/resources/analytics/client/Client.js");
|
|
40
|
+
const Client_js_3 = require("./api/resources/analyticsExperimental/client/Client.js");
|
|
41
|
+
const Client_js_4 = require("./api/resources/checkouts/client/Client.js");
|
|
42
|
+
const Client_js_5 = require("./api/resources/contacts/client/Client.js");
|
|
43
|
+
const Client_js_6 = require("./api/resources/costs/client/Client.js");
|
|
44
|
+
const Client_js_7 = require("./api/resources/credits/client/Client.js");
|
|
45
|
+
const Client_js_8 = require("./api/resources/customerGroups/client/Client.js");
|
|
46
|
+
const Client_js_9 = require("./api/resources/customerPortals/client/Client.js");
|
|
47
|
+
const Client_js_10 = require("./api/resources/customers/client/Client.js");
|
|
48
|
+
const Client_js_11 = require("./api/resources/customViewsExperimental/client/Client.js");
|
|
49
|
+
const Client_js_12 = require("./api/resources/invoices/client/Client.js");
|
|
50
|
+
const Client_js_13 = require("./api/resources/orders/client/Client.js");
|
|
51
|
+
const Client_js_14 = require("./api/resources/paymentAllocations/client/Client.js");
|
|
52
|
+
const Client_js_15 = require("./api/resources/paymentMethods/client/Client.js");
|
|
53
|
+
const Client_js_16 = require("./api/resources/payments/client/Client.js");
|
|
54
|
+
const Client_js_17 = require("./api/resources/plans/client/Client.js");
|
|
55
|
+
const Client_js_18 = require("./api/resources/pricing/client/Client.js");
|
|
56
|
+
const Client_js_19 = require("./api/resources/products/client/Client.js");
|
|
57
|
+
const Client_js_20 = require("./api/resources/signals/client/Client.js");
|
|
58
|
+
const Client_js_21 = require("./api/resources/valueMetrics/client/Client.js");
|
|
59
|
+
const Client_js_22 = require("./api/resources/valueModels/client/Client.js");
|
|
60
|
+
const Client_js_23 = require("./api/resources/valueReceipts/client/Client.js");
|
|
61
|
+
const Client_js_24 = require("./api/resources/webhooks/client/Client.js");
|
|
51
62
|
const headers_js_1 = require("./core/headers.js");
|
|
52
63
|
const core = __importStar(require("./core/index.js"));
|
|
53
64
|
class PaidClient {
|
|
@@ -55,63 +66,107 @@ class PaidClient {
|
|
|
55
66
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
56
67
|
"X-Fern-Language": "JavaScript",
|
|
57
68
|
"X-Fern-SDK-Name": "@paid-ai/paid-node",
|
|
58
|
-
"X-Fern-SDK-Version": "1.
|
|
59
|
-
"User-Agent": "@paid-ai/paid-node/1.
|
|
69
|
+
"X-Fern-SDK-Version": "1.8.0",
|
|
70
|
+
"User-Agent": "@paid-ai/paid-node/1.8.0",
|
|
60
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
61
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
62
73
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
63
74
|
}
|
|
64
75
|
get products() {
|
|
65
76
|
var _a;
|
|
66
|
-
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new
|
|
77
|
+
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new Client_js_19.Products(this._options)));
|
|
78
|
+
}
|
|
79
|
+
get plans() {
|
|
80
|
+
var _a;
|
|
81
|
+
return ((_a = this._plans) !== null && _a !== void 0 ? _a : (this._plans = new Client_js_17.Plans(this._options)));
|
|
67
82
|
}
|
|
68
83
|
get customers() {
|
|
69
84
|
var _a;
|
|
70
|
-
return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new
|
|
85
|
+
return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new Client_js_10.Customers(this._options)));
|
|
71
86
|
}
|
|
72
87
|
get contacts() {
|
|
73
88
|
var _a;
|
|
74
|
-
return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new
|
|
89
|
+
return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Client_js_5.Contacts(this._options)));
|
|
75
90
|
}
|
|
76
91
|
get orders() {
|
|
77
92
|
var _a;
|
|
78
|
-
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new
|
|
93
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_13.Orders(this._options)));
|
|
79
94
|
}
|
|
80
95
|
get invoices() {
|
|
81
96
|
var _a;
|
|
82
|
-
return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new
|
|
97
|
+
return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new Client_js_12.Invoices(this._options)));
|
|
83
98
|
}
|
|
84
99
|
get signals() {
|
|
85
100
|
var _a;
|
|
86
|
-
return ((_a = this._signals) !== null && _a !== void 0 ? _a : (this._signals = new
|
|
101
|
+
return ((_a = this._signals) !== null && _a !== void 0 ? _a : (this._signals = new Client_js_20.Signals(this._options)));
|
|
87
102
|
}
|
|
88
103
|
get credits() {
|
|
89
104
|
var _a;
|
|
90
|
-
return ((_a = this._credits) !== null && _a !== void 0 ? _a : (this._credits = new
|
|
105
|
+
return ((_a = this._credits) !== null && _a !== void 0 ? _a : (this._credits = new Client_js_7.Credits(this._options)));
|
|
91
106
|
}
|
|
92
107
|
get checkouts() {
|
|
93
108
|
var _a;
|
|
94
|
-
return ((_a = this._checkouts) !== null && _a !== void 0 ? _a : (this._checkouts = new
|
|
109
|
+
return ((_a = this._checkouts) !== null && _a !== void 0 ? _a : (this._checkouts = new Client_js_4.Checkouts(this._options)));
|
|
95
110
|
}
|
|
96
111
|
get customerPortals() {
|
|
97
112
|
var _a;
|
|
98
|
-
return ((_a = this._customerPortals) !== null && _a !== void 0 ? _a : (this._customerPortals = new
|
|
113
|
+
return ((_a = this._customerPortals) !== null && _a !== void 0 ? _a : (this._customerPortals = new Client_js_9.CustomerPortals(this._options)));
|
|
99
114
|
}
|
|
100
115
|
get valueReceipts() {
|
|
101
116
|
var _a;
|
|
102
|
-
return ((_a = this._valueReceipts) !== null && _a !== void 0 ? _a : (this._valueReceipts = new
|
|
117
|
+
return ((_a = this._valueReceipts) !== null && _a !== void 0 ? _a : (this._valueReceipts = new Client_js_23.ValueReceipts(this._options)));
|
|
103
118
|
}
|
|
104
119
|
get webhooks() {
|
|
105
120
|
var _a;
|
|
106
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
121
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_24.Webhooks(this._options)));
|
|
107
122
|
}
|
|
108
123
|
get pricing() {
|
|
109
124
|
var _a;
|
|
110
|
-
return ((_a = this._pricing) !== null && _a !== void 0 ? _a : (this._pricing = new
|
|
125
|
+
return ((_a = this._pricing) !== null && _a !== void 0 ? _a : (this._pricing = new Client_js_18.Pricing(this._options)));
|
|
111
126
|
}
|
|
112
127
|
get costs() {
|
|
113
128
|
var _a;
|
|
114
|
-
return ((_a = this._costs) !== null && _a !== void 0 ? _a : (this._costs = new
|
|
129
|
+
return ((_a = this._costs) !== null && _a !== void 0 ? _a : (this._costs = new Client_js_6.Costs(this._options)));
|
|
130
|
+
}
|
|
131
|
+
get analytics() {
|
|
132
|
+
var _a;
|
|
133
|
+
return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_js_2.Analytics(this._options)));
|
|
134
|
+
}
|
|
135
|
+
get customViewsExperimental() {
|
|
136
|
+
var _a;
|
|
137
|
+
return ((_a = this._customViewsExperimental) !== null && _a !== void 0 ? _a : (this._customViewsExperimental = new Client_js_11.CustomViewsExperimental(this._options)));
|
|
138
|
+
}
|
|
139
|
+
get valueModels() {
|
|
140
|
+
var _a;
|
|
141
|
+
return ((_a = this._valueModels) !== null && _a !== void 0 ? _a : (this._valueModels = new Client_js_22.ValueModels(this._options)));
|
|
142
|
+
}
|
|
143
|
+
get valueMetrics() {
|
|
144
|
+
var _a;
|
|
145
|
+
return ((_a = this._valueMetrics) !== null && _a !== void 0 ? _a : (this._valueMetrics = new Client_js_21.ValueMetrics(this._options)));
|
|
146
|
+
}
|
|
147
|
+
get customerGroups() {
|
|
148
|
+
var _a;
|
|
149
|
+
return ((_a = this._customerGroups) !== null && _a !== void 0 ? _a : (this._customerGroups = new Client_js_8.CustomerGroups(this._options)));
|
|
150
|
+
}
|
|
151
|
+
get paymentMethods() {
|
|
152
|
+
var _a;
|
|
153
|
+
return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_js_15.PaymentMethods(this._options)));
|
|
154
|
+
}
|
|
155
|
+
get payments() {
|
|
156
|
+
var _a;
|
|
157
|
+
return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_16.Payments(this._options)));
|
|
158
|
+
}
|
|
159
|
+
get paymentAllocations() {
|
|
160
|
+
var _a;
|
|
161
|
+
return ((_a = this._paymentAllocations) !== null && _a !== void 0 ? _a : (this._paymentAllocations = new Client_js_14.PaymentAllocations(this._options)));
|
|
162
|
+
}
|
|
163
|
+
get amendments() {
|
|
164
|
+
var _a;
|
|
165
|
+
return ((_a = this._amendments) !== null && _a !== void 0 ? _a : (this._amendments = new Client_js_1.Amendments(this._options)));
|
|
166
|
+
}
|
|
167
|
+
get analyticsExperimental() {
|
|
168
|
+
var _a;
|
|
169
|
+
return ((_a = this._analyticsExperimental) !== null && _a !== void 0 ? _a : (this._analyticsExperimental = new Client_js_3.AnalyticsExperimental(this._options)));
|
|
115
170
|
}
|
|
116
171
|
}
|
|
117
172
|
exports.PaidClient = PaidClient;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../core/index.js";
|
|
2
2
|
import * as errors from "../../errors/index.js";
|
|
3
|
-
import type * as Paid from "../index.js";
|
|
4
3
|
export declare class BadRequestError extends errors.PaidError {
|
|
5
|
-
constructor(body
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../core/index.js";
|
|
2
2
|
import * as errors from "../../errors/index.js";
|
|
3
|
-
import type * as Paid from "../index.js";
|
|
4
3
|
export declare class ConflictError extends errors.PaidError {
|
|
5
|
-
constructor(body
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../core/index.js";
|
|
2
2
|
import * as errors from "../../errors/index.js";
|
|
3
|
-
import type * as Paid from "../index.js";
|
|
4
3
|
export declare class ForbiddenError extends errors.PaidError {
|
|
5
|
-
constructor(body
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../core/index.js";
|
|
2
2
|
import * as errors from "../../errors/index.js";
|
|
3
|
-
import type * as Paid from "../index.js";
|
|
4
3
|
export declare class InternalServerError extends errors.PaidError {
|
|
5
|
-
constructor(body
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as core from "../../core/index.js";
|
|
2
2
|
import * as errors from "../../errors/index.js";
|
|
3
|
-
import type * as Paid from "../index.js";
|
|
4
3
|
export declare class NotFoundError extends errors.PaidError {
|
|
5
|
-
constructor(body
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
6
5
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as Paid from "../index.js";
|
|
4
|
+
export declare class RequestTimeoutError extends errors.PaidError {
|
|
5
|
+
constructor(body: Paid.ErrorResponse, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.RequestTimeoutError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class RequestTimeoutError extends errors.PaidError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "RequestTimeoutError",
|
|
43
|
+
statusCode: 408,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, RequestTimeoutError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.RequestTimeoutError = RequestTimeoutError;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as Paid from "../index.js";
|
|
4
|
+
export declare class TooManyRequestsError extends errors.PaidError {
|
|
5
|
+
constructor(body: Paid.ErrorResponse, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.TooManyRequestsError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class TooManyRequestsError extends errors.PaidError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "TooManyRequestsError",
|
|
43
|
+
statusCode: 429,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.TooManyRequestsError = TooManyRequestsError;
|
|
@@ -19,3 +19,5 @@ __exportStar(require("./ConflictError.js"), exports);
|
|
|
19
19
|
__exportStar(require("./ForbiddenError.js"), exports);
|
|
20
20
|
__exportStar(require("./InternalServerError.js"), exports);
|
|
21
21
|
__exportStar(require("./NotFoundError.js"), exports);
|
|
22
|
+
__exportStar(require("./RequestTimeoutError.js"), exports);
|
|
23
|
+
__exportStar(require("./TooManyRequestsError.js"), exports);
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import * as Paid from "../../../index.js";
|
|
4
|
+
export declare namespace Amendments {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
}
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class Amendments {
|
|
11
|
+
protected readonly _options: Amendments.Options;
|
|
12
|
+
constructor(_options: Amendments.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Returns which amendments the order admits right now: per-attribute intents and treatment axes with choosable options, defaults, and unavailability reasons, plus the order version, currency, and effective date an amendment request needs.
|
|
15
|
+
*
|
|
16
|
+
* @param {Paid.GetOrderAmendmentOptionsRequest} request
|
|
17
|
+
* @param {Amendments.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link Paid.BadRequestError}
|
|
20
|
+
* @throws {@link Paid.ForbiddenError}
|
|
21
|
+
* @throws {@link Paid.NotFoundError}
|
|
22
|
+
* @throws {@link Paid.ConflictError}
|
|
23
|
+
* @throws {@link Paid.InternalServerError}
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* await client.amendments.getOrderAmendmentOptions({
|
|
27
|
+
* orderId: "orderId"
|
|
28
|
+
* })
|
|
29
|
+
*/
|
|
30
|
+
getOrderAmendmentOptions(request: Paid.GetOrderAmendmentOptionsRequest, requestOptions?: Amendments.RequestOptions): core.HttpResponsePromise<Paid.AmendmentOptions>;
|
|
31
|
+
private __getOrderAmendmentOptions;
|
|
32
|
+
/**
|
|
33
|
+
* Compiles amendment intents into a plan (operations, money effects, credit effects, state diff) without executing. The returned planHash can be passed to the execute endpoint for two-phase, drift-guarded execution.
|
|
34
|
+
*
|
|
35
|
+
* @param {Paid.UnifiedAmendmentPreviewRequest} request
|
|
36
|
+
* @param {Amendments.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link Paid.BadRequestError}
|
|
39
|
+
* @throws {@link Paid.ForbiddenError}
|
|
40
|
+
* @throws {@link Paid.NotFoundError}
|
|
41
|
+
* @throws {@link Paid.ConflictError}
|
|
42
|
+
* @throws {@link Paid.InternalServerError}
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* await client.amendments.previewOrderAmendment({
|
|
46
|
+
* orderId: "orderId",
|
|
47
|
+
* orderVersion: 1,
|
|
48
|
+
* intents: [{
|
|
49
|
+
* type: "updateQuantity",
|
|
50
|
+
* orderLineAttributeId: "orderLineAttributeId",
|
|
51
|
+
* newQuantity: 1
|
|
52
|
+
* }]
|
|
53
|
+
* })
|
|
54
|
+
*/
|
|
55
|
+
previewOrderAmendment(request: Paid.UnifiedAmendmentPreviewRequest, requestOptions?: Amendments.RequestOptions): core.HttpResponsePromise<Paid.AmendmentPlan>;
|
|
56
|
+
private __previewOrderAmendment;
|
|
57
|
+
/**
|
|
58
|
+
* Executes amendment intents against an order. One-shot by default; pass the previewed planHash to require the recomputed plan to match (409 PLAN_CONFLICT on drift).
|
|
59
|
+
*
|
|
60
|
+
* @param {Paid.UnifiedAmendmentExecuteRequest} request
|
|
61
|
+
* @param {Amendments.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Paid.BadRequestError}
|
|
64
|
+
* @throws {@link Paid.ForbiddenError}
|
|
65
|
+
* @throws {@link Paid.NotFoundError}
|
|
66
|
+
* @throws {@link Paid.ConflictError}
|
|
67
|
+
* @throws {@link Paid.InternalServerError}
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* await client.amendments.executeOrderAmendment({
|
|
71
|
+
* orderId: "orderId",
|
|
72
|
+
* orderVersion: 1,
|
|
73
|
+
* intents: [{
|
|
74
|
+
* type: "updateQuantity",
|
|
75
|
+
* orderLineAttributeId: "orderLineAttributeId",
|
|
76
|
+
* newQuantity: 1
|
|
77
|
+
* }]
|
|
78
|
+
* })
|
|
79
|
+
*/
|
|
80
|
+
executeOrderAmendment(request: Paid.UnifiedAmendmentExecuteRequest, requestOptions?: Amendments.RequestOptions): core.HttpResponsePromise<Paid.UnifiedAmendmentResponse>;
|
|
81
|
+
private __executeOrderAmendment;
|
|
82
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
83
|
+
}
|