@epilot/pricing-client 3.15.1 → 3.15.3-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
@@ -2460,21 +2460,29 @@ declare namespace Components {
2460
2460
  */
2461
2461
  export interface RecurrenceAmount {
2462
2462
  /**
2463
- * The price type.
2463
+ * Total of all items before (discounts or) taxes are applied.
2464
2464
  */
2465
- type?: string;
2465
+ amount_subtotal: number;
2466
2466
  /**
2467
- * The price billing period.
2467
+ * Total of all items before (discounts or) taxes are applied, as a string with all the decimal places.
2468
2468
  */
2469
- billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly";
2469
+ amount_subtotal_decimal: string;
2470
2470
  /**
2471
- * Total of all items, with same recurrence, before (discounts or) taxes are applied.
2471
+ * Total of all items after (discounts and) taxes are applied.
2472
2472
  */
2473
- amount_subtotal: number;
2473
+ amount_total: number;
2474
2474
  /**
2475
- * Total of all items, with same recurrence, after (discounts and) taxes are applied.
2475
+ * Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
2476
2476
  */
2477
- amount_total: number;
2477
+ amount_total_decimal: string;
2478
+ /**
2479
+ * The price type.
2480
+ */
2481
+ type?: string;
2482
+ /**
2483
+ * The price billing period.
2484
+ */
2485
+ billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly";
2478
2486
  /**
2479
2487
  * The unit gross amount value.
2480
2488
  */
@@ -2483,9 +2491,6 @@ declare namespace Components {
2483
2491
  * Total of all items taxes, with same recurrence.
2484
2492
  */
2485
2493
  amount_tax?: number;
2486
- /**
2487
- * Currency
2488
- */
2489
2494
  currency?: /**
2490
2495
  * Three-letter ISO currency code, in lowercase. Must be a supported currency.
2491
2496
  * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
@@ -2500,21 +2505,29 @@ declare namespace Components {
2500
2505
  */
2501
2506
  export interface RecurrenceAmountDto {
2502
2507
  /**
2503
- * The price type.
2508
+ * Total of all items before (discounts or) taxes are applied.
2504
2509
  */
2505
- type?: string;
2510
+ amount_subtotal: number;
2506
2511
  /**
2507
- * The price billing period.
2512
+ * Total of all items before (discounts or) taxes are applied, as a string with all the decimal places.
2508
2513
  */
2509
- billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly";
2514
+ amount_subtotal_decimal: string;
2510
2515
  /**
2511
- * Total of all items, with same recurrence, before (discounts or) taxes are applied.
2516
+ * Total of all items after (discounts and) taxes are applied.
2512
2517
  */
2513
- amount_subtotal: number;
2518
+ amount_total: number;
2514
2519
  /**
2515
- * Total of all items, with same recurrence, after (discounts and) taxes are applied.
2520
+ * Total of all items after (discounts and) taxes are applied, as a string with all the decimal places.
2516
2521
  */
2517
- amount_total: number;
2522
+ amount_total_decimal: string;
2523
+ /**
2524
+ * The price type.
2525
+ */
2526
+ type?: string;
2527
+ /**
2528
+ * The price billing period.
2529
+ */
2530
+ billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly";
2518
2531
  /**
2519
2532
  * The unit gross amount value.
2520
2533
  */
package/dist/openapi.json CHANGED
@@ -2421,6 +2421,11 @@
2421
2421
  "RecurrenceAmountDto": {
2422
2422
  "type": "object",
2423
2423
  "description": "An amount associated with a specific recurrence.",
2424
+ "allOf": [
2425
+ {
2426
+ "$ref": "#/components/schemas/Amounts"
2427
+ }
2428
+ ],
2424
2429
  "properties": {
2425
2430
  "type": {
2426
2431
  "type": "string",
@@ -2437,14 +2442,6 @@
2437
2442
  "yearly"
2438
2443
  ]
2439
2444
  },
2440
- "amount_subtotal": {
2441
- "type": "integer",
2442
- "description": "Total of all items, with same recurrence, before (discounts or) taxes are applied."
2443
- },
2444
- "amount_total": {
2445
- "type": "integer",
2446
- "description": "Total of all items, with same recurrence, after (discounts and) taxes are applied."
2447
- },
2448
2445
  "unit_amount_gross": {
2449
2446
  "type": "integer",
2450
2447
  "description": "The unit gross amount value."
@@ -2456,7 +2453,9 @@
2456
2453
  },
2457
2454
  "required": [
2458
2455
  "amount_subtotal",
2459
- "amount_total"
2456
+ "amount_total",
2457
+ "amount_subtotal_decimal",
2458
+ "amount_total_decimal"
2460
2459
  ]
2461
2460
  },
2462
2461
  "Cart": {
@@ -2869,6 +2868,11 @@
2869
2868
  "type": "object",
2870
2869
  "description": "An amount associated with a specific recurrence.",
2871
2870
  "readOnly": true,
2871
+ "allOf": [
2872
+ {
2873
+ "$ref": "#/components/schemas/Amounts"
2874
+ }
2875
+ ],
2872
2876
  "properties": {
2873
2877
  "type": {
2874
2878
  "type": "string",
@@ -2885,14 +2889,6 @@
2885
2889
  "yearly"
2886
2890
  ]
2887
2891
  },
2888
- "amount_subtotal": {
2889
- "type": "integer",
2890
- "description": "Total of all items, with same recurrence, before (discounts or) taxes are applied."
2891
- },
2892
- "amount_total": {
2893
- "type": "integer",
2894
- "description": "Total of all items, with same recurrence, after (discounts and) taxes are applied."
2895
- },
2896
2892
  "unit_amount_gross": {
2897
2893
  "type": "integer",
2898
2894
  "description": "The unit gross amount value."
@@ -2908,7 +2904,9 @@
2908
2904
  },
2909
2905
  "required": [
2910
2906
  "amount_subtotal",
2911
- "amount_total"
2907
+ "amount_total",
2908
+ "amount_subtotal_decimal",
2909
+ "amount_total_decimal"
2912
2910
  ]
2913
2911
  },
2914
2912
  "TotalDetails": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.15.1",
3
+ "version": "3.15.3-0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",