@mychoice/mychoice-sdk-store 2.0.1 → 2.0.2
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/handlers/dataHandlers/QuoteDataHandler/interfaces.d.ts +1 -0
- package/dist/cjs/index.js +41 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/states/reducers/states/formStates/FormCarState/QuoteState/actions.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/AddressState/interfaces.d.ts +3 -3
- package/dist/esm/handlers/dataHandlers/QuoteDataHandler/interfaces.d.ts +1 -0
- package/dist/esm/index.js +41 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/states/reducers/states/formStates/FormCarState/QuoteState/actions.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/AddressState/interfaces.d.ts +3 -3
- package/dist/index.d.ts +11 -1
- package/package.json +3 -3
|
@@ -5,5 +5,6 @@ export declare enum StoreFormCarQuoteActionTypes {
|
|
|
5
5
|
FormCarQuotesSet = "FormCarQuotesSet",
|
|
6
6
|
FormCarQuoteGetLocal = "FormCarQuoteGetLocal",
|
|
7
7
|
FormCarQuoteClear = "FormCarQuoteClear",
|
|
8
|
-
UpdateCarCallMessage = "UpdateCarCallMessage"
|
|
8
|
+
UpdateCarCallMessage = "UpdateCarCallMessage",
|
|
9
|
+
FormCarQuoteConfirmStepSet = "FormCarQuoteConfirmStepSet"
|
|
9
10
|
}
|
|
@@ -21,12 +21,14 @@ export interface CarQuoteItemInterface {
|
|
|
21
21
|
id: number | null;
|
|
22
22
|
priceMonthly: string;
|
|
23
23
|
priceYearly: string;
|
|
24
|
+
confirmQuote?: boolean;
|
|
24
25
|
}
|
|
25
26
|
export interface FormCarQuoteStateInterface {
|
|
26
27
|
items: CarQuoteItemInterface[];
|
|
27
28
|
isRequested: boolean;
|
|
28
29
|
requestDate: string;
|
|
29
30
|
showCallMessage: boolean;
|
|
31
|
+
quoteConfirm?: boolean;
|
|
30
32
|
}
|
|
31
33
|
export type FormCarQuoteStateActionType = {
|
|
32
34
|
type: StoreFormCarQuoteActionTypes.FormCarQuoteIsRequestedSet;
|
|
@@ -60,6 +62,12 @@ export type FormCarQuoteStateActionType = {
|
|
|
60
62
|
showCallMessage: boolean;
|
|
61
63
|
};
|
|
62
64
|
localIndex?: string;
|
|
65
|
+
} | {
|
|
66
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuoteConfirmStepSet;
|
|
67
|
+
payload: {
|
|
68
|
+
quoteConfirm: boolean;
|
|
69
|
+
};
|
|
70
|
+
localIndex?: string;
|
|
63
71
|
};
|
|
64
72
|
export type FormCarQuoteStateReducerInterface = (state: FormCarQuoteStateInterface, action: FormCarQuoteStateActionType) => FormCarQuoteStateInterface;
|
|
65
73
|
export interface FormCarQuoteHookInterface {
|
package/dist/esm/states/reducers/states/formStates/FormHomeState/AddressState/interfaces.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HomeOwnerTypes } from '@
|
|
1
|
+
import { HomeOwnerTypes } from '@groksmith/mychoice-sdk-components';
|
|
2
2
|
import { StoreFormHomeAddressActionTypes } from './actions';
|
|
3
3
|
import { StateBaseInterface } from '../../shared';
|
|
4
4
|
export interface FormHomeAddressStateInterface extends StateBaseInterface {
|
|
@@ -6,7 +6,7 @@ export interface FormHomeAddressStateInterface extends StateBaseInterface {
|
|
|
6
6
|
addressStreet: string;
|
|
7
7
|
unitApartmentNumber: string;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type FormHomeAddressStateActionType = {
|
|
10
10
|
type: StoreFormHomeAddressActionTypes.FormHomeAddressValidate;
|
|
11
11
|
payload: {
|
|
12
12
|
inValidation: boolean;
|
|
@@ -45,7 +45,7 @@ export declare type FormHomeAddressStateActionType = {
|
|
|
45
45
|
payload?: null;
|
|
46
46
|
localIndex?: string;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type FormHomeAddressStateReducerInterface = (state: FormHomeAddressStateInterface, action: FormHomeAddressStateActionType) => FormHomeAddressStateInterface;
|
|
49
49
|
export interface FormHomeAddressHookInterface {
|
|
50
50
|
addressState: FormHomeAddressStateInterface;
|
|
51
51
|
dispatchAddressState: (props: FormHomeAddressStateActionType) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1465,7 +1465,8 @@ declare enum StoreFormCarQuoteActionTypes {
|
|
|
1465
1465
|
FormCarQuotesSet = "FormCarQuotesSet",
|
|
1466
1466
|
FormCarQuoteGetLocal = "FormCarQuoteGetLocal",
|
|
1467
1467
|
FormCarQuoteClear = "FormCarQuoteClear",
|
|
1468
|
-
UpdateCarCallMessage = "UpdateCarCallMessage"
|
|
1468
|
+
UpdateCarCallMessage = "UpdateCarCallMessage",
|
|
1469
|
+
FormCarQuoteConfirmStepSet = "FormCarQuoteConfirmStepSet"
|
|
1469
1470
|
}
|
|
1470
1471
|
|
|
1471
1472
|
interface BrokerProfileInterface$2 {
|
|
@@ -1490,12 +1491,14 @@ interface CarQuoteItemInterface {
|
|
|
1490
1491
|
id: number | null;
|
|
1491
1492
|
priceMonthly: string;
|
|
1492
1493
|
priceYearly: string;
|
|
1494
|
+
confirmQuote?: boolean;
|
|
1493
1495
|
}
|
|
1494
1496
|
interface FormCarQuoteStateInterface {
|
|
1495
1497
|
items: CarQuoteItemInterface[];
|
|
1496
1498
|
isRequested: boolean;
|
|
1497
1499
|
requestDate: string;
|
|
1498
1500
|
showCallMessage: boolean;
|
|
1501
|
+
quoteConfirm?: boolean;
|
|
1499
1502
|
}
|
|
1500
1503
|
type FormCarQuoteStateActionType = {
|
|
1501
1504
|
type: StoreFormCarQuoteActionTypes.FormCarQuoteIsRequestedSet;
|
|
@@ -1529,6 +1532,12 @@ type FormCarQuoteStateActionType = {
|
|
|
1529
1532
|
showCallMessage: boolean;
|
|
1530
1533
|
};
|
|
1531
1534
|
localIndex?: string;
|
|
1535
|
+
} | {
|
|
1536
|
+
type: StoreFormCarQuoteActionTypes.FormCarQuoteConfirmStepSet;
|
|
1537
|
+
payload: {
|
|
1538
|
+
quoteConfirm: boolean;
|
|
1539
|
+
};
|
|
1540
|
+
localIndex?: string;
|
|
1532
1541
|
};
|
|
1533
1542
|
type FormCarQuoteStateReducerInterface = (state: FormCarQuoteStateInterface, action: FormCarQuoteStateActionType) => FormCarQuoteStateInterface;
|
|
1534
1543
|
interface FormCarQuoteHookInterface {
|
|
@@ -2831,6 +2840,7 @@ declare const useHandlerLifeQuoterEmail: () => UseHandlerQuoterEmailInterface;
|
|
|
2831
2840
|
type UseHandlerQuoteInterface = DataHandlerRequestState & {
|
|
2832
2841
|
postRequestQuoteOnliaUrl: (isLoader: boolean, redirectUrl: string) => void;
|
|
2833
2842
|
postRequestQuote: (isRecalc: boolean) => void;
|
|
2843
|
+
postPerformLeadsAction?: () => void;
|
|
2834
2844
|
};
|
|
2835
2845
|
|
|
2836
2846
|
declare const CarQuoteDataHandler: () => UseHandlerQuoteInterface;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mychoice/mychoice-sdk-store",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
|
|
6
6
|
"author": "GogMes",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"url": "https://github.com/hexdivision/mychoice-sdk/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@mychoice/mychoice-sdk-components": "^2.0.
|
|
32
|
+
"@mychoice/mychoice-sdk-components": "^2.0.2",
|
|
33
33
|
"@redux-devtools/extension": "^3.2.2",
|
|
34
34
|
"axios": "^0.27.2",
|
|
35
35
|
"humps": "^2.0.1",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"redux": "^4.2.0",
|
|
38
38
|
"redux-thunk": "^2.4.1"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e908c553887d11449ba292eb2a60a7008770bd82"
|
|
41
41
|
}
|