- deviceService(
__namedParameters: { baseUrl: string; realmPath: string },
): Api<
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
{
getOAthDevices: QueryDefinition<
RetrieveOathQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
OathResponse,
"deviceClient",
>;
deleteOathDevice: MutationDefinition<
RetrieveOathQuery & { device: OathDevice },
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
DeletedOathDevice,
"deviceClient",
>;
getPushDevices: QueryDefinition<
PushDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<PushDevice[]>,
"deviceClient",
>;
deletePushDevice: MutationDefinition<
DeleteDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
DeletedPushDevice,
"deviceClient",
>;
getWebAuthnDevices: QueryDefinition<
WebAuthnQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<WebAuthnDevice[]>,
"deviceClient",
>;
updateWebAuthnDeviceName: MutationDefinition<
WebAuthnQuery & { device: WebAuthnDevice },
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
UpdatedWebAuthnDevice,
"deviceClient",
>;
deleteWebAuthnDeviceName: MutationDefinition<
WebAuthnQuery & { device: WebAuthnDevice
| UpdatedWebAuthnDevice },
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
UpdatedWebAuthnDevice,
"deviceClient",
>;
getBoundDevices: MutationDefinition<
GetBoundDevicesQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<Device[]>,
"deviceClient",
>;
updateBoundDevice: MutationDefinition<
BoundDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
Device,
"deviceClient",
>;
deleteBoundDevice: MutationDefinition<
BoundDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<Device>,
"deviceClient",
>;
getDeviceProfiles: QueryDefinition<
GetProfileDevices,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<ProfileDevice[]>,
"deviceClient",
>;
updateDeviceProfile: MutationDefinition<
Omit<ProfileDevicesQuery, "uuid">,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
ProfileDevice,
"deviceClient",
>;
deleteDeviceProfile: MutationDefinition<
ProfileDevicesQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
ProfileDevice,
"deviceClient",
>;
},
"deviceClient",
never,
typeof coreModuleName,
> Parameters
- __namedParameters: { baseUrl: string; realmPath: string }
Returns Api<
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
{
getOAthDevices: QueryDefinition<
RetrieveOathQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
OathResponse,
"deviceClient",
>;
deleteOathDevice: MutationDefinition<
RetrieveOathQuery & { device: OathDevice },
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
DeletedOathDevice,
"deviceClient",
>;
getPushDevices: QueryDefinition<
PushDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<PushDevice[]>,
"deviceClient",
>;
deletePushDevice: MutationDefinition<
DeleteDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
DeletedPushDevice,
"deviceClient",
>;
getWebAuthnDevices: QueryDefinition<
WebAuthnQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<WebAuthnDevice[]>,
"deviceClient",
>;
updateWebAuthnDeviceName: MutationDefinition<
WebAuthnQuery & { device: WebAuthnDevice },
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
UpdatedWebAuthnDevice,
"deviceClient",
>;
deleteWebAuthnDeviceName: MutationDefinition<
WebAuthnQuery & { device: WebAuthnDevice
| UpdatedWebAuthnDevice },
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
UpdatedWebAuthnDevice,
"deviceClient",
>;
getBoundDevices: MutationDefinition<
GetBoundDevicesQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<Device[]>,
"deviceClient",
>;
updateBoundDevice: MutationDefinition<
BoundDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
Device,
"deviceClient",
>;
deleteBoundDevice: MutationDefinition<
BoundDeviceQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<Device>,
"deviceClient",
>;
getDeviceProfiles: QueryDefinition<
GetProfileDevices,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
GeneralResponse<ProfileDevice[]>,
"deviceClient",
>;
updateDeviceProfile: MutationDefinition<
Omit<ProfileDevicesQuery, "uuid">,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
ProfileDevice,
"deviceClient",
>;
deleteDeviceProfile: MutationDefinition<
ProfileDevicesQuery,
BaseQueryFn<
string
| FetchArgs,
unknown,
FetchBaseQueryError,
{},
FetchBaseQueryMeta,
>,
never,
ProfileDevice,
"deviceClient",
>;
},
"deviceClient",
never,
typeof coreModuleName,
>