@arbol-ai/cli 3.17.0 → 3.19.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 +309 -24
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -547,6 +547,13 @@ var commands = {
547
547
  kind: "list",
548
548
  required: true,
549
549
  description: ""
550
+ },
551
+ {
552
+ name: "expiresAt",
553
+ flag: "expires-at",
554
+ kind: "string",
555
+ required: false,
556
+ description: "Exclusive expiration instant, with timezone. Defaults to seven days from creation."
550
557
  }
551
558
  ],
552
559
  inputSchema: {
@@ -575,6 +582,11 @@ var commands = {
575
582
  type: "string"
576
583
  }
577
584
  },
585
+ expiresAt: {
586
+ format: "date-time",
587
+ description: "Exclusive expiration instant, with timezone. Defaults to seven days from creation.",
588
+ type: "string"
589
+ },
578
590
  restrictions: {
579
591
  additionalProperties: false,
580
592
  maxProperties: 20,
@@ -937,34 +949,50 @@ var commands = {
937
949
  flag: "integration",
938
950
  kind: "string",
939
951
  required: true,
940
- description: "",
941
- choices: [
942
- "adres",
943
- "sisben"
944
- ]
952
+ description: ""
945
953
  },
946
954
  {
947
955
  name: "documentType",
948
956
  flag: "document-type",
949
957
  kind: "string",
950
- required: true,
951
- description: ""
958
+ required: false,
959
+ description: "Required for ADRES and Sisbén."
952
960
  },
953
961
  {
954
962
  name: "documentNumber",
955
963
  flag: "document-number",
956
964
  kind: "string",
957
- required: true,
958
- description: ""
965
+ required: false,
966
+ description: "Required for ADRES and Sisbén. Preserve leading zeros."
967
+ },
968
+ {
969
+ name: "agentMode",
970
+ flag: "agent-mode",
971
+ kind: "boolean",
972
+ required: false,
973
+ description: "Return a concise Spanish tool answer. Authorization is the same in both formats."
959
974
  }
960
975
  ],
961
976
  inputSchema: {
962
977
  additionalProperties: false,
978
+ anyOf: [
979
+ {
980
+ properties: {
981
+ integration: {
982
+ const: "policia-colombia"
983
+ }
984
+ }
985
+ },
986
+ {
987
+ required: [
988
+ "documentType",
989
+ "documentNumber"
990
+ ]
991
+ }
992
+ ],
963
993
  type: "object",
964
994
  required: [
965
- "integration",
966
- "documentType",
967
- "documentNumber"
995
+ "integration"
968
996
  ],
969
997
  properties: {
970
998
  integration: {
@@ -976,21 +1004,32 @@ var commands = {
976
1004
  {
977
1005
  const: "sisben",
978
1006
  type: "string"
1007
+ },
1008
+ {
1009
+ const: "policia-colombia",
1010
+ type: "string"
979
1011
  }
980
1012
  ]
981
1013
  },
982
1014
  documentType: {
983
1015
  pattern: "^[A-Z]{2}$",
1016
+ description: "Required for ADRES and Sisbén.",
984
1017
  type: "string"
985
1018
  },
986
1019
  documentNumber: {
987
1020
  pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
1021
+ description: "Required for ADRES and Sisbén. Preserve leading zeros.",
988
1022
  type: "string"
1023
+ },
1024
+ agentMode: {
1025
+ default: false,
1026
+ description: "Return a concise Spanish tool answer. Authorization is the same in both formats.",
1027
+ type: "boolean"
989
1028
  }
990
1029
  }
991
1030
  },
992
1031
  title: "Consult an included Colombian source",
993
- description: "Run one included consultation in the signed-in organization.",
1032
+ description: "Read ADRES or Sisbén for an authorized document, or obtain the personal Police guide without submitting a document. A machine key needs connection read access and an explicit restriction allowing this operation. Set agentMode to true for concise Spanish text.",
994
1033
  effect: "read",
995
1034
  confirmation: null,
996
1035
  hidden: false
@@ -2124,6 +2163,53 @@ var commands = {
2124
2163
  confirmation: null,
2125
2164
  hidden: false
2126
2165
  },
2166
+ "account registry-installations update": {
2167
+ operation: "account.registryInstallations.update",
2168
+ sdkPath: [
2169
+ "account",
2170
+ "registryInstallations",
2171
+ "update"
2172
+ ],
2173
+ pathField: null,
2174
+ fields: [
2175
+ {
2176
+ name: "integration",
2177
+ flag: "integration",
2178
+ kind: "string",
2179
+ required: true,
2180
+ description: ""
2181
+ },
2182
+ {
2183
+ name: "installed",
2184
+ flag: "installed",
2185
+ kind: "boolean",
2186
+ required: true,
2187
+ description: ""
2188
+ }
2189
+ ],
2190
+ inputSchema: {
2191
+ additionalProperties: false,
2192
+ type: "object",
2193
+ required: [
2194
+ "integration",
2195
+ "installed"
2196
+ ],
2197
+ properties: {
2198
+ integration: {
2199
+ pattern: "^(adres|sisben|policia-colombia)$",
2200
+ type: "string"
2201
+ },
2202
+ installed: {
2203
+ type: "boolean"
2204
+ }
2205
+ }
2206
+ },
2207
+ title: "Set the installation of a Colombian registry",
2208
+ description: "Install or disable one Colombian registry in your organization. Agents also need an assignment to its tool.",
2209
+ effect: "write",
2210
+ confirmation: null,
2211
+ hidden: false
2212
+ },
2127
2213
  "account roles list": {
2128
2214
  operation: "account.roles.list",
2129
2215
  sdkPath: [
@@ -30844,6 +30930,7 @@ var schemaComponents = {
30844
30930
  "name",
30845
30931
  "scopes",
30846
30932
  "createdAt",
30933
+ "expiresAt",
30847
30934
  "createdBy",
30848
30935
  "restrictions"
30849
30936
  ],
@@ -30877,6 +30964,18 @@ var schemaComponents = {
30877
30964
  }
30878
30965
  ]
30879
30966
  },
30967
+ expiresAt: {
30968
+ description: "The UTC instant at which the key stops working. Null for a legacy key without a deadline.",
30969
+ anyOf: [
30970
+ {
30971
+ format: "date-time",
30972
+ type: "string"
30973
+ },
30974
+ {
30975
+ type: "null"
30976
+ }
30977
+ ]
30978
+ },
30880
30979
  createdBy: {
30881
30980
  anyOf: [
30882
30981
  {
@@ -31700,6 +31799,55 @@ var schemaComponents = {
31700
31799
  }
31701
31800
  }
31702
31801
  },
31802
+ AccountColombiaLookupPresentation: {
31803
+ anyOf: [
31804
+ {
31805
+ $ref: "#/components/schemas/AccountColombiaResourceEnvelope",
31806
+ description: "The result from the selected Colombian source or the holder’s personal consent receipt."
31807
+ },
31808
+ {
31809
+ additionalProperties: false,
31810
+ type: "object",
31811
+ required: [
31812
+ "text"
31813
+ ],
31814
+ properties: {
31815
+ text: {
31816
+ minLength: 1,
31817
+ type: "string"
31818
+ }
31819
+ }
31820
+ }
31821
+ ]
31822
+ },
31823
+ AccountColombiaLookupPresentationResponse: {
31824
+ type: "object",
31825
+ description: "A successful answer.",
31826
+ additionalProperties: false,
31827
+ required: [
31828
+ "success",
31829
+ "data",
31830
+ "error",
31831
+ "metadata"
31832
+ ],
31833
+ properties: {
31834
+ success: {
31835
+ type: "boolean",
31836
+ enum: [
31837
+ true
31838
+ ]
31839
+ },
31840
+ data: {
31841
+ $ref: "#/components/schemas/AccountColombiaLookupPresentation"
31842
+ },
31843
+ error: {
31844
+ const: null
31845
+ },
31846
+ metadata: {
31847
+ $ref: "#/components/schemas/ResponseMetadata"
31848
+ }
31849
+ }
31850
+ },
31703
31851
  AccountColombiaResourceEnvelope: {
31704
31852
  additionalProperties: false,
31705
31853
  type: "object",
@@ -32336,11 +32484,24 @@ var schemaComponents = {
32336
32484
  },
32337
32485
  AccountConsultIncludedRecordBody: {
32338
32486
  additionalProperties: false,
32487
+ anyOf: [
32488
+ {
32489
+ properties: {
32490
+ integration: {
32491
+ const: "policia-colombia"
32492
+ }
32493
+ }
32494
+ },
32495
+ {
32496
+ required: [
32497
+ "documentType",
32498
+ "documentNumber"
32499
+ ]
32500
+ }
32501
+ ],
32339
32502
  type: "object",
32340
32503
  required: [
32341
- "integration",
32342
- "documentType",
32343
- "documentNumber"
32504
+ "integration"
32344
32505
  ],
32345
32506
  properties: {
32346
32507
  integration: {
@@ -32352,16 +32513,27 @@ var schemaComponents = {
32352
32513
  {
32353
32514
  const: "sisben",
32354
32515
  type: "string"
32516
+ },
32517
+ {
32518
+ const: "policia-colombia",
32519
+ type: "string"
32355
32520
  }
32356
32521
  ]
32357
32522
  },
32358
32523
  documentType: {
32359
32524
  pattern: "^[A-Z]{2}$",
32525
+ description: "Required for ADRES and Sisbén.",
32360
32526
  type: "string"
32361
32527
  },
32362
32528
  documentNumber: {
32363
32529
  pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
32530
+ description: "Required for ADRES and Sisbén. Preserve leading zeros.",
32364
32531
  type: "string"
32532
+ },
32533
+ agentMode: {
32534
+ default: false,
32535
+ description: "Return a concise Spanish tool answer. Authorization is the same in both formats.",
32536
+ type: "boolean"
32365
32537
  }
32366
32538
  }
32367
32539
  },
@@ -32391,6 +32563,11 @@ var schemaComponents = {
32391
32563
  type: "string"
32392
32564
  }
32393
32565
  },
32566
+ expiresAt: {
32567
+ format: "date-time",
32568
+ description: "Exclusive expiration instant, with timezone. Defaults to seven days from creation.",
32569
+ type: "string"
32570
+ },
32394
32571
  restrictions: {
32395
32572
  additionalProperties: false,
32396
32573
  maxProperties: 20,
@@ -35815,6 +35992,51 @@ var schemaComponents = {
35815
35992
  }
35816
35993
  }
35817
35994
  },
35995
+ AccountRegistryInstallation: {
35996
+ additionalProperties: false,
35997
+ type: "object",
35998
+ required: [
35999
+ "integration",
36000
+ "installed"
36001
+ ],
36002
+ properties: {
36003
+ integration: {
36004
+ pattern: "^(adres|sisben|policia-colombia)$",
36005
+ type: "string"
36006
+ },
36007
+ installed: {
36008
+ type: "boolean"
36009
+ }
36010
+ }
36011
+ },
36012
+ AccountRegistryInstallationResponse: {
36013
+ type: "object",
36014
+ description: "A successful answer.",
36015
+ additionalProperties: false,
36016
+ required: [
36017
+ "success",
36018
+ "data",
36019
+ "error",
36020
+ "metadata"
36021
+ ],
36022
+ properties: {
36023
+ success: {
36024
+ type: "boolean",
36025
+ enum: [
36026
+ true
36027
+ ]
36028
+ },
36029
+ data: {
36030
+ $ref: "#/components/schemas/AccountRegistryInstallation"
36031
+ },
36032
+ error: {
36033
+ const: null
36034
+ },
36035
+ metadata: {
36036
+ $ref: "#/components/schemas/ResponseMetadata"
36037
+ }
36038
+ }
36039
+ },
35818
36040
  AccountRoleNotAssignableFailure: {
35819
36041
  type: "object",
35820
36042
  description: "You cannot assign this role.",
@@ -36170,6 +36392,23 @@ var schemaComponents = {
36170
36392
  }
36171
36393
  }
36172
36394
  },
36395
+ AccountUpdateRegistryInstallationBody: {
36396
+ additionalProperties: false,
36397
+ type: "object",
36398
+ required: [
36399
+ "integration",
36400
+ "installed"
36401
+ ],
36402
+ properties: {
36403
+ integration: {
36404
+ pattern: "^(adres|sisben|policia-colombia)$",
36405
+ type: "string"
36406
+ },
36407
+ installed: {
36408
+ type: "boolean"
36409
+ }
36410
+ }
36411
+ },
36173
36412
  AccountUsageBreakdownRow: {
36174
36413
  additionalProperties: false,
36175
36414
  type: "object",
@@ -100318,6 +100557,11 @@ var schemaComponents = {
100318
100557
  type: "string"
100319
100558
  }
100320
100559
  },
100560
+ expiresAt: {
100561
+ format: "date-time",
100562
+ description: "Exclusive expiration instant, with timezone. Defaults to seven days from creation.",
100563
+ type: "string"
100564
+ },
100321
100565
  restrictions: {
100322
100566
  additionalProperties: false,
100323
100567
  maxProperties: 20,
@@ -100469,11 +100713,24 @@ var schemaComponents = {
100469
100713
  },
100470
100714
  AccountColombianRecordsLookupInput: {
100471
100715
  additionalProperties: false,
100716
+ anyOf: [
100717
+ {
100718
+ properties: {
100719
+ integration: {
100720
+ const: "policia-colombia"
100721
+ }
100722
+ }
100723
+ },
100724
+ {
100725
+ required: [
100726
+ "documentType",
100727
+ "documentNumber"
100728
+ ]
100729
+ }
100730
+ ],
100472
100731
  type: "object",
100473
100732
  required: [
100474
- "integration",
100475
- "documentType",
100476
- "documentNumber"
100733
+ "integration"
100477
100734
  ],
100478
100735
  properties: {
100479
100736
  integration: {
@@ -100485,16 +100742,27 @@ var schemaComponents = {
100485
100742
  {
100486
100743
  const: "sisben",
100487
100744
  type: "string"
100745
+ },
100746
+ {
100747
+ const: "policia-colombia",
100748
+ type: "string"
100488
100749
  }
100489
100750
  ]
100490
100751
  },
100491
100752
  documentType: {
100492
100753
  pattern: "^[A-Z]{2}$",
100754
+ description: "Required for ADRES and Sisbén.",
100493
100755
  type: "string"
100494
100756
  },
100495
100757
  documentNumber: {
100496
100758
  pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
100759
+ description: "Required for ADRES and Sisbén. Preserve leading zeros.",
100497
100760
  type: "string"
100761
+ },
100762
+ agentMode: {
100763
+ default: false,
100764
+ description: "Return a concise Spanish tool answer. Authorization is the same in both formats.",
100765
+ type: "boolean"
100498
100766
  }
100499
100767
  }
100500
100768
  },
@@ -101028,6 +101296,23 @@ var schemaComponents = {
101028
101296
  }
101029
101297
  }
101030
101298
  },
101299
+ AccountRegistryInstallationsUpdateInput: {
101300
+ additionalProperties: false,
101301
+ type: "object",
101302
+ required: [
101303
+ "integration",
101304
+ "installed"
101305
+ ],
101306
+ properties: {
101307
+ integration: {
101308
+ pattern: "^(adres|sisben|policia-colombia)$",
101309
+ type: "string"
101310
+ },
101311
+ installed: {
101312
+ type: "boolean"
101313
+ }
101314
+ }
101315
+ },
101031
101316
  AccountRolesListInput: {
101032
101317
  additionalProperties: false,
101033
101318
  type: "object",
@@ -116598,9 +116883,9 @@ var schemaComponents = {
116598
116883
  // src/generated/generation.json
116599
116884
  var generation_default = {
116600
116885
  formatVersion: 6,
116601
- release: "1.20261101.11848",
116602
- openapiSha256: "8b47a316b38016137c26f1661a6aae9bce394bea8c2b55d49989d969b5b90ff7",
116603
- openapiContentSha256: "71aa65c4d0c9b2fdb52a04937ee487e1dad650ca81c1ccaee0cd78a41c19e7e9",
116886
+ release: "1.20261101.22054",
116887
+ openapiSha256: "3a6f6fb1254fbc8e64833f2b7a47162a01226d32854ffd8dd22969c8c0d9dd1e",
116888
+ openapiContentSha256: "5ef2fc5f6234b5d5f5721536a2991ffa1d6ece9bb50ea485c18209b4ec18291e",
116604
116889
  forge: {
116605
116890
  repository: "https://github.com/cloudflare/forge",
116606
116891
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -116613,7 +116898,7 @@ var generation_default = {
116613
116898
  outputs: [
116614
116899
  {
116615
116900
  path: "src/generated/commands.ts",
116616
- sha256: "13dff28c3286ea28b0b20ed3f42929d457dba127fe951f31ee82460e88df96ac"
116901
+ sha256: "0c0655822c349f466fd5cbcd4cfb3e768eb519a7dc353db863c206a71ed4621e"
116617
116902
  }
116618
116903
  ]
116619
116904
  };
@@ -116968,7 +117253,7 @@ ${name}`);
116968
117253
  }
116969
117254
 
116970
117255
  // src/index.ts
116971
- var VERSION = "3.17.0";
117256
+ var VERSION = "3.19.0";
116972
117257
  var RELEASE = generation_default.release;
116973
117258
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
116974
117259
  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.17.0",
3
+ "version": "3.19.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.17.0",
48
+ "@arbol-ai/sdk": "5.19.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.11848",
64
- "sha256": "71aa65c4d0c9b2fdb52a04937ee487e1dad650ca81c1ccaee0cd78a41c19e7e9"
63
+ "release": "1.20261101.22054",
64
+ "sha256": "5ef2fc5f6234b5d5f5721536a2991ffa1d6ece9bb50ea485c18209b4ec18291e"
65
65
  }
66
66
  }
67
67
  }