- #2033 Update generated code for private-preview
- Add support for
attach_cadence
method on resourceSubscription
- Add support for
currency
andexternalCustomerId
onbilling.AlertTriggered
- Add support for
customPricingUnit
onbilling.AlertTriggered
,billing.CreditBalanceSummary.balances[].available_balance
,billing.CreditBalanceSummary.balances[].ledger_balance
,billing.CreditBalanceTransaction.credit.amount
,billing.CreditBalanceTransaction.debit.amount
,billing.CreditGrant.amount
, andbilling.CreditGrantCreateParams.amount
- Add support for
customer
onbilling.AlertListParams
- Change type of
billing.Alert.alertType
,billing.AlertCreateParams.alertType
, andbilling.AlertListParams.alertType
fromliteral('usage_threshold')
toenum('credit_balance_threshold'|'usage_threshold')
- Add support for
creditBalanceThreshold
onbilling.AlertCreateParams
andbilling.Alert
- Add support for
billableItems
onbilling.CreditBalanceSummaryRetrieveParams.filter.applicability_scope
,billing.CreditGrant.applicability_config.scope
, andbilling.CreditGrantCreateParams.applicability_config.scope
- Change type of
billing.CreditBalanceSummary.balances[].available_balance.type
,billing.CreditBalanceSummary.balances[].ledger_balance.type
,billing.CreditBalanceTransaction.credit.amount.type
,billing.CreditBalanceTransaction.debit.amount.type
,billing.CreditGrant.amount.type
, andbilling.CreditGrantCreateParams.amount.type
fromliteral('monetary')
toenum('custom_pricing_unit'|'monetary')
- Add support for
licenseFeeSubscriptionDetails
andrateCardSubscriptionDetails
onInvoiceItem.parent
andInvoiceLineItem.parent
- Change type of
InvoiceItem.parent.type
fromliteral('subscription_details')
toenum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')
- Add support for
licenseFeeDetails
andrateCardRateDetails
onInvoiceItem.pricing
andInvoiceLineItem.pricing
- Change type of
InvoiceItem.pricing.type
andInvoiceLineItem.pricing.type
fromliteral('price_details')
toenum('license_fee_details'|'price_details'|'rate_card_rate_details')
- Add support for
billingCadence
onInvoiceCreatePreviewParams
,SubscriptionCreateParams
, andSubscription
- Add support for
billingCadenceDetails
onInvoice.parent
andQuotePreviewInvoice.parent
- Add support for new resources
v2.billing.BillSettingVersion
,v2.billing.BillSetting
,v2.billing.Cadence
,v2.billing.CollectionSettingVersion
,v2.billing.CollectionSetting
,v2.billing.CustomPricingUnit
,v2.billing.IntentAction
,v2.billing.Intent
,v2.billing.LicenseFeeSubscription
,v2.billing.LicenseFeeVersion
,v2.billing.LicenseFee
,v2.billing.LicensedItem
,v2.billing.MeteredItem
,v2.billing.PricingPlanComponent
,v2.billing.PricingPlanSubscription
,v2.billing.PricingPlanVersion
,v2.billing.PricingPlan
,v2.billing.Profile
,v2.billing.RateCardRate
,v2.billing.RateCardSubscription
,v2.billing.RateCardVersion
,v2.billing.RateCard
,v2.billing.ServiceAction
,v2.core.ClaimableSandbox
,v2.reporting.ReportRun
,v2.reporting.Report
, andv2.tax.AutomaticRule
- Add support for
create
,deactivate
,find
,retrieve
, andupdate
methods on resourcev2.tax.AutomaticRule
- Add support for
create
andretrieve
methods on resourcesv2.billing.ServiceAction
andv2.reporting.ReportRun
- Add support for
retrieve
method on resourcesv2.billing.LicenseFeeSubscription
andv2.reporting.Report
- Add support for
create
method on resourcesv2.core.ClaimableSandbox
- Add support for
cancel
,create
,list
,retrieve
, andupdate
methods on resourcesv2.billing.Cadence
andv2.billing.RateCardSubscription
- Add support for
create
,list
,retrieve
, andupdate
methods on resourcesv2.billing.BillSetting
,v2.billing.CollectionSetting
,v2.billing.CustomPricingUnit
,v2.billing.LicenseFee
,v2.billing.LicensedItem
,v2.billing.MeteredItem
,v2.billing.PricingPlan
,v2.billing.Profile
, andv2.billing.RateCard
- Add support for
list
andretrieve
methods on resourcesv2.billing.BillSettingVersion
,v2.billing.CollectionSettingVersion
,v2.billing.IntentAction
,v2.billing.LicenseFeeVersion
,v2.billing.PricingPlanSubscription
,v2.billing.PricingPlanVersion
, andv2.billing.RateCardVersion
- Add support for
create
,delete
,list
, andretrieve
methods on resourcev2.billing.RateCardRate
- Add support for
create
,delete
,list
,retrieve
, andupdate
methods on resourcev2.billing.PricingPlanComponent
- Add support for
cancel
,commit
,create
,list
,release_reservation
,reserve
, andretrieve
methods on resourcev2.billing.Intent
- Add support for
changes
onv2.Event
- Add support for thin events
V2BillingCadenceBilledEvent
,V2BillingCadenceCanceledEvent
,V2BillingCadenceCreatedEvent
, andV2BillingCadenceErroredEvent
with related objectv2.billing.Cadence
- Add support for thin events
V2BillingLicenseFeeCreatedEvent
andV2BillingLicenseFeeUpdatedEvent
with related objectv2.billing.LicenseFee
- Add support for thin event
V2BillingLicenseFeeVersionCreatedEvent
with related objectv2.billing.LicenseFeeVersion
- Add support for thin events
V2BillingLicensedItemCreatedEvent
andV2BillingLicensedItemUpdatedEvent
with related objectv2.billing.LicensedItem
- Add support for thin events
V2BillingMeteredItemCreatedEvent
andV2BillingMeteredItemUpdatedEvent
with related objectv2.billing.MeteredItem
- Add support for thin events
V2BillingPricingPlanCreatedEvent
andV2BillingPricingPlanUpdatedEvent
with related objectv2.billing.PricingPlan
- Add support for thin events
V2BillingPricingPlanComponentCreatedEvent
andV2BillingPricingPlanComponentUpdatedEvent
with related objectv2.billing.PricingPlanComponent
- Add support for thin events
V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
,V2BillingPricingPlanSubscriptionCollectionCurrentEvent
,V2BillingPricingPlanSubscriptionCollectionPastDueEvent
,V2BillingPricingPlanSubscriptionCollectionPausedEvent
,V2BillingPricingPlanSubscriptionCollectionUnpaidEvent
,V2BillingPricingPlanSubscriptionServicingActivatedEvent
,V2BillingPricingPlanSubscriptionServicingCanceledEvent
, andV2BillingPricingPlanSubscriptionServicingPausedEvent
with related objectv2.billing.PricingPlanSubscription
- Add support for thin event
V2BillingPricingPlanVersionCreatedEvent
with related objectv2.billing.PricingPlanVersion
- Add support for thin events
V2BillingRateCardCreatedEvent
andV2BillingRateCardUpdatedEvent
with related objectv2.billing.RateCard
- Add support for thin event
V2BillingRateCardRateCreatedEvent
with related objectv2.billing.RateCardRate
- Add support for thin events
V2BillingRateCardSubscriptionActivatedEvent
,V2BillingRateCardSubscriptionCanceledEvent
,V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
,V2BillingRateCardSubscriptionCollectionCurrentEvent
,V2BillingRateCardSubscriptionCollectionPastDueEvent
,V2BillingRateCardSubscriptionCollectionPausedEvent
,V2BillingRateCardSubscriptionCollectionUnpaidEvent
,V2BillingRateCardSubscriptionServicingActivatedEvent
,V2BillingRateCardSubscriptionServicingCanceledEvent
, andV2BillingRateCardSubscriptionServicingPausedEvent
with related objectv2.billing.RateCardSubscription
- Add support for thin event
V2BillingRateCardVersionCreatedEvent
with related objectv2.billing.RateCardVersion
- Add support for thin events
V2CoreHealthApiErrorFiringEvent
,V2CoreHealthApiErrorResolvedEvent
,V2CoreHealthApiLatencyFiringEvent
,V2CoreHealthApiLatencyResolvedEvent
,V2CoreHealthAuthorizationRateDropFiringEvent
,V2CoreHealthAuthorizationRateDropResolvedEvent
,V2CoreHealthEventGenerationFailureResolvedEvent
,V2CoreHealthFraudRateIncreasedEvent
,V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
,V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
,V2CoreHealthPaymentMethodErrorFiringEvent
,V2CoreHealthPaymentMethodErrorResolvedEvent
,V2CoreHealthTrafficVolumeDropFiringEvent
,V2CoreHealthTrafficVolumeDropResolvedEvent
,V2CoreHealthWebhookLatencyFiringEvent
, andV2CoreHealthWebhookLatencyResolvedEvent
- Add support for thin events
V2ReportingReportRunCreatedEvent
,V2ReportingReportRunFailedEvent
,V2ReportingReportRunSucceededEvent
, andV2ReportingReportRunUpdatedEvent
with related objectv2.reporting.ReportRun
- Add support for error type
RateLimitException
- ⚠️ The base class of
RateLimitException
has been changed fromInvalidRequestException
toApiException
. There is no change to the public interface for theRateLimitException
class.
- Add support for