@droz-js/sdk 0.26.18 → 0.26.19
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 +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/package.json
CHANGED
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
|
},
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -212,6 +212,79 @@ 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
|
+
};
|
|
215
288
|
export type AssignTicketInput = {
|
|
216
289
|
assigneeId: Scalars['ID']['input'];
|
|
217
290
|
channelId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -262,6 +335,24 @@ export type BulkCloseRunsConnection = {
|
|
|
262
335
|
nodes: Array<BulkCloseRun>;
|
|
263
336
|
pageInfo: PageInfo;
|
|
264
337
|
};
|
|
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
|
+
}
|
|
265
356
|
export declare enum Can {
|
|
266
357
|
Manage = "manage",
|
|
267
358
|
Read = "read",
|
|
@@ -300,6 +391,9 @@ export type ChatActions = {
|
|
|
300
391
|
canUnassign: Scalars['Boolean']['output'];
|
|
301
392
|
canUpdateTags: Scalars['Boolean']['output'];
|
|
302
393
|
};
|
|
394
|
+
export type ClaimApprovalTaskInput = {
|
|
395
|
+
id: Scalars['ID']['input'];
|
|
396
|
+
};
|
|
303
397
|
export type ClearCustomFieldValueInput = {
|
|
304
398
|
fieldId: Scalars['ID']['input'];
|
|
305
399
|
ticketId: Scalars['ID']['input'];
|
|
@@ -310,6 +404,13 @@ export type CloneViewInput = {
|
|
|
310
404
|
export type CloseTicketInput = {
|
|
311
405
|
ticketId: Scalars['ID']['input'];
|
|
312
406
|
};
|
|
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
|
+
};
|
|
313
414
|
export type CreateBulkCloseRoutineConfigInput = {
|
|
314
415
|
batchSize: Scalars['Int']['input'];
|
|
315
416
|
cronExpression: Scalars['String']['input'];
|
|
@@ -461,6 +562,15 @@ export type CustomerSearchResultsFacetValue = {
|
|
|
461
562
|
customer?: Maybe<DrozChatCustomer>;
|
|
462
563
|
value: Scalars['String']['output'];
|
|
463
564
|
};
|
|
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
|
+
};
|
|
464
574
|
export type DeleteCustomerNoteInput = {
|
|
465
575
|
customerId: Scalars['String']['input'];
|
|
466
576
|
id: Scalars['String']['input'];
|
|
@@ -502,6 +612,112 @@ export type DrozChatAgentGroup = {
|
|
|
502
612
|
name: Scalars['String']['output'];
|
|
503
613
|
updatedAt: Scalars['DateTime']['output'];
|
|
504
614
|
};
|
|
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
|
+
};
|
|
505
721
|
export type DrozChatChannel = {
|
|
506
722
|
agentIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
507
723
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -656,12 +872,15 @@ export type Mutation = {
|
|
|
656
872
|
addTagsToTicket: Ticket;
|
|
657
873
|
agentHeartbeat: AgentPresence;
|
|
658
874
|
agentLogoff: AgentPresence;
|
|
875
|
+
assignApprovalTask: DrozChatApprovalTask;
|
|
659
876
|
assignTicket: Ticket;
|
|
660
877
|
assignTicketMyself: Ticket;
|
|
878
|
+
claimApprovalTask: DrozChatApprovalTask;
|
|
661
879
|
clearCustomFieldValue: Ticket;
|
|
662
880
|
clearMaxSimultaneousAttendances?: Maybe<GlobalConfiguration>;
|
|
663
881
|
cloneView: View;
|
|
664
882
|
closeTicket: Ticket;
|
|
883
|
+
createApprovalQueue: DrozChatApprovalQueue;
|
|
665
884
|
createBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
666
885
|
createCustomField: CustomField;
|
|
667
886
|
createDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -675,6 +894,8 @@ export type Mutation = {
|
|
|
675
894
|
createTicketMessageForStorage: TicketMessage;
|
|
676
895
|
createTrigger: Trigger;
|
|
677
896
|
createView: View;
|
|
897
|
+
decideApprovalTask: DrozChatApprovalTask;
|
|
898
|
+
deleteApprovalQueue: DrozChatApprovalQueue;
|
|
678
899
|
deleteBulkCloseRoutineConfig: Scalars['Boolean']['output'];
|
|
679
900
|
deleteCustomField: Scalars['Boolean']['output'];
|
|
680
901
|
deleteNote: CustomerNote;
|
|
@@ -695,6 +916,7 @@ export type Mutation = {
|
|
|
695
916
|
/** Announce the current agent left the ticket (call on close/unmount). */
|
|
696
917
|
leaveTicketPresence: TicketPresence;
|
|
697
918
|
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>;
|
|
919
|
+
releaseApprovalTask: DrozChatApprovalTask;
|
|
698
920
|
removeDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
699
921
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
700
922
|
removeDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
@@ -702,9 +924,11 @@ export type Mutation = {
|
|
|
702
924
|
reorderCustomFields: Array<CustomField>;
|
|
703
925
|
reorderTriggersByEventType: Array<Trigger>;
|
|
704
926
|
setCustomFieldValue: Ticket;
|
|
927
|
+
setDrozChatBusinessHours: DrozChatBusinessHours;
|
|
705
928
|
setMaxSimultaneousAttendances: GlobalConfiguration;
|
|
706
929
|
transferTicketToChannel: Ticket;
|
|
707
930
|
unassignTicket: Ticket;
|
|
931
|
+
updateApprovalQueue: DrozChatApprovalQueue;
|
|
708
932
|
updateBulkCloseRoutineConfig: BulkCloseRoutineConfig;
|
|
709
933
|
updateCustomField: CustomField;
|
|
710
934
|
updateDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
@@ -732,12 +956,18 @@ export type MutationAddDrozChatChannelGroupArgs = {
|
|
|
732
956
|
export type MutationAddTagsToTicketArgs = {
|
|
733
957
|
input: AddTagsToTicketInput;
|
|
734
958
|
};
|
|
959
|
+
export type MutationAssignApprovalTaskArgs = {
|
|
960
|
+
input: AssignApprovalTaskInput;
|
|
961
|
+
};
|
|
735
962
|
export type MutationAssignTicketArgs = {
|
|
736
963
|
input: AssignTicketInput;
|
|
737
964
|
};
|
|
738
965
|
export type MutationAssignTicketMyselfArgs = {
|
|
739
966
|
input: AssignTicketMyselfInput;
|
|
740
967
|
};
|
|
968
|
+
export type MutationClaimApprovalTaskArgs = {
|
|
969
|
+
input: ClaimApprovalTaskInput;
|
|
970
|
+
};
|
|
741
971
|
export type MutationClearCustomFieldValueArgs = {
|
|
742
972
|
input: ClearCustomFieldValueInput;
|
|
743
973
|
};
|
|
@@ -747,6 +977,9 @@ export type MutationCloneViewArgs = {
|
|
|
747
977
|
export type MutationCloseTicketArgs = {
|
|
748
978
|
input: CloseTicketInput;
|
|
749
979
|
};
|
|
980
|
+
export type MutationCreateApprovalQueueArgs = {
|
|
981
|
+
input: CreateApprovalQueueInput;
|
|
982
|
+
};
|
|
750
983
|
export type MutationCreateBulkCloseRoutineConfigArgs = {
|
|
751
984
|
input: CreateBulkCloseRoutineConfigInput;
|
|
752
985
|
};
|
|
@@ -786,6 +1019,12 @@ export type MutationCreateTriggerArgs = {
|
|
|
786
1019
|
export type MutationCreateViewArgs = {
|
|
787
1020
|
input: CreateViewInput;
|
|
788
1021
|
};
|
|
1022
|
+
export type MutationDecideApprovalTaskArgs = {
|
|
1023
|
+
input: DecideApprovalTaskInput;
|
|
1024
|
+
};
|
|
1025
|
+
export type MutationDeleteApprovalQueueArgs = {
|
|
1026
|
+
input: DeleteApprovalQueueInput;
|
|
1027
|
+
};
|
|
789
1028
|
export type MutationDeleteCustomFieldArgs = {
|
|
790
1029
|
id: Scalars['ID']['input'];
|
|
791
1030
|
};
|
|
@@ -825,6 +1064,9 @@ export type MutationLeaveTicketPresenceArgs = {
|
|
|
825
1064
|
export type MutationMarkTicketMessagesAsReadArgs = {
|
|
826
1065
|
input: MarkTicketMessagesAsReadInput;
|
|
827
1066
|
};
|
|
1067
|
+
export type MutationReleaseApprovalTaskArgs = {
|
|
1068
|
+
input: ReleaseApprovalTaskInput;
|
|
1069
|
+
};
|
|
828
1070
|
export type MutationRemoveDrozChatAgentGroupArgs = {
|
|
829
1071
|
input: RemoveDrozChatAgentGroupInput;
|
|
830
1072
|
};
|
|
@@ -846,6 +1088,9 @@ export type MutationReorderTriggersByEventTypeArgs = {
|
|
|
846
1088
|
export type MutationSetCustomFieldValueArgs = {
|
|
847
1089
|
input: SetCustomFieldValueInput;
|
|
848
1090
|
};
|
|
1091
|
+
export type MutationSetDrozChatBusinessHoursArgs = {
|
|
1092
|
+
input: SetBusinessHoursInput;
|
|
1093
|
+
};
|
|
849
1094
|
export type MutationSetMaxSimultaneousAttendancesArgs = {
|
|
850
1095
|
input: SetMaxSimultaneousAttendancesInput;
|
|
851
1096
|
};
|
|
@@ -855,6 +1100,9 @@ export type MutationTransferTicketToChannelArgs = {
|
|
|
855
1100
|
export type MutationUnassignTicketArgs = {
|
|
856
1101
|
input: UnassignTicketInput;
|
|
857
1102
|
};
|
|
1103
|
+
export type MutationUpdateApprovalQueueArgs = {
|
|
1104
|
+
input: UpdateApprovalQueueInput;
|
|
1105
|
+
};
|
|
858
1106
|
export type MutationUpdateBulkCloseRoutineConfigArgs = {
|
|
859
1107
|
input: UpdateBulkCloseRoutineConfigInput;
|
|
860
1108
|
};
|
|
@@ -920,10 +1168,14 @@ export type Query = {
|
|
|
920
1168
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
921
1169
|
assertChatActions: ChatActions;
|
|
922
1170
|
customFieldValuesForTicket: Array<TicketCustomFieldValue>;
|
|
1171
|
+
getApprovalQueue?: Maybe<DrozChatApprovalQueue>;
|
|
1172
|
+
getApprovalSummary: DrozChatApprovalSummary;
|
|
1173
|
+
getApprovalTask?: Maybe<DrozChatApprovalTask>;
|
|
923
1174
|
getBulkCloseRoutineConfig?: Maybe<BulkCloseRoutineConfig>;
|
|
924
1175
|
getBulkCloseRuns: BulkCloseRunsConnection;
|
|
925
1176
|
getCustomField?: Maybe<CustomField>;
|
|
926
1177
|
getDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
1178
|
+
getDrozChatBusinessHours?: Maybe<DrozChatBusinessHours>;
|
|
927
1179
|
getDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
928
1180
|
getGlobalConfiguration?: Maybe<GlobalConfiguration>;
|
|
929
1181
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
@@ -932,11 +1184,14 @@ export type Query = {
|
|
|
932
1184
|
getTrigger?: Maybe<Trigger>;
|
|
933
1185
|
getView?: Maybe<View>;
|
|
934
1186
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
1187
|
+
listApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
1188
|
+
listApprovalTasks: DrozChatApprovalTasksPage;
|
|
935
1189
|
listCustomFields: Array<CustomField>;
|
|
936
1190
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
937
1191
|
listDrozChatAgentGroups: Array<DrozChatAgentGroup>;
|
|
938
1192
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
939
1193
|
listDrozChatGroups: Array<DrozChatAgentGroup>;
|
|
1194
|
+
listMyApprovalQueues: Array<DrozChatApprovalQueue>;
|
|
940
1195
|
listNotes: CustomerNotesConnection;
|
|
941
1196
|
listQuickAnswers: QuickAnswersConnection;
|
|
942
1197
|
listTags: TicketTagsConnection;
|
|
@@ -970,6 +1225,12 @@ export type QueryAssertChatActionsArgs = {
|
|
|
970
1225
|
export type QueryCustomFieldValuesForTicketArgs = {
|
|
971
1226
|
ticketId: Scalars['ID']['input'];
|
|
972
1227
|
};
|
|
1228
|
+
export type QueryGetApprovalQueueArgs = {
|
|
1229
|
+
id: Scalars['ID']['input'];
|
|
1230
|
+
};
|
|
1231
|
+
export type QueryGetApprovalTaskArgs = {
|
|
1232
|
+
id: Scalars['ID']['input'];
|
|
1233
|
+
};
|
|
973
1234
|
export type QueryGetBulkCloseRunsArgs = {
|
|
974
1235
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
975
1236
|
};
|
|
@@ -991,6 +1252,11 @@ export type QueryGetTriggerArgs = {
|
|
|
991
1252
|
export type QueryGetViewArgs = {
|
|
992
1253
|
id: Scalars['ID']['input'];
|
|
993
1254
|
};
|
|
1255
|
+
export type QueryListApprovalTasksArgs = {
|
|
1256
|
+
filter: ApprovalTasksFilterInput;
|
|
1257
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1258
|
+
perPage?: InputMaybe<Scalars['Int']['input']>;
|
|
1259
|
+
};
|
|
994
1260
|
export type QueryListDrozChatAgentChannelsArgs = {
|
|
995
1261
|
agentId: Scalars['ID']['input'];
|
|
996
1262
|
};
|
|
@@ -1081,6 +1347,9 @@ export declare enum QuickAnswersSortBy {
|
|
|
1081
1347
|
UpdatedAtAsc = "updatedAt_asc",
|
|
1082
1348
|
UpdatedAtDesc = "updatedAt_desc"
|
|
1083
1349
|
}
|
|
1350
|
+
export type ReleaseApprovalTaskInput = {
|
|
1351
|
+
id: Scalars['ID']['input'];
|
|
1352
|
+
};
|
|
1084
1353
|
export type RemoveDrozChatAgentGroupInput = {
|
|
1085
1354
|
agentId: Scalars['ID']['input'];
|
|
1086
1355
|
id: Scalars['ID']['input'];
|
|
@@ -1125,6 +1394,9 @@ export type SearchResultsStats = {
|
|
|
1125
1394
|
searchTime: Scalars['Float']['output'];
|
|
1126
1395
|
totalPages: Scalars['Float']['output'];
|
|
1127
1396
|
};
|
|
1397
|
+
export type SetBusinessHoursInput = {
|
|
1398
|
+
days: Array<BusinessHoursDayInput>;
|
|
1399
|
+
};
|
|
1128
1400
|
export type SetCustomFieldValueInput = {
|
|
1129
1401
|
fieldId: Scalars['ID']['input'];
|
|
1130
1402
|
ticketId: Scalars['ID']['input'];
|
|
@@ -1160,6 +1432,8 @@ export type StringMatcherInput = {
|
|
|
1160
1432
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
1161
1433
|
};
|
|
1162
1434
|
export type Subscription = {
|
|
1435
|
+
onApprovalAlert: DrozChatApprovalAlert;
|
|
1436
|
+
onApprovalTaskChange: DrozChatApprovalTaskChange;
|
|
1163
1437
|
onMessageByStateMine: TicketMessageSubscription;
|
|
1164
1438
|
/**
|
|
1165
1439
|
* Mudança de um ticket relevante para o painel de monitoramento, como delta enxuto. Entregue a
|
|
@@ -1584,9 +1858,14 @@ export declare enum Typenames {
|
|
|
1584
1858
|
AgentGroup = "AgentGroup",
|
|
1585
1859
|
AgentPresence = "AgentPresence",
|
|
1586
1860
|
Any = "Any",
|
|
1861
|
+
ApprovalQueues = "ApprovalQueues",
|
|
1862
|
+
ApprovalSessionLocks = "ApprovalSessionLocks",
|
|
1863
|
+
ApprovalTaskKeys = "ApprovalTaskKeys",
|
|
1864
|
+
ApprovalTasks = "ApprovalTasks",
|
|
1587
1865
|
BulkCloseBatches = "BulkCloseBatches",
|
|
1588
1866
|
BulkCloseRoutineConfig = "BulkCloseRoutineConfig",
|
|
1589
1867
|
BulkCloseRuns = "BulkCloseRuns",
|
|
1868
|
+
BusinessHours = "BusinessHours",
|
|
1590
1869
|
ChannelLastAssignee = "ChannelLastAssignee",
|
|
1591
1870
|
ChannelTriggerExecutions = "ChannelTriggerExecutions",
|
|
1592
1871
|
Channels = "Channels",
|
|
@@ -1612,6 +1891,14 @@ export declare enum Typenames {
|
|
|
1612
1891
|
export type UnassignTicketInput = {
|
|
1613
1892
|
ticketId: Scalars['ID']['input'];
|
|
1614
1893
|
};
|
|
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
|
+
};
|
|
1615
1902
|
export type UpdateBulkCloseRoutineConfigInput = {
|
|
1616
1903
|
batchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1617
1904
|
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 = void 0;
|
|
4
|
+
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.BusinessHoursWeekday = exports.ApprovalTaskTab = exports.ApprovalTaskStatus = exports.ApprovalTaskRejectionReason = exports.ApprovalTaskMessageRole = exports.ApprovalTaskExecutionResult = exports.ApprovalTaskEventType = exports.ApprovalTaskDecision = exports.ApprovalTaskChannel = exports.ApprovalTaskChangeAction = exports.ApprovalAlertType = exports.AppInstanceStatus = exports.AgentPresenceStatus = exports.ActiveDispatchConnector = void 0;
|
|
5
|
+
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 = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketWithoutCustomerFragmentDoc = exports.TagFragmentDoc = exports.QuickAnswerFacetsFragmentDoc = exports.QuickAnswerFragmentDoc = exports.TicketPresenceFragmentDoc = exports.SurveyFragmentDoc = exports.MonitoringTicketSnapshotFragmentDoc = exports.LiveSummaryFragmentDoc = exports.LiveAgentLoadFragmentDoc = void 0;
|
|
6
|
+
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 = exports.UpdateDrozChatAgentGroupDocument = exports.CreateDrozChatAgentGroupDocument = exports.ListDrozChatAgentGroupsDocument = exports.ListDrozChatGroupsDocument = exports.GetDrozChatAgentGroupDocument = exports.ClearMaxSimultaneousAttendancesDocument = exports.SetMaxSimultaneousAttendancesDocument = exports.GetGlobalConfigurationDocument = exports.CustomFieldValuesForTicketDocument = exports.ClearCustomFieldValueDocument = exports.SetCustomFieldValueDocument = 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 = exports.ListTriggersDocument = exports.OnMessageByStateMineDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = void 0;
|
|
8
8
|
exports.getSdk = getSdk;
|
|
9
9
|
var ActiveDispatchConnector;
|
|
10
10
|
(function (ActiveDispatchConnector) {
|
|
@@ -23,6 +23,90 @@ 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 = {}));
|
|
26
110
|
var Can;
|
|
27
111
|
(function (Can) {
|
|
28
112
|
Can["Manage"] = "manage";
|
|
@@ -168,9 +252,14 @@ var Typenames;
|
|
|
168
252
|
Typenames["AgentGroup"] = "AgentGroup";
|
|
169
253
|
Typenames["AgentPresence"] = "AgentPresence";
|
|
170
254
|
Typenames["Any"] = "Any";
|
|
255
|
+
Typenames["ApprovalQueues"] = "ApprovalQueues";
|
|
256
|
+
Typenames["ApprovalSessionLocks"] = "ApprovalSessionLocks";
|
|
257
|
+
Typenames["ApprovalTaskKeys"] = "ApprovalTaskKeys";
|
|
258
|
+
Typenames["ApprovalTasks"] = "ApprovalTasks";
|
|
171
259
|
Typenames["BulkCloseBatches"] = "BulkCloseBatches";
|
|
172
260
|
Typenames["BulkCloseRoutineConfig"] = "BulkCloseRoutineConfig";
|
|
173
261
|
Typenames["BulkCloseRuns"] = "BulkCloseRuns";
|
|
262
|
+
Typenames["BusinessHours"] = "BusinessHours";
|
|
174
263
|
Typenames["ChannelLastAssignee"] = "ChannelLastAssignee";
|
|
175
264
|
Typenames["ChannelTriggerExecutions"] = "ChannelTriggerExecutions";
|
|
176
265
|
Typenames["Channels"] = "Channels";
|