sysone-api-mapper 1.0.143 → 1.0.146
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/config/dist/index.js +51 -3
- package/config/dist/index.ts +319 -0
- package/config/webpack.dev.js +7 -2
- package/config/webpack.prod.js +7 -2
- package/dist/axiosInstance.d.ts +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/services.d.ts +2 -0
- package/dist/servicesData.d.ts +143 -0
- package/dist/src/adapters/createApiAdapter.d.ts +16 -0
- package/dist/src/adapters/financeAdapter.d.ts +3 -0
- package/dist/src/adapters/locationAdapter.d.ts +4 -0
- package/dist/src/adapters/partyAdapter.d.ts +6 -0
- package/dist/src/components/notificationToast.d.ts +0 -0
- package/dist/src/contexts/actionsContext.d.ts +5 -0
- package/dist/src/contexts/apiContext.d.ts +2 -0
- package/dist/src/contexts/translationContext.d.ts +5 -0
- package/dist/src/mapper/Mapper.d.ts +2 -0
- package/dist/src/mapper/endpointsConfig.d.ts +2577 -0
- package/dist/src/mapper/helpers/mappingHelpers.d.ts +3 -0
- package/dist/src/mapper/modules/billing/index.d.ts +20 -0
- package/dist/src/mapper/modules/claim/index.d.ts +3 -0
- package/dist/src/mapper/modules/general/index.d.ts +4 -0
- package/dist/src/mapper/modules/party/index.d.ts +29 -0
- package/dist/src/mapper/modules/policy/index.d.ts +366 -0
- package/dist/src/mapper/modules/quotation/index.d.ts +297 -0
- package/dist/src/mapper/modules/request/index.d.ts +42 -0
- package/dist/src/public/index.d.ts +3 -0
- package/dist/src/server.d.ts +1 -0
- package/index.d.ts +5 -0
- package/{index.js → index.ts} +4 -1
- package/package.json +7 -3
- package/src/adapters/createApiAdapter.ts +29 -0
- package/src/contexts/apiContext.js +3 -3
- package/tsconfig.json +9 -0
- package/src/adapters/createApiAdapter.js +0 -10
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function getBillingsParams(i: any): {};
|
|
2
|
+
export function getBillingsResponse(data: any): {
|
|
3
|
+
values: any;
|
|
4
|
+
total: any;
|
|
5
|
+
};
|
|
6
|
+
export function getDebtorsResponse(data: any): {
|
|
7
|
+
values: any;
|
|
8
|
+
total: any;
|
|
9
|
+
};
|
|
10
|
+
export function getCollecionsResponse(data: any): {
|
|
11
|
+
values: any;
|
|
12
|
+
total: any;
|
|
13
|
+
};
|
|
14
|
+
export function getBillingTypeResponse(): {
|
|
15
|
+
types: {
|
|
16
|
+
name: string;
|
|
17
|
+
code: string;
|
|
18
|
+
operator: null;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export function getIdentificationTypes(response: any): Promise<{
|
|
2
|
+
values: any;
|
|
3
|
+
}>;
|
|
4
|
+
export function getCountries(response: any): Promise<{
|
|
5
|
+
countries: any;
|
|
6
|
+
}>;
|
|
7
|
+
export function getProvinces(response: any): Promise<{
|
|
8
|
+
provinces: any;
|
|
9
|
+
}>;
|
|
10
|
+
export function getMaritalStatuses(response: any): Promise<{
|
|
11
|
+
values: any;
|
|
12
|
+
}>;
|
|
13
|
+
export function getGenders(response: any): Promise<{
|
|
14
|
+
values: any;
|
|
15
|
+
}>;
|
|
16
|
+
export function getProductsBySubsections_Request(params: any): {
|
|
17
|
+
subsectionCode: null;
|
|
18
|
+
};
|
|
19
|
+
export function partySearchParams(params: any): {
|
|
20
|
+
firstName: any;
|
|
21
|
+
lastName: any;
|
|
22
|
+
identification: any;
|
|
23
|
+
};
|
|
24
|
+
export function partySearch(res: any): {
|
|
25
|
+
values: any;
|
|
26
|
+
};
|
|
27
|
+
export function getCoverages(p: any): {
|
|
28
|
+
coverages: any;
|
|
29
|
+
};
|
|
@@ -0,0 +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
|
+
}>;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
export function getQuotationsList(response: any): Promise<{
|
|
2
|
+
quotations: any;
|
|
3
|
+
total: any;
|
|
4
|
+
}>;
|
|
5
|
+
export function getQuotationDetail(res: any): Promise<{
|
|
6
|
+
areaCode: any;
|
|
7
|
+
code: any;
|
|
8
|
+
commercialStructure: {
|
|
9
|
+
data: {
|
|
10
|
+
code: null;
|
|
11
|
+
description: null;
|
|
12
|
+
name: null;
|
|
13
|
+
status: {
|
|
14
|
+
code: null;
|
|
15
|
+
name: null;
|
|
16
|
+
};
|
|
17
|
+
version: number;
|
|
18
|
+
};
|
|
19
|
+
intermediaries: {
|
|
20
|
+
values: never[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
creationDate: any;
|
|
24
|
+
email: any;
|
|
25
|
+
intermediary: {
|
|
26
|
+
code: any;
|
|
27
|
+
group: {
|
|
28
|
+
code: null;
|
|
29
|
+
name: null;
|
|
30
|
+
};
|
|
31
|
+
licence: any;
|
|
32
|
+
name: any;
|
|
33
|
+
roles: {
|
|
34
|
+
code: null;
|
|
35
|
+
name: null;
|
|
36
|
+
}[];
|
|
37
|
+
status: {
|
|
38
|
+
code: null;
|
|
39
|
+
name: null;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
number: any;
|
|
43
|
+
paymentFrequency: {
|
|
44
|
+
code: any;
|
|
45
|
+
months: any;
|
|
46
|
+
name: any;
|
|
47
|
+
};
|
|
48
|
+
phone: any;
|
|
49
|
+
product: {
|
|
50
|
+
code: any;
|
|
51
|
+
currency: {
|
|
52
|
+
code: null;
|
|
53
|
+
mnemonic: null;
|
|
54
|
+
name: null;
|
|
55
|
+
symbol: null;
|
|
56
|
+
};
|
|
57
|
+
name: any;
|
|
58
|
+
status: {
|
|
59
|
+
code: null;
|
|
60
|
+
name: null;
|
|
61
|
+
};
|
|
62
|
+
subsection: {
|
|
63
|
+
code: any;
|
|
64
|
+
name: any;
|
|
65
|
+
section: {
|
|
66
|
+
category: null;
|
|
67
|
+
code: any;
|
|
68
|
+
name: any;
|
|
69
|
+
type: null;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
version: any;
|
|
73
|
+
};
|
|
74
|
+
productSegment: null;
|
|
75
|
+
status: {
|
|
76
|
+
code: any;
|
|
77
|
+
name: any;
|
|
78
|
+
};
|
|
79
|
+
validity: {
|
|
80
|
+
code: null;
|
|
81
|
+
months: number;
|
|
82
|
+
name: null;
|
|
83
|
+
};
|
|
84
|
+
values: {
|
|
85
|
+
commercialAgreement: {
|
|
86
|
+
code: null;
|
|
87
|
+
intermediaries: never[];
|
|
88
|
+
};
|
|
89
|
+
expenses: never[];
|
|
90
|
+
groupedEconomicValues: any;
|
|
91
|
+
risks: any;
|
|
92
|
+
};
|
|
93
|
+
}>;
|
|
94
|
+
export function getQuotationByCode(response: any): Promise<{
|
|
95
|
+
code: any;
|
|
96
|
+
number: any;
|
|
97
|
+
creationDate: any;
|
|
98
|
+
expirationDate: any;
|
|
99
|
+
validity: {
|
|
100
|
+
code: string;
|
|
101
|
+
name: string;
|
|
102
|
+
months: string;
|
|
103
|
+
};
|
|
104
|
+
status: {
|
|
105
|
+
code: string;
|
|
106
|
+
name: string;
|
|
107
|
+
};
|
|
108
|
+
paymentFrequency: {
|
|
109
|
+
name: string;
|
|
110
|
+
code: string;
|
|
111
|
+
months: number;
|
|
112
|
+
};
|
|
113
|
+
email: string;
|
|
114
|
+
phone: string;
|
|
115
|
+
intermediary: {
|
|
116
|
+
code: string;
|
|
117
|
+
name: string;
|
|
118
|
+
roles: {};
|
|
119
|
+
};
|
|
120
|
+
commercialStructure: {
|
|
121
|
+
data: {
|
|
122
|
+
name: string;
|
|
123
|
+
code: string;
|
|
124
|
+
version: number;
|
|
125
|
+
description: string;
|
|
126
|
+
status: {
|
|
127
|
+
name: string;
|
|
128
|
+
code: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
intermediaries: {
|
|
132
|
+
values: {
|
|
133
|
+
code: string;
|
|
134
|
+
name: string;
|
|
135
|
+
licence: string;
|
|
136
|
+
role: {
|
|
137
|
+
name: string;
|
|
138
|
+
code: string;
|
|
139
|
+
};
|
|
140
|
+
status: {
|
|
141
|
+
name: string;
|
|
142
|
+
code: string;
|
|
143
|
+
};
|
|
144
|
+
group: {
|
|
145
|
+
name: string;
|
|
146
|
+
code: string;
|
|
147
|
+
};
|
|
148
|
+
}[];
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
product: {
|
|
152
|
+
name: string;
|
|
153
|
+
code: any;
|
|
154
|
+
version: number;
|
|
155
|
+
subsection: {
|
|
156
|
+
name: string;
|
|
157
|
+
code: string;
|
|
158
|
+
section: {
|
|
159
|
+
name: string;
|
|
160
|
+
code: any;
|
|
161
|
+
type: {
|
|
162
|
+
name: string;
|
|
163
|
+
code: string;
|
|
164
|
+
};
|
|
165
|
+
category: {
|
|
166
|
+
name: string;
|
|
167
|
+
code: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
status: {
|
|
172
|
+
code: string;
|
|
173
|
+
name: string;
|
|
174
|
+
};
|
|
175
|
+
currency: {
|
|
176
|
+
name: string;
|
|
177
|
+
code: string;
|
|
178
|
+
mnemonic: string;
|
|
179
|
+
symbol: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
productSegment: {
|
|
183
|
+
coverages: never[];
|
|
184
|
+
expenses: never[];
|
|
185
|
+
name: string;
|
|
186
|
+
code: string;
|
|
187
|
+
version: number;
|
|
188
|
+
description: string;
|
|
189
|
+
};
|
|
190
|
+
values: {
|
|
191
|
+
risks: {
|
|
192
|
+
code: string;
|
|
193
|
+
coverages: {
|
|
194
|
+
code: string;
|
|
195
|
+
name: string;
|
|
196
|
+
deductible: {
|
|
197
|
+
name: string;
|
|
198
|
+
code: string;
|
|
199
|
+
value: number;
|
|
200
|
+
appliedValue: number;
|
|
201
|
+
};
|
|
202
|
+
economicValues: {
|
|
203
|
+
type: {
|
|
204
|
+
name: string;
|
|
205
|
+
code: string;
|
|
206
|
+
};
|
|
207
|
+
value: number;
|
|
208
|
+
}[];
|
|
209
|
+
coverageValues: {
|
|
210
|
+
type: {
|
|
211
|
+
name: string;
|
|
212
|
+
code: string;
|
|
213
|
+
};
|
|
214
|
+
value: number;
|
|
215
|
+
}[];
|
|
216
|
+
}[];
|
|
217
|
+
data: {};
|
|
218
|
+
adherents: {
|
|
219
|
+
code: string;
|
|
220
|
+
coverages: {
|
|
221
|
+
code: string;
|
|
222
|
+
name: string;
|
|
223
|
+
deductible: {
|
|
224
|
+
name: string;
|
|
225
|
+
code: string;
|
|
226
|
+
value: number;
|
|
227
|
+
appliedValue: number;
|
|
228
|
+
};
|
|
229
|
+
economicValues: {
|
|
230
|
+
type: string;
|
|
231
|
+
code: string;
|
|
232
|
+
}[];
|
|
233
|
+
coverageValues: {
|
|
234
|
+
type: {
|
|
235
|
+
name: string;
|
|
236
|
+
code: string;
|
|
237
|
+
};
|
|
238
|
+
value: number;
|
|
239
|
+
}[];
|
|
240
|
+
}[];
|
|
241
|
+
data: {};
|
|
242
|
+
}[];
|
|
243
|
+
}[];
|
|
244
|
+
expenses: {
|
|
245
|
+
type: {
|
|
246
|
+
name: string;
|
|
247
|
+
code: string;
|
|
248
|
+
};
|
|
249
|
+
value: number;
|
|
250
|
+
}[];
|
|
251
|
+
groupedEconomicValues: {
|
|
252
|
+
type: {
|
|
253
|
+
name: string;
|
|
254
|
+
code: string;
|
|
255
|
+
};
|
|
256
|
+
value: number;
|
|
257
|
+
}[];
|
|
258
|
+
commercialAgreement: {};
|
|
259
|
+
};
|
|
260
|
+
}>;
|
|
261
|
+
export function getQuotationByCode_Request(inputParams: any): {};
|
|
262
|
+
export function getQuotations_Request(inputParams: any): {
|
|
263
|
+
number: any;
|
|
264
|
+
from: any;
|
|
265
|
+
to: any;
|
|
266
|
+
};
|
|
267
|
+
export function quotationStandardPlanCreationMapped(params: any): {
|
|
268
|
+
sectionCode: number;
|
|
269
|
+
paymentTypeCode: any;
|
|
270
|
+
productCode: any;
|
|
271
|
+
provinceCode: number;
|
|
272
|
+
} | null;
|
|
273
|
+
export function quotationVariablePlanCreationMapped(params: any): {
|
|
274
|
+
sectionCode: number;
|
|
275
|
+
paymentTypeCode: any;
|
|
276
|
+
productCode: any;
|
|
277
|
+
provinceCode: number;
|
|
278
|
+
birthdate: any;
|
|
279
|
+
insuredAmount: any;
|
|
280
|
+
} | null;
|
|
281
|
+
export function getActivityList(response: any): Promise<{
|
|
282
|
+
values: any;
|
|
283
|
+
}>;
|
|
284
|
+
export function getProductsBySubsections(response: any): Promise<{
|
|
285
|
+
values: any;
|
|
286
|
+
}>;
|
|
287
|
+
export function getProductParameters(item: any): Promise<{
|
|
288
|
+
name: any;
|
|
289
|
+
code: any;
|
|
290
|
+
version: any;
|
|
291
|
+
subsection: any;
|
|
292
|
+
fieldExclusions: any;
|
|
293
|
+
fields: any;
|
|
294
|
+
}>;
|
|
295
|
+
export function getPaymentFrecuencies(response: any): Promise<{
|
|
296
|
+
frequencies: any;
|
|
297
|
+
}>;
|