@epilot/pricing-client 3.18.2 → 3.18.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
@@ -2692,10 +2692,7 @@ declare namespace Components {
2692
2692
  * Total tax amount of items with same recurrence.
2693
2693
  */
2694
2694
  amount_tax?: number;
2695
- /**
2696
- * The taxes applied to the price item.
2697
- */
2698
- tax?: (/* A tax amount associated with a specific tax rate. */ TaxAmount)[];
2695
+ tax?: /* A tax amount associated with a specific tax rate. */ TaxAmount;
2699
2696
  }
2700
2697
  export type SalesTax = "nontaxable" | "reduced" | "standard";
2701
2698
  export type SaveIntegrationCredentialsParams = /* The basic auth credentials */ BasicAuthCredentials;
@@ -2920,11 +2917,11 @@ declare namespace Components {
2920
2917
  * The aggregated price items tax amount per rate.
2921
2918
  */
2922
2919
  recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
2920
+ /**
2921
+ * The aggregated price items recurrences by tax rate
2922
+ */
2923
+ recurrencesByTax?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountWithTax)[];
2923
2924
  };
2924
- /**
2925
- * The aggregated price items recurrences by tax rate
2926
- */
2927
- recurrencesByTax?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountWithTax)[];
2928
2925
  }
2929
2926
  /**
2930
2927
  * The availability rule error
package/dist/openapi.json CHANGED
@@ -3687,15 +3687,7 @@
3687
3687
  },
3688
3688
  "tax": {
3689
3689
  "type": "array",
3690
- "description": "The taxes applied to the price item.",
3691
- "readOnly": true,
3692
- "items": {
3693
- "oneOf": [
3694
- {
3695
- "$ref": "#/components/schemas/TaxAmount"
3696
- }
3697
- ]
3698
- }
3690
+ "$ref": "#/components/schemas/TaxAmount"
3699
3691
  }
3700
3692
  }
3701
3693
  },
@@ -3737,18 +3729,18 @@
3737
3729
  }
3738
3730
  ]
3739
3731
  }
3740
- }
3741
- }
3742
- },
3743
- "recurrencesByTax": {
3744
- "type": "array",
3745
- "description": "The aggregated price items recurrences by tax rate",
3746
- "items": {
3747
- "oneOf": [
3748
- {
3749
- "$ref": "#/components/schemas/RecurrenceAmountWithTax"
3732
+ },
3733
+ "recurrencesByTax": {
3734
+ "type": "array",
3735
+ "description": "The aggregated price items recurrences by tax rate",
3736
+ "items": {
3737
+ "oneOf": [
3738
+ {
3739
+ "$ref": "#/components/schemas/RecurrenceAmountWithTax"
3740
+ }
3741
+ ]
3750
3742
  }
3751
- ]
3743
+ }
3752
3744
  }
3753
3745
  }
3754
3746
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.18.2",
3
+ "version": "3.18.4",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",