@teemill/pickfaces 0.36.1 → 0.36.4
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/.openapi-generator/FILES +29 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +36 -21
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +3 -3
- package/dist/api.d.ts +21 -6
- package/dist/api.js +16 -16
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +21 -6
- package/dist/esm/api.js +16 -16
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ApiError.md +3 -2
- package/docs/Pickface.md +3 -2
- package/docs/PickfaceLog.md +3 -2
- package/docs/PickfacesApi.md +2 -2
- package/docs/UpdatePickfaceRequest.md +1 -1
- package/index.ts +1 -1
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -5,6 +5,35 @@ api.ts
|
|
|
5
5
|
base.ts
|
|
6
6
|
common.ts
|
|
7
7
|
configuration.ts
|
|
8
|
+
docs/ApiError.md
|
|
9
|
+
docs/ContainerType.md
|
|
10
|
+
docs/ContainerTypes.md
|
|
11
|
+
docs/CreatePickfaceRequest.md
|
|
12
|
+
docs/ExportPickfaces202Response.md
|
|
13
|
+
docs/IssueEmptyPickfaceRequest.md
|
|
14
|
+
docs/IssueWrongContentsPickfaceRequest.md
|
|
15
|
+
docs/ListPickfaceLogs200Response.md
|
|
16
|
+
docs/ListPickfaces200Response.md
|
|
17
|
+
docs/MoveStockRequest.md
|
|
18
|
+
docs/Pickface.md
|
|
19
|
+
docs/PickfaceContainerType.md
|
|
20
|
+
docs/PickfaceContentsInner.md
|
|
21
|
+
docs/PickfaceContentsInnerMetadata.md
|
|
22
|
+
docs/PickfaceContentsInnerQuantity.md
|
|
23
|
+
docs/PickfaceIssue.md
|
|
24
|
+
docs/PickfaceLog.md
|
|
25
|
+
docs/PickfaceZone.md
|
|
26
|
+
docs/PickfacesApi.md
|
|
27
|
+
docs/UpdatePickfaceRequest.md
|
|
28
|
+
docs/UpdatePickfaceRequestContentsInner.md
|
|
29
|
+
docs/UpdatePickfaceRequestContentsInnerQuantity.md
|
|
30
|
+
docs/UpdatePickfaceRequestContentsInnerQuantityAvailable.md
|
|
31
|
+
docs/UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf.md
|
|
32
|
+
docs/UpdatePickfaceRequestContentsInnerQuantityZWip.md
|
|
33
|
+
docs/UpdatePickfacesRequest.md
|
|
34
|
+
docs/UpdatePickfacesRequestPickfacesInner.md
|
|
35
|
+
docs/VariantAttribute.md
|
|
36
|
+
docs/VariantAttributeThumbnail.md
|
|
8
37
|
git_push.sh
|
|
9
38
|
index.ts
|
|
10
39
|
package.json
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.22.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.36.
|
|
1
|
+
## @teemill/pickfaces@0.36.4
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/pickfaces@0.36.
|
|
39
|
+
npm install @teemill/pickfaces@0.36.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,8 +23,17 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Represents an error returned by the API.
|
|
28
|
+
*/
|
|
26
29
|
export interface ApiError {
|
|
30
|
+
/**
|
|
31
|
+
* A machine-readable error code identifying the type of error.
|
|
32
|
+
*/
|
|
27
33
|
'code'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A human-readable message providing more details about the error.
|
|
36
|
+
*/
|
|
28
37
|
'message': string;
|
|
29
38
|
}
|
|
30
39
|
/**
|
|
@@ -140,13 +149,16 @@ export interface MoveStockRequest {
|
|
|
140
149
|
*/
|
|
141
150
|
'toPickfaceRef': string;
|
|
142
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
154
|
+
*/
|
|
143
155
|
export interface Pickface {
|
|
144
156
|
/**
|
|
145
|
-
*
|
|
157
|
+
* The unique identifier of the pickface.
|
|
146
158
|
*/
|
|
147
159
|
'id': string;
|
|
148
160
|
/**
|
|
149
|
-
* A reference to
|
|
161
|
+
* A URI reference to this pickface resource.
|
|
150
162
|
*/
|
|
151
163
|
'ref': string;
|
|
152
164
|
/**
|
|
@@ -269,13 +281,16 @@ export interface PickfaceIssue {
|
|
|
269
281
|
*/
|
|
270
282
|
'ref'?: string;
|
|
271
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* A log entry recording an action performed on a pickface (e.g. pick, restock, adjustment).
|
|
286
|
+
*/
|
|
272
287
|
export interface PickfaceLog {
|
|
273
288
|
/**
|
|
274
|
-
*
|
|
289
|
+
* The unique identifier of this log entry.
|
|
275
290
|
*/
|
|
276
291
|
'id': string;
|
|
277
292
|
/**
|
|
278
|
-
* A reference to the
|
|
293
|
+
* A reference to the user who performed the action.
|
|
279
294
|
*/
|
|
280
295
|
'userRef': string;
|
|
281
296
|
/**
|
|
@@ -336,7 +351,7 @@ export interface UpdatePickfaceRequest {
|
|
|
336
351
|
'distanceFromLabelPrinter'?: number | null;
|
|
337
352
|
'contents'?: Array<UpdatePickfaceRequestContentsInner> | null;
|
|
338
353
|
/**
|
|
339
|
-
*
|
|
354
|
+
* The purchase order id related to the stock that is being added or subtracted from the pickface
|
|
340
355
|
*/
|
|
341
356
|
'purchaseOrderId'?: string;
|
|
342
357
|
}
|
|
@@ -365,7 +380,7 @@ export interface UpdatePickfaceRequestContentsInnerQuantityAvailableOneOf {
|
|
|
365
380
|
export const UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
|
|
366
381
|
Add: 'add',
|
|
367
382
|
Subtract: 'subtract',
|
|
368
|
-
Set: 'set'
|
|
383
|
+
Set: 'set',
|
|
369
384
|
} as const;
|
|
370
385
|
|
|
371
386
|
export type UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum];
|
|
@@ -381,7 +396,7 @@ export interface UpdatePickfaceRequestContentsInnerQuantityZWip {
|
|
|
381
396
|
export const UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = {
|
|
382
397
|
Add: 'add',
|
|
383
398
|
Subtract: 'subtract',
|
|
384
|
-
Set: 'set'
|
|
399
|
+
Set: 'set',
|
|
385
400
|
} as const;
|
|
386
401
|
|
|
387
402
|
export type UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum];
|
|
@@ -437,7 +452,7 @@ export interface VariantAttributeThumbnail {
|
|
|
437
452
|
export const VariantAttributeThumbnailTypeEnum = {
|
|
438
453
|
Text: 'text',
|
|
439
454
|
Color: 'color',
|
|
440
|
-
Image: 'image'
|
|
455
|
+
Image: 'image',
|
|
441
456
|
} as const;
|
|
442
457
|
|
|
443
458
|
export type VariantAttributeThumbnailTypeEnum = typeof VariantAttributeThumbnailTypeEnum[keyof typeof VariantAttributeThumbnailTypeEnum];
|
|
@@ -462,7 +477,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
462
477
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
463
478
|
assertParamExists('checkedStock', 'pickfaceId', pickfaceId)
|
|
464
479
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/checked`
|
|
465
|
-
.replace(
|
|
480
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
466
481
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
467
482
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
468
483
|
let baseOptions;
|
|
@@ -559,7 +574,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
559
574
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
560
575
|
assertParamExists('deletePickface', 'pickfaceId', pickfaceId)
|
|
561
576
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
562
|
-
.replace(
|
|
577
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
563
578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
564
579
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
565
580
|
let baseOptions;
|
|
@@ -661,7 +676,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
661
676
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
662
677
|
assertParamExists('getPickface', 'pickfaceId', pickfaceId)
|
|
663
678
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
664
|
-
.replace(
|
|
679
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
665
680
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
666
681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
667
682
|
let baseOptions;
|
|
@@ -712,7 +727,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
712
727
|
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
713
728
|
assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
|
|
714
729
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
715
|
-
.replace(
|
|
730
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
716
731
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
717
732
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
718
733
|
let baseOptions;
|
|
@@ -765,7 +780,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
765
780
|
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
766
781
|
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
|
|
767
782
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
768
|
-
.replace(
|
|
783
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
769
784
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
770
785
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
771
786
|
let baseOptions;
|
|
@@ -861,7 +876,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
861
876
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
862
877
|
assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId)
|
|
863
878
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
|
|
864
|
-
.replace(
|
|
879
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
865
880
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
866
881
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
867
882
|
let baseOptions;
|
|
@@ -998,7 +1013,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
998
1013
|
// verify required parameter 'moveStockRequest' is not null or undefined
|
|
999
1014
|
assertParamExists('moveStock', 'moveStockRequest', moveStockRequest)
|
|
1000
1015
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
|
|
1001
|
-
.replace(
|
|
1016
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
1002
1017
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1003
1018
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1004
1019
|
let baseOptions;
|
|
@@ -1051,7 +1066,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1051
1066
|
// verify required parameter 'deviceRef' is not null or undefined
|
|
1052
1067
|
assertParamExists('printPickfaceLabel', 'deviceRef', deviceRef)
|
|
1053
1068
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
|
|
1054
|
-
.replace(
|
|
1069
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
1055
1070
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1056
1071
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1057
1072
|
let baseOptions;
|
|
@@ -1159,7 +1174,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1159
1174
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1160
1175
|
assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId)
|
|
1161
1176
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
|
|
1162
|
-
.replace(
|
|
1177
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
1163
1178
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1164
1179
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1165
1180
|
let baseOptions;
|
|
@@ -1286,7 +1301,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1286
1301
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
1287
1302
|
assertParamExists('updatePickface', 'pickfaceId', pickfaceId)
|
|
1288
1303
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
1289
|
-
.replace(
|
|
1304
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
1290
1305
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1291
1306
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1292
1307
|
let baseOptions;
|
|
@@ -2354,7 +2369,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
2354
2369
|
|
|
2355
2370
|
export const ExportPickfacesCostModeEnum = {
|
|
2356
2371
|
Split: 'split',
|
|
2357
|
-
Average: 'average'
|
|
2372
|
+
Average: 'average',
|
|
2358
2373
|
} as const;
|
|
2359
2374
|
export type ExportPickfacesCostModeEnum = typeof ExportPickfacesCostModeEnum[keyof typeof ExportPickfacesCostModeEnum];
|
|
2360
2375
|
export const ListPickfacesSortByEnum = {
|
|
@@ -2371,7 +2386,7 @@ export const ListPickfacesSortByEnum = {
|
|
|
2371
2386
|
Picked: '+picked',
|
|
2372
2387
|
Picked2: '-picked',
|
|
2373
2388
|
Code: '+code',
|
|
2374
|
-
Code2: '-code'
|
|
2389
|
+
Code2: '-code',
|
|
2375
2390
|
} as const;
|
|
2376
2391
|
export type ListPickfacesSortByEnum = typeof ListPickfacesSortByEnum[keyof typeof ListPickfacesSortByEnum];
|
|
2377
2392
|
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Pickfaces
|
|
4
4
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.36.
|
|
6
|
+
* The version of the OpenAPI document: 0.36.4
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -115,7 +115,7 @@ export class Configuration {
|
|
|
115
115
|
* @return True if the given MIME is JSON, false otherwise.
|
|
116
116
|
*/
|
|
117
117
|
public isJsonMime(mime: string): boolean {
|
|
118
|
-
const jsonMime: RegExp =
|
|
119
|
-
return mime !== null &&
|
|
118
|
+
const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
119
|
+
return mime !== null && jsonMime.test(mime);
|
|
120
120
|
}
|
|
121
121
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,17 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
* Represents an error returned by the API.
|
|
18
|
+
*/
|
|
16
19
|
export interface ApiError {
|
|
20
|
+
/**
|
|
21
|
+
* A machine-readable error code identifying the type of error.
|
|
22
|
+
*/
|
|
17
23
|
'code'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A human-readable message providing more details about the error.
|
|
26
|
+
*/
|
|
18
27
|
'message': string;
|
|
19
28
|
}
|
|
20
29
|
/**
|
|
@@ -130,13 +139,16 @@ export interface MoveStockRequest {
|
|
|
130
139
|
*/
|
|
131
140
|
'toPickfaceRef': string;
|
|
132
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
144
|
+
*/
|
|
133
145
|
export interface Pickface {
|
|
134
146
|
/**
|
|
135
|
-
*
|
|
147
|
+
* The unique identifier of the pickface.
|
|
136
148
|
*/
|
|
137
149
|
'id': string;
|
|
138
150
|
/**
|
|
139
|
-
* A reference to
|
|
151
|
+
* A URI reference to this pickface resource.
|
|
140
152
|
*/
|
|
141
153
|
'ref': string;
|
|
142
154
|
/**
|
|
@@ -259,13 +271,16 @@ export interface PickfaceIssue {
|
|
|
259
271
|
*/
|
|
260
272
|
'ref'?: string;
|
|
261
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* A log entry recording an action performed on a pickface (e.g. pick, restock, adjustment).
|
|
276
|
+
*/
|
|
262
277
|
export interface PickfaceLog {
|
|
263
278
|
/**
|
|
264
|
-
*
|
|
279
|
+
* The unique identifier of this log entry.
|
|
265
280
|
*/
|
|
266
281
|
'id': string;
|
|
267
282
|
/**
|
|
268
|
-
* A reference to the
|
|
283
|
+
* A reference to the user who performed the action.
|
|
269
284
|
*/
|
|
270
285
|
'userRef': string;
|
|
271
286
|
/**
|
|
@@ -326,7 +341,7 @@ export interface UpdatePickfaceRequest {
|
|
|
326
341
|
'distanceFromLabelPrinter'?: number | null;
|
|
327
342
|
'contents'?: Array<UpdatePickfaceRequestContentsInner> | null;
|
|
328
343
|
/**
|
|
329
|
-
*
|
|
344
|
+
* The purchase order id related to the stock that is being added or subtracted from the pickface
|
|
330
345
|
*/
|
|
331
346
|
'purchaseOrderId'?: string;
|
|
332
347
|
}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.36.
|
|
8
|
+
* The version of the OpenAPI document: 0.36.4
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,17 +32,17 @@ const base_1 = require("./base");
|
|
|
32
32
|
exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
|
|
33
33
|
Add: 'add',
|
|
34
34
|
Subtract: 'subtract',
|
|
35
|
-
Set: 'set'
|
|
35
|
+
Set: 'set',
|
|
36
36
|
};
|
|
37
37
|
exports.UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = {
|
|
38
38
|
Add: 'add',
|
|
39
39
|
Subtract: 'subtract',
|
|
40
|
-
Set: 'set'
|
|
40
|
+
Set: 'set',
|
|
41
41
|
};
|
|
42
42
|
exports.VariantAttributeThumbnailTypeEnum = {
|
|
43
43
|
Text: 'text',
|
|
44
44
|
Color: 'color',
|
|
45
|
-
Image: 'image'
|
|
45
|
+
Image: 'image',
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* PickfacesApi - axios parameter creator
|
|
@@ -63,7 +63,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
63
63
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
64
64
|
(0, common_1.assertParamExists)('checkedStock', 'pickfaceId', pickfaceId);
|
|
65
65
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/checked`
|
|
66
|
-
.replace(
|
|
66
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
67
67
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68
68
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
69
69
|
let baseOptions;
|
|
@@ -146,7 +146,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
147
147
|
(0, common_1.assertParamExists)('deletePickface', 'pickfaceId', pickfaceId);
|
|
148
148
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
149
|
-
.replace(
|
|
149
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
150
150
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
151
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
152
152
|
let baseOptions;
|
|
@@ -232,7 +232,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
232
232
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
233
233
|
(0, common_1.assertParamExists)('getPickface', 'pickfaceId', pickfaceId);
|
|
234
234
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
235
|
-
.replace(
|
|
235
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
236
236
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
237
237
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
238
238
|
let baseOptions;
|
|
@@ -276,7 +276,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
276
276
|
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
277
277
|
(0, common_1.assertParamExists)('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
|
|
278
278
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
279
|
-
.replace(
|
|
279
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
280
280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
281
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
282
282
|
let baseOptions;
|
|
@@ -322,7 +322,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
322
322
|
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
323
323
|
(0, common_1.assertParamExists)('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
|
|
324
324
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
325
|
-
.replace(
|
|
325
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
326
326
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
327
327
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
328
328
|
let baseOptions;
|
|
@@ -404,7 +404,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
404
404
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
405
405
|
(0, common_1.assertParamExists)('listPickfaceLogs', 'pickfaceId', pickfaceId);
|
|
406
406
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
|
|
407
|
-
.replace(
|
|
407
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
408
408
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
409
409
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
410
410
|
let baseOptions;
|
|
@@ -519,7 +519,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
519
519
|
// verify required parameter 'moveStockRequest' is not null or undefined
|
|
520
520
|
(0, common_1.assertParamExists)('moveStock', 'moveStockRequest', moveStockRequest);
|
|
521
521
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
|
|
522
|
-
.replace(
|
|
522
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
523
523
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
524
524
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
525
525
|
let baseOptions;
|
|
@@ -565,7 +565,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
565
565
|
// verify required parameter 'deviceRef' is not null or undefined
|
|
566
566
|
(0, common_1.assertParamExists)('printPickfaceLabel', 'deviceRef', deviceRef);
|
|
567
567
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
|
|
568
|
-
.replace(
|
|
568
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
569
569
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
570
570
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
571
571
|
let baseOptions;
|
|
@@ -656,7 +656,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
656
656
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
657
657
|
(0, common_1.assertParamExists)('resolvePickfaceIssue', 'pickfaceId', pickfaceId);
|
|
658
658
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
|
|
659
|
-
.replace(
|
|
659
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
660
660
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
661
661
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
662
662
|
let baseOptions;
|
|
@@ -763,7 +763,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
763
763
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
764
764
|
(0, common_1.assertParamExists)('updatePickface', 'pickfaceId', pickfaceId);
|
|
765
765
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
766
|
-
.replace(
|
|
766
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
767
767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
768
768
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
769
769
|
let baseOptions;
|
|
@@ -1510,7 +1510,7 @@ class PickfacesApi extends base_1.BaseAPI {
|
|
|
1510
1510
|
exports.PickfacesApi = PickfacesApi;
|
|
1511
1511
|
exports.ExportPickfacesCostModeEnum = {
|
|
1512
1512
|
Split: 'split',
|
|
1513
|
-
Average: 'average'
|
|
1513
|
+
Average: 'average',
|
|
1514
1514
|
};
|
|
1515
1515
|
exports.ListPickfacesSortByEnum = {
|
|
1516
1516
|
Available: '+available',
|
|
@@ -1526,5 +1526,5 @@ exports.ListPickfacesSortByEnum = {
|
|
|
1526
1526
|
Picked: '+picked',
|
|
1527
1527
|
Picked2: '-picked',
|
|
1528
1528
|
Code: '+code',
|
|
1529
|
-
Code2: '-code'
|
|
1529
|
+
Code2: '-code',
|
|
1530
1530
|
};
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.36.
|
|
8
|
+
* The version of the OpenAPI document: 0.36.4
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.36.
|
|
8
|
+
* The version of the OpenAPI document: 0.36.4
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,8 +37,8 @@ class Configuration {
|
|
|
37
37
|
* @return True if the given MIME is JSON, false otherwise.
|
|
38
38
|
*/
|
|
39
39
|
isJsonMime(mime) {
|
|
40
|
-
const jsonMime =
|
|
41
|
-
return mime !== null &&
|
|
40
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
41
|
+
return mime !== null && jsonMime.test(mime);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.Configuration = Configuration;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,17 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
* Represents an error returned by the API.
|
|
18
|
+
*/
|
|
16
19
|
export interface ApiError {
|
|
20
|
+
/**
|
|
21
|
+
* A machine-readable error code identifying the type of error.
|
|
22
|
+
*/
|
|
17
23
|
'code'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A human-readable message providing more details about the error.
|
|
26
|
+
*/
|
|
18
27
|
'message': string;
|
|
19
28
|
}
|
|
20
29
|
/**
|
|
@@ -130,13 +139,16 @@ export interface MoveStockRequest {
|
|
|
130
139
|
*/
|
|
131
140
|
'toPickfaceRef': string;
|
|
132
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
144
|
+
*/
|
|
133
145
|
export interface Pickface {
|
|
134
146
|
/**
|
|
135
|
-
*
|
|
147
|
+
* The unique identifier of the pickface.
|
|
136
148
|
*/
|
|
137
149
|
'id': string;
|
|
138
150
|
/**
|
|
139
|
-
* A reference to
|
|
151
|
+
* A URI reference to this pickface resource.
|
|
140
152
|
*/
|
|
141
153
|
'ref': string;
|
|
142
154
|
/**
|
|
@@ -259,13 +271,16 @@ export interface PickfaceIssue {
|
|
|
259
271
|
*/
|
|
260
272
|
'ref'?: string;
|
|
261
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* A log entry recording an action performed on a pickface (e.g. pick, restock, adjustment).
|
|
276
|
+
*/
|
|
262
277
|
export interface PickfaceLog {
|
|
263
278
|
/**
|
|
264
|
-
*
|
|
279
|
+
* The unique identifier of this log entry.
|
|
265
280
|
*/
|
|
266
281
|
'id': string;
|
|
267
282
|
/**
|
|
268
|
-
* A reference to the
|
|
283
|
+
* A reference to the user who performed the action.
|
|
269
284
|
*/
|
|
270
285
|
'userRef': string;
|
|
271
286
|
/**
|
|
@@ -326,7 +341,7 @@ export interface UpdatePickfaceRequest {
|
|
|
326
341
|
'distanceFromLabelPrinter'?: number | null;
|
|
327
342
|
'contents'?: Array<UpdatePickfaceRequestContentsInner> | null;
|
|
328
343
|
/**
|
|
329
|
-
*
|
|
344
|
+
* The purchase order id related to the stock that is being added or subtracted from the pickface
|
|
330
345
|
*/
|
|
331
346
|
'purchaseOrderId'?: string;
|
|
332
347
|
}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,17 +29,17 @@ import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
|
29
29
|
export const UpdatePickfaceRequestContentsInnerQuantityAvailableOneOfOperationEnum = {
|
|
30
30
|
Add: 'add',
|
|
31
31
|
Subtract: 'subtract',
|
|
32
|
-
Set: 'set'
|
|
32
|
+
Set: 'set',
|
|
33
33
|
};
|
|
34
34
|
export const UpdatePickfaceRequestContentsInnerQuantityZWipOperationEnum = {
|
|
35
35
|
Add: 'add',
|
|
36
36
|
Subtract: 'subtract',
|
|
37
|
-
Set: 'set'
|
|
37
|
+
Set: 'set',
|
|
38
38
|
};
|
|
39
39
|
export const VariantAttributeThumbnailTypeEnum = {
|
|
40
40
|
Text: 'text',
|
|
41
41
|
Color: 'color',
|
|
42
|
-
Image: 'image'
|
|
42
|
+
Image: 'image',
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* PickfacesApi - axios parameter creator
|
|
@@ -60,7 +60,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
60
60
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
61
61
|
assertParamExists('checkedStock', 'pickfaceId', pickfaceId);
|
|
62
62
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/checked`
|
|
63
|
-
.replace(
|
|
63
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
64
64
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
65
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66
66
|
let baseOptions;
|
|
@@ -143,7 +143,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
144
144
|
assertParamExists('deletePickface', 'pickfaceId', pickfaceId);
|
|
145
145
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
146
|
-
.replace(
|
|
146
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
147
147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
148
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
149
149
|
let baseOptions;
|
|
@@ -229,7 +229,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
229
229
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
230
230
|
assertParamExists('getPickface', 'pickfaceId', pickfaceId);
|
|
231
231
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
232
|
-
.replace(
|
|
232
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
233
233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
234
234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
235
235
|
let baseOptions;
|
|
@@ -273,7 +273,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
273
273
|
// verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
|
|
274
274
|
assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
|
|
275
275
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
|
|
276
|
-
.replace(
|
|
276
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
277
277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
278
278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
279
279
|
let baseOptions;
|
|
@@ -319,7 +319,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
319
319
|
// verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
|
|
320
320
|
assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
|
|
321
321
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
|
|
322
|
-
.replace(
|
|
322
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
323
323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
324
324
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
325
325
|
let baseOptions;
|
|
@@ -401,7 +401,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
401
401
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
402
402
|
assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId);
|
|
403
403
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
|
|
404
|
-
.replace(
|
|
404
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
405
405
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
406
406
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
407
407
|
let baseOptions;
|
|
@@ -516,7 +516,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
516
516
|
// verify required parameter 'moveStockRequest' is not null or undefined
|
|
517
517
|
assertParamExists('moveStock', 'moveStockRequest', moveStockRequest);
|
|
518
518
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/stock/move`
|
|
519
|
-
.replace(
|
|
519
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
520
520
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
521
521
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
522
522
|
let baseOptions;
|
|
@@ -562,7 +562,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
562
562
|
// verify required parameter 'deviceRef' is not null or undefined
|
|
563
563
|
assertParamExists('printPickfaceLabel', 'deviceRef', deviceRef);
|
|
564
564
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/print`
|
|
565
|
-
.replace(
|
|
565
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
566
566
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
567
567
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
568
568
|
let baseOptions;
|
|
@@ -653,7 +653,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
653
653
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
654
654
|
assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId);
|
|
655
655
|
const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
|
|
656
|
-
.replace(
|
|
656
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
657
657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
658
658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
659
659
|
let baseOptions;
|
|
@@ -760,7 +760,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
|
|
|
760
760
|
// verify required parameter 'pickfaceId' is not null or undefined
|
|
761
761
|
assertParamExists('updatePickface', 'pickfaceId', pickfaceId);
|
|
762
762
|
const localVarPath = `/v1/pickfaces/{pickfaceId}`
|
|
763
|
-
.replace(
|
|
763
|
+
.replace('{pickfaceId}', encodeURIComponent(String(pickfaceId)));
|
|
764
764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
765
765
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
766
766
|
let baseOptions;
|
|
@@ -1503,7 +1503,7 @@ export class PickfacesApi extends BaseAPI {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
export const ExportPickfacesCostModeEnum = {
|
|
1505
1505
|
Split: 'split',
|
|
1506
|
-
Average: 'average'
|
|
1506
|
+
Average: 'average',
|
|
1507
1507
|
};
|
|
1508
1508
|
export const ListPickfacesSortByEnum = {
|
|
1509
1509
|
Available: '+available',
|
|
@@ -1519,5 +1519,5 @@ export const ListPickfacesSortByEnum = {
|
|
|
1519
1519
|
Picked: '+picked',
|
|
1520
1520
|
Picked2: '-picked',
|
|
1521
1521
|
Code: '+code',
|
|
1522
|
-
Code2: '-code'
|
|
1522
|
+
Code2: '-code',
|
|
1523
1523
|
};
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Pickfaces
|
|
4
4
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.36.
|
|
6
|
+
* The version of the OpenAPI document: 0.36.4
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ export class Configuration {
|
|
|
34
34
|
* @return True if the given MIME is JSON, false otherwise.
|
|
35
35
|
*/
|
|
36
36
|
isJsonMime(mime) {
|
|
37
|
-
const jsonMime =
|
|
38
|
-
return mime !== null &&
|
|
37
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
38
|
+
return mime !== null && jsonMime.test(mime);
|
|
39
39
|
}
|
|
40
40
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pickfaces
|
|
3
3
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.36.
|
|
5
|
+
* The version of the OpenAPI document: 0.36.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pickfaces
|
|
6
6
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.36.
|
|
8
|
+
* The version of the OpenAPI document: 0.36.4
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/ApiError.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# ApiError
|
|
2
2
|
|
|
3
|
+
Represents an error returned by the API.
|
|
3
4
|
|
|
4
5
|
## Properties
|
|
5
6
|
|
|
6
7
|
Name | Type | Description | Notes
|
|
7
8
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**code** | **string** |
|
|
9
|
-
**message** | **string** |
|
|
9
|
+
**code** | **string** | A machine-readable error code identifying the type of error. | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | A human-readable message providing more details about the error. | [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
package/docs/Pickface.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# Pickface
|
|
2
2
|
|
|
3
|
+
A warehouse pickface (storage location) containing stock items, with information about its contents, fullness, and container type.
|
|
3
4
|
|
|
4
5
|
## Properties
|
|
5
6
|
|
|
6
7
|
Name | Type | Description | Notes
|
|
7
8
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** |
|
|
9
|
-
**ref** | **string** | A reference to
|
|
9
|
+
**id** | **string** | The unique identifier of the pickface. | [default to undefined]
|
|
10
|
+
**ref** | **string** | A URI reference to this pickface resource. | [default to undefined]
|
|
10
11
|
**barcode** | **string** | The barcode of the pickface | [default to undefined]
|
|
11
12
|
**zone** | [**PickfaceZone**](PickfaceZone.md) | | [default to undefined]
|
|
12
13
|
**code** | **string** | The human readable location of the pickface, if a name is provided this will be the name. | [default to undefined]
|
package/docs/PickfaceLog.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# PickfaceLog
|
|
2
2
|
|
|
3
|
+
A log entry recording an action performed on a pickface (e.g. pick, restock, adjustment).
|
|
3
4
|
|
|
4
5
|
## Properties
|
|
5
6
|
|
|
6
7
|
Name | Type | Description | Notes
|
|
7
8
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** |
|
|
9
|
-
**userRef** | **string** | A reference to the
|
|
9
|
+
**id** | **string** | The unique identifier of this log entry. | [default to undefined]
|
|
10
|
+
**userRef** | **string** | A reference to the user who performed the action. | [default to undefined]
|
|
10
11
|
**action** | **string** | The action that was taken | [default to undefined]
|
|
11
12
|
**reason** | **string** | The reason for the action | [default to undefined]
|
|
12
13
|
**createdAt** | **string** | ISO 8601 Created at timestamp | [default to undefined]
|
package/docs/PickfacesApi.md
CHANGED
|
@@ -253,8 +253,8 @@ const { status, data } = await apiInstance.exportPickfaces(
|
|
|
253
253
|
### HTTP response details
|
|
254
254
|
| Status code | Description | Response headers |
|
|
255
255
|
|-------------|-------------|------------------|
|
|
256
|
-
|**200** | Returns the CSV export | - |
|
|
257
|
-
|**202** |
|
|
256
|
+
|**200** | The dataset is small enough to return immediately. Returns the CSV export directly. | - |
|
|
257
|
+
|**202** | The dataset is too large to return immediately. The export has been queued and a notification will be sent when it is ready for download. | - |
|
|
258
258
|
|**400** | Failed validation | - |
|
|
259
259
|
|**401** | Not authorised to access this resource | - |
|
|
260
260
|
|**403** | Refuse to authorize | - |
|
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**name** | **string** | A user defined name for the pickface, if this is not provided the location will be used as the name. | [optional] [default to undefined]
|
|
15
15
|
**distanceFromLabelPrinter** | **number** | The distance from the nearest label printer to the pickface in centimeters. This is used for put away recommendations. | [optional] [default to undefined]
|
|
16
16
|
**contents** | [**Array<UpdatePickfaceRequestContentsInner>**](UpdatePickfaceRequestContentsInner.md) | | [optional] [default to undefined]
|
|
17
|
-
**purchaseOrderId** | **string** |
|
|
17
|
+
**purchaseOrderId** | **string** | The purchase order id related to the stock that is being added or subtracted from the pickface | [optional] [default to undefined]
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pickfaces
|
|
5
5
|
* Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.36.
|
|
7
|
+
* The version of the OpenAPI document: 0.36.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/pickfaces",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.4",
|
|
4
4
|
"description": "OpenAPI client for @teemill/pickfaces",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"axios": "1.
|
|
27
|
+
"axios": "^1.16.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|