@teemill/pickfaces 0.25.0 → 0.28.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 +64 -86
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +61 -86
  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 +61 -86
  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 +46 -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
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.25.0
1
+ ## @teemill/pickfaces@0.28.0
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.25.0 --save
39
+ npm install @teemill/pickfaces@0.28.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,3 +44,76 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
+
48
+ ### Documentation for API Endpoints
49
+
50
+ All URIs are relative to *https://api.localhost:8080*
51
+
52
+ Class | Method | HTTP request | Description
53
+ ------------ | ------------- | ------------- | -------------
54
+ *PickfacesApi* | [**createPickface**](docs/PickfacesApi.md#createpickface) | **POST** /v1/pickfaces | Create Pickface
55
+ *PickfacesApi* | [**deletePickface**](docs/PickfacesApi.md#deletepickface) | **DELETE** /v1/pickfaces/{pickfaceId} | Delete Pickface
56
+ *PickfacesApi* | [**exportPickfaces**](docs/PickfacesApi.md#exportpickfaces) | **GET** /v1/pickfaces/export | Export pickfaces
57
+ *PickfacesApi* | [**getPickface**](docs/PickfacesApi.md#getpickface) | **GET** /v1/pickfaces/{pickfaceId} | Get pickface
58
+ *PickfacesApi* | [**issueEmptyPickface**](docs/PickfacesApi.md#issueemptypickface) | **POST** /v1/pickfaces/{pickfaceId}/issue/empty | Issue empty pickface
59
+ *PickfacesApi* | [**issueWrongContentsPickface**](docs/PickfacesApi.md#issuewrongcontentspickface) | **POST** /v1/pickfaces/{pickfaceId}/issue/wrong-contents | Issue wrong contents pickface
60
+ *PickfacesApi* | [**listPickfaceContainerTypes**](docs/PickfacesApi.md#listpickfacecontainertypes) | **GET** /v1/pickfaces/container-types | List pickface container types
61
+ *PickfacesApi* | [**listPickfaceLogs**](docs/PickfacesApi.md#listpickfacelogs) | **GET** /v1/pickfaces/{pickfaceId}/logs | Get pickface logs
62
+ *PickfacesApi* | [**listPickfaces**](docs/PickfacesApi.md#listpickfaces) | **GET** /v1/pickfaces | List pickfaces
63
+ *PickfacesApi* | [**moveStock**](docs/PickfacesApi.md#movestock) | **POST** /v1/pickfaces/{pickfaceId}/stock/move | Move stock
64
+ *PickfacesApi* | [**printPickfaceLabel**](docs/PickfacesApi.md#printpickfacelabel) | **GET** /v1/pickfaces/{pickfaceId}/print | Print pickface label
65
+ *PickfacesApi* | [**printPickfaceLabels**](docs/PickfacesApi.md#printpickfacelabels) | **GET** /v1/pickfaces/print | Print pickface Labels
66
+ *PickfacesApi* | [**resolvePickfaceIssue**](docs/PickfacesApi.md#resolvepickfaceissue) | **POST** /v1/pickfaces/{pickfaceId}/issue/resolve | Resolve pickface issue
67
+ *PickfacesApi* | [**suggestPickfaces**](docs/PickfacesApi.md#suggestpickfaces) | **GET** /v1/pickfaces/suggest | Suggest pickfaces
68
+ *PickfacesApi* | [**updatePickface**](docs/PickfacesApi.md#updatepickface) | **PATCH** /v1/pickfaces/{pickfaceId} | Update Pickface
69
+
70
+
71
+ ### Documentation For Models
72
+
73
+ - [ApiError](docs/ApiError.md)
74
+ - [ContainerType](docs/ContainerType.md)
75
+ - [ContainerTypes](docs/ContainerTypes.md)
76
+ - [CreatePickfaceRequest](docs/CreatePickfaceRequest.md)
77
+ - [ExportPickfaces202Response](docs/ExportPickfaces202Response.md)
78
+ - [IssueEmptyPickfaceRequest](docs/IssueEmptyPickfaceRequest.md)
79
+ - [IssueWrongContentsPickfaceRequest](docs/IssueWrongContentsPickfaceRequest.md)
80
+ - [ListPickfaceLogs200Response](docs/ListPickfaceLogs200Response.md)
81
+ - [ListPickfaces200Response](docs/ListPickfaces200Response.md)
82
+ - [MoveStockRequest](docs/MoveStockRequest.md)
83
+ - [Pickface](docs/Pickface.md)
84
+ - [PickfaceContainerType](docs/PickfaceContainerType.md)
85
+ - [PickfaceContentsInner](docs/PickfaceContentsInner.md)
86
+ - [PickfaceContentsInnerMetadata](docs/PickfaceContentsInnerMetadata.md)
87
+ - [PickfaceContentsInnerQuantity](docs/PickfaceContentsInnerQuantity.md)
88
+ - [PickfaceIssue](docs/PickfaceIssue.md)
89
+ - [PickfaceLog](docs/PickfaceLog.md)
90
+ - [PickfaceZone](docs/PickfaceZone.md)
91
+ - [UpdatePickfaceRequest](docs/UpdatePickfaceRequest.md)
92
+ - [UpdatePickfaceRequestContentsInner](docs/UpdatePickfaceRequestContentsInner.md)
93
+ - [UpdatePickfaceRequestContentsInnerQuantity](docs/UpdatePickfaceRequestContentsInnerQuantity.md)
94
+ - [UpdatePickfaceRequestContentsInnerQuantityAvailable](docs/UpdatePickfaceRequestContentsInnerQuantityAvailable.md)
95
+ - [UpdatePickfaceRequestContentsInnerQuantityReserved](docs/UpdatePickfaceRequestContentsInnerQuantityReserved.md)
96
+ - [VariantAttribute](docs/VariantAttribute.md)
97
+ - [VariantAttributeThumbnail](docs/VariantAttributeThumbnail.md)
98
+
99
+
100
+ <a id="documentation-for-authorization"></a>
101
+ ## Documentation For Authorization
102
+
103
+
104
+ Authentication schemes defined for the API:
105
+ <a id="api-key"></a>
106
+ ### api-key
107
+
108
+ - **Type**: API key
109
+ - **API key parameter name**: Authorization
110
+ - **Location**: HTTP header
111
+
112
+ <a id="session-oauth"></a>
113
+ ### session-oauth
114
+
115
+ - **Type**: OAuth
116
+ - **Flow**: password
117
+ - **Authorization URL**:
118
+ - **Scopes**: N/A
119
+
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
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.25.0
7
+ * The version of the OpenAPI document: 0.28.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -267,6 +267,12 @@ export interface Pickface {
267
267
  * @memberof Pickface
268
268
  */
269
269
  'ref': string;
270
+ /**
271
+ * The barcode of the pickface
272
+ * @type {string}
273
+ * @memberof Pickface
274
+ */
275
+ 'barcode': string;
270
276
  /**
271
277
  *
272
278
  * @type {PickfaceZone}
@@ -311,16 +317,16 @@ export interface Pickface {
311
317
  'fullness': number;
312
318
  /**
313
319
  *
314
- * @type {PickfaceLastPicked}
320
+ * @type {PickfaceLog}
315
321
  * @memberof Pickface
316
322
  */
317
- 'lastPicked': PickfaceLastPicked;
323
+ 'lastPicked': PickfaceLog | null;
318
324
  /**
319
325
  *
320
- * @type {PickfaceLastRestocked}
326
+ * @type {PickfaceLog}
321
327
  * @memberof Pickface
322
328
  */
323
- 'lastRestocked': PickfaceLastRestocked;
329
+ 'lastRestocked': PickfaceLog | null;
324
330
  /**
325
331
  *
326
332
  * @type {PickfaceIssue}
@@ -465,80 +471,6 @@ export interface PickfaceIssue {
465
471
  */
466
472
  'ref'?: string;
467
473
  }
468
- /**
469
- *
470
- * @export
471
- * @interface PickfaceLastPicked
472
- */
473
- export interface PickfaceLastPicked {
474
- /**
475
- * Unique object identifier
476
- * @type {string}
477
- * @memberof PickfaceLastPicked
478
- */
479
- 'id': string;
480
- /**
481
- * A reference to the resource location
482
- * @type {string}
483
- * @memberof PickfaceLastPicked
484
- */
485
- 'userRef': string;
486
- /**
487
- * The action that was taken
488
- * @type {string}
489
- * @memberof PickfaceLastPicked
490
- */
491
- 'action': string;
492
- /**
493
- * The reason for the action
494
- * @type {string}
495
- * @memberof PickfaceLastPicked
496
- */
497
- 'reason': string | null;
498
- /**
499
- * ISO 8601 Created at timestamp
500
- * @type {string}
501
- * @memberof PickfaceLastPicked
502
- */
503
- 'createdAt': string;
504
- }
505
- /**
506
- *
507
- * @export
508
- * @interface PickfaceLastRestocked
509
- */
510
- export interface PickfaceLastRestocked {
511
- /**
512
- * Unique object identifier
513
- * @type {string}
514
- * @memberof PickfaceLastRestocked
515
- */
516
- 'id': string;
517
- /**
518
- * A reference to the resource location
519
- * @type {string}
520
- * @memberof PickfaceLastRestocked
521
- */
522
- 'userRef': string;
523
- /**
524
- * The action that was taken
525
- * @type {string}
526
- * @memberof PickfaceLastRestocked
527
- */
528
- 'action': string;
529
- /**
530
- * The reason for the action
531
- * @type {string}
532
- * @memberof PickfaceLastRestocked
533
- */
534
- 'reason': string | null;
535
- /**
536
- * ISO 8601 Created at timestamp
537
- * @type {string}
538
- * @memberof PickfaceLastRestocked
539
- */
540
- 'createdAt': string;
541
- }
542
474
  /**
543
475
  *
544
476
  * @export
@@ -682,25 +614,71 @@ export interface UpdatePickfaceRequestContentsInner {
682
614
  */
683
615
  export interface UpdatePickfaceRequestContentsInnerQuantity {
684
616
  /**
685
- * The operation to perform on the pickface
686
- * @type {string}
617
+ *
618
+ * @type {UpdatePickfaceRequestContentsInnerQuantityAvailable}
687
619
  * @memberof UpdatePickfaceRequestContentsInnerQuantity
688
620
  */
689
- 'operation': UpdatePickfaceRequestContentsInnerQuantityOperationEnum;
621
+ 'available'?: UpdatePickfaceRequestContentsInnerQuantityAvailable | null;
690
622
  /**
691
- * The value to use with the operation
692
- * @type {number}
623
+ *
624
+ * @type {UpdatePickfaceRequestContentsInnerQuantityReserved}
693
625
  * @memberof UpdatePickfaceRequestContentsInnerQuantity
694
626
  */
627
+ 'reserved'?: UpdatePickfaceRequestContentsInnerQuantityReserved | null;
628
+ }
629
+ /**
630
+ * The amount to add or subtract from the available stock on the pickface
631
+ * @export
632
+ * @interface UpdatePickfaceRequestContentsInnerQuantityAvailable
633
+ */
634
+ export interface UpdatePickfaceRequestContentsInnerQuantityAvailable {
635
+ /**
636
+ *
637
+ * @type {string}
638
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityAvailable
639
+ */
640
+ 'operation'?: UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum;
641
+ /**
642
+ *
643
+ * @type {number}
644
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityAvailable
645
+ */
646
+ 'value': number;
647
+ }
648
+
649
+ export const UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum = {
650
+ Add: 'add',
651
+ Subtract: 'subtract'
652
+ } as const;
653
+
654
+ export type UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum];
655
+
656
+ /**
657
+ * The amount to add or subtract from the reserved stock on the pickface. Note that you cannot subtract more than the amount of stock that has been reserved for PodOS orders.
658
+ * @export
659
+ * @interface UpdatePickfaceRequestContentsInnerQuantityReserved
660
+ */
661
+ export interface UpdatePickfaceRequestContentsInnerQuantityReserved {
662
+ /**
663
+ *
664
+ * @type {string}
665
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityReserved
666
+ */
667
+ 'operation'?: UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum;
668
+ /**
669
+ *
670
+ * @type {number}
671
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityReserved
672
+ */
695
673
  'value': number;
696
674
  }
697
675
 
698
- export const UpdatePickfaceRequestContentsInnerQuantityOperationEnum = {
676
+ export const UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum = {
699
677
  Add: 'add',
700
678
  Subtract: 'subtract'
701
679
  } as const;
702
680
 
703
- export type UpdatePickfaceRequestContentsInnerQuantityOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum];
681
+ export type UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum];
704
682
 
705
683
  /**
706
684
  *
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
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.25.0
7
+ * The version of the OpenAPI document: 0.28.0
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 API
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.25.0
7
+ * The version of the OpenAPI document: 0.28.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
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.25.0
7
+ * The version of the OpenAPI document: 0.28.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
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.25.0
5
+ * The version of the OpenAPI document: 0.28.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -257,6 +257,12 @@ export interface Pickface {
257
257
  * @memberof Pickface
258
258
  */
259
259
  'ref': string;
260
+ /**
261
+ * The barcode of the pickface
262
+ * @type {string}
263
+ * @memberof Pickface
264
+ */
265
+ 'barcode': string;
260
266
  /**
261
267
  *
262
268
  * @type {PickfaceZone}
@@ -301,16 +307,16 @@ export interface Pickface {
301
307
  'fullness': number;
302
308
  /**
303
309
  *
304
- * @type {PickfaceLastPicked}
310
+ * @type {PickfaceLog}
305
311
  * @memberof Pickface
306
312
  */
307
- 'lastPicked': PickfaceLastPicked;
313
+ 'lastPicked': PickfaceLog | null;
308
314
  /**
309
315
  *
310
- * @type {PickfaceLastRestocked}
316
+ * @type {PickfaceLog}
311
317
  * @memberof Pickface
312
318
  */
313
- 'lastRestocked': PickfaceLastRestocked;
319
+ 'lastRestocked': PickfaceLog | null;
314
320
  /**
315
321
  *
316
322
  * @type {PickfaceIssue}
@@ -455,80 +461,6 @@ export interface PickfaceIssue {
455
461
  */
456
462
  'ref'?: string;
457
463
  }
458
- /**
459
- *
460
- * @export
461
- * @interface PickfaceLastPicked
462
- */
463
- export interface PickfaceLastPicked {
464
- /**
465
- * Unique object identifier
466
- * @type {string}
467
- * @memberof PickfaceLastPicked
468
- */
469
- 'id': string;
470
- /**
471
- * A reference to the resource location
472
- * @type {string}
473
- * @memberof PickfaceLastPicked
474
- */
475
- 'userRef': string;
476
- /**
477
- * The action that was taken
478
- * @type {string}
479
- * @memberof PickfaceLastPicked
480
- */
481
- 'action': string;
482
- /**
483
- * The reason for the action
484
- * @type {string}
485
- * @memberof PickfaceLastPicked
486
- */
487
- 'reason': string | null;
488
- /**
489
- * ISO 8601 Created at timestamp
490
- * @type {string}
491
- * @memberof PickfaceLastPicked
492
- */
493
- 'createdAt': string;
494
- }
495
- /**
496
- *
497
- * @export
498
- * @interface PickfaceLastRestocked
499
- */
500
- export interface PickfaceLastRestocked {
501
- /**
502
- * Unique object identifier
503
- * @type {string}
504
- * @memberof PickfaceLastRestocked
505
- */
506
- 'id': string;
507
- /**
508
- * A reference to the resource location
509
- * @type {string}
510
- * @memberof PickfaceLastRestocked
511
- */
512
- 'userRef': string;
513
- /**
514
- * The action that was taken
515
- * @type {string}
516
- * @memberof PickfaceLastRestocked
517
- */
518
- 'action': string;
519
- /**
520
- * The reason for the action
521
- * @type {string}
522
- * @memberof PickfaceLastRestocked
523
- */
524
- 'reason': string | null;
525
- /**
526
- * ISO 8601 Created at timestamp
527
- * @type {string}
528
- * @memberof PickfaceLastRestocked
529
- */
530
- 'createdAt': string;
531
- }
532
464
  /**
533
465
  *
534
466
  * @export
@@ -672,23 +604,66 @@ export interface UpdatePickfaceRequestContentsInner {
672
604
  */
673
605
  export interface UpdatePickfaceRequestContentsInnerQuantity {
674
606
  /**
675
- * The operation to perform on the pickface
676
- * @type {string}
607
+ *
608
+ * @type {UpdatePickfaceRequestContentsInnerQuantityAvailable}
677
609
  * @memberof UpdatePickfaceRequestContentsInnerQuantity
678
610
  */
679
- 'operation': UpdatePickfaceRequestContentsInnerQuantityOperationEnum;
611
+ 'available'?: UpdatePickfaceRequestContentsInnerQuantityAvailable | null;
680
612
  /**
681
- * The value to use with the operation
682
- * @type {number}
613
+ *
614
+ * @type {UpdatePickfaceRequestContentsInnerQuantityReserved}
683
615
  * @memberof UpdatePickfaceRequestContentsInnerQuantity
684
616
  */
617
+ 'reserved'?: UpdatePickfaceRequestContentsInnerQuantityReserved | null;
618
+ }
619
+ /**
620
+ * The amount to add or subtract from the available stock on the pickface
621
+ * @export
622
+ * @interface UpdatePickfaceRequestContentsInnerQuantityAvailable
623
+ */
624
+ export interface UpdatePickfaceRequestContentsInnerQuantityAvailable {
625
+ /**
626
+ *
627
+ * @type {string}
628
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityAvailable
629
+ */
630
+ 'operation'?: UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum;
631
+ /**
632
+ *
633
+ * @type {number}
634
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityAvailable
635
+ */
636
+ 'value': number;
637
+ }
638
+ export declare const UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum: {
639
+ readonly Add: "add";
640
+ readonly Subtract: "subtract";
641
+ };
642
+ export type UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum];
643
+ /**
644
+ * The amount to add or subtract from the reserved stock on the pickface. Note that you cannot subtract more than the amount of stock that has been reserved for PodOS orders.
645
+ * @export
646
+ * @interface UpdatePickfaceRequestContentsInnerQuantityReserved
647
+ */
648
+ export interface UpdatePickfaceRequestContentsInnerQuantityReserved {
649
+ /**
650
+ *
651
+ * @type {string}
652
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityReserved
653
+ */
654
+ 'operation'?: UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum;
655
+ /**
656
+ *
657
+ * @type {number}
658
+ * @memberof UpdatePickfaceRequestContentsInnerQuantityReserved
659
+ */
685
660
  'value': number;
686
661
  }
687
- export declare const UpdatePickfaceRequestContentsInnerQuantityOperationEnum: {
662
+ export declare const UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum: {
688
663
  readonly Add: "add";
689
664
  readonly Subtract: "subtract";
690
665
  };
691
- export type UpdatePickfaceRequestContentsInnerQuantityOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityOperationEnum];
666
+ export type UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum = typeof UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum[keyof typeof UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum];
692
667
  /**
693
668
  *
694
669
  * @export
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
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.25.0
8
+ * The version of the OpenAPI document: 0.28.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,14 +22,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.ListPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = void 0;
25
+ exports.ListPickfacesSortByEnum = exports.PickfacesApi = exports.PickfacesApiFactory = exports.PickfacesApiFp = exports.PickfacesApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum = exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
29
29
  const common_1 = require("./common");
30
30
  // @ts-ignore
31
31
  const base_1 = require("./base");
32
- exports.UpdatePickfaceRequestContentsInnerQuantityOperationEnum = {
32
+ exports.UpdatePickfaceRequestContentsInnerQuantityAvailableOperationEnum = {
33
+ Add: 'add',
34
+ Subtract: 'subtract'
35
+ };
36
+ exports.UpdatePickfaceRequestContentsInnerQuantityReservedOperationEnum = {
33
37
  Add: 'add',
34
38
  Subtract: 'subtract'
35
39
  };
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
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.25.0
5
+ * The version of the OpenAPI document: 0.28.0
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 API
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.25.0
8
+ * The version of the OpenAPI document: 0.28.0
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 API
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.25.0
5
+ * The version of the OpenAPI document: 0.28.0
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 API
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.25.0
8
+ * The version of the OpenAPI document: 0.28.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
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.25.0
5
+ * The version of the OpenAPI document: 0.28.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
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.25.0
8
+ * The version of the OpenAPI document: 0.28.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).