@shushed/helpers 0.0.289 → 0.0.290
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/order/address.schema.json +14 -18
- package/dist/cjs/contracts/order/item.schema.json +6 -1
- package/dist/cjs/contracts/order/payment.schema.json +4 -4
- package/dist/cjs/contracts/order/shipment/item.schema.json +6 -1
- package/dist/cjs/contracts/order/shipment.schema.json +14 -0
- package/dist/cjs/contracts/order.schema.json +53 -53
- 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/address.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/item/itemMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/item/returned.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +1 -1
- package/dist/cjs/src-public/bcOrder.js +125 -110
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +117 -105
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +117 -105
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +117 -105
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +117 -105
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +117 -105
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +117 -105
- package/dist/types/dist-dereferenced/order/address.d.ts +10 -14
- package/dist/types/dist-dereferenced/order/customer.d.ts +10 -14
- package/dist/types/dist-dereferenced/order/index.d.ts +117 -105
- package/dist/types/dist-dereferenced/order/item.d.ts +3 -0
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +117 -105
- package/dist/types/dist-dereferenced/order/payment.d.ts +2 -2
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/item/index.d.ts +4 -1
- package/dist/types/dist-dereferenced/order/shipment/item/itemMain.d.ts +4 -1
- package/dist/types/dist-dereferenced/order/shipment/item/returned.d.ts +4 -1
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +15 -1
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +15 -1
- package/dist/types/dist-types/messages/order/delivered.d.ts +14 -9
- package/dist/types/dist-types/messages/order/new.d.ts +14 -9
- package/dist/types/dist-types/messages/order/processed.d.ts +14 -9
- package/dist/types/dist-types/messages/order/return-initiated.d.ts +14 -9
- package/dist/types/dist-types/messages/order/returned.d.ts +14 -9
- package/dist/types/dist-types/messages/order/shipped.d.ts +14 -9
- package/dist/types/dist-types/order/address.d.ts +3 -3
- package/dist/types/dist-types/order/customer.d.ts +6 -6
- package/dist/types/dist-types/order/item.d.ts +1 -0
- package/dist/types/dist-types/order/orderMain.d.ts +14 -9
- package/dist/types/dist-types/order/payment.d.ts +2 -2
- package/dist/types/dist-types/order/shipment/item/itemMain.d.ts +1 -0
- package/dist/types/dist-types/order/shipment/item/returned.d.ts +1 -0
- package/dist/types/dist-types/order/shipment/pos/outbound.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/pos/posMain.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/pos/return.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/shipmentMain.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/shipped/outbound.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/shipped/return.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/shipped/shippedMain.d.ts +4 -0
- package/package.json +1 -1
|
@@ -18,6 +18,9 @@ export type Shipment = (Total & {
|
|
|
18
18
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
19
19
|
discount_code?: (string | null);
|
|
20
20
|
discount_campaign?: (string | null);
|
|
21
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
22
|
+
tracking_code?: (string | null);
|
|
23
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
21
24
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
22
25
|
[k: string]: unknown;
|
|
23
26
|
});
|
|
@@ -68,6 +71,7 @@ export type Item = (Total & {
|
|
|
68
71
|
discount_code?: (string | null);
|
|
69
72
|
discount_campaign?: (string | null);
|
|
70
73
|
cost_net?: Money3;
|
|
74
|
+
order_line_no?: (number | null);
|
|
71
75
|
[k: string]: unknown;
|
|
72
76
|
});
|
|
73
77
|
export interface Order {
|
|
@@ -82,11 +86,11 @@ export interface Order {
|
|
|
82
86
|
payments?: Payment[];
|
|
83
87
|
is_anonymous?: boolean;
|
|
84
88
|
is_gift?: boolean;
|
|
89
|
+
is_pos?: boolean;
|
|
85
90
|
customer?: Customer;
|
|
86
91
|
billing_address?: (Address | null);
|
|
87
92
|
shipping_address?: (Address | null);
|
|
88
93
|
collection_point_id?: (string | null);
|
|
89
|
-
is_pos?: boolean;
|
|
90
94
|
shipments?: [
|
|
91
95
|
(OrderShipmentShippedOutbound | OrderShipmentShippedReturn | OrderShipmentPOSOutbound | OrderShipmentPOSReturn),
|
|
92
96
|
...((OrderShipmentShippedOutbound | OrderShipmentShippedReturn | OrderShipmentPOSOutbound | OrderShipmentPOSReturn))[]
|
|
@@ -106,14 +110,14 @@ export interface Payment {
|
|
|
106
110
|
additionalProperties?: never;
|
|
107
111
|
created_at: string;
|
|
108
112
|
payment_method: ("MOTO" | "CREDIT-CARD" | "GIFT-CARD" | "PAYPAL" | "APPLE-PAY" | "OTHER");
|
|
109
|
-
transaction_id: string;
|
|
113
|
+
transaction_id: (string | null);
|
|
110
114
|
card_number?: (string | null);
|
|
111
115
|
card_holder?: (string | null);
|
|
112
116
|
card_token?: (string | null);
|
|
113
117
|
expiration_month?: (number | null);
|
|
114
118
|
expiration_year?: (number | null);
|
|
115
119
|
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
116
|
-
psp_reference: string;
|
|
120
|
+
psp_reference: (string | null);
|
|
117
121
|
card_brand?: (string | null);
|
|
118
122
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
119
123
|
amount: Money;
|
|
@@ -171,11 +175,11 @@ export interface Address {
|
|
|
171
175
|
is_retrieved_from_payment_method?: boolean;
|
|
172
176
|
opt_in_mail?: boolean;
|
|
173
177
|
company_name?: string;
|
|
174
|
-
first_name: string;
|
|
175
|
-
last_name: string;
|
|
178
|
+
first_name: (string | null);
|
|
179
|
+
last_name: (string | null);
|
|
176
180
|
address1: string;
|
|
177
181
|
address2?: (string | null);
|
|
178
|
-
city: string;
|
|
182
|
+
city: (string | null);
|
|
179
183
|
region?: (string | null);
|
|
180
184
|
post_code?: (string | null);
|
|
181
185
|
country_code: Country;
|
|
@@ -197,11 +201,11 @@ export interface Address1 {
|
|
|
197
201
|
is_retrieved_from_payment_method?: boolean;
|
|
198
202
|
opt_in_mail?: boolean;
|
|
199
203
|
company_name?: string;
|
|
200
|
-
first_name: string;
|
|
201
|
-
last_name: string;
|
|
204
|
+
first_name: (string | null);
|
|
205
|
+
last_name: (string | null);
|
|
202
206
|
address1: string;
|
|
203
207
|
address2?: (string | null);
|
|
204
|
-
city: string;
|
|
208
|
+
city: (string | null);
|
|
205
209
|
region?: (string | null);
|
|
206
210
|
post_code?: (string | null);
|
|
207
211
|
country_code: Country;
|
|
@@ -252,6 +256,7 @@ export interface DiscountAmountGross {
|
|
|
252
256
|
}
|
|
253
257
|
export interface OrderShipmentItem {
|
|
254
258
|
lineNumber: number;
|
|
259
|
+
sku: string;
|
|
255
260
|
quantity: number;
|
|
256
261
|
[k: string]: unknown;
|
|
257
262
|
}
|
|
@@ -12,11 +12,11 @@ export interface __MainSchema {
|
|
|
12
12
|
is_retrieved_from_payment_method?: boolean;
|
|
13
13
|
opt_in_mail?: boolean;
|
|
14
14
|
company_name?: string;
|
|
15
|
-
first_name: string;
|
|
16
|
-
last_name: string;
|
|
15
|
+
first_name: (string | null);
|
|
16
|
+
last_name: (string | null);
|
|
17
17
|
address1: string;
|
|
18
18
|
address2?: (string | null);
|
|
19
|
-
city: string;
|
|
19
|
+
city: (string | null);
|
|
20
20
|
region?: (string | null);
|
|
21
21
|
post_code?: (string | null);
|
|
22
22
|
country_code: Country;
|
|
@@ -42,11 +42,11 @@ export interface Address {
|
|
|
42
42
|
is_retrieved_from_payment_method?: boolean;
|
|
43
43
|
opt_in_mail?: boolean;
|
|
44
44
|
company_name?: string;
|
|
45
|
-
first_name: string;
|
|
46
|
-
last_name: string;
|
|
45
|
+
first_name: (string | null);
|
|
46
|
+
last_name: (string | null);
|
|
47
47
|
address1: string;
|
|
48
48
|
address2?: (string | null);
|
|
49
|
-
city: string;
|
|
49
|
+
city: (string | null);
|
|
50
50
|
region?: (string | null);
|
|
51
51
|
post_code?: (string | null);
|
|
52
52
|
country_code: Country;
|
|
@@ -68,11 +68,11 @@ export interface Address1 {
|
|
|
68
68
|
is_retrieved_from_payment_method?: boolean;
|
|
69
69
|
opt_in_mail?: boolean;
|
|
70
70
|
company_name?: string;
|
|
71
|
-
first_name: string;
|
|
72
|
-
last_name: string;
|
|
71
|
+
first_name: (string | null);
|
|
72
|
+
last_name: (string | null);
|
|
73
73
|
address1: string;
|
|
74
74
|
address2?: (string | null);
|
|
75
|
-
city: string;
|
|
75
|
+
city: (string | null);
|
|
76
76
|
region?: (string | null);
|
|
77
77
|
post_code?: (string | null);
|
|
78
78
|
country_code: Country;
|
|
@@ -15,6 +15,7 @@ export type __MainSchema = (Total & {
|
|
|
15
15
|
discount_code?: (string | null);
|
|
16
16
|
discount_campaign?: (string | null);
|
|
17
17
|
cost_net?: Money2;
|
|
18
|
+
order_line_no?: (number | null);
|
|
18
19
|
[k: string]: unknown;
|
|
19
20
|
});
|
|
20
21
|
export type Currency = ("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");
|
|
@@ -14,6 +14,9 @@ export type Shipment = (Total & {
|
|
|
14
14
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
15
15
|
discount_code?: (string | null);
|
|
16
16
|
discount_campaign?: (string | null);
|
|
17
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
18
|
+
tracking_code?: (string | null);
|
|
19
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
17
20
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
18
21
|
[k: string]: unknown;
|
|
19
22
|
});
|
|
@@ -64,6 +67,7 @@ export type Item = (Total & {
|
|
|
64
67
|
discount_code?: (string | null);
|
|
65
68
|
discount_campaign?: (string | null);
|
|
66
69
|
cost_net?: Money3;
|
|
70
|
+
order_line_no?: (number | null);
|
|
67
71
|
[k: string]: unknown;
|
|
68
72
|
});
|
|
69
73
|
export interface __MainSchema {
|
|
@@ -78,11 +82,11 @@ export interface __MainSchema {
|
|
|
78
82
|
payments?: Payment[];
|
|
79
83
|
is_anonymous?: boolean;
|
|
80
84
|
is_gift?: boolean;
|
|
85
|
+
is_pos?: boolean;
|
|
81
86
|
customer?: Customer;
|
|
82
87
|
billing_address?: (Address | null);
|
|
83
88
|
shipping_address?: (Address | null);
|
|
84
89
|
collection_point_id?: (string | null);
|
|
85
|
-
is_pos?: boolean;
|
|
86
90
|
shipments?: [
|
|
87
91
|
(OrderShipmentShippedOutbound | OrderShipmentShippedReturn | OrderShipmentPOSOutbound | OrderShipmentPOSReturn),
|
|
88
92
|
...((OrderShipmentShippedOutbound | OrderShipmentShippedReturn | OrderShipmentPOSOutbound | OrderShipmentPOSReturn))[]
|
|
@@ -102,14 +106,14 @@ export interface Payment {
|
|
|
102
106
|
additionalProperties?: never;
|
|
103
107
|
created_at: string;
|
|
104
108
|
payment_method: ("MOTO" | "CREDIT-CARD" | "GIFT-CARD" | "PAYPAL" | "APPLE-PAY" | "OTHER");
|
|
105
|
-
transaction_id: string;
|
|
109
|
+
transaction_id: (string | null);
|
|
106
110
|
card_number?: (string | null);
|
|
107
111
|
card_holder?: (string | null);
|
|
108
112
|
card_token?: (string | null);
|
|
109
113
|
expiration_month?: (number | null);
|
|
110
114
|
expiration_year?: (number | null);
|
|
111
115
|
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
112
|
-
psp_reference: string;
|
|
116
|
+
psp_reference: (string | null);
|
|
113
117
|
card_brand?: (string | null);
|
|
114
118
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
115
119
|
amount: Money;
|
|
@@ -167,11 +171,11 @@ export interface Address {
|
|
|
167
171
|
is_retrieved_from_payment_method?: boolean;
|
|
168
172
|
opt_in_mail?: boolean;
|
|
169
173
|
company_name?: string;
|
|
170
|
-
first_name: string;
|
|
171
|
-
last_name: string;
|
|
174
|
+
first_name: (string | null);
|
|
175
|
+
last_name: (string | null);
|
|
172
176
|
address1: string;
|
|
173
177
|
address2?: (string | null);
|
|
174
|
-
city: string;
|
|
178
|
+
city: (string | null);
|
|
175
179
|
region?: (string | null);
|
|
176
180
|
post_code?: (string | null);
|
|
177
181
|
country_code: Country;
|
|
@@ -193,11 +197,11 @@ export interface Address1 {
|
|
|
193
197
|
is_retrieved_from_payment_method?: boolean;
|
|
194
198
|
opt_in_mail?: boolean;
|
|
195
199
|
company_name?: string;
|
|
196
|
-
first_name: string;
|
|
197
|
-
last_name: string;
|
|
200
|
+
first_name: (string | null);
|
|
201
|
+
last_name: (string | null);
|
|
198
202
|
address1: string;
|
|
199
203
|
address2?: (string | null);
|
|
200
|
-
city: string;
|
|
204
|
+
city: (string | null);
|
|
201
205
|
region?: (string | null);
|
|
202
206
|
post_code?: (string | null);
|
|
203
207
|
country_code: Country;
|
|
@@ -248,6 +252,7 @@ export interface DiscountAmountGross {
|
|
|
248
252
|
}
|
|
249
253
|
export interface OrderShipmentItem {
|
|
250
254
|
lineNumber: number;
|
|
255
|
+
sku: string;
|
|
251
256
|
quantity: number;
|
|
252
257
|
[k: string]: unknown;
|
|
253
258
|
}
|
|
@@ -5,14 +5,14 @@ export interface __MainSchema {
|
|
|
5
5
|
additionalProperties?: never;
|
|
6
6
|
created_at: string;
|
|
7
7
|
payment_method: ("MOTO" | "CREDIT-CARD" | "GIFT-CARD" | "PAYPAL" | "APPLE-PAY" | "OTHER");
|
|
8
|
-
transaction_id: string;
|
|
8
|
+
transaction_id: (string | null);
|
|
9
9
|
card_number?: (string | null);
|
|
10
10
|
card_holder?: (string | null);
|
|
11
11
|
card_token?: (string | null);
|
|
12
12
|
expiration_month?: (number | null);
|
|
13
13
|
expiration_year?: (number | null);
|
|
14
14
|
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
15
|
-
psp_reference: string;
|
|
15
|
+
psp_reference: (string | null);
|
|
16
16
|
card_brand?: (string | null);
|
|
17
17
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
18
18
|
amount: Money;
|
|
@@ -19,6 +19,9 @@ export type Shipment = (Total & {
|
|
|
19
19
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
20
20
|
discount_code?: (string | null);
|
|
21
21
|
discount_campaign?: (string | null);
|
|
22
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
23
|
+
tracking_code?: (string | null);
|
|
24
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
22
25
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
23
26
|
[k: string]: unknown;
|
|
24
27
|
});
|
|
@@ -72,6 +75,7 @@ export interface DiscountAmountGross {
|
|
|
72
75
|
}
|
|
73
76
|
export interface OrderShipmentItem {
|
|
74
77
|
lineNumber: number;
|
|
78
|
+
sku: string;
|
|
75
79
|
quantity: number;
|
|
76
80
|
[k: string]: unknown;
|
|
77
81
|
}
|
|
@@ -14,6 +14,9 @@ export type Shipment = (Total & {
|
|
|
14
14
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
15
15
|
discount_code?: (string | null);
|
|
16
16
|
discount_campaign?: (string | null);
|
|
17
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
18
|
+
tracking_code?: (string | null);
|
|
19
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
17
20
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
18
21
|
[k: string]: unknown;
|
|
19
22
|
});
|
|
@@ -67,6 +70,7 @@ export interface DiscountAmountGross {
|
|
|
67
70
|
}
|
|
68
71
|
export interface OrderShipmentItem {
|
|
69
72
|
lineNumber: number;
|
|
73
|
+
sku: string;
|
|
70
74
|
quantity: number;
|
|
71
75
|
[k: string]: unknown;
|
|
72
76
|
}
|
|
@@ -18,6 +18,9 @@ export type Shipment = (Total & {
|
|
|
18
18
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
19
19
|
discount_code?: (string | null);
|
|
20
20
|
discount_campaign?: (string | null);
|
|
21
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
22
|
+
tracking_code?: (string | null);
|
|
23
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
21
24
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
22
25
|
[k: string]: unknown;
|
|
23
26
|
});
|
|
@@ -71,6 +74,7 @@ export interface DiscountAmountGross {
|
|
|
71
74
|
}
|
|
72
75
|
export interface OrderShipmentItem {
|
|
73
76
|
lineNumber: number;
|
|
77
|
+
sku: string;
|
|
74
78
|
quantity: number;
|
|
75
79
|
[k: string]: unknown;
|
|
76
80
|
}
|
|
@@ -5,6 +5,9 @@ export type __MainSchema = (Total & {
|
|
|
5
5
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
6
6
|
discount_code?: (string | null);
|
|
7
7
|
discount_campaign?: (string | null);
|
|
8
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
9
|
+
tracking_code?: (string | null);
|
|
10
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
8
11
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
9
12
|
[k: string]: unknown;
|
|
10
13
|
});
|
|
@@ -58,6 +61,7 @@ export interface DiscountAmountGross {
|
|
|
58
61
|
}
|
|
59
62
|
export interface OrderShipmentItem {
|
|
60
63
|
lineNumber: number;
|
|
64
|
+
sku: string;
|
|
61
65
|
quantity: number;
|
|
62
66
|
[k: string]: unknown;
|
|
63
67
|
}
|
|
@@ -11,6 +11,9 @@ export type Shipment = (Total & {
|
|
|
11
11
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
12
12
|
discount_code?: (string | null);
|
|
13
13
|
discount_campaign?: (string | null);
|
|
14
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
15
|
+
tracking_code?: (string | null);
|
|
16
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
14
17
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
15
18
|
[k: string]: unknown;
|
|
16
19
|
});
|
|
@@ -64,6 +67,7 @@ export interface DiscountAmountGross {
|
|
|
64
67
|
}
|
|
65
68
|
export interface OrderShipmentItem {
|
|
66
69
|
lineNumber: number;
|
|
70
|
+
sku: string;
|
|
67
71
|
quantity: number;
|
|
68
72
|
[k: string]: unknown;
|
|
69
73
|
}
|
|
@@ -11,6 +11,9 @@ export type Shipment = (Total & {
|
|
|
11
11
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
12
12
|
discount_code?: (string | null);
|
|
13
13
|
discount_campaign?: (string | null);
|
|
14
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
15
|
+
tracking_code?: (string | null);
|
|
16
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
14
17
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
15
18
|
[k: string]: unknown;
|
|
16
19
|
});
|
|
@@ -64,6 +67,7 @@ export interface DiscountAmountGross {
|
|
|
64
67
|
}
|
|
65
68
|
export interface OrderShipmentItem {
|
|
66
69
|
lineNumber: number;
|
|
70
|
+
sku: string;
|
|
67
71
|
quantity: number;
|
|
68
72
|
[k: string]: unknown;
|
|
69
73
|
}
|
|
@@ -12,6 +12,9 @@ export type Shipment = (Total & {
|
|
|
12
12
|
status?: ("PENDING" | "SHIPPED" | "RECEIVED" | "CANCELLED");
|
|
13
13
|
discount_code?: (string | null);
|
|
14
14
|
discount_campaign?: (string | null);
|
|
15
|
+
courier_name?: ("GLOBALE" | "ROYALMAIL" | "EVRI" | "WAITROSE" | null);
|
|
16
|
+
tracking_code?: (string | null);
|
|
17
|
+
class_name?: ("STANDARD" | "PRIORITY");
|
|
15
18
|
items?: (OrderShipmentItem | OrderShipmentItemReturned)[];
|
|
16
19
|
[k: string]: unknown;
|
|
17
20
|
});
|
|
@@ -65,6 +68,7 @@ export interface DiscountAmountGross {
|
|
|
65
68
|
}
|
|
66
69
|
export interface OrderShipmentItem {
|
|
67
70
|
lineNumber: number;
|
|
71
|
+
sku: string;
|
|
68
72
|
quantity: number;
|
|
69
73
|
[k: string]: unknown;
|
|
70
74
|
}
|