@shushed/helpers 0.0.200-runtime-url-fix-20251125155626 → 0.0.200-runtime-url-fix2-20251125155916

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.
Files changed (43) hide show
  1. package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
  2. package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
  3. package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
  4. package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
  5. package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
  6. package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
  7. package/dist/cjs/dist-dereferenced/messages/price-change.js +1 -1
  8. package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
  9. package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
  10. package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
  11. package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
  12. package/dist/cjs/dist-dereferenced/price.js +1 -1
  13. package/dist/cjs/src-public/airtable.js +54 -26
  14. package/dist/cjs/src-public/dato.js +8 -385
  15. package/dist/cjs/src-public/runtime.js +2 -2
  16. package/dist/cjs/src-public/utils.js +119 -1
  17. package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +5 -23
  18. package/dist/types/dist-dereferenced/messages/order/new.d.ts +5 -23
  19. package/dist/types/dist-dereferenced/messages/order/processed.d.ts +5 -23
  20. package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +5 -23
  21. package/dist/types/dist-dereferenced/messages/order/returned.d.ts +5 -23
  22. package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +5 -23
  23. package/dist/types/dist-dereferenced/messages/price-change.d.ts +29 -20
  24. package/dist/types/dist-dereferenced/order/index.d.ts +5 -23
  25. package/dist/types/dist-dereferenced/order/orderMain.d.ts +5 -23
  26. package/dist/types/dist-dereferenced/order/payment.d.ts +0 -16
  27. package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +1 -0
  28. package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +1 -0
  29. package/dist/types/dist-dereferenced/price.d.ts +29 -20
  30. package/dist/types/dist-types/messages/order/delivered.d.ts +1 -7
  31. package/dist/types/dist-types/messages/order/new.d.ts +1 -7
  32. package/dist/types/dist-types/messages/order/processed.d.ts +1 -7
  33. package/dist/types/dist-types/messages/order/return-initiated.d.ts +1 -7
  34. package/dist/types/dist-types/messages/order/returned.d.ts +1 -7
  35. package/dist/types/dist-types/messages/order/shipped.d.ts +1 -7
  36. package/dist/types/dist-types/messages/price-change.d.ts +6 -5
  37. package/dist/types/dist-types/order/orderMain.d.ts +1 -7
  38. package/dist/types/dist-types/order/payment.d.ts +0 -4
  39. package/dist/types/dist-types/price.d.ts +6 -5
  40. package/dist/types/src-public/airtable.d.ts +1 -1
  41. package/dist/types/src-public/dato.d.ts +0 -33
  42. package/dist/types/src-public/utils.d.ts +34 -0
  43. package/package.json +1 -1
@@ -15,7 +15,8 @@ declare const schema: {
15
15
  readonly type: "string";
16
16
  };
17
17
  readonly centra_order_id: {
18
- readonly type: readonly ["integer", "null"];
18
+ readonly type: readonly ["string", "null"];
19
+ readonly format: "uuid";
19
20
  };
20
21
  readonly sfcc_order_id: {
21
22
  readonly type: readonly ["string", "null"];
@@ -64,22 +65,6 @@ declare const schema: {
64
65
  readonly card_number: {
65
66
  readonly type: readonly ["string", "null"];
66
67
  };
67
- readonly card_holder: {
68
- readonly type: readonly ["string", "null"];
69
- };
70
- readonly card_token: {
71
- readonly type: readonly ["string", "null"];
72
- };
73
- readonly expiration_month: {
74
- readonly type: readonly ["integer", "null"];
75
- readonly minimum: 1;
76
- readonly maximum: 12;
77
- };
78
- readonly expiration_year: {
79
- readonly type: readonly ["integer", "null"];
80
- readonly minimum: 2023;
81
- readonly maximum: 2085;
82
- };
83
68
  readonly journey_label: {
84
69
  readonly type: readonly ["string"];
85
70
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -697,9 +682,6 @@ declare const schema: {
697
682
  readonly phone: "+1-202-555-0143";
698
683
  };
699
684
  };
700
- readonly collection_point_id: {
701
- readonly type: readonly ["string", "null"];
702
- };
703
685
  readonly is_pos: {
704
686
  readonly type: readonly ["boolean"];
705
687
  };
@@ -1286,6 +1268,7 @@ declare const schema: {
1286
1268
  };
1287
1269
  readonly items: {
1288
1270
  readonly type: "array";
1271
+ readonly additionalProperties: false;
1289
1272
  readonly items: {
1290
1273
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1291
1274
  readonly title: "Order Shipment Item";
@@ -2172,6 +2155,7 @@ declare const schema: {
2172
2155
  };
2173
2156
  readonly items: {
2174
2157
  readonly type: "array";
2158
+ readonly additionalProperties: false;
2175
2159
  readonly items: {
2176
2160
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2177
2161
  readonly title: "Order Shipment Item";
@@ -2484,6 +2468,7 @@ declare const schema: {
2484
2468
  };
2485
2469
  readonly items: {
2486
2470
  readonly type: "array";
2471
+ readonly additionalProperties: false;
2487
2472
  readonly items: {
2488
2473
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2489
2474
  readonly title: "Order Shipment Item Returned";
@@ -3411,9 +3396,6 @@ declare const schema: {
3411
3396
  };
3412
3397
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3413
3398
  };
3414
- readonly shipping_method: {
3415
- readonly type: readonly ["string", "null"];
3416
- };
3417
3399
  };
3418
3400
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3419
3401
  }, {
@@ -15,7 +15,8 @@ declare const schema: {
15
15
  readonly type: "string";
16
16
  };
17
17
  readonly centra_order_id: {
18
- readonly type: readonly ["integer", "null"];
18
+ readonly type: readonly ["string", "null"];
19
+ readonly format: "uuid";
19
20
  };
20
21
  readonly sfcc_order_id: {
21
22
  readonly type: readonly ["string", "null"];
@@ -64,22 +65,6 @@ declare const schema: {
64
65
  readonly card_number: {
65
66
  readonly type: readonly ["string", "null"];
66
67
  };
67
- readonly card_holder: {
68
- readonly type: readonly ["string", "null"];
69
- };
70
- readonly card_token: {
71
- readonly type: readonly ["string", "null"];
72
- };
73
- readonly expiration_month: {
74
- readonly type: readonly ["integer", "null"];
75
- readonly minimum: 1;
76
- readonly maximum: 12;
77
- };
78
- readonly expiration_year: {
79
- readonly type: readonly ["integer", "null"];
80
- readonly minimum: 2023;
81
- readonly maximum: 2085;
82
- };
83
68
  readonly journey_label: {
84
69
  readonly type: readonly ["string"];
85
70
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -697,9 +682,6 @@ declare const schema: {
697
682
  readonly phone: "+1-202-555-0143";
698
683
  };
699
684
  };
700
- readonly collection_point_id: {
701
- readonly type: readonly ["string", "null"];
702
- };
703
685
  readonly is_pos: {
704
686
  readonly type: readonly ["boolean"];
705
687
  };
@@ -1286,6 +1268,7 @@ declare const schema: {
1286
1268
  };
1287
1269
  readonly items: {
1288
1270
  readonly type: "array";
1271
+ readonly additionalProperties: false;
1289
1272
  readonly items: {
1290
1273
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1291
1274
  readonly title: "Order Shipment Item";
@@ -2172,6 +2155,7 @@ declare const schema: {
2172
2155
  };
2173
2156
  readonly items: {
2174
2157
  readonly type: "array";
2158
+ readonly additionalProperties: false;
2175
2159
  readonly items: {
2176
2160
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2177
2161
  readonly title: "Order Shipment Item";
@@ -2484,6 +2468,7 @@ declare const schema: {
2484
2468
  };
2485
2469
  readonly items: {
2486
2470
  readonly type: "array";
2471
+ readonly additionalProperties: false;
2487
2472
  readonly items: {
2488
2473
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2489
2474
  readonly title: "Order Shipment Item Returned";
@@ -3411,9 +3396,6 @@ declare const schema: {
3411
3396
  };
3412
3397
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3413
3398
  };
3414
- readonly shipping_method: {
3415
- readonly type: readonly ["string", "null"];
3416
- };
3417
3399
  };
3418
3400
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3419
3401
  }, {
@@ -15,7 +15,8 @@ declare const schema: {
15
15
  readonly type: "string";
16
16
  };
17
17
  readonly centra_order_id: {
18
- readonly type: readonly ["integer", "null"];
18
+ readonly type: readonly ["string", "null"];
19
+ readonly format: "uuid";
19
20
  };
20
21
  readonly sfcc_order_id: {
21
22
  readonly type: readonly ["string", "null"];
@@ -64,22 +65,6 @@ declare const schema: {
64
65
  readonly card_number: {
65
66
  readonly type: readonly ["string", "null"];
66
67
  };
67
- readonly card_holder: {
68
- readonly type: readonly ["string", "null"];
69
- };
70
- readonly card_token: {
71
- readonly type: readonly ["string", "null"];
72
- };
73
- readonly expiration_month: {
74
- readonly type: readonly ["integer", "null"];
75
- readonly minimum: 1;
76
- readonly maximum: 12;
77
- };
78
- readonly expiration_year: {
79
- readonly type: readonly ["integer", "null"];
80
- readonly minimum: 2023;
81
- readonly maximum: 2085;
82
- };
83
68
  readonly journey_label: {
84
69
  readonly type: readonly ["string"];
85
70
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -697,9 +682,6 @@ declare const schema: {
697
682
  readonly phone: "+1-202-555-0143";
698
683
  };
699
684
  };
700
- readonly collection_point_id: {
701
- readonly type: readonly ["string", "null"];
702
- };
703
685
  readonly is_pos: {
704
686
  readonly type: readonly ["boolean"];
705
687
  };
@@ -1286,6 +1268,7 @@ declare const schema: {
1286
1268
  };
1287
1269
  readonly items: {
1288
1270
  readonly type: "array";
1271
+ readonly additionalProperties: false;
1289
1272
  readonly items: {
1290
1273
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1291
1274
  readonly title: "Order Shipment Item";
@@ -2172,6 +2155,7 @@ declare const schema: {
2172
2155
  };
2173
2156
  readonly items: {
2174
2157
  readonly type: "array";
2158
+ readonly additionalProperties: false;
2175
2159
  readonly items: {
2176
2160
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2177
2161
  readonly title: "Order Shipment Item";
@@ -2484,6 +2468,7 @@ declare const schema: {
2484
2468
  };
2485
2469
  readonly items: {
2486
2470
  readonly type: "array";
2471
+ readonly additionalProperties: false;
2487
2472
  readonly items: {
2488
2473
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2489
2474
  readonly title: "Order Shipment Item Returned";
@@ -3411,9 +3396,6 @@ declare const schema: {
3411
3396
  };
3412
3397
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3413
3398
  };
3414
- readonly shipping_method: {
3415
- readonly type: readonly ["string", "null"];
3416
- };
3417
3399
  };
3418
3400
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3419
3401
  }, {
@@ -15,7 +15,8 @@ declare const schema: {
15
15
  readonly type: "string";
16
16
  };
17
17
  readonly centra_order_id: {
18
- readonly type: readonly ["integer", "null"];
18
+ readonly type: readonly ["string", "null"];
19
+ readonly format: "uuid";
19
20
  };
20
21
  readonly sfcc_order_id: {
21
22
  readonly type: readonly ["string", "null"];
@@ -64,22 +65,6 @@ declare const schema: {
64
65
  readonly card_number: {
65
66
  readonly type: readonly ["string", "null"];
66
67
  };
67
- readonly card_holder: {
68
- readonly type: readonly ["string", "null"];
69
- };
70
- readonly card_token: {
71
- readonly type: readonly ["string", "null"];
72
- };
73
- readonly expiration_month: {
74
- readonly type: readonly ["integer", "null"];
75
- readonly minimum: 1;
76
- readonly maximum: 12;
77
- };
78
- readonly expiration_year: {
79
- readonly type: readonly ["integer", "null"];
80
- readonly minimum: 2023;
81
- readonly maximum: 2085;
82
- };
83
68
  readonly journey_label: {
84
69
  readonly type: readonly ["string"];
85
70
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -697,9 +682,6 @@ declare const schema: {
697
682
  readonly phone: "+1-202-555-0143";
698
683
  };
699
684
  };
700
- readonly collection_point_id: {
701
- readonly type: readonly ["string", "null"];
702
- };
703
685
  readonly is_pos: {
704
686
  readonly type: readonly ["boolean"];
705
687
  };
@@ -1286,6 +1268,7 @@ declare const schema: {
1286
1268
  };
1287
1269
  readonly items: {
1288
1270
  readonly type: "array";
1271
+ readonly additionalProperties: false;
1289
1272
  readonly items: {
1290
1273
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1291
1274
  readonly title: "Order Shipment Item";
@@ -2172,6 +2155,7 @@ declare const schema: {
2172
2155
  };
2173
2156
  readonly items: {
2174
2157
  readonly type: "array";
2158
+ readonly additionalProperties: false;
2175
2159
  readonly items: {
2176
2160
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2177
2161
  readonly title: "Order Shipment Item";
@@ -2484,6 +2468,7 @@ declare const schema: {
2484
2468
  };
2485
2469
  readonly items: {
2486
2470
  readonly type: "array";
2471
+ readonly additionalProperties: false;
2487
2472
  readonly items: {
2488
2473
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2489
2474
  readonly title: "Order Shipment Item Returned";
@@ -3411,9 +3396,6 @@ declare const schema: {
3411
3396
  };
3412
3397
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3413
3398
  };
3414
- readonly shipping_method: {
3415
- readonly type: readonly ["string", "null"];
3416
- };
3417
3399
  };
3418
3400
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3419
3401
  }, {
@@ -15,7 +15,8 @@ declare const schema: {
15
15
  readonly type: "string";
16
16
  };
17
17
  readonly centra_order_id: {
18
- readonly type: readonly ["integer", "null"];
18
+ readonly type: readonly ["string", "null"];
19
+ readonly format: "uuid";
19
20
  };
20
21
  readonly sfcc_order_id: {
21
22
  readonly type: readonly ["string", "null"];
@@ -64,22 +65,6 @@ declare const schema: {
64
65
  readonly card_number: {
65
66
  readonly type: readonly ["string", "null"];
66
67
  };
67
- readonly card_holder: {
68
- readonly type: readonly ["string", "null"];
69
- };
70
- readonly card_token: {
71
- readonly type: readonly ["string", "null"];
72
- };
73
- readonly expiration_month: {
74
- readonly type: readonly ["integer", "null"];
75
- readonly minimum: 1;
76
- readonly maximum: 12;
77
- };
78
- readonly expiration_year: {
79
- readonly type: readonly ["integer", "null"];
80
- readonly minimum: 2023;
81
- readonly maximum: 2085;
82
- };
83
68
  readonly journey_label: {
84
69
  readonly type: readonly ["string"];
85
70
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -697,9 +682,6 @@ declare const schema: {
697
682
  readonly phone: "+1-202-555-0143";
698
683
  };
699
684
  };
700
- readonly collection_point_id: {
701
- readonly type: readonly ["string", "null"];
702
- };
703
685
  readonly is_pos: {
704
686
  readonly type: readonly ["boolean"];
705
687
  };
@@ -1286,6 +1268,7 @@ declare const schema: {
1286
1268
  };
1287
1269
  readonly items: {
1288
1270
  readonly type: "array";
1271
+ readonly additionalProperties: false;
1289
1272
  readonly items: {
1290
1273
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1291
1274
  readonly title: "Order Shipment Item";
@@ -2172,6 +2155,7 @@ declare const schema: {
2172
2155
  };
2173
2156
  readonly items: {
2174
2157
  readonly type: "array";
2158
+ readonly additionalProperties: false;
2175
2159
  readonly items: {
2176
2160
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2177
2161
  readonly title: "Order Shipment Item";
@@ -2484,6 +2468,7 @@ declare const schema: {
2484
2468
  };
2485
2469
  readonly items: {
2486
2470
  readonly type: "array";
2471
+ readonly additionalProperties: false;
2487
2472
  readonly items: {
2488
2473
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2489
2474
  readonly title: "Order Shipment Item Returned";
@@ -3411,9 +3396,6 @@ declare const schema: {
3411
3396
  };
3412
3397
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3413
3398
  };
3414
- readonly shipping_method: {
3415
- readonly type: readonly ["string", "null"];
3416
- };
3417
3399
  };
3418
3400
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3419
3401
  }, {
@@ -14,7 +14,8 @@ declare const schema: {
14
14
  readonly type: "string";
15
15
  };
16
16
  readonly centra_order_id: {
17
- readonly type: readonly ["integer", "null"];
17
+ readonly type: readonly ["string", "null"];
18
+ readonly format: "uuid";
18
19
  };
19
20
  readonly sfcc_order_id: {
20
21
  readonly type: readonly ["string", "null"];
@@ -63,22 +64,6 @@ declare const schema: {
63
64
  readonly card_number: {
64
65
  readonly type: readonly ["string", "null"];
65
66
  };
66
- readonly card_holder: {
67
- readonly type: readonly ["string", "null"];
68
- };
69
- readonly card_token: {
70
- readonly type: readonly ["string", "null"];
71
- };
72
- readonly expiration_month: {
73
- readonly type: readonly ["integer", "null"];
74
- readonly minimum: 1;
75
- readonly maximum: 12;
76
- };
77
- readonly expiration_year: {
78
- readonly type: readonly ["integer", "null"];
79
- readonly minimum: 2023;
80
- readonly maximum: 2085;
81
- };
82
67
  readonly journey_label: {
83
68
  readonly type: readonly ["string"];
84
69
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -696,9 +681,6 @@ declare const schema: {
696
681
  readonly phone: "+1-202-555-0143";
697
682
  };
698
683
  };
699
- readonly collection_point_id: {
700
- readonly type: readonly ["string", "null"];
701
- };
702
684
  readonly is_pos: {
703
685
  readonly type: readonly ["boolean"];
704
686
  };
@@ -1285,6 +1267,7 @@ declare const schema: {
1285
1267
  };
1286
1268
  readonly items: {
1287
1269
  readonly type: "array";
1270
+ readonly additionalProperties: false;
1288
1271
  readonly items: {
1289
1272
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1290
1273
  readonly title: "Order Shipment Item";
@@ -2171,6 +2154,7 @@ declare const schema: {
2171
2154
  };
2172
2155
  readonly items: {
2173
2156
  readonly type: "array";
2157
+ readonly additionalProperties: false;
2174
2158
  readonly items: {
2175
2159
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2176
2160
  readonly title: "Order Shipment Item";
@@ -2483,6 +2467,7 @@ declare const schema: {
2483
2467
  };
2484
2468
  readonly items: {
2485
2469
  readonly type: "array";
2470
+ readonly additionalProperties: false;
2486
2471
  readonly items: {
2487
2472
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2488
2473
  readonly title: "Order Shipment Item Returned";
@@ -3410,9 +3395,6 @@ declare const schema: {
3410
3395
  };
3411
3396
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3412
3397
  };
3413
- readonly shipping_method: {
3414
- readonly type: readonly ["string", "null"];
3415
- };
3416
3398
  };
3417
3399
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3418
3400
  }, {
@@ -17,17 +17,34 @@ declare const schema: {
17
17
  readonly pricelist_code: {
18
18
  readonly type: "string";
19
19
  };
20
- readonly full_price: {
21
- readonly type: "integer";
22
- readonly minimum: 0;
23
- };
24
- readonly markdown: {
25
- readonly type: "integer";
26
- readonly minimum: 0;
27
- };
28
- readonly pos: {
29
- readonly type: "integer";
30
- readonly minimum: 0;
20
+ readonly price_changes: {
21
+ readonly type: "array";
22
+ readonly items: {
23
+ readonly type: "object";
24
+ readonly additionalProperties: false;
25
+ readonly properties: {
26
+ readonly price: {
27
+ readonly type: "integer";
28
+ readonly minimum: 0;
29
+ };
30
+ readonly price_type: {
31
+ readonly type: "string";
32
+ readonly enum: readonly ["rrp", "perm", "pos"];
33
+ };
34
+ readonly effective_from: {
35
+ readonly type: "string";
36
+ readonly format: "date-time";
37
+ };
38
+ readonly effective_until: {
39
+ readonly type: "string";
40
+ readonly format: "date-time";
41
+ };
42
+ };
43
+ readonly includes_vat: {
44
+ readonly type: "boolean";
45
+ };
46
+ readonly required: readonly ["price", "includes_vat", "price_type", "effective_from", "effective_until"];
47
+ };
31
48
  };
32
49
  readonly currency: {
33
50
  readonly title: "Currency";
@@ -35,19 +52,11 @@ declare const schema: {
35
52
  readonly type: "string";
36
53
  readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
37
54
  };
38
- readonly effective_from: {
39
- readonly type: "string";
40
- readonly format: "date-time";
41
- };
42
- readonly effective_until: {
43
- readonly type: "string";
44
- readonly format: "date-time";
45
- };
46
55
  readonly channel: {
47
56
  readonly type: "string";
48
57
  };
49
58
  };
50
- readonly required: readonly ["style_id", "colour_id", "pricelist_code", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
59
+ readonly required: readonly ["style_id", "colour_id", "pricelist_code", "markdown", "currency", "channel"];
51
60
  }, {
52
61
  readonly type: "object";
53
62
  readonly additionalProperties: false;
@@ -16,7 +16,8 @@ declare const MainModuleObj: {
16
16
  readonly type: "string";
17
17
  };
18
18
  readonly centra_order_id: {
19
- readonly type: readonly ["integer", "null"];
19
+ readonly type: readonly ["string", "null"];
20
+ readonly format: "uuid";
20
21
  };
21
22
  readonly sfcc_order_id: {
22
23
  readonly type: readonly ["string", "null"];
@@ -65,22 +66,6 @@ declare const MainModuleObj: {
65
66
  readonly card_number: {
66
67
  readonly type: readonly ["string", "null"];
67
68
  };
68
- readonly card_holder: {
69
- readonly type: readonly ["string", "null"];
70
- };
71
- readonly card_token: {
72
- readonly type: readonly ["string", "null"];
73
- };
74
- readonly expiration_month: {
75
- readonly type: readonly ["integer", "null"];
76
- readonly minimum: 1;
77
- readonly maximum: 12;
78
- };
79
- readonly expiration_year: {
80
- readonly type: readonly ["integer", "null"];
81
- readonly minimum: 2023;
82
- readonly maximum: 2085;
83
- };
84
69
  readonly journey_label: {
85
70
  readonly type: readonly ["string"];
86
71
  readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
@@ -698,9 +683,6 @@ declare const MainModuleObj: {
698
683
  readonly phone: "+1-202-555-0143";
699
684
  };
700
685
  };
701
- readonly collection_point_id: {
702
- readonly type: readonly ["string", "null"];
703
- };
704
686
  readonly is_pos: {
705
687
  readonly type: readonly ["boolean"];
706
688
  };
@@ -1287,6 +1269,7 @@ declare const MainModuleObj: {
1287
1269
  };
1288
1270
  readonly items: {
1289
1271
  readonly type: "array";
1272
+ readonly additionalProperties: false;
1290
1273
  readonly items: {
1291
1274
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1292
1275
  readonly title: "Order Shipment Item";
@@ -2173,6 +2156,7 @@ declare const MainModuleObj: {
2173
2156
  };
2174
2157
  readonly items: {
2175
2158
  readonly type: "array";
2159
+ readonly additionalProperties: false;
2176
2160
  readonly items: {
2177
2161
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2178
2162
  readonly title: "Order Shipment Item";
@@ -2485,6 +2469,7 @@ declare const MainModuleObj: {
2485
2469
  };
2486
2470
  readonly items: {
2487
2471
  readonly type: "array";
2472
+ readonly additionalProperties: false;
2488
2473
  readonly items: {
2489
2474
  readonly $schema: "http://json-schema.org/draft-07/schema#";
2490
2475
  readonly title: "Order Shipment Item Returned";
@@ -3412,9 +3397,6 @@ declare const MainModuleObj: {
3412
3397
  };
3413
3398
  readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
3414
3399
  };
3415
- readonly shipping_method: {
3416
- readonly type: readonly ["string", "null"];
3417
- };
3418
3400
  };
3419
3401
  readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
3420
3402
  readonly $id: "https://shushed.example.com/order.schema.json";