@arbol-ai/cli 3.22.0 → 3.23.0
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/index.js +2475 -525
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1029,7 +1029,7 @@ var commands = {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
},
|
|
1031
1031
|
title: "Consult an included Colombian source",
|
|
1032
|
-
description: "Read an EPS summary or Sisbén classification for an authorized document. Police reports that a judicial check was not performed. An optional document labels that message and is never submitted to Police. A machine key needs connection read access and an explicit restriction allowing this operation. Set agentMode to true for concise Spanish text.",
|
|
1032
|
+
description: "Compatibility operation. For new integrations use the dedicated ADRES, Sisbén and Policía Colombia lookups. Read an EPS summary or Sisbén classification for an authorized document. Police reports that a judicial check was not performed. An optional document labels that message and is never submitted to Police. A machine key needs connection read access and an explicit restriction allowing this operation. Set agentMode to true for concise Spanish text.",
|
|
1033
1033
|
effect: "read",
|
|
1034
1034
|
confirmation: null,
|
|
1035
1035
|
hidden: false
|
|
@@ -2445,6 +2445,104 @@ var commands = {
|
|
|
2445
2445
|
confirmation: null,
|
|
2446
2446
|
hidden: false
|
|
2447
2447
|
},
|
|
2448
|
+
"adres affiliations lookup": {
|
|
2449
|
+
operation: "adres.affiliations.lookup",
|
|
2450
|
+
sdkPath: [
|
|
2451
|
+
"adres",
|
|
2452
|
+
"affiliations",
|
|
2453
|
+
"lookup"
|
|
2454
|
+
],
|
|
2455
|
+
pathField: null,
|
|
2456
|
+
fields: [
|
|
2457
|
+
{
|
|
2458
|
+
name: "documentType",
|
|
2459
|
+
flag: "document-type",
|
|
2460
|
+
kind: "string",
|
|
2461
|
+
required: true,
|
|
2462
|
+
description: "",
|
|
2463
|
+
choices: [
|
|
2464
|
+
"CC",
|
|
2465
|
+
"CE",
|
|
2466
|
+
"TI",
|
|
2467
|
+
"RC",
|
|
2468
|
+
"CN",
|
|
2469
|
+
"NU",
|
|
2470
|
+
"MS"
|
|
2471
|
+
]
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
name: "documentNumber",
|
|
2475
|
+
flag: "document-number",
|
|
2476
|
+
kind: "string",
|
|
2477
|
+
required: true,
|
|
2478
|
+
description: ""
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
name: "agentMode",
|
|
2482
|
+
flag: "agent-mode",
|
|
2483
|
+
kind: "boolean",
|
|
2484
|
+
required: false,
|
|
2485
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
2486
|
+
default: false
|
|
2487
|
+
}
|
|
2488
|
+
],
|
|
2489
|
+
inputSchema: {
|
|
2490
|
+
additionalProperties: false,
|
|
2491
|
+
type: "object",
|
|
2492
|
+
required: [
|
|
2493
|
+
"documentType",
|
|
2494
|
+
"documentNumber"
|
|
2495
|
+
],
|
|
2496
|
+
properties: {
|
|
2497
|
+
documentType: {
|
|
2498
|
+
anyOf: [
|
|
2499
|
+
{
|
|
2500
|
+
const: "CC",
|
|
2501
|
+
type: "string"
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
const: "CE",
|
|
2505
|
+
type: "string"
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
const: "TI",
|
|
2509
|
+
type: "string"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
const: "RC",
|
|
2513
|
+
type: "string"
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
const: "CN",
|
|
2517
|
+
type: "string"
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
const: "NU",
|
|
2521
|
+
type: "string"
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
const: "MS",
|
|
2525
|
+
type: "string"
|
|
2526
|
+
}
|
|
2527
|
+
]
|
|
2528
|
+
},
|
|
2529
|
+
documentNumber: {
|
|
2530
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
2531
|
+
type: "string"
|
|
2532
|
+
},
|
|
2533
|
+
agentMode: {
|
|
2534
|
+
default: false,
|
|
2535
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
2536
|
+
type: "boolean"
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
title: "Look up EPS affiliation",
|
|
2541
|
+
description: "Read the person and all reported EPS affiliations for a document. A last-known observation is dated and does not establish current coverage.",
|
|
2542
|
+
effect: "read",
|
|
2543
|
+
confirmation: null,
|
|
2544
|
+
hidden: false
|
|
2545
|
+
},
|
|
2448
2546
|
"agenda appointments change-status": {
|
|
2449
2547
|
operation: "agenda.appointments.changeStatus",
|
|
2450
2548
|
sdkPath: [
|
|
@@ -14268,6 +14366,94 @@ var commands = {
|
|
|
14268
14366
|
confirmation: null,
|
|
14269
14367
|
hidden: false
|
|
14270
14368
|
},
|
|
14369
|
+
"policia-colombia judicial-records lookup": {
|
|
14370
|
+
operation: "policia-colombia.judicialRecords.lookup",
|
|
14371
|
+
sdkPath: [
|
|
14372
|
+
"policiaColombia",
|
|
14373
|
+
"judicialRecords",
|
|
14374
|
+
"lookup"
|
|
14375
|
+
],
|
|
14376
|
+
pathField: null,
|
|
14377
|
+
fields: [
|
|
14378
|
+
{
|
|
14379
|
+
name: "documentType",
|
|
14380
|
+
flag: "document-type",
|
|
14381
|
+
kind: "string",
|
|
14382
|
+
required: true,
|
|
14383
|
+
description: "",
|
|
14384
|
+
choices: [
|
|
14385
|
+
"CC",
|
|
14386
|
+
"CE",
|
|
14387
|
+
"PA",
|
|
14388
|
+
"PPT",
|
|
14389
|
+
"DP"
|
|
14390
|
+
]
|
|
14391
|
+
},
|
|
14392
|
+
{
|
|
14393
|
+
name: "documentNumber",
|
|
14394
|
+
flag: "document-number",
|
|
14395
|
+
kind: "string",
|
|
14396
|
+
required: true,
|
|
14397
|
+
description: ""
|
|
14398
|
+
},
|
|
14399
|
+
{
|
|
14400
|
+
name: "agentMode",
|
|
14401
|
+
flag: "agent-mode",
|
|
14402
|
+
kind: "boolean",
|
|
14403
|
+
required: false,
|
|
14404
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
14405
|
+
default: false
|
|
14406
|
+
}
|
|
14407
|
+
],
|
|
14408
|
+
inputSchema: {
|
|
14409
|
+
additionalProperties: false,
|
|
14410
|
+
type: "object",
|
|
14411
|
+
required: [
|
|
14412
|
+
"documentType",
|
|
14413
|
+
"documentNumber"
|
|
14414
|
+
],
|
|
14415
|
+
properties: {
|
|
14416
|
+
documentType: {
|
|
14417
|
+
anyOf: [
|
|
14418
|
+
{
|
|
14419
|
+
const: "CC",
|
|
14420
|
+
type: "string"
|
|
14421
|
+
},
|
|
14422
|
+
{
|
|
14423
|
+
const: "CE",
|
|
14424
|
+
type: "string"
|
|
14425
|
+
},
|
|
14426
|
+
{
|
|
14427
|
+
const: "PA",
|
|
14428
|
+
type: "string"
|
|
14429
|
+
},
|
|
14430
|
+
{
|
|
14431
|
+
const: "PPT",
|
|
14432
|
+
type: "string"
|
|
14433
|
+
},
|
|
14434
|
+
{
|
|
14435
|
+
const: "DP",
|
|
14436
|
+
type: "string"
|
|
14437
|
+
}
|
|
14438
|
+
]
|
|
14439
|
+
},
|
|
14440
|
+
documentNumber: {
|
|
14441
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
14442
|
+
type: "string"
|
|
14443
|
+
},
|
|
14444
|
+
agentMode: {
|
|
14445
|
+
default: false,
|
|
14446
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
14447
|
+
type: "boolean"
|
|
14448
|
+
}
|
|
14449
|
+
}
|
|
14450
|
+
},
|
|
14451
|
+
title: "Look up a Colombian judicial statement",
|
|
14452
|
+
description: "Read the document-matched identity fields and verbatim source statement, when available. A statement about pending matters is not a criminal conviction history.",
|
|
14453
|
+
effect: "read",
|
|
14454
|
+
confirmation: null,
|
|
14455
|
+
hidden: false
|
|
14456
|
+
},
|
|
14271
14457
|
"raiz agents create": {
|
|
14272
14458
|
operation: "raiz.agents.create",
|
|
14273
14459
|
sdkPath: [
|
|
@@ -23486,139 +23672,73 @@ var commands = {
|
|
|
23486
23672
|
confirmation: null,
|
|
23487
23673
|
hidden: false
|
|
23488
23674
|
},
|
|
23489
|
-
"
|
|
23490
|
-
operation: "
|
|
23675
|
+
"sisben classifications lookup": {
|
|
23676
|
+
operation: "sisben.classifications.lookup",
|
|
23491
23677
|
sdkPath: [
|
|
23492
|
-
"
|
|
23493
|
-
"
|
|
23494
|
-
"
|
|
23678
|
+
"sisben",
|
|
23679
|
+
"classifications",
|
|
23680
|
+
"lookup"
|
|
23495
23681
|
],
|
|
23496
23682
|
pathField: null,
|
|
23497
23683
|
fields: [
|
|
23498
23684
|
{
|
|
23499
|
-
name: "
|
|
23500
|
-
flag: "document-
|
|
23685
|
+
name: "documentType",
|
|
23686
|
+
flag: "document-type",
|
|
23501
23687
|
kind: "string",
|
|
23502
23688
|
required: true,
|
|
23503
|
-
description: "
|
|
23504
|
-
},
|
|
23505
|
-
{
|
|
23506
|
-
name: "cancelToken",
|
|
23507
|
-
flag: "cancel-token",
|
|
23508
|
-
kind: "string",
|
|
23509
|
-
required: false,
|
|
23510
|
-
description: "No lo uses: cancela con date + time. Solo existe por compatibilidad."
|
|
23511
|
-
},
|
|
23512
|
-
{
|
|
23513
|
-
name: "date",
|
|
23514
|
-
flag: "date",
|
|
23515
|
-
kind: "string",
|
|
23516
|
-
required: false,
|
|
23517
|
-
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23518
|
-
},
|
|
23519
|
-
{
|
|
23520
|
-
name: "time",
|
|
23521
|
-
flag: "time",
|
|
23522
|
-
kind: "string",
|
|
23523
|
-
required: false,
|
|
23524
|
-
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23525
|
-
},
|
|
23526
|
-
{
|
|
23527
|
-
name: "startsAt",
|
|
23528
|
-
flag: "starts-at",
|
|
23529
|
-
kind: "string",
|
|
23530
|
-
required: false,
|
|
23531
|
-
description: `The appointment's moment, as an RFC 3339 instant with its offset, exactly as an answer gave it in startsAt (for example "2026-11-04T08:50:00-05:00"). Send it in place of the former date and time; sent beside them, they must name the same moment.`
|
|
23689
|
+
description: ""
|
|
23532
23690
|
},
|
|
23533
23691
|
{
|
|
23534
|
-
name: "
|
|
23535
|
-
flag: "
|
|
23692
|
+
name: "documentNumber",
|
|
23693
|
+
flag: "document-number",
|
|
23536
23694
|
kind: "string",
|
|
23537
|
-
required:
|
|
23538
|
-
description: "
|
|
23695
|
+
required: true,
|
|
23696
|
+
description: ""
|
|
23539
23697
|
},
|
|
23540
23698
|
{
|
|
23541
|
-
name: "
|
|
23542
|
-
flag: "
|
|
23543
|
-
kind: "
|
|
23699
|
+
name: "agentMode",
|
|
23700
|
+
flag: "agent-mode",
|
|
23701
|
+
kind: "boolean",
|
|
23544
23702
|
required: false,
|
|
23545
|
-
description: "
|
|
23546
|
-
|
|
23547
|
-
"voice",
|
|
23548
|
-
"web",
|
|
23549
|
-
"whatsapp"
|
|
23550
|
-
]
|
|
23703
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
23704
|
+
default: false
|
|
23551
23705
|
}
|
|
23552
23706
|
],
|
|
23553
23707
|
inputSchema: {
|
|
23554
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
23555
23708
|
additionalProperties: false,
|
|
23556
23709
|
type: "object",
|
|
23557
23710
|
required: [
|
|
23711
|
+
"documentType",
|
|
23558
23712
|
"documentNumber"
|
|
23559
23713
|
],
|
|
23560
23714
|
properties: {
|
|
23561
|
-
|
|
23562
|
-
|
|
23563
|
-
type: "string"
|
|
23564
|
-
},
|
|
23565
|
-
cancelToken: {
|
|
23566
|
-
description: "No lo uses: cancela con date + time. Solo existe por compatibilidad.",
|
|
23567
|
-
type: "string"
|
|
23568
|
-
},
|
|
23569
|
-
date: {
|
|
23570
|
-
type: "string",
|
|
23571
|
-
deprecated: true,
|
|
23572
|
-
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23573
|
-
},
|
|
23574
|
-
time: {
|
|
23575
|
-
type: "string",
|
|
23576
|
-
deprecated: true,
|
|
23577
|
-
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23578
|
-
},
|
|
23579
|
-
startsAt: {
|
|
23580
|
-
format: "date-time",
|
|
23581
|
-
description: `The appointment's moment, as an RFC 3339 instant with its offset, exactly as an answer gave it in startsAt (for example "2026-11-04T08:50:00-05:00"). Send it in place of the former date and time; sent beside them, they must name the same moment.`,
|
|
23715
|
+
documentType: {
|
|
23716
|
+
pattern: "^[A-Z]{2}$",
|
|
23582
23717
|
type: "string"
|
|
23583
23718
|
},
|
|
23584
|
-
|
|
23585
|
-
|
|
23586
|
-
maxLength: 68,
|
|
23587
|
-
pattern: "^con_[0-9A-Za-z]+$",
|
|
23588
|
-
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
23719
|
+
documentNumber: {
|
|
23720
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
23589
23721
|
type: "string"
|
|
23590
23722
|
},
|
|
23591
|
-
|
|
23592
|
-
|
|
23593
|
-
|
|
23594
|
-
|
|
23595
|
-
type: "string"
|
|
23596
|
-
},
|
|
23597
|
-
{
|
|
23598
|
-
const: "web",
|
|
23599
|
-
type: "string"
|
|
23600
|
-
},
|
|
23601
|
-
{
|
|
23602
|
-
const: "whatsapp",
|
|
23603
|
-
type: "string"
|
|
23604
|
-
}
|
|
23605
|
-
],
|
|
23606
|
-
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
23723
|
+
agentMode: {
|
|
23724
|
+
default: false,
|
|
23725
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
23726
|
+
type: "boolean"
|
|
23607
23727
|
}
|
|
23608
23728
|
}
|
|
23609
23729
|
},
|
|
23610
|
-
title: "
|
|
23611
|
-
description: "
|
|
23612
|
-
effect: "
|
|
23613
|
-
confirmation:
|
|
23730
|
+
title: "Look up a Sisbén classification",
|
|
23731
|
+
description: "Read registration and the official group and subgroup. A null registration means the source could not verify the document.",
|
|
23732
|
+
effect: "read",
|
|
23733
|
+
confirmation: null,
|
|
23614
23734
|
hidden: false
|
|
23615
23735
|
},
|
|
23616
|
-
"somos appointments
|
|
23617
|
-
operation: "somos.appointments.
|
|
23736
|
+
"somos appointments cancel": {
|
|
23737
|
+
operation: "somos.appointments.cancel",
|
|
23618
23738
|
sdkPath: [
|
|
23619
23739
|
"somos",
|
|
23620
23740
|
"appointments",
|
|
23621
|
-
"
|
|
23741
|
+
"cancel"
|
|
23622
23742
|
],
|
|
23623
23743
|
pathField: null,
|
|
23624
23744
|
fields: [
|
|
@@ -23627,49 +23747,14 @@ var commands = {
|
|
|
23627
23747
|
flag: "document-number",
|
|
23628
23748
|
kind: "string",
|
|
23629
23749
|
required: true,
|
|
23630
|
-
description: "Documento confirmado
|
|
23631
|
-
},
|
|
23632
|
-
{
|
|
23633
|
-
name: "token",
|
|
23634
|
-
flag: "token",
|
|
23635
|
-
kind: "string",
|
|
23636
|
-
required: false,
|
|
23637
|
-
description: "No lo uses: reserva con date + time. Solo existe por compatibilidad."
|
|
23638
|
-
},
|
|
23639
|
-
{
|
|
23640
|
-
name: "companionToken",
|
|
23641
|
-
flag: "companion-token",
|
|
23642
|
-
kind: "string",
|
|
23643
|
-
required: false,
|
|
23644
|
-
description: "Token de logoaudiometría consecutiva a la audiometría del mismo paciente, fecha y profesional. El servidor verifica el servicio distinto y el intervalo de diez minutos; pairWithNext=true permite resolverlo automáticamente."
|
|
23645
|
-
},
|
|
23646
|
-
{
|
|
23647
|
-
name: "visitType",
|
|
23648
|
-
flag: "visit-type",
|
|
23649
|
-
kind: "string",
|
|
23650
|
-
required: false,
|
|
23651
|
-
description: "Normalmente omítelo: se conserva el código del cupo/token. Si el flujo exige enviarlo, copia el código exacto devuelto; nunca etiquetas como valoracion o control. R=remisión y S=sesión solo cuando el flujo lo confirme."
|
|
23652
|
-
},
|
|
23653
|
-
{
|
|
23654
|
-
name: "documentType",
|
|
23655
|
-
flag: "document-type",
|
|
23656
|
-
kind: "string",
|
|
23657
|
-
required: false,
|
|
23658
|
-
description: "Tipo exacto de patient_context; CC por defecto."
|
|
23750
|
+
description: "Documento confirmado del paciente dueño de la cita; solo dígitos."
|
|
23659
23751
|
},
|
|
23660
23752
|
{
|
|
23661
|
-
name: "
|
|
23662
|
-
flag: "
|
|
23753
|
+
name: "cancelToken",
|
|
23754
|
+
flag: "cancel-token",
|
|
23663
23755
|
kind: "string",
|
|
23664
|
-
required: true,
|
|
23665
|
-
description: "La especialidad pedida HOY por la persona, nunca deducida del historial. Acepta el nombre clínico o el código y lo normaliza al código interno."
|
|
23666
|
-
},
|
|
23667
|
-
{
|
|
23668
|
-
name: "series",
|
|
23669
|
-
flag: "series",
|
|
23670
|
-
kind: "boolean",
|
|
23671
23756
|
required: false,
|
|
23672
|
-
description: "
|
|
23757
|
+
description: "No lo uses: cancela con date + time. Solo existe por compatibilidad."
|
|
23673
23758
|
},
|
|
23674
23759
|
{
|
|
23675
23760
|
name: "date",
|
|
@@ -23685,111 +23770,273 @@ var commands = {
|
|
|
23685
23770
|
required: false,
|
|
23686
23771
|
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23687
23772
|
},
|
|
23688
|
-
{
|
|
23689
|
-
name: "
|
|
23690
|
-
flag: "
|
|
23691
|
-
kind: "string",
|
|
23692
|
-
required:
|
|
23693
|
-
description:
|
|
23694
|
-
},
|
|
23695
|
-
{
|
|
23696
|
-
name: "
|
|
23697
|
-
flag: "
|
|
23698
|
-
kind: "string",
|
|
23699
|
-
required: false,
|
|
23700
|
-
description: "
|
|
23701
|
-
},
|
|
23702
|
-
{
|
|
23703
|
-
name: "
|
|
23704
|
-
flag: "
|
|
23705
|
-
kind: "string",
|
|
23706
|
-
required: false,
|
|
23707
|
-
description: "
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23712
|
-
|
|
23713
|
-
|
|
23714
|
-
|
|
23715
|
-
|
|
23716
|
-
|
|
23717
|
-
|
|
23718
|
-
|
|
23719
|
-
|
|
23720
|
-
|
|
23721
|
-
|
|
23722
|
-
|
|
23723
|
-
|
|
23724
|
-
|
|
23725
|
-
|
|
23726
|
-
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
|
|
23730
|
-
|
|
23731
|
-
|
|
23732
|
-
|
|
23733
|
-
|
|
23734
|
-
|
|
23735
|
-
|
|
23736
|
-
|
|
23737
|
-
|
|
23738
|
-
|
|
23739
|
-
|
|
23740
|
-
|
|
23741
|
-
|
|
23742
|
-
|
|
23743
|
-
|
|
23744
|
-
|
|
23745
|
-
|
|
23746
|
-
|
|
23747
|
-
|
|
23748
|
-
|
|
23749
|
-
|
|
23750
|
-
|
|
23751
|
-
|
|
23752
|
-
|
|
23753
|
-
|
|
23754
|
-
|
|
23755
|
-
|
|
23756
|
-
|
|
23757
|
-
|
|
23758
|
-
|
|
23759
|
-
|
|
23760
|
-
|
|
23761
|
-
|
|
23762
|
-
|
|
23763
|
-
|
|
23764
|
-
|
|
23765
|
-
|
|
23766
|
-
|
|
23767
|
-
|
|
23768
|
-
|
|
23769
|
-
|
|
23770
|
-
|
|
23771
|
-
|
|
23772
|
-
|
|
23773
|
-
|
|
23774
|
-
|
|
23775
|
-
|
|
23776
|
-
|
|
23777
|
-
|
|
23778
|
-
|
|
23779
|
-
|
|
23780
|
-
|
|
23781
|
-
|
|
23782
|
-
|
|
23783
|
-
|
|
23784
|
-
|
|
23785
|
-
|
|
23786
|
-
|
|
23787
|
-
|
|
23788
|
-
|
|
23789
|
-
|
|
23790
|
-
|
|
23791
|
-
|
|
23792
|
-
|
|
23773
|
+
{
|
|
23774
|
+
name: "startsAt",
|
|
23775
|
+
flag: "starts-at",
|
|
23776
|
+
kind: "string",
|
|
23777
|
+
required: false,
|
|
23778
|
+
description: `The appointment's moment, as an RFC 3339 instant with its offset, exactly as an answer gave it in startsAt (for example "2026-11-04T08:50:00-05:00"). Send it in place of the former date and time; sent beside them, they must name the same moment.`
|
|
23779
|
+
},
|
|
23780
|
+
{
|
|
23781
|
+
name: "connectionId",
|
|
23782
|
+
flag: "connection-id",
|
|
23783
|
+
kind: "string",
|
|
23784
|
+
required: false,
|
|
23785
|
+
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
|
|
23786
|
+
},
|
|
23787
|
+
{
|
|
23788
|
+
name: "channel",
|
|
23789
|
+
flag: "channel",
|
|
23790
|
+
kind: "string",
|
|
23791
|
+
required: false,
|
|
23792
|
+
description: "The channel the conversation happens on: voice, whatsapp or web (the default).",
|
|
23793
|
+
choices: [
|
|
23794
|
+
"voice",
|
|
23795
|
+
"web",
|
|
23796
|
+
"whatsapp"
|
|
23797
|
+
]
|
|
23798
|
+
}
|
|
23799
|
+
],
|
|
23800
|
+
inputSchema: {
|
|
23801
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
23802
|
+
additionalProperties: false,
|
|
23803
|
+
type: "object",
|
|
23804
|
+
required: [
|
|
23805
|
+
"documentNumber"
|
|
23806
|
+
],
|
|
23807
|
+
properties: {
|
|
23808
|
+
documentNumber: {
|
|
23809
|
+
description: "Documento confirmado del paciente dueño de la cita; solo dígitos.",
|
|
23810
|
+
type: "string"
|
|
23811
|
+
},
|
|
23812
|
+
cancelToken: {
|
|
23813
|
+
description: "No lo uses: cancela con date + time. Solo existe por compatibilidad.",
|
|
23814
|
+
type: "string"
|
|
23815
|
+
},
|
|
23816
|
+
date: {
|
|
23817
|
+
type: "string",
|
|
23818
|
+
deprecated: true,
|
|
23819
|
+
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23820
|
+
},
|
|
23821
|
+
time: {
|
|
23822
|
+
type: "string",
|
|
23823
|
+
deprecated: true,
|
|
23824
|
+
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23825
|
+
},
|
|
23826
|
+
startsAt: {
|
|
23827
|
+
format: "date-time",
|
|
23828
|
+
description: `The appointment's moment, as an RFC 3339 instant with its offset, exactly as an answer gave it in startsAt (for example "2026-11-04T08:50:00-05:00"). Send it in place of the former date and time; sent beside them, they must name the same moment.`,
|
|
23829
|
+
type: "string"
|
|
23830
|
+
},
|
|
23831
|
+
connectionId: {
|
|
23832
|
+
minLength: 5,
|
|
23833
|
+
maxLength: 68,
|
|
23834
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
23835
|
+
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
23836
|
+
type: "string"
|
|
23837
|
+
},
|
|
23838
|
+
channel: {
|
|
23839
|
+
anyOf: [
|
|
23840
|
+
{
|
|
23841
|
+
const: "voice",
|
|
23842
|
+
type: "string"
|
|
23843
|
+
},
|
|
23844
|
+
{
|
|
23845
|
+
const: "web",
|
|
23846
|
+
type: "string"
|
|
23847
|
+
},
|
|
23848
|
+
{
|
|
23849
|
+
const: "whatsapp",
|
|
23850
|
+
type: "string"
|
|
23851
|
+
}
|
|
23852
|
+
],
|
|
23853
|
+
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
23854
|
+
}
|
|
23855
|
+
}
|
|
23856
|
+
},
|
|
23857
|
+
title: "Cancel an appointment",
|
|
23858
|
+
description: "Cancel one exact future appointment, only after the person explicitly confirmed it, with the cancellation reference from a fresh patient lookup. The clinic requires two hours of notice. Never repeat a cancellation whose outcome is unknown. Somos Salud's tool pack sets this tool's rules, parameters and accepted values (somos.tools.list answers them), and every call is checked against them.",
|
|
23859
|
+
effect: "delete",
|
|
23860
|
+
confirmation: "Cancel an appointment. This cannot be undone.",
|
|
23861
|
+
hidden: false
|
|
23862
|
+
},
|
|
23863
|
+
"somos appointments create": {
|
|
23864
|
+
operation: "somos.appointments.create",
|
|
23865
|
+
sdkPath: [
|
|
23866
|
+
"somos",
|
|
23867
|
+
"appointments",
|
|
23868
|
+
"create"
|
|
23869
|
+
],
|
|
23870
|
+
pathField: null,
|
|
23871
|
+
fields: [
|
|
23872
|
+
{
|
|
23873
|
+
name: "documentNumber",
|
|
23874
|
+
flag: "document-number",
|
|
23875
|
+
kind: "string",
|
|
23876
|
+
required: true,
|
|
23877
|
+
description: "Documento confirmado de quien recibirá la atención (no del cuidador); si no existe, primero create_patient."
|
|
23878
|
+
},
|
|
23879
|
+
{
|
|
23880
|
+
name: "token",
|
|
23881
|
+
flag: "token",
|
|
23882
|
+
kind: "string",
|
|
23883
|
+
required: false,
|
|
23884
|
+
description: "No lo uses: reserva con date + time. Solo existe por compatibilidad."
|
|
23885
|
+
},
|
|
23886
|
+
{
|
|
23887
|
+
name: "companionToken",
|
|
23888
|
+
flag: "companion-token",
|
|
23889
|
+
kind: "string",
|
|
23890
|
+
required: false,
|
|
23891
|
+
description: "Token de logoaudiometría consecutiva a la audiometría del mismo paciente, fecha y profesional. El servidor verifica el servicio distinto y el intervalo de diez minutos; pairWithNext=true permite resolverlo automáticamente."
|
|
23892
|
+
},
|
|
23893
|
+
{
|
|
23894
|
+
name: "visitType",
|
|
23895
|
+
flag: "visit-type",
|
|
23896
|
+
kind: "string",
|
|
23897
|
+
required: false,
|
|
23898
|
+
description: "Normalmente omítelo: se conserva el código del cupo/token. Si el flujo exige enviarlo, copia el código exacto devuelto; nunca etiquetas como valoracion o control. R=remisión y S=sesión solo cuando el flujo lo confirme."
|
|
23899
|
+
},
|
|
23900
|
+
{
|
|
23901
|
+
name: "documentType",
|
|
23902
|
+
flag: "document-type",
|
|
23903
|
+
kind: "string",
|
|
23904
|
+
required: false,
|
|
23905
|
+
description: "Tipo exacto de patient_context; CC por defecto."
|
|
23906
|
+
},
|
|
23907
|
+
{
|
|
23908
|
+
name: "specialty",
|
|
23909
|
+
flag: "specialty",
|
|
23910
|
+
kind: "string",
|
|
23911
|
+
required: true,
|
|
23912
|
+
description: "La especialidad pedida HOY por la persona, nunca deducida del historial. Acepta el nombre clínico o el código y lo normaliza al código interno."
|
|
23913
|
+
},
|
|
23914
|
+
{
|
|
23915
|
+
name: "series",
|
|
23916
|
+
flag: "series",
|
|
23917
|
+
kind: "boolean",
|
|
23918
|
+
required: false,
|
|
23919
|
+
description: "true only for an explicitly requested additional session. Never use it instead of pairWithNext for audiometry plus logoaudiometry, replay a partial/uncertain pair or create duplicate first valuations. Psychology remains limited to one appointment every seven calendar days, including series and a professional change."
|
|
23920
|
+
},
|
|
23921
|
+
{
|
|
23922
|
+
name: "date",
|
|
23923
|
+
flag: "date",
|
|
23924
|
+
kind: "string",
|
|
23925
|
+
required: false,
|
|
23926
|
+
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23927
|
+
},
|
|
23928
|
+
{
|
|
23929
|
+
name: "time",
|
|
23930
|
+
flag: "time",
|
|
23931
|
+
kind: "string",
|
|
23932
|
+
required: false,
|
|
23933
|
+
description: "Deprecated: use `startsAt`. Answered until 2027-01-28."
|
|
23934
|
+
},
|
|
23935
|
+
{
|
|
23936
|
+
name: "medicName",
|
|
23937
|
+
flag: "medic-name",
|
|
23938
|
+
kind: "string",
|
|
23939
|
+
required: true,
|
|
23940
|
+
description: "Copia bookingInput.medicName del horario elegido. Conserva el profesional aceptado y la continuidad. Nombre parcial inequívoco válido. SLOT_AMBIGUOUS devuelve recovery.retryOptions: corrige este campo con el mismo profesional ya elegido; si falta elección, pregunta antes de reservar. No concatenes especialidad, alias ni nombres."
|
|
23941
|
+
},
|
|
23942
|
+
{
|
|
23943
|
+
name: "intent",
|
|
23944
|
+
flag: "intent",
|
|
23945
|
+
kind: "string",
|
|
23946
|
+
required: false,
|
|
23947
|
+
description: "La misma intención de la búsqueda; obligatoria cuando reservas por date + time."
|
|
23948
|
+
},
|
|
23949
|
+
{
|
|
23950
|
+
name: "eps",
|
|
23951
|
+
flag: "eps",
|
|
23952
|
+
kind: "string",
|
|
23953
|
+
required: false,
|
|
23954
|
+
description: "La misma EPS de la búsqueda, cuando la enviaste."
|
|
23955
|
+
},
|
|
23956
|
+
{
|
|
23957
|
+
name: "regimen",
|
|
23958
|
+
flag: "regimen",
|
|
23959
|
+
kind: "string",
|
|
23960
|
+
required: false,
|
|
23961
|
+
description: "El mismo régimen de la búsqueda, cuando lo enviaste."
|
|
23962
|
+
},
|
|
23963
|
+
{
|
|
23964
|
+
name: "sala",
|
|
23965
|
+
flag: "sala",
|
|
23966
|
+
kind: "string",
|
|
23967
|
+
required: false,
|
|
23968
|
+
description: "Solo fisio control: la misma sala de la búsqueda, tal como la dijo la persona; el servidor la normaliza."
|
|
23969
|
+
},
|
|
23970
|
+
{
|
|
23971
|
+
name: "fonoGroup",
|
|
23972
|
+
flag: "fono-group",
|
|
23973
|
+
kind: "string",
|
|
23974
|
+
required: false,
|
|
23975
|
+
description: "Solo Fono control: el mismo grupo de la búsqueda."
|
|
23976
|
+
},
|
|
23977
|
+
{
|
|
23978
|
+
name: "toGroup",
|
|
23979
|
+
flag: "to-group",
|
|
23980
|
+
kind: "string",
|
|
23981
|
+
required: false,
|
|
23982
|
+
description: "Solo TO control: el mismo grupo de la búsqueda."
|
|
23983
|
+
},
|
|
23984
|
+
{
|
|
23985
|
+
name: "patientAgeMonths",
|
|
23986
|
+
flag: "patient-age-months",
|
|
23987
|
+
kind: "string",
|
|
23988
|
+
required: false,
|
|
23989
|
+
description: "Solo con fonoGroup o toGroup: la misma edad en meses de la búsqueda."
|
|
23990
|
+
},
|
|
23991
|
+
{
|
|
23992
|
+
name: "modality",
|
|
23993
|
+
flag: "modality",
|
|
23994
|
+
kind: "string",
|
|
23995
|
+
required: false,
|
|
23996
|
+
description: "Solo fisio modalidad: la misma de la búsqueda."
|
|
23997
|
+
},
|
|
23998
|
+
{
|
|
23999
|
+
name: "authorizationService",
|
|
24000
|
+
flag: "authorization-service",
|
|
24001
|
+
kind: "string",
|
|
24002
|
+
required: false,
|
|
24003
|
+
description: "Solo para specialty=fisio: frase real del servicio en la autorización EPS cuando la modalidad la requiera. Para cualquier otra especialidad, omite este campo. Omite el campo en valoración/control de fisioterapia común. Nunca envíes x, NO, vacío ni otro relleno. Para biofeedback se requiere la frase exacta; no infieras el servicio de piso pélvico."
|
|
24004
|
+
},
|
|
24005
|
+
{
|
|
24006
|
+
name: "contract",
|
|
24007
|
+
flag: "contract",
|
|
24008
|
+
kind: "string",
|
|
24009
|
+
required: false,
|
|
24010
|
+
description: "Solo si la búsqueda usó contract+service explícitos."
|
|
24011
|
+
},
|
|
24012
|
+
{
|
|
24013
|
+
name: "service",
|
|
24014
|
+
flag: "service",
|
|
24015
|
+
kind: "string",
|
|
24016
|
+
required: false,
|
|
24017
|
+
description: "Solo si la búsqueda usó contract+service explícitos."
|
|
24018
|
+
},
|
|
24019
|
+
{
|
|
24020
|
+
name: "pairWithNext",
|
|
24021
|
+
flag: "pair-with-next",
|
|
24022
|
+
kind: "boolean",
|
|
24023
|
+
required: true,
|
|
24024
|
+
description: "Obligatorio: true solo si la persona confirmó audiometría y logoaudiometría juntas, también cuando pidió la logoaudiometría, que nunca va sola; false para una audiometría sola y para las demás especialidades. Copia bookingInput.pairWithNext y conserva el alcance aceptado: una búsqueda de pareja no prueba consentimiento. Dos servicios distintos consecutivos; no repitas parejas parciales o inciertas. Inmitancia se coordina en MR."
|
|
24025
|
+
},
|
|
24026
|
+
{
|
|
24027
|
+
name: "professionalChangeConfirmed",
|
|
24028
|
+
flag: "professional-change-confirmed",
|
|
24029
|
+
kind: "boolean",
|
|
24030
|
+
required: false,
|
|
24031
|
+
description: "Psychology only. true ONLY after explicit caller acceptance of the named change from the previous treating professional to the selected medicName. Carry that acceptance from availability to booking; never infer it from thanks, a date confirmation, or a future appointment. series=true does not bypass continuity. If the previous professional cannot be identified, explain that limitation instead of inventing their name; explicit acceptance of a real returned professionalCandidate permits the change."
|
|
24032
|
+
},
|
|
24033
|
+
{
|
|
24034
|
+
name: "agency",
|
|
24035
|
+
flag: "agency",
|
|
24036
|
+
kind: "string",
|
|
24037
|
+
required: false,
|
|
24038
|
+
description: "La sede del horario elegido: copia bookingInput.agency tal cual u omítela. Nunca la cambies ni la inventes: el servidor rechaza una sede que no sea de esta clínica o que no sea la del horario."
|
|
24039
|
+
},
|
|
23793
24040
|
{
|
|
23794
24041
|
name: "startsAt",
|
|
23795
24042
|
flag: "starts-at",
|
|
@@ -31718,7 +31965,7 @@ var schemaComponents = {
|
|
|
31718
31965
|
anyOf: [
|
|
31719
31966
|
{
|
|
31720
31967
|
$ref: "#/components/schemas/AccountColombiaResourceEnvelope",
|
|
31721
|
-
description: "
|
|
31968
|
+
description: "The concise EPS result, Sisbén classification, or document-free Police notice."
|
|
31722
31969
|
},
|
|
31723
31970
|
{
|
|
31724
31971
|
additionalProperties: false,
|
|
@@ -31777,10 +32024,8 @@ var schemaComponents = {
|
|
|
31777
32024
|
type: "string"
|
|
31778
32025
|
},
|
|
31779
32026
|
{
|
|
31780
|
-
|
|
31781
|
-
|
|
31782
|
-
"^(.*)$": {}
|
|
31783
|
-
}
|
|
32027
|
+
$ref: "#/components/schemas/SisbenClassification",
|
|
32028
|
+
description: "DNP registration and household classification at the source observation time. Unknown registration is null."
|
|
31784
32029
|
}
|
|
31785
32030
|
]
|
|
31786
32031
|
}
|
|
@@ -36579,6 +36824,625 @@ var schemaComponents = {
|
|
|
36579
36824
|
}
|
|
36580
36825
|
}
|
|
36581
36826
|
},
|
|
36827
|
+
AdresAffiliationPresentation: {
|
|
36828
|
+
anyOf: [
|
|
36829
|
+
{
|
|
36830
|
+
additionalProperties: false,
|
|
36831
|
+
type: "object",
|
|
36832
|
+
required: [
|
|
36833
|
+
"countryCode",
|
|
36834
|
+
"source",
|
|
36835
|
+
"consultedAt",
|
|
36836
|
+
"verification",
|
|
36837
|
+
"sisben",
|
|
36838
|
+
"outcome",
|
|
36839
|
+
"person",
|
|
36840
|
+
"affiliations"
|
|
36841
|
+
],
|
|
36842
|
+
properties: {
|
|
36843
|
+
countryCode: {
|
|
36844
|
+
const: "CO",
|
|
36845
|
+
type: "string"
|
|
36846
|
+
},
|
|
36847
|
+
source: {
|
|
36848
|
+
type: "string"
|
|
36849
|
+
},
|
|
36850
|
+
consultedAt: {
|
|
36851
|
+
format: "date-time",
|
|
36852
|
+
type: "string"
|
|
36853
|
+
},
|
|
36854
|
+
verification: {
|
|
36855
|
+
anyOf: [
|
|
36856
|
+
{
|
|
36857
|
+
const: "source_report",
|
|
36858
|
+
type: "string"
|
|
36859
|
+
},
|
|
36860
|
+
{
|
|
36861
|
+
const: "last_known",
|
|
36862
|
+
type: "string"
|
|
36863
|
+
}
|
|
36864
|
+
]
|
|
36865
|
+
},
|
|
36866
|
+
sisben: {
|
|
36867
|
+
additionalProperties: false,
|
|
36868
|
+
type: "object",
|
|
36869
|
+
required: [
|
|
36870
|
+
"status",
|
|
36871
|
+
"value",
|
|
36872
|
+
"official"
|
|
36873
|
+
],
|
|
36874
|
+
properties: {
|
|
36875
|
+
status: {
|
|
36876
|
+
anyOf: [
|
|
36877
|
+
{
|
|
36878
|
+
const: "reported",
|
|
36879
|
+
type: "string"
|
|
36880
|
+
},
|
|
36881
|
+
{
|
|
36882
|
+
const: "explicitly_absent",
|
|
36883
|
+
type: "string"
|
|
36884
|
+
},
|
|
36885
|
+
{
|
|
36886
|
+
const: "not_reported",
|
|
36887
|
+
type: "string"
|
|
36888
|
+
}
|
|
36889
|
+
]
|
|
36890
|
+
},
|
|
36891
|
+
value: {
|
|
36892
|
+
anyOf: [
|
|
36893
|
+
{
|
|
36894
|
+
type: "string"
|
|
36895
|
+
},
|
|
36896
|
+
{
|
|
36897
|
+
type: "null"
|
|
36898
|
+
}
|
|
36899
|
+
]
|
|
36900
|
+
},
|
|
36901
|
+
official: {
|
|
36902
|
+
$ref: "#/components/schemas/SisbenClassification",
|
|
36903
|
+
description: "DNP registration and household classification at the source observation time. Unknown registration is null."
|
|
36904
|
+
}
|
|
36905
|
+
}
|
|
36906
|
+
},
|
|
36907
|
+
outcome: {
|
|
36908
|
+
const: "found",
|
|
36909
|
+
type: "string"
|
|
36910
|
+
},
|
|
36911
|
+
person: {
|
|
36912
|
+
additionalProperties: false,
|
|
36913
|
+
type: "object",
|
|
36914
|
+
required: [
|
|
36915
|
+
"documentType",
|
|
36916
|
+
"documentNumber",
|
|
36917
|
+
"givenName",
|
|
36918
|
+
"familyName",
|
|
36919
|
+
"fullName",
|
|
36920
|
+
"birthDate",
|
|
36921
|
+
"department",
|
|
36922
|
+
"municipality",
|
|
36923
|
+
"reportedFields"
|
|
36924
|
+
],
|
|
36925
|
+
properties: {
|
|
36926
|
+
documentType: {
|
|
36927
|
+
anyOf: [
|
|
36928
|
+
{
|
|
36929
|
+
const: "CC",
|
|
36930
|
+
type: "string"
|
|
36931
|
+
},
|
|
36932
|
+
{
|
|
36933
|
+
const: "CE",
|
|
36934
|
+
type: "string"
|
|
36935
|
+
},
|
|
36936
|
+
{
|
|
36937
|
+
const: "TI",
|
|
36938
|
+
type: "string"
|
|
36939
|
+
},
|
|
36940
|
+
{
|
|
36941
|
+
const: "RC",
|
|
36942
|
+
type: "string"
|
|
36943
|
+
},
|
|
36944
|
+
{
|
|
36945
|
+
const: "CN",
|
|
36946
|
+
type: "string"
|
|
36947
|
+
},
|
|
36948
|
+
{
|
|
36949
|
+
const: "NU",
|
|
36950
|
+
type: "string"
|
|
36951
|
+
},
|
|
36952
|
+
{
|
|
36953
|
+
const: "MS",
|
|
36954
|
+
type: "string"
|
|
36955
|
+
}
|
|
36956
|
+
]
|
|
36957
|
+
},
|
|
36958
|
+
documentNumber: {
|
|
36959
|
+
type: "string"
|
|
36960
|
+
},
|
|
36961
|
+
givenName: {
|
|
36962
|
+
anyOf: [
|
|
36963
|
+
{
|
|
36964
|
+
type: "string"
|
|
36965
|
+
},
|
|
36966
|
+
{
|
|
36967
|
+
type: "null"
|
|
36968
|
+
}
|
|
36969
|
+
]
|
|
36970
|
+
},
|
|
36971
|
+
familyName: {
|
|
36972
|
+
anyOf: [
|
|
36973
|
+
{
|
|
36974
|
+
type: "string"
|
|
36975
|
+
},
|
|
36976
|
+
{
|
|
36977
|
+
type: "null"
|
|
36978
|
+
}
|
|
36979
|
+
]
|
|
36980
|
+
},
|
|
36981
|
+
fullName: {
|
|
36982
|
+
anyOf: [
|
|
36983
|
+
{
|
|
36984
|
+
type: "string"
|
|
36985
|
+
},
|
|
36986
|
+
{
|
|
36987
|
+
type: "null"
|
|
36988
|
+
}
|
|
36989
|
+
]
|
|
36990
|
+
},
|
|
36991
|
+
birthDate: {
|
|
36992
|
+
anyOf: [
|
|
36993
|
+
{
|
|
36994
|
+
format: "date",
|
|
36995
|
+
type: "string"
|
|
36996
|
+
},
|
|
36997
|
+
{
|
|
36998
|
+
type: "null"
|
|
36999
|
+
}
|
|
37000
|
+
]
|
|
37001
|
+
},
|
|
37002
|
+
department: {
|
|
37003
|
+
anyOf: [
|
|
37004
|
+
{
|
|
37005
|
+
type: "string"
|
|
37006
|
+
},
|
|
37007
|
+
{
|
|
37008
|
+
type: "null"
|
|
37009
|
+
}
|
|
37010
|
+
]
|
|
37011
|
+
},
|
|
37012
|
+
municipality: {
|
|
37013
|
+
anyOf: [
|
|
37014
|
+
{
|
|
37015
|
+
type: "string"
|
|
37016
|
+
},
|
|
37017
|
+
{
|
|
37018
|
+
type: "null"
|
|
37019
|
+
}
|
|
37020
|
+
]
|
|
37021
|
+
},
|
|
37022
|
+
reportedFields: {
|
|
37023
|
+
maxItems: 48,
|
|
37024
|
+
type: "array",
|
|
37025
|
+
items: {
|
|
37026
|
+
additionalProperties: false,
|
|
37027
|
+
type: "object",
|
|
37028
|
+
required: [
|
|
37029
|
+
"label",
|
|
37030
|
+
"value"
|
|
37031
|
+
],
|
|
37032
|
+
properties: {
|
|
37033
|
+
label: {
|
|
37034
|
+
type: "string"
|
|
37035
|
+
},
|
|
37036
|
+
value: {
|
|
37037
|
+
type: "string"
|
|
37038
|
+
}
|
|
37039
|
+
}
|
|
37040
|
+
}
|
|
37041
|
+
}
|
|
37042
|
+
}
|
|
37043
|
+
},
|
|
37044
|
+
affiliations: {
|
|
37045
|
+
minItems: 1,
|
|
37046
|
+
maxItems: 50,
|
|
37047
|
+
type: "array",
|
|
37048
|
+
items: {
|
|
37049
|
+
additionalProperties: false,
|
|
37050
|
+
type: "object",
|
|
37051
|
+
required: [
|
|
37052
|
+
"eps",
|
|
37053
|
+
"status",
|
|
37054
|
+
"regime",
|
|
37055
|
+
"affiliateType",
|
|
37056
|
+
"from",
|
|
37057
|
+
"to",
|
|
37058
|
+
"endDateKind",
|
|
37059
|
+
"isExpired",
|
|
37060
|
+
"reportedFields"
|
|
37061
|
+
],
|
|
37062
|
+
properties: {
|
|
37063
|
+
eps: {
|
|
37064
|
+
type: "string"
|
|
37065
|
+
},
|
|
37066
|
+
status: {
|
|
37067
|
+
type: "string"
|
|
37068
|
+
},
|
|
37069
|
+
regime: {
|
|
37070
|
+
type: "string"
|
|
37071
|
+
},
|
|
37072
|
+
affiliateType: {
|
|
37073
|
+
anyOf: [
|
|
37074
|
+
{
|
|
37075
|
+
type: "string"
|
|
37076
|
+
},
|
|
37077
|
+
{
|
|
37078
|
+
type: "null"
|
|
37079
|
+
}
|
|
37080
|
+
]
|
|
37081
|
+
},
|
|
37082
|
+
from: {
|
|
37083
|
+
anyOf: [
|
|
37084
|
+
{
|
|
37085
|
+
format: "date",
|
|
37086
|
+
type: "string"
|
|
37087
|
+
},
|
|
37088
|
+
{
|
|
37089
|
+
type: "null"
|
|
37090
|
+
}
|
|
37091
|
+
]
|
|
37092
|
+
},
|
|
37093
|
+
to: {
|
|
37094
|
+
anyOf: [
|
|
37095
|
+
{
|
|
37096
|
+
format: "date",
|
|
37097
|
+
type: "string"
|
|
37098
|
+
},
|
|
37099
|
+
{
|
|
37100
|
+
type: "null"
|
|
37101
|
+
}
|
|
37102
|
+
]
|
|
37103
|
+
},
|
|
37104
|
+
endDateKind: {
|
|
37105
|
+
anyOf: [
|
|
37106
|
+
{
|
|
37107
|
+
const: "dated",
|
|
37108
|
+
type: "string"
|
|
37109
|
+
},
|
|
37110
|
+
{
|
|
37111
|
+
const: "open_ended",
|
|
37112
|
+
type: "string"
|
|
37113
|
+
},
|
|
37114
|
+
{
|
|
37115
|
+
const: "not_reported",
|
|
37116
|
+
type: "string"
|
|
37117
|
+
}
|
|
37118
|
+
]
|
|
37119
|
+
},
|
|
37120
|
+
isExpired: {
|
|
37121
|
+
description: "Whether the reported end date has passed. Read status independently.",
|
|
37122
|
+
anyOf: [
|
|
37123
|
+
{
|
|
37124
|
+
type: "boolean"
|
|
37125
|
+
},
|
|
37126
|
+
{
|
|
37127
|
+
type: "null"
|
|
37128
|
+
}
|
|
37129
|
+
]
|
|
37130
|
+
},
|
|
37131
|
+
reportedFields: {
|
|
37132
|
+
maxItems: 48,
|
|
37133
|
+
type: "array",
|
|
37134
|
+
items: {
|
|
37135
|
+
additionalProperties: false,
|
|
37136
|
+
type: "object",
|
|
37137
|
+
required: [
|
|
37138
|
+
"label",
|
|
37139
|
+
"value"
|
|
37140
|
+
],
|
|
37141
|
+
properties: {
|
|
37142
|
+
label: {
|
|
37143
|
+
type: "string"
|
|
37144
|
+
},
|
|
37145
|
+
value: {
|
|
37146
|
+
type: "string"
|
|
37147
|
+
}
|
|
37148
|
+
}
|
|
37149
|
+
}
|
|
37150
|
+
}
|
|
37151
|
+
}
|
|
37152
|
+
}
|
|
37153
|
+
}
|
|
37154
|
+
}
|
|
37155
|
+
},
|
|
37156
|
+
{
|
|
37157
|
+
additionalProperties: false,
|
|
37158
|
+
type: "object",
|
|
37159
|
+
required: [
|
|
37160
|
+
"countryCode",
|
|
37161
|
+
"source",
|
|
37162
|
+
"consultedAt",
|
|
37163
|
+
"verification",
|
|
37164
|
+
"sisben",
|
|
37165
|
+
"outcome",
|
|
37166
|
+
"person",
|
|
37167
|
+
"affiliations"
|
|
37168
|
+
],
|
|
37169
|
+
properties: {
|
|
37170
|
+
countryCode: {
|
|
37171
|
+
const: "CO",
|
|
37172
|
+
type: "string"
|
|
37173
|
+
},
|
|
37174
|
+
source: {
|
|
37175
|
+
type: "string"
|
|
37176
|
+
},
|
|
37177
|
+
consultedAt: {
|
|
37178
|
+
format: "date-time",
|
|
37179
|
+
type: "string"
|
|
37180
|
+
},
|
|
37181
|
+
verification: {
|
|
37182
|
+
anyOf: [
|
|
37183
|
+
{
|
|
37184
|
+
const: "source_report",
|
|
37185
|
+
type: "string"
|
|
37186
|
+
},
|
|
37187
|
+
{
|
|
37188
|
+
const: "last_known",
|
|
37189
|
+
type: "string"
|
|
37190
|
+
}
|
|
37191
|
+
]
|
|
37192
|
+
},
|
|
37193
|
+
sisben: {
|
|
37194
|
+
additionalProperties: false,
|
|
37195
|
+
type: "object",
|
|
37196
|
+
required: [
|
|
37197
|
+
"status",
|
|
37198
|
+
"value",
|
|
37199
|
+
"official"
|
|
37200
|
+
],
|
|
37201
|
+
properties: {
|
|
37202
|
+
status: {
|
|
37203
|
+
anyOf: [
|
|
37204
|
+
{
|
|
37205
|
+
const: "reported",
|
|
37206
|
+
type: "string"
|
|
37207
|
+
},
|
|
37208
|
+
{
|
|
37209
|
+
const: "explicitly_absent",
|
|
37210
|
+
type: "string"
|
|
37211
|
+
},
|
|
37212
|
+
{
|
|
37213
|
+
const: "not_reported",
|
|
37214
|
+
type: "string"
|
|
37215
|
+
}
|
|
37216
|
+
]
|
|
37217
|
+
},
|
|
37218
|
+
value: {
|
|
37219
|
+
anyOf: [
|
|
37220
|
+
{
|
|
37221
|
+
type: "string"
|
|
37222
|
+
},
|
|
37223
|
+
{
|
|
37224
|
+
type: "null"
|
|
37225
|
+
}
|
|
37226
|
+
]
|
|
37227
|
+
},
|
|
37228
|
+
official: {
|
|
37229
|
+
$ref: "#/components/schemas/SisbenClassification",
|
|
37230
|
+
description: "DNP registration and household classification at the source observation time. Unknown registration is null."
|
|
37231
|
+
}
|
|
37232
|
+
}
|
|
37233
|
+
},
|
|
37234
|
+
outcome: {
|
|
37235
|
+
const: "not_found",
|
|
37236
|
+
type: "string"
|
|
37237
|
+
},
|
|
37238
|
+
person: {
|
|
37239
|
+
type: "null"
|
|
37240
|
+
},
|
|
37241
|
+
affiliations: {
|
|
37242
|
+
maxItems: 0,
|
|
37243
|
+
type: "array",
|
|
37244
|
+
items: {
|
|
37245
|
+
additionalProperties: false,
|
|
37246
|
+
type: "object",
|
|
37247
|
+
required: [
|
|
37248
|
+
"eps",
|
|
37249
|
+
"status",
|
|
37250
|
+
"regime",
|
|
37251
|
+
"affiliateType",
|
|
37252
|
+
"from",
|
|
37253
|
+
"to",
|
|
37254
|
+
"endDateKind",
|
|
37255
|
+
"isExpired",
|
|
37256
|
+
"reportedFields"
|
|
37257
|
+
],
|
|
37258
|
+
properties: {
|
|
37259
|
+
eps: {
|
|
37260
|
+
type: "string"
|
|
37261
|
+
},
|
|
37262
|
+
status: {
|
|
37263
|
+
type: "string"
|
|
37264
|
+
},
|
|
37265
|
+
regime: {
|
|
37266
|
+
type: "string"
|
|
37267
|
+
},
|
|
37268
|
+
affiliateType: {
|
|
37269
|
+
anyOf: [
|
|
37270
|
+
{
|
|
37271
|
+
type: "string"
|
|
37272
|
+
},
|
|
37273
|
+
{
|
|
37274
|
+
type: "null"
|
|
37275
|
+
}
|
|
37276
|
+
]
|
|
37277
|
+
},
|
|
37278
|
+
from: {
|
|
37279
|
+
anyOf: [
|
|
37280
|
+
{
|
|
37281
|
+
format: "date",
|
|
37282
|
+
type: "string"
|
|
37283
|
+
},
|
|
37284
|
+
{
|
|
37285
|
+
type: "null"
|
|
37286
|
+
}
|
|
37287
|
+
]
|
|
37288
|
+
},
|
|
37289
|
+
to: {
|
|
37290
|
+
anyOf: [
|
|
37291
|
+
{
|
|
37292
|
+
format: "date",
|
|
37293
|
+
type: "string"
|
|
37294
|
+
},
|
|
37295
|
+
{
|
|
37296
|
+
type: "null"
|
|
37297
|
+
}
|
|
37298
|
+
]
|
|
37299
|
+
},
|
|
37300
|
+
endDateKind: {
|
|
37301
|
+
anyOf: [
|
|
37302
|
+
{
|
|
37303
|
+
const: "dated",
|
|
37304
|
+
type: "string"
|
|
37305
|
+
},
|
|
37306
|
+
{
|
|
37307
|
+
const: "open_ended",
|
|
37308
|
+
type: "string"
|
|
37309
|
+
},
|
|
37310
|
+
{
|
|
37311
|
+
const: "not_reported",
|
|
37312
|
+
type: "string"
|
|
37313
|
+
}
|
|
37314
|
+
]
|
|
37315
|
+
},
|
|
37316
|
+
isExpired: {
|
|
37317
|
+
description: "Whether the reported end date has passed. Read status independently.",
|
|
37318
|
+
anyOf: [
|
|
37319
|
+
{
|
|
37320
|
+
type: "boolean"
|
|
37321
|
+
},
|
|
37322
|
+
{
|
|
37323
|
+
type: "null"
|
|
37324
|
+
}
|
|
37325
|
+
]
|
|
37326
|
+
},
|
|
37327
|
+
reportedFields: {
|
|
37328
|
+
maxItems: 48,
|
|
37329
|
+
type: "array",
|
|
37330
|
+
items: {
|
|
37331
|
+
additionalProperties: false,
|
|
37332
|
+
type: "object",
|
|
37333
|
+
required: [
|
|
37334
|
+
"label",
|
|
37335
|
+
"value"
|
|
37336
|
+
],
|
|
37337
|
+
properties: {
|
|
37338
|
+
label: {
|
|
37339
|
+
type: "string"
|
|
37340
|
+
},
|
|
37341
|
+
value: {
|
|
37342
|
+
type: "string"
|
|
37343
|
+
}
|
|
37344
|
+
}
|
|
37345
|
+
}
|
|
37346
|
+
}
|
|
37347
|
+
}
|
|
37348
|
+
}
|
|
37349
|
+
}
|
|
37350
|
+
}
|
|
37351
|
+
},
|
|
37352
|
+
{
|
|
37353
|
+
additionalProperties: false,
|
|
37354
|
+
type: "object",
|
|
37355
|
+
required: [
|
|
37356
|
+
"text"
|
|
37357
|
+
],
|
|
37358
|
+
properties: {
|
|
37359
|
+
text: {
|
|
37360
|
+
minLength: 1,
|
|
37361
|
+
type: "string"
|
|
37362
|
+
}
|
|
37363
|
+
}
|
|
37364
|
+
}
|
|
37365
|
+
]
|
|
37366
|
+
},
|
|
37367
|
+
AdresAffiliationPresentationResponse: {
|
|
37368
|
+
type: "object",
|
|
37369
|
+
description: "A successful answer.",
|
|
37370
|
+
additionalProperties: false,
|
|
37371
|
+
required: [
|
|
37372
|
+
"success",
|
|
37373
|
+
"data",
|
|
37374
|
+
"error",
|
|
37375
|
+
"metadata"
|
|
37376
|
+
],
|
|
37377
|
+
properties: {
|
|
37378
|
+
success: {
|
|
37379
|
+
type: "boolean",
|
|
37380
|
+
enum: [
|
|
37381
|
+
true
|
|
37382
|
+
]
|
|
37383
|
+
},
|
|
37384
|
+
data: {
|
|
37385
|
+
$ref: "#/components/schemas/AdresAffiliationPresentation"
|
|
37386
|
+
},
|
|
37387
|
+
error: {
|
|
37388
|
+
const: null
|
|
37389
|
+
},
|
|
37390
|
+
metadata: {
|
|
37391
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
37392
|
+
}
|
|
37393
|
+
}
|
|
37394
|
+
},
|
|
37395
|
+
AdresLookupAffiliationBody: {
|
|
37396
|
+
additionalProperties: false,
|
|
37397
|
+
type: "object",
|
|
37398
|
+
required: [
|
|
37399
|
+
"documentType",
|
|
37400
|
+
"documentNumber"
|
|
37401
|
+
],
|
|
37402
|
+
properties: {
|
|
37403
|
+
documentType: {
|
|
37404
|
+
anyOf: [
|
|
37405
|
+
{
|
|
37406
|
+
const: "CC",
|
|
37407
|
+
type: "string"
|
|
37408
|
+
},
|
|
37409
|
+
{
|
|
37410
|
+
const: "CE",
|
|
37411
|
+
type: "string"
|
|
37412
|
+
},
|
|
37413
|
+
{
|
|
37414
|
+
const: "TI",
|
|
37415
|
+
type: "string"
|
|
37416
|
+
},
|
|
37417
|
+
{
|
|
37418
|
+
const: "RC",
|
|
37419
|
+
type: "string"
|
|
37420
|
+
},
|
|
37421
|
+
{
|
|
37422
|
+
const: "CN",
|
|
37423
|
+
type: "string"
|
|
37424
|
+
},
|
|
37425
|
+
{
|
|
37426
|
+
const: "NU",
|
|
37427
|
+
type: "string"
|
|
37428
|
+
},
|
|
37429
|
+
{
|
|
37430
|
+
const: "MS",
|
|
37431
|
+
type: "string"
|
|
37432
|
+
}
|
|
37433
|
+
]
|
|
37434
|
+
},
|
|
37435
|
+
documentNumber: {
|
|
37436
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
37437
|
+
type: "string"
|
|
37438
|
+
},
|
|
37439
|
+
agentMode: {
|
|
37440
|
+
default: false,
|
|
37441
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
37442
|
+
type: "boolean"
|
|
37443
|
+
}
|
|
37444
|
+
}
|
|
37445
|
+
},
|
|
36582
37446
|
AgendaAppointment: {
|
|
36583
37447
|
additionalProperties: false,
|
|
36584
37448
|
type: "object",
|
|
@@ -67355,6 +68219,307 @@ var schemaComponents = {
|
|
|
67355
68219
|
}
|
|
67356
68220
|
}
|
|
67357
68221
|
},
|
|
68222
|
+
PoliciaColombiaJudicialRecordPresentation: {
|
|
68223
|
+
anyOf: [
|
|
68224
|
+
{
|
|
68225
|
+
additionalProperties: false,
|
|
68226
|
+
type: "object",
|
|
68227
|
+
required: [
|
|
68228
|
+
"documentType",
|
|
68229
|
+
"documentNumber",
|
|
68230
|
+
"givenName",
|
|
68231
|
+
"familyName",
|
|
68232
|
+
"fullName",
|
|
68233
|
+
"arrayName",
|
|
68234
|
+
"judicialStatus",
|
|
68235
|
+
"observedAt",
|
|
68236
|
+
"details",
|
|
68237
|
+
"identityStatus"
|
|
68238
|
+
],
|
|
68239
|
+
properties: {
|
|
68240
|
+
documentType: {
|
|
68241
|
+
anyOf: [
|
|
68242
|
+
{
|
|
68243
|
+
const: "CC",
|
|
68244
|
+
type: "string"
|
|
68245
|
+
},
|
|
68246
|
+
{
|
|
68247
|
+
const: "CE",
|
|
68248
|
+
type: "string"
|
|
68249
|
+
},
|
|
68250
|
+
{
|
|
68251
|
+
const: "PA",
|
|
68252
|
+
type: "string"
|
|
68253
|
+
},
|
|
68254
|
+
{
|
|
68255
|
+
const: "PPT",
|
|
68256
|
+
type: "string"
|
|
68257
|
+
},
|
|
68258
|
+
{
|
|
68259
|
+
const: "DP",
|
|
68260
|
+
type: "string"
|
|
68261
|
+
}
|
|
68262
|
+
]
|
|
68263
|
+
},
|
|
68264
|
+
documentNumber: {
|
|
68265
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
68266
|
+
type: "string"
|
|
68267
|
+
},
|
|
68268
|
+
givenName: {
|
|
68269
|
+
anyOf: [
|
|
68270
|
+
{
|
|
68271
|
+
minLength: 1,
|
|
68272
|
+
maxLength: 256,
|
|
68273
|
+
type: "string"
|
|
68274
|
+
},
|
|
68275
|
+
{
|
|
68276
|
+
type: "null"
|
|
68277
|
+
}
|
|
68278
|
+
]
|
|
68279
|
+
},
|
|
68280
|
+
familyName: {
|
|
68281
|
+
anyOf: [
|
|
68282
|
+
{
|
|
68283
|
+
minLength: 1,
|
|
68284
|
+
maxLength: 256,
|
|
68285
|
+
type: "string"
|
|
68286
|
+
},
|
|
68287
|
+
{
|
|
68288
|
+
type: "null"
|
|
68289
|
+
}
|
|
68290
|
+
]
|
|
68291
|
+
},
|
|
68292
|
+
fullName: {
|
|
68293
|
+
anyOf: [
|
|
68294
|
+
{
|
|
68295
|
+
minLength: 1,
|
|
68296
|
+
maxLength: 256,
|
|
68297
|
+
type: "string"
|
|
68298
|
+
},
|
|
68299
|
+
{
|
|
68300
|
+
type: "null"
|
|
68301
|
+
}
|
|
68302
|
+
]
|
|
68303
|
+
},
|
|
68304
|
+
arrayName: {
|
|
68305
|
+
anyOf: [
|
|
68306
|
+
{
|
|
68307
|
+
minItems: 1,
|
|
68308
|
+
maxItems: 32,
|
|
68309
|
+
type: "array",
|
|
68310
|
+
items: {
|
|
68311
|
+
minLength: 1,
|
|
68312
|
+
maxLength: 256,
|
|
68313
|
+
type: "string"
|
|
68314
|
+
}
|
|
68315
|
+
},
|
|
68316
|
+
{
|
|
68317
|
+
type: "null"
|
|
68318
|
+
}
|
|
68319
|
+
]
|
|
68320
|
+
},
|
|
68321
|
+
judicialStatus: {
|
|
68322
|
+
anyOf: [
|
|
68323
|
+
{
|
|
68324
|
+
const: "no_pending_matters",
|
|
68325
|
+
type: "string"
|
|
68326
|
+
},
|
|
68327
|
+
{
|
|
68328
|
+
const: "pending_matters",
|
|
68329
|
+
type: "string"
|
|
68330
|
+
},
|
|
68331
|
+
{
|
|
68332
|
+
const: "in_person_required",
|
|
68333
|
+
type: "string"
|
|
68334
|
+
},
|
|
68335
|
+
{
|
|
68336
|
+
const: "other_statement",
|
|
68337
|
+
type: "string"
|
|
68338
|
+
}
|
|
68339
|
+
]
|
|
68340
|
+
},
|
|
68341
|
+
observedAt: {
|
|
68342
|
+
format: "date-time",
|
|
68343
|
+
type: "string"
|
|
68344
|
+
},
|
|
68345
|
+
details: {
|
|
68346
|
+
minLength: 1,
|
|
68347
|
+
maxLength: 4096,
|
|
68348
|
+
description: "The judicial statement as supplied by the source.",
|
|
68349
|
+
type: "string"
|
|
68350
|
+
},
|
|
68351
|
+
identityStatus: {
|
|
68352
|
+
anyOf: [
|
|
68353
|
+
{
|
|
68354
|
+
const: "document_matched",
|
|
68355
|
+
type: "string"
|
|
68356
|
+
},
|
|
68357
|
+
{
|
|
68358
|
+
const: "unverified",
|
|
68359
|
+
type: "string"
|
|
68360
|
+
}
|
|
68361
|
+
]
|
|
68362
|
+
}
|
|
68363
|
+
}
|
|
68364
|
+
},
|
|
68365
|
+
{
|
|
68366
|
+
additionalProperties: false,
|
|
68367
|
+
type: "object",
|
|
68368
|
+
required: [
|
|
68369
|
+
"documentType",
|
|
68370
|
+
"documentNumber",
|
|
68371
|
+
"givenName",
|
|
68372
|
+
"familyName",
|
|
68373
|
+
"fullName",
|
|
68374
|
+
"arrayName",
|
|
68375
|
+
"identityStatus",
|
|
68376
|
+
"judicialStatus",
|
|
68377
|
+
"observedAt",
|
|
68378
|
+
"details"
|
|
68379
|
+
],
|
|
68380
|
+
properties: {
|
|
68381
|
+
documentType: {
|
|
68382
|
+
anyOf: [
|
|
68383
|
+
{
|
|
68384
|
+
const: "CC",
|
|
68385
|
+
type: "string"
|
|
68386
|
+
},
|
|
68387
|
+
{
|
|
68388
|
+
const: "CE",
|
|
68389
|
+
type: "string"
|
|
68390
|
+
},
|
|
68391
|
+
{
|
|
68392
|
+
const: "PA",
|
|
68393
|
+
type: "string"
|
|
68394
|
+
},
|
|
68395
|
+
{
|
|
68396
|
+
const: "PPT",
|
|
68397
|
+
type: "string"
|
|
68398
|
+
},
|
|
68399
|
+
{
|
|
68400
|
+
const: "DP",
|
|
68401
|
+
type: "string"
|
|
68402
|
+
}
|
|
68403
|
+
]
|
|
68404
|
+
},
|
|
68405
|
+
documentNumber: {
|
|
68406
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
68407
|
+
type: "string"
|
|
68408
|
+
},
|
|
68409
|
+
givenName: {
|
|
68410
|
+
type: "null"
|
|
68411
|
+
},
|
|
68412
|
+
familyName: {
|
|
68413
|
+
type: "null"
|
|
68414
|
+
},
|
|
68415
|
+
fullName: {
|
|
68416
|
+
type: "null"
|
|
68417
|
+
},
|
|
68418
|
+
arrayName: {
|
|
68419
|
+
type: "null"
|
|
68420
|
+
},
|
|
68421
|
+
identityStatus: {
|
|
68422
|
+
const: "unverified",
|
|
68423
|
+
type: "string"
|
|
68424
|
+
},
|
|
68425
|
+
judicialStatus: {
|
|
68426
|
+
const: "unverified",
|
|
68427
|
+
type: "string"
|
|
68428
|
+
},
|
|
68429
|
+
observedAt: {
|
|
68430
|
+
type: "null"
|
|
68431
|
+
},
|
|
68432
|
+
details: {
|
|
68433
|
+
type: "null"
|
|
68434
|
+
}
|
|
68435
|
+
}
|
|
68436
|
+
},
|
|
68437
|
+
{
|
|
68438
|
+
additionalProperties: false,
|
|
68439
|
+
type: "object",
|
|
68440
|
+
required: [
|
|
68441
|
+
"text"
|
|
68442
|
+
],
|
|
68443
|
+
properties: {
|
|
68444
|
+
text: {
|
|
68445
|
+
minLength: 1,
|
|
68446
|
+
type: "string"
|
|
68447
|
+
}
|
|
68448
|
+
}
|
|
68449
|
+
}
|
|
68450
|
+
]
|
|
68451
|
+
},
|
|
68452
|
+
PoliciaColombiaJudicialRecordPresentationResponse: {
|
|
68453
|
+
type: "object",
|
|
68454
|
+
description: "A successful answer.",
|
|
68455
|
+
additionalProperties: false,
|
|
68456
|
+
required: [
|
|
68457
|
+
"success",
|
|
68458
|
+
"data",
|
|
68459
|
+
"error",
|
|
68460
|
+
"metadata"
|
|
68461
|
+
],
|
|
68462
|
+
properties: {
|
|
68463
|
+
success: {
|
|
68464
|
+
type: "boolean",
|
|
68465
|
+
enum: [
|
|
68466
|
+
true
|
|
68467
|
+
]
|
|
68468
|
+
},
|
|
68469
|
+
data: {
|
|
68470
|
+
$ref: "#/components/schemas/PoliciaColombiaJudicialRecordPresentation"
|
|
68471
|
+
},
|
|
68472
|
+
error: {
|
|
68473
|
+
const: null
|
|
68474
|
+
},
|
|
68475
|
+
metadata: {
|
|
68476
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
68477
|
+
}
|
|
68478
|
+
}
|
|
68479
|
+
},
|
|
68480
|
+
PoliciaColombiaLookupJudicialRecordBody: {
|
|
68481
|
+
additionalProperties: false,
|
|
68482
|
+
type: "object",
|
|
68483
|
+
required: [
|
|
68484
|
+
"documentType",
|
|
68485
|
+
"documentNumber"
|
|
68486
|
+
],
|
|
68487
|
+
properties: {
|
|
68488
|
+
documentType: {
|
|
68489
|
+
anyOf: [
|
|
68490
|
+
{
|
|
68491
|
+
const: "CC",
|
|
68492
|
+
type: "string"
|
|
68493
|
+
},
|
|
68494
|
+
{
|
|
68495
|
+
const: "CE",
|
|
68496
|
+
type: "string"
|
|
68497
|
+
},
|
|
68498
|
+
{
|
|
68499
|
+
const: "PA",
|
|
68500
|
+
type: "string"
|
|
68501
|
+
},
|
|
68502
|
+
{
|
|
68503
|
+
const: "PPT",
|
|
68504
|
+
type: "string"
|
|
68505
|
+
},
|
|
68506
|
+
{
|
|
68507
|
+
const: "DP",
|
|
68508
|
+
type: "string"
|
|
68509
|
+
}
|
|
68510
|
+
]
|
|
68511
|
+
},
|
|
68512
|
+
documentNumber: {
|
|
68513
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
68514
|
+
type: "string"
|
|
68515
|
+
},
|
|
68516
|
+
agentMode: {
|
|
68517
|
+
default: false,
|
|
68518
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
68519
|
+
type: "boolean"
|
|
68520
|
+
}
|
|
68521
|
+
}
|
|
68522
|
+
},
|
|
67358
68523
|
ProviderUnavailableFailure: {
|
|
67359
68524
|
type: "object",
|
|
67360
68525
|
description: "The clinical system did not answer or could not complete the request.",
|
|
@@ -86605,6 +87770,674 @@ var schemaComponents = {
|
|
|
86605
87770
|
}
|
|
86606
87771
|
}
|
|
86607
87772
|
},
|
|
87773
|
+
SisbenClassification: {
|
|
87774
|
+
anyOf: [
|
|
87775
|
+
{
|
|
87776
|
+
additionalProperties: false,
|
|
87777
|
+
type: "object",
|
|
87778
|
+
required: [
|
|
87779
|
+
"source",
|
|
87780
|
+
"verification",
|
|
87781
|
+
"observedAt",
|
|
87782
|
+
"registered",
|
|
87783
|
+
"group",
|
|
87784
|
+
"subgroup"
|
|
87785
|
+
],
|
|
87786
|
+
properties: {
|
|
87787
|
+
source: {
|
|
87788
|
+
const: "DNP-SISBEN-IV",
|
|
87789
|
+
type: "string"
|
|
87790
|
+
},
|
|
87791
|
+
verification: {
|
|
87792
|
+
anyOf: [
|
|
87793
|
+
{
|
|
87794
|
+
const: "source_report",
|
|
87795
|
+
type: "string"
|
|
87796
|
+
},
|
|
87797
|
+
{
|
|
87798
|
+
const: "last_known",
|
|
87799
|
+
type: "string"
|
|
87800
|
+
}
|
|
87801
|
+
]
|
|
87802
|
+
},
|
|
87803
|
+
observedAt: {
|
|
87804
|
+
format: "date-time",
|
|
87805
|
+
type: "string"
|
|
87806
|
+
},
|
|
87807
|
+
registered: {
|
|
87808
|
+
const: true,
|
|
87809
|
+
type: "boolean"
|
|
87810
|
+
},
|
|
87811
|
+
group: {
|
|
87812
|
+
const: "A",
|
|
87813
|
+
type: "string"
|
|
87814
|
+
},
|
|
87815
|
+
subgroup: {
|
|
87816
|
+
anyOf: [
|
|
87817
|
+
{
|
|
87818
|
+
pattern: "^A[1-5]$",
|
|
87819
|
+
type: "string"
|
|
87820
|
+
},
|
|
87821
|
+
{
|
|
87822
|
+
type: "null"
|
|
87823
|
+
}
|
|
87824
|
+
]
|
|
87825
|
+
}
|
|
87826
|
+
}
|
|
87827
|
+
},
|
|
87828
|
+
{
|
|
87829
|
+
additionalProperties: false,
|
|
87830
|
+
type: "object",
|
|
87831
|
+
required: [
|
|
87832
|
+
"source",
|
|
87833
|
+
"verification",
|
|
87834
|
+
"observedAt",
|
|
87835
|
+
"registered",
|
|
87836
|
+
"group",
|
|
87837
|
+
"subgroup"
|
|
87838
|
+
],
|
|
87839
|
+
properties: {
|
|
87840
|
+
source: {
|
|
87841
|
+
const: "DNP-SISBEN-IV",
|
|
87842
|
+
type: "string"
|
|
87843
|
+
},
|
|
87844
|
+
verification: {
|
|
87845
|
+
anyOf: [
|
|
87846
|
+
{
|
|
87847
|
+
const: "source_report",
|
|
87848
|
+
type: "string"
|
|
87849
|
+
},
|
|
87850
|
+
{
|
|
87851
|
+
const: "last_known",
|
|
87852
|
+
type: "string"
|
|
87853
|
+
}
|
|
87854
|
+
]
|
|
87855
|
+
},
|
|
87856
|
+
observedAt: {
|
|
87857
|
+
format: "date-time",
|
|
87858
|
+
type: "string"
|
|
87859
|
+
},
|
|
87860
|
+
registered: {
|
|
87861
|
+
const: true,
|
|
87862
|
+
type: "boolean"
|
|
87863
|
+
},
|
|
87864
|
+
group: {
|
|
87865
|
+
const: "B",
|
|
87866
|
+
type: "string"
|
|
87867
|
+
},
|
|
87868
|
+
subgroup: {
|
|
87869
|
+
anyOf: [
|
|
87870
|
+
{
|
|
87871
|
+
pattern: "^B[1-7]$",
|
|
87872
|
+
type: "string"
|
|
87873
|
+
},
|
|
87874
|
+
{
|
|
87875
|
+
type: "null"
|
|
87876
|
+
}
|
|
87877
|
+
]
|
|
87878
|
+
}
|
|
87879
|
+
}
|
|
87880
|
+
},
|
|
87881
|
+
{
|
|
87882
|
+
additionalProperties: false,
|
|
87883
|
+
type: "object",
|
|
87884
|
+
required: [
|
|
87885
|
+
"source",
|
|
87886
|
+
"verification",
|
|
87887
|
+
"observedAt",
|
|
87888
|
+
"registered",
|
|
87889
|
+
"group",
|
|
87890
|
+
"subgroup"
|
|
87891
|
+
],
|
|
87892
|
+
properties: {
|
|
87893
|
+
source: {
|
|
87894
|
+
const: "DNP-SISBEN-IV",
|
|
87895
|
+
type: "string"
|
|
87896
|
+
},
|
|
87897
|
+
verification: {
|
|
87898
|
+
anyOf: [
|
|
87899
|
+
{
|
|
87900
|
+
const: "source_report",
|
|
87901
|
+
type: "string"
|
|
87902
|
+
},
|
|
87903
|
+
{
|
|
87904
|
+
const: "last_known",
|
|
87905
|
+
type: "string"
|
|
87906
|
+
}
|
|
87907
|
+
]
|
|
87908
|
+
},
|
|
87909
|
+
observedAt: {
|
|
87910
|
+
format: "date-time",
|
|
87911
|
+
type: "string"
|
|
87912
|
+
},
|
|
87913
|
+
registered: {
|
|
87914
|
+
const: true,
|
|
87915
|
+
type: "boolean"
|
|
87916
|
+
},
|
|
87917
|
+
group: {
|
|
87918
|
+
const: "C",
|
|
87919
|
+
type: "string"
|
|
87920
|
+
},
|
|
87921
|
+
subgroup: {
|
|
87922
|
+
anyOf: [
|
|
87923
|
+
{
|
|
87924
|
+
pattern: "^C(?:[1-9]|1[0-8])$",
|
|
87925
|
+
type: "string"
|
|
87926
|
+
},
|
|
87927
|
+
{
|
|
87928
|
+
type: "null"
|
|
87929
|
+
}
|
|
87930
|
+
]
|
|
87931
|
+
}
|
|
87932
|
+
}
|
|
87933
|
+
},
|
|
87934
|
+
{
|
|
87935
|
+
additionalProperties: false,
|
|
87936
|
+
type: "object",
|
|
87937
|
+
required: [
|
|
87938
|
+
"source",
|
|
87939
|
+
"verification",
|
|
87940
|
+
"observedAt",
|
|
87941
|
+
"registered",
|
|
87942
|
+
"group",
|
|
87943
|
+
"subgroup"
|
|
87944
|
+
],
|
|
87945
|
+
properties: {
|
|
87946
|
+
source: {
|
|
87947
|
+
const: "DNP-SISBEN-IV",
|
|
87948
|
+
type: "string"
|
|
87949
|
+
},
|
|
87950
|
+
verification: {
|
|
87951
|
+
anyOf: [
|
|
87952
|
+
{
|
|
87953
|
+
const: "source_report",
|
|
87954
|
+
type: "string"
|
|
87955
|
+
},
|
|
87956
|
+
{
|
|
87957
|
+
const: "last_known",
|
|
87958
|
+
type: "string"
|
|
87959
|
+
}
|
|
87960
|
+
]
|
|
87961
|
+
},
|
|
87962
|
+
observedAt: {
|
|
87963
|
+
format: "date-time",
|
|
87964
|
+
type: "string"
|
|
87965
|
+
},
|
|
87966
|
+
registered: {
|
|
87967
|
+
const: true,
|
|
87968
|
+
type: "boolean"
|
|
87969
|
+
},
|
|
87970
|
+
group: {
|
|
87971
|
+
const: "D",
|
|
87972
|
+
type: "string"
|
|
87973
|
+
},
|
|
87974
|
+
subgroup: {
|
|
87975
|
+
anyOf: [
|
|
87976
|
+
{
|
|
87977
|
+
pattern: "^D(?:[1-9]|1[0-9]|2[01])$",
|
|
87978
|
+
type: "string"
|
|
87979
|
+
},
|
|
87980
|
+
{
|
|
87981
|
+
type: "null"
|
|
87982
|
+
}
|
|
87983
|
+
]
|
|
87984
|
+
}
|
|
87985
|
+
}
|
|
87986
|
+
},
|
|
87987
|
+
{
|
|
87988
|
+
additionalProperties: false,
|
|
87989
|
+
type: "object",
|
|
87990
|
+
required: [
|
|
87991
|
+
"source",
|
|
87992
|
+
"verification",
|
|
87993
|
+
"observedAt",
|
|
87994
|
+
"registered",
|
|
87995
|
+
"group",
|
|
87996
|
+
"subgroup"
|
|
87997
|
+
],
|
|
87998
|
+
properties: {
|
|
87999
|
+
source: {
|
|
88000
|
+
const: "DNP-SISBEN-IV",
|
|
88001
|
+
type: "string"
|
|
88002
|
+
},
|
|
88003
|
+
verification: {
|
|
88004
|
+
anyOf: [
|
|
88005
|
+
{
|
|
88006
|
+
const: "source_report",
|
|
88007
|
+
type: "string"
|
|
88008
|
+
},
|
|
88009
|
+
{
|
|
88010
|
+
const: "last_known",
|
|
88011
|
+
type: "string"
|
|
88012
|
+
}
|
|
88013
|
+
]
|
|
88014
|
+
},
|
|
88015
|
+
observedAt: {
|
|
88016
|
+
format: "date-time",
|
|
88017
|
+
type: "string"
|
|
88018
|
+
},
|
|
88019
|
+
registered: {
|
|
88020
|
+
const: false,
|
|
88021
|
+
type: "boolean"
|
|
88022
|
+
},
|
|
88023
|
+
group: {
|
|
88024
|
+
type: "null"
|
|
88025
|
+
},
|
|
88026
|
+
subgroup: {
|
|
88027
|
+
type: "null"
|
|
88028
|
+
}
|
|
88029
|
+
}
|
|
88030
|
+
},
|
|
88031
|
+
{
|
|
88032
|
+
additionalProperties: false,
|
|
88033
|
+
type: "object",
|
|
88034
|
+
required: [
|
|
88035
|
+
"source",
|
|
88036
|
+
"verification",
|
|
88037
|
+
"registered",
|
|
88038
|
+
"group",
|
|
88039
|
+
"subgroup",
|
|
88040
|
+
"observedAt"
|
|
88041
|
+
],
|
|
88042
|
+
properties: {
|
|
88043
|
+
source: {
|
|
88044
|
+
const: "DNP-SISBEN-IV",
|
|
88045
|
+
type: "string"
|
|
88046
|
+
},
|
|
88047
|
+
verification: {
|
|
88048
|
+
anyOf: [
|
|
88049
|
+
{
|
|
88050
|
+
const: "unavailable",
|
|
88051
|
+
type: "string"
|
|
88052
|
+
},
|
|
88053
|
+
{
|
|
88054
|
+
const: "unsupported_document",
|
|
88055
|
+
type: "string"
|
|
88056
|
+
}
|
|
88057
|
+
]
|
|
88058
|
+
},
|
|
88059
|
+
registered: {
|
|
88060
|
+
type: "null"
|
|
88061
|
+
},
|
|
88062
|
+
group: {
|
|
88063
|
+
type: "null"
|
|
88064
|
+
},
|
|
88065
|
+
subgroup: {
|
|
88066
|
+
type: "null"
|
|
88067
|
+
},
|
|
88068
|
+
observedAt: {
|
|
88069
|
+
type: "null"
|
|
88070
|
+
}
|
|
88071
|
+
}
|
|
88072
|
+
}
|
|
88073
|
+
]
|
|
88074
|
+
},
|
|
88075
|
+
SisbenClassificationPresentation: {
|
|
88076
|
+
anyOf: [
|
|
88077
|
+
{
|
|
88078
|
+
additionalProperties: false,
|
|
88079
|
+
type: "object",
|
|
88080
|
+
required: [
|
|
88081
|
+
"source",
|
|
88082
|
+
"verification",
|
|
88083
|
+
"observedAt",
|
|
88084
|
+
"registered",
|
|
88085
|
+
"group",
|
|
88086
|
+
"subgroup"
|
|
88087
|
+
],
|
|
88088
|
+
properties: {
|
|
88089
|
+
source: {
|
|
88090
|
+
const: "DNP-SISBEN-IV",
|
|
88091
|
+
type: "string"
|
|
88092
|
+
},
|
|
88093
|
+
verification: {
|
|
88094
|
+
anyOf: [
|
|
88095
|
+
{
|
|
88096
|
+
const: "source_report",
|
|
88097
|
+
type: "string"
|
|
88098
|
+
},
|
|
88099
|
+
{
|
|
88100
|
+
const: "last_known",
|
|
88101
|
+
type: "string"
|
|
88102
|
+
}
|
|
88103
|
+
]
|
|
88104
|
+
},
|
|
88105
|
+
observedAt: {
|
|
88106
|
+
format: "date-time",
|
|
88107
|
+
type: "string"
|
|
88108
|
+
},
|
|
88109
|
+
registered: {
|
|
88110
|
+
const: true,
|
|
88111
|
+
type: "boolean"
|
|
88112
|
+
},
|
|
88113
|
+
group: {
|
|
88114
|
+
const: "A",
|
|
88115
|
+
type: "string"
|
|
88116
|
+
},
|
|
88117
|
+
subgroup: {
|
|
88118
|
+
anyOf: [
|
|
88119
|
+
{
|
|
88120
|
+
pattern: "^A[1-5]$",
|
|
88121
|
+
type: "string"
|
|
88122
|
+
},
|
|
88123
|
+
{
|
|
88124
|
+
type: "null"
|
|
88125
|
+
}
|
|
88126
|
+
]
|
|
88127
|
+
}
|
|
88128
|
+
}
|
|
88129
|
+
},
|
|
88130
|
+
{
|
|
88131
|
+
additionalProperties: false,
|
|
88132
|
+
type: "object",
|
|
88133
|
+
required: [
|
|
88134
|
+
"source",
|
|
88135
|
+
"verification",
|
|
88136
|
+
"observedAt",
|
|
88137
|
+
"registered",
|
|
88138
|
+
"group",
|
|
88139
|
+
"subgroup"
|
|
88140
|
+
],
|
|
88141
|
+
properties: {
|
|
88142
|
+
source: {
|
|
88143
|
+
const: "DNP-SISBEN-IV",
|
|
88144
|
+
type: "string"
|
|
88145
|
+
},
|
|
88146
|
+
verification: {
|
|
88147
|
+
anyOf: [
|
|
88148
|
+
{
|
|
88149
|
+
const: "source_report",
|
|
88150
|
+
type: "string"
|
|
88151
|
+
},
|
|
88152
|
+
{
|
|
88153
|
+
const: "last_known",
|
|
88154
|
+
type: "string"
|
|
88155
|
+
}
|
|
88156
|
+
]
|
|
88157
|
+
},
|
|
88158
|
+
observedAt: {
|
|
88159
|
+
format: "date-time",
|
|
88160
|
+
type: "string"
|
|
88161
|
+
},
|
|
88162
|
+
registered: {
|
|
88163
|
+
const: true,
|
|
88164
|
+
type: "boolean"
|
|
88165
|
+
},
|
|
88166
|
+
group: {
|
|
88167
|
+
const: "B",
|
|
88168
|
+
type: "string"
|
|
88169
|
+
},
|
|
88170
|
+
subgroup: {
|
|
88171
|
+
anyOf: [
|
|
88172
|
+
{
|
|
88173
|
+
pattern: "^B[1-7]$",
|
|
88174
|
+
type: "string"
|
|
88175
|
+
},
|
|
88176
|
+
{
|
|
88177
|
+
type: "null"
|
|
88178
|
+
}
|
|
88179
|
+
]
|
|
88180
|
+
}
|
|
88181
|
+
}
|
|
88182
|
+
},
|
|
88183
|
+
{
|
|
88184
|
+
additionalProperties: false,
|
|
88185
|
+
type: "object",
|
|
88186
|
+
required: [
|
|
88187
|
+
"source",
|
|
88188
|
+
"verification",
|
|
88189
|
+
"observedAt",
|
|
88190
|
+
"registered",
|
|
88191
|
+
"group",
|
|
88192
|
+
"subgroup"
|
|
88193
|
+
],
|
|
88194
|
+
properties: {
|
|
88195
|
+
source: {
|
|
88196
|
+
const: "DNP-SISBEN-IV",
|
|
88197
|
+
type: "string"
|
|
88198
|
+
},
|
|
88199
|
+
verification: {
|
|
88200
|
+
anyOf: [
|
|
88201
|
+
{
|
|
88202
|
+
const: "source_report",
|
|
88203
|
+
type: "string"
|
|
88204
|
+
},
|
|
88205
|
+
{
|
|
88206
|
+
const: "last_known",
|
|
88207
|
+
type: "string"
|
|
88208
|
+
}
|
|
88209
|
+
]
|
|
88210
|
+
},
|
|
88211
|
+
observedAt: {
|
|
88212
|
+
format: "date-time",
|
|
88213
|
+
type: "string"
|
|
88214
|
+
},
|
|
88215
|
+
registered: {
|
|
88216
|
+
const: true,
|
|
88217
|
+
type: "boolean"
|
|
88218
|
+
},
|
|
88219
|
+
group: {
|
|
88220
|
+
const: "C",
|
|
88221
|
+
type: "string"
|
|
88222
|
+
},
|
|
88223
|
+
subgroup: {
|
|
88224
|
+
anyOf: [
|
|
88225
|
+
{
|
|
88226
|
+
pattern: "^C(?:[1-9]|1[0-8])$",
|
|
88227
|
+
type: "string"
|
|
88228
|
+
},
|
|
88229
|
+
{
|
|
88230
|
+
type: "null"
|
|
88231
|
+
}
|
|
88232
|
+
]
|
|
88233
|
+
}
|
|
88234
|
+
}
|
|
88235
|
+
},
|
|
88236
|
+
{
|
|
88237
|
+
additionalProperties: false,
|
|
88238
|
+
type: "object",
|
|
88239
|
+
required: [
|
|
88240
|
+
"source",
|
|
88241
|
+
"verification",
|
|
88242
|
+
"observedAt",
|
|
88243
|
+
"registered",
|
|
88244
|
+
"group",
|
|
88245
|
+
"subgroup"
|
|
88246
|
+
],
|
|
88247
|
+
properties: {
|
|
88248
|
+
source: {
|
|
88249
|
+
const: "DNP-SISBEN-IV",
|
|
88250
|
+
type: "string"
|
|
88251
|
+
},
|
|
88252
|
+
verification: {
|
|
88253
|
+
anyOf: [
|
|
88254
|
+
{
|
|
88255
|
+
const: "source_report",
|
|
88256
|
+
type: "string"
|
|
88257
|
+
},
|
|
88258
|
+
{
|
|
88259
|
+
const: "last_known",
|
|
88260
|
+
type: "string"
|
|
88261
|
+
}
|
|
88262
|
+
]
|
|
88263
|
+
},
|
|
88264
|
+
observedAt: {
|
|
88265
|
+
format: "date-time",
|
|
88266
|
+
type: "string"
|
|
88267
|
+
},
|
|
88268
|
+
registered: {
|
|
88269
|
+
const: true,
|
|
88270
|
+
type: "boolean"
|
|
88271
|
+
},
|
|
88272
|
+
group: {
|
|
88273
|
+
const: "D",
|
|
88274
|
+
type: "string"
|
|
88275
|
+
},
|
|
88276
|
+
subgroup: {
|
|
88277
|
+
anyOf: [
|
|
88278
|
+
{
|
|
88279
|
+
pattern: "^D(?:[1-9]|1[0-9]|2[01])$",
|
|
88280
|
+
type: "string"
|
|
88281
|
+
},
|
|
88282
|
+
{
|
|
88283
|
+
type: "null"
|
|
88284
|
+
}
|
|
88285
|
+
]
|
|
88286
|
+
}
|
|
88287
|
+
}
|
|
88288
|
+
},
|
|
88289
|
+
{
|
|
88290
|
+
additionalProperties: false,
|
|
88291
|
+
type: "object",
|
|
88292
|
+
required: [
|
|
88293
|
+
"source",
|
|
88294
|
+
"verification",
|
|
88295
|
+
"observedAt",
|
|
88296
|
+
"registered",
|
|
88297
|
+
"group",
|
|
88298
|
+
"subgroup"
|
|
88299
|
+
],
|
|
88300
|
+
properties: {
|
|
88301
|
+
source: {
|
|
88302
|
+
const: "DNP-SISBEN-IV",
|
|
88303
|
+
type: "string"
|
|
88304
|
+
},
|
|
88305
|
+
verification: {
|
|
88306
|
+
anyOf: [
|
|
88307
|
+
{
|
|
88308
|
+
const: "source_report",
|
|
88309
|
+
type: "string"
|
|
88310
|
+
},
|
|
88311
|
+
{
|
|
88312
|
+
const: "last_known",
|
|
88313
|
+
type: "string"
|
|
88314
|
+
}
|
|
88315
|
+
]
|
|
88316
|
+
},
|
|
88317
|
+
observedAt: {
|
|
88318
|
+
format: "date-time",
|
|
88319
|
+
type: "string"
|
|
88320
|
+
},
|
|
88321
|
+
registered: {
|
|
88322
|
+
const: false,
|
|
88323
|
+
type: "boolean"
|
|
88324
|
+
},
|
|
88325
|
+
group: {
|
|
88326
|
+
type: "null"
|
|
88327
|
+
},
|
|
88328
|
+
subgroup: {
|
|
88329
|
+
type: "null"
|
|
88330
|
+
}
|
|
88331
|
+
}
|
|
88332
|
+
},
|
|
88333
|
+
{
|
|
88334
|
+
additionalProperties: false,
|
|
88335
|
+
type: "object",
|
|
88336
|
+
required: [
|
|
88337
|
+
"source",
|
|
88338
|
+
"verification",
|
|
88339
|
+
"registered",
|
|
88340
|
+
"group",
|
|
88341
|
+
"subgroup",
|
|
88342
|
+
"observedAt"
|
|
88343
|
+
],
|
|
88344
|
+
properties: {
|
|
88345
|
+
source: {
|
|
88346
|
+
const: "DNP-SISBEN-IV",
|
|
88347
|
+
type: "string"
|
|
88348
|
+
},
|
|
88349
|
+
verification: {
|
|
88350
|
+
anyOf: [
|
|
88351
|
+
{
|
|
88352
|
+
const: "unavailable",
|
|
88353
|
+
type: "string"
|
|
88354
|
+
},
|
|
88355
|
+
{
|
|
88356
|
+
const: "unsupported_document",
|
|
88357
|
+
type: "string"
|
|
88358
|
+
}
|
|
88359
|
+
]
|
|
88360
|
+
},
|
|
88361
|
+
registered: {
|
|
88362
|
+
type: "null"
|
|
88363
|
+
},
|
|
88364
|
+
group: {
|
|
88365
|
+
type: "null"
|
|
88366
|
+
},
|
|
88367
|
+
subgroup: {
|
|
88368
|
+
type: "null"
|
|
88369
|
+
},
|
|
88370
|
+
observedAt: {
|
|
88371
|
+
type: "null"
|
|
88372
|
+
}
|
|
88373
|
+
}
|
|
88374
|
+
},
|
|
88375
|
+
{
|
|
88376
|
+
additionalProperties: false,
|
|
88377
|
+
type: "object",
|
|
88378
|
+
required: [
|
|
88379
|
+
"text"
|
|
88380
|
+
],
|
|
88381
|
+
properties: {
|
|
88382
|
+
text: {
|
|
88383
|
+
minLength: 1,
|
|
88384
|
+
type: "string"
|
|
88385
|
+
}
|
|
88386
|
+
}
|
|
88387
|
+
}
|
|
88388
|
+
]
|
|
88389
|
+
},
|
|
88390
|
+
SisbenClassificationPresentationResponse: {
|
|
88391
|
+
type: "object",
|
|
88392
|
+
description: "A successful answer.",
|
|
88393
|
+
additionalProperties: false,
|
|
88394
|
+
required: [
|
|
88395
|
+
"success",
|
|
88396
|
+
"data",
|
|
88397
|
+
"error",
|
|
88398
|
+
"metadata"
|
|
88399
|
+
],
|
|
88400
|
+
properties: {
|
|
88401
|
+
success: {
|
|
88402
|
+
type: "boolean",
|
|
88403
|
+
enum: [
|
|
88404
|
+
true
|
|
88405
|
+
]
|
|
88406
|
+
},
|
|
88407
|
+
data: {
|
|
88408
|
+
$ref: "#/components/schemas/SisbenClassificationPresentation"
|
|
88409
|
+
},
|
|
88410
|
+
error: {
|
|
88411
|
+
const: null
|
|
88412
|
+
},
|
|
88413
|
+
metadata: {
|
|
88414
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
88415
|
+
}
|
|
88416
|
+
}
|
|
88417
|
+
},
|
|
88418
|
+
SisbenLookupClassificationBody: {
|
|
88419
|
+
additionalProperties: false,
|
|
88420
|
+
type: "object",
|
|
88421
|
+
required: [
|
|
88422
|
+
"documentType",
|
|
88423
|
+
"documentNumber"
|
|
88424
|
+
],
|
|
88425
|
+
properties: {
|
|
88426
|
+
documentType: {
|
|
88427
|
+
pattern: "^[A-Z]{2}$",
|
|
88428
|
+
type: "string"
|
|
88429
|
+
},
|
|
88430
|
+
documentNumber: {
|
|
88431
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
88432
|
+
type: "string"
|
|
88433
|
+
},
|
|
88434
|
+
agentMode: {
|
|
88435
|
+
default: false,
|
|
88436
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
88437
|
+
type: "boolean"
|
|
88438
|
+
}
|
|
88439
|
+
}
|
|
88440
|
+
},
|
|
86608
88441
|
SomosAvailabilitySlot: {
|
|
86609
88442
|
additionalProperties: false,
|
|
86610
88443
|
type: "object",
|
|
@@ -101294,6 +103127,57 @@ var schemaComponents = {
|
|
|
101294
103127
|
}
|
|
101295
103128
|
}
|
|
101296
103129
|
},
|
|
103130
|
+
AdresAffiliationsLookupInput: {
|
|
103131
|
+
additionalProperties: false,
|
|
103132
|
+
type: "object",
|
|
103133
|
+
required: [
|
|
103134
|
+
"documentType",
|
|
103135
|
+
"documentNumber"
|
|
103136
|
+
],
|
|
103137
|
+
properties: {
|
|
103138
|
+
documentType: {
|
|
103139
|
+
anyOf: [
|
|
103140
|
+
{
|
|
103141
|
+
const: "CC",
|
|
103142
|
+
type: "string"
|
|
103143
|
+
},
|
|
103144
|
+
{
|
|
103145
|
+
const: "CE",
|
|
103146
|
+
type: "string"
|
|
103147
|
+
},
|
|
103148
|
+
{
|
|
103149
|
+
const: "TI",
|
|
103150
|
+
type: "string"
|
|
103151
|
+
},
|
|
103152
|
+
{
|
|
103153
|
+
const: "RC",
|
|
103154
|
+
type: "string"
|
|
103155
|
+
},
|
|
103156
|
+
{
|
|
103157
|
+
const: "CN",
|
|
103158
|
+
type: "string"
|
|
103159
|
+
},
|
|
103160
|
+
{
|
|
103161
|
+
const: "NU",
|
|
103162
|
+
type: "string"
|
|
103163
|
+
},
|
|
103164
|
+
{
|
|
103165
|
+
const: "MS",
|
|
103166
|
+
type: "string"
|
|
103167
|
+
}
|
|
103168
|
+
]
|
|
103169
|
+
},
|
|
103170
|
+
documentNumber: {
|
|
103171
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
103172
|
+
type: "string"
|
|
103173
|
+
},
|
|
103174
|
+
agentMode: {
|
|
103175
|
+
default: false,
|
|
103176
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
103177
|
+
type: "boolean"
|
|
103178
|
+
}
|
|
103179
|
+
}
|
|
103180
|
+
},
|
|
101297
103181
|
AgendaAppointmentsListInput: {
|
|
101298
103182
|
additionalProperties: false,
|
|
101299
103183
|
type: "object",
|
|
@@ -107339,230 +109223,294 @@ var schemaComponents = {
|
|
|
107339
109223
|
],
|
|
107340
109224
|
additionalProperties: false
|
|
107341
109225
|
},
|
|
107342
|
-
OrsovisionPatientsCreateInput: {
|
|
107343
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
107344
|
-
additionalProperties: false,
|
|
107345
|
-
type: "object",
|
|
107346
|
-
required: [
|
|
107347
|
-
"agency",
|
|
107348
|
-
"documentType",
|
|
107349
|
-
"documentNumber",
|
|
107350
|
-
"firstName1",
|
|
107351
|
-
"lastName1",
|
|
107352
|
-
"sex",
|
|
107353
|
-
"birthDate",
|
|
107354
|
-
"country",
|
|
107355
|
-
"departmentCode",
|
|
107356
|
-
"municipalityCode",
|
|
107357
|
-
"address"
|
|
107358
|
-
],
|
|
107359
|
-
properties: {
|
|
107360
|
-
agency: {
|
|
107361
|
-
description: "Sede elegida de list_agencies. Solo envía el formulario de registro; NO implica la residencia del paciente.",
|
|
107362
|
-
type: "string"
|
|
107363
|
-
},
|
|
107364
|
-
documentType: {
|
|
107365
|
-
description: "Tipo exacto tal como aparece en el documento; nunca lo infieras.",
|
|
107366
|
-
type: "string"
|
|
107367
|
-
},
|
|
107368
|
-
documentNumber: {
|
|
107369
|
-
description: "Documento confirmado sin espacios, puntos ni guiones.",
|
|
107370
|
-
type: "string"
|
|
107371
|
-
},
|
|
107372
|
-
firstName1: {
|
|
107373
|
-
description: "Primer nombre confirmado.",
|
|
107374
|
-
type: "string"
|
|
107375
|
-
},
|
|
107376
|
-
lastName1: {
|
|
107377
|
-
description: "Primer apellido confirmado.",
|
|
107378
|
-
type: "string"
|
|
107379
|
-
},
|
|
107380
|
-
sex: {
|
|
107381
|
-
description: "M o F confirmado; nunca lo infieras del nombre ni de la voz.",
|
|
107382
|
-
type: "string"
|
|
107383
|
-
},
|
|
107384
|
-
birthDate: {
|
|
107385
|
-
description: "Nacimiento YYYY-MM-DD; léelo de vuelta antes de crear el registro.",
|
|
107386
|
-
type: "string"
|
|
107387
|
-
},
|
|
107388
|
-
country: {
|
|
107389
|
-
description: "Código del país de residencia, normalmente COL cuando se confirma.",
|
|
107390
|
-
type: "string"
|
|
107391
|
-
},
|
|
107392
|
-
departmentCode: {
|
|
107393
|
-
description: "Código DANE del departamento de RESIDENCIA del paciente. No lo deduzcas de la sede elegida.",
|
|
107394
|
-
type: "string"
|
|
107395
|
-
},
|
|
107396
|
-
municipalityCode: {
|
|
107397
|
-
description: "Código DANE del municipio de RESIDENCIA del paciente. No lo deduzcas de la sede elegida.",
|
|
107398
|
-
type: "string"
|
|
107399
|
-
},
|
|
107400
|
-
phoneMobile: {
|
|
107401
|
-
description: "Celular, solo dígitos. Omítelo si la persona se niega a darlo.",
|
|
107402
|
-
type: "string"
|
|
107403
|
-
},
|
|
107404
|
-
email: {
|
|
107405
|
-
description: "Correo válido. Omítelo si no hay; nunca lo inventes.",
|
|
107406
|
-
type: "string"
|
|
107407
|
-
},
|
|
107408
|
-
address: {
|
|
107409
|
-
description: "Dirección de residencia del paciente. Confírmala; no sustituyas la dirección de la clínica.",
|
|
107410
|
-
type: "string"
|
|
107411
|
-
},
|
|
107412
|
-
connectionId: {
|
|
107413
|
-
minLength: 5,
|
|
107414
|
-
maxLength: 68,
|
|
107415
|
-
pattern: "^con_[0-9A-Za-z]+$",
|
|
107416
|
-
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
107417
|
-
type: "string"
|
|
107418
|
-
},
|
|
107419
|
-
channel: {
|
|
107420
|
-
anyOf: [
|
|
107421
|
-
{
|
|
107422
|
-
const: "voice",
|
|
107423
|
-
type: "string"
|
|
107424
|
-
},
|
|
107425
|
-
{
|
|
107426
|
-
const: "web",
|
|
107427
|
-
type: "string"
|
|
107428
|
-
},
|
|
107429
|
-
{
|
|
107430
|
-
const: "whatsapp",
|
|
107431
|
-
type: "string"
|
|
107432
|
-
}
|
|
107433
|
-
],
|
|
107434
|
-
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
107435
|
-
}
|
|
107436
|
-
}
|
|
107437
|
-
},
|
|
107438
|
-
OrsovisionPatientsCorrectInput: {
|
|
107439
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
107440
|
-
additionalProperties: false,
|
|
107441
|
-
type: "object",
|
|
107442
|
-
required: [
|
|
107443
|
-
"documentNumber",
|
|
107444
|
-
"agency"
|
|
107445
|
-
],
|
|
107446
|
-
properties: {
|
|
107447
|
-
documentNumber: {
|
|
107448
|
-
description: "Documento del paciente existente.",
|
|
107449
|
-
type: "string"
|
|
107450
|
-
},
|
|
107451
|
-
agency: {
|
|
107452
|
-
description: "Sede usada para enviar el formulario del paciente.",
|
|
107453
|
-
type: "string"
|
|
107454
|
-
},
|
|
107455
|
-
phoneMobile: {
|
|
107456
|
-
description: "Celular corregido; omítelo si no cambió.",
|
|
107457
|
-
type: "string"
|
|
107458
|
-
},
|
|
107459
|
-
email: {
|
|
107460
|
-
description: "Correo corregido; omítelo si no cambió.",
|
|
107461
|
-
type: "string"
|
|
107462
|
-
},
|
|
107463
|
-
address: {
|
|
107464
|
-
description: "Dirección corregida; omítela si no cambió.",
|
|
107465
|
-
type: "string"
|
|
107466
|
-
},
|
|
107467
|
-
phoneOffice: {
|
|
107468
|
-
description: "Teléfono fijo corregido; omítelo si no cambió.",
|
|
107469
|
-
type: "string"
|
|
107470
|
-
},
|
|
107471
|
-
connectionId: {
|
|
107472
|
-
minLength: 5,
|
|
107473
|
-
maxLength: 68,
|
|
107474
|
-
pattern: "^con_[0-9A-Za-z]+$",
|
|
107475
|
-
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
107476
|
-
type: "string"
|
|
107477
|
-
},
|
|
107478
|
-
channel: {
|
|
107479
|
-
anyOf: [
|
|
107480
|
-
{
|
|
107481
|
-
const: "voice",
|
|
107482
|
-
type: "string"
|
|
107483
|
-
},
|
|
107484
|
-
{
|
|
107485
|
-
const: "web",
|
|
107486
|
-
type: "string"
|
|
107487
|
-
},
|
|
107488
|
-
{
|
|
107489
|
-
const: "whatsapp",
|
|
107490
|
-
type: "string"
|
|
107491
|
-
}
|
|
107492
|
-
],
|
|
107493
|
-
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
107494
|
-
}
|
|
107495
|
-
}
|
|
107496
|
-
},
|
|
107497
|
-
OrsovisionPatientsLookupInput: {
|
|
107498
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
107499
|
-
additionalProperties: false,
|
|
107500
|
-
type: "object",
|
|
107501
|
-
required: [
|
|
107502
|
-
"documentNumber"
|
|
107503
|
-
],
|
|
107504
|
-
properties: {
|
|
107505
|
-
documentNumber: {
|
|
107506
|
-
description: "Documento de quien recibirá la atención. Quita internamente espacios, puntos y guiones. Para confirmar en voz alta repite solo los últimos cuatro dígitos y espera un sí explícito antes de llamar; nunca leas el documento completo.",
|
|
107507
|
-
type: "string"
|
|
107508
|
-
},
|
|
107509
|
-
agency: {
|
|
107510
|
-
description: "Código de sede de list_agencies. Pásalo cuando se conozca para que el contexto de contrato y servicio quede en la misma sede.",
|
|
107511
|
-
type: "string"
|
|
107512
|
-
},
|
|
107513
|
-
includePast: {
|
|
107514
|
-
description: "true agrega lo que ya pasó: pastAppointments (la más reciente primero, con attended) y las admisiones del paciente. Responde '¿asistió a su última cita?' desde el registro, no desde la memoria de la persona.",
|
|
107515
|
-
type: "boolean"
|
|
107516
|
-
},
|
|
107517
|
-
pastDays: {
|
|
107518
|
-
description: "Con includePast, limita pastAppointments a los últimos N días (p. ej. 3 para '¿vine esta semana?'). Omítelo para el historial completo.",
|
|
107519
|
-
type: "integer"
|
|
107520
|
-
},
|
|
107521
|
-
connectionId: {
|
|
107522
|
-
minLength: 5,
|
|
107523
|
-
maxLength: 68,
|
|
107524
|
-
pattern: "^con_[0-9A-Za-z]+$",
|
|
107525
|
-
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
107526
|
-
type: "string"
|
|
107527
|
-
},
|
|
107528
|
-
channel: {
|
|
107529
|
-
anyOf: [
|
|
107530
|
-
{
|
|
107531
|
-
const: "voice",
|
|
107532
|
-
type: "string"
|
|
107533
|
-
},
|
|
107534
|
-
{
|
|
107535
|
-
const: "web",
|
|
107536
|
-
type: "string"
|
|
107537
|
-
},
|
|
107538
|
-
{
|
|
107539
|
-
const: "whatsapp",
|
|
107540
|
-
type: "string"
|
|
107541
|
-
}
|
|
107542
|
-
],
|
|
107543
|
-
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
107544
|
-
}
|
|
107545
|
-
}
|
|
107546
|
-
},
|
|
107547
|
-
OrsovisionServicesListInput: {
|
|
109226
|
+
OrsovisionPatientsCreateInput: {
|
|
109227
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
109228
|
+
additionalProperties: false,
|
|
109229
|
+
type: "object",
|
|
109230
|
+
required: [
|
|
109231
|
+
"agency",
|
|
109232
|
+
"documentType",
|
|
109233
|
+
"documentNumber",
|
|
109234
|
+
"firstName1",
|
|
109235
|
+
"lastName1",
|
|
109236
|
+
"sex",
|
|
109237
|
+
"birthDate",
|
|
109238
|
+
"country",
|
|
109239
|
+
"departmentCode",
|
|
109240
|
+
"municipalityCode",
|
|
109241
|
+
"address"
|
|
109242
|
+
],
|
|
109243
|
+
properties: {
|
|
109244
|
+
agency: {
|
|
109245
|
+
description: "Sede elegida de list_agencies. Solo envía el formulario de registro; NO implica la residencia del paciente.",
|
|
109246
|
+
type: "string"
|
|
109247
|
+
},
|
|
109248
|
+
documentType: {
|
|
109249
|
+
description: "Tipo exacto tal como aparece en el documento; nunca lo infieras.",
|
|
109250
|
+
type: "string"
|
|
109251
|
+
},
|
|
109252
|
+
documentNumber: {
|
|
109253
|
+
description: "Documento confirmado sin espacios, puntos ni guiones.",
|
|
109254
|
+
type: "string"
|
|
109255
|
+
},
|
|
109256
|
+
firstName1: {
|
|
109257
|
+
description: "Primer nombre confirmado.",
|
|
109258
|
+
type: "string"
|
|
109259
|
+
},
|
|
109260
|
+
lastName1: {
|
|
109261
|
+
description: "Primer apellido confirmado.",
|
|
109262
|
+
type: "string"
|
|
109263
|
+
},
|
|
109264
|
+
sex: {
|
|
109265
|
+
description: "M o F confirmado; nunca lo infieras del nombre ni de la voz.",
|
|
109266
|
+
type: "string"
|
|
109267
|
+
},
|
|
109268
|
+
birthDate: {
|
|
109269
|
+
description: "Nacimiento YYYY-MM-DD; léelo de vuelta antes de crear el registro.",
|
|
109270
|
+
type: "string"
|
|
109271
|
+
},
|
|
109272
|
+
country: {
|
|
109273
|
+
description: "Código del país de residencia, normalmente COL cuando se confirma.",
|
|
109274
|
+
type: "string"
|
|
109275
|
+
},
|
|
109276
|
+
departmentCode: {
|
|
109277
|
+
description: "Código DANE del departamento de RESIDENCIA del paciente. No lo deduzcas de la sede elegida.",
|
|
109278
|
+
type: "string"
|
|
109279
|
+
},
|
|
109280
|
+
municipalityCode: {
|
|
109281
|
+
description: "Código DANE del municipio de RESIDENCIA del paciente. No lo deduzcas de la sede elegida.",
|
|
109282
|
+
type: "string"
|
|
109283
|
+
},
|
|
109284
|
+
phoneMobile: {
|
|
109285
|
+
description: "Celular, solo dígitos. Omítelo si la persona se niega a darlo.",
|
|
109286
|
+
type: "string"
|
|
109287
|
+
},
|
|
109288
|
+
email: {
|
|
109289
|
+
description: "Correo válido. Omítelo si no hay; nunca lo inventes.",
|
|
109290
|
+
type: "string"
|
|
109291
|
+
},
|
|
109292
|
+
address: {
|
|
109293
|
+
description: "Dirección de residencia del paciente. Confírmala; no sustituyas la dirección de la clínica.",
|
|
109294
|
+
type: "string"
|
|
109295
|
+
},
|
|
109296
|
+
connectionId: {
|
|
109297
|
+
minLength: 5,
|
|
109298
|
+
maxLength: 68,
|
|
109299
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
109300
|
+
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
109301
|
+
type: "string"
|
|
109302
|
+
},
|
|
109303
|
+
channel: {
|
|
109304
|
+
anyOf: [
|
|
109305
|
+
{
|
|
109306
|
+
const: "voice",
|
|
109307
|
+
type: "string"
|
|
109308
|
+
},
|
|
109309
|
+
{
|
|
109310
|
+
const: "web",
|
|
109311
|
+
type: "string"
|
|
109312
|
+
},
|
|
109313
|
+
{
|
|
109314
|
+
const: "whatsapp",
|
|
109315
|
+
type: "string"
|
|
109316
|
+
}
|
|
109317
|
+
],
|
|
109318
|
+
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
109319
|
+
}
|
|
109320
|
+
}
|
|
109321
|
+
},
|
|
109322
|
+
OrsovisionPatientsCorrectInput: {
|
|
109323
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
109324
|
+
additionalProperties: false,
|
|
109325
|
+
type: "object",
|
|
109326
|
+
required: [
|
|
109327
|
+
"documentNumber",
|
|
109328
|
+
"agency"
|
|
109329
|
+
],
|
|
109330
|
+
properties: {
|
|
109331
|
+
documentNumber: {
|
|
109332
|
+
description: "Documento del paciente existente.",
|
|
109333
|
+
type: "string"
|
|
109334
|
+
},
|
|
109335
|
+
agency: {
|
|
109336
|
+
description: "Sede usada para enviar el formulario del paciente.",
|
|
109337
|
+
type: "string"
|
|
109338
|
+
},
|
|
109339
|
+
phoneMobile: {
|
|
109340
|
+
description: "Celular corregido; omítelo si no cambió.",
|
|
109341
|
+
type: "string"
|
|
109342
|
+
},
|
|
109343
|
+
email: {
|
|
109344
|
+
description: "Correo corregido; omítelo si no cambió.",
|
|
109345
|
+
type: "string"
|
|
109346
|
+
},
|
|
109347
|
+
address: {
|
|
109348
|
+
description: "Dirección corregida; omítela si no cambió.",
|
|
109349
|
+
type: "string"
|
|
109350
|
+
},
|
|
109351
|
+
phoneOffice: {
|
|
109352
|
+
description: "Teléfono fijo corregido; omítelo si no cambió.",
|
|
109353
|
+
type: "string"
|
|
109354
|
+
},
|
|
109355
|
+
connectionId: {
|
|
109356
|
+
minLength: 5,
|
|
109357
|
+
maxLength: 68,
|
|
109358
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
109359
|
+
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
109360
|
+
type: "string"
|
|
109361
|
+
},
|
|
109362
|
+
channel: {
|
|
109363
|
+
anyOf: [
|
|
109364
|
+
{
|
|
109365
|
+
const: "voice",
|
|
109366
|
+
type: "string"
|
|
109367
|
+
},
|
|
109368
|
+
{
|
|
109369
|
+
const: "web",
|
|
109370
|
+
type: "string"
|
|
109371
|
+
},
|
|
109372
|
+
{
|
|
109373
|
+
const: "whatsapp",
|
|
109374
|
+
type: "string"
|
|
109375
|
+
}
|
|
109376
|
+
],
|
|
109377
|
+
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
109378
|
+
}
|
|
109379
|
+
}
|
|
109380
|
+
},
|
|
109381
|
+
OrsovisionPatientsLookupInput: {
|
|
109382
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
109383
|
+
additionalProperties: false,
|
|
109384
|
+
type: "object",
|
|
109385
|
+
required: [
|
|
109386
|
+
"documentNumber"
|
|
109387
|
+
],
|
|
109388
|
+
properties: {
|
|
109389
|
+
documentNumber: {
|
|
109390
|
+
description: "Documento de quien recibirá la atención. Quita internamente espacios, puntos y guiones. Para confirmar en voz alta repite solo los últimos cuatro dígitos y espera un sí explícito antes de llamar; nunca leas el documento completo.",
|
|
109391
|
+
type: "string"
|
|
109392
|
+
},
|
|
109393
|
+
agency: {
|
|
109394
|
+
description: "Código de sede de list_agencies. Pásalo cuando se conozca para que el contexto de contrato y servicio quede en la misma sede.",
|
|
109395
|
+
type: "string"
|
|
109396
|
+
},
|
|
109397
|
+
includePast: {
|
|
109398
|
+
description: "true agrega lo que ya pasó: pastAppointments (la más reciente primero, con attended) y las admisiones del paciente. Responde '¿asistió a su última cita?' desde el registro, no desde la memoria de la persona.",
|
|
109399
|
+
type: "boolean"
|
|
109400
|
+
},
|
|
109401
|
+
pastDays: {
|
|
109402
|
+
description: "Con includePast, limita pastAppointments a los últimos N días (p. ej. 3 para '¿vine esta semana?'). Omítelo para el historial completo.",
|
|
109403
|
+
type: "integer"
|
|
109404
|
+
},
|
|
109405
|
+
connectionId: {
|
|
109406
|
+
minLength: 5,
|
|
109407
|
+
maxLength: 68,
|
|
109408
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
109409
|
+
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
109410
|
+
type: "string"
|
|
109411
|
+
},
|
|
109412
|
+
channel: {
|
|
109413
|
+
anyOf: [
|
|
109414
|
+
{
|
|
109415
|
+
const: "voice",
|
|
109416
|
+
type: "string"
|
|
109417
|
+
},
|
|
109418
|
+
{
|
|
109419
|
+
const: "web",
|
|
109420
|
+
type: "string"
|
|
109421
|
+
},
|
|
109422
|
+
{
|
|
109423
|
+
const: "whatsapp",
|
|
109424
|
+
type: "string"
|
|
109425
|
+
}
|
|
109426
|
+
],
|
|
109427
|
+
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
109428
|
+
}
|
|
109429
|
+
}
|
|
109430
|
+
},
|
|
109431
|
+
OrsovisionServicesListInput: {
|
|
109432
|
+
type: "object",
|
|
109433
|
+
properties: {
|
|
109434
|
+
code: {
|
|
109435
|
+
description: "Código de contrato devuelto por list_contracts para la misma sede.",
|
|
109436
|
+
type: "string"
|
|
109437
|
+
},
|
|
109438
|
+
agency: {
|
|
109439
|
+
description: "El mismo código de sede usado en list_contracts.",
|
|
109440
|
+
type: "string"
|
|
109441
|
+
},
|
|
109442
|
+
q: {
|
|
109443
|
+
description: "Texto opcional del servicio: optometria, tamizaje, montura, lentes o el nombre del procedimiento.",
|
|
109444
|
+
type: "string"
|
|
109445
|
+
},
|
|
109446
|
+
refresh: {
|
|
109447
|
+
description: "true solo si la persona afirma que un servicio falta o acaba de habilitarse; relee el catálogo en vez del caché de 6 h.",
|
|
109448
|
+
type: "boolean"
|
|
109449
|
+
},
|
|
109450
|
+
cursor: {
|
|
109451
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
|
|
109452
|
+
type: "string"
|
|
109453
|
+
},
|
|
109454
|
+
direction: {
|
|
109455
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
109456
|
+
anyOf: [
|
|
109457
|
+
{
|
|
109458
|
+
const: "forward",
|
|
109459
|
+
type: "string"
|
|
109460
|
+
},
|
|
109461
|
+
{
|
|
109462
|
+
const: "backward",
|
|
109463
|
+
type: "string"
|
|
109464
|
+
}
|
|
109465
|
+
],
|
|
109466
|
+
default: "forward"
|
|
109467
|
+
},
|
|
109468
|
+
limit: {
|
|
109469
|
+
minimum: 1,
|
|
109470
|
+
maximum: 100,
|
|
109471
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
109472
|
+
type: "integer",
|
|
109473
|
+
default: 25
|
|
109474
|
+
},
|
|
109475
|
+
connectionId: {
|
|
109476
|
+
minLength: 5,
|
|
109477
|
+
maxLength: 68,
|
|
109478
|
+
pattern: "^con_[0-9A-Za-z]+$",
|
|
109479
|
+
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
109480
|
+
type: "string"
|
|
109481
|
+
},
|
|
109482
|
+
channel: {
|
|
109483
|
+
anyOf: [
|
|
109484
|
+
{
|
|
109485
|
+
const: "voice",
|
|
109486
|
+
type: "string"
|
|
109487
|
+
},
|
|
109488
|
+
{
|
|
109489
|
+
const: "web",
|
|
109490
|
+
type: "string"
|
|
109491
|
+
},
|
|
109492
|
+
{
|
|
109493
|
+
const: "whatsapp",
|
|
109494
|
+
type: "string"
|
|
109495
|
+
}
|
|
109496
|
+
],
|
|
109497
|
+
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
109498
|
+
},
|
|
109499
|
+
search: {
|
|
109500
|
+
description: "Deprecated: use `q`. Answered until 2027-01-28.",
|
|
109501
|
+
type: "string",
|
|
109502
|
+
deprecated: true
|
|
109503
|
+
}
|
|
109504
|
+
},
|
|
109505
|
+
required: [
|
|
109506
|
+
"code",
|
|
109507
|
+
"agency"
|
|
109508
|
+
],
|
|
109509
|
+
additionalProperties: false
|
|
109510
|
+
},
|
|
109511
|
+
OrsovisionToolsListInput: {
|
|
107548
109512
|
type: "object",
|
|
107549
109513
|
properties: {
|
|
107550
|
-
code: {
|
|
107551
|
-
description: "Código de contrato devuelto por list_contracts para la misma sede.",
|
|
107552
|
-
type: "string"
|
|
107553
|
-
},
|
|
107554
|
-
agency: {
|
|
107555
|
-
description: "El mismo código de sede usado en list_contracts.",
|
|
107556
|
-
type: "string"
|
|
107557
|
-
},
|
|
107558
|
-
q: {
|
|
107559
|
-
description: "Texto opcional del servicio: optometria, tamizaje, montura, lentes o el nombre del procedimiento.",
|
|
107560
|
-
type: "string"
|
|
107561
|
-
},
|
|
107562
|
-
refresh: {
|
|
107563
|
-
description: "true solo si la persona afirma que un servicio falta o acaba de habilitarse; relee el catálogo en vez del caché de 6 h.",
|
|
107564
|
-
type: "boolean"
|
|
107565
|
-
},
|
|
107566
109514
|
cursor: {
|
|
107567
109515
|
description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
|
|
107568
109516
|
type: "string"
|
|
@@ -107594,73 +109542,52 @@ var schemaComponents = {
|
|
|
107594
109542
|
pattern: "^con_[0-9A-Za-z]+$",
|
|
107595
109543
|
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
107596
109544
|
type: "string"
|
|
107597
|
-
}
|
|
107598
|
-
|
|
109545
|
+
}
|
|
109546
|
+
},
|
|
109547
|
+
additionalProperties: false
|
|
109548
|
+
},
|
|
109549
|
+
PoliciaColombiaJudicialRecordsLookupInput: {
|
|
109550
|
+
additionalProperties: false,
|
|
109551
|
+
type: "object",
|
|
109552
|
+
required: [
|
|
109553
|
+
"documentType",
|
|
109554
|
+
"documentNumber"
|
|
109555
|
+
],
|
|
109556
|
+
properties: {
|
|
109557
|
+
documentType: {
|
|
107599
109558
|
anyOf: [
|
|
107600
109559
|
{
|
|
107601
|
-
const: "
|
|
109560
|
+
const: "CC",
|
|
107602
109561
|
type: "string"
|
|
107603
109562
|
},
|
|
107604
109563
|
{
|
|
107605
|
-
const: "
|
|
109564
|
+
const: "CE",
|
|
107606
109565
|
type: "string"
|
|
107607
109566
|
},
|
|
107608
109567
|
{
|
|
107609
|
-
const: "
|
|
109568
|
+
const: "PA",
|
|
107610
109569
|
type: "string"
|
|
107611
|
-
}
|
|
107612
|
-
],
|
|
107613
|
-
description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
|
|
107614
|
-
},
|
|
107615
|
-
search: {
|
|
107616
|
-
description: "Deprecated: use `q`. Answered until 2027-01-28.",
|
|
107617
|
-
type: "string",
|
|
107618
|
-
deprecated: true
|
|
107619
|
-
}
|
|
107620
|
-
},
|
|
107621
|
-
required: [
|
|
107622
|
-
"code",
|
|
107623
|
-
"agency"
|
|
107624
|
-
],
|
|
107625
|
-
additionalProperties: false
|
|
107626
|
-
},
|
|
107627
|
-
OrsovisionToolsListInput: {
|
|
107628
|
-
type: "object",
|
|
107629
|
-
properties: {
|
|
107630
|
-
cursor: {
|
|
107631
|
-
description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
|
|
107632
|
-
type: "string"
|
|
107633
|
-
},
|
|
107634
|
-
direction: {
|
|
107635
|
-
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
107636
|
-
anyOf: [
|
|
109570
|
+
},
|
|
107637
109571
|
{
|
|
107638
|
-
const: "
|
|
109572
|
+
const: "PPT",
|
|
107639
109573
|
type: "string"
|
|
107640
109574
|
},
|
|
107641
109575
|
{
|
|
107642
|
-
const: "
|
|
109576
|
+
const: "DP",
|
|
107643
109577
|
type: "string"
|
|
107644
109578
|
}
|
|
107645
|
-
]
|
|
107646
|
-
default: "forward"
|
|
107647
|
-
},
|
|
107648
|
-
limit: {
|
|
107649
|
-
minimum: 1,
|
|
107650
|
-
maximum: 100,
|
|
107651
|
-
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
107652
|
-
type: "integer",
|
|
107653
|
-
default: 25
|
|
109579
|
+
]
|
|
107654
109580
|
},
|
|
107655
|
-
|
|
107656
|
-
|
|
107657
|
-
maxLength: 68,
|
|
107658
|
-
pattern: "^con_[0-9A-Za-z]+$",
|
|
107659
|
-
description: "The Visoft connection to run on, as Account lists it (con_…). Optional when the organization has one; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND.",
|
|
109581
|
+
documentNumber: {
|
|
109582
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
107660
109583
|
type: "string"
|
|
109584
|
+
},
|
|
109585
|
+
agentMode: {
|
|
109586
|
+
default: false,
|
|
109587
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
109588
|
+
type: "boolean"
|
|
107661
109589
|
}
|
|
107662
|
-
}
|
|
107663
|
-
additionalProperties: false
|
|
109590
|
+
}
|
|
107664
109591
|
},
|
|
107665
109592
|
RaizAgentsListInput: {
|
|
107666
109593
|
type: "object",
|
|
@@ -113075,6 +115002,29 @@ var schemaComponents = {
|
|
|
113075
115002
|
],
|
|
113076
115003
|
additionalProperties: false
|
|
113077
115004
|
},
|
|
115005
|
+
SisbenClassificationsLookupInput: {
|
|
115006
|
+
additionalProperties: false,
|
|
115007
|
+
type: "object",
|
|
115008
|
+
required: [
|
|
115009
|
+
"documentType",
|
|
115010
|
+
"documentNumber"
|
|
115011
|
+
],
|
|
115012
|
+
properties: {
|
|
115013
|
+
documentType: {
|
|
115014
|
+
pattern: "^[A-Z]{2}$",
|
|
115015
|
+
type: "string"
|
|
115016
|
+
},
|
|
115017
|
+
documentNumber: {
|
|
115018
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
115019
|
+
type: "string"
|
|
115020
|
+
},
|
|
115021
|
+
agentMode: {
|
|
115022
|
+
default: false,
|
|
115023
|
+
description: "Return a concise Spanish presentation of the same observation.",
|
|
115024
|
+
type: "boolean"
|
|
115025
|
+
}
|
|
115026
|
+
}
|
|
115027
|
+
},
|
|
113078
115028
|
SomosAppointmentsCreateInput: {
|
|
113079
115029
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
113080
115030
|
additionalProperties: false,
|
|
@@ -116723,9 +118673,9 @@ var schemaComponents = {
|
|
|
116723
118673
|
// src/generated/generation.json
|
|
116724
118674
|
var generation_default = {
|
|
116725
118675
|
formatVersion: 6,
|
|
116726
|
-
release: "1.20261101.
|
|
116727
|
-
openapiSha256: "
|
|
116728
|
-
openapiContentSha256: "
|
|
118676
|
+
release: "1.20261101.44022",
|
|
118677
|
+
openapiSha256: "9da8e3567b71513e867f3633e28ea0e829f5b73b2098f27da8d137c1b1154cc2",
|
|
118678
|
+
openapiContentSha256: "f4cc346e1a7389c2e8490ad863d667107f9721408ed856db98fa2130d6bbd6bb",
|
|
116729
118679
|
forge: {
|
|
116730
118680
|
repository: "https://github.com/cloudflare/forge",
|
|
116731
118681
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -116738,7 +118688,7 @@ var generation_default = {
|
|
|
116738
118688
|
outputs: [
|
|
116739
118689
|
{
|
|
116740
118690
|
path: "src/generated/commands.ts",
|
|
116741
|
-
sha256: "
|
|
118691
|
+
sha256: "50078f7f9d6f65162c44ab41db07725c8f2111a7ea5c3d36b286ee8afdb3831b"
|
|
116742
118692
|
}
|
|
116743
118693
|
]
|
|
116744
118694
|
};
|
|
@@ -117093,7 +119043,7 @@ ${name}`);
|
|
|
117093
119043
|
}
|
|
117094
119044
|
|
|
117095
119045
|
// src/index.ts
|
|
117096
|
-
var VERSION = "3.
|
|
119046
|
+
var VERSION = "3.23.0";
|
|
117097
119047
|
var RELEASE = generation_default.release;
|
|
117098
119048
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
117099
119049
|
var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
|