@bpinternal/integration-hub 0.2.0 → 0.3.0

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.
@@ -1,3 +1,3 @@
1
1
  import type { BotpressIntegrationHubProps } from './botpressTypes.js';
2
- export declare const BotpressIntegrationHubScreen: ({ client, workspaceId, botId, initialView, categories, bannerSlides, bannerIconUrl, noResultsDocumentationLink, disableInstallation, hasWriteAccess, categoryResolver, filterMenuLabels, defaultVisibility, defaultVerification, defaultSortMethod, renderConfigurationForm, renderConnectionsContent, oauthTemplateData, renderDetailPanel, onInstall, onUninstall, onEnable, onDisable, onUpgrade, onError }: BotpressIntegrationHubProps) => import("react/jsx-runtime").JSX.Element;
3
- export declare const BotpressIntegrationHub: ({ client, workspaceId, botId, initialView, categories, bannerSlides, bannerIconUrl, noResultsDocumentationLink, disableInstallation, hasWriteAccess, categoryResolver, filterMenuLabels, defaultVisibility, defaultVerification, defaultSortMethod, renderConfigurationForm, renderConnectionsContent, oauthTemplateData, renderDetailPanel, onInstall, onUninstall, onEnable, onDisable, onUpgrade, onError }: BotpressIntegrationHubProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const BotpressIntegrationHubScreen: ({ client, workspaceId, botId, initialView, categories, bannerSlides, bannerIconUrl, noResultsDocumentationLink, disableInstallation, installEnabled, hasWriteAccess, categoryResolver, filterMenuLabels, defaultVisibility, defaultVerification, defaultSortMethod, renderConfigurationForm, renderConnectionsContent, oauthTemplateData, renderDetailPanel, onInstall, onUninstall, onEnable, onDisable, onUpgrade, onError }: BotpressIntegrationHubProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const BotpressIntegrationHub: ({ client, workspaceId, botId, initialView, categories, bannerSlides, bannerIconUrl, noResultsDocumentationLink, disableInstallation, installEnabled, hasWriteAccess, categoryResolver, filterMenuLabels, defaultVisibility, defaultVerification, defaultSortMethod, renderConfigurationForm, renderConnectionsContent, oauthTemplateData, renderDetailPanel, onInstall, onUninstall, onEnable, onDisable, onUpgrade, onError }: BotpressIntegrationHubProps) => import("react/jsx-runtime").JSX.Element;
@@ -46,6 +46,7 @@ export interface UseIntegrationHubOptions {
46
46
  botId: string;
47
47
  categoryResolver?: CategoryResolver;
48
48
  enabled?: boolean;
49
+ installEnabled?: boolean;
49
50
  }
50
51
  export interface UseIntegrationHubResult {
51
52
  integrations: BotpressIntegrationHubItem[];
@@ -121,6 +122,7 @@ export interface BotpressIntegrationHubProps {
121
122
  bannerIconUrl?: string;
122
123
  noResultsDocumentationLink?: IntegrationHubNoResultsDocumentationLink;
123
124
  disableInstallation?: boolean;
125
+ installEnabled?: boolean;
124
126
  hasWriteAccess?: boolean;
125
127
  categoryResolver?: CategoryResolver;
126
128
  filterMenuLabels?: IntegrationHubFilterMenuProps['labels'];