@arbol-ai/cli 3.23.0 → 3.25.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/README.md +4 -1
- package/dist/index.js +335 -461
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -116,7 +116,10 @@ ARBOL_API_KEY="$(cat /secure/path/arbol-key)" arbol visoft connections list
|
|
|
116
116
|
arbol sura appointments lookup --api-key-stdin < /secure/path/arbol-key
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
Commands are `arbol <service> <resource> <verb> [id]`, the operation's public name.
|
|
119
|
+
Commands are `arbol <service> <resource> <verb> [id]`, the operation's public name. A service is one
|
|
120
|
+
word: its published id without hyphens, so `salud-total.affiliations.lookup` is
|
|
121
|
+
`arbol saludtotal affiliations lookup` (and `policia-colombia` is `policiacolombia`). The published id
|
|
122
|
+
still works where you typed it before (`arbol salud-total …`). `arbol <service>`
|
|
120
123
|
lists a service's commands; `--help` after one prints its fields, the values each accepts, their
|
|
121
124
|
defaults and an example. `--dry-run` prints the request a command would send (method, URL and body)
|
|
122
125
|
without reading a credential or sending anything. A deletion asks for confirmation on a terminal; a
|
package/dist/index.js
CHANGED
|
@@ -12276,7 +12276,7 @@ var commands = {
|
|
|
12276
12276
|
confirmation: null,
|
|
12277
12277
|
hidden: false
|
|
12278
12278
|
},
|
|
12279
|
-
"
|
|
12279
|
+
"nuevaeps affiliations lookup": {
|
|
12280
12280
|
operation: "nueva-eps.affiliations.lookup",
|
|
12281
12281
|
sdkPath: [
|
|
12282
12282
|
"nuevaEps",
|
|
@@ -12520,7 +12520,7 @@ var commands = {
|
|
|
12520
12520
|
confirmation: null,
|
|
12521
12521
|
hidden: false
|
|
12522
12522
|
},
|
|
12523
|
-
"
|
|
12523
|
+
"nuevaeps connections delete": {
|
|
12524
12524
|
operation: "nueva-eps.connections.delete",
|
|
12525
12525
|
sdkPath: [
|
|
12526
12526
|
"nuevaEps",
|
|
@@ -12549,7 +12549,7 @@ var commands = {
|
|
|
12549
12549
|
confirmation: "Remove a provider connection. This cannot be undone.",
|
|
12550
12550
|
hidden: false
|
|
12551
12551
|
},
|
|
12552
|
-
"
|
|
12552
|
+
"nuevaeps connections get": {
|
|
12553
12553
|
operation: "nueva-eps.connections.get",
|
|
12554
12554
|
sdkPath: [
|
|
12555
12555
|
"nuevaEps",
|
|
@@ -12578,7 +12578,7 @@ var commands = {
|
|
|
12578
12578
|
confirmation: null,
|
|
12579
12579
|
hidden: false
|
|
12580
12580
|
},
|
|
12581
|
-
"
|
|
12581
|
+
"nuevaeps connections list": {
|
|
12582
12582
|
operation: "nueva-eps.connections.list",
|
|
12583
12583
|
sdkPath: [
|
|
12584
12584
|
"nuevaEps",
|
|
@@ -12652,7 +12652,7 @@ var commands = {
|
|
|
12652
12652
|
confirmation: null,
|
|
12653
12653
|
hidden: false
|
|
12654
12654
|
},
|
|
12655
|
-
"
|
|
12655
|
+
"nuevaeps connections verify": {
|
|
12656
12656
|
operation: "nueva-eps.connections.verify",
|
|
12657
12657
|
sdkPath: [
|
|
12658
12658
|
"nuevaEps",
|
|
@@ -14366,7 +14366,7 @@ var commands = {
|
|
|
14366
14366
|
confirmation: null,
|
|
14367
14367
|
hidden: false
|
|
14368
14368
|
},
|
|
14369
|
-
"
|
|
14369
|
+
"policiacolombia judicial-records lookup": {
|
|
14370
14370
|
operation: "policia-colombia.judicialRecords.lookup",
|
|
14371
14371
|
sdkPath: [
|
|
14372
14372
|
"policiaColombia",
|
|
@@ -23275,7 +23275,7 @@ var commands = {
|
|
|
23275
23275
|
confirmation: null,
|
|
23276
23276
|
hidden: false
|
|
23277
23277
|
},
|
|
23278
|
-
"
|
|
23278
|
+
"saludtotal affiliations lookup": {
|
|
23279
23279
|
operation: "salud-total.affiliations.lookup",
|
|
23280
23280
|
sdkPath: [
|
|
23281
23281
|
"saludTotal",
|
|
@@ -23341,7 +23341,7 @@ var commands = {
|
|
|
23341
23341
|
confirmation: null,
|
|
23342
23342
|
hidden: false
|
|
23343
23343
|
},
|
|
23344
|
-
"
|
|
23344
|
+
"saludtotal authorizations lookup": {
|
|
23345
23345
|
operation: "salud-total.authorizations.lookup",
|
|
23346
23346
|
sdkPath: [
|
|
23347
23347
|
"saludTotal",
|
|
@@ -23457,7 +23457,7 @@ var commands = {
|
|
|
23457
23457
|
confirmation: null,
|
|
23458
23458
|
hidden: false
|
|
23459
23459
|
},
|
|
23460
|
-
"
|
|
23460
|
+
"saludtotal filings lookup": {
|
|
23461
23461
|
operation: "salud-total.filings.lookup",
|
|
23462
23462
|
sdkPath: [
|
|
23463
23463
|
"saludTotal",
|
|
@@ -23573,7 +23573,7 @@ var commands = {
|
|
|
23573
23573
|
confirmation: null,
|
|
23574
23574
|
hidden: false
|
|
23575
23575
|
},
|
|
23576
|
-
"
|
|
23576
|
+
"saludtotal invoices lookup": {
|
|
23577
23577
|
operation: "salud-total.invoices.lookup",
|
|
23578
23578
|
sdkPath: [
|
|
23579
23579
|
"saludTotal",
|
|
@@ -23635,7 +23635,7 @@ var commands = {
|
|
|
23635
23635
|
confirmation: null,
|
|
23636
23636
|
hidden: false
|
|
23637
23637
|
},
|
|
23638
|
-
"
|
|
23638
|
+
"saludtotal notices count": {
|
|
23639
23639
|
operation: "salud-total.notices.count",
|
|
23640
23640
|
sdkPath: [
|
|
23641
23641
|
"saludTotal",
|
|
@@ -32024,7 +32024,7 @@ var schemaComponents = {
|
|
|
32024
32024
|
type: "string"
|
|
32025
32025
|
},
|
|
32026
32026
|
{
|
|
32027
|
-
$ref: "#/components/schemas/
|
|
32027
|
+
$ref: "#/components/schemas/AccountSisbenClassification",
|
|
32028
32028
|
description: "DNP registration and household classification at the source observation time. Unknown registration is null."
|
|
32029
32029
|
}
|
|
32030
32030
|
]
|
|
@@ -36220,6 +36220,308 @@ var schemaComponents = {
|
|
|
36220
36220
|
}
|
|
36221
36221
|
}
|
|
36222
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
|
+
},
|
|
36223
36525
|
AccountUpdateBillingProfileBody: {
|
|
36224
36526
|
additionalProperties: false,
|
|
36225
36527
|
type: "object",
|
|
@@ -36834,7 +37136,6 @@ var schemaComponents = {
|
|
|
36834
37136
|
"source",
|
|
36835
37137
|
"consultedAt",
|
|
36836
37138
|
"verification",
|
|
36837
|
-
"sisben",
|
|
36838
37139
|
"outcome",
|
|
36839
37140
|
"person",
|
|
36840
37141
|
"affiliations"
|
|
@@ -36863,47 +37164,6 @@ var schemaComponents = {
|
|
|
36863
37164
|
}
|
|
36864
37165
|
]
|
|
36865
37166
|
},
|
|
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
37167
|
outcome: {
|
|
36908
37168
|
const: "found",
|
|
36909
37169
|
type: "string"
|
|
@@ -37161,7 +37421,6 @@ var schemaComponents = {
|
|
|
37161
37421
|
"source",
|
|
37162
37422
|
"consultedAt",
|
|
37163
37423
|
"verification",
|
|
37164
|
-
"sisben",
|
|
37165
37424
|
"outcome",
|
|
37166
37425
|
"person",
|
|
37167
37426
|
"affiliations"
|
|
@@ -37190,47 +37449,6 @@ var schemaComponents = {
|
|
|
37190
37449
|
}
|
|
37191
37450
|
]
|
|
37192
37451
|
},
|
|
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
37452
|
outcome: {
|
|
37235
37453
|
const: "not_found",
|
|
37236
37454
|
type: "string"
|
|
@@ -68227,10 +68445,7 @@ var schemaComponents = {
|
|
|
68227
68445
|
required: [
|
|
68228
68446
|
"documentType",
|
|
68229
68447
|
"documentNumber",
|
|
68230
|
-
"givenName",
|
|
68231
|
-
"familyName",
|
|
68232
68448
|
"fullName",
|
|
68233
|
-
"arrayName",
|
|
68234
68449
|
"judicialStatus",
|
|
68235
68450
|
"observedAt",
|
|
68236
68451
|
"details",
|
|
@@ -68265,30 +68480,6 @@ var schemaComponents = {
|
|
|
68265
68480
|
pattern: "^[A-Z0-9]{1,20}$",
|
|
68266
68481
|
type: "string"
|
|
68267
68482
|
},
|
|
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
68483
|
fullName: {
|
|
68293
68484
|
anyOf: [
|
|
68294
68485
|
{
|
|
@@ -68301,29 +68492,16 @@ var schemaComponents = {
|
|
|
68301
68492
|
}
|
|
68302
68493
|
]
|
|
68303
68494
|
},
|
|
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
68495
|
judicialStatus: {
|
|
68322
68496
|
anyOf: [
|
|
68323
68497
|
{
|
|
68324
68498
|
const: "no_pending_matters",
|
|
68325
68499
|
type: "string"
|
|
68326
68500
|
},
|
|
68501
|
+
{
|
|
68502
|
+
const: "not_currently_required",
|
|
68503
|
+
type: "string"
|
|
68504
|
+
},
|
|
68327
68505
|
{
|
|
68328
68506
|
const: "pending_matters",
|
|
68329
68507
|
type: "string"
|
|
@@ -68368,10 +68546,7 @@ var schemaComponents = {
|
|
|
68368
68546
|
required: [
|
|
68369
68547
|
"documentType",
|
|
68370
68548
|
"documentNumber",
|
|
68371
|
-
"givenName",
|
|
68372
|
-
"familyName",
|
|
68373
68549
|
"fullName",
|
|
68374
|
-
"arrayName",
|
|
68375
68550
|
"identityStatus",
|
|
68376
68551
|
"judicialStatus",
|
|
68377
68552
|
"observedAt",
|
|
@@ -68406,18 +68581,9 @@ var schemaComponents = {
|
|
|
68406
68581
|
pattern: "^[A-Z0-9]{1,20}$",
|
|
68407
68582
|
type: "string"
|
|
68408
68583
|
},
|
|
68409
|
-
givenName: {
|
|
68410
|
-
type: "null"
|
|
68411
|
-
},
|
|
68412
|
-
familyName: {
|
|
68413
|
-
type: "null"
|
|
68414
|
-
},
|
|
68415
68584
|
fullName: {
|
|
68416
68585
|
type: "null"
|
|
68417
68586
|
},
|
|
68418
|
-
arrayName: {
|
|
68419
|
-
type: "null"
|
|
68420
|
-
},
|
|
68421
68587
|
identityStatus: {
|
|
68422
68588
|
const: "unverified",
|
|
68423
68589
|
type: "string"
|
|
@@ -87770,308 +87936,6 @@ var schemaComponents = {
|
|
|
87770
87936
|
}
|
|
87771
87937
|
}
|
|
87772
87938
|
},
|
|
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
87939
|
SisbenClassificationPresentation: {
|
|
88076
87940
|
anyOf: [
|
|
88077
87941
|
{
|
|
@@ -118673,9 +118537,9 @@ var schemaComponents = {
|
|
|
118673
118537
|
// src/generated/generation.json
|
|
118674
118538
|
var generation_default = {
|
|
118675
118539
|
formatVersion: 6,
|
|
118676
|
-
release: "1.20261101.
|
|
118677
|
-
openapiSha256: "
|
|
118678
|
-
openapiContentSha256: "
|
|
118540
|
+
release: "1.20261101.50133",
|
|
118541
|
+
openapiSha256: "8d21074b9ddd85fdc62f5e87426ea93caa0b71de564823fe856a4fb91ec75f83",
|
|
118542
|
+
openapiContentSha256: "b5391b5c8b2e6b4cb27f0005a1fdb1b50531d5f455fb868b039f51e7587e03da",
|
|
118679
118543
|
forge: {
|
|
118680
118544
|
repository: "https://github.com/cloudflare/forge",
|
|
118681
118545
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -118688,7 +118552,7 @@ var generation_default = {
|
|
|
118688
118552
|
outputs: [
|
|
118689
118553
|
{
|
|
118690
118554
|
path: "src/generated/commands.ts",
|
|
118691
|
-
sha256: "
|
|
118555
|
+
sha256: "8a2743d6daadceddc6436c7df70ffeb94ae53fc351ebce56b4717938555b24a7"
|
|
118692
118556
|
}
|
|
118693
118557
|
]
|
|
118694
118558
|
};
|
|
@@ -119043,10 +118907,19 @@ ${name}`);
|
|
|
119043
118907
|
}
|
|
119044
118908
|
|
|
119045
118909
|
// src/index.ts
|
|
119046
|
-
var VERSION = "3.
|
|
118910
|
+
var VERSION = "3.25.0";
|
|
119047
118911
|
var RELEASE = generation_default.release;
|
|
119048
118912
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
119049
118913
|
var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
|
|
118914
|
+
var SERVICE_IDS = new Map(Object.entries(commands).map(([name, command]) => [
|
|
118915
|
+
command.operation.split(".")[0] ?? "",
|
|
118916
|
+
name.split(" ")[0] ?? ""
|
|
118917
|
+
]));
|
|
118918
|
+
function commandWords(words) {
|
|
118919
|
+
const [first, ...rest] = words;
|
|
118920
|
+
const service = first === undefined ? undefined : SERVICE_IDS.get(first);
|
|
118921
|
+
return service === undefined ? words : [service, ...rest];
|
|
118922
|
+
}
|
|
119050
118923
|
var HELP = `Arbol CLI ${VERSION} (Arbol API ${RELEASE}): the Arbol platform from your terminal.
|
|
119051
118924
|
|
|
119052
118925
|
Usage
|
|
@@ -119227,7 +119100,7 @@ Run one with --help to see its fields.
|
|
|
119227
119100
|
`;
|
|
119228
119101
|
}
|
|
119229
119102
|
async function main(argv, { root, keys } = {}) {
|
|
119230
|
-
const words = parseArgs({ args: argv, allowPositionals: true, strict: false, options: GLOBAL }).positionals;
|
|
119103
|
+
const words = commandWords(parseArgs({ args: argv, allowPositionals: true, strict: false, options: GLOBAL }).positionals);
|
|
119231
119104
|
const found = words[0] === "auth" ? null : findCommand(words);
|
|
119232
119105
|
const fieldOptions = Object.fromEntries((found?.command.fields ?? []).map((field) => [field.flag, { type: "string" }]));
|
|
119233
119106
|
let parsed;
|
|
@@ -119242,7 +119115,8 @@ async function main(argv, { root, keys } = {}) {
|
|
|
119242
119115
|
throw new UsageError(`${error instanceof Error ? error.message : String(error)}
|
|
119243
119116
|
Run arbol --help.`);
|
|
119244
119117
|
}
|
|
119245
|
-
const {
|
|
119118
|
+
const { values } = parsed;
|
|
119119
|
+
const positionals = commandWords(parsed.positionals);
|
|
119246
119120
|
if (values.version) {
|
|
119247
119121
|
process.stdout.write(`arbol ${VERSION} (Arbol API ${RELEASE})
|
|
119248
119122
|
`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.25.0",
|
|
4
4
|
"description": "The Arbol CLI: the Arbol API from your terminal, with commands generated by Cloudflare Forge from the public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"verify:with-tests": "bun run typecheck && bun run test && bun run build"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@arbol-ai/sdk": "5.
|
|
48
|
+
"@arbol-ai/sdk": "5.24.0",
|
|
49
49
|
"ajv": "8.20.0",
|
|
50
50
|
"ajv-formats": "3.0.1",
|
|
51
51
|
"oauth4webapi": "3.8.8"
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"packageManager": "bun@1.4.3",
|
|
61
61
|
"arbol": {
|
|
62
62
|
"openapi": {
|
|
63
|
-
"release": "1.20261101.
|
|
64
|
-
"sha256": "
|
|
63
|
+
"release": "1.20261101.50133",
|
|
64
|
+
"sha256": "b5391b5c8b2e6b4cb27f0005a1fdb1b50531d5f455fb868b039f51e7587e03da"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|