@droz-js/sdk 0.26.18 → 0.26.20
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/drozadmin.d.ts +6 -3
- package/src/drozai.d.ts +9 -0
- package/src/sdks/ai.d.ts +128 -13
- package/src/sdks/ai.js +98 -3
- package/src/sdks/drozchat.d.ts +287 -0
- package/src/sdks/drozchat.js +93 -4
- package/src/sdks/drozcommons.d.ts +54 -26
- package/src/sdks/drozcommons.js +31 -8
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -140,9 +140,12 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
140
140
|
rollbackPlatformTextVersion(variables: import("./sdks/drozcommons").Exact<{
|
|
141
141
|
input: import("./sdks/drozcommons").PlatformTextVersionRefInput;
|
|
142
142
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").RollbackPlatformTextVersionMutation>;
|
|
143
|
-
|
|
144
|
-
input: import("./sdks/drozcommons").
|
|
145
|
-
}>, options?: unknown): Promise<import("./sdks/drozcommons").
|
|
143
|
+
discardPlatformTextDraft(variables: import("./sdks/drozcommons").Exact<{
|
|
144
|
+
input: import("./sdks/drozcommons").PlatformTextVersionRefInput;
|
|
145
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").DiscardPlatformTextDraftMutation>;
|
|
146
|
+
unpublishPlatformText(variables: import("./sdks/drozcommons").Exact<{
|
|
147
|
+
input: import("./sdks/drozcommons").PlatformTextScopeInput;
|
|
148
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").UnpublishPlatformTextMutation>;
|
|
146
149
|
listQueueHealthSummary(variables?: import("./sdks/drozcommons").Exact<{
|
|
147
150
|
[key: string]: never;
|
|
148
151
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListQueueHealthSummaryQuery>;
|
package/src/drozai.d.ts
CHANGED
|
@@ -61,6 +61,15 @@ declare const DrozAi_base: new (options?: import("./client/http").HttpClientOpti
|
|
|
61
61
|
aiAgentRetentionPolicy(variables?: import("./sdks/ai").Exact<{
|
|
62
62
|
[key: string]: never;
|
|
63
63
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentRetentionPolicyQuery>;
|
|
64
|
+
setAiAgentBusinessHours(variables: import("./sdks/ai").Exact<{
|
|
65
|
+
input: import("./sdks/ai").SetAiAgentBusinessHoursInput;
|
|
66
|
+
}>, options?: unknown): Promise<import("./sdks/ai").SetAiAgentBusinessHoursMutation>;
|
|
67
|
+
aiAgentApprovalQueueAlerts(variables?: import("./sdks/ai").Exact<{
|
|
68
|
+
[key: string]: never;
|
|
69
|
+
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentApprovalQueueAlertsQuery>;
|
|
70
|
+
aiAgentBusinessHours(variables?: import("./sdks/ai").Exact<{
|
|
71
|
+
[key: string]: never;
|
|
72
|
+
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentBusinessHoursQuery>;
|
|
64
73
|
aiAgentConversationMetrics(variables: import("./sdks/ai").Exact<{
|
|
65
74
|
input: import("./sdks/ai").AiAgentConversationMetricsInput;
|
|
66
75
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentConversationMetricsQuery>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -168,11 +168,24 @@ export type AiAgentApprovalPage = {
|
|
|
168
168
|
nextCursor?: Maybe<Scalars['String']['output']>;
|
|
169
169
|
nodes: Array<AiAgentApproval>;
|
|
170
170
|
};
|
|
171
|
+
export type AiAgentApprovalQueueAlert = {
|
|
172
|
+
aiAgentId: Scalars['ID']['output'];
|
|
173
|
+
approvalQueueId: Scalars['ID']['output'];
|
|
174
|
+
procedureId: Scalars['ID']['output'];
|
|
175
|
+
procedureName: Scalars['String']['output'];
|
|
176
|
+
};
|
|
177
|
+
export declare enum AiAgentApprovalRouting {
|
|
178
|
+
Chat = "CHAT",
|
|
179
|
+
Legacy = "LEGACY"
|
|
180
|
+
}
|
|
171
181
|
export declare enum AiAgentApprovalStatus {
|
|
172
182
|
Approved = "approved",
|
|
183
|
+
Cancelled = "cancelled",
|
|
173
184
|
Expired = "expired",
|
|
174
185
|
Pending = "pending",
|
|
175
|
-
Rejected = "rejected"
|
|
186
|
+
Rejected = "rejected",
|
|
187
|
+
Requesting = "requesting",
|
|
188
|
+
Unavailable = "unavailable"
|
|
176
189
|
}
|
|
177
190
|
export type AiAgentAuthoringRefInput = {
|
|
178
191
|
aiAgentId: Scalars['ID']['input'];
|
|
@@ -184,6 +197,7 @@ export type AiAgentAuthoringRules = {
|
|
|
184
197
|
maxAuthoredFieldLength: Scalars['Int']['output'];
|
|
185
198
|
maxAutomaticMessageChars: Scalars['Int']['output'];
|
|
186
199
|
maxReplySubjectChars: Scalars['Int']['output'];
|
|
200
|
+
maxToneNotesLength: Scalars['Int']['output'];
|
|
187
201
|
};
|
|
188
202
|
export type AiAgentBudget = {
|
|
189
203
|
maxCostMicroUsd?: Maybe<Scalars['Int']['output']>;
|
|
@@ -201,6 +215,57 @@ export type AiAgentBudgetInput = {
|
|
|
201
215
|
maxToolCalls: Scalars['Int']['input'];
|
|
202
216
|
onExceeded: BudgetExceededAction;
|
|
203
217
|
};
|
|
218
|
+
export type AiAgentBusinessHours = {
|
|
219
|
+
alert?: Maybe<AiAgentBusinessHoursAlert>;
|
|
220
|
+
days: Array<AiAgentBusinessHoursDay>;
|
|
221
|
+
product?: Maybe<Scalars['String']['output']>;
|
|
222
|
+
receivedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
223
|
+
recordId?: Maybe<Scalars['String']['output']>;
|
|
224
|
+
source: AiAgentBusinessHoursSource;
|
|
225
|
+
status: AiAgentBusinessHoursStatus;
|
|
226
|
+
};
|
|
227
|
+
export declare enum AiAgentBusinessHoursAlert {
|
|
228
|
+
NotConfigured = "NOT_CONFIGURED",
|
|
229
|
+
NotReceived = "NOT_RECEIVED",
|
|
230
|
+
NoDayOn = "NO_DAY_ON",
|
|
231
|
+
RecordRenamed = "RECORD_RENAMED"
|
|
232
|
+
}
|
|
233
|
+
export type AiAgentBusinessHoursDay = {
|
|
234
|
+
enabled: Scalars['Boolean']['output'];
|
|
235
|
+
slots: Array<AiAgentBusinessHoursSlot>;
|
|
236
|
+
weekday: AiAgentBusinessHoursWeekday;
|
|
237
|
+
};
|
|
238
|
+
export type AiAgentBusinessHoursDayInput = {
|
|
239
|
+
enabled: Scalars['Boolean']['input'];
|
|
240
|
+
slots: Array<AiAgentBusinessHoursSlotInput>;
|
|
241
|
+
weekday: AiAgentBusinessHoursWeekday;
|
|
242
|
+
};
|
|
243
|
+
export type AiAgentBusinessHoursSlot = {
|
|
244
|
+
end: Scalars['String']['output'];
|
|
245
|
+
start: Scalars['String']['output'];
|
|
246
|
+
};
|
|
247
|
+
export type AiAgentBusinessHoursSlotInput = {
|
|
248
|
+
end: Scalars['String']['input'];
|
|
249
|
+
start: Scalars['String']['input'];
|
|
250
|
+
};
|
|
251
|
+
export declare enum AiAgentBusinessHoursSource {
|
|
252
|
+
DrozChat = "DROZ_CHAT",
|
|
253
|
+
Manual = "MANUAL"
|
|
254
|
+
}
|
|
255
|
+
export declare enum AiAgentBusinessHoursStatus {
|
|
256
|
+
Inside = "INSIDE",
|
|
257
|
+
Outside = "OUTSIDE",
|
|
258
|
+
Unknown = "UNKNOWN"
|
|
259
|
+
}
|
|
260
|
+
export declare enum AiAgentBusinessHoursWeekday {
|
|
261
|
+
Friday = "FRIDAY",
|
|
262
|
+
Monday = "MONDAY",
|
|
263
|
+
Saturday = "SATURDAY",
|
|
264
|
+
Sunday = "SUNDAY",
|
|
265
|
+
Thursday = "THURSDAY",
|
|
266
|
+
Tuesday = "TUESDAY",
|
|
267
|
+
Wednesday = "WEDNESDAY"
|
|
268
|
+
}
|
|
204
269
|
export type AiAgentCampaignInput = {
|
|
205
270
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
206
271
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -698,6 +763,7 @@ export type AiAgentObjectionInput = {
|
|
|
698
763
|
response: Scalars['String']['input'];
|
|
699
764
|
};
|
|
700
765
|
export type AiAgentProcedure = {
|
|
766
|
+
approvalQueueId?: Maybe<Scalars['String']['output']>;
|
|
701
767
|
approvedReplyTemplate?: Maybe<Scalars['String']['output']>;
|
|
702
768
|
contingency: Scalars['String']['output'];
|
|
703
769
|
continuesAfterApproval: Scalars['Boolean']['output'];
|
|
@@ -816,6 +882,7 @@ export declare enum AiAgentSortDirection {
|
|
|
816
882
|
export type AiAgentSpec = {
|
|
817
883
|
/** @deprecated Ignorado. O tipo da ferramenta sai do método do conector. O campo sai na próxima versão. */
|
|
818
884
|
allowWriteTools?: Maybe<Scalars['Boolean']['output']>;
|
|
885
|
+
approvalRouting: AiAgentApprovalRouting;
|
|
819
886
|
budget: AiAgentBudget;
|
|
820
887
|
can: Array<Scalars['String']['output']>;
|
|
821
888
|
cannot: Array<Scalars['String']['output']>;
|
|
@@ -832,6 +899,7 @@ export type AiAgentSpec = {
|
|
|
832
899
|
export type AiAgentSpecInput = {
|
|
833
900
|
/** @deprecated Ignorado. O tipo da ferramenta sai do método do conector. O campo sai na próxima versão. */
|
|
834
901
|
allowWriteTools?: InputMaybe<Scalars['Boolean']['input']>;
|
|
902
|
+
approvalRouting?: InputMaybe<AiAgentApprovalRouting>;
|
|
835
903
|
budget: AiAgentBudgetInput;
|
|
836
904
|
can: Array<Scalars['String']['input']>;
|
|
837
905
|
cannot: Array<Scalars['String']['input']>;
|
|
@@ -848,6 +916,7 @@ export type AiAgentSpecInput = {
|
|
|
848
916
|
export type AiAgentSummary = {
|
|
849
917
|
aiAgentId: Scalars['ID']['output'];
|
|
850
918
|
channels: Array<Scalars['String']['output']>;
|
|
919
|
+
hasHumanIntervention: Scalars['Boolean']['output'];
|
|
851
920
|
liveVersion?: Maybe<Scalars['Int']['output']>;
|
|
852
921
|
name: Scalars['String']['output'];
|
|
853
922
|
queuedApprovals: Scalars['Number']['output'];
|
|
@@ -903,6 +972,7 @@ export type AiAgentToolParameter = {
|
|
|
903
972
|
type: ToolParameterType;
|
|
904
973
|
};
|
|
905
974
|
export type AiAgentToolParameterInput = {
|
|
975
|
+
critical?: InputMaybe<Scalars['Boolean']['input']>;
|
|
906
976
|
description: Scalars['String']['input'];
|
|
907
977
|
format?: InputMaybe<ToolParameterFormat>;
|
|
908
978
|
groundedBy?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -1106,6 +1176,7 @@ export type Mutation = {
|
|
|
1106
1176
|
saveAiAgentProcedure: AiAgentProcedure;
|
|
1107
1177
|
saveAiAgentScenario?: Maybe<AiAgentScenario>;
|
|
1108
1178
|
saveAiAgentUseCase: AiAgentUseCase;
|
|
1179
|
+
setAiAgentBusinessHours: AiAgentBusinessHours;
|
|
1109
1180
|
setAiAgentRetentionPolicy: AiAgentRetentionPolicy;
|
|
1110
1181
|
unpublishAiAgentVersion: Array<AiAgentVersion>;
|
|
1111
1182
|
unregisterAiAgentTool?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1179,6 +1250,9 @@ export type MutationSaveAiAgentScenarioArgs = {
|
|
|
1179
1250
|
export type MutationSaveAiAgentUseCaseArgs = {
|
|
1180
1251
|
input: SaveAiAgentUseCaseInput;
|
|
1181
1252
|
};
|
|
1253
|
+
export type MutationSetAiAgentBusinessHoursArgs = {
|
|
1254
|
+
input: SetAiAgentBusinessHoursInput;
|
|
1255
|
+
};
|
|
1182
1256
|
export type MutationSetAiAgentRetentionPolicyArgs = {
|
|
1183
1257
|
input: AiAgentRetentionPolicyInput;
|
|
1184
1258
|
};
|
|
@@ -1246,7 +1320,9 @@ export type QnAInstance = {
|
|
|
1246
1320
|
updatedAt: Scalars['DateTime']['output'];
|
|
1247
1321
|
};
|
|
1248
1322
|
export type Query = {
|
|
1323
|
+
aiAgentApprovalQueueAlerts: Array<AiAgentApprovalQueueAlert>;
|
|
1249
1324
|
aiAgentAuthoringRules: AiAgentAuthoringRules;
|
|
1325
|
+
aiAgentBusinessHours: AiAgentBusinessHours;
|
|
1250
1326
|
aiAgentCheckLimits: AiAgentCheckLimits;
|
|
1251
1327
|
aiAgentConversationMetrics: AiAgentConversationMetricsPage;
|
|
1252
1328
|
aiAgentConversationOutcome?: Maybe<AiAgentConversationOutcome>;
|
|
@@ -1379,6 +1455,7 @@ export type ResolveAiAgentApprovalInput = {
|
|
|
1379
1455
|
};
|
|
1380
1456
|
export type SaveAiAgentProcedureInput = {
|
|
1381
1457
|
aiAgentId: Scalars['ID']['input'];
|
|
1458
|
+
approvalQueueId?: InputMaybe<Scalars['String']['input']>;
|
|
1382
1459
|
approvedReplyTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
1383
1460
|
contingency: Scalars['String']['input'];
|
|
1384
1461
|
continuesAfterApproval?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1434,6 +1511,10 @@ export type SearchResultsStats = {
|
|
|
1434
1511
|
searchTime: Scalars['Float']['output'];
|
|
1435
1512
|
totalPages: Scalars['Float']['output'];
|
|
1436
1513
|
};
|
|
1514
|
+
export type SetAiAgentBusinessHoursInput = {
|
|
1515
|
+
days?: InputMaybe<Array<AiAgentBusinessHoursDayInput>>;
|
|
1516
|
+
source: AiAgentBusinessHoursSource;
|
|
1517
|
+
};
|
|
1437
1518
|
export type StringMatcher = {
|
|
1438
1519
|
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1439
1520
|
ct?: Maybe<Scalars['String']['output']>;
|
|
@@ -1512,6 +1593,10 @@ export declare enum ToolParameterType {
|
|
|
1512
1593
|
export declare enum Typenames {
|
|
1513
1594
|
AiAgentAnswerCache = "AiAgentAnswerCache",
|
|
1514
1595
|
AiAgentApproval = "AiAgentApproval",
|
|
1596
|
+
AiAgentApprovalQueueCatalog = "AiAgentApprovalQueueCatalog",
|
|
1597
|
+
AiAgentApprovalSessionLock = "AiAgentApprovalSessionLock",
|
|
1598
|
+
AiAgentApprovalTaskKey = "AiAgentApprovalTaskKey",
|
|
1599
|
+
AiAgentBusinessHours = "AiAgentBusinessHours",
|
|
1515
1600
|
AiAgentCheckRun = "AiAgentCheckRun",
|
|
1516
1601
|
AiAgentConsumption = "AiAgentConsumption",
|
|
1517
1602
|
AiAgentConsumptionMark = "AiAgentConsumptionMark",
|
|
@@ -1554,9 +1639,9 @@ export type UpdateQnAInstanceInput = {
|
|
|
1554
1639
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1555
1640
|
tryToReplyOnTransition?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1556
1641
|
};
|
|
1557
|
-
export type AiAgentSummaryFragment = Pick<AiAgentSummary, 'aiAgentId' | 'name' | 'liveVersion' | 'channels' | 'updatedAt' | 'queuedApprovals' | 'status'>;
|
|
1642
|
+
export type AiAgentSummaryFragment = Pick<AiAgentSummary, 'aiAgentId' | 'name' | 'liveVersion' | 'channels' | 'updatedAt' | 'queuedApprovals' | 'hasHumanIntervention' | 'status'>;
|
|
1558
1643
|
export type AiAgentVersionFragment = Pick<AiAgentVersion, 'aiAgentId' | 'version' | 'status' | 'createdAt'>;
|
|
1559
|
-
export type AiAgentSpecFragment = (Pick<AiAgentSpec, 'can' | 'cannot' | 'knowledgeBaseIds' | 'knowledgeFallback' | 'toolIds' | 'channels' | 'typingIndicator'> & {
|
|
1644
|
+
export type AiAgentSpecFragment = (Pick<AiAgentSpec, 'can' | 'cannot' | 'knowledgeBaseIds' | 'knowledgeFallback' | 'toolIds' | 'channels' | 'typingIndicator' | 'approvalRouting'> & {
|
|
1560
1645
|
identity: Pick<AiAgentIdentity, 'displayName' | 'role' | 'tone' | 'toneNotes' | 'openingMessage' | 'outOfScopeBehaviour'>;
|
|
1561
1646
|
budget: Pick<AiAgentBudget, 'maxSteps' | 'maxToolCalls' | 'maxTokens' | 'maxCostMicroUsd' | 'maxPeriodCostMicroUsd' | 'onExceeded'>;
|
|
1562
1647
|
handoff?: Maybe<Pick<AiAgentHandoff, 'transition' | 'target' | 'toolFailureMessage'>>;
|
|
@@ -1626,7 +1711,7 @@ export type RemoveAiAgentMutationVariables = Exact<{
|
|
|
1626
1711
|
}>;
|
|
1627
1712
|
export type RemoveAiAgentMutation = Pick<Mutation, 'removeAiAgent'>;
|
|
1628
1713
|
export type AiAgentUseCaseFragment = Pick<AiAgentUseCase, 'id' | 'name' | 'subjectDescription' | 'procedureId' | 'tag' | 'status' | 'updatedAt'>;
|
|
1629
|
-
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'objective' | 'nextStep' | 'status' | 'updatedAt'> & {
|
|
1714
|
+
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvalQueueId' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'objective' | 'nextStep' | 'status' | 'updatedAt'> & {
|
|
1630
1715
|
objections: Array<Pick<AiAgentObjection, 'objection' | 'response'>>;
|
|
1631
1716
|
});
|
|
1632
1717
|
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'concludedWhen' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'deliverAsIs' | 'approvalMode'> & {
|
|
@@ -1698,6 +1783,29 @@ export type AiAgentRetentionPolicyQuery = {
|
|
|
1698
1783
|
days: Pick<AiAgentRetentionDays, 'transcript' | 'session_state' | 'long_term_memory'>;
|
|
1699
1784
|
});
|
|
1700
1785
|
};
|
|
1786
|
+
export type AiAgentBusinessHoursFragment = (Pick<AiAgentBusinessHours, 'source' | 'product' | 'recordId' | 'status' | 'alert' | 'receivedAt'> & {
|
|
1787
|
+
days: Array<(Pick<AiAgentBusinessHoursDay, 'weekday' | 'enabled'> & {
|
|
1788
|
+
slots: Array<Pick<AiAgentBusinessHoursSlot, 'start' | 'end'>>;
|
|
1789
|
+
})>;
|
|
1790
|
+
});
|
|
1791
|
+
export type SetAiAgentBusinessHoursMutationVariables = Exact<{
|
|
1792
|
+
input: SetAiAgentBusinessHoursInput;
|
|
1793
|
+
}>;
|
|
1794
|
+
export type SetAiAgentBusinessHoursMutation = {
|
|
1795
|
+
setAiAgentBusinessHours: AiAgentBusinessHoursFragment;
|
|
1796
|
+
};
|
|
1797
|
+
export type AiAgentApprovalQueueAlertsQueryVariables = Exact<{
|
|
1798
|
+
[key: string]: never;
|
|
1799
|
+
}>;
|
|
1800
|
+
export type AiAgentApprovalQueueAlertsQuery = {
|
|
1801
|
+
aiAgentApprovalQueueAlerts: Array<Pick<AiAgentApprovalQueueAlert, 'aiAgentId' | 'procedureId' | 'procedureName' | 'approvalQueueId'>>;
|
|
1802
|
+
};
|
|
1803
|
+
export type AiAgentBusinessHoursQueryVariables = Exact<{
|
|
1804
|
+
[key: string]: never;
|
|
1805
|
+
}>;
|
|
1806
|
+
export type AiAgentBusinessHoursQuery = {
|
|
1807
|
+
aiAgentBusinessHours: AiAgentBusinessHoursFragment;
|
|
1808
|
+
};
|
|
1701
1809
|
export type AiAgentConversationMetricsQueryVariables = Exact<{
|
|
1702
1810
|
input: AiAgentConversationMetricsInput;
|
|
1703
1811
|
}>;
|
|
@@ -1876,7 +1984,7 @@ export type AiAgentAuthoringRulesQueryVariables = Exact<{
|
|
|
1876
1984
|
[key: string]: never;
|
|
1877
1985
|
}>;
|
|
1878
1986
|
export type AiAgentAuthoringRulesQuery = {
|
|
1879
|
-
aiAgentAuthoringRules: Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'maxAutomaticMessageChars' | 'maxReplySubjectChars' | 'knowledgeFallbacks' | 'defaultKnowledgeFallback'>;
|
|
1987
|
+
aiAgentAuthoringRules: Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'maxToneNotesLength' | 'maxAutomaticMessageChars' | 'maxReplySubjectChars' | 'knowledgeFallbacks' | 'defaultKnowledgeFallback'>;
|
|
1880
1988
|
};
|
|
1881
1989
|
export type AiAgentCheckLimitsQueryVariables = Exact<{
|
|
1882
1990
|
aiAgentId: Scalars['ID']['input'];
|
|
@@ -1993,17 +2101,18 @@ export type RemoveQnAInstanceMutationVariables = Exact<{
|
|
|
1993
2101
|
export type RemoveQnAInstanceMutation = {
|
|
1994
2102
|
removeQnAInstance?: Maybe<QnaFragmentFragment>;
|
|
1995
2103
|
};
|
|
1996
|
-
export declare const AiAgentSummaryFragmentDoc = "\n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n status\n}\n ";
|
|
2104
|
+
export declare const AiAgentSummaryFragmentDoc = "\n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n hasHumanIntervention\n status\n}\n ";
|
|
1997
2105
|
export declare const AiAgentVersionFragmentDoc = "\n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
1998
|
-
export declare const AiAgentSpecFragmentDoc = "\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n ";
|
|
2106
|
+
export declare const AiAgentSpecFragmentDoc = "\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n approvalRouting\n}\n ";
|
|
1999
2107
|
export declare const AiAgentToolExclusionFragmentDoc = "\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2000
2108
|
export declare const AiAgentVersionWithSpecFragmentDoc = "\n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n ";
|
|
2001
2109
|
export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolvedRate\n costMicroUsd\n}\n ";
|
|
2002
2110
|
export declare const AiAgentUseCaseFragmentDoc = "\n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2003
|
-
export declare const AiAgentProcedureFragmentDoc = "\n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2111
|
+
export declare const AiAgentProcedureFragmentDoc = "\n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvalQueueId\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2004
2112
|
export declare const AiAgentToolFragmentDoc = "\n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n concludedWhen\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approvalMode\n confirmation {\n summaryField\n tokenField\n tokenArg\n }\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2005
2113
|
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n platformTextVersions\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n unbackedClaim\n unbackedClaimKinds\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n held\n }\n}\n ";
|
|
2006
2114
|
export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2115
|
+
export declare const AiAgentBusinessHoursFragmentDoc = "\n fragment aiAgentBusinessHours on AiAgentBusinessHours {\n source\n product\n recordId\n days {\n weekday\n enabled\n slots {\n start\n end\n }\n }\n status\n alert\n receivedAt\n}\n ";
|
|
2007
2116
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
2008
2117
|
export declare const AiAgentDashboardSentimentFragmentDoc = "\n fragment aiAgentDashboardSentiment on AiAgentDashboardSentiment {\n sentiment\n count\n percent\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
2009
2118
|
export declare const AiAgentDashboardContactReasonFragmentDoc = "\n fragment aiAgentDashboardContactReason on AiAgentDashboardContactReason {\n key\n count\n percent\n}\n ";
|
|
@@ -2011,7 +2120,7 @@ export declare const AiAgentApprovalFragmentDoc = "\n fragment aiAgentApprova
|
|
|
2011
2120
|
export declare const AiAgentCheckRunFragmentDoc = "\n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n heldCalls {\n key\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n ";
|
|
2012
2121
|
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 ";
|
|
2013
2122
|
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 ";
|
|
2014
|
-
export declare const ListAiAgentsDocument = "\n query listAiAgents {\n listAiAgents {\n ...aiAgentSummary\n }\n}\n \n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n status\n}\n ";
|
|
2123
|
+
export declare const ListAiAgentsDocument = "\n query listAiAgents {\n listAiAgents {\n ...aiAgentSummary\n }\n}\n \n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n hasHumanIntervention\n status\n}\n ";
|
|
2015
2124
|
export declare const ListAiAgentVersionsDocument = "\n query listAiAgentVersions($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
2016
2125
|
export declare const AiAgentListingMetricsDocument = "\n query aiAgentListingMetrics($input: AiAgentMetricsWindowInput!) {\n aiAgentListingMetrics(input: $input) {\n ...aiAgentListingMetricsFields\n }\n}\n \n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolvedRate\n costMicroUsd\n}\n ";
|
|
2017
2126
|
export declare const DraftAiAgentDocument = "\n mutation draftAiAgent($input: DraftAiAgentInput!) {\n draftAiAgent(input: $input) {\n ...aiAgentVersion\n excludedTools {\n ...aiAgentToolExclusion\n }\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
@@ -2021,7 +2130,7 @@ export declare const RollbackAiAgentVersionDocument = "\n mutation rollbackAi
|
|
|
2021
2130
|
export declare const RemoveAiAgentVersionDocument = "\n mutation removeAiAgentVersion($input: AiAgentVersionRefInput!) {\n removeAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
2022
2131
|
export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
|
|
2023
2132
|
export declare const ListAiAgentUseCasesDocument = "\n query listAiAgentUseCases($aiAgentId: ID!) {\n listAiAgentUseCases(aiAgentId: $aiAgentId) {\n ...aiAgentUseCase\n }\n}\n \n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2024
|
-
export declare const ListAiAgentProceduresDocument = "\n query listAiAgentProcedures($aiAgentId: ID!) {\n listAiAgentProcedures(aiAgentId: $aiAgentId) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2133
|
+
export declare const ListAiAgentProceduresDocument = "\n query listAiAgentProcedures($aiAgentId: ID!) {\n listAiAgentProcedures(aiAgentId: $aiAgentId) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvalQueueId\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2025
2134
|
export declare const ListAiAgentToolsDocument = "\n query listAiAgentTools {\n listAiAgentTools {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n concludedWhen\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approvalMode\n confirmation {\n summaryField\n tokenField\n tokenArg\n }\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2026
2135
|
export declare const AiAgentUseCaseOverlapDocument = "\n query aiAgentUseCaseOverlap($aiAgentId: ID!) {\n aiAgentUseCaseOverlap(aiAgentId: $aiAgentId) {\n threshold\n pairs {\n left\n right\n score\n }\n }\n}\n ";
|
|
2027
2136
|
export declare const AiAgentTraceDocument = "\n query aiAgentTrace($sessionId: ID!, $conversationId: ID) {\n aiAgentTrace(sessionId: $sessionId, conversationId: $conversationId) {\n ...aiAgentTrace\n }\n}\n \n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n platformTextVersions\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n unbackedClaim\n unbackedClaimKinds\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n held\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
@@ -2029,12 +2138,15 @@ export declare const ListAiAgentScenariosDocument = "\n query listAiAgentScen
|
|
|
2029
2138
|
export declare const ReindexAiAgentDashboardDocument = "\n mutation reindexAiAgentDashboard($input: ReindexAiAgentDashboardInput!) {\n reindexAiAgentDashboard(input: $input)\n}\n ";
|
|
2030
2139
|
export declare const SetAiAgentRetentionPolicyDocument = "\n mutation setAiAgentRetentionPolicy($input: AiAgentRetentionPolicyInput!) {\n setAiAgentRetentionPolicy(input: $input) {\n days {\n transcript\n session_state\n long_term_memory\n }\n masksPersonalData\n }\n}\n ";
|
|
2031
2140
|
export declare const AiAgentRetentionPolicyDocument = "\n query aiAgentRetentionPolicy {\n aiAgentRetentionPolicy {\n days {\n transcript\n session_state\n long_term_memory\n }\n masksPersonalData\n }\n}\n ";
|
|
2141
|
+
export declare const SetAiAgentBusinessHoursDocument = "\n mutation setAiAgentBusinessHours($input: SetAiAgentBusinessHoursInput!) {\n setAiAgentBusinessHours(input: $input) {\n ...aiAgentBusinessHours\n }\n}\n \n fragment aiAgentBusinessHours on AiAgentBusinessHours {\n source\n product\n recordId\n days {\n weekday\n enabled\n slots {\n start\n end\n }\n }\n status\n alert\n receivedAt\n}\n ";
|
|
2142
|
+
export declare const AiAgentApprovalQueueAlertsDocument = "\n query aiAgentApprovalQueueAlerts {\n aiAgentApprovalQueueAlerts {\n aiAgentId\n procedureId\n procedureName\n approvalQueueId\n }\n}\n ";
|
|
2143
|
+
export declare const AiAgentBusinessHoursDocument = "\n query aiAgentBusinessHours {\n aiAgentBusinessHours {\n ...aiAgentBusinessHours\n }\n}\n \n fragment aiAgentBusinessHours on AiAgentBusinessHours {\n source\n product\n recordId\n days {\n weekday\n enabled\n slots {\n start\n end\n }\n }\n status\n alert\n receivedAt\n}\n ";
|
|
2032
2144
|
export declare const AiAgentConversationMetricsDocument = "\n query aiAgentConversationMetrics($input: AiAgentConversationMetricsInput!) {\n aiAgentConversationMetrics(input: $input) {\n items {\n conversationId\n sessionId\n channel\n turns\n startedAt\n lastTurnAt\n totalTokens\n costMicroUsd\n durationMs\n lastOutcome\n state\n status\n subcategory\n reversibleUntil\n provisional\n contactReason\n contactReasonTag\n channelType\n }\n total\n limit\n offset\n facets {\n name\n values {\n value\n count\n }\n }\n hasRiskAlerts\n dateRange {\n min\n max\n }\n truncated\n }\n}\n ";
|
|
2033
2145
|
export declare const AiAgentMetricsSeriesDocument = "\n query aiAgentMetricsSeries($input: AiAgentMetricsSeriesInput!) {\n aiAgentMetricsSeries(input: $input) {\n points {\n date\n conversations\n conversationsEligible\n conversationsResolved\n conversationsUnresolved\n conversationsHandoffNeed\n conversationsAbandoned\n resolvedRate\n unresolvedRate\n handoffNeedRate\n abandonmentRate\n }\n truncated\n }\n}\n ";
|
|
2034
2146
|
export declare const AiAgentDashboardDocument = "\n query aiAgentDashboard($input: AiAgentDashboardInput!) {\n aiAgentDashboard(input: $input) {\n aiAgentId\n timezone\n window {\n from\n to\n }\n previousWindow {\n from\n to\n }\n bucket\n conversations {\n ...aiAgentDashboardIndicator\n }\n resolved {\n ...aiAgentDashboardIndicator\n }\n unresolved {\n ...aiAgentDashboardIndicator\n }\n handoffProcedure {\n ...aiAgentDashboardIndicator\n }\n handoffNeed {\n ...aiAgentDashboardIndicator\n }\n qualifiedLead {\n ...aiAgentDashboardIndicator\n }\n offerAccepted {\n ...aiAgentDashboardIndicator\n }\n abandonment {\n ...aiAgentDashboardIndicator\n }\n scoreBands {\n band\n count\n percent\n polarity\n variation {\n unit\n value\n }\n }\n agentScoreAvg\n agentScoreAvgBand\n analyzedConversations\n conversationsProvisional\n conversationsAwaitingClassification\n hasActiveDispatches\n activeDispatches {\n sent {\n ...aiAgentDashboardIndicator\n }\n answered {\n ...aiAgentDashboardIndicator\n }\n unanswered {\n ...aiAgentDashboardIndicator\n }\n }\n sentimentAtStart {\n ...aiAgentDashboardSentiment\n }\n sentimentAtEnd {\n ...aiAgentDashboardSentiment\n }\n contactReasons {\n all {\n ...aiAgentDashboardContactReason\n }\n handoff {\n ...aiAgentDashboardContactReason\n }\n abandonment {\n ...aiAgentDashboardContactReason\n }\n }\n procedures {\n key\n name\n count\n level\n }\n knowledgeGaps {\n key\n count\n level\n }\n series {\n date\n endDate\n conversations\n conversationsEligible\n conversationsResolved\n conversationsUnresolved\n conversationsHandoffNeed\n conversationsAbandoned\n resolvedRate\n unresolvedRate\n handoffNeedRate\n abandonmentRate\n }\n truncated\n analysesTruncated\n }\n}\n \n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n \n\n fragment aiAgentDashboardSentiment on AiAgentDashboardSentiment {\n sentiment\n count\n percent\n polarity\n variation {\n unit\n value\n }\n}\n \n\n fragment aiAgentDashboardContactReason on AiAgentDashboardContactReason {\n key\n count\n percent\n}\n ";
|
|
2035
2147
|
export declare const AiAgentConversationOutcomeDocument = "\n query aiAgentConversationOutcome($sessionId: ID!, $conversationId: ID) {\n aiAgentConversationOutcome(\n sessionId: $sessionId\n conversationId: $conversationId\n ) {\n conversationId\n sessionId\n aiAgentId\n agentVersion\n resolution\n resolutionDefinition\n collectedData\n collectedDataAvailable\n turns\n startedAt\n lastTurnAt\n haltReason\n handoffReason\n agentSummary\n promisedNextStep\n classification {\n state\n status\n classification\n subcategory\n technicalFailure\n eligibleForResolution\n consumesAllowance\n inactivityWindowMs\n definitionVersion\n }\n channelType\n reversibleUntil\n actions {\n toolId\n name\n ok\n result\n at\n }\n contactReason {\n name\n useCaseId\n tag\n other\n source\n }\n analysis {\n analysisVersion\n failed\n failureReason\n sentimentStart\n sentimentEnd\n estimatedSatisfaction\n riskAlerts\n knowledgeGaps\n repeatedInformation\n humanRequests\n contactReason\n contactReasonId\n contactReasonTag\n contactReasonOther\n contactReasonSource\n summary\n agentScore\n agentScoreBand\n agentClarity\n customerEffortScore\n model\n costMicroUsd\n analyzedAt\n }\n }\n}\n ";
|
|
2036
2148
|
export declare const SaveAiAgentUseCaseDocument = "\n mutation saveAiAgentUseCase($input: SaveAiAgentUseCaseInput!) {\n saveAiAgentUseCase(input: $input) {\n ...aiAgentUseCase\n }\n}\n \n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2037
|
-
export declare const SaveAiAgentProcedureDocument = "\n mutation saveAiAgentProcedure($input: SaveAiAgentProcedureInput!) {\n saveAiAgentProcedure(input: $input) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2149
|
+
export declare const SaveAiAgentProcedureDocument = "\n mutation saveAiAgentProcedure($input: SaveAiAgentProcedureInput!) {\n saveAiAgentProcedure(input: $input) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvalQueueId\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2038
2150
|
export declare const RemoveAiAgentUseCaseDocument = "\n mutation removeAiAgentUseCase($input: AiAgentAuthoringRefInput!) {\n removeAiAgentUseCase(input: $input)\n}\n ";
|
|
2039
2151
|
export declare const RemoveAiAgentProcedureDocument = "\n mutation removeAiAgentProcedure($input: AiAgentAuthoringRefInput!) {\n removeAiAgentProcedure(input: $input)\n}\n ";
|
|
2040
2152
|
export declare const RememberAiAgentSessionFactsDocument = "\n mutation rememberAiAgentSessionFacts($input: RememberAiAgentSessionFactsInput!) {\n rememberAiAgentSessionFacts(input: $input)\n}\n ";
|
|
@@ -2048,9 +2160,9 @@ export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAge
|
|
|
2048
2160
|
export declare const SaveAiAgentScenarioDocument = "\n mutation saveAiAgentScenario($input: SaveAiAgentScenarioInput!) {\n saveAiAgentScenario(input: $input) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2049
2161
|
export declare const CheckAiAgentVersionDocument = "\n mutation checkAiAgentVersion($input: CheckAiAgentVersionInput!) {\n checkAiAgentVersion(input: $input) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n heldCalls {\n key\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2050
2162
|
export declare const GetAiAgentCheckRunDocument = "\n query getAiAgentCheckRun($aiAgentId: ID!, $runId: ID!) {\n getAiAgentCheckRun(aiAgentId: $aiAgentId, runId: $runId) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n heldCalls {\n key\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2051
|
-
export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n maxAutomaticMessageChars\n maxReplySubjectChars\n knowledgeFallbacks\n defaultKnowledgeFallback\n }\n}\n ";
|
|
2163
|
+
export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n maxToneNotesLength\n maxAutomaticMessageChars\n maxReplySubjectChars\n knowledgeFallbacks\n defaultKnowledgeFallback\n }\n}\n ";
|
|
2052
2164
|
export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\n}\n ";
|
|
2053
|
-
export declare const AiAgentVersionSpecDocument = "\n query aiAgentVersionSpec($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersionWithSpec\n }\n}\n \n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n \n\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2165
|
+
export declare const AiAgentVersionSpecDocument = "\n query aiAgentVersionSpec($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersionWithSpec\n }\n}\n \n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n \n\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n approvalRouting\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2054
2166
|
export declare const AiAgentRoutingPreviewDocument = "\n query aiAgentRoutingPreview($input: AiAgentRoutingPreviewInput!) {\n aiAgentRoutingPreview(input: $input) {\n high\n medium\n examples {\n message\n useCaseId\n score\n confidence\n }\n }\n}\n ";
|
|
2055
2167
|
export declare const AiAgentKnowledgeBasesDocument = "\n query aiAgentKnowledgeBases {\n aiAgentKnowledgeBases {\n id\n title\n isPublic\n }\n}\n ";
|
|
2056
2168
|
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 ";
|
|
@@ -2086,6 +2198,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
2086
2198
|
reindexAiAgentDashboard(variables: ReindexAiAgentDashboardMutationVariables, options?: C): Promise<ReindexAiAgentDashboardMutation>;
|
|
2087
2199
|
setAiAgentRetentionPolicy(variables: SetAiAgentRetentionPolicyMutationVariables, options?: C): Promise<SetAiAgentRetentionPolicyMutation>;
|
|
2088
2200
|
aiAgentRetentionPolicy(variables?: AiAgentRetentionPolicyQueryVariables, options?: C): Promise<AiAgentRetentionPolicyQuery>;
|
|
2201
|
+
setAiAgentBusinessHours(variables: SetAiAgentBusinessHoursMutationVariables, options?: C): Promise<SetAiAgentBusinessHoursMutation>;
|
|
2202
|
+
aiAgentApprovalQueueAlerts(variables?: AiAgentApprovalQueueAlertsQueryVariables, options?: C): Promise<AiAgentApprovalQueueAlertsQuery>;
|
|
2203
|
+
aiAgentBusinessHours(variables?: AiAgentBusinessHoursQueryVariables, options?: C): Promise<AiAgentBusinessHoursQuery>;
|
|
2089
2204
|
aiAgentConversationMetrics(variables: AiAgentConversationMetricsQueryVariables, options?: C): Promise<AiAgentConversationMetricsQuery>;
|
|
2090
2205
|
aiAgentMetricsSeries(variables: AiAgentMetricsSeriesQueryVariables, options?: C): Promise<AiAgentMetricsSeriesQuery>;
|
|
2091
2206
|
aiAgentDashboard(variables: AiAgentDashboardQueryVariables, options?: C): Promise<AiAgentDashboardQuery>;
|
package/src/sdks/ai.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = void 0;
|
|
4
|
+
exports.AiAgentUseCaseFragmentDoc = exports.AiAgentListingMetricsFieldsFragmentDoc = exports.AiAgentVersionWithSpecFragmentDoc = exports.AiAgentToolExclusionFragmentDoc = exports.AiAgentSpecFragmentDoc = exports.AiAgentVersionFragmentDoc = exports.AiAgentSummaryFragmentDoc = exports.Typenames = exports.ToolParameterType = exports.ToolParameterFormat = exports.ToolEffect = exports.ToolAvailability = exports.ToolApprovalMode = exports.TonePreset = exports.ParameterGrounding = exports.Can = exports.BudgetExceededAction = exports.AppInstanceStatus = exports.AiAgentVersionStatus = exports.AiAgentVariationUnit = exports.AiAgentUnbackedClaimAction = exports.AiAgentTechnicalFailure = exports.AiAgentSortDirection = exports.AiAgentSentiment = exports.AiAgentScoreBand = exports.AiAgentRiskAlert = exports.AiAgentMetricsBucket = exports.AiAgentMetricPolarity = exports.AiAgentKnowledgeFallback = exports.AiAgentHandoffReason = exports.AiAgentFrequencyLevel = exports.AiAgentExecutionAutonomy = exports.AiAgentConversationSubcategory = exports.AiAgentConversationStatus = exports.AiAgentConversationState = exports.AiAgentConversationSortField = exports.AiAgentConversationClass = exports.AiAgentContactReasonSource = exports.AiAgentCheckRunStatus = exports.AiAgentChannelType = exports.AiAgentBusinessHoursWeekday = exports.AiAgentBusinessHoursStatus = exports.AiAgentBusinessHoursSource = exports.AiAgentBusinessHoursAlert = exports.AiAgentApprovalStatus = exports.AiAgentApprovalRouting = exports.AiAgentApprovalOutcome = exports.AiAgentApprovalDecision = exports.AiAgentAnalysisFailureReason = exports.AiAgentActionClaim = void 0;
|
|
5
|
+
exports.SaveAiAgentScenarioDocument = exports.RemoveAiAgentScenarioDocument = exports.UnregisterAiAgentToolDocument = exports.RegisterAiAgentToolDocument = exports.DecideAiAgentApprovalDocument = exports.ResolveAiAgentApprovalDocument = exports.ListAiAgentApprovalsPageDocument = exports.ListAiAgentApprovalsDocument = exports.RememberAiAgentSessionFactsDocument = exports.RemoveAiAgentProcedureDocument = exports.RemoveAiAgentUseCaseDocument = exports.SaveAiAgentProcedureDocument = exports.SaveAiAgentUseCaseDocument = exports.AiAgentConversationOutcomeDocument = exports.AiAgentDashboardDocument = exports.AiAgentMetricsSeriesDocument = exports.AiAgentConversationMetricsDocument = exports.AiAgentBusinessHoursDocument = exports.AiAgentApprovalQueueAlertsDocument = exports.SetAiAgentBusinessHoursDocument = exports.AiAgentRetentionPolicyDocument = exports.SetAiAgentRetentionPolicyDocument = exports.ReindexAiAgentDashboardDocument = exports.ListAiAgentScenariosDocument = exports.AiAgentTraceDocument = exports.AiAgentUseCaseOverlapDocument = exports.ListAiAgentToolsDocument = exports.ListAiAgentProceduresDocument = exports.ListAiAgentUseCasesDocument = exports.RemoveAiAgentDocument = exports.RemoveAiAgentVersionDocument = exports.RollbackAiAgentVersionDocument = exports.UnpublishAiAgentVersionDocument = exports.PublishAiAgentVersionDocument = exports.DraftAiAgentDocument = exports.AiAgentListingMetricsDocument = exports.ListAiAgentVersionsDocument = exports.ListAiAgentsDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.AiAgentCheckRunFragmentDoc = exports.AiAgentApprovalFragmentDoc = exports.AiAgentDashboardContactReasonFragmentDoc = exports.AiAgentDashboardSentimentFragmentDoc = exports.AiAgentDashboardIndicatorFragmentDoc = exports.AiAgentBusinessHoursFragmentDoc = exports.AiAgentScenarioFragmentDoc = exports.AiAgentTraceFragmentDoc = exports.AiAgentToolFragmentDoc = exports.AiAgentProcedureFragmentDoc = void 0;
|
|
6
|
+
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.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.AiAgentCheckLimitsDocument = exports.AiAgentAuthoringRulesDocument = exports.GetAiAgentCheckRunDocument = exports.CheckAiAgentVersionDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AiAgentActionClaim;
|
|
9
9
|
(function (AiAgentActionClaim) {
|
|
@@ -31,13 +31,49 @@ var AiAgentApprovalOutcome;
|
|
|
31
31
|
AiAgentApprovalOutcome["TakenByOther"] = "takenByOther";
|
|
32
32
|
AiAgentApprovalOutcome["ToolUnavailable"] = "toolUnavailable";
|
|
33
33
|
})(AiAgentApprovalOutcome || (exports.AiAgentApprovalOutcome = AiAgentApprovalOutcome = {}));
|
|
34
|
+
var AiAgentApprovalRouting;
|
|
35
|
+
(function (AiAgentApprovalRouting) {
|
|
36
|
+
AiAgentApprovalRouting["Chat"] = "CHAT";
|
|
37
|
+
AiAgentApprovalRouting["Legacy"] = "LEGACY";
|
|
38
|
+
})(AiAgentApprovalRouting || (exports.AiAgentApprovalRouting = AiAgentApprovalRouting = {}));
|
|
34
39
|
var AiAgentApprovalStatus;
|
|
35
40
|
(function (AiAgentApprovalStatus) {
|
|
36
41
|
AiAgentApprovalStatus["Approved"] = "approved";
|
|
42
|
+
AiAgentApprovalStatus["Cancelled"] = "cancelled";
|
|
37
43
|
AiAgentApprovalStatus["Expired"] = "expired";
|
|
38
44
|
AiAgentApprovalStatus["Pending"] = "pending";
|
|
39
45
|
AiAgentApprovalStatus["Rejected"] = "rejected";
|
|
46
|
+
AiAgentApprovalStatus["Requesting"] = "requesting";
|
|
47
|
+
AiAgentApprovalStatus["Unavailable"] = "unavailable";
|
|
40
48
|
})(AiAgentApprovalStatus || (exports.AiAgentApprovalStatus = AiAgentApprovalStatus = {}));
|
|
49
|
+
var AiAgentBusinessHoursAlert;
|
|
50
|
+
(function (AiAgentBusinessHoursAlert) {
|
|
51
|
+
AiAgentBusinessHoursAlert["NotConfigured"] = "NOT_CONFIGURED";
|
|
52
|
+
AiAgentBusinessHoursAlert["NotReceived"] = "NOT_RECEIVED";
|
|
53
|
+
AiAgentBusinessHoursAlert["NoDayOn"] = "NO_DAY_ON";
|
|
54
|
+
AiAgentBusinessHoursAlert["RecordRenamed"] = "RECORD_RENAMED";
|
|
55
|
+
})(AiAgentBusinessHoursAlert || (exports.AiAgentBusinessHoursAlert = AiAgentBusinessHoursAlert = {}));
|
|
56
|
+
var AiAgentBusinessHoursSource;
|
|
57
|
+
(function (AiAgentBusinessHoursSource) {
|
|
58
|
+
AiAgentBusinessHoursSource["DrozChat"] = "DROZ_CHAT";
|
|
59
|
+
AiAgentBusinessHoursSource["Manual"] = "MANUAL";
|
|
60
|
+
})(AiAgentBusinessHoursSource || (exports.AiAgentBusinessHoursSource = AiAgentBusinessHoursSource = {}));
|
|
61
|
+
var AiAgentBusinessHoursStatus;
|
|
62
|
+
(function (AiAgentBusinessHoursStatus) {
|
|
63
|
+
AiAgentBusinessHoursStatus["Inside"] = "INSIDE";
|
|
64
|
+
AiAgentBusinessHoursStatus["Outside"] = "OUTSIDE";
|
|
65
|
+
AiAgentBusinessHoursStatus["Unknown"] = "UNKNOWN";
|
|
66
|
+
})(AiAgentBusinessHoursStatus || (exports.AiAgentBusinessHoursStatus = AiAgentBusinessHoursStatus = {}));
|
|
67
|
+
var AiAgentBusinessHoursWeekday;
|
|
68
|
+
(function (AiAgentBusinessHoursWeekday) {
|
|
69
|
+
AiAgentBusinessHoursWeekday["Friday"] = "FRIDAY";
|
|
70
|
+
AiAgentBusinessHoursWeekday["Monday"] = "MONDAY";
|
|
71
|
+
AiAgentBusinessHoursWeekday["Saturday"] = "SATURDAY";
|
|
72
|
+
AiAgentBusinessHoursWeekday["Sunday"] = "SUNDAY";
|
|
73
|
+
AiAgentBusinessHoursWeekday["Thursday"] = "THURSDAY";
|
|
74
|
+
AiAgentBusinessHoursWeekday["Tuesday"] = "TUESDAY";
|
|
75
|
+
AiAgentBusinessHoursWeekday["Wednesday"] = "WEDNESDAY";
|
|
76
|
+
})(AiAgentBusinessHoursWeekday || (exports.AiAgentBusinessHoursWeekday = AiAgentBusinessHoursWeekday = {}));
|
|
41
77
|
var AiAgentChannelType;
|
|
42
78
|
(function (AiAgentChannelType) {
|
|
43
79
|
AiAgentChannelType["Email"] = "email";
|
|
@@ -277,6 +313,10 @@ var Typenames;
|
|
|
277
313
|
(function (Typenames) {
|
|
278
314
|
Typenames["AiAgentAnswerCache"] = "AiAgentAnswerCache";
|
|
279
315
|
Typenames["AiAgentApproval"] = "AiAgentApproval";
|
|
316
|
+
Typenames["AiAgentApprovalQueueCatalog"] = "AiAgentApprovalQueueCatalog";
|
|
317
|
+
Typenames["AiAgentApprovalSessionLock"] = "AiAgentApprovalSessionLock";
|
|
318
|
+
Typenames["AiAgentApprovalTaskKey"] = "AiAgentApprovalTaskKey";
|
|
319
|
+
Typenames["AiAgentBusinessHours"] = "AiAgentBusinessHours";
|
|
280
320
|
Typenames["AiAgentCheckRun"] = "AiAgentCheckRun";
|
|
281
321
|
Typenames["AiAgentConsumption"] = "AiAgentConsumption";
|
|
282
322
|
Typenames["AiAgentConsumptionMark"] = "AiAgentConsumptionMark";
|
|
@@ -313,6 +353,7 @@ exports.AiAgentSummaryFragmentDoc = `
|
|
|
313
353
|
channels
|
|
314
354
|
updatedAt
|
|
315
355
|
queuedApprovals
|
|
356
|
+
hasHumanIntervention
|
|
316
357
|
status
|
|
317
358
|
}
|
|
318
359
|
`;
|
|
@@ -366,6 +407,7 @@ exports.AiAgentSpecFragmentDoc = `
|
|
|
366
407
|
renewalMessage
|
|
367
408
|
}
|
|
368
409
|
typingIndicator
|
|
410
|
+
approvalRouting
|
|
369
411
|
}
|
|
370
412
|
`;
|
|
371
413
|
exports.AiAgentToolExclusionFragmentDoc = `
|
|
@@ -420,6 +462,7 @@ exports.AiAgentProcedureFragmentDoc = `
|
|
|
420
462
|
executionAutonomy
|
|
421
463
|
endsConversationAfterInforming
|
|
422
464
|
continuesAfterApproval
|
|
465
|
+
approvalQueueId
|
|
423
466
|
approvedReplyTemplate
|
|
424
467
|
deniedReplyTemplate
|
|
425
468
|
expiredReplyTemplate
|
|
@@ -516,6 +559,24 @@ exports.AiAgentScenarioFragmentDoc = `
|
|
|
516
559
|
expectations
|
|
517
560
|
}
|
|
518
561
|
`;
|
|
562
|
+
exports.AiAgentBusinessHoursFragmentDoc = `
|
|
563
|
+
fragment aiAgentBusinessHours on AiAgentBusinessHours {
|
|
564
|
+
source
|
|
565
|
+
product
|
|
566
|
+
recordId
|
|
567
|
+
days {
|
|
568
|
+
weekday
|
|
569
|
+
enabled
|
|
570
|
+
slots {
|
|
571
|
+
start
|
|
572
|
+
end
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
status
|
|
576
|
+
alert
|
|
577
|
+
receivedAt
|
|
578
|
+
}
|
|
579
|
+
`;
|
|
519
580
|
exports.AiAgentDashboardIndicatorFragmentDoc = `
|
|
520
581
|
fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {
|
|
521
582
|
value
|
|
@@ -799,6 +860,30 @@ exports.AiAgentRetentionPolicyDocument = `
|
|
|
799
860
|
}
|
|
800
861
|
}
|
|
801
862
|
`;
|
|
863
|
+
exports.SetAiAgentBusinessHoursDocument = `
|
|
864
|
+
mutation setAiAgentBusinessHours($input: SetAiAgentBusinessHoursInput!) {
|
|
865
|
+
setAiAgentBusinessHours(input: $input) {
|
|
866
|
+
...aiAgentBusinessHours
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
${exports.AiAgentBusinessHoursFragmentDoc}`;
|
|
870
|
+
exports.AiAgentApprovalQueueAlertsDocument = `
|
|
871
|
+
query aiAgentApprovalQueueAlerts {
|
|
872
|
+
aiAgentApprovalQueueAlerts {
|
|
873
|
+
aiAgentId
|
|
874
|
+
procedureId
|
|
875
|
+
procedureName
|
|
876
|
+
approvalQueueId
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
`;
|
|
880
|
+
exports.AiAgentBusinessHoursDocument = `
|
|
881
|
+
query aiAgentBusinessHours {
|
|
882
|
+
aiAgentBusinessHours {
|
|
883
|
+
...aiAgentBusinessHours
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
${exports.AiAgentBusinessHoursFragmentDoc}`;
|
|
802
887
|
exports.AiAgentConversationMetricsDocument = `
|
|
803
888
|
query aiAgentConversationMetrics($input: AiAgentConversationMetricsInput!) {
|
|
804
889
|
aiAgentConversationMetrics(input: $input) {
|
|
@@ -1156,6 +1241,7 @@ exports.AiAgentAuthoringRulesDocument = `
|
|
|
1156
1241
|
query aiAgentAuthoringRules {
|
|
1157
1242
|
aiAgentAuthoringRules {
|
|
1158
1243
|
maxAuthoredFieldLength
|
|
1244
|
+
maxToneNotesLength
|
|
1159
1245
|
maxAutomaticMessageChars
|
|
1160
1246
|
maxReplySubjectChars
|
|
1161
1247
|
knowledgeFallbacks
|
|
@@ -1366,6 +1452,15 @@ function getSdk(requester) {
|
|
|
1366
1452
|
aiAgentRetentionPolicy(variables, options) {
|
|
1367
1453
|
return requester(exports.AiAgentRetentionPolicyDocument, variables, options);
|
|
1368
1454
|
},
|
|
1455
|
+
setAiAgentBusinessHours(variables, options) {
|
|
1456
|
+
return requester(exports.SetAiAgentBusinessHoursDocument, variables, options);
|
|
1457
|
+
},
|
|
1458
|
+
aiAgentApprovalQueueAlerts(variables, options) {
|
|
1459
|
+
return requester(exports.AiAgentApprovalQueueAlertsDocument, variables, options);
|
|
1460
|
+
},
|
|
1461
|
+
aiAgentBusinessHours(variables, options) {
|
|
1462
|
+
return requester(exports.AiAgentBusinessHoursDocument, variables, options);
|
|
1463
|
+
},
|
|
1369
1464
|
aiAgentConversationMetrics(variables, options) {
|
|
1370
1465
|
return requester(exports.AiAgentConversationMetricsDocument, variables, options);
|
|
1371
1466
|
},
|