@epilot/pricing-client 3.17.2 → 3.17.3

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
@@ -2541,22 +2541,6 @@ declare namespace Components {
2541
2541
  * An amount associated with a specific recurrence and tax.
2542
2542
  */
2543
2543
  export interface RecurrenceAmountWithTax {
2544
- /**
2545
- * Total of all items before (discounts or) taxes are applied.
2546
- */
2547
- amount_subtotal: number;
2548
- /**
2549
- * Total of all items before (discounts or) taxes are applied, as a string with all the decimal places.
2550
- */
2551
- amount_subtotal_decimal: string;
2552
- /**
2553
- * Total of all items after (discounts and) taxes are applied.
2554
- */
2555
- amount_total: number;
2556
- /**
2557
- * Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
2558
- */
2559
- amount_total_decimal: string;
2560
2544
  /**
2561
2545
  * The price type.
2562
2546
  */
@@ -2566,21 +2550,16 @@ declare namespace Components {
2566
2550
  */
2567
2551
  billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly";
2568
2552
  /**
2569
- * The unit gross amount value.
2553
+ * Total of all items after (discounts and) taxes are applied.
2570
2554
  */
2571
- unit_amount_gross?: number;
2555
+ amount_total: number;
2572
2556
  /**
2573
2557
  * Total of all items taxes, with same recurrence.
2574
2558
  */
2575
2559
  amount_tax?: number;
2576
- currency?: /**
2577
- * Three-letter ISO currency code, in lowercase. Must be a supported currency.
2578
- * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
2579
- *
2580
- * example:
2581
- * EUR
2560
+ /**
2561
+ * Tax
2582
2562
  */
2583
- Currency;
2584
2563
  tax?: /* A tax amount associated with a specific tax rate. */ TaxAmountBreakdown;
2585
2564
  }
2586
2565
  export type SalesTax = "nontaxable" | "reduced" | "standard";
package/dist/openapi.json CHANGED
@@ -2913,11 +2913,6 @@
2913
2913
  "type": "object",
2914
2914
  "description": "An amount associated with a specific recurrence and tax.",
2915
2915
  "readOnly": true,
2916
- "allOf": [
2917
- {
2918
- "$ref": "#/components/schemas/Amounts"
2919
- }
2920
- ],
2921
2916
  "properties": {
2922
2917
  "type": {
2923
2918
  "type": "string",
@@ -2934,28 +2929,21 @@
2934
2929
  "yearly"
2935
2930
  ]
2936
2931
  },
2937
- "unit_amount_gross": {
2932
+ "amount_total": {
2938
2933
  "type": "integer",
2939
- "description": "The unit gross amount value."
2934
+ "description": "Total of all items after (discounts and) taxes are applied."
2940
2935
  },
2941
2936
  "amount_tax": {
2942
2937
  "type": "integer",
2943
2938
  "description": "Total of all items taxes, with same recurrence."
2944
2939
  },
2945
- "currency": {
2946
- "$ref": "#/components/schemas/Currency",
2947
- "description": "Currency"
2948
- },
2949
2940
  "tax": {
2950
2941
  "$ref": "#/components/schemas/TaxAmountBreakdown",
2951
2942
  "description": "Tax"
2952
2943
  }
2953
2944
  },
2954
2945
  "required": [
2955
- "amount_subtotal",
2956
- "amount_total",
2957
- "amount_subtotal_decimal",
2958
- "amount_total_decimal"
2946
+ "amount_total"
2959
2947
  ]
2960
2948
  },
2961
2949
  "TotalDetails": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.17.2",
3
+ "version": "3.17.3",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",