@star-insure/sdk 0.1.6 → 0.1.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.
- package/dist/types/models/quotes/QuoteRequest.d.ts +9 -1
- package/dist/types/models/quotes/QuoteRequestDeclaration.d.ts +1 -1
- package/dist/types/models/quotes/{QuoteRequestForm.d.ts → QuoteRequestIncident.d.ts} +0 -0
- package/dist/types/models/quotes/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/types/models/quotes/QuoteRequest.ts +10 -1
- package/src/types/models/quotes/QuoteRequestDeclaration.ts +1 -1
- package/src/types/models/quotes/{QuoteRequestForm.ts → QuoteRequestIncident.ts} +0 -0
- package/src/types/models/quotes/index.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Product, VehicleType } from "../../api";
|
|
2
2
|
import { Club } from "./Club";
|
|
3
|
-
import { QuoteRequestIncident } from "./
|
|
3
|
+
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
4
4
|
import { Lead } from "./Lead";
|
|
5
5
|
import { PostalAddress } from "./PostalAddress";
|
|
6
6
|
import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
|
|
@@ -108,6 +108,14 @@ export interface QuoteRequestForm {
|
|
|
108
108
|
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
109
109
|
broker_id?: QuoteRequestUser['id'];
|
|
110
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
|
+
};
|
|
111
119
|
declaration: {
|
|
112
120
|
id?: number;
|
|
113
121
|
had_incident?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QuoteRequest } from "./QuoteRequest";
|
|
2
|
-
import { QuoteRequestIncident } from "./
|
|
2
|
+
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
3
3
|
export interface QuoteRequestDeclaration {
|
|
4
4
|
id: number;
|
|
5
5
|
quote_request_id: QuoteRequest['id'] | null;
|
|
File without changes
|
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.7",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Product, VehicleType } from "../../api";
|
|
2
2
|
import { Club } from "./Club";
|
|
3
|
-
import { QuoteRequestIncident } from "./
|
|
3
|
+
import { QuoteRequestIncident } from "./QuoteRequestIncident";
|
|
4
4
|
import { Lead } from "./Lead";
|
|
5
5
|
import { PostalAddress } from "./PostalAddress";
|
|
6
6
|
import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
|
|
@@ -125,6 +125,15 @@ export interface QuoteRequestForm {
|
|
|
125
125
|
broker_id?: QuoteRequestUser['id'];
|
|
126
126
|
club_id?: Club['id'];
|
|
127
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
|
+
|
|
128
137
|
declaration: {
|
|
129
138
|
id?: number;
|
|
130
139
|
had_incident?: boolean;
|
|
File without changes
|