@benup/bensdk 1.0.8 → 1.2.0
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/README.md +3 -4
- package/bin/src/cli/app.js +7 -8
- package/bin/src/cli/app.js.map +1 -1
- package/bin/src/cli/init.js +49 -33
- package/bin/src/cli/init.js.map +1 -1
- package/bin/src/cli/templates/benefit-definition.template.ts +48 -2
- package/bin/src/cli/templates/benefit-definition.types.template.ts +29 -1
- package/bin/src/cli/templates/bensdk-cli/generate.ts +33 -29
- package/bin/src/cli/templates/bensdk-cli/lib/benefit-definition.schema.ts +20 -3
- package/bin/src/cli/templates/bensdk-cli/lib/state-machine.ts +65 -60
- package/bin/src/cli/templates/bensdk-cli/templates/state.handler.template.ts +6 -7
- package/bin/src/cli/templates/bensdk-cli/validate.ts +22 -20
- package/bin/src/cli/templates/bensdk-lib/types/action-base.type.ts +193 -181
- package/bin/src/cli/templates/bensdk-lib/types/action.types.ts +11 -9
- package/bin/src/cli/templates/bensdk-lib/types/base-deduction.type.ts +165 -175
- package/bin/src/cli/templates/bensdk-lib/types/base-dependent.type.ts +178 -0
- package/bin/src/cli/templates/bensdk-lib/types/base-recharge.type.ts +162 -172
- package/bin/src/cli/templates/bensdk-lib/types/benefits-definition.type.ts +49 -34
- package/bin/src/cli/templates/bensdk-lib/types/grant-revoke.type.ts +157 -167
- package/bin/src/cli/templates/bensdk-local-server/app.ts +43 -48
- package/bin/src/cli/templates/bensdk-viewer/.svelte-kit/tsconfig.json +37 -48
- package/bin/src/cli/templates/bensdk-viewer/src/app.d.ts +7 -7
- package/bin/src/cli/templates/bensdk-viewer/src/app.html +9 -9
- package/bin/src/cli/templates/bensdk-viewer/src/routes/+page.svelte +2 -20
- package/bin/src/cli/templates/bensdk-viewer/startup.ts +4 -5
- package/bin/src/cli/templates/bensdk-viewer/svelte.config.js +9 -9
- package/bin/src/cli/templates/bensdk-viewer/tsconfig.json +17 -17
- package/bin/src/cli/templates/bensdk-viewer/vite.config.ts +2 -4
- package/bin/src/cli/utils/zip.js +2 -2
- package/bin/src/cli/utils/zip.js.map +1 -1
- package/package.json +3 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable jsdoc/require-jsdoc */
|
|
2
|
+
// import benefitDefinition from '../benefit-definition';
|
|
2
3
|
// import {Action} from "../benefit-definition.types.js";
|
|
3
|
-
import benefitDefinition from '../benefit-definition';
|
|
4
4
|
import { StateHandler } from '../lib/types/state.handler.type';
|
|
5
|
-
import { getLogsFromResponse } from
|
|
5
|
+
import { getLogsFromResponse } from '../lib/utils/logs';
|
|
6
6
|
|
|
7
7
|
export interface BenefitResponse {
|
|
8
8
|
values: string[];
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
// StateMachine,
|
|
11
|
+
// StateMachine,
|
|
12
12
|
|
|
13
13
|
export const options = {
|
|
14
14
|
maxRetries: 10
|
|
@@ -33,15 +33,14 @@ const handler: StateHandler<
|
|
|
33
33
|
*/
|
|
34
34
|
return {
|
|
35
35
|
handlerResponse: {
|
|
36
|
-
response:
|
|
37
|
-
}
|
|
36
|
+
response: 'UNACK'
|
|
37
|
+
}
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
42
41
|
return {
|
|
43
42
|
handlerResponse: {
|
|
44
|
-
response:
|
|
43
|
+
response: 'ACK'
|
|
45
44
|
},
|
|
46
45
|
action: {
|
|
47
46
|
state: stateMachine.next,
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { BenefitDefinitionSchema } from
|
|
3
|
-
import
|
|
4
|
-
import validateStateMachine, {
|
|
5
|
-
finalStates,
|
|
6
|
-
initialStates,
|
|
7
|
-
} from "./lib/state-machine";
|
|
2
|
+
import { BenefitDefinitionSchema } from './lib/benefit-definition.schema';
|
|
3
|
+
import validateStateMachine, { finalStates, initialStates } from './lib/state-machine';
|
|
8
4
|
|
|
9
5
|
function validateStateMachineStatesInLogs(benefitDefinition: any) {
|
|
10
6
|
// Get all states from each action type's state machine
|
|
11
7
|
const statesByAction = Object.entries(benefitDefinition.stateMachine)
|
|
12
8
|
.filter(([action]) => benefitDefinition.availableActions.includes(action))
|
|
13
|
-
.reduce(
|
|
14
|
-
acc[action
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
.reduce(
|
|
10
|
+
(acc, [action, states]) => {
|
|
11
|
+
acc[action] = Object.keys(states as object);
|
|
12
|
+
return acc;
|
|
13
|
+
},
|
|
14
|
+
{} as Record<string, string[]>
|
|
15
|
+
);
|
|
17
16
|
|
|
18
17
|
// Check if each state has a corresponding log schema
|
|
19
18
|
Object.entries(statesByAction).forEach(([action, states]) => {
|
|
@@ -30,11 +29,7 @@ function validateStateMachineStatesInLogs(benefitDefinition: any) {
|
|
|
30
29
|
);
|
|
31
30
|
|
|
32
31
|
if (missingStates.length > 0) {
|
|
33
|
-
throw new Error(
|
|
34
|
-
`Missing log schemas for states in ${action}: ${missingStates.join(
|
|
35
|
-
", "
|
|
36
|
-
)}`
|
|
37
|
-
);
|
|
32
|
+
throw new Error(`Missing log schemas for states in ${action}: ${missingStates.join(', ')}`);
|
|
38
33
|
}
|
|
39
34
|
});
|
|
40
35
|
}
|
|
@@ -46,22 +41,29 @@ export async function validateBenefitDefinition(benefitDefinition: any) {
|
|
|
46
41
|
validateStateMachine(benefitDefinition.stateMachine.GRANT);
|
|
47
42
|
validateStateMachine(benefitDefinition.stateMachine.REVOKE);
|
|
48
43
|
|
|
49
|
-
if (benefitDefinition.availableActions.includes(
|
|
44
|
+
if (benefitDefinition.availableActions.includes('RECHARGE')) {
|
|
50
45
|
validateStateMachine(benefitDefinition.stateMachine.RECHARGE);
|
|
51
46
|
}
|
|
52
47
|
|
|
48
|
+
if (benefitDefinition.availableActions.includes('GRANT_DEPENDENT')) {
|
|
49
|
+
validateStateMachine(benefitDefinition.stateMachine.GRANT_DEPENDENT);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (benefitDefinition.availableActions.includes('REVOKE_DEPENDENT')) {
|
|
53
|
+
validateStateMachine(benefitDefinition.stateMachine.REVOKE_DEPENDENT);
|
|
54
|
+
}
|
|
55
|
+
|
|
53
56
|
validateStateMachineStatesInLogs(benefitDefinition);
|
|
54
57
|
|
|
55
|
-
console.log(
|
|
58
|
+
console.log('Benefit definition is valid');
|
|
56
59
|
} catch (error) {
|
|
57
|
-
console.error(
|
|
60
|
+
console.error('Failed to validate benefit definition:', error);
|
|
58
61
|
process.exit(1);
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
async function main() {
|
|
63
|
-
const benefitDefinition = (await import(`${process.cwd()}/src/benefit-definition.ts`
|
|
64
|
-
.default;
|
|
66
|
+
const benefitDefinition = (await import(`${process.cwd()}/src/benefit-definition.ts`)).default;
|
|
65
67
|
|
|
66
68
|
await validateBenefitDefinition(benefitDefinition);
|
|
67
69
|
}
|
|
@@ -1,185 +1,197 @@
|
|
|
1
1
|
export type ActionBase = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
country: string;
|
|
25
|
-
};
|
|
26
|
-
email?: string | undefined;
|
|
27
|
-
createdAt: string;
|
|
28
|
-
updatedAt?: string | undefined;
|
|
2
|
+
_id: string;
|
|
3
|
+
batchID?: string | undefined;
|
|
4
|
+
parentActionID?: string | undefined;
|
|
5
|
+
fingerprint?: string | undefined;
|
|
6
|
+
benefitID: string;
|
|
7
|
+
action: 'GRANT' | 'REVOKE' | 'DEDUCTION' | 'RECHARGE' | 'GRANT_DEPENDENT' | 'REVOKE_DEPENDENT';
|
|
8
|
+
state: string;
|
|
9
|
+
target: {
|
|
10
|
+
dependent: {
|
|
11
|
+
externalDependentID: string;
|
|
12
|
+
externalDependentCode: string;
|
|
13
|
+
name: string;
|
|
14
|
+
/** CPF in format 000.000.000-00 */
|
|
15
|
+
cpf: string;
|
|
16
|
+
birthDate: string;
|
|
17
|
+
sex: 'M' | 'F';
|
|
18
|
+
relationshipType: string;
|
|
19
|
+
maritalStatus: string;
|
|
20
|
+
benefits: {
|
|
21
|
+
[x: string]: {
|
|
22
|
+
value: boolean;
|
|
23
|
+
options?: {} | undefined;
|
|
29
24
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
zipCode: string;
|
|
78
|
-
country: string;
|
|
79
|
-
} | undefined;
|
|
80
|
-
createdAt: string;
|
|
81
|
-
updatedAt?: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
payrollConfiguration: {
|
|
84
|
-
_id: string;
|
|
85
|
-
accountID: string;
|
|
86
|
-
companyID: string;
|
|
87
|
-
payrollSystem: "LG_ONPREMISE_VLI" | "LG_CLOUD" | "LG_ONPREMISE_AMBEV";
|
|
88
|
-
eligibilitySource: "BENEFIT_MODULE" | "ADDITIONAL_ATTRIBUTE";
|
|
89
|
-
productToggle?: {
|
|
90
|
-
isOcherstratorActive?: boolean;
|
|
91
|
-
isIntegratorActive?: boolean;
|
|
92
|
-
};
|
|
93
|
-
cutoffDay: number;
|
|
94
|
-
modifiedContractsWindowInDays: number;
|
|
95
|
-
dataMapping: {
|
|
96
|
-
eligibility?: {
|
|
97
|
-
benefitID: string;
|
|
98
|
-
eligibilityType: "BENEFIT" | "ATTRIBUTE" | "ELIGIBLE_TO_ALL";
|
|
99
|
-
eligibilityCode?: (number | string) | undefined;
|
|
100
|
-
eligibilityMap?: {
|
|
101
|
-
eligibilityValue: (boolean | number) | string;
|
|
102
|
-
isEligible: boolean;
|
|
103
|
-
options: {};
|
|
104
|
-
}[] | undefined;
|
|
105
|
-
}[] | undefined;
|
|
106
|
-
deduction?: {
|
|
107
|
-
benefitID: string;
|
|
108
|
-
deduction: {
|
|
109
|
-
externalPayrollID: number;
|
|
110
|
-
externalPayrollEventID: number;
|
|
111
|
-
};
|
|
112
|
-
refund?: {
|
|
113
|
-
externalPayrollID: number;
|
|
114
|
-
externalPayrollEventID: number;
|
|
115
|
-
} | undefined;
|
|
116
|
-
meta?: {} | undefined;
|
|
117
|
-
}[] | undefined;
|
|
118
|
-
recharge?: {
|
|
119
|
-
rechargeID: string;
|
|
120
|
-
label?: string | undefined;
|
|
121
|
-
eventID: number;
|
|
122
|
-
sheetID: number;
|
|
123
|
-
benefitID: string;
|
|
124
|
-
productID?: string | undefined;
|
|
125
|
-
executionCron: string;
|
|
126
|
-
rechargeDate?: number | undefined;
|
|
127
|
-
}[] | undefined;
|
|
128
|
-
situation?: {
|
|
129
|
-
code: number;
|
|
130
|
-
value: "ADMITTED" | "DISMISSED" | "SUSPENDED" | "IGNORED";
|
|
131
|
-
}[] | undefined;
|
|
132
|
-
};
|
|
133
|
-
version: 2;
|
|
134
|
-
isDeleted?: boolean;
|
|
135
|
-
createdAt: string;
|
|
136
|
-
updatedAt?: string | undefined;
|
|
137
|
-
deletedAt?: string | undefined;
|
|
138
|
-
};
|
|
139
|
-
establishment: {
|
|
140
|
-
_id: string;
|
|
141
|
-
accountID: string;
|
|
142
|
-
companyID: string;
|
|
143
|
-
cnpj: string;
|
|
144
|
-
/** razao social */
|
|
145
|
-
businessName: string;
|
|
146
|
-
/** nome fantasia */
|
|
147
|
-
tradeName: string;
|
|
148
|
-
/** código da empresa no sistema de folha */
|
|
149
|
-
externalEstablishmentID: string;
|
|
150
|
-
address?: {
|
|
151
|
-
street: string;
|
|
152
|
-
number: string;
|
|
153
|
-
complement?: string | undefined;
|
|
154
|
-
neighborhood: string;
|
|
155
|
-
city: string;
|
|
156
|
-
state: string;
|
|
157
|
-
zipCode: string;
|
|
158
|
-
country: string;
|
|
159
|
-
} | undefined;
|
|
160
|
-
createdAt: string;
|
|
161
|
-
updatedAt?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
status: 'LINKED' | 'UNLINKED';
|
|
27
|
+
};
|
|
28
|
+
employee: {
|
|
29
|
+
_id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
/** CPF in format 000.000.000-00 */
|
|
32
|
+
cpf: string;
|
|
33
|
+
birthdate: string;
|
|
34
|
+
address: {
|
|
35
|
+
street: string;
|
|
36
|
+
number: string;
|
|
37
|
+
complement?: string | undefined;
|
|
38
|
+
neighborhood: string;
|
|
39
|
+
city: string;
|
|
40
|
+
state: string;
|
|
41
|
+
zipCode: string;
|
|
42
|
+
country: string;
|
|
43
|
+
};
|
|
44
|
+
email?: string | undefined;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
employmentContract: {
|
|
49
|
+
_id: string;
|
|
50
|
+
companyID: string;
|
|
51
|
+
customerID: string;
|
|
52
|
+
accountID: string;
|
|
53
|
+
admissionDate: string;
|
|
54
|
+
externalEmploymentContractID: string;
|
|
55
|
+
position: {
|
|
56
|
+
code: number;
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
establishment: {
|
|
60
|
+
code: number;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
startDateOfCurrentSituation: string;
|
|
64
|
+
situation: {
|
|
65
|
+
code: number;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
benefits: {
|
|
69
|
+
[x: string]: {
|
|
70
|
+
value: boolean;
|
|
71
|
+
options?: {} | undefined;
|
|
162
72
|
};
|
|
73
|
+
};
|
|
74
|
+
status: 'ADMITTED' | 'DISMISSED' | 'SUSPENDED' | 'IGNORED';
|
|
75
|
+
fingerprint: string;
|
|
76
|
+
createdAt: string;
|
|
77
|
+
isDeleted?: boolean;
|
|
78
|
+
};
|
|
79
|
+
company: {
|
|
80
|
+
_id: string;
|
|
81
|
+
accountID: string;
|
|
82
|
+
externalCompanyID: string;
|
|
83
|
+
cnpj: string;
|
|
84
|
+
/** razao social */
|
|
85
|
+
businessName: string;
|
|
86
|
+
/** nome fantasia */
|
|
87
|
+
tradeName: string;
|
|
88
|
+
address?:
|
|
89
|
+
| {
|
|
90
|
+
street: string;
|
|
91
|
+
number: string;
|
|
92
|
+
complement?: string | undefined;
|
|
93
|
+
neighborhood: string;
|
|
94
|
+
city: string;
|
|
95
|
+
state: string;
|
|
96
|
+
zipCode: string;
|
|
97
|
+
country: string;
|
|
98
|
+
}
|
|
99
|
+
| undefined;
|
|
100
|
+
createdAt: string;
|
|
101
|
+
updatedAt?: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
payrollConfiguration: {
|
|
104
|
+
_id: string;
|
|
105
|
+
accountID: string;
|
|
106
|
+
companyID: string;
|
|
107
|
+
payrollSystem: 'LG_ONPREMISE_VLI' | 'LG_CLOUD' | 'LG_ONPREMISE_AMBEV';
|
|
108
|
+
eligibilitySource: 'BENEFIT_MODULE' | 'ADDITIONAL_ATTRIBUTE';
|
|
109
|
+
productToggle?: {
|
|
110
|
+
isOcherstratorActive?: boolean;
|
|
111
|
+
isIntegratorActive?: boolean;
|
|
112
|
+
};
|
|
113
|
+
cutoffDay: number;
|
|
114
|
+
modifiedContractsWindowInDays: number;
|
|
115
|
+
dataMapping: {
|
|
116
|
+
eligibility?:
|
|
117
|
+
| {
|
|
118
|
+
benefitID: string;
|
|
119
|
+
eligibilityType: 'BENEFIT' | 'ATTRIBUTE' | 'ELIGIBLE_TO_ALL';
|
|
120
|
+
eligibilityCode?: (number | string) | undefined;
|
|
121
|
+
eligibilityMap?:
|
|
122
|
+
| {
|
|
123
|
+
eligibilityValue: (boolean | number) | string;
|
|
124
|
+
isEligible: boolean;
|
|
125
|
+
options: {};
|
|
126
|
+
}[]
|
|
127
|
+
| undefined;
|
|
128
|
+
}[]
|
|
129
|
+
| undefined;
|
|
130
|
+
deduction?:
|
|
131
|
+
| {
|
|
132
|
+
benefitID: string;
|
|
133
|
+
deduction: {
|
|
134
|
+
externalPayrollID: number;
|
|
135
|
+
externalPayrollEventID: number;
|
|
136
|
+
};
|
|
137
|
+
refund?:
|
|
138
|
+
| {
|
|
139
|
+
externalPayrollID: number;
|
|
140
|
+
externalPayrollEventID: number;
|
|
141
|
+
}
|
|
142
|
+
| undefined;
|
|
143
|
+
meta?: {} | undefined;
|
|
144
|
+
}[]
|
|
145
|
+
| undefined;
|
|
146
|
+
recharge?:
|
|
147
|
+
| {
|
|
148
|
+
rechargeID: string;
|
|
149
|
+
label?: string | undefined;
|
|
150
|
+
eventID: number;
|
|
151
|
+
sheetID: number;
|
|
152
|
+
benefitID: string;
|
|
153
|
+
productID?: string | undefined;
|
|
154
|
+
executionCron: string;
|
|
155
|
+
rechargeDate?: number | undefined;
|
|
156
|
+
}[]
|
|
157
|
+
| undefined;
|
|
158
|
+
situation?:
|
|
159
|
+
| {
|
|
160
|
+
code: number;
|
|
161
|
+
value: 'ADMITTED' | 'DISMISSED' | 'SUSPENDED' | 'IGNORED';
|
|
162
|
+
}[]
|
|
163
|
+
| undefined;
|
|
164
|
+
};
|
|
165
|
+
version: 2;
|
|
166
|
+
isDeleted?: boolean;
|
|
167
|
+
createdAt: string;
|
|
168
|
+
updatedAt?: string | undefined;
|
|
169
|
+
deletedAt?: string | undefined;
|
|
163
170
|
};
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
171
|
+
};
|
|
172
|
+
eligibilityOptions: {};
|
|
173
|
+
ctx?: {} | undefined;
|
|
174
|
+
log?: {} | undefined;
|
|
175
|
+
origin: string;
|
|
176
|
+
rechargeInput?:
|
|
177
|
+
| {
|
|
178
|
+
externalSheetID: string;
|
|
179
|
+
externalEventID: string;
|
|
180
|
+
date: string;
|
|
181
|
+
value: number;
|
|
182
|
+
}
|
|
183
|
+
| undefined;
|
|
184
|
+
deductionInput?:
|
|
185
|
+
| {
|
|
186
|
+
payrollSystem: string;
|
|
187
|
+
externalSheetID: string;
|
|
188
|
+
externalEventID: string;
|
|
189
|
+
externalSituationID: number;
|
|
190
|
+
isAccumulative: boolean;
|
|
191
|
+
date: string;
|
|
192
|
+
value: number;
|
|
193
|
+
}
|
|
194
|
+
| undefined;
|
|
195
|
+
createdAt: string;
|
|
196
|
+
updatedAt?: string | undefined;
|
|
197
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { ActionBase } from
|
|
2
|
-
import { ActionBaseDeduction } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { ActionBase } from './action-base.type';
|
|
2
|
+
import { ActionBaseDeduction } from './base-deduction.type';
|
|
3
|
+
import { ActionBaseDependent } from './base-dependent.type';
|
|
4
|
+
import { ActionBaseRecharge } from './base-recharge.type';
|
|
5
|
+
import { ActionBaseGrantRevoke } from './grant-revoke.type';
|
|
5
6
|
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
ActionBase,
|
|
9
|
+
ActionBaseDeduction,
|
|
10
|
+
ActionBaseDependent,
|
|
11
|
+
ActionBaseGrantRevoke,
|
|
12
|
+
ActionBaseRecharge
|
|
13
|
+
};
|