@seamapi/types 1.811.0 → 1.813.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.
@@ -2660,6 +2660,53 @@ export default {
2660
2660
  ],
2661
2661
  type: 'object',
2662
2662
  },
2663
+ {
2664
+ description:
2665
+ "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
2666
+ properties: {
2667
+ created_at: {
2668
+ description:
2669
+ 'Date and time at which Seam created the warning.',
2670
+ format: 'date-time',
2671
+ type: 'string',
2672
+ },
2673
+ device_id: {
2674
+ description:
2675
+ 'ID of the device whose time constraints the access grant violates.',
2676
+ format: 'uuid',
2677
+ type: 'string',
2678
+ },
2679
+ message: {
2680
+ description:
2681
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2682
+ type: 'string',
2683
+ },
2684
+ reason: {
2685
+ description:
2686
+ "Specific reason why the grant's times are not programmable on the device.",
2687
+ enum: [
2688
+ 'duration_exceeds_max',
2689
+ 'times_do_not_match_slots',
2690
+ 'ongoing_not_supported',
2691
+ ],
2692
+ type: 'string',
2693
+ },
2694
+ warning_code: {
2695
+ description:
2696
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2697
+ enum: ['device_time_constraints_violated'],
2698
+ type: 'string',
2699
+ },
2700
+ },
2701
+ required: [
2702
+ 'created_at',
2703
+ 'message',
2704
+ 'warning_code',
2705
+ 'device_id',
2706
+ 'reason',
2707
+ ],
2708
+ type: 'object',
2709
+ },
2663
2710
  ],
2664
2711
  },
2665
2712
  type: 'array',
@@ -36323,6 +36370,53 @@ export default {
36323
36370
  ],
36324
36371
  type: 'object',
36325
36372
  },
36373
+ {
36374
+ description:
36375
+ "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
36376
+ properties: {
36377
+ created_at: {
36378
+ description:
36379
+ 'Date and time at which Seam created the warning.',
36380
+ format: 'date-time',
36381
+ type: 'string',
36382
+ },
36383
+ device_id: {
36384
+ description:
36385
+ 'ID of the device whose time constraints the access grant violates.',
36386
+ format: 'uuid',
36387
+ type: 'string',
36388
+ },
36389
+ message: {
36390
+ description:
36391
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
36392
+ type: 'string',
36393
+ },
36394
+ reason: {
36395
+ description:
36396
+ "Specific reason why the grant's times are not programmable on the device.",
36397
+ enum: [
36398
+ 'duration_exceeds_max',
36399
+ 'times_do_not_match_slots',
36400
+ 'ongoing_not_supported',
36401
+ ],
36402
+ type: 'string',
36403
+ },
36404
+ warning_code: {
36405
+ description:
36406
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
36407
+ enum: ['device_time_constraints_violated'],
36408
+ type: 'string',
36409
+ },
36410
+ },
36411
+ required: [
36412
+ 'created_at',
36413
+ 'message',
36414
+ 'warning_code',
36415
+ 'device_id',
36416
+ 'reason',
36417
+ ],
36418
+ type: 'object',
36419
+ },
36326
36420
  ],
36327
36421
  },
36328
36422
  type: 'array',
@@ -36979,6 +37073,53 @@ export default {
36979
37073
  ],
36980
37074
  type: 'object',
36981
37075
  },
37076
+ {
37077
+ description:
37078
+ "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
37079
+ properties: {
37080
+ created_at: {
37081
+ description:
37082
+ 'Date and time at which Seam created the warning.',
37083
+ format: 'date-time',
37084
+ type: 'string',
37085
+ },
37086
+ device_id: {
37087
+ description:
37088
+ 'ID of the device whose time constraints the access grant violates.',
37089
+ format: 'uuid',
37090
+ type: 'string',
37091
+ },
37092
+ message: {
37093
+ description:
37094
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
37095
+ type: 'string',
37096
+ },
37097
+ reason: {
37098
+ description:
37099
+ "Specific reason why the grant's times are not programmable on the device.",
37100
+ enum: [
37101
+ 'duration_exceeds_max',
37102
+ 'times_do_not_match_slots',
37103
+ 'ongoing_not_supported',
37104
+ ],
37105
+ type: 'string',
37106
+ },
37107
+ warning_code: {
37108
+ description:
37109
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
37110
+ enum: ['device_time_constraints_violated'],
37111
+ type: 'string',
37112
+ },
37113
+ },
37114
+ required: [
37115
+ 'created_at',
37116
+ 'message',
37117
+ 'warning_code',
37118
+ 'device_id',
37119
+ 'reason',
37120
+ ],
37121
+ type: 'object',
37122
+ },
36982
37123
  ],
36983
37124
  },
36984
37125
  type: 'array',
@@ -37684,6 +37825,55 @@ export default {
37684
37825
  ],
37685
37826
  type: 'object',
37686
37827
  },
37828
+ {
37829
+ description:
37830
+ "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
37831
+ properties: {
37832
+ created_at: {
37833
+ description:
37834
+ 'Date and time at which Seam created the warning.',
37835
+ format: 'date-time',
37836
+ type: 'string',
37837
+ },
37838
+ device_id: {
37839
+ description:
37840
+ 'ID of the device whose time constraints the access grant violates.',
37841
+ format: 'uuid',
37842
+ type: 'string',
37843
+ },
37844
+ message: {
37845
+ description:
37846
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
37847
+ type: 'string',
37848
+ },
37849
+ reason: {
37850
+ description:
37851
+ "Specific reason why the grant's times are not programmable on the device.",
37852
+ enum: [
37853
+ 'duration_exceeds_max',
37854
+ 'times_do_not_match_slots',
37855
+ 'ongoing_not_supported',
37856
+ ],
37857
+ type: 'string',
37858
+ },
37859
+ warning_code: {
37860
+ description:
37861
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
37862
+ enum: [
37863
+ 'device_time_constraints_violated',
37864
+ ],
37865
+ type: 'string',
37866
+ },
37867
+ },
37868
+ required: [
37869
+ 'created_at',
37870
+ 'message',
37871
+ 'warning_code',
37872
+ 'device_id',
37873
+ 'reason',
37874
+ ],
37875
+ type: 'object',
37876
+ },
37687
37877
  ],
37688
37878
  },
37689
37879
  type: 'array',
@@ -38376,6 +38566,55 @@ export default {
38376
38566
  ],
38377
38567
  type: 'object',
38378
38568
  },
38569
+ {
38570
+ description:
38571
+ "Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.",
38572
+ properties: {
38573
+ created_at: {
38574
+ description:
38575
+ 'Date and time at which Seam created the warning.',
38576
+ format: 'date-time',
38577
+ type: 'string',
38578
+ },
38579
+ device_id: {
38580
+ description:
38581
+ 'ID of the device whose time constraints the access grant violates.',
38582
+ format: 'uuid',
38583
+ type: 'string',
38584
+ },
38585
+ message: {
38586
+ description:
38587
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
38588
+ type: 'string',
38589
+ },
38590
+ reason: {
38591
+ description:
38592
+ "Specific reason why the grant's times are not programmable on the device.",
38593
+ enum: [
38594
+ 'duration_exceeds_max',
38595
+ 'times_do_not_match_slots',
38596
+ 'ongoing_not_supported',
38597
+ ],
38598
+ type: 'string',
38599
+ },
38600
+ warning_code: {
38601
+ description:
38602
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
38603
+ enum: [
38604
+ 'device_time_constraints_violated',
38605
+ ],
38606
+ type: 'string',
38607
+ },
38608
+ },
38609
+ required: [
38610
+ 'created_at',
38611
+ 'message',
38612
+ 'warning_code',
38613
+ 'device_id',
38614
+ 'reason',
38615
+ ],
38616
+ type: 'object',
38617
+ },
38379
38618
  ],
38380
38619
  },
38381
38620
  type: 'array',
@@ -73532,6 +73771,122 @@ export default {
73532
73771
  'x-title': 'Add Entrances to a Space',
73533
73772
  },
73534
73773
  },
73774
+ '/spaces/add_connected_account': {
73775
+ post: {
73776
+ description:
73777
+ 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.',
73778
+ operationId: 'spacesAddConnectedAccountPost',
73779
+ requestBody: {
73780
+ content: {
73781
+ 'application/json': {
73782
+ schema: {
73783
+ properties: {
73784
+ connected_account_id: {
73785
+ description:
73786
+ 'ID of the connected account that you want to add to the space.',
73787
+ format: 'uuid',
73788
+ type: 'string',
73789
+ },
73790
+ space_id: {
73791
+ description:
73792
+ 'ID of the space to which you want to add the connected account.',
73793
+ format: 'uuid',
73794
+ type: 'string',
73795
+ },
73796
+ },
73797
+ required: ['space_id', 'connected_account_id'],
73798
+ type: 'object',
73799
+ },
73800
+ },
73801
+ },
73802
+ },
73803
+ responses: {
73804
+ 200: {
73805
+ content: {
73806
+ 'application/json': {
73807
+ schema: {
73808
+ properties: { ok: { type: 'boolean' } },
73809
+ required: ['ok'],
73810
+ type: 'object',
73811
+ },
73812
+ },
73813
+ },
73814
+ description: 'OK',
73815
+ },
73816
+ 400: { description: 'Bad Request' },
73817
+ 401: { description: 'Unauthorized' },
73818
+ },
73819
+ security: [
73820
+ { pat_with_workspace: [] },
73821
+ { console_session_with_workspace: [] },
73822
+ { api_key: [] },
73823
+ { client_session_with_customer: [] },
73824
+ ],
73825
+ summary: '/spaces/add_connected_account',
73826
+ tags: [],
73827
+ 'x-fern-sdk-group-name': ['spaces'],
73828
+ 'x-fern-sdk-method-name': 'add_connected_account',
73829
+ 'x-response-key': null,
73830
+ 'x-title': 'Add a Connected Account to a Space',
73831
+ },
73832
+ put: {
73833
+ description:
73834
+ 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.',
73835
+ operationId: 'spacesAddConnectedAccountPut',
73836
+ requestBody: {
73837
+ content: {
73838
+ 'application/json': {
73839
+ schema: {
73840
+ properties: {
73841
+ connected_account_id: {
73842
+ description:
73843
+ 'ID of the connected account that you want to add to the space.',
73844
+ format: 'uuid',
73845
+ type: 'string',
73846
+ },
73847
+ space_id: {
73848
+ description:
73849
+ 'ID of the space to which you want to add the connected account.',
73850
+ format: 'uuid',
73851
+ type: 'string',
73852
+ },
73853
+ },
73854
+ required: ['space_id', 'connected_account_id'],
73855
+ type: 'object',
73856
+ },
73857
+ },
73858
+ },
73859
+ },
73860
+ responses: {
73861
+ 200: {
73862
+ content: {
73863
+ 'application/json': {
73864
+ schema: {
73865
+ properties: { ok: { type: 'boolean' } },
73866
+ required: ['ok'],
73867
+ type: 'object',
73868
+ },
73869
+ },
73870
+ },
73871
+ description: 'OK',
73872
+ },
73873
+ 400: { description: 'Bad Request' },
73874
+ 401: { description: 'Unauthorized' },
73875
+ },
73876
+ security: [
73877
+ { pat_with_workspace: [] },
73878
+ { console_session_with_workspace: [] },
73879
+ { api_key: [] },
73880
+ { client_session_with_customer: [] },
73881
+ ],
73882
+ summary: '/spaces/add_connected_account',
73883
+ tags: [],
73884
+ 'x-fern-sdk-group-name': ['spaces'],
73885
+ 'x-fern-sdk-method-name': 'add_connected_account',
73886
+ 'x-response-key': null,
73887
+ 'x-title': 'Add a Connected Account to a Space',
73888
+ },
73889
+ },
73535
73890
  '/spaces/add_devices': {
73536
73891
  post: {
73537
73892
  description: 'Adds devices to a specific space.',
@@ -74526,6 +74881,122 @@ export default {
74526
74881
  'x-title': 'Remove Entrances from a Space',
74527
74882
  },
74528
74883
  },
74884
+ '/spaces/remove_connected_account': {
74885
+ delete: {
74886
+ description:
74887
+ 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.',
74888
+ operationId: 'spacesRemoveConnectedAccountDelete',
74889
+ parameters: [
74890
+ {
74891
+ in: 'query',
74892
+ name: 'space_id',
74893
+ required: true,
74894
+ schema: {
74895
+ description:
74896
+ 'ID of the space from which you want to remove the connected account.',
74897
+ format: 'uuid',
74898
+ type: 'string',
74899
+ },
74900
+ },
74901
+ {
74902
+ in: 'query',
74903
+ name: 'connected_account_id',
74904
+ required: true,
74905
+ schema: {
74906
+ description:
74907
+ 'ID of the connected account that you want to remove from the space.',
74908
+ format: 'uuid',
74909
+ type: 'string',
74910
+ },
74911
+ },
74912
+ ],
74913
+ responses: {
74914
+ 200: {
74915
+ content: {
74916
+ 'application/json': {
74917
+ schema: {
74918
+ properties: { ok: { type: 'boolean' } },
74919
+ required: ['ok'],
74920
+ type: 'object',
74921
+ },
74922
+ },
74923
+ },
74924
+ description: 'OK',
74925
+ },
74926
+ 400: { description: 'Bad Request' },
74927
+ 401: { description: 'Unauthorized' },
74928
+ },
74929
+ security: [
74930
+ { pat_with_workspace: [] },
74931
+ { console_session_with_workspace: [] },
74932
+ { api_key: [] },
74933
+ { client_session_with_customer: [] },
74934
+ ],
74935
+ summary: '/spaces/remove_connected_account',
74936
+ tags: [],
74937
+ 'x-fern-sdk-group-name': ['spaces'],
74938
+ 'x-fern-sdk-method-name': 'remove_connected_account',
74939
+ 'x-response-key': null,
74940
+ 'x-title': 'Remove a Connected Account from a Space',
74941
+ },
74942
+ post: {
74943
+ description:
74944
+ 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.',
74945
+ operationId: 'spacesRemoveConnectedAccountPost',
74946
+ requestBody: {
74947
+ content: {
74948
+ 'application/json': {
74949
+ schema: {
74950
+ properties: {
74951
+ connected_account_id: {
74952
+ description:
74953
+ 'ID of the connected account that you want to remove from the space.',
74954
+ format: 'uuid',
74955
+ type: 'string',
74956
+ },
74957
+ space_id: {
74958
+ description:
74959
+ 'ID of the space from which you want to remove the connected account.',
74960
+ format: 'uuid',
74961
+ type: 'string',
74962
+ },
74963
+ },
74964
+ required: ['space_id', 'connected_account_id'],
74965
+ type: 'object',
74966
+ },
74967
+ },
74968
+ },
74969
+ },
74970
+ responses: {
74971
+ 200: {
74972
+ content: {
74973
+ 'application/json': {
74974
+ schema: {
74975
+ properties: { ok: { type: 'boolean' } },
74976
+ required: ['ok'],
74977
+ type: 'object',
74978
+ },
74979
+ },
74980
+ },
74981
+ description: 'OK',
74982
+ },
74983
+ 400: { description: 'Bad Request' },
74984
+ 401: { description: 'Unauthorized' },
74985
+ },
74986
+ security: [
74987
+ { pat_with_workspace: [] },
74988
+ { console_session_with_workspace: [] },
74989
+ { api_key: [] },
74990
+ { client_session_with_customer: [] },
74991
+ ],
74992
+ summary: '/spaces/remove_connected_account',
74993
+ tags: [],
74994
+ 'x-fern-sdk-group-name': ['spaces'],
74995
+ 'x-fern-sdk-method-name': 'remove_connected_account',
74996
+ 'x-response-key': null,
74997
+ 'x-title': 'Remove a Connected Account from a Space',
74998
+ },
74999
+ },
74529
75000
  '/spaces/remove_devices': {
74530
75001
  delete: {
74531
75002
  description: 'Removes devices from a specific space.',