authula 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugins/index.d.ts +1334 -263
- package/dist/plugins/index.js +1083 -44
- package/dist/plugins/index.js.map +1 -1
- package/package.json +6 -6
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $t as DisableResponse, A as UpdateUserResponse, An as CreateAccountResponse, At as MagicLinkSignInRequest, Bn as BanUserResponse, Bt as UserPermissionInfo, C as UsersPage, D as UpsertUserStateRequest, Dn as CreateApiKeyResponse, Dt as OauthAuthorizeParams, E as UpsertUserStateResponse, Et as OauthCallbackParams, F as UpdatePermissionResponse, Fn as ChangePasswordRequest, G as UpdateAccountResponse, Gt as GetMeResponse, H as UpdateApiKeyResponse, Hn as AuthorizeResponse, Ht as GetUserByIDResponse, I as UpdatePermissionRequest, In as ChangeEmailResponse, It as ListApiKeysParams, J as StopImpersonationResponse, Jn as AdminUserSession, Jt as GetApiKeyResponse, K as UpdateAccountRequest, Kt as GetImpersonationByIDResponse, Ln as CallbackResponse, Mn as CheckUserPermissionsResponse, Mt as MagicLinkExchangeRequest, N as UpdateRoleResponse, Nn as CheckUserPermissionsRequest, Nt as ListUsersParams, O as UpsertSessionStateResponse, On as CreateApiKeyRequest, Ot as MagicLinkVerifyResponse, P as UpdateRoleRequest, Pn as ChangePasswordResponse, Q as SignUpRequest, Qn as AddRolePermissionRequest, Qt as EnableResponse, Rt as GetUserStateResponse, S as VerifyApiKeyRequest, T as UserAccountsResponse, U as UpdateApiKeyRequest, Un as AssignUserRoleResponse, Ut as GetTOTPURIResponse, Vn as BanUserRequest, Wn as AssignUserRoleRequest, Wt as GetSessionStateResponse, X as StartImpersonationRequest, Xn as AdminSessionState, Xt as GetAccountByIDResponse, Y as StartImpersonationResponse, Yt as GetAllApiKeysResponse, Z as SignUpResponse, Zn as AddRolePermissionResponse, Zt as GenerateBackupCodesResponse, _ as VerifyTOTPRequest, _n as Role, _t as RefreshTokenRequest, at as RoleDetails, b as VerifyBackupCodeRequest, bn as Permission, c as CookieStore, ct as RequestPasswordResetRequest, d as AuthulaClient, dn as CreateUserStateRequest, dt as ReplaceUserRolesRequest, en as DeleteUserStateResponse, et as SignOutResponse, fn as CreateUserResponse, ft as ReplaceRolePermissionsRequest, g as VerifyTOTPResponse, gn as CreateRoleResponse, gt as RefreshTokenResponse, h as WellKnownJWKSResponse, hn as CreateSessionStateRequest, ht as RemoveRolePermissionResponse, i as customFetch, in as DeletePermissionResponse, it as SendEmailVerificationRequest, j as UpdateUserRequest, jn as CreateAccountRequest, jt as MagicLinkExchangeResponse, k as UpsertSessionStateRequest, kt as MagicLinkSignInResponse, ln as DeleteApiKeyResponse, lt as RequestEmailChangeRequest, m as FetchContext, mt as RemoveUserRoleResponse, nn as DeleteSessionStateResponse, nt as SignInResponse, ot as RevokeSessionResponse, pn as CreateUserRequest, pt as ReplaceRolePermissionResponse, q as UnbanUserResponse, qn as AdminUserState, qt as Impersonation, rn as DeleteRoleResponse, rt as SignInRequest, sn as DeleteOrganizationResponse, st as RevokeSessionRequest, t as ClientWithPlugins, tn as DeleteUserResponse, tt as SignOutRequest, u as Plugin, un as DeleteAccountResponse, ut as ReplaceUserRolesResponse, v as VerifyMagicLinkParams, vn as CreateRoleRequest, w as UserRoleInfo, wn as CreateOrganizationRequest, wt as Organization, x as VerifyApiKeyResponse, xn as CreatePermissionRequest, y as VerifyBackupCodeResponse, yn as CreatePermissionResponse, z as UpdateOrganizationRequest, zt as GetUserPermissionsResponse } from "../index-BTPtw0hH.js";
|
|
1
|
+
import { $n as AddOrganizationTeamMemberRequest, $t as DisableResponse, A as UpdateUserResponse, An as CreateAccountResponse, At as MagicLinkSignInRequest, Bn as BanUserResponse, Bt as UserPermissionInfo, C as UsersPage, D as UpsertUserStateRequest, Dn as CreateApiKeyResponse, Dt as OauthAuthorizeParams, E as UpsertUserStateResponse, En as CreateOrganizationInvitationRequest, Et as OauthCallbackParams, F as UpdatePermissionResponse, Fn as ChangePasswordRequest, Ft as ListOrganizationMembersParams, G as UpdateAccountResponse, Gt as GetMeResponse, H as UpdateApiKeyResponse, Hn as AuthorizeResponse, Ht as GetUserByIDResponse, I as UpdatePermissionRequest, In as ChangeEmailResponse, It as ListApiKeysParams, J as StopImpersonationResponse, Jn as AdminUserSession, Jt as GetApiKeyResponse, K as UpdateAccountRequest, Kt as GetImpersonationByIDResponse, L as UpdateOrganizationTeamRequest, Ln as CallbackResponse, Mn as CheckUserPermissionsResponse, Mt as MagicLinkExchangeRequest, N as UpdateRoleResponse, Nn as CheckUserPermissionsRequest, Nt as ListUsersParams, O as UpsertSessionStateResponse, On as CreateApiKeyRequest, Ot as MagicLinkVerifyResponse, P as UpdateRoleRequest, Pn as ChangePasswordResponse, Pt as ListOrganizationTeamMembersParams, Q as SignUpRequest, Qn as AddRolePermissionRequest, Qt as EnableResponse, Rt as GetUserStateResponse, S as VerifyApiKeyRequest, Sn as CreateOrganizationTeamRequest, St as OrganizationInvitation, T as UserAccountsResponse, U as UpdateApiKeyRequest, Un as AssignUserRoleResponse, Ut as GetTOTPURIResponse, V as UpdateOrganizationMemberRequest, Vn as BanUserRequest, Wn as AssignUserRoleRequest, Wt as GetSessionStateResponse, X as StartImpersonationRequest, Xn as AdminSessionState, Xt as GetAccountByIDResponse, Y as StartImpersonationResponse, Yt as GetAllApiKeysResponse, Z as SignUpResponse, Zn as AddRolePermissionResponse, Zt as GenerateBackupCodesResponse, _ as VerifyTOTPRequest, _n as Role, _t as RefreshTokenRequest, an as DeleteOrganizationTeamResponse, at as RoleDetails, b as VerifyBackupCodeRequest, bn as Permission, c as CookieStore, cn as DeleteOrganizationMemberResponse, ct as RequestPasswordResetRequest, d as AuthulaClient, dn as CreateUserStateRequest, dt as ReplaceUserRolesRequest, en as DeleteUserStateResponse, er as AddOrganizationMemberRequest, et as SignOutResponse, fn as CreateUserResponse, ft as ReplaceRolePermissionsRequest, g as VerifyTOTPResponse, gn as CreateRoleResponse, gt as RefreshTokenResponse, h as WellKnownJWKSResponse, hn as CreateSessionStateRequest, ht as RemoveRolePermissionResponse, i as customFetch, in as DeletePermissionResponse, it as SendEmailVerificationRequest, j as UpdateUserRequest, jn as CreateAccountRequest, jt as MagicLinkExchangeResponse, k as UpsertSessionStateRequest, kt as MagicLinkSignInResponse, ln as DeleteApiKeyResponse, lt as RequestEmailChangeRequest, m as FetchContext, mt as RemoveUserRoleResponse, nn as DeleteSessionStateResponse, nr as AcceptOrganizationInvitationQuery, nt as SignInResponse, on as DeleteOrganizationTeamMemberResponse, ot as RevokeSessionResponse, pn as CreateUserRequest, pt as ReplaceRolePermissionResponse, q as UnbanUserResponse, qn as AdminUserState, qt as Impersonation, rn as DeleteRoleResponse, rr as AcceptOrganizationInvitationParams, rt as SignInRequest, sn as DeleteOrganizationResponse, st as RevokeSessionRequest, t as ClientWithPlugins, tn as DeleteUserResponse, tt as SignOutRequest, u as Plugin, un as DeleteAccountResponse, ut as ReplaceUserRolesResponse, v as VerifyMagicLinkParams, vn as CreateRoleRequest, vt as OrganizationTeamMember, w as UserRoleInfo, wn as CreateOrganizationRequest, wt as Organization, x as VerifyApiKeyResponse, xn as CreatePermissionRequest, xt as OrganizationMember, y as VerifyBackupCodeResponse, yn as CreatePermissionResponse, yt as OrganizationTeam, z as UpdateOrganizationRequest, zt as GetUserPermissionsResponse } from "../index-BTPtw0hH.js";
|
|
2
2
|
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
3
3
|
declare namespace access_control_d_exports {
|
|
4
4
|
export { AddRolePermissionMutationBody, AddRolePermissionMutationError, AddRolePermissionMutationResult, AssignUserRoleMutationBody, AssignUserRoleMutationError, AssignUserRoleMutationResult, CheckUserPermissionsMutationBody, CheckUserPermissionsMutationError, CheckUserPermissionsMutationResult, CreatePermissionMutationBody, CreatePermissionMutationError, CreatePermissionMutationResult, CreateRoleMutationBody, CreateRoleMutationError, CreateRoleMutationResult, DeletePermissionMutationError, DeletePermissionMutationResult, DeleteRoleMutationError, DeleteRoleMutationResult, GetPermissionByKeyQueryError, GetPermissionByKeyQueryResult, GetPermissionQueryError, GetPermissionQueryResult, GetRoleByNameQueryError, GetRoleByNameQueryResult, GetRoleQueryError, GetRoleQueryResult, GetUserPermissionsQueryError, GetUserPermissionsQueryResult, ListPermissionsQueryError, ListPermissionsQueryResult, ListRolePermissionsQueryError, ListRolePermissionsQueryResult, ListRolesQueryError, ListRolesQueryResult, ListUserRolesQueryError, ListUserRolesQueryResult, RemoveRolePermissionMutationError, RemoveRolePermissionMutationResult, RemoveUserRoleMutationError, RemoveUserRoleMutationResult, ReplaceRolePermissionsMutationBody, ReplaceRolePermissionsMutationError, ReplaceRolePermissionsMutationResult, ReplaceUserRolesMutationBody, ReplaceUserRolesMutationError, ReplaceUserRolesMutationResult, UpdatePermissionMutationBody, UpdatePermissionMutationError, UpdatePermissionMutationResult, UpdateRoleMutationBody, UpdateRoleMutationError, UpdateRoleMutationResult, addRolePermission, assignUserRole, checkUserPermissions, createPermission, createRole, deletePermission, deleteRole, getAddRolePermissionMutationOptions, getAddRolePermissionUrl, getAssignUserRoleMutationOptions, getAssignUserRoleUrl, getCheckUserPermissionsMutationOptions, getCheckUserPermissionsUrl, getCreatePermissionMutationOptions, getCreatePermissionUrl, getCreateRoleMutationOptions, getCreateRoleUrl, getDeletePermissionMutationOptions, getDeletePermissionUrl, getDeleteRoleMutationOptions, getDeleteRoleUrl, getGetPermissionByKeyQueryKey, getGetPermissionByKeyQueryOptions, getGetPermissionByKeyUrl, getGetPermissionQueryKey, getGetPermissionQueryOptions, getGetPermissionUrl, getGetRoleByNameQueryKey, getGetRoleByNameQueryOptions, getGetRoleByNameUrl, getGetRoleQueryKey, getGetRoleQueryOptions, getGetRoleUrl, getGetUserPermissionsQueryKey, getGetUserPermissionsQueryOptions, getGetUserPermissionsUrl, getListPermissionsQueryKey, getListPermissionsQueryOptions, getListPermissionsUrl, getListRolePermissionsQueryKey, getListRolePermissionsQueryOptions, getListRolePermissionsUrl, getListRolesQueryKey, getListRolesQueryOptions, getListRolesUrl, getListUserRolesQueryKey, getListUserRolesQueryOptions, getListUserRolesUrl, getPermission, getPermissionByKey, getRemoveRolePermissionMutationOptions, getRemoveRolePermissionUrl, getRemoveUserRoleMutationOptions, getRemoveUserRoleUrl, getReplaceRolePermissionsMutationOptions, getReplaceRolePermissionsUrl, getReplaceUserRolesMutationOptions, getReplaceUserRolesUrl, getRole, getRoleByName, getUpdatePermissionMutationOptions, getUpdatePermissionUrl, getUpdateRoleMutationOptions, getUpdateRoleUrl, getUserPermissions, listPermissions, listRolePermissions, listRoles, listUserRoles, removeRolePermission, removeUserRole, replaceRolePermissions, replaceUserRoles, updatePermission, updateRole, useAddRolePermission, useAssignUserRole, useCheckUserPermissions, useCreatePermission, useCreateRole, useDeletePermission, useDeleteRole, useGetPermission, useGetPermissionByKey, useGetRole, useGetRoleByName, useGetUserPermissions, useListPermissions, useListRolePermissions, useListRoles, useListUserRoles, useRemoveRolePermission, useRemoveUserRole, useReplaceRolePermissions, useReplaceUserRoles, useUpdatePermission, useUpdateRole };
|
|
5
5
|
}
|
|
6
|
-
type SecondParameter$
|
|
6
|
+
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7
7
|
declare const getListPermissionsUrl: () => string;
|
|
8
8
|
/**
|
|
9
9
|
* Lists all permissions.
|
|
@@ -13,7 +13,7 @@ declare const listPermissions: (options?: RequestInit) => Promise<Permission[] |
|
|
|
13
13
|
declare const getListPermissionsQueryKey: () => readonly ["/access-control/permissions"];
|
|
14
14
|
declare const getListPermissionsQueryOptions: <TData = Awaited<ReturnType<typeof listPermissions>>, TError = unknown>(options?: {
|
|
15
15
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listPermissions>>, TError, TData>>;
|
|
16
|
-
request?: SecondParameter$
|
|
16
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
17
17
|
}) => UseQueryOptions<Awaited<ReturnType<typeof listPermissions>>, TError, TData> & {
|
|
18
18
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
19
19
|
};
|
|
@@ -21,19 +21,19 @@ type ListPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof listPerm
|
|
|
21
21
|
type ListPermissionsQueryError = unknown;
|
|
22
22
|
declare function useListPermissions<TData = Awaited<ReturnType<typeof listPermissions>>, TError = unknown>(options: {
|
|
23
23
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listPermissions>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listPermissions>>, TError, Awaited<ReturnType<typeof listPermissions>>>, "initialData">;
|
|
24
|
-
request?: SecondParameter$
|
|
24
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
25
25
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
26
26
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
27
27
|
};
|
|
28
28
|
declare function useListPermissions<TData = Awaited<ReturnType<typeof listPermissions>>, TError = unknown>(options?: {
|
|
29
29
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listPermissions>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listPermissions>>, TError, Awaited<ReturnType<typeof listPermissions>>>, "initialData">;
|
|
30
|
-
request?: SecondParameter$
|
|
30
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
31
31
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
32
32
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
33
33
|
};
|
|
34
34
|
declare function useListPermissions<TData = Awaited<ReturnType<typeof listPermissions>>, TError = unknown>(options?: {
|
|
35
35
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listPermissions>>, TError, TData>>;
|
|
36
|
-
request?: SecondParameter$
|
|
36
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
37
37
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
38
38
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
39
39
|
};
|
|
@@ -47,7 +47,7 @@ declare const getCreatePermissionMutationOptions: <TError = unknown, TContext =
|
|
|
47
47
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createPermission>>, TError, {
|
|
48
48
|
data?: CreatePermissionRequest;
|
|
49
49
|
}, TContext>;
|
|
50
|
-
request?: SecondParameter$
|
|
50
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
51
51
|
}) => UseMutationOptions<Awaited<ReturnType<typeof createPermission>>, TError, {
|
|
52
52
|
data?: CreatePermissionRequest;
|
|
53
53
|
}, TContext>;
|
|
@@ -61,7 +61,7 @@ declare const useCreatePermission: <TError = unknown, TContext = unknown>(option
|
|
|
61
61
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createPermission>>, TError, {
|
|
62
62
|
data?: CreatePermissionRequest;
|
|
63
63
|
}, TContext>;
|
|
64
|
-
request?: SecondParameter$
|
|
64
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
65
65
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createPermission>>, TError, {
|
|
66
66
|
data?: CreatePermissionRequest;
|
|
67
67
|
}, TContext>;
|
|
@@ -74,7 +74,7 @@ declare const getPermissionByKey: (permissionKey: string, options?: RequestInit)
|
|
|
74
74
|
declare const getGetPermissionByKeyQueryKey: (permissionKey: string) => readonly [`/access-control/permissions/by-key/${string}`];
|
|
75
75
|
declare const getGetPermissionByKeyQueryOptions: <TData = Awaited<ReturnType<typeof getPermissionByKey>>, TError = unknown>(permissionKey: string, options?: {
|
|
76
76
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, TData>>;
|
|
77
|
-
request?: SecondParameter$
|
|
77
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
78
78
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, TData> & {
|
|
79
79
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
80
80
|
};
|
|
@@ -82,19 +82,19 @@ type GetPermissionByKeyQueryResult = NonNullable<Awaited<ReturnType<typeof getPe
|
|
|
82
82
|
type GetPermissionByKeyQueryError = unknown;
|
|
83
83
|
declare function useGetPermissionByKey<TData = Awaited<ReturnType<typeof getPermissionByKey>>, TError = unknown>(permissionKey: string, options: {
|
|
84
84
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, Awaited<ReturnType<typeof getPermissionByKey>>>, "initialData">;
|
|
85
|
-
request?: SecondParameter$
|
|
85
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
86
86
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
87
87
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
88
88
|
};
|
|
89
89
|
declare function useGetPermissionByKey<TData = Awaited<ReturnType<typeof getPermissionByKey>>, TError = unknown>(permissionKey: string, options?: {
|
|
90
90
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, Awaited<ReturnType<typeof getPermissionByKey>>>, "initialData">;
|
|
91
|
-
request?: SecondParameter$
|
|
91
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
92
92
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
93
93
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
94
94
|
};
|
|
95
95
|
declare function useGetPermissionByKey<TData = Awaited<ReturnType<typeof getPermissionByKey>>, TError = unknown>(permissionKey: string, options?: {
|
|
96
96
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermissionByKey>>, TError, TData>>;
|
|
97
|
-
request?: SecondParameter$
|
|
97
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
98
98
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
99
99
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
100
100
|
};
|
|
@@ -107,7 +107,7 @@ declare const getPermission: (permissionId: string, options?: RequestInit) => Pr
|
|
|
107
107
|
declare const getGetPermissionQueryKey: (permissionId: string) => readonly [`/access-control/permissions/${string}`];
|
|
108
108
|
declare const getGetPermissionQueryOptions: <TData = Awaited<ReturnType<typeof getPermission>>, TError = unknown>(permissionId: string, options?: {
|
|
109
109
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermission>>, TError, TData>>;
|
|
110
|
-
request?: SecondParameter$
|
|
110
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
111
111
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getPermission>>, TError, TData> & {
|
|
112
112
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
113
113
|
};
|
|
@@ -115,19 +115,19 @@ type GetPermissionQueryResult = NonNullable<Awaited<ReturnType<typeof getPermiss
|
|
|
115
115
|
type GetPermissionQueryError = unknown;
|
|
116
116
|
declare function useGetPermission<TData = Awaited<ReturnType<typeof getPermission>>, TError = unknown>(permissionId: string, options: {
|
|
117
117
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermission>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPermission>>, TError, Awaited<ReturnType<typeof getPermission>>>, "initialData">;
|
|
118
|
-
request?: SecondParameter$
|
|
118
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
119
119
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
120
120
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
121
121
|
};
|
|
122
122
|
declare function useGetPermission<TData = Awaited<ReturnType<typeof getPermission>>, TError = unknown>(permissionId: string, options?: {
|
|
123
123
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermission>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPermission>>, TError, Awaited<ReturnType<typeof getPermission>>>, "initialData">;
|
|
124
|
-
request?: SecondParameter$
|
|
124
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
125
125
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
126
126
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
127
127
|
};
|
|
128
128
|
declare function useGetPermission<TData = Awaited<ReturnType<typeof getPermission>>, TError = unknown>(permissionId: string, options?: {
|
|
129
129
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPermission>>, TError, TData>>;
|
|
130
|
-
request?: SecondParameter$
|
|
130
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
131
131
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
132
132
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
133
133
|
};
|
|
@@ -141,7 +141,7 @@ declare const getDeletePermissionMutationOptions: <TError = unknown, TContext =
|
|
|
141
141
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePermission>>, TError, {
|
|
142
142
|
permissionId: string;
|
|
143
143
|
}, TContext>;
|
|
144
|
-
request?: SecondParameter$
|
|
144
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
145
145
|
}) => UseMutationOptions<Awaited<ReturnType<typeof deletePermission>>, TError, {
|
|
146
146
|
permissionId: string;
|
|
147
147
|
}, TContext>;
|
|
@@ -154,7 +154,7 @@ declare const useDeletePermission: <TError = unknown, TContext = unknown>(option
|
|
|
154
154
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePermission>>, TError, {
|
|
155
155
|
permissionId: string;
|
|
156
156
|
}, TContext>;
|
|
157
|
-
request?: SecondParameter$
|
|
157
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
158
158
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deletePermission>>, TError, {
|
|
159
159
|
permissionId: string;
|
|
160
160
|
}, TContext>;
|
|
@@ -169,7 +169,7 @@ declare const getUpdatePermissionMutationOptions: <TError = unknown, TContext =
|
|
|
169
169
|
permissionId: string;
|
|
170
170
|
data?: UpdatePermissionRequest;
|
|
171
171
|
}, TContext>;
|
|
172
|
-
request?: SecondParameter$
|
|
172
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
173
173
|
}) => UseMutationOptions<Awaited<ReturnType<typeof updatePermission>>, TError, {
|
|
174
174
|
permissionId: string;
|
|
175
175
|
data?: UpdatePermissionRequest;
|
|
@@ -185,7 +185,7 @@ declare const useUpdatePermission: <TError = unknown, TContext = unknown>(option
|
|
|
185
185
|
permissionId: string;
|
|
186
186
|
data?: UpdatePermissionRequest;
|
|
187
187
|
}, TContext>;
|
|
188
|
-
request?: SecondParameter$
|
|
188
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
189
189
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updatePermission>>, TError, {
|
|
190
190
|
permissionId: string;
|
|
191
191
|
data?: UpdatePermissionRequest;
|
|
@@ -199,7 +199,7 @@ declare const listRoles: (options?: RequestInit) => Promise<Role[] | null>;
|
|
|
199
199
|
declare const getListRolesQueryKey: () => readonly ["/access-control/roles"];
|
|
200
200
|
declare const getListRolesQueryOptions: <TData = Awaited<ReturnType<typeof listRoles>>, TError = unknown>(options?: {
|
|
201
201
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRoles>>, TError, TData>>;
|
|
202
|
-
request?: SecondParameter$
|
|
202
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
203
203
|
}) => UseQueryOptions<Awaited<ReturnType<typeof listRoles>>, TError, TData> & {
|
|
204
204
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
205
205
|
};
|
|
@@ -207,19 +207,19 @@ type ListRolesQueryResult = NonNullable<Awaited<ReturnType<typeof listRoles>>>;
|
|
|
207
207
|
type ListRolesQueryError = unknown;
|
|
208
208
|
declare function useListRoles<TData = Awaited<ReturnType<typeof listRoles>>, TError = unknown>(options: {
|
|
209
209
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRoles>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listRoles>>, TError, Awaited<ReturnType<typeof listRoles>>>, "initialData">;
|
|
210
|
-
request?: SecondParameter$
|
|
210
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
211
211
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
212
212
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
213
213
|
};
|
|
214
214
|
declare function useListRoles<TData = Awaited<ReturnType<typeof listRoles>>, TError = unknown>(options?: {
|
|
215
215
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRoles>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listRoles>>, TError, Awaited<ReturnType<typeof listRoles>>>, "initialData">;
|
|
216
|
-
request?: SecondParameter$
|
|
216
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
217
217
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
218
218
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
219
219
|
};
|
|
220
220
|
declare function useListRoles<TData = Awaited<ReturnType<typeof listRoles>>, TError = unknown>(options?: {
|
|
221
221
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRoles>>, TError, TData>>;
|
|
222
|
-
request?: SecondParameter$
|
|
222
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
223
223
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
224
224
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
225
225
|
};
|
|
@@ -233,7 +233,7 @@ declare const getCreateRoleMutationOptions: <TError = unknown, TContext = unknow
|
|
|
233
233
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createRole>>, TError, {
|
|
234
234
|
data?: CreateRoleRequest;
|
|
235
235
|
}, TContext>;
|
|
236
|
-
request?: SecondParameter$
|
|
236
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
237
237
|
}) => UseMutationOptions<Awaited<ReturnType<typeof createRole>>, TError, {
|
|
238
238
|
data?: CreateRoleRequest;
|
|
239
239
|
}, TContext>;
|
|
@@ -247,7 +247,7 @@ declare const useCreateRole: <TError = unknown, TContext = unknown>(options?: {
|
|
|
247
247
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createRole>>, TError, {
|
|
248
248
|
data?: CreateRoleRequest;
|
|
249
249
|
}, TContext>;
|
|
250
|
-
request?: SecondParameter$
|
|
250
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
251
251
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createRole>>, TError, {
|
|
252
252
|
data?: CreateRoleRequest;
|
|
253
253
|
}, TContext>;
|
|
@@ -260,7 +260,7 @@ declare const getRoleByName: (roleName: string, options?: RequestInit) => Promis
|
|
|
260
260
|
declare const getGetRoleByNameQueryKey: (roleName: string) => readonly [`/access-control/roles/by-name/${string}`];
|
|
261
261
|
declare const getGetRoleByNameQueryOptions: <TData = Awaited<ReturnType<typeof getRoleByName>>, TError = unknown>(roleName: string, options?: {
|
|
262
262
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, TData>>;
|
|
263
|
-
request?: SecondParameter$
|
|
263
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
264
264
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, TData> & {
|
|
265
265
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
266
266
|
};
|
|
@@ -268,19 +268,19 @@ type GetRoleByNameQueryResult = NonNullable<Awaited<ReturnType<typeof getRoleByN
|
|
|
268
268
|
type GetRoleByNameQueryError = unknown;
|
|
269
269
|
declare function useGetRoleByName<TData = Awaited<ReturnType<typeof getRoleByName>>, TError = unknown>(roleName: string, options: {
|
|
270
270
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, Awaited<ReturnType<typeof getRoleByName>>>, "initialData">;
|
|
271
|
-
request?: SecondParameter$
|
|
271
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
272
272
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
273
273
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
274
274
|
};
|
|
275
275
|
declare function useGetRoleByName<TData = Awaited<ReturnType<typeof getRoleByName>>, TError = unknown>(roleName: string, options?: {
|
|
276
276
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, Awaited<ReturnType<typeof getRoleByName>>>, "initialData">;
|
|
277
|
-
request?: SecondParameter$
|
|
277
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
278
278
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
279
279
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
280
280
|
};
|
|
281
281
|
declare function useGetRoleByName<TData = Awaited<ReturnType<typeof getRoleByName>>, TError = unknown>(roleName: string, options?: {
|
|
282
282
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRoleByName>>, TError, TData>>;
|
|
283
|
-
request?: SecondParameter$
|
|
283
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
284
284
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
285
285
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
286
286
|
};
|
|
@@ -293,7 +293,7 @@ declare const getRole: (roleId: string, options?: RequestInit) => Promise<RoleDe
|
|
|
293
293
|
declare const getGetRoleQueryKey: (roleId: string) => readonly [`/access-control/roles/${string}`];
|
|
294
294
|
declare const getGetRoleQueryOptions: <TData = Awaited<ReturnType<typeof getRole>>, TError = unknown>(roleId: string, options?: {
|
|
295
295
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRole>>, TError, TData>>;
|
|
296
|
-
request?: SecondParameter$
|
|
296
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
297
297
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getRole>>, TError, TData> & {
|
|
298
298
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
299
299
|
};
|
|
@@ -301,19 +301,19 @@ type GetRoleQueryResult = NonNullable<Awaited<ReturnType<typeof getRole>>>;
|
|
|
301
301
|
type GetRoleQueryError = unknown;
|
|
302
302
|
declare function useGetRole<TData = Awaited<ReturnType<typeof getRole>>, TError = unknown>(roleId: string, options: {
|
|
303
303
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRole>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getRole>>, TError, Awaited<ReturnType<typeof getRole>>>, "initialData">;
|
|
304
|
-
request?: SecondParameter$
|
|
304
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
305
305
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
306
306
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
307
307
|
};
|
|
308
308
|
declare function useGetRole<TData = Awaited<ReturnType<typeof getRole>>, TError = unknown>(roleId: string, options?: {
|
|
309
309
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRole>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getRole>>, TError, Awaited<ReturnType<typeof getRole>>>, "initialData">;
|
|
310
|
-
request?: SecondParameter$
|
|
310
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
311
311
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
312
312
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
313
313
|
};
|
|
314
314
|
declare function useGetRole<TData = Awaited<ReturnType<typeof getRole>>, TError = unknown>(roleId: string, options?: {
|
|
315
315
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getRole>>, TError, TData>>;
|
|
316
|
-
request?: SecondParameter$
|
|
316
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
317
317
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
318
318
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
319
319
|
};
|
|
@@ -327,7 +327,7 @@ declare const getDeleteRoleMutationOptions: <TError = unknown, TContext = unknow
|
|
|
327
327
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteRole>>, TError, {
|
|
328
328
|
roleId: string;
|
|
329
329
|
}, TContext>;
|
|
330
|
-
request?: SecondParameter$
|
|
330
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
331
331
|
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteRole>>, TError, {
|
|
332
332
|
roleId: string;
|
|
333
333
|
}, TContext>;
|
|
@@ -340,7 +340,7 @@ declare const useDeleteRole: <TError = unknown, TContext = unknown>(options?: {
|
|
|
340
340
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteRole>>, TError, {
|
|
341
341
|
roleId: string;
|
|
342
342
|
}, TContext>;
|
|
343
|
-
request?: SecondParameter$
|
|
343
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
344
344
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteRole>>, TError, {
|
|
345
345
|
roleId: string;
|
|
346
346
|
}, TContext>;
|
|
@@ -355,7 +355,7 @@ declare const getUpdateRoleMutationOptions: <TError = unknown, TContext = unknow
|
|
|
355
355
|
roleId: string;
|
|
356
356
|
data?: UpdateRoleRequest;
|
|
357
357
|
}, TContext>;
|
|
358
|
-
request?: SecondParameter$
|
|
358
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
359
359
|
}) => UseMutationOptions<Awaited<ReturnType<typeof updateRole>>, TError, {
|
|
360
360
|
roleId: string;
|
|
361
361
|
data?: UpdateRoleRequest;
|
|
@@ -371,7 +371,7 @@ declare const useUpdateRole: <TError = unknown, TContext = unknown>(options?: {
|
|
|
371
371
|
roleId: string;
|
|
372
372
|
data?: UpdateRoleRequest;
|
|
373
373
|
}, TContext>;
|
|
374
|
-
request?: SecondParameter$
|
|
374
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
375
375
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateRole>>, TError, {
|
|
376
376
|
roleId: string;
|
|
377
377
|
data?: UpdateRoleRequest;
|
|
@@ -385,7 +385,7 @@ declare const listRolePermissions: (roleId: string, options?: RequestInit) => Pr
|
|
|
385
385
|
declare const getListRolePermissionsQueryKey: (roleId: string) => readonly [`/access-control/roles/${string}/permissions`];
|
|
386
386
|
declare const getListRolePermissionsQueryOptions: <TData = Awaited<ReturnType<typeof listRolePermissions>>, TError = unknown>(roleId: string, options?: {
|
|
387
387
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, TData>>;
|
|
388
|
-
request?: SecondParameter$
|
|
388
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
389
389
|
}) => UseQueryOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, TData> & {
|
|
390
390
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
391
391
|
};
|
|
@@ -393,19 +393,19 @@ type ListRolePermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof list
|
|
|
393
393
|
type ListRolePermissionsQueryError = unknown;
|
|
394
394
|
declare function useListRolePermissions<TData = Awaited<ReturnType<typeof listRolePermissions>>, TError = unknown>(roleId: string, options: {
|
|
395
395
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, Awaited<ReturnType<typeof listRolePermissions>>>, "initialData">;
|
|
396
|
-
request?: SecondParameter$
|
|
396
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
397
397
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
398
398
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
399
399
|
};
|
|
400
400
|
declare function useListRolePermissions<TData = Awaited<ReturnType<typeof listRolePermissions>>, TError = unknown>(roleId: string, options?: {
|
|
401
401
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, Awaited<ReturnType<typeof listRolePermissions>>>, "initialData">;
|
|
402
|
-
request?: SecondParameter$
|
|
402
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
403
403
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
404
404
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
405
405
|
};
|
|
406
406
|
declare function useListRolePermissions<TData = Awaited<ReturnType<typeof listRolePermissions>>, TError = unknown>(roleId: string, options?: {
|
|
407
407
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listRolePermissions>>, TError, TData>>;
|
|
408
|
-
request?: SecondParameter$
|
|
408
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
409
409
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
410
410
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
411
411
|
};
|
|
@@ -420,7 +420,7 @@ declare const getReplaceRolePermissionsMutationOptions: <TError = unknown, TCont
|
|
|
420
420
|
roleId: string;
|
|
421
421
|
data?: ReplaceRolePermissionsRequest;
|
|
422
422
|
}, TContext>;
|
|
423
|
-
request?: SecondParameter$
|
|
423
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
424
424
|
}) => UseMutationOptions<Awaited<ReturnType<typeof replaceRolePermissions>>, TError, {
|
|
425
425
|
roleId: string;
|
|
426
426
|
data?: ReplaceRolePermissionsRequest;
|
|
@@ -436,7 +436,7 @@ declare const useReplaceRolePermissions: <TError = unknown, TContext = unknown>(
|
|
|
436
436
|
roleId: string;
|
|
437
437
|
data?: ReplaceRolePermissionsRequest;
|
|
438
438
|
}, TContext>;
|
|
439
|
-
request?: SecondParameter$
|
|
439
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
440
440
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof replaceRolePermissions>>, TError, {
|
|
441
441
|
roleId: string;
|
|
442
442
|
data?: ReplaceRolePermissionsRequest;
|
|
@@ -452,7 +452,7 @@ declare const getAddRolePermissionMutationOptions: <TError = unknown, TContext =
|
|
|
452
452
|
roleId: string;
|
|
453
453
|
data?: AddRolePermissionRequest;
|
|
454
454
|
}, TContext>;
|
|
455
|
-
request?: SecondParameter$
|
|
455
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
456
456
|
}) => UseMutationOptions<Awaited<ReturnType<typeof addRolePermission>>, TError, {
|
|
457
457
|
roleId: string;
|
|
458
458
|
data?: AddRolePermissionRequest;
|
|
@@ -468,7 +468,7 @@ declare const useAddRolePermission: <TError = unknown, TContext = unknown>(optio
|
|
|
468
468
|
roleId: string;
|
|
469
469
|
data?: AddRolePermissionRequest;
|
|
470
470
|
}, TContext>;
|
|
471
|
-
request?: SecondParameter$
|
|
471
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
472
472
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof addRolePermission>>, TError, {
|
|
473
473
|
roleId: string;
|
|
474
474
|
data?: AddRolePermissionRequest;
|
|
@@ -484,7 +484,7 @@ declare const getRemoveRolePermissionMutationOptions: <TError = unknown, TContex
|
|
|
484
484
|
roleId: string;
|
|
485
485
|
permissionId: string;
|
|
486
486
|
}, TContext>;
|
|
487
|
-
request?: SecondParameter$
|
|
487
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
488
488
|
}) => UseMutationOptions<Awaited<ReturnType<typeof removeRolePermission>>, TError, {
|
|
489
489
|
roleId: string;
|
|
490
490
|
permissionId: string;
|
|
@@ -499,7 +499,7 @@ declare const useRemoveRolePermission: <TError = unknown, TContext = unknown>(op
|
|
|
499
499
|
roleId: string;
|
|
500
500
|
permissionId: string;
|
|
501
501
|
}, TContext>;
|
|
502
|
-
request?: SecondParameter$
|
|
502
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
503
503
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof removeRolePermission>>, TError, {
|
|
504
504
|
roleId: string;
|
|
505
505
|
permissionId: string;
|
|
@@ -513,7 +513,7 @@ declare const getUserPermissions: (userId: string, options?: RequestInit) => Pro
|
|
|
513
513
|
declare const getGetUserPermissionsQueryKey: (userId: string) => readonly [`/access-control/users/${string}/permissions`];
|
|
514
514
|
declare const getGetUserPermissionsQueryOptions: <TData = Awaited<ReturnType<typeof getUserPermissions>>, TError = unknown>(userId: string, options?: {
|
|
515
515
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, TData>>;
|
|
516
|
-
request?: SecondParameter$
|
|
516
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
517
517
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, TData> & {
|
|
518
518
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
519
519
|
};
|
|
@@ -521,19 +521,19 @@ type GetUserPermissionsQueryResult = NonNullable<Awaited<ReturnType<typeof getUs
|
|
|
521
521
|
type GetUserPermissionsQueryError = unknown;
|
|
522
522
|
declare function useGetUserPermissions<TData = Awaited<ReturnType<typeof getUserPermissions>>, TError = unknown>(userId: string, options: {
|
|
523
523
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, Awaited<ReturnType<typeof getUserPermissions>>>, "initialData">;
|
|
524
|
-
request?: SecondParameter$
|
|
524
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
525
525
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
526
526
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
527
527
|
};
|
|
528
528
|
declare function useGetUserPermissions<TData = Awaited<ReturnType<typeof getUserPermissions>>, TError = unknown>(userId: string, options?: {
|
|
529
529
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, Awaited<ReturnType<typeof getUserPermissions>>>, "initialData">;
|
|
530
|
-
request?: SecondParameter$
|
|
530
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
531
531
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
532
532
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
533
533
|
};
|
|
534
534
|
declare function useGetUserPermissions<TData = Awaited<ReturnType<typeof getUserPermissions>>, TError = unknown>(userId: string, options?: {
|
|
535
535
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getUserPermissions>>, TError, TData>>;
|
|
536
|
-
request?: SecondParameter$
|
|
536
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
537
537
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
538
538
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
539
539
|
};
|
|
@@ -548,7 +548,7 @@ declare const getCheckUserPermissionsMutationOptions: <TError = unknown, TContex
|
|
|
548
548
|
userId: string;
|
|
549
549
|
data?: CheckUserPermissionsRequest;
|
|
550
550
|
}, TContext>;
|
|
551
|
-
request?: SecondParameter$
|
|
551
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
552
552
|
}) => UseMutationOptions<Awaited<ReturnType<typeof checkUserPermissions>>, TError, {
|
|
553
553
|
userId: string;
|
|
554
554
|
data?: CheckUserPermissionsRequest;
|
|
@@ -564,7 +564,7 @@ declare const useCheckUserPermissions: <TError = unknown, TContext = unknown>(op
|
|
|
564
564
|
userId: string;
|
|
565
565
|
data?: CheckUserPermissionsRequest;
|
|
566
566
|
}, TContext>;
|
|
567
|
-
request?: SecondParameter$
|
|
567
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
568
568
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof checkUserPermissions>>, TError, {
|
|
569
569
|
userId: string;
|
|
570
570
|
data?: CheckUserPermissionsRequest;
|
|
@@ -578,7 +578,7 @@ declare const listUserRoles: (userId: string, options?: RequestInit) => Promise<
|
|
|
578
578
|
declare const getListUserRolesQueryKey: (userId: string) => readonly [`/access-control/users/${string}/roles`];
|
|
579
579
|
declare const getListUserRolesQueryOptions: <TData = Awaited<ReturnType<typeof listUserRoles>>, TError = unknown>(userId: string, options?: {
|
|
580
580
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, TData>>;
|
|
581
|
-
request?: SecondParameter$
|
|
581
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
582
582
|
}) => UseQueryOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, TData> & {
|
|
583
583
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
584
584
|
};
|
|
@@ -586,19 +586,19 @@ type ListUserRolesQueryResult = NonNullable<Awaited<ReturnType<typeof listUserRo
|
|
|
586
586
|
type ListUserRolesQueryError = unknown;
|
|
587
587
|
declare function useListUserRoles<TData = Awaited<ReturnType<typeof listUserRoles>>, TError = unknown>(userId: string, options: {
|
|
588
588
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, Awaited<ReturnType<typeof listUserRoles>>>, "initialData">;
|
|
589
|
-
request?: SecondParameter$
|
|
589
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
590
590
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
591
591
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
592
592
|
};
|
|
593
593
|
declare function useListUserRoles<TData = Awaited<ReturnType<typeof listUserRoles>>, TError = unknown>(userId: string, options?: {
|
|
594
594
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, Awaited<ReturnType<typeof listUserRoles>>>, "initialData">;
|
|
595
|
-
request?: SecondParameter$
|
|
595
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
596
596
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
597
597
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
598
598
|
};
|
|
599
599
|
declare function useListUserRoles<TData = Awaited<ReturnType<typeof listUserRoles>>, TError = unknown>(userId: string, options?: {
|
|
600
600
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listUserRoles>>, TError, TData>>;
|
|
601
|
-
request?: SecondParameter$
|
|
601
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
602
602
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
603
603
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
604
604
|
};
|
|
@@ -613,7 +613,7 @@ declare const getReplaceUserRolesMutationOptions: <TError = unknown, TContext =
|
|
|
613
613
|
userId: string;
|
|
614
614
|
data?: ReplaceUserRolesRequest;
|
|
615
615
|
}, TContext>;
|
|
616
|
-
request?: SecondParameter$
|
|
616
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
617
617
|
}) => UseMutationOptions<Awaited<ReturnType<typeof replaceUserRoles>>, TError, {
|
|
618
618
|
userId: string;
|
|
619
619
|
data?: ReplaceUserRolesRequest;
|
|
@@ -629,7 +629,7 @@ declare const useReplaceUserRoles: <TError = unknown, TContext = unknown>(option
|
|
|
629
629
|
userId: string;
|
|
630
630
|
data?: ReplaceUserRolesRequest;
|
|
631
631
|
}, TContext>;
|
|
632
|
-
request?: SecondParameter$
|
|
632
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
633
633
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof replaceUserRoles>>, TError, {
|
|
634
634
|
userId: string;
|
|
635
635
|
data?: ReplaceUserRolesRequest;
|
|
@@ -645,7 +645,7 @@ declare const getAssignUserRoleMutationOptions: <TError = unknown, TContext = un
|
|
|
645
645
|
userId: string;
|
|
646
646
|
data?: AssignUserRoleRequest;
|
|
647
647
|
}, TContext>;
|
|
648
|
-
request?: SecondParameter$
|
|
648
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
649
649
|
}) => UseMutationOptions<Awaited<ReturnType<typeof assignUserRole>>, TError, {
|
|
650
650
|
userId: string;
|
|
651
651
|
data?: AssignUserRoleRequest;
|
|
@@ -661,7 +661,7 @@ declare const useAssignUserRole: <TError = unknown, TContext = unknown>(options?
|
|
|
661
661
|
userId: string;
|
|
662
662
|
data?: AssignUserRoleRequest;
|
|
663
663
|
}, TContext>;
|
|
664
|
-
request?: SecondParameter$
|
|
664
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
665
665
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof assignUserRole>>, TError, {
|
|
666
666
|
userId: string;
|
|
667
667
|
data?: AssignUserRoleRequest;
|
|
@@ -677,7 +677,7 @@ declare const getRemoveUserRoleMutationOptions: <TError = unknown, TContext = un
|
|
|
677
677
|
userId: string;
|
|
678
678
|
roleId: string;
|
|
679
679
|
}, TContext>;
|
|
680
|
-
request?: SecondParameter$
|
|
680
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
681
681
|
}) => UseMutationOptions<Awaited<ReturnType<typeof removeUserRole>>, TError, {
|
|
682
682
|
userId: string;
|
|
683
683
|
roleId: string;
|
|
@@ -692,7 +692,7 @@ declare const useRemoveUserRole: <TError = unknown, TContext = unknown>(options?
|
|
|
692
692
|
userId: string;
|
|
693
693
|
roleId: string;
|
|
694
694
|
}, TContext>;
|
|
695
|
-
request?: SecondParameter$
|
|
695
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
696
696
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof removeUserRole>>, TError, {
|
|
697
697
|
userId: string;
|
|
698
698
|
roleId: string;
|
|
@@ -1972,7 +1972,7 @@ declare class AdminPlugin implements Plugin {
|
|
|
1972
1972
|
declare namespace api_keys_d_exports {
|
|
1973
1973
|
export { CreateApiKeyMutationBody, CreateApiKeyMutationError, CreateApiKeyMutationResult, DeleteApiKeyMutationError, DeleteApiKeyMutationResult, GetApiKeyQueryError, GetApiKeyQueryResult, ListApiKeysQueryError, ListApiKeysQueryResult, UpdateApiKeyMutationBody, UpdateApiKeyMutationError, UpdateApiKeyMutationResult, VerifyApiKeyMutationBody, VerifyApiKeyMutationError, VerifyApiKeyMutationResult, createApiKey, deleteApiKey, getApiKey, getCreateApiKeyMutationOptions, getCreateApiKeyUrl, getDeleteApiKeyMutationOptions, getDeleteApiKeyUrl, getGetApiKeyQueryKey, getGetApiKeyQueryOptions, getGetApiKeyUrl, getListApiKeysQueryKey, getListApiKeysQueryOptions, getListApiKeysUrl, getUpdateApiKeyMutationOptions, getUpdateApiKeyUrl, getVerifyApiKeyMutationOptions, getVerifyApiKeyUrl, listApiKeys, updateApiKey, useCreateApiKey, useDeleteApiKey, useGetApiKey, useListApiKeys, useUpdateApiKey, useVerifyApiKey, verifyApiKey };
|
|
1974
1974
|
}
|
|
1975
|
-
type SecondParameter$
|
|
1975
|
+
type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
1976
1976
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
1977
1977
|
/**
|
|
1978
1978
|
* Lists API keys with pagination, optionally filtered by owner.
|
|
@@ -1982,7 +1982,7 @@ declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) =
|
|
|
1982
1982
|
declare const getListApiKeysQueryKey: (params?: ListApiKeysParams) => readonly ["/api-keys", ...ListApiKeysParams[]];
|
|
1983
1983
|
declare const getListApiKeysQueryOptions: <TData = Awaited<ReturnType<typeof listApiKeys>>, TError = unknown>(params?: ListApiKeysParams, options?: {
|
|
1984
1984
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, TData>>;
|
|
1985
|
-
request?: SecondParameter$
|
|
1985
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
1986
1986
|
}) => UseQueryOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, TData> & {
|
|
1987
1987
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1988
1988
|
};
|
|
@@ -1990,19 +1990,19 @@ type ListApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listApiKeys>
|
|
|
1990
1990
|
type ListApiKeysQueryError = unknown;
|
|
1991
1991
|
declare function useListApiKeys<TData = Awaited<ReturnType<typeof listApiKeys>>, TError = unknown>(params: undefined | ListApiKeysParams, options: {
|
|
1992
1992
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, Awaited<ReturnType<typeof listApiKeys>>>, "initialData">;
|
|
1993
|
-
request?: SecondParameter$
|
|
1993
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
1994
1994
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1995
1995
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1996
1996
|
};
|
|
1997
1997
|
declare function useListApiKeys<TData = Awaited<ReturnType<typeof listApiKeys>>, TError = unknown>(params?: ListApiKeysParams, options?: {
|
|
1998
1998
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, Awaited<ReturnType<typeof listApiKeys>>>, "initialData">;
|
|
1999
|
-
request?: SecondParameter$
|
|
1999
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2000
2000
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2001
2001
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2002
2002
|
};
|
|
2003
2003
|
declare function useListApiKeys<TData = Awaited<ReturnType<typeof listApiKeys>>, TError = unknown>(params?: ListApiKeysParams, options?: {
|
|
2004
2004
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listApiKeys>>, TError, TData>>;
|
|
2005
|
-
request?: SecondParameter$
|
|
2005
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2006
2006
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2007
2007
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2008
2008
|
};
|
|
@@ -2016,7 +2016,7 @@ declare const getCreateApiKeyMutationOptions: <TError = unknown, TContext = unkn
|
|
|
2016
2016
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createApiKey>>, TError, {
|
|
2017
2017
|
data?: CreateApiKeyRequest;
|
|
2018
2018
|
}, TContext>;
|
|
2019
|
-
request?: SecondParameter$
|
|
2019
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2020
2020
|
}) => UseMutationOptions<Awaited<ReturnType<typeof createApiKey>>, TError, {
|
|
2021
2021
|
data?: CreateApiKeyRequest;
|
|
2022
2022
|
}, TContext>;
|
|
@@ -2030,7 +2030,7 @@ declare const useCreateApiKey: <TError = unknown, TContext = unknown>(options?:
|
|
|
2030
2030
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createApiKey>>, TError, {
|
|
2031
2031
|
data?: CreateApiKeyRequest;
|
|
2032
2032
|
}, TContext>;
|
|
2033
|
-
request?: SecondParameter$
|
|
2033
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2034
2034
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createApiKey>>, TError, {
|
|
2035
2035
|
data?: CreateApiKeyRequest;
|
|
2036
2036
|
}, TContext>;
|
|
@@ -2044,7 +2044,7 @@ declare const getVerifyApiKeyMutationOptions: <TError = unknown, TContext = unkn
|
|
|
2044
2044
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyApiKey>>, TError, {
|
|
2045
2045
|
data?: VerifyApiKeyRequest;
|
|
2046
2046
|
}, TContext>;
|
|
2047
|
-
request?: SecondParameter$
|
|
2047
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2048
2048
|
}) => UseMutationOptions<Awaited<ReturnType<typeof verifyApiKey>>, TError, {
|
|
2049
2049
|
data?: VerifyApiKeyRequest;
|
|
2050
2050
|
}, TContext>;
|
|
@@ -2058,7 +2058,7 @@ declare const useVerifyApiKey: <TError = unknown, TContext = unknown>(options?:
|
|
|
2058
2058
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof verifyApiKey>>, TError, {
|
|
2059
2059
|
data?: VerifyApiKeyRequest;
|
|
2060
2060
|
}, TContext>;
|
|
2061
|
-
request?: SecondParameter$
|
|
2061
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2062
2062
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof verifyApiKey>>, TError, {
|
|
2063
2063
|
data?: VerifyApiKeyRequest;
|
|
2064
2064
|
}, TContext>;
|
|
@@ -2071,7 +2071,7 @@ declare const getApiKey: (id: string, options?: RequestInit) => Promise<GetApiKe
|
|
|
2071
2071
|
declare const getGetApiKeyQueryKey: (id: string) => readonly [`/api-keys/${string}`];
|
|
2072
2072
|
declare const getGetApiKeyQueryOptions: <TData = Awaited<ReturnType<typeof getApiKey>>, TError = unknown>(id: string, options?: {
|
|
2073
2073
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiKey>>, TError, TData>>;
|
|
2074
|
-
request?: SecondParameter$
|
|
2074
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2075
2075
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getApiKey>>, TError, TData> & {
|
|
2076
2076
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2077
2077
|
};
|
|
@@ -2079,19 +2079,19 @@ type GetApiKeyQueryResult = NonNullable<Awaited<ReturnType<typeof getApiKey>>>;
|
|
|
2079
2079
|
type GetApiKeyQueryError = unknown;
|
|
2080
2080
|
declare function useGetApiKey<TData = Awaited<ReturnType<typeof getApiKey>>, TError = unknown>(id: string, options: {
|
|
2081
2081
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiKey>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getApiKey>>, TError, Awaited<ReturnType<typeof getApiKey>>>, "initialData">;
|
|
2082
|
-
request?: SecondParameter$
|
|
2082
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2083
2083
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2084
2084
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2085
2085
|
};
|
|
2086
2086
|
declare function useGetApiKey<TData = Awaited<ReturnType<typeof getApiKey>>, TError = unknown>(id: string, options?: {
|
|
2087
2087
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiKey>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getApiKey>>, TError, Awaited<ReturnType<typeof getApiKey>>>, "initialData">;
|
|
2088
|
-
request?: SecondParameter$
|
|
2088
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2089
2089
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2090
2090
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2091
2091
|
};
|
|
2092
2092
|
declare function useGetApiKey<TData = Awaited<ReturnType<typeof getApiKey>>, TError = unknown>(id: string, options?: {
|
|
2093
2093
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getApiKey>>, TError, TData>>;
|
|
2094
|
-
request?: SecondParameter$
|
|
2094
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2095
2095
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2096
2096
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2097
2097
|
};
|
|
@@ -2105,7 +2105,7 @@ declare const getDeleteApiKeyMutationOptions: <TError = unknown, TContext = unkn
|
|
|
2105
2105
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteApiKey>>, TError, {
|
|
2106
2106
|
id: string;
|
|
2107
2107
|
}, TContext>;
|
|
2108
|
-
request?: SecondParameter$
|
|
2108
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2109
2109
|
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteApiKey>>, TError, {
|
|
2110
2110
|
id: string;
|
|
2111
2111
|
}, TContext>;
|
|
@@ -2118,7 +2118,7 @@ declare const useDeleteApiKey: <TError = unknown, TContext = unknown>(options?:
|
|
|
2118
2118
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteApiKey>>, TError, {
|
|
2119
2119
|
id: string;
|
|
2120
2120
|
}, TContext>;
|
|
2121
|
-
request?: SecondParameter$
|
|
2121
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2122
2122
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteApiKey>>, TError, {
|
|
2123
2123
|
id: string;
|
|
2124
2124
|
}, TContext>;
|
|
@@ -2133,7 +2133,7 @@ declare const getUpdateApiKeyMutationOptions: <TError = unknown, TContext = unkn
|
|
|
2133
2133
|
id: string;
|
|
2134
2134
|
data?: UpdateApiKeyRequest;
|
|
2135
2135
|
}, TContext>;
|
|
2136
|
-
request?: SecondParameter$
|
|
2136
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2137
2137
|
}) => UseMutationOptions<Awaited<ReturnType<typeof updateApiKey>>, TError, {
|
|
2138
2138
|
id: string;
|
|
2139
2139
|
data?: UpdateApiKeyRequest;
|
|
@@ -2149,7 +2149,7 @@ declare const useUpdateApiKey: <TError = unknown, TContext = unknown>(options?:
|
|
|
2149
2149
|
id: string;
|
|
2150
2150
|
data?: UpdateApiKeyRequest;
|
|
2151
2151
|
}, TContext>;
|
|
2152
|
-
request?: SecondParameter$
|
|
2152
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
2153
2153
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateApiKey>>, TError, {
|
|
2154
2154
|
id: string;
|
|
2155
2155
|
data?: UpdateApiKeyRequest;
|
|
@@ -2164,7 +2164,7 @@ declare class ApiKeyPlugin implements Plugin {
|
|
|
2164
2164
|
declare namespace jwt_plugin_d_exports {
|
|
2165
2165
|
export { GetJWKSQueryError, GetJWKSQueryResult, RefreshTokenMutationBody, RefreshTokenMutationError, RefreshTokenMutationResult, getGetJWKSQueryKey, getGetJWKSQueryOptions, getGetJWKSUrl, getJWKS, getRefreshTokenMutationOptions, getRefreshTokenUrl, refreshToken, useGetJWKS, useRefreshToken };
|
|
2166
2166
|
}
|
|
2167
|
-
type SecondParameter$
|
|
2167
|
+
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2168
2168
|
declare const getGetJWKSUrl: () => string;
|
|
2169
2169
|
/**
|
|
2170
2170
|
* Returns the JSON Web Key Set (JWKS) containing the public keys used to verify JWT signatures.
|
|
@@ -2174,7 +2174,7 @@ declare const getJWKS: (options?: RequestInit) => Promise<WellKnownJWKSResponse>
|
|
|
2174
2174
|
declare const getGetJWKSQueryKey: () => readonly ["/.well-known/jwks.json"];
|
|
2175
2175
|
declare const getGetJWKSQueryOptions: <TData = Awaited<ReturnType<typeof getJWKS>>, TError = unknown>(options?: {
|
|
2176
2176
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJWKS>>, TError, TData>>;
|
|
2177
|
-
request?: SecondParameter$
|
|
2177
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
2178
2178
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getJWKS>>, TError, TData> & {
|
|
2179
2179
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2180
2180
|
};
|
|
@@ -2182,19 +2182,19 @@ type GetJWKSQueryResult = NonNullable<Awaited<ReturnType<typeof getJWKS>>>;
|
|
|
2182
2182
|
type GetJWKSQueryError = unknown;
|
|
2183
2183
|
declare function useGetJWKS<TData = Awaited<ReturnType<typeof getJWKS>>, TError = unknown>(options: {
|
|
2184
2184
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJWKS>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getJWKS>>, TError, Awaited<ReturnType<typeof getJWKS>>>, "initialData">;
|
|
2185
|
-
request?: SecondParameter$
|
|
2185
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
2186
2186
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2187
2187
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2188
2188
|
};
|
|
2189
2189
|
declare function useGetJWKS<TData = Awaited<ReturnType<typeof getJWKS>>, TError = unknown>(options?: {
|
|
2190
2190
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJWKS>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getJWKS>>, TError, Awaited<ReturnType<typeof getJWKS>>>, "initialData">;
|
|
2191
|
-
request?: SecondParameter$
|
|
2191
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
2192
2192
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2193
2193
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2194
2194
|
};
|
|
2195
2195
|
declare function useGetJWKS<TData = Awaited<ReturnType<typeof getJWKS>>, TError = unknown>(options?: {
|
|
2196
2196
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getJWKS>>, TError, TData>>;
|
|
2197
|
-
request?: SecondParameter$
|
|
2197
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
2198
2198
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2199
2199
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2200
2200
|
};
|
|
@@ -2208,7 +2208,7 @@ declare const getRefreshTokenMutationOptions: <TError = unknown, TContext = unkn
|
|
|
2208
2208
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof refreshToken>>, TError, {
|
|
2209
2209
|
data?: RefreshTokenRequest;
|
|
2210
2210
|
}, TContext>;
|
|
2211
|
-
request?: SecondParameter$
|
|
2211
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
2212
2212
|
}) => UseMutationOptions<Awaited<ReturnType<typeof refreshToken>>, TError, {
|
|
2213
2213
|
data?: RefreshTokenRequest;
|
|
2214
2214
|
}, TContext>;
|
|
@@ -2222,7 +2222,7 @@ declare const useRefreshToken: <TError = unknown, TContext = unknown>(options?:
|
|
|
2222
2222
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof refreshToken>>, TError, {
|
|
2223
2223
|
data?: RefreshTokenRequest;
|
|
2224
2224
|
}, TContext>;
|
|
2225
|
-
request?: SecondParameter$
|
|
2225
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
2226
2226
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof refreshToken>>, TError, {
|
|
2227
2227
|
data?: RefreshTokenRequest;
|
|
2228
2228
|
}, TContext>;
|
|
@@ -2250,7 +2250,7 @@ declare class BearerPlugin implements Plugin {
|
|
|
2250
2250
|
declare namespace core_d_exports {
|
|
2251
2251
|
export { GetMeQueryError, GetMeQueryResult, SignOutMutationBody, SignOutMutationError, SignOutMutationResult, getGetMeQueryKey, getGetMeQueryOptions, getGetMeUrl, getMe, getSignOutMutationOptions, getSignOutUrl, signOut, useGetMe, useSignOut };
|
|
2252
2252
|
}
|
|
2253
|
-
type SecondParameter$
|
|
2253
|
+
type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2254
2254
|
declare const getGetMeUrl: () => string;
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Retrieves the authenticated user's profile and current session.
|
|
@@ -2260,7 +2260,7 @@ declare const getMe: (options?: RequestInit) => Promise<GetMeResponse>;
|
|
|
2260
2260
|
declare const getGetMeQueryKey: () => readonly ["/me"];
|
|
2261
2261
|
declare const getGetMeQueryOptions: <TData = Awaited<ReturnType<typeof getMe>>, TError = unknown>(options?: {
|
|
2262
2262
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getMe>>, TError, TData>>;
|
|
2263
|
-
request?: SecondParameter$
|
|
2263
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
2264
2264
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getMe>>, TError, TData> & {
|
|
2265
2265
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2266
2266
|
};
|
|
@@ -2268,19 +2268,19 @@ type GetMeQueryResult = NonNullable<Awaited<ReturnType<typeof getMe>>>;
|
|
|
2268
2268
|
type GetMeQueryError = unknown;
|
|
2269
2269
|
declare function useGetMe<TData = Awaited<ReturnType<typeof getMe>>, TError = unknown>(options: {
|
|
2270
2270
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getMe>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getMe>>, TError, Awaited<ReturnType<typeof getMe>>>, "initialData">;
|
|
2271
|
-
request?: SecondParameter$
|
|
2271
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
2272
2272
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2273
2273
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2274
2274
|
};
|
|
2275
2275
|
declare function useGetMe<TData = Awaited<ReturnType<typeof getMe>>, TError = unknown>(options?: {
|
|
2276
2276
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getMe>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getMe>>, TError, Awaited<ReturnType<typeof getMe>>>, "initialData">;
|
|
2277
|
-
request?: SecondParameter$
|
|
2277
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
2278
2278
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2279
2279
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2280
2280
|
};
|
|
2281
2281
|
declare function useGetMe<TData = Awaited<ReturnType<typeof getMe>>, TError = unknown>(options?: {
|
|
2282
2282
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getMe>>, TError, TData>>;
|
|
2283
|
-
request?: SecondParameter$
|
|
2283
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
2284
2284
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2285
2285
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2286
2286
|
};
|
|
@@ -2294,7 +2294,7 @@ declare const getSignOutMutationOptions: <TError = unknown, TContext = unknown>(
|
|
|
2294
2294
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signOut>>, TError, {
|
|
2295
2295
|
data?: SignOutRequest;
|
|
2296
2296
|
}, TContext>;
|
|
2297
|
-
request?: SecondParameter$
|
|
2297
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
2298
2298
|
}) => UseMutationOptions<Awaited<ReturnType<typeof signOut>>, TError, {
|
|
2299
2299
|
data?: SignOutRequest;
|
|
2300
2300
|
}, TContext>;
|
|
@@ -2308,7 +2308,7 @@ declare const useSignOut: <TError = unknown, TContext = unknown>(options?: {
|
|
|
2308
2308
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signOut>>, TError, {
|
|
2309
2309
|
data?: SignOutRequest;
|
|
2310
2310
|
}, TContext>;
|
|
2311
|
-
request?: SecondParameter$
|
|
2311
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
2312
2312
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof signOut>>, TError, {
|
|
2313
2313
|
data?: SignOutRequest;
|
|
2314
2314
|
}, TContext>;
|
|
@@ -2336,7 +2336,7 @@ declare class CSRFPlugin implements Plugin {
|
|
|
2336
2336
|
declare namespace email_password_plugin_d_exports {
|
|
2337
2337
|
export { ChangePasswordMutationBody, ChangePasswordMutationError, ChangePasswordMutationResult, RequestEmailChangeMutationBody, RequestEmailChangeMutationError, RequestEmailChangeMutationResult, RequestPasswordResetMutationBody, RequestPasswordResetMutationError, RequestPasswordResetMutationResult, SendEmailVerificationMutationBody, SendEmailVerificationMutationError, SendEmailVerificationMutationResult, SignInMutationBody, SignInMutationError, SignInMutationResult, SignUpMutationBody, SignUpMutationError, SignUpMutationResult, VerifyEmailQueryError, VerifyEmailQueryResult, changePassword, getChangePasswordMutationOptions, getChangePasswordUrl, getRequestEmailChangeMutationOptions, getRequestEmailChangeUrl, getRequestPasswordResetMutationOptions, getRequestPasswordResetUrl, getSendEmailVerificationMutationOptions, getSendEmailVerificationUrl, getSignInMutationOptions, getSignInUrl, getSignUpMutationOptions, getSignUpUrl, getVerifyEmailQueryKey, getVerifyEmailQueryOptions, getVerifyEmailUrl, requestEmailChange, requestPasswordReset, sendEmailVerification, signIn, signUp, useChangePassword, useRequestEmailChange, useRequestPasswordReset, useSendEmailVerification, useSignIn, useSignUp, useVerifyEmail, verifyEmail };
|
|
2338
2338
|
}
|
|
2339
|
-
type SecondParameter$
|
|
2339
|
+
type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2340
2340
|
declare const getChangePasswordUrl: () => string;
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Changes the user's password using a reset token
|
|
@@ -2347,7 +2347,7 @@ declare const getChangePasswordMutationOptions: <TError = unknown, TContext = un
|
|
|
2347
2347
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof changePassword>>, TError, {
|
|
2348
2348
|
data?: ChangePasswordRequest;
|
|
2349
2349
|
}, TContext>;
|
|
2350
|
-
request?: SecondParameter$
|
|
2350
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2351
2351
|
}) => UseMutationOptions<Awaited<ReturnType<typeof changePassword>>, TError, {
|
|
2352
2352
|
data?: ChangePasswordRequest;
|
|
2353
2353
|
}, TContext>;
|
|
@@ -2361,7 +2361,7 @@ declare const useChangePassword: <TError = unknown, TContext = unknown>(options?
|
|
|
2361
2361
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof changePassword>>, TError, {
|
|
2362
2362
|
data?: ChangePasswordRequest;
|
|
2363
2363
|
}, TContext>;
|
|
2364
|
-
request?: SecondParameter$
|
|
2364
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2365
2365
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof changePassword>>, TError, {
|
|
2366
2366
|
data?: ChangePasswordRequest;
|
|
2367
2367
|
}, TContext>;
|
|
@@ -2375,7 +2375,7 @@ declare const getRequestEmailChangeMutationOptions: <TError = unknown, TContext
|
|
|
2375
2375
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof requestEmailChange>>, TError, {
|
|
2376
2376
|
data?: RequestEmailChangeRequest;
|
|
2377
2377
|
}, TContext>;
|
|
2378
|
-
request?: SecondParameter$
|
|
2378
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2379
2379
|
}) => UseMutationOptions<Awaited<ReturnType<typeof requestEmailChange>>, TError, {
|
|
2380
2380
|
data?: RequestEmailChangeRequest;
|
|
2381
2381
|
}, TContext>;
|
|
@@ -2389,7 +2389,7 @@ declare const useRequestEmailChange: <TError = unknown, TContext = unknown>(opti
|
|
|
2389
2389
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof requestEmailChange>>, TError, {
|
|
2390
2390
|
data?: RequestEmailChangeRequest;
|
|
2391
2391
|
}, TContext>;
|
|
2392
|
-
request?: SecondParameter$
|
|
2392
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2393
2393
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof requestEmailChange>>, TError, {
|
|
2394
2394
|
data?: RequestEmailChangeRequest;
|
|
2395
2395
|
}, TContext>;
|
|
@@ -2403,7 +2403,7 @@ declare const getRequestPasswordResetMutationOptions: <TError = unknown, TContex
|
|
|
2403
2403
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof requestPasswordReset>>, TError, {
|
|
2404
2404
|
data?: RequestPasswordResetRequest;
|
|
2405
2405
|
}, TContext>;
|
|
2406
|
-
request?: SecondParameter$
|
|
2406
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2407
2407
|
}) => UseMutationOptions<Awaited<ReturnType<typeof requestPasswordReset>>, TError, {
|
|
2408
2408
|
data?: RequestPasswordResetRequest;
|
|
2409
2409
|
}, TContext>;
|
|
@@ -2417,7 +2417,7 @@ declare const useRequestPasswordReset: <TError = unknown, TContext = unknown>(op
|
|
|
2417
2417
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof requestPasswordReset>>, TError, {
|
|
2418
2418
|
data?: RequestPasswordResetRequest;
|
|
2419
2419
|
}, TContext>;
|
|
2420
|
-
request?: SecondParameter$
|
|
2420
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2421
2421
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof requestPasswordReset>>, TError, {
|
|
2422
2422
|
data?: RequestPasswordResetRequest;
|
|
2423
2423
|
}, TContext>;
|
|
@@ -2431,7 +2431,7 @@ declare const getSendEmailVerificationMutationOptions: <TError = unknown, TConte
|
|
|
2431
2431
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof sendEmailVerification>>, TError, {
|
|
2432
2432
|
data?: SendEmailVerificationRequest;
|
|
2433
2433
|
}, TContext>;
|
|
2434
|
-
request?: SecondParameter$
|
|
2434
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2435
2435
|
}) => UseMutationOptions<Awaited<ReturnType<typeof sendEmailVerification>>, TError, {
|
|
2436
2436
|
data?: SendEmailVerificationRequest;
|
|
2437
2437
|
}, TContext>;
|
|
@@ -2445,7 +2445,7 @@ declare const useSendEmailVerification: <TError = unknown, TContext = unknown>(o
|
|
|
2445
2445
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof sendEmailVerification>>, TError, {
|
|
2446
2446
|
data?: SendEmailVerificationRequest;
|
|
2447
2447
|
}, TContext>;
|
|
2448
|
-
request?: SecondParameter$
|
|
2448
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2449
2449
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof sendEmailVerification>>, TError, {
|
|
2450
2450
|
data?: SendEmailVerificationRequest;
|
|
2451
2451
|
}, TContext>;
|
|
@@ -2459,7 +2459,7 @@ declare const getSignInMutationOptions: <TError = unknown, TContext = unknown>(o
|
|
|
2459
2459
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signIn>>, TError, {
|
|
2460
2460
|
data?: SignInRequest;
|
|
2461
2461
|
}, TContext>;
|
|
2462
|
-
request?: SecondParameter$
|
|
2462
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2463
2463
|
}) => UseMutationOptions<Awaited<ReturnType<typeof signIn>>, TError, {
|
|
2464
2464
|
data?: SignInRequest;
|
|
2465
2465
|
}, TContext>;
|
|
@@ -2473,7 +2473,7 @@ declare const useSignIn: <TError = unknown, TContext = unknown>(options?: {
|
|
|
2473
2473
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signIn>>, TError, {
|
|
2474
2474
|
data?: SignInRequest;
|
|
2475
2475
|
}, TContext>;
|
|
2476
|
-
request?: SecondParameter$
|
|
2476
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2477
2477
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof signIn>>, TError, {
|
|
2478
2478
|
data?: SignInRequest;
|
|
2479
2479
|
}, TContext>;
|
|
@@ -2487,7 +2487,7 @@ declare const getSignUpMutationOptions: <TError = unknown, TContext = unknown>(o
|
|
|
2487
2487
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signUp>>, TError, {
|
|
2488
2488
|
data?: SignUpRequest;
|
|
2489
2489
|
}, TContext>;
|
|
2490
|
-
request?: SecondParameter$
|
|
2490
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2491
2491
|
}) => UseMutationOptions<Awaited<ReturnType<typeof signUp>>, TError, {
|
|
2492
2492
|
data?: SignUpRequest;
|
|
2493
2493
|
}, TContext>;
|
|
@@ -2501,7 +2501,7 @@ declare const useSignUp: <TError = unknown, TContext = unknown>(options?: {
|
|
|
2501
2501
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signUp>>, TError, {
|
|
2502
2502
|
data?: SignUpRequest;
|
|
2503
2503
|
}, TContext>;
|
|
2504
|
-
request?: SecondParameter$
|
|
2504
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2505
2505
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof signUp>>, TError, {
|
|
2506
2506
|
data?: SignUpRequest;
|
|
2507
2507
|
}, TContext>;
|
|
@@ -2514,7 +2514,7 @@ declare const verifyEmail: (options?: RequestInit) => Promise<ChangePasswordResp
|
|
|
2514
2514
|
declare const getVerifyEmailQueryKey: () => readonly ["/email-password/verify-email"];
|
|
2515
2515
|
declare const getVerifyEmailQueryOptions: <TData = Awaited<ReturnType<typeof verifyEmail>>, TError = unknown>(options?: {
|
|
2516
2516
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, TData>>;
|
|
2517
|
-
request?: SecondParameter$
|
|
2517
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2518
2518
|
}) => UseQueryOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, TData> & {
|
|
2519
2519
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2520
2520
|
};
|
|
@@ -2522,19 +2522,19 @@ type VerifyEmailQueryResult = NonNullable<Awaited<ReturnType<typeof verifyEmail>
|
|
|
2522
2522
|
type VerifyEmailQueryError = unknown;
|
|
2523
2523
|
declare function useVerifyEmail<TData = Awaited<ReturnType<typeof verifyEmail>>, TError = unknown>(options: {
|
|
2524
2524
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, Awaited<ReturnType<typeof verifyEmail>>>, "initialData">;
|
|
2525
|
-
request?: SecondParameter$
|
|
2525
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2526
2526
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2527
2527
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2528
2528
|
};
|
|
2529
2529
|
declare function useVerifyEmail<TData = Awaited<ReturnType<typeof verifyEmail>>, TError = unknown>(options?: {
|
|
2530
2530
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, Awaited<ReturnType<typeof verifyEmail>>>, "initialData">;
|
|
2531
|
-
request?: SecondParameter$
|
|
2531
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2532
2532
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2533
2533
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2534
2534
|
};
|
|
2535
2535
|
declare function useVerifyEmail<TData = Awaited<ReturnType<typeof verifyEmail>>, TError = unknown>(options?: {
|
|
2536
2536
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyEmail>>, TError, TData>>;
|
|
2537
|
-
request?: SecondParameter$
|
|
2537
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
2538
2538
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2539
2539
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2540
2540
|
};
|
|
@@ -2558,7 +2558,7 @@ type JWTTokensResponse = {
|
|
|
2558
2558
|
declare namespace magic_link_plugin_d_exports {
|
|
2559
2559
|
export { ExchangeMagicLinkMutationBody, ExchangeMagicLinkMutationError, ExchangeMagicLinkMutationResult, SignInWithMagicLinkMutationBody, SignInWithMagicLinkMutationError, SignInWithMagicLinkMutationResult, VerifyMagicLinkQueryError, VerifyMagicLinkQueryResult, exchangeMagicLink, getExchangeMagicLinkMutationOptions, getExchangeMagicLinkUrl, getSignInWithMagicLinkMutationOptions, getSignInWithMagicLinkUrl, getVerifyMagicLinkQueryKey, getVerifyMagicLinkQueryOptions, getVerifyMagicLinkUrl, signInWithMagicLink, useExchangeMagicLink, useSignInWithMagicLink, useVerifyMagicLink, verifyMagicLink };
|
|
2560
2560
|
}
|
|
2561
|
-
type SecondParameter$
|
|
2561
|
+
type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2562
2562
|
declare const getExchangeMagicLinkUrl: () => string;
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Exchanges a verified magic link token for an authenticated user session.
|
|
@@ -2569,7 +2569,7 @@ declare const getExchangeMagicLinkMutationOptions: <TError = unknown, TContext =
|
|
|
2569
2569
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof exchangeMagicLink>>, TError, {
|
|
2570
2570
|
data?: MagicLinkExchangeRequest;
|
|
2571
2571
|
}, TContext>;
|
|
2572
|
-
request?: SecondParameter$
|
|
2572
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2573
2573
|
}) => UseMutationOptions<Awaited<ReturnType<typeof exchangeMagicLink>>, TError, {
|
|
2574
2574
|
data?: MagicLinkExchangeRequest;
|
|
2575
2575
|
}, TContext>;
|
|
@@ -2583,7 +2583,7 @@ declare const useExchangeMagicLink: <TError = unknown, TContext = unknown>(optio
|
|
|
2583
2583
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof exchangeMagicLink>>, TError, {
|
|
2584
2584
|
data?: MagicLinkExchangeRequest;
|
|
2585
2585
|
}, TContext>;
|
|
2586
|
-
request?: SecondParameter$
|
|
2586
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2587
2587
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof exchangeMagicLink>>, TError, {
|
|
2588
2588
|
data?: MagicLinkExchangeRequest;
|
|
2589
2589
|
}, TContext>;
|
|
@@ -2597,7 +2597,7 @@ declare const getSignInWithMagicLinkMutationOptions: <TError = unknown, TContext
|
|
|
2597
2597
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signInWithMagicLink>>, TError, {
|
|
2598
2598
|
data?: MagicLinkSignInRequest;
|
|
2599
2599
|
}, TContext>;
|
|
2600
|
-
request?: SecondParameter$
|
|
2600
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2601
2601
|
}) => UseMutationOptions<Awaited<ReturnType<typeof signInWithMagicLink>>, TError, {
|
|
2602
2602
|
data?: MagicLinkSignInRequest;
|
|
2603
2603
|
}, TContext>;
|
|
@@ -2611,7 +2611,7 @@ declare const useSignInWithMagicLink: <TError = unknown, TContext = unknown>(opt
|
|
|
2611
2611
|
mutation?: UseMutationOptions<Awaited<ReturnType<typeof signInWithMagicLink>>, TError, {
|
|
2612
2612
|
data?: MagicLinkSignInRequest;
|
|
2613
2613
|
}, TContext>;
|
|
2614
|
-
request?: SecondParameter$
|
|
2614
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2615
2615
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof signInWithMagicLink>>, TError, {
|
|
2616
2616
|
data?: MagicLinkSignInRequest;
|
|
2617
2617
|
}, TContext>;
|
|
@@ -2624,7 +2624,7 @@ declare const verifyMagicLink: (params: VerifyMagicLinkParams, options?: Request
|
|
|
2624
2624
|
declare const getVerifyMagicLinkQueryKey: (params?: VerifyMagicLinkParams) => readonly ["/magic-link/verify", ...VerifyMagicLinkParams[]];
|
|
2625
2625
|
declare const getVerifyMagicLinkQueryOptions: <TData = Awaited<ReturnType<typeof verifyMagicLink>>, TError = unknown>(params: VerifyMagicLinkParams, options?: {
|
|
2626
2626
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, TData>>;
|
|
2627
|
-
request?: SecondParameter$
|
|
2627
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2628
2628
|
}) => UseQueryOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, TData> & {
|
|
2629
2629
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2630
2630
|
};
|
|
@@ -2632,19 +2632,19 @@ type VerifyMagicLinkQueryResult = NonNullable<Awaited<ReturnType<typeof verifyMa
|
|
|
2632
2632
|
type VerifyMagicLinkQueryError = unknown;
|
|
2633
2633
|
declare function useVerifyMagicLink<TData = Awaited<ReturnType<typeof verifyMagicLink>>, TError = unknown>(params: VerifyMagicLinkParams, options: {
|
|
2634
2634
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, Awaited<ReturnType<typeof verifyMagicLink>>>, "initialData">;
|
|
2635
|
-
request?: SecondParameter$
|
|
2635
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2636
2636
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2637
2637
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2638
2638
|
};
|
|
2639
2639
|
declare function useVerifyMagicLink<TData = Awaited<ReturnType<typeof verifyMagicLink>>, TError = unknown>(params: VerifyMagicLinkParams, options?: {
|
|
2640
2640
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, Awaited<ReturnType<typeof verifyMagicLink>>>, "initialData">;
|
|
2641
|
-
request?: SecondParameter$
|
|
2641
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2642
2642
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2643
2643
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2644
2644
|
};
|
|
2645
2645
|
declare function useVerifyMagicLink<TData = Awaited<ReturnType<typeof verifyMagicLink>>, TError = unknown>(params: VerifyMagicLinkParams, options?: {
|
|
2646
2646
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof verifyMagicLink>>, TError, TData>>;
|
|
2647
|
-
request?: SecondParameter$
|
|
2647
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
2648
2648
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2649
2649
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2650
2650
|
};
|
|
@@ -2658,7 +2658,7 @@ declare class MagicLinkPlugin implements Plugin {
|
|
|
2658
2658
|
declare namespace oauth2_plugin_d_exports {
|
|
2659
2659
|
export { OauthAuthorizeQueryError, OauthAuthorizeQueryResult, OauthCallbackQueryError, OauthCallbackQueryResult, getOauthAuthorizeQueryKey, getOauthAuthorizeQueryOptions, getOauthAuthorizeUrl, getOauthCallbackQueryKey, getOauthCallbackQueryOptions, getOauthCallbackUrl, oauthAuthorize, oauthCallback, useOauthAuthorize, useOauthCallback };
|
|
2660
2660
|
}
|
|
2661
|
-
type SecondParameter$
|
|
2661
|
+
type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2662
2662
|
declare const getOauthAuthorizeUrl: (provider: string, params?: OauthAuthorizeParams) => string;
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Initiates the OAuth2 authorization flow with the specified provider. Returns the provider's authorization URL to redirect the user to.
|
|
@@ -2668,7 +2668,7 @@ declare const oauthAuthorize: (provider: string, params?: OauthAuthorizeParams,
|
|
|
2668
2668
|
declare const getOauthAuthorizeQueryKey: (provider: string, params?: OauthAuthorizeParams) => readonly [`/oauth2/authorize/${string}`, ...OauthAuthorizeParams[]];
|
|
2669
2669
|
declare const getOauthAuthorizeQueryOptions: <TData = Awaited<ReturnType<typeof oauthAuthorize>>, TError = unknown>(provider: string, params?: OauthAuthorizeParams, options?: {
|
|
2670
2670
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, TData>>;
|
|
2671
|
-
request?: SecondParameter$
|
|
2671
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2672
2672
|
}) => UseQueryOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, TData> & {
|
|
2673
2673
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2674
2674
|
};
|
|
@@ -2676,19 +2676,19 @@ type OauthAuthorizeQueryResult = NonNullable<Awaited<ReturnType<typeof oauthAuth
|
|
|
2676
2676
|
type OauthAuthorizeQueryError = unknown;
|
|
2677
2677
|
declare function useOauthAuthorize<TData = Awaited<ReturnType<typeof oauthAuthorize>>, TError = unknown>(provider: string, params: undefined | OauthAuthorizeParams, options: {
|
|
2678
2678
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, Awaited<ReturnType<typeof oauthAuthorize>>>, "initialData">;
|
|
2679
|
-
request?: SecondParameter$
|
|
2679
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2680
2680
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2681
2681
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2682
2682
|
};
|
|
2683
2683
|
declare function useOauthAuthorize<TData = Awaited<ReturnType<typeof oauthAuthorize>>, TError = unknown>(provider: string, params?: OauthAuthorizeParams, options?: {
|
|
2684
2684
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, Awaited<ReturnType<typeof oauthAuthorize>>>, "initialData">;
|
|
2685
|
-
request?: SecondParameter$
|
|
2685
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2686
2686
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2687
2687
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2688
2688
|
};
|
|
2689
2689
|
declare function useOauthAuthorize<TData = Awaited<ReturnType<typeof oauthAuthorize>>, TError = unknown>(provider: string, params?: OauthAuthorizeParams, options?: {
|
|
2690
2690
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthAuthorize>>, TError, TData>>;
|
|
2691
|
-
request?: SecondParameter$
|
|
2691
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2692
2692
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2693
2693
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2694
2694
|
};
|
|
@@ -2701,7 +2701,7 @@ declare const oauthCallback: (provider: string, params: OauthCallbackParams, opt
|
|
|
2701
2701
|
declare const getOauthCallbackQueryKey: (provider: string, params?: OauthCallbackParams) => readonly [`/oauth2/callback/${string}`, ...OauthCallbackParams[]];
|
|
2702
2702
|
declare const getOauthCallbackQueryOptions: <TData = Awaited<ReturnType<typeof oauthCallback>>, TError = unknown>(provider: string, params: OauthCallbackParams, options?: {
|
|
2703
2703
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, TData>>;
|
|
2704
|
-
request?: SecondParameter$
|
|
2704
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2705
2705
|
}) => UseQueryOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, TData> & {
|
|
2706
2706
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2707
2707
|
};
|
|
@@ -2709,19 +2709,19 @@ type OauthCallbackQueryResult = NonNullable<Awaited<ReturnType<typeof oauthCallb
|
|
|
2709
2709
|
type OauthCallbackQueryError = unknown;
|
|
2710
2710
|
declare function useOauthCallback<TData = Awaited<ReturnType<typeof oauthCallback>>, TError = unknown>(provider: string, params: OauthCallbackParams, options: {
|
|
2711
2711
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, Awaited<ReturnType<typeof oauthCallback>>>, "initialData">;
|
|
2712
|
-
request?: SecondParameter$
|
|
2712
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2713
2713
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2714
2714
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2715
2715
|
};
|
|
2716
2716
|
declare function useOauthCallback<TData = Awaited<ReturnType<typeof oauthCallback>>, TError = unknown>(provider: string, params: OauthCallbackParams, options?: {
|
|
2717
2717
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, Awaited<ReturnType<typeof oauthCallback>>>, "initialData">;
|
|
2718
|
-
request?: SecondParameter$
|
|
2718
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2719
2719
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2720
2720
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2721
2721
|
};
|
|
2722
2722
|
declare function useOauthCallback<TData = Awaited<ReturnType<typeof oauthCallback>>, TError = unknown>(provider: string, params: OauthCallbackParams, options?: {
|
|
2723
2723
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof oauthCallback>>, TError, TData>>;
|
|
2724
|
-
request?: SecondParameter$
|
|
2724
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
2725
2725
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2726
2726
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2727
2727
|
};
|
|
@@ -2731,168 +2731,1239 @@ declare class OAuth2Plugin implements Plugin {
|
|
|
2731
2731
|
readonly id = "oauth2";
|
|
2732
2732
|
init(client: AuthulaClient): typeof oauth2_plugin_d_exports;
|
|
2733
2733
|
}
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
}
|
|
2737
|
-
type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2738
|
-
declare const getListOrganizationsUrl: () => string;
|
|
2734
|
+
//#endregion
|
|
2735
|
+
//#region src/gen/endpoints/organizations/organizations.d.ts
|
|
2739
2736
|
/**
|
|
2740
2737
|
* Lists all organizations owned by the authenticated user.
|
|
2741
2738
|
* @summary List organizations
|
|
2742
2739
|
*/
|
|
2743
2740
|
declare const listOrganizations: (options?: RequestInit) => Promise<Organization[] | null>;
|
|
2744
|
-
declare const getListOrganizationsQueryKey: () => readonly ["/organizations"];
|
|
2745
|
-
declare const getListOrganizationsQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizations>>, TError = unknown>(options?: {
|
|
2746
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>>;
|
|
2747
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2748
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData> & {
|
|
2749
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2750
|
-
};
|
|
2751
|
-
type ListOrganizationsQueryResult = NonNullable<Awaited<ReturnType<typeof listOrganizations>>>;
|
|
2752
|
-
type ListOrganizationsQueryError = unknown;
|
|
2753
|
-
declare function useListOrganizations<TData = Awaited<ReturnType<typeof listOrganizations>>, TError = unknown>(options: {
|
|
2754
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, Awaited<ReturnType<typeof listOrganizations>>>, "initialData">;
|
|
2755
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2756
|
-
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2757
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2758
|
-
};
|
|
2759
|
-
declare function useListOrganizations<TData = Awaited<ReturnType<typeof listOrganizations>>, TError = unknown>(options?: {
|
|
2760
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, Awaited<ReturnType<typeof listOrganizations>>>, "initialData">;
|
|
2761
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2762
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2763
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2764
|
-
};
|
|
2765
|
-
declare function useListOrganizations<TData = Awaited<ReturnType<typeof listOrganizations>>, TError = unknown>(options?: {
|
|
2766
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>>;
|
|
2767
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2768
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2769
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2770
|
-
};
|
|
2771
|
-
declare const getCreateOrganizationUrl: () => string;
|
|
2772
2741
|
/**
|
|
2773
2742
|
* Creates a new organization with the authenticated user as the owner.
|
|
2774
2743
|
* @summary Create organization
|
|
2775
2744
|
*/
|
|
2776
2745
|
declare const createOrganization: (createOrganizationRequest?: CreateOrganizationRequest, options?: RequestInit) => Promise<Organization>;
|
|
2777
|
-
declare const getCreateOrganizationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
2778
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
2779
|
-
data?: CreateOrganizationRequest;
|
|
2780
|
-
}, TContext>;
|
|
2781
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2782
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
2783
|
-
data?: CreateOrganizationRequest;
|
|
2784
|
-
}, TContext>;
|
|
2785
|
-
type CreateOrganizationMutationResult = NonNullable<Awaited<ReturnType<typeof createOrganization>>>;
|
|
2786
|
-
type CreateOrganizationMutationBody = CreateOrganizationRequest | undefined;
|
|
2787
|
-
type CreateOrganizationMutationError = unknown;
|
|
2788
|
-
/**
|
|
2789
|
-
* @summary Create organization
|
|
2790
|
-
*/
|
|
2791
|
-
declare const useCreateOrganization: <TError = unknown, TContext = unknown>(options?: {
|
|
2792
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
2793
|
-
data?: CreateOrganizationRequest;
|
|
2794
|
-
}, TContext>;
|
|
2795
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2796
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
2797
|
-
data?: CreateOrganizationRequest;
|
|
2798
|
-
}, TContext>;
|
|
2799
|
-
declare const getGetOrganizationUrl: (organizationId: string) => string;
|
|
2800
2746
|
/**
|
|
2801
2747
|
* Retrieves an organization by its ID.
|
|
2802
2748
|
* @summary Get organization
|
|
2803
2749
|
*/
|
|
2804
2750
|
declare const getOrganization: (organizationId: string, options?: RequestInit) => Promise<Organization>;
|
|
2805
|
-
declare const getGetOrganizationQueryKey: (organizationId: string) => readonly [`/organizations/${string}`];
|
|
2806
|
-
declare const getGetOrganizationQueryOptions: <TData = Awaited<ReturnType<typeof getOrganization>>, TError = unknown>(organizationId: string, options?: {
|
|
2807
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>>;
|
|
2808
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2809
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData> & {
|
|
2810
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2811
|
-
};
|
|
2812
|
-
type GetOrganizationQueryResult = NonNullable<Awaited<ReturnType<typeof getOrganization>>>;
|
|
2813
|
-
type GetOrganizationQueryError = unknown;
|
|
2814
|
-
declare function useGetOrganization<TData = Awaited<ReturnType<typeof getOrganization>>, TError = unknown>(organizationId: string, options: {
|
|
2815
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganization>>, TError, Awaited<ReturnType<typeof getOrganization>>>, "initialData">;
|
|
2816
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2817
|
-
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2818
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2819
|
-
};
|
|
2820
|
-
declare function useGetOrganization<TData = Awaited<ReturnType<typeof getOrganization>>, TError = unknown>(organizationId: string, options?: {
|
|
2821
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganization>>, TError, Awaited<ReturnType<typeof getOrganization>>>, "initialData">;
|
|
2822
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2823
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2824
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2825
|
-
};
|
|
2826
|
-
declare function useGetOrganization<TData = Awaited<ReturnType<typeof getOrganization>>, TError = unknown>(organizationId: string, options?: {
|
|
2827
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>>;
|
|
2828
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2829
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2830
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2831
|
-
};
|
|
2832
|
-
declare const getDeleteOrganizationUrl: (organizationId: string) => string;
|
|
2833
2751
|
/**
|
|
2834
2752
|
* Deletes an organization.
|
|
2835
2753
|
* @summary Delete organization
|
|
2836
2754
|
*/
|
|
2837
2755
|
declare const deleteOrganization: (organizationId: string, options?: RequestInit) => Promise<DeleteOrganizationResponse>;
|
|
2838
|
-
declare const getDeleteOrganizationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
2839
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
2840
|
-
organizationId: string;
|
|
2841
|
-
}, TContext>;
|
|
2842
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2843
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
2844
|
-
organizationId: string;
|
|
2845
|
-
}, TContext>;
|
|
2846
|
-
type DeleteOrganizationMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOrganization>>>;
|
|
2847
|
-
type DeleteOrganizationMutationError = unknown;
|
|
2848
|
-
/**
|
|
2849
|
-
* @summary Delete organization
|
|
2850
|
-
*/
|
|
2851
|
-
declare const useDeleteOrganization: <TError = unknown, TContext = unknown>(options?: {
|
|
2852
|
-
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
2853
|
-
organizationId: string;
|
|
2854
|
-
}, TContext>;
|
|
2855
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2856
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
2857
|
-
organizationId: string;
|
|
2858
|
-
}, TContext>;
|
|
2859
|
-
declare const getUpdateOrganizationUrl: (organizationId: string) => string;
|
|
2860
2756
|
/**
|
|
2861
2757
|
* Updates an existing organization.
|
|
2862
2758
|
* @summary Update organization
|
|
2863
2759
|
*/
|
|
2864
2760
|
declare const updateOrganization: (organizationId: string, updateOrganizationRequest?: UpdateOrganizationRequest, options?: RequestInit) => Promise<Organization>;
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
organizationId: string;
|
|
2868
|
-
data?: UpdateOrganizationRequest;
|
|
2869
|
-
}, TContext>;
|
|
2870
|
-
request?: SecondParameter$1<typeof customFetch>;
|
|
2871
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof updateOrganization>>, TError, {
|
|
2872
|
-
organizationId: string;
|
|
2873
|
-
data?: UpdateOrganizationRequest;
|
|
2874
|
-
}, TContext>;
|
|
2875
|
-
type UpdateOrganizationMutationResult = NonNullable<Awaited<ReturnType<typeof updateOrganization>>>;
|
|
2876
|
-
type UpdateOrganizationMutationBody = UpdateOrganizationRequest | undefined;
|
|
2877
|
-
type UpdateOrganizationMutationError = unknown;
|
|
2761
|
+
//#endregion
|
|
2762
|
+
//#region src/gen/endpoints/organization-invitations/organization-invitations.d.ts
|
|
2878
2763
|
/**
|
|
2879
|
-
*
|
|
2764
|
+
* Lists all invitations for an organization.
|
|
2765
|
+
* @summary List invitations
|
|
2880
2766
|
*/
|
|
2881
|
-
declare const
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2767
|
+
declare const listOrganizationInvitations: (organizationId: string, options?: RequestInit) => Promise<OrganizationInvitation[] | null>;
|
|
2768
|
+
/**
|
|
2769
|
+
* Creates an invitation for a user to join an organization.
|
|
2770
|
+
* @summary Create invitation
|
|
2771
|
+
*/
|
|
2772
|
+
declare const createOrganizationInvitation: (organizationId: string, createOrganizationInvitationRequest?: CreateOrganizationInvitationRequest, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
2773
|
+
/**
|
|
2774
|
+
* Retrieves a single invitation by its ID.
|
|
2775
|
+
* @summary Get invitation
|
|
2776
|
+
*/
|
|
2777
|
+
declare const getOrganizationInvitation: (organizationId: string, invitationId: string, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
2778
|
+
/**
|
|
2779
|
+
* Revokes a pending invitation.
|
|
2780
|
+
* @summary Revoke invitation
|
|
2781
|
+
*/
|
|
2782
|
+
declare const revokeOrganizationInvitation: (organizationId: string, invitationId: string, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
2783
|
+
/**
|
|
2784
|
+
* Accepts an invitation to join an organization. Optionally redirects if a redirect_url is provided.
|
|
2785
|
+
* @summary Accept invitation
|
|
2786
|
+
*/
|
|
2787
|
+
declare const acceptOrganizationInvitation: (organizationId: string, invitationId: string, acceptOrganizationInvitationQuery?: AcceptOrganizationInvitationQuery, params?: AcceptOrganizationInvitationParams, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Rejects an invitation to join an organization.
|
|
2790
|
+
* @summary Reject invitation
|
|
2791
|
+
*/
|
|
2792
|
+
declare const rejectOrganizationInvitation: (organizationId: string, invitationId: string, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
2793
|
+
//#endregion
|
|
2794
|
+
//#region src/gen/endpoints/organization-members/organization-members.d.ts
|
|
2795
|
+
/**
|
|
2796
|
+
* Lists all members of an organization with pagination.
|
|
2797
|
+
* @summary List members
|
|
2798
|
+
*/
|
|
2799
|
+
declare const listOrganizationMembers: (organizationId: string, params?: ListOrganizationMembersParams, options?: RequestInit) => Promise<OrganizationMember[] | null>;
|
|
2800
|
+
/**
|
|
2801
|
+
* Adds a user as a member of an organization with the specified role.
|
|
2802
|
+
* @summary Add member
|
|
2803
|
+
*/
|
|
2804
|
+
declare const addOrganizationMember: (organizationId: string, addOrganizationMemberRequest?: AddOrganizationMemberRequest, options?: RequestInit) => Promise<OrganizationMember>;
|
|
2805
|
+
/**
|
|
2806
|
+
* Retrieves an organization member by the user's ID.
|
|
2807
|
+
* @summary Get member by user ID
|
|
2808
|
+
*/
|
|
2809
|
+
declare const getOrganizationMemberByUserID: (organizationId: string, userId: string, options?: RequestInit) => Promise<OrganizationMember>;
|
|
2810
|
+
/**
|
|
2811
|
+
* Retrieves a single organization member by ID.
|
|
2812
|
+
* @summary Get member
|
|
2813
|
+
*/
|
|
2814
|
+
declare const getOrganizationMember: (organizationId: string, memberId: string, options?: RequestInit) => Promise<OrganizationMember>;
|
|
2815
|
+
/**
|
|
2816
|
+
* Removes a member from an organization.
|
|
2817
|
+
* @summary Delete member
|
|
2818
|
+
*/
|
|
2819
|
+
declare const deleteOrganizationMember: (organizationId: string, memberId: string, options?: RequestInit) => Promise<DeleteOrganizationMemberResponse>;
|
|
2820
|
+
/**
|
|
2821
|
+
* Updates the role of an organization member.
|
|
2822
|
+
* @summary Update member
|
|
2823
|
+
*/
|
|
2824
|
+
declare const updateOrganizationMember: (organizationId: string, memberId: string, updateOrganizationMemberRequest?: UpdateOrganizationMemberRequest, options?: RequestInit) => Promise<OrganizationMember>;
|
|
2825
|
+
//#endregion
|
|
2826
|
+
//#region src/gen/endpoints/organization-teams/organization-teams.d.ts
|
|
2827
|
+
/**
|
|
2828
|
+
* Lists all teams within an organization.
|
|
2829
|
+
* @summary List teams
|
|
2830
|
+
*/
|
|
2831
|
+
declare const listOrganizationTeams: (organizationId: string, options?: RequestInit) => Promise<OrganizationTeam[] | null>;
|
|
2832
|
+
/**
|
|
2833
|
+
* Creates a new team within an organization.
|
|
2834
|
+
* @summary Create team
|
|
2835
|
+
*/
|
|
2836
|
+
declare const createOrganizationTeam: (organizationId: string, createOrganizationTeamRequest?: CreateOrganizationTeamRequest, options?: RequestInit) => Promise<OrganizationTeam>;
|
|
2837
|
+
/**
|
|
2838
|
+
* Retrieves a single team by its ID.
|
|
2839
|
+
* @summary Get team
|
|
2840
|
+
*/
|
|
2841
|
+
declare const getOrganizationTeam: (organizationId: string, teamId: string, options?: RequestInit) => Promise<OrganizationTeam>;
|
|
2842
|
+
/**
|
|
2843
|
+
* Deletes a team.
|
|
2844
|
+
* @summary Delete team
|
|
2845
|
+
*/
|
|
2846
|
+
declare const deleteOrganizationTeam: (organizationId: string, teamId: string, options?: RequestInit) => Promise<DeleteOrganizationTeamResponse>;
|
|
2847
|
+
/**
|
|
2848
|
+
* Updates an existing team.
|
|
2849
|
+
* @summary Update team
|
|
2850
|
+
*/
|
|
2851
|
+
declare const updateOrganizationTeam: (organizationId: string, teamId: string, updateOrganizationTeamRequest?: UpdateOrganizationTeamRequest, options?: RequestInit) => Promise<OrganizationTeam>;
|
|
2852
|
+
//#endregion
|
|
2853
|
+
//#region src/gen/endpoints/organization-team-members/organization-team-members.d.ts
|
|
2854
|
+
/**
|
|
2855
|
+
* Lists all members of a team with pagination.
|
|
2856
|
+
* @summary List team members
|
|
2857
|
+
*/
|
|
2858
|
+
declare const listOrganizationTeamMembers: (organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams, options?: RequestInit) => Promise<OrganizationTeamMember[] | null>;
|
|
2859
|
+
/**
|
|
2860
|
+
* Adds a member to a team.
|
|
2861
|
+
* @summary Add team member
|
|
2862
|
+
*/
|
|
2863
|
+
declare const addOrganizationTeamMember: (organizationId: string, teamId: string, addOrganizationTeamMemberRequest?: AddOrganizationTeamMemberRequest, options?: RequestInit) => Promise<OrganizationTeamMember>;
|
|
2864
|
+
/**
|
|
2865
|
+
* Retrieves a single team member by ID.
|
|
2866
|
+
* @summary Get team member
|
|
2867
|
+
*/
|
|
2868
|
+
declare const getOrganizationTeamMember: (organizationId: string, teamId: string, memberId: string, options?: RequestInit) => Promise<OrganizationTeamMember>;
|
|
2869
|
+
/**
|
|
2870
|
+
* Removes a member from a team.
|
|
2871
|
+
* @summary Delete team member
|
|
2872
|
+
*/
|
|
2873
|
+
declare const deleteOrganizationTeamMember: (organizationId: string, teamId: string, memberId: string, options?: RequestInit) => Promise<DeleteOrganizationTeamMemberResponse>;
|
|
2874
|
+
//#endregion
|
|
2875
|
+
//#region src/plugins/organizations/plugin.d.ts
|
|
2893
2876
|
declare class OrganizationsPlugin implements Plugin {
|
|
2894
2877
|
readonly id = "organizations";
|
|
2895
|
-
init(client: AuthulaClient):
|
|
2878
|
+
init(client: AuthulaClient): {
|
|
2879
|
+
useListOrganizationTeamMembers<TData = OrganizationTeamMember[] | null, TError = unknown>(organizationId: string, teamId: string, params: undefined | ListOrganizationTeamMembersParams, options: {
|
|
2880
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, Awaited<ReturnType<typeof listOrganizationTeamMembers>>>, "initialData">;
|
|
2881
|
+
request?: (RequestInit & {
|
|
2882
|
+
method?: string;
|
|
2883
|
+
baseUrl?: string;
|
|
2884
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2885
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2886
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2887
|
+
}) | undefined;
|
|
2888
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
2889
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2890
|
+
};
|
|
2891
|
+
useListOrganizationTeamMembers<TData = OrganizationTeamMember[] | null, TError = unknown>(organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams, options?: {
|
|
2892
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, Awaited<ReturnType<typeof listOrganizationTeamMembers>>>, "initialData">;
|
|
2893
|
+
request?: (RequestInit & {
|
|
2894
|
+
method?: string;
|
|
2895
|
+
baseUrl?: string;
|
|
2896
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2897
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2898
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2899
|
+
}) | undefined;
|
|
2900
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
2901
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2902
|
+
};
|
|
2903
|
+
useListOrganizationTeamMembers<TData = OrganizationTeamMember[] | null, TError = unknown>(organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams, options?: {
|
|
2904
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, TData>>;
|
|
2905
|
+
request?: (RequestInit & {
|
|
2906
|
+
method?: string;
|
|
2907
|
+
baseUrl?: string;
|
|
2908
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2909
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2910
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2911
|
+
}) | undefined;
|
|
2912
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
2913
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2914
|
+
};
|
|
2915
|
+
useGetOrganizationTeamMember<TData = OrganizationTeamMember, TError = unknown>(organizationId: string, teamId: string, memberId: string, options: {
|
|
2916
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, Awaited<ReturnType<typeof getOrganizationTeamMember>>>, "initialData">;
|
|
2917
|
+
request?: (RequestInit & {
|
|
2918
|
+
method?: string;
|
|
2919
|
+
baseUrl?: string;
|
|
2920
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2921
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2922
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2923
|
+
}) | undefined;
|
|
2924
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
2925
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2926
|
+
};
|
|
2927
|
+
useGetOrganizationTeamMember<TData = OrganizationTeamMember, TError = unknown>(organizationId: string, teamId: string, memberId: string, options?: {
|
|
2928
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, Awaited<ReturnType<typeof getOrganizationTeamMember>>>, "initialData">;
|
|
2929
|
+
request?: (RequestInit & {
|
|
2930
|
+
method?: string;
|
|
2931
|
+
baseUrl?: string;
|
|
2932
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2933
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2934
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2935
|
+
}) | undefined;
|
|
2936
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
2937
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2938
|
+
};
|
|
2939
|
+
useGetOrganizationTeamMember<TData = OrganizationTeamMember, TError = unknown>(organizationId: string, teamId: string, memberId: string, options?: {
|
|
2940
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, TData>>;
|
|
2941
|
+
request?: (RequestInit & {
|
|
2942
|
+
method?: string;
|
|
2943
|
+
baseUrl?: string;
|
|
2944
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2945
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2946
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2947
|
+
}) | undefined;
|
|
2948
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
2949
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2950
|
+
};
|
|
2951
|
+
getListOrganizationTeamMembersUrl: (organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams) => string;
|
|
2952
|
+
listOrganizationTeamMembers: (organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams, options?: RequestInit) => Promise<OrganizationTeamMember[] | null>;
|
|
2953
|
+
getListOrganizationTeamMembersQueryKey: (organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams) => readonly [`/organizations/${string}/teams/${string}/members`, ...ListOrganizationTeamMembersParams[]];
|
|
2954
|
+
getListOrganizationTeamMembersQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError = unknown>(organizationId: string, teamId: string, params?: ListOrganizationTeamMembersParams, options?: {
|
|
2955
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, TData>>;
|
|
2956
|
+
request?: (RequestInit & {
|
|
2957
|
+
method?: string;
|
|
2958
|
+
baseUrl?: string;
|
|
2959
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2960
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2961
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2962
|
+
}) | undefined;
|
|
2963
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeamMembers>>, TError, TData> & {
|
|
2964
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
2965
|
+
};
|
|
2966
|
+
getAddOrganizationTeamMemberUrl: (organizationId: string, teamId: string) => string;
|
|
2967
|
+
addOrganizationTeamMember: (organizationId: string, teamId: string, addOrganizationTeamMemberRequest?: AddOrganizationTeamMemberRequest, options?: RequestInit) => Promise<OrganizationTeamMember>;
|
|
2968
|
+
getAddOrganizationTeamMemberMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
2969
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof addOrganizationTeamMember>>, TError, {
|
|
2970
|
+
organizationId: string;
|
|
2971
|
+
teamId: string;
|
|
2972
|
+
data?: AddOrganizationTeamMemberRequest;
|
|
2973
|
+
}, TContext>;
|
|
2974
|
+
request?: (RequestInit & {
|
|
2975
|
+
method?: string;
|
|
2976
|
+
baseUrl?: string;
|
|
2977
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2978
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2979
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2980
|
+
}) | undefined;
|
|
2981
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof addOrganizationTeamMember>>, TError, {
|
|
2982
|
+
organizationId: string;
|
|
2983
|
+
teamId: string;
|
|
2984
|
+
data?: AddOrganizationTeamMemberRequest;
|
|
2985
|
+
}, TContext>;
|
|
2986
|
+
useAddOrganizationTeamMember: <TError = unknown, TContext = unknown>(options?: {
|
|
2987
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof addOrganizationTeamMember>>, TError, {
|
|
2988
|
+
organizationId: string;
|
|
2989
|
+
teamId: string;
|
|
2990
|
+
data?: AddOrganizationTeamMemberRequest;
|
|
2991
|
+
}, TContext>;
|
|
2992
|
+
request?: (RequestInit & {
|
|
2993
|
+
method?: string;
|
|
2994
|
+
baseUrl?: string;
|
|
2995
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
2996
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
2997
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
2998
|
+
}) | undefined;
|
|
2999
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof addOrganizationTeamMember>>, TError, {
|
|
3000
|
+
organizationId: string;
|
|
3001
|
+
teamId: string;
|
|
3002
|
+
data?: AddOrganizationTeamMemberRequest;
|
|
3003
|
+
}, TContext>;
|
|
3004
|
+
getGetOrganizationTeamMemberUrl: (organizationId: string, teamId: string, memberId: string) => string;
|
|
3005
|
+
getOrganizationTeamMember: (organizationId: string, teamId: string, memberId: string, options?: RequestInit) => Promise<OrganizationTeamMember>;
|
|
3006
|
+
getGetOrganizationTeamMemberQueryKey: (organizationId: string, teamId: string, memberId: string) => readonly [`/organizations/${string}/teams/${string}/members/${string}`];
|
|
3007
|
+
getGetOrganizationTeamMemberQueryOptions: <TData = Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError = unknown>(organizationId: string, teamId: string, memberId: string, options?: {
|
|
3008
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, TData>>;
|
|
3009
|
+
request?: (RequestInit & {
|
|
3010
|
+
method?: string;
|
|
3011
|
+
baseUrl?: string;
|
|
3012
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3013
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3014
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3015
|
+
}) | undefined;
|
|
3016
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeamMember>>, TError, TData> & {
|
|
3017
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3018
|
+
};
|
|
3019
|
+
getDeleteOrganizationTeamMemberUrl: (organizationId: string, teamId: string, memberId: string) => string;
|
|
3020
|
+
deleteOrganizationTeamMember: (organizationId: string, teamId: string, memberId: string, options?: RequestInit) => Promise<DeleteOrganizationTeamMemberResponse>;
|
|
3021
|
+
getDeleteOrganizationTeamMemberMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3022
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationTeamMember>>, TError, {
|
|
3023
|
+
organizationId: string;
|
|
3024
|
+
teamId: string;
|
|
3025
|
+
memberId: string;
|
|
3026
|
+
}, TContext>;
|
|
3027
|
+
request?: (RequestInit & {
|
|
3028
|
+
method?: string;
|
|
3029
|
+
baseUrl?: string;
|
|
3030
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3031
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3032
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3033
|
+
}) | undefined;
|
|
3034
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationTeamMember>>, TError, {
|
|
3035
|
+
organizationId: string;
|
|
3036
|
+
teamId: string;
|
|
3037
|
+
memberId: string;
|
|
3038
|
+
}, TContext>;
|
|
3039
|
+
useDeleteOrganizationTeamMember: <TError = unknown, TContext = unknown>(options?: {
|
|
3040
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationTeamMember>>, TError, {
|
|
3041
|
+
organizationId: string;
|
|
3042
|
+
teamId: string;
|
|
3043
|
+
memberId: string;
|
|
3044
|
+
}, TContext>;
|
|
3045
|
+
request?: (RequestInit & {
|
|
3046
|
+
method?: string;
|
|
3047
|
+
baseUrl?: string;
|
|
3048
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3049
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3050
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3051
|
+
}) | undefined;
|
|
3052
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof deleteOrganizationTeamMember>>, TError, {
|
|
3053
|
+
organizationId: string;
|
|
3054
|
+
teamId: string;
|
|
3055
|
+
memberId: string;
|
|
3056
|
+
}, TContext>;
|
|
3057
|
+
useListOrganizationTeams<TData = OrganizationTeam[] | null, TError = unknown>(organizationId: string, options: {
|
|
3058
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, Awaited<ReturnType<typeof listOrganizationTeams>>>, "initialData">;
|
|
3059
|
+
request?: (RequestInit & {
|
|
3060
|
+
method?: string;
|
|
3061
|
+
baseUrl?: string;
|
|
3062
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3063
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3064
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3065
|
+
}) | undefined;
|
|
3066
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3067
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3068
|
+
};
|
|
3069
|
+
useListOrganizationTeams<TData = OrganizationTeam[] | null, TError = unknown>(organizationId: string, options?: {
|
|
3070
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, Awaited<ReturnType<typeof listOrganizationTeams>>>, "initialData">;
|
|
3071
|
+
request?: (RequestInit & {
|
|
3072
|
+
method?: string;
|
|
3073
|
+
baseUrl?: string;
|
|
3074
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3075
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3076
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3077
|
+
}) | undefined;
|
|
3078
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3079
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3080
|
+
};
|
|
3081
|
+
useListOrganizationTeams<TData = OrganizationTeam[] | null, TError = unknown>(organizationId: string, options?: {
|
|
3082
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, TData>>;
|
|
3083
|
+
request?: (RequestInit & {
|
|
3084
|
+
method?: string;
|
|
3085
|
+
baseUrl?: string;
|
|
3086
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3087
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3088
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3089
|
+
}) | undefined;
|
|
3090
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3091
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3092
|
+
};
|
|
3093
|
+
useGetOrganizationTeam<TData = OrganizationTeam, TError = unknown>(organizationId: string, teamId: string, options: {
|
|
3094
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, Awaited<ReturnType<typeof getOrganizationTeam>>>, "initialData">;
|
|
3095
|
+
request?: (RequestInit & {
|
|
3096
|
+
method?: string;
|
|
3097
|
+
baseUrl?: string;
|
|
3098
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3099
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3100
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3101
|
+
}) | undefined;
|
|
3102
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3103
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3104
|
+
};
|
|
3105
|
+
useGetOrganizationTeam<TData = OrganizationTeam, TError = unknown>(organizationId: string, teamId: string, options?: {
|
|
3106
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, Awaited<ReturnType<typeof getOrganizationTeam>>>, "initialData">;
|
|
3107
|
+
request?: (RequestInit & {
|
|
3108
|
+
method?: string;
|
|
3109
|
+
baseUrl?: string;
|
|
3110
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3111
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3112
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3113
|
+
}) | undefined;
|
|
3114
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3115
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3116
|
+
};
|
|
3117
|
+
useGetOrganizationTeam<TData = OrganizationTeam, TError = unknown>(organizationId: string, teamId: string, options?: {
|
|
3118
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, TData>>;
|
|
3119
|
+
request?: (RequestInit & {
|
|
3120
|
+
method?: string;
|
|
3121
|
+
baseUrl?: string;
|
|
3122
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3123
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3124
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3125
|
+
}) | undefined;
|
|
3126
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3127
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3128
|
+
};
|
|
3129
|
+
getListOrganizationTeamsUrl: (organizationId: string) => string;
|
|
3130
|
+
listOrganizationTeams: (organizationId: string, options?: RequestInit) => Promise<OrganizationTeam[] | null>;
|
|
3131
|
+
getListOrganizationTeamsQueryKey: (organizationId: string) => readonly [`/organizations/${string}/teams`];
|
|
3132
|
+
getListOrganizationTeamsQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationTeams>>, TError = unknown>(organizationId: string, options?: {
|
|
3133
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, TData>>;
|
|
3134
|
+
request?: (RequestInit & {
|
|
3135
|
+
method?: string;
|
|
3136
|
+
baseUrl?: string;
|
|
3137
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3138
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3139
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3140
|
+
}) | undefined;
|
|
3141
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationTeams>>, TError, TData> & {
|
|
3142
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3143
|
+
};
|
|
3144
|
+
getCreateOrganizationTeamUrl: (organizationId: string) => string;
|
|
3145
|
+
createOrganizationTeam: (organizationId: string, createOrganizationTeamRequest?: CreateOrganizationTeamRequest, options?: RequestInit) => Promise<OrganizationTeam>;
|
|
3146
|
+
getCreateOrganizationTeamMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3147
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganizationTeam>>, TError, {
|
|
3148
|
+
organizationId: string;
|
|
3149
|
+
data?: CreateOrganizationTeamRequest;
|
|
3150
|
+
}, TContext>;
|
|
3151
|
+
request?: (RequestInit & {
|
|
3152
|
+
method?: string;
|
|
3153
|
+
baseUrl?: string;
|
|
3154
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3155
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3156
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3157
|
+
}) | undefined;
|
|
3158
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganizationTeam>>, TError, {
|
|
3159
|
+
organizationId: string;
|
|
3160
|
+
data?: CreateOrganizationTeamRequest;
|
|
3161
|
+
}, TContext>;
|
|
3162
|
+
useCreateOrganizationTeam: <TError = unknown, TContext = unknown>(options?: {
|
|
3163
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganizationTeam>>, TError, {
|
|
3164
|
+
organizationId: string;
|
|
3165
|
+
data?: CreateOrganizationTeamRequest;
|
|
3166
|
+
}, TContext>;
|
|
3167
|
+
request?: (RequestInit & {
|
|
3168
|
+
method?: string;
|
|
3169
|
+
baseUrl?: string;
|
|
3170
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3171
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3172
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3173
|
+
}) | undefined;
|
|
3174
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof createOrganizationTeam>>, TError, {
|
|
3175
|
+
organizationId: string;
|
|
3176
|
+
data?: CreateOrganizationTeamRequest;
|
|
3177
|
+
}, TContext>;
|
|
3178
|
+
getGetOrganizationTeamUrl: (organizationId: string, teamId: string) => string;
|
|
3179
|
+
getOrganizationTeam: (organizationId: string, teamId: string, options?: RequestInit) => Promise<OrganizationTeam>;
|
|
3180
|
+
getGetOrganizationTeamQueryKey: (organizationId: string, teamId: string) => readonly [`/organizations/${string}/teams/${string}`];
|
|
3181
|
+
getGetOrganizationTeamQueryOptions: <TData = Awaited<ReturnType<typeof getOrganizationTeam>>, TError = unknown>(organizationId: string, teamId: string, options?: {
|
|
3182
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, TData>>;
|
|
3183
|
+
request?: (RequestInit & {
|
|
3184
|
+
method?: string;
|
|
3185
|
+
baseUrl?: string;
|
|
3186
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3187
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3188
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3189
|
+
}) | undefined;
|
|
3190
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationTeam>>, TError, TData> & {
|
|
3191
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3192
|
+
};
|
|
3193
|
+
getDeleteOrganizationTeamUrl: (organizationId: string, teamId: string) => string;
|
|
3194
|
+
deleteOrganizationTeam: (organizationId: string, teamId: string, options?: RequestInit) => Promise<DeleteOrganizationTeamResponse>;
|
|
3195
|
+
getDeleteOrganizationTeamMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3196
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationTeam>>, TError, {
|
|
3197
|
+
organizationId: string;
|
|
3198
|
+
teamId: string;
|
|
3199
|
+
}, TContext>;
|
|
3200
|
+
request?: (RequestInit & {
|
|
3201
|
+
method?: string;
|
|
3202
|
+
baseUrl?: string;
|
|
3203
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3204
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3205
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3206
|
+
}) | undefined;
|
|
3207
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationTeam>>, TError, {
|
|
3208
|
+
organizationId: string;
|
|
3209
|
+
teamId: string;
|
|
3210
|
+
}, TContext>;
|
|
3211
|
+
useDeleteOrganizationTeam: <TError = unknown, TContext = unknown>(options?: {
|
|
3212
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationTeam>>, TError, {
|
|
3213
|
+
organizationId: string;
|
|
3214
|
+
teamId: string;
|
|
3215
|
+
}, TContext>;
|
|
3216
|
+
request?: (RequestInit & {
|
|
3217
|
+
method?: string;
|
|
3218
|
+
baseUrl?: string;
|
|
3219
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3220
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3221
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3222
|
+
}) | undefined;
|
|
3223
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof deleteOrganizationTeam>>, TError, {
|
|
3224
|
+
organizationId: string;
|
|
3225
|
+
teamId: string;
|
|
3226
|
+
}, TContext>;
|
|
3227
|
+
getUpdateOrganizationTeamUrl: (organizationId: string, teamId: string) => string;
|
|
3228
|
+
updateOrganizationTeam: (organizationId: string, teamId: string, updateOrganizationTeamRequest?: UpdateOrganizationTeamRequest, options?: RequestInit) => Promise<OrganizationTeam>;
|
|
3229
|
+
getUpdateOrganizationTeamMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3230
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganizationTeam>>, TError, {
|
|
3231
|
+
organizationId: string;
|
|
3232
|
+
teamId: string;
|
|
3233
|
+
data?: UpdateOrganizationTeamRequest;
|
|
3234
|
+
}, TContext>;
|
|
3235
|
+
request?: (RequestInit & {
|
|
3236
|
+
method?: string;
|
|
3237
|
+
baseUrl?: string;
|
|
3238
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3239
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3240
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3241
|
+
}) | undefined;
|
|
3242
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganizationTeam>>, TError, {
|
|
3243
|
+
organizationId: string;
|
|
3244
|
+
teamId: string;
|
|
3245
|
+
data?: UpdateOrganizationTeamRequest;
|
|
3246
|
+
}, TContext>;
|
|
3247
|
+
useUpdateOrganizationTeam: <TError = unknown, TContext = unknown>(options?: {
|
|
3248
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganizationTeam>>, TError, {
|
|
3249
|
+
organizationId: string;
|
|
3250
|
+
teamId: string;
|
|
3251
|
+
data?: UpdateOrganizationTeamRequest;
|
|
3252
|
+
}, TContext>;
|
|
3253
|
+
request?: (RequestInit & {
|
|
3254
|
+
method?: string;
|
|
3255
|
+
baseUrl?: string;
|
|
3256
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3257
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3258
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3259
|
+
}) | undefined;
|
|
3260
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof updateOrganizationTeam>>, TError, {
|
|
3261
|
+
organizationId: string;
|
|
3262
|
+
teamId: string;
|
|
3263
|
+
data?: UpdateOrganizationTeamRequest;
|
|
3264
|
+
}, TContext>;
|
|
3265
|
+
useListOrganizationMembers<TData = OrganizationMember[] | null, TError = unknown>(organizationId: string, params: undefined | ListOrganizationMembersParams, options: {
|
|
3266
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, Awaited<ReturnType<typeof listOrganizationMembers>>>, "initialData">;
|
|
3267
|
+
request?: (RequestInit & {
|
|
3268
|
+
method?: string;
|
|
3269
|
+
baseUrl?: string;
|
|
3270
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3271
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3272
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3273
|
+
}) | undefined;
|
|
3274
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3275
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3276
|
+
};
|
|
3277
|
+
useListOrganizationMembers<TData = OrganizationMember[] | null, TError = unknown>(organizationId: string, params?: ListOrganizationMembersParams, options?: {
|
|
3278
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, Awaited<ReturnType<typeof listOrganizationMembers>>>, "initialData">;
|
|
3279
|
+
request?: (RequestInit & {
|
|
3280
|
+
method?: string;
|
|
3281
|
+
baseUrl?: string;
|
|
3282
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3283
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3284
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3285
|
+
}) | undefined;
|
|
3286
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3287
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3288
|
+
};
|
|
3289
|
+
useListOrganizationMembers<TData = OrganizationMember[] | null, TError = unknown>(organizationId: string, params?: ListOrganizationMembersParams, options?: {
|
|
3290
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, TData>>;
|
|
3291
|
+
request?: (RequestInit & {
|
|
3292
|
+
method?: string;
|
|
3293
|
+
baseUrl?: string;
|
|
3294
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3295
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3296
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3297
|
+
}) | undefined;
|
|
3298
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3299
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3300
|
+
};
|
|
3301
|
+
useGetOrganizationMemberByUserID<TData = OrganizationMember, TError = unknown>(organizationId: string, userId: string, options: {
|
|
3302
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, Awaited<ReturnType<typeof getOrganizationMemberByUserID>>>, "initialData">;
|
|
3303
|
+
request?: (RequestInit & {
|
|
3304
|
+
method?: string;
|
|
3305
|
+
baseUrl?: string;
|
|
3306
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3307
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3308
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3309
|
+
}) | undefined;
|
|
3310
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3311
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3312
|
+
};
|
|
3313
|
+
useGetOrganizationMemberByUserID<TData = OrganizationMember, TError = unknown>(organizationId: string, userId: string, options?: {
|
|
3314
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, Awaited<ReturnType<typeof getOrganizationMemberByUserID>>>, "initialData">;
|
|
3315
|
+
request?: (RequestInit & {
|
|
3316
|
+
method?: string;
|
|
3317
|
+
baseUrl?: string;
|
|
3318
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3319
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3320
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3321
|
+
}) | undefined;
|
|
3322
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3323
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3324
|
+
};
|
|
3325
|
+
useGetOrganizationMemberByUserID<TData = OrganizationMember, TError = unknown>(organizationId: string, userId: string, options?: {
|
|
3326
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, TData>>;
|
|
3327
|
+
request?: (RequestInit & {
|
|
3328
|
+
method?: string;
|
|
3329
|
+
baseUrl?: string;
|
|
3330
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3331
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3332
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3333
|
+
}) | undefined;
|
|
3334
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3335
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3336
|
+
};
|
|
3337
|
+
useGetOrganizationMember<TData = OrganizationMember, TError = unknown>(organizationId: string, memberId: string, options: {
|
|
3338
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, Awaited<ReturnType<typeof getOrganizationMember>>>, "initialData">;
|
|
3339
|
+
request?: (RequestInit & {
|
|
3340
|
+
method?: string;
|
|
3341
|
+
baseUrl?: string;
|
|
3342
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3343
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3344
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3345
|
+
}) | undefined;
|
|
3346
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3347
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3348
|
+
};
|
|
3349
|
+
useGetOrganizationMember<TData = OrganizationMember, TError = unknown>(organizationId: string, memberId: string, options?: {
|
|
3350
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, Awaited<ReturnType<typeof getOrganizationMember>>>, "initialData">;
|
|
3351
|
+
request?: (RequestInit & {
|
|
3352
|
+
method?: string;
|
|
3353
|
+
baseUrl?: string;
|
|
3354
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3355
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3356
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3357
|
+
}) | undefined;
|
|
3358
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3359
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3360
|
+
};
|
|
3361
|
+
useGetOrganizationMember<TData = OrganizationMember, TError = unknown>(organizationId: string, memberId: string, options?: {
|
|
3362
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, TData>>;
|
|
3363
|
+
request?: (RequestInit & {
|
|
3364
|
+
method?: string;
|
|
3365
|
+
baseUrl?: string;
|
|
3366
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3367
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3368
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3369
|
+
}) | undefined;
|
|
3370
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3371
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3372
|
+
};
|
|
3373
|
+
getListOrganizationMembersUrl: (organizationId: string, params?: ListOrganizationMembersParams) => string;
|
|
3374
|
+
listOrganizationMembers: (organizationId: string, params?: ListOrganizationMembersParams, options?: RequestInit) => Promise<OrganizationMember[] | null>;
|
|
3375
|
+
getListOrganizationMembersQueryKey: (organizationId: string, params?: ListOrganizationMembersParams) => readonly [`/organizations/${string}/members`, ...ListOrganizationMembersParams[]];
|
|
3376
|
+
getListOrganizationMembersQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationMembers>>, TError = unknown>(organizationId: string, params?: ListOrganizationMembersParams, options?: {
|
|
3377
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, TData>>;
|
|
3378
|
+
request?: (RequestInit & {
|
|
3379
|
+
method?: string;
|
|
3380
|
+
baseUrl?: string;
|
|
3381
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3382
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3383
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3384
|
+
}) | undefined;
|
|
3385
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationMembers>>, TError, TData> & {
|
|
3386
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3387
|
+
};
|
|
3388
|
+
getAddOrganizationMemberUrl: (organizationId: string) => string;
|
|
3389
|
+
addOrganizationMember: (organizationId: string, addOrganizationMemberRequest?: AddOrganizationMemberRequest, options?: RequestInit) => Promise<OrganizationMember>;
|
|
3390
|
+
getAddOrganizationMemberMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3391
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof addOrganizationMember>>, TError, {
|
|
3392
|
+
organizationId: string;
|
|
3393
|
+
data?: AddOrganizationMemberRequest;
|
|
3394
|
+
}, TContext>;
|
|
3395
|
+
request?: (RequestInit & {
|
|
3396
|
+
method?: string;
|
|
3397
|
+
baseUrl?: string;
|
|
3398
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3399
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3400
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3401
|
+
}) | undefined;
|
|
3402
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof addOrganizationMember>>, TError, {
|
|
3403
|
+
organizationId: string;
|
|
3404
|
+
data?: AddOrganizationMemberRequest;
|
|
3405
|
+
}, TContext>;
|
|
3406
|
+
useAddOrganizationMember: <TError = unknown, TContext = unknown>(options?: {
|
|
3407
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof addOrganizationMember>>, TError, {
|
|
3408
|
+
organizationId: string;
|
|
3409
|
+
data?: AddOrganizationMemberRequest;
|
|
3410
|
+
}, TContext>;
|
|
3411
|
+
request?: (RequestInit & {
|
|
3412
|
+
method?: string;
|
|
3413
|
+
baseUrl?: string;
|
|
3414
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3415
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3416
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3417
|
+
}) | undefined;
|
|
3418
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof addOrganizationMember>>, TError, {
|
|
3419
|
+
organizationId: string;
|
|
3420
|
+
data?: AddOrganizationMemberRequest;
|
|
3421
|
+
}, TContext>;
|
|
3422
|
+
getGetOrganizationMemberByUserIDUrl: (organizationId: string, userId: string) => string;
|
|
3423
|
+
getOrganizationMemberByUserID: (organizationId: string, userId: string, options?: RequestInit) => Promise<OrganizationMember>;
|
|
3424
|
+
getGetOrganizationMemberByUserIDQueryKey: (organizationId: string, userId: string) => readonly [`/organizations/${string}/members/by-user/${string}`];
|
|
3425
|
+
getGetOrganizationMemberByUserIDQueryOptions: <TData = Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError = unknown>(organizationId: string, userId: string, options?: {
|
|
3426
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, TData>>;
|
|
3427
|
+
request?: (RequestInit & {
|
|
3428
|
+
method?: string;
|
|
3429
|
+
baseUrl?: string;
|
|
3430
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3431
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3432
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3433
|
+
}) | undefined;
|
|
3434
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMemberByUserID>>, TError, TData> & {
|
|
3435
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3436
|
+
};
|
|
3437
|
+
getGetOrganizationMemberUrl: (organizationId: string, memberId: string) => string;
|
|
3438
|
+
getOrganizationMember: (organizationId: string, memberId: string, options?: RequestInit) => Promise<OrganizationMember>;
|
|
3439
|
+
getGetOrganizationMemberQueryKey: (organizationId: string, memberId: string) => readonly [`/organizations/${string}/members/${string}`];
|
|
3440
|
+
getGetOrganizationMemberQueryOptions: <TData = Awaited<ReturnType<typeof getOrganizationMember>>, TError = unknown>(organizationId: string, memberId: string, options?: {
|
|
3441
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, TData>>;
|
|
3442
|
+
request?: (RequestInit & {
|
|
3443
|
+
method?: string;
|
|
3444
|
+
baseUrl?: string;
|
|
3445
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3446
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3447
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3448
|
+
}) | undefined;
|
|
3449
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationMember>>, TError, TData> & {
|
|
3450
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3451
|
+
};
|
|
3452
|
+
getDeleteOrganizationMemberUrl: (organizationId: string, memberId: string) => string;
|
|
3453
|
+
deleteOrganizationMember: (organizationId: string, memberId: string, options?: RequestInit) => Promise<DeleteOrganizationMemberResponse>;
|
|
3454
|
+
getDeleteOrganizationMemberMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3455
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationMember>>, TError, {
|
|
3456
|
+
organizationId: string;
|
|
3457
|
+
memberId: string;
|
|
3458
|
+
}, TContext>;
|
|
3459
|
+
request?: (RequestInit & {
|
|
3460
|
+
method?: string;
|
|
3461
|
+
baseUrl?: string;
|
|
3462
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3463
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3464
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3465
|
+
}) | undefined;
|
|
3466
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationMember>>, TError, {
|
|
3467
|
+
organizationId: string;
|
|
3468
|
+
memberId: string;
|
|
3469
|
+
}, TContext>;
|
|
3470
|
+
useDeleteOrganizationMember: <TError = unknown, TContext = unknown>(options?: {
|
|
3471
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganizationMember>>, TError, {
|
|
3472
|
+
organizationId: string;
|
|
3473
|
+
memberId: string;
|
|
3474
|
+
}, TContext>;
|
|
3475
|
+
request?: (RequestInit & {
|
|
3476
|
+
method?: string;
|
|
3477
|
+
baseUrl?: string;
|
|
3478
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3479
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3480
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3481
|
+
}) | undefined;
|
|
3482
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof deleteOrganizationMember>>, TError, {
|
|
3483
|
+
organizationId: string;
|
|
3484
|
+
memberId: string;
|
|
3485
|
+
}, TContext>;
|
|
3486
|
+
getUpdateOrganizationMemberUrl: (organizationId: string, memberId: string) => string;
|
|
3487
|
+
updateOrganizationMember: (organizationId: string, memberId: string, updateOrganizationMemberRequest?: UpdateOrganizationMemberRequest, options?: RequestInit) => Promise<OrganizationMember>;
|
|
3488
|
+
getUpdateOrganizationMemberMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3489
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganizationMember>>, TError, {
|
|
3490
|
+
organizationId: string;
|
|
3491
|
+
memberId: string;
|
|
3492
|
+
data?: UpdateOrganizationMemberRequest;
|
|
3493
|
+
}, TContext>;
|
|
3494
|
+
request?: (RequestInit & {
|
|
3495
|
+
method?: string;
|
|
3496
|
+
baseUrl?: string;
|
|
3497
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3498
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3499
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3500
|
+
}) | undefined;
|
|
3501
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganizationMember>>, TError, {
|
|
3502
|
+
organizationId: string;
|
|
3503
|
+
memberId: string;
|
|
3504
|
+
data?: UpdateOrganizationMemberRequest;
|
|
3505
|
+
}, TContext>;
|
|
3506
|
+
useUpdateOrganizationMember: <TError = unknown, TContext = unknown>(options?: {
|
|
3507
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganizationMember>>, TError, {
|
|
3508
|
+
organizationId: string;
|
|
3509
|
+
memberId: string;
|
|
3510
|
+
data?: UpdateOrganizationMemberRequest;
|
|
3511
|
+
}, TContext>;
|
|
3512
|
+
request?: (RequestInit & {
|
|
3513
|
+
method?: string;
|
|
3514
|
+
baseUrl?: string;
|
|
3515
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3516
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3517
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3518
|
+
}) | undefined;
|
|
3519
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof updateOrganizationMember>>, TError, {
|
|
3520
|
+
organizationId: string;
|
|
3521
|
+
memberId: string;
|
|
3522
|
+
data?: UpdateOrganizationMemberRequest;
|
|
3523
|
+
}, TContext>;
|
|
3524
|
+
useListOrganizationInvitations<TData = OrganizationInvitation[] | null, TError = unknown>(organizationId: string, options: {
|
|
3525
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, Awaited<ReturnType<typeof listOrganizationInvitations>>>, "initialData">;
|
|
3526
|
+
request?: (RequestInit & {
|
|
3527
|
+
method?: string;
|
|
3528
|
+
baseUrl?: string;
|
|
3529
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3530
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3531
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3532
|
+
}) | undefined;
|
|
3533
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3534
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3535
|
+
};
|
|
3536
|
+
useListOrganizationInvitations<TData = OrganizationInvitation[] | null, TError = unknown>(organizationId: string, options?: {
|
|
3537
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, Awaited<ReturnType<typeof listOrganizationInvitations>>>, "initialData">;
|
|
3538
|
+
request?: (RequestInit & {
|
|
3539
|
+
method?: string;
|
|
3540
|
+
baseUrl?: string;
|
|
3541
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3542
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3543
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3544
|
+
}) | undefined;
|
|
3545
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3546
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3547
|
+
};
|
|
3548
|
+
useListOrganizationInvitations<TData = OrganizationInvitation[] | null, TError = unknown>(organizationId: string, options?: {
|
|
3549
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, TData>>;
|
|
3550
|
+
request?: (RequestInit & {
|
|
3551
|
+
method?: string;
|
|
3552
|
+
baseUrl?: string;
|
|
3553
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3554
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3555
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3556
|
+
}) | undefined;
|
|
3557
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3558
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3559
|
+
};
|
|
3560
|
+
useGetOrganizationInvitation<TData = OrganizationInvitation, TError = unknown>(organizationId: string, invitationId: string, options: {
|
|
3561
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, Awaited<ReturnType<typeof getOrganizationInvitation>>>, "initialData">;
|
|
3562
|
+
request?: (RequestInit & {
|
|
3563
|
+
method?: string;
|
|
3564
|
+
baseUrl?: string;
|
|
3565
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3566
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3567
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3568
|
+
}) | undefined;
|
|
3569
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3570
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3571
|
+
};
|
|
3572
|
+
useGetOrganizationInvitation<TData = OrganizationInvitation, TError = unknown>(organizationId: string, invitationId: string, options?: {
|
|
3573
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, Awaited<ReturnType<typeof getOrganizationInvitation>>>, "initialData">;
|
|
3574
|
+
request?: (RequestInit & {
|
|
3575
|
+
method?: string;
|
|
3576
|
+
baseUrl?: string;
|
|
3577
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3578
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3579
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3580
|
+
}) | undefined;
|
|
3581
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3582
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3583
|
+
};
|
|
3584
|
+
useGetOrganizationInvitation<TData = OrganizationInvitation, TError = unknown>(organizationId: string, invitationId: string, options?: {
|
|
3585
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, TData>>;
|
|
3586
|
+
request?: (RequestInit & {
|
|
3587
|
+
method?: string;
|
|
3588
|
+
baseUrl?: string;
|
|
3589
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3590
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3591
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3592
|
+
}) | undefined;
|
|
3593
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3594
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3595
|
+
};
|
|
3596
|
+
getListOrganizationInvitationsUrl: (organizationId: string) => string;
|
|
3597
|
+
listOrganizationInvitations: (organizationId: string, options?: RequestInit) => Promise<OrganizationInvitation[] | null>;
|
|
3598
|
+
getListOrganizationInvitationsQueryKey: (organizationId: string) => readonly [`/organizations/${string}/invitations`];
|
|
3599
|
+
getListOrganizationInvitationsQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizationInvitations>>, TError = unknown>(organizationId: string, options?: {
|
|
3600
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, TData>>;
|
|
3601
|
+
request?: (RequestInit & {
|
|
3602
|
+
method?: string;
|
|
3603
|
+
baseUrl?: string;
|
|
3604
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3605
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3606
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3607
|
+
}) | undefined;
|
|
3608
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizationInvitations>>, TError, TData> & {
|
|
3609
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3610
|
+
};
|
|
3611
|
+
getCreateOrganizationInvitationUrl: (organizationId: string) => string;
|
|
3612
|
+
createOrganizationInvitation: (organizationId: string, createOrganizationInvitationRequest?: CreateOrganizationInvitationRequest, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
3613
|
+
getCreateOrganizationInvitationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3614
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganizationInvitation>>, TError, {
|
|
3615
|
+
organizationId: string;
|
|
3616
|
+
data?: CreateOrganizationInvitationRequest;
|
|
3617
|
+
}, TContext>;
|
|
3618
|
+
request?: (RequestInit & {
|
|
3619
|
+
method?: string;
|
|
3620
|
+
baseUrl?: string;
|
|
3621
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3622
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3623
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3624
|
+
}) | undefined;
|
|
3625
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganizationInvitation>>, TError, {
|
|
3626
|
+
organizationId: string;
|
|
3627
|
+
data?: CreateOrganizationInvitationRequest;
|
|
3628
|
+
}, TContext>;
|
|
3629
|
+
useCreateOrganizationInvitation: <TError = unknown, TContext = unknown>(options?: {
|
|
3630
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganizationInvitation>>, TError, {
|
|
3631
|
+
organizationId: string;
|
|
3632
|
+
data?: CreateOrganizationInvitationRequest;
|
|
3633
|
+
}, TContext>;
|
|
3634
|
+
request?: (RequestInit & {
|
|
3635
|
+
method?: string;
|
|
3636
|
+
baseUrl?: string;
|
|
3637
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3638
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3639
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3640
|
+
}) | undefined;
|
|
3641
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof createOrganizationInvitation>>, TError, {
|
|
3642
|
+
organizationId: string;
|
|
3643
|
+
data?: CreateOrganizationInvitationRequest;
|
|
3644
|
+
}, TContext>;
|
|
3645
|
+
getGetOrganizationInvitationUrl: (organizationId: string, invitationId: string) => string;
|
|
3646
|
+
getOrganizationInvitation: (organizationId: string, invitationId: string, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
3647
|
+
getGetOrganizationInvitationQueryKey: (organizationId: string, invitationId: string) => readonly [`/organizations/${string}/invitations/${string}`];
|
|
3648
|
+
getGetOrganizationInvitationQueryOptions: <TData = Awaited<ReturnType<typeof getOrganizationInvitation>>, TError = unknown>(organizationId: string, invitationId: string, options?: {
|
|
3649
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, TData>>;
|
|
3650
|
+
request?: (RequestInit & {
|
|
3651
|
+
method?: string;
|
|
3652
|
+
baseUrl?: string;
|
|
3653
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3654
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3655
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3656
|
+
}) | undefined;
|
|
3657
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganizationInvitation>>, TError, TData> & {
|
|
3658
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3659
|
+
};
|
|
3660
|
+
getRevokeOrganizationInvitationUrl: (organizationId: string, invitationId: string) => string;
|
|
3661
|
+
revokeOrganizationInvitation: (organizationId: string, invitationId: string, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
3662
|
+
getRevokeOrganizationInvitationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3663
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof revokeOrganizationInvitation>>, TError, {
|
|
3664
|
+
organizationId: string;
|
|
3665
|
+
invitationId: string;
|
|
3666
|
+
}, TContext>;
|
|
3667
|
+
request?: (RequestInit & {
|
|
3668
|
+
method?: string;
|
|
3669
|
+
baseUrl?: string;
|
|
3670
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3671
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3672
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3673
|
+
}) | undefined;
|
|
3674
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof revokeOrganizationInvitation>>, TError, {
|
|
3675
|
+
organizationId: string;
|
|
3676
|
+
invitationId: string;
|
|
3677
|
+
}, TContext>;
|
|
3678
|
+
useRevokeOrganizationInvitation: <TError = unknown, TContext = unknown>(options?: {
|
|
3679
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof revokeOrganizationInvitation>>, TError, {
|
|
3680
|
+
organizationId: string;
|
|
3681
|
+
invitationId: string;
|
|
3682
|
+
}, TContext>;
|
|
3683
|
+
request?: (RequestInit & {
|
|
3684
|
+
method?: string;
|
|
3685
|
+
baseUrl?: string;
|
|
3686
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3687
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3688
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3689
|
+
}) | undefined;
|
|
3690
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof revokeOrganizationInvitation>>, TError, {
|
|
3691
|
+
organizationId: string;
|
|
3692
|
+
invitationId: string;
|
|
3693
|
+
}, TContext>;
|
|
3694
|
+
getAcceptOrganizationInvitationUrl: (organizationId: string, invitationId: string, params?: AcceptOrganizationInvitationParams) => string;
|
|
3695
|
+
acceptOrganizationInvitation: (organizationId: string, invitationId: string, acceptOrganizationInvitationQuery?: AcceptOrganizationInvitationQuery, params?: AcceptOrganizationInvitationParams, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
3696
|
+
getAcceptOrganizationInvitationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3697
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof acceptOrganizationInvitation>>, TError, {
|
|
3698
|
+
organizationId: string;
|
|
3699
|
+
invitationId: string;
|
|
3700
|
+
data?: AcceptOrganizationInvitationQuery;
|
|
3701
|
+
params?: AcceptOrganizationInvitationParams;
|
|
3702
|
+
}, TContext>;
|
|
3703
|
+
request?: (RequestInit & {
|
|
3704
|
+
method?: string;
|
|
3705
|
+
baseUrl?: string;
|
|
3706
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3707
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3708
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3709
|
+
}) | undefined;
|
|
3710
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof acceptOrganizationInvitation>>, TError, {
|
|
3711
|
+
organizationId: string;
|
|
3712
|
+
invitationId: string;
|
|
3713
|
+
data?: AcceptOrganizationInvitationQuery;
|
|
3714
|
+
params?: AcceptOrganizationInvitationParams;
|
|
3715
|
+
}, TContext>;
|
|
3716
|
+
useAcceptOrganizationInvitation: <TError = unknown, TContext = unknown>(options?: {
|
|
3717
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof acceptOrganizationInvitation>>, TError, {
|
|
3718
|
+
organizationId: string;
|
|
3719
|
+
invitationId: string;
|
|
3720
|
+
data?: AcceptOrganizationInvitationQuery;
|
|
3721
|
+
params?: AcceptOrganizationInvitationParams;
|
|
3722
|
+
}, TContext>;
|
|
3723
|
+
request?: (RequestInit & {
|
|
3724
|
+
method?: string;
|
|
3725
|
+
baseUrl?: string;
|
|
3726
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3727
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3728
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3729
|
+
}) | undefined;
|
|
3730
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof acceptOrganizationInvitation>>, TError, {
|
|
3731
|
+
organizationId: string;
|
|
3732
|
+
invitationId: string;
|
|
3733
|
+
data?: AcceptOrganizationInvitationQuery;
|
|
3734
|
+
params?: AcceptOrganizationInvitationParams;
|
|
3735
|
+
}, TContext>;
|
|
3736
|
+
getRejectOrganizationInvitationUrl: (organizationId: string, invitationId: string) => string;
|
|
3737
|
+
rejectOrganizationInvitation: (organizationId: string, invitationId: string, options?: RequestInit) => Promise<OrganizationInvitation>;
|
|
3738
|
+
getRejectOrganizationInvitationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3739
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof rejectOrganizationInvitation>>, TError, {
|
|
3740
|
+
organizationId: string;
|
|
3741
|
+
invitationId: string;
|
|
3742
|
+
}, TContext>;
|
|
3743
|
+
request?: (RequestInit & {
|
|
3744
|
+
method?: string;
|
|
3745
|
+
baseUrl?: string;
|
|
3746
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3747
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3748
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3749
|
+
}) | undefined;
|
|
3750
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof rejectOrganizationInvitation>>, TError, {
|
|
3751
|
+
organizationId: string;
|
|
3752
|
+
invitationId: string;
|
|
3753
|
+
}, TContext>;
|
|
3754
|
+
useRejectOrganizationInvitation: <TError = unknown, TContext = unknown>(options?: {
|
|
3755
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof rejectOrganizationInvitation>>, TError, {
|
|
3756
|
+
organizationId: string;
|
|
3757
|
+
invitationId: string;
|
|
3758
|
+
}, TContext>;
|
|
3759
|
+
request?: (RequestInit & {
|
|
3760
|
+
method?: string;
|
|
3761
|
+
baseUrl?: string;
|
|
3762
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3763
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3764
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3765
|
+
}) | undefined;
|
|
3766
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof rejectOrganizationInvitation>>, TError, {
|
|
3767
|
+
organizationId: string;
|
|
3768
|
+
invitationId: string;
|
|
3769
|
+
}, TContext>;
|
|
3770
|
+
useListOrganizations<TData = Organization[] | null, TError = unknown>(options: {
|
|
3771
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, Awaited<ReturnType<typeof listOrganizations>>>, "initialData">;
|
|
3772
|
+
request?: (RequestInit & {
|
|
3773
|
+
method?: string;
|
|
3774
|
+
baseUrl?: string;
|
|
3775
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3776
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3777
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3778
|
+
}) | undefined;
|
|
3779
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3780
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3781
|
+
};
|
|
3782
|
+
useListOrganizations<TData = Organization[] | null, TError = unknown>(options?: {
|
|
3783
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, Awaited<ReturnType<typeof listOrganizations>>>, "initialData">;
|
|
3784
|
+
request?: (RequestInit & {
|
|
3785
|
+
method?: string;
|
|
3786
|
+
baseUrl?: string;
|
|
3787
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3788
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3789
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3790
|
+
}) | undefined;
|
|
3791
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3792
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3793
|
+
};
|
|
3794
|
+
useListOrganizations<TData = Organization[] | null, TError = unknown>(options?: {
|
|
3795
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>>;
|
|
3796
|
+
request?: (RequestInit & {
|
|
3797
|
+
method?: string;
|
|
3798
|
+
baseUrl?: string;
|
|
3799
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3800
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3801
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3802
|
+
}) | undefined;
|
|
3803
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3804
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3805
|
+
};
|
|
3806
|
+
useGetOrganization<TData = Organization, TError = unknown>(organizationId: string, options: {
|
|
3807
|
+
query: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>> & Pick<import("@tanstack/react-query").DefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganization>>, TError, Awaited<ReturnType<typeof getOrganization>>>, "initialData">;
|
|
3808
|
+
request?: (RequestInit & {
|
|
3809
|
+
method?: string;
|
|
3810
|
+
baseUrl?: string;
|
|
3811
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3812
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3813
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3814
|
+
}) | undefined;
|
|
3815
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").DefinedUseQueryResult<TData, TError> & {
|
|
3816
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3817
|
+
};
|
|
3818
|
+
useGetOrganization<TData = Organization, TError = unknown>(organizationId: string, options?: {
|
|
3819
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>> & Pick<import("@tanstack/react-query").UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOrganization>>, TError, Awaited<ReturnType<typeof getOrganization>>>, "initialData">;
|
|
3820
|
+
request?: (RequestInit & {
|
|
3821
|
+
method?: string;
|
|
3822
|
+
baseUrl?: string;
|
|
3823
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3824
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3825
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3826
|
+
}) | undefined;
|
|
3827
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3828
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3829
|
+
};
|
|
3830
|
+
useGetOrganization<TData = Organization, TError = unknown>(organizationId: string, options?: {
|
|
3831
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>>;
|
|
3832
|
+
request?: (RequestInit & {
|
|
3833
|
+
method?: string;
|
|
3834
|
+
baseUrl?: string;
|
|
3835
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3836
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3837
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3838
|
+
}) | undefined;
|
|
3839
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient): import("@tanstack/react-query").UseQueryResult<TData, TError> & {
|
|
3840
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3841
|
+
};
|
|
3842
|
+
getListOrganizationsUrl: () => string;
|
|
3843
|
+
listOrganizations: (options?: RequestInit) => Promise<Organization[] | null>;
|
|
3844
|
+
getListOrganizationsQueryKey: () => readonly ["/organizations"];
|
|
3845
|
+
getListOrganizationsQueryOptions: <TData = Awaited<ReturnType<typeof listOrganizations>>, TError = unknown>(options?: {
|
|
3846
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData>>;
|
|
3847
|
+
request?: (RequestInit & {
|
|
3848
|
+
method?: string;
|
|
3849
|
+
baseUrl?: string;
|
|
3850
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3851
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3852
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3853
|
+
}) | undefined;
|
|
3854
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof listOrganizations>>, TError, TData> & {
|
|
3855
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3856
|
+
};
|
|
3857
|
+
getCreateOrganizationUrl: () => string;
|
|
3858
|
+
createOrganization: (createOrganizationRequest?: CreateOrganizationRequest, options?: RequestInit) => Promise<Organization>;
|
|
3859
|
+
getCreateOrganizationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3860
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
3861
|
+
data?: CreateOrganizationRequest;
|
|
3862
|
+
}, TContext>;
|
|
3863
|
+
request?: (RequestInit & {
|
|
3864
|
+
method?: string;
|
|
3865
|
+
baseUrl?: string;
|
|
3866
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3867
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3868
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3869
|
+
}) | undefined;
|
|
3870
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
3871
|
+
data?: CreateOrganizationRequest;
|
|
3872
|
+
}, TContext>;
|
|
3873
|
+
useCreateOrganization: <TError = unknown, TContext = unknown>(options?: {
|
|
3874
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
3875
|
+
data?: CreateOrganizationRequest;
|
|
3876
|
+
}, TContext>;
|
|
3877
|
+
request?: (RequestInit & {
|
|
3878
|
+
method?: string;
|
|
3879
|
+
baseUrl?: string;
|
|
3880
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3881
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3882
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3883
|
+
}) | undefined;
|
|
3884
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof createOrganization>>, TError, {
|
|
3885
|
+
data?: CreateOrganizationRequest;
|
|
3886
|
+
}, TContext>;
|
|
3887
|
+
getGetOrganizationUrl: (organizationId: string) => string;
|
|
3888
|
+
getOrganization: (organizationId: string, options?: RequestInit) => Promise<Organization>;
|
|
3889
|
+
getGetOrganizationQueryKey: (organizationId: string) => readonly [`/organizations/${string}`];
|
|
3890
|
+
getGetOrganizationQueryOptions: <TData = Awaited<ReturnType<typeof getOrganization>>, TError = unknown>(organizationId: string, options?: {
|
|
3891
|
+
query?: Partial<import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData>>;
|
|
3892
|
+
request?: (RequestInit & {
|
|
3893
|
+
method?: string;
|
|
3894
|
+
baseUrl?: string;
|
|
3895
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3896
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3897
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3898
|
+
}) | undefined;
|
|
3899
|
+
}) => import("@tanstack/react-query").UseQueryOptions<Awaited<ReturnType<typeof getOrganization>>, TError, TData> & {
|
|
3900
|
+
queryKey: import("@tanstack/react-query").DataTag<import("@tanstack/react-query").QueryKey, TData, TError>;
|
|
3901
|
+
};
|
|
3902
|
+
getDeleteOrganizationUrl: (organizationId: string) => string;
|
|
3903
|
+
deleteOrganization: (organizationId: string, options?: RequestInit) => Promise<DeleteOrganizationResponse>;
|
|
3904
|
+
getDeleteOrganizationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3905
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
3906
|
+
organizationId: string;
|
|
3907
|
+
}, TContext>;
|
|
3908
|
+
request?: (RequestInit & {
|
|
3909
|
+
method?: string;
|
|
3910
|
+
baseUrl?: string;
|
|
3911
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3912
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3913
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3914
|
+
}) | undefined;
|
|
3915
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
3916
|
+
organizationId: string;
|
|
3917
|
+
}, TContext>;
|
|
3918
|
+
useDeleteOrganization: <TError = unknown, TContext = unknown>(options?: {
|
|
3919
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
3920
|
+
organizationId: string;
|
|
3921
|
+
}, TContext>;
|
|
3922
|
+
request?: (RequestInit & {
|
|
3923
|
+
method?: string;
|
|
3924
|
+
baseUrl?: string;
|
|
3925
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3926
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3927
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3928
|
+
}) | undefined;
|
|
3929
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof deleteOrganization>>, TError, {
|
|
3930
|
+
organizationId: string;
|
|
3931
|
+
}, TContext>;
|
|
3932
|
+
getUpdateOrganizationUrl: (organizationId: string) => string;
|
|
3933
|
+
updateOrganization: (organizationId: string, updateOrganizationRequest?: UpdateOrganizationRequest, options?: RequestInit) => Promise<Organization>;
|
|
3934
|
+
getUpdateOrganizationMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
3935
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganization>>, TError, {
|
|
3936
|
+
organizationId: string;
|
|
3937
|
+
data?: UpdateOrganizationRequest;
|
|
3938
|
+
}, TContext>;
|
|
3939
|
+
request?: (RequestInit & {
|
|
3940
|
+
method?: string;
|
|
3941
|
+
baseUrl?: string;
|
|
3942
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3943
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3944
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3945
|
+
}) | undefined;
|
|
3946
|
+
}) => import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganization>>, TError, {
|
|
3947
|
+
organizationId: string;
|
|
3948
|
+
data?: UpdateOrganizationRequest;
|
|
3949
|
+
}, TContext>;
|
|
3950
|
+
useUpdateOrganization: <TError = unknown, TContext = unknown>(options?: {
|
|
3951
|
+
mutation?: import("@tanstack/react-query").UseMutationOptions<Awaited<ReturnType<typeof updateOrganization>>, TError, {
|
|
3952
|
+
organizationId: string;
|
|
3953
|
+
data?: UpdateOrganizationRequest;
|
|
3954
|
+
}, TContext>;
|
|
3955
|
+
request?: (RequestInit & {
|
|
3956
|
+
method?: string;
|
|
3957
|
+
baseUrl?: string;
|
|
3958
|
+
cookies?: () => CookieStore | Promise<CookieStore>;
|
|
3959
|
+
onBeforeFetch?: (ctx: FetchContext) => Promise<void>;
|
|
3960
|
+
onAfterFetch?: (ctx: FetchContext, res: Response) => Promise<"retry" | void>;
|
|
3961
|
+
}) | undefined;
|
|
3962
|
+
}, queryClient?: import("@tanstack/react-query").QueryClient) => import("@tanstack/react-query").UseMutationResult<Awaited<ReturnType<typeof updateOrganization>>, TError, {
|
|
3963
|
+
organizationId: string;
|
|
3964
|
+
data?: UpdateOrganizationRequest;
|
|
3965
|
+
}, TContext>;
|
|
3966
|
+
};
|
|
2896
3967
|
}
|
|
2897
3968
|
declare namespace totp_plugin_d_exports {
|
|
2898
3969
|
export { DisableTotpMutationError, DisableTotpMutationResult, EnableTotpMutationError, EnableTotpMutationResult, GenerateTotpBackupCodesMutationError, GenerateTotpBackupCodesMutationResult, GetTotpURIQueryError, GetTotpURIQueryResult, VerifyTotpBackupCodeMutationBody, VerifyTotpBackupCodeMutationError, VerifyTotpBackupCodeMutationResult, VerifyTotpMutationBody, VerifyTotpMutationError, VerifyTotpMutationResult, disableTotp, enableTotp, generateTotpBackupCodes, getDisableTotpMutationOptions, getDisableTotpUrl, getEnableTotpMutationOptions, getEnableTotpUrl, getGenerateTotpBackupCodesMutationOptions, getGenerateTotpBackupCodesUrl, getGetTotpURIQueryKey, getGetTotpURIQueryOptions, getGetTotpURIUrl, getTotpURI, getVerifyTotpBackupCodeMutationOptions, getVerifyTotpBackupCodeUrl, getVerifyTotpMutationOptions, getVerifyTotpUrl, useDisableTotp, useEnableTotp, useGenerateTotpBackupCodes, useGetTotpURI, useVerifyTotp, useVerifyTotpBackupCode, verifyTotp, verifyTotpBackupCode };
|