sysone-api-mapper 1.0.175 → 1.0.177

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.
Files changed (56) hide show
  1. package/dist/axiosInstance.d.ts +3 -3
  2. package/dist/axiosInstance.js +10 -10
  3. package/dist/index.d.ts +8 -8
  4. package/dist/index.js +20 -20
  5. package/dist/services.d.ts +2 -2
  6. package/dist/services.js +100 -100
  7. package/dist/servicesData.d.ts +143 -143
  8. package/dist/servicesData.js +999 -999
  9. package/dist/src/adapters/billingAdapter.d.ts +6 -6
  10. package/dist/src/adapters/billingAdapter.js +11 -11
  11. package/dist/src/adapters/claimsAdapter.d.ts +3 -3
  12. package/dist/src/adapters/claimsAdapter.js +8 -8
  13. package/dist/src/adapters/collectionAdapter.d.ts +6 -6
  14. package/dist/src/adapters/collectionAdapter.js +11 -11
  15. package/dist/src/adapters/createApiAdapter.d.ts +57 -57
  16. package/dist/src/adapters/createApiAdapter.js +20 -20
  17. package/dist/src/adapters/financeAdapter.d.ts +6 -6
  18. package/dist/src/adapters/financeAdapter.js +11 -11
  19. package/dist/src/adapters/locationAdapter.d.ts +6 -6
  20. package/dist/src/adapters/locationAdapter.js +11 -11
  21. package/dist/src/adapters/partyAdapter.d.ts +17 -17
  22. package/dist/src/adapters/partyAdapter.js +22 -22
  23. package/dist/src/adapters/policyAdapter.d.ts +11 -11
  24. package/dist/src/adapters/policyAdapter.js +16 -16
  25. package/dist/src/components/notificationToast.js +35 -35
  26. package/dist/src/contexts/actionsContext.d.ts +6 -6
  27. package/dist/src/contexts/actionsContext.js +78 -78
  28. package/dist/src/contexts/apiContext.d.ts +3 -3
  29. package/dist/src/contexts/apiContext.js +12 -12
  30. package/dist/src/contexts/translationContext.d.ts +6 -6
  31. package/dist/src/contexts/translationContext.js +54 -54
  32. package/dist/src/mapper/Mapper.d.ts +2 -2
  33. package/dist/src/mapper/Mapper.js +115 -115
  34. package/dist/src/mapper/endpointsConfig.d.ts +2952 -2918
  35. package/dist/src/mapper/endpointsConfig.js +1050 -1034
  36. package/dist/src/mapper/helpers/mappingHelpers.d.ts +3 -3
  37. package/dist/src/mapper/helpers/mappingHelpers.js +30 -30
  38. package/dist/src/mapper/modules/billing/index.d.ts +20 -20
  39. package/dist/src/mapper/modules/billing/index.js +136 -136
  40. package/dist/src/mapper/modules/claim/index.d.ts +3 -3
  41. package/dist/src/mapper/modules/claim/index.js +19 -19
  42. package/dist/src/mapper/modules/general/index.d.ts +4 -4
  43. package/dist/src/mapper/modules/general/index.js +11 -11
  44. package/dist/src/mapper/modules/party/index.d.ts +32 -29
  45. package/dist/src/mapper/modules/party/index.js +143 -131
  46. package/dist/src/mapper/modules/policy/index.d.ts +366 -366
  47. package/dist/src/mapper/modules/policy/index.js +592 -592
  48. package/dist/src/mapper/modules/quotation/index.d.ts +297 -297
  49. package/dist/src/mapper/modules/quotation/index.js +494 -494
  50. package/dist/src/mapper/modules/request/index.d.ts +42 -42
  51. package/dist/src/mapper/modules/request/index.js +65 -65
  52. package/dist/src/public/index.d.ts +3 -3
  53. package/dist/src/public/index.js +7 -7
  54. package/dist/src/server.d.ts +1 -1
  55. package/dist/src/server.js +18 -18
  56. package/package.json +1 -1
@@ -1,366 +1,366 @@
1
- export function getInsureds_CNP(response: any): Promise<{
2
- total: any;
3
- totalActive: null;
4
- values: any;
5
- }>;
6
- export function getInsureds_CNP_Request(inputParams: any): {
7
- code: any;
8
- name: any;
9
- };
10
- export function postInsureds_CNP(payload: any): {
11
- salary: any;
12
- identification: any;
13
- };
14
- export function getEndorsements_CNP(response: any): Promise<{
15
- values: any;
16
- total: any;
17
- }>;
18
- export function getPolicies_CNP(response: any): Promise<{
19
- values: any;
20
- total: any;
21
- }>;
22
- export function getPolicies_CNP_Request(inputParams: any): {
23
- sort: string;
24
- orderType: string;
25
- pageNumber: any;
26
- pageSize: any;
27
- allPolicies: null;
28
- policyNumber: any;
29
- holderIdentification: any;
30
- requestNumber: any;
31
- };
32
- export function getPolicyDetail_CNP(data: any): Promise<{
33
- policyData: {
34
- alias: null;
35
- creationDate: any;
36
- currency: any;
37
- number: any;
38
- process: any;
39
- renewable: null;
40
- validityy: {
41
- dateFrom: any;
42
- dateTo: any;
43
- };
44
- };
45
- roleData: {
46
- holder: {
47
- identification: {
48
- type: any;
49
- value: any;
50
- };
51
- name: any;
52
- partyCode: any;
53
- partyType: null;
54
- };
55
- contacts: {
56
- identification: {
57
- type: any;
58
- value: any;
59
- };
60
- name: any;
61
- partyCode: any;
62
- partyType: null;
63
- }[];
64
- };
65
- collectionData: {
66
- paymentMethodData: {
67
- simpleMethodData: {
68
- number: any;
69
- type: any;
70
- };
71
- };
72
- paymentFrequency: any;
73
- };
74
- commercialStructureData: {
75
- data: {};
76
- intermediaries: {
77
- values: {
78
- code: any;
79
- name: any;
80
- role: null;
81
- status: null;
82
- }[];
83
- };
84
- };
85
- productData: {
86
- number: any;
87
- name: any;
88
- status: {};
89
- subsection: {
90
- name: null;
91
- code: null;
92
- section: any;
93
- };
94
- };
95
- coverageData: {
96
- coverages: any;
97
- };
98
- expenseData: {
99
- values: never[];
100
- };
101
- wordingData: {
102
- wordings: never[];
103
- };
104
- termData: {
105
- values: never[];
106
- };
107
- documentationData: {
108
- files: never[];
109
- comments: string;
110
- };
111
- endorsementData: {
112
- number: any;
113
- };
114
- insurableData: {
115
- minimumQuantityInsured: number;
116
- estimatedDeadline: any;
117
- minimumAge: number;
118
- maximumAge: number;
119
- maximumQuantityInsuredByEvent: number;
120
- maximumAmountToIndemnify: number;
121
- insurables: {
122
- type: {
123
- name: any;
124
- code: any;
125
- };
126
- wording: null;
127
- minimumEntryAge: number;
128
- maximumEntryAge: number;
129
- endingAgePrincipalCoverage: number;
130
- endingAgeAditionalCoverage: number;
131
- }[] | null;
132
- };
133
- savings: {
134
- accountBalance: any;
135
- annualPremium: any;
136
- premium: any;
137
- prize: any;
138
- simpleEndorsementPremium: any;
139
- };
140
- salesAgent: any;
141
- salesBranch: any;
142
- }>;
143
- export function getPolicyCollectiveDetail_CNP(response: any): Promise<{
144
- policyData: {
145
- number: any;
146
- alias: string;
147
- currency: {
148
- name: any;
149
- code: any;
150
- mnemonic: string;
151
- symbol: any;
152
- };
153
- validity: {
154
- type: {
155
- name: any;
156
- code: any;
157
- months: string;
158
- };
159
- dateFrom: string | null;
160
- dateTo: string | null;
161
- };
162
- creationDate: string | null;
163
- renewable: boolean;
164
- process: {
165
- name: any;
166
- code: string;
167
- };
168
- };
169
- roleData: {
170
- holder: {
171
- partyCode: any;
172
- name: any;
173
- identification: {
174
- value: any;
175
- type: {
176
- code: any;
177
- name: any;
178
- };
179
- };
180
- };
181
- contacts: {
182
- partyCode: string;
183
- name: string;
184
- identification: {
185
- value: string;
186
- type: {
187
- name: string;
188
- code: string;
189
- };
190
- };
191
- }[];
192
- legalResponsible: {
193
- partyCode: string;
194
- name: string;
195
- identification: {
196
- value: string;
197
- type: {
198
- name: string;
199
- code: string;
200
- };
201
- };
202
- };
203
- };
204
- collectionData: {
205
- holderDistribution: number;
206
- insuredDistribution: number;
207
- paymentFrequency: {
208
- name: any;
209
- code: string;
210
- };
211
- paymentMethodData: {
212
- cashMethodData: {
213
- values: {
214
- code: string;
215
- name: any;
216
- }[];
217
- } | null;
218
- bankAccountData: {
219
- values: {
220
- code: string;
221
- number: string;
222
- cbu: any;
223
- alias: string;
224
- currency: {
225
- code: string;
226
- name: any;
227
- };
228
- bankBranch: {
229
- name: string;
230
- code: string;
231
- bank: {
232
- name: string;
233
- code: string;
234
- };
235
- };
236
- bankAccountType: {
237
- name: string;
238
- code: string;
239
- };
240
- }[];
241
- } | null;
242
- creditCardData: {
243
- values: {
244
- code: string;
245
- ownerName: string;
246
- cardType: {
247
- name: string;
248
- code: string;
249
- };
250
- cardProvider: {
251
- name: string;
252
- code: string;
253
- };
254
- number: string;
255
- securityCode: string;
256
- dateTo: string;
257
- }[];
258
- } | null;
259
- };
260
- };
261
- commercialStructureData: {
262
- data: {
263
- name: string;
264
- code: string;
265
- version: number;
266
- description: string;
267
- status: {
268
- name: string;
269
- code: string;
270
- };
271
- };
272
- intermediaries: {
273
- values: {
274
- code: any;
275
- name: any;
276
- licence: string;
277
- role: {
278
- name: string;
279
- code: string;
280
- };
281
- status: {
282
- name: string;
283
- code: string;
284
- };
285
- }[];
286
- };
287
- };
288
- productData: {
289
- name: any;
290
- code: any;
291
- version: number;
292
- subsection: {
293
- name: string;
294
- code: string;
295
- section: {
296
- name: any;
297
- code: any;
298
- };
299
- };
300
- status: {
301
- name: any;
302
- code: string;
303
- };
304
- };
305
- coverageData: {
306
- coverages: any;
307
- };
308
- expenseData: {
309
- values: never[];
310
- };
311
- wordingData: {
312
- wordings: never[];
313
- };
314
- termData: {
315
- values: never[];
316
- };
317
- documentationData: {
318
- files: never[];
319
- comments: string;
320
- };
321
- endorsementData: {
322
- number: any;
323
- validityFrom: string;
324
- validityTo: string;
325
- type: {
326
- name: string;
327
- code: string;
328
- };
329
- };
330
- insurableData: {
331
- minimumQuantityInsured: number;
332
- estimatedDeadline: any;
333
- minimumAge: number;
334
- maximumAge: number;
335
- maximumQuantityInsuredByEvent: number;
336
- maximumAmountToIndemnify: string;
337
- insurables: {
338
- type: {
339
- name: any;
340
- code: any;
341
- };
342
- wording: string;
343
- minimumEntryAge: number;
344
- maximumEntryAge: number;
345
- endingAgePrincipalCoverage: number;
346
- endingAgeAditionalCoverage: number;
347
- }[] | null;
348
- };
349
- }>;
350
- export function getPolicyCollectiveDetail_Request(inputParams: any): {};
351
- export function getPolicyIndividualDetail_Request(inputParams: any): {};
352
- export function getPolicyCollection_Request(inputParams: any): {};
353
- export function getEndorsements_Request(inputParams: any): {};
354
- export function getPolicyDetail_Request(inputParams: any): {};
355
- export function getPolicyCollection(data: any): Promise<{
356
- billingForm: {};
357
- holderDistribution: null;
358
- insuredDistribution: null;
359
- paymentFrecuency: any;
360
- paymentMethodData: {
361
- simpleMethodData: {
362
- number: any;
363
- method: any;
364
- };
365
- };
366
- }>;
1
+ export function getInsureds_CNP(response: any): Promise<{
2
+ total: any;
3
+ totalActive: null;
4
+ values: any;
5
+ }>;
6
+ export function getInsureds_CNP_Request(inputParams: any): {
7
+ code: any;
8
+ name: any;
9
+ };
10
+ export function postInsureds_CNP(payload: any): {
11
+ salary: any;
12
+ identification: any;
13
+ };
14
+ export function getEndorsements_CNP(response: any): Promise<{
15
+ values: any;
16
+ total: any;
17
+ }>;
18
+ export function getPolicies_CNP(response: any): Promise<{
19
+ values: any;
20
+ total: any;
21
+ }>;
22
+ export function getPolicies_CNP_Request(inputParams: any): {
23
+ sort: string;
24
+ orderType: string;
25
+ pageNumber: any;
26
+ pageSize: any;
27
+ allPolicies: null;
28
+ policyNumber: any;
29
+ holderIdentification: any;
30
+ requestNumber: any;
31
+ };
32
+ export function getPolicyDetail_CNP(data: any): Promise<{
33
+ policyData: {
34
+ alias: null;
35
+ creationDate: any;
36
+ currency: any;
37
+ number: any;
38
+ process: any;
39
+ renewable: null;
40
+ validityy: {
41
+ dateFrom: any;
42
+ dateTo: any;
43
+ };
44
+ };
45
+ roleData: {
46
+ holder: {
47
+ identification: {
48
+ type: any;
49
+ value: any;
50
+ };
51
+ name: any;
52
+ partyCode: any;
53
+ partyType: null;
54
+ };
55
+ contacts: {
56
+ identification: {
57
+ type: any;
58
+ value: any;
59
+ };
60
+ name: any;
61
+ partyCode: any;
62
+ partyType: null;
63
+ }[];
64
+ };
65
+ collectionData: {
66
+ paymentMethodData: {
67
+ simpleMethodData: {
68
+ number: any;
69
+ type: any;
70
+ };
71
+ };
72
+ paymentFrequency: any;
73
+ };
74
+ commercialStructureData: {
75
+ data: {};
76
+ intermediaries: {
77
+ values: {
78
+ code: any;
79
+ name: any;
80
+ role: null;
81
+ status: null;
82
+ }[];
83
+ };
84
+ };
85
+ productData: {
86
+ number: any;
87
+ name: any;
88
+ status: {};
89
+ subsection: {
90
+ name: null;
91
+ code: null;
92
+ section: any;
93
+ };
94
+ };
95
+ coverageData: {
96
+ coverages: any;
97
+ };
98
+ expenseData: {
99
+ values: never[];
100
+ };
101
+ wordingData: {
102
+ wordings: never[];
103
+ };
104
+ termData: {
105
+ values: never[];
106
+ };
107
+ documentationData: {
108
+ files: never[];
109
+ comments: string;
110
+ };
111
+ endorsementData: {
112
+ number: any;
113
+ };
114
+ insurableData: {
115
+ minimumQuantityInsured: number;
116
+ estimatedDeadline: any;
117
+ minimumAge: number;
118
+ maximumAge: number;
119
+ maximumQuantityInsuredByEvent: number;
120
+ maximumAmountToIndemnify: number;
121
+ insurables: {
122
+ type: {
123
+ name: any;
124
+ code: any;
125
+ };
126
+ wording: null;
127
+ minimumEntryAge: number;
128
+ maximumEntryAge: number;
129
+ endingAgePrincipalCoverage: number;
130
+ endingAgeAditionalCoverage: number;
131
+ }[] | null;
132
+ };
133
+ savings: {
134
+ accountBalance: any;
135
+ annualPremium: any;
136
+ premium: any;
137
+ prize: any;
138
+ simpleEndorsementPremium: any;
139
+ };
140
+ salesAgent: any;
141
+ salesBranch: any;
142
+ }>;
143
+ export function getPolicyCollectiveDetail_CNP(response: any): Promise<{
144
+ policyData: {
145
+ number: any;
146
+ alias: string;
147
+ currency: {
148
+ name: any;
149
+ code: any;
150
+ mnemonic: string;
151
+ symbol: any;
152
+ };
153
+ validity: {
154
+ type: {
155
+ name: any;
156
+ code: any;
157
+ months: string;
158
+ };
159
+ dateFrom: string | null;
160
+ dateTo: string | null;
161
+ };
162
+ creationDate: string | null;
163
+ renewable: boolean;
164
+ process: {
165
+ name: any;
166
+ code: string;
167
+ };
168
+ };
169
+ roleData: {
170
+ holder: {
171
+ partyCode: any;
172
+ name: any;
173
+ identification: {
174
+ value: any;
175
+ type: {
176
+ code: any;
177
+ name: any;
178
+ };
179
+ };
180
+ };
181
+ contacts: {
182
+ partyCode: string;
183
+ name: string;
184
+ identification: {
185
+ value: string;
186
+ type: {
187
+ name: string;
188
+ code: string;
189
+ };
190
+ };
191
+ }[];
192
+ legalResponsible: {
193
+ partyCode: string;
194
+ name: string;
195
+ identification: {
196
+ value: string;
197
+ type: {
198
+ name: string;
199
+ code: string;
200
+ };
201
+ };
202
+ };
203
+ };
204
+ collectionData: {
205
+ holderDistribution: number;
206
+ insuredDistribution: number;
207
+ paymentFrequency: {
208
+ name: any;
209
+ code: string;
210
+ };
211
+ paymentMethodData: {
212
+ cashMethodData: {
213
+ values: {
214
+ code: string;
215
+ name: any;
216
+ }[];
217
+ } | null;
218
+ bankAccountData: {
219
+ values: {
220
+ code: string;
221
+ number: string;
222
+ cbu: any;
223
+ alias: string;
224
+ currency: {
225
+ code: string;
226
+ name: any;
227
+ };
228
+ bankBranch: {
229
+ name: string;
230
+ code: string;
231
+ bank: {
232
+ name: string;
233
+ code: string;
234
+ };
235
+ };
236
+ bankAccountType: {
237
+ name: string;
238
+ code: string;
239
+ };
240
+ }[];
241
+ } | null;
242
+ creditCardData: {
243
+ values: {
244
+ code: string;
245
+ ownerName: string;
246
+ cardType: {
247
+ name: string;
248
+ code: string;
249
+ };
250
+ cardProvider: {
251
+ name: string;
252
+ code: string;
253
+ };
254
+ number: string;
255
+ securityCode: string;
256
+ dateTo: string;
257
+ }[];
258
+ } | null;
259
+ };
260
+ };
261
+ commercialStructureData: {
262
+ data: {
263
+ name: string;
264
+ code: string;
265
+ version: number;
266
+ description: string;
267
+ status: {
268
+ name: string;
269
+ code: string;
270
+ };
271
+ };
272
+ intermediaries: {
273
+ values: {
274
+ code: any;
275
+ name: any;
276
+ licence: string;
277
+ role: {
278
+ name: string;
279
+ code: string;
280
+ };
281
+ status: {
282
+ name: string;
283
+ code: string;
284
+ };
285
+ }[];
286
+ };
287
+ };
288
+ productData: {
289
+ name: any;
290
+ code: any;
291
+ version: number;
292
+ subsection: {
293
+ name: string;
294
+ code: string;
295
+ section: {
296
+ name: any;
297
+ code: any;
298
+ };
299
+ };
300
+ status: {
301
+ name: any;
302
+ code: string;
303
+ };
304
+ };
305
+ coverageData: {
306
+ coverages: any;
307
+ };
308
+ expenseData: {
309
+ values: never[];
310
+ };
311
+ wordingData: {
312
+ wordings: never[];
313
+ };
314
+ termData: {
315
+ values: never[];
316
+ };
317
+ documentationData: {
318
+ files: never[];
319
+ comments: string;
320
+ };
321
+ endorsementData: {
322
+ number: any;
323
+ validityFrom: string;
324
+ validityTo: string;
325
+ type: {
326
+ name: string;
327
+ code: string;
328
+ };
329
+ };
330
+ insurableData: {
331
+ minimumQuantityInsured: number;
332
+ estimatedDeadline: any;
333
+ minimumAge: number;
334
+ maximumAge: number;
335
+ maximumQuantityInsuredByEvent: number;
336
+ maximumAmountToIndemnify: string;
337
+ insurables: {
338
+ type: {
339
+ name: any;
340
+ code: any;
341
+ };
342
+ wording: string;
343
+ minimumEntryAge: number;
344
+ maximumEntryAge: number;
345
+ endingAgePrincipalCoverage: number;
346
+ endingAgeAditionalCoverage: number;
347
+ }[] | null;
348
+ };
349
+ }>;
350
+ export function getPolicyCollectiveDetail_Request(inputParams: any): {};
351
+ export function getPolicyIndividualDetail_Request(inputParams: any): {};
352
+ export function getPolicyCollection_Request(inputParams: any): {};
353
+ export function getEndorsements_Request(inputParams: any): {};
354
+ export function getPolicyDetail_Request(inputParams: any): {};
355
+ export function getPolicyCollection(data: any): Promise<{
356
+ billingForm: {};
357
+ holderDistribution: null;
358
+ insuredDistribution: null;
359
+ paymentFrecuency: any;
360
+ paymentMethodData: {
361
+ simpleMethodData: {
362
+ number: any;
363
+ method: any;
364
+ };
365
+ };
366
+ }>;