@arbol-ai/cli 3.39.0 → 3.41.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 +2985 -512
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -9006,6 +9006,7 @@ var commands = {
9006
9006
  password: {
9007
9007
  minLength: 1,
9008
9008
  maxLength: 200,
9009
+ secret: true,
9009
9010
  type: "string"
9010
9011
  },
9011
9012
  providerCode: {
@@ -13239,6 +13240,142 @@ var commands = {
13239
13240
  confirmation: null,
13240
13241
  hidden: false
13241
13242
  },
13243
+ "insights reports get": {
13244
+ operation: "insights.reports.get",
13245
+ sdkPath: [
13246
+ "insights",
13247
+ "reports",
13248
+ "get"
13249
+ ],
13250
+ pathField: "reportId",
13251
+ fields: [
13252
+ {
13253
+ name: "from",
13254
+ flag: "from",
13255
+ kind: "string",
13256
+ required: true,
13257
+ description: "A day, as YYYY-MM-DD."
13258
+ },
13259
+ {
13260
+ name: "to",
13261
+ flag: "to",
13262
+ kind: "string",
13263
+ required: true,
13264
+ description: "A day, as YYYY-MM-DD."
13265
+ }
13266
+ ],
13267
+ inputSchema: {
13268
+ additionalProperties: false,
13269
+ type: "object",
13270
+ required: [
13271
+ "from",
13272
+ "reportId",
13273
+ "to"
13274
+ ],
13275
+ properties: {
13276
+ from: {
13277
+ description: "A day, as YYYY-MM-DD.",
13278
+ format: "date",
13279
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
13280
+ type: "string"
13281
+ },
13282
+ reportId: {
13283
+ maxLength: 64,
13284
+ pattern: "^[a-z_]+$",
13285
+ type: "string"
13286
+ },
13287
+ to: {
13288
+ description: "A day, as YYYY-MM-DD.",
13289
+ format: "date",
13290
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
13291
+ type: "string"
13292
+ }
13293
+ }
13294
+ },
13295
+ title: "Read a report",
13296
+ description: "One report over a date range, for the caller's own organization. Figures refresh within 30 minutes.",
13297
+ effect: "read",
13298
+ confirmation: null,
13299
+ hidden: false
13300
+ },
13301
+ "insights reports list": {
13302
+ operation: "insights.reports.list",
13303
+ sdkPath: [
13304
+ "insights",
13305
+ "reports",
13306
+ "list"
13307
+ ],
13308
+ pathField: null,
13309
+ fields: [
13310
+ {
13311
+ name: "cursor",
13312
+ flag: "cursor",
13313
+ kind: "string",
13314
+ required: false,
13315
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page."
13316
+ },
13317
+ {
13318
+ name: "direction",
13319
+ flag: "direction",
13320
+ kind: "string",
13321
+ required: true,
13322
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
13323
+ choices: [
13324
+ "forward",
13325
+ "backward"
13326
+ ],
13327
+ default: "forward"
13328
+ },
13329
+ {
13330
+ name: "limit",
13331
+ flag: "limit",
13332
+ kind: "integer",
13333
+ required: true,
13334
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
13335
+ default: 25
13336
+ }
13337
+ ],
13338
+ inputSchema: {
13339
+ additionalProperties: false,
13340
+ type: "object",
13341
+ required: [
13342
+ "direction",
13343
+ "limit"
13344
+ ],
13345
+ properties: {
13346
+ cursor: {
13347
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
13348
+ type: "string"
13349
+ },
13350
+ direction: {
13351
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
13352
+ anyOf: [
13353
+ {
13354
+ const: "forward",
13355
+ type: "string"
13356
+ },
13357
+ {
13358
+ const: "backward",
13359
+ type: "string"
13360
+ }
13361
+ ],
13362
+ default: "forward"
13363
+ },
13364
+ limit: {
13365
+ minimum: 1,
13366
+ maximum: 100,
13367
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
13368
+ type: "integer",
13369
+ default: 25
13370
+ }
13371
+ }
13372
+ },
13373
+ title: "List the available reports",
13374
+ description: "The reports this organization can read, a page at a time. Pass pageInfo.nextCursor as cursor for more.",
13375
+ effect: "read",
13376
+ confirmation: null,
13377
+ hidden: false
13378
+ },
13242
13379
  "nuevaeps affiliations lookup": {
13243
13380
  operation: "nueva-eps.affiliations.lookup",
13244
13381
  sdkPath: [
@@ -21406,7 +21543,7 @@ var commands = {
21406
21543
  flag: "to-review",
21407
21544
  kind: "boolean",
21408
21545
  required: false,
21409
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others."
21546
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others."
21410
21547
  },
21411
21548
  {
21412
21549
  name: "messagesMin",
@@ -21663,7 +21800,7 @@ var commands = {
21663
21800
  ]
21664
21801
  },
21665
21802
  toReview: {
21666
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
21803
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
21667
21804
  type: "boolean"
21668
21805
  },
21669
21806
  messagesMin: {
@@ -22075,7 +22212,7 @@ var commands = {
22075
22212
  flag: "to-review",
22076
22213
  kind: "boolean",
22077
22214
  required: false,
22078
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others."
22215
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others."
22079
22216
  },
22080
22217
  {
22081
22218
  name: "messagesMin",
@@ -22363,7 +22500,7 @@ var commands = {
22363
22500
  ]
22364
22501
  },
22365
22502
  toReview: {
22366
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
22503
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
22367
22504
  type: "boolean"
22368
22505
  },
22369
22506
  messagesMin: {
@@ -22408,7 +22545,7 @@ var commands = {
22408
22545
  additionalProperties: false
22409
22546
  },
22410
22547
  title: "List conversations",
22411
- description: "Find calls, WhatsApp chats and web chats. Filter by `contactId` (as counterpart or subject), `agentId`, `channelId`, `channelType`, `status`, `conversationDirection`, `origin`, `outcome`, `sentiment`, `handling` (`ai` or `team`: whether the AI takes part; `escalated`: handed to the team by the AI), `worker` (`ai` or `team`: who answers it now), the Agent's tools (`toolName`, `toolStatus`: which tool it called and how the call ended), a captured fact (`factDefinition`, `factValue`), `assessment` (`failed` or `passed`), `toReview` (what needs a person's look: not resolved, or handed to the team), length (`messagesMin`, `messagesMax`, `durationMin`, `durationMax`), `campaignId`, `profileId`, `requestedBy` and start time (`startedAfter`, `startedBefore`); `q` searches participant identities (names, profile names, usernames, phones, emails and documents), visible messages, titles, summaries and exact conversation references; `count_conversations` counts every match. Each item already carries its title, summary, outcome, sentiment, workers and tool calls (how many, how many failed, the latest failure), often enough to answer. `sort`: `started` (newest first), `last_message` (latest activity first) or `changed`, the feed of status, outcome and analysis changes, oldest first, that systems poll from a saved `pageInfo.nextCursor` (a deleted conversation appears once with `deletedAt`). Next: `get_conversation` for a transcript.",
22548
+ description: "Find calls, WhatsApp chats and web chats. Filter by `contactId` (as counterpart or subject), `agentId`, `channelId`, `channelType`, `status`, `conversationDirection`, `origin`, `outcome`, `sentiment`, `handling` (`ai` or `team`: whether the AI takes part; `escalated`: handed to the team by the AI), `worker` (`ai` or `team`: who answers it now), the Agent's tools (`toolName`, `toolStatus`: which tool it called and how the call ended), a captured fact (`factDefinition`, `factValue`), `assessment` (`failed` or `passed`), `toReview` (evaluated failures or unresolved handoffs; explicitly resolved successes leave this queue), length (`messagesMin`, `messagesMax`, `durationMin`, `durationMax`), `campaignId`, `profileId`, `requestedBy` and start time (`startedAfter`, `startedBefore`); `q` searches participant identities (names, profile names, usernames, phones, emails and documents), visible messages, titles, summaries and exact conversation references; `count_conversations` counts every match. Each item already carries its title, summary, outcome, sentiment, workers and tool calls (how many, how many failed, the latest failure), often enough to answer. `sort`: `started` (newest first), `last_message` (latest activity first) or `changed`, the feed of status, outcome and analysis changes, oldest first, that systems poll from a saved `pageInfo.nextCursor` (a deleted conversation appears once with `deletedAt`). Next: `get_conversation` for a transcript.",
22412
22549
  effect: "read",
22413
22550
  confirmation: null,
22414
22551
  hidden: false
@@ -27106,6 +27243,95 @@ var commands = {
27106
27243
  confirmation: null,
27107
27244
  hidden: false
27108
27245
  },
27246
+ "saludtotal authorizations list": {
27247
+ operation: "salud-total.authorizations.list",
27248
+ sdkPath: [
27249
+ "saludTotal",
27250
+ "authorizations",
27251
+ "list"
27252
+ ],
27253
+ pathField: null,
27254
+ fields: [
27255
+ {
27256
+ name: "connectionId",
27257
+ flag: "connection-id",
27258
+ kind: "string",
27259
+ required: true,
27260
+ description: "The connection id."
27261
+ },
27262
+ {
27263
+ name: "cursor",
27264
+ flag: "cursor",
27265
+ kind: "string",
27266
+ required: false,
27267
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page."
27268
+ },
27269
+ {
27270
+ name: "direction",
27271
+ flag: "direction",
27272
+ kind: "string",
27273
+ required: false,
27274
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
27275
+ choices: [
27276
+ "forward",
27277
+ "backward"
27278
+ ],
27279
+ default: "forward"
27280
+ },
27281
+ {
27282
+ name: "limit",
27283
+ flag: "limit",
27284
+ kind: "integer",
27285
+ required: false,
27286
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
27287
+ default: 25
27288
+ }
27289
+ ],
27290
+ inputSchema: {
27291
+ type: "object",
27292
+ properties: {
27293
+ connectionId: {
27294
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
27295
+ type: "string",
27296
+ description: "The connection id."
27297
+ },
27298
+ cursor: {
27299
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
27300
+ type: "string"
27301
+ },
27302
+ direction: {
27303
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
27304
+ anyOf: [
27305
+ {
27306
+ const: "forward",
27307
+ type: "string"
27308
+ },
27309
+ {
27310
+ const: "backward",
27311
+ type: "string"
27312
+ }
27313
+ ],
27314
+ default: "forward"
27315
+ },
27316
+ limit: {
27317
+ minimum: 1,
27318
+ maximum: 100,
27319
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
27320
+ type: "integer",
27321
+ default: 25
27322
+ }
27323
+ },
27324
+ required: [
27325
+ "connectionId"
27326
+ ],
27327
+ additionalProperties: false
27328
+ },
27329
+ title: "List stored authorizations",
27330
+ description: "Page the authorizations already observed for an active IPS connection. Each record retains its source timestamp. This does not refresh the provider. Follow pageInfo.nextCursor for all records.",
27331
+ effect: "read",
27332
+ confirmation: null,
27333
+ hidden: false
27334
+ },
27109
27335
  "saludtotal authorizations lookup": {
27110
27336
  operation: "salud-total.authorizations.lookup",
27111
27337
  sdkPath: [
@@ -27114,6 +27340,140 @@ var commands = {
27114
27340
  "lookup"
27115
27341
  ],
27116
27342
  pathField: null,
27343
+ fields: [],
27344
+ inputSchema: {
27345
+ anyOf: [
27346
+ {
27347
+ additionalProperties: false,
27348
+ type: "object",
27349
+ required: [
27350
+ "connectionId",
27351
+ "documentType",
27352
+ "documentNumber",
27353
+ "day"
27354
+ ],
27355
+ properties: {
27356
+ connectionId: {
27357
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
27358
+ type: "string"
27359
+ },
27360
+ branchId: {
27361
+ minimum: 1,
27362
+ maximum: 2147483647,
27363
+ type: "integer"
27364
+ },
27365
+ siteId: {
27366
+ minimum: 1,
27367
+ maximum: 2147483647,
27368
+ type: "integer"
27369
+ },
27370
+ choiceCursor: {
27371
+ pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
27372
+ description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
27373
+ type: "string"
27374
+ },
27375
+ documentType: {
27376
+ const: "CC",
27377
+ type: "string"
27378
+ },
27379
+ documentNumber: {
27380
+ pattern: "^[0-9]{6,15}$",
27381
+ writeOnly: true,
27382
+ "x-sensitive": true,
27383
+ description: "Exact authorized member document. Send it only in the request body.",
27384
+ type: "string"
27385
+ },
27386
+ day: {
27387
+ format: "date",
27388
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
27389
+ description: "A local calendar date in YYYY-MM-DD format.",
27390
+ type: "string"
27391
+ }
27392
+ }
27393
+ },
27394
+ {
27395
+ additionalProperties: false,
27396
+ type: "object",
27397
+ required: [
27398
+ "connectionId",
27399
+ "from",
27400
+ "to"
27401
+ ],
27402
+ properties: {
27403
+ connectionId: {
27404
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
27405
+ type: "string"
27406
+ },
27407
+ from: {
27408
+ format: "date",
27409
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
27410
+ description: "A local calendar date in YYYY-MM-DD format.",
27411
+ type: "string"
27412
+ },
27413
+ to: {
27414
+ format: "date",
27415
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
27416
+ description: "A local calendar date in YYYY-MM-DD format.",
27417
+ type: "string"
27418
+ },
27419
+ branchId: {
27420
+ minimum: 1,
27421
+ maximum: 2147483647,
27422
+ type: "integer"
27423
+ },
27424
+ siteId: {
27425
+ minimum: 1,
27426
+ maximum: 2147483647,
27427
+ type: "integer"
27428
+ },
27429
+ choiceCursor: {
27430
+ pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
27431
+ description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
27432
+ type: "string"
27433
+ },
27434
+ cursor: {
27435
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
27436
+ type: "string"
27437
+ },
27438
+ direction: {
27439
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
27440
+ anyOf: [
27441
+ {
27442
+ const: "forward",
27443
+ type: "string"
27444
+ },
27445
+ {
27446
+ const: "backward",
27447
+ type: "string"
27448
+ }
27449
+ ],
27450
+ default: "forward"
27451
+ },
27452
+ limit: {
27453
+ minimum: 1,
27454
+ maximum: 100,
27455
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
27456
+ type: "integer",
27457
+ default: 25
27458
+ }
27459
+ }
27460
+ }
27461
+ ]
27462
+ },
27463
+ title: "Consult and store authorizations from the IPS report",
27464
+ description: "Pass from/to and a permitted site to query the IPS report without a member filter, store each authorization and return one page with its number, provider status, validity and document state. The source permits at most 30 days. Location choices are returned when needed. The legacy member/day input still returns a count. A provider status is preserved verbatim; a filing number is not approval.",
27465
+ effect: "read",
27466
+ confirmation: null,
27467
+ hidden: false
27468
+ },
27469
+ "saludtotal filings lookup": {
27470
+ operation: "salud-total.filings.lookup",
27471
+ sdkPath: [
27472
+ "saludTotal",
27473
+ "filings",
27474
+ "lookup"
27475
+ ],
27476
+ pathField: null,
27117
27477
  fields: [
27118
27478
  {
27119
27479
  name: "connectionId",
@@ -27165,7 +27525,7 @@ var commands = {
27165
27525
  flag: "day",
27166
27526
  kind: "string",
27167
27527
  required: true,
27168
- description: "One local calendar day; the request never traverses an open-ended date range."
27528
+ description: "A local calendar date in YYYY-MM-DD format."
27169
27529
  }
27170
27530
  ],
27171
27531
  inputSchema: {
@@ -27211,123 +27571,7 @@ var commands = {
27211
27571
  day: {
27212
27572
  format: "date",
27213
27573
  pattern: "^\\d{4}-\\d{2}-\\d{2}$",
27214
- description: "One local calendar day; the request never traverses an open-ended date range.",
27215
- type: "string"
27216
- }
27217
- }
27218
- },
27219
- title: "Look up authorization records for one member, site and day",
27220
- description: "Availability of authorization records for the matched member and selected site on one calendar day. A missing row is not a denial. Returns a count or location_required with permitted choices. Start without branchId or siteId. For location_required, repeat with the chosen ID in field, or pass nextChoiceCursor as choiceCursor for more choices.",
27221
- effect: "read",
27222
- confirmation: null,
27223
- hidden: false
27224
- },
27225
- "saludtotal filings lookup": {
27226
- operation: "salud-total.filings.lookup",
27227
- sdkPath: [
27228
- "saludTotal",
27229
- "filings",
27230
- "lookup"
27231
- ],
27232
- pathField: null,
27233
- fields: [
27234
- {
27235
- name: "connectionId",
27236
- flag: "connection-id",
27237
- kind: "string",
27238
- required: true,
27239
- description: ""
27240
- },
27241
- {
27242
- name: "branchId",
27243
- flag: "branch-id",
27244
- kind: "integer",
27245
- required: false,
27246
- description: ""
27247
- },
27248
- {
27249
- name: "siteId",
27250
- flag: "site-id",
27251
- kind: "integer",
27252
- required: false,
27253
- description: ""
27254
- },
27255
- {
27256
- name: "choiceCursor",
27257
- flag: "choice-cursor",
27258
- kind: "string",
27259
- required: false,
27260
- description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices."
27261
- },
27262
- {
27263
- name: "documentType",
27264
- flag: "document-type",
27265
- kind: "string",
27266
- required: true,
27267
- description: "",
27268
- choices: [
27269
- "CC"
27270
- ]
27271
- },
27272
- {
27273
- name: "documentNumber",
27274
- flag: "document-number",
27275
- kind: "string",
27276
- required: true,
27277
- description: "Exact authorized member document. Send it only in the request body."
27278
- },
27279
- {
27280
- name: "day",
27281
- flag: "day",
27282
- kind: "string",
27283
- required: true,
27284
- description: "One local calendar day; the request never traverses an open-ended date range."
27285
- }
27286
- ],
27287
- inputSchema: {
27288
- additionalProperties: false,
27289
- type: "object",
27290
- required: [
27291
- "connectionId",
27292
- "documentType",
27293
- "documentNumber",
27294
- "day"
27295
- ],
27296
- properties: {
27297
- connectionId: {
27298
- pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
27299
- type: "string"
27300
- },
27301
- branchId: {
27302
- minimum: 1,
27303
- maximum: 2147483647,
27304
- type: "integer"
27305
- },
27306
- siteId: {
27307
- minimum: 1,
27308
- maximum: 2147483647,
27309
- type: "integer"
27310
- },
27311
- choiceCursor: {
27312
- pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
27313
- description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
27314
- type: "string"
27315
- },
27316
- documentType: {
27317
- const: "CC",
27318
- type: "string"
27319
- },
27320
- documentNumber: {
27321
- pattern: "^[0-9]{6,15}$",
27322
- writeOnly: true,
27323
- "x-sensitive": true,
27324
- description: "Exact authorized member document. Send it only in the request body.",
27325
- type: "string"
27326
- },
27327
- day: {
27328
- format: "date",
27329
- pattern: "^\\d{4}-\\d{2}-\\d{2}$",
27330
- description: "One local calendar day; the request never traverses an open-ended date range.",
27574
+ description: "A local calendar date in YYYY-MM-DD format.",
27331
27575
  type: "string"
27332
27576
  }
27333
27577
  }
@@ -29897,6 +30141,7 @@ var commands = {
29897
30141
  type: "string"
29898
30142
  },
29899
30143
  password: {
30144
+ secret: true,
29900
30145
  minLength: 1,
29901
30146
  maxLength: 512,
29902
30147
  pattern: "^[^\\r\\n]+$",
@@ -29904,6 +30149,7 @@ var commands = {
29904
30149
  type: "string"
29905
30150
  },
29906
30151
  totpSecret: {
30152
+ secret: true,
29907
30153
  minLength: 16,
29908
30154
  maxLength: 256,
29909
30155
  pattern: "^[A-Za-z2-7 =-]+$",
@@ -31180,178 +31426,304 @@ var commands = {
31180
31426
  confirmation: null,
31181
31427
  hidden: false
31182
31428
  },
31183
- "visoft availability lookup": {
31184
- operation: "visoft.availability.lookup",
31429
+ "visoft appointments list": {
31430
+ operation: "visoft.appointments.list",
31185
31431
  sdkPath: [
31186
31432
  "visoft",
31187
- "availability",
31188
- "lookup"
31189
- ],
31190
- pathField: null,
31191
- fields: [
31192
- {
31193
- name: "connectionId",
31194
- flag: "connection-id",
31195
- kind: "string",
31196
- required: false,
31197
- 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."
31198
- },
31199
- {
31200
- name: "agencyCode",
31201
- flag: "agency-code",
31202
- kind: "string",
31203
- required: false,
31204
- description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one."
31205
- },
31206
- {
31207
- name: "contractCode",
31208
- flag: "contract-code",
31209
- kind: "string",
31210
- required: true,
31211
- description: "The contract, by the code visoft.contracts.list answers."
31212
- },
31213
- {
31214
- name: "serviceCode",
31215
- flag: "service-code",
31216
- kind: "string",
31217
- required: true,
31218
- description: `The service, by the code a contract's services answer ("CUPS-890208").`
31219
- },
31220
- {
31221
- name: "from",
31222
- flag: "from",
31223
- kind: "string",
31224
- required: true,
31225
- description: "The day the search starts, in the clinic's time (YYYY-MM-DD): SIIPS answers each professional's free slots from that day on."
31226
- },
31227
- {
31228
- name: "professionalId",
31229
- flag: "professional-id",
31230
- kind: "string",
31231
- required: false,
31232
- description: "One professional's id, as visoft.professionals.list answers it: only their agenda."
31233
- },
31234
- {
31235
- name: "refreshProfessionals",
31236
- flag: "refresh-professionals",
31237
- kind: "boolean",
31238
- required: false,
31239
- description: "Read the professional directory again instead of its one-hour cache."
31240
- },
31241
- {
31242
- name: "concurrency",
31243
- flag: "concurrency",
31244
- kind: "integer",
31245
- required: false,
31246
- description: "How many agendas are read from SIIPS at once (5 by default)."
31247
- }
31248
- ],
31249
- inputSchema: {
31250
- additionalProperties: false,
31251
- type: "object",
31252
- required: [
31253
- "contractCode",
31254
- "serviceCode",
31255
- "from"
31256
- ],
31257
- properties: {
31258
- connectionId: {
31259
- minLength: 5,
31260
- maxLength: 68,
31261
- pattern: "^con_[0-9A-Za-z]+$",
31262
- 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.",
31263
- type: "string"
31264
- },
31265
- agencyCode: {
31266
- pattern: "^\\d{3}$",
31267
- description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one.",
31268
- type: "string"
31269
- },
31270
- contractCode: {
31271
- minLength: 1,
31272
- maxLength: 40,
31273
- pattern: "^[A-Za-z0-9_-]+$",
31274
- description: "The contract, by the code visoft.contracts.list answers.",
31275
- type: "string"
31276
- },
31277
- serviceCode: {
31278
- minLength: 3,
31279
- maxLength: 60,
31280
- pattern: "^[A-Za-z0-9]+-[A-Za-z0-9._-]+$",
31281
- description: `The service, by the code a contract's services answer ("CUPS-890208").`,
31282
- type: "string"
31283
- },
31284
- from: {
31285
- pattern: "^\\d{4}-\\d{2}-\\d{2}$",
31286
- description: "The day the search starts, in the clinic's time (YYYY-MM-DD): SIIPS answers each professional's free slots from that day on.",
31287
- type: "string"
31288
- },
31289
- professionalId: {
31290
- minLength: 1,
31291
- maxLength: 40,
31292
- pattern: "^[A-Za-z0-9_-]+$",
31293
- description: "One professional's id, as visoft.professionals.list answers it: only their agenda.",
31294
- type: "string"
31295
- },
31296
- refreshProfessionals: {
31297
- description: "Read the professional directory again instead of its one-hour cache.",
31298
- type: "boolean"
31299
- },
31300
- concurrency: {
31301
- minimum: 1,
31302
- maximum: 10,
31303
- description: "How many agendas are read from SIIPS at once (5 by default).",
31304
- type: "integer"
31305
- }
31306
- }
31307
- },
31308
- title: "Find free slots",
31309
- description: "The free slots of one service under one contract at a cost centre, from a day on, read from every professional's agenda (or the one named), each with the reference visoft.appointments.create takes. A professional whose agenda SIIPS did not answer is failed:true: their slots are unknown, never none. Never cached. This read never books anything.",
31310
- effect: "read",
31311
- confirmation: null,
31312
- hidden: false
31313
- },
31314
- "visoft clinic get": {
31315
- operation: "visoft.clinic.get",
31316
- sdkPath: [
31317
- "visoft",
31318
- "clinic",
31319
- "get"
31320
- ],
31321
- pathField: null,
31322
- fields: [
31323
- {
31324
- name: "connectionId",
31325
- flag: "connection-id",
31326
- kind: "string",
31327
- required: false,
31328
- description: "The connection whose clinic to read. Optional when the organization has one Visoft connection; required when it has several."
31329
- }
31330
- ],
31331
- inputSchema: {
31332
- additionalProperties: false,
31333
- type: "object",
31334
- properties: {
31335
- connectionId: {
31336
- minLength: 5,
31337
- maxLength: 68,
31338
- pattern: "^con_[0-9A-Za-z]+$",
31339
- description: "The connection whose clinic to read. Optional when the organization has one Visoft connection; required when it has several.",
31340
- type: "string"
31341
- }
31342
- }
31343
- },
31344
- title: "Get the clinic",
31345
- description: "The clinic a connection signs in to: its name, its SIIPS address, its timezone (every startsAt the clinical operations answer carries its offset) and its cost centres, with the one a call that names none runs at. Another organization's connection answers CONNECTION_NOT_FOUND. Contains no patient data and performs no clinical login.",
31346
- effect: "read",
31347
- confirmation: null,
31348
- hidden: false
31349
- },
31350
- "visoft clinics list": {
31351
- operation: "visoft.clinics.list",
31352
- sdkPath: [
31353
- "visoft",
31354
- "clinics",
31433
+ "appointments",
31434
+ "list"
31435
+ ],
31436
+ pathField: null,
31437
+ fields: [
31438
+ {
31439
+ name: "cursor",
31440
+ flag: "cursor",
31441
+ kind: "string",
31442
+ required: false,
31443
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page."
31444
+ },
31445
+ {
31446
+ name: "direction",
31447
+ flag: "direction",
31448
+ kind: "string",
31449
+ required: false,
31450
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
31451
+ choices: [
31452
+ "forward",
31453
+ "backward"
31454
+ ],
31455
+ default: "forward"
31456
+ },
31457
+ {
31458
+ name: "limit",
31459
+ flag: "limit",
31460
+ kind: "integer",
31461
+ required: false,
31462
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
31463
+ default: 25
31464
+ },
31465
+ {
31466
+ name: "connectionId",
31467
+ flag: "connection-id",
31468
+ kind: "string",
31469
+ required: false,
31470
+ 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."
31471
+ },
31472
+ {
31473
+ name: "agencyCode",
31474
+ flag: "agency-code",
31475
+ kind: "string",
31476
+ required: false,
31477
+ description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one."
31478
+ },
31479
+ {
31480
+ name: "date",
31481
+ flag: "date",
31482
+ kind: "string",
31483
+ required: true,
31484
+ description: "The appointment day in the clinic's time zone."
31485
+ },
31486
+ {
31487
+ name: "professionalId",
31488
+ flag: "professional-id",
31489
+ kind: "string",
31490
+ required: false,
31491
+ description: ""
31492
+ }
31493
+ ],
31494
+ inputSchema: {
31495
+ additionalProperties: false,
31496
+ type: "object",
31497
+ required: [
31498
+ "date"
31499
+ ],
31500
+ properties: {
31501
+ cursor: {
31502
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
31503
+ type: "string"
31504
+ },
31505
+ direction: {
31506
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
31507
+ anyOf: [
31508
+ {
31509
+ const: "forward",
31510
+ type: "string"
31511
+ },
31512
+ {
31513
+ const: "backward",
31514
+ type: "string"
31515
+ }
31516
+ ],
31517
+ default: "forward"
31518
+ },
31519
+ limit: {
31520
+ minimum: 1,
31521
+ maximum: 100,
31522
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
31523
+ type: "integer",
31524
+ default: 25
31525
+ },
31526
+ connectionId: {
31527
+ minLength: 5,
31528
+ maxLength: 68,
31529
+ pattern: "^con_[0-9A-Za-z]+$",
31530
+ 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.",
31531
+ type: "string"
31532
+ },
31533
+ agencyCode: {
31534
+ pattern: "^\\d{3}$",
31535
+ description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one.",
31536
+ type: "string"
31537
+ },
31538
+ date: {
31539
+ format: "date",
31540
+ description: "The appointment day in the clinic's time zone.",
31541
+ type: "string"
31542
+ },
31543
+ professionalId: {
31544
+ pattern: "^[A-Za-z0-9_-]{1,40}$",
31545
+ type: "string"
31546
+ }
31547
+ }
31548
+ },
31549
+ title: "List assigned appointments",
31550
+ description: "Read assigned appointments for one day at a cost centre, ordered by moment and reference, with the contact phone 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.",
31551
+ effect: "read",
31552
+ confirmation: null,
31553
+ hidden: false
31554
+ },
31555
+ "visoft availability lookup": {
31556
+ operation: "visoft.availability.lookup",
31557
+ sdkPath: [
31558
+ "visoft",
31559
+ "availability",
31560
+ "lookup"
31561
+ ],
31562
+ pathField: null,
31563
+ fields: [
31564
+ {
31565
+ name: "connectionId",
31566
+ flag: "connection-id",
31567
+ kind: "string",
31568
+ required: false,
31569
+ 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."
31570
+ },
31571
+ {
31572
+ name: "agencyCode",
31573
+ flag: "agency-code",
31574
+ kind: "string",
31575
+ required: false,
31576
+ description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one."
31577
+ },
31578
+ {
31579
+ name: "contractCode",
31580
+ flag: "contract-code",
31581
+ kind: "string",
31582
+ required: true,
31583
+ description: "The contract, by the code visoft.contracts.list answers."
31584
+ },
31585
+ {
31586
+ name: "serviceCode",
31587
+ flag: "service-code",
31588
+ kind: "string",
31589
+ required: true,
31590
+ description: `The service, by the code a contract's services answer ("CUPS-890208").`
31591
+ },
31592
+ {
31593
+ name: "from",
31594
+ flag: "from",
31595
+ kind: "string",
31596
+ required: true,
31597
+ description: "The day the search starts, in the clinic's time (YYYY-MM-DD): SIIPS answers each professional's free slots from that day on."
31598
+ },
31599
+ {
31600
+ name: "professionalId",
31601
+ flag: "professional-id",
31602
+ kind: "string",
31603
+ required: false,
31604
+ description: "One professional's id, as visoft.professionals.list answers it: only their agenda."
31605
+ },
31606
+ {
31607
+ name: "refreshProfessionals",
31608
+ flag: "refresh-professionals",
31609
+ kind: "boolean",
31610
+ required: false,
31611
+ description: "Read the professional directory again instead of its one-hour cache."
31612
+ },
31613
+ {
31614
+ name: "concurrency",
31615
+ flag: "concurrency",
31616
+ kind: "integer",
31617
+ required: false,
31618
+ description: "How many agendas are read from SIIPS at once (5 by default)."
31619
+ }
31620
+ ],
31621
+ inputSchema: {
31622
+ additionalProperties: false,
31623
+ type: "object",
31624
+ required: [
31625
+ "contractCode",
31626
+ "serviceCode",
31627
+ "from"
31628
+ ],
31629
+ properties: {
31630
+ connectionId: {
31631
+ minLength: 5,
31632
+ maxLength: 68,
31633
+ pattern: "^con_[0-9A-Za-z]+$",
31634
+ 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.",
31635
+ type: "string"
31636
+ },
31637
+ agencyCode: {
31638
+ pattern: "^\\d{3}$",
31639
+ description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one.",
31640
+ type: "string"
31641
+ },
31642
+ contractCode: {
31643
+ minLength: 1,
31644
+ maxLength: 40,
31645
+ pattern: "^[A-Za-z0-9_-]+$",
31646
+ description: "The contract, by the code visoft.contracts.list answers.",
31647
+ type: "string"
31648
+ },
31649
+ serviceCode: {
31650
+ minLength: 3,
31651
+ maxLength: 60,
31652
+ pattern: "^[A-Za-z0-9]+-[A-Za-z0-9._-]+$",
31653
+ description: `The service, by the code a contract's services answer ("CUPS-890208").`,
31654
+ type: "string"
31655
+ },
31656
+ from: {
31657
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
31658
+ description: "The day the search starts, in the clinic's time (YYYY-MM-DD): SIIPS answers each professional's free slots from that day on.",
31659
+ type: "string"
31660
+ },
31661
+ professionalId: {
31662
+ minLength: 1,
31663
+ maxLength: 40,
31664
+ pattern: "^[A-Za-z0-9_-]+$",
31665
+ description: "One professional's id, as visoft.professionals.list answers it: only their agenda.",
31666
+ type: "string"
31667
+ },
31668
+ refreshProfessionals: {
31669
+ description: "Read the professional directory again instead of its one-hour cache.",
31670
+ type: "boolean"
31671
+ },
31672
+ concurrency: {
31673
+ minimum: 1,
31674
+ maximum: 10,
31675
+ description: "How many agendas are read from SIIPS at once (5 by default).",
31676
+ type: "integer"
31677
+ }
31678
+ }
31679
+ },
31680
+ title: "Find free slots",
31681
+ description: "The free slots of one service under one contract at a cost centre, from a day on, read from every professional's agenda (or the one named), each with the reference visoft.appointments.create takes. A professional whose agenda SIIPS did not answer is failed:true: their slots are unknown, never none. Never cached. This read never books anything.",
31682
+ effect: "read",
31683
+ confirmation: null,
31684
+ hidden: false
31685
+ },
31686
+ "visoft clinic get": {
31687
+ operation: "visoft.clinic.get",
31688
+ sdkPath: [
31689
+ "visoft",
31690
+ "clinic",
31691
+ "get"
31692
+ ],
31693
+ pathField: null,
31694
+ fields: [
31695
+ {
31696
+ name: "connectionId",
31697
+ flag: "connection-id",
31698
+ kind: "string",
31699
+ required: false,
31700
+ description: "The connection whose clinic to read. Optional when the organization has one Visoft connection; required when it has several."
31701
+ }
31702
+ ],
31703
+ inputSchema: {
31704
+ additionalProperties: false,
31705
+ type: "object",
31706
+ properties: {
31707
+ connectionId: {
31708
+ minLength: 5,
31709
+ maxLength: 68,
31710
+ pattern: "^con_[0-9A-Za-z]+$",
31711
+ description: "The connection whose clinic to read. Optional when the organization has one Visoft connection; required when it has several.",
31712
+ type: "string"
31713
+ }
31714
+ }
31715
+ },
31716
+ title: "Get the clinic",
31717
+ description: "The clinic a connection signs in to: its name, its SIIPS address, its timezone (every startsAt the clinical operations answer carries its offset) and its cost centres, with the one a call that names none runs at. Another organization's connection answers CONNECTION_NOT_FOUND. Contains no patient data and performs no clinical login.",
31718
+ effect: "read",
31719
+ confirmation: null,
31720
+ hidden: false
31721
+ },
31722
+ "visoft clinics list": {
31723
+ operation: "visoft.clinics.list",
31724
+ sdkPath: [
31725
+ "visoft",
31726
+ "clinics",
31355
31727
  "list"
31356
31728
  ],
31357
31729
  pathField: null,
@@ -31635,6 +32007,7 @@ var commands = {
31635
32007
  password: {
31636
32008
  minLength: 1,
31637
32009
  maxLength: 4096,
32010
+ secret: true,
31638
32011
  description: "Its password, exactly as typed.",
31639
32012
  type: "string"
31640
32013
  }
@@ -51599,8 +51972,8 @@ var schemaComponents = {
51599
51972
  opportunityIndicator: {
51600
51973
  anyOf: [
51601
51974
  {
51602
- minimum: -2147483648,
51603
- maximum: 2147483647,
51975
+ minimum: 0,
51976
+ maximum: 9007199254740991,
51604
51977
  type: "integer"
51605
51978
  },
51606
51979
  {
@@ -53735,8 +54108,8 @@ var schemaComponents = {
53735
54108
  opportunityIndicator: {
53736
54109
  anyOf: [
53737
54110
  {
53738
- minimum: -2147483648,
53739
- maximum: 2147483647,
54111
+ minimum: 0,
54112
+ maximum: 9007199254740991,
53740
54113
  type: "integer"
53741
54114
  },
53742
54115
  {
@@ -64409,8 +64782,8 @@ var schemaComponents = {
64409
64782
  opportunityIndicator: {
64410
64783
  anyOf: [
64411
64784
  {
64412
- minimum: -2147483648,
64413
- maximum: 2147483647,
64785
+ minimum: 0,
64786
+ maximum: 9007199254740991,
64414
64787
  type: "integer"
64415
64788
  },
64416
64789
  {
@@ -67421,6 +67794,362 @@ var schemaComponents = {
67421
67794
  maxLength: 2048,
67422
67795
  type: "string"
67423
67796
  },
67797
+ InsightsGetReportResult: {
67798
+ additionalProperties: false,
67799
+ type: "object",
67800
+ required: [
67801
+ "from",
67802
+ "reportId",
67803
+ "rows",
67804
+ "to"
67805
+ ],
67806
+ properties: {
67807
+ from: {
67808
+ description: "A day, as YYYY-MM-DD.",
67809
+ format: "date",
67810
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
67811
+ type: "string"
67812
+ },
67813
+ reportId: {
67814
+ type: "string"
67815
+ },
67816
+ rows: {
67817
+ description: "One row per day and dimension, with the report's figures.",
67818
+ type: "array",
67819
+ items: {
67820
+ type: "object",
67821
+ patternProperties: {
67822
+ "^(.*)$": {}
67823
+ }
67824
+ }
67825
+ },
67826
+ to: {
67827
+ description: "A day, as YYYY-MM-DD.",
67828
+ format: "date",
67829
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
67830
+ type: "string"
67831
+ }
67832
+ }
67833
+ },
67834
+ InsightsGetReportResultResponse: {
67835
+ type: "object",
67836
+ description: "A successful answer.",
67837
+ additionalProperties: false,
67838
+ required: [
67839
+ "success",
67840
+ "data",
67841
+ "error",
67842
+ "metadata"
67843
+ ],
67844
+ properties: {
67845
+ success: {
67846
+ type: "boolean",
67847
+ enum: [
67848
+ true
67849
+ ]
67850
+ },
67851
+ data: {
67852
+ $ref: "#/components/schemas/InsightsGetReportResult"
67853
+ },
67854
+ error: {
67855
+ const: null
67856
+ },
67857
+ metadata: {
67858
+ $ref: "#/components/schemas/ResponseMetadata"
67859
+ }
67860
+ }
67861
+ },
67862
+ InsightsGetReportServiceUnavailableError: {
67863
+ type: "object",
67864
+ description: "A failed answer.",
67865
+ additionalProperties: false,
67866
+ required: [
67867
+ "success",
67868
+ "data",
67869
+ "error",
67870
+ "metadata"
67871
+ ],
67872
+ properties: {
67873
+ success: {
67874
+ type: "boolean",
67875
+ enum: [
67876
+ false
67877
+ ]
67878
+ },
67879
+ data: {
67880
+ const: null
67881
+ },
67882
+ error: {
67883
+ $ref: "#/components/schemas/InsightsGetReportServiceUnavailableFailure"
67884
+ },
67885
+ metadata: {
67886
+ $ref: "#/components/schemas/ResponseMetadata"
67887
+ }
67888
+ }
67889
+ },
67890
+ InsightsGetReportServiceUnavailableFailure: {
67891
+ oneOf: [
67892
+ {
67893
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
67894
+ },
67895
+ {
67896
+ $ref: "#/components/schemas/InsightsReportUnavailableFailure"
67897
+ }
67898
+ ],
67899
+ discriminator: {
67900
+ propertyName: "code",
67901
+ mapping: {
67902
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
67903
+ REPORT_UNAVAILABLE: "#/components/schemas/InsightsReportUnavailableFailure"
67904
+ }
67905
+ }
67906
+ },
67907
+ InsightsInvalidCursorFailure: {
67908
+ type: "object",
67909
+ description: "The cursor does not name a page of this list.",
67910
+ additionalProperties: false,
67911
+ required: [
67912
+ "code",
67913
+ "message",
67914
+ "retryable",
67915
+ "data"
67916
+ ],
67917
+ properties: {
67918
+ code: {
67919
+ type: "string",
67920
+ enum: [
67921
+ "INVALID_CURSOR"
67922
+ ],
67923
+ description: "The failure code, stable across releases."
67924
+ },
67925
+ message: {
67926
+ type: "string",
67927
+ description: "What went wrong, for people; it never contains input values."
67928
+ },
67929
+ retryable: {
67930
+ type: "boolean",
67931
+ enum: [
67932
+ false
67933
+ ],
67934
+ description: "Whether repeating the same request may succeed."
67935
+ },
67936
+ data: {
67937
+ $ref: "#/components/schemas/Empty"
67938
+ }
67939
+ }
67940
+ },
67941
+ InsightsListReportsBadRequestError: {
67942
+ type: "object",
67943
+ description: "A failed answer.",
67944
+ additionalProperties: false,
67945
+ required: [
67946
+ "success",
67947
+ "data",
67948
+ "error",
67949
+ "metadata"
67950
+ ],
67951
+ properties: {
67952
+ success: {
67953
+ type: "boolean",
67954
+ enum: [
67955
+ false
67956
+ ]
67957
+ },
67958
+ data: {
67959
+ const: null
67960
+ },
67961
+ error: {
67962
+ $ref: "#/components/schemas/InsightsListReportsBadRequestFailure"
67963
+ },
67964
+ metadata: {
67965
+ $ref: "#/components/schemas/ResponseMetadata"
67966
+ }
67967
+ }
67968
+ },
67969
+ InsightsListReportsBadRequestFailure: {
67970
+ oneOf: [
67971
+ {
67972
+ $ref: "#/components/schemas/InvalidInputFailure"
67973
+ },
67974
+ {
67975
+ $ref: "#/components/schemas/InsightsInvalidCursorFailure"
67976
+ }
67977
+ ],
67978
+ discriminator: {
67979
+ propertyName: "code",
67980
+ mapping: {
67981
+ INVALID_INPUT: "#/components/schemas/InvalidInputFailure",
67982
+ INVALID_CURSOR: "#/components/schemas/InsightsInvalidCursorFailure"
67983
+ }
67984
+ }
67985
+ },
67986
+ InsightsReportNotFoundError: {
67987
+ type: "object",
67988
+ description: "A failed answer.",
67989
+ additionalProperties: false,
67990
+ required: [
67991
+ "success",
67992
+ "data",
67993
+ "error",
67994
+ "metadata"
67995
+ ],
67996
+ properties: {
67997
+ success: {
67998
+ type: "boolean",
67999
+ enum: [
68000
+ false
68001
+ ]
68002
+ },
68003
+ data: {
68004
+ const: null
68005
+ },
68006
+ error: {
68007
+ $ref: "#/components/schemas/InsightsReportNotFoundFailure"
68008
+ },
68009
+ metadata: {
68010
+ $ref: "#/components/schemas/ResponseMetadata"
68011
+ }
68012
+ }
68013
+ },
68014
+ InsightsReportNotFoundFailure: {
68015
+ type: "object",
68016
+ description: "There is no such report.",
68017
+ additionalProperties: false,
68018
+ required: [
68019
+ "code",
68020
+ "message",
68021
+ "retryable",
68022
+ "data"
68023
+ ],
68024
+ properties: {
68025
+ code: {
68026
+ type: "string",
68027
+ enum: [
68028
+ "REPORT_NOT_FOUND"
68029
+ ],
68030
+ description: "The failure code, stable across releases."
68031
+ },
68032
+ message: {
68033
+ type: "string",
68034
+ description: "What went wrong, for people; it never contains input values."
68035
+ },
68036
+ retryable: {
68037
+ type: "boolean",
68038
+ enum: [
68039
+ false
68040
+ ],
68041
+ description: "Whether repeating the same request may succeed."
68042
+ },
68043
+ data: {
68044
+ $ref: "#/components/schemas/Empty"
68045
+ }
68046
+ }
68047
+ },
68048
+ InsightsReportPage: {
68049
+ additionalProperties: false,
68050
+ type: "object",
68051
+ required: [
68052
+ "data",
68053
+ "object",
68054
+ "pageInfo"
68055
+ ],
68056
+ properties: {
68057
+ data: {
68058
+ description: "Items admitted by this resource contract within the verified organization.",
68059
+ type: "array",
68060
+ items: {
68061
+ $ref: "#/components/schemas/InsightsReportSummary"
68062
+ }
68063
+ },
68064
+ object: {
68065
+ description: "Discriminator for a resource list response.",
68066
+ const: "list",
68067
+ type: "string"
68068
+ },
68069
+ pageInfo: {
68070
+ $ref: "#/components/schemas/PageInfo",
68071
+ description: "Opaque navigation cursors for this page’s stable keyset order."
68072
+ }
68073
+ }
68074
+ },
68075
+ InsightsReportPageResponse: {
68076
+ type: "object",
68077
+ description: "A successful answer.",
68078
+ additionalProperties: false,
68079
+ required: [
68080
+ "success",
68081
+ "data",
68082
+ "error",
68083
+ "metadata"
68084
+ ],
68085
+ properties: {
68086
+ success: {
68087
+ type: "boolean",
68088
+ enum: [
68089
+ true
68090
+ ]
68091
+ },
68092
+ data: {
68093
+ $ref: "#/components/schemas/InsightsReportPage"
68094
+ },
68095
+ error: {
68096
+ const: null
68097
+ },
68098
+ metadata: {
68099
+ $ref: "#/components/schemas/ResponseMetadata"
68100
+ }
68101
+ }
68102
+ },
68103
+ InsightsReportSummary: {
68104
+ additionalProperties: false,
68105
+ type: "object",
68106
+ required: [
68107
+ "description",
68108
+ "reportId"
68109
+ ],
68110
+ properties: {
68111
+ description: {
68112
+ type: "string"
68113
+ },
68114
+ reportId: {
68115
+ type: "string"
68116
+ }
68117
+ }
68118
+ },
68119
+ InsightsReportUnavailableFailure: {
68120
+ type: "object",
68121
+ description: "The report cannot be read right now. Try again in a few minutes.",
68122
+ additionalProperties: false,
68123
+ required: [
68124
+ "code",
68125
+ "message",
68126
+ "retryable",
68127
+ "data"
68128
+ ],
68129
+ properties: {
68130
+ code: {
68131
+ type: "string",
68132
+ enum: [
68133
+ "REPORT_UNAVAILABLE"
68134
+ ],
68135
+ description: "The failure code, stable across releases."
68136
+ },
68137
+ message: {
68138
+ type: "string",
68139
+ description: "What went wrong, for people; it never contains input values."
68140
+ },
68141
+ retryable: {
68142
+ type: "boolean",
68143
+ enum: [
68144
+ false
68145
+ ],
68146
+ description: "Whether repeating the same request may succeed."
68147
+ },
68148
+ data: {
68149
+ $ref: "#/components/schemas/Empty"
68150
+ }
68151
+ }
68152
+ },
67424
68153
  InternalError: {
67425
68154
  type: "object",
67426
68155
  description: "A failed answer.",
@@ -90486,6 +91215,103 @@ var schemaComponents = {
90486
91215
  toolCalls: {
90487
91216
  $ref: "#/components/schemas/RaizConversationToolCalls"
90488
91217
  },
91218
+ outcomeReview: {
91219
+ anyOf: [
91220
+ {
91221
+ additionalProperties: false,
91222
+ type: "object",
91223
+ required: [
91224
+ "confirmationMessageId",
91225
+ "evidence",
91226
+ "outcome",
91227
+ "reason",
91228
+ "reviewedAt",
91229
+ "reviewedBy"
91230
+ ],
91231
+ properties: {
91232
+ basis: {
91233
+ anyOf: [
91234
+ {
91235
+ const: "business_completion",
91236
+ type: "string"
91237
+ },
91238
+ {
91239
+ const: "policy_referral",
91240
+ type: "string"
91241
+ }
91242
+ ]
91243
+ },
91244
+ confirmationMessageId: {
91245
+ anyOf: [
91246
+ {
91247
+ description: "Message id.",
91248
+ examples: [
91249
+ "msg_01m45h8q2rf3t9w6y7z0b1c2d3"
91250
+ ],
91251
+ 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}))$",
91252
+ type: "string"
91253
+ },
91254
+ {
91255
+ type: "null"
91256
+ }
91257
+ ]
91258
+ },
91259
+ evidence: {
91260
+ minLength: 10,
91261
+ maxLength: 2000,
91262
+ type: "string"
91263
+ },
91264
+ outcome: {
91265
+ anyOf: [
91266
+ {
91267
+ const: "success",
91268
+ type: "string"
91269
+ },
91270
+ {
91271
+ const: "failure",
91272
+ type: "string"
91273
+ },
91274
+ {
91275
+ const: "unknown",
91276
+ type: "string"
91277
+ }
91278
+ ]
91279
+ },
91280
+ policyMessageId: {
91281
+ anyOf: [
91282
+ {
91283
+ description: "Message id.",
91284
+ examples: [
91285
+ "msg_01m45h8q2rf3t9w6y7z0b1c2d3"
91286
+ ],
91287
+ 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}))$",
91288
+ type: "string"
91289
+ },
91290
+ {
91291
+ type: "null"
91292
+ }
91293
+ ]
91294
+ },
91295
+ reason: {
91296
+ minLength: 10,
91297
+ maxLength: 1000,
91298
+ type: "string"
91299
+ },
91300
+ reviewedAt: {
91301
+ description: "An instant in RFC 3339 format, in UTC.",
91302
+ format: "date-time",
91303
+ type: "string"
91304
+ },
91305
+ reviewedBy: {
91306
+ type: "string"
91307
+ }
91308
+ }
91309
+ },
91310
+ {
91311
+ type: "null"
91312
+ }
91313
+ ]
91314
+ },
90489
91315
  analysisErrorCode: {
90490
91316
  anyOf: [
90491
91317
  {
@@ -91272,7 +92098,7 @@ var schemaComponents = {
91272
92098
  ]
91273
92099
  },
91274
92100
  toReview: {
91275
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
92101
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
91276
92102
  type: "boolean"
91277
92103
  },
91278
92104
  messagesMin: {
@@ -92760,7 +93586,7 @@ var schemaComponents = {
92760
93586
  type: "string"
92761
93587
  },
92762
93588
  message: {
92763
- const: "The requested operation does not exist.",
93589
+ const: "The requested resource does not exist.",
92764
93590
  type: "string"
92765
93591
  },
92766
93592
  retryable: {
@@ -98233,7 +99059,7 @@ var schemaComponents = {
98233
99059
  type: "integer"
98234
99060
  },
98235
99061
  toReviewCount: {
98236
- description: "Conversations to review: escalated to the team or evaluated as a failure, each counted once.",
99062
+ description: "Conversations to review: unresolved escalations or evaluated failures, each counted once. A successful conversation explicitly resolved by the team leaves this queue; its historical escalation remains counted.",
98237
99063
  minimum: 0,
98238
99064
  type: "integer"
98239
99065
  }
@@ -101942,6 +102768,450 @@ var schemaComponents = {
101942
102768
  }
101943
102769
  }
101944
102770
  },
102771
+ SaludTotalAuthorization: {
102772
+ additionalProperties: false,
102773
+ type: "object",
102774
+ required: [
102775
+ "id",
102776
+ "number",
102777
+ "status",
102778
+ "statusId",
102779
+ "patient",
102780
+ "siteId",
102781
+ "siteName",
102782
+ "issuedAt",
102783
+ "approvedAt",
102784
+ "validUntil",
102785
+ "items",
102786
+ "observedAt",
102787
+ "document"
102788
+ ],
102789
+ properties: {
102790
+ id: {
102791
+ minimum: 1,
102792
+ maximum: 2147483647,
102793
+ type: "integer"
102794
+ },
102795
+ number: {
102796
+ anyOf: [
102797
+ {
102798
+ minLength: 1,
102799
+ maxLength: 100,
102800
+ type: "string"
102801
+ },
102802
+ {
102803
+ type: "null"
102804
+ }
102805
+ ]
102806
+ },
102807
+ status: {
102808
+ minLength: 1,
102809
+ maxLength: 250,
102810
+ type: "string"
102811
+ },
102812
+ statusId: {
102813
+ minimum: 1,
102814
+ maximum: 2147483647,
102815
+ type: "integer"
102816
+ },
102817
+ patient: {
102818
+ additionalProperties: false,
102819
+ type: "object",
102820
+ required: [
102821
+ "id",
102822
+ "documentType",
102823
+ "documentNumber",
102824
+ "fullName"
102825
+ ],
102826
+ properties: {
102827
+ id: {
102828
+ minimum: 1,
102829
+ maximum: 2147483647,
102830
+ type: "integer"
102831
+ },
102832
+ documentType: {
102833
+ minLength: 1,
102834
+ maxLength: 30,
102835
+ type: "string"
102836
+ },
102837
+ documentNumber: {
102838
+ minLength: 1,
102839
+ maxLength: 30,
102840
+ type: "string"
102841
+ },
102842
+ fullName: {
102843
+ minLength: 1,
102844
+ maxLength: 512,
102845
+ type: "string"
102846
+ }
102847
+ }
102848
+ },
102849
+ siteId: {
102850
+ minimum: 1,
102851
+ maximum: 2147483647,
102852
+ type: "integer"
102853
+ },
102854
+ siteName: {
102855
+ minLength: 1,
102856
+ maxLength: 250,
102857
+ type: "string"
102858
+ },
102859
+ issuedAt: {
102860
+ anyOf: [
102861
+ {
102862
+ format: "date-time",
102863
+ type: "string"
102864
+ },
102865
+ {
102866
+ type: "null"
102867
+ }
102868
+ ]
102869
+ },
102870
+ approvedAt: {
102871
+ anyOf: [
102872
+ {
102873
+ format: "date-time",
102874
+ type: "string"
102875
+ },
102876
+ {
102877
+ type: "null"
102878
+ }
102879
+ ]
102880
+ },
102881
+ validUntil: {
102882
+ anyOf: [
102883
+ {
102884
+ format: "date",
102885
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
102886
+ description: "A local calendar date in YYYY-MM-DD format.",
102887
+ type: "string"
102888
+ },
102889
+ {
102890
+ type: "null"
102891
+ }
102892
+ ]
102893
+ },
102894
+ items: {
102895
+ minItems: 1,
102896
+ maxItems: 2000,
102897
+ type: "array",
102898
+ items: {
102899
+ additionalProperties: false,
102900
+ type: "object",
102901
+ required: [
102902
+ "id",
102903
+ "serviceCode",
102904
+ "serviceName",
102905
+ "quantity",
102906
+ "orderNumber"
102907
+ ],
102908
+ properties: {
102909
+ id: {
102910
+ minimum: 1,
102911
+ maximum: 2147483647,
102912
+ type: "integer"
102913
+ },
102914
+ serviceCode: {
102915
+ maxLength: 100,
102916
+ type: "string"
102917
+ },
102918
+ serviceName: {
102919
+ maxLength: 1500,
102920
+ type: "string"
102921
+ },
102922
+ quantity: {
102923
+ minimum: 0,
102924
+ type: "number"
102925
+ },
102926
+ orderNumber: {
102927
+ anyOf: [
102928
+ {
102929
+ maxLength: 512,
102930
+ type: "string"
102931
+ },
102932
+ {
102933
+ type: "null"
102934
+ }
102935
+ ]
102936
+ }
102937
+ }
102938
+ }
102939
+ },
102940
+ observedAt: {
102941
+ format: "date-time",
102942
+ type: "string"
102943
+ },
102944
+ document: {
102945
+ additionalProperties: false,
102946
+ type: "object",
102947
+ required: [
102948
+ "status",
102949
+ "contentType",
102950
+ "byteLength",
102951
+ "sha256"
102952
+ ],
102953
+ properties: {
102954
+ status: {
102955
+ anyOf: [
102956
+ {
102957
+ const: "not_downloaded",
102958
+ type: "string"
102959
+ },
102960
+ {
102961
+ const: "stored",
102962
+ type: "string"
102963
+ },
102964
+ {
102965
+ const: "requires_provider_action",
102966
+ type: "string"
102967
+ }
102968
+ ]
102969
+ },
102970
+ contentType: {
102971
+ const: "application/pdf",
102972
+ type: "string"
102973
+ },
102974
+ byteLength: {
102975
+ anyOf: [
102976
+ {
102977
+ minimum: 1,
102978
+ type: "integer"
102979
+ },
102980
+ {
102981
+ type: "null"
102982
+ }
102983
+ ]
102984
+ },
102985
+ sha256: {
102986
+ anyOf: [
102987
+ {
102988
+ pattern: "^[a-f0-9]{64}$",
102989
+ type: "string"
102990
+ },
102991
+ {
102992
+ type: "null"
102993
+ }
102994
+ ]
102995
+ }
102996
+ }
102997
+ }
102998
+ }
102999
+ },
103000
+ SaludTotalAuthorizationDocumentUnavailableFailure: {
103001
+ type: "object",
103002
+ description: "The provider did not offer a PDF that can be obtained without a clinical action.",
103003
+ additionalProperties: false,
103004
+ required: [
103005
+ "code",
103006
+ "message",
103007
+ "retryable",
103008
+ "data"
103009
+ ],
103010
+ properties: {
103011
+ code: {
103012
+ type: "string",
103013
+ enum: [
103014
+ "AUTHORIZATION_DOCUMENT_UNAVAILABLE"
103015
+ ],
103016
+ description: "The failure code, stable across releases."
103017
+ },
103018
+ message: {
103019
+ type: "string",
103020
+ description: "What went wrong, for people; it never contains input values."
103021
+ },
103022
+ retryable: {
103023
+ type: "boolean",
103024
+ enum: [
103025
+ false
103026
+ ],
103027
+ description: "Whether repeating the same request may succeed."
103028
+ },
103029
+ data: {
103030
+ $ref: "#/components/schemas/Empty"
103031
+ }
103032
+ }
103033
+ },
103034
+ SaludTotalAuthorizationNotFoundError: {
103035
+ type: "object",
103036
+ description: "A failed answer.",
103037
+ additionalProperties: false,
103038
+ required: [
103039
+ "success",
103040
+ "data",
103041
+ "error",
103042
+ "metadata"
103043
+ ],
103044
+ properties: {
103045
+ success: {
103046
+ type: "boolean",
103047
+ enum: [
103048
+ false
103049
+ ]
103050
+ },
103051
+ data: {
103052
+ const: null
103053
+ },
103054
+ error: {
103055
+ $ref: "#/components/schemas/SaludTotalAuthorizationNotFoundFailure"
103056
+ },
103057
+ metadata: {
103058
+ $ref: "#/components/schemas/ResponseMetadata"
103059
+ }
103060
+ }
103061
+ },
103062
+ SaludTotalAuthorizationNotFoundFailure: {
103063
+ type: "object",
103064
+ description: "This authorization is not available in the selected connection.",
103065
+ additionalProperties: false,
103066
+ required: [
103067
+ "code",
103068
+ "message",
103069
+ "retryable",
103070
+ "data"
103071
+ ],
103072
+ properties: {
103073
+ code: {
103074
+ type: "string",
103075
+ enum: [
103076
+ "AUTHORIZATION_NOT_FOUND"
103077
+ ],
103078
+ description: "The failure code, stable across releases."
103079
+ },
103080
+ message: {
103081
+ type: "string",
103082
+ description: "What went wrong, for people; it never contains input values."
103083
+ },
103084
+ retryable: {
103085
+ type: "boolean",
103086
+ enum: [
103087
+ false
103088
+ ],
103089
+ description: "Whether repeating the same request may succeed."
103090
+ },
103091
+ data: {
103092
+ $ref: "#/components/schemas/Empty"
103093
+ }
103094
+ }
103095
+ },
103096
+ SaludTotalAuthorizationPage: {
103097
+ additionalProperties: false,
103098
+ type: "object",
103099
+ required: [
103100
+ "data",
103101
+ "object",
103102
+ "pageInfo",
103103
+ "source",
103104
+ "connectionId",
103105
+ "observedAt"
103106
+ ],
103107
+ properties: {
103108
+ data: {
103109
+ description: "Items admitted by this resource contract within the verified organization.",
103110
+ type: "array",
103111
+ items: {
103112
+ $ref: "#/components/schemas/SaludTotalAuthorization"
103113
+ }
103114
+ },
103115
+ object: {
103116
+ description: "Discriminator for a resource list response.",
103117
+ const: "list",
103118
+ type: "string"
103119
+ },
103120
+ pageInfo: {
103121
+ $ref: "#/components/schemas/PageInfo",
103122
+ description: "Opaque navigation cursors for this page’s stable keyset order."
103123
+ },
103124
+ source: {
103125
+ anyOf: [
103126
+ {
103127
+ const: "provider",
103128
+ type: "string"
103129
+ },
103130
+ {
103131
+ const: "stored",
103132
+ type: "string"
103133
+ }
103134
+ ]
103135
+ },
103136
+ connectionId: {
103137
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
103138
+ type: "string"
103139
+ },
103140
+ observedAt: {
103141
+ anyOf: [
103142
+ {
103143
+ format: "date-time",
103144
+ type: "string"
103145
+ },
103146
+ {
103147
+ type: "null"
103148
+ }
103149
+ ]
103150
+ }
103151
+ }
103152
+ },
103153
+ SaludTotalAuthorizationPageResponse: {
103154
+ type: "object",
103155
+ description: "A successful answer.",
103156
+ additionalProperties: false,
103157
+ required: [
103158
+ "success",
103159
+ "data",
103160
+ "error",
103161
+ "metadata"
103162
+ ],
103163
+ properties: {
103164
+ success: {
103165
+ type: "boolean",
103166
+ enum: [
103167
+ true
103168
+ ]
103169
+ },
103170
+ data: {
103171
+ $ref: "#/components/schemas/SaludTotalAuthorizationPage"
103172
+ },
103173
+ error: {
103174
+ const: null
103175
+ },
103176
+ metadata: {
103177
+ $ref: "#/components/schemas/ResponseMetadata"
103178
+ }
103179
+ }
103180
+ },
103181
+ SaludTotalAuthorizationStoreUnavailableFailure: {
103182
+ type: "object",
103183
+ description: "The authorization store is unavailable.",
103184
+ additionalProperties: false,
103185
+ required: [
103186
+ "code",
103187
+ "message",
103188
+ "retryable",
103189
+ "data"
103190
+ ],
103191
+ properties: {
103192
+ code: {
103193
+ type: "string",
103194
+ enum: [
103195
+ "AUTHORIZATION_STORE_UNAVAILABLE"
103196
+ ],
103197
+ description: "The failure code, stable across releases."
103198
+ },
103199
+ message: {
103200
+ type: "string",
103201
+ description: "What went wrong, for people; it never contains input values."
103202
+ },
103203
+ retryable: {
103204
+ type: "boolean",
103205
+ enum: [
103206
+ false
103207
+ ],
103208
+ description: "Whether repeating the same request may succeed."
103209
+ },
103210
+ data: {
103211
+ $ref: "#/components/schemas/Empty"
103212
+ }
103213
+ }
103214
+ },
101945
103215
  SaludTotalConnectionUnavailableFailure: {
101946
103216
  type: "object",
101947
103217
  description: "This operation requires an active IPS connection in this organization with the matching workflow tag.",
@@ -102006,6 +103276,313 @@ var schemaComponents = {
102006
103276
  },
102007
103277
  SaludTotalCountNoticesConflictFailure: {
102008
103278
  oneOf: [
103279
+ {
103280
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
103281
+ },
103282
+ {
103283
+ $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
103284
+ },
103285
+ {
103286
+ $ref: "#/components/schemas/SaludTotalSessionClosedFailure"
103287
+ },
103288
+ {
103289
+ $ref: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure"
103290
+ },
103291
+ {
103292
+ $ref: "#/components/schemas/SaludTotalCredentialsRejectedFailure"
103293
+ },
103294
+ {
103295
+ $ref: "#/components/schemas/SaludTotalIpsIdentityMismatchFailure"
103296
+ }
103297
+ ],
103298
+ discriminator: {
103299
+ propertyName: "code",
103300
+ mapping: {
103301
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
103302
+ CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
103303
+ SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
103304
+ INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
103305
+ CREDENTIALS_REJECTED: "#/components/schemas/SaludTotalCredentialsRejectedFailure",
103306
+ IPS_IDENTITY_MISMATCH: "#/components/schemas/SaludTotalIpsIdentityMismatchFailure"
103307
+ }
103308
+ }
103309
+ },
103310
+ SaludTotalCountNoticesForbiddenError: {
103311
+ type: "object",
103312
+ description: "A failed answer.",
103313
+ additionalProperties: false,
103314
+ required: [
103315
+ "success",
103316
+ "data",
103317
+ "error",
103318
+ "metadata"
103319
+ ],
103320
+ properties: {
103321
+ success: {
103322
+ type: "boolean",
103323
+ enum: [
103324
+ false
103325
+ ]
103326
+ },
103327
+ data: {
103328
+ const: null
103329
+ },
103330
+ error: {
103331
+ $ref: "#/components/schemas/SaludTotalCountNoticesForbiddenFailure"
103332
+ },
103333
+ metadata: {
103334
+ $ref: "#/components/schemas/ResponseMetadata"
103335
+ }
103336
+ }
103337
+ },
103338
+ SaludTotalCountNoticesForbiddenFailure: {
103339
+ oneOf: [
103340
+ {
103341
+ $ref: "#/components/schemas/ForbiddenFailure"
103342
+ },
103343
+ {
103344
+ $ref: "#/components/schemas/SaludTotalPortalAccessUnverifiedFailure"
103345
+ },
103346
+ {
103347
+ $ref: "#/components/schemas/SaludTotalModuleForbiddenFailure"
103348
+ },
103349
+ {
103350
+ $ref: "#/components/schemas/SaludTotalSiteUnavailableFailure"
103351
+ }
103352
+ ],
103353
+ discriminator: {
103354
+ propertyName: "code",
103355
+ mapping: {
103356
+ FORBIDDEN: "#/components/schemas/ForbiddenFailure",
103357
+ PORTAL_ACCESS_UNVERIFIED: "#/components/schemas/SaludTotalPortalAccessUnverifiedFailure",
103358
+ MODULE_FORBIDDEN: "#/components/schemas/SaludTotalModuleForbiddenFailure",
103359
+ SITE_UNAVAILABLE: "#/components/schemas/SaludTotalSiteUnavailableFailure"
103360
+ }
103361
+ }
103362
+ },
103363
+ SaludTotalCountNoticesResult: {
103364
+ additionalProperties: false,
103365
+ type: "object",
103366
+ required: [
103367
+ "count"
103368
+ ],
103369
+ properties: {
103370
+ count: {
103371
+ minimum: 0,
103372
+ type: "integer"
103373
+ }
103374
+ }
103375
+ },
103376
+ SaludTotalCountNoticesResultResponse: {
103377
+ type: "object",
103378
+ description: "A successful answer.",
103379
+ additionalProperties: false,
103380
+ required: [
103381
+ "success",
103382
+ "data",
103383
+ "error",
103384
+ "metadata"
103385
+ ],
103386
+ properties: {
103387
+ success: {
103388
+ type: "boolean",
103389
+ enum: [
103390
+ true
103391
+ ]
103392
+ },
103393
+ data: {
103394
+ $ref: "#/components/schemas/SaludTotalCountNoticesResult"
103395
+ },
103396
+ error: {
103397
+ const: null
103398
+ },
103399
+ metadata: {
103400
+ $ref: "#/components/schemas/ResponseMetadata"
103401
+ }
103402
+ }
103403
+ },
103404
+ SaludTotalCountNoticesServiceUnavailableError: {
103405
+ type: "object",
103406
+ description: "A failed answer.",
103407
+ additionalProperties: false,
103408
+ required: [
103409
+ "success",
103410
+ "data",
103411
+ "error",
103412
+ "metadata"
103413
+ ],
103414
+ properties: {
103415
+ success: {
103416
+ type: "boolean",
103417
+ enum: [
103418
+ false
103419
+ ]
103420
+ },
103421
+ data: {
103422
+ const: null
103423
+ },
103424
+ error: {
103425
+ $ref: "#/components/schemas/SaludTotalCountNoticesServiceUnavailableFailure"
103426
+ },
103427
+ metadata: {
103428
+ $ref: "#/components/schemas/ResponseMetadata"
103429
+ }
103430
+ }
103431
+ },
103432
+ SaludTotalCountNoticesServiceUnavailableFailure: {
103433
+ oneOf: [
103434
+ {
103435
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
103436
+ },
103437
+ {
103438
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
103439
+ },
103440
+ {
103441
+ $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
103442
+ },
103443
+ {
103444
+ $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
103445
+ },
103446
+ {
103447
+ $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
103448
+ }
103449
+ ],
103450
+ discriminator: {
103451
+ propertyName: "code",
103452
+ mapping: {
103453
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
103454
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
103455
+ ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
103456
+ SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
103457
+ PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
103458
+ }
103459
+ }
103460
+ },
103461
+ SaludTotalCountNoticesTooManyRequestsError: {
103462
+ type: "object",
103463
+ description: "A failed answer.",
103464
+ additionalProperties: false,
103465
+ required: [
103466
+ "success",
103467
+ "data",
103468
+ "error",
103469
+ "metadata"
103470
+ ],
103471
+ properties: {
103472
+ success: {
103473
+ type: "boolean",
103474
+ enum: [
103475
+ false
103476
+ ]
103477
+ },
103478
+ data: {
103479
+ const: null
103480
+ },
103481
+ error: {
103482
+ $ref: "#/components/schemas/SaludTotalCountNoticesTooManyRequestsFailure"
103483
+ },
103484
+ metadata: {
103485
+ $ref: "#/components/schemas/ResponseMetadata"
103486
+ }
103487
+ }
103488
+ },
103489
+ SaludTotalCountNoticesTooManyRequestsFailure: {
103490
+ oneOf: [
103491
+ {
103492
+ $ref: "#/components/schemas/RateLimitedFailure"
103493
+ },
103494
+ {
103495
+ $ref: "#/components/schemas/SaludTotalLoginCoolingDownFailure"
103496
+ }
103497
+ ],
103498
+ discriminator: {
103499
+ propertyName: "code",
103500
+ mapping: {
103501
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
103502
+ LOGIN_COOLING_DOWN: "#/components/schemas/SaludTotalLoginCoolingDownFailure"
103503
+ }
103504
+ }
103505
+ },
103506
+ SaludTotalCredentialsRejectedFailure: {
103507
+ type: "object",
103508
+ description: "The provider rejected the connection credentials.",
103509
+ additionalProperties: false,
103510
+ required: [
103511
+ "code",
103512
+ "message",
103513
+ "retryable",
103514
+ "data"
103515
+ ],
103516
+ properties: {
103517
+ code: {
103518
+ type: "string",
103519
+ enum: [
103520
+ "CREDENTIALS_REJECTED"
103521
+ ],
103522
+ description: "The failure code, stable across releases."
103523
+ },
103524
+ message: {
103525
+ type: "string",
103526
+ description: "What went wrong, for people; it never contains input values."
103527
+ },
103528
+ retryable: {
103529
+ type: "boolean",
103530
+ enum: [
103531
+ false
103532
+ ],
103533
+ description: "Whether repeating the same request may succeed."
103534
+ },
103535
+ data: {
103536
+ $ref: "#/components/schemas/Empty"
103537
+ }
103538
+ }
103539
+ },
103540
+ SaludTotalDownloadAuthorizationDocumentBody: {
103541
+ additionalProperties: false,
103542
+ type: "object",
103543
+ required: [
103544
+ "connectionId"
103545
+ ],
103546
+ properties: {
103547
+ connectionId: {
103548
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
103549
+ type: "string"
103550
+ }
103551
+ }
103552
+ },
103553
+ SaludTotalDownloadAuthorizationDocumentConflictError: {
103554
+ type: "object",
103555
+ description: "A failed answer.",
103556
+ additionalProperties: false,
103557
+ required: [
103558
+ "success",
103559
+ "data",
103560
+ "error",
103561
+ "metadata"
103562
+ ],
103563
+ properties: {
103564
+ success: {
103565
+ type: "boolean",
103566
+ enum: [
103567
+ false
103568
+ ]
103569
+ },
103570
+ data: {
103571
+ const: null
103572
+ },
103573
+ error: {
103574
+ $ref: "#/components/schemas/SaludTotalDownloadAuthorizationDocumentConflictFailure"
103575
+ },
103576
+ metadata: {
103577
+ $ref: "#/components/schemas/ResponseMetadata"
103578
+ }
103579
+ }
103580
+ },
103581
+ SaludTotalDownloadAuthorizationDocumentConflictFailure: {
103582
+ oneOf: [
103583
+ {
103584
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
103585
+ },
102009
103586
  {
102010
103587
  $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
102011
103588
  },
@@ -102025,6 +103602,7 @@ var schemaComponents = {
102025
103602
  discriminator: {
102026
103603
  propertyName: "code",
102027
103604
  mapping: {
103605
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
102028
103606
  CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
102029
103607
  SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
102030
103608
  INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
@@ -102033,7 +103611,7 @@ var schemaComponents = {
102033
103611
  }
102034
103612
  }
102035
103613
  },
102036
- SaludTotalCountNoticesForbiddenError: {
103614
+ SaludTotalDownloadAuthorizationDocumentForbiddenError: {
102037
103615
  type: "object",
102038
103616
  description: "A failed answer.",
102039
103617
  additionalProperties: false,
@@ -102054,14 +103632,14 @@ var schemaComponents = {
102054
103632
  const: null
102055
103633
  },
102056
103634
  error: {
102057
- $ref: "#/components/schemas/SaludTotalCountNoticesForbiddenFailure"
103635
+ $ref: "#/components/schemas/SaludTotalDownloadAuthorizationDocumentForbiddenFailure"
102058
103636
  },
102059
103637
  metadata: {
102060
103638
  $ref: "#/components/schemas/ResponseMetadata"
102061
103639
  }
102062
103640
  }
102063
103641
  },
102064
- SaludTotalCountNoticesForbiddenFailure: {
103642
+ SaludTotalDownloadAuthorizationDocumentForbiddenFailure: {
102065
103643
  oneOf: [
102066
103644
  {
102067
103645
  $ref: "#/components/schemas/ForbiddenFailure"
@@ -102086,48 +103664,7 @@ var schemaComponents = {
102086
103664
  }
102087
103665
  }
102088
103666
  },
102089
- SaludTotalCountNoticesResult: {
102090
- additionalProperties: false,
102091
- type: "object",
102092
- required: [
102093
- "count"
102094
- ],
102095
- properties: {
102096
- count: {
102097
- minimum: 0,
102098
- type: "integer"
102099
- }
102100
- }
102101
- },
102102
- SaludTotalCountNoticesResultResponse: {
102103
- type: "object",
102104
- description: "A successful answer.",
102105
- additionalProperties: false,
102106
- required: [
102107
- "success",
102108
- "data",
102109
- "error",
102110
- "metadata"
102111
- ],
102112
- properties: {
102113
- success: {
102114
- type: "boolean",
102115
- enum: [
102116
- true
102117
- ]
102118
- },
102119
- data: {
102120
- $ref: "#/components/schemas/SaludTotalCountNoticesResult"
102121
- },
102122
- error: {
102123
- const: null
102124
- },
102125
- metadata: {
102126
- $ref: "#/components/schemas/ResponseMetadata"
102127
- }
102128
- }
102129
- },
102130
- SaludTotalCountNoticesServiceUnavailableError: {
103667
+ SaludTotalDownloadAuthorizationDocumentServiceUnavailableError: {
102131
103668
  type: "object",
102132
103669
  description: "A failed answer.",
102133
103670
  additionalProperties: false,
@@ -102148,18 +103685,21 @@ var schemaComponents = {
102148
103685
  const: null
102149
103686
  },
102150
103687
  error: {
102151
- $ref: "#/components/schemas/SaludTotalCountNoticesServiceUnavailableFailure"
103688
+ $ref: "#/components/schemas/SaludTotalDownloadAuthorizationDocumentServiceUnavailableFailure"
102152
103689
  },
102153
103690
  metadata: {
102154
103691
  $ref: "#/components/schemas/ResponseMetadata"
102155
103692
  }
102156
103693
  }
102157
103694
  },
102158
- SaludTotalCountNoticesServiceUnavailableFailure: {
103695
+ SaludTotalDownloadAuthorizationDocumentServiceUnavailableFailure: {
102159
103696
  oneOf: [
102160
103697
  {
102161
103698
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
102162
103699
  },
103700
+ {
103701
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
103702
+ },
102163
103703
  {
102164
103704
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
102165
103705
  },
@@ -102174,13 +103714,14 @@ var schemaComponents = {
102174
103714
  propertyName: "code",
102175
103715
  mapping: {
102176
103716
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
103717
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
102177
103718
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
102178
103719
  SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
102179
103720
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
102180
103721
  }
102181
103722
  }
102182
103723
  },
102183
- SaludTotalCountNoticesTooManyRequestsError: {
103724
+ SaludTotalDownloadAuthorizationDocumentTooManyRequestsError: {
102184
103725
  type: "object",
102185
103726
  description: "A failed answer.",
102186
103727
  additionalProperties: false,
@@ -102201,14 +103742,14 @@ var schemaComponents = {
102201
103742
  const: null
102202
103743
  },
102203
103744
  error: {
102204
- $ref: "#/components/schemas/SaludTotalCountNoticesTooManyRequestsFailure"
103745
+ $ref: "#/components/schemas/SaludTotalDownloadAuthorizationDocumentTooManyRequestsFailure"
102205
103746
  },
102206
103747
  metadata: {
102207
103748
  $ref: "#/components/schemas/ResponseMetadata"
102208
103749
  }
102209
103750
  }
102210
103751
  },
102211
- SaludTotalCountNoticesTooManyRequestsFailure: {
103752
+ SaludTotalDownloadAuthorizationDocumentTooManyRequestsFailure: {
102212
103753
  oneOf: [
102213
103754
  {
102214
103755
  $ref: "#/components/schemas/RateLimitedFailure"
@@ -102225,40 +103766,6 @@ var schemaComponents = {
102225
103766
  }
102226
103767
  }
102227
103768
  },
102228
- SaludTotalCredentialsRejectedFailure: {
102229
- type: "object",
102230
- description: "The provider rejected the connection credentials.",
102231
- additionalProperties: false,
102232
- required: [
102233
- "code",
102234
- "message",
102235
- "retryable",
102236
- "data"
102237
- ],
102238
- properties: {
102239
- code: {
102240
- type: "string",
102241
- enum: [
102242
- "CREDENTIALS_REJECTED"
102243
- ],
102244
- description: "The failure code, stable across releases."
102245
- },
102246
- message: {
102247
- type: "string",
102248
- description: "What went wrong, for people; it never contains input values."
102249
- },
102250
- retryable: {
102251
- type: "boolean",
102252
- enum: [
102253
- false
102254
- ],
102255
- description: "Whether repeating the same request may succeed."
102256
- },
102257
- data: {
102258
- $ref: "#/components/schemas/Empty"
102259
- }
102260
- }
102261
- },
102262
103769
  SaludTotalInteractiveVerificationRequiredFailure: {
102263
103770
  type: "object",
102264
103771
  description: "The IPS operator must complete an interactive portal step.",
@@ -102420,6 +103927,222 @@ var schemaComponents = {
102420
103927
  }
102421
103928
  }
102422
103929
  },
103930
+ SaludTotalListAuthorizationsConflictError: {
103931
+ type: "object",
103932
+ description: "A failed answer.",
103933
+ additionalProperties: false,
103934
+ required: [
103935
+ "success",
103936
+ "data",
103937
+ "error",
103938
+ "metadata"
103939
+ ],
103940
+ properties: {
103941
+ success: {
103942
+ type: "boolean",
103943
+ enum: [
103944
+ false
103945
+ ]
103946
+ },
103947
+ data: {
103948
+ const: null
103949
+ },
103950
+ error: {
103951
+ $ref: "#/components/schemas/SaludTotalListAuthorizationsConflictFailure"
103952
+ },
103953
+ metadata: {
103954
+ $ref: "#/components/schemas/ResponseMetadata"
103955
+ }
103956
+ }
103957
+ },
103958
+ SaludTotalListAuthorizationsConflictFailure: {
103959
+ oneOf: [
103960
+ {
103961
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
103962
+ },
103963
+ {
103964
+ $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
103965
+ },
103966
+ {
103967
+ $ref: "#/components/schemas/SaludTotalSessionClosedFailure"
103968
+ },
103969
+ {
103970
+ $ref: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure"
103971
+ },
103972
+ {
103973
+ $ref: "#/components/schemas/SaludTotalCredentialsRejectedFailure"
103974
+ },
103975
+ {
103976
+ $ref: "#/components/schemas/SaludTotalIpsIdentityMismatchFailure"
103977
+ }
103978
+ ],
103979
+ discriminator: {
103980
+ propertyName: "code",
103981
+ mapping: {
103982
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
103983
+ CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
103984
+ SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
103985
+ INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
103986
+ CREDENTIALS_REJECTED: "#/components/schemas/SaludTotalCredentialsRejectedFailure",
103987
+ IPS_IDENTITY_MISMATCH: "#/components/schemas/SaludTotalIpsIdentityMismatchFailure"
103988
+ }
103989
+ }
103990
+ },
103991
+ SaludTotalListAuthorizationsForbiddenError: {
103992
+ type: "object",
103993
+ description: "A failed answer.",
103994
+ additionalProperties: false,
103995
+ required: [
103996
+ "success",
103997
+ "data",
103998
+ "error",
103999
+ "metadata"
104000
+ ],
104001
+ properties: {
104002
+ success: {
104003
+ type: "boolean",
104004
+ enum: [
104005
+ false
104006
+ ]
104007
+ },
104008
+ data: {
104009
+ const: null
104010
+ },
104011
+ error: {
104012
+ $ref: "#/components/schemas/SaludTotalListAuthorizationsForbiddenFailure"
104013
+ },
104014
+ metadata: {
104015
+ $ref: "#/components/schemas/ResponseMetadata"
104016
+ }
104017
+ }
104018
+ },
104019
+ SaludTotalListAuthorizationsForbiddenFailure: {
104020
+ oneOf: [
104021
+ {
104022
+ $ref: "#/components/schemas/ForbiddenFailure"
104023
+ },
104024
+ {
104025
+ $ref: "#/components/schemas/SaludTotalPortalAccessUnverifiedFailure"
104026
+ },
104027
+ {
104028
+ $ref: "#/components/schemas/SaludTotalModuleForbiddenFailure"
104029
+ },
104030
+ {
104031
+ $ref: "#/components/schemas/SaludTotalSiteUnavailableFailure"
104032
+ }
104033
+ ],
104034
+ discriminator: {
104035
+ propertyName: "code",
104036
+ mapping: {
104037
+ FORBIDDEN: "#/components/schemas/ForbiddenFailure",
104038
+ PORTAL_ACCESS_UNVERIFIED: "#/components/schemas/SaludTotalPortalAccessUnverifiedFailure",
104039
+ MODULE_FORBIDDEN: "#/components/schemas/SaludTotalModuleForbiddenFailure",
104040
+ SITE_UNAVAILABLE: "#/components/schemas/SaludTotalSiteUnavailableFailure"
104041
+ }
104042
+ }
104043
+ },
104044
+ SaludTotalListAuthorizationsServiceUnavailableError: {
104045
+ type: "object",
104046
+ description: "A failed answer.",
104047
+ additionalProperties: false,
104048
+ required: [
104049
+ "success",
104050
+ "data",
104051
+ "error",
104052
+ "metadata"
104053
+ ],
104054
+ properties: {
104055
+ success: {
104056
+ type: "boolean",
104057
+ enum: [
104058
+ false
104059
+ ]
104060
+ },
104061
+ data: {
104062
+ const: null
104063
+ },
104064
+ error: {
104065
+ $ref: "#/components/schemas/SaludTotalListAuthorizationsServiceUnavailableFailure"
104066
+ },
104067
+ metadata: {
104068
+ $ref: "#/components/schemas/ResponseMetadata"
104069
+ }
104070
+ }
104071
+ },
104072
+ SaludTotalListAuthorizationsServiceUnavailableFailure: {
104073
+ oneOf: [
104074
+ {
104075
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
104076
+ },
104077
+ {
104078
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
104079
+ },
104080
+ {
104081
+ $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
104082
+ },
104083
+ {
104084
+ $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
104085
+ },
104086
+ {
104087
+ $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
104088
+ }
104089
+ ],
104090
+ discriminator: {
104091
+ propertyName: "code",
104092
+ mapping: {
104093
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
104094
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
104095
+ ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
104096
+ SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
104097
+ PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
104098
+ }
104099
+ }
104100
+ },
104101
+ SaludTotalListAuthorizationsTooManyRequestsError: {
104102
+ type: "object",
104103
+ description: "A failed answer.",
104104
+ additionalProperties: false,
104105
+ required: [
104106
+ "success",
104107
+ "data",
104108
+ "error",
104109
+ "metadata"
104110
+ ],
104111
+ properties: {
104112
+ success: {
104113
+ type: "boolean",
104114
+ enum: [
104115
+ false
104116
+ ]
104117
+ },
104118
+ data: {
104119
+ const: null
104120
+ },
104121
+ error: {
104122
+ $ref: "#/components/schemas/SaludTotalListAuthorizationsTooManyRequestsFailure"
104123
+ },
104124
+ metadata: {
104125
+ $ref: "#/components/schemas/ResponseMetadata"
104126
+ }
104127
+ }
104128
+ },
104129
+ SaludTotalListAuthorizationsTooManyRequestsFailure: {
104130
+ oneOf: [
104131
+ {
104132
+ $ref: "#/components/schemas/RateLimitedFailure"
104133
+ },
104134
+ {
104135
+ $ref: "#/components/schemas/SaludTotalLoginCoolingDownFailure"
104136
+ }
104137
+ ],
104138
+ discriminator: {
104139
+ propertyName: "code",
104140
+ mapping: {
104141
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
104142
+ LOGIN_COOLING_DOWN: "#/components/schemas/SaludTotalLoginCoolingDownFailure"
104143
+ }
104144
+ }
104145
+ },
102423
104146
  SaludTotalLoginCoolingDownFailure: {
102424
104147
  type: "object",
102425
104148
  description: "The IPS login attempt limit has been reached. Wait before trying again.",
@@ -102510,6 +104233,9 @@ var schemaComponents = {
102510
104233
  },
102511
104234
  SaludTotalLookupAffiliationConflictFailure: {
102512
104235
  oneOf: [
104236
+ {
104237
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
104238
+ },
102513
104239
  {
102514
104240
  $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
102515
104241
  },
@@ -102529,6 +104255,7 @@ var schemaComponents = {
102529
104255
  discriminator: {
102530
104256
  propertyName: "code",
102531
104257
  mapping: {
104258
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
102532
104259
  CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
102533
104260
  SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
102534
104261
  INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
@@ -102623,6 +104350,9 @@ var schemaComponents = {
102623
104350
  {
102624
104351
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
102625
104352
  },
104353
+ {
104354
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
104355
+ },
102626
104356
  {
102627
104357
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
102628
104358
  },
@@ -102637,6 +104367,7 @@ var schemaComponents = {
102637
104367
  propertyName: "code",
102638
104368
  mapping: {
102639
104369
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
104370
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
102640
104371
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
102641
104372
  SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
102642
104373
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -102688,6 +104419,125 @@ var schemaComponents = {
102688
104419
  }
102689
104420
  }
102690
104421
  },
104422
+ SaludTotalLookupAuthorizationsBody: {
104423
+ anyOf: [
104424
+ {
104425
+ additionalProperties: false,
104426
+ type: "object",
104427
+ required: [
104428
+ "connectionId",
104429
+ "documentType",
104430
+ "documentNumber",
104431
+ "day"
104432
+ ],
104433
+ properties: {
104434
+ connectionId: {
104435
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
104436
+ type: "string"
104437
+ },
104438
+ branchId: {
104439
+ minimum: 1,
104440
+ maximum: 2147483647,
104441
+ type: "integer"
104442
+ },
104443
+ siteId: {
104444
+ minimum: 1,
104445
+ maximum: 2147483647,
104446
+ type: "integer"
104447
+ },
104448
+ choiceCursor: {
104449
+ pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
104450
+ description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
104451
+ type: "string"
104452
+ },
104453
+ documentType: {
104454
+ const: "CC",
104455
+ type: "string"
104456
+ },
104457
+ documentNumber: {
104458
+ pattern: "^[0-9]{6,15}$",
104459
+ writeOnly: true,
104460
+ "x-sensitive": true,
104461
+ description: "Exact authorized member document. Send it only in the request body.",
104462
+ type: "string"
104463
+ },
104464
+ day: {
104465
+ format: "date",
104466
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
104467
+ description: "A local calendar date in YYYY-MM-DD format.",
104468
+ type: "string"
104469
+ }
104470
+ }
104471
+ },
104472
+ {
104473
+ additionalProperties: false,
104474
+ type: "object",
104475
+ required: [
104476
+ "connectionId",
104477
+ "from",
104478
+ "to"
104479
+ ],
104480
+ properties: {
104481
+ connectionId: {
104482
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
104483
+ type: "string"
104484
+ },
104485
+ from: {
104486
+ format: "date",
104487
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
104488
+ description: "A local calendar date in YYYY-MM-DD format.",
104489
+ type: "string"
104490
+ },
104491
+ to: {
104492
+ format: "date",
104493
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
104494
+ description: "A local calendar date in YYYY-MM-DD format.",
104495
+ type: "string"
104496
+ },
104497
+ branchId: {
104498
+ minimum: 1,
104499
+ maximum: 2147483647,
104500
+ type: "integer"
104501
+ },
104502
+ siteId: {
104503
+ minimum: 1,
104504
+ maximum: 2147483647,
104505
+ type: "integer"
104506
+ },
104507
+ choiceCursor: {
104508
+ pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
104509
+ description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
104510
+ type: "string"
104511
+ },
104512
+ cursor: {
104513
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
104514
+ type: "string"
104515
+ },
104516
+ direction: {
104517
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
104518
+ anyOf: [
104519
+ {
104520
+ const: "forward",
104521
+ type: "string"
104522
+ },
104523
+ {
104524
+ const: "backward",
104525
+ type: "string"
104526
+ }
104527
+ ],
104528
+ default: "forward"
104529
+ },
104530
+ limit: {
104531
+ minimum: 1,
104532
+ maximum: 100,
104533
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
104534
+ type: "integer",
104535
+ default: 25
104536
+ }
104537
+ }
104538
+ }
104539
+ ]
104540
+ },
102691
104541
  SaludTotalLookupAuthorizationsConflictError: {
102692
104542
  type: "object",
102693
104543
  description: "A failed answer.",
@@ -102718,6 +104568,9 @@ var schemaComponents = {
102718
104568
  },
102719
104569
  SaludTotalLookupAuthorizationsConflictFailure: {
102720
104570
  oneOf: [
104571
+ {
104572
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
104573
+ },
102721
104574
  {
102722
104575
  $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
102723
104576
  },
@@ -102737,6 +104590,7 @@ var schemaComponents = {
102737
104590
  discriminator: {
102738
104591
  propertyName: "code",
102739
104592
  mapping: {
104593
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
102740
104594
  CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
102741
104595
  SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
102742
104596
  INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
@@ -102798,6 +104652,175 @@ var schemaComponents = {
102798
104652
  }
102799
104653
  }
102800
104654
  },
104655
+ SaludTotalLookupAuthorizationsResult: {
104656
+ anyOf: [
104657
+ {
104658
+ additionalProperties: false,
104659
+ type: "object",
104660
+ required: [
104661
+ "status",
104662
+ "recordCount",
104663
+ "scope",
104664
+ "field",
104665
+ "choices",
104666
+ "nextChoiceCursor"
104667
+ ],
104668
+ properties: {
104669
+ status: {
104670
+ const: "location_required",
104671
+ type: "string"
104672
+ },
104673
+ recordCount: {
104674
+ type: "null"
104675
+ },
104676
+ scope: {
104677
+ anyOf: [
104678
+ {
104679
+ const: "institution",
104680
+ type: "string"
104681
+ },
104682
+ {
104683
+ const: "site",
104684
+ type: "string"
104685
+ }
104686
+ ]
104687
+ },
104688
+ field: {
104689
+ anyOf: [
104690
+ {
104691
+ const: "branchId",
104692
+ type: "string"
104693
+ },
104694
+ {
104695
+ const: "siteId",
104696
+ type: "string"
104697
+ }
104698
+ ]
104699
+ },
104700
+ choices: {
104701
+ minItems: 1,
104702
+ maxItems: 25,
104703
+ type: "array",
104704
+ items: {
104705
+ additionalProperties: false,
104706
+ type: "object",
104707
+ required: [
104708
+ "id",
104709
+ "name"
104710
+ ],
104711
+ properties: {
104712
+ id: {
104713
+ minimum: 1,
104714
+ maximum: 2147483647,
104715
+ type: "integer"
104716
+ },
104717
+ name: {
104718
+ minLength: 1,
104719
+ maxLength: 250,
104720
+ type: "string"
104721
+ }
104722
+ }
104723
+ }
104724
+ },
104725
+ nextChoiceCursor: {
104726
+ anyOf: [
104727
+ {
104728
+ type: "string"
104729
+ },
104730
+ {
104731
+ type: "null"
104732
+ }
104733
+ ]
104734
+ }
104735
+ }
104736
+ },
104737
+ {
104738
+ additionalProperties: false,
104739
+ type: "object",
104740
+ required: [
104741
+ "status",
104742
+ "recordCount",
104743
+ "scope"
104744
+ ],
104745
+ properties: {
104746
+ status: {
104747
+ anyOf: [
104748
+ {
104749
+ const: "member_no_match",
104750
+ type: "string"
104751
+ },
104752
+ {
104753
+ const: "member_ambiguous",
104754
+ type: "string"
104755
+ },
104756
+ {
104757
+ const: "no_records",
104758
+ type: "string"
104759
+ },
104760
+ {
104761
+ const: "records_found",
104762
+ type: "string"
104763
+ }
104764
+ ]
104765
+ },
104766
+ recordCount: {
104767
+ anyOf: [
104768
+ {
104769
+ minimum: 0,
104770
+ type: "integer"
104771
+ },
104772
+ {
104773
+ type: "null"
104774
+ }
104775
+ ]
104776
+ },
104777
+ scope: {
104778
+ anyOf: [
104779
+ {
104780
+ const: "institution",
104781
+ type: "string"
104782
+ },
104783
+ {
104784
+ const: "site",
104785
+ type: "string"
104786
+ }
104787
+ ]
104788
+ }
104789
+ }
104790
+ },
104791
+ {
104792
+ $ref: "#/components/schemas/SaludTotalAuthorizationPage"
104793
+ }
104794
+ ]
104795
+ },
104796
+ SaludTotalLookupAuthorizationsResultResponse: {
104797
+ type: "object",
104798
+ description: "A successful answer.",
104799
+ additionalProperties: false,
104800
+ required: [
104801
+ "success",
104802
+ "data",
104803
+ "error",
104804
+ "metadata"
104805
+ ],
104806
+ properties: {
104807
+ success: {
104808
+ type: "boolean",
104809
+ enum: [
104810
+ true
104811
+ ]
104812
+ },
104813
+ data: {
104814
+ $ref: "#/components/schemas/SaludTotalLookupAuthorizationsResult"
104815
+ },
104816
+ error: {
104817
+ const: null
104818
+ },
104819
+ metadata: {
104820
+ $ref: "#/components/schemas/ResponseMetadata"
104821
+ }
104822
+ }
104823
+ },
102801
104824
  SaludTotalLookupAuthorizationsServiceUnavailableError: {
102802
104825
  type: "object",
102803
104826
  description: "A failed answer.",
@@ -102831,6 +104854,9 @@ var schemaComponents = {
102831
104854
  {
102832
104855
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
102833
104856
  },
104857
+ {
104858
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
104859
+ },
102834
104860
  {
102835
104861
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
102836
104862
  },
@@ -102845,6 +104871,7 @@ var schemaComponents = {
102845
104871
  propertyName: "code",
102846
104872
  mapping: {
102847
104873
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
104874
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
102848
104875
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
102849
104876
  SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
102850
104877
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -102926,6 +104953,9 @@ var schemaComponents = {
102926
104953
  },
102927
104954
  SaludTotalLookupFilingsConflictFailure: {
102928
104955
  oneOf: [
104956
+ {
104957
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
104958
+ },
102929
104959
  {
102930
104960
  $ref: "#/components/schemas/SaludTotalConnectionUnavailableFailure"
102931
104961
  },
@@ -102945,6 +104975,7 @@ var schemaComponents = {
102945
104975
  discriminator: {
102946
104976
  propertyName: "code",
102947
104977
  mapping: {
104978
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
102948
104979
  CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
102949
104980
  SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
102950
104981
  INTERACTIVE_VERIFICATION_REQUIRED: "#/components/schemas/SaludTotalInteractiveVerificationRequiredFailure",
@@ -103039,6 +105070,9 @@ var schemaComponents = {
103039
105070
  {
103040
105071
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
103041
105072
  },
105073
+ {
105074
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
105075
+ },
103042
105076
  {
103043
105077
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
103044
105078
  },
@@ -103053,6 +105087,7 @@ var schemaComponents = {
103053
105087
  propertyName: "code",
103054
105088
  mapping: {
103055
105089
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
105090
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
103056
105091
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
103057
105092
  SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
103058
105093
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -103134,6 +105169,9 @@ var schemaComponents = {
103134
105169
  },
103135
105170
  SaludTotalLookupInvoiceConflictFailure: {
103136
105171
  oneOf: [
105172
+ {
105173
+ $ref: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure"
105174
+ },
103137
105175
  {
103138
105176
  $ref: "#/components/schemas/SaludTotalReportingWindowClosedFailure"
103139
105177
  },
@@ -103156,6 +105194,7 @@ var schemaComponents = {
103156
105194
  discriminator: {
103157
105195
  propertyName: "code",
103158
105196
  mapping: {
105197
+ AUTHORIZATION_DOCUMENT_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationDocumentUnavailableFailure",
103159
105198
  REPORTING_WINDOW_CLOSED: "#/components/schemas/SaludTotalReportingWindowClosedFailure",
103160
105199
  CONNECTION_UNAVAILABLE: "#/components/schemas/SaludTotalConnectionUnavailableFailure",
103161
105200
  SESSION_CLOSED: "#/components/schemas/SaludTotalSessionClosedFailure",
@@ -103251,6 +105290,9 @@ var schemaComponents = {
103251
105290
  {
103252
105291
  $ref: "#/components/schemas/UpstreamUnavailableFailure"
103253
105292
  },
105293
+ {
105294
+ $ref: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure"
105295
+ },
103254
105296
  {
103255
105297
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
103256
105298
  },
@@ -103265,6 +105307,7 @@ var schemaComponents = {
103265
105307
  propertyName: "code",
103266
105308
  mapping: {
103267
105309
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
105310
+ AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
103268
105311
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
103269
105312
  SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
103270
105313
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -103686,7 +105729,7 @@ var schemaComponents = {
103686
105729
  day: {
103687
105730
  format: "date",
103688
105731
  pattern: "^\\d{4}-\\d{2}-\\d{2}$",
103689
- description: "One local calendar day; the request never traverses an open-ended date range.",
105732
+ description: "A local calendar date in YYYY-MM-DD format.",
103690
105733
  type: "string"
103691
105734
  }
103692
105735
  }
@@ -112214,6 +114257,114 @@ var schemaComponents = {
112214
114257
  }
112215
114258
  }
112216
114259
  },
114260
+ VisoftAssignedAppointment: {
114261
+ additionalProperties: false,
114262
+ type: "object",
114263
+ required: [
114264
+ "reference",
114265
+ "startsAt",
114266
+ "agencyCode",
114267
+ "professionalId",
114268
+ "professionalName",
114269
+ "specialty",
114270
+ "patientName",
114271
+ "phone",
114272
+ "service",
114273
+ "attended"
114274
+ ],
114275
+ properties: {
114276
+ reference: {
114277
+ description: "The assigned appointment's opaque SIIPS reference.",
114278
+ type: "string"
114279
+ },
114280
+ startsAt: {
114281
+ format: "date-time",
114282
+ description: `The moment, as an RFC 3339 instant written in the clinic's own offset (for example "2026-11-04T08:50:00-05:00"), so its first ten characters are the clinic's day and the next eight its hour.`,
114283
+ type: "string"
114284
+ },
114285
+ agencyCode: {
114286
+ type: "string"
114287
+ },
114288
+ professionalId: {
114289
+ type: "string"
114290
+ },
114291
+ professionalName: {
114292
+ type: "string"
114293
+ },
114294
+ specialty: {
114295
+ type: "string"
114296
+ },
114297
+ patientName: {
114298
+ type: "string"
114299
+ },
114300
+ phone: {
114301
+ description: "SIIPS's contact phone text; may be empty or contain several numbers.",
114302
+ type: "string"
114303
+ },
114304
+ service: {
114305
+ type: "string"
114306
+ },
114307
+ attended: {
114308
+ description: "SIIPS's attendance flag, as stored.",
114309
+ type: "string"
114310
+ }
114311
+ }
114312
+ },
114313
+ VisoftAssignedAppointmentPage: {
114314
+ additionalProperties: false,
114315
+ type: "object",
114316
+ required: [
114317
+ "data",
114318
+ "object",
114319
+ "pageInfo"
114320
+ ],
114321
+ properties: {
114322
+ data: {
114323
+ description: "Items admitted by this resource contract within the verified organization.",
114324
+ type: "array",
114325
+ items: {
114326
+ $ref: "#/components/schemas/VisoftAssignedAppointment"
114327
+ }
114328
+ },
114329
+ object: {
114330
+ description: "Discriminator for a resource list response.",
114331
+ const: "list",
114332
+ type: "string"
114333
+ },
114334
+ pageInfo: {
114335
+ $ref: "#/components/schemas/PageInfo",
114336
+ description: "Opaque navigation cursors for this page’s stable keyset order."
114337
+ }
114338
+ }
114339
+ },
114340
+ VisoftAssignedAppointmentPageResponse: {
114341
+ type: "object",
114342
+ description: "A successful answer.",
114343
+ additionalProperties: false,
114344
+ required: [
114345
+ "success",
114346
+ "data",
114347
+ "error",
114348
+ "metadata"
114349
+ ],
114350
+ properties: {
114351
+ success: {
114352
+ type: "boolean",
114353
+ enum: [
114354
+ true
114355
+ ]
114356
+ },
114357
+ data: {
114358
+ $ref: "#/components/schemas/VisoftAssignedAppointmentPage"
114359
+ },
114360
+ error: {
114361
+ const: null
114362
+ },
114363
+ metadata: {
114364
+ $ref: "#/components/schemas/ResponseMetadata"
114365
+ }
114366
+ }
114367
+ },
112217
114368
  VisoftAvailability: {
112218
114369
  additionalProperties: false,
112219
114370
  type: "object",
@@ -114589,6 +116740,96 @@ var schemaComponents = {
114589
116740
  }
114590
116741
  }
114591
116742
  },
116743
+ VisoftListAppointmentsBadGatewayError: {
116744
+ type: "object",
116745
+ description: "A failed answer.",
116746
+ additionalProperties: false,
116747
+ required: [
116748
+ "success",
116749
+ "data",
116750
+ "error",
116751
+ "metadata"
116752
+ ],
116753
+ properties: {
116754
+ success: {
116755
+ type: "boolean",
116756
+ enum: [
116757
+ false
116758
+ ]
116759
+ },
116760
+ data: {
116761
+ const: null
116762
+ },
116763
+ error: {
116764
+ $ref: "#/components/schemas/VisoftListAppointmentsBadGatewayFailure"
116765
+ },
116766
+ metadata: {
116767
+ $ref: "#/components/schemas/ResponseMetadata"
116768
+ }
116769
+ }
116770
+ },
116771
+ VisoftListAppointmentsBadGatewayFailure: {
116772
+ oneOf: [
116773
+ {
116774
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
116775
+ },
116776
+ {
116777
+ $ref: "#/components/schemas/VisoftProviderUnavailableFailure"
116778
+ }
116779
+ ],
116780
+ discriminator: {
116781
+ propertyName: "code",
116782
+ mapping: {
116783
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
116784
+ PROVIDER_UNAVAILABLE: "#/components/schemas/VisoftProviderUnavailableFailure"
116785
+ }
116786
+ }
116787
+ },
116788
+ VisoftListAppointmentsUnprocessableContentError: {
116789
+ type: "object",
116790
+ description: "A failed answer.",
116791
+ additionalProperties: false,
116792
+ required: [
116793
+ "success",
116794
+ "data",
116795
+ "error",
116796
+ "metadata"
116797
+ ],
116798
+ properties: {
116799
+ success: {
116800
+ type: "boolean",
116801
+ enum: [
116802
+ false
116803
+ ]
116804
+ },
116805
+ data: {
116806
+ const: null
116807
+ },
116808
+ error: {
116809
+ $ref: "#/components/schemas/VisoftListAppointmentsUnprocessableContentFailure"
116810
+ },
116811
+ metadata: {
116812
+ $ref: "#/components/schemas/ResponseMetadata"
116813
+ }
116814
+ }
116815
+ },
116816
+ VisoftListAppointmentsUnprocessableContentFailure: {
116817
+ oneOf: [
116818
+ {
116819
+ $ref: "#/components/schemas/VisoftCredentialsRejectedFailure"
116820
+ },
116821
+ {
116822
+ $ref: "#/components/schemas/VisoftAgencyNotServedFailure"
116823
+ }
116824
+ ],
116825
+ discriminator: {
116826
+ propertyName: "code",
116827
+ mapping: {
116828
+ CREDENTIALS_REJECTED: "#/components/schemas/VisoftCredentialsRejectedFailure",
116829
+ AGENCY_NOT_SERVED: "#/components/schemas/VisoftAgencyNotServedFailure"
116830
+ }
116831
+ }
116832
+ },
114592
116833
  VisoftListContractsBadGatewayError: {
114593
116834
  type: "object",
114594
116835
  description: "A failed answer.",
@@ -120585,6 +122826,7 @@ var schemaComponents = {
120585
122826
  password: {
120586
122827
  minLength: 1,
120587
122828
  maxLength: 200,
122829
+ secret: true,
120588
122830
  type: "string"
120589
122831
  },
120590
122832
  providerCode: {
@@ -122817,95 +125059,158 @@ var schemaComponents = {
122817
125059
  description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
122818
125060
  type: "integer",
122819
125061
  default: 25
122820
- },
122821
- authorization: {
122822
- maxLength: 20000,
122823
- type: "string"
122824
- },
122825
- sessionPackageId: {
122826
- pattern: "^[1-9][0-9]{0,14}$",
122827
- type: "string"
122828
- },
122829
- patientId: {
122830
- pattern: "^[1-9][0-9]{0,14}$",
122831
- type: "string"
122832
- },
122833
- connectionId: {
122834
- pattern: "^con_[0-9A-Za-z]{26}$",
122835
- type: "string"
122836
- },
122837
- id: {
122838
- pattern: "^[1-9][0-9]{0,14}$",
122839
- type: "string",
122840
- deprecated: true,
122841
- description: "Deprecated: use `sessionPackageId`. Answered until 2027-01-28."
125062
+ },
125063
+ authorization: {
125064
+ maxLength: 20000,
125065
+ type: "string"
125066
+ },
125067
+ sessionPackageId: {
125068
+ pattern: "^[1-9][0-9]{0,14}$",
125069
+ type: "string"
125070
+ },
125071
+ patientId: {
125072
+ pattern: "^[1-9][0-9]{0,14}$",
125073
+ type: "string"
125074
+ },
125075
+ connectionId: {
125076
+ pattern: "^con_[0-9A-Za-z]{26}$",
125077
+ type: "string"
125078
+ },
125079
+ id: {
125080
+ pattern: "^[1-9][0-9]{0,14}$",
125081
+ type: "string",
125082
+ deprecated: true,
125083
+ description: "Deprecated: use `sessionPackageId`. Answered until 2027-01-28."
125084
+ }
125085
+ }
125086
+ },
125087
+ GmedicSessionPackagesCreateInput: {
125088
+ additionalProperties: false,
125089
+ type: "object",
125090
+ required: [
125091
+ "data"
125092
+ ],
125093
+ properties: {
125094
+ data: {
125095
+ additionalProperties: false,
125096
+ type: "object",
125097
+ required: [
125098
+ "authorizationNumber",
125099
+ "issueDate",
125100
+ "expirationDate",
125101
+ "maxSessions"
125102
+ ],
125103
+ properties: {
125104
+ authorizationNumber: {
125105
+ maxLength: 255,
125106
+ type: "string"
125107
+ },
125108
+ patientId: {
125109
+ pattern: "^[1-9][0-9]{0,14}$",
125110
+ type: "string"
125111
+ },
125112
+ billingServiceId: {
125113
+ pattern: "^[1-9][0-9]{0,14}$",
125114
+ type: "string"
125115
+ },
125116
+ issueDate: {
125117
+ maxLength: 20000,
125118
+ pattern: "^[0-9]{8}$",
125119
+ type: "string"
125120
+ },
125121
+ expirationDate: {
125122
+ maxLength: 20000,
125123
+ pattern: "^[0-9]{8}$",
125124
+ type: "string"
125125
+ },
125126
+ active: {
125127
+ type: "boolean"
125128
+ },
125129
+ maxSessions: {
125130
+ minimum: 1,
125131
+ maximum: 9007199254740991,
125132
+ type: "integer"
125133
+ },
125134
+ defaultSessionsByAtention: {
125135
+ minimum: 1,
125136
+ maximum: 9007199254740991,
125137
+ type: "integer"
125138
+ },
125139
+ invoiceId: {
125140
+ pattern: "^[1-9][0-9]{0,14}$",
125141
+ type: "string"
125142
+ },
125143
+ externalInvoice: {
125144
+ maxLength: 255,
125145
+ type: "string"
125146
+ }
125147
+ }
125148
+ },
125149
+ connectionId: {
125150
+ pattern: "^con_[0-9A-Za-z]{26}$",
125151
+ type: "string"
125152
+ }
125153
+ }
125154
+ },
125155
+ InsightsReportsListInput: {
125156
+ additionalProperties: false,
125157
+ type: "object",
125158
+ required: [
125159
+ "direction",
125160
+ "limit"
125161
+ ],
125162
+ properties: {
125163
+ cursor: {
125164
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
125165
+ type: "string"
125166
+ },
125167
+ direction: {
125168
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
125169
+ anyOf: [
125170
+ {
125171
+ const: "forward",
125172
+ type: "string"
125173
+ },
125174
+ {
125175
+ const: "backward",
125176
+ type: "string"
125177
+ }
125178
+ ],
125179
+ default: "forward"
125180
+ },
125181
+ limit: {
125182
+ minimum: 1,
125183
+ maximum: 100,
125184
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
125185
+ type: "integer",
125186
+ default: 25
122842
125187
  }
122843
125188
  }
122844
125189
  },
122845
- GmedicSessionPackagesCreateInput: {
125190
+ InsightsReportsGetInput: {
122846
125191
  additionalProperties: false,
122847
125192
  type: "object",
122848
125193
  required: [
122849
- "data"
125194
+ "from",
125195
+ "reportId",
125196
+ "to"
122850
125197
  ],
122851
125198
  properties: {
122852
- data: {
122853
- additionalProperties: false,
122854
- type: "object",
122855
- required: [
122856
- "authorizationNumber",
122857
- "issueDate",
122858
- "expirationDate",
122859
- "maxSessions"
122860
- ],
122861
- properties: {
122862
- authorizationNumber: {
122863
- maxLength: 255,
122864
- type: "string"
122865
- },
122866
- patientId: {
122867
- pattern: "^[1-9][0-9]{0,14}$",
122868
- type: "string"
122869
- },
122870
- billingServiceId: {
122871
- pattern: "^[1-9][0-9]{0,14}$",
122872
- type: "string"
122873
- },
122874
- issueDate: {
122875
- maxLength: 20000,
122876
- pattern: "^[0-9]{8}$",
122877
- type: "string"
122878
- },
122879
- expirationDate: {
122880
- maxLength: 20000,
122881
- pattern: "^[0-9]{8}$",
122882
- type: "string"
122883
- },
122884
- active: {
122885
- type: "boolean"
122886
- },
122887
- maxSessions: {
122888
- minimum: 1,
122889
- maximum: 9007199254740991,
122890
- type: "integer"
122891
- },
122892
- defaultSessionsByAtention: {
122893
- minimum: 1,
122894
- maximum: 9007199254740991,
122895
- type: "integer"
122896
- },
122897
- invoiceId: {
122898
- pattern: "^[1-9][0-9]{0,14}$",
122899
- type: "string"
122900
- },
122901
- externalInvoice: {
122902
- maxLength: 255,
122903
- type: "string"
122904
- }
122905
- }
125199
+ from: {
125200
+ description: "A day, as YYYY-MM-DD.",
125201
+ format: "date",
125202
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
125203
+ type: "string"
122906
125204
  },
122907
- connectionId: {
122908
- pattern: "^con_[0-9A-Za-z]{26}$",
125205
+ reportId: {
125206
+ maxLength: 64,
125207
+ pattern: "^[a-z_]+$",
125208
+ type: "string"
125209
+ },
125210
+ to: {
125211
+ description: "A day, as YYYY-MM-DD.",
125212
+ format: "date",
125213
+ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
122909
125214
  type: "string"
122910
125215
  }
122911
125216
  }
@@ -127702,7 +130007,7 @@ var schemaComponents = {
127702
130007
  ]
127703
130008
  },
127704
130009
  toReview: {
127705
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
130010
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
127706
130011
  type: "boolean"
127707
130012
  },
127708
130013
  messagesMin: {
@@ -128168,7 +130473,7 @@ var schemaComponents = {
128168
130473
  ]
128169
130474
  },
128170
130475
  toReview: {
128171
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
130476
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
128172
130477
  type: "boolean"
128173
130478
  },
128174
130479
  messagesMin: {
@@ -131015,53 +133320,163 @@ var schemaComponents = {
131015
133320
  }
131016
133321
  }
131017
133322
  },
131018
- SaludTotalAuthorizationsLookupInput: {
131019
- additionalProperties: false,
133323
+ SaludTotalAuthorizationsListInput: {
131020
133324
  type: "object",
131021
- required: [
131022
- "connectionId",
131023
- "documentType",
131024
- "documentNumber",
131025
- "day"
131026
- ],
131027
133325
  properties: {
131028
133326
  connectionId: {
131029
133327
  pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
131030
- type: "string"
131031
- },
131032
- branchId: {
131033
- minimum: 1,
131034
- maximum: 2147483647,
131035
- type: "integer"
131036
- },
131037
- siteId: {
131038
- minimum: 1,
131039
- maximum: 2147483647,
131040
- type: "integer"
133328
+ type: "string",
133329
+ description: "The connection id."
131041
133330
  },
131042
- choiceCursor: {
131043
- pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
131044
- description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
133331
+ cursor: {
133332
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
131045
133333
  type: "string"
131046
133334
  },
131047
- documentType: {
131048
- const: "CC",
131049
- type: "string"
133335
+ direction: {
133336
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
133337
+ anyOf: [
133338
+ {
133339
+ const: "forward",
133340
+ type: "string"
133341
+ },
133342
+ {
133343
+ const: "backward",
133344
+ type: "string"
133345
+ }
133346
+ ],
133347
+ default: "forward"
131050
133348
  },
131051
- documentNumber: {
131052
- pattern: "^[0-9]{6,15}$",
131053
- writeOnly: true,
131054
- "x-sensitive": true,
131055
- description: "Exact authorized member document. Send it only in the request body.",
131056
- type: "string"
133349
+ limit: {
133350
+ minimum: 1,
133351
+ maximum: 100,
133352
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
133353
+ type: "integer",
133354
+ default: 25
133355
+ }
133356
+ },
133357
+ required: [
133358
+ "connectionId"
133359
+ ],
133360
+ additionalProperties: false
133361
+ },
133362
+ SaludTotalAuthorizationsLookupInput: {
133363
+ anyOf: [
133364
+ {
133365
+ additionalProperties: false,
133366
+ type: "object",
133367
+ required: [
133368
+ "connectionId",
133369
+ "documentType",
133370
+ "documentNumber",
133371
+ "day"
133372
+ ],
133373
+ properties: {
133374
+ connectionId: {
133375
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
133376
+ type: "string"
133377
+ },
133378
+ branchId: {
133379
+ minimum: 1,
133380
+ maximum: 2147483647,
133381
+ type: "integer"
133382
+ },
133383
+ siteId: {
133384
+ minimum: 1,
133385
+ maximum: 2147483647,
133386
+ type: "integer"
133387
+ },
133388
+ choiceCursor: {
133389
+ pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
133390
+ description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
133391
+ type: "string"
133392
+ },
133393
+ documentType: {
133394
+ const: "CC",
133395
+ type: "string"
133396
+ },
133397
+ documentNumber: {
133398
+ pattern: "^[0-9]{6,15}$",
133399
+ writeOnly: true,
133400
+ "x-sensitive": true,
133401
+ description: "Exact authorized member document. Send it only in the request body.",
133402
+ type: "string"
133403
+ },
133404
+ day: {
133405
+ format: "date",
133406
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
133407
+ description: "A local calendar date in YYYY-MM-DD format.",
133408
+ type: "string"
133409
+ }
133410
+ }
131057
133411
  },
131058
- day: {
131059
- format: "date",
131060
- pattern: "^\\d{4}-\\d{2}-\\d{2}$",
131061
- description: "One local calendar day; the request never traverses an open-ended date range.",
131062
- type: "string"
133412
+ {
133413
+ additionalProperties: false,
133414
+ type: "object",
133415
+ required: [
133416
+ "connectionId",
133417
+ "from",
133418
+ "to"
133419
+ ],
133420
+ properties: {
133421
+ connectionId: {
133422
+ pattern: "^con_[0-7][0-9a-hjkmnp-tv-z]{25}$",
133423
+ type: "string"
133424
+ },
133425
+ from: {
133426
+ format: "date",
133427
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
133428
+ description: "A local calendar date in YYYY-MM-DD format.",
133429
+ type: "string"
133430
+ },
133431
+ to: {
133432
+ format: "date",
133433
+ pattern: "^\\d{4}-\\d{2}-\\d{2}$",
133434
+ description: "A local calendar date in YYYY-MM-DD format.",
133435
+ type: "string"
133436
+ },
133437
+ branchId: {
133438
+ minimum: 1,
133439
+ maximum: 2147483647,
133440
+ type: "integer"
133441
+ },
133442
+ siteId: {
133443
+ minimum: 1,
133444
+ maximum: 2147483647,
133445
+ type: "integer"
133446
+ },
133447
+ choiceCursor: {
133448
+ pattern: "^(branchId|siteId):[0-9]{1,10}:[1-9][0-9]{0,9}$",
133449
+ description: "Continuation returned by a location_required result. Repeat the same lookup to get more choices.",
133450
+ type: "string"
133451
+ },
133452
+ cursor: {
133453
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
133454
+ type: "string"
133455
+ },
133456
+ direction: {
133457
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
133458
+ anyOf: [
133459
+ {
133460
+ const: "forward",
133461
+ type: "string"
133462
+ },
133463
+ {
133464
+ const: "backward",
133465
+ type: "string"
133466
+ }
133467
+ ],
133468
+ default: "forward"
133469
+ },
133470
+ limit: {
133471
+ minimum: 1,
133472
+ maximum: 100,
133473
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
133474
+ type: "integer",
133475
+ default: 25
133476
+ }
133477
+ }
131063
133478
  }
131064
- }
133479
+ ]
131065
133480
  },
131066
133481
  SaludTotalFilingsLookupInput: {
131067
133482
  additionalProperties: false,
@@ -131106,7 +133521,7 @@ var schemaComponents = {
131106
133521
  day: {
131107
133522
  format: "date",
131108
133523
  pattern: "^\\d{4}-\\d{2}-\\d{2}$",
131109
- description: "One local calendar day; the request never traverses an open-ended date range.",
133524
+ description: "A local calendar date in YYYY-MM-DD format.",
131110
133525
  type: "string"
131111
133526
  }
131112
133527
  }
@@ -132552,6 +134967,7 @@ var schemaComponents = {
132552
134967
  type: "string"
132553
134968
  },
132554
134969
  password: {
134970
+ secret: true,
132555
134971
  minLength: 1,
132556
134972
  maxLength: 512,
132557
134973
  pattern: "^[^\\r\\n]+$",
@@ -132559,6 +134975,7 @@ var schemaComponents = {
132559
134975
  type: "string"
132560
134976
  },
132561
134977
  totpSecret: {
134978
+ secret: true,
132562
134979
  minLength: 16,
132563
134980
  maxLength: 256,
132564
134981
  pattern: "^[A-Za-z2-7 =-]+$",
@@ -133158,6 +135575,61 @@ var schemaComponents = {
133158
135575
  }
133159
135576
  }
133160
135577
  },
135578
+ VisoftAppointmentsListInput: {
135579
+ additionalProperties: false,
135580
+ type: "object",
135581
+ required: [
135582
+ "date"
135583
+ ],
135584
+ properties: {
135585
+ cursor: {
135586
+ description: "Opaque cursor returned by pageInfo; omit it to request the first page.",
135587
+ type: "string"
135588
+ },
135589
+ direction: {
135590
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
135591
+ anyOf: [
135592
+ {
135593
+ const: "forward",
135594
+ type: "string"
135595
+ },
135596
+ {
135597
+ const: "backward",
135598
+ type: "string"
135599
+ }
135600
+ ],
135601
+ default: "forward"
135602
+ },
135603
+ limit: {
135604
+ minimum: 1,
135605
+ maximum: 100,
135606
+ description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
135607
+ type: "integer",
135608
+ default: 25
135609
+ },
135610
+ connectionId: {
135611
+ minLength: 5,
135612
+ maxLength: 68,
135613
+ pattern: "^con_[0-9A-Za-z]+$",
135614
+ 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.",
135615
+ type: "string"
135616
+ },
135617
+ agencyCode: {
135618
+ pattern: "^\\d{3}$",
135619
+ description: "One of the clinic's cost centres, as visoft.clinic.get lists them. Optional when the clinic has a default one.",
135620
+ type: "string"
135621
+ },
135622
+ date: {
135623
+ format: "date",
135624
+ description: "The appointment day in the clinic's time zone.",
135625
+ type: "string"
135626
+ },
135627
+ professionalId: {
135628
+ pattern: "^[A-Za-z0-9_-]{1,40}$",
135629
+ type: "string"
135630
+ }
135631
+ }
135632
+ },
133161
135633
  VisoftAppointmentsCancelInput: {
133162
135634
  additionalProperties: false,
133163
135635
  type: "object",
@@ -133470,6 +135942,7 @@ var schemaComponents = {
133470
135942
  password: {
133471
135943
  minLength: 1,
133472
135944
  maxLength: 4096,
135945
+ secret: true,
133473
135946
  description: "Its password, exactly as typed.",
133474
135947
  type: "string"
133475
135948
  }
@@ -134075,9 +136548,9 @@ var schemaComponents = {
134075
136548
  // src/generated/generation.json
134076
136549
  var generation_default = {
134077
136550
  formatVersion: 6,
134078
- release: "1.20261105.193553",
134079
- openapiSha256: "baa84db132222f324916e899c97f5593b7f5d84b108ea47063ce740c6b2e0077",
134080
- openapiContentSha256: "a7fefc26e04f60595cdd40d058867d090d19e0976d5bae8aa3d2bcd2d3b2b7ff",
136551
+ release: "1.20261106.171439",
136552
+ openapiSha256: "3dde2e71d41c041ea8a06dcad793712321720bccfd252ba901b8575274e4d042",
136553
+ openapiContentSha256: "e7c2c8058a6f848070f1d5933ea788446ac39acb99aa97b4f6eed2f83162f71f",
134081
136554
  forge: {
134082
136555
  repository: "https://github.com/cloudflare/forge",
134083
136556
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -134090,7 +136563,7 @@ var generation_default = {
134090
136563
  outputs: [
134091
136564
  {
134092
136565
  path: "src/generated/commands.ts",
134093
- sha256: "d9ac0f990b23a5db0bf0b5d201b068bea6066508345040d7f37ed589822d1362"
136566
+ sha256: "6ae733a2be6cc4395d26c710ecbfe0ac6c569f63abcb4630629aa45cef3aeec5"
134094
136567
  }
134095
136568
  ]
134096
136569
  };
@@ -135690,7 +138163,7 @@ ${name}`);
135690
138163
  }
135691
138164
 
135692
138165
  // src/index.ts
135693
- var VERSION = "3.39.0";
138166
+ var VERSION = "3.41.0";
135694
138167
  var RELEASE = generation_default.release;
135695
138168
  var commands2 = { ...commands, ...accountOperatorCommands };
135696
138169
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));