@zippendo/sdk 1.3.0 → 1.3.2
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/apis/OrdersApi.d.ts +3 -2
- package/dist/apis/OrdersApi.js +5 -2
- package/dist/apis/ShipmentsApi.d.ts +3 -2
- package/dist/apis/ShipmentsApi.js +5 -2
- package/dist/esm/apis/OrdersApi.d.ts +3 -2
- package/dist/esm/apis/OrdersApi.js +5 -2
- package/dist/esm/apis/ShipmentsApi.d.ts +3 -2
- package/dist/esm/apis/ShipmentsApi.js +5 -2
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.d.ts +14 -0
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.js +14 -0
- package/dist/esm/models/CreateOrderChannelRequest.d.ts +14 -0
- package/dist/esm/models/CreateOrderChannelRequest.js +9 -0
- package/dist/esm/models/ListApiTokens401Response.d.ts +14 -0
- package/dist/esm/models/ListApiTokens401Response.js +14 -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 +14 -0
- package/dist/esm/models/SendShipment422Response.js +14 -0
- package/dist/esm/models/UpdateOrderChannelRequest.d.ts +14 -0
- package/dist/esm/models/UpdateOrderChannelRequest.js +9 -0
- package/dist/models/BatchSendShipments200ResponseResultsInner.d.ts +14 -0
- package/dist/models/BatchSendShipments200ResponseResultsInner.js +14 -0
- package/dist/models/CreateOrderChannelRequest.d.ts +14 -0
- package/dist/models/CreateOrderChannelRequest.js +10 -1
- package/dist/models/ListApiTokens401Response.d.ts +14 -0
- package/dist/models/ListApiTokens401Response.js +14 -0
- package/dist/models/ListOrderChannels200ResponseDataInner.d.ts +14 -0
- package/dist/models/ListOrderChannels200ResponseDataInner.js +12 -1
- package/dist/models/SendShipment422Response.d.ts +14 -0
- package/dist/models/SendShipment422Response.js +14 -0
- package/dist/models/UpdateOrderChannelRequest.d.ts +14 -0
- package/dist/models/UpdateOrderChannelRequest.js +10 -0
- package/docs/CreateOrderChannelRequest.md +2 -0
- package/docs/ListOrderChannels200ResponseDataInner.md +2 -0
- package/docs/OrdersApi.md +5 -2
- package/docs/ShipmentsApi.md +5 -2
- package/docs/UpdateOrderChannelRequest.md +2 -0
- package/package.json +1 -1
- package/src/apis/OrdersApi.ts +7 -2
- package/src/apis/ShipmentsApi.ts +7 -2
- package/src/models/BatchSendShipments200ResponseResultsInner.ts +14 -0
- package/src/models/CreateOrderChannelRequest.ts +17 -0
- package/src/models/ListApiTokens401Response.ts +14 -0
- package/src/models/ListOrderChannels200ResponseDataInner.ts +18 -0
- package/src/models/SendShipment422Response.ts +14 -0
- package/src/models/UpdateOrderChannelRequest.ts +19 -0
package/dist/apis/OrdersApi.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export interface ListOrdersRequest {
|
|
|
37
37
|
status?: ListOrdersStatusEnum;
|
|
38
38
|
orderChannelId?: string;
|
|
39
39
|
search?: string;
|
|
40
|
+
filter?: string;
|
|
40
41
|
}
|
|
41
42
|
export interface UpdateOrderOperationRequest {
|
|
42
43
|
orgId: string;
|
|
@@ -94,12 +95,12 @@ export declare class OrdersApi extends runtime.BaseAPI {
|
|
|
94
95
|
*/
|
|
95
96
|
listOrdersRequestOpts(requestParameters: ListOrdersRequest): Promise<runtime.RequestOpts>;
|
|
96
97
|
/**
|
|
97
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
98
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
98
99
|
* List orders
|
|
99
100
|
*/
|
|
100
101
|
listOrdersRaw(requestParameters: ListOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListOrders200Response>>;
|
|
101
102
|
/**
|
|
102
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
103
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
103
104
|
* List orders
|
|
104
105
|
*/
|
|
105
106
|
listOrders(requestParameters: ListOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListOrders200Response>;
|
package/dist/apis/OrdersApi.js
CHANGED
|
@@ -221,6 +221,9 @@ class OrdersApi extends runtime.BaseAPI {
|
|
|
221
221
|
if (requestParameters['search'] != null) {
|
|
222
222
|
queryParameters['search'] = requestParameters['search'];
|
|
223
223
|
}
|
|
224
|
+
if (requestParameters['filter'] != null) {
|
|
225
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
226
|
+
}
|
|
224
227
|
const headerParameters = {};
|
|
225
228
|
if (this.configuration && this.configuration.accessToken) {
|
|
226
229
|
const token = this.configuration.accessToken;
|
|
@@ -240,7 +243,7 @@ class OrdersApi extends runtime.BaseAPI {
|
|
|
240
243
|
});
|
|
241
244
|
}
|
|
242
245
|
/**
|
|
243
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
246
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
244
247
|
* List orders
|
|
245
248
|
*/
|
|
246
249
|
listOrdersRaw(requestParameters, initOverrides) {
|
|
@@ -251,7 +254,7 @@ class OrdersApi extends runtime.BaseAPI {
|
|
|
251
254
|
});
|
|
252
255
|
}
|
|
253
256
|
/**
|
|
254
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
257
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
255
258
|
* List orders
|
|
256
259
|
*/
|
|
257
260
|
listOrders(requestParameters, initOverrides) {
|
|
@@ -65,6 +65,7 @@ export interface ListShipmentsRequest {
|
|
|
65
65
|
status?: ListShipmentsStatusEnum;
|
|
66
66
|
type?: ListShipmentsTypeEnum;
|
|
67
67
|
search?: string;
|
|
68
|
+
filter?: string;
|
|
68
69
|
}
|
|
69
70
|
export interface SendShipmentRequest {
|
|
70
71
|
orgId: string;
|
|
@@ -196,12 +197,12 @@ export declare class ShipmentsApi extends runtime.BaseAPI {
|
|
|
196
197
|
*/
|
|
197
198
|
listShipmentsRequestOpts(requestParameters: ListShipmentsRequest): Promise<runtime.RequestOpts>;
|
|
198
199
|
/**
|
|
199
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
200
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
200
201
|
* List shipments
|
|
201
202
|
*/
|
|
202
203
|
listShipmentsRaw(requestParameters: ListShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListShipments200Response>>;
|
|
203
204
|
/**
|
|
204
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
205
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
205
206
|
* List shipments
|
|
206
207
|
*/
|
|
207
208
|
listShipments(requestParameters: ListShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListShipments200Response>;
|
|
@@ -452,6 +452,9 @@ class ShipmentsApi extends runtime.BaseAPI {
|
|
|
452
452
|
if (requestParameters['search'] != null) {
|
|
453
453
|
queryParameters['search'] = requestParameters['search'];
|
|
454
454
|
}
|
|
455
|
+
if (requestParameters['filter'] != null) {
|
|
456
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
457
|
+
}
|
|
455
458
|
const headerParameters = {};
|
|
456
459
|
if (this.configuration && this.configuration.accessToken) {
|
|
457
460
|
const token = this.configuration.accessToken;
|
|
@@ -471,7 +474,7 @@ class ShipmentsApi extends runtime.BaseAPI {
|
|
|
471
474
|
});
|
|
472
475
|
}
|
|
473
476
|
/**
|
|
474
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
477
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
475
478
|
* List shipments
|
|
476
479
|
*/
|
|
477
480
|
listShipmentsRaw(requestParameters, initOverrides) {
|
|
@@ -482,7 +485,7 @@ class ShipmentsApi extends runtime.BaseAPI {
|
|
|
482
485
|
});
|
|
483
486
|
}
|
|
484
487
|
/**
|
|
485
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
488
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
486
489
|
* List shipments
|
|
487
490
|
*/
|
|
488
491
|
listShipments(requestParameters, initOverrides) {
|
|
@@ -37,6 +37,7 @@ export interface ListOrdersRequest {
|
|
|
37
37
|
status?: ListOrdersStatusEnum;
|
|
38
38
|
orderChannelId?: string;
|
|
39
39
|
search?: string;
|
|
40
|
+
filter?: string;
|
|
40
41
|
}
|
|
41
42
|
export interface UpdateOrderOperationRequest {
|
|
42
43
|
orgId: string;
|
|
@@ -94,12 +95,12 @@ export declare class OrdersApi extends runtime.BaseAPI {
|
|
|
94
95
|
*/
|
|
95
96
|
listOrdersRequestOpts(requestParameters: ListOrdersRequest): Promise<runtime.RequestOpts>;
|
|
96
97
|
/**
|
|
97
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
98
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
98
99
|
* List orders
|
|
99
100
|
*/
|
|
100
101
|
listOrdersRaw(requestParameters: ListOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListOrders200Response>>;
|
|
101
102
|
/**
|
|
102
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
103
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
103
104
|
* List orders
|
|
104
105
|
*/
|
|
105
106
|
listOrders(requestParameters: ListOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListOrders200Response>;
|
|
@@ -218,6 +218,9 @@ export class OrdersApi extends runtime.BaseAPI {
|
|
|
218
218
|
if (requestParameters['search'] != null) {
|
|
219
219
|
queryParameters['search'] = requestParameters['search'];
|
|
220
220
|
}
|
|
221
|
+
if (requestParameters['filter'] != null) {
|
|
222
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
223
|
+
}
|
|
221
224
|
const headerParameters = {};
|
|
222
225
|
if (this.configuration && this.configuration.accessToken) {
|
|
223
226
|
const token = this.configuration.accessToken;
|
|
@@ -237,7 +240,7 @@ export class OrdersApi extends runtime.BaseAPI {
|
|
|
237
240
|
});
|
|
238
241
|
}
|
|
239
242
|
/**
|
|
240
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
243
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
241
244
|
* List orders
|
|
242
245
|
*/
|
|
243
246
|
listOrdersRaw(requestParameters, initOverrides) {
|
|
@@ -248,7 +251,7 @@ export class OrdersApi extends runtime.BaseAPI {
|
|
|
248
251
|
});
|
|
249
252
|
}
|
|
250
253
|
/**
|
|
251
|
-
* Returns a paginated list of orders for an organization, filterable by status, channel, and
|
|
254
|
+
* Returns a paginated list of orders for an organization, filterable by status, channel, search term and an advanced filter definition.
|
|
252
255
|
* List orders
|
|
253
256
|
*/
|
|
254
257
|
listOrders(requestParameters, initOverrides) {
|
|
@@ -65,6 +65,7 @@ export interface ListShipmentsRequest {
|
|
|
65
65
|
status?: ListShipmentsStatusEnum;
|
|
66
66
|
type?: ListShipmentsTypeEnum;
|
|
67
67
|
search?: string;
|
|
68
|
+
filter?: string;
|
|
68
69
|
}
|
|
69
70
|
export interface SendShipmentRequest {
|
|
70
71
|
orgId: string;
|
|
@@ -196,12 +197,12 @@ export declare class ShipmentsApi extends runtime.BaseAPI {
|
|
|
196
197
|
*/
|
|
197
198
|
listShipmentsRequestOpts(requestParameters: ListShipmentsRequest): Promise<runtime.RequestOpts>;
|
|
198
199
|
/**
|
|
199
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
200
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
200
201
|
* List shipments
|
|
201
202
|
*/
|
|
202
203
|
listShipmentsRaw(requestParameters: ListShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListShipments200Response>>;
|
|
203
204
|
/**
|
|
204
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
205
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
205
206
|
* List shipments
|
|
206
207
|
*/
|
|
207
208
|
listShipments(requestParameters: ListShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListShipments200Response>;
|
|
@@ -449,6 +449,9 @@ export class ShipmentsApi extends runtime.BaseAPI {
|
|
|
449
449
|
if (requestParameters['search'] != null) {
|
|
450
450
|
queryParameters['search'] = requestParameters['search'];
|
|
451
451
|
}
|
|
452
|
+
if (requestParameters['filter'] != null) {
|
|
453
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
454
|
+
}
|
|
452
455
|
const headerParameters = {};
|
|
453
456
|
if (this.configuration && this.configuration.accessToken) {
|
|
454
457
|
const token = this.configuration.accessToken;
|
|
@@ -468,7 +471,7 @@ export class ShipmentsApi extends runtime.BaseAPI {
|
|
|
468
471
|
});
|
|
469
472
|
}
|
|
470
473
|
/**
|
|
471
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
474
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
472
475
|
* List shipments
|
|
473
476
|
*/
|
|
474
477
|
listShipmentsRaw(requestParameters, initOverrides) {
|
|
@@ -479,7 +482,7 @@ export class ShipmentsApi extends runtime.BaseAPI {
|
|
|
479
482
|
});
|
|
480
483
|
}
|
|
481
484
|
/**
|
|
482
|
-
* List all shipments for an organization, paginated and ordered by newest first.
|
|
485
|
+
* List all shipments for an organization, paginated and ordered by newest first. Accepts an advanced filter definition.
|
|
483
486
|
* List shipments
|
|
484
487
|
*/
|
|
485
488
|
listShipments(requestParameters, initOverrides) {
|
|
@@ -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";
|
|
@@ -184,6 +185,9 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
184
185
|
readonly AutomationInvalid: "AUTOMATION_INVALID";
|
|
185
186
|
readonly ZippyDisabled: "ZIPPY_DISABLED";
|
|
186
187
|
readonly ConversationNotFound: "CONVERSATION_NOT_FOUND";
|
|
188
|
+
readonly FilterInvalid: "FILTER_INVALID";
|
|
189
|
+
readonly SavedViewNotFound: "SAVED_VIEW_NOT_FOUND";
|
|
190
|
+
readonly SavedViewLimitReached: "SAVED_VIEW_LIMIT_REACHED";
|
|
187
191
|
readonly AdminForbidden: "ADMIN_FORBIDDEN";
|
|
188
192
|
readonly JobHandlerNotRegistered: "JOB_HANDLER_NOT_REGISTERED";
|
|
189
193
|
readonly JobQueueNotConfigured: "JOB_QUEUE_NOT_CONFIGURED";
|
|
@@ -199,6 +203,16 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
199
203
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
200
204
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
201
205
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
206
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
207
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
208
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
209
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
210
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
211
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
212
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
213
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
214
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
215
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
202
216
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
203
217
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
204
218
|
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',
|
|
@@ -148,6 +149,9 @@ export const BatchSendShipments200ResponseResultsInnerCodeEnum = {
|
|
|
148
149
|
AutomationInvalid: 'AUTOMATION_INVALID',
|
|
149
150
|
ZippyDisabled: 'ZIPPY_DISABLED',
|
|
150
151
|
ConversationNotFound: 'CONVERSATION_NOT_FOUND',
|
|
152
|
+
FilterInvalid: 'FILTER_INVALID',
|
|
153
|
+
SavedViewNotFound: 'SAVED_VIEW_NOT_FOUND',
|
|
154
|
+
SavedViewLimitReached: 'SAVED_VIEW_LIMIT_REACHED',
|
|
151
155
|
AdminForbidden: 'ADMIN_FORBIDDEN',
|
|
152
156
|
JobHandlerNotRegistered: 'JOB_HANDLER_NOT_REGISTERED',
|
|
153
157
|
JobQueueNotConfigured: 'JOB_QUEUE_NOT_CONFIGURED',
|
|
@@ -163,6 +167,16 @@ export const BatchSendShipments200ResponseResultsInnerCodeEnum = {
|
|
|
163
167
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
164
168
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
165
169
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
170
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
171
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
172
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
173
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
174
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
175
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
176
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
177
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
178
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
179
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
166
180
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
167
181
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
168
182
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -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
|
}
|
|
@@ -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";
|
|
@@ -162,6 +163,9 @@ export declare const ListApiTokens401ResponseCodeEnum: {
|
|
|
162
163
|
readonly AutomationInvalid: "AUTOMATION_INVALID";
|
|
163
164
|
readonly ZippyDisabled: "ZIPPY_DISABLED";
|
|
164
165
|
readonly ConversationNotFound: "CONVERSATION_NOT_FOUND";
|
|
166
|
+
readonly FilterInvalid: "FILTER_INVALID";
|
|
167
|
+
readonly SavedViewNotFound: "SAVED_VIEW_NOT_FOUND";
|
|
168
|
+
readonly SavedViewLimitReached: "SAVED_VIEW_LIMIT_REACHED";
|
|
165
169
|
readonly AdminForbidden: "ADMIN_FORBIDDEN";
|
|
166
170
|
readonly JobHandlerNotRegistered: "JOB_HANDLER_NOT_REGISTERED";
|
|
167
171
|
readonly JobQueueNotConfigured: "JOB_QUEUE_NOT_CONFIGURED";
|
|
@@ -177,6 +181,16 @@ export declare const ListApiTokens401ResponseCodeEnum: {
|
|
|
177
181
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
178
182
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
179
183
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
184
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
185
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
186
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
187
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
188
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
189
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
190
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
191
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
192
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
193
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
180
194
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
181
195
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
182
196
|
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',
|
|
@@ -139,6 +140,9 @@ export const ListApiTokens401ResponseCodeEnum = {
|
|
|
139
140
|
AutomationInvalid: 'AUTOMATION_INVALID',
|
|
140
141
|
ZippyDisabled: 'ZIPPY_DISABLED',
|
|
141
142
|
ConversationNotFound: 'CONVERSATION_NOT_FOUND',
|
|
143
|
+
FilterInvalid: 'FILTER_INVALID',
|
|
144
|
+
SavedViewNotFound: 'SAVED_VIEW_NOT_FOUND',
|
|
145
|
+
SavedViewLimitReached: 'SAVED_VIEW_LIMIT_REACHED',
|
|
142
146
|
AdminForbidden: 'ADMIN_FORBIDDEN',
|
|
143
147
|
JobHandlerNotRegistered: 'JOB_HANDLER_NOT_REGISTERED',
|
|
144
148
|
JobQueueNotConfigured: 'JOB_QUEUE_NOT_CONFIGURED',
|
|
@@ -154,6 +158,16 @@ export const ListApiTokens401ResponseCodeEnum = {
|
|
|
154
158
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
155
159
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
156
160
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
161
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
162
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
163
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
164
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
165
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
166
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
167
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
168
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
169
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
170
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
157
171
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
158
172
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
159
173
|
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";
|
|
@@ -169,6 +170,9 @@ export declare const SendShipment422ResponseCodeEnum: {
|
|
|
169
170
|
readonly AutomationInvalid: "AUTOMATION_INVALID";
|
|
170
171
|
readonly ZippyDisabled: "ZIPPY_DISABLED";
|
|
171
172
|
readonly ConversationNotFound: "CONVERSATION_NOT_FOUND";
|
|
173
|
+
readonly FilterInvalid: "FILTER_INVALID";
|
|
174
|
+
readonly SavedViewNotFound: "SAVED_VIEW_NOT_FOUND";
|
|
175
|
+
readonly SavedViewLimitReached: "SAVED_VIEW_LIMIT_REACHED";
|
|
172
176
|
readonly AdminForbidden: "ADMIN_FORBIDDEN";
|
|
173
177
|
readonly JobHandlerNotRegistered: "JOB_HANDLER_NOT_REGISTERED";
|
|
174
178
|
readonly JobQueueNotConfigured: "JOB_QUEUE_NOT_CONFIGURED";
|
|
@@ -184,6 +188,16 @@ export declare const SendShipment422ResponseCodeEnum: {
|
|
|
184
188
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
185
189
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
186
190
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
191
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
192
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
193
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
194
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
195
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
196
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
197
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
198
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
199
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
200
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
187
201
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
188
202
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
189
203
|
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',
|
|
@@ -140,6 +141,9 @@ export const SendShipment422ResponseCodeEnum = {
|
|
|
140
141
|
AutomationInvalid: 'AUTOMATION_INVALID',
|
|
141
142
|
ZippyDisabled: 'ZIPPY_DISABLED',
|
|
142
143
|
ConversationNotFound: 'CONVERSATION_NOT_FOUND',
|
|
144
|
+
FilterInvalid: 'FILTER_INVALID',
|
|
145
|
+
SavedViewNotFound: 'SAVED_VIEW_NOT_FOUND',
|
|
146
|
+
SavedViewLimitReached: 'SAVED_VIEW_LIMIT_REACHED',
|
|
143
147
|
AdminForbidden: 'ADMIN_FORBIDDEN',
|
|
144
148
|
JobHandlerNotRegistered: 'JOB_HANDLER_NOT_REGISTERED',
|
|
145
149
|
JobQueueNotConfigured: 'JOB_QUEUE_NOT_CONFIGURED',
|
|
@@ -155,6 +159,16 @@ export const SendShipment422ResponseCodeEnum = {
|
|
|
155
159
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
156
160
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
157
161
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
162
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
163
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
164
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
165
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
166
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
167
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
168
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
169
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
170
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
171
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
158
172
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
159
173
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
160
174
|
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";
|
|
@@ -184,6 +185,9 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
184
185
|
readonly AutomationInvalid: "AUTOMATION_INVALID";
|
|
185
186
|
readonly ZippyDisabled: "ZIPPY_DISABLED";
|
|
186
187
|
readonly ConversationNotFound: "CONVERSATION_NOT_FOUND";
|
|
188
|
+
readonly FilterInvalid: "FILTER_INVALID";
|
|
189
|
+
readonly SavedViewNotFound: "SAVED_VIEW_NOT_FOUND";
|
|
190
|
+
readonly SavedViewLimitReached: "SAVED_VIEW_LIMIT_REACHED";
|
|
187
191
|
readonly AdminForbidden: "ADMIN_FORBIDDEN";
|
|
188
192
|
readonly JobHandlerNotRegistered: "JOB_HANDLER_NOT_REGISTERED";
|
|
189
193
|
readonly JobQueueNotConfigured: "JOB_QUEUE_NOT_CONFIGURED";
|
|
@@ -199,6 +203,16 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
|
|
|
199
203
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
200
204
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
201
205
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
206
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
207
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
208
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
209
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
210
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
211
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
212
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
213
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
214
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
215
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
202
216
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
203
217
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
204
218
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|