@teemill/pickfaces 0.17.0 → 0.18.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/pickfaces@0.17.0
1
+ ## @teemill/pickfaces@0.18.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.17.0 --save
39
+ npm install @teemill/pickfaces@0.18.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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.17.0
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.18.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -123,6 +123,19 @@ export interface CreatePickfaceRequest {
123
123
  */
124
124
  'zoneId'?: string;
125
125
  }
126
+ /**
127
+ *
128
+ * @export
129
+ * @interface ExportPickfaces202Response
130
+ */
131
+ export interface ExportPickfaces202Response {
132
+ /**
133
+ * A message describing the export status
134
+ * @type {string}
135
+ * @memberof ExportPickfaces202Response
136
+ */
137
+ 'message'?: string;
138
+ }
126
139
  /**
127
140
  *
128
141
  * @export
@@ -726,10 +739,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
726
739
  * Export pickfaces as a CSV file
727
740
  * @summary Export pickfaces
728
741
  * @param {string} project What project it is
742
+ * @param {string} [search] Search term to filter based on pickface code
729
743
  * @param {*} [options] Override http request option.
730
744
  * @throws {RequiredError}
731
745
  */
732
- exportPickfaces: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
746
+ exportPickfaces: async (project: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
733
747
  // verify required parameter 'project' is not null or undefined
734
748
  assertParamExists('exportPickfaces', 'project', project)
735
749
  const localVarPath = `/v1/pickfaces/export`;
@@ -755,6 +769,10 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
755
769
  localVarQueryParameter['project'] = project;
756
770
  }
757
771
 
772
+ if (search !== undefined) {
773
+ localVarQueryParameter['search'] = search;
774
+ }
775
+
758
776
 
759
777
 
760
778
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1203,11 +1221,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1203
1221
  * @param {string} project What project it is
1204
1222
  * @param {string} deviceRef Unique identifier of a warehouse device
1205
1223
  * @param {string} [search] Search term to filter based on pickface code
1206
- * @param {Array<string>} [ids] List of pickface ids
1224
+ * @param {Array<string> | null} [ids] List of pickface ids
1207
1225
  * @param {*} [options] Override http request option.
1208
1226
  * @throws {RequiredError}
1209
1227
  */
1210
- printPickfaceLabels: async (project: string, deviceRef: string, search?: string, ids?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1228
+ printPickfaceLabels: async (project: string, deviceRef: string, search?: string, ids?: Array<string> | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1211
1229
  // verify required parameter 'project' is not null or undefined
1212
1230
  assertParamExists('printPickfaceLabels', 'project', project)
1213
1231
  // verify required parameter 'deviceRef' is not null or undefined
@@ -1470,11 +1488,12 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1470
1488
  * Export pickfaces as a CSV file
1471
1489
  * @summary Export pickfaces
1472
1490
  * @param {string} project What project it is
1491
+ * @param {string} [search] Search term to filter based on pickface code
1473
1492
  * @param {*} [options] Override http request option.
1474
1493
  * @throws {RequiredError}
1475
1494
  */
1476
- async exportPickfaces(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1477
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportPickfaces(project, options);
1495
+ async exportPickfaces(project: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportPickfaces(project, search, options);
1478
1497
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1479
1498
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.exportPickfaces']?.[localVarOperationServerIndex]?.url;
1480
1499
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1605,11 +1624,11 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1605
1624
  * @param {string} project What project it is
1606
1625
  * @param {string} deviceRef Unique identifier of a warehouse device
1607
1626
  * @param {string} [search] Search term to filter based on pickface code
1608
- * @param {Array<string>} [ids] List of pickface ids
1627
+ * @param {Array<string> | null} [ids] List of pickface ids
1609
1628
  * @param {*} [options] Override http request option.
1610
1629
  * @throws {RequiredError}
1611
1630
  */
1612
- async printPickfaceLabels(project: string, deviceRef: string, search?: string, ids?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1631
+ async printPickfaceLabels(project: string, deviceRef: string, search?: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1613
1632
  const localVarAxiosArgs = await localVarAxiosParamCreator.printPickfaceLabels(project, deviceRef, search, ids, options);
1614
1633
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1615
1634
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.printPickfaceLabels']?.[localVarOperationServerIndex]?.url;
@@ -1699,7 +1718,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1699
1718
  * @throws {RequiredError}
1700
1719
  */
1701
1720
  exportPickfaces(requestParameters: PickfacesApiExportPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
1702
- return localVarFp.exportPickfaces(requestParameters.project, options).then((request) => request(axios, basePath));
1721
+ return localVarFp.exportPickfaces(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
1703
1722
  },
1704
1723
  /**
1705
1724
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
@@ -1878,6 +1897,13 @@ export interface PickfacesApiExportPickfacesRequest {
1878
1897
  * @memberof PickfacesApiExportPickfaces
1879
1898
  */
1880
1899
  readonly project: string
1900
+
1901
+ /**
1902
+ * Search term to filter based on pickface code
1903
+ * @type {string}
1904
+ * @memberof PickfacesApiExportPickfaces
1905
+ */
1906
+ readonly search?: string
1881
1907
  }
1882
1908
 
1883
1909
  /**
@@ -2136,7 +2162,7 @@ export interface PickfacesApiPrintPickfaceLabelsRequest {
2136
2162
  * @type {Array<string>}
2137
2163
  * @memberof PickfacesApiPrintPickfaceLabels
2138
2164
  */
2139
- readonly ids?: Array<string>
2165
+ readonly ids?: Array<string> | null
2140
2166
  }
2141
2167
 
2142
2168
  /**
@@ -2270,7 +2296,7 @@ export class PickfacesApi extends BaseAPI {
2270
2296
  * @memberof PickfacesApi
2271
2297
  */
2272
2298
  public exportPickfaces(requestParameters: PickfacesApiExportPickfacesRequest, options?: RawAxiosRequestConfig) {
2273
- return PickfacesApiFp(this.configuration).exportPickfaces(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2299
+ return PickfacesApiFp(this.configuration).exportPickfaces(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2274
2300
  }
2275
2301
 
2276
2302
  /**
package/base.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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.17.0
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.18.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/common.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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.17.0
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.18.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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.17.0
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.18.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/dist/api.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -113,6 +113,19 @@ export interface CreatePickfaceRequest {
113
113
  */
114
114
  'zoneId'?: string;
115
115
  }
116
+ /**
117
+ *
118
+ * @export
119
+ * @interface ExportPickfaces202Response
120
+ */
121
+ export interface ExportPickfaces202Response {
122
+ /**
123
+ * A message describing the export status
124
+ * @type {string}
125
+ * @memberof ExportPickfaces202Response
126
+ */
127
+ 'message'?: string;
128
+ }
116
129
  /**
117
130
  *
118
131
  * @export
@@ -631,10 +644,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
631
644
  * Export pickfaces as a CSV file
632
645
  * @summary Export pickfaces
633
646
  * @param {string} project What project it is
647
+ * @param {string} [search] Search term to filter based on pickface code
634
648
  * @param {*} [options] Override http request option.
635
649
  * @throws {RequiredError}
636
650
  */
637
- exportPickfaces: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
651
+ exportPickfaces: (project: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
638
652
  /**
639
653
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
640
654
  * @summary Get pickface
@@ -721,11 +735,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
721
735
  * @param {string} project What project it is
722
736
  * @param {string} deviceRef Unique identifier of a warehouse device
723
737
  * @param {string} [search] Search term to filter based on pickface code
724
- * @param {Array<string>} [ids] List of pickface ids
738
+ * @param {Array<string> | null} [ids] List of pickface ids
725
739
  * @param {*} [options] Override http request option.
726
740
  * @throws {RequiredError}
727
741
  */
728
- printPickfaceLabels: (project: string, deviceRef: string, search?: string, ids?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
742
+ printPickfaceLabels: (project: string, deviceRef: string, search?: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
729
743
  /**
730
744
  * Resolves an issue on a pickface
731
745
  * @summary Resolve pickface issue
@@ -785,10 +799,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
785
799
  * Export pickfaces as a CSV file
786
800
  * @summary Export pickfaces
787
801
  * @param {string} project What project it is
802
+ * @param {string} [search] Search term to filter based on pickface code
788
803
  * @param {*} [options] Override http request option.
789
804
  * @throws {RequiredError}
790
805
  */
791
- exportPickfaces(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
806
+ exportPickfaces(project: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
792
807
  /**
793
808
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
794
809
  * @summary Get pickface
@@ -875,11 +890,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
875
890
  * @param {string} project What project it is
876
891
  * @param {string} deviceRef Unique identifier of a warehouse device
877
892
  * @param {string} [search] Search term to filter based on pickface code
878
- * @param {Array<string>} [ids] List of pickface ids
893
+ * @param {Array<string> | null} [ids] List of pickface ids
879
894
  * @param {*} [options] Override http request option.
880
895
  * @throws {RequiredError}
881
896
  */
882
- printPickfaceLabels(project: string, deviceRef: string, search?: string, ids?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
897
+ printPickfaceLabels(project: string, deviceRef: string, search?: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
883
898
  /**
884
899
  * Resolves an issue on a pickface
885
900
  * @summary Resolve pickface issue
@@ -1088,6 +1103,12 @@ export interface PickfacesApiExportPickfacesRequest {
1088
1103
  * @memberof PickfacesApiExportPickfaces
1089
1104
  */
1090
1105
  readonly project: string;
1106
+ /**
1107
+ * Search term to filter based on pickface code
1108
+ * @type {string}
1109
+ * @memberof PickfacesApiExportPickfaces
1110
+ */
1111
+ readonly search?: string;
1091
1112
  }
1092
1113
  /**
1093
1114
  * Request parameters for getPickface operation in PickfacesApi.
@@ -1318,7 +1339,7 @@ export interface PickfacesApiPrintPickfaceLabelsRequest {
1318
1339
  * @type {Array<string>}
1319
1340
  * @memberof PickfacesApiPrintPickfaceLabels
1320
1341
  */
1321
- readonly ids?: Array<string>;
1342
+ readonly ids?: Array<string> | null;
1322
1343
  }
1323
1344
  /**
1324
1345
  * Request parameters for resolvePickfaceIssue operation in PickfacesApi.
package/dist/api.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Pickfaces API
6
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
+ *
8
+ * The version of the OpenAPI document: 0.18.0
7
9
  *
8
- * The version of the OpenAPI document: 0.17.0
9
- * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -124,10 +124,11 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
124
124
  * Export pickfaces as a CSV file
125
125
  * @summary Export pickfaces
126
126
  * @param {string} project What project it is
127
+ * @param {string} [search] Search term to filter based on pickface code
127
128
  * @param {*} [options] Override http request option.
128
129
  * @throws {RequiredError}
129
130
  */
130
- exportPickfaces: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
131
+ exportPickfaces: (project_1, search_1, ...args_1) => __awaiter(this, [project_1, search_1, ...args_1], void 0, function* (project, search, options = {}) {
131
132
  // verify required parameter 'project' is not null or undefined
132
133
  (0, common_1.assertParamExists)('exportPickfaces', 'project', project);
133
134
  const localVarPath = `/v1/pickfaces/export`;
@@ -148,6 +149,9 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
148
149
  if (project !== undefined) {
149
150
  localVarQueryParameter['project'] = project;
150
151
  }
152
+ if (search !== undefined) {
153
+ localVarQueryParameter['search'] = search;
154
+ }
151
155
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
152
156
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153
157
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -519,7 +523,7 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
519
523
  * @param {string} project What project it is
520
524
  * @param {string} deviceRef Unique identifier of a warehouse device
521
525
  * @param {string} [search] Search term to filter based on pickface code
522
- * @param {Array<string>} [ids] List of pickface ids
526
+ * @param {Array<string> | null} [ids] List of pickface ids
523
527
  * @param {*} [options] Override http request option.
524
528
  * @throws {RequiredError}
525
529
  */
@@ -752,13 +756,14 @@ const PickfacesApiFp = function (configuration) {
752
756
  * Export pickfaces as a CSV file
753
757
  * @summary Export pickfaces
754
758
  * @param {string} project What project it is
759
+ * @param {string} [search] Search term to filter based on pickface code
755
760
  * @param {*} [options] Override http request option.
756
761
  * @throws {RequiredError}
757
762
  */
758
- exportPickfaces(project, options) {
763
+ exportPickfaces(project, search, options) {
759
764
  return __awaiter(this, void 0, void 0, function* () {
760
765
  var _a, _b, _c;
761
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportPickfaces(project, options);
766
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportPickfaces(project, search, options);
762
767
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
763
768
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.exportPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
764
769
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -914,7 +919,7 @@ const PickfacesApiFp = function (configuration) {
914
919
  * @param {string} project What project it is
915
920
  * @param {string} deviceRef Unique identifier of a warehouse device
916
921
  * @param {string} [search] Search term to filter based on pickface code
917
- * @param {Array<string>} [ids] List of pickface ids
922
+ * @param {Array<string> | null} [ids] List of pickface ids
918
923
  * @param {*} [options] Override http request option.
919
924
  * @throws {RequiredError}
920
925
  */
@@ -1020,7 +1025,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1020
1025
  * @throws {RequiredError}
1021
1026
  */
1022
1027
  exportPickfaces(requestParameters, options) {
1023
- return localVarFp.exportPickfaces(requestParameters.project, options).then((request) => request(axios, basePath));
1028
+ return localVarFp.exportPickfaces(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
1024
1029
  },
1025
1030
  /**
1026
1031
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
@@ -1183,7 +1188,7 @@ class PickfacesApi extends base_1.BaseAPI {
1183
1188
  * @memberof PickfacesApi
1184
1189
  */
1185
1190
  exportPickfaces(requestParameters, options) {
1186
- return (0, exports.PickfacesApiFp)(this.configuration).exportPickfaces(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1191
+ return (0, exports.PickfacesApiFp)(this.configuration).exportPickfaces(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1187
1192
  }
1188
1193
  /**
1189
1194
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
package/dist/base.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/base.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Pickfaces API
6
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
+ *
8
+ * The version of the OpenAPI document: 0.18.0
7
9
  *
8
- * The version of the OpenAPI document: 0.17.0
9
- * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/common.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Pickfaces API
6
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
+ *
8
+ * The version of the OpenAPI document: 0.18.0
7
9
  *
8
- * The version of the OpenAPI document: 0.17.0
9
- * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Pickfaces API
6
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
+ *
8
+ * The version of the OpenAPI document: 0.18.0
7
9
  *
8
- * The version of the OpenAPI document: 0.17.0
9
- * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/esm/api.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -113,6 +113,19 @@ export interface CreatePickfaceRequest {
113
113
  */
114
114
  'zoneId'?: string;
115
115
  }
116
+ /**
117
+ *
118
+ * @export
119
+ * @interface ExportPickfaces202Response
120
+ */
121
+ export interface ExportPickfaces202Response {
122
+ /**
123
+ * A message describing the export status
124
+ * @type {string}
125
+ * @memberof ExportPickfaces202Response
126
+ */
127
+ 'message'?: string;
128
+ }
116
129
  /**
117
130
  *
118
131
  * @export
@@ -631,10 +644,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
631
644
  * Export pickfaces as a CSV file
632
645
  * @summary Export pickfaces
633
646
  * @param {string} project What project it is
647
+ * @param {string} [search] Search term to filter based on pickface code
634
648
  * @param {*} [options] Override http request option.
635
649
  * @throws {RequiredError}
636
650
  */
637
- exportPickfaces: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
651
+ exportPickfaces: (project: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
638
652
  /**
639
653
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
640
654
  * @summary Get pickface
@@ -721,11 +735,11 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
721
735
  * @param {string} project What project it is
722
736
  * @param {string} deviceRef Unique identifier of a warehouse device
723
737
  * @param {string} [search] Search term to filter based on pickface code
724
- * @param {Array<string>} [ids] List of pickface ids
738
+ * @param {Array<string> | null} [ids] List of pickface ids
725
739
  * @param {*} [options] Override http request option.
726
740
  * @throws {RequiredError}
727
741
  */
728
- printPickfaceLabels: (project: string, deviceRef: string, search?: string, ids?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
742
+ printPickfaceLabels: (project: string, deviceRef: string, search?: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
729
743
  /**
730
744
  * Resolves an issue on a pickface
731
745
  * @summary Resolve pickface issue
@@ -785,10 +799,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
785
799
  * Export pickfaces as a CSV file
786
800
  * @summary Export pickfaces
787
801
  * @param {string} project What project it is
802
+ * @param {string} [search] Search term to filter based on pickface code
788
803
  * @param {*} [options] Override http request option.
789
804
  * @throws {RequiredError}
790
805
  */
791
- exportPickfaces(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
806
+ exportPickfaces(project: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
792
807
  /**
793
808
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
794
809
  * @summary Get pickface
@@ -875,11 +890,11 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
875
890
  * @param {string} project What project it is
876
891
  * @param {string} deviceRef Unique identifier of a warehouse device
877
892
  * @param {string} [search] Search term to filter based on pickface code
878
- * @param {Array<string>} [ids] List of pickface ids
893
+ * @param {Array<string> | null} [ids] List of pickface ids
879
894
  * @param {*} [options] Override http request option.
880
895
  * @throws {RequiredError}
881
896
  */
882
- printPickfaceLabels(project: string, deviceRef: string, search?: string, ids?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
897
+ printPickfaceLabels(project: string, deviceRef: string, search?: string, ids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
883
898
  /**
884
899
  * Resolves an issue on a pickface
885
900
  * @summary Resolve pickface issue
@@ -1088,6 +1103,12 @@ export interface PickfacesApiExportPickfacesRequest {
1088
1103
  * @memberof PickfacesApiExportPickfaces
1089
1104
  */
1090
1105
  readonly project: string;
1106
+ /**
1107
+ * Search term to filter based on pickface code
1108
+ * @type {string}
1109
+ * @memberof PickfacesApiExportPickfaces
1110
+ */
1111
+ readonly search?: string;
1091
1112
  }
1092
1113
  /**
1093
1114
  * Request parameters for getPickface operation in PickfacesApi.
@@ -1318,7 +1339,7 @@ export interface PickfacesApiPrintPickfaceLabelsRequest {
1318
1339
  * @type {Array<string>}
1319
1340
  * @memberof PickfacesApiPrintPickfaceLabels
1320
1341
  */
1321
- readonly ids?: Array<string>;
1342
+ readonly ids?: Array<string> | null;
1322
1343
  }
1323
1344
  /**
1324
1345
  * Request parameters for resolvePickfaceIssue operation in PickfacesApi.
package/dist/esm/api.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
5
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
+ *
7
+ * The version of the OpenAPI document: 0.18.0
6
8
  *
7
- * The version of the OpenAPI document: 0.17.0
8
- * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -121,10 +121,11 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
121
121
  * Export pickfaces as a CSV file
122
122
  * @summary Export pickfaces
123
123
  * @param {string} project What project it is
124
+ * @param {string} [search] Search term to filter based on pickface code
124
125
  * @param {*} [options] Override http request option.
125
126
  * @throws {RequiredError}
126
127
  */
127
- exportPickfaces: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
128
+ exportPickfaces: (project_1, search_1, ...args_1) => __awaiter(this, [project_1, search_1, ...args_1], void 0, function* (project, search, options = {}) {
128
129
  // verify required parameter 'project' is not null or undefined
129
130
  assertParamExists('exportPickfaces', 'project', project);
130
131
  const localVarPath = `/v1/pickfaces/export`;
@@ -145,6 +146,9 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
145
146
  if (project !== undefined) {
146
147
  localVarQueryParameter['project'] = project;
147
148
  }
149
+ if (search !== undefined) {
150
+ localVarQueryParameter['search'] = search;
151
+ }
148
152
  setSearchParams(localVarUrlObj, localVarQueryParameter);
149
153
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
154
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -516,7 +520,7 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
516
520
  * @param {string} project What project it is
517
521
  * @param {string} deviceRef Unique identifier of a warehouse device
518
522
  * @param {string} [search] Search term to filter based on pickface code
519
- * @param {Array<string>} [ids] List of pickface ids
523
+ * @param {Array<string> | null} [ids] List of pickface ids
520
524
  * @param {*} [options] Override http request option.
521
525
  * @throws {RequiredError}
522
526
  */
@@ -748,13 +752,14 @@ export const PickfacesApiFp = function (configuration) {
748
752
  * Export pickfaces as a CSV file
749
753
  * @summary Export pickfaces
750
754
  * @param {string} project What project it is
755
+ * @param {string} [search] Search term to filter based on pickface code
751
756
  * @param {*} [options] Override http request option.
752
757
  * @throws {RequiredError}
753
758
  */
754
- exportPickfaces(project, options) {
759
+ exportPickfaces(project, search, options) {
755
760
  return __awaiter(this, void 0, void 0, function* () {
756
761
  var _a, _b, _c;
757
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportPickfaces(project, options);
762
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportPickfaces(project, search, options);
758
763
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
759
764
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.exportPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
760
765
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -910,7 +915,7 @@ export const PickfacesApiFp = function (configuration) {
910
915
  * @param {string} project What project it is
911
916
  * @param {string} deviceRef Unique identifier of a warehouse device
912
917
  * @param {string} [search] Search term to filter based on pickface code
913
- * @param {Array<string>} [ids] List of pickface ids
918
+ * @param {Array<string> | null} [ids] List of pickface ids
914
919
  * @param {*} [options] Override http request option.
915
920
  * @throws {RequiredError}
916
921
  */
@@ -1015,7 +1020,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
1015
1020
  * @throws {RequiredError}
1016
1021
  */
1017
1022
  exportPickfaces(requestParameters, options) {
1018
- return localVarFp.exportPickfaces(requestParameters.project, options).then((request) => request(axios, basePath));
1023
+ return localVarFp.exportPickfaces(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
1019
1024
  },
1020
1025
  /**
1021
1026
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
@@ -1177,7 +1182,7 @@ export class PickfacesApi extends BaseAPI {
1177
1182
  * @memberof PickfacesApi
1178
1183
  */
1179
1184
  exportPickfaces(requestParameters, options) {
1180
- return PickfacesApiFp(this.configuration).exportPickfaces(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1185
+ return PickfacesApiFp(this.configuration).exportPickfaces(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1181
1186
  }
1182
1187
  /**
1183
1188
  * Get a specific pickface. Pickfaces contain useful information such as the items they contain and their level of fullness
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/esm/base.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
5
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
+ *
7
+ * The version of the OpenAPI document: 0.18.0
6
8
  *
7
- * The version of the OpenAPI document: 0.17.0
8
- * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
5
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
+ *
7
+ * The version of the OpenAPI document: 0.18.0
6
8
  *
7
- * The version of the OpenAPI document: 0.17.0
8
- * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
5
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
+ *
7
+ * The version of the OpenAPI document: 0.18.0
6
8
  *
7
- * The version of the OpenAPI document: 0.17.0
8
- * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/esm/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
5
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
+ *
7
+ * The version of the OpenAPI document: 0.18.0
6
8
  *
7
- * The version of the OpenAPI document: 0.17.0
8
- * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Pickfaces API
3
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
3
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
4
6
  *
5
- * The version of the OpenAPI document: 0.17.0
6
- * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -3,10 +3,10 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Pickfaces API
6
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
+ *
8
+ * The version of the OpenAPI document: 0.18.0
7
9
  *
8
- * The version of the OpenAPI document: 0.17.0
9
- * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/index.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Pickfaces API
5
- * Use this API to access your pickfaces. You must have the warehouse module installed to access this API. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
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.17.0
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.18.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {