plac-micro-common 1.2.82 → 1.2.85

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,7 +1,7 @@
1
1
  export * from "./_base.type";
2
2
  export * from "./auth.type";
3
3
  export * from "./auth_info.type";
4
- export * from './application.type';
4
+ export * from "./application.type";
5
5
  export * from "./business.type";
6
6
  export * from "./customer.type";
7
7
  export * from "./general.type";
@@ -12,3 +12,4 @@ export * from "./product.type";
12
12
  export * from "./promotion.type";
13
13
  export * from "./staff.type";
14
14
  export * from "./quotation.type";
15
+ export * from "./pdf-form";
@@ -28,3 +28,4 @@ __exportStar(require("./product.type"), exports);
28
28
  __exportStar(require("./promotion.type"), exports);
29
29
  __exportStar(require("./staff.type"), exports);
30
30
  __exportStar(require("./quotation.type"), exports);
31
+ __exportStar(require("./pdf-form"), exports);
@@ -0,0 +1 @@
1
+ export * from "./sio-pdf-form.type";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./sio-pdf-form.type"), exports);
@@ -0,0 +1,79 @@
1
+ export type SIOGender = "M" | "F";
2
+ export type SIOMaritalStatus = "single" | "married" | "divorced" | "widowed";
3
+ export type SIOIdentityType = "nid" | "passport" | "birth" | "other";
4
+ export type SIOPaymentMethodType = "transfer" | "cash";
5
+ export interface ISIOBranchStaffAppInfo {
6
+ branch_name: string;
7
+ branch_code: string;
8
+ advisor_name: string;
9
+ advisor_code: string;
10
+ bank_staff_name: string;
11
+ bank_staff_code: string;
12
+ application_no: string;
13
+ }
14
+ export interface ISIOApplicantInfo {
15
+ full_name: string;
16
+ full_name_kh: string;
17
+ gender: SIOGender;
18
+ marital_status: SIOMaritalStatus;
19
+ occupation: string;
20
+ identity_type: SIOIdentityType;
21
+ identity_other_description: string;
22
+ identity_no: string;
23
+ date_of_birth: string;
24
+ age: string;
25
+ nationality: string;
26
+ phone_number: string;
27
+ current_address: string;
28
+ }
29
+ export interface ISIOFatcaInfo {
30
+ is_fatca: boolean;
31
+ us_tin_no: string;
32
+ fatca_exempt_code: string;
33
+ }
34
+ export interface ISIOProductInfo {
35
+ name: string;
36
+ term: string;
37
+ sum_assured: string;
38
+ payment_mode: string;
39
+ premium: string;
40
+ }
41
+ export interface ISIOProductPaymentInfo {
42
+ products: ISIOProductInfo[];
43
+ payment_method: SIOPaymentMethodType;
44
+ }
45
+ export interface ISIOBeneficiaryInfo {
46
+ full_name: string;
47
+ age: string;
48
+ relationship: string;
49
+ id_number: string;
50
+ percentage: string;
51
+ }
52
+ export interface ISIOHealthInfo {
53
+ height: string;
54
+ weight: string;
55
+ is_smoke: boolean;
56
+ smoke_detail: string;
57
+ is_drink_alcohol: boolean;
58
+ drink_alcohol_detail: string;
59
+ is_hospitalized: boolean;
60
+ hospitalized_detail: string;
61
+ is_diagnosed: boolean;
62
+ diagnosed_detail: string;
63
+ }
64
+ export interface ISIOSignatureInfo {
65
+ applicant_name: string;
66
+ applicant_signature_date: string;
67
+ witness_name: string;
68
+ witness_signature_date: string;
69
+ }
70
+ export interface ISIOFormData {
71
+ logo?: string;
72
+ branch_staff_app_info: ISIOBranchStaffAppInfo;
73
+ applicant_info: ISIOApplicantInfo;
74
+ fatca_info: ISIOFatcaInfo;
75
+ product_payment_info: ISIOProductPaymentInfo;
76
+ beneficiary_info: ISIOBeneficiaryInfo[];
77
+ health_info: ISIOHealthInfo;
78
+ signature_info: ISIOSignatureInfo;
79
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.2.82",
3
+ "version": "1.2.85",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {