Class SeamHttpNoiseSensorsNoiseThresholds
Hierarchy
- SeamHttpNoiseSensorsNoiseThresholds
Properties
client
client: AxiosInstance
Methods
create
- create(body?): Promise<void>
Parameters
Optional
body: {
device_id: string;
ends_daily_at: string;
name?: string;
noise_threshold_decibels?: number;
noise_threshold_nrs?: number;
starts_daily_at: string;
sync?: boolean;
}
device_id: string
ends_daily_at: string
Optional
name?: string
Optional
noise_threshold_decibels?: number
Optional
noise_threshold_nrs?: number
starts_daily_at: string
Optional
sync?: boolean
Returns Promise<void>
delete
- delete(body?): Promise<void>
Parameters
Optional
body: {
device_id: string;
noise_threshold_id: string;
sync?: boolean;
}
device_id: string
noise_threshold_id: string
Optional
sync?: boolean
Returns Promise<void>
get
- get(body?): Promise<{
device_id: string;
ends_daily_at: string;
name: string;
noise_threshold_decibels: number;
noise_threshold_id: string;
noise_threshold_nrs?: number;
starts_daily_at: string;
}> Parameters
Optional
body: {
noise_threshold_id: string;
}
noise_threshold_id: string
Returns Promise<{
device_id: string;
ends_daily_at: string;
name: string;
noise_threshold_decibels: number;
noise_threshold_id: string;
noise_threshold_nrs?: number;
starts_daily_at: string;
}>
list
- list(body?): Promise<{
device_id: string;
ends_daily_at: string;
name: string;
noise_threshold_decibels: number;
noise_threshold_id: string;
noise_threshold_nrs?: number;
starts_daily_at: string;
}[]> Parameters
Optional
body: {
device_id: string;
}
Returns Promise<{
device_id: string;
ends_daily_at: string;
name: string;
noise_threshold_decibels: number;
noise_threshold_id: string;
noise_threshold_nrs?: number;
starts_daily_at: string;
}[]>
update
- update(body?): Promise<void>
Parameters
Optional
body: {
device_id: string;
ends_daily_at?: string;
name?: string;
noise_threshold_decibels?: number;
noise_threshold_id: string;
noise_threshold_nrs?: number;
starts_daily_at?: string;
sync?: boolean;
}
device_id: string
Optional
ends_daily_at?: string
Optional
name?: string
Optional
noise_threshold_decibels?: number
noise_threshold_id: string
Optional
noise_threshold_nrs?: number
Optional
starts_daily_at?: string
Optional
sync?: boolean
Returns Promise<void>
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpNoiseSensorsNoiseThresholds
Parameters
clientSessionToken: string
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpNoiseSensorsNoiseThresholds
Parameters
consoleSessionToken: string
workspaceId: string
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpNoiseSensorsNoiseThresholds
Parameters
personalAccessToken: string
workspaceId: string
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpNoiseSensorsNoiseThresholds>
Parameters
publishableKey: string
userIdentifierKey: string