@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
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # Pimcore Copilot
2
+
3
+ This npm package provides TypeScript type definitions for the Pimcore Copilot Studio integration. The UI components are delivered via module federation at runtime.
4
+
5
+ It includes:
6
+
7
+ - Comprehensive TypeScript type definitions for Copilot Studio integration
8
+
9
+ ## Documentation
10
+
11
+ For detailed guidance on installation, configuration, and extending the Copilot, refer to the [Copilot Bundle documentation](https://docs.pimcore.com/platform/Copilot/).
package/dist/.gitkeep ADDED
File without changes
@@ -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
+ /**
11
+ * Service IDs for the Copilot Bundle
12
+ * Centralized location for all dependency injection service identifiers
13
+ */
14
+ export declare const bundleServiceIds: {
15
+ readonly 'Copilot/DynamicTypes/CopilotDefinitionRegistry': "Copilot/DynamicTypes/CopilotDefinitionRegistry";
16
+ readonly 'Copilot/DynamicTypes/CopilotDefinition/CustomReportsAdapter': "Copilot/DynamicTypes/CopilotDefinition/CustomReportsAdapter";
17
+ readonly 'Copilot/DynamicTypes/CopilotDefinition/OneStepInteractionAdapter': "Copilot/DynamicTypes/CopilotDefinition/OneStepInteractionAdapter";
18
+ readonly 'Copilot/DynamicTypes/CopilotDefinition/ChatStepInteractionAdapter': "Copilot/DynamicTypes/CopilotDefinition/ChatStepInteractionAdapter";
19
+ readonly 'Copilot/DynamicTypes/CopilotDefinition/AutomationActionAdapter': "Copilot/DynamicTypes/CopilotDefinition/AutomationActionAdapter";
20
+ readonly 'Copilot/DynamicTypes/CopilotDefinition/CoreMenuEntriesAdapter': "Copilot/DynamicTypes/CopilotDefinition/CoreMenuEntriesAdapter";
21
+ readonly copilotActionRegistry: "Copilot/CopilotActionRegistry";
22
+ };
@@ -0,0 +1,9 @@
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
+ */
@@ -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 ICopilotActionItem } from '../types';
11
+ export interface ICopilotActionProvider {
12
+ name: string;
13
+ priority: number;
14
+ useActions: () => ICopilotActionItem[];
15
+ }
16
+ export interface CopilotActionRegistryInterface {
17
+ registerActionProvider: (provider: ICopilotActionProvider) => void;
18
+ overrideActionProvider: (provider: ICopilotActionProvider) => void;
19
+ getActionProviders: () => ICopilotActionProvider[];
20
+ }
21
+ export declare class CopilotActionRegistry implements CopilotActionRegistryInterface {
22
+ private providers;
23
+ registerActionProvider(provider: ICopilotActionProvider): void;
24
+ overrideActionProvider(provider: ICopilotActionProvider): void;
25
+ getActionProviders(): ICopilotActionProvider[];
26
+ }
@@ -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
+ interface ICopilotIconProps {
12
+ value?: string;
13
+ type?: 'navigation' | 'action';
14
+ }
15
+ export declare const CopilotIcon: ({ value, type }: ICopilotIconProps) => React.JSX.Element;
16
+ export {};
@@ -0,0 +1,14 @@
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
+ actionIcon: any;
12
+ navIconWrapper: any;
13
+ navIcon: any;
14
+ }>;
@@ -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 Loader: () => 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
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ spinWrapper: any;
12
+ }>;
@@ -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 ILogInfoProps {
13
+ currentLogData?: BundleCopilotJobRun['log'];
14
+ }
15
+ export declare const LogInfo: ({ currentLogData }: ILogInfoProps) => React.JSX.Element;
16
+ export {};
@@ -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
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ logDate: any;
12
+ logText: any;
13
+ }>;
@@ -0,0 +1,29 @@
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 SenderProps } from '@ant-design/x';
12
+ interface IEntryData {
13
+ show?: boolean;
14
+ showPasteFromClipboard?: boolean;
15
+ showCopyToClipboard?: boolean;
16
+ updateAction?: (value: string) => void;
17
+ }
18
+ interface ISenderProps extends SenderProps {
19
+ userEntry?: IEntryData;
20
+ copilotEntry?: IEntryData;
21
+ isLoading?: boolean;
22
+ imageContent?: React.ReactNode;
23
+ buttonProps?: {
24
+ disabled?: boolean;
25
+ onClick?: () => void;
26
+ };
27
+ }
28
+ export declare const Sender: ({ userEntry, copilotEntry, className, isLoading, ...props }: ISenderProps) => React.JSX.Element;
29
+ export {};
@@ -0,0 +1,15 @@
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
+ header: any;
13
+ spinWrapper: any;
14
+ sendBtn: any;
15
+ }>;
@@ -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 ThoughtChainProps } from '@ant-design/x';
12
+ export declare const ThoughtChain: (props: ThoughtChainProps) => 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
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ thoughtChain: any;
12
+ }>;
@@ -0,0 +1,15 @@
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 enum COPILOT_PERMISSIONS {
11
+ PCP_GENERAL_PERMISSION = "pcp_general_permission",
12
+ PCP_JOB_RUN = "pcp_job_run_permission",
13
+ PCP_SEE_ALL_JOB_RUNS = "pcp_job_runs_see_all_permission",
14
+ PCP_CONFIGURATION = "pcp_configuration_permission"
15
+ }