@arbol-ai/cli 3.50.0 → 3.51.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 +259 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -31947,6 +31947,65 @@ var commands = {
31947
31947
  confirmation: null,
31948
31948
  hidden: false
31949
31949
  },
31950
+ "visoft patient-name-encodings lookup": {
31951
+ operation: "visoft.patientNameEncodings.lookup",
31952
+ sdkPath: [
31953
+ "visoft",
31954
+ "patientNameEncodings",
31955
+ "lookup"
31956
+ ],
31957
+ pathField: null,
31958
+ fields: [
31959
+ {
31960
+ name: "connectionId",
31961
+ flag: "connection-id",
31962
+ kind: "string",
31963
+ required: false,
31964
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
31965
+ },
31966
+ {
31967
+ name: "documentNumbers",
31968
+ flag: "document-numbers",
31969
+ kind: "list",
31970
+ required: true,
31971
+ description: "Distinct patient document numbers from an authorized source."
31972
+ }
31973
+ ],
31974
+ inputSchema: {
31975
+ type: "object",
31976
+ required: [
31977
+ "documentNumbers"
31978
+ ],
31979
+ properties: {
31980
+ connectionId: {
31981
+ type: "string",
31982
+ minLength: 5,
31983
+ maxLength: 68,
31984
+ pattern: "^con_[0-9A-Za-z]+$",
31985
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
31986
+ },
31987
+ documentNumbers: {
31988
+ type: "array",
31989
+ items: {
31990
+ type: "string",
31991
+ pattern: "^[A-Za-z0-9]{1,20}$",
31992
+ description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
31993
+ },
31994
+ description: "Distinct patient document numbers from an authorized source.",
31995
+ minItems: 1,
31996
+ maxItems: 8,
31997
+ uniqueItems: true,
31998
+ secret: true
31999
+ }
32000
+ },
32001
+ additionalProperties: false
32002
+ },
32003
+ title: "Audit stored patient name encoding",
32004
+ description: "Read the current SIIPS records of the supplied patients and identify name fields with recognizable misdecoded Spanish accents. Returns only the affected field names and document type, without the names or document numbers. Requires the permission to correct patient records. This operation only reads records.",
32005
+ effect: "read",
32006
+ confirmation: null,
32007
+ hidden: false
32008
+ },
31950
32009
  "visoft patients correct": {
31951
32010
  operation: "visoft.patients.correct",
31952
32011
  sdkPath: [
@@ -233110,6 +233169,79 @@ var schemaComponents = {
233110
233169
  },
233111
233170
  additionalProperties: false
233112
233171
  },
233172
+ VisoftLookupPatientNameEncodingBadGatewayError: {
233173
+ type: "object",
233174
+ description: "A failed answer.",
233175
+ additionalProperties: false,
233176
+ required: [
233177
+ "success",
233178
+ "data",
233179
+ "error",
233180
+ "metadata"
233181
+ ],
233182
+ properties: {
233183
+ success: {
233184
+ type: "boolean",
233185
+ enum: [
233186
+ false
233187
+ ]
233188
+ },
233189
+ data: {
233190
+ const: null
233191
+ },
233192
+ error: {
233193
+ $ref: "#/components/schemas/VisoftLookupPatientNameEncodingBadGatewayFailure"
233194
+ },
233195
+ metadata: {
233196
+ $ref: "#/components/schemas/ResponseMetadata"
233197
+ }
233198
+ }
233199
+ },
233200
+ VisoftLookupPatientNameEncodingBadGatewayFailure: {
233201
+ oneOf: [
233202
+ {
233203
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
233204
+ },
233205
+ {
233206
+ $ref: "#/components/schemas/VisoftProviderUnavailableFailure"
233207
+ }
233208
+ ],
233209
+ discriminator: {
233210
+ propertyName: "code",
233211
+ mapping: {
233212
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
233213
+ PROVIDER_UNAVAILABLE: "#/components/schemas/VisoftProviderUnavailableFailure"
233214
+ }
233215
+ }
233216
+ },
233217
+ VisoftLookupPatientNameEncodingBody: {
233218
+ type: "object",
233219
+ required: [
233220
+ "documentNumbers"
233221
+ ],
233222
+ properties: {
233223
+ connectionId: {
233224
+ type: "string",
233225
+ minLength: 5,
233226
+ maxLength: 68,
233227
+ pattern: "^con_[0-9A-Za-z]+$",
233228
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
233229
+ },
233230
+ documentNumbers: {
233231
+ type: "array",
233232
+ items: {
233233
+ type: "string",
233234
+ pattern: "^[A-Za-z0-9]{1,20}$",
233235
+ description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
233236
+ },
233237
+ description: "Distinct patient document numbers from an authorized source.",
233238
+ minItems: 1,
233239
+ maxItems: 8,
233240
+ uniqueItems: true
233241
+ }
233242
+ },
233243
+ additionalProperties: false
233244
+ },
233113
233245
  VisoftPatient: {
233114
233246
  type: "object",
233115
233247
  required: [
@@ -233428,6 +233560,99 @@ var schemaComponents = {
233428
233560
  }
233429
233561
  }
233430
233562
  },
233563
+ VisoftPatientNameEncodingAudit: {
233564
+ type: "object",
233565
+ required: [
233566
+ "results"
233567
+ ],
233568
+ properties: {
233569
+ results: {
233570
+ type: "array",
233571
+ items: {
233572
+ $ref: "#/components/schemas/VisoftPatientNameEncodingResult"
233573
+ },
233574
+ description: "One result per supplied document number, in the same order."
233575
+ }
233576
+ },
233577
+ additionalProperties: false
233578
+ },
233579
+ VisoftPatientNameEncodingAuditResponse: {
233580
+ type: "object",
233581
+ description: "A successful answer.",
233582
+ additionalProperties: false,
233583
+ required: [
233584
+ "success",
233585
+ "data",
233586
+ "error",
233587
+ "metadata"
233588
+ ],
233589
+ properties: {
233590
+ success: {
233591
+ type: "boolean",
233592
+ enum: [
233593
+ true
233594
+ ]
233595
+ },
233596
+ data: {
233597
+ $ref: "#/components/schemas/VisoftPatientNameEncodingAudit"
233598
+ },
233599
+ error: {
233600
+ const: null
233601
+ },
233602
+ metadata: {
233603
+ $ref: "#/components/schemas/ResponseMetadata"
233604
+ }
233605
+ }
233606
+ },
233607
+ VisoftPatientNameEncodingResult: {
233608
+ type: "object",
233609
+ required: [
233610
+ "found",
233611
+ "documentType",
233612
+ "affectedFields"
233613
+ ],
233614
+ properties: {
233615
+ found: {
233616
+ type: "boolean"
233617
+ },
233618
+ documentType: {
233619
+ anyOf: [
233620
+ {
233621
+ type: "string"
233622
+ },
233623
+ {
233624
+ type: "null"
233625
+ }
233626
+ ],
233627
+ description: "The SIIPS document type for an affected patient, or null."
233628
+ },
233629
+ affectedFields: {
233630
+ type: "array",
233631
+ items: {
233632
+ anyOf: [
233633
+ {
233634
+ type: "string",
233635
+ const: "firstName1"
233636
+ },
233637
+ {
233638
+ type: "string",
233639
+ const: "firstName2"
233640
+ },
233641
+ {
233642
+ type: "string",
233643
+ const: "lastName1"
233644
+ },
233645
+ {
233646
+ type: "string",
233647
+ const: "lastName2"
233648
+ }
233649
+ ]
233650
+ },
233651
+ description: "Stored name fields containing a recognizable misdecoded Spanish accent."
233652
+ }
233653
+ },
233654
+ additionalProperties: false
233655
+ },
233431
233656
  VisoftPatientNotFoundFailure: {
233432
233657
  type: "object",
233433
233658
  description: "SIIPS has no patient with that document.",
@@ -251742,6 +251967,35 @@ var schemaComponents = {
251742
251967
  },
251743
251968
  additionalProperties: false
251744
251969
  },
251970
+ VisoftPatientNameEncodingsLookupInput: {
251971
+ type: "object",
251972
+ required: [
251973
+ "documentNumbers"
251974
+ ],
251975
+ properties: {
251976
+ connectionId: {
251977
+ type: "string",
251978
+ minLength: 5,
251979
+ maxLength: 68,
251980
+ pattern: "^con_[0-9A-Za-z]+$",
251981
+ description: "The connection to run on. Optional when the organization has one Visoft connection; required when it has several. Another organization's connection is CONNECTION_NOT_FOUND."
251982
+ },
251983
+ documentNumbers: {
251984
+ type: "array",
251985
+ items: {
251986
+ type: "string",
251987
+ pattern: "^[A-Za-z0-9]{1,20}$",
251988
+ description: "The patient's document number: letters and digits only, without dots, spaces or hyphens."
251989
+ },
251990
+ description: "Distinct patient document numbers from an authorized source.",
251991
+ minItems: 1,
251992
+ maxItems: 8,
251993
+ uniqueItems: true,
251994
+ secret: true
251995
+ }
251996
+ },
251997
+ additionalProperties: false
251998
+ },
251745
251999
  VisoftPatientsCreateInput: {
251746
252000
  type: "object",
251747
252001
  required: [
@@ -252294,9 +252548,9 @@ var schemaComponents = {
252294
252548
  // src/generated/generation.json
252295
252549
  var generation_default = {
252296
252550
  formatVersion: 6,
252297
- release: "1.20261111.45612",
252298
- openapiSha256: "5297bf1a8335b8586945c58f21a9f8e3ae1e932a1dd4eba94d73f619149e11ce",
252299
- openapiContentSha256: "46bcfbef3094b8f286fb9f846076e165320c673633d38f211f9face273e8751c",
252551
+ release: "1.20261111.142422",
252552
+ openapiSha256: "4d6a9df3fc9612bd91b1868b451c9920b3c1079ae7d41260001f621a94bf8d3b",
252553
+ openapiContentSha256: "bb24b083f82d419f963d51b86095e2271dc564389e6bcae1c93d50795e2c0595",
252300
252554
  forge: {
252301
252555
  repository: "https://github.com/cloudflare/forge",
252302
252556
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -252309,7 +252563,7 @@ var generation_default = {
252309
252563
  outputs: [
252310
252564
  {
252311
252565
  path: "src/generated/commands.ts",
252312
- sha256: "71207e4be2def7fb71fb009559329323e6186baff8e19642b46050673dd49229"
252566
+ sha256: "260256f6d26e4f1ac387c8218dcc6201cbe12f385d0658870bab6884e7cf470a"
252313
252567
  }
252314
252568
  ]
252315
252569
  };
@@ -253909,7 +254163,7 @@ ${name}`);
253909
254163
  }
253910
254164
 
253911
254165
  // src/index.ts
253912
- var VERSION = "3.50.0";
254166
+ var VERSION = "3.51.0";
253913
254167
  var RELEASE = generation_default.release;
253914
254168
  var commands2 = { ...commands, ...accountOperatorCommands };
253915
254169
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/cli",
3
- "version": "3.50.0",
3
+ "version": "3.51.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.50.0",
48
+ "@arbol-ai/sdk": "5.51.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.20261111.45612",
64
- "sha256": "46bcfbef3094b8f286fb9f846076e165320c673633d38f211f9face273e8751c"
63
+ "release": "1.20261111.142422",
64
+ "sha256": "bb24b083f82d419f963d51b86095e2271dc564389e6bcae1c93d50795e2c0595"
65
65
  }
66
66
  }
67
67
  }