chargebee 2.35.0 → 2.36.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/CHANGELOG.md +59 -0
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +18 -17
- package/package.json +1 -1
- package/types/index.d.ts +4 -2
- package/types/resources/BusinessEntity.d.ts +83 -0
- package/types/resources/BusinessEntityTransfer.d.ts +21 -0
- package/types/resources/CreditNote.d.ts +7 -0
- package/types/resources/Customer.d.ts +164 -1630
- package/types/resources/Estimate.d.ts +187 -1159
- package/types/resources/Invoice.d.ts +9 -0
- package/types/resources/ItemPrice.d.ts +3 -0
- package/types/resources/Quote.d.ts +289 -1399
- package/types/resources/Subscription.d.ts +2 -0
- package/types/resources/UnbilledCharge.d.ts +28 -275
- package/.github/workflows/greeting.yml +0 -47
|
@@ -473,6 +473,7 @@ In-App Subscriptions is currently in early access. Contact [eap@chargebee.com](m
|
|
|
473
473
|
*/
|
|
474
474
|
|
|
475
475
|
linked_taxes_withheld?:Invoice.LinkedTaxWithheld[];
|
|
476
|
+
site_details_at_creation?:Invoice.SiteDetailsAtCreation;
|
|
476
477
|
}
|
|
477
478
|
export namespace Invoice {
|
|
478
479
|
export class InvoiceResource {
|
|
@@ -951,6 +952,7 @@ This endpoint schedules e-invoices manually. This operation is not allowed when
|
|
|
951
952
|
*/
|
|
952
953
|
|
|
953
954
|
notes_to_remove?:{entity_id?:string,entity_type?:EntityType}[];
|
|
955
|
+
tax_providers_fields?: { field_id?: string, field_value?: string, provider_name?: string }[];
|
|
954
956
|
}
|
|
955
957
|
export interface CreateForChargeItemsAndChargesResponse {
|
|
956
958
|
invoice:Invoice;
|
|
@@ -1146,6 +1148,7 @@ The invoice is [linked](/docs/api?prod_cat_ver=2#mbe-linked-be) to the same
|
|
|
1146
1148
|
*/
|
|
1147
1149
|
|
|
1148
1150
|
discounts:{amount?:number,apply_on:ApplyOn,item_price_id?:string,percentage?:number}[];
|
|
1151
|
+
tax_providers_fields?: { field_id?: string, field_value?: string, provider_name?: string }[];
|
|
1149
1152
|
}
|
|
1150
1153
|
export interface StopDunningResponse {
|
|
1151
1154
|
invoice:Invoice;
|
|
@@ -1819,6 +1822,7 @@ The [invoice](/docs/api/invoices?prod_cat_ver=1#invoice_status) is yet to b
|
|
|
1819
1822
|
*/
|
|
1820
1823
|
|
|
1821
1824
|
item_tiers?:{ending_unit?:number,ending_unit_in_decimal?:string,price?:number,price_in_decimal?:string,starting_unit?:number,starting_unit_in_decimal?:string}[];
|
|
1825
|
+
tax_providers_fields?: { field_id?: string, field_value?: string, provider_name?: string }[];
|
|
1822
1826
|
}
|
|
1823
1827
|
export interface CloseResponse {
|
|
1824
1828
|
invoice:Invoice;
|
|
@@ -3245,5 +3249,10 @@ If you have enabled [EU VAT](https://www.chargebee.com/docs/eu-vat.html) in 2021
|
|
|
3245
3249
|
|
|
3246
3250
|
reference_number?:string;
|
|
3247
3251
|
}
|
|
3252
|
+
|
|
3253
|
+
export interface SiteDetailsAtCreation {
|
|
3254
|
+
timezone?: string;
|
|
3255
|
+
organization_address?: object;
|
|
3256
|
+
}
|
|
3248
3257
|
}
|
|
3249
3258
|
}
|
|
@@ -578,6 +578,8 @@ If subscriptions, invoices or [differential prices](./differential_prices?prod_c
|
|
|
578
578
|
*/
|
|
579
579
|
|
|
580
580
|
tiers?:{ending_unit?:number,ending_unit_in_decimal?:string,price?:number,price_in_decimal?:string,starting_unit?:number,starting_unit_in_decimal?:string}[];
|
|
581
|
+
tax_providers_fields?: { field_id?: string, field_value?: string, provider_name?: string }[];
|
|
582
|
+
|
|
581
583
|
}
|
|
582
584
|
export interface RetrieveResponse {
|
|
583
585
|
item_price:ItemPrice;
|
|
@@ -808,6 +810,7 @@ If subscriptions, invoices or [differential prices](./differential_prices?prod_c
|
|
|
808
810
|
*/
|
|
809
811
|
|
|
810
812
|
tiers?:{ending_unit?:number,ending_unit_in_decimal?:string,price?:number,price_in_decimal?:string,starting_unit?:number,starting_unit_in_decimal?:string}[];
|
|
813
|
+
tax_providers_fields?: { field_id?: string, field_value?: string, provider_name?: string }[];
|
|
811
814
|
}
|
|
812
815
|
export interface ListResponse {
|
|
813
816
|
/**
|