@intlayer/design-system 5.5.9 → 5.5.10
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/README.md +42 -9
- package/dist/.vite/manifest.json +43 -27
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs +1 -1
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs +1 -1
- package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.cjs +1 -1
- package/dist/components/Auth/DefineNewPasswordForm/useDefineNewPasswordSchema.mjs +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailSchema.cjs +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailSchema.mjs +1 -1
- package/dist/components/Auth/useAuth/useCSRF.d.ts +1 -1
- package/dist/components/Auth/useAuth/useOAuth2.d.ts +1 -1
- package/dist/components/Command/index.d.ts +83 -0
- package/dist/components/Command/index.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.d.ts +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs +1 -13
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs +1 -13
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/Form/FormBase.cjs +2 -2
- package/dist/components/Form/FormBase.mjs +2 -2
- package/dist/components/Form/elements/FormElementWrapper.cjs +3 -3
- package/dist/components/Form/elements/FormElementWrapper.mjs +3 -3
- package/dist/components/IDE/FileList.cjs +1 -1
- package/dist/components/IDE/FileList.cjs.map +1 -1
- package/dist/components/IDE/FileList.d.ts +1 -1
- package/dist/components/IDE/FileList.d.ts.map +1 -1
- package/dist/components/IDE/FileList.mjs +1 -1
- package/dist/components/IDE/FileList.mjs.map +1 -1
- package/dist/components/KeyboardScreenAdapter/index.cjs +1 -1
- package/dist/components/KeyboardScreenAdapter/index.cjs.map +1 -1
- package/dist/components/KeyboardScreenAdapter/index.mjs +1 -1
- package/dist/components/KeyboardScreenAdapter/index.mjs.map +1 -1
- package/dist/components/MarkDownRender/index.cjs +1 -1
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.mjs +1 -1
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.cjs +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.cjs.map +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.mjs +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +54 -54
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +65 -65
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
- package/dist/index-BCuMWKyy.js.map +1 -1
- package/dist/index-BYzBot7l.cjs.map +1 -1
- package/dist/parse-BJVwmz92.cjs +511 -0
- package/dist/parse-BJVwmz92.cjs.map +1 -0
- package/dist/parse-pnJgclyf.js +512 -0
- package/dist/parse-pnJgclyf.js.map +1 -0
- package/dist/{schemas-DJhUvjsx.cjs → schemas-DlCjM5d_.cjs} +260 -726
- package/dist/schemas-DlCjM5d_.cjs.map +1 -0
- package/dist/{schemas-7jC6hy_u.js → schemas-itjzX6bG.js} +21 -487
- package/dist/schemas-itjzX6bG.js.map +1 -0
- package/dist/tailwind.css +2 -2
- package/dist/zod-D4WapgbL.js +92 -0
- package/dist/zod-D4WapgbL.js.map +1 -0
- package/dist/zod-K7y5gPX4.cjs +91 -0
- package/dist/zod-K7y5gPX4.cjs.map +1 -0
- package/package.json +15 -15
- package/dist/schemas-7jC6hy_u.js.map +0 -1
- package/dist/schemas-DJhUvjsx.cjs.map +0 -1
- package/dist/zod-DIGMabE8.js +0 -48
- package/dist/zod-DIGMabE8.js.map +0 -1
- package/dist/zod-DpajDxlG.cjs +0 -47
- package/dist/zod-DpajDxlG.cjs.map +0 -1
|
@@ -3,89 +3,89 @@ import { UseAsyncOptions } from './useAsync/useAsync';
|
|
|
3
3
|
/**
|
|
4
4
|
* Auth
|
|
5
5
|
*/
|
|
6
|
-
export declare const useLogin: (args?: UseAsyncOptions<IntlayerAPI["auth"]["login"]>) => import('./useAsync').UseAsyncResult<"login", (user:
|
|
7
|
-
export declare const useRegister: (args?: UseAsyncOptions<IntlayerAPI["auth"]["register"]>) => import('./useAsync').UseAsyncResult<"register", (user:
|
|
6
|
+
export declare const useLogin: (args?: UseAsyncOptions<IntlayerAPI["auth"]["login"]>) => import('./useAsync').UseAsyncResult<"login", (user: LoginBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<LoginResult>>;
|
|
7
|
+
export declare const useRegister: (args?: UseAsyncOptions<IntlayerAPI["auth"]["register"]>) => import('./useAsync').UseAsyncResult<"register", (user: RegisterBody, query?: RegisterQuery, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<RegisterResult>>;
|
|
8
8
|
export declare const useLogout: (args?: UseAsyncOptions<IntlayerAPI["auth"]["logout"]>) => import('./useAsync').UseAsyncResult<"logout", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<void>>;
|
|
9
|
-
export declare const useChangePassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["changePassword"]>) => import('./useAsync').UseAsyncResult<"changePassword", (data:
|
|
10
|
-
export declare const useAskResetPassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["askResetPassword"]>) => import('./useAsync').UseAsyncResult<"askResetPassword", (email:
|
|
11
|
-
export declare const useDefineNewPassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["defineNewPassword"]>) => import('./useAsync').UseAsyncResult<"defineNewPassword", (data:
|
|
12
|
-
export declare const useCheckIfUserHasPassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["checkIfUserHasPassword"]>) => import('./useAsync').UseAsyncResult<"checkIfUserHasPassword", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
13
|
-
export declare const useVerifyEmail: (args?: UseAsyncOptions<IntlayerAPI["auth"]["verifyEmail"]>) => import('./useAsync').UseAsyncResult<"verifyEmail", ({ userId, secret }:
|
|
14
|
-
export declare const useGetUserByAccount: (args?: UseAsyncOptions<IntlayerAPI["user"]["getUserByAccount"]>) => import('./useAsync').UseAsyncResult<"getUserByAccount", (providerAccountId:
|
|
9
|
+
export declare const useChangePassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["changePassword"]>) => import('./useAsync').UseAsyncResult<"changePassword", (data: UpdatePasswordBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdatePasswordResult>>;
|
|
10
|
+
export declare const useAskResetPassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["askResetPassword"]>) => import('./useAsync').UseAsyncResult<"askResetPassword", (email: AskResetPasswordBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AskResetPasswordResult>>;
|
|
11
|
+
export declare const useDefineNewPassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["defineNewPassword"]>) => import('./useAsync').UseAsyncResult<"defineNewPassword", (data: DefinePasswordBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DefinePasswordResult>>;
|
|
12
|
+
export declare const useCheckIfUserHasPassword: (args?: UseAsyncOptions<IntlayerAPI["auth"]["checkIfUserHasPassword"]>) => import('./useAsync').UseAsyncResult<"checkIfUserHasPassword", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<CheckIfUserHasPasswordResult>>;
|
|
13
|
+
export declare const useVerifyEmail: (args?: UseAsyncOptions<IntlayerAPI["auth"]["verifyEmail"]>) => import('./useAsync').UseAsyncResult<"verifyEmail", ({ userId, secret }: ValidEmailParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<ValidEmailResult>>;
|
|
14
|
+
export declare const useGetUserByAccount: (args?: UseAsyncOptions<IntlayerAPI["user"]["getUserByAccount"]>) => import('./useAsync').UseAsyncResult<"getUserByAccount", (providerAccountId: GetUserByAccountParams, provider: GetUserByAccountParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetUserByAccountResult>>;
|
|
15
15
|
/**
|
|
16
16
|
* User
|
|
17
17
|
*/
|
|
18
|
-
export declare const useGetUsers: (args?: UseAsyncOptions<IntlayerAPI["user"]["getUsers"]>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?:
|
|
19
|
-
export declare const useCreateUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["createUser"]>) => import('./useAsync').UseAsyncResult<"createUser", (user:
|
|
20
|
-
export declare const useUpdateUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["updateUser"]>) => import('./useAsync').UseAsyncResult<"updateUser", (user:
|
|
21
|
-
export declare const useDeleteUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["deleteUser"]>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
18
|
+
export declare const useGetUsers: (args?: UseAsyncOptions<IntlayerAPI["user"]["getUsers"]>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?: GetUsersParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetUsersResult>>;
|
|
19
|
+
export declare const useCreateUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["createUser"]>) => import('./useAsync').UseAsyncResult<"createUser", (user: CreateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<CreateUserResult>>;
|
|
20
|
+
export declare const useUpdateUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["updateUser"]>) => import('./useAsync').UseAsyncResult<"updateUser", (user: UpdateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateUserResult>>;
|
|
21
|
+
export declare const useDeleteUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["deleteUser"]>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateUserResult>>;
|
|
22
22
|
/**
|
|
23
23
|
* Organization
|
|
24
24
|
*/
|
|
25
|
-
export declare const useGetOrganizations: (args?: UseAsyncOptions<IntlayerAPI["organization"]["getOrganizations"]>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?:
|
|
26
|
-
export declare const useAddOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["addOrganization"]>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization:
|
|
27
|
-
export declare const useUpdateOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["updateOrganization"]>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization:
|
|
28
|
-
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<IntlayerAPI["organization"]["updateOrganizationMembers"]>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body:
|
|
29
|
-
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<IntlayerAPI["organization"]["addOrganizationMember"]>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body:
|
|
30
|
-
export declare const useDeleteOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["deleteOrganization"]>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
31
|
-
export declare const useSelectOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["selectOrganization"]>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId:
|
|
32
|
-
export declare const useUnselectOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["unselectOrganization"]>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
25
|
+
export declare const useGetOrganizations: (args?: UseAsyncOptions<IntlayerAPI["organization"]["getOrganizations"]>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?: GetOrganizationsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetOrganizationsResult>>;
|
|
26
|
+
export declare const useAddOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["addOrganization"]>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization: AddOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddOrganizationResult>>;
|
|
27
|
+
export declare const useUpdateOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["updateOrganization"]>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization: UpdateOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateOrganizationResult>>;
|
|
28
|
+
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<IntlayerAPI["organization"]["updateOrganizationMembers"]>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body: UpdateOrganizationMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateOrganizationMembersResult>>;
|
|
29
|
+
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<IntlayerAPI["organization"]["addOrganizationMember"]>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body: AddOrganizationMemberBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddOrganizationMemberResult>>;
|
|
30
|
+
export declare const useDeleteOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["deleteOrganization"]>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteOrganizationResult>>;
|
|
31
|
+
export declare const useSelectOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["selectOrganization"]>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId: SelectOrganizationParam, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<SelectOrganizationResult>>;
|
|
32
|
+
export declare const useUnselectOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["unselectOrganization"]>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UnselectOrganizationResult>>;
|
|
33
33
|
/**
|
|
34
34
|
* Project
|
|
35
35
|
*/
|
|
36
|
-
export declare const useGetProjects: (args?: UseAsyncOptions<IntlayerAPI["project"]["getProjects"]>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?:
|
|
37
|
-
export declare const useAddProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["addProject"]>) => import('./useAsync').UseAsyncResult<"addProject", (project:
|
|
38
|
-
export declare const useUpdateProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["updateProject"]>) => import('./useAsync').UseAsyncResult<"updateProject", (project:
|
|
39
|
-
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<IntlayerAPI["project"]["updateProjectMembers"]>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body:
|
|
40
|
-
export declare const useDeleteProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["deleteProject"]>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
41
|
-
export declare const useSelectProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["selectProject"]>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId:
|
|
42
|
-
export declare const useUnselectProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["unselectProject"]>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
43
|
-
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["addNewAccessKey"]>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey:
|
|
44
|
-
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["deleteAccessKey"]>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId:
|
|
45
|
-
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["refreshAccessKey"]>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId:
|
|
36
|
+
export declare const useGetProjects: (args?: UseAsyncOptions<IntlayerAPI["project"]["getProjects"]>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?: GetProjectsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetProjectsResult>>;
|
|
37
|
+
export declare const useAddProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["addProject"]>) => import('./useAsync').UseAsyncResult<"addProject", (project: AddProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddProjectResult>>;
|
|
38
|
+
export declare const useUpdateProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["updateProject"]>) => import('./useAsync').UseAsyncResult<"updateProject", (project: UpdateProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateProjectResult>>;
|
|
39
|
+
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<IntlayerAPI["project"]["updateProjectMembers"]>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body: UpdateProjectMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UpdateProjectMembersResult>>;
|
|
40
|
+
export declare const useDeleteProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["deleteProject"]>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteProjectResult>>;
|
|
41
|
+
export declare const useSelectProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["selectProject"]>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId: SelectProjectParam, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<SelectProjectResult>>;
|
|
42
|
+
export declare const useUnselectProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["unselectProject"]>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<UnselectProjectResult>>;
|
|
43
|
+
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["addNewAccessKey"]>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey: AddNewAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddNewAccessKeyResponse>>;
|
|
44
|
+
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["deleteAccessKey"]>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId: DeleteAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteAccessKeyResponse>>;
|
|
45
|
+
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["refreshAccessKey"]>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId: RefreshAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<RefreshAccessKeyResponse>>;
|
|
46
46
|
/**
|
|
47
47
|
* Dictionary
|
|
48
48
|
*/
|
|
49
|
-
export declare const useGetDictionaries: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionaries"]>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?:
|
|
50
|
-
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionariesKeys"]>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
51
|
-
export declare const useGetDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionary"]>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey:
|
|
52
|
-
export declare const useAddDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["addDictionary"]>) => import('./useAsync').UseAsyncResult<"addDictionary", (body:
|
|
53
|
-
export declare const usePushDictionaries: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["pushDictionaries"]>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries:
|
|
54
|
-
export declare const useUpdateDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["updateDictionary"]>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId:
|
|
55
|
-
export declare const useDeleteDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["deleteDictionary"]>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id:
|
|
49
|
+
export declare const useGetDictionaries: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionaries"]>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?: GetDictionariesParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetDictionariesResult>>;
|
|
50
|
+
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionariesKeys"]>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetDictionariesKeysResult>>;
|
|
51
|
+
export declare const useGetDictionary: (args?: UseAsyncOptions<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<IntlayerAPI["dictionary"]["addDictionary"]>) => import('./useAsync').UseAsyncResult<"addDictionary", (body: AddDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddDictionaryResult>>;
|
|
53
|
+
export declare const usePushDictionaries: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["pushDictionaries"]>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: PushDictionariesBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<PushDictionariesResult>>;
|
|
54
|
+
export declare const useUpdateDictionary: (args?: UseAsyncOptions<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<IntlayerAPI["dictionary"]["deleteDictionary"]>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: DeleteDictionaryParam, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteDictionaryResult>>;
|
|
56
56
|
/**
|
|
57
57
|
* Tag
|
|
58
58
|
*/
|
|
59
|
-
export declare const useGetTags: (args?: UseAsyncOptions<IntlayerAPI["tag"]["getTags"]>) => import('./useAsync').UseAsyncResult<"getTags", (filters?:
|
|
60
|
-
export declare const useAddTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["addTag"]>) => import('./useAsync').UseAsyncResult<"addTag", (tag:
|
|
61
|
-
export declare const useUpdateTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["updateTag"]>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId:
|
|
62
|
-
export declare const useDeleteTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["deleteTag"]>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId:
|
|
59
|
+
export declare const useGetTags: (args?: UseAsyncOptions<IntlayerAPI["tag"]["getTags"]>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: GetTagsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetTagsResult>>;
|
|
60
|
+
export declare const useAddTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["addTag"]>) => import('./useAsync').UseAsyncResult<"addTag", (tag: AddTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AddTagResult>>;
|
|
61
|
+
export declare const useUpdateTag: (args?: UseAsyncOptions<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<IntlayerAPI["tag"]["deleteTag"]>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: DeleteTagParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<DeleteTagResult>>;
|
|
63
63
|
/**
|
|
64
64
|
* Stripe
|
|
65
65
|
*/
|
|
66
|
-
export declare const useGetPricing: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["getPricing"]>) => import('./useAsync').UseAsyncResult<"getPricing", (body?:
|
|
67
|
-
export declare const useGetSubscription: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["getSubscription"]>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?:
|
|
68
|
-
export declare const useCancelSubscription: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["cancelSubscription"]>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
66
|
+
export declare const useGetPricing: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["getPricing"]>) => import('./useAsync').UseAsyncResult<"getPricing", (body?: GetPricingBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetPricingResult>>;
|
|
67
|
+
export declare const useGetSubscription: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["getSubscription"]>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?: GetCheckoutSessionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetCheckoutSessionResult>>;
|
|
68
|
+
export declare const useCancelSubscription: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["cancelSubscription"]>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<GetCheckoutSessionResult>>;
|
|
69
69
|
/**
|
|
70
70
|
* AI
|
|
71
71
|
*/
|
|
72
|
-
export declare const useTranslateJSONDeclaration: (args?: UseAsyncOptions<IntlayerAPI["ai"]["translateJSON"]>) => import('./useAsync').UseAsyncResult<"translateJSON", (body?:
|
|
73
|
-
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclaration"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?:
|
|
74
|
-
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclarationMetadata"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?:
|
|
75
|
-
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclarationField"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?:
|
|
76
|
-
export declare const useAuditTag: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditTag"]>) => import('./useAsync').UseAsyncResult<"auditTag", (body?:
|
|
72
|
+
export declare const useTranslateJSONDeclaration: (args?: UseAsyncOptions<IntlayerAPI["ai"]["translateJSON"]>) => import('./useAsync').UseAsyncResult<"translateJSON", (body?: TranslateJSONBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<TranslateJSONResult>>;
|
|
73
|
+
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclaration"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: AuditContentDeclarationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditContentDeclarationResult>>;
|
|
74
|
+
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclarationMetadata"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: AuditContentDeclarationMetadataBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditContentDeclarationMetadataResult>>;
|
|
75
|
+
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclarationField"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: AuditContentDeclarationFieldBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditContentDeclarationFieldResult>>;
|
|
76
|
+
export declare const useAuditTag: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditTag"]>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: AuditTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AuditTagResult>>;
|
|
77
77
|
export declare const useAskDocQuestion: (args?: UseAsyncOptions<IntlayerAPI["ai"]["askDocQuestion"]>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: import('@intlayer/api').AskDocQuestionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<void>>;
|
|
78
|
-
export declare const useAutocomplete: (args?: UseAsyncOptions<IntlayerAPI["ai"]["autocomplete"]>) => import('./useAsync').UseAsyncResult<"autocomplete", (body?:
|
|
78
|
+
export declare const useAutocomplete: (args?: UseAsyncOptions<IntlayerAPI["ai"]["autocomplete"]>) => import('./useAsync').UseAsyncResult<"autocomplete", (body?: AutocompleteBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<AutocompleteResponse>>;
|
|
79
79
|
/**
|
|
80
80
|
* Search
|
|
81
81
|
*/
|
|
82
|
-
export declare const useSearchDoc: (args?: UseAsyncOptions<IntlayerAPI["search"]["searchDoc"]>) => import('./useAsync').UseAsyncResult<"searchDoc", (params?:
|
|
82
|
+
export declare const useSearchDoc: (args?: UseAsyncOptions<IntlayerAPI["search"]["searchDoc"]>) => import('./useAsync').UseAsyncResult<"searchDoc", (params?: SearchDocUtilParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<SearchDocUtilResult>>;
|
|
83
83
|
/**
|
|
84
84
|
* Newsletter
|
|
85
85
|
*/
|
|
86
|
-
export declare const useSubscribeToNewsletter: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["subscribeToNewsletter"]>) => import('./useAsync').UseAsyncResult<"subscribeToNewsletter", (body:
|
|
87
|
-
export declare const useUnsubscribeFromNewsletter: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["unsubscribeFromNewsletter"]>) => import('./useAsync').UseAsyncResult<"unsubscribeFromNewsletter", (body:
|
|
88
|
-
export declare const useGetNewsletterStatus: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["getNewsletterStatus"]>) => import('./useAsync').UseAsyncResult<"getNewsletterStatus", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<
|
|
86
|
+
export declare const useSubscribeToNewsletter: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["subscribeToNewsletter"]>) => import('./useAsync').UseAsyncResult<"subscribeToNewsletter", (body: NewsletterSubscriptionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<NewsletterSubscriptionResult>>;
|
|
87
|
+
export declare const useUnsubscribeFromNewsletter: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["unsubscribeFromNewsletter"]>) => import('./useAsync').UseAsyncResult<"unsubscribeFromNewsletter", (body: NewsletterUnsubscriptionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<NewsletterSubscriptionResult>>;
|
|
88
|
+
export declare const useGetNewsletterStatus: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["getNewsletterStatus"]>) => import('./useAsync').UseAsyncResult<"getNewsletterStatus", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<NewsletterSubscriptionResult>>;
|
|
89
89
|
/**
|
|
90
90
|
* Editor
|
|
91
91
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAIjD,OAAO,EAAE,KAAK,eAAe,EAAY,MAAM,qBAAqB,CAAC;AA+IrE;;GAEG;AAEH,eAAO,MAAM,QAAQ,GACnB,OAAO,eAAe,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAIjD,OAAO,EAAE,KAAK,eAAe,EAAY,MAAM,qBAAqB,CAAC;AA+IrE;;GAEG;AAEH,eAAO,MAAM,QAAQ,GACnB,OAAO,eAAe,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,yDAtBhB,SAAS,oEAGxB,WACf,EAuBJ,CAAC;AAEL,eAAO,MAAM,WAAW,GACtB,OAAO,eAAe,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC,4DAnBT,YAAa,UAG3D,aADa,oEACX,cAAc,EAqBd,CAAC;AAEL,eAAO,MAAM,SAAS,GACpB,OAAO,eAAe,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,4HAKnD,CAAC;AAEL,eAAO,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AAC,uBAAuB,CAAC,CAAC,yEA1bpC,0BAA2B,oEAGvD,4BACD,EA4bR,CAAC;AAEJ,eAAO,MAAM,4BAA4B,GACvC,OAAO,eAAe,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,2BAA2B,CAAC,CAAC,6EA/bzB,4BAEnC,oEACd,4BAIF,EA8bD,CAAC;AAEJ,eAAO,MAAM,sBAAsB,GACjC,OAAO,eAAe,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,qBAAqB,CAAC,CAAC,mIAhclC,4BAA4B,EAscjE,CAAC;AAEJ;;GAEG;AAEH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,2PAM/D,CAAC;AAEJ,eAAO,MAAM,wBAAwB,GACnC,OAAO,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,oJAM9D,CAAC"}
|
|
@@ -6,86 +6,86 @@ type UseIntlayerAuthProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const useIntlayerAuth: (props?: UseIntlayerAuthProps) => {
|
|
8
8
|
organization: {
|
|
9
|
-
getOrganizations: (filters?:
|
|
10
|
-
getOrganization: (organizationId:
|
|
11
|
-
addOrganization: (organization:
|
|
12
|
-
addOrganizationMember: (body:
|
|
13
|
-
updateOrganization: (organization:
|
|
14
|
-
updateOrganizationMembers: (body:
|
|
15
|
-
deleteOrganization: (otherOptions?: FetcherOptions) => Promise<
|
|
16
|
-
selectOrganization: (organizationId:
|
|
17
|
-
unselectOrganization: (otherOptions?: FetcherOptions) => Promise<
|
|
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>;
|
|
18
18
|
};
|
|
19
19
|
project: {
|
|
20
|
-
getProjects: (filters?:
|
|
21
|
-
addProject: (project:
|
|
22
|
-
updateProject: (project:
|
|
23
|
-
updateProjectMembers: (body:
|
|
24
|
-
pushProjectConfiguration: (projectConfiguration:
|
|
25
|
-
deleteProject: (otherOptions?: FetcherOptions) => Promise<
|
|
26
|
-
selectProject: (projectId:
|
|
27
|
-
unselectProject: (otherOptions?: FetcherOptions) => Promise<
|
|
28
|
-
addNewAccessKey: (accessKey:
|
|
29
|
-
deleteAccessKey: (clientId:
|
|
30
|
-
refreshAccessKey: (clientId:
|
|
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>;
|
|
31
31
|
};
|
|
32
32
|
user: {
|
|
33
|
-
createUser: (user:
|
|
34
|
-
getUsers: (filters?:
|
|
35
|
-
getUserById: (userId:
|
|
36
|
-
getUserByAccount: (providerAccountId:
|
|
37
|
-
getUserByEmail: (email:
|
|
38
|
-
updateUser: (user:
|
|
39
|
-
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<
|
|
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>;
|
|
40
40
|
};
|
|
41
41
|
auth: {
|
|
42
|
-
login: (user:
|
|
43
|
-
getLoginWithGitHubURL: (params:
|
|
44
|
-
getLoginWithGoogleURL: (params:
|
|
45
|
-
register: (user:
|
|
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>;
|
|
46
46
|
logout: (otherOptions?: FetcherOptions) => Promise<void>;
|
|
47
|
-
defineNewPassword: (data:
|
|
48
|
-
askResetPassword: (email:
|
|
49
|
-
checkIfUserHasPassword: (otherOptions?: FetcherOptions) => Promise<
|
|
50
|
-
verifyEmail: ({ userId, secret }:
|
|
51
|
-
getVerifyEmailStatusURL: (userId: string |
|
|
52
|
-
changePassword: (data:
|
|
53
|
-
createSession: (data:
|
|
54
|
-
getSession: (sessionToken?:
|
|
55
|
-
getCSRFToken: (otherOptions?: FetcherOptions) => Promise<
|
|
56
|
-
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<
|
|
47
|
+
defineNewPassword: (data: DefinePasswordBody, otherOptions?: FetcherOptions) => Promise<DefinePasswordResult>;
|
|
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>;
|
|
57
57
|
};
|
|
58
58
|
dictionary: {
|
|
59
|
-
getDictionaries: (filters?:
|
|
60
|
-
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<
|
|
61
|
-
getDictionary: (dictionaryKey:
|
|
62
|
-
pushDictionaries: (dictionaries:
|
|
63
|
-
addDictionary: (body:
|
|
64
|
-
updateDictionary: (dictionaryId:
|
|
65
|
-
deleteDictionary: (id:
|
|
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: (body: AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<AddDictionaryResult>;
|
|
64
|
+
updateDictionary: (dictionaryId: UpdateDictionaryParam, dictionary: UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
|
|
65
|
+
deleteDictionary: (id: DeleteDictionaryParam, otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
|
|
66
66
|
};
|
|
67
67
|
stripe: {
|
|
68
|
-
getPricing: (body?:
|
|
69
|
-
getSubscription: (body?:
|
|
70
|
-
cancelSubscription: (otherOptions?: FetcherOptions) => Promise<
|
|
68
|
+
getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
69
|
+
getSubscription: (body?: GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
70
|
+
cancelSubscription: (otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
71
71
|
};
|
|
72
72
|
ai: {
|
|
73
|
-
translateJSON: (body?:
|
|
74
|
-
auditContentDeclaration: (body?:
|
|
75
|
-
auditContentDeclarationField: (body?:
|
|
76
|
-
auditContentDeclarationMetadata: (body?:
|
|
77
|
-
auditTag: (body?:
|
|
73
|
+
translateJSON: (body?: TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
74
|
+
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
75
|
+
auditContentDeclarationField: (body?: AuditContentDeclarationFieldBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationFieldResult>;
|
|
76
|
+
auditContentDeclarationMetadata: (body?: AuditContentDeclarationMetadataBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationMetadataResult>;
|
|
77
|
+
auditTag: (body?: AuditTagBody, otherOptions?: FetcherOptions) => Promise<AuditTagResult>;
|
|
78
78
|
askDocQuestion: (body?: import('@intlayer/api').AskDocQuestionBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
79
|
-
autocomplete: (body?:
|
|
79
|
+
autocomplete: (body?: AutocompleteBody, otherOptions?: FetcherOptions) => Promise<AutocompleteResponse>;
|
|
80
80
|
};
|
|
81
81
|
tag: {
|
|
82
|
-
getTags: (filters?:
|
|
83
|
-
addTag: (tag:
|
|
84
|
-
updateTag: (tagId:
|
|
85
|
-
deleteTag: (tagId:
|
|
82
|
+
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
83
|
+
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
84
|
+
updateTag: (tagId: UpdateTagParams, tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
85
|
+
deleteTag: (tagId: DeleteTagParams, otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
|
|
86
86
|
};
|
|
87
87
|
search: {
|
|
88
|
-
searchDoc: (params?:
|
|
88
|
+
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
89
89
|
};
|
|
90
90
|
editor: {
|
|
91
91
|
getDictionaries: (otherOptions?: FetcherOptions) => Promise<Record<string, any>>;
|
|
@@ -93,9 +93,9 @@ export declare const useIntlayerAuth: (props?: UseIntlayerAuthProps) => {
|
|
|
93
93
|
writeDictionary: (dictionary: import('intlayer-editor').WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<import('intlayer-editor').WriteContentDeclarationResult>;
|
|
94
94
|
};
|
|
95
95
|
newsletter: {
|
|
96
|
-
subscribeToNewsletter: (body:
|
|
97
|
-
unsubscribeFromNewsletter: (body:
|
|
98
|
-
getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<
|
|
96
|
+
subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
97
|
+
unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
98
|
+
getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
export {};
|
|
@@ -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,EAA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WKyy.js","sources":["../../../../node_modules/.pnpm/zustand@4.5.7_@types+react@19.1.
|
|
1
|
+
{"version":3,"file":"index-BCuMWKyy.js","sources":["../../../../node_modules/.pnpm/zustand@4.5.7_@types+react@19.1.8_immer@9.0.21_react@19.0.0/node_modules/zustand/esm/react/shallow.mjs","../src/hooks/useScrollBlockage/index.tsx"],"sourcesContent":["import ReactExports from 'react';\n\nfunction shallow(objA, objB) {\n if (Object.is(objA, objB)) {\n return true;\n }\n if (typeof objA !== \"object\" || objA === null || typeof objB !== \"object\" || objB === null) {\n return false;\n }\n if (objA instanceof Map && objB instanceof Map) {\n if (objA.size !== objB.size) return false;\n for (const [key, value] of objA) {\n if (!Object.is(value, objB.get(key))) {\n return false;\n }\n }\n return true;\n }\n if (objA instanceof Set && objB instanceof Set) {\n if (objA.size !== objB.size) return false;\n for (const value of objA) {\n if (!objB.has(value)) {\n return false;\n }\n }\n return true;\n }\n const keysA = Object.keys(objA);\n if (keysA.length !== Object.keys(objB).length) {\n return false;\n }\n for (const keyA of keysA) {\n if (!Object.prototype.hasOwnProperty.call(objB, keyA) || !Object.is(objA[keyA], objB[keyA])) {\n return false;\n }\n }\n return true;\n}\n\nconst { useRef } = ReactExports;\nfunction useShallow(selector) {\n const prev = useRef();\n return (state) => {\n const next = selector(state);\n return shallow(prev.current, next) ? prev.current : prev.current = next;\n };\n}\n\nexport { useShallow };\n","'use client';\n\nimport { useEffect } from 'react';\nimport { useShallow } from 'zustand/react/shallow';\nimport { useGetElementOrWindow } from '../useGetElementOrWindow';\n\nimport { useScrollBlockageStore } from './useScrollBlockageStore';\n\ntype useScrollBlockagePropsReadOnly = {\n disableScroll: undefined;\n key: undefined;\n element?: HTMLElement; // The element to block the scroll. If not defined, the window will be used\n};\n\ntype useScrollBlockageProps = {\n disableScroll: boolean;\n key: string; // The key to identify the blockage to avoid conflicts. Required if disableScroll is defined\n element?: HTMLElement; // The element to block the scroll. If not defined, the window will be used\n};\n\nexport const useScrollBlockage = (\n props?: useScrollBlockageProps | useScrollBlockagePropsReadOnly\n) => {\n const {\n disableScroll = false,\n element,\n key = 'unnamed_blocker',\n } = props ?? {};\n\n const { isElementScrollBlocked, addBlockage, removeBlockage } =\n useScrollBlockageStore(\n useShallow((s) => ({\n isElementScrollBlocked: s.isElementScrollBlocked,\n addBlockage: s.addBlockage,\n removeBlockage: s.removeBlockage,\n }))\n );\n\n const containerElement = useGetElementOrWindow(element);\n\n useEffect(() => {\n const el = element ?? window.document.body;\n\n if (disableScroll) {\n addBlockage(key, el);\n } else {\n removeBlockage(key, el);\n }\n }, [addBlockage, disableScroll, element, key, removeBlockage]);\n\n const isScrollBlocked = containerElement\n ? isElementScrollBlocked(containerElement)\n : false;\n\n return { isScrollBlocked };\n};\n"],"names":[],"mappings":";;;;AAEA,SAAS,QAAQ,MAAM,MAAM;AAC3B,MAAI,OAAO,GAAG,MAAM,IAAI,GAAG;AACzB,WAAO;AAAA,EACX;AACE,MAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,OAAO,SAAS,YAAY,SAAS,MAAM;AAC1F,WAAO;AAAA,EACX;AACE,MAAI,gBAAgB,OAAO,gBAAgB,KAAK;AAC9C,QAAI,KAAK,SAAS,KAAK,KAAM,QAAO;AACpC,eAAW,CAAC,KAAK,KAAK,KAAK,MAAM;AAC/B,UAAI,CAAC,OAAO,GAAG,OAAO,KAAK,IAAI,GAAG,CAAC,GAAG;AACpC,eAAO;AAAA,MACf;AAAA,IACA;AACI,WAAO;AAAA,EACX;AACE,MAAI,gBAAgB,OAAO,gBAAgB,KAAK;AAC9C,QAAI,KAAK,SAAS,KAAK,KAAM,QAAO;AACpC,eAAW,SAAS,MAAM;AACxB,UAAI,CAAC,KAAK,IAAI,KAAK,GAAG;AACpB,eAAO;AAAA,MACf;AAAA,IACA;AACI,WAAO;AAAA,EACX;AACE,QAAM,QAAQ,OAAO,KAAK,IAAI;AAC9B,MAAI,MAAM,WAAW,OAAO,KAAK,IAAI,EAAE,QAAQ;AAC7C,WAAO;AAAA,EACX;AACE,aAAW,QAAQ,OAAO;AACxB,QAAI,CAAC,OAAO,UAAU,eAAe,KAAK,MAAM,IAAI,KAAK,CAAC,OAAO,GAAG,KAAK,IAAI,GAAG,KAAK,IAAI,CAAC,GAAG;AAC3F,aAAO;AAAA,IACb;AAAA,EACA;AACE,SAAO;AACT;AAEA,MAAM,EAAE,OAAQ,IAAG;AACnB,SAAS,WAAW,UAAU;AAC5B,QAAM,OAAO,OAAQ;AACrB,SAAO,CAAC,UAAU;AAChB,UAAM,OAAO,SAAS,KAAK;AAC3B,WAAO,QAAQ,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,KAAK,UAAU;AAAA,EACpE;AACH;AC1Ba,MAAA,oBAAoB,CAC/B,UACG;AACG,QAAA;AAAA,IACJ,gBAAgB;AAAA,IAChB;AAAA,IACA,MAAM;AAAA,EACR,IAAI,SAAS,CAAC;AAEd,QAAM,EAAE,wBAAwB,aAAa,eAC3C,IAAA;AAAA,IACE,WAAW,CAAC,OAAO;AAAA,MACjB,wBAAwB,EAAE;AAAA,MAC1B,aAAa,EAAE;AAAA,MACf,gBAAgB,EAAE;AAAA,IAAA,EAClB;AAAA,EACJ;AAEI,QAAA,mBAAmB,sBAAsB,OAAO;AAEtD,YAAU,MAAM;AACR,UAAA,KAAK,WAAW,OAAO,SAAS;AAEtC,QAAI,eAAe;AACjB,kBAAY,KAAK,EAAE;AAAA,IAAA,OACd;AACL,qBAAe,KAAK,EAAE;AAAA,IAAA;AAAA,EACxB,GACC,CAAC,aAAa,eAAe,SAAS,KAAK,cAAc,CAAC;AAE7D,QAAM,kBAAkB,mBACpB,uBAAuB,gBAAgB,IACvC;AAEJ,SAAO,EAAE,gBAAgB;AAC3B;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-BYzBot7l.cjs","sources":["../../../../node_modules/.pnpm/zustand@4.5.7_@types+react@19.1.
|
|
1
|
+
{"version":3,"file":"index-BYzBot7l.cjs","sources":["../../../../node_modules/.pnpm/zustand@4.5.7_@types+react@19.1.8_immer@9.0.21_react@19.0.0/node_modules/zustand/esm/react/shallow.mjs","../src/hooks/useScrollBlockage/index.tsx"],"sourcesContent":["import ReactExports from 'react';\n\nfunction shallow(objA, objB) {\n if (Object.is(objA, objB)) {\n return true;\n }\n if (typeof objA !== \"object\" || objA === null || typeof objB !== \"object\" || objB === null) {\n return false;\n }\n if (objA instanceof Map && objB instanceof Map) {\n if (objA.size !== objB.size) return false;\n for (const [key, value] of objA) {\n if (!Object.is(value, objB.get(key))) {\n return false;\n }\n }\n return true;\n }\n if (objA instanceof Set && objB instanceof Set) {\n if (objA.size !== objB.size) return false;\n for (const value of objA) {\n if (!objB.has(value)) {\n return false;\n }\n }\n return true;\n }\n const keysA = Object.keys(objA);\n if (keysA.length !== Object.keys(objB).length) {\n return false;\n }\n for (const keyA of keysA) {\n if (!Object.prototype.hasOwnProperty.call(objB, keyA) || !Object.is(objA[keyA], objB[keyA])) {\n return false;\n }\n }\n return true;\n}\n\nconst { useRef } = ReactExports;\nfunction useShallow(selector) {\n const prev = useRef();\n return (state) => {\n const next = selector(state);\n return shallow(prev.current, next) ? prev.current : prev.current = next;\n };\n}\n\nexport { useShallow };\n","'use client';\n\nimport { useEffect } from 'react';\nimport { useShallow } from 'zustand/react/shallow';\nimport { useGetElementOrWindow } from '../useGetElementOrWindow';\n\nimport { useScrollBlockageStore } from './useScrollBlockageStore';\n\ntype useScrollBlockagePropsReadOnly = {\n disableScroll: undefined;\n key: undefined;\n element?: HTMLElement; // The element to block the scroll. If not defined, the window will be used\n};\n\ntype useScrollBlockageProps = {\n disableScroll: boolean;\n key: string; // The key to identify the blockage to avoid conflicts. Required if disableScroll is defined\n element?: HTMLElement; // The element to block the scroll. If not defined, the window will be used\n};\n\nexport const useScrollBlockage = (\n props?: useScrollBlockageProps | useScrollBlockagePropsReadOnly\n) => {\n const {\n disableScroll = false,\n element,\n key = 'unnamed_blocker',\n } = props ?? {};\n\n const { isElementScrollBlocked, addBlockage, removeBlockage } =\n useScrollBlockageStore(\n useShallow((s) => ({\n isElementScrollBlocked: s.isElementScrollBlocked,\n addBlockage: s.addBlockage,\n removeBlockage: s.removeBlockage,\n }))\n );\n\n const containerElement = useGetElementOrWindow(element);\n\n useEffect(() => {\n const el = element ?? window.document.body;\n\n if (disableScroll) {\n addBlockage(key, el);\n } else {\n removeBlockage(key, el);\n }\n }, [addBlockage, disableScroll, element, key, removeBlockage]);\n\n const isScrollBlocked = containerElement\n ? isElementScrollBlocked(containerElement)\n : false;\n\n return { isScrollBlocked };\n};\n"],"names":["useScrollBlockageStore","useGetElementOrWindow","useEffect"],"mappings":";;;;;AAEA,SAAS,QAAQ,MAAM,MAAM;AAC3B,MAAI,OAAO,GAAG,MAAM,IAAI,GAAG;AACzB,WAAO;AAAA,EACX;AACE,MAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,OAAO,SAAS,YAAY,SAAS,MAAM;AAC1F,WAAO;AAAA,EACX;AACE,MAAI,gBAAgB,OAAO,gBAAgB,KAAK;AAC9C,QAAI,KAAK,SAAS,KAAK,KAAM,QAAO;AACpC,eAAW,CAAC,KAAK,KAAK,KAAK,MAAM;AAC/B,UAAI,CAAC,OAAO,GAAG,OAAO,KAAK,IAAI,GAAG,CAAC,GAAG;AACpC,eAAO;AAAA,MACf;AAAA,IACA;AACI,WAAO;AAAA,EACX;AACE,MAAI,gBAAgB,OAAO,gBAAgB,KAAK;AAC9C,QAAI,KAAK,SAAS,KAAK,KAAM,QAAO;AACpC,eAAW,SAAS,MAAM;AACxB,UAAI,CAAC,KAAK,IAAI,KAAK,GAAG;AACpB,eAAO;AAAA,MACf;AAAA,IACA;AACI,WAAO;AAAA,EACX;AACE,QAAM,QAAQ,OAAO,KAAK,IAAI;AAC9B,MAAI,MAAM,WAAW,OAAO,KAAK,IAAI,EAAE,QAAQ;AAC7C,WAAO;AAAA,EACX;AACE,aAAW,QAAQ,OAAO;AACxB,QAAI,CAAC,O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