@mychoice/mychoice-sdk-store 2.2.22 → 2.2.24
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 +224 -49
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/actions.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +11 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/actions.d.ts +5 -1
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces.d.ts +24 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/actions.d.ts +2 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces.d.ts +12 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/actions.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/interfaces.d.ts +7 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/initialState.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/DriverState/interfaces.d.ts +9 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/actions.d.ts +1 -0
- package/dist/cjs/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts +7 -0
- package/dist/esm/index.js +225 -50
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/actions.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts +11 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/actions.d.ts +5 -1
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverInsuranceState/interfaces.d.ts +24 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/actions.d.ts +2 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverLicenceState/interfaces.d.ts +12 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/actions.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/DriverTicketState/interfaces.d.ts +7 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/initialState.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/DriverState/interfaces.d.ts +9 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/actions.d.ts +1 -0
- package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts +7 -0
- package/dist/index.d.ts +80 -1
- package/package.json +3 -3
|
@@ -14,6 +14,7 @@ export declare enum StoreFormCarDiscountActionTypes {
|
|
|
14
14
|
FormCarDiscountVehlinkSelect = "FormCarDiscountVehlinkSelect",
|
|
15
15
|
FormCarDiscountVehlinkByVehicleDelete = "FormCarDiscountVehlinkByVehicleDelete",
|
|
16
16
|
FormCarDiscountVehlinkByDriverDelete = "FormCarDiscountVehlinkByDriverDelete",
|
|
17
|
+
FormCarDiscountOccVehlinkSelect = "FormCarDiscountOccVehlinkSelect",
|
|
17
18
|
FormCarDiscountQuoterEmailStatusSet = "FormCarDiscountQuoterEmailStatusSet",
|
|
18
19
|
FormCarDiscountValidate = "FormCarDiscountValidate",
|
|
19
20
|
FormCarDiscountValidateSet = "FormCarDiscountValidateSet",
|
package/dist/esm/states/reducers/states/formStates/FormCarState/DiscountState/interfaces.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ export interface FormCarDiscountStateInterface extends StateBaseInterface {
|
|
|
38
38
|
policyStartYear?: string;
|
|
39
39
|
quoterInfo: DiscountQuoterInfoInterface;
|
|
40
40
|
vehlinks: DiscountVehLinkInterface[];
|
|
41
|
+
occVehlinks: {
|
|
42
|
+
driverIndex: number;
|
|
43
|
+
vehicleIndex: number;
|
|
44
|
+
}[];
|
|
41
45
|
}
|
|
42
46
|
export type FormCarDiscountStateActionType = {
|
|
43
47
|
type: StoreFormCarDiscountActionTypes.FormCarDiscountValidate;
|
|
@@ -78,6 +82,13 @@ export type FormCarDiscountStateActionType = {
|
|
|
78
82
|
driverIndex: number;
|
|
79
83
|
};
|
|
80
84
|
localIndex?: string;
|
|
85
|
+
} | {
|
|
86
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountOccVehlinkSelect;
|
|
87
|
+
payload: {
|
|
88
|
+
driverIndex: number;
|
|
89
|
+
vehicleIndex: number;
|
|
90
|
+
};
|
|
91
|
+
localIndex?: string;
|
|
81
92
|
} | {
|
|
82
93
|
type: StoreFormCarDiscountActionTypes.FormCarDiscountMultiplePoliciesSelect;
|
|
83
94
|
payload: {
|
|
@@ -3,5 +3,9 @@ export declare enum StoreFormCarDriverInsuranceActionTypes {
|
|
|
3
3
|
FormCarDriverListedYearSelect = "FormCarDriverListedYearSelect",
|
|
4
4
|
FormCarDriverListedMonthSelect = "FormCarDriverListedMonthSelect",
|
|
5
5
|
FormCarDriverInsuredSelect = "FormCarDriverInsuredSelect",
|
|
6
|
-
FormCarDriverInsuredDateSelect = "FormCarDriverInsuredDateSelect"
|
|
6
|
+
FormCarDriverInsuredDateSelect = "FormCarDriverInsuredDateSelect",
|
|
7
|
+
FormCarDriverNotCurrentlyInsuredSelect = "FormCarDriverNotCurrentlyInsuredSelect",
|
|
8
|
+
FormCarDriverLastPolicyEndYearSelect = "FormCarDriverLastPolicyEndYearSelect",
|
|
9
|
+
FormCarDriverLastPolicyEndMonthSelect = "FormCarDriverLastPolicyEndMonthSelect",
|
|
10
|
+
FormCarDriverLastPolicyCancelReasonSelect = "FormCarDriverLastPolicyCancelReasonSelect"
|
|
7
11
|
}
|
|
@@ -30,6 +30,30 @@ export type FormCarDriverInsuranceStateActionType = {
|
|
|
30
30
|
insuredDate: string;
|
|
31
31
|
};
|
|
32
32
|
localIndex?: string;
|
|
33
|
+
} | {
|
|
34
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverNotCurrentlyInsuredSelect;
|
|
35
|
+
payload: {
|
|
36
|
+
notCurrentlyInsured: boolean;
|
|
37
|
+
};
|
|
38
|
+
localIndex?: string;
|
|
39
|
+
} | {
|
|
40
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverLastPolicyEndYearSelect;
|
|
41
|
+
payload: {
|
|
42
|
+
lastPolicyEndYear: string;
|
|
43
|
+
};
|
|
44
|
+
localIndex?: string;
|
|
45
|
+
} | {
|
|
46
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverLastPolicyEndMonthSelect;
|
|
47
|
+
payload: {
|
|
48
|
+
lastPolicyEndMonth: string;
|
|
49
|
+
};
|
|
50
|
+
localIndex?: string;
|
|
51
|
+
} | {
|
|
52
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverLastPolicyCancelReasonSelect;
|
|
53
|
+
payload: {
|
|
54
|
+
lastPolicyCancelReason: string;
|
|
55
|
+
};
|
|
56
|
+
localIndex?: string;
|
|
33
57
|
};
|
|
34
58
|
export type FormCarDriverInsuranceStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverInsuranceStateActionType) => FormCarDriverStateInterface;
|
|
35
59
|
export interface FormCarDriverInsuranceHookInterface {
|
|
@@ -9,6 +9,8 @@ export declare enum StoreFormCarDriverLicenceActionTypes {
|
|
|
9
9
|
FormCarDriverG1LicenceMaxSelect = "FormCarDriverG1LicenceMaxSelect",
|
|
10
10
|
FormCarDriverTrainingSelect = "FormCarDriverTrainingSelect",
|
|
11
11
|
FormCarDriverPreviousLicenceSelect = "FormCarDriverPreviousLicenceSelect",
|
|
12
|
+
FormCarDriverReceivedG2Select = "FormCarDriverReceivedG2Select",
|
|
13
|
+
FormCarDriverReceivedGSelect = "FormCarDriverReceivedGSelect",
|
|
12
14
|
FormCarDriverLicenceYearSelect = "FormCarDriverLicenceYearSelect",
|
|
13
15
|
FormCarDriverLicenceMonthSelect = "FormCarDriverLicenceMonthSelect"
|
|
14
16
|
}
|
|
@@ -36,6 +36,18 @@ export type FormCarDriverLicenceStateActionType = {
|
|
|
36
36
|
previousLicence: boolean;
|
|
37
37
|
};
|
|
38
38
|
localIndex?: string;
|
|
39
|
+
} | {
|
|
40
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverReceivedG2Select;
|
|
41
|
+
payload: {
|
|
42
|
+
receivedG2: boolean;
|
|
43
|
+
};
|
|
44
|
+
localIndex?: string;
|
|
45
|
+
} | {
|
|
46
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverReceivedGSelect;
|
|
47
|
+
payload: {
|
|
48
|
+
receivedG: boolean;
|
|
49
|
+
};
|
|
50
|
+
localIndex?: string;
|
|
39
51
|
} | {
|
|
40
52
|
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverGLicenceMinSelect;
|
|
41
53
|
payload: {
|
|
@@ -3,6 +3,7 @@ export declare enum StoreFormCarDriverTicketActionTypes {
|
|
|
3
3
|
FormCarDriverTrafficTicketReasonSelect = "FormCarDriverTrafficTicketReasonSelect",
|
|
4
4
|
FormCarDriverTrafficTicketYearSelect = "FormCarDriverTrafficTicketYearSelect",
|
|
5
5
|
FormCarDriverTrafficTicketMonthSelect = "FormCarDriverTrafficTicketMonthSelect",
|
|
6
|
+
FormCarDriverTrafficTicketSpeedSelect = "FormCarDriverTrafficTicketSpeedSelect",
|
|
6
7
|
FormCarDriverTrafficTicketAdd = "FormCarDriverTrafficTicketAdd",
|
|
7
8
|
FormCarDriverTrafficTicketDelete = "FormCarDriverTrafficTicketDelete"
|
|
8
9
|
}
|
|
@@ -37,6 +37,13 @@ export type FormCarDriverTicketStateActionType = {
|
|
|
37
37
|
index: number;
|
|
38
38
|
};
|
|
39
39
|
localIndex?: string;
|
|
40
|
+
} | {
|
|
41
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketSpeedSelect;
|
|
42
|
+
payload: {
|
|
43
|
+
speed: number;
|
|
44
|
+
index: number;
|
|
45
|
+
};
|
|
46
|
+
localIndex?: string;
|
|
40
47
|
};
|
|
41
48
|
export type FormCarDriverTicketStateReducerInterface = (state: FormCarDriverStateInterface, action: FormCarDriverTicketStateActionType) => FormCarDriverStateInterface;
|
|
42
49
|
export interface FormCarDriverTicketHookInterface {
|
|
@@ -15,6 +15,9 @@ export interface DriverLicenceInterface {
|
|
|
15
15
|
gLicenceMonth?: string;
|
|
16
16
|
passedDriverTraining?: boolean;
|
|
17
17
|
previousLicence?: boolean;
|
|
18
|
+
outsideExp?: boolean;
|
|
19
|
+
receivedG2?: boolean;
|
|
20
|
+
receivedG?: boolean;
|
|
18
21
|
}
|
|
19
22
|
export interface DriverCancellationItemInterface {
|
|
20
23
|
reason: string;
|
|
@@ -47,6 +50,7 @@ export interface TicketItemInterface {
|
|
|
47
50
|
ticketDate: string;
|
|
48
51
|
ticketYear?: string;
|
|
49
52
|
ticketMonth?: string;
|
|
53
|
+
speed?: number;
|
|
50
54
|
}
|
|
51
55
|
export type DriverListItemType = DriverCancellationItemInterface | SuspensionItemInterface | AccidentItemInterface | TicketItemInterface;
|
|
52
56
|
export interface DriverMinMaxDates {
|
|
@@ -82,6 +86,11 @@ export interface DriverItemInterface {
|
|
|
82
86
|
insured: boolean;
|
|
83
87
|
insuredDate?: string;
|
|
84
88
|
insuredYear?: string;
|
|
89
|
+
notCurrentlyInsured?: boolean;
|
|
90
|
+
lastPolicyEndYear?: string;
|
|
91
|
+
lastPolicyEndMonth?: string;
|
|
92
|
+
lastPolicyEndDate?: string;
|
|
93
|
+
lastPolicyCancelReason?: string;
|
|
85
94
|
insuranceCancellation: boolean;
|
|
86
95
|
insuranceCancellationList?: DriverCancellationItemInterface[];
|
|
87
96
|
licenceSuspension: boolean;
|
|
@@ -19,6 +19,7 @@ export declare enum StoreFormCarVehicleActionTypes {
|
|
|
19
19
|
FormCarParkingLocationSelect = "FormCarParkingLocationSelect",
|
|
20
20
|
FormCarDailyDistanceSelect = "FormCarDailyDistanceSelect",
|
|
21
21
|
FormCarBusinessDistanceSelect = "FormCarBusinessDistanceSelect",
|
|
22
|
+
FormCarBusinessUsePercentSelect = "FormCarBusinessUsePercentSelect",
|
|
22
23
|
FormCarYearlyDistanceSelect = "FormCarYearlyDistanceSelect",
|
|
23
24
|
FormCarComprehensiveCoverageSelect = "FormCarComprehensiveCoverageSelect",
|
|
24
25
|
FormCarComprehensiveDeductibleSelect = "FormCarComprehensiveDeductibleSelect",
|
package/dist/esm/states/reducers/states/formStates/FormCarState/VehicleState/interfaces.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export interface VehicleItemInterface {
|
|
|
44
44
|
primaryUse: string;
|
|
45
45
|
distanceDaily: number;
|
|
46
46
|
distanceBusiness?: number;
|
|
47
|
+
businessUsePercent?: string;
|
|
47
48
|
distanceYearly: number;
|
|
48
49
|
comprehensive: VehicleComprehensiveInterface;
|
|
49
50
|
collision: VehicleCollisionInterface;
|
|
@@ -182,6 +183,12 @@ export type FormCarVehicleStateActionType = {
|
|
|
182
183
|
distanceBusiness: string;
|
|
183
184
|
};
|
|
184
185
|
localIndex?: string;
|
|
186
|
+
} | {
|
|
187
|
+
type: StoreFormCarVehicleActionTypes.FormCarBusinessUsePercentSelect;
|
|
188
|
+
payload: {
|
|
189
|
+
businessUsePercent: string;
|
|
190
|
+
};
|
|
191
|
+
localIndex?: string;
|
|
185
192
|
} | {
|
|
186
193
|
type: StoreFormCarVehicleActionTypes.FormCarYearlyDistanceSelect;
|
|
187
194
|
payload: {
|
package/dist/index.d.ts
CHANGED
|
@@ -301,6 +301,7 @@ declare enum StoreFormCarVehicleActionTypes {
|
|
|
301
301
|
FormCarParkingLocationSelect = "FormCarParkingLocationSelect",
|
|
302
302
|
FormCarDailyDistanceSelect = "FormCarDailyDistanceSelect",
|
|
303
303
|
FormCarBusinessDistanceSelect = "FormCarBusinessDistanceSelect",
|
|
304
|
+
FormCarBusinessUsePercentSelect = "FormCarBusinessUsePercentSelect",
|
|
304
305
|
FormCarYearlyDistanceSelect = "FormCarYearlyDistanceSelect",
|
|
305
306
|
FormCarComprehensiveCoverageSelect = "FormCarComprehensiveCoverageSelect",
|
|
306
307
|
FormCarComprehensiveDeductibleSelect = "FormCarComprehensiveDeductibleSelect",
|
|
@@ -383,6 +384,7 @@ interface VehicleItemInterface {
|
|
|
383
384
|
primaryUse: string;
|
|
384
385
|
distanceDaily: number;
|
|
385
386
|
distanceBusiness?: number;
|
|
387
|
+
businessUsePercent?: string;
|
|
386
388
|
distanceYearly: number;
|
|
387
389
|
comprehensive: VehicleComprehensiveInterface;
|
|
388
390
|
collision: VehicleCollisionInterface;
|
|
@@ -521,6 +523,12 @@ type FormCarVehicleStateActionType = {
|
|
|
521
523
|
distanceBusiness: string;
|
|
522
524
|
};
|
|
523
525
|
localIndex?: string;
|
|
526
|
+
} | {
|
|
527
|
+
type: StoreFormCarVehicleActionTypes.FormCarBusinessUsePercentSelect;
|
|
528
|
+
payload: {
|
|
529
|
+
businessUsePercent: string;
|
|
530
|
+
};
|
|
531
|
+
localIndex?: string;
|
|
524
532
|
} | {
|
|
525
533
|
type: StoreFormCarVehicleActionTypes.FormCarYearlyDistanceSelect;
|
|
526
534
|
payload: {
|
|
@@ -697,6 +705,9 @@ interface DriverLicenceInterface {
|
|
|
697
705
|
gLicenceMonth?: string;
|
|
698
706
|
passedDriverTraining?: boolean;
|
|
699
707
|
previousLicence?: boolean;
|
|
708
|
+
outsideExp?: boolean;
|
|
709
|
+
receivedG2?: boolean;
|
|
710
|
+
receivedG?: boolean;
|
|
700
711
|
}
|
|
701
712
|
interface DriverCancellationItemInterface {
|
|
702
713
|
reason: string;
|
|
@@ -729,6 +740,7 @@ interface TicketItemInterface {
|
|
|
729
740
|
ticketDate: string;
|
|
730
741
|
ticketYear?: string;
|
|
731
742
|
ticketMonth?: string;
|
|
743
|
+
speed?: number;
|
|
732
744
|
}
|
|
733
745
|
interface DriverMinMaxDates {
|
|
734
746
|
gMin: string;
|
|
@@ -763,6 +775,11 @@ interface DriverItemInterface {
|
|
|
763
775
|
insured: boolean;
|
|
764
776
|
insuredDate?: string;
|
|
765
777
|
insuredYear?: string;
|
|
778
|
+
notCurrentlyInsured?: boolean;
|
|
779
|
+
lastPolicyEndYear?: string;
|
|
780
|
+
lastPolicyEndMonth?: string;
|
|
781
|
+
lastPolicyEndDate?: string;
|
|
782
|
+
lastPolicyCancelReason?: string;
|
|
766
783
|
insuranceCancellation: boolean;
|
|
767
784
|
insuranceCancellationList?: DriverCancellationItemInterface[];
|
|
768
785
|
licenceSuspension: boolean;
|
|
@@ -965,7 +982,11 @@ declare enum StoreFormCarDriverInsuranceActionTypes {
|
|
|
965
982
|
FormCarDriverListedYearSelect = "FormCarDriverListedYearSelect",
|
|
966
983
|
FormCarDriverListedMonthSelect = "FormCarDriverListedMonthSelect",
|
|
967
984
|
FormCarDriverInsuredSelect = "FormCarDriverInsuredSelect",
|
|
968
|
-
FormCarDriverInsuredDateSelect = "FormCarDriverInsuredDateSelect"
|
|
985
|
+
FormCarDriverInsuredDateSelect = "FormCarDriverInsuredDateSelect",
|
|
986
|
+
FormCarDriverNotCurrentlyInsuredSelect = "FormCarDriverNotCurrentlyInsuredSelect",
|
|
987
|
+
FormCarDriverLastPolicyEndYearSelect = "FormCarDriverLastPolicyEndYearSelect",
|
|
988
|
+
FormCarDriverLastPolicyEndMonthSelect = "FormCarDriverLastPolicyEndMonthSelect",
|
|
989
|
+
FormCarDriverLastPolicyCancelReasonSelect = "FormCarDriverLastPolicyCancelReasonSelect"
|
|
969
990
|
}
|
|
970
991
|
|
|
971
992
|
type FormCarDriverInsuranceStateActionType = {
|
|
@@ -998,6 +1019,30 @@ type FormCarDriverInsuranceStateActionType = {
|
|
|
998
1019
|
insuredDate: string;
|
|
999
1020
|
};
|
|
1000
1021
|
localIndex?: string;
|
|
1022
|
+
} | {
|
|
1023
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverNotCurrentlyInsuredSelect;
|
|
1024
|
+
payload: {
|
|
1025
|
+
notCurrentlyInsured: boolean;
|
|
1026
|
+
};
|
|
1027
|
+
localIndex?: string;
|
|
1028
|
+
} | {
|
|
1029
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverLastPolicyEndYearSelect;
|
|
1030
|
+
payload: {
|
|
1031
|
+
lastPolicyEndYear: string;
|
|
1032
|
+
};
|
|
1033
|
+
localIndex?: string;
|
|
1034
|
+
} | {
|
|
1035
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverLastPolicyEndMonthSelect;
|
|
1036
|
+
payload: {
|
|
1037
|
+
lastPolicyEndMonth: string;
|
|
1038
|
+
};
|
|
1039
|
+
localIndex?: string;
|
|
1040
|
+
} | {
|
|
1041
|
+
type: StoreFormCarDriverInsuranceActionTypes.FormCarDriverLastPolicyCancelReasonSelect;
|
|
1042
|
+
payload: {
|
|
1043
|
+
lastPolicyCancelReason: string;
|
|
1044
|
+
};
|
|
1045
|
+
localIndex?: string;
|
|
1001
1046
|
};
|
|
1002
1047
|
interface FormCarDriverInsuranceHookInterface {
|
|
1003
1048
|
driverState: FormCarDriverStateInterface;
|
|
@@ -1017,6 +1062,8 @@ declare enum StoreFormCarDriverLicenceActionTypes {
|
|
|
1017
1062
|
FormCarDriverG1LicenceMaxSelect = "FormCarDriverG1LicenceMaxSelect",
|
|
1018
1063
|
FormCarDriverTrainingSelect = "FormCarDriverTrainingSelect",
|
|
1019
1064
|
FormCarDriverPreviousLicenceSelect = "FormCarDriverPreviousLicenceSelect",
|
|
1065
|
+
FormCarDriverReceivedG2Select = "FormCarDriverReceivedG2Select",
|
|
1066
|
+
FormCarDriverReceivedGSelect = "FormCarDriverReceivedGSelect",
|
|
1020
1067
|
FormCarDriverLicenceYearSelect = "FormCarDriverLicenceYearSelect",
|
|
1021
1068
|
FormCarDriverLicenceMonthSelect = "FormCarDriverLicenceMonthSelect"
|
|
1022
1069
|
}
|
|
@@ -1055,6 +1102,18 @@ type FormCarDriverLicenceStateActionType = {
|
|
|
1055
1102
|
previousLicence: boolean;
|
|
1056
1103
|
};
|
|
1057
1104
|
localIndex?: string;
|
|
1105
|
+
} | {
|
|
1106
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverReceivedG2Select;
|
|
1107
|
+
payload: {
|
|
1108
|
+
receivedG2: boolean;
|
|
1109
|
+
};
|
|
1110
|
+
localIndex?: string;
|
|
1111
|
+
} | {
|
|
1112
|
+
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverReceivedGSelect;
|
|
1113
|
+
payload: {
|
|
1114
|
+
receivedG: boolean;
|
|
1115
|
+
};
|
|
1116
|
+
localIndex?: string;
|
|
1058
1117
|
} | {
|
|
1059
1118
|
type: StoreFormCarDriverLicenceActionTypes.FormCarDriverGLicenceMinSelect;
|
|
1060
1119
|
payload: {
|
|
@@ -1174,6 +1233,7 @@ declare enum StoreFormCarDriverTicketActionTypes {
|
|
|
1174
1233
|
FormCarDriverTrafficTicketReasonSelect = "FormCarDriverTrafficTicketReasonSelect",
|
|
1175
1234
|
FormCarDriverTrafficTicketYearSelect = "FormCarDriverTrafficTicketYearSelect",
|
|
1176
1235
|
FormCarDriverTrafficTicketMonthSelect = "FormCarDriverTrafficTicketMonthSelect",
|
|
1236
|
+
FormCarDriverTrafficTicketSpeedSelect = "FormCarDriverTrafficTicketSpeedSelect",
|
|
1177
1237
|
FormCarDriverTrafficTicketAdd = "FormCarDriverTrafficTicketAdd",
|
|
1178
1238
|
FormCarDriverTrafficTicketDelete = "FormCarDriverTrafficTicketDelete"
|
|
1179
1239
|
}
|
|
@@ -1215,6 +1275,13 @@ type FormCarDriverTicketStateActionType = {
|
|
|
1215
1275
|
index: number;
|
|
1216
1276
|
};
|
|
1217
1277
|
localIndex?: string;
|
|
1278
|
+
} | {
|
|
1279
|
+
type: StoreFormCarDriverTicketActionTypes.FormCarDriverTrafficTicketSpeedSelect;
|
|
1280
|
+
payload: {
|
|
1281
|
+
speed: number;
|
|
1282
|
+
index: number;
|
|
1283
|
+
};
|
|
1284
|
+
localIndex?: string;
|
|
1218
1285
|
};
|
|
1219
1286
|
interface FormCarDriverTicketHookInterface {
|
|
1220
1287
|
driverState: FormCarDriverStateInterface;
|
|
@@ -1300,6 +1367,7 @@ declare enum StoreFormCarDiscountActionTypes {
|
|
|
1300
1367
|
FormCarDiscountVehlinkSelect = "FormCarDiscountVehlinkSelect",
|
|
1301
1368
|
FormCarDiscountVehlinkByVehicleDelete = "FormCarDiscountVehlinkByVehicleDelete",
|
|
1302
1369
|
FormCarDiscountVehlinkByDriverDelete = "FormCarDiscountVehlinkByDriverDelete",
|
|
1370
|
+
FormCarDiscountOccVehlinkSelect = "FormCarDiscountOccVehlinkSelect",
|
|
1303
1371
|
FormCarDiscountQuoterEmailStatusSet = "FormCarDiscountQuoterEmailStatusSet",
|
|
1304
1372
|
FormCarDiscountValidate = "FormCarDiscountValidate",
|
|
1305
1373
|
FormCarDiscountValidateSet = "FormCarDiscountValidateSet",
|
|
@@ -1350,6 +1418,10 @@ interface FormCarDiscountStateInterface extends StateBaseInterface {
|
|
|
1350
1418
|
policyStartYear?: string;
|
|
1351
1419
|
quoterInfo: DiscountQuoterInfoInterface;
|
|
1352
1420
|
vehlinks: DiscountVehLinkInterface[];
|
|
1421
|
+
occVehlinks: {
|
|
1422
|
+
driverIndex: number;
|
|
1423
|
+
vehicleIndex: number;
|
|
1424
|
+
}[];
|
|
1353
1425
|
}
|
|
1354
1426
|
type FormCarDiscountStateActionType = {
|
|
1355
1427
|
type: StoreFormCarDiscountActionTypes.FormCarDiscountValidate;
|
|
@@ -1390,6 +1462,13 @@ type FormCarDiscountStateActionType = {
|
|
|
1390
1462
|
driverIndex: number;
|
|
1391
1463
|
};
|
|
1392
1464
|
localIndex?: string;
|
|
1465
|
+
} | {
|
|
1466
|
+
type: StoreFormCarDiscountActionTypes.FormCarDiscountOccVehlinkSelect;
|
|
1467
|
+
payload: {
|
|
1468
|
+
driverIndex: number;
|
|
1469
|
+
vehicleIndex: number;
|
|
1470
|
+
};
|
|
1471
|
+
localIndex?: string;
|
|
1393
1472
|
} | {
|
|
1394
1473
|
type: StoreFormCarDiscountActionTypes.FormCarDiscountMultiplePoliciesSelect;
|
|
1395
1474
|
payload: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mychoice/mychoice-sdk-store",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.24",
|
|
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.2.
|
|
32
|
+
"@mychoice/mychoice-sdk-components": "^2.2.24",
|
|
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": "97cb29726d1311aebdd7e6f8c6256023e7d3edac"
|
|
41
41
|
}
|