Class SeamHttpPhonesSimulate
Constructors
constructor
- new SeamHttpPhonesSimulate(apiKeyOrOptions?): SeamHttpPhonesSimulate
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
createSandboxPhone
- createSandboxPhone(body?): SeamHttpRequest<SetNonNullable<Required<{
phone: {
created_at: string;
custom_metadata: Record<string, string | boolean>;
device_id: string;
device_type: "ios_phone" | "android_phone";
display_name: string;
errors: {
error_code: string;
message: string;
}[];
nickname?: string;
properties: {
assa_abloy_credential_service_metadata?: {
endpoints: {
endpoint_id: string;
is_active: boolean;
}[];
has_active_endpoint: boolean;
};
salto_space_credential_service_metadata?: {
has_active_phone: boolean;
};
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
}>, "phone">, "phone"> Parameters
Optional
body: {
assa_abloy_metadata?: {
application_version?: string;
ble_capability?: boolean;
hce_capability?: boolean;
nfc_capability?: boolean;
seos_applet_version?: string;
seos_tsm_endpoint_id?: number;
};
custom_sdk_installation_id?: string;
phone_metadata?: {
device_manufacturer?: string;
device_model?: string;
operating_system?: "android" | "ios";
os_version?: string;
};
user_identity_id: string;
}Optional
assa_abloy_metadata?: {
application_version?: string;
ble_capability?: boolean;
hce_capability?: boolean;
nfc_capability?: boolean;
seos_applet_version?: string;
seos_tsm_endpoint_id?: number;
}
Optional
application_version?: string
Optional
ble_capability?: boolean
Optional
hce_capability?: boolean
Optional
nfc_capability?: boolean
Optional
seos_applet_version?: string
Optional
seos_tsm_endpoint_id?: number
Optional
custom_sdk_installation_id?: string
Optional
phone_metadata?: {
device_manufacturer?: string;
device_model?: string;
operating_system?: "android" | "ios";
os_version?: string;
}
Optional
device_manufacturer?: string
Optional
device_model?: string
Optional
operating_system?: "android" | "ios"
Optional
os_version?: string
user_identity_id: string
Returns SeamHttpRequest<SetNonNullable<Required<{
phone: {
created_at: string;
custom_metadata: Record<string, string | boolean>;
device_id: string;
device_type: "ios_phone" | "android_phone";
display_name: string;
errors: {
error_code: string;
message: string;
}[];
nickname?: string;
properties: {
assa_abloy_credential_service_metadata?: {
endpoints: {
endpoint_id: string;
is_active: boolean;
}[];
has_active_endpoint: boolean;
};
salto_space_credential_service_metadata?: {
has_active_phone: boolean;
};
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
}>, "phone">, "phone">
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpPhonesSimulate
Static
fromClient
- fromClient(client, options?): SeamHttpPhonesSimulate
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpPhonesSimulate
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpPhonesSimulate
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpPhonesSimulate
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpPhonesSimulate>
ASSA ABLOY metadata to associate with the simulated phone.