@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.
@@ -126157,6 +126157,162 @@ declare const _default: {
126157
126157
  'x-title': string;
126158
126158
  };
126159
126159
  };
126160
+ '/spaces/add_connected_account': {
126161
+ post: {
126162
+ description: string;
126163
+ operationId: string;
126164
+ requestBody: {
126165
+ content: {
126166
+ 'application/json': {
126167
+ schema: {
126168
+ properties: {
126169
+ connected_account_id: {
126170
+ description: string;
126171
+ format: string;
126172
+ type: string;
126173
+ };
126174
+ space_id: {
126175
+ description: string;
126176
+ format: string;
126177
+ type: string;
126178
+ };
126179
+ };
126180
+ required: string[];
126181
+ type: string;
126182
+ };
126183
+ };
126184
+ };
126185
+ };
126186
+ responses: {
126187
+ 200: {
126188
+ content: {
126189
+ 'application/json': {
126190
+ schema: {
126191
+ properties: {
126192
+ ok: {
126193
+ type: string;
126194
+ };
126195
+ };
126196
+ required: string[];
126197
+ type: string;
126198
+ };
126199
+ };
126200
+ };
126201
+ description: string;
126202
+ };
126203
+ 400: {
126204
+ description: string;
126205
+ };
126206
+ 401: {
126207
+ description: string;
126208
+ };
126209
+ };
126210
+ security: ({
126211
+ pat_with_workspace: never[];
126212
+ console_session_with_workspace?: never;
126213
+ api_key?: never;
126214
+ client_session_with_customer?: never;
126215
+ } | {
126216
+ console_session_with_workspace: never[];
126217
+ pat_with_workspace?: never;
126218
+ api_key?: never;
126219
+ client_session_with_customer?: never;
126220
+ } | {
126221
+ api_key: never[];
126222
+ pat_with_workspace?: never;
126223
+ console_session_with_workspace?: never;
126224
+ client_session_with_customer?: never;
126225
+ } | {
126226
+ client_session_with_customer: never[];
126227
+ pat_with_workspace?: never;
126228
+ console_session_with_workspace?: never;
126229
+ api_key?: never;
126230
+ })[];
126231
+ summary: string;
126232
+ tags: never[];
126233
+ 'x-fern-sdk-group-name': string[];
126234
+ 'x-fern-sdk-method-name': string;
126235
+ 'x-response-key': null;
126236
+ 'x-title': string;
126237
+ };
126238
+ put: {
126239
+ description: string;
126240
+ operationId: string;
126241
+ requestBody: {
126242
+ content: {
126243
+ 'application/json': {
126244
+ schema: {
126245
+ properties: {
126246
+ connected_account_id: {
126247
+ description: string;
126248
+ format: string;
126249
+ type: string;
126250
+ };
126251
+ space_id: {
126252
+ description: string;
126253
+ format: string;
126254
+ type: string;
126255
+ };
126256
+ };
126257
+ required: string[];
126258
+ type: string;
126259
+ };
126260
+ };
126261
+ };
126262
+ };
126263
+ responses: {
126264
+ 200: {
126265
+ content: {
126266
+ 'application/json': {
126267
+ schema: {
126268
+ properties: {
126269
+ ok: {
126270
+ type: string;
126271
+ };
126272
+ };
126273
+ required: string[];
126274
+ type: string;
126275
+ };
126276
+ };
126277
+ };
126278
+ description: string;
126279
+ };
126280
+ 400: {
126281
+ description: string;
126282
+ };
126283
+ 401: {
126284
+ description: string;
126285
+ };
126286
+ };
126287
+ security: ({
126288
+ pat_with_workspace: never[];
126289
+ console_session_with_workspace?: never;
126290
+ api_key?: never;
126291
+ client_session_with_customer?: never;
126292
+ } | {
126293
+ console_session_with_workspace: never[];
126294
+ pat_with_workspace?: never;
126295
+ api_key?: never;
126296
+ client_session_with_customer?: never;
126297
+ } | {
126298
+ api_key: never[];
126299
+ pat_with_workspace?: never;
126300
+ console_session_with_workspace?: never;
126301
+ client_session_with_customer?: never;
126302
+ } | {
126303
+ client_session_with_customer: never[];
126304
+ pat_with_workspace?: never;
126305
+ console_session_with_workspace?: never;
126306
+ api_key?: never;
126307
+ })[];
126308
+ summary: string;
126309
+ tags: never[];
126310
+ 'x-fern-sdk-group-name': string[];
126311
+ 'x-fern-sdk-method-name': string;
126312
+ 'x-response-key': null;
126313
+ 'x-title': string;
126314
+ };
126315
+ };
126160
126316
  '/spaces/add_devices': {
126161
126317
  post: {
126162
126318
  description: string;
@@ -127422,6 +127578,150 @@ declare const _default: {
127422
127578
  'x-title': string;
127423
127579
  };
127424
127580
  };
127581
+ '/spaces/remove_connected_account': {
127582
+ delete: {
127583
+ description: string;
127584
+ operationId: string;
127585
+ parameters: {
127586
+ in: string;
127587
+ name: string;
127588
+ required: boolean;
127589
+ schema: {
127590
+ description: string;
127591
+ format: string;
127592
+ type: string;
127593
+ };
127594
+ }[];
127595
+ responses: {
127596
+ 200: {
127597
+ content: {
127598
+ 'application/json': {
127599
+ schema: {
127600
+ properties: {
127601
+ ok: {
127602
+ type: string;
127603
+ };
127604
+ };
127605
+ required: string[];
127606
+ type: string;
127607
+ };
127608
+ };
127609
+ };
127610
+ description: string;
127611
+ };
127612
+ 400: {
127613
+ description: string;
127614
+ };
127615
+ 401: {
127616
+ description: string;
127617
+ };
127618
+ };
127619
+ security: ({
127620
+ pat_with_workspace: never[];
127621
+ console_session_with_workspace?: never;
127622
+ api_key?: never;
127623
+ client_session_with_customer?: never;
127624
+ } | {
127625
+ console_session_with_workspace: never[];
127626
+ pat_with_workspace?: never;
127627
+ api_key?: never;
127628
+ client_session_with_customer?: never;
127629
+ } | {
127630
+ api_key: never[];
127631
+ pat_with_workspace?: never;
127632
+ console_session_with_workspace?: never;
127633
+ client_session_with_customer?: never;
127634
+ } | {
127635
+ client_session_with_customer: never[];
127636
+ pat_with_workspace?: never;
127637
+ console_session_with_workspace?: never;
127638
+ api_key?: never;
127639
+ })[];
127640
+ summary: string;
127641
+ tags: never[];
127642
+ 'x-fern-sdk-group-name': string[];
127643
+ 'x-fern-sdk-method-name': string;
127644
+ 'x-response-key': null;
127645
+ 'x-title': string;
127646
+ };
127647
+ post: {
127648
+ description: string;
127649
+ operationId: string;
127650
+ requestBody: {
127651
+ content: {
127652
+ 'application/json': {
127653
+ schema: {
127654
+ properties: {
127655
+ connected_account_id: {
127656
+ description: string;
127657
+ format: string;
127658
+ type: string;
127659
+ };
127660
+ space_id: {
127661
+ description: string;
127662
+ format: string;
127663
+ type: string;
127664
+ };
127665
+ };
127666
+ required: string[];
127667
+ type: string;
127668
+ };
127669
+ };
127670
+ };
127671
+ };
127672
+ responses: {
127673
+ 200: {
127674
+ content: {
127675
+ 'application/json': {
127676
+ schema: {
127677
+ properties: {
127678
+ ok: {
127679
+ type: string;
127680
+ };
127681
+ };
127682
+ required: string[];
127683
+ type: string;
127684
+ };
127685
+ };
127686
+ };
127687
+ description: string;
127688
+ };
127689
+ 400: {
127690
+ description: string;
127691
+ };
127692
+ 401: {
127693
+ description: string;
127694
+ };
127695
+ };
127696
+ security: ({
127697
+ pat_with_workspace: never[];
127698
+ console_session_with_workspace?: never;
127699
+ api_key?: never;
127700
+ client_session_with_customer?: never;
127701
+ } | {
127702
+ console_session_with_workspace: never[];
127703
+ pat_with_workspace?: never;
127704
+ api_key?: never;
127705
+ client_session_with_customer?: never;
127706
+ } | {
127707
+ api_key: never[];
127708
+ pat_with_workspace?: never;
127709
+ console_session_with_workspace?: never;
127710
+ client_session_with_customer?: never;
127711
+ } | {
127712
+ client_session_with_customer: never[];
127713
+ pat_with_workspace?: never;
127714
+ console_session_with_workspace?: never;
127715
+ api_key?: never;
127716
+ })[];
127717
+ summary: string;
127718
+ tags: never[];
127719
+ 'x-fern-sdk-group-name': string[];
127720
+ 'x-fern-sdk-method-name': string;
127721
+ 'x-response-key': null;
127722
+ 'x-title': string;
127723
+ };
127724
+ };
127425
127725
  '/spaces/remove_devices': {
127426
127726
  delete: {
127427
127727
  description: string;
@@ -206731,6 +207031,21 @@ type Routes = {
206731
207031
  jsonResponse: {};
206732
207032
  maxDuration: undefined;
206733
207033
  };
207034
+ '/spaces/add_connected_account': {
207035
+ route: '/spaces/add_connected_account';
207036
+ method: 'POST' | 'PUT';
207037
+ queryParams: {};
207038
+ jsonBody: {
207039
+ /** ID of the space to which you want to add the connected account. */
207040
+ space_id: string;
207041
+ /** ID of the connected account that you want to add to the space. */
207042
+ connected_account_id: string;
207043
+ };
207044
+ commonParams: {};
207045
+ formData: {};
207046
+ jsonResponse: {};
207047
+ maxDuration: undefined;
207048
+ };
206734
207049
  '/spaces/add_devices': {
206735
207050
  route: '/spaces/add_devices';
206736
207051
  method: 'POST' | 'PUT';
@@ -208831,6 +209146,21 @@ type Routes = {
208831
209146
  jsonResponse: {};
208832
209147
  maxDuration: undefined;
208833
209148
  };
209149
+ '/spaces/remove_connected_account': {
209150
+ route: '/spaces/remove_connected_account';
209151
+ method: 'POST' | 'DELETE';
209152
+ queryParams: {};
209153
+ jsonBody: {};
209154
+ commonParams: {
209155
+ /** ID of the space from which you want to remove the connected account. */
209156
+ space_id: string;
209157
+ /** ID of the connected account that you want to remove from the space. */
209158
+ connected_account_id: string;
209159
+ };
209160
+ formData: {};
209161
+ jsonResponse: {};
209162
+ maxDuration: undefined;
209163
+ };
208834
209164
  '/spaces/remove_devices': {
208835
209165
  route: '/spaces/remove_devices';
208836
209166
  method: 'POST' | 'DELETE';
package/dist/index.cjs CHANGED
@@ -74960,6 +74960,116 @@ var openapi_default = {
74960
74960
  "x-title": "Add Entrances to a Space"
74961
74961
  }
74962
74962
  },
74963
+ "/spaces/add_connected_account": {
74964
+ post: {
74965
+ description: "Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.",
74966
+ operationId: "spacesAddConnectedAccountPost",
74967
+ requestBody: {
74968
+ content: {
74969
+ "application/json": {
74970
+ schema: {
74971
+ properties: {
74972
+ connected_account_id: {
74973
+ description: "ID of the connected account that you want to add to the space.",
74974
+ format: "uuid",
74975
+ type: "string"
74976
+ },
74977
+ space_id: {
74978
+ description: "ID of the space to which you want to add the connected account.",
74979
+ format: "uuid",
74980
+ type: "string"
74981
+ }
74982
+ },
74983
+ required: ["space_id", "connected_account_id"],
74984
+ type: "object"
74985
+ }
74986
+ }
74987
+ }
74988
+ },
74989
+ responses: {
74990
+ 200: {
74991
+ content: {
74992
+ "application/json": {
74993
+ schema: {
74994
+ properties: { ok: { type: "boolean" } },
74995
+ required: ["ok"],
74996
+ type: "object"
74997
+ }
74998
+ }
74999
+ },
75000
+ description: "OK"
75001
+ },
75002
+ 400: { description: "Bad Request" },
75003
+ 401: { description: "Unauthorized" }
75004
+ },
75005
+ security: [
75006
+ { pat_with_workspace: [] },
75007
+ { console_session_with_workspace: [] },
75008
+ { api_key: [] },
75009
+ { client_session_with_customer: [] }
75010
+ ],
75011
+ summary: "/spaces/add_connected_account",
75012
+ tags: [],
75013
+ "x-fern-sdk-group-name": ["spaces"],
75014
+ "x-fern-sdk-method-name": "add_connected_account",
75015
+ "x-response-key": null,
75016
+ "x-title": "Add a Connected Account to a Space"
75017
+ },
75018
+ put: {
75019
+ description: "Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.",
75020
+ operationId: "spacesAddConnectedAccountPut",
75021
+ requestBody: {
75022
+ content: {
75023
+ "application/json": {
75024
+ schema: {
75025
+ properties: {
75026
+ connected_account_id: {
75027
+ description: "ID of the connected account that you want to add to the space.",
75028
+ format: "uuid",
75029
+ type: "string"
75030
+ },
75031
+ space_id: {
75032
+ description: "ID of the space to which you want to add the connected account.",
75033
+ format: "uuid",
75034
+ type: "string"
75035
+ }
75036
+ },
75037
+ required: ["space_id", "connected_account_id"],
75038
+ type: "object"
75039
+ }
75040
+ }
75041
+ }
75042
+ },
75043
+ responses: {
75044
+ 200: {
75045
+ content: {
75046
+ "application/json": {
75047
+ schema: {
75048
+ properties: { ok: { type: "boolean" } },
75049
+ required: ["ok"],
75050
+ type: "object"
75051
+ }
75052
+ }
75053
+ },
75054
+ description: "OK"
75055
+ },
75056
+ 400: { description: "Bad Request" },
75057
+ 401: { description: "Unauthorized" }
75058
+ },
75059
+ security: [
75060
+ { pat_with_workspace: [] },
75061
+ { console_session_with_workspace: [] },
75062
+ { api_key: [] },
75063
+ { client_session_with_customer: [] }
75064
+ ],
75065
+ summary: "/spaces/add_connected_account",
75066
+ tags: [],
75067
+ "x-fern-sdk-group-name": ["spaces"],
75068
+ "x-fern-sdk-method-name": "add_connected_account",
75069
+ "x-response-key": null,
75070
+ "x-title": "Add a Connected Account to a Space"
75071
+ }
75072
+ },
74963
75073
  "/spaces/add_devices": {
74964
75074
  post: {
74965
75075
  description: "Adds devices to a specific space.",
@@ -75923,6 +76033,116 @@ var openapi_default = {
75923
76033
  "x-title": "Remove Entrances from a Space"
75924
76034
  }
75925
76035
  },
76036
+ "/spaces/remove_connected_account": {
76037
+ delete: {
76038
+ description: "Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.",
76039
+ operationId: "spacesRemoveConnectedAccountDelete",
76040
+ parameters: [
76041
+ {
76042
+ in: "query",
76043
+ name: "space_id",
76044
+ required: true,
76045
+ schema: {
76046
+ description: "ID of the space from which you want to remove the connected account.",
76047
+ format: "uuid",
76048
+ type: "string"
76049
+ }
76050
+ },
76051
+ {
76052
+ in: "query",
76053
+ name: "connected_account_id",
76054
+ required: true,
76055
+ schema: {
76056
+ description: "ID of the connected account that you want to remove from the space.",
76057
+ format: "uuid",
76058
+ type: "string"
76059
+ }
76060
+ }
76061
+ ],
76062
+ responses: {
76063
+ 200: {
76064
+ content: {
76065
+ "application/json": {
76066
+ schema: {
76067
+ properties: { ok: { type: "boolean" } },
76068
+ required: ["ok"],
76069
+ type: "object"
76070
+ }
76071
+ }
76072
+ },
76073
+ description: "OK"
76074
+ },
76075
+ 400: { description: "Bad Request" },
76076
+ 401: { description: "Unauthorized" }
76077
+ },
76078
+ security: [
76079
+ { pat_with_workspace: [] },
76080
+ { console_session_with_workspace: [] },
76081
+ { api_key: [] },
76082
+ { client_session_with_customer: [] }
76083
+ ],
76084
+ summary: "/spaces/remove_connected_account",
76085
+ tags: [],
76086
+ "x-fern-sdk-group-name": ["spaces"],
76087
+ "x-fern-sdk-method-name": "remove_connected_account",
76088
+ "x-response-key": null,
76089
+ "x-title": "Remove a Connected Account from a Space"
76090
+ },
76091
+ post: {
76092
+ description: "Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.",
76093
+ operationId: "spacesRemoveConnectedAccountPost",
76094
+ requestBody: {
76095
+ content: {
76096
+ "application/json": {
76097
+ schema: {
76098
+ properties: {
76099
+ connected_account_id: {
76100
+ description: "ID of the connected account that you want to remove from the space.",
76101
+ format: "uuid",
76102
+ type: "string"
76103
+ },
76104
+ space_id: {
76105
+ description: "ID of the space from which you want to remove the connected account.",
76106
+ format: "uuid",
76107
+ type: "string"
76108
+ }
76109
+ },
76110
+ required: ["space_id", "connected_account_id"],
76111
+ type: "object"
76112
+ }
76113
+ }
76114
+ }
76115
+ },
76116
+ responses: {
76117
+ 200: {
76118
+ content: {
76119
+ "application/json": {
76120
+ schema: {
76121
+ properties: { ok: { type: "boolean" } },
76122
+ required: ["ok"],
76123
+ type: "object"
76124
+ }
76125
+ }
76126
+ },
76127
+ description: "OK"
76128
+ },
76129
+ 400: { description: "Bad Request" },
76130
+ 401: { description: "Unauthorized" }
76131
+ },
76132
+ security: [
76133
+ { pat_with_workspace: [] },
76134
+ { console_session_with_workspace: [] },
76135
+ { api_key: [] },
76136
+ { client_session_with_customer: [] }
76137
+ ],
76138
+ summary: "/spaces/remove_connected_account",
76139
+ tags: [],
76140
+ "x-fern-sdk-group-name": ["spaces"],
76141
+ "x-fern-sdk-method-name": "remove_connected_account",
76142
+ "x-response-key": null,
76143
+ "x-title": "Remove a Connected Account from a Space"
76144
+ }
76145
+ },
75926
76146
  "/spaces/remove_devices": {
75927
76147
  delete: {
75928
76148
  description: "Removes devices from a specific space.",