@arbol-ai/cli 3.16.0 → 3.18.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 +148 -9
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -990,7 +990,7 @@ var commands = {
|
|
|
990
990
|
}
|
|
991
991
|
},
|
|
992
992
|
title: "Consult an included Colombian source",
|
|
993
|
-
description: "
|
|
993
|
+
description: "Look up one authorized person by document type and number. ADRES returns their name when reported. Sisbén returns the official classification.",
|
|
994
994
|
effect: "read",
|
|
995
995
|
confirmation: null,
|
|
996
996
|
hidden: false
|
|
@@ -2124,6 +2124,53 @@ var commands = {
|
|
|
2124
2124
|
confirmation: null,
|
|
2125
2125
|
hidden: false
|
|
2126
2126
|
},
|
|
2127
|
+
"account registry-installations update": {
|
|
2128
|
+
operation: "account.registryInstallations.update",
|
|
2129
|
+
sdkPath: [
|
|
2130
|
+
"account",
|
|
2131
|
+
"registryInstallations",
|
|
2132
|
+
"update"
|
|
2133
|
+
],
|
|
2134
|
+
pathField: null,
|
|
2135
|
+
fields: [
|
|
2136
|
+
{
|
|
2137
|
+
name: "integration",
|
|
2138
|
+
flag: "integration",
|
|
2139
|
+
kind: "string",
|
|
2140
|
+
required: true,
|
|
2141
|
+
description: ""
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
name: "installed",
|
|
2145
|
+
flag: "installed",
|
|
2146
|
+
kind: "boolean",
|
|
2147
|
+
required: true,
|
|
2148
|
+
description: ""
|
|
2149
|
+
}
|
|
2150
|
+
],
|
|
2151
|
+
inputSchema: {
|
|
2152
|
+
additionalProperties: false,
|
|
2153
|
+
type: "object",
|
|
2154
|
+
required: [
|
|
2155
|
+
"integration",
|
|
2156
|
+
"installed"
|
|
2157
|
+
],
|
|
2158
|
+
properties: {
|
|
2159
|
+
integration: {
|
|
2160
|
+
pattern: "^(adres|sisben|policia-colombia)$",
|
|
2161
|
+
type: "string"
|
|
2162
|
+
},
|
|
2163
|
+
installed: {
|
|
2164
|
+
type: "boolean"
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
},
|
|
2168
|
+
title: "Set the installation of a Colombian registry",
|
|
2169
|
+
description: "Install or disable one Colombian registry in your organization. Agents also need an assignment to its tool.",
|
|
2170
|
+
effect: "write",
|
|
2171
|
+
confirmation: null,
|
|
2172
|
+
hidden: false
|
|
2173
|
+
},
|
|
2127
2174
|
"account roles list": {
|
|
2128
2175
|
operation: "account.roles.list",
|
|
2129
2176
|
sdkPath: [
|
|
@@ -25379,7 +25426,7 @@ var commands = {
|
|
|
25379
25426
|
additionalProperties: false
|
|
25380
25427
|
},
|
|
25381
25428
|
title: "List a contract's services",
|
|
25382
|
-
description: "The services of one of the clinic's contracts (code), in ascending code order; with q, only those whose code or name contains it. When none does, the search is TOOL_REFUSED (SERVICE_SEARCH_NOT_FOUND), and data.details.didYouMean holds up to three of the contract's services, within the same filters, that
|
|
25429
|
+
description: "The services of one of the clinic's contracts (code), in ascending code order; with q, only those whose code or name contains it. When none does, the search is TOOL_REFUSED (SERVICE_SEARCH_NOT_FOUND), and data.details.didYouMean holds up to three of the contract's services, within the same filters, that the catalog search finds closest in meaning: suggestions to confirm, never substitutes. A contract without the service asked for is TOOL_REFUSED (SERVICE_NOT_IN_CONTRACT), whose guidance names the contract that has it. Catalog items that cannot be booked are not appointment availability. A refusal is TOOL_REFUSED: data.reason says why, data.guidance what to do next and data.details what it offers instead; it is never an outage. Somos Salud's tool pack sets this tool's rules, parameters and accepted values (somos.tools.list answers them), and every call is checked against them.",
|
|
25383
25430
|
effect: "read",
|
|
25384
25431
|
confirmation: null,
|
|
25385
25432
|
hidden: false
|
|
@@ -25517,7 +25564,7 @@ var commands = {
|
|
|
25517
25564
|
}
|
|
25518
25565
|
},
|
|
25519
25566
|
title: "Look up a contract's services",
|
|
25520
|
-
description: "The services of one of the clinic's contracts closest to a query: first those whose code or name contains it (match words, score 1), then those
|
|
25567
|
+
description: "The services of one of the clinic's contracts closest to a query: first those whose code or name contains it (match words, score 1), then those the catalog search finds close in meaning (match meaning), at most limit (5 by default). Every answer is one of the contract's current services, within specialty when it is named; a match by meaning is a suggestion to confirm with the person or the order, never a substitute for the service ordered. An empty answer says nothing about coverage. CONTRACT_NOT_FOUND when the clinic has no such contract; SERVICES_SEARCH_UNAVAILABLE when AI Search cannot answer and no service matched by words. Contains no patient data.",
|
|
25521
25568
|
effect: "read",
|
|
25522
25569
|
confirmation: null,
|
|
25523
25570
|
hidden: false
|
|
@@ -35815,6 +35862,51 @@ var schemaComponents = {
|
|
|
35815
35862
|
}
|
|
35816
35863
|
}
|
|
35817
35864
|
},
|
|
35865
|
+
AccountRegistryInstallation: {
|
|
35866
|
+
additionalProperties: false,
|
|
35867
|
+
type: "object",
|
|
35868
|
+
required: [
|
|
35869
|
+
"integration",
|
|
35870
|
+
"installed"
|
|
35871
|
+
],
|
|
35872
|
+
properties: {
|
|
35873
|
+
integration: {
|
|
35874
|
+
pattern: "^(adres|sisben|policia-colombia)$",
|
|
35875
|
+
type: "string"
|
|
35876
|
+
},
|
|
35877
|
+
installed: {
|
|
35878
|
+
type: "boolean"
|
|
35879
|
+
}
|
|
35880
|
+
}
|
|
35881
|
+
},
|
|
35882
|
+
AccountRegistryInstallationResponse: {
|
|
35883
|
+
type: "object",
|
|
35884
|
+
description: "A successful answer.",
|
|
35885
|
+
additionalProperties: false,
|
|
35886
|
+
required: [
|
|
35887
|
+
"success",
|
|
35888
|
+
"data",
|
|
35889
|
+
"error",
|
|
35890
|
+
"metadata"
|
|
35891
|
+
],
|
|
35892
|
+
properties: {
|
|
35893
|
+
success: {
|
|
35894
|
+
type: "boolean",
|
|
35895
|
+
enum: [
|
|
35896
|
+
true
|
|
35897
|
+
]
|
|
35898
|
+
},
|
|
35899
|
+
data: {
|
|
35900
|
+
$ref: "#/components/schemas/AccountRegistryInstallation"
|
|
35901
|
+
},
|
|
35902
|
+
error: {
|
|
35903
|
+
const: null
|
|
35904
|
+
},
|
|
35905
|
+
metadata: {
|
|
35906
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35907
|
+
}
|
|
35908
|
+
}
|
|
35909
|
+
},
|
|
35818
35910
|
AccountRoleNotAssignableFailure: {
|
|
35819
35911
|
type: "object",
|
|
35820
35912
|
description: "You cannot assign this role.",
|
|
@@ -36170,6 +36262,23 @@ var schemaComponents = {
|
|
|
36170
36262
|
}
|
|
36171
36263
|
}
|
|
36172
36264
|
},
|
|
36265
|
+
AccountUpdateRegistryInstallationBody: {
|
|
36266
|
+
additionalProperties: false,
|
|
36267
|
+
type: "object",
|
|
36268
|
+
required: [
|
|
36269
|
+
"integration",
|
|
36270
|
+
"installed"
|
|
36271
|
+
],
|
|
36272
|
+
properties: {
|
|
36273
|
+
integration: {
|
|
36274
|
+
pattern: "^(adres|sisben|policia-colombia)$",
|
|
36275
|
+
type: "string"
|
|
36276
|
+
},
|
|
36277
|
+
installed: {
|
|
36278
|
+
type: "boolean"
|
|
36279
|
+
}
|
|
36280
|
+
}
|
|
36281
|
+
},
|
|
36173
36282
|
AccountUsageBreakdownRow: {
|
|
36174
36283
|
additionalProperties: false,
|
|
36175
36284
|
type: "object",
|
|
@@ -67487,6 +67596,19 @@ var schemaComponents = {
|
|
|
67487
67596
|
pattern: "^(?:chn_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:agc)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
|
|
67488
67597
|
type: "string"
|
|
67489
67598
|
},
|
|
67599
|
+
lastBusinessAppGreetingAt: {
|
|
67600
|
+
description: "WhatsApp only. Last observed message from the phone app matching the configured greeting. Null when none has been recognized. The phone's current greeting setting is unknown.",
|
|
67601
|
+
anyOf: [
|
|
67602
|
+
{
|
|
67603
|
+
description: "An instant in RFC 3339 format, in UTC.",
|
|
67604
|
+
format: "date-time",
|
|
67605
|
+
type: "string"
|
|
67606
|
+
},
|
|
67607
|
+
{
|
|
67608
|
+
type: "null"
|
|
67609
|
+
}
|
|
67610
|
+
]
|
|
67611
|
+
},
|
|
67490
67612
|
name: {
|
|
67491
67613
|
anyOf: [
|
|
67492
67614
|
{
|
|
@@ -90250,7 +90372,7 @@ var schemaComponents = {
|
|
|
90250
90372
|
type: "string"
|
|
90251
90373
|
},
|
|
90252
90374
|
match: {
|
|
90253
|
-
description: "words: the code or the name contains the query. meaning:
|
|
90375
|
+
description: "words: the code or the name contains the query. meaning: the catalog search found it close to the query in meaning; confirm it with the person or the order before using it.",
|
|
90254
90376
|
anyOf: [
|
|
90255
90377
|
{
|
|
90256
90378
|
const: "words",
|
|
@@ -101015,6 +101137,23 @@ var schemaComponents = {
|
|
|
101015
101137
|
}
|
|
101016
101138
|
}
|
|
101017
101139
|
},
|
|
101140
|
+
AccountRegistryInstallationsUpdateInput: {
|
|
101141
|
+
additionalProperties: false,
|
|
101142
|
+
type: "object",
|
|
101143
|
+
required: [
|
|
101144
|
+
"integration",
|
|
101145
|
+
"installed"
|
|
101146
|
+
],
|
|
101147
|
+
properties: {
|
|
101148
|
+
integration: {
|
|
101149
|
+
pattern: "^(adres|sisben|policia-colombia)$",
|
|
101150
|
+
type: "string"
|
|
101151
|
+
},
|
|
101152
|
+
installed: {
|
|
101153
|
+
type: "boolean"
|
|
101154
|
+
}
|
|
101155
|
+
}
|
|
101156
|
+
},
|
|
101018
101157
|
AccountRolesListInput: {
|
|
101019
101158
|
additionalProperties: false,
|
|
101020
101159
|
type: "object",
|
|
@@ -116585,9 +116724,9 @@ var schemaComponents = {
|
|
|
116585
116724
|
// src/generated/generation.json
|
|
116586
116725
|
var generation_default = {
|
|
116587
116726
|
formatVersion: 6,
|
|
116588
|
-
release: "1.20261101.
|
|
116589
|
-
openapiSha256: "
|
|
116590
|
-
openapiContentSha256: "
|
|
116727
|
+
release: "1.20261101.15904",
|
|
116728
|
+
openapiSha256: "cb13d1e6332e80dda79dcfc2360a59e2f622f24dec257d97eceb9e40691716c7",
|
|
116729
|
+
openapiContentSha256: "9ec8c82f592d4e3c280d94c39ae5a578e8982bdd3fca4567a27e5848b70076e9",
|
|
116591
116730
|
forge: {
|
|
116592
116731
|
repository: "https://github.com/cloudflare/forge",
|
|
116593
116732
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -116600,7 +116739,7 @@ var generation_default = {
|
|
|
116600
116739
|
outputs: [
|
|
116601
116740
|
{
|
|
116602
116741
|
path: "src/generated/commands.ts",
|
|
116603
|
-
sha256: "
|
|
116742
|
+
sha256: "b7b2b89ff9e722f0c12e1bec3499b775b809461c6d865910414c987e4b1b406c"
|
|
116604
116743
|
}
|
|
116605
116744
|
]
|
|
116606
116745
|
};
|
|
@@ -116955,7 +117094,7 @@ ${name}`);
|
|
|
116955
117094
|
}
|
|
116956
117095
|
|
|
116957
117096
|
// src/index.ts
|
|
116958
|
-
var VERSION = "3.
|
|
117097
|
+
var VERSION = "3.18.0";
|
|
116959
117098
|
var RELEASE = generation_default.release;
|
|
116960
117099
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
116961
117100
|
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.18.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.18.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.15904",
|
|
64
|
+
"sha256": "9ec8c82f592d4e3c280d94c39ae5a578e8982bdd3fca4567a27e5848b70076e9"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|