@epilot/pricing-client 3.18.4 → 3.19.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/dist/openapi.d.ts CHANGED
@@ -2683,16 +2683,21 @@ declare namespace Components {
2683
2683
  /**
2684
2684
  * Total amount of items with same recurrence.
2685
2685
  */
2686
- amount_total?: number;
2686
+ amount_total: number;
2687
2687
  /**
2688
2688
  * Total amount of items with same recurrence, excluding taxes.
2689
2689
  */
2690
- amount_subtotal?: number;
2690
+ amount_subtotal: number;
2691
2691
  /**
2692
2692
  * Total tax amount of items with same recurrence.
2693
2693
  */
2694
2694
  amount_tax?: number;
2695
- tax?: /* A tax amount associated with a specific tax rate. */ TaxAmount;
2695
+ /**
2696
+ * The taxes applied to the price item.
2697
+ */
2698
+ tax?: {
2699
+ [key: string]: any;
2700
+ };
2696
2701
  }
2697
2702
  export type SalesTax = "nontaxable" | "reduced" | "standard";
2698
2703
  export type SaveIntegrationCredentialsParams = /* The basic auth credentials */ BasicAuthCredentials;
package/dist/openapi.json CHANGED
@@ -3686,10 +3686,21 @@
3686
3686
  "description": "Total tax amount of items with same recurrence."
3687
3687
  },
3688
3688
  "tax": {
3689
- "type": "array",
3690
- "$ref": "#/components/schemas/TaxAmount"
3689
+ "type": "object",
3690
+ "description": "The taxes applied to the price item.",
3691
+ "items": {
3692
+ "oneOf": [
3693
+ {
3694
+ "$ref": "#/components/schemas/TaxAmountBreakdown"
3695
+ }
3696
+ ]
3697
+ }
3691
3698
  }
3692
- }
3699
+ },
3700
+ "required": [
3701
+ "amount_subtotal",
3702
+ "amount_total"
3703
+ ]
3693
3704
  },
3694
3705
  "TotalDetails": {
3695
3706
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.18.4",
3
+ "version": "3.19.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",