kcommons 18.10.2 → 18.10.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.
@@ -1,9 +1,9 @@
1
1
  import { DATE_TIME_UNITS } from "../constants/date.constants";
2
2
  import { COMPANY_CONFIG_MRN_DISPUTE_RESOLUTION_METHODS, INestedCompany, PRICING_PLANS } from "./company.typings";
3
3
  export declare enum COMPANY_PLUGINS {
4
+ AADHAR_VERIFICATION_MODULE = "AADHAR_VERIFICATION_MODULE",
4
5
  ACCOUNT_PAYABLES_AUTOMATION_MODULE = "ACCOUNT_PAYABLES_AUTOMATION_MODULE",
5
- AADHAAR_VERIFICATION = "AADHAAR_VERIFICATION",
6
- CUSTOMER_MODULE = "CUSTOMER_MODULE"
6
+ COMPANY_CUSTOMER_MODULE = "COMPANY_CUSTOMER_MODULE"
7
7
  }
8
8
  export interface ICompanyConfig {
9
9
  id: string;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.COMPANY_CONFIG_INCLUDE = exports.COMPANY_PLUGINS = void 0;
4
4
  var COMPANY_PLUGINS;
5
5
  (function (COMPANY_PLUGINS) {
6
+ COMPANY_PLUGINS["AADHAR_VERIFICATION_MODULE"] = "AADHAR_VERIFICATION_MODULE";
6
7
  COMPANY_PLUGINS["ACCOUNT_PAYABLES_AUTOMATION_MODULE"] = "ACCOUNT_PAYABLES_AUTOMATION_MODULE";
7
- COMPANY_PLUGINS["AADHAAR_VERIFICATION"] = "AADHAAR_VERIFICATION";
8
- COMPANY_PLUGINS["CUSTOMER_MODULE"] = "CUSTOMER_MODULE";
8
+ COMPANY_PLUGINS["COMPANY_CUSTOMER_MODULE"] = "COMPANY_CUSTOMER_MODULE";
9
9
  })(COMPANY_PLUGINS || (exports.COMPANY_PLUGINS = COMPANY_PLUGINS = {}));
10
10
  var COMPANY_CONFIG_INCLUDE;
11
11
  (function (COMPANY_CONFIG_INCLUDE) {
@@ -108,6 +108,13 @@ export interface IMRN {
108
108
  deleted_at: string | null;
109
109
  created_at: string;
110
110
  updated_at: string;
111
+ batch_number: string | null;
112
+ mfg_date: string | null;
113
+ best_before_date: string | null;
114
+ net_weight: number | null;
115
+ pack_size: string | null;
116
+ no_of_pack: string | null;
117
+ total_value: number | null;
111
118
  company: INestedCompany | null;
112
119
  parent_grn: INestedGRN | null;
113
120
  parent_department: INestedDepartment | null;
@@ -42,10 +42,11 @@ export interface ISupplierInvoice {
42
42
  eway_bill_no: string | null;
43
43
  transporter_name: string | null;
44
44
  vehicle_no: string | null;
45
- attachment_link: string | null;
45
+ attachments: string[];
46
46
  remarks: string | null;
47
47
  rejection_reason: string | null;
48
48
  cancellation_reason: string | null;
49
+ confidence_score: number | null;
49
50
  marked_as_cancelled_by_user_id: string | null;
50
51
  marked_as_verified_by_user_id: string | null;
51
52
  created_by_vendor_user_id: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "18.10.2",
3
+ "version": "18.10.4",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",