@seamapi/http 1.35.1 → 1.36.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.
@@ -0,0 +1,1942 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+
6
+ import { seamApiLtsVersion } from 'lib/lts-version.js'
7
+ import {
8
+ getAuthHeadersForClientSessionToken,
9
+ warnOnInsecureuserIdentifierKey,
10
+ } from 'lib/seam/connect/auth.js'
11
+ import { type Client, createClient } from 'lib/seam/connect/client.js'
12
+ import {
13
+ isSeamHttpOptionsWithApiKey,
14
+ isSeamHttpOptionsWithClient,
15
+ isSeamHttpOptionsWithClientSessionToken,
16
+ isSeamHttpOptionsWithConsoleSessionToken,
17
+ isSeamHttpOptionsWithPersonalAccessToken,
18
+ type SeamHttpFromPublishableKeyOptions,
19
+ SeamHttpInvalidOptionsError,
20
+ type SeamHttpOptions,
21
+ type SeamHttpOptionsWithApiKey,
22
+ type SeamHttpOptionsWithClient,
23
+ type SeamHttpOptionsWithClientSessionToken,
24
+ type SeamHttpOptionsWithConsoleSessionToken,
25
+ type SeamHttpOptionsWithPersonalAccessToken,
26
+ type SeamHttpRequestOptions,
27
+ } from 'lib/seam/connect/options.js'
28
+ import {
29
+ limitToSeamHttpRequestOptions,
30
+ parseOptions,
31
+ } from 'lib/seam/connect/parse-options.js'
32
+ import type { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
33
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
+
35
+ import { SeamHttpAccessCodes } from './access-codes/index.js'
36
+ import { SeamHttpAccessCodesSimulate } from './access-codes/simulate/index.js'
37
+ import { SeamHttpAccessCodesUnmanaged } from './access-codes/unmanaged/index.js'
38
+ import { SeamHttpAccessGrants } from './access-grants/index.js'
39
+ import { SeamHttpAccessMethods } from './access-methods/index.js'
40
+ import { SeamHttpAcsAccessGroups } from './acs/access-groups/index.js'
41
+ import { SeamHttpAcsCredentials } from './acs/credentials/index.js'
42
+ import { SeamHttpAcsEncoders } from './acs/encoders/index.js'
43
+ import { SeamHttpAcsEncodersSimulate } from './acs/encoders/simulate/index.js'
44
+ import { SeamHttpAcsEntrances } from './acs/entrances/index.js'
45
+ import { SeamHttpAcsSystems } from './acs/systems/index.js'
46
+ import { SeamHttpAcsUsers } from './acs/users/index.js'
47
+ import { SeamHttpActionAttempts } from './action-attempts/index.js'
48
+ import { SeamHttpClientSessions } from './client-sessions/index.js'
49
+ import { SeamHttpConnectWebviews } from './connect-webviews/index.js'
50
+ import { SeamHttpConnectedAccounts } from './connected-accounts/index.js'
51
+ import { SeamHttpDevices } from './devices/index.js'
52
+ import { SeamHttpDevicesSimulate } from './devices/simulate/index.js'
53
+ import { SeamHttpDevicesUnmanaged } from './devices/unmanaged/index.js'
54
+ import { SeamHttpEvents } from './events/index.js'
55
+ import { SeamHttpLocks } from './locks/index.js'
56
+ import { SeamHttpNoiseSensors } from './noise-sensors/index.js'
57
+ import { SeamHttpNoiseSensorsNoiseThresholds } from './noise-sensors/noise-thresholds/index.js'
58
+ import { SeamHttpNoiseSensorsSimulate } from './noise-sensors/simulate/index.js'
59
+ import { SeamHttpPhones } from './phones/index.js'
60
+ import { SeamHttpPhonesSimulate } from './phones/simulate/index.js'
61
+ import { SeamHttpSpaces } from './spaces/index.js'
62
+ import { SeamHttpThermostatsDailyPrograms } from './thermostats/daily-programs/index.js'
63
+ import { SeamHttpThermostats } from './thermostats/index.js'
64
+ import { SeamHttpThermostatsSchedules } from './thermostats/schedules/index.js'
65
+ import { SeamHttpThermostatsSimulate } from './thermostats/simulate/index.js'
66
+ import { SeamHttpUserIdentitiesEnrollmentAutomations } from './user-identities/enrollment-automations/index.js'
67
+ import { SeamHttpUserIdentities } from './user-identities/index.js'
68
+ import { SeamHttpWebhooks } from './webhooks/index.js'
69
+ import { SeamHttpWorkspaces } from './workspaces/index.js'
70
+
71
+ export class SeamHttpEndpoints {
72
+ client: Client
73
+ readonly defaults: Required<SeamHttpRequestOptions>
74
+ readonly ltsVersion = seamApiLtsVersion
75
+ static ltsVersion = seamApiLtsVersion
76
+
77
+ constructor(apiKeyOrOptions: string | SeamHttpOptions = {}) {
78
+ const options = parseOptions(apiKeyOrOptions)
79
+ this.client = 'client' in options ? options.client : createClient(options)
80
+ this.defaults = limitToSeamHttpRequestOptions(options)
81
+ }
82
+
83
+ static fromClient(
84
+ client: SeamHttpOptionsWithClient['client'],
85
+ options: Omit<SeamHttpOptionsWithClient, 'client'> = {},
86
+ ): SeamHttpEndpoints {
87
+ const constructorOptions = { ...options, client }
88
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
89
+ throw new SeamHttpInvalidOptionsError('Missing client')
90
+ }
91
+ return new SeamHttpEndpoints(constructorOptions)
92
+ }
93
+
94
+ static fromApiKey(
95
+ apiKey: SeamHttpOptionsWithApiKey['apiKey'],
96
+ options: Omit<SeamHttpOptionsWithApiKey, 'apiKey'> = {},
97
+ ): SeamHttpEndpoints {
98
+ const constructorOptions = { ...options, apiKey }
99
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
100
+ throw new SeamHttpInvalidOptionsError('Missing apiKey')
101
+ }
102
+ return new SeamHttpEndpoints(constructorOptions)
103
+ }
104
+
105
+ static fromClientSessionToken(
106
+ clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
107
+ options: Omit<
108
+ SeamHttpOptionsWithClientSessionToken,
109
+ 'clientSessionToken'
110
+ > = {},
111
+ ): SeamHttpEndpoints {
112
+ const constructorOptions = { ...options, clientSessionToken }
113
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
114
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken')
115
+ }
116
+ return new SeamHttpEndpoints(constructorOptions)
117
+ }
118
+
119
+ static async fromPublishableKey(
120
+ publishableKey: string,
121
+ userIdentifierKey: string,
122
+ options: SeamHttpFromPublishableKeyOptions = {},
123
+ ): Promise<SeamHttpEndpoints> {
124
+ warnOnInsecureuserIdentifierKey(userIdentifierKey)
125
+ const clientOptions = parseOptions({ ...options, publishableKey })
126
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
127
+ throw new SeamHttpInvalidOptionsError(
128
+ 'The client option cannot be used with SeamHttpEndpoints.fromPublishableKey',
129
+ )
130
+ }
131
+ const client = createClient(clientOptions)
132
+ const clientSessions = SeamHttpClientSessions.fromClient(client)
133
+ const { token } = await clientSessions.getOrCreate({
134
+ user_identifier_key: userIdentifierKey,
135
+ })
136
+ return SeamHttpEndpoints.fromClientSessionToken(token, options)
137
+ }
138
+
139
+ static fromConsoleSessionToken(
140
+ consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'],
141
+ workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'],
142
+ options: Omit<
143
+ SeamHttpOptionsWithConsoleSessionToken,
144
+ 'consoleSessionToken' | 'workspaceId'
145
+ > = {},
146
+ ): SeamHttpEndpoints {
147
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId }
148
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
149
+ throw new SeamHttpInvalidOptionsError(
150
+ 'Missing consoleSessionToken or workspaceId',
151
+ )
152
+ }
153
+ return new SeamHttpEndpoints(constructorOptions)
154
+ }
155
+
156
+ static fromPersonalAccessToken(
157
+ personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'],
158
+ workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'],
159
+ options: Omit<
160
+ SeamHttpOptionsWithPersonalAccessToken,
161
+ 'personalAccessToken' | 'workspaceId'
162
+ > = {},
163
+ ): SeamHttpEndpoints {
164
+ const constructorOptions = { ...options, personalAccessToken, workspaceId }
165
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
166
+ throw new SeamHttpInvalidOptionsError(
167
+ 'Missing personalAccessToken or workspaceId',
168
+ )
169
+ }
170
+ return new SeamHttpEndpoints(constructorOptions)
171
+ }
172
+
173
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
174
+ request: SeamHttpRequest<TResponse, TResponseKey>,
175
+ ): SeamPaginator<TResponse, TResponseKey> {
176
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
177
+ }
178
+
179
+ async updateClientSessionToken(
180
+ clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
181
+ ): Promise<void> {
182
+ const { headers } = this.client.defaults
183
+ const authHeaders = getAuthHeadersForClientSessionToken({
184
+ clientSessionToken,
185
+ })
186
+ for (const key of Object.keys(authHeaders)) {
187
+ if (headers[key] == null) {
188
+ throw new Error(
189
+ 'Cannot update a clientSessionToken on a client created without a clientSessionToken',
190
+ )
191
+ }
192
+ }
193
+ this.client.defaults.headers = { ...headers, ...authHeaders }
194
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client)
195
+ await clientSessions.get()
196
+ }
197
+
198
+ get ['/access_codes/create'](): SeamHttpAccessCodes['create'] {
199
+ const { client, defaults } = this
200
+ return function accessCodesCreate(
201
+ ...args: Parameters<SeamHttpAccessCodes['create']>
202
+ ): ReturnType<SeamHttpAccessCodes['create']> {
203
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
204
+ return seam.create(...args)
205
+ }
206
+ }
207
+
208
+ get ['/access_codes/create_multiple'](): SeamHttpAccessCodes['createMultiple'] {
209
+ const { client, defaults } = this
210
+ return function accessCodesCreateMultiple(
211
+ ...args: Parameters<SeamHttpAccessCodes['createMultiple']>
212
+ ): ReturnType<SeamHttpAccessCodes['createMultiple']> {
213
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
214
+ return seam.createMultiple(...args)
215
+ }
216
+ }
217
+
218
+ get ['/access_codes/delete'](): SeamHttpAccessCodes['delete'] {
219
+ const { client, defaults } = this
220
+ return function accessCodesDelete(
221
+ ...args: Parameters<SeamHttpAccessCodes['delete']>
222
+ ): ReturnType<SeamHttpAccessCodes['delete']> {
223
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
224
+ return seam.delete(...args)
225
+ }
226
+ }
227
+
228
+ get ['/access_codes/generate_code'](): SeamHttpAccessCodes['generateCode'] {
229
+ const { client, defaults } = this
230
+ return function accessCodesGenerateCode(
231
+ ...args: Parameters<SeamHttpAccessCodes['generateCode']>
232
+ ): ReturnType<SeamHttpAccessCodes['generateCode']> {
233
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
234
+ return seam.generateCode(...args)
235
+ }
236
+ }
237
+
238
+ get ['/access_codes/get'](): SeamHttpAccessCodes['get'] {
239
+ const { client, defaults } = this
240
+ return function accessCodesGet(
241
+ ...args: Parameters<SeamHttpAccessCodes['get']>
242
+ ): ReturnType<SeamHttpAccessCodes['get']> {
243
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
244
+ return seam.get(...args)
245
+ }
246
+ }
247
+
248
+ get ['/access_codes/list'](): SeamHttpAccessCodes['list'] {
249
+ const { client, defaults } = this
250
+ return function accessCodesList(
251
+ ...args: Parameters<SeamHttpAccessCodes['list']>
252
+ ): ReturnType<SeamHttpAccessCodes['list']> {
253
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
254
+ return seam.list(...args)
255
+ }
256
+ }
257
+
258
+ get ['/access_codes/pull_backup_access_code'](): SeamHttpAccessCodes['pullBackupAccessCode'] {
259
+ const { client, defaults } = this
260
+ return function accessCodesPullBackupAccessCode(
261
+ ...args: Parameters<SeamHttpAccessCodes['pullBackupAccessCode']>
262
+ ): ReturnType<SeamHttpAccessCodes['pullBackupAccessCode']> {
263
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
264
+ return seam.pullBackupAccessCode(...args)
265
+ }
266
+ }
267
+
268
+ get ['/access_codes/report_device_constraints'](): SeamHttpAccessCodes['reportDeviceConstraints'] {
269
+ const { client, defaults } = this
270
+ return function accessCodesReportDeviceConstraints(
271
+ ...args: Parameters<SeamHttpAccessCodes['reportDeviceConstraints']>
272
+ ): ReturnType<SeamHttpAccessCodes['reportDeviceConstraints']> {
273
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
274
+ return seam.reportDeviceConstraints(...args)
275
+ }
276
+ }
277
+
278
+ get ['/access_codes/update'](): SeamHttpAccessCodes['update'] {
279
+ const { client, defaults } = this
280
+ return function accessCodesUpdate(
281
+ ...args: Parameters<SeamHttpAccessCodes['update']>
282
+ ): ReturnType<SeamHttpAccessCodes['update']> {
283
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
284
+ return seam.update(...args)
285
+ }
286
+ }
287
+
288
+ get ['/access_codes/update_multiple'](): SeamHttpAccessCodes['updateMultiple'] {
289
+ const { client, defaults } = this
290
+ return function accessCodesUpdateMultiple(
291
+ ...args: Parameters<SeamHttpAccessCodes['updateMultiple']>
292
+ ): ReturnType<SeamHttpAccessCodes['updateMultiple']> {
293
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults)
294
+ return seam.updateMultiple(...args)
295
+ }
296
+ }
297
+
298
+ get ['/access_codes/simulate/create_unmanaged_access_code'](): SeamHttpAccessCodesSimulate['createUnmanagedAccessCode'] {
299
+ const { client, defaults } = this
300
+ return function accessCodesSimulateCreateUnmanagedAccessCode(
301
+ ...args: Parameters<
302
+ SeamHttpAccessCodesSimulate['createUnmanagedAccessCode']
303
+ >
304
+ ): ReturnType<SeamHttpAccessCodesSimulate['createUnmanagedAccessCode']> {
305
+ const seam = SeamHttpAccessCodesSimulate.fromClient(client, defaults)
306
+ return seam.createUnmanagedAccessCode(...args)
307
+ }
308
+ }
309
+
310
+ get ['/access_codes/unmanaged/convert_to_managed'](): SeamHttpAccessCodesUnmanaged['convertToManaged'] {
311
+ const { client, defaults } = this
312
+ return function accessCodesUnmanagedConvertToManaged(
313
+ ...args: Parameters<SeamHttpAccessCodesUnmanaged['convertToManaged']>
314
+ ): ReturnType<SeamHttpAccessCodesUnmanaged['convertToManaged']> {
315
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults)
316
+ return seam.convertToManaged(...args)
317
+ }
318
+ }
319
+
320
+ get ['/access_codes/unmanaged/delete'](): SeamHttpAccessCodesUnmanaged['delete'] {
321
+ const { client, defaults } = this
322
+ return function accessCodesUnmanagedDelete(
323
+ ...args: Parameters<SeamHttpAccessCodesUnmanaged['delete']>
324
+ ): ReturnType<SeamHttpAccessCodesUnmanaged['delete']> {
325
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults)
326
+ return seam.delete(...args)
327
+ }
328
+ }
329
+
330
+ get ['/access_codes/unmanaged/get'](): SeamHttpAccessCodesUnmanaged['get'] {
331
+ const { client, defaults } = this
332
+ return function accessCodesUnmanagedGet(
333
+ ...args: Parameters<SeamHttpAccessCodesUnmanaged['get']>
334
+ ): ReturnType<SeamHttpAccessCodesUnmanaged['get']> {
335
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults)
336
+ return seam.get(...args)
337
+ }
338
+ }
339
+
340
+ get ['/access_codes/unmanaged/list'](): SeamHttpAccessCodesUnmanaged['list'] {
341
+ const { client, defaults } = this
342
+ return function accessCodesUnmanagedList(
343
+ ...args: Parameters<SeamHttpAccessCodesUnmanaged['list']>
344
+ ): ReturnType<SeamHttpAccessCodesUnmanaged['list']> {
345
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults)
346
+ return seam.list(...args)
347
+ }
348
+ }
349
+
350
+ get ['/access_codes/unmanaged/update'](): SeamHttpAccessCodesUnmanaged['update'] {
351
+ const { client, defaults } = this
352
+ return function accessCodesUnmanagedUpdate(
353
+ ...args: Parameters<SeamHttpAccessCodesUnmanaged['update']>
354
+ ): ReturnType<SeamHttpAccessCodesUnmanaged['update']> {
355
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults)
356
+ return seam.update(...args)
357
+ }
358
+ }
359
+
360
+ get ['/access_grants/create'](): SeamHttpAccessGrants['create'] {
361
+ const { client, defaults } = this
362
+ return function accessGrantsCreate(
363
+ ...args: Parameters<SeamHttpAccessGrants['create']>
364
+ ): ReturnType<SeamHttpAccessGrants['create']> {
365
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults)
366
+ return seam.create(...args)
367
+ }
368
+ }
369
+
370
+ get ['/access_grants/delete'](): SeamHttpAccessGrants['delete'] {
371
+ const { client, defaults } = this
372
+ return function accessGrantsDelete(
373
+ ...args: Parameters<SeamHttpAccessGrants['delete']>
374
+ ): ReturnType<SeamHttpAccessGrants['delete']> {
375
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults)
376
+ return seam.delete(...args)
377
+ }
378
+ }
379
+
380
+ get ['/access_grants/get'](): SeamHttpAccessGrants['get'] {
381
+ const { client, defaults } = this
382
+ return function accessGrantsGet(
383
+ ...args: Parameters<SeamHttpAccessGrants['get']>
384
+ ): ReturnType<SeamHttpAccessGrants['get']> {
385
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults)
386
+ return seam.get(...args)
387
+ }
388
+ }
389
+
390
+ get ['/access_grants/list'](): SeamHttpAccessGrants['list'] {
391
+ const { client, defaults } = this
392
+ return function accessGrantsList(
393
+ ...args: Parameters<SeamHttpAccessGrants['list']>
394
+ ): ReturnType<SeamHttpAccessGrants['list']> {
395
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults)
396
+ return seam.list(...args)
397
+ }
398
+ }
399
+
400
+ get ['/access_grants/update'](): SeamHttpAccessGrants['update'] {
401
+ const { client, defaults } = this
402
+ return function accessGrantsUpdate(
403
+ ...args: Parameters<SeamHttpAccessGrants['update']>
404
+ ): ReturnType<SeamHttpAccessGrants['update']> {
405
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults)
406
+ return seam.update(...args)
407
+ }
408
+ }
409
+
410
+ get ['/access_methods/delete'](): SeamHttpAccessMethods['delete'] {
411
+ const { client, defaults } = this
412
+ return function accessMethodsDelete(
413
+ ...args: Parameters<SeamHttpAccessMethods['delete']>
414
+ ): ReturnType<SeamHttpAccessMethods['delete']> {
415
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults)
416
+ return seam.delete(...args)
417
+ }
418
+ }
419
+
420
+ get ['/access_methods/get'](): SeamHttpAccessMethods['get'] {
421
+ const { client, defaults } = this
422
+ return function accessMethodsGet(
423
+ ...args: Parameters<SeamHttpAccessMethods['get']>
424
+ ): ReturnType<SeamHttpAccessMethods['get']> {
425
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults)
426
+ return seam.get(...args)
427
+ }
428
+ }
429
+
430
+ get ['/access_methods/list'](): SeamHttpAccessMethods['list'] {
431
+ const { client, defaults } = this
432
+ return function accessMethodsList(
433
+ ...args: Parameters<SeamHttpAccessMethods['list']>
434
+ ): ReturnType<SeamHttpAccessMethods['list']> {
435
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults)
436
+ return seam.list(...args)
437
+ }
438
+ }
439
+
440
+ get ['/acs/access_groups/add_user'](): SeamHttpAcsAccessGroups['addUser'] {
441
+ const { client, defaults } = this
442
+ return function acsAccessGroupsAddUser(
443
+ ...args: Parameters<SeamHttpAcsAccessGroups['addUser']>
444
+ ): ReturnType<SeamHttpAcsAccessGroups['addUser']> {
445
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults)
446
+ return seam.addUser(...args)
447
+ }
448
+ }
449
+
450
+ get ['/acs/access_groups/get'](): SeamHttpAcsAccessGroups['get'] {
451
+ const { client, defaults } = this
452
+ return function acsAccessGroupsGet(
453
+ ...args: Parameters<SeamHttpAcsAccessGroups['get']>
454
+ ): ReturnType<SeamHttpAcsAccessGroups['get']> {
455
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults)
456
+ return seam.get(...args)
457
+ }
458
+ }
459
+
460
+ get ['/acs/access_groups/list'](): SeamHttpAcsAccessGroups['list'] {
461
+ const { client, defaults } = this
462
+ return function acsAccessGroupsList(
463
+ ...args: Parameters<SeamHttpAcsAccessGroups['list']>
464
+ ): ReturnType<SeamHttpAcsAccessGroups['list']> {
465
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults)
466
+ return seam.list(...args)
467
+ }
468
+ }
469
+
470
+ get ['/acs/access_groups/list_accessible_entrances'](): SeamHttpAcsAccessGroups['listAccessibleEntrances'] {
471
+ const { client, defaults } = this
472
+ return function acsAccessGroupsListAccessibleEntrances(
473
+ ...args: Parameters<SeamHttpAcsAccessGroups['listAccessibleEntrances']>
474
+ ): ReturnType<SeamHttpAcsAccessGroups['listAccessibleEntrances']> {
475
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults)
476
+ return seam.listAccessibleEntrances(...args)
477
+ }
478
+ }
479
+
480
+ get ['/acs/access_groups/list_users'](): SeamHttpAcsAccessGroups['listUsers'] {
481
+ const { client, defaults } = this
482
+ return function acsAccessGroupsListUsers(
483
+ ...args: Parameters<SeamHttpAcsAccessGroups['listUsers']>
484
+ ): ReturnType<SeamHttpAcsAccessGroups['listUsers']> {
485
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults)
486
+ return seam.listUsers(...args)
487
+ }
488
+ }
489
+
490
+ get ['/acs/access_groups/remove_user'](): SeamHttpAcsAccessGroups['removeUser'] {
491
+ const { client, defaults } = this
492
+ return function acsAccessGroupsRemoveUser(
493
+ ...args: Parameters<SeamHttpAcsAccessGroups['removeUser']>
494
+ ): ReturnType<SeamHttpAcsAccessGroups['removeUser']> {
495
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults)
496
+ return seam.removeUser(...args)
497
+ }
498
+ }
499
+
500
+ get ['/acs/credentials/assign'](): SeamHttpAcsCredentials['assign'] {
501
+ const { client, defaults } = this
502
+ return function acsCredentialsAssign(
503
+ ...args: Parameters<SeamHttpAcsCredentials['assign']>
504
+ ): ReturnType<SeamHttpAcsCredentials['assign']> {
505
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
506
+ return seam.assign(...args)
507
+ }
508
+ }
509
+
510
+ get ['/acs/credentials/create'](): SeamHttpAcsCredentials['create'] {
511
+ const { client, defaults } = this
512
+ return function acsCredentialsCreate(
513
+ ...args: Parameters<SeamHttpAcsCredentials['create']>
514
+ ): ReturnType<SeamHttpAcsCredentials['create']> {
515
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
516
+ return seam.create(...args)
517
+ }
518
+ }
519
+
520
+ get ['/acs/credentials/delete'](): SeamHttpAcsCredentials['delete'] {
521
+ const { client, defaults } = this
522
+ return function acsCredentialsDelete(
523
+ ...args: Parameters<SeamHttpAcsCredentials['delete']>
524
+ ): ReturnType<SeamHttpAcsCredentials['delete']> {
525
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
526
+ return seam.delete(...args)
527
+ }
528
+ }
529
+
530
+ get ['/acs/credentials/get'](): SeamHttpAcsCredentials['get'] {
531
+ const { client, defaults } = this
532
+ return function acsCredentialsGet(
533
+ ...args: Parameters<SeamHttpAcsCredentials['get']>
534
+ ): ReturnType<SeamHttpAcsCredentials['get']> {
535
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
536
+ return seam.get(...args)
537
+ }
538
+ }
539
+
540
+ get ['/acs/credentials/list'](): SeamHttpAcsCredentials['list'] {
541
+ const { client, defaults } = this
542
+ return function acsCredentialsList(
543
+ ...args: Parameters<SeamHttpAcsCredentials['list']>
544
+ ): ReturnType<SeamHttpAcsCredentials['list']> {
545
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
546
+ return seam.list(...args)
547
+ }
548
+ }
549
+
550
+ get ['/acs/credentials/list_accessible_entrances'](): SeamHttpAcsCredentials['listAccessibleEntrances'] {
551
+ const { client, defaults } = this
552
+ return function acsCredentialsListAccessibleEntrances(
553
+ ...args: Parameters<SeamHttpAcsCredentials['listAccessibleEntrances']>
554
+ ): ReturnType<SeamHttpAcsCredentials['listAccessibleEntrances']> {
555
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
556
+ return seam.listAccessibleEntrances(...args)
557
+ }
558
+ }
559
+
560
+ get ['/acs/credentials/unassign'](): SeamHttpAcsCredentials['unassign'] {
561
+ const { client, defaults } = this
562
+ return function acsCredentialsUnassign(
563
+ ...args: Parameters<SeamHttpAcsCredentials['unassign']>
564
+ ): ReturnType<SeamHttpAcsCredentials['unassign']> {
565
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
566
+ return seam.unassign(...args)
567
+ }
568
+ }
569
+
570
+ get ['/acs/credentials/update'](): SeamHttpAcsCredentials['update'] {
571
+ const { client, defaults } = this
572
+ return function acsCredentialsUpdate(
573
+ ...args: Parameters<SeamHttpAcsCredentials['update']>
574
+ ): ReturnType<SeamHttpAcsCredentials['update']> {
575
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults)
576
+ return seam.update(...args)
577
+ }
578
+ }
579
+
580
+ get ['/acs/encoders/encode_access_method'](): SeamHttpAcsEncoders['encodeAccessMethod'] {
581
+ const { client, defaults } = this
582
+ return function acsEncodersEncodeAccessMethod(
583
+ ...args: Parameters<SeamHttpAcsEncoders['encodeAccessMethod']>
584
+ ): ReturnType<SeamHttpAcsEncoders['encodeAccessMethod']> {
585
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults)
586
+ return seam.encodeAccessMethod(...args)
587
+ }
588
+ }
589
+
590
+ get ['/acs/encoders/encode_credential'](): SeamHttpAcsEncoders['encodeCredential'] {
591
+ const { client, defaults } = this
592
+ return function acsEncodersEncodeCredential(
593
+ ...args: Parameters<SeamHttpAcsEncoders['encodeCredential']>
594
+ ): ReturnType<SeamHttpAcsEncoders['encodeCredential']> {
595
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults)
596
+ return seam.encodeCredential(...args)
597
+ }
598
+ }
599
+
600
+ get ['/acs/encoders/get'](): SeamHttpAcsEncoders['get'] {
601
+ const { client, defaults } = this
602
+ return function acsEncodersGet(
603
+ ...args: Parameters<SeamHttpAcsEncoders['get']>
604
+ ): ReturnType<SeamHttpAcsEncoders['get']> {
605
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults)
606
+ return seam.get(...args)
607
+ }
608
+ }
609
+
610
+ get ['/acs/encoders/list'](): SeamHttpAcsEncoders['list'] {
611
+ const { client, defaults } = this
612
+ return function acsEncodersList(
613
+ ...args: Parameters<SeamHttpAcsEncoders['list']>
614
+ ): ReturnType<SeamHttpAcsEncoders['list']> {
615
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults)
616
+ return seam.list(...args)
617
+ }
618
+ }
619
+
620
+ get ['/acs/encoders/scan_credential'](): SeamHttpAcsEncoders['scanCredential'] {
621
+ const { client, defaults } = this
622
+ return function acsEncodersScanCredential(
623
+ ...args: Parameters<SeamHttpAcsEncoders['scanCredential']>
624
+ ): ReturnType<SeamHttpAcsEncoders['scanCredential']> {
625
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults)
626
+ return seam.scanCredential(...args)
627
+ }
628
+ }
629
+
630
+ get ['/acs/encoders/simulate/next_credential_encode_will_fail'](): SeamHttpAcsEncodersSimulate['nextCredentialEncodeWillFail'] {
631
+ const { client, defaults } = this
632
+ return function acsEncodersSimulateNextCredentialEncodeWillFail(
633
+ ...args: Parameters<
634
+ SeamHttpAcsEncodersSimulate['nextCredentialEncodeWillFail']
635
+ >
636
+ ): ReturnType<SeamHttpAcsEncodersSimulate['nextCredentialEncodeWillFail']> {
637
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults)
638
+ return seam.nextCredentialEncodeWillFail(...args)
639
+ }
640
+ }
641
+
642
+ get ['/acs/encoders/simulate/next_credential_encode_will_succeed'](): SeamHttpAcsEncodersSimulate['nextCredentialEncodeWillSucceed'] {
643
+ const { client, defaults } = this
644
+ return function acsEncodersSimulateNextCredentialEncodeWillSucceed(
645
+ ...args: Parameters<
646
+ SeamHttpAcsEncodersSimulate['nextCredentialEncodeWillSucceed']
647
+ >
648
+ ): ReturnType<
649
+ SeamHttpAcsEncodersSimulate['nextCredentialEncodeWillSucceed']
650
+ > {
651
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults)
652
+ return seam.nextCredentialEncodeWillSucceed(...args)
653
+ }
654
+ }
655
+
656
+ get ['/acs/encoders/simulate/next_credential_scan_will_fail'](): SeamHttpAcsEncodersSimulate['nextCredentialScanWillFail'] {
657
+ const { client, defaults } = this
658
+ return function acsEncodersSimulateNextCredentialScanWillFail(
659
+ ...args: Parameters<
660
+ SeamHttpAcsEncodersSimulate['nextCredentialScanWillFail']
661
+ >
662
+ ): ReturnType<SeamHttpAcsEncodersSimulate['nextCredentialScanWillFail']> {
663
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults)
664
+ return seam.nextCredentialScanWillFail(...args)
665
+ }
666
+ }
667
+
668
+ get ['/acs/encoders/simulate/next_credential_scan_will_succeed'](): SeamHttpAcsEncodersSimulate['nextCredentialScanWillSucceed'] {
669
+ const { client, defaults } = this
670
+ return function acsEncodersSimulateNextCredentialScanWillSucceed(
671
+ ...args: Parameters<
672
+ SeamHttpAcsEncodersSimulate['nextCredentialScanWillSucceed']
673
+ >
674
+ ): ReturnType<
675
+ SeamHttpAcsEncodersSimulate['nextCredentialScanWillSucceed']
676
+ > {
677
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults)
678
+ return seam.nextCredentialScanWillSucceed(...args)
679
+ }
680
+ }
681
+
682
+ get ['/acs/entrances/get'](): SeamHttpAcsEntrances['get'] {
683
+ const { client, defaults } = this
684
+ return function acsEntrancesGet(
685
+ ...args: Parameters<SeamHttpAcsEntrances['get']>
686
+ ): ReturnType<SeamHttpAcsEntrances['get']> {
687
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults)
688
+ return seam.get(...args)
689
+ }
690
+ }
691
+
692
+ get ['/acs/entrances/grant_access'](): SeamHttpAcsEntrances['grantAccess'] {
693
+ const { client, defaults } = this
694
+ return function acsEntrancesGrantAccess(
695
+ ...args: Parameters<SeamHttpAcsEntrances['grantAccess']>
696
+ ): ReturnType<SeamHttpAcsEntrances['grantAccess']> {
697
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults)
698
+ return seam.grantAccess(...args)
699
+ }
700
+ }
701
+
702
+ get ['/acs/entrances/list'](): SeamHttpAcsEntrances['list'] {
703
+ const { client, defaults } = this
704
+ return function acsEntrancesList(
705
+ ...args: Parameters<SeamHttpAcsEntrances['list']>
706
+ ): ReturnType<SeamHttpAcsEntrances['list']> {
707
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults)
708
+ return seam.list(...args)
709
+ }
710
+ }
711
+
712
+ get ['/acs/entrances/list_credentials_with_access'](): SeamHttpAcsEntrances['listCredentialsWithAccess'] {
713
+ const { client, defaults } = this
714
+ return function acsEntrancesListCredentialsWithAccess(
715
+ ...args: Parameters<SeamHttpAcsEntrances['listCredentialsWithAccess']>
716
+ ): ReturnType<SeamHttpAcsEntrances['listCredentialsWithAccess']> {
717
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults)
718
+ return seam.listCredentialsWithAccess(...args)
719
+ }
720
+ }
721
+
722
+ get ['/acs/systems/get'](): SeamHttpAcsSystems['get'] {
723
+ const { client, defaults } = this
724
+ return function acsSystemsGet(
725
+ ...args: Parameters<SeamHttpAcsSystems['get']>
726
+ ): ReturnType<SeamHttpAcsSystems['get']> {
727
+ const seam = SeamHttpAcsSystems.fromClient(client, defaults)
728
+ return seam.get(...args)
729
+ }
730
+ }
731
+
732
+ get ['/acs/systems/list'](): SeamHttpAcsSystems['list'] {
733
+ const { client, defaults } = this
734
+ return function acsSystemsList(
735
+ ...args: Parameters<SeamHttpAcsSystems['list']>
736
+ ): ReturnType<SeamHttpAcsSystems['list']> {
737
+ const seam = SeamHttpAcsSystems.fromClient(client, defaults)
738
+ return seam.list(...args)
739
+ }
740
+ }
741
+
742
+ get ['/acs/systems/list_compatible_credential_manager_acs_systems'](): SeamHttpAcsSystems['listCompatibleCredentialManagerAcsSystems'] {
743
+ const { client, defaults } = this
744
+ return function acsSystemsListCompatibleCredentialManagerAcsSystems(
745
+ ...args: Parameters<
746
+ SeamHttpAcsSystems['listCompatibleCredentialManagerAcsSystems']
747
+ >
748
+ ): ReturnType<
749
+ SeamHttpAcsSystems['listCompatibleCredentialManagerAcsSystems']
750
+ > {
751
+ const seam = SeamHttpAcsSystems.fromClient(client, defaults)
752
+ return seam.listCompatibleCredentialManagerAcsSystems(...args)
753
+ }
754
+ }
755
+
756
+ get ['/acs/users/add_to_access_group'](): SeamHttpAcsUsers['addToAccessGroup'] {
757
+ const { client, defaults } = this
758
+ return function acsUsersAddToAccessGroup(
759
+ ...args: Parameters<SeamHttpAcsUsers['addToAccessGroup']>
760
+ ): ReturnType<SeamHttpAcsUsers['addToAccessGroup']> {
761
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
762
+ return seam.addToAccessGroup(...args)
763
+ }
764
+ }
765
+
766
+ get ['/acs/users/create'](): SeamHttpAcsUsers['create'] {
767
+ const { client, defaults } = this
768
+ return function acsUsersCreate(
769
+ ...args: Parameters<SeamHttpAcsUsers['create']>
770
+ ): ReturnType<SeamHttpAcsUsers['create']> {
771
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
772
+ return seam.create(...args)
773
+ }
774
+ }
775
+
776
+ get ['/acs/users/delete'](): SeamHttpAcsUsers['delete'] {
777
+ const { client, defaults } = this
778
+ return function acsUsersDelete(
779
+ ...args: Parameters<SeamHttpAcsUsers['delete']>
780
+ ): ReturnType<SeamHttpAcsUsers['delete']> {
781
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
782
+ return seam.delete(...args)
783
+ }
784
+ }
785
+
786
+ get ['/acs/users/get'](): SeamHttpAcsUsers['get'] {
787
+ const { client, defaults } = this
788
+ return function acsUsersGet(
789
+ ...args: Parameters<SeamHttpAcsUsers['get']>
790
+ ): ReturnType<SeamHttpAcsUsers['get']> {
791
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
792
+ return seam.get(...args)
793
+ }
794
+ }
795
+
796
+ get ['/acs/users/list'](): SeamHttpAcsUsers['list'] {
797
+ const { client, defaults } = this
798
+ return function acsUsersList(
799
+ ...args: Parameters<SeamHttpAcsUsers['list']>
800
+ ): ReturnType<SeamHttpAcsUsers['list']> {
801
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
802
+ return seam.list(...args)
803
+ }
804
+ }
805
+
806
+ get ['/acs/users/list_accessible_entrances'](): SeamHttpAcsUsers['listAccessibleEntrances'] {
807
+ const { client, defaults } = this
808
+ return function acsUsersListAccessibleEntrances(
809
+ ...args: Parameters<SeamHttpAcsUsers['listAccessibleEntrances']>
810
+ ): ReturnType<SeamHttpAcsUsers['listAccessibleEntrances']> {
811
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
812
+ return seam.listAccessibleEntrances(...args)
813
+ }
814
+ }
815
+
816
+ get ['/acs/users/remove_from_access_group'](): SeamHttpAcsUsers['removeFromAccessGroup'] {
817
+ const { client, defaults } = this
818
+ return function acsUsersRemoveFromAccessGroup(
819
+ ...args: Parameters<SeamHttpAcsUsers['removeFromAccessGroup']>
820
+ ): ReturnType<SeamHttpAcsUsers['removeFromAccessGroup']> {
821
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
822
+ return seam.removeFromAccessGroup(...args)
823
+ }
824
+ }
825
+
826
+ get ['/acs/users/revoke_access_to_all_entrances'](): SeamHttpAcsUsers['revokeAccessToAllEntrances'] {
827
+ const { client, defaults } = this
828
+ return function acsUsersRevokeAccessToAllEntrances(
829
+ ...args: Parameters<SeamHttpAcsUsers['revokeAccessToAllEntrances']>
830
+ ): ReturnType<SeamHttpAcsUsers['revokeAccessToAllEntrances']> {
831
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
832
+ return seam.revokeAccessToAllEntrances(...args)
833
+ }
834
+ }
835
+
836
+ get ['/acs/users/suspend'](): SeamHttpAcsUsers['suspend'] {
837
+ const { client, defaults } = this
838
+ return function acsUsersSuspend(
839
+ ...args: Parameters<SeamHttpAcsUsers['suspend']>
840
+ ): ReturnType<SeamHttpAcsUsers['suspend']> {
841
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
842
+ return seam.suspend(...args)
843
+ }
844
+ }
845
+
846
+ get ['/acs/users/unsuspend'](): SeamHttpAcsUsers['unsuspend'] {
847
+ const { client, defaults } = this
848
+ return function acsUsersUnsuspend(
849
+ ...args: Parameters<SeamHttpAcsUsers['unsuspend']>
850
+ ): ReturnType<SeamHttpAcsUsers['unsuspend']> {
851
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
852
+ return seam.unsuspend(...args)
853
+ }
854
+ }
855
+
856
+ get ['/acs/users/update'](): SeamHttpAcsUsers['update'] {
857
+ const { client, defaults } = this
858
+ return function acsUsersUpdate(
859
+ ...args: Parameters<SeamHttpAcsUsers['update']>
860
+ ): ReturnType<SeamHttpAcsUsers['update']> {
861
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults)
862
+ return seam.update(...args)
863
+ }
864
+ }
865
+
866
+ get ['/action_attempts/get'](): SeamHttpActionAttempts['get'] {
867
+ const { client, defaults } = this
868
+ return function actionAttemptsGet(
869
+ ...args: Parameters<SeamHttpActionAttempts['get']>
870
+ ): ReturnType<SeamHttpActionAttempts['get']> {
871
+ const seam = SeamHttpActionAttempts.fromClient(client, defaults)
872
+ return seam.get(...args)
873
+ }
874
+ }
875
+
876
+ get ['/action_attempts/list'](): SeamHttpActionAttempts['list'] {
877
+ const { client, defaults } = this
878
+ return function actionAttemptsList(
879
+ ...args: Parameters<SeamHttpActionAttempts['list']>
880
+ ): ReturnType<SeamHttpActionAttempts['list']> {
881
+ const seam = SeamHttpActionAttempts.fromClient(client, defaults)
882
+ return seam.list(...args)
883
+ }
884
+ }
885
+
886
+ get ['/client_sessions/create'](): SeamHttpClientSessions['create'] {
887
+ const { client, defaults } = this
888
+ return function clientSessionsCreate(
889
+ ...args: Parameters<SeamHttpClientSessions['create']>
890
+ ): ReturnType<SeamHttpClientSessions['create']> {
891
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
892
+ return seam.create(...args)
893
+ }
894
+ }
895
+
896
+ get ['/client_sessions/delete'](): SeamHttpClientSessions['delete'] {
897
+ const { client, defaults } = this
898
+ return function clientSessionsDelete(
899
+ ...args: Parameters<SeamHttpClientSessions['delete']>
900
+ ): ReturnType<SeamHttpClientSessions['delete']> {
901
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
902
+ return seam.delete(...args)
903
+ }
904
+ }
905
+
906
+ get ['/client_sessions/get'](): SeamHttpClientSessions['get'] {
907
+ const { client, defaults } = this
908
+ return function clientSessionsGet(
909
+ ...args: Parameters<SeamHttpClientSessions['get']>
910
+ ): ReturnType<SeamHttpClientSessions['get']> {
911
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
912
+ return seam.get(...args)
913
+ }
914
+ }
915
+
916
+ get ['/client_sessions/get_or_create'](): SeamHttpClientSessions['getOrCreate'] {
917
+ const { client, defaults } = this
918
+ return function clientSessionsGetOrCreate(
919
+ ...args: Parameters<SeamHttpClientSessions['getOrCreate']>
920
+ ): ReturnType<SeamHttpClientSessions['getOrCreate']> {
921
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
922
+ return seam.getOrCreate(...args)
923
+ }
924
+ }
925
+
926
+ get ['/client_sessions/grant_access'](): SeamHttpClientSessions['grantAccess'] {
927
+ const { client, defaults } = this
928
+ return function clientSessionsGrantAccess(
929
+ ...args: Parameters<SeamHttpClientSessions['grantAccess']>
930
+ ): ReturnType<SeamHttpClientSessions['grantAccess']> {
931
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
932
+ return seam.grantAccess(...args)
933
+ }
934
+ }
935
+
936
+ get ['/client_sessions/list'](): SeamHttpClientSessions['list'] {
937
+ const { client, defaults } = this
938
+ return function clientSessionsList(
939
+ ...args: Parameters<SeamHttpClientSessions['list']>
940
+ ): ReturnType<SeamHttpClientSessions['list']> {
941
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
942
+ return seam.list(...args)
943
+ }
944
+ }
945
+
946
+ get ['/client_sessions/revoke'](): SeamHttpClientSessions['revoke'] {
947
+ const { client, defaults } = this
948
+ return function clientSessionsRevoke(
949
+ ...args: Parameters<SeamHttpClientSessions['revoke']>
950
+ ): ReturnType<SeamHttpClientSessions['revoke']> {
951
+ const seam = SeamHttpClientSessions.fromClient(client, defaults)
952
+ return seam.revoke(...args)
953
+ }
954
+ }
955
+
956
+ get ['/connect_webviews/create'](): SeamHttpConnectWebviews['create'] {
957
+ const { client, defaults } = this
958
+ return function connectWebviewsCreate(
959
+ ...args: Parameters<SeamHttpConnectWebviews['create']>
960
+ ): ReturnType<SeamHttpConnectWebviews['create']> {
961
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults)
962
+ return seam.create(...args)
963
+ }
964
+ }
965
+
966
+ get ['/connect_webviews/delete'](): SeamHttpConnectWebviews['delete'] {
967
+ const { client, defaults } = this
968
+ return function connectWebviewsDelete(
969
+ ...args: Parameters<SeamHttpConnectWebviews['delete']>
970
+ ): ReturnType<SeamHttpConnectWebviews['delete']> {
971
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults)
972
+ return seam.delete(...args)
973
+ }
974
+ }
975
+
976
+ get ['/connect_webviews/get'](): SeamHttpConnectWebviews['get'] {
977
+ const { client, defaults } = this
978
+ return function connectWebviewsGet(
979
+ ...args: Parameters<SeamHttpConnectWebviews['get']>
980
+ ): ReturnType<SeamHttpConnectWebviews['get']> {
981
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults)
982
+ return seam.get(...args)
983
+ }
984
+ }
985
+
986
+ get ['/connect_webviews/list'](): SeamHttpConnectWebviews['list'] {
987
+ const { client, defaults } = this
988
+ return function connectWebviewsList(
989
+ ...args: Parameters<SeamHttpConnectWebviews['list']>
990
+ ): ReturnType<SeamHttpConnectWebviews['list']> {
991
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults)
992
+ return seam.list(...args)
993
+ }
994
+ }
995
+
996
+ get ['/connected_accounts/delete'](): SeamHttpConnectedAccounts['delete'] {
997
+ const { client, defaults } = this
998
+ return function connectedAccountsDelete(
999
+ ...args: Parameters<SeamHttpConnectedAccounts['delete']>
1000
+ ): ReturnType<SeamHttpConnectedAccounts['delete']> {
1001
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults)
1002
+ return seam.delete(...args)
1003
+ }
1004
+ }
1005
+
1006
+ get ['/connected_accounts/get'](): SeamHttpConnectedAccounts['get'] {
1007
+ const { client, defaults } = this
1008
+ return function connectedAccountsGet(
1009
+ ...args: Parameters<SeamHttpConnectedAccounts['get']>
1010
+ ): ReturnType<SeamHttpConnectedAccounts['get']> {
1011
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults)
1012
+ return seam.get(...args)
1013
+ }
1014
+ }
1015
+
1016
+ get ['/connected_accounts/list'](): SeamHttpConnectedAccounts['list'] {
1017
+ const { client, defaults } = this
1018
+ return function connectedAccountsList(
1019
+ ...args: Parameters<SeamHttpConnectedAccounts['list']>
1020
+ ): ReturnType<SeamHttpConnectedAccounts['list']> {
1021
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults)
1022
+ return seam.list(...args)
1023
+ }
1024
+ }
1025
+
1026
+ get ['/connected_accounts/sync'](): SeamHttpConnectedAccounts['sync'] {
1027
+ const { client, defaults } = this
1028
+ return function connectedAccountsSync(
1029
+ ...args: Parameters<SeamHttpConnectedAccounts['sync']>
1030
+ ): ReturnType<SeamHttpConnectedAccounts['sync']> {
1031
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults)
1032
+ return seam.sync(...args)
1033
+ }
1034
+ }
1035
+
1036
+ get ['/connected_accounts/update'](): SeamHttpConnectedAccounts['update'] {
1037
+ const { client, defaults } = this
1038
+ return function connectedAccountsUpdate(
1039
+ ...args: Parameters<SeamHttpConnectedAccounts['update']>
1040
+ ): ReturnType<SeamHttpConnectedAccounts['update']> {
1041
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults)
1042
+ return seam.update(...args)
1043
+ }
1044
+ }
1045
+
1046
+ get ['/devices/get'](): SeamHttpDevices['get'] {
1047
+ const { client, defaults } = this
1048
+ return function devicesGet(
1049
+ ...args: Parameters<SeamHttpDevices['get']>
1050
+ ): ReturnType<SeamHttpDevices['get']> {
1051
+ const seam = SeamHttpDevices.fromClient(client, defaults)
1052
+ return seam.get(...args)
1053
+ }
1054
+ }
1055
+
1056
+ get ['/devices/list'](): SeamHttpDevices['list'] {
1057
+ const { client, defaults } = this
1058
+ return function devicesList(
1059
+ ...args: Parameters<SeamHttpDevices['list']>
1060
+ ): ReturnType<SeamHttpDevices['list']> {
1061
+ const seam = SeamHttpDevices.fromClient(client, defaults)
1062
+ return seam.list(...args)
1063
+ }
1064
+ }
1065
+
1066
+ get ['/devices/list_device_providers'](): SeamHttpDevices['listDeviceProviders'] {
1067
+ const { client, defaults } = this
1068
+ return function devicesListDeviceProviders(
1069
+ ...args: Parameters<SeamHttpDevices['listDeviceProviders']>
1070
+ ): ReturnType<SeamHttpDevices['listDeviceProviders']> {
1071
+ const seam = SeamHttpDevices.fromClient(client, defaults)
1072
+ return seam.listDeviceProviders(...args)
1073
+ }
1074
+ }
1075
+
1076
+ get ['/devices/update'](): SeamHttpDevices['update'] {
1077
+ const { client, defaults } = this
1078
+ return function devicesUpdate(
1079
+ ...args: Parameters<SeamHttpDevices['update']>
1080
+ ): ReturnType<SeamHttpDevices['update']> {
1081
+ const seam = SeamHttpDevices.fromClient(client, defaults)
1082
+ return seam.update(...args)
1083
+ }
1084
+ }
1085
+
1086
+ get ['/devices/simulate/connect'](): SeamHttpDevicesSimulate['connect'] {
1087
+ const { client, defaults } = this
1088
+ return function devicesSimulateConnect(
1089
+ ...args: Parameters<SeamHttpDevicesSimulate['connect']>
1090
+ ): ReturnType<SeamHttpDevicesSimulate['connect']> {
1091
+ const seam = SeamHttpDevicesSimulate.fromClient(client, defaults)
1092
+ return seam.connect(...args)
1093
+ }
1094
+ }
1095
+
1096
+ get ['/devices/simulate/disconnect'](): SeamHttpDevicesSimulate['disconnect'] {
1097
+ const { client, defaults } = this
1098
+ return function devicesSimulateDisconnect(
1099
+ ...args: Parameters<SeamHttpDevicesSimulate['disconnect']>
1100
+ ): ReturnType<SeamHttpDevicesSimulate['disconnect']> {
1101
+ const seam = SeamHttpDevicesSimulate.fromClient(client, defaults)
1102
+ return seam.disconnect(...args)
1103
+ }
1104
+ }
1105
+
1106
+ get ['/devices/simulate/remove'](): SeamHttpDevicesSimulate['remove'] {
1107
+ const { client, defaults } = this
1108
+ return function devicesSimulateRemove(
1109
+ ...args: Parameters<SeamHttpDevicesSimulate['remove']>
1110
+ ): ReturnType<SeamHttpDevicesSimulate['remove']> {
1111
+ const seam = SeamHttpDevicesSimulate.fromClient(client, defaults)
1112
+ return seam.remove(...args)
1113
+ }
1114
+ }
1115
+
1116
+ get ['/devices/unmanaged/get'](): SeamHttpDevicesUnmanaged['get'] {
1117
+ const { client, defaults } = this
1118
+ return function devicesUnmanagedGet(
1119
+ ...args: Parameters<SeamHttpDevicesUnmanaged['get']>
1120
+ ): ReturnType<SeamHttpDevicesUnmanaged['get']> {
1121
+ const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults)
1122
+ return seam.get(...args)
1123
+ }
1124
+ }
1125
+
1126
+ get ['/devices/unmanaged/list'](): SeamHttpDevicesUnmanaged['list'] {
1127
+ const { client, defaults } = this
1128
+ return function devicesUnmanagedList(
1129
+ ...args: Parameters<SeamHttpDevicesUnmanaged['list']>
1130
+ ): ReturnType<SeamHttpDevicesUnmanaged['list']> {
1131
+ const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults)
1132
+ return seam.list(...args)
1133
+ }
1134
+ }
1135
+
1136
+ get ['/devices/unmanaged/update'](): SeamHttpDevicesUnmanaged['update'] {
1137
+ const { client, defaults } = this
1138
+ return function devicesUnmanagedUpdate(
1139
+ ...args: Parameters<SeamHttpDevicesUnmanaged['update']>
1140
+ ): ReturnType<SeamHttpDevicesUnmanaged['update']> {
1141
+ const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults)
1142
+ return seam.update(...args)
1143
+ }
1144
+ }
1145
+
1146
+ get ['/events/get'](): SeamHttpEvents['get'] {
1147
+ const { client, defaults } = this
1148
+ return function eventsGet(
1149
+ ...args: Parameters<SeamHttpEvents['get']>
1150
+ ): ReturnType<SeamHttpEvents['get']> {
1151
+ const seam = SeamHttpEvents.fromClient(client, defaults)
1152
+ return seam.get(...args)
1153
+ }
1154
+ }
1155
+
1156
+ get ['/events/list'](): SeamHttpEvents['list'] {
1157
+ const { client, defaults } = this
1158
+ return function eventsList(
1159
+ ...args: Parameters<SeamHttpEvents['list']>
1160
+ ): ReturnType<SeamHttpEvents['list']> {
1161
+ const seam = SeamHttpEvents.fromClient(client, defaults)
1162
+ return seam.list(...args)
1163
+ }
1164
+ }
1165
+
1166
+ get ['/locks/get'](): SeamHttpLocks['get'] {
1167
+ const { client, defaults } = this
1168
+ return function locksGet(
1169
+ ...args: Parameters<SeamHttpLocks['get']>
1170
+ ): ReturnType<SeamHttpLocks['get']> {
1171
+ const seam = SeamHttpLocks.fromClient(client, defaults)
1172
+ return seam.get(...args)
1173
+ }
1174
+ }
1175
+
1176
+ get ['/locks/list'](): SeamHttpLocks['list'] {
1177
+ const { client, defaults } = this
1178
+ return function locksList(
1179
+ ...args: Parameters<SeamHttpLocks['list']>
1180
+ ): ReturnType<SeamHttpLocks['list']> {
1181
+ const seam = SeamHttpLocks.fromClient(client, defaults)
1182
+ return seam.list(...args)
1183
+ }
1184
+ }
1185
+
1186
+ get ['/locks/lock_door'](): SeamHttpLocks['lockDoor'] {
1187
+ const { client, defaults } = this
1188
+ return function locksLockDoor(
1189
+ ...args: Parameters<SeamHttpLocks['lockDoor']>
1190
+ ): ReturnType<SeamHttpLocks['lockDoor']> {
1191
+ const seam = SeamHttpLocks.fromClient(client, defaults)
1192
+ return seam.lockDoor(...args)
1193
+ }
1194
+ }
1195
+
1196
+ get ['/locks/unlock_door'](): SeamHttpLocks['unlockDoor'] {
1197
+ const { client, defaults } = this
1198
+ return function locksUnlockDoor(
1199
+ ...args: Parameters<SeamHttpLocks['unlockDoor']>
1200
+ ): ReturnType<SeamHttpLocks['unlockDoor']> {
1201
+ const seam = SeamHttpLocks.fromClient(client, defaults)
1202
+ return seam.unlockDoor(...args)
1203
+ }
1204
+ }
1205
+
1206
+ get ['/noise_sensors/list'](): SeamHttpNoiseSensors['list'] {
1207
+ const { client, defaults } = this
1208
+ return function noiseSensorsList(
1209
+ ...args: Parameters<SeamHttpNoiseSensors['list']>
1210
+ ): ReturnType<SeamHttpNoiseSensors['list']> {
1211
+ const seam = SeamHttpNoiseSensors.fromClient(client, defaults)
1212
+ return seam.list(...args)
1213
+ }
1214
+ }
1215
+
1216
+ get ['/noise_sensors/noise_thresholds/create'](): SeamHttpNoiseSensorsNoiseThresholds['create'] {
1217
+ const { client, defaults } = this
1218
+ return function noiseSensorsNoiseThresholdsCreate(
1219
+ ...args: Parameters<SeamHttpNoiseSensorsNoiseThresholds['create']>
1220
+ ): ReturnType<SeamHttpNoiseSensorsNoiseThresholds['create']> {
1221
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
1222
+ client,
1223
+ defaults,
1224
+ )
1225
+ return seam.create(...args)
1226
+ }
1227
+ }
1228
+
1229
+ get ['/noise_sensors/noise_thresholds/delete'](): SeamHttpNoiseSensorsNoiseThresholds['delete'] {
1230
+ const { client, defaults } = this
1231
+ return function noiseSensorsNoiseThresholdsDelete(
1232
+ ...args: Parameters<SeamHttpNoiseSensorsNoiseThresholds['delete']>
1233
+ ): ReturnType<SeamHttpNoiseSensorsNoiseThresholds['delete']> {
1234
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
1235
+ client,
1236
+ defaults,
1237
+ )
1238
+ return seam.delete(...args)
1239
+ }
1240
+ }
1241
+
1242
+ get ['/noise_sensors/noise_thresholds/get'](): SeamHttpNoiseSensorsNoiseThresholds['get'] {
1243
+ const { client, defaults } = this
1244
+ return function noiseSensorsNoiseThresholdsGet(
1245
+ ...args: Parameters<SeamHttpNoiseSensorsNoiseThresholds['get']>
1246
+ ): ReturnType<SeamHttpNoiseSensorsNoiseThresholds['get']> {
1247
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
1248
+ client,
1249
+ defaults,
1250
+ )
1251
+ return seam.get(...args)
1252
+ }
1253
+ }
1254
+
1255
+ get ['/noise_sensors/noise_thresholds/list'](): SeamHttpNoiseSensorsNoiseThresholds['list'] {
1256
+ const { client, defaults } = this
1257
+ return function noiseSensorsNoiseThresholdsList(
1258
+ ...args: Parameters<SeamHttpNoiseSensorsNoiseThresholds['list']>
1259
+ ): ReturnType<SeamHttpNoiseSensorsNoiseThresholds['list']> {
1260
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
1261
+ client,
1262
+ defaults,
1263
+ )
1264
+ return seam.list(...args)
1265
+ }
1266
+ }
1267
+
1268
+ get ['/noise_sensors/noise_thresholds/update'](): SeamHttpNoiseSensorsNoiseThresholds['update'] {
1269
+ const { client, defaults } = this
1270
+ return function noiseSensorsNoiseThresholdsUpdate(
1271
+ ...args: Parameters<SeamHttpNoiseSensorsNoiseThresholds['update']>
1272
+ ): ReturnType<SeamHttpNoiseSensorsNoiseThresholds['update']> {
1273
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
1274
+ client,
1275
+ defaults,
1276
+ )
1277
+ return seam.update(...args)
1278
+ }
1279
+ }
1280
+
1281
+ get ['/noise_sensors/simulate/trigger_noise_threshold'](): SeamHttpNoiseSensorsSimulate['triggerNoiseThreshold'] {
1282
+ const { client, defaults } = this
1283
+ return function noiseSensorsSimulateTriggerNoiseThreshold(
1284
+ ...args: Parameters<SeamHttpNoiseSensorsSimulate['triggerNoiseThreshold']>
1285
+ ): ReturnType<SeamHttpNoiseSensorsSimulate['triggerNoiseThreshold']> {
1286
+ const seam = SeamHttpNoiseSensorsSimulate.fromClient(client, defaults)
1287
+ return seam.triggerNoiseThreshold(...args)
1288
+ }
1289
+ }
1290
+
1291
+ get ['/phones/deactivate'](): SeamHttpPhones['deactivate'] {
1292
+ const { client, defaults } = this
1293
+ return function phonesDeactivate(
1294
+ ...args: Parameters<SeamHttpPhones['deactivate']>
1295
+ ): ReturnType<SeamHttpPhones['deactivate']> {
1296
+ const seam = SeamHttpPhones.fromClient(client, defaults)
1297
+ return seam.deactivate(...args)
1298
+ }
1299
+ }
1300
+
1301
+ get ['/phones/get'](): SeamHttpPhones['get'] {
1302
+ const { client, defaults } = this
1303
+ return function phonesGet(
1304
+ ...args: Parameters<SeamHttpPhones['get']>
1305
+ ): ReturnType<SeamHttpPhones['get']> {
1306
+ const seam = SeamHttpPhones.fromClient(client, defaults)
1307
+ return seam.get(...args)
1308
+ }
1309
+ }
1310
+
1311
+ get ['/phones/list'](): SeamHttpPhones['list'] {
1312
+ const { client, defaults } = this
1313
+ return function phonesList(
1314
+ ...args: Parameters<SeamHttpPhones['list']>
1315
+ ): ReturnType<SeamHttpPhones['list']> {
1316
+ const seam = SeamHttpPhones.fromClient(client, defaults)
1317
+ return seam.list(...args)
1318
+ }
1319
+ }
1320
+
1321
+ get ['/phones/simulate/create_sandbox_phone'](): SeamHttpPhonesSimulate['createSandboxPhone'] {
1322
+ const { client, defaults } = this
1323
+ return function phonesSimulateCreateSandboxPhone(
1324
+ ...args: Parameters<SeamHttpPhonesSimulate['createSandboxPhone']>
1325
+ ): ReturnType<SeamHttpPhonesSimulate['createSandboxPhone']> {
1326
+ const seam = SeamHttpPhonesSimulate.fromClient(client, defaults)
1327
+ return seam.createSandboxPhone(...args)
1328
+ }
1329
+ }
1330
+
1331
+ get ['/spaces/add_acs_entrances'](): SeamHttpSpaces['addAcsEntrances'] {
1332
+ const { client, defaults } = this
1333
+ return function spacesAddAcsEntrances(
1334
+ ...args: Parameters<SeamHttpSpaces['addAcsEntrances']>
1335
+ ): ReturnType<SeamHttpSpaces['addAcsEntrances']> {
1336
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1337
+ return seam.addAcsEntrances(...args)
1338
+ }
1339
+ }
1340
+
1341
+ get ['/spaces/add_devices'](): SeamHttpSpaces['addDevices'] {
1342
+ const { client, defaults } = this
1343
+ return function spacesAddDevices(
1344
+ ...args: Parameters<SeamHttpSpaces['addDevices']>
1345
+ ): ReturnType<SeamHttpSpaces['addDevices']> {
1346
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1347
+ return seam.addDevices(...args)
1348
+ }
1349
+ }
1350
+
1351
+ get ['/spaces/create'](): SeamHttpSpaces['create'] {
1352
+ const { client, defaults } = this
1353
+ return function spacesCreate(
1354
+ ...args: Parameters<SeamHttpSpaces['create']>
1355
+ ): ReturnType<SeamHttpSpaces['create']> {
1356
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1357
+ return seam.create(...args)
1358
+ }
1359
+ }
1360
+
1361
+ get ['/spaces/delete'](): SeamHttpSpaces['delete'] {
1362
+ const { client, defaults } = this
1363
+ return function spacesDelete(
1364
+ ...args: Parameters<SeamHttpSpaces['delete']>
1365
+ ): ReturnType<SeamHttpSpaces['delete']> {
1366
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1367
+ return seam.delete(...args)
1368
+ }
1369
+ }
1370
+
1371
+ get ['/spaces/get'](): SeamHttpSpaces['get'] {
1372
+ const { client, defaults } = this
1373
+ return function spacesGet(
1374
+ ...args: Parameters<SeamHttpSpaces['get']>
1375
+ ): ReturnType<SeamHttpSpaces['get']> {
1376
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1377
+ return seam.get(...args)
1378
+ }
1379
+ }
1380
+
1381
+ get ['/spaces/list'](): SeamHttpSpaces['list'] {
1382
+ const { client, defaults } = this
1383
+ return function spacesList(
1384
+ ...args: Parameters<SeamHttpSpaces['list']>
1385
+ ): ReturnType<SeamHttpSpaces['list']> {
1386
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1387
+ return seam.list(...args)
1388
+ }
1389
+ }
1390
+
1391
+ get ['/spaces/remove_acs_entrances'](): SeamHttpSpaces['removeAcsEntrances'] {
1392
+ const { client, defaults } = this
1393
+ return function spacesRemoveAcsEntrances(
1394
+ ...args: Parameters<SeamHttpSpaces['removeAcsEntrances']>
1395
+ ): ReturnType<SeamHttpSpaces['removeAcsEntrances']> {
1396
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1397
+ return seam.removeAcsEntrances(...args)
1398
+ }
1399
+ }
1400
+
1401
+ get ['/spaces/remove_devices'](): SeamHttpSpaces['removeDevices'] {
1402
+ const { client, defaults } = this
1403
+ return function spacesRemoveDevices(
1404
+ ...args: Parameters<SeamHttpSpaces['removeDevices']>
1405
+ ): ReturnType<SeamHttpSpaces['removeDevices']> {
1406
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1407
+ return seam.removeDevices(...args)
1408
+ }
1409
+ }
1410
+
1411
+ get ['/spaces/update'](): SeamHttpSpaces['update'] {
1412
+ const { client, defaults } = this
1413
+ return function spacesUpdate(
1414
+ ...args: Parameters<SeamHttpSpaces['update']>
1415
+ ): ReturnType<SeamHttpSpaces['update']> {
1416
+ const seam = SeamHttpSpaces.fromClient(client, defaults)
1417
+ return seam.update(...args)
1418
+ }
1419
+ }
1420
+
1421
+ get ['/thermostats/activate_climate_preset'](): SeamHttpThermostats['activateClimatePreset'] {
1422
+ const { client, defaults } = this
1423
+ return function thermostatsActivateClimatePreset(
1424
+ ...args: Parameters<SeamHttpThermostats['activateClimatePreset']>
1425
+ ): ReturnType<SeamHttpThermostats['activateClimatePreset']> {
1426
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1427
+ return seam.activateClimatePreset(...args)
1428
+ }
1429
+ }
1430
+
1431
+ get ['/thermostats/cool'](): SeamHttpThermostats['cool'] {
1432
+ const { client, defaults } = this
1433
+ return function thermostatsCool(
1434
+ ...args: Parameters<SeamHttpThermostats['cool']>
1435
+ ): ReturnType<SeamHttpThermostats['cool']> {
1436
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1437
+ return seam.cool(...args)
1438
+ }
1439
+ }
1440
+
1441
+ get ['/thermostats/create_climate_preset'](): SeamHttpThermostats['createClimatePreset'] {
1442
+ const { client, defaults } = this
1443
+ return function thermostatsCreateClimatePreset(
1444
+ ...args: Parameters<SeamHttpThermostats['createClimatePreset']>
1445
+ ): ReturnType<SeamHttpThermostats['createClimatePreset']> {
1446
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1447
+ return seam.createClimatePreset(...args)
1448
+ }
1449
+ }
1450
+
1451
+ get ['/thermostats/delete_climate_preset'](): SeamHttpThermostats['deleteClimatePreset'] {
1452
+ const { client, defaults } = this
1453
+ return function thermostatsDeleteClimatePreset(
1454
+ ...args: Parameters<SeamHttpThermostats['deleteClimatePreset']>
1455
+ ): ReturnType<SeamHttpThermostats['deleteClimatePreset']> {
1456
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1457
+ return seam.deleteClimatePreset(...args)
1458
+ }
1459
+ }
1460
+
1461
+ get ['/thermostats/heat'](): SeamHttpThermostats['heat'] {
1462
+ const { client, defaults } = this
1463
+ return function thermostatsHeat(
1464
+ ...args: Parameters<SeamHttpThermostats['heat']>
1465
+ ): ReturnType<SeamHttpThermostats['heat']> {
1466
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1467
+ return seam.heat(...args)
1468
+ }
1469
+ }
1470
+
1471
+ get ['/thermostats/heat_cool'](): SeamHttpThermostats['heatCool'] {
1472
+ const { client, defaults } = this
1473
+ return function thermostatsHeatCool(
1474
+ ...args: Parameters<SeamHttpThermostats['heatCool']>
1475
+ ): ReturnType<SeamHttpThermostats['heatCool']> {
1476
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1477
+ return seam.heatCool(...args)
1478
+ }
1479
+ }
1480
+
1481
+ get ['/thermostats/list'](): SeamHttpThermostats['list'] {
1482
+ const { client, defaults } = this
1483
+ return function thermostatsList(
1484
+ ...args: Parameters<SeamHttpThermostats['list']>
1485
+ ): ReturnType<SeamHttpThermostats['list']> {
1486
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1487
+ return seam.list(...args)
1488
+ }
1489
+ }
1490
+
1491
+ get ['/thermostats/off'](): SeamHttpThermostats['off'] {
1492
+ const { client, defaults } = this
1493
+ return function thermostatsOff(
1494
+ ...args: Parameters<SeamHttpThermostats['off']>
1495
+ ): ReturnType<SeamHttpThermostats['off']> {
1496
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1497
+ return seam.off(...args)
1498
+ }
1499
+ }
1500
+
1501
+ get ['/thermostats/set_fallback_climate_preset'](): SeamHttpThermostats['setFallbackClimatePreset'] {
1502
+ const { client, defaults } = this
1503
+ return function thermostatsSetFallbackClimatePreset(
1504
+ ...args: Parameters<SeamHttpThermostats['setFallbackClimatePreset']>
1505
+ ): ReturnType<SeamHttpThermostats['setFallbackClimatePreset']> {
1506
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1507
+ return seam.setFallbackClimatePreset(...args)
1508
+ }
1509
+ }
1510
+
1511
+ get ['/thermostats/set_fan_mode'](): SeamHttpThermostats['setFanMode'] {
1512
+ const { client, defaults } = this
1513
+ return function thermostatsSetFanMode(
1514
+ ...args: Parameters<SeamHttpThermostats['setFanMode']>
1515
+ ): ReturnType<SeamHttpThermostats['setFanMode']> {
1516
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1517
+ return seam.setFanMode(...args)
1518
+ }
1519
+ }
1520
+
1521
+ get ['/thermostats/set_hvac_mode'](): SeamHttpThermostats['setHvacMode'] {
1522
+ const { client, defaults } = this
1523
+ return function thermostatsSetHvacMode(
1524
+ ...args: Parameters<SeamHttpThermostats['setHvacMode']>
1525
+ ): ReturnType<SeamHttpThermostats['setHvacMode']> {
1526
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1527
+ return seam.setHvacMode(...args)
1528
+ }
1529
+ }
1530
+
1531
+ get ['/thermostats/set_temperature_threshold'](): SeamHttpThermostats['setTemperatureThreshold'] {
1532
+ const { client, defaults } = this
1533
+ return function thermostatsSetTemperatureThreshold(
1534
+ ...args: Parameters<SeamHttpThermostats['setTemperatureThreshold']>
1535
+ ): ReturnType<SeamHttpThermostats['setTemperatureThreshold']> {
1536
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1537
+ return seam.setTemperatureThreshold(...args)
1538
+ }
1539
+ }
1540
+
1541
+ get ['/thermostats/update_climate_preset'](): SeamHttpThermostats['updateClimatePreset'] {
1542
+ const { client, defaults } = this
1543
+ return function thermostatsUpdateClimatePreset(
1544
+ ...args: Parameters<SeamHttpThermostats['updateClimatePreset']>
1545
+ ): ReturnType<SeamHttpThermostats['updateClimatePreset']> {
1546
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1547
+ return seam.updateClimatePreset(...args)
1548
+ }
1549
+ }
1550
+
1551
+ get ['/thermostats/update_weekly_program'](): SeamHttpThermostats['updateWeeklyProgram'] {
1552
+ const { client, defaults } = this
1553
+ return function thermostatsUpdateWeeklyProgram(
1554
+ ...args: Parameters<SeamHttpThermostats['updateWeeklyProgram']>
1555
+ ): ReturnType<SeamHttpThermostats['updateWeeklyProgram']> {
1556
+ const seam = SeamHttpThermostats.fromClient(client, defaults)
1557
+ return seam.updateWeeklyProgram(...args)
1558
+ }
1559
+ }
1560
+
1561
+ get ['/thermostats/daily_programs/create'](): SeamHttpThermostatsDailyPrograms['create'] {
1562
+ const { client, defaults } = this
1563
+ return function thermostatsDailyProgramsCreate(
1564
+ ...args: Parameters<SeamHttpThermostatsDailyPrograms['create']>
1565
+ ): ReturnType<SeamHttpThermostatsDailyPrograms['create']> {
1566
+ const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults)
1567
+ return seam.create(...args)
1568
+ }
1569
+ }
1570
+
1571
+ get ['/thermostats/daily_programs/delete'](): SeamHttpThermostatsDailyPrograms['delete'] {
1572
+ const { client, defaults } = this
1573
+ return function thermostatsDailyProgramsDelete(
1574
+ ...args: Parameters<SeamHttpThermostatsDailyPrograms['delete']>
1575
+ ): ReturnType<SeamHttpThermostatsDailyPrograms['delete']> {
1576
+ const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults)
1577
+ return seam.delete(...args)
1578
+ }
1579
+ }
1580
+
1581
+ get ['/thermostats/daily_programs/update'](): SeamHttpThermostatsDailyPrograms['update'] {
1582
+ const { client, defaults } = this
1583
+ return function thermostatsDailyProgramsUpdate(
1584
+ ...args: Parameters<SeamHttpThermostatsDailyPrograms['update']>
1585
+ ): ReturnType<SeamHttpThermostatsDailyPrograms['update']> {
1586
+ const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults)
1587
+ return seam.update(...args)
1588
+ }
1589
+ }
1590
+
1591
+ get ['/thermostats/schedules/create'](): SeamHttpThermostatsSchedules['create'] {
1592
+ const { client, defaults } = this
1593
+ return function thermostatsSchedulesCreate(
1594
+ ...args: Parameters<SeamHttpThermostatsSchedules['create']>
1595
+ ): ReturnType<SeamHttpThermostatsSchedules['create']> {
1596
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults)
1597
+ return seam.create(...args)
1598
+ }
1599
+ }
1600
+
1601
+ get ['/thermostats/schedules/delete'](): SeamHttpThermostatsSchedules['delete'] {
1602
+ const { client, defaults } = this
1603
+ return function thermostatsSchedulesDelete(
1604
+ ...args: Parameters<SeamHttpThermostatsSchedules['delete']>
1605
+ ): ReturnType<SeamHttpThermostatsSchedules['delete']> {
1606
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults)
1607
+ return seam.delete(...args)
1608
+ }
1609
+ }
1610
+
1611
+ get ['/thermostats/schedules/get'](): SeamHttpThermostatsSchedules['get'] {
1612
+ const { client, defaults } = this
1613
+ return function thermostatsSchedulesGet(
1614
+ ...args: Parameters<SeamHttpThermostatsSchedules['get']>
1615
+ ): ReturnType<SeamHttpThermostatsSchedules['get']> {
1616
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults)
1617
+ return seam.get(...args)
1618
+ }
1619
+ }
1620
+
1621
+ get ['/thermostats/schedules/list'](): SeamHttpThermostatsSchedules['list'] {
1622
+ const { client, defaults } = this
1623
+ return function thermostatsSchedulesList(
1624
+ ...args: Parameters<SeamHttpThermostatsSchedules['list']>
1625
+ ): ReturnType<SeamHttpThermostatsSchedules['list']> {
1626
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults)
1627
+ return seam.list(...args)
1628
+ }
1629
+ }
1630
+
1631
+ get ['/thermostats/schedules/update'](): SeamHttpThermostatsSchedules['update'] {
1632
+ const { client, defaults } = this
1633
+ return function thermostatsSchedulesUpdate(
1634
+ ...args: Parameters<SeamHttpThermostatsSchedules['update']>
1635
+ ): ReturnType<SeamHttpThermostatsSchedules['update']> {
1636
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults)
1637
+ return seam.update(...args)
1638
+ }
1639
+ }
1640
+
1641
+ get ['/thermostats/simulate/hvac_mode_adjusted'](): SeamHttpThermostatsSimulate['hvacModeAdjusted'] {
1642
+ const { client, defaults } = this
1643
+ return function thermostatsSimulateHvacModeAdjusted(
1644
+ ...args: Parameters<SeamHttpThermostatsSimulate['hvacModeAdjusted']>
1645
+ ): ReturnType<SeamHttpThermostatsSimulate['hvacModeAdjusted']> {
1646
+ const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults)
1647
+ return seam.hvacModeAdjusted(...args)
1648
+ }
1649
+ }
1650
+
1651
+ get ['/thermostats/simulate/temperature_reached'](): SeamHttpThermostatsSimulate['temperatureReached'] {
1652
+ const { client, defaults } = this
1653
+ return function thermostatsSimulateTemperatureReached(
1654
+ ...args: Parameters<SeamHttpThermostatsSimulate['temperatureReached']>
1655
+ ): ReturnType<SeamHttpThermostatsSimulate['temperatureReached']> {
1656
+ const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults)
1657
+ return seam.temperatureReached(...args)
1658
+ }
1659
+ }
1660
+
1661
+ get ['/user_identities/add_acs_user'](): SeamHttpUserIdentities['addAcsUser'] {
1662
+ const { client, defaults } = this
1663
+ return function userIdentitiesAddAcsUser(
1664
+ ...args: Parameters<SeamHttpUserIdentities['addAcsUser']>
1665
+ ): ReturnType<SeamHttpUserIdentities['addAcsUser']> {
1666
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1667
+ return seam.addAcsUser(...args)
1668
+ }
1669
+ }
1670
+
1671
+ get ['/user_identities/create'](): SeamHttpUserIdentities['create'] {
1672
+ const { client, defaults } = this
1673
+ return function userIdentitiesCreate(
1674
+ ...args: Parameters<SeamHttpUserIdentities['create']>
1675
+ ): ReturnType<SeamHttpUserIdentities['create']> {
1676
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1677
+ return seam.create(...args)
1678
+ }
1679
+ }
1680
+
1681
+ get ['/user_identities/delete'](): SeamHttpUserIdentities['delete'] {
1682
+ const { client, defaults } = this
1683
+ return function userIdentitiesDelete(
1684
+ ...args: Parameters<SeamHttpUserIdentities['delete']>
1685
+ ): ReturnType<SeamHttpUserIdentities['delete']> {
1686
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1687
+ return seam.delete(...args)
1688
+ }
1689
+ }
1690
+
1691
+ get ['/user_identities/generate_instant_key'](): SeamHttpUserIdentities['generateInstantKey'] {
1692
+ const { client, defaults } = this
1693
+ return function userIdentitiesGenerateInstantKey(
1694
+ ...args: Parameters<SeamHttpUserIdentities['generateInstantKey']>
1695
+ ): ReturnType<SeamHttpUserIdentities['generateInstantKey']> {
1696
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1697
+ return seam.generateInstantKey(...args)
1698
+ }
1699
+ }
1700
+
1701
+ get ['/user_identities/get'](): SeamHttpUserIdentities['get'] {
1702
+ const { client, defaults } = this
1703
+ return function userIdentitiesGet(
1704
+ ...args: Parameters<SeamHttpUserIdentities['get']>
1705
+ ): ReturnType<SeamHttpUserIdentities['get']> {
1706
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1707
+ return seam.get(...args)
1708
+ }
1709
+ }
1710
+
1711
+ get ['/user_identities/grant_access_to_device'](): SeamHttpUserIdentities['grantAccessToDevice'] {
1712
+ const { client, defaults } = this
1713
+ return function userIdentitiesGrantAccessToDevice(
1714
+ ...args: Parameters<SeamHttpUserIdentities['grantAccessToDevice']>
1715
+ ): ReturnType<SeamHttpUserIdentities['grantAccessToDevice']> {
1716
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1717
+ return seam.grantAccessToDevice(...args)
1718
+ }
1719
+ }
1720
+
1721
+ get ['/user_identities/list'](): SeamHttpUserIdentities['list'] {
1722
+ const { client, defaults } = this
1723
+ return function userIdentitiesList(
1724
+ ...args: Parameters<SeamHttpUserIdentities['list']>
1725
+ ): ReturnType<SeamHttpUserIdentities['list']> {
1726
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1727
+ return seam.list(...args)
1728
+ }
1729
+ }
1730
+
1731
+ get ['/user_identities/list_accessible_devices'](): SeamHttpUserIdentities['listAccessibleDevices'] {
1732
+ const { client, defaults } = this
1733
+ return function userIdentitiesListAccessibleDevices(
1734
+ ...args: Parameters<SeamHttpUserIdentities['listAccessibleDevices']>
1735
+ ): ReturnType<SeamHttpUserIdentities['listAccessibleDevices']> {
1736
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1737
+ return seam.listAccessibleDevices(...args)
1738
+ }
1739
+ }
1740
+
1741
+ get ['/user_identities/list_acs_systems'](): SeamHttpUserIdentities['listAcsSystems'] {
1742
+ const { client, defaults } = this
1743
+ return function userIdentitiesListAcsSystems(
1744
+ ...args: Parameters<SeamHttpUserIdentities['listAcsSystems']>
1745
+ ): ReturnType<SeamHttpUserIdentities['listAcsSystems']> {
1746
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1747
+ return seam.listAcsSystems(...args)
1748
+ }
1749
+ }
1750
+
1751
+ get ['/user_identities/list_acs_users'](): SeamHttpUserIdentities['listAcsUsers'] {
1752
+ const { client, defaults } = this
1753
+ return function userIdentitiesListAcsUsers(
1754
+ ...args: Parameters<SeamHttpUserIdentities['listAcsUsers']>
1755
+ ): ReturnType<SeamHttpUserIdentities['listAcsUsers']> {
1756
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1757
+ return seam.listAcsUsers(...args)
1758
+ }
1759
+ }
1760
+
1761
+ get ['/user_identities/remove_acs_user'](): SeamHttpUserIdentities['removeAcsUser'] {
1762
+ const { client, defaults } = this
1763
+ return function userIdentitiesRemoveAcsUser(
1764
+ ...args: Parameters<SeamHttpUserIdentities['removeAcsUser']>
1765
+ ): ReturnType<SeamHttpUserIdentities['removeAcsUser']> {
1766
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1767
+ return seam.removeAcsUser(...args)
1768
+ }
1769
+ }
1770
+
1771
+ get ['/user_identities/revoke_access_to_device'](): SeamHttpUserIdentities['revokeAccessToDevice'] {
1772
+ const { client, defaults } = this
1773
+ return function userIdentitiesRevokeAccessToDevice(
1774
+ ...args: Parameters<SeamHttpUserIdentities['revokeAccessToDevice']>
1775
+ ): ReturnType<SeamHttpUserIdentities['revokeAccessToDevice']> {
1776
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1777
+ return seam.revokeAccessToDevice(...args)
1778
+ }
1779
+ }
1780
+
1781
+ get ['/user_identities/update'](): SeamHttpUserIdentities['update'] {
1782
+ const { client, defaults } = this
1783
+ return function userIdentitiesUpdate(
1784
+ ...args: Parameters<SeamHttpUserIdentities['update']>
1785
+ ): ReturnType<SeamHttpUserIdentities['update']> {
1786
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults)
1787
+ return seam.update(...args)
1788
+ }
1789
+ }
1790
+
1791
+ get ['/user_identities/enrollment_automations/delete'](): SeamHttpUserIdentitiesEnrollmentAutomations['delete'] {
1792
+ const { client, defaults } = this
1793
+ return function userIdentitiesEnrollmentAutomationsDelete(
1794
+ ...args: Parameters<SeamHttpUserIdentitiesEnrollmentAutomations['delete']>
1795
+ ): ReturnType<SeamHttpUserIdentitiesEnrollmentAutomations['delete']> {
1796
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
1797
+ client,
1798
+ defaults,
1799
+ )
1800
+ return seam.delete(...args)
1801
+ }
1802
+ }
1803
+
1804
+ get ['/user_identities/enrollment_automations/get'](): SeamHttpUserIdentitiesEnrollmentAutomations['get'] {
1805
+ const { client, defaults } = this
1806
+ return function userIdentitiesEnrollmentAutomationsGet(
1807
+ ...args: Parameters<SeamHttpUserIdentitiesEnrollmentAutomations['get']>
1808
+ ): ReturnType<SeamHttpUserIdentitiesEnrollmentAutomations['get']> {
1809
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
1810
+ client,
1811
+ defaults,
1812
+ )
1813
+ return seam.get(...args)
1814
+ }
1815
+ }
1816
+
1817
+ get ['/user_identities/enrollment_automations/launch'](): SeamHttpUserIdentitiesEnrollmentAutomations['launch'] {
1818
+ const { client, defaults } = this
1819
+ return function userIdentitiesEnrollmentAutomationsLaunch(
1820
+ ...args: Parameters<SeamHttpUserIdentitiesEnrollmentAutomations['launch']>
1821
+ ): ReturnType<SeamHttpUserIdentitiesEnrollmentAutomations['launch']> {
1822
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
1823
+ client,
1824
+ defaults,
1825
+ )
1826
+ return seam.launch(...args)
1827
+ }
1828
+ }
1829
+
1830
+ get ['/user_identities/enrollment_automations/list'](): SeamHttpUserIdentitiesEnrollmentAutomations['list'] {
1831
+ const { client, defaults } = this
1832
+ return function userIdentitiesEnrollmentAutomationsList(
1833
+ ...args: Parameters<SeamHttpUserIdentitiesEnrollmentAutomations['list']>
1834
+ ): ReturnType<SeamHttpUserIdentitiesEnrollmentAutomations['list']> {
1835
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
1836
+ client,
1837
+ defaults,
1838
+ )
1839
+ return seam.list(...args)
1840
+ }
1841
+ }
1842
+
1843
+ get ['/webhooks/create'](): SeamHttpWebhooks['create'] {
1844
+ const { client, defaults } = this
1845
+ return function webhooksCreate(
1846
+ ...args: Parameters<SeamHttpWebhooks['create']>
1847
+ ): ReturnType<SeamHttpWebhooks['create']> {
1848
+ const seam = SeamHttpWebhooks.fromClient(client, defaults)
1849
+ return seam.create(...args)
1850
+ }
1851
+ }
1852
+
1853
+ get ['/webhooks/delete'](): SeamHttpWebhooks['delete'] {
1854
+ const { client, defaults } = this
1855
+ return function webhooksDelete(
1856
+ ...args: Parameters<SeamHttpWebhooks['delete']>
1857
+ ): ReturnType<SeamHttpWebhooks['delete']> {
1858
+ const seam = SeamHttpWebhooks.fromClient(client, defaults)
1859
+ return seam.delete(...args)
1860
+ }
1861
+ }
1862
+
1863
+ get ['/webhooks/get'](): SeamHttpWebhooks['get'] {
1864
+ const { client, defaults } = this
1865
+ return function webhooksGet(
1866
+ ...args: Parameters<SeamHttpWebhooks['get']>
1867
+ ): ReturnType<SeamHttpWebhooks['get']> {
1868
+ const seam = SeamHttpWebhooks.fromClient(client, defaults)
1869
+ return seam.get(...args)
1870
+ }
1871
+ }
1872
+
1873
+ get ['/webhooks/list'](): SeamHttpWebhooks['list'] {
1874
+ const { client, defaults } = this
1875
+ return function webhooksList(
1876
+ ...args: Parameters<SeamHttpWebhooks['list']>
1877
+ ): ReturnType<SeamHttpWebhooks['list']> {
1878
+ const seam = SeamHttpWebhooks.fromClient(client, defaults)
1879
+ return seam.list(...args)
1880
+ }
1881
+ }
1882
+
1883
+ get ['/webhooks/update'](): SeamHttpWebhooks['update'] {
1884
+ const { client, defaults } = this
1885
+ return function webhooksUpdate(
1886
+ ...args: Parameters<SeamHttpWebhooks['update']>
1887
+ ): ReturnType<SeamHttpWebhooks['update']> {
1888
+ const seam = SeamHttpWebhooks.fromClient(client, defaults)
1889
+ return seam.update(...args)
1890
+ }
1891
+ }
1892
+
1893
+ get ['/workspaces/create'](): SeamHttpWorkspaces['create'] {
1894
+ const { client, defaults } = this
1895
+ return function workspacesCreate(
1896
+ ...args: Parameters<SeamHttpWorkspaces['create']>
1897
+ ): ReturnType<SeamHttpWorkspaces['create']> {
1898
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults)
1899
+ return seam.create(...args)
1900
+ }
1901
+ }
1902
+
1903
+ get ['/workspaces/get'](): SeamHttpWorkspaces['get'] {
1904
+ const { client, defaults } = this
1905
+ return function workspacesGet(
1906
+ ...args: Parameters<SeamHttpWorkspaces['get']>
1907
+ ): ReturnType<SeamHttpWorkspaces['get']> {
1908
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults)
1909
+ return seam.get(...args)
1910
+ }
1911
+ }
1912
+
1913
+ get ['/workspaces/list'](): SeamHttpWorkspaces['list'] {
1914
+ const { client, defaults } = this
1915
+ return function workspacesList(
1916
+ ...args: Parameters<SeamHttpWorkspaces['list']>
1917
+ ): ReturnType<SeamHttpWorkspaces['list']> {
1918
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults)
1919
+ return seam.list(...args)
1920
+ }
1921
+ }
1922
+
1923
+ get ['/workspaces/reset_sandbox'](): SeamHttpWorkspaces['resetSandbox'] {
1924
+ const { client, defaults } = this
1925
+ return function workspacesResetSandbox(
1926
+ ...args: Parameters<SeamHttpWorkspaces['resetSandbox']>
1927
+ ): ReturnType<SeamHttpWorkspaces['resetSandbox']> {
1928
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults)
1929
+ return seam.resetSandbox(...args)
1930
+ }
1931
+ }
1932
+
1933
+ get ['/workspaces/update'](): SeamHttpWorkspaces['update'] {
1934
+ const { client, defaults } = this
1935
+ return function workspacesUpdate(
1936
+ ...args: Parameters<SeamHttpWorkspaces['update']>
1937
+ ): ReturnType<SeamHttpWorkspaces['update']> {
1938
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults)
1939
+ return seam.update(...args)
1940
+ }
1941
+ }
1942
+ }