@burdenoff/microfe-botmanor 2026.1118.5 → 2026.1118.7
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/botlit/components/AgentBindingsPanel.d.ts +4 -0
- package/dist/botlit/components/AgentBindingsPanel.js +305 -0
- package/dist/botlit/components/AgentBindingsPanel.js.map +1 -0
- package/dist/botlit/components/ChannelSetupPanels.d.ts +21 -0
- package/dist/botlit/components/ChannelSetupPanels.js +139 -0
- package/dist/botlit/components/ChannelSetupPanels.js.map +1 -0
- package/dist/botlit/hooks/index.d.ts +5 -1
- package/dist/botlit/hooks/index.js +14 -12
- package/dist/botlit/hooks/useAgentBindings.d.ts +58 -0
- package/dist/botlit/hooks/useAgentBindings.js +87 -0
- package/dist/botlit/hooks/useAgentBindings.js.map +1 -0
- package/dist/botlit/hooks/useChannelSetup.d.ts +96 -0
- package/dist/botlit/hooks/useChannelSetup.js +199 -0
- package/dist/botlit/hooks/useChannelSetup.js.map +1 -0
- package/dist/botlit/hooks/useChannels.d.ts +6 -0
- package/dist/botlit/hooks/useChannels.js +80 -58
- package/dist/botlit/hooks/useChannels.js.map +1 -1
- package/dist/botlit/hooks/useUserPlatformConnection.d.ts +1 -0
- package/dist/botlit/hooks/useUserPlatformConnection.js +1 -0
- package/dist/botlit/hooks/useUserPlatformConnection.js.map +1 -1
- package/dist/botlit/pages/AgentDetailPage.js +56 -55
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.js +204 -186
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/ChannelDetailPage.js +658 -526
- package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
- package/dist/botlit/pages/ChannelsPage.js +2 -1
- package/dist/botlit/pages/ChannelsPage.js.map +1 -1
- package/dist/botlit/pages/PromptStudioPage.js +365 -175
- package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
- package/dist/botlit/providers/BotlitProvider.js +39 -35
- package/dist/botlit/providers/BotlitProvider.js.map +1 -1
- package/dist/botlit/types/index.d.ts +2 -0
- package/dist/botlit/utils/channelConnectors.d.ts +16 -0
- package/dist/botlit/utils/channelConnectors.js +24 -0
- package/dist/botlit/utils/channelConnectors.js.map +1 -0
- package/dist/botlit/utils/promptVariables.d.ts +6 -0
- package/dist/botlit/utils/promptVariables.js +20 -0
- package/dist/botlit/utils/promptVariables.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +314 -0
- package/dist/generated/wspace-operations.js +189 -101
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +139 -0
- package/dist/generated/wspace-types.js +3 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -510,6 +510,7 @@ export type PromptTemplateFilterInput = {
|
|
|
510
510
|
visibility?: Visibility | null | undefined;
|
|
511
511
|
workspaceId?: string | number | null | undefined;
|
|
512
512
|
};
|
|
513
|
+
export type PromptVersionBump = 'MAJOR' | 'MINOR' | 'PATCH';
|
|
513
514
|
export type RetrievalMode = 'BM25_ONLY' | 'HYBRID' | 'VECTOR';
|
|
514
515
|
export type RetrievalProfileFilterInput = {
|
|
515
516
|
bucketId?: string | number | null | undefined;
|
|
@@ -519,6 +520,14 @@ export type RetrievalProfileFilterInput = {
|
|
|
519
520
|
workspaceId?: string | number | null | undefined;
|
|
520
521
|
};
|
|
521
522
|
export type RoutingStrategy = 'CUSTOM' | 'INTELLIGENT' | 'ROUND_ROBIN' | 'SINGLE';
|
|
523
|
+
export type SavePromptTemplateVersionInput = {
|
|
524
|
+
bump?: PromptVersionBump | null | undefined;
|
|
525
|
+
changelog?: string | null | undefined;
|
|
526
|
+
templateText: string;
|
|
527
|
+
variables?: Record<string, unknown> | null | undefined;
|
|
528
|
+
/** Explicit MAJOR.MINOR.PATCH version; otherwise the current version is bumped. */
|
|
529
|
+
version?: string | null | undefined;
|
|
530
|
+
};
|
|
522
531
|
/** Input for sending a message to an external channel */
|
|
523
532
|
export type SendChannelMessageInput = {
|
|
524
533
|
/** Bot app ID sending the message */
|
|
@@ -542,6 +551,15 @@ export type SendChannelMessageInput = {
|
|
|
542
551
|
/** Workspace ID */
|
|
543
552
|
workspaceId: string | number;
|
|
544
553
|
};
|
|
554
|
+
/** Omit a field to leave that binding unchanged; pass null to detach it. */
|
|
555
|
+
export type SetAgentBindingsInput = {
|
|
556
|
+
promptTemplateId?: string | number | null | undefined;
|
|
557
|
+
/** Values for the template's declared variables, keyed by name. */
|
|
558
|
+
promptVariables?: Record<string, unknown> | null | undefined;
|
|
559
|
+
retrievalProfileId?: string | number | null | undefined;
|
|
560
|
+
/** The complete, ordered skill list. An empty list detaches every skill. */
|
|
561
|
+
skillIds?: Array<string | number> | null | undefined;
|
|
562
|
+
};
|
|
545
563
|
export type SkillFilterInput = {
|
|
546
564
|
bucketId?: string | number | null | undefined;
|
|
547
565
|
promptTemplateId?: string | number | null | undefined;
|
|
@@ -558,6 +576,21 @@ export type StorePackageFilterInput = {
|
|
|
558
576
|
publishedBy?: string | number | null | undefined;
|
|
559
577
|
search?: string | null | undefined;
|
|
560
578
|
};
|
|
579
|
+
/** Prompt Studio run of a template against a live model (BOFF-15360). */
|
|
580
|
+
export type TestPromptTemplateInput = {
|
|
581
|
+
/** An active model registered in this workspace. */
|
|
582
|
+
llmModelId: string | number;
|
|
583
|
+
maxTokens?: number | null | undefined;
|
|
584
|
+
temperature?: number | null | undefined;
|
|
585
|
+
/** Draft text to run; the saved text when omitted. */
|
|
586
|
+
templateText?: string | null | undefined;
|
|
587
|
+
/** The user message the rendered prompt answers. */
|
|
588
|
+
userMessage: string;
|
|
589
|
+
/** Draft variable contract; the saved contract when omitted. */
|
|
590
|
+
variableDefinitions?: Record<string, unknown> | null | undefined;
|
|
591
|
+
/** Values for the template variables, keyed by name. */
|
|
592
|
+
variables?: Record<string, unknown> | null | undefined;
|
|
593
|
+
};
|
|
561
594
|
export type UpdateA2ARegistryEntryInput = {
|
|
562
595
|
agentCard?: Record<string, unknown> | null | undefined;
|
|
563
596
|
bucketId?: string | number | null | undefined;
|
|
@@ -881,6 +914,98 @@ export type DeleteA2ARegistryEntryMutationVariables = Exact<{
|
|
|
881
914
|
export type DeleteA2ARegistryEntryMutation = {
|
|
882
915
|
deleteA2ARegistryEntry: boolean;
|
|
883
916
|
};
|
|
917
|
+
export type AgentBindingsFieldsFragment = {
|
|
918
|
+
agentId: string;
|
|
919
|
+
effectiveSystemPrompt: string;
|
|
920
|
+
promptTemplate: {
|
|
921
|
+
promptTemplateId: string;
|
|
922
|
+
name: string;
|
|
923
|
+
version: string;
|
|
924
|
+
status: Types.EntityStatus;
|
|
925
|
+
variables: Record<string, unknown>;
|
|
926
|
+
} | null;
|
|
927
|
+
skills: Array<{
|
|
928
|
+
skillId: string;
|
|
929
|
+
name: string;
|
|
930
|
+
description: string | null;
|
|
931
|
+
status: Types.EntityStatus;
|
|
932
|
+
position: number;
|
|
933
|
+
}>;
|
|
934
|
+
retrievalProfile: {
|
|
935
|
+
retrievalProfileId: string;
|
|
936
|
+
name: string;
|
|
937
|
+
status: Types.EntityStatus;
|
|
938
|
+
strategyMode: Types.RetrievalMode;
|
|
939
|
+
topK: number;
|
|
940
|
+
minRelevanceScore: number | null;
|
|
941
|
+
noAnswerIfBelowThreshold: boolean;
|
|
942
|
+
} | null;
|
|
943
|
+
};
|
|
944
|
+
export type GetAgentBindingsQueryVariables = Exact<{
|
|
945
|
+
agentId: string | number;
|
|
946
|
+
}>;
|
|
947
|
+
export type GetAgentBindingsQuery = {
|
|
948
|
+
getAgentBindings: {
|
|
949
|
+
agentId: string;
|
|
950
|
+
effectiveSystemPrompt: string;
|
|
951
|
+
promptTemplate: {
|
|
952
|
+
promptTemplateId: string;
|
|
953
|
+
name: string;
|
|
954
|
+
version: string;
|
|
955
|
+
status: Types.EntityStatus;
|
|
956
|
+
variables: Record<string, unknown>;
|
|
957
|
+
} | null;
|
|
958
|
+
skills: Array<{
|
|
959
|
+
skillId: string;
|
|
960
|
+
name: string;
|
|
961
|
+
description: string | null;
|
|
962
|
+
status: Types.EntityStatus;
|
|
963
|
+
position: number;
|
|
964
|
+
}>;
|
|
965
|
+
retrievalProfile: {
|
|
966
|
+
retrievalProfileId: string;
|
|
967
|
+
name: string;
|
|
968
|
+
status: Types.EntityStatus;
|
|
969
|
+
strategyMode: Types.RetrievalMode;
|
|
970
|
+
topK: number;
|
|
971
|
+
minRelevanceScore: number | null;
|
|
972
|
+
noAnswerIfBelowThreshold: boolean;
|
|
973
|
+
} | null;
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
export type SetAgentBindingsMutationVariables = Exact<{
|
|
977
|
+
agentId: string | number;
|
|
978
|
+
input: Types.SetAgentBindingsInput;
|
|
979
|
+
}>;
|
|
980
|
+
export type SetAgentBindingsMutation = {
|
|
981
|
+
setAgentBindings: {
|
|
982
|
+
agentId: string;
|
|
983
|
+
effectiveSystemPrompt: string;
|
|
984
|
+
promptTemplate: {
|
|
985
|
+
promptTemplateId: string;
|
|
986
|
+
name: string;
|
|
987
|
+
version: string;
|
|
988
|
+
status: Types.EntityStatus;
|
|
989
|
+
variables: Record<string, unknown>;
|
|
990
|
+
} | null;
|
|
991
|
+
skills: Array<{
|
|
992
|
+
skillId: string;
|
|
993
|
+
name: string;
|
|
994
|
+
description: string | null;
|
|
995
|
+
status: Types.EntityStatus;
|
|
996
|
+
position: number;
|
|
997
|
+
}>;
|
|
998
|
+
retrievalProfile: {
|
|
999
|
+
retrievalProfileId: string;
|
|
1000
|
+
name: string;
|
|
1001
|
+
status: Types.EntityStatus;
|
|
1002
|
+
strategyMode: Types.RetrievalMode;
|
|
1003
|
+
topK: number;
|
|
1004
|
+
minRelevanceScore: number | null;
|
|
1005
|
+
noAnswerIfBelowThreshold: boolean;
|
|
1006
|
+
} | null;
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
884
1009
|
export type ListBotmanorAgentsQueryVariables = Exact<{
|
|
885
1010
|
filters?: Types.BotmanorAgentFilterInput | null | undefined;
|
|
886
1011
|
pagination?: Types.PaginationInput | null | undefined;
|
|
@@ -2527,6 +2652,62 @@ export type RenderPromptTemplateMutationVariables = Exact<{
|
|
|
2527
2652
|
export type RenderPromptTemplateMutation = {
|
|
2528
2653
|
renderPromptTemplate: string;
|
|
2529
2654
|
};
|
|
2655
|
+
export type TestPromptTemplateMutationVariables = Exact<{
|
|
2656
|
+
id: string | number;
|
|
2657
|
+
input: Types.TestPromptTemplateInput;
|
|
2658
|
+
}>;
|
|
2659
|
+
export type TestPromptTemplateMutation = {
|
|
2660
|
+
testPromptTemplate: {
|
|
2661
|
+
renderedPrompt: string;
|
|
2662
|
+
output: string;
|
|
2663
|
+
model: string;
|
|
2664
|
+
tokensUsed: number;
|
|
2665
|
+
inputTokens: number | null;
|
|
2666
|
+
outputTokens: number | null;
|
|
2667
|
+
latencyMs: number;
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
export type SavePromptTemplateVersionMutationVariables = Exact<{
|
|
2671
|
+
id: string | number;
|
|
2672
|
+
input: Types.SavePromptTemplateVersionInput;
|
|
2673
|
+
}>;
|
|
2674
|
+
export type SavePromptTemplateVersionMutation = {
|
|
2675
|
+
savePromptTemplateVersion: {
|
|
2676
|
+
id: string;
|
|
2677
|
+
version: string;
|
|
2678
|
+
revision: number;
|
|
2679
|
+
templateText: string;
|
|
2680
|
+
variables: Record<string, unknown>;
|
|
2681
|
+
updatedAt: string;
|
|
2682
|
+
versionHistory: Array<{
|
|
2683
|
+
version: string;
|
|
2684
|
+
revision: number;
|
|
2685
|
+
templateText: string;
|
|
2686
|
+
variables: Record<string, unknown>;
|
|
2687
|
+
changelog: string | null;
|
|
2688
|
+
savedAt: string;
|
|
2689
|
+
savedById: string;
|
|
2690
|
+
}>;
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2693
|
+
export type GetPromptTemplateVersionsQueryVariables = Exact<{
|
|
2694
|
+
id: string | number;
|
|
2695
|
+
}>;
|
|
2696
|
+
export type GetPromptTemplateVersionsQuery = {
|
|
2697
|
+
getPromptTemplate: {
|
|
2698
|
+
id: string;
|
|
2699
|
+
version: string;
|
|
2700
|
+
versionHistory: Array<{
|
|
2701
|
+
version: string;
|
|
2702
|
+
revision: number;
|
|
2703
|
+
templateText: string;
|
|
2704
|
+
variables: Record<string, unknown>;
|
|
2705
|
+
changelog: string | null;
|
|
2706
|
+
savedAt: string;
|
|
2707
|
+
savedById: string;
|
|
2708
|
+
}>;
|
|
2709
|
+
} | null;
|
|
2710
|
+
};
|
|
2530
2711
|
export type BotmanorRetentionStatusQueryVariables = Exact<{
|
|
2531
2712
|
[key: string]: never;
|
|
2532
2713
|
}>;
|
|
@@ -3101,6 +3282,7 @@ export type ForkInstalledPackageMutation = {
|
|
|
3101
3282
|
} | null;
|
|
3102
3283
|
};
|
|
3103
3284
|
};
|
|
3285
|
+
export declare const AgentBindingsFieldsFragmentDoc: Apollo.DocumentNode;
|
|
3104
3286
|
export declare const StorePackageFieldsFragmentDoc: Apollo.DocumentNode;
|
|
3105
3287
|
export declare const InstalledPackageFieldsFragmentDoc: Apollo.DocumentNode;
|
|
3106
3288
|
export declare const GetA2ARegistryEntryDocument: Apollo.DocumentNode;
|
|
@@ -3229,6 +3411,60 @@ export declare function useDeleteA2ARegistryEntryMutation(baseOptions?: ApolloRe
|
|
|
3229
3411
|
export type DeleteA2ARegistryEntryMutationHookResult = ReturnType<typeof useDeleteA2ARegistryEntryMutation>;
|
|
3230
3412
|
export type DeleteA2ARegistryEntryMutationResult = Apollo.MutationResult<Types.DeleteA2ARegistryEntryMutation>;
|
|
3231
3413
|
export type DeleteA2ARegistryEntryMutationOptions = Apollo.BaseMutationOptions<Types.DeleteA2ARegistryEntryMutation, Types.DeleteA2ARegistryEntryMutationVariables>;
|
|
3414
|
+
export declare const GetAgentBindingsDocument: Apollo.DocumentNode;
|
|
3415
|
+
/**
|
|
3416
|
+
* __useGetAgentBindingsQuery__
|
|
3417
|
+
*
|
|
3418
|
+
* To run a query within a React component, call `useGetAgentBindingsQuery` and pass it any options that fit your needs.
|
|
3419
|
+
* When your component renders, `useGetAgentBindingsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3420
|
+
* you can use to render your UI.
|
|
3421
|
+
*
|
|
3422
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3423
|
+
*
|
|
3424
|
+
* @example
|
|
3425
|
+
* const { data, loading, error } = useGetAgentBindingsQuery({
|
|
3426
|
+
* variables: {
|
|
3427
|
+
* agentId: // value for 'agentId'
|
|
3428
|
+
* },
|
|
3429
|
+
* });
|
|
3430
|
+
*/
|
|
3431
|
+
export declare function useGetAgentBindingsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables> & ({
|
|
3432
|
+
variables: Types.GetAgentBindingsQueryVariables;
|
|
3433
|
+
skip?: boolean;
|
|
3434
|
+
} | {
|
|
3435
|
+
skip: boolean;
|
|
3436
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables, "empty" | "complete" | "streaming", Types.GetAgentBindingsQueryVariables, undefined>;
|
|
3437
|
+
export declare function useGetAgentBindingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
3438
|
+
export declare function useGetAgentBindingsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables>;
|
|
3439
|
+
export declare function useGetAgentBindingsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAgentBindingsQuery | undefined, Types.GetAgentBindingsQueryVariables>;
|
|
3440
|
+
export type GetAgentBindingsQueryHookResult = ReturnType<typeof useGetAgentBindingsQuery>;
|
|
3441
|
+
export type GetAgentBindingsLazyQueryHookResult = ReturnType<typeof useGetAgentBindingsLazyQuery>;
|
|
3442
|
+
export type GetAgentBindingsSuspenseQueryHookResult = ReturnType<typeof useGetAgentBindingsSuspenseQuery>;
|
|
3443
|
+
export type GetAgentBindingsQueryResult = Apollo.QueryResult<Types.GetAgentBindingsQuery, Types.GetAgentBindingsQueryVariables>;
|
|
3444
|
+
export declare const SetAgentBindingsDocument: Apollo.DocumentNode;
|
|
3445
|
+
export type SetAgentBindingsMutationFn = Apollo.MutationFunction<Types.SetAgentBindingsMutation, Types.SetAgentBindingsMutationVariables>;
|
|
3446
|
+
/**
|
|
3447
|
+
* __useSetAgentBindingsMutation__
|
|
3448
|
+
*
|
|
3449
|
+
* To run a mutation, you first call `useSetAgentBindingsMutation` within a React component and pass it any options that fit your needs.
|
|
3450
|
+
* When your component renders, `useSetAgentBindingsMutation` returns a tuple that includes:
|
|
3451
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3452
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3453
|
+
*
|
|
3454
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3455
|
+
*
|
|
3456
|
+
* @example
|
|
3457
|
+
* const [setAgentBindingsMutation, { data, loading, error }] = useSetAgentBindingsMutation({
|
|
3458
|
+
* variables: {
|
|
3459
|
+
* agentId: // value for 'agentId'
|
|
3460
|
+
* input: // value for 'input'
|
|
3461
|
+
* },
|
|
3462
|
+
* });
|
|
3463
|
+
*/
|
|
3464
|
+
export declare function useSetAgentBindingsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SetAgentBindingsMutation, Types.SetAgentBindingsMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.SetAgentBindingsMutation, any, Apollo.ApolloCache, undefined>;
|
|
3465
|
+
export type SetAgentBindingsMutationHookResult = ReturnType<typeof useSetAgentBindingsMutation>;
|
|
3466
|
+
export type SetAgentBindingsMutationResult = Apollo.MutationResult<Types.SetAgentBindingsMutation>;
|
|
3467
|
+
export type SetAgentBindingsMutationOptions = Apollo.BaseMutationOptions<Types.SetAgentBindingsMutation, Types.SetAgentBindingsMutationVariables>;
|
|
3232
3468
|
export declare const ListBotmanorAgentsDocument: Apollo.DocumentNode;
|
|
3233
3469
|
/**
|
|
3234
3470
|
* __useListBotmanorAgentsQuery__
|
|
@@ -5499,6 +5735,84 @@ export declare function useRenderPromptTemplateMutation(baseOptions?: ApolloReac
|
|
|
5499
5735
|
export type RenderPromptTemplateMutationHookResult = ReturnType<typeof useRenderPromptTemplateMutation>;
|
|
5500
5736
|
export type RenderPromptTemplateMutationResult = Apollo.MutationResult<Types.RenderPromptTemplateMutation>;
|
|
5501
5737
|
export type RenderPromptTemplateMutationOptions = Apollo.BaseMutationOptions<Types.RenderPromptTemplateMutation, Types.RenderPromptTemplateMutationVariables>;
|
|
5738
|
+
export declare const TestPromptTemplateDocument: Apollo.DocumentNode;
|
|
5739
|
+
export type TestPromptTemplateMutationFn = Apollo.MutationFunction<Types.TestPromptTemplateMutation, Types.TestPromptTemplateMutationVariables>;
|
|
5740
|
+
/**
|
|
5741
|
+
* __useTestPromptTemplateMutation__
|
|
5742
|
+
*
|
|
5743
|
+
* To run a mutation, you first call `useTestPromptTemplateMutation` within a React component and pass it any options that fit your needs.
|
|
5744
|
+
* When your component renders, `useTestPromptTemplateMutation` returns a tuple that includes:
|
|
5745
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5746
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5747
|
+
*
|
|
5748
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
5749
|
+
*
|
|
5750
|
+
* @example
|
|
5751
|
+
* const [testPromptTemplateMutation, { data, loading, error }] = useTestPromptTemplateMutation({
|
|
5752
|
+
* variables: {
|
|
5753
|
+
* id: // value for 'id'
|
|
5754
|
+
* input: // value for 'input'
|
|
5755
|
+
* },
|
|
5756
|
+
* });
|
|
5757
|
+
*/
|
|
5758
|
+
export declare function useTestPromptTemplateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TestPromptTemplateMutation, Types.TestPromptTemplateMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TestPromptTemplateMutation, any, Apollo.ApolloCache, undefined>;
|
|
5759
|
+
export type TestPromptTemplateMutationHookResult = ReturnType<typeof useTestPromptTemplateMutation>;
|
|
5760
|
+
export type TestPromptTemplateMutationResult = Apollo.MutationResult<Types.TestPromptTemplateMutation>;
|
|
5761
|
+
export type TestPromptTemplateMutationOptions = Apollo.BaseMutationOptions<Types.TestPromptTemplateMutation, Types.TestPromptTemplateMutationVariables>;
|
|
5762
|
+
export declare const SavePromptTemplateVersionDocument: Apollo.DocumentNode;
|
|
5763
|
+
export type SavePromptTemplateVersionMutationFn = Apollo.MutationFunction<Types.SavePromptTemplateVersionMutation, Types.SavePromptTemplateVersionMutationVariables>;
|
|
5764
|
+
/**
|
|
5765
|
+
* __useSavePromptTemplateVersionMutation__
|
|
5766
|
+
*
|
|
5767
|
+
* To run a mutation, you first call `useSavePromptTemplateVersionMutation` within a React component and pass it any options that fit your needs.
|
|
5768
|
+
* When your component renders, `useSavePromptTemplateVersionMutation` returns a tuple that includes:
|
|
5769
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5770
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5771
|
+
*
|
|
5772
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
5773
|
+
*
|
|
5774
|
+
* @example
|
|
5775
|
+
* const [savePromptTemplateVersionMutation, { data, loading, error }] = useSavePromptTemplateVersionMutation({
|
|
5776
|
+
* variables: {
|
|
5777
|
+
* id: // value for 'id'
|
|
5778
|
+
* input: // value for 'input'
|
|
5779
|
+
* },
|
|
5780
|
+
* });
|
|
5781
|
+
*/
|
|
5782
|
+
export declare function useSavePromptTemplateVersionMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.SavePromptTemplateVersionMutation, Types.SavePromptTemplateVersionMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.SavePromptTemplateVersionMutation, any, Apollo.ApolloCache, undefined>;
|
|
5783
|
+
export type SavePromptTemplateVersionMutationHookResult = ReturnType<typeof useSavePromptTemplateVersionMutation>;
|
|
5784
|
+
export type SavePromptTemplateVersionMutationResult = Apollo.MutationResult<Types.SavePromptTemplateVersionMutation>;
|
|
5785
|
+
export type SavePromptTemplateVersionMutationOptions = Apollo.BaseMutationOptions<Types.SavePromptTemplateVersionMutation, Types.SavePromptTemplateVersionMutationVariables>;
|
|
5786
|
+
export declare const GetPromptTemplateVersionsDocument: Apollo.DocumentNode;
|
|
5787
|
+
/**
|
|
5788
|
+
* __useGetPromptTemplateVersionsQuery__
|
|
5789
|
+
*
|
|
5790
|
+
* To run a query within a React component, call `useGetPromptTemplateVersionsQuery` and pass it any options that fit your needs.
|
|
5791
|
+
* When your component renders, `useGetPromptTemplateVersionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5792
|
+
* you can use to render your UI.
|
|
5793
|
+
*
|
|
5794
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
5795
|
+
*
|
|
5796
|
+
* @example
|
|
5797
|
+
* const { data, loading, error } = useGetPromptTemplateVersionsQuery({
|
|
5798
|
+
* variables: {
|
|
5799
|
+
* id: // value for 'id'
|
|
5800
|
+
* },
|
|
5801
|
+
* });
|
|
5802
|
+
*/
|
|
5803
|
+
export declare function useGetPromptTemplateVersionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables> & ({
|
|
5804
|
+
variables: Types.GetPromptTemplateVersionsQueryVariables;
|
|
5805
|
+
skip?: boolean;
|
|
5806
|
+
} | {
|
|
5807
|
+
skip: boolean;
|
|
5808
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables, "empty" | "complete" | "streaming", Types.GetPromptTemplateVersionsQueryVariables, undefined>;
|
|
5809
|
+
export declare function useGetPromptTemplateVersionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
5810
|
+
export declare function useGetPromptTemplateVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables>;
|
|
5811
|
+
export declare function useGetPromptTemplateVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetPromptTemplateVersionsQuery | undefined, Types.GetPromptTemplateVersionsQueryVariables>;
|
|
5812
|
+
export type GetPromptTemplateVersionsQueryHookResult = ReturnType<typeof useGetPromptTemplateVersionsQuery>;
|
|
5813
|
+
export type GetPromptTemplateVersionsLazyQueryHookResult = ReturnType<typeof useGetPromptTemplateVersionsLazyQuery>;
|
|
5814
|
+
export type GetPromptTemplateVersionsSuspenseQueryHookResult = ReturnType<typeof useGetPromptTemplateVersionsSuspenseQuery>;
|
|
5815
|
+
export type GetPromptTemplateVersionsQueryResult = Apollo.QueryResult<Types.GetPromptTemplateVersionsQuery, Types.GetPromptTemplateVersionsQueryVariables>;
|
|
5502
5816
|
export declare const BotmanorRetentionStatusDocument: Apollo.DocumentNode;
|
|
5503
5817
|
/**
|
|
5504
5818
|
* __useBotmanorRetentionStatusQuery__
|