Class SeamHttpAccessCodesUnmanaged
Constructors
constructor
- new SeamHttpAccessCodesUnmanaged(apiKeyOrOptions?): SeamHttpAccessCodesUnmanaged
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
convertToManaged
- convertToManaged(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
access_code_id: string;
allow_external_modification?: boolean;
force?: boolean;
is_external_modification_allowed?: boolean;
sync?: boolean;
}access_code_id: string
Optional
allow_external_modification?: boolean
Optional
force?: boolean
Optional
is_external_modification_allowed?: boolean
Optional
sync?: boolean
delete
- delete(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
access_code_id: string;
sync?: boolean;
}access_code_id: string
Optional
sync?: boolean
get
- get(body?): SeamHttpRequest<SetNonNullable<Required<{
access_code: {
access_code_id: string;
code: null | string;
created_at: string;
device_id: string;
ends_at?: null | string;
errors: ({
error_code: string;
is_access_code_error: true;
message: string;
} | {
error_code: string;
is_device_error: true;
message: string;
} | {
error_code: string;
is_connected_account_error: true;
message: string;
})[];
is_managed: false;
name: null | string;
starts_at?: null | string;
status: "set";
type: "time_bound" | "ongoing";
warnings: {
message: string;
warning_code: string;
}[];
};
}>, "access_code">, "access_code"> Parameters
Optional
body: {
access_code_id?: string;
code?: string;
device_id?: string;
}Optional
access_code_id?: string
Optional
code?: string
Optional
device_id?: string
Returns SeamHttpRequest<SetNonNullable<Required<{
access_code: {
access_code_id: string;
code: null | string;
created_at: string;
device_id: string;
ends_at?: null | string;
errors: ({
error_code: string;
is_access_code_error: true;
message: string;
} | {
error_code: string;
is_device_error: true;
message: string;
} | {
error_code: string;
is_connected_account_error: true;
message: string;
})[];
is_managed: false;
name: null | string;
starts_at?: null | string;
status: "set";
type: "time_bound" | "ongoing";
warnings: {
message: string;
warning_code: string;
}[];
};
}>, "access_code">, "access_code">
list
- list(body?): SeamHttpRequest<SetNonNullable<Required<{
access_codes: {
access_code_id: string;
code: null | string;
created_at: string;
device_id: string;
ends_at?: null | string;
errors: ({
error_code: string;
is_access_code_error: true;
message: string;
} | {
error_code: string;
is_device_error: true;
message: string;
} | {
error_code: string;
is_connected_account_error: true;
message: string;
})[];
is_managed: false;
name: null | string;
starts_at?: null | string;
status: "set";
type: "time_bound" | "ongoing";
warnings: {
message: string;
warning_code: string;
}[];
}[];
}>, "access_codes">, "access_codes"> Parameters
Optional
body: {
device_id: string;
user_identifier_key?: string;
}device_id: string
Optional
user_identifier_key?: string
Returns SeamHttpRequest<SetNonNullable<Required<{
access_codes: {
access_code_id: string;
code: null | string;
created_at: string;
device_id: string;
ends_at?: null | string;
errors: ({
error_code: string;
is_access_code_error: true;
message: string;
} | {
error_code: string;
is_device_error: true;
message: string;
} | {
error_code: string;
is_connected_account_error: true;
message: string;
})[];
is_managed: false;
name: null | string;
starts_at?: null | string;
status: "set";
type: "time_bound" | "ongoing";
warnings: {
message: string;
warning_code: string;
}[];
}[];
}>, "access_codes">, "access_codes">
update
- update(body?): SeamHttpRequest<void, undefined>
Parameters
Optional
body: {
access_code_id: string;
allow_external_modification?: boolean;
force?: boolean;
is_external_modification_allowed?: boolean;
is_managed: boolean;
}access_code_id: string
Optional
allow_external_modification?: boolean
Optional
force?: boolean
Optional
is_external_modification_allowed?: boolean
is_managed: boolean
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpAccessCodesUnmanaged
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpAccessCodesUnmanaged
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpAccessCodesUnmanaged
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpAccessCodesUnmanaged>