@mychoice/mychoice-sdk-modules 2.1.68 → 2.1.70

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,3 @@
1
+ import { SdkFC } from '../../../interfaces';
2
+ import { VehicleOfferCoverageProps } from '../interfaces';
3
+ export declare const VehicleOfferCoverage: SdkFC<VehicleOfferCoverageProps>;
@@ -0,0 +1,9 @@
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
+ export type VehicleOfferCoverageProps = {
3
+ annualPremium: number;
4
+ code: string;
5
+ deductible: string;
6
+ limit1: string;
7
+ limit2: string;
8
+ };
9
+ export declare const VehicleOfferCoverage: SdkFC<VehicleOfferCoverageProps>;
@@ -0,0 +1,7 @@
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
+ import { CarQuoteCoverageInterface, CarQuoteItemInterface } from '@mychoice/mychoice-sdk-store';
3
+ export type VehicleOfferCoverageProps = {
4
+ coverages: CarQuoteCoverageInterface[];
5
+ nonStandardCoverages?: CarQuoteItemInterface['nonStandardCoverages'];
6
+ };
7
+ export declare const VehicleOfferCoverages: SdkFC<VehicleOfferCoverageProps>;
@@ -1,4 +1,4 @@
1
- import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface } from '@mychoice/mychoice-sdk-components';
1
+ import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface, SizeTypes } from '@mychoice/mychoice-sdk-components';
2
2
  import { LabelFormBoxProps } from '../LabelFormBox/interface';
3
3
  export type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
4
4
  name: string;
@@ -9,4 +9,5 @@ export type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
9
9
  errorMessage?: any;
10
10
  hintMessage?: string;
11
11
  autoSelectIfValueIsOutOfOptions?: boolean;
12
+ size?: SizeTypes;
12
13
  };
@@ -1,5 +1,6 @@
1
1
  import { OfferDetailInfoProps, OfferDetailTitleProps, OperationHoursInfoProps, PriceInterface } from '@mychoice/mychoice-sdk-components';
2
2
  import { PhoneObjectInterface } from '../../../insurances';
3
+ import { CarQuoteCoverageInterface, CarQuoteItemInterface } from '@mychoice/mychoice-sdk-store';
3
4
  export type OfferSectionProps = {
4
5
  phoneNumber?: PhoneObjectInterface;
5
6
  offerCompany?: OfferDetailTitleProps & OfferDetailInfoProps;
@@ -9,4 +10,6 @@ export type OfferSectionProps = {
9
10
  operationHours?: OperationHoursInfoProps;
10
11
  redirectUrl?: string;
11
12
  fulfillmentUrl?: string;
13
+ coverages?: CarQuoteCoverageInterface[];
14
+ nonStandardCoverages?: CarQuoteItemInterface['nonStandardCoverages'];
12
15
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _mychoice_mychoice_sdk_components from '@mychoice/mychoice-sdk-components';
2
- import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SdkElement, SelectOptionGroupInterface, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
2
+ import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SdkElement, SelectOptionGroupInterface, SizeTypes, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
3
+ import { CarQuoteCoverageInterface, CarQuoteItemInterface } from '@mychoice/mychoice-sdk-store';
3
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
5
  import * as react from 'react';
5
6
 
@@ -98,6 +99,7 @@ type SelectFormBoxProps$1 = DefaultInputProps & LabelFormBoxProps & {
98
99
  errorMessage?: any;
99
100
  hintMessage?: string;
100
101
  autoSelectIfValueIsOutOfOptions?: boolean;
102
+ size?: SizeTypes;
101
103
  };
102
104
 
103
105
  declare const SelectFormBox: SdkFC<SelectFormBoxProps$1>;
@@ -146,6 +148,8 @@ type OfferSectionProps = {
146
148
  operationHours?: OperationHoursInfoProps;
147
149
  redirectUrl?: string;
148
150
  fulfillmentUrl?: string;
151
+ coverages?: CarQuoteCoverageInterface[];
152
+ nonStandardCoverages?: CarQuoteItemInterface['nonStandardCoverages'];
149
153
  };
150
154
 
151
155
  declare const OfferSection: SdkFC<OfferSectionProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mychoice/mychoice-sdk-modules",
3
- "version": "2.1.68",
3
+ "version": "2.1.70",
4
4
  "description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",
5
5
  "keywords": [],
6
6
  "author": "GogMes",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
32
32
  "dependencies": {
33
- "@mychoice/mychoice-sdk-components": "^2.1.67",
34
- "@mychoice/mychoice-sdk-store": "^2.1.67",
33
+ "@mychoice/mychoice-sdk-components": "^2.1.69",
34
+ "@mychoice/mychoice-sdk-store": "^2.1.70",
35
35
  "@types/react-gtm-module": "^2.0.1",
36
36
  "@types/react-places-autocomplete": "7.2.9",
37
37
  "react-error-boundary": "^4.0.11",
@@ -40,5 +40,5 @@
40
40
  "react-helmet": "^6.1.0",
41
41
  "react-router-dom": "^6.3.0"
42
42
  },
43
- "gitHead": "d2a97265bc3a79ef2eb9c3c874f0c8e56f8d0ac9"
43
+ "gitHead": "bb92e334f87186eaf311a88f7478dd8cf248219e"
44
44
  }