@benup/bensdk 1.13.1 → 1.13.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/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
|
originExecutionID: '',
|
|
149
153
|
avaliableDocuments: [],
|
|
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: '',
|
|
@@ -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
|
originExecutionID: '',
|
|
149
153
|
avaliableDocuments: [],
|
|
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: '',
|
|
@@ -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
|
originExecutionID: '',
|
|
149
153
|
avaliableDocuments: [],
|
|
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',
|
|
@@ -212,16 +220,20 @@ export default {
|
|
|
212
220
|
cpf: '',
|
|
213
221
|
sex: 'M',
|
|
214
222
|
maritalStatus: 'NONE',
|
|
215
|
-
benefits:
|
|
216
|
-
|
|
223
|
+
benefits: [
|
|
224
|
+
{
|
|
225
|
+
benefitID: 'DUMMY',
|
|
217
226
|
options: {},
|
|
218
|
-
|
|
219
|
-
|
|
227
|
+
type: 'corporate' as const,
|
|
228
|
+
status: 'GRANTED' as const,
|
|
220
229
|
isEligible: false,
|
|
230
|
+
isIntegrationActive: false,
|
|
231
|
+
isAssociated: false,
|
|
221
232
|
statusOriginID: '',
|
|
222
|
-
lastUpdatedAt: new Date('2025-05-29T15:05:10.431+0000').toISOString()
|
|
233
|
+
lastUpdatedAt: new Date('2025-05-29T15:05:10.431+0000').toISOString(),
|
|
234
|
+
source: { name: '', externalBenefitID: '', externalProductID: '' }
|
|
223
235
|
}
|
|
224
|
-
|
|
236
|
+
],
|
|
225
237
|
avaliableDocuments: [],
|
|
226
238
|
isDeleted: false,
|
|
227
239
|
mothersName: '',
|
|
@@ -251,7 +263,7 @@ export default {
|
|
|
251
263
|
value: 0,
|
|
252
264
|
date: '',
|
|
253
265
|
productID: '',
|
|
254
|
-
ticketCode: 0,
|
|
266
|
+
ticketCode: '0',
|
|
255
267
|
quantity: 0,
|
|
256
268
|
tariffValue: 0,
|
|
257
269
|
rechargeOptions: {
|
|
@@ -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: '',
|