sysone-api-mapper 1.0.149 → 1.0.151
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/dist/axiosInstance.d.ts +2 -1
- package/dist/axiosInstance.js +8 -3
- package/dist/index.js +20 -7
- package/dist/services.js +23 -15
- package/dist/servicesData.js +367 -364
- package/dist/src/adapters/createApiAdapter.d.ts +2 -0
- package/dist/src/adapters/createApiAdapter.js +11 -7
- package/dist/src/adapters/financeAdapter.d.ts +2 -0
- package/dist/src/adapters/financeAdapter.js +9 -3
- package/dist/src/adapters/locationAdapter.js +8 -4
- package/dist/src/adapters/partyAdapter.js +10 -6
- package/dist/src/contexts/actionsContext.js +45 -8
- package/dist/src/contexts/apiContext.js +8 -4
- package/dist/src/contexts/translationContext.js +43 -6
- package/dist/src/mapper/Mapper.js +21 -13
- package/dist/src/mapper/endpointsConfig.d.ts +671 -656
- package/dist/src/mapper/endpointsConfig.js +169 -152
- package/dist/src/mapper/helpers/mappingHelpers.js +9 -3
- package/dist/src/mapper/modules/billing/index.js +13 -5
- package/dist/src/mapper/modules/claim/index.js +5 -1
- package/dist/src/mapper/modules/general/index.js +7 -2
- package/dist/src/mapper/modules/party/index.js +21 -9
- package/dist/src/mapper/modules/policy/index.js +24 -5
- package/dist/src/mapper/modules/quotation/index.js +35 -18
- package/dist/src/mapper/modules/request/index.js +7 -2
- package/package.json +1 -1
package/dist/servicesData.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.services = exports.endpoints = exports.methods = exports.modules = void 0;
|
|
4
|
+
exports.modules = {
|
|
2
5
|
PARTY: "PARTY_MODULE",
|
|
3
6
|
INTERMEDIARY: "INTERMEDIARY_MODULE",
|
|
4
7
|
COMMERCIAL_STRUCTURE: "COMMERCIAL_STRUCTURE_MODULE",
|
|
@@ -9,13 +12,13 @@ export const modules = {
|
|
|
9
12
|
CONFIGURATOR: "CONFIGURATOR_MODULE",
|
|
10
13
|
//falta agregar los endpoints para billing, collection, accounting, configurator
|
|
11
14
|
};
|
|
12
|
-
|
|
15
|
+
exports.methods = {
|
|
13
16
|
GET: "GET",
|
|
14
17
|
POST: "POST",
|
|
15
18
|
PUT: "PUT",
|
|
16
19
|
DELETE: "DELETE",
|
|
17
20
|
};
|
|
18
|
-
|
|
21
|
+
exports.endpoints = {
|
|
19
22
|
// *************** PARTY_MODULE ****************
|
|
20
23
|
// ------PEOPLE-------
|
|
21
24
|
GET_ACTIVITIES: "GET_ACTIVITIES",
|
|
@@ -152,845 +155,845 @@ export const endpoints = {
|
|
|
152
155
|
//CONFIGURATOR
|
|
153
156
|
CREATE_PRODUCT: "CREATE_PRODUCT",
|
|
154
157
|
};
|
|
155
|
-
|
|
158
|
+
exports.services = [
|
|
156
159
|
{
|
|
157
|
-
endpoint: endpoints.SEARCH_INDIVIDUALS,
|
|
160
|
+
endpoint: exports.endpoints.SEARCH_INDIVIDUALS,
|
|
158
161
|
serviceName: "individuals",
|
|
159
162
|
url: "party/v1/individuals",
|
|
160
|
-
method: methods.GET,
|
|
161
|
-
module: modules.PARTY,
|
|
163
|
+
method: exports.methods.GET,
|
|
164
|
+
module: exports.modules.PARTY,
|
|
162
165
|
},
|
|
163
166
|
{
|
|
164
|
-
endpoint: endpoints.CREATE_INDIVIDUAL,
|
|
167
|
+
endpoint: exports.endpoints.CREATE_INDIVIDUAL,
|
|
165
168
|
serviceName: "individuals",
|
|
166
169
|
url: "party/v1/individuals",
|
|
167
|
-
method: methods.POST,
|
|
168
|
-
module: modules.PARTY,
|
|
170
|
+
method: exports.methods.POST,
|
|
171
|
+
module: exports.modules.PARTY,
|
|
169
172
|
},
|
|
170
173
|
{
|
|
171
|
-
endpoint: endpoints.GET_ACTIVITIES,
|
|
174
|
+
endpoint: exports.endpoints.GET_ACTIVITIES,
|
|
172
175
|
serviceName: "activities",
|
|
173
176
|
url: "party/v1/activities/{0}",
|
|
174
|
-
method: methods.GET,
|
|
175
|
-
module: modules.PARTY,
|
|
177
|
+
method: exports.methods.GET,
|
|
178
|
+
module: exports.modules.PARTY,
|
|
176
179
|
},
|
|
177
180
|
{
|
|
178
|
-
endpoint: endpoints.GET_PRACTICES,
|
|
181
|
+
endpoint: exports.endpoints.GET_PRACTICES,
|
|
179
182
|
serviceName: "practices",
|
|
180
183
|
url: "party/v1/practices/{0}",
|
|
181
|
-
method: methods.GET,
|
|
182
|
-
module: modules.PARTY,
|
|
184
|
+
method: exports.methods.GET,
|
|
185
|
+
module: exports.modules.PARTY,
|
|
183
186
|
},
|
|
184
187
|
{
|
|
185
|
-
endpoint: endpoints.GET_SECTORS,
|
|
188
|
+
endpoint: exports.endpoints.GET_SECTORS,
|
|
186
189
|
serviceName: "sectors",
|
|
187
190
|
url: "party/v1/sectors",
|
|
188
|
-
method: methods.GET,
|
|
189
|
-
module: modules.PARTY,
|
|
191
|
+
method: exports.methods.GET,
|
|
192
|
+
module: exports.modules.PARTY,
|
|
190
193
|
},
|
|
191
194
|
{
|
|
192
|
-
endpoint: endpoints.GET_FISCAL_CATEGORIES,
|
|
195
|
+
endpoint: exports.endpoints.GET_FISCAL_CATEGORIES,
|
|
193
196
|
serviceName: "fiscal-categories",
|
|
194
197
|
url: "party/v1/fiscal-categories?party-type-code={0}&country-code={1}",
|
|
195
|
-
method: methods.GET,
|
|
196
|
-
module: modules.PARTY,
|
|
198
|
+
method: exports.methods.GET,
|
|
199
|
+
module: exports.modules.PARTY,
|
|
197
200
|
},
|
|
198
201
|
{
|
|
199
|
-
endpoint: endpoints.GET_MAIL_TYPES,
|
|
202
|
+
endpoint: exports.endpoints.GET_MAIL_TYPES,
|
|
200
203
|
serviceName: "mail-types",
|
|
201
204
|
url: "party/v1/mail-types",
|
|
202
|
-
method: methods.GET,
|
|
203
|
-
module: modules.PARTY,
|
|
205
|
+
method: exports.methods.GET,
|
|
206
|
+
module: exports.modules.PARTY,
|
|
204
207
|
},
|
|
205
208
|
{
|
|
206
|
-
endpoint: endpoints.GET_PHONE_TYPES,
|
|
209
|
+
endpoint: exports.endpoints.GET_PHONE_TYPES,
|
|
207
210
|
serviceName: "phone-types",
|
|
208
211
|
url: "party/v1/phone-types",
|
|
209
|
-
method: methods.GET,
|
|
210
|
-
module: modules.PARTY,
|
|
212
|
+
method: exports.methods.GET,
|
|
213
|
+
module: exports.modules.PARTY,
|
|
211
214
|
},
|
|
212
215
|
{
|
|
213
|
-
endpoint: endpoints.GET_IDENTIFICATION_TYPES,
|
|
216
|
+
endpoint: exports.endpoints.GET_IDENTIFICATION_TYPES,
|
|
214
217
|
serviceName: "identification-types",
|
|
215
218
|
url: "party/v1/identification-types?party-type-code={0}&country-code={1}",
|
|
216
|
-
method: methods.GET,
|
|
217
|
-
module: modules.PARTY,
|
|
219
|
+
method: exports.methods.GET,
|
|
220
|
+
module: exports.modules.PARTY,
|
|
218
221
|
},
|
|
219
222
|
{
|
|
220
|
-
endpoint: endpoints.GET_RELATIONS,
|
|
223
|
+
endpoint: exports.endpoints.GET_RELATIONS,
|
|
221
224
|
serviceName: "parties/relations",
|
|
222
225
|
url: "party/v1/parties/{0}/relations",
|
|
223
|
-
method: methods.GET,
|
|
224
|
-
module: modules.PARTY,
|
|
226
|
+
method: exports.methods.GET,
|
|
227
|
+
module: exports.modules.PARTY,
|
|
225
228
|
},
|
|
226
229
|
{
|
|
227
|
-
endpoint: endpoints.GET_NOTES,
|
|
230
|
+
endpoint: exports.endpoints.GET_NOTES,
|
|
228
231
|
serviceName: "parties/notes",
|
|
229
232
|
url: "party/v1/parties/{0}/notes",
|
|
230
|
-
method: methods.GET,
|
|
231
|
-
module: modules.PARTY,
|
|
233
|
+
method: exports.methods.GET,
|
|
234
|
+
module: exports.modules.PARTY,
|
|
232
235
|
},
|
|
233
236
|
{
|
|
234
|
-
endpoint: endpoints.GET_FILES,
|
|
237
|
+
endpoint: exports.endpoints.GET_FILES,
|
|
235
238
|
serviceName: "parties/files",
|
|
236
239
|
url: "party/v1/parties/{0}/files",
|
|
237
|
-
method: methods.GET,
|
|
238
|
-
module: modules.PARTY,
|
|
240
|
+
method: exports.methods.GET,
|
|
241
|
+
module: exports.modules.PARTY,
|
|
239
242
|
},
|
|
240
243
|
{
|
|
241
|
-
endpoint: endpoints.UPDATE_NOTES,
|
|
244
|
+
endpoint: exports.endpoints.UPDATE_NOTES,
|
|
242
245
|
serviceName: "parties/notes",
|
|
243
246
|
url: "party/v1/parties/{0}/notes",
|
|
244
|
-
method: methods.PUT,
|
|
245
|
-
module: modules.PARTY,
|
|
247
|
+
method: exports.methods.PUT,
|
|
248
|
+
module: exports.modules.PARTY,
|
|
246
249
|
},
|
|
247
250
|
{
|
|
248
|
-
endpoint: endpoints.UPDATE_FILES,
|
|
251
|
+
endpoint: exports.endpoints.UPDATE_FILES,
|
|
249
252
|
serviceName: "parties/files",
|
|
250
253
|
url: "party/v1/parties/{0}/files",
|
|
251
|
-
method: methods.PUT,
|
|
252
|
-
module: modules.PARTY,
|
|
254
|
+
method: exports.methods.PUT,
|
|
255
|
+
module: exports.modules.PARTY,
|
|
253
256
|
},
|
|
254
257
|
{
|
|
255
|
-
endpoint: endpoints.ADD_RELATION_WITH_EXISTING_PARTY,
|
|
258
|
+
endpoint: exports.endpoints.ADD_RELATION_WITH_EXISTING_PARTY,
|
|
256
259
|
serviceName: "parties/relations",
|
|
257
260
|
url: "party/v1/parties/{0}/relations",
|
|
258
|
-
method: methods.PUT,
|
|
259
|
-
module: modules.PARTY,
|
|
261
|
+
method: exports.methods.PUT,
|
|
262
|
+
module: exports.modules.PARTY,
|
|
260
263
|
},
|
|
261
264
|
{
|
|
262
|
-
endpoint: endpoints.GET_RELATIONS_BY_PARTY_CODE,
|
|
265
|
+
endpoint: exports.endpoints.GET_RELATIONS_BY_PARTY_CODE,
|
|
263
266
|
serviceName: "parties/relations",
|
|
264
267
|
url: "party/v1/parties/{0}/relations",
|
|
265
|
-
method: methods.GET,
|
|
266
|
-
module: modules.PARTY,
|
|
268
|
+
method: exports.methods.GET,
|
|
269
|
+
module: exports.modules.PARTY,
|
|
267
270
|
},
|
|
268
271
|
{
|
|
269
|
-
endpoint: endpoints.REMOVE_RELATION,
|
|
272
|
+
endpoint: exports.endpoints.REMOVE_RELATION,
|
|
270
273
|
serviceName: "parties/relations/disable",
|
|
271
274
|
url: "party/v1/parties/{0}/relations/disable",
|
|
272
|
-
method: methods.PUT,
|
|
273
|
-
module: modules.PARTY,
|
|
275
|
+
method: exports.methods.PUT,
|
|
276
|
+
module: exports.modules.PARTY,
|
|
274
277
|
},
|
|
275
278
|
{
|
|
276
|
-
endpoint: endpoints.GET_FILE,
|
|
279
|
+
endpoint: exports.endpoints.GET_FILE,
|
|
277
280
|
serviceName: "parties/file",
|
|
278
281
|
url: "party/v1/parties/{0}/file/{1}",
|
|
279
|
-
method: methods.GET,
|
|
280
|
-
module: modules.PARTY,
|
|
282
|
+
method: exports.methods.GET,
|
|
283
|
+
module: exports.modules.PARTY,
|
|
281
284
|
},
|
|
282
285
|
{
|
|
283
|
-
endpoint: endpoints.SEARCH_ORGANIZATION,
|
|
286
|
+
endpoint: exports.endpoints.SEARCH_ORGANIZATION,
|
|
284
287
|
serviceName: "organisations",
|
|
285
288
|
url: "party/v1/organisations",
|
|
286
|
-
method: methods.GET,
|
|
287
|
-
module: modules.PARTY,
|
|
289
|
+
method: exports.methods.GET,
|
|
290
|
+
module: exports.modules.PARTY,
|
|
288
291
|
},
|
|
289
292
|
{
|
|
290
|
-
endpoint: endpoints.GET_ORGANIZATION_TYPES,
|
|
293
|
+
endpoint: exports.endpoints.GET_ORGANIZATION_TYPES,
|
|
291
294
|
serviceName: "organisation-types",
|
|
292
295
|
url: "party/v1/organisation-types",
|
|
293
|
-
method: methods.GET,
|
|
294
|
-
module: modules.PARTY,
|
|
296
|
+
method: exports.methods.GET,
|
|
297
|
+
module: exports.modules.PARTY,
|
|
295
298
|
},
|
|
296
299
|
{
|
|
297
|
-
endpoint: endpoints.CREATE_ORGANIZATION,
|
|
300
|
+
endpoint: exports.endpoints.CREATE_ORGANIZATION,
|
|
298
301
|
serviceName: "organisations",
|
|
299
302
|
url: "party/v1/organisations",
|
|
300
|
-
method: methods.POST,
|
|
301
|
-
module: modules.PARTY,
|
|
303
|
+
method: exports.methods.POST,
|
|
304
|
+
module: exports.modules.PARTY,
|
|
302
305
|
},
|
|
303
306
|
{
|
|
304
|
-
endpoint: endpoints.UPDATE_ORGANIZATION,
|
|
307
|
+
endpoint: exports.endpoints.UPDATE_ORGANIZATION,
|
|
305
308
|
serviceName: "organisations",
|
|
306
309
|
url: "party/v1/organisations/{0}",
|
|
307
|
-
method: methods.PUT,
|
|
308
|
-
module: modules.PARTY,
|
|
310
|
+
method: exports.methods.PUT,
|
|
311
|
+
module: exports.modules.PARTY,
|
|
309
312
|
},
|
|
310
313
|
{
|
|
311
|
-
endpoint: endpoints.GET_ORGANIZATION_BY_CODE,
|
|
314
|
+
endpoint: exports.endpoints.GET_ORGANIZATION_BY_CODE,
|
|
312
315
|
serviceName: "organisations",
|
|
313
316
|
url: "party/v1/organisations/{0}",
|
|
314
|
-
method: methods.GET,
|
|
315
|
-
module: modules.PARTY,
|
|
317
|
+
method: exports.methods.GET,
|
|
318
|
+
module: exports.modules.PARTY,
|
|
316
319
|
},
|
|
317
320
|
{
|
|
318
|
-
endpoint: endpoints.ADD_RELATION_WITH_NEW_ORGANIZATION,
|
|
321
|
+
endpoint: exports.endpoints.ADD_RELATION_WITH_NEW_ORGANIZATION,
|
|
319
322
|
serviceName: "organisations/relations",
|
|
320
323
|
url: "party/v1/organisations/{0}/relations",
|
|
321
|
-
method: methods.PUT,
|
|
322
|
-
module: modules.PARTY,
|
|
324
|
+
method: exports.methods.PUT,
|
|
325
|
+
module: exports.modules.PARTY,
|
|
323
326
|
},
|
|
324
327
|
{
|
|
325
|
-
endpoint: endpoints.UPDATE_PERSON,
|
|
328
|
+
endpoint: exports.endpoints.UPDATE_PERSON,
|
|
326
329
|
serviceName: "individuals",
|
|
327
330
|
url: "party/v1/individuals/{0}",
|
|
328
|
-
method: methods.PUT,
|
|
329
|
-
module: modules.PARTY,
|
|
331
|
+
method: exports.methods.PUT,
|
|
332
|
+
module: exports.modules.PARTY,
|
|
330
333
|
},
|
|
331
334
|
{
|
|
332
|
-
endpoint: endpoints.SEARCH_PERSON,
|
|
335
|
+
endpoint: exports.endpoints.SEARCH_PERSON,
|
|
333
336
|
serviceName: "individuals",
|
|
334
337
|
url: "party/v1/individuals",
|
|
335
|
-
method: methods.GET,
|
|
336
|
-
module: modules.PARTY,
|
|
338
|
+
method: exports.methods.GET,
|
|
339
|
+
module: exports.modules.PARTY,
|
|
337
340
|
},
|
|
338
341
|
{
|
|
339
|
-
endpoint: endpoints.GET_PERSON_BY_CODE,
|
|
342
|
+
endpoint: exports.endpoints.GET_PERSON_BY_CODE,
|
|
340
343
|
serviceName: "individuals",
|
|
341
344
|
url: "party/v1/individuals/{0}",
|
|
342
|
-
method: methods.GET,
|
|
343
|
-
module: modules.PARTY,
|
|
345
|
+
method: exports.methods.GET,
|
|
346
|
+
module: exports.modules.PARTY,
|
|
344
347
|
},
|
|
345
348
|
{
|
|
346
|
-
endpoint: endpoints.GET_GENDERS,
|
|
349
|
+
endpoint: exports.endpoints.GET_GENDERS,
|
|
347
350
|
serviceName: "genders",
|
|
348
351
|
url: "party/v1/genders",
|
|
349
|
-
method: methods.GET,
|
|
350
|
-
module: modules.PARTY,
|
|
352
|
+
method: exports.methods.GET,
|
|
353
|
+
module: exports.modules.PARTY,
|
|
351
354
|
},
|
|
352
355
|
{
|
|
353
|
-
endpoint: endpoints.GET_MARITAL_STATUSES,
|
|
356
|
+
endpoint: exports.endpoints.GET_MARITAL_STATUSES,
|
|
354
357
|
serviceName: "marital-statuses",
|
|
355
358
|
url: "party/v1/marital-statuses",
|
|
356
|
-
method: methods.GET,
|
|
357
|
-
module: modules.PARTY,
|
|
359
|
+
method: exports.methods.GET,
|
|
360
|
+
module: exports.modules.PARTY,
|
|
358
361
|
},
|
|
359
362
|
{
|
|
360
|
-
endpoint: endpoints.GET_WORKER_TYPES,
|
|
363
|
+
endpoint: exports.endpoints.GET_WORKER_TYPES,
|
|
361
364
|
serviceName: "worker-types",
|
|
362
365
|
url: "party/v1/worker-types",
|
|
363
|
-
method: methods.GET,
|
|
364
|
-
module: modules.PARTY,
|
|
366
|
+
method: exports.methods.GET,
|
|
367
|
+
module: exports.modules.PARTY,
|
|
365
368
|
},
|
|
366
369
|
{
|
|
367
|
-
endpoint: endpoints.GET_ECONOMIC_CLASSES,
|
|
370
|
+
endpoint: exports.endpoints.GET_ECONOMIC_CLASSES,
|
|
368
371
|
serviceName: "economic-classes",
|
|
369
372
|
url: "party/v1/economic-classes",
|
|
370
|
-
method: methods.GET,
|
|
371
|
-
module: modules.PARTY,
|
|
373
|
+
method: exports.methods.GET,
|
|
374
|
+
module: exports.modules.PARTY,
|
|
372
375
|
},
|
|
373
376
|
{
|
|
374
|
-
endpoint: endpoints.GET_RELATION_TYPES,
|
|
377
|
+
endpoint: exports.endpoints.GET_RELATION_TYPES,
|
|
375
378
|
serviceName: "relation-types",
|
|
376
379
|
url: "party/v1/relation-types/{0}",
|
|
377
|
-
method: methods.GET,
|
|
378
|
-
module: modules.PARTY,
|
|
380
|
+
method: exports.methods.GET,
|
|
381
|
+
module: exports.modules.PARTY,
|
|
379
382
|
},
|
|
380
383
|
{
|
|
381
|
-
endpoint: endpoints.ADD_RELATION_WITH_NEW_PERSON,
|
|
384
|
+
endpoint: exports.endpoints.ADD_RELATION_WITH_NEW_PERSON,
|
|
382
385
|
serviceName: "individuals/relations",
|
|
383
386
|
url: "party/v1/individuals/{0}/relations",
|
|
384
|
-
method: methods.PUT,
|
|
385
|
-
module: modules.PARTY,
|
|
387
|
+
method: exports.methods.PUT,
|
|
388
|
+
module: exports.modules.PARTY,
|
|
386
389
|
},
|
|
387
390
|
{
|
|
388
|
-
endpoint: endpoints.GET_POLICY_PROCESSES,
|
|
391
|
+
endpoint: exports.endpoints.GET_POLICY_PROCESSES,
|
|
389
392
|
serviceName: "policy-statuses",
|
|
390
393
|
url: "policy/v1/policy-statuses",
|
|
391
|
-
method: methods.GET,
|
|
392
|
-
module: modules.PARTY,
|
|
394
|
+
method: exports.methods.GET,
|
|
395
|
+
module: exports.modules.PARTY,
|
|
393
396
|
},
|
|
394
397
|
{
|
|
395
|
-
endpoint: endpoints.GET_COUNTRIES,
|
|
398
|
+
endpoint: exports.endpoints.GET_COUNTRIES,
|
|
396
399
|
serviceName: "countries",
|
|
397
400
|
url: "location/v1/countries",
|
|
398
|
-
method: methods.GET,
|
|
399
|
-
module: modules.PARTY,
|
|
401
|
+
method: exports.methods.GET,
|
|
402
|
+
module: exports.modules.PARTY,
|
|
400
403
|
},
|
|
401
404
|
{
|
|
402
|
-
endpoint: endpoints.GET_COUNTRY_BY_CODE,
|
|
405
|
+
endpoint: exports.endpoints.GET_COUNTRY_BY_CODE,
|
|
403
406
|
serviceName: "countries",
|
|
404
407
|
url: "location/v1/countries/{0}",
|
|
405
|
-
method: methods.GET,
|
|
406
|
-
module: modules.PARTY,
|
|
408
|
+
method: exports.methods.GET,
|
|
409
|
+
module: exports.modules.PARTY,
|
|
407
410
|
},
|
|
408
411
|
{
|
|
409
|
-
endpoint: endpoints.GET_PROVINCES,
|
|
412
|
+
endpoint: exports.endpoints.GET_PROVINCES,
|
|
410
413
|
serviceName: "countries/provinces",
|
|
411
414
|
url: "location/v1/countries/{0}/provinces",
|
|
412
|
-
method: methods.GET,
|
|
413
|
-
module: modules.PARTY,
|
|
415
|
+
method: exports.methods.GET,
|
|
416
|
+
module: exports.modules.PARTY,
|
|
414
417
|
},
|
|
415
418
|
{
|
|
416
|
-
endpoint: endpoints.GET_CITIES,
|
|
419
|
+
endpoint: exports.endpoints.GET_CITIES,
|
|
417
420
|
serviceName: "provinces/cities",
|
|
418
421
|
url: "location/v1/provinces/{0}/cities",
|
|
419
|
-
method: methods.GET,
|
|
420
|
-
module: modules.PARTY,
|
|
422
|
+
method: exports.methods.GET,
|
|
423
|
+
module: exports.modules.PARTY,
|
|
421
424
|
},
|
|
422
425
|
{
|
|
423
|
-
endpoint: endpoints.GET_POSTAL_CODES,
|
|
426
|
+
endpoint: exports.endpoints.GET_POSTAL_CODES,
|
|
424
427
|
serviceName: "cities/postal-codes",
|
|
425
428
|
url: "location/v1/cities/{0}/postal-codes",
|
|
426
|
-
method: methods.GET,
|
|
427
|
-
module: modules.PARTY,
|
|
429
|
+
method: exports.methods.GET,
|
|
430
|
+
module: exports.modules.PARTY,
|
|
428
431
|
},
|
|
429
432
|
{
|
|
430
|
-
endpoint: endpoints.GET_ADDRESSES_BY_PARTY_CODE,
|
|
433
|
+
endpoint: exports.endpoints.GET_ADDRESSES_BY_PARTY_CODE,
|
|
431
434
|
serviceName: "party/addresses",
|
|
432
435
|
url: "location/v1/party/{0}/addresses",
|
|
433
|
-
method: methods.GET,
|
|
434
|
-
module: modules.PARTY,
|
|
436
|
+
method: exports.methods.GET,
|
|
437
|
+
module: exports.modules.PARTY,
|
|
435
438
|
},
|
|
436
439
|
{
|
|
437
|
-
endpoint: endpoints.GET_ADDRESS_TYPES,
|
|
440
|
+
endpoint: exports.endpoints.GET_ADDRESS_TYPES,
|
|
438
441
|
serviceName: "address-types",
|
|
439
442
|
url: "location/v1/address-types",
|
|
440
|
-
method: methods.GET,
|
|
441
|
-
module: modules.PARTY,
|
|
443
|
+
method: exports.methods.GET,
|
|
444
|
+
module: exports.modules.PARTY,
|
|
442
445
|
},
|
|
443
446
|
{
|
|
444
|
-
endpoint: endpoints.GET_PAYMENT_METHODS_BY_PARTY_CODE,
|
|
447
|
+
endpoint: exports.endpoints.GET_PAYMENT_METHODS_BY_PARTY_CODE,
|
|
445
448
|
serviceName: "parties/payment-methods",
|
|
446
449
|
url: "party/v1/parties/{0}/payment-methods",
|
|
447
|
-
method: methods.GET,
|
|
448
|
-
module: modules.PARTY,
|
|
450
|
+
method: exports.methods.GET,
|
|
451
|
+
module: exports.modules.PARTY,
|
|
449
452
|
},
|
|
450
453
|
{
|
|
451
|
-
endpoint: endpoints.GET_CREDIT_CARD_TYPES,
|
|
454
|
+
endpoint: exports.endpoints.GET_CREDIT_CARD_TYPES,
|
|
452
455
|
serviceName: "credit-card-types",
|
|
453
456
|
url: "finance/v1/credit-card-types",
|
|
454
|
-
method: methods.GET,
|
|
455
|
-
module: modules.PARTY,
|
|
457
|
+
method: exports.methods.GET,
|
|
458
|
+
module: exports.modules.PARTY,
|
|
456
459
|
},
|
|
457
460
|
{
|
|
458
|
-
endpoint: endpoints.GET_CARD_PROVIDERS,
|
|
461
|
+
endpoint: exports.endpoints.GET_CARD_PROVIDERS,
|
|
459
462
|
serviceName: "card-providers",
|
|
460
463
|
url: "finance/v1/card-providers",
|
|
461
|
-
method: methods.GET,
|
|
462
|
-
module: modules.PARTY,
|
|
464
|
+
method: exports.methods.GET,
|
|
465
|
+
module: exports.modules.PARTY,
|
|
463
466
|
},
|
|
464
467
|
{
|
|
465
|
-
endpoint: endpoints.UPDATE_PAYMENTS,
|
|
468
|
+
endpoint: exports.endpoints.UPDATE_PAYMENTS,
|
|
466
469
|
serviceName: "parties/payment-methods",
|
|
467
470
|
url: "party/v1/parties/{0}/payment-methods",
|
|
468
|
-
method: methods.PUT,
|
|
469
|
-
module: modules.PARTY,
|
|
471
|
+
method: exports.methods.PUT,
|
|
472
|
+
module: exports.modules.PARTY,
|
|
470
473
|
},
|
|
471
474
|
{
|
|
472
|
-
endpoint: endpoints.GET_BANKS,
|
|
475
|
+
endpoint: exports.endpoints.GET_BANKS,
|
|
473
476
|
serviceName: "banks",
|
|
474
477
|
url: "finance/v1/banks",
|
|
475
|
-
method: methods.GET,
|
|
476
|
-
module: modules.PARTY,
|
|
478
|
+
method: exports.methods.GET,
|
|
479
|
+
module: exports.modules.PARTY,
|
|
477
480
|
},
|
|
478
481
|
{
|
|
479
|
-
endpoint: endpoints.GET_CURRENCIES,
|
|
482
|
+
endpoint: exports.endpoints.GET_CURRENCIES,
|
|
480
483
|
serviceName: "currencies",
|
|
481
484
|
url: "finance/v1/currencies",
|
|
482
|
-
method: methods.GET,
|
|
483
|
-
module: modules.PARTY,
|
|
485
|
+
method: exports.methods.GET,
|
|
486
|
+
module: exports.modules.PARTY,
|
|
484
487
|
},
|
|
485
488
|
{
|
|
486
|
-
endpoint: endpoints.GET_BANK_ACCOUNT_TYPES,
|
|
489
|
+
endpoint: exports.endpoints.GET_BANK_ACCOUNT_TYPES,
|
|
487
490
|
serviceName: "bank-account-types",
|
|
488
491
|
url: "finance/v1/bank-account-types",
|
|
489
|
-
method: methods.GET,
|
|
490
|
-
module: modules.PARTY,
|
|
492
|
+
method: exports.methods.GET,
|
|
493
|
+
module: exports.modules.PARTY,
|
|
491
494
|
},
|
|
492
495
|
{
|
|
493
|
-
endpoint: endpoints.GET_BANK_BRANCHES,
|
|
496
|
+
endpoint: exports.endpoints.GET_BANK_BRANCHES,
|
|
494
497
|
serviceName: "banks/branches",
|
|
495
498
|
url: "finance/v1/banks/{0}/branches",
|
|
496
|
-
method: methods.GET,
|
|
497
|
-
module: modules.PARTY,
|
|
499
|
+
method: exports.methods.GET,
|
|
500
|
+
module: exports.modules.PARTY,
|
|
498
501
|
},
|
|
499
502
|
{
|
|
500
|
-
endpoint: endpoints.SEARCH_INTERMEDIARIES,
|
|
503
|
+
endpoint: exports.endpoints.SEARCH_INTERMEDIARIES,
|
|
501
504
|
serviceName: "intermediary",
|
|
502
505
|
url: "intermediary/v1/intermediary",
|
|
503
|
-
method: methods.GET,
|
|
504
|
-
module: modules.INTERMEDIARY,
|
|
506
|
+
method: exports.methods.GET,
|
|
507
|
+
module: exports.modules.INTERMEDIARY,
|
|
505
508
|
},
|
|
506
509
|
{
|
|
507
|
-
endpoint: endpoints.GET_PERSON_INTERMEDIARY_BY_CODE,
|
|
510
|
+
endpoint: exports.endpoints.GET_PERSON_INTERMEDIARY_BY_CODE,
|
|
508
511
|
serviceName: "intermediary-individual",
|
|
509
512
|
url: "intermediary/v1/intermediary-individual/{0}",
|
|
510
|
-
method: methods.GET,
|
|
511
|
-
module: modules.INTERMEDIARY,
|
|
513
|
+
method: exports.methods.GET,
|
|
514
|
+
module: exports.modules.INTERMEDIARY,
|
|
512
515
|
},
|
|
513
516
|
{
|
|
514
|
-
endpoint: endpoints.GET_ORGANIZATION_INTERMEDIARY_BY_CODE,
|
|
517
|
+
endpoint: exports.endpoints.GET_ORGANIZATION_INTERMEDIARY_BY_CODE,
|
|
515
518
|
serviceName: "intermediary-organisation",
|
|
516
519
|
url: "intermediary/v1/intermediary-organisation/{0}",
|
|
517
|
-
method: methods.GET,
|
|
518
|
-
module: modules.INTERMEDIARY,
|
|
520
|
+
method: exports.methods.GET,
|
|
521
|
+
module: exports.modules.INTERMEDIARY,
|
|
519
522
|
},
|
|
520
523
|
{
|
|
521
|
-
endpoint: endpoints.GET_INTERMEDIARIES_GROUPS,
|
|
524
|
+
endpoint: exports.endpoints.GET_INTERMEDIARIES_GROUPS,
|
|
522
525
|
serviceName: "intermediary-groups",
|
|
523
526
|
url: "intermediary/v1/intermediary-groups",
|
|
524
|
-
method: methods.GET,
|
|
525
|
-
module: modules.INTERMEDIARY,
|
|
527
|
+
method: exports.methods.GET,
|
|
528
|
+
module: exports.modules.INTERMEDIARY,
|
|
526
529
|
},
|
|
527
530
|
{
|
|
528
|
-
endpoint: endpoints.GET_INTERMEDIARIES_ROLES,
|
|
531
|
+
endpoint: exports.endpoints.GET_INTERMEDIARIES_ROLES,
|
|
529
532
|
serviceName: "intermediary-roles",
|
|
530
533
|
url: "intermediary/v1/intermediary-roles",
|
|
531
|
-
method: methods.GET,
|
|
532
|
-
module: modules.INTERMEDIARY,
|
|
534
|
+
method: exports.methods.GET,
|
|
535
|
+
module: exports.modules.INTERMEDIARY,
|
|
533
536
|
},
|
|
534
537
|
{
|
|
535
|
-
endpoint: endpoints.GET_INTERMEDIARY_STRUCTURES,
|
|
538
|
+
endpoint: exports.endpoints.GET_INTERMEDIARY_STRUCTURES,
|
|
536
539
|
serviceName: "intermediary-structures",
|
|
537
540
|
url: "intermediary/v1/intermediary/{0}/commercial-structures",
|
|
538
|
-
method: methods.GET,
|
|
539
|
-
module: modules.INTERMEDIARY,
|
|
541
|
+
method: exports.methods.GET,
|
|
542
|
+
module: exports.modules.INTERMEDIARY,
|
|
540
543
|
},
|
|
541
544
|
{
|
|
542
|
-
endpoint: endpoints.GET_INTERMEDIARIES_STATES,
|
|
545
|
+
endpoint: exports.endpoints.GET_INTERMEDIARIES_STATES,
|
|
543
546
|
serviceName: "commercial-structure-statuses",
|
|
544
547
|
url: "intermediary/v1/commercial-structure-statuses",
|
|
545
|
-
method: methods.GET,
|
|
546
|
-
module: modules.INTERMEDIARY,
|
|
548
|
+
method: exports.methods.GET,
|
|
549
|
+
module: exports.modules.INTERMEDIARY,
|
|
547
550
|
},
|
|
548
551
|
{
|
|
549
|
-
endpoint: endpoints.GET_INTERMEDIARIES_TYPES,
|
|
552
|
+
endpoint: exports.endpoints.GET_INTERMEDIARIES_TYPES,
|
|
550
553
|
serviceName: "intermediary-types",
|
|
551
554
|
url: "intermediary/v1/intermediary-types",
|
|
552
|
-
method: methods.GET,
|
|
553
|
-
module: modules.INTERMEDIARY,
|
|
555
|
+
method: exports.methods.GET,
|
|
556
|
+
module: exports.modules.INTERMEDIARY,
|
|
554
557
|
},
|
|
555
558
|
{
|
|
556
|
-
endpoint: endpoints.CREATE_INTERMEDIARY_ASSOCIATED_WITH_PARTY,
|
|
559
|
+
endpoint: exports.endpoints.CREATE_INTERMEDIARY_ASSOCIATED_WITH_PARTY,
|
|
557
560
|
serviceName: "intermediary-party-association",
|
|
558
561
|
url: "intermediary/v1/intermediary-party-association",
|
|
559
|
-
method: methods.POST,
|
|
560
|
-
module: modules.INTERMEDIARY,
|
|
562
|
+
method: exports.methods.POST,
|
|
563
|
+
module: exports.modules.INTERMEDIARY,
|
|
561
564
|
},
|
|
562
565
|
{
|
|
563
|
-
endpoint: endpoints.CREATE_INTERMEDIARY_WITH_WITH_PERSON,
|
|
566
|
+
endpoint: exports.endpoints.CREATE_INTERMEDIARY_WITH_WITH_PERSON,
|
|
564
567
|
serviceName: "intermediary-individual",
|
|
565
568
|
url: "intermediary/v1/intermediary-individual",
|
|
566
|
-
method: methods.POST,
|
|
567
|
-
module: modules.INTERMEDIARY,
|
|
569
|
+
method: exports.methods.POST,
|
|
570
|
+
module: exports.modules.INTERMEDIARY,
|
|
568
571
|
},
|
|
569
572
|
{
|
|
570
|
-
endpoint: endpoints.CREATE_INTERMEDIARY_WITH_WITH_ORGANIZATION,
|
|
573
|
+
endpoint: exports.endpoints.CREATE_INTERMEDIARY_WITH_WITH_ORGANIZATION,
|
|
571
574
|
serviceName: "intermediary-organisation",
|
|
572
575
|
url: "intermediary/v1/intermediary-organisation",
|
|
573
|
-
method: methods.POST,
|
|
574
|
-
module: modules.INTERMEDIARY,
|
|
576
|
+
method: exports.methods.POST,
|
|
577
|
+
module: exports.modules.INTERMEDIARY,
|
|
575
578
|
},
|
|
576
579
|
{
|
|
577
|
-
endpoint: endpoints.UPDATE_INTERMEDIARY,
|
|
580
|
+
endpoint: exports.endpoints.UPDATE_INTERMEDIARY,
|
|
578
581
|
serviceName: "intermediary",
|
|
579
582
|
url: "intermediary/v1/intermediary/{0}",
|
|
580
|
-
method: methods.PUT,
|
|
581
|
-
module: modules.INTERMEDIARY,
|
|
583
|
+
method: exports.methods.PUT,
|
|
584
|
+
module: exports.modules.INTERMEDIARY,
|
|
582
585
|
},
|
|
583
586
|
{
|
|
584
|
-
endpoint: endpoints.SEARCH_COMMERCIAL_STRUCTURE,
|
|
587
|
+
endpoint: exports.endpoints.SEARCH_COMMERCIAL_STRUCTURE,
|
|
585
588
|
serviceName: "commercial-structures",
|
|
586
589
|
url: "intermediary/v1/commercial-structures",
|
|
587
|
-
method: methods.GET,
|
|
588
|
-
module: modules.COMMERCIAL_STRUCTURE,
|
|
590
|
+
method: exports.methods.GET,
|
|
591
|
+
module: exports.modules.COMMERCIAL_STRUCTURE,
|
|
589
592
|
},
|
|
590
593
|
{
|
|
591
|
-
endpoint: endpoints.CREATE_COMMERCIAL_STRUCTURE,
|
|
594
|
+
endpoint: exports.endpoints.CREATE_COMMERCIAL_STRUCTURE,
|
|
592
595
|
serviceName: "commercial-structures",
|
|
593
596
|
url: "intermediary/v1/commercial-structures",
|
|
594
|
-
method: methods.POST,
|
|
595
|
-
module: modules.COMMERCIAL_STRUCTURE,
|
|
597
|
+
method: exports.methods.POST,
|
|
598
|
+
module: exports.modules.COMMERCIAL_STRUCTURE,
|
|
596
599
|
},
|
|
597
600
|
{
|
|
598
|
-
endpoint: endpoints.GET_COMMERCIAL_STRUCTURE_STATUSES,
|
|
601
|
+
endpoint: exports.endpoints.GET_COMMERCIAL_STRUCTURE_STATUSES,
|
|
599
602
|
serviceName: "commercial-structure-statuses",
|
|
600
603
|
url: "intermediary/v1/commercial-structure-statuses",
|
|
601
|
-
method: methods.GET,
|
|
602
|
-
module: modules.COMMERCIAL_STRUCTURE,
|
|
604
|
+
method: exports.methods.GET,
|
|
605
|
+
module: exports.modules.COMMERCIAL_STRUCTURE,
|
|
603
606
|
},
|
|
604
607
|
{
|
|
605
|
-
endpoint: endpoints.GET_COMMERCIAL_STRUCTURES_BY_CODE,
|
|
608
|
+
endpoint: exports.endpoints.GET_COMMERCIAL_STRUCTURES_BY_CODE,
|
|
606
609
|
serviceName: "commercial-structures",
|
|
607
610
|
url: "intermediary/v1/commercial-structures/{0}",
|
|
608
|
-
method: methods.GET,
|
|
609
|
-
module: modules.COMMERCIAL_STRUCTURE,
|
|
611
|
+
method: exports.methods.GET,
|
|
612
|
+
module: exports.modules.COMMERCIAL_STRUCTURE,
|
|
610
613
|
},
|
|
611
614
|
{
|
|
612
|
-
endpoint: endpoints.UPDATE_COMMERCIAL_STRUCTURE,
|
|
615
|
+
endpoint: exports.endpoints.UPDATE_COMMERCIAL_STRUCTURE,
|
|
613
616
|
serviceName: "commercial-structures",
|
|
614
617
|
url: "intermediary/v1/commercial-structures/{0}",
|
|
615
|
-
method: methods.PUT,
|
|
616
|
-
module: modules.COMMERCIAL_STRUCTURE,
|
|
618
|
+
method: exports.methods.PUT,
|
|
619
|
+
module: exports.modules.COMMERCIAL_STRUCTURE,
|
|
617
620
|
},
|
|
618
621
|
{
|
|
619
|
-
endpoint: endpoints.UPDATE_COMMERCIAL_STRUCTURE_INTERMEDIARIES,
|
|
622
|
+
endpoint: exports.endpoints.UPDATE_COMMERCIAL_STRUCTURE_INTERMEDIARIES,
|
|
620
623
|
serviceName: "commercial-structures/intermediaries",
|
|
621
624
|
url: "intermediary/v1/commercial-structures/{0}/intermediaries",
|
|
622
|
-
method: methods.PUT,
|
|
623
|
-
module: modules.COMMERCIAL_STRUCTURE,
|
|
625
|
+
method: exports.methods.PUT,
|
|
626
|
+
module: exports.modules.COMMERCIAL_STRUCTURE,
|
|
624
627
|
},
|
|
625
628
|
{
|
|
626
|
-
endpoint: endpoints.SEARCH_POLICIES,
|
|
629
|
+
endpoint: exports.endpoints.SEARCH_POLICIES,
|
|
627
630
|
serviceName: "policies",
|
|
628
631
|
url: "policy/v1/policies",
|
|
629
|
-
method: methods.GET,
|
|
630
|
-
module: modules.POLICY,
|
|
632
|
+
method: exports.methods.GET,
|
|
633
|
+
module: exports.modules.POLICY,
|
|
631
634
|
},
|
|
632
635
|
{
|
|
633
|
-
endpoint: endpoints.GET_POLICY_SECTIONS,
|
|
636
|
+
endpoint: exports.endpoints.GET_POLICY_SECTIONS,
|
|
634
637
|
serviceName: "sections",
|
|
635
638
|
url: "product/v1/sections",
|
|
636
|
-
method: methods.GET,
|
|
637
|
-
module: modules.POLICY,
|
|
639
|
+
method: exports.methods.GET,
|
|
640
|
+
module: exports.modules.POLICY,
|
|
638
641
|
},
|
|
639
642
|
{
|
|
640
|
-
endpoint: endpoints.GET_POLICY_SUBSECTIONS,
|
|
643
|
+
endpoint: exports.endpoints.GET_POLICY_SUBSECTIONS,
|
|
641
644
|
serviceName: "sections/subsections",
|
|
642
645
|
url: "product/v1/sections/{0}/subsections",
|
|
643
|
-
method: methods.GET,
|
|
644
|
-
module: modules.POLICY,
|
|
646
|
+
method: exports.methods.GET,
|
|
647
|
+
module: exports.modules.POLICY,
|
|
645
648
|
},
|
|
646
649
|
{
|
|
647
|
-
endpoint: endpoints.GET_POLICY_PROCESSES,
|
|
650
|
+
endpoint: exports.endpoints.GET_POLICY_PROCESSES,
|
|
648
651
|
serviceName: "policy-statuses",
|
|
649
652
|
url: "policy/v1/policy-statuses",
|
|
650
|
-
method: methods.GET,
|
|
651
|
-
module: modules.POLICY,
|
|
653
|
+
method: exports.methods.GET,
|
|
654
|
+
module: exports.modules.POLICY,
|
|
652
655
|
},
|
|
653
656
|
{
|
|
654
|
-
endpoint: endpoints.GET_POLICY_PRODUCTS,
|
|
657
|
+
endpoint: exports.endpoints.GET_POLICY_PRODUCTS,
|
|
655
658
|
serviceName: "subsections/products",
|
|
656
659
|
url: "product/v1/subsections/{0}/products",
|
|
657
|
-
method: methods.GET,
|
|
658
|
-
module: modules.POLICY,
|
|
660
|
+
method: exports.methods.GET,
|
|
661
|
+
module: exports.modules.POLICY,
|
|
659
662
|
},
|
|
660
663
|
{
|
|
661
|
-
endpoint: endpoints.GET_VALIDITY_TYPES,
|
|
664
|
+
endpoint: exports.endpoints.GET_VALIDITY_TYPES,
|
|
662
665
|
serviceName: "policy-validities",
|
|
663
666
|
url: "policy/v1/policy-validities",
|
|
664
|
-
method: methods.GET,
|
|
665
|
-
module: modules.POLICY,
|
|
667
|
+
method: exports.methods.GET,
|
|
668
|
+
module: exports.modules.POLICY,
|
|
666
669
|
},
|
|
667
670
|
{
|
|
668
|
-
endpoint: endpoints.GET_POLICY_CARACTERS,
|
|
671
|
+
endpoint: exports.endpoints.GET_POLICY_CARACTERS,
|
|
669
672
|
serviceName: "wording-types",
|
|
670
673
|
url: "product/v1/wording-types",
|
|
671
|
-
method: methods.GET,
|
|
672
|
-
module: modules.POLICY,
|
|
674
|
+
method: exports.methods.GET,
|
|
675
|
+
module: exports.modules.POLICY,
|
|
673
676
|
},
|
|
674
677
|
{
|
|
675
|
-
endpoint: endpoints.SEARCH_POLICY_GENERAL_CONDITIONS,
|
|
678
|
+
endpoint: exports.endpoints.SEARCH_POLICY_GENERAL_CONDITIONS,
|
|
676
679
|
serviceName: "wordings",
|
|
677
680
|
url: "/product/v1/products/{0}/wordings",
|
|
678
|
-
method: methods.GET,
|
|
679
|
-
module: modules.POLICY,
|
|
681
|
+
method: exports.methods.GET,
|
|
682
|
+
module: exports.modules.POLICY,
|
|
680
683
|
},
|
|
681
684
|
{
|
|
682
|
-
endpoint: endpoints.GET_POLICY_TYPE_OF_DOCUMENTATION,
|
|
685
|
+
endpoint: exports.endpoints.GET_POLICY_TYPE_OF_DOCUMENTATION,
|
|
683
686
|
serviceName: "file-types",
|
|
684
687
|
url: "policy/v1/file-types",
|
|
685
|
-
method: methods.GET,
|
|
686
|
-
module: modules.POLICY,
|
|
688
|
+
method: exports.methods.GET,
|
|
689
|
+
module: exports.modules.POLICY,
|
|
687
690
|
},
|
|
688
691
|
{
|
|
689
|
-
endpoint: endpoints.GET_PAYMENT_FREQUENCIES,
|
|
692
|
+
endpoint: exports.endpoints.GET_PAYMENT_FREQUENCIES,
|
|
690
693
|
serviceName: "payment-frequencies",
|
|
691
694
|
url: "policy/v1/payment-frequencies",
|
|
692
|
-
method: methods.GET,
|
|
693
|
-
module: modules.POLICY,
|
|
695
|
+
method: exports.methods.GET,
|
|
696
|
+
module: exports.modules.POLICY,
|
|
694
697
|
},
|
|
695
698
|
{
|
|
696
|
-
endpoint: endpoints.GET_ASSOCIATE_TERMS_CONDITION,
|
|
699
|
+
endpoint: exports.endpoints.GET_ASSOCIATE_TERMS_CONDITION,
|
|
697
700
|
serviceName: "terms",
|
|
698
701
|
url: "policy/v1/policies/{0}/terms",
|
|
699
|
-
method: methods.GET,
|
|
700
|
-
module: modules.POLICY,
|
|
702
|
+
method: exports.methods.GET,
|
|
703
|
+
module: exports.modules.POLICY,
|
|
701
704
|
},
|
|
702
705
|
{
|
|
703
|
-
endpoint: endpoints.GET_ASSOCIATE_EXPENSES,
|
|
706
|
+
endpoint: exports.endpoints.GET_ASSOCIATE_EXPENSES,
|
|
704
707
|
serviceName: "expenses",
|
|
705
708
|
url: "policy/v1/policies/{0}/expenses",
|
|
706
|
-
method: methods.GET,
|
|
707
|
-
module: modules.POLICY,
|
|
709
|
+
method: exports.methods.GET,
|
|
710
|
+
module: exports.modules.POLICY,
|
|
708
711
|
},
|
|
709
712
|
{
|
|
710
|
-
endpoint: endpoints.GET_ASSOCIATE_COVERAGE,
|
|
713
|
+
endpoint: exports.endpoints.GET_ASSOCIATE_COVERAGE,
|
|
711
714
|
serviceName: "coverages",
|
|
712
715
|
url: "policy-life/v1/policies/{0}/coverages",
|
|
713
|
-
method: methods.GET,
|
|
714
|
-
module: modules.POLICY,
|
|
716
|
+
method: exports.methods.GET,
|
|
717
|
+
module: exports.modules.POLICY,
|
|
715
718
|
},
|
|
716
719
|
{
|
|
717
|
-
endpoint: endpoints.GET_COVERAGES,
|
|
720
|
+
endpoint: exports.endpoints.GET_COVERAGES,
|
|
718
721
|
serviceName: "coverages",
|
|
719
722
|
url: "product/v1/products/{0}/coverages",
|
|
720
|
-
method: methods.GET,
|
|
721
|
-
module: modules.POLICY,
|
|
723
|
+
method: exports.methods.GET,
|
|
724
|
+
module: exports.modules.POLICY,
|
|
722
725
|
},
|
|
723
726
|
{
|
|
724
|
-
endpoint: endpoints.GET_EXPENSEVALUES,
|
|
727
|
+
endpoint: exports.endpoints.GET_EXPENSEVALUES,
|
|
725
728
|
serviceName: "expenses",
|
|
726
729
|
url: "/product/v1/products/{0}/expenses",
|
|
727
|
-
method: methods.GET,
|
|
728
|
-
module: modules.POLICY,
|
|
730
|
+
method: exports.methods.GET,
|
|
731
|
+
module: exports.modules.POLICY,
|
|
729
732
|
},
|
|
730
733
|
{
|
|
731
|
-
endpoint: endpoints.GET_MORTALITY_TABLE,
|
|
734
|
+
endpoint: exports.endpoints.GET_MORTALITY_TABLE,
|
|
732
735
|
serviceName: "mortality-tables",
|
|
733
736
|
url: "policy-life/v1/mortality-tables",
|
|
734
|
-
method: methods.GET,
|
|
735
|
-
module: modules.POLICY,
|
|
737
|
+
method: exports.methods.GET,
|
|
738
|
+
module: exports.modules.POLICY,
|
|
736
739
|
},
|
|
737
740
|
{
|
|
738
|
-
endpoint: endpoints.CREATE_POLICY_STEP1,
|
|
741
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP1,
|
|
739
742
|
serviceName: "policies",
|
|
740
743
|
url: "policy/v1/policies",
|
|
741
|
-
method: methods.POST,
|
|
742
|
-
module: modules.POLICY,
|
|
744
|
+
method: exports.methods.POST,
|
|
745
|
+
module: exports.modules.POLICY,
|
|
743
746
|
},
|
|
744
747
|
{
|
|
745
|
-
endpoint: endpoints.CREATE_POLICY_STEP2,
|
|
748
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP2,
|
|
746
749
|
serviceName: "policies/roles",
|
|
747
750
|
url: "policy/v1/policies/{0}/roles",
|
|
748
|
-
method: methods.PUT,
|
|
749
|
-
module: modules.POLICY,
|
|
751
|
+
method: exports.methods.PUT,
|
|
752
|
+
module: exports.modules.POLICY,
|
|
750
753
|
},
|
|
751
754
|
{
|
|
752
|
-
endpoint: endpoints.CREATE_POLICY_STEP3,
|
|
755
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP3,
|
|
753
756
|
serviceName: "policies/collections",
|
|
754
757
|
url: "policy/v1/policies/{0}/collections",
|
|
755
|
-
method: methods.PUT,
|
|
756
|
-
module: modules.POLICY,
|
|
758
|
+
method: exports.methods.PUT,
|
|
759
|
+
module: exports.modules.POLICY,
|
|
757
760
|
},
|
|
758
761
|
{
|
|
759
|
-
endpoint: endpoints.CREATE_POLICY_STEP4,
|
|
762
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP4,
|
|
760
763
|
serviceName: "policies/commercial-structures",
|
|
761
764
|
url: "policy/v1/policies/{0}/commercial-structures",
|
|
762
|
-
method: methods.PUT,
|
|
763
|
-
module: modules.POLICY,
|
|
765
|
+
method: exports.methods.PUT,
|
|
766
|
+
module: exports.modules.POLICY,
|
|
764
767
|
},
|
|
765
768
|
{
|
|
766
|
-
endpoint: endpoints.CREATE_POLICY_STEP5,
|
|
769
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP5,
|
|
767
770
|
serviceName: "policies/products",
|
|
768
771
|
url: "policy-life/v1/policies/{0}/products",
|
|
769
|
-
method: methods.PUT,
|
|
770
|
-
module: modules.POLICY,
|
|
772
|
+
method: exports.methods.PUT,
|
|
773
|
+
module: exports.modules.POLICY,
|
|
771
774
|
},
|
|
772
775
|
{
|
|
773
|
-
endpoint: endpoints.CREATE_POLICY_STEP6,
|
|
776
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP6,
|
|
774
777
|
serviceName: "policies/coverages",
|
|
775
778
|
url: "policy-life/v1/policies/{0}/coverages",
|
|
776
|
-
method: methods.PUT,
|
|
777
|
-
module: modules.POLICY,
|
|
779
|
+
method: exports.methods.PUT,
|
|
780
|
+
module: exports.modules.POLICY,
|
|
778
781
|
},
|
|
779
782
|
{
|
|
780
|
-
endpoint: endpoints.CREATE_POLICY_STEP7,
|
|
783
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP7,
|
|
781
784
|
serviceName: "policies/insurables",
|
|
782
785
|
url: "policy-life/v1/policies/{0}/insurables",
|
|
783
|
-
method: methods.PUT,
|
|
784
|
-
module: modules.POLICY,
|
|
786
|
+
method: exports.methods.PUT,
|
|
787
|
+
module: exports.modules.POLICY,
|
|
785
788
|
},
|
|
786
789
|
{
|
|
787
|
-
endpoint: endpoints.CREATE_POLICY_STEP8,
|
|
790
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP8,
|
|
788
791
|
serviceName: "policies/expenses",
|
|
789
792
|
url: "policy/v1/policies/{0}/expenses",
|
|
790
|
-
method: methods.PUT,
|
|
791
|
-
module: modules.POLICY,
|
|
793
|
+
method: exports.methods.PUT,
|
|
794
|
+
module: exports.modules.POLICY,
|
|
792
795
|
},
|
|
793
796
|
{
|
|
794
|
-
endpoint: endpoints.CREATE_POLICY_STEP9,
|
|
797
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP9,
|
|
795
798
|
serviceName: "policies/wordings",
|
|
796
799
|
url: "policy/v1/policies/{0}/wordings",
|
|
797
|
-
method: methods.PUT,
|
|
798
|
-
module: modules.POLICY,
|
|
800
|
+
method: exports.methods.PUT,
|
|
801
|
+
module: exports.modules.POLICY,
|
|
799
802
|
},
|
|
800
803
|
{
|
|
801
|
-
endpoint: endpoints.CREATE_POLICY_STEP10,
|
|
804
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP10,
|
|
802
805
|
serviceName: "policies/terms",
|
|
803
806
|
url: "policy/v1/policies/{0}/terms",
|
|
804
|
-
method: methods.PUT,
|
|
805
|
-
module: modules.POLICY,
|
|
807
|
+
method: exports.methods.PUT,
|
|
808
|
+
module: exports.modules.POLICY,
|
|
806
809
|
},
|
|
807
810
|
{
|
|
808
|
-
endpoint: endpoints.CREATE_POLICY_STEP11,
|
|
811
|
+
endpoint: exports.endpoints.CREATE_POLICY_STEP11,
|
|
809
812
|
serviceName: "policies/documentation",
|
|
810
813
|
url: "policy/v1/policies/{0}/documentation",
|
|
811
|
-
method: methods.PUT,
|
|
812
|
-
module: modules.POLICY,
|
|
814
|
+
method: exports.methods.PUT,
|
|
815
|
+
module: exports.modules.POLICY,
|
|
813
816
|
},
|
|
814
817
|
{
|
|
815
|
-
endpoint: endpoints.GET_STEP1_DATA,
|
|
818
|
+
endpoint: exports.endpoints.GET_STEP1_DATA,
|
|
816
819
|
serviceName: "policies",
|
|
817
820
|
url: "policy/v1/policies/{0}",
|
|
818
|
-
method: methods.GET,
|
|
819
|
-
module: modules.POLICY,
|
|
821
|
+
method: exports.methods.GET,
|
|
822
|
+
module: exports.modules.POLICY,
|
|
820
823
|
},
|
|
821
824
|
{
|
|
822
|
-
endpoint: endpoints.GET_STEP2_DATA,
|
|
825
|
+
endpoint: exports.endpoints.GET_STEP2_DATA,
|
|
823
826
|
serviceName: "policies/roles",
|
|
824
827
|
url: "policy/v1/policies/{0}/roles",
|
|
825
|
-
method: methods.GET,
|
|
826
|
-
module: modules.POLICY,
|
|
828
|
+
method: exports.methods.GET,
|
|
829
|
+
module: exports.modules.POLICY,
|
|
827
830
|
},
|
|
828
831
|
{
|
|
829
|
-
endpoint: endpoints.GET_STEP3_DATA,
|
|
832
|
+
endpoint: exports.endpoints.GET_STEP3_DATA,
|
|
830
833
|
serviceName: "policies/collections",
|
|
831
834
|
url: "policy/v1/policies/{0}/collections",
|
|
832
|
-
method: methods.GET,
|
|
833
|
-
module: modules.POLICY,
|
|
835
|
+
method: exports.methods.GET,
|
|
836
|
+
module: exports.modules.POLICY,
|
|
834
837
|
},
|
|
835
838
|
{
|
|
836
|
-
endpoint: endpoints.GET_STEP4_DATA,
|
|
839
|
+
endpoint: exports.endpoints.GET_STEP4_DATA,
|
|
837
840
|
serviceName: "policies/commercial-structures",
|
|
838
841
|
url: "policy/v1/policies/{0}/commercial-structures",
|
|
839
|
-
method: methods.GET,
|
|
840
|
-
module: modules.POLICY,
|
|
842
|
+
method: exports.methods.GET,
|
|
843
|
+
module: exports.modules.POLICY,
|
|
841
844
|
},
|
|
842
845
|
{
|
|
843
|
-
endpoint: endpoints.GET_STEP5_DATA,
|
|
846
|
+
endpoint: exports.endpoints.GET_STEP5_DATA,
|
|
844
847
|
serviceName: "policies/products",
|
|
845
848
|
url: "policy/v1/policies/{0}/products",
|
|
846
|
-
method: methods.GET,
|
|
847
|
-
module: modules.POLICY,
|
|
849
|
+
method: exports.methods.GET,
|
|
850
|
+
module: exports.modules.POLICY,
|
|
848
851
|
},
|
|
849
852
|
{
|
|
850
|
-
endpoint: endpoints.GET_STEP6_DATA,
|
|
853
|
+
endpoint: exports.endpoints.GET_STEP6_DATA,
|
|
851
854
|
serviceName: "policies/coverages",
|
|
852
855
|
url: "policy-life/v1/policies/{0}/coverages",
|
|
853
|
-
method: methods.GET,
|
|
854
|
-
module: modules.POLICY,
|
|
856
|
+
method: exports.methods.GET,
|
|
857
|
+
module: exports.modules.POLICY,
|
|
855
858
|
},
|
|
856
859
|
{
|
|
857
|
-
endpoint: endpoints.GET_STEP7_DATA,
|
|
860
|
+
endpoint: exports.endpoints.GET_STEP7_DATA,
|
|
858
861
|
serviceName: "policies/insurables",
|
|
859
862
|
url: "policy-life/v1/policies/{0}/insurables",
|
|
860
|
-
method: methods.GET,
|
|
861
|
-
module: modules.POLICY,
|
|
863
|
+
method: exports.methods.GET,
|
|
864
|
+
module: exports.modules.POLICY,
|
|
862
865
|
},
|
|
863
866
|
{
|
|
864
|
-
endpoint: endpoints.GET_STEP9_DATA,
|
|
867
|
+
endpoint: exports.endpoints.GET_STEP9_DATA,
|
|
865
868
|
serviceName: "policies/wordings",
|
|
866
869
|
url: "policy/v1/policies/{0}/wordings",
|
|
867
|
-
method: methods.GET,
|
|
868
|
-
module: modules.POLICY,
|
|
870
|
+
method: exports.methods.GET,
|
|
871
|
+
module: exports.modules.POLICY,
|
|
869
872
|
},
|
|
870
873
|
{
|
|
871
|
-
endpoint: endpoints.GET_STEP11_DATA,
|
|
874
|
+
endpoint: exports.endpoints.GET_STEP11_DATA,
|
|
872
875
|
serviceName: "policies/documentation",
|
|
873
876
|
url: "policy/v1/policies/{0}/documentation",
|
|
874
|
-
method: methods.GET,
|
|
875
|
-
module: modules.POLICY,
|
|
877
|
+
method: exports.methods.GET,
|
|
878
|
+
module: exports.modules.POLICY,
|
|
876
879
|
},
|
|
877
880
|
{
|
|
878
|
-
endpoint: endpoints.GET_STEP11_FILE,
|
|
881
|
+
endpoint: exports.endpoints.GET_STEP11_FILE,
|
|
879
882
|
serviceName: "policies/file",
|
|
880
883
|
url: "policy/v1/policies/{0}/file/{1}",
|
|
881
|
-
method: methods.GET,
|
|
882
|
-
module: modules.POLICY,
|
|
884
|
+
method: exports.methods.GET,
|
|
885
|
+
module: exports.modules.POLICY,
|
|
883
886
|
},
|
|
884
887
|
{
|
|
885
|
-
endpoint: endpoints.UPDATE_POLICY_STEP1,
|
|
888
|
+
endpoint: exports.endpoints.UPDATE_POLICY_STEP1,
|
|
886
889
|
serviceName: "policies",
|
|
887
890
|
url: "policy/v1/policies/{0}",
|
|
888
|
-
method: methods.PUT,
|
|
889
|
-
module: modules.POLICY,
|
|
891
|
+
method: exports.methods.PUT,
|
|
892
|
+
module: exports.modules.POLICY,
|
|
890
893
|
},
|
|
891
894
|
{
|
|
892
|
-
endpoint: endpoints.GET_ISURED_PERSONS,
|
|
895
|
+
endpoint: exports.endpoints.GET_ISURED_PERSONS,
|
|
893
896
|
serviceName: "insurables",
|
|
894
897
|
url: "policy-life/v1/products/{0}/insurables",
|
|
895
|
-
method: methods.GET,
|
|
896
|
-
module: modules.POLICY,
|
|
898
|
+
method: exports.methods.GET,
|
|
899
|
+
module: exports.modules.POLICY,
|
|
897
900
|
},
|
|
898
901
|
{
|
|
899
|
-
endpoint: endpoints.UPDATE_PARTY,
|
|
902
|
+
endpoint: exports.endpoints.UPDATE_PARTY,
|
|
900
903
|
serviceName: "parties",
|
|
901
904
|
url: "policy/v1/parties/{0}",
|
|
902
|
-
method: methods.PUT,
|
|
903
|
-
module: modules.POLICY,
|
|
905
|
+
method: exports.methods.PUT,
|
|
906
|
+
module: exports.modules.POLICY,
|
|
904
907
|
},
|
|
905
908
|
{
|
|
906
|
-
endpoint: endpoints.GET_POLICY_DETAILS,
|
|
909
|
+
endpoint: exports.endpoints.GET_POLICY_DETAILS,
|
|
907
910
|
serviceName: "policies/details",
|
|
908
911
|
url: "policy-life/v1/policies/{0}/details",
|
|
909
|
-
method: methods.GET,
|
|
910
|
-
module: modules.POLICY,
|
|
912
|
+
method: exports.methods.GET,
|
|
913
|
+
module: exports.modules.POLICY,
|
|
911
914
|
},
|
|
912
915
|
{
|
|
913
|
-
endpoint: endpoints.UPDATE_PAYMENTS,
|
|
916
|
+
endpoint: exports.endpoints.UPDATE_PAYMENTS,
|
|
914
917
|
serviceName: "policies/collections",
|
|
915
918
|
url: "policy/v1/policies/collections",
|
|
916
|
-
method: methods.PUT,
|
|
917
|
-
module: modules.POLICY,
|
|
919
|
+
method: exports.methods.PUT,
|
|
920
|
+
module: exports.modules.POLICY,
|
|
918
921
|
},
|
|
919
922
|
{
|
|
920
|
-
endpoint: endpoints.CREATE_POLICY_RISK,
|
|
923
|
+
endpoint: exports.endpoints.CREATE_POLICY_RISK,
|
|
921
924
|
serviceName: "policies",
|
|
922
925
|
url: "policy-life/v1/policies/{0}/insureds",
|
|
923
|
-
method: methods.POST,
|
|
924
|
-
module: modules.POLICY,
|
|
926
|
+
method: exports.methods.POST,
|
|
927
|
+
module: exports.modules.POLICY,
|
|
925
928
|
},
|
|
926
929
|
{
|
|
927
|
-
endpoint: endpoints.ACTIVATE_POLICY,
|
|
930
|
+
endpoint: exports.endpoints.ACTIVATE_POLICY,
|
|
928
931
|
serviceName: "policies/activate",
|
|
929
932
|
url: "policy-life/v1/policies/{0}/activate",
|
|
930
|
-
method: methods.PUT,
|
|
931
|
-
module: modules.POLICY,
|
|
933
|
+
method: exports.methods.PUT,
|
|
934
|
+
module: exports.modules.POLICY,
|
|
932
935
|
},
|
|
933
936
|
{
|
|
934
|
-
endpoint: endpoints.COMPLETE_POLICY,
|
|
937
|
+
endpoint: exports.endpoints.COMPLETE_POLICY,
|
|
935
938
|
serviceName: "policies/complete",
|
|
936
939
|
url: "/policy-life/v1/policies/{0}/complete",
|
|
937
|
-
method: methods.PUT,
|
|
938
|
-
module: modules.POLICY,
|
|
940
|
+
method: exports.methods.PUT,
|
|
941
|
+
module: exports.modules.POLICY,
|
|
939
942
|
},
|
|
940
943
|
{
|
|
941
|
-
endpoint: endpoints.SET_POLICY_BUILDING,
|
|
944
|
+
endpoint: exports.endpoints.SET_POLICY_BUILDING,
|
|
942
945
|
serviceName: "policies/build",
|
|
943
946
|
url: "policy-life/v1/policies/{0}/build",
|
|
944
|
-
method: methods.PUT,
|
|
945
|
-
module: modules.POLICY,
|
|
947
|
+
method: exports.methods.PUT,
|
|
948
|
+
module: exports.modules.POLICY,
|
|
946
949
|
},
|
|
947
950
|
{
|
|
948
|
-
endpoint: endpoints.GET_POLICY_ROLES,
|
|
951
|
+
endpoint: exports.endpoints.GET_POLICY_ROLES,
|
|
949
952
|
serviceName: "policies/roles",
|
|
950
953
|
url: "policy/v1/policies/{0}/roles",
|
|
951
|
-
method: methods.GET,
|
|
952
|
-
module: modules.POLICY,
|
|
954
|
+
method: exports.methods.GET,
|
|
955
|
+
module: exports.modules.POLICY,
|
|
953
956
|
},
|
|
954
957
|
{
|
|
955
|
-
endpoint: endpoints.GET_ASSURED_LIST,
|
|
958
|
+
endpoint: exports.endpoints.GET_ASSURED_LIST,
|
|
956
959
|
serviceName: "insureds",
|
|
957
960
|
url: "policy-life/v1/policies/{0}/insureds",
|
|
958
|
-
method: methods.GET,
|
|
959
|
-
module: modules.POLICY,
|
|
961
|
+
method: exports.methods.GET,
|
|
962
|
+
module: exports.modules.POLICY,
|
|
960
963
|
},
|
|
961
964
|
{
|
|
962
|
-
endpoint: endpoints.GET_ADHERENTS,
|
|
965
|
+
endpoint: exports.endpoints.GET_ADHERENTS,
|
|
963
966
|
serviceName: "adherents",
|
|
964
967
|
url: "policy-life/v1/adherents/{0}",
|
|
965
|
-
method: methods.GET,
|
|
966
|
-
module: modules.POLICY,
|
|
968
|
+
method: exports.methods.GET,
|
|
969
|
+
module: exports.modules.POLICY,
|
|
967
970
|
},
|
|
968
971
|
{
|
|
969
|
-
endpoint: endpoints.GET_OWNERS,
|
|
972
|
+
endpoint: exports.endpoints.GET_OWNERS,
|
|
970
973
|
serviceName: "owners",
|
|
971
974
|
url: "policy-life/v1/owners/{0}",
|
|
972
|
-
method: methods.GET,
|
|
973
|
-
module: modules.POLICY,
|
|
975
|
+
method: exports.methods.GET,
|
|
976
|
+
module: exports.modules.POLICY,
|
|
974
977
|
},
|
|
975
978
|
{
|
|
976
|
-
endpoint: endpoints.GET_ADHERENTS_BY_OWNER,
|
|
979
|
+
endpoint: exports.endpoints.GET_ADHERENTS_BY_OWNER,
|
|
977
980
|
serviceName: "owners/adherents",
|
|
978
981
|
url: "policy-life/v1/owners/{0}/adherents",
|
|
979
|
-
method: methods.GET,
|
|
980
|
-
module: modules.POLICY,
|
|
982
|
+
method: exports.methods.GET,
|
|
983
|
+
module: exports.modules.POLICY,
|
|
981
984
|
},
|
|
982
985
|
{
|
|
983
|
-
endpoint: endpoints.SEARCH_ACCOUNT_OFFICERS,
|
|
986
|
+
endpoint: exports.endpoints.SEARCH_ACCOUNT_OFFICERS,
|
|
984
987
|
serviceName: "account-officers",
|
|
985
988
|
url: "intermediary/v1/account-officers",
|
|
986
|
-
method: methods.GET,
|
|
987
|
-
module: modules.INTERMEDIARY,
|
|
989
|
+
method: exports.methods.GET,
|
|
990
|
+
module: exports.modules.INTERMEDIARY,
|
|
988
991
|
},
|
|
989
992
|
{
|
|
990
|
-
endpoint: endpoints.CREATE_PRODUCT,
|
|
993
|
+
endpoint: exports.endpoints.CREATE_PRODUCT,
|
|
991
994
|
serviceName: "configurator-product-creation", // modificar cuando agregan service para modulo configurator
|
|
992
995
|
url: "policy-life/v1/products",
|
|
993
|
-
method: methods.POST,
|
|
994
|
-
module: modules.CONFIGURATOR,
|
|
996
|
+
method: exports.methods.POST,
|
|
997
|
+
module: exports.modules.CONFIGURATOR,
|
|
995
998
|
},
|
|
996
999
|
];
|