@intlayer/design-system 4.1.5 → 4.1.6
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/components/Auth/useAuth/useCSRF.d.ts +1 -1
- package/dist/components/Auth/useAuth/useOAuth2.d.ts +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +48 -48
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/useGetAllDictionaries.d.ts +1 -1
- package/dist/hooks/useGetAllDictionaries.d.ts.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +59 -59
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
- package/package.json +19 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
export declare const useOAuth2: (csrfToken: string | null | undefined, intlayerConfiguration?: IntlayerConfig) => {
|
|
3
|
-
oAuth2AccessToken:
|
|
3
|
+
oAuth2AccessToken: import('@intlayer/backend').OAuth2Token | null | undefined;
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=useOAuth2.d.ts.map
|
|
@@ -3,76 +3,76 @@ import { UseAsyncOptions } from './useAsync/useAsync';
|
|
|
3
3
|
/**
|
|
4
4
|
* Auth
|
|
5
5
|
*/
|
|
6
|
-
export declare const useLogin: (args?: UseAsyncOptions<typeof intlayerAPI.auth.login>) => import('./useAsync').UseAsyncResult<"login", (user: LoginBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<LoginResult>>;
|
|
7
|
-
export declare const useRegister: (args?: UseAsyncOptions<typeof intlayerAPI.auth.register>) => import('./useAsync').UseAsyncResult<"register", (user: RegisterBody, query?: RegisterQuery, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<RegisterResult>>;
|
|
6
|
+
export declare const useLogin: (args?: UseAsyncOptions<typeof intlayerAPI.auth.login>) => import('./useAsync').UseAsyncResult<"login", (user: import('@intlayer/backend').LoginBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').LoginResult>>;
|
|
7
|
+
export declare const useRegister: (args?: UseAsyncOptions<typeof intlayerAPI.auth.register>) => import('./useAsync').UseAsyncResult<"register", (user: import('@intlayer/backend').RegisterBody, query?: import('@intlayer/backend').RegisterQuery, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').RegisterResult>>;
|
|
8
8
|
export declare const useLogout: (args?: UseAsyncOptions<typeof intlayerAPI.auth.logout>) => import('./useAsync').UseAsyncResult<"logout", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<void>>;
|
|
9
|
-
export declare const useChangePassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.changePassword>) => import('./useAsync').UseAsyncResult<"changePassword", (data: UpdatePasswordBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdatePasswordResult>>;
|
|
10
|
-
export declare const useAskResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.askResetPassword>) => import('./useAsync').UseAsyncResult<"askResetPassword", (email: AskResetPasswordBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AskResetPasswordResult>>;
|
|
11
|
-
export declare const useResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.resetPassword>) => import('./useAsync').UseAsyncResult<"resetPassword", (params: ResetPasswordParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<ResetPasswordResult>>;
|
|
12
|
-
export declare const useCheckIfUserHasPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.checkIfUserHasPassword>) => import('./useAsync').UseAsyncResult<"checkIfUserHasPassword", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<CheckIfUserHasPasswordResult>>;
|
|
13
|
-
export declare const useVerifyEmail: (args?: UseAsyncOptions<typeof intlayerAPI.auth.verifyEmail>) => import('./useAsync').UseAsyncResult<"verifyEmail", ({ userId, secret }: ValidEmailParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<ValidEmailResult>>;
|
|
14
|
-
export declare const useGetUserByAccount: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUserByAccount>) => import('./useAsync').UseAsyncResult<"getUserByAccount", (providerAccountId: GetUserByAccountParams, provider: GetUserByAccountParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetUserByAccountResult>>;
|
|
9
|
+
export declare const useChangePassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.changePassword>) => import('./useAsync').UseAsyncResult<"changePassword", (data: import('@intlayer/backend').UpdatePasswordBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdatePasswordResult>>;
|
|
10
|
+
export declare const useAskResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.askResetPassword>) => import('./useAsync').UseAsyncResult<"askResetPassword", (email: import('@intlayer/backend').AskResetPasswordBody["email"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AskResetPasswordResult>>;
|
|
11
|
+
export declare const useResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.resetPassword>) => import('./useAsync').UseAsyncResult<"resetPassword", (params: import('@intlayer/backend').ResetPasswordParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').ResetPasswordResult>>;
|
|
12
|
+
export declare const useCheckIfUserHasPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.checkIfUserHasPassword>) => import('./useAsync').UseAsyncResult<"checkIfUserHasPassword", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').CheckIfUserHasPasswordResult>>;
|
|
13
|
+
export declare const useVerifyEmail: (args?: UseAsyncOptions<typeof intlayerAPI.auth.verifyEmail>) => import('./useAsync').UseAsyncResult<"verifyEmail", ({ userId, secret }: import('@intlayer/backend').ValidEmailParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').ValidEmailResult>>;
|
|
14
|
+
export declare const useGetUserByAccount: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUserByAccount>) => import('./useAsync').UseAsyncResult<"getUserByAccount", (providerAccountId: import('@intlayer/backend').GetUserByAccountParams["providerAccountId"], provider: import('@intlayer/backend').GetUserByAccountParams["provider"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetUserByAccountResult>>;
|
|
15
15
|
/**
|
|
16
16
|
* User
|
|
17
17
|
*/
|
|
18
|
-
export declare const useGetUsers: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUsers>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?: GetUsersParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetUsersResult>>;
|
|
19
|
-
export declare const useCreateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.createUser>) => import('./useAsync').UseAsyncResult<"createUser", (user: CreateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<CreateUserResult>>;
|
|
20
|
-
export declare const useUpdateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.updateUser>) => import('./useAsync').UseAsyncResult<"updateUser", (user: UpdateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateUserResult>>;
|
|
21
|
-
export declare const useDeleteUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.deleteUser>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateUserResult>>;
|
|
18
|
+
export declare const useGetUsers: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUsers>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?: import('@intlayer/backend').GetUsersParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetUsersResult>>;
|
|
19
|
+
export declare const useCreateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.createUser>) => import('./useAsync').UseAsyncResult<"createUser", (user: import('@intlayer/backend').CreateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').CreateUserResult>>;
|
|
20
|
+
export declare const useUpdateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.updateUser>) => import('./useAsync').UseAsyncResult<"updateUser", (user: import('@intlayer/backend').UpdateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>>;
|
|
21
|
+
export declare const useDeleteUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.deleteUser>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>>;
|
|
22
22
|
/**
|
|
23
23
|
* Organization
|
|
24
24
|
*/
|
|
25
|
-
export declare const useGetOrganizations: (args?: UseAsyncOptions<typeof intlayerAPI.organization.getOrganizations>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?: GetOrganizationsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetOrganizationsResult>>;
|
|
26
|
-
export declare const useAddOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganization>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization: AddOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddOrganizationResult>>;
|
|
27
|
-
export declare const useUpdateOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganization>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization: UpdateOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateOrganizationResult>>;
|
|
28
|
-
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganizationMembers>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body: UpdateOrganizationMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateOrganizationMembersResult>>;
|
|
29
|
-
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganizationMember>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body: AddOrganizationMemberBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddOrganizationMemberResult>>;
|
|
30
|
-
export declare const useDeleteOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.deleteOrganization>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteOrganizationResult>>;
|
|
31
|
-
export declare const useSelectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.selectOrganization>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId: SelectOrganizationParam, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<SelectOrganizationResult>>;
|
|
32
|
-
export declare const useUnselectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.unselectOrganization>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UnselectOrganizationResult>>;
|
|
25
|
+
export declare const useGetOrganizations: (args?: UseAsyncOptions<typeof intlayerAPI.organization.getOrganizations>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?: import('@intlayer/backend').GetOrganizationsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetOrganizationsResult>>;
|
|
26
|
+
export declare const useAddOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganization>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization: import('@intlayer/backend').AddOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationResult>>;
|
|
27
|
+
export declare const useUpdateOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganization>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization: import('@intlayer/backend').UpdateOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationResult>>;
|
|
28
|
+
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganizationMembers>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body: import('@intlayer/backend').UpdateOrganizationMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationMembersResult>>;
|
|
29
|
+
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganizationMember>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body: import('@intlayer/backend').AddOrganizationMemberBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationMemberResult>>;
|
|
30
|
+
export declare const useDeleteOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.deleteOrganization>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteOrganizationResult>>;
|
|
31
|
+
export declare const useSelectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.selectOrganization>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId: import('@intlayer/backend').SelectOrganizationParam["organizationId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').SelectOrganizationResult>>;
|
|
32
|
+
export declare const useUnselectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.unselectOrganization>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UnselectOrganizationResult>>;
|
|
33
33
|
/**
|
|
34
34
|
* Project
|
|
35
35
|
*/
|
|
36
|
-
export declare const useGetProjects: (args?: UseAsyncOptions<typeof intlayerAPI.project.getProjects>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?: GetProjectsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetProjectsResult>>;
|
|
37
|
-
export declare const useAddProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.addProject>) => import('./useAsync').UseAsyncResult<"addProject", (project: AddProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddProjectResult>>;
|
|
38
|
-
export declare const useUpdateProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProject>) => import('./useAsync').UseAsyncResult<"updateProject", (project: UpdateProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateProjectResult>>;
|
|
39
|
-
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProjectMembers>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body: UpdateProjectMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateProjectMembersResult>>;
|
|
40
|
-
export declare const useDeleteProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteProject>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteProjectResult>>;
|
|
41
|
-
export declare const useSelectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.selectProject>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId: SelectProjectParam, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<SelectProjectResult>>;
|
|
42
|
-
export declare const useUnselectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.unselectProject>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UnselectProjectResult>>;
|
|
43
|
-
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.addNewAccessKey>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey: AddNewAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddNewAccessKeyResponse>>;
|
|
44
|
-
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteAccessKey>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId: DeleteAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteAccessKeyResponse>>;
|
|
45
|
-
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.refreshAccessKey>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId: RefreshAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<RefreshAccessKeyResponse>>;
|
|
36
|
+
export declare const useGetProjects: (args?: UseAsyncOptions<typeof intlayerAPI.project.getProjects>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?: import('@intlayer/backend').GetProjectsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetProjectsResult>>;
|
|
37
|
+
export declare const useAddProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.addProject>) => import('./useAsync').UseAsyncResult<"addProject", (project: import('@intlayer/backend').AddProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddProjectResult>>;
|
|
38
|
+
export declare const useUpdateProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProject>) => import('./useAsync').UseAsyncResult<"updateProject", (project: import('@intlayer/backend').UpdateProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectResult>>;
|
|
39
|
+
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProjectMembers>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body: import('@intlayer/backend').UpdateProjectMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectMembersResult>>;
|
|
40
|
+
export declare const useDeleteProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteProject>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteProjectResult>>;
|
|
41
|
+
export declare const useSelectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.selectProject>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId: import('@intlayer/backend').SelectProjectParam["projectId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').SelectProjectResult>>;
|
|
42
|
+
export declare const useUnselectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.unselectProject>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UnselectProjectResult>>;
|
|
43
|
+
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.addNewAccessKey>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey: import('@intlayer/backend').AddNewAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddNewAccessKeyResponse>>;
|
|
44
|
+
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteAccessKey>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId: import('@intlayer/backend').DeleteAccessKeyBody["clientId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteAccessKeyResponse>>;
|
|
45
|
+
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.refreshAccessKey>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId: import('@intlayer/backend').RefreshAccessKeyBody["clientId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').RefreshAccessKeyResponse>>;
|
|
46
46
|
/**
|
|
47
47
|
* Dictionary
|
|
48
48
|
*/
|
|
49
|
-
export declare const useGetDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionaries>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?: GetDictionariesParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetDictionariesResult>>;
|
|
50
|
-
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionariesKeys>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetDictionariesKeysResult>>;
|
|
51
|
-
export declare const useGetDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey: GetDictionaryParams, version?: GetDictionaryQuery, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetDictionaryResult>>;
|
|
52
|
-
export declare const useAddDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>) => import('./useAsync').UseAsyncResult<"addDictionary", (dictionary: AddDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddDictionaryResult>>;
|
|
53
|
-
export declare const usePushDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: PushDictionariesBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<PushDictionariesResult>>;
|
|
54
|
-
export declare const useUpdateDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId: UpdateDictionaryParam, dictionary: UpdateDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateDictionaryResult>>;
|
|
55
|
-
export declare const useDeleteDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: DeleteDictionaryParam, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteDictionaryResult>>;
|
|
49
|
+
export declare const useGetDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionaries>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?: import('@intlayer/backend').GetDictionariesParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesResult>>;
|
|
50
|
+
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionariesKeys>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesKeysResult>>;
|
|
51
|
+
export declare const useGetDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey: import('@intlayer/backend').GetDictionaryParams["dictionaryKey"], version?: import('@intlayer/backend').GetDictionaryQuery["version"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionaryResult>>;
|
|
52
|
+
export declare const useAddDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>) => import('./useAsync').UseAsyncResult<"addDictionary", (dictionary: import('@intlayer/backend').AddDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddDictionaryResult>>;
|
|
53
|
+
export declare const usePushDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: import('@intlayer/backend').PushDictionariesBody["dictionaries"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').PushDictionariesResult>>;
|
|
54
|
+
export declare const useUpdateDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId: import('@intlayer/backend').UpdateDictionaryParam["dictionaryId"], dictionary: import('@intlayer/backend').UpdateDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateDictionaryResult>>;
|
|
55
|
+
export declare const useDeleteDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: import('@intlayer/backend').DeleteDictionaryParam["dictionaryId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteDictionaryResult>>;
|
|
56
56
|
/**
|
|
57
57
|
* Tag
|
|
58
58
|
*/
|
|
59
|
-
export declare const useGetTags: (args?: UseAsyncOptions<typeof intlayerAPI.tag.getTags>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: GetTagsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetTagsResult>>;
|
|
60
|
-
export declare const useAddTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.addTag>) => import('./useAsync').UseAsyncResult<"addTag", (tag: AddTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddTagResult>>;
|
|
61
|
-
export declare const useUpdateTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.updateTag>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId: UpdateTagParams, tag: UpdateTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateTagResult>>;
|
|
62
|
-
export declare const useDeleteTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.deleteTag>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: DeleteTagParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteTagResult>>;
|
|
59
|
+
export declare const useGetTags: (args?: UseAsyncOptions<typeof intlayerAPI.tag.getTags>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: import('@intlayer/backend').GetTagsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetTagsResult>>;
|
|
60
|
+
export declare const useAddTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.addTag>) => import('./useAsync').UseAsyncResult<"addTag", (tag: import('@intlayer/backend').AddTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddTagResult>>;
|
|
61
|
+
export declare const useUpdateTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.updateTag>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId: import('@intlayer/backend').UpdateTagParams["tagId"], tag: import('@intlayer/backend').UpdateTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateTagResult>>;
|
|
62
|
+
export declare const useDeleteTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.deleteTag>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: import('@intlayer/backend').DeleteTagParams["tagId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteTagResult>>;
|
|
63
63
|
/**
|
|
64
64
|
* Stripe
|
|
65
65
|
*/
|
|
66
|
-
export declare const useGetSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.getSubscription>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?: GetCheckoutSessionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetCheckoutSessionResult>>;
|
|
67
|
-
export declare const useCancelSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.cancelSubscription>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetCheckoutSessionResult>>;
|
|
66
|
+
export declare const useGetSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.getSubscription>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?: import('@intlayer/backend').GetCheckoutSessionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>>;
|
|
67
|
+
export declare const useCancelSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.cancelSubscription>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>>;
|
|
68
68
|
/**
|
|
69
69
|
* AI
|
|
70
70
|
*/
|
|
71
|
-
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclaration>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: AuditContentDeclarationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditContentDeclarationResult>>;
|
|
72
|
-
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationMetadata>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: AuditContentDeclarationMetadataBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditContentDeclarationMetadataResult>>;
|
|
73
|
-
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationField>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: AuditContentDeclarationFieldBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditContentDeclarationFieldResult>>;
|
|
74
|
-
export declare const useAuditTag: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditTag>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: AuditTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditTagResult>>;
|
|
75
|
-
export declare const useAskDocQuestion: (args?: UseAsyncOptions<typeof intlayerAPI.ai.askDocQuestion>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: AskDocQuestionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AskDocQuestionResult>>;
|
|
71
|
+
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclaration>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationResult>>;
|
|
72
|
+
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationMetadata>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationMetadataBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationMetadataResult>>;
|
|
73
|
+
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationField>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: import('@intlayer/backend').AuditContentDeclarationFieldBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationFieldResult>>;
|
|
74
|
+
export declare const useAuditTag: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditTag>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: import('@intlayer/backend').AuditTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditTagResult>>;
|
|
75
|
+
export declare const useAskDocQuestion: (args?: UseAsyncOptions<typeof intlayerAPI.ai.askDocQuestion>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: import('@intlayer/backend').AskDocQuestionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AskDocQuestionResult>>;
|
|
76
76
|
/**
|
|
77
77
|
* Editor
|
|
78
78
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,EAAY,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAyIhE;;GAEG;AAEH,eAAO,MAAM,QAAQ,UACZ,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,EAAY,eAAe,EAAE,MAAM,qB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AC,OAAO,WAAW,CAAC,EAAE,CAAC,+BAA+B,CAAC,mFAoD4hE,mBAAmB,gHAAwF,mBAAmB,yCAzCtuE,CAAC;AAEJ,eAAO,MAAM,+BAA+B,UACnC,eAAe,CAAC,OAAO,WAAW,CAAC,EAAE,CAAC,4BAA4B,CAAC,wFAsCq0D,mBAAmB,6GAAqF,mBAAmB,sCA3BzgE,CAAC;AAEJ,eAAO,MAAM,WAAW,UACf,eAAe,CAAC,OAAO,WAAW,CAAC,EAAE,CAAC,QAAQ,CAAC,oEAwB4vE,mBAAmB,yFAAiE,mBAAmB,kBAlBv5E,CAAC;AAEL,eAAO,MAAM,iBAAiB,UACrB,eAAe,CAAC,OAAO,WAAW,CAAC,EAAE,CAAC,cAAc,CAAC,0EAeu5E,mBAAmB,+FAAuE,mBAAmB,wBAdr/E,CAAC;AAE9E;;GAEG;AAEH,eAAO,MAAM,kBAAkB,UACtB,eAAe,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC,eAAe,CAAC,yEAOo3G,2BAA4B,0EADh9G,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dictionary } from '@intlayer/core';
|
|
2
2
|
import { useGetDictionaries } from './intlayerAPIHooks';
|
|
3
3
|
type Args = Parameters<typeof useGetDictionaries>;
|
|
4
|
-
export declare const useGetAllDictionaries: (args?: import('./useAsync').UseAsyncOptions<(filters?: GetDictionariesParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetDictionariesResult>> | undefined) => {
|
|
4
|
+
export declare const useGetAllDictionaries: (args?: import('./useAsync').UseAsyncOptions<(filters?: import('@intlayer/backend').GetDictionariesParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesResult>> | undefined) => {
|
|
5
5
|
online: Record<string, Dictionary>;
|
|
6
6
|
locale: import('@intlayer/editor-react').DictionaryContent;
|
|
7
7
|
all: Record<string, Dictionary>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetAllDictionaries.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetAllDictionaries.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAI5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAElD,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"useGetAllDictionaries.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetAllDictionaries.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAI5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAElD,eAAO,MAAM,qBAAqB,iEA8BmzgB,mBAAmB,kGAA0E,mBAAmB;;;;;CADp8gB,CAAC"}
|
|
@@ -6,80 +6,80 @@ type UseIntlayerAuthProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const useIntlayerAuth: (props?: UseIntlayerAuthProps) => {
|
|
8
8
|
organization: {
|
|
9
|
-
getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
10
|
-
getOrganization: (organizationId: GetOrganizationParam, otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
|
|
11
|
-
addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
|
|
12
|
-
addOrganizationMember: (body: AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
|
|
13
|
-
updateOrganization: (organization: UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
|
|
14
|
-
updateOrganizationMembers: (body: UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
|
|
15
|
-
deleteOrganization: (otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
|
|
16
|
-
selectOrganization: (organizationId: SelectOrganizationParam, otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
|
|
17
|
-
unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
|
|
9
|
+
getOrganizations: (filters?: import('@intlayer/backend').GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetOrganizationsResult>;
|
|
10
|
+
getOrganization: (organizationId: import('@intlayer/backend').GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetOrganizationResult>;
|
|
11
|
+
addOrganization: (organization: import('@intlayer/backend').AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationResult>;
|
|
12
|
+
addOrganizationMember: (body: import('@intlayer/backend').AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationMemberResult>;
|
|
13
|
+
updateOrganization: (organization: import('@intlayer/backend').UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationResult>;
|
|
14
|
+
updateOrganizationMembers: (body: import('@intlayer/backend').UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationMembersResult>;
|
|
15
|
+
deleteOrganization: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').DeleteOrganizationResult>;
|
|
16
|
+
selectOrganization: (organizationId: import('@intlayer/backend').SelectOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').SelectOrganizationResult>;
|
|
17
|
+
unselectOrganization: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UnselectOrganizationResult>;
|
|
18
18
|
};
|
|
19
19
|
project: {
|
|
20
|
-
getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
|
|
21
|
-
addProject: (project: AddProjectBody, otherOptions?: FetcherOptions) => Promise<AddProjectResult>;
|
|
22
|
-
updateProject: (project: UpdateProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectResult>;
|
|
23
|
-
updateProjectMembers: (body: UpdateProjectMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectMembersResult>;
|
|
24
|
-
pushProjectConfiguration: (projectConfiguration: PushProjectConfigurationBody, otherOptions?: FetcherOptions) => Promise<PushProjectConfigurationResult>;
|
|
25
|
-
deleteProject: (otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
|
|
26
|
-
selectProject: (projectId: SelectProjectParam, otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
|
|
27
|
-
unselectProject: (otherOptions?: FetcherOptions) => Promise<UnselectProjectResult>;
|
|
28
|
-
addNewAccessKey: (accessKey: AddNewAccessKeyBody, otherOptions?: FetcherOptions) => Promise<AddNewAccessKeyResponse>;
|
|
29
|
-
deleteAccessKey: (clientId: DeleteAccessKeyBody, otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
|
|
30
|
-
refreshAccessKey: (clientId: RefreshAccessKeyBody, otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
|
|
20
|
+
getProjects: (filters?: import('@intlayer/backend').GetProjectsParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetProjectsResult>;
|
|
21
|
+
addProject: (project: import('@intlayer/backend').AddProjectBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AddProjectResult>;
|
|
22
|
+
updateProject: (project: import('@intlayer/backend').UpdateProjectBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectResult>;
|
|
23
|
+
updateProjectMembers: (body: import('@intlayer/backend').UpdateProjectMembersBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectMembersResult>;
|
|
24
|
+
pushProjectConfiguration: (projectConfiguration: import('@intlayer/backend').PushProjectConfigurationBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').PushProjectConfigurationResult>;
|
|
25
|
+
deleteProject: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').DeleteProjectResult>;
|
|
26
|
+
selectProject: (projectId: import('@intlayer/backend').SelectProjectParam["projectId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').SelectProjectResult>;
|
|
27
|
+
unselectProject: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UnselectProjectResult>;
|
|
28
|
+
addNewAccessKey: (accessKey: import('@intlayer/backend').AddNewAccessKeyBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AddNewAccessKeyResponse>;
|
|
29
|
+
deleteAccessKey: (clientId: import('@intlayer/backend').DeleteAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').DeleteAccessKeyResponse>;
|
|
30
|
+
refreshAccessKey: (clientId: import('@intlayer/backend').RefreshAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').RefreshAccessKeyResponse>;
|
|
31
31
|
};
|
|
32
32
|
user: {
|
|
33
|
-
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
34
|
-
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
35
|
-
getUserById: (userId: GetUserByIdParams, otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
36
|
-
getUserByAccount: (providerAccountId: GetUserByAccountParams, provider: GetUserByAccountParams, otherOptions?: FetcherOptions) => Promise<GetUserByAccountResult>;
|
|
37
|
-
getUserByEmail: (email: GetUserByEmailParams, otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
38
|
-
updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
39
|
-
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
33
|
+
createUser: (user: import('@intlayer/backend').CreateUserBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').CreateUserResult>;
|
|
34
|
+
getUsers: (filters?: import('@intlayer/backend').GetUsersParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetUsersResult>;
|
|
35
|
+
getUserById: (userId: import('@intlayer/backend').GetUserByIdParams["userId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetUserByIdResult>;
|
|
36
|
+
getUserByAccount: (providerAccountId: import('@intlayer/backend').GetUserByAccountParams["providerAccountId"], provider: import('@intlayer/backend').GetUserByAccountParams["provider"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetUserByAccountResult>;
|
|
37
|
+
getUserByEmail: (email: import('@intlayer/backend').GetUserByEmailParams["email"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetUserByEmailResult>;
|
|
38
|
+
updateUser: (user: import('@intlayer/backend').UpdateUserBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>;
|
|
39
|
+
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>;
|
|
40
40
|
};
|
|
41
41
|
auth: {
|
|
42
|
-
login: (user: LoginBody, otherOptions?: FetcherOptions) => Promise<LoginResult>;
|
|
43
|
-
getLoginWithGitHubURL: (params: GithubLoginQueryParams) => string;
|
|
44
|
-
getLoginWithGoogleURL: (params: GoogleLoginQueryParams) => string;
|
|
45
|
-
register: (user: RegisterBody, query?: RegisterQuery, otherOptions?: FetcherOptions) => Promise<RegisterResult>;
|
|
42
|
+
login: (user: import('@intlayer/backend').LoginBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').LoginResult>;
|
|
43
|
+
getLoginWithGitHubURL: (params: import('@intlayer/backend').GithubLoginQueryParams) => string;
|
|
44
|
+
getLoginWithGoogleURL: (params: import('@intlayer/backend').GoogleLoginQueryParams) => string;
|
|
45
|
+
register: (user: import('@intlayer/backend').RegisterBody, query?: import('@intlayer/backend').RegisterQuery, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').RegisterResult>;
|
|
46
46
|
logout: (otherOptions?: FetcherOptions) => Promise<void>;
|
|
47
|
-
resetPassword: (params: ResetPasswordParams, otherOptions?: FetcherOptions) => Promise<ResetPasswordResult>;
|
|
48
|
-
askResetPassword: (email: AskResetPasswordBody, otherOptions?: FetcherOptions) => Promise<AskResetPasswordResult>;
|
|
49
|
-
checkIfUserHasPassword: (otherOptions?: FetcherOptions) => Promise<CheckIfUserHasPasswordResult>;
|
|
50
|
-
verifyEmail: ({ userId, secret }: ValidEmailParams, otherOptions?: FetcherOptions) => Promise<ValidEmailResult>;
|
|
51
|
-
getVerifyEmailStatusURL: (userId: string | UserAPI) => string;
|
|
52
|
-
changePassword: (data: UpdatePasswordBody, otherOptions?: FetcherOptions) => Promise<UpdatePasswordResult>;
|
|
53
|
-
createSession: (data: CreateSessionBody, otherOptions?: FetcherOptions) => Promise<CreateSessionResult>;
|
|
54
|
-
getSession: (sessionToken?: GetSessionInformationQuery, otherOptions?: FetcherOptions) => Promise<GetSessionInformationResult>;
|
|
55
|
-
getCSRFToken: (otherOptions?: FetcherOptions) => Promise<SetCSRFTokenResult>;
|
|
56
|
-
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
|
|
47
|
+
resetPassword: (params: import('@intlayer/backend').ResetPasswordParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').ResetPasswordResult>;
|
|
48
|
+
askResetPassword: (email: import('@intlayer/backend').AskResetPasswordBody["email"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AskResetPasswordResult>;
|
|
49
|
+
checkIfUserHasPassword: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').CheckIfUserHasPasswordResult>;
|
|
50
|
+
verifyEmail: ({ userId, secret }: import('@intlayer/backend').ValidEmailParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').ValidEmailResult>;
|
|
51
|
+
getVerifyEmailStatusURL: (userId: string | import('@intlayer/backend').UserAPI["_id"]) => string;
|
|
52
|
+
changePassword: (data: import('@intlayer/backend').UpdatePasswordBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdatePasswordResult>;
|
|
53
|
+
createSession: (data: import('@intlayer/backend').CreateSessionBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').CreateSessionResult>;
|
|
54
|
+
getSession: (sessionToken?: import('@intlayer/backend').GetSessionInformationQuery["session_token"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetSessionInformationResult>;
|
|
55
|
+
getCSRFToken: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').SetCSRFTokenResult>;
|
|
56
|
+
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetOAuth2TokenResult>;
|
|
57
57
|
};
|
|
58
58
|
dictionary: {
|
|
59
|
-
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
60
|
-
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
61
|
-
getDictionary: (dictionaryKey: GetDictionaryParams, version?: GetDictionaryQuery, otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
|
|
62
|
-
pushDictionaries: (dictionaries: PushDictionariesBody, otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
|
|
63
|
-
addDictionary: (dictionary: AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<AddDictionaryResult>;
|
|
64
|
-
updateDictionary: (dictionaryId: UpdateDictionaryParam, dictionary: UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
|
|
65
|
-
deleteDictionary: (id: DeleteDictionaryParam, otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
|
|
59
|
+
getDictionaries: (filters?: import('@intlayer/backend').GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesResult>;
|
|
60
|
+
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesKeysResult>;
|
|
61
|
+
getDictionary: (dictionaryKey: import('@intlayer/backend').GetDictionaryParams["dictionaryKey"], version?: import('@intlayer/backend').GetDictionaryQuery["version"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetDictionaryResult>;
|
|
62
|
+
pushDictionaries: (dictionaries: import('@intlayer/backend').PushDictionariesBody["dictionaries"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').PushDictionariesResult>;
|
|
63
|
+
addDictionary: (dictionary: import('@intlayer/backend').AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AddDictionaryResult>;
|
|
64
|
+
updateDictionary: (dictionaryId: import('@intlayer/backend').UpdateDictionaryParam["dictionaryId"], dictionary: import('@intlayer/backend').UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateDictionaryResult>;
|
|
65
|
+
deleteDictionary: (id: import('@intlayer/backend').DeleteDictionaryParam["dictionaryId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').DeleteDictionaryResult>;
|
|
66
66
|
};
|
|
67
67
|
stripe: {
|
|
68
|
-
getSubscription: (body?: GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
69
|
-
cancelSubscription: (otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
68
|
+
getSubscription: (body?: import('@intlayer/backend').GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>;
|
|
69
|
+
cancelSubscription: (otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>;
|
|
70
70
|
};
|
|
71
71
|
ai: {
|
|
72
|
-
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
73
|
-
auditContentDeclarationField: (body?: AuditContentDeclarationFieldBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationFieldResult>;
|
|
74
|
-
auditContentDeclarationMetadata: (body?: AuditContentDeclarationMetadataBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationMetadataResult>;
|
|
75
|
-
auditTag: (body?: AuditTagBody, otherOptions?: FetcherOptions) => Promise<AuditTagResult>;
|
|
76
|
-
askDocQuestion: (body?: AskDocQuestionBody, otherOptions?: FetcherOptions) => Promise<AskDocQuestionResult>;
|
|
72
|
+
auditContentDeclaration: (body?: import('@intlayer/backend').AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationResult>;
|
|
73
|
+
auditContentDeclarationField: (body?: import('@intlayer/backend').AuditContentDeclarationFieldBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationFieldResult>;
|
|
74
|
+
auditContentDeclarationMetadata: (body?: import('@intlayer/backend').AuditContentDeclarationMetadataBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationMetadataResult>;
|
|
75
|
+
auditTag: (body?: import('@intlayer/backend').AuditTagBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AuditTagResult>;
|
|
76
|
+
askDocQuestion: (body?: import('@intlayer/backend').AskDocQuestionBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AskDocQuestionResult>;
|
|
77
77
|
};
|
|
78
78
|
tag: {
|
|
79
|
-
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
80
|
-
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
81
|
-
updateTag: (tagId: UpdateTagParams, tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
82
|
-
deleteTag: (tagId: DeleteTagParams, otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
|
|
79
|
+
getTags: (filters?: import('@intlayer/backend').GetTagsParams, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').GetTagsResult>;
|
|
80
|
+
addTag: (tag: import('@intlayer/backend').AddTagBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').AddTagResult>;
|
|
81
|
+
updateTag: (tagId: import('@intlayer/backend').UpdateTagParams["tagId"], tag: import('@intlayer/backend').UpdateTagBody, otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').UpdateTagResult>;
|
|
82
|
+
deleteTag: (tagId: import('@intlayer/backend').DeleteTagParams["tagId"], otherOptions?: FetcherOptions) => Promise<import('@intlayer/backend').DeleteTagResult>;
|
|
83
83
|
};
|
|
84
84
|
editor: {
|
|
85
85
|
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntlayerAPI.d.ts","sourceRoot":"","sources":["../../src/hooks/useIntlayerAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,qBAAqB,CAAC,EAAE,cAAc,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,eAAe,WAAY,oBAAoB;;kCAJlC,CAAC,
|
|
1
|
+
{"version":3,"file":"useIntlayerAPI.d.ts","sourceRoot":"","sources":["../../src/hooks/useIntlayerAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D,KAAK,oBAAoB,GAAG;IAC1B,OAAO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CAA2C,CAAC,oCAAoC,mBAAmB;2CAA6E,CAAC,SAAS,mBAAmB,gDAAgD,CAAC,oCAAoC,mBAAmB;8CAAqF,CAAC,SAAS,mBAAmB,mDAAmD,CAAC,oCAAoC,mBAAmB;uBAAiE,CAAC,SAAS,mBAAmB,4BAA4B,CAAC,oCAAoC,mBAAmB;6BAAgD,CAAC,SAAS,mBAAmB,kCAAkC,CAAC,oCAAoC,mBAAmB;;;yBAAoE,CAAC,SAAS,mBAAmB,6BAA6B,CAAC,oCAAoC,mBAAmB;6BAA+C,mBAAmB,0BAA0B,CAAC,oCAAoC,mBAAmB;kCAAmD,mBAAmB,wCAAwC,mBAAmB,6BAA6B,CAAC,oCAAoC,mBAAmB;kCAAsD,mBAAmB,wCAAwC,CAAC,oCAAoC,mBAAmB;;;uCAAgF,CAAC,6BAA6B,sBAAsB;sCAAwC,2BAA4B,cAAc,CAAC;;CADxsT,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
|
|
6
6
|
"keywords": [
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"tailwind-merge": "^2.6.0",
|
|
78
78
|
"zod": "^3.24.1",
|
|
79
79
|
"zustand": "^4.5.6",
|
|
80
|
-
"@intlayer/
|
|
81
|
-
"@intlayer/core": "4.1.
|
|
82
|
-
"@intlayer/
|
|
83
|
-
"@intlayer/editor
|
|
84
|
-
"react-intlayer": "4.1.
|
|
85
|
-
"@intlayer/editor": "4.1.
|
|
86
|
-
"@intlayer/
|
|
80
|
+
"@intlayer/api": "4.1.6",
|
|
81
|
+
"@intlayer/core": "4.1.6",
|
|
82
|
+
"@intlayer/config": "4.1.6",
|
|
83
|
+
"@intlayer/editor": "4.1.6",
|
|
84
|
+
"react-intlayer": "4.1.6",
|
|
85
|
+
"@intlayer/editor-react": "4.1.6",
|
|
86
|
+
"@intlayer/dictionaries-entry": "4.1.6"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@chromatic-com/storybook": "^3.2.3",
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
"vite": "^6.0.11",
|
|
117
117
|
"vite-plugin-dts": "^4.5.0",
|
|
118
118
|
"vitest": "^2.1.8",
|
|
119
|
-
"@intlayer/backend": "4.1.
|
|
120
|
-
"@utils/
|
|
119
|
+
"@intlayer/backend": "4.1.6",
|
|
120
|
+
"@utils/eslint-config": "1.0.4",
|
|
121
121
|
"@utils/ts-config-types": "1.0.4",
|
|
122
122
|
"@utils/tsup-config": "1.0.4",
|
|
123
|
-
"@utils/
|
|
123
|
+
"@utils/ts-config": "1.0.4"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"@monaco-editor/react": "^4.6.0",
|
|
@@ -131,14 +131,14 @@
|
|
|
131
131
|
"react-dom": ">=16.0.0",
|
|
132
132
|
"tailwind-merge": "^2.6.0",
|
|
133
133
|
"zustand": "^4.5.6",
|
|
134
|
-
"@intlayer/
|
|
135
|
-
"@intlayer/
|
|
136
|
-
"@intlayer/
|
|
137
|
-
"@intlayer/editor": "4.1.
|
|
138
|
-
"
|
|
139
|
-
"intlayer": "4.1.
|
|
140
|
-
"
|
|
141
|
-
"
|
|
134
|
+
"@intlayer/config": "4.1.6",
|
|
135
|
+
"@intlayer/dictionaries-entry": "4.1.6",
|
|
136
|
+
"@intlayer/editor": "4.1.6",
|
|
137
|
+
"@intlayer/editor-react": "4.1.6",
|
|
138
|
+
"react-intlayer": "4.1.6",
|
|
139
|
+
"@intlayer/core": "4.1.6",
|
|
140
|
+
"@intlayer/api": "4.1.6",
|
|
141
|
+
"intlayer": "4.1.6"
|
|
142
142
|
},
|
|
143
143
|
"scripts": {
|
|
144
144
|
"build": "pnpm build:package && pnpm build:css",
|