@droz-js/sdk 0.26.20 → 0.26.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 +0 -9
- package/src/sdks/ai.d.ts +13 -126
- package/src/sdks/ai.js +4 -97
- package/src/sdks/drozchat.d.ts +0 -287
- package/src/sdks/drozchat.js +4 -93
package/package.json
CHANGED
package/src/drozai.d.ts
CHANGED
|
@@ -61,15 +61,6 @@ 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>;
|
|
73
64
|
aiAgentConversationMetrics(variables: import("./sdks/ai").Exact<{
|
|
74
65
|
input: import("./sdks/ai").AiAgentConversationMetricsInput;
|
|
75
66
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentConversationMetricsQuery>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -168,24 +168,11 @@ 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
|
-
}
|
|
181
171
|
export declare enum AiAgentApprovalStatus {
|
|
182
172
|
Approved = "approved",
|
|
183
|
-
Cancelled = "cancelled",
|
|
184
173
|
Expired = "expired",
|
|
185
174
|
Pending = "pending",
|
|
186
|
-
Rejected = "rejected"
|
|
187
|
-
Requesting = "requesting",
|
|
188
|
-
Unavailable = "unavailable"
|
|
175
|
+
Rejected = "rejected"
|
|
189
176
|
}
|
|
190
177
|
export type AiAgentAuthoringRefInput = {
|
|
191
178
|
aiAgentId: Scalars['ID']['input'];
|
|
@@ -215,57 +202,6 @@ export type AiAgentBudgetInput = {
|
|
|
215
202
|
maxToolCalls: Scalars['Int']['input'];
|
|
216
203
|
onExceeded: BudgetExceededAction;
|
|
217
204
|
};
|
|
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
|
-
}
|
|
269
205
|
export type AiAgentCampaignInput = {
|
|
270
206
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
271
207
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -763,7 +699,6 @@ export type AiAgentObjectionInput = {
|
|
|
763
699
|
response: Scalars['String']['input'];
|
|
764
700
|
};
|
|
765
701
|
export type AiAgentProcedure = {
|
|
766
|
-
approvalQueueId?: Maybe<Scalars['String']['output']>;
|
|
767
702
|
approvedReplyTemplate?: Maybe<Scalars['String']['output']>;
|
|
768
703
|
contingency: Scalars['String']['output'];
|
|
769
704
|
continuesAfterApproval: Scalars['Boolean']['output'];
|
|
@@ -882,7 +817,6 @@ export declare enum AiAgentSortDirection {
|
|
|
882
817
|
export type AiAgentSpec = {
|
|
883
818
|
/** @deprecated Ignorado. O tipo da ferramenta sai do método do conector. O campo sai na próxima versão. */
|
|
884
819
|
allowWriteTools?: Maybe<Scalars['Boolean']['output']>;
|
|
885
|
-
approvalRouting: AiAgentApprovalRouting;
|
|
886
820
|
budget: AiAgentBudget;
|
|
887
821
|
can: Array<Scalars['String']['output']>;
|
|
888
822
|
cannot: Array<Scalars['String']['output']>;
|
|
@@ -899,7 +833,6 @@ export type AiAgentSpec = {
|
|
|
899
833
|
export type AiAgentSpecInput = {
|
|
900
834
|
/** @deprecated Ignorado. O tipo da ferramenta sai do método do conector. O campo sai na próxima versão. */
|
|
901
835
|
allowWriteTools?: InputMaybe<Scalars['Boolean']['input']>;
|
|
902
|
-
approvalRouting?: InputMaybe<AiAgentApprovalRouting>;
|
|
903
836
|
budget: AiAgentBudgetInput;
|
|
904
837
|
can: Array<Scalars['String']['input']>;
|
|
905
838
|
cannot: Array<Scalars['String']['input']>;
|
|
@@ -916,7 +849,6 @@ export type AiAgentSpecInput = {
|
|
|
916
849
|
export type AiAgentSummary = {
|
|
917
850
|
aiAgentId: Scalars['ID']['output'];
|
|
918
851
|
channels: Array<Scalars['String']['output']>;
|
|
919
|
-
hasHumanIntervention: Scalars['Boolean']['output'];
|
|
920
852
|
liveVersion?: Maybe<Scalars['Int']['output']>;
|
|
921
853
|
name: Scalars['String']['output'];
|
|
922
854
|
queuedApprovals: Scalars['Number']['output'];
|
|
@@ -972,7 +904,6 @@ export type AiAgentToolParameter = {
|
|
|
972
904
|
type: ToolParameterType;
|
|
973
905
|
};
|
|
974
906
|
export type AiAgentToolParameterInput = {
|
|
975
|
-
critical?: InputMaybe<Scalars['Boolean']['input']>;
|
|
976
907
|
description: Scalars['String']['input'];
|
|
977
908
|
format?: InputMaybe<ToolParameterFormat>;
|
|
978
909
|
groundedBy?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -1053,7 +984,8 @@ export type AiAgentTracedToolCall = {
|
|
|
1053
984
|
export declare enum AiAgentUnbackedClaimAction {
|
|
1054
985
|
Delivered = "delivered",
|
|
1055
986
|
Replaced = "replaced",
|
|
1056
|
-
Retried = "retried"
|
|
987
|
+
Retried = "retried",
|
|
988
|
+
Transferred = "transferred"
|
|
1057
989
|
}
|
|
1058
990
|
export type AiAgentUseCase = {
|
|
1059
991
|
id: Scalars['ID']['output'];
|
|
@@ -1176,7 +1108,6 @@ export type Mutation = {
|
|
|
1176
1108
|
saveAiAgentProcedure: AiAgentProcedure;
|
|
1177
1109
|
saveAiAgentScenario?: Maybe<AiAgentScenario>;
|
|
1178
1110
|
saveAiAgentUseCase: AiAgentUseCase;
|
|
1179
|
-
setAiAgentBusinessHours: AiAgentBusinessHours;
|
|
1180
1111
|
setAiAgentRetentionPolicy: AiAgentRetentionPolicy;
|
|
1181
1112
|
unpublishAiAgentVersion: Array<AiAgentVersion>;
|
|
1182
1113
|
unregisterAiAgentTool?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1250,9 +1181,6 @@ export type MutationSaveAiAgentScenarioArgs = {
|
|
|
1250
1181
|
export type MutationSaveAiAgentUseCaseArgs = {
|
|
1251
1182
|
input: SaveAiAgentUseCaseInput;
|
|
1252
1183
|
};
|
|
1253
|
-
export type MutationSetAiAgentBusinessHoursArgs = {
|
|
1254
|
-
input: SetAiAgentBusinessHoursInput;
|
|
1255
|
-
};
|
|
1256
1184
|
export type MutationSetAiAgentRetentionPolicyArgs = {
|
|
1257
1185
|
input: AiAgentRetentionPolicyInput;
|
|
1258
1186
|
};
|
|
@@ -1320,9 +1248,7 @@ export type QnAInstance = {
|
|
|
1320
1248
|
updatedAt: Scalars['DateTime']['output'];
|
|
1321
1249
|
};
|
|
1322
1250
|
export type Query = {
|
|
1323
|
-
aiAgentApprovalQueueAlerts: Array<AiAgentApprovalQueueAlert>;
|
|
1324
1251
|
aiAgentAuthoringRules: AiAgentAuthoringRules;
|
|
1325
|
-
aiAgentBusinessHours: AiAgentBusinessHours;
|
|
1326
1252
|
aiAgentCheckLimits: AiAgentCheckLimits;
|
|
1327
1253
|
aiAgentConversationMetrics: AiAgentConversationMetricsPage;
|
|
1328
1254
|
aiAgentConversationOutcome?: Maybe<AiAgentConversationOutcome>;
|
|
@@ -1455,7 +1381,6 @@ export type ResolveAiAgentApprovalInput = {
|
|
|
1455
1381
|
};
|
|
1456
1382
|
export type SaveAiAgentProcedureInput = {
|
|
1457
1383
|
aiAgentId: Scalars['ID']['input'];
|
|
1458
|
-
approvalQueueId?: InputMaybe<Scalars['String']['input']>;
|
|
1459
1384
|
approvedReplyTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
1460
1385
|
contingency: Scalars['String']['input'];
|
|
1461
1386
|
continuesAfterApproval?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1511,10 +1436,6 @@ export type SearchResultsStats = {
|
|
|
1511
1436
|
searchTime: Scalars['Float']['output'];
|
|
1512
1437
|
totalPages: Scalars['Float']['output'];
|
|
1513
1438
|
};
|
|
1514
|
-
export type SetAiAgentBusinessHoursInput = {
|
|
1515
|
-
days?: InputMaybe<Array<AiAgentBusinessHoursDayInput>>;
|
|
1516
|
-
source: AiAgentBusinessHoursSource;
|
|
1517
|
-
};
|
|
1518
1439
|
export type StringMatcher = {
|
|
1519
1440
|
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1520
1441
|
ct?: Maybe<Scalars['String']['output']>;
|
|
@@ -1593,10 +1514,6 @@ export declare enum ToolParameterType {
|
|
|
1593
1514
|
export declare enum Typenames {
|
|
1594
1515
|
AiAgentAnswerCache = "AiAgentAnswerCache",
|
|
1595
1516
|
AiAgentApproval = "AiAgentApproval",
|
|
1596
|
-
AiAgentApprovalQueueCatalog = "AiAgentApprovalQueueCatalog",
|
|
1597
|
-
AiAgentApprovalSessionLock = "AiAgentApprovalSessionLock",
|
|
1598
|
-
AiAgentApprovalTaskKey = "AiAgentApprovalTaskKey",
|
|
1599
|
-
AiAgentBusinessHours = "AiAgentBusinessHours",
|
|
1600
1517
|
AiAgentCheckRun = "AiAgentCheckRun",
|
|
1601
1518
|
AiAgentConsumption = "AiAgentConsumption",
|
|
1602
1519
|
AiAgentConsumptionMark = "AiAgentConsumptionMark",
|
|
@@ -1639,9 +1556,9 @@ export type UpdateQnAInstanceInput = {
|
|
|
1639
1556
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1640
1557
|
tryToReplyOnTransition?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1641
1558
|
};
|
|
1642
|
-
export type AiAgentSummaryFragment = Pick<AiAgentSummary, 'aiAgentId' | 'name' | 'liveVersion' | 'channels' | 'updatedAt' | 'queuedApprovals' | '
|
|
1559
|
+
export type AiAgentSummaryFragment = Pick<AiAgentSummary, 'aiAgentId' | 'name' | 'liveVersion' | 'channels' | 'updatedAt' | 'queuedApprovals' | 'status'>;
|
|
1643
1560
|
export type AiAgentVersionFragment = Pick<AiAgentVersion, 'aiAgentId' | 'version' | 'status' | 'createdAt'>;
|
|
1644
|
-
export type AiAgentSpecFragment = (Pick<AiAgentSpec, 'can' | 'cannot' | 'knowledgeBaseIds' | 'knowledgeFallback' | 'toolIds' | 'channels' | 'typingIndicator'
|
|
1561
|
+
export type AiAgentSpecFragment = (Pick<AiAgentSpec, 'can' | 'cannot' | 'knowledgeBaseIds' | 'knowledgeFallback' | 'toolIds' | 'channels' | 'typingIndicator'> & {
|
|
1645
1562
|
identity: Pick<AiAgentIdentity, 'displayName' | 'role' | 'tone' | 'toneNotes' | 'openingMessage' | 'outOfScopeBehaviour'>;
|
|
1646
1563
|
budget: Pick<AiAgentBudget, 'maxSteps' | 'maxToolCalls' | 'maxTokens' | 'maxCostMicroUsd' | 'maxPeriodCostMicroUsd' | 'onExceeded'>;
|
|
1647
1564
|
handoff?: Maybe<Pick<AiAgentHandoff, 'transition' | 'target' | 'toolFailureMessage'>>;
|
|
@@ -1711,7 +1628,7 @@ export type RemoveAiAgentMutationVariables = Exact<{
|
|
|
1711
1628
|
}>;
|
|
1712
1629
|
export type RemoveAiAgentMutation = Pick<Mutation, 'removeAiAgent'>;
|
|
1713
1630
|
export type AiAgentUseCaseFragment = Pick<AiAgentUseCase, 'id' | 'name' | 'subjectDescription' | 'procedureId' | 'tag' | 'status' | 'updatedAt'>;
|
|
1714
|
-
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | '
|
|
1631
|
+
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'objective' | 'nextStep' | 'status' | 'updatedAt'> & {
|
|
1715
1632
|
objections: Array<Pick<AiAgentObjection, 'objection' | 'response'>>;
|
|
1716
1633
|
});
|
|
1717
1634
|
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'concludedWhen' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'deliverAsIs' | 'approvalMode'> & {
|
|
@@ -1783,29 +1700,6 @@ export type AiAgentRetentionPolicyQuery = {
|
|
|
1783
1700
|
days: Pick<AiAgentRetentionDays, 'transcript' | 'session_state' | 'long_term_memory'>;
|
|
1784
1701
|
});
|
|
1785
1702
|
};
|
|
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
|
-
};
|
|
1809
1703
|
export type AiAgentConversationMetricsQueryVariables = Exact<{
|
|
1810
1704
|
input: AiAgentConversationMetricsInput;
|
|
1811
1705
|
}>;
|
|
@@ -2101,18 +1995,17 @@ export type RemoveQnAInstanceMutationVariables = Exact<{
|
|
|
2101
1995
|
export type RemoveQnAInstanceMutation = {
|
|
2102
1996
|
removeQnAInstance?: Maybe<QnaFragmentFragment>;
|
|
2103
1997
|
};
|
|
2104
|
-
export declare const AiAgentSummaryFragmentDoc = "\n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n
|
|
1998
|
+
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 ";
|
|
2105
1999
|
export declare const AiAgentVersionFragmentDoc = "\n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\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
|
|
2000
|
+
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 ";
|
|
2107
2001
|
export declare const AiAgentToolExclusionFragmentDoc = "\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2108
2002
|
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 ";
|
|
2109
2003
|
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 ";
|
|
2110
2004
|
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 ";
|
|
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
|
|
2005
|
+
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 ";
|
|
2112
2006
|
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 ";
|
|
2113
2007
|
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 ";
|
|
2114
2008
|
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 ";
|
|
2116
2009
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
2117
2010
|
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 ";
|
|
2118
2011
|
export declare const AiAgentDashboardContactReasonFragmentDoc = "\n fragment aiAgentDashboardContactReason on AiAgentDashboardContactReason {\n key\n count\n percent\n}\n ";
|
|
@@ -2120,7 +2013,7 @@ export declare const AiAgentApprovalFragmentDoc = "\n fragment aiAgentApprova
|
|
|
2120
2013
|
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 ";
|
|
2121
2014
|
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 ";
|
|
2122
2015
|
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 ";
|
|
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
|
|
2016
|
+
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 ";
|
|
2124
2017
|
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 ";
|
|
2125
2018
|
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 ";
|
|
2126
2019
|
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 ";
|
|
@@ -2130,7 +2023,7 @@ export declare const RollbackAiAgentVersionDocument = "\n mutation rollbackAi
|
|
|
2130
2023
|
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 ";
|
|
2131
2024
|
export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
|
|
2132
2025
|
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 ";
|
|
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
|
|
2026
|
+
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 ";
|
|
2134
2027
|
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 ";
|
|
2135
2028
|
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 ";
|
|
2136
2029
|
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 ";
|
|
@@ -2138,15 +2031,12 @@ export declare const ListAiAgentScenariosDocument = "\n query listAiAgentScen
|
|
|
2138
2031
|
export declare const ReindexAiAgentDashboardDocument = "\n mutation reindexAiAgentDashboard($input: ReindexAiAgentDashboardInput!) {\n reindexAiAgentDashboard(input: $input)\n}\n ";
|
|
2139
2032
|
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 ";
|
|
2140
2033
|
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 ";
|
|
2144
2034
|
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 ";
|
|
2145
2035
|
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 ";
|
|
2146
2036
|
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 ";
|
|
2147
2037
|
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 ";
|
|
2148
2038
|
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 ";
|
|
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
|
|
2039
|
+
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 ";
|
|
2150
2040
|
export declare const RemoveAiAgentUseCaseDocument = "\n mutation removeAiAgentUseCase($input: AiAgentAuthoringRefInput!) {\n removeAiAgentUseCase(input: $input)\n}\n ";
|
|
2151
2041
|
export declare const RemoveAiAgentProcedureDocument = "\n mutation removeAiAgentProcedure($input: AiAgentAuthoringRefInput!) {\n removeAiAgentProcedure(input: $input)\n}\n ";
|
|
2152
2042
|
export declare const RememberAiAgentSessionFactsDocument = "\n mutation rememberAiAgentSessionFacts($input: RememberAiAgentSessionFactsInput!) {\n rememberAiAgentSessionFacts(input: $input)\n}\n ";
|
|
@@ -2162,7 +2052,7 @@ export declare const CheckAiAgentVersionDocument = "\n mutation checkAiAgentV
|
|
|
2162
2052
|
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 ";
|
|
2163
2053
|
export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n maxToneNotesLength\n maxAutomaticMessageChars\n maxReplySubjectChars\n knowledgeFallbacks\n defaultKnowledgeFallback\n }\n}\n ";
|
|
2164
2054
|
export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\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
|
|
2055
|
+
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 ";
|
|
2166
2056
|
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 ";
|
|
2167
2057
|
export declare const AiAgentKnowledgeBasesDocument = "\n query aiAgentKnowledgeBases {\n aiAgentKnowledgeBases {\n id\n title\n isPublic\n }\n}\n ";
|
|
2168
2058
|
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 ";
|
|
@@ -2198,9 +2088,6 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
2198
2088
|
reindexAiAgentDashboard(variables: ReindexAiAgentDashboardMutationVariables, options?: C): Promise<ReindexAiAgentDashboardMutation>;
|
|
2199
2089
|
setAiAgentRetentionPolicy(variables: SetAiAgentRetentionPolicyMutationVariables, options?: C): Promise<SetAiAgentRetentionPolicyMutation>;
|
|
2200
2090
|
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>;
|
|
2204
2091
|
aiAgentConversationMetrics(variables: AiAgentConversationMetricsQueryVariables, options?: C): Promise<AiAgentConversationMetricsQuery>;
|
|
2205
2092
|
aiAgentMetricsSeries(variables: AiAgentMetricsSeriesQueryVariables, options?: C): Promise<AiAgentMetricsSeriesQuery>;
|
|
2206
2093
|
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.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.
|
|
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 =
|
|
4
|
+
exports.AiAgentDashboardIndicatorFragmentDoc = exports.AiAgentScenarioFragmentDoc = exports.AiAgentTraceFragmentDoc = exports.AiAgentToolFragmentDoc = exports.AiAgentProcedureFragmentDoc = 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.AiAgentApprovalStatus = exports.AiAgentApprovalOutcome = exports.AiAgentApprovalDecision = exports.AiAgentAnalysisFailureReason = exports.AiAgentActionClaim = void 0;
|
|
5
|
+
exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.AiAgentCheckLimitsDocument = exports.AiAgentAuthoringRulesDocument = exports.GetAiAgentCheckRunDocument = exports.CheckAiAgentVersionDocument = 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.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 = 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 = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AiAgentActionClaim;
|
|
9
9
|
(function (AiAgentActionClaim) {
|
|
@@ -31,49 +31,13 @@ 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 = {}));
|
|
39
34
|
var AiAgentApprovalStatus;
|
|
40
35
|
(function (AiAgentApprovalStatus) {
|
|
41
36
|
AiAgentApprovalStatus["Approved"] = "approved";
|
|
42
|
-
AiAgentApprovalStatus["Cancelled"] = "cancelled";
|
|
43
37
|
AiAgentApprovalStatus["Expired"] = "expired";
|
|
44
38
|
AiAgentApprovalStatus["Pending"] = "pending";
|
|
45
39
|
AiAgentApprovalStatus["Rejected"] = "rejected";
|
|
46
|
-
AiAgentApprovalStatus["Requesting"] = "requesting";
|
|
47
|
-
AiAgentApprovalStatus["Unavailable"] = "unavailable";
|
|
48
40
|
})(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 = {}));
|
|
77
41
|
var AiAgentChannelType;
|
|
78
42
|
(function (AiAgentChannelType) {
|
|
79
43
|
AiAgentChannelType["Email"] = "email";
|
|
@@ -237,6 +201,7 @@ var AiAgentUnbackedClaimAction;
|
|
|
237
201
|
AiAgentUnbackedClaimAction["Delivered"] = "delivered";
|
|
238
202
|
AiAgentUnbackedClaimAction["Replaced"] = "replaced";
|
|
239
203
|
AiAgentUnbackedClaimAction["Retried"] = "retried";
|
|
204
|
+
AiAgentUnbackedClaimAction["Transferred"] = "transferred";
|
|
240
205
|
})(AiAgentUnbackedClaimAction || (exports.AiAgentUnbackedClaimAction = AiAgentUnbackedClaimAction = {}));
|
|
241
206
|
var AiAgentVariationUnit;
|
|
242
207
|
(function (AiAgentVariationUnit) {
|
|
@@ -313,10 +278,6 @@ var Typenames;
|
|
|
313
278
|
(function (Typenames) {
|
|
314
279
|
Typenames["AiAgentAnswerCache"] = "AiAgentAnswerCache";
|
|
315
280
|
Typenames["AiAgentApproval"] = "AiAgentApproval";
|
|
316
|
-
Typenames["AiAgentApprovalQueueCatalog"] = "AiAgentApprovalQueueCatalog";
|
|
317
|
-
Typenames["AiAgentApprovalSessionLock"] = "AiAgentApprovalSessionLock";
|
|
318
|
-
Typenames["AiAgentApprovalTaskKey"] = "AiAgentApprovalTaskKey";
|
|
319
|
-
Typenames["AiAgentBusinessHours"] = "AiAgentBusinessHours";
|
|
320
281
|
Typenames["AiAgentCheckRun"] = "AiAgentCheckRun";
|
|
321
282
|
Typenames["AiAgentConsumption"] = "AiAgentConsumption";
|
|
322
283
|
Typenames["AiAgentConsumptionMark"] = "AiAgentConsumptionMark";
|
|
@@ -353,7 +314,6 @@ exports.AiAgentSummaryFragmentDoc = `
|
|
|
353
314
|
channels
|
|
354
315
|
updatedAt
|
|
355
316
|
queuedApprovals
|
|
356
|
-
hasHumanIntervention
|
|
357
317
|
status
|
|
358
318
|
}
|
|
359
319
|
`;
|
|
@@ -407,7 +367,6 @@ exports.AiAgentSpecFragmentDoc = `
|
|
|
407
367
|
renewalMessage
|
|
408
368
|
}
|
|
409
369
|
typingIndicator
|
|
410
|
-
approvalRouting
|
|
411
370
|
}
|
|
412
371
|
`;
|
|
413
372
|
exports.AiAgentToolExclusionFragmentDoc = `
|
|
@@ -462,7 +421,6 @@ exports.AiAgentProcedureFragmentDoc = `
|
|
|
462
421
|
executionAutonomy
|
|
463
422
|
endsConversationAfterInforming
|
|
464
423
|
continuesAfterApproval
|
|
465
|
-
approvalQueueId
|
|
466
424
|
approvedReplyTemplate
|
|
467
425
|
deniedReplyTemplate
|
|
468
426
|
expiredReplyTemplate
|
|
@@ -559,24 +517,6 @@ exports.AiAgentScenarioFragmentDoc = `
|
|
|
559
517
|
expectations
|
|
560
518
|
}
|
|
561
519
|
`;
|
|
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
|
-
`;
|
|
580
520
|
exports.AiAgentDashboardIndicatorFragmentDoc = `
|
|
581
521
|
fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {
|
|
582
522
|
value
|
|
@@ -860,30 +800,6 @@ exports.AiAgentRetentionPolicyDocument = `
|
|
|
860
800
|
}
|
|
861
801
|
}
|
|
862
802
|
`;
|
|
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}`;
|
|
887
803
|
exports.AiAgentConversationMetricsDocument = `
|
|
888
804
|
query aiAgentConversationMetrics($input: AiAgentConversationMetricsInput!) {
|
|
889
805
|
aiAgentConversationMetrics(input: $input) {
|
|
@@ -1452,15 +1368,6 @@ function getSdk(requester) {
|
|
|
1452
1368
|
aiAgentRetentionPolicy(variables, options) {
|
|
1453
1369
|
return requester(exports.AiAgentRetentionPolicyDocument, variables, options);
|
|
1454
1370
|
},
|
|
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
|
-
},
|
|
1464
1371
|
aiAgentConversationMetrics(variables, options) {
|
|
1465
1372
|
return requester(exports.AiAgentConversationMetricsDocument, variables, options);
|
|
1466
1373
|
},
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -212,79 +212,6 @@ export declare enum AppInstanceStatus {
|
|
|
212
212
|
Failing = "Failing",
|
|
213
213
|
Inactive = "Inactive"
|
|
214
214
|
}
|
|
215
|
-
export declare enum ApprovalAlertType {
|
|
216
|
-
ApprovalQueueOverLimit = "APPROVAL_QUEUE_OVER_LIMIT",
|
|
217
|
-
Expired = "EXPIRED",
|
|
218
|
-
ExpiringSoon = "EXPIRING_SOON",
|
|
219
|
-
FallbackChannelMissing = "FALLBACK_CHANNEL_MISSING",
|
|
220
|
-
Indeterminate = "INDETERMINATE",
|
|
221
|
-
NoApproverOnline = "NO_APPROVER_ONLINE"
|
|
222
|
-
}
|
|
223
|
-
export declare enum ApprovalTaskChangeAction {
|
|
224
|
-
Created = "CREATED",
|
|
225
|
-
Removed = "REMOVED",
|
|
226
|
-
Updated = "UPDATED"
|
|
227
|
-
}
|
|
228
|
-
export declare enum ApprovalTaskChannel {
|
|
229
|
-
Other = "OTHER",
|
|
230
|
-
Web = "WEB",
|
|
231
|
-
Whatsapp = "WHATSAPP"
|
|
232
|
-
}
|
|
233
|
-
export declare enum ApprovalTaskDecision {
|
|
234
|
-
Approved = "APPROVED",
|
|
235
|
-
Rejected = "REJECTED"
|
|
236
|
-
}
|
|
237
|
-
export declare enum ApprovalTaskEventType {
|
|
238
|
-
Assigned = "ASSIGNED",
|
|
239
|
-
Cancelled = "CANCELLED",
|
|
240
|
-
Claimed = "CLAIMED",
|
|
241
|
-
ClaimExpired = "CLAIM_EXPIRED",
|
|
242
|
-
Created = "CREATED",
|
|
243
|
-
Decided = "DECIDED",
|
|
244
|
-
DivergenceFound = "DIVERGENCE_FOUND",
|
|
245
|
-
ExecutionReported = "EXECUTION_REPORTED",
|
|
246
|
-
Expired = "EXPIRED",
|
|
247
|
-
Released = "RELEASED"
|
|
248
|
-
}
|
|
249
|
-
export declare enum ApprovalTaskExecutionResult {
|
|
250
|
-
Executed = "EXECUTED",
|
|
251
|
-
Failed = "FAILED",
|
|
252
|
-
Indeterminate = "INDETERMINATE",
|
|
253
|
-
NotExecuted = "NOT_EXECUTED"
|
|
254
|
-
}
|
|
255
|
-
export declare enum ApprovalTaskMessageRole {
|
|
256
|
-
AiAgent = "AI_AGENT",
|
|
257
|
-
Customer = "CUSTOMER"
|
|
258
|
-
}
|
|
259
|
-
export declare enum ApprovalTaskRejectionReason {
|
|
260
|
-
DataMismatch = "DATA_MISMATCH",
|
|
261
|
-
Other = "OTHER",
|
|
262
|
-
OutOfPolicy = "OUT_OF_POLICY",
|
|
263
|
-
SuspectedFraud = "SUSPECTED_FRAUD"
|
|
264
|
-
}
|
|
265
|
-
export declare enum ApprovalTaskStatus {
|
|
266
|
-
Assigned = "ASSIGNED",
|
|
267
|
-
Cancelled = "CANCELLED",
|
|
268
|
-
Decided = "DECIDED",
|
|
269
|
-
Expired = "EXPIRED",
|
|
270
|
-
Open = "OPEN"
|
|
271
|
-
}
|
|
272
|
-
export declare enum ApprovalTaskTab {
|
|
273
|
-
All = "ALL",
|
|
274
|
-
Finished = "FINISHED",
|
|
275
|
-
ManualCheck = "MANUAL_CHECK",
|
|
276
|
-
Mine = "MINE",
|
|
277
|
-
Pending = "PENDING"
|
|
278
|
-
}
|
|
279
|
-
export type ApprovalTasksFilterInput = {
|
|
280
|
-
approvalQueueId?: InputMaybe<Scalars['ID']['input']>;
|
|
281
|
-
search?: InputMaybe<Scalars['String']['input']>;
|
|
282
|
-
tab: ApprovalTaskTab;
|
|
283
|
-
};
|
|
284
|
-
export type AssignApprovalTaskInput = {
|
|
285
|
-
assigneeId: Scalars['ID']['input'];
|
|
286
|
-
id: Scalars['ID']['input'];
|
|
287
|
-
};
|
|
288
215
|
export type AssignTicketInput = {
|
|
289
216
|
assigneeId: Scalars['ID']['input'];
|
|
290
217
|
channelId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -335,24 +262,6 @@ export type BulkCloseRunsConnection = {
|
|
|
335
262
|
nodes: Array<BulkCloseRun>;
|
|
336
263
|
pageInfo: PageInfo;
|
|
337
264
|
};
|
|
338
|
-
export type BusinessHoursDayInput = {
|
|
339
|
-
enabled: Scalars['Boolean']['input'];
|
|
340
|
-
slots: Array<BusinessHoursSlotInput>;
|
|
341
|
-
weekday: BusinessHoursWeekday;
|
|
342
|
-
};
|
|
343
|
-
export type BusinessHoursSlotInput = {
|
|
344
|
-
end: Scalars['String']['input'];
|
|
345
|
-
start: Scalars['String']['input'];
|
|
346
|
-
};
|
|
347
|
-
export declare enum BusinessHoursWeekday {
|
|
348
|
-
Friday = "FRIDAY",
|
|
349
|
-
Monday = "MONDAY",
|
|
350
|
-
Saturday = "SATURDAY",
|
|
351
|
-
Sunday = "SUNDAY",
|
|
352
|
-
Thursday = "THURSDAY",
|
|
353
|
-
Tuesday = "TUESDAY",
|
|
354
|
-
Wednesday = "WEDNESDAY"
|
|
355
|
-
}
|
|
356
265
|
export declare enum Can {
|
|
357
266
|
Manage = "manage",
|
|
358
267
|
Read = "read",
|
|
@@ -391,9 +300,6 @@ export type ChatActions = {
|
|
|
391
300
|
canUnassign: Scalars['Boolean']['output'];
|
|
392
301
|
canUpdateTags: Scalars['Boolean']['output'];
|
|
393
302
|
};
|
|
394
|
-
export type ClaimApprovalTaskInput = {
|
|
395
|
-
id: Scalars['ID']['input'];
|
|
396
|
-
};
|
|
397
303
|
export type ClearCustomFieldValueInput = {
|
|
398
304
|
fieldId: Scalars['ID']['input'];
|
|
399
305
|
ticketId: Scalars['ID']['input'];
|
|
@@ -404,13 +310,6 @@ export type CloneViewInput = {
|
|
|
404
310
|
export type CloseTicketInput = {
|
|
405
311
|
ticketId: Scalars['ID']['input'];
|
|
406
312
|
};
|
|
407
|
-
export type CreateApprovalQueueInput = {
|
|
408
|
-
agentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
409
|
-
depthLimit: Scalars['Int']['input'];
|
|
410
|
-
fallbackChannelId?: InputMaybe<Scalars['ID']['input']>;
|
|
411
|
-
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
412
|
-
name: Scalars['String']['input'];
|
|
413
|
-
};
|
|
414
313
|
export type CreateBulkCloseRoutineConfigInput = {
|
|
415
314
|
batchSize: Scalars['Int']['input'];
|
|
416
315
|
cronExpression: Scalars['String']['input'];
|
|
@@ -562,15 +461,6 @@ export type CustomerSearchResultsFacetValue = {
|
|
|
562
461
|
customer?: Maybe<DrozChatCustomer>;
|
|
563
462
|
value: Scalars['String']['output'];
|
|
564
463
|
};
|
|
565
|
-
export type DecideApprovalTaskInput = {
|
|
566
|
-
decision: ApprovalTaskDecision;
|
|
567
|
-
id: Scalars['ID']['input'];
|
|
568
|
-
rejectionNote?: InputMaybe<Scalars['String']['input']>;
|
|
569
|
-
rejectionReason?: InputMaybe<ApprovalTaskRejectionReason>;
|
|
570
|
-
};
|
|
571
|
-
export type DeleteApprovalQueueInput = {
|
|
572
|
-
id: Scalars['ID']['input'];
|
|
573
|
-
};
|
|
574
464
|
export type DeleteCustomerNoteInput = {
|
|
575
465
|
customerId: Scalars['String']['input'];
|
|
576
466
|
id: Scalars['String']['input'];
|
|
@@ -612,112 +502,6 @@ export type DrozChatAgentGroup = {
|
|
|
612
502
|
name: Scalars['String']['output'];
|
|
613
503
|
updatedAt: Scalars['DateTime']['output'];
|
|
614
504
|
};
|
|
615
|
-
export type DrozChatApprovalAlert = {
|
|
616
|
-
approvalQueueId: Scalars['ID']['output'];
|
|
617
|
-
raisedAt: Scalars['DateTime']['output'];
|
|
618
|
-
taskId?: Maybe<Scalars['ID']['output']>;
|
|
619
|
-
type: ApprovalAlertType;
|
|
620
|
-
};
|
|
621
|
-
export type DrozChatApprovalQueue = {
|
|
622
|
-
agentIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
623
|
-
createdAt: Scalars['DateTime']['output'];
|
|
624
|
-
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
625
|
-
depthLimit: Scalars['Int']['output'];
|
|
626
|
-
fallbackChannelId?: Maybe<Scalars['ID']['output']>;
|
|
627
|
-
groupIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
628
|
-
id: Scalars['ID']['output'];
|
|
629
|
-
name: Scalars['String']['output'];
|
|
630
|
-
procedureCount: Scalars['Int']['output'];
|
|
631
|
-
procedureNames: Array<Scalars['String']['output']>;
|
|
632
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
633
|
-
};
|
|
634
|
-
export type DrozChatApprovalSummary = {
|
|
635
|
-
assignedCount: Scalars['Int']['output'];
|
|
636
|
-
divergentCount: Scalars['Int']['output'];
|
|
637
|
-
expiringSoonCount: Scalars['Int']['output'];
|
|
638
|
-
manualCheckCount: Scalars['Int']['output'];
|
|
639
|
-
mineCount: Scalars['Int']['output'];
|
|
640
|
-
openCount: Scalars['Int']['output'];
|
|
641
|
-
};
|
|
642
|
-
export type DrozChatApprovalTask = {
|
|
643
|
-
aiAgentId: Scalars['ID']['output'];
|
|
644
|
-
approvalQueueId: Scalars['ID']['output'];
|
|
645
|
-
args: Scalars['JSONObject']['output'];
|
|
646
|
-
assignedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
647
|
-
assigneeId?: Maybe<Scalars['ID']['output']>;
|
|
648
|
-
assigneeName?: Maybe<Scalars['String']['output']>;
|
|
649
|
-
channel: ApprovalTaskChannel;
|
|
650
|
-
claimExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
651
|
-
consumerActive: Scalars['Boolean']['output'];
|
|
652
|
-
conversation: DrozChatApprovalTaskConversation;
|
|
653
|
-
createdAt: Scalars['DateTime']['output'];
|
|
654
|
-
customerId?: Maybe<Scalars['ID']['output']>;
|
|
655
|
-
decidedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
656
|
-
decidedById?: Maybe<Scalars['ID']['output']>;
|
|
657
|
-
decidedByName?: Maybe<Scalars['String']['output']>;
|
|
658
|
-
decision?: Maybe<ApprovalTaskDecision>;
|
|
659
|
-
divergent?: Maybe<DrozChatApprovalTaskDivergence>;
|
|
660
|
-
executionResult?: Maybe<ApprovalTaskExecutionResult>;
|
|
661
|
-
expiresAt: Scalars['DateTime']['output'];
|
|
662
|
-
history: Array<DrozChatApprovalTaskEvent>;
|
|
663
|
-
id: Scalars['ID']['output'];
|
|
664
|
-
idempotencyKey: Scalars['String']['output'];
|
|
665
|
-
rejectionNote?: Maybe<Scalars['String']['output']>;
|
|
666
|
-
rejectionReason?: Maybe<ApprovalTaskRejectionReason>;
|
|
667
|
-
sessionId: Scalars['ID']['output'];
|
|
668
|
-
status: ApprovalTaskStatus;
|
|
669
|
-
summary: Scalars['String']['output'];
|
|
670
|
-
ticketId?: Maybe<Scalars['ID']['output']>;
|
|
671
|
-
toolId: Scalars['String']['output'];
|
|
672
|
-
toolName: Scalars['String']['output'];
|
|
673
|
-
trusted: Scalars['JSONObject']['output'];
|
|
674
|
-
untrusted: Scalars['JSONObject']['output'];
|
|
675
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
676
|
-
useCase: Scalars['String']['output'];
|
|
677
|
-
};
|
|
678
|
-
export type DrozChatApprovalTaskChange = {
|
|
679
|
-
action: ApprovalTaskChangeAction;
|
|
680
|
-
task: DrozChatApprovalTask;
|
|
681
|
-
};
|
|
682
|
-
export type DrozChatApprovalTaskConversation = {
|
|
683
|
-
messages: Array<DrozChatApprovalTaskMessage>;
|
|
684
|
-
truncated: Scalars['Boolean']['output'];
|
|
685
|
-
};
|
|
686
|
-
export type DrozChatApprovalTaskDivergence = {
|
|
687
|
-
after: Scalars['JSONObject']['output'];
|
|
688
|
-
before: Scalars['JSONObject']['output'];
|
|
689
|
-
};
|
|
690
|
-
export type DrozChatApprovalTaskEvent = {
|
|
691
|
-
actorId?: Maybe<Scalars['ID']['output']>;
|
|
692
|
-
at: Scalars['DateTime']['output'];
|
|
693
|
-
targetId?: Maybe<Scalars['ID']['output']>;
|
|
694
|
-
type: ApprovalTaskEventType;
|
|
695
|
-
};
|
|
696
|
-
export type DrozChatApprovalTaskMessage = {
|
|
697
|
-
role: ApprovalTaskMessageRole;
|
|
698
|
-
sentAt: Scalars['DateTime']['output'];
|
|
699
|
-
text: Scalars['String']['output'];
|
|
700
|
-
};
|
|
701
|
-
export type DrozChatApprovalTasksPage = {
|
|
702
|
-
nodes: Array<DrozChatApprovalTask>;
|
|
703
|
-
page: Scalars['Int']['output'];
|
|
704
|
-
perPage: Scalars['Int']['output'];
|
|
705
|
-
total: Scalars['Int']['output'];
|
|
706
|
-
};
|
|
707
|
-
export type DrozChatBusinessHours = {
|
|
708
|
-
createdAt: Scalars['DateTime']['output'];
|
|
709
|
-
days: Array<DrozChatBusinessHoursDay>;
|
|
710
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
711
|
-
};
|
|
712
|
-
export type DrozChatBusinessHoursDay = {
|
|
713
|
-
enabled: Scalars['Boolean']['output'];
|
|
714
|
-
slots: Array<DrozChatBusinessHoursSlot>;
|
|
715
|
-
weekday: BusinessHoursWeekday;
|
|
716
|
-
};
|
|
717
|
-
export type DrozChatBusinessHoursSlot = {
|
|
718
|
-
end: Scalars['String']['output'];
|
|
719
|
-
start: Scalars['String']['output'];
|
|
720
|
-
};
|
|
721
505
|
export type DrozChatChannel = {
|
|
722
506
|
agentIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
723
507
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -872,15 +656,12 @@ export type Mutation = {
|
|
|
872
656
|
addTagsToTicket: Ticket;
|
|
873
657
|
agentHeartbeat: AgentPresence;
|
|
874
658
|
agentLogoff: AgentPresence;
|
|
875
|
-
assignApprovalTask: DrozChatApprovalTask;
|
|
876
659
|
assignTicket: Ticket;
|
|
877
660
|
assignTicketMyself: Ticket;
|
|
878
|
-
claimApprovalTask: DrozChatApprovalTask;
|
|
879
661
|
clearCustomFieldValue: Ticket;
|
|
880
662
|
clearMaxSimultaneousAttendances?: Maybe<GlobalConfiguration>;
|
|
881
663
|
cloneView: View;
|
|
882
664
|
closeTicket: Ticket;
|
|
883
|
-
createApprovalQueue: DrozChatApprovalQueue;
|
|
884
665
|
createBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
885
666
|
createCustomField: CustomField;
|
|
886
667
|
createDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -894,8 +675,6 @@ export type Mutation = {
|
|
|
894
675
|
createTicketMessageForStorage: TicketMessage;
|
|
895
676
|
createTrigger: Trigger;
|
|
896
677
|
createView: View;
|
|
897
|
-
decideApprovalTask: DrozChatApprovalTask;
|
|
898
|
-
deleteApprovalQueue: DrozChatApprovalQueue;
|
|
899
678
|
deleteBulkCloseRoutineConfig: Scalars['Boolean']['output'];
|
|
900
679
|
deleteCustomField: Scalars['Boolean']['output'];
|
|
901
680
|
deleteNote: CustomerNote;
|
|
@@ -916,7 +695,6 @@ export type Mutation = {
|
|
|
916
695
|
/** Announce the current agent left the ticket (call on close/unmount). */
|
|
917
696
|
leaveTicketPresence: TicketPresence;
|
|
918
697
|
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>;
|
|
919
|
-
releaseApprovalTask: DrozChatApprovalTask;
|
|
920
698
|
removeDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
921
699
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
922
700
|
removeDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
@@ -924,11 +702,9 @@ export type Mutation = {
|
|
|
924
702
|
reorderCustomFields: Array<CustomField>;
|
|
925
703
|
reorderTriggersByEventType: Array<Trigger>;
|
|
926
704
|
setCustomFieldValue: Ticket;
|
|
927
|
-
setDrozChatBusinessHours: DrozChatBusinessHours;
|
|
928
705
|
setMaxSimultaneousAttendances: GlobalConfiguration;
|
|
929
706
|
transferTicketToChannel: Ticket;
|
|
930
707
|
unassignTicket: Ticket;
|
|
931
|
-
updateApprovalQueue: DrozChatApprovalQueue;
|
|
932
708
|
updateBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
933
709
|
updateCustomField: CustomField;
|
|
934
710
|
updateDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -956,18 +732,12 @@ export type MutationAddDrozChatChannelGroupArgs = {
|
|
|
956
732
|
export type MutationAddTagsToTicketArgs = {
|
|
957
733
|
input: AddTagsToTicketInput;
|
|
958
734
|
};
|
|
959
|
-
export type MutationAssignApprovalTaskArgs = {
|
|
960
|
-
input: AssignApprovalTaskInput;
|
|
961
|
-
};
|
|
962
735
|
export type MutationAssignTicketArgs = {
|
|
963
736
|
input: AssignTicketInput;
|
|
964
737
|
};
|
|
965
738
|
export type MutationAssignTicketMyselfArgs = {
|
|
966
739
|
input: AssignTicketMyselfInput;
|
|
967
740
|
};
|
|
968
|
-
export type MutationClaimApprovalTaskArgs = {
|
|
969
|
-
input: ClaimApprovalTaskInput;
|
|
970
|
-
};
|
|
971
741
|
export type MutationClearCustomFieldValueArgs = {
|
|
972
742
|
input: ClearCustomFieldValueInput;
|
|
973
743
|
};
|
|
@@ -977,9 +747,6 @@ export type MutationCloneViewArgs = {
|
|
|
977
747
|
export type MutationCloseTicketArgs = {
|
|
978
748
|
input: CloseTicketInput;
|
|
979
749
|
};
|
|
980
|
-
export type MutationCreateApprovalQueueArgs = {
|
|
981
|
-
input: CreateApprovalQueueInput;
|
|
982
|
-
};
|
|
983
750
|
export type MutationCreateBulkCloseRoutineConfigArgs = {
|
|
984
751
|
input: CreateBulkCloseRoutineConfigInput;
|
|
985
752
|
};
|
|
@@ -1019,12 +786,6 @@ export type MutationCreateTriggerArgs = {
|
|
|
1019
786
|
export type MutationCreateViewArgs = {
|
|
1020
787
|
input: CreateViewInput;
|
|
1021
788
|
};
|
|
1022
|
-
export type MutationDecideApprovalTaskArgs = {
|
|
1023
|
-
input: DecideApprovalTaskInput;
|
|
1024
|
-
};
|
|
1025
|
-
export type MutationDeleteApprovalQueueArgs = {
|
|
1026
|
-
input: DeleteApprovalQueueInput;
|
|
1027
|
-
};
|
|
1028
789
|
export type MutationDeleteCustomFieldArgs = {
|
|
1029
790
|
id: Scalars['ID']['input'];
|
|
1030
791
|
};
|
|
@@ -1064,9 +825,6 @@ export type MutationLeaveTicketPresenceArgs = {
|
|
|
1064
825
|
export type MutationMarkTicketMessagesAsReadArgs = {
|
|
1065
826
|
input: MarkTicketMessagesAsReadInput;
|
|
1066
827
|
};
|
|
1067
|
-
export type MutationReleaseApprovalTaskArgs = {
|
|
1068
|
-
input: ReleaseApprovalTaskInput;
|
|
1069
|
-
};
|
|
1070
828
|
export type MutationRemoveDrozChatAgentGroupArgs = {
|
|
1071
829
|
input: RemoveDrozChatAgentGroupInput;
|
|
1072
830
|
};
|
|
@@ -1088,9 +846,6 @@ export type MutationReorderTriggersByEventTypeArgs = {
|
|
|
1088
846
|
export type MutationSetCustomFieldValueArgs = {
|
|
1089
847
|
input: SetCustomFieldValueInput;
|
|
1090
848
|
};
|
|
1091
|
-
export type MutationSetDrozChatBusinessHoursArgs = {
|
|
1092
|
-
input: SetBusinessHoursInput;
|
|
1093
|
-
};
|
|
1094
849
|
export type MutationSetMaxSimultaneousAttendancesArgs = {
|
|
1095
850
|
input: SetMaxSimultaneousAttendancesInput;
|
|
1096
851
|
};
|
|
@@ -1100,9 +855,6 @@ export type MutationTransferTicketToChannelArgs = {
|
|
|
1100
855
|
export type MutationUnassignTicketArgs = {
|
|
1101
856
|
input: UnassignTicketInput;
|
|
1102
857
|
};
|
|
1103
|
-
export type MutationUpdateApprovalQueueArgs = {
|
|
1104
|
-
input: UpdateApprovalQueueInput;
|
|
1105
|
-
};
|
|
1106
858
|
export type MutationUpdateBulkCloseRoutineConfigArgs = {
|
|
1107
859
|
input: UpdateBulkCloseRoutineConfigInput;
|
|
1108
860
|
};
|
|
@@ -1168,14 +920,10 @@ export type Query = {
|
|
|
1168
920
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
1169
921
|
assertChatActions: ChatActions;
|
|
1170
922
|
customFieldValuesForTicket: Array<TicketCustomFieldValue>;
|
|
1171
|
-
getApprovalQueue?: Maybe<DrozChatApprovalQueue>;
|
|
1172
|
-
getApprovalSummary: DrozChatApprovalSummary;
|
|
1173
|
-
getApprovalTask?: Maybe<DrozChatApprovalTask>;
|
|
1174
923
|
getBulkCloseRoutineConfig?: Maybe<BulkCloseRoutineConfig>;
|
|
1175
924
|
getBulkCloseRuns: BulkCloseRunsConnection;
|
|
1176
925
|
getCustomField?: Maybe<CustomField>;
|
|
1177
926
|
getDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
1178
|
-
getDrozChatBusinessHours?: Maybe<DrozChatBusinessHours>;
|
|
1179
927
|
getDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
1180
928
|
getGlobalConfiguration?: Maybe<GlobalConfiguration>;
|
|
1181
929
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
@@ -1184,14 +932,11 @@ export type Query = {
|
|
|
1184
932
|
getTrigger?: Maybe<Trigger>;
|
|
1185
933
|
getView?: Maybe<View>;
|
|
1186
934
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
1187
|
-
listApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
1188
|
-
listApprovalTasks: DrozChatApprovalTasksPage;
|
|
1189
935
|
listCustomFields: Array<CustomField>;
|
|
1190
936
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
1191
937
|
listDrozChatAgentGroups: Array<DrozChatAgentGroup>;
|
|
1192
938
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
1193
939
|
listDrozChatGroups: Array<DrozChatAgentGroup>;
|
|
1194
|
-
listMyApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
1195
940
|
listNotes: CustomerNotesConnection;
|
|
1196
941
|
listQuickAnswers: QuickAnswersConnection;
|
|
1197
942
|
listTags: TicketTagsConnection;
|
|
@@ -1225,12 +970,6 @@ export type QueryAssertChatActionsArgs = {
|
|
|
1225
970
|
export type QueryCustomFieldValuesForTicketArgs = {
|
|
1226
971
|
ticketId: Scalars['ID']['input'];
|
|
1227
972
|
};
|
|
1228
|
-
export type QueryGetApprovalQueueArgs = {
|
|
1229
|
-
id: Scalars['ID']['input'];
|
|
1230
|
-
};
|
|
1231
|
-
export type QueryGetApprovalTaskArgs = {
|
|
1232
|
-
id: Scalars['ID']['input'];
|
|
1233
|
-
};
|
|
1234
973
|
export type QueryGetBulkCloseRunsArgs = {
|
|
1235
974
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
1236
975
|
};
|
|
@@ -1252,11 +991,6 @@ export type QueryGetTriggerArgs = {
|
|
|
1252
991
|
export type QueryGetViewArgs = {
|
|
1253
992
|
id: Scalars['ID']['input'];
|
|
1254
993
|
};
|
|
1255
|
-
export type QueryListApprovalTasksArgs = {
|
|
1256
|
-
filter: ApprovalTasksFilterInput;
|
|
1257
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1258
|
-
perPage?: InputMaybe<Scalars['Int']['input']>;
|
|
1259
|
-
};
|
|
1260
994
|
export type QueryListDrozChatAgentChannelsArgs = {
|
|
1261
995
|
agentId: Scalars['ID']['input'];
|
|
1262
996
|
};
|
|
@@ -1347,9 +1081,6 @@ export declare enum QuickAnswersSortBy {
|
|
|
1347
1081
|
UpdatedAtAsc = "updatedAt_asc",
|
|
1348
1082
|
UpdatedAtDesc = "updatedAt_desc"
|
|
1349
1083
|
}
|
|
1350
|
-
export type ReleaseApprovalTaskInput = {
|
|
1351
|
-
id: Scalars['ID']['input'];
|
|
1352
|
-
};
|
|
1353
1084
|
export type RemoveDrozChatAgentGroupInput = {
|
|
1354
1085
|
agentId: Scalars['ID']['input'];
|
|
1355
1086
|
id: Scalars['ID']['input'];
|
|
@@ -1394,9 +1125,6 @@ export type SearchResultsStats = {
|
|
|
1394
1125
|
searchTime: Scalars['Float']['output'];
|
|
1395
1126
|
totalPages: Scalars['Float']['output'];
|
|
1396
1127
|
};
|
|
1397
|
-
export type SetBusinessHoursInput = {
|
|
1398
|
-
days: Array<BusinessHoursDayInput>;
|
|
1399
|
-
};
|
|
1400
1128
|
export type SetCustomFieldValueInput = {
|
|
1401
1129
|
fieldId: Scalars['ID']['input'];
|
|
1402
1130
|
ticketId: Scalars['ID']['input'];
|
|
@@ -1432,8 +1160,6 @@ export type StringMatcherInput = {
|
|
|
1432
1160
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
1433
1161
|
};
|
|
1434
1162
|
export type Subscription = {
|
|
1435
|
-
onApprovalAlert: DrozChatApprovalAlert;
|
|
1436
|
-
onApprovalTaskChange: DrozChatApprovalTaskChange;
|
|
1437
1163
|
onMessageByStateMine: TicketMessageSubscription;
|
|
1438
1164
|
/**
|
|
1439
1165
|
* Mudança de um ticket relevante para o painel de monitoramento, como delta enxuto. Entregue a
|
|
@@ -1858,14 +1584,9 @@ export declare enum Typenames {
|
|
|
1858
1584
|
AgentGroup = "AgentGroup",
|
|
1859
1585
|
AgentPresence = "AgentPresence",
|
|
1860
1586
|
Any = "Any",
|
|
1861
|
-
ApprovalQueues = "ApprovalQueues",
|
|
1862
|
-
ApprovalSessionLocks = "ApprovalSessionLocks",
|
|
1863
|
-
ApprovalTaskKeys = "ApprovalTaskKeys",
|
|
1864
|
-
ApprovalTasks = "ApprovalTasks",
|
|
1865
1587
|
BulkCloseBatches = "BulkCloseBatches",
|
|
1866
1588
|
BulkCloseRoutineConfig = "BulkCloseRoutineConfig",
|
|
1867
1589
|
BulkCloseRuns = "BulkCloseRuns",
|
|
1868
|
-
BusinessHours = "BusinessHours",
|
|
1869
1590
|
ChannelLastAssignee = "ChannelLastAssignee",
|
|
1870
1591
|
ChannelTriggerExecutions = "ChannelTriggerExecutions",
|
|
1871
1592
|
Channels = "Channels",
|
|
@@ -1891,14 +1612,6 @@ export declare enum Typenames {
|
|
|
1891
1612
|
export type UnassignTicketInput = {
|
|
1892
1613
|
ticketId: Scalars['ID']['input'];
|
|
1893
1614
|
};
|
|
1894
|
-
export type UpdateApprovalQueueInput = {
|
|
1895
|
-
agentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1896
|
-
depthLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
1897
|
-
fallbackChannelId?: InputMaybe<Scalars['ID']['input']>;
|
|
1898
|
-
groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1899
|
-
id: Scalars['ID']['input'];
|
|
1900
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
1901
|
-
};
|
|
1902
1615
|
export type UpdateBulkCloseRoutineConfigInput = {
|
|
1903
1616
|
batchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1904
1617
|
cronExpression?: InputMaybe<Scalars['String']['input']>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument =
|
|
4
|
+
exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketWithoutCustomerFragmentDoc = exports.TagFragmentDoc = exports.QuickAnswerFacetsFragmentDoc = exports.QuickAnswerFragmentDoc = exports.TicketPresenceFragmentDoc = exports.SurveyFragmentDoc = exports.MonitoringTicketSnapshotFragmentDoc = exports.LiveSummaryFragmentDoc = exports.LiveAgentLoadFragmentDoc = exports.LiveQueueSummaryFragmentDoc = exports.DrozChatAgentGroupFragmentDoc = exports.GlobalConfigurationFragmentDoc = exports.TicketWithCustomFieldValuesFragmentDoc = exports.TicketCustomFieldValueFragmentDoc = exports.CustomFieldFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.CustomerNoteFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.BulkCloseRunFragmentDoc = exports.BulkCloseRoutineConfigFragmentDoc = exports.AgentPresenceFragmentDoc = exports.Typenames = exports.TriggerScope = exports.TriggerEventType = exports.TriggerActionType = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketOrigin = exports.TicketMessageType = exports.TicketMessageRecipient = exports.TicketAutoAssignerType = exports.TicketAssessType = exports.SurveyTypes = exports.SurveyChannels = exports.SubscriptionAction = exports.QuickAnswersSortBy = exports.OpenTicketState = exports.LiveAgentStatus = exports.CustomFieldType = exports.Can = exports.AppInstanceStatus = exports.AgentPresenceStatus = exports.ActiveDispatchConnector = void 0;
|
|
5
|
+
exports.UpdateDrozChatAgentGroupDocument = exports.CreateDrozChatAgentGroupDocument = exports.ListDrozChatAgentGroupsDocument = exports.ListDrozChatGroupsDocument = exports.GetDrozChatAgentGroupDocument = exports.ClearMaxSimultaneousAttendancesDocument = exports.SetMaxSimultaneousAttendancesDocument = exports.GetGlobalConfigurationDocument = exports.CustomFieldValuesForTicketDocument = exports.ClearCustomFieldValueDocument = exports.SetCustomFieldValueDocument = exports.SearchTicketsWithCustomFieldValuesDocument = exports.ReorderCustomFieldsDocument = exports.DeleteCustomFieldDocument = exports.UpdateCustomFieldDocument = exports.CreateCustomFieldDocument = exports.ListCustomFieldsDocument = exports.DeleteNoteDocument = exports.UpdateNoteDocument = exports.CreateNoteDocument = exports.ListNotesDocument = exports.RemoveDrozChatChannelGroupDocument = exports.AddDrozChatChannelGroupDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GetBulkCloseRunsDocument = exports.DeleteBulkCloseRoutineConfigDocument = exports.DisableBulkCloseRoutineConfigDocument = exports.EnableBulkCloseRoutineConfigDocument = exports.UpdateBulkCloseRoutineConfigDocument = exports.CreateBulkCloseRoutineConfigDocument = exports.GetBulkCloseRoutineConfigDocument = exports.GenerateAnalyticsTokenDocument = exports.AgentLogoffDocument = exports.AgentHeartbeatDocument = exports.MyPresenceDocument = exports.ActiveDispatchDocument = exports.ViewFragmentDoc = exports.TriggerFragmentDoc = exports.TriggerConditionFieldsFragmentDoc = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.DrozChatUserFragmentDoc = void 0;
|
|
6
|
+
exports.ListTriggersDocument = exports.OnMessageByStateMineDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageEnvelopeDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.AgentRemainingCapacityDocument = exports.AssertChatActionsDocument = exports.UnsafeSearchTicketsDocument = exports.SearchTicketsWithoutCustomerDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineWithoutCustomerDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.UpdateQuickAnswerDocument = exports.DeleteQuickAnswerDocument = exports.CreateQuickAnswerDocument = exports.SearchQuickAnswersDocument = exports.ListQuickAnswersDocument = exports.OnTicketPresenceDocument = exports.LeaveTicketPresenceDocument = exports.EnterTicketPresenceDocument = exports.TicketPresenceDocument = exports.DisableSurveyDocument = exports.UpsertSurveyDocument = exports.GetSurveyDocument = exports.OnMonitoringTicketChangeDocument = exports.LiveSummaryDocument = exports.RemoveDrozChatAgentGroupDocument = exports.AddDrozChatAgentGroupDocument = exports.EnableDrozChatAgentGroupDocument = exports.DisableDrozChatAgentGroupDocument = void 0;
|
|
7
|
+
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = void 0;
|
|
8
8
|
exports.getSdk = getSdk;
|
|
9
9
|
var ActiveDispatchConnector;
|
|
10
10
|
(function (ActiveDispatchConnector) {
|
|
@@ -23,90 +23,6 @@ var AppInstanceStatus;
|
|
|
23
23
|
AppInstanceStatus["Failing"] = "Failing";
|
|
24
24
|
AppInstanceStatus["Inactive"] = "Inactive";
|
|
25
25
|
})(AppInstanceStatus || (exports.AppInstanceStatus = AppInstanceStatus = {}));
|
|
26
|
-
var ApprovalAlertType;
|
|
27
|
-
(function (ApprovalAlertType) {
|
|
28
|
-
ApprovalAlertType["ApprovalQueueOverLimit"] = "APPROVAL_QUEUE_OVER_LIMIT";
|
|
29
|
-
ApprovalAlertType["Expired"] = "EXPIRED";
|
|
30
|
-
ApprovalAlertType["ExpiringSoon"] = "EXPIRING_SOON";
|
|
31
|
-
ApprovalAlertType["FallbackChannelMissing"] = "FALLBACK_CHANNEL_MISSING";
|
|
32
|
-
ApprovalAlertType["Indeterminate"] = "INDETERMINATE";
|
|
33
|
-
ApprovalAlertType["NoApproverOnline"] = "NO_APPROVER_ONLINE";
|
|
34
|
-
})(ApprovalAlertType || (exports.ApprovalAlertType = ApprovalAlertType = {}));
|
|
35
|
-
var ApprovalTaskChangeAction;
|
|
36
|
-
(function (ApprovalTaskChangeAction) {
|
|
37
|
-
ApprovalTaskChangeAction["Created"] = "CREATED";
|
|
38
|
-
ApprovalTaskChangeAction["Removed"] = "REMOVED";
|
|
39
|
-
ApprovalTaskChangeAction["Updated"] = "UPDATED";
|
|
40
|
-
})(ApprovalTaskChangeAction || (exports.ApprovalTaskChangeAction = ApprovalTaskChangeAction = {}));
|
|
41
|
-
var ApprovalTaskChannel;
|
|
42
|
-
(function (ApprovalTaskChannel) {
|
|
43
|
-
ApprovalTaskChannel["Other"] = "OTHER";
|
|
44
|
-
ApprovalTaskChannel["Web"] = "WEB";
|
|
45
|
-
ApprovalTaskChannel["Whatsapp"] = "WHATSAPP";
|
|
46
|
-
})(ApprovalTaskChannel || (exports.ApprovalTaskChannel = ApprovalTaskChannel = {}));
|
|
47
|
-
var ApprovalTaskDecision;
|
|
48
|
-
(function (ApprovalTaskDecision) {
|
|
49
|
-
ApprovalTaskDecision["Approved"] = "APPROVED";
|
|
50
|
-
ApprovalTaskDecision["Rejected"] = "REJECTED";
|
|
51
|
-
})(ApprovalTaskDecision || (exports.ApprovalTaskDecision = ApprovalTaskDecision = {}));
|
|
52
|
-
var ApprovalTaskEventType;
|
|
53
|
-
(function (ApprovalTaskEventType) {
|
|
54
|
-
ApprovalTaskEventType["Assigned"] = "ASSIGNED";
|
|
55
|
-
ApprovalTaskEventType["Cancelled"] = "CANCELLED";
|
|
56
|
-
ApprovalTaskEventType["Claimed"] = "CLAIMED";
|
|
57
|
-
ApprovalTaskEventType["ClaimExpired"] = "CLAIM_EXPIRED";
|
|
58
|
-
ApprovalTaskEventType["Created"] = "CREATED";
|
|
59
|
-
ApprovalTaskEventType["Decided"] = "DECIDED";
|
|
60
|
-
ApprovalTaskEventType["DivergenceFound"] = "DIVERGENCE_FOUND";
|
|
61
|
-
ApprovalTaskEventType["ExecutionReported"] = "EXECUTION_REPORTED";
|
|
62
|
-
ApprovalTaskEventType["Expired"] = "EXPIRED";
|
|
63
|
-
ApprovalTaskEventType["Released"] = "RELEASED";
|
|
64
|
-
})(ApprovalTaskEventType || (exports.ApprovalTaskEventType = ApprovalTaskEventType = {}));
|
|
65
|
-
var ApprovalTaskExecutionResult;
|
|
66
|
-
(function (ApprovalTaskExecutionResult) {
|
|
67
|
-
ApprovalTaskExecutionResult["Executed"] = "EXECUTED";
|
|
68
|
-
ApprovalTaskExecutionResult["Failed"] = "FAILED";
|
|
69
|
-
ApprovalTaskExecutionResult["Indeterminate"] = "INDETERMINATE";
|
|
70
|
-
ApprovalTaskExecutionResult["NotExecuted"] = "NOT_EXECUTED";
|
|
71
|
-
})(ApprovalTaskExecutionResult || (exports.ApprovalTaskExecutionResult = ApprovalTaskExecutionResult = {}));
|
|
72
|
-
var ApprovalTaskMessageRole;
|
|
73
|
-
(function (ApprovalTaskMessageRole) {
|
|
74
|
-
ApprovalTaskMessageRole["AiAgent"] = "AI_AGENT";
|
|
75
|
-
ApprovalTaskMessageRole["Customer"] = "CUSTOMER";
|
|
76
|
-
})(ApprovalTaskMessageRole || (exports.ApprovalTaskMessageRole = ApprovalTaskMessageRole = {}));
|
|
77
|
-
var ApprovalTaskRejectionReason;
|
|
78
|
-
(function (ApprovalTaskRejectionReason) {
|
|
79
|
-
ApprovalTaskRejectionReason["DataMismatch"] = "DATA_MISMATCH";
|
|
80
|
-
ApprovalTaskRejectionReason["Other"] = "OTHER";
|
|
81
|
-
ApprovalTaskRejectionReason["OutOfPolicy"] = "OUT_OF_POLICY";
|
|
82
|
-
ApprovalTaskRejectionReason["SuspectedFraud"] = "SUSPECTED_FRAUD";
|
|
83
|
-
})(ApprovalTaskRejectionReason || (exports.ApprovalTaskRejectionReason = ApprovalTaskRejectionReason = {}));
|
|
84
|
-
var ApprovalTaskStatus;
|
|
85
|
-
(function (ApprovalTaskStatus) {
|
|
86
|
-
ApprovalTaskStatus["Assigned"] = "ASSIGNED";
|
|
87
|
-
ApprovalTaskStatus["Cancelled"] = "CANCELLED";
|
|
88
|
-
ApprovalTaskStatus["Decided"] = "DECIDED";
|
|
89
|
-
ApprovalTaskStatus["Expired"] = "EXPIRED";
|
|
90
|
-
ApprovalTaskStatus["Open"] = "OPEN";
|
|
91
|
-
})(ApprovalTaskStatus || (exports.ApprovalTaskStatus = ApprovalTaskStatus = {}));
|
|
92
|
-
var ApprovalTaskTab;
|
|
93
|
-
(function (ApprovalTaskTab) {
|
|
94
|
-
ApprovalTaskTab["All"] = "ALL";
|
|
95
|
-
ApprovalTaskTab["Finished"] = "FINISHED";
|
|
96
|
-
ApprovalTaskTab["ManualCheck"] = "MANUAL_CHECK";
|
|
97
|
-
ApprovalTaskTab["Mine"] = "MINE";
|
|
98
|
-
ApprovalTaskTab["Pending"] = "PENDING";
|
|
99
|
-
})(ApprovalTaskTab || (exports.ApprovalTaskTab = ApprovalTaskTab = {}));
|
|
100
|
-
var BusinessHoursWeekday;
|
|
101
|
-
(function (BusinessHoursWeekday) {
|
|
102
|
-
BusinessHoursWeekday["Friday"] = "FRIDAY";
|
|
103
|
-
BusinessHoursWeekday["Monday"] = "MONDAY";
|
|
104
|
-
BusinessHoursWeekday["Saturday"] = "SATURDAY";
|
|
105
|
-
BusinessHoursWeekday["Sunday"] = "SUNDAY";
|
|
106
|
-
BusinessHoursWeekday["Thursday"] = "THURSDAY";
|
|
107
|
-
BusinessHoursWeekday["Tuesday"] = "TUESDAY";
|
|
108
|
-
BusinessHoursWeekday["Wednesday"] = "WEDNESDAY";
|
|
109
|
-
})(BusinessHoursWeekday || (exports.BusinessHoursWeekday = BusinessHoursWeekday = {}));
|
|
110
26
|
var Can;
|
|
111
27
|
(function (Can) {
|
|
112
28
|
Can["Manage"] = "manage";
|
|
@@ -252,14 +168,9 @@ var Typenames;
|
|
|
252
168
|
Typenames["AgentGroup"] = "AgentGroup";
|
|
253
169
|
Typenames["AgentPresence"] = "AgentPresence";
|
|
254
170
|
Typenames["Any"] = "Any";
|
|
255
|
-
Typenames["ApprovalQueues"] = "ApprovalQueues";
|
|
256
|
-
Typenames["ApprovalSessionLocks"] = "ApprovalSessionLocks";
|
|
257
|
-
Typenames["ApprovalTaskKeys"] = "ApprovalTaskKeys";
|
|
258
|
-
Typenames["ApprovalTasks"] = "ApprovalTasks";
|
|
259
171
|
Typenames["BulkCloseBatches"] = "BulkCloseBatches";
|
|
260
172
|
Typenames["BulkCloseRoutineConfig"] = "BulkCloseRoutineConfig";
|
|
261
173
|
Typenames["BulkCloseRuns"] = "BulkCloseRuns";
|
|
262
|
-
Typenames["BusinessHours"] = "BusinessHours";
|
|
263
174
|
Typenames["ChannelLastAssignee"] = "ChannelLastAssignee";
|
|
264
175
|
Typenames["ChannelTriggerExecutions"] = "ChannelTriggerExecutions";
|
|
265
176
|
Typenames["Channels"] = "Channels";
|