ls-pro-common 3.1.30 → 3.1.31

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.
@@ -152,6 +152,7 @@ export declare const getSeason: (params?: any) => Promise<any>;
152
152
  * @returns
153
153
  */
154
154
  export declare const getCategory: (params?: any) => Promise<any>;
155
+ export declare const getSupplier: (params?: any) => Promise<any>;
155
156
  declare const mdmMap: {
156
157
  owner: (params?: any) => Promise<any>;
157
158
  store: (params?: any) => Promise<any>;
@@ -178,6 +179,7 @@ declare const mdmMap: {
178
179
  year: (params?: any) => Promise<any>;
179
180
  season: (params?: any) => Promise<any>;
180
181
  category: (params?: any) => Promise<any>;
182
+ supplier: (params?: any) => Promise<any>;
181
183
  };
182
184
  export declare type MdmType = keyof typeof mdmMap;
183
185
  export declare const getMdmData: (type: MdmType, params?: any) => Promise<any>;
@@ -335,6 +335,12 @@ export var getCategory = function getCategory() {
335
335
  var url = '/lesoon-mdm-center-api/bmCategory/page';
336
336
  return httpGetWithCache('category', url, params);
337
337
  };
338
+ export var getSupplier = function getSupplier() {
339
+ var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
340
+ setPageSize(params);
341
+ var url = '/lesoon-mdm-center-api/bmSupplier/page';
342
+ return httpGetWithCache('supplier', url, params);
343
+ };
338
344
  var mdmMap = {
339
345
  owner: getOwner,
340
346
  store: getStore,
@@ -360,7 +366,8 @@ var mdmMap = {
360
366
  gender: getGender,
361
367
  year: getYear,
362
368
  season: getSeason,
363
- category: getCategory
369
+ category: getCategory,
370
+ supplier: getSupplier
364
371
  };
365
372
  export var getMdmData = function getMdmData(type) {
366
373
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -152,6 +152,7 @@ export declare const getSeason: (params?: any) => Promise<any>;
152
152
  * @returns
153
153
  */
154
154
  export declare const getCategory: (params?: any) => Promise<any>;
155
+ export declare const getSupplier: (params?: any) => Promise<any>;
155
156
  declare const mdmMap: {
156
157
  owner: (params?: any) => Promise<any>;
157
158
  store: (params?: any) => Promise<any>;
@@ -178,6 +179,7 @@ declare const mdmMap: {
178
179
  year: (params?: any) => Promise<any>;
179
180
  season: (params?: any) => Promise<any>;
180
181
  category: (params?: any) => Promise<any>;
182
+ supplier: (params?: any) => Promise<any>;
181
183
  };
182
184
  export declare type MdmType = keyof typeof mdmMap;
183
185
  export declare const getMdmData: (type: MdmType, params?: any) => Promise<any>;
@@ -335,6 +335,12 @@ export var getCategory = function getCategory() {
335
335
  var url = '/lesoon-mdm-center-api/bmCategory/page';
336
336
  return httpGetWithCache('category', url, params);
337
337
  };
338
+ export var getSupplier = function getSupplier() {
339
+ var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
340
+ setPageSize(params);
341
+ var url = '/lesoon-mdm-center-api/bmSupplier/page';
342
+ return httpGetWithCache('supplier', url, params);
343
+ };
338
344
  var mdmMap = {
339
345
  owner: getOwner,
340
346
  store: getStore,
@@ -360,7 +366,8 @@ var mdmMap = {
360
366
  gender: getGender,
361
367
  year: getYear,
362
368
  season: getSeason,
363
- category: getCategory
369
+ category: getCategory,
370
+ supplier: getSupplier
364
371
  };
365
372
  export var getMdmData = function getMdmData(type) {
366
373
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.1.30",
3
+ "version": "3.1.31",
4
4
  "description": "ls-pro-common",
5
5
  "license": "MIT",
6
6
  "sideEffects": [