plac-micro-common 1.3.78 → 1.3.80

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.
@@ -115,10 +115,10 @@ interface IHealthAdditionalQuestionInfo {
115
115
  q15_detail: string;
116
116
  q16: boolean;
117
117
  q16_detail: string;
118
- q17_a: boolean;
119
- q17_a_detail: string;
120
- q17_b: boolean;
121
- q17_b_detail: string;
118
+ q17: boolean;
119
+ q17_detail: string;
120
+ q18: boolean;
121
+ q18_detail: string;
122
122
  }
123
123
  interface IHealthInfo {
124
124
  height: string;
@@ -5,49 +5,65 @@ export interface IQuotationFormData {
5
5
  footer_info: string;
6
6
  }
7
7
  interface IQuotationHeaderInfo {
8
+ quotation_no?: string | null;
8
9
  ph_full_name: string;
9
10
  la_full_name: string;
10
- dob_year: string;
11
- dob_month: string;
12
- dob_day: string;
11
+ dob?: string;
12
+ dob_year: number;
13
+ dob_month: number;
14
+ dob_day: number;
13
15
  gender: string;
14
- age: string;
16
+ gender_kh?: string;
17
+ age: number;
15
18
  payment_mode: string;
19
+ payment_mode_kh?: string;
16
20
  currency: string;
21
+ currency_kh?: string;
17
22
  basic: IQuotationProductInfo;
18
- rider: IQuotationProductInfo;
19
- total_premium_mode: string;
20
- total_premium_annual: string;
21
- total_premium_after_discount: string;
23
+ rider: IQuotationProductInfo | null;
24
+ total_premium_mode: number;
25
+ total_premium_annual: number;
26
+ total_premium_after_discount: number;
22
27
  }
23
28
  interface IQuotationProductInfo {
24
29
  name: string;
25
- policy_term: string;
26
- payment_term: string;
27
- sum_assured: string;
28
- premium_mode: string;
29
- premium_annual: string;
30
- premium_after_discount: string;
30
+ name_kh?: string;
31
+ product_code?: string;
32
+ policy_term: number;
33
+ payment_term?: number;
34
+ sum_assured: number;
35
+ premium_mode: number;
36
+ premium_annual: number;
37
+ premium_after_discount: number;
31
38
  }
32
39
  interface IBenefitRowInfo {
33
- policy_year: string;
34
- age: string;
35
- premium_basic: string;
36
- premium_rider: string;
37
- premium_total: string;
38
- sa_death_tpd_illness: string;
39
- sa_death_tpd_accident: string;
40
- sa_ci_early_stage: string;
41
- sa_ci_later_stage: string;
42
- guaranteed_cash_value: string;
40
+ policy_year: number;
41
+ age: number;
42
+ premium_basic: number;
43
+ premium_rider: number;
44
+ premium_total: number;
45
+ sa_death_tpd_illness: number;
46
+ sa_death_tpd_accident: number;
47
+ sa_ci_early_stage: number;
48
+ sa_ci_later_stage: number;
49
+ guaranteed_cash_value: number;
50
+ cash_payout_payable_every_year: number;
51
+ survival_benefit: number;
52
+ tpd_family_income: number;
53
+ surrender_value: number;
54
+ total_survival_benefit: number;
43
55
  }
44
56
  interface IQuotationBenefitInfo {
45
57
  rows: IBenefitRowInfo[];
46
- total_guaranteed_cash_value: string;
58
+ total_guaranteed_cash_value: number;
59
+ total_survival_benefit_value: number;
47
60
  }
48
61
  interface IQuotationSignatureInfo {
49
62
  advisor_name: string;
63
+ advisor_name_kh?: string;
50
64
  advisor_code: string;
65
+ advisor_phone?: string | null;
66
+ advisor_email?: string | null;
51
67
  advisor_signature_date: string;
52
68
  applicant_name: string;
53
69
  printed_date: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.3.78",
3
+ "version": "1.3.80",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {