@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.
@@ -1,6 +1,6 @@
1
1
  import { Product, VehicleType } from "../../api";
2
2
  import { Club } from "./Club";
3
- import { QuoteRequestIncident } from "./QuoteRequestForm";
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 "./QuoteRequestForm";
2
+ import { QuoteRequestIncident } from "./QuoteRequestIncident";
3
3
  export interface QuoteRequestDeclaration {
4
4
  id: number;
5
5
  quote_request_id: QuoteRequest['id'] | null;
@@ -10,4 +10,4 @@ export * from './Club';
10
10
  export * from './Lead';
11
11
  export * from './StreetAddress';
12
12
  export * from './PostalAddress';
13
- export * from './QuoteRequestForm';
13
+ export * from './QuoteRequestIncident';
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.6",
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 "./QuoteRequestForm";
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;
@@ -1,5 +1,5 @@
1
1
  import { QuoteRequest } from "./QuoteRequest";
2
- import { QuoteRequestIncident } from "./QuoteRequestForm";
2
+ import { QuoteRequestIncident } from "./QuoteRequestIncident";
3
3
 
4
4
  export interface QuoteRequestDeclaration {
5
5
  id: number;
@@ -10,4 +10,4 @@ export * from './Club';
10
10
  export * from './Lead';
11
11
  export * from './StreetAddress';
12
12
  export * from './PostalAddress';
13
- export * from './QuoteRequestForm';
13
+ export * from './QuoteRequestIncident';