@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.
@@ -1 +1 @@
1
- 7.7.0
1
+ 7.8.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.13.0
1
+ ## @teemill/pickfaces@0.14.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/pickfaces@0.13.0 --save
39
+ npm install @teemill/pickfaces@0.14.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts 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).
@@ -136,6 +136,38 @@ export interface GetPickfaces200Response {
136
136
  */
137
137
  'nextPageToken'?: number;
138
138
  }
139
+ /**
140
+ *
141
+ * @export
142
+ * @interface IssueEmptyPickfaceRequest
143
+ */
144
+ export interface IssueEmptyPickfaceRequest {
145
+ /**
146
+ * A reference to the resource location
147
+ * @type {string}
148
+ * @memberof IssueEmptyPickfaceRequest
149
+ */
150
+ 'issueRef'?: string;
151
+ }
152
+ /**
153
+ *
154
+ * @export
155
+ * @interface IssueWrongContentsPickfaceRequest
156
+ */
157
+ export interface IssueWrongContentsPickfaceRequest {
158
+ /**
159
+ * A reference to the resource location
160
+ * @type {string}
161
+ * @memberof IssueWrongContentsPickfaceRequest
162
+ */
163
+ 'issueRef'?: string;
164
+ /**
165
+ * A reference to the resource location
166
+ * @type {string}
167
+ * @memberof IssueWrongContentsPickfaceRequest
168
+ */
169
+ 'variantRef'?: string;
170
+ }
139
171
  /**
140
172
  *
141
173
  * @export
@@ -234,6 +266,12 @@ export interface Pickface {
234
266
  * @memberof Pickface
235
267
  */
236
268
  'lastRestocked'?: PickfaceLastRestocked;
269
+ /**
270
+ *
271
+ * @type {PickfaceIssue}
272
+ * @memberof Pickface
273
+ */
274
+ 'issue'?: PickfaceIssue | null;
237
275
  /**
238
276
  *
239
277
  * @type {Array<PickfaceContentsInner>}
@@ -366,6 +404,25 @@ export interface PickfaceContentsInnerQuantity {
366
404
  */
367
405
  'reserved'?: number;
368
406
  }
407
+ /**
408
+ * The open issue for the pickface
409
+ * @export
410
+ * @interface PickfaceIssue
411
+ */
412
+ export interface PickfaceIssue {
413
+ /**
414
+ * Unique object identifier
415
+ * @type {string}
416
+ * @memberof PickfaceIssue
417
+ */
418
+ 'id'?: string;
419
+ /**
420
+ * A reference to the resource location
421
+ * @type {string}
422
+ * @memberof PickfaceIssue
423
+ */
424
+ 'ref'?: string;
425
+ }
369
426
  /**
370
427
  *
371
428
  * @export
@@ -858,6 +915,114 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
858
915
  options: localVarRequestOptions,
859
916
  };
860
917
  },
918
+ /**
919
+ * Issue an empty pickface
920
+ * @summary Issue empty pickface
921
+ * @param {string} project What project it is
922
+ * @param {string} pickfaceId Unique identifier of a pickface
923
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
924
+ * @param {*} [options] Override http request option.
925
+ * @throws {RequiredError}
926
+ */
927
+ issueEmptyPickface: async (project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
928
+ // verify required parameter 'project' is not null or undefined
929
+ assertParamExists('issueEmptyPickface', 'project', project)
930
+ // verify required parameter 'pickfaceId' is not null or undefined
931
+ assertParamExists('issueEmptyPickface', 'pickfaceId', pickfaceId)
932
+ // verify required parameter 'issueEmptyPickfaceRequest' is not null or undefined
933
+ assertParamExists('issueEmptyPickface', 'issueEmptyPickfaceRequest', issueEmptyPickfaceRequest)
934
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/empty`
935
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
936
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
937
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
938
+ let baseOptions;
939
+ if (configuration) {
940
+ baseOptions = configuration.baseOptions;
941
+ }
942
+
943
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
944
+ const localVarHeaderParameter = {} as any;
945
+ const localVarQueryParameter = {} as any;
946
+
947
+ // authentication session-oauth required
948
+ // oauth required
949
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
950
+
951
+ // authentication api-key required
952
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
953
+
954
+ if (project !== undefined) {
955
+ localVarQueryParameter['project'] = project;
956
+ }
957
+
958
+
959
+
960
+ localVarHeaderParameter['Content-Type'] = 'application/json';
961
+
962
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
963
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
964
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
965
+ localVarRequestOptions.data = serializeDataIfNeeded(issueEmptyPickfaceRequest, localVarRequestOptions, configuration)
966
+
967
+ return {
968
+ url: toPathString(localVarUrlObj),
969
+ options: localVarRequestOptions,
970
+ };
971
+ },
972
+ /**
973
+ * Issue a pickface with wrong contents
974
+ * @summary Issue wrong contents pickface
975
+ * @param {string} project What project it is
976
+ * @param {string} pickfaceId Unique identifier of a pickface
977
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
978
+ * @param {*} [options] Override http request option.
979
+ * @throws {RequiredError}
980
+ */
981
+ issueWrongContentsPickface: async (project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
982
+ // verify required parameter 'project' is not null or undefined
983
+ assertParamExists('issueWrongContentsPickface', 'project', project)
984
+ // verify required parameter 'pickfaceId' is not null or undefined
985
+ assertParamExists('issueWrongContentsPickface', 'pickfaceId', pickfaceId)
986
+ // verify required parameter 'issueWrongContentsPickfaceRequest' is not null or undefined
987
+ assertParamExists('issueWrongContentsPickface', 'issueWrongContentsPickfaceRequest', issueWrongContentsPickfaceRequest)
988
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/wrong-contents`
989
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
990
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
991
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
992
+ let baseOptions;
993
+ if (configuration) {
994
+ baseOptions = configuration.baseOptions;
995
+ }
996
+
997
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
998
+ const localVarHeaderParameter = {} as any;
999
+ const localVarQueryParameter = {} as any;
1000
+
1001
+ // authentication session-oauth required
1002
+ // oauth required
1003
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1004
+
1005
+ // authentication api-key required
1006
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1007
+
1008
+ if (project !== undefined) {
1009
+ localVarQueryParameter['project'] = project;
1010
+ }
1011
+
1012
+
1013
+
1014
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1015
+
1016
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1017
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1018
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1019
+ localVarRequestOptions.data = serializeDataIfNeeded(issueWrongContentsPickfaceRequest, localVarRequestOptions, configuration)
1020
+
1021
+ return {
1022
+ url: toPathString(localVarUrlObj),
1023
+ options: localVarRequestOptions,
1024
+ };
1025
+ },
861
1026
  /**
862
1027
  * Get a list of pickface logs
863
1028
  * @summary Get pickface logs
@@ -1016,6 +1181,54 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1016
1181
 
1017
1182
 
1018
1183
 
1184
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1185
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1186
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1187
+
1188
+ return {
1189
+ url: toPathString(localVarUrlObj),
1190
+ options: localVarRequestOptions,
1191
+ };
1192
+ },
1193
+ /**
1194
+ * Resolves an issue on a pickface
1195
+ * @summary Resolve pickface issue
1196
+ * @param {string} project What project it is
1197
+ * @param {string} pickfaceId Unique identifier of a pickface
1198
+ * @param {*} [options] Override http request option.
1199
+ * @throws {RequiredError}
1200
+ */
1201
+ resolvePickfaceIssue: async (project: string, pickfaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1202
+ // verify required parameter 'project' is not null or undefined
1203
+ assertParamExists('resolvePickfaceIssue', 'project', project)
1204
+ // verify required parameter 'pickfaceId' is not null or undefined
1205
+ assertParamExists('resolvePickfaceIssue', 'pickfaceId', pickfaceId)
1206
+ const localVarPath = `/v1/pickfaces/{pickfaceId}/issue/resolve`
1207
+ .replace(`{${"pickfaceId"}}`, encodeURIComponent(String(pickfaceId)));
1208
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1209
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1210
+ let baseOptions;
1211
+ if (configuration) {
1212
+ baseOptions = configuration.baseOptions;
1213
+ }
1214
+
1215
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1216
+ const localVarHeaderParameter = {} as any;
1217
+ const localVarQueryParameter = {} as any;
1218
+
1219
+ // authentication session-oauth required
1220
+ // oauth required
1221
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1222
+
1223
+ // authentication api-key required
1224
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1225
+
1226
+ if (project !== undefined) {
1227
+ localVarQueryParameter['project'] = project;
1228
+ }
1229
+
1230
+
1231
+
1019
1232
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1020
1233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1021
1234
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1243,6 +1456,36 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1243
1456
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.getPickfaces']?.[localVarOperationServerIndex]?.url;
1244
1457
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1245
1458
  },
1459
+ /**
1460
+ * Issue an empty pickface
1461
+ * @summary Issue empty pickface
1462
+ * @param {string} project What project it is
1463
+ * @param {string} pickfaceId Unique identifier of a pickface
1464
+ * @param {IssueEmptyPickfaceRequest} issueEmptyPickfaceRequest pickface issue schema
1465
+ * @param {*} [options] Override http request option.
1466
+ * @throws {RequiredError}
1467
+ */
1468
+ async issueEmptyPickface(project: string, pickfaceId: string, issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
1469
+ const localVarAxiosArgs = await localVarAxiosParamCreator.issueEmptyPickface(project, pickfaceId, issueEmptyPickfaceRequest, options);
1470
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1471
+ const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueEmptyPickface']?.[localVarOperationServerIndex]?.url;
1472
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1473
+ },
1474
+ /**
1475
+ * Issue a pickface with wrong contents
1476
+ * @summary Issue wrong contents pickface
1477
+ * @param {string} project What project it is
1478
+ * @param {string} pickfaceId Unique identifier of a pickface
1479
+ * @param {IssueWrongContentsPickfaceRequest} issueWrongContentsPickfaceRequest pickface issue schema
1480
+ * @param {*} [options] Override http request option.
1481
+ * @throws {RequiredError}
1482
+ */
1483
+ async issueWrongContentsPickface(project: string, pickfaceId: string, issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
1484
+ const localVarAxiosArgs = await localVarAxiosParamCreator.issueWrongContentsPickface(project, pickfaceId, issueWrongContentsPickfaceRequest, options);
1485
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1486
+ const localVarOperationServerBasePath = operationServerMap['PickfacesApi.issueWrongContentsPickface']?.[localVarOperationServerIndex]?.url;
1487
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1488
+ },
1246
1489
  /**
1247
1490
  * Get a list of pickface logs
1248
1491
  * @summary Get pickface logs
@@ -1289,6 +1532,20 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1289
1532
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabel']?.[localVarOperationServerIndex]?.url;
1290
1533
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1291
1534
  },
1535
+ /**
1536
+ * Resolves an issue on a pickface
1537
+ * @summary Resolve pickface issue
1538
+ * @param {string} project What project it is
1539
+ * @param {string} pickfaceId Unique identifier of a pickface
1540
+ * @param {*} [options] Override http request option.
1541
+ * @throws {RequiredError}
1542
+ */
1543
+ async resolvePickfaceIssue(project: string, pickfaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pickface>> {
1544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePickfaceIssue(project, pickfaceId, options);
1545
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1546
+ const localVarOperationServerBasePath = operationServerMap['PickfacesApi.resolvePickfaceIssue']?.[localVarOperationServerIndex]?.url;
1547
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1548
+ },
1292
1549
  /**
1293
1550
  * Suggest pickfaces for putting away stock
1294
1551
  * @summary Suggest pickfaces
@@ -1391,6 +1648,26 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1391
1648
  getPickfaces(requestParameters: PickfacesApiGetPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPickfaces200Response> {
1392
1649
  return localVarFp.getPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.filters, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1393
1650
  },
1651
+ /**
1652
+ * Issue an empty pickface
1653
+ * @summary Issue empty pickface
1654
+ * @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
1655
+ * @param {*} [options] Override http request option.
1656
+ * @throws {RequiredError}
1657
+ */
1658
+ issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
1659
+ return localVarFp.issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(axios, basePath));
1660
+ },
1661
+ /**
1662
+ * Issue a pickface with wrong contents
1663
+ * @summary Issue wrong contents pickface
1664
+ * @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
1665
+ * @param {*} [options] Override http request option.
1666
+ * @throws {RequiredError}
1667
+ */
1668
+ issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
1669
+ return localVarFp.issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(axios, basePath));
1670
+ },
1394
1671
  /**
1395
1672
  * Get a list of pickface logs
1396
1673
  * @summary Get pickface logs
@@ -1421,6 +1698,16 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1421
1698
  printPickfaceLabel(requestParameters: PickfacesApiPrintPickfaceLabelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1422
1699
  return localVarFp.printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(axios, basePath));
1423
1700
  },
1701
+ /**
1702
+ * Resolves an issue on a pickface
1703
+ * @summary Resolve pickface issue
1704
+ * @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
1705
+ * @param {*} [options] Override http request option.
1706
+ * @throws {RequiredError}
1707
+ */
1708
+ resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pickface> {
1709
+ return localVarFp.resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(axios, basePath));
1710
+ },
1424
1711
  /**
1425
1712
  * Suggest pickfaces for putting away stock
1426
1713
  * @summary Suggest pickfaces
@@ -1584,6 +1871,62 @@ export interface PickfacesApiGetPickfacesRequest {
1584
1871
  readonly sortBy?: Array<string>
1585
1872
  }
1586
1873
 
1874
+ /**
1875
+ * Request parameters for issueEmptyPickface operation in PickfacesApi.
1876
+ * @export
1877
+ * @interface PickfacesApiIssueEmptyPickfaceRequest
1878
+ */
1879
+ export interface PickfacesApiIssueEmptyPickfaceRequest {
1880
+ /**
1881
+ * What project it is
1882
+ * @type {string}
1883
+ * @memberof PickfacesApiIssueEmptyPickface
1884
+ */
1885
+ readonly project: string
1886
+
1887
+ /**
1888
+ * Unique identifier of a pickface
1889
+ * @type {string}
1890
+ * @memberof PickfacesApiIssueEmptyPickface
1891
+ */
1892
+ readonly pickfaceId: string
1893
+
1894
+ /**
1895
+ * pickface issue schema
1896
+ * @type {IssueEmptyPickfaceRequest}
1897
+ * @memberof PickfacesApiIssueEmptyPickface
1898
+ */
1899
+ readonly issueEmptyPickfaceRequest: IssueEmptyPickfaceRequest
1900
+ }
1901
+
1902
+ /**
1903
+ * Request parameters for issueWrongContentsPickface operation in PickfacesApi.
1904
+ * @export
1905
+ * @interface PickfacesApiIssueWrongContentsPickfaceRequest
1906
+ */
1907
+ export interface PickfacesApiIssueWrongContentsPickfaceRequest {
1908
+ /**
1909
+ * What project it is
1910
+ * @type {string}
1911
+ * @memberof PickfacesApiIssueWrongContentsPickface
1912
+ */
1913
+ readonly project: string
1914
+
1915
+ /**
1916
+ * Unique identifier of a pickface
1917
+ * @type {string}
1918
+ * @memberof PickfacesApiIssueWrongContentsPickface
1919
+ */
1920
+ readonly pickfaceId: string
1921
+
1922
+ /**
1923
+ * pickface issue schema
1924
+ * @type {IssueWrongContentsPickfaceRequest}
1925
+ * @memberof PickfacesApiIssueWrongContentsPickface
1926
+ */
1927
+ readonly issueWrongContentsPickfaceRequest: IssueWrongContentsPickfaceRequest
1928
+ }
1929
+
1587
1930
  /**
1588
1931
  * Request parameters for listPickfaceLogs operation in PickfacesApi.
1589
1932
  * @export
@@ -1675,6 +2018,27 @@ export interface PickfacesApiPrintPickfaceLabelRequest {
1675
2018
  readonly deviceRef: string
1676
2019
  }
1677
2020
 
2021
+ /**
2022
+ * Request parameters for resolvePickfaceIssue operation in PickfacesApi.
2023
+ * @export
2024
+ * @interface PickfacesApiResolvePickfaceIssueRequest
2025
+ */
2026
+ export interface PickfacesApiResolvePickfaceIssueRequest {
2027
+ /**
2028
+ * What project it is
2029
+ * @type {string}
2030
+ * @memberof PickfacesApiResolvePickfaceIssue
2031
+ */
2032
+ readonly project: string
2033
+
2034
+ /**
2035
+ * Unique identifier of a pickface
2036
+ * @type {string}
2037
+ * @memberof PickfacesApiResolvePickfaceIssue
2038
+ */
2039
+ readonly pickfaceId: string
2040
+ }
2041
+
1678
2042
  /**
1679
2043
  * Request parameters for suggestPickfaces operation in PickfacesApi.
1680
2044
  * @export
@@ -1824,6 +2188,30 @@ export class PickfacesApi extends BaseAPI {
1824
2188
  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));
1825
2189
  }
1826
2190
 
2191
+ /**
2192
+ * Issue an empty pickface
2193
+ * @summary Issue empty pickface
2194
+ * @param {PickfacesApiIssueEmptyPickfaceRequest} requestParameters Request parameters.
2195
+ * @param {*} [options] Override http request option.
2196
+ * @throws {RequiredError}
2197
+ * @memberof PickfacesApi
2198
+ */
2199
+ public issueEmptyPickface(requestParameters: PickfacesApiIssueEmptyPickfaceRequest, options?: RawAxiosRequestConfig) {
2200
+ return PickfacesApiFp(this.configuration).issueEmptyPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueEmptyPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
2201
+ }
2202
+
2203
+ /**
2204
+ * Issue a pickface with wrong contents
2205
+ * @summary Issue wrong contents pickface
2206
+ * @param {PickfacesApiIssueWrongContentsPickfaceRequest} requestParameters Request parameters.
2207
+ * @param {*} [options] Override http request option.
2208
+ * @throws {RequiredError}
2209
+ * @memberof PickfacesApi
2210
+ */
2211
+ public issueWrongContentsPickface(requestParameters: PickfacesApiIssueWrongContentsPickfaceRequest, options?: RawAxiosRequestConfig) {
2212
+ return PickfacesApiFp(this.configuration).issueWrongContentsPickface(requestParameters.project, requestParameters.pickfaceId, requestParameters.issueWrongContentsPickfaceRequest, options).then((request) => request(this.axios, this.basePath));
2213
+ }
2214
+
1827
2215
  /**
1828
2216
  * Get a list of pickface logs
1829
2217
  * @summary Get pickface logs
@@ -1860,6 +2248,18 @@ export class PickfacesApi extends BaseAPI {
1860
2248
  return PickfacesApiFp(this.configuration).printPickfaceLabel(requestParameters.project, requestParameters.pickfaceId, requestParameters.deviceRef, options).then((request) => request(this.axios, this.basePath));
1861
2249
  }
1862
2250
 
2251
+ /**
2252
+ * Resolves an issue on a pickface
2253
+ * @summary Resolve pickface issue
2254
+ * @param {PickfacesApiResolvePickfaceIssueRequest} requestParameters Request parameters.
2255
+ * @param {*} [options] Override http request option.
2256
+ * @throws {RequiredError}
2257
+ * @memberof PickfacesApi
2258
+ */
2259
+ public resolvePickfaceIssue(requestParameters: PickfacesApiResolvePickfaceIssueRequest, options?: RawAxiosRequestConfig) {
2260
+ return PickfacesApiFp(this.configuration).resolvePickfaceIssue(requestParameters.project, requestParameters.pickfaceId, options).then((request) => request(this.axios, this.basePath));
2261
+ }
2262
+
1863
2263
  /**
1864
2264
  * Suggest pickfaces for putting away stock
1865
2265
  * @summary Suggest pickfaces
package/base.ts 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).
package/common.ts 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).
package/configuration.ts 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).