@arbol-ai/cli 3.46.0 → 3.48.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 +1033 -85
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -18431,6 +18431,25 @@ var commands = {
18431
18431
  required: false,
18432
18432
  description: "With `expand=recipients`: `definitionKey=optionKey`, only those whose latest answer is that option; `definitionKey=`, only those with no answer yet."
18433
18433
  },
18434
+ {
18435
+ name: "recipientsButton",
18436
+ flag: "recipients-button",
18437
+ kind: "string",
18438
+ required: false,
18439
+ description: "With `expand=recipients`: only those whose last pressed button is this one, by its exact text."
18440
+ },
18441
+ {
18442
+ name: "recipientsReply",
18443
+ flag: "recipients-reply",
18444
+ kind: "string",
18445
+ required: false,
18446
+ description: "With `expand=recipients`, WhatsApp: how the people a message reached answered it. `button`: they pressed one of its buttons. `written`: they wrote and pressed none. `none`: they did neither (`progress.noReply`).",
18447
+ choices: [
18448
+ "button",
18449
+ "written",
18450
+ "none"
18451
+ ]
18452
+ },
18434
18453
  {
18435
18454
  name: "recipientsStatus",
18436
18455
  flag: "recipients-status",
@@ -18502,6 +18521,29 @@ var commands = {
18502
18521
  description: "With `expand=recipients`: `definitionKey=optionKey`, only those whose latest answer is that option; `definitionKey=`, only those with no answer yet.",
18503
18522
  pattern: "^[a-z][a-z0-9_]{0,63}=([a-z][a-z0-9_]{0,63})?$"
18504
18523
  },
18524
+ recipientsButton: {
18525
+ type: "string",
18526
+ maxLength: 256,
18527
+ minLength: 1,
18528
+ description: "With `expand=recipients`: only those whose last pressed button is this one, by its exact text."
18529
+ },
18530
+ recipientsReply: {
18531
+ anyOf: [
18532
+ {
18533
+ type: "string",
18534
+ const: "button"
18535
+ },
18536
+ {
18537
+ type: "string",
18538
+ const: "written"
18539
+ },
18540
+ {
18541
+ type: "string",
18542
+ const: "none"
18543
+ }
18544
+ ],
18545
+ description: "With `expand=recipients`, WhatsApp: how the people a message reached answered it. `button`: they pressed one of its buttons. `written`: they wrote and pressed none. `none`: they did neither (`progress.noReply`)."
18546
+ },
18505
18547
  recipientsStatus: {
18506
18548
  anyOf: [
18507
18549
  {
@@ -18724,7 +18766,7 @@ var commands = {
18724
18766
  ]
18725
18767
  },
18726
18768
  title: "Start a campaign",
18727
- description: "Start reaching people: from now on the campaign's due recipients are called, at most `settings.channels.maxConcurrentOutboundCalls` (five by default) at once across the organization, or sent their message, one after another, about 30 a minute. A call campaign needs an active, published voice Agent (VOICE_AGENT_NOT_READY). A WhatsApp campaign needs an active text Agent (CAMPAIGN_AGENT_NOT_READY), a line that can send (CHANNEL_NOT_READY), an approved template whose parameters fit (a `TEMPLATE_*` code), a value for every variable (CAMPAIGN_VARIABLE_MISSING) and, when the template's header is a document, image or video, the first pending recipient's own `header` file (CAMPAIGN_HEADER_MISSING). A recipient must be pending (CAMPAIGN_NO_RECIPIENTS). `get_campaign` with `expand=readiness` lists all of this beforehand. A campaign starts once: starting a running one changes nothing, and a paused one resumes with `update_campaign` and `paused: false`. Not an AI tool: it reaches real people.",
18769
+ description: "Start reaching people: from now on the campaign's due recipients are called, at most `settings.channels.maxConcurrentOutboundCalls` (five by default) at once across the organization, or sent their message, a few a second. A call campaign needs an active, published voice Agent (VOICE_AGENT_NOT_READY). A WhatsApp campaign needs an active text Agent (CAMPAIGN_AGENT_NOT_READY), a line that can send (CHANNEL_NOT_READY), an approved template whose parameters fit (a `TEMPLATE_*` code), a value for every variable (CAMPAIGN_VARIABLE_MISSING) and, when the template's header is a document, image or video, the first pending recipient's own `header` file (CAMPAIGN_HEADER_MISSING). A recipient must be pending (CAMPAIGN_NO_RECIPIENTS). `get_campaign` with `expand=readiness` lists all of this beforehand. A campaign starts once: starting a running one changes nothing, and a paused one resumes with `update_campaign` and `paused: false`. Not an AI tool: it reaches real people.",
18728
18770
  effect: "write",
18729
18771
  confirmation: null,
18730
18772
  hidden: false
@@ -20786,6 +20828,40 @@ var commands = {
20786
20828
  description: "A short internal note about the resolved blocker, authoritative evidence, confirmed appointments and any remaining request. A note does not establish coverage, clinical equivalence, consent or a booking. Preserve explicit human requests and unresolved clinical decisions, identity conflicts or uncertain writes with the team.",
20787
20829
  maxLength: 500
20788
20830
  },
20831
+ template: {
20832
+ type: "object",
20833
+ required: [
20834
+ "language",
20835
+ "name"
20836
+ ],
20837
+ properties: {
20838
+ header: {
20839
+ $ref: "#/components/schemas/RaizTemplateHeaderFile",
20840
+ description: "The file shown above the text of a template whose header is a document, image or video, different on every send (an appointment's receipt, a ticket). Required by such a template, refused by any other."
20841
+ },
20842
+ language: {
20843
+ type: "string",
20844
+ maxLength: 15,
20845
+ minLength: 2
20846
+ },
20847
+ name: {
20848
+ type: "string",
20849
+ maxLength: 512,
20850
+ minLength: 1
20851
+ },
20852
+ parameters: {
20853
+ type: "array",
20854
+ items: {
20855
+ type: "string",
20856
+ maxLength: 1024
20857
+ },
20858
+ description: "Body parameters, in order.",
20859
+ maxItems: 20
20860
+ }
20861
+ },
20862
+ additionalProperties: false,
20863
+ description: "An approved template of the conversation's channel that Raíz sends in this conversation now, from the team. With it the Agent does not write now: it answers when the person replies, reading `note`, so the conversation can be given back outside WhatsApp's 24-hour window. Without it the Agent continues at once, and the person must have written in the last 24 hours (WHATSAPP_WINDOW_CLOSED). Follow the template's `deliveryStatus` in the transcript."
20864
+ },
20789
20865
  conversationId: {
20790
20866
  type: "string",
20791
20867
  description: "Conversation id.",
@@ -20798,7 +20874,7 @@ var commands = {
20798
20874
  additionalProperties: false
20799
20875
  },
20800
20876
  title: "Give a conversation back to the AI to continue",
20801
- description: "Give a WhatsApp conversation the AI handed to the team back to the AI, which continues the contact's pending request now, though the contact has not written. Review the resolved blocker first; use expectedVersion and expectedHandoffMessageId to refuse a stale decision with VERSION_CONFLICT. `note` preserves the evidence and remaining request for the Agent. Only inside WhatsApp's 24-hour window, once per handoff, and for an AI handoff. Preserve explicit human requests, unresolved clinical/administrative decisions, identity conflicts and uncertain writes with the team. Not an AI tool: it makes the Agent write to a real person.",
20877
+ description: "Give a WhatsApp conversation the AI handed to the team back to the AI, which continues the contact's pending request now, though the contact has not written. Review the resolved blocker first; use expectedVersion and expectedHandoffMessageId to refuse a stale decision with VERSION_CONFLICT. `note` preserves the evidence and remaining request for the Agent. Inside WhatsApp's 24-hour window the Agent writes at once; outside it, give `template`: Raíz sends that approved template in the conversation and the Agent answers when the person replies (WHATSAPP_WINDOW_CLOSED without one). Once per handoff, and for an AI handoff. Preserve explicit human requests, unresolved clinical/administrative decisions, identity conflicts and uncertain writes with the team. Not an AI tool: it makes the Agent write to a real person.",
20802
20878
  effect: "write",
20803
20879
  confirmation: null,
20804
20880
  hidden: false
@@ -22027,6 +22103,205 @@ var commands = {
22027
22103
  confirmation: null,
22028
22104
  hidden: false
22029
22105
  },
22106
+ "raiz conversations send": {
22107
+ operation: "raiz.conversations.send",
22108
+ sdkPath: [
22109
+ "raiz",
22110
+ "conversations",
22111
+ "send"
22112
+ ],
22113
+ pathField: "conversationId",
22114
+ fields: [
22115
+ {
22116
+ name: "replyToMessageId",
22117
+ flag: "reply-to-message-id",
22118
+ kind: "string",
22119
+ required: false,
22120
+ description: "A message of the same conversation to quote."
22121
+ }
22122
+ ],
22123
+ inputSchema: {
22124
+ type: "object",
22125
+ required: [
22126
+ "conversationId"
22127
+ ],
22128
+ properties: {
22129
+ parts: {
22130
+ type: "array",
22131
+ items: {
22132
+ anyOf: [
22133
+ {
22134
+ type: "object",
22135
+ required: [
22136
+ "text",
22137
+ "type"
22138
+ ],
22139
+ properties: {
22140
+ format: {
22141
+ anyOf: [
22142
+ {
22143
+ type: "string",
22144
+ const: "plain"
22145
+ },
22146
+ {
22147
+ type: "string",
22148
+ const: "markdown"
22149
+ }
22150
+ ],
22151
+ default: "plain"
22152
+ },
22153
+ text: {
22154
+ type: "string",
22155
+ maxLength: 4096,
22156
+ minLength: 1
22157
+ },
22158
+ type: {
22159
+ type: "string",
22160
+ const: "text"
22161
+ }
22162
+ },
22163
+ additionalProperties: false
22164
+ },
22165
+ {
22166
+ type: "object",
22167
+ required: [
22168
+ "data",
22169
+ "mediaType",
22170
+ "type"
22171
+ ],
22172
+ properties: {
22173
+ data: {
22174
+ type: "string",
22175
+ contentEncoding: "base64",
22176
+ description: "The file's bytes in base64, at most 5242880 bytes decoded.",
22177
+ maxLength: 6990508,
22178
+ minLength: 4
22179
+ },
22180
+ fileName: {
22181
+ type: "string",
22182
+ description: "The name the contact sees for a document.",
22183
+ maxLength: 240,
22184
+ minLength: 1,
22185
+ pattern: "^[^/\\\\\\u0000-\\u001f\\u007f]+$"
22186
+ },
22187
+ mediaType: {
22188
+ anyOf: [
22189
+ {
22190
+ type: "string",
22191
+ const: "image/jpeg"
22192
+ },
22193
+ {
22194
+ type: "string",
22195
+ const: "image/png"
22196
+ },
22197
+ {
22198
+ type: "string",
22199
+ const: "application/pdf"
22200
+ },
22201
+ {
22202
+ type: "string",
22203
+ const: "text/plain"
22204
+ },
22205
+ {
22206
+ type: "string",
22207
+ const: "application/msword"
22208
+ },
22209
+ {
22210
+ type: "string",
22211
+ const: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
22212
+ },
22213
+ {
22214
+ type: "string",
22215
+ const: "application/vnd.ms-excel"
22216
+ },
22217
+ {
22218
+ type: "string",
22219
+ const: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
22220
+ },
22221
+ {
22222
+ type: "string",
22223
+ const: "application/vnd.ms-powerpoint"
22224
+ },
22225
+ {
22226
+ type: "string",
22227
+ const: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
22228
+ }
22229
+ ],
22230
+ description: "JPEG and PNG are sent as an image; the others as a document."
22231
+ },
22232
+ type: {
22233
+ type: "string",
22234
+ const: "file"
22235
+ }
22236
+ },
22237
+ description: "A private web or WhatsApp attachment. WhatsApp accepts one per message, with the text as its caption; web accepts multiple within the combined 5 MiB budget.",
22238
+ additionalProperties: false
22239
+ }
22240
+ ]
22241
+ },
22242
+ description: "The message's parts: text and, on WhatsApp, at most one file, whose caption is the text. Give `parts` or `template`.",
22243
+ maxItems: 10,
22244
+ minItems: 1
22245
+ },
22246
+ template: {
22247
+ type: "object",
22248
+ required: [
22249
+ "language",
22250
+ "name"
22251
+ ],
22252
+ properties: {
22253
+ header: {
22254
+ $ref: "#/components/schemas/RaizTemplateHeaderFile",
22255
+ description: "The file shown above the text of a template whose header is a document, image or video, different on every send (an appointment's receipt, a ticket). Required by such a template, refused by any other."
22256
+ },
22257
+ language: {
22258
+ type: "string",
22259
+ maxLength: 15,
22260
+ minLength: 2
22261
+ },
22262
+ name: {
22263
+ type: "string",
22264
+ maxLength: 512,
22265
+ minLength: 1
22266
+ },
22267
+ parameters: {
22268
+ type: "array",
22269
+ items: {
22270
+ type: "string",
22271
+ maxLength: 1024
22272
+ },
22273
+ description: "Body parameters, in order.",
22274
+ maxItems: 20
22275
+ }
22276
+ },
22277
+ additionalProperties: false,
22278
+ description: "WhatsApp only: send an approved template of the conversation's channel instead of `parts`, the one message WhatsApp delivers when the person has not written in the last 24 hours. Like any message of the team, it pauses the Agent for this person; to have the Agent answer their reply, give the conversation back with `continueConversation` and its `template` instead."
22279
+ },
22280
+ replyToMessageId: {
22281
+ type: "string",
22282
+ description: "A message of the same conversation to quote.",
22283
+ examples: [
22284
+ "msg_01m45h8q2rf3t9w6y7z0b1c2d3"
22285
+ ],
22286
+ pattern: "^msg_(?:[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}))$"
22287
+ },
22288
+ conversationId: {
22289
+ type: "string",
22290
+ description: "Conversation id.",
22291
+ examples: [
22292
+ "cnv_01m45h8q2rf3t9w6y7z0b1c2d3"
22293
+ ],
22294
+ pattern: "^cnv_(?:[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}))$"
22295
+ }
22296
+ },
22297
+ additionalProperties: false
22298
+ },
22299
+ title: "Send a message",
22300
+ description: "Write in an open conversation. In a web conversation you write as the visitor (`role: contact`) and the Agent answers in the background; read the transcript to see the reply. On WhatsApp and in a call you write as a person of the organization (`role: operator`): the message is delivered on the channel and `deliveryStatus` follows it, and on WhatsApp it pauses the Agent for this person until resumed. On WhatsApp a message may carry one image or document (base64, up to 5 MiB) with the text as its caption; elsewhere a file fails with CHANNEL_TYPE_MISMATCH. On WhatsApp `template` sends an approved template of the channel instead, the only message WhatsApp delivers when the person has not written in the last 24 hours; a refused template sends nothing (the TEMPLATE_* codes). Not an AI tool.",
22301
+ effect: "write",
22302
+ confirmation: null,
22303
+ hidden: false
22304
+ },
22030
22305
  "raiz conversations update": {
22031
22306
  operation: "raiz.conversations.update",
22032
22307
  sdkPath: [
@@ -31088,7 +31363,7 @@ var commands = {
31088
31363
  additionalProperties: false
31089
31364
  },
31090
31365
  title: "List assigned appointments",
31091
- description: "Read assigned appointments for one day at a cost centre, ordered by moment and reference, with the contact phone and the state (`status`) SIIPS records. Never cached. A full upstream page that cannot prove completeness is PROVIDER_UNAVAILABLE; narrow by professionalId rather than treating a partial agenda as complete. This operation changes no appointment and sends no message.",
31366
+ description: "Read assigned appointments for one day at a cost centre, ordered by moment and reference, with the patient's document number, the contact phone and the state (`status`) SIIPS records. Never cached. A full upstream page that cannot prove completeness is PROVIDER_UNAVAILABLE; narrow by professionalId rather than treating a partial agenda as complete. This operation changes no appointment and sends no message.",
31092
31367
  effect: "read",
31093
31368
  confirmation: null,
31094
31369
  hidden: false
@@ -33372,7 +33647,8 @@ var schemaComponents = {
33372
33647
  "verifiedAt",
33373
33648
  "updatedAt",
33374
33649
  "fields",
33375
- "logins"
33650
+ "logins",
33651
+ "reminders"
33376
33652
  ],
33377
33653
  properties: {
33378
33654
  id: {
@@ -33477,10 +33753,18 @@ var schemaComponents = {
33477
33753
  {
33478
33754
  type: "string",
33479
33755
  const: "conversationUrl"
33756
+ },
33757
+ {
33758
+ type: "string",
33759
+ const: "verifiedContact"
33760
+ },
33761
+ {
33762
+ type: "string",
33763
+ const: "outboundRecipient"
33480
33764
  }
33481
33765
  ]
33482
33766
  },
33483
- maxItems: 3
33767
+ maxItems: 5
33484
33768
  },
33485
33769
  name: {
33486
33770
  type: "string",
@@ -33797,6 +34081,54 @@ var schemaComponents = {
33797
34081
  },
33798
34082
  maxItems: 20,
33799
34083
  description: "Staff only; empty for other callers."
34084
+ },
34085
+ reminders: {
34086
+ anyOf: [
34087
+ {
34088
+ type: "object",
34089
+ required: [
34090
+ "mode",
34091
+ "sendAt",
34092
+ "daysBefore"
34093
+ ],
34094
+ properties: {
34095
+ mode: {
34096
+ anyOf: [
34097
+ {
34098
+ type: "string",
34099
+ const: "off"
34100
+ },
34101
+ {
34102
+ type: "string",
34103
+ const: "review"
34104
+ },
34105
+ {
34106
+ type: "string",
34107
+ const: "automatic"
34108
+ }
34109
+ ],
34110
+ description: "off: nothing is prepared or sent. review: each day the list is prepared as a campaign that has not started, for a person to review and start. automatic: each day the list is prepared and sent by itself at sendAt."
34111
+ },
34112
+ sendAt: {
34113
+ type: "string",
34114
+ pattern: "^(?:(?:0[6-9]|1[0-9]):(?:00|15|30|45)|20:00)$",
34115
+ description: "When the day's reminders go out: HH:MM, 24-hour, in the clinic's local time, every 15 minutes from 06:00 to 20:00. Every day, weekends and holidays included."
34116
+ },
34117
+ daysBefore: {
34118
+ type: "integer",
34119
+ minimum: 1,
34120
+ maximum: 7,
34121
+ description: "On a given day, the appointments this many days ahead are reminded: 1 is the day before."
34122
+ }
34123
+ },
34124
+ additionalProperties: false,
34125
+ description: "Whether, when and how far ahead this connection's appointments are reminded on WhatsApp."
34126
+ },
34127
+ {
34128
+ type: "null"
34129
+ }
34130
+ ],
34131
+ 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."
33800
34132
  }
33801
34133
  },
33802
34134
  additionalProperties: false
@@ -36106,6 +36438,10 @@ var schemaComponents = {
36106
36438
  type: "string",
36107
36439
  const: "sanitas"
36108
36440
  },
36441
+ {
36442
+ type: "string",
36443
+ const: "gmedic"
36444
+ },
36109
36445
  {
36110
36446
  type: "string",
36111
36447
  const: "account"
@@ -64311,6 +64647,19 @@ var schemaComponents = {
64311
64647
  const: "scheduling.appointment_notification",
64312
64648
  description: "Discriminator for an appointment outbox entry."
64313
64649
  },
64650
+ reason: {
64651
+ anyOf: [
64652
+ {
64653
+ type: "string",
64654
+ const: "phone_missing"
64655
+ },
64656
+ {
64657
+ type: "string",
64658
+ const: "phone_invalid"
64659
+ }
64660
+ ],
64661
+ description: "Why a failed call or WhatsApp entry that never reached the provider cannot be sent, read from the appointment's phone as it is now: none recorded, or not a valid phone number (one without a country code is read as Colombian). Absent when that phone is usable or the entry did not fail this way."
64662
+ },
64314
64663
  state: {
64315
64664
  anyOf: [
64316
64665
  {
@@ -126443,6 +126792,19 @@ var schemaComponents = {
126443
126792
  const: "scheduling.appointment_notification",
126444
126793
  description: "Discriminator for an appointment outbox entry."
126445
126794
  },
126795
+ reason: {
126796
+ anyOf: [
126797
+ {
126798
+ type: "string",
126799
+ const: "phone_missing"
126800
+ },
126801
+ {
126802
+ type: "string",
126803
+ const: "phone_invalid"
126804
+ }
126805
+ ],
126806
+ description: "Why a failed call or WhatsApp entry that never reached the provider cannot be sent, read from the appointment's phone as it is now: none recorded, or not a valid phone number (one without a country code is read as Colombian). Absent when that phone is usable or the entry did not fail this way."
126807
+ },
126446
126808
  state: {
126447
126809
  anyOf: [
126448
126810
  {
@@ -149416,7 +149778,7 @@ var schemaComponents = {
149416
149778
  opportunityIndicator: {
149417
149779
  anyOf: [
149418
149780
  {
149419
- minimum: 0,
149781
+ minimum: -9007199254740991,
149420
149782
  maximum: 9007199254740991,
149421
149783
  type: "integer"
149422
149784
  },
@@ -149761,24 +150123,9 @@ var schemaComponents = {
149761
150123
  modality: {
149762
150124
  anyOf: [
149763
150125
  {
149764
- anyOf: [
149765
- {
149766
- const: "FACE_TO_FACE",
149767
- type: "string"
149768
- },
149769
- {
149770
- const: "VIRTUAL",
149771
- type: "string"
149772
- },
149773
- {
149774
- const: "HOME_VISIT",
149775
- type: "string"
149776
- },
149777
- {
149778
- const: "NOT_APPLICABLE",
149779
- type: "string"
149780
- }
149781
- ]
150126
+ maxLength: 20000,
150127
+ description: "How the appointment is attended, as gMedic names it. Known values: FACE_TO_FACE, VIRTUAL, HOME_VISIT and NOT_APPLICABLE; gMedic may answer others, so treat any other value as unknown.",
150128
+ type: "string"
149782
150129
  },
149783
150130
  {
149784
150131
  type: "null"
@@ -151552,7 +151899,7 @@ var schemaComponents = {
151552
151899
  opportunityIndicator: {
151553
151900
  anyOf: [
151554
151901
  {
151555
- minimum: 0,
151902
+ minimum: -9007199254740991,
151556
151903
  maximum: 9007199254740991,
151557
151904
  type: "integer"
151558
151905
  },
@@ -151897,24 +152244,9 @@ var schemaComponents = {
151897
152244
  modality: {
151898
152245
  anyOf: [
151899
152246
  {
151900
- anyOf: [
151901
- {
151902
- const: "FACE_TO_FACE",
151903
- type: "string"
151904
- },
151905
- {
151906
- const: "VIRTUAL",
151907
- type: "string"
151908
- },
151909
- {
151910
- const: "HOME_VISIT",
151911
- type: "string"
151912
- },
151913
- {
151914
- const: "NOT_APPLICABLE",
151915
- type: "string"
151916
- }
151917
- ]
152247
+ maxLength: 20000,
152248
+ description: "How the appointment is attended, as gMedic names it. Known values: FACE_TO_FACE, VIRTUAL, HOME_VISIT and NOT_APPLICABLE; gMedic may answer others, so treat any other value as unknown.",
152249
+ type: "string"
151918
152250
  },
151919
152251
  {
151920
152252
  type: "null"
@@ -154831,7 +155163,7 @@ var schemaComponents = {
154831
155163
  availableSessions: {
154832
155164
  anyOf: [
154833
155165
  {
154834
- minimum: 0,
155166
+ minimum: -9007199254740991,
154835
155167
  maximum: 9007199254740991,
154836
155168
  type: "integer"
154837
155169
  },
@@ -161693,7 +162025,7 @@ var schemaComponents = {
161693
162025
  availableSessions: {
161694
162026
  anyOf: [
161695
162027
  {
161696
- minimum: 0,
162028
+ minimum: -9007199254740991,
161697
162029
  maximum: 9007199254740991,
161698
162030
  type: "integer"
161699
162031
  },
@@ -162226,7 +162558,7 @@ var schemaComponents = {
162226
162558
  opportunityIndicator: {
162227
162559
  anyOf: [
162228
162560
  {
162229
- minimum: 0,
162561
+ minimum: -9007199254740991,
162230
162562
  maximum: 9007199254740991,
162231
162563
  type: "integer"
162232
162564
  },
@@ -162571,24 +162903,9 @@ var schemaComponents = {
162571
162903
  modality: {
162572
162904
  anyOf: [
162573
162905
  {
162574
- anyOf: [
162575
- {
162576
- const: "FACE_TO_FACE",
162577
- type: "string"
162578
- },
162579
- {
162580
- const: "VIRTUAL",
162581
- type: "string"
162582
- },
162583
- {
162584
- const: "HOME_VISIT",
162585
- type: "string"
162586
- },
162587
- {
162588
- const: "NOT_APPLICABLE",
162589
- type: "string"
162590
- }
162591
- ]
162906
+ maxLength: 20000,
162907
+ description: "How the appointment is attended, as gMedic names it. Known values: FACE_TO_FACE, VIRTUAL, HOME_VISIT and NOT_APPLICABLE; gMedic may answer others, so treat any other value as unknown.",
162908
+ type: "string"
162592
162909
  },
162593
162910
  {
162594
162911
  type: "null"
@@ -186921,11 +187238,14 @@ var schemaComponents = {
186921
187238
  type: "object",
186922
187239
  required: [
186923
187240
  "answered",
187241
+ "buttons",
186924
187242
  "completed",
186925
187243
  "delivered",
186926
187244
  "failed",
186927
187245
  "inProgress",
186928
187246
  "noAnswer",
187247
+ "noButton",
187248
+ "noReply",
186929
187249
  "pending",
186930
187250
  "read",
186931
187251
  "recipients",
@@ -186938,6 +187258,32 @@ var schemaComponents = {
186938
187258
  description: "Calls: recipients whose latest call someone answered and its analysis judged.",
186939
187259
  minimum: 0
186940
187260
  },
187261
+ buttons: {
187262
+ type: "array",
187263
+ items: {
187264
+ type: "object",
187265
+ required: [
187266
+ "recipients",
187267
+ "text"
187268
+ ],
187269
+ properties: {
187270
+ recipients: {
187271
+ type: "integer",
187272
+ description: "How many recipients have it as their last press.",
187273
+ minimum: 0
187274
+ },
187275
+ text: {
187276
+ type: "string",
187277
+ description: "The button's text, as the template shows it.",
187278
+ maxLength: 256,
187279
+ minLength: 1
187280
+ }
187281
+ },
187282
+ additionalProperties: false
187283
+ },
187284
+ description: "WhatsApp: the template's quick-reply buttons people pressed, most pressed first, each with how many recipients pressed it last. A recipient counts once, under their latest press. A button nobody pressed is not listed. Read from the reply itself: a written answer is not a button.",
187285
+ maxItems: 50
187286
+ },
186941
187287
  completed: {
186942
187288
  type: "integer",
186943
187289
  minimum: 0
@@ -186960,6 +187306,16 @@ var schemaComponents = {
186960
187306
  description: "Calls: recipients who failed because their calls ran out without anyone answering. A voicemail counts here.",
186961
187307
  minimum: 0
186962
187308
  },
187309
+ noButton: {
187310
+ type: "integer",
187311
+ description: "WhatsApp: recipients a message reached (`deliveredAt`) who pressed none of its buttons, whether or not they wrote. People still pending, or whose message never arrived, are not counted.",
187312
+ minimum: 0
187313
+ },
187314
+ noReply: {
187315
+ type: "integer",
187316
+ description: "WhatsApp: recipients a message reached who neither pressed a button nor wrote: `noButton` less those who answered in writing.",
187317
+ minimum: 0
187318
+ },
186963
187319
  pending: {
186964
187320
  type: "integer",
186965
187321
  minimum: 0
@@ -187123,6 +187479,7 @@ var schemaComponents = {
187123
187479
  required: [
187124
187480
  "address",
187125
187481
  "attemptCount",
187482
+ "button",
187126
187483
  "contact",
187127
187484
  "contactId",
187128
187485
  "createdAt",
@@ -187150,6 +187507,35 @@ var schemaComponents = {
187150
187507
  type: "integer",
187151
187508
  minimum: 0
187152
187509
  },
187510
+ button: {
187511
+ anyOf: [
187512
+ {
187513
+ type: "object",
187514
+ required: [
187515
+ "pressedAt",
187516
+ "text"
187517
+ ],
187518
+ properties: {
187519
+ pressedAt: {
187520
+ type: "string",
187521
+ description: "An instant in RFC 3339 format, in UTC.",
187522
+ format: "date-time"
187523
+ },
187524
+ text: {
187525
+ type: "string",
187526
+ description: "The button's text, as the template shows it.",
187527
+ maxLength: 256,
187528
+ minLength: 1
187529
+ }
187530
+ },
187531
+ description: "WhatsApp: the last button of the template this person pressed, and when. A later press replaces an earlier one, also after their conversation closed. Null when they pressed none: a written answer is not a button.",
187532
+ additionalProperties: false
187533
+ },
187534
+ {
187535
+ type: "null"
187536
+ }
187537
+ ]
187538
+ },
187153
187539
  contact: {
187154
187540
  anyOf: [
187155
187541
  {
@@ -189872,6 +190258,40 @@ var schemaComponents = {
189872
190258
  type: "string",
189873
190259
  description: "A short internal note about the resolved blocker, authoritative evidence, confirmed appointments and any remaining request. A note does not establish coverage, clinical equivalence, consent or a booking. Preserve explicit human requests and unresolved clinical decisions, identity conflicts or uncertain writes with the team.",
189874
190260
  maxLength: 500
190261
+ },
190262
+ template: {
190263
+ type: "object",
190264
+ required: [
190265
+ "language",
190266
+ "name"
190267
+ ],
190268
+ properties: {
190269
+ header: {
190270
+ $ref: "#/components/schemas/RaizTemplateHeaderFile",
190271
+ description: "The file shown above the text of a template whose header is a document, image or video, different on every send (an appointment's receipt, a ticket). Required by such a template, refused by any other."
190272
+ },
190273
+ language: {
190274
+ type: "string",
190275
+ maxLength: 15,
190276
+ minLength: 2
190277
+ },
190278
+ name: {
190279
+ type: "string",
190280
+ maxLength: 512,
190281
+ minLength: 1
190282
+ },
190283
+ parameters: {
190284
+ type: "array",
190285
+ items: {
190286
+ type: "string",
190287
+ maxLength: 1024
190288
+ },
190289
+ description: "Body parameters, in order.",
190290
+ maxItems: 20
190291
+ }
190292
+ },
190293
+ additionalProperties: false,
190294
+ description: "An approved template of the conversation's channel that Raíz sends in this conversation now, from the team. With it the Agent does not write now: it answers when the person replies, reading `note`, so the conversation can be given back outside WhatsApp's 24-hour window. Without it the Agent continues at once, and the person must have written in the last 24 hours (WHATSAPP_WINDOW_CLOSED). Follow the template's `deliveryStatus` in the transcript."
189875
190295
  }
189876
190296
  },
189877
190297
  additionalProperties: false
@@ -189921,9 +190341,15 @@ var schemaComponents = {
189921
190341
  {
189922
190342
  $ref: "#/components/schemas/RaizChannelTypeMismatchFailure"
189923
190343
  },
190344
+ {
190345
+ $ref: "#/components/schemas/RaizTemplateNotApprovedFailure"
190346
+ },
189924
190347
  {
189925
190348
  $ref: "#/components/schemas/RaizWhatsappWindowClosedFailure"
189926
190349
  },
190350
+ {
190351
+ $ref: "#/components/schemas/RaizContactSuppressedFailure"
190352
+ },
189927
190353
  {
189928
190354
  $ref: "#/components/schemas/RaizVersionConflictFailure"
189929
190355
  }
@@ -189936,11 +190362,58 @@ var schemaComponents = {
189936
190362
  HANDOFF_ALREADY_CONTINUED: "#/components/schemas/RaizHandoffAlreadyContinuedFailure",
189937
190363
  CHANNEL_NOT_READY: "#/components/schemas/RaizChannelNotReadyFailure",
189938
190364
  CHANNEL_TYPE_MISMATCH: "#/components/schemas/RaizChannelTypeMismatchFailure",
190365
+ TEMPLATE_NOT_APPROVED: "#/components/schemas/RaizTemplateNotApprovedFailure",
189939
190366
  WHATSAPP_WINDOW_CLOSED: "#/components/schemas/RaizWhatsappWindowClosedFailure",
190367
+ CONTACT_SUPPRESSED: "#/components/schemas/RaizContactSuppressedFailure",
189940
190368
  VERSION_CONFLICT: "#/components/schemas/RaizVersionConflictFailure"
189941
190369
  }
189942
190370
  }
189943
190371
  },
190372
+ RaizContinueConversationNotFoundError: {
190373
+ type: "object",
190374
+ description: "A failed answer.",
190375
+ additionalProperties: false,
190376
+ required: [
190377
+ "success",
190378
+ "data",
190379
+ "error",
190380
+ "metadata"
190381
+ ],
190382
+ properties: {
190383
+ success: {
190384
+ type: "boolean",
190385
+ enum: [
190386
+ false
190387
+ ]
190388
+ },
190389
+ data: {
190390
+ const: null
190391
+ },
190392
+ error: {
190393
+ $ref: "#/components/schemas/RaizContinueConversationNotFoundFailure"
190394
+ },
190395
+ metadata: {
190396
+ $ref: "#/components/schemas/ResponseMetadata"
190397
+ }
190398
+ }
190399
+ },
190400
+ RaizContinueConversationNotFoundFailure: {
190401
+ oneOf: [
190402
+ {
190403
+ $ref: "#/components/schemas/RaizTemplateNotFoundFailure"
190404
+ },
190405
+ {
190406
+ $ref: "#/components/schemas/RaizResourceNotFoundFailure"
190407
+ }
190408
+ ],
190409
+ discriminator: {
190410
+ propertyName: "code",
190411
+ mapping: {
190412
+ TEMPLATE_NOT_FOUND: "#/components/schemas/RaizTemplateNotFoundFailure",
190413
+ RESOURCE_NOT_FOUND: "#/components/schemas/RaizResourceNotFoundFailure"
190414
+ }
190415
+ }
190416
+ },
189944
190417
  RaizContinueConversationServiceUnavailableError: {
189945
190418
  type: "object",
189946
190419
  description: "A failed answer.",
@@ -189986,6 +190459,63 @@ var schemaComponents = {
189986
190459
  }
189987
190460
  }
189988
190461
  },
190462
+ RaizContinueConversationUnprocessableContentError: {
190463
+ type: "object",
190464
+ description: "A failed answer.",
190465
+ additionalProperties: false,
190466
+ required: [
190467
+ "success",
190468
+ "data",
190469
+ "error",
190470
+ "metadata"
190471
+ ],
190472
+ properties: {
190473
+ success: {
190474
+ type: "boolean",
190475
+ enum: [
190476
+ false
190477
+ ]
190478
+ },
190479
+ data: {
190480
+ const: null
190481
+ },
190482
+ error: {
190483
+ $ref: "#/components/schemas/RaizContinueConversationUnprocessableContentFailure"
190484
+ },
190485
+ metadata: {
190486
+ $ref: "#/components/schemas/ResponseMetadata"
190487
+ }
190488
+ }
190489
+ },
190490
+ RaizContinueConversationUnprocessableContentFailure: {
190491
+ oneOf: [
190492
+ {
190493
+ $ref: "#/components/schemas/RaizTemplateHeaderMismatchFailure"
190494
+ },
190495
+ {
190496
+ $ref: "#/components/schemas/RaizTemplateHeaderRequiredFailure"
190497
+ },
190498
+ {
190499
+ $ref: "#/components/schemas/RaizTemplateParametersMismatchFailure"
190500
+ },
190501
+ {
190502
+ $ref: "#/components/schemas/RaizTemplateUnsupportedFailure"
190503
+ },
190504
+ {
190505
+ $ref: "#/components/schemas/RaizWhatsappMessageUnsupportedFailure"
190506
+ }
190507
+ ],
190508
+ discriminator: {
190509
+ propertyName: "code",
190510
+ mapping: {
190511
+ TEMPLATE_HEADER_MISMATCH: "#/components/schemas/RaizTemplateHeaderMismatchFailure",
190512
+ TEMPLATE_HEADER_REQUIRED: "#/components/schemas/RaizTemplateHeaderRequiredFailure",
190513
+ TEMPLATE_PARAMETERS_MISMATCH: "#/components/schemas/RaizTemplateParametersMismatchFailure",
190514
+ TEMPLATE_UNSUPPORTED: "#/components/schemas/RaizTemplateUnsupportedFailure",
190515
+ WHATSAPP_MESSAGE_UNSUPPORTED: "#/components/schemas/RaizWhatsappMessageUnsupportedFailure"
190516
+ }
190517
+ }
190518
+ },
189989
190519
  RaizConversation: {
189990
190520
  type: "object",
189991
190521
  required: [
@@ -190378,7 +190908,7 @@ var schemaComponents = {
190378
190908
  },
190379
190909
  operatorReplied: {
190380
190910
  type: "boolean",
190381
- description: "A person of the organization wrote to the contact, in Raíz or in the WhatsApp Business app."
190911
+ description: "The organization's team wrote to the contact, in Raíz or in the WhatsApp Business app. The message a campaign or a machine client opens a conversation with is not the team's (a message's `origin`)."
190382
190912
  },
190383
190913
  origin: {
190384
190914
  anyOf: [
@@ -190407,7 +190937,7 @@ var schemaComponents = {
190407
190937
  const: "test"
190408
190938
  }
190409
190939
  ],
190410
- description: "How it started: the contact reached out (`inbound`), a person of the organization started it (`manual`: in the Dashboard, or on WhatsApp in the WhatsApp Business app), a client through the API (`api`), a campaign, an import or a person-owned WhatsApp Agent trial (`test`)."
190940
+ description: "How it started: the contact reached out (`inbound`), a person of the organization started it (`manual`: in the Dashboard, or on WhatsApp in the WhatsApp Business app), a client through the API (`api`), a campaign, an import or a person-owned WhatsApp Agent trial (`test`). On WhatsApp, `campaign` and `api` with `direction: inbound` are the contact answering such a message after its conversation closed, which continues it."
190411
190941
  },
190412
190942
  outcome: {
190413
190943
  anyOf: [
@@ -190616,7 +191146,7 @@ var schemaComponents = {
190616
191146
  $ref: "#/components/schemas/RaizConversationWorker",
190617
191147
  description: "Who works the conversation for the organization."
190618
191148
  },
190619
- description: "Who works the conversation for the organization, in the order each first wrote something the contact saw (those who have not yet, last): each Agent and the team that wrote in it and, while it is open or when nobody answered it, whoever has it (the assigned Agent while the AI handles it, the team otherwise). `agentId` is the Agent assigned now."
191149
+ description: "Who works the conversation for the organization, in the order each first wrote something the contact saw (those who have not yet, last): each Agent and the team that wrote in it and, while it is open or when nobody answered it, whoever has it (the assigned Agent while the AI handles it, the team otherwise). A campaign's message and a machine client's opening make nobody a worker: read who sent them from the message's `origin`. `agentId` is the Agent assigned now."
190620
191150
  },
190621
191151
  toolCalls: {
190622
191152
  $ref: "#/components/schemas/RaizConversationToolCalls"
@@ -192035,7 +192565,7 @@ var schemaComponents = {
192035
192565
  },
192036
192566
  additionalProperties: false
192037
192567
  },
192038
- description: "The people Raíz knows wrote, in the order they first did. What the WhatsApp Business app sends counts for the team without naming anyone."
192568
+ description: "The people Raíz knows wrote, in the order they first did. What the WhatsApp Business app sends counts for the team without naming anyone; what a campaign or a machine client's opening sends does not count for the team."
192039
192569
  },
192040
192570
  firstMessageAt: {
192041
192571
  anyOf: [
@@ -193754,6 +194284,9 @@ var schemaComponents = {
193754
194284
  {
193755
194285
  $ref: "#/components/schemas/RaizConversationViewAuthorOnlyFailure"
193756
194286
  },
194287
+ {
194288
+ $ref: "#/components/schemas/RaizOutboundChannelRefusedFailure"
194289
+ },
193757
194290
  {
193758
194291
  $ref: "#/components/schemas/RaizWhatsappChannelRefusedFailure"
193759
194292
  },
@@ -193767,6 +194300,7 @@ var schemaComponents = {
193767
194300
  FORBIDDEN: "#/components/schemas/ForbiddenFailure",
193768
194301
  CHANNEL_CREATION_IN_APP: "#/components/schemas/RaizChannelCreationInAppFailure",
193769
194302
  CONVERSATION_VIEW_AUTHOR_ONLY: "#/components/schemas/RaizConversationViewAuthorOnlyFailure",
194303
+ OUTBOUND_CHANNEL_REFUSED: "#/components/schemas/RaizOutboundChannelRefusedFailure",
193770
194304
  WHATSAPP_CHANNEL_REFUSED: "#/components/schemas/RaizWhatsappChannelRefusedFailure",
193771
194305
  WIDGET_REFUSED: "#/components/schemas/RaizWidgetRefusedFailure"
193772
194306
  }
@@ -193850,6 +194384,9 @@ var schemaComponents = {
193850
194384
  {
193851
194385
  $ref: "#/components/schemas/InternalFailure"
193852
194386
  },
194387
+ {
194388
+ $ref: "#/components/schemas/RaizOutboundChannelInternalFailure"
194389
+ },
193853
194390
  {
193854
194391
  $ref: "#/components/schemas/RaizWhatsappChannelInternalFailure"
193855
194392
  },
@@ -193864,6 +194401,7 @@ var schemaComponents = {
193864
194401
  propertyName: "code",
193865
194402
  mapping: {
193866
194403
  INTERNAL_ERROR: "#/components/schemas/InternalFailure",
194404
+ OUTBOUND_CHANNEL_INTERNAL: "#/components/schemas/RaizOutboundChannelInternalFailure",
193867
194405
  WHATSAPP_CHANNEL_INTERNAL: "#/components/schemas/RaizWhatsappChannelInternalFailure",
193868
194406
  WHATSAPP_NOT_SENT: "#/components/schemas/RaizWhatsappNotSentFailure",
193869
194407
  WIDGET_INTERNAL: "#/components/schemas/RaizWidgetInternalFailure"
@@ -194718,6 +195256,12 @@ var schemaComponents = {
194718
195256
  type: "string",
194719
195257
  const: "whatsapp"
194720
195258
  },
195259
+ instructions: {
195260
+ type: "string",
195261
+ maxLength: 8000,
195262
+ minLength: 1,
195263
+ description: "What the Agent should know and do if the person replies (what the message is about, what each answer means, how to speak), as a campaign recipient's `instructions`. Kept with the conversation and never sent to the person."
195264
+ },
194721
195265
  metadata: {
194722
195266
  type: "object",
194723
195267
  patternProperties: {
@@ -194761,17 +195305,29 @@ var schemaComponents = {
194761
195305
  maxItems: 20
194762
195306
  }
194763
195307
  },
194764
- description: "An approved template of the channel, with its body parameters and, when its header is a document, image or video, that file (`header`). Required unless the contact wrote in the last 24 hours (WhatsApp's customer-service window).",
194765
- additionalProperties: false
195308
+ additionalProperties: false,
195309
+ description: "An approved template of the channel, with its body parameters and, when its header is a document, image or video, that file (`header`). Required unless the contact wrote in the last 24 hours (WhatsApp's customer-service window)."
194766
195310
  },
194767
195311
  text: {
194768
195312
  type: "string",
194769
195313
  description: "Free text; WhatsApp accepts it only inside the 24-hour window.",
194770
195314
  maxLength: 4096,
194771
195315
  minLength: 1
195316
+ },
195317
+ variables: {
195318
+ type: "object",
195319
+ patternProperties: {
195320
+ "^[A-Za-z_][A-Za-z0-9_]{0,63}$": {
195321
+ type: "string",
195322
+ maxLength: 1000
195323
+ }
195324
+ },
195325
+ additionalProperties: false,
195326
+ maxProperties: 30,
195327
+ description: "What the business knows about this person, by name (an appointment's date and its reference, say), as a campaign recipient's `variables`. Kept with the conversation and never sent to the person: the Agent reads them when the person replies, and does not ask for them again. They fill nothing in the message; its template's values are `template.parameters`."
194772
195328
  }
194773
195329
  },
194774
- description: "Open a WhatsApp conversation with a template or, inside the 24-hour window, a text. Give `template` or `text`.",
195330
+ description: "Open a WhatsApp conversation with a template or, inside the 24-hour window, a text. Give `template` or `text`. `instructions` and `variables` tell the Agent what to know when the person replies, as a campaign's row does.",
194775
195331
  additionalProperties: false
194776
195332
  },
194777
195333
  {
@@ -194841,6 +195397,12 @@ var schemaComponents = {
194841
195397
  description: "Destination number in E.164. Omit it to use the contact's preferred phone; WhatsApp can also reuse a messaging identity received from that contact on the selected channel when no phone is stored.",
194842
195398
  pattern: "^\\+[1-9][0-9]{1,14}$"
194843
195399
  },
195400
+ instructions: {
195401
+ type: "string",
195402
+ maxLength: 8000,
195403
+ minLength: 1,
195404
+ description: "On WhatsApp, what the Agent should know and do if the person replies, as a campaign recipient's `instructions`: kept with the conversation and never sent to the person. On a call, added after the profile's instructions, for that call only."
195405
+ },
194844
195406
  metadata: {
194845
195407
  type: "object",
194846
195408
  patternProperties: {
@@ -194874,7 +195436,7 @@ var schemaComponents = {
194874
195436
  }
194875
195437
  },
194876
195438
  additionalProperties: false,
194877
- description: "Values for the `{{name}}` variables of the profile's template parameters (WhatsApp) or of the Agent's and the profile's texts (calls).",
195439
+ description: "Values for the `{{name}}` variables of the profile's template parameters (WhatsApp) or of the Agent's and the profile's texts (calls). On WhatsApp they are also kept with the conversation, never sent as such, for the Agent to read when the person replies, as a campaign recipient's `variables`.",
194878
195440
  maxProperties: 50
194879
195441
  }
194880
195442
  },
@@ -195192,6 +195754,9 @@ var schemaComponents = {
195192
195754
  {
195193
195755
  $ref: "#/components/schemas/RaizConversationViewAuthorOnlyFailure"
195194
195756
  },
195757
+ {
195758
+ $ref: "#/components/schemas/RaizOutboundChannelRefusedFailure"
195759
+ },
195195
195760
  {
195196
195761
  $ref: "#/components/schemas/RaizWhatsappChannelRefusedFailure"
195197
195762
  },
@@ -195205,6 +195770,7 @@ var schemaComponents = {
195205
195770
  FORBIDDEN: "#/components/schemas/ForbiddenFailure",
195206
195771
  CHANNEL_CREATION_IN_APP: "#/components/schemas/RaizChannelCreationInAppFailure",
195207
195772
  CONVERSATION_VIEW_AUTHOR_ONLY: "#/components/schemas/RaizConversationViewAuthorOnlyFailure",
195773
+ OUTBOUND_CHANNEL_REFUSED: "#/components/schemas/RaizOutboundChannelRefusedFailure",
195208
195774
  WHATSAPP_CHANNEL_REFUSED: "#/components/schemas/RaizWhatsappChannelRefusedFailure",
195209
195775
  WIDGET_REFUSED: "#/components/schemas/RaizWidgetRefusedFailure"
195210
195776
  }
@@ -195288,6 +195854,9 @@ var schemaComponents = {
195288
195854
  {
195289
195855
  $ref: "#/components/schemas/InternalFailure"
195290
195856
  },
195857
+ {
195858
+ $ref: "#/components/schemas/RaizOutboundChannelInternalFailure"
195859
+ },
195291
195860
  {
195292
195861
  $ref: "#/components/schemas/RaizWhatsappChannelInternalFailure"
195293
195862
  },
@@ -195302,6 +195871,7 @@ var schemaComponents = {
195302
195871
  propertyName: "code",
195303
195872
  mapping: {
195304
195873
  INTERNAL_ERROR: "#/components/schemas/InternalFailure",
195874
+ OUTBOUND_CHANNEL_INTERNAL: "#/components/schemas/RaizOutboundChannelInternalFailure",
195305
195875
  WHATSAPP_CHANNEL_INTERNAL: "#/components/schemas/RaizWhatsappChannelInternalFailure",
195306
195876
  WHATSAPP_NOT_SENT: "#/components/schemas/RaizWhatsappNotSentFailure",
195307
195877
  WIDGET_INTERNAL: "#/components/schemas/RaizWidgetInternalFailure"
@@ -199028,6 +199598,9 @@ var schemaComponents = {
199028
199598
  {
199029
199599
  $ref: "#/components/schemas/RaizConversationViewAuthorOnlyFailure"
199030
199600
  },
199601
+ {
199602
+ $ref: "#/components/schemas/RaizOutboundChannelRefusedFailure"
199603
+ },
199031
199604
  {
199032
199605
  $ref: "#/components/schemas/RaizWhatsappChannelRefusedFailure"
199033
199606
  },
@@ -199041,6 +199614,7 @@ var schemaComponents = {
199041
199614
  FORBIDDEN: "#/components/schemas/ForbiddenFailure",
199042
199615
  CHANNEL_CREATION_IN_APP: "#/components/schemas/RaizChannelCreationInAppFailure",
199043
199616
  CONVERSATION_VIEW_AUTHOR_ONLY: "#/components/schemas/RaizConversationViewAuthorOnlyFailure",
199617
+ OUTBOUND_CHANNEL_REFUSED: "#/components/schemas/RaizOutboundChannelRefusedFailure",
199044
199618
  WHATSAPP_CHANNEL_REFUSED: "#/components/schemas/RaizWhatsappChannelRefusedFailure",
199045
199619
  WIDGET_REFUSED: "#/components/schemas/RaizWidgetRefusedFailure"
199046
199620
  }
@@ -199124,6 +199698,9 @@ var schemaComponents = {
199124
199698
  {
199125
199699
  $ref: "#/components/schemas/InternalFailure"
199126
199700
  },
199701
+ {
199702
+ $ref: "#/components/schemas/RaizOutboundChannelInternalFailure"
199703
+ },
199127
199704
  {
199128
199705
  $ref: "#/components/schemas/RaizWhatsappChannelInternalFailure"
199129
199706
  },
@@ -199138,6 +199715,7 @@ var schemaComponents = {
199138
199715
  propertyName: "code",
199139
199716
  mapping: {
199140
199717
  INTERNAL_ERROR: "#/components/schemas/InternalFailure",
199718
+ OUTBOUND_CHANNEL_INTERNAL: "#/components/schemas/RaizOutboundChannelInternalFailure",
199141
199719
  WHATSAPP_CHANNEL_INTERNAL: "#/components/schemas/RaizWhatsappChannelInternalFailure",
199142
199720
  WHATSAPP_NOT_SENT: "#/components/schemas/RaizWhatsappNotSentFailure",
199143
199721
  WIDGET_INTERNAL: "#/components/schemas/RaizWidgetInternalFailure"
@@ -204871,7 +205449,7 @@ var schemaComponents = {
204871
205449
  anyOf: [
204872
205450
  {
204873
205451
  type: "string",
204874
- description: "The person of the organization who wrote an operator message in Raíz: their member id, as Arbol Account lists it (`account.members.list`). Null when Raíz does not know who wrote it (the WhatsApp Business app, a machine client) and for every other role.",
205452
+ description: "The person of the organization who wrote an operator message in Raíz: their member id, as Arbol Account lists it (`account.members.list`). Null when no person of the team wrote it in Raíz (see `origin`), when a machine client did, and for every other role.",
204875
205453
  maxLength: 255,
204876
205454
  minLength: 1
204877
205455
  },
@@ -204888,9 +205466,21 @@ var schemaComponents = {
204888
205466
  origin: {
204889
205467
  anyOf: [
204890
205468
  {
204891
- type: "string",
204892
- const: "business_app",
204893
- description: "Where an operator message was written: `business_app` is the WhatsApp Business app (the phone app or WhatsApp Web) on a number Raíz shares. Null for messages written in Raíz and for every other role."
205469
+ anyOf: [
205470
+ {
205471
+ type: "string",
205472
+ const: "business_app"
205473
+ },
205474
+ {
205475
+ type: "string",
205476
+ const: "campaign"
205477
+ },
205478
+ {
205479
+ type: "string",
205480
+ const: "api"
205481
+ }
205482
+ ],
205483
+ description: "Where an operator message came from. `business_app`: a person of the team wrote it in the WhatsApp Business app (the phone app or WhatsApp Web) on a number Raíz shares. `campaign`: a campaign sent it, and nobody of the team wrote it; the conversation's `campaignId` names the campaign. `api`: a machine client sent it to open the conversation with `createConversation`; the conversation's `requestedBy` names the client. Null for a message written in Raíz for the team (by a person, see `memberId`, or by a machine client with `sendMessage`) and for every other role."
204894
205484
  },
204895
205485
  {
204896
205486
  type: "null"
@@ -205999,6 +206589,74 @@ var schemaComponents = {
205999
206589
  }
206000
206590
  }
206001
206591
  },
206592
+ RaizOutboundChannelInternalFailure: {
206593
+ type: "object",
206594
+ description: "What became of the send could not be read back. Asking again never reaches the person twice.",
206595
+ additionalProperties: false,
206596
+ required: [
206597
+ "code",
206598
+ "message",
206599
+ "retryable",
206600
+ "data"
206601
+ ],
206602
+ properties: {
206603
+ code: {
206604
+ type: "string",
206605
+ enum: [
206606
+ "OUTBOUND_CHANNEL_INTERNAL"
206607
+ ],
206608
+ description: "The failure code, stable across releases."
206609
+ },
206610
+ message: {
206611
+ type: "string",
206612
+ description: "What went wrong, for people; it never contains input values."
206613
+ },
206614
+ retryable: {
206615
+ type: "boolean",
206616
+ enum: [
206617
+ false
206618
+ ],
206619
+ description: "Whether repeating the same request may succeed."
206620
+ },
206621
+ data: {
206622
+ $ref: "#/components/schemas/Empty"
206623
+ }
206624
+ }
206625
+ },
206626
+ RaizOutboundChannelRefusedFailure: {
206627
+ type: "object",
206628
+ description: "Only the Campaigns Worker sends through this service, and only for a recipient of a campaign of that organization.",
206629
+ additionalProperties: false,
206630
+ required: [
206631
+ "code",
206632
+ "message",
206633
+ "retryable",
206634
+ "data"
206635
+ ],
206636
+ properties: {
206637
+ code: {
206638
+ type: "string",
206639
+ enum: [
206640
+ "OUTBOUND_CHANNEL_REFUSED"
206641
+ ],
206642
+ description: "The failure code, stable across releases."
206643
+ },
206644
+ message: {
206645
+ type: "string",
206646
+ description: "What went wrong, for people; it never contains input values."
206647
+ },
206648
+ retryable: {
206649
+ type: "boolean",
206650
+ enum: [
206651
+ false
206652
+ ],
206653
+ description: "Whether repeating the same request may succeed."
206654
+ },
206655
+ data: {
206656
+ $ref: "#/components/schemas/Empty"
206657
+ }
206658
+ }
206659
+ },
206002
206660
  RaizOutsideContactHoursFailure: {
206003
206661
  type: "object",
206004
206662
  description: "The profile's contact hours do not allow starting a conversation now. Try again within them.",
@@ -208613,9 +209271,7 @@ var schemaComponents = {
208613
209271
  },
208614
209272
  RaizSendMessageBody: {
208615
209273
  type: "object",
208616
- required: [
208617
- "parts"
208618
- ],
209274
+ required: [],
208619
209275
  properties: {
208620
209276
  parts: {
208621
209277
  type: "array",
@@ -208730,10 +209386,44 @@ var schemaComponents = {
208730
209386
  }
208731
209387
  ]
208732
209388
  },
208733
- description: "The message's parts: text and, on WhatsApp, at most one file, whose caption is the text.",
209389
+ description: "The message's parts: text and, on WhatsApp, at most one file, whose caption is the text. Give `parts` or `template`.",
208734
209390
  maxItems: 10,
208735
209391
  minItems: 1
208736
209392
  },
209393
+ template: {
209394
+ type: "object",
209395
+ required: [
209396
+ "language",
209397
+ "name"
209398
+ ],
209399
+ properties: {
209400
+ header: {
209401
+ $ref: "#/components/schemas/RaizTemplateHeaderFile",
209402
+ description: "The file shown above the text of a template whose header is a document, image or video, different on every send (an appointment's receipt, a ticket). Required by such a template, refused by any other."
209403
+ },
209404
+ language: {
209405
+ type: "string",
209406
+ maxLength: 15,
209407
+ minLength: 2
209408
+ },
209409
+ name: {
209410
+ type: "string",
209411
+ maxLength: 512,
209412
+ minLength: 1
209413
+ },
209414
+ parameters: {
209415
+ type: "array",
209416
+ items: {
209417
+ type: "string",
209418
+ maxLength: 1024
209419
+ },
209420
+ description: "Body parameters, in order.",
209421
+ maxItems: 20
209422
+ }
209423
+ },
209424
+ additionalProperties: false,
209425
+ description: "WhatsApp only: send an approved template of the conversation's channel instead of `parts`, the one message WhatsApp delivers when the person has not written in the last 24 hours. Like any message of the team, it pauses the Agent for this person; to have the Agent answer their reply, give the conversation back with `continueConversation` and its `template` instead."
209426
+ },
208737
209427
  replyToMessageId: {
208738
209428
  type: "string",
208739
209429
  description: "A message of the same conversation to quote.",
@@ -208938,9 +209628,18 @@ var schemaComponents = {
208938
209628
  },
208939
209629
  RaizSendMessageUnprocessableContentFailure: {
208940
209630
  oneOf: [
209631
+ {
209632
+ $ref: "#/components/schemas/RaizTemplateHeaderMismatchFailure"
209633
+ },
209634
+ {
209635
+ $ref: "#/components/schemas/RaizTemplateHeaderRequiredFailure"
209636
+ },
208941
209637
  {
208942
209638
  $ref: "#/components/schemas/RaizTemplateParametersMismatchFailure"
208943
209639
  },
209640
+ {
209641
+ $ref: "#/components/schemas/RaizTemplateUnsupportedFailure"
209642
+ },
208944
209643
  {
208945
209644
  $ref: "#/components/schemas/RaizWhatsappMediaRejectedFailure"
208946
209645
  },
@@ -208954,7 +209653,10 @@ var schemaComponents = {
208954
209653
  discriminator: {
208955
209654
  propertyName: "code",
208956
209655
  mapping: {
209656
+ TEMPLATE_HEADER_MISMATCH: "#/components/schemas/RaizTemplateHeaderMismatchFailure",
209657
+ TEMPLATE_HEADER_REQUIRED: "#/components/schemas/RaizTemplateHeaderRequiredFailure",
208957
209658
  TEMPLATE_PARAMETERS_MISMATCH: "#/components/schemas/RaizTemplateParametersMismatchFailure",
209659
+ TEMPLATE_UNSUPPORTED: "#/components/schemas/RaizTemplateUnsupportedFailure",
208958
209660
  WHATSAPP_MEDIA_REJECTED: "#/components/schemas/RaizWhatsappMediaRejectedFailure",
208959
209661
  WHATSAPP_MESSAGE_UNSUPPORTED: "#/components/schemas/RaizWhatsappMessageUnsupportedFailure",
208960
209662
  WHATSAPP_RECIPIENT_UNAVAILABLE: "#/components/schemas/RaizWhatsappRecipientUnavailableFailure"
@@ -211781,6 +212483,9 @@ var schemaComponents = {
211781
212483
  {
211782
212484
  $ref: "#/components/schemas/RaizConversationViewAuthorOnlyFailure"
211783
212485
  },
212486
+ {
212487
+ $ref: "#/components/schemas/RaizOutboundChannelRefusedFailure"
212488
+ },
211784
212489
  {
211785
212490
  $ref: "#/components/schemas/RaizWhatsappChannelRefusedFailure"
211786
212491
  },
@@ -211794,6 +212499,7 @@ var schemaComponents = {
211794
212499
  FORBIDDEN: "#/components/schemas/ForbiddenFailure",
211795
212500
  CHANNEL_CREATION_IN_APP: "#/components/schemas/RaizChannelCreationInAppFailure",
211796
212501
  CONVERSATION_VIEW_AUTHOR_ONLY: "#/components/schemas/RaizConversationViewAuthorOnlyFailure",
212502
+ OUTBOUND_CHANNEL_REFUSED: "#/components/schemas/RaizOutboundChannelRefusedFailure",
211797
212503
  WHATSAPP_CHANNEL_REFUSED: "#/components/schemas/RaizWhatsappChannelRefusedFailure",
211798
212504
  WIDGET_REFUSED: "#/components/schemas/RaizWidgetRefusedFailure"
211799
212505
  }
@@ -211877,6 +212583,9 @@ var schemaComponents = {
211877
212583
  {
211878
212584
  $ref: "#/components/schemas/InternalFailure"
211879
212585
  },
212586
+ {
212587
+ $ref: "#/components/schemas/RaizOutboundChannelInternalFailure"
212588
+ },
211880
212589
  {
211881
212590
  $ref: "#/components/schemas/RaizWhatsappChannelInternalFailure"
211882
212591
  },
@@ -211891,6 +212600,7 @@ var schemaComponents = {
211891
212600
  propertyName: "code",
211892
212601
  mapping: {
211893
212602
  INTERNAL_ERROR: "#/components/schemas/InternalFailure",
212603
+ OUTBOUND_CHANNEL_INTERNAL: "#/components/schemas/RaizOutboundChannelInternalFailure",
211894
212604
  WHATSAPP_CHANNEL_INTERNAL: "#/components/schemas/RaizWhatsappChannelInternalFailure",
211895
212605
  WHATSAPP_NOT_SENT: "#/components/schemas/RaizWhatsappNotSentFailure",
211896
212606
  WIDGET_INTERNAL: "#/components/schemas/RaizWidgetInternalFailure"
@@ -229019,6 +229729,7 @@ var schemaComponents = {
229019
229729
  "professionalName",
229020
229730
  "specialty",
229021
229731
  "patientName",
229732
+ "documentNumber",
229022
229733
  "phone",
229023
229734
  "service",
229024
229735
  "status",
@@ -229049,6 +229760,10 @@ var schemaComponents = {
229049
229760
  patientName: {
229050
229761
  type: "string"
229051
229762
  },
229763
+ documentNumber: {
229764
+ type: "string",
229765
+ description: "The patient's document number, as SIIPS's agenda stores it: letters and digits only. Empty when the agenda shows none, or when its row and its reference name different documents."
229766
+ },
229052
229767
  phone: {
229053
229768
  type: "string",
229054
229769
  description: "SIIPS's contact phone text; may be empty or contain several numbers."
@@ -243159,6 +243874,29 @@ var schemaComponents = {
243159
243874
  description: "With `expand=recipients`: `definitionKey=optionKey`, only those whose latest answer is that option; `definitionKey=`, only those with no answer yet.",
243160
243875
  pattern: "^[a-z][a-z0-9_]{0,63}=([a-z][a-z0-9_]{0,63})?$"
243161
243876
  },
243877
+ recipientsButton: {
243878
+ type: "string",
243879
+ maxLength: 256,
243880
+ minLength: 1,
243881
+ description: "With `expand=recipients`: only those whose last pressed button is this one, by its exact text."
243882
+ },
243883
+ recipientsReply: {
243884
+ anyOf: [
243885
+ {
243886
+ type: "string",
243887
+ const: "button"
243888
+ },
243889
+ {
243890
+ type: "string",
243891
+ const: "written"
243892
+ },
243893
+ {
243894
+ type: "string",
243895
+ const: "none"
243896
+ }
243897
+ ],
243898
+ description: "With `expand=recipients`, WhatsApp: how the people a message reached answered it. `button`: they pressed one of its buttons. `written`: they wrote and pressed none. `none`: they did neither (`progress.noReply`)."
243899
+ },
243162
243900
  recipientsStatus: {
243163
243901
  anyOf: [
243164
243902
  {
@@ -244953,6 +245691,216 @@ var schemaComponents = {
244953
245691
  description: "A short internal note about the resolved blocker, authoritative evidence, confirmed appointments and any remaining request. A note does not establish coverage, clinical equivalence, consent or a booking. Preserve explicit human requests and unresolved clinical decisions, identity conflicts or uncertain writes with the team.",
244954
245692
  maxLength: 500
244955
245693
  },
245694
+ template: {
245695
+ type: "object",
245696
+ required: [
245697
+ "language",
245698
+ "name"
245699
+ ],
245700
+ properties: {
245701
+ header: {
245702
+ $ref: "#/components/schemas/RaizTemplateHeaderFile",
245703
+ description: "The file shown above the text of a template whose header is a document, image or video, different on every send (an appointment's receipt, a ticket). Required by such a template, refused by any other."
245704
+ },
245705
+ language: {
245706
+ type: "string",
245707
+ maxLength: 15,
245708
+ minLength: 2
245709
+ },
245710
+ name: {
245711
+ type: "string",
245712
+ maxLength: 512,
245713
+ minLength: 1
245714
+ },
245715
+ parameters: {
245716
+ type: "array",
245717
+ items: {
245718
+ type: "string",
245719
+ maxLength: 1024
245720
+ },
245721
+ description: "Body parameters, in order.",
245722
+ maxItems: 20
245723
+ }
245724
+ },
245725
+ additionalProperties: false,
245726
+ description: "An approved template of the conversation's channel that Raíz sends in this conversation now, from the team. With it the Agent does not write now: it answers when the person replies, reading `note`, so the conversation can be given back outside WhatsApp's 24-hour window. Without it the Agent continues at once, and the person must have written in the last 24 hours (WHATSAPP_WINDOW_CLOSED). Follow the template's `deliveryStatus` in the transcript."
245727
+ },
245728
+ conversationId: {
245729
+ type: "string",
245730
+ description: "Conversation id.",
245731
+ examples: [
245732
+ "cnv_01m45h8q2rf3t9w6y7z0b1c2d3"
245733
+ ],
245734
+ pattern: "^cnv_(?:[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}))$"
245735
+ }
245736
+ },
245737
+ additionalProperties: false
245738
+ },
245739
+ RaizConversationsSendInput: {
245740
+ type: "object",
245741
+ required: [
245742
+ "conversationId"
245743
+ ],
245744
+ properties: {
245745
+ parts: {
245746
+ type: "array",
245747
+ items: {
245748
+ anyOf: [
245749
+ {
245750
+ type: "object",
245751
+ required: [
245752
+ "text",
245753
+ "type"
245754
+ ],
245755
+ properties: {
245756
+ format: {
245757
+ anyOf: [
245758
+ {
245759
+ type: "string",
245760
+ const: "plain"
245761
+ },
245762
+ {
245763
+ type: "string",
245764
+ const: "markdown"
245765
+ }
245766
+ ],
245767
+ default: "plain"
245768
+ },
245769
+ text: {
245770
+ type: "string",
245771
+ maxLength: 4096,
245772
+ minLength: 1
245773
+ },
245774
+ type: {
245775
+ type: "string",
245776
+ const: "text"
245777
+ }
245778
+ },
245779
+ additionalProperties: false
245780
+ },
245781
+ {
245782
+ type: "object",
245783
+ required: [
245784
+ "data",
245785
+ "mediaType",
245786
+ "type"
245787
+ ],
245788
+ properties: {
245789
+ data: {
245790
+ type: "string",
245791
+ contentEncoding: "base64",
245792
+ description: "The file's bytes in base64, at most 5242880 bytes decoded.",
245793
+ maxLength: 6990508,
245794
+ minLength: 4
245795
+ },
245796
+ fileName: {
245797
+ type: "string",
245798
+ description: "The name the contact sees for a document.",
245799
+ maxLength: 240,
245800
+ minLength: 1,
245801
+ pattern: "^[^/\\\\\\u0000-\\u001f\\u007f]+$"
245802
+ },
245803
+ mediaType: {
245804
+ anyOf: [
245805
+ {
245806
+ type: "string",
245807
+ const: "image/jpeg"
245808
+ },
245809
+ {
245810
+ type: "string",
245811
+ const: "image/png"
245812
+ },
245813
+ {
245814
+ type: "string",
245815
+ const: "application/pdf"
245816
+ },
245817
+ {
245818
+ type: "string",
245819
+ const: "text/plain"
245820
+ },
245821
+ {
245822
+ type: "string",
245823
+ const: "application/msword"
245824
+ },
245825
+ {
245826
+ type: "string",
245827
+ const: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
245828
+ },
245829
+ {
245830
+ type: "string",
245831
+ const: "application/vnd.ms-excel"
245832
+ },
245833
+ {
245834
+ type: "string",
245835
+ const: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
245836
+ },
245837
+ {
245838
+ type: "string",
245839
+ const: "application/vnd.ms-powerpoint"
245840
+ },
245841
+ {
245842
+ type: "string",
245843
+ const: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
245844
+ }
245845
+ ],
245846
+ description: "JPEG and PNG are sent as an image; the others as a document."
245847
+ },
245848
+ type: {
245849
+ type: "string",
245850
+ const: "file"
245851
+ }
245852
+ },
245853
+ description: "A private web or WhatsApp attachment. WhatsApp accepts one per message, with the text as its caption; web accepts multiple within the combined 5 MiB budget.",
245854
+ additionalProperties: false
245855
+ }
245856
+ ]
245857
+ },
245858
+ description: "The message's parts: text and, on WhatsApp, at most one file, whose caption is the text. Give `parts` or `template`.",
245859
+ maxItems: 10,
245860
+ minItems: 1
245861
+ },
245862
+ template: {
245863
+ type: "object",
245864
+ required: [
245865
+ "language",
245866
+ "name"
245867
+ ],
245868
+ properties: {
245869
+ header: {
245870
+ $ref: "#/components/schemas/RaizTemplateHeaderFile",
245871
+ description: "The file shown above the text of a template whose header is a document, image or video, different on every send (an appointment's receipt, a ticket). Required by such a template, refused by any other."
245872
+ },
245873
+ language: {
245874
+ type: "string",
245875
+ maxLength: 15,
245876
+ minLength: 2
245877
+ },
245878
+ name: {
245879
+ type: "string",
245880
+ maxLength: 512,
245881
+ minLength: 1
245882
+ },
245883
+ parameters: {
245884
+ type: "array",
245885
+ items: {
245886
+ type: "string",
245887
+ maxLength: 1024
245888
+ },
245889
+ description: "Body parameters, in order.",
245890
+ maxItems: 20
245891
+ }
245892
+ },
245893
+ additionalProperties: false,
245894
+ description: "WhatsApp only: send an approved template of the conversation's channel instead of `parts`, the one message WhatsApp delivers when the person has not written in the last 24 hours. Like any message of the team, it pauses the Agent for this person; to have the Agent answer their reply, give the conversation back with `continueConversation` and its `template` instead."
245895
+ },
245896
+ replyToMessageId: {
245897
+ type: "string",
245898
+ description: "A message of the same conversation to quote.",
245899
+ examples: [
245900
+ "msg_01m45h8q2rf3t9w6y7z0b1c2d3"
245901
+ ],
245902
+ pattern: "^msg_(?:[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}))$"
245903
+ },
244956
245904
  conversationId: {
244957
245905
  type: "string",
244958
245906
  description: "Conversation id.",
@@ -251292,9 +252240,9 @@ var schemaComponents = {
251292
252240
  // src/generated/generation.json
251293
252241
  var generation_default = {
251294
252242
  formatVersion: 6,
251295
- release: "1.20261109.141359",
251296
- openapiSha256: "fc78469830b09af11f1750dd548066ee86255c8e060a7a283138f655dd125dc1",
251297
- openapiContentSha256: "c61cc122d41c13268f82a7b8300d2531aa42b4c344b3c6626e57505c439f4604",
252243
+ release: "1.20261110.165834",
252244
+ openapiSha256: "c09b471a31bbdf7941c3a90daf1f658dbe1db871e1f9c2948743f24d59ed9855",
252245
+ openapiContentSha256: "4a5b1bfab518d4cf2e9dc706515e80d4f561a36a622cf49eed7384b206038fc0",
251298
252246
  forge: {
251299
252247
  repository: "https://github.com/cloudflare/forge",
251300
252248
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -251307,7 +252255,7 @@ var generation_default = {
251307
252255
  outputs: [
251308
252256
  {
251309
252257
  path: "src/generated/commands.ts",
251310
- sha256: "c8aa87e2733485d0cd099cf58b2722097170ba6c0283452dc5178e43d6a68f8b"
252258
+ sha256: "7c8190bd36a783b2fdfce3eda554f89561dbde8cdc96ddcd6089e95e42ad02c4"
251311
252259
  }
251312
252260
  ]
251313
252261
  };
@@ -252907,7 +253855,7 @@ ${name}`);
252907
253855
  }
252908
253856
 
252909
253857
  // src/index.ts
252910
- var VERSION = "3.46.0";
253858
+ var VERSION = "3.48.0";
252911
253859
  var RELEASE = generation_default.release;
252912
253860
  var commands2 = { ...commands, ...accountOperatorCommands };
252913
253861
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));