@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.
@@ -62578,6 +62578,162 @@ declare const _default: {
62578
62578
  'x-title': string;
62579
62579
  };
62580
62580
  };
62581
+ '/spaces/add_connected_account': {
62582
+ post: {
62583
+ description: string;
62584
+ operationId: string;
62585
+ requestBody: {
62586
+ content: {
62587
+ 'application/json': {
62588
+ schema: {
62589
+ properties: {
62590
+ connected_account_id: {
62591
+ description: string;
62592
+ format: string;
62593
+ type: string;
62594
+ };
62595
+ space_id: {
62596
+ description: string;
62597
+ format: string;
62598
+ type: string;
62599
+ };
62600
+ };
62601
+ required: string[];
62602
+ type: string;
62603
+ };
62604
+ };
62605
+ };
62606
+ };
62607
+ responses: {
62608
+ 200: {
62609
+ content: {
62610
+ 'application/json': {
62611
+ schema: {
62612
+ properties: {
62613
+ ok: {
62614
+ type: string;
62615
+ };
62616
+ };
62617
+ required: string[];
62618
+ type: string;
62619
+ };
62620
+ };
62621
+ };
62622
+ description: string;
62623
+ };
62624
+ 400: {
62625
+ description: string;
62626
+ };
62627
+ 401: {
62628
+ description: string;
62629
+ };
62630
+ };
62631
+ security: ({
62632
+ pat_with_workspace: never[];
62633
+ console_session_with_workspace?: never;
62634
+ api_key?: never;
62635
+ client_session_with_customer?: never;
62636
+ } | {
62637
+ console_session_with_workspace: never[];
62638
+ pat_with_workspace?: never;
62639
+ api_key?: never;
62640
+ client_session_with_customer?: never;
62641
+ } | {
62642
+ api_key: never[];
62643
+ pat_with_workspace?: never;
62644
+ console_session_with_workspace?: never;
62645
+ client_session_with_customer?: never;
62646
+ } | {
62647
+ client_session_with_customer: never[];
62648
+ pat_with_workspace?: never;
62649
+ console_session_with_workspace?: never;
62650
+ api_key?: never;
62651
+ })[];
62652
+ summary: string;
62653
+ tags: never[];
62654
+ 'x-fern-sdk-group-name': string[];
62655
+ 'x-fern-sdk-method-name': string;
62656
+ 'x-response-key': null;
62657
+ 'x-title': string;
62658
+ };
62659
+ put: {
62660
+ description: string;
62661
+ operationId: string;
62662
+ requestBody: {
62663
+ content: {
62664
+ 'application/json': {
62665
+ schema: {
62666
+ properties: {
62667
+ connected_account_id: {
62668
+ description: string;
62669
+ format: string;
62670
+ type: string;
62671
+ };
62672
+ space_id: {
62673
+ description: string;
62674
+ format: string;
62675
+ type: string;
62676
+ };
62677
+ };
62678
+ required: string[];
62679
+ type: string;
62680
+ };
62681
+ };
62682
+ };
62683
+ };
62684
+ responses: {
62685
+ 200: {
62686
+ content: {
62687
+ 'application/json': {
62688
+ schema: {
62689
+ properties: {
62690
+ ok: {
62691
+ type: string;
62692
+ };
62693
+ };
62694
+ required: string[];
62695
+ type: string;
62696
+ };
62697
+ };
62698
+ };
62699
+ description: string;
62700
+ };
62701
+ 400: {
62702
+ description: string;
62703
+ };
62704
+ 401: {
62705
+ description: string;
62706
+ };
62707
+ };
62708
+ security: ({
62709
+ pat_with_workspace: never[];
62710
+ console_session_with_workspace?: never;
62711
+ api_key?: never;
62712
+ client_session_with_customer?: never;
62713
+ } | {
62714
+ console_session_with_workspace: never[];
62715
+ pat_with_workspace?: never;
62716
+ api_key?: never;
62717
+ client_session_with_customer?: never;
62718
+ } | {
62719
+ api_key: never[];
62720
+ pat_with_workspace?: never;
62721
+ console_session_with_workspace?: never;
62722
+ client_session_with_customer?: never;
62723
+ } | {
62724
+ client_session_with_customer: never[];
62725
+ pat_with_workspace?: never;
62726
+ console_session_with_workspace?: never;
62727
+ api_key?: never;
62728
+ })[];
62729
+ summary: string;
62730
+ tags: never[];
62731
+ 'x-fern-sdk-group-name': string[];
62732
+ 'x-fern-sdk-method-name': string;
62733
+ 'x-response-key': null;
62734
+ 'x-title': string;
62735
+ };
62736
+ };
62581
62737
  '/spaces/add_devices': {
62582
62738
  post: {
62583
62739
  description: string;
@@ -63843,6 +63999,150 @@ declare const _default: {
63843
63999
  'x-title': string;
63844
64000
  };
63845
64001
  };
64002
+ '/spaces/remove_connected_account': {
64003
+ delete: {
64004
+ description: string;
64005
+ operationId: string;
64006
+ parameters: {
64007
+ in: string;
64008
+ name: string;
64009
+ required: boolean;
64010
+ schema: {
64011
+ description: string;
64012
+ format: string;
64013
+ type: string;
64014
+ };
64015
+ }[];
64016
+ responses: {
64017
+ 200: {
64018
+ content: {
64019
+ 'application/json': {
64020
+ schema: {
64021
+ properties: {
64022
+ ok: {
64023
+ type: string;
64024
+ };
64025
+ };
64026
+ required: string[];
64027
+ type: string;
64028
+ };
64029
+ };
64030
+ };
64031
+ description: string;
64032
+ };
64033
+ 400: {
64034
+ description: string;
64035
+ };
64036
+ 401: {
64037
+ description: string;
64038
+ };
64039
+ };
64040
+ security: ({
64041
+ pat_with_workspace: never[];
64042
+ console_session_with_workspace?: never;
64043
+ api_key?: never;
64044
+ client_session_with_customer?: never;
64045
+ } | {
64046
+ console_session_with_workspace: never[];
64047
+ pat_with_workspace?: never;
64048
+ api_key?: never;
64049
+ client_session_with_customer?: never;
64050
+ } | {
64051
+ api_key: never[];
64052
+ pat_with_workspace?: never;
64053
+ console_session_with_workspace?: never;
64054
+ client_session_with_customer?: never;
64055
+ } | {
64056
+ client_session_with_customer: never[];
64057
+ pat_with_workspace?: never;
64058
+ console_session_with_workspace?: never;
64059
+ api_key?: never;
64060
+ })[];
64061
+ summary: string;
64062
+ tags: never[];
64063
+ 'x-fern-sdk-group-name': string[];
64064
+ 'x-fern-sdk-method-name': string;
64065
+ 'x-response-key': null;
64066
+ 'x-title': string;
64067
+ };
64068
+ post: {
64069
+ description: string;
64070
+ operationId: string;
64071
+ requestBody: {
64072
+ content: {
64073
+ 'application/json': {
64074
+ schema: {
64075
+ properties: {
64076
+ connected_account_id: {
64077
+ description: string;
64078
+ format: string;
64079
+ type: string;
64080
+ };
64081
+ space_id: {
64082
+ description: string;
64083
+ format: string;
64084
+ type: string;
64085
+ };
64086
+ };
64087
+ required: string[];
64088
+ type: string;
64089
+ };
64090
+ };
64091
+ };
64092
+ };
64093
+ responses: {
64094
+ 200: {
64095
+ content: {
64096
+ 'application/json': {
64097
+ schema: {
64098
+ properties: {
64099
+ ok: {
64100
+ type: string;
64101
+ };
64102
+ };
64103
+ required: string[];
64104
+ type: string;
64105
+ };
64106
+ };
64107
+ };
64108
+ description: string;
64109
+ };
64110
+ 400: {
64111
+ description: string;
64112
+ };
64113
+ 401: {
64114
+ description: string;
64115
+ };
64116
+ };
64117
+ security: ({
64118
+ pat_with_workspace: never[];
64119
+ console_session_with_workspace?: never;
64120
+ api_key?: never;
64121
+ client_session_with_customer?: never;
64122
+ } | {
64123
+ console_session_with_workspace: never[];
64124
+ pat_with_workspace?: never;
64125
+ api_key?: never;
64126
+ client_session_with_customer?: never;
64127
+ } | {
64128
+ api_key: never[];
64129
+ pat_with_workspace?: never;
64130
+ console_session_with_workspace?: never;
64131
+ client_session_with_customer?: never;
64132
+ } | {
64133
+ client_session_with_customer: never[];
64134
+ pat_with_workspace?: never;
64135
+ console_session_with_workspace?: never;
64136
+ api_key?: never;
64137
+ })[];
64138
+ summary: string;
64139
+ tags: never[];
64140
+ 'x-fern-sdk-group-name': string[];
64141
+ 'x-fern-sdk-method-name': string;
64142
+ 'x-response-key': null;
64143
+ 'x-title': string;
64144
+ };
64145
+ };
63846
64146
  '/spaces/remove_devices': {
63847
64147
  delete: {
63848
64148
  description: string;
@@ -68086,6 +68086,116 @@ export default {
68086
68086
  'x-title': 'Add Entrances to a Space',
68087
68087
  },
68088
68088
  },
68089
+ '/spaces/add_connected_account': {
68090
+ post: {
68091
+ description: 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.',
68092
+ operationId: 'spacesAddConnectedAccountPost',
68093
+ requestBody: {
68094
+ content: {
68095
+ 'application/json': {
68096
+ schema: {
68097
+ properties: {
68098
+ connected_account_id: {
68099
+ description: 'ID of the connected account that you want to add to the space.',
68100
+ format: 'uuid',
68101
+ type: 'string',
68102
+ },
68103
+ space_id: {
68104
+ description: 'ID of the space to which you want to add the connected account.',
68105
+ format: 'uuid',
68106
+ type: 'string',
68107
+ },
68108
+ },
68109
+ required: ['space_id', 'connected_account_id'],
68110
+ type: 'object',
68111
+ },
68112
+ },
68113
+ },
68114
+ },
68115
+ responses: {
68116
+ 200: {
68117
+ content: {
68118
+ 'application/json': {
68119
+ schema: {
68120
+ properties: { ok: { type: 'boolean' } },
68121
+ required: ['ok'],
68122
+ type: 'object',
68123
+ },
68124
+ },
68125
+ },
68126
+ description: 'OK',
68127
+ },
68128
+ 400: { description: 'Bad Request' },
68129
+ 401: { description: 'Unauthorized' },
68130
+ },
68131
+ security: [
68132
+ { pat_with_workspace: [] },
68133
+ { console_session_with_workspace: [] },
68134
+ { api_key: [] },
68135
+ { client_session_with_customer: [] },
68136
+ ],
68137
+ summary: '/spaces/add_connected_account',
68138
+ tags: [],
68139
+ 'x-fern-sdk-group-name': ['spaces'],
68140
+ 'x-fern-sdk-method-name': 'add_connected_account',
68141
+ 'x-response-key': null,
68142
+ 'x-title': 'Add a Connected Account to a Space',
68143
+ },
68144
+ put: {
68145
+ description: 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.',
68146
+ operationId: 'spacesAddConnectedAccountPut',
68147
+ requestBody: {
68148
+ content: {
68149
+ 'application/json': {
68150
+ schema: {
68151
+ properties: {
68152
+ connected_account_id: {
68153
+ description: 'ID of the connected account that you want to add to the space.',
68154
+ format: 'uuid',
68155
+ type: 'string',
68156
+ },
68157
+ space_id: {
68158
+ description: 'ID of the space to which you want to add the connected account.',
68159
+ format: 'uuid',
68160
+ type: 'string',
68161
+ },
68162
+ },
68163
+ required: ['space_id', 'connected_account_id'],
68164
+ type: 'object',
68165
+ },
68166
+ },
68167
+ },
68168
+ },
68169
+ responses: {
68170
+ 200: {
68171
+ content: {
68172
+ 'application/json': {
68173
+ schema: {
68174
+ properties: { ok: { type: 'boolean' } },
68175
+ required: ['ok'],
68176
+ type: 'object',
68177
+ },
68178
+ },
68179
+ },
68180
+ description: 'OK',
68181
+ },
68182
+ 400: { description: 'Bad Request' },
68183
+ 401: { description: 'Unauthorized' },
68184
+ },
68185
+ security: [
68186
+ { pat_with_workspace: [] },
68187
+ { console_session_with_workspace: [] },
68188
+ { api_key: [] },
68189
+ { client_session_with_customer: [] },
68190
+ ],
68191
+ summary: '/spaces/add_connected_account',
68192
+ tags: [],
68193
+ 'x-fern-sdk-group-name': ['spaces'],
68194
+ 'x-fern-sdk-method-name': 'add_connected_account',
68195
+ 'x-response-key': null,
68196
+ 'x-title': 'Add a Connected Account to a Space',
68197
+ },
68198
+ },
68089
68199
  '/spaces/add_devices': {
68090
68200
  post: {
68091
68201
  description: 'Adds devices to a specific space.',
@@ -69049,6 +69159,116 @@ export default {
69049
69159
  'x-title': 'Remove Entrances from a Space',
69050
69160
  },
69051
69161
  },
69162
+ '/spaces/remove_connected_account': {
69163
+ delete: {
69164
+ description: 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.',
69165
+ operationId: 'spacesRemoveConnectedAccountDelete',
69166
+ parameters: [
69167
+ {
69168
+ in: 'query',
69169
+ name: 'space_id',
69170
+ required: true,
69171
+ schema: {
69172
+ description: 'ID of the space from which you want to remove the connected account.',
69173
+ format: 'uuid',
69174
+ type: 'string',
69175
+ },
69176
+ },
69177
+ {
69178
+ in: 'query',
69179
+ name: 'connected_account_id',
69180
+ required: true,
69181
+ schema: {
69182
+ description: 'ID of the connected account that you want to remove from the space.',
69183
+ format: 'uuid',
69184
+ type: 'string',
69185
+ },
69186
+ },
69187
+ ],
69188
+ responses: {
69189
+ 200: {
69190
+ content: {
69191
+ 'application/json': {
69192
+ schema: {
69193
+ properties: { ok: { type: 'boolean' } },
69194
+ required: ['ok'],
69195
+ type: 'object',
69196
+ },
69197
+ },
69198
+ },
69199
+ description: 'OK',
69200
+ },
69201
+ 400: { description: 'Bad Request' },
69202
+ 401: { description: 'Unauthorized' },
69203
+ },
69204
+ security: [
69205
+ { pat_with_workspace: [] },
69206
+ { console_session_with_workspace: [] },
69207
+ { api_key: [] },
69208
+ { client_session_with_customer: [] },
69209
+ ],
69210
+ summary: '/spaces/remove_connected_account',
69211
+ tags: [],
69212
+ 'x-fern-sdk-group-name': ['spaces'],
69213
+ 'x-fern-sdk-method-name': 'remove_connected_account',
69214
+ 'x-response-key': null,
69215
+ 'x-title': 'Remove a Connected Account from a Space',
69216
+ },
69217
+ post: {
69218
+ description: 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.',
69219
+ operationId: 'spacesRemoveConnectedAccountPost',
69220
+ requestBody: {
69221
+ content: {
69222
+ 'application/json': {
69223
+ schema: {
69224
+ properties: {
69225
+ connected_account_id: {
69226
+ description: 'ID of the connected account that you want to remove from the space.',
69227
+ format: 'uuid',
69228
+ type: 'string',
69229
+ },
69230
+ space_id: {
69231
+ description: 'ID of the space from which you want to remove the connected account.',
69232
+ format: 'uuid',
69233
+ type: 'string',
69234
+ },
69235
+ },
69236
+ required: ['space_id', 'connected_account_id'],
69237
+ type: 'object',
69238
+ },
69239
+ },
69240
+ },
69241
+ },
69242
+ responses: {
69243
+ 200: {
69244
+ content: {
69245
+ 'application/json': {
69246
+ schema: {
69247
+ properties: { ok: { type: 'boolean' } },
69248
+ required: ['ok'],
69249
+ type: 'object',
69250
+ },
69251
+ },
69252
+ },
69253
+ description: 'OK',
69254
+ },
69255
+ 400: { description: 'Bad Request' },
69256
+ 401: { description: 'Unauthorized' },
69257
+ },
69258
+ security: [
69259
+ { pat_with_workspace: [] },
69260
+ { console_session_with_workspace: [] },
69261
+ { api_key: [] },
69262
+ { client_session_with_customer: [] },
69263
+ ],
69264
+ summary: '/spaces/remove_connected_account',
69265
+ tags: [],
69266
+ 'x-fern-sdk-group-name': ['spaces'],
69267
+ 'x-fern-sdk-method-name': 'remove_connected_account',
69268
+ 'x-response-key': null,
69269
+ 'x-title': 'Remove a Connected Account from a Space',
69270
+ },
69271
+ },
69052
69272
  '/spaces/remove_devices': {
69053
69273
  delete: {
69054
69274
  description: 'Removes devices from a specific space.',