@arbol-ai/cli 3.71.1 → 3.72.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 +98 -9
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -12464,6 +12464,20 @@ var commands = {
12464
12464
  ],
12465
12465
  pathField: null,
12466
12466
  fields: [
12467
+ {
12468
+ name: "bookingRoute",
12469
+ flag: "booking-route",
12470
+ kind: "string",
12471
+ required: false,
12472
+ description: "Verified payment route, required for agent scheduling at clinics using colored booking windows.",
12473
+ choices: [
12474
+ "PRIVATE",
12475
+ "AXA_PREPAID",
12476
+ "AXA_ARL",
12477
+ "PONAL_STARKEY",
12478
+ "EPS_SURA"
12479
+ ]
12480
+ },
12467
12481
  {
12468
12482
  name: "connectionId",
12469
12483
  flag: "connection-id",
@@ -12685,6 +12699,31 @@ var commands = {
12685
12699
  }
12686
12700
  }
12687
12701
  },
12702
+ bookingRoute: {
12703
+ description: "Verified payment route, required for agent scheduling at clinics using colored booking windows.",
12704
+ anyOf: [
12705
+ {
12706
+ const: "PRIVATE",
12707
+ type: "string"
12708
+ },
12709
+ {
12710
+ const: "AXA_PREPAID",
12711
+ type: "string"
12712
+ },
12713
+ {
12714
+ const: "AXA_ARL",
12715
+ type: "string"
12716
+ },
12717
+ {
12718
+ const: "PONAL_STARKEY",
12719
+ type: "string"
12720
+ },
12721
+ {
12722
+ const: "EPS_SURA",
12723
+ type: "string"
12724
+ }
12725
+ ]
12726
+ },
12688
12727
  connectionId: {
12689
12728
  pattern: "^con_[0-9A-Za-z]{26}$",
12690
12729
  type: "string"
@@ -12692,7 +12731,7 @@ var commands = {
12692
12731
  }
12693
12732
  },
12694
12733
  title: "Create patient",
12695
- description: "Use the organization gMedic account. Some clinics need every detail of a patient an agent registers (names, document, birth date, sex, mobilePhone, email, address); a refusal names what is missing. No automatic write retries; reconcile an unknown outcome before repeating.",
12734
+ description: "Use the organization gMedic account. Some clinics need every detail of a patient an agent registers (names, document, birth date, sex, mobilePhone, email, address); a refusal names what is missing. At clinics with colored booking windows, send the patient's verified bookingRoute: an agreement route (EPS_SURA, AXA_PREPAID) registers them under that health partner. No automatic write retries; reconcile an unknown outcome before repeating.",
12696
12735
  effect: "write",
12697
12736
  confirmation: null,
12698
12737
  hidden: false
@@ -13392,7 +13431,7 @@ var commands = {
13392
13431
  }
13393
13432
  },
13394
13433
  title: "Update patient",
13395
- description: "Use the organization gMedic account. Send only the fields that change: every other field gMedic stores is kept. An agent cannot change a patient’s document, names or birth date. No automatic write retries; reconcile an unknown outcome before repeating.",
13434
+ description: "Use the organization gMedic account. Send only the fields that change; the connector re-sends what gMedic's read answers in a writable form, but gMedic replaces the stored patient, so agreement, residence, EPS, ARL, occupation and fields its read omits are lost and its creation date is reset. An agent cannot change a patient's document, names or birth date, and at clinics with colored booking windows cannot update an existing patient at all: book with the contact in notificationNumber and notificationMail. No automatic write retries; reconcile an unknown outcome before repeating.",
13396
13435
  effect: "write",
13397
13436
  confirmation: null,
13398
13437
  hidden: false
@@ -37914,13 +37953,13 @@ var schemaComponents = {
37914
37953
  }
37915
37954
  },
37916
37955
  additionalProperties: false,
37917
- description: "Whether, when and how far ahead this connection's appointments are reminded on WhatsApp."
37956
+ description: "Whether, when and how far ahead this connection's appointments are reminded."
37918
37957
  },
37919
37958
  {
37920
37959
  type: "null"
37921
37960
  }
37922
37961
  ],
37923
- description: "Its WhatsApp appointment reminders, or null when its integration cannot feed them. Until someone changes them they are off, at 09:00, the day before."
37962
+ description: "Its appointment reminders, or null when its integration cannot feed them. Until someone changes them they are off, at 09:00, the day before."
37924
37963
  },
37925
37964
  arbi: {
37926
37965
  type: "object",
@@ -160625,6 +160664,31 @@ var schemaComponents = {
160625
160664
  }
160626
160665
  }
160627
160666
  },
160667
+ bookingRoute: {
160668
+ description: "Verified payment route, required for agent scheduling at clinics using colored booking windows.",
160669
+ anyOf: [
160670
+ {
160671
+ const: "PRIVATE",
160672
+ type: "string"
160673
+ },
160674
+ {
160675
+ const: "AXA_PREPAID",
160676
+ type: "string"
160677
+ },
160678
+ {
160679
+ const: "AXA_ARL",
160680
+ type: "string"
160681
+ },
160682
+ {
160683
+ const: "PONAL_STARKEY",
160684
+ type: "string"
160685
+ },
160686
+ {
160687
+ const: "EPS_SURA",
160688
+ type: "string"
160689
+ }
160690
+ ]
160691
+ },
160628
160692
  connectionId: {
160629
160693
  pattern: "^con_[0-9A-Za-z]{26}$",
160630
160694
  type: "string"
@@ -254139,6 +254203,31 @@ var schemaComponents = {
254139
254203
  }
254140
254204
  }
254141
254205
  },
254206
+ bookingRoute: {
254207
+ description: "Verified payment route, required for agent scheduling at clinics using colored booking windows.",
254208
+ anyOf: [
254209
+ {
254210
+ const: "PRIVATE",
254211
+ type: "string"
254212
+ },
254213
+ {
254214
+ const: "AXA_PREPAID",
254215
+ type: "string"
254216
+ },
254217
+ {
254218
+ const: "AXA_ARL",
254219
+ type: "string"
254220
+ },
254221
+ {
254222
+ const: "PONAL_STARKEY",
254223
+ type: "string"
254224
+ },
254225
+ {
254226
+ const: "EPS_SURA",
254227
+ type: "string"
254228
+ }
254229
+ ]
254230
+ },
254142
254231
  connectionId: {
254143
254232
  pattern: "^con_[0-9A-Za-z]{26}$",
254144
254233
  type: "string"
@@ -267290,9 +267379,9 @@ var schemaComponents = {
267290
267379
  // src/generated/generation.json
267291
267380
  var generation_default = {
267292
267381
  formatVersion: 6,
267293
- release: "1.20261125.21951",
267294
- openapiSha256: "fbb951142466ccb7db7651002ab2d7a1a24eb85e41a21c67bbf50b13c1741919",
267295
- openapiContentSha256: "8d52030d5ca554e5ea36967e17622553c3c195c032a1a47c7f10633f8ab90143",
267382
+ release: "1.20261125.195549",
267383
+ openapiSha256: "1fbcbe1b8b9586ca44edc304690bb3c99103f2e443aa1b45fba25b5ecbcfd200",
267384
+ openapiContentSha256: "c28321b7270b9775280aafd72c47548f4aff51bf1858677f6a597cd1fd0a0cc1",
267296
267385
  forge: {
267297
267386
  repository: "https://github.com/cloudflare/forge",
267298
267387
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -267305,7 +267394,7 @@ var generation_default = {
267305
267394
  outputs: [
267306
267395
  {
267307
267396
  path: "src/generated/commands.ts",
267308
- sha256: "52496c636ab1fddaf0f4874edebe6c6a175d73f061b49990386377bfa4d9ce54"
267397
+ sha256: "1ba3af5e766c31629eee6f8be9a5d1fb8bb5953e6590b1f9508c804c6efbedee"
267309
267398
  }
267310
267399
  ]
267311
267400
  };
@@ -269177,7 +269266,7 @@ ${name}`);
269177
269266
  }
269178
269267
 
269179
269268
  // src/index.ts
269180
- var VERSION = "3.71.1";
269269
+ var VERSION = "3.72.0";
269181
269270
  var RELEASE = generation_default.release;
269182
269271
  var commands2 = { ...commands, ...accountOperatorCommands };
269183
269272
  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.71.1",
3
+ "version": "3.72.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.71.0",
48
+ "@arbol-ai/sdk": "5.72.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.20261125.21951",
64
- "sha256": "8d52030d5ca554e5ea36967e17622553c3c195c032a1a47c7f10633f8ab90143"
63
+ "release": "1.20261125.195549",
64
+ "sha256": "c28321b7270b9775280aafd72c47548f4aff51bf1858677f6a597cd1fd0a0cc1"
65
65
  }
66
66
  }
67
67
  }