@arbol-ai/cli 3.14.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.
Files changed (2) hide show
  1. package/dist/index.js +497 -23
  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: [
@@ -23263,7 +23443,7 @@ var commands = {
23263
23443
  }
23264
23444
  },
23265
23445
  title: "Look up an exact IPS invoice reference",
23266
- description: "Look up one exact invoice prefix and number in the active billing connection’s institution. Returns only the number of matching report rows. A successful empty report does not establish rejection, payment or a filing receipt.",
23446
+ description: "Look up one exact invoice prefix and number in the active billing connection’s institution. Returns the number of matching rows. Outside the provider’s live reporting hours, REPORTING_WINDOW_CLOSED gives the opening hour (inclusive), closing hour (exclusive) and time zone. Payment or rejection requires separate evidence.",
23267
23447
  effect: "read",
23268
23448
  confirmation: null,
23269
23449
  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",
@@ -84709,30 +85024,44 @@ var schemaComponents = {
84709
85024
  }
84710
85025
  },
84711
85026
  SaludTotalInvoiceLookupResult: {
84712
- additionalProperties: false,
84713
- type: "object",
84714
- required: [
84715
- "status",
84716
- "recordCount"
84717
- ],
84718
- properties: {
84719
- status: {
84720
- anyOf: [
84721
- {
85027
+ anyOf: [
85028
+ {
85029
+ additionalProperties: false,
85030
+ type: "object",
85031
+ required: [
85032
+ "status",
85033
+ "recordCount"
85034
+ ],
85035
+ properties: {
85036
+ status: {
84722
85037
  const: "no_match",
84723
85038
  type: "string"
84724
85039
  },
84725
- {
85040
+ recordCount: {
85041
+ const: 0,
85042
+ type: "number"
85043
+ }
85044
+ }
85045
+ },
85046
+ {
85047
+ additionalProperties: false,
85048
+ type: "object",
85049
+ required: [
85050
+ "status",
85051
+ "recordCount"
85052
+ ],
85053
+ properties: {
85054
+ status: {
84726
85055
  const: "records_found",
84727
85056
  type: "string"
85057
+ },
85058
+ recordCount: {
85059
+ minimum: 1,
85060
+ type: "integer"
84728
85061
  }
84729
- ]
84730
- },
84731
- recordCount: {
84732
- minimum: 0,
84733
- type: "integer"
85062
+ }
84734
85063
  }
84735
- }
85064
+ ]
84736
85065
  },
84737
85066
  SaludTotalInvoiceLookupResultResponse: {
84738
85067
  type: "object",
@@ -85510,6 +85839,9 @@ var schemaComponents = {
85510
85839
  },
85511
85840
  SaludTotalLookupInvoiceConflictFailure: {
85512
85841
  oneOf: [
85842
+ {
85843
+ $ref: "#/components/schemas/SaludTotalReportingWindowClosedFailure"
85844
+ },
85513
85845
  {
85514
85846
  $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
85515
85847
  },
@@ -85529,6 +85861,7 @@ var schemaComponents = {
85529
85861
  discriminator: {
85530
85862
  propertyName: "code",
85531
85863
  mapping: {
85864
+ REPORTING_WINDOW_CLOSED: "#/components/schemas/SaludTotalReportingWindowClosedFailure",
85532
85865
  CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
85533
85866
  SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
85534
85867
  INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
@@ -85956,6 +86289,65 @@ var schemaComponents = {
85956
86289
  }
85957
86290
  }
85958
86291
  },
86292
+ SaludTotalReportingWindowClosedFailure: {
86293
+ type: "object",
86294
+ description: "Invoice reporting is closed. Retry during the provider’s reporting hours.",
86295
+ additionalProperties: false,
86296
+ required: [
86297
+ "code",
86298
+ "message",
86299
+ "retryable",
86300
+ "data"
86301
+ ],
86302
+ properties: {
86303
+ code: {
86304
+ type: "string",
86305
+ enum: [
86306
+ "REPORTING_WINDOW_CLOSED"
86307
+ ],
86308
+ description: "The failure code, stable across releases."
86309
+ },
86310
+ message: {
86311
+ type: "string",
86312
+ description: "What went wrong, for people; it never contains input values."
86313
+ },
86314
+ retryable: {
86315
+ type: "boolean",
86316
+ enum: [
86317
+ true
86318
+ ],
86319
+ description: "Whether repeating the same request may succeed."
86320
+ },
86321
+ data: {
86322
+ $ref: "#/components/schemas/SaludTotalReportingWindowClosedFailureData"
86323
+ }
86324
+ }
86325
+ },
86326
+ SaludTotalReportingWindowClosedFailureData: {
86327
+ additionalProperties: false,
86328
+ type: "object",
86329
+ required: [
86330
+ "opensAtHour",
86331
+ "closesAtHour",
86332
+ "timeZone"
86333
+ ],
86334
+ properties: {
86335
+ opensAtHour: {
86336
+ minimum: 0,
86337
+ maximum: 23,
86338
+ type: "integer"
86339
+ },
86340
+ closesAtHour: {
86341
+ minimum: 1,
86342
+ maximum: 24,
86343
+ type: "integer"
86344
+ },
86345
+ timeZone: {
86346
+ const: "America/Bogota",
86347
+ type: "string"
86348
+ }
86349
+ }
86350
+ },
85959
86351
  SaludTotalScopedDayLookup: {
85960
86352
  additionalProperties: false,
85961
86353
  type: "object",
@@ -100062,6 +100454,37 @@ var schemaComponents = {
100062
100454
  }
100063
100455
  }
100064
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
+ },
100065
100488
  AccountConnectionsListInput: {
100066
100489
  additionalProperties: false,
100067
100490
  type: "object",
@@ -100091,6 +100514,18 @@ var schemaComponents = {
100091
100514
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
100092
100515
  type: "integer",
100093
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
+ ]
100094
100529
  }
100095
100530
  }
100096
100531
  },
@@ -100541,6 +100976,45 @@ var schemaComponents = {
100541
100976
  }
100542
100977
  }
100543
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
+ },
100544
101018
  AccountRolesListInput: {
100545
101019
  additionalProperties: false,
100546
101020
  type: "object",
@@ -116111,9 +116585,9 @@ var schemaComponents = {
116111
116585
  // src/generated/generation.json
116112
116586
  var generation_default = {
116113
116587
  formatVersion: 6,
116114
- release: "1.20261031.232616",
116115
- openapiSha256: "b59648fb5a125fe67b0e5f285fbce8edced6851dab817b00807f1991eb40c314",
116116
- openapiContentSha256: "c278178a1672b31209b7ed57864896029959c7988f99d6d3adfc5256fd2990a6",
116588
+ release: "1.20261101.1558",
116589
+ openapiSha256: "3f4b25bee534f21d96a238988423fc0b252bedde1f6529e7b698606cdb471045",
116590
+ openapiContentSha256: "0d5a89264ff219b7d1db9bb0c8c207ae0c2a5681f32ac5f9b1e6d9c0c0f12382",
116117
116591
  forge: {
116118
116592
  repository: "https://github.com/cloudflare/forge",
116119
116593
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -116126,7 +116600,7 @@ var generation_default = {
116126
116600
  outputs: [
116127
116601
  {
116128
116602
  path: "src/generated/commands.ts",
116129
- sha256: "813c3136796b047fefcbfbeb386d2a7989a0168a64b48f9479f416e7d026568b"
116603
+ sha256: "25822459fa0859b03a11d2bccac4dd339b3b7d7f7be8d7386b52c38e0599bc43"
116130
116604
  }
116131
116605
  ]
116132
116606
  };
@@ -116481,7 +116955,7 @@ ${name}`);
116481
116955
  }
116482
116956
 
116483
116957
  // src/index.ts
116484
- var VERSION = "3.14.0";
116958
+ var VERSION = "3.16.0";
116485
116959
  var RELEASE = generation_default.release;
116486
116960
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
116487
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.14.0",
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.14.0",
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.20261031.232616",
64
- "sha256": "c278178a1672b31209b7ed57864896029959c7988f99d6d3adfc5256fd2990a6"
63
+ "release": "1.20261101.1558",
64
+ "sha256": "0d5a89264ff219b7d1db9bb0c8c207ae0c2a5681f32ac5f9b1e6d9c0c0f12382"
65
65
  }
66
66
  }
67
67
  }