@epilot/pricing-client 3.18.4 → 3.18.5

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,11 +2683,11 @@ 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
  */
@@ -2854,7 +2854,27 @@ declare namespace Components {
2854
2854
  * The tax rate value applied. With the release of the tax manager feature this field is being deprecated in favor of the tax field.
2855
2855
  */
2856
2856
  rateValue?: number;
2857
- tax?: TaxBreakdownInfo;
2857
+ tax?: /**
2858
+ * the tax configuration
2859
+ * example:
2860
+ * {
2861
+ * "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
2862
+ * "type": "VAT",
2863
+ * "description": "Tax description",
2864
+ * "active": "true",
2865
+ * "region": "DE",
2866
+ * "region_label": "Germany",
2867
+ * "_org": "123",
2868
+ * "_schema": "tax",
2869
+ * "_tags": [
2870
+ * "example",
2871
+ * "mock"
2872
+ * ],
2873
+ * "_created_at": "2021-02-09T12:41:43.662Z",
2874
+ * "_updated_at": "2021-02-09T12:41:43.662Z"
2875
+ * }
2876
+ */
2877
+ Tax;
2858
2878
  }
2859
2879
  /**
2860
2880
  * A valid tax rate from a client.
package/dist/openapi.json CHANGED
@@ -3605,7 +3605,7 @@
3605
3605
  "deprecated": true
3606
3606
  },
3607
3607
  "tax": {
3608
- "$ref": "#/components/schemas/TaxBreakdownInfo"
3608
+ "$ref": "#/components/schemas/Tax"
3609
3609
  }
3610
3610
  }
3611
3611
  },
@@ -3689,7 +3689,11 @@
3689
3689
  "type": "array",
3690
3690
  "$ref": "#/components/schemas/TaxAmount"
3691
3691
  }
3692
- }
3692
+ },
3693
+ "required": [
3694
+ "amount_total",
3695
+ "amount_subtotal"
3696
+ ]
3693
3697
  },
3694
3698
  "TotalDetails": {
3695
3699
  "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.18.5",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",