@epilot/pricing-client 3.18.3 → 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 +27 -7
- package/dist/openapi.json +17 -13
- package/package.json +1 -1
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
|
|
2686
|
+
amount_total: number;
|
|
2687
2687
|
/**
|
|
2688
2688
|
* Total amount of items with same recurrence, excluding taxes.
|
|
2689
2689
|
*/
|
|
2690
|
-
amount_subtotal
|
|
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?:
|
|
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.
|
|
@@ -2917,11 +2937,11 @@ declare namespace Components {
|
|
|
2917
2937
|
* The aggregated price items tax amount per rate.
|
|
2918
2938
|
*/
|
|
2919
2939
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
2940
|
+
/**
|
|
2941
|
+
* The aggregated price items recurrences by tax rate
|
|
2942
|
+
*/
|
|
2943
|
+
recurrencesByTax?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountWithTax)[];
|
|
2920
2944
|
};
|
|
2921
|
-
/**
|
|
2922
|
-
* The aggregated price items recurrences by tax rate
|
|
2923
|
-
*/
|
|
2924
|
-
recurrencesByTax?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountWithTax)[];
|
|
2925
2945
|
}
|
|
2926
2946
|
/**
|
|
2927
2947
|
* The availability rule error
|
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/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",
|
|
@@ -3729,18 +3733,18 @@
|
|
|
3729
3733
|
}
|
|
3730
3734
|
]
|
|
3731
3735
|
}
|
|
3732
|
-
}
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3736
|
+
},
|
|
3737
|
+
"recurrencesByTax": {
|
|
3738
|
+
"type": "array",
|
|
3739
|
+
"description": "The aggregated price items recurrences by tax rate",
|
|
3740
|
+
"items": {
|
|
3741
|
+
"oneOf": [
|
|
3742
|
+
{
|
|
3743
|
+
"$ref": "#/components/schemas/RecurrenceAmountWithTax"
|
|
3744
|
+
}
|
|
3745
|
+
]
|
|
3742
3746
|
}
|
|
3743
|
-
|
|
3747
|
+
}
|
|
3744
3748
|
}
|
|
3745
3749
|
}
|
|
3746
3750
|
}
|