kcommons 18.9.2 → 18.9.4

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.
@@ -636,6 +636,14 @@ export declare const companyNavConfig: {
636
636
  id: COMPANY_ROUTE_IDS;
637
637
  };
638
638
  };
639
+ gi: {
640
+ list: {
641
+ route: string;
642
+ };
643
+ view: {
644
+ route: (invoice_id: string) => string;
645
+ };
646
+ };
639
647
  };
640
648
  purchase: {
641
649
  rfq: {
@@ -871,4 +879,46 @@ export declare const companyNavConfig: {
871
879
  };
872
880
  };
873
881
  };
882
+ accounts: {
883
+ invoices: {
884
+ list: {
885
+ route: string;
886
+ };
887
+ add: {
888
+ route: string;
889
+ };
890
+ edit: {
891
+ route: (invoice_id: string) => string;
892
+ };
893
+ view: {
894
+ route: (invoice_id: string) => string;
895
+ };
896
+ };
897
+ imrs: {
898
+ list: {
899
+ route: string;
900
+ };
901
+ view: {
902
+ route: (imr_id: string) => string;
903
+ };
904
+ };
905
+ };
906
+ quality: {
907
+ qcd: {
908
+ list: {
909
+ route: string;
910
+ };
911
+ view: {
912
+ route: (invoice_id: string) => string;
913
+ };
914
+ };
915
+ gi: {
916
+ list: {
917
+ route: string;
918
+ };
919
+ view: {
920
+ route: (grn_id: string) => string;
921
+ };
922
+ };
923
+ };
874
924
  };
@@ -653,6 +653,14 @@ exports.companyNavConfig = {
653
653
  id: COMPANY_ROUTE_IDS.VES_SL_VIEW,
654
654
  },
655
655
  },
656
+ gi: {
657
+ list: {
658
+ route: `/store/gate-inwards`,
659
+ },
660
+ view: {
661
+ route: (invoice_id) => `/store/gate-inwards/${invoice_id}/view`,
662
+ },
663
+ },
656
664
  },
657
665
  purchase: {
658
666
  rfq: {
@@ -895,4 +903,46 @@ exports.companyNavConfig = {
895
903
  },
896
904
  },
897
905
  },
906
+ accounts: {
907
+ invoices: {
908
+ list: {
909
+ route: `/accounts/invoices`,
910
+ },
911
+ add: {
912
+ route: `/accounts/invoices/add`,
913
+ },
914
+ edit: {
915
+ route: (invoice_id) => `/accounts/invoices/${invoice_id}/edit`,
916
+ },
917
+ view: {
918
+ route: (invoice_id) => `/accounts/invoices/${invoice_id}/view`,
919
+ },
920
+ },
921
+ imrs: {
922
+ list: {
923
+ route: `/accounts/imrs`,
924
+ },
925
+ view: {
926
+ route: (imr_id) => `/accounts/imrs/${imr_id}`,
927
+ },
928
+ },
929
+ },
930
+ quality: {
931
+ qcd: {
932
+ list: {
933
+ route: `/quality/quality-clearance-document`,
934
+ },
935
+ view: {
936
+ route: (invoice_id) => `/quality/quality-clearance-document/${invoice_id}/view`,
937
+ },
938
+ },
939
+ gi: {
940
+ list: {
941
+ route: `/quality/gate-inwards`,
942
+ },
943
+ view: {
944
+ route: (grn_id) => `/quality/gate-inwards/${grn_id}/view`,
945
+ },
946
+ },
947
+ },
898
948
  };
@@ -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.4",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",