@selleragent/api-contract 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/auth.d.ts +457 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +122 -0
- package/dist/auth.js.map +1 -0
- package/dist/conversations.d.ts +135 -135
- package/dist/evaluations.d.ts +432 -0
- package/dist/evaluations.d.ts.map +1 -0
- package/dist/evaluations.js +69 -0
- package/dist/evaluations.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -11
- package/dist/index.js.map +1 -1
- package/dist/judge-files.d.ts +330 -37
- package/dist/judge-files.d.ts.map +1 -1
- package/dist/judge-files.js +150 -6
- package/dist/judge-files.js.map +1 -1
- package/dist/operations.d.ts +2330 -985
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +118 -8
- package/dist/operations.js.map +1 -1
- package/dist/ops.d.ts +123 -123
- package/dist/runtime.d.ts +3 -3
- package/dist/semantic-eval.d.ts +16 -16
- package/package.json +1 -1
package/dist/conversations.d.ts
CHANGED
|
@@ -13,23 +13,23 @@ export declare const conversationStatusSchema: z.ZodEnum<{
|
|
|
13
13
|
archived: "archived";
|
|
14
14
|
}>;
|
|
15
15
|
export declare const ownershipModeSchema: z.ZodEnum<{
|
|
16
|
-
ai: "ai";
|
|
17
16
|
hybrid: "hybrid";
|
|
17
|
+
ai: "ai";
|
|
18
18
|
human: "human";
|
|
19
19
|
}>;
|
|
20
20
|
export declare const messageAuthorKindSchema: z.ZodEnum<{
|
|
21
21
|
customer: "customer";
|
|
22
|
-
ai: "ai";
|
|
23
|
-
operator: "operator";
|
|
24
22
|
system: "system";
|
|
23
|
+
operator: "operator";
|
|
24
|
+
ai: "ai";
|
|
25
25
|
}>;
|
|
26
26
|
export declare const messageDeliveryKindSchema: z.ZodEnum<{
|
|
27
27
|
inbound: "inbound";
|
|
28
28
|
outbound: "outbound";
|
|
29
29
|
}>;
|
|
30
30
|
export declare const attachmentKindSchema: z.ZodEnum<{
|
|
31
|
-
document: "document";
|
|
32
31
|
photo: "photo";
|
|
32
|
+
document: "document";
|
|
33
33
|
audio: "audio";
|
|
34
34
|
video: "video";
|
|
35
35
|
other: "other";
|
|
@@ -89,10 +89,10 @@ export declare const assistArtifactKindSchema: z.ZodEnum<{
|
|
|
89
89
|
}>;
|
|
90
90
|
export declare const assistArtifactStatusSchema: z.ZodEnum<{
|
|
91
91
|
active: "active";
|
|
92
|
-
superseded: "superseded";
|
|
93
92
|
viewed: "viewed";
|
|
94
93
|
accepted: "accepted";
|
|
95
94
|
dismissed: "dismissed";
|
|
95
|
+
superseded: "superseded";
|
|
96
96
|
}>;
|
|
97
97
|
export declare const inboundEventKindSchema: z.ZodEnum<{
|
|
98
98
|
message: "message";
|
|
@@ -131,8 +131,8 @@ export declare const conversationSchema: z.ZodObject<{
|
|
|
131
131
|
}>;
|
|
132
132
|
channelThreadRef: z.ZodString;
|
|
133
133
|
ownershipMode: z.ZodEnum<{
|
|
134
|
-
ai: "ai";
|
|
135
134
|
hybrid: "hybrid";
|
|
135
|
+
ai: "ai";
|
|
136
136
|
human: "human";
|
|
137
137
|
}>;
|
|
138
138
|
assistMode: z.ZodEnum<{
|
|
@@ -172,8 +172,8 @@ export declare const attachmentSchema: z.ZodObject<{
|
|
|
172
172
|
conversationId: z.ZodString;
|
|
173
173
|
messageId: z.ZodString;
|
|
174
174
|
kind: z.ZodEnum<{
|
|
175
|
-
document: "document";
|
|
176
175
|
photo: "photo";
|
|
176
|
+
document: "document";
|
|
177
177
|
audio: "audio";
|
|
178
178
|
video: "video";
|
|
179
179
|
other: "other";
|
|
@@ -188,8 +188,8 @@ export declare const attachmentSchema: z.ZodObject<{
|
|
|
188
188
|
export type Attachment = z.infer<typeof attachmentSchema>;
|
|
189
189
|
export declare const attachmentInputSchema: z.ZodObject<{
|
|
190
190
|
kind: z.ZodEnum<{
|
|
191
|
-
document: "document";
|
|
192
191
|
photo: "photo";
|
|
192
|
+
document: "document";
|
|
193
193
|
audio: "audio";
|
|
194
194
|
video: "video";
|
|
195
195
|
other: "other";
|
|
@@ -206,9 +206,9 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
206
206
|
conversationId: z.ZodString;
|
|
207
207
|
authorKind: z.ZodEnum<{
|
|
208
208
|
customer: "customer";
|
|
209
|
-
ai: "ai";
|
|
210
|
-
operator: "operator";
|
|
211
209
|
system: "system";
|
|
210
|
+
operator: "operator";
|
|
211
|
+
ai: "ai";
|
|
212
212
|
}>;
|
|
213
213
|
deliveryKind: z.ZodEnum<{
|
|
214
214
|
inbound: "inbound";
|
|
@@ -221,8 +221,8 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
221
221
|
conversationId: z.ZodString;
|
|
222
222
|
messageId: z.ZodString;
|
|
223
223
|
kind: z.ZodEnum<{
|
|
224
|
-
document: "document";
|
|
225
224
|
photo: "photo";
|
|
225
|
+
document: "document";
|
|
226
226
|
audio: "audio";
|
|
227
227
|
video: "video";
|
|
228
228
|
other: "other";
|
|
@@ -278,9 +278,9 @@ export declare const conversationEventSchema: z.ZodObject<{
|
|
|
278
278
|
title: z.ZodString;
|
|
279
279
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
280
280
|
customer: "customer";
|
|
281
|
-
ai: "ai";
|
|
282
|
-
operator: "operator";
|
|
283
281
|
system: "system";
|
|
282
|
+
operator: "operator";
|
|
283
|
+
ai: "ai";
|
|
284
284
|
}>>>;
|
|
285
285
|
createdAt: z.ZodString;
|
|
286
286
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -297,9 +297,9 @@ export declare const timelineEntrySchema: z.ZodObject<{
|
|
|
297
297
|
title: z.ZodString;
|
|
298
298
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
299
299
|
customer: "customer";
|
|
300
|
-
ai: "ai";
|
|
301
|
-
operator: "operator";
|
|
302
300
|
system: "system";
|
|
301
|
+
operator: "operator";
|
|
302
|
+
ai: "ai";
|
|
303
303
|
}>>>;
|
|
304
304
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
305
305
|
messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -322,10 +322,10 @@ export declare const assistArtifactSchema: z.ZodObject<{
|
|
|
322
322
|
}>;
|
|
323
323
|
status: z.ZodEnum<{
|
|
324
324
|
active: "active";
|
|
325
|
-
superseded: "superseded";
|
|
326
325
|
viewed: "viewed";
|
|
327
326
|
accepted: "accepted";
|
|
328
327
|
dismissed: "dismissed";
|
|
328
|
+
superseded: "superseded";
|
|
329
329
|
}>;
|
|
330
330
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
331
331
|
outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -351,9 +351,9 @@ export declare const outboundDispatchSchema: z.ZodObject<{
|
|
|
351
351
|
}>;
|
|
352
352
|
deliveryStatus: z.ZodEnum<{
|
|
353
353
|
failed: "failed";
|
|
354
|
-
skipped: "skipped";
|
|
355
354
|
sent: "sent";
|
|
356
355
|
simulated: "simulated";
|
|
356
|
+
skipped: "skipped";
|
|
357
357
|
}>;
|
|
358
358
|
planId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
359
359
|
stepId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -388,8 +388,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
388
388
|
}>;
|
|
389
389
|
channelThreadRef: z.ZodString;
|
|
390
390
|
ownershipMode: z.ZodEnum<{
|
|
391
|
-
ai: "ai";
|
|
392
391
|
hybrid: "hybrid";
|
|
392
|
+
ai: "ai";
|
|
393
393
|
human: "human";
|
|
394
394
|
}>;
|
|
395
395
|
assistMode: z.ZodEnum<{
|
|
@@ -428,9 +428,9 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
428
428
|
conversationId: z.ZodString;
|
|
429
429
|
authorKind: z.ZodEnum<{
|
|
430
430
|
customer: "customer";
|
|
431
|
-
ai: "ai";
|
|
432
|
-
operator: "operator";
|
|
433
431
|
system: "system";
|
|
432
|
+
operator: "operator";
|
|
433
|
+
ai: "ai";
|
|
434
434
|
}>;
|
|
435
435
|
deliveryKind: z.ZodEnum<{
|
|
436
436
|
inbound: "inbound";
|
|
@@ -443,8 +443,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
443
443
|
conversationId: z.ZodString;
|
|
444
444
|
messageId: z.ZodString;
|
|
445
445
|
kind: z.ZodEnum<{
|
|
446
|
-
document: "document";
|
|
447
446
|
photo: "photo";
|
|
447
|
+
document: "document";
|
|
448
448
|
audio: "audio";
|
|
449
449
|
video: "video";
|
|
450
450
|
other: "other";
|
|
@@ -499,9 +499,9 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
499
499
|
title: z.ZodString;
|
|
500
500
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
501
501
|
customer: "customer";
|
|
502
|
-
ai: "ai";
|
|
503
|
-
operator: "operator";
|
|
504
502
|
system: "system";
|
|
503
|
+
operator: "operator";
|
|
504
|
+
ai: "ai";
|
|
505
505
|
}>>>;
|
|
506
506
|
createdAt: z.ZodString;
|
|
507
507
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -517,9 +517,9 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
517
517
|
title: z.ZodString;
|
|
518
518
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
519
519
|
customer: "customer";
|
|
520
|
-
ai: "ai";
|
|
521
|
-
operator: "operator";
|
|
522
520
|
system: "system";
|
|
521
|
+
operator: "operator";
|
|
522
|
+
ai: "ai";
|
|
523
523
|
}>>>;
|
|
524
524
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
525
525
|
messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -541,10 +541,10 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
541
541
|
}>;
|
|
542
542
|
status: z.ZodEnum<{
|
|
543
543
|
active: "active";
|
|
544
|
-
superseded: "superseded";
|
|
545
544
|
viewed: "viewed";
|
|
546
545
|
accepted: "accepted";
|
|
547
546
|
dismissed: "dismissed";
|
|
547
|
+
superseded: "superseded";
|
|
548
548
|
}>;
|
|
549
549
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
550
550
|
outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -563,8 +563,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
563
563
|
conversationId: z.ZodString;
|
|
564
564
|
sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
565
565
|
mode: z.ZodEnum<{
|
|
566
|
-
draft: "draft";
|
|
567
566
|
reply: "reply";
|
|
567
|
+
draft: "draft";
|
|
568
568
|
review: "review";
|
|
569
569
|
}>;
|
|
570
570
|
status: z.ZodEnum<{
|
|
@@ -572,8 +572,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
572
572
|
blocked: "blocked";
|
|
573
573
|
}>;
|
|
574
574
|
generationMode: z.ZodEnum<{
|
|
575
|
-
heuristic: "heuristic";
|
|
576
575
|
model: "model";
|
|
576
|
+
heuristic: "heuristic";
|
|
577
577
|
}>;
|
|
578
578
|
provider: z.ZodString;
|
|
579
579
|
modelId: z.ZodString;
|
|
@@ -595,8 +595,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
595
595
|
docId: z.ZodString;
|
|
596
596
|
kind: z.ZodEnum<{
|
|
597
597
|
strategy: "strategy";
|
|
598
|
-
product: "product";
|
|
599
598
|
policy: "policy";
|
|
599
|
+
product: "product";
|
|
600
600
|
example: "example";
|
|
601
601
|
}>;
|
|
602
602
|
title: z.ZodString;
|
|
@@ -737,8 +737,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
737
737
|
}, z.core.$strip>;
|
|
738
738
|
validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
739
739
|
generationMode: z.ZodEnum<{
|
|
740
|
-
heuristic: "heuristic";
|
|
741
740
|
model: "model";
|
|
741
|
+
heuristic: "heuristic";
|
|
742
742
|
}>;
|
|
743
743
|
}, z.core.$strip>>>;
|
|
744
744
|
decisionStage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -751,16 +751,16 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
751
751
|
}, z.core.$strip>;
|
|
752
752
|
validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
753
753
|
generationMode: z.ZodEnum<{
|
|
754
|
-
heuristic: "heuristic";
|
|
755
754
|
model: "model";
|
|
755
|
+
heuristic: "heuristic";
|
|
756
756
|
}>;
|
|
757
757
|
protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
758
758
|
stepHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
759
759
|
stepId: z.ZodString;
|
|
760
760
|
stepType: z.ZodEnum<{
|
|
761
|
+
"handoff.request": "handoff.request";
|
|
761
762
|
request_media_folders: "request_media_folders";
|
|
762
763
|
request_media_folder_contents: "request_media_folder_contents";
|
|
763
|
-
"handoff.request": "handoff.request";
|
|
764
764
|
"state.cart.apply_operations": "state.cart.apply_operations";
|
|
765
765
|
"channel.send_messages": "channel.send_messages";
|
|
766
766
|
}>;
|
|
@@ -801,8 +801,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
801
801
|
reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
802
802
|
topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
803
803
|
desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
804
|
-
image: "image";
|
|
805
804
|
document: "document";
|
|
805
|
+
image: "image";
|
|
806
806
|
link: "link";
|
|
807
807
|
deck: "deck";
|
|
808
808
|
}>>>;
|
|
@@ -846,8 +846,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
846
846
|
corrective_retry: "corrective_retry";
|
|
847
847
|
}>;
|
|
848
848
|
status: z.ZodEnum<{
|
|
849
|
-
succeeded: "succeeded";
|
|
850
849
|
failed: "failed";
|
|
850
|
+
succeeded: "succeeded";
|
|
851
851
|
}>;
|
|
852
852
|
promptMeta: z.ZodObject<{
|
|
853
853
|
promptId: z.ZodString;
|
|
@@ -882,8 +882,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
882
882
|
modelId: z.ZodString;
|
|
883
883
|
attemptNumber: z.ZodNumber;
|
|
884
884
|
status: z.ZodEnum<{
|
|
885
|
-
succeeded: "succeeded";
|
|
886
885
|
failed: "failed";
|
|
886
|
+
succeeded: "succeeded";
|
|
887
887
|
}>;
|
|
888
888
|
startedAt: z.ZodString;
|
|
889
889
|
finishedAt: z.ZodString;
|
|
@@ -894,8 +894,8 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
894
894
|
backoffMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
895
895
|
}, z.core.$strip>>>;
|
|
896
896
|
validationLayer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
897
|
-
configuration: "configuration";
|
|
898
897
|
provider: "provider";
|
|
898
|
+
configuration: "configuration";
|
|
899
899
|
schema_parse: "schema_parse";
|
|
900
900
|
protocol_validation: "protocol_validation";
|
|
901
901
|
verifier: "verifier";
|
|
@@ -951,9 +951,9 @@ export declare const conversationContextSchema: z.ZodObject<{
|
|
|
951
951
|
"followup.schedule": "followup.schedule";
|
|
952
952
|
}>;
|
|
953
953
|
status: z.ZodEnum<{
|
|
954
|
+
skipped: "skipped";
|
|
954
955
|
blocked: "blocked";
|
|
955
956
|
executed: "executed";
|
|
956
|
-
skipped: "skipped";
|
|
957
957
|
}>;
|
|
958
958
|
summary: z.ZodString;
|
|
959
959
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -980,9 +980,9 @@ export declare const conversationsProcessInboundEventRequestSchema: z.ZodObject<
|
|
|
980
980
|
}>>;
|
|
981
981
|
authorKind: z.ZodDefault<z.ZodEnum<{
|
|
982
982
|
customer: "customer";
|
|
983
|
-
ai: "ai";
|
|
984
|
-
operator: "operator";
|
|
985
983
|
system: "system";
|
|
984
|
+
operator: "operator";
|
|
985
|
+
ai: "ai";
|
|
986
986
|
}>>;
|
|
987
987
|
externalUserId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
988
988
|
displayName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -990,8 +990,8 @@ export declare const conversationsProcessInboundEventRequestSchema: z.ZodObject<
|
|
|
990
990
|
text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
991
991
|
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
992
992
|
kind: z.ZodEnum<{
|
|
993
|
-
document: "document";
|
|
994
993
|
photo: "photo";
|
|
994
|
+
document: "document";
|
|
995
995
|
audio: "audio";
|
|
996
996
|
video: "video";
|
|
997
997
|
other: "other";
|
|
@@ -1006,8 +1006,8 @@ export declare const conversationsProcessInboundEventRequestSchema: z.ZodObject<
|
|
|
1006
1006
|
deletedMessageRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1007
1007
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1008
1008
|
ownershipMode: z.ZodOptional<z.ZodEnum<{
|
|
1009
|
-
ai: "ai";
|
|
1010
1009
|
hybrid: "hybrid";
|
|
1010
|
+
ai: "ai";
|
|
1011
1011
|
human: "human";
|
|
1012
1012
|
}>>;
|
|
1013
1013
|
assistMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1054,8 +1054,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1054
1054
|
}>;
|
|
1055
1055
|
channelThreadRef: z.ZodString;
|
|
1056
1056
|
ownershipMode: z.ZodEnum<{
|
|
1057
|
-
ai: "ai";
|
|
1058
1057
|
hybrid: "hybrid";
|
|
1058
|
+
ai: "ai";
|
|
1059
1059
|
human: "human";
|
|
1060
1060
|
}>;
|
|
1061
1061
|
assistMode: z.ZodEnum<{
|
|
@@ -1094,9 +1094,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1094
1094
|
conversationId: z.ZodString;
|
|
1095
1095
|
authorKind: z.ZodEnum<{
|
|
1096
1096
|
customer: "customer";
|
|
1097
|
-
ai: "ai";
|
|
1098
|
-
operator: "operator";
|
|
1099
1097
|
system: "system";
|
|
1098
|
+
operator: "operator";
|
|
1099
|
+
ai: "ai";
|
|
1100
1100
|
}>;
|
|
1101
1101
|
deliveryKind: z.ZodEnum<{
|
|
1102
1102
|
inbound: "inbound";
|
|
@@ -1109,8 +1109,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1109
1109
|
conversationId: z.ZodString;
|
|
1110
1110
|
messageId: z.ZodString;
|
|
1111
1111
|
kind: z.ZodEnum<{
|
|
1112
|
-
document: "document";
|
|
1113
1112
|
photo: "photo";
|
|
1113
|
+
document: "document";
|
|
1114
1114
|
audio: "audio";
|
|
1115
1115
|
video: "video";
|
|
1116
1116
|
other: "other";
|
|
@@ -1165,9 +1165,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1165
1165
|
title: z.ZodString;
|
|
1166
1166
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1167
1167
|
customer: "customer";
|
|
1168
|
-
ai: "ai";
|
|
1169
|
-
operator: "operator";
|
|
1170
1168
|
system: "system";
|
|
1169
|
+
operator: "operator";
|
|
1170
|
+
ai: "ai";
|
|
1171
1171
|
}>>>;
|
|
1172
1172
|
createdAt: z.ZodString;
|
|
1173
1173
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1183,9 +1183,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1183
1183
|
title: z.ZodString;
|
|
1184
1184
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1185
1185
|
customer: "customer";
|
|
1186
|
-
ai: "ai";
|
|
1187
|
-
operator: "operator";
|
|
1188
1186
|
system: "system";
|
|
1187
|
+
operator: "operator";
|
|
1188
|
+
ai: "ai";
|
|
1189
1189
|
}>>>;
|
|
1190
1190
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1191
1191
|
messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1207,10 +1207,10 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1207
1207
|
}>;
|
|
1208
1208
|
status: z.ZodEnum<{
|
|
1209
1209
|
active: "active";
|
|
1210
|
-
superseded: "superseded";
|
|
1211
1210
|
viewed: "viewed";
|
|
1212
1211
|
accepted: "accepted";
|
|
1213
1212
|
dismissed: "dismissed";
|
|
1213
|
+
superseded: "superseded";
|
|
1214
1214
|
}>;
|
|
1215
1215
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1216
1216
|
outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1229,8 +1229,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1229
1229
|
conversationId: z.ZodString;
|
|
1230
1230
|
sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1231
1231
|
mode: z.ZodEnum<{
|
|
1232
|
-
draft: "draft";
|
|
1233
1232
|
reply: "reply";
|
|
1233
|
+
draft: "draft";
|
|
1234
1234
|
review: "review";
|
|
1235
1235
|
}>;
|
|
1236
1236
|
status: z.ZodEnum<{
|
|
@@ -1238,8 +1238,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1238
1238
|
blocked: "blocked";
|
|
1239
1239
|
}>;
|
|
1240
1240
|
generationMode: z.ZodEnum<{
|
|
1241
|
-
heuristic: "heuristic";
|
|
1242
1241
|
model: "model";
|
|
1242
|
+
heuristic: "heuristic";
|
|
1243
1243
|
}>;
|
|
1244
1244
|
provider: z.ZodString;
|
|
1245
1245
|
modelId: z.ZodString;
|
|
@@ -1261,8 +1261,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1261
1261
|
docId: z.ZodString;
|
|
1262
1262
|
kind: z.ZodEnum<{
|
|
1263
1263
|
strategy: "strategy";
|
|
1264
|
-
product: "product";
|
|
1265
1264
|
policy: "policy";
|
|
1265
|
+
product: "product";
|
|
1266
1266
|
example: "example";
|
|
1267
1267
|
}>;
|
|
1268
1268
|
title: z.ZodString;
|
|
@@ -1403,8 +1403,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1403
1403
|
}, z.core.$strip>;
|
|
1404
1404
|
validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1405
1405
|
generationMode: z.ZodEnum<{
|
|
1406
|
-
heuristic: "heuristic";
|
|
1407
1406
|
model: "model";
|
|
1407
|
+
heuristic: "heuristic";
|
|
1408
1408
|
}>;
|
|
1409
1409
|
}, z.core.$strip>>>;
|
|
1410
1410
|
decisionStage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1417,16 +1417,16 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1417
1417
|
}, z.core.$strip>;
|
|
1418
1418
|
validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1419
1419
|
generationMode: z.ZodEnum<{
|
|
1420
|
-
heuristic: "heuristic";
|
|
1421
1420
|
model: "model";
|
|
1421
|
+
heuristic: "heuristic";
|
|
1422
1422
|
}>;
|
|
1423
1423
|
protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1424
1424
|
stepHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1425
1425
|
stepId: z.ZodString;
|
|
1426
1426
|
stepType: z.ZodEnum<{
|
|
1427
|
+
"handoff.request": "handoff.request";
|
|
1427
1428
|
request_media_folders: "request_media_folders";
|
|
1428
1429
|
request_media_folder_contents: "request_media_folder_contents";
|
|
1429
|
-
"handoff.request": "handoff.request";
|
|
1430
1430
|
"state.cart.apply_operations": "state.cart.apply_operations";
|
|
1431
1431
|
"channel.send_messages": "channel.send_messages";
|
|
1432
1432
|
}>;
|
|
@@ -1467,8 +1467,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1467
1467
|
reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1468
1468
|
topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1469
1469
|
desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1470
|
-
image: "image";
|
|
1471
1470
|
document: "document";
|
|
1471
|
+
image: "image";
|
|
1472
1472
|
link: "link";
|
|
1473
1473
|
deck: "deck";
|
|
1474
1474
|
}>>>;
|
|
@@ -1512,8 +1512,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1512
1512
|
corrective_retry: "corrective_retry";
|
|
1513
1513
|
}>;
|
|
1514
1514
|
status: z.ZodEnum<{
|
|
1515
|
-
succeeded: "succeeded";
|
|
1516
1515
|
failed: "failed";
|
|
1516
|
+
succeeded: "succeeded";
|
|
1517
1517
|
}>;
|
|
1518
1518
|
promptMeta: z.ZodObject<{
|
|
1519
1519
|
promptId: z.ZodString;
|
|
@@ -1548,8 +1548,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1548
1548
|
modelId: z.ZodString;
|
|
1549
1549
|
attemptNumber: z.ZodNumber;
|
|
1550
1550
|
status: z.ZodEnum<{
|
|
1551
|
-
succeeded: "succeeded";
|
|
1552
1551
|
failed: "failed";
|
|
1552
|
+
succeeded: "succeeded";
|
|
1553
1553
|
}>;
|
|
1554
1554
|
startedAt: z.ZodString;
|
|
1555
1555
|
finishedAt: z.ZodString;
|
|
@@ -1560,8 +1560,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1560
1560
|
backoffMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1561
1561
|
}, z.core.$strip>>>;
|
|
1562
1562
|
validationLayer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1563
|
-
configuration: "configuration";
|
|
1564
1563
|
provider: "provider";
|
|
1564
|
+
configuration: "configuration";
|
|
1565
1565
|
schema_parse: "schema_parse";
|
|
1566
1566
|
protocol_validation: "protocol_validation";
|
|
1567
1567
|
verifier: "verifier";
|
|
@@ -1617,9 +1617,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1617
1617
|
"followup.schedule": "followup.schedule";
|
|
1618
1618
|
}>;
|
|
1619
1619
|
status: z.ZodEnum<{
|
|
1620
|
+
skipped: "skipped";
|
|
1620
1621
|
blocked: "blocked";
|
|
1621
1622
|
executed: "executed";
|
|
1622
|
-
skipped: "skipped";
|
|
1623
1623
|
}>;
|
|
1624
1624
|
summary: z.ZodString;
|
|
1625
1625
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1632,9 +1632,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1632
1632
|
conversationId: z.ZodString;
|
|
1633
1633
|
authorKind: z.ZodEnum<{
|
|
1634
1634
|
customer: "customer";
|
|
1635
|
-
ai: "ai";
|
|
1636
|
-
operator: "operator";
|
|
1637
1635
|
system: "system";
|
|
1636
|
+
operator: "operator";
|
|
1637
|
+
ai: "ai";
|
|
1638
1638
|
}>;
|
|
1639
1639
|
deliveryKind: z.ZodEnum<{
|
|
1640
1640
|
inbound: "inbound";
|
|
@@ -1647,8 +1647,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1647
1647
|
conversationId: z.ZodString;
|
|
1648
1648
|
messageId: z.ZodString;
|
|
1649
1649
|
kind: z.ZodEnum<{
|
|
1650
|
-
document: "document";
|
|
1651
1650
|
photo: "photo";
|
|
1651
|
+
document: "document";
|
|
1652
1652
|
audio: "audio";
|
|
1653
1653
|
video: "video";
|
|
1654
1654
|
other: "other";
|
|
@@ -1666,12 +1666,12 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1666
1666
|
scheduledReplyJob: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1667
1667
|
replyJobId: z.ZodString;
|
|
1668
1668
|
status: z.ZodEnum<{
|
|
1669
|
-
cancelled: "cancelled";
|
|
1670
|
-
failed: "failed";
|
|
1671
|
-
superseded: "superseded";
|
|
1672
1669
|
completed: "completed";
|
|
1670
|
+
failed: "failed";
|
|
1673
1671
|
queued: "queued";
|
|
1674
1672
|
running: "running";
|
|
1673
|
+
superseded: "superseded";
|
|
1674
|
+
cancelled: "cancelled";
|
|
1675
1675
|
}>;
|
|
1676
1676
|
workflowRunId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1677
1677
|
burstId: z.ZodString;
|
|
@@ -1713,9 +1713,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1713
1713
|
conversationId: z.ZodString;
|
|
1714
1714
|
authorKind: z.ZodEnum<{
|
|
1715
1715
|
customer: "customer";
|
|
1716
|
-
ai: "ai";
|
|
1717
|
-
operator: "operator";
|
|
1718
1716
|
system: "system";
|
|
1717
|
+
operator: "operator";
|
|
1718
|
+
ai: "ai";
|
|
1719
1719
|
}>;
|
|
1720
1720
|
deliveryKind: z.ZodEnum<{
|
|
1721
1721
|
inbound: "inbound";
|
|
@@ -1728,8 +1728,8 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1728
1728
|
conversationId: z.ZodString;
|
|
1729
1729
|
messageId: z.ZodString;
|
|
1730
1730
|
kind: z.ZodEnum<{
|
|
1731
|
-
document: "document";
|
|
1732
1731
|
photo: "photo";
|
|
1732
|
+
document: "document";
|
|
1733
1733
|
audio: "audio";
|
|
1734
1734
|
video: "video";
|
|
1735
1735
|
other: "other";
|
|
@@ -1784,9 +1784,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1784
1784
|
title: z.ZodString;
|
|
1785
1785
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1786
1786
|
customer: "customer";
|
|
1787
|
-
ai: "ai";
|
|
1788
|
-
operator: "operator";
|
|
1789
1787
|
system: "system";
|
|
1788
|
+
operator: "operator";
|
|
1789
|
+
ai: "ai";
|
|
1790
1790
|
}>>>;
|
|
1791
1791
|
createdAt: z.ZodString;
|
|
1792
1792
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1805,10 +1805,10 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1805
1805
|
}>;
|
|
1806
1806
|
status: z.ZodEnum<{
|
|
1807
1807
|
active: "active";
|
|
1808
|
-
superseded: "superseded";
|
|
1809
1808
|
viewed: "viewed";
|
|
1810
1809
|
accepted: "accepted";
|
|
1811
1810
|
dismissed: "dismissed";
|
|
1811
|
+
superseded: "superseded";
|
|
1812
1812
|
}>;
|
|
1813
1813
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1814
1814
|
outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1833,9 +1833,9 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1833
1833
|
}>;
|
|
1834
1834
|
deliveryStatus: z.ZodEnum<{
|
|
1835
1835
|
failed: "failed";
|
|
1836
|
-
skipped: "skipped";
|
|
1837
1836
|
sent: "sent";
|
|
1838
1837
|
simulated: "simulated";
|
|
1838
|
+
skipped: "skipped";
|
|
1839
1839
|
}>;
|
|
1840
1840
|
planId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1841
1841
|
stepId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1852,11 +1852,11 @@ export declare const conversationsProcessInboundEventResponseSchema: z.ZodObject
|
|
|
1852
1852
|
}, z.core.$strip>>;
|
|
1853
1853
|
}, z.core.$strip>;
|
|
1854
1854
|
export declare const conversationReplayJobStatusSchema: z.ZodEnum<{
|
|
1855
|
-
cancelled: "cancelled";
|
|
1856
|
-
failed: "failed";
|
|
1857
1855
|
completed: "completed";
|
|
1856
|
+
failed: "failed";
|
|
1858
1857
|
queued: "queued";
|
|
1859
1858
|
running: "running";
|
|
1859
|
+
cancelled: "cancelled";
|
|
1860
1860
|
}>;
|
|
1861
1861
|
export declare const conversationReplayJobErrorSchema: z.ZodObject<{
|
|
1862
1862
|
code: z.ZodString;
|
|
@@ -1866,11 +1866,11 @@ export declare const conversationReplayJobErrorSchema: z.ZodObject<{
|
|
|
1866
1866
|
export declare const conversationReplayJobSummarySchema: z.ZodObject<{
|
|
1867
1867
|
replayJobId: z.ZodString;
|
|
1868
1868
|
status: z.ZodEnum<{
|
|
1869
|
-
cancelled: "cancelled";
|
|
1870
|
-
failed: "failed";
|
|
1871
1869
|
completed: "completed";
|
|
1870
|
+
failed: "failed";
|
|
1872
1871
|
queued: "queued";
|
|
1873
1872
|
running: "running";
|
|
1873
|
+
cancelled: "cancelled";
|
|
1874
1874
|
}>;
|
|
1875
1875
|
businessProfileSlug: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1876
1876
|
referenceTranscriptId: z.ZodString;
|
|
@@ -1907,11 +1907,11 @@ export declare const conversationReplayJobSummarySchema: z.ZodObject<{
|
|
|
1907
1907
|
export declare const conversationReplayJobRecordSchema: z.ZodObject<{
|
|
1908
1908
|
replayJobId: z.ZodString;
|
|
1909
1909
|
status: z.ZodEnum<{
|
|
1910
|
-
cancelled: "cancelled";
|
|
1911
|
-
failed: "failed";
|
|
1912
1910
|
completed: "completed";
|
|
1911
|
+
failed: "failed";
|
|
1913
1912
|
queued: "queued";
|
|
1914
1913
|
running: "running";
|
|
1914
|
+
cancelled: "cancelled";
|
|
1915
1915
|
}>;
|
|
1916
1916
|
businessProfileSlug: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1917
1917
|
referenceTranscriptId: z.ZodString;
|
|
@@ -1968,12 +1968,12 @@ export declare const conversationReplayJobRecordSchema: z.ZodObject<{
|
|
|
1968
1968
|
id: z.ZodString;
|
|
1969
1969
|
role: z.ZodEnum<{
|
|
1970
1970
|
customer: "customer";
|
|
1971
|
-
system: "system";
|
|
1972
1971
|
company: "company";
|
|
1972
|
+
system: "system";
|
|
1973
1973
|
}>;
|
|
1974
1974
|
actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1975
|
-
operator: "operator";
|
|
1976
1975
|
bot: "bot";
|
|
1976
|
+
operator: "operator";
|
|
1977
1977
|
hybrid: "hybrid";
|
|
1978
1978
|
}>>>;
|
|
1979
1979
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1983,12 +1983,12 @@ export declare const conversationReplayJobRecordSchema: z.ZodObject<{
|
|
|
1983
1983
|
actorId: z.ZodString;
|
|
1984
1984
|
actorRole: z.ZodEnum<{
|
|
1985
1985
|
customer: "customer";
|
|
1986
|
-
system: "system";
|
|
1987
1986
|
company: "company";
|
|
1987
|
+
system: "system";
|
|
1988
1988
|
}>;
|
|
1989
1989
|
actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1990
|
-
operator: "operator";
|
|
1991
1990
|
bot: "bot";
|
|
1991
|
+
operator: "operator";
|
|
1992
1992
|
hybrid: "hybrid";
|
|
1993
1993
|
}>>>;
|
|
1994
1994
|
external_message_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1998,8 +1998,8 @@ export declare const conversationReplayJobRecordSchema: z.ZodObject<{
|
|
|
1998
1998
|
text: z.ZodString;
|
|
1999
1999
|
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2000
2000
|
kind: z.ZodEnum<{
|
|
2001
|
-
document: "document";
|
|
2002
2001
|
photo: "photo";
|
|
2002
|
+
document: "document";
|
|
2003
2003
|
audio: "audio";
|
|
2004
2004
|
video: "video";
|
|
2005
2005
|
sticker: "sticker";
|
|
@@ -2060,8 +2060,8 @@ export declare const conversationReplayJobRecordSchema: z.ZodObject<{
|
|
|
2060
2060
|
live_export: "live_export";
|
|
2061
2061
|
}>>;
|
|
2062
2062
|
actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2063
|
-
operator: "operator";
|
|
2064
2063
|
bot: "bot";
|
|
2064
|
+
operator: "operator";
|
|
2065
2065
|
hybrid: "hybrid";
|
|
2066
2066
|
}>>>;
|
|
2067
2067
|
based_on_transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2120,12 +2120,12 @@ export declare const conversationsReplayTranscriptRequestSchema: z.ZodObject<{
|
|
|
2120
2120
|
id: z.ZodString;
|
|
2121
2121
|
role: z.ZodEnum<{
|
|
2122
2122
|
customer: "customer";
|
|
2123
|
-
system: "system";
|
|
2124
2123
|
company: "company";
|
|
2124
|
+
system: "system";
|
|
2125
2125
|
}>;
|
|
2126
2126
|
actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2127
|
-
operator: "operator";
|
|
2128
2127
|
bot: "bot";
|
|
2128
|
+
operator: "operator";
|
|
2129
2129
|
hybrid: "hybrid";
|
|
2130
2130
|
}>>>;
|
|
2131
2131
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2135,12 +2135,12 @@ export declare const conversationsReplayTranscriptRequestSchema: z.ZodObject<{
|
|
|
2135
2135
|
actorId: z.ZodString;
|
|
2136
2136
|
actorRole: z.ZodEnum<{
|
|
2137
2137
|
customer: "customer";
|
|
2138
|
-
system: "system";
|
|
2139
2138
|
company: "company";
|
|
2139
|
+
system: "system";
|
|
2140
2140
|
}>;
|
|
2141
2141
|
actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2142
|
-
operator: "operator";
|
|
2143
2142
|
bot: "bot";
|
|
2143
|
+
operator: "operator";
|
|
2144
2144
|
hybrid: "hybrid";
|
|
2145
2145
|
}>>>;
|
|
2146
2146
|
external_message_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2150,8 +2150,8 @@ export declare const conversationsReplayTranscriptRequestSchema: z.ZodObject<{
|
|
|
2150
2150
|
text: z.ZodString;
|
|
2151
2151
|
attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2152
2152
|
kind: z.ZodEnum<{
|
|
2153
|
-
document: "document";
|
|
2154
2153
|
photo: "photo";
|
|
2154
|
+
document: "document";
|
|
2155
2155
|
audio: "audio";
|
|
2156
2156
|
video: "video";
|
|
2157
2157
|
sticker: "sticker";
|
|
@@ -2212,8 +2212,8 @@ export declare const conversationsReplayTranscriptRequestSchema: z.ZodObject<{
|
|
|
2212
2212
|
live_export: "live_export";
|
|
2213
2213
|
}>>;
|
|
2214
2214
|
actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2215
|
-
operator: "operator";
|
|
2216
2215
|
bot: "bot";
|
|
2216
|
+
operator: "operator";
|
|
2217
2217
|
hybrid: "hybrid";
|
|
2218
2218
|
}>>>;
|
|
2219
2219
|
based_on_transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2263,11 +2263,11 @@ export declare const conversationsReplayTranscriptResponseSchema: z.ZodObject<{
|
|
|
2263
2263
|
job: z.ZodObject<{
|
|
2264
2264
|
replayJobId: z.ZodString;
|
|
2265
2265
|
status: z.ZodEnum<{
|
|
2266
|
-
cancelled: "cancelled";
|
|
2267
|
-
failed: "failed";
|
|
2268
2266
|
completed: "completed";
|
|
2267
|
+
failed: "failed";
|
|
2269
2268
|
queued: "queued";
|
|
2270
2269
|
running: "running";
|
|
2270
|
+
cancelled: "cancelled";
|
|
2271
2271
|
}>;
|
|
2272
2272
|
businessProfileSlug: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2273
2273
|
referenceTranscriptId: z.ZodString;
|
|
@@ -2311,11 +2311,11 @@ export declare const conversationsGetReplayJobResponseSchema: z.ZodObject<{
|
|
|
2311
2311
|
job: z.ZodNullable<z.ZodObject<{
|
|
2312
2312
|
replayJobId: z.ZodString;
|
|
2313
2313
|
status: z.ZodEnum<{
|
|
2314
|
-
cancelled: "cancelled";
|
|
2315
|
-
failed: "failed";
|
|
2316
2314
|
completed: "completed";
|
|
2315
|
+
failed: "failed";
|
|
2317
2316
|
queued: "queued";
|
|
2318
2317
|
running: "running";
|
|
2318
|
+
cancelled: "cancelled";
|
|
2319
2319
|
}>;
|
|
2320
2320
|
businessProfileSlug: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2321
2321
|
referenceTranscriptId: z.ZodString;
|
|
@@ -2351,16 +2351,16 @@ export declare const conversationsGetReplayJobResponseSchema: z.ZodObject<{
|
|
|
2351
2351
|
}, z.core.$strip>>;
|
|
2352
2352
|
}, z.core.$strip>;
|
|
2353
2353
|
export declare const conversationReplyJobStatusSchema: z.ZodEnum<{
|
|
2354
|
-
cancelled: "cancelled";
|
|
2355
|
-
failed: "failed";
|
|
2356
|
-
superseded: "superseded";
|
|
2357
2354
|
completed: "completed";
|
|
2355
|
+
failed: "failed";
|
|
2358
2356
|
queued: "queued";
|
|
2359
2357
|
running: "running";
|
|
2358
|
+
superseded: "superseded";
|
|
2359
|
+
cancelled: "cancelled";
|
|
2360
2360
|
}>;
|
|
2361
2361
|
export declare const conversationReplyBurstStatusSchema: z.ZodEnum<{
|
|
2362
|
-
cancelled: "cancelled";
|
|
2363
2362
|
completed: "completed";
|
|
2363
|
+
cancelled: "cancelled";
|
|
2364
2364
|
open: "open";
|
|
2365
2365
|
}>;
|
|
2366
2366
|
export declare const conversationReplyJobErrorSchema: z.ZodObject<{
|
|
@@ -2371,12 +2371,12 @@ export declare const conversationReplyJobErrorSchema: z.ZodObject<{
|
|
|
2371
2371
|
export declare const conversationReplyJobSummarySchema: z.ZodObject<{
|
|
2372
2372
|
replyJobId: z.ZodString;
|
|
2373
2373
|
status: z.ZodEnum<{
|
|
2374
|
-
cancelled: "cancelled";
|
|
2375
|
-
failed: "failed";
|
|
2376
|
-
superseded: "superseded";
|
|
2377
2374
|
completed: "completed";
|
|
2375
|
+
failed: "failed";
|
|
2378
2376
|
queued: "queued";
|
|
2379
2377
|
running: "running";
|
|
2378
|
+
superseded: "superseded";
|
|
2379
|
+
cancelled: "cancelled";
|
|
2380
2380
|
}>;
|
|
2381
2381
|
workflowRunId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2382
2382
|
burstId: z.ZodString;
|
|
@@ -2416,12 +2416,12 @@ export declare const conversationReplyJobSummarySchema: z.ZodObject<{
|
|
|
2416
2416
|
export declare const conversationReplyJobRecordSchema: z.ZodObject<{
|
|
2417
2417
|
replyJobId: z.ZodString;
|
|
2418
2418
|
status: z.ZodEnum<{
|
|
2419
|
-
cancelled: "cancelled";
|
|
2420
|
-
failed: "failed";
|
|
2421
|
-
superseded: "superseded";
|
|
2422
2419
|
completed: "completed";
|
|
2420
|
+
failed: "failed";
|
|
2423
2421
|
queued: "queued";
|
|
2424
2422
|
running: "running";
|
|
2423
|
+
superseded: "superseded";
|
|
2424
|
+
cancelled: "cancelled";
|
|
2425
2425
|
}>;
|
|
2426
2426
|
workflowRunId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2427
2427
|
burstId: z.ZodString;
|
|
@@ -2462,8 +2462,8 @@ export declare const conversationReplyJobRecordSchema: z.ZodObject<{
|
|
|
2462
2462
|
export declare const conversationReplyBurstSummarySchema: z.ZodObject<{
|
|
2463
2463
|
burstId: z.ZodString;
|
|
2464
2464
|
status: z.ZodEnum<{
|
|
2465
|
-
cancelled: "cancelled";
|
|
2466
2465
|
completed: "completed";
|
|
2466
|
+
cancelled: "cancelled";
|
|
2467
2467
|
open: "open";
|
|
2468
2468
|
}>;
|
|
2469
2469
|
conversationId: z.ZodString;
|
|
@@ -2494,8 +2494,8 @@ export declare const conversationReplyBurstSummarySchema: z.ZodObject<{
|
|
|
2494
2494
|
export declare const conversationReplyBurstRecordSchema: z.ZodObject<{
|
|
2495
2495
|
burstId: z.ZodString;
|
|
2496
2496
|
status: z.ZodEnum<{
|
|
2497
|
-
cancelled: "cancelled";
|
|
2498
2497
|
completed: "completed";
|
|
2498
|
+
cancelled: "cancelled";
|
|
2499
2499
|
open: "open";
|
|
2500
2500
|
}>;
|
|
2501
2501
|
conversationId: z.ZodString;
|
|
@@ -2532,12 +2532,12 @@ export declare const conversationsGetReplyJobResponseSchema: z.ZodObject<{
|
|
|
2532
2532
|
job: z.ZodNullable<z.ZodObject<{
|
|
2533
2533
|
replyJobId: z.ZodString;
|
|
2534
2534
|
status: z.ZodEnum<{
|
|
2535
|
-
cancelled: "cancelled";
|
|
2536
|
-
failed: "failed";
|
|
2537
|
-
superseded: "superseded";
|
|
2538
2535
|
completed: "completed";
|
|
2536
|
+
failed: "failed";
|
|
2539
2537
|
queued: "queued";
|
|
2540
2538
|
running: "running";
|
|
2539
|
+
superseded: "superseded";
|
|
2540
|
+
cancelled: "cancelled";
|
|
2541
2541
|
}>;
|
|
2542
2542
|
workflowRunId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2543
2543
|
burstId: z.ZodString;
|
|
@@ -2607,8 +2607,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2607
2607
|
}>;
|
|
2608
2608
|
channelThreadRef: z.ZodString;
|
|
2609
2609
|
ownershipMode: z.ZodEnum<{
|
|
2610
|
-
ai: "ai";
|
|
2611
2610
|
hybrid: "hybrid";
|
|
2611
|
+
ai: "ai";
|
|
2612
2612
|
human: "human";
|
|
2613
2613
|
}>;
|
|
2614
2614
|
assistMode: z.ZodEnum<{
|
|
@@ -2647,9 +2647,9 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2647
2647
|
conversationId: z.ZodString;
|
|
2648
2648
|
authorKind: z.ZodEnum<{
|
|
2649
2649
|
customer: "customer";
|
|
2650
|
-
ai: "ai";
|
|
2651
|
-
operator: "operator";
|
|
2652
2650
|
system: "system";
|
|
2651
|
+
operator: "operator";
|
|
2652
|
+
ai: "ai";
|
|
2653
2653
|
}>;
|
|
2654
2654
|
deliveryKind: z.ZodEnum<{
|
|
2655
2655
|
inbound: "inbound";
|
|
@@ -2662,8 +2662,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2662
2662
|
conversationId: z.ZodString;
|
|
2663
2663
|
messageId: z.ZodString;
|
|
2664
2664
|
kind: z.ZodEnum<{
|
|
2665
|
-
document: "document";
|
|
2666
2665
|
photo: "photo";
|
|
2666
|
+
document: "document";
|
|
2667
2667
|
audio: "audio";
|
|
2668
2668
|
video: "video";
|
|
2669
2669
|
other: "other";
|
|
@@ -2718,9 +2718,9 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2718
2718
|
title: z.ZodString;
|
|
2719
2719
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2720
2720
|
customer: "customer";
|
|
2721
|
-
ai: "ai";
|
|
2722
|
-
operator: "operator";
|
|
2723
2721
|
system: "system";
|
|
2722
|
+
operator: "operator";
|
|
2723
|
+
ai: "ai";
|
|
2724
2724
|
}>>>;
|
|
2725
2725
|
createdAt: z.ZodString;
|
|
2726
2726
|
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2736,9 +2736,9 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2736
2736
|
title: z.ZodString;
|
|
2737
2737
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
2738
2738
|
customer: "customer";
|
|
2739
|
-
ai: "ai";
|
|
2740
|
-
operator: "operator";
|
|
2741
2739
|
system: "system";
|
|
2740
|
+
operator: "operator";
|
|
2741
|
+
ai: "ai";
|
|
2742
2742
|
}>>>;
|
|
2743
2743
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2744
2744
|
messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -2760,10 +2760,10 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2760
2760
|
}>;
|
|
2761
2761
|
status: z.ZodEnum<{
|
|
2762
2762
|
active: "active";
|
|
2763
|
-
superseded: "superseded";
|
|
2764
2763
|
viewed: "viewed";
|
|
2765
2764
|
accepted: "accepted";
|
|
2766
2765
|
dismissed: "dismissed";
|
|
2766
|
+
superseded: "superseded";
|
|
2767
2767
|
}>;
|
|
2768
2768
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2769
2769
|
outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2782,8 +2782,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2782
2782
|
conversationId: z.ZodString;
|
|
2783
2783
|
sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2784
2784
|
mode: z.ZodEnum<{
|
|
2785
|
-
draft: "draft";
|
|
2786
2785
|
reply: "reply";
|
|
2786
|
+
draft: "draft";
|
|
2787
2787
|
review: "review";
|
|
2788
2788
|
}>;
|
|
2789
2789
|
status: z.ZodEnum<{
|
|
@@ -2791,8 +2791,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2791
2791
|
blocked: "blocked";
|
|
2792
2792
|
}>;
|
|
2793
2793
|
generationMode: z.ZodEnum<{
|
|
2794
|
-
heuristic: "heuristic";
|
|
2795
2794
|
model: "model";
|
|
2795
|
+
heuristic: "heuristic";
|
|
2796
2796
|
}>;
|
|
2797
2797
|
provider: z.ZodString;
|
|
2798
2798
|
modelId: z.ZodString;
|
|
@@ -2814,8 +2814,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2814
2814
|
docId: z.ZodString;
|
|
2815
2815
|
kind: z.ZodEnum<{
|
|
2816
2816
|
strategy: "strategy";
|
|
2817
|
-
product: "product";
|
|
2818
2817
|
policy: "policy";
|
|
2818
|
+
product: "product";
|
|
2819
2819
|
example: "example";
|
|
2820
2820
|
}>;
|
|
2821
2821
|
title: z.ZodString;
|
|
@@ -2956,8 +2956,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2956
2956
|
}, z.core.$strip>;
|
|
2957
2957
|
validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2958
2958
|
generationMode: z.ZodEnum<{
|
|
2959
|
-
heuristic: "heuristic";
|
|
2960
2959
|
model: "model";
|
|
2960
|
+
heuristic: "heuristic";
|
|
2961
2961
|
}>;
|
|
2962
2962
|
}, z.core.$strip>>>;
|
|
2963
2963
|
decisionStage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -2970,16 +2970,16 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
2970
2970
|
}, z.core.$strip>;
|
|
2971
2971
|
validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2972
2972
|
generationMode: z.ZodEnum<{
|
|
2973
|
-
heuristic: "heuristic";
|
|
2974
2973
|
model: "model";
|
|
2974
|
+
heuristic: "heuristic";
|
|
2975
2975
|
}>;
|
|
2976
2976
|
protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2977
2977
|
stepHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2978
2978
|
stepId: z.ZodString;
|
|
2979
2979
|
stepType: z.ZodEnum<{
|
|
2980
|
+
"handoff.request": "handoff.request";
|
|
2980
2981
|
request_media_folders: "request_media_folders";
|
|
2981
2982
|
request_media_folder_contents: "request_media_folder_contents";
|
|
2982
|
-
"handoff.request": "handoff.request";
|
|
2983
2983
|
"state.cart.apply_operations": "state.cart.apply_operations";
|
|
2984
2984
|
"channel.send_messages": "channel.send_messages";
|
|
2985
2985
|
}>;
|
|
@@ -3020,8 +3020,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
3020
3020
|
reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3021
3021
|
topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3022
3022
|
desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3023
|
-
image: "image";
|
|
3024
3023
|
document: "document";
|
|
3024
|
+
image: "image";
|
|
3025
3025
|
link: "link";
|
|
3026
3026
|
deck: "deck";
|
|
3027
3027
|
}>>>;
|
|
@@ -3065,8 +3065,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
3065
3065
|
corrective_retry: "corrective_retry";
|
|
3066
3066
|
}>;
|
|
3067
3067
|
status: z.ZodEnum<{
|
|
3068
|
-
succeeded: "succeeded";
|
|
3069
3068
|
failed: "failed";
|
|
3069
|
+
succeeded: "succeeded";
|
|
3070
3070
|
}>;
|
|
3071
3071
|
promptMeta: z.ZodObject<{
|
|
3072
3072
|
promptId: z.ZodString;
|
|
@@ -3101,8 +3101,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
3101
3101
|
modelId: z.ZodString;
|
|
3102
3102
|
attemptNumber: z.ZodNumber;
|
|
3103
3103
|
status: z.ZodEnum<{
|
|
3104
|
-
succeeded: "succeeded";
|
|
3105
3104
|
failed: "failed";
|
|
3105
|
+
succeeded: "succeeded";
|
|
3106
3106
|
}>;
|
|
3107
3107
|
startedAt: z.ZodString;
|
|
3108
3108
|
finishedAt: z.ZodString;
|
|
@@ -3113,8 +3113,8 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
3113
3113
|
backoffMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3114
3114
|
}, z.core.$strip>>>;
|
|
3115
3115
|
validationLayer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
3116
|
-
configuration: "configuration";
|
|
3117
3116
|
provider: "provider";
|
|
3117
|
+
configuration: "configuration";
|
|
3118
3118
|
schema_parse: "schema_parse";
|
|
3119
3119
|
protocol_validation: "protocol_validation";
|
|
3120
3120
|
verifier: "verifier";
|
|
@@ -3170,9 +3170,9 @@ export declare const conversationsGetContextResponseSchema: z.ZodObject<{
|
|
|
3170
3170
|
"followup.schedule": "followup.schedule";
|
|
3171
3171
|
}>;
|
|
3172
3172
|
status: z.ZodEnum<{
|
|
3173
|
+
skipped: "skipped";
|
|
3173
3174
|
blocked: "blocked";
|
|
3174
3175
|
executed: "executed";
|
|
3175
|
-
skipped: "skipped";
|
|
3176
3176
|
}>;
|
|
3177
3177
|
summary: z.ZodString;
|
|
3178
3178
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3203,8 +3203,8 @@ export declare const conversationsListTimelineResponseSchema: z.ZodObject<{
|
|
|
3203
3203
|
}>;
|
|
3204
3204
|
channelThreadRef: z.ZodString;
|
|
3205
3205
|
ownershipMode: z.ZodEnum<{
|
|
3206
|
-
ai: "ai";
|
|
3207
3206
|
hybrid: "hybrid";
|
|
3207
|
+
ai: "ai";
|
|
3208
3208
|
human: "human";
|
|
3209
3209
|
}>;
|
|
3210
3210
|
assistMode: z.ZodEnum<{
|
|
@@ -3249,9 +3249,9 @@ export declare const conversationsListTimelineResponseSchema: z.ZodObject<{
|
|
|
3249
3249
|
title: z.ZodString;
|
|
3250
3250
|
actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
3251
3251
|
customer: "customer";
|
|
3252
|
-
ai: "ai";
|
|
3253
|
-
operator: "operator";
|
|
3254
3252
|
system: "system";
|
|
3253
|
+
operator: "operator";
|
|
3254
|
+
ai: "ai";
|
|
3255
3255
|
}>>>;
|
|
3256
3256
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3257
3257
|
messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -3273,10 +3273,10 @@ export declare const conversationsListTimelineResponseSchema: z.ZodObject<{
|
|
|
3273
3273
|
}>;
|
|
3274
3274
|
status: z.ZodEnum<{
|
|
3275
3275
|
active: "active";
|
|
3276
|
-
superseded: "superseded";
|
|
3277
3276
|
viewed: "viewed";
|
|
3278
3277
|
accepted: "accepted";
|
|
3279
3278
|
dismissed: "dismissed";
|
|
3279
|
+
superseded: "superseded";
|
|
3280
3280
|
}>;
|
|
3281
3281
|
textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3282
3282
|
outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|