@star-insure/sdk 1.1.17 → 1.1.18

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.
@@ -0,0 +1,20 @@
1
+ import { User } from "../auth";
2
+ export interface BlacklistEntry {
3
+ id?: number;
4
+ created_at?: string;
5
+ name?: string;
6
+ description?: string;
7
+ profiles?: BlacklistEntryProfile[];
8
+ user_id?: number;
9
+ user?: User;
10
+ }
11
+ export interface BlacklistEntryProfile {
12
+ id?: number;
13
+ created_at?: string;
14
+ email?: string;
15
+ client_number?: string;
16
+ phone?: string;
17
+ mobile?: string;
18
+ registration?: string;
19
+ blacklist_entry_id: BlacklistEntry['id'];
20
+ }
@@ -1,3 +1,4 @@
1
+ import { BlacklistEntry } from "./Blacklist";
1
2
  import { Club } from "./Club";
2
3
  import { InformationRequest } from "./InformationRequest";
3
4
  import { Lead } from "./Lead";
@@ -62,6 +63,7 @@ export interface QuoteRequest {
62
63
  broker_id?: QuoteRequestUser['id'];
63
64
  club_id?: Club['id'];
64
65
  lead_id?: Lead['id'];
66
+ blacklist_entry_id?: BlacklistEntry['id'];
65
67
  declaration?: QuoteRequestDeclaration;
66
68
  street_address?: StreetAddress;
67
69
  postal_address?: PostalAddress;
@@ -85,4 +87,5 @@ export interface QuoteRequest {
85
87
  purchase_options_pdf: string;
86
88
  documentation_pdf: string;
87
89
  };
90
+ blacklist_entry?: BlacklistEntry;
88
91
  }
@@ -20,3 +20,4 @@ export * from './InformationRequest';
20
20
  export * from './EmailContentOption';
21
21
  export * from './MotorwebVehicle';
22
22
  export * from './PromoCode';
23
+ export * from './Blacklist';
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": "1.1.17",
5
+ "version": "1.1.18",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -0,0 +1,22 @@
1
+ import { User } from "../auth";
2
+
3
+ export interface BlacklistEntry {
4
+ id?: number;
5
+ created_at?: string;
6
+ name?: string;
7
+ description?: string;
8
+ profiles?: BlacklistEntryProfile[];
9
+ user_id?: number;
10
+ user?: User;
11
+ }
12
+
13
+ export interface BlacklistEntryProfile {
14
+ id?: number;
15
+ created_at?: string;
16
+ email?: string;
17
+ client_number?: string;
18
+ phone?: string;
19
+ mobile?: string;
20
+ registration?: string;
21
+ blacklist_entry_id: BlacklistEntry['id'];
22
+ }
@@ -1,3 +1,4 @@
1
+ import { BlacklistEntry } from "./Blacklist";
1
2
  import { Club } from "./Club";
2
3
  import { InformationRequest } from "./InformationRequest";
3
4
  import { Lead } from "./Lead";
@@ -72,6 +73,7 @@ export interface QuoteRequest {
72
73
  broker_id?: QuoteRequestUser['id'];
73
74
  club_id?: Club['id'];
74
75
  lead_id?: Lead['id'];
76
+ blacklist_entry_id?: BlacklistEntry['id'];
75
77
 
76
78
  // Relationships
77
79
  declaration?: QuoteRequestDeclaration;
@@ -96,5 +98,6 @@ export interface QuoteRequest {
96
98
  purchase_preview: string;
97
99
  purchase_options_pdf: string;
98
100
  documentation_pdf: string;
99
- }
101
+ },
102
+ blacklist_entry?: BlacklistEntry;
100
103
  }
@@ -20,3 +20,4 @@ export * from './InformationRequest';
20
20
  export * from './EmailContentOption';
21
21
  export * from './MotorwebVehicle';
22
22
  export * from './PromoCode';
23
+ export * from './Blacklist';