@teemill/pickfaces 0.23.0 → 0.24.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.23.0
1
+ ## @teemill/pickfaces@0.24.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.23.0 --save
39
+ npm install @teemill/pickfaces@0.24.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
  * 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.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -390,6 +390,12 @@ export interface PickfaceContentsInnerMetadata {
390
390
  * @memberof PickfaceContentsInnerMetadata
391
391
  */
392
392
  'title'?: string | null;
393
+ /**
394
+ * The SKU of the product
395
+ * @type {string}
396
+ * @memberof PickfaceContentsInnerMetadata
397
+ */
398
+ 'sku'?: string | null;
393
399
  /**
394
400
  * The image of the front of the product
395
401
  * @type {string}
@@ -1151,10 +1157,12 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1151
1157
  * @param {number} [pageToken] Page reference token
1152
1158
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1153
1159
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1160
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1161
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1154
1162
  * @param {*} [options] Override http request option.
1155
1163
  * @throws {RequiredError}
1156
1164
  */
1157
- listPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1165
+ listPickfaces: async (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1158
1166
  // verify required parameter 'project' is not null or undefined
1159
1167
  assertParamExists('listPickfaces', 'project', project)
1160
1168
  const localVarPath = `/v1/pickfaces`;
@@ -1196,6 +1204,18 @@ export const PickfacesApiAxiosParamCreator = function (configuration?: Configura
1196
1204
  localVarQueryParameter['sortBy'] = sortBy;
1197
1205
  }
1198
1206
 
1207
+ if (updatedStart !== undefined) {
1208
+ localVarQueryParameter['updatedStart'] = (updatedStart as any instanceof Date) ?
1209
+ (updatedStart as any).toISOString() :
1210
+ updatedStart;
1211
+ }
1212
+
1213
+ if (updatedEnd !== undefined) {
1214
+ localVarQueryParameter['updatedEnd'] = (updatedEnd as any instanceof Date) ?
1215
+ (updatedEnd as any).toISOString() :
1216
+ updatedEnd;
1217
+ }
1218
+
1199
1219
 
1200
1220
 
1201
1221
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1685,11 +1705,13 @@ export const PickfacesApiFp = function(configuration?: Configuration) {
1685
1705
  * @param {number} [pageToken] Page reference token
1686
1706
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1687
1707
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1708
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1709
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1688
1710
  * @param {*} [options] Override http request option.
1689
1711
  * @throws {RequiredError}
1690
1712
  */
1691
- async listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
1692
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
1713
+ async listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>> {
1714
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options);
1693
1715
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1694
1716
  const localVarOperationServerBasePath = operationServerMap['PickfacesApi.listPickfaces']?.[localVarOperationServerIndex]?.url;
1695
1717
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1885,7 +1907,7 @@ export const PickfacesApiFactory = function (configuration?: Configuration, base
1885
1907
  * @throws {RequiredError}
1886
1908
  */
1887
1909
  listPickfaces(requestParameters: PickfacesApiListPickfacesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListPickfaces200Response> {
1888
- return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1910
+ return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(axios, basePath));
1889
1911
  },
1890
1912
  /**
1891
1913
  * Move stock from one pickface to another in a single transaction
@@ -2179,6 +2201,20 @@ export interface PickfacesApiListPickfacesRequest {
2179
2201
  * @memberof PickfacesApiListPickfaces
2180
2202
  */
2181
2203
  readonly sortBy?: Array<ListPickfacesSortByEnum>
2204
+
2205
+ /**
2206
+ * Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
2207
+ * @type {string}
2208
+ * @memberof PickfacesApiListPickfaces
2209
+ */
2210
+ readonly updatedStart?: string
2211
+
2212
+ /**
2213
+ * End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
2214
+ * @type {string}
2215
+ * @memberof PickfacesApiListPickfaces
2216
+ */
2217
+ readonly updatedEnd?: string
2182
2218
  }
2183
2219
 
2184
2220
  /**
@@ -2482,7 +2518,7 @@ export class PickfacesApi extends BaseAPI {
2482
2518
  * @memberof PickfacesApi
2483
2519
  */
2484
2520
  public listPickfaces(requestParameters: PickfacesApiListPickfacesRequest, options?: RawAxiosRequestConfig) {
2485
- return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
2521
+ return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(this.axios, this.basePath));
2486
2522
  }
2487
2523
 
2488
2524
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -380,6 +380,12 @@ export interface PickfaceContentsInnerMetadata {
380
380
  * @memberof PickfaceContentsInnerMetadata
381
381
  */
382
382
  'title'?: string | null;
383
+ /**
384
+ * The SKU of the product
385
+ * @type {string}
386
+ * @memberof PickfaceContentsInnerMetadata
387
+ */
388
+ 'sku'?: string | null;
383
389
  /**
384
390
  * The image of the front of the product
385
391
  * @type {string}
@@ -803,10 +809,12 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
803
809
  * @param {number} [pageToken] Page reference token
804
810
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
805
811
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
812
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
813
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
806
814
  * @param {*} [options] Override http request option.
807
815
  * @throws {RequiredError}
808
816
  */
809
- listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
817
+ listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
810
818
  /**
811
819
  * Move stock from one pickface to another in a single transaction
812
820
  * @summary Move stock
@@ -959,10 +967,12 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
959
967
  * @param {number} [pageToken] Page reference token
960
968
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
961
969
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
970
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
971
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
962
972
  * @param {*} [options] Override http request option.
963
973
  * @throws {RequiredError}
964
974
  */
965
- listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
975
+ listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
966
976
  /**
967
977
  * Move stock from one pickface to another in a single transaction
968
978
  * @summary Move stock
@@ -1359,6 +1369,18 @@ export interface PickfacesApiListPickfacesRequest {
1359
1369
  * @memberof PickfacesApiListPickfaces
1360
1370
  */
1361
1371
  readonly sortBy?: Array<ListPickfacesSortByEnum>;
1372
+ /**
1373
+ * Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1374
+ * @type {string}
1375
+ * @memberof PickfacesApiListPickfaces
1376
+ */
1377
+ readonly updatedStart?: string;
1378
+ /**
1379
+ * End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1380
+ * @type {string}
1381
+ * @memberof PickfacesApiListPickfaces
1382
+ */
1383
+ readonly updatedEnd?: string;
1362
1384
  }
1363
1385
  /**
1364
1386
  * Request parameters for moveStock operation in PickfacesApi.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.23.0
8
+ * The version of the OpenAPI document: 0.24.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -387,10 +387,12 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
387
387
  * @param {number} [pageToken] Page reference token
388
388
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
389
389
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
390
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
391
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
390
392
  * @param {*} [options] Override http request option.
391
393
  * @throws {RequiredError}
392
394
  */
393
- listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
395
+ listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options = {}) {
394
396
  // verify required parameter 'project' is not null or undefined
395
397
  (0, common_1.assertParamExists)('listPickfaces', 'project', project);
396
398
  const localVarPath = `/v1/pickfaces`;
@@ -423,6 +425,16 @@ const PickfacesApiAxiosParamCreator = function (configuration) {
423
425
  if (sortBy) {
424
426
  localVarQueryParameter['sortBy'] = sortBy;
425
427
  }
428
+ if (updatedStart !== undefined) {
429
+ localVarQueryParameter['updatedStart'] = (updatedStart instanceof Date) ?
430
+ updatedStart.toISOString() :
431
+ updatedStart;
432
+ }
433
+ if (updatedEnd !== undefined) {
434
+ localVarQueryParameter['updatedEnd'] = (updatedEnd instanceof Date) ?
435
+ updatedEnd.toISOString() :
436
+ updatedEnd;
437
+ }
426
438
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
427
439
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
428
440
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -874,13 +886,15 @@ const PickfacesApiFp = function (configuration) {
874
886
  * @param {number} [pageToken] Page reference token
875
887
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
876
888
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
889
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
890
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
877
891
  * @param {*} [options] Override http request option.
878
892
  * @throws {RequiredError}
879
893
  */
880
- listPickfaces(project, search, pageToken, pageSize, sortBy, options) {
894
+ listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options) {
881
895
  return __awaiter(this, void 0, void 0, function* () {
882
896
  var _a, _b, _c;
883
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
897
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options);
884
898
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
885
899
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PickfacesApi.listPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
886
900
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1095,7 +1109,7 @@ const PickfacesApiFactory = function (configuration, basePath, axios) {
1095
1109
  * @throws {RequiredError}
1096
1110
  */
1097
1111
  listPickfaces(requestParameters, options) {
1098
- return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1112
+ return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(axios, basePath));
1099
1113
  },
1100
1114
  /**
1101
1115
  * Move stock from one pickface to another in a single transaction
@@ -1264,7 +1278,7 @@ class PickfacesApi extends base_1.BaseAPI {
1264
1278
  * @memberof PickfacesApi
1265
1279
  */
1266
1280
  listPickfaces(requestParameters, options) {
1267
- return (0, exports.PickfacesApiFp)(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
1281
+ return (0, exports.PickfacesApiFp)(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(this.axios, this.basePath));
1268
1282
  }
1269
1283
  /**
1270
1284
  * Move stock from one pickface to another in a single transaction
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.23.0
8
+ * The version of the OpenAPI document: 0.24.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.23.0
8
+ * The version of the OpenAPI document: 0.24.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.23.0
8
+ * The version of the OpenAPI document: 0.24.0
9
9
  *
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
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -380,6 +380,12 @@ export interface PickfaceContentsInnerMetadata {
380
380
  * @memberof PickfaceContentsInnerMetadata
381
381
  */
382
382
  'title'?: string | null;
383
+ /**
384
+ * The SKU of the product
385
+ * @type {string}
386
+ * @memberof PickfaceContentsInnerMetadata
387
+ */
388
+ 'sku'?: string | null;
383
389
  /**
384
390
  * The image of the front of the product
385
391
  * @type {string}
@@ -803,10 +809,12 @@ export declare const PickfacesApiAxiosParamCreator: (configuration?: Configurati
803
809
  * @param {number} [pageToken] Page reference token
804
810
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
805
811
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
812
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
813
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
806
814
  * @param {*} [options] Override http request option.
807
815
  * @throws {RequiredError}
808
816
  */
809
- listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
817
+ listPickfaces: (project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
810
818
  /**
811
819
  * Move stock from one pickface to another in a single transaction
812
820
  * @summary Move stock
@@ -959,10 +967,12 @@ export declare const PickfacesApiFp: (configuration?: Configuration) => {
959
967
  * @param {number} [pageToken] Page reference token
960
968
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
961
969
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
970
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
971
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
962
972
  * @param {*} [options] Override http request option.
963
973
  * @throws {RequiredError}
964
974
  */
965
- listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
975
+ listPickfaces(project: string, search?: string, pageToken?: number, pageSize?: number, sortBy?: Array<ListPickfacesSortByEnum>, updatedStart?: string, updatedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPickfaces200Response>>;
966
976
  /**
967
977
  * Move stock from one pickface to another in a single transaction
968
978
  * @summary Move stock
@@ -1359,6 +1369,18 @@ export interface PickfacesApiListPickfacesRequest {
1359
1369
  * @memberof PickfacesApiListPickfaces
1360
1370
  */
1361
1371
  readonly sortBy?: Array<ListPickfacesSortByEnum>;
1372
+ /**
1373
+ * Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1374
+ * @type {string}
1375
+ * @memberof PickfacesApiListPickfaces
1376
+ */
1377
+ readonly updatedStart?: string;
1378
+ /**
1379
+ * End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
1380
+ * @type {string}
1381
+ * @memberof PickfacesApiListPickfaces
1382
+ */
1383
+ readonly updatedEnd?: string;
1362
1384
  }
1363
1385
  /**
1364
1386
  * Request parameters for moveStock operation in PickfacesApi.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -384,10 +384,12 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
384
384
  * @param {number} [pageToken] Page reference token
385
385
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
386
386
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
387
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
388
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
387
389
  * @param {*} [options] Override http request option.
388
390
  * @throws {RequiredError}
389
391
  */
390
- listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, options = {}) {
392
+ listPickfaces: (project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1) => __awaiter(this, [project_1, search_1, pageToken_1, pageSize_1, sortBy_1, updatedStart_1, updatedEnd_1, ...args_1], void 0, function* (project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options = {}) {
391
393
  // verify required parameter 'project' is not null or undefined
392
394
  assertParamExists('listPickfaces', 'project', project);
393
395
  const localVarPath = `/v1/pickfaces`;
@@ -420,6 +422,16 @@ export const PickfacesApiAxiosParamCreator = function (configuration) {
420
422
  if (sortBy) {
421
423
  localVarQueryParameter['sortBy'] = sortBy;
422
424
  }
425
+ if (updatedStart !== undefined) {
426
+ localVarQueryParameter['updatedStart'] = (updatedStart instanceof Date) ?
427
+ updatedStart.toISOString() :
428
+ updatedStart;
429
+ }
430
+ if (updatedEnd !== undefined) {
431
+ localVarQueryParameter['updatedEnd'] = (updatedEnd instanceof Date) ?
432
+ updatedEnd.toISOString() :
433
+ updatedEnd;
434
+ }
423
435
  setSearchParams(localVarUrlObj, localVarQueryParameter);
424
436
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
425
437
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -870,13 +882,15 @@ export const PickfacesApiFp = function (configuration) {
870
882
  * @param {number} [pageToken] Page reference token
871
883
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
872
884
  * @param {Array<ListPickfacesSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
885
+ * @param {string} [updatedStart] Start of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
886
+ * @param {string} [updatedEnd] End of date range to filter by when pickfaces were updated in the form of an an ISO 8601 string
873
887
  * @param {*} [options] Override http request option.
874
888
  * @throws {RequiredError}
875
889
  */
876
- listPickfaces(project, search, pageToken, pageSize, sortBy, options) {
890
+ listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options) {
877
891
  return __awaiter(this, void 0, void 0, function* () {
878
892
  var _a, _b, _c;
879
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, options);
893
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPickfaces(project, search, pageToken, pageSize, sortBy, updatedStart, updatedEnd, options);
880
894
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
881
895
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PickfacesApi.listPickfaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
882
896
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1090,7 +1104,7 @@ export const PickfacesApiFactory = function (configuration, basePath, axios) {
1090
1104
  * @throws {RequiredError}
1091
1105
  */
1092
1106
  listPickfaces(requestParameters, options) {
1093
- return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(axios, basePath));
1107
+ return localVarFp.listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(axios, basePath));
1094
1108
  },
1095
1109
  /**
1096
1110
  * Move stock from one pickface to another in a single transaction
@@ -1258,7 +1272,7 @@ export class PickfacesApi extends BaseAPI {
1258
1272
  * @memberof PickfacesApi
1259
1273
  */
1260
1274
  listPickfaces(requestParameters, options) {
1261
- return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
1275
+ return PickfacesApiFp(this.configuration).listPickfaces(requestParameters.project, requestParameters.search, requestParameters.pageToken, requestParameters.pageSize, requestParameters.sortBy, requestParameters.updatedStart, requestParameters.updatedEnd, options).then((request) => request(this.axios, this.basePath));
1262
1276
  }
1263
1277
  /**
1264
1278
  * Move stock from one pickface to another in a single transaction
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pickfaces API
3
3
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
4
4
  *
5
- * The version of the OpenAPI document: 0.23.0
5
+ * The version of the OpenAPI document: 0.24.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pickfaces API
6
6
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
7
7
  *
8
- * The version of the OpenAPI document: 0.23.0
8
+ * The version of the OpenAPI document: 0.24.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pickfaces API
5
5
  * Use this API to access your pickfaces. You must have the warehouse module installed to access this API.
6
6
  *
7
- * The version of the OpenAPI document: 0.23.0
7
+ * The version of the OpenAPI document: 0.24.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/pickfaces",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "OpenAPI client for @teemill/pickfaces",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {