@epilot/pricing-client 3.17.2 → 3.17.4

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,20 @@ 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;
2556
+ /**
2557
+ * Total of all items before (discounts or) taxes are applied.
2558
+ */
2559
+ amount_subtotal: number;
2572
2560
  /**
2573
2561
  * Total of all items taxes, with same recurrence.
2574
2562
  */
2575
2563
  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
2564
+ /**
2565
+ * Tax
2582
2566
  */
2583
- Currency;
2584
2567
  tax?: /* A tax amount associated with a specific tax rate. */ TaxAmountBreakdown;
2585
2568
  }
2586
2569
  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,26 @@
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."
2935
+ },
2936
+ "amount_subtotal": {
2937
+ "type": "integer",
2938
+ "description": "Total of all items before (discounts or) taxes are applied."
2940
2939
  },
2941
2940
  "amount_tax": {
2942
2941
  "type": "integer",
2943
2942
  "description": "Total of all items taxes, with same recurrence."
2944
2943
  },
2945
- "currency": {
2946
- "$ref": "#/components/schemas/Currency",
2947
- "description": "Currency"
2948
- },
2949
2944
  "tax": {
2950
2945
  "$ref": "#/components/schemas/TaxAmountBreakdown",
2951
2946
  "description": "Tax"
2952
2947
  }
2953
2948
  },
2954
2949
  "required": [
2955
- "amount_subtotal",
2956
2950
  "amount_total",
2957
- "amount_subtotal_decimal",
2958
- "amount_total_decimal"
2951
+ "amount_subtotal"
2959
2952
  ]
2960
2953
  },
2961
2954
  "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.4",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",