@arbol-ai/cli 3.65.0 → 3.67.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 +1651 -313
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -9640,6 +9640,180 @@ var commands = {
9640
9640
  confirmation: null,
9641
9641
  hidden: false
9642
9642
  },
9643
+ "famisanar affiliations lookup": {
9644
+ operation: "famisanar.affiliations.lookup",
9645
+ sdkPath: [
9646
+ "famisanar",
9647
+ "affiliations",
9648
+ "lookup"
9649
+ ],
9650
+ pathField: null,
9651
+ fields: [
9652
+ {
9653
+ name: "connectionId",
9654
+ flag: "connection-id",
9655
+ kind: "string",
9656
+ required: false,
9657
+ description: "Omit when the organization has exactly one active Famisanar connection. Required to choose among multiple active connections."
9658
+ },
9659
+ {
9660
+ name: "documentType",
9661
+ flag: "document-type",
9662
+ kind: "string",
9663
+ required: false,
9664
+ description: "Identity document type. Defaults to CC; send another supported type explicitly.",
9665
+ choices: [
9666
+ "CC",
9667
+ "CD",
9668
+ "CE",
9669
+ "CN",
9670
+ "ME",
9671
+ "NT",
9672
+ "PC",
9673
+ "PE",
9674
+ "PS",
9675
+ "PT",
9676
+ "RC",
9677
+ "SC",
9678
+ "TI"
9679
+ ],
9680
+ default: "CC"
9681
+ },
9682
+ {
9683
+ name: "documentNumber",
9684
+ flag: "document-number",
9685
+ kind: "string",
9686
+ required: true,
9687
+ description: ""
9688
+ },
9689
+ {
9690
+ name: "maxAgeDays",
9691
+ flag: "max-age-days",
9692
+ kind: "integer",
9693
+ required: false,
9694
+ description: "Maximum age in days of an observation from this IPS connection. Zero contacts the provider and refreshes the saved result.",
9695
+ default: 7
9696
+ }
9697
+ ],
9698
+ inputSchema: {
9699
+ type: "object",
9700
+ required: [
9701
+ "documentNumber"
9702
+ ],
9703
+ properties: {
9704
+ connectionId: {
9705
+ type: "string",
9706
+ pattern: "^con_[0-9A-Za-z]{26}$",
9707
+ description: "Omit when the organization has exactly one active Famisanar connection. Required to choose among multiple active connections."
9708
+ },
9709
+ documentType: {
9710
+ anyOf: [
9711
+ {
9712
+ type: "string",
9713
+ const: "CC"
9714
+ },
9715
+ {
9716
+ type: "string",
9717
+ const: "CD"
9718
+ },
9719
+ {
9720
+ type: "string",
9721
+ const: "CE"
9722
+ },
9723
+ {
9724
+ type: "string",
9725
+ const: "CN"
9726
+ },
9727
+ {
9728
+ type: "string",
9729
+ const: "ME"
9730
+ },
9731
+ {
9732
+ type: "string",
9733
+ const: "NT"
9734
+ },
9735
+ {
9736
+ type: "string",
9737
+ const: "PC"
9738
+ },
9739
+ {
9740
+ type: "string",
9741
+ const: "PE"
9742
+ },
9743
+ {
9744
+ type: "string",
9745
+ const: "PS"
9746
+ },
9747
+ {
9748
+ type: "string",
9749
+ const: "PT"
9750
+ },
9751
+ {
9752
+ type: "string",
9753
+ const: "RC"
9754
+ },
9755
+ {
9756
+ type: "string",
9757
+ const: "SC"
9758
+ },
9759
+ {
9760
+ type: "string",
9761
+ const: "TI"
9762
+ }
9763
+ ],
9764
+ default: "CC",
9765
+ description: "Identity document type. Defaults to CC; send another supported type explicitly."
9766
+ },
9767
+ documentNumber: {
9768
+ type: "string",
9769
+ pattern: "^[A-Za-z0-9]{1,25}$",
9770
+ secret: true
9771
+ },
9772
+ maxAgeDays: {
9773
+ type: "integer",
9774
+ minimum: 0,
9775
+ maximum: 7,
9776
+ default: 7,
9777
+ description: "Maximum age in days of an observation from this IPS connection. Zero contacts the provider and refreshes the saved result."
9778
+ }
9779
+ },
9780
+ additionalProperties: false
9781
+ },
9782
+ title: "Look up affiliation",
9783
+ description: "Look up one document using the organization’s active IPS connection. Omit connectionId when exactly one is active. The document type defaults to CC and may be supplied explicitly. Observations retain their original checkedAt for at most seven days. Set maxAgeDays to zero to refresh. The provider combines missing and invalid records into one outcome.",
9784
+ effect: "read",
9785
+ confirmation: null,
9786
+ hidden: false
9787
+ },
9788
+ "famisanar connections get": {
9789
+ operation: "famisanar.connections.get",
9790
+ sdkPath: [
9791
+ "famisanar",
9792
+ "connections",
9793
+ "get"
9794
+ ],
9795
+ pathField: "connectionId",
9796
+ fields: [],
9797
+ inputSchema: {
9798
+ type: "object",
9799
+ required: [
9800
+ "connectionId"
9801
+ ],
9802
+ properties: {
9803
+ connectionId: {
9804
+ type: "string",
9805
+ pattern: "^con_[0-9A-Za-z]{26}$",
9806
+ description: "The IPS connection saved in Account. This is not a provider session ID."
9807
+ }
9808
+ },
9809
+ additionalProperties: false
9810
+ },
9811
+ title: "Get a Famisanar connection",
9812
+ description: "Read session availability and observed expiry without signing in. An undisclosed provider deadline is null. Credentials, cookies and session handles are never returned. Expired sessions reconnect automatically on the next uncached affiliation lookup.",
9813
+ effect: "read",
9814
+ confirmation: null,
9815
+ hidden: false
9816
+ },
9643
9817
  "gmedic agenda-services list": {
9644
9818
  operation: "gmedic.agendaServices.list",
9645
9819
  sdkPath: [
@@ -40205,6 +40379,10 @@ var schemaComponents = {
40205
40379
  type: "string",
40206
40380
  const: "pijaos-salud"
40207
40381
  },
40382
+ {
40383
+ type: "string",
40384
+ const: "famisanar"
40385
+ },
40208
40386
  {
40209
40387
  type: "string",
40210
40388
  const: "sanitas"
@@ -153968,6 +154146,1068 @@ var schemaComponents = {
153968
154146
  additionalProperties: false,
153969
154147
  properties: {}
153970
154148
  },
154149
+ FamisanarAccountUnavailableFailure: {
154150
+ type: "object",
154151
+ description: "Account could not verify this connection.",
154152
+ additionalProperties: false,
154153
+ required: [
154154
+ "code",
154155
+ "message",
154156
+ "retryable",
154157
+ "data"
154158
+ ],
154159
+ properties: {
154160
+ code: {
154161
+ type: "string",
154162
+ enum: [
154163
+ "ACCOUNT_UNAVAILABLE"
154164
+ ],
154165
+ description: "The failure code, stable across releases."
154166
+ },
154167
+ message: {
154168
+ type: "string",
154169
+ description: "What went wrong, for people; it never contains input values."
154170
+ },
154171
+ retryable: {
154172
+ type: "boolean",
154173
+ enum: [
154174
+ false
154175
+ ],
154176
+ description: "Whether repeating the same request may succeed."
154177
+ },
154178
+ data: {
154179
+ $ref: "#/components/schemas/Empty"
154180
+ }
154181
+ }
154182
+ },
154183
+ FamisanarAffiliationUnresolvedFailure: {
154184
+ type: "object",
154185
+ description: "The provider returned no confirmed observation.",
154186
+ additionalProperties: false,
154187
+ required: [
154188
+ "code",
154189
+ "message",
154190
+ "retryable",
154191
+ "data"
154192
+ ],
154193
+ properties: {
154194
+ code: {
154195
+ type: "string",
154196
+ enum: [
154197
+ "AFFILIATION_UNRESOLVED"
154198
+ ],
154199
+ description: "The failure code, stable across releases."
154200
+ },
154201
+ message: {
154202
+ type: "string",
154203
+ description: "What went wrong, for people; it never contains input values."
154204
+ },
154205
+ retryable: {
154206
+ type: "boolean",
154207
+ enum: [
154208
+ false
154209
+ ],
154210
+ description: "Whether repeating the same request may succeed."
154211
+ },
154212
+ data: {
154213
+ $ref: "#/components/schemas/Empty"
154214
+ }
154215
+ }
154216
+ },
154217
+ FamisanarConnectionRequiredFailure: {
154218
+ type: "object",
154219
+ description: "More than one active Famisanar connection is available. Supply connectionId.",
154220
+ additionalProperties: false,
154221
+ required: [
154222
+ "code",
154223
+ "message",
154224
+ "retryable",
154225
+ "data"
154226
+ ],
154227
+ properties: {
154228
+ code: {
154229
+ type: "string",
154230
+ enum: [
154231
+ "CONNECTION_REQUIRED"
154232
+ ],
154233
+ description: "The failure code, stable across releases."
154234
+ },
154235
+ message: {
154236
+ type: "string",
154237
+ description: "What went wrong, for people; it never contains input values."
154238
+ },
154239
+ retryable: {
154240
+ type: "boolean",
154241
+ enum: [
154242
+ false
154243
+ ],
154244
+ description: "Whether repeating the same request may succeed."
154245
+ },
154246
+ data: {
154247
+ $ref: "#/components/schemas/Empty"
154248
+ }
154249
+ }
154250
+ },
154251
+ FamisanarConnectionUnavailableError: {
154252
+ type: "object",
154253
+ description: "A failed answer.",
154254
+ additionalProperties: false,
154255
+ required: [
154256
+ "success",
154257
+ "data",
154258
+ "error",
154259
+ "metadata"
154260
+ ],
154261
+ properties: {
154262
+ success: {
154263
+ type: "boolean",
154264
+ enum: [
154265
+ false
154266
+ ]
154267
+ },
154268
+ data: {
154269
+ const: null
154270
+ },
154271
+ error: {
154272
+ $ref: "#/components/schemas/FamisanarConnectionUnavailableFailure"
154273
+ },
154274
+ metadata: {
154275
+ $ref: "#/components/schemas/ResponseMetadata"
154276
+ }
154277
+ }
154278
+ },
154279
+ FamisanarConnectionUnavailableFailure: {
154280
+ type: "object",
154281
+ description: "No active Famisanar connection is available.",
154282
+ additionalProperties: false,
154283
+ required: [
154284
+ "code",
154285
+ "message",
154286
+ "retryable",
154287
+ "data"
154288
+ ],
154289
+ properties: {
154290
+ code: {
154291
+ type: "string",
154292
+ enum: [
154293
+ "CONNECTION_UNAVAILABLE"
154294
+ ],
154295
+ description: "The failure code, stable across releases."
154296
+ },
154297
+ message: {
154298
+ type: "string",
154299
+ description: "What went wrong, for people; it never contains input values."
154300
+ },
154301
+ retryable: {
154302
+ type: "boolean",
154303
+ enum: [
154304
+ false
154305
+ ],
154306
+ description: "Whether repeating the same request may succeed."
154307
+ },
154308
+ data: {
154309
+ $ref: "#/components/schemas/Empty"
154310
+ }
154311
+ }
154312
+ },
154313
+ FamisanarCredentialsRejectedFailure: {
154314
+ type: "object",
154315
+ description: "The provider rejected these credentials.",
154316
+ additionalProperties: false,
154317
+ required: [
154318
+ "code",
154319
+ "message",
154320
+ "retryable",
154321
+ "data"
154322
+ ],
154323
+ properties: {
154324
+ code: {
154325
+ type: "string",
154326
+ enum: [
154327
+ "CREDENTIALS_REJECTED"
154328
+ ],
154329
+ description: "The failure code, stable across releases."
154330
+ },
154331
+ message: {
154332
+ type: "string",
154333
+ description: "What went wrong, for people; it never contains input values."
154334
+ },
154335
+ retryable: {
154336
+ type: "boolean",
154337
+ enum: [
154338
+ false
154339
+ ],
154340
+ description: "Whether repeating the same request may succeed."
154341
+ },
154342
+ data: {
154343
+ $ref: "#/components/schemas/Empty"
154344
+ }
154345
+ }
154346
+ },
154347
+ FamisanarGetConnectionBadGatewayError: {
154348
+ type: "object",
154349
+ description: "A failed answer.",
154350
+ additionalProperties: false,
154351
+ required: [
154352
+ "success",
154353
+ "data",
154354
+ "error",
154355
+ "metadata"
154356
+ ],
154357
+ properties: {
154358
+ success: {
154359
+ type: "boolean",
154360
+ enum: [
154361
+ false
154362
+ ]
154363
+ },
154364
+ data: {
154365
+ const: null
154366
+ },
154367
+ error: {
154368
+ $ref: "#/components/schemas/FamisanarGetConnectionBadGatewayFailure"
154369
+ },
154370
+ metadata: {
154371
+ $ref: "#/components/schemas/ResponseMetadata"
154372
+ }
154373
+ }
154374
+ },
154375
+ FamisanarGetConnectionBadGatewayFailure: {
154376
+ oneOf: [
154377
+ {
154378
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
154379
+ },
154380
+ {
154381
+ $ref: "#/components/schemas/FamisanarAffiliationUnresolvedFailure"
154382
+ }
154383
+ ],
154384
+ discriminator: {
154385
+ propertyName: "code",
154386
+ mapping: {
154387
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
154388
+ AFFILIATION_UNRESOLVED: "#/components/schemas/FamisanarAffiliationUnresolvedFailure"
154389
+ }
154390
+ }
154391
+ },
154392
+ FamisanarGetConnectionConflictError: {
154393
+ type: "object",
154394
+ description: "A failed answer.",
154395
+ additionalProperties: false,
154396
+ required: [
154397
+ "success",
154398
+ "data",
154399
+ "error",
154400
+ "metadata"
154401
+ ],
154402
+ properties: {
154403
+ success: {
154404
+ type: "boolean",
154405
+ enum: [
154406
+ false
154407
+ ]
154408
+ },
154409
+ data: {
154410
+ const: null
154411
+ },
154412
+ error: {
154413
+ $ref: "#/components/schemas/FamisanarGetConnectionConflictFailure"
154414
+ },
154415
+ metadata: {
154416
+ $ref: "#/components/schemas/ResponseMetadata"
154417
+ }
154418
+ }
154419
+ },
154420
+ FamisanarGetConnectionConflictFailure: {
154421
+ oneOf: [
154422
+ {
154423
+ $ref: "#/components/schemas/FamisanarConnectionRequiredFailure"
154424
+ },
154425
+ {
154426
+ $ref: "#/components/schemas/FamisanarSelectionRequiredFailure"
154427
+ }
154428
+ ],
154429
+ discriminator: {
154430
+ propertyName: "code",
154431
+ mapping: {
154432
+ CONNECTION_REQUIRED: "#/components/schemas/FamisanarConnectionRequiredFailure",
154433
+ SELECTION_REQUIRED: "#/components/schemas/FamisanarSelectionRequiredFailure"
154434
+ }
154435
+ }
154436
+ },
154437
+ FamisanarGetConnectionForbiddenError: {
154438
+ type: "object",
154439
+ description: "A failed answer.",
154440
+ additionalProperties: false,
154441
+ required: [
154442
+ "success",
154443
+ "data",
154444
+ "error",
154445
+ "metadata"
154446
+ ],
154447
+ properties: {
154448
+ success: {
154449
+ type: "boolean",
154450
+ enum: [
154451
+ false
154452
+ ]
154453
+ },
154454
+ data: {
154455
+ const: null
154456
+ },
154457
+ error: {
154458
+ $ref: "#/components/schemas/FamisanarGetConnectionForbiddenFailure"
154459
+ },
154460
+ metadata: {
154461
+ $ref: "#/components/schemas/ResponseMetadata"
154462
+ }
154463
+ }
154464
+ },
154465
+ FamisanarGetConnectionForbiddenFailure: {
154466
+ oneOf: [
154467
+ {
154468
+ $ref: "#/components/schemas/ForbiddenFailure"
154469
+ },
154470
+ {
154471
+ $ref: "#/components/schemas/FamisanarProviderAccessDeniedFailure"
154472
+ },
154473
+ {
154474
+ $ref: "#/components/schemas/FamisanarCredentialsRejectedFailure"
154475
+ }
154476
+ ],
154477
+ discriminator: {
154478
+ propertyName: "code",
154479
+ mapping: {
154480
+ FORBIDDEN: "#/components/schemas/ForbiddenFailure",
154481
+ PROVIDER_ACCESS_DENIED: "#/components/schemas/FamisanarProviderAccessDeniedFailure",
154482
+ CREDENTIALS_REJECTED: "#/components/schemas/FamisanarCredentialsRejectedFailure"
154483
+ }
154484
+ }
154485
+ },
154486
+ FamisanarGetConnectionResult: {
154487
+ type: "object",
154488
+ required: [
154489
+ "id",
154490
+ "session"
154491
+ ],
154492
+ properties: {
154493
+ id: {
154494
+ type: "string",
154495
+ pattern: "^con_[0-9A-Za-z]{26}$",
154496
+ description: "The IPS connection saved in Account. This is not a provider session ID."
154497
+ },
154498
+ session: {
154499
+ type: "object",
154500
+ required: [
154501
+ "status",
154502
+ "createdAt",
154503
+ "lastVerifiedAt",
154504
+ "expiresAt",
154505
+ "expirySource",
154506
+ "idleExpiresAt",
154507
+ "lastExpiredAt",
154508
+ "sessionCookieCount",
154509
+ "persistentSessionCookieCount"
154510
+ ],
154511
+ properties: {
154512
+ status: {
154513
+ anyOf: [
154514
+ {
154515
+ type: "string",
154516
+ const: "active"
154517
+ },
154518
+ {
154519
+ type: "string",
154520
+ const: "expired"
154521
+ },
154522
+ {
154523
+ type: "string",
154524
+ const: "not_started"
154525
+ }
154526
+ ]
154527
+ },
154528
+ createdAt: {
154529
+ anyOf: [
154530
+ {
154531
+ type: "string",
154532
+ format: "date-time"
154533
+ },
154534
+ {
154535
+ type: "null"
154536
+ }
154537
+ ]
154538
+ },
154539
+ lastVerifiedAt: {
154540
+ anyOf: [
154541
+ {
154542
+ type: "string",
154543
+ format: "date-time"
154544
+ },
154545
+ {
154546
+ type: "null"
154547
+ }
154548
+ ]
154549
+ },
154550
+ expiresAt: {
154551
+ anyOf: [
154552
+ {
154553
+ type: "string",
154554
+ format: "date-time"
154555
+ },
154556
+ {
154557
+ type: "null"
154558
+ }
154559
+ ],
154560
+ description: "Cookie expiry bound when provided. Null means the provider has not disclosed a deadline; the server may expire earlier."
154561
+ },
154562
+ expirySource: {
154563
+ anyOf: [
154564
+ {
154565
+ type: "string",
154566
+ const: "cookie"
154567
+ },
154568
+ {
154569
+ type: "string",
154570
+ const: "unknown"
154571
+ }
154572
+ ]
154573
+ },
154574
+ idleExpiresAt: {
154575
+ anyOf: [
154576
+ {
154577
+ type: "string",
154578
+ format: "date-time"
154579
+ },
154580
+ {
154581
+ type: "null"
154582
+ }
154583
+ ],
154584
+ description: "Local browser idle deadline, independent of the provider session expiry."
154585
+ },
154586
+ lastExpiredAt: {
154587
+ anyOf: [
154588
+ {
154589
+ type: "string",
154590
+ format: "date-time"
154591
+ },
154592
+ {
154593
+ type: "null"
154594
+ }
154595
+ ]
154596
+ },
154597
+ sessionCookieCount: {
154598
+ type: "integer",
154599
+ minimum: 0
154600
+ },
154601
+ persistentSessionCookieCount: {
154602
+ type: "integer",
154603
+ minimum: 0
154604
+ }
154605
+ },
154606
+ additionalProperties: false
154607
+ }
154608
+ },
154609
+ additionalProperties: false
154610
+ },
154611
+ FamisanarGetConnectionResultResponse: {
154612
+ type: "object",
154613
+ description: "A successful answer.",
154614
+ additionalProperties: false,
154615
+ required: [
154616
+ "success",
154617
+ "data",
154618
+ "error",
154619
+ "metadata"
154620
+ ],
154621
+ properties: {
154622
+ success: {
154623
+ type: "boolean",
154624
+ enum: [
154625
+ true
154626
+ ]
154627
+ },
154628
+ data: {
154629
+ $ref: "#/components/schemas/FamisanarGetConnectionResult"
154630
+ },
154631
+ error: {
154632
+ const: null
154633
+ },
154634
+ metadata: {
154635
+ $ref: "#/components/schemas/ResponseMetadata"
154636
+ }
154637
+ }
154638
+ },
154639
+ FamisanarGetConnectionServiceUnavailableError: {
154640
+ type: "object",
154641
+ description: "A failed answer.",
154642
+ additionalProperties: false,
154643
+ required: [
154644
+ "success",
154645
+ "data",
154646
+ "error",
154647
+ "metadata"
154648
+ ],
154649
+ properties: {
154650
+ success: {
154651
+ type: "boolean",
154652
+ enum: [
154653
+ false
154654
+ ]
154655
+ },
154656
+ data: {
154657
+ const: null
154658
+ },
154659
+ error: {
154660
+ $ref: "#/components/schemas/FamisanarGetConnectionServiceUnavailableFailure"
154661
+ },
154662
+ metadata: {
154663
+ $ref: "#/components/schemas/ResponseMetadata"
154664
+ }
154665
+ }
154666
+ },
154667
+ FamisanarGetConnectionServiceUnavailableFailure: {
154668
+ oneOf: [
154669
+ {
154670
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
154671
+ },
154672
+ {
154673
+ $ref: "#/components/schemas/FamisanarAccountUnavailableFailure"
154674
+ },
154675
+ {
154676
+ $ref: "#/components/schemas/FamisanarProviderNotConfiguredFailure"
154677
+ },
154678
+ {
154679
+ $ref: "#/components/schemas/FamisanarProviderUnavailableFailure"
154680
+ },
154681
+ {
154682
+ $ref: "#/components/schemas/SessionExpiredFailure"
154683
+ }
154684
+ ],
154685
+ discriminator: {
154686
+ propertyName: "code",
154687
+ mapping: {
154688
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
154689
+ ACCOUNT_UNAVAILABLE: "#/components/schemas/FamisanarAccountUnavailableFailure",
154690
+ PROVIDER_NOT_CONFIGURED: "#/components/schemas/FamisanarProviderNotConfiguredFailure",
154691
+ PROVIDER_UNAVAILABLE: "#/components/schemas/FamisanarProviderUnavailableFailure",
154692
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure"
154693
+ }
154694
+ }
154695
+ },
154696
+ FamisanarLookupAffiliationBadGatewayError: {
154697
+ type: "object",
154698
+ description: "A failed answer.",
154699
+ additionalProperties: false,
154700
+ required: [
154701
+ "success",
154702
+ "data",
154703
+ "error",
154704
+ "metadata"
154705
+ ],
154706
+ properties: {
154707
+ success: {
154708
+ type: "boolean",
154709
+ enum: [
154710
+ false
154711
+ ]
154712
+ },
154713
+ data: {
154714
+ const: null
154715
+ },
154716
+ error: {
154717
+ $ref: "#/components/schemas/FamisanarLookupAffiliationBadGatewayFailure"
154718
+ },
154719
+ metadata: {
154720
+ $ref: "#/components/schemas/ResponseMetadata"
154721
+ }
154722
+ }
154723
+ },
154724
+ FamisanarLookupAffiliationBadGatewayFailure: {
154725
+ oneOf: [
154726
+ {
154727
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
154728
+ },
154729
+ {
154730
+ $ref: "#/components/schemas/FamisanarAffiliationUnresolvedFailure"
154731
+ }
154732
+ ],
154733
+ discriminator: {
154734
+ propertyName: "code",
154735
+ mapping: {
154736
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
154737
+ AFFILIATION_UNRESOLVED: "#/components/schemas/FamisanarAffiliationUnresolvedFailure"
154738
+ }
154739
+ }
154740
+ },
154741
+ FamisanarLookupAffiliationBody: {
154742
+ type: "object",
154743
+ required: [
154744
+ "documentNumber"
154745
+ ],
154746
+ properties: {
154747
+ connectionId: {
154748
+ type: "string",
154749
+ pattern: "^con_[0-9A-Za-z]{26}$",
154750
+ description: "Omit when the organization has exactly one active Famisanar connection. Required to choose among multiple active connections."
154751
+ },
154752
+ documentType: {
154753
+ anyOf: [
154754
+ {
154755
+ type: "string",
154756
+ const: "CC"
154757
+ },
154758
+ {
154759
+ type: "string",
154760
+ const: "CD"
154761
+ },
154762
+ {
154763
+ type: "string",
154764
+ const: "CE"
154765
+ },
154766
+ {
154767
+ type: "string",
154768
+ const: "CN"
154769
+ },
154770
+ {
154771
+ type: "string",
154772
+ const: "ME"
154773
+ },
154774
+ {
154775
+ type: "string",
154776
+ const: "NT"
154777
+ },
154778
+ {
154779
+ type: "string",
154780
+ const: "PC"
154781
+ },
154782
+ {
154783
+ type: "string",
154784
+ const: "PE"
154785
+ },
154786
+ {
154787
+ type: "string",
154788
+ const: "PS"
154789
+ },
154790
+ {
154791
+ type: "string",
154792
+ const: "PT"
154793
+ },
154794
+ {
154795
+ type: "string",
154796
+ const: "RC"
154797
+ },
154798
+ {
154799
+ type: "string",
154800
+ const: "SC"
154801
+ },
154802
+ {
154803
+ type: "string",
154804
+ const: "TI"
154805
+ }
154806
+ ],
154807
+ default: "CC",
154808
+ description: "Identity document type. Defaults to CC; send another supported type explicitly."
154809
+ },
154810
+ documentNumber: {
154811
+ type: "string",
154812
+ pattern: "^[A-Za-z0-9]{1,25}$"
154813
+ },
154814
+ maxAgeDays: {
154815
+ type: "integer",
154816
+ minimum: 0,
154817
+ maximum: 7,
154818
+ default: 7,
154819
+ description: "Maximum age in days of an observation from this IPS connection. Zero contacts the provider and refreshes the saved result."
154820
+ }
154821
+ },
154822
+ additionalProperties: false
154823
+ },
154824
+ FamisanarLookupAffiliationConflictError: {
154825
+ type: "object",
154826
+ description: "A failed answer.",
154827
+ additionalProperties: false,
154828
+ required: [
154829
+ "success",
154830
+ "data",
154831
+ "error",
154832
+ "metadata"
154833
+ ],
154834
+ properties: {
154835
+ success: {
154836
+ type: "boolean",
154837
+ enum: [
154838
+ false
154839
+ ]
154840
+ },
154841
+ data: {
154842
+ const: null
154843
+ },
154844
+ error: {
154845
+ $ref: "#/components/schemas/FamisanarLookupAffiliationConflictFailure"
154846
+ },
154847
+ metadata: {
154848
+ $ref: "#/components/schemas/ResponseMetadata"
154849
+ }
154850
+ }
154851
+ },
154852
+ FamisanarLookupAffiliationConflictFailure: {
154853
+ oneOf: [
154854
+ {
154855
+ $ref: "#/components/schemas/FamisanarConnectionRequiredFailure"
154856
+ },
154857
+ {
154858
+ $ref: "#/components/schemas/FamisanarSelectionRequiredFailure"
154859
+ }
154860
+ ],
154861
+ discriminator: {
154862
+ propertyName: "code",
154863
+ mapping: {
154864
+ CONNECTION_REQUIRED: "#/components/schemas/FamisanarConnectionRequiredFailure",
154865
+ SELECTION_REQUIRED: "#/components/schemas/FamisanarSelectionRequiredFailure"
154866
+ }
154867
+ }
154868
+ },
154869
+ FamisanarLookupAffiliationForbiddenError: {
154870
+ type: "object",
154871
+ description: "A failed answer.",
154872
+ additionalProperties: false,
154873
+ required: [
154874
+ "success",
154875
+ "data",
154876
+ "error",
154877
+ "metadata"
154878
+ ],
154879
+ properties: {
154880
+ success: {
154881
+ type: "boolean",
154882
+ enum: [
154883
+ false
154884
+ ]
154885
+ },
154886
+ data: {
154887
+ const: null
154888
+ },
154889
+ error: {
154890
+ $ref: "#/components/schemas/FamisanarLookupAffiliationForbiddenFailure"
154891
+ },
154892
+ metadata: {
154893
+ $ref: "#/components/schemas/ResponseMetadata"
154894
+ }
154895
+ }
154896
+ },
154897
+ FamisanarLookupAffiliationForbiddenFailure: {
154898
+ oneOf: [
154899
+ {
154900
+ $ref: "#/components/schemas/ForbiddenFailure"
154901
+ },
154902
+ {
154903
+ $ref: "#/components/schemas/FamisanarProviderAccessDeniedFailure"
154904
+ },
154905
+ {
154906
+ $ref: "#/components/schemas/FamisanarCredentialsRejectedFailure"
154907
+ }
154908
+ ],
154909
+ discriminator: {
154910
+ propertyName: "code",
154911
+ mapping: {
154912
+ FORBIDDEN: "#/components/schemas/ForbiddenFailure",
154913
+ PROVIDER_ACCESS_DENIED: "#/components/schemas/FamisanarProviderAccessDeniedFailure",
154914
+ CREDENTIALS_REJECTED: "#/components/schemas/FamisanarCredentialsRejectedFailure"
154915
+ }
154916
+ }
154917
+ },
154918
+ FamisanarLookupAffiliationResult: {
154919
+ anyOf: [
154920
+ {
154921
+ type: "object",
154922
+ required: [
154923
+ "outcome",
154924
+ "source",
154925
+ "checkedAt"
154926
+ ],
154927
+ properties: {
154928
+ outcome: {
154929
+ type: "string",
154930
+ const: "not_found_or_invalid"
154931
+ },
154932
+ source: {
154933
+ anyOf: [
154934
+ {
154935
+ type: "string",
154936
+ const: "provider"
154937
+ },
154938
+ {
154939
+ type: "string",
154940
+ const: "cache"
154941
+ }
154942
+ ]
154943
+ },
154944
+ checkedAt: {
154945
+ type: "string",
154946
+ format: "date-time"
154947
+ }
154948
+ },
154949
+ additionalProperties: false
154950
+ },
154951
+ {
154952
+ type: "object",
154953
+ required: [
154954
+ "outcome",
154955
+ "affiliationStatus",
154956
+ "source",
154957
+ "checkedAt"
154958
+ ],
154959
+ properties: {
154960
+ outcome: {
154961
+ type: "string",
154962
+ const: "affiliation_reported"
154963
+ },
154964
+ affiliationStatus: {
154965
+ type: "string",
154966
+ minLength: 1,
154967
+ maxLength: 120
154968
+ },
154969
+ source: {
154970
+ anyOf: [
154971
+ {
154972
+ type: "string",
154973
+ const: "provider"
154974
+ },
154975
+ {
154976
+ type: "string",
154977
+ const: "cache"
154978
+ }
154979
+ ]
154980
+ },
154981
+ checkedAt: {
154982
+ type: "string",
154983
+ format: "date-time"
154984
+ }
154985
+ },
154986
+ additionalProperties: false
154987
+ }
154988
+ ]
154989
+ },
154990
+ FamisanarLookupAffiliationResultResponse: {
154991
+ type: "object",
154992
+ description: "A successful answer.",
154993
+ additionalProperties: false,
154994
+ required: [
154995
+ "success",
154996
+ "data",
154997
+ "error",
154998
+ "metadata"
154999
+ ],
155000
+ properties: {
155001
+ success: {
155002
+ type: "boolean",
155003
+ enum: [
155004
+ true
155005
+ ]
155006
+ },
155007
+ data: {
155008
+ $ref: "#/components/schemas/FamisanarLookupAffiliationResult"
155009
+ },
155010
+ error: {
155011
+ const: null
155012
+ },
155013
+ metadata: {
155014
+ $ref: "#/components/schemas/ResponseMetadata"
155015
+ }
155016
+ }
155017
+ },
155018
+ FamisanarLookupAffiliationServiceUnavailableError: {
155019
+ type: "object",
155020
+ description: "A failed answer.",
155021
+ additionalProperties: false,
155022
+ required: [
155023
+ "success",
155024
+ "data",
155025
+ "error",
155026
+ "metadata"
155027
+ ],
155028
+ properties: {
155029
+ success: {
155030
+ type: "boolean",
155031
+ enum: [
155032
+ false
155033
+ ]
155034
+ },
155035
+ data: {
155036
+ const: null
155037
+ },
155038
+ error: {
155039
+ $ref: "#/components/schemas/FamisanarLookupAffiliationServiceUnavailableFailure"
155040
+ },
155041
+ metadata: {
155042
+ $ref: "#/components/schemas/ResponseMetadata"
155043
+ }
155044
+ }
155045
+ },
155046
+ FamisanarLookupAffiliationServiceUnavailableFailure: {
155047
+ oneOf: [
155048
+ {
155049
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
155050
+ },
155051
+ {
155052
+ $ref: "#/components/schemas/FamisanarAccountUnavailableFailure"
155053
+ },
155054
+ {
155055
+ $ref: "#/components/schemas/FamisanarProviderNotConfiguredFailure"
155056
+ },
155057
+ {
155058
+ $ref: "#/components/schemas/FamisanarProviderUnavailableFailure"
155059
+ },
155060
+ {
155061
+ $ref: "#/components/schemas/SessionExpiredFailure"
155062
+ }
155063
+ ],
155064
+ discriminator: {
155065
+ propertyName: "code",
155066
+ mapping: {
155067
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
155068
+ ACCOUNT_UNAVAILABLE: "#/components/schemas/FamisanarAccountUnavailableFailure",
155069
+ PROVIDER_NOT_CONFIGURED: "#/components/schemas/FamisanarProviderNotConfiguredFailure",
155070
+ PROVIDER_UNAVAILABLE: "#/components/schemas/FamisanarProviderUnavailableFailure",
155071
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure"
155072
+ }
155073
+ }
155074
+ },
155075
+ FamisanarProviderAccessDeniedFailure: {
155076
+ type: "object",
155077
+ description: "The provider declined this request.",
155078
+ additionalProperties: false,
155079
+ required: [
155080
+ "code",
155081
+ "message",
155082
+ "retryable",
155083
+ "data"
155084
+ ],
155085
+ properties: {
155086
+ code: {
155087
+ type: "string",
155088
+ enum: [
155089
+ "PROVIDER_ACCESS_DENIED"
155090
+ ],
155091
+ description: "The failure code, stable across releases."
155092
+ },
155093
+ message: {
155094
+ type: "string",
155095
+ description: "What went wrong, for people; it never contains input values."
155096
+ },
155097
+ retryable: {
155098
+ type: "boolean",
155099
+ enum: [
155100
+ false
155101
+ ],
155102
+ description: "Whether repeating the same request may succeed."
155103
+ },
155104
+ data: {
155105
+ $ref: "#/components/schemas/Empty"
155106
+ }
155107
+ }
155108
+ },
155109
+ FamisanarProviderNotConfiguredFailure: {
155110
+ type: "object",
155111
+ description: "The authorized source has not been connected.",
155112
+ additionalProperties: false,
155113
+ required: [
155114
+ "code",
155115
+ "message",
155116
+ "retryable",
155117
+ "data"
155118
+ ],
155119
+ properties: {
155120
+ code: {
155121
+ type: "string",
155122
+ enum: [
155123
+ "PROVIDER_NOT_CONFIGURED"
155124
+ ],
155125
+ description: "The failure code, stable across releases."
155126
+ },
155127
+ message: {
155128
+ type: "string",
155129
+ description: "What went wrong, for people; it never contains input values."
155130
+ },
155131
+ retryable: {
155132
+ type: "boolean",
155133
+ enum: [
155134
+ false
155135
+ ],
155136
+ description: "Whether repeating the same request may succeed."
155137
+ },
155138
+ data: {
155139
+ $ref: "#/components/schemas/Empty"
155140
+ }
155141
+ }
155142
+ },
155143
+ FamisanarProviderUnavailableFailure: {
155144
+ type: "object",
155145
+ description: "The provider is unavailable.",
155146
+ additionalProperties: false,
155147
+ required: [
155148
+ "code",
155149
+ "message",
155150
+ "retryable",
155151
+ "data"
155152
+ ],
155153
+ properties: {
155154
+ code: {
155155
+ type: "string",
155156
+ enum: [
155157
+ "PROVIDER_UNAVAILABLE"
155158
+ ],
155159
+ description: "The failure code, stable across releases."
155160
+ },
155161
+ message: {
155162
+ type: "string",
155163
+ description: "What went wrong, for people; it never contains input values."
155164
+ },
155165
+ retryable: {
155166
+ type: "boolean",
155167
+ enum: [
155168
+ false
155169
+ ],
155170
+ description: "Whether repeating the same request may succeed."
155171
+ },
155172
+ data: {
155173
+ $ref: "#/components/schemas/Empty"
155174
+ }
155175
+ }
155176
+ },
155177
+ FamisanarSelectionRequiredFailure: {
155178
+ type: "object",
155179
+ description: "Choose an unambiguous IPS and active branch for this account.",
155180
+ additionalProperties: false,
155181
+ required: [
155182
+ "code",
155183
+ "message",
155184
+ "retryable",
155185
+ "data"
155186
+ ],
155187
+ properties: {
155188
+ code: {
155189
+ type: "string",
155190
+ enum: [
155191
+ "SELECTION_REQUIRED"
155192
+ ],
155193
+ description: "The failure code, stable across releases."
155194
+ },
155195
+ message: {
155196
+ type: "string",
155197
+ description: "What went wrong, for people; it never contains input values."
155198
+ },
155199
+ retryable: {
155200
+ type: "boolean",
155201
+ enum: [
155202
+ false
155203
+ ],
155204
+ description: "Whether repeating the same request may succeed."
155205
+ },
155206
+ data: {
155207
+ $ref: "#/components/schemas/Empty"
155208
+ }
155209
+ }
155210
+ },
153971
155211
  ForbiddenError: {
153972
155212
  type: "object",
153973
155213
  description: "A failed answer.",
@@ -228934,7 +230174,7 @@ var schemaComponents = {
228934
230174
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
228935
230175
  },
228936
230176
  {
228937
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
230177
+ $ref: "#/components/schemas/SessionExpiredFailure"
228938
230178
  },
228939
230179
  {
228940
230180
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -228946,7 +230186,7 @@ var schemaComponents = {
228946
230186
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
228947
230187
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
228948
230188
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
228949
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
230189
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
228950
230190
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
228951
230191
  }
228952
230192
  }
@@ -229197,7 +230437,7 @@ var schemaComponents = {
229197
230437
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
229198
230438
  },
229199
230439
  {
229200
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
230440
+ $ref: "#/components/schemas/SessionExpiredFailure"
229201
230441
  },
229202
230442
  {
229203
230443
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -229209,7 +230449,7 @@ var schemaComponents = {
229209
230449
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
229210
230450
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
229211
230451
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
229212
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
230452
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
229213
230453
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
229214
230454
  }
229215
230455
  }
@@ -229574,7 +230814,7 @@ var schemaComponents = {
229574
230814
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
229575
230815
  },
229576
230816
  {
229577
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
230817
+ $ref: "#/components/schemas/SessionExpiredFailure"
229578
230818
  },
229579
230819
  {
229580
230820
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -229586,7 +230826,7 @@ var schemaComponents = {
229586
230826
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
229587
230827
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
229588
230828
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
229589
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
230829
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
229590
230830
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
229591
230831
  }
229592
230832
  }
@@ -229850,7 +231090,7 @@ var schemaComponents = {
229850
231090
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
229851
231091
  },
229852
231092
  {
229853
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
231093
+ $ref: "#/components/schemas/SessionExpiredFailure"
229854
231094
  },
229855
231095
  {
229856
231096
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -229862,7 +231102,7 @@ var schemaComponents = {
229862
231102
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
229863
231103
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
229864
231104
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
229865
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
231105
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
229866
231106
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
229867
231107
  }
229868
231108
  }
@@ -230354,7 +231594,7 @@ var schemaComponents = {
230354
231594
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
230355
231595
  },
230356
231596
  {
230357
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
231597
+ $ref: "#/components/schemas/SessionExpiredFailure"
230358
231598
  },
230359
231599
  {
230360
231600
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -230366,7 +231606,7 @@ var schemaComponents = {
230366
231606
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
230367
231607
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
230368
231608
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
230369
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
231609
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
230370
231610
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
230371
231611
  }
230372
231612
  }
@@ -230570,7 +231810,7 @@ var schemaComponents = {
230570
231810
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
230571
231811
  },
230572
231812
  {
230573
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
231813
+ $ref: "#/components/schemas/SessionExpiredFailure"
230574
231814
  },
230575
231815
  {
230576
231816
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -230582,7 +231822,7 @@ var schemaComponents = {
230582
231822
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
230583
231823
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
230584
231824
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
230585
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
231825
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
230586
231826
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
230587
231827
  }
230588
231828
  }
@@ -230790,7 +232030,7 @@ var schemaComponents = {
230790
232030
  $ref: "#/components/schemas/SaludTotalAccountUnavailableFailure"
230791
232031
  },
230792
232032
  {
230793
- $ref: "#/components/schemas/SaludTotalSessionExpiredFailure"
232033
+ $ref: "#/components/schemas/SessionExpiredFailure"
230794
232034
  },
230795
232035
  {
230796
232036
  $ref: "#/components/schemas/SaludTotalProviderUnavailableFailure"
@@ -230802,7 +232042,7 @@ var schemaComponents = {
230802
232042
  UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
230803
232043
  AUTHORIZATION_STORE_UNAVAILABLE: "#/components/schemas/SaludTotalAuthorizationStoreUnavailableFailure",
230804
232044
  ACCOUNT_UNAVAILABLE: "#/components/schemas/SaludTotalAccountUnavailableFailure",
230805
- SESSION_EXPIRED: "#/components/schemas/SaludTotalSessionExpiredFailure",
232045
+ SESSION_EXPIRED: "#/components/schemas/SessionExpiredFailure",
230806
232046
  PROVIDER_UNAVAILABLE: "#/components/schemas/SaludTotalProviderUnavailableFailure"
230807
232047
  }
230808
232048
  }
@@ -231261,40 +232501,6 @@ var schemaComponents = {
231261
232501
  }
231262
232502
  }
231263
232503
  },
231264
- SaludTotalSessionExpiredFailure: {
231265
- type: "object",
231266
- description: "The provider session expired.",
231267
- additionalProperties: false,
231268
- required: [
231269
- "code",
231270
- "message",
231271
- "retryable",
231272
- "data"
231273
- ],
231274
- properties: {
231275
- code: {
231276
- type: "string",
231277
- enum: [
231278
- "SESSION_EXPIRED"
231279
- ],
231280
- description: "The failure code, stable across releases."
231281
- },
231282
- message: {
231283
- type: "string",
231284
- description: "What went wrong, for people; it never contains input values."
231285
- },
231286
- retryable: {
231287
- type: "boolean",
231288
- enum: [
231289
- false
231290
- ],
231291
- description: "Whether repeating the same request may succeed."
231292
- },
231293
- data: {
231294
- $ref: "#/components/schemas/Empty"
231295
- }
231296
- }
231297
- },
231298
232504
  SaludTotalSiteUnavailableFailure: {
231299
232505
  type: "object",
231300
232506
  description: "This branch or site is not available to the selected IPS connection.",
@@ -232356,281 +233562,315 @@ var schemaComponents = {
232356
233562
  type: "string"
232357
233563
  },
232358
233564
  active: {
232359
- anyOf: [
232360
- {
232361
- type: "boolean"
232362
- },
232363
- {
232364
- type: "null"
232365
- }
232366
- ]
233565
+ anyOf: [
233566
+ {
233567
+ type: "boolean"
233568
+ },
233569
+ {
233570
+ type: "null"
233571
+ }
233572
+ ]
233573
+ },
233574
+ status: {
233575
+ minLength: 1,
233576
+ maxLength: 200,
233577
+ type: "string"
233578
+ },
233579
+ plan: {
233580
+ anyOf: [
233581
+ {
233582
+ maxLength: 500,
233583
+ type: "string"
233584
+ },
233585
+ {
233586
+ type: "null"
233587
+ }
233588
+ ]
233589
+ },
233590
+ contractNumber: {
233591
+ anyOf: [
233592
+ {
233593
+ maxLength: 500,
233594
+ type: "string"
233595
+ },
233596
+ {
233597
+ type: "null"
233598
+ }
233599
+ ]
233600
+ },
233601
+ category: {
233602
+ anyOf: [
233603
+ {
233604
+ maxLength: 500,
233605
+ type: "string"
233606
+ },
233607
+ {
233608
+ type: "null"
233609
+ }
233610
+ ]
233611
+ },
233612
+ affiliateType: {
233613
+ anyOf: [
233614
+ {
233615
+ maxLength: 500,
233616
+ type: "string"
233617
+ },
233618
+ {
233619
+ type: "null"
233620
+ }
233621
+ ]
233622
+ }
233623
+ }
233624
+ },
233625
+ SanitasSanitasConnection: {
233626
+ additionalProperties: false,
233627
+ type: "object",
233628
+ required: [
233629
+ "id",
233630
+ "providers",
233631
+ "status",
233632
+ "verifiedAt",
233633
+ "errorCode"
233634
+ ],
233635
+ properties: {
233636
+ id: {
233637
+ pattern: "^con_[0-9a-z]{26}$",
233638
+ type: "string"
233639
+ },
233640
+ providers: {
233641
+ anyOf: [
233642
+ {
233643
+ maxItems: 100,
233644
+ type: "array",
233645
+ items: {
233646
+ additionalProperties: false,
233647
+ type: "object",
233648
+ required: [
233649
+ "id",
233650
+ "name",
233651
+ "selected"
233652
+ ],
233653
+ properties: {
233654
+ id: {
233655
+ type: "string"
233656
+ },
233657
+ name: {
233658
+ type: "string"
233659
+ },
233660
+ selected: {
233661
+ type: "boolean"
233662
+ }
233663
+ }
233664
+ }
233665
+ },
233666
+ {
233667
+ type: "null"
233668
+ }
233669
+ ]
233670
+ },
233671
+ status: {
233672
+ anyOf: [
233673
+ {
233674
+ const: "active",
233675
+ type: "string"
233676
+ },
233677
+ {
233678
+ const: "failed",
233679
+ type: "string"
233680
+ }
233681
+ ]
233682
+ },
233683
+ verifiedAt: {
233684
+ anyOf: [
233685
+ {
233686
+ format: "date-time",
233687
+ type: "string"
233688
+ },
233689
+ {
233690
+ type: "null"
233691
+ }
233692
+ ]
233693
+ },
233694
+ errorCode: {
233695
+ anyOf: [
233696
+ {
233697
+ type: "string"
233698
+ },
233699
+ {
233700
+ type: "null"
233701
+ }
233702
+ ]
233703
+ }
233704
+ }
233705
+ },
233706
+ SanitasSanitasConnectionResponse: {
233707
+ type: "object",
233708
+ description: "A successful answer.",
233709
+ additionalProperties: false,
233710
+ required: [
233711
+ "success",
233712
+ "data",
233713
+ "error",
233714
+ "metadata"
233715
+ ],
233716
+ properties: {
233717
+ success: {
233718
+ type: "boolean",
233719
+ enum: [
233720
+ true
233721
+ ]
233722
+ },
233723
+ data: {
233724
+ $ref: "#/components/schemas/SanitasSanitasConnection"
233725
+ },
233726
+ error: {
233727
+ const: null
233728
+ },
233729
+ metadata: {
233730
+ $ref: "#/components/schemas/ResponseMetadata"
233731
+ }
233732
+ }
233733
+ },
233734
+ SanitasSanitasNoContract: {
233735
+ additionalProperties: false,
233736
+ type: "object",
233737
+ required: [
233738
+ "documentType",
233739
+ "documentNumber",
233740
+ "company",
233741
+ "checkedAt",
233742
+ "active",
233743
+ "outcome"
233744
+ ],
233745
+ properties: {
233746
+ documentType: {
233747
+ anyOf: [
233748
+ {
233749
+ const: "AS",
233750
+ type: "string"
233751
+ },
233752
+ {
233753
+ const: "CC",
233754
+ type: "string"
233755
+ },
233756
+ {
233757
+ const: "CD",
233758
+ type: "string"
233759
+ },
233760
+ {
233761
+ const: "CE",
233762
+ type: "string"
233763
+ },
233764
+ {
233765
+ const: "CN",
233766
+ type: "string"
233767
+ },
233768
+ {
233769
+ const: "MS",
233770
+ type: "string"
233771
+ },
233772
+ {
233773
+ const: "NI",
233774
+ type: "string"
233775
+ },
233776
+ {
233777
+ const: "NU",
233778
+ type: "string"
233779
+ },
233780
+ {
233781
+ const: "PA",
233782
+ type: "string"
233783
+ },
233784
+ {
233785
+ const: "PD",
233786
+ type: "string"
233787
+ },
233788
+ {
233789
+ const: "PE",
233790
+ type: "string"
233791
+ },
233792
+ {
233793
+ const: "PT",
233794
+ type: "string"
233795
+ },
233796
+ {
233797
+ const: "RC",
233798
+ type: "string"
233799
+ },
233800
+ {
233801
+ const: "SC",
233802
+ type: "string"
233803
+ },
233804
+ {
233805
+ const: "TI",
233806
+ type: "string"
233807
+ }
233808
+ ]
233809
+ },
233810
+ documentNumber: {
233811
+ pattern: "^[A-Za-z0-9]{1,25}$",
233812
+ type: "string"
233813
+ },
233814
+ company: {
233815
+ anyOf: [
233816
+ {
233817
+ const: "sanitas",
233818
+ type: "string"
233819
+ },
233820
+ {
233821
+ const: "colsanitas",
233822
+ type: "string"
233823
+ },
233824
+ {
233825
+ const: "medisanitas",
233826
+ type: "string"
233827
+ }
233828
+ ]
233829
+ },
233830
+ checkedAt: {
233831
+ format: "date-time",
233832
+ type: "string"
233833
+ },
233834
+ active: {
233835
+ type: "null"
232367
233836
  },
232368
- status: {
232369
- minLength: 1,
232370
- maxLength: 200,
233837
+ outcome: {
233838
+ const: "noContract",
232371
233839
  type: "string"
232372
- },
232373
- plan: {
232374
- anyOf: [
232375
- {
232376
- maxLength: 500,
232377
- type: "string"
232378
- },
232379
- {
232380
- type: "null"
232381
- }
232382
- ]
232383
- },
232384
- contractNumber: {
232385
- anyOf: [
232386
- {
232387
- maxLength: 500,
232388
- type: "string"
232389
- },
232390
- {
232391
- type: "null"
232392
- }
232393
- ]
232394
- },
232395
- category: {
232396
- anyOf: [
232397
- {
232398
- maxLength: 500,
232399
- type: "string"
232400
- },
232401
- {
232402
- type: "null"
232403
- }
232404
- ]
232405
- },
232406
- affiliateType: {
232407
- anyOf: [
232408
- {
232409
- maxLength: 500,
232410
- type: "string"
232411
- },
232412
- {
232413
- type: "null"
232414
- }
232415
- ]
232416
233840
  }
232417
233841
  }
232418
233842
  },
232419
- SanitasSanitasConnection: {
232420
- additionalProperties: false,
233843
+ SessionExpiredFailure: {
232421
233844
  type: "object",
233845
+ description: "The provider session expired.",
233846
+ additionalProperties: false,
232422
233847
  required: [
232423
- "id",
232424
- "providers",
232425
- "status",
232426
- "verifiedAt",
232427
- "errorCode"
233848
+ "code",
233849
+ "message",
233850
+ "retryable",
233851
+ "data"
232428
233852
  ],
232429
233853
  properties: {
232430
- id: {
232431
- pattern: "^con_[0-9a-z]{26}$",
232432
- type: "string"
232433
- },
232434
- providers: {
232435
- anyOf: [
232436
- {
232437
- maxItems: 100,
232438
- type: "array",
232439
- items: {
232440
- additionalProperties: false,
232441
- type: "object",
232442
- required: [
232443
- "id",
232444
- "name",
232445
- "selected"
232446
- ],
232447
- properties: {
232448
- id: {
232449
- type: "string"
232450
- },
232451
- name: {
232452
- type: "string"
232453
- },
232454
- selected: {
232455
- type: "boolean"
232456
- }
232457
- }
232458
- }
232459
- },
232460
- {
232461
- type: "null"
232462
- }
232463
- ]
232464
- },
232465
- status: {
232466
- anyOf: [
232467
- {
232468
- const: "active",
232469
- type: "string"
232470
- },
232471
- {
232472
- const: "failed",
232473
- type: "string"
232474
- }
232475
- ]
233854
+ code: {
233855
+ type: "string",
233856
+ enum: [
233857
+ "SESSION_EXPIRED"
233858
+ ],
233859
+ description: "The failure code, stable across releases."
232476
233860
  },
232477
- verifiedAt: {
232478
- anyOf: [
232479
- {
232480
- format: "date-time",
232481
- type: "string"
232482
- },
232483
- {
232484
- type: "null"
232485
- }
232486
- ]
233861
+ message: {
233862
+ type: "string",
233863
+ description: "What went wrong, for people; it never contains input values."
232487
233864
  },
232488
- errorCode: {
232489
- anyOf: [
232490
- {
232491
- type: "string"
232492
- },
232493
- {
232494
- type: "null"
232495
- }
232496
- ]
232497
- }
232498
- }
232499
- },
232500
- SanitasSanitasConnectionResponse: {
232501
- type: "object",
232502
- description: "A successful answer.",
232503
- additionalProperties: false,
232504
- required: [
232505
- "success",
232506
- "data",
232507
- "error",
232508
- "metadata"
232509
- ],
232510
- properties: {
232511
- success: {
233865
+ retryable: {
232512
233866
  type: "boolean",
232513
233867
  enum: [
232514
- true
232515
- ]
233868
+ false
233869
+ ],
233870
+ description: "Whether repeating the same request may succeed."
232516
233871
  },
232517
233872
  data: {
232518
- $ref: "#/components/schemas/SanitasSanitasConnection"
232519
- },
232520
- error: {
232521
- const: null
232522
- },
232523
- metadata: {
232524
- $ref: "#/components/schemas/ResponseMetadata"
232525
- }
232526
- }
232527
- },
232528
- SanitasSanitasNoContract: {
232529
- additionalProperties: false,
232530
- type: "object",
232531
- required: [
232532
- "documentType",
232533
- "documentNumber",
232534
- "company",
232535
- "checkedAt",
232536
- "active",
232537
- "outcome"
232538
- ],
232539
- properties: {
232540
- documentType: {
232541
- anyOf: [
232542
- {
232543
- const: "AS",
232544
- type: "string"
232545
- },
232546
- {
232547
- const: "CC",
232548
- type: "string"
232549
- },
232550
- {
232551
- const: "CD",
232552
- type: "string"
232553
- },
232554
- {
232555
- const: "CE",
232556
- type: "string"
232557
- },
232558
- {
232559
- const: "CN",
232560
- type: "string"
232561
- },
232562
- {
232563
- const: "MS",
232564
- type: "string"
232565
- },
232566
- {
232567
- const: "NI",
232568
- type: "string"
232569
- },
232570
- {
232571
- const: "NU",
232572
- type: "string"
232573
- },
232574
- {
232575
- const: "PA",
232576
- type: "string"
232577
- },
232578
- {
232579
- const: "PD",
232580
- type: "string"
232581
- },
232582
- {
232583
- const: "PE",
232584
- type: "string"
232585
- },
232586
- {
232587
- const: "PT",
232588
- type: "string"
232589
- },
232590
- {
232591
- const: "RC",
232592
- type: "string"
232593
- },
232594
- {
232595
- const: "SC",
232596
- type: "string"
232597
- },
232598
- {
232599
- const: "TI",
232600
- type: "string"
232601
- }
232602
- ]
232603
- },
232604
- documentNumber: {
232605
- pattern: "^[A-Za-z0-9]{1,25}$",
232606
- type: "string"
232607
- },
232608
- company: {
232609
- anyOf: [
232610
- {
232611
- const: "sanitas",
232612
- type: "string"
232613
- },
232614
- {
232615
- const: "colsanitas",
232616
- type: "string"
232617
- },
232618
- {
232619
- const: "medisanitas",
232620
- type: "string"
232621
- }
232622
- ]
232623
- },
232624
- checkedAt: {
232625
- format: "date-time",
232626
- type: "string"
232627
- },
232628
- active: {
232629
- type: "null"
232630
- },
232631
- outcome: {
232632
- const: "noContract",
232633
- type: "string"
233873
+ $ref: "#/components/schemas/Empty"
232634
233874
  }
232635
233875
  }
232636
233876
  },
@@ -249246,6 +250486,104 @@ var schemaComponents = {
249246
250486
  }
249247
250487
  }
249248
250488
  },
250489
+ FamisanarAffiliationsLookupInput: {
250490
+ type: "object",
250491
+ required: [
250492
+ "documentNumber"
250493
+ ],
250494
+ properties: {
250495
+ connectionId: {
250496
+ type: "string",
250497
+ pattern: "^con_[0-9A-Za-z]{26}$",
250498
+ description: "Omit when the organization has exactly one active Famisanar connection. Required to choose among multiple active connections."
250499
+ },
250500
+ documentType: {
250501
+ anyOf: [
250502
+ {
250503
+ type: "string",
250504
+ const: "CC"
250505
+ },
250506
+ {
250507
+ type: "string",
250508
+ const: "CD"
250509
+ },
250510
+ {
250511
+ type: "string",
250512
+ const: "CE"
250513
+ },
250514
+ {
250515
+ type: "string",
250516
+ const: "CN"
250517
+ },
250518
+ {
250519
+ type: "string",
250520
+ const: "ME"
250521
+ },
250522
+ {
250523
+ type: "string",
250524
+ const: "NT"
250525
+ },
250526
+ {
250527
+ type: "string",
250528
+ const: "PC"
250529
+ },
250530
+ {
250531
+ type: "string",
250532
+ const: "PE"
250533
+ },
250534
+ {
250535
+ type: "string",
250536
+ const: "PS"
250537
+ },
250538
+ {
250539
+ type: "string",
250540
+ const: "PT"
250541
+ },
250542
+ {
250543
+ type: "string",
250544
+ const: "RC"
250545
+ },
250546
+ {
250547
+ type: "string",
250548
+ const: "SC"
250549
+ },
250550
+ {
250551
+ type: "string",
250552
+ const: "TI"
250553
+ }
250554
+ ],
250555
+ default: "CC",
250556
+ description: "Identity document type. Defaults to CC; send another supported type explicitly."
250557
+ },
250558
+ documentNumber: {
250559
+ type: "string",
250560
+ pattern: "^[A-Za-z0-9]{1,25}$",
250561
+ secret: true
250562
+ },
250563
+ maxAgeDays: {
250564
+ type: "integer",
250565
+ minimum: 0,
250566
+ maximum: 7,
250567
+ default: 7,
250568
+ description: "Maximum age in days of an observation from this IPS connection. Zero contacts the provider and refreshes the saved result."
250569
+ }
250570
+ },
250571
+ additionalProperties: false
250572
+ },
250573
+ FamisanarConnectionsGetInput: {
250574
+ type: "object",
250575
+ required: [
250576
+ "connectionId"
250577
+ ],
250578
+ properties: {
250579
+ connectionId: {
250580
+ type: "string",
250581
+ pattern: "^con_[0-9A-Za-z]{26}$",
250582
+ description: "The IPS connection saved in Account. This is not a provider session ID."
250583
+ }
250584
+ },
250585
+ additionalProperties: false
250586
+ },
249249
250587
  GmedicAgendaServicesListInput: {
249250
250588
  additionalProperties: false,
249251
250589
  type: "object",
@@ -263964,9 +265302,9 @@ var schemaComponents = {
263964
265302
  // src/generated/generation.json
263965
265303
  var generation_default = {
263966
265304
  formatVersion: 6,
263967
- release: "1.20261118.215712",
263968
- openapiSha256: "9c3af7c752e5528df0186b658fd7a2fc914b997f437c53d1eec5e16c6995b78c",
263969
- openapiContentSha256: "1112b37d65d79b857a0d7b26ab4d7e10d9ba02fe06776ee2dd80a946c425d2d6",
265305
+ release: "1.20261119.71101",
265306
+ openapiSha256: "55e2b21e933cbe79231ab8357586bc21130825407bd7f5acfcbc74e0c0df7dc4",
265307
+ openapiContentSha256: "7f40d49d168fd96ef5631b2f23a56d9b31bea5084ae7959d0cec9828fdf2f019",
263970
265308
  forge: {
263971
265309
  repository: "https://github.com/cloudflare/forge",
263972
265310
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -263979,7 +265317,7 @@ var generation_default = {
263979
265317
  outputs: [
263980
265318
  {
263981
265319
  path: "src/generated/commands.ts",
263982
- sha256: "b851b242dc1b5f44afb21545138e31c8f93d0ff759940fbde107f8daf1ecfe34"
265320
+ sha256: "cdc9c52d91bf34258dcadeaf75316d0b57cc0e134d1b08019a40a51e9a395e92"
263983
265321
  }
263984
265322
  ]
263985
265323
  };
@@ -265579,7 +266917,7 @@ ${name}`);
265579
266917
  }
265580
266918
 
265581
266919
  // src/index.ts
265582
- var VERSION = "3.65.0";
266920
+ var VERSION = "3.67.0";
265583
266921
  var RELEASE = generation_default.release;
265584
266922
  var commands2 = { ...commands, ...accountOperatorCommands };
265585
266923
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));