@star-insure/sdk 3.2.16 → 3.3.1

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.
@@ -6,7 +6,7 @@ import { Lead } from "./Lead";
6
6
  import { PostalAddress } from "./PostalAddress";
7
7
  import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
8
8
  import { QuoteRequestLog } from "./QuoteRequestLog";
9
- import { QuoteRequestPurchaseOption, QuoteRequestPurchaseOptionSummary } from "./QuoteRequestPurchaseOption";
9
+ import { QuoteRequestPurchaseOption } from "./QuoteRequestPurchaseOption";
10
10
  import { QuoteRequestReferrer } from "./QuoteRequestReferrer";
11
11
  import { QuoteRequestReferrerCategory } from "./QuoteRequestReferrerCategory";
12
12
  import { QuoteRequestVehicle } from "./QuoteRequestVehicle";
@@ -53,7 +53,7 @@ export interface QuoteRequest {
53
53
  length_of_insurance?: string;
54
54
  theme?: string;
55
55
  notes?: string;
56
- purchase_option_summaries?: QuoteRequestPurchaseOptionSummary[];
56
+ purchase_options_summary?: string;
57
57
  secondary_first_name?: string;
58
58
  secondary_last_name?: string;
59
59
  secondary_licence?: string;
@@ -35,8 +35,3 @@ export interface LevelOfInsurance {
35
35
  id: number;
36
36
  name: string;
37
37
  }
38
- export interface QuoteRequestPurchaseOptionSummary {
39
- id?: number;
40
- description?: string;
41
- premium?: number;
42
- }
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": "3.2.16",
5
+ "version": "3.3.1",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -25,7 +25,8 @@
25
25
  "lint": "tsdx lint",
26
26
  "prepare": "tsdx build",
27
27
  "size": "size-limit",
28
- "analyze": "size-limit --why"
28
+ "analyze": "size-limit --why",
29
+ "publish": "np"
29
30
  },
30
31
  "husky": {
31
32
  "hooks": {
@@ -198,7 +198,7 @@ export function FilterItem({ filter }: { filter: FilterOption, path?: string })
198
198
  </div>
199
199
  }>
200
200
  <form
201
- className={`mt-2 flex max-h-[350px] min-w-[200px] max-w-[220px] flex-col gap-2 rounded-md border border-gray-300 bg-white p-4 shadow-lg ${ filter.type && filter.type === 'select' ? '' : 'overflow-y-scroll'}`}
201
+ className={`mt-2 flex max-h-[350px] min-w-[200px] max-w-[260px] flex-col gap-2 rounded-md border border-gray-300 bg-white p-4 shadow-lg ${ filter.type && filter.type === 'select' ? '' : 'overflow-y-scroll'}`}
202
202
  onSubmit={handleApply}
203
203
  >
204
204
  <div className="flex flex-col items-start gap-1">
@@ -284,7 +284,7 @@ export function FilterItem({ filter }: { filter: FilterOption, path?: string })
284
284
  <Select
285
285
  isMulti
286
286
  options={filter.options}
287
- className="basic-multi-select text-sm w-64 !transition-none"
287
+ className="basic-multi-select text-xs w-52 !transition-none"
288
288
  classNamePrefix="select"
289
289
  onChange={handleSelectedOptions}
290
290
  components={{
@@ -6,7 +6,7 @@ import { Lead } from "./Lead";
6
6
  import { PostalAddress } from "./PostalAddress";
7
7
  import { QuoteRequestDeclaration } from "./QuoteRequestDeclaration";
8
8
  import { QuoteRequestLog } from "./QuoteRequestLog";
9
- import { QuoteRequestPurchaseOption, QuoteRequestPurchaseOptionSummary } from "./QuoteRequestPurchaseOption";
9
+ import { QuoteRequestPurchaseOption } from "./QuoteRequestPurchaseOption";
10
10
  import { QuoteRequestReferrer } from "./QuoteRequestReferrer";
11
11
  import { QuoteRequestReferrerCategory } from "./QuoteRequestReferrerCategory";
12
12
  import { QuoteRequestVehicle } from "./QuoteRequestVehicle";
@@ -60,7 +60,7 @@ export interface QuoteRequest {
60
60
  length_of_insurance?: string;
61
61
  theme?: string;
62
62
  notes?: string;
63
- purchase_option_summaries?: QuoteRequestPurchaseOptionSummary[];
63
+ purchase_options_summary?: string;
64
64
  secondary_first_name?: string;
65
65
  secondary_last_name?: string;
66
66
  secondary_licence?: string;
@@ -42,9 +42,3 @@ export interface LevelOfInsurance {
42
42
  id: number;
43
43
  name: string;
44
44
  }
45
-
46
- export interface QuoteRequestPurchaseOptionSummary {
47
- id?: number;
48
- description?: string;
49
- premium?: number;
50
- }