Skip to content

Commit

Permalink
Releasing v2.29.0. Please check the changelog for the updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-nithins committed Oct 31, 2023
1 parent d1dcbe9 commit 56e566f
Show file tree
Hide file tree
Showing 45 changed files with 8,316 additions and 5,546 deletions.
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
### v2.29.0 (2023-10-31)
* * *

#### New attributes:
* statement_descriptor has been added to invoice resource.
* source has been added to the Hosted_Pages resource.

#### New Enum values:
* pay_com has been added to Gateway.
* pay_to, faster_payments, sepa_instant_transfer has been added to Customer#TypeEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to PaymentMethodEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to PaymentMethodTypeEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to TypeEnum.
* pay_to, faster_payments, sepa_instant_transfer, amazon_payments has been added to PaymentIntent#PaymentMethodTypeEnum.

#### New Input parameters:
* source has been added to HostedPage#CheckoutOneTimeForItemsRequest.
* source has been added to HostedPage#CheckoutNewForItemsRequest.
* source has been added to HostedPage#CheckoutExistingForItemsRequest.
* statement_descriptor_descriptor has been added to Invoice#CreateRequest.
* statement_descriptor_descriptor has been added to Invoice#CreateForChargeItemsAndChargesRequest.
* statement_descriptor_descriptor has been added to Invoice#UpdateDetailsRequest.
* statement_descriptor_additional_info has been added to Invoice#CreateRequest.
* statement_descriptor_additional_info has been added to Invoice#CreateForChargeItemsAndChargesRequest.
* statement_descriptor_additional_info has been added to Invoice#UpdateDetailsRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateForCustomerRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateWithItemsRequest.
* statement_descriptor_descriptor has been added to Subscription#UpdateRequest.
* statement_descriptor_descriptor has been added to Subscription#UpdateForItemsRequest.
* statement_descriptor_descriptor has been added to Subscription#ReactivateRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateForCustomerRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateWithItemsRequest.
* statement_descriptor_additional_info has been added to Subscription#UpdateRequest.
* statement_descriptor_additional_info has been added to Subscription#UpdateForItemsRequest.
* statement_descriptor_additional_info has been added to Subscription#ReactivateRequest.

#### Updates to old parameters:
* duration_type, discount_type in coupons has been made optional.
* proration_type in addons is now supported.
* csv_tax_rule has been removed.
* Tax1JurisTypeEnum has been removed.
* Tax2JurisTypeEnum has been removed.
* Tax3JurisTypeEnum has been removed.
* Tax4JurisTypeEnum has been removed.

### v2.28.0 (2023-09-26)
* * *

Expand Down
2 changes: 1 addition & 1 deletion lib/chargebee.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ChargeBee._env = {
hostSuffix: '.chargebee.com',
apiPath: '/api/v2',
timeout: 80000,
clientVersion: 'v2.28.0',
clientVersion: 'v2.29.0',
port: 443,
timemachineWaitInMillis: 3000,
exportWaitInMillis: 3000
Expand Down
7 changes: 0 additions & 7 deletions lib/resources/api_endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -2677,12 +2677,5 @@ var _endpoints = {
true
]
],
"csv_tax_rule": [[
"create",
"POST",
"/csv_tax_rules",
null,
false
]]
};
module.exports = _endpoints;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"chargebee",
"version":"2.28.0",
"version":"2.29.0",
"description":"A library for integrating with ChargeBee.",
"keywords":[
"payments",
Expand Down
8 changes: 4 additions & 4 deletions types/core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ declare module 'chargebee' {
type ExportType = 'data' | 'import_friendly_data'
type FreePeriodUnit = 'week' | 'month' | 'year' | 'day'
type FriendOfferType = 'coupon_code' | 'coupon' | 'none'
type Gateway = 'bluepay' | 'beanstream' | 'elavon' | 'orbital' | 'hdfc' | 'nmi' | 'moneris' | 'metrics_global' | 'pin' | 'stripe' | 'quickbooks' | 'razorpay' | 'eway_rapid' | 'balanced_payments' | 'ecentric' | 'wepay' | 'chargebee_payments' | 'bank_of_america' | 'braintree' | 'first_data_global' | 'paypal_express_checkout' | 'ingenico_direct' | 'moneris_us' | 'exact' | 'migs' | 'checkout_com' | 'not_applicable' | 'paypal_pro' | 'ogone' | 'eway' | 'gocardless' | 'global_payments' | 'paymill' | 'adyen' | 'paypal' | 'chargebee' | 'authorize_net' | 'tco' | 'bluesnap' | 'windcave' | 'paypal_payflow_pro' | 'amazon_payments' | 'mollie' | 'cybersource' | 'wirecard' | 'sage_pay' | 'vantiv' | 'worldpay'
type Gateway = 'bluepay' | 'beanstream' | 'elavon' | 'orbital' | 'hdfc' | 'nmi' | 'moneris' | 'metrics_global' | 'ebanx' | 'pin' | 'stripe' | 'quickbooks' | 'razorpay' | 'eway_rapid' | 'balanced_payments' | 'ecentric' | 'wepay' | 'chargebee_payments' | 'bank_of_america' | 'braintree' | 'first_data_global' | 'paypal_express_checkout' | 'ingenico_direct' | 'moneris_us' | 'exact' | 'migs' | 'checkout_com' | 'not_applicable' | 'paypal_pro' | 'ogone' | 'eway' | 'gocardless' | 'global_payments' | 'paymill' | 'adyen' | 'paypal' | 'chargebee' | 'authorize_net' | 'tco' | 'bluesnap' | 'windcave' | 'paypal_payflow_pro' | 'amazon_payments' | 'mollie' | 'cybersource' | 'wirecard' | 'sage_pay' | 'vantiv' | 'worldpay' | 'pay_com'
type HierarchyOperationType = 'complete_hierarchy' | 'subordinates' | 'path_to_root'
type InvoiceDunningHandling = 'stop' | 'continue'
type ItemType = 'charge' | 'addon' | 'plan'
Expand All @@ -58,8 +58,8 @@ declare module 'chargebee' {
type OperationType = 'add' | 'remove'
type PauseOption = 'end_of_term' | 'billing_cycles' | 'immediately' | 'specific_date'
type PaymentInitiator = 'merchant' | 'customer'
type PaymentMethod = 'other' | 'netbanking_emandates' | 'ach_credit' | 'dotpay' | 'boleto' | 'direct_debit' | 'chargeback' | 'wechat_pay' | 'cash' | 'giropay' | 'bank_transfer' | 'alipay' | 'ideal' | 'google_pay' | 'custom' | 'unionpay' | 'check' | 'sofort' | 'amazon_payments' | 'upi' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'sepa_credit' | 'card'
type PaymentMethodType = 'giropay' | 'alipay' | 'ideal' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'unionpay' | 'direct_debit' | 'generic' | 'sofort' | 'amazon_payments' | 'upi' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'wechat_pay' | 'card'
type PaymentMethod = 'other' | 'netbanking_emandates' | 'ach_credit' | 'dotpay' | 'boleto' | 'direct_debit' | 'chargeback' | 'wechat_pay' | 'pay_to' | 'cash' | 'giropay' | 'bank_transfer' | 'alipay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'custom' | 'unionpay' | 'check' | 'faster_payments' | 'sofort' | 'amazon_payments' | 'upi' | 'venmo' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'sepa_credit' | 'card'
type PaymentMethodType = 'giropay' | 'alipay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'unionpay' | 'direct_debit' | 'faster_payments' | 'generic' | 'sofort' | 'amazon_payments' | 'upi' | 'venmo' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'wechat_pay' | 'pay_to' | 'card'
type PaymentVoucherType = 'boleto'
type PeriodUnit = 'week' | 'month' | 'year' | 'day'
type PriceType = 'tax_exclusive' | 'tax_inclusive'
Expand All @@ -78,7 +78,7 @@ declare module 'chargebee' {
type Taxability = 'taxable' | 'exempt'
type TaxjarExemptionCategory = 'other' | 'wholesale' | 'government'
type TrialEndAction = 'activate_subscription' | 'plan_default' | 'cancel_subscription' | 'site_default'
type Type = 'giropay' | 'alipay' | 'ideal' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'unionpay' | 'direct_debit' | 'generic' | 'sofort' | 'amazon_payments' | 'upi' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'wechat_pay' | 'card'
type Type = 'giropay' | 'alipay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'unionpay' | 'direct_debit' | 'faster_payments' | 'generic' | 'sofort' | 'amazon_payments' | 'upi' | 'venmo' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'wechat_pay' | 'pay_to' | 'card'
type UnbilledChargesHandling = 'invoice' | 'no_action'
type UnbilledChargesOption = 'invoice' | 'delete'
type UnpaidInvoicesHandling = 'schedule_payment_collection' | 'no_action'
Expand Down
Loading

0 comments on commit 56e566f

Please sign in to comment.