@arbol-ai/cli 3.15.0 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +402 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -923,6 +923,78 @@ var commands = {
|
|
|
923
923
|
confirmation: null,
|
|
924
924
|
hidden: false
|
|
925
925
|
},
|
|
926
|
+
"account colombian-records lookup": {
|
|
927
|
+
operation: "account.colombianRecords.lookup",
|
|
928
|
+
sdkPath: [
|
|
929
|
+
"account",
|
|
930
|
+
"colombianRecords",
|
|
931
|
+
"lookup"
|
|
932
|
+
],
|
|
933
|
+
pathField: null,
|
|
934
|
+
fields: [
|
|
935
|
+
{
|
|
936
|
+
name: "integration",
|
|
937
|
+
flag: "integration",
|
|
938
|
+
kind: "string",
|
|
939
|
+
required: true,
|
|
940
|
+
description: "",
|
|
941
|
+
choices: [
|
|
942
|
+
"adres",
|
|
943
|
+
"sisben"
|
|
944
|
+
]
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
name: "documentType",
|
|
948
|
+
flag: "document-type",
|
|
949
|
+
kind: "string",
|
|
950
|
+
required: true,
|
|
951
|
+
description: ""
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
name: "documentNumber",
|
|
955
|
+
flag: "document-number",
|
|
956
|
+
kind: "string",
|
|
957
|
+
required: true,
|
|
958
|
+
description: ""
|
|
959
|
+
}
|
|
960
|
+
],
|
|
961
|
+
inputSchema: {
|
|
962
|
+
additionalProperties: false,
|
|
963
|
+
type: "object",
|
|
964
|
+
required: [
|
|
965
|
+
"integration",
|
|
966
|
+
"documentType",
|
|
967
|
+
"documentNumber"
|
|
968
|
+
],
|
|
969
|
+
properties: {
|
|
970
|
+
integration: {
|
|
971
|
+
anyOf: [
|
|
972
|
+
{
|
|
973
|
+
const: "adres",
|
|
974
|
+
type: "string"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
const: "sisben",
|
|
978
|
+
type: "string"
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
},
|
|
982
|
+
documentType: {
|
|
983
|
+
pattern: "^[A-Z]{2}$",
|
|
984
|
+
type: "string"
|
|
985
|
+
},
|
|
986
|
+
documentNumber: {
|
|
987
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
988
|
+
type: "string"
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
title: "Consult an included Colombian source",
|
|
993
|
+
description: "Run one included consultation in the signed-in organization.",
|
|
994
|
+
effect: "read",
|
|
995
|
+
confirmation: null,
|
|
996
|
+
hidden: false
|
|
997
|
+
},
|
|
926
998
|
"account connections list": {
|
|
927
999
|
operation: "account.connections.list",
|
|
928
1000
|
sdkPath: [
|
|
@@ -958,6 +1030,17 @@ var commands = {
|
|
|
958
1030
|
required: false,
|
|
959
1031
|
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
960
1032
|
default: 25
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
name: "tag",
|
|
1036
|
+
flag: "tag",
|
|
1037
|
+
kind: "string",
|
|
1038
|
+
required: false,
|
|
1039
|
+
description: "",
|
|
1040
|
+
choices: [
|
|
1041
|
+
"postconsulta",
|
|
1042
|
+
"facturacion"
|
|
1043
|
+
]
|
|
961
1044
|
}
|
|
962
1045
|
],
|
|
963
1046
|
inputSchema: {
|
|
@@ -989,6 +1072,18 @@ var commands = {
|
|
|
989
1072
|
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
990
1073
|
type: "integer",
|
|
991
1074
|
default: 25
|
|
1075
|
+
},
|
|
1076
|
+
tag: {
|
|
1077
|
+
anyOf: [
|
|
1078
|
+
{
|
|
1079
|
+
const: "postconsulta",
|
|
1080
|
+
type: "string"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
const: "facturacion",
|
|
1084
|
+
type: "string"
|
|
1085
|
+
}
|
|
1086
|
+
]
|
|
992
1087
|
}
|
|
993
1088
|
}
|
|
994
1089
|
},
|
|
@@ -1944,6 +2039,91 @@ var commands = {
|
|
|
1944
2039
|
confirmation: null,
|
|
1945
2040
|
hidden: false
|
|
1946
2041
|
},
|
|
2042
|
+
"account personal-consents prepare": {
|
|
2043
|
+
operation: "account.personalConsents.prepare",
|
|
2044
|
+
sdkPath: [
|
|
2045
|
+
"account",
|
|
2046
|
+
"personalConsents",
|
|
2047
|
+
"prepare"
|
|
2048
|
+
],
|
|
2049
|
+
pathField: null,
|
|
2050
|
+
fields: [
|
|
2051
|
+
{
|
|
2052
|
+
name: "documentType",
|
|
2053
|
+
flag: "document-type",
|
|
2054
|
+
kind: "string",
|
|
2055
|
+
required: true,
|
|
2056
|
+
description: "",
|
|
2057
|
+
choices: [
|
|
2058
|
+
"CC",
|
|
2059
|
+
"CE",
|
|
2060
|
+
"PA",
|
|
2061
|
+
"DP"
|
|
2062
|
+
]
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
name: "documentNumber",
|
|
2066
|
+
flag: "document-number",
|
|
2067
|
+
kind: "string",
|
|
2068
|
+
required: true,
|
|
2069
|
+
description: ""
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
name: "consent",
|
|
2073
|
+
flag: "consent",
|
|
2074
|
+
kind: "boolean",
|
|
2075
|
+
required: true,
|
|
2076
|
+
description: "",
|
|
2077
|
+
choices: [
|
|
2078
|
+
true
|
|
2079
|
+
]
|
|
2080
|
+
}
|
|
2081
|
+
],
|
|
2082
|
+
inputSchema: {
|
|
2083
|
+
additionalProperties: false,
|
|
2084
|
+
type: "object",
|
|
2085
|
+
required: [
|
|
2086
|
+
"documentType",
|
|
2087
|
+
"documentNumber",
|
|
2088
|
+
"consent"
|
|
2089
|
+
],
|
|
2090
|
+
properties: {
|
|
2091
|
+
documentType: {
|
|
2092
|
+
anyOf: [
|
|
2093
|
+
{
|
|
2094
|
+
const: "CC",
|
|
2095
|
+
type: "string"
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
const: "CE",
|
|
2099
|
+
type: "string"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
const: "PA",
|
|
2103
|
+
type: "string"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
const: "DP",
|
|
2107
|
+
type: "string"
|
|
2108
|
+
}
|
|
2109
|
+
]
|
|
2110
|
+
},
|
|
2111
|
+
documentNumber: {
|
|
2112
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
2113
|
+
type: "string"
|
|
2114
|
+
},
|
|
2115
|
+
consent: {
|
|
2116
|
+
const: true,
|
|
2117
|
+
type: "boolean"
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
title: "Prepare a personal Colombian Police declaration",
|
|
2122
|
+
description: "Send the holder’s explicitly accepted document and receive the matching personal-use declaration.",
|
|
2123
|
+
effect: "read",
|
|
2124
|
+
confirmation: null,
|
|
2125
|
+
hidden: false
|
|
2126
|
+
},
|
|
1947
2127
|
"account roles list": {
|
|
1948
2128
|
operation: "account.roles.list",
|
|
1949
2129
|
sdkPath: [
|
|
@@ -31520,6 +31700,50 @@ var schemaComponents = {
|
|
|
31520
31700
|
}
|
|
31521
31701
|
}
|
|
31522
31702
|
},
|
|
31703
|
+
AccountColombiaResourceEnvelope: {
|
|
31704
|
+
additionalProperties: false,
|
|
31705
|
+
type: "object",
|
|
31706
|
+
required: [
|
|
31707
|
+
"result"
|
|
31708
|
+
],
|
|
31709
|
+
properties: {
|
|
31710
|
+
result: {
|
|
31711
|
+
type: "object",
|
|
31712
|
+
patternProperties: {
|
|
31713
|
+
"^(.*)$": {}
|
|
31714
|
+
}
|
|
31715
|
+
}
|
|
31716
|
+
}
|
|
31717
|
+
},
|
|
31718
|
+
AccountColombiaResourceEnvelopeResponse: {
|
|
31719
|
+
type: "object",
|
|
31720
|
+
description: "A successful answer.",
|
|
31721
|
+
additionalProperties: false,
|
|
31722
|
+
required: [
|
|
31723
|
+
"success",
|
|
31724
|
+
"data",
|
|
31725
|
+
"error",
|
|
31726
|
+
"metadata"
|
|
31727
|
+
],
|
|
31728
|
+
properties: {
|
|
31729
|
+
success: {
|
|
31730
|
+
type: "boolean",
|
|
31731
|
+
enum: [
|
|
31732
|
+
true
|
|
31733
|
+
]
|
|
31734
|
+
},
|
|
31735
|
+
data: {
|
|
31736
|
+
$ref: "#/components/schemas/AccountColombiaResourceEnvelope",
|
|
31737
|
+
description: "The result from the selected Colombian source or the holder’s personal consent receipt."
|
|
31738
|
+
},
|
|
31739
|
+
error: {
|
|
31740
|
+
const: null
|
|
31741
|
+
},
|
|
31742
|
+
metadata: {
|
|
31743
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
31744
|
+
}
|
|
31745
|
+
}
|
|
31746
|
+
},
|
|
31523
31747
|
AccountConfigureOrganizationBody: {
|
|
31524
31748
|
additionalProperties: false,
|
|
31525
31749
|
type: "object",
|
|
@@ -31681,6 +31905,23 @@ var schemaComponents = {
|
|
|
31681
31905
|
],
|
|
31682
31906
|
description: "active: agents may use it. disabled: turned off. failed: agents cannot use it until Arbol's team reviews it."
|
|
31683
31907
|
},
|
|
31908
|
+
tags: {
|
|
31909
|
+
maxItems: 1,
|
|
31910
|
+
description: "The workflow labels assigned to this connection.",
|
|
31911
|
+
type: "array",
|
|
31912
|
+
items: {
|
|
31913
|
+
anyOf: [
|
|
31914
|
+
{
|
|
31915
|
+
const: "postconsulta",
|
|
31916
|
+
type: "string"
|
|
31917
|
+
},
|
|
31918
|
+
{
|
|
31919
|
+
const: "facturacion",
|
|
31920
|
+
type: "string"
|
|
31921
|
+
}
|
|
31922
|
+
]
|
|
31923
|
+
}
|
|
31924
|
+
},
|
|
31684
31925
|
summary: {
|
|
31685
31926
|
anyOf: [
|
|
31686
31927
|
{
|
|
@@ -32093,6 +32334,37 @@ var schemaComponents = {
|
|
|
32093
32334
|
}
|
|
32094
32335
|
}
|
|
32095
32336
|
},
|
|
32337
|
+
AccountConsultIncludedRecordBody: {
|
|
32338
|
+
additionalProperties: false,
|
|
32339
|
+
type: "object",
|
|
32340
|
+
required: [
|
|
32341
|
+
"integration",
|
|
32342
|
+
"documentType",
|
|
32343
|
+
"documentNumber"
|
|
32344
|
+
],
|
|
32345
|
+
properties: {
|
|
32346
|
+
integration: {
|
|
32347
|
+
anyOf: [
|
|
32348
|
+
{
|
|
32349
|
+
const: "adres",
|
|
32350
|
+
type: "string"
|
|
32351
|
+
},
|
|
32352
|
+
{
|
|
32353
|
+
const: "sisben",
|
|
32354
|
+
type: "string"
|
|
32355
|
+
}
|
|
32356
|
+
]
|
|
32357
|
+
},
|
|
32358
|
+
documentType: {
|
|
32359
|
+
pattern: "^[A-Z]{2}$",
|
|
32360
|
+
type: "string"
|
|
32361
|
+
},
|
|
32362
|
+
documentNumber: {
|
|
32363
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
32364
|
+
type: "string"
|
|
32365
|
+
}
|
|
32366
|
+
}
|
|
32367
|
+
},
|
|
32096
32368
|
AccountCreateApiKeyBody: {
|
|
32097
32369
|
additionalProperties: false,
|
|
32098
32370
|
type: "object",
|
|
@@ -35219,6 +35491,10 @@ var schemaComponents = {
|
|
|
35219
35491
|
const: "visoft",
|
|
35220
35492
|
type: "string"
|
|
35221
35493
|
},
|
|
35494
|
+
{
|
|
35495
|
+
const: "salud-total",
|
|
35496
|
+
type: "string"
|
|
35497
|
+
},
|
|
35222
35498
|
{
|
|
35223
35499
|
const: "nueva-eps",
|
|
35224
35500
|
type: "string"
|
|
@@ -35324,6 +35600,45 @@ var schemaComponents = {
|
|
|
35324
35600
|
}
|
|
35325
35601
|
}
|
|
35326
35602
|
},
|
|
35603
|
+
AccountPrepareColombiaConsentBody: {
|
|
35604
|
+
additionalProperties: false,
|
|
35605
|
+
type: "object",
|
|
35606
|
+
required: [
|
|
35607
|
+
"documentType",
|
|
35608
|
+
"documentNumber",
|
|
35609
|
+
"consent"
|
|
35610
|
+
],
|
|
35611
|
+
properties: {
|
|
35612
|
+
documentType: {
|
|
35613
|
+
anyOf: [
|
|
35614
|
+
{
|
|
35615
|
+
const: "CC",
|
|
35616
|
+
type: "string"
|
|
35617
|
+
},
|
|
35618
|
+
{
|
|
35619
|
+
const: "CE",
|
|
35620
|
+
type: "string"
|
|
35621
|
+
},
|
|
35622
|
+
{
|
|
35623
|
+
const: "PA",
|
|
35624
|
+
type: "string"
|
|
35625
|
+
},
|
|
35626
|
+
{
|
|
35627
|
+
const: "DP",
|
|
35628
|
+
type: "string"
|
|
35629
|
+
}
|
|
35630
|
+
]
|
|
35631
|
+
},
|
|
35632
|
+
documentNumber: {
|
|
35633
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
35634
|
+
type: "string"
|
|
35635
|
+
},
|
|
35636
|
+
consent: {
|
|
35637
|
+
const: true,
|
|
35638
|
+
type: "boolean"
|
|
35639
|
+
}
|
|
35640
|
+
}
|
|
35641
|
+
},
|
|
35327
35642
|
AccountProductRole: {
|
|
35328
35643
|
additionalProperties: false,
|
|
35329
35644
|
type: "object",
|
|
@@ -100139,6 +100454,37 @@ var schemaComponents = {
|
|
|
100139
100454
|
}
|
|
100140
100455
|
}
|
|
100141
100456
|
},
|
|
100457
|
+
AccountColombianRecordsLookupInput: {
|
|
100458
|
+
additionalProperties: false,
|
|
100459
|
+
type: "object",
|
|
100460
|
+
required: [
|
|
100461
|
+
"integration",
|
|
100462
|
+
"documentType",
|
|
100463
|
+
"documentNumber"
|
|
100464
|
+
],
|
|
100465
|
+
properties: {
|
|
100466
|
+
integration: {
|
|
100467
|
+
anyOf: [
|
|
100468
|
+
{
|
|
100469
|
+
const: "adres",
|
|
100470
|
+
type: "string"
|
|
100471
|
+
},
|
|
100472
|
+
{
|
|
100473
|
+
const: "sisben",
|
|
100474
|
+
type: "string"
|
|
100475
|
+
}
|
|
100476
|
+
]
|
|
100477
|
+
},
|
|
100478
|
+
documentType: {
|
|
100479
|
+
pattern: "^[A-Z]{2}$",
|
|
100480
|
+
type: "string"
|
|
100481
|
+
},
|
|
100482
|
+
documentNumber: {
|
|
100483
|
+
pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
|
|
100484
|
+
type: "string"
|
|
100485
|
+
}
|
|
100486
|
+
}
|
|
100487
|
+
},
|
|
100142
100488
|
AccountConnectionsListInput: {
|
|
100143
100489
|
additionalProperties: false,
|
|
100144
100490
|
type: "object",
|
|
@@ -100168,6 +100514,18 @@ var schemaComponents = {
|
|
|
100168
100514
|
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
100169
100515
|
type: "integer",
|
|
100170
100516
|
default: 25
|
|
100517
|
+
},
|
|
100518
|
+
tag: {
|
|
100519
|
+
anyOf: [
|
|
100520
|
+
{
|
|
100521
|
+
const: "postconsulta",
|
|
100522
|
+
type: "string"
|
|
100523
|
+
},
|
|
100524
|
+
{
|
|
100525
|
+
const: "facturacion",
|
|
100526
|
+
type: "string"
|
|
100527
|
+
}
|
|
100528
|
+
]
|
|
100171
100529
|
}
|
|
100172
100530
|
}
|
|
100173
100531
|
},
|
|
@@ -100618,6 +100976,45 @@ var schemaComponents = {
|
|
|
100618
100976
|
}
|
|
100619
100977
|
}
|
|
100620
100978
|
},
|
|
100979
|
+
AccountPersonalConsentsPrepareInput: {
|
|
100980
|
+
additionalProperties: false,
|
|
100981
|
+
type: "object",
|
|
100982
|
+
required: [
|
|
100983
|
+
"documentType",
|
|
100984
|
+
"documentNumber",
|
|
100985
|
+
"consent"
|
|
100986
|
+
],
|
|
100987
|
+
properties: {
|
|
100988
|
+
documentType: {
|
|
100989
|
+
anyOf: [
|
|
100990
|
+
{
|
|
100991
|
+
const: "CC",
|
|
100992
|
+
type: "string"
|
|
100993
|
+
},
|
|
100994
|
+
{
|
|
100995
|
+
const: "CE",
|
|
100996
|
+
type: "string"
|
|
100997
|
+
},
|
|
100998
|
+
{
|
|
100999
|
+
const: "PA",
|
|
101000
|
+
type: "string"
|
|
101001
|
+
},
|
|
101002
|
+
{
|
|
101003
|
+
const: "DP",
|
|
101004
|
+
type: "string"
|
|
101005
|
+
}
|
|
101006
|
+
]
|
|
101007
|
+
},
|
|
101008
|
+
documentNumber: {
|
|
101009
|
+
pattern: "^[A-Z0-9]{1,20}$",
|
|
101010
|
+
type: "string"
|
|
101011
|
+
},
|
|
101012
|
+
consent: {
|
|
101013
|
+
const: true,
|
|
101014
|
+
type: "boolean"
|
|
101015
|
+
}
|
|
101016
|
+
}
|
|
101017
|
+
},
|
|
100621
101018
|
AccountRolesListInput: {
|
|
100622
101019
|
additionalProperties: false,
|
|
100623
101020
|
type: "object",
|
|
@@ -116188,9 +116585,9 @@ var schemaComponents = {
|
|
|
116188
116585
|
// src/generated/generation.json
|
|
116189
116586
|
var generation_default = {
|
|
116190
116587
|
formatVersion: 6,
|
|
116191
|
-
release: "1.20261101.
|
|
116192
|
-
openapiSha256: "
|
|
116193
|
-
openapiContentSha256: "
|
|
116588
|
+
release: "1.20261101.1558",
|
|
116589
|
+
openapiSha256: "3f4b25bee534f21d96a238988423fc0b252bedde1f6529e7b698606cdb471045",
|
|
116590
|
+
openapiContentSha256: "0d5a89264ff219b7d1db9bb0c8c207ae0c2a5681f32ac5f9b1e6d9c0c0f12382",
|
|
116194
116591
|
forge: {
|
|
116195
116592
|
repository: "https://github.com/cloudflare/forge",
|
|
116196
116593
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -116203,7 +116600,7 @@ var generation_default = {
|
|
|
116203
116600
|
outputs: [
|
|
116204
116601
|
{
|
|
116205
116602
|
path: "src/generated/commands.ts",
|
|
116206
|
-
sha256: "
|
|
116603
|
+
sha256: "25822459fa0859b03a11d2bccac4dd339b3b7d7f7be8d7386b52c38e0599bc43"
|
|
116207
116604
|
}
|
|
116208
116605
|
]
|
|
116209
116606
|
};
|
|
@@ -116558,7 +116955,7 @@ ${name}`);
|
|
|
116558
116955
|
}
|
|
116559
116956
|
|
|
116560
116957
|
// src/index.ts
|
|
116561
|
-
var VERSION = "3.
|
|
116958
|
+
var VERSION = "3.16.0";
|
|
116562
116959
|
var RELEASE = generation_default.release;
|
|
116563
116960
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
116564
116961
|
var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.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.16.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.1558",
|
|
64
|
+
"sha256": "0d5a89264ff219b7d1db9bb0c8c207ae0c2a5681f32ac5f9b1e6d9c0c0f12382"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|