@arbol-ai/cli 3.15.0 → 3.17.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 +418 -8
  2. 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: [
@@ -25199,7 +25379,7 @@ var commands = {
25199
25379
  additionalProperties: false
25200
25380
  },
25201
25381
  title: "List a contract's services",
25202
- 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 Cloudflare AI 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.",
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 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.",
25203
25383
  effect: "read",
25204
25384
  confirmation: null,
25205
25385
  hidden: false
@@ -25337,7 +25517,7 @@ var commands = {
25337
25517
  }
25338
25518
  },
25339
25519
  title: "Look up a contract's services",
25340
- 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 Cloudflare AI 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.",
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 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.",
25341
25521
  effect: "read",
25342
25522
  confirmation: null,
25343
25523
  hidden: false
@@ -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",
@@ -67172,6 +67487,19 @@ var schemaComponents = {
67172
67487
  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}))$",
67173
67488
  type: "string"
67174
67489
  },
67490
+ lastBusinessAppGreetingAt: {
67491
+ 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.",
67492
+ anyOf: [
67493
+ {
67494
+ description: "An instant in RFC 3339 format, in UTC.",
67495
+ format: "date-time",
67496
+ type: "string"
67497
+ },
67498
+ {
67499
+ type: "null"
67500
+ }
67501
+ ]
67502
+ },
67175
67503
  name: {
67176
67504
  anyOf: [
67177
67505
  {
@@ -89935,7 +90263,7 @@ var schemaComponents = {
89935
90263
  type: "string"
89936
90264
  },
89937
90265
  match: {
89938
- description: "words: the code or the name contains the query. meaning: Cloudflare AI Search found it close to the query in meaning; confirm it with the person or the order before using it.",
90266
+ 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.",
89939
90267
  anyOf: [
89940
90268
  {
89941
90269
  const: "words",
@@ -100139,6 +100467,37 @@ var schemaComponents = {
100139
100467
  }
100140
100468
  }
100141
100469
  },
100470
+ AccountColombianRecordsLookupInput: {
100471
+ additionalProperties: false,
100472
+ type: "object",
100473
+ required: [
100474
+ "integration",
100475
+ "documentType",
100476
+ "documentNumber"
100477
+ ],
100478
+ properties: {
100479
+ integration: {
100480
+ anyOf: [
100481
+ {
100482
+ const: "adres",
100483
+ type: "string"
100484
+ },
100485
+ {
100486
+ const: "sisben",
100487
+ type: "string"
100488
+ }
100489
+ ]
100490
+ },
100491
+ documentType: {
100492
+ pattern: "^[A-Z]{2}$",
100493
+ type: "string"
100494
+ },
100495
+ documentNumber: {
100496
+ pattern: "^(?:[0-9]{1,14}|[A-Z0-9]{8,10})$",
100497
+ type: "string"
100498
+ }
100499
+ }
100500
+ },
100142
100501
  AccountConnectionsListInput: {
100143
100502
  additionalProperties: false,
100144
100503
  type: "object",
@@ -100168,6 +100527,18 @@ var schemaComponents = {
100168
100527
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
100169
100528
  type: "integer",
100170
100529
  default: 25
100530
+ },
100531
+ tag: {
100532
+ anyOf: [
100533
+ {
100534
+ const: "postconsulta",
100535
+ type: "string"
100536
+ },
100537
+ {
100538
+ const: "facturacion",
100539
+ type: "string"
100540
+ }
100541
+ ]
100171
100542
  }
100172
100543
  }
100173
100544
  },
@@ -100618,6 +100989,45 @@ var schemaComponents = {
100618
100989
  }
100619
100990
  }
100620
100991
  },
100992
+ AccountPersonalConsentsPrepareInput: {
100993
+ additionalProperties: false,
100994
+ type: "object",
100995
+ required: [
100996
+ "documentType",
100997
+ "documentNumber",
100998
+ "consent"
100999
+ ],
101000
+ properties: {
101001
+ documentType: {
101002
+ anyOf: [
101003
+ {
101004
+ const: "CC",
101005
+ type: "string"
101006
+ },
101007
+ {
101008
+ const: "CE",
101009
+ type: "string"
101010
+ },
101011
+ {
101012
+ const: "PA",
101013
+ type: "string"
101014
+ },
101015
+ {
101016
+ const: "DP",
101017
+ type: "string"
101018
+ }
101019
+ ]
101020
+ },
101021
+ documentNumber: {
101022
+ pattern: "^[A-Z0-9]{1,20}$",
101023
+ type: "string"
101024
+ },
101025
+ consent: {
101026
+ const: true,
101027
+ type: "boolean"
101028
+ }
101029
+ }
101030
+ },
100621
101031
  AccountRolesListInput: {
100622
101032
  additionalProperties: false,
100623
101033
  type: "object",
@@ -116188,9 +116598,9 @@ var schemaComponents = {
116188
116598
  // src/generated/generation.json
116189
116599
  var generation_default = {
116190
116600
  formatVersion: 6,
116191
- release: "1.20261101.1149",
116192
- openapiSha256: "93cc9ff7bde9c4d0011413c408e08dc907b2701c78831042f93bff6d66c2f019",
116193
- openapiContentSha256: "ea84a99894927badee6af4fd1b9b6e39e845eb87fe5b2b8bcedb20bce67e956d",
116601
+ release: "1.20261101.11848",
116602
+ openapiSha256: "8b47a316b38016137c26f1661a6aae9bce394bea8c2b55d49989d969b5b90ff7",
116603
+ openapiContentSha256: "71aa65c4d0c9b2fdb52a04937ee487e1dad650ca81c1ccaee0cd78a41c19e7e9",
116194
116604
  forge: {
116195
116605
  repository: "https://github.com/cloudflare/forge",
116196
116606
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -116203,7 +116613,7 @@ var generation_default = {
116203
116613
  outputs: [
116204
116614
  {
116205
116615
  path: "src/generated/commands.ts",
116206
- sha256: "d6df1959c27aa72de66834304545b639ea07f829876399a8e120c592c3209f59"
116616
+ sha256: "13dff28c3286ea28b0b20ed3f42929d457dba127fe951f31ee82460e88df96ac"
116207
116617
  }
116208
116618
  ]
116209
116619
  };
@@ -116558,7 +116968,7 @@ ${name}`);
116558
116968
  }
116559
116969
 
116560
116970
  // src/index.ts
116561
- var VERSION = "3.15.0";
116971
+ var VERSION = "3.17.0";
116562
116972
  var RELEASE = generation_default.release;
116563
116973
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
116564
116974
  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.15.0",
3
+ "version": "3.17.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.15.0",
48
+ "@arbol-ai/sdk": "5.17.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.1149",
64
- "sha256": "ea84a99894927badee6af4fd1b9b6e39e845eb87fe5b2b8bcedb20bce67e956d"
63
+ "release": "1.20261101.11848",
64
+ "sha256": "71aa65c4d0c9b2fdb52a04937ee487e1dad650ca81c1ccaee0cd78a41c19e7e9"
65
65
  }
66
66
  }
67
67
  }