@arbol-ai/cli 3.22.0 → 3.24.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.
Files changed (2) hide show
  1. package/dist/index.js +2096 -282
  2. 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,6 +23672,67 @@ var commands = {
23486
23672
  confirmation: null,
23487
23673
  hidden: false
23488
23674
  },
23675
+ "sisben classifications lookup": {
23676
+ operation: "sisben.classifications.lookup",
23677
+ sdkPath: [
23678
+ "sisben",
23679
+ "classifications",
23680
+ "lookup"
23681
+ ],
23682
+ pathField: null,
23683
+ fields: [
23684
+ {
23685
+ name: "documentType",
23686
+ flag: "document-type",
23687
+ kind: "string",
23688
+ required: true,
23689
+ description: ""
23690
+ },
23691
+ {
23692
+ name: "documentNumber",
23693
+ flag: "document-number",
23694
+ kind: "string",
23695
+ required: true,
23696
+ description: ""
23697
+ },
23698
+ {
23699
+ name: "agentMode",
23700
+ flag: "agent-mode",
23701
+ kind: "boolean",
23702
+ required: false,
23703
+ description: "Return a concise Spanish presentation of the same observation.",
23704
+ default: false
23705
+ }
23706
+ ],
23707
+ inputSchema: {
23708
+ additionalProperties: false,
23709
+ type: "object",
23710
+ required: [
23711
+ "documentType",
23712
+ "documentNumber"
23713
+ ],
23714
+ properties: {
23715
+ documentType: {
23716
+ pattern: "^[A-Z]{2}$",
23717
+ type: "string"
23718
+ },
23719
+ documentNumber: {
23720
+ pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
23721
+ type: "string"
23722
+ },
23723
+ agentMode: {
23724
+ default: false,
23725
+ description: "Return a concise Spanish presentation of the same observation.",
23726
+ type: "boolean"
23727
+ }
23728
+ }
23729
+ },
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,
23734
+ hidden: false
23735
+ },
23489
23736
  "somos appointments cancel": {
23490
23737
  operation: "somos.appointments.cancel",
23491
23738
  sdkPath: [
@@ -31718,7 +31965,7 @@ var schemaComponents = {
31718
31965
  anyOf: [
31719
31966
  {
31720
31967
  $ref: "#/components/schemas/AccountColombiaResourceEnvelope",
31721
- description: "A Spanish sentence for EPS or Police and a structured classification for Sisbén."
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
- type: "object",
31781
- patternProperties: {
31782
- "^(.*)$": {}
31783
- }
32027
+ $ref: "#/components/schemas/AccountSisbenClassification",
32028
+ description: "DNP registration and household classification at the source observation time. Unknown registration is null."
31784
32029
  }
31785
32030
  ]
31786
32031
  }
@@ -35975,6 +36220,308 @@ var schemaComponents = {
35975
36220
  }
35976
36221
  }
35977
36222
  },
36223
+ AccountSisbenClassification: {
36224
+ anyOf: [
36225
+ {
36226
+ additionalProperties: false,
36227
+ type: "object",
36228
+ required: [
36229
+ "source",
36230
+ "verification",
36231
+ "observedAt",
36232
+ "registered",
36233
+ "group",
36234
+ "subgroup"
36235
+ ],
36236
+ properties: {
36237
+ source: {
36238
+ const: "DNP-SISBEN-IV",
36239
+ type: "string"
36240
+ },
36241
+ verification: {
36242
+ anyOf: [
36243
+ {
36244
+ const: "source_report",
36245
+ type: "string"
36246
+ },
36247
+ {
36248
+ const: "last_known",
36249
+ type: "string"
36250
+ }
36251
+ ]
36252
+ },
36253
+ observedAt: {
36254
+ format: "date-time",
36255
+ type: "string"
36256
+ },
36257
+ registered: {
36258
+ const: true,
36259
+ type: "boolean"
36260
+ },
36261
+ group: {
36262
+ const: "A",
36263
+ type: "string"
36264
+ },
36265
+ subgroup: {
36266
+ anyOf: [
36267
+ {
36268
+ pattern: "^A[1-5]$",
36269
+ type: "string"
36270
+ },
36271
+ {
36272
+ type: "null"
36273
+ }
36274
+ ]
36275
+ }
36276
+ }
36277
+ },
36278
+ {
36279
+ additionalProperties: false,
36280
+ type: "object",
36281
+ required: [
36282
+ "source",
36283
+ "verification",
36284
+ "observedAt",
36285
+ "registered",
36286
+ "group",
36287
+ "subgroup"
36288
+ ],
36289
+ properties: {
36290
+ source: {
36291
+ const: "DNP-SISBEN-IV",
36292
+ type: "string"
36293
+ },
36294
+ verification: {
36295
+ anyOf: [
36296
+ {
36297
+ const: "source_report",
36298
+ type: "string"
36299
+ },
36300
+ {
36301
+ const: "last_known",
36302
+ type: "string"
36303
+ }
36304
+ ]
36305
+ },
36306
+ observedAt: {
36307
+ format: "date-time",
36308
+ type: "string"
36309
+ },
36310
+ registered: {
36311
+ const: true,
36312
+ type: "boolean"
36313
+ },
36314
+ group: {
36315
+ const: "B",
36316
+ type: "string"
36317
+ },
36318
+ subgroup: {
36319
+ anyOf: [
36320
+ {
36321
+ pattern: "^B[1-7]$",
36322
+ type: "string"
36323
+ },
36324
+ {
36325
+ type: "null"
36326
+ }
36327
+ ]
36328
+ }
36329
+ }
36330
+ },
36331
+ {
36332
+ additionalProperties: false,
36333
+ type: "object",
36334
+ required: [
36335
+ "source",
36336
+ "verification",
36337
+ "observedAt",
36338
+ "registered",
36339
+ "group",
36340
+ "subgroup"
36341
+ ],
36342
+ properties: {
36343
+ source: {
36344
+ const: "DNP-SISBEN-IV",
36345
+ type: "string"
36346
+ },
36347
+ verification: {
36348
+ anyOf: [
36349
+ {
36350
+ const: "source_report",
36351
+ type: "string"
36352
+ },
36353
+ {
36354
+ const: "last_known",
36355
+ type: "string"
36356
+ }
36357
+ ]
36358
+ },
36359
+ observedAt: {
36360
+ format: "date-time",
36361
+ type: "string"
36362
+ },
36363
+ registered: {
36364
+ const: true,
36365
+ type: "boolean"
36366
+ },
36367
+ group: {
36368
+ const: "C",
36369
+ type: "string"
36370
+ },
36371
+ subgroup: {
36372
+ anyOf: [
36373
+ {
36374
+ pattern: "^C(?:[1-9]|1[0-8])$",
36375
+ type: "string"
36376
+ },
36377
+ {
36378
+ type: "null"
36379
+ }
36380
+ ]
36381
+ }
36382
+ }
36383
+ },
36384
+ {
36385
+ additionalProperties: false,
36386
+ type: "object",
36387
+ required: [
36388
+ "source",
36389
+ "verification",
36390
+ "observedAt",
36391
+ "registered",
36392
+ "group",
36393
+ "subgroup"
36394
+ ],
36395
+ properties: {
36396
+ source: {
36397
+ const: "DNP-SISBEN-IV",
36398
+ type: "string"
36399
+ },
36400
+ verification: {
36401
+ anyOf: [
36402
+ {
36403
+ const: "source_report",
36404
+ type: "string"
36405
+ },
36406
+ {
36407
+ const: "last_known",
36408
+ type: "string"
36409
+ }
36410
+ ]
36411
+ },
36412
+ observedAt: {
36413
+ format: "date-time",
36414
+ type: "string"
36415
+ },
36416
+ registered: {
36417
+ const: true,
36418
+ type: "boolean"
36419
+ },
36420
+ group: {
36421
+ const: "D",
36422
+ type: "string"
36423
+ },
36424
+ subgroup: {
36425
+ anyOf: [
36426
+ {
36427
+ pattern: "^D(?:[1-9]|1[0-9]|2[01])$",
36428
+ type: "string"
36429
+ },
36430
+ {
36431
+ type: "null"
36432
+ }
36433
+ ]
36434
+ }
36435
+ }
36436
+ },
36437
+ {
36438
+ additionalProperties: false,
36439
+ type: "object",
36440
+ required: [
36441
+ "source",
36442
+ "verification",
36443
+ "observedAt",
36444
+ "registered",
36445
+ "group",
36446
+ "subgroup"
36447
+ ],
36448
+ properties: {
36449
+ source: {
36450
+ const: "DNP-SISBEN-IV",
36451
+ type: "string"
36452
+ },
36453
+ verification: {
36454
+ anyOf: [
36455
+ {
36456
+ const: "source_report",
36457
+ type: "string"
36458
+ },
36459
+ {
36460
+ const: "last_known",
36461
+ type: "string"
36462
+ }
36463
+ ]
36464
+ },
36465
+ observedAt: {
36466
+ format: "date-time",
36467
+ type: "string"
36468
+ },
36469
+ registered: {
36470
+ const: false,
36471
+ type: "boolean"
36472
+ },
36473
+ group: {
36474
+ type: "null"
36475
+ },
36476
+ subgroup: {
36477
+ type: "null"
36478
+ }
36479
+ }
36480
+ },
36481
+ {
36482
+ additionalProperties: false,
36483
+ type: "object",
36484
+ required: [
36485
+ "source",
36486
+ "verification",
36487
+ "registered",
36488
+ "group",
36489
+ "subgroup",
36490
+ "observedAt"
36491
+ ],
36492
+ properties: {
36493
+ source: {
36494
+ const: "DNP-SISBEN-IV",
36495
+ type: "string"
36496
+ },
36497
+ verification: {
36498
+ anyOf: [
36499
+ {
36500
+ const: "unavailable",
36501
+ type: "string"
36502
+ },
36503
+ {
36504
+ const: "unsupported_document",
36505
+ type: "string"
36506
+ }
36507
+ ]
36508
+ },
36509
+ registered: {
36510
+ type: "null"
36511
+ },
36512
+ group: {
36513
+ type: "null"
36514
+ },
36515
+ subgroup: {
36516
+ type: "null"
36517
+ },
36518
+ observedAt: {
36519
+ type: "null"
36520
+ }
36521
+ }
36522
+ }
36523
+ ]
36524
+ },
35978
36525
  AccountUpdateBillingProfileBody: {
35979
36526
  additionalProperties: false,
35980
36527
  type: "object",
@@ -36579,6 +37126,541 @@ var schemaComponents = {
36579
37126
  }
36580
37127
  }
36581
37128
  },
37129
+ AdresAffiliationPresentation: {
37130
+ anyOf: [
37131
+ {
37132
+ additionalProperties: false,
37133
+ type: "object",
37134
+ required: [
37135
+ "countryCode",
37136
+ "source",
37137
+ "consultedAt",
37138
+ "verification",
37139
+ "outcome",
37140
+ "person",
37141
+ "affiliations"
37142
+ ],
37143
+ properties: {
37144
+ countryCode: {
37145
+ const: "CO",
37146
+ type: "string"
37147
+ },
37148
+ source: {
37149
+ type: "string"
37150
+ },
37151
+ consultedAt: {
37152
+ format: "date-time",
37153
+ type: "string"
37154
+ },
37155
+ verification: {
37156
+ anyOf: [
37157
+ {
37158
+ const: "source_report",
37159
+ type: "string"
37160
+ },
37161
+ {
37162
+ const: "last_known",
37163
+ type: "string"
37164
+ }
37165
+ ]
37166
+ },
37167
+ outcome: {
37168
+ const: "found",
37169
+ type: "string"
37170
+ },
37171
+ person: {
37172
+ additionalProperties: false,
37173
+ type: "object",
37174
+ required: [
37175
+ "documentType",
37176
+ "documentNumber",
37177
+ "givenName",
37178
+ "familyName",
37179
+ "fullName",
37180
+ "birthDate",
37181
+ "department",
37182
+ "municipality",
37183
+ "reportedFields"
37184
+ ],
37185
+ properties: {
37186
+ documentType: {
37187
+ anyOf: [
37188
+ {
37189
+ const: "CC",
37190
+ type: "string"
37191
+ },
37192
+ {
37193
+ const: "CE",
37194
+ type: "string"
37195
+ },
37196
+ {
37197
+ const: "TI",
37198
+ type: "string"
37199
+ },
37200
+ {
37201
+ const: "RC",
37202
+ type: "string"
37203
+ },
37204
+ {
37205
+ const: "CN",
37206
+ type: "string"
37207
+ },
37208
+ {
37209
+ const: "NU",
37210
+ type: "string"
37211
+ },
37212
+ {
37213
+ const: "MS",
37214
+ type: "string"
37215
+ }
37216
+ ]
37217
+ },
37218
+ documentNumber: {
37219
+ type: "string"
37220
+ },
37221
+ givenName: {
37222
+ anyOf: [
37223
+ {
37224
+ type: "string"
37225
+ },
37226
+ {
37227
+ type: "null"
37228
+ }
37229
+ ]
37230
+ },
37231
+ familyName: {
37232
+ anyOf: [
37233
+ {
37234
+ type: "string"
37235
+ },
37236
+ {
37237
+ type: "null"
37238
+ }
37239
+ ]
37240
+ },
37241
+ fullName: {
37242
+ anyOf: [
37243
+ {
37244
+ type: "string"
37245
+ },
37246
+ {
37247
+ type: "null"
37248
+ }
37249
+ ]
37250
+ },
37251
+ birthDate: {
37252
+ anyOf: [
37253
+ {
37254
+ format: "date",
37255
+ type: "string"
37256
+ },
37257
+ {
37258
+ type: "null"
37259
+ }
37260
+ ]
37261
+ },
37262
+ department: {
37263
+ anyOf: [
37264
+ {
37265
+ type: "string"
37266
+ },
37267
+ {
37268
+ type: "null"
37269
+ }
37270
+ ]
37271
+ },
37272
+ municipality: {
37273
+ anyOf: [
37274
+ {
37275
+ type: "string"
37276
+ },
37277
+ {
37278
+ type: "null"
37279
+ }
37280
+ ]
37281
+ },
37282
+ reportedFields: {
37283
+ maxItems: 48,
37284
+ type: "array",
37285
+ items: {
37286
+ additionalProperties: false,
37287
+ type: "object",
37288
+ required: [
37289
+ "label",
37290
+ "value"
37291
+ ],
37292
+ properties: {
37293
+ label: {
37294
+ type: "string"
37295
+ },
37296
+ value: {
37297
+ type: "string"
37298
+ }
37299
+ }
37300
+ }
37301
+ }
37302
+ }
37303
+ },
37304
+ affiliations: {
37305
+ minItems: 1,
37306
+ maxItems: 50,
37307
+ type: "array",
37308
+ items: {
37309
+ additionalProperties: false,
37310
+ type: "object",
37311
+ required: [
37312
+ "eps",
37313
+ "status",
37314
+ "regime",
37315
+ "affiliateType",
37316
+ "from",
37317
+ "to",
37318
+ "endDateKind",
37319
+ "isExpired",
37320
+ "reportedFields"
37321
+ ],
37322
+ properties: {
37323
+ eps: {
37324
+ type: "string"
37325
+ },
37326
+ status: {
37327
+ type: "string"
37328
+ },
37329
+ regime: {
37330
+ type: "string"
37331
+ },
37332
+ affiliateType: {
37333
+ anyOf: [
37334
+ {
37335
+ type: "string"
37336
+ },
37337
+ {
37338
+ type: "null"
37339
+ }
37340
+ ]
37341
+ },
37342
+ from: {
37343
+ anyOf: [
37344
+ {
37345
+ format: "date",
37346
+ type: "string"
37347
+ },
37348
+ {
37349
+ type: "null"
37350
+ }
37351
+ ]
37352
+ },
37353
+ to: {
37354
+ anyOf: [
37355
+ {
37356
+ format: "date",
37357
+ type: "string"
37358
+ },
37359
+ {
37360
+ type: "null"
37361
+ }
37362
+ ]
37363
+ },
37364
+ endDateKind: {
37365
+ anyOf: [
37366
+ {
37367
+ const: "dated",
37368
+ type: "string"
37369
+ },
37370
+ {
37371
+ const: "open_ended",
37372
+ type: "string"
37373
+ },
37374
+ {
37375
+ const: "not_reported",
37376
+ type: "string"
37377
+ }
37378
+ ]
37379
+ },
37380
+ isExpired: {
37381
+ description: "Whether the reported end date has passed. Read status independently.",
37382
+ anyOf: [
37383
+ {
37384
+ type: "boolean"
37385
+ },
37386
+ {
37387
+ type: "null"
37388
+ }
37389
+ ]
37390
+ },
37391
+ reportedFields: {
37392
+ maxItems: 48,
37393
+ type: "array",
37394
+ items: {
37395
+ additionalProperties: false,
37396
+ type: "object",
37397
+ required: [
37398
+ "label",
37399
+ "value"
37400
+ ],
37401
+ properties: {
37402
+ label: {
37403
+ type: "string"
37404
+ },
37405
+ value: {
37406
+ type: "string"
37407
+ }
37408
+ }
37409
+ }
37410
+ }
37411
+ }
37412
+ }
37413
+ }
37414
+ }
37415
+ },
37416
+ {
37417
+ additionalProperties: false,
37418
+ type: "object",
37419
+ required: [
37420
+ "countryCode",
37421
+ "source",
37422
+ "consultedAt",
37423
+ "verification",
37424
+ "outcome",
37425
+ "person",
37426
+ "affiliations"
37427
+ ],
37428
+ properties: {
37429
+ countryCode: {
37430
+ const: "CO",
37431
+ type: "string"
37432
+ },
37433
+ source: {
37434
+ type: "string"
37435
+ },
37436
+ consultedAt: {
37437
+ format: "date-time",
37438
+ type: "string"
37439
+ },
37440
+ verification: {
37441
+ anyOf: [
37442
+ {
37443
+ const: "source_report",
37444
+ type: "string"
37445
+ },
37446
+ {
37447
+ const: "last_known",
37448
+ type: "string"
37449
+ }
37450
+ ]
37451
+ },
37452
+ outcome: {
37453
+ const: "not_found",
37454
+ type: "string"
37455
+ },
37456
+ person: {
37457
+ type: "null"
37458
+ },
37459
+ affiliations: {
37460
+ maxItems: 0,
37461
+ type: "array",
37462
+ items: {
37463
+ additionalProperties: false,
37464
+ type: "object",
37465
+ required: [
37466
+ "eps",
37467
+ "status",
37468
+ "regime",
37469
+ "affiliateType",
37470
+ "from",
37471
+ "to",
37472
+ "endDateKind",
37473
+ "isExpired",
37474
+ "reportedFields"
37475
+ ],
37476
+ properties: {
37477
+ eps: {
37478
+ type: "string"
37479
+ },
37480
+ status: {
37481
+ type: "string"
37482
+ },
37483
+ regime: {
37484
+ type: "string"
37485
+ },
37486
+ affiliateType: {
37487
+ anyOf: [
37488
+ {
37489
+ type: "string"
37490
+ },
37491
+ {
37492
+ type: "null"
37493
+ }
37494
+ ]
37495
+ },
37496
+ from: {
37497
+ anyOf: [
37498
+ {
37499
+ format: "date",
37500
+ type: "string"
37501
+ },
37502
+ {
37503
+ type: "null"
37504
+ }
37505
+ ]
37506
+ },
37507
+ to: {
37508
+ anyOf: [
37509
+ {
37510
+ format: "date",
37511
+ type: "string"
37512
+ },
37513
+ {
37514
+ type: "null"
37515
+ }
37516
+ ]
37517
+ },
37518
+ endDateKind: {
37519
+ anyOf: [
37520
+ {
37521
+ const: "dated",
37522
+ type: "string"
37523
+ },
37524
+ {
37525
+ const: "open_ended",
37526
+ type: "string"
37527
+ },
37528
+ {
37529
+ const: "not_reported",
37530
+ type: "string"
37531
+ }
37532
+ ]
37533
+ },
37534
+ isExpired: {
37535
+ description: "Whether the reported end date has passed. Read status independently.",
37536
+ anyOf: [
37537
+ {
37538
+ type: "boolean"
37539
+ },
37540
+ {
37541
+ type: "null"
37542
+ }
37543
+ ]
37544
+ },
37545
+ reportedFields: {
37546
+ maxItems: 48,
37547
+ type: "array",
37548
+ items: {
37549
+ additionalProperties: false,
37550
+ type: "object",
37551
+ required: [
37552
+ "label",
37553
+ "value"
37554
+ ],
37555
+ properties: {
37556
+ label: {
37557
+ type: "string"
37558
+ },
37559
+ value: {
37560
+ type: "string"
37561
+ }
37562
+ }
37563
+ }
37564
+ }
37565
+ }
37566
+ }
37567
+ }
37568
+ }
37569
+ },
37570
+ {
37571
+ additionalProperties: false,
37572
+ type: "object",
37573
+ required: [
37574
+ "text"
37575
+ ],
37576
+ properties: {
37577
+ text: {
37578
+ minLength: 1,
37579
+ type: "string"
37580
+ }
37581
+ }
37582
+ }
37583
+ ]
37584
+ },
37585
+ AdresAffiliationPresentationResponse: {
37586
+ type: "object",
37587
+ description: "A successful answer.",
37588
+ additionalProperties: false,
37589
+ required: [
37590
+ "success",
37591
+ "data",
37592
+ "error",
37593
+ "metadata"
37594
+ ],
37595
+ properties: {
37596
+ success: {
37597
+ type: "boolean",
37598
+ enum: [
37599
+ true
37600
+ ]
37601
+ },
37602
+ data: {
37603
+ $ref: "#/components/schemas/AdresAffiliationPresentation"
37604
+ },
37605
+ error: {
37606
+ const: null
37607
+ },
37608
+ metadata: {
37609
+ $ref: "#/components/schemas/ResponseMetadata"
37610
+ }
37611
+ }
37612
+ },
37613
+ AdresLookupAffiliationBody: {
37614
+ additionalProperties: false,
37615
+ type: "object",
37616
+ required: [
37617
+ "documentType",
37618
+ "documentNumber"
37619
+ ],
37620
+ properties: {
37621
+ documentType: {
37622
+ anyOf: [
37623
+ {
37624
+ const: "CC",
37625
+ type: "string"
37626
+ },
37627
+ {
37628
+ const: "CE",
37629
+ type: "string"
37630
+ },
37631
+ {
37632
+ const: "TI",
37633
+ type: "string"
37634
+ },
37635
+ {
37636
+ const: "RC",
37637
+ type: "string"
37638
+ },
37639
+ {
37640
+ const: "CN",
37641
+ type: "string"
37642
+ },
37643
+ {
37644
+ const: "NU",
37645
+ type: "string"
37646
+ },
37647
+ {
37648
+ const: "MS",
37649
+ type: "string"
37650
+ }
37651
+ ]
37652
+ },
37653
+ documentNumber: {
37654
+ pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
37655
+ type: "string"
37656
+ },
37657
+ agentMode: {
37658
+ default: false,
37659
+ description: "Return a concise Spanish presentation of the same observation.",
37660
+ type: "boolean"
37661
+ }
37662
+ }
37663
+ },
36582
37664
  AgendaAppointment: {
36583
37665
  additionalProperties: false,
36584
37666
  type: "object",
@@ -67355,6 +68437,255 @@ var schemaComponents = {
67355
68437
  }
67356
68438
  }
67357
68439
  },
68440
+ PoliciaColombiaJudicialRecordPresentation: {
68441
+ anyOf: [
68442
+ {
68443
+ additionalProperties: false,
68444
+ type: "object",
68445
+ required: [
68446
+ "documentType",
68447
+ "documentNumber",
68448
+ "fullName",
68449
+ "judicialStatus",
68450
+ "observedAt",
68451
+ "details",
68452
+ "identityStatus"
68453
+ ],
68454
+ properties: {
68455
+ documentType: {
68456
+ anyOf: [
68457
+ {
68458
+ const: "CC",
68459
+ type: "string"
68460
+ },
68461
+ {
68462
+ const: "CE",
68463
+ type: "string"
68464
+ },
68465
+ {
68466
+ const: "PA",
68467
+ type: "string"
68468
+ },
68469
+ {
68470
+ const: "PPT",
68471
+ type: "string"
68472
+ },
68473
+ {
68474
+ const: "DP",
68475
+ type: "string"
68476
+ }
68477
+ ]
68478
+ },
68479
+ documentNumber: {
68480
+ pattern: "^[A-Z0-9]{1,20}$",
68481
+ type: "string"
68482
+ },
68483
+ fullName: {
68484
+ anyOf: [
68485
+ {
68486
+ minLength: 1,
68487
+ maxLength: 256,
68488
+ type: "string"
68489
+ },
68490
+ {
68491
+ type: "null"
68492
+ }
68493
+ ]
68494
+ },
68495
+ judicialStatus: {
68496
+ anyOf: [
68497
+ {
68498
+ const: "no_pending_matters",
68499
+ type: "string"
68500
+ },
68501
+ {
68502
+ const: "not_currently_required",
68503
+ type: "string"
68504
+ },
68505
+ {
68506
+ const: "pending_matters",
68507
+ type: "string"
68508
+ },
68509
+ {
68510
+ const: "in_person_required",
68511
+ type: "string"
68512
+ },
68513
+ {
68514
+ const: "other_statement",
68515
+ type: "string"
68516
+ }
68517
+ ]
68518
+ },
68519
+ observedAt: {
68520
+ format: "date-time",
68521
+ type: "string"
68522
+ },
68523
+ details: {
68524
+ minLength: 1,
68525
+ maxLength: 4096,
68526
+ description: "The judicial statement as supplied by the source.",
68527
+ type: "string"
68528
+ },
68529
+ identityStatus: {
68530
+ anyOf: [
68531
+ {
68532
+ const: "document_matched",
68533
+ type: "string"
68534
+ },
68535
+ {
68536
+ const: "unverified",
68537
+ type: "string"
68538
+ }
68539
+ ]
68540
+ }
68541
+ }
68542
+ },
68543
+ {
68544
+ additionalProperties: false,
68545
+ type: "object",
68546
+ required: [
68547
+ "documentType",
68548
+ "documentNumber",
68549
+ "fullName",
68550
+ "identityStatus",
68551
+ "judicialStatus",
68552
+ "observedAt",
68553
+ "details"
68554
+ ],
68555
+ properties: {
68556
+ documentType: {
68557
+ anyOf: [
68558
+ {
68559
+ const: "CC",
68560
+ type: "string"
68561
+ },
68562
+ {
68563
+ const: "CE",
68564
+ type: "string"
68565
+ },
68566
+ {
68567
+ const: "PA",
68568
+ type: "string"
68569
+ },
68570
+ {
68571
+ const: "PPT",
68572
+ type: "string"
68573
+ },
68574
+ {
68575
+ const: "DP",
68576
+ type: "string"
68577
+ }
68578
+ ]
68579
+ },
68580
+ documentNumber: {
68581
+ pattern: "^[A-Z0-9]{1,20}$",
68582
+ type: "string"
68583
+ },
68584
+ fullName: {
68585
+ type: "null"
68586
+ },
68587
+ identityStatus: {
68588
+ const: "unverified",
68589
+ type: "string"
68590
+ },
68591
+ judicialStatus: {
68592
+ const: "unverified",
68593
+ type: "string"
68594
+ },
68595
+ observedAt: {
68596
+ type: "null"
68597
+ },
68598
+ details: {
68599
+ type: "null"
68600
+ }
68601
+ }
68602
+ },
68603
+ {
68604
+ additionalProperties: false,
68605
+ type: "object",
68606
+ required: [
68607
+ "text"
68608
+ ],
68609
+ properties: {
68610
+ text: {
68611
+ minLength: 1,
68612
+ type: "string"
68613
+ }
68614
+ }
68615
+ }
68616
+ ]
68617
+ },
68618
+ PoliciaColombiaJudicialRecordPresentationResponse: {
68619
+ type: "object",
68620
+ description: "A successful answer.",
68621
+ additionalProperties: false,
68622
+ required: [
68623
+ "success",
68624
+ "data",
68625
+ "error",
68626
+ "metadata"
68627
+ ],
68628
+ properties: {
68629
+ success: {
68630
+ type: "boolean",
68631
+ enum: [
68632
+ true
68633
+ ]
68634
+ },
68635
+ data: {
68636
+ $ref: "#/components/schemas/PoliciaColombiaJudicialRecordPresentation"
68637
+ },
68638
+ error: {
68639
+ const: null
68640
+ },
68641
+ metadata: {
68642
+ $ref: "#/components/schemas/ResponseMetadata"
68643
+ }
68644
+ }
68645
+ },
68646
+ PoliciaColombiaLookupJudicialRecordBody: {
68647
+ additionalProperties: false,
68648
+ type: "object",
68649
+ required: [
68650
+ "documentType",
68651
+ "documentNumber"
68652
+ ],
68653
+ properties: {
68654
+ documentType: {
68655
+ anyOf: [
68656
+ {
68657
+ const: "CC",
68658
+ type: "string"
68659
+ },
68660
+ {
68661
+ const: "CE",
68662
+ type: "string"
68663
+ },
68664
+ {
68665
+ const: "PA",
68666
+ type: "string"
68667
+ },
68668
+ {
68669
+ const: "PPT",
68670
+ type: "string"
68671
+ },
68672
+ {
68673
+ const: "DP",
68674
+ type: "string"
68675
+ }
68676
+ ]
68677
+ },
68678
+ documentNumber: {
68679
+ pattern: "^[A-Z0-9]{1,20}$",
68680
+ type: "string"
68681
+ },
68682
+ agentMode: {
68683
+ default: false,
68684
+ description: "Return a concise Spanish presentation of the same observation.",
68685
+ type: "boolean"
68686
+ }
68687
+ }
68688
+ },
67358
68689
  ProviderUnavailableFailure: {
67359
68690
  type: "object",
67360
68691
  description: "The clinical system did not answer or could not complete the request.",
@@ -86605,6 +87936,372 @@ var schemaComponents = {
86605
87936
  }
86606
87937
  }
86607
87938
  },
87939
+ SisbenClassificationPresentation: {
87940
+ anyOf: [
87941
+ {
87942
+ additionalProperties: false,
87943
+ type: "object",
87944
+ required: [
87945
+ "source",
87946
+ "verification",
87947
+ "observedAt",
87948
+ "registered",
87949
+ "group",
87950
+ "subgroup"
87951
+ ],
87952
+ properties: {
87953
+ source: {
87954
+ const: "DNP-SISBEN-IV",
87955
+ type: "string"
87956
+ },
87957
+ verification: {
87958
+ anyOf: [
87959
+ {
87960
+ const: "source_report",
87961
+ type: "string"
87962
+ },
87963
+ {
87964
+ const: "last_known",
87965
+ type: "string"
87966
+ }
87967
+ ]
87968
+ },
87969
+ observedAt: {
87970
+ format: "date-time",
87971
+ type: "string"
87972
+ },
87973
+ registered: {
87974
+ const: true,
87975
+ type: "boolean"
87976
+ },
87977
+ group: {
87978
+ const: "A",
87979
+ type: "string"
87980
+ },
87981
+ subgroup: {
87982
+ anyOf: [
87983
+ {
87984
+ pattern: "^A[1-5]$",
87985
+ type: "string"
87986
+ },
87987
+ {
87988
+ type: "null"
87989
+ }
87990
+ ]
87991
+ }
87992
+ }
87993
+ },
87994
+ {
87995
+ additionalProperties: false,
87996
+ type: "object",
87997
+ required: [
87998
+ "source",
87999
+ "verification",
88000
+ "observedAt",
88001
+ "registered",
88002
+ "group",
88003
+ "subgroup"
88004
+ ],
88005
+ properties: {
88006
+ source: {
88007
+ const: "DNP-SISBEN-IV",
88008
+ type: "string"
88009
+ },
88010
+ verification: {
88011
+ anyOf: [
88012
+ {
88013
+ const: "source_report",
88014
+ type: "string"
88015
+ },
88016
+ {
88017
+ const: "last_known",
88018
+ type: "string"
88019
+ }
88020
+ ]
88021
+ },
88022
+ observedAt: {
88023
+ format: "date-time",
88024
+ type: "string"
88025
+ },
88026
+ registered: {
88027
+ const: true,
88028
+ type: "boolean"
88029
+ },
88030
+ group: {
88031
+ const: "B",
88032
+ type: "string"
88033
+ },
88034
+ subgroup: {
88035
+ anyOf: [
88036
+ {
88037
+ pattern: "^B[1-7]$",
88038
+ type: "string"
88039
+ },
88040
+ {
88041
+ type: "null"
88042
+ }
88043
+ ]
88044
+ }
88045
+ }
88046
+ },
88047
+ {
88048
+ additionalProperties: false,
88049
+ type: "object",
88050
+ required: [
88051
+ "source",
88052
+ "verification",
88053
+ "observedAt",
88054
+ "registered",
88055
+ "group",
88056
+ "subgroup"
88057
+ ],
88058
+ properties: {
88059
+ source: {
88060
+ const: "DNP-SISBEN-IV",
88061
+ type: "string"
88062
+ },
88063
+ verification: {
88064
+ anyOf: [
88065
+ {
88066
+ const: "source_report",
88067
+ type: "string"
88068
+ },
88069
+ {
88070
+ const: "last_known",
88071
+ type: "string"
88072
+ }
88073
+ ]
88074
+ },
88075
+ observedAt: {
88076
+ format: "date-time",
88077
+ type: "string"
88078
+ },
88079
+ registered: {
88080
+ const: true,
88081
+ type: "boolean"
88082
+ },
88083
+ group: {
88084
+ const: "C",
88085
+ type: "string"
88086
+ },
88087
+ subgroup: {
88088
+ anyOf: [
88089
+ {
88090
+ pattern: "^C(?:[1-9]|1[0-8])$",
88091
+ type: "string"
88092
+ },
88093
+ {
88094
+ type: "null"
88095
+ }
88096
+ ]
88097
+ }
88098
+ }
88099
+ },
88100
+ {
88101
+ additionalProperties: false,
88102
+ type: "object",
88103
+ required: [
88104
+ "source",
88105
+ "verification",
88106
+ "observedAt",
88107
+ "registered",
88108
+ "group",
88109
+ "subgroup"
88110
+ ],
88111
+ properties: {
88112
+ source: {
88113
+ const: "DNP-SISBEN-IV",
88114
+ type: "string"
88115
+ },
88116
+ verification: {
88117
+ anyOf: [
88118
+ {
88119
+ const: "source_report",
88120
+ type: "string"
88121
+ },
88122
+ {
88123
+ const: "last_known",
88124
+ type: "string"
88125
+ }
88126
+ ]
88127
+ },
88128
+ observedAt: {
88129
+ format: "date-time",
88130
+ type: "string"
88131
+ },
88132
+ registered: {
88133
+ const: true,
88134
+ type: "boolean"
88135
+ },
88136
+ group: {
88137
+ const: "D",
88138
+ type: "string"
88139
+ },
88140
+ subgroup: {
88141
+ anyOf: [
88142
+ {
88143
+ pattern: "^D(?:[1-9]|1[0-9]|2[01])$",
88144
+ type: "string"
88145
+ },
88146
+ {
88147
+ type: "null"
88148
+ }
88149
+ ]
88150
+ }
88151
+ }
88152
+ },
88153
+ {
88154
+ additionalProperties: false,
88155
+ type: "object",
88156
+ required: [
88157
+ "source",
88158
+ "verification",
88159
+ "observedAt",
88160
+ "registered",
88161
+ "group",
88162
+ "subgroup"
88163
+ ],
88164
+ properties: {
88165
+ source: {
88166
+ const: "DNP-SISBEN-IV",
88167
+ type: "string"
88168
+ },
88169
+ verification: {
88170
+ anyOf: [
88171
+ {
88172
+ const: "source_report",
88173
+ type: "string"
88174
+ },
88175
+ {
88176
+ const: "last_known",
88177
+ type: "string"
88178
+ }
88179
+ ]
88180
+ },
88181
+ observedAt: {
88182
+ format: "date-time",
88183
+ type: "string"
88184
+ },
88185
+ registered: {
88186
+ const: false,
88187
+ type: "boolean"
88188
+ },
88189
+ group: {
88190
+ type: "null"
88191
+ },
88192
+ subgroup: {
88193
+ type: "null"
88194
+ }
88195
+ }
88196
+ },
88197
+ {
88198
+ additionalProperties: false,
88199
+ type: "object",
88200
+ required: [
88201
+ "source",
88202
+ "verification",
88203
+ "registered",
88204
+ "group",
88205
+ "subgroup",
88206
+ "observedAt"
88207
+ ],
88208
+ properties: {
88209
+ source: {
88210
+ const: "DNP-SISBEN-IV",
88211
+ type: "string"
88212
+ },
88213
+ verification: {
88214
+ anyOf: [
88215
+ {
88216
+ const: "unavailable",
88217
+ type: "string"
88218
+ },
88219
+ {
88220
+ const: "unsupported_document",
88221
+ type: "string"
88222
+ }
88223
+ ]
88224
+ },
88225
+ registered: {
88226
+ type: "null"
88227
+ },
88228
+ group: {
88229
+ type: "null"
88230
+ },
88231
+ subgroup: {
88232
+ type: "null"
88233
+ },
88234
+ observedAt: {
88235
+ type: "null"
88236
+ }
88237
+ }
88238
+ },
88239
+ {
88240
+ additionalProperties: false,
88241
+ type: "object",
88242
+ required: [
88243
+ "text"
88244
+ ],
88245
+ properties: {
88246
+ text: {
88247
+ minLength: 1,
88248
+ type: "string"
88249
+ }
88250
+ }
88251
+ }
88252
+ ]
88253
+ },
88254
+ SisbenClassificationPresentationResponse: {
88255
+ type: "object",
88256
+ description: "A successful answer.",
88257
+ additionalProperties: false,
88258
+ required: [
88259
+ "success",
88260
+ "data",
88261
+ "error",
88262
+ "metadata"
88263
+ ],
88264
+ properties: {
88265
+ success: {
88266
+ type: "boolean",
88267
+ enum: [
88268
+ true
88269
+ ]
88270
+ },
88271
+ data: {
88272
+ $ref: "#/components/schemas/SisbenClassificationPresentation"
88273
+ },
88274
+ error: {
88275
+ const: null
88276
+ },
88277
+ metadata: {
88278
+ $ref: "#/components/schemas/ResponseMetadata"
88279
+ }
88280
+ }
88281
+ },
88282
+ SisbenLookupClassificationBody: {
88283
+ additionalProperties: false,
88284
+ type: "object",
88285
+ required: [
88286
+ "documentType",
88287
+ "documentNumber"
88288
+ ],
88289
+ properties: {
88290
+ documentType: {
88291
+ pattern: "^[A-Z]{2}$",
88292
+ type: "string"
88293
+ },
88294
+ documentNumber: {
88295
+ pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
88296
+ type: "string"
88297
+ },
88298
+ agentMode: {
88299
+ default: false,
88300
+ description: "Return a concise Spanish presentation of the same observation.",
88301
+ type: "boolean"
88302
+ }
88303
+ }
88304
+ },
86608
88305
  SomosAvailabilitySlot: {
86609
88306
  additionalProperties: false,
86610
88307
  type: "object",
@@ -101294,6 +102991,57 @@ var schemaComponents = {
101294
102991
  }
101295
102992
  }
101296
102993
  },
102994
+ AdresAffiliationsLookupInput: {
102995
+ additionalProperties: false,
102996
+ type: "object",
102997
+ required: [
102998
+ "documentType",
102999
+ "documentNumber"
103000
+ ],
103001
+ properties: {
103002
+ documentType: {
103003
+ anyOf: [
103004
+ {
103005
+ const: "CC",
103006
+ type: "string"
103007
+ },
103008
+ {
103009
+ const: "CE",
103010
+ type: "string"
103011
+ },
103012
+ {
103013
+ const: "TI",
103014
+ type: "string"
103015
+ },
103016
+ {
103017
+ const: "RC",
103018
+ type: "string"
103019
+ },
103020
+ {
103021
+ const: "CN",
103022
+ type: "string"
103023
+ },
103024
+ {
103025
+ const: "NU",
103026
+ type: "string"
103027
+ },
103028
+ {
103029
+ const: "MS",
103030
+ type: "string"
103031
+ }
103032
+ ]
103033
+ },
103034
+ documentNumber: {
103035
+ pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
103036
+ type: "string"
103037
+ },
103038
+ agentMode: {
103039
+ default: false,
103040
+ description: "Return a concise Spanish presentation of the same observation.",
103041
+ type: "boolean"
103042
+ }
103043
+ }
103044
+ },
101297
103045
  AgendaAppointmentsListInput: {
101298
103046
  additionalProperties: false,
101299
103047
  type: "object",
@@ -107339,230 +109087,294 @@ var schemaComponents = {
107339
109087
  ],
107340
109088
  additionalProperties: false
107341
109089
  },
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: {
109090
+ OrsovisionPatientsCreateInput: {
109091
+ $schema: "https://json-schema.org/draft/2020-12/schema",
109092
+ additionalProperties: false,
109093
+ type: "object",
109094
+ required: [
109095
+ "agency",
109096
+ "documentType",
109097
+ "documentNumber",
109098
+ "firstName1",
109099
+ "lastName1",
109100
+ "sex",
109101
+ "birthDate",
109102
+ "country",
109103
+ "departmentCode",
109104
+ "municipalityCode",
109105
+ "address"
109106
+ ],
109107
+ properties: {
109108
+ agency: {
109109
+ description: "Sede elegida de list_agencies. Solo envía el formulario de registro; NO implica la residencia del paciente.",
109110
+ type: "string"
109111
+ },
109112
+ documentType: {
109113
+ description: "Tipo exacto tal como aparece en el documento; nunca lo infieras.",
109114
+ type: "string"
109115
+ },
109116
+ documentNumber: {
109117
+ description: "Documento confirmado sin espacios, puntos ni guiones.",
109118
+ type: "string"
109119
+ },
109120
+ firstName1: {
109121
+ description: "Primer nombre confirmado.",
109122
+ type: "string"
109123
+ },
109124
+ lastName1: {
109125
+ description: "Primer apellido confirmado.",
109126
+ type: "string"
109127
+ },
109128
+ sex: {
109129
+ description: "M o F confirmado; nunca lo infieras del nombre ni de la voz.",
109130
+ type: "string"
109131
+ },
109132
+ birthDate: {
109133
+ description: "Nacimiento YYYY-MM-DD; léelo de vuelta antes de crear el registro.",
109134
+ type: "string"
109135
+ },
109136
+ country: {
109137
+ description: "Código del país de residencia, normalmente COL cuando se confirma.",
109138
+ type: "string"
109139
+ },
109140
+ departmentCode: {
109141
+ description: "Código DANE del departamento de RESIDENCIA del paciente. No lo deduzcas de la sede elegida.",
109142
+ type: "string"
109143
+ },
109144
+ municipalityCode: {
109145
+ description: "Código DANE del municipio de RESIDENCIA del paciente. No lo deduzcas de la sede elegida.",
109146
+ type: "string"
109147
+ },
109148
+ phoneMobile: {
109149
+ description: "Celular, solo dígitos. Omítelo si la persona se niega a darlo.",
109150
+ type: "string"
109151
+ },
109152
+ email: {
109153
+ description: "Correo válido. Omítelo si no hay; nunca lo inventes.",
109154
+ type: "string"
109155
+ },
109156
+ address: {
109157
+ description: "Dirección de residencia del paciente. Confírmala; no sustituyas la dirección de la clínica.",
109158
+ type: "string"
109159
+ },
109160
+ connectionId: {
109161
+ minLength: 5,
109162
+ maxLength: 68,
109163
+ pattern: "^con_[0-9A-Za-z]+$",
109164
+ 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.",
109165
+ type: "string"
109166
+ },
109167
+ channel: {
109168
+ anyOf: [
109169
+ {
109170
+ const: "voice",
109171
+ type: "string"
109172
+ },
109173
+ {
109174
+ const: "web",
109175
+ type: "string"
109176
+ },
109177
+ {
109178
+ const: "whatsapp",
109179
+ type: "string"
109180
+ }
109181
+ ],
109182
+ description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
109183
+ }
109184
+ }
109185
+ },
109186
+ OrsovisionPatientsCorrectInput: {
109187
+ $schema: "https://json-schema.org/draft/2020-12/schema",
109188
+ additionalProperties: false,
109189
+ type: "object",
109190
+ required: [
109191
+ "documentNumber",
109192
+ "agency"
109193
+ ],
109194
+ properties: {
109195
+ documentNumber: {
109196
+ description: "Documento del paciente existente.",
109197
+ type: "string"
109198
+ },
109199
+ agency: {
109200
+ description: "Sede usada para enviar el formulario del paciente.",
109201
+ type: "string"
109202
+ },
109203
+ phoneMobile: {
109204
+ description: "Celular corregido; omítelo si no cambió.",
109205
+ type: "string"
109206
+ },
109207
+ email: {
109208
+ description: "Correo corregido; omítelo si no cambió.",
109209
+ type: "string"
109210
+ },
109211
+ address: {
109212
+ description: "Dirección corregida; omítela si no cambió.",
109213
+ type: "string"
109214
+ },
109215
+ phoneOffice: {
109216
+ description: "Teléfono fijo corregido; omítelo si no cambió.",
109217
+ type: "string"
109218
+ },
109219
+ connectionId: {
109220
+ minLength: 5,
109221
+ maxLength: 68,
109222
+ pattern: "^con_[0-9A-Za-z]+$",
109223
+ 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.",
109224
+ type: "string"
109225
+ },
109226
+ channel: {
109227
+ anyOf: [
109228
+ {
109229
+ const: "voice",
109230
+ type: "string"
109231
+ },
109232
+ {
109233
+ const: "web",
109234
+ type: "string"
109235
+ },
109236
+ {
109237
+ const: "whatsapp",
109238
+ type: "string"
109239
+ }
109240
+ ],
109241
+ description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
109242
+ }
109243
+ }
109244
+ },
109245
+ OrsovisionPatientsLookupInput: {
109246
+ $schema: "https://json-schema.org/draft/2020-12/schema",
109247
+ additionalProperties: false,
109248
+ type: "object",
109249
+ required: [
109250
+ "documentNumber"
109251
+ ],
109252
+ properties: {
109253
+ documentNumber: {
109254
+ 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.",
109255
+ type: "string"
109256
+ },
109257
+ agency: {
109258
+ 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.",
109259
+ type: "string"
109260
+ },
109261
+ includePast: {
109262
+ 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.",
109263
+ type: "boolean"
109264
+ },
109265
+ pastDays: {
109266
+ description: "Con includePast, limita pastAppointments a los últimos N días (p. ej. 3 para '¿vine esta semana?'). Omítelo para el historial completo.",
109267
+ type: "integer"
109268
+ },
109269
+ connectionId: {
109270
+ minLength: 5,
109271
+ maxLength: 68,
109272
+ pattern: "^con_[0-9A-Za-z]+$",
109273
+ 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.",
109274
+ type: "string"
109275
+ },
109276
+ channel: {
109277
+ anyOf: [
109278
+ {
109279
+ const: "voice",
109280
+ type: "string"
109281
+ },
109282
+ {
109283
+ const: "web",
109284
+ type: "string"
109285
+ },
109286
+ {
109287
+ const: "whatsapp",
109288
+ type: "string"
109289
+ }
109290
+ ],
109291
+ description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
109292
+ }
109293
+ }
109294
+ },
109295
+ OrsovisionServicesListInput: {
109296
+ type: "object",
109297
+ properties: {
109298
+ code: {
109299
+ description: "Código de contrato devuelto por list_contracts para la misma sede.",
109300
+ type: "string"
109301
+ },
109302
+ agency: {
109303
+ description: "El mismo código de sede usado en list_contracts.",
109304
+ type: "string"
109305
+ },
109306
+ q: {
109307
+ description: "Texto opcional del servicio: optometria, tamizaje, montura, lentes o el nombre del procedimiento.",
109308
+ type: "string"
109309
+ },
109310
+ refresh: {
109311
+ 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.",
109312
+ type: "boolean"
109313
+ },
109314
+ cursor: {
109315
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
109316
+ type: "string"
109317
+ },
109318
+ direction: {
109319
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
109320
+ anyOf: [
109321
+ {
109322
+ const: "forward",
109323
+ type: "string"
109324
+ },
109325
+ {
109326
+ const: "backward",
109327
+ type: "string"
109328
+ }
109329
+ ],
109330
+ default: "forward"
109331
+ },
109332
+ limit: {
109333
+ minimum: 1,
109334
+ maximum: 100,
109335
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
109336
+ type: "integer",
109337
+ default: 25
109338
+ },
109339
+ connectionId: {
109340
+ minLength: 5,
109341
+ maxLength: 68,
109342
+ pattern: "^con_[0-9A-Za-z]+$",
109343
+ 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.",
109344
+ type: "string"
109345
+ },
109346
+ channel: {
109347
+ anyOf: [
109348
+ {
109349
+ const: "voice",
109350
+ type: "string"
109351
+ },
109352
+ {
109353
+ const: "web",
109354
+ type: "string"
109355
+ },
109356
+ {
109357
+ const: "whatsapp",
109358
+ type: "string"
109359
+ }
109360
+ ],
109361
+ description: "The channel the conversation happens on: voice, whatsapp or web (the default)."
109362
+ },
109363
+ search: {
109364
+ description: "Deprecated: use `q`. Answered until 2027-01-28.",
109365
+ type: "string",
109366
+ deprecated: true
109367
+ }
109368
+ },
109369
+ required: [
109370
+ "code",
109371
+ "agency"
109372
+ ],
109373
+ additionalProperties: false
109374
+ },
109375
+ OrsovisionToolsListInput: {
107548
109376
  type: "object",
107549
109377
  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
109378
  cursor: {
107567
109379
  description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
107568
109380
  type: "string"
@@ -107594,73 +109406,52 @@ var schemaComponents = {
107594
109406
  pattern: "^con_[0-9A-Za-z]+$",
107595
109407
  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
109408
  type: "string"
107597
- },
107598
- channel: {
109409
+ }
109410
+ },
109411
+ additionalProperties: false
109412
+ },
109413
+ PoliciaColombiaJudicialRecordsLookupInput: {
109414
+ additionalProperties: false,
109415
+ type: "object",
109416
+ required: [
109417
+ "documentType",
109418
+ "documentNumber"
109419
+ ],
109420
+ properties: {
109421
+ documentType: {
107599
109422
  anyOf: [
107600
109423
  {
107601
- const: "voice",
109424
+ const: "CC",
107602
109425
  type: "string"
107603
109426
  },
107604
109427
  {
107605
- const: "web",
109428
+ const: "CE",
107606
109429
  type: "string"
107607
109430
  },
107608
109431
  {
107609
- const: "whatsapp",
109432
+ const: "PA",
107610
109433
  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: [
109434
+ },
107637
109435
  {
107638
- const: "forward",
109436
+ const: "PPT",
107639
109437
  type: "string"
107640
109438
  },
107641
109439
  {
107642
- const: "backward",
109440
+ const: "DP",
107643
109441
  type: "string"
107644
109442
  }
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
109443
+ ]
107654
109444
  },
107655
- connectionId: {
107656
- minLength: 5,
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.",
109445
+ documentNumber: {
109446
+ pattern: "^[A-Z0-9]{1,20}$",
107660
109447
  type: "string"
109448
+ },
109449
+ agentMode: {
109450
+ default: false,
109451
+ description: "Return a concise Spanish presentation of the same observation.",
109452
+ type: "boolean"
107661
109453
  }
107662
- },
107663
- additionalProperties: false
109454
+ }
107664
109455
  },
107665
109456
  RaizAgentsListInput: {
107666
109457
  type: "object",
@@ -113075,6 +114866,29 @@ var schemaComponents = {
113075
114866
  ],
113076
114867
  additionalProperties: false
113077
114868
  },
114869
+ SisbenClassificationsLookupInput: {
114870
+ additionalProperties: false,
114871
+ type: "object",
114872
+ required: [
114873
+ "documentType",
114874
+ "documentNumber"
114875
+ ],
114876
+ properties: {
114877
+ documentType: {
114878
+ pattern: "^[A-Z]{2}$",
114879
+ type: "string"
114880
+ },
114881
+ documentNumber: {
114882
+ pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
114883
+ type: "string"
114884
+ },
114885
+ agentMode: {
114886
+ default: false,
114887
+ description: "Return a concise Spanish presentation of the same observation.",
114888
+ type: "boolean"
114889
+ }
114890
+ }
114891
+ },
113078
114892
  SomosAppointmentsCreateInput: {
113079
114893
  $schema: "https://json-schema.org/draft/2020-12/schema",
113080
114894
  additionalProperties: false,
@@ -116723,9 +118537,9 @@ var schemaComponents = {
116723
118537
  // src/generated/generation.json
116724
118538
  var generation_default = {
116725
118539
  formatVersion: 6,
116726
- release: "1.20261101.31954",
116727
- openapiSha256: "93c44b654c1efa3558be518203aa2e8f3e08c1e842b37e7d54e166366ce90a2f",
116728
- openapiContentSha256: "73d13da2ed2bc32d58a246b86b26ed7e6ac1ba2ea72c3d5fcf494f79cc62ef3d",
118540
+ release: "1.20261101.50133",
118541
+ openapiSha256: "8d21074b9ddd85fdc62f5e87426ea93caa0b71de564823fe856a4fb91ec75f83",
118542
+ openapiContentSha256: "b5391b5c8b2e6b4cb27f0005a1fdb1b50531d5f455fb868b039f51e7587e03da",
116729
118543
  forge: {
116730
118544
  repository: "https://github.com/cloudflare/forge",
116731
118545
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -116738,7 +118552,7 @@ var generation_default = {
116738
118552
  outputs: [
116739
118553
  {
116740
118554
  path: "src/generated/commands.ts",
116741
- sha256: "646f93af867d4c9111dea44d4d90eac8a536267eed49321e6af0774c96271246"
118555
+ sha256: "219d8626378db6381556649b8a30c75e00760cb7cb418aca8d25823557f2a5a6"
116742
118556
  }
116743
118557
  ]
116744
118558
  };
@@ -117093,7 +118907,7 @@ ${name}`);
117093
118907
  }
117094
118908
 
117095
118909
  // src/index.ts
117096
- var VERSION = "3.22.0";
118910
+ var VERSION = "3.24.0";
117097
118911
  var RELEASE = generation_default.release;
117098
118912
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
117099
118913
  var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();