@pimcore/copilot-bundle 2.5.0-canary.20260217-111500-e8a0c1f

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.
Files changed (67) hide show
  1. package/README.md +11 -0
  2. package/dist/.gitkeep +0 -0
  3. package/dist/build/types/config/service-ids.d.ts +22 -0
  4. package/dist/build/types/main.d.ts +9 -0
  5. package/dist/build/types/modules/copilot/app/copilot-action-registry.d.ts +26 -0
  6. package/dist/build/types/modules/copilot/components/copilot-icon/copilot-icon.d.ts +16 -0
  7. package/dist/build/types/modules/copilot/components/copilot-icon/copilot-icon.styles.d.ts +14 -0
  8. package/dist/build/types/modules/copilot/components/loader/loader.d.ts +11 -0
  9. package/dist/build/types/modules/copilot/components/loader/loader.styles.d.ts +12 -0
  10. package/dist/build/types/modules/copilot/components/log-info/log-info.d.ts +16 -0
  11. package/dist/build/types/modules/copilot/components/log-info/log-info.styles.d.ts +13 -0
  12. package/dist/build/types/modules/copilot/components/sender/sender.d.ts +29 -0
  13. package/dist/build/types/modules/copilot/components/sender/sender.styles.d.ts +15 -0
  14. package/dist/build/types/modules/copilot/components/thought-chain/thought-chain.d.ts +12 -0
  15. package/dist/build/types/modules/copilot/components/thought-chain/thought-chain.styles.d.ts +12 -0
  16. package/dist/build/types/modules/copilot/constants.d.ts +15 -0
  17. package/dist/build/types/modules/copilot/copilot-api-slice-enhanced.d.ts +1867 -0
  18. package/dist/build/types/modules/copilot/copilot-api-slice.gen.d.ts +2088 -0
  19. package/dist/build/types/modules/copilot/copilot-job-runs/components/action-list/action-list.d.ts +17 -0
  20. package/dist/build/types/modules/copilot/copilot-job-runs/components/action-list/action-list.styles.d.ts +12 -0
  21. package/dist/build/types/modules/copilot/copilot-job-runs/components/bottom-toolbar/bottom-toolbar.d.ts +21 -0
  22. package/dist/build/types/modules/copilot/copilot-job-runs/components/info-form/info-form.d.ts +16 -0
  23. package/dist/build/types/modules/copilot/copilot-job-runs/components/info-form/info-form.styles.d.ts +12 -0
  24. package/dist/build/types/modules/copilot/copilot-job-runs/constants.d.ts +18 -0
  25. package/dist/build/types/modules/copilot/copilot-job-runs/copilot-job-runs.d.ts +11 -0
  26. package/dist/build/types/modules/copilot/copilot-job-runs/hooks/use-columns.d.ts +12 -0
  27. package/dist/build/types/modules/copilot/copilot-modal/components/copilot-actions/components/action-card/action-card.d.ts +17 -0
  28. package/dist/build/types/modules/copilot/copilot-modal/components/copilot-actions/components/action-card/action-card.styles.d.ts +12 -0
  29. package/dist/build/types/modules/copilot/copilot-modal/components/copilot-actions/components/action-card/components/action-expander/action-expander.d.ts +13 -0
  30. package/dist/build/types/modules/copilot/copilot-modal/components/copilot-actions/copilot-actions.d.ts +11 -0
  31. package/dist/build/types/modules/copilot/copilot-modal/components/copilot-sidebar/copilot-sidebar.d.ts +12 -0
  32. package/dist/build/types/modules/copilot/copilot-modal/context/copilot-modal-data-context.d.ts +28 -0
  33. package/dist/build/types/modules/copilot/copilot-modal/copilot-modal-wrapper.d.ts +11 -0
  34. package/dist/build/types/modules/copilot/copilot-modal/copilot-modal.d.ts +11 -0
  35. package/dist/build/types/modules/copilot/copilot-modal/copilot-modal.styles.d.ts +20 -0
  36. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/automation-action-adapter.d.ts +12 -0
  37. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/automation-action-adapter.styles.d.ts +16 -0
  38. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/components/environment-variable-form/components/matrix-grid/matrix-grid.d.ts +22 -0
  39. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/components/environment-variable-form/environment-variable-form.d.ts +22 -0
  40. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/components/job-thought-chain-item/job-thought-chain-item.d.ts +19 -0
  41. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/components/job-thought-chain-item/job-thought-chain-item.styles.d.ts +20 -0
  42. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/hooks/use-automation-actions.d.ts +23 -0
  43. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/hooks/use-automation-handlers.d.ts +26 -0
  44. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/automation-action-adapter/types.d.ts +24 -0
  45. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/chat-interaction-adapter.d.ts +12 -0
  46. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/chat-interaction-adapter.styles.d.ts +16 -0
  47. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/components/chat-thought-chain/chat-thought-chain.d.ts +17 -0
  48. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/components/chat-thought-chain/chat-thought-chain.styles.d.ts +16 -0
  49. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/hooks/use-chat-actions.d.ts +23 -0
  50. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/hooks/use-chat-interaction-handlers.d.ts +33 -0
  51. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/chat-interaction-adapter/types.d.ts +25 -0
  52. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/one-step-interaction-adapter/one-step-interaction-adapter.d.ts +12 -0
  53. package/dist/build/types/modules/copilot/dynamic-types/definitions/components/one-step-interaction-adapter/one-step-interaction-adapter.styles.d.ts +12 -0
  54. package/dist/build/types/modules/copilot/dynamic-types/definitions/dynamic-type-copilot-definition-abstract.d.ts +21 -0
  55. package/dist/build/types/modules/copilot/dynamic-types/definitions/dynamic-type-copilot-definition-registry.d.ts +13 -0
  56. package/dist/build/types/modules/copilot/dynamic-types/definitions/types/dynamic-type-copilot-definition-automation-action-adapter.d.ts +20 -0
  57. package/dist/build/types/modules/copilot/dynamic-types/definitions/types/dynamic-type-copilot-definition-chat-interaction-adapter.d.ts +20 -0
  58. package/dist/build/types/modules/copilot/dynamic-types/definitions/types/dynamic-type-copilot-definition-core-menu-entries-adapter.d.ts +19 -0
  59. package/dist/build/types/modules/copilot/dynamic-types/definitions/types/dynamic-type-copilot-definition-custom-reports-adapter.d.ts +19 -0
  60. package/dist/build/types/modules/copilot/dynamic-types/definitions/types/dynamic-type-copilot-definition-one-step-interaction-adapter.d.ts +20 -0
  61. package/dist/build/types/modules/copilot/helpers.d.ts +20 -0
  62. package/dist/build/types/modules/copilot/index.d.ts +11 -0
  63. package/dist/build/types/modules/copilot/types.d.ts +106 -0
  64. package/dist/build/types/plugins.d.ts +11 -0
  65. package/dist/build/types/sdk/index.d.ts +1 -0
  66. package/dist/build/types/types.d.ts +14 -0
  67. package/package.json +94 -0
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type BundleCopilotJobRun } from '../../../copilot-api-slice.gen';
12
+ interface IActionListProps {
13
+ currentJob: BundleCopilotJobRun;
14
+ refetch: () => void;
15
+ }
16
+ export declare const ActionList: ({ currentJob, refetch }: IActionListProps) => React.JSX.Element;
17
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ logModal: any;
12
+ }>;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ interface IBottomToolbarProps {
12
+ isFetching: boolean;
13
+ refetch: () => void;
14
+ page: number;
15
+ setPage: (page: number) => void;
16
+ pageSize: number;
17
+ setPageSize: (pageSize: number) => void;
18
+ total?: number;
19
+ }
20
+ export declare const BottomToolbar: ({ page, pageSize, setPage, setPageSize, isFetching, refetch, total }: IBottomToolbarProps) => React.JSX.Element;
21
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type BundleCopilotJobRun } from '../../../copilot-api-slice.gen';
12
+ interface IInfoFormProps {
13
+ currentJobInfo: BundleCopilotJobRun;
14
+ }
15
+ export declare const InfoForm: ({ currentJobInfo }: IInfoFormProps) => React.JSX.Element;
16
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ infoItem: any;
12
+ }>;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const SORT_BY_MAPPER: {
11
+ id: string;
12
+ currentMessage: string;
13
+ state: string;
14
+ lastUpdated: string;
15
+ owner: string;
16
+ };
17
+ export declare const DESC = "DESC";
18
+ export declare const ASC = "ASC";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ export declare const CopilotJobRuns: () => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type AccessorKeyColumnDef } from '@tanstack/react-table';
11
+ export declare const ID_COLUMN_KEY = "id";
12
+ export declare const useColumns: () => Array<AccessorKeyColumnDef<unknown, never>>;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type IActionAdapterProps } from '../../../../../types';
12
+ interface IActionCardProps extends IActionAdapterProps {
13
+ children: React.ReactNode;
14
+ icon?: string;
15
+ }
16
+ export declare const ActionCard: ({ children, id, config, timestamp, icon }: IActionCardProps) => React.JSX.Element;
17
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ wrapper: any;
12
+ }>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ export declare const ActionExpander: ({ actionId }: {
12
+ actionId: string;
13
+ }) => React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ export declare const CopilotActions: () => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ export declare const DEFAULT_GROUP_KEY = "generate";
12
+ export declare const CopilotSidebar: () => React.JSX.Element | undefined;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React, { type ReactNode } from 'react';
11
+ import { type IActiveAction } from '../../types';
12
+ interface ICopilotModalDataProviderProps {
13
+ children: ReactNode;
14
+ }
15
+ interface ICopilotModalDataContext {
16
+ isOpen: boolean;
17
+ setIsOpen: (isOpen: boolean) => void;
18
+ expandedActionId: string | null;
19
+ setExpandedActionId: (actionId: string | null) => void;
20
+ activeActions: IActiveAction[];
21
+ setActiveActions: (actions: IActiveAction[]) => void;
22
+ addAction: (action: IActiveAction) => void;
23
+ updateAction: (action: Partial<IActiveAction>) => void;
24
+ removeAction: (id: string) => void;
25
+ }
26
+ export declare const CopilotModalDataProvider: ({ children }: ICopilotModalDataProviderProps) => React.JSX.Element;
27
+ export declare const useCopilotModalDataContext: () => ICopilotModalDataContext;
28
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ export declare const CopilotModalWrapper: () => React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ export declare const CopilotModal: () => React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ title: any;
12
+ sectionTitle: any;
13
+ contentWrapper: any;
14
+ centeredContent: any;
15
+ emptyList: any;
16
+ actionsList: any;
17
+ actionItem: any;
18
+ groupDivider: any;
19
+ form: any;
20
+ }>;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type IActionAdapterProps } from '../../../../types';
12
+ export declare const AutomationActionAdapter: (props: IActionAdapterProps) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ highlightedWrapper: any;
12
+ chatContainer: any;
13
+ promptContainer: any;
14
+ languageSelect: any;
15
+ successIcon: any;
16
+ }>;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type IActiveAction, type IEnvironmentVariablesItem } from '../../../../../../../../types';
12
+ import type { IActionState } from '../../../../types';
13
+ interface IMatrixGridProps {
14
+ config: IEnvironmentVariablesItem;
15
+ currentActionData: IActiveAction;
16
+ handleUpdateAction: ({ data, state }: {
17
+ data?: any;
18
+ state?: IActionState;
19
+ }) => void;
20
+ }
21
+ export declare const MatrixGrid: ({ config, currentActionData, handleUpdateAction }: IMatrixGridProps) => React.JSX.Element;
22
+ export {};
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import type { IActiveAction, IAutomationActionAdapterConfig } from '../../../../../../types';
12
+ import { type IHandleUpdateActionProps } from '../../types';
13
+ import { type IUseAutomationHandlersReturn } from '../../hooks/use-automation-handlers';
14
+ interface IEnvironmentVariableFormProps {
15
+ currentActionId: string;
16
+ currentActionData: IActiveAction;
17
+ currentConfig: IAutomationActionAdapterConfig;
18
+ handleUpdateAction: ({ data, state }: IHandleUpdateActionProps) => void;
19
+ startActionRun?: IUseAutomationHandlersReturn['startActionRun'];
20
+ }
21
+ export declare const EnvironmentVariableForm: ({ currentActionId, currentActionData, currentConfig, handleUpdateAction, startActionRun }: IEnvironmentVariableFormProps) => React.JSX.Element;
22
+ export {};
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type IActiveAction } from '../../../../../../types';
12
+ import { type IUseAutomationHandlersReturn } from '../../hooks/use-automation-handlers';
13
+ interface IJobThoughtChainItemProps {
14
+ currentActionData: IActiveAction;
15
+ handleElementPostInteraction: () => void;
16
+ cancelActionRun: IUseAutomationHandlersReturn['cancelActionRun'];
17
+ }
18
+ export declare const JobThoughtChainItem: ({ currentActionData, handleElementPostInteraction, cancelActionRun }: IJobThoughtChainItemProps) => React.JSX.Element | null;
19
+ export {};
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ statusIcon: any;
12
+ cancelButton: any;
13
+ runningStatus: any;
14
+ successStatus: any;
15
+ failedStatus: any;
16
+ finishedWithErrorStatus: any;
17
+ cancelledStatus: any;
18
+ thoughtChainItem: any;
19
+ logWrapper: any;
20
+ }>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type BundleCopilotActionsAutomationRunApiArg, type BundleCopilotActionsAutomationRunApiResponse, type BundleCopilotJobRunCancelApiArg, type BundleCopilotJobRunCancelApiResponse, type BundleCopilotJobRunRerunApiArg, type BundleCopilotJobRunRerunApiResponse } from '../../../../../copilot-api-slice-enhanced';
11
+ import { type IHandleUpdateActionProps } from '../types';
12
+ export interface IUseAutomationActionsProps {
13
+ handleUpdateAction?: (data: IHandleUpdateActionProps) => void;
14
+ }
15
+ export interface IUseAutomationActionsReturn {
16
+ runAutomationAction: (data: BundleCopilotActionsAutomationRunApiArg) => Promise<BundleCopilotActionsAutomationRunApiResponse | undefined>;
17
+ isLoadingRunAutomationAction: boolean;
18
+ cancelCurrentJobRun: (data: BundleCopilotJobRunCancelApiArg) => Promise<BundleCopilotJobRunCancelApiResponse | undefined>;
19
+ isLoadingCancelCurrentJobRun: boolean;
20
+ rerunCurrentJobRun: (data: BundleCopilotJobRunRerunApiArg) => Promise<BundleCopilotJobRunRerunApiResponse | undefined>;
21
+ isLoadingRerunCurrentJobRun: boolean;
22
+ }
23
+ export declare const useAutomationActions: ({ handleUpdateAction }: IUseAutomationActionsProps) => IUseAutomationActionsReturn;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import type { IActiveAction, IAutomationActionAdapterConfig } from '../../../../../types';
11
+ import { type IUseAutomationActionsReturn } from './use-automation-actions';
12
+ import type { GlobalElementContext } from '@pimcore/studio-ui-bundle/modules/element';
13
+ import { type IHandleUpdateActionProps } from '../types';
14
+ interface IUseAutomationHandlersProps {
15
+ currentActionData: IActiveAction;
16
+ currentConfig: IAutomationActionAdapterConfig;
17
+ context: GlobalElementContext;
18
+ handleUpdateAction: ({ data, state }: IHandleUpdateActionProps) => void;
19
+ api: IUseAutomationActionsReturn;
20
+ }
21
+ export interface IUseAutomationHandlersReturn {
22
+ startActionRun: () => Promise<void>;
23
+ cancelActionRun: () => Promise<void>;
24
+ }
25
+ export declare const useAutomationHandlers: ({ currentActionData, currentConfig, context, api, handleUpdateAction }: IUseAutomationHandlersProps) => IUseAutomationHandlersReturn;
26
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type BundleCopilotJobRunProgress } from '../../../../copilot-api-slice.gen';
11
+ import type { ApiErrorData } from '@pimcore/studio-ui-bundle/modules/app';
12
+ export interface IActionState {
13
+ currentJobId?: number;
14
+ currentJobData?: BundleCopilotJobRunProgress;
15
+ isBuildEnvironmentVariableForm?: boolean;
16
+ isActionFinished?: boolean;
17
+ isCancelled?: boolean;
18
+ timer?: number | null;
19
+ error?: ApiErrorData;
20
+ }
21
+ export interface IHandleUpdateActionProps {
22
+ data?: any;
23
+ state?: IActionState;
24
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type IActionAdapterProps } from '../../../../types';
12
+ export declare const ChatInteractionAdapter: (props: IActionAdapterProps) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ highlightedWrapper: any;
12
+ chatContainer: any;
13
+ promptContainer: any;
14
+ languageSelect: any;
15
+ successIcon: any;
16
+ }>;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type BundleCopilotActionInteractionChatHistory } from '../../../../../../copilot-api-slice.gen';
12
+ interface IChatThoughtChainProps {
13
+ chatHistory: BundleCopilotActionInteractionChatHistory[];
14
+ isResultApplied: boolean;
15
+ }
16
+ export declare const ChatThoughtChain: (props: IChatThoughtChainProps) => React.JSX.Element;
17
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ userAvatar: any;
12
+ highlightedWrapper: any;
13
+ successIcon: any;
14
+ thoughtChain: any;
15
+ appliedThoughtChain: any;
16
+ }>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type BundleCopilotActionsInteractionChatInitialApiArg, type BundleCopilotActionsInteractionChatApplyApiArg, type BundleCopilotActionsInteractionChatPromptApiArg, type BundleCopilotActionsInteractionChatInitialApiResponse, type BundleCopilotActionsInteractionChatPromptApiResponse } from '../../../../../copilot-api-slice-enhanced';
11
+ import { type IHandleUpdateActionProps } from '../types';
12
+ export interface IUseChatActionsProps {
13
+ handleUpdateAction: (data: IHandleUpdateActionProps) => void;
14
+ }
15
+ export interface IUseChatActionsReturn {
16
+ executeChatInteraction: (data: BundleCopilotActionsInteractionChatInitialApiArg) => Promise<BundleCopilotActionsInteractionChatInitialApiResponse | undefined>;
17
+ sendChatPrompt: (data: BundleCopilotActionsInteractionChatPromptApiArg) => Promise<BundleCopilotActionsInteractionChatPromptApiResponse | undefined>;
18
+ applyChatInteraction: (data: BundleCopilotActionsInteractionChatApplyApiArg) => Promise<void>;
19
+ isLoadingStartChatResponse: boolean;
20
+ isLoadingChatPromptResponse: boolean;
21
+ isLoadingChatInteractionApply: boolean;
22
+ }
23
+ export declare const useChatActions: ({ handleUpdateAction }: IUseChatActionsProps) => IUseChatActionsReturn;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type GlobalElementContext } from '@pimcore/studio-ui-bundle/modules/element';
11
+ import { type IActiveAction, type IChatInteractionAdapterConfig } from '../../../../../types';
12
+ import { type IUseChatActionsReturn } from './use-chat-actions';
13
+ import { type IHandleUpdateActionProps } from '../types';
14
+ interface IUseChatInteractionHandlersProps {
15
+ currentActionId: string;
16
+ currentActionData: IActiveAction;
17
+ currentConfig: IChatInteractionAdapterConfig;
18
+ context: GlobalElementContext;
19
+ languages: string[];
20
+ form: any;
21
+ refreshElement: (id: number) => void;
22
+ setIsOpen: (open: boolean) => void;
23
+ api: IUseChatActionsReturn;
24
+ handleUpdateAction: ({ data, state }: IHandleUpdateActionProps) => void;
25
+ }
26
+ interface IUseChatInteractionHandlersReturn {
27
+ startChatInteraction: () => Promise<void>;
28
+ handleSendPrompt: () => Promise<void>;
29
+ handleResetPrompt: () => void;
30
+ handleApply: () => Promise<void>;
31
+ }
32
+ export declare const useChatInteractionHandlers: ({ currentActionId, currentActionData, currentConfig, context, languages, form, handleUpdateAction, refreshElement, setIsOpen, api }: IUseChatInteractionHandlersProps) => IUseChatInteractionHandlersReturn;
33
+ export {};
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type ApiErrorData } from '@pimcore/studio-ui-bundle/modules/app';
11
+ import type { BundleCopilotActionsInteractionChatInitialApiResponse } from '../../../../copilot-api-slice.gen';
12
+ export interface IActionState {
13
+ interactionId?: number;
14
+ isChatLoaded?: boolean;
15
+ isResultApplied?: boolean;
16
+ chatHistory?: BundleCopilotActionsInteractionChatInitialApiResponse;
17
+ error?: ApiErrorData;
18
+ }
19
+ export interface IHandleUpdateActionProps {
20
+ data?: {
21
+ prompt?: string;
22
+ language?: string;
23
+ };
24
+ state?: IActionState;
25
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type IActionAdapterProps } from '../../../../types';
12
+ export declare const OneStepInteractionAdapter: (props: IActionAdapterProps) => React.JSX.Element;