@epilot/pricing-client 3.18.5 → 3.19.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 +7 -22
- package/dist/openapi.json +12 -5
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -2692,7 +2692,12 @@ declare namespace Components {
|
|
|
2692
2692
|
* Total tax amount of items with same recurrence.
|
|
2693
2693
|
*/
|
|
2694
2694
|
amount_tax?: number;
|
|
2695
|
-
|
|
2695
|
+
/**
|
|
2696
|
+
* The taxes applied to the price item.
|
|
2697
|
+
*/
|
|
2698
|
+
tax?: {
|
|
2699
|
+
[key: string]: any;
|
|
2700
|
+
};
|
|
2696
2701
|
}
|
|
2697
2702
|
export type SalesTax = "nontaxable" | "reduced" | "standard";
|
|
2698
2703
|
export type SaveIntegrationCredentialsParams = /* The basic auth credentials */ BasicAuthCredentials;
|
|
@@ -2854,27 +2859,7 @@ declare namespace Components {
|
|
|
2854
2859
|
* 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
2860
|
*/
|
|
2856
2861
|
rateValue?: number;
|
|
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;
|
|
2862
|
+
tax?: TaxBreakdownInfo;
|
|
2878
2863
|
}
|
|
2879
2864
|
/**
|
|
2880
2865
|
* 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/
|
|
3608
|
+
"$ref": "#/components/schemas/TaxBreakdownInfo"
|
|
3609
3609
|
}
|
|
3610
3610
|
}
|
|
3611
3611
|
},
|
|
@@ -3686,13 +3686,20 @@
|
|
|
3686
3686
|
"description": "Total tax amount of items with same recurrence."
|
|
3687
3687
|
},
|
|
3688
3688
|
"tax": {
|
|
3689
|
-
"type": "
|
|
3690
|
-
"
|
|
3689
|
+
"type": "object",
|
|
3690
|
+
"description": "The taxes applied to the price item.",
|
|
3691
|
+
"items": {
|
|
3692
|
+
"oneOf": [
|
|
3693
|
+
{
|
|
3694
|
+
"$ref": "#/components/schemas/TaxAmountBreakdown"
|
|
3695
|
+
}
|
|
3696
|
+
]
|
|
3697
|
+
}
|
|
3691
3698
|
}
|
|
3692
3699
|
},
|
|
3693
3700
|
"required": [
|
|
3694
|
-
"
|
|
3695
|
-
"
|
|
3701
|
+
"amount_subtotal",
|
|
3702
|
+
"amount_total"
|
|
3696
3703
|
]
|
|
3697
3704
|
},
|
|
3698
3705
|
"TotalDetails": {
|