@arbol-ai/cli 3.19.0 → 3.21.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 +30 -198
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2078,91 +2078,6 @@ var commands = {
|
|
|
2078
2078
|
confirmation: null,
|
|
2079
2079
|
hidden: false
|
|
2080
2080
|
},
|
|
2081
|
-
"account personal-consents prepare": {
|
|
2082
|
-
operation: "account.personalConsents.prepare",
|
|
2083
|
-
sdkPath: [
|
|
2084
|
-
"account",
|
|
2085
|
-
"personalConsents",
|
|
2086
|
-
"prepare"
|
|
2087
|
-
],
|
|
2088
|
-
pathField: null,
|
|
2089
|
-
fields: [
|
|
2090
|
-
{
|
|
2091
|
-
name: "documentType",
|
|
2092
|
-
flag: "document-type",
|
|
2093
|
-
kind: "string",
|
|
2094
|
-
required: true,
|
|
2095
|
-
description: "",
|
|
2096
|
-
choices: [
|
|
2097
|
-
"CC",
|
|
2098
|
-
"CE",
|
|
2099
|
-
"PA",
|
|
2100
|
-
"DP"
|
|
2101
|
-
]
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
name: "documentNumber",
|
|
2105
|
-
flag: "document-number",
|
|
2106
|
-
kind: "string",
|
|
2107
|
-
required: true,
|
|
2108
|
-
description: ""
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
name: "consent",
|
|
2112
|
-
flag: "consent",
|
|
2113
|
-
kind: "boolean",
|
|
2114
|
-
required: true,
|
|
2115
|
-
description: "",
|
|
2116
|
-
choices: [
|
|
2117
|
-
true
|
|
2118
|
-
]
|
|
2119
|
-
}
|
|
2120
|
-
],
|
|
2121
|
-
inputSchema: {
|
|
2122
|
-
additionalProperties: false,
|
|
2123
|
-
type: "object",
|
|
2124
|
-
required: [
|
|
2125
|
-
"documentType",
|
|
2126
|
-
"documentNumber",
|
|
2127
|
-
"consent"
|
|
2128
|
-
],
|
|
2129
|
-
properties: {
|
|
2130
|
-
documentType: {
|
|
2131
|
-
anyOf: [
|
|
2132
|
-
{
|
|
2133
|
-
const: "CC",
|
|
2134
|
-
type: "string"
|
|
2135
|
-
},
|
|
2136
|
-
{
|
|
2137
|
-
const: "CE",
|
|
2138
|
-
type: "string"
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
const: "PA",
|
|
2142
|
-
type: "string"
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
const: "DP",
|
|
2146
|
-
type: "string"
|
|
2147
|
-
}
|
|
2148
|
-
]
|
|
2149
|
-
},
|
|
2150
|
-
documentNumber: {
|
|
2151
|
-
pattern: "^[A-Z0-9]{1,20}$",
|
|
2152
|
-
type: "string"
|
|
2153
|
-
},
|
|
2154
|
-
consent: {
|
|
2155
|
-
const: true,
|
|
2156
|
-
type: "boolean"
|
|
2157
|
-
}
|
|
2158
|
-
}
|
|
2159
|
-
},
|
|
2160
|
-
title: "Prepare a personal Colombian Police declaration",
|
|
2161
|
-
description: "Send the holder’s explicitly accepted document and receive the matching personal-use declaration.",
|
|
2162
|
-
effect: "read",
|
|
2163
|
-
confirmation: null,
|
|
2164
|
-
hidden: false
|
|
2165
|
-
},
|
|
2166
2081
|
"account registry-installations update": {
|
|
2167
2082
|
operation: "account.registryInstallations.update",
|
|
2168
2083
|
sdkPath: [
|
|
@@ -31803,7 +31718,7 @@ var schemaComponents = {
|
|
|
31803
31718
|
anyOf: [
|
|
31804
31719
|
{
|
|
31805
31720
|
$ref: "#/components/schemas/AccountColombiaResourceEnvelope",
|
|
31806
|
-
description: "The result from the
|
|
31721
|
+
description: "The result from the installed Colombian registry or the official Police guide."
|
|
31807
31722
|
},
|
|
31808
31723
|
{
|
|
31809
31724
|
additionalProperties: false,
|
|
@@ -31863,35 +31778,6 @@ var schemaComponents = {
|
|
|
31863
31778
|
}
|
|
31864
31779
|
}
|
|
31865
31780
|
},
|
|
31866
|
-
AccountColombiaResourceEnvelopeResponse: {
|
|
31867
|
-
type: "object",
|
|
31868
|
-
description: "A successful answer.",
|
|
31869
|
-
additionalProperties: false,
|
|
31870
|
-
required: [
|
|
31871
|
-
"success",
|
|
31872
|
-
"data",
|
|
31873
|
-
"error",
|
|
31874
|
-
"metadata"
|
|
31875
|
-
],
|
|
31876
|
-
properties: {
|
|
31877
|
-
success: {
|
|
31878
|
-
type: "boolean",
|
|
31879
|
-
enum: [
|
|
31880
|
-
true
|
|
31881
|
-
]
|
|
31882
|
-
},
|
|
31883
|
-
data: {
|
|
31884
|
-
$ref: "#/components/schemas/AccountColombiaResourceEnvelope",
|
|
31885
|
-
description: "The result from the selected Colombian source or the holder’s personal consent receipt."
|
|
31886
|
-
},
|
|
31887
|
-
error: {
|
|
31888
|
-
const: null
|
|
31889
|
-
},
|
|
31890
|
-
metadata: {
|
|
31891
|
-
$ref: "#/components/schemas/ResponseMetadata"
|
|
31892
|
-
}
|
|
31893
|
-
}
|
|
31894
|
-
},
|
|
31895
31781
|
AccountConfigureOrganizationBody: {
|
|
31896
31782
|
additionalProperties: false,
|
|
31897
31783
|
type: "object",
|
|
@@ -35777,45 +35663,6 @@ var schemaComponents = {
|
|
|
35777
35663
|
}
|
|
35778
35664
|
}
|
|
35779
35665
|
},
|
|
35780
|
-
AccountPrepareColombiaConsentBody: {
|
|
35781
|
-
additionalProperties: false,
|
|
35782
|
-
type: "object",
|
|
35783
|
-
required: [
|
|
35784
|
-
"documentType",
|
|
35785
|
-
"documentNumber",
|
|
35786
|
-
"consent"
|
|
35787
|
-
],
|
|
35788
|
-
properties: {
|
|
35789
|
-
documentType: {
|
|
35790
|
-
anyOf: [
|
|
35791
|
-
{
|
|
35792
|
-
const: "CC",
|
|
35793
|
-
type: "string"
|
|
35794
|
-
},
|
|
35795
|
-
{
|
|
35796
|
-
const: "CE",
|
|
35797
|
-
type: "string"
|
|
35798
|
-
},
|
|
35799
|
-
{
|
|
35800
|
-
const: "PA",
|
|
35801
|
-
type: "string"
|
|
35802
|
-
},
|
|
35803
|
-
{
|
|
35804
|
-
const: "DP",
|
|
35805
|
-
type: "string"
|
|
35806
|
-
}
|
|
35807
|
-
]
|
|
35808
|
-
},
|
|
35809
|
-
documentNumber: {
|
|
35810
|
-
pattern: "^[A-Z0-9]{1,20}$",
|
|
35811
|
-
type: "string"
|
|
35812
|
-
},
|
|
35813
|
-
consent: {
|
|
35814
|
-
const: true,
|
|
35815
|
-
type: "boolean"
|
|
35816
|
-
}
|
|
35817
|
-
}
|
|
35818
|
-
},
|
|
35819
35666
|
AccountProductRole: {
|
|
35820
35667
|
additionalProperties: false,
|
|
35821
35668
|
type: "object",
|
|
@@ -86835,6 +86682,30 @@ var schemaComponents = {
|
|
|
86835
86682
|
toGroup: {
|
|
86836
86683
|
type: "string"
|
|
86837
86684
|
},
|
|
86685
|
+
hearingPair: {
|
|
86686
|
+
additionalProperties: false,
|
|
86687
|
+
description: "The two verified exam times on this slot's local date, with its professional. This is an offer, not a booking.",
|
|
86688
|
+
type: "object",
|
|
86689
|
+
required: [
|
|
86690
|
+
"audiometryTime",
|
|
86691
|
+
"logoaudiometryTime",
|
|
86692
|
+
"minutesPerExam"
|
|
86693
|
+
],
|
|
86694
|
+
properties: {
|
|
86695
|
+
audiometryTime: {
|
|
86696
|
+
pattern: "^[0-2][0-9]:[0-5][0-9]$",
|
|
86697
|
+
type: "string"
|
|
86698
|
+
},
|
|
86699
|
+
logoaudiometryTime: {
|
|
86700
|
+
pattern: "^[0-2][0-9]:[0-5][0-9]$",
|
|
86701
|
+
type: "string"
|
|
86702
|
+
},
|
|
86703
|
+
minutesPerExam: {
|
|
86704
|
+
const: 10,
|
|
86705
|
+
type: "number"
|
|
86706
|
+
}
|
|
86707
|
+
}
|
|
86708
|
+
},
|
|
86838
86709
|
pairable: {
|
|
86839
86710
|
description: "For a pair of consecutive exams: whether the next slot with the same professional is free too.",
|
|
86840
86711
|
type: "boolean"
|
|
@@ -101257,45 +101128,6 @@ var schemaComponents = {
|
|
|
101257
101128
|
}
|
|
101258
101129
|
}
|
|
101259
101130
|
},
|
|
101260
|
-
AccountPersonalConsentsPrepareInput: {
|
|
101261
|
-
additionalProperties: false,
|
|
101262
|
-
type: "object",
|
|
101263
|
-
required: [
|
|
101264
|
-
"documentType",
|
|
101265
|
-
"documentNumber",
|
|
101266
|
-
"consent"
|
|
101267
|
-
],
|
|
101268
|
-
properties: {
|
|
101269
|
-
documentType: {
|
|
101270
|
-
anyOf: [
|
|
101271
|
-
{
|
|
101272
|
-
const: "CC",
|
|
101273
|
-
type: "string"
|
|
101274
|
-
},
|
|
101275
|
-
{
|
|
101276
|
-
const: "CE",
|
|
101277
|
-
type: "string"
|
|
101278
|
-
},
|
|
101279
|
-
{
|
|
101280
|
-
const: "PA",
|
|
101281
|
-
type: "string"
|
|
101282
|
-
},
|
|
101283
|
-
{
|
|
101284
|
-
const: "DP",
|
|
101285
|
-
type: "string"
|
|
101286
|
-
}
|
|
101287
|
-
]
|
|
101288
|
-
},
|
|
101289
|
-
documentNumber: {
|
|
101290
|
-
pattern: "^[A-Z0-9]{1,20}$",
|
|
101291
|
-
type: "string"
|
|
101292
|
-
},
|
|
101293
|
-
consent: {
|
|
101294
|
-
const: true,
|
|
101295
|
-
type: "boolean"
|
|
101296
|
-
}
|
|
101297
|
-
}
|
|
101298
|
-
},
|
|
101299
101131
|
AccountRegistryInstallationsUpdateInput: {
|
|
101300
101132
|
additionalProperties: false,
|
|
101301
101133
|
type: "object",
|
|
@@ -116883,9 +116715,9 @@ var schemaComponents = {
|
|
|
116883
116715
|
// src/generated/generation.json
|
|
116884
116716
|
var generation_default = {
|
|
116885
116717
|
formatVersion: 6,
|
|
116886
|
-
release: "1.20261101.
|
|
116887
|
-
openapiSha256: "
|
|
116888
|
-
openapiContentSha256: "
|
|
116718
|
+
release: "1.20261101.23407",
|
|
116719
|
+
openapiSha256: "074453c7ad79b53eac2faf97b28bf027d1c1d780cdf07e23b4f6be7a8c1d53cb",
|
|
116720
|
+
openapiContentSha256: "d3a8d1b618cede61acfcfdc5cb37a382692b76584705bf8b8a53d91a40a74bd5",
|
|
116889
116721
|
forge: {
|
|
116890
116722
|
repository: "https://github.com/cloudflare/forge",
|
|
116891
116723
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -116898,7 +116730,7 @@ var generation_default = {
|
|
|
116898
116730
|
outputs: [
|
|
116899
116731
|
{
|
|
116900
116732
|
path: "src/generated/commands.ts",
|
|
116901
|
-
sha256: "
|
|
116733
|
+
sha256: "8fa21db21d7264a3403df766ed5a077051ba0feeb7b0444b8ea6f51d0744563e"
|
|
116902
116734
|
}
|
|
116903
116735
|
]
|
|
116904
116736
|
};
|
|
@@ -117253,7 +117085,7 @@ ${name}`);
|
|
|
117253
117085
|
}
|
|
117254
117086
|
|
|
117255
117087
|
// src/index.ts
|
|
117256
|
-
var VERSION = "3.
|
|
117088
|
+
var VERSION = "3.21.0";
|
|
117257
117089
|
var RELEASE = generation_default.release;
|
|
117258
117090
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
117259
117091
|
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.21.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.21.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.23407",
|
|
64
|
+
"sha256": "d3a8d1b618cede61acfcfdc5cb37a382692b76584705bf8b8a53d91a40a74bd5"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|