@seamapi/types 1.812.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.
@@ -68719,6 +68719,21 @@ export type Routes = {
68719
68719
  jsonResponse: {};
68720
68720
  maxDuration: undefined;
68721
68721
  };
68722
+ '/spaces/add_connected_account': {
68723
+ route: '/spaces/add_connected_account';
68724
+ method: 'POST' | 'PUT';
68725
+ queryParams: {};
68726
+ jsonBody: {
68727
+ /** ID of the space to which you want to add the connected account. */
68728
+ space_id: string;
68729
+ /** ID of the connected account that you want to add to the space. */
68730
+ connected_account_id: string;
68731
+ };
68732
+ commonParams: {};
68733
+ formData: {};
68734
+ jsonResponse: {};
68735
+ maxDuration: undefined;
68736
+ };
68722
68737
  '/spaces/add_devices': {
68723
68738
  route: '/spaces/add_devices';
68724
68739
  method: 'POST' | 'PUT';
@@ -70819,6 +70834,21 @@ export type Routes = {
70819
70834
  jsonResponse: {};
70820
70835
  maxDuration: undefined;
70821
70836
  };
70837
+ '/spaces/remove_connected_account': {
70838
+ route: '/spaces/remove_connected_account';
70839
+ method: 'POST' | 'DELETE';
70840
+ queryParams: {};
70841
+ jsonBody: {};
70842
+ commonParams: {
70843
+ /** ID of the space from which you want to remove the connected account. */
70844
+ space_id: string;
70845
+ /** ID of the connected account that you want to remove from the space. */
70846
+ connected_account_id: string;
70847
+ };
70848
+ formData: {};
70849
+ jsonResponse: {};
70850
+ maxDuration: undefined;
70851
+ };
70822
70852
  '/spaces/remove_devices': {
70823
70853
  route: '/spaces/remove_devices';
70824
70854
  method: 'POST' | 'DELETE';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.812.0",
3
+ "version": "1.813.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -73771,6 +73771,122 @@ export default {
73771
73771
  'x-title': 'Add Entrances to a Space',
73772
73772
  },
73773
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
+ },
73774
73890
  '/spaces/add_devices': {
73775
73891
  post: {
73776
73892
  description: 'Adds devices to a specific space.',
@@ -74765,6 +74881,122 @@ export default {
74765
74881
  'x-title': 'Remove Entrances from a Space',
74766
74882
  },
74767
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
+ },
74768
75000
  '/spaces/remove_devices': {
74769
75001
  delete: {
74770
75002
  description: 'Removes devices from a specific space.',
@@ -81995,6 +81995,21 @@ export type Routes = {
81995
81995
  jsonResponse: {}
81996
81996
  maxDuration: undefined
81997
81997
  }
81998
+ '/spaces/add_connected_account': {
81999
+ route: '/spaces/add_connected_account'
82000
+ method: 'POST' | 'PUT'
82001
+ queryParams: {}
82002
+ jsonBody: {
82003
+ /** ID of the space to which you want to add the connected account. */
82004
+ space_id: string
82005
+ /** ID of the connected account that you want to add to the space. */
82006
+ connected_account_id: string
82007
+ }
82008
+ commonParams: {}
82009
+ formData: {}
82010
+ jsonResponse: {}
82011
+ maxDuration: undefined
82012
+ }
81998
82013
  '/spaces/add_devices': {
81999
82014
  route: '/spaces/add_devices'
82000
82015
  method: 'POST' | 'PUT'
@@ -84597,6 +84612,21 @@ export type Routes = {
84597
84612
  jsonResponse: {}
84598
84613
  maxDuration: undefined
84599
84614
  }
84615
+ '/spaces/remove_connected_account': {
84616
+ route: '/spaces/remove_connected_account'
84617
+ method: 'POST' | 'DELETE'
84618
+ queryParams: {}
84619
+ jsonBody: {}
84620
+ commonParams: {
84621
+ /** ID of the space from which you want to remove the connected account. */
84622
+ space_id: string
84623
+ /** ID of the connected account that you want to remove from the space. */
84624
+ connected_account_id: string
84625
+ }
84626
+ formData: {}
84627
+ jsonResponse: {}
84628
+ maxDuration: undefined
84629
+ }
84600
84630
  '/spaces/remove_devices': {
84601
84631
  route: '/spaces/remove_devices'
84602
84632
  method: 'POST' | 'DELETE'