deviceClient( config: ConfigOptions,): { boundDevices: { delete: (query: BindingDeviceQuery) => Promise<undefined | Device>; get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>; update: (query: BindingDeviceQuery) => Promise<undefined | Device>; }; oath: { delete: ( query: DeleteOathQuery & OathDevice, ) => Promise<undefined | DeletedOAthDevice>; get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>; }; push: { delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>; get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>; }; webauthn: { delete: ( query: { uuid: string } & WebAuthnQuery & WebAuthnBody, ) => Promise<undefined | WebAuthnDevice>; get: ( query: WebAuthnQuery, ) => Promise<undefined | WebAuthnDevicesResponse>; update: ( query: { uuid: string } & WebAuthnQuery & WebAuthnBody, ) => Promise<undefined | UpdatedWebAuthnDevice>; };} Returns {
boundDevices: {
delete: (query: BindingDeviceQuery) => Promise<undefined | Device>;
get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>;
update: (query: BindingDeviceQuery) => Promise<undefined | Device>;
};
oath: {
delete: (
query: DeleteOathQuery & OathDevice,
) => Promise<undefined | DeletedOAthDevice>;
get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>;
};
push: {
delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>;
get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>;
};
webauthn: {
delete: (
query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
) => Promise<undefined | WebAuthnDevice>;
get: (
query: WebAuthnQuery,
) => Promise<undefined | WebAuthnDevicesResponse>;
update: (
query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
) => Promise<undefined | UpdatedWebAuthnDevice>;
};
}
boundDevices: {
delete: (query: BindingDeviceQuery) => Promise<undefined | Device>;
get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>;
update: (query: BindingDeviceQuery) => Promise<undefined | Device>;
}
delete: (query: BindingDeviceQuery) => Promise<undefined | Device>
get: (query: BindingDeviceQuery) => Promise<undefined | DeviceResponse>
update: (query: BindingDeviceQuery) => Promise<undefined | Device>
oath: {
delete: (
query: DeleteOathQuery & OathDevice,
) => Promise<undefined | DeletedOAthDevice>;
get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>;
}
delete: (query: DeleteOathQuery & OathDevice) => Promise<undefined | DeletedOAthDevice>
get: (query: RetrieveOathQuery) => Promise<undefined | OAthResponse>
push: {
delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>;
get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>;
}
delete: (query: DeleteDeviceQuery) => Promise<undefined | PushDevice>
get: (query: PushDeviceQuery) => Promise<undefined | PushDevicesResponse>
webauthn: {
delete: (
query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
) => Promise<undefined | WebAuthnDevice>;
get: (query: WebAuthnQuery) => Promise<undefined | WebAuthnDevicesResponse>;
update: (
query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
) => Promise<undefined | UpdatedWebAuthnDevice>;
}
delete: (
query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
) => Promise<undefined | WebAuthnDevice>
get: (query: WebAuthnQuery) => Promise<undefined | WebAuthnDevicesResponse>
update: (
query: { uuid: string } & WebAuthnQuery & WebAuthnBody,
) => Promise<undefined | UpdatedWebAuthnDevice>
Bound devices management methods.