@paid-ai/paid-node 1.8.0 → 2.0.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 +3 -3
- package/dist/cjs/Client.js +13 -13
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +6 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +50 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +1 -0
- package/dist/cjs/api/resources/analytics/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/analytics/client/Client.js +5 -2
- package/dist/cjs/api/resources/analyticsExperimental/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/analyticsExperimental/client/Client.js +5 -2
- package/dist/cjs/api/resources/checkouts/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/checkouts/client/Client.js +4 -1
- package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.ts +5 -0
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +6 -4
- package/dist/cjs/api/resources/contacts/client/Client.js +10 -4
- package/dist/cjs/api/resources/credits/client/Client.d.ts +19 -0
- package/dist/cjs/api/resources/credits/client/Client.js +105 -1
- package/dist/cjs/api/resources/credits/client/requests/GetCreditTransactionSummaryRequest.d.ts +33 -0
- package/dist/cjs/api/resources/credits/client/requests/ListCreditTransactionsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/credits/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/credits/types/GetCreditTransactionSummaryRequestGroupBy.d.ts +4 -0
- package/dist/cjs/api/resources/credits/types/GetCreditTransactionSummaryRequestGroupBy.js +7 -0
- package/dist/cjs/api/resources/credits/types/GetCreditTransactionSummaryRequestInterval.d.ts +6 -0
- package/dist/cjs/api/resources/credits/types/GetCreditTransactionSummaryRequestInterval.js +9 -0
- package/dist/cjs/api/resources/credits/types/GetCreditTransactionSummaryRequestType.d.ts +6 -0
- package/dist/cjs/api/resources/credits/types/GetCreditTransactionSummaryRequestType.js +9 -0
- package/dist/cjs/api/resources/credits/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/credits/types/index.js +3 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/Client.d.ts +26 -3
- package/dist/cjs/api/resources/customViewsExperimental/client/Client.js +101 -4
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.ts +4 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewCustomerUnitsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.ts +6 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.ts +4 -0
- package/dist/cjs/api/resources/customViewsExperimental/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestIncludeDraft.d.ts +5 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestIncludeDraft.js +8 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestUnitMode.d.ts +6 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/GetCustomViewDataRequestUnitMode.js +9 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customViewsExperimental/types/index.js +2 -0
- package/dist/cjs/api/resources/customerPortals/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customerPortals/client/Client.js +1 -1
- package/dist/cjs/api/resources/customers/client/Client.d.ts +489 -19
- package/dist/cjs/api/resources/customers/client/Client.js +2018 -207
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerApiKeyByExternalIdRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerApiKeyRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerFundingInstructionsByExternalIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerFundingInstructionsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitAliasByExternalIdRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitAliasByKeyRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateCustomerUnitAliasRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customers/client/requests/CustomerUnitCreateUnderParent.d.ts +21 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitAliasByExternalIdRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitAliasByKeyRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/DeleteCustomerUnitAliasRequest.d.ts +16 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerFundingInstructionsByExternalIdRequest.d.ts +11 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerFundingInstructionsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitByKeyRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitSpendByExternalIdRequest.d.ts +22 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitSpendRequest.d.ts +22 -0
- package/dist/cjs/api/resources/customers/client/requests/GetCustomerUnitSpendRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/GrantCustomerCreditsRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerApiKeysByExternalIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerApiKeysByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerApiKeysRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerApiKeysRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitAliasesByExternalIdRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitAliasesByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitAliasesByKeyRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitAliasesByKeyRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitAliasesRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitAliasesRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.d.ts +1 -1
- package/dist/cjs/api/resources/customers/client/requests/ListCustomerUnitsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/customers/client/requests/RevokeCustomerApiKeyByExternalIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/RevokeCustomerApiKeyByExternalIdRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/RevokeCustomerApiKeyRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customers/client/requests/RevokeCustomerApiKeyRequest.js +3 -0
- package/dist/cjs/api/resources/customers/client/requests/index.d.ts +23 -0
- package/dist/cjs/api/resources/customers/types/DeleteCustomerUnitAliasByExternalIdResponse.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/DeleteCustomerUnitAliasByExternalIdResponse.js +3 -0
- package/dist/cjs/api/resources/customers/types/DeleteCustomerUnitAliasByKeyResponse.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/DeleteCustomerUnitAliasByKeyResponse.js +3 -0
- package/dist/cjs/api/resources/customers/types/DeleteCustomerUnitAliasResponse.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/DeleteCustomerUnitAliasResponse.js +3 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.js +1 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsRequestStatus.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/ListCustomerUnitsRequestStatus.js +1 -0
- package/dist/cjs/api/resources/customers/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/customers/types/index.js +3 -0
- package/dist/cjs/api/resources/deliveredValue/client/Client.d.ts +60 -0
- package/dist/cjs/api/resources/deliveredValue/client/Client.js +248 -0
- package/dist/cjs/api/resources/deliveredValue/client/requests/GetDeliveredValueRequest.d.ts +18 -0
- package/dist/cjs/api/resources/deliveredValue/client/requests/GetDeliveredValueRequest.js +3 -0
- package/dist/cjs/api/resources/deliveredValue/client/requests/GetDeliveredValueSummaryRequest.d.ts +29 -0
- package/dist/cjs/api/resources/deliveredValue/client/requests/GetDeliveredValueSummaryRequest.js +3 -0
- package/dist/cjs/api/resources/deliveredValue/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/{customerGroups → deliveredValue}/index.d.ts +1 -0
- package/dist/cjs/api/resources/{customerGroups → deliveredValue}/index.js +1 -0
- package/dist/cjs/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestGroupBy.d.ts +7 -0
- package/dist/cjs/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestGroupBy.js +10 -0
- package/dist/cjs/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestInterval.d.ts +8 -0
- package/dist/cjs/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestInterval.js +11 -0
- package/dist/cjs/api/resources/deliveredValue/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/deliveredValue/types/index.js +18 -0
- package/dist/cjs/api/resources/index.d.ts +4 -2
- package/dist/cjs/api/resources/index.js +5 -3
- package/dist/cjs/api/resources/orders/client/Client.d.ts +87 -1
- package/dist/cjs/api/resources/orders/client/Client.js +146 -1
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderRequest.d.ts +12 -1
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderRequest.js +12 -0
- package/dist/cjs/api/resources/orders/client/requests/ProvisionRequest.d.ts +82 -0
- package/dist/cjs/api/resources/orders/client/requests/ProvisionRequest.js +3 -0
- package/dist/cjs/api/resources/orders/client/requests/UpdateOrderRequest.d.ts +12 -1
- package/dist/cjs/api/resources/orders/client/requests/UpdateOrderRequest.js +12 -0
- package/dist/cjs/api/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/paymentAllocations/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/paymentAllocations/client/Client.js +4 -1
- package/dist/cjs/api/resources/payments/client/requests/CreatePaymentRequest.d.ts +1 -1
- package/dist/cjs/api/resources/signals/client/Client.d.ts +137 -4
- package/dist/cjs/api/resources/signals/client/Client.js +389 -4
- package/dist/cjs/api/resources/signals/client/requests/BulkSignalsRequest.d.ts +17 -3
- package/dist/cjs/api/resources/signals/client/requests/CreateSignalSummaryExportRequest.d.ts +56 -0
- package/dist/cjs/api/resources/signals/client/requests/CreateSignalSummaryExportRequest.js +12 -0
- package/dist/cjs/api/resources/signals/client/requests/GetSignalSummaryExportRequest.d.ts +9 -0
- package/dist/cjs/api/resources/signals/client/requests/GetSignalSummaryExportRequest.js +3 -0
- package/dist/cjs/api/resources/signals/client/requests/GetSignalSummaryRequest.d.ts +45 -0
- package/dist/cjs/api/resources/signals/client/requests/GetSignalSummaryRequest.js +3 -0
- package/dist/cjs/api/resources/signals/client/requests/SignalLookupRequest.d.ts +10 -0
- package/dist/cjs/api/resources/signals/client/requests/SignalLookupRequest.js +3 -0
- package/dist/cjs/api/resources/signals/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/signals/index.d.ts +1 -0
- package/dist/cjs/api/resources/signals/index.js +1 -0
- package/dist/cjs/api/resources/signals/types/GetSignalSummaryRequestGroupBy.d.ts +5 -0
- package/dist/cjs/api/resources/signals/types/GetSignalSummaryRequestGroupBy.js +8 -0
- package/dist/cjs/api/resources/signals/types/GetSignalSummaryRequestInterval.d.ts +7 -0
- package/dist/cjs/api/resources/signals/types/GetSignalSummaryRequestInterval.js +10 -0
- package/dist/cjs/api/resources/signals/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/signals/types/index.js +18 -0
- package/dist/cjs/api/resources/valueMetrics/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/valueMetrics/client/Client.js +1 -1
- package/dist/cjs/api/resources/valueModels/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/valueModels/client/Client.js +8 -2
- package/dist/cjs/api/resources/valueModels/client/requests/ValueModelUploadRequest.d.ts +2 -0
- package/dist/cjs/api/resources/valueReceipts/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/valueReceipts/client/Client.js +5 -5
- package/dist/cjs/api/resources/valueReceipts/client/requests/PublishValueReceiptBody.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/webhooks/client/Client.js +2 -2
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequest.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.ts +2 -2
- package/dist/cjs/api/resources/webhooks/types/TestWebhookRequestWebhookName.d.ts +0 -1
- package/dist/cjs/api/resources/webhooks/types/TestWebhookRequestWebhookName.js +0 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.d.ts +0 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.js +0 -1
- package/dist/cjs/api/types/Attribution.d.ts +3 -0
- package/dist/cjs/api/types/Checkout.d.ts +4 -0
- package/dist/cjs/api/types/CheckoutDetails.d.ts +4 -0
- package/dist/cjs/api/types/CreateOrderLineAttributeRequest.d.ts +9 -0
- package/dist/cjs/api/types/CreateOrderLineAttributeRequest.js +3 -0
- package/dist/cjs/api/types/CreditBenefitInput.d.ts +5 -0
- package/dist/cjs/api/types/CreditBenefitInput.js +2 -0
- package/dist/cjs/api/types/CreditBenefitOutput.d.ts +2 -0
- package/dist/cjs/api/types/CreditGrantCreateRequest.d.ts +2 -0
- package/dist/cjs/api/types/CreditTransaction.d.ts +1 -1
- package/dist/cjs/api/types/CreditTransactionSummaryBucket.d.ts +25 -0
- package/dist/cjs/api/types/CreditTransactionSummaryBucket.js +3 -0
- package/dist/cjs/api/types/CreditTransactionSummaryResponse.d.ts +32 -0
- package/dist/cjs/api/types/CreditTransactionSummaryResponse.js +23 -0
- package/dist/cjs/api/types/CustomView.d.ts +4 -0
- package/dist/cjs/api/types/CustomViewAuthoringDetail.d.ts +4 -0
- package/dist/cjs/api/types/CustomViewContextCap.d.ts +27 -0
- package/dist/cjs/api/types/CustomViewContextCap.js +11 -0
- package/dist/cjs/api/types/CustomViewCustomerUnit.d.ts +16 -0
- package/dist/cjs/api/types/CustomViewCustomerUnit.js +3 -0
- package/dist/cjs/api/types/CustomViewDataContext.d.ts +57 -0
- package/dist/cjs/api/types/CustomViewDataContext.js +21 -0
- package/dist/cjs/api/types/CustomViewDetail.d.ts +4 -0
- package/dist/cjs/api/types/CustomViewPreviewHarnessRequest.d.ts +2 -1
- package/dist/cjs/api/types/CustomViewSummary.d.ts +4 -0
- package/dist/cjs/api/types/CustomViewUnitSelection.d.ts +14 -0
- package/dist/cjs/api/types/CustomViewUnitSelection.js +3 -0
- package/dist/cjs/api/types/CustomerAlias.d.ts +2 -0
- package/dist/cjs/api/types/CustomerApiKey.d.ts +31 -0
- package/dist/cjs/api/types/CustomerApiKey.js +13 -0
- package/dist/cjs/api/types/CustomerApiKeyCreate.d.ts +8 -0
- package/dist/cjs/api/types/CustomerApiKeyCreate.js +3 -0
- package/dist/cjs/api/types/CustomerApiKeyCreated.d.ts +33 -0
- package/dist/cjs/api/types/CustomerApiKeyCreated.js +13 -0
- package/dist/cjs/api/types/CustomerApiKeyList.d.ts +5 -0
- package/dist/cjs/api/types/CustomerApiKeyList.js +3 -0
- package/dist/cjs/api/types/CustomerAttribution.d.ts +3 -0
- package/dist/cjs/api/types/CustomerFundingInstructions.d.ts +24 -0
- package/dist/cjs/api/types/CustomerFundingInstructions.js +10 -0
- package/dist/cjs/api/types/CustomerFundingInstructionsCreateRequest.d.ts +4 -0
- package/dist/cjs/api/types/CustomerFundingInstructionsCreateRequest.js +3 -0
- package/dist/cjs/api/types/CustomerUnit.d.ts +13 -2
- package/dist/cjs/api/types/CustomerUnit.js +2 -1
- package/dist/cjs/api/types/CustomerUnitAttribution.d.ts +2 -2
- package/dist/cjs/api/types/CustomerUnitByKey.d.ts +37 -0
- package/dist/cjs/api/types/CustomerUnitByKey.js +13 -0
- package/dist/cjs/api/types/CustomerUnitCapEndedPolicy.d.ts +5 -3
- package/dist/cjs/api/types/CustomerUnitCapEndedPolicy.js +1 -1
- package/dist/cjs/api/types/CustomerUnitCapPolicy.d.ts +5 -3
- package/dist/cjs/api/types/CustomerUnitCapPolicy.js +1 -1
- package/dist/cjs/api/types/CustomerUnitCapSavedPolicy.d.ts +26 -0
- package/dist/cjs/api/types/CustomerUnitCapSavedPolicy.js +11 -0
- package/dist/cjs/api/types/CustomerUnitCapSchedule.d.ts +9 -0
- package/dist/cjs/api/types/CustomerUnitCapSchedule.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapScheduleInput.d.ts +9 -0
- package/dist/cjs/api/types/CustomerUnitCapScheduleInput.js +3 -0
- package/dist/cjs/api/types/CustomerUnitCapSet.d.ts +5 -3
- package/dist/cjs/api/types/CustomerUnitCapSet.js +1 -1
- package/dist/cjs/api/types/CustomerUnitCapSetResponse.d.ts +3 -1
- package/dist/cjs/api/types/CustomerUnitCreate.d.ts +3 -1
- package/dist/cjs/api/types/CustomerUnitCreatedUnderParent.d.ts +34 -0
- package/dist/cjs/api/types/CustomerUnitCreatedUnderParent.js +13 -0
- package/dist/cjs/api/types/CustomerUnitSpendResponse.d.ts +12 -0
- package/dist/cjs/api/types/CustomerUnitSpendResponse.js +3 -0
- package/dist/cjs/api/types/CustomerUnitSpendWindow.d.ts +9 -0
- package/dist/cjs/api/types/CustomerUnitSpendWindow.js +3 -0
- package/dist/cjs/api/types/CustomerUnitUpdate.d.ts +2 -0
- package/dist/cjs/api/types/DeliveredValueCalculation.d.ts +11 -0
- package/dist/cjs/api/types/DeliveredValueCalculation.js +3 -0
- package/dist/cjs/api/types/DeliveredValueCalculationTerm.d.ts +34 -0
- package/dist/cjs/api/types/DeliveredValueCalculationTerm.js +24 -0
- package/dist/cjs/api/types/DeliveredValueMetric.d.ts +54 -0
- package/dist/cjs/api/types/DeliveredValueMetric.js +3 -0
- package/dist/cjs/api/types/DeliveredValueResponse.d.ts +34 -0
- package/dist/cjs/api/types/DeliveredValueResponse.js +3 -0
- package/dist/cjs/api/types/DeliveredValueSignal.d.ts +14 -0
- package/dist/cjs/api/types/DeliveredValueSignal.js +3 -0
- package/dist/cjs/api/types/DeliveredValueSignalValue.d.ts +8 -0
- package/dist/cjs/api/types/DeliveredValueSignalValue.js +3 -0
- package/dist/cjs/api/types/DeliveredValueSummaryBucket.d.ts +20 -0
- package/dist/cjs/api/types/DeliveredValueSummaryBucket.js +3 -0
- package/dist/cjs/api/types/DeliveredValueSummaryResponse.d.ts +41 -0
- package/dist/cjs/api/types/DeliveredValueSummaryResponse.js +22 -0
- package/dist/cjs/api/types/GrantCustomerCreditsResponse.d.ts +1 -1
- package/dist/cjs/api/types/PlanCreditBenefit.d.ts +4 -6
- package/dist/cjs/api/types/PlanCreditBenefit.js +0 -4
- package/dist/cjs/api/types/PricingOutput.d.ts +3 -0
- package/dist/cjs/api/types/ProductCreditBenefitInput.d.ts +5 -0
- package/dist/cjs/api/types/ProductCreditBenefitInput.js +2 -0
- package/dist/cjs/api/types/ProductCreditBenefitOutput.d.ts +2 -0
- package/dist/cjs/api/types/ProductPricingOutput.d.ts +3 -0
- package/dist/cjs/api/types/ProductSeatBasedPrepaidCreditsInput.d.ts +3 -0
- package/dist/cjs/api/types/ProductUsageBracketedPrepaidCreditsInput.d.ts +4 -0
- package/dist/cjs/api/types/ProductUsageBracketedPrepaidCreditsInput.js +1 -0
- package/dist/cjs/api/types/ProductUsageCostPlusInput.d.ts +2 -0
- package/dist/cjs/api/types/ProductUsageCostPlusInput.js +1 -0
- package/dist/cjs/api/types/ProductUsageGraduatedInput.d.ts +2 -0
- package/dist/cjs/api/types/ProductUsageGraduatedInput.js +1 -0
- package/dist/cjs/api/types/ProductUsagePerUnitInput.d.ts +2 -0
- package/dist/cjs/api/types/ProductUsagePerUnitInput.js +1 -0
- package/dist/cjs/api/types/ProductUsagePrepaidCreditsInput.d.ts +5 -0
- package/dist/cjs/api/types/ProductUsagePrepaidCreditsInput.js +1 -0
- package/dist/cjs/api/types/ProductUsageVolumeInput.d.ts +2 -0
- package/dist/cjs/api/types/ProductUsageVolumeInput.js +1 -0
- package/dist/cjs/api/types/ProvisionBillingFrequencyOverride.d.ts +14 -0
- package/dist/cjs/api/types/ProvisionBillingFrequencyOverride.js +14 -0
- package/dist/cjs/api/types/ProvisionContact.d.ts +20 -0
- package/dist/cjs/api/types/ProvisionContact.js +14 -0
- package/dist/cjs/api/types/ProvisionCreatedContact.d.ts +14 -0
- package/dist/cjs/api/types/ProvisionCreatedContact.js +12 -0
- package/dist/cjs/api/types/ProvisionCreatedCustomer.d.ts +14 -0
- package/dist/cjs/api/types/ProvisionCreatedCustomer.js +12 -0
- package/dist/cjs/api/types/ProvisionCreatedOrder.d.ts +17 -0
- package/dist/cjs/api/types/ProvisionCreatedOrder.js +12 -0
- package/dist/cjs/api/types/ProvisionCreatedOrderLine.d.ts +17 -0
- package/dist/cjs/api/types/ProvisionCreatedOrderLine.js +12 -0
- package/dist/cjs/api/types/ProvisionCreditBenefit.d.ts +44 -0
- package/dist/cjs/api/types/ProvisionCreditBenefit.js +26 -0
- package/dist/cjs/api/types/ProvisionCustomer.d.ts +23 -0
- package/dist/cjs/api/types/ProvisionCustomer.js +12 -0
- package/dist/cjs/api/types/ProvisionExternalReference.d.ts +16 -0
- package/dist/cjs/api/types/ProvisionExternalReference.js +14 -0
- package/dist/cjs/api/types/ProvisionOrder.d.ts +39 -0
- package/dist/cjs/api/types/ProvisionOrder.js +20 -0
- package/dist/cjs/api/types/ProvisionOrderLine.d.ts +12 -0
- package/dist/cjs/api/types/ProvisionOrderLine.js +3 -0
- package/dist/cjs/api/types/ProvisionOrderLineAttribute.d.ts +96 -0
- package/dist/cjs/api/types/ProvisionOrderLineAttribute.js +50 -0
- package/dist/cjs/api/types/ProvisionOrderLineType.d.ts +7 -0
- package/dist/cjs/api/types/ProvisionOrderLineType.js +10 -0
- package/dist/cjs/api/types/ProvisionProduct.d.ts +95 -0
- package/dist/cjs/api/types/ProvisionProduct.js +52 -0
- package/dist/cjs/api/types/ProvisionResponse.d.ts +17 -0
- package/dist/cjs/api/types/ProvisionResponse.js +12 -0
- package/dist/cjs/api/types/SeatBasedPrepaidCreditsInput.d.ts +3 -0
- package/dist/cjs/api/types/Signal.d.ts +8 -2
- package/dist/cjs/api/types/SignalListItem.d.ts +1 -1
- package/dist/cjs/api/types/SignalLookupResponse.d.ts +7 -0
- package/dist/cjs/api/types/SignalLookupResponse.js +3 -0
- package/dist/cjs/api/types/SignalSummaryBandsDimension.d.ts +21 -0
- package/dist/cjs/api/types/SignalSummaryBandsDimension.js +3 -0
- package/dist/cjs/api/types/SignalSummaryColumn.d.ts +8 -0
- package/dist/cjs/api/types/SignalSummaryColumn.js +3 -0
- package/dist/cjs/api/types/SignalSummaryDefinitionSpec.d.ts +21 -0
- package/dist/cjs/api/types/SignalSummaryDefinitionSpec.js +11 -0
- package/dist/cjs/api/types/SignalSummaryDefinitionSpecDimensionsItem.d.ts +10 -0
- package/dist/cjs/api/types/SignalSummaryDefinitionSpecDimensionsItem.js +3 -0
- package/dist/cjs/api/types/SignalSummaryExport.d.ts +36 -0
- package/dist/cjs/api/types/SignalSummaryExport.js +18 -0
- package/dist/cjs/api/types/SignalSummaryGroups.d.ts +9 -0
- package/dist/cjs/api/types/SignalSummaryGroups.js +3 -0
- package/dist/cjs/api/types/SignalSummaryMeasure.d.ts +16 -0
- package/dist/cjs/api/types/SignalSummaryMeasure.js +14 -0
- package/dist/cjs/api/types/SignalSummaryPage.d.ts +8 -0
- package/dist/cjs/api/types/SignalSummaryPage.js +3 -0
- package/dist/cjs/api/types/SignalSummaryPoint.d.ts +16 -0
- package/dist/cjs/api/types/SignalSummaryPoint.js +3 -0
- package/dist/cjs/api/types/SignalSummaryPresenceDimension.d.ts +23 -0
- package/dist/cjs/api/types/SignalSummaryPresenceDimension.js +3 -0
- package/dist/cjs/api/types/SignalSummaryResponse.d.ts +29 -0
- package/dist/cjs/api/types/SignalSummaryResponse.js +19 -0
- package/dist/cjs/api/types/SignalSummarySignalSelection.d.ts +8 -0
- package/dist/cjs/api/types/SignalSummarySignalSelection.js +3 -0
- package/dist/cjs/api/types/SignalSummarySpecInput.d.ts +21 -0
- package/dist/cjs/api/types/SignalSummarySpecInput.js +11 -0
- package/dist/cjs/api/types/SignalSummarySpecInputDimensionsItem.d.ts +10 -0
- package/dist/cjs/api/types/SignalSummarySpecInputDimensionsItem.js +3 -0
- package/dist/cjs/api/types/SignalsMetadataResponse.d.ts +22 -1
- package/dist/cjs/api/types/SignalsMetadataResponse.js +24 -0
- package/dist/cjs/api/types/UpdateContactRequest.d.ts +1 -0
- package/dist/cjs/api/types/UsageBracketedPrepaidCreditsInput.d.ts +4 -0
- package/dist/cjs/api/types/UsageBracketedPrepaidCreditsInput.js +1 -0
- package/dist/cjs/api/types/UsageCostPlusInput.d.ts +2 -0
- package/dist/cjs/api/types/UsageCostPlusInput.js +1 -0
- package/dist/cjs/api/types/UsageGraduatedInput.d.ts +2 -0
- package/dist/cjs/api/types/UsageGraduatedInput.js +1 -0
- package/dist/cjs/api/types/UsagePerUnitInput.d.ts +2 -0
- package/dist/cjs/api/types/UsagePerUnitInput.js +1 -0
- package/dist/cjs/api/types/UsagePrepaidCreditsInput.d.ts +5 -0
- package/dist/cjs/api/types/UsagePrepaidCreditsInput.js +1 -0
- package/dist/cjs/api/types/UsageVolumeInput.d.ts +2 -0
- package/dist/cjs/api/types/UsageVolumeInput.js +1 -0
- package/dist/cjs/api/types/ValidateCustomViewRequest.d.ts +4 -0
- package/dist/cjs/api/types/ValueModelContent.d.ts +17 -15
- package/dist/cjs/api/types/ValueModelContent.js +7 -0
- package/dist/cjs/api/types/ValueReceiptDetail.d.ts +1 -0
- package/dist/cjs/api/types/ValueReceiptSummary.d.ts +1 -0
- package/dist/cjs/api/types/ValueReceiptSyncResponse.d.ts +1 -0
- package/dist/cjs/api/types/ViewCustomerUnitsResponse.d.ts +7 -0
- package/dist/cjs/api/types/ViewCustomerUnitsResponse.js +3 -0
- package/dist/cjs/api/types/ViewDataResponse.d.ts +2 -0
- package/dist/cjs/api/types/Webhook.d.ts +0 -1
- package/dist/cjs/api/types/Webhook.js +0 -1
- package/dist/cjs/api/types/WebhookUpdateResponse.d.ts +0 -1
- package/dist/cjs/api/types/WebhookUpdateResponse.js +0 -1
- package/dist/cjs/api/types/WritableProvisionOrderLineType.d.ts +6 -0
- package/dist/cjs/api/types/WritableProvisionOrderLineType.js +9 -0
- package/dist/cjs/api/types/index.d.ts +59 -10
- package/dist/cjs/api/types/index.js +59 -10
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -3
- package/dist/esm/Client.mjs +7 -7
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +6 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +13 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/resources/analytics/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/analytics/client/Client.mjs +5 -2
- package/dist/esm/api/resources/analyticsExperimental/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/analyticsExperimental/client/Client.mjs +5 -2
- package/dist/esm/api/resources/checkouts/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/checkouts/client/Client.mjs +4 -1
- package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.mts +5 -0
- package/dist/esm/api/resources/contacts/client/Client.d.mts +6 -4
- package/dist/esm/api/resources/contacts/client/Client.mjs +10 -4
- package/dist/esm/api/resources/credits/client/Client.d.mts +19 -0
- package/dist/esm/api/resources/credits/client/Client.mjs +105 -1
- package/dist/esm/api/resources/credits/client/requests/GetCreditTransactionSummaryRequest.d.mts +33 -0
- package/dist/esm/api/resources/credits/client/requests/ListCreditTransactionsRequest.d.mts +2 -0
- package/dist/esm/api/resources/credits/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/credits/types/GetCreditTransactionSummaryRequestGroupBy.d.mts +4 -0
- package/dist/esm/api/resources/credits/types/GetCreditTransactionSummaryRequestGroupBy.mjs +4 -0
- package/dist/esm/api/resources/credits/types/GetCreditTransactionSummaryRequestInterval.d.mts +6 -0
- package/dist/esm/api/resources/credits/types/GetCreditTransactionSummaryRequestInterval.mjs +6 -0
- package/dist/esm/api/resources/credits/types/GetCreditTransactionSummaryRequestType.d.mts +6 -0
- package/dist/esm/api/resources/credits/types/GetCreditTransactionSummaryRequestType.mjs +6 -0
- package/dist/esm/api/resources/credits/types/index.d.mts +3 -0
- package/dist/esm/api/resources/credits/types/index.mjs +3 -0
- package/dist/esm/api/resources/customViewsExperimental/client/Client.d.mts +26 -3
- package/dist/esm/api/resources/customViewsExperimental/client/Client.mjs +101 -4
- package/dist/esm/api/resources/customViewsExperimental/client/requests/CreateCustomViewRequest.d.mts +4 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewCustomerUnitsRequest.d.mts +14 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/GetCustomViewDataRequest.d.mts +6 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/UpdateCustomViewRequest.d.mts +4 -0
- package/dist/esm/api/resources/customViewsExperimental/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestIncludeDraft.d.mts +5 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestIncludeDraft.mjs +5 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestUnitMode.d.mts +6 -0
- package/dist/esm/api/resources/customViewsExperimental/types/GetCustomViewDataRequestUnitMode.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/customerPortals/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customerPortals/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customers/client/Client.d.mts +489 -19
- package/dist/esm/api/resources/customers/client/Client.mjs +2018 -207
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerApiKeyByExternalIdRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerApiKeyRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerFundingInstructionsByExternalIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerFundingInstructionsRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitAliasByExternalIdRequest.d.mts +18 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitAliasByKeyRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/CreateCustomerUnitAliasRequest.d.mts +18 -0
- package/dist/esm/api/resources/customers/client/requests/CustomerUnitCreateUnderParent.d.mts +21 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitAliasByExternalIdRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitAliasByKeyRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/DeleteCustomerUnitAliasRequest.d.mts +16 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerFundingInstructionsByExternalIdRequest.d.mts +11 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerFundingInstructionsRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitByKeyRequest.d.mts +10 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitSpendByExternalIdRequest.d.mts +22 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitSpendRequest.d.mts +22 -0
- package/dist/esm/api/resources/customers/client/requests/GetCustomerUnitSpendRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsByExternalIdRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/GrantCustomerCreditsRequest.d.mts +2 -1
- package/dist/esm/api/resources/customers/client/requests/ListCustomerApiKeysByExternalIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerApiKeysByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerApiKeysRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerApiKeysRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitAliasesByExternalIdRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitAliasesByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitAliasesByKeyRequest.d.mts +12 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitAliasesByKeyRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitAliasesRequest.d.mts +15 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitAliasesRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsByExternalIdRequest.d.mts +1 -1
- package/dist/esm/api/resources/customers/client/requests/ListCustomerUnitsRequest.d.mts +1 -1
- package/dist/esm/api/resources/customers/client/requests/RevokeCustomerApiKeyByExternalIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/RevokeCustomerApiKeyByExternalIdRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/RevokeCustomerApiKeyRequest.d.mts +13 -0
- package/dist/esm/api/resources/customers/client/requests/RevokeCustomerApiKeyRequest.mjs +2 -0
- package/dist/esm/api/resources/customers/client/requests/index.d.mts +23 -0
- package/dist/esm/api/resources/customers/types/DeleteCustomerUnitAliasByExternalIdResponse.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/DeleteCustomerUnitAliasByExternalIdResponse.mjs +2 -0
- package/dist/esm/api/resources/customers/types/DeleteCustomerUnitAliasByKeyResponse.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/DeleteCustomerUnitAliasByKeyResponse.mjs +2 -0
- package/dist/esm/api/resources/customers/types/DeleteCustomerUnitAliasResponse.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/DeleteCustomerUnitAliasResponse.mjs +2 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsByExternalIdRequestStatus.mjs +1 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsRequestStatus.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/ListCustomerUnitsRequestStatus.mjs +1 -0
- package/dist/esm/api/resources/customers/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customers/types/index.mjs +3 -0
- package/dist/esm/api/resources/deliveredValue/client/Client.d.mts +60 -0
- package/dist/esm/api/resources/deliveredValue/client/Client.mjs +211 -0
- package/dist/esm/api/resources/deliveredValue/client/requests/GetDeliveredValueRequest.d.mts +18 -0
- package/dist/esm/api/resources/deliveredValue/client/requests/GetDeliveredValueRequest.mjs +2 -0
- package/dist/esm/api/resources/deliveredValue/client/requests/GetDeliveredValueSummaryRequest.d.mts +29 -0
- package/dist/esm/api/resources/deliveredValue/client/requests/GetDeliveredValueSummaryRequest.mjs +2 -0
- package/dist/esm/api/resources/deliveredValue/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/{customerGroups → deliveredValue}/index.d.mts +1 -0
- package/dist/esm/api/resources/{customerGroups → deliveredValue}/index.mjs +1 -0
- package/dist/esm/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestGroupBy.d.mts +7 -0
- package/dist/esm/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestGroupBy.mjs +7 -0
- package/dist/esm/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestInterval.d.mts +8 -0
- package/dist/esm/api/resources/deliveredValue/types/GetDeliveredValueSummaryRequestInterval.mjs +8 -0
- package/dist/esm/api/resources/deliveredValue/types/index.d.mts +2 -0
- package/dist/esm/api/resources/deliveredValue/types/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +4 -2
- package/dist/esm/api/resources/index.mjs +4 -2
- package/dist/esm/api/resources/orders/client/Client.d.mts +87 -1
- package/dist/esm/api/resources/orders/client/Client.mjs +146 -1
- package/dist/esm/api/resources/orders/client/requests/CreateOrderRequest.d.mts +12 -1
- package/dist/esm/api/resources/orders/client/requests/CreateOrderRequest.mjs +11 -1
- package/dist/esm/api/resources/orders/client/requests/ProvisionRequest.d.mts +82 -0
- package/dist/esm/api/resources/orders/client/requests/ProvisionRequest.mjs +2 -0
- package/dist/esm/api/resources/orders/client/requests/UpdateOrderRequest.d.mts +12 -1
- package/dist/esm/api/resources/orders/client/requests/UpdateOrderRequest.mjs +11 -1
- package/dist/esm/api/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/paymentAllocations/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/paymentAllocations/client/Client.mjs +4 -1
- package/dist/esm/api/resources/payments/client/requests/CreatePaymentRequest.d.mts +1 -1
- package/dist/esm/api/resources/signals/client/Client.d.mts +137 -4
- package/dist/esm/api/resources/signals/client/Client.mjs +389 -4
- package/dist/esm/api/resources/signals/client/requests/BulkSignalsRequest.d.mts +17 -3
- package/dist/esm/api/resources/signals/client/requests/CreateSignalSummaryExportRequest.d.mts +56 -0
- package/dist/esm/api/resources/signals/client/requests/CreateSignalSummaryExportRequest.mjs +9 -0
- package/dist/esm/api/resources/signals/client/requests/GetSignalSummaryExportRequest.d.mts +9 -0
- package/dist/esm/api/resources/signals/client/requests/GetSignalSummaryExportRequest.mjs +2 -0
- package/dist/esm/api/resources/signals/client/requests/GetSignalSummaryRequest.d.mts +45 -0
- package/dist/esm/api/resources/signals/client/requests/GetSignalSummaryRequest.mjs +2 -0
- package/dist/esm/api/resources/signals/client/requests/SignalLookupRequest.d.mts +10 -0
- package/dist/esm/api/resources/signals/client/requests/SignalLookupRequest.mjs +2 -0
- package/dist/esm/api/resources/signals/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/signals/index.d.mts +1 -0
- package/dist/esm/api/resources/signals/index.mjs +1 -0
- package/dist/esm/api/resources/signals/types/GetSignalSummaryRequestGroupBy.d.mts +5 -0
- package/dist/esm/api/resources/signals/types/GetSignalSummaryRequestGroupBy.mjs +5 -0
- package/dist/esm/api/resources/signals/types/GetSignalSummaryRequestInterval.d.mts +7 -0
- package/dist/esm/api/resources/signals/types/GetSignalSummaryRequestInterval.mjs +7 -0
- package/dist/esm/api/resources/signals/types/index.d.mts +2 -0
- package/dist/esm/api/resources/signals/types/index.mjs +2 -0
- package/dist/esm/api/resources/valueMetrics/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/valueMetrics/client/Client.mjs +1 -1
- package/dist/esm/api/resources/valueModels/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/valueModels/client/Client.mjs +8 -2
- package/dist/esm/api/resources/valueModels/client/requests/ValueModelUploadRequest.d.mts +2 -0
- package/dist/esm/api/resources/valueReceipts/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/valueReceipts/client/Client.mjs +5 -5
- package/dist/esm/api/resources/valueReceipts/client/requests/PublishValueReceiptBody.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/webhooks/client/Client.mjs +2 -2
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequest.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequest.d.mts +2 -2
- package/dist/esm/api/resources/webhooks/types/TestWebhookRequestWebhookName.d.mts +0 -1
- package/dist/esm/api/resources/webhooks/types/TestWebhookRequestWebhookName.mjs +0 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.d.mts +0 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestWebhookName.mjs +0 -1
- package/dist/esm/api/types/Attribution.d.mts +3 -0
- package/dist/esm/api/types/Checkout.d.mts +4 -0
- package/dist/esm/api/types/CheckoutDetails.d.mts +4 -0
- package/dist/esm/api/types/CreateOrderLineAttributeRequest.d.mts +9 -0
- package/dist/esm/api/types/CreateOrderLineAttributeRequest.mjs +3 -0
- package/dist/esm/api/types/CreditBenefitInput.d.mts +5 -0
- package/dist/esm/api/types/CreditBenefitInput.mjs +2 -0
- package/dist/esm/api/types/CreditBenefitOutput.d.mts +2 -0
- package/dist/esm/api/types/CreditGrantCreateRequest.d.mts +2 -0
- package/dist/esm/api/types/CreditTransaction.d.mts +1 -1
- package/dist/esm/api/types/CreditTransactionSummaryBucket.d.mts +25 -0
- package/dist/esm/api/types/CreditTransactionSummaryBucket.mjs +2 -0
- package/dist/esm/api/types/CreditTransactionSummaryResponse.d.mts +32 -0
- package/dist/esm/api/types/CreditTransactionSummaryResponse.mjs +20 -0
- package/dist/esm/api/types/CustomView.d.mts +4 -0
- package/dist/esm/api/types/CustomViewAuthoringDetail.d.mts +4 -0
- package/dist/esm/api/types/CustomViewContextCap.d.mts +27 -0
- package/dist/esm/api/types/CustomViewContextCap.mjs +8 -0
- package/dist/esm/api/types/CustomViewCustomerUnit.d.mts +16 -0
- package/dist/esm/api/types/CustomViewCustomerUnit.mjs +2 -0
- package/dist/esm/api/types/CustomViewDataContext.d.mts +57 -0
- package/dist/esm/api/types/CustomViewDataContext.mjs +18 -0
- package/dist/esm/api/types/CustomViewDetail.d.mts +4 -0
- package/dist/esm/api/types/CustomViewPreviewHarnessRequest.d.mts +2 -1
- package/dist/esm/api/types/CustomViewSummary.d.mts +4 -0
- package/dist/esm/api/types/CustomViewUnitSelection.d.mts +14 -0
- package/dist/esm/api/types/CustomViewUnitSelection.mjs +2 -0
- package/dist/esm/api/types/CustomerAlias.d.mts +2 -0
- package/dist/esm/api/types/CustomerApiKey.d.mts +31 -0
- package/dist/esm/api/types/CustomerApiKey.mjs +10 -0
- package/dist/esm/api/types/CustomerApiKeyCreate.d.mts +8 -0
- package/dist/esm/api/types/CustomerApiKeyCreate.mjs +2 -0
- package/dist/esm/api/types/CustomerApiKeyCreated.d.mts +33 -0
- package/dist/esm/api/types/CustomerApiKeyCreated.mjs +10 -0
- package/dist/esm/api/types/CustomerApiKeyList.d.mts +5 -0
- package/dist/esm/api/types/CustomerApiKeyList.mjs +2 -0
- package/dist/esm/api/types/CustomerAttribution.d.mts +3 -0
- package/dist/esm/api/types/CustomerFundingInstructions.d.mts +24 -0
- package/dist/esm/api/types/CustomerFundingInstructions.mjs +7 -0
- package/dist/esm/api/types/CustomerFundingInstructionsCreateRequest.d.mts +4 -0
- package/dist/esm/api/types/CustomerFundingInstructionsCreateRequest.mjs +2 -0
- package/dist/esm/api/types/CustomerUnit.d.mts +13 -2
- package/dist/esm/api/types/CustomerUnit.mjs +2 -1
- package/dist/esm/api/types/CustomerUnitAttribution.d.mts +2 -2
- package/dist/esm/api/types/CustomerUnitByKey.d.mts +37 -0
- package/dist/esm/api/types/CustomerUnitByKey.mjs +10 -0
- package/dist/esm/api/types/CustomerUnitCapEndedPolicy.d.mts +5 -3
- package/dist/esm/api/types/CustomerUnitCapEndedPolicy.mjs +1 -1
- package/dist/esm/api/types/CustomerUnitCapPolicy.d.mts +5 -3
- package/dist/esm/api/types/CustomerUnitCapPolicy.mjs +1 -1
- package/dist/esm/api/types/CustomerUnitCapSavedPolicy.d.mts +26 -0
- package/dist/esm/api/types/CustomerUnitCapSavedPolicy.mjs +8 -0
- package/dist/esm/api/types/CustomerUnitCapSchedule.d.mts +9 -0
- package/dist/esm/api/types/CustomerUnitCapSchedule.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapScheduleInput.d.mts +9 -0
- package/dist/esm/api/types/CustomerUnitCapScheduleInput.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitCapSet.d.mts +5 -3
- package/dist/esm/api/types/CustomerUnitCapSet.mjs +1 -1
- package/dist/esm/api/types/CustomerUnitCapSetResponse.d.mts +3 -1
- package/dist/esm/api/types/CustomerUnitCreate.d.mts +3 -1
- package/dist/esm/api/types/CustomerUnitCreatedUnderParent.d.mts +34 -0
- package/dist/esm/api/types/CustomerUnitCreatedUnderParent.mjs +10 -0
- package/dist/esm/api/types/CustomerUnitSpendResponse.d.mts +12 -0
- package/dist/esm/api/types/CustomerUnitSpendResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitSpendWindow.d.mts +9 -0
- package/dist/esm/api/types/CustomerUnitSpendWindow.mjs +2 -0
- package/dist/esm/api/types/CustomerUnitUpdate.d.mts +2 -0
- package/dist/esm/api/types/DeliveredValueCalculation.d.mts +11 -0
- package/dist/esm/api/types/DeliveredValueCalculation.mjs +2 -0
- package/dist/esm/api/types/DeliveredValueCalculationTerm.d.mts +34 -0
- package/dist/esm/api/types/DeliveredValueCalculationTerm.mjs +21 -0
- package/dist/esm/api/types/DeliveredValueMetric.d.mts +54 -0
- package/dist/esm/api/types/DeliveredValueMetric.mjs +2 -0
- package/dist/esm/api/types/DeliveredValueResponse.d.mts +34 -0
- package/dist/esm/api/types/DeliveredValueResponse.mjs +2 -0
- package/dist/esm/api/types/DeliveredValueSignal.d.mts +14 -0
- package/dist/esm/api/types/DeliveredValueSignal.mjs +2 -0
- package/dist/esm/api/types/DeliveredValueSignalValue.d.mts +8 -0
- package/dist/esm/api/types/DeliveredValueSignalValue.mjs +2 -0
- package/dist/esm/api/types/DeliveredValueSummaryBucket.d.mts +20 -0
- package/dist/esm/api/types/DeliveredValueSummaryBucket.mjs +2 -0
- package/dist/esm/api/types/DeliveredValueSummaryResponse.d.mts +41 -0
- package/dist/esm/api/types/DeliveredValueSummaryResponse.mjs +19 -0
- package/dist/esm/api/types/GrantCustomerCreditsResponse.d.mts +1 -1
- package/dist/esm/api/types/PlanCreditBenefit.d.mts +4 -6
- package/dist/esm/api/types/PlanCreditBenefit.mjs +0 -4
- package/dist/esm/api/types/PricingOutput.d.mts +3 -0
- package/dist/esm/api/types/ProductCreditBenefitInput.d.mts +5 -0
- package/dist/esm/api/types/ProductCreditBenefitInput.mjs +2 -0
- package/dist/esm/api/types/ProductCreditBenefitOutput.d.mts +2 -0
- package/dist/esm/api/types/ProductPricingOutput.d.mts +3 -0
- package/dist/esm/api/types/ProductSeatBasedPrepaidCreditsInput.d.mts +3 -0
- package/dist/esm/api/types/ProductUsageBracketedPrepaidCreditsInput.d.mts +4 -0
- package/dist/esm/api/types/ProductUsageBracketedPrepaidCreditsInput.mjs +1 -0
- package/dist/esm/api/types/ProductUsageCostPlusInput.d.mts +2 -0
- package/dist/esm/api/types/ProductUsageCostPlusInput.mjs +1 -0
- package/dist/esm/api/types/ProductUsageGraduatedInput.d.mts +2 -0
- package/dist/esm/api/types/ProductUsageGraduatedInput.mjs +1 -0
- package/dist/esm/api/types/ProductUsagePerUnitInput.d.mts +2 -0
- package/dist/esm/api/types/ProductUsagePerUnitInput.mjs +1 -0
- package/dist/esm/api/types/ProductUsagePrepaidCreditsInput.d.mts +5 -0
- package/dist/esm/api/types/ProductUsagePrepaidCreditsInput.mjs +1 -0
- package/dist/esm/api/types/ProductUsageVolumeInput.d.mts +2 -0
- package/dist/esm/api/types/ProductUsageVolumeInput.mjs +1 -0
- package/dist/esm/api/types/ProvisionBillingFrequencyOverride.d.mts +14 -0
- package/dist/esm/api/types/ProvisionBillingFrequencyOverride.mjs +11 -0
- package/dist/esm/api/types/ProvisionContact.d.mts +20 -0
- package/dist/esm/api/types/ProvisionContact.mjs +11 -0
- package/dist/esm/api/types/ProvisionCreatedContact.d.mts +14 -0
- package/dist/esm/api/types/ProvisionCreatedContact.mjs +9 -0
- package/dist/esm/api/types/ProvisionCreatedCustomer.d.mts +14 -0
- package/dist/esm/api/types/ProvisionCreatedCustomer.mjs +9 -0
- package/dist/esm/api/types/ProvisionCreatedOrder.d.mts +17 -0
- package/dist/esm/api/types/ProvisionCreatedOrder.mjs +9 -0
- package/dist/esm/api/types/ProvisionCreatedOrderLine.d.mts +17 -0
- package/dist/esm/api/types/ProvisionCreatedOrderLine.mjs +9 -0
- package/dist/esm/api/types/ProvisionCreditBenefit.d.mts +44 -0
- package/dist/esm/api/types/ProvisionCreditBenefit.mjs +23 -0
- package/dist/esm/api/types/ProvisionCustomer.d.mts +23 -0
- package/dist/esm/api/types/ProvisionCustomer.mjs +9 -0
- package/dist/esm/api/types/ProvisionExternalReference.d.mts +16 -0
- package/dist/esm/api/types/ProvisionExternalReference.mjs +11 -0
- package/dist/esm/api/types/ProvisionOrder.d.mts +39 -0
- package/dist/esm/api/types/ProvisionOrder.mjs +17 -0
- package/dist/esm/api/types/ProvisionOrderLine.d.mts +12 -0
- package/dist/esm/api/types/ProvisionOrderLine.mjs +2 -0
- package/dist/esm/api/types/ProvisionOrderLineAttribute.d.mts +96 -0
- package/dist/esm/api/types/ProvisionOrderLineAttribute.mjs +47 -0
- package/dist/esm/api/types/ProvisionOrderLineType.d.mts +7 -0
- package/dist/esm/api/types/ProvisionOrderLineType.mjs +7 -0
- package/dist/esm/api/types/ProvisionProduct.d.mts +95 -0
- package/dist/esm/api/types/ProvisionProduct.mjs +49 -0
- package/dist/esm/api/types/ProvisionResponse.d.mts +17 -0
- package/dist/esm/api/types/ProvisionResponse.mjs +9 -0
- package/dist/esm/api/types/SeatBasedPrepaidCreditsInput.d.mts +3 -0
- package/dist/esm/api/types/Signal.d.mts +8 -2
- package/dist/esm/api/types/SignalListItem.d.mts +1 -1
- package/dist/esm/api/types/SignalLookupResponse.d.mts +7 -0
- package/dist/esm/api/types/SignalLookupResponse.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryBandsDimension.d.mts +21 -0
- package/dist/esm/api/types/SignalSummaryBandsDimension.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryColumn.d.mts +8 -0
- package/dist/esm/api/types/SignalSummaryColumn.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryDefinitionSpec.d.mts +21 -0
- package/dist/esm/api/types/SignalSummaryDefinitionSpec.mjs +8 -0
- package/dist/esm/api/types/SignalSummaryDefinitionSpecDimensionsItem.d.mts +10 -0
- package/dist/esm/api/types/SignalSummaryDefinitionSpecDimensionsItem.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryExport.d.mts +36 -0
- package/dist/esm/api/types/SignalSummaryExport.mjs +15 -0
- package/dist/esm/api/types/SignalSummaryGroups.d.mts +9 -0
- package/dist/esm/api/types/SignalSummaryGroups.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryMeasure.d.mts +16 -0
- package/dist/esm/api/types/SignalSummaryMeasure.mjs +11 -0
- package/dist/esm/api/types/SignalSummaryPage.d.mts +8 -0
- package/dist/esm/api/types/SignalSummaryPage.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryPoint.d.mts +16 -0
- package/dist/esm/api/types/SignalSummaryPoint.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryPresenceDimension.d.mts +23 -0
- package/dist/esm/api/types/SignalSummaryPresenceDimension.mjs +2 -0
- package/dist/esm/api/types/SignalSummaryResponse.d.mts +29 -0
- package/dist/esm/api/types/SignalSummaryResponse.mjs +16 -0
- package/dist/esm/api/types/SignalSummarySignalSelection.d.mts +8 -0
- package/dist/esm/api/types/SignalSummarySignalSelection.mjs +2 -0
- package/dist/esm/api/types/SignalSummarySpecInput.d.mts +21 -0
- package/dist/esm/api/types/SignalSummarySpecInput.mjs +8 -0
- package/dist/esm/api/types/SignalSummarySpecInputDimensionsItem.d.mts +10 -0
- package/dist/esm/api/types/SignalSummarySpecInputDimensionsItem.mjs +2 -0
- package/dist/esm/api/types/SignalsMetadataResponse.d.mts +22 -1
- package/dist/esm/api/types/SignalsMetadataResponse.mjs +23 -1
- package/dist/esm/api/types/UpdateContactRequest.d.mts +1 -0
- package/dist/esm/api/types/UsageBracketedPrepaidCreditsInput.d.mts +4 -0
- package/dist/esm/api/types/UsageBracketedPrepaidCreditsInput.mjs +1 -0
- package/dist/esm/api/types/UsageCostPlusInput.d.mts +2 -0
- package/dist/esm/api/types/UsageCostPlusInput.mjs +1 -0
- package/dist/esm/api/types/UsageGraduatedInput.d.mts +2 -0
- package/dist/esm/api/types/UsageGraduatedInput.mjs +1 -0
- package/dist/esm/api/types/UsagePerUnitInput.d.mts +2 -0
- package/dist/esm/api/types/UsagePerUnitInput.mjs +1 -0
- package/dist/esm/api/types/UsagePrepaidCreditsInput.d.mts +5 -0
- package/dist/esm/api/types/UsagePrepaidCreditsInput.mjs +1 -0
- package/dist/esm/api/types/UsageVolumeInput.d.mts +2 -0
- package/dist/esm/api/types/UsageVolumeInput.mjs +1 -0
- package/dist/esm/api/types/ValidateCustomViewRequest.d.mts +4 -0
- package/dist/esm/api/types/ValueModelContent.d.mts +17 -15
- package/dist/esm/api/types/ValueModelContent.mjs +7 -0
- package/dist/esm/api/types/ValueReceiptDetail.d.mts +1 -0
- package/dist/esm/api/types/ValueReceiptSummary.d.mts +1 -0
- package/dist/esm/api/types/ValueReceiptSyncResponse.d.mts +1 -0
- package/dist/esm/api/types/ViewCustomerUnitsResponse.d.mts +7 -0
- package/dist/esm/api/types/ViewCustomerUnitsResponse.mjs +2 -0
- package/dist/esm/api/types/ViewDataResponse.d.mts +2 -0
- package/dist/esm/api/types/Webhook.d.mts +0 -1
- package/dist/esm/api/types/Webhook.mjs +0 -1
- package/dist/esm/api/types/WebhookUpdateResponse.d.mts +0 -1
- package/dist/esm/api/types/WebhookUpdateResponse.mjs +0 -1
- package/dist/esm/api/types/WritableProvisionOrderLineType.d.mts +6 -0
- package/dist/esm/api/types/WritableProvisionOrderLineType.mjs +6 -0
- package/dist/esm/api/types/index.d.mts +59 -10
- package/dist/esm/api/types/index.mjs +59 -10
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2461 -730
- package/dist/cjs/api/resources/customerGroups/client/Client.d.ts +0 -153
- package/dist/cjs/api/resources/customerGroups/client/Client.js +0 -636
- package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.d.ts +0 -9
- package/dist/cjs/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.d.ts +0 -9
- package/dist/cjs/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.d.ts +0 -8
- package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customerGroups/client/requests/index.d.ts +0 -8
- package/dist/cjs/api/types/AddMembersResponse.d.ts +0 -5
- package/dist/cjs/api/types/CustomerGroupDeleteResponse.d.ts +0 -4
- package/dist/cjs/api/types/CustomerGroupDetail.d.ts +0 -10
- package/dist/cjs/api/types/CustomerGroupListResponse.d.ts +0 -5
- package/dist/cjs/api/types/CustomerGroupMember.d.ts +0 -5
- package/dist/cjs/api/types/CustomerGroupSummary.d.ts +0 -8
- package/dist/cjs/api/types/CustomerUnitCapOpenPolicy.d.ts +0 -29
- package/dist/cjs/api/types/CustomerUnitCapOpenPolicy.js +0 -15
- package/dist/cjs/api/types/MemberRequest.d.ts +0 -4
- package/dist/cjs/api/types/RemoveMembersResponse.d.ts +0 -5
- package/dist/cjs/api/types/SetMembersResponse.d.ts +0 -6
- package/dist/esm/api/resources/customerGroups/client/Client.d.mts +0 -153
- package/dist/esm/api/resources/customerGroups/client/Client.mjs +0 -599
- package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupMembersRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerGroups/client/requests/CreateCustomerGroupRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupMembersRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerGroups/client/requests/DeleteCustomerGroupRequest.d.mts +0 -9
- package/dist/esm/api/resources/customerGroups/client/requests/GetCustomerGroupRequest.d.mts +0 -9
- package/dist/esm/api/resources/customerGroups/client/requests/ListCustomerGroupsRequest.d.mts +0 -8
- package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupMembersRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerGroups/client/requests/UpdateCustomerGroupRequest.d.mts +0 -11
- package/dist/esm/api/resources/customerGroups/client/requests/index.d.mts +0 -8
- package/dist/esm/api/types/AddMembersResponse.d.mts +0 -5
- package/dist/esm/api/types/CustomerGroupDeleteResponse.d.mts +0 -4
- package/dist/esm/api/types/CustomerGroupDetail.d.mts +0 -10
- package/dist/esm/api/types/CustomerGroupListResponse.d.mts +0 -5
- package/dist/esm/api/types/CustomerGroupMember.d.mts +0 -5
- package/dist/esm/api/types/CustomerGroupSummary.d.mts +0 -8
- package/dist/esm/api/types/CustomerUnitCapOpenPolicy.d.mts +0 -29
- package/dist/esm/api/types/CustomerUnitCapOpenPolicy.mjs +0 -12
- package/dist/esm/api/types/MemberRequest.d.mts +0 -4
- package/dist/esm/api/types/RemoveMembersResponse.d.mts +0 -5
- package/dist/esm/api/types/SetMembersResponse.d.mts +0 -6
- /package/dist/cjs/api/resources/{customerGroups/client/requests/CreateCustomerGroupMembersRequest.js → credits/client/requests/GetCreditTransactionSummaryRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/CreateCustomerGroupRequest.js → customViewsExperimental/client/requests/GetCustomViewCustomerUnitsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/DeleteCustomerGroupMembersRequest.js → customers/client/requests/CreateCustomerApiKeyByExternalIdRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/DeleteCustomerGroupRequest.js → customers/client/requests/CreateCustomerApiKeyRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/GetCustomerGroupRequest.js → customers/client/requests/CreateCustomerFundingInstructionsByExternalIdRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/ListCustomerGroupsRequest.js → customers/client/requests/CreateCustomerFundingInstructionsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/UpdateCustomerGroupMembersRequest.js → customers/client/requests/CreateCustomerUnitAliasByExternalIdRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups/client/requests/UpdateCustomerGroupRequest.js → customers/client/requests/CreateCustomerUnitAliasByKeyRequest.js} +0 -0
- /package/dist/cjs/api/{types/AddMembersResponse.js → resources/customers/client/requests/CreateCustomerUnitAliasRequest.js} +0 -0
- /package/dist/cjs/api/{types/CustomerGroupDeleteResponse.js → resources/customers/client/requests/CustomerUnitCreateUnderParent.js} +0 -0
- /package/dist/cjs/api/{types/CustomerGroupDetail.js → resources/customers/client/requests/DeleteCustomerUnitAliasByExternalIdRequest.js} +0 -0
- /package/dist/cjs/api/{types/CustomerGroupListResponse.js → resources/customers/client/requests/DeleteCustomerUnitAliasByKeyRequest.js} +0 -0
- /package/dist/cjs/api/{types/CustomerGroupMember.js → resources/customers/client/requests/DeleteCustomerUnitAliasRequest.js} +0 -0
- /package/dist/cjs/api/{types/CustomerGroupSummary.js → resources/customers/client/requests/GetCustomerFundingInstructionsByExternalIdRequest.js} +0 -0
- /package/dist/cjs/api/{types/MemberRequest.js → resources/customers/client/requests/GetCustomerFundingInstructionsRequest.js} +0 -0
- /package/dist/cjs/api/{types/RemoveMembersResponse.js → resources/customers/client/requests/GetCustomerUnitByKeyRequest.js} +0 -0
- /package/dist/cjs/api/{types/SetMembersResponse.js → resources/customers/client/requests/GetCustomerUnitSpendByExternalIdRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customerGroups → deliveredValue}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customerGroups → deliveredValue}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customerGroups → deliveredValue}/client/requests/index.js +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/CreateCustomerGroupMembersRequest.mjs → credits/client/requests/GetCreditTransactionSummaryRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/CreateCustomerGroupRequest.mjs → customViewsExperimental/client/requests/GetCustomViewCustomerUnitsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/DeleteCustomerGroupMembersRequest.mjs → customers/client/requests/CreateCustomerApiKeyByExternalIdRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/DeleteCustomerGroupRequest.mjs → customers/client/requests/CreateCustomerApiKeyRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/GetCustomerGroupRequest.mjs → customers/client/requests/CreateCustomerFundingInstructionsByExternalIdRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/ListCustomerGroupsRequest.mjs → customers/client/requests/CreateCustomerFundingInstructionsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/UpdateCustomerGroupMembersRequest.mjs → customers/client/requests/CreateCustomerUnitAliasByExternalIdRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups/client/requests/UpdateCustomerGroupRequest.mjs → customers/client/requests/CreateCustomerUnitAliasByKeyRequest.mjs} +0 -0
- /package/dist/esm/api/{types/AddMembersResponse.mjs → resources/customers/client/requests/CreateCustomerUnitAliasRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CustomerGroupDeleteResponse.mjs → resources/customers/client/requests/CustomerUnitCreateUnderParent.mjs} +0 -0
- /package/dist/esm/api/{types/CustomerGroupDetail.mjs → resources/customers/client/requests/DeleteCustomerUnitAliasByExternalIdRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CustomerGroupListResponse.mjs → resources/customers/client/requests/DeleteCustomerUnitAliasByKeyRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CustomerGroupMember.mjs → resources/customers/client/requests/DeleteCustomerUnitAliasRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CustomerGroupSummary.mjs → resources/customers/client/requests/GetCustomerFundingInstructionsByExternalIdRequest.mjs} +0 -0
- /package/dist/esm/api/{types/MemberRequest.mjs → resources/customers/client/requests/GetCustomerFundingInstructionsRequest.mjs} +0 -0
- /package/dist/esm/api/{types/RemoveMembersResponse.mjs → resources/customers/client/requests/GetCustomerUnitByKeyRequest.mjs} +0 -0
- /package/dist/esm/api/{types/SetMembersResponse.mjs → resources/customers/client/requests/GetCustomerUnitSpendByExternalIdRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customerGroups → deliveredValue}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customerGroups → deliveredValue}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customerGroups → deliveredValue}/client/requests/index.mjs +0 -0
|
@@ -15,8 +15,29 @@ export declare namespace SignalsMetadataResponse {
|
|
|
15
15
|
interface Item {
|
|
16
16
|
/** JSON path inside the signal `data` payload, usable in queries as e.g. `data.<path>::String`. */
|
|
17
17
|
path: string;
|
|
18
|
-
/** ClickHouse dynamic types observed for this path. */
|
|
18
|
+
/** ClickHouse dynamic types observed for this path within the window. */
|
|
19
19
|
types: string[];
|
|
20
|
+
/** True when this key is declared as a grouping dimension for your organization. Declared keys are listed first. */
|
|
21
|
+
declared: boolean;
|
|
22
|
+
/** The dimension slot a declared key fills. Present only when `declared` is true. */
|
|
23
|
+
slot?: Item.Slot;
|
|
24
|
+
/** When a signal carrying this path was first received, across all time rather than only the window. Omitted when not available. */
|
|
25
|
+
firstSeen?: string;
|
|
26
|
+
/** When a signal carrying this path was last received, across all time rather than only the window. Omitted when not available. */
|
|
27
|
+
lastSeen?: string;
|
|
28
|
+
/** How many times a signal of this name has been received carrying this path, across all time rather than only the window. Each revision of an edited signal counts again and deleted signals stay counted, so read it as a measure of use rather than a count of distinct or live signals. Omitted when not available. */
|
|
29
|
+
signals?: number;
|
|
30
|
+
}
|
|
31
|
+
namespace Item {
|
|
32
|
+
/** The dimension slot a declared key fills. Present only when `declared` is true. */
|
|
33
|
+
const Slot: {
|
|
34
|
+
readonly Dim1: "dim_1";
|
|
35
|
+
readonly Dim2: "dim_2";
|
|
36
|
+
readonly Dim3: "dim_3";
|
|
37
|
+
readonly Dim4: "dim_4";
|
|
38
|
+
readonly Dim5: "dim_5";
|
|
39
|
+
};
|
|
40
|
+
type Slot = (typeof Slot)[keyof typeof Slot];
|
|
20
41
|
}
|
|
21
42
|
}
|
|
22
43
|
}
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var SignalsMetadataResponse;
|
|
3
|
+
(function (SignalsMetadataResponse) {
|
|
4
|
+
let Signals;
|
|
5
|
+
(function (Signals) {
|
|
6
|
+
let Item;
|
|
7
|
+
(function (Item_1) {
|
|
8
|
+
let Paths;
|
|
9
|
+
(function (Paths) {
|
|
10
|
+
let Item;
|
|
11
|
+
(function (Item) {
|
|
12
|
+
/** The dimension slot a declared key fills. Present only when `declared` is true. */
|
|
13
|
+
Item.Slot = {
|
|
14
|
+
Dim1: "dim_1",
|
|
15
|
+
Dim2: "dim_2",
|
|
16
|
+
Dim3: "dim_3",
|
|
17
|
+
Dim4: "dim_4",
|
|
18
|
+
Dim5: "dim_5",
|
|
19
|
+
};
|
|
20
|
+
})(Item = Paths.Item || (Paths.Item = {}));
|
|
21
|
+
})(Paths = Item_1.Paths || (Item_1.Paths = {}));
|
|
22
|
+
})(Item = Signals.Item || (Signals.Item = {}));
|
|
23
|
+
})(Signals = SignalsMetadataResponse.Signals || (SignalsMetadataResponse.Signals = {}));
|
|
24
|
+
})(SignalsMetadataResponse || (SignalsMetadataResponse = {}));
|
|
@@ -5,12 +5,15 @@ export interface UsageBracketedPrepaidCreditsInput {
|
|
|
5
5
|
creditsCurrencyId?: string;
|
|
6
6
|
unitValue?: number;
|
|
7
7
|
overageUnitPrice?: number;
|
|
8
|
+
/** Overage price per credit in the currency's minor units (40 is $0.40 for USD, ¥40 for JPY, 0.040 KWD for KWD), keyed by uppercase ISO 4217 currency code. On an invoice, an entry for the invoice currency on any of the order's pricing or credit benefits beats every overageUnitPrice; overageUnitPrice applies only when no holder has an entry for that currency. Writes keep the two consistent for the primary currency (the organization's default when the product is priced in it, else the product's only pricing currency; an order line's own currency): a map entry for it sets overageUnitPrice, winning when a write sends both, and an overageUnitPrice sent without the map updates an existing entry for it. A write that sends only overageUnitPrice never creates a map. */
|
|
9
|
+
overageUnitPrices?: Record<string, number | null> | null;
|
|
8
10
|
/** Credit amount, exact to at most 6 decimal places. */
|
|
9
11
|
creditRolloverAmount?: number;
|
|
10
12
|
pricingInput: UsageBracketedPrepaidCreditsInput.PricingInput;
|
|
11
13
|
creditUnitBrackets: UsageBracketedPrepaidCreditsInput.CreditUnitBrackets.Item[];
|
|
12
14
|
billingFrequency?: UsageBracketedPrepaidCreditsInput.BillingFrequency;
|
|
13
15
|
billingFrequencyCustomMonths?: number;
|
|
16
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
14
17
|
billingType?: UsageBracketedPrepaidCreditsInput.BillingType;
|
|
15
18
|
pricePoints?: Paid.SimplePricePoint[];
|
|
16
19
|
}
|
|
@@ -49,6 +52,7 @@ export declare namespace UsageBracketedPrepaidCreditsInput {
|
|
|
49
52
|
readonly Custom: "Custom";
|
|
50
53
|
};
|
|
51
54
|
type BillingFrequency = (typeof BillingFrequency)[keyof typeof BillingFrequency];
|
|
55
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
52
56
|
const BillingType: {
|
|
53
57
|
readonly Advance: "Advance";
|
|
54
58
|
readonly Arrears: "Arrears";
|
|
@@ -18,6 +18,7 @@ export var UsageBracketedPrepaidCreditsInput;
|
|
|
18
18
|
Annual: "Annual",
|
|
19
19
|
Custom: "Custom",
|
|
20
20
|
};
|
|
21
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
21
22
|
UsageBracketedPrepaidCreditsInput.BillingType = {
|
|
22
23
|
Advance: "Advance",
|
|
23
24
|
Arrears: "Arrears",
|
|
@@ -4,6 +4,7 @@ export interface UsageCostPlusInput {
|
|
|
4
4
|
signalType?: UsageCostPlusInput.SignalType;
|
|
5
5
|
billingFrequency?: UsageCostPlusInput.BillingFrequency;
|
|
6
6
|
billingFrequencyCustomMonths?: number;
|
|
7
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
7
8
|
billingType?: UsageCostPlusInput.BillingType;
|
|
8
9
|
pricePoints?: Paid.SimplePricePoint[];
|
|
9
10
|
}
|
|
@@ -21,6 +22,7 @@ export declare namespace UsageCostPlusInput {
|
|
|
21
22
|
readonly Custom: "Custom";
|
|
22
23
|
};
|
|
23
24
|
type BillingFrequency = (typeof BillingFrequency)[keyof typeof BillingFrequency];
|
|
25
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
24
26
|
const BillingType: {
|
|
25
27
|
readonly Advance: "Advance";
|
|
26
28
|
readonly Arrears: "Arrears";
|
|
@@ -12,6 +12,7 @@ export var UsageCostPlusInput;
|
|
|
12
12
|
Annual: "Annual",
|
|
13
13
|
Custom: "Custom",
|
|
14
14
|
};
|
|
15
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
15
16
|
UsageCostPlusInput.BillingType = {
|
|
16
17
|
Advance: "Advance",
|
|
17
18
|
Arrears: "Arrears",
|
|
@@ -4,6 +4,7 @@ export interface UsageGraduatedInput {
|
|
|
4
4
|
signalType?: UsageGraduatedInput.SignalType;
|
|
5
5
|
billingFrequency?: UsageGraduatedInput.BillingFrequency;
|
|
6
6
|
billingFrequencyCustomMonths?: number;
|
|
7
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
7
8
|
billingType?: UsageGraduatedInput.BillingType;
|
|
8
9
|
pricePoints: Paid.TieredPricePoint[];
|
|
9
10
|
}
|
|
@@ -21,6 +22,7 @@ export declare namespace UsageGraduatedInput {
|
|
|
21
22
|
readonly Custom: "Custom";
|
|
22
23
|
};
|
|
23
24
|
type BillingFrequency = (typeof BillingFrequency)[keyof typeof BillingFrequency];
|
|
25
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
24
26
|
const BillingType: {
|
|
25
27
|
readonly Advance: "Advance";
|
|
26
28
|
readonly Arrears: "Arrears";
|
|
@@ -12,6 +12,7 @@ export var UsageGraduatedInput;
|
|
|
12
12
|
Annual: "Annual",
|
|
13
13
|
Custom: "Custom",
|
|
14
14
|
};
|
|
15
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
15
16
|
UsageGraduatedInput.BillingType = {
|
|
16
17
|
Advance: "Advance",
|
|
17
18
|
Arrears: "Arrears",
|
|
@@ -4,6 +4,7 @@ export interface UsagePerUnitInput {
|
|
|
4
4
|
signalType?: UsagePerUnitInput.SignalType;
|
|
5
5
|
billingFrequency?: UsagePerUnitInput.BillingFrequency;
|
|
6
6
|
billingFrequencyCustomMonths?: number;
|
|
7
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
7
8
|
billingType?: UsagePerUnitInput.BillingType;
|
|
8
9
|
pricePoints: Paid.SimplePricePoint[];
|
|
9
10
|
}
|
|
@@ -21,6 +22,7 @@ export declare namespace UsagePerUnitInput {
|
|
|
21
22
|
readonly Custom: "Custom";
|
|
22
23
|
};
|
|
23
24
|
type BillingFrequency = (typeof BillingFrequency)[keyof typeof BillingFrequency];
|
|
25
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
24
26
|
const BillingType: {
|
|
25
27
|
readonly Advance: "Advance";
|
|
26
28
|
readonly Arrears: "Arrears";
|
|
@@ -12,6 +12,7 @@ export var UsagePerUnitInput;
|
|
|
12
12
|
Annual: "Annual",
|
|
13
13
|
Custom: "Custom",
|
|
14
14
|
};
|
|
15
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
15
16
|
UsagePerUnitInput.BillingType = {
|
|
16
17
|
Advance: "Advance",
|
|
17
18
|
Arrears: "Arrears",
|
|
@@ -6,9 +6,13 @@ export interface UsagePrepaidCreditsInput {
|
|
|
6
6
|
/** Credit amount, exact to at most 6 decimal places. */
|
|
7
7
|
creditCost: number;
|
|
8
8
|
unitValue?: number;
|
|
9
|
+
overageUnitPrice?: number;
|
|
10
|
+
/** Overage price per credit in the currency's minor units (40 is $0.40 for USD, ¥40 for JPY, 0.040 KWD for KWD), keyed by uppercase ISO 4217 currency code. On an invoice, an entry for the invoice currency on any of the order's pricing or credit benefits beats every overageUnitPrice; overageUnitPrice applies only when no holder has an entry for that currency. Writes keep the two consistent for the primary currency (the organization's default when the product is priced in it, else the product's only pricing currency; an order line's own currency): a map entry for it sets overageUnitPrice, winning when a write sends both, and an overageUnitPrice sent without the map updates an existing entry for it. A write that sends only overageUnitPrice never creates a map. */
|
|
11
|
+
overageUnitPrices?: Record<string, number | null> | null;
|
|
9
12
|
pricingInput?: UsagePrepaidCreditsInput.PricingInput;
|
|
10
13
|
billingFrequency?: UsagePrepaidCreditsInput.BillingFrequency;
|
|
11
14
|
billingFrequencyCustomMonths?: number;
|
|
15
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
12
16
|
billingType?: UsagePrepaidCreditsInput.BillingType;
|
|
13
17
|
pricePoints?: Paid.SimplePricePoint[];
|
|
14
18
|
}
|
|
@@ -37,6 +41,7 @@ export declare namespace UsagePrepaidCreditsInput {
|
|
|
37
41
|
readonly Custom: "Custom";
|
|
38
42
|
};
|
|
39
43
|
type BillingFrequency = (typeof BillingFrequency)[keyof typeof BillingFrequency];
|
|
44
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
40
45
|
const BillingType: {
|
|
41
46
|
readonly Advance: "Advance";
|
|
42
47
|
readonly Arrears: "Arrears";
|
|
@@ -18,6 +18,7 @@ export var UsagePrepaidCreditsInput;
|
|
|
18
18
|
Annual: "Annual",
|
|
19
19
|
Custom: "Custom",
|
|
20
20
|
};
|
|
21
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
21
22
|
UsagePrepaidCreditsInput.BillingType = {
|
|
22
23
|
Advance: "Advance",
|
|
23
24
|
Arrears: "Arrears",
|
|
@@ -4,6 +4,7 @@ export interface UsageVolumeInput {
|
|
|
4
4
|
signalType?: UsageVolumeInput.SignalType;
|
|
5
5
|
billingFrequency?: UsageVolumeInput.BillingFrequency;
|
|
6
6
|
billingFrequencyCustomMonths?: number;
|
|
7
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
7
8
|
billingType?: UsageVolumeInput.BillingType;
|
|
8
9
|
pricePoints: Paid.TieredPricePoint[];
|
|
9
10
|
}
|
|
@@ -21,6 +22,7 @@ export declare namespace UsageVolumeInput {
|
|
|
21
22
|
readonly Custom: "Custom";
|
|
22
23
|
};
|
|
23
24
|
type BillingFrequency = (typeof BillingFrequency)[keyof typeof BillingFrequency];
|
|
25
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
24
26
|
const BillingType: {
|
|
25
27
|
readonly Advance: "Advance";
|
|
26
28
|
readonly Arrears: "Arrears";
|
|
@@ -12,6 +12,7 @@ export var UsageVolumeInput;
|
|
|
12
12
|
Annual: "Annual",
|
|
13
13
|
Custom: "Custom",
|
|
14
14
|
};
|
|
15
|
+
/** When usage is billed. Usage must use Arrears, prepaid credits included; to sell credits up front, add a credit benefit to a recurring, seat or one-time attribute. */
|
|
15
16
|
UsageVolumeInput.BillingType = {
|
|
16
17
|
Advance: "Advance",
|
|
17
18
|
Arrears: "Arrears",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as Paid from "../index.mjs";
|
|
2
2
|
export interface ValidateCustomViewRequest {
|
|
3
|
+
/** Enable customer unit navigation for a customer-scoped view. Setting true requires customer hierarchies to be enabled for your organization, and every query must support unit selection. Existing views default to false. */
|
|
4
|
+
hierarchyEnabled?: boolean;
|
|
5
|
+
/** Send the customer's unit caps to the render bundle as `context.caps`. Needs `hierarchyEnabled` on a customer-scoped view. Turn it on only for views that draw cap usage: each load then reads cap usage from billing. Caps are spend policy, so an API key also needs `read:billing` to receive them in the data (they are left out otherwise) or to mint this view's embed token. Defaults to false. */
|
|
6
|
+
capsEnabled?: boolean;
|
|
3
7
|
/** Query list to validate (same shape and gates as createCustomView). */
|
|
4
8
|
queries?: Paid.CustomViewQuery[];
|
|
5
9
|
/** Render bundle to validate (same gates as createCustomView: size cap, self-contained, not truncated, paid:data listener). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Full value model configuration: value types, formulas,
|
|
2
|
+
* Full value model configuration: value types, formulas, events, and overrides.
|
|
3
3
|
*/
|
|
4
4
|
export interface ValueModelContent {
|
|
5
5
|
currency: string;
|
|
@@ -19,6 +19,8 @@ export declare namespace ValueModelContent {
|
|
|
19
19
|
description?: string | null;
|
|
20
20
|
longDescription?: string | null;
|
|
21
21
|
sources?: Item.Sources.Item[] | null;
|
|
22
|
+
/** Gates when this value type's number is published to a customer on a value receipt. Evaluated per customer, cumulative since their first signal for this value type, as of the receipt's end date. Until the threshold is met the receipt withholds the figure and shows a 'gathering data' state instead. At least one of minDataPoints or minMonths is required. */
|
|
23
|
+
maturation?: unknown | null;
|
|
22
24
|
displayOrder?: number | null;
|
|
23
25
|
color?: string | null;
|
|
24
26
|
icon?: string | null;
|
|
@@ -174,6 +176,10 @@ export declare namespace ValueModelContent {
|
|
|
174
176
|
interface DerivedFrom {
|
|
175
177
|
sourceField: string;
|
|
176
178
|
targetUnit: DerivedFrom.TargetUnit;
|
|
179
|
+
/** Fixed source unit the signal field reports its value in; the engine converts it into the metric's duration unit (targetUnit). Used as the fallback when sourceUnitFromSignal is set but the companion field is missing/invalid. Requires a duration value type. */
|
|
180
|
+
sourceUnit?: DerivedFrom.SourceUnit;
|
|
181
|
+
/** When true, each event names its own source unit in a "<sourceField>_unit" companion field (e.g. sourceField "time_spent" reads "time_spent_unit"), which must be one of seconds|minutes|hours|days. Takes precedence over sourceUnit; if the companion is absent or invalid it falls back to sourceUnit. If neither resolves, the payload value is discarded and the variable's default is used (the default is stored in the metric's unit and is never converted); the value is never silently treated as seconds. Requires a duration value type. */
|
|
182
|
+
sourceUnitFromSignal?: boolean;
|
|
177
183
|
}
|
|
178
184
|
namespace DerivedFrom {
|
|
179
185
|
const TargetUnit: {
|
|
@@ -183,6 +189,14 @@ export declare namespace ValueModelContent {
|
|
|
183
189
|
readonly Days: "days";
|
|
184
190
|
};
|
|
185
191
|
type TargetUnit = (typeof TargetUnit)[keyof typeof TargetUnit];
|
|
192
|
+
/** Fixed source unit the signal field reports its value in; the engine converts it into the metric's duration unit (targetUnit). Used as the fallback when sourceUnitFromSignal is set but the companion field is missing/invalid. Requires a duration value type. */
|
|
193
|
+
const SourceUnit: {
|
|
194
|
+
readonly Seconds: "seconds";
|
|
195
|
+
readonly Minutes: "minutes";
|
|
196
|
+
readonly Hours: "hours";
|
|
197
|
+
readonly Days: "days";
|
|
198
|
+
};
|
|
199
|
+
type SourceUnit = (typeof SourceUnit)[keyof typeof SourceUnit];
|
|
186
200
|
}
|
|
187
201
|
}
|
|
188
202
|
}
|
|
@@ -296,26 +310,14 @@ export declare namespace ValueModelContent {
|
|
|
296
310
|
label: string;
|
|
297
311
|
scope: Item.Scope;
|
|
298
312
|
currency?: string;
|
|
299
|
-
|
|
300
|
-
/** Per-value-metric formula variable overrides, keyed by value type slug. Scoped to the named metric's formulas only — unlike signalOverrides (keyed by event name), a binding event shared with other metrics does not leak these values into them. When both shapes set the same variable, the value here wins. */
|
|
313
|
+
/** Per-value-metric formula variable overrides, keyed by value type slug. Scoped to the named metric's formulas only, so a binding event shared with other metrics does not leak these values into them. */
|
|
301
314
|
valueTypeOverrides?: Record<string, Item.ValueTypeOverrides.Value>;
|
|
302
315
|
additionalSignals?: Item.AdditionalSignals.Item[];
|
|
303
316
|
monetaryConversionOverrides?: Record<string, Item.MonetaryConversionOverrides.Value>;
|
|
304
317
|
}
|
|
305
318
|
namespace Item {
|
|
306
319
|
interface Scope {
|
|
307
|
-
customerIds
|
|
308
|
-
customerGroupIds?: string[];
|
|
309
|
-
}
|
|
310
|
-
namespace SignalOverrides {
|
|
311
|
-
interface Value {
|
|
312
|
-
defaults?: Record<string, Value.Defaults.Value>;
|
|
313
|
-
}
|
|
314
|
-
namespace Value {
|
|
315
|
-
namespace Defaults {
|
|
316
|
-
type Value = number | string;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
320
|
+
customerIds: string[];
|
|
319
321
|
}
|
|
320
322
|
namespace ValueTypeOverrides {
|
|
321
323
|
interface Value {
|
|
@@ -84,6 +84,13 @@ export var ValueModelContent;
|
|
|
84
84
|
Hours: "hours",
|
|
85
85
|
Days: "days",
|
|
86
86
|
};
|
|
87
|
+
/** Fixed source unit the signal field reports its value in; the engine converts it into the metric's duration unit (targetUnit). Used as the fallback when sourceUnitFromSignal is set but the companion field is missing/invalid. Requires a duration value type. */
|
|
88
|
+
DerivedFrom.SourceUnit = {
|
|
89
|
+
Seconds: "seconds",
|
|
90
|
+
Minutes: "minutes",
|
|
91
|
+
Hours: "hours",
|
|
92
|
+
Days: "days",
|
|
93
|
+
};
|
|
87
94
|
})(DerivedFrom = Item.DerivedFrom || (Item.DerivedFrom = {}));
|
|
88
95
|
})(Item = Variables.Item || (Variables.Item = {}));
|
|
89
96
|
})(Variables = Item_3.Variables || (Item_3.Variables = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Paid from "../index.mjs";
|
|
2
|
+
export interface ViewCustomerUnitsResponse {
|
|
3
|
+
/** Whether this customer has an active non-root unit, regardless of the requested page or usage. */
|
|
4
|
+
hasHierarchy: boolean;
|
|
5
|
+
data: Paid.CustomViewCustomerUnit[];
|
|
6
|
+
pagination: Paid.Pagination;
|
|
7
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type * as Paid from "../index.mjs";
|
|
1
2
|
export interface ViewDataResponse {
|
|
3
|
+
context?: Paid.CustomViewDataContext;
|
|
2
4
|
/** Result sets keyed by query id. Each value is an array of row objects (column name → value); 64-bit integers are returned as JSON strings to preserve precision. */
|
|
3
5
|
data: Record<string, Record<string, unknown>[]>;
|
|
4
6
|
}
|
|
@@ -10,7 +10,6 @@ export interface Webhook {
|
|
|
10
10
|
}
|
|
11
11
|
export declare namespace Webhook {
|
|
12
12
|
const Name: {
|
|
13
|
-
readonly BillingInvoiceCreated: "billing-invoice-created";
|
|
14
13
|
readonly BillingInvoicePaid: "billing-invoice-paid";
|
|
15
14
|
readonly BillingInvoicePosted: "billing-invoice-posted";
|
|
16
15
|
readonly BillingCheckoutCreated: "billing-checkout-created";
|
|
@@ -12,7 +12,6 @@ export interface WebhookUpdateResponse {
|
|
|
12
12
|
}
|
|
13
13
|
export declare namespace WebhookUpdateResponse {
|
|
14
14
|
const Name: {
|
|
15
|
-
readonly BillingInvoiceCreated: "billing-invoice-created";
|
|
16
15
|
readonly BillingInvoicePaid: "billing-invoice-paid";
|
|
17
16
|
readonly BillingInvoicePosted: "billing-invoice-posted";
|
|
18
17
|
readonly BillingCheckoutCreated: "billing-checkout-created";
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
export var WebhookUpdateResponse;
|
|
3
3
|
(function (WebhookUpdateResponse) {
|
|
4
4
|
WebhookUpdateResponse.Name = {
|
|
5
|
-
BillingInvoiceCreated: "billing-invoice-created",
|
|
6
5
|
BillingInvoicePaid: "billing-invoice-paid",
|
|
7
6
|
BillingInvoicePosted: "billing-invoice-posted",
|
|
8
7
|
BillingCheckoutCreated: "billing-checkout-created",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Defaults to `STANDARD`. Set to `CREDIT` for a discount or credit line: send its prices as positive amounts, and Paid subtracts them from the invoice. */
|
|
2
|
+
export declare const WritableProvisionOrderLineType: {
|
|
3
|
+
readonly Standard: "STANDARD";
|
|
4
|
+
readonly Credit: "CREDIT";
|
|
5
|
+
};
|
|
6
|
+
export type WritableProvisionOrderLineType = (typeof WritableProvisionOrderLineType)[keyof typeof WritableProvisionOrderLineType];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Defaults to `STANDARD`. Set to `CREDIT` for a discount or credit line: send its prices as positive amounts, and Paid subtracts them from the invoice. */
|
|
3
|
+
export const WritableProvisionOrderLineType = {
|
|
4
|
+
Standard: "STANDARD",
|
|
5
|
+
Credit: "CREDIT",
|
|
6
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./AddAttributeIntent.mjs";
|
|
2
2
|
export * from "./AddFromCatalogIntent.mjs";
|
|
3
|
-
export * from "./AddMembersResponse.mjs";
|
|
4
3
|
export * from "./AmendmentAddAttributeOptions.mjs";
|
|
5
4
|
export * from "./AmendmentAddAxisOptions.mjs";
|
|
6
5
|
export * from "./AmendmentAttributeOptions.mjs";
|
|
@@ -79,11 +78,17 @@ export * from "./CreditTransactionCurrency.mjs";
|
|
|
79
78
|
export * from "./CreditTransactionCustomer.mjs";
|
|
80
79
|
export * from "./CreditTransactionListResponse.mjs";
|
|
81
80
|
export * from "./CreditTransactionProduct.mjs";
|
|
81
|
+
export * from "./CreditTransactionSummaryBucket.mjs";
|
|
82
|
+
export * from "./CreditTransactionSummaryResponse.mjs";
|
|
82
83
|
export * from "./CurrencyCode.mjs";
|
|
83
84
|
export * from "./Customer.mjs";
|
|
84
85
|
export * from "./CustomerAlias.mjs";
|
|
85
86
|
export * from "./CustomerAliasCreateRequest.mjs";
|
|
86
87
|
export * from "./CustomerAliasListResponse.mjs";
|
|
88
|
+
export * from "./CustomerApiKey.mjs";
|
|
89
|
+
export * from "./CustomerApiKeyCreate.mjs";
|
|
90
|
+
export * from "./CustomerApiKeyCreated.mjs";
|
|
91
|
+
export * from "./CustomerApiKeyList.mjs";
|
|
87
92
|
export * from "./CustomerAttribution.mjs";
|
|
88
93
|
export * from "./CustomerBillingAddressInput.mjs";
|
|
89
94
|
export * from "./CustomerBillingAddressResponse.mjs";
|
|
@@ -91,11 +96,8 @@ export * from "./CustomerByExternalId.mjs";
|
|
|
91
96
|
export * from "./CustomerById.mjs";
|
|
92
97
|
export * from "./CustomerConnections.mjs";
|
|
93
98
|
export * from "./CustomerCreationState.mjs";
|
|
94
|
-
export * from "./
|
|
95
|
-
export * from "./
|
|
96
|
-
export * from "./CustomerGroupListResponse.mjs";
|
|
97
|
-
export * from "./CustomerGroupMember.mjs";
|
|
98
|
-
export * from "./CustomerGroupSummary.mjs";
|
|
99
|
+
export * from "./CustomerFundingInstructions.mjs";
|
|
100
|
+
export * from "./CustomerFundingInstructionsCreateRequest.mjs";
|
|
99
101
|
export * from "./CustomerListResponse.mjs";
|
|
100
102
|
export * from "./CustomerPortal.mjs";
|
|
101
103
|
export * from "./CustomerPortalStatus.mjs";
|
|
@@ -111,23 +113,32 @@ export * from "./CustomerStateSeatAssignee.mjs";
|
|
|
111
113
|
export * from "./CustomerStateSeats.mjs";
|
|
112
114
|
export * from "./CustomerUnit.mjs";
|
|
113
115
|
export * from "./CustomerUnitAttribution.mjs";
|
|
116
|
+
export * from "./CustomerUnitByKey.mjs";
|
|
114
117
|
export * from "./CustomerUnitCapCurrentPeriod.mjs";
|
|
115
118
|
export * from "./CustomerUnitCapEndedPolicy.mjs";
|
|
116
119
|
export * from "./CustomerUnitCapEndResponse.mjs";
|
|
117
|
-
export * from "./CustomerUnitCapOpenPolicy.mjs";
|
|
118
120
|
export * from "./CustomerUnitCapPeriod.mjs";
|
|
119
121
|
export * from "./CustomerUnitCapPolicy.mjs";
|
|
120
122
|
export * from "./CustomerUnitCapResponse.mjs";
|
|
123
|
+
export * from "./CustomerUnitCapSavedPolicy.mjs";
|
|
124
|
+
export * from "./CustomerUnitCapSchedule.mjs";
|
|
125
|
+
export * from "./CustomerUnitCapScheduleInput.mjs";
|
|
121
126
|
export * from "./CustomerUnitCapSet.mjs";
|
|
122
127
|
export * from "./CustomerUnitCapSetResponse.mjs";
|
|
123
128
|
export * from "./CustomerUnitCreate.mjs";
|
|
129
|
+
export * from "./CustomerUnitCreatedUnderParent.mjs";
|
|
124
130
|
export * from "./CustomerUnitListResponse.mjs";
|
|
131
|
+
export * from "./CustomerUnitSpendResponse.mjs";
|
|
132
|
+
export * from "./CustomerUnitSpendWindow.mjs";
|
|
125
133
|
export * from "./CustomerUnitUpdate.mjs";
|
|
126
134
|
export * from "./CustomerUser.mjs";
|
|
127
135
|
export * from "./CustomerUserStatus.mjs";
|
|
128
136
|
export * from "./CustomView.mjs";
|
|
129
137
|
export * from "./CustomViewAuthoringDetail.mjs";
|
|
130
138
|
export * from "./CustomViewAuthoringGuide.mjs";
|
|
139
|
+
export * from "./CustomViewContextCap.mjs";
|
|
140
|
+
export * from "./CustomViewCustomerUnit.mjs";
|
|
141
|
+
export * from "./CustomViewDataContext.mjs";
|
|
131
142
|
export * from "./CustomViewDetail.mjs";
|
|
132
143
|
export * from "./CustomViewEmbedTokenResponse.mjs";
|
|
133
144
|
export * from "./CustomViewFilter.mjs";
|
|
@@ -137,7 +148,16 @@ export * from "./CustomViewPreviewHarnessColumn.mjs";
|
|
|
137
148
|
export * from "./CustomViewPreviewHarnessRequest.mjs";
|
|
138
149
|
export * from "./CustomViewQuery.mjs";
|
|
139
150
|
export * from "./CustomViewSummary.mjs";
|
|
151
|
+
export * from "./CustomViewUnitSelection.mjs";
|
|
140
152
|
export * from "./CustomViewValidationFinding.mjs";
|
|
153
|
+
export * from "./DeliveredValueCalculation.mjs";
|
|
154
|
+
export * from "./DeliveredValueCalculationTerm.mjs";
|
|
155
|
+
export * from "./DeliveredValueMetric.mjs";
|
|
156
|
+
export * from "./DeliveredValueResponse.mjs";
|
|
157
|
+
export * from "./DeliveredValueSignal.mjs";
|
|
158
|
+
export * from "./DeliveredValueSignalValue.mjs";
|
|
159
|
+
export * from "./DeliveredValueSummaryBucket.mjs";
|
|
160
|
+
export * from "./DeliveredValueSummaryResponse.mjs";
|
|
141
161
|
export * from "./EmptyResponse.mjs";
|
|
142
162
|
export * from "./EndAttributeIntent.mjs";
|
|
143
163
|
export * from "./ErrorResponse.mjs";
|
|
@@ -146,7 +166,6 @@ export * from "./Invoice.mjs";
|
|
|
146
166
|
export * from "./InvoiceLine.mjs";
|
|
147
167
|
export * from "./InvoiceLinesResponse.mjs";
|
|
148
168
|
export * from "./InvoiceListResponse.mjs";
|
|
149
|
-
export * from "./MemberRequest.mjs";
|
|
150
169
|
export * from "./MoneyAxisOptions.mjs";
|
|
151
170
|
export * from "./MoneyAxisValue.mjs";
|
|
152
171
|
export * from "./OneTimePerUnitInput.mjs";
|
|
@@ -228,11 +247,25 @@ export * from "./ProductUsageGraduatedInput.mjs";
|
|
|
228
247
|
export * from "./ProductUsagePerUnitInput.mjs";
|
|
229
248
|
export * from "./ProductUsagePrepaidCreditsInput.mjs";
|
|
230
249
|
export * from "./ProductUsageVolumeInput.mjs";
|
|
250
|
+
export * from "./ProvisionBillingFrequencyOverride.mjs";
|
|
251
|
+
export * from "./ProvisionContact.mjs";
|
|
252
|
+
export * from "./ProvisionCreatedContact.mjs";
|
|
253
|
+
export * from "./ProvisionCreatedCustomer.mjs";
|
|
254
|
+
export * from "./ProvisionCreatedOrder.mjs";
|
|
255
|
+
export * from "./ProvisionCreatedOrderLine.mjs";
|
|
256
|
+
export * from "./ProvisionCreditBenefit.mjs";
|
|
257
|
+
export * from "./ProvisionCustomer.mjs";
|
|
258
|
+
export * from "./ProvisionExternalReference.mjs";
|
|
259
|
+
export * from "./ProvisionOrder.mjs";
|
|
260
|
+
export * from "./ProvisionOrderLine.mjs";
|
|
261
|
+
export * from "./ProvisionOrderLineAttribute.mjs";
|
|
262
|
+
export * from "./ProvisionOrderLineType.mjs";
|
|
263
|
+
export * from "./ProvisionProduct.mjs";
|
|
264
|
+
export * from "./ProvisionResponse.mjs";
|
|
231
265
|
export * from "./RecurringGraduatedInput.mjs";
|
|
232
266
|
export * from "./RecurringPercentOfTotalInput.mjs";
|
|
233
267
|
export * from "./RecurringPerUnitInput.mjs";
|
|
234
268
|
export * from "./RecurringVolumeInput.mjs";
|
|
235
|
-
export * from "./RemoveMembersResponse.mjs";
|
|
236
269
|
export * from "./RenderBundleEdit.mjs";
|
|
237
270
|
export * from "./RotateWebhookSecretResponse.mjs";
|
|
238
271
|
export * from "./SeatAssignee.mjs";
|
|
@@ -241,10 +274,24 @@ export * from "./SeatBasedGraduatedInput.mjs";
|
|
|
241
274
|
export * from "./SeatBasedPerUnitInput.mjs";
|
|
242
275
|
export * from "./SeatBasedPrepaidCreditsInput.mjs";
|
|
243
276
|
export * from "./SeatBasedVolumeInput.mjs";
|
|
244
|
-
export * from "./SetMembersResponse.mjs";
|
|
245
277
|
export * from "./Signal.mjs";
|
|
246
278
|
export * from "./SignalListItem.mjs";
|
|
247
279
|
export * from "./SignalListResponse.mjs";
|
|
280
|
+
export * from "./SignalLookupResponse.mjs";
|
|
281
|
+
export * from "./SignalSummaryBandsDimension.mjs";
|
|
282
|
+
export * from "./SignalSummaryColumn.mjs";
|
|
283
|
+
export * from "./SignalSummaryDefinitionSpec.mjs";
|
|
284
|
+
export * from "./SignalSummaryDefinitionSpecDimensionsItem.mjs";
|
|
285
|
+
export * from "./SignalSummaryExport.mjs";
|
|
286
|
+
export * from "./SignalSummaryGroups.mjs";
|
|
287
|
+
export * from "./SignalSummaryMeasure.mjs";
|
|
288
|
+
export * from "./SignalSummaryPage.mjs";
|
|
289
|
+
export * from "./SignalSummaryPoint.mjs";
|
|
290
|
+
export * from "./SignalSummaryPresenceDimension.mjs";
|
|
291
|
+
export * from "./SignalSummaryResponse.mjs";
|
|
292
|
+
export * from "./SignalSummarySignalSelection.mjs";
|
|
293
|
+
export * from "./SignalSummarySpecInput.mjs";
|
|
294
|
+
export * from "./SignalSummarySpecInputDimensionsItem.mjs";
|
|
248
295
|
export * from "./SignalsMetadataResponse.mjs";
|
|
249
296
|
export * from "./SimplePricePoint.mjs";
|
|
250
297
|
export * from "./StripeConnection.mjs";
|
|
@@ -293,6 +340,7 @@ export * from "./ValueReceiptDetail.mjs";
|
|
|
293
340
|
export * from "./ValueReceiptListResponse.mjs";
|
|
294
341
|
export * from "./ValueReceiptSummary.mjs";
|
|
295
342
|
export * from "./ValueReceiptSyncResponse.mjs";
|
|
343
|
+
export * from "./ViewCustomerUnitsResponse.mjs";
|
|
296
344
|
export * from "./ViewDataResponse.mjs";
|
|
297
345
|
export * from "./Webhook.mjs";
|
|
298
346
|
export * from "./WebhookDeliveryStatus.mjs";
|
|
@@ -300,3 +348,4 @@ export * from "./WebhookListResponse.mjs";
|
|
|
300
348
|
export * from "./WebhookTestResponse.mjs";
|
|
301
349
|
export * from "./WebhookUpdateResponse.mjs";
|
|
302
350
|
export * from "./WritableOrderLineType.mjs";
|
|
351
|
+
export * from "./WritableProvisionOrderLineType.mjs";
|