@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
|
@@ -43,7 +43,65 @@ export declare class Customers {
|
|
|
43
43
|
createCustomer(request: Paid.CreateCustomerRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
44
44
|
private __createCustomer;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* List alternate external identifiers that resolve to a customer by Paid display ID.
|
|
47
|
+
*
|
|
48
|
+
* @param {Paid.ListCustomerAliasesRequest} request
|
|
49
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link Paid.BadRequestError}
|
|
52
|
+
* @throws {@link Paid.ForbiddenError}
|
|
53
|
+
* @throws {@link Paid.NotFoundError}
|
|
54
|
+
* @throws {@link Paid.InternalServerError}
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.customers.listCustomerAliases({
|
|
58
|
+
* id: "cus_abc123"
|
|
59
|
+
* })
|
|
60
|
+
*/
|
|
61
|
+
listCustomerAliases(request: Paid.ListCustomerAliasesRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
62
|
+
private __listCustomerAliases;
|
|
63
|
+
/**
|
|
64
|
+
* Create an alternate external identifier for a customer by Paid display ID.
|
|
65
|
+
*
|
|
66
|
+
* @param {Paid.CreateCustomerAliasRequest} request
|
|
67
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link Paid.BadRequestError}
|
|
70
|
+
* @throws {@link Paid.ForbiddenError}
|
|
71
|
+
* @throws {@link Paid.NotFoundError}
|
|
72
|
+
* @throws {@link Paid.ConflictError}
|
|
73
|
+
* @throws {@link Paid.InternalServerError}
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.customers.createCustomerAlias({
|
|
77
|
+
* id: "cus_abc123",
|
|
78
|
+
* body: {
|
|
79
|
+
* alias: "child-customer-1"
|
|
80
|
+
* }
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
createCustomerAlias(request: Paid.CreateCustomerAliasRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAlias>;
|
|
84
|
+
private __createCustomerAlias;
|
|
85
|
+
/**
|
|
86
|
+
* Remove an alternate external identifier from a customer by Paid display ID.
|
|
87
|
+
*
|
|
88
|
+
* @param {Paid.DeleteCustomerAliasRequest} request
|
|
89
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link Paid.ForbiddenError}
|
|
92
|
+
* @throws {@link Paid.NotFoundError}
|
|
93
|
+
* @throws {@link Paid.InternalServerError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.customers.deleteCustomerAlias({
|
|
97
|
+
* id: "cus_abc123",
|
|
98
|
+
* alias: "child-customer-1"
|
|
99
|
+
* })
|
|
100
|
+
*/
|
|
101
|
+
deleteCustomerAlias(request: Paid.DeleteCustomerAliasRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.EmptyResponse>;
|
|
102
|
+
private __deleteCustomerAlias;
|
|
103
|
+
/**
|
|
104
|
+
* Get a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `GET /api/v2/customers/external/{externalId}`.
|
|
47
105
|
*
|
|
48
106
|
* @param {Paid.GetCustomerByIdRequest} request
|
|
49
107
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -54,13 +112,13 @@ export declare class Customers {
|
|
|
54
112
|
*
|
|
55
113
|
* @example
|
|
56
114
|
* await client.customers.getCustomerById({
|
|
57
|
-
* id: "
|
|
115
|
+
* id: "cus_abc123"
|
|
58
116
|
* })
|
|
59
117
|
*/
|
|
60
118
|
getCustomerById(request: Paid.GetCustomerByIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
61
119
|
private __getCustomerById;
|
|
62
120
|
/**
|
|
63
|
-
* Update a customer by ID
|
|
121
|
+
* Update a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `PUT /api/v2/customers/external/{externalId}`.
|
|
64
122
|
*
|
|
65
123
|
* @param {Paid.UpdateCustomerByIdRequest} request
|
|
66
124
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -72,14 +130,14 @@ export declare class Customers {
|
|
|
72
130
|
*
|
|
73
131
|
* @example
|
|
74
132
|
* await client.customers.updateCustomerById({
|
|
75
|
-
* id: "
|
|
133
|
+
* id: "cus_abc123",
|
|
76
134
|
* body: {}
|
|
77
135
|
* })
|
|
78
136
|
*/
|
|
79
137
|
updateCustomerById(request: Paid.UpdateCustomerByIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
80
138
|
private __updateCustomerById;
|
|
81
139
|
/**
|
|
82
|
-
* Delete a customer by ID
|
|
140
|
+
* Delete a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `DELETE /api/v2/customers/external/{externalId}`.
|
|
83
141
|
*
|
|
84
142
|
* @param {Paid.DeleteCustomerByIdRequest} request
|
|
85
143
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -91,11 +149,86 @@ export declare class Customers {
|
|
|
91
149
|
*
|
|
92
150
|
* @example
|
|
93
151
|
* await client.customers.deleteCustomerById({
|
|
94
|
-
* id: "
|
|
152
|
+
* id: "cus_abc123"
|
|
95
153
|
* })
|
|
96
154
|
*/
|
|
97
155
|
deleteCustomerById(request: Paid.DeleteCustomerByIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.EmptyResponse>;
|
|
98
156
|
private __deleteCustomerById;
|
|
157
|
+
/**
|
|
158
|
+
* Get the current customer state by Paid display ID
|
|
159
|
+
*
|
|
160
|
+
* @param {Paid.GetCustomerStateByIdRequest} request
|
|
161
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link Paid.ForbiddenError}
|
|
164
|
+
* @throws {@link Paid.NotFoundError}
|
|
165
|
+
* @throws {@link Paid.InternalServerError}
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* await client.customers.getCustomerStateById({
|
|
169
|
+
* id: "cus_abc123"
|
|
170
|
+
* })
|
|
171
|
+
*/
|
|
172
|
+
getCustomerStateById(request: Paid.GetCustomerStateByIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerState>;
|
|
173
|
+
private __getCustomerStateById;
|
|
174
|
+
/**
|
|
175
|
+
* List alternate external identifiers that resolve to a customer by external ID.
|
|
176
|
+
*
|
|
177
|
+
* @param {Paid.ListCustomerAliasesByExternalIdRequest} request
|
|
178
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link Paid.BadRequestError}
|
|
181
|
+
* @throws {@link Paid.ForbiddenError}
|
|
182
|
+
* @throws {@link Paid.NotFoundError}
|
|
183
|
+
* @throws {@link Paid.InternalServerError}
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* await client.customers.listCustomerAliasesByExternalId({
|
|
187
|
+
* externalId: "customer_123"
|
|
188
|
+
* })
|
|
189
|
+
*/
|
|
190
|
+
listCustomerAliasesByExternalId(request: Paid.ListCustomerAliasesByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
191
|
+
private __listCustomerAliasesByExternalId;
|
|
192
|
+
/**
|
|
193
|
+
* Create an alternate external identifier for a customer by external ID.
|
|
194
|
+
*
|
|
195
|
+
* @param {Paid.CreateCustomerAliasByExternalIdRequest} request
|
|
196
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
197
|
+
*
|
|
198
|
+
* @throws {@link Paid.BadRequestError}
|
|
199
|
+
* @throws {@link Paid.ForbiddenError}
|
|
200
|
+
* @throws {@link Paid.NotFoundError}
|
|
201
|
+
* @throws {@link Paid.ConflictError}
|
|
202
|
+
* @throws {@link Paid.InternalServerError}
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* await client.customers.createCustomerAliasByExternalId({
|
|
206
|
+
* externalId: "customer_123",
|
|
207
|
+
* body: {
|
|
208
|
+
* alias: "child-customer-1"
|
|
209
|
+
* }
|
|
210
|
+
* })
|
|
211
|
+
*/
|
|
212
|
+
createCustomerAliasByExternalId(request: Paid.CreateCustomerAliasByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAlias>;
|
|
213
|
+
private __createCustomerAliasByExternalId;
|
|
214
|
+
/**
|
|
215
|
+
* Remove an alternate external identifier from a customer by external ID.
|
|
216
|
+
*
|
|
217
|
+
* @param {Paid.DeleteCustomerAliasByExternalIdRequest} request
|
|
218
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
219
|
+
*
|
|
220
|
+
* @throws {@link Paid.ForbiddenError}
|
|
221
|
+
* @throws {@link Paid.NotFoundError}
|
|
222
|
+
* @throws {@link Paid.InternalServerError}
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* await client.customers.deleteCustomerAliasByExternalId({
|
|
226
|
+
* externalId: "customer_123",
|
|
227
|
+
* alias: "child-customer-1"
|
|
228
|
+
* })
|
|
229
|
+
*/
|
|
230
|
+
deleteCustomerAliasByExternalId(request: Paid.DeleteCustomerAliasByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.EmptyResponse>;
|
|
231
|
+
private __deleteCustomerAliasByExternalId;
|
|
99
232
|
/**
|
|
100
233
|
* Get a customer by external ID
|
|
101
234
|
*
|
|
@@ -108,7 +241,7 @@ export declare class Customers {
|
|
|
108
241
|
*
|
|
109
242
|
* @example
|
|
110
243
|
* await client.customers.getCustomerByExternalId({
|
|
111
|
-
* externalId: "
|
|
244
|
+
* externalId: "customer_123"
|
|
112
245
|
* })
|
|
113
246
|
*/
|
|
114
247
|
getCustomerByExternalId(request: Paid.GetCustomerByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
@@ -126,7 +259,7 @@ export declare class Customers {
|
|
|
126
259
|
*
|
|
127
260
|
* @example
|
|
128
261
|
* await client.customers.updateCustomerByExternalId({
|
|
129
|
-
* externalId: "
|
|
262
|
+
* externalId: "customer_123",
|
|
130
263
|
* body: {}
|
|
131
264
|
* })
|
|
132
265
|
*/
|
|
@@ -145,13 +278,30 @@ export declare class Customers {
|
|
|
145
278
|
*
|
|
146
279
|
* @example
|
|
147
280
|
* await client.customers.deleteCustomerByExternalId({
|
|
148
|
-
* externalId: "
|
|
281
|
+
* externalId: "customer_123"
|
|
149
282
|
* })
|
|
150
283
|
*/
|
|
151
284
|
deleteCustomerByExternalId(request: Paid.DeleteCustomerByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.EmptyResponse>;
|
|
152
285
|
private __deleteCustomerByExternalId;
|
|
153
286
|
/**
|
|
154
|
-
*
|
|
287
|
+
* Primary integration endpoint for agents and programmatic clients using their own customer IDs. Use the value you stored on `customer.externalId`, for example `customer_123`.
|
|
288
|
+
*
|
|
289
|
+
* @param {Paid.GetCustomerStateByExternalIdRequest} request
|
|
290
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
291
|
+
*
|
|
292
|
+
* @throws {@link Paid.ForbiddenError}
|
|
293
|
+
* @throws {@link Paid.NotFoundError}
|
|
294
|
+
* @throws {@link Paid.InternalServerError}
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* await client.customers.getCustomerStateByExternalId({
|
|
298
|
+
* externalId: "customer_123"
|
|
299
|
+
* })
|
|
300
|
+
*/
|
|
301
|
+
getCustomerStateByExternalId(request: Paid.GetCustomerStateByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerState>;
|
|
302
|
+
private __getCustomerStateByExternalId;
|
|
303
|
+
/**
|
|
304
|
+
* Get current customer credit balances grouped by currency for a Paid customer display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `/api/v2/customers/external/{externalId}/credits/balances`.
|
|
155
305
|
*
|
|
156
306
|
* @param {Paid.GetCustomerCreditBalancesRequest} request
|
|
157
307
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -162,11 +312,35 @@ export declare class Customers {
|
|
|
162
312
|
*
|
|
163
313
|
* @example
|
|
164
314
|
* await client.customers.getCustomerCreditBalances({
|
|
165
|
-
* id: "
|
|
315
|
+
* id: "cus_abc123"
|
|
166
316
|
* })
|
|
167
317
|
*/
|
|
168
318
|
getCustomerCreditBalances(request: Paid.GetCustomerCreditBalancesRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CreditBalanceListResponse>;
|
|
169
319
|
private __getCustomerCreditBalances;
|
|
320
|
+
/**
|
|
321
|
+
* Immediately grant credits to a customer using an active credit currency key.
|
|
322
|
+
*
|
|
323
|
+
* @param {Paid.GrantCustomerCreditsRequest} request
|
|
324
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
325
|
+
*
|
|
326
|
+
* @throws {@link Paid.BadRequestError}
|
|
327
|
+
* @throws {@link Paid.ForbiddenError}
|
|
328
|
+
* @throws {@link Paid.NotFoundError}
|
|
329
|
+
* @throws {@link Paid.InternalServerError}
|
|
330
|
+
*
|
|
331
|
+
* @example
|
|
332
|
+
* await client.customers.grantCustomerCredits({
|
|
333
|
+
* id: "cus_abc123",
|
|
334
|
+
* body: {
|
|
335
|
+
* creditCurrencyKey: "api_credits",
|
|
336
|
+
* amount: 10000,
|
|
337
|
+
* startsAt: "2026-06-05T12:00:00Z",
|
|
338
|
+
* expiresAt: "2026-12-31T23:59:59Z"
|
|
339
|
+
* }
|
|
340
|
+
* })
|
|
341
|
+
*/
|
|
342
|
+
grantCustomerCredits(request: Paid.GrantCustomerCreditsRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.GrantCustomerCreditsResponse>;
|
|
343
|
+
private __grantCustomerCredits;
|
|
170
344
|
/**
|
|
171
345
|
* Get current customer credit balances grouped by currency, looked up by external ID
|
|
172
346
|
*
|
|
@@ -179,11 +353,71 @@ export declare class Customers {
|
|
|
179
353
|
*
|
|
180
354
|
* @example
|
|
181
355
|
* await client.customers.getCustomerCreditBalancesByExternalId({
|
|
182
|
-
* externalId: "
|
|
356
|
+
* externalId: "customer_123"
|
|
183
357
|
* })
|
|
184
358
|
*/
|
|
185
359
|
getCustomerCreditBalancesByExternalId(request: Paid.GetCustomerCreditBalancesByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CreditBalanceListResponse>;
|
|
186
360
|
private __getCustomerCreditBalancesByExternalId;
|
|
361
|
+
/**
|
|
362
|
+
* List credit consumption that was recorded before a matching credit pool existed — for example usage that arrived before an invoice was paid or before a new period's credits were granted. Entries leave this list once they are applied to a pool or settled. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `/api/v2/customers/external/{externalId}/credits/pending-consumption`.
|
|
363
|
+
*
|
|
364
|
+
* @param {Paid.ListCustomerPendingCreditConsumptionRequest} request
|
|
365
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
366
|
+
*
|
|
367
|
+
* @throws {@link Paid.BadRequestError}
|
|
368
|
+
* @throws {@link Paid.ForbiddenError}
|
|
369
|
+
* @throws {@link Paid.NotFoundError}
|
|
370
|
+
* @throws {@link Paid.InternalServerError}
|
|
371
|
+
*
|
|
372
|
+
* @example
|
|
373
|
+
* await client.customers.listCustomerPendingCreditConsumption({
|
|
374
|
+
* id: "cus_abc123"
|
|
375
|
+
* })
|
|
376
|
+
*/
|
|
377
|
+
listCustomerPendingCreditConsumption(request: Paid.ListCustomerPendingCreditConsumptionRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.PendingCreditConsumptionListResponse>;
|
|
378
|
+
private __listCustomerPendingCreditConsumption;
|
|
379
|
+
/**
|
|
380
|
+
* List credit consumption recorded before a matching credit pool existed, for a customer looked up by external ID.
|
|
381
|
+
*
|
|
382
|
+
* @param {Paid.ListCustomerPendingCreditConsumptionByExternalIdRequest} request
|
|
383
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
384
|
+
*
|
|
385
|
+
* @throws {@link Paid.BadRequestError}
|
|
386
|
+
* @throws {@link Paid.ForbiddenError}
|
|
387
|
+
* @throws {@link Paid.NotFoundError}
|
|
388
|
+
* @throws {@link Paid.InternalServerError}
|
|
389
|
+
*
|
|
390
|
+
* @example
|
|
391
|
+
* await client.customers.listCustomerPendingCreditConsumptionByExternalId({
|
|
392
|
+
* externalId: "customer_123"
|
|
393
|
+
* })
|
|
394
|
+
*/
|
|
395
|
+
listCustomerPendingCreditConsumptionByExternalId(request: Paid.ListCustomerPendingCreditConsumptionByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.PendingCreditConsumptionListResponse>;
|
|
396
|
+
private __listCustomerPendingCreditConsumptionByExternalId;
|
|
397
|
+
/**
|
|
398
|
+
* Immediately grant credits to a customer looked up by external ID using an active credit currency key.
|
|
399
|
+
*
|
|
400
|
+
* @param {Paid.GrantCustomerCreditsByExternalIdRequest} request
|
|
401
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
402
|
+
*
|
|
403
|
+
* @throws {@link Paid.BadRequestError}
|
|
404
|
+
* @throws {@link Paid.ForbiddenError}
|
|
405
|
+
* @throws {@link Paid.NotFoundError}
|
|
406
|
+
* @throws {@link Paid.InternalServerError}
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
* await client.customers.grantCustomerCreditsByExternalId({
|
|
410
|
+
* externalId: "customer_123",
|
|
411
|
+
* body: {
|
|
412
|
+
* creditCurrencyKey: "api_credits",
|
|
413
|
+
* amount: 10000,
|
|
414
|
+
* startsAt: "2026-06-05T12:00:00Z",
|
|
415
|
+
* expiresAt: "2026-12-31T23:59:59Z"
|
|
416
|
+
* }
|
|
417
|
+
* })
|
|
418
|
+
*/
|
|
419
|
+
grantCustomerCreditsByExternalId(request: Paid.GrantCustomerCreditsByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.GrantCustomerCreditsResponse>;
|
|
420
|
+
private __grantCustomerCreditsByExternalId;
|
|
187
421
|
/**
|
|
188
422
|
* Create or update a customer user using customer and user external IDs
|
|
189
423
|
*
|
|
@@ -203,5 +437,335 @@ export declare class Customers {
|
|
|
203
437
|
*/
|
|
204
438
|
upsertCustomerUserByExternalId(request: Paid.UpsertCustomerUserRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUser>;
|
|
205
439
|
private __upsertCustomerUserByExternalId;
|
|
440
|
+
/**
|
|
441
|
+
* Lists the customer's units as a flat list, newest last; assemble the tree from `parentExternalId` (`null` on the root unit, `isRoot: true`). Deleted units are hidden unless `status=DELETED` is given. Filter by `externalType`, or by `parentExternalId` for one level of the tree. Addresses the customer by your external customer id.
|
|
442
|
+
*
|
|
443
|
+
* @param {Paid.ListCustomerUnitsByExternalIdRequest} request
|
|
444
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
445
|
+
*
|
|
446
|
+
* @throws {@link Paid.BadRequestError}
|
|
447
|
+
* @throws {@link Paid.ForbiddenError}
|
|
448
|
+
* @throws {@link Paid.NotFoundError}
|
|
449
|
+
* @throws {@link Paid.InternalServerError}
|
|
450
|
+
*
|
|
451
|
+
* @example
|
|
452
|
+
* await client.customers.listCustomerUnitsByExternalId({
|
|
453
|
+
* externalId: "customer_123",
|
|
454
|
+
* parentExternalId: "dept-rnd"
|
|
455
|
+
* })
|
|
456
|
+
*/
|
|
457
|
+
listCustomerUnitsByExternalId(request: Paid.ListCustomerUnitsByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitListResponse>;
|
|
458
|
+
private __listCustomerUnitsByExternalId;
|
|
459
|
+
/**
|
|
460
|
+
* Creates a unit for this customer. `externalId` is your own key for it: required, unique within the customer and immutable; every unit route addresses the unit by it, and `name` defaults to it. Omit `parentExternalId` to create the customer's root unit (its first unit; `409 ROOT_EXISTS` if it already has one — a customer created with an external id usable as a unit key already has its root, keyed by that external id, so name it as the parent instead); otherwise the parent must exist (`409 PARENT_NOT_FOUND`) and be ACTIVE. Units are never created implicitly: a signal that names a unit before it exists is accepted and its spend attaches to the unit once you create it with that key. `409` also when the externalId is taken (`CUSTOMER_UNIT_EXISTS`), the tree would get too deep, or the customer is on seat-based billing. Addresses the customer by your external customer id.
|
|
461
|
+
*
|
|
462
|
+
* @param {Paid.CreateCustomerUnitByExternalIdRequest} request
|
|
463
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
464
|
+
*
|
|
465
|
+
* @throws {@link Paid.BadRequestError}
|
|
466
|
+
* @throws {@link Paid.ForbiddenError}
|
|
467
|
+
* @throws {@link Paid.NotFoundError}
|
|
468
|
+
* @throws {@link Paid.ConflictError}
|
|
469
|
+
* @throws {@link Paid.InternalServerError}
|
|
470
|
+
*
|
|
471
|
+
* @example
|
|
472
|
+
* await client.customers.createCustomerUnitByExternalId({
|
|
473
|
+
* externalId: "customer_123",
|
|
474
|
+
* body: {
|
|
475
|
+
* externalId: "team-research"
|
|
476
|
+
* }
|
|
477
|
+
* })
|
|
478
|
+
*/
|
|
479
|
+
createCustomerUnitByExternalId(request: Paid.CreateCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
480
|
+
private __createCustomerUnitByExternalId;
|
|
481
|
+
/**
|
|
482
|
+
* Returns one unit of this customer by its `externalId`, including a deleted one. `404` when the unit does not exist or belongs to another customer. Addresses the customer by your external customer id.
|
|
483
|
+
*
|
|
484
|
+
* @param {Paid.GetCustomerUnitByExternalIdRequest} request
|
|
485
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
486
|
+
*
|
|
487
|
+
* @throws {@link Paid.BadRequestError}
|
|
488
|
+
* @throws {@link Paid.ForbiddenError}
|
|
489
|
+
* @throws {@link Paid.NotFoundError}
|
|
490
|
+
* @throws {@link Paid.InternalServerError}
|
|
491
|
+
*
|
|
492
|
+
* @example
|
|
493
|
+
* await client.customers.getCustomerUnitByExternalId({
|
|
494
|
+
* externalId: "customer_123",
|
|
495
|
+
* externalCustomerUnitId: "team-research"
|
|
496
|
+
* })
|
|
497
|
+
*/
|
|
498
|
+
getCustomerUnitByExternalId(request: Paid.GetCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
499
|
+
private __getCustomerUnitByExternalId;
|
|
500
|
+
/**
|
|
501
|
+
* Soft-deletes a unit: it stays readable with `status: DELETED` and cannot be reactivated. Spend history that references it is kept, and signals that keep naming it are still attributed to it. `409` while the unit has ACTIVE children or a cap in force or scheduled; the root follows the same rules, and once it is deleted a new root can be created. Addresses the customer by your external customer id.
|
|
502
|
+
*
|
|
503
|
+
* @param {Paid.DeleteCustomerUnitByExternalIdRequest} request
|
|
504
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
505
|
+
*
|
|
506
|
+
* @throws {@link Paid.BadRequestError}
|
|
507
|
+
* @throws {@link Paid.ForbiddenError}
|
|
508
|
+
* @throws {@link Paid.NotFoundError}
|
|
509
|
+
* @throws {@link Paid.ConflictError}
|
|
510
|
+
* @throws {@link Paid.InternalServerError}
|
|
511
|
+
*
|
|
512
|
+
* @example
|
|
513
|
+
* await client.customers.deleteCustomerUnitByExternalId({
|
|
514
|
+
* externalId: "customer_123",
|
|
515
|
+
* externalCustomerUnitId: "team-research"
|
|
516
|
+
* })
|
|
517
|
+
*/
|
|
518
|
+
deleteCustomerUnitByExternalId(request: Paid.DeleteCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
519
|
+
private __deleteCustomerUnitByExternalId;
|
|
520
|
+
/**
|
|
521
|
+
* Renames, re-types, re-parents or annotates a unit, the root included. `externalId` cannot change. Re-parenting (`parentExternalId`) moves the unit with everything under it. Spend already recorded keeps naming the unit it landed on; caps are evaluated on the current tree, so from the move on the unit's spend in the running cap period counts toward its new ancestors' caps and no longer toward the old ones. `409` for a deleted unit, a parent that does not exist or is not ACTIVE, a move of the root (`ROOT_UNIT_IMMOVABLE`), a move under the unit's own subtree, or a tree that would get too deep. Addresses the customer by your external customer id.
|
|
522
|
+
*
|
|
523
|
+
* @param {Paid.UpdateCustomerUnitByExternalIdRequest} request
|
|
524
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
525
|
+
*
|
|
526
|
+
* @throws {@link Paid.BadRequestError}
|
|
527
|
+
* @throws {@link Paid.ForbiddenError}
|
|
528
|
+
* @throws {@link Paid.NotFoundError}
|
|
529
|
+
* @throws {@link Paid.ConflictError}
|
|
530
|
+
* @throws {@link Paid.InternalServerError}
|
|
531
|
+
*
|
|
532
|
+
* @example
|
|
533
|
+
* await client.customers.updateCustomerUnitByExternalId({
|
|
534
|
+
* externalId: "customer_123",
|
|
535
|
+
* externalCustomerUnitId: "team-research",
|
|
536
|
+
* body: {}
|
|
537
|
+
* })
|
|
538
|
+
*/
|
|
539
|
+
updateCustomerUnitByExternalId(request: Paid.UpdateCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
540
|
+
private __updateCustomerUnitByExternalId;
|
|
541
|
+
/**
|
|
542
|
+
* Lists the customer's units as a flat list, newest last; assemble the tree from `parentExternalId` (`null` on the root unit, `isRoot: true`). Deleted units are hidden unless `status=DELETED` is given. Filter by `externalType`, or by `parentExternalId` for one level of the tree. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
543
|
+
*
|
|
544
|
+
* @param {Paid.ListCustomerUnitsRequest} request
|
|
545
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
546
|
+
*
|
|
547
|
+
* @throws {@link Paid.BadRequestError}
|
|
548
|
+
* @throws {@link Paid.ForbiddenError}
|
|
549
|
+
* @throws {@link Paid.NotFoundError}
|
|
550
|
+
* @throws {@link Paid.InternalServerError}
|
|
551
|
+
*
|
|
552
|
+
* @example
|
|
553
|
+
* await client.customers.listCustomerUnits({
|
|
554
|
+
* id: "cus_abc123",
|
|
555
|
+
* parentExternalId: "dept-rnd"
|
|
556
|
+
* })
|
|
557
|
+
*/
|
|
558
|
+
listCustomerUnits(request: Paid.ListCustomerUnitsRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitListResponse>;
|
|
559
|
+
private __listCustomerUnits;
|
|
560
|
+
/**
|
|
561
|
+
* Creates a unit for this customer. `externalId` is your own key for it: required, unique within the customer and immutable; every unit route addresses the unit by it, and `name` defaults to it. Omit `parentExternalId` to create the customer's root unit (its first unit; `409 ROOT_EXISTS` if it already has one — a customer created with an external id usable as a unit key already has its root, keyed by that external id, so name it as the parent instead); otherwise the parent must exist (`409 PARENT_NOT_FOUND`) and be ACTIVE. Units are never created implicitly: a signal that names a unit before it exists is accepted and its spend attaches to the unit once you create it with that key. `409` also when the externalId is taken (`CUSTOMER_UNIT_EXISTS`), the tree would get too deep, or the customer is on seat-based billing. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
562
|
+
*
|
|
563
|
+
* @param {Paid.CreateCustomerUnitRequest} request
|
|
564
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
565
|
+
*
|
|
566
|
+
* @throws {@link Paid.BadRequestError}
|
|
567
|
+
* @throws {@link Paid.ForbiddenError}
|
|
568
|
+
* @throws {@link Paid.NotFoundError}
|
|
569
|
+
* @throws {@link Paid.ConflictError}
|
|
570
|
+
* @throws {@link Paid.InternalServerError}
|
|
571
|
+
*
|
|
572
|
+
* @example
|
|
573
|
+
* await client.customers.createCustomerUnit({
|
|
574
|
+
* id: "cus_abc123",
|
|
575
|
+
* body: {
|
|
576
|
+
* externalId: "team-research"
|
|
577
|
+
* }
|
|
578
|
+
* })
|
|
579
|
+
*/
|
|
580
|
+
createCustomerUnit(request: Paid.CreateCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
581
|
+
private __createCustomerUnit;
|
|
582
|
+
/**
|
|
583
|
+
* Returns one unit of this customer by its `externalId`, including a deleted one. `404` when the unit does not exist or belongs to another customer. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
584
|
+
*
|
|
585
|
+
* @param {Paid.GetCustomerUnitRequest} request
|
|
586
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
587
|
+
*
|
|
588
|
+
* @throws {@link Paid.BadRequestError}
|
|
589
|
+
* @throws {@link Paid.ForbiddenError}
|
|
590
|
+
* @throws {@link Paid.NotFoundError}
|
|
591
|
+
* @throws {@link Paid.InternalServerError}
|
|
592
|
+
*
|
|
593
|
+
* @example
|
|
594
|
+
* await client.customers.getCustomerUnit({
|
|
595
|
+
* id: "cus_abc123",
|
|
596
|
+
* externalCustomerUnitId: "team-research"
|
|
597
|
+
* })
|
|
598
|
+
*/
|
|
599
|
+
getCustomerUnit(request: Paid.GetCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
600
|
+
private __getCustomerUnit;
|
|
601
|
+
/**
|
|
602
|
+
* Soft-deletes a unit: it stays readable with `status: DELETED` and cannot be reactivated. Spend history that references it is kept, and signals that keep naming it are still attributed to it. `409` while the unit has ACTIVE children or a cap in force or scheduled; the root follows the same rules, and once it is deleted a new root can be created. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
603
|
+
*
|
|
604
|
+
* @param {Paid.DeleteCustomerUnitRequest} request
|
|
605
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
606
|
+
*
|
|
607
|
+
* @throws {@link Paid.BadRequestError}
|
|
608
|
+
* @throws {@link Paid.ForbiddenError}
|
|
609
|
+
* @throws {@link Paid.NotFoundError}
|
|
610
|
+
* @throws {@link Paid.ConflictError}
|
|
611
|
+
* @throws {@link Paid.InternalServerError}
|
|
612
|
+
*
|
|
613
|
+
* @example
|
|
614
|
+
* await client.customers.deleteCustomerUnit({
|
|
615
|
+
* id: "cus_abc123",
|
|
616
|
+
* externalCustomerUnitId: "team-research"
|
|
617
|
+
* })
|
|
618
|
+
*/
|
|
619
|
+
deleteCustomerUnit(request: Paid.DeleteCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
620
|
+
private __deleteCustomerUnit;
|
|
621
|
+
/**
|
|
622
|
+
* Renames, re-types, re-parents or annotates a unit, the root included. `externalId` cannot change. Re-parenting (`parentExternalId`) moves the unit with everything under it. Spend already recorded keeps naming the unit it landed on; caps are evaluated on the current tree, so from the move on the unit's spend in the running cap period counts toward its new ancestors' caps and no longer toward the old ones. `409` for a deleted unit, a parent that does not exist or is not ACTIVE, a move of the root (`ROOT_UNIT_IMMOVABLE`), a move under the unit's own subtree, or a tree that would get too deep. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
623
|
+
*
|
|
624
|
+
* @param {Paid.UpdateCustomerUnitRequest} request
|
|
625
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
626
|
+
*
|
|
627
|
+
* @throws {@link Paid.BadRequestError}
|
|
628
|
+
* @throws {@link Paid.ForbiddenError}
|
|
629
|
+
* @throws {@link Paid.NotFoundError}
|
|
630
|
+
* @throws {@link Paid.ConflictError}
|
|
631
|
+
* @throws {@link Paid.InternalServerError}
|
|
632
|
+
*
|
|
633
|
+
* @example
|
|
634
|
+
* await client.customers.updateCustomerUnit({
|
|
635
|
+
* id: "cus_abc123",
|
|
636
|
+
* externalCustomerUnitId: "team-research",
|
|
637
|
+
* body: {}
|
|
638
|
+
* })
|
|
639
|
+
*/
|
|
640
|
+
updateCustomerUnit(request: Paid.UpdateCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
641
|
+
private __updateCustomerUnit;
|
|
642
|
+
/**
|
|
643
|
+
* Returns the cap in force on this customer unit for one credits currency, with usage in the current period when available. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency, which is then used and echoed back. `404` when the customer or the unit does not exist, or the unit has no cap in force for that currency. The usage figures are advisory: other spend may land between this read and the next burn. Addresses the customer by your external customer id.
|
|
644
|
+
*
|
|
645
|
+
* @param {Paid.GetCustomerUnitCapByExternalIdRequest} request
|
|
646
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
647
|
+
*
|
|
648
|
+
* @throws {@link Paid.BadRequestError}
|
|
649
|
+
* @throws {@link Paid.ForbiddenError}
|
|
650
|
+
* @throws {@link Paid.NotFoundError}
|
|
651
|
+
* @throws {@link Paid.InternalServerError}
|
|
652
|
+
*
|
|
653
|
+
* @example
|
|
654
|
+
* await client.customers.getCustomerUnitCapByExternalId({
|
|
655
|
+
* externalId: "customer_123",
|
|
656
|
+
* externalCustomerUnitId: "tenant-a",
|
|
657
|
+
* creditsCurrencyId: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf"
|
|
658
|
+
* })
|
|
659
|
+
*/
|
|
660
|
+
getCustomerUnitCapByExternalId(request: Paid.GetCustomerUnitCapByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapResponse>;
|
|
661
|
+
private __getCustomerUnitCapByExternalId;
|
|
662
|
+
/**
|
|
663
|
+
* Sets the cap on this customer unit for one credits currency by recording a new cap version; earlier versions are kept and never modified, and the newest version wins where they overlap. The new version applies from `effectiveFrom` (default now) and its periods are anchored on that day of the month. Select the currency with `creditsCurrencyId` in the body; it may be omitted only when the organization has exactly one credits currency. A cap on the customer's root unit is the customer-wide cap. `404` when the customer or the unit does not exist. `409` for customers on seat-based billing. Addresses the customer by your external customer id.
|
|
664
|
+
*
|
|
665
|
+
* @param {Paid.SetCustomerUnitCapByExternalIdRequest} request
|
|
666
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
667
|
+
*
|
|
668
|
+
* @throws {@link Paid.BadRequestError}
|
|
669
|
+
* @throws {@link Paid.ForbiddenError}
|
|
670
|
+
* @throws {@link Paid.NotFoundError}
|
|
671
|
+
* @throws {@link Paid.ConflictError}
|
|
672
|
+
* @throws {@link Paid.InternalServerError}
|
|
673
|
+
*
|
|
674
|
+
* @example
|
|
675
|
+
* await client.customers.setCustomerUnitCapByExternalId({
|
|
676
|
+
* externalId: "customer_123",
|
|
677
|
+
* externalCustomerUnitId: "tenant-a",
|
|
678
|
+
* body: {
|
|
679
|
+
* amount: 10000
|
|
680
|
+
* }
|
|
681
|
+
* })
|
|
682
|
+
*/
|
|
683
|
+
setCustomerUnitCapByExternalId(request: Paid.SetCustomerUnitCapByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapSetResponse>;
|
|
684
|
+
private __setCustomerUnitCapByExternalId;
|
|
685
|
+
/**
|
|
686
|
+
* Ends the cap on this customer unit for one credits currency by setting `effectiveUntil` to now on every open version — the one in force, older overlapping versions still open, and versions scheduled to start later — so nothing can resurface or activate afterwards; nothing is deleted and history is kept. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency. `404` when the customer or the unit does not exist, or there is no open version for that currency. Addresses the customer by your external customer id.
|
|
687
|
+
*
|
|
688
|
+
* @param {Paid.EndCustomerUnitCapByExternalIdRequest} request
|
|
689
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
690
|
+
*
|
|
691
|
+
* @throws {@link Paid.BadRequestError}
|
|
692
|
+
* @throws {@link Paid.ForbiddenError}
|
|
693
|
+
* @throws {@link Paid.NotFoundError}
|
|
694
|
+
* @throws {@link Paid.ConflictError}
|
|
695
|
+
* @throws {@link Paid.InternalServerError}
|
|
696
|
+
*
|
|
697
|
+
* @example
|
|
698
|
+
* await client.customers.endCustomerUnitCapByExternalId({
|
|
699
|
+
* externalId: "customer_123",
|
|
700
|
+
* externalCustomerUnitId: "tenant-a",
|
|
701
|
+
* creditsCurrencyId: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf"
|
|
702
|
+
* })
|
|
703
|
+
*/
|
|
704
|
+
endCustomerUnitCapByExternalId(request: Paid.EndCustomerUnitCapByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapEndResponse>;
|
|
705
|
+
private __endCustomerUnitCapByExternalId;
|
|
706
|
+
/**
|
|
707
|
+
* Returns the cap in force on this customer unit for one credits currency, with usage in the current period when available. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency, which is then used and echoed back. `404` when the customer or the unit does not exist, or the unit has no cap in force for that currency. The usage figures are advisory: other spend may land between this read and the next burn. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
708
|
+
*
|
|
709
|
+
* @param {Paid.GetCustomerUnitCapRequest} request
|
|
710
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
711
|
+
*
|
|
712
|
+
* @throws {@link Paid.BadRequestError}
|
|
713
|
+
* @throws {@link Paid.ForbiddenError}
|
|
714
|
+
* @throws {@link Paid.NotFoundError}
|
|
715
|
+
* @throws {@link Paid.InternalServerError}
|
|
716
|
+
*
|
|
717
|
+
* @example
|
|
718
|
+
* await client.customers.getCustomerUnitCap({
|
|
719
|
+
* id: "cus_abc123",
|
|
720
|
+
* externalCustomerUnitId: "tenant-a",
|
|
721
|
+
* creditsCurrencyId: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf"
|
|
722
|
+
* })
|
|
723
|
+
*/
|
|
724
|
+
getCustomerUnitCap(request: Paid.GetCustomerUnitCapRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapResponse>;
|
|
725
|
+
private __getCustomerUnitCap;
|
|
726
|
+
/**
|
|
727
|
+
* Sets the cap on this customer unit for one credits currency by recording a new cap version; earlier versions are kept and never modified, and the newest version wins where they overlap. The new version applies from `effectiveFrom` (default now) and its periods are anchored on that day of the month. Select the currency with `creditsCurrencyId` in the body; it may be omitted only when the organization has exactly one credits currency. A cap on the customer's root unit is the customer-wide cap. `404` when the customer or the unit does not exist. `409` for customers on seat-based billing. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
728
|
+
*
|
|
729
|
+
* @param {Paid.SetCustomerUnitCapRequest} request
|
|
730
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
731
|
+
*
|
|
732
|
+
* @throws {@link Paid.BadRequestError}
|
|
733
|
+
* @throws {@link Paid.ForbiddenError}
|
|
734
|
+
* @throws {@link Paid.NotFoundError}
|
|
735
|
+
* @throws {@link Paid.ConflictError}
|
|
736
|
+
* @throws {@link Paid.InternalServerError}
|
|
737
|
+
*
|
|
738
|
+
* @example
|
|
739
|
+
* await client.customers.setCustomerUnitCap({
|
|
740
|
+
* id: "cus_abc123",
|
|
741
|
+
* externalCustomerUnitId: "tenant-a",
|
|
742
|
+
* body: {
|
|
743
|
+
* amount: 10000
|
|
744
|
+
* }
|
|
745
|
+
* })
|
|
746
|
+
*/
|
|
747
|
+
setCustomerUnitCap(request: Paid.SetCustomerUnitCapRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapSetResponse>;
|
|
748
|
+
private __setCustomerUnitCap;
|
|
749
|
+
/**
|
|
750
|
+
* Ends the cap on this customer unit for one credits currency by setting `effectiveUntil` to now on every open version — the one in force, older overlapping versions still open, and versions scheduled to start later — so nothing can resurface or activate afterwards; nothing is deleted and history is kept. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency. `404` when the customer or the unit does not exist, or there is no open version for that currency. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
751
|
+
*
|
|
752
|
+
* @param {Paid.EndCustomerUnitCapRequest} request
|
|
753
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
754
|
+
*
|
|
755
|
+
* @throws {@link Paid.BadRequestError}
|
|
756
|
+
* @throws {@link Paid.ForbiddenError}
|
|
757
|
+
* @throws {@link Paid.NotFoundError}
|
|
758
|
+
* @throws {@link Paid.ConflictError}
|
|
759
|
+
* @throws {@link Paid.InternalServerError}
|
|
760
|
+
*
|
|
761
|
+
* @example
|
|
762
|
+
* await client.customers.endCustomerUnitCap({
|
|
763
|
+
* id: "cus_abc123",
|
|
764
|
+
* externalCustomerUnitId: "tenant-a",
|
|
765
|
+
* creditsCurrencyId: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf"
|
|
766
|
+
* })
|
|
767
|
+
*/
|
|
768
|
+
endCustomerUnitCap(request: Paid.EndCustomerUnitCapRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapEndResponse>;
|
|
769
|
+
private __endCustomerUnitCap;
|
|
206
770
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
207
771
|
}
|