kcommons 12.5.6 → 13.0.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.
@@ -44,6 +44,8 @@ export interface IVendor extends IAddress {
44
44
  iso_attachment_link: string | null;
45
45
  cancelled_cheque_attachment_link: string | null;
46
46
  profile_img: string | null;
47
+ svf_form_status: VENDOR_SVF_FORM_STATUS | null;
48
+ svf_rollback_remark: string | null;
47
49
  is_enabled: boolean;
48
50
  is_deleted: boolean | null;
49
51
  deleted_at: string | null;
@@ -60,9 +62,14 @@ export interface IVendor extends IAddress {
60
62
  invoices: INestedInvoice[] | null;
61
63
  contact_people: INestedVendorContactPeople[] | null;
62
64
  }
65
+ export declare enum VENDOR_SVF_FORM_STATUS {
66
+ SENT = "SENT",
67
+ ANSWERED = "ANSWERED",
68
+ ROLLED_BACK = "ROLLED_BACK"
69
+ }
63
70
  export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications" | "extra_que_answers" | "pos" | "company_item_versions" | "invoices" | "contact_people"> {
64
71
  }
65
- export interface IVendorInputs extends Omit<IVendor, "id" | "created_at" | "updated_at" | "is_profile_complete" | "is_profile_verified" | "is_self_verified" | "deleted_at" | "is_deleted" | "vendor" | "vkraya_id" | "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "pos" | "vendor_notifications" | "password" | "extra_que_answers" | "company_item_versions" | "invoices" | "contact_people" | "is_invitation_sent" | "is_enabled"> {
72
+ export interface IVendorInputs extends Omit<IVendor, "id" | "created_at" | "updated_at" | "is_profile_complete" | "is_profile_verified" | "is_self_verified" | "deleted_at" | "is_deleted" | "vendor" | "vkraya_id" | "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "pos" | "vendor_notifications" | "password" | "extra_que_answers" | "company_item_versions" | "invoices" | "contact_people" | "is_invitation_sent" | "is_enabled" | "svf_form_status" | "svf_rollback_remark"> {
66
73
  }
67
74
  export declare enum VENDOR_INCLUDE {
68
75
  quotes = "quotes",
@@ -76,10 +83,6 @@ export declare enum VENDOR_INCLUDE {
76
83
  invoices = "invoices",
77
84
  contact_people = "contact_people"
78
85
  }
79
- export interface IVENDOR_TOKEN_PAYLOAD {
80
- id: string;
81
- jwtVersion: string;
82
- }
83
86
  export declare enum VENDOR_TYPE {
84
87
  MFG = "Manufracturing",
85
88
  TRD = "Traders",
@@ -114,3 +117,10 @@ export declare enum VENDOR_LINKABLE_FIELDS_FOR_EXTRA_FORMS {
114
117
  cancelled_cheque_attachment_link = "cancelled_cheque_attachment_link",
115
118
  profile_img = "profile_img"
116
119
  }
120
+ export interface IVENDOR_TOKEN_PAYLOAD {
121
+ id: string;
122
+ jwtVersion: string;
123
+ }
124
+ export interface IVENDOR_SVF_TOKEN_PAYLOAD {
125
+ vendor_id: string;
126
+ }
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VENDOR_LINKABLE_FIELDS_FOR_EXTRA_FORMS = exports.VENDOR_TYPE = exports.VENDOR_INCLUDE = void 0;
3
+ exports.VENDOR_LINKABLE_FIELDS_FOR_EXTRA_FORMS = exports.VENDOR_TYPE = exports.VENDOR_INCLUDE = exports.VENDOR_SVF_FORM_STATUS = void 0;
4
+ var VENDOR_SVF_FORM_STATUS;
5
+ (function (VENDOR_SVF_FORM_STATUS) {
6
+ VENDOR_SVF_FORM_STATUS["SENT"] = "SENT";
7
+ VENDOR_SVF_FORM_STATUS["ANSWERED"] = "ANSWERED";
8
+ VENDOR_SVF_FORM_STATUS["ROLLED_BACK"] = "ROLLED_BACK";
9
+ })(VENDOR_SVF_FORM_STATUS || (exports.VENDOR_SVF_FORM_STATUS = VENDOR_SVF_FORM_STATUS = {}));
4
10
  var VENDOR_INCLUDE;
5
11
  (function (VENDOR_INCLUDE) {
6
12
  VENDOR_INCLUDE["quotes"] = "quotes";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "12.5.6",
3
+ "version": "13.0.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,6 +0,0 @@
1
- export declare enum SETTINGS_TABS {
2
- USERPROFILE = "userprofile",
3
- COMPANY_SETTINGS = "company_settings",
4
- BILLING = "billing",
5
- COMPANY_VENDORS = "company_vendors"
6
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SETTINGS_TABS = void 0;
4
- var SETTINGS_TABS;
5
- (function (SETTINGS_TABS) {
6
- SETTINGS_TABS["USERPROFILE"] = "userprofile";
7
- SETTINGS_TABS["COMPANY_SETTINGS"] = "company_settings";
8
- SETTINGS_TABS["BILLING"] = "billing";
9
- SETTINGS_TABS["COMPANY_VENDORS"] = "company_vendors";
10
- })(SETTINGS_TABS || (exports.SETTINGS_TABS = SETTINGS_TABS = {}));