@teemill/pickfaces 0.19.0 → 0.20.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.
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.19.0
7
+ * The version of the OpenAPI document: 0.20.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,58 +45,58 @@ export interface ApiError {
45
45
  /**
46
46
  * The factory container the pickface is within
47
47
  * @export
48
- * @interface ContainerModel
48
+ * @interface ContainerType
49
49
  */
50
- export interface ContainerModel {
50
+ export interface ContainerType {
51
51
  /**
52
52
  * Unique object identifier
53
53
  * @type {string}
54
- * @memberof ContainerModel
54
+ * @memberof ContainerType
55
55
  */
56
56
  'id': string;
57
57
  /**
58
58
  * A reference to the resource location
59
59
  * @type {string}
60
- * @memberof ContainerModel
60
+ * @memberof ContainerType
61
61
  */
62
62
  'ref': string;
63
63
  /**
64
64
  *
65
65
  * @type {string}
66
- * @memberof ContainerModel
66
+ * @memberof ContainerType
67
67
  */
68
68
  'name': string;
69
69
  /**
70
- * The width of the model in millimetres
70
+ * The width of the container in millimetres
71
71
  * @type {number}
72
- * @memberof ContainerModel
72
+ * @memberof ContainerType
73
73
  */
74
74
  'width'?: number;
75
75
  /**
76
- * The depth of the model in millimetres
76
+ * The depth of the container in millimetres
77
77
  * @type {number}
78
- * @memberof ContainerModel
78
+ * @memberof ContainerType
79
79
  */
80
80
  'depth'?: number;
81
81
  /**
82
- * The height of the model in millimetres
82
+ * The height of the container in millimetres
83
83
  * @type {number}
84
- * @memberof ContainerModel
84
+ * @memberof ContainerType
85
85
  */
86
86
  'height'?: number;
87
87
  }
88
88
  /**
89
89
  *
90
90
  * @export
91
- * @interface ContainerModels
91
+ * @interface ContainerTypes
92
92
  */
93
- export interface ContainerModels {
93
+ export interface ContainerTypes {
94
94
  /**
95
95
  *
96
- * @type {Array<ContainerModel>}
97
- * @memberof ContainerModels
96
+ * @type {Array<ContainerType>}
97
+ * @memberof ContainerTypes
98
98
  */
99
- 'containerModels'?: Array<ContainerModel>;
99
+ 'containerTypes'?: Array<ContainerType>;
100
100
  }
101
101
  /**
102
102
  *
@@ -109,13 +109,13 @@ export interface CreatePickfaceRequest {
109
109
  * @type {string}
110
110
  * @memberof CreatePickfaceRequest
111
111
  */
112
- 'location'?: string;
112
+ 'location': string;
113
113
  /**
114
114
  * Unique object identifier
115
115
  * @type {string}
116
116
  * @memberof CreatePickfaceRequest
117
117
  */
118
- 'containerModelId'?: string;
118
+ 'containerTypeId': string;
119
119
  /**
120
120
  * Unique object identifier
121
121
  * @type {string}
@@ -136,25 +136,6 @@ export interface ExportPickfaces202Response {
136
136
  */
137
137
  'message'?: string;
138
138
  }
139
- /**
140
- *
141
- * @export
142
- * @interface GetPickfaces200Response
143
- */
144
- export interface GetPickfaces200Response {
145
- /**
146
- *
147
- * @type {Array<Pickface>}
148
- * @memberof GetPickfaces200Response
149
- */
150
- 'pickfaces'?: Array<Pickface>;
151
- /**
152
- * The token referencing the next page number
153
- * @type {number}
154
- * @memberof GetPickfaces200Response
155
- */
156
- 'nextPageToken'?: number | null;
157
- }
158
139
  /**
159
140
  *
160
141
  * @export
@@ -206,6 +187,25 @@ export interface ListPickfaceLogs200Response {
206
187
  */
207
188
  'nextPageToken'?: number | null;
208
189
  }
190
+ /**
191
+ *
192
+ * @export
193
+ * @interface ListPickfaces200Response
194
+ */
195
+ export interface ListPickfaces200Response {
196
+ /**
197
+ *
198
+ * @type {Array<Pickface>}
199
+ * @memberof ListPickfaces200Response
200
+ */
201
+ 'pickfaces'?: Array<Pickface>;
202
+ /**
203
+ * The token referencing the next page number
204
+ * @type {number}
205
+ * @memberof ListPickfaces200Response
206
+ */
207
+ 'nextPageToken'?: number | null;
208
+ }
209
209
  /**
210
210
  *
211
211
  * @export
@@ -263,10 +263,10 @@ export interface Pickface {
263
263
  'enabled'?: boolean;
264
264
  /**
265
265
  *
266
- * @type {PickfaceContainerModel}
266
+ * @type {PickfaceContainerType}
267
267
  * @memberof Pickface
268
268
  */
269
- 'containerModel'?: PickfaceContainerModel;
269
+ 'containerType'?: PickfaceContainerType;
270
270
  /**
271
271
  * The percentage of the pickface that has been taken up by its contents
272
272
  * @type {number}
@@ -301,19 +301,19 @@ export interface Pickface {
301
301
  /**
302
302
  *
303
303
  * @export
304
- * @interface PickfaceContainerModel
304
+ * @interface PickfaceContainerType
305
305
  */
306
- export interface PickfaceContainerModel {
306
+ export interface PickfaceContainerType {
307
307
  /**
308
308
  * Unique object identifier
309
309
  * @type {string}
310
- * @memberof PickfaceContainerModel
310
+ * @memberof PickfaceContainerType
311
311
  */
312
312
  'id'?: string;
313
313
  /**
314
314
  * A reference to the resource location
315
315
  * @type {string}
316
- * @memberof PickfaceContainerModel
316
+ * @memberof PickfaceContainerType
317
317
  */
318
318
  'ref'?: string;
319
319
  }
@@ -341,12 +341,6 @@ export interface PickfaceContentsInner {
341
341
  * @memberof PickfaceContentsInner
342
342
  */
343
343
  'quantity'?: PickfaceContentsInnerQuantity;
344
- /**
345
- *
346
- * @type {Array<PickfaceContentsInnerApplicationsInner>}
347
- * @memberof PickfaceContentsInner
348
- */
349
- 'applications'?: Array<PickfaceContentsInnerApplicationsInner>;
350
344
  /**
351
345
  *
352
346
  * @type {PickfaceContentsInnerMetadata}
@@ -354,25 +348,6 @@ export interface PickfaceContentsInner {
354
348
  */
355
349
  'metadata'?: PickfaceContentsInnerMetadata | null;
356
350
  }
357
- /**
358
- *
359
- * @export
360
- * @interface PickfaceContentsInnerApplicationsInner
361
- */
362
- export interface PickfaceContentsInnerApplicationsInner {
363
- /**
364
- *
365
- * @type {string}
366
- * @memberof PickfaceContentsInnerApplicationsInner
367
- */
368
- 'placement'?: string;
369
- /**
370
- * A unique identifier for the application
371
- * @type {string}
372
- * @memberof PickfaceContentsInnerApplicationsInner
373
- */
374
- 'signature'?: string;
375
- }
376
351
  /**
377
352
  * Any additional metadata
378
353
  * @export
@@ -570,7 +545,7 @@ export interface UpdatePickfaceRequest {
570
545
  * @type {string}
571
546
  * @memberof UpdatePickfaceRequest
572
547
  */
573
- 'containerModelId'?: string;
548
+ 'containerTypeId'?: string;
574
549
  /**
575
550
  * Unique object identifier
576
551
  * @type {string}
@@ -640,7 +615,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
640
615
  /**
641
616
  * Create a Pickface
642
617
  * @summary Create Pickface
643
- * @param {string} project What project it is
618
+ * @param {string} project The project ID
644
619
  * @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
645
620
  * @param {*} [options] Override http request option.
646
621
  * @throws {RequiredError}
@@ -690,7 +665,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
690
665
  /**
691
666
  * Delete a Pickface
692
667
  * @summary Delete Pickface
693
- * @param {string} project What project it is
668
+ * @param {string} project The project ID
694
669
  * @param {string} pickfaceId Unique identifier of a pickface
695
670
  * @param {*} [options] Override http request option.
696
671
  * @throws {RequiredError}
@@ -738,7 +713,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
738
713
  /**
739
714
  * Export pickfaces as a CSV file
740
715
  * @summary Export pickfaces
741
- * @param {string} project What project it is
716
+ * @param {string} project The project ID
742
717
  * @param {string} [search] Search term to filter based on pickface code
743
718
  * @param {*} [options] Override http request option.
744
719
  * @throws {RequiredError}
@@ -787,7 +762,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
787
762
  /**
788
763
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
789
764
  * @summary Get pickface
790
- * @param {string} project What project it is
765
+ * @param {string} project The project ID
791
766
  * @param {string} pickfaceId Unique identifier of a pickface
792
767
  * @param {*} [options] Override http request option.
793
768
  * @throws {RequiredError}
@@ -833,16 +808,23 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
833
808
  };
834
809
  },
835
810
  /**
836
- * Lists pickface container models
837
- * @summary Get pickface container models
838
- * @param {string} project What project it is
811
+ * Issue an empty pickface
812
+ * @summary Issue empty pickface
813
+ * @param {string} project The project ID
814
+ * @param {string} pickfaceId Unique identifier of a pickface
815
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
839
816
  * @param {*} [options] Override http request option.
840
817
  * @throws {RequiredError}
841
818
  */
842
- getPickfaceContainerModels: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
819
+ issueEmptyPickface: async (project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
843
820
  // verify required parameter 'project' is not null or undefined
844
- assertParamExists('getPickfaceContainerModels', 'project', project)
845
- const localVarPath = `/v1/pickfaces/container-models`;
821
+ assertParamExists('issueEmptyPickface', 'project', project)
822
+ // verify required parameter 'pickfaceId' is not null or undefined
823
+ assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId)
824
+ // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
825
+ assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
826
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
827
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
846
828
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
847
829
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
848
830
  let baseOptions;
@@ -850,7 +832,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
850
832
  baseOptions = configuration.baseOptions;
851
833
  }
852
834
 
853
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
835
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
854
836
  const localVarHeaderParameter = {} as any;
855
837
  const localVarQueryParameter = {} as any;
856
838
 
@@ -867,9 +849,12 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
867
849
 
868
850
 
869
851
 
852
+ localVarHeaderParameter['Content-Type'] = 'application/json';
853
+
870
854
  setSearchParams(localVarUrlObj, localVarQueryParameter);
871
855
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
872
856
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
857
+ localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration)
873
858
 
874
859
  return {
875
860
  url: toPathString(localVarUrlObj),
@@ -877,20 +862,23 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
877
862
  };
878
863
  },
879
864
  /**
880
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
881
- * @summary List pickfaces
882
- * @param {string} project What project it is
883
- * @param {string} [search] Search term to filter based on pickface code
884
- * @param {number} [pageToken] Page reference token
885
- * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
886
- * @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
865
+ * Issue a pickface with wrong contents
866
+ * @summary Issue wrong contents pickface
867
+ * @param {string} project The project ID
868
+ * @param {string} pickfaceId Unique identifier of a pickface
869
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
887
870
  * @param {*} [options] Override http request option.
888
871
  * @throws {RequiredError}
889
872
  */
890
- getPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
873
+ issueWrongContentsPickface: async (project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
891
874
  // verify required parameter 'project' is not null or undefined
892
- assertParamExists('getPickfaces', 'project', project)
893
- const localVarPath = `/v1/pickfaces`;
875
+ assertParamExists('issueWrongContentsPickface', 'project', project)
876
+ // verify required parameter 'pickfaceId' is not null or undefined
877
+ assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId)
878
+ // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
879
+ assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
880
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
881
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
894
882
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
895
883
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
896
884
  let baseOptions;
@@ -898,7 +886,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
898
886
  baseOptions = configuration.baseOptions;
899
887
  }
900
888
 
901
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
889
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
902
890
  const localVarHeaderParameter = {} as any;
903
891
  const localVarQueryParameter = {} as any;
904
892
 
@@ -913,27 +901,14 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
913
901
  localVarQueryParameter['project'] = project;
914
902
  }
915
903
 
916
- if (search !== undefined) {
917
- localVarQueryParameter['search'] = search;
918
- }
919
-
920
- if (pageToken !== undefined) {
921
- localVarQueryParameter['pageToken'] = pageToken;
922
- }
923
-
924
- if (pageSize !== undefined) {
925
- localVarQueryParameter['pageSize'] = pageSize;
926
- }
927
-
928
- if (sortBy) {
929
- localVarQueryParameter['sortBy'] = sortBy;
930
- }
931
-
932
904
 
933
905
 
906
+ localVarHeaderParameter['Content-Type'] = 'application/json';
907
+
934
908
  setSearchParams(localVarUrlObj, localVarQueryParameter);
935
909
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
936
910
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
911
+ localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration)
937
912
 
938
913
  return {
939
914
  url: toPathString(localVarUrlObj),
@@ -941,23 +916,16 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
941
916
  };
942
917
  },
943
918
  /**
944
- * Issue an empty pickface
945
- * @summary Issue empty pickface
946
- * @param {string} project What project it is
947
- * @param {string} pickfaceId Unique identifier of a pickface
948
- * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
919
+ * Lists pickface container types
920
+ * @summary List pickface container types
921
+ * @param {string} project The project ID
949
922
  * @param {*} [options] Override http request option.
950
923
  * @throws {RequiredError}
951
924
  */
952
- issueEmptyPickface: async (project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
925
+ listPickfaceContainerTypes: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
953
926
  // verify required parameter 'project' is not null or undefined
954
- assertParamExists('issueEmptyPickface', 'project', project)
955
- // verify required parameter 'pickfaceId' is not null or undefined
956
- assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId)
957
- // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
958
- assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
959
- const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
960
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
927
+ assertParamExists('listPickfaceContainerTypes', 'project', project)
928
+ const localVarPath = `/v1/pickfaces/container-types`;
961
929
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
962
930
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
963
931
  let baseOptions;
@@ -965,7 +933,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
965
933
  baseOptions = configuration.baseOptions;
966
934
  }
967
935
 
968
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
936
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
969
937
  const localVarHeaderParameter = {} as any;
970
938
  const localVarQueryParameter = {} as any;
971
939
 
@@ -982,12 +950,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
982
950
 
983
951
 
984
952
 
985
- localVarHeaderParameter['Content-Type'] = 'application/json';
986
-
987
953
  setSearchParams(localVarUrlObj, localVarQueryParameter);
988
954
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
989
955
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
990
- localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration)
991
956
 
992
957
  return {
993
958
  url: toPathString(localVarUrlObj),
@@ -995,22 +960,21 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
995
960
  };
996
961
  },
997
962
  /**
998
- * Issue a pickface with wrong contents
999
- * @summary Issue wrong contents pickface
1000
- * @param {string} project What project it is
963
+ * Get a list of pickface logs
964
+ * @summary Get pickface logs
965
+ * @param {string} project The project ID
1001
966
  * @param {string} pickfaceId Unique identifier of a pickface
1002
- * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
967
+ * @param {number} [pageToken] Page reference token
968
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1003
969
  * @param {*} [options] Override http request option.
1004
970
  * @throws {RequiredError}
1005
971
  */
1006
- issueWrongContentsPickface: async (project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
972
+ listPickfaceLogs: async (project: string, pickfaceId: string, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1007
973
  // verify required parameter 'project' is not null or undefined
1008
- assertParamExists('issueWrongContentsPickface', 'project', project)
974
+ assertParamExists('listPickfaceLogs', 'project', project)
1009
975
  // verify required parameter 'pickfaceId' is not null or undefined
1010
- assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId)
1011
- // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
1012
- assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
1013
- const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
976
+ assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId)
977
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
1014
978
  .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1015
979
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1016
980
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1019,7 +983,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1019
983
  baseOptions = configuration.baseOptions;
1020
984
  }
1021
985
 
1022
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
986
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1023
987
  const localVarHeaderParameter = {} as any;
1024
988
  const localVarQueryParameter = {} as any;
1025
989
 
@@ -1034,14 +998,19 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1034
998
  localVarQueryParameter['project'] = project;
1035
999
  }
1036
1000
 
1001
+ if (pageToken !== undefined) {
1002
+ localVarQueryParameter['pageToken'] = pageToken;
1003
+ }
1004
+
1005
+ if (pageSize !== undefined) {
1006
+ localVarQueryParameter['pageSize'] = pageSize;
1007
+ }
1037
1008
 
1038
-
1039
- localVarHeaderParameter['Content-Type'] = 'application/json';
1040
1009
 
1010
+
1041
1011
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1042
1012
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1043
1013
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1044
- localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration)
1045
1014
 
1046
1015
  return {
1047
1016
  url: toPathString(localVarUrlObj),
@@ -1049,22 +1018,20 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1049
1018
  };
1050
1019
  },
1051
1020
  /**
1052
- * Get a list of pickface logs
1053
- * @summary Get pickface logs
1054
- * @param {string} project What project it is
1055
- * @param {string} pickfaceId Unique identifier of a pickface
1021
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1022
+ * @summary List pickfaces
1023
+ * @param {string} project The project ID
1024
+ * @param {string} [search] Search term to filter based on pickface code
1056
1025
  * @param {number} [pageToken] Page reference token
1057
1026
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1027
+ * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1058
1028
  * @param {*} [options] Override http request option.
1059
1029
  * @throws {RequiredError}
1060
1030
  */
1061
- listPickfaceLogs: async (project: string, pickfaceId: string, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1031
+ listPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1062
1032
  // verify required parameter 'project' is not null or undefined
1063
- assertParamExists('listPickfaceLogs', 'project', project)
1064
- // verify required parameter 'pickfaceId' is not null or undefined
1065
- assertParamExists('listPickfaceLogs', 'pickfaceId', pickfaceId)
1066
- const localVarPath = `/v1/pickfaces/{pickfaceId}/logs`
1067
- .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1033
+ assertParamExists('listPickfaces', 'project', project)
1034
+ const localVarPath = `/v1/pickfaces`;
1068
1035
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1069
1036
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1070
1037
  let baseOptions;
@@ -1087,6 +1054,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1087
1054
  localVarQueryParameter['project'] = project;
1088
1055
  }
1089
1056
 
1057
+ if (search !== undefined) {
1058
+ localVarQueryParameter['search'] = search;
1059
+ }
1060
+
1090
1061
  if (pageToken !== undefined) {
1091
1062
  localVarQueryParameter['pageToken'] = pageToken;
1092
1063
  }
@@ -1095,6 +1066,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1095
1066
  localVarQueryParameter['pageSize'] = pageSize;
1096
1067
  }
1097
1068
 
1069
+ if (sortBy) {
1070
+ localVarQueryParameter['sortBy'] = sortBy;
1071
+ }
1072
+
1098
1073
 
1099
1074
 
1100
1075
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1109,7 +1084,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1109
1084
  /**
1110
1085
  * Move stock from one pickface to another in a single transaction
1111
1086
  * @summary Move stock
1112
- * @param {string} project What project it is
1087
+ * @param {string} project The project ID
1113
1088
  * @param {string} pickfaceId Unique identifier of a pickface
1114
1089
  * @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
1115
1090
  * @param {*} [options] Override http request option.
@@ -1163,7 +1138,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1163
1138
  /**
1164
1139
  * Print a pickface label
1165
1140
  * @summary Print pickface label
1166
- * @param {string} project What project it is
1141
+ * @param {string} project The project ID
1167
1142
  * @param {string} pickfaceId Unique identifier of a pickface
1168
1143
  * @param {string} deviceRef Unique identifier of a warehouse device
1169
1144
  * @param {*} [options] Override http request option.
@@ -1218,7 +1193,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1218
1193
  /**
1219
1194
  * Print pickface labels
1220
1195
  * @summary Print pickface Labels
1221
- * @param {string} project What project it is
1196
+ * @param {string} project The project ID
1222
1197
  * @param {string} deviceRef Unique identifier of a warehouse device
1223
1198
  * @param {string} [search] Search term to filter based on pickface code
1224
1199
  * @param {Array<string> | null} [ids] List of pickface ids
@@ -1279,7 +1254,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1279
1254
  /**
1280
1255
  * Resolves an issue on a pickface
1281
1256
  * @summary Resolve pickface issue
1282
- * @param {string} project What project it is
1257
+ * @param {string} project The project ID
1283
1258
  * @param {string} pickfaceId Unique identifier of a pickface
1284
1259
  * @param {*} [options] Override http request option.
1285
1260
  * @throws {RequiredError}
@@ -1327,7 +1302,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1327
1302
  /**
1328
1303
  * Suggest pickfaces for putting away stock
1329
1304
  * @summary Suggest pickfaces
1330
- * @param {string} project What project it is
1305
+ * @param {string} project The project ID
1331
1306
  * @param {string} variantRef Unique identifier of a warehouse variant
1332
1307
  * @param {number} quantity Number of variants
1333
1308
  * @param {number} [pageToken] Page reference token
@@ -1395,7 +1370,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1395
1370
  /**
1396
1371
  * Update a Pickface
1397
1372
  * @summary Update Pickface
1398
- * @param {string} project What project it is
1373
+ * @param {string} project The project ID
1399
1374
  * @param {string} pickfaceId Unique identifier of a pickface
1400
1375
  * @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
1401
1376
  * @param {*} [options] Override http request option.
@@ -1459,7 +1434,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1459
1434
  /**
1460
1435
  * Create a Pickface
1461
1436
  * @summary Create Pickface
1462
- * @param {string} project What project it is
1437
+ * @param {string} project The project ID
1463
1438
  * @param {CreatePickfaceRequest} createPickfaceRequest Create pickface schema
1464
1439
  * @param {*} [options] Override http request option.
1465
1440
  * @throws {RequiredError}
@@ -1473,7 +1448,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1473
1448
  /**
1474
1449
  * Delete a Pickface
1475
1450
  * @summary Delete Pickface
1476
- * @param {string} project What project it is
1451
+ * @param {string} project The project ID
1477
1452
  * @param {string} pickfaceId Unique identifier of a pickface
1478
1453
  * @param {*} [options] Override http request option.
1479
1454
  * @throws {RequiredError}
@@ -1487,7 +1462,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1487
1462
  /**
1488
1463
  * Export pickfaces as a CSV file
1489
1464
  * @summary Export pickfaces
1490
- * @param {string} project What project it is
1465
+ * @param {string} project The project ID
1491
1466
  * @param {string} [search] Search term to filter based on pickface code
1492
1467
  * @param {*} [options] Override http request option.
1493
1468
  * @throws {RequiredError}
@@ -1501,7 +1476,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1501
1476
  /**
1502
1477
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
1503
1478
  * @summary Get pickface
1504
- * @param {string} project What project it is
1479
+ * @param {string} project The project ID
1505
1480
  * @param {string} pickfaceId Unique identifier of a pickface
1506
1481
  * @param {*} [options] Override http request option.
1507
1482
  * @throws {RequiredError}
@@ -1512,40 +1487,10 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1512
1487
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickface']?.[localVarOperationServerIndex]?.url;
1513
1488
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1514
1489
  },
1515
- /**
1516
- * Lists pickface container models
1517
- * @summary Get pickface container models
1518
- * @param {string} project What project it is
1519
- * @param {*} [options] Override http request option.
1520
- * @throws {RequiredError}
1521
- */
1522
- async getPickfaceContainerModels(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerModels>> {
1523
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaceContainerModels(project, options);
1524
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1525
- const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaceContainerModels']?.[localVarOperationServerIndex]?.url;
1526
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1527
- },
1528
- /**
1529
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1530
- * @summary List pickfaces
1531
- * @param {string} project What project it is
1532
- * @param {string} [search] Search term to filter based on pickface code
1533
- * @param {number} [pageToken] Page reference token
1534
- * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1535
- * @param {Array<GetPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1536
- * @param {*} [options] Override http request option.
1537
- * @throws {RequiredError}
1538
- */
1539
- async getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<GetPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>> {
1540
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPickfaces(project, search, pageToken, pageSize, sortBy, options);
1541
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1542
- const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
1543
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1544
- },
1545
1490
  /**
1546
1491
  * Issue an empty pickface
1547
1492
  * @summary Issue empty pickface
1548
- * @param {string} project What project it is
1493
+ * @param {string} project The project ID
1549
1494
  * @param {string} pickfaceId Unique identifier of a pickface
1550
1495
  * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
1551
1496
  * @param {*} [options] Override http request option.
@@ -1560,7 +1505,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1560
1505
  /**
1561
1506
  * Issue a pickface with wrong contents
1562
1507
  * @summary Issue wrong contents pickface
1563
- * @param {string} project What project it is
1508
+ * @param {string} project The project ID
1564
1509
  * @param {string} pickfaceId Unique identifier of a pickface
1565
1510
  * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
1566
1511
  * @param {*} [options] Override http request option.
@@ -1572,10 +1517,23 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1572
1517
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueWrongContentsPickface']?.[localVarOperationServerIndex]?.url;
1573
1518
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1574
1519
  },
1520
+ /**
1521
+ * Lists pickface container types
1522
+ * @summary List pickface container types
1523
+ * @param {string} project The project ID
1524
+ * @param {*} [options] Override http request option.
1525
+ * @throws {RequiredError}
1526
+ */
1527
+ async listPickfaceContainerTypes(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerTypes>> {
1528
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaceContainerTypes(project, options);
1529
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1530
+ const localVarOperationServerBasePath = operationServerMap['PickfacesApi.listPickfaceContainerTypes']?.[localVarOperationServerIndex]?.url;
1531
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1532
+ },
1575
1533
  /**
1576
1534
  * Get a list of pickface logs
1577
1535
  * @summary Get pickface logs
1578
- * @param {string} project What project it is
1536
+ * @param {string} project The project ID
1579
1537
  * @param {string} pickfaceId Unique identifier of a pickface
1580
1538
  * @param {number} [pageToken] Page reference token
1581
1539
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
@@ -1588,10 +1546,27 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1588
1546
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.listPickfaceLogs']?.[localVarOperationServerIndex]?.url;
1589
1547
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1590
1548
  },
1549
+ /**
1550
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1551
+ * @summary List pickfaces
1552
+ * @param {string} project The project ID
1553
+ * @param {string} [search] Search term to filter based on pickface code
1554
+ * @param {number} [pageToken] Page reference token
1555
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1556
+ * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ async listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
1561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
1562
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1563
+ const localVarOperationServerBasePath = operationServerMap['PickfacesApi.listPickfaces']?.[localVarOperationServerIndex]?.url;
1564
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1565
+ },
1591
1566
  /**
1592
1567
  * Move stock from one pickface to another in a single transaction
1593
1568
  * @summary Move stock
1594
- * @param {string} project What project it is
1569
+ * @param {string} project The project ID
1595
1570
  * @param {string} pickfaceId Unique identifier of a pickface
1596
1571
  * @param {MoveStockRequest} moveStockRequest Move stock from one pickface to another
1597
1572
  * @param {*} [options] Override http request option.
@@ -1606,7 +1581,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1606
1581
  /**
1607
1582
  * Print a pickface label
1608
1583
  * @summary Print pickface label
1609
- * @param {string} project What project it is
1584
+ * @param {string} project The project ID
1610
1585
  * @param {string} pickfaceId Unique identifier of a pickface
1611
1586
  * @param {string} deviceRef Unique identifier of a warehouse device
1612
1587
  * @param {*} [options] Override http request option.
@@ -1621,7 +1596,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1621
1596
  /**
1622
1597
  * Print pickface labels
1623
1598
  * @summary Print pickface Labels
1624
- * @param {string} project What project it is
1599
+ * @param {string} project The project ID
1625
1600
  * @param {string} deviceRef Unique identifier of a warehouse device
1626
1601
  * @param {string} [search] Search term to filter based on pickface code
1627
1602
  * @param {Array<string> | null} [ids] List of pickface ids
@@ -1637,7 +1612,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1637
1612
  /**
1638
1613
  * Resolves an issue on a pickface
1639
1614
  * @summary Resolve pickface issue
1640
- * @param {string} project What project it is
1615
+ * @param {string} project The project ID
1641
1616
  * @param {string} pickfaceId Unique identifier of a pickface
1642
1617
  * @param {*} [options] Override http request option.
1643
1618
  * @throws {RequiredError}
@@ -1651,7 +1626,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1651
1626
  /**
1652
1627
  * Suggest pickfaces for putting away stock
1653
1628
  * @summary Suggest pickfaces
1654
- * @param {string} project What project it is
1629
+ * @param {string} project The project ID
1655
1630
  * @param {string} variantRef Unique identifier of a warehouse variant
1656
1631
  * @param {number} quantity Number of variants
1657
1632
  * @param {number} [pageToken] Page reference token
@@ -1659,7 +1634,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1659
1634
  * @param {*} [options] Override http request option.
1660
1635
  * @throws {RequiredError}
1661
1636
  */
1662
- async suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>> {
1637
+ async suggestPickfaces(project: string, variantRef: string, quantity: number, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
1663
1638
  const localVarAxiosArgs = await localVarAxiosParamCreator.suggestPickfaces(project, variantRef, quantity, pageToken, pageSize, options);
1664
1639
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1665
1640
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.suggestPickfaces']?.[localVarOperationServerIndex]?.url;
@@ -1668,7 +1643,7 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1668
1643
  /**
1669
1644
  * Update a Pickface
1670
1645
  * @summary Update Pickface
1671
- * @param {string} project What project it is
1646
+ * @param {string} project The project ID
1672
1647
  * @param {string} pickfaceId Unique identifier of a pickface
1673
1648
  * @param {UpdatePickfaceRequest} updatePickfaceRequest Update pickface schema
1674
1649
  * @param {*} [options] Override http request option.
@@ -1730,26 +1705,6 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1730
1705
  getPickface(requestParameters: PickfacesApiGetPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
1731
1706
  return localVarFp.getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
1732
1707
  },
1733
- /**
1734
- * Lists pickface container models
1735
- * @summary Get pickface container models
1736
- * @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
1737
- * @param {*} [options] Override http request option.
1738
- * @throws {RequiredError}
1739
- */
1740
- getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerModels> {
1741
- return localVarFp.getPickfaceContainerModels(requestParameters.project, options).then((request) => request(axios, basePath));
1742
- },
1743
- /**
1744
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1745
- * @summary List pickfaces
1746
- * @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
1747
- * @param {*} [options] Override http request option.
1748
- * @throws {RequiredError}
1749
- */
1750
- getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
1751
- return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1752
- },
1753
1708
  /**
1754
1709
  * Issue an empty pickface
1755
1710
  * @summary Issue empty pickface
@@ -1770,6 +1725,16 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1770
1725
  issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
1771
1726
  return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
1772
1727
  },
1728
+ /**
1729
+ * Lists pickface container types
1730
+ * @summary List pickface container types
1731
+ * @param {PickfacesApiListPickfaceContainerTypesRequest} requestParameters Request parameters.
1732
+ * @param {*} [options] Override http request option.
1733
+ * @throws {RequiredError}
1734
+ */
1735
+ listPickfaceContainerTypes(requestParameters: PickfacesApiListPickfaceContainerTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContainerTypes> {
1736
+ return localVarFp.listPickfaceContainerTypes(requestParameters.project, options).then((request) => request(axios, basePath));
1737
+ },
1773
1738
  /**
1774
1739
  * Get a list of pickface logs
1775
1740
  * @summary Get pickface logs
@@ -1780,6 +1745,16 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1780
1745
  listPickfaceLogs(requestParameters: PickfacesApiListPickfaceLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaceLogs200Response> {
1781
1746
  return localVarFp.listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1782
1747
  },
1748
+ /**
1749
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
1750
+ * @summary List pickfaces
1751
+ * @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
1752
+ * @param {*} [options] Override http request option.
1753
+ * @throws {RequiredError}
1754
+ */
1755
+ listPickfaces(requestParameters: PickfacesApiListPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
1756
+ return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1757
+ },
1783
1758
  /**
1784
1759
  * Move stock from one pickface to another in a single transaction
1785
1760
  * @summary Move stock
@@ -1827,7 +1802,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1827
1802
  * @param {*} [options] Override http request option.
1828
1803
  * @throws {RequiredError}
1829
1804
  */
1830
- suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
1805
+ suggestPickfaces(requestParameters: PickfacesApiSuggestPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
1831
1806
  return localVarFp.suggestPickfaces(requestParameters.project, requestParameters.variantRef, requestParameters.quantity, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1832
1807
  },
1833
1808
  /**
@@ -1850,7 +1825,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1850
1825
  */
1851
1826
  export interface PickfacesApiCreatePickfaceRequest {
1852
1827
  /**
1853
- * What project it is
1828
+ * The project ID
1854
1829
  * @type {string}
1855
1830
  * @memberof PickfacesApiCreatePickface
1856
1831
  */
@@ -1871,7 +1846,7 @@ export interface PickfacesApiCreatePickfaceRequest {
1871
1846
  */
1872
1847
  export interface PickfacesApiDeletePickfaceRequest {
1873
1848
  /**
1874
- * What project it is
1849
+ * The project ID
1875
1850
  * @type {string}
1876
1851
  * @memberof PickfacesApiDeletePickface
1877
1852
  */
@@ -1892,7 +1867,7 @@ export interface PickfacesApiDeletePickfaceRequest {
1892
1867
  */
1893
1868
  export interface PickfacesApiExportPickfacesRequest {
1894
1869
  /**
1895
- * What project it is
1870
+ * The project ID
1896
1871
  * @type {string}
1897
1872
  * @memberof PickfacesApiExportPickfaces
1898
1873
  */
@@ -1913,7 +1888,7 @@ export interface PickfacesApiExportPickfacesRequest {
1913
1888
  */
1914
1889
  export interface PickfacesApiGetPickfaceRequest {
1915
1890
  /**
1916
- * What project it is
1891
+ * The project ID
1917
1892
  * @type {string}
1918
1893
  * @memberof PickfacesApiGetPickface
1919
1894
  */
@@ -1927,62 +1902,6 @@ export interface PickfacesApiGetPickfaceRequest {
1927
1902
  readonly pickfaceId: string
1928
1903
  }
1929
1904
 
1930
- /**
1931
- * Request parameters for getPickfaceContainerModels operation in PickfacesApi.
1932
- * @export
1933
- * @interface PickfacesApiGetPickfaceContainerModelsRequest
1934
- */
1935
- export interface PickfacesApiGetPickfaceContainerModelsRequest {
1936
- /**
1937
- * What project it is
1938
- * @type {string}
1939
- * @memberof PickfacesApiGetPickfaceContainerModels
1940
- */
1941
- readonly project: string
1942
- }
1943
-
1944
- /**
1945
- * Request parameters for getPickfaces operation in PickfacesApi.
1946
- * @export
1947
- * @interface PickfacesApiGetPickfacesRequest
1948
- */
1949
- export interface PickfacesApiGetPickfacesRequest {
1950
- /**
1951
- * What project it is
1952
- * @type {string}
1953
- * @memberof PickfacesApiGetPickfaces
1954
- */
1955
- readonly project: string
1956
-
1957
- /**
1958
- * Search term to filter based on pickface code
1959
- * @type {string}
1960
- * @memberof PickfacesApiGetPickfaces
1961
- */
1962
- readonly search?: string
1963
-
1964
- /**
1965
- * Page reference token
1966
- * @type {number}
1967
- * @memberof PickfacesApiGetPickfaces
1968
- */
1969
- readonly pageToken?: number
1970
-
1971
- /**
1972
- * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1973
- * @type {number}
1974
- * @memberof PickfacesApiGetPickfaces
1975
- */
1976
- readonly pageSize?: number
1977
-
1978
- /**
1979
- * An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1980
- * @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
1981
- * @memberof PickfacesApiGetPickfaces
1982
- */
1983
- readonly sortBy?: Array<GetPickfacesSortByEnum>
1984
- }
1985
-
1986
1905
  /**
1987
1906
  * Request parameters for issueEmptyPickface operation in PickfacesApi.
1988
1907
  * @export
@@ -1990,7 +1909,7 @@ export interface PickfacesApiGetPickfacesRequest {
1990
1909
  */
1991
1910
  export interface PickfacesApiIssueEmptyPickfaceRequest {
1992
1911
  /**
1993
- * What project it is
1912
+ * The project ID
1994
1913
  * @type {string}
1995
1914
  * @memberof PickfacesApiIssueEmptyPickface
1996
1915
  */
@@ -2018,7 +1937,7 @@ export interface PickfacesApiIssueEmptyPickfaceRequest {
2018
1937
  */
2019
1938
  export interface PickfacesApiIssueWrongContentsPickfaceRequest {
2020
1939
  /**
2021
- * What project it is
1940
+ * The project ID
2022
1941
  * @type {string}
2023
1942
  * @memberof PickfacesApiIssueWrongContentsPickface
2024
1943
  */
@@ -2039,6 +1958,20 @@ export interface PickfacesApiIssueWrongContentsPickfaceRequest {
2039
1958
  readonly issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest
2040
1959
  }
2041
1960
 
1961
+ /**
1962
+ * Request parameters for listPickfaceContainerTypes operation in PickfacesApi.
1963
+ * @export
1964
+ * @interface PickfacesApiListPickfaceContainerTypesRequest
1965
+ */
1966
+ export interface PickfacesApiListPickfaceContainerTypesRequest {
1967
+ /**
1968
+ * The project ID
1969
+ * @type {string}
1970
+ * @memberof PickfacesApiListPickfaceContainerTypes
1971
+ */
1972
+ readonly project: string
1973
+ }
1974
+
2042
1975
  /**
2043
1976
  * Request parameters for listPickfaceLogs operation in PickfacesApi.
2044
1977
  * @export
@@ -2046,7 +1979,7 @@ export interface PickfacesApiIssueWrongContentsPickfaceRequest {
2046
1979
  */
2047
1980
  export interface PickfacesApiListPickfaceLogsRequest {
2048
1981
  /**
2049
- * What project it is
1982
+ * The project ID
2050
1983
  * @type {string}
2051
1984
  * @memberof PickfacesApiListPickfaceLogs
2052
1985
  */
@@ -2074,6 +2007,48 @@ export interface PickfacesApiListPickfaceLogsRequest {
2074
2007
  readonly pageSize?: number
2075
2008
  }
2076
2009
 
2010
+ /**
2011
+ * Request parameters for listPickfaces operation in PickfacesApi.
2012
+ * @export
2013
+ * @interface PickfacesApiListPickfacesRequest
2014
+ */
2015
+ export interface PickfacesApiListPickfacesRequest {
2016
+ /**
2017
+ * The project ID
2018
+ * @type {string}
2019
+ * @memberof PickfacesApiListPickfaces
2020
+ */
2021
+ readonly project: string
2022
+
2023
+ /**
2024
+ * Search term to filter based on pickface code
2025
+ * @type {string}
2026
+ * @memberof PickfacesApiListPickfaces
2027
+ */
2028
+ readonly search?: string
2029
+
2030
+ /**
2031
+ * Page reference token
2032
+ * @type {number}
2033
+ * @memberof PickfacesApiListPickfaces
2034
+ */
2035
+ readonly pageToken?: number
2036
+
2037
+ /**
2038
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2039
+ * @type {number}
2040
+ * @memberof PickfacesApiListPickfaces
2041
+ */
2042
+ readonly pageSize?: number
2043
+
2044
+ /**
2045
+ * An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2046
+ * @type {Array<'+available' | '-available' | '+wip' | '-wip' | '+total' | '-total' | '+fullness' | '-fullness' | '+restocked' | '-restocked' | '+picked' | '-picked'>}
2047
+ * @memberof PickfacesApiListPickfaces
2048
+ */
2049
+ readonly sortBy?: Array<ListPickfacesSortByEnum>
2050
+ }
2051
+
2077
2052
  /**
2078
2053
  * Request parameters for moveStock operation in PickfacesApi.
2079
2054
  * @export
@@ -2081,7 +2056,7 @@ export interface PickfacesApiListPickfaceLogsRequest {
2081
2056
  */
2082
2057
  export interface PickfacesApiMoveStockRequest {
2083
2058
  /**
2084
- * What project it is
2059
+ * The project ID
2085
2060
  * @type {string}
2086
2061
  * @memberof PickfacesApiMoveStock
2087
2062
  */
@@ -2109,7 +2084,7 @@ export interface PickfacesApiMoveStockRequest {
2109
2084
  */
2110
2085
  export interface PickfacesApiPrintPickfaceLabelRequest {
2111
2086
  /**
2112
- * What project it is
2087
+ * The project ID
2113
2088
  * @type {string}
2114
2089
  * @memberof PickfacesApiPrintPickfaceLabel
2115
2090
  */
@@ -2137,7 +2112,7 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
2137
2112
  */
2138
2113
  export interface PickfacesApiPrintPickfaceLabelsRequest {
2139
2114
  /**
2140
- * What project it is
2115
+ * The project ID
2141
2116
  * @type {string}
2142
2117
  * @memberof PickfacesApiPrintPickfaceLabels
2143
2118
  */
@@ -2172,7 +2147,7 @@ export interface PickfacesApiPrintPickfaceLabelsRequest {
2172
2147
  */
2173
2148
  export interface PickfacesApiResolvePickfaceIssueRequest {
2174
2149
  /**
2175
- * What project it is
2150
+ * The project ID
2176
2151
  * @type {string}
2177
2152
  * @memberof PickfacesApiResolvePickfaceIssue
2178
2153
  */
@@ -2193,7 +2168,7 @@ export interface PickfacesApiResolvePickfaceIssueRequest {
2193
2168
  */
2194
2169
  export interface PickfacesApiSuggestPickfacesRequest {
2195
2170
  /**
2196
- * What project it is
2171
+ * The project ID
2197
2172
  * @type {string}
2198
2173
  * @memberof PickfacesApiSuggestPickfaces
2199
2174
  */
@@ -2235,7 +2210,7 @@ export interface PickfacesApiSuggestPickfacesRequest {
2235
2210
  */
2236
2211
  export interface PickfacesApiUpdatePickfaceRequest {
2237
2212
  /**
2238
- * What project it is
2213
+ * The project ID
2239
2214
  * @type {string}
2240
2215
  * @memberof PickfacesApiUpdatePickface
2241
2216
  */
@@ -2311,30 +2286,6 @@ export class PickfacesApi extends BaseAPI {
2311
2286
  return PickfacesApiFp(this.configuration).getPickface(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
2312
2287
  }
2313
2288
 
2314
- /**
2315
- * Lists pickface container models
2316
- * @summary Get pickface container models
2317
- * @param {PickfacesApiGetPickfaceContainerModelsRequest} requestParameters Request parameters.
2318
- * @param {*} [options] Override http request option.
2319
- * @throws {RequiredError}
2320
- * @memberof PickfacesApi
2321
- */
2322
- public getPickfaceContainerModels(requestParameters: PickfacesApiGetPickfaceContainerModelsRequest, options?: RawAxiosRequestConfig) {
2323
- return PickfacesApiFp(this.configuration).getPickfaceContainerModels(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2324
- }
2325
-
2326
- /**
2327
- * Lists all available pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
2328
- * @summary List pickfaces
2329
- * @param {PickfacesApiGetPickfacesRequest} requestParameters Request parameters.
2330
- * @param {*} [options] Override http request option.
2331
- * @throws {RequiredError}
2332
- * @memberof PickfacesApi
2333
- */
2334
- public getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig) {
2335
- return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
2336
- }
2337
-
2338
2289
  /**
2339
2290
  * Issue an empty pickface
2340
2291
  * @summary Issue empty pickface
@@ -2359,6 +2310,18 @@ export class PickfacesApi extends BaseAPI {
2359
2310
  return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
2360
2311
  }
2361
2312
 
2313
+ /**
2314
+ * Lists pickface container types
2315
+ * @summary List pickface container types
2316
+ * @param {PickfacesApiListPickfaceContainerTypesRequest} requestParameters Request parameters.
2317
+ * @param {*} [options] Override http request option.
2318
+ * @throws {RequiredError}
2319
+ * @memberof PickfacesApi
2320
+ */
2321
+ public listPickfaceContainerTypes(requestParameters: PickfacesApiListPickfaceContainerTypesRequest, options?: RawAxiosRequestConfig) {
2322
+ return PickfacesApiFp(this.configuration).listPickfaceContainerTypes(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2323
+ }
2324
+
2362
2325
  /**
2363
2326
  * Get a list of pickface logs
2364
2327
  * @summary Get pickface logs
@@ -2371,6 +2334,18 @@ export class PickfacesApi extends BaseAPI {
2371
2334
  return PickfacesApiFp(this.configuration).listPickfaceLogs(requestParameters.project, requestParameters.pickfaceId, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
2372
2335
  }
2373
2336
 
2337
+ /**
2338
+ * Lists pickfaces paginated into chunks. Pickfaces contain useful information such as the items they contain and their level of fullness
2339
+ * @summary List pickfaces
2340
+ * @param {PickfacesApiListPickfacesRequest} requestParameters Request parameters.
2341
+ * @param {*} [options] Override http request option.
2342
+ * @throws {RequiredError}
2343
+ * @memberof PickfacesApi
2344
+ */
2345
+ public listPickfaces(requestParameters: PickfacesApiListPickfacesRequest, options?: RawAxiosRequestConfig) {
2346
+ return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
2347
+ }
2348
+
2374
2349
  /**
2375
2350
  * Move stock from one pickface to another in a single transaction
2376
2351
  * @summary Move stock
@@ -2447,7 +2422,7 @@ export class PickfacesApi extends BaseAPI {
2447
2422
  /**
2448
2423
  * @export
2449
2424
  */
2450
- export const GetPickfacesSortByEnum = {
2425
+ export const ListPickfacesSortByEnum = {
2451
2426
  Available: '+available',
2452
2427
  Available2: '-available',
2453
2428
  Wip: '+wip',
@@ -2461,6 +2436,6 @@ export const GetPickfacesSortByEnum = {
2461
2436
  Picked: '+picked',
2462
2437
  Picked2: '-picked'
2463
2438
  } as const;
2464
- export type GetPickfacesSortByEnum = typeof GetPickfacesSortByEnum[keyof typeof GetPickfacesSortByEnum];
2439
+ export type ListPickfacesSortByEnum = typeof ListPickfacesSortByEnum[keyof typeof ListPickfacesSortByEnum];
2465
2440
 
2466
2441