@shushed/helpers 0.0.202-v2-20251208085030 → 0.0.202
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/cjs/contracts/asset.schema.json +78 -0
- package/dist/cjs/contracts/category.schema.json +86 -0
- package/dist/cjs/contracts/country.schema.json +258 -0
- package/dist/cjs/contracts/currency.schema.json +177 -0
- package/dist/cjs/contracts/customer-segment.schema.json +32 -0
- package/dist/cjs/contracts/development-colour.schema.json +97 -0
- package/dist/cjs/contracts/index.js +48 -0
- package/dist/cjs/contracts/marketing-preferences.schema.json +41 -0
- package/dist/cjs/contracts/messages/ean-change.schema.json +22 -0
- package/dist/cjs/contracts/messages/index.js +29 -0
- package/dist/cjs/contracts/messages/order/delivered.schema.json +26 -0
- package/dist/cjs/contracts/messages/order/index.js +18 -0
- package/dist/cjs/contracts/messages/order/new.schema.json +32 -0
- package/dist/cjs/contracts/messages/order/processed.schema.json +15 -0
- package/dist/cjs/contracts/messages/order/return-initiated.schema.json +26 -0
- package/dist/cjs/contracts/messages/order/returned.schema.json +25 -0
- package/dist/cjs/contracts/messages/order/shipped.schema.json +26 -0
- package/dist/cjs/contracts/messages/product-category.schema.json +21 -0
- package/dist/cjs/contracts/messages/product-draft.schema.json +66 -0
- package/dist/cjs/contracts/messages/product.schema.json +29 -0
- package/dist/cjs/contracts/money.schema.json +54 -0
- package/dist/cjs/contracts/order/address.schema.json +127 -0
- package/dist/cjs/contracts/order/customer.schema.json +149 -0
- package/dist/cjs/contracts/order/index.js +31 -0
- package/dist/cjs/contracts/order/item.schema.json +98 -0
- package/dist/cjs/contracts/order/payment.schema.json +115 -0
- package/dist/cjs/contracts/order/shipment/index.js +29 -0
- package/dist/cjs/contracts/order/shipment/item/index.js +8 -0
- package/dist/cjs/contracts/order/shipment/item/returned.schema.json +30 -0
- package/dist/cjs/contracts/order/shipment/item.schema.json +22 -0
- package/dist/cjs/contracts/order/shipment/pos/index.js +10 -0
- package/dist/cjs/contracts/order/shipment/pos/outbound.schema.json +37 -0
- package/dist/cjs/contracts/order/shipment/pos/return.schema.json +31 -0
- package/dist/cjs/contracts/order/shipment/pos.schema.json +48 -0
- package/dist/cjs/contracts/order/shipment/shipped/index.js +10 -0
- package/dist/cjs/contracts/order/shipment/shipped/outbound.schema.json +34 -0
- package/dist/cjs/contracts/order/shipment/shipped/return.schema.json +43 -0
- package/dist/cjs/contracts/order/shipment/shipped.schema.json +52 -0
- package/dist/cjs/contracts/order/shipment.schema.json +58 -0
- package/dist/cjs/contracts/order.schema.json +231 -0
- package/dist/cjs/contracts/product-category.schema.json +34 -0
- package/dist/cjs/contracts/product-draft.schema.json +782 -0
- package/dist/cjs/contracts/product.schema.json +816 -0
- package/dist/cjs/contracts/total.schema.json +41 -0
- package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
- package/dist/cjs/dist-dereferenced/order/customer.js +1 -1
- package/dist/cjs/dist-dereferenced/order/item.js +1 -1
- package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
- package/dist/cjs/src-public/bcOrder.js +943 -0
- package/dist/cjs/src-public/dato.js +10 -287
- package/dist/cjs/src-public/index.js +3 -1
- package/dist/cjs/src-public/validate.js +34 -0
- package/dist/types/contracts/index.d.ts +15 -0
- package/dist/types/contracts/messages/index.d.ts +5 -0
- package/dist/types/contracts/messages/order/index.d.ts +6 -0
- package/dist/types/contracts/order/index.d.ts +6 -0
- package/dist/types/contracts/order/shipment/index.d.ts +6 -0
- package/dist/types/contracts/order/shipment/item/index.d.ts +1 -0
- package/dist/types/contracts/order/shipment/pos/index.d.ts +2 -0
- package/dist/types/contracts/order/shipment/shipped/index.d.ts +2 -0
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +34 -10
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +34 -10
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +34 -10
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +34 -10
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +34 -10
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +34 -10
- package/dist/types/dist-dereferenced/order/customer.d.ts +3 -0
- package/dist/types/dist-dereferenced/order/index.d.ts +34 -10
- package/dist/types/dist-dereferenced/order/item.d.ts +6 -3
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +34 -10
- package/dist/types/dist-dereferenced/order/payment.d.ts +16 -0
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +0 -1
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +0 -1
- package/dist/types/dist-types/messages/order/delivered.d.ts +13 -5
- package/dist/types/dist-types/messages/order/new.d.ts +13 -5
- package/dist/types/dist-types/messages/order/processed.d.ts +13 -5
- package/dist/types/dist-types/messages/order/return-initiated.d.ts +13 -5
- package/dist/types/dist-types/messages/order/returned.d.ts +13 -5
- package/dist/types/dist-types/messages/order/shipped.d.ts +13 -5
- package/dist/types/dist-types/order/customer.d.ts +1 -0
- package/dist/types/dist-types/order/item.d.ts +4 -3
- package/dist/types/dist-types/order/orderMain.d.ts +13 -5
- package/dist/types/dist-types/order/payment.d.ts +4 -0
- package/dist/types/src-public/bcOrder.d.ts +84 -0
- package/dist/types/src-public/dato.d.ts +1 -34
- package/dist/types/src-public/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -15,13 +15,12 @@ declare const schema: {
|
|
|
15
15
|
readonly type: "string";
|
|
16
16
|
};
|
|
17
17
|
readonly centra_order_id: {
|
|
18
|
-
readonly type: readonly ["
|
|
19
|
-
readonly format: "uuid";
|
|
18
|
+
readonly type: readonly ["integer", "null"];
|
|
20
19
|
};
|
|
21
20
|
readonly sfcc_order_id: {
|
|
22
21
|
readonly type: readonly ["string", "null"];
|
|
23
22
|
};
|
|
24
|
-
readonly
|
|
23
|
+
readonly globale_order_id: {
|
|
25
24
|
readonly type: readonly ["string", "null"];
|
|
26
25
|
};
|
|
27
26
|
readonly sitoo_order_id: {
|
|
@@ -65,6 +64,22 @@ declare const schema: {
|
|
|
65
64
|
readonly card_number: {
|
|
66
65
|
readonly type: readonly ["string", "null"];
|
|
67
66
|
};
|
|
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
|
+
};
|
|
68
83
|
readonly journey_label: {
|
|
69
84
|
readonly type: readonly ["string"];
|
|
70
85
|
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
@@ -385,6 +400,9 @@ declare const schema: {
|
|
|
385
400
|
};
|
|
386
401
|
readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
|
|
387
402
|
};
|
|
403
|
+
readonly phone: {
|
|
404
|
+
readonly type: readonly ["string", "null"];
|
|
405
|
+
};
|
|
388
406
|
readonly email: {
|
|
389
407
|
readonly type: readonly ["string", "null"];
|
|
390
408
|
readonly format: "email";
|
|
@@ -682,6 +700,9 @@ declare const schema: {
|
|
|
682
700
|
readonly phone: "+1-202-555-0143";
|
|
683
701
|
};
|
|
684
702
|
};
|
|
703
|
+
readonly collection_point_id: {
|
|
704
|
+
readonly type: readonly ["string", "null"];
|
|
705
|
+
};
|
|
685
706
|
readonly is_pos: {
|
|
686
707
|
readonly type: readonly ["boolean"];
|
|
687
708
|
};
|
|
@@ -1268,7 +1289,6 @@ declare const schema: {
|
|
|
1268
1289
|
};
|
|
1269
1290
|
readonly items: {
|
|
1270
1291
|
readonly type: "array";
|
|
1271
|
-
readonly additionalProperties: false;
|
|
1272
1292
|
readonly items: {
|
|
1273
1293
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1274
1294
|
readonly title: "Order Shipment Item";
|
|
@@ -2155,7 +2175,6 @@ declare const schema: {
|
|
|
2155
2175
|
};
|
|
2156
2176
|
readonly items: {
|
|
2157
2177
|
readonly type: "array";
|
|
2158
|
-
readonly additionalProperties: false;
|
|
2159
2178
|
readonly items: {
|
|
2160
2179
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2161
2180
|
readonly title: "Order Shipment Item";
|
|
@@ -2468,7 +2487,6 @@ declare const schema: {
|
|
|
2468
2487
|
};
|
|
2469
2488
|
readonly items: {
|
|
2470
2489
|
readonly type: "array";
|
|
2471
|
-
readonly additionalProperties: false;
|
|
2472
2490
|
readonly items: {
|
|
2473
2491
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2474
2492
|
readonly title: "Order Shipment Item Returned";
|
|
@@ -2711,10 +2729,13 @@ declare const schema: {
|
|
|
2711
2729
|
readonly type: readonly ["string", "null"];
|
|
2712
2730
|
};
|
|
2713
2731
|
readonly colour_id: {
|
|
2714
|
-
readonly type: readonly ["string"];
|
|
2732
|
+
readonly type: readonly ["string", "null"];
|
|
2715
2733
|
};
|
|
2716
2734
|
readonly style_id: {
|
|
2717
|
-
readonly type: readonly ["string"];
|
|
2735
|
+
readonly type: readonly ["string", "null"];
|
|
2736
|
+
};
|
|
2737
|
+
readonly product_id: {
|
|
2738
|
+
readonly type: readonly ["string", "null"];
|
|
2718
2739
|
};
|
|
2719
2740
|
readonly colour_name: {
|
|
2720
2741
|
readonly type: readonly ["string"];
|
|
@@ -2732,7 +2753,7 @@ declare const schema: {
|
|
|
2732
2753
|
};
|
|
2733
2754
|
readonly unit_price_status: {
|
|
2734
2755
|
readonly type: "string";
|
|
2735
|
-
readonly enum: readonly ["
|
|
2756
|
+
readonly enum: readonly ["rrp", "perm", "pos"];
|
|
2736
2757
|
};
|
|
2737
2758
|
readonly returned_quantity: {
|
|
2738
2759
|
readonly type: readonly ["integer"];
|
|
@@ -2875,7 +2896,7 @@ declare const schema: {
|
|
|
2875
2896
|
readonly currency: "USD";
|
|
2876
2897
|
readonly value: 12000;
|
|
2877
2898
|
};
|
|
2878
|
-
readonly unit_price_status: "
|
|
2899
|
+
readonly unit_price_status: "rrp";
|
|
2879
2900
|
readonly discount_amount_net: {
|
|
2880
2901
|
readonly currency: "USD";
|
|
2881
2902
|
readonly value: 0;
|
|
@@ -3396,6 +3417,9 @@ declare const schema: {
|
|
|
3396
3417
|
};
|
|
3397
3418
|
readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
|
|
3398
3419
|
};
|
|
3420
|
+
readonly shipping_method: {
|
|
3421
|
+
readonly type: readonly ["string", "null"];
|
|
3422
|
+
};
|
|
3399
3423
|
};
|
|
3400
3424
|
readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
|
|
3401
3425
|
}, {
|
|
@@ -15,13 +15,12 @@ declare const schema: {
|
|
|
15
15
|
readonly type: "string";
|
|
16
16
|
};
|
|
17
17
|
readonly centra_order_id: {
|
|
18
|
-
readonly type: readonly ["
|
|
19
|
-
readonly format: "uuid";
|
|
18
|
+
readonly type: readonly ["integer", "null"];
|
|
20
19
|
};
|
|
21
20
|
readonly sfcc_order_id: {
|
|
22
21
|
readonly type: readonly ["string", "null"];
|
|
23
22
|
};
|
|
24
|
-
readonly
|
|
23
|
+
readonly globale_order_id: {
|
|
25
24
|
readonly type: readonly ["string", "null"];
|
|
26
25
|
};
|
|
27
26
|
readonly sitoo_order_id: {
|
|
@@ -65,6 +64,22 @@ declare const schema: {
|
|
|
65
64
|
readonly card_number: {
|
|
66
65
|
readonly type: readonly ["string", "null"];
|
|
67
66
|
};
|
|
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
|
+
};
|
|
68
83
|
readonly journey_label: {
|
|
69
84
|
readonly type: readonly ["string"];
|
|
70
85
|
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
@@ -385,6 +400,9 @@ declare const schema: {
|
|
|
385
400
|
};
|
|
386
401
|
readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
|
|
387
402
|
};
|
|
403
|
+
readonly phone: {
|
|
404
|
+
readonly type: readonly ["string", "null"];
|
|
405
|
+
};
|
|
388
406
|
readonly email: {
|
|
389
407
|
readonly type: readonly ["string", "null"];
|
|
390
408
|
readonly format: "email";
|
|
@@ -682,6 +700,9 @@ declare const schema: {
|
|
|
682
700
|
readonly phone: "+1-202-555-0143";
|
|
683
701
|
};
|
|
684
702
|
};
|
|
703
|
+
readonly collection_point_id: {
|
|
704
|
+
readonly type: readonly ["string", "null"];
|
|
705
|
+
};
|
|
685
706
|
readonly is_pos: {
|
|
686
707
|
readonly type: readonly ["boolean"];
|
|
687
708
|
};
|
|
@@ -1268,7 +1289,6 @@ declare const schema: {
|
|
|
1268
1289
|
};
|
|
1269
1290
|
readonly items: {
|
|
1270
1291
|
readonly type: "array";
|
|
1271
|
-
readonly additionalProperties: false;
|
|
1272
1292
|
readonly items: {
|
|
1273
1293
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1274
1294
|
readonly title: "Order Shipment Item";
|
|
@@ -2155,7 +2175,6 @@ declare const schema: {
|
|
|
2155
2175
|
};
|
|
2156
2176
|
readonly items: {
|
|
2157
2177
|
readonly type: "array";
|
|
2158
|
-
readonly additionalProperties: false;
|
|
2159
2178
|
readonly items: {
|
|
2160
2179
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2161
2180
|
readonly title: "Order Shipment Item";
|
|
@@ -2468,7 +2487,6 @@ declare const schema: {
|
|
|
2468
2487
|
};
|
|
2469
2488
|
readonly items: {
|
|
2470
2489
|
readonly type: "array";
|
|
2471
|
-
readonly additionalProperties: false;
|
|
2472
2490
|
readonly items: {
|
|
2473
2491
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2474
2492
|
readonly title: "Order Shipment Item Returned";
|
|
@@ -2711,10 +2729,13 @@ declare const schema: {
|
|
|
2711
2729
|
readonly type: readonly ["string", "null"];
|
|
2712
2730
|
};
|
|
2713
2731
|
readonly colour_id: {
|
|
2714
|
-
readonly type: readonly ["string"];
|
|
2732
|
+
readonly type: readonly ["string", "null"];
|
|
2715
2733
|
};
|
|
2716
2734
|
readonly style_id: {
|
|
2717
|
-
readonly type: readonly ["string"];
|
|
2735
|
+
readonly type: readonly ["string", "null"];
|
|
2736
|
+
};
|
|
2737
|
+
readonly product_id: {
|
|
2738
|
+
readonly type: readonly ["string", "null"];
|
|
2718
2739
|
};
|
|
2719
2740
|
readonly colour_name: {
|
|
2720
2741
|
readonly type: readonly ["string"];
|
|
@@ -2732,7 +2753,7 @@ declare const schema: {
|
|
|
2732
2753
|
};
|
|
2733
2754
|
readonly unit_price_status: {
|
|
2734
2755
|
readonly type: "string";
|
|
2735
|
-
readonly enum: readonly ["
|
|
2756
|
+
readonly enum: readonly ["rrp", "perm", "pos"];
|
|
2736
2757
|
};
|
|
2737
2758
|
readonly returned_quantity: {
|
|
2738
2759
|
readonly type: readonly ["integer"];
|
|
@@ -2875,7 +2896,7 @@ declare const schema: {
|
|
|
2875
2896
|
readonly currency: "USD";
|
|
2876
2897
|
readonly value: 12000;
|
|
2877
2898
|
};
|
|
2878
|
-
readonly unit_price_status: "
|
|
2899
|
+
readonly unit_price_status: "rrp";
|
|
2879
2900
|
readonly discount_amount_net: {
|
|
2880
2901
|
readonly currency: "USD";
|
|
2881
2902
|
readonly value: 0;
|
|
@@ -3396,6 +3417,9 @@ declare const schema: {
|
|
|
3396
3417
|
};
|
|
3397
3418
|
readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
|
|
3398
3419
|
};
|
|
3420
|
+
readonly shipping_method: {
|
|
3421
|
+
readonly type: readonly ["string", "null"];
|
|
3422
|
+
};
|
|
3399
3423
|
};
|
|
3400
3424
|
readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
|
|
3401
3425
|
}, {
|
|
@@ -15,13 +15,12 @@ declare const schema: {
|
|
|
15
15
|
readonly type: "string";
|
|
16
16
|
};
|
|
17
17
|
readonly centra_order_id: {
|
|
18
|
-
readonly type: readonly ["
|
|
19
|
-
readonly format: "uuid";
|
|
18
|
+
readonly type: readonly ["integer", "null"];
|
|
20
19
|
};
|
|
21
20
|
readonly sfcc_order_id: {
|
|
22
21
|
readonly type: readonly ["string", "null"];
|
|
23
22
|
};
|
|
24
|
-
readonly
|
|
23
|
+
readonly globale_order_id: {
|
|
25
24
|
readonly type: readonly ["string", "null"];
|
|
26
25
|
};
|
|
27
26
|
readonly sitoo_order_id: {
|
|
@@ -65,6 +64,22 @@ declare const schema: {
|
|
|
65
64
|
readonly card_number: {
|
|
66
65
|
readonly type: readonly ["string", "null"];
|
|
67
66
|
};
|
|
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
|
+
};
|
|
68
83
|
readonly journey_label: {
|
|
69
84
|
readonly type: readonly ["string"];
|
|
70
85
|
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
@@ -385,6 +400,9 @@ declare const schema: {
|
|
|
385
400
|
};
|
|
386
401
|
readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
|
|
387
402
|
};
|
|
403
|
+
readonly phone: {
|
|
404
|
+
readonly type: readonly ["string", "null"];
|
|
405
|
+
};
|
|
388
406
|
readonly email: {
|
|
389
407
|
readonly type: readonly ["string", "null"];
|
|
390
408
|
readonly format: "email";
|
|
@@ -682,6 +700,9 @@ declare const schema: {
|
|
|
682
700
|
readonly phone: "+1-202-555-0143";
|
|
683
701
|
};
|
|
684
702
|
};
|
|
703
|
+
readonly collection_point_id: {
|
|
704
|
+
readonly type: readonly ["string", "null"];
|
|
705
|
+
};
|
|
685
706
|
readonly is_pos: {
|
|
686
707
|
readonly type: readonly ["boolean"];
|
|
687
708
|
};
|
|
@@ -1268,7 +1289,6 @@ declare const schema: {
|
|
|
1268
1289
|
};
|
|
1269
1290
|
readonly items: {
|
|
1270
1291
|
readonly type: "array";
|
|
1271
|
-
readonly additionalProperties: false;
|
|
1272
1292
|
readonly items: {
|
|
1273
1293
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1274
1294
|
readonly title: "Order Shipment Item";
|
|
@@ -2155,7 +2175,6 @@ declare const schema: {
|
|
|
2155
2175
|
};
|
|
2156
2176
|
readonly items: {
|
|
2157
2177
|
readonly type: "array";
|
|
2158
|
-
readonly additionalProperties: false;
|
|
2159
2178
|
readonly items: {
|
|
2160
2179
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2161
2180
|
readonly title: "Order Shipment Item";
|
|
@@ -2468,7 +2487,6 @@ declare const schema: {
|
|
|
2468
2487
|
};
|
|
2469
2488
|
readonly items: {
|
|
2470
2489
|
readonly type: "array";
|
|
2471
|
-
readonly additionalProperties: false;
|
|
2472
2490
|
readonly items: {
|
|
2473
2491
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2474
2492
|
readonly title: "Order Shipment Item Returned";
|
|
@@ -2711,10 +2729,13 @@ declare const schema: {
|
|
|
2711
2729
|
readonly type: readonly ["string", "null"];
|
|
2712
2730
|
};
|
|
2713
2731
|
readonly colour_id: {
|
|
2714
|
-
readonly type: readonly ["string"];
|
|
2732
|
+
readonly type: readonly ["string", "null"];
|
|
2715
2733
|
};
|
|
2716
2734
|
readonly style_id: {
|
|
2717
|
-
readonly type: readonly ["string"];
|
|
2735
|
+
readonly type: readonly ["string", "null"];
|
|
2736
|
+
};
|
|
2737
|
+
readonly product_id: {
|
|
2738
|
+
readonly type: readonly ["string", "null"];
|
|
2718
2739
|
};
|
|
2719
2740
|
readonly colour_name: {
|
|
2720
2741
|
readonly type: readonly ["string"];
|
|
@@ -2732,7 +2753,7 @@ declare const schema: {
|
|
|
2732
2753
|
};
|
|
2733
2754
|
readonly unit_price_status: {
|
|
2734
2755
|
readonly type: "string";
|
|
2735
|
-
readonly enum: readonly ["
|
|
2756
|
+
readonly enum: readonly ["rrp", "perm", "pos"];
|
|
2736
2757
|
};
|
|
2737
2758
|
readonly returned_quantity: {
|
|
2738
2759
|
readonly type: readonly ["integer"];
|
|
@@ -2875,7 +2896,7 @@ declare const schema: {
|
|
|
2875
2896
|
readonly currency: "USD";
|
|
2876
2897
|
readonly value: 12000;
|
|
2877
2898
|
};
|
|
2878
|
-
readonly unit_price_status: "
|
|
2899
|
+
readonly unit_price_status: "rrp";
|
|
2879
2900
|
readonly discount_amount_net: {
|
|
2880
2901
|
readonly currency: "USD";
|
|
2881
2902
|
readonly value: 0;
|
|
@@ -3396,6 +3417,9 @@ declare const schema: {
|
|
|
3396
3417
|
};
|
|
3397
3418
|
readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
|
|
3398
3419
|
};
|
|
3420
|
+
readonly shipping_method: {
|
|
3421
|
+
readonly type: readonly ["string", "null"];
|
|
3422
|
+
};
|
|
3399
3423
|
};
|
|
3400
3424
|
readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
|
|
3401
3425
|
}, {
|
|
@@ -15,13 +15,12 @@ declare const schema: {
|
|
|
15
15
|
readonly type: "string";
|
|
16
16
|
};
|
|
17
17
|
readonly centra_order_id: {
|
|
18
|
-
readonly type: readonly ["
|
|
19
|
-
readonly format: "uuid";
|
|
18
|
+
readonly type: readonly ["integer", "null"];
|
|
20
19
|
};
|
|
21
20
|
readonly sfcc_order_id: {
|
|
22
21
|
readonly type: readonly ["string", "null"];
|
|
23
22
|
};
|
|
24
|
-
readonly
|
|
23
|
+
readonly globale_order_id: {
|
|
25
24
|
readonly type: readonly ["string", "null"];
|
|
26
25
|
};
|
|
27
26
|
readonly sitoo_order_id: {
|
|
@@ -65,6 +64,22 @@ declare const schema: {
|
|
|
65
64
|
readonly card_number: {
|
|
66
65
|
readonly type: readonly ["string", "null"];
|
|
67
66
|
};
|
|
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
|
+
};
|
|
68
83
|
readonly journey_label: {
|
|
69
84
|
readonly type: readonly ["string"];
|
|
70
85
|
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
@@ -385,6 +400,9 @@ declare const schema: {
|
|
|
385
400
|
};
|
|
386
401
|
readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
|
|
387
402
|
};
|
|
403
|
+
readonly phone: {
|
|
404
|
+
readonly type: readonly ["string", "null"];
|
|
405
|
+
};
|
|
388
406
|
readonly email: {
|
|
389
407
|
readonly type: readonly ["string", "null"];
|
|
390
408
|
readonly format: "email";
|
|
@@ -682,6 +700,9 @@ declare const schema: {
|
|
|
682
700
|
readonly phone: "+1-202-555-0143";
|
|
683
701
|
};
|
|
684
702
|
};
|
|
703
|
+
readonly collection_point_id: {
|
|
704
|
+
readonly type: readonly ["string", "null"];
|
|
705
|
+
};
|
|
685
706
|
readonly is_pos: {
|
|
686
707
|
readonly type: readonly ["boolean"];
|
|
687
708
|
};
|
|
@@ -1268,7 +1289,6 @@ declare const schema: {
|
|
|
1268
1289
|
};
|
|
1269
1290
|
readonly items: {
|
|
1270
1291
|
readonly type: "array";
|
|
1271
|
-
readonly additionalProperties: false;
|
|
1272
1292
|
readonly items: {
|
|
1273
1293
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1274
1294
|
readonly title: "Order Shipment Item";
|
|
@@ -2155,7 +2175,6 @@ declare const schema: {
|
|
|
2155
2175
|
};
|
|
2156
2176
|
readonly items: {
|
|
2157
2177
|
readonly type: "array";
|
|
2158
|
-
readonly additionalProperties: false;
|
|
2159
2178
|
readonly items: {
|
|
2160
2179
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2161
2180
|
readonly title: "Order Shipment Item";
|
|
@@ -2468,7 +2487,6 @@ declare const schema: {
|
|
|
2468
2487
|
};
|
|
2469
2488
|
readonly items: {
|
|
2470
2489
|
readonly type: "array";
|
|
2471
|
-
readonly additionalProperties: false;
|
|
2472
2490
|
readonly items: {
|
|
2473
2491
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2474
2492
|
readonly title: "Order Shipment Item Returned";
|
|
@@ -2711,10 +2729,13 @@ declare const schema: {
|
|
|
2711
2729
|
readonly type: readonly ["string", "null"];
|
|
2712
2730
|
};
|
|
2713
2731
|
readonly colour_id: {
|
|
2714
|
-
readonly type: readonly ["string"];
|
|
2732
|
+
readonly type: readonly ["string", "null"];
|
|
2715
2733
|
};
|
|
2716
2734
|
readonly style_id: {
|
|
2717
|
-
readonly type: readonly ["string"];
|
|
2735
|
+
readonly type: readonly ["string", "null"];
|
|
2736
|
+
};
|
|
2737
|
+
readonly product_id: {
|
|
2738
|
+
readonly type: readonly ["string", "null"];
|
|
2718
2739
|
};
|
|
2719
2740
|
readonly colour_name: {
|
|
2720
2741
|
readonly type: readonly ["string"];
|
|
@@ -2732,7 +2753,7 @@ declare const schema: {
|
|
|
2732
2753
|
};
|
|
2733
2754
|
readonly unit_price_status: {
|
|
2734
2755
|
readonly type: "string";
|
|
2735
|
-
readonly enum: readonly ["
|
|
2756
|
+
readonly enum: readonly ["rrp", "perm", "pos"];
|
|
2736
2757
|
};
|
|
2737
2758
|
readonly returned_quantity: {
|
|
2738
2759
|
readonly type: readonly ["integer"];
|
|
@@ -2875,7 +2896,7 @@ declare const schema: {
|
|
|
2875
2896
|
readonly currency: "USD";
|
|
2876
2897
|
readonly value: 12000;
|
|
2877
2898
|
};
|
|
2878
|
-
readonly unit_price_status: "
|
|
2899
|
+
readonly unit_price_status: "rrp";
|
|
2879
2900
|
readonly discount_amount_net: {
|
|
2880
2901
|
readonly currency: "USD";
|
|
2881
2902
|
readonly value: 0;
|
|
@@ -3396,6 +3417,9 @@ declare const schema: {
|
|
|
3396
3417
|
};
|
|
3397
3418
|
readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
|
|
3398
3419
|
};
|
|
3420
|
+
readonly shipping_method: {
|
|
3421
|
+
readonly type: readonly ["string", "null"];
|
|
3422
|
+
};
|
|
3399
3423
|
};
|
|
3400
3424
|
readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
|
|
3401
3425
|
}, {
|
|
@@ -15,13 +15,12 @@ declare const schema: {
|
|
|
15
15
|
readonly type: "string";
|
|
16
16
|
};
|
|
17
17
|
readonly centra_order_id: {
|
|
18
|
-
readonly type: readonly ["
|
|
19
|
-
readonly format: "uuid";
|
|
18
|
+
readonly type: readonly ["integer", "null"];
|
|
20
19
|
};
|
|
21
20
|
readonly sfcc_order_id: {
|
|
22
21
|
readonly type: readonly ["string", "null"];
|
|
23
22
|
};
|
|
24
|
-
readonly
|
|
23
|
+
readonly globale_order_id: {
|
|
25
24
|
readonly type: readonly ["string", "null"];
|
|
26
25
|
};
|
|
27
26
|
readonly sitoo_order_id: {
|
|
@@ -65,6 +64,22 @@ declare const schema: {
|
|
|
65
64
|
readonly card_number: {
|
|
66
65
|
readonly type: readonly ["string", "null"];
|
|
67
66
|
};
|
|
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
|
+
};
|
|
68
83
|
readonly journey_label: {
|
|
69
84
|
readonly type: readonly ["string"];
|
|
70
85
|
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
@@ -385,6 +400,9 @@ declare const schema: {
|
|
|
385
400
|
};
|
|
386
401
|
readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
|
|
387
402
|
};
|
|
403
|
+
readonly phone: {
|
|
404
|
+
readonly type: readonly ["string", "null"];
|
|
405
|
+
};
|
|
388
406
|
readonly email: {
|
|
389
407
|
readonly type: readonly ["string", "null"];
|
|
390
408
|
readonly format: "email";
|
|
@@ -682,6 +700,9 @@ declare const schema: {
|
|
|
682
700
|
readonly phone: "+1-202-555-0143";
|
|
683
701
|
};
|
|
684
702
|
};
|
|
703
|
+
readonly collection_point_id: {
|
|
704
|
+
readonly type: readonly ["string", "null"];
|
|
705
|
+
};
|
|
685
706
|
readonly is_pos: {
|
|
686
707
|
readonly type: readonly ["boolean"];
|
|
687
708
|
};
|
|
@@ -1268,7 +1289,6 @@ declare const schema: {
|
|
|
1268
1289
|
};
|
|
1269
1290
|
readonly items: {
|
|
1270
1291
|
readonly type: "array";
|
|
1271
|
-
readonly additionalProperties: false;
|
|
1272
1292
|
readonly items: {
|
|
1273
1293
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1274
1294
|
readonly title: "Order Shipment Item";
|
|
@@ -2155,7 +2175,6 @@ declare const schema: {
|
|
|
2155
2175
|
};
|
|
2156
2176
|
readonly items: {
|
|
2157
2177
|
readonly type: "array";
|
|
2158
|
-
readonly additionalProperties: false;
|
|
2159
2178
|
readonly items: {
|
|
2160
2179
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2161
2180
|
readonly title: "Order Shipment Item";
|
|
@@ -2468,7 +2487,6 @@ declare const schema: {
|
|
|
2468
2487
|
};
|
|
2469
2488
|
readonly items: {
|
|
2470
2489
|
readonly type: "array";
|
|
2471
|
-
readonly additionalProperties: false;
|
|
2472
2490
|
readonly items: {
|
|
2473
2491
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2474
2492
|
readonly title: "Order Shipment Item Returned";
|
|
@@ -2711,10 +2729,13 @@ declare const schema: {
|
|
|
2711
2729
|
readonly type: readonly ["string", "null"];
|
|
2712
2730
|
};
|
|
2713
2731
|
readonly colour_id: {
|
|
2714
|
-
readonly type: readonly ["string"];
|
|
2732
|
+
readonly type: readonly ["string", "null"];
|
|
2715
2733
|
};
|
|
2716
2734
|
readonly style_id: {
|
|
2717
|
-
readonly type: readonly ["string"];
|
|
2735
|
+
readonly type: readonly ["string", "null"];
|
|
2736
|
+
};
|
|
2737
|
+
readonly product_id: {
|
|
2738
|
+
readonly type: readonly ["string", "null"];
|
|
2718
2739
|
};
|
|
2719
2740
|
readonly colour_name: {
|
|
2720
2741
|
readonly type: readonly ["string"];
|
|
@@ -2732,7 +2753,7 @@ declare const schema: {
|
|
|
2732
2753
|
};
|
|
2733
2754
|
readonly unit_price_status: {
|
|
2734
2755
|
readonly type: "string";
|
|
2735
|
-
readonly enum: readonly ["
|
|
2756
|
+
readonly enum: readonly ["rrp", "perm", "pos"];
|
|
2736
2757
|
};
|
|
2737
2758
|
readonly returned_quantity: {
|
|
2738
2759
|
readonly type: readonly ["integer"];
|
|
@@ -2875,7 +2896,7 @@ declare const schema: {
|
|
|
2875
2896
|
readonly currency: "USD";
|
|
2876
2897
|
readonly value: 12000;
|
|
2877
2898
|
};
|
|
2878
|
-
readonly unit_price_status: "
|
|
2899
|
+
readonly unit_price_status: "rrp";
|
|
2879
2900
|
readonly discount_amount_net: {
|
|
2880
2901
|
readonly currency: "USD";
|
|
2881
2902
|
readonly value: 0;
|
|
@@ -3396,6 +3417,9 @@ declare const schema: {
|
|
|
3396
3417
|
};
|
|
3397
3418
|
readonly required: readonly ["amount_net", "amount_gross", "discount_amount_net", "discount_amount_gross", "discount_amount_percent"];
|
|
3398
3419
|
};
|
|
3420
|
+
readonly shipping_method: {
|
|
3421
|
+
readonly type: readonly ["string", "null"];
|
|
3422
|
+
};
|
|
3399
3423
|
};
|
|
3400
3424
|
readonly required: readonly ["erp_order_id", "status", "ordered_at", "items", "total"];
|
|
3401
3425
|
}, {
|