@zippendo/sdk 1.2.7 → 1.3.0
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/esm/models/CreateOrder201ResponseOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.js +2 -0
- package/dist/esm/models/CreateOrderRequestOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/CreateOrderRequestOrderLinesInner.js +2 -0
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +4 -0
- package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +4 -0
- package/dist/esm/models/GetOrder200ResponseOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/GetOrder200ResponseOrderLinesInner.js +2 -0
- package/dist/models/CreateOrder201ResponseOrderLinesInner.d.ts +6 -0
- package/dist/models/CreateOrder201ResponseOrderLinesInner.js +2 -0
- package/dist/models/CreateOrderRequestOrderLinesInner.d.ts +6 -0
- package/dist/models/CreateOrderRequestOrderLinesInner.js +2 -0
- package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +4 -0
- package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +4 -0
- package/dist/models/GetOrder200ResponseOrderLinesInner.d.ts +6 -0
- package/dist/models/GetOrder200ResponseOrderLinesInner.js +2 -0
- package/docs/CreateOrder201ResponseOrderLinesInner.md +2 -0
- package/docs/CreateOrderRequestOrderLinesInner.md +2 -0
- package/docs/CreateShipment201ResponseParcelsInnerOrderLinesInner.md +4 -0
- package/docs/CreateShipmentRequestParcelsInnerOrderLinesInner.md +4 -0
- package/docs/GetOrder200ResponseOrderLinesInner.md +2 -0
- package/package.json +1 -1
- package/src/models/CreateOrder201ResponseOrderLinesInner.ts +8 -0
- package/src/models/CreateOrderRequestOrderLinesInner.ts +8 -0
- package/src/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.ts +17 -1
- package/src/models/CreateShipmentRequestParcelsInnerOrderLinesInner.ts +17 -1
- package/src/models/GetOrder200ResponseOrderLinesInner.ts +8 -0
|
@@ -129,6 +129,12 @@ export interface CreateOrder201ResponseOrderLinesInner {
|
|
|
129
129
|
* @memberof CreateOrder201ResponseOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateOrder201ResponseOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
* @export
|
|
@@ -57,6 +57,7 @@ export function CreateOrder201ResponseOrderLinesInnerFromJSONTyped(json, ignoreD
|
|
|
57
57
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
58
58
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
59
59
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
60
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
export function CreateOrder201ResponseOrderLinesInnerToJSON(json) {
|
|
@@ -86,5 +87,6 @@ export function CreateOrder201ResponseOrderLinesInnerToJSONTyped(value, ignoreDi
|
|
|
86
87
|
'taxable': value['taxable'],
|
|
87
88
|
'giftCard': value['giftCard'],
|
|
88
89
|
'vendor': value['vendor'],
|
|
90
|
+
'id': value['id'],
|
|
89
91
|
};
|
|
90
92
|
}
|
|
@@ -129,6 +129,12 @@ export interface CreateOrderRequestOrderLinesInner {
|
|
|
129
129
|
* @memberof CreateOrderRequestOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* ID of the existing order line this entry edits. Omit to add a new line.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateOrderRequestOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
* @export
|
|
@@ -57,6 +57,7 @@ export function CreateOrderRequestOrderLinesInnerFromJSONTyped(json, ignoreDiscr
|
|
|
57
57
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
58
58
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
59
59
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
60
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
export function CreateOrderRequestOrderLinesInnerToJSON(json) {
|
|
@@ -86,5 +87,6 @@ export function CreateOrderRequestOrderLinesInnerToJSONTyped(value, ignoreDiscri
|
|
|
86
87
|
'taxable': value['taxable'],
|
|
87
88
|
'giftCard': value['giftCard'],
|
|
88
89
|
'vendor': value['vendor'],
|
|
90
|
+
'id': value['id'],
|
|
89
91
|
};
|
|
90
92
|
}
|
|
@@ -21,6 +21,12 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
21
21
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
28
|
+
*/
|
|
29
|
+
orderLineId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
26
32
|
* @type {string}
|
|
@@ -70,7 +76,13 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
70
76
|
*/
|
|
71
77
|
countryOfOrigin?: string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Harmonized System customs code.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
82
|
+
*/
|
|
83
|
+
hsCode?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
74
86
|
* @type {string}
|
|
75
87
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
76
88
|
*/
|
|
@@ -28,6 +28,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONType
|
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
30
|
'id': json['id'] == null ? undefined : json['id'],
|
|
31
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
31
32
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
32
33
|
'quantity': json['quantity'],
|
|
33
34
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -36,6 +37,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONType
|
|
|
36
37
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
37
38
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
38
39
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
40
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
39
41
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
40
42
|
};
|
|
41
43
|
}
|
|
@@ -48,6 +50,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(
|
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
50
52
|
'id': value['id'],
|
|
53
|
+
'orderLineId': value['orderLineId'],
|
|
51
54
|
'sku': value['sku'],
|
|
52
55
|
'quantity': value['quantity'],
|
|
53
56
|
'description': value['description'],
|
|
@@ -56,6 +59,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(
|
|
|
56
59
|
'vatPercent': value['vatPercent'],
|
|
57
60
|
'location': value['location'],
|
|
58
61
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
62
|
+
'hsCode': value['hsCode'],
|
|
59
63
|
'tarrifNumber': value['tarrifNumber'],
|
|
60
64
|
};
|
|
61
65
|
}
|
|
@@ -21,6 +21,12 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
21
21
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
28
|
+
*/
|
|
29
|
+
orderLineId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
26
32
|
* @type {string}
|
|
@@ -70,7 +76,13 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
70
76
|
*/
|
|
71
77
|
countryOfOrigin?: string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Harmonized System customs code.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
82
|
+
*/
|
|
83
|
+
hsCode?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
74
86
|
* @type {string}
|
|
75
87
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
76
88
|
*/
|
|
@@ -28,6 +28,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(js
|
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
30
|
'id': json['id'] == null ? undefined : json['id'],
|
|
31
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
31
32
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
32
33
|
'quantity': json['quantity'],
|
|
33
34
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -36,6 +37,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(js
|
|
|
36
37
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
37
38
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
38
39
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
40
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
39
41
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
40
42
|
};
|
|
41
43
|
}
|
|
@@ -48,6 +50,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(valu
|
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
50
52
|
'id': value['id'],
|
|
53
|
+
'orderLineId': value['orderLineId'],
|
|
51
54
|
'sku': value['sku'],
|
|
52
55
|
'quantity': value['quantity'],
|
|
53
56
|
'description': value['description'],
|
|
@@ -56,6 +59,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(valu
|
|
|
56
59
|
'vatPercent': value['vatPercent'],
|
|
57
60
|
'location': value['location'],
|
|
58
61
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
62
|
+
'hsCode': value['hsCode'],
|
|
59
63
|
'tarrifNumber': value['tarrifNumber'],
|
|
60
64
|
};
|
|
61
65
|
}
|
|
@@ -129,6 +129,12 @@ export interface GetOrder200ResponseOrderLinesInner {
|
|
|
129
129
|
* @memberof GetOrder200ResponseOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof GetOrder200ResponseOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
/**
|
|
133
139
|
* Quantity already allocated to outbound shipments.
|
|
134
140
|
* @type {number}
|
|
@@ -59,6 +59,7 @@ export function GetOrder200ResponseOrderLinesInnerFromJSONTyped(json, ignoreDisc
|
|
|
59
59
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
60
60
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
61
61
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
62
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
62
63
|
'packedQuantity': json['packedQuantity'],
|
|
63
64
|
};
|
|
64
65
|
}
|
|
@@ -89,6 +90,7 @@ export function GetOrder200ResponseOrderLinesInnerToJSONTyped(value, ignoreDiscr
|
|
|
89
90
|
'taxable': value['taxable'],
|
|
90
91
|
'giftCard': value['giftCard'],
|
|
91
92
|
'vendor': value['vendor'],
|
|
93
|
+
'id': value['id'],
|
|
92
94
|
'packedQuantity': value['packedQuantity'],
|
|
93
95
|
};
|
|
94
96
|
}
|
|
@@ -129,6 +129,12 @@ export interface CreateOrder201ResponseOrderLinesInner {
|
|
|
129
129
|
* @memberof CreateOrder201ResponseOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateOrder201ResponseOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
* @export
|
|
@@ -65,6 +65,7 @@ function CreateOrder201ResponseOrderLinesInnerFromJSONTyped(json, ignoreDiscrimi
|
|
|
65
65
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
66
66
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
67
67
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
68
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function CreateOrder201ResponseOrderLinesInnerToJSON(json) {
|
|
@@ -94,5 +95,6 @@ function CreateOrder201ResponseOrderLinesInnerToJSONTyped(value, ignoreDiscrimin
|
|
|
94
95
|
'taxable': value['taxable'],
|
|
95
96
|
'giftCard': value['giftCard'],
|
|
96
97
|
'vendor': value['vendor'],
|
|
98
|
+
'id': value['id'],
|
|
97
99
|
};
|
|
98
100
|
}
|
|
@@ -129,6 +129,12 @@ export interface CreateOrderRequestOrderLinesInner {
|
|
|
129
129
|
* @memberof CreateOrderRequestOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* ID of the existing order line this entry edits. Omit to add a new line.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateOrderRequestOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
* @export
|
|
@@ -65,6 +65,7 @@ function CreateOrderRequestOrderLinesInnerFromJSONTyped(json, ignoreDiscriminato
|
|
|
65
65
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
66
66
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
67
67
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
68
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function CreateOrderRequestOrderLinesInnerToJSON(json) {
|
|
@@ -94,5 +95,6 @@ function CreateOrderRequestOrderLinesInnerToJSONTyped(value, ignoreDiscriminator
|
|
|
94
95
|
'taxable': value['taxable'],
|
|
95
96
|
'giftCard': value['giftCard'],
|
|
96
97
|
'vendor': value['vendor'],
|
|
98
|
+
'id': value['id'],
|
|
97
99
|
};
|
|
98
100
|
}
|
|
@@ -21,6 +21,12 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
21
21
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
28
|
+
*/
|
|
29
|
+
orderLineId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
26
32
|
* @type {string}
|
|
@@ -70,7 +76,13 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
70
76
|
*/
|
|
71
77
|
countryOfOrigin?: string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Harmonized System customs code.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
82
|
+
*/
|
|
83
|
+
hsCode?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
74
86
|
* @type {string}
|
|
75
87
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
76
88
|
*/
|
|
@@ -35,6 +35,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONTyped(json,
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
38
39
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
39
40
|
'quantity': json['quantity'],
|
|
40
41
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -43,6 +44,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONTyped(json,
|
|
|
43
44
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
44
45
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
45
46
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
47
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
46
48
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -55,6 +57,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(value,
|
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
59
|
'id': value['id'],
|
|
60
|
+
'orderLineId': value['orderLineId'],
|
|
58
61
|
'sku': value['sku'],
|
|
59
62
|
'quantity': value['quantity'],
|
|
60
63
|
'description': value['description'],
|
|
@@ -63,6 +66,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(value,
|
|
|
63
66
|
'vatPercent': value['vatPercent'],
|
|
64
67
|
'location': value['location'],
|
|
65
68
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
69
|
+
'hsCode': value['hsCode'],
|
|
66
70
|
'tarrifNumber': value['tarrifNumber'],
|
|
67
71
|
};
|
|
68
72
|
}
|
|
@@ -21,6 +21,12 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
21
21
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
28
|
+
*/
|
|
29
|
+
orderLineId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
26
32
|
* @type {string}
|
|
@@ -70,7 +76,13 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
70
76
|
*/
|
|
71
77
|
countryOfOrigin?: string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Harmonized System customs code.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
82
|
+
*/
|
|
83
|
+
hsCode?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
74
86
|
* @type {string}
|
|
75
87
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
76
88
|
*/
|
|
@@ -35,6 +35,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(json, ign
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
38
39
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
39
40
|
'quantity': json['quantity'],
|
|
40
41
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -43,6 +44,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(json, ign
|
|
|
43
44
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
44
45
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
45
46
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
47
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
46
48
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -55,6 +57,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(value, igno
|
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
59
|
'id': value['id'],
|
|
60
|
+
'orderLineId': value['orderLineId'],
|
|
58
61
|
'sku': value['sku'],
|
|
59
62
|
'quantity': value['quantity'],
|
|
60
63
|
'description': value['description'],
|
|
@@ -63,6 +66,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(value, igno
|
|
|
63
66
|
'vatPercent': value['vatPercent'],
|
|
64
67
|
'location': value['location'],
|
|
65
68
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
69
|
+
'hsCode': value['hsCode'],
|
|
66
70
|
'tarrifNumber': value['tarrifNumber'],
|
|
67
71
|
};
|
|
68
72
|
}
|
|
@@ -129,6 +129,12 @@ export interface GetOrder200ResponseOrderLinesInner {
|
|
|
129
129
|
* @memberof GetOrder200ResponseOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof GetOrder200ResponseOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
/**
|
|
133
139
|
* Quantity already allocated to outbound shipments.
|
|
134
140
|
* @type {number}
|
|
@@ -67,6 +67,7 @@ function GetOrder200ResponseOrderLinesInnerFromJSONTyped(json, ignoreDiscriminat
|
|
|
67
67
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
68
68
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
69
69
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
70
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
70
71
|
'packedQuantity': json['packedQuantity'],
|
|
71
72
|
};
|
|
72
73
|
}
|
|
@@ -97,6 +98,7 @@ function GetOrder200ResponseOrderLinesInnerToJSONTyped(value, ignoreDiscriminato
|
|
|
97
98
|
'taxable': value['taxable'],
|
|
98
99
|
'giftCard': value['giftCard'],
|
|
99
100
|
'vendor': value['vendor'],
|
|
101
|
+
'id': value['id'],
|
|
100
102
|
'packedQuantity': value['packedQuantity'],
|
|
101
103
|
};
|
|
102
104
|
}
|
|
@@ -25,6 +25,7 @@ Name | Type
|
|
|
25
25
|
`taxable` | boolean
|
|
26
26
|
`giftCard` | boolean
|
|
27
27
|
`vendor` | string
|
|
28
|
+
`id` | string
|
|
28
29
|
|
|
29
30
|
## Example
|
|
30
31
|
|
|
@@ -52,6 +53,7 @@ const example = {
|
|
|
52
53
|
"taxable": true,
|
|
53
54
|
"giftCard": false,
|
|
54
55
|
"vendor": Norse Knits,
|
|
56
|
+
"id": clz9k2f0a0004abcd3456qrst,
|
|
55
57
|
} satisfies CreateOrder201ResponseOrderLinesInner
|
|
56
58
|
|
|
57
59
|
console.log(example)
|
|
@@ -25,6 +25,7 @@ Name | Type
|
|
|
25
25
|
`taxable` | boolean
|
|
26
26
|
`giftCard` | boolean
|
|
27
27
|
`vendor` | string
|
|
28
|
+
`id` | string
|
|
28
29
|
|
|
29
30
|
## Example
|
|
30
31
|
|
|
@@ -52,6 +53,7 @@ const example = {
|
|
|
52
53
|
"taxable": true,
|
|
53
54
|
"giftCard": false,
|
|
54
55
|
"vendor": Norse Knits,
|
|
56
|
+
"id": clz9k2f0a0004abcd3456qrst,
|
|
55
57
|
} satisfies CreateOrderRequestOrderLinesInner
|
|
56
58
|
|
|
57
59
|
console.log(example)
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | string
|
|
10
|
+
`orderLineId` | string
|
|
10
11
|
`sku` | string
|
|
11
12
|
`quantity` | number
|
|
12
13
|
`description` | string
|
|
@@ -15,6 +16,7 @@ Name | Type
|
|
|
15
16
|
`vatPercent` | number
|
|
16
17
|
`location` | string
|
|
17
18
|
`countryOfOrigin` | string
|
|
19
|
+
`hsCode` | string
|
|
18
20
|
`tarrifNumber` | string
|
|
19
21
|
|
|
20
22
|
## Example
|
|
@@ -25,6 +27,7 @@ import type { CreateShipment201ResponseParcelsInnerOrderLinesInner } from '@zipp
|
|
|
25
27
|
// TODO: Update the object below with actual values
|
|
26
28
|
const example = {
|
|
27
29
|
"id": ol_9c1d2e3f,
|
|
30
|
+
"orderLineId": clz9k2f0a0004abcd3456qrst,
|
|
28
31
|
"sku": SKU-1024,
|
|
29
32
|
"quantity": 2,
|
|
30
33
|
"description": Wool sweater, navy,
|
|
@@ -33,6 +36,7 @@ const example = {
|
|
|
33
36
|
"vatPercent": 25,
|
|
34
37
|
"location": A-12-3,
|
|
35
38
|
"countryOfOrigin": DK,
|
|
39
|
+
"hsCode": 61101100,
|
|
36
40
|
"tarrifNumber": 61101100,
|
|
37
41
|
} satisfies CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
38
42
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | string
|
|
10
|
+
`orderLineId` | string
|
|
10
11
|
`sku` | string
|
|
11
12
|
`quantity` | number
|
|
12
13
|
`description` | string
|
|
@@ -15,6 +16,7 @@ Name | Type
|
|
|
15
16
|
`vatPercent` | number
|
|
16
17
|
`location` | string
|
|
17
18
|
`countryOfOrigin` | string
|
|
19
|
+
`hsCode` | string
|
|
18
20
|
`tarrifNumber` | string
|
|
19
21
|
|
|
20
22
|
## Example
|
|
@@ -25,6 +27,7 @@ import type { CreateShipmentRequestParcelsInnerOrderLinesInner } from '@zippendo
|
|
|
25
27
|
// TODO: Update the object below with actual values
|
|
26
28
|
const example = {
|
|
27
29
|
"id": ol_9c1d2e3f,
|
|
30
|
+
"orderLineId": clz9k2f0a0004abcd3456qrst,
|
|
28
31
|
"sku": SKU-1024,
|
|
29
32
|
"quantity": 2,
|
|
30
33
|
"description": Wool sweater, navy,
|
|
@@ -33,6 +36,7 @@ const example = {
|
|
|
33
36
|
"vatPercent": 25,
|
|
34
37
|
"location": A-12-3,
|
|
35
38
|
"countryOfOrigin": DK,
|
|
39
|
+
"hsCode": 61101100,
|
|
36
40
|
"tarrifNumber": 61101100,
|
|
37
41
|
} satisfies CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
38
42
|
|
|
@@ -25,6 +25,7 @@ Name | Type
|
|
|
25
25
|
`taxable` | boolean
|
|
26
26
|
`giftCard` | boolean
|
|
27
27
|
`vendor` | string
|
|
28
|
+
`id` | string
|
|
28
29
|
`packedQuantity` | number
|
|
29
30
|
|
|
30
31
|
## Example
|
|
@@ -53,6 +54,7 @@ const example = {
|
|
|
53
54
|
"taxable": true,
|
|
54
55
|
"giftCard": false,
|
|
55
56
|
"vendor": Norse Knits,
|
|
57
|
+
"id": clz9k2f0a0004abcd3456qrst,
|
|
56
58
|
"packedQuantity": 1,
|
|
57
59
|
} satisfies GetOrder200ResponseOrderLinesInner
|
|
58
60
|
|
package/package.json
CHANGED
|
@@ -133,6 +133,12 @@ export interface CreateOrder201ResponseOrderLinesInner {
|
|
|
133
133
|
* @memberof CreateOrder201ResponseOrderLinesInner
|
|
134
134
|
*/
|
|
135
135
|
vendor?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof CreateOrder201ResponseOrderLinesInner
|
|
140
|
+
*/
|
|
141
|
+
id?: string;
|
|
136
142
|
}
|
|
137
143
|
|
|
138
144
|
|
|
@@ -186,6 +192,7 @@ export function CreateOrder201ResponseOrderLinesInnerFromJSONTyped(json: any, ig
|
|
|
186
192
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
187
193
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
188
194
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
195
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
189
196
|
};
|
|
190
197
|
}
|
|
191
198
|
|
|
@@ -219,6 +226,7 @@ export function CreateOrder201ResponseOrderLinesInnerToJSONTyped(value?: CreateO
|
|
|
219
226
|
'taxable': value['taxable'],
|
|
220
227
|
'giftCard': value['giftCard'],
|
|
221
228
|
'vendor': value['vendor'],
|
|
229
|
+
'id': value['id'],
|
|
222
230
|
};
|
|
223
231
|
}
|
|
224
232
|
|
|
@@ -133,6 +133,12 @@ export interface CreateOrderRequestOrderLinesInner {
|
|
|
133
133
|
* @memberof CreateOrderRequestOrderLinesInner
|
|
134
134
|
*/
|
|
135
135
|
vendor?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* ID of the existing order line this entry edits. Omit to add a new line.
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof CreateOrderRequestOrderLinesInner
|
|
140
|
+
*/
|
|
141
|
+
id?: string;
|
|
136
142
|
}
|
|
137
143
|
|
|
138
144
|
|
|
@@ -186,6 +192,7 @@ export function CreateOrderRequestOrderLinesInnerFromJSONTyped(json: any, ignore
|
|
|
186
192
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
187
193
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
188
194
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
195
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
189
196
|
};
|
|
190
197
|
}
|
|
191
198
|
|
|
@@ -219,6 +226,7 @@ export function CreateOrderRequestOrderLinesInnerToJSONTyped(value?: CreateOrder
|
|
|
219
226
|
'taxable': value['taxable'],
|
|
220
227
|
'giftCard': value['giftCard'],
|
|
221
228
|
'vendor': value['vendor'],
|
|
229
|
+
'id': value['id'],
|
|
222
230
|
};
|
|
223
231
|
}
|
|
224
232
|
|
|
@@ -25,6 +25,12 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
25
25
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
26
26
|
*/
|
|
27
27
|
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
32
|
+
*/
|
|
33
|
+
orderLineId?: string | null;
|
|
28
34
|
/**
|
|
29
35
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
30
36
|
* @type {string}
|
|
@@ -74,7 +80,13 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
74
80
|
*/
|
|
75
81
|
countryOfOrigin?: string;
|
|
76
82
|
/**
|
|
77
|
-
*
|
|
83
|
+
* Harmonized System customs code.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
86
|
+
*/
|
|
87
|
+
hsCode?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
78
90
|
* @type {string}
|
|
79
91
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
80
92
|
*/
|
|
@@ -100,6 +112,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONType
|
|
|
100
112
|
return {
|
|
101
113
|
|
|
102
114
|
'id': json['id'] == null ? undefined : json['id'],
|
|
115
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
103
116
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
104
117
|
'quantity': json['quantity'],
|
|
105
118
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -108,6 +121,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONType
|
|
|
108
121
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
109
122
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
110
123
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
124
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
111
125
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
112
126
|
};
|
|
113
127
|
}
|
|
@@ -124,6 +138,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(
|
|
|
124
138
|
return {
|
|
125
139
|
|
|
126
140
|
'id': value['id'],
|
|
141
|
+
'orderLineId': value['orderLineId'],
|
|
127
142
|
'sku': value['sku'],
|
|
128
143
|
'quantity': value['quantity'],
|
|
129
144
|
'description': value['description'],
|
|
@@ -132,6 +147,7 @@ export function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(
|
|
|
132
147
|
'vatPercent': value['vatPercent'],
|
|
133
148
|
'location': value['location'],
|
|
134
149
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
150
|
+
'hsCode': value['hsCode'],
|
|
135
151
|
'tarrifNumber': value['tarrifNumber'],
|
|
136
152
|
};
|
|
137
153
|
}
|
|
@@ -25,6 +25,12 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
25
25
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
26
26
|
*/
|
|
27
27
|
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
32
|
+
*/
|
|
33
|
+
orderLineId?: string | null;
|
|
28
34
|
/**
|
|
29
35
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
30
36
|
* @type {string}
|
|
@@ -74,7 +80,13 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
74
80
|
*/
|
|
75
81
|
countryOfOrigin?: string;
|
|
76
82
|
/**
|
|
77
|
-
*
|
|
83
|
+
* Harmonized System customs code.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
86
|
+
*/
|
|
87
|
+
hsCode?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
78
90
|
* @type {string}
|
|
79
91
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
80
92
|
*/
|
|
@@ -100,6 +112,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(js
|
|
|
100
112
|
return {
|
|
101
113
|
|
|
102
114
|
'id': json['id'] == null ? undefined : json['id'],
|
|
115
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
103
116
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
104
117
|
'quantity': json['quantity'],
|
|
105
118
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -108,6 +121,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(js
|
|
|
108
121
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
109
122
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
110
123
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
124
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
111
125
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
112
126
|
};
|
|
113
127
|
}
|
|
@@ -124,6 +138,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(valu
|
|
|
124
138
|
return {
|
|
125
139
|
|
|
126
140
|
'id': value['id'],
|
|
141
|
+
'orderLineId': value['orderLineId'],
|
|
127
142
|
'sku': value['sku'],
|
|
128
143
|
'quantity': value['quantity'],
|
|
129
144
|
'description': value['description'],
|
|
@@ -132,6 +147,7 @@ export function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(valu
|
|
|
132
147
|
'vatPercent': value['vatPercent'],
|
|
133
148
|
'location': value['location'],
|
|
134
149
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
150
|
+
'hsCode': value['hsCode'],
|
|
135
151
|
'tarrifNumber': value['tarrifNumber'],
|
|
136
152
|
};
|
|
137
153
|
}
|
|
@@ -133,6 +133,12 @@ export interface GetOrder200ResponseOrderLinesInner {
|
|
|
133
133
|
* @memberof GetOrder200ResponseOrderLinesInner
|
|
134
134
|
*/
|
|
135
135
|
vendor?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof GetOrder200ResponseOrderLinesInner
|
|
140
|
+
*/
|
|
141
|
+
id?: string;
|
|
136
142
|
/**
|
|
137
143
|
* Quantity already allocated to outbound shipments.
|
|
138
144
|
* @type {number}
|
|
@@ -193,6 +199,7 @@ export function GetOrder200ResponseOrderLinesInnerFromJSONTyped(json: any, ignor
|
|
|
193
199
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
194
200
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
195
201
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
202
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
196
203
|
'packedQuantity': json['packedQuantity'],
|
|
197
204
|
};
|
|
198
205
|
}
|
|
@@ -227,6 +234,7 @@ export function GetOrder200ResponseOrderLinesInnerToJSONTyped(value?: GetOrder20
|
|
|
227
234
|
'taxable': value['taxable'],
|
|
228
235
|
'giftCard': value['giftCard'],
|
|
229
236
|
'vendor': value['vendor'],
|
|
237
|
+
'id': value['id'],
|
|
230
238
|
'packedQuantity': value['packedQuantity'],
|
|
231
239
|
};
|
|
232
240
|
}
|