@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
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
22
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
23
|
+
import * as core from "../../../../core/index.mjs";
|
|
24
|
+
import * as environments from "../../../../environments.mjs";
|
|
25
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
26
|
+
import * as Paid from "../../../index.mjs";
|
|
27
|
+
export class CustomerGroups {
|
|
28
|
+
constructor(_options) {
|
|
29
|
+
this._options = _options;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* List all customer groups for the organization.
|
|
33
|
+
*
|
|
34
|
+
* @param {Paid.ListCustomerGroupsRequest} request
|
|
35
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link Paid.InternalServerError}
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.customerGroups.listCustomerGroups()
|
|
41
|
+
*/
|
|
42
|
+
listCustomerGroups(request = {}, requestOptions) {
|
|
43
|
+
return core.HttpResponsePromise.fromPromise(this.__listCustomerGroups(request, requestOptions));
|
|
44
|
+
}
|
|
45
|
+
__listCustomerGroups() {
|
|
46
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
47
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
48
|
+
const { limit, offset } = request;
|
|
49
|
+
const _queryParams = {};
|
|
50
|
+
if (limit != null) {
|
|
51
|
+
_queryParams.limit = limit.toString();
|
|
52
|
+
}
|
|
53
|
+
if (offset != null) {
|
|
54
|
+
_queryParams.offset = offset.toString();
|
|
55
|
+
}
|
|
56
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
57
|
+
const _response = yield core.fetcher({
|
|
58
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, "customer-groups/"),
|
|
59
|
+
method: "GET",
|
|
60
|
+
headers: _headers,
|
|
61
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
62
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
63
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
64
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
65
|
+
});
|
|
66
|
+
if (_response.ok) {
|
|
67
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
68
|
+
}
|
|
69
|
+
if (_response.error.reason === "status-code") {
|
|
70
|
+
switch (_response.error.statusCode) {
|
|
71
|
+
case 500:
|
|
72
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
73
|
+
default:
|
|
74
|
+
throw new errors.PaidError({
|
|
75
|
+
statusCode: _response.error.statusCode,
|
|
76
|
+
body: _response.error.body,
|
|
77
|
+
rawResponse: _response.rawResponse,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
switch (_response.error.reason) {
|
|
82
|
+
case "non-json":
|
|
83
|
+
throw new errors.PaidError({
|
|
84
|
+
statusCode: _response.error.statusCode,
|
|
85
|
+
body: _response.error.rawBody,
|
|
86
|
+
rawResponse: _response.rawResponse,
|
|
87
|
+
});
|
|
88
|
+
case "timeout":
|
|
89
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling GET /customer-groups/.");
|
|
90
|
+
case "unknown":
|
|
91
|
+
throw new errors.PaidError({
|
|
92
|
+
message: _response.error.errorMessage,
|
|
93
|
+
rawResponse: _response.rawResponse,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Create a new customer group. Names must be unique per org.
|
|
100
|
+
*
|
|
101
|
+
* @param {Paid.CreateCustomerGroupRequest} request
|
|
102
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link Paid.BadRequestError}
|
|
105
|
+
* @throws {@link Paid.ConflictError}
|
|
106
|
+
* @throws {@link Paid.InternalServerError}
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* await client.customerGroups.createCustomerGroup({
|
|
110
|
+
* name: "name"
|
|
111
|
+
* })
|
|
112
|
+
*/
|
|
113
|
+
createCustomerGroup(request, requestOptions) {
|
|
114
|
+
return core.HttpResponsePromise.fromPromise(this.__createCustomerGroup(request, requestOptions));
|
|
115
|
+
}
|
|
116
|
+
__createCustomerGroup(request, requestOptions) {
|
|
117
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
119
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
120
|
+
const _response = yield core.fetcher({
|
|
121
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, "customer-groups/"),
|
|
122
|
+
method: "POST",
|
|
123
|
+
headers: _headers,
|
|
124
|
+
contentType: "application/json",
|
|
125
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
126
|
+
requestType: "json",
|
|
127
|
+
body: request,
|
|
128
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
129
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
130
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
131
|
+
});
|
|
132
|
+
if (_response.ok) {
|
|
133
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
134
|
+
}
|
|
135
|
+
if (_response.error.reason === "status-code") {
|
|
136
|
+
switch (_response.error.statusCode) {
|
|
137
|
+
case 400:
|
|
138
|
+
throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
|
|
139
|
+
case 409:
|
|
140
|
+
throw new Paid.ConflictError(_response.error.body, _response.rawResponse);
|
|
141
|
+
case 500:
|
|
142
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
143
|
+
default:
|
|
144
|
+
throw new errors.PaidError({
|
|
145
|
+
statusCode: _response.error.statusCode,
|
|
146
|
+
body: _response.error.body,
|
|
147
|
+
rawResponse: _response.rawResponse,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
switch (_response.error.reason) {
|
|
152
|
+
case "non-json":
|
|
153
|
+
throw new errors.PaidError({
|
|
154
|
+
statusCode: _response.error.statusCode,
|
|
155
|
+
body: _response.error.rawBody,
|
|
156
|
+
rawResponse: _response.rawResponse,
|
|
157
|
+
});
|
|
158
|
+
case "timeout":
|
|
159
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling POST /customer-groups/.");
|
|
160
|
+
case "unknown":
|
|
161
|
+
throw new errors.PaidError({
|
|
162
|
+
message: _response.error.errorMessage,
|
|
163
|
+
rawResponse: _response.rawResponse,
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Returns group details including member list (capped at 500).
|
|
170
|
+
*
|
|
171
|
+
* @param {Paid.GetCustomerGroupRequest} request
|
|
172
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link Paid.NotFoundError}
|
|
175
|
+
* @throws {@link Paid.InternalServerError}
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* await client.customerGroups.getCustomerGroup({
|
|
179
|
+
* id: "id"
|
|
180
|
+
* })
|
|
181
|
+
*/
|
|
182
|
+
getCustomerGroup(request, requestOptions) {
|
|
183
|
+
return core.HttpResponsePromise.fromPromise(this.__getCustomerGroup(request, requestOptions));
|
|
184
|
+
}
|
|
185
|
+
__getCustomerGroup(request, requestOptions) {
|
|
186
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
188
|
+
const { id } = request;
|
|
189
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
190
|
+
const _response = yield core.fetcher({
|
|
191
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, `customer-groups/${core.url.encodePathParam(id)}`),
|
|
192
|
+
method: "GET",
|
|
193
|
+
headers: _headers,
|
|
194
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
195
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
196
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
197
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
198
|
+
});
|
|
199
|
+
if (_response.ok) {
|
|
200
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
201
|
+
}
|
|
202
|
+
if (_response.error.reason === "status-code") {
|
|
203
|
+
switch (_response.error.statusCode) {
|
|
204
|
+
case 404:
|
|
205
|
+
throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
|
|
206
|
+
case 500:
|
|
207
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
208
|
+
default:
|
|
209
|
+
throw new errors.PaidError({
|
|
210
|
+
statusCode: _response.error.statusCode,
|
|
211
|
+
body: _response.error.body,
|
|
212
|
+
rawResponse: _response.rawResponse,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
switch (_response.error.reason) {
|
|
217
|
+
case "non-json":
|
|
218
|
+
throw new errors.PaidError({
|
|
219
|
+
statusCode: _response.error.statusCode,
|
|
220
|
+
body: _response.error.rawBody,
|
|
221
|
+
rawResponse: _response.rawResponse,
|
|
222
|
+
});
|
|
223
|
+
case "timeout":
|
|
224
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling GET /customer-groups/{id}.");
|
|
225
|
+
case "unknown":
|
|
226
|
+
throw new errors.PaidError({
|
|
227
|
+
message: _response.error.errorMessage,
|
|
228
|
+
rawResponse: _response.rawResponse,
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Deletes the group and unbinds all members. Unbound customers fall back to the base value model config.
|
|
235
|
+
*
|
|
236
|
+
* @param {Paid.DeleteCustomerGroupRequest} request
|
|
237
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
238
|
+
*
|
|
239
|
+
* @throws {@link Paid.NotFoundError}
|
|
240
|
+
* @throws {@link Paid.InternalServerError}
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* await client.customerGroups.deleteCustomerGroup({
|
|
244
|
+
* id: "id"
|
|
245
|
+
* })
|
|
246
|
+
*/
|
|
247
|
+
deleteCustomerGroup(request, requestOptions) {
|
|
248
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteCustomerGroup(request, requestOptions));
|
|
249
|
+
}
|
|
250
|
+
__deleteCustomerGroup(request, requestOptions) {
|
|
251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
253
|
+
const { id } = request, _body = __rest(request, ["id"]);
|
|
254
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
255
|
+
const _response = yield core.fetcher({
|
|
256
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, `customer-groups/${core.url.encodePathParam(id)}`),
|
|
257
|
+
method: "DELETE",
|
|
258
|
+
headers: _headers,
|
|
259
|
+
contentType: "application/json",
|
|
260
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
261
|
+
requestType: "json",
|
|
262
|
+
body: _body,
|
|
263
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
264
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
265
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
266
|
+
});
|
|
267
|
+
if (_response.ok) {
|
|
268
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
269
|
+
}
|
|
270
|
+
if (_response.error.reason === "status-code") {
|
|
271
|
+
switch (_response.error.statusCode) {
|
|
272
|
+
case 404:
|
|
273
|
+
throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
|
|
274
|
+
case 500:
|
|
275
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
276
|
+
default:
|
|
277
|
+
throw new errors.PaidError({
|
|
278
|
+
statusCode: _response.error.statusCode,
|
|
279
|
+
body: _response.error.body,
|
|
280
|
+
rawResponse: _response.rawResponse,
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
switch (_response.error.reason) {
|
|
285
|
+
case "non-json":
|
|
286
|
+
throw new errors.PaidError({
|
|
287
|
+
statusCode: _response.error.statusCode,
|
|
288
|
+
body: _response.error.rawBody,
|
|
289
|
+
rawResponse: _response.rawResponse,
|
|
290
|
+
});
|
|
291
|
+
case "timeout":
|
|
292
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling DELETE /customer-groups/{id}.");
|
|
293
|
+
case "unknown":
|
|
294
|
+
throw new errors.PaidError({
|
|
295
|
+
message: _response.error.errorMessage,
|
|
296
|
+
rawResponse: _response.rawResponse,
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Update a customer group's name or description.
|
|
303
|
+
*
|
|
304
|
+
* @param {Paid.UpdateCustomerGroupRequest} request
|
|
305
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
306
|
+
*
|
|
307
|
+
* @throws {@link Paid.NotFoundError}
|
|
308
|
+
* @throws {@link Paid.ConflictError}
|
|
309
|
+
* @throws {@link Paid.InternalServerError}
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
* await client.customerGroups.updateCustomerGroup({
|
|
313
|
+
* id: "id"
|
|
314
|
+
* })
|
|
315
|
+
*/
|
|
316
|
+
updateCustomerGroup(request, requestOptions) {
|
|
317
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCustomerGroup(request, requestOptions));
|
|
318
|
+
}
|
|
319
|
+
__updateCustomerGroup(request, requestOptions) {
|
|
320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
321
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
322
|
+
const { id } = request, _body = __rest(request, ["id"]);
|
|
323
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
324
|
+
const _response = yield core.fetcher({
|
|
325
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, `customer-groups/${core.url.encodePathParam(id)}`),
|
|
326
|
+
method: "PATCH",
|
|
327
|
+
headers: _headers,
|
|
328
|
+
contentType: "application/json",
|
|
329
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
330
|
+
requestType: "json",
|
|
331
|
+
body: _body,
|
|
332
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
333
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
334
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
335
|
+
});
|
|
336
|
+
if (_response.ok) {
|
|
337
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
338
|
+
}
|
|
339
|
+
if (_response.error.reason === "status-code") {
|
|
340
|
+
switch (_response.error.statusCode) {
|
|
341
|
+
case 404:
|
|
342
|
+
throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
|
|
343
|
+
case 409:
|
|
344
|
+
throw new Paid.ConflictError(_response.error.body, _response.rawResponse);
|
|
345
|
+
case 500:
|
|
346
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
347
|
+
default:
|
|
348
|
+
throw new errors.PaidError({
|
|
349
|
+
statusCode: _response.error.statusCode,
|
|
350
|
+
body: _response.error.body,
|
|
351
|
+
rawResponse: _response.rawResponse,
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
switch (_response.error.reason) {
|
|
356
|
+
case "non-json":
|
|
357
|
+
throw new errors.PaidError({
|
|
358
|
+
statusCode: _response.error.statusCode,
|
|
359
|
+
body: _response.error.rawBody,
|
|
360
|
+
rawResponse: _response.rawResponse,
|
|
361
|
+
});
|
|
362
|
+
case "timeout":
|
|
363
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling PATCH /customer-groups/{id}.");
|
|
364
|
+
case "unknown":
|
|
365
|
+
throw new errors.PaidError({
|
|
366
|
+
message: _response.error.errorMessage,
|
|
367
|
+
rawResponse: _response.rawResponse,
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Additive. Adds customers to the group without removing existing members.
|
|
374
|
+
*
|
|
375
|
+
* @param {Paid.CreateCustomerGroupMembersRequest} request
|
|
376
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
377
|
+
*
|
|
378
|
+
* @throws {@link Paid.BadRequestError}
|
|
379
|
+
* @throws {@link Paid.NotFoundError}
|
|
380
|
+
* @throws {@link Paid.InternalServerError}
|
|
381
|
+
*
|
|
382
|
+
* @example
|
|
383
|
+
* await client.customerGroups.createCustomerGroupMembers({
|
|
384
|
+
* id: "id",
|
|
385
|
+
* body: {
|
|
386
|
+
* customerIds: ["customerIds"]
|
|
387
|
+
* }
|
|
388
|
+
* })
|
|
389
|
+
*/
|
|
390
|
+
createCustomerGroupMembers(request, requestOptions) {
|
|
391
|
+
return core.HttpResponsePromise.fromPromise(this.__createCustomerGroupMembers(request, requestOptions));
|
|
392
|
+
}
|
|
393
|
+
__createCustomerGroupMembers(request, requestOptions) {
|
|
394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
395
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
396
|
+
const { id, body: _body } = request;
|
|
397
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
398
|
+
const _response = yield core.fetcher({
|
|
399
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, `customer-groups/${core.url.encodePathParam(id)}/members`),
|
|
400
|
+
method: "POST",
|
|
401
|
+
headers: _headers,
|
|
402
|
+
contentType: "application/json",
|
|
403
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
404
|
+
requestType: "json",
|
|
405
|
+
body: _body,
|
|
406
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
407
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
408
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
409
|
+
});
|
|
410
|
+
if (_response.ok) {
|
|
411
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
412
|
+
}
|
|
413
|
+
if (_response.error.reason === "status-code") {
|
|
414
|
+
switch (_response.error.statusCode) {
|
|
415
|
+
case 400:
|
|
416
|
+
throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
|
|
417
|
+
case 404:
|
|
418
|
+
throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
|
|
419
|
+
case 500:
|
|
420
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
421
|
+
default:
|
|
422
|
+
throw new errors.PaidError({
|
|
423
|
+
statusCode: _response.error.statusCode,
|
|
424
|
+
body: _response.error.body,
|
|
425
|
+
rawResponse: _response.rawResponse,
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
switch (_response.error.reason) {
|
|
430
|
+
case "non-json":
|
|
431
|
+
throw new errors.PaidError({
|
|
432
|
+
statusCode: _response.error.statusCode,
|
|
433
|
+
body: _response.error.rawBody,
|
|
434
|
+
rawResponse: _response.rawResponse,
|
|
435
|
+
});
|
|
436
|
+
case "timeout":
|
|
437
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling POST /customer-groups/{id}/members.");
|
|
438
|
+
case "unknown":
|
|
439
|
+
throw new errors.PaidError({
|
|
440
|
+
message: _response.error.errorMessage,
|
|
441
|
+
rawResponse: _response.rawResponse,
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Reconcile membership. The provided list is the complete desired membership. Customers not in the list are removed. Customers in the list but not currently in the group are added.
|
|
448
|
+
*
|
|
449
|
+
* @param {Paid.UpdateCustomerGroupMembersRequest} request
|
|
450
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
|
+
*
|
|
452
|
+
* @throws {@link Paid.BadRequestError}
|
|
453
|
+
* @throws {@link Paid.NotFoundError}
|
|
454
|
+
* @throws {@link Paid.InternalServerError}
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* await client.customerGroups.updateCustomerGroupMembers({
|
|
458
|
+
* id: "id",
|
|
459
|
+
* body: {
|
|
460
|
+
* customerIds: ["customerIds"]
|
|
461
|
+
* }
|
|
462
|
+
* })
|
|
463
|
+
*/
|
|
464
|
+
updateCustomerGroupMembers(request, requestOptions) {
|
|
465
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCustomerGroupMembers(request, requestOptions));
|
|
466
|
+
}
|
|
467
|
+
__updateCustomerGroupMembers(request, requestOptions) {
|
|
468
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
469
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
470
|
+
const { id, body: _body } = request;
|
|
471
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
472
|
+
const _response = yield core.fetcher({
|
|
473
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, `customer-groups/${core.url.encodePathParam(id)}/members`),
|
|
474
|
+
method: "PUT",
|
|
475
|
+
headers: _headers,
|
|
476
|
+
contentType: "application/json",
|
|
477
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
478
|
+
requestType: "json",
|
|
479
|
+
body: _body,
|
|
480
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
481
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
482
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
483
|
+
});
|
|
484
|
+
if (_response.ok) {
|
|
485
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
486
|
+
}
|
|
487
|
+
if (_response.error.reason === "status-code") {
|
|
488
|
+
switch (_response.error.statusCode) {
|
|
489
|
+
case 400:
|
|
490
|
+
throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
|
|
491
|
+
case 404:
|
|
492
|
+
throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
|
|
493
|
+
case 500:
|
|
494
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
495
|
+
default:
|
|
496
|
+
throw new errors.PaidError({
|
|
497
|
+
statusCode: _response.error.statusCode,
|
|
498
|
+
body: _response.error.body,
|
|
499
|
+
rawResponse: _response.rawResponse,
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
switch (_response.error.reason) {
|
|
504
|
+
case "non-json":
|
|
505
|
+
throw new errors.PaidError({
|
|
506
|
+
statusCode: _response.error.statusCode,
|
|
507
|
+
body: _response.error.rawBody,
|
|
508
|
+
rawResponse: _response.rawResponse,
|
|
509
|
+
});
|
|
510
|
+
case "timeout":
|
|
511
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling PUT /customer-groups/{id}/members.");
|
|
512
|
+
case "unknown":
|
|
513
|
+
throw new errors.PaidError({
|
|
514
|
+
message: _response.error.errorMessage,
|
|
515
|
+
rawResponse: _response.rawResponse,
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Removes specific customers from the group.
|
|
522
|
+
*
|
|
523
|
+
* @param {Paid.DeleteCustomerGroupMembersRequest} request
|
|
524
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
525
|
+
*
|
|
526
|
+
* @throws {@link Paid.BadRequestError}
|
|
527
|
+
* @throws {@link Paid.NotFoundError}
|
|
528
|
+
* @throws {@link Paid.InternalServerError}
|
|
529
|
+
*
|
|
530
|
+
* @example
|
|
531
|
+
* await client.customerGroups.deleteCustomerGroupMembers({
|
|
532
|
+
* id: "id",
|
|
533
|
+
* body: {
|
|
534
|
+
* customerIds: ["customerIds"]
|
|
535
|
+
* }
|
|
536
|
+
* })
|
|
537
|
+
*/
|
|
538
|
+
deleteCustomerGroupMembers(request, requestOptions) {
|
|
539
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteCustomerGroupMembers(request, requestOptions));
|
|
540
|
+
}
|
|
541
|
+
__deleteCustomerGroupMembers(request, requestOptions) {
|
|
542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
543
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
544
|
+
const { id, body: _body } = request;
|
|
545
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
546
|
+
const _response = yield core.fetcher({
|
|
547
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PaidEnvironment.Default, `customer-groups/${core.url.encodePathParam(id)}/members`),
|
|
548
|
+
method: "DELETE",
|
|
549
|
+
headers: _headers,
|
|
550
|
+
contentType: "application/json",
|
|
551
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
552
|
+
requestType: "json",
|
|
553
|
+
body: _body,
|
|
554
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
555
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
556
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
557
|
+
});
|
|
558
|
+
if (_response.ok) {
|
|
559
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
560
|
+
}
|
|
561
|
+
if (_response.error.reason === "status-code") {
|
|
562
|
+
switch (_response.error.statusCode) {
|
|
563
|
+
case 400:
|
|
564
|
+
throw new Paid.BadRequestError(_response.error.body, _response.rawResponse);
|
|
565
|
+
case 404:
|
|
566
|
+
throw new Paid.NotFoundError(_response.error.body, _response.rawResponse);
|
|
567
|
+
case 500:
|
|
568
|
+
throw new Paid.InternalServerError(_response.error.body, _response.rawResponse);
|
|
569
|
+
default:
|
|
570
|
+
throw new errors.PaidError({
|
|
571
|
+
statusCode: _response.error.statusCode,
|
|
572
|
+
body: _response.error.body,
|
|
573
|
+
rawResponse: _response.rawResponse,
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
switch (_response.error.reason) {
|
|
578
|
+
case "non-json":
|
|
579
|
+
throw new errors.PaidError({
|
|
580
|
+
statusCode: _response.error.statusCode,
|
|
581
|
+
body: _response.error.rawBody,
|
|
582
|
+
rawResponse: _response.rawResponse,
|
|
583
|
+
});
|
|
584
|
+
case "timeout":
|
|
585
|
+
throw new errors.PaidTimeoutError("Timeout exceeded when calling DELETE /customer-groups/{id}/members.");
|
|
586
|
+
case "unknown":
|
|
587
|
+
throw new errors.PaidError({
|
|
588
|
+
message: _response.error.errorMessage,
|
|
589
|
+
rawResponse: _response.rawResponse,
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
_getAuthorizationHeader() {
|
|
595
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Paid from "../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* id: "id",
|
|
6
|
+
* body: {
|
|
7
|
+
* customerIds: ["customerIds"]
|
|
8
|
+
* }
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateCustomerGroupMembersRequest {
|
|
12
|
+
id: string;
|
|
13
|
+
body: Paid.MemberRequest;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Paid from "../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* id: "id",
|
|
6
|
+
* body: {
|
|
7
|
+
* customerIds: ["customerIds"]
|
|
8
|
+
* }
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteCustomerGroupMembersRequest {
|
|
12
|
+
id: string;
|
|
13
|
+
body: Paid.MemberRequest;
|
|
14
|
+
}
|