@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.
@@ -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
- DUMMY: {
152
- options: {},
153
- status: 'ENABLED',
154
- value: false,
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
- DUMMY: {
284
+ benefits: [
285
+ {
286
+ benefitID: 'DUMMY',
278
287
  options: {},
279
- status: 'ENABLED',
280
- value: false,
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: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@benup/bensdk",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {