@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 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type * as Paid from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* name: "Usage over time",
|
|
6
|
+
* queries: [{
|
|
7
|
+
* id: "usage",
|
|
8
|
+
* sql: "SELECT toDate(created_at) AS day, count() AS signals FROM fact_signal GROUP BY day ORDER BY day"
|
|
9
|
+
* }],
|
|
10
|
+
* renderBundle: "<!doctype html><body>\u2026</body>"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateCustomViewRequest {
|
|
14
|
+
/** Human-readable view name (shown in preview + audit log). */
|
|
15
|
+
name: string;
|
|
16
|
+
/** Optional longer description of what the view shows. */
|
|
17
|
+
description?: string;
|
|
18
|
+
/** One or more named queries. Each becomes a separately-keyed result set in the embed. */
|
|
19
|
+
queries: Paid.CustomViewQuery[];
|
|
20
|
+
/** Self-contained HTML document that renders the result sets. Inline ALL CSS/JS/charting libraries — the render sandbox has no network access. It receives the keyed result sets via a `message` event (`data[<queryId>]`) and must not fetch anything itself. */
|
|
21
|
+
renderBundle: string;
|
|
22
|
+
/** Optional default date range. Required if any query uses the `{period_start:DateTime}` / `{period_end:DateTime}` placeholders. Can be changed later in Paid without re-authoring. */
|
|
23
|
+
period?: CreateCustomViewRequest.Period;
|
|
24
|
+
/** Optional per-request filter parameters. Required for every {filter_<name>:String} placeholder the queries reference. */
|
|
25
|
+
filters?: Paid.CustomViewFilter[];
|
|
26
|
+
/** 'customer' (default): data is scoped to one viewing customer and the view is embeddable per-customer. 'organization': data is org-wide; the view is internal-only (visible to org members in Paid, never embeddable). */
|
|
27
|
+
scope?: CreateCustomViewRequest.Scope;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace CreateCustomViewRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Optional default date range. Required if any query uses the `{period_start:DateTime}` / `{period_end:DateTime}` placeholders. Can be changed later in Paid without re-authoring.
|
|
32
|
+
*/
|
|
33
|
+
interface Period {
|
|
34
|
+
/** 'relative' = a rolling window ending today (set `unit` + `amount`); 'absolute' = a fixed calendar range (set `start` + `end`). */
|
|
35
|
+
kind: Period.Kind;
|
|
36
|
+
/** relative only: the unit of the rolling window. */
|
|
37
|
+
unit?: Period.Unit;
|
|
38
|
+
/** relative only: how many units back from today (e.g. unit 'day', amount 30 = last 30 days). */
|
|
39
|
+
amount?: number;
|
|
40
|
+
/** absolute only: inclusive start date (YYYY-MM-DD). */
|
|
41
|
+
start?: string;
|
|
42
|
+
/** absolute only: inclusive end date (YYYY-MM-DD). */
|
|
43
|
+
end?: string;
|
|
44
|
+
}
|
|
45
|
+
namespace Period {
|
|
46
|
+
/** 'relative' = a rolling window ending today (set `unit` + `amount`); 'absolute' = a fixed calendar range (set `start` + `end`). */
|
|
47
|
+
const Kind: {
|
|
48
|
+
readonly Relative: "relative";
|
|
49
|
+
readonly Absolute: "absolute";
|
|
50
|
+
};
|
|
51
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
52
|
+
/** relative only: the unit of the rolling window. */
|
|
53
|
+
const Unit: {
|
|
54
|
+
readonly Day: "day";
|
|
55
|
+
readonly Month: "month";
|
|
56
|
+
readonly Year: "year";
|
|
57
|
+
};
|
|
58
|
+
type Unit = (typeof Unit)[keyof typeof Unit];
|
|
59
|
+
}
|
|
60
|
+
/** 'customer' (default): data is scoped to one viewing customer and the view is embeddable per-customer. 'organization': data is org-wide; the view is internal-only (visible to org members in Paid, never embeddable). */
|
|
61
|
+
const Scope: {
|
|
62
|
+
readonly Customer: "customer";
|
|
63
|
+
readonly Organization: "organization";
|
|
64
|
+
};
|
|
65
|
+
type Scope = (typeof Scope)[keyof typeof Scope];
|
|
66
|
+
}
|
package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateCustomViewRequest = void 0;
|
|
5
|
+
var CreateCustomViewRequest;
|
|
6
|
+
(function (CreateCustomViewRequest) {
|
|
7
|
+
let Period;
|
|
8
|
+
(function (Period) {
|
|
9
|
+
/** 'relative' = a rolling window ending today (set `unit` + `amount`); 'absolute' = a fixed calendar range (set `start` + `end`). */
|
|
10
|
+
Period.Kind = {
|
|
11
|
+
Relative: "relative",
|
|
12
|
+
Absolute: "absolute",
|
|
13
|
+
};
|
|
14
|
+
/** relative only: the unit of the rolling window. */
|
|
15
|
+
Period.Unit = {
|
|
16
|
+
Day: "day",
|
|
17
|
+
Month: "month",
|
|
18
|
+
Year: "year",
|
|
19
|
+
};
|
|
20
|
+
})(Period = CreateCustomViewRequest.Period || (CreateCustomViewRequest.Period = {}));
|
|
21
|
+
/** 'customer' (default): data is scoped to one viewing customer and the view is embeddable per-customer. 'organization': data is org-wide; the view is internal-only (visible to org members in Paid, never embeddable). */
|
|
22
|
+
CreateCustomViewRequest.Scope = {
|
|
23
|
+
Customer: "customer",
|
|
24
|
+
Organization: "organization",
|
|
25
|
+
};
|
|
26
|
+
})(CreateCustomViewRequest || (exports.CreateCustomViewRequest = CreateCustomViewRequest = {}));
|
package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Paid from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* displayId: "displayId"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface GetCustomViewDataRequest {
|
|
9
|
+
displayId: string;
|
|
10
|
+
/** Customer to scope the data to (dev/preview only; the embed derives this from the verified token). Required for customer-scoped views; ignored for organization-scoped views (their data is org-wide). */
|
|
11
|
+
customerId?: string;
|
|
12
|
+
/** Override the view's default date range for this request only. 'relative' = rolling window (set periodUnit + periodAmount); 'absolute' = fixed range (set periodStart + periodEnd). */
|
|
13
|
+
periodKind?: Paid.GetCustomViewDataRequestPeriodKind;
|
|
14
|
+
/** relative override only: unit of the rolling window. */
|
|
15
|
+
periodUnit?: Paid.GetCustomViewDataRequestPeriodUnit;
|
|
16
|
+
/** relative override only: how many units back from today. */
|
|
17
|
+
periodAmount?: number;
|
|
18
|
+
/** absolute override only: inclusive start date (YYYY-MM-DD). */
|
|
19
|
+
periodStart?: string;
|
|
20
|
+
/** absolute override only: inclusive end date (YYYY-MM-DD). */
|
|
21
|
+
periodEnd?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* displayId: "displayId",
|
|
5
|
+
* customerId: "customerId"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface GetCustomViewEmbedTokenRequest {
|
|
9
|
+
displayId: string;
|
|
10
|
+
/** The customer to scope the view to: external id, Paid display id (cus_…), or internal id. */
|
|
11
|
+
customerId: string;
|
|
12
|
+
/** Token lifetime in seconds (capped at 3600). */
|
|
13
|
+
ttlSeconds?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* displayId: "displayId",
|
|
5
|
+
* period: {
|
|
6
|
+
* kind: "relative"
|
|
7
|
+
* }
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface UpdateCustomViewPeriodRequest {
|
|
11
|
+
displayId: string;
|
|
12
|
+
/** Default date range for the view's queries. Use `{period_start:DateTime}` / `{period_end:DateTime}` placeholders in your SQL to make the range adjustable. Either relative (unit+amount) or absolute (start+end). */
|
|
13
|
+
period: UpdateCustomViewPeriodRequest.Period;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace UpdateCustomViewPeriodRequest {
|
|
16
|
+
/**
|
|
17
|
+
* Default date range for the view's queries. Use `{period_start:DateTime}` / `{period_end:DateTime}` placeholders in your SQL to make the range adjustable. Either relative (unit+amount) or absolute (start+end).
|
|
18
|
+
*/
|
|
19
|
+
interface Period {
|
|
20
|
+
/** 'relative' = a rolling window ending today (set `unit` + `amount`); 'absolute' = a fixed calendar range (set `start` + `end`). */
|
|
21
|
+
kind: Period.Kind;
|
|
22
|
+
/** relative only: the unit of the rolling window. */
|
|
23
|
+
unit?: Period.Unit;
|
|
24
|
+
/** relative only: how many units back from today (e.g. unit 'day', amount 30 = last 30 days). */
|
|
25
|
+
amount?: number;
|
|
26
|
+
/** absolute only: inclusive start date (YYYY-MM-DD). */
|
|
27
|
+
start?: string;
|
|
28
|
+
/** absolute only: inclusive end date (YYYY-MM-DD). */
|
|
29
|
+
end?: string;
|
|
30
|
+
}
|
|
31
|
+
namespace Period {
|
|
32
|
+
/** 'relative' = a rolling window ending today (set `unit` + `amount`); 'absolute' = a fixed calendar range (set `start` + `end`). */
|
|
33
|
+
const Kind: {
|
|
34
|
+
readonly Relative: "relative";
|
|
35
|
+
readonly Absolute: "absolute";
|
|
36
|
+
};
|
|
37
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
38
|
+
/** relative only: the unit of the rolling window. */
|
|
39
|
+
const Unit: {
|
|
40
|
+
readonly Day: "day";
|
|
41
|
+
readonly Month: "month";
|
|
42
|
+
readonly Year: "year";
|
|
43
|
+
};
|
|
44
|
+
type Unit = (typeof Unit)[keyof typeof Unit];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.UpdateCustomViewPeriodRequest = void 0;
|
|
5
|
+
var UpdateCustomViewPeriodRequest;
|
|
6
|
+
(function (UpdateCustomViewPeriodRequest) {
|
|
7
|
+
let Period;
|
|
8
|
+
(function (Period) {
|
|
9
|
+
/** 'relative' = a rolling window ending today (set `unit` + `amount`); 'absolute' = a fixed calendar range (set `start` + `end`). */
|
|
10
|
+
Period.Kind = {
|
|
11
|
+
Relative: "relative",
|
|
12
|
+
Absolute: "absolute",
|
|
13
|
+
};
|
|
14
|
+
/** relative only: the unit of the rolling window. */
|
|
15
|
+
Period.Unit = {
|
|
16
|
+
Day: "day",
|
|
17
|
+
Month: "month",
|
|
18
|
+
Year: "year",
|
|
19
|
+
};
|
|
20
|
+
})(Period = UpdateCustomViewPeriodRequest.Period || (UpdateCustomViewPeriodRequest.Period = {}));
|
|
21
|
+
})(UpdateCustomViewPeriodRequest || (exports.UpdateCustomViewPeriodRequest = UpdateCustomViewPeriodRequest = {}));
|
package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as Paid from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* displayId: "displayId"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface UpdateCustomViewRequest {
|
|
9
|
+
displayId: string;
|
|
10
|
+
/** New human-readable view name. */
|
|
11
|
+
name?: string;
|
|
12
|
+
/** New description; pass null to clear it. */
|
|
13
|
+
description?: string | null;
|
|
14
|
+
/** Full replacement of the view's query list. Each SQL is re-validated (SELECT-only) exactly like createCustomView. For changing one or two queries, prefer `queryUpserts`/`queryRemovals` instead. Cannot be combined with them. */
|
|
15
|
+
queries?: Paid.CustomViewQuery[];
|
|
16
|
+
/** Replacement render bundle. Re-validated (size cap, self-contained, paid:data listener) exactly like createCustomView. For small changes, prefer `bundleEdits` instead. Cannot be combined with `bundleEdits`. */
|
|
17
|
+
renderBundle?: string;
|
|
18
|
+
/** PREFERRED for revisions: exact search-and-replace edits applied in order to the stored render bundle, so you send only the changed text instead of re-transmitting the whole bundle. The edited result passes the same validation as a full replacement. Cannot be combined with `renderBundle`. */
|
|
19
|
+
bundleEdits?: Paid.RenderBundleEdit[];
|
|
20
|
+
/** PREFERRED for revisions: per-query changes — each entry replaces the stored query with the same id, or is appended as a new query. Queries not mentioned are left unchanged. Cannot be combined with `queries`. */
|
|
21
|
+
queryUpserts?: Paid.CustomViewQuery[];
|
|
22
|
+
/** Ids of stored queries to remove (applied before `queryUpserts`). Rejected if an id does not exist. Cannot be combined with `queries`. */
|
|
23
|
+
queryRemovals?: string[];
|
|
24
|
+
/** Full replacement of the view's declared filter parameters; pass null to remove them all. Every {filter_<name>:String} placeholder the (resulting) queries reference must stay declared. */
|
|
25
|
+
filters?: Paid.CustomViewFilter[] | null;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { CreateCustomViewRequest } from "./CreateCustomViewRequest.js";
|
|
2
|
+
export type { GetCustomViewDataRequest } from "./GetCustomViewDataRequest.js";
|
|
3
|
+
export type { GetCustomViewEmbedTokenRequest } from "./GetCustomViewEmbedTokenRequest.js";
|
|
4
|
+
export type { GetCustomViewRequest } from "./GetCustomViewRequest.js";
|
|
5
|
+
export type { PublishCustomViewRequest } from "./PublishCustomViewRequest.js";
|
|
6
|
+
export type { UpdateCustomViewPeriodRequest } from "./UpdateCustomViewPeriodRequest.js";
|
|
7
|
+
export type { UpdateCustomViewRequest } from "./UpdateCustomViewRequest.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetCustomViewDataRequestPeriodKind: {
|
|
2
|
+
readonly Relative: "relative";
|
|
3
|
+
readonly Absolute: "absolute";
|
|
4
|
+
};
|
|
5
|
+
export type GetCustomViewDataRequestPeriodKind = (typeof GetCustomViewDataRequestPeriodKind)[keyof typeof GetCustomViewDataRequestPeriodKind];
|
package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodKind.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetCustomViewDataRequestPeriodKind = void 0;
|
|
5
|
+
exports.GetCustomViewDataRequestPeriodKind = {
|
|
6
|
+
Relative: "relative",
|
|
7
|
+
Absolute: "absolute",
|
|
8
|
+
};
|
package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const GetCustomViewDataRequestPeriodUnit: {
|
|
2
|
+
readonly Day: "day";
|
|
3
|
+
readonly Month: "month";
|
|
4
|
+
readonly Year: "year";
|
|
5
|
+
};
|
|
6
|
+
export type GetCustomViewDataRequestPeriodUnit = (typeof GetCustomViewDataRequestPeriodUnit)[keyof typeof GetCustomViewDataRequestPeriodUnit];
|
package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestPeriodUnit.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetCustomViewDataRequestPeriodUnit = void 0;
|
|
5
|
+
exports.GetCustomViewDataRequestPeriodUnit = {
|
|
6
|
+
Day: "day",
|
|
7
|
+
Month: "month",
|
|
8
|
+
Year: "year",
|
|
9
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetCustomViewDataRequestPeriodKind.js"), exports);
|
|
18
|
+
__exportStar(require("./GetCustomViewDataRequestPeriodUnit.js"), exports);
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import * as Paid from "../../../index.js";
|
|
4
|
+
export declare namespace CustomerGroups {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
}
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CustomerGroups {
|
|
11
|
+
protected readonly _options: CustomerGroups.Options;
|
|
12
|
+
constructor(_options: CustomerGroups.Options);
|
|
13
|
+
/**
|
|
14
|
+
* List all customer groups for the organization.
|
|
15
|
+
*
|
|
16
|
+
* @param {Paid.ListCustomerGroupsRequest} request
|
|
17
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link Paid.InternalServerError}
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* await client.customerGroups.listCustomerGroups()
|
|
23
|
+
*/
|
|
24
|
+
listCustomerGroups(request?: Paid.ListCustomerGroupsRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.CustomerGroupListResponse>;
|
|
25
|
+
private __listCustomerGroups;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new customer group. Names must be unique per org.
|
|
28
|
+
*
|
|
29
|
+
* @param {Paid.CreateCustomerGroupRequest} request
|
|
30
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
|
+
*
|
|
32
|
+
* @throws {@link Paid.BadRequestError}
|
|
33
|
+
* @throws {@link Paid.ConflictError}
|
|
34
|
+
* @throws {@link Paid.InternalServerError}
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* await client.customerGroups.createCustomerGroup({
|
|
38
|
+
* name: "name"
|
|
39
|
+
* })
|
|
40
|
+
*/
|
|
41
|
+
createCustomerGroup(request: Paid.CreateCustomerGroupRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.CustomerGroupDetail>;
|
|
42
|
+
private __createCustomerGroup;
|
|
43
|
+
/**
|
|
44
|
+
* Returns group details including member list (capped at 500).
|
|
45
|
+
*
|
|
46
|
+
* @param {Paid.GetCustomerGroupRequest} request
|
|
47
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link Paid.NotFoundError}
|
|
50
|
+
* @throws {@link Paid.InternalServerError}
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.customerGroups.getCustomerGroup({
|
|
54
|
+
* id: "id"
|
|
55
|
+
* })
|
|
56
|
+
*/
|
|
57
|
+
getCustomerGroup(request: Paid.GetCustomerGroupRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.CustomerGroupDetail>;
|
|
58
|
+
private __getCustomerGroup;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes the group and unbinds all members. Unbound customers fall back to the base value model config.
|
|
61
|
+
*
|
|
62
|
+
* @param {Paid.DeleteCustomerGroupRequest} request
|
|
63
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link Paid.NotFoundError}
|
|
66
|
+
* @throws {@link Paid.InternalServerError}
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.customerGroups.deleteCustomerGroup({
|
|
70
|
+
* id: "id"
|
|
71
|
+
* })
|
|
72
|
+
*/
|
|
73
|
+
deleteCustomerGroup(request: Paid.DeleteCustomerGroupRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.CustomerGroupDeleteResponse>;
|
|
74
|
+
private __deleteCustomerGroup;
|
|
75
|
+
/**
|
|
76
|
+
* Update a customer group's name or description.
|
|
77
|
+
*
|
|
78
|
+
* @param {Paid.UpdateCustomerGroupRequest} request
|
|
79
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link Paid.NotFoundError}
|
|
82
|
+
* @throws {@link Paid.ConflictError}
|
|
83
|
+
* @throws {@link Paid.InternalServerError}
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* await client.customerGroups.updateCustomerGroup({
|
|
87
|
+
* id: "id"
|
|
88
|
+
* })
|
|
89
|
+
*/
|
|
90
|
+
updateCustomerGroup(request: Paid.UpdateCustomerGroupRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.CustomerGroupDetail>;
|
|
91
|
+
private __updateCustomerGroup;
|
|
92
|
+
/**
|
|
93
|
+
* Additive. Adds customers to the group without removing existing members.
|
|
94
|
+
*
|
|
95
|
+
* @param {Paid.CreateCustomerGroupMembersRequest} request
|
|
96
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link Paid.BadRequestError}
|
|
99
|
+
* @throws {@link Paid.NotFoundError}
|
|
100
|
+
* @throws {@link Paid.InternalServerError}
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* await client.customerGroups.createCustomerGroupMembers({
|
|
104
|
+
* id: "id",
|
|
105
|
+
* body: {
|
|
106
|
+
* customerIds: ["customerIds"]
|
|
107
|
+
* }
|
|
108
|
+
* })
|
|
109
|
+
*/
|
|
110
|
+
createCustomerGroupMembers(request: Paid.CreateCustomerGroupMembersRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.AddMembersResponse>;
|
|
111
|
+
private __createCustomerGroupMembers;
|
|
112
|
+
/**
|
|
113
|
+
* 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.
|
|
114
|
+
*
|
|
115
|
+
* @param {Paid.UpdateCustomerGroupMembersRequest} request
|
|
116
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link Paid.BadRequestError}
|
|
119
|
+
* @throws {@link Paid.NotFoundError}
|
|
120
|
+
* @throws {@link Paid.InternalServerError}
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* await client.customerGroups.updateCustomerGroupMembers({
|
|
124
|
+
* id: "id",
|
|
125
|
+
* body: {
|
|
126
|
+
* customerIds: ["customerIds"]
|
|
127
|
+
* }
|
|
128
|
+
* })
|
|
129
|
+
*/
|
|
130
|
+
updateCustomerGroupMembers(request: Paid.UpdateCustomerGroupMembersRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.SetMembersResponse>;
|
|
131
|
+
private __updateCustomerGroupMembers;
|
|
132
|
+
/**
|
|
133
|
+
* Removes specific customers from the group.
|
|
134
|
+
*
|
|
135
|
+
* @param {Paid.DeleteCustomerGroupMembersRequest} request
|
|
136
|
+
* @param {CustomerGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link Paid.BadRequestError}
|
|
139
|
+
* @throws {@link Paid.NotFoundError}
|
|
140
|
+
* @throws {@link Paid.InternalServerError}
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* await client.customerGroups.deleteCustomerGroupMembers({
|
|
144
|
+
* id: "id",
|
|
145
|
+
* body: {
|
|
146
|
+
* customerIds: ["customerIds"]
|
|
147
|
+
* }
|
|
148
|
+
* })
|
|
149
|
+
*/
|
|
150
|
+
deleteCustomerGroupMembers(request: Paid.DeleteCustomerGroupMembersRequest, requestOptions?: CustomerGroups.RequestOptions): core.HttpResponsePromise<Paid.RemoveMembersResponse>;
|
|
151
|
+
private __deleteCustomerGroupMembers;
|
|
152
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
153
|
+
}
|