@teemill/pickfaces 0.24.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +75 -2
  2. package/api.ts +87 -109
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +84 -109
  7. package/dist/api.js +7 -3
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +84 -109
  15. package/dist/esm/api.js +6 -2
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/ApiError.md +22 -0
  27. package/docs/ContainerType.md +31 -0
  28. package/docs/ContainerTypes.md +20 -0
  29. package/docs/CreatePickfaceRequest.md +30 -0
  30. package/docs/ExportPickfaces202Response.md +20 -0
  31. package/docs/IssueEmptyPickfaceRequest.md +20 -0
  32. package/docs/IssueWrongContentsPickfaceRequest.md +22 -0
  33. package/docs/ListPickfaceLogs200Response.md +22 -0
  34. package/docs/ListPickfaces200Response.md +22 -0
  35. package/docs/MoveStockRequest.md +24 -0
  36. package/docs/Pickface.md +44 -0
  37. package/docs/PickfaceContainerType.md +22 -0
  38. package/docs/PickfaceContentsInner.md +26 -0
  39. package/docs/PickfaceContentsInnerMetadata.md +29 -0
  40. package/docs/PickfaceContentsInnerQuantity.md +24 -0
  41. package/docs/PickfaceIssue.md +23 -0
  42. package/docs/PickfaceLog.md +28 -0
  43. package/docs/PickfaceZone.md +24 -0
  44. package/docs/PickfacesApi.md +957 -0
  45. package/docs/UpdatePickfaceRequest.md +35 -0
  46. package/docs/UpdatePickfaceRequestContentsInner.md +22 -0
  47. package/docs/UpdatePickfaceRequestContentsInnerQuantity.md +22 -0
  48. package/docs/UpdatePickfaceRequestContentsInnerQuantityAvailable.md +23 -0
  49. package/docs/UpdatePickfaceRequestContentsInnerQuantityReserved.md +23 -0
  50. package/docs/VariantAttribute.md +24 -0
  51. package/docs/VariantAttributeThumbnail.md +23 -0
  52. package/index.ts +1 -1
  53. package/package.json +1 -1
@@ -0,0 +1,957 @@
1
+ # PickfacesApi
2
+
3
+ All URIs are relative to *https://api.localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createPickface**](#createpickface) | **POST** /v1/pickfaces | Create Pickface|
8
+ |[**deletePickface**](#deletepickface) | **DELETE** /v1/pickfaces/{pickfaceId} | Delete Pickface|
9
+ |[**exportPickfaces**](#exportpickfaces) | **GET** /v1/pickfaces/export | Export pickfaces|
10
+ |[**getPickface**](#getpickface) | **GET** /v1/pickfaces/{pickfaceId} | Get pickface|
11
+ |[**issueEmptyPickface**](#issueemptypickface) | **POST** /v1/pickfaces/{pickfaceId}/issue/empty | Issue empty pickface|
12
+ |[**issueWrongContentsPickface**](#issuewrongcontentspickface) | **POST** /v1/pickfaces/{pickfaceId}/issue/wrong-contents | Issue wrong contents pickface|
13
+ |[**listPickfaceContainerTypes**](#listpickfacecontainertypes) | **GET** /v1/pickfaces/container-types | List pickface container types|
14
+ |[**listPickfaceLogs**](#listpickfacelogs) | **GET** /v1/pickfaces/{pickfaceId}/logs | Get pickface logs|
15
+ |[**listPickfaces**](#listpickfaces) | **GET** /v1/pickfaces | List pickfaces|
16
+ |[**moveStock**](#movestock) | **POST** /v1/pickfaces/{pickfaceId}/stock/move | Move stock|
17
+ |[**printPickfaceLabel**](#printpickfacelabel) | **GET** /v1/pickfaces/{pickfaceId}/print | Print pickface label|
18
+ |[**printPickfaceLabels**](#printpickfacelabels) | **GET** /v1/pickfaces/print | Print pickface Labels|
19
+ |[**resolvePickfaceIssue**](#resolvepickfaceissue) | **POST** /v1/pickfaces/{pickfaceId}/issue/resolve | Resolve pickface issue|
20
+ |[**suggestPickfaces**](#suggestpickfaces) | **GET** /v1/pickfaces/suggest | Suggest pickfaces|
21
+ |[**updatePickface**](#updatepickface) | **PATCH** /v1/pickfaces/{pickfaceId} | Update Pickface|
22
+
23
+ # **createPickface**
24
+ > Pickface createPickface(createPickfaceRequest)
25
+
26
+ Create a Pickface
27
+
28
+ ### Example
29
+
30
+ ```typescript
31
+ import {
32
+ PickfacesApi,
33
+ Configuration,
34
+ CreatePickfaceRequest
35
+ } from '@teemill/pickfaces';
36
+
37
+ const configuration = new Configuration();
38
+ const apiInstance = new PickfacesApi(configuration);
39
+
40
+ let project: string; //The project ID (default to undefined)
41
+ let createPickfaceRequest: CreatePickfaceRequest; //Create pickface schema
42
+
43
+ const { status, data } = await apiInstance.createPickface(
44
+ project,
45
+ createPickfaceRequest
46
+ );
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+ |Name | Type | Description | Notes|
52
+ |------------- | ------------- | ------------- | -------------|
53
+ | **createPickfaceRequest** | **CreatePickfaceRequest**| Create pickface schema | |
54
+ | **project** | [**string**] | The project ID | defaults to undefined|
55
+
56
+
57
+ ### Return type
58
+
59
+ **Pickface**
60
+
61
+ ### Authorization
62
+
63
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: application/json
68
+ - **Accept**: application/json
69
+
70
+
71
+ ### HTTP response details
72
+ | Status code | Description | Response headers |
73
+ |-------------|-------------|------------------|
74
+ |**201** | Pickface schema | - |
75
+ |**400** | Failed validation | - |
76
+ |**401** | Not authorised to access this resource | - |
77
+ |**403** | Refuse to authorize | - |
78
+ |**404** | Resource not found | - |
79
+ |**500** | Unknown server error | - |
80
+
81
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
82
+
83
+ # **deletePickface**
84
+ > deletePickface()
85
+
86
+ Delete a Pickface
87
+
88
+ ### Example
89
+
90
+ ```typescript
91
+ import {
92
+ PickfacesApi,
93
+ Configuration
94
+ } from '@teemill/pickfaces';
95
+
96
+ const configuration = new Configuration();
97
+ const apiInstance = new PickfacesApi(configuration);
98
+
99
+ let project: string; //The project ID (default to undefined)
100
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
101
+
102
+ const { status, data } = await apiInstance.deletePickface(
103
+ project,
104
+ pickfaceId
105
+ );
106
+ ```
107
+
108
+ ### Parameters
109
+
110
+ |Name | Type | Description | Notes|
111
+ |------------- | ------------- | ------------- | -------------|
112
+ | **project** | [**string**] | The project ID | defaults to undefined|
113
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
114
+
115
+
116
+ ### Return type
117
+
118
+ void (empty response body)
119
+
120
+ ### Authorization
121
+
122
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
123
+
124
+ ### HTTP request headers
125
+
126
+ - **Content-Type**: Not defined
127
+ - **Accept**: application/json
128
+
129
+
130
+ ### HTTP response details
131
+ | Status code | Description | Response headers |
132
+ |-------------|-------------|------------------|
133
+ |**204** | Pickface deleted | - |
134
+ |**401** | Not authorised to access this resource | - |
135
+ |**403** | Refuse to authorize | - |
136
+ |**404** | Resource not found | - |
137
+ |**400** | Failed validation | - |
138
+ |**500** | Unknown server error | - |
139
+
140
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
141
+
142
+ # **exportPickfaces**
143
+ > File exportPickfaces()
144
+
145
+ Export pickfaces as a CSV file
146
+
147
+ ### Example
148
+
149
+ ```typescript
150
+ import {
151
+ PickfacesApi,
152
+ Configuration
153
+ } from '@teemill/pickfaces';
154
+
155
+ const configuration = new Configuration();
156
+ const apiInstance = new PickfacesApi(configuration);
157
+
158
+ let project: string; //The project ID (default to undefined)
159
+ let search: string; //Search term to filter based on pickface code (optional) (default to undefined)
160
+
161
+ const { status, data } = await apiInstance.exportPickfaces(
162
+ project,
163
+ search
164
+ );
165
+ ```
166
+
167
+ ### Parameters
168
+
169
+ |Name | Type | Description | Notes|
170
+ |------------- | ------------- | ------------- | -------------|
171
+ | **project** | [**string**] | The project ID | defaults to undefined|
172
+ | **search** | [**string**] | Search term to filter based on pickface code | (optional) defaults to undefined|
173
+
174
+
175
+ ### Return type
176
+
177
+ **File**
178
+
179
+ ### Authorization
180
+
181
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
182
+
183
+ ### HTTP request headers
184
+
185
+ - **Content-Type**: Not defined
186
+ - **Accept**: text/csv, application/json
187
+
188
+
189
+ ### HTTP response details
190
+ | Status code | Description | Response headers |
191
+ |-------------|-------------|------------------|
192
+ |**200** | Returns the CSV export | - |
193
+ |**202** | Export started. When complete, the export will be available for download from a notification within PodOS Dashboard. | - |
194
+ |**400** | Failed validation | - |
195
+ |**401** | Not authorised to access this resource | - |
196
+ |**403** | Refuse to authorize | - |
197
+ |**404** | Resource not found | - |
198
+ |**500** | Unknown server error | - |
199
+
200
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
201
+
202
+ # **getPickface**
203
+ > Pickface getPickface()
204
+
205
+ Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
206
+
207
+ ### Example
208
+
209
+ ```typescript
210
+ import {
211
+ PickfacesApi,
212
+ Configuration
213
+ } from '@teemill/pickfaces';
214
+
215
+ const configuration = new Configuration();
216
+ const apiInstance = new PickfacesApi(configuration);
217
+
218
+ let project: string; //The project ID (default to undefined)
219
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
220
+
221
+ const { status, data } = await apiInstance.getPickface(
222
+ project,
223
+ pickfaceId
224
+ );
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+ |Name | Type | Description | Notes|
230
+ |------------- | ------------- | ------------- | -------------|
231
+ | **project** | [**string**] | The project ID | defaults to undefined|
232
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
233
+
234
+
235
+ ### Return type
236
+
237
+ **Pickface**
238
+
239
+ ### Authorization
240
+
241
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
242
+
243
+ ### HTTP request headers
244
+
245
+ - **Content-Type**: Not defined
246
+ - **Accept**: application/json
247
+
248
+
249
+ ### HTTP response details
250
+ | Status code | Description | Response headers |
251
+ |-------------|-------------|------------------|
252
+ |**200** | Pickface schema | - |
253
+ |**400** | Failed validation | - |
254
+ |**401** | Not authorised to access this resource | - |
255
+ |**403** | Refuse to authorize | - |
256
+ |**404** | Resource not found | - |
257
+ |**500** | Unknown server error | - |
258
+
259
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
260
+
261
+ # **issueEmptyPickface**
262
+ > Pickface issueEmptyPickface(issueEmptyPickfaceRequest)
263
+
264
+ Issue an empty pickface
265
+
266
+ ### Example
267
+
268
+ ```typescript
269
+ import {
270
+ PickfacesApi,
271
+ Configuration,
272
+ IssueEmptyPickfaceRequest
273
+ } from '@teemill/pickfaces';
274
+
275
+ const configuration = new Configuration();
276
+ const apiInstance = new PickfacesApi(configuration);
277
+
278
+ let project: string; //The project ID (default to undefined)
279
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
280
+ let issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest; //pickface issue schema
281
+
282
+ const { status, data } = await apiInstance.issueEmptyPickface(
283
+ project,
284
+ pickfaceId,
285
+ issueEmptyPickfaceRequest
286
+ );
287
+ ```
288
+
289
+ ### Parameters
290
+
291
+ |Name | Type | Description | Notes|
292
+ |------------- | ------------- | ------------- | -------------|
293
+ | **issueEmptyPickfaceRequest** | **IssueEmptyPickfaceRequest**| pickface issue schema | |
294
+ | **project** | [**string**] | The project ID | defaults to undefined|
295
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
296
+
297
+
298
+ ### Return type
299
+
300
+ **Pickface**
301
+
302
+ ### Authorization
303
+
304
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
305
+
306
+ ### HTTP request headers
307
+
308
+ - **Content-Type**: application/json
309
+ - **Accept**: application/json
310
+
311
+
312
+ ### HTTP response details
313
+ | Status code | Description | Response headers |
314
+ |-------------|-------------|------------------|
315
+ |**200** | Pickface schema | - |
316
+ |**401** | Not authorised to access this resource | - |
317
+ |**403** | Refuse to authorize | - |
318
+ |**404** | Resource not found | - |
319
+ |**500** | Unknown server error | - |
320
+
321
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
322
+
323
+ # **issueWrongContentsPickface**
324
+ > Pickface issueWrongContentsPickface(issueWrongContentsPickfaceRequest)
325
+
326
+ Issue a pickface with wrong contents
327
+
328
+ ### Example
329
+
330
+ ```typescript
331
+ import {
332
+ PickfacesApi,
333
+ Configuration,
334
+ IssueWrongContentsPickfaceRequest
335
+ } from '@teemill/pickfaces';
336
+
337
+ const configuration = new Configuration();
338
+ const apiInstance = new PickfacesApi(configuration);
339
+
340
+ let project: string; //The project ID (default to undefined)
341
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
342
+ let issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest; //pickface issue schema
343
+
344
+ const { status, data } = await apiInstance.issueWrongContentsPickface(
345
+ project,
346
+ pickfaceId,
347
+ issueWrongContentsPickfaceRequest
348
+ );
349
+ ```
350
+
351
+ ### Parameters
352
+
353
+ |Name | Type | Description | Notes|
354
+ |------------- | ------------- | ------------- | -------------|
355
+ | **issueWrongContentsPickfaceRequest** | **IssueWrongContentsPickfaceRequest**| pickface issue schema | |
356
+ | **project** | [**string**] | The project ID | defaults to undefined|
357
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
358
+
359
+
360
+ ### Return type
361
+
362
+ **Pickface**
363
+
364
+ ### Authorization
365
+
366
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
367
+
368
+ ### HTTP request headers
369
+
370
+ - **Content-Type**: application/json
371
+ - **Accept**: application/json
372
+
373
+
374
+ ### HTTP response details
375
+ | Status code | Description | Response headers |
376
+ |-------------|-------------|------------------|
377
+ |**200** | Pickface schema | - |
378
+ |**401** | Not authorised to access this resource | - |
379
+ |**403** | Refuse to authorize | - |
380
+ |**404** | Resource not found | - |
381
+ |**500** | Unknown server error | - |
382
+
383
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
384
+
385
+ # **listPickfaceContainerTypes**
386
+ > ContainerTypes listPickfaceContainerTypes()
387
+
388
+ Lists pickface container types
389
+
390
+ ### Example
391
+
392
+ ```typescript
393
+ import {
394
+ PickfacesApi,
395
+ Configuration
396
+ } from '@teemill/pickfaces';
397
+
398
+ const configuration = new Configuration();
399
+ const apiInstance = new PickfacesApi(configuration);
400
+
401
+ let project: string; //The project ID (default to undefined)
402
+
403
+ const { status, data } = await apiInstance.listPickfaceContainerTypes(
404
+ project
405
+ );
406
+ ```
407
+
408
+ ### Parameters
409
+
410
+ |Name | Type | Description | Notes|
411
+ |------------- | ------------- | ------------- | -------------|
412
+ | **project** | [**string**] | The project ID | defaults to undefined|
413
+
414
+
415
+ ### Return type
416
+
417
+ **ContainerTypes**
418
+
419
+ ### Authorization
420
+
421
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
422
+
423
+ ### HTTP request headers
424
+
425
+ - **Content-Type**: Not defined
426
+ - **Accept**: application/json
427
+
428
+
429
+ ### HTTP response details
430
+ | Status code | Description | Response headers |
431
+ |-------------|-------------|------------------|
432
+ |**200** | List of pickface container types | - |
433
+ |**401** | Not authorised to access this resource | - |
434
+ |**403** | Refuse to authorize | - |
435
+ |**404** | Resource not found | - |
436
+ |**500** | Unknown server error | - |
437
+
438
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
439
+
440
+ # **listPickfaceLogs**
441
+ > ListPickfaceLogs200Response listPickfaceLogs()
442
+
443
+ Get a list of pickface logs
444
+
445
+ ### Example
446
+
447
+ ```typescript
448
+ import {
449
+ PickfacesApi,
450
+ Configuration
451
+ } from '@teemill/pickfaces';
452
+
453
+ const configuration = new Configuration();
454
+ const apiInstance = new PickfacesApi(configuration);
455
+
456
+ let project: string; //The project ID (default to undefined)
457
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
458
+ let pageToken: number; //Page reference token (optional) (default to 1)
459
+ let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
460
+
461
+ const { status, data } = await apiInstance.listPickfaceLogs(
462
+ project,
463
+ pickfaceId,
464
+ pageToken,
465
+ pageSize
466
+ );
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+ |Name | Type | Description | Notes|
472
+ |------------- | ------------- | ------------- | -------------|
473
+ | **project** | [**string**] | The project ID | defaults to undefined|
474
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
475
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
476
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
477
+
478
+
479
+ ### Return type
480
+
481
+ **ListPickfaceLogs200Response**
482
+
483
+ ### Authorization
484
+
485
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
486
+
487
+ ### HTTP request headers
488
+
489
+ - **Content-Type**: Not defined
490
+ - **Accept**: application/json
491
+
492
+
493
+ ### HTTP response details
494
+ | Status code | Description | Response headers |
495
+ |-------------|-------------|------------------|
496
+ |**200** | Object containing pickface logs and pagination | - |
497
+ |**400** | Failed validation | - |
498
+ |**401** | Not authorised to access this resource | - |
499
+ |**403** | Refuse to authorize | - |
500
+ |**404** | Resource not found | - |
501
+ |**500** | Unknown server error | - |
502
+
503
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
504
+
505
+ # **listPickfaces**
506
+ > ListPickfaces200Response listPickfaces()
507
+
508
+ Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
509
+
510
+ ### Example
511
+
512
+ ```typescript
513
+ import {
514
+ PickfacesApi,
515
+ Configuration
516
+ } from '@teemill/pickfaces';
517
+
518
+ const configuration = new Configuration();
519
+ const apiInstance = new PickfacesApi(configuration);
520
+
521
+ let project: string; //The project ID (default to undefined)
522
+ let search: string; //Search term to filter based on pickface code (optional) (default to undefined)
523
+ let pageToken: number; //Page reference token (optional) (default to 1)
524
+ let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
525
+ let sortBy: Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>; //An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. (optional) (default to undefined)
526
+ let updatedStart: string; //Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string (optional) (default to undefined)
527
+ let updatedEnd: string; //End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string (optional) (default to undefined)
528
+
529
+ const { status, data } = await apiInstance.listPickfaces(
530
+ project,
531
+ search,
532
+ pageToken,
533
+ pageSize,
534
+ sortBy,
535
+ updatedStart,
536
+ updatedEnd
537
+ );
538
+ ```
539
+
540
+ ### Parameters
541
+
542
+ |Name | Type | Description | Notes|
543
+ |------------- | ------------- | ------------- | -------------|
544
+ | **project** | [**string**] | The project ID | defaults to undefined|
545
+ | **search** | [**string**] | Search term to filter based on pickface code | (optional) defaults to undefined|
546
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
547
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
548
+ | **sortBy** | **Array<&#39;+available&#39; &#124; &#39;-available&#39; &#124; &#39;+wip&#39; &#124; &#39;-wip&#39; &#124; &#39;+total&#39; &#124; &#39;-total&#39; &#124; &#39;+fullness&#39; &#124; &#39;-fullness&#39; &#124; &#39;+restocked&#39; &#124; &#39;-restocked&#39; &#124; &#39;+picked&#39; &#124; &#39;-picked&#39;>** | An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending. | (optional) defaults to undefined|
549
+ | **updatedStart** | [**string**] | Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string | (optional) defaults to undefined|
550
+ | **updatedEnd** | [**string**] | End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string | (optional) defaults to undefined|
551
+
552
+
553
+ ### Return type
554
+
555
+ **ListPickfaces200Response**
556
+
557
+ ### Authorization
558
+
559
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
560
+
561
+ ### HTTP request headers
562
+
563
+ - **Content-Type**: Not defined
564
+ - **Accept**: application/json
565
+
566
+
567
+ ### HTTP response details
568
+ | Status code | Description | Response headers |
569
+ |-------------|-------------|------------------|
570
+ |**200** | Array of Pickface schemas | - |
571
+ |**400** | Failed validation | - |
572
+ |**401** | Not authorised to access this resource | - |
573
+ |**403** | Refuse to authorize | - |
574
+ |**500** | Unknown server error | - |
575
+
576
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
577
+
578
+ # **moveStock**
579
+ > Pickface moveStock(moveStockRequest)
580
+
581
+ Move stock from one pickface to another in a single transaction
582
+
583
+ ### Example
584
+
585
+ ```typescript
586
+ import {
587
+ PickfacesApi,
588
+ Configuration,
589
+ MoveStockRequest
590
+ } from '@teemill/pickfaces';
591
+
592
+ const configuration = new Configuration();
593
+ const apiInstance = new PickfacesApi(configuration);
594
+
595
+ let project: string; //The project ID (default to undefined)
596
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
597
+ let moveStockRequest: MoveStockRequest; //Move stock from one pickface to another
598
+
599
+ const { status, data } = await apiInstance.moveStock(
600
+ project,
601
+ pickfaceId,
602
+ moveStockRequest
603
+ );
604
+ ```
605
+
606
+ ### Parameters
607
+
608
+ |Name | Type | Description | Notes|
609
+ |------------- | ------------- | ------------- | -------------|
610
+ | **moveStockRequest** | **MoveStockRequest**| Move stock from one pickface to another | |
611
+ | **project** | [**string**] | The project ID | defaults to undefined|
612
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
613
+
614
+
615
+ ### Return type
616
+
617
+ **Pickface**
618
+
619
+ ### Authorization
620
+
621
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
622
+
623
+ ### HTTP request headers
624
+
625
+ - **Content-Type**: application/json
626
+ - **Accept**: application/json
627
+
628
+
629
+ ### HTTP response details
630
+ | Status code | Description | Response headers |
631
+ |-------------|-------------|------------------|
632
+ |**200** | Pickface schema | - |
633
+ |**401** | Not authorised to access this resource | - |
634
+ |**403** | Refuse to authorize | - |
635
+ |**404** | Resource not found | - |
636
+ |**400** | Failed validation | - |
637
+ |**500** | Unknown server error | - |
638
+
639
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
640
+
641
+ # **printPickfaceLabel**
642
+ > printPickfaceLabel()
643
+
644
+ Print a pickface label
645
+
646
+ ### Example
647
+
648
+ ```typescript
649
+ import {
650
+ PickfacesApi,
651
+ Configuration
652
+ } from '@teemill/pickfaces';
653
+
654
+ const configuration = new Configuration();
655
+ const apiInstance = new PickfacesApi(configuration);
656
+
657
+ let project: string; //The project ID (default to undefined)
658
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
659
+ let deviceRef: string; //Unique identifier of a warehouse device (default to undefined)
660
+
661
+ const { status, data } = await apiInstance.printPickfaceLabel(
662
+ project,
663
+ pickfaceId,
664
+ deviceRef
665
+ );
666
+ ```
667
+
668
+ ### Parameters
669
+
670
+ |Name | Type | Description | Notes|
671
+ |------------- | ------------- | ------------- | -------------|
672
+ | **project** | [**string**] | The project ID | defaults to undefined|
673
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
674
+ | **deviceRef** | [**string**] | Unique identifier of a warehouse device | defaults to undefined|
675
+
676
+
677
+ ### Return type
678
+
679
+ void (empty response body)
680
+
681
+ ### Authorization
682
+
683
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
684
+
685
+ ### HTTP request headers
686
+
687
+ - **Content-Type**: Not defined
688
+ - **Accept**: application/json
689
+
690
+
691
+ ### HTTP response details
692
+ | Status code | Description | Response headers |
693
+ |-------------|-------------|------------------|
694
+ |**204** | Label printed | - |
695
+ |**401** | Not authorised to access this resource | - |
696
+ |**403** | Refuse to authorize | - |
697
+ |**404** | Resource not found | - |
698
+ |**500** | Unknown server error | - |
699
+
700
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
701
+
702
+ # **printPickfaceLabels**
703
+ > printPickfaceLabels()
704
+
705
+ Print pickface labels
706
+
707
+ ### Example
708
+
709
+ ```typescript
710
+ import {
711
+ PickfacesApi,
712
+ Configuration
713
+ } from '@teemill/pickfaces';
714
+
715
+ const configuration = new Configuration();
716
+ const apiInstance = new PickfacesApi(configuration);
717
+
718
+ let project: string; //The project ID (default to undefined)
719
+ let deviceRef: string; //Unique identifier of a warehouse device (default to undefined)
720
+ let search: string; //Search term to filter based on pickface code (optional) (default to undefined)
721
+ let ids: Array<string>; //List of pickface ids (optional) (default to undefined)
722
+
723
+ const { status, data } = await apiInstance.printPickfaceLabels(
724
+ project,
725
+ deviceRef,
726
+ search,
727
+ ids
728
+ );
729
+ ```
730
+
731
+ ### Parameters
732
+
733
+ |Name | Type | Description | Notes|
734
+ |------------- | ------------- | ------------- | -------------|
735
+ | **project** | [**string**] | The project ID | defaults to undefined|
736
+ | **deviceRef** | [**string**] | Unique identifier of a warehouse device | defaults to undefined|
737
+ | **search** | [**string**] | Search term to filter based on pickface code | (optional) defaults to undefined|
738
+ | **ids** | **Array&lt;string&gt;** | List of pickface ids | (optional) defaults to undefined|
739
+
740
+
741
+ ### Return type
742
+
743
+ void (empty response body)
744
+
745
+ ### Authorization
746
+
747
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
748
+
749
+ ### HTTP request headers
750
+
751
+ - **Content-Type**: Not defined
752
+ - **Accept**: application/json
753
+
754
+
755
+ ### HTTP response details
756
+ | Status code | Description | Response headers |
757
+ |-------------|-------------|------------------|
758
+ |**204** | Labels printed | - |
759
+ |**400** | Failed validation | - |
760
+ |**401** | Not authorised to access this resource | - |
761
+ |**403** | Refuse to authorize | - |
762
+ |**404** | Resource not found | - |
763
+ |**500** | Unknown server error | - |
764
+
765
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
766
+
767
+ # **resolvePickfaceIssue**
768
+ > Pickface resolvePickfaceIssue()
769
+
770
+ Resolves an issue on a pickface
771
+
772
+ ### Example
773
+
774
+ ```typescript
775
+ import {
776
+ PickfacesApi,
777
+ Configuration
778
+ } from '@teemill/pickfaces';
779
+
780
+ const configuration = new Configuration();
781
+ const apiInstance = new PickfacesApi(configuration);
782
+
783
+ let project: string; //The project ID (default to undefined)
784
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
785
+
786
+ const { status, data } = await apiInstance.resolvePickfaceIssue(
787
+ project,
788
+ pickfaceId
789
+ );
790
+ ```
791
+
792
+ ### Parameters
793
+
794
+ |Name | Type | Description | Notes|
795
+ |------------- | ------------- | ------------- | -------------|
796
+ | **project** | [**string**] | The project ID | defaults to undefined|
797
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
798
+
799
+
800
+ ### Return type
801
+
802
+ **Pickface**
803
+
804
+ ### Authorization
805
+
806
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
807
+
808
+ ### HTTP request headers
809
+
810
+ - **Content-Type**: Not defined
811
+ - **Accept**: application/json
812
+
813
+
814
+ ### HTTP response details
815
+ | Status code | Description | Response headers |
816
+ |-------------|-------------|------------------|
817
+ |**200** | Pickface schema | - |
818
+ |**401** | Not authorised to access this resource | - |
819
+ |**403** | Refuse to authorize | - |
820
+ |**404** | Resource not found | - |
821
+ |**500** | Unknown server error | - |
822
+
823
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
824
+
825
+ # **suggestPickfaces**
826
+ > ListPickfaces200Response suggestPickfaces()
827
+
828
+ Suggest pickfaces for putting away stock
829
+
830
+ ### Example
831
+
832
+ ```typescript
833
+ import {
834
+ PickfacesApi,
835
+ Configuration
836
+ } from '@teemill/pickfaces';
837
+
838
+ const configuration = new Configuration();
839
+ const apiInstance = new PickfacesApi(configuration);
840
+
841
+ let project: string; //The project ID (default to undefined)
842
+ let variantRef: string; //Unique identifier of a warehouse variant (default to undefined)
843
+ let quantity: number; //Number of variants (default to undefined)
844
+ let sellThroughRate: number; //The sell through rate of the variant to use when suggesting pickfaces (optional) (default to undefined)
845
+ let pageToken: number; //Page reference token (optional) (default to 1)
846
+ let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
847
+
848
+ const { status, data } = await apiInstance.suggestPickfaces(
849
+ project,
850
+ variantRef,
851
+ quantity,
852
+ sellThroughRate,
853
+ pageToken,
854
+ pageSize
855
+ );
856
+ ```
857
+
858
+ ### Parameters
859
+
860
+ |Name | Type | Description | Notes|
861
+ |------------- | ------------- | ------------- | -------------|
862
+ | **project** | [**string**] | The project ID | defaults to undefined|
863
+ | **variantRef** | [**string**] | Unique identifier of a warehouse variant | defaults to undefined|
864
+ | **quantity** | [**number**] | Number of variants | defaults to undefined|
865
+ | **sellThroughRate** | [**number**] | The sell through rate of the variant to use when suggesting pickfaces | (optional) defaults to undefined|
866
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
867
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
868
+
869
+
870
+ ### Return type
871
+
872
+ **ListPickfaces200Response**
873
+
874
+ ### Authorization
875
+
876
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
877
+
878
+ ### HTTP request headers
879
+
880
+ - **Content-Type**: Not defined
881
+ - **Accept**: application/json
882
+
883
+
884
+ ### HTTP response details
885
+ | Status code | Description | Response headers |
886
+ |-------------|-------------|------------------|
887
+ |**200** | Array of Pickface schemas | - |
888
+ |**401** | Not authorised to access this resource | - |
889
+ |**403** | Refuse to authorize | - |
890
+ |**404** | Resource not found | - |
891
+ |**500** | Unknown server error | - |
892
+
893
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
894
+
895
+ # **updatePickface**
896
+ > Pickface updatePickface(updatePickfaceRequest)
897
+
898
+ Update a Pickface
899
+
900
+ ### Example
901
+
902
+ ```typescript
903
+ import {
904
+ PickfacesApi,
905
+ Configuration,
906
+ UpdatePickfaceRequest
907
+ } from '@teemill/pickfaces';
908
+
909
+ const configuration = new Configuration();
910
+ const apiInstance = new PickfacesApi(configuration);
911
+
912
+ let project: string; //The project ID (default to undefined)
913
+ let pickfaceId: string; //Unique identifier of a pickface (default to undefined)
914
+ let updatePickfaceRequest: UpdatePickfaceRequest; //Update pickface schema
915
+
916
+ const { status, data } = await apiInstance.updatePickface(
917
+ project,
918
+ pickfaceId,
919
+ updatePickfaceRequest
920
+ );
921
+ ```
922
+
923
+ ### Parameters
924
+
925
+ |Name | Type | Description | Notes|
926
+ |------------- | ------------- | ------------- | -------------|
927
+ | **updatePickfaceRequest** | **UpdatePickfaceRequest**| Update pickface schema | |
928
+ | **project** | [**string**] | The project ID | defaults to undefined|
929
+ | **pickfaceId** | [**string**] | Unique identifier of a pickface | defaults to undefined|
930
+
931
+
932
+ ### Return type
933
+
934
+ **Pickface**
935
+
936
+ ### Authorization
937
+
938
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
939
+
940
+ ### HTTP request headers
941
+
942
+ - **Content-Type**: application/json
943
+ - **Accept**: application/json
944
+
945
+
946
+ ### HTTP response details
947
+ | Status code | Description | Response headers |
948
+ |-------------|-------------|------------------|
949
+ |**200** | Pickface schema | - |
950
+ |**400** | Failed validation | - |
951
+ |**401** | Not authorised to access this resource | - |
952
+ |**403** | Refuse to authorize | - |
953
+ |**404** | Resource not found | - |
954
+ |**500** | Unknown server error | - |
955
+
956
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
957
+