@zippendo/sdk 1.2.7 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.d.ts +11 -0
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.js +11 -0
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.js +2 -0
- package/dist/esm/models/CreateOrderChannelRequest.d.ts +14 -0
- package/dist/esm/models/CreateOrderChannelRequest.js +9 -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/esm/models/ListApiTokens401Response.d.ts +11 -0
- package/dist/esm/models/ListApiTokens401Response.js +11 -0
- package/dist/esm/models/ListOrderChannels200ResponseDataInner.d.ts +14 -0
- package/dist/esm/models/ListOrderChannels200ResponseDataInner.js +11 -0
- package/dist/esm/models/SendShipment422Response.d.ts +11 -0
- package/dist/esm/models/SendShipment422Response.js +11 -0
- package/dist/esm/models/UpdateOrderChannelRequest.d.ts +14 -0
- package/dist/esm/models/UpdateOrderChannelRequest.js +9 -0
- package/dist/models/BatchSendShipments200ResponseResultsInner.d.ts +11 -0
- package/dist/models/BatchSendShipments200ResponseResultsInner.js +11 -0
- package/dist/models/CreateOrder201ResponseOrderLinesInner.d.ts +6 -0
- package/dist/models/CreateOrder201ResponseOrderLinesInner.js +2 -0
- package/dist/models/CreateOrderChannelRequest.d.ts +14 -0
- package/dist/models/CreateOrderChannelRequest.js +10 -1
- 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/dist/models/ListApiTokens401Response.d.ts +11 -0
- package/dist/models/ListApiTokens401Response.js +11 -0
- package/dist/models/ListOrderChannels200ResponseDataInner.d.ts +14 -0
- package/dist/models/ListOrderChannels200ResponseDataInner.js +12 -1
- package/dist/models/SendShipment422Response.d.ts +11 -0
- package/dist/models/SendShipment422Response.js +11 -0
- package/dist/models/UpdateOrderChannelRequest.d.ts +14 -0
- package/dist/models/UpdateOrderChannelRequest.js +10 -0
- package/docs/CreateOrder201ResponseOrderLinesInner.md +2 -0
- package/docs/CreateOrderChannelRequest.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/docs/ListOrderChannels200ResponseDataInner.md +2 -0
- package/docs/UpdateOrderChannelRequest.md +2 -0
- package/package.json +1 -1
- package/src/models/BatchSendShipments200ResponseResultsInner.ts +11 -0
- package/src/models/CreateOrder201ResponseOrderLinesInner.ts +8 -0
- package/src/models/CreateOrderChannelRequest.ts +17 -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
- package/src/models/ListApiTokens401Response.ts +11 -0
- package/src/models/ListOrderChannels200ResponseDataInner.ts +18 -0
- package/src/models/SendShipment422Response.ts +11 -0
- package/src/models/UpdateOrderChannelRequest.ts +19 -0
|
@@ -162,6 +162,7 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
162
162
|
readonly OrderExists: "ORDER_EXISTS";
|
|
163
163
|
readonly OrderChannelNotFound: "ORDER_CHANNEL_NOT_FOUND";
|
|
164
164
|
readonly OrderChannelConfigInvalid: "ORDER_CHANNEL_CONFIG_INVALID";
|
|
165
|
+
readonly OrderChannelRatesOnly: "ORDER_CHANNEL_RATES_ONLY";
|
|
165
166
|
readonly IntegrationNotConfigured: "INTEGRATION_NOT_CONFIGURED";
|
|
166
167
|
readonly InstallationNotFound: "INSTALLATION_NOT_FOUND";
|
|
167
168
|
readonly WebhookSignatureInvalid: "WEBHOOK_SIGNATURE_INVALID";
|
|
@@ -199,6 +200,16 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
199
200
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
200
201
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
201
202
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
203
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
204
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
205
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
206
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
207
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
208
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
209
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
210
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
211
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
212
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
202
213
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
203
214
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
204
215
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|
|
@@ -126,6 +126,7 @@ export const BatchSendShipments200ResponseResultsInnerCodeEnum = {
|
|
|
126
126
|
OrderExists: 'ORDER_EXISTS',
|
|
127
127
|
OrderChannelNotFound: 'ORDER_CHANNEL_NOT_FOUND',
|
|
128
128
|
OrderChannelConfigInvalid: 'ORDER_CHANNEL_CONFIG_INVALID',
|
|
129
|
+
OrderChannelRatesOnly: 'ORDER_CHANNEL_RATES_ONLY',
|
|
129
130
|
IntegrationNotConfigured: 'INTEGRATION_NOT_CONFIGURED',
|
|
130
131
|
InstallationNotFound: 'INSTALLATION_NOT_FOUND',
|
|
131
132
|
WebhookSignatureInvalid: 'WEBHOOK_SIGNATURE_INVALID',
|
|
@@ -163,6 +164,16 @@ export const BatchSendShipments200ResponseResultsInnerCodeEnum = {
|
|
|
163
164
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
164
165
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
165
166
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
167
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
168
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
169
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
170
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
171
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
172
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
173
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
174
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
175
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
176
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
166
177
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
167
178
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
168
179
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -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
|
}
|
|
@@ -40,6 +40,12 @@ export interface CreateOrderChannelRequest {
|
|
|
40
40
|
* @memberof CreateOrderChannelRequest
|
|
41
41
|
*/
|
|
42
42
|
enabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* What Zippendo is used for on this channel. `orders_and_rates` (default) imports orders and serves checkout rates. `rates_only` serves checkout rates and service-point selection ONLY — orders are owned by an external system such as a WMS, nothing is imported, and no fulfilment or tracking is pushed back to the platform.
|
|
45
|
+
* @type {CreateOrderChannelRequestRoleEnum}
|
|
46
|
+
* @memberof CreateOrderChannelRequest
|
|
47
|
+
*/
|
|
48
|
+
role?: CreateOrderChannelRequestRoleEnum;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {CreateOrderChannelRequestSettings}
|
|
@@ -55,6 +61,14 @@ export declare const CreateOrderChannelRequestTypeEnum: {
|
|
|
55
61
|
readonly Custom: "custom";
|
|
56
62
|
};
|
|
57
63
|
export type CreateOrderChannelRequestTypeEnum = typeof CreateOrderChannelRequestTypeEnum[keyof typeof CreateOrderChannelRequestTypeEnum];
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const CreateOrderChannelRequestRoleEnum: {
|
|
68
|
+
readonly OrdersAndRates: "orders_and_rates";
|
|
69
|
+
readonly RatesOnly: "rates_only";
|
|
70
|
+
};
|
|
71
|
+
export type CreateOrderChannelRequestRoleEnum = typeof CreateOrderChannelRequestRoleEnum[keyof typeof CreateOrderChannelRequestRoleEnum];
|
|
58
72
|
/**
|
|
59
73
|
* Check if a given object implements the CreateOrderChannelRequest interface.
|
|
60
74
|
*/
|
|
@@ -19,6 +19,13 @@ export const CreateOrderChannelRequestTypeEnum = {
|
|
|
19
19
|
Manual: 'manual',
|
|
20
20
|
Custom: 'custom'
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const CreateOrderChannelRequestRoleEnum = {
|
|
26
|
+
OrdersAndRates: 'orders_and_rates',
|
|
27
|
+
RatesOnly: 'rates_only'
|
|
28
|
+
};
|
|
22
29
|
/**
|
|
23
30
|
* Check if a given object implements the CreateOrderChannelRequest interface.
|
|
24
31
|
*/
|
|
@@ -41,6 +48,7 @@ export function CreateOrderChannelRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
41
48
|
'type': json['type'],
|
|
42
49
|
'brandId': json['brandId'] === undefined ? undefined : json['brandId'] === null ? null : json['brandId'],
|
|
43
50
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
51
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
44
52
|
'settings': json['settings'] == null ? undefined : CreateOrderChannelRequestSettingsFromJSON(json['settings']),
|
|
45
53
|
};
|
|
46
54
|
}
|
|
@@ -56,6 +64,7 @@ export function CreateOrderChannelRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
56
64
|
'type': value['type'],
|
|
57
65
|
'brandId': value['brandId'],
|
|
58
66
|
'enabled': value['enabled'],
|
|
67
|
+
'role': value['role'],
|
|
59
68
|
'settings': CreateOrderChannelRequestSettingsToJSON(value['settings']),
|
|
60
69
|
};
|
|
61
70
|
}
|
|
@@ -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
|
}
|
|
@@ -140,6 +140,7 @@ export declare const ListApiTokens401ResponseCodeEnum: {
|
|
|
140
140
|
readonly OrderExists: "ORDER_EXISTS";
|
|
141
141
|
readonly OrderChannelNotFound: "ORDER_CHANNEL_NOT_FOUND";
|
|
142
142
|
readonly OrderChannelConfigInvalid: "ORDER_CHANNEL_CONFIG_INVALID";
|
|
143
|
+
readonly OrderChannelRatesOnly: "ORDER_CHANNEL_RATES_ONLY";
|
|
143
144
|
readonly IntegrationNotConfigured: "INTEGRATION_NOT_CONFIGURED";
|
|
144
145
|
readonly InstallationNotFound: "INSTALLATION_NOT_FOUND";
|
|
145
146
|
readonly WebhookSignatureInvalid: "WEBHOOK_SIGNATURE_INVALID";
|
|
@@ -177,6 +178,16 @@ export declare const ListApiTokens401ResponseCodeEnum: {
|
|
|
177
178
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
178
179
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
179
180
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
181
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
182
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
183
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
184
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
185
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
186
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
187
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
188
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
189
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
190
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
180
191
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
181
192
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
182
193
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|
|
@@ -117,6 +117,7 @@ export const ListApiTokens401ResponseCodeEnum = {
|
|
|
117
117
|
OrderExists: 'ORDER_EXISTS',
|
|
118
118
|
OrderChannelNotFound: 'ORDER_CHANNEL_NOT_FOUND',
|
|
119
119
|
OrderChannelConfigInvalid: 'ORDER_CHANNEL_CONFIG_INVALID',
|
|
120
|
+
OrderChannelRatesOnly: 'ORDER_CHANNEL_RATES_ONLY',
|
|
120
121
|
IntegrationNotConfigured: 'INTEGRATION_NOT_CONFIGURED',
|
|
121
122
|
InstallationNotFound: 'INSTALLATION_NOT_FOUND',
|
|
122
123
|
WebhookSignatureInvalid: 'WEBHOOK_SIGNATURE_INVALID',
|
|
@@ -154,6 +155,16 @@ export const ListApiTokens401ResponseCodeEnum = {
|
|
|
154
155
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
155
156
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
156
157
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
158
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
159
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
160
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
161
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
162
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
163
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
164
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
165
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
166
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
167
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
157
168
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
158
169
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
159
170
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -40,6 +40,12 @@ export interface ListOrderChannels200ResponseDataInner {
|
|
|
40
40
|
* @memberof ListOrderChannels200ResponseDataInner
|
|
41
41
|
*/
|
|
42
42
|
enabled: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* What Zippendo is used for on this channel. `orders_and_rates` (default) imports orders and serves checkout rates. `rates_only` serves checkout rates and service-point selection ONLY — orders are owned by an external system such as a WMS, nothing is imported, and no fulfilment or tracking is pushed back to the platform.
|
|
45
|
+
* @type {ListOrderChannels200ResponseDataInnerRoleEnum}
|
|
46
|
+
* @memberof ListOrderChannels200ResponseDataInner
|
|
47
|
+
*/
|
|
48
|
+
role: ListOrderChannels200ResponseDataInnerRoleEnum;
|
|
43
49
|
/**
|
|
44
50
|
* Brand this channel belongs to, or null for organization-wide. Orders synced from this channel inherit it, and so do the shipments and documents made from them.
|
|
45
51
|
* @type {string}
|
|
@@ -111,6 +117,14 @@ export declare const ListOrderChannels200ResponseDataInnerTypeEnum: {
|
|
|
111
117
|
readonly Custom: "custom";
|
|
112
118
|
};
|
|
113
119
|
export type ListOrderChannels200ResponseDataInnerTypeEnum = typeof ListOrderChannels200ResponseDataInnerTypeEnum[keyof typeof ListOrderChannels200ResponseDataInnerTypeEnum];
|
|
120
|
+
/**
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export declare const ListOrderChannels200ResponseDataInnerRoleEnum: {
|
|
124
|
+
readonly OrdersAndRates: "orders_and_rates";
|
|
125
|
+
readonly RatesOnly: "rates_only";
|
|
126
|
+
};
|
|
127
|
+
export type ListOrderChannels200ResponseDataInnerRoleEnum = typeof ListOrderChannels200ResponseDataInnerRoleEnum[keyof typeof ListOrderChannels200ResponseDataInnerRoleEnum];
|
|
114
128
|
/**
|
|
115
129
|
* Check if a given object implements the ListOrderChannels200ResponseDataInner interface.
|
|
116
130
|
*/
|
|
@@ -21,6 +21,13 @@ export const ListOrderChannels200ResponseDataInnerTypeEnum = {
|
|
|
21
21
|
Manual: 'manual',
|
|
22
22
|
Custom: 'custom'
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export const ListOrderChannels200ResponseDataInnerRoleEnum = {
|
|
28
|
+
OrdersAndRates: 'orders_and_rates',
|
|
29
|
+
RatesOnly: 'rates_only'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the ListOrderChannels200ResponseDataInner interface.
|
|
26
33
|
*/
|
|
@@ -33,6 +40,8 @@ export function instanceOfListOrderChannels200ResponseDataInner(value) {
|
|
|
33
40
|
return false;
|
|
34
41
|
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
35
42
|
return false;
|
|
43
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
44
|
+
return false;
|
|
36
45
|
if (!('brandId' in value) || value['brandId'] === undefined)
|
|
37
46
|
return false;
|
|
38
47
|
if (!('hasCredentials' in value) || value['hasCredentials'] === undefined)
|
|
@@ -59,6 +68,7 @@ export function ListOrderChannels200ResponseDataInnerFromJSONTyped(json, ignoreD
|
|
|
59
68
|
'name': json['name'],
|
|
60
69
|
'type': json['type'],
|
|
61
70
|
'enabled': json['enabled'],
|
|
71
|
+
'role': json['role'],
|
|
62
72
|
'brandId': json['brandId'],
|
|
63
73
|
'hasCredentials': json['hasCredentials'],
|
|
64
74
|
'settings': ListOrderChannels200ResponseDataInnerSettingsFromJSON(json['settings']),
|
|
@@ -83,6 +93,7 @@ export function ListOrderChannels200ResponseDataInnerToJSONTyped(value, ignoreDi
|
|
|
83
93
|
'name': value['name'],
|
|
84
94
|
'type': value['type'],
|
|
85
95
|
'enabled': value['enabled'],
|
|
96
|
+
'role': value['role'],
|
|
86
97
|
'brandId': value['brandId'],
|
|
87
98
|
'hasCredentials': value['hasCredentials'],
|
|
88
99
|
'settings': ListOrderChannels200ResponseDataInnerSettingsToJSON(value['settings']),
|
|
@@ -147,6 +147,7 @@ export declare const SendShipment422ResponseCodeEnum: {
|
|
|
147
147
|
readonly OrderExists: "ORDER_EXISTS";
|
|
148
148
|
readonly OrderChannelNotFound: "ORDER_CHANNEL_NOT_FOUND";
|
|
149
149
|
readonly OrderChannelConfigInvalid: "ORDER_CHANNEL_CONFIG_INVALID";
|
|
150
|
+
readonly OrderChannelRatesOnly: "ORDER_CHANNEL_RATES_ONLY";
|
|
150
151
|
readonly IntegrationNotConfigured: "INTEGRATION_NOT_CONFIGURED";
|
|
151
152
|
readonly InstallationNotFound: "INSTALLATION_NOT_FOUND";
|
|
152
153
|
readonly WebhookSignatureInvalid: "WEBHOOK_SIGNATURE_INVALID";
|
|
@@ -184,6 +185,16 @@ export declare const SendShipment422ResponseCodeEnum: {
|
|
|
184
185
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
185
186
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
186
187
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
188
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
189
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
190
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
191
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
192
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
193
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
194
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
195
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
196
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
197
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
187
198
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
188
199
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
189
200
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|
|
@@ -118,6 +118,7 @@ export const SendShipment422ResponseCodeEnum = {
|
|
|
118
118
|
OrderExists: 'ORDER_EXISTS',
|
|
119
119
|
OrderChannelNotFound: 'ORDER_CHANNEL_NOT_FOUND',
|
|
120
120
|
OrderChannelConfigInvalid: 'ORDER_CHANNEL_CONFIG_INVALID',
|
|
121
|
+
OrderChannelRatesOnly: 'ORDER_CHANNEL_RATES_ONLY',
|
|
121
122
|
IntegrationNotConfigured: 'INTEGRATION_NOT_CONFIGURED',
|
|
122
123
|
InstallationNotFound: 'INSTALLATION_NOT_FOUND',
|
|
123
124
|
WebhookSignatureInvalid: 'WEBHOOK_SIGNATURE_INVALID',
|
|
@@ -155,6 +156,16 @@ export const SendShipment422ResponseCodeEnum = {
|
|
|
155
156
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
156
157
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
157
158
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
159
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
160
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
161
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
162
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
163
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
164
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
165
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
166
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
167
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
168
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
158
169
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
159
170
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
160
171
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -34,6 +34,12 @@ export interface UpdateOrderChannelRequest {
|
|
|
34
34
|
* @memberof UpdateOrderChannelRequest
|
|
35
35
|
*/
|
|
36
36
|
enabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* What Zippendo is used for on this channel. `orders_and_rates` (default) imports orders and serves checkout rates. `rates_only` serves checkout rates and service-point selection ONLY — orders are owned by an external system such as a WMS, nothing is imported, and no fulfilment or tracking is pushed back to the platform.
|
|
39
|
+
* @type {UpdateOrderChannelRequestRoleEnum}
|
|
40
|
+
* @memberof UpdateOrderChannelRequest
|
|
41
|
+
*/
|
|
42
|
+
role?: UpdateOrderChannelRequestRoleEnum;
|
|
37
43
|
/**
|
|
38
44
|
* Type-specific platform credentials.
|
|
39
45
|
* @type {{ [key: string]: any; }}
|
|
@@ -55,6 +61,14 @@ export interface UpdateOrderChannelRequest {
|
|
|
55
61
|
*/
|
|
56
62
|
shippingRuleIds?: Array<string>;
|
|
57
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const UpdateOrderChannelRequestRoleEnum: {
|
|
68
|
+
readonly OrdersAndRates: "orders_and_rates";
|
|
69
|
+
readonly RatesOnly: "rates_only";
|
|
70
|
+
};
|
|
71
|
+
export type UpdateOrderChannelRequestRoleEnum = typeof UpdateOrderChannelRequestRoleEnum[keyof typeof UpdateOrderChannelRequestRoleEnum];
|
|
58
72
|
/**
|
|
59
73
|
* Check if a given object implements the UpdateOrderChannelRequest interface.
|
|
60
74
|
*/
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { UpdateOrderChannelRequestSettingsFromJSON, UpdateOrderChannelRequestSettingsToJSON, } from './UpdateOrderChannelRequestSettings';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const UpdateOrderChannelRequestRoleEnum = {
|
|
19
|
+
OrdersAndRates: 'orders_and_rates',
|
|
20
|
+
RatesOnly: 'rates_only'
|
|
21
|
+
};
|
|
15
22
|
/**
|
|
16
23
|
* Check if a given object implements the UpdateOrderChannelRequest interface.
|
|
17
24
|
*/
|
|
@@ -29,6 +36,7 @@ export function UpdateOrderChannelRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
29
36
|
'brandId': json['brandId'] === undefined ? undefined : json['brandId'] === null ? null : json['brandId'],
|
|
30
37
|
'name': json['name'] == null ? undefined : json['name'],
|
|
31
38
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
39
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
32
40
|
'credentials': json['credentials'] === undefined ? undefined : json['credentials'] === null ? null : json['credentials'],
|
|
33
41
|
'settings': json['settings'] == null ? undefined : UpdateOrderChannelRequestSettingsFromJSON(json['settings']),
|
|
34
42
|
'shippingRuleIds': json['shippingRuleIds'] == null ? undefined : json['shippingRuleIds'],
|
|
@@ -45,6 +53,7 @@ export function UpdateOrderChannelRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
45
53
|
'brandId': value['brandId'],
|
|
46
54
|
'name': value['name'],
|
|
47
55
|
'enabled': value['enabled'],
|
|
56
|
+
'role': value['role'],
|
|
48
57
|
'credentials': value['credentials'],
|
|
49
58
|
'settings': UpdateOrderChannelRequestSettingsToJSON(value['settings']),
|
|
50
59
|
'shippingRuleIds': value['shippingRuleIds'],
|
|
@@ -162,6 +162,7 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
162
162
|
readonly OrderExists: "ORDER_EXISTS";
|
|
163
163
|
readonly OrderChannelNotFound: "ORDER_CHANNEL_NOT_FOUND";
|
|
164
164
|
readonly OrderChannelConfigInvalid: "ORDER_CHANNEL_CONFIG_INVALID";
|
|
165
|
+
readonly OrderChannelRatesOnly: "ORDER_CHANNEL_RATES_ONLY";
|
|
165
166
|
readonly IntegrationNotConfigured: "INTEGRATION_NOT_CONFIGURED";
|
|
166
167
|
readonly InstallationNotFound: "INSTALLATION_NOT_FOUND";
|
|
167
168
|
readonly WebhookSignatureInvalid: "WEBHOOK_SIGNATURE_INVALID";
|
|
@@ -199,6 +200,16 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
199
200
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
200
201
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
201
202
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
203
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
204
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
205
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
206
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
207
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
208
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
209
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
210
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
211
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
212
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
202
213
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
203
214
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
204
215
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|
|
@@ -134,6 +134,7 @@ exports.BatchSendShipments200ResponseResultsInnerCodeEnum = {
|
|
|
134
134
|
OrderExists: 'ORDER_EXISTS',
|
|
135
135
|
OrderChannelNotFound: 'ORDER_CHANNEL_NOT_FOUND',
|
|
136
136
|
OrderChannelConfigInvalid: 'ORDER_CHANNEL_CONFIG_INVALID',
|
|
137
|
+
OrderChannelRatesOnly: 'ORDER_CHANNEL_RATES_ONLY',
|
|
137
138
|
IntegrationNotConfigured: 'INTEGRATION_NOT_CONFIGURED',
|
|
138
139
|
InstallationNotFound: 'INSTALLATION_NOT_FOUND',
|
|
139
140
|
WebhookSignatureInvalid: 'WEBHOOK_SIGNATURE_INVALID',
|
|
@@ -171,6 +172,16 @@ exports.BatchSendShipments200ResponseResultsInnerCodeEnum = {
|
|
|
171
172
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
172
173
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
173
174
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
175
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
176
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
177
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
178
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
179
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
180
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
181
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
182
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
183
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
184
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
174
185
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
175
186
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
176
187
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -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
|
}
|