kcommons 18.9.2 → 18.9.3

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.
@@ -871,4 +871,46 @@ export declare const companyNavConfig: {
871
871
  };
872
872
  };
873
873
  };
874
+ accounts: {
875
+ invoices: {
876
+ list: {
877
+ route: string;
878
+ };
879
+ add: {
880
+ route: string;
881
+ };
882
+ edit: {
883
+ route: (invoice_id: string) => string;
884
+ };
885
+ view: {
886
+ route: (invoice_id: string) => string;
887
+ };
888
+ };
889
+ imrs: {
890
+ list: {
891
+ route: string;
892
+ };
893
+ view: {
894
+ route: (imr_id: string) => string;
895
+ };
896
+ };
897
+ };
898
+ quality: {
899
+ qcd: {
900
+ list: {
901
+ route: string;
902
+ };
903
+ view: {
904
+ route: (invoice_id: string) => string;
905
+ };
906
+ };
907
+ gi: {
908
+ list: {
909
+ route: string;
910
+ };
911
+ view: {
912
+ route: (grn_id: string) => string;
913
+ };
914
+ };
915
+ };
874
916
  };
@@ -895,4 +895,46 @@ exports.companyNavConfig = {
895
895
  },
896
896
  },
897
897
  },
898
+ accounts: {
899
+ invoices: {
900
+ list: {
901
+ route: `/accounts/invoices`,
902
+ },
903
+ add: {
904
+ route: `/accounts/invoices/add`,
905
+ },
906
+ edit: {
907
+ route: (invoice_id) => `/accounts/invoices/${invoice_id}/edit`,
908
+ },
909
+ view: {
910
+ route: (invoice_id) => `/accounts/invoices/${invoice_id}/view`,
911
+ },
912
+ },
913
+ imrs: {
914
+ list: {
915
+ route: `/accounts/imrs`,
916
+ },
917
+ view: {
918
+ route: (imr_id) => `/accounts/imrs/${imr_id}`,
919
+ },
920
+ },
921
+ },
922
+ quality: {
923
+ qcd: {
924
+ list: {
925
+ route: `/quality/quality-clearance-document`,
926
+ },
927
+ view: {
928
+ route: (invoice_id) => `/quality/quality-clearance-document/${invoice_id}/view`,
929
+ },
930
+ },
931
+ gi: {
932
+ list: {
933
+ route: `/quality/gate-inwards`,
934
+ },
935
+ view: {
936
+ route: (grn_id) => `/quality/gate-inwards/${grn_id}/view`,
937
+ },
938
+ },
939
+ },
898
940
  };
@@ -90,6 +90,7 @@ export interface INestedQualityClearanceDocumentItem extends Omit<IQualityCleara
90
90
  }
91
91
  export interface IQCDFilters extends Partial<Pick<IQualityClearanceDocument, "company_id" | "parent_qa_location_id" | "parent_grn_id" | "status" | "is_approved" | "created_by_user_id" | "last_updated_by_user_id" | "cancelled_by_user_id">> {
92
92
  include?: QCD_INCLUDE[] | null;
93
+ status_array?: QCD_STATUS[];
93
94
  }
94
95
  export interface IQCDFiltersWithPagination extends IQCDFilters, IPaginationFilters {
95
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "18.9.2",
3
+ "version": "18.9.3",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",