@star-insure/sdk 0.1.12 → 0.1.15
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,6 +1,5 @@
|
|
|
1
1
|
import { Product, VehicleType } from "../../api";
|
|
2
2
|
import { Club } from "./Club";
|
|
3
|
-
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
4
3
|
import { Lead } from "./Lead";
|
|
5
4
|
import { PostalAddress } from "./PostalAddress";
|
|
6
5
|
import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
|
|
@@ -119,7 +118,11 @@ export interface QuoteRequestForm {
|
|
|
119
118
|
declaration: {
|
|
120
119
|
id?: number;
|
|
121
120
|
had_incident?: boolean;
|
|
122
|
-
incidents
|
|
121
|
+
incidents: {
|
|
122
|
+
year?: string;
|
|
123
|
+
month?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
}[];
|
|
123
126
|
has_demerit_points?: boolean;
|
|
124
127
|
demerit_points?: string;
|
|
125
128
|
has_lost_licence?: boolean;
|
|
@@ -160,7 +163,7 @@ export interface QuoteRequestForm {
|
|
|
160
163
|
licence_other?: string;
|
|
161
164
|
}[];
|
|
162
165
|
}[];
|
|
163
|
-
|
|
166
|
+
purchase_options?: {
|
|
164
167
|
id?: number;
|
|
165
168
|
level_of_insurance_id?: number;
|
|
166
169
|
sort_order?: number;
|
|
@@ -176,5 +179,5 @@ export interface QuoteRequestForm {
|
|
|
176
179
|
sold_at?: string;
|
|
177
180
|
is_paid?: boolean;
|
|
178
181
|
payment_frequency?: PaymentFrequency;
|
|
179
|
-
};
|
|
182
|
+
}[];
|
|
180
183
|
}
|
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.15",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Product, VehicleType } from "../../api";
|
|
2
2
|
import { Club } from "./Club";
|
|
3
|
-
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
4
3
|
import { Lead } from "./Lead";
|
|
5
4
|
import { PostalAddress } from "./PostalAddress";
|
|
6
5
|
import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
|
|
@@ -137,7 +136,11 @@ export interface QuoteRequestForm {
|
|
|
137
136
|
declaration: {
|
|
138
137
|
id?: number;
|
|
139
138
|
had_incident?: boolean;
|
|
140
|
-
incidents
|
|
139
|
+
incidents: {
|
|
140
|
+
year?: string;
|
|
141
|
+
month?: string;
|
|
142
|
+
description?: string;
|
|
143
|
+
}[];
|
|
141
144
|
has_demerit_points?: boolean;
|
|
142
145
|
demerit_points?: string;
|
|
143
146
|
has_lost_licence?: boolean;
|
|
@@ -180,7 +183,7 @@ export interface QuoteRequestForm {
|
|
|
180
183
|
}[];
|
|
181
184
|
}[],
|
|
182
185
|
|
|
183
|
-
|
|
186
|
+
purchase_options?: {
|
|
184
187
|
id?: number;
|
|
185
188
|
level_of_insurance_id?: number;
|
|
186
189
|
sort_order?: number;
|
|
@@ -196,5 +199,5 @@ export interface QuoteRequestForm {
|
|
|
196
199
|
sold_at?: string;
|
|
197
200
|
is_paid?: boolean;
|
|
198
201
|
payment_frequency?: PaymentFrequency;
|
|
199
|
-
},
|
|
202
|
+
}[],
|
|
200
203
|
}
|