@droz-js/sdk 0.19.21 → 0.19.22
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/package.json +1 -1
- package/src/drozai.d.ts +27 -0
- package/src/sdks/ai.d.ts +84 -0
- package/src/sdks/ai.js +119 -1
package/package.json
CHANGED
package/src/drozai.d.ts
CHANGED
|
@@ -6,6 +6,33 @@ declare const DrozAi_base: new (options?: import("./client/http").HttpClientOpti
|
|
|
6
6
|
withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
|
|
7
7
|
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
|
|
8
8
|
} & {
|
|
9
|
+
listAiAgents(variables?: import("./sdks/ai").Exact<{
|
|
10
|
+
[key: string]: never;
|
|
11
|
+
}>, options?: unknown): Promise<import("./sdks/ai").ListAiAgentsQuery>;
|
|
12
|
+
listAiAgentVersions(variables: import("./sdks/ai").Exact<{
|
|
13
|
+
agentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
14
|
+
}>, options?: unknown): Promise<import("./sdks/ai").ListAiAgentVersionsQuery>;
|
|
15
|
+
aiAgentMetricsByAgent(variables: import("./sdks/ai").Exact<{
|
|
16
|
+
input: import("./sdks/ai").AiAgentMetricsWindowInput;
|
|
17
|
+
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentMetricsByAgentQuery>;
|
|
18
|
+
draftAiAgent(variables: import("./sdks/ai").Exact<{
|
|
19
|
+
input: import("./sdks/ai").DraftAiAgentInput;
|
|
20
|
+
}>, options?: unknown): Promise<import("./sdks/ai").DraftAiAgentMutation>;
|
|
21
|
+
publishAiAgentVersion(variables: import("./sdks/ai").Exact<{
|
|
22
|
+
input: import("./sdks/ai").AiAgentVersionRefInput;
|
|
23
|
+
}>, options?: unknown): Promise<import("./sdks/ai").PublishAiAgentVersionMutation>;
|
|
24
|
+
unpublishAiAgentVersion(variables: import("./sdks/ai").Exact<{
|
|
25
|
+
input: import("./sdks/ai").AiAgentVersionRefInput;
|
|
26
|
+
}>, options?: unknown): Promise<import("./sdks/ai").UnpublishAiAgentVersionMutation>;
|
|
27
|
+
rollbackAiAgentVersion(variables: import("./sdks/ai").Exact<{
|
|
28
|
+
input: import("./sdks/ai").AiAgentVersionRefInput;
|
|
29
|
+
}>, options?: unknown): Promise<import("./sdks/ai").RollbackAiAgentVersionMutation>;
|
|
30
|
+
removeAiAgentVersion(variables: import("./sdks/ai").Exact<{
|
|
31
|
+
input: import("./sdks/ai").AiAgentVersionRefInput;
|
|
32
|
+
}>, options?: unknown): Promise<import("./sdks/ai").RemoveAiAgentVersionMutation>;
|
|
33
|
+
removeAiAgent(variables: import("./sdks/ai").Exact<{
|
|
34
|
+
input: import("./sdks/ai").AiAgentRefInput;
|
|
35
|
+
}>, options?: unknown): Promise<import("./sdks/ai").RemoveAiAgentMutation>;
|
|
9
36
|
extractImageMetadata(variables: import("./sdks/ai").Exact<{
|
|
10
37
|
input: import("./sdks/ai").ExtractImageMetadataInput;
|
|
11
38
|
}>, options?: unknown): Promise<import("./sdks/ai").ExtractImageMetadataMutation>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -312,6 +312,9 @@ export type AiAgentProcedure = {
|
|
|
312
312
|
toolIds: Array<Scalars['ID']['output']>;
|
|
313
313
|
updatedAt: Scalars['Number']['output'];
|
|
314
314
|
};
|
|
315
|
+
export type AiAgentRefInput = {
|
|
316
|
+
agentId: Scalars['ID']['input'];
|
|
317
|
+
};
|
|
315
318
|
export type AiAgentRegression = {
|
|
316
319
|
after: Scalars['Float']['output'];
|
|
317
320
|
before: Scalars['Float']['output'];
|
|
@@ -576,6 +579,8 @@ export type Mutation = {
|
|
|
576
579
|
extractImageMetadata: ExtractImageMetadataResult;
|
|
577
580
|
publishAiAgentVersion: Array<AiAgentVersion>;
|
|
578
581
|
registerAiAgentTool?: Maybe<AiAgentTool>;
|
|
582
|
+
/** Apaga o agente e a autoria dele. Agente no ar precisa ser pausado antes. */
|
|
583
|
+
removeAiAgent: Scalars['Boolean']['output'];
|
|
579
584
|
removeAiAgentProcedure: Scalars['Boolean']['output'];
|
|
580
585
|
removeAiAgentUseCase: Scalars['Boolean']['output'];
|
|
581
586
|
removeAiAgentVersion: Array<AiAgentVersion>;
|
|
@@ -615,6 +620,9 @@ export type MutationPublishAiAgentVersionArgs = {
|
|
|
615
620
|
export type MutationRegisterAiAgentToolArgs = {
|
|
616
621
|
input: RegisterAiAgentToolInput;
|
|
617
622
|
};
|
|
623
|
+
export type MutationRemoveAiAgentArgs = {
|
|
624
|
+
input: AiAgentRefInput;
|
|
625
|
+
};
|
|
618
626
|
export type MutationRemoveAiAgentProcedureArgs = {
|
|
619
627
|
input: AiAgentAuthoringRefInput;
|
|
620
628
|
};
|
|
@@ -958,6 +966,61 @@ export type UpdateQnAInstanceInput = {
|
|
|
958
966
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
959
967
|
tryToReplyOnTransition?: InputMaybe<Scalars['Boolean']['input']>;
|
|
960
968
|
};
|
|
969
|
+
export type AiAgentSummaryFragment = Pick<AiAgentSummary, 'agentId' | 'name' | 'liveVersion' | 'channels' | 'updatedAt' | 'queuedApprovals' | 'status'>;
|
|
970
|
+
export type AiAgentVersionFragment = Pick<AiAgentVersion, 'agentId' | 'version' | 'status' | 'createdAt'>;
|
|
971
|
+
export type AiAgentListingMetricsFragment = Pick<AiAgentMetrics, 'agentId' | 'conversations' | 'conversationsResolved' | 'conversationsHandoffRequested' | 'resolutionRate' | 'resolutionDefinition' | 'costMicroUsd'>;
|
|
972
|
+
export type ListAiAgentsQueryVariables = Exact<{
|
|
973
|
+
[key: string]: never;
|
|
974
|
+
}>;
|
|
975
|
+
export type ListAiAgentsQuery = {
|
|
976
|
+
listAiAgents: Array<AiAgentSummaryFragment>;
|
|
977
|
+
};
|
|
978
|
+
export type ListAiAgentVersionsQueryVariables = Exact<{
|
|
979
|
+
agentId: Scalars['ID']['input'];
|
|
980
|
+
}>;
|
|
981
|
+
export type ListAiAgentVersionsQuery = {
|
|
982
|
+
listAiAgentVersions: Array<AiAgentVersionFragment>;
|
|
983
|
+
};
|
|
984
|
+
export type AiAgentMetricsByAgentQueryVariables = Exact<{
|
|
985
|
+
input: AiAgentMetricsWindowInput;
|
|
986
|
+
}>;
|
|
987
|
+
export type AiAgentMetricsByAgentQuery = {
|
|
988
|
+
aiAgentMetricsByAgent: Array<AiAgentListingMetricsFragment>;
|
|
989
|
+
};
|
|
990
|
+
export type DraftAiAgentMutationVariables = Exact<{
|
|
991
|
+
input: DraftAiAgentInput;
|
|
992
|
+
}>;
|
|
993
|
+
export type DraftAiAgentMutation = {
|
|
994
|
+
draftAiAgent?: Maybe<AiAgentVersionFragment>;
|
|
995
|
+
};
|
|
996
|
+
export type PublishAiAgentVersionMutationVariables = Exact<{
|
|
997
|
+
input: AiAgentVersionRefInput;
|
|
998
|
+
}>;
|
|
999
|
+
export type PublishAiAgentVersionMutation = {
|
|
1000
|
+
publishAiAgentVersion: Array<AiAgentVersionFragment>;
|
|
1001
|
+
};
|
|
1002
|
+
export type UnpublishAiAgentVersionMutationVariables = Exact<{
|
|
1003
|
+
input: AiAgentVersionRefInput;
|
|
1004
|
+
}>;
|
|
1005
|
+
export type UnpublishAiAgentVersionMutation = {
|
|
1006
|
+
unpublishAiAgentVersion: Array<AiAgentVersionFragment>;
|
|
1007
|
+
};
|
|
1008
|
+
export type RollbackAiAgentVersionMutationVariables = Exact<{
|
|
1009
|
+
input: AiAgentVersionRefInput;
|
|
1010
|
+
}>;
|
|
1011
|
+
export type RollbackAiAgentVersionMutation = {
|
|
1012
|
+
rollbackAiAgentVersion: Array<AiAgentVersionFragment>;
|
|
1013
|
+
};
|
|
1014
|
+
export type RemoveAiAgentVersionMutationVariables = Exact<{
|
|
1015
|
+
input: AiAgentVersionRefInput;
|
|
1016
|
+
}>;
|
|
1017
|
+
export type RemoveAiAgentVersionMutation = {
|
|
1018
|
+
removeAiAgentVersion: Array<AiAgentVersionFragment>;
|
|
1019
|
+
};
|
|
1020
|
+
export type RemoveAiAgentMutationVariables = Exact<{
|
|
1021
|
+
input: AiAgentRefInput;
|
|
1022
|
+
}>;
|
|
1023
|
+
export type RemoveAiAgentMutation = Pick<Mutation, 'removeAiAgent'>;
|
|
961
1024
|
export type ExtractImageMetadataMutationVariables = Exact<{
|
|
962
1025
|
input: ExtractImageMetadataInput;
|
|
963
1026
|
}>;
|
|
@@ -1047,8 +1110,20 @@ export type RemoveQnAInstanceMutationVariables = Exact<{
|
|
|
1047
1110
|
export type RemoveQnAInstanceMutation = {
|
|
1048
1111
|
removeQnAInstance?: Maybe<QnaFragmentFragment>;
|
|
1049
1112
|
};
|
|
1113
|
+
export declare const AiAgentSummaryFragmentDoc = "\n fragment aiAgentSummary on AiAgentSummary {\n agentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n status\n}\n ";
|
|
1114
|
+
export declare const AiAgentVersionFragmentDoc = "\n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1115
|
+
export declare const AiAgentListingMetricsFragmentDoc = "\n fragment aiAgentListingMetrics on AiAgentMetrics {\n agentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolutionDefinition\n costMicroUsd\n}\n ";
|
|
1050
1116
|
export declare const NlpInstanceFragmentDoc = "\n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
1051
1117
|
export declare const QnaFragmentFragmentDoc = "\n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
1118
|
+
export declare const ListAiAgentsDocument = "\n query listAiAgents {\n listAiAgents {\n ...aiAgentSummary\n }\n}\n \n fragment aiAgentSummary on AiAgentSummary {\n agentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n status\n}\n ";
|
|
1119
|
+
export declare const ListAiAgentVersionsDocument = "\n query listAiAgentVersions($agentId: ID!) {\n listAiAgentVersions(agentId: $agentId) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1120
|
+
export declare const AiAgentMetricsByAgentDocument = "\n query aiAgentMetricsByAgent($input: AiAgentMetricsWindowInput!) {\n aiAgentMetricsByAgent(input: $input) {\n ...aiAgentListingMetrics\n }\n}\n \n fragment aiAgentListingMetrics on AiAgentMetrics {\n agentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolutionDefinition\n costMicroUsd\n}\n ";
|
|
1121
|
+
export declare const DraftAiAgentDocument = "\n mutation draftAiAgent($input: DraftAiAgentInput!) {\n draftAiAgent(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1122
|
+
export declare const PublishAiAgentVersionDocument = "\n mutation publishAiAgentVersion($input: AiAgentVersionRefInput!) {\n publishAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1123
|
+
export declare const UnpublishAiAgentVersionDocument = "\n mutation unpublishAiAgentVersion($input: AiAgentVersionRefInput!) {\n unpublishAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1124
|
+
export declare const RollbackAiAgentVersionDocument = "\n mutation rollbackAiAgentVersion($input: AiAgentVersionRefInput!) {\n rollbackAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1125
|
+
export declare const RemoveAiAgentVersionDocument = "\n mutation removeAiAgentVersion($input: AiAgentVersionRefInput!) {\n removeAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n agentId\n version\n status\n createdAt\n}\n ";
|
|
1126
|
+
export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
|
|
1052
1127
|
export declare const ExtractImageMetadataDocument = "\n mutation extractImageMetadata($input: ExtractImageMetadataInput!) {\n extractImageMetadata(input: $input) {\n success\n model\n extractedMetadata\n tokenUsage {\n prompt\n completion\n total\n }\n }\n}\n ";
|
|
1053
1128
|
export declare const GetNlpInstanceDocument = "\n query getNlpInstance($id: ID!) {\n getNlpInstance(id: $id) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
1054
1129
|
export declare const ListNlpInstancesDocument = "\n query listNlpInstances {\n listNlpInstances {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1064,6 +1139,15 @@ export declare const UpdateQnAInstanceDocument = "\n mutation updateQnAInstan
|
|
|
1064
1139
|
export declare const RemoveQnAInstanceDocument = "\n mutation removeQnAInstance($input: RemoveQnAInstanceInput!) {\n removeQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
1065
1140
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
1066
1141
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
1142
|
+
listAiAgents(variables?: ListAiAgentsQueryVariables, options?: C): Promise<ListAiAgentsQuery>;
|
|
1143
|
+
listAiAgentVersions(variables: ListAiAgentVersionsQueryVariables, options?: C): Promise<ListAiAgentVersionsQuery>;
|
|
1144
|
+
aiAgentMetricsByAgent(variables: AiAgentMetricsByAgentQueryVariables, options?: C): Promise<AiAgentMetricsByAgentQuery>;
|
|
1145
|
+
draftAiAgent(variables: DraftAiAgentMutationVariables, options?: C): Promise<DraftAiAgentMutation>;
|
|
1146
|
+
publishAiAgentVersion(variables: PublishAiAgentVersionMutationVariables, options?: C): Promise<PublishAiAgentVersionMutation>;
|
|
1147
|
+
unpublishAiAgentVersion(variables: UnpublishAiAgentVersionMutationVariables, options?: C): Promise<UnpublishAiAgentVersionMutation>;
|
|
1148
|
+
rollbackAiAgentVersion(variables: RollbackAiAgentVersionMutationVariables, options?: C): Promise<RollbackAiAgentVersionMutation>;
|
|
1149
|
+
removeAiAgentVersion(variables: RemoveAiAgentVersionMutationVariables, options?: C): Promise<RemoveAiAgentVersionMutation>;
|
|
1150
|
+
removeAiAgent(variables: RemoveAiAgentMutationVariables, options?: C): Promise<RemoveAiAgentMutation>;
|
|
1067
1151
|
extractImageMetadata(variables: ExtractImageMetadataMutationVariables, options?: C): Promise<ExtractImageMetadataMutation>;
|
|
1068
1152
|
getNlpInstance(variables: GetNlpInstanceQueryVariables, options?: C): Promise<GetNlpInstanceQuery>;
|
|
1069
1153
|
listNlpInstances(variables?: ListNlpInstancesQueryVariables, options?: C): Promise<ListNlpInstancesQuery>;
|
package/src/sdks/ai.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.Typenames = exports.ToolParameterType = exports.ToolEffect = exports.ToolAvailability = exports.TonePreset = exports.ParameterGrounding = exports.Can = exports.BudgetExceededAction = exports.AppInstanceStatus = exports.AiAgentVersionStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.RemoveAiAgentDocument = exports.RemoveAiAgentVersionDocument = exports.RollbackAiAgentVersionDocument = exports.UnpublishAiAgentVersionDocument = exports.PublishAiAgentVersionDocument = exports.DraftAiAgentDocument = exports.AiAgentMetricsByAgentDocument = exports.ListAiAgentVersionsDocument = exports.ListAiAgentsDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.AiAgentListingMetricsFragmentDoc = exports.AiAgentVersionFragmentDoc = exports.AiAgentSummaryFragmentDoc = exports.Typenames = exports.ToolParameterType = exports.ToolEffect = exports.ToolAvailability = exports.TonePreset = exports.ParameterGrounding = exports.Can = exports.BudgetExceededAction = exports.AppInstanceStatus = exports.AiAgentVersionStatus = void 0;
|
|
5
5
|
exports.getSdk = getSdk;
|
|
6
6
|
var AiAgentVersionStatus;
|
|
7
7
|
(function (AiAgentVersionStatus) {
|
|
@@ -76,6 +76,36 @@ var Typenames;
|
|
|
76
76
|
Typenames["NlpEmbeddings"] = "NlpEmbeddings";
|
|
77
77
|
Typenames["QnA"] = "QnA";
|
|
78
78
|
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
79
|
+
exports.AiAgentSummaryFragmentDoc = `
|
|
80
|
+
fragment aiAgentSummary on AiAgentSummary {
|
|
81
|
+
agentId
|
|
82
|
+
name
|
|
83
|
+
liveVersion
|
|
84
|
+
channels
|
|
85
|
+
updatedAt
|
|
86
|
+
queuedApprovals
|
|
87
|
+
status
|
|
88
|
+
}
|
|
89
|
+
`;
|
|
90
|
+
exports.AiAgentVersionFragmentDoc = `
|
|
91
|
+
fragment aiAgentVersion on AiAgentVersion {
|
|
92
|
+
agentId
|
|
93
|
+
version
|
|
94
|
+
status
|
|
95
|
+
createdAt
|
|
96
|
+
}
|
|
97
|
+
`;
|
|
98
|
+
exports.AiAgentListingMetricsFragmentDoc = `
|
|
99
|
+
fragment aiAgentListingMetrics on AiAgentMetrics {
|
|
100
|
+
agentId
|
|
101
|
+
conversations
|
|
102
|
+
conversationsResolved
|
|
103
|
+
conversationsHandoffRequested
|
|
104
|
+
resolutionRate
|
|
105
|
+
resolutionDefinition
|
|
106
|
+
costMicroUsd
|
|
107
|
+
}
|
|
108
|
+
`;
|
|
79
109
|
exports.NlpInstanceFragmentDoc = `
|
|
80
110
|
fragment nlpInstance on NlpInstance {
|
|
81
111
|
id
|
|
@@ -100,6 +130,67 @@ exports.QnaFragmentFragmentDoc = `
|
|
|
100
130
|
updatedAt
|
|
101
131
|
}
|
|
102
132
|
`;
|
|
133
|
+
exports.ListAiAgentsDocument = `
|
|
134
|
+
query listAiAgents {
|
|
135
|
+
listAiAgents {
|
|
136
|
+
...aiAgentSummary
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
${exports.AiAgentSummaryFragmentDoc}`;
|
|
140
|
+
exports.ListAiAgentVersionsDocument = `
|
|
141
|
+
query listAiAgentVersions($agentId: ID!) {
|
|
142
|
+
listAiAgentVersions(agentId: $agentId) {
|
|
143
|
+
...aiAgentVersion
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
${exports.AiAgentVersionFragmentDoc}`;
|
|
147
|
+
exports.AiAgentMetricsByAgentDocument = `
|
|
148
|
+
query aiAgentMetricsByAgent($input: AiAgentMetricsWindowInput!) {
|
|
149
|
+
aiAgentMetricsByAgent(input: $input) {
|
|
150
|
+
...aiAgentListingMetrics
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
${exports.AiAgentListingMetricsFragmentDoc}`;
|
|
154
|
+
exports.DraftAiAgentDocument = `
|
|
155
|
+
mutation draftAiAgent($input: DraftAiAgentInput!) {
|
|
156
|
+
draftAiAgent(input: $input) {
|
|
157
|
+
...aiAgentVersion
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
${exports.AiAgentVersionFragmentDoc}`;
|
|
161
|
+
exports.PublishAiAgentVersionDocument = `
|
|
162
|
+
mutation publishAiAgentVersion($input: AiAgentVersionRefInput!) {
|
|
163
|
+
publishAiAgentVersion(input: $input) {
|
|
164
|
+
...aiAgentVersion
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
${exports.AiAgentVersionFragmentDoc}`;
|
|
168
|
+
exports.UnpublishAiAgentVersionDocument = `
|
|
169
|
+
mutation unpublishAiAgentVersion($input: AiAgentVersionRefInput!) {
|
|
170
|
+
unpublishAiAgentVersion(input: $input) {
|
|
171
|
+
...aiAgentVersion
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
${exports.AiAgentVersionFragmentDoc}`;
|
|
175
|
+
exports.RollbackAiAgentVersionDocument = `
|
|
176
|
+
mutation rollbackAiAgentVersion($input: AiAgentVersionRefInput!) {
|
|
177
|
+
rollbackAiAgentVersion(input: $input) {
|
|
178
|
+
...aiAgentVersion
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
${exports.AiAgentVersionFragmentDoc}`;
|
|
182
|
+
exports.RemoveAiAgentVersionDocument = `
|
|
183
|
+
mutation removeAiAgentVersion($input: AiAgentVersionRefInput!) {
|
|
184
|
+
removeAiAgentVersion(input: $input) {
|
|
185
|
+
...aiAgentVersion
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
${exports.AiAgentVersionFragmentDoc}`;
|
|
189
|
+
exports.RemoveAiAgentDocument = `
|
|
190
|
+
mutation removeAiAgent($input: AiAgentRefInput!) {
|
|
191
|
+
removeAiAgent(input: $input)
|
|
192
|
+
}
|
|
193
|
+
`;
|
|
103
194
|
exports.ExtractImageMetadataDocument = `
|
|
104
195
|
mutation extractImageMetadata($input: ExtractImageMetadataInput!) {
|
|
105
196
|
extractImageMetadata(input: $input) {
|
|
@@ -207,6 +298,33 @@ exports.RemoveQnAInstanceDocument = `
|
|
|
207
298
|
${exports.QnaFragmentFragmentDoc}`;
|
|
208
299
|
function getSdk(requester) {
|
|
209
300
|
return {
|
|
301
|
+
listAiAgents(variables, options) {
|
|
302
|
+
return requester(exports.ListAiAgentsDocument, variables, options);
|
|
303
|
+
},
|
|
304
|
+
listAiAgentVersions(variables, options) {
|
|
305
|
+
return requester(exports.ListAiAgentVersionsDocument, variables, options);
|
|
306
|
+
},
|
|
307
|
+
aiAgentMetricsByAgent(variables, options) {
|
|
308
|
+
return requester(exports.AiAgentMetricsByAgentDocument, variables, options);
|
|
309
|
+
},
|
|
310
|
+
draftAiAgent(variables, options) {
|
|
311
|
+
return requester(exports.DraftAiAgentDocument, variables, options);
|
|
312
|
+
},
|
|
313
|
+
publishAiAgentVersion(variables, options) {
|
|
314
|
+
return requester(exports.PublishAiAgentVersionDocument, variables, options);
|
|
315
|
+
},
|
|
316
|
+
unpublishAiAgentVersion(variables, options) {
|
|
317
|
+
return requester(exports.UnpublishAiAgentVersionDocument, variables, options);
|
|
318
|
+
},
|
|
319
|
+
rollbackAiAgentVersion(variables, options) {
|
|
320
|
+
return requester(exports.RollbackAiAgentVersionDocument, variables, options);
|
|
321
|
+
},
|
|
322
|
+
removeAiAgentVersion(variables, options) {
|
|
323
|
+
return requester(exports.RemoveAiAgentVersionDocument, variables, options);
|
|
324
|
+
},
|
|
325
|
+
removeAiAgent(variables, options) {
|
|
326
|
+
return requester(exports.RemoveAiAgentDocument, variables, options);
|
|
327
|
+
},
|
|
210
328
|
extractImageMetadata(variables, options) {
|
|
211
329
|
return requester(exports.ExtractImageMetadataDocument, variables, options);
|
|
212
330
|
},
|