@epilot/pricing-client 3.35.6 → 3.35.8

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
@@ -89,6 +89,14 @@ declare namespace Components {
89
89
  * The discount amount as a string with all the decimal places.
90
90
  */
91
91
  discount_amount_decimal?: string;
92
+ /**
93
+ * The bonus amount.
94
+ */
95
+ bonus_amount?: number;
96
+ /**
97
+ * The bonus amount as a string with all the decimal places.
98
+ */
99
+ bonus_amount_decimal?: string;
92
100
  /**
93
101
  * The discount percentage, if the applied coupon had a percentage type.
94
102
  */
@@ -228,6 +236,14 @@ declare namespace Components {
228
236
  * The discount amount as a string with all the decimal places.
229
237
  */
230
238
  discount_amount_decimal?: string;
239
+ /**
240
+ * The bonus amount.
241
+ */
242
+ bonus_amount?: number;
243
+ /**
244
+ * The bonus amount as a string with all the decimal places.
245
+ */
246
+ bonus_amount_decimal?: string;
231
247
  /**
232
248
  * The discount percentage, if the applied coupon had a percentage type.
233
249
  */
@@ -867,6 +883,14 @@ declare namespace Components {
867
883
  * The discount amount as a string with all the decimal places.
868
884
  */
869
885
  discount_amount_decimal?: string;
886
+ /**
887
+ * The bonus amount.
888
+ */
889
+ bonus_amount?: number;
890
+ /**
891
+ * The bonus amount as a string with all the decimal places.
892
+ */
893
+ bonus_amount_decimal?: string;
870
894
  /**
871
895
  * The discount percentage, if the applied coupon had a percentage type.
872
896
  */
@@ -1183,6 +1207,14 @@ declare namespace Components {
1183
1207
  * The discount amount as a string with all the decimal places.
1184
1208
  */
1185
1209
  discount_amount_decimal?: string;
1210
+ /**
1211
+ * The bonus amount.
1212
+ */
1213
+ bonus_amount?: number;
1214
+ /**
1215
+ * The bonus amount as a string with all the decimal places.
1216
+ */
1217
+ bonus_amount_decimal?: string;
1186
1218
  /**
1187
1219
  * The discount percentage, if the applied coupon had a percentage type.
1188
1220
  */
@@ -1909,7 +1941,7 @@ declare namespace Components {
1909
1941
  name: string;
1910
1942
  description?: string;
1911
1943
  type?: "fixed" | "percentage";
1912
- category?: "discount" | "bonus";
1944
+ category?: "discount" | "cashback";
1913
1945
  /**
1914
1946
  * Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
1915
1947
  */
@@ -3349,6 +3381,14 @@ declare namespace Components {
3349
3381
  * The discount amount as a string with all the decimal places.
3350
3382
  */
3351
3383
  discount_amount_decimal?: string;
3384
+ /**
3385
+ * The bonus amount.
3386
+ */
3387
+ bonus_amount?: number;
3388
+ /**
3389
+ * The bonus amount as a string with all the decimal places.
3390
+ */
3391
+ bonus_amount_decimal?: string;
3352
3392
  /**
3353
3393
  * The discount percentage, if the applied coupon had a percentage type.
3354
3394
  */
@@ -4316,6 +4356,14 @@ declare namespace Components {
4316
4356
  * The discount amount as a string with all the decimal places.
4317
4357
  */
4318
4358
  discount_amount_decimal?: string;
4359
+ /**
4360
+ * The bonus amount.
4361
+ */
4362
+ bonus_amount?: number;
4363
+ /**
4364
+ * The bonus amount as a string with all the decimal places.
4365
+ */
4366
+ bonus_amount_decimal?: string;
4319
4367
  /**
4320
4368
  * The discount percentage, if the applied coupon had a percentage type.
4321
4369
  */
@@ -4385,6 +4433,14 @@ declare namespace Components {
4385
4433
  * The discount amount as a string with all the decimal places.
4386
4434
  */
4387
4435
  discount_amount_decimal?: string;
4436
+ /**
4437
+ * The bonus amount.
4438
+ */
4439
+ bonus_amount?: number;
4440
+ /**
4441
+ * The bonus amount as a string with all the decimal places.
4442
+ */
4443
+ bonus_amount_decimal?: string;
4388
4444
  /**
4389
4445
  * The discount percentage, if the applied coupon had a percentage type.
4390
4446
  */
package/dist/openapi.json CHANGED
@@ -4059,6 +4059,16 @@
4059
4059
  "description": "The discount amount as a string with all the decimal places.",
4060
4060
  "readOnly": true
4061
4061
  },
4062
+ "bonus_amount": {
4063
+ "type": "integer",
4064
+ "description": "The bonus amount.",
4065
+ "readOnly": true
4066
+ },
4067
+ "bonus_amount_decimal": {
4068
+ "type": "string",
4069
+ "description": "The bonus amount as a string with all the decimal places.",
4070
+ "readOnly": true
4071
+ },
4062
4072
  "discount_percentage": {
4063
4073
  "type": "integer",
4064
4074
  "description": "The discount percentage, if the applied coupon had a percentage type.",
@@ -4923,7 +4933,7 @@
4923
4933
  "type": "string",
4924
4934
  "enum": [
4925
4935
  "discount",
4926
- "bonus"
4936
+ "cashback"
4927
4937
  ]
4928
4938
  },
4929
4939
  "percentage_value": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.35.6",
3
+ "version": "3.35.8",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",