@seamapi/types 1.377.0 → 1.379.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.
@@ -2586,17 +2586,19 @@ export default {
2586
2586
  {
2587
2587
  properties: {
2588
2588
  created_at: { format: 'date-time', type: 'string' },
2589
+ message: { type: 'string' },
2589
2590
  mutation_code: { enum: ['creating'], type: 'string' },
2590
2591
  },
2591
- required: ['created_at', 'mutation_code'],
2592
+ required: ['created_at', 'message', 'mutation_code'],
2592
2593
  type: 'object',
2593
2594
  },
2594
2595
  {
2595
2596
  properties: {
2596
2597
  created_at: { format: 'date-time', type: 'string' },
2598
+ message: { type: 'string' },
2597
2599
  mutation_code: { enum: ['deleting'], type: 'string' },
2598
2600
  },
2599
- required: ['created_at', 'mutation_code'],
2601
+ required: ['created_at', 'message', 'mutation_code'],
2600
2602
  type: 'object',
2601
2603
  },
2602
2604
  {
@@ -2614,6 +2616,7 @@ export default {
2614
2616
  },
2615
2617
  type: 'object',
2616
2618
  },
2619
+ message: { type: 'string' },
2617
2620
  mutation_code: {
2618
2621
  enum: ['updating_user_information'],
2619
2622
  type: 'string',
@@ -2631,7 +2634,13 @@ export default {
2631
2634
  type: 'object',
2632
2635
  },
2633
2636
  },
2634
- required: ['created_at', 'mutation_code', 'from', 'to'],
2637
+ required: [
2638
+ 'created_at',
2639
+ 'message',
2640
+ 'mutation_code',
2641
+ 'from',
2642
+ 'to',
2643
+ ],
2635
2644
  type: 'object',
2636
2645
  },
2637
2646
  {
@@ -2640,20 +2649,20 @@ export default {
2640
2649
  from: {
2641
2650
  properties: {
2642
2651
  ends_at: {
2643
- description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2644
2652
  format: 'date-time',
2645
2653
  nullable: true,
2646
2654
  type: 'string',
2647
2655
  },
2648
2656
  starts_at: {
2649
- description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2650
2657
  format: 'date-time',
2658
+ nullable: true,
2651
2659
  type: 'string',
2652
2660
  },
2653
2661
  },
2654
2662
  required: ['starts_at', 'ends_at'],
2655
2663
  type: 'object',
2656
2664
  },
2665
+ message: { type: 'string' },
2657
2666
  mutation_code: {
2658
2667
  enum: ['updating_access_schedule'],
2659
2668
  type: 'string',
@@ -2661,14 +2670,13 @@ export default {
2661
2670
  to: {
2662
2671
  properties: {
2663
2672
  ends_at: {
2664
- description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2665
2673
  format: 'date-time',
2666
2674
  nullable: true,
2667
2675
  type: 'string',
2668
2676
  },
2669
2677
  starts_at: {
2670
- description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2671
2678
  format: 'date-time',
2679
+ nullable: true,
2672
2680
  type: 'string',
2673
2681
  },
2674
2682
  },
@@ -2676,7 +2684,13 @@ export default {
2676
2684
  type: 'object',
2677
2685
  },
2678
2686
  },
2679
- required: ['created_at', 'mutation_code', 'from', 'to'],
2687
+ required: [
2688
+ 'created_at',
2689
+ 'message',
2690
+ 'mutation_code',
2691
+ 'from',
2692
+ 'to',
2693
+ ],
2680
2694
  type: 'object',
2681
2695
  },
2682
2696
  {
@@ -2687,6 +2701,7 @@ export default {
2687
2701
  required: ['is_suspended'],
2688
2702
  type: 'object',
2689
2703
  },
2704
+ message: { type: 'string' },
2690
2705
  mutation_code: {
2691
2706
  enum: ['updating_suspension_state'],
2692
2707
  type: 'string',
@@ -2697,7 +2712,13 @@ export default {
2697
2712
  type: 'object',
2698
2713
  },
2699
2714
  },
2700
- required: ['created_at', 'mutation_code', 'from', 'to'],
2715
+ required: [
2716
+ 'created_at',
2717
+ 'message',
2718
+ 'mutation_code',
2719
+ 'from',
2720
+ 'to',
2721
+ ],
2701
2722
  type: 'object',
2702
2723
  },
2703
2724
  {
@@ -2714,6 +2735,7 @@ export default {
2714
2735
  required: ['acs_access_group_id'],
2715
2736
  type: 'object',
2716
2737
  },
2738
+ message: { type: 'string' },
2717
2739
  mutation_code: {
2718
2740
  enum: ['updating_group_membership'],
2719
2741
  type: 'string',
@@ -2730,7 +2752,13 @@ export default {
2730
2752
  type: 'object',
2731
2753
  },
2732
2754
  },
2733
- required: ['created_at', 'mutation_code', 'from', 'to'],
2755
+ required: [
2756
+ 'created_at',
2757
+ 'message',
2758
+ 'mutation_code',
2759
+ 'from',
2760
+ 'to',
2761
+ ],
2734
2762
  type: 'object',
2735
2763
  },
2736
2764
  ],
@@ -14589,17 +14617,19 @@ export default {
14589
14617
  {
14590
14618
  properties: {
14591
14619
  created_at: { format: 'date-time', type: 'string' },
14620
+ message: { type: 'string' },
14592
14621
  mutation_code: { enum: ['creating'], type: 'string' },
14593
14622
  },
14594
- required: ['created_at', 'mutation_code'],
14623
+ required: ['created_at', 'message', 'mutation_code'],
14595
14624
  type: 'object',
14596
14625
  },
14597
14626
  {
14598
14627
  properties: {
14599
14628
  created_at: { format: 'date-time', type: 'string' },
14629
+ message: { type: 'string' },
14600
14630
  mutation_code: { enum: ['deleting'], type: 'string' },
14601
14631
  },
14602
- required: ['created_at', 'mutation_code'],
14632
+ required: ['created_at', 'message', 'mutation_code'],
14603
14633
  type: 'object',
14604
14634
  },
14605
14635
  {
@@ -14617,6 +14647,7 @@ export default {
14617
14647
  },
14618
14648
  type: 'object',
14619
14649
  },
14650
+ message: { type: 'string' },
14620
14651
  mutation_code: {
14621
14652
  enum: ['updating_user_information'],
14622
14653
  type: 'string',
@@ -14634,7 +14665,13 @@ export default {
14634
14665
  type: 'object',
14635
14666
  },
14636
14667
  },
14637
- required: ['created_at', 'mutation_code', 'from', 'to'],
14668
+ required: [
14669
+ 'created_at',
14670
+ 'message',
14671
+ 'mutation_code',
14672
+ 'from',
14673
+ 'to',
14674
+ ],
14638
14675
  type: 'object',
14639
14676
  },
14640
14677
  {
@@ -14643,20 +14680,20 @@ export default {
14643
14680
  from: {
14644
14681
  properties: {
14645
14682
  ends_at: {
14646
- description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14647
14683
  format: 'date-time',
14648
14684
  nullable: true,
14649
14685
  type: 'string',
14650
14686
  },
14651
14687
  starts_at: {
14652
- description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14653
14688
  format: 'date-time',
14689
+ nullable: true,
14654
14690
  type: 'string',
14655
14691
  },
14656
14692
  },
14657
14693
  required: ['starts_at', 'ends_at'],
14658
14694
  type: 'object',
14659
14695
  },
14696
+ message: { type: 'string' },
14660
14697
  mutation_code: {
14661
14698
  enum: ['updating_access_schedule'],
14662
14699
  type: 'string',
@@ -14664,14 +14701,13 @@ export default {
14664
14701
  to: {
14665
14702
  properties: {
14666
14703
  ends_at: {
14667
- description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14668
14704
  format: 'date-time',
14669
14705
  nullable: true,
14670
14706
  type: 'string',
14671
14707
  },
14672
14708
  starts_at: {
14673
- description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14674
14709
  format: 'date-time',
14710
+ nullable: true,
14675
14711
  type: 'string',
14676
14712
  },
14677
14713
  },
@@ -14679,7 +14715,13 @@ export default {
14679
14715
  type: 'object',
14680
14716
  },
14681
14717
  },
14682
- required: ['created_at', 'mutation_code', 'from', 'to'],
14718
+ required: [
14719
+ 'created_at',
14720
+ 'message',
14721
+ 'mutation_code',
14722
+ 'from',
14723
+ 'to',
14724
+ ],
14683
14725
  type: 'object',
14684
14726
  },
14685
14727
  {
@@ -14690,6 +14732,7 @@ export default {
14690
14732
  required: ['is_suspended'],
14691
14733
  type: 'object',
14692
14734
  },
14735
+ message: { type: 'string' },
14693
14736
  mutation_code: {
14694
14737
  enum: ['updating_suspension_state'],
14695
14738
  type: 'string',
@@ -14700,7 +14743,13 @@ export default {
14700
14743
  type: 'object',
14701
14744
  },
14702
14745
  },
14703
- required: ['created_at', 'mutation_code', 'from', 'to'],
14746
+ required: [
14747
+ 'created_at',
14748
+ 'message',
14749
+ 'mutation_code',
14750
+ 'from',
14751
+ 'to',
14752
+ ],
14704
14753
  type: 'object',
14705
14754
  },
14706
14755
  {
@@ -14717,6 +14766,7 @@ export default {
14717
14766
  required: ['acs_access_group_id'],
14718
14767
  type: 'object',
14719
14768
  },
14769
+ message: { type: 'string' },
14720
14770
  mutation_code: {
14721
14771
  enum: ['updating_group_membership'],
14722
14772
  type: 'string',
@@ -14733,7 +14783,13 @@ export default {
14733
14783
  type: 'object',
14734
14784
  },
14735
14785
  },
14736
- required: ['created_at', 'mutation_code', 'from', 'to'],
14786
+ required: [
14787
+ 'created_at',
14788
+ 'message',
14789
+ 'mutation_code',
14790
+ 'from',
14791
+ 'to',
14792
+ ],
14737
14793
  type: 'object',
14738
14794
  },
14739
14795
  ],
@@ -19246,6 +19302,60 @@ export default {
19246
19302
  'x-title': 'Encode a Credential',
19247
19303
  },
19248
19304
  },
19305
+ '/acs/encoders/get': {
19306
+ post: {
19307
+ description: 'Returns a specified [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).',
19308
+ operationId: 'acsEncodersGetPost',
19309
+ requestBody: {
19310
+ content: {
19311
+ 'application/json': {
19312
+ schema: {
19313
+ properties: {
19314
+ acs_encoder_id: {
19315
+ description: 'ID of the desired encoder.',
19316
+ format: 'uuid',
19317
+ type: 'string',
19318
+ },
19319
+ },
19320
+ required: ['acs_encoder_id'],
19321
+ type: 'object',
19322
+ },
19323
+ },
19324
+ },
19325
+ },
19326
+ responses: {
19327
+ 200: {
19328
+ content: {
19329
+ 'application/json': {
19330
+ schema: {
19331
+ properties: {
19332
+ acs_encoder: { $ref: '#/components/schemas/acs_encoder' },
19333
+ ok: { type: 'boolean' },
19334
+ },
19335
+ required: ['acs_encoder', 'ok'],
19336
+ type: 'object',
19337
+ },
19338
+ },
19339
+ },
19340
+ description: 'OK',
19341
+ },
19342
+ 400: { description: 'Bad Request' },
19343
+ 401: { description: 'Unauthorized' },
19344
+ },
19345
+ security: [
19346
+ { pat_with_workspace: [] },
19347
+ { console_session_with_workspace: [] },
19348
+ { api_key: [] },
19349
+ ],
19350
+ summary: '/acs/encoders/get',
19351
+ tags: ['/acs'],
19352
+ 'x-fern-sdk-group-name': ['acs', 'encoders'],
19353
+ 'x-fern-sdk-method-name': 'get',
19354
+ 'x-fern-sdk-return-value': 'acs_encoder',
19355
+ 'x-response-key': 'acs_encoder',
19356
+ 'x-title': 'Get an Encoder',
19357
+ },
19358
+ },
19249
19359
  '/acs/encoders/list': {
19250
19360
  post: {
19251
19361
  description: 'Returns a list of all [encoders](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).',
@@ -25214,10 +25324,12 @@ export default {
25214
25324
  properties: {
25215
25325
  can_tailscale_proxy_reach_bridge: {
25216
25326
  description: 'Tailscale proxy cannot reach the bridge',
25327
+ nullable: true,
25217
25328
  type: 'boolean',
25218
25329
  },
25219
25330
  can_tailscale_proxy_reach_tailscale_network: {
25220
25331
  description: 'Tailscale proxy cannot reach the Tailscale network',
25332
+ nullable: true,
25221
25333
  type: 'boolean',
25222
25334
  },
25223
25335
  created_at: {
@@ -25231,14 +25343,17 @@ export default {
25231
25343
  },
25232
25344
  is_bridge_socks_server_healthy: {
25233
25345
  description: "Bridge's SOCKS server is unhealthy",
25346
+ nullable: true,
25234
25347
  type: 'boolean',
25235
25348
  },
25236
25349
  is_tailscale_proxy_reachable: {
25237
25350
  description: 'Seam cannot reach the tailscale proxy',
25351
+ nullable: true,
25238
25352
  type: 'boolean',
25239
25353
  },
25240
25354
  is_tailscale_proxy_socks_server_healthy: {
25241
25355
  description: "Tailscale proxy's SOCKS server is unhealthy",
25356
+ nullable: true,
25242
25357
  type: 'boolean',
25243
25358
  },
25244
25359
  message: { type: 'string' },
@@ -25370,10 +25485,12 @@ export default {
25370
25485
  properties: {
25371
25486
  can_tailscale_proxy_reach_bridge: {
25372
25487
  description: 'Tailscale proxy cannot reach the bridge',
25488
+ nullable: true,
25373
25489
  type: 'boolean',
25374
25490
  },
25375
25491
  can_tailscale_proxy_reach_tailscale_network: {
25376
25492
  description: 'Tailscale proxy cannot reach the Tailscale network',
25493
+ nullable: true,
25377
25494
  type: 'boolean',
25378
25495
  },
25379
25496
  created_at: {
@@ -25387,14 +25504,17 @@ export default {
25387
25504
  },
25388
25505
  is_bridge_socks_server_healthy: {
25389
25506
  description: "Bridge's SOCKS server is unhealthy",
25507
+ nullable: true,
25390
25508
  type: 'boolean',
25391
25509
  },
25392
25510
  is_tailscale_proxy_reachable: {
25393
25511
  description: 'Seam cannot reach the tailscale proxy',
25512
+ nullable: true,
25394
25513
  type: 'boolean',
25395
25514
  },
25396
25515
  is_tailscale_proxy_socks_server_healthy: {
25397
25516
  description: "Tailscale proxy's SOCKS server is unhealthy",
25517
+ nullable: true,
25398
25518
  type: 'boolean',
25399
25519
  },
25400
25520
  message: { type: 'string' },
@@ -25517,10 +25637,12 @@ export default {
25517
25637
  properties: {
25518
25638
  can_tailscale_proxy_reach_bridge: {
25519
25639
  description: 'Tailscale proxy cannot reach the bridge',
25640
+ nullable: true,
25520
25641
  type: 'boolean',
25521
25642
  },
25522
25643
  can_tailscale_proxy_reach_tailscale_network: {
25523
25644
  description: 'Tailscale proxy cannot reach the Tailscale network',
25645
+ nullable: true,
25524
25646
  type: 'boolean',
25525
25647
  },
25526
25648
  created_at: {
@@ -25534,14 +25656,17 @@ export default {
25534
25656
  },
25535
25657
  is_bridge_socks_server_healthy: {
25536
25658
  description: "Bridge's SOCKS server is unhealthy",
25659
+ nullable: true,
25537
25660
  type: 'boolean',
25538
25661
  },
25539
25662
  is_tailscale_proxy_reachable: {
25540
25663
  description: 'Seam cannot reach the tailscale proxy',
25664
+ nullable: true,
25541
25665
  type: 'boolean',
25542
25666
  },
25543
25667
  is_tailscale_proxy_socks_server_healthy: {
25544
25668
  description: "Tailscale proxy's SOCKS server is unhealthy",
25669
+ nullable: true,
25545
25670
  type: 'boolean',
25546
25671
  },
25547
25672
  message: { type: 'string' },
@@ -25673,10 +25798,12 @@ export default {
25673
25798
  properties: {
25674
25799
  can_tailscale_proxy_reach_bridge: {
25675
25800
  description: 'Tailscale proxy cannot reach the bridge',
25801
+ nullable: true,
25676
25802
  type: 'boolean',
25677
25803
  },
25678
25804
  can_tailscale_proxy_reach_tailscale_network: {
25679
25805
  description: 'Tailscale proxy cannot reach the Tailscale network',
25806
+ nullable: true,
25680
25807
  type: 'boolean',
25681
25808
  },
25682
25809
  created_at: {
@@ -25690,14 +25817,17 @@ export default {
25690
25817
  },
25691
25818
  is_bridge_socks_server_healthy: {
25692
25819
  description: "Bridge's SOCKS server is unhealthy",
25820
+ nullable: true,
25693
25821
  type: 'boolean',
25694
25822
  },
25695
25823
  is_tailscale_proxy_reachable: {
25696
25824
  description: 'Seam cannot reach the tailscale proxy',
25825
+ nullable: true,
25697
25826
  type: 'boolean',
25698
25827
  },
25699
25828
  is_tailscale_proxy_socks_server_healthy: {
25700
25829
  description: "Tailscale proxy's SOCKS server is unhealthy",
25830
+ nullable: true,
25701
25831
  type: 'boolean',
25702
25832
  },
25703
25833
  message: { type: 'string' },