@seamapi/http 0.24.0 → 0.25.1
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/README.md +15 -0
- package/dist/connect.cjs +771 -732
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +153 -127
- package/lib/seam/connect/index.d.ts +1 -0
- package/lib/seam/connect/index.js +1 -0
- package/lib/seam/connect/index.js.map +1 -1
- package/lib/seam/connect/routes/access-codes-unmanaged.d.ts +6 -5
- package/lib/seam/connect/routes/access-codes-unmanaged.js +26 -22
- package/lib/seam/connect/routes/access-codes-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-codes.d.ts +9 -8
- package/lib/seam/connect/routes/access-codes.js +41 -38
- package/lib/seam/connect/routes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/acs-access-groups.d.ts +6 -5
- package/lib/seam/connect/routes/acs-access-groups.js +26 -23
- package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs-credential-pools.d.ts +2 -1
- package/lib/seam/connect/routes/acs-credential-pools.js +6 -5
- package/lib/seam/connect/routes/acs-credential-pools.js.map +1 -1
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.d.ts +2 -1
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.js +6 -5
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.js.map +1 -1
- package/lib/seam/connect/routes/acs-credentials.d.ts +8 -7
- package/lib/seam/connect/routes/acs-credentials.js +36 -34
- package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs-entrances.d.ts +5 -4
- package/lib/seam/connect/routes/acs-entrances.js +21 -19
- package/lib/seam/connect/routes/acs-entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs-systems.d.ts +3 -2
- package/lib/seam/connect/routes/acs-systems.js +11 -10
- package/lib/seam/connect/routes/acs-systems.js.map +1 -1
- package/lib/seam/connect/routes/acs-users.d.ts +12 -11
- package/lib/seam/connect/routes/acs-users.js +56 -48
- package/lib/seam/connect/routes/acs-users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts.d.ts +3 -2
- package/lib/seam/connect/routes/action-attempts.js +12 -18
- package/lib/seam/connect/routes/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions.d.ts +8 -7
- package/lib/seam/connect/routes/client-sessions.js +36 -33
- package/lib/seam/connect/routes/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews.d.ts +6 -5
- package/lib/seam/connect/routes/connect-webviews.js +25 -22
- package/lib/seam/connect/routes/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts.d.ts +5 -4
- package/lib/seam/connect/routes/connected-accounts.js +21 -19
- package/lib/seam/connect/routes/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices-simulate.d.ts +2 -1
- package/lib/seam/connect/routes/devices-simulate.js +6 -4
- package/lib/seam/connect/routes/devices-simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices-unmanaged.d.ts +4 -3
- package/lib/seam/connect/routes/devices-unmanaged.js +16 -14
- package/lib/seam/connect/routes/devices-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/devices.d.ts +6 -5
- package/lib/seam/connect/routes/devices.js +26 -23
- package/lib/seam/connect/routes/devices.js.map +1 -1
- package/lib/seam/connect/routes/events.d.ts +3 -2
- package/lib/seam/connect/routes/events.js +11 -10
- package/lib/seam/connect/routes/events.js.map +1 -1
- package/lib/seam/connect/routes/locks.d.ts +5 -4
- package/lib/seam/connect/routes/locks.js +23 -36
- package/lib/seam/connect/routes/locks.js.map +1 -1
- package/lib/seam/connect/routes/networks.d.ts +3 -2
- package/lib/seam/connect/routes/networks.js +11 -10
- package/lib/seam/connect/routes/networks.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.d.ts +6 -5
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js +26 -23
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/phones-simulate.d.ts +2 -1
- package/lib/seam/connect/routes/phones-simulate.js +6 -5
- package/lib/seam/connect/routes/phones-simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones.d.ts +3 -2
- package/lib/seam/connect/routes/phones.js +11 -9
- package/lib/seam/connect/routes/phones.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.d.ts +6 -5
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.js +26 -23
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats.d.ts +9 -8
- package/lib/seam/connect/routes/thermostats.js +46 -76
- package/lib/seam/connect/routes/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities-enrollment-automations.d.ts +5 -4
- package/lib/seam/connect/routes/user-identities-enrollment-automations.js +21 -19
- package/lib/seam/connect/routes/user-identities-enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities.d.ts +13 -12
- package/lib/seam/connect/routes/user-identities.js +61 -54
- package/lib/seam/connect/routes/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks.d.ts +6 -5
- package/lib/seam/connect/routes/webhooks.js +26 -23
- package/lib/seam/connect/routes/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces.d.ts +5 -4
- package/lib/seam/connect/routes/workspaces.js +21 -19
- package/lib/seam/connect/routes/workspaces.js.map +1 -1
- package/lib/seam/connect/seam-http-request.d.ts +29 -0
- package/lib/seam/connect/seam-http-request.js +94 -0
- package/lib/seam/connect/seam-http-request.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/src/lib/seam/connect/index.ts +1 -0
- package/src/lib/seam/connect/routes/access-codes-unmanaged.ts +37 -34
- package/src/lib/seam/connect/routes/access-codes.ts +56 -60
- package/src/lib/seam/connect/routes/acs-access-groups.ts +33 -32
- package/src/lib/seam/connect/routes/acs-credential-pools.ts +7 -7
- package/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts +11 -13
- package/src/lib/seam/connect/routes/acs-credentials.ts +42 -46
- package/src/lib/seam/connect/routes/acs-entrances.ts +31 -28
- package/src/lib/seam/connect/routes/acs-systems.ts +13 -14
- package/src/lib/seam/connect/routes/acs-users.ts +66 -61
- package/src/lib/seam/connect/routes/action-attempts.ts +14 -26
- package/src/lib/seam/connect/routes/client-sessions.ts +45 -49
- package/src/lib/seam/connect/routes/connect-webviews.ts +28 -28
- package/src/lib/seam/connect/routes/connected-accounts.ts +26 -29
- package/src/lib/seam/connect/routes/devices-simulate.ts +6 -4
- package/src/lib/seam/connect/routes/devices-unmanaged.ts +18 -18
- package/src/lib/seam/connect/routes/devices.ts +30 -31
- package/src/lib/seam/connect/routes/events.ts +11 -12
- package/src/lib/seam/connect/routes/locks.ts +25 -50
- package/src/lib/seam/connect/routes/networks.ts +14 -13
- package/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +48 -38
- package/src/lib/seam/connect/routes/phones-simulate.ts +9 -10
- package/src/lib/seam/connect/routes/phones.ts +11 -10
- package/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts +47 -55
- package/src/lib/seam/connect/routes/thermostats.ts +53 -110
- package/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts +39 -48
- package/src/lib/seam/connect/routes/user-identities.ts +81 -78
- package/src/lib/seam/connect/routes/webhooks.ts +30 -28
- package/src/lib/seam/connect/routes/workspaces.ts +26 -25
- package/src/lib/seam/connect/seam-http-request.ts +168 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouteRequestBody, RouteResponse, RouteRequestParams, openapi } from '@seamapi/types/connect';
|
|
2
|
-
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { AxiosInstance, AxiosRequestConfig, Method } from 'axios';
|
|
3
3
|
import { AxiosRetry } from 'axios-retry';
|
|
4
4
|
import { SetNonNullable } from 'type-fest';
|
|
5
5
|
export * from '@seamapi/url-search-params-serializer';
|
|
@@ -23,6 +23,32 @@ type FailedActionAttempt<T extends ActionAttempt> = T & {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
+
interface SeamHttpRequestParent {
|
|
27
|
+
readonly client: Client;
|
|
28
|
+
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
29
|
+
}
|
|
30
|
+
interface SeamHttpRequestConfig<TResponseKey> {
|
|
31
|
+
readonly path: string;
|
|
32
|
+
readonly method: Method;
|
|
33
|
+
readonly body?: unknown;
|
|
34
|
+
readonly params?: undefined | Record<string, unknown>;
|
|
35
|
+
readonly responseKey: TResponseKey;
|
|
36
|
+
readonly options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
|
|
37
|
+
}
|
|
38
|
+
declare class SeamHttpRequest<const TResponse, const TResponseKey extends keyof TResponse | undefined> implements Promise<TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined> {
|
|
39
|
+
#private;
|
|
40
|
+
readonly [Symbol.toStringTag]: string;
|
|
41
|
+
constructor(parent: SeamHttpRequestParent, config: SeamHttpRequestConfig<TResponseKey>);
|
|
42
|
+
get responseKey(): TResponseKey;
|
|
43
|
+
get url(): URL;
|
|
44
|
+
get method(): Method;
|
|
45
|
+
get body(): unknown;
|
|
46
|
+
execute(): Promise<TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined>;
|
|
47
|
+
then<TResult1 = TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined, TResult2 = never>(onfulfilled?: ((value: TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
48
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<(TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined) | TResult>;
|
|
49
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined>;
|
|
50
|
+
}
|
|
51
|
+
|
|
26
52
|
declare class SeamHttpAccessCodesUnmanaged {
|
|
27
53
|
client: Client;
|
|
28
54
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
@@ -34,11 +60,11 @@ declare class SeamHttpAccessCodesUnmanaged {
|
|
|
34
60
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAccessCodesUnmanaged;
|
|
35
61
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAccessCodesUnmanaged;
|
|
36
62
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
37
|
-
convertToManaged(body?: AccessCodesUnmanagedConvertToManagedBody):
|
|
38
|
-
delete(body?: AccessCodesUnmanagedDeleteBody):
|
|
39
|
-
get(body?: AccessCodesUnmanagedGetParams):
|
|
40
|
-
list(body?: AccessCodesUnmanagedListParams):
|
|
41
|
-
update(body?: AccessCodesUnmanagedUpdateBody):
|
|
63
|
+
convertToManaged(body?: AccessCodesUnmanagedConvertToManagedBody): SeamHttpRequest<void, undefined>;
|
|
64
|
+
delete(body?: AccessCodesUnmanagedDeleteBody): SeamHttpRequest<void, undefined>;
|
|
65
|
+
get(body?: AccessCodesUnmanagedGetParams): SeamHttpRequest<AccessCodesUnmanagedGetResponse, 'access_code'>;
|
|
66
|
+
list(body?: AccessCodesUnmanagedListParams): SeamHttpRequest<AccessCodesUnmanagedListResponse, 'access_codes'>;
|
|
67
|
+
update(body?: AccessCodesUnmanagedUpdateBody): SeamHttpRequest<void, undefined>;
|
|
42
68
|
}
|
|
43
69
|
type AccessCodesUnmanagedConvertToManagedBody = RouteRequestBody<'/access_codes/unmanaged/convert_to_managed'>;
|
|
44
70
|
type AccessCodesUnmanagedConvertToManagedResponse = SetNonNullable<Required<RouteResponse<'/access_codes/unmanaged/convert_to_managed'>>>;
|
|
@@ -68,14 +94,14 @@ declare class SeamHttpAccessCodes {
|
|
|
68
94
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAccessCodes;
|
|
69
95
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
70
96
|
get unmanaged(): SeamHttpAccessCodesUnmanaged;
|
|
71
|
-
create(body?: AccessCodesCreateBody):
|
|
72
|
-
createMultiple(body?: AccessCodesCreateMultipleBody):
|
|
73
|
-
delete(body?: AccessCodesDeleteBody):
|
|
74
|
-
generateCode(body?: AccessCodesGenerateCodeBody):
|
|
75
|
-
get(body?: AccessCodesGetParams):
|
|
76
|
-
list(body?: AccessCodesListParams):
|
|
77
|
-
pullBackupAccessCode(body?: AccessCodesPullBackupAccessCodeBody):
|
|
78
|
-
update(body?: AccessCodesUpdateBody):
|
|
97
|
+
create(body?: AccessCodesCreateBody): SeamHttpRequest<AccessCodesCreateResponse, 'access_code'>;
|
|
98
|
+
createMultiple(body?: AccessCodesCreateMultipleBody): SeamHttpRequest<AccessCodesCreateMultipleResponse, 'access_codes'>;
|
|
99
|
+
delete(body?: AccessCodesDeleteBody): SeamHttpRequest<void, undefined>;
|
|
100
|
+
generateCode(body?: AccessCodesGenerateCodeBody): SeamHttpRequest<AccessCodesGenerateCodeResponse, 'generated_code'>;
|
|
101
|
+
get(body?: AccessCodesGetParams): SeamHttpRequest<AccessCodesGetResponse, 'access_code'>;
|
|
102
|
+
list(body?: AccessCodesListParams): SeamHttpRequest<AccessCodesListResponse, 'access_codes'>;
|
|
103
|
+
pullBackupAccessCode(body?: AccessCodesPullBackupAccessCodeBody): SeamHttpRequest<AccessCodesPullBackupAccessCodeResponse, 'backup_access_code'>;
|
|
104
|
+
update(body?: AccessCodesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
79
105
|
}
|
|
80
106
|
type AccessCodesCreateBody = RouteRequestBody<'/access_codes/create'>;
|
|
81
107
|
type AccessCodesCreateResponse = SetNonNullable<Required<RouteResponse<'/access_codes/create'>>>;
|
|
@@ -113,11 +139,11 @@ declare class SeamHttpAcsAccessGroups {
|
|
|
113
139
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsAccessGroups;
|
|
114
140
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsAccessGroups;
|
|
115
141
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
116
|
-
addUser(body?: AcsAccessGroupsAddUserBody):
|
|
117
|
-
get(body?: AcsAccessGroupsGetParams):
|
|
118
|
-
list(body?: AcsAccessGroupsListParams):
|
|
119
|
-
listUsers(body?: AcsAccessGroupsListUsersParams):
|
|
120
|
-
removeUser(body?: AcsAccessGroupsRemoveUserBody):
|
|
142
|
+
addUser(body?: AcsAccessGroupsAddUserBody): SeamHttpRequest<void, undefined>;
|
|
143
|
+
get(body?: AcsAccessGroupsGetParams): SeamHttpRequest<AcsAccessGroupsGetResponse, 'acs_access_group'>;
|
|
144
|
+
list(body?: AcsAccessGroupsListParams): SeamHttpRequest<AcsAccessGroupsListResponse, 'acs_access_groups'>;
|
|
145
|
+
listUsers(body?: AcsAccessGroupsListUsersParams): SeamHttpRequest<AcsAccessGroupsListUsersResponse, 'acs_users'>;
|
|
146
|
+
removeUser(body?: AcsAccessGroupsRemoveUserBody): SeamHttpRequest<void, undefined>;
|
|
121
147
|
}
|
|
122
148
|
type AcsAccessGroupsAddUserBody = RouteRequestBody<'/acs/access_groups/add_user'>;
|
|
123
149
|
type AcsAccessGroupsAddUserResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/add_user'>>>;
|
|
@@ -146,7 +172,7 @@ declare class SeamHttpAcsCredentialPools {
|
|
|
146
172
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialPools;
|
|
147
173
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialPools;
|
|
148
174
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
149
|
-
list(body?: AcsCredentialPoolsListParams):
|
|
175
|
+
list(body?: AcsCredentialPoolsListParams): SeamHttpRequest<AcsCredentialPoolsListResponse, 'acs_credential_pools'>;
|
|
150
176
|
}
|
|
151
177
|
type AcsCredentialPoolsListParams = RouteRequestBody<'/acs/credential_pools/list'>;
|
|
152
178
|
type AcsCredentialPoolsListResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_pools/list'>>>;
|
|
@@ -163,7 +189,7 @@ declare class SeamHttpAcsCredentialProvisioningAutomations {
|
|
|
163
189
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialProvisioningAutomations;
|
|
164
190
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialProvisioningAutomations;
|
|
165
191
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
166
|
-
launch(body?: AcsCredentialProvisioningAutomationsLaunchBody):
|
|
192
|
+
launch(body?: AcsCredentialProvisioningAutomationsLaunchBody): SeamHttpRequest<AcsCredentialProvisioningAutomationsLaunchResponse, 'acs_credential_provisioning_automation'>;
|
|
167
193
|
}
|
|
168
194
|
type AcsCredentialProvisioningAutomationsLaunchBody = RouteRequestBody<'/acs/credential_provisioning_automations/launch'>;
|
|
169
195
|
type AcsCredentialProvisioningAutomationsLaunchResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_provisioning_automations/launch'>>>;
|
|
@@ -180,13 +206,13 @@ declare class SeamHttpAcsCredentials {
|
|
|
180
206
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentials;
|
|
181
207
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentials;
|
|
182
208
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
183
|
-
assign(body?: AcsCredentialsAssignBody):
|
|
184
|
-
create(body?: AcsCredentialsCreateBody):
|
|
185
|
-
delete(body?: AcsCredentialsDeleteBody):
|
|
186
|
-
get(body?: AcsCredentialsGetParams):
|
|
187
|
-
list(body?: AcsCredentialsListParams):
|
|
188
|
-
unassign(body?: AcsCredentialsUnassignBody):
|
|
189
|
-
update(body?: AcsCredentialsUpdateBody):
|
|
209
|
+
assign(body?: AcsCredentialsAssignBody): SeamHttpRequest<AcsCredentialsAssignResponse, 'acs_credential'>;
|
|
210
|
+
create(body?: AcsCredentialsCreateBody): SeamHttpRequest<AcsCredentialsCreateResponse, 'acs_credential'>;
|
|
211
|
+
delete(body?: AcsCredentialsDeleteBody): SeamHttpRequest<void, undefined>;
|
|
212
|
+
get(body?: AcsCredentialsGetParams): SeamHttpRequest<AcsCredentialsGetResponse, 'acs_credential'>;
|
|
213
|
+
list(body?: AcsCredentialsListParams): SeamHttpRequest<AcsCredentialsListResponse, 'acs_credentials'>;
|
|
214
|
+
unassign(body?: AcsCredentialsUnassignBody): SeamHttpRequest<AcsCredentialsUnassignResponse, 'acs_credential'>;
|
|
215
|
+
update(body?: AcsCredentialsUpdateBody): SeamHttpRequest<AcsCredentialsUpdateResponse, 'acs_credential'>;
|
|
190
216
|
}
|
|
191
217
|
type AcsCredentialsAssignBody = RouteRequestBody<'/acs/credentials/assign'>;
|
|
192
218
|
type AcsCredentialsAssignResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/assign'>>>;
|
|
@@ -221,10 +247,10 @@ declare class SeamHttpAcsEntrances {
|
|
|
221
247
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEntrances;
|
|
222
248
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEntrances;
|
|
223
249
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
224
|
-
get(body?: AcsEntrancesGetParams):
|
|
225
|
-
grantAccess(body?: AcsEntrancesGrantAccessBody):
|
|
226
|
-
list(body?: AcsEntrancesListParams):
|
|
227
|
-
listCredentialsWithAccess(body?: AcsEntrancesListCredentialsWithAccessParams):
|
|
250
|
+
get(body?: AcsEntrancesGetParams): SeamHttpRequest<AcsEntrancesGetResponse, 'acs_entrance'>;
|
|
251
|
+
grantAccess(body?: AcsEntrancesGrantAccessBody): SeamHttpRequest<void, undefined>;
|
|
252
|
+
list(body?: AcsEntrancesListParams): SeamHttpRequest<AcsEntrancesListResponse, 'acs_entrances'>;
|
|
253
|
+
listCredentialsWithAccess(body?: AcsEntrancesListCredentialsWithAccessParams): SeamHttpRequest<AcsEntrancesListCredentialsWithAccessResponse, 'acs_credentials'>;
|
|
228
254
|
}
|
|
229
255
|
type AcsEntrancesGetParams = RouteRequestBody<'/acs/entrances/get'>;
|
|
230
256
|
type AcsEntrancesGetResponse = SetNonNullable<Required<RouteResponse<'/acs/entrances/get'>>>;
|
|
@@ -250,8 +276,8 @@ declare class SeamHttpAcsSystems {
|
|
|
250
276
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsSystems;
|
|
251
277
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsSystems;
|
|
252
278
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
253
|
-
get(body?: AcsSystemsGetParams):
|
|
254
|
-
list(body?: AcsSystemsListParams):
|
|
279
|
+
get(body?: AcsSystemsGetParams): SeamHttpRequest<AcsSystemsGetResponse, 'acs_system'>;
|
|
280
|
+
list(body?: AcsSystemsListParams): SeamHttpRequest<AcsSystemsListResponse, 'acs_systems'>;
|
|
255
281
|
}
|
|
256
282
|
type AcsSystemsGetParams = RouteRequestBody<'/acs/systems/get'>;
|
|
257
283
|
type AcsSystemsGetResponse = SetNonNullable<Required<RouteResponse<'/acs/systems/get'>>>;
|
|
@@ -271,17 +297,17 @@ declare class SeamHttpAcsUsers {
|
|
|
271
297
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsUsers;
|
|
272
298
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsUsers;
|
|
273
299
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
274
|
-
addToAccessGroup(body?: AcsUsersAddToAccessGroupBody):
|
|
275
|
-
create(body?: AcsUsersCreateBody):
|
|
276
|
-
delete(body?: AcsUsersDeleteBody):
|
|
277
|
-
get(body?: AcsUsersGetParams):
|
|
278
|
-
list(body?: AcsUsersListParams):
|
|
279
|
-
listAccessibleEntrances(body?: AcsUsersListAccessibleEntrancesParams):
|
|
280
|
-
removeFromAccessGroup(body?: AcsUsersRemoveFromAccessGroupBody):
|
|
281
|
-
revokeAccessToAllEntrances(body?: AcsUsersRevokeAccessToAllEntrancesBody):
|
|
282
|
-
suspend(body?: AcsUsersSuspendBody):
|
|
283
|
-
unsuspend(body?: AcsUsersUnsuspendBody):
|
|
284
|
-
update(body?: AcsUsersUpdateBody):
|
|
300
|
+
addToAccessGroup(body?: AcsUsersAddToAccessGroupBody): SeamHttpRequest<void, undefined>;
|
|
301
|
+
create(body?: AcsUsersCreateBody): SeamHttpRequest<AcsUsersCreateResponse, 'acs_user'>;
|
|
302
|
+
delete(body?: AcsUsersDeleteBody): SeamHttpRequest<void, undefined>;
|
|
303
|
+
get(body?: AcsUsersGetParams): SeamHttpRequest<AcsUsersGetResponse, 'acs_user'>;
|
|
304
|
+
list(body?: AcsUsersListParams): SeamHttpRequest<AcsUsersListResponse, 'acs_users'>;
|
|
305
|
+
listAccessibleEntrances(body?: AcsUsersListAccessibleEntrancesParams): SeamHttpRequest<AcsUsersListAccessibleEntrancesResponse, 'acs_entrances'>;
|
|
306
|
+
removeFromAccessGroup(body?: AcsUsersRemoveFromAccessGroupBody): SeamHttpRequest<void, undefined>;
|
|
307
|
+
revokeAccessToAllEntrances(body?: AcsUsersRevokeAccessToAllEntrancesBody): SeamHttpRequest<void, undefined>;
|
|
308
|
+
suspend(body?: AcsUsersSuspendBody): SeamHttpRequest<void, undefined>;
|
|
309
|
+
unsuspend(body?: AcsUsersUnsuspendBody): SeamHttpRequest<void, undefined>;
|
|
310
|
+
update(body?: AcsUsersUpdateBody): SeamHttpRequest<void, undefined>;
|
|
285
311
|
}
|
|
286
312
|
type AcsUsersAddToAccessGroupBody = RouteRequestBody<'/acs/users/add_to_access_group'>;
|
|
287
313
|
type AcsUsersAddToAccessGroupResponse = SetNonNullable<Required<RouteResponse<'/acs/users/add_to_access_group'>>>;
|
|
@@ -348,8 +374,8 @@ declare class SeamHttpActionAttempts {
|
|
|
348
374
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpActionAttempts;
|
|
349
375
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpActionAttempts;
|
|
350
376
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
351
|
-
get(body?: ActionAttemptsGetParams, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
352
|
-
list(body?: ActionAttemptsListParams):
|
|
377
|
+
get(body?: ActionAttemptsGetParams, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ActionAttemptsGetResponse, 'action_attempt'>;
|
|
378
|
+
list(body?: ActionAttemptsListParams): SeamHttpRequest<ActionAttemptsListResponse, 'action_attempts'>;
|
|
353
379
|
}
|
|
354
380
|
type ActionAttemptsGetParams = RouteRequestBody<'/action_attempts/get'>;
|
|
355
381
|
type ActionAttemptsGetResponse = SetNonNullable<Required<RouteResponse<'/action_attempts/get'>>>;
|
|
@@ -369,13 +395,13 @@ declare class SeamHttpClientSessions {
|
|
|
369
395
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpClientSessions;
|
|
370
396
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpClientSessions;
|
|
371
397
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
372
|
-
create(body?: ClientSessionsCreateBody):
|
|
373
|
-
delete(body?: ClientSessionsDeleteBody):
|
|
374
|
-
get(body?: ClientSessionsGetParams):
|
|
375
|
-
getOrCreate(body?: ClientSessionsGetOrCreateBody):
|
|
376
|
-
grantAccess(body?: ClientSessionsGrantAccessBody):
|
|
377
|
-
list(body?: ClientSessionsListParams):
|
|
378
|
-
revoke(body?: ClientSessionsRevokeBody):
|
|
398
|
+
create(body?: ClientSessionsCreateBody): SeamHttpRequest<ClientSessionsCreateResponse, 'client_session'>;
|
|
399
|
+
delete(body?: ClientSessionsDeleteBody): SeamHttpRequest<void, undefined>;
|
|
400
|
+
get(body?: ClientSessionsGetParams): SeamHttpRequest<ClientSessionsGetResponse, 'client_session'>;
|
|
401
|
+
getOrCreate(body?: ClientSessionsGetOrCreateBody): SeamHttpRequest<ClientSessionsGetOrCreateResponse, 'client_session'>;
|
|
402
|
+
grantAccess(body?: ClientSessionsGrantAccessBody): SeamHttpRequest<ClientSessionsGrantAccessResponse, 'client_session'>;
|
|
403
|
+
list(body?: ClientSessionsListParams): SeamHttpRequest<ClientSessionsListResponse, 'client_sessions'>;
|
|
404
|
+
revoke(body?: ClientSessionsRevokeBody): SeamHttpRequest<void, undefined>;
|
|
379
405
|
}
|
|
380
406
|
type ClientSessionsCreateBody = RouteRequestBody<'/client_sessions/create'>;
|
|
381
407
|
type ClientSessionsCreateResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/create'>>>;
|
|
@@ -410,11 +436,11 @@ declare class SeamHttpConnectWebviews {
|
|
|
410
436
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpConnectWebviews;
|
|
411
437
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpConnectWebviews;
|
|
412
438
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
413
|
-
create(body?: ConnectWebviewsCreateBody):
|
|
414
|
-
delete(body?: ConnectWebviewsDeleteBody):
|
|
415
|
-
get(body?: ConnectWebviewsGetParams):
|
|
416
|
-
list(body?: ConnectWebviewsListParams):
|
|
417
|
-
view(params?: ConnectWebviewsViewParams):
|
|
439
|
+
create(body?: ConnectWebviewsCreateBody): SeamHttpRequest<ConnectWebviewsCreateResponse, 'connect_webview'>;
|
|
440
|
+
delete(body?: ConnectWebviewsDeleteBody): SeamHttpRequest<void, undefined>;
|
|
441
|
+
get(body?: ConnectWebviewsGetParams): SeamHttpRequest<ConnectWebviewsGetResponse, 'connect_webview'>;
|
|
442
|
+
list(body?: ConnectWebviewsListParams): SeamHttpRequest<ConnectWebviewsListResponse, 'connect_webviews'>;
|
|
443
|
+
view(params?: ConnectWebviewsViewParams): SeamHttpRequest<void, undefined>;
|
|
418
444
|
}
|
|
419
445
|
type ConnectWebviewsCreateBody = RouteRequestBody<'/connect_webviews/create'>;
|
|
420
446
|
type ConnectWebviewsCreateResponse = SetNonNullable<Required<RouteResponse<'/connect_webviews/create'>>>;
|
|
@@ -443,10 +469,10 @@ declare class SeamHttpConnectedAccounts {
|
|
|
443
469
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpConnectedAccounts;
|
|
444
470
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpConnectedAccounts;
|
|
445
471
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
446
|
-
delete(body?: ConnectedAccountsDeleteBody):
|
|
447
|
-
get(body?: ConnectedAccountsGetParams):
|
|
448
|
-
list(body?: ConnectedAccountsListParams):
|
|
449
|
-
update(body?: ConnectedAccountsUpdateBody):
|
|
472
|
+
delete(body?: ConnectedAccountsDeleteBody): SeamHttpRequest<void, undefined>;
|
|
473
|
+
get(body?: ConnectedAccountsGetParams): SeamHttpRequest<ConnectedAccountsGetResponse, 'connected_account'>;
|
|
474
|
+
list(body?: ConnectedAccountsListParams): SeamHttpRequest<ConnectedAccountsListResponse, 'connected_accounts'>;
|
|
475
|
+
update(body?: ConnectedAccountsUpdateBody): SeamHttpRequest<ConnectedAccountsUpdateResponse, 'connected_account'>;
|
|
450
476
|
}
|
|
451
477
|
type ConnectedAccountsDeleteBody = RouteRequestBody<'/connected_accounts/delete'>;
|
|
452
478
|
type ConnectedAccountsDeleteResponse = SetNonNullable<Required<RouteResponse<'/connected_accounts/delete'>>>;
|
|
@@ -472,7 +498,7 @@ declare class SeamHttpDevicesSimulate {
|
|
|
472
498
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpDevicesSimulate;
|
|
473
499
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpDevicesSimulate;
|
|
474
500
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
475
|
-
remove(body?: DevicesSimulateRemoveBody):
|
|
501
|
+
remove(body?: DevicesSimulateRemoveBody): SeamHttpRequest<void, undefined>;
|
|
476
502
|
}
|
|
477
503
|
type DevicesSimulateRemoveBody = RouteRequestBody<'/devices/simulate/remove'>;
|
|
478
504
|
type DevicesSimulateRemoveResponse = SetNonNullable<Required<RouteResponse<'/devices/simulate/remove'>>>;
|
|
@@ -489,9 +515,9 @@ declare class SeamHttpDevicesUnmanaged {
|
|
|
489
515
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpDevicesUnmanaged;
|
|
490
516
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpDevicesUnmanaged;
|
|
491
517
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
492
|
-
get(body?: DevicesUnmanagedGetParams):
|
|
493
|
-
list(body?: DevicesUnmanagedListParams):
|
|
494
|
-
update(body?: DevicesUnmanagedUpdateBody):
|
|
518
|
+
get(body?: DevicesUnmanagedGetParams): SeamHttpRequest<DevicesUnmanagedGetResponse, 'device'>;
|
|
519
|
+
list(body?: DevicesUnmanagedListParams): SeamHttpRequest<DevicesUnmanagedListResponse, 'devices'>;
|
|
520
|
+
update(body?: DevicesUnmanagedUpdateBody): SeamHttpRequest<void, undefined>;
|
|
495
521
|
}
|
|
496
522
|
type DevicesUnmanagedGetParams = RouteRequestBody<'/devices/unmanaged/get'>;
|
|
497
523
|
type DevicesUnmanagedGetResponse = SetNonNullable<Required<RouteResponse<'/devices/unmanaged/get'>>>;
|
|
@@ -516,11 +542,11 @@ declare class SeamHttpDevices {
|
|
|
516
542
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
517
543
|
get unmanaged(): SeamHttpDevicesUnmanaged;
|
|
518
544
|
get simulate(): SeamHttpDevicesSimulate;
|
|
519
|
-
delete(body?: DevicesDeleteBody):
|
|
520
|
-
get(body?: DevicesGetParams):
|
|
521
|
-
list(body?: DevicesListParams):
|
|
522
|
-
listDeviceProviders(body?: DevicesListDeviceProvidersParams):
|
|
523
|
-
update(body?: DevicesUpdateBody):
|
|
545
|
+
delete(body?: DevicesDeleteBody): SeamHttpRequest<void, undefined>;
|
|
546
|
+
get(body?: DevicesGetParams): SeamHttpRequest<DevicesGetResponse, 'device'>;
|
|
547
|
+
list(body?: DevicesListParams): SeamHttpRequest<DevicesListResponse, 'devices'>;
|
|
548
|
+
listDeviceProviders(body?: DevicesListDeviceProvidersParams): SeamHttpRequest<DevicesListDeviceProvidersResponse, 'device_providers'>;
|
|
549
|
+
update(body?: DevicesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
524
550
|
}
|
|
525
551
|
type DevicesDeleteBody = RouteRequestBody<'/devices/delete'>;
|
|
526
552
|
type DevicesDeleteResponse = SetNonNullable<Required<RouteResponse<'/devices/delete'>>>;
|
|
@@ -549,8 +575,8 @@ declare class SeamHttpEvents {
|
|
|
549
575
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpEvents;
|
|
550
576
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpEvents;
|
|
551
577
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
552
|
-
get(body?: EventsGetParams):
|
|
553
|
-
list(body?: EventsListParams):
|
|
578
|
+
get(body?: EventsGetParams): SeamHttpRequest<EventsGetResponse, 'event'>;
|
|
579
|
+
list(body?: EventsListParams): SeamHttpRequest<EventsListResponse, 'events'>;
|
|
554
580
|
}
|
|
555
581
|
type EventsGetParams = RouteRequestBody<'/events/get'>;
|
|
556
582
|
type EventsGetResponse = SetNonNullable<Required<RouteResponse<'/events/get'>>>;
|
|
@@ -570,10 +596,10 @@ declare class SeamHttpLocks {
|
|
|
570
596
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpLocks;
|
|
571
597
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpLocks;
|
|
572
598
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
573
|
-
get(body?: LocksGetParams):
|
|
574
|
-
list(body?: LocksListParams):
|
|
575
|
-
lockDoor(body?: LocksLockDoorBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
576
|
-
unlockDoor(body?: LocksUnlockDoorBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
599
|
+
get(body?: LocksGetParams): SeamHttpRequest<LocksGetResponse, 'device'>;
|
|
600
|
+
list(body?: LocksListParams): SeamHttpRequest<LocksListResponse, 'devices'>;
|
|
601
|
+
lockDoor(body?: LocksLockDoorBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<LocksLockDoorResponse, 'action_attempt'>;
|
|
602
|
+
unlockDoor(body?: LocksUnlockDoorBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<LocksUnlockDoorResponse, 'action_attempt'>;
|
|
577
603
|
}
|
|
578
604
|
type LocksGetParams = RouteRequestBody<'/locks/get'>;
|
|
579
605
|
type LocksGetResponse = SetNonNullable<Required<RouteResponse<'/locks/get'>>>;
|
|
@@ -599,8 +625,8 @@ declare class SeamHttpNetworks {
|
|
|
599
625
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpNetworks;
|
|
600
626
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpNetworks;
|
|
601
627
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
602
|
-
get(body?: NetworksGetParams):
|
|
603
|
-
list(body?: NetworksListParams):
|
|
628
|
+
get(body?: NetworksGetParams): SeamHttpRequest<NetworksGetResponse, 'network'>;
|
|
629
|
+
list(body?: NetworksListParams): SeamHttpRequest<NetworksListResponse, 'networks'>;
|
|
604
630
|
}
|
|
605
631
|
type NetworksGetParams = RouteRequestBody<'/networks/get'>;
|
|
606
632
|
type NetworksGetResponse = SetNonNullable<Required<RouteResponse<'/networks/get'>>>;
|
|
@@ -620,11 +646,11 @@ declare class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
620
646
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpNoiseSensorsNoiseThresholds;
|
|
621
647
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpNoiseSensorsNoiseThresholds;
|
|
622
648
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
623
|
-
create(body?: NoiseSensorsNoiseThresholdsCreateBody):
|
|
624
|
-
delete(body?: NoiseSensorsNoiseThresholdsDeleteBody):
|
|
625
|
-
get(body?: NoiseSensorsNoiseThresholdsGetParams):
|
|
626
|
-
list(body?: NoiseSensorsNoiseThresholdsListParams):
|
|
627
|
-
update(body?: NoiseSensorsNoiseThresholdsUpdateBody):
|
|
649
|
+
create(body?: NoiseSensorsNoiseThresholdsCreateBody): SeamHttpRequest<NoiseSensorsNoiseThresholdsCreateResponse, 'noise_threshold'>;
|
|
650
|
+
delete(body?: NoiseSensorsNoiseThresholdsDeleteBody): SeamHttpRequest<void, undefined>;
|
|
651
|
+
get(body?: NoiseSensorsNoiseThresholdsGetParams): SeamHttpRequest<NoiseSensorsNoiseThresholdsGetResponse, 'noise_threshold'>;
|
|
652
|
+
list(body?: NoiseSensorsNoiseThresholdsListParams): SeamHttpRequest<NoiseSensorsNoiseThresholdsListResponse, 'noise_thresholds'>;
|
|
653
|
+
update(body?: NoiseSensorsNoiseThresholdsUpdateBody): SeamHttpRequest<void, undefined>;
|
|
628
654
|
}
|
|
629
655
|
type NoiseSensorsNoiseThresholdsCreateBody = RouteRequestBody<'/noise_sensors/noise_thresholds/create'>;
|
|
630
656
|
type NoiseSensorsNoiseThresholdsCreateResponse = SetNonNullable<Required<RouteResponse<'/noise_sensors/noise_thresholds/create'>>>;
|
|
@@ -667,7 +693,7 @@ declare class SeamHttpPhonesSimulate {
|
|
|
667
693
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpPhonesSimulate;
|
|
668
694
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpPhonesSimulate;
|
|
669
695
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
670
|
-
createSandboxPhone(body?: PhonesSimulateCreateSandboxPhoneBody):
|
|
696
|
+
createSandboxPhone(body?: PhonesSimulateCreateSandboxPhoneBody): SeamHttpRequest<PhonesSimulateCreateSandboxPhoneResponse, 'phone'>;
|
|
671
697
|
}
|
|
672
698
|
type PhonesSimulateCreateSandboxPhoneBody = RouteRequestBody<'/phones/simulate/create_sandbox_phone'>;
|
|
673
699
|
type PhonesSimulateCreateSandboxPhoneResponse = SetNonNullable<Required<RouteResponse<'/phones/simulate/create_sandbox_phone'>>>;
|
|
@@ -685,8 +711,8 @@ declare class SeamHttpPhones {
|
|
|
685
711
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpPhones;
|
|
686
712
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
687
713
|
get simulate(): SeamHttpPhonesSimulate;
|
|
688
|
-
deactivate(body?: PhonesDeactivateBody):
|
|
689
|
-
list(body?: PhonesListParams):
|
|
714
|
+
deactivate(body?: PhonesDeactivateBody): SeamHttpRequest<void, undefined>;
|
|
715
|
+
list(body?: PhonesListParams): SeamHttpRequest<PhonesListResponse, 'phones'>;
|
|
690
716
|
}
|
|
691
717
|
type PhonesDeactivateBody = RouteRequestBody<'/phones/deactivate'>;
|
|
692
718
|
type PhonesDeactivateResponse = SetNonNullable<Required<RouteResponse<'/phones/deactivate'>>>;
|
|
@@ -706,11 +732,11 @@ declare class SeamHttpThermostatsClimateSettingSchedules {
|
|
|
706
732
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpThermostatsClimateSettingSchedules;
|
|
707
733
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpThermostatsClimateSettingSchedules;
|
|
708
734
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
709
|
-
create(body?: ThermostatsClimateSettingSchedulesCreateBody):
|
|
710
|
-
delete(body?: ThermostatsClimateSettingSchedulesDeleteBody):
|
|
711
|
-
get(body?: ThermostatsClimateSettingSchedulesGetParams):
|
|
712
|
-
list(body?: ThermostatsClimateSettingSchedulesListParams):
|
|
713
|
-
update(body?: ThermostatsClimateSettingSchedulesUpdateBody):
|
|
735
|
+
create(body?: ThermostatsClimateSettingSchedulesCreateBody): SeamHttpRequest<ThermostatsClimateSettingSchedulesCreateResponse, 'climate_setting_schedule'>;
|
|
736
|
+
delete(body?: ThermostatsClimateSettingSchedulesDeleteBody): SeamHttpRequest<void, undefined>;
|
|
737
|
+
get(body?: ThermostatsClimateSettingSchedulesGetParams): SeamHttpRequest<ThermostatsClimateSettingSchedulesGetResponse, 'climate_setting_schedule'>;
|
|
738
|
+
list(body?: ThermostatsClimateSettingSchedulesListParams): SeamHttpRequest<ThermostatsClimateSettingSchedulesListResponse, 'climate_setting_schedules'>;
|
|
739
|
+
update(body?: ThermostatsClimateSettingSchedulesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
714
740
|
}
|
|
715
741
|
type ThermostatsClimateSettingSchedulesCreateBody = RouteRequestBody<'/thermostats/climate_setting_schedules/create'>;
|
|
716
742
|
type ThermostatsClimateSettingSchedulesCreateResponse = SetNonNullable<Required<RouteResponse<'/thermostats/climate_setting_schedules/create'>>>;
|
|
@@ -740,14 +766,14 @@ declare class SeamHttpThermostats {
|
|
|
740
766
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpThermostats;
|
|
741
767
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
742
768
|
get climateSettingSchedules(): SeamHttpThermostatsClimateSettingSchedules;
|
|
743
|
-
cool(body?: ThermostatsCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
744
|
-
get(body?: ThermostatsGetParams):
|
|
745
|
-
heat(body?: ThermostatsHeatBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
746
|
-
heatCool(body?: ThermostatsHeatCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
747
|
-
list(body?: ThermostatsListParams):
|
|
748
|
-
off(body?: ThermostatsOffBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
749
|
-
setFanMode(body?: ThermostatsSetFanModeBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>):
|
|
750
|
-
update(body?: ThermostatsUpdateBody):
|
|
769
|
+
cool(body?: ThermostatsCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsCoolResponse, 'action_attempt'>;
|
|
770
|
+
get(body?: ThermostatsGetParams): SeamHttpRequest<ThermostatsGetResponse, 'thermostat'>;
|
|
771
|
+
heat(body?: ThermostatsHeatBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsHeatResponse, 'action_attempt'>;
|
|
772
|
+
heatCool(body?: ThermostatsHeatCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsHeatCoolResponse, 'action_attempt'>;
|
|
773
|
+
list(body?: ThermostatsListParams): SeamHttpRequest<ThermostatsListResponse, 'thermostats'>;
|
|
774
|
+
off(body?: ThermostatsOffBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsOffResponse, 'action_attempt'>;
|
|
775
|
+
setFanMode(body?: ThermostatsSetFanModeBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsSetFanModeResponse, 'action_attempt'>;
|
|
776
|
+
update(body?: ThermostatsUpdateBody): SeamHttpRequest<void, undefined>;
|
|
751
777
|
}
|
|
752
778
|
type ThermostatsCoolBody = RouteRequestBody<'/thermostats/cool'>;
|
|
753
779
|
type ThermostatsCoolResponse = SetNonNullable<Required<RouteResponse<'/thermostats/cool'>>>;
|
|
@@ -785,10 +811,10 @@ declare class SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
|
785
811
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
786
812
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
787
813
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
788
|
-
delete(body?: UserIdentitiesEnrollmentAutomationsDeleteBody):
|
|
789
|
-
get(body?: UserIdentitiesEnrollmentAutomationsGetParams):
|
|
790
|
-
launch(body?: UserIdentitiesEnrollmentAutomationsLaunchBody):
|
|
791
|
-
list(body?: UserIdentitiesEnrollmentAutomationsListParams):
|
|
814
|
+
delete(body?: UserIdentitiesEnrollmentAutomationsDeleteBody): SeamHttpRequest<void, undefined>;
|
|
815
|
+
get(body?: UserIdentitiesEnrollmentAutomationsGetParams): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsGetResponse, 'enrollment_automation'>;
|
|
816
|
+
launch(body?: UserIdentitiesEnrollmentAutomationsLaunchBody): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsLaunchResponse, 'enrollment_automation'>;
|
|
817
|
+
list(body?: UserIdentitiesEnrollmentAutomationsListParams): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsListResponse, 'enrollment_automations'>;
|
|
792
818
|
}
|
|
793
819
|
type UserIdentitiesEnrollmentAutomationsDeleteBody = RouteRequestBody<'/user_identities/enrollment_automations/delete'>;
|
|
794
820
|
type UserIdentitiesEnrollmentAutomationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/user_identities/enrollment_automations/delete'>>>;
|
|
@@ -815,18 +841,18 @@ declare class SeamHttpUserIdentities {
|
|
|
815
841
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUserIdentities;
|
|
816
842
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
817
843
|
get enrollmentAutomations(): SeamHttpUserIdentitiesEnrollmentAutomations;
|
|
818
|
-
addAcsUser(body?: UserIdentitiesAddAcsUserBody):
|
|
819
|
-
create(body?: UserIdentitiesCreateBody):
|
|
820
|
-
delete(body?: UserIdentitiesDeleteBody):
|
|
821
|
-
get(body?: UserIdentitiesGetParams):
|
|
822
|
-
grantAccessToDevice(body?: UserIdentitiesGrantAccessToDeviceBody):
|
|
823
|
-
list(body?: UserIdentitiesListParams):
|
|
824
|
-
listAccessibleDevices(body?: UserIdentitiesListAccessibleDevicesParams):
|
|
825
|
-
listAcsSystems(body?: UserIdentitiesListAcsSystemsParams):
|
|
826
|
-
listAcsUsers(body?: UserIdentitiesListAcsUsersParams):
|
|
827
|
-
removeAcsUser(body?: UserIdentitiesRemoveAcsUserBody):
|
|
828
|
-
revokeAccessToDevice(body?: UserIdentitiesRevokeAccessToDeviceBody):
|
|
829
|
-
update(body?: UserIdentitiesUpdateBody):
|
|
844
|
+
addAcsUser(body?: UserIdentitiesAddAcsUserBody): SeamHttpRequest<void, undefined>;
|
|
845
|
+
create(body?: UserIdentitiesCreateBody): SeamHttpRequest<UserIdentitiesCreateResponse, 'user_identity'>;
|
|
846
|
+
delete(body?: UserIdentitiesDeleteBody): SeamHttpRequest<void, undefined>;
|
|
847
|
+
get(body?: UserIdentitiesGetParams): SeamHttpRequest<UserIdentitiesGetResponse, 'user_identity'>;
|
|
848
|
+
grantAccessToDevice(body?: UserIdentitiesGrantAccessToDeviceBody): SeamHttpRequest<void, undefined>;
|
|
849
|
+
list(body?: UserIdentitiesListParams): SeamHttpRequest<UserIdentitiesListResponse, 'user_identities'>;
|
|
850
|
+
listAccessibleDevices(body?: UserIdentitiesListAccessibleDevicesParams): SeamHttpRequest<UserIdentitiesListAccessibleDevicesResponse, 'accessible_devices'>;
|
|
851
|
+
listAcsSystems(body?: UserIdentitiesListAcsSystemsParams): SeamHttpRequest<UserIdentitiesListAcsSystemsResponse, 'acs_systems'>;
|
|
852
|
+
listAcsUsers(body?: UserIdentitiesListAcsUsersParams): SeamHttpRequest<UserIdentitiesListAcsUsersResponse, 'acs_users'>;
|
|
853
|
+
removeAcsUser(body?: UserIdentitiesRemoveAcsUserBody): SeamHttpRequest<void, undefined>;
|
|
854
|
+
revokeAccessToDevice(body?: UserIdentitiesRevokeAccessToDeviceBody): SeamHttpRequest<void, undefined>;
|
|
855
|
+
update(body?: UserIdentitiesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
830
856
|
}
|
|
831
857
|
type UserIdentitiesAddAcsUserBody = RouteRequestBody<'/user_identities/add_acs_user'>;
|
|
832
858
|
type UserIdentitiesAddAcsUserResponse = SetNonNullable<Required<RouteResponse<'/user_identities/add_acs_user'>>>;
|
|
@@ -876,11 +902,11 @@ declare class SeamHttpWebhooks {
|
|
|
876
902
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpWebhooks;
|
|
877
903
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpWebhooks;
|
|
878
904
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
879
|
-
create(body?: WebhooksCreateBody):
|
|
880
|
-
delete(body?: WebhooksDeleteBody):
|
|
881
|
-
get(body?: WebhooksGetParams):
|
|
882
|
-
list(body?: WebhooksListParams):
|
|
883
|
-
update(body?: WebhooksUpdateBody):
|
|
905
|
+
create(body?: WebhooksCreateBody): SeamHttpRequest<WebhooksCreateResponse, 'webhook'>;
|
|
906
|
+
delete(body?: WebhooksDeleteBody): SeamHttpRequest<void, undefined>;
|
|
907
|
+
get(body?: WebhooksGetParams): SeamHttpRequest<WebhooksGetResponse, 'webhook'>;
|
|
908
|
+
list(body?: WebhooksListParams): SeamHttpRequest<WebhooksListResponse, 'webhooks'>;
|
|
909
|
+
update(body?: WebhooksUpdateBody): SeamHttpRequest<void, undefined>;
|
|
884
910
|
}
|
|
885
911
|
type WebhooksCreateBody = RouteRequestBody<'/webhooks/create'>;
|
|
886
912
|
type WebhooksCreateResponse = SetNonNullable<Required<RouteResponse<'/webhooks/create'>>>;
|
|
@@ -909,10 +935,10 @@ declare class SeamHttpWorkspaces {
|
|
|
909
935
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpWorkspaces;
|
|
910
936
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpWorkspaces;
|
|
911
937
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
912
|
-
create(body?: WorkspacesCreateBody):
|
|
913
|
-
get(body?: WorkspacesGetParams):
|
|
914
|
-
list(body?: WorkspacesListParams):
|
|
915
|
-
resetSandbox(body?: WorkspacesResetSandboxBody):
|
|
938
|
+
create(body?: WorkspacesCreateBody): SeamHttpRequest<WorkspacesCreateResponse, 'workspace'>;
|
|
939
|
+
get(body?: WorkspacesGetParams): SeamHttpRequest<WorkspacesGetResponse, 'workspace'>;
|
|
940
|
+
list(body?: WorkspacesListParams): SeamHttpRequest<WorkspacesListResponse, 'workspaces'>;
|
|
941
|
+
resetSandbox(body?: WorkspacesResetSandboxBody): SeamHttpRequest<void, undefined>;
|
|
916
942
|
}
|
|
917
943
|
type WorkspacesCreateBody = RouteRequestBody<'/workspaces/create'>;
|
|
918
944
|
type WorkspacesCreateResponse = SetNonNullable<Required<RouteResponse<'/workspaces/create'>>>;
|
|
@@ -1079,4 +1105,4 @@ declare const isPublishableKey: (token: string) => boolean;
|
|
|
1079
1105
|
declare const isConsoleSessionToken: (token: string) => boolean;
|
|
1080
1106
|
declare const isPersonalAccessToken: (token: string) => boolean;
|
|
1081
1107
|
|
|
1082
|
-
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 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 ConnectWebviewsViewOptions, type ConnectWebviewsViewParams, type ConnectWebviewsViewResponse, 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 PhonesDeactivateBody, type PhonesDeactivateOptions, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, 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, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, 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 };
|
|
1108
|
+
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 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 ConnectWebviewsViewOptions, type ConnectWebviewsViewParams, type ConnectWebviewsViewResponse, 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 PhonesDeactivateBody, type PhonesDeactivateOptions, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, 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, 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 };
|