@teemill/pickfaces 0.13.0 → 0.14.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/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.13.0
8
+ * The version of the OpenAPI document: 0.14.0
9
9
  * Contact: hello@teemill.com
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
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.13.0
5
+ * The version of the OpenAPI document: 0.14.0
6
6
  * Contact: hello@teemill.com
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
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.13.0
8
+ * The version of the OpenAPI document: 0.14.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.13.0
5
+ * The version of the OpenAPI document: 0.14.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -126,6 +126,38 @@ export interface GetPickfaces200Response {
126
126
  */
127
127
  'nextPageToken'?: number;
128
128
  }
129
+ /**
130
+ *
131
+ * @export
132
+ * @interface IssueEmptyPickfaceRequest
133
+ */
134
+ export interface IssueEmptyPickfaceRequest {
135
+ /**
136
+ * A reference to the resource location
137
+ * @type {string}
138
+ * @memberof IssueEmptyPickfaceRequest
139
+ */
140
+ 'issueRef'?: string;
141
+ }
142
+ /**
143
+ *
144
+ * @export
145
+ * @interface IssueWrongContentsPickfaceRequest
146
+ */
147
+ export interface IssueWrongContentsPickfaceRequest {
148
+ /**
149
+ * A reference to the resource location
150
+ * @type {string}
151
+ * @memberof IssueWrongContentsPickfaceRequest
152
+ */
153
+ 'issueRef'?: string;
154
+ /**
155
+ * A reference to the resource location
156
+ * @type {string}
157
+ * @memberof IssueWrongContentsPickfaceRequest
158
+ */
159
+ 'variantRef'?: string;
160
+ }
129
161
  /**
130
162
  *
131
163
  * @export
@@ -224,6 +256,12 @@ export interface Pickface {
224
256
  * @memberof Pickface
225
257
  */
226
258
  'lastRestocked'?: PickfaceLastRestocked;
259
+ /**
260
+ *
261
+ * @type {PickfaceIssue}
262
+ * @memberof Pickface
263
+ */
264
+ 'issue'?: PickfaceIssue | null;
227
265
  /**
228
266
  *
229
267
  * @type {Array<PickfaceContentsInner>}
@@ -356,6 +394,25 @@ export interface PickfaceContentsInnerQuantity {
356
394
  */
357
395
  'reserved'?: number;
358
396
  }
397
+ /**
398
+ * The open issue for the pickface
399
+ * @export
400
+ * @interface PickfaceIssue
401
+ */
402
+ export interface PickfaceIssue {
403
+ /**
404
+ * Unique object identifier
405
+ * @type {string}
406
+ * @memberof PickfaceIssue
407
+ */
408
+ 'id'?: string;
409
+ /**
410
+ * A reference to the resource location
411
+ * @type {string}
412
+ * @memberof PickfaceIssue
413
+ */
414
+ 'ref'?: string;
415
+ }
359
416
  /**
360
417
  *
361
418
  * @export
@@ -596,6 +653,26 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
596
653
  * @throws {RequiredError}
597
654
  */
598
655
  getPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, filters?: Array<GetPickfacesFiltersEnum>, sortBy?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
656
+ /**
657
+ * Issue an empty pickface
658
+ * @summary Issue empty pickface
659
+ * @param {string} project What project it is
660
+ * @param {string} pickfaceId Unique identifier of a pickface
661
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
662
+ * @param {*} [options] Override http request option.
663
+ * @throws {RequiredError}
664
+ */
665
+ issueEmptyPickface: (project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
666
+ /**
667
+ * Issue a pickface with wrong contents
668
+ * @summary Issue wrong contents pickface
669
+ * @param {string} project What project it is
670
+ * @param {string} pickfaceId Unique identifier of a pickface
671
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
672
+ * @param {*} [options] Override http request option.
673
+ * @throws {RequiredError}
674
+ */
675
+ issueWrongContentsPickface: (project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
599
676
  /**
600
677
  * Get a list of pickface logs
601
678
  * @summary Get pickface logs
@@ -627,6 +704,15 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
627
704
  * @throws {RequiredError}
628
705
  */
629
706
  printPickfaceLabel: (project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
707
+ /**
708
+ * Resolves an issue on a pickface
709
+ * @summary Resolve pickface issue
710
+ * @param {string} project What project it is
711
+ * @param {string} pickfaceId Unique identifier of a pickface
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ resolvePickfaceIssue: (project: string, pickfaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
630
716
  /**
631
717
  * Suggest pickfaces for putting away stock
632
718
  * @summary Suggest pickfaces
@@ -711,6 +797,26 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
711
797
  * @throws {RequiredError}
712
798
  */
713
799
  getPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, filters?: Array<GetPickfacesFiltersEnum>, sortBy?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPickfaces200Response>>;
800
+ /**
801
+ * Issue an empty pickface
802
+ * @summary Issue empty pickface
803
+ * @param {string} project What project it is
804
+ * @param {string} pickfaceId Unique identifier of a pickface
805
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
806
+ * @param {*} [options] Override http request option.
807
+ * @throws {RequiredError}
808
+ */
809
+ issueEmptyPickface(project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>>;
810
+ /**
811
+ * Issue a pickface with wrong contents
812
+ * @summary Issue wrong contents pickface
813
+ * @param {string} project What project it is
814
+ * @param {string} pickfaceId Unique identifier of a pickface
815
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ */
819
+ issueWrongContentsPickface(project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>>;
714
820
  /**
715
821
  * Get a list of pickface logs
716
822
  * @summary Get pickface logs
@@ -742,6 +848,15 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
742
848
  * @throws {RequiredError}
743
849
  */
744
850
  printPickfaceLabel(project: string, pickfaceId: string, deviceRef: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
851
+ /**
852
+ * Resolves an issue on a pickface
853
+ * @summary Resolve pickface issue
854
+ * @param {string} project What project it is
855
+ * @param {string} pickfaceId Unique identifier of a pickface
856
+ * @param {*} [options] Override http request option.
857
+ * @throws {RequiredError}
858
+ */
859
+ resolvePickfaceIssue(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>>;
745
860
  /**
746
861
  * Suggest pickfaces for putting away stock
747
862
  * @summary Suggest pickfaces
@@ -818,6 +933,22 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
818
933
  * @throws {RequiredError}
819
934
  */
820
935
  getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response>;
936
+ /**
937
+ * Issue an empty pickface
938
+ * @summary Issue empty pickface
939
+ * @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
940
+ * @param {*} [options] Override http request option.
941
+ * @throws {RequiredError}
942
+ */
943
+ issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface>;
944
+ /**
945
+ * Issue a pickface with wrong contents
946
+ * @summary Issue wrong contents pickface
947
+ * @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
948
+ * @param {*} [options] Override http request option.
949
+ * @throws {RequiredError}
950
+ */
951
+ issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface>;
821
952
  /**
822
953
  * Get a list of pickface logs
823
954
  * @summary Get pickface logs
@@ -842,6 +973,14 @@ export declare const PickfacesApiFactory: (configuration?: Configuration, basePa
842
973
  * @throws {RequiredError}
843
974
  */
844
975
  printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
976
+ /**
977
+ * Resolves an issue on a pickface
978
+ * @summary Resolve pickface issue
979
+ * @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ */
983
+ resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface>;
845
984
  /**
846
985
  * Suggest pickfaces for putting away stock
847
986
  * @summary Suggest pickfaces
@@ -985,6 +1124,56 @@ export interface PickfacesApiGetPickfacesRequest {
985
1124
  */
986
1125
  readonly sortBy?: Array<string>;
987
1126
  }
1127
+ /**
1128
+ * Request parameters for issueEmptyPickface operation in PickfacesApi.
1129
+ * @export
1130
+ * @interface PickfacesApiIssueEmptyPickfaceRequest
1131
+ */
1132
+ export interface PickfacesApiIssueEmptyPickfaceRequest {
1133
+ /**
1134
+ * What project it is
1135
+ * @type {string}
1136
+ * @memberof PickfacesApiIssueEmptyPickface
1137
+ */
1138
+ readonly project: string;
1139
+ /**
1140
+ * Unique identifier of a pickface
1141
+ * @type {string}
1142
+ * @memberof PickfacesApiIssueEmptyPickface
1143
+ */
1144
+ readonly pickfaceId: string;
1145
+ /**
1146
+ * pickface issue schema
1147
+ * @type {IssueEmptyPickfaceRequest}
1148
+ * @memberof PickfacesApiIssueEmptyPickface
1149
+ */
1150
+ readonly issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest;
1151
+ }
1152
+ /**
1153
+ * Request parameters for issueWrongContentsPickface operation in PickfacesApi.
1154
+ * @export
1155
+ * @interface PickfacesApiIssueWrongContentsPickfaceRequest
1156
+ */
1157
+ export interface PickfacesApiIssueWrongContentsPickfaceRequest {
1158
+ /**
1159
+ * What project it is
1160
+ * @type {string}
1161
+ * @memberof PickfacesApiIssueWrongContentsPickface
1162
+ */
1163
+ readonly project: string;
1164
+ /**
1165
+ * Unique identifier of a pickface
1166
+ * @type {string}
1167
+ * @memberof PickfacesApiIssueWrongContentsPickface
1168
+ */
1169
+ readonly pickfaceId: string;
1170
+ /**
1171
+ * pickface issue schema
1172
+ * @type {IssueWrongContentsPickfaceRequest}
1173
+ * @memberof PickfacesApiIssueWrongContentsPickface
1174
+ */
1175
+ readonly issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest;
1176
+ }
988
1177
  /**
989
1178
  * Request parameters for listPickfaceLogs operation in PickfacesApi.
990
1179
  * @export
@@ -1066,6 +1255,25 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
1066
1255
  */
1067
1256
  readonly deviceRef: string;
1068
1257
  }
1258
+ /**
1259
+ * Request parameters for resolvePickfaceIssue operation in PickfacesApi.
1260
+ * @export
1261
+ * @interface PickfacesApiResolvePickfaceIssueRequest
1262
+ */
1263
+ export interface PickfacesApiResolvePickfaceIssueRequest {
1264
+ /**
1265
+ * What project it is
1266
+ * @type {string}
1267
+ * @memberof PickfacesApiResolvePickfaceIssue
1268
+ */
1269
+ readonly project: string;
1270
+ /**
1271
+ * Unique identifier of a pickface
1272
+ * @type {string}
1273
+ * @memberof PickfacesApiResolvePickfaceIssue
1274
+ */
1275
+ readonly pickfaceId: string;
1276
+ }
1069
1277
  /**
1070
1278
  * Request parameters for suggestPickfaces operation in PickfacesApi.
1071
1279
  * @export
@@ -1189,6 +1397,24 @@ export declare class PickfacesApi extends BaseAPI {
1189
1397
  * @memberof PickfacesApi
1190
1398
  */
1191
1399
  getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPickfaces200Response, any>>;
1400
+ /**
1401
+ * Issue an empty pickface
1402
+ * @summary Issue empty pickface
1403
+ * @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
1404
+ * @param {*} [options] Override http request option.
1405
+ * @throws {RequiredError}
1406
+ * @memberof PickfacesApi
1407
+ */
1408
+ issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pickface, any>>;
1409
+ /**
1410
+ * Issue a pickface with wrong contents
1411
+ * @summary Issue wrong contents pickface
1412
+ * @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ * @memberof PickfacesApi
1416
+ */
1417
+ issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pickface, any>>;
1192
1418
  /**
1193
1419
  * Get a list of pickface logs
1194
1420
  * @summary Get pickface logs
@@ -1216,6 +1442,15 @@ export declare class PickfacesApi extends BaseAPI {
1216
1442
  * @memberof PickfacesApi
1217
1443
  */
1218
1444
  printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1445
+ /**
1446
+ * Resolves an issue on a pickface
1447
+ * @summary Resolve pickface issue
1448
+ * @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
1449
+ * @param {*} [options] Override http request option.
1450
+ * @throws {RequiredError}
1451
+ * @memberof PickfacesApi
1452
+ */
1453
+ resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pickface, any>>;
1219
1454
  /**
1220
1455
  * Suggest pickfaces for putting away stock
1221
1456
  * @summary Suggest pickfaces
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -285,6 +285,96 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
285
285
  options: localVarRequestOptions,
286
286
  };
287
287
  }),
288
+ /**
289
+ * Issue an empty pickface
290
+ * @summary Issue empty pickface
291
+ * @param {string} project What project it is
292
+ * @param {string} pickfaceId Unique identifier of a pickface
293
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ issueEmptyPickface: (project_1, pickfaceId_1, issueEmptyPickfaceRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, issueEmptyPickfaceRequest_1, ...args_1], void 0, function* (project, pickfaceId, issueEmptyPickfaceRequest, options = {}) {
298
+ // verify required parameter 'project' is not null or undefined
299
+ assertParamExists('issueEmptyPickface', 'project', project);
300
+ // verify required parameter 'pickfaceId' is not null or undefined
301
+ assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId);
302
+ // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
303
+ assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest);
304
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
305
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
307
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
308
+ let baseOptions;
309
+ if (configuration) {
310
+ baseOptions = configuration.baseOptions;
311
+ }
312
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
313
+ const localVarHeaderParameter = {};
314
+ const localVarQueryParameter = {};
315
+ // authentication session-oauth required
316
+ // oauth required
317
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
318
+ // authentication api-key required
319
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
320
+ if (project !== undefined) {
321
+ localVarQueryParameter['project'] = project;
322
+ }
323
+ localVarHeaderParameter['Content-Type'] = 'application/json';
324
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
325
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
326
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
327
+ localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration);
328
+ return {
329
+ url: toPathString(localVarUrlObj),
330
+ options: localVarRequestOptions,
331
+ };
332
+ }),
333
+ /**
334
+ * Issue a pickface with wrong contents
335
+ * @summary Issue wrong contents pickface
336
+ * @param {string} project What project it is
337
+ * @param {string} pickfaceId Unique identifier of a pickface
338
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ issueWrongContentsPickface: (project_1, pickfaceId_1, issueWrongContentsPickfaceRequest_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, issueWrongContentsPickfaceRequest_1, ...args_1], void 0, function* (project, pickfaceId, issueWrongContentsPickfaceRequest, options = {}) {
343
+ // verify required parameter 'project' is not null or undefined
344
+ assertParamExists('issueWrongContentsPickface', 'project', project);
345
+ // verify required parameter 'pickfaceId' is not null or undefined
346
+ assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId);
347
+ // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
348
+ assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest);
349
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
350
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
351
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
352
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
353
+ let baseOptions;
354
+ if (configuration) {
355
+ baseOptions = configuration.baseOptions;
356
+ }
357
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
358
+ const localVarHeaderParameter = {};
359
+ const localVarQueryParameter = {};
360
+ // authentication session-oauth required
361
+ // oauth required
362
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
363
+ // authentication api-key required
364
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
365
+ if (project !== undefined) {
366
+ localVarQueryParameter['project'] = project;
367
+ }
368
+ localVarHeaderParameter['Content-Type'] = 'application/json';
369
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
370
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
371
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
372
+ localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration);
373
+ return {
374
+ url: toPathString(localVarUrlObj),
375
+ options: localVarRequestOptions,
376
+ };
377
+ }),
288
378
  /**
289
379
  * Get a list of pickface logs
290
380
  * @summary Get pickface logs
@@ -424,6 +514,46 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
424
514
  options: localVarRequestOptions,
425
515
  };
426
516
  }),
517
+ /**
518
+ * Resolves an issue on a pickface
519
+ * @summary Resolve pickface issue
520
+ * @param {string} project What project it is
521
+ * @param {string} pickfaceId Unique identifier of a pickface
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ resolvePickfaceIssue: (project_1, pickfaceId_1, ...args_1) => __awaiter(this, [project_1, pickfaceId_1, ...args_1], void 0, function* (project, pickfaceId, options = {}) {
526
+ // verify required parameter 'project' is not null or undefined
527
+ assertParamExists('resolvePickfaceIssue', 'project', project);
528
+ // verify required parameter 'pickfaceId' is not null or undefined
529
+ assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId);
530
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
531
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
532
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
533
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
534
+ let baseOptions;
535
+ if (configuration) {
536
+ baseOptions = configuration.baseOptions;
537
+ }
538
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
539
+ const localVarHeaderParameter = {};
540
+ const localVarQueryParameter = {};
541
+ // authentication session-oauth required
542
+ // oauth required
543
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
544
+ // authentication api-key required
545
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
546
+ if (project !== undefined) {
547
+ localVarQueryParameter['project'] = project;
548
+ }
549
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
550
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
551
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
552
+ return {
553
+ url: toPathString(localVarUrlObj),
554
+ options: localVarRequestOptions,
555
+ };
556
+ }),
427
557
  /**
428
558
  * Suggest pickfaces for putting away stock
429
559
  * @summary Suggest pickfaces
@@ -638,6 +768,42 @@ export const PickfacesApiFp = function (configuration) {
638
768
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
639
769
  });
640
770
  },
771
+ /**
772
+ * Issue an empty pickface
773
+ * @summary Issue empty pickface
774
+ * @param {string} project What project it is
775
+ * @param {string} pickfaceId Unique identifier of a pickface
776
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
777
+ * @param {*} [options] Override http request option.
778
+ * @throws {RequiredError}
779
+ */
780
+ issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options) {
781
+ return __awaiter(this, void 0, void 0, function* () {
782
+ var _a, _b, _c;
783
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
784
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
785
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.issueEmptyPickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
786
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
787
+ });
788
+ },
789
+ /**
790
+ * Issue a pickface with wrong contents
791
+ * @summary Issue wrong contents pickface
792
+ * @param {string} project What project it is
793
+ * @param {string} pickfaceId Unique identifier of a pickface
794
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
795
+ * @param {*} [options] Override http request option.
796
+ * @throws {RequiredError}
797
+ */
798
+ issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options) {
799
+ return __awaiter(this, void 0, void 0, function* () {
800
+ var _a, _b, _c;
801
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
802
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
803
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.issueWrongContentsPickface']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
804
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
805
+ });
806
+ },
641
807
  /**
642
808
  * Get a list of pickface logs
643
809
  * @summary Get pickface logs
@@ -693,6 +859,23 @@ export const PickfacesApiFp = function (configuration) {
693
859
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
694
860
  });
695
861
  },
862
+ /**
863
+ * Resolves an issue on a pickface
864
+ * @summary Resolve pickface issue
865
+ * @param {string} project What project it is
866
+ * @param {string} pickfaceId Unique identifier of a pickface
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ */
870
+ resolvePickfaceIssue(project, pickfaceId, options) {
871
+ return __awaiter(this, void 0, void 0, function* () {
872
+ var _a, _b, _c;
873
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resolvePickfaceIssue(project, pickfaceId, options);
874
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
875
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.resolvePickfaceIssue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
876
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
877
+ });
878
+ },
696
879
  /**
697
880
  * Suggest pickfaces for putting away stock
698
881
  * @summary Suggest pickfaces
@@ -800,6 +983,26 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
800
983
  getPickfaces(requestParameters, options) {
801
984
  return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.filters, requestParameters.sortBy, options).then((request) => request(axios, basePath));
802
985
  },
986
+ /**
987
+ * Issue an empty pickface
988
+ * @summary Issue empty pickface
989
+ * @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
990
+ * @param {*} [options] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ issueEmptyPickface(requestParameters, options) {
994
+ return localVarFp.issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(axios, basePath));
995
+ },
996
+ /**
997
+ * Issue a pickface with wrong contents
998
+ * @summary Issue wrong contents pickface
999
+ * @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
1000
+ * @param {*} [options] Override http request option.
1001
+ * @throws {RequiredError}
1002
+ */
1003
+ issueWrongContentsPickface(requestParameters, options) {
1004
+ return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
1005
+ },
803
1006
  /**
804
1007
  * Get a list of pickface logs
805
1008
  * @summary Get pickface logs
@@ -830,6 +1033,16 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
830
1033
  printPickfaceLabel(requestParameters, options) {
831
1034
  return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
832
1035
  },
1036
+ /**
1037
+ * Resolves an issue on a pickface
1038
+ * @summary Resolve pickface issue
1039
+ * @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
1040
+ * @param {*} [options] Override http request option.
1041
+ * @throws {RequiredError}
1042
+ */
1043
+ resolvePickfaceIssue(requestParameters, options) {
1044
+ return localVarFp.resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
1045
+ },
833
1046
  /**
834
1047
  * Suggest pickfaces for putting away stock
835
1048
  * @summary Suggest pickfaces
@@ -925,6 +1138,28 @@ export class PickfacesApi extends BaseAPI {
925
1138
  getPickfaces(requestParameters, options) {
926
1139
  return PickfacesApiFp(this.configuration).getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.filters, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
927
1140
  }
1141
+ /**
1142
+ * Issue an empty pickface
1143
+ * @summary Issue empty pickface
1144
+ * @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
1145
+ * @param {*} [options] Override http request option.
1146
+ * @throws {RequiredError}
1147
+ * @memberof PickfacesApi
1148
+ */
1149
+ issueEmptyPickface(requestParameters, options) {
1150
+ return PickfacesApiFp(this.configuration).issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
1151
+ }
1152
+ /**
1153
+ * Issue a pickface with wrong contents
1154
+ * @summary Issue wrong contents pickface
1155
+ * @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
1156
+ * @param {*} [options] Override http request option.
1157
+ * @throws {RequiredError}
1158
+ * @memberof PickfacesApi
1159
+ */
1160
+ issueWrongContentsPickface(requestParameters, options) {
1161
+ return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
1162
+ }
928
1163
  /**
929
1164
  * Get a list of pickface logs
930
1165
  * @summary Get pickface logs
@@ -958,6 +1193,17 @@ export class PickfacesApi extends BaseAPI {
958
1193
  printPickfaceLabel(requestParameters, options) {
959
1194
  return PickfacesApiFp(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
960
1195
  }
1196
+ /**
1197
+ * Resolves an issue on a pickface
1198
+ * @summary Resolve pickface issue
1199
+ * @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
1200
+ * @param {*} [options] Override http request option.
1201
+ * @throws {RequiredError}
1202
+ * @memberof PickfacesApi
1203
+ */
1204
+ resolvePickfaceIssue(requestParameters, options) {
1205
+ return PickfacesApiFp(this.configuration).resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
1206
+ }
961
1207
  /**
962
1208
  * Suggest pickfaces for putting away stock
963
1209
  * @summary Suggest pickfaces