@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
|
@@ -26,13 +26,14 @@ export declare class Customers {
|
|
|
26
26
|
listCustomers(request?: Paid.ListCustomersRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerListResponse>;
|
|
27
27
|
private __listCustomers;
|
|
28
28
|
/**
|
|
29
|
-
* Creates a new customer for the organization
|
|
29
|
+
* Creates a new customer for the organization. `externalId` shares one set of ids with customer unit ids and aliases, unique across the organization and ignoring letter case: an external id that another customer already holds as a unit id or alias, or as its external id in another case, is refused with `409 EXTERNAL_ID_IN_USE`. The same id in the same case is `400 DUPLICATE_EXTERNAL_ID`, as before.
|
|
30
30
|
*
|
|
31
31
|
* @param {Paid.CreateCustomerRequest} request
|
|
32
32
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @throws {@link Paid.BadRequestError}
|
|
35
35
|
* @throws {@link Paid.ForbiddenError}
|
|
36
|
+
* @throws {@link Paid.ConflictError}
|
|
36
37
|
* @throws {@link Paid.InternalServerError}
|
|
37
38
|
*
|
|
38
39
|
* @example
|
|
@@ -61,7 +62,7 @@ export declare class Customers {
|
|
|
61
62
|
listCustomerAliases(request: Paid.ListCustomerAliasesRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
62
63
|
private __listCustomerAliases;
|
|
63
64
|
/**
|
|
64
|
-
* Create an alternate external identifier for a customer by Paid display ID.
|
|
65
|
+
* Create an alternate external identifier for a customer by Paid display ID. The alias shares one set of ids with customer external ids and unit ids, unique within the organization and ignoring letter case: an alias that another customer already holds as its external id, a unit id or an alias is refused with `409 EXTERNAL_ID_IN_USE` (an exact match keeps its older code, `ALIAS_CONFLICTS_WITH_CUSTOMER_EXTERNAL_ID` or `CUSTOMER_ALIAS_ALREADY_EXISTS`).
|
|
65
66
|
*
|
|
66
67
|
* @param {Paid.CreateCustomerAliasRequest} request
|
|
67
68
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -118,7 +119,7 @@ export declare class Customers {
|
|
|
118
119
|
getCustomerById(request: Paid.GetCustomerByIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
119
120
|
private __getCustomerById;
|
|
120
121
|
/**
|
|
121
|
-
* Update a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `PUT /api/v2/customers/external/{externalId}`.
|
|
122
|
+
* Update a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `PUT /api/v2/customers/external/{externalId}`. Changing `externalId` follows the organization-wide id rule: a new id that another customer already holds as its external id, a unit id or an alias, ignoring letter case, is refused with `409 EXTERNAL_ID_IN_USE`; the same id in the same case stays `400 DUPLICATE_EXTERNAL_ID`. When the id changes, the previous id is kept as an alias of the customer, so signals that still use it keep resolving to it.
|
|
122
123
|
*
|
|
123
124
|
* @param {Paid.UpdateCustomerByIdRequest} request
|
|
124
125
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -126,6 +127,7 @@ export declare class Customers {
|
|
|
126
127
|
* @throws {@link Paid.BadRequestError}
|
|
127
128
|
* @throws {@link Paid.ForbiddenError}
|
|
128
129
|
* @throws {@link Paid.NotFoundError}
|
|
130
|
+
* @throws {@link Paid.ConflictError}
|
|
129
131
|
* @throws {@link Paid.InternalServerError}
|
|
130
132
|
*
|
|
131
133
|
* @example
|
|
@@ -137,7 +139,7 @@ export declare class Customers {
|
|
|
137
139
|
updateCustomerById(request: Paid.UpdateCustomerByIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
138
140
|
private __updateCustomerById;
|
|
139
141
|
/**
|
|
140
|
-
* Delete a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `DELETE /api/v2/customers/external/{externalId}`.
|
|
142
|
+
* Delete a customer by Paid display ID. Use the value returned as `customer.id`, for example `cus_abc123`. If you have your own customer ID, use `DELETE /api/v2/customers/external/{externalId}`. A customer that still has orders, invoices, payments, contacts, child customers or other linked records is not deleted: the request returns 409 `CUSTOMER_HAS_ASSOCIATIONS` and `details` lists what is linked.
|
|
141
143
|
*
|
|
142
144
|
* @param {Paid.DeleteCustomerByIdRequest} request
|
|
143
145
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -145,6 +147,7 @@ export declare class Customers {
|
|
|
145
147
|
* @throws {@link Paid.BadRequestError}
|
|
146
148
|
* @throws {@link Paid.ForbiddenError}
|
|
147
149
|
* @throws {@link Paid.NotFoundError}
|
|
150
|
+
* @throws {@link Paid.ConflictError}
|
|
148
151
|
* @throws {@link Paid.InternalServerError}
|
|
149
152
|
*
|
|
150
153
|
* @example
|
|
@@ -190,7 +193,7 @@ export declare class Customers {
|
|
|
190
193
|
listCustomerAliasesByExternalId(request: Paid.ListCustomerAliasesByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
191
194
|
private __listCustomerAliasesByExternalId;
|
|
192
195
|
/**
|
|
193
|
-
* Create an alternate external identifier for a customer by external ID.
|
|
196
|
+
* Create an alternate external identifier for a customer by external ID. The alias shares one set of ids with customer external ids and unit ids, unique within the organization and ignoring letter case: an alias that another customer already holds as its external id, a unit id or an alias is refused with `409 EXTERNAL_ID_IN_USE` (an exact match keeps its older code, `ALIAS_CONFLICTS_WITH_CUSTOMER_EXTERNAL_ID` or `CUSTOMER_ALIAS_ALREADY_EXISTS`).
|
|
194
197
|
*
|
|
195
198
|
* @param {Paid.CreateCustomerAliasByExternalIdRequest} request
|
|
196
199
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -247,7 +250,7 @@ export declare class Customers {
|
|
|
247
250
|
getCustomerByExternalId(request: Paid.GetCustomerByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
248
251
|
private __getCustomerByExternalId;
|
|
249
252
|
/**
|
|
250
|
-
* Update a customer by external ID
|
|
253
|
+
* Update a customer by external ID. Changing `externalId` follows the organization-wide id rule: a new id that another customer already holds as its external id, a unit id or an alias, ignoring letter case, is refused with `409 EXTERNAL_ID_IN_USE`; the same id in the same case stays `400 DUPLICATE_EXTERNAL_ID`. When the id changes, the previous id is kept as an alias of the customer, so signals that still use it keep resolving to it.
|
|
251
254
|
*
|
|
252
255
|
* @param {Paid.UpdateCustomerByExternalIdRequest} request
|
|
253
256
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -255,6 +258,7 @@ export declare class Customers {
|
|
|
255
258
|
* @throws {@link Paid.BadRequestError}
|
|
256
259
|
* @throws {@link Paid.ForbiddenError}
|
|
257
260
|
* @throws {@link Paid.NotFoundError}
|
|
261
|
+
* @throws {@link Paid.ConflictError}
|
|
258
262
|
* @throws {@link Paid.InternalServerError}
|
|
259
263
|
*
|
|
260
264
|
* @example
|
|
@@ -266,7 +270,7 @@ export declare class Customers {
|
|
|
266
270
|
updateCustomerByExternalId(request: Paid.UpdateCustomerByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.Customer>;
|
|
267
271
|
private __updateCustomerByExternalId;
|
|
268
272
|
/**
|
|
269
|
-
* Delete a customer by external ID
|
|
273
|
+
* Delete a customer by external ID. A customer that still has orders, invoices, payments, contacts, child customers or other linked records is not deleted: the request returns 409 `CUSTOMER_HAS_ASSOCIATIONS` and `details` lists what is linked.
|
|
270
274
|
*
|
|
271
275
|
* @param {Paid.DeleteCustomerByExternalIdRequest} request
|
|
272
276
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -274,6 +278,7 @@ export declare class Customers {
|
|
|
274
278
|
* @throws {@link Paid.BadRequestError}
|
|
275
279
|
* @throws {@link Paid.ForbiddenError}
|
|
276
280
|
* @throws {@link Paid.NotFoundError}
|
|
281
|
+
* @throws {@link Paid.ConflictError}
|
|
277
282
|
* @throws {@link Paid.InternalServerError}
|
|
278
283
|
*
|
|
279
284
|
* @example
|
|
@@ -326,6 +331,7 @@ export declare class Customers {
|
|
|
326
331
|
* @throws {@link Paid.BadRequestError}
|
|
327
332
|
* @throws {@link Paid.ForbiddenError}
|
|
328
333
|
* @throws {@link Paid.NotFoundError}
|
|
334
|
+
* @throws {@link Paid.ConflictError}
|
|
329
335
|
* @throws {@link Paid.InternalServerError}
|
|
330
336
|
*
|
|
331
337
|
* @example
|
|
@@ -335,7 +341,8 @@ export declare class Customers {
|
|
|
335
341
|
* creditCurrencyKey: "api_credits",
|
|
336
342
|
* amount: 10000,
|
|
337
343
|
* startsAt: "2026-06-05T12:00:00Z",
|
|
338
|
-
* expiresAt: "2026-12-31T23:59:59Z"
|
|
344
|
+
* expiresAt: "2026-12-31T23:59:59Z",
|
|
345
|
+
* idempotencyKey: "grant_acme_2026-06-05"
|
|
339
346
|
* }
|
|
340
347
|
* })
|
|
341
348
|
*/
|
|
@@ -403,6 +410,7 @@ export declare class Customers {
|
|
|
403
410
|
* @throws {@link Paid.BadRequestError}
|
|
404
411
|
* @throws {@link Paid.ForbiddenError}
|
|
405
412
|
* @throws {@link Paid.NotFoundError}
|
|
413
|
+
* @throws {@link Paid.ConflictError}
|
|
406
414
|
* @throws {@link Paid.InternalServerError}
|
|
407
415
|
*
|
|
408
416
|
* @example
|
|
@@ -412,7 +420,8 @@ export declare class Customers {
|
|
|
412
420
|
* creditCurrencyKey: "api_credits",
|
|
413
421
|
* amount: 10000,
|
|
414
422
|
* startsAt: "2026-06-05T12:00:00Z",
|
|
415
|
-
* expiresAt: "2026-12-31T23:59:59Z"
|
|
423
|
+
* expiresAt: "2026-12-31T23:59:59Z",
|
|
424
|
+
* idempotencyKey: "grant_acme_2026-06-05"
|
|
416
425
|
* }
|
|
417
426
|
* })
|
|
418
427
|
*/
|
|
@@ -438,7 +447,85 @@ export declare class Customers {
|
|
|
438
447
|
upsertCustomerUserByExternalId(request: Paid.UpsertCustomerUserRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUser>;
|
|
439
448
|
private __upsertCustomerUserByExternalId;
|
|
440
449
|
/**
|
|
441
|
-
*
|
|
450
|
+
* Returns the virtual bank account (Stripe funding instructions) a customer can pay by bank transfer into, by Paid display ID.
|
|
451
|
+
*
|
|
452
|
+
* @param {Paid.GetCustomerFundingInstructionsRequest} request
|
|
453
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
454
|
+
*
|
|
455
|
+
* @throws {@link Paid.BadRequestError}
|
|
456
|
+
* @throws {@link Paid.ForbiddenError}
|
|
457
|
+
* @throws {@link Paid.NotFoundError}
|
|
458
|
+
* @throws {@link Paid.InternalServerError}
|
|
459
|
+
*
|
|
460
|
+
* @example
|
|
461
|
+
* await client.customers.getCustomerFundingInstructions({
|
|
462
|
+
* id: "cus_abc123",
|
|
463
|
+
* currency: "USD"
|
|
464
|
+
* })
|
|
465
|
+
*/
|
|
466
|
+
getCustomerFundingInstructions(request: Paid.GetCustomerFundingInstructionsRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerFundingInstructions>;
|
|
467
|
+
private __getCustomerFundingInstructions;
|
|
468
|
+
/**
|
|
469
|
+
* Creates a dedicated virtual bank account for the customer to pay invoices by bank transfer, by Paid display ID. Returns the existing account if one already exists for the currency. Requires a live-mode organization with Stripe connected and Bank Transfers enabled on the Stripe account.
|
|
470
|
+
*
|
|
471
|
+
* @param {Paid.CreateCustomerFundingInstructionsRequest} request
|
|
472
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
473
|
+
*
|
|
474
|
+
* @throws {@link Paid.BadRequestError}
|
|
475
|
+
* @throws {@link Paid.ForbiddenError}
|
|
476
|
+
* @throws {@link Paid.NotFoundError}
|
|
477
|
+
* @throws {@link Paid.UnprocessableEntityError}
|
|
478
|
+
* @throws {@link Paid.InternalServerError}
|
|
479
|
+
*
|
|
480
|
+
* @example
|
|
481
|
+
* await client.customers.createCustomerFundingInstructions({
|
|
482
|
+
* id: "cus_abc123",
|
|
483
|
+
* body: {}
|
|
484
|
+
* })
|
|
485
|
+
*/
|
|
486
|
+
createCustomerFundingInstructions(request: Paid.CreateCustomerFundingInstructionsRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerFundingInstructions>;
|
|
487
|
+
private __createCustomerFundingInstructions;
|
|
488
|
+
/**
|
|
489
|
+
* Returns the virtual bank account (Stripe funding instructions) a customer can pay by bank transfer into, by your external ID.
|
|
490
|
+
*
|
|
491
|
+
* @param {Paid.GetCustomerFundingInstructionsByExternalIdRequest} request
|
|
492
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
493
|
+
*
|
|
494
|
+
* @throws {@link Paid.BadRequestError}
|
|
495
|
+
* @throws {@link Paid.ForbiddenError}
|
|
496
|
+
* @throws {@link Paid.NotFoundError}
|
|
497
|
+
* @throws {@link Paid.InternalServerError}
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* await client.customers.getCustomerFundingInstructionsByExternalId({
|
|
501
|
+
* externalId: "externalId",
|
|
502
|
+
* currency: "USD"
|
|
503
|
+
* })
|
|
504
|
+
*/
|
|
505
|
+
getCustomerFundingInstructionsByExternalId(request: Paid.GetCustomerFundingInstructionsByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerFundingInstructions>;
|
|
506
|
+
private __getCustomerFundingInstructionsByExternalId;
|
|
507
|
+
/**
|
|
508
|
+
* Creates a dedicated virtual bank account for the customer to pay invoices by bank transfer, by your external ID. Returns the existing account if one already exists for the currency. Requires a live-mode organization with Stripe connected and Bank Transfers enabled on the Stripe account.
|
|
509
|
+
*
|
|
510
|
+
* @param {Paid.CreateCustomerFundingInstructionsByExternalIdRequest} request
|
|
511
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
512
|
+
*
|
|
513
|
+
* @throws {@link Paid.BadRequestError}
|
|
514
|
+
* @throws {@link Paid.ForbiddenError}
|
|
515
|
+
* @throws {@link Paid.NotFoundError}
|
|
516
|
+
* @throws {@link Paid.UnprocessableEntityError}
|
|
517
|
+
* @throws {@link Paid.InternalServerError}
|
|
518
|
+
*
|
|
519
|
+
* @example
|
|
520
|
+
* await client.customers.createCustomerFundingInstructionsByExternalId({
|
|
521
|
+
* externalId: "externalId",
|
|
522
|
+
* body: {}
|
|
523
|
+
* })
|
|
524
|
+
*/
|
|
525
|
+
createCustomerFundingInstructionsByExternalId(request: Paid.CreateCustomerFundingInstructionsByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerFundingInstructions>;
|
|
526
|
+
private __createCustomerFundingInstructionsByExternalId;
|
|
527
|
+
/**
|
|
528
|
+
* Lists the customer's units as a flat list, newest last; assemble the tree from `parentExternalId` (`null` on the root unit, `isRoot: true`). Deleted units are hidden unless `status=DELETED` is given, drafts unless `status=DRAFT`. Filter by `externalType`, or by `parentExternalId` for one level of the tree. Addresses the customer by your external customer id.
|
|
442
529
|
*
|
|
443
530
|
* @param {Paid.ListCustomerUnitsByExternalIdRequest} request
|
|
444
531
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -457,7 +544,7 @@ export declare class Customers {
|
|
|
457
544
|
listCustomerUnitsByExternalId(request: Paid.ListCustomerUnitsByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitListResponse>;
|
|
458
545
|
private __listCustomerUnitsByExternalId;
|
|
459
546
|
/**
|
|
460
|
-
* Creates a unit for this customer. `externalId` is your own key for it: required, unique within the customer
|
|
547
|
+
* Creates a unit for this customer. `externalId` is your own key for it: required, immutable, and unique within the organization (no other customer's unit id, external id or alias may be the same, ignoring letter case); every unit route addresses the unit by it, and `name` defaults to it. Omit `parentExternalId` to create the customer's root unit (its first unit; `409 ROOT_EXISTS` if it already has one — a customer created with an external id usable as a unit key already has its root, keyed by that external id, so name it as the parent instead); otherwise the parent must exist (`409 PARENT_NOT_FOUND`) and be ACTIVE. A create whose `externalId` is one of this customer's `DRAFT` units promotes the draft in place: same unit, same id, now ACTIVE with the request's name, type, metadata and parent (`parentExternalId` is required; a draft sits under the root). A signal that names a unit before it exists is accepted; with draft units enabled for your organization it creates a `DRAFT` unit under the customer's root that holds the key, and creating the unit with that key later promotes the draft; otherwise its spend attaches to the unit once you create it with that key. `409` also when the externalId is taken on this customer (`CUSTOMER_UNIT_EXISTS`) or by another customer of the organization (`EXTERNAL_ID_IN_USE`), the tree would get too deep, the customer is on seat-based billing, or a root unit is sent with `billable: false` (`ROOT_UNIT_ALWAYS_BILLABLE`). `403 FEATURE_NOT_ENABLED` for `billable: false` when non-billable units are not enabled for your organization. Addresses the customer by your external customer id.
|
|
461
548
|
*
|
|
462
549
|
* @param {Paid.CreateCustomerUnitByExternalIdRequest} request
|
|
463
550
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -498,7 +585,7 @@ export declare class Customers {
|
|
|
498
585
|
getCustomerUnitByExternalId(request: Paid.GetCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
499
586
|
private __getCustomerUnitByExternalId;
|
|
500
587
|
/**
|
|
501
|
-
* Soft-deletes a unit: it stays readable with `status: DELETED` and cannot be reactivated. Spend history that references it is kept, and signals that keep naming it are still attributed to it. `409` while the unit has ACTIVE children or a cap in force or scheduled; the root follows the same rules, and once it is deleted a new root can be created. Addresses the customer by your external customer id.
|
|
588
|
+
* Soft-deletes a unit: it stays readable with `status: DELETED` and cannot be reactivated. Spend history that references it is kept, and signals that keep naming it are still attributed to it. A `DRAFT` unit is deleted the same way: it stays readable as DELETED, its key stays reserved, and spend already keyed to it stays its own. `409` while the unit has ACTIVE or DRAFT children or a cap in force or scheduled; the root follows the same rules, and once it is deleted a new root can be created. Addresses the customer by your external customer id.
|
|
502
589
|
*
|
|
503
590
|
* @param {Paid.DeleteCustomerUnitByExternalIdRequest} request
|
|
504
591
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -518,7 +605,7 @@ export declare class Customers {
|
|
|
518
605
|
deleteCustomerUnitByExternalId(request: Paid.DeleteCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
519
606
|
private __deleteCustomerUnitByExternalId;
|
|
520
607
|
/**
|
|
521
|
-
* Renames, re-types, re-parents or annotates a unit, the root included. `externalId` cannot change. Re-parenting (`parentExternalId`) moves the unit with everything under it. Spend already recorded keeps naming the unit it landed on; caps are evaluated on the current tree, so from the move on the unit's spend in the running cap period counts toward its new ancestors' caps and no longer toward the old ones. `409` for a deleted unit, a parent that does not exist or is not ACTIVE, a move of the root (`ROOT_UNIT_IMMOVABLE`), a move under the unit's own subtree, or a tree that would get too deep. Addresses the customer by your external customer id.
|
|
608
|
+
* Renames, re-types, re-parents or annotates a unit, the root included. `externalId` cannot change. Re-parenting (`parentExternalId`) moves the unit with everything under it. Spend already recorded keeps naming the unit it landed on; caps are evaluated on the current tree, so from the move on the unit's spend in the running cap period counts toward its new ancestors' caps and no longer toward the old ones. `billable` flips the unit's own setting; moving a unit under a non-billable one makes it non-billable in effect (`effectiveBillable`). `409` for a deleted unit (`CUSTOMER_UNIT_DELETED`), a draft (`CUSTOMER_UNIT_DRAFT`), a parent that does not exist or is not ACTIVE, a move of the root (`ROOT_UNIT_IMMOVABLE`), `billable: false` on the root (`ROOT_UNIT_ALWAYS_BILLABLE`), a move under the unit's own subtree, or a tree that would get too deep. `403 FEATURE_NOT_ENABLED` for `billable: false` when non-billable units are not enabled for your organization. Addresses the customer by your external customer id.
|
|
522
609
|
*
|
|
523
610
|
* @param {Paid.UpdateCustomerUnitByExternalIdRequest} request
|
|
524
611
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -539,7 +626,69 @@ export declare class Customers {
|
|
|
539
626
|
updateCustomerUnitByExternalId(request: Paid.UpdateCustomerUnitByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
540
627
|
private __updateCustomerUnitByExternalId;
|
|
541
628
|
/**
|
|
542
|
-
* Lists the
|
|
629
|
+
* Lists the aliases that land signals on this unit. A customer-level alias (created on the customer routes) points at the customer's root unit, so it is listed under the root. Addresses the customer by your external customer id.
|
|
630
|
+
*
|
|
631
|
+
* @param {Paid.ListCustomerUnitAliasesByExternalIdRequest} request
|
|
632
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
633
|
+
*
|
|
634
|
+
* @throws {@link Paid.BadRequestError}
|
|
635
|
+
* @throws {@link Paid.ForbiddenError}
|
|
636
|
+
* @throws {@link Paid.NotFoundError}
|
|
637
|
+
* @throws {@link Paid.InternalServerError}
|
|
638
|
+
*
|
|
639
|
+
* @example
|
|
640
|
+
* await client.customers.listCustomerUnitAliasesByExternalId({
|
|
641
|
+
* externalId: "customer_123",
|
|
642
|
+
* externalCustomerUnitId: "team-research"
|
|
643
|
+
* })
|
|
644
|
+
*/
|
|
645
|
+
listCustomerUnitAliasesByExternalId(request: Paid.ListCustomerUnitAliasesByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
646
|
+
private __listCustomerUnitAliasesByExternalId;
|
|
647
|
+
/**
|
|
648
|
+
* Creates an alias that lands signals on this unit: a signal whose `externalCustomerId` is the alias resolves to this customer and, when it names no `customerUnit`, to this unit. The alias shares one set of ids with customer external ids and unit ids, unique within the organization and ignoring letter case: an alias another customer holds is refused with `409 EXTERNAL_ID_IN_USE`. Addresses the customer by your external customer id.
|
|
649
|
+
*
|
|
650
|
+
* @param {Paid.CreateCustomerUnitAliasByExternalIdRequest} request
|
|
651
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
652
|
+
*
|
|
653
|
+
* @throws {@link Paid.BadRequestError}
|
|
654
|
+
* @throws {@link Paid.ForbiddenError}
|
|
655
|
+
* @throws {@link Paid.NotFoundError}
|
|
656
|
+
* @throws {@link Paid.ConflictError}
|
|
657
|
+
* @throws {@link Paid.InternalServerError}
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* await client.customers.createCustomerUnitAliasByExternalId({
|
|
661
|
+
* externalId: "customer_123",
|
|
662
|
+
* externalCustomerUnitId: "team-research",
|
|
663
|
+
* body: {
|
|
664
|
+
* alias: "child-customer-1"
|
|
665
|
+
* }
|
|
666
|
+
* })
|
|
667
|
+
*/
|
|
668
|
+
createCustomerUnitAliasByExternalId(request: Paid.CreateCustomerUnitAliasByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAlias>;
|
|
669
|
+
private __createCustomerUnitAliasByExternalId;
|
|
670
|
+
/**
|
|
671
|
+
* Deletes an alias of this unit. Signals still sent with it then resolve to nothing again. Addresses the customer by your external customer id.
|
|
672
|
+
*
|
|
673
|
+
* @param {Paid.DeleteCustomerUnitAliasByExternalIdRequest} request
|
|
674
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
675
|
+
*
|
|
676
|
+
* @throws {@link Paid.BadRequestError}
|
|
677
|
+
* @throws {@link Paid.ForbiddenError}
|
|
678
|
+
* @throws {@link Paid.NotFoundError}
|
|
679
|
+
* @throws {@link Paid.InternalServerError}
|
|
680
|
+
*
|
|
681
|
+
* @example
|
|
682
|
+
* await client.customers.deleteCustomerUnitAliasByExternalId({
|
|
683
|
+
* externalId: "customer_123",
|
|
684
|
+
* externalCustomerUnitId: "team-research",
|
|
685
|
+
* alias: "tenant-7-sandbox"
|
|
686
|
+
* })
|
|
687
|
+
*/
|
|
688
|
+
deleteCustomerUnitAliasByExternalId(request: Paid.DeleteCustomerUnitAliasByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.DeleteCustomerUnitAliasByExternalIdResponse>;
|
|
689
|
+
private __deleteCustomerUnitAliasByExternalId;
|
|
690
|
+
/**
|
|
691
|
+
* Lists the customer's units as a flat list, newest last; assemble the tree from `parentExternalId` (`null` on the root unit, `isRoot: true`). Deleted units are hidden unless `status=DELETED` is given, drafts unless `status=DRAFT`. Filter by `externalType`, or by `parentExternalId` for one level of the tree. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
543
692
|
*
|
|
544
693
|
* @param {Paid.ListCustomerUnitsRequest} request
|
|
545
694
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -558,7 +707,7 @@ export declare class Customers {
|
|
|
558
707
|
listCustomerUnits(request: Paid.ListCustomerUnitsRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitListResponse>;
|
|
559
708
|
private __listCustomerUnits;
|
|
560
709
|
/**
|
|
561
|
-
* Creates a unit for this customer. `externalId` is your own key for it: required, unique within the customer
|
|
710
|
+
* Creates a unit for this customer. `externalId` is your own key for it: required, immutable, and unique within the organization (no other customer's unit id, external id or alias may be the same, ignoring letter case); every unit route addresses the unit by it, and `name` defaults to it. Omit `parentExternalId` to create the customer's root unit (its first unit; `409 ROOT_EXISTS` if it already has one — a customer created with an external id usable as a unit key already has its root, keyed by that external id, so name it as the parent instead); otherwise the parent must exist (`409 PARENT_NOT_FOUND`) and be ACTIVE. A create whose `externalId` is one of this customer's `DRAFT` units promotes the draft in place: same unit, same id, now ACTIVE with the request's name, type, metadata and parent (`parentExternalId` is required; a draft sits under the root). A signal that names a unit before it exists is accepted; with draft units enabled for your organization it creates a `DRAFT` unit under the customer's root that holds the key, and creating the unit with that key later promotes the draft; otherwise its spend attaches to the unit once you create it with that key. `409` also when the externalId is taken on this customer (`CUSTOMER_UNIT_EXISTS`) or by another customer of the organization (`EXTERNAL_ID_IN_USE`), the tree would get too deep, the customer is on seat-based billing, or a root unit is sent with `billable: false` (`ROOT_UNIT_ALWAYS_BILLABLE`). `403 FEATURE_NOT_ENABLED` for `billable: false` when non-billable units are not enabled for your organization. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
562
711
|
*
|
|
563
712
|
* @param {Paid.CreateCustomerUnitRequest} request
|
|
564
713
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -599,7 +748,7 @@ export declare class Customers {
|
|
|
599
748
|
getCustomerUnit(request: Paid.GetCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
600
749
|
private __getCustomerUnit;
|
|
601
750
|
/**
|
|
602
|
-
* Soft-deletes a unit: it stays readable with `status: DELETED` and cannot be reactivated. Spend history that references it is kept, and signals that keep naming it are still attributed to it. `409` while the unit has ACTIVE children or a cap in force or scheduled; the root follows the same rules, and once it is deleted a new root can be created. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
751
|
+
* Soft-deletes a unit: it stays readable with `status: DELETED` and cannot be reactivated. Spend history that references it is kept, and signals that keep naming it are still attributed to it. A `DRAFT` unit is deleted the same way: it stays readable as DELETED, its key stays reserved, and spend already keyed to it stays its own. `409` while the unit has ACTIVE or DRAFT children or a cap in force or scheduled; the root follows the same rules, and once it is deleted a new root can be created. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
603
752
|
*
|
|
604
753
|
* @param {Paid.DeleteCustomerUnitRequest} request
|
|
605
754
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -619,7 +768,7 @@ export declare class Customers {
|
|
|
619
768
|
deleteCustomerUnit(request: Paid.DeleteCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
620
769
|
private __deleteCustomerUnit;
|
|
621
770
|
/**
|
|
622
|
-
* Renames, re-types, re-parents or annotates a unit, the root included. `externalId` cannot change. Re-parenting (`parentExternalId`) moves the unit with everything under it. Spend already recorded keeps naming the unit it landed on; caps are evaluated on the current tree, so from the move on the unit's spend in the running cap period counts toward its new ancestors' caps and no longer toward the old ones. `409` for a deleted unit, a parent that does not exist or is not ACTIVE, a move of the root (`ROOT_UNIT_IMMOVABLE`), a move under the unit's own subtree, or a tree that would get too deep. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
771
|
+
* Renames, re-types, re-parents or annotates a unit, the root included. `externalId` cannot change. Re-parenting (`parentExternalId`) moves the unit with everything under it. Spend already recorded keeps naming the unit it landed on; caps are evaluated on the current tree, so from the move on the unit's spend in the running cap period counts toward its new ancestors' caps and no longer toward the old ones. `billable` flips the unit's own setting; moving a unit under a non-billable one makes it non-billable in effect (`effectiveBillable`). `409` for a deleted unit (`CUSTOMER_UNIT_DELETED`), a draft (`CUSTOMER_UNIT_DRAFT`), a parent that does not exist or is not ACTIVE, a move of the root (`ROOT_UNIT_IMMOVABLE`), `billable: false` on the root (`ROOT_UNIT_ALWAYS_BILLABLE`), a move under the unit's own subtree, or a tree that would get too deep. `403 FEATURE_NOT_ENABLED` for `billable: false` when non-billable units are not enabled for your organization. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
623
772
|
*
|
|
624
773
|
* @param {Paid.UpdateCustomerUnitRequest} request
|
|
625
774
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -639,6 +788,283 @@ export declare class Customers {
|
|
|
639
788
|
*/
|
|
640
789
|
updateCustomerUnit(request: Paid.UpdateCustomerUnitRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnit>;
|
|
641
790
|
private __updateCustomerUnit;
|
|
791
|
+
/**
|
|
792
|
+
* Lists the aliases that land signals on this unit. A customer-level alias (created on the customer routes) points at the customer's root unit, so it is listed under the root. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
793
|
+
*
|
|
794
|
+
* @param {Paid.ListCustomerUnitAliasesRequest} request
|
|
795
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
796
|
+
*
|
|
797
|
+
* @throws {@link Paid.BadRequestError}
|
|
798
|
+
* @throws {@link Paid.ForbiddenError}
|
|
799
|
+
* @throws {@link Paid.NotFoundError}
|
|
800
|
+
* @throws {@link Paid.InternalServerError}
|
|
801
|
+
*
|
|
802
|
+
* @example
|
|
803
|
+
* await client.customers.listCustomerUnitAliases({
|
|
804
|
+
* id: "cus_abc123",
|
|
805
|
+
* externalCustomerUnitId: "team-research"
|
|
806
|
+
* })
|
|
807
|
+
*/
|
|
808
|
+
listCustomerUnitAliases(request: Paid.ListCustomerUnitAliasesRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
809
|
+
private __listCustomerUnitAliases;
|
|
810
|
+
/**
|
|
811
|
+
* Creates an alias that lands signals on this unit: a signal whose `externalCustomerId` is the alias resolves to this customer and, when it names no `customerUnit`, to this unit. The alias shares one set of ids with customer external ids and unit ids, unique within the organization and ignoring letter case: an alias another customer holds is refused with `409 EXTERNAL_ID_IN_USE`. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
812
|
+
*
|
|
813
|
+
* @param {Paid.CreateCustomerUnitAliasRequest} request
|
|
814
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
815
|
+
*
|
|
816
|
+
* @throws {@link Paid.BadRequestError}
|
|
817
|
+
* @throws {@link Paid.ForbiddenError}
|
|
818
|
+
* @throws {@link Paid.NotFoundError}
|
|
819
|
+
* @throws {@link Paid.ConflictError}
|
|
820
|
+
* @throws {@link Paid.InternalServerError}
|
|
821
|
+
*
|
|
822
|
+
* @example
|
|
823
|
+
* await client.customers.createCustomerUnitAlias({
|
|
824
|
+
* id: "cus_abc123",
|
|
825
|
+
* externalCustomerUnitId: "team-research",
|
|
826
|
+
* body: {
|
|
827
|
+
* alias: "child-customer-1"
|
|
828
|
+
* }
|
|
829
|
+
* })
|
|
830
|
+
*/
|
|
831
|
+
createCustomerUnitAlias(request: Paid.CreateCustomerUnitAliasRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAlias>;
|
|
832
|
+
private __createCustomerUnitAlias;
|
|
833
|
+
/**
|
|
834
|
+
* Deletes an alias of this unit. Signals still sent with it then resolve to nothing again. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
835
|
+
*
|
|
836
|
+
* @param {Paid.DeleteCustomerUnitAliasRequest} request
|
|
837
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
838
|
+
*
|
|
839
|
+
* @throws {@link Paid.BadRequestError}
|
|
840
|
+
* @throws {@link Paid.ForbiddenError}
|
|
841
|
+
* @throws {@link Paid.NotFoundError}
|
|
842
|
+
* @throws {@link Paid.InternalServerError}
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* await client.customers.deleteCustomerUnitAlias({
|
|
846
|
+
* id: "cus_abc123",
|
|
847
|
+
* externalCustomerUnitId: "team-research",
|
|
848
|
+
* alias: "tenant-7-sandbox"
|
|
849
|
+
* })
|
|
850
|
+
*/
|
|
851
|
+
deleteCustomerUnitAlias(request: Paid.DeleteCustomerUnitAliasRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.DeleteCustomerUnitAliasResponse>;
|
|
852
|
+
private __deleteCustomerUnitAlias;
|
|
853
|
+
/**
|
|
854
|
+
* Returns a unit by its key without naming its customer. The answer carries the customer's ids (`customerId`, `customerExternalId`) so the customer routes are one hop away, but, like the create on this path, not Paid's unit id: a caller of these routes names units by key. The key is looked up across the organization ignoring letter case. When more than one unit carries it in another letter case (legacy duplicates across customers, or case variants on one customer), the exact spelling decides; when that does not single one out either, the answer is `409 CUSTOMER_UNIT_AMBIGUOUS`: use the customer's unit routes, where the key is exact.
|
|
855
|
+
*
|
|
856
|
+
* @param {Paid.GetCustomerUnitByKeyRequest} request
|
|
857
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
858
|
+
*
|
|
859
|
+
* @throws {@link Paid.BadRequestError}
|
|
860
|
+
* @throws {@link Paid.ForbiddenError}
|
|
861
|
+
* @throws {@link Paid.NotFoundError}
|
|
862
|
+
* @throws {@link Paid.ConflictError}
|
|
863
|
+
* @throws {@link Paid.InternalServerError}
|
|
864
|
+
*
|
|
865
|
+
* @example
|
|
866
|
+
* await client.customers.getCustomerUnitByKey({
|
|
867
|
+
* externalCustomerUnitId: "team-research"
|
|
868
|
+
* })
|
|
869
|
+
*/
|
|
870
|
+
getCustomerUnitByKey(request: Paid.GetCustomerUnitByKeyRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitByKey>;
|
|
871
|
+
private __getCustomerUnitByKey;
|
|
872
|
+
/**
|
|
873
|
+
* Lists the aliases that land signals on this unit, without naming its customer. The key is looked up across the organization ignoring letter case. When more than one unit carries it in another letter case (legacy duplicates across customers, or case variants on one customer), the exact spelling decides; when that does not single one out either, the answer is `409 CUSTOMER_UNIT_AMBIGUOUS`: use the customer's unit routes, where the key is exact.
|
|
874
|
+
*
|
|
875
|
+
* @param {Paid.ListCustomerUnitAliasesByKeyRequest} request
|
|
876
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
877
|
+
*
|
|
878
|
+
* @throws {@link Paid.BadRequestError}
|
|
879
|
+
* @throws {@link Paid.ForbiddenError}
|
|
880
|
+
* @throws {@link Paid.NotFoundError}
|
|
881
|
+
* @throws {@link Paid.ConflictError}
|
|
882
|
+
* @throws {@link Paid.InternalServerError}
|
|
883
|
+
*
|
|
884
|
+
* @example
|
|
885
|
+
* await client.customers.listCustomerUnitAliasesByKey({
|
|
886
|
+
* externalCustomerUnitId: "team-research"
|
|
887
|
+
* })
|
|
888
|
+
*/
|
|
889
|
+
listCustomerUnitAliasesByKey(request: Paid.ListCustomerUnitAliasesByKeyRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAliasListResponse>;
|
|
890
|
+
private __listCustomerUnitAliasesByKey;
|
|
891
|
+
/**
|
|
892
|
+
* Creates an alias that lands signals on this unit, without naming its customer: a signal whose `externalCustomerId` is the alias resolves to the unit's customer and is attributed to this unit. The alias must be unique within the organization ignoring letter case (`409 EXTERNAL_ID_IN_USE`). The key is looked up across the organization ignoring letter case. When more than one unit carries it in another letter case (legacy duplicates across customers, or case variants on one customer), the exact spelling decides; when that does not single one out either, the answer is `409 CUSTOMER_UNIT_AMBIGUOUS`: use the customer's unit routes, where the key is exact.
|
|
893
|
+
*
|
|
894
|
+
* @param {Paid.CreateCustomerUnitAliasByKeyRequest} request
|
|
895
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
896
|
+
*
|
|
897
|
+
* @throws {@link Paid.BadRequestError}
|
|
898
|
+
* @throws {@link Paid.ForbiddenError}
|
|
899
|
+
* @throws {@link Paid.NotFoundError}
|
|
900
|
+
* @throws {@link Paid.ConflictError}
|
|
901
|
+
* @throws {@link Paid.InternalServerError}
|
|
902
|
+
*
|
|
903
|
+
* @example
|
|
904
|
+
* await client.customers.createCustomerUnitAliasByKey({
|
|
905
|
+
* externalCustomerUnitId: "team-research",
|
|
906
|
+
* body: {
|
|
907
|
+
* alias: "child-customer-1"
|
|
908
|
+
* }
|
|
909
|
+
* })
|
|
910
|
+
*/
|
|
911
|
+
createCustomerUnitAliasByKey(request: Paid.CreateCustomerUnitAliasByKeyRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerAlias>;
|
|
912
|
+
private __createCustomerUnitAliasByKey;
|
|
913
|
+
/**
|
|
914
|
+
* Deletes an alias of this unit, without naming its customer. Signals still sent with it then resolve to nothing again. The key is looked up across the organization ignoring letter case. When more than one unit carries it in another letter case (legacy duplicates across customers, or case variants on one customer), the exact spelling decides; when that does not single one out either, the answer is `409 CUSTOMER_UNIT_AMBIGUOUS`: use the customer's unit routes, where the key is exact.
|
|
915
|
+
*
|
|
916
|
+
* @param {Paid.DeleteCustomerUnitAliasByKeyRequest} request
|
|
917
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
918
|
+
*
|
|
919
|
+
* @throws {@link Paid.BadRequestError}
|
|
920
|
+
* @throws {@link Paid.ForbiddenError}
|
|
921
|
+
* @throws {@link Paid.NotFoundError}
|
|
922
|
+
* @throws {@link Paid.ConflictError}
|
|
923
|
+
* @throws {@link Paid.InternalServerError}
|
|
924
|
+
*
|
|
925
|
+
* @example
|
|
926
|
+
* await client.customers.deleteCustomerUnitAliasByKey({
|
|
927
|
+
* externalCustomerUnitId: "team-research",
|
|
928
|
+
* alias: "tenant-7"
|
|
929
|
+
* })
|
|
930
|
+
*/
|
|
931
|
+
deleteCustomerUnitAliasByKey(request: Paid.DeleteCustomerUnitAliasByKeyRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.DeleteCustomerUnitAliasByKeyResponse>;
|
|
932
|
+
private __deleteCustomerUnitAliasByKey;
|
|
933
|
+
/**
|
|
934
|
+
* Creates a unit by naming its parent alone; the customer is whoever the parent belongs to, so a caller that only knows its own ids never needs the customer routes. `parentExternalId` is looked up across the organization, ignoring letter case, among unit ids, customer external ids and aliases: a unit becomes the parent; a customer (by external id or alias) stands for the top of its tree, so the new unit goes under the root unit, or becomes the root when the customer has none. The parent is only ever named by your id, never by a Paid id, so a customer with no external id takes its units through the customer's unit routes. The answer carries the unit's `externalId` and its customer's ids, not Paid's unit id. `externalId` follows the same rules as on the customer-scoped create: required, immutable, unique within the organization ignoring letter case. `409 PARENT_NOT_FOUND` when nothing matches, `PARENT_NOT_ACTIVE` for a deleted or draft parent, `PARENT_AMBIGUOUS` when legacy rows let the id name more than one customer (use that customer's unit routes), `PARENT_CHANGED` when the reference pointed elsewhere by the time the create ran (send it again), and otherwise the customer-scoped create's 409s (`CUSTOMER_UNIT_EXISTS`, `EXTERNAL_ID_IN_USE`, `DEPTH_EXCEEDED`, `SEAT_BILLING`, and `ROOT_UNIT_ALWAYS_BILLABLE` for `billable: false` on a unit that would become the root). `403 FEATURE_NOT_ENABLED` for `billable: false` when non-billable units are not enabled for your organization.
|
|
935
|
+
*
|
|
936
|
+
* @param {Paid.CustomerUnitCreateUnderParent} request
|
|
937
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
938
|
+
*
|
|
939
|
+
* @throws {@link Paid.BadRequestError}
|
|
940
|
+
* @throws {@link Paid.ForbiddenError}
|
|
941
|
+
* @throws {@link Paid.ConflictError}
|
|
942
|
+
* @throws {@link Paid.InternalServerError}
|
|
943
|
+
*
|
|
944
|
+
* @example
|
|
945
|
+
* await client.customers.createCustomerUnitUnderParent({
|
|
946
|
+
* externalId: "team-research",
|
|
947
|
+
* parentExternalId: "dept-rnd"
|
|
948
|
+
* })
|
|
949
|
+
*/
|
|
950
|
+
createCustomerUnitUnderParent(request: Paid.CustomerUnitCreateUnderParent, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCreatedUnderParent>;
|
|
951
|
+
private __createCustomerUnitUnderParent;
|
|
952
|
+
/**
|
|
953
|
+
* Lists this customer's API keys, newest first and paginated, revoked and expired ones included. The secret is never returned; `keyPrefix` and `last4` identify each key. Addresses the customer by your external customer id.
|
|
954
|
+
*
|
|
955
|
+
* @param {Paid.ListCustomerApiKeysByExternalIdRequest} request
|
|
956
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
957
|
+
*
|
|
958
|
+
* @throws {@link Paid.BadRequestError}
|
|
959
|
+
* @throws {@link Paid.ForbiddenError}
|
|
960
|
+
* @throws {@link Paid.NotFoundError}
|
|
961
|
+
* @throws {@link Paid.InternalServerError}
|
|
962
|
+
*
|
|
963
|
+
* @example
|
|
964
|
+
* await client.customers.listCustomerApiKeysByExternalId({
|
|
965
|
+
* externalId: "customer_123"
|
|
966
|
+
* })
|
|
967
|
+
*/
|
|
968
|
+
listCustomerApiKeysByExternalId(request: Paid.ListCustomerApiKeysByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerApiKeyList>;
|
|
969
|
+
private __listCustomerApiKeysByExternalId;
|
|
970
|
+
/**
|
|
971
|
+
* Creates an API key bound to this customer. The response carries the secret in `key`, returned only this once: store it immediately, as Paid keeps only its hash. The key acts for this customer alone: it can send signals for this customer through `POST /api/v2/signals/bulk`, and every other route refuses it. Requires `write:api-keys`, which full-access keys hold; a restricted key needs the scope granted explicitly. Addresses the customer by your external customer id.
|
|
972
|
+
*
|
|
973
|
+
* @param {Paid.CreateCustomerApiKeyByExternalIdRequest} request
|
|
974
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
975
|
+
*
|
|
976
|
+
* @throws {@link Paid.BadRequestError}
|
|
977
|
+
* @throws {@link Paid.ForbiddenError}
|
|
978
|
+
* @throws {@link Paid.NotFoundError}
|
|
979
|
+
* @throws {@link Paid.InternalServerError}
|
|
980
|
+
*
|
|
981
|
+
* @example
|
|
982
|
+
* await client.customers.createCustomerApiKeyByExternalId({
|
|
983
|
+
* externalId: "customer_123",
|
|
984
|
+
* body: {
|
|
985
|
+
* name: "Tenant runtime (production)"
|
|
986
|
+
* }
|
|
987
|
+
* })
|
|
988
|
+
*/
|
|
989
|
+
createCustomerApiKeyByExternalId(request: Paid.CreateCustomerApiKeyByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerApiKeyCreated>;
|
|
990
|
+
private __createCustomerApiKeyByExternalId;
|
|
991
|
+
/**
|
|
992
|
+
* Revokes one of this customer's keys, which then stops authenticating. Keys are never deleted: a revoked key stays listed with `revokedAt` set, and deleting the customer revokes its keys too. Revoking an already revoked key returns it unchanged. `404` when the key does not belong to this customer. Addresses the customer by your external customer id.
|
|
993
|
+
*
|
|
994
|
+
* @param {Paid.RevokeCustomerApiKeyByExternalIdRequest} request
|
|
995
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
996
|
+
*
|
|
997
|
+
* @throws {@link Paid.BadRequestError}
|
|
998
|
+
* @throws {@link Paid.ForbiddenError}
|
|
999
|
+
* @throws {@link Paid.NotFoundError}
|
|
1000
|
+
* @throws {@link Paid.InternalServerError}
|
|
1001
|
+
*
|
|
1002
|
+
* @example
|
|
1003
|
+
* await client.customers.revokeCustomerApiKeyByExternalId({
|
|
1004
|
+
* externalId: "customer_123",
|
|
1005
|
+
* apiKeyId: "apiKeyId"
|
|
1006
|
+
* })
|
|
1007
|
+
*/
|
|
1008
|
+
revokeCustomerApiKeyByExternalId(request: Paid.RevokeCustomerApiKeyByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerApiKey>;
|
|
1009
|
+
private __revokeCustomerApiKeyByExternalId;
|
|
1010
|
+
/**
|
|
1011
|
+
* Lists this customer's API keys, newest first and paginated, revoked and expired ones included. The secret is never returned; `keyPrefix` and `last4` identify each key. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
1012
|
+
*
|
|
1013
|
+
* @param {Paid.ListCustomerApiKeysRequest} request
|
|
1014
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1015
|
+
*
|
|
1016
|
+
* @throws {@link Paid.BadRequestError}
|
|
1017
|
+
* @throws {@link Paid.ForbiddenError}
|
|
1018
|
+
* @throws {@link Paid.NotFoundError}
|
|
1019
|
+
* @throws {@link Paid.InternalServerError}
|
|
1020
|
+
*
|
|
1021
|
+
* @example
|
|
1022
|
+
* await client.customers.listCustomerApiKeys({
|
|
1023
|
+
* id: "cus_abc123"
|
|
1024
|
+
* })
|
|
1025
|
+
*/
|
|
1026
|
+
listCustomerApiKeys(request: Paid.ListCustomerApiKeysRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerApiKeyList>;
|
|
1027
|
+
private __listCustomerApiKeys;
|
|
1028
|
+
/**
|
|
1029
|
+
* Creates an API key bound to this customer. The response carries the secret in `key`, returned only this once: store it immediately, as Paid keeps only its hash. The key acts for this customer alone: it can send signals for this customer through `POST /api/v2/signals/bulk`, and every other route refuses it. Requires `write:api-keys`, which full-access keys hold; a restricted key needs the scope granted explicitly. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
1030
|
+
*
|
|
1031
|
+
* @param {Paid.CreateCustomerApiKeyRequest} request
|
|
1032
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1033
|
+
*
|
|
1034
|
+
* @throws {@link Paid.BadRequestError}
|
|
1035
|
+
* @throws {@link Paid.ForbiddenError}
|
|
1036
|
+
* @throws {@link Paid.NotFoundError}
|
|
1037
|
+
* @throws {@link Paid.InternalServerError}
|
|
1038
|
+
*
|
|
1039
|
+
* @example
|
|
1040
|
+
* await client.customers.createCustomerApiKey({
|
|
1041
|
+
* id: "cus_abc123",
|
|
1042
|
+
* body: {
|
|
1043
|
+
* name: "Tenant runtime (production)"
|
|
1044
|
+
* }
|
|
1045
|
+
* })
|
|
1046
|
+
*/
|
|
1047
|
+
createCustomerApiKey(request: Paid.CreateCustomerApiKeyRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerApiKeyCreated>;
|
|
1048
|
+
private __createCustomerApiKey;
|
|
1049
|
+
/**
|
|
1050
|
+
* Revokes one of this customer's keys, which then stops authenticating. Keys are never deleted: a revoked key stays listed with `revokedAt` set, and deleting the customer revokes its keys too. Revoking an already revoked key returns it unchanged. `404` when the key does not belong to this customer. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
1051
|
+
*
|
|
1052
|
+
* @param {Paid.RevokeCustomerApiKeyRequest} request
|
|
1053
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1054
|
+
*
|
|
1055
|
+
* @throws {@link Paid.BadRequestError}
|
|
1056
|
+
* @throws {@link Paid.ForbiddenError}
|
|
1057
|
+
* @throws {@link Paid.NotFoundError}
|
|
1058
|
+
* @throws {@link Paid.InternalServerError}
|
|
1059
|
+
*
|
|
1060
|
+
* @example
|
|
1061
|
+
* await client.customers.revokeCustomerApiKey({
|
|
1062
|
+
* id: "cus_abc123",
|
|
1063
|
+
* apiKeyId: "apiKeyId"
|
|
1064
|
+
* })
|
|
1065
|
+
*/
|
|
1066
|
+
revokeCustomerApiKey(request: Paid.RevokeCustomerApiKeyRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerApiKey>;
|
|
1067
|
+
private __revokeCustomerApiKey;
|
|
642
1068
|
/**
|
|
643
1069
|
* Returns the cap in force on this customer unit for one credits currency, with usage in the current period when available. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency, which is then used and echoed back. `404` when the customer or the unit does not exist, or the unit has no cap in force for that currency. The usage figures are advisory: other spend may land between this read and the next burn. Addresses the customer by your external customer id.
|
|
644
1070
|
*
|
|
@@ -660,7 +1086,7 @@ export declare class Customers {
|
|
|
660
1086
|
getCustomerUnitCapByExternalId(request: Paid.GetCustomerUnitCapByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapResponse>;
|
|
661
1087
|
private __getCustomerUnitCapByExternalId;
|
|
662
1088
|
/**
|
|
663
|
-
* Sets the cap on this customer unit for one credits currency
|
|
1089
|
+
* Sets the cap on this customer unit for one credits currency. Returns `changed: false` without creating a version when the effective timeline is unchanged; otherwise records a new version, preserving earlier rows. The newest version wins where they overlap. `effectiveFrom` controls applicability; `schedule` defines monthly UTC boundaries independently. Omit schedule to inherit the version covering effectiveFrom, or use the creation-time UTC day if none applies. Select the currency with `creditsCurrencyId` in the body; it may be omitted only when the organization has exactly one credits currency. A cap covers the unit and every unit beneath it, so a cap on the customer's root unit covers every unit of that customer; spend from a signal that names no unit counts toward no cap. `404` when the customer or the unit does not exist. `409` for customers on seat-based billing, a deleted unit (`CUSTOMER_UNIT_DELETED`) or a draft (`CUSTOMER_UNIT_DRAFT`). Addresses the customer by your external customer id.
|
|
664
1090
|
*
|
|
665
1091
|
* @param {Paid.SetCustomerUnitCapByExternalIdRequest} request
|
|
666
1092
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -703,6 +1129,28 @@ export declare class Customers {
|
|
|
703
1129
|
*/
|
|
704
1130
|
endCustomerUnitCapByExternalId(request: Paid.EndCustomerUnitCapByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapEndResponse>;
|
|
705
1131
|
private __endCustomerUnitCapByExternalId;
|
|
1132
|
+
/**
|
|
1133
|
+
* Returns the credits of one credits currency spent by this customer unit and every unit beneath it during a window, whether or not the unit has a cap. The window runs from `start` (inclusive) to `end` (exclusive), at most 366 days; omit both for the current calendar month (UTC). For a capped unit over its cap's current period, `spent` equals the cap's `used`. Spend from a signal that names no unit counts toward no unit. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency, which is then used and echoed back. `404` when the customer or the unit does not exist. Addresses the customer by your external customer id.
|
|
1134
|
+
*
|
|
1135
|
+
* @param {Paid.GetCustomerUnitSpendByExternalIdRequest} request
|
|
1136
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1137
|
+
*
|
|
1138
|
+
* @throws {@link Paid.BadRequestError}
|
|
1139
|
+
* @throws {@link Paid.ForbiddenError}
|
|
1140
|
+
* @throws {@link Paid.NotFoundError}
|
|
1141
|
+
* @throws {@link Paid.InternalServerError}
|
|
1142
|
+
*
|
|
1143
|
+
* @example
|
|
1144
|
+
* await client.customers.getCustomerUnitSpendByExternalId({
|
|
1145
|
+
* externalId: "customer_123",
|
|
1146
|
+
* externalCustomerUnitId: "tenant-a",
|
|
1147
|
+
* creditsCurrencyId: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf",
|
|
1148
|
+
* start: "2026-10-01T00:00:00Z",
|
|
1149
|
+
* end: "2026-11-01T00:00:00Z"
|
|
1150
|
+
* })
|
|
1151
|
+
*/
|
|
1152
|
+
getCustomerUnitSpendByExternalId(request: Paid.GetCustomerUnitSpendByExternalIdRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitSpendResponse>;
|
|
1153
|
+
private __getCustomerUnitSpendByExternalId;
|
|
706
1154
|
/**
|
|
707
1155
|
* Returns the cap in force on this customer unit for one credits currency, with usage in the current period when available. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency, which is then used and echoed back. `404` when the customer or the unit does not exist, or the unit has no cap in force for that currency. The usage figures are advisory: other spend may land between this read and the next burn. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
708
1156
|
*
|
|
@@ -724,7 +1172,7 @@ export declare class Customers {
|
|
|
724
1172
|
getCustomerUnitCap(request: Paid.GetCustomerUnitCapRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapResponse>;
|
|
725
1173
|
private __getCustomerUnitCap;
|
|
726
1174
|
/**
|
|
727
|
-
* Sets the cap on this customer unit for one credits currency
|
|
1175
|
+
* Sets the cap on this customer unit for one credits currency. Returns `changed: false` without creating a version when the effective timeline is unchanged; otherwise records a new version, preserving earlier rows. The newest version wins where they overlap. `effectiveFrom` controls applicability; `schedule` defines monthly UTC boundaries independently. Omit schedule to inherit the version covering effectiveFrom, or use the creation-time UTC day if none applies. Select the currency with `creditsCurrencyId` in the body; it may be omitted only when the organization has exactly one credits currency. A cap covers the unit and every unit beneath it, so a cap on the customer's root unit covers every unit of that customer; spend from a signal that names no unit counts toward no cap. `404` when the customer or the unit does not exist. `409` for customers on seat-based billing, a deleted unit (`CUSTOMER_UNIT_DELETED`) or a draft (`CUSTOMER_UNIT_DRAFT`). Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
728
1176
|
*
|
|
729
1177
|
* @param {Paid.SetCustomerUnitCapRequest} request
|
|
730
1178
|
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -767,5 +1215,27 @@ export declare class Customers {
|
|
|
767
1215
|
*/
|
|
768
1216
|
endCustomerUnitCap(request: Paid.EndCustomerUnitCapRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitCapEndResponse>;
|
|
769
1217
|
private __endCustomerUnitCap;
|
|
1218
|
+
/**
|
|
1219
|
+
* Returns the credits of one credits currency spent by this customer unit and every unit beneath it during a window, whether or not the unit has a cap. The window runs from `start` (inclusive) to `end` (exclusive), at most 366 days; omit both for the current calendar month (UTC). For a capped unit over its cap's current period, `spent` equals the cap's `used`. Spend from a signal that names no unit counts toward no unit. Select the currency with `creditsCurrencyId`; it may be omitted only when the organization has exactly one credits currency, which is then used and echoed back. `404` when the customer or the unit does not exist. Use the value returned as `customer.id`, for example `cus_abc123`; if you have your own customer ID, use the `/api/v2/customers/external/{externalId}/…` twin.
|
|
1220
|
+
*
|
|
1221
|
+
* @param {Paid.GetCustomerUnitSpendRequest} request
|
|
1222
|
+
* @param {Customers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1223
|
+
*
|
|
1224
|
+
* @throws {@link Paid.BadRequestError}
|
|
1225
|
+
* @throws {@link Paid.ForbiddenError}
|
|
1226
|
+
* @throws {@link Paid.NotFoundError}
|
|
1227
|
+
* @throws {@link Paid.InternalServerError}
|
|
1228
|
+
*
|
|
1229
|
+
* @example
|
|
1230
|
+
* await client.customers.getCustomerUnitSpend({
|
|
1231
|
+
* id: "cus_abc123",
|
|
1232
|
+
* externalCustomerUnitId: "tenant-a",
|
|
1233
|
+
* creditsCurrencyId: "7f4f5d4c-55e9-4d5b-a3e7-c9eb3d2d01bf",
|
|
1234
|
+
* start: "2026-10-01T00:00:00Z",
|
|
1235
|
+
* end: "2026-11-01T00:00:00Z"
|
|
1236
|
+
* })
|
|
1237
|
+
*/
|
|
1238
|
+
getCustomerUnitSpend(request: Paid.GetCustomerUnitSpendRequest, requestOptions?: Customers.RequestOptions): core.HttpResponsePromise<Paid.CustomerUnitSpendResponse>;
|
|
1239
|
+
private __getCustomerUnitSpend;
|
|
770
1240
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
771
1241
|
}
|