@seamapi/http 1.0.0-rc.0 → 1.0.0-rc.2
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.
- package/LICENSE.txt +1 -1
- package/README.md +40 -34
- package/dist/connect.cjs +49 -67
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1003 -59
- package/lib/seam/connect/parse-options.js +1 -1
- package/lib/seam/connect/parse-options.js.map +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +1273 -5
- package/lib/seam/connect/resolve-action-attempt.js.map +1 -1
- package/lib/seam/connect/routes/access-codes-unmanaged.d.ts +2 -2
- package/lib/seam/connect/routes/access-codes-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-codes.d.ts +2 -2
- package/lib/seam/connect/routes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/acs-access-groups.d.ts +2 -2
- package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs-credentials.d.ts +6 -2
- package/lib/seam/connect/routes/acs-credentials.js +8 -0
- package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs-systems.d.ts +4 -0
- package/lib/seam/connect/routes/acs-systems.js +8 -0
- package/lib/seam/connect/routes/acs-systems.js.map +1 -1
- package/lib/seam/connect/routes/acs-users.d.ts +6 -6
- package/lib/seam/connect/routes/acs-users.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions.d.ts +4 -4
- package/lib/seam/connect/routes/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews.d.ts +2 -2
- package/lib/seam/connect/routes/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts.d.ts +2 -2
- package/lib/seam/connect/routes/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices-simulate.d.ts +2 -2
- package/lib/seam/connect/routes/devices-simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices.d.ts +2 -2
- package/lib/seam/connect/routes/devices.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.d.ts +2 -2
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/phones.d.ts +2 -2
- package/lib/seam/connect/routes/phones.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.d.ts +2 -2
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.js.map +1 -1
- package/lib/seam/connect/routes/user-identities-enrollment-automations.d.ts +2 -2
- package/lib/seam/connect/routes/user-identities-enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities.d.ts +6 -6
- package/lib/seam/connect/routes/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks.d.ts +2 -2
- package/lib/seam/connect/routes/webhooks.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +6 -6
- package/src/lib/seam/connect/parse-options.ts +1 -1
- package/src/lib/seam/connect/resolve-action-attempt.ts +16 -9
- package/src/lib/seam/connect/routes/access-codes-unmanaged.ts +2 -2
- package/src/lib/seam/connect/routes/access-codes.ts +2 -2
- package/src/lib/seam/connect/routes/acs-access-groups.ts +2 -2
- package/src/lib/seam/connect/routes/acs-credentials.ts +25 -2
- package/src/lib/seam/connect/routes/acs-systems.ts +26 -0
- package/src/lib/seam/connect/routes/acs-users.ts +6 -6
- package/src/lib/seam/connect/routes/client-sessions.ts +4 -4
- package/src/lib/seam/connect/routes/connect-webviews.ts +2 -2
- package/src/lib/seam/connect/routes/connected-accounts.ts +4 -2
- package/src/lib/seam/connect/routes/devices-simulate.ts +2 -2
- package/src/lib/seam/connect/routes/devices.ts +2 -2
- package/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +2 -2
- package/src/lib/seam/connect/routes/phones.ts +2 -2
- package/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts +2 -2
- package/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts +2 -2
- package/src/lib/seam/connect/routes/user-identities.ts +6 -6
- package/src/lib/seam/connect/routes/webhooks.ts +2 -2
- package/src/lib/version.ts +1 -1
- package/lib/seam/connect/action-attempt-types.d.ts +0 -17
- package/lib/seam/connect/action-attempt-types.js +0 -3
- package/lib/seam/connect/action-attempt-types.js.map +0 -1
- package/src/lib/seam/connect/action-attempt-types.ts +0 -22
package/dist/connect.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RouteRequestBody, RouteResponse, openapi } from '@seamapi/types/connect';
|
|
1
|
+
import { RouteRequestBody, RouteResponse, ActionAttempt, openapi } from '@seamapi/types/connect';
|
|
2
2
|
import { AxiosInstance, AxiosRequestConfig, Method } from 'axios';
|
|
3
3
|
import { AxiosRetry } from 'axios-retry';
|
|
4
4
|
export * from '@seamapi/url-search-params-serializer';
|
|
@@ -10,18 +10,6 @@ interface ClientOptions {
|
|
|
10
10
|
}
|
|
11
11
|
type AxiosRetryConfig = Parameters<AxiosRetry>[1];
|
|
12
12
|
|
|
13
|
-
interface ActionAttempt {
|
|
14
|
-
action_attempt_id: string;
|
|
15
|
-
status: 'pending' | 'error' | 'success';
|
|
16
|
-
}
|
|
17
|
-
type FailedActionAttempt<T extends ActionAttempt> = T & {
|
|
18
|
-
status: 'error';
|
|
19
|
-
error: {
|
|
20
|
-
type: string;
|
|
21
|
-
message: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
|
|
25
13
|
interface SeamHttpRequestParent {
|
|
26
14
|
readonly client: Client;
|
|
27
15
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
@@ -81,7 +69,7 @@ declare class SeamHttpAccessCodesUnmanaged {
|
|
|
81
69
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAccessCodesUnmanaged;
|
|
82
70
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
83
71
|
convertToManaged(body?: AccessCodesUnmanagedConvertToManagedBody): SeamHttpRequest<void, undefined>;
|
|
84
|
-
delete(body?:
|
|
72
|
+
delete(body?: AccessCodesUnmanagedDeleteParams): SeamHttpRequest<void, undefined>;
|
|
85
73
|
get(body?: AccessCodesUnmanagedGetParams): SeamHttpRequest<AccessCodesUnmanagedGetResponse, 'access_code'>;
|
|
86
74
|
list(body?: AccessCodesUnmanagedListParams): SeamHttpRequest<AccessCodesUnmanagedListResponse, 'access_codes'>;
|
|
87
75
|
update(body?: AccessCodesUnmanagedUpdateBody): SeamHttpRequest<void, undefined>;
|
|
@@ -89,7 +77,7 @@ declare class SeamHttpAccessCodesUnmanaged {
|
|
|
89
77
|
type AccessCodesUnmanagedConvertToManagedBody = RouteRequestBody<'/access_codes/unmanaged/convert_to_managed'>;
|
|
90
78
|
type AccessCodesUnmanagedConvertToManagedResponse = SetNonNullable<Required<RouteResponse<'/access_codes/unmanaged/convert_to_managed'>>>;
|
|
91
79
|
type AccessCodesUnmanagedConvertToManagedOptions = never;
|
|
92
|
-
type
|
|
80
|
+
type AccessCodesUnmanagedDeleteParams = RouteRequestBody<'/access_codes/unmanaged/delete'>;
|
|
93
81
|
type AccessCodesUnmanagedDeleteResponse = SetNonNullable<Required<RouteResponse<'/access_codes/unmanaged/delete'>>>;
|
|
94
82
|
type AccessCodesUnmanagedDeleteOptions = never;
|
|
95
83
|
type AccessCodesUnmanagedGetParams = RouteRequestBody<'/access_codes/unmanaged/get'>;
|
|
@@ -117,7 +105,7 @@ declare class SeamHttpAccessCodes {
|
|
|
117
105
|
get simulate(): SeamHttpAccessCodesSimulate;
|
|
118
106
|
create(body?: AccessCodesCreateBody): SeamHttpRequest<AccessCodesCreateResponse, 'access_code'>;
|
|
119
107
|
createMultiple(body?: AccessCodesCreateMultipleBody): SeamHttpRequest<AccessCodesCreateMultipleResponse, 'access_codes'>;
|
|
120
|
-
delete(body?:
|
|
108
|
+
delete(body?: AccessCodesDeleteParams): SeamHttpRequest<void, undefined>;
|
|
121
109
|
generateCode(body?: AccessCodesGenerateCodeBody): SeamHttpRequest<AccessCodesGenerateCodeResponse, 'generated_code'>;
|
|
122
110
|
get(body?: AccessCodesGetParams): SeamHttpRequest<AccessCodesGetResponse, 'access_code'>;
|
|
123
111
|
list(body?: AccessCodesListParams): SeamHttpRequest<AccessCodesListResponse, 'access_codes'>;
|
|
@@ -130,7 +118,7 @@ type AccessCodesCreateOptions = never;
|
|
|
130
118
|
type AccessCodesCreateMultipleBody = RouteRequestBody<'/access_codes/create_multiple'>;
|
|
131
119
|
type AccessCodesCreateMultipleResponse = SetNonNullable<Required<RouteResponse<'/access_codes/create_multiple'>>>;
|
|
132
120
|
type AccessCodesCreateMultipleOptions = never;
|
|
133
|
-
type
|
|
121
|
+
type AccessCodesDeleteParams = RouteRequestBody<'/access_codes/delete'>;
|
|
134
122
|
type AccessCodesDeleteResponse = SetNonNullable<Required<RouteResponse<'/access_codes/delete'>>>;
|
|
135
123
|
type AccessCodesDeleteOptions = never;
|
|
136
124
|
type AccessCodesGenerateCodeBody = RouteRequestBody<'/access_codes/generate_code'>;
|
|
@@ -164,7 +152,7 @@ declare class SeamHttpAcsAccessGroups {
|
|
|
164
152
|
get(body?: AcsAccessGroupsGetParams): SeamHttpRequest<AcsAccessGroupsGetResponse, 'acs_access_group'>;
|
|
165
153
|
list(body?: AcsAccessGroupsListParams): SeamHttpRequest<AcsAccessGroupsListResponse, 'acs_access_groups'>;
|
|
166
154
|
listUsers(body?: AcsAccessGroupsListUsersParams): SeamHttpRequest<AcsAccessGroupsListUsersResponse, 'acs_users'>;
|
|
167
|
-
removeUser(body?:
|
|
155
|
+
removeUser(body?: AcsAccessGroupsRemoveUserParams): SeamHttpRequest<void, undefined>;
|
|
168
156
|
}
|
|
169
157
|
type AcsAccessGroupsAddUserBody = RouteRequestBody<'/acs/access_groups/add_user'>;
|
|
170
158
|
type AcsAccessGroupsAddUserResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/add_user'>>>;
|
|
@@ -178,7 +166,7 @@ type AcsAccessGroupsListOptions = never;
|
|
|
178
166
|
type AcsAccessGroupsListUsersParams = RouteRequestBody<'/acs/access_groups/list_users'>;
|
|
179
167
|
type AcsAccessGroupsListUsersResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/list_users'>>>;
|
|
180
168
|
type AcsAccessGroupsListUsersOptions = never;
|
|
181
|
-
type
|
|
169
|
+
type AcsAccessGroupsRemoveUserParams = RouteRequestBody<'/acs/access_groups/remove_user'>;
|
|
182
170
|
type AcsAccessGroupsRemoveUserResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/remove_user'>>>;
|
|
183
171
|
type AcsAccessGroupsRemoveUserOptions = never;
|
|
184
172
|
|
|
@@ -229,9 +217,10 @@ declare class SeamHttpAcsCredentials {
|
|
|
229
217
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
230
218
|
assign(body?: AcsCredentialsAssignBody): SeamHttpRequest<void, undefined>;
|
|
231
219
|
create(body?: AcsCredentialsCreateBody): SeamHttpRequest<AcsCredentialsCreateResponse, 'acs_credential'>;
|
|
232
|
-
delete(body?:
|
|
220
|
+
delete(body?: AcsCredentialsDeleteParams): SeamHttpRequest<void, undefined>;
|
|
233
221
|
get(body?: AcsCredentialsGetParams): SeamHttpRequest<AcsCredentialsGetResponse, 'acs_credential'>;
|
|
234
222
|
list(body?: AcsCredentialsListParams): SeamHttpRequest<AcsCredentialsListResponse, 'acs_credentials'>;
|
|
223
|
+
listAccessibleEntrances(body?: AcsCredentialsListAccessibleEntrancesParams): SeamHttpRequest<AcsCredentialsListAccessibleEntrancesResponse, 'acs_entrances'>;
|
|
235
224
|
unassign(body?: AcsCredentialsUnassignBody): SeamHttpRequest<void, undefined>;
|
|
236
225
|
update(body?: AcsCredentialsUpdateBody): SeamHttpRequest<void, undefined>;
|
|
237
226
|
}
|
|
@@ -241,7 +230,7 @@ type AcsCredentialsAssignOptions = never;
|
|
|
241
230
|
type AcsCredentialsCreateBody = RouteRequestBody<'/acs/credentials/create'>;
|
|
242
231
|
type AcsCredentialsCreateResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/create'>>>;
|
|
243
232
|
type AcsCredentialsCreateOptions = never;
|
|
244
|
-
type
|
|
233
|
+
type AcsCredentialsDeleteParams = RouteRequestBody<'/acs/credentials/delete'>;
|
|
245
234
|
type AcsCredentialsDeleteResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/delete'>>>;
|
|
246
235
|
type AcsCredentialsDeleteOptions = never;
|
|
247
236
|
type AcsCredentialsGetParams = RouteRequestBody<'/acs/credentials/get'>;
|
|
@@ -250,6 +239,9 @@ type AcsCredentialsGetOptions = never;
|
|
|
250
239
|
type AcsCredentialsListParams = RouteRequestBody<'/acs/credentials/list'>;
|
|
251
240
|
type AcsCredentialsListResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/list'>>>;
|
|
252
241
|
type AcsCredentialsListOptions = never;
|
|
242
|
+
type AcsCredentialsListAccessibleEntrancesParams = RouteRequestBody<'/acs/credentials/list_accessible_entrances'>;
|
|
243
|
+
type AcsCredentialsListAccessibleEntrancesResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/list_accessible_entrances'>>>;
|
|
244
|
+
type AcsCredentialsListAccessibleEntrancesOptions = never;
|
|
253
245
|
type AcsCredentialsUnassignBody = RouteRequestBody<'/acs/credentials/unassign'>;
|
|
254
246
|
type AcsCredentialsUnassignResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unassign'>>>;
|
|
255
247
|
type AcsCredentialsUnassignOptions = never;
|
|
@@ -299,6 +291,7 @@ declare class SeamHttpAcsSystems {
|
|
|
299
291
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
300
292
|
get(body?: AcsSystemsGetParams): SeamHttpRequest<AcsSystemsGetResponse, 'acs_system'>;
|
|
301
293
|
list(body?: AcsSystemsListParams): SeamHttpRequest<AcsSystemsListResponse, 'acs_systems'>;
|
|
294
|
+
listCompatibleCredentialManagerAcsSystems(body?: AcsSystemsListCompatibleCredentialManagerAcsSystemsParams): SeamHttpRequest<AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, 'acs_systems'>;
|
|
302
295
|
}
|
|
303
296
|
type AcsSystemsGetParams = RouteRequestBody<'/acs/systems/get'>;
|
|
304
297
|
type AcsSystemsGetResponse = SetNonNullable<Required<RouteResponse<'/acs/systems/get'>>>;
|
|
@@ -306,6 +299,9 @@ type AcsSystemsGetOptions = never;
|
|
|
306
299
|
type AcsSystemsListParams = RouteRequestBody<'/acs/systems/list'>;
|
|
307
300
|
type AcsSystemsListResponse = SetNonNullable<Required<RouteResponse<'/acs/systems/list'>>>;
|
|
308
301
|
type AcsSystemsListOptions = never;
|
|
302
|
+
type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams = RouteRequestBody<'/acs/systems/list_compatible_credential_manager_acs_systems'>;
|
|
303
|
+
type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse = SetNonNullable<Required<RouteResponse<'/acs/systems/list_compatible_credential_manager_acs_systems'>>>;
|
|
304
|
+
type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions = never;
|
|
309
305
|
|
|
310
306
|
declare class SeamHttpAcsUsers {
|
|
311
307
|
client: Client;
|
|
@@ -320,12 +316,12 @@ declare class SeamHttpAcsUsers {
|
|
|
320
316
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
321
317
|
addToAccessGroup(body?: AcsUsersAddToAccessGroupBody): SeamHttpRequest<void, undefined>;
|
|
322
318
|
create(body?: AcsUsersCreateBody): SeamHttpRequest<AcsUsersCreateResponse, 'acs_user'>;
|
|
323
|
-
delete(body?:
|
|
319
|
+
delete(body?: AcsUsersDeleteParams): SeamHttpRequest<void, undefined>;
|
|
324
320
|
get(body?: AcsUsersGetParams): SeamHttpRequest<AcsUsersGetResponse, 'acs_user'>;
|
|
325
321
|
list(body?: AcsUsersListParams): SeamHttpRequest<AcsUsersListResponse, 'acs_users'>;
|
|
326
322
|
listAccessibleEntrances(body?: AcsUsersListAccessibleEntrancesParams): SeamHttpRequest<AcsUsersListAccessibleEntrancesResponse, 'acs_entrances'>;
|
|
327
|
-
removeFromAccessGroup(body?:
|
|
328
|
-
revokeAccessToAllEntrances(body?:
|
|
323
|
+
removeFromAccessGroup(body?: AcsUsersRemoveFromAccessGroupParams): SeamHttpRequest<void, undefined>;
|
|
324
|
+
revokeAccessToAllEntrances(body?: AcsUsersRevokeAccessToAllEntrancesParams): SeamHttpRequest<void, undefined>;
|
|
329
325
|
suspend(body?: AcsUsersSuspendBody): SeamHttpRequest<void, undefined>;
|
|
330
326
|
unsuspend(body?: AcsUsersUnsuspendBody): SeamHttpRequest<void, undefined>;
|
|
331
327
|
update(body?: AcsUsersUpdateBody): SeamHttpRequest<void, undefined>;
|
|
@@ -336,7 +332,7 @@ type AcsUsersAddToAccessGroupOptions = never;
|
|
|
336
332
|
type AcsUsersCreateBody = RouteRequestBody<'/acs/users/create'>;
|
|
337
333
|
type AcsUsersCreateResponse = SetNonNullable<Required<RouteResponse<'/acs/users/create'>>>;
|
|
338
334
|
type AcsUsersCreateOptions = never;
|
|
339
|
-
type
|
|
335
|
+
type AcsUsersDeleteParams = RouteRequestBody<'/acs/users/delete'>;
|
|
340
336
|
type AcsUsersDeleteResponse = SetNonNullable<Required<RouteResponse<'/acs/users/delete'>>>;
|
|
341
337
|
type AcsUsersDeleteOptions = never;
|
|
342
338
|
type AcsUsersGetParams = RouteRequestBody<'/acs/users/get'>;
|
|
@@ -348,10 +344,10 @@ type AcsUsersListOptions = never;
|
|
|
348
344
|
type AcsUsersListAccessibleEntrancesParams = RouteRequestBody<'/acs/users/list_accessible_entrances'>;
|
|
349
345
|
type AcsUsersListAccessibleEntrancesResponse = SetNonNullable<Required<RouteResponse<'/acs/users/list_accessible_entrances'>>>;
|
|
350
346
|
type AcsUsersListAccessibleEntrancesOptions = never;
|
|
351
|
-
type
|
|
347
|
+
type AcsUsersRemoveFromAccessGroupParams = RouteRequestBody<'/acs/users/remove_from_access_group'>;
|
|
352
348
|
type AcsUsersRemoveFromAccessGroupResponse = SetNonNullable<Required<RouteResponse<'/acs/users/remove_from_access_group'>>>;
|
|
353
349
|
type AcsUsersRemoveFromAccessGroupOptions = never;
|
|
354
|
-
type
|
|
350
|
+
type AcsUsersRevokeAccessToAllEntrancesParams = RouteRequestBody<'/acs/users/revoke_access_to_all_entrances'>;
|
|
355
351
|
type AcsUsersRevokeAccessToAllEntrancesResponse = SetNonNullable<Required<RouteResponse<'/acs/users/revoke_access_to_all_entrances'>>>;
|
|
356
352
|
type AcsUsersRevokeAccessToAllEntrancesOptions = never;
|
|
357
353
|
type AcsUsersSuspendBody = RouteRequestBody<'/acs/users/suspend'>;
|
|
@@ -417,17 +413,17 @@ declare class SeamHttpClientSessions {
|
|
|
417
413
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpClientSessions;
|
|
418
414
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
419
415
|
create(body?: ClientSessionsCreateBody): SeamHttpRequest<ClientSessionsCreateResponse, 'client_session'>;
|
|
420
|
-
delete(body?:
|
|
416
|
+
delete(body?: ClientSessionsDeleteParams): SeamHttpRequest<void, undefined>;
|
|
421
417
|
get(body?: ClientSessionsGetParams): SeamHttpRequest<ClientSessionsGetResponse, 'client_session'>;
|
|
422
418
|
getOrCreate(body?: ClientSessionsGetOrCreateBody): SeamHttpRequest<ClientSessionsGetOrCreateResponse, 'client_session'>;
|
|
423
419
|
grantAccess(body?: ClientSessionsGrantAccessBody): SeamHttpRequest<void, undefined>;
|
|
424
420
|
list(body?: ClientSessionsListParams): SeamHttpRequest<ClientSessionsListResponse, 'client_sessions'>;
|
|
425
|
-
revoke(body?:
|
|
421
|
+
revoke(body?: ClientSessionsRevokeParams): SeamHttpRequest<void, undefined>;
|
|
426
422
|
}
|
|
427
423
|
type ClientSessionsCreateBody = RouteRequestBody<'/client_sessions/create'>;
|
|
428
424
|
type ClientSessionsCreateResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/create'>>>;
|
|
429
425
|
type ClientSessionsCreateOptions = never;
|
|
430
|
-
type
|
|
426
|
+
type ClientSessionsDeleteParams = RouteRequestBody<'/client_sessions/delete'>;
|
|
431
427
|
type ClientSessionsDeleteResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/delete'>>>;
|
|
432
428
|
type ClientSessionsDeleteOptions = never;
|
|
433
429
|
type ClientSessionsGetParams = RouteRequestBody<'/client_sessions/get'>;
|
|
@@ -442,7 +438,7 @@ type ClientSessionsGrantAccessOptions = never;
|
|
|
442
438
|
type ClientSessionsListParams = RouteRequestBody<'/client_sessions/list'>;
|
|
443
439
|
type ClientSessionsListResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/list'>>>;
|
|
444
440
|
type ClientSessionsListOptions = never;
|
|
445
|
-
type
|
|
441
|
+
type ClientSessionsRevokeParams = RouteRequestBody<'/client_sessions/revoke'>;
|
|
446
442
|
type ClientSessionsRevokeResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/revoke'>>>;
|
|
447
443
|
type ClientSessionsRevokeOptions = never;
|
|
448
444
|
|
|
@@ -458,14 +454,14 @@ declare class SeamHttpConnectWebviews {
|
|
|
458
454
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpConnectWebviews;
|
|
459
455
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
460
456
|
create(body?: ConnectWebviewsCreateBody): SeamHttpRequest<ConnectWebviewsCreateResponse, 'connect_webview'>;
|
|
461
|
-
delete(body?:
|
|
457
|
+
delete(body?: ConnectWebviewsDeleteParams): SeamHttpRequest<void, undefined>;
|
|
462
458
|
get(body?: ConnectWebviewsGetParams): SeamHttpRequest<ConnectWebviewsGetResponse, 'connect_webview'>;
|
|
463
459
|
list(body?: ConnectWebviewsListParams): SeamHttpRequest<ConnectWebviewsListResponse, 'connect_webviews'>;
|
|
464
460
|
}
|
|
465
461
|
type ConnectWebviewsCreateBody = RouteRequestBody<'/connect_webviews/create'>;
|
|
466
462
|
type ConnectWebviewsCreateResponse = SetNonNullable<Required<RouteResponse<'/connect_webviews/create'>>>;
|
|
467
463
|
type ConnectWebviewsCreateOptions = never;
|
|
468
|
-
type
|
|
464
|
+
type ConnectWebviewsDeleteParams = RouteRequestBody<'/connect_webviews/delete'>;
|
|
469
465
|
type ConnectWebviewsDeleteResponse = SetNonNullable<Required<RouteResponse<'/connect_webviews/delete'>>>;
|
|
470
466
|
type ConnectWebviewsDeleteOptions = never;
|
|
471
467
|
type ConnectWebviewsGetParams = RouteRequestBody<'/connect_webviews/get'>;
|
|
@@ -486,12 +482,12 @@ declare class SeamHttpConnectedAccounts {
|
|
|
486
482
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpConnectedAccounts;
|
|
487
483
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpConnectedAccounts;
|
|
488
484
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
489
|
-
delete(body?:
|
|
485
|
+
delete(body?: ConnectedAccountsDeleteParams): SeamHttpRequest<void, undefined>;
|
|
490
486
|
get(body?: ConnectedAccountsGetParams): SeamHttpRequest<ConnectedAccountsGetResponse, 'connected_account'>;
|
|
491
487
|
list(body?: ConnectedAccountsListParams): SeamHttpRequest<ConnectedAccountsListResponse, 'connected_accounts'>;
|
|
492
488
|
update(body?: ConnectedAccountsUpdateBody): SeamHttpRequest<ConnectedAccountsUpdateResponse, 'connected_account'>;
|
|
493
489
|
}
|
|
494
|
-
type
|
|
490
|
+
type ConnectedAccountsDeleteParams = RouteRequestBody<'/connected_accounts/delete'>;
|
|
495
491
|
type ConnectedAccountsDeleteResponse = SetNonNullable<Required<RouteResponse<'/connected_accounts/delete'>>>;
|
|
496
492
|
type ConnectedAccountsDeleteOptions = never;
|
|
497
493
|
type ConnectedAccountsGetParams = RouteRequestBody<'/connected_accounts/get'>;
|
|
@@ -515,9 +511,9 @@ declare class SeamHttpDevicesSimulate {
|
|
|
515
511
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpDevicesSimulate;
|
|
516
512
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpDevicesSimulate;
|
|
517
513
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
518
|
-
remove(body?:
|
|
514
|
+
remove(body?: DevicesSimulateRemoveParams): SeamHttpRequest<void, undefined>;
|
|
519
515
|
}
|
|
520
|
-
type
|
|
516
|
+
type DevicesSimulateRemoveParams = RouteRequestBody<'/devices/simulate/remove'>;
|
|
521
517
|
type DevicesSimulateRemoveResponse = SetNonNullable<Required<RouteResponse<'/devices/simulate/remove'>>>;
|
|
522
518
|
type DevicesSimulateRemoveOptions = never;
|
|
523
519
|
|
|
@@ -559,13 +555,13 @@ declare class SeamHttpDevices {
|
|
|
559
555
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
560
556
|
get unmanaged(): SeamHttpDevicesUnmanaged;
|
|
561
557
|
get simulate(): SeamHttpDevicesSimulate;
|
|
562
|
-
delete(body?:
|
|
558
|
+
delete(body?: DevicesDeleteParams): SeamHttpRequest<void, undefined>;
|
|
563
559
|
get(body?: DevicesGetParams): SeamHttpRequest<DevicesGetResponse, 'device'>;
|
|
564
560
|
list(body?: DevicesListParams): SeamHttpRequest<DevicesListResponse, 'devices'>;
|
|
565
561
|
listDeviceProviders(body?: DevicesListDeviceProvidersParams): SeamHttpRequest<DevicesListDeviceProvidersResponse, 'device_providers'>;
|
|
566
562
|
update(body?: DevicesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
567
563
|
}
|
|
568
|
-
type
|
|
564
|
+
type DevicesDeleteParams = RouteRequestBody<'/devices/delete'>;
|
|
569
565
|
type DevicesDeleteResponse = SetNonNullable<Required<RouteResponse<'/devices/delete'>>>;
|
|
570
566
|
type DevicesDeleteOptions = never;
|
|
571
567
|
type DevicesGetParams = RouteRequestBody<'/devices/get'>;
|
|
@@ -664,7 +660,7 @@ declare class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
664
660
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpNoiseSensorsNoiseThresholds;
|
|
665
661
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
666
662
|
create(body?: NoiseSensorsNoiseThresholdsCreateBody): SeamHttpRequest<NoiseSensorsNoiseThresholdsCreateResponse, 'noise_threshold'>;
|
|
667
|
-
delete(body?:
|
|
663
|
+
delete(body?: NoiseSensorsNoiseThresholdsDeleteParams): SeamHttpRequest<void, undefined>;
|
|
668
664
|
get(body?: NoiseSensorsNoiseThresholdsGetParams): SeamHttpRequest<NoiseSensorsNoiseThresholdsGetResponse, 'noise_threshold'>;
|
|
669
665
|
list(body?: NoiseSensorsNoiseThresholdsListParams): SeamHttpRequest<NoiseSensorsNoiseThresholdsListResponse, 'noise_thresholds'>;
|
|
670
666
|
update(body?: NoiseSensorsNoiseThresholdsUpdateBody): SeamHttpRequest<void, undefined>;
|
|
@@ -672,7 +668,7 @@ declare class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
672
668
|
type NoiseSensorsNoiseThresholdsCreateBody = RouteRequestBody<'/noise_sensors/noise_thresholds/create'>;
|
|
673
669
|
type NoiseSensorsNoiseThresholdsCreateResponse = SetNonNullable<Required<RouteResponse<'/noise_sensors/noise_thresholds/create'>>>;
|
|
674
670
|
type NoiseSensorsNoiseThresholdsCreateOptions = never;
|
|
675
|
-
type
|
|
671
|
+
type NoiseSensorsNoiseThresholdsDeleteParams = RouteRequestBody<'/noise_sensors/noise_thresholds/delete'>;
|
|
676
672
|
type NoiseSensorsNoiseThresholdsDeleteResponse = SetNonNullable<Required<RouteResponse<'/noise_sensors/noise_thresholds/delete'>>>;
|
|
677
673
|
type NoiseSensorsNoiseThresholdsDeleteOptions = never;
|
|
678
674
|
type NoiseSensorsNoiseThresholdsGetParams = RouteRequestBody<'/noise_sensors/noise_thresholds/get'>;
|
|
@@ -746,10 +742,10 @@ declare class SeamHttpPhones {
|
|
|
746
742
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpPhones;
|
|
747
743
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
748
744
|
get simulate(): SeamHttpPhonesSimulate;
|
|
749
|
-
deactivate(body?:
|
|
745
|
+
deactivate(body?: PhonesDeactivateParams): SeamHttpRequest<void, undefined>;
|
|
750
746
|
list(body?: PhonesListParams): SeamHttpRequest<PhonesListResponse, 'phones'>;
|
|
751
747
|
}
|
|
752
|
-
type
|
|
748
|
+
type PhonesDeactivateParams = RouteRequestBody<'/phones/deactivate'>;
|
|
753
749
|
type PhonesDeactivateResponse = SetNonNullable<Required<RouteResponse<'/phones/deactivate'>>>;
|
|
754
750
|
type PhonesDeactivateOptions = never;
|
|
755
751
|
type PhonesListParams = RouteRequestBody<'/phones/list'>;
|
|
@@ -768,7 +764,7 @@ declare class SeamHttpThermostatsClimateSettingSchedules {
|
|
|
768
764
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpThermostatsClimateSettingSchedules;
|
|
769
765
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
770
766
|
create(body?: ThermostatsClimateSettingSchedulesCreateBody): SeamHttpRequest<ThermostatsClimateSettingSchedulesCreateResponse, 'climate_setting_schedule'>;
|
|
771
|
-
delete(body?:
|
|
767
|
+
delete(body?: ThermostatsClimateSettingSchedulesDeleteParams): SeamHttpRequest<void, undefined>;
|
|
772
768
|
get(body?: ThermostatsClimateSettingSchedulesGetParams): SeamHttpRequest<ThermostatsClimateSettingSchedulesGetResponse, 'climate_setting_schedule'>;
|
|
773
769
|
list(body?: ThermostatsClimateSettingSchedulesListParams): SeamHttpRequest<ThermostatsClimateSettingSchedulesListResponse, 'climate_setting_schedules'>;
|
|
774
770
|
update(body?: ThermostatsClimateSettingSchedulesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
@@ -776,7 +772,7 @@ declare class SeamHttpThermostatsClimateSettingSchedules {
|
|
|
776
772
|
type ThermostatsClimateSettingSchedulesCreateBody = RouteRequestBody<'/thermostats/climate_setting_schedules/create'>;
|
|
777
773
|
type ThermostatsClimateSettingSchedulesCreateResponse = SetNonNullable<Required<RouteResponse<'/thermostats/climate_setting_schedules/create'>>>;
|
|
778
774
|
type ThermostatsClimateSettingSchedulesCreateOptions = never;
|
|
779
|
-
type
|
|
775
|
+
type ThermostatsClimateSettingSchedulesDeleteParams = RouteRequestBody<'/thermostats/climate_setting_schedules/delete'>;
|
|
780
776
|
type ThermostatsClimateSettingSchedulesDeleteResponse = SetNonNullable<Required<RouteResponse<'/thermostats/climate_setting_schedules/delete'>>>;
|
|
781
777
|
type ThermostatsClimateSettingSchedulesDeleteOptions = never;
|
|
782
778
|
type ThermostatsClimateSettingSchedulesGetParams = RouteRequestBody<'/thermostats/climate_setting_schedules/get'>;
|
|
@@ -846,12 +842,12 @@ declare class SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
|
846
842
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
847
843
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
848
844
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
849
|
-
delete(body?:
|
|
845
|
+
delete(body?: UserIdentitiesEnrollmentAutomationsDeleteParams): SeamHttpRequest<void, undefined>;
|
|
850
846
|
get(body?: UserIdentitiesEnrollmentAutomationsGetParams): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsGetResponse, 'enrollment_automation'>;
|
|
851
847
|
launch(body?: UserIdentitiesEnrollmentAutomationsLaunchBody): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsLaunchResponse, 'enrollment_automation'>;
|
|
852
848
|
list(body?: UserIdentitiesEnrollmentAutomationsListParams): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsListResponse, 'enrollment_automations'>;
|
|
853
849
|
}
|
|
854
|
-
type
|
|
850
|
+
type UserIdentitiesEnrollmentAutomationsDeleteParams = RouteRequestBody<'/user_identities/enrollment_automations/delete'>;
|
|
855
851
|
type UserIdentitiesEnrollmentAutomationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/user_identities/enrollment_automations/delete'>>>;
|
|
856
852
|
type UserIdentitiesEnrollmentAutomationsDeleteOptions = never;
|
|
857
853
|
type UserIdentitiesEnrollmentAutomationsGetParams = RouteRequestBody<'/user_identities/enrollment_automations/get'>;
|
|
@@ -878,15 +874,15 @@ declare class SeamHttpUserIdentities {
|
|
|
878
874
|
get enrollmentAutomations(): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
879
875
|
addAcsUser(body?: UserIdentitiesAddAcsUserBody): SeamHttpRequest<void, undefined>;
|
|
880
876
|
create(body?: UserIdentitiesCreateBody): SeamHttpRequest<UserIdentitiesCreateResponse, 'user_identity'>;
|
|
881
|
-
delete(body?:
|
|
877
|
+
delete(body?: UserIdentitiesDeleteParams): SeamHttpRequest<void, undefined>;
|
|
882
878
|
get(body?: UserIdentitiesGetParams): SeamHttpRequest<UserIdentitiesGetResponse, 'user_identity'>;
|
|
883
879
|
grantAccessToDevice(body?: UserIdentitiesGrantAccessToDeviceBody): SeamHttpRequest<void, undefined>;
|
|
884
880
|
list(body?: UserIdentitiesListParams): SeamHttpRequest<UserIdentitiesListResponse, 'user_identities'>;
|
|
885
881
|
listAccessibleDevices(body?: UserIdentitiesListAccessibleDevicesParams): SeamHttpRequest<UserIdentitiesListAccessibleDevicesResponse, 'devices'>;
|
|
886
882
|
listAcsSystems(body?: UserIdentitiesListAcsSystemsParams): SeamHttpRequest<UserIdentitiesListAcsSystemsResponse, 'acs_systems'>;
|
|
887
883
|
listAcsUsers(body?: UserIdentitiesListAcsUsersParams): SeamHttpRequest<UserIdentitiesListAcsUsersResponse, 'acs_users'>;
|
|
888
|
-
removeAcsUser(body?:
|
|
889
|
-
revokeAccessToDevice(body?:
|
|
884
|
+
removeAcsUser(body?: UserIdentitiesRemoveAcsUserParams): SeamHttpRequest<void, undefined>;
|
|
885
|
+
revokeAccessToDevice(body?: UserIdentitiesRevokeAccessToDeviceParams): SeamHttpRequest<void, undefined>;
|
|
890
886
|
update(body?: UserIdentitiesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
891
887
|
}
|
|
892
888
|
type UserIdentitiesAddAcsUserBody = RouteRequestBody<'/user_identities/add_acs_user'>;
|
|
@@ -895,7 +891,7 @@ type UserIdentitiesAddAcsUserOptions = never;
|
|
|
895
891
|
type UserIdentitiesCreateBody = RouteRequestBody<'/user_identities/create'>;
|
|
896
892
|
type UserIdentitiesCreateResponse = SetNonNullable<Required<RouteResponse<'/user_identities/create'>>>;
|
|
897
893
|
type UserIdentitiesCreateOptions = never;
|
|
898
|
-
type
|
|
894
|
+
type UserIdentitiesDeleteParams = RouteRequestBody<'/user_identities/delete'>;
|
|
899
895
|
type UserIdentitiesDeleteResponse = SetNonNullable<Required<RouteResponse<'/user_identities/delete'>>>;
|
|
900
896
|
type UserIdentitiesDeleteOptions = never;
|
|
901
897
|
type UserIdentitiesGetParams = RouteRequestBody<'/user_identities/get'>;
|
|
@@ -916,10 +912,10 @@ type UserIdentitiesListAcsSystemsOptions = never;
|
|
|
916
912
|
type UserIdentitiesListAcsUsersParams = RouteRequestBody<'/user_identities/list_acs_users'>;
|
|
917
913
|
type UserIdentitiesListAcsUsersResponse = SetNonNullable<Required<RouteResponse<'/user_identities/list_acs_users'>>>;
|
|
918
914
|
type UserIdentitiesListAcsUsersOptions = never;
|
|
919
|
-
type
|
|
915
|
+
type UserIdentitiesRemoveAcsUserParams = RouteRequestBody<'/user_identities/remove_acs_user'>;
|
|
920
916
|
type UserIdentitiesRemoveAcsUserResponse = SetNonNullable<Required<RouteResponse<'/user_identities/remove_acs_user'>>>;
|
|
921
917
|
type UserIdentitiesRemoveAcsUserOptions = never;
|
|
922
|
-
type
|
|
918
|
+
type UserIdentitiesRevokeAccessToDeviceParams = RouteRequestBody<'/user_identities/revoke_access_to_device'>;
|
|
923
919
|
type UserIdentitiesRevokeAccessToDeviceResponse = SetNonNullable<Required<RouteResponse<'/user_identities/revoke_access_to_device'>>>;
|
|
924
920
|
type UserIdentitiesRevokeAccessToDeviceOptions = never;
|
|
925
921
|
type UserIdentitiesUpdateBody = RouteRequestBody<'/user_identities/update'>;
|
|
@@ -938,7 +934,7 @@ declare class SeamHttpWebhooks {
|
|
|
938
934
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpWebhooks;
|
|
939
935
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
940
936
|
create(body?: WebhooksCreateBody): SeamHttpRequest<WebhooksCreateResponse, 'webhook'>;
|
|
941
|
-
delete(body?:
|
|
937
|
+
delete(body?: WebhooksDeleteParams): SeamHttpRequest<void, undefined>;
|
|
942
938
|
get(body?: WebhooksGetParams): SeamHttpRequest<WebhooksGetResponse, 'webhook'>;
|
|
943
939
|
list(body?: WebhooksListParams): SeamHttpRequest<WebhooksListResponse, 'webhooks'>;
|
|
944
940
|
update(body?: WebhooksUpdateBody): SeamHttpRequest<void, undefined>;
|
|
@@ -946,7 +942,7 @@ declare class SeamHttpWebhooks {
|
|
|
946
942
|
type WebhooksCreateBody = RouteRequestBody<'/webhooks/create'>;
|
|
947
943
|
type WebhooksCreateResponse = SetNonNullable<Required<RouteResponse<'/webhooks/create'>>>;
|
|
948
944
|
type WebhooksCreateOptions = never;
|
|
949
|
-
type
|
|
945
|
+
type WebhooksDeleteParams = RouteRequestBody<'/webhooks/delete'>;
|
|
950
946
|
type WebhooksDeleteResponse = SetNonNullable<Required<RouteResponse<'/webhooks/delete'>>>;
|
|
951
947
|
type WebhooksDeleteOptions = never;
|
|
952
948
|
type WebhooksGetParams = RouteRequestBody<'/webhooks/get'>;
|
|
@@ -992,20 +988,968 @@ interface ResolveActionAttemptOptions {
|
|
|
992
988
|
timeout?: number;
|
|
993
989
|
pollingInterval?: number;
|
|
994
990
|
}
|
|
995
|
-
declare const isSeamActionAttemptError: <T extends
|
|
991
|
+
declare const isSeamActionAttemptError: <T extends {
|
|
992
|
+
error: null;
|
|
993
|
+
status: "pending";
|
|
994
|
+
action_attempt_id: string;
|
|
995
|
+
result: null;
|
|
996
|
+
action_type: "LOCK_DOOR";
|
|
997
|
+
} | {
|
|
998
|
+
error: null;
|
|
999
|
+
status: "success";
|
|
1000
|
+
action_attempt_id: string;
|
|
1001
|
+
result: {};
|
|
1002
|
+
action_type: "LOCK_DOOR";
|
|
1003
|
+
} | {
|
|
1004
|
+
error: {
|
|
1005
|
+
type: string;
|
|
1006
|
+
message: string;
|
|
1007
|
+
};
|
|
1008
|
+
status: "error";
|
|
1009
|
+
action_attempt_id: string;
|
|
1010
|
+
result: null;
|
|
1011
|
+
action_type: "LOCK_DOOR";
|
|
1012
|
+
} | {
|
|
1013
|
+
error: null;
|
|
1014
|
+
status: "pending";
|
|
1015
|
+
action_attempt_id: string;
|
|
1016
|
+
result: null;
|
|
1017
|
+
action_type: "UNLOCK_DOOR";
|
|
1018
|
+
} | {
|
|
1019
|
+
error: null;
|
|
1020
|
+
status: "success";
|
|
1021
|
+
action_attempt_id: string;
|
|
1022
|
+
result: {};
|
|
1023
|
+
action_type: "UNLOCK_DOOR";
|
|
1024
|
+
} | {
|
|
1025
|
+
error: {
|
|
1026
|
+
type: string;
|
|
1027
|
+
message: string;
|
|
1028
|
+
};
|
|
1029
|
+
status: "error";
|
|
1030
|
+
action_attempt_id: string;
|
|
1031
|
+
result: null;
|
|
1032
|
+
action_type: "UNLOCK_DOOR";
|
|
1033
|
+
} | {
|
|
1034
|
+
error: null;
|
|
1035
|
+
status: "pending";
|
|
1036
|
+
action_attempt_id: string;
|
|
1037
|
+
result: null;
|
|
1038
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1039
|
+
} | {
|
|
1040
|
+
error: null;
|
|
1041
|
+
status: "success";
|
|
1042
|
+
action_attempt_id: string;
|
|
1043
|
+
result: {};
|
|
1044
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1045
|
+
} | {
|
|
1046
|
+
error: {
|
|
1047
|
+
type: string;
|
|
1048
|
+
message: string;
|
|
1049
|
+
};
|
|
1050
|
+
status: "error";
|
|
1051
|
+
action_attempt_id: string;
|
|
1052
|
+
result: null;
|
|
1053
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1054
|
+
} | {
|
|
1055
|
+
error: null;
|
|
1056
|
+
status: "pending";
|
|
1057
|
+
action_attempt_id: string;
|
|
1058
|
+
result: null;
|
|
1059
|
+
action_type: "SET_COOL";
|
|
1060
|
+
} | {
|
|
1061
|
+
error: null;
|
|
1062
|
+
status: "success";
|
|
1063
|
+
action_attempt_id: string;
|
|
1064
|
+
result: {};
|
|
1065
|
+
action_type: "SET_COOL";
|
|
1066
|
+
} | {
|
|
1067
|
+
error: {
|
|
1068
|
+
type: string;
|
|
1069
|
+
message: string;
|
|
1070
|
+
};
|
|
1071
|
+
status: "error";
|
|
1072
|
+
action_attempt_id: string;
|
|
1073
|
+
result: null;
|
|
1074
|
+
action_type: "SET_COOL";
|
|
1075
|
+
} | {
|
|
1076
|
+
error: null;
|
|
1077
|
+
status: "pending";
|
|
1078
|
+
action_attempt_id: string;
|
|
1079
|
+
result: null;
|
|
1080
|
+
action_type: "SET_HEAT";
|
|
1081
|
+
} | {
|
|
1082
|
+
error: null;
|
|
1083
|
+
status: "success";
|
|
1084
|
+
action_attempt_id: string;
|
|
1085
|
+
result: {};
|
|
1086
|
+
action_type: "SET_HEAT";
|
|
1087
|
+
} | {
|
|
1088
|
+
error: {
|
|
1089
|
+
type: string;
|
|
1090
|
+
message: string;
|
|
1091
|
+
};
|
|
1092
|
+
status: "error";
|
|
1093
|
+
action_attempt_id: string;
|
|
1094
|
+
result: null;
|
|
1095
|
+
action_type: "SET_HEAT";
|
|
1096
|
+
} | {
|
|
1097
|
+
error: null;
|
|
1098
|
+
status: "pending";
|
|
1099
|
+
action_attempt_id: string;
|
|
1100
|
+
result: null;
|
|
1101
|
+
action_type: "SET_HEAT_COOL";
|
|
1102
|
+
} | {
|
|
1103
|
+
error: null;
|
|
1104
|
+
status: "success";
|
|
1105
|
+
action_attempt_id: string;
|
|
1106
|
+
result: {};
|
|
1107
|
+
action_type: "SET_HEAT_COOL";
|
|
1108
|
+
} | {
|
|
1109
|
+
error: {
|
|
1110
|
+
type: string;
|
|
1111
|
+
message: string;
|
|
1112
|
+
};
|
|
1113
|
+
status: "error";
|
|
1114
|
+
action_attempt_id: string;
|
|
1115
|
+
result: null;
|
|
1116
|
+
action_type: "SET_HEAT_COOL";
|
|
1117
|
+
} | {
|
|
1118
|
+
error: null;
|
|
1119
|
+
status: "pending";
|
|
1120
|
+
action_attempt_id: string;
|
|
1121
|
+
result: null;
|
|
1122
|
+
action_type: "SET_FAN_MODE";
|
|
1123
|
+
} | {
|
|
1124
|
+
error: null;
|
|
1125
|
+
status: "success";
|
|
1126
|
+
action_attempt_id: string;
|
|
1127
|
+
result: {};
|
|
1128
|
+
action_type: "SET_FAN_MODE";
|
|
1129
|
+
} | {
|
|
1130
|
+
error: {
|
|
1131
|
+
type: string;
|
|
1132
|
+
message: string;
|
|
1133
|
+
};
|
|
1134
|
+
status: "error";
|
|
1135
|
+
action_attempt_id: string;
|
|
1136
|
+
result: null;
|
|
1137
|
+
action_type: "SET_FAN_MODE";
|
|
1138
|
+
} | {
|
|
1139
|
+
error: null;
|
|
1140
|
+
status: "pending";
|
|
1141
|
+
action_attempt_id: string;
|
|
1142
|
+
result: null;
|
|
1143
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1144
|
+
} | {
|
|
1145
|
+
error: null;
|
|
1146
|
+
status: "success";
|
|
1147
|
+
action_attempt_id: string;
|
|
1148
|
+
result: {};
|
|
1149
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1150
|
+
} | {
|
|
1151
|
+
error: {
|
|
1152
|
+
type: string;
|
|
1153
|
+
message: string;
|
|
1154
|
+
};
|
|
1155
|
+
status: "error";
|
|
1156
|
+
action_attempt_id: string;
|
|
1157
|
+
result: null;
|
|
1158
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1159
|
+
} | {
|
|
1160
|
+
error: null;
|
|
1161
|
+
status: "pending";
|
|
1162
|
+
action_attempt_id: string;
|
|
1163
|
+
result: null;
|
|
1164
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1165
|
+
} | {
|
|
1166
|
+
error: null;
|
|
1167
|
+
status: "success";
|
|
1168
|
+
action_attempt_id: string;
|
|
1169
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1170
|
+
result?: any;
|
|
1171
|
+
} | {
|
|
1172
|
+
error: {
|
|
1173
|
+
type: string;
|
|
1174
|
+
message: string;
|
|
1175
|
+
};
|
|
1176
|
+
status: "error";
|
|
1177
|
+
action_attempt_id: string;
|
|
1178
|
+
result: null;
|
|
1179
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1180
|
+
} | {
|
|
1181
|
+
error: null;
|
|
1182
|
+
status: "pending";
|
|
1183
|
+
action_attempt_id: string;
|
|
1184
|
+
result: null;
|
|
1185
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1186
|
+
} | {
|
|
1187
|
+
error: null;
|
|
1188
|
+
status: "success";
|
|
1189
|
+
action_attempt_id: string;
|
|
1190
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1191
|
+
result?: any;
|
|
1192
|
+
} | {
|
|
1193
|
+
error: {
|
|
1194
|
+
type: string;
|
|
1195
|
+
message: string;
|
|
1196
|
+
};
|
|
1197
|
+
status: "error";
|
|
1198
|
+
action_attempt_id: string;
|
|
1199
|
+
result: null;
|
|
1200
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1201
|
+
} | {
|
|
1202
|
+
error: null;
|
|
1203
|
+
status: "pending";
|
|
1204
|
+
action_attempt_id: string;
|
|
1205
|
+
result: null;
|
|
1206
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1207
|
+
} | {
|
|
1208
|
+
error: null;
|
|
1209
|
+
status: "success";
|
|
1210
|
+
action_attempt_id: string;
|
|
1211
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1212
|
+
result?: any;
|
|
1213
|
+
} | {
|
|
1214
|
+
error: {
|
|
1215
|
+
type: string;
|
|
1216
|
+
message: string;
|
|
1217
|
+
};
|
|
1218
|
+
status: "error";
|
|
1219
|
+
action_attempt_id: string;
|
|
1220
|
+
result: null;
|
|
1221
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1222
|
+
} | {
|
|
1223
|
+
error: null;
|
|
1224
|
+
status: "pending";
|
|
1225
|
+
action_attempt_id: string;
|
|
1226
|
+
result: null;
|
|
1227
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1228
|
+
} | {
|
|
1229
|
+
error: null;
|
|
1230
|
+
status: "success";
|
|
1231
|
+
action_attempt_id: string;
|
|
1232
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1233
|
+
result?: any;
|
|
1234
|
+
} | {
|
|
1235
|
+
error: {
|
|
1236
|
+
type: string;
|
|
1237
|
+
message: string;
|
|
1238
|
+
};
|
|
1239
|
+
status: "error";
|
|
1240
|
+
action_attempt_id: string;
|
|
1241
|
+
result: null;
|
|
1242
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1243
|
+
} | {
|
|
1244
|
+
error: null;
|
|
1245
|
+
status: "pending";
|
|
1246
|
+
action_attempt_id: string;
|
|
1247
|
+
result: null;
|
|
1248
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1249
|
+
} | {
|
|
1250
|
+
error: null;
|
|
1251
|
+
status: "success";
|
|
1252
|
+
action_attempt_id: string;
|
|
1253
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1254
|
+
result?: any;
|
|
1255
|
+
} | {
|
|
1256
|
+
error: {
|
|
1257
|
+
type: string;
|
|
1258
|
+
message: string;
|
|
1259
|
+
};
|
|
1260
|
+
status: "error";
|
|
1261
|
+
action_attempt_id: string;
|
|
1262
|
+
result: null;
|
|
1263
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1264
|
+
} | {
|
|
1265
|
+
error: null;
|
|
1266
|
+
status: "pending";
|
|
1267
|
+
action_attempt_id: string;
|
|
1268
|
+
result: null;
|
|
1269
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1270
|
+
} | {
|
|
1271
|
+
error: null;
|
|
1272
|
+
status: "success";
|
|
1273
|
+
action_attempt_id: string;
|
|
1274
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1275
|
+
result?: any;
|
|
1276
|
+
} | {
|
|
1277
|
+
error: {
|
|
1278
|
+
type: string;
|
|
1279
|
+
message: string;
|
|
1280
|
+
};
|
|
1281
|
+
status: "error";
|
|
1282
|
+
action_attempt_id: string;
|
|
1283
|
+
result: null;
|
|
1284
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1285
|
+
} | {
|
|
1286
|
+
error: null;
|
|
1287
|
+
status: "pending";
|
|
1288
|
+
action_attempt_id: string;
|
|
1289
|
+
result: null;
|
|
1290
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1291
|
+
} | {
|
|
1292
|
+
error: null;
|
|
1293
|
+
status: "success";
|
|
1294
|
+
action_attempt_id: string;
|
|
1295
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1296
|
+
result?: any;
|
|
1297
|
+
} | {
|
|
1298
|
+
error: {
|
|
1299
|
+
type: string;
|
|
1300
|
+
message: string;
|
|
1301
|
+
};
|
|
1302
|
+
status: "error";
|
|
1303
|
+
action_attempt_id: string;
|
|
1304
|
+
result: null;
|
|
1305
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1306
|
+
}>(error: unknown) => error is SeamActionAttemptError<T>;
|
|
996
1307
|
declare class SeamActionAttemptError<T extends ActionAttempt> extends Error {
|
|
997
1308
|
actionAttempt: T;
|
|
998
1309
|
constructor(message: string, actionAttempt: T);
|
|
999
1310
|
}
|
|
1000
|
-
declare const isSeamActionAttemptFailedError: <T extends
|
|
1311
|
+
declare const isSeamActionAttemptFailedError: <T extends {
|
|
1312
|
+
error: null;
|
|
1313
|
+
status: "pending";
|
|
1314
|
+
action_attempt_id: string;
|
|
1315
|
+
result: null;
|
|
1316
|
+
action_type: "LOCK_DOOR";
|
|
1317
|
+
} | {
|
|
1318
|
+
error: null;
|
|
1319
|
+
status: "success";
|
|
1320
|
+
action_attempt_id: string;
|
|
1321
|
+
result: {};
|
|
1322
|
+
action_type: "LOCK_DOOR";
|
|
1323
|
+
} | {
|
|
1324
|
+
error: {
|
|
1325
|
+
type: string;
|
|
1326
|
+
message: string;
|
|
1327
|
+
};
|
|
1328
|
+
status: "error";
|
|
1329
|
+
action_attempt_id: string;
|
|
1330
|
+
result: null;
|
|
1331
|
+
action_type: "LOCK_DOOR";
|
|
1332
|
+
} | {
|
|
1333
|
+
error: null;
|
|
1334
|
+
status: "pending";
|
|
1335
|
+
action_attempt_id: string;
|
|
1336
|
+
result: null;
|
|
1337
|
+
action_type: "UNLOCK_DOOR";
|
|
1338
|
+
} | {
|
|
1339
|
+
error: null;
|
|
1340
|
+
status: "success";
|
|
1341
|
+
action_attempt_id: string;
|
|
1342
|
+
result: {};
|
|
1343
|
+
action_type: "UNLOCK_DOOR";
|
|
1344
|
+
} | {
|
|
1345
|
+
error: {
|
|
1346
|
+
type: string;
|
|
1347
|
+
message: string;
|
|
1348
|
+
};
|
|
1349
|
+
status: "error";
|
|
1350
|
+
action_attempt_id: string;
|
|
1351
|
+
result: null;
|
|
1352
|
+
action_type: "UNLOCK_DOOR";
|
|
1353
|
+
} | {
|
|
1354
|
+
error: null;
|
|
1355
|
+
status: "pending";
|
|
1356
|
+
action_attempt_id: string;
|
|
1357
|
+
result: null;
|
|
1358
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1359
|
+
} | {
|
|
1360
|
+
error: null;
|
|
1361
|
+
status: "success";
|
|
1362
|
+
action_attempt_id: string;
|
|
1363
|
+
result: {};
|
|
1364
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1365
|
+
} | {
|
|
1366
|
+
error: {
|
|
1367
|
+
type: string;
|
|
1368
|
+
message: string;
|
|
1369
|
+
};
|
|
1370
|
+
status: "error";
|
|
1371
|
+
action_attempt_id: string;
|
|
1372
|
+
result: null;
|
|
1373
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1374
|
+
} | {
|
|
1375
|
+
error: null;
|
|
1376
|
+
status: "pending";
|
|
1377
|
+
action_attempt_id: string;
|
|
1378
|
+
result: null;
|
|
1379
|
+
action_type: "SET_COOL";
|
|
1380
|
+
} | {
|
|
1381
|
+
error: null;
|
|
1382
|
+
status: "success";
|
|
1383
|
+
action_attempt_id: string;
|
|
1384
|
+
result: {};
|
|
1385
|
+
action_type: "SET_COOL";
|
|
1386
|
+
} | {
|
|
1387
|
+
error: {
|
|
1388
|
+
type: string;
|
|
1389
|
+
message: string;
|
|
1390
|
+
};
|
|
1391
|
+
status: "error";
|
|
1392
|
+
action_attempt_id: string;
|
|
1393
|
+
result: null;
|
|
1394
|
+
action_type: "SET_COOL";
|
|
1395
|
+
} | {
|
|
1396
|
+
error: null;
|
|
1397
|
+
status: "pending";
|
|
1398
|
+
action_attempt_id: string;
|
|
1399
|
+
result: null;
|
|
1400
|
+
action_type: "SET_HEAT";
|
|
1401
|
+
} | {
|
|
1402
|
+
error: null;
|
|
1403
|
+
status: "success";
|
|
1404
|
+
action_attempt_id: string;
|
|
1405
|
+
result: {};
|
|
1406
|
+
action_type: "SET_HEAT";
|
|
1407
|
+
} | {
|
|
1408
|
+
error: {
|
|
1409
|
+
type: string;
|
|
1410
|
+
message: string;
|
|
1411
|
+
};
|
|
1412
|
+
status: "error";
|
|
1413
|
+
action_attempt_id: string;
|
|
1414
|
+
result: null;
|
|
1415
|
+
action_type: "SET_HEAT";
|
|
1416
|
+
} | {
|
|
1417
|
+
error: null;
|
|
1418
|
+
status: "pending";
|
|
1419
|
+
action_attempt_id: string;
|
|
1420
|
+
result: null;
|
|
1421
|
+
action_type: "SET_HEAT_COOL";
|
|
1422
|
+
} | {
|
|
1423
|
+
error: null;
|
|
1424
|
+
status: "success";
|
|
1425
|
+
action_attempt_id: string;
|
|
1426
|
+
result: {};
|
|
1427
|
+
action_type: "SET_HEAT_COOL";
|
|
1428
|
+
} | {
|
|
1429
|
+
error: {
|
|
1430
|
+
type: string;
|
|
1431
|
+
message: string;
|
|
1432
|
+
};
|
|
1433
|
+
status: "error";
|
|
1434
|
+
action_attempt_id: string;
|
|
1435
|
+
result: null;
|
|
1436
|
+
action_type: "SET_HEAT_COOL";
|
|
1437
|
+
} | {
|
|
1438
|
+
error: null;
|
|
1439
|
+
status: "pending";
|
|
1440
|
+
action_attempt_id: string;
|
|
1441
|
+
result: null;
|
|
1442
|
+
action_type: "SET_FAN_MODE";
|
|
1443
|
+
} | {
|
|
1444
|
+
error: null;
|
|
1445
|
+
status: "success";
|
|
1446
|
+
action_attempt_id: string;
|
|
1447
|
+
result: {};
|
|
1448
|
+
action_type: "SET_FAN_MODE";
|
|
1449
|
+
} | {
|
|
1450
|
+
error: {
|
|
1451
|
+
type: string;
|
|
1452
|
+
message: string;
|
|
1453
|
+
};
|
|
1454
|
+
status: "error";
|
|
1455
|
+
action_attempt_id: string;
|
|
1456
|
+
result: null;
|
|
1457
|
+
action_type: "SET_FAN_MODE";
|
|
1458
|
+
} | {
|
|
1459
|
+
error: null;
|
|
1460
|
+
status: "pending";
|
|
1461
|
+
action_attempt_id: string;
|
|
1462
|
+
result: null;
|
|
1463
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1464
|
+
} | {
|
|
1465
|
+
error: null;
|
|
1466
|
+
status: "success";
|
|
1467
|
+
action_attempt_id: string;
|
|
1468
|
+
result: {};
|
|
1469
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1470
|
+
} | {
|
|
1471
|
+
error: {
|
|
1472
|
+
type: string;
|
|
1473
|
+
message: string;
|
|
1474
|
+
};
|
|
1475
|
+
status: "error";
|
|
1476
|
+
action_attempt_id: string;
|
|
1477
|
+
result: null;
|
|
1478
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1479
|
+
} | {
|
|
1480
|
+
error: null;
|
|
1481
|
+
status: "pending";
|
|
1482
|
+
action_attempt_id: string;
|
|
1483
|
+
result: null;
|
|
1484
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1485
|
+
} | {
|
|
1486
|
+
error: null;
|
|
1487
|
+
status: "success";
|
|
1488
|
+
action_attempt_id: string;
|
|
1489
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1490
|
+
result?: any;
|
|
1491
|
+
} | {
|
|
1492
|
+
error: {
|
|
1493
|
+
type: string;
|
|
1494
|
+
message: string;
|
|
1495
|
+
};
|
|
1496
|
+
status: "error";
|
|
1497
|
+
action_attempt_id: string;
|
|
1498
|
+
result: null;
|
|
1499
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1500
|
+
} | {
|
|
1501
|
+
error: null;
|
|
1502
|
+
status: "pending";
|
|
1503
|
+
action_attempt_id: string;
|
|
1504
|
+
result: null;
|
|
1505
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1506
|
+
} | {
|
|
1507
|
+
error: null;
|
|
1508
|
+
status: "success";
|
|
1509
|
+
action_attempt_id: string;
|
|
1510
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1511
|
+
result?: any;
|
|
1512
|
+
} | {
|
|
1513
|
+
error: {
|
|
1514
|
+
type: string;
|
|
1515
|
+
message: string;
|
|
1516
|
+
};
|
|
1517
|
+
status: "error";
|
|
1518
|
+
action_attempt_id: string;
|
|
1519
|
+
result: null;
|
|
1520
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1521
|
+
} | {
|
|
1522
|
+
error: null;
|
|
1523
|
+
status: "pending";
|
|
1524
|
+
action_attempt_id: string;
|
|
1525
|
+
result: null;
|
|
1526
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1527
|
+
} | {
|
|
1528
|
+
error: null;
|
|
1529
|
+
status: "success";
|
|
1530
|
+
action_attempt_id: string;
|
|
1531
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1532
|
+
result?: any;
|
|
1533
|
+
} | {
|
|
1534
|
+
error: {
|
|
1535
|
+
type: string;
|
|
1536
|
+
message: string;
|
|
1537
|
+
};
|
|
1538
|
+
status: "error";
|
|
1539
|
+
action_attempt_id: string;
|
|
1540
|
+
result: null;
|
|
1541
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1542
|
+
} | {
|
|
1543
|
+
error: null;
|
|
1544
|
+
status: "pending";
|
|
1545
|
+
action_attempt_id: string;
|
|
1546
|
+
result: null;
|
|
1547
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1548
|
+
} | {
|
|
1549
|
+
error: null;
|
|
1550
|
+
status: "success";
|
|
1551
|
+
action_attempt_id: string;
|
|
1552
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1553
|
+
result?: any;
|
|
1554
|
+
} | {
|
|
1555
|
+
error: {
|
|
1556
|
+
type: string;
|
|
1557
|
+
message: string;
|
|
1558
|
+
};
|
|
1559
|
+
status: "error";
|
|
1560
|
+
action_attempt_id: string;
|
|
1561
|
+
result: null;
|
|
1562
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1563
|
+
} | {
|
|
1564
|
+
error: null;
|
|
1565
|
+
status: "pending";
|
|
1566
|
+
action_attempt_id: string;
|
|
1567
|
+
result: null;
|
|
1568
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1569
|
+
} | {
|
|
1570
|
+
error: null;
|
|
1571
|
+
status: "success";
|
|
1572
|
+
action_attempt_id: string;
|
|
1573
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1574
|
+
result?: any;
|
|
1575
|
+
} | {
|
|
1576
|
+
error: {
|
|
1577
|
+
type: string;
|
|
1578
|
+
message: string;
|
|
1579
|
+
};
|
|
1580
|
+
status: "error";
|
|
1581
|
+
action_attempt_id: string;
|
|
1582
|
+
result: null;
|
|
1583
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1584
|
+
} | {
|
|
1585
|
+
error: null;
|
|
1586
|
+
status: "pending";
|
|
1587
|
+
action_attempt_id: string;
|
|
1588
|
+
result: null;
|
|
1589
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1590
|
+
} | {
|
|
1591
|
+
error: null;
|
|
1592
|
+
status: "success";
|
|
1593
|
+
action_attempt_id: string;
|
|
1594
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1595
|
+
result?: any;
|
|
1596
|
+
} | {
|
|
1597
|
+
error: {
|
|
1598
|
+
type: string;
|
|
1599
|
+
message: string;
|
|
1600
|
+
};
|
|
1601
|
+
status: "error";
|
|
1602
|
+
action_attempt_id: string;
|
|
1603
|
+
result: null;
|
|
1604
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1605
|
+
} | {
|
|
1606
|
+
error: null;
|
|
1607
|
+
status: "pending";
|
|
1608
|
+
action_attempt_id: string;
|
|
1609
|
+
result: null;
|
|
1610
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1611
|
+
} | {
|
|
1612
|
+
error: null;
|
|
1613
|
+
status: "success";
|
|
1614
|
+
action_attempt_id: string;
|
|
1615
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1616
|
+
result?: any;
|
|
1617
|
+
} | {
|
|
1618
|
+
error: {
|
|
1619
|
+
type: string;
|
|
1620
|
+
message: string;
|
|
1621
|
+
};
|
|
1622
|
+
status: "error";
|
|
1623
|
+
action_attempt_id: string;
|
|
1624
|
+
result: null;
|
|
1625
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1626
|
+
}>(error: unknown) => error is SeamActionAttemptFailedError<T>;
|
|
1001
1627
|
declare class SeamActionAttemptFailedError<T extends ActionAttempt> extends SeamActionAttemptError<T> {
|
|
1002
1628
|
code: string;
|
|
1003
1629
|
constructor(actionAttempt: FailedActionAttempt<T>);
|
|
1004
1630
|
}
|
|
1005
|
-
declare const isSeamActionAttemptTimeoutError: <T extends
|
|
1631
|
+
declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
1632
|
+
error: null;
|
|
1633
|
+
status: "pending";
|
|
1634
|
+
action_attempt_id: string;
|
|
1635
|
+
result: null;
|
|
1636
|
+
action_type: "LOCK_DOOR";
|
|
1637
|
+
} | {
|
|
1638
|
+
error: null;
|
|
1639
|
+
status: "success";
|
|
1640
|
+
action_attempt_id: string;
|
|
1641
|
+
result: {};
|
|
1642
|
+
action_type: "LOCK_DOOR";
|
|
1643
|
+
} | {
|
|
1644
|
+
error: {
|
|
1645
|
+
type: string;
|
|
1646
|
+
message: string;
|
|
1647
|
+
};
|
|
1648
|
+
status: "error";
|
|
1649
|
+
action_attempt_id: string;
|
|
1650
|
+
result: null;
|
|
1651
|
+
action_type: "LOCK_DOOR";
|
|
1652
|
+
} | {
|
|
1653
|
+
error: null;
|
|
1654
|
+
status: "pending";
|
|
1655
|
+
action_attempt_id: string;
|
|
1656
|
+
result: null;
|
|
1657
|
+
action_type: "UNLOCK_DOOR";
|
|
1658
|
+
} | {
|
|
1659
|
+
error: null;
|
|
1660
|
+
status: "success";
|
|
1661
|
+
action_attempt_id: string;
|
|
1662
|
+
result: {};
|
|
1663
|
+
action_type: "UNLOCK_DOOR";
|
|
1664
|
+
} | {
|
|
1665
|
+
error: {
|
|
1666
|
+
type: string;
|
|
1667
|
+
message: string;
|
|
1668
|
+
};
|
|
1669
|
+
status: "error";
|
|
1670
|
+
action_attempt_id: string;
|
|
1671
|
+
result: null;
|
|
1672
|
+
action_type: "UNLOCK_DOOR";
|
|
1673
|
+
} | {
|
|
1674
|
+
error: null;
|
|
1675
|
+
status: "pending";
|
|
1676
|
+
action_attempt_id: string;
|
|
1677
|
+
result: null;
|
|
1678
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1679
|
+
} | {
|
|
1680
|
+
error: null;
|
|
1681
|
+
status: "success";
|
|
1682
|
+
action_attempt_id: string;
|
|
1683
|
+
result: {};
|
|
1684
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1685
|
+
} | {
|
|
1686
|
+
error: {
|
|
1687
|
+
type: string;
|
|
1688
|
+
message: string;
|
|
1689
|
+
};
|
|
1690
|
+
status: "error";
|
|
1691
|
+
action_attempt_id: string;
|
|
1692
|
+
result: null;
|
|
1693
|
+
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
1694
|
+
} | {
|
|
1695
|
+
error: null;
|
|
1696
|
+
status: "pending";
|
|
1697
|
+
action_attempt_id: string;
|
|
1698
|
+
result: null;
|
|
1699
|
+
action_type: "SET_COOL";
|
|
1700
|
+
} | {
|
|
1701
|
+
error: null;
|
|
1702
|
+
status: "success";
|
|
1703
|
+
action_attempt_id: string;
|
|
1704
|
+
result: {};
|
|
1705
|
+
action_type: "SET_COOL";
|
|
1706
|
+
} | {
|
|
1707
|
+
error: {
|
|
1708
|
+
type: string;
|
|
1709
|
+
message: string;
|
|
1710
|
+
};
|
|
1711
|
+
status: "error";
|
|
1712
|
+
action_attempt_id: string;
|
|
1713
|
+
result: null;
|
|
1714
|
+
action_type: "SET_COOL";
|
|
1715
|
+
} | {
|
|
1716
|
+
error: null;
|
|
1717
|
+
status: "pending";
|
|
1718
|
+
action_attempt_id: string;
|
|
1719
|
+
result: null;
|
|
1720
|
+
action_type: "SET_HEAT";
|
|
1721
|
+
} | {
|
|
1722
|
+
error: null;
|
|
1723
|
+
status: "success";
|
|
1724
|
+
action_attempt_id: string;
|
|
1725
|
+
result: {};
|
|
1726
|
+
action_type: "SET_HEAT";
|
|
1727
|
+
} | {
|
|
1728
|
+
error: {
|
|
1729
|
+
type: string;
|
|
1730
|
+
message: string;
|
|
1731
|
+
};
|
|
1732
|
+
status: "error";
|
|
1733
|
+
action_attempt_id: string;
|
|
1734
|
+
result: null;
|
|
1735
|
+
action_type: "SET_HEAT";
|
|
1736
|
+
} | {
|
|
1737
|
+
error: null;
|
|
1738
|
+
status: "pending";
|
|
1739
|
+
action_attempt_id: string;
|
|
1740
|
+
result: null;
|
|
1741
|
+
action_type: "SET_HEAT_COOL";
|
|
1742
|
+
} | {
|
|
1743
|
+
error: null;
|
|
1744
|
+
status: "success";
|
|
1745
|
+
action_attempt_id: string;
|
|
1746
|
+
result: {};
|
|
1747
|
+
action_type: "SET_HEAT_COOL";
|
|
1748
|
+
} | {
|
|
1749
|
+
error: {
|
|
1750
|
+
type: string;
|
|
1751
|
+
message: string;
|
|
1752
|
+
};
|
|
1753
|
+
status: "error";
|
|
1754
|
+
action_attempt_id: string;
|
|
1755
|
+
result: null;
|
|
1756
|
+
action_type: "SET_HEAT_COOL";
|
|
1757
|
+
} | {
|
|
1758
|
+
error: null;
|
|
1759
|
+
status: "pending";
|
|
1760
|
+
action_attempt_id: string;
|
|
1761
|
+
result: null;
|
|
1762
|
+
action_type: "SET_FAN_MODE";
|
|
1763
|
+
} | {
|
|
1764
|
+
error: null;
|
|
1765
|
+
status: "success";
|
|
1766
|
+
action_attempt_id: string;
|
|
1767
|
+
result: {};
|
|
1768
|
+
action_type: "SET_FAN_MODE";
|
|
1769
|
+
} | {
|
|
1770
|
+
error: {
|
|
1771
|
+
type: string;
|
|
1772
|
+
message: string;
|
|
1773
|
+
};
|
|
1774
|
+
status: "error";
|
|
1775
|
+
action_attempt_id: string;
|
|
1776
|
+
result: null;
|
|
1777
|
+
action_type: "SET_FAN_MODE";
|
|
1778
|
+
} | {
|
|
1779
|
+
error: null;
|
|
1780
|
+
status: "pending";
|
|
1781
|
+
action_attempt_id: string;
|
|
1782
|
+
result: null;
|
|
1783
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1784
|
+
} | {
|
|
1785
|
+
error: null;
|
|
1786
|
+
status: "success";
|
|
1787
|
+
action_attempt_id: string;
|
|
1788
|
+
result: {};
|
|
1789
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1790
|
+
} | {
|
|
1791
|
+
error: {
|
|
1792
|
+
type: string;
|
|
1793
|
+
message: string;
|
|
1794
|
+
};
|
|
1795
|
+
status: "error";
|
|
1796
|
+
action_attempt_id: string;
|
|
1797
|
+
result: null;
|
|
1798
|
+
action_type: "SET_THERMOSTAT_OFF";
|
|
1799
|
+
} | {
|
|
1800
|
+
error: null;
|
|
1801
|
+
status: "pending";
|
|
1802
|
+
action_attempt_id: string;
|
|
1803
|
+
result: null;
|
|
1804
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1805
|
+
} | {
|
|
1806
|
+
error: null;
|
|
1807
|
+
status: "success";
|
|
1808
|
+
action_attempt_id: string;
|
|
1809
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1810
|
+
result?: any;
|
|
1811
|
+
} | {
|
|
1812
|
+
error: {
|
|
1813
|
+
type: string;
|
|
1814
|
+
message: string;
|
|
1815
|
+
};
|
|
1816
|
+
status: "error";
|
|
1817
|
+
action_attempt_id: string;
|
|
1818
|
+
result: null;
|
|
1819
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
1820
|
+
} | {
|
|
1821
|
+
error: null;
|
|
1822
|
+
status: "pending";
|
|
1823
|
+
action_attempt_id: string;
|
|
1824
|
+
result: null;
|
|
1825
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1826
|
+
} | {
|
|
1827
|
+
error: null;
|
|
1828
|
+
status: "success";
|
|
1829
|
+
action_attempt_id: string;
|
|
1830
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1831
|
+
result?: any;
|
|
1832
|
+
} | {
|
|
1833
|
+
error: {
|
|
1834
|
+
type: string;
|
|
1835
|
+
message: string;
|
|
1836
|
+
};
|
|
1837
|
+
status: "error";
|
|
1838
|
+
action_attempt_id: string;
|
|
1839
|
+
result: null;
|
|
1840
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
1841
|
+
} | {
|
|
1842
|
+
error: null;
|
|
1843
|
+
status: "pending";
|
|
1844
|
+
action_attempt_id: string;
|
|
1845
|
+
result: null;
|
|
1846
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1847
|
+
} | {
|
|
1848
|
+
error: null;
|
|
1849
|
+
status: "success";
|
|
1850
|
+
action_attempt_id: string;
|
|
1851
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1852
|
+
result?: any;
|
|
1853
|
+
} | {
|
|
1854
|
+
error: {
|
|
1855
|
+
type: string;
|
|
1856
|
+
message: string;
|
|
1857
|
+
};
|
|
1858
|
+
status: "error";
|
|
1859
|
+
action_attempt_id: string;
|
|
1860
|
+
result: null;
|
|
1861
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
1862
|
+
} | {
|
|
1863
|
+
error: null;
|
|
1864
|
+
status: "pending";
|
|
1865
|
+
action_attempt_id: string;
|
|
1866
|
+
result: null;
|
|
1867
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1868
|
+
} | {
|
|
1869
|
+
error: null;
|
|
1870
|
+
status: "success";
|
|
1871
|
+
action_attempt_id: string;
|
|
1872
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1873
|
+
result?: any;
|
|
1874
|
+
} | {
|
|
1875
|
+
error: {
|
|
1876
|
+
type: string;
|
|
1877
|
+
message: string;
|
|
1878
|
+
};
|
|
1879
|
+
status: "error";
|
|
1880
|
+
action_attempt_id: string;
|
|
1881
|
+
result: null;
|
|
1882
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
1883
|
+
} | {
|
|
1884
|
+
error: null;
|
|
1885
|
+
status: "pending";
|
|
1886
|
+
action_attempt_id: string;
|
|
1887
|
+
result: null;
|
|
1888
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1889
|
+
} | {
|
|
1890
|
+
error: null;
|
|
1891
|
+
status: "success";
|
|
1892
|
+
action_attempt_id: string;
|
|
1893
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1894
|
+
result?: any;
|
|
1895
|
+
} | {
|
|
1896
|
+
error: {
|
|
1897
|
+
type: string;
|
|
1898
|
+
message: string;
|
|
1899
|
+
};
|
|
1900
|
+
status: "error";
|
|
1901
|
+
action_attempt_id: string;
|
|
1902
|
+
result: null;
|
|
1903
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
1904
|
+
} | {
|
|
1905
|
+
error: null;
|
|
1906
|
+
status: "pending";
|
|
1907
|
+
action_attempt_id: string;
|
|
1908
|
+
result: null;
|
|
1909
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1910
|
+
} | {
|
|
1911
|
+
error: null;
|
|
1912
|
+
status: "success";
|
|
1913
|
+
action_attempt_id: string;
|
|
1914
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1915
|
+
result?: any;
|
|
1916
|
+
} | {
|
|
1917
|
+
error: {
|
|
1918
|
+
type: string;
|
|
1919
|
+
message: string;
|
|
1920
|
+
};
|
|
1921
|
+
status: "error";
|
|
1922
|
+
action_attempt_id: string;
|
|
1923
|
+
result: null;
|
|
1924
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
1925
|
+
} | {
|
|
1926
|
+
error: null;
|
|
1927
|
+
status: "pending";
|
|
1928
|
+
action_attempt_id: string;
|
|
1929
|
+
result: null;
|
|
1930
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1931
|
+
} | {
|
|
1932
|
+
error: null;
|
|
1933
|
+
status: "success";
|
|
1934
|
+
action_attempt_id: string;
|
|
1935
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1936
|
+
result?: any;
|
|
1937
|
+
} | {
|
|
1938
|
+
error: {
|
|
1939
|
+
type: string;
|
|
1940
|
+
message: string;
|
|
1941
|
+
};
|
|
1942
|
+
status: "error";
|
|
1943
|
+
action_attempt_id: string;
|
|
1944
|
+
result: null;
|
|
1945
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1946
|
+
}>(error: unknown) => error is SeamActionAttemptTimeoutError<T>;
|
|
1006
1947
|
declare class SeamActionAttemptTimeoutError<T extends ActionAttempt> extends SeamActionAttemptError<T> {
|
|
1007
1948
|
constructor(actionAttempt: T, timeout: number);
|
|
1008
1949
|
}
|
|
1950
|
+
type FailedActionAttempt<T extends ActionAttempt> = Extract<T, {
|
|
1951
|
+
status: 'error';
|
|
1952
|
+
}>;
|
|
1009
1953
|
|
|
1010
1954
|
type SeamHttpMultiWorkspaceOptions = SeamHttpMultiWorkspaceOptionsWithClient | SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken | SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken;
|
|
1011
1955
|
type SeamHttpOptions = SeamHttpOptionsFromEnv | SeamHttpOptionsWithClient | SeamHttpOptionsWithApiKey | SeamHttpOptionsWithClientSessionToken | SeamHttpOptionsWithConsoleSessionToken | SeamHttpOptionsWithPersonalAccessToken;
|
|
@@ -1140,4 +2084,4 @@ declare const isPublishableKey: (token: string) => boolean;
|
|
|
1140
2084
|
declare const isConsoleSessionToken: (token: string) => boolean;
|
|
1141
2085
|
declare const isPersonalAccessToken: (token: string) => boolean;
|
|
1142
2086
|
|
|
1143
|
-
export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteBody, type AccessCodesDeleteOptions, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteBody, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserBody, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteBody, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteBody, type AcsUsersDeleteOptions, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupBody, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesBody, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteBody, type ClientSessionsDeleteOptions, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeBody, type ClientSessionsRevokeOptions, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteBody, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteBody, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteBody, type DevicesDeleteOptions, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateRemoveBody, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteBody, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateBody, type PhonesDeactivateOptions, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsClimateSettingSchedulesCreateBody, type ThermostatsClimateSettingSchedulesCreateOptions, type ThermostatsClimateSettingSchedulesCreateResponse, type ThermostatsClimateSettingSchedulesDeleteBody, type ThermostatsClimateSettingSchedulesDeleteOptions, type ThermostatsClimateSettingSchedulesDeleteResponse, type ThermostatsClimateSettingSchedulesGetOptions, type ThermostatsClimateSettingSchedulesGetParams, type ThermostatsClimateSettingSchedulesGetResponse, type ThermostatsClimateSettingSchedulesListOptions, type ThermostatsClimateSettingSchedulesListParams, type ThermostatsClimateSettingSchedulesListResponse, type ThermostatsClimateSettingSchedulesUpdateBody, type ThermostatsClimateSettingSchedulesUpdateOptions, type ThermostatsClimateSettingSchedulesUpdateResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateBody, type ThermostatsUpdateOptions, type ThermostatsUpdateResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteBody, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteBody, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserBody, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceBody, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteBody, type WebhooksDeleteOptions, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
|
|
2087
|
+
export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveParams, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsClimateSettingSchedulesCreateBody, type ThermostatsClimateSettingSchedulesCreateOptions, type ThermostatsClimateSettingSchedulesCreateResponse, type ThermostatsClimateSettingSchedulesDeleteOptions, type ThermostatsClimateSettingSchedulesDeleteParams, type ThermostatsClimateSettingSchedulesDeleteResponse, type ThermostatsClimateSettingSchedulesGetOptions, type ThermostatsClimateSettingSchedulesGetParams, type ThermostatsClimateSettingSchedulesGetResponse, type ThermostatsClimateSettingSchedulesListOptions, type ThermostatsClimateSettingSchedulesListParams, type ThermostatsClimateSettingSchedulesListResponse, type ThermostatsClimateSettingSchedulesUpdateBody, type ThermostatsClimateSettingSchedulesUpdateOptions, type ThermostatsClimateSettingSchedulesUpdateResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateBody, type ThermostatsUpdateOptions, type ThermostatsUpdateResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
|