kcommons 17.1.0 → 17.2.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.
@@ -307,6 +307,7 @@ export interface IPOFilters {
307
307
  vendor_id?: string;
308
308
  company_vendor_id?: string;
309
309
  name?: string;
310
+ status_array?: PO_STATUS[];
310
311
  list_type?: PO_LIST_TYPES;
311
312
  contact_person_id?: string;
312
313
  external_contact_person_id?: string;
@@ -53,9 +53,11 @@ export declare enum VES_INCLUDE {
53
53
  export interface IVESFilters {
54
54
  ves_requesting_entity_type: VES_REQUESTING_ENTITY_TYPE;
55
55
  parent_document_type?: VES_PARENT_DOCUMENT_TYPE | null;
56
+ /**@deprecated use Use status_array instead */
56
57
  status?: VES_STATUS | null;
57
58
  was_sent_to_store_location_without_confirmation?: boolean | null;
58
59
  name?: string | null;
60
+ status_array?: VES_STATUS[];
59
61
  include?: VES_INCLUDE[];
60
62
  metafields_include?: VES_METAFIELDS_INCLUDE[];
61
63
  }
@@ -46,6 +46,8 @@ export declare enum VENDOR_ONBOARDING_REQUEST_INCLUDES {
46
46
  export interface IVendorOnboardingRequestFilters {
47
47
  name?: string | null;
48
48
  list_type?: VENDOR_ONBOARDING_REQUEST_LIST_TYPE;
49
+ status_array?: VENDOR_ONBOARDING_REQUEST_STATUS[];
50
+ /**@deprecated use status_array insted */
49
51
  status?: VENDOR_ONBOARDING_REQUEST_STATUS | null;
50
52
  include?: VENDOR_ONBOARDING_REQUEST_INCLUDES[] | null;
51
53
  }
@@ -63,6 +63,7 @@ export declare enum COMPANY_DISTRIBUTOR_STATUS {
63
63
  export interface ICompanyDistributorFilters {
64
64
  name?: string;
65
65
  ids?: string[];
66
+ parent_company_distributor_category_id?: string;
66
67
  status_array?: COMPANY_DISTRIBUTOR_STATUS[];
67
68
  list_type?: COMPANY_DISTRIBUTOR_LIST_TYPE;
68
69
  include?: COMPANY_DISTRIBUTOR_INCLUDE[];
@@ -53,7 +53,9 @@ export interface IGRNFilters {
53
53
  department_id?: string;
54
54
  name?: string;
55
55
  list_type?: GRN_LIST_TYPES;
56
+ /**@deprecated use status_array insted */
56
57
  status?: GRN_STATUS;
58
+ status_array?: GRN_STATUS[];
57
59
  include?: GRN_INCLUDE[];
58
60
  metafields_include?: GRN_METAFIELDS_INCLUDE[];
59
61
  }
@@ -85,7 +85,9 @@ export interface IItemFilters {
85
85
  item_subcategory_id?: string | null;
86
86
  approved_by_requesting_user?: boolean | null;
87
87
  created_by_requesting_user?: boolean | null;
88
+ /**@deprecated use status_array insted */
88
89
  status?: ITEM_STATUS | null;
90
+ status_array?: ITEM_STATUS[];
89
91
  include?: ITEM_INCLUDE[] | null;
90
92
  }
91
93
  export interface IItemFiltersWithPagination extends IPaginationFilters, IItemFilters {
@@ -34,6 +34,7 @@ export interface IMIFilters extends Partial<Pick<IMI, "issued_for_non_onboarded_
34
34
  store_location_id?: string;
35
35
  list_type?: MI_LIST_TYPES;
36
36
  name?: string;
37
+ status_array?: MI_STATUS[];
37
38
  metafields_include?: MI_METAFIELDS_INCLUDE[];
38
39
  }
39
40
  export interface IMIFiltersWithPagination extends IPaginationFilters, IMIFilters {
@@ -43,7 +43,9 @@ export interface IMRNFilters {
43
43
  list_type?: MRN_LIST_TYPES;
44
44
  department_id?: string;
45
45
  store_location_id?: string;
46
+ /**@deprecated use status_array insted*/
46
47
  status?: MRN_STATUS;
48
+ status_array?: MRN_STATUS[];
47
49
  include?: MRN_INCLUDE[];
48
50
  metafields_include?: MRN_METAFIELDS_INCLUDE[];
49
51
  }
@@ -52,8 +52,10 @@ export interface IPRFilters {
52
52
  include?: PR_INCLUDE[];
53
53
  user_id?: string;
54
54
  name?: string;
55
+ /**@deprecated use status_array insted */
55
56
  status?: PR_STATUS;
56
57
  list_type?: PR_LIST_TYPE;
58
+ status_array?: PR_STATUS[];
57
59
  purchase_location_id?: string;
58
60
  metafields_include?: PR_METAFIELDS_INCLUDE[];
59
61
  }
@@ -32,6 +32,7 @@ export interface IRFQFilters {
32
32
  parent_purchase_location_id?: string;
33
33
  name?: string;
34
34
  list_type?: RFQ_LIST_TYPES;
35
+ status_array?: RFQ_STATUS[];
35
36
  include?: RFQ_INCLUDES[];
36
37
  metafields_include?: RFQ_METAFIELDS_INCLUDE[];
37
38
  }
@@ -36,6 +36,7 @@ export declare enum SUB_PO_METAFIELDS_INCLUDE {
36
36
  interface ISubPOFiltersBase {
37
37
  name?: string;
38
38
  parent_po_id?: string;
39
+ status_array?: SUB_PO_STATUS[];
39
40
  include?: SUB_PO_INCLUDES[];
40
41
  metafields_include?: SUB_PO_METAFIELDS_INCLUDE[];
41
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "17.1.0",
3
+ "version": "17.2.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",