@mychoice/mychoice-sdk-store 2.1.74 → 2.1.75
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.
- package/dist/cjs/index.js +10 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/index.d.ts +2 -1
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/interfaces.d.ts +8 -0
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/index.d.ts +2 -1
- package/dist/cjs/states/reducers/states/formStates/FormHomeState/QuoteState/interfaces.d.ts +8 -0
- package/dist/esm/index.js +11 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/index.d.ts +2 -1
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/interfaces.d.ts +8 -0
- package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/index.d.ts +2 -1
- package/dist/esm/states/reducers/states/formStates/FormHomeState/QuoteState/interfaces.d.ts +8 -0
- package/dist/index.d.ts +17 -1
- package/package.json +2 -2
|
@@ -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[];
|
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[];
|
|
@@ -2988,4 +3004,4 @@ declare const useValidationLifeApplicant: () => UseHandlerApplicantValidateInter
|
|
|
2988
3004
|
declare const addDayToDate: (value: string, days?: number | string) => string;
|
|
2989
3005
|
declare const differenceInHoursFromNow: (date: string) => number;
|
|
2990
3006
|
|
|
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 };
|
|
3007
|
+
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, 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.
|
|
3
|
+
"version": "2.1.75",
|
|
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": "
|
|
40
|
+
"gitHead": "7672d0119b710bd9d2ffb20fb080889b826caf9d"
|
|
41
41
|
}
|