Constructors
constructor
- new SeamHttpPhones(apiKeyOrOptions?): SeamHttpPhones
 
 Properties
client
client: AxiosInstance
Readonlydefaults
 Accessors
 Methods
deactivate
- deactivate(body?): SeamHttpRequest<void, undefined>
 Parameters
Optionalbody: { 
    device_id: string; 
}
get
- get(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
Optionalbody: { 
    device_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">
list
- list(body?): SeamHttpRequest<SetNonNullable<Required<{ 
    phones: { 
        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: ...; 
                    is_active: ...; 
                }[]; 
                has_active_endpoint: boolean; 
            }; 
            salto_space_credential_service_metadata?: { 
                has_active_phone: boolean; 
            }; 
        }; 
        warnings: { 
            message: string; 
            warning_code: string; 
        }[]; 
        workspace_id: string; 
    }[]; 
}>, "phones">, "phones"> Parameters
Optionalbody: { 
    acs_credential_id?: string; 
    owner_user_identity_id?: string; 
}Optionalacs_credential_id?: string
Optionalowner_user_identity_id?: string
Returns SeamHttpRequest<SetNonNullable<Required<{ 
    phones: { 
        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: ...; 
                    is_active: ...; 
                }[]; 
                has_active_endpoint: boolean; 
            }; 
            salto_space_credential_service_metadata?: { 
                has_active_phone: boolean; 
            }; 
        }; 
        warnings: { 
            message: string; 
            warning_code: string; 
        }[]; 
        workspace_id: string; 
    }[]; 
}>, "phones">, "phones">
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
 Parameters
- clientSessionToken: string
 
Returns Promise<void>
StaticfromApiKey
- fromApiKey(apiKey, options?): SeamHttpPhones
 
StaticfromClient
- fromClient(client, options?): SeamHttpPhones
 
StaticfromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpPhones
 
StaticfromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpPhones
 
StaticfromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpPhones
 
StaticfromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpPhones>
 
Device ID of the desired phone.