@benup/bensdk 1.13.1 → 1.13.3
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/bin/lib/schemas/action-consumer/message.schema.d.ts +2 -2
- package/bin/lib/schemas/action.schema.d.ts +5349 -5349
- package/bin/lib/schemas/benefit-definition.schema.d.ts +62 -62
- package/bin/lib/schemas/common.schema.d.ts +22 -22
- package/bin/lib/types/benefit-definition.types.d.ts +1 -0
- package/bin/lib/types/state-handler.types.d.ts +6 -0
- package/bin/src/cli/templates/bensdk-lib/mocks/action.deduction.mock.ts +25 -13
- package/bin/src/cli/templates/bensdk-lib/mocks/action.grant.mock.ts +25 -13
- package/bin/src/cli/templates/bensdk-lib/mocks/action.recharge.mock.ts +26 -14
- package/bin/src/cli/templates/bensdk-lib/mocks/action.revoke.mock.ts +25 -13
- package/package.json +1 -1
|
@@ -91,6 +91,10 @@ export default {
|
|
|
91
91
|
origin: 'TRANSFER_IN',
|
|
92
92
|
transfer: {
|
|
93
93
|
from: {
|
|
94
|
+
resource: {
|
|
95
|
+
href: '',
|
|
96
|
+
type: ''
|
|
97
|
+
},
|
|
94
98
|
externalEmploymentContractID: '',
|
|
95
99
|
externalCompanyID: ''
|
|
96
100
|
},
|
|
@@ -147,16 +151,20 @@ export default {
|
|
|
147
151
|
},
|
|
148
152
|
avaliableDocuments: [],
|
|
149
153
|
originExecutionID: '',
|
|
150
|
-
benefits:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
benefits: [
|
|
155
|
+
{
|
|
156
|
+
benefitID: 'DUMMY',
|
|
157
|
+
type: 'corporate' as const,
|
|
158
|
+
isIntegrationActive: false,
|
|
155
159
|
isEligible: false,
|
|
160
|
+
isAssociated: false,
|
|
161
|
+
options: {},
|
|
162
|
+
status: 'REVOKED' as const,
|
|
156
163
|
statusOriginID: '',
|
|
157
|
-
lastUpdatedAt: new Date('2025-05-29T15:05:10.431+0000').toISOString()
|
|
164
|
+
lastUpdatedAt: new Date('2025-05-29T15:05:10.431+0000').toISOString(),
|
|
165
|
+
source: { name: '', externalBenefitID: '', externalProductID: '' }
|
|
158
166
|
}
|
|
159
|
-
|
|
167
|
+
]
|
|
160
168
|
},
|
|
161
169
|
company: {
|
|
162
170
|
_id: '678016b2410559c21dd53226',
|
|
@@ -273,16 +281,20 @@ export default {
|
|
|
273
281
|
cpf: '',
|
|
274
282
|
sex: 'M',
|
|
275
283
|
maritalStatus: 'NONE',
|
|
276
|
-
benefits:
|
|
277
|
-
|
|
284
|
+
benefits: [
|
|
285
|
+
{
|
|
286
|
+
benefitID: 'DUMMY',
|
|
278
287
|
options: {},
|
|
279
|
-
|
|
280
|
-
|
|
288
|
+
type: 'corporate' as const,
|
|
289
|
+
status: 'GRANTED' as const,
|
|
281
290
|
isEligible: false,
|
|
291
|
+
isIntegrationActive: false,
|
|
292
|
+
isAssociated: false,
|
|
282
293
|
statusOriginID: '',
|
|
283
|
-
lastUpdatedAt: new Date('2025-05-29T15:05:10.431+0000').toISOString()
|
|
294
|
+
lastUpdatedAt: new Date('2025-05-29T15:05:10.431+0000').toISOString(),
|
|
295
|
+
source: { name: '', externalBenefitID: '', externalProductID: '' }
|
|
284
296
|
}
|
|
285
|
-
|
|
297
|
+
],
|
|
286
298
|
isDeleted: false,
|
|
287
299
|
mothersName: '',
|
|
288
300
|
externalDependentID: '',
|