@epilot/pricing-client 3.35.12 → 3.35.14-beta.1
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 +102 -0
- package/dist/openapi.json +47 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -97,6 +97,18 @@ declare namespace Components {
|
|
|
97
97
|
* The cashback amount as a string with all the decimal places.
|
|
98
98
|
*/
|
|
99
99
|
cashback_amount_decimal?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
102
|
+
*/
|
|
103
|
+
cashback_period?: "0" | "12";
|
|
104
|
+
/**
|
|
105
|
+
* Total amount after cashback is applied.
|
|
106
|
+
*/
|
|
107
|
+
after_cashback_amount_total?: number;
|
|
108
|
+
/**
|
|
109
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
110
|
+
*/
|
|
111
|
+
after_cashback_amount_total_decimal?: string;
|
|
100
112
|
/**
|
|
101
113
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
102
114
|
*/
|
|
@@ -244,6 +256,18 @@ declare namespace Components {
|
|
|
244
256
|
* The cashback amount as a string with all the decimal places.
|
|
245
257
|
*/
|
|
246
258
|
cashback_amount_decimal?: string;
|
|
259
|
+
/**
|
|
260
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
261
|
+
*/
|
|
262
|
+
cashback_period?: "0" | "12";
|
|
263
|
+
/**
|
|
264
|
+
* Total amount after cashback is applied.
|
|
265
|
+
*/
|
|
266
|
+
after_cashback_amount_total?: number;
|
|
267
|
+
/**
|
|
268
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
269
|
+
*/
|
|
270
|
+
after_cashback_amount_total_decimal?: string;
|
|
247
271
|
/**
|
|
248
272
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
249
273
|
*/
|
|
@@ -907,6 +931,18 @@ declare namespace Components {
|
|
|
907
931
|
* The cashback amount as a string with all the decimal places.
|
|
908
932
|
*/
|
|
909
933
|
cashback_amount_decimal?: string;
|
|
934
|
+
/**
|
|
935
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
936
|
+
*/
|
|
937
|
+
cashback_period?: "0" | "12";
|
|
938
|
+
/**
|
|
939
|
+
* Total amount after cashback is applied.
|
|
940
|
+
*/
|
|
941
|
+
after_cashback_amount_total?: number;
|
|
942
|
+
/**
|
|
943
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
944
|
+
*/
|
|
945
|
+
after_cashback_amount_total_decimal?: string;
|
|
910
946
|
/**
|
|
911
947
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
912
948
|
*/
|
|
@@ -996,6 +1032,19 @@ declare namespace Components {
|
|
|
996
1032
|
[name: string]: any;
|
|
997
1033
|
};
|
|
998
1034
|
}
|
|
1035
|
+
/**
|
|
1036
|
+
* An amount associated with a specific cashback period.
|
|
1037
|
+
*/
|
|
1038
|
+
export interface CashbackAmount {
|
|
1039
|
+
/**
|
|
1040
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
1041
|
+
*/
|
|
1042
|
+
cashback_period?: "0" | "12";
|
|
1043
|
+
/**
|
|
1044
|
+
* The sum of all cashbacks for a specific cashback period
|
|
1045
|
+
*/
|
|
1046
|
+
amount_total?: number;
|
|
1047
|
+
}
|
|
999
1048
|
/**
|
|
1000
1049
|
* A catalog search payload
|
|
1001
1050
|
* example:
|
|
@@ -1231,6 +1280,18 @@ declare namespace Components {
|
|
|
1231
1280
|
* The cashback amount as a string with all the decimal places.
|
|
1232
1281
|
*/
|
|
1233
1282
|
cashback_amount_decimal?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
1285
|
+
*/
|
|
1286
|
+
cashback_period?: "0" | "12";
|
|
1287
|
+
/**
|
|
1288
|
+
* Total amount after cashback is applied.
|
|
1289
|
+
*/
|
|
1290
|
+
after_cashback_amount_total?: number;
|
|
1291
|
+
/**
|
|
1292
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
1293
|
+
*/
|
|
1294
|
+
after_cashback_amount_total_decimal?: string;
|
|
1234
1295
|
/**
|
|
1235
1296
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
1236
1297
|
*/
|
|
@@ -3416,6 +3477,18 @@ declare namespace Components {
|
|
|
3416
3477
|
* The cashback amount as a string with all the decimal places.
|
|
3417
3478
|
*/
|
|
3418
3479
|
cashback_amount_decimal?: string;
|
|
3480
|
+
/**
|
|
3481
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
3482
|
+
*/
|
|
3483
|
+
cashback_period?: "0" | "12";
|
|
3484
|
+
/**
|
|
3485
|
+
* Total amount after cashback is applied.
|
|
3486
|
+
*/
|
|
3487
|
+
after_cashback_amount_total?: number;
|
|
3488
|
+
/**
|
|
3489
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
3490
|
+
*/
|
|
3491
|
+
after_cashback_amount_total_decimal?: string;
|
|
3419
3492
|
/**
|
|
3420
3493
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
3421
3494
|
*/
|
|
@@ -4407,6 +4480,18 @@ declare namespace Components {
|
|
|
4407
4480
|
* The cashback amount as a string with all the decimal places.
|
|
4408
4481
|
*/
|
|
4409
4482
|
cashback_amount_decimal?: string;
|
|
4483
|
+
/**
|
|
4484
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
4485
|
+
*/
|
|
4486
|
+
cashback_period?: "0" | "12";
|
|
4487
|
+
/**
|
|
4488
|
+
* Total amount after cashback is applied.
|
|
4489
|
+
*/
|
|
4490
|
+
after_cashback_amount_total?: number;
|
|
4491
|
+
/**
|
|
4492
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
4493
|
+
*/
|
|
4494
|
+
after_cashback_amount_total_decimal?: string;
|
|
4410
4495
|
/**
|
|
4411
4496
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
4412
4497
|
*/
|
|
@@ -4484,6 +4569,18 @@ declare namespace Components {
|
|
|
4484
4569
|
* The cashback amount as a string with all the decimal places.
|
|
4485
4570
|
*/
|
|
4486
4571
|
cashback_amount_decimal?: string;
|
|
4572
|
+
/**
|
|
4573
|
+
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
4574
|
+
*/
|
|
4575
|
+
cashback_period?: "0" | "12";
|
|
4576
|
+
/**
|
|
4577
|
+
* Total amount after cashback is applied.
|
|
4578
|
+
*/
|
|
4579
|
+
after_cashback_amount_total?: number;
|
|
4580
|
+
/**
|
|
4581
|
+
* Total amount after cashback is applied as a string with all the decimal places.
|
|
4582
|
+
*/
|
|
4583
|
+
after_cashback_amount_total_decimal?: string;
|
|
4487
4584
|
/**
|
|
4488
4585
|
* The discount percentage, if the applied coupon had a percentage type.
|
|
4489
4586
|
*/
|
|
@@ -4805,6 +4902,10 @@ declare namespace Components {
|
|
|
4805
4902
|
* The aggregated price items tax amount per rate.
|
|
4806
4903
|
*/
|
|
4807
4904
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
4905
|
+
/**
|
|
4906
|
+
* The list of cashback sums for each cashback period.
|
|
4907
|
+
*/
|
|
4908
|
+
cashbacks?: (/* An amount associated with a specific cashback period. */ CashbackAmount)[];
|
|
4808
4909
|
/**
|
|
4809
4910
|
* The aggregated price items recurrences by tax rate
|
|
4810
4911
|
*/
|
|
@@ -5532,6 +5633,7 @@ export type BasicAuthCredentials = Components.Schemas.BasicAuthCredentials;
|
|
|
5532
5633
|
export type BillingPeriod = Components.Schemas.BillingPeriod;
|
|
5533
5634
|
export type Cart = Components.Schemas.Cart;
|
|
5534
5635
|
export type CartDto = Components.Schemas.CartDto;
|
|
5636
|
+
export type CashbackAmount = Components.Schemas.CashbackAmount;
|
|
5535
5637
|
export type CatalogSearch = Components.Schemas.CatalogSearch;
|
|
5536
5638
|
export type CatalogSearchResult = Components.Schemas.CatalogSearchResult;
|
|
5537
5639
|
export type CheckoutCart = Components.Schemas.CheckoutCart;
|
package/dist/openapi.json
CHANGED
|
@@ -4099,6 +4099,24 @@
|
|
|
4099
4099
|
"description": "The cashback amount as a string with all the decimal places.",
|
|
4100
4100
|
"readOnly": true
|
|
4101
4101
|
},
|
|
4102
|
+
"cashback_period": {
|
|
4103
|
+
"type": "string",
|
|
4104
|
+
"description": "The cashback period, for now it's limited to either 0 months or 12 months",
|
|
4105
|
+
"enum": [
|
|
4106
|
+
"0",
|
|
4107
|
+
"12"
|
|
4108
|
+
]
|
|
4109
|
+
},
|
|
4110
|
+
"after_cashback_amount_total": {
|
|
4111
|
+
"type": "integer",
|
|
4112
|
+
"description": "Total amount after cashback is applied.",
|
|
4113
|
+
"readOnly": true
|
|
4114
|
+
},
|
|
4115
|
+
"after_cashback_amount_total_decimal": {
|
|
4116
|
+
"type": "string",
|
|
4117
|
+
"description": "Total amount after cashback is applied as a string with all the decimal places.",
|
|
4118
|
+
"readOnly": true
|
|
4119
|
+
},
|
|
4102
4120
|
"discount_percentage": {
|
|
4103
4121
|
"type": "integer",
|
|
4104
4122
|
"description": "The discount percentage, if the applied coupon had a percentage type.",
|
|
@@ -4267,6 +4285,24 @@
|
|
|
4267
4285
|
"amount_total_decimal"
|
|
4268
4286
|
]
|
|
4269
4287
|
},
|
|
4288
|
+
"CashbackAmount": {
|
|
4289
|
+
"type": "object",
|
|
4290
|
+
"description": "An amount associated with a specific cashback period.",
|
|
4291
|
+
"properties": {
|
|
4292
|
+
"cashback_period": {
|
|
4293
|
+
"type": "string",
|
|
4294
|
+
"description": "The cashback period, for now it's limited to either 0 months or 12 months",
|
|
4295
|
+
"enum": [
|
|
4296
|
+
"0",
|
|
4297
|
+
"12"
|
|
4298
|
+
]
|
|
4299
|
+
},
|
|
4300
|
+
"amount_total": {
|
|
4301
|
+
"type": "integer",
|
|
4302
|
+
"description": "The sum of all cashbacks for a specific cashback period"
|
|
4303
|
+
}
|
|
4304
|
+
}
|
|
4305
|
+
},
|
|
4270
4306
|
"RecurrenceAmountWithTax": {
|
|
4271
4307
|
"type": "object",
|
|
4272
4308
|
"description": "An amount associated with a specific recurrence.",
|
|
@@ -4354,6 +4390,17 @@
|
|
|
4354
4390
|
]
|
|
4355
4391
|
}
|
|
4356
4392
|
},
|
|
4393
|
+
"cashbacks": {
|
|
4394
|
+
"type": "array",
|
|
4395
|
+
"description": "The list of cashback sums for each cashback period.",
|
|
4396
|
+
"items": {
|
|
4397
|
+
"oneOf": [
|
|
4398
|
+
{
|
|
4399
|
+
"$ref": "#/components/schemas/CashbackAmount"
|
|
4400
|
+
}
|
|
4401
|
+
]
|
|
4402
|
+
}
|
|
4403
|
+
},
|
|
4357
4404
|
"recurrencesByTax": {
|
|
4358
4405
|
"type": "array",
|
|
4359
4406
|
"description": "The aggregated price items recurrences by tax rate",
|