@mychoice/mychoice-sdk-store 2.1.74 → 2.1.76

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 +1,2 @@
1
- export type { FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, CarQuoteItemInterface, CarQuoteCoverageInterface, } from './interfaces';
1
+ export type { FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, CarQuoteItemInterface, CarQuoteCoverageInterface, CarBrokerIntegrationInterface, } from './interfaces';
2
+ export { CarBrokerTypeEnum } from './interfaces';
@@ -1,4 +1,7 @@
1
1
  import { StoreFormCarQuoteActionTypes } from './actions';
2
+ export declare enum CarBrokerTypeEnum {
3
+ Youset = "youset"
4
+ }
2
5
  export interface BrokerProfileInterface {
3
6
  description: string;
4
7
  hoursSaturday: string;
@@ -21,6 +24,10 @@ export interface CarQuoteCoverageInterface {
21
24
  limit1: string;
22
25
  limit2: string;
23
26
  }
27
+ export interface CarBrokerIntegrationInterface {
28
+ type: CarBrokerTypeEnum;
29
+ data: Record<string, any>;
30
+ }
24
31
  export interface CarQuoteItemInterface {
25
32
  brokerProfile: BrokerProfileInterface;
26
33
  company: QuoteCompanyInterface;
@@ -36,6 +43,7 @@ export interface CarQuoteItemInterface {
36
43
  43: boolean;
37
44
  aCCW: boolean;
38
45
  };
46
+ brokerIntegration?: CarBrokerIntegrationInterface;
39
47
  }
40
48
  export interface FormCarQuoteStateInterface {
41
49
  items: CarQuoteItemInterface[];
@@ -1 +1,2 @@
1
- export type { FormHomeQuoteStateInterface, FormHomeQuoteStateReducerInterface, HomeQuoteItemInterface, } from './interfaces';
1
+ export type { FormHomeQuoteStateInterface, FormHomeQuoteStateReducerInterface, HomeQuoteItemInterface, HomeBrokerIntegrationInterface, } from './interfaces';
2
+ export { HomeBrokerTypeEnum } from './interfaces';
@@ -1,4 +1,11 @@
1
1
  import { StoreFormHomeQuoteActionTypes } from './actions';
2
+ export declare enum HomeBrokerTypeEnum {
3
+ Youset = "youset"
4
+ }
5
+ export interface HomeBrokerIntegrationInterface {
6
+ type: HomeBrokerTypeEnum;
7
+ data: Record<string, any>;
8
+ }
2
9
  export interface BrokerProfileInterface {
3
10
  description: string;
4
11
  hoursSaturday: string;
@@ -22,6 +29,7 @@ export interface HomeQuoteItemInterface {
22
29
  priceMonthly: string;
23
30
  priceYearly: string;
24
31
  fulfillmentUrl: string;
32
+ brokerIntegration?: HomeBrokerIntegrationInterface;
25
33
  }
26
34
  export interface FormHomeQuoteStateInterface {
27
35
  items: HomeQuoteItemInterface[];
@@ -1 +1 @@
1
- export type { FormLifeQuoteStateInterface, FormLifeQuoteStateReducerInterface, LifeQuoteItemInterface, } from './interfaces';
1
+ export type { FormLifeQuoteStateInterface, FormLifeQuoteStateReducerInterface, LifeQuoteItemInterface, LifeBrokerIntegrationInterface, } from './interfaces';
@@ -1,4 +1,12 @@
1
1
  import { StoreFormLifeQuoteActionTypes } from './actions';
2
+ export interface LifeBrokerIntegrationInterface {
3
+ type: 'hub';
4
+ data: {
5
+ label?: string;
6
+ description?: string;
7
+ url?: string;
8
+ };
9
+ }
2
10
  export interface BrokerProfileInterface {
3
11
  description: string;
4
12
  hoursSaturday: string;
@@ -21,6 +29,7 @@ export interface LifeQuoteItemInterface {
21
29
  id: number | null;
22
30
  priceMonthly: string;
23
31
  priceYearly: string;
32
+ brokerIntegration?: LifeBrokerIntegrationInterface;
24
33
  }
25
34
  export interface FormLifeQuoteStateInterface {
26
35
  items: LifeQuoteItemInterface[];
package/dist/index.d.ts CHANGED
@@ -1509,6 +1509,9 @@ declare enum StoreFormCarQuoteActionTypes {
1509
1509
  FormCarQuoteConfirmStepSet = "FormCarQuoteConfirmStepSet"
1510
1510
  }
1511
1511
 
1512
+ declare enum CarBrokerTypeEnum {
1513
+ Youset = "youset"
1514
+ }
1512
1515
  interface BrokerProfileInterface$2 {
1513
1516
  description: string;
1514
1517
  hoursSaturday: string;
@@ -1531,6 +1534,10 @@ interface CarQuoteCoverageInterface {
1531
1534
  limit1: string;
1532
1535
  limit2: string;
1533
1536
  }
1537
+ interface CarBrokerIntegrationInterface {
1538
+ type: CarBrokerTypeEnum;
1539
+ data: Record<string, any>;
1540
+ }
1534
1541
  interface CarQuoteItemInterface {
1535
1542
  brokerProfile: BrokerProfileInterface$2;
1536
1543
  company: QuoteCompanyInterface$2;
@@ -1546,6 +1553,7 @@ interface CarQuoteItemInterface {
1546
1553
  43: boolean;
1547
1554
  aCCW: boolean;
1548
1555
  };
1556
+ brokerIntegration?: CarBrokerIntegrationInterface;
1549
1557
  }
1550
1558
  interface FormCarQuoteStateInterface {
1551
1559
  items: CarQuoteItemInterface[];
@@ -2375,6 +2383,13 @@ declare enum StoreFormHomeQuoteActionTypes {
2375
2383
  UpdateHomeCallMessage = "UpdateHomeCallMessage"
2376
2384
  }
2377
2385
 
2386
+ declare enum HomeBrokerTypeEnum {
2387
+ Youset = "youset"
2388
+ }
2389
+ interface HomeBrokerIntegrationInterface {
2390
+ type: HomeBrokerTypeEnum;
2391
+ data: Record<string, any>;
2392
+ }
2378
2393
  interface BrokerProfileInterface$1 {
2379
2394
  description: string;
2380
2395
  hoursSaturday: string;
@@ -2398,6 +2413,7 @@ interface HomeQuoteItemInterface {
2398
2413
  priceMonthly: string;
2399
2414
  priceYearly: string;
2400
2415
  fulfillmentUrl: string;
2416
+ brokerIntegration?: HomeBrokerIntegrationInterface;
2401
2417
  }
2402
2418
  interface FormHomeQuoteStateInterface {
2403
2419
  items: HomeQuoteItemInterface[];
@@ -2696,6 +2712,14 @@ declare enum StoreFormLifeQuoteActionTypes {
2696
2712
  UpdateLifeCallMessage = "UpdateLifeCallMessage"
2697
2713
  }
2698
2714
 
2715
+ interface LifeBrokerIntegrationInterface {
2716
+ type: 'hub';
2717
+ data: {
2718
+ label?: string;
2719
+ description?: string;
2720
+ url?: string;
2721
+ };
2722
+ }
2699
2723
  interface BrokerProfileInterface {
2700
2724
  description: string;
2701
2725
  hoursSaturday: string;
@@ -2718,6 +2742,7 @@ interface LifeQuoteItemInterface {
2718
2742
  id: number | null;
2719
2743
  priceMonthly: string;
2720
2744
  priceYearly: string;
2745
+ brokerIntegration?: LifeBrokerIntegrationInterface;
2721
2746
  }
2722
2747
  interface FormLifeQuoteStateInterface {
2723
2748
  items: LifeQuoteItemInterface[];
@@ -2988,4 +3013,4 @@ declare const useValidationLifeApplicant: () => UseHandlerApplicantValidateInter
2988
3013
  declare const addDayToDate: (value: string, days?: number | string) => string;
2989
3014
  declare const differenceInHoursFromNow: (date: string) => number;
2990
3015
 
2991
- export { AccidentItemInterface, AppConfigStateInterface, AppLoaderStateInterface, AppModalStateInterface, ApplicantCancellationItemInterface, ApplicantClaimItemInterface, ApplicantInsuredInterface, BirthDatePayloadType, CarQuoteCoverageInterface, CarQuoteDataHandler, CarQuoteItemInterface, ClearFormDataHandler, ClientStateInterface, DiscountQuoterInfoInterface, DiscountVehLinkInterface, DriverCancellationItemInterface, DriverItemInterface, DriverLicenceInterface, DriverMinMaxDates, FormCarConfigStateInterface, FormCarDiscountStateInterface, FormCarDriverStateInterface, FormCarPostalStateInterface, FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, FormCarVehicleStateInterface, FormHomeApplicantStateInterface, FormHomeDiscountStateInterface, FormHomeDwellingStateInterface, FormHomePostalStateInterface, FormHomeQuoteStateInterface, FormHomeQuoteStateReducerInterface, FormLifeApplicantStateInterface, FormLifeCoverageStateInterface, FormLifePostalStateInterface, FormLifeQuoteStateInterface, FormLifeQuoteStateReducerInterface, HomeQuoteDataHandler, HomeQuoteItemInterface, LicenceAgePayloadType, LicenceConfigInterface, LifeQuoteDataHandler, LifeQuoteItemInterface, PartnerStateInterface, ProvinceHookInterface, QuoterInfoInterface, StoreClientActionTypes, StoreConfigAppConfigActionTypes, StoreConfigAppDeviceActionTypes, StoreConfigAppLoaderActionTypes, StoreConfigAppModalActionTypes, StoreFormCarConfigActionTypes, StoreFormCarDiscountActionTypes, StoreFormCarDriverAccidentActionTypes, StoreFormCarDriverBaseActionTypes, StoreFormCarDriverCancellationActionTypes, StoreFormCarDriverInfoActionTypes, StoreFormCarDriverInsuranceActionTypes, StoreFormCarDriverLicenceActionTypes, StoreFormCarDriverSuspensionActionTypes, StoreFormCarDriverTicketActionTypes, StoreFormCarPostalActionTypes, StoreFormCarQuoteActionTypes, StoreFormCarVehicleActionTypes, StoreFormHomeApplicantBaseActionTypes, StoreFormHomeApplicantCancellationActionTypes, StoreFormHomeApplicantClaimActionTypes, StoreFormHomeApplicantInfoActionTypes, StoreFormHomeApplicantInsuranceActionTypes, StoreFormHomeDiscountActionTypes, StoreFormHomeDwellingActionTypes, StoreFormHomePostalActionTypes, StoreFormHomeQuoteActionTypes, StoreFormLifeApplicantActionTypes, StoreFormLifeCoverageActionTypes, StoreFormLifePostalActionTypes, StoreFormLifeQuoteActionTypes, StorePartnerActionTypes, StoreProvider, SuspensionItemInterface, TicketItemInterface, addDayToDate, configStateReducer, differenceInHoursFromNow, formCarReducer, formCondoDwellingInitialState, formHomeDwellingInitialState, formHomeReducer, formLifeReducer, formTenantDwellingInitialState, getDwellingInitialState, globalStateReducer, initHttpResponse, reducers, export_default as token, useHandlerAuth, useHandlerCarMake, useHandlerCarModel, useHandlerCarQuoterEmail, useHandlerHomeQuoterEmail, useHandlerLifeQuoterEmail, useHandlerPartner, useHandlerPostal, useProvince, useStoreAppConfig, useStoreAppDevice, useStoreAppLoader, useStoreAppModal, useStoreClient, useStoreClientLoggedIn, useStoreClientProfile, useStoreClientToken, useStoreDeviceBP, useStoreDeviceType, useStoreFormCarConfig, useStoreFormCarDiscount, useStoreFormCarDriverAccident, useStoreFormCarDriverBase, useStoreFormCarDriverCancellation, useStoreFormCarDriverInfo, useStoreFormCarDriverInsurance, useStoreFormCarDriverLicence, useStoreFormCarDriverSuspension, useStoreFormCarDriverTicket, useStoreFormCarPostal, useStoreFormCarQuote, useStoreFormCarVehicle, useStoreFormHomeApplicantBase, useStoreFormHomeApplicantCancellation, useStoreFormHomeApplicantClaim, useStoreFormHomeApplicantInfo, useStoreFormHomeApplicantInsurance, useStoreFormHomeDiscount, useStoreFormHomeDwelling, useStoreFormHomePostal, useStoreFormHomeQuote, useStoreFormLifeApplicant, useStoreFormLifeCoverage, useStoreFormLifePostal, useStoreFormLifeQuote, useStorePartner, useValidationAddress, useValidationApplicant, useValidationCarDiscount, useValidationCoverage, useValidationDriver, useValidationDwelling, useValidationHomeDiscount, useValidationLifeApplicant, useValidationVehicle };
3016
+ export { AccidentItemInterface, AppConfigStateInterface, AppLoaderStateInterface, AppModalStateInterface, ApplicantCancellationItemInterface, ApplicantClaimItemInterface, ApplicantInsuredInterface, BirthDatePayloadType, CarBrokerIntegrationInterface, CarBrokerTypeEnum, CarQuoteCoverageInterface, CarQuoteDataHandler, CarQuoteItemInterface, ClearFormDataHandler, ClientStateInterface, DiscountQuoterInfoInterface, DiscountVehLinkInterface, DriverCancellationItemInterface, DriverItemInterface, DriverLicenceInterface, DriverMinMaxDates, FormCarConfigStateInterface, FormCarDiscountStateInterface, FormCarDriverStateInterface, FormCarPostalStateInterface, FormCarQuoteStateInterface, FormCarQuoteStateReducerInterface, FormCarVehicleStateInterface, FormHomeApplicantStateInterface, FormHomeDiscountStateInterface, FormHomeDwellingStateInterface, FormHomePostalStateInterface, FormHomeQuoteStateInterface, FormHomeQuoteStateReducerInterface, FormLifeApplicantStateInterface, FormLifeCoverageStateInterface, FormLifePostalStateInterface, FormLifeQuoteStateInterface, FormLifeQuoteStateReducerInterface, HomeBrokerIntegrationInterface, HomeBrokerTypeEnum, HomeQuoteDataHandler, HomeQuoteItemInterface, LicenceAgePayloadType, LicenceConfigInterface, LifeBrokerIntegrationInterface, LifeQuoteDataHandler, LifeQuoteItemInterface, PartnerStateInterface, ProvinceHookInterface, QuoterInfoInterface, StoreClientActionTypes, StoreConfigAppConfigActionTypes, StoreConfigAppDeviceActionTypes, StoreConfigAppLoaderActionTypes, StoreConfigAppModalActionTypes, StoreFormCarConfigActionTypes, StoreFormCarDiscountActionTypes, StoreFormCarDriverAccidentActionTypes, StoreFormCarDriverBaseActionTypes, StoreFormCarDriverCancellationActionTypes, StoreFormCarDriverInfoActionTypes, StoreFormCarDriverInsuranceActionTypes, StoreFormCarDriverLicenceActionTypes, StoreFormCarDriverSuspensionActionTypes, StoreFormCarDriverTicketActionTypes, StoreFormCarPostalActionTypes, StoreFormCarQuoteActionTypes, StoreFormCarVehicleActionTypes, StoreFormHomeApplicantBaseActionTypes, StoreFormHomeApplicantCancellationActionTypes, StoreFormHomeApplicantClaimActionTypes, StoreFormHomeApplicantInfoActionTypes, StoreFormHomeApplicantInsuranceActionTypes, StoreFormHomeDiscountActionTypes, StoreFormHomeDwellingActionTypes, StoreFormHomePostalActionTypes, StoreFormHomeQuoteActionTypes, StoreFormLifeApplicantActionTypes, StoreFormLifeCoverageActionTypes, StoreFormLifePostalActionTypes, StoreFormLifeQuoteActionTypes, StorePartnerActionTypes, StoreProvider, SuspensionItemInterface, TicketItemInterface, addDayToDate, configStateReducer, differenceInHoursFromNow, formCarReducer, formCondoDwellingInitialState, formHomeDwellingInitialState, formHomeReducer, formLifeReducer, formTenantDwellingInitialState, getDwellingInitialState, globalStateReducer, initHttpResponse, reducers, export_default as token, useHandlerAuth, useHandlerCarMake, useHandlerCarModel, useHandlerCarQuoterEmail, useHandlerHomeQuoterEmail, useHandlerLifeQuoterEmail, useHandlerPartner, useHandlerPostal, useProvince, useStoreAppConfig, useStoreAppDevice, useStoreAppLoader, useStoreAppModal, useStoreClient, useStoreClientLoggedIn, useStoreClientProfile, useStoreClientToken, useStoreDeviceBP, useStoreDeviceType, useStoreFormCarConfig, useStoreFormCarDiscount, useStoreFormCarDriverAccident, useStoreFormCarDriverBase, useStoreFormCarDriverCancellation, useStoreFormCarDriverInfo, useStoreFormCarDriverInsurance, useStoreFormCarDriverLicence, useStoreFormCarDriverSuspension, useStoreFormCarDriverTicket, useStoreFormCarPostal, useStoreFormCarQuote, useStoreFormCarVehicle, useStoreFormHomeApplicantBase, useStoreFormHomeApplicantCancellation, useStoreFormHomeApplicantClaim, useStoreFormHomeApplicantInfo, useStoreFormHomeApplicantInsurance, useStoreFormHomeDiscount, useStoreFormHomeDwelling, useStoreFormHomePostal, useStoreFormHomeQuote, useStoreFormLifeApplicant, useStoreFormLifeCoverage, useStoreFormLifePostal, useStoreFormLifeQuote, useStorePartner, useValidationAddress, useValidationApplicant, useValidationCarDiscount, useValidationCoverage, useValidationDriver, useValidationDwelling, useValidationHomeDiscount, useValidationLifeApplicant, useValidationVehicle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mychoice/mychoice-sdk-store",
3
- "version": "2.1.74",
3
+ "version": "2.1.76",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
6
6
  "author": "GogMes",
@@ -37,5 +37,5 @@
37
37
  "redux": "^4.2.0",
38
38
  "redux-thunk": "^2.4.1"
39
39
  },
40
- "gitHead": "0662d592b7a7fd5f0753da8144e05cd1f6563988"
40
+ "gitHead": "66fca50728f0f349897e69edaac09509b92437e0"
41
41
  }