lago-javascript-client 0.43.0-beta → 0.44.0-beta

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "types": "./types/mod.d.ts",
5
5
  "name": "lago-javascript-client",
6
6
  "sideEffects": false,
7
- "version": "v0.43.0-beta",
7
+ "version": "v0.44.0-beta",
8
8
  "description": "Lago JavaScript API Client",
9
9
  "repository": {
10
10
  "type": "git",
@@ -21,6 +21,11 @@ export interface AddOnBaseInput {
21
21
  * @example "Implementation fee for new customers."
22
22
  */
23
23
  description?: string | null;
24
+ /**
25
+ * List of unique code used to identify the taxes.
26
+ * @example ["french_standard_vat"]
27
+ */
28
+ tax_codes?: string[];
24
29
  }
25
30
  export interface AddOnCreateInput {
26
31
  add_on: AddOnBaseInput;
@@ -60,6 +65,8 @@ export interface AddOnObject {
60
65
  * @example "2022-04-29T08:59:51Z"
61
66
  */
62
67
  created_at: string;
68
+ /** All taxes applied to the add-on. */
69
+ taxes?: TaxObject[];
63
70
  }
64
71
  export interface AddOn {
65
72
  add_on: AddOnObject;
@@ -2578,6 +2585,11 @@ export interface InvoiceOneOffCreateInput {
2578
2585
  * @example "The description of the fee line item in the invoice. By default, the description of the add-on is used."
2579
2586
  */
2580
2587
  description?: string | null;
2588
+ /**
2589
+ * List of unique code used to identify the taxes.
2590
+ * @example ["french_standard_vat"]
2591
+ */
2592
+ tax_codes?: string[];
2581
2593
  }[];
2582
2594
  };
2583
2595
  }
@@ -3344,6 +3356,11 @@ export interface TaxObject {
3344
3356
  * @example true
3345
3357
  */
3346
3358
  applied_to_organization: boolean;
3359
+ /**
3360
+ * Number of add-ons this tax is applied to.
3361
+ * @example 0
3362
+ */
3363
+ add_ons_count?: number;
3347
3364
  /**
3348
3365
  * Number of charges this tax is applied to.
3349
3366
  * @example 0