@star-insure/sdk 0.1.13 → 0.1.16
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.
- package/dist/types/models/quotes/QuoteRequest.d.ts +1 -104
- package/dist/types/models/quotes/QuoteRequestForm.d.ts +111 -0
- package/dist/types/models/quotes/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/types/models/quotes/QuoteRequest.ts +1 -112
- package/src/types/models/quotes/QuoteRequestForm.ts +118 -0
- package/src/types/models/quotes/index.ts +2 -0
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { Product, VehicleType } from "../../api";
|
|
2
1
|
import { Club } from "./Club";
|
|
3
|
-
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
4
2
|
import { Lead } from "./Lead";
|
|
5
3
|
import { PostalAddress } from "./PostalAddress";
|
|
6
4
|
import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
|
|
7
5
|
import { QuoteRequestLog } from "./QuoteRequestLog";
|
|
8
|
-
import {
|
|
6
|
+
import { QuoteRequestPurchaseOption } from "./QuoteRequestPurchaseOption";
|
|
9
7
|
import { QuoteRequestReferrer } from "./QuoteRequestReferrer";
|
|
10
8
|
import { QuoteRequestReferrerCategory } from "./QuoteRequestReferrerCategory";
|
|
11
9
|
import { QuoteRequestVehicle } from "./QuoteRequestVehicle";
|
|
@@ -77,104 +75,3 @@ export interface QuoteRequest {
|
|
|
77
75
|
purchase_options?: QuoteRequestPurchaseOption[];
|
|
78
76
|
logs?: QuoteRequestLog[];
|
|
79
77
|
}
|
|
80
|
-
export interface QuoteRequestForm {
|
|
81
|
-
id?: string;
|
|
82
|
-
status?: QuoteRequestStatus;
|
|
83
|
-
source?: QuoteRequestSource;
|
|
84
|
-
reference?: string;
|
|
85
|
-
client_number?: string;
|
|
86
|
-
first_name?: string;
|
|
87
|
-
last_name?: string;
|
|
88
|
-
phone?: string;
|
|
89
|
-
mobile?: string;
|
|
90
|
-
email?: string;
|
|
91
|
-
licence?: string;
|
|
92
|
-
licence_other?: string;
|
|
93
|
-
promo_code?: string;
|
|
94
|
-
club_membership_number?: string;
|
|
95
|
-
broker_fee?: number;
|
|
96
|
-
length_of_insurance?: string;
|
|
97
|
-
theme?: string;
|
|
98
|
-
dob?: string;
|
|
99
|
-
sold_at?: string;
|
|
100
|
-
sent_at?: string;
|
|
101
|
-
pricing_expires_at?: string;
|
|
102
|
-
follow_up_at?: string;
|
|
103
|
-
referrer_id?: QuoteRequestReferrer['id'];
|
|
104
|
-
referrer_category_id?: QuoteRequestReferrerCategory['id'];
|
|
105
|
-
staff_member_id?: QuoteRequestUser['id'];
|
|
106
|
-
agent_id?: QuoteRequestUser['id'];
|
|
107
|
-
agent_firm_id?: QuoteRequestUserGroup['id'];
|
|
108
|
-
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
109
|
-
broker_id?: QuoteRequestUser['id'];
|
|
110
|
-
club_id?: Club['id'];
|
|
111
|
-
street_address: {
|
|
112
|
-
id?: number;
|
|
113
|
-
address?: string;
|
|
114
|
-
unit?: string;
|
|
115
|
-
suburb?: string;
|
|
116
|
-
city?: string;
|
|
117
|
-
post_code?: string;
|
|
118
|
-
};
|
|
119
|
-
declaration: {
|
|
120
|
-
id?: number;
|
|
121
|
-
had_incident?: boolean;
|
|
122
|
-
incidents: QuoteRequestIncident[];
|
|
123
|
-
has_demerit_points?: boolean;
|
|
124
|
-
demerit_points?: string;
|
|
125
|
-
has_lost_licence?: boolean;
|
|
126
|
-
lost_licence_details?: string;
|
|
127
|
-
was_refused_insurance?: boolean;
|
|
128
|
-
refused_insurance_details?: string;
|
|
129
|
-
has_criminal_conviction?: boolean;
|
|
130
|
-
criminal_conviction_details?: string;
|
|
131
|
-
has_vehicle_modifications?: boolean;
|
|
132
|
-
vehicle_modifications_details?: string;
|
|
133
|
-
has_previous_insurer?: boolean;
|
|
134
|
-
previous_insurer_details?: string;
|
|
135
|
-
previous_insurer_expires_at?: string;
|
|
136
|
-
additional_details?: string;
|
|
137
|
-
};
|
|
138
|
-
vehicles: {
|
|
139
|
-
id?: number;
|
|
140
|
-
vehicle_type?: VehicleType;
|
|
141
|
-
registration?: string;
|
|
142
|
-
make?: string;
|
|
143
|
-
model?: string;
|
|
144
|
-
year?: string;
|
|
145
|
-
usage?: string;
|
|
146
|
-
product?: Product;
|
|
147
|
-
has_financially_interested_party?: boolean;
|
|
148
|
-
financially_interested_party_detail?: string;
|
|
149
|
-
owned_duration?: string;
|
|
150
|
-
value?: number;
|
|
151
|
-
storage_location?: string;
|
|
152
|
-
is_heavy?: boolean;
|
|
153
|
-
drivers: {
|
|
154
|
-
id?: number;
|
|
155
|
-
first_name?: string;
|
|
156
|
-
last_name?: string;
|
|
157
|
-
dob?: string;
|
|
158
|
-
relationship?: string;
|
|
159
|
-
licence?: string;
|
|
160
|
-
licence_other?: string;
|
|
161
|
-
}[];
|
|
162
|
-
}[];
|
|
163
|
-
purchaseOptions?: {
|
|
164
|
-
id?: number;
|
|
165
|
-
level_of_insurance_id?: number;
|
|
166
|
-
sort_order?: number;
|
|
167
|
-
description?: string;
|
|
168
|
-
base_premium?: number;
|
|
169
|
-
premium?: number;
|
|
170
|
-
monthly_premium?: number;
|
|
171
|
-
show_monthly?: boolean;
|
|
172
|
-
fsl?: number;
|
|
173
|
-
gst?: number;
|
|
174
|
-
premium_type?: PremiumType;
|
|
175
|
-
policy_starts_at?: string;
|
|
176
|
-
sold_at?: string;
|
|
177
|
-
is_paid?: boolean;
|
|
178
|
-
payment_frequency?: PaymentFrequency;
|
|
179
|
-
};
|
|
180
|
-
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Product, VehicleType } from "../../api";
|
|
2
|
+
import { Club } from "./Club";
|
|
3
|
+
import { QuoteRequestSource, QuoteRequestStatus, QuoteRequestUser, QuoteRequestUserGroup } from "./QuoteRequest";
|
|
4
|
+
import { PaymentFrequency, PremiumType } from "./QuoteRequestPurchaseOption";
|
|
5
|
+
import { QuoteRequestReferrer } from "./QuoteRequestReferrer";
|
|
6
|
+
import { QuoteRequestReferrerCategory } from "./QuoteRequestReferrerCategory";
|
|
7
|
+
export interface QuoteRequestForm {
|
|
8
|
+
id?: string;
|
|
9
|
+
status?: QuoteRequestStatus;
|
|
10
|
+
source?: QuoteRequestSource;
|
|
11
|
+
reference?: string;
|
|
12
|
+
client_number?: string;
|
|
13
|
+
first_name?: string;
|
|
14
|
+
last_name?: string;
|
|
15
|
+
phone?: string;
|
|
16
|
+
mobile?: string;
|
|
17
|
+
email?: string;
|
|
18
|
+
licence?: string;
|
|
19
|
+
licence_other?: string;
|
|
20
|
+
promo_code?: string;
|
|
21
|
+
club_membership_number?: string;
|
|
22
|
+
broker_fee?: number;
|
|
23
|
+
length_of_insurance?: string;
|
|
24
|
+
theme?: string;
|
|
25
|
+
dob?: string;
|
|
26
|
+
sold_at?: string;
|
|
27
|
+
sent_at?: string;
|
|
28
|
+
pricing_expires_at?: string;
|
|
29
|
+
follow_up_at?: string;
|
|
30
|
+
referrer_id?: QuoteRequestReferrer['id'];
|
|
31
|
+
referrer_category_id?: QuoteRequestReferrerCategory['id'];
|
|
32
|
+
staff_member_id?: QuoteRequestUser['id'];
|
|
33
|
+
agent_id?: QuoteRequestUser['id'];
|
|
34
|
+
agent_firm_id?: QuoteRequestUserGroup['id'];
|
|
35
|
+
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
36
|
+
broker_id?: QuoteRequestUser['id'];
|
|
37
|
+
club_id?: Club['id'];
|
|
38
|
+
street_address: {
|
|
39
|
+
id?: number;
|
|
40
|
+
address?: string;
|
|
41
|
+
unit?: string;
|
|
42
|
+
suburb?: string;
|
|
43
|
+
city?: string;
|
|
44
|
+
post_code?: string;
|
|
45
|
+
};
|
|
46
|
+
declaration: {
|
|
47
|
+
id?: number;
|
|
48
|
+
had_incident?: boolean;
|
|
49
|
+
incidents: {
|
|
50
|
+
year?: string;
|
|
51
|
+
month?: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
}[];
|
|
54
|
+
has_demerit_points?: boolean;
|
|
55
|
+
demerit_points?: string;
|
|
56
|
+
has_lost_licence?: boolean;
|
|
57
|
+
lost_licence_details?: string;
|
|
58
|
+
was_refused_insurance?: boolean;
|
|
59
|
+
refused_insurance_details?: string;
|
|
60
|
+
has_criminal_conviction?: boolean;
|
|
61
|
+
criminal_conviction_details?: string;
|
|
62
|
+
has_vehicle_modifications?: boolean;
|
|
63
|
+
vehicle_modifications_details?: string;
|
|
64
|
+
has_previous_insurer?: boolean;
|
|
65
|
+
previous_insurer_details?: string;
|
|
66
|
+
previous_insurer_expires_at?: string;
|
|
67
|
+
additional_details?: string;
|
|
68
|
+
};
|
|
69
|
+
vehicles: {
|
|
70
|
+
id?: number;
|
|
71
|
+
vehicle_type?: VehicleType;
|
|
72
|
+
registration?: string;
|
|
73
|
+
make?: string;
|
|
74
|
+
model?: string;
|
|
75
|
+
year?: string;
|
|
76
|
+
usage?: string;
|
|
77
|
+
product?: Product;
|
|
78
|
+
has_financially_interested_party?: boolean;
|
|
79
|
+
financially_interested_party_detail?: string;
|
|
80
|
+
owned_duration?: string;
|
|
81
|
+
value?: number;
|
|
82
|
+
storage_location?: string;
|
|
83
|
+
is_heavy?: boolean;
|
|
84
|
+
drivers: {
|
|
85
|
+
id?: number;
|
|
86
|
+
first_name?: string;
|
|
87
|
+
last_name?: string;
|
|
88
|
+
dob?: string;
|
|
89
|
+
relationship?: string;
|
|
90
|
+
licence?: string;
|
|
91
|
+
licence_other?: string;
|
|
92
|
+
}[];
|
|
93
|
+
}[];
|
|
94
|
+
purchase_options: {
|
|
95
|
+
id?: number;
|
|
96
|
+
level_of_insurance_id?: number;
|
|
97
|
+
sort_order?: number;
|
|
98
|
+
description?: string;
|
|
99
|
+
base_premium?: number;
|
|
100
|
+
premium?: number;
|
|
101
|
+
monthly_premium?: number;
|
|
102
|
+
show_monthly?: boolean;
|
|
103
|
+
fsl?: number;
|
|
104
|
+
gst?: number;
|
|
105
|
+
premium_type?: PremiumType;
|
|
106
|
+
policy_starts_at?: string;
|
|
107
|
+
sold_at?: string;
|
|
108
|
+
is_paid?: boolean;
|
|
109
|
+
payment_frequency?: PaymentFrequency;
|
|
110
|
+
}[];
|
|
111
|
+
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@star-insure/sdk",
|
|
3
3
|
"description": "The SDK for Star Insure client apps with shared helper functions and TypeScript definitions.",
|
|
4
4
|
"author": "alexclark_nz",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.16",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { Product, VehicleType } from "../../api";
|
|
2
1
|
import { Club } from "./Club";
|
|
3
|
-
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
4
2
|
import { Lead } from "./Lead";
|
|
5
3
|
import { PostalAddress } from "./PostalAddress";
|
|
6
4
|
import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
|
|
7
5
|
import { QuoteRequestLog } from "./QuoteRequestLog";
|
|
8
|
-
import {
|
|
6
|
+
import { QuoteRequestPurchaseOption } from "./QuoteRequestPurchaseOption";
|
|
9
7
|
import { QuoteRequestReferrer } from "./QuoteRequestReferrer";
|
|
10
8
|
import { QuoteRequestReferrerCategory } from "./QuoteRequestReferrerCategory";
|
|
11
9
|
import { QuoteRequestVehicle } from "./QuoteRequestVehicle";
|
|
@@ -89,112 +87,3 @@ export interface QuoteRequest {
|
|
|
89
87
|
purchase_options?: QuoteRequestPurchaseOption[];
|
|
90
88
|
logs?: QuoteRequestLog[];
|
|
91
89
|
}
|
|
92
|
-
|
|
93
|
-
export interface QuoteRequestForm {
|
|
94
|
-
id?: string;
|
|
95
|
-
status?: QuoteRequestStatus;
|
|
96
|
-
source?: QuoteRequestSource;
|
|
97
|
-
reference?: string;
|
|
98
|
-
client_number?: string;
|
|
99
|
-
first_name?: string;
|
|
100
|
-
last_name?: string;
|
|
101
|
-
phone?: string;
|
|
102
|
-
mobile?: string;
|
|
103
|
-
email?: string;
|
|
104
|
-
licence?: string;
|
|
105
|
-
licence_other?: string;
|
|
106
|
-
promo_code?: string;
|
|
107
|
-
club_membership_number?: string;
|
|
108
|
-
broker_fee?: number;
|
|
109
|
-
length_of_insurance?: string;
|
|
110
|
-
theme?: string;
|
|
111
|
-
|
|
112
|
-
dob?: string;
|
|
113
|
-
sold_at?: string;
|
|
114
|
-
sent_at?: string;
|
|
115
|
-
pricing_expires_at?: string;
|
|
116
|
-
follow_up_at?: string;
|
|
117
|
-
|
|
118
|
-
// Foreign keys
|
|
119
|
-
referrer_id?: QuoteRequestReferrer['id'];
|
|
120
|
-
referrer_category_id?: QuoteRequestReferrerCategory['id'];
|
|
121
|
-
staff_member_id?: QuoteRequestUser['id'];
|
|
122
|
-
agent_id?: QuoteRequestUser['id'];
|
|
123
|
-
agent_firm_id?: QuoteRequestUserGroup['id'];
|
|
124
|
-
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
125
|
-
broker_id?: QuoteRequestUser['id'];
|
|
126
|
-
club_id?: Club['id'];
|
|
127
|
-
|
|
128
|
-
street_address: {
|
|
129
|
-
id?: number;
|
|
130
|
-
address?: string;
|
|
131
|
-
unit?: string;
|
|
132
|
-
suburb?: string;
|
|
133
|
-
city?: string;
|
|
134
|
-
post_code?: string;
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
declaration: {
|
|
138
|
-
id?: number;
|
|
139
|
-
had_incident?: boolean;
|
|
140
|
-
incidents: QuoteRequestIncident[];
|
|
141
|
-
has_demerit_points?: boolean;
|
|
142
|
-
demerit_points?: string;
|
|
143
|
-
has_lost_licence?: boolean;
|
|
144
|
-
lost_licence_details?: string;
|
|
145
|
-
was_refused_insurance?: boolean;
|
|
146
|
-
refused_insurance_details?: string;
|
|
147
|
-
has_criminal_conviction?: boolean;
|
|
148
|
-
criminal_conviction_details?: string;
|
|
149
|
-
has_vehicle_modifications?: boolean;
|
|
150
|
-
vehicle_modifications_details?: string;
|
|
151
|
-
has_previous_insurer?: boolean;
|
|
152
|
-
previous_insurer_details?: string;
|
|
153
|
-
previous_insurer_expires_at?: string;
|
|
154
|
-
additional_details?: string;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
vehicles: {
|
|
158
|
-
id?: number;
|
|
159
|
-
vehicle_type?: VehicleType;
|
|
160
|
-
registration?: string;
|
|
161
|
-
make?: string;
|
|
162
|
-
model?: string;
|
|
163
|
-
year?: string;
|
|
164
|
-
usage?: string;
|
|
165
|
-
product?: Product;
|
|
166
|
-
has_financially_interested_party?: boolean;
|
|
167
|
-
financially_interested_party_detail?: string;
|
|
168
|
-
owned_duration?: string;
|
|
169
|
-
value?: number;
|
|
170
|
-
storage_location?: string;
|
|
171
|
-
is_heavy?: boolean;
|
|
172
|
-
drivers: {
|
|
173
|
-
id?: number;
|
|
174
|
-
first_name?: string;
|
|
175
|
-
last_name?: string;
|
|
176
|
-
dob?: string;
|
|
177
|
-
relationship?: string;
|
|
178
|
-
licence?: string;
|
|
179
|
-
licence_other?: string;
|
|
180
|
-
}[];
|
|
181
|
-
}[],
|
|
182
|
-
|
|
183
|
-
purchaseOptions?: {
|
|
184
|
-
id?: number;
|
|
185
|
-
level_of_insurance_id?: number;
|
|
186
|
-
sort_order?: number;
|
|
187
|
-
description?: string;
|
|
188
|
-
base_premium?: number;
|
|
189
|
-
premium?: number;
|
|
190
|
-
monthly_premium?: number;
|
|
191
|
-
show_monthly?: boolean;
|
|
192
|
-
fsl?: number;
|
|
193
|
-
gst?: number;
|
|
194
|
-
premium_type?: PremiumType;
|
|
195
|
-
policy_starts_at?: string;
|
|
196
|
-
sold_at?: string;
|
|
197
|
-
is_paid?: boolean;
|
|
198
|
-
payment_frequency?: PaymentFrequency;
|
|
199
|
-
},
|
|
200
|
-
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Product, VehicleType } from "../../api";
|
|
2
|
+
import { Club } from "./Club";
|
|
3
|
+
import { QuoteRequestSource, QuoteRequestStatus, QuoteRequestUser, QuoteRequestUserGroup } from "./QuoteRequest";
|
|
4
|
+
import { PaymentFrequency, PremiumType } from "./QuoteRequestPurchaseOption";
|
|
5
|
+
import { QuoteRequestReferrer } from "./QuoteRequestReferrer";
|
|
6
|
+
import { QuoteRequestReferrerCategory } from "./QuoteRequestReferrerCategory";
|
|
7
|
+
|
|
8
|
+
export interface QuoteRequestForm {
|
|
9
|
+
id?: string;
|
|
10
|
+
status?: QuoteRequestStatus;
|
|
11
|
+
source?: QuoteRequestSource;
|
|
12
|
+
reference?: string;
|
|
13
|
+
client_number?: string;
|
|
14
|
+
first_name?: string;
|
|
15
|
+
last_name?: string;
|
|
16
|
+
phone?: string;
|
|
17
|
+
mobile?: string;
|
|
18
|
+
email?: string;
|
|
19
|
+
licence?: string;
|
|
20
|
+
licence_other?: string;
|
|
21
|
+
promo_code?: string;
|
|
22
|
+
club_membership_number?: string;
|
|
23
|
+
broker_fee?: number;
|
|
24
|
+
length_of_insurance?: string;
|
|
25
|
+
theme?: string;
|
|
26
|
+
|
|
27
|
+
dob?: string;
|
|
28
|
+
sold_at?: string;
|
|
29
|
+
sent_at?: string;
|
|
30
|
+
pricing_expires_at?: string;
|
|
31
|
+
follow_up_at?: string;
|
|
32
|
+
|
|
33
|
+
referrer_id?: QuoteRequestReferrer['id'];
|
|
34
|
+
referrer_category_id?: QuoteRequestReferrerCategory['id'];
|
|
35
|
+
staff_member_id?: QuoteRequestUser['id'];
|
|
36
|
+
agent_id?: QuoteRequestUser['id'];
|
|
37
|
+
agent_firm_id?: QuoteRequestUserGroup['id'];
|
|
38
|
+
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
39
|
+
broker_id?: QuoteRequestUser['id'];
|
|
40
|
+
club_id?: Club['id'];
|
|
41
|
+
|
|
42
|
+
street_address: {
|
|
43
|
+
id?: number;
|
|
44
|
+
address?: string;
|
|
45
|
+
unit?: string;
|
|
46
|
+
suburb?: string;
|
|
47
|
+
city?: string;
|
|
48
|
+
post_code?: string;
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
declaration: {
|
|
52
|
+
id?: number;
|
|
53
|
+
had_incident?: boolean;
|
|
54
|
+
incidents: {
|
|
55
|
+
year?: string;
|
|
56
|
+
month?: string;
|
|
57
|
+
description?: string;
|
|
58
|
+
}[];
|
|
59
|
+
has_demerit_points?: boolean;
|
|
60
|
+
demerit_points?: string;
|
|
61
|
+
has_lost_licence?: boolean;
|
|
62
|
+
lost_licence_details?: string;
|
|
63
|
+
was_refused_insurance?: boolean;
|
|
64
|
+
refused_insurance_details?: string;
|
|
65
|
+
has_criminal_conviction?: boolean;
|
|
66
|
+
criminal_conviction_details?: string;
|
|
67
|
+
has_vehicle_modifications?: boolean;
|
|
68
|
+
vehicle_modifications_details?: string;
|
|
69
|
+
has_previous_insurer?: boolean;
|
|
70
|
+
previous_insurer_details?: string;
|
|
71
|
+
previous_insurer_expires_at?: string;
|
|
72
|
+
additional_details?: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
vehicles: {
|
|
76
|
+
id?: number;
|
|
77
|
+
vehicle_type?: VehicleType;
|
|
78
|
+
registration?: string;
|
|
79
|
+
make?: string;
|
|
80
|
+
model?: string;
|
|
81
|
+
year?: string;
|
|
82
|
+
usage?: string;
|
|
83
|
+
product?: Product;
|
|
84
|
+
has_financially_interested_party?: boolean;
|
|
85
|
+
financially_interested_party_detail?: string;
|
|
86
|
+
owned_duration?: string;
|
|
87
|
+
value?: number;
|
|
88
|
+
storage_location?: string;
|
|
89
|
+
is_heavy?: boolean;
|
|
90
|
+
drivers: {
|
|
91
|
+
id?: number;
|
|
92
|
+
first_name?: string;
|
|
93
|
+
last_name?: string;
|
|
94
|
+
dob?: string;
|
|
95
|
+
relationship?: string;
|
|
96
|
+
licence?: string;
|
|
97
|
+
licence_other?: string;
|
|
98
|
+
}[];
|
|
99
|
+
}[],
|
|
100
|
+
|
|
101
|
+
purchase_options: {
|
|
102
|
+
id?: number;
|
|
103
|
+
level_of_insurance_id?: number;
|
|
104
|
+
sort_order?: number;
|
|
105
|
+
description?: string;
|
|
106
|
+
base_premium?: number;
|
|
107
|
+
premium?: number;
|
|
108
|
+
monthly_premium?: number;
|
|
109
|
+
show_monthly?: boolean;
|
|
110
|
+
fsl?: number;
|
|
111
|
+
gst?: number;
|
|
112
|
+
premium_type?: PremiumType;
|
|
113
|
+
policy_starts_at?: string;
|
|
114
|
+
sold_at?: string;
|
|
115
|
+
is_paid?: boolean;
|
|
116
|
+
payment_frequency?: PaymentFrequency;
|
|
117
|
+
}[],
|
|
118
|
+
}
|