Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Apr 7, 2024
1 parent 6784951 commit 731bcc9
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 202 deletions.
37 changes: 19 additions & 18 deletions lib/accounts/api/__generated__.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.25.0 🍺
* Generated by orval v6.26.0 🍺
* Do not edit manually.
* InNoHassle Accounts API
*
Expand All @@ -23,13 +23,12 @@ import type {
QueryFunction,
QueryKey,
UseMutationOptions,
UseMutationResult,
UseQueryOptions,
UseQueryResult,
} from "@tanstack/react-query";
import { axiosQuery } from "./axios";
import { queryOptionsMutator } from "./query";
export type Logout200 = {};

export type LogoutParams = {
redirect_uri: string;
};
Expand Down Expand Up @@ -63,14 +62,6 @@ export type TokensGenerateTokenParams = {
scope?: string | null;
};

export type TokensGetJwks200 = {};

export type ProvidersTelegramConnect200 = {};

export type ProvidersInnopolisCallback200 = {};

export type ProvidersInnopolisLoginOrRegister200 = {};

export type ProvidersInnopolisLoginOrRegisterParams = {
redirect_uri: string;
prompt?: "none" | null;
Expand Down Expand Up @@ -153,7 +144,7 @@ export const providersInnopolisLoginOrRegister = (
options?: SecondParameter<typeof axiosQuery>,
signal?: AbortSignal,
) => {
return axiosQuery<ProvidersInnopolisLoginOrRegister200>(
return axiosQuery<unknown>(
{ url: `/providers/innopolis/login`, method: "GET", params, signal },
options,
);
Expand Down Expand Up @@ -250,7 +241,7 @@ export const providersInnopolisCallback = (
options?: SecondParameter<typeof axiosQuery>,
signal?: AbortSignal,
) => {
return axiosQuery<ProvidersInnopolisCallback200>(
return axiosQuery<unknown>(
{ url: `/providers/innopolis/callback`, method: "GET", signal },
options,
);
Expand Down Expand Up @@ -334,7 +325,7 @@ export const providersTelegramConnect = (
telegramWidgetData: TelegramWidgetData,
options?: SecondParameter<typeof axiosQuery>,
) => {
return axiosQuery<ProvidersTelegramConnect200>(
return axiosQuery<unknown>(
{
url: `/providers/telegram/connect`,
method: "POST",
Expand Down Expand Up @@ -396,7 +387,12 @@ export const useProvidersTelegramConnect = <
TContext
>;
request?: SecondParameter<typeof axiosQuery>;
}) => {
}): UseMutationResult<
Awaited<ReturnType<typeof providersTelegramConnect>>,
TError,
{ data: TelegramWidgetData },
TContext
> => {
const mutationOptions = getProvidersTelegramConnectMutationOptions(options);

return useMutation(mutationOptions);
Expand Down Expand Up @@ -471,7 +467,12 @@ export const useProvidersTelegramLogin = <
TContext
>;
request?: SecondParameter<typeof axiosQuery>;
}) => {
}): UseMutationResult<
Awaited<ReturnType<typeof providersTelegramLogin>>,
TError,
{ data: TelegramWidgetData },
TContext
> => {
const mutationOptions = getProvidersTelegramLoginMutationOptions(options);

return useMutation(mutationOptions);
Expand Down Expand Up @@ -838,7 +839,7 @@ export const tokensGetJwks = (
options?: SecondParameter<typeof axiosQuery>,
signal?: AbortSignal,
) => {
return axiosQuery<TokensGetJwks200>(
return axiosQuery<unknown>(
{ url: `/.well-known/jwks.json`, method: "GET", signal },
options,
);
Expand Down Expand Up @@ -1290,7 +1291,7 @@ export const logout = (
options?: SecondParameter<typeof axiosQuery>,
signal?: AbortSignal,
) => {
return axiosQuery<Logout200>(
return axiosQuery<unknown>(
{ url: `/logout`, method: "GET", params, signal },
options,
);
Expand Down
Loading

0 comments on commit 731bcc9

Please sign in to comment.