kcommons 9.3.5 → 9.3.7

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.
@@ -43,7 +43,7 @@ export declare const vendorNavRoutes: {
43
43
  onboarding: {
44
44
  request_onboarding: (value: string) => string;
45
45
  svf: (token: string) => string;
46
- companyQuestionsForm: (company_proxy_id: string, vendor_proxy_id: string) => string;
46
+ companyQuestionsForm: (token: string) => string;
47
47
  lastSplashScreen: string;
48
48
  };
49
49
  };
@@ -46,7 +46,7 @@ exports.vendorNavRoutes = {
46
46
  onboarding: {
47
47
  request_onboarding: (value) => `/company-vendor/onboarding-request?${company_constants_1.COMPANY_PROXY_PARAM_NAME}=${value}`,
48
48
  svf: (token) => `/company-vendor/onboarding-request/svf?token=${token}`,
49
- companyQuestionsForm: (company_proxy_id, vendor_proxy_id) => `/company-vendor/onboarding-request/company-questions?token=${company_proxy_id}-${vendor_proxy_id}`,
49
+ companyQuestionsForm: (token) => `/company-vendor/onboarding-request/company-questions?token=${token}`,
50
50
  lastSplashScreen: "/company-vendor/splash",
51
51
  },
52
52
  };
package/build/index.d.ts CHANGED
@@ -63,6 +63,7 @@ export * from "./utils/taxes.util";
63
63
  export * from "./utils/parseQueryParams.util";
64
64
  export * from "./utils/getContactPerson.util";
65
65
  export * from "./utils/quote.util";
66
+ export * from "./utils/getCompanyQuestionFormLinktoken.util";
66
67
  export * from "./templates/notifications/rfq.notifications";
67
68
  export * from "./templates/notifications/po.notifications";
68
69
  export * from "./templates/notifications/quote.notifications";
package/build/index.js CHANGED
@@ -83,6 +83,7 @@ __exportStar(require("./utils/taxes.util"), exports);
83
83
  __exportStar(require("./utils/parseQueryParams.util"), exports);
84
84
  __exportStar(require("./utils/getContactPerson.util"), exports);
85
85
  __exportStar(require("./utils/quote.util"), exports);
86
+ __exportStar(require("./utils/getCompanyQuestionFormLinktoken.util"), exports);
86
87
  // Templates
87
88
  __exportStar(require("./templates/notifications/rfq.notifications"), exports);
88
89
  __exportStar(require("./templates/notifications/po.notifications"), exports);
@@ -0,0 +1,9 @@
1
+ interface IRes {
2
+ token: string;
3
+ }
4
+ interface IArgs {
5
+ comany_proxy_id: string;
6
+ vendor_proxy_id: string;
7
+ }
8
+ export declare function getCompanyQuestionFormLinkToken({ comany_proxy_id, vendor_proxy_id, }: IArgs): IRes;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getCompanyQuestionFormLinkToken = getCompanyQuestionFormLinkToken;
4
+ function getCompanyQuestionFormLinkToken({ comany_proxy_id, vendor_proxy_id, }) {
5
+ return {
6
+ token: `${comany_proxy_id}_${vendor_proxy_id}`,
7
+ };
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.3.5",
3
+ "version": "9.3.7",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",