@greatapps/greatagents-ui 0.3.13 → 0.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -133,7 +133,7 @@ interface ToolCredential {
133
133
  label: string;
134
134
  credentials_encrypted: string;
135
135
  expires_at: string | null;
136
- status: "active" | "expired";
136
+ status: "active" | "expired" | "inactive";
137
137
  authorized_by_contact: number | null;
138
138
  deleted: number;
139
139
  datetime_add: string;
@@ -390,6 +390,7 @@ declare function useAddAgentTool(config: GagentsHookConfig): _tanstack_react_que
390
390
  body: {
391
391
  id_tool: number;
392
392
  enabled?: boolean;
393
+ custom_instructions?: string;
393
394
  };
394
395
  }, unknown>;
395
396
  declare function useRemoveAgentTool(config: GagentsHookConfig): _tanstack_react_query.UseMutationResult<ApiResponse<void>, Error, {
@@ -563,10 +564,8 @@ interface ToolCredentialsFormProps {
563
564
  isLoading: boolean;
564
565
  config: GagentsHookConfig;
565
566
  gagentsApiUrl: string;
566
- createOpen?: boolean;
567
- onCreateOpenChange?: (open: boolean) => void;
568
567
  }
569
- declare function ToolCredentialsForm({ credentials, isLoading, config, gagentsApiUrl, createOpen: externalCreateOpen, onCreateOpenChange, }: ToolCredentialsFormProps): react_jsx_runtime.JSX.Element;
568
+ declare function ToolCredentialsForm({ credentials, isLoading, config, gagentsApiUrl, }: ToolCredentialsFormProps): react_jsx_runtime.JSX.Element;
570
569
 
571
570
  interface GetItemValue<T> {
572
571
  /**
@@ -642,8 +641,11 @@ declare function ConversationView({ conversationId, onClose, contactsMap, config
642
641
  interface IntegrationCardProps {
643
642
  card: IntegrationCardData;
644
643
  onConnect: (card: IntegrationCardData) => void;
644
+ onReconnect?: (card: IntegrationCardData) => void;
645
+ onDisconnect?: (card: IntegrationCardData) => void;
646
+ onDelete?: (card: IntegrationCardData) => void;
645
647
  }
646
- declare function IntegrationCard({ card, onConnect }: IntegrationCardProps): react_jsx_runtime.JSX.Element;
648
+ declare function IntegrationCard({ card, onConnect, onReconnect, onDisconnect, onDelete, }: IntegrationCardProps): react_jsx_runtime.JSX.Element;
647
649
 
648
650
  interface IntegrationsTabProps {
649
651
  config: GagentsHookConfig;