UNPKG

chargebee

Version:

A library for integrating with Chargebee.

1,007 lines (831 loc) 195 kB
### v3.16.2 (2025-12-17) * * * ### Improvements: * `WebhookContentType` is now deprecated but still available for backward compatibility. ### v3.16.1 (2025-12-17) * * * ### Improvements: * Renamed `WebhookContentType` to `WebhookEventType` for better clarity. `WebhookContentType` is now deprecated but still available for backward compatibility. * Added runtime export of `WebhookEventType` enum. ### v3.16.0 (2025-12-01) * * * ### New Resources: * Einvoice has been added. * QuotedDeltaRamp has been added. ### New Attributes: * line_items_next_offset has been added to CreditNote. * line_items_next_offset has been added to Invoice. * credit_lines has been added to SalesOrder. * billable_unit_price has been added to SalesOrder#LineItem. * billable_quantity has been added to SalesOrder#LineItem. * billable_amount has been added to SalesOrder#LineItem. ### New Endpoint: * move action has been added to ItemPrice. ### New Parameters: * line_items_limit has been added to CreditNote#RetrieveRequest. * line_items_offset has been added to CreditNote#RetrieveRequest. * line_items_limit has been added to Invoice#RetrieveRequest. * line_items_offset has been added to Invoice#RetrieveRequest. * item_tiers has been added to Estimate#GiftSubscriptionForItemsRequest. * unit_price has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest. * unit_price_in_decimal has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest. * item_tiers has been added to Gift#CreateForItemsRequest. * meta_data has been added to Gift#CreateForItemsRequest. * unit_price has been added to Gift#SubscriptionItems#CreateForItemsRequest. * unit_price_in_decimal has been added to Gift#SubscriptionItems#CreateForItemsRequest. * item_tiers has been added to HostedPage#CheckoutGiftForItemsRequest. * unit_price has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest. * unit_price_in_decimal has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest. * auto_select_local_currency has been added to PricingPageSession#CreateForNewSubscriptionRequest. ### New Enums: * EZIDEBIT has been added to GatewayEnum. * BUSINESS_RULE has been added to EntityTypeEnum. * RULESET has been added to EntityTypeEnum. ### v3.15.1 (2025-10-29) * * * ### Bug Fixes: * Resolves(#88): an issue where requests made with the GET methods incorrectly included a request body, causing the Request interface to throw an error. ### v3.15.0 (2025-10-28) * * * ### New Attributes: * reference_transactions has been added to Invoice. * payment_attempts[] has been added to PaymentIntent. * checkout_details has been added to PaymentIntent#PaymentAttempt. * line_item_id has been added to CreditNoteEstimate#Discount. * line_item_id has been added to CreditNote#Discount. * line_item_id has been added to InvoiceEstimate#Discount. * line_item_id has been added to Invoice#Discount. * line_item_id has been added to InvoiceEstimate#Discount. * line_item_id has been added to Quote#Discount. * line_item_id has been added to QuoteLineGroup#Discount. ### Modified Attributes: * omnichannel_subscription_item_offers has been made optional attribute from required attribute. ### New Input Parameters: * discount[line_item_id] has been added to CreditNote#ImportCreditNoteRequest. * discount[line_item_id] has been added to CreditNote#ImportInvoiceRequest. ### New Enums: * OMNICHANNEL_TRANSACTION_CREATED has been added to EventTypeEnum. * DEUTSCHE_BANK has been added to Gateway. ### Enhancements * Added support for injectable **custom HTTP clients**. * Added example implementation using **Axios**. * Added example implementation using **ky**. * Removed support for `http` and `https` based HttpClient as the minimum supported Node.js version for this package is >= 18. ### v3.14.0 (2025-09-23) * * * ### New Resources: * PersonalizedOffer has been added. * OfferFulfillment has been added. * OfferEvent has been added. * OmnichannelSubscriptionItemOffer has been added. ### New Attributes: * business_entity_id has been added to Customer#Balance. * processor_advice_code has been added to GatewayErrorDetail. * processor_advice_code has been added to Transaction#GatewayErrorDetail. * omnichannel_subscription_item_offers has been added to OmnichannelSubscriptionItem. * linked_omnichannel_subscriptions has been added to OmnichannelTransaction. * linked_omnichannel_one_time_orders has been added to OmnichannelTransaction. * contract_term has been added to Ramp. * charge_once has been added to Ramp#ItemsToAdd. * charge_on_option has been added to Ramp#ItemsToAdd. * charge_on_event has been added to Ramp#ItemsToAdd. * charge_once has been added to Ramp#ItemsToUpdate. * charge_on_option has been added to Ramp#ItemsToUpdate. * charge_on_event has been added to Ramp#ItemsToUpdate. * error_file_path has been added to UsageFile. * error_file_url has been added to UsageFile. ### New Endpoint: * move has been added to OmnichannelSubscription. ### New Parameters: * offline_payment_method has been added to Estimate#CreateSubItemEstimateRequest. * offline_payment_method has been added to Estimate#CreateSubItemForCustomerEstimateRequest. * offline_payment_method has been added to HostedPage#CheckoutNewForItemsRequest. * offline_payment_method has been added to Quote#SubscriptionCreateSubItemsForCustomerQuoteRequest. * offline_payment_method has been added to Quote#SubscriptionEditCreateSubCustomerQuoteForItemsRequest. * contract_term has been added to Ramp#CreateForSubscriptionRequest. * items_to_add has been added to Ramp#CreateForSubscriptionRequest. * items_to_update has been added to Ramp#CreateForSubscriptionRequest. * contract_term has been added to Ramp#UpdateRequest. * items_to_add has been added to Ramp#UpdateRequest. * items_to_update has been added to Ramp#UpdateRequest. ### New Enums: * DUNNING_UPDATED has been added EventType. * OMNICHANNEL_SUBSCRIPTION_MOVED_IN has been added to EventType. ### Bug Fixes: * currency list action has been marked as ListRequest. * index has been removed from CreditNote#ShippingAddress. * index has been removed from Invoice#ShippingAddress * index has been removed from Order#ShippingAddress. * index has been removed from Quote#ShippingAddress. * index has been removed from SubscriptionEstimate#ShippingAddress. * index has been removed from Subscription#ShippingAddress. ### v3.13.0 (2025-09-15) * * * ### New Resources: * BusinessEntityChange has been added. * Product has been added. * SalesOrder has been added. * UsageReminderInfo has been added. * Variant has been added. ### New Enhancement: * Content of HostedPages and Events now have a type. * WebhookEvent has been added for better type mapping with actual event and webhook content. ### v3.12.0 (2025-08-19) * * * ### New Resources: * WebhookEndpoints has been added. * OmnichannelOneTimeOrder has been added. * OmnichannelOneTimeOrderItem has been added. ### New Attributes: * business_entity_id has been added to Comment. * business_entity_id has been added to PromotionalCredit. * quantity has been added to Discount. * business_entity_id has been added to PromotionalCredit. * coupon_applicability_mappings[] has been added to QuotedCharge. * linked_omnichannel_one_time_orders[] has been added to RecordedPurchase. * quantity has been added to Subscripiton#Discount. ### New Input Parameters: * transaction[id] has been added to Customer#RecordExcessPaymentRequest. * discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest. * consolidate_entitlements has been added to CustomerEntitlement#EntitlementsForCustomer. * discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest. * discounts[quantity][] has been added to Estimate#CreateSubItemForCustomerEstimateRequest. * discounts[quantity][] has been added to Estimate#UpdateSubscriptionForItemsRequest. * discounts[quantity][] has been added to Estimate#CreateInvoiceForItemsRequest. * discounts[quantity][] has been added to HostedPage#CheckoutOneTimeForItemsRequest. * discounts[quantity][] has been added to HostedPage#CheckoutNewForItemsRequest. * discounts[quantity][] has been added to HostedPage#CheckoutExistingForItemsRequest. * discounts[quantity][] has been added to PricingPageSession#CreateForNewSubscriptionRequest. * discounts[quantity][] has been added to PricingPageSession#CreateForExistingSubscriptionRequest. * discounts[quantity][] has been added to Purchase#CreateRequest. * discounts[quantity][] has been added to Purchase#EstimateRequest. * discounts[quantity][] has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * discounts[quantity][] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. * discounts[quantity][] has been added to Quote#UpdateSubscriptionQuoteForItemsRequest. * discounts[quantity][] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest. * discounts[quantity][] has been added to Quote#CreateForChargeItemsAndChargesRequest. * discounts[quantity][] has been added to Quote#EditForChargeItemsAndChargesRequest. * discounts[quantity][] has been added to Subscription#CreateWithItemsRequest. * discounts[quantity][] has been added to Subscription#UpdateForItemsRequest. * discounts[quantity][] has been added to Subscription#ImportForItemsRequest. * google_play_store[product_id] has been added to RecordedPurchase#CreateRequest. * google_play_store[order_id] has been added to RecordedPurchase#CreateRequest. ### New Enums * PAUSE has been added to OmnichannelSubscriptionItemScheduledChange#ChangeType. * OFFER_QUANTITY has been added to Discount#Type. * OFFER_QUANTITY has been added to Subscription#Discount#Type. * OMNICHANNEL_ONE_TIME_ORDER has been added to EntityType. * OMNICHANNEL_ONE_TIME_ORDER_ITEM has been added to EntityType. * USAGE_FILE has been added to EntityType. * OMNICHANNEL_ONE_TIME_ORDER_CREATED has been added to EventType. * OMNICHANNEL_ONE_TIME_ORDER_ITEM_CANCELLED has been added to EventType. * USAGE_FILE_INGESTED has been added to EventType. * OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSE_SCHEDULED has been added to EventType. ### v3.12.0-beta.1 (2025-07-23) * * * ### Bug Fixes: * Resolved a module dependency issue that was causing runtime failures in the Edge environment. ### v3.11.0 (2025-07-18) * * * ### New Resources: * BillingConfiguration has been added. * Brand has been added. ### New Attributes: * has_children has been added to Hierarchy * coupon_applicability_mappings has been added to QuotedRamp. ### New Endpoint: * listHierarchyDetail has been added to Customer. ### New Input parameters: * change_reason children has been added to Entitlement#CreateRequest. * entitlements[apply_grandfathering] has been added to Entitlement#CreateRequest. * replace_primary_payment_source has been added to Purchase#CreateRequest. * omnichannel_subscription has been added to RecordedPurchase#CreateRequest. * contract_term has been added to Subscription#RemoveScheduledCancellationRequest. * contract_term_billing_cycle_on_renewal has been added to Subscription#RemoveScheduledCancellationRequest. ### New Enums: * payconiq_by_bancontact has been added to PaymentMethodType. * solidgate has been added to Gateway. * solidgate has been added to PaymentMethod. ### v3.10.0 (2025-06-30) * * * ### New Features * Added `userAgentSuffix` to the environment config to allow appending custom text to the `User-Agent` header. ### v3.9.0 (2025-06-23) * * * ### New Features * Added built-in retry support for handling transient errors and rate-limiting. * Retries are now supported for HTTP status codes 500, 502, 503, 504, and 429. * Includes exponential backoff for server errors and Retry-After respect for rate limits (429). * Configurable via retryConfig during SDK initialization. ### v3.8.0 (2025-06-19) * * * ### New Resources * QuotedRamp has been added. ### New Attributes * chargebee_response_schema_type has been added to Configuration. * linked_item has been added to OmnichannelSubscriptionItem. * resumes_at has been added to OmnichannelSubscriptionItem. ### Changed Attributes * percentage changed to is_percentage_pricing in CreditNote. * percentage changed to is_percentage_pricing in QuoteLineGroup. * percentage changed to is_percentage_pricing in CreditNoteEstimate. * percentage changed to is_percentage_pricing in Invoice. * percentage changed to is_percentage_pricing in InvoiceEstimate. * percentage changed to is_percentage_pricing in Quote. ### New Input Parameters * is_percentage_pricing has been added to Item#UpdateRequest. * line_item[subscription_id] has been added to CreditNote#RetrieveRequest. * line_item[customer_id] has been added to CreditNote#RetrieveRequest. * line_item[subscription_id] has been added to Invoice#RetrieveRequest. * line_item[customer_id] has been added to Invoice#RetrieveRequest. * billing_override[max_excess_payment_usage] has been added to Estimate#CreateSubItemForCustomerEstimateRequest. * billing_override[max_refundable_credits_usage] has been added to Estimate#CreateSubItemForCustomerEstimateRequest. * billing_override[max_excess_payment_usage] has been added to Estimate#UpdateSubscriptionForItemsRequest. * billing_override[max_refundable_credits_usage] has been added to Estimate#UpdateSubscriptionForItemsRequest. * billing_start_option has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * net_term_days has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * billing_address has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * subscription_items has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * discounts has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * billing_start_option has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. * net_term_days has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. * billing_address has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. * subscription_items has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. * discounts has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. * net_term_days has been added to Quote#UpdateSubscriptionQuoteForItemsRequest. * subscription_items has been added to Quote#UpdateSubscriptionQuoteForItemsRequest. * discount has been added to Quote#UpdateSubscriptionQuoteForItemsRequest. * coupons has been added to Quote#UpdateSubscriptionQuoteForItemsRequest. * net_term_days has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest. * subscription_items has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest. * discounts has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest. * coupons has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest. * billing_address has been added to Quote#CreateForChargeItemsAndChargesRequest. * billing_address has been added to Quote#EditForChargeItemsAndChargesRequest. * sort_by[order] has been added to Subscription#SubscriptionContractTermsForSubscriptionRequest. * item_tiers has been added to Quote#UpdateSubscriptionQuoteForItemsRequest. * item_tiers has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest. * item_tiers has been added to Quote#CreateSubItemsForCustomerQuoteRequest. * item_tiers has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest. ### New Endpoints: * PauseDunningRequest has been added to Invoice. * ResumeDunningRequest has been added to Invoice. ### Enum Attributes: * BillingPeriodUnitEnum has been added. * BillingStartOptionEnum has been added. * OMNICHANNEL_SUBSCRIPTION_ITEM_RESUMED has been added to EventTypeEnum. ### v3.7.0 (2025-05-15) * * * ### New Resources * UsageFile has been added. ### Input Parameter * discount[apply_on] has been made optional from required in Estimate#CreateSubItemEstimateRequest. * discount[apply_on] has been made optional from required in Estimate#CreateSubItemForCustomerEstimateRequest. * discount[apply_on] has been made optional from required in Estimate#UpdateSubscriptionForItemsRequest. * discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest. * discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest. * discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest. * discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest. * discount[apply_on] has been made optional from required in PricingPageSession#CheckoutNewForItemsRequest. * discount[apply_on] has been made optional from required in PricingPageSession#CreateForExistingSubscriptionRequest. * discount[apply_on] has been made optional from required in Quote#CreateSubItemsForCustomerQuoteRequest. * discount[apply_on] has been made optional from required in Quote#EditCreateSubCustomerQuoteForItemsRequest. * discount[apply_on] has been made optional from required in Quote#UpdateSubscriptionQuoteForItemsRequest. * discount[apply_on] has been made optional from required in Quote#EditUpdateSubscriptionQuoteForItemsRequest. * discount[apply_on] has been made optional from required in Subscription#CreateWithItemsRequest. * discount[apply_on] has been made optional from required in Subscription#UpdateForItemsRequest. * discount[apply_on] has been made optional from required in Subscription#ImportForItemsRequest. * line_item_addresses[] has been added to Invoice#ImportInvoiceRequest. * source has been added to OmnichannelSubscription#OmnichannelSubscriptionListRequest. ### Attributes: * swift_code has been made optional from required in VirtualBankAccount. ### Enum Attributes: * OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSED has been added to EventTypeEnum. * PAUSED has been added to OmnichannelSubscriptionItem#StatusEnum. * MERCHANT_REVOKED has been added to OmnichannelSubscriptionItem#CancellationReasonEnum. ### v3.6.1 (2025-04-25) * * * ### Bug fixes: * Fixed an issue where the optional boolean field is_percentage_pricing at Item Model was incorrectly marked as required. * Fixed an issue where the optional enum field item_applicability at Item Model was incorrectly marked as required. ### v3.6.0 (2025-04-23) * * * ### New Resources: * OmnichannelSubscriptionItemScheduledChange has been added. ### New Attributes: * pricing_type has been added to DifferentialPrice#Tier. * package_size has been added to DifferentialPrice#Tier. * pricing_type has been added to ItemPrice#Tier. * package_size has been added to ItemPrice#Tier. * pricing_type has been added to Addon#Tier. * package_size has been added to Addon#Tier. * pricing_type has been added to Plan#Tier. * package_size has been added to Plan#Tier. * pricing_type has been added to CreditNote#LineItemTier. * package_size has been added to CreditNote#LineItemTier. * pricing_type has been added to CreditNoteEstimate#LineItemTier. * package_size has been added to CreditNoteEstimate#LineItemTier. * pricing_type has been added to DifferentialPrice#Tier. * package_size has been added to DifferentialPrice#Tier. * pricing_type has been added to Invoice#LineItemTier. * package_size has been added to Invoice#LineItemTier. * pricing_type has been added to InvoiceEstimate#LineItemTier. * package_size has been added to InvoiceEstimate#LineItemTier. * pricing_type has been added to Quote#LineItemTier. * package_size has been added to Quote#LineItemTier. * pricing_type has been added to QuotedCharge#LineItemTier. * package_size has been added to QuotedCharge#LineItemTier. * pricing_type has been added to QuotedSubscription#LineItemTier. * package_size has been added to QuotedSubscription#LineItemTier. * pricing_type has been added to Ramp#ItemTier. * package_size has been added to Ramp#ItemTier. * pricing_type has been added to Subscription#ItemTier. * package_size has been added to Subscription#ItemTier. * pricing_type has been added to UnbilledCharges#Tier. * package_size has been added to UnbilledCharges#Tier. * metered has been added to CreditNote#LineItem. * metered has been added to CreditNoteEstimate#LineItem. * metered has been added to Invoice#LineItem. * metered has been added to Quote#LineItem. * metered has been added to QuoteLineGroup#LineItem. * usage_percentage has been changed to percentage in CreditNote#LineItem. * usage_percentage has been changed to percentage in CreditNoteEstimate#LineItem. * usage_percentage has been changed to percentage in Invoice#LineItem. * usage_percentage has been changed to percentage in Quote#LineItem. * usage_percentage has been changed to percentage in QuoteLineGroup#LineItem. * line_item_addresses has been added to CreditNote. * line_item_addresses has been added to Invoices. * line_item_addresses has been added to InvoiceEstimate. * has_scheduled_changes has been added on OmnichannelSubscriptionItem. * item_parent_id_at_source has been added to OmnichannelSubscriptionItem. * auto_renew_status has been added to OmnichannelSubscriptionItem. * upcoming_renewal has been added to OmnichannelSubscriptionItem. * is_percentage_pricing has been added to Item. ### New Action: * listOmniSubItemScheduleChanges has been added to OmnichannelSubscriptionItem. ### Optional Attribute: * price_currency has been made optional from requried in OmnichannelTransaction. * price_units has been made optional from requried in OmnichannelTransaction. * price_nanos has been made optional from requried in OmnichannelTransaction. * transacted_at has been made optional from requried in OmnichannelTransaction. ### New Input Params: * item_tiers[pricing_type] has been added to DifferentialPrice#CreateInputParam. * item_tiers[package_size] has been added to DifferentialPrice#CreateInputParam. * item_tiers[pricing_type] has been added to ItemPrice#CreateInputParam. * item_tiers[package_size] has been added to ItemPrice#CreateInputParam. * tiers[pricing_type] has been added to DifferentialPrice#CreateInputParam. * tiers[package_size] has been added to DifferentialPrice#CreateInputParam. * item_tiers[pricing_type] has been added to Estimate#CreateSubItemEstimateRequestInputParam. * item_tiers[package_size] has been added to Estimate#CreateSubItemEstimateRequestInputParam. * item_tiers[pricing_type] has been added to Estimate#CreateSubItemForCustomerRequestInputParam. * item_tiers[package_size] has been added to Estimate#CreateSubItemForCustomerRequestInputParam. * item_tiers[pricing_type] has been added to Estimate#UpdateSubscriptionForItemsRequestInputParam. * item_tiers[package_size] has been added to Estimate#UpdateSubscriptionForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Estimate#CreateInvoiceForItemsRequestInputParam. * item_tiers[package_size] has been added to Estimate#CreateInvoiceForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Estimate#CheckoutNewForItemsRequestInputParam. * item_tiers[package_size] has been added to Estimate#CheckoutNewForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Estimate#CheckoutOneTimeForItemsRequestInputParam. * item_tiers[package_size] has been added to Estimate#CheckoutOneTimeForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Estimate#CheckoutExistingForItemsRequestInputParam. * item_tiers[package_size] has been added to Estimate#CheckoutExistingForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Invoice#CreateForChargeItemsAndChargesRequestInputParam. * item_tiers[package_size] has been added to Invoice#CreateForChargeItemsAndChargesRequestInputParam. * item_tiers[pricing_type] has been added to Invoice#CreateForChargeItemRequestInputParam. * item_tiers[package_size] has been added to Invoice#CreateForChargeItemRequestInputParam. * item_tiers[pricing_type] has been added to Invoice#AddChargeItemRequestInputParam. * item_tiers[package_size] has been added to Invoice#AddChargeItemRequestInputParam. * item_tiers[pricing_type] has been added to Quote#CreateSubItemsForCustomerQuoteRequestInputParam. * item_tiers[package_size] has been added to Quote#CreateSubItemsForCustomerQuoteRequestInputParam. * item_tiers[pricing_type] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequestInputParam. * item_tiers[package_size] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Quote#UpdateSubscriptionQuoteForItemsRequestInputParam. * item_tiers[package_size] has been added to Quote#UpdateSubscriptionQuoteForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequestInputParam. * item_tiers[package_size] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Quote#CreateForChargeItemsAndChargesRequestInputParam. * item_tiers[package_size] has been added to Quote#CreateForChargeItemsAndChargesRequestInputParam. * item_tiers[pricing_type] has been added to Quote#EditForChargeItemsAndChargesRequestInputParam. * item_tiers[package_size] has been added to Quote#EditForChargeItemsAndChargesRequestInputParam. * item_tiers[pricing_type] has been added to Ramp#CreateForSubscriptionRequestInputParam. * item_tiers[package_size] has been added to Ramp#CreateForSubscriptionRequestInputParam. * item_tiers[pricing_type] has been added to Ramp#UpdateRequestInputParam. * item_tiers[package_size] has been added to Ramp#UpdateRequestInputParam. * item_tiers[pricing_type] has been added to Subscription#CreateWithItemsRequestInputParam. * item_tiers[package_size] has been added to Subscription#CreateWithItemsRequestInputParam. * item_tiers[pricing_type] has been added to Subscription#UpdateForItemsRequestInputParam. * item_tiers[package_size] has been added to Subscription#UpdateForItemsRequestInputParam. * item_tiers[pricing_type] has been added to Subscription#ImportForItemsRequestInputParam. * item_tiers[package_size] has been added to Subscription#ImportForItemsRequestInputParam. * item_tiers[pricing_type] has been added to UnbilledCharged#CreateRequestInputParam. * item_tiers[package_size] has been added to UnbilledCharged#CreateRequestInputParam. * billing_address has been added to Estimate#CreateInvoiceForItemsRequestInputParam. * google_play_store[purchase_token] has been added to RecordedPurchase#CreateRequestInputParam. * is_percentage_pricing has been added to Item#CreateRequest. * include_deleted has been added to PaymentSource#ListRequest. ### New Enums: * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CHANGE has been added to EntityType#Enum. * OMNICHANNEL_SUBSCRIPTION_ITEM_CHANGE_SCHEDULED has been added to EventType#Enum. * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CHANGE_REMOVED has been added to EventType#Enum. * OMNICHANNEL_SUBSCRIPTION_ITEM_REACTIVATED has been added to EventType#Enum. * GOOGLE_PLAY_STORE has been added to OminchannelSubscription#SourceEnum. * SPECIFIC_DATE has been added to ContractTermCancelOption. * END_OF_SUBSCRIPTION_BILLING_TERM has been added to ContractTermCancelOption. * PAYSTACK has been added to GatewayEnum. * PricingType Enum has been added. * JP_MORGAN has been added to GatewayEnum. ### Deprecated Enums: * OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED has been deprecated from EntityType#Enum. * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED has been deprecated from EntityType#Enum. * REFUNDED_DUE_TO_APP_ISSUE has been added to OmnichannelSubscriptionItem#CancellationReasonEnum. * REFUNDED_FOR_OTHER_REASON has been added to OmnichannelSubscriptionItem#CancellationReasonEnum. ### v3.5.0 (2025-03-06) * * * ### New Input Params: * created_at has been added to Invoice#LineItemsImportInputParams. * PaymentIntent has been added to Purchase#CreateInputParams. ### New Enums: * SUBSCRIPTION_ENTITLEMENTS_UPDATED has been added to EventType#Enum. ### v3.4.0 (2025-02-10) * * * #### New Resources: * Rule has been added. * UsageEvent has been added. #### New Attribute: * deleted has been added to AttachedItem. * deleted has been added to Coupon. * deleted has been added to DifferentialPrice. * deleted has been added to ItemFamily. * deleted has been added to ItemPrice. * deleted has been added to Item. * deleted has been added to PriceVariant. * tax_application has abeend added to CreditNote#Allocation. * tax_application has been added to Invoice#AppliedCredit. * line_item_credit has been added to Invoice. #### New Input Params: * exhausted_coupon_ids has been added to Subscription#ImportForItems. #### New Enums * STORE has been added in CreditNote#TypeEnum. * STORE has been added in CreditNoteEstimate#TypeEnum. * STORE has been added in Order#TypeEnum. * TaxApplicationEnum has been added in CreditNote#Application. * TaxApplicationEnum has been added in Invoice#AppliedCredit. * RECORDED_PURCHASE has been added in EntityTypeEnum. * RECORD_PURCHASE_FAILED, has been added in EventTypeEnum. #### Deleted Input Params * tax_providers_fields has been removed from Customer#MoveParams. * tax_providers_fields has been removed from Customer#MergeParams #### Deprecated input params. * deprecated label in discount_quantity has been removed from Coupon#CreateParams. * deprecated label in discount_quantity has been removed from Coupon#UpdateParams. * deprecated label in discount_quantity has been removed from Coupon#CreateForItemsParams. * deprecated label in discount_quantity has been removed from Coupon#UpdateForItemsParams. ### v3.3.0 (2024-12-19) * * * #### New Resource: * Configuration has been added. #### New Attribute: * discount_type has been added to CreditNote#Discount. * discount_type has been added to CreditNoteEstimate#Discount. * discount_type has been added to Invoice#Discount. * discount_type has been added to InvoiceEstimate#Discount. * discount_type has been added to QuoteLineGroup#Discount. * initial_purchase_transaction has been added to OmnichannelSubscription. * error_cause_id has been added to GatewayErrorDetail. * error_cause_id has been added to Transaction#GatewayErrorDetail. * error_cause_id has been added to APIError. * deleted has been added to Quote. * current_term_start has been added to QuotedSubscripiton#SubscriptionItem. * current_term_end has been added to QuotedSubscripiton#SubscriptionItem. * next_billing_at has been added to QuotedSubscripiton#SubscriptionItem. * current_term_start has been added to Subscription#SubscriptionItem. * current_term_end has been added to Subscription#SubscriptionItem. * next_billing_at has been added to Subscription#SubscriptionItem. * billing_override has been added to Subscription. * grace_period_expires_at has been added to OmnichannelSubscriptionItem. #### New Input Params: * billing_override has been added to Subscription#CreateWithItemsInputParam. * billing_override has been added to Subscription#UpdateForItemsInputParam. #### New Enum Values: * OMNICHANNEL_SUBSCRIPTION_IMPORTED has been added to EventTypeEnum. * DISABLED has been added to Event#WebhookStatus. * OMNICHANNEL_SUBSCRIPTION_ITEM_GRACE_PERIOD_STARTED has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_GRACE_PERIOD_EXPIRED has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_DUNNING_STARTED has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_DUNNING_EXPIRED has been added to EventTypeEnum. * IGNORED has been added to RecordedPurchase#StatusEnum. * IN_DUNNING & IN_GRACE_PERIOD have been added to OmnichannelSubscriptionItem#StatusEnum. ### v3.2.1 (2024-12-04) * * * #### Bug Fixes * unable to access content of HostedPage & Event (#57). * uncaught promise in case of fetch failure (#58). ### v3.2.0 (2024-11-27) * * * #### New Resource: * OmnichannelSubscriptionItem has been added. #### New Attribute: * resource_version has been added to OmnichannelSubscription. * resource_version has been added to OmnichannelTransaction. * resource_version has been added to RecordedPurchase. #### New Input Parameters: * limit has been added to OmnichannelSubscription#ListRequest. * offset has been added to OmnichannelSubscription#ListRequest. * customer_id has been added to OmnichannelSubscription#ListRequest. * replace_coupon_list has been added to HostedPage#CheckoutExistingRequest. * replace_coupon_list has been added to HostedPage#CheckoutExistingForItemsRequest. * subscription[po_number] has been added to HostedPage#CheckoutNewForItemsRequest. #### Removed Subresource: * OmnichannelSubscriptionItem subresource has been removed from OmnichannelSubscription and is now a standalone resource. #### Removed Attribute: * metadata has been removed from subscription. ### v3.1.0 (2024-11-14) * * * #### New Resource: * OmnichannelTransaction has been added. * OmnichannelSubscription has been added. * RecordedPurchase has been added. #### New Attributes: * business_entity_id has been added to AttachedItem. * business_entity_id has been added to DifferentialPrice. * business_entity_id has been added to Items. * business_entity_id has been added to ItemFamily. * business_entity_id has been added to ItemPrice. * business_entity_id has been added to PriceVariant. * valid_from has been added to coupon. #### New Input Parameters: * business_entity_id has been added to AttachedItem#CreateRequest. * preferred_scheme has been added to Card#UpdateCardForCustomerRequest. * valid_from has been added to Coupon#CreateForItem & Coupon#UpdateForItemsRequest. * preferred_scheme has been added to Customer#CreateRequest & Customer#CollectPaymentRequest. * business_entity_id has been added to DifferentialPrice#CreateRequest. * preferred_scheme has been added to Invoice#CreateRequest & Invoice#CreateForChargeItemsAndChargesRequest. * business_entity_id has been added to Items#CreateRequest. * business_entity_id & include_site_level_resources have been added to Items#ListItemParams. * business_entity_id has been added to ItemFamily#CreateRequest. * business_entity_id & include_site_level_resources have been added to ItemFamily#ListItemFamilyParams. * business_entity_id has been added to ItemPrice#CreateRequest. * business_entity_id & include_site_level_resources have been added to ItemPrice#ListItemPriceParams. * business_entity_id & include_site_level_resources have been added to PriceVariant#ListItemFamilyParams. * business_entity_id has been added to PriceVariant#CreateRequest. * business_entity_id & include_site_level_resources have been added to PriceVariant#ListPriceVariantParams. * preferred_scheme has been added to Subscription#CreateRequest, Subscription#UpdateRequest. * preferred_scheme Subscription#UpdateForItemsRequest, & Subscription#ImportSubscriptionRequest. * business_entity_id & include_site_level_resources have been added to Export#ItemFamiliesRequest & Export#ItemsRequest. * business_entity_id & include_site_level_resources have been added to Export#ItemPricesRequest Export#PriceVariantsRequest * name & flexible_schedules[period] have been added to PaymentScheduleScheme#CreateRequest. #### New Enum Values: * FUTURE has been added to Coupon#StatusEnum. * EXISTING_CUSTOMER & NEW_CUSTOMER have been added to Coupon#TypeEnum. * LATE_FAILURE has added to Transation#LinkedPaymentEnum & Transation#StatusEnum. * OMNICHANNEL_SUBSCRIPTION, has been added to EntityTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM, has been added to EntityTypeEnum. * OMNICHANNEL_TRANSACTION, has been added to EntityTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_RENEWED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_CREATED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_EXPIRED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLATION_SCHEDULED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CANCELLATION_REMOVED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_RESUBSCRIBED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_UPGRADED, has been added to EventTypeEnum. * OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLED, has been added to EventTypeEnum. ## v3.0.2 (2024-11-09) ### Bug fixes: * Fix minor typo in .npmignore that caused the types folder to be missed. Resolves #55. ## v3.0.1 (2024-11-06) * Updated README. ## v3.0.0 (2024-11-06) * Releasing major version `v3.0.0` :tada: ### v3.0.0-beta.5 (2024-11-05) #### Naming Convention Fix: * New suffix Enum has been added to global type. * payment_vouchersForInvoice has been renamed to paymentVouchersForInvoice. * payment_vouchersForCustomer has been renamed to paymentVouchersForCustomer. * Payment_vouchersForInvoiceResponse has been renamed to PaymentVouchersForInvoiceResponse. * Payment_vouchersForCustomerResponse has been renmed to PaymentVouchersForCustomerResponse. ### v3.0.0-beta.4 (2024-10-18) #### New Resource: * PaymentScheduleEstimate has been added. ### New Attributes: * payment_schedule_estimates has been added to Estimate. * usage_accumulation_reset_frequency has been added to ItemPrice. * name has been added to PaymentScheduleScheme. * usage_accumulation_reset_frequency has been added to QuotedSubscription#SubscriptionItem. * usage_accumulation_reset_frequency has been added to Subscription#SubscriptionItem. ### New Endpoints: * Estimate#PaymentSchedule has been added. ### New Input Params: * usage_accumulation_reset_frequency has been added to ItemPrice#CreateParams. * usage_accumulation_reset_frequency has been added to ItemPrice#UpdateParams. * discounts has been added to PricingPageSession#CreateForNewSubscriptionParams. * discounts has been added to PricingPageSession#CreateForExistingSubscriptionParams. * invoice_immediately has been added to Quote#ConvertParams. ### Bug Fixes: * metadata field not working bug fixed. ### Dependency * moved @types/node to devDependencies. ### v3.0.0-beta.3 (2024-09-20) * * * #### New Resource: * PaymentScheduleScheme has been added. * PaymentSchedule has been added. ### New Endpoints: * Invoice#ApplyPaymentScheduleScheme has been added. * Invoice#PaymentSchedules has been added. ### New Attributes * bundle_items[] has been added to Items. * bundle_configuration has been added to Items. #### New Input parameters: * bundle_configuration has been added to Items#CreateParams, Items#UpdateParams & Items#ListParams. * bundle_items_to_add[] has been added to Items#CreateParams & Items#UpdateParams. * bundle_items_to_update[] has been added to Items#UpdateParams. * bundle_items_to_remove[] has been added to Items#UpdateParams. * payment_schedule has been added to Purchase#CreateParams. ### New Enum Values: * payment_schedules_created has been added to EventTypeEnum. * payment_schedules_updated has been added to EventTypeEnum. * payment_schedule_scheme_created has been added to EventTypeEnum. * payment_schedule_scheme_deleted has been added to EventTypeEnum. ### Removed Resource: * Installment has been removed. * InstallmentConfig has been removed. * InstallmentDetail has been removed. ### Removed Endpoints: * Invoice#Installments has been removed. ### Removed Input parameters: * installment_info has been removed from Purchase#CreateParams. ### Removed Enum Values: * invoice_installments_created has been removed from EventTypeEnum. * invoice_installment_updated has been removed from EventTypeEnum. * installment_config_created has been removed from EventTypeEnum. * installment_config_deleted has been removed from EventTypeEnum. #### Bug Fixes: * HttpClient wrong configuration fixed. * Missed Resource Non-Subscription has been added. #### Enhancements: * Better type support for custom fields. ### v3.0.0-beta.2 (2024-08-29) * * * #### Bug Fixes: * content-length bug fixes for fetch. ### v3.0.0-beta.1 (2024-08-26) * * * * Names of the resources, operations etc. have been changed from snake_case to camelCase. For example, configuration option api_key is now apiKey. * Minimum Node.js version is 18 * Class based models are replaced with TypeScript types. * Response will contain headers instead of responseHeaders. * Response will contain isIdempotencyReplayed field instead of isIdempotencyReplayed() method. ### v2.40.0 (2024-08-14) * * * #### New Attributes: * feature_type has been added in SubscriptionEntitlement. * business_entity_id has been made optional in Quote. * business_entity_id has been made optional in CreditNote. #### New Input parameters: * invoice_usages has been added in Subscription#UpdateForItemsRequest. * invoice_usages has been added in Estimate#UpdateSubscriptionForItemsRequest. ### v2.39.0 (2024-07-31) * * * #### New Resource: * Metadata has been added. #### New Attributes: * variant_group has been added in PriceVariant resource. * effective_from & schedule_status have been added in EntitlementOverride resource. * effective_from & schedule_status have been added in SubscriptionEntitlement resource. * status_transition_reason has been added in Ramp subresource. * billing_period & billing_period_unit have been added in SubscriptionItem subresource. #### New Input parameters: * variant_group has been added to PriceVariant#CreateRequest, PriceVariant#UpdateRequest. * include_scheduled_overrides has been added to SubscriptionEntitlement#SubscriptionEntitlementsForSubscriptionRequest. * entitlement_overrides[effective_from] has been added to SubscriptionEntitlement#SubscriptionEntitlementsForSubscriptionRequest. * entitlement_overrides[effective_from] has been added to EntitlementOverride#AddEntitlementOverrideForSubscriptionRequest. * include_scheduled_overrides has been added to EntitlementOverride#ListEntitlementOverrideForSubscriptionRequest. * updated_at has been added to Usage#ListRequest. #### New Enum values: * SUBSCRIPTION_ITEMS_RENEWED has been added in EventType enum. * SUBSCRIPTION_RAMP_DRAFTED has been added in EventType enum. * SUBSCRIPTION_RAMP_UPDATED has been added in EventType enum. ### v2.38.0 (2024-07-19) * * * #### New Input parameters: * change_option has been added to HostedPage#CheckoutExistingForItemsRequest. * changes_scheduled_at has been added to HostedPage#CheckoutExistingForItemsRequest. #### Bug Fixes: * index.d.ts referencing to non existing file/ non resources. * missing imports for few resources. ### v2.37.0 (2024-07-03) * * * #### New resources: * Currency has been added. * PricingPageSession Transfer has been added. #### New Enum * cancel_option Enum has been added. #### New Enum values: * ONLINE_BANKING_POLAND has been added in PaymentMethod enum. * ONLINE_BANKING_POLAND has been added in PaymentMethodType enum. * ONLINE_BANKING_POLAND has been added in Type enum. * DRAFT has been added in Ramp enum. #### New Input parameters: * cancel_option has been added to Estimate#CancelSubscriptionRequest, Estimate#CancelSubscriptionForItemsRequest. * cancel_option has been added to Subscription#CancelForItemsRequest, Subscription#CancelRequest. * statement_descriptor[descriptor] has been added to Purchase#ChargeRequest. #### New Attributes: * tax_origin has been added to Invoice. * tax_origin has been added to CreditNote. ### v2.36.0 (2024-05-28) * * * #### New resources: * BusinessEntity has been added. * BusinessEntity Transfer has been added. #### New Enum values: * NUVEI has been added in Gateway enum. #### New Attributes: * site_details_at_creation has been added to CreditNote. * site_details_at_creation has been added to Invoice. #### New Input parameters: * tax_providers_fields[provider_name] has been added to Addon#CreateRequest, Addon#UpdateRequest. * tax_providers_fields[field_id] has been added to Addon#CreateRequest, Addon#UpdateRequest. * tax_providers_fields[field_value] has been added to Addon#CreateRequest, #UpdateRequest. * tax_providers_fields[provider_name] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest. * tax_providers_fields[field_id] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest. * tax_providers_fields[field_value] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest.. * tax_providers_fields[provider_name] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest. * tax_providers_fields[field_id] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest. * tax_providers_fields[field_value] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest. * tax_providers_fields[provider_name] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest. * tax_providers_fields[field_id] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest. * tax_providers_fields[field_value] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest. * tax_providers_fields[provider_name] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest. * tax_providers_fields[field_id] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest. * tax_providers_fields[field_value] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest. * tax_providers_fields[provider_name] has been added to Plan#CreateRequest, Plan#UpdateRequest. * tax_providers_fields[field_id] has been added to Plan#CreateRequest, Plan#UpdateRequest. * tax_providers_fields[field_value] has been added to Plan#CreateRequest, Plan#UpdateRequest. * tax_providers_fields[provider_name] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest. * tax_providers_fields[field_id] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest. * tax_providers_fields[field_value] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest. * tax_providers_fields[provider_name] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest. * tax_providers_fields[field_id] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest. * tax_providers_fields[field_value] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest. * line_items[entity_type] has been added to CreditNote#CreateRequest. * line_items[entity_id] has been added to CreditNote#CreateRequest. ### v2.35.1 (2024-05-02) * * * #### Removed resources: * Session has been removed. ### v2.35.0 (2024-04-30) * * * #### New resources: * PriceVariant has been added. * Ramp has been added. * InstallmentDetail has been added. * Session has been added. * Ramp has been added. #### New Enum values: * INVOICE_INSTALLMENTS_CREATED has been added in EventType enum. * INVOICE_INSTALLMENT_UPDATED has been added in EventType enum. * INSTALLMENT_CONFIG_CREATED has been added in EventType enum. * INSTALLMENT_CONFIG_DELETED has been added in EventType enum. * RAMP_CREATED has been added in EventType enum. * RAMP_DELETED has been added in EventType enum. * RAMP_APPLIED has been added in EventType enum. #### New Attributes: * tax_providers_fields has been added to Addon resource. * tax_providers_fields has been added to Customer resource. * tax_providers_fields has been added to ItemPrice resource. * tax_providers_fields has been added to Plan resource. * resource_version has been added to Installment resource. * resource_version has been added to InstallmentConfig resource. * KlarnaPayNow has been added to PaymentSource resource. * business_entity_id has been added to UnbilledCharge resource. #### New Endpoints: * Exports#PriceVariantsRequest has been added to Exports resource. #### New Input parameters: * changes_scheduled_at, change_option has been added to Estimate#UpdateSubscriptionRequest. * changes_scheduled_at, change_option has been added to Estimate#UpdateSubscriptionForItemsRequest. * contract_term[contract_start] has been added to Estimate#CreateSubItemEstimateRequest. * contract_term[contract_start] has been added to Estimate#CreateSubItemForCustomerEstimateRequest. * contract_term[contract_start] has been added to Subscription#CreateWithItemsRequest. * contract_term[contract_start] has been added to Subscription#UpdateForItemsRequest. * price_variant_id has been added to ItemPrice#CreateRequest. * price_variant_id has been added to ItemPrice#UpdateRequest. * price_variant_id has been added to ItemPrice#ListRequest. #### Removed attributes: * additional_info has been removed from Invoice#StatmentDescriptor resource. #### Removed Input parameters: * additional_info has been removed from Subscription#CreateRequest. * additional_info has been removed from Subscription#CreateForCustomerRequest. * additional_info has been removed from Subscription#CreateWithItemsRequest. * additional_info has been removed from Subscription#UpdateRequest. * additional_info has been removed from Subscription#UpdateForItemsRequest. * additional_info has been removed from Subscription#ReactivateRequest. ### v2.34.1 (2024-04-03) * * * #### New Input parameters: * to_customer_id has been added to subscription#MoveRequest. * copy_payment_source has been added to subscription#MoveRequest. #### New endpoints: * Sub