kcommons 5.23.1 → 5.23.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.
@@ -2,6 +2,8 @@ import { INotificationTemplate } from "../../typings/notifications.typings";
2
2
  export declare const QUOTE_NOTIFICATION_TEMPLATES: {
3
3
  /** For company to notify that the vendor has quoted */
4
4
  vendorHasQuoted(comparative_id: string, vendor_trade_name: string, rfq_no: string): INotificationTemplate;
5
+ /** Notification to person of the company who sent the RFQ to vendors stating that the vendor has updated his RFQ */
6
+ vendorUpdatedQuote(comparative_id: string, vendor_trade_name: string, rfq_no: string): INotificationTemplate;
5
7
  /** For vendor to notify new negotiation message has been received from company */
6
8
  companyInitiatedNegotiation(company_trade_name: string, rfq_no: string, quote_id: string): INotificationTemplate;
7
9
  };
@@ -12,6 +12,14 @@ exports.QUOTE_NOTIFICATION_TEMPLATES = {
12
12
  action_link: companyRoutes_constants_1.companyNavConfig.purchase.comparative.view(comparative_id),
13
13
  };
14
14
  },
15
+ /** Notification to person of the company who sent the RFQ to vendors stating that the vendor has updated his RFQ */
16
+ vendorUpdatedQuote(comparative_id, vendor_trade_name, rfq_no) {
17
+ return {
18
+ title: `Vendor Updated Quote`,
19
+ description: `${vendor_trade_name} has updated his quote on ${rfq_no}`,
20
+ action_link: companyRoutes_constants_1.companyNavConfig.purchase.comparative.view(comparative_id),
21
+ };
22
+ },
15
23
  /** For vendor to notify new negotiation message has been received from company */
16
24
  companyInitiatedNegotiation(company_trade_name, rfq_no, quote_id) {
17
25
  return {
@@ -41,7 +41,7 @@ export interface IItem {
41
41
  created_by: string;
42
42
  approved_by_id?: string;
43
43
  item_subcategory_id?: string;
44
- item_classification: string;
44
+ item_classification?: string | null;
45
45
  item_tax_preference: string;
46
46
  code_sku: string;
47
47
  uom: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.23.1",
3
+ "version": "5.23.3",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",