Skip to content

Commit

Permalink
Releasing v2.38.0. Please check the changelog for the updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-alish committed Aug 14, 2024
1 parent f37497c commit 83305f0
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### v2.38.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.37.0 (2024-07-31)
* * *

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chargebee-typescript",
"version": "2.37.0",
"version": "2.38.0",
"description": "A library in typescript for integrating with Chargebee.",
"keywords": [
"payments",
Expand Down
2 changes: 1 addition & 1 deletion src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let environment = {
hostSuffix: '.chargebee.com',
apiPath: '/api/v2',
timeout: 80000,
clientVersion: 'v2.37.0',
clientVersion: 'v2.38.0',
port: 443,
timemachineWaitInMillis: 3000,
exportWaitInMillis: 3000
Expand Down
2 changes: 1 addition & 1 deletion src/resources/credit_note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class CreditNote extends Model {
public local_currency_exchange_rate?: number;
public create_reason_code?: string;
public vat_number_prefix?: string;
public business_entity_id: string;
public business_entity_id?: string;
public shipping_address?: ShippingAddress;
public billing_address?: BillingAddress;
public site_details_at_creation?: SiteDetailsAtCreation;
Expand Down
1 change: 1 addition & 0 deletions src/resources/estimate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export namespace _estimate {
include_delayed_charges?: boolean;
use_existing_balances?: boolean;
invoice_immediately?: boolean;
invoice_usages?: boolean;
subscription?: subscription_update_subscription_for_items_params;
billing_address?: billing_address_update_subscription_for_items_params;
shipping_address?: shipping_address_update_subscription_for_items_params;
Expand Down
2 changes: 1 addition & 1 deletion src/resources/quote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Quote extends Model {
public contract_term_start?: number;
public contract_term_end?: number;
public contract_term_termination_fee?: number;
public business_entity_id: string;
public business_entity_id?: string;



Expand Down
1 change: 1 addition & 0 deletions src/resources/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ export namespace _subscription {
auto_close_invoices?: boolean;
trial_end_action?: string;
payment_initiator?: string;
invoice_usages?: boolean;
card?: card_update_for_items_params;
payment_method?: payment_method_update_for_items_params;
payment_intent?: payment_intent_update_for_items_params;
Expand Down
1 change: 1 addition & 0 deletions src/resources/subscription_entitlement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export class SubscriptionEntitlement extends Model {
public feature_id?: string;
public feature_name?: string;
public feature_unit?: string;
public feature_type?: string;
public value?: string;
public name?: string;
public is_overridden: boolean;
Expand Down

0 comments on commit 83305f0

Please sign in to comment.