@scout9/app 1.0.0-alpha.0.6.6 → 1.0.0-alpha.0.6.7
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/{dev-df88036b.cjs → dev-197a7adb.cjs} +2 -2
- package/dist/{index-33d77bc4.cjs → index-1010a60c.cjs} +6 -6
- package/dist/index.cjs +3 -3
- package/dist/{macros-1a4fd407.cjs → macros-85a033b9.cjs} +26 -6
- package/dist/{multipart-parser-17ab0a54.cjs → multipart-parser-0d83aaf8.cjs} +3 -3
- package/dist/schemas.cjs +3 -1
- package/dist/testing-tools.cjs +2 -2
- package/package.json +1 -1
- package/src/public.d.ts +0 -1
- package/src/runtime/schemas/workflow.js +35 -6
- package/types/index.d.ts +3048 -489
- package/types/index.d.ts.map +3 -1
package/types/index.d.ts
CHANGED
|
@@ -683,7 +683,6 @@ declare module '@scout9/app' {
|
|
|
683
683
|
*/
|
|
684
684
|
anticipate?: Anticipate | undefined;
|
|
685
685
|
|
|
686
|
-
|
|
687
686
|
/**
|
|
688
687
|
* If provided, it will propagate entity context to your Scout9 entity context store
|
|
689
688
|
* @ingress auto/manual only
|
|
@@ -5998,6 +5997,59 @@ declare module '@scout9/app/schemas' {
|
|
|
5998
5997
|
context?: any;
|
|
5999
5998
|
note?: string | undefined;
|
|
6000
5999
|
}>;
|
|
6000
|
+
export const DirectMessageSchema: z.ZodObject<Omit<{
|
|
6001
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6002
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
6003
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6004
|
+
time: z.ZodOptional<z.ZodString>;
|
|
6005
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6006
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6007
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
6008
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
6009
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6010
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6011
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6012
|
+
start: z.ZodNumber;
|
|
6013
|
+
end: z.ZodNumber;
|
|
6014
|
+
type: z.ZodString;
|
|
6015
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6016
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6017
|
+
}, "strip", z.ZodTypeAny, {
|
|
6018
|
+
type: string;
|
|
6019
|
+
end: number;
|
|
6020
|
+
start: number;
|
|
6021
|
+
option?: string | null | undefined;
|
|
6022
|
+
text?: string | null | undefined;
|
|
6023
|
+
}, {
|
|
6024
|
+
type: string;
|
|
6025
|
+
end: number;
|
|
6026
|
+
start: number;
|
|
6027
|
+
option?: string | null | undefined;
|
|
6028
|
+
text?: string | null | undefined;
|
|
6029
|
+
}>, "many">>>>;
|
|
6030
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6031
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
6032
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
6033
|
+
name?: string | undefined;
|
|
6034
|
+
content?: string | undefined;
|
|
6035
|
+
context?: any;
|
|
6036
|
+
scheduled?: string | undefined;
|
|
6037
|
+
intent?: string | null | undefined;
|
|
6038
|
+
intentScore?: number | null | undefined;
|
|
6039
|
+
delayInSeconds?: number | null | undefined;
|
|
6040
|
+
ignoreTransform?: boolean | undefined;
|
|
6041
|
+
mediaUrls?: string[] | null | undefined;
|
|
6042
|
+
}, {
|
|
6043
|
+
name?: string | undefined;
|
|
6044
|
+
content?: string | undefined;
|
|
6045
|
+
context?: any;
|
|
6046
|
+
scheduled?: string | undefined;
|
|
6047
|
+
intent?: string | null | undefined;
|
|
6048
|
+
intentScore?: number | null | undefined;
|
|
6049
|
+
delayInSeconds?: number | null | undefined;
|
|
6050
|
+
ignoreTransform?: boolean | undefined;
|
|
6051
|
+
mediaUrls?: string[] | null | undefined;
|
|
6052
|
+
}>;
|
|
6001
6053
|
/**
|
|
6002
6054
|
* The workflow response object slot
|
|
6003
6055
|
*/
|
|
@@ -6042,15 +6094,58 @@ declare module '@scout9/app/schemas' {
|
|
|
6042
6094
|
persist?: boolean | undefined;
|
|
6043
6095
|
}>]>, "many">]>>;
|
|
6044
6096
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6045
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6097
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
6098
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6099
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
6100
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6101
|
+
time: z.ZodOptional<z.ZodString>;
|
|
6102
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6103
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6104
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
6105
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
6106
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6107
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6108
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6109
|
+
start: z.ZodNumber;
|
|
6110
|
+
end: z.ZodNumber;
|
|
6111
|
+
type: z.ZodString;
|
|
6112
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6113
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6114
|
+
}, "strip", z.ZodTypeAny, {
|
|
6115
|
+
type: string;
|
|
6116
|
+
end: number;
|
|
6117
|
+
start: number;
|
|
6118
|
+
option?: string | null | undefined;
|
|
6119
|
+
text?: string | null | undefined;
|
|
6120
|
+
}, {
|
|
6121
|
+
type: string;
|
|
6122
|
+
end: number;
|
|
6123
|
+
start: number;
|
|
6124
|
+
option?: string | null | undefined;
|
|
6125
|
+
text?: string | null | undefined;
|
|
6126
|
+
}>, "many">>>>;
|
|
6127
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6128
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
6129
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
6130
|
+
name?: string | undefined;
|
|
6131
|
+
content?: string | undefined;
|
|
6132
|
+
context?: any;
|
|
6133
|
+
scheduled?: string | undefined;
|
|
6134
|
+
intent?: string | null | undefined;
|
|
6135
|
+
intentScore?: number | null | undefined;
|
|
6136
|
+
delayInSeconds?: number | null | undefined;
|
|
6137
|
+
ignoreTransform?: boolean | undefined;
|
|
6138
|
+
mediaUrls?: string[] | null | undefined;
|
|
6051
6139
|
}, {
|
|
6052
|
-
|
|
6053
|
-
|
|
6140
|
+
name?: string | undefined;
|
|
6141
|
+
content?: string | undefined;
|
|
6142
|
+
context?: any;
|
|
6143
|
+
scheduled?: string | undefined;
|
|
6144
|
+
intent?: string | null | undefined;
|
|
6145
|
+
intentScore?: number | null | undefined;
|
|
6146
|
+
delayInSeconds?: number | null | undefined;
|
|
6147
|
+
ignoreTransform?: boolean | undefined;
|
|
6148
|
+
mediaUrls?: string[] | null | undefined;
|
|
6054
6149
|
}>]>>;
|
|
6055
6150
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6056
6151
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6161,8 +6256,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6161
6256
|
})[] | undefined;
|
|
6162
6257
|
removeInstructions?: string[] | undefined;
|
|
6163
6258
|
message?: string | {
|
|
6164
|
-
|
|
6165
|
-
|
|
6259
|
+
name?: string | undefined;
|
|
6260
|
+
content?: string | undefined;
|
|
6261
|
+
context?: any;
|
|
6262
|
+
scheduled?: string | undefined;
|
|
6263
|
+
intent?: string | null | undefined;
|
|
6264
|
+
intentScore?: number | null | undefined;
|
|
6265
|
+
delayInSeconds?: number | null | undefined;
|
|
6266
|
+
ignoreTransform?: boolean | undefined;
|
|
6267
|
+
mediaUrls?: string[] | null | undefined;
|
|
6166
6268
|
} | undefined;
|
|
6167
6269
|
secondsDelay?: number | undefined;
|
|
6168
6270
|
scheduled?: number | undefined;
|
|
@@ -6213,8 +6315,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6213
6315
|
})[] | undefined;
|
|
6214
6316
|
removeInstructions?: string[] | undefined;
|
|
6215
6317
|
message?: string | {
|
|
6216
|
-
|
|
6217
|
-
|
|
6318
|
+
name?: string | undefined;
|
|
6319
|
+
content?: string | undefined;
|
|
6320
|
+
context?: any;
|
|
6321
|
+
scheduled?: string | undefined;
|
|
6322
|
+
intent?: string | null | undefined;
|
|
6323
|
+
intentScore?: number | null | undefined;
|
|
6324
|
+
delayInSeconds?: number | null | undefined;
|
|
6325
|
+
ignoreTransform?: boolean | undefined;
|
|
6326
|
+
mediaUrls?: string[] | null | undefined;
|
|
6218
6327
|
} | undefined;
|
|
6219
6328
|
secondsDelay?: number | undefined;
|
|
6220
6329
|
scheduled?: number | undefined;
|
|
@@ -6248,19 +6357,90 @@ declare module '@scout9/app/schemas' {
|
|
|
6248
6357
|
overrideLock?: boolean | undefined;
|
|
6249
6358
|
} | undefined;
|
|
6250
6359
|
}>;
|
|
6360
|
+
export const EntityContextUpsertSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
6361
|
+
entityType: z.ZodString;
|
|
6362
|
+
entityRecordId: z.ZodString;
|
|
6363
|
+
method: z.ZodLiteral<"delete">;
|
|
6364
|
+
}, "strip", z.ZodTypeAny, {
|
|
6365
|
+
method: "delete";
|
|
6366
|
+
entityType: string;
|
|
6367
|
+
entityRecordId: string;
|
|
6368
|
+
}, {
|
|
6369
|
+
method: "delete";
|
|
6370
|
+
entityType: string;
|
|
6371
|
+
entityRecordId: string;
|
|
6372
|
+
}>, z.ZodObject<{
|
|
6373
|
+
entityType: z.ZodString;
|
|
6374
|
+
entityRecordId: z.ZodString;
|
|
6375
|
+
method: z.ZodLiteral<"mutate">;
|
|
6376
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
6377
|
+
}, "strip", z.ZodTypeAny, {
|
|
6378
|
+
method: "mutate";
|
|
6379
|
+
entityType: string;
|
|
6380
|
+
entityRecordId: string;
|
|
6381
|
+
fields: Record<string, string | number | boolean | null>;
|
|
6382
|
+
}, {
|
|
6383
|
+
method: "mutate";
|
|
6384
|
+
entityType: string;
|
|
6385
|
+
entityRecordId: string;
|
|
6386
|
+
fields: Record<string, string | number | boolean | null>;
|
|
6387
|
+
}>]>;
|
|
6251
6388
|
/**
|
|
6252
6389
|
* The workflow response object slot
|
|
6253
6390
|
*/
|
|
6254
6391
|
export const WorkflowResponseSlotSchema: z.ZodObject<{
|
|
6255
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6392
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
6393
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6394
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
6395
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6396
|
+
time: z.ZodOptional<z.ZodString>;
|
|
6397
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6398
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6399
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
6400
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
6401
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6402
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6403
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6404
|
+
start: z.ZodNumber;
|
|
6405
|
+
end: z.ZodNumber;
|
|
6406
|
+
type: z.ZodString;
|
|
6407
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6408
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6409
|
+
}, "strip", z.ZodTypeAny, {
|
|
6410
|
+
type: string;
|
|
6411
|
+
end: number;
|
|
6412
|
+
start: number;
|
|
6413
|
+
option?: string | null | undefined;
|
|
6414
|
+
text?: string | null | undefined;
|
|
6415
|
+
}, {
|
|
6416
|
+
type: string;
|
|
6417
|
+
end: number;
|
|
6418
|
+
start: number;
|
|
6419
|
+
option?: string | null | undefined;
|
|
6420
|
+
text?: string | null | undefined;
|
|
6421
|
+
}>, "many">>>>;
|
|
6422
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6423
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
6424
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
6425
|
+
name?: string | undefined;
|
|
6426
|
+
content?: string | undefined;
|
|
6427
|
+
context?: any;
|
|
6428
|
+
scheduled?: string | undefined;
|
|
6429
|
+
intent?: string | null | undefined;
|
|
6430
|
+
intentScore?: number | null | undefined;
|
|
6431
|
+
delayInSeconds?: number | null | undefined;
|
|
6432
|
+
ignoreTransform?: boolean | undefined;
|
|
6433
|
+
mediaUrls?: string[] | null | undefined;
|
|
6261
6434
|
}, {
|
|
6262
|
-
|
|
6263
|
-
|
|
6435
|
+
name?: string | undefined;
|
|
6436
|
+
content?: string | undefined;
|
|
6437
|
+
context?: any;
|
|
6438
|
+
scheduled?: string | undefined;
|
|
6439
|
+
intent?: string | null | undefined;
|
|
6440
|
+
intentScore?: number | null | undefined;
|
|
6441
|
+
delayInSeconds?: number | null | undefined;
|
|
6442
|
+
ignoreTransform?: boolean | undefined;
|
|
6443
|
+
mediaUrls?: string[] | null | undefined;
|
|
6264
6444
|
}>]>>;
|
|
6265
6445
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
6266
6446
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -6436,15 +6616,58 @@ declare module '@scout9/app/schemas' {
|
|
|
6436
6616
|
persist?: boolean | undefined;
|
|
6437
6617
|
}>]>, "many">]>>;
|
|
6438
6618
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6439
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6619
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
6620
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6621
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
6622
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6623
|
+
time: z.ZodOptional<z.ZodString>;
|
|
6624
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6625
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6626
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
6627
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
6628
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6629
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6630
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6631
|
+
start: z.ZodNumber;
|
|
6632
|
+
end: z.ZodNumber;
|
|
6633
|
+
type: z.ZodString;
|
|
6634
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6635
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6636
|
+
}, "strip", z.ZodTypeAny, {
|
|
6637
|
+
type: string;
|
|
6638
|
+
end: number;
|
|
6639
|
+
start: number;
|
|
6640
|
+
option?: string | null | undefined;
|
|
6641
|
+
text?: string | null | undefined;
|
|
6642
|
+
}, {
|
|
6643
|
+
type: string;
|
|
6644
|
+
end: number;
|
|
6645
|
+
start: number;
|
|
6646
|
+
option?: string | null | undefined;
|
|
6647
|
+
text?: string | null | undefined;
|
|
6648
|
+
}>, "many">>>>;
|
|
6649
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6650
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
6651
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
6652
|
+
name?: string | undefined;
|
|
6653
|
+
content?: string | undefined;
|
|
6654
|
+
context?: any;
|
|
6655
|
+
scheduled?: string | undefined;
|
|
6656
|
+
intent?: string | null | undefined;
|
|
6657
|
+
intentScore?: number | null | undefined;
|
|
6658
|
+
delayInSeconds?: number | null | undefined;
|
|
6659
|
+
ignoreTransform?: boolean | undefined;
|
|
6660
|
+
mediaUrls?: string[] | null | undefined;
|
|
6445
6661
|
}, {
|
|
6446
|
-
|
|
6447
|
-
|
|
6662
|
+
name?: string | undefined;
|
|
6663
|
+
content?: string | undefined;
|
|
6664
|
+
context?: any;
|
|
6665
|
+
scheduled?: string | undefined;
|
|
6666
|
+
intent?: string | null | undefined;
|
|
6667
|
+
intentScore?: number | null | undefined;
|
|
6668
|
+
delayInSeconds?: number | null | undefined;
|
|
6669
|
+
ignoreTransform?: boolean | undefined;
|
|
6670
|
+
mediaUrls?: string[] | null | undefined;
|
|
6448
6671
|
}>]>>;
|
|
6449
6672
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6450
6673
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6555,8 +6778,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6555
6778
|
})[] | undefined;
|
|
6556
6779
|
removeInstructions?: string[] | undefined;
|
|
6557
6780
|
message?: string | {
|
|
6558
|
-
|
|
6559
|
-
|
|
6781
|
+
name?: string | undefined;
|
|
6782
|
+
content?: string | undefined;
|
|
6783
|
+
context?: any;
|
|
6784
|
+
scheduled?: string | undefined;
|
|
6785
|
+
intent?: string | null | undefined;
|
|
6786
|
+
intentScore?: number | null | undefined;
|
|
6787
|
+
delayInSeconds?: number | null | undefined;
|
|
6788
|
+
ignoreTransform?: boolean | undefined;
|
|
6789
|
+
mediaUrls?: string[] | null | undefined;
|
|
6560
6790
|
} | undefined;
|
|
6561
6791
|
secondsDelay?: number | undefined;
|
|
6562
6792
|
scheduled?: number | undefined;
|
|
@@ -6607,8 +6837,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6607
6837
|
})[] | undefined;
|
|
6608
6838
|
removeInstructions?: string[] | undefined;
|
|
6609
6839
|
message?: string | {
|
|
6610
|
-
|
|
6611
|
-
|
|
6840
|
+
name?: string | undefined;
|
|
6841
|
+
content?: string | undefined;
|
|
6842
|
+
context?: any;
|
|
6843
|
+
scheduled?: string | undefined;
|
|
6844
|
+
intent?: string | null | undefined;
|
|
6845
|
+
intentScore?: number | null | undefined;
|
|
6846
|
+
delayInSeconds?: number | null | undefined;
|
|
6847
|
+
ignoreTransform?: boolean | undefined;
|
|
6848
|
+
mediaUrls?: string[] | null | undefined;
|
|
6612
6849
|
} | undefined;
|
|
6613
6850
|
secondsDelay?: number | undefined;
|
|
6614
6851
|
scheduled?: number | undefined;
|
|
@@ -6683,15 +6920,58 @@ declare module '@scout9/app/schemas' {
|
|
|
6683
6920
|
persist?: boolean | undefined;
|
|
6684
6921
|
}>]>, "many">]>>;
|
|
6685
6922
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6686
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6923
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
6924
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6925
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
6926
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6927
|
+
time: z.ZodOptional<z.ZodString>;
|
|
6928
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6929
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6930
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
6931
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
6932
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6933
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6934
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6935
|
+
start: z.ZodNumber;
|
|
6936
|
+
end: z.ZodNumber;
|
|
6937
|
+
type: z.ZodString;
|
|
6938
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6939
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6940
|
+
}, "strip", z.ZodTypeAny, {
|
|
6941
|
+
type: string;
|
|
6942
|
+
end: number;
|
|
6943
|
+
start: number;
|
|
6944
|
+
option?: string | null | undefined;
|
|
6945
|
+
text?: string | null | undefined;
|
|
6946
|
+
}, {
|
|
6947
|
+
type: string;
|
|
6948
|
+
end: number;
|
|
6949
|
+
start: number;
|
|
6950
|
+
option?: string | null | undefined;
|
|
6951
|
+
text?: string | null | undefined;
|
|
6952
|
+
}>, "many">>>>;
|
|
6953
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6954
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
6955
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
6956
|
+
name?: string | undefined;
|
|
6957
|
+
content?: string | undefined;
|
|
6958
|
+
context?: any;
|
|
6959
|
+
scheduled?: string | undefined;
|
|
6960
|
+
intent?: string | null | undefined;
|
|
6961
|
+
intentScore?: number | null | undefined;
|
|
6962
|
+
delayInSeconds?: number | null | undefined;
|
|
6963
|
+
ignoreTransform?: boolean | undefined;
|
|
6964
|
+
mediaUrls?: string[] | null | undefined;
|
|
6692
6965
|
}, {
|
|
6693
|
-
|
|
6694
|
-
|
|
6966
|
+
name?: string | undefined;
|
|
6967
|
+
content?: string | undefined;
|
|
6968
|
+
context?: any;
|
|
6969
|
+
scheduled?: string | undefined;
|
|
6970
|
+
intent?: string | null | undefined;
|
|
6971
|
+
intentScore?: number | null | undefined;
|
|
6972
|
+
delayInSeconds?: number | null | undefined;
|
|
6973
|
+
ignoreTransform?: boolean | undefined;
|
|
6974
|
+
mediaUrls?: string[] | null | undefined;
|
|
6695
6975
|
}>]>>;
|
|
6696
6976
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6697
6977
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6802,8 +7082,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6802
7082
|
})[] | undefined;
|
|
6803
7083
|
removeInstructions?: string[] | undefined;
|
|
6804
7084
|
message?: string | {
|
|
6805
|
-
|
|
6806
|
-
|
|
7085
|
+
name?: string | undefined;
|
|
7086
|
+
content?: string | undefined;
|
|
7087
|
+
context?: any;
|
|
7088
|
+
scheduled?: string | undefined;
|
|
7089
|
+
intent?: string | null | undefined;
|
|
7090
|
+
intentScore?: number | null | undefined;
|
|
7091
|
+
delayInSeconds?: number | null | undefined;
|
|
7092
|
+
ignoreTransform?: boolean | undefined;
|
|
7093
|
+
mediaUrls?: string[] | null | undefined;
|
|
6807
7094
|
} | undefined;
|
|
6808
7095
|
secondsDelay?: number | undefined;
|
|
6809
7096
|
scheduled?: number | undefined;
|
|
@@ -6854,8 +7141,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6854
7141
|
})[] | undefined;
|
|
6855
7142
|
removeInstructions?: string[] | undefined;
|
|
6856
7143
|
message?: string | {
|
|
6857
|
-
|
|
6858
|
-
|
|
7144
|
+
name?: string | undefined;
|
|
7145
|
+
content?: string | undefined;
|
|
7146
|
+
context?: any;
|
|
7147
|
+
scheduled?: string | undefined;
|
|
7148
|
+
intent?: string | null | undefined;
|
|
7149
|
+
intentScore?: number | null | undefined;
|
|
7150
|
+
delayInSeconds?: number | null | undefined;
|
|
7151
|
+
ignoreTransform?: boolean | undefined;
|
|
7152
|
+
mediaUrls?: string[] | null | undefined;
|
|
6859
7153
|
} | undefined;
|
|
6860
7154
|
secondsDelay?: number | undefined;
|
|
6861
7155
|
scheduled?: number | undefined;
|
|
@@ -6909,8 +7203,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6909
7203
|
})[] | undefined;
|
|
6910
7204
|
removeInstructions?: string[] | undefined;
|
|
6911
7205
|
message?: string | {
|
|
6912
|
-
|
|
6913
|
-
|
|
7206
|
+
name?: string | undefined;
|
|
7207
|
+
content?: string | undefined;
|
|
7208
|
+
context?: any;
|
|
7209
|
+
scheduled?: string | undefined;
|
|
7210
|
+
intent?: string | null | undefined;
|
|
7211
|
+
intentScore?: number | null | undefined;
|
|
7212
|
+
delayInSeconds?: number | null | undefined;
|
|
7213
|
+
ignoreTransform?: boolean | undefined;
|
|
7214
|
+
mediaUrls?: string[] | null | undefined;
|
|
6914
7215
|
} | undefined;
|
|
6915
7216
|
secondsDelay?: number | undefined;
|
|
6916
7217
|
scheduled?: number | undefined;
|
|
@@ -6962,8 +7263,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6962
7263
|
})[] | undefined;
|
|
6963
7264
|
removeInstructions?: string[] | undefined;
|
|
6964
7265
|
message?: string | {
|
|
6965
|
-
|
|
6966
|
-
|
|
7266
|
+
name?: string | undefined;
|
|
7267
|
+
content?: string | undefined;
|
|
7268
|
+
context?: any;
|
|
7269
|
+
scheduled?: string | undefined;
|
|
7270
|
+
intent?: string | null | undefined;
|
|
7271
|
+
intentScore?: number | null | undefined;
|
|
7272
|
+
delayInSeconds?: number | null | undefined;
|
|
7273
|
+
ignoreTransform?: boolean | undefined;
|
|
7274
|
+
mediaUrls?: string[] | null | undefined;
|
|
6967
7275
|
} | undefined;
|
|
6968
7276
|
secondsDelay?: number | undefined;
|
|
6969
7277
|
scheduled?: number | undefined;
|
|
@@ -7017,8 +7325,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7017
7325
|
})[] | undefined;
|
|
7018
7326
|
removeInstructions?: string[] | undefined;
|
|
7019
7327
|
message?: string | {
|
|
7020
|
-
|
|
7021
|
-
|
|
7328
|
+
name?: string | undefined;
|
|
7329
|
+
content?: string | undefined;
|
|
7330
|
+
context?: any;
|
|
7331
|
+
scheduled?: string | undefined;
|
|
7332
|
+
intent?: string | null | undefined;
|
|
7333
|
+
intentScore?: number | null | undefined;
|
|
7334
|
+
delayInSeconds?: number | null | undefined;
|
|
7335
|
+
ignoreTransform?: boolean | undefined;
|
|
7336
|
+
mediaUrls?: string[] | null | undefined;
|
|
7022
7337
|
} | undefined;
|
|
7023
7338
|
secondsDelay?: number | undefined;
|
|
7024
7339
|
scheduled?: number | undefined;
|
|
@@ -7070,8 +7385,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7070
7385
|
})[] | undefined;
|
|
7071
7386
|
removeInstructions?: string[] | undefined;
|
|
7072
7387
|
message?: string | {
|
|
7073
|
-
|
|
7074
|
-
|
|
7388
|
+
name?: string | undefined;
|
|
7389
|
+
content?: string | undefined;
|
|
7390
|
+
context?: any;
|
|
7391
|
+
scheduled?: string | undefined;
|
|
7392
|
+
intent?: string | null | undefined;
|
|
7393
|
+
intentScore?: number | null | undefined;
|
|
7394
|
+
delayInSeconds?: number | null | undefined;
|
|
7395
|
+
ignoreTransform?: boolean | undefined;
|
|
7396
|
+
mediaUrls?: string[] | null | undefined;
|
|
7075
7397
|
} | undefined;
|
|
7076
7398
|
secondsDelay?: number | undefined;
|
|
7077
7399
|
scheduled?: number | undefined;
|
|
@@ -7106,15 +7428,58 @@ declare module '@scout9/app/schemas' {
|
|
|
7106
7428
|
} | undefined;
|
|
7107
7429
|
};
|
|
7108
7430
|
}>, z.ZodArray<z.ZodObject<{
|
|
7109
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7431
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
7432
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7433
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
7434
|
+
content: z.ZodOptional<z.ZodString>;
|
|
7435
|
+
time: z.ZodOptional<z.ZodString>;
|
|
7436
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7437
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7438
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
7439
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
7440
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
7441
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
7442
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7443
|
+
start: z.ZodNumber;
|
|
7444
|
+
end: z.ZodNumber;
|
|
7445
|
+
type: z.ZodString;
|
|
7446
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7447
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7448
|
+
}, "strip", z.ZodTypeAny, {
|
|
7449
|
+
type: string;
|
|
7450
|
+
end: number;
|
|
7451
|
+
start: number;
|
|
7452
|
+
option?: string | null | undefined;
|
|
7453
|
+
text?: string | null | undefined;
|
|
7454
|
+
}, {
|
|
7455
|
+
type: string;
|
|
7456
|
+
end: number;
|
|
7457
|
+
start: number;
|
|
7458
|
+
option?: string | null | undefined;
|
|
7459
|
+
text?: string | null | undefined;
|
|
7460
|
+
}>, "many">>>>;
|
|
7461
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7462
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
7463
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
7464
|
+
name?: string | undefined;
|
|
7465
|
+
content?: string | undefined;
|
|
7466
|
+
context?: any;
|
|
7467
|
+
scheduled?: string | undefined;
|
|
7468
|
+
intent?: string | null | undefined;
|
|
7469
|
+
intentScore?: number | null | undefined;
|
|
7470
|
+
delayInSeconds?: number | null | undefined;
|
|
7471
|
+
ignoreTransform?: boolean | undefined;
|
|
7472
|
+
mediaUrls?: string[] | null | undefined;
|
|
7115
7473
|
}, {
|
|
7116
|
-
|
|
7117
|
-
|
|
7474
|
+
name?: string | undefined;
|
|
7475
|
+
content?: string | undefined;
|
|
7476
|
+
context?: any;
|
|
7477
|
+
scheduled?: string | undefined;
|
|
7478
|
+
intent?: string | null | undefined;
|
|
7479
|
+
intentScore?: number | null | undefined;
|
|
7480
|
+
delayInSeconds?: number | null | undefined;
|
|
7481
|
+
ignoreTransform?: boolean | undefined;
|
|
7482
|
+
mediaUrls?: string[] | null | undefined;
|
|
7118
7483
|
}>]>>;
|
|
7119
7484
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
7120
7485
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -7251,8 +7616,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7251
7616
|
}, "strip", z.ZodTypeAny, {
|
|
7252
7617
|
keywords: string[];
|
|
7253
7618
|
message?: string | {
|
|
7254
|
-
|
|
7255
|
-
|
|
7619
|
+
name?: string | undefined;
|
|
7620
|
+
content?: string | undefined;
|
|
7621
|
+
context?: any;
|
|
7622
|
+
scheduled?: string | undefined;
|
|
7623
|
+
intent?: string | null | undefined;
|
|
7624
|
+
intentScore?: number | null | undefined;
|
|
7625
|
+
delayInSeconds?: number | null | undefined;
|
|
7626
|
+
ignoreTransform?: boolean | undefined;
|
|
7627
|
+
mediaUrls?: string[] | null | undefined;
|
|
7256
7628
|
} | undefined;
|
|
7257
7629
|
forward?: string | boolean | {
|
|
7258
7630
|
to?: string | undefined;
|
|
@@ -7304,8 +7676,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7304
7676
|
}, {
|
|
7305
7677
|
keywords: string[];
|
|
7306
7678
|
message?: string | {
|
|
7307
|
-
|
|
7308
|
-
|
|
7679
|
+
name?: string | undefined;
|
|
7680
|
+
content?: string | undefined;
|
|
7681
|
+
context?: any;
|
|
7682
|
+
scheduled?: string | undefined;
|
|
7683
|
+
intent?: string | null | undefined;
|
|
7684
|
+
intentScore?: number | null | undefined;
|
|
7685
|
+
delayInSeconds?: number | null | undefined;
|
|
7686
|
+
ignoreTransform?: boolean | undefined;
|
|
7687
|
+
mediaUrls?: string[] | null | undefined;
|
|
7309
7688
|
} | undefined;
|
|
7310
7689
|
forward?: string | boolean | {
|
|
7311
7690
|
to?: string | undefined;
|
|
@@ -7355,10 +7734,45 @@ declare module '@scout9/app/schemas' {
|
|
|
7355
7734
|
overrideLock?: boolean | undefined;
|
|
7356
7735
|
} | undefined;
|
|
7357
7736
|
}>, "many">]>>;
|
|
7737
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
7738
|
+
entityType: z.ZodString;
|
|
7739
|
+
entityRecordId: z.ZodString;
|
|
7740
|
+
method: z.ZodLiteral<"delete">;
|
|
7741
|
+
}, "strip", z.ZodTypeAny, {
|
|
7742
|
+
method: "delete";
|
|
7743
|
+
entityType: string;
|
|
7744
|
+
entityRecordId: string;
|
|
7745
|
+
}, {
|
|
7746
|
+
method: "delete";
|
|
7747
|
+
entityType: string;
|
|
7748
|
+
entityRecordId: string;
|
|
7749
|
+
}>, z.ZodObject<{
|
|
7750
|
+
entityType: z.ZodString;
|
|
7751
|
+
entityRecordId: z.ZodString;
|
|
7752
|
+
method: z.ZodLiteral<"mutate">;
|
|
7753
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
7754
|
+
}, "strip", z.ZodTypeAny, {
|
|
7755
|
+
method: "mutate";
|
|
7756
|
+
entityType: string;
|
|
7757
|
+
entityRecordId: string;
|
|
7758
|
+
fields: Record<string, string | number | boolean | null>;
|
|
7759
|
+
}, {
|
|
7760
|
+
method: "mutate";
|
|
7761
|
+
entityType: string;
|
|
7762
|
+
entityRecordId: string;
|
|
7763
|
+
fields: Record<string, string | number | boolean | null>;
|
|
7764
|
+
}>]>, "many">>;
|
|
7358
7765
|
}, "strip", z.ZodTypeAny, {
|
|
7359
7766
|
message?: string | {
|
|
7360
|
-
|
|
7361
|
-
|
|
7767
|
+
name?: string | undefined;
|
|
7768
|
+
content?: string | undefined;
|
|
7769
|
+
context?: any;
|
|
7770
|
+
scheduled?: string | undefined;
|
|
7771
|
+
intent?: string | null | undefined;
|
|
7772
|
+
intentScore?: number | null | undefined;
|
|
7773
|
+
delayInSeconds?: number | null | undefined;
|
|
7774
|
+
ignoreTransform?: boolean | undefined;
|
|
7775
|
+
mediaUrls?: string[] | null | undefined;
|
|
7362
7776
|
} | undefined;
|
|
7363
7777
|
forward?: string | boolean | {
|
|
7364
7778
|
to?: string | undefined;
|
|
@@ -7427,8 +7841,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7427
7841
|
})[] | undefined;
|
|
7428
7842
|
removeInstructions?: string[] | undefined;
|
|
7429
7843
|
message?: string | {
|
|
7430
|
-
|
|
7431
|
-
|
|
7844
|
+
name?: string | undefined;
|
|
7845
|
+
content?: string | undefined;
|
|
7846
|
+
context?: any;
|
|
7847
|
+
scheduled?: string | undefined;
|
|
7848
|
+
intent?: string | null | undefined;
|
|
7849
|
+
intentScore?: number | null | undefined;
|
|
7850
|
+
delayInSeconds?: number | null | undefined;
|
|
7851
|
+
ignoreTransform?: boolean | undefined;
|
|
7852
|
+
mediaUrls?: string[] | null | undefined;
|
|
7432
7853
|
} | undefined;
|
|
7433
7854
|
secondsDelay?: number | undefined;
|
|
7434
7855
|
scheduled?: number | undefined;
|
|
@@ -7480,8 +7901,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7480
7901
|
})[] | undefined;
|
|
7481
7902
|
removeInstructions?: string[] | undefined;
|
|
7482
7903
|
message?: string | {
|
|
7483
|
-
|
|
7484
|
-
|
|
7904
|
+
name?: string | undefined;
|
|
7905
|
+
content?: string | undefined;
|
|
7906
|
+
context?: any;
|
|
7907
|
+
scheduled?: string | undefined;
|
|
7908
|
+
intent?: string | null | undefined;
|
|
7909
|
+
intentScore?: number | null | undefined;
|
|
7910
|
+
delayInSeconds?: number | null | undefined;
|
|
7911
|
+
ignoreTransform?: boolean | undefined;
|
|
7912
|
+
mediaUrls?: string[] | null | undefined;
|
|
7485
7913
|
} | undefined;
|
|
7486
7914
|
secondsDelay?: number | undefined;
|
|
7487
7915
|
scheduled?: number | undefined;
|
|
@@ -7518,8 +7946,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7518
7946
|
} | {
|
|
7519
7947
|
keywords: string[];
|
|
7520
7948
|
message?: string | {
|
|
7521
|
-
|
|
7522
|
-
|
|
7949
|
+
name?: string | undefined;
|
|
7950
|
+
content?: string | undefined;
|
|
7951
|
+
context?: any;
|
|
7952
|
+
scheduled?: string | undefined;
|
|
7953
|
+
intent?: string | null | undefined;
|
|
7954
|
+
intentScore?: number | null | undefined;
|
|
7955
|
+
delayInSeconds?: number | null | undefined;
|
|
7956
|
+
ignoreTransform?: boolean | undefined;
|
|
7957
|
+
mediaUrls?: string[] | null | undefined;
|
|
7523
7958
|
} | undefined;
|
|
7524
7959
|
forward?: string | boolean | {
|
|
7525
7960
|
to?: string | undefined;
|
|
@@ -7569,10 +8004,27 @@ declare module '@scout9/app/schemas' {
|
|
|
7569
8004
|
overrideLock?: boolean | undefined;
|
|
7570
8005
|
} | undefined;
|
|
7571
8006
|
}[] | undefined;
|
|
8007
|
+
entityContextUpsert?: ({
|
|
8008
|
+
method: "delete";
|
|
8009
|
+
entityType: string;
|
|
8010
|
+
entityRecordId: string;
|
|
8011
|
+
} | {
|
|
8012
|
+
method: "mutate";
|
|
8013
|
+
entityType: string;
|
|
8014
|
+
entityRecordId: string;
|
|
8015
|
+
fields: Record<string, string | number | boolean | null>;
|
|
8016
|
+
})[] | undefined;
|
|
7572
8017
|
}, {
|
|
7573
8018
|
message?: string | {
|
|
7574
|
-
|
|
7575
|
-
|
|
8019
|
+
name?: string | undefined;
|
|
8020
|
+
content?: string | undefined;
|
|
8021
|
+
context?: any;
|
|
8022
|
+
scheduled?: string | undefined;
|
|
8023
|
+
intent?: string | null | undefined;
|
|
8024
|
+
intentScore?: number | null | undefined;
|
|
8025
|
+
delayInSeconds?: number | null | undefined;
|
|
8026
|
+
ignoreTransform?: boolean | undefined;
|
|
8027
|
+
mediaUrls?: string[] | null | undefined;
|
|
7576
8028
|
} | undefined;
|
|
7577
8029
|
forward?: string | boolean | {
|
|
7578
8030
|
to?: string | undefined;
|
|
@@ -7641,8 +8093,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7641
8093
|
})[] | undefined;
|
|
7642
8094
|
removeInstructions?: string[] | undefined;
|
|
7643
8095
|
message?: string | {
|
|
7644
|
-
|
|
7645
|
-
|
|
8096
|
+
name?: string | undefined;
|
|
8097
|
+
content?: string | undefined;
|
|
8098
|
+
context?: any;
|
|
8099
|
+
scheduled?: string | undefined;
|
|
8100
|
+
intent?: string | null | undefined;
|
|
8101
|
+
intentScore?: number | null | undefined;
|
|
8102
|
+
delayInSeconds?: number | null | undefined;
|
|
8103
|
+
ignoreTransform?: boolean | undefined;
|
|
8104
|
+
mediaUrls?: string[] | null | undefined;
|
|
7646
8105
|
} | undefined;
|
|
7647
8106
|
secondsDelay?: number | undefined;
|
|
7648
8107
|
scheduled?: number | undefined;
|
|
@@ -7694,8 +8153,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7694
8153
|
})[] | undefined;
|
|
7695
8154
|
removeInstructions?: string[] | undefined;
|
|
7696
8155
|
message?: string | {
|
|
7697
|
-
|
|
7698
|
-
|
|
8156
|
+
name?: string | undefined;
|
|
8157
|
+
content?: string | undefined;
|
|
8158
|
+
context?: any;
|
|
8159
|
+
scheduled?: string | undefined;
|
|
8160
|
+
intent?: string | null | undefined;
|
|
8161
|
+
intentScore?: number | null | undefined;
|
|
8162
|
+
delayInSeconds?: number | null | undefined;
|
|
8163
|
+
ignoreTransform?: boolean | undefined;
|
|
8164
|
+
mediaUrls?: string[] | null | undefined;
|
|
7699
8165
|
} | undefined;
|
|
7700
8166
|
secondsDelay?: number | undefined;
|
|
7701
8167
|
scheduled?: number | undefined;
|
|
@@ -7732,8 +8198,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7732
8198
|
} | {
|
|
7733
8199
|
keywords: string[];
|
|
7734
8200
|
message?: string | {
|
|
7735
|
-
|
|
7736
|
-
|
|
8201
|
+
name?: string | undefined;
|
|
8202
|
+
content?: string | undefined;
|
|
8203
|
+
context?: any;
|
|
8204
|
+
scheduled?: string | undefined;
|
|
8205
|
+
intent?: string | null | undefined;
|
|
8206
|
+
intentScore?: number | null | undefined;
|
|
8207
|
+
delayInSeconds?: number | null | undefined;
|
|
8208
|
+
ignoreTransform?: boolean | undefined;
|
|
8209
|
+
mediaUrls?: string[] | null | undefined;
|
|
7737
8210
|
} | undefined;
|
|
7738
8211
|
forward?: string | boolean | {
|
|
7739
8212
|
to?: string | undefined;
|
|
@@ -7783,20 +8256,73 @@ declare module '@scout9/app/schemas' {
|
|
|
7783
8256
|
overrideLock?: boolean | undefined;
|
|
7784
8257
|
} | undefined;
|
|
7785
8258
|
}[] | undefined;
|
|
8259
|
+
entityContextUpsert?: ({
|
|
8260
|
+
method: "delete";
|
|
8261
|
+
entityType: string;
|
|
8262
|
+
entityRecordId: string;
|
|
8263
|
+
} | {
|
|
8264
|
+
method: "mutate";
|
|
8265
|
+
entityType: string;
|
|
8266
|
+
entityRecordId: string;
|
|
8267
|
+
fields: Record<string, string | number | boolean | null>;
|
|
8268
|
+
})[] | undefined;
|
|
7786
8269
|
}>;
|
|
7787
8270
|
/**
|
|
7788
8271
|
* The workflow response to send in any given workflow
|
|
7789
8272
|
*/
|
|
7790
8273
|
export const WorkflowResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
7791
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
8274
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
8275
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8276
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
8277
|
+
content: z.ZodOptional<z.ZodString>;
|
|
8278
|
+
time: z.ZodOptional<z.ZodString>;
|
|
8279
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8280
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8281
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
8282
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
8283
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8284
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8285
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8286
|
+
start: z.ZodNumber;
|
|
8287
|
+
end: z.ZodNumber;
|
|
8288
|
+
type: z.ZodString;
|
|
8289
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8290
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8291
|
+
}, "strip", z.ZodTypeAny, {
|
|
8292
|
+
type: string;
|
|
8293
|
+
end: number;
|
|
8294
|
+
start: number;
|
|
8295
|
+
option?: string | null | undefined;
|
|
8296
|
+
text?: string | null | undefined;
|
|
8297
|
+
}, {
|
|
8298
|
+
type: string;
|
|
8299
|
+
end: number;
|
|
8300
|
+
start: number;
|
|
8301
|
+
option?: string | null | undefined;
|
|
8302
|
+
text?: string | null | undefined;
|
|
8303
|
+
}>, "many">>>>;
|
|
8304
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
8305
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
8306
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
8307
|
+
name?: string | undefined;
|
|
8308
|
+
content?: string | undefined;
|
|
8309
|
+
context?: any;
|
|
8310
|
+
scheduled?: string | undefined;
|
|
8311
|
+
intent?: string | null | undefined;
|
|
8312
|
+
intentScore?: number | null | undefined;
|
|
8313
|
+
delayInSeconds?: number | null | undefined;
|
|
8314
|
+
ignoreTransform?: boolean | undefined;
|
|
8315
|
+
mediaUrls?: string[] | null | undefined;
|
|
7797
8316
|
}, {
|
|
7798
|
-
|
|
7799
|
-
|
|
8317
|
+
name?: string | undefined;
|
|
8318
|
+
content?: string | undefined;
|
|
8319
|
+
context?: any;
|
|
8320
|
+
scheduled?: string | undefined;
|
|
8321
|
+
intent?: string | null | undefined;
|
|
8322
|
+
intentScore?: number | null | undefined;
|
|
8323
|
+
delayInSeconds?: number | null | undefined;
|
|
8324
|
+
ignoreTransform?: boolean | undefined;
|
|
8325
|
+
mediaUrls?: string[] | null | undefined;
|
|
7800
8326
|
}>]>>;
|
|
7801
8327
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
7802
8328
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -7972,15 +8498,58 @@ declare module '@scout9/app/schemas' {
|
|
|
7972
8498
|
persist?: boolean | undefined;
|
|
7973
8499
|
}>]>, "many">]>>;
|
|
7974
8500
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7975
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
8501
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
8502
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8503
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
8504
|
+
content: z.ZodOptional<z.ZodString>;
|
|
8505
|
+
time: z.ZodOptional<z.ZodString>;
|
|
8506
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8507
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8508
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
8509
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
8510
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8511
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8512
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8513
|
+
start: z.ZodNumber;
|
|
8514
|
+
end: z.ZodNumber;
|
|
8515
|
+
type: z.ZodString;
|
|
8516
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8517
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8518
|
+
}, "strip", z.ZodTypeAny, {
|
|
8519
|
+
type: string;
|
|
8520
|
+
end: number;
|
|
8521
|
+
start: number;
|
|
8522
|
+
option?: string | null | undefined;
|
|
8523
|
+
text?: string | null | undefined;
|
|
8524
|
+
}, {
|
|
8525
|
+
type: string;
|
|
8526
|
+
end: number;
|
|
8527
|
+
start: number;
|
|
8528
|
+
option?: string | null | undefined;
|
|
8529
|
+
text?: string | null | undefined;
|
|
8530
|
+
}>, "many">>>>;
|
|
8531
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
8532
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
8533
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
8534
|
+
name?: string | undefined;
|
|
8535
|
+
content?: string | undefined;
|
|
8536
|
+
context?: any;
|
|
8537
|
+
scheduled?: string | undefined;
|
|
8538
|
+
intent?: string | null | undefined;
|
|
8539
|
+
intentScore?: number | null | undefined;
|
|
8540
|
+
delayInSeconds?: number | null | undefined;
|
|
8541
|
+
ignoreTransform?: boolean | undefined;
|
|
8542
|
+
mediaUrls?: string[] | null | undefined;
|
|
7981
8543
|
}, {
|
|
7982
|
-
|
|
7983
|
-
|
|
8544
|
+
name?: string | undefined;
|
|
8545
|
+
content?: string | undefined;
|
|
8546
|
+
context?: any;
|
|
8547
|
+
scheduled?: string | undefined;
|
|
8548
|
+
intent?: string | null | undefined;
|
|
8549
|
+
intentScore?: number | null | undefined;
|
|
8550
|
+
delayInSeconds?: number | null | undefined;
|
|
8551
|
+
ignoreTransform?: boolean | undefined;
|
|
8552
|
+
mediaUrls?: string[] | null | undefined;
|
|
7984
8553
|
}>]>>;
|
|
7985
8554
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
7986
8555
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8091,8 +8660,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8091
8660
|
})[] | undefined;
|
|
8092
8661
|
removeInstructions?: string[] | undefined;
|
|
8093
8662
|
message?: string | {
|
|
8094
|
-
|
|
8095
|
-
|
|
8663
|
+
name?: string | undefined;
|
|
8664
|
+
content?: string | undefined;
|
|
8665
|
+
context?: any;
|
|
8666
|
+
scheduled?: string | undefined;
|
|
8667
|
+
intent?: string | null | undefined;
|
|
8668
|
+
intentScore?: number | null | undefined;
|
|
8669
|
+
delayInSeconds?: number | null | undefined;
|
|
8670
|
+
ignoreTransform?: boolean | undefined;
|
|
8671
|
+
mediaUrls?: string[] | null | undefined;
|
|
8096
8672
|
} | undefined;
|
|
8097
8673
|
secondsDelay?: number | undefined;
|
|
8098
8674
|
scheduled?: number | undefined;
|
|
@@ -8143,8 +8719,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8143
8719
|
})[] | undefined;
|
|
8144
8720
|
removeInstructions?: string[] | undefined;
|
|
8145
8721
|
message?: string | {
|
|
8146
|
-
|
|
8147
|
-
|
|
8722
|
+
name?: string | undefined;
|
|
8723
|
+
content?: string | undefined;
|
|
8724
|
+
context?: any;
|
|
8725
|
+
scheduled?: string | undefined;
|
|
8726
|
+
intent?: string | null | undefined;
|
|
8727
|
+
intentScore?: number | null | undefined;
|
|
8728
|
+
delayInSeconds?: number | null | undefined;
|
|
8729
|
+
ignoreTransform?: boolean | undefined;
|
|
8730
|
+
mediaUrls?: string[] | null | undefined;
|
|
8148
8731
|
} | undefined;
|
|
8149
8732
|
secondsDelay?: number | undefined;
|
|
8150
8733
|
scheduled?: number | undefined;
|
|
@@ -8219,15 +8802,58 @@ declare module '@scout9/app/schemas' {
|
|
|
8219
8802
|
persist?: boolean | undefined;
|
|
8220
8803
|
}>]>, "many">]>>;
|
|
8221
8804
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8222
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8805
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
8806
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8807
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
8808
|
+
content: z.ZodOptional<z.ZodString>;
|
|
8809
|
+
time: z.ZodOptional<z.ZodString>;
|
|
8810
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8811
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8812
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
8813
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
8814
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8815
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8816
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8817
|
+
start: z.ZodNumber;
|
|
8818
|
+
end: z.ZodNumber;
|
|
8819
|
+
type: z.ZodString;
|
|
8820
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8821
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8822
|
+
}, "strip", z.ZodTypeAny, {
|
|
8823
|
+
type: string;
|
|
8824
|
+
end: number;
|
|
8825
|
+
start: number;
|
|
8826
|
+
option?: string | null | undefined;
|
|
8827
|
+
text?: string | null | undefined;
|
|
8828
|
+
}, {
|
|
8829
|
+
type: string;
|
|
8830
|
+
end: number;
|
|
8831
|
+
start: number;
|
|
8832
|
+
option?: string | null | undefined;
|
|
8833
|
+
text?: string | null | undefined;
|
|
8834
|
+
}>, "many">>>>;
|
|
8835
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
8836
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
8837
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
8838
|
+
name?: string | undefined;
|
|
8839
|
+
content?: string | undefined;
|
|
8840
|
+
context?: any;
|
|
8841
|
+
scheduled?: string | undefined;
|
|
8842
|
+
intent?: string | null | undefined;
|
|
8843
|
+
intentScore?: number | null | undefined;
|
|
8844
|
+
delayInSeconds?: number | null | undefined;
|
|
8845
|
+
ignoreTransform?: boolean | undefined;
|
|
8846
|
+
mediaUrls?: string[] | null | undefined;
|
|
8228
8847
|
}, {
|
|
8229
|
-
|
|
8230
|
-
|
|
8848
|
+
name?: string | undefined;
|
|
8849
|
+
content?: string | undefined;
|
|
8850
|
+
context?: any;
|
|
8851
|
+
scheduled?: string | undefined;
|
|
8852
|
+
intent?: string | null | undefined;
|
|
8853
|
+
intentScore?: number | null | undefined;
|
|
8854
|
+
delayInSeconds?: number | null | undefined;
|
|
8855
|
+
ignoreTransform?: boolean | undefined;
|
|
8856
|
+
mediaUrls?: string[] | null | undefined;
|
|
8231
8857
|
}>]>>;
|
|
8232
8858
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
8233
8859
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8338,8 +8964,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8338
8964
|
})[] | undefined;
|
|
8339
8965
|
removeInstructions?: string[] | undefined;
|
|
8340
8966
|
message?: string | {
|
|
8341
|
-
|
|
8342
|
-
|
|
8967
|
+
name?: string | undefined;
|
|
8968
|
+
content?: string | undefined;
|
|
8969
|
+
context?: any;
|
|
8970
|
+
scheduled?: string | undefined;
|
|
8971
|
+
intent?: string | null | undefined;
|
|
8972
|
+
intentScore?: number | null | undefined;
|
|
8973
|
+
delayInSeconds?: number | null | undefined;
|
|
8974
|
+
ignoreTransform?: boolean | undefined;
|
|
8975
|
+
mediaUrls?: string[] | null | undefined;
|
|
8343
8976
|
} | undefined;
|
|
8344
8977
|
secondsDelay?: number | undefined;
|
|
8345
8978
|
scheduled?: number | undefined;
|
|
@@ -8390,8 +9023,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8390
9023
|
})[] | undefined;
|
|
8391
9024
|
removeInstructions?: string[] | undefined;
|
|
8392
9025
|
message?: string | {
|
|
8393
|
-
|
|
8394
|
-
|
|
9026
|
+
name?: string | undefined;
|
|
9027
|
+
content?: string | undefined;
|
|
9028
|
+
context?: any;
|
|
9029
|
+
scheduled?: string | undefined;
|
|
9030
|
+
intent?: string | null | undefined;
|
|
9031
|
+
intentScore?: number | null | undefined;
|
|
9032
|
+
delayInSeconds?: number | null | undefined;
|
|
9033
|
+
ignoreTransform?: boolean | undefined;
|
|
9034
|
+
mediaUrls?: string[] | null | undefined;
|
|
8395
9035
|
} | undefined;
|
|
8396
9036
|
secondsDelay?: number | undefined;
|
|
8397
9037
|
scheduled?: number | undefined;
|
|
@@ -8445,8 +9085,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8445
9085
|
})[] | undefined;
|
|
8446
9086
|
removeInstructions?: string[] | undefined;
|
|
8447
9087
|
message?: string | {
|
|
8448
|
-
|
|
8449
|
-
|
|
9088
|
+
name?: string | undefined;
|
|
9089
|
+
content?: string | undefined;
|
|
9090
|
+
context?: any;
|
|
9091
|
+
scheduled?: string | undefined;
|
|
9092
|
+
intent?: string | null | undefined;
|
|
9093
|
+
intentScore?: number | null | undefined;
|
|
9094
|
+
delayInSeconds?: number | null | undefined;
|
|
9095
|
+
ignoreTransform?: boolean | undefined;
|
|
9096
|
+
mediaUrls?: string[] | null | undefined;
|
|
8450
9097
|
} | undefined;
|
|
8451
9098
|
secondsDelay?: number | undefined;
|
|
8452
9099
|
scheduled?: number | undefined;
|
|
@@ -8498,8 +9145,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8498
9145
|
})[] | undefined;
|
|
8499
9146
|
removeInstructions?: string[] | undefined;
|
|
8500
9147
|
message?: string | {
|
|
8501
|
-
|
|
8502
|
-
|
|
9148
|
+
name?: string | undefined;
|
|
9149
|
+
content?: string | undefined;
|
|
9150
|
+
context?: any;
|
|
9151
|
+
scheduled?: string | undefined;
|
|
9152
|
+
intent?: string | null | undefined;
|
|
9153
|
+
intentScore?: number | null | undefined;
|
|
9154
|
+
delayInSeconds?: number | null | undefined;
|
|
9155
|
+
ignoreTransform?: boolean | undefined;
|
|
9156
|
+
mediaUrls?: string[] | null | undefined;
|
|
8503
9157
|
} | undefined;
|
|
8504
9158
|
secondsDelay?: number | undefined;
|
|
8505
9159
|
scheduled?: number | undefined;
|
|
@@ -8553,8 +9207,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8553
9207
|
})[] | undefined;
|
|
8554
9208
|
removeInstructions?: string[] | undefined;
|
|
8555
9209
|
message?: string | {
|
|
8556
|
-
|
|
8557
|
-
|
|
9210
|
+
name?: string | undefined;
|
|
9211
|
+
content?: string | undefined;
|
|
9212
|
+
context?: any;
|
|
9213
|
+
scheduled?: string | undefined;
|
|
9214
|
+
intent?: string | null | undefined;
|
|
9215
|
+
intentScore?: number | null | undefined;
|
|
9216
|
+
delayInSeconds?: number | null | undefined;
|
|
9217
|
+
ignoreTransform?: boolean | undefined;
|
|
9218
|
+
mediaUrls?: string[] | null | undefined;
|
|
8558
9219
|
} | undefined;
|
|
8559
9220
|
secondsDelay?: number | undefined;
|
|
8560
9221
|
scheduled?: number | undefined;
|
|
@@ -8606,8 +9267,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8606
9267
|
})[] | undefined;
|
|
8607
9268
|
removeInstructions?: string[] | undefined;
|
|
8608
9269
|
message?: string | {
|
|
8609
|
-
|
|
8610
|
-
|
|
9270
|
+
name?: string | undefined;
|
|
9271
|
+
content?: string | undefined;
|
|
9272
|
+
context?: any;
|
|
9273
|
+
scheduled?: string | undefined;
|
|
9274
|
+
intent?: string | null | undefined;
|
|
9275
|
+
intentScore?: number | null | undefined;
|
|
9276
|
+
delayInSeconds?: number | null | undefined;
|
|
9277
|
+
ignoreTransform?: boolean | undefined;
|
|
9278
|
+
mediaUrls?: string[] | null | undefined;
|
|
8611
9279
|
} | undefined;
|
|
8612
9280
|
secondsDelay?: number | undefined;
|
|
8613
9281
|
scheduled?: number | undefined;
|
|
@@ -8642,15 +9310,58 @@ declare module '@scout9/app/schemas' {
|
|
|
8642
9310
|
} | undefined;
|
|
8643
9311
|
};
|
|
8644
9312
|
}>, z.ZodArray<z.ZodObject<{
|
|
8645
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
9313
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
9314
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9315
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
9316
|
+
content: z.ZodOptional<z.ZodString>;
|
|
9317
|
+
time: z.ZodOptional<z.ZodString>;
|
|
9318
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9319
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9320
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
9321
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
9322
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
9323
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
9324
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9325
|
+
start: z.ZodNumber;
|
|
9326
|
+
end: z.ZodNumber;
|
|
9327
|
+
type: z.ZodString;
|
|
9328
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9329
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9330
|
+
}, "strip", z.ZodTypeAny, {
|
|
9331
|
+
type: string;
|
|
9332
|
+
end: number;
|
|
9333
|
+
start: number;
|
|
9334
|
+
option?: string | null | undefined;
|
|
9335
|
+
text?: string | null | undefined;
|
|
9336
|
+
}, {
|
|
9337
|
+
type: string;
|
|
9338
|
+
end: number;
|
|
9339
|
+
start: number;
|
|
9340
|
+
option?: string | null | undefined;
|
|
9341
|
+
text?: string | null | undefined;
|
|
9342
|
+
}>, "many">>>>;
|
|
9343
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
9344
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
9345
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
9346
|
+
name?: string | undefined;
|
|
9347
|
+
content?: string | undefined;
|
|
9348
|
+
context?: any;
|
|
9349
|
+
scheduled?: string | undefined;
|
|
9350
|
+
intent?: string | null | undefined;
|
|
9351
|
+
intentScore?: number | null | undefined;
|
|
9352
|
+
delayInSeconds?: number | null | undefined;
|
|
9353
|
+
ignoreTransform?: boolean | undefined;
|
|
9354
|
+
mediaUrls?: string[] | null | undefined;
|
|
8651
9355
|
}, {
|
|
8652
|
-
|
|
8653
|
-
|
|
9356
|
+
name?: string | undefined;
|
|
9357
|
+
content?: string | undefined;
|
|
9358
|
+
context?: any;
|
|
9359
|
+
scheduled?: string | undefined;
|
|
9360
|
+
intent?: string | null | undefined;
|
|
9361
|
+
intentScore?: number | null | undefined;
|
|
9362
|
+
delayInSeconds?: number | null | undefined;
|
|
9363
|
+
ignoreTransform?: boolean | undefined;
|
|
9364
|
+
mediaUrls?: string[] | null | undefined;
|
|
8654
9365
|
}>]>>;
|
|
8655
9366
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
8656
9367
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -8787,8 +9498,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8787
9498
|
}, "strip", z.ZodTypeAny, {
|
|
8788
9499
|
keywords: string[];
|
|
8789
9500
|
message?: string | {
|
|
8790
|
-
|
|
8791
|
-
|
|
9501
|
+
name?: string | undefined;
|
|
9502
|
+
content?: string | undefined;
|
|
9503
|
+
context?: any;
|
|
9504
|
+
scheduled?: string | undefined;
|
|
9505
|
+
intent?: string | null | undefined;
|
|
9506
|
+
intentScore?: number | null | undefined;
|
|
9507
|
+
delayInSeconds?: number | null | undefined;
|
|
9508
|
+
ignoreTransform?: boolean | undefined;
|
|
9509
|
+
mediaUrls?: string[] | null | undefined;
|
|
8792
9510
|
} | undefined;
|
|
8793
9511
|
forward?: string | boolean | {
|
|
8794
9512
|
to?: string | undefined;
|
|
@@ -8840,8 +9558,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8840
9558
|
}, {
|
|
8841
9559
|
keywords: string[];
|
|
8842
9560
|
message?: string | {
|
|
8843
|
-
|
|
8844
|
-
|
|
9561
|
+
name?: string | undefined;
|
|
9562
|
+
content?: string | undefined;
|
|
9563
|
+
context?: any;
|
|
9564
|
+
scheduled?: string | undefined;
|
|
9565
|
+
intent?: string | null | undefined;
|
|
9566
|
+
intentScore?: number | null | undefined;
|
|
9567
|
+
delayInSeconds?: number | null | undefined;
|
|
9568
|
+
ignoreTransform?: boolean | undefined;
|
|
9569
|
+
mediaUrls?: string[] | null | undefined;
|
|
8845
9570
|
} | undefined;
|
|
8846
9571
|
forward?: string | boolean | {
|
|
8847
9572
|
to?: string | undefined;
|
|
@@ -8891,10 +9616,45 @@ declare module '@scout9/app/schemas' {
|
|
|
8891
9616
|
overrideLock?: boolean | undefined;
|
|
8892
9617
|
} | undefined;
|
|
8893
9618
|
}>, "many">]>>;
|
|
9619
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
9620
|
+
entityType: z.ZodString;
|
|
9621
|
+
entityRecordId: z.ZodString;
|
|
9622
|
+
method: z.ZodLiteral<"delete">;
|
|
9623
|
+
}, "strip", z.ZodTypeAny, {
|
|
9624
|
+
method: "delete";
|
|
9625
|
+
entityType: string;
|
|
9626
|
+
entityRecordId: string;
|
|
9627
|
+
}, {
|
|
9628
|
+
method: "delete";
|
|
9629
|
+
entityType: string;
|
|
9630
|
+
entityRecordId: string;
|
|
9631
|
+
}>, z.ZodObject<{
|
|
9632
|
+
entityType: z.ZodString;
|
|
9633
|
+
entityRecordId: z.ZodString;
|
|
9634
|
+
method: z.ZodLiteral<"mutate">;
|
|
9635
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
9636
|
+
}, "strip", z.ZodTypeAny, {
|
|
9637
|
+
method: "mutate";
|
|
9638
|
+
entityType: string;
|
|
9639
|
+
entityRecordId: string;
|
|
9640
|
+
fields: Record<string, string | number | boolean | null>;
|
|
9641
|
+
}, {
|
|
9642
|
+
method: "mutate";
|
|
9643
|
+
entityType: string;
|
|
9644
|
+
entityRecordId: string;
|
|
9645
|
+
fields: Record<string, string | number | boolean | null>;
|
|
9646
|
+
}>]>, "many">>;
|
|
8894
9647
|
}, "strip", z.ZodTypeAny, {
|
|
8895
9648
|
message?: string | {
|
|
8896
|
-
|
|
8897
|
-
|
|
9649
|
+
name?: string | undefined;
|
|
9650
|
+
content?: string | undefined;
|
|
9651
|
+
context?: any;
|
|
9652
|
+
scheduled?: string | undefined;
|
|
9653
|
+
intent?: string | null | undefined;
|
|
9654
|
+
intentScore?: number | null | undefined;
|
|
9655
|
+
delayInSeconds?: number | null | undefined;
|
|
9656
|
+
ignoreTransform?: boolean | undefined;
|
|
9657
|
+
mediaUrls?: string[] | null | undefined;
|
|
8898
9658
|
} | undefined;
|
|
8899
9659
|
forward?: string | boolean | {
|
|
8900
9660
|
to?: string | undefined;
|
|
@@ -8963,8 +9723,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8963
9723
|
})[] | undefined;
|
|
8964
9724
|
removeInstructions?: string[] | undefined;
|
|
8965
9725
|
message?: string | {
|
|
8966
|
-
|
|
8967
|
-
|
|
9726
|
+
name?: string | undefined;
|
|
9727
|
+
content?: string | undefined;
|
|
9728
|
+
context?: any;
|
|
9729
|
+
scheduled?: string | undefined;
|
|
9730
|
+
intent?: string | null | undefined;
|
|
9731
|
+
intentScore?: number | null | undefined;
|
|
9732
|
+
delayInSeconds?: number | null | undefined;
|
|
9733
|
+
ignoreTransform?: boolean | undefined;
|
|
9734
|
+
mediaUrls?: string[] | null | undefined;
|
|
8968
9735
|
} | undefined;
|
|
8969
9736
|
secondsDelay?: number | undefined;
|
|
8970
9737
|
scheduled?: number | undefined;
|
|
@@ -9016,8 +9783,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9016
9783
|
})[] | undefined;
|
|
9017
9784
|
removeInstructions?: string[] | undefined;
|
|
9018
9785
|
message?: string | {
|
|
9019
|
-
|
|
9020
|
-
|
|
9786
|
+
name?: string | undefined;
|
|
9787
|
+
content?: string | undefined;
|
|
9788
|
+
context?: any;
|
|
9789
|
+
scheduled?: string | undefined;
|
|
9790
|
+
intent?: string | null | undefined;
|
|
9791
|
+
intentScore?: number | null | undefined;
|
|
9792
|
+
delayInSeconds?: number | null | undefined;
|
|
9793
|
+
ignoreTransform?: boolean | undefined;
|
|
9794
|
+
mediaUrls?: string[] | null | undefined;
|
|
9021
9795
|
} | undefined;
|
|
9022
9796
|
secondsDelay?: number | undefined;
|
|
9023
9797
|
scheduled?: number | undefined;
|
|
@@ -9054,8 +9828,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9054
9828
|
} | {
|
|
9055
9829
|
keywords: string[];
|
|
9056
9830
|
message?: string | {
|
|
9057
|
-
|
|
9058
|
-
|
|
9831
|
+
name?: string | undefined;
|
|
9832
|
+
content?: string | undefined;
|
|
9833
|
+
context?: any;
|
|
9834
|
+
scheduled?: string | undefined;
|
|
9835
|
+
intent?: string | null | undefined;
|
|
9836
|
+
intentScore?: number | null | undefined;
|
|
9837
|
+
delayInSeconds?: number | null | undefined;
|
|
9838
|
+
ignoreTransform?: boolean | undefined;
|
|
9839
|
+
mediaUrls?: string[] | null | undefined;
|
|
9059
9840
|
} | undefined;
|
|
9060
9841
|
forward?: string | boolean | {
|
|
9061
9842
|
to?: string | undefined;
|
|
@@ -9105,10 +9886,27 @@ declare module '@scout9/app/schemas' {
|
|
|
9105
9886
|
overrideLock?: boolean | undefined;
|
|
9106
9887
|
} | undefined;
|
|
9107
9888
|
}[] | undefined;
|
|
9889
|
+
entityContextUpsert?: ({
|
|
9890
|
+
method: "delete";
|
|
9891
|
+
entityType: string;
|
|
9892
|
+
entityRecordId: string;
|
|
9893
|
+
} | {
|
|
9894
|
+
method: "mutate";
|
|
9895
|
+
entityType: string;
|
|
9896
|
+
entityRecordId: string;
|
|
9897
|
+
fields: Record<string, string | number | boolean | null>;
|
|
9898
|
+
})[] | undefined;
|
|
9108
9899
|
}, {
|
|
9109
9900
|
message?: string | {
|
|
9110
|
-
|
|
9111
|
-
|
|
9901
|
+
name?: string | undefined;
|
|
9902
|
+
content?: string | undefined;
|
|
9903
|
+
context?: any;
|
|
9904
|
+
scheduled?: string | undefined;
|
|
9905
|
+
intent?: string | null | undefined;
|
|
9906
|
+
intentScore?: number | null | undefined;
|
|
9907
|
+
delayInSeconds?: number | null | undefined;
|
|
9908
|
+
ignoreTransform?: boolean | undefined;
|
|
9909
|
+
mediaUrls?: string[] | null | undefined;
|
|
9112
9910
|
} | undefined;
|
|
9113
9911
|
forward?: string | boolean | {
|
|
9114
9912
|
to?: string | undefined;
|
|
@@ -9177,8 +9975,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9177
9975
|
})[] | undefined;
|
|
9178
9976
|
removeInstructions?: string[] | undefined;
|
|
9179
9977
|
message?: string | {
|
|
9180
|
-
|
|
9181
|
-
|
|
9978
|
+
name?: string | undefined;
|
|
9979
|
+
content?: string | undefined;
|
|
9980
|
+
context?: any;
|
|
9981
|
+
scheduled?: string | undefined;
|
|
9982
|
+
intent?: string | null | undefined;
|
|
9983
|
+
intentScore?: number | null | undefined;
|
|
9984
|
+
delayInSeconds?: number | null | undefined;
|
|
9985
|
+
ignoreTransform?: boolean | undefined;
|
|
9986
|
+
mediaUrls?: string[] | null | undefined;
|
|
9182
9987
|
} | undefined;
|
|
9183
9988
|
secondsDelay?: number | undefined;
|
|
9184
9989
|
scheduled?: number | undefined;
|
|
@@ -9230,8 +10035,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9230
10035
|
})[] | undefined;
|
|
9231
10036
|
removeInstructions?: string[] | undefined;
|
|
9232
10037
|
message?: string | {
|
|
9233
|
-
|
|
9234
|
-
|
|
10038
|
+
name?: string | undefined;
|
|
10039
|
+
content?: string | undefined;
|
|
10040
|
+
context?: any;
|
|
10041
|
+
scheduled?: string | undefined;
|
|
10042
|
+
intent?: string | null | undefined;
|
|
10043
|
+
intentScore?: number | null | undefined;
|
|
10044
|
+
delayInSeconds?: number | null | undefined;
|
|
10045
|
+
ignoreTransform?: boolean | undefined;
|
|
10046
|
+
mediaUrls?: string[] | null | undefined;
|
|
9235
10047
|
} | undefined;
|
|
9236
10048
|
secondsDelay?: number | undefined;
|
|
9237
10049
|
scheduled?: number | undefined;
|
|
@@ -9268,8 +10080,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9268
10080
|
} | {
|
|
9269
10081
|
keywords: string[];
|
|
9270
10082
|
message?: string | {
|
|
9271
|
-
|
|
9272
|
-
|
|
10083
|
+
name?: string | undefined;
|
|
10084
|
+
content?: string | undefined;
|
|
10085
|
+
context?: any;
|
|
10086
|
+
scheduled?: string | undefined;
|
|
10087
|
+
intent?: string | null | undefined;
|
|
10088
|
+
intentScore?: number | null | undefined;
|
|
10089
|
+
delayInSeconds?: number | null | undefined;
|
|
10090
|
+
ignoreTransform?: boolean | undefined;
|
|
10091
|
+
mediaUrls?: string[] | null | undefined;
|
|
9273
10092
|
} | undefined;
|
|
9274
10093
|
forward?: string | boolean | {
|
|
9275
10094
|
to?: string | undefined;
|
|
@@ -9319,16 +10138,69 @@ declare module '@scout9/app/schemas' {
|
|
|
9319
10138
|
overrideLock?: boolean | undefined;
|
|
9320
10139
|
} | undefined;
|
|
9321
10140
|
}[] | undefined;
|
|
10141
|
+
entityContextUpsert?: ({
|
|
10142
|
+
method: "delete";
|
|
10143
|
+
entityType: string;
|
|
10144
|
+
entityRecordId: string;
|
|
10145
|
+
} | {
|
|
10146
|
+
method: "mutate";
|
|
10147
|
+
entityType: string;
|
|
10148
|
+
entityRecordId: string;
|
|
10149
|
+
fields: Record<string, string | number | boolean | null>;
|
|
10150
|
+
})[] | undefined;
|
|
9322
10151
|
}>, z.ZodArray<z.ZodObject<{
|
|
9323
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
10152
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
10153
|
+
id: z.ZodOptional<z.ZodString>;
|
|
10154
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
10155
|
+
content: z.ZodOptional<z.ZodString>;
|
|
10156
|
+
time: z.ZodOptional<z.ZodString>;
|
|
10157
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10158
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10159
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
10160
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
10161
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10162
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10163
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10164
|
+
start: z.ZodNumber;
|
|
10165
|
+
end: z.ZodNumber;
|
|
10166
|
+
type: z.ZodString;
|
|
10167
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10168
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10169
|
+
}, "strip", z.ZodTypeAny, {
|
|
10170
|
+
type: string;
|
|
10171
|
+
end: number;
|
|
10172
|
+
start: number;
|
|
10173
|
+
option?: string | null | undefined;
|
|
10174
|
+
text?: string | null | undefined;
|
|
10175
|
+
}, {
|
|
10176
|
+
type: string;
|
|
10177
|
+
end: number;
|
|
10178
|
+
start: number;
|
|
10179
|
+
option?: string | null | undefined;
|
|
10180
|
+
text?: string | null | undefined;
|
|
10181
|
+
}>, "many">>>>;
|
|
10182
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
10183
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
10184
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
10185
|
+
name?: string | undefined;
|
|
10186
|
+
content?: string | undefined;
|
|
10187
|
+
context?: any;
|
|
10188
|
+
scheduled?: string | undefined;
|
|
10189
|
+
intent?: string | null | undefined;
|
|
10190
|
+
intentScore?: number | null | undefined;
|
|
10191
|
+
delayInSeconds?: number | null | undefined;
|
|
10192
|
+
ignoreTransform?: boolean | undefined;
|
|
10193
|
+
mediaUrls?: string[] | null | undefined;
|
|
9329
10194
|
}, {
|
|
9330
|
-
|
|
9331
|
-
|
|
10195
|
+
name?: string | undefined;
|
|
10196
|
+
content?: string | undefined;
|
|
10197
|
+
context?: any;
|
|
10198
|
+
scheduled?: string | undefined;
|
|
10199
|
+
intent?: string | null | undefined;
|
|
10200
|
+
intentScore?: number | null | undefined;
|
|
10201
|
+
delayInSeconds?: number | null | undefined;
|
|
10202
|
+
ignoreTransform?: boolean | undefined;
|
|
10203
|
+
mediaUrls?: string[] | null | undefined;
|
|
9332
10204
|
}>]>>;
|
|
9333
10205
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
9334
10206
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -9504,15 +10376,58 @@ declare module '@scout9/app/schemas' {
|
|
|
9504
10376
|
persist?: boolean | undefined;
|
|
9505
10377
|
}>]>, "many">]>>;
|
|
9506
10378
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9507
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
10379
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
10380
|
+
id: z.ZodOptional<z.ZodString>;
|
|
10381
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
10382
|
+
content: z.ZodOptional<z.ZodString>;
|
|
10383
|
+
time: z.ZodOptional<z.ZodString>;
|
|
10384
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10385
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10386
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
10387
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
10388
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10389
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10390
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10391
|
+
start: z.ZodNumber;
|
|
10392
|
+
end: z.ZodNumber;
|
|
10393
|
+
type: z.ZodString;
|
|
10394
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10395
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10396
|
+
}, "strip", z.ZodTypeAny, {
|
|
10397
|
+
type: string;
|
|
10398
|
+
end: number;
|
|
10399
|
+
start: number;
|
|
10400
|
+
option?: string | null | undefined;
|
|
10401
|
+
text?: string | null | undefined;
|
|
10402
|
+
}, {
|
|
10403
|
+
type: string;
|
|
10404
|
+
end: number;
|
|
10405
|
+
start: number;
|
|
10406
|
+
option?: string | null | undefined;
|
|
10407
|
+
text?: string | null | undefined;
|
|
10408
|
+
}>, "many">>>>;
|
|
10409
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
10410
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
10411
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
10412
|
+
name?: string | undefined;
|
|
10413
|
+
content?: string | undefined;
|
|
10414
|
+
context?: any;
|
|
10415
|
+
scheduled?: string | undefined;
|
|
10416
|
+
intent?: string | null | undefined;
|
|
10417
|
+
intentScore?: number | null | undefined;
|
|
10418
|
+
delayInSeconds?: number | null | undefined;
|
|
10419
|
+
ignoreTransform?: boolean | undefined;
|
|
10420
|
+
mediaUrls?: string[] | null | undefined;
|
|
9513
10421
|
}, {
|
|
9514
|
-
|
|
9515
|
-
|
|
10422
|
+
name?: string | undefined;
|
|
10423
|
+
content?: string | undefined;
|
|
10424
|
+
context?: any;
|
|
10425
|
+
scheduled?: string | undefined;
|
|
10426
|
+
intent?: string | null | undefined;
|
|
10427
|
+
intentScore?: number | null | undefined;
|
|
10428
|
+
delayInSeconds?: number | null | undefined;
|
|
10429
|
+
ignoreTransform?: boolean | undefined;
|
|
10430
|
+
mediaUrls?: string[] | null | undefined;
|
|
9516
10431
|
}>]>>;
|
|
9517
10432
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
9518
10433
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9623,8 +10538,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9623
10538
|
})[] | undefined;
|
|
9624
10539
|
removeInstructions?: string[] | undefined;
|
|
9625
10540
|
message?: string | {
|
|
9626
|
-
|
|
9627
|
-
|
|
10541
|
+
name?: string | undefined;
|
|
10542
|
+
content?: string | undefined;
|
|
10543
|
+
context?: any;
|
|
10544
|
+
scheduled?: string | undefined;
|
|
10545
|
+
intent?: string | null | undefined;
|
|
10546
|
+
intentScore?: number | null | undefined;
|
|
10547
|
+
delayInSeconds?: number | null | undefined;
|
|
10548
|
+
ignoreTransform?: boolean | undefined;
|
|
10549
|
+
mediaUrls?: string[] | null | undefined;
|
|
9628
10550
|
} | undefined;
|
|
9629
10551
|
secondsDelay?: number | undefined;
|
|
9630
10552
|
scheduled?: number | undefined;
|
|
@@ -9675,8 +10597,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9675
10597
|
})[] | undefined;
|
|
9676
10598
|
removeInstructions?: string[] | undefined;
|
|
9677
10599
|
message?: string | {
|
|
9678
|
-
|
|
9679
|
-
|
|
10600
|
+
name?: string | undefined;
|
|
10601
|
+
content?: string | undefined;
|
|
10602
|
+
context?: any;
|
|
10603
|
+
scheduled?: string | undefined;
|
|
10604
|
+
intent?: string | null | undefined;
|
|
10605
|
+
intentScore?: number | null | undefined;
|
|
10606
|
+
delayInSeconds?: number | null | undefined;
|
|
10607
|
+
ignoreTransform?: boolean | undefined;
|
|
10608
|
+
mediaUrls?: string[] | null | undefined;
|
|
9680
10609
|
} | undefined;
|
|
9681
10610
|
secondsDelay?: number | undefined;
|
|
9682
10611
|
scheduled?: number | undefined;
|
|
@@ -9751,15 +10680,58 @@ declare module '@scout9/app/schemas' {
|
|
|
9751
10680
|
persist?: boolean | undefined;
|
|
9752
10681
|
}>]>, "many">]>>;
|
|
9753
10682
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9754
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
10683
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
10684
|
+
id: z.ZodOptional<z.ZodString>;
|
|
10685
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
10686
|
+
content: z.ZodOptional<z.ZodString>;
|
|
10687
|
+
time: z.ZodOptional<z.ZodString>;
|
|
10688
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10689
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10690
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
10691
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
10692
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10693
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
10694
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10695
|
+
start: z.ZodNumber;
|
|
10696
|
+
end: z.ZodNumber;
|
|
10697
|
+
type: z.ZodString;
|
|
10698
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10699
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10700
|
+
}, "strip", z.ZodTypeAny, {
|
|
10701
|
+
type: string;
|
|
10702
|
+
end: number;
|
|
10703
|
+
start: number;
|
|
10704
|
+
option?: string | null | undefined;
|
|
10705
|
+
text?: string | null | undefined;
|
|
10706
|
+
}, {
|
|
10707
|
+
type: string;
|
|
10708
|
+
end: number;
|
|
10709
|
+
start: number;
|
|
10710
|
+
option?: string | null | undefined;
|
|
10711
|
+
text?: string | null | undefined;
|
|
10712
|
+
}>, "many">>>>;
|
|
10713
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
10714
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
10715
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
10716
|
+
name?: string | undefined;
|
|
10717
|
+
content?: string | undefined;
|
|
10718
|
+
context?: any;
|
|
10719
|
+
scheduled?: string | undefined;
|
|
10720
|
+
intent?: string | null | undefined;
|
|
10721
|
+
intentScore?: number | null | undefined;
|
|
10722
|
+
delayInSeconds?: number | null | undefined;
|
|
10723
|
+
ignoreTransform?: boolean | undefined;
|
|
10724
|
+
mediaUrls?: string[] | null | undefined;
|
|
9760
10725
|
}, {
|
|
9761
|
-
|
|
9762
|
-
|
|
10726
|
+
name?: string | undefined;
|
|
10727
|
+
content?: string | undefined;
|
|
10728
|
+
context?: any;
|
|
10729
|
+
scheduled?: string | undefined;
|
|
10730
|
+
intent?: string | null | undefined;
|
|
10731
|
+
intentScore?: number | null | undefined;
|
|
10732
|
+
delayInSeconds?: number | null | undefined;
|
|
10733
|
+
ignoreTransform?: boolean | undefined;
|
|
10734
|
+
mediaUrls?: string[] | null | undefined;
|
|
9763
10735
|
}>]>>;
|
|
9764
10736
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
9765
10737
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9870,8 +10842,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9870
10842
|
})[] | undefined;
|
|
9871
10843
|
removeInstructions?: string[] | undefined;
|
|
9872
10844
|
message?: string | {
|
|
9873
|
-
|
|
9874
|
-
|
|
10845
|
+
name?: string | undefined;
|
|
10846
|
+
content?: string | undefined;
|
|
10847
|
+
context?: any;
|
|
10848
|
+
scheduled?: string | undefined;
|
|
10849
|
+
intent?: string | null | undefined;
|
|
10850
|
+
intentScore?: number | null | undefined;
|
|
10851
|
+
delayInSeconds?: number | null | undefined;
|
|
10852
|
+
ignoreTransform?: boolean | undefined;
|
|
10853
|
+
mediaUrls?: string[] | null | undefined;
|
|
9875
10854
|
} | undefined;
|
|
9876
10855
|
secondsDelay?: number | undefined;
|
|
9877
10856
|
scheduled?: number | undefined;
|
|
@@ -9922,8 +10901,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9922
10901
|
})[] | undefined;
|
|
9923
10902
|
removeInstructions?: string[] | undefined;
|
|
9924
10903
|
message?: string | {
|
|
9925
|
-
|
|
9926
|
-
|
|
10904
|
+
name?: string | undefined;
|
|
10905
|
+
content?: string | undefined;
|
|
10906
|
+
context?: any;
|
|
10907
|
+
scheduled?: string | undefined;
|
|
10908
|
+
intent?: string | null | undefined;
|
|
10909
|
+
intentScore?: number | null | undefined;
|
|
10910
|
+
delayInSeconds?: number | null | undefined;
|
|
10911
|
+
ignoreTransform?: boolean | undefined;
|
|
10912
|
+
mediaUrls?: string[] | null | undefined;
|
|
9927
10913
|
} | undefined;
|
|
9928
10914
|
secondsDelay?: number | undefined;
|
|
9929
10915
|
scheduled?: number | undefined;
|
|
@@ -9977,8 +10963,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9977
10963
|
})[] | undefined;
|
|
9978
10964
|
removeInstructions?: string[] | undefined;
|
|
9979
10965
|
message?: string | {
|
|
9980
|
-
|
|
9981
|
-
|
|
10966
|
+
name?: string | undefined;
|
|
10967
|
+
content?: string | undefined;
|
|
10968
|
+
context?: any;
|
|
10969
|
+
scheduled?: string | undefined;
|
|
10970
|
+
intent?: string | null | undefined;
|
|
10971
|
+
intentScore?: number | null | undefined;
|
|
10972
|
+
delayInSeconds?: number | null | undefined;
|
|
10973
|
+
ignoreTransform?: boolean | undefined;
|
|
10974
|
+
mediaUrls?: string[] | null | undefined;
|
|
9982
10975
|
} | undefined;
|
|
9983
10976
|
secondsDelay?: number | undefined;
|
|
9984
10977
|
scheduled?: number | undefined;
|
|
@@ -10030,8 +11023,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10030
11023
|
})[] | undefined;
|
|
10031
11024
|
removeInstructions?: string[] | undefined;
|
|
10032
11025
|
message?: string | {
|
|
10033
|
-
|
|
10034
|
-
|
|
11026
|
+
name?: string | undefined;
|
|
11027
|
+
content?: string | undefined;
|
|
11028
|
+
context?: any;
|
|
11029
|
+
scheduled?: string | undefined;
|
|
11030
|
+
intent?: string | null | undefined;
|
|
11031
|
+
intentScore?: number | null | undefined;
|
|
11032
|
+
delayInSeconds?: number | null | undefined;
|
|
11033
|
+
ignoreTransform?: boolean | undefined;
|
|
11034
|
+
mediaUrls?: string[] | null | undefined;
|
|
10035
11035
|
} | undefined;
|
|
10036
11036
|
secondsDelay?: number | undefined;
|
|
10037
11037
|
scheduled?: number | undefined;
|
|
@@ -10085,8 +11085,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10085
11085
|
})[] | undefined;
|
|
10086
11086
|
removeInstructions?: string[] | undefined;
|
|
10087
11087
|
message?: string | {
|
|
10088
|
-
|
|
10089
|
-
|
|
11088
|
+
name?: string | undefined;
|
|
11089
|
+
content?: string | undefined;
|
|
11090
|
+
context?: any;
|
|
11091
|
+
scheduled?: string | undefined;
|
|
11092
|
+
intent?: string | null | undefined;
|
|
11093
|
+
intentScore?: number | null | undefined;
|
|
11094
|
+
delayInSeconds?: number | null | undefined;
|
|
11095
|
+
ignoreTransform?: boolean | undefined;
|
|
11096
|
+
mediaUrls?: string[] | null | undefined;
|
|
10090
11097
|
} | undefined;
|
|
10091
11098
|
secondsDelay?: number | undefined;
|
|
10092
11099
|
scheduled?: number | undefined;
|
|
@@ -10138,8 +11145,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10138
11145
|
})[] | undefined;
|
|
10139
11146
|
removeInstructions?: string[] | undefined;
|
|
10140
11147
|
message?: string | {
|
|
10141
|
-
|
|
10142
|
-
|
|
11148
|
+
name?: string | undefined;
|
|
11149
|
+
content?: string | undefined;
|
|
11150
|
+
context?: any;
|
|
11151
|
+
scheduled?: string | undefined;
|
|
11152
|
+
intent?: string | null | undefined;
|
|
11153
|
+
intentScore?: number | null | undefined;
|
|
11154
|
+
delayInSeconds?: number | null | undefined;
|
|
11155
|
+
ignoreTransform?: boolean | undefined;
|
|
11156
|
+
mediaUrls?: string[] | null | undefined;
|
|
10143
11157
|
} | undefined;
|
|
10144
11158
|
secondsDelay?: number | undefined;
|
|
10145
11159
|
scheduled?: number | undefined;
|
|
@@ -10174,15 +11188,58 @@ declare module '@scout9/app/schemas' {
|
|
|
10174
11188
|
} | undefined;
|
|
10175
11189
|
};
|
|
10176
11190
|
}>, z.ZodArray<z.ZodObject<{
|
|
10177
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
11191
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
11192
|
+
id: z.ZodOptional<z.ZodString>;
|
|
11193
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
11194
|
+
content: z.ZodOptional<z.ZodString>;
|
|
11195
|
+
time: z.ZodOptional<z.ZodString>;
|
|
11196
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11197
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11198
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
11199
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
11200
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
11201
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
11202
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11203
|
+
start: z.ZodNumber;
|
|
11204
|
+
end: z.ZodNumber;
|
|
11205
|
+
type: z.ZodString;
|
|
11206
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11207
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11208
|
+
}, "strip", z.ZodTypeAny, {
|
|
11209
|
+
type: string;
|
|
11210
|
+
end: number;
|
|
11211
|
+
start: number;
|
|
11212
|
+
option?: string | null | undefined;
|
|
11213
|
+
text?: string | null | undefined;
|
|
11214
|
+
}, {
|
|
11215
|
+
type: string;
|
|
11216
|
+
end: number;
|
|
11217
|
+
start: number;
|
|
11218
|
+
option?: string | null | undefined;
|
|
11219
|
+
text?: string | null | undefined;
|
|
11220
|
+
}>, "many">>>>;
|
|
11221
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
11222
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
11223
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
11224
|
+
name?: string | undefined;
|
|
11225
|
+
content?: string | undefined;
|
|
11226
|
+
context?: any;
|
|
11227
|
+
scheduled?: string | undefined;
|
|
11228
|
+
intent?: string | null | undefined;
|
|
11229
|
+
intentScore?: number | null | undefined;
|
|
11230
|
+
delayInSeconds?: number | null | undefined;
|
|
11231
|
+
ignoreTransform?: boolean | undefined;
|
|
11232
|
+
mediaUrls?: string[] | null | undefined;
|
|
10183
11233
|
}, {
|
|
10184
|
-
|
|
10185
|
-
|
|
11234
|
+
name?: string | undefined;
|
|
11235
|
+
content?: string | undefined;
|
|
11236
|
+
context?: any;
|
|
11237
|
+
scheduled?: string | undefined;
|
|
11238
|
+
intent?: string | null | undefined;
|
|
11239
|
+
intentScore?: number | null | undefined;
|
|
11240
|
+
delayInSeconds?: number | null | undefined;
|
|
11241
|
+
ignoreTransform?: boolean | undefined;
|
|
11242
|
+
mediaUrls?: string[] | null | undefined;
|
|
10186
11243
|
}>]>>;
|
|
10187
11244
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
10188
11245
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -10319,8 +11376,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10319
11376
|
}, "strip", z.ZodTypeAny, {
|
|
10320
11377
|
keywords: string[];
|
|
10321
11378
|
message?: string | {
|
|
10322
|
-
|
|
10323
|
-
|
|
11379
|
+
name?: string | undefined;
|
|
11380
|
+
content?: string | undefined;
|
|
11381
|
+
context?: any;
|
|
11382
|
+
scheduled?: string | undefined;
|
|
11383
|
+
intent?: string | null | undefined;
|
|
11384
|
+
intentScore?: number | null | undefined;
|
|
11385
|
+
delayInSeconds?: number | null | undefined;
|
|
11386
|
+
ignoreTransform?: boolean | undefined;
|
|
11387
|
+
mediaUrls?: string[] | null | undefined;
|
|
10324
11388
|
} | undefined;
|
|
10325
11389
|
forward?: string | boolean | {
|
|
10326
11390
|
to?: string | undefined;
|
|
@@ -10372,8 +11436,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10372
11436
|
}, {
|
|
10373
11437
|
keywords: string[];
|
|
10374
11438
|
message?: string | {
|
|
10375
|
-
|
|
10376
|
-
|
|
11439
|
+
name?: string | undefined;
|
|
11440
|
+
content?: string | undefined;
|
|
11441
|
+
context?: any;
|
|
11442
|
+
scheduled?: string | undefined;
|
|
11443
|
+
intent?: string | null | undefined;
|
|
11444
|
+
intentScore?: number | null | undefined;
|
|
11445
|
+
delayInSeconds?: number | null | undefined;
|
|
11446
|
+
ignoreTransform?: boolean | undefined;
|
|
11447
|
+
mediaUrls?: string[] | null | undefined;
|
|
10377
11448
|
} | undefined;
|
|
10378
11449
|
forward?: string | boolean | {
|
|
10379
11450
|
to?: string | undefined;
|
|
@@ -10423,10 +11494,45 @@ declare module '@scout9/app/schemas' {
|
|
|
10423
11494
|
overrideLock?: boolean | undefined;
|
|
10424
11495
|
} | undefined;
|
|
10425
11496
|
}>, "many">]>>;
|
|
11497
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
11498
|
+
entityType: z.ZodString;
|
|
11499
|
+
entityRecordId: z.ZodString;
|
|
11500
|
+
method: z.ZodLiteral<"delete">;
|
|
11501
|
+
}, "strip", z.ZodTypeAny, {
|
|
11502
|
+
method: "delete";
|
|
11503
|
+
entityType: string;
|
|
11504
|
+
entityRecordId: string;
|
|
11505
|
+
}, {
|
|
11506
|
+
method: "delete";
|
|
11507
|
+
entityType: string;
|
|
11508
|
+
entityRecordId: string;
|
|
11509
|
+
}>, z.ZodObject<{
|
|
11510
|
+
entityType: z.ZodString;
|
|
11511
|
+
entityRecordId: z.ZodString;
|
|
11512
|
+
method: z.ZodLiteral<"mutate">;
|
|
11513
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
11514
|
+
}, "strip", z.ZodTypeAny, {
|
|
11515
|
+
method: "mutate";
|
|
11516
|
+
entityType: string;
|
|
11517
|
+
entityRecordId: string;
|
|
11518
|
+
fields: Record<string, string | number | boolean | null>;
|
|
11519
|
+
}, {
|
|
11520
|
+
method: "mutate";
|
|
11521
|
+
entityType: string;
|
|
11522
|
+
entityRecordId: string;
|
|
11523
|
+
fields: Record<string, string | number | boolean | null>;
|
|
11524
|
+
}>]>, "many">>;
|
|
10426
11525
|
}, "strip", z.ZodTypeAny, {
|
|
10427
11526
|
message?: string | {
|
|
10428
|
-
|
|
10429
|
-
|
|
11527
|
+
name?: string | undefined;
|
|
11528
|
+
content?: string | undefined;
|
|
11529
|
+
context?: any;
|
|
11530
|
+
scheduled?: string | undefined;
|
|
11531
|
+
intent?: string | null | undefined;
|
|
11532
|
+
intentScore?: number | null | undefined;
|
|
11533
|
+
delayInSeconds?: number | null | undefined;
|
|
11534
|
+
ignoreTransform?: boolean | undefined;
|
|
11535
|
+
mediaUrls?: string[] | null | undefined;
|
|
10430
11536
|
} | undefined;
|
|
10431
11537
|
forward?: string | boolean | {
|
|
10432
11538
|
to?: string | undefined;
|
|
@@ -10495,8 +11601,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10495
11601
|
})[] | undefined;
|
|
10496
11602
|
removeInstructions?: string[] | undefined;
|
|
10497
11603
|
message?: string | {
|
|
10498
|
-
|
|
10499
|
-
|
|
11604
|
+
name?: string | undefined;
|
|
11605
|
+
content?: string | undefined;
|
|
11606
|
+
context?: any;
|
|
11607
|
+
scheduled?: string | undefined;
|
|
11608
|
+
intent?: string | null | undefined;
|
|
11609
|
+
intentScore?: number | null | undefined;
|
|
11610
|
+
delayInSeconds?: number | null | undefined;
|
|
11611
|
+
ignoreTransform?: boolean | undefined;
|
|
11612
|
+
mediaUrls?: string[] | null | undefined;
|
|
10500
11613
|
} | undefined;
|
|
10501
11614
|
secondsDelay?: number | undefined;
|
|
10502
11615
|
scheduled?: number | undefined;
|
|
@@ -10548,8 +11661,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10548
11661
|
})[] | undefined;
|
|
10549
11662
|
removeInstructions?: string[] | undefined;
|
|
10550
11663
|
message?: string | {
|
|
10551
|
-
|
|
10552
|
-
|
|
11664
|
+
name?: string | undefined;
|
|
11665
|
+
content?: string | undefined;
|
|
11666
|
+
context?: any;
|
|
11667
|
+
scheduled?: string | undefined;
|
|
11668
|
+
intent?: string | null | undefined;
|
|
11669
|
+
intentScore?: number | null | undefined;
|
|
11670
|
+
delayInSeconds?: number | null | undefined;
|
|
11671
|
+
ignoreTransform?: boolean | undefined;
|
|
11672
|
+
mediaUrls?: string[] | null | undefined;
|
|
10553
11673
|
} | undefined;
|
|
10554
11674
|
secondsDelay?: number | undefined;
|
|
10555
11675
|
scheduled?: number | undefined;
|
|
@@ -10586,8 +11706,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10586
11706
|
} | {
|
|
10587
11707
|
keywords: string[];
|
|
10588
11708
|
message?: string | {
|
|
10589
|
-
|
|
10590
|
-
|
|
11709
|
+
name?: string | undefined;
|
|
11710
|
+
content?: string | undefined;
|
|
11711
|
+
context?: any;
|
|
11712
|
+
scheduled?: string | undefined;
|
|
11713
|
+
intent?: string | null | undefined;
|
|
11714
|
+
intentScore?: number | null | undefined;
|
|
11715
|
+
delayInSeconds?: number | null | undefined;
|
|
11716
|
+
ignoreTransform?: boolean | undefined;
|
|
11717
|
+
mediaUrls?: string[] | null | undefined;
|
|
10591
11718
|
} | undefined;
|
|
10592
11719
|
forward?: string | boolean | {
|
|
10593
11720
|
to?: string | undefined;
|
|
@@ -10637,10 +11764,27 @@ declare module '@scout9/app/schemas' {
|
|
|
10637
11764
|
overrideLock?: boolean | undefined;
|
|
10638
11765
|
} | undefined;
|
|
10639
11766
|
}[] | undefined;
|
|
11767
|
+
entityContextUpsert?: ({
|
|
11768
|
+
method: "delete";
|
|
11769
|
+
entityType: string;
|
|
11770
|
+
entityRecordId: string;
|
|
11771
|
+
} | {
|
|
11772
|
+
method: "mutate";
|
|
11773
|
+
entityType: string;
|
|
11774
|
+
entityRecordId: string;
|
|
11775
|
+
fields: Record<string, string | number | boolean | null>;
|
|
11776
|
+
})[] | undefined;
|
|
10640
11777
|
}, {
|
|
10641
11778
|
message?: string | {
|
|
10642
|
-
|
|
10643
|
-
|
|
11779
|
+
name?: string | undefined;
|
|
11780
|
+
content?: string | undefined;
|
|
11781
|
+
context?: any;
|
|
11782
|
+
scheduled?: string | undefined;
|
|
11783
|
+
intent?: string | null | undefined;
|
|
11784
|
+
intentScore?: number | null | undefined;
|
|
11785
|
+
delayInSeconds?: number | null | undefined;
|
|
11786
|
+
ignoreTransform?: boolean | undefined;
|
|
11787
|
+
mediaUrls?: string[] | null | undefined;
|
|
10644
11788
|
} | undefined;
|
|
10645
11789
|
forward?: string | boolean | {
|
|
10646
11790
|
to?: string | undefined;
|
|
@@ -10709,8 +11853,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10709
11853
|
})[] | undefined;
|
|
10710
11854
|
removeInstructions?: string[] | undefined;
|
|
10711
11855
|
message?: string | {
|
|
10712
|
-
|
|
10713
|
-
|
|
11856
|
+
name?: string | undefined;
|
|
11857
|
+
content?: string | undefined;
|
|
11858
|
+
context?: any;
|
|
11859
|
+
scheduled?: string | undefined;
|
|
11860
|
+
intent?: string | null | undefined;
|
|
11861
|
+
intentScore?: number | null | undefined;
|
|
11862
|
+
delayInSeconds?: number | null | undefined;
|
|
11863
|
+
ignoreTransform?: boolean | undefined;
|
|
11864
|
+
mediaUrls?: string[] | null | undefined;
|
|
10714
11865
|
} | undefined;
|
|
10715
11866
|
secondsDelay?: number | undefined;
|
|
10716
11867
|
scheduled?: number | undefined;
|
|
@@ -10762,8 +11913,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10762
11913
|
})[] | undefined;
|
|
10763
11914
|
removeInstructions?: string[] | undefined;
|
|
10764
11915
|
message?: string | {
|
|
10765
|
-
|
|
10766
|
-
|
|
11916
|
+
name?: string | undefined;
|
|
11917
|
+
content?: string | undefined;
|
|
11918
|
+
context?: any;
|
|
11919
|
+
scheduled?: string | undefined;
|
|
11920
|
+
intent?: string | null | undefined;
|
|
11921
|
+
intentScore?: number | null | undefined;
|
|
11922
|
+
delayInSeconds?: number | null | undefined;
|
|
11923
|
+
ignoreTransform?: boolean | undefined;
|
|
11924
|
+
mediaUrls?: string[] | null | undefined;
|
|
10767
11925
|
} | undefined;
|
|
10768
11926
|
secondsDelay?: number | undefined;
|
|
10769
11927
|
scheduled?: number | undefined;
|
|
@@ -10800,8 +11958,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10800
11958
|
} | {
|
|
10801
11959
|
keywords: string[];
|
|
10802
11960
|
message?: string | {
|
|
10803
|
-
|
|
10804
|
-
|
|
11961
|
+
name?: string | undefined;
|
|
11962
|
+
content?: string | undefined;
|
|
11963
|
+
context?: any;
|
|
11964
|
+
scheduled?: string | undefined;
|
|
11965
|
+
intent?: string | null | undefined;
|
|
11966
|
+
intentScore?: number | null | undefined;
|
|
11967
|
+
delayInSeconds?: number | null | undefined;
|
|
11968
|
+
ignoreTransform?: boolean | undefined;
|
|
11969
|
+
mediaUrls?: string[] | null | undefined;
|
|
10805
11970
|
} | undefined;
|
|
10806
11971
|
forward?: string | boolean | {
|
|
10807
11972
|
to?: string | undefined;
|
|
@@ -10851,6 +12016,16 @@ declare module '@scout9/app/schemas' {
|
|
|
10851
12016
|
overrideLock?: boolean | undefined;
|
|
10852
12017
|
} | undefined;
|
|
10853
12018
|
}[] | undefined;
|
|
12019
|
+
entityContextUpsert?: ({
|
|
12020
|
+
method: "delete";
|
|
12021
|
+
entityType: string;
|
|
12022
|
+
entityRecordId: string;
|
|
12023
|
+
} | {
|
|
12024
|
+
method: "mutate";
|
|
12025
|
+
entityType: string;
|
|
12026
|
+
entityRecordId: string;
|
|
12027
|
+
fields: Record<string, string | number | boolean | null>;
|
|
12028
|
+
})[] | undefined;
|
|
10854
12029
|
}>, "many">]>;
|
|
10855
12030
|
export const WorkflowFunctionSchema: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
10856
12031
|
messages: z.ZodArray<z.ZodObject<{
|
|
@@ -11610,15 +12785,58 @@ declare module '@scout9/app/schemas' {
|
|
|
11610
12785
|
context?: any;
|
|
11611
12786
|
note?: string | undefined;
|
|
11612
12787
|
}>], z.ZodUnknown>, z.ZodUnion<[z.ZodPromise<z.ZodUnion<[z.ZodObject<{
|
|
11613
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
12788
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
12789
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12790
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
12791
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12792
|
+
time: z.ZodOptional<z.ZodString>;
|
|
12793
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12794
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12795
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
12796
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
12797
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
12798
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
12799
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12800
|
+
start: z.ZodNumber;
|
|
12801
|
+
end: z.ZodNumber;
|
|
12802
|
+
type: z.ZodString;
|
|
12803
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12804
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12805
|
+
}, "strip", z.ZodTypeAny, {
|
|
12806
|
+
type: string;
|
|
12807
|
+
end: number;
|
|
12808
|
+
start: number;
|
|
12809
|
+
option?: string | null | undefined;
|
|
12810
|
+
text?: string | null | undefined;
|
|
12811
|
+
}, {
|
|
12812
|
+
type: string;
|
|
12813
|
+
end: number;
|
|
12814
|
+
start: number;
|
|
12815
|
+
option?: string | null | undefined;
|
|
12816
|
+
text?: string | null | undefined;
|
|
12817
|
+
}>, "many">>>>;
|
|
12818
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
12819
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
12820
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
12821
|
+
name?: string | undefined;
|
|
12822
|
+
content?: string | undefined;
|
|
12823
|
+
context?: any;
|
|
12824
|
+
scheduled?: string | undefined;
|
|
12825
|
+
intent?: string | null | undefined;
|
|
12826
|
+
intentScore?: number | null | undefined;
|
|
12827
|
+
delayInSeconds?: number | null | undefined;
|
|
12828
|
+
ignoreTransform?: boolean | undefined;
|
|
12829
|
+
mediaUrls?: string[] | null | undefined;
|
|
11619
12830
|
}, {
|
|
11620
|
-
|
|
11621
|
-
|
|
12831
|
+
name?: string | undefined;
|
|
12832
|
+
content?: string | undefined;
|
|
12833
|
+
context?: any;
|
|
12834
|
+
scheduled?: string | undefined;
|
|
12835
|
+
intent?: string | null | undefined;
|
|
12836
|
+
intentScore?: number | null | undefined;
|
|
12837
|
+
delayInSeconds?: number | null | undefined;
|
|
12838
|
+
ignoreTransform?: boolean | undefined;
|
|
12839
|
+
mediaUrls?: string[] | null | undefined;
|
|
11622
12840
|
}>]>>;
|
|
11623
12841
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
11624
12842
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -11794,15 +13012,58 @@ declare module '@scout9/app/schemas' {
|
|
|
11794
13012
|
persist?: boolean | undefined;
|
|
11795
13013
|
}>]>, "many">]>>;
|
|
11796
13014
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11797
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
13015
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
13016
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13017
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
13018
|
+
content: z.ZodOptional<z.ZodString>;
|
|
13019
|
+
time: z.ZodOptional<z.ZodString>;
|
|
13020
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13021
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13022
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
13023
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
13024
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13025
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13026
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13027
|
+
start: z.ZodNumber;
|
|
13028
|
+
end: z.ZodNumber;
|
|
13029
|
+
type: z.ZodString;
|
|
13030
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13031
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13032
|
+
}, "strip", z.ZodTypeAny, {
|
|
13033
|
+
type: string;
|
|
13034
|
+
end: number;
|
|
13035
|
+
start: number;
|
|
13036
|
+
option?: string | null | undefined;
|
|
13037
|
+
text?: string | null | undefined;
|
|
13038
|
+
}, {
|
|
13039
|
+
type: string;
|
|
13040
|
+
end: number;
|
|
13041
|
+
start: number;
|
|
13042
|
+
option?: string | null | undefined;
|
|
13043
|
+
text?: string | null | undefined;
|
|
13044
|
+
}>, "many">>>>;
|
|
13045
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
13046
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
13047
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
13048
|
+
name?: string | undefined;
|
|
13049
|
+
content?: string | undefined;
|
|
13050
|
+
context?: any;
|
|
13051
|
+
scheduled?: string | undefined;
|
|
13052
|
+
intent?: string | null | undefined;
|
|
13053
|
+
intentScore?: number | null | undefined;
|
|
13054
|
+
delayInSeconds?: number | null | undefined;
|
|
13055
|
+
ignoreTransform?: boolean | undefined;
|
|
13056
|
+
mediaUrls?: string[] | null | undefined;
|
|
11803
13057
|
}, {
|
|
11804
|
-
|
|
11805
|
-
|
|
13058
|
+
name?: string | undefined;
|
|
13059
|
+
content?: string | undefined;
|
|
13060
|
+
context?: any;
|
|
13061
|
+
scheduled?: string | undefined;
|
|
13062
|
+
intent?: string | null | undefined;
|
|
13063
|
+
intentScore?: number | null | undefined;
|
|
13064
|
+
delayInSeconds?: number | null | undefined;
|
|
13065
|
+
ignoreTransform?: boolean | undefined;
|
|
13066
|
+
mediaUrls?: string[] | null | undefined;
|
|
11806
13067
|
}>]>>;
|
|
11807
13068
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
11808
13069
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11913,8 +13174,15 @@ declare module '@scout9/app/schemas' {
|
|
|
11913
13174
|
})[] | undefined;
|
|
11914
13175
|
removeInstructions?: string[] | undefined;
|
|
11915
13176
|
message?: string | {
|
|
11916
|
-
|
|
11917
|
-
|
|
13177
|
+
name?: string | undefined;
|
|
13178
|
+
content?: string | undefined;
|
|
13179
|
+
context?: any;
|
|
13180
|
+
scheduled?: string | undefined;
|
|
13181
|
+
intent?: string | null | undefined;
|
|
13182
|
+
intentScore?: number | null | undefined;
|
|
13183
|
+
delayInSeconds?: number | null | undefined;
|
|
13184
|
+
ignoreTransform?: boolean | undefined;
|
|
13185
|
+
mediaUrls?: string[] | null | undefined;
|
|
11918
13186
|
} | undefined;
|
|
11919
13187
|
secondsDelay?: number | undefined;
|
|
11920
13188
|
scheduled?: number | undefined;
|
|
@@ -11965,8 +13233,15 @@ declare module '@scout9/app/schemas' {
|
|
|
11965
13233
|
})[] | undefined;
|
|
11966
13234
|
removeInstructions?: string[] | undefined;
|
|
11967
13235
|
message?: string | {
|
|
11968
|
-
|
|
11969
|
-
|
|
13236
|
+
name?: string | undefined;
|
|
13237
|
+
content?: string | undefined;
|
|
13238
|
+
context?: any;
|
|
13239
|
+
scheduled?: string | undefined;
|
|
13240
|
+
intent?: string | null | undefined;
|
|
13241
|
+
intentScore?: number | null | undefined;
|
|
13242
|
+
delayInSeconds?: number | null | undefined;
|
|
13243
|
+
ignoreTransform?: boolean | undefined;
|
|
13244
|
+
mediaUrls?: string[] | null | undefined;
|
|
11970
13245
|
} | undefined;
|
|
11971
13246
|
secondsDelay?: number | undefined;
|
|
11972
13247
|
scheduled?: number | undefined;
|
|
@@ -12041,15 +13316,58 @@ declare module '@scout9/app/schemas' {
|
|
|
12041
13316
|
persist?: boolean | undefined;
|
|
12042
13317
|
}>]>, "many">]>>;
|
|
12043
13318
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12044
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
13319
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
13320
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13321
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
13322
|
+
content: z.ZodOptional<z.ZodString>;
|
|
13323
|
+
time: z.ZodOptional<z.ZodString>;
|
|
13324
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13325
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13326
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
13327
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
13328
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13329
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13330
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13331
|
+
start: z.ZodNumber;
|
|
13332
|
+
end: z.ZodNumber;
|
|
13333
|
+
type: z.ZodString;
|
|
13334
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13335
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13336
|
+
}, "strip", z.ZodTypeAny, {
|
|
13337
|
+
type: string;
|
|
13338
|
+
end: number;
|
|
13339
|
+
start: number;
|
|
13340
|
+
option?: string | null | undefined;
|
|
13341
|
+
text?: string | null | undefined;
|
|
13342
|
+
}, {
|
|
13343
|
+
type: string;
|
|
13344
|
+
end: number;
|
|
13345
|
+
start: number;
|
|
13346
|
+
option?: string | null | undefined;
|
|
13347
|
+
text?: string | null | undefined;
|
|
13348
|
+
}>, "many">>>>;
|
|
13349
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
13350
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
13351
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
13352
|
+
name?: string | undefined;
|
|
13353
|
+
content?: string | undefined;
|
|
13354
|
+
context?: any;
|
|
13355
|
+
scheduled?: string | undefined;
|
|
13356
|
+
intent?: string | null | undefined;
|
|
13357
|
+
intentScore?: number | null | undefined;
|
|
13358
|
+
delayInSeconds?: number | null | undefined;
|
|
13359
|
+
ignoreTransform?: boolean | undefined;
|
|
13360
|
+
mediaUrls?: string[] | null | undefined;
|
|
12050
13361
|
}, {
|
|
12051
|
-
|
|
12052
|
-
|
|
13362
|
+
name?: string | undefined;
|
|
13363
|
+
content?: string | undefined;
|
|
13364
|
+
context?: any;
|
|
13365
|
+
scheduled?: string | undefined;
|
|
13366
|
+
intent?: string | null | undefined;
|
|
13367
|
+
intentScore?: number | null | undefined;
|
|
13368
|
+
delayInSeconds?: number | null | undefined;
|
|
13369
|
+
ignoreTransform?: boolean | undefined;
|
|
13370
|
+
mediaUrls?: string[] | null | undefined;
|
|
12053
13371
|
}>]>>;
|
|
12054
13372
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
12055
13373
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12160,8 +13478,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12160
13478
|
})[] | undefined;
|
|
12161
13479
|
removeInstructions?: string[] | undefined;
|
|
12162
13480
|
message?: string | {
|
|
12163
|
-
|
|
12164
|
-
|
|
13481
|
+
name?: string | undefined;
|
|
13482
|
+
content?: string | undefined;
|
|
13483
|
+
context?: any;
|
|
13484
|
+
scheduled?: string | undefined;
|
|
13485
|
+
intent?: string | null | undefined;
|
|
13486
|
+
intentScore?: number | null | undefined;
|
|
13487
|
+
delayInSeconds?: number | null | undefined;
|
|
13488
|
+
ignoreTransform?: boolean | undefined;
|
|
13489
|
+
mediaUrls?: string[] | null | undefined;
|
|
12165
13490
|
} | undefined;
|
|
12166
13491
|
secondsDelay?: number | undefined;
|
|
12167
13492
|
scheduled?: number | undefined;
|
|
@@ -12212,8 +13537,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12212
13537
|
})[] | undefined;
|
|
12213
13538
|
removeInstructions?: string[] | undefined;
|
|
12214
13539
|
message?: string | {
|
|
12215
|
-
|
|
12216
|
-
|
|
13540
|
+
name?: string | undefined;
|
|
13541
|
+
content?: string | undefined;
|
|
13542
|
+
context?: any;
|
|
13543
|
+
scheduled?: string | undefined;
|
|
13544
|
+
intent?: string | null | undefined;
|
|
13545
|
+
intentScore?: number | null | undefined;
|
|
13546
|
+
delayInSeconds?: number | null | undefined;
|
|
13547
|
+
ignoreTransform?: boolean | undefined;
|
|
13548
|
+
mediaUrls?: string[] | null | undefined;
|
|
12217
13549
|
} | undefined;
|
|
12218
13550
|
secondsDelay?: number | undefined;
|
|
12219
13551
|
scheduled?: number | undefined;
|
|
@@ -12267,8 +13599,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12267
13599
|
})[] | undefined;
|
|
12268
13600
|
removeInstructions?: string[] | undefined;
|
|
12269
13601
|
message?: string | {
|
|
12270
|
-
|
|
12271
|
-
|
|
13602
|
+
name?: string | undefined;
|
|
13603
|
+
content?: string | undefined;
|
|
13604
|
+
context?: any;
|
|
13605
|
+
scheduled?: string | undefined;
|
|
13606
|
+
intent?: string | null | undefined;
|
|
13607
|
+
intentScore?: number | null | undefined;
|
|
13608
|
+
delayInSeconds?: number | null | undefined;
|
|
13609
|
+
ignoreTransform?: boolean | undefined;
|
|
13610
|
+
mediaUrls?: string[] | null | undefined;
|
|
12272
13611
|
} | undefined;
|
|
12273
13612
|
secondsDelay?: number | undefined;
|
|
12274
13613
|
scheduled?: number | undefined;
|
|
@@ -12320,8 +13659,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12320
13659
|
})[] | undefined;
|
|
12321
13660
|
removeInstructions?: string[] | undefined;
|
|
12322
13661
|
message?: string | {
|
|
12323
|
-
|
|
12324
|
-
|
|
13662
|
+
name?: string | undefined;
|
|
13663
|
+
content?: string | undefined;
|
|
13664
|
+
context?: any;
|
|
13665
|
+
scheduled?: string | undefined;
|
|
13666
|
+
intent?: string | null | undefined;
|
|
13667
|
+
intentScore?: number | null | undefined;
|
|
13668
|
+
delayInSeconds?: number | null | undefined;
|
|
13669
|
+
ignoreTransform?: boolean | undefined;
|
|
13670
|
+
mediaUrls?: string[] | null | undefined;
|
|
12325
13671
|
} | undefined;
|
|
12326
13672
|
secondsDelay?: number | undefined;
|
|
12327
13673
|
scheduled?: number | undefined;
|
|
@@ -12375,8 +13721,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12375
13721
|
})[] | undefined;
|
|
12376
13722
|
removeInstructions?: string[] | undefined;
|
|
12377
13723
|
message?: string | {
|
|
12378
|
-
|
|
12379
|
-
|
|
13724
|
+
name?: string | undefined;
|
|
13725
|
+
content?: string | undefined;
|
|
13726
|
+
context?: any;
|
|
13727
|
+
scheduled?: string | undefined;
|
|
13728
|
+
intent?: string | null | undefined;
|
|
13729
|
+
intentScore?: number | null | undefined;
|
|
13730
|
+
delayInSeconds?: number | null | undefined;
|
|
13731
|
+
ignoreTransform?: boolean | undefined;
|
|
13732
|
+
mediaUrls?: string[] | null | undefined;
|
|
12380
13733
|
} | undefined;
|
|
12381
13734
|
secondsDelay?: number | undefined;
|
|
12382
13735
|
scheduled?: number | undefined;
|
|
@@ -12428,8 +13781,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12428
13781
|
})[] | undefined;
|
|
12429
13782
|
removeInstructions?: string[] | undefined;
|
|
12430
13783
|
message?: string | {
|
|
12431
|
-
|
|
12432
|
-
|
|
13784
|
+
name?: string | undefined;
|
|
13785
|
+
content?: string | undefined;
|
|
13786
|
+
context?: any;
|
|
13787
|
+
scheduled?: string | undefined;
|
|
13788
|
+
intent?: string | null | undefined;
|
|
13789
|
+
intentScore?: number | null | undefined;
|
|
13790
|
+
delayInSeconds?: number | null | undefined;
|
|
13791
|
+
ignoreTransform?: boolean | undefined;
|
|
13792
|
+
mediaUrls?: string[] | null | undefined;
|
|
12433
13793
|
} | undefined;
|
|
12434
13794
|
secondsDelay?: number | undefined;
|
|
12435
13795
|
scheduled?: number | undefined;
|
|
@@ -12464,15 +13824,58 @@ declare module '@scout9/app/schemas' {
|
|
|
12464
13824
|
} | undefined;
|
|
12465
13825
|
};
|
|
12466
13826
|
}>, z.ZodArray<z.ZodObject<{
|
|
12467
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
13827
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
13828
|
+
id: z.ZodOptional<z.ZodString>;
|
|
13829
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
13830
|
+
content: z.ZodOptional<z.ZodString>;
|
|
13831
|
+
time: z.ZodOptional<z.ZodString>;
|
|
13832
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13833
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13834
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
13835
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
13836
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13837
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
13838
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13839
|
+
start: z.ZodNumber;
|
|
13840
|
+
end: z.ZodNumber;
|
|
13841
|
+
type: z.ZodString;
|
|
13842
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13843
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13844
|
+
}, "strip", z.ZodTypeAny, {
|
|
13845
|
+
type: string;
|
|
13846
|
+
end: number;
|
|
13847
|
+
start: number;
|
|
13848
|
+
option?: string | null | undefined;
|
|
13849
|
+
text?: string | null | undefined;
|
|
13850
|
+
}, {
|
|
13851
|
+
type: string;
|
|
13852
|
+
end: number;
|
|
13853
|
+
start: number;
|
|
13854
|
+
option?: string | null | undefined;
|
|
13855
|
+
text?: string | null | undefined;
|
|
13856
|
+
}>, "many">>>>;
|
|
13857
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
13858
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
13859
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
13860
|
+
name?: string | undefined;
|
|
13861
|
+
content?: string | undefined;
|
|
13862
|
+
context?: any;
|
|
13863
|
+
scheduled?: string | undefined;
|
|
13864
|
+
intent?: string | null | undefined;
|
|
13865
|
+
intentScore?: number | null | undefined;
|
|
13866
|
+
delayInSeconds?: number | null | undefined;
|
|
13867
|
+
ignoreTransform?: boolean | undefined;
|
|
13868
|
+
mediaUrls?: string[] | null | undefined;
|
|
12473
13869
|
}, {
|
|
12474
|
-
|
|
12475
|
-
|
|
13870
|
+
name?: string | undefined;
|
|
13871
|
+
content?: string | undefined;
|
|
13872
|
+
context?: any;
|
|
13873
|
+
scheduled?: string | undefined;
|
|
13874
|
+
intent?: string | null | undefined;
|
|
13875
|
+
intentScore?: number | null | undefined;
|
|
13876
|
+
delayInSeconds?: number | null | undefined;
|
|
13877
|
+
ignoreTransform?: boolean | undefined;
|
|
13878
|
+
mediaUrls?: string[] | null | undefined;
|
|
12476
13879
|
}>]>>;
|
|
12477
13880
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
12478
13881
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -12609,8 +14012,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12609
14012
|
}, "strip", z.ZodTypeAny, {
|
|
12610
14013
|
keywords: string[];
|
|
12611
14014
|
message?: string | {
|
|
12612
|
-
|
|
12613
|
-
|
|
14015
|
+
name?: string | undefined;
|
|
14016
|
+
content?: string | undefined;
|
|
14017
|
+
context?: any;
|
|
14018
|
+
scheduled?: string | undefined;
|
|
14019
|
+
intent?: string | null | undefined;
|
|
14020
|
+
intentScore?: number | null | undefined;
|
|
14021
|
+
delayInSeconds?: number | null | undefined;
|
|
14022
|
+
ignoreTransform?: boolean | undefined;
|
|
14023
|
+
mediaUrls?: string[] | null | undefined;
|
|
12614
14024
|
} | undefined;
|
|
12615
14025
|
forward?: string | boolean | {
|
|
12616
14026
|
to?: string | undefined;
|
|
@@ -12662,8 +14072,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12662
14072
|
}, {
|
|
12663
14073
|
keywords: string[];
|
|
12664
14074
|
message?: string | {
|
|
12665
|
-
|
|
12666
|
-
|
|
14075
|
+
name?: string | undefined;
|
|
14076
|
+
content?: string | undefined;
|
|
14077
|
+
context?: any;
|
|
14078
|
+
scheduled?: string | undefined;
|
|
14079
|
+
intent?: string | null | undefined;
|
|
14080
|
+
intentScore?: number | null | undefined;
|
|
14081
|
+
delayInSeconds?: number | null | undefined;
|
|
14082
|
+
ignoreTransform?: boolean | undefined;
|
|
14083
|
+
mediaUrls?: string[] | null | undefined;
|
|
12667
14084
|
} | undefined;
|
|
12668
14085
|
forward?: string | boolean | {
|
|
12669
14086
|
to?: string | undefined;
|
|
@@ -12713,10 +14130,45 @@ declare module '@scout9/app/schemas' {
|
|
|
12713
14130
|
overrideLock?: boolean | undefined;
|
|
12714
14131
|
} | undefined;
|
|
12715
14132
|
}>, "many">]>>;
|
|
14133
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
14134
|
+
entityType: z.ZodString;
|
|
14135
|
+
entityRecordId: z.ZodString;
|
|
14136
|
+
method: z.ZodLiteral<"delete">;
|
|
14137
|
+
}, "strip", z.ZodTypeAny, {
|
|
14138
|
+
method: "delete";
|
|
14139
|
+
entityType: string;
|
|
14140
|
+
entityRecordId: string;
|
|
14141
|
+
}, {
|
|
14142
|
+
method: "delete";
|
|
14143
|
+
entityType: string;
|
|
14144
|
+
entityRecordId: string;
|
|
14145
|
+
}>, z.ZodObject<{
|
|
14146
|
+
entityType: z.ZodString;
|
|
14147
|
+
entityRecordId: z.ZodString;
|
|
14148
|
+
method: z.ZodLiteral<"mutate">;
|
|
14149
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
14150
|
+
}, "strip", z.ZodTypeAny, {
|
|
14151
|
+
method: "mutate";
|
|
14152
|
+
entityType: string;
|
|
14153
|
+
entityRecordId: string;
|
|
14154
|
+
fields: Record<string, string | number | boolean | null>;
|
|
14155
|
+
}, {
|
|
14156
|
+
method: "mutate";
|
|
14157
|
+
entityType: string;
|
|
14158
|
+
entityRecordId: string;
|
|
14159
|
+
fields: Record<string, string | number | boolean | null>;
|
|
14160
|
+
}>]>, "many">>;
|
|
12716
14161
|
}, "strip", z.ZodTypeAny, {
|
|
12717
14162
|
message?: string | {
|
|
12718
|
-
|
|
12719
|
-
|
|
14163
|
+
name?: string | undefined;
|
|
14164
|
+
content?: string | undefined;
|
|
14165
|
+
context?: any;
|
|
14166
|
+
scheduled?: string | undefined;
|
|
14167
|
+
intent?: string | null | undefined;
|
|
14168
|
+
intentScore?: number | null | undefined;
|
|
14169
|
+
delayInSeconds?: number | null | undefined;
|
|
14170
|
+
ignoreTransform?: boolean | undefined;
|
|
14171
|
+
mediaUrls?: string[] | null | undefined;
|
|
12720
14172
|
} | undefined;
|
|
12721
14173
|
forward?: string | boolean | {
|
|
12722
14174
|
to?: string | undefined;
|
|
@@ -12785,8 +14237,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12785
14237
|
})[] | undefined;
|
|
12786
14238
|
removeInstructions?: string[] | undefined;
|
|
12787
14239
|
message?: string | {
|
|
12788
|
-
|
|
12789
|
-
|
|
14240
|
+
name?: string | undefined;
|
|
14241
|
+
content?: string | undefined;
|
|
14242
|
+
context?: any;
|
|
14243
|
+
scheduled?: string | undefined;
|
|
14244
|
+
intent?: string | null | undefined;
|
|
14245
|
+
intentScore?: number | null | undefined;
|
|
14246
|
+
delayInSeconds?: number | null | undefined;
|
|
14247
|
+
ignoreTransform?: boolean | undefined;
|
|
14248
|
+
mediaUrls?: string[] | null | undefined;
|
|
12790
14249
|
} | undefined;
|
|
12791
14250
|
secondsDelay?: number | undefined;
|
|
12792
14251
|
scheduled?: number | undefined;
|
|
@@ -12838,8 +14297,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12838
14297
|
})[] | undefined;
|
|
12839
14298
|
removeInstructions?: string[] | undefined;
|
|
12840
14299
|
message?: string | {
|
|
12841
|
-
|
|
12842
|
-
|
|
14300
|
+
name?: string | undefined;
|
|
14301
|
+
content?: string | undefined;
|
|
14302
|
+
context?: any;
|
|
14303
|
+
scheduled?: string | undefined;
|
|
14304
|
+
intent?: string | null | undefined;
|
|
14305
|
+
intentScore?: number | null | undefined;
|
|
14306
|
+
delayInSeconds?: number | null | undefined;
|
|
14307
|
+
ignoreTransform?: boolean | undefined;
|
|
14308
|
+
mediaUrls?: string[] | null | undefined;
|
|
12843
14309
|
} | undefined;
|
|
12844
14310
|
secondsDelay?: number | undefined;
|
|
12845
14311
|
scheduled?: number | undefined;
|
|
@@ -12876,8 +14342,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12876
14342
|
} | {
|
|
12877
14343
|
keywords: string[];
|
|
12878
14344
|
message?: string | {
|
|
12879
|
-
|
|
12880
|
-
|
|
14345
|
+
name?: string | undefined;
|
|
14346
|
+
content?: string | undefined;
|
|
14347
|
+
context?: any;
|
|
14348
|
+
scheduled?: string | undefined;
|
|
14349
|
+
intent?: string | null | undefined;
|
|
14350
|
+
intentScore?: number | null | undefined;
|
|
14351
|
+
delayInSeconds?: number | null | undefined;
|
|
14352
|
+
ignoreTransform?: boolean | undefined;
|
|
14353
|
+
mediaUrls?: string[] | null | undefined;
|
|
12881
14354
|
} | undefined;
|
|
12882
14355
|
forward?: string | boolean | {
|
|
12883
14356
|
to?: string | undefined;
|
|
@@ -12927,10 +14400,27 @@ declare module '@scout9/app/schemas' {
|
|
|
12927
14400
|
overrideLock?: boolean | undefined;
|
|
12928
14401
|
} | undefined;
|
|
12929
14402
|
}[] | undefined;
|
|
14403
|
+
entityContextUpsert?: ({
|
|
14404
|
+
method: "delete";
|
|
14405
|
+
entityType: string;
|
|
14406
|
+
entityRecordId: string;
|
|
14407
|
+
} | {
|
|
14408
|
+
method: "mutate";
|
|
14409
|
+
entityType: string;
|
|
14410
|
+
entityRecordId: string;
|
|
14411
|
+
fields: Record<string, string | number | boolean | null>;
|
|
14412
|
+
})[] | undefined;
|
|
12930
14413
|
}, {
|
|
12931
14414
|
message?: string | {
|
|
12932
|
-
|
|
12933
|
-
|
|
14415
|
+
name?: string | undefined;
|
|
14416
|
+
content?: string | undefined;
|
|
14417
|
+
context?: any;
|
|
14418
|
+
scheduled?: string | undefined;
|
|
14419
|
+
intent?: string | null | undefined;
|
|
14420
|
+
intentScore?: number | null | undefined;
|
|
14421
|
+
delayInSeconds?: number | null | undefined;
|
|
14422
|
+
ignoreTransform?: boolean | undefined;
|
|
14423
|
+
mediaUrls?: string[] | null | undefined;
|
|
12934
14424
|
} | undefined;
|
|
12935
14425
|
forward?: string | boolean | {
|
|
12936
14426
|
to?: string | undefined;
|
|
@@ -12999,8 +14489,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12999
14489
|
})[] | undefined;
|
|
13000
14490
|
removeInstructions?: string[] | undefined;
|
|
13001
14491
|
message?: string | {
|
|
13002
|
-
|
|
13003
|
-
|
|
14492
|
+
name?: string | undefined;
|
|
14493
|
+
content?: string | undefined;
|
|
14494
|
+
context?: any;
|
|
14495
|
+
scheduled?: string | undefined;
|
|
14496
|
+
intent?: string | null | undefined;
|
|
14497
|
+
intentScore?: number | null | undefined;
|
|
14498
|
+
delayInSeconds?: number | null | undefined;
|
|
14499
|
+
ignoreTransform?: boolean | undefined;
|
|
14500
|
+
mediaUrls?: string[] | null | undefined;
|
|
13004
14501
|
} | undefined;
|
|
13005
14502
|
secondsDelay?: number | undefined;
|
|
13006
14503
|
scheduled?: number | undefined;
|
|
@@ -13052,8 +14549,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13052
14549
|
})[] | undefined;
|
|
13053
14550
|
removeInstructions?: string[] | undefined;
|
|
13054
14551
|
message?: string | {
|
|
13055
|
-
|
|
13056
|
-
|
|
14552
|
+
name?: string | undefined;
|
|
14553
|
+
content?: string | undefined;
|
|
14554
|
+
context?: any;
|
|
14555
|
+
scheduled?: string | undefined;
|
|
14556
|
+
intent?: string | null | undefined;
|
|
14557
|
+
intentScore?: number | null | undefined;
|
|
14558
|
+
delayInSeconds?: number | null | undefined;
|
|
14559
|
+
ignoreTransform?: boolean | undefined;
|
|
14560
|
+
mediaUrls?: string[] | null | undefined;
|
|
13057
14561
|
} | undefined;
|
|
13058
14562
|
secondsDelay?: number | undefined;
|
|
13059
14563
|
scheduled?: number | undefined;
|
|
@@ -13090,8 +14594,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13090
14594
|
} | {
|
|
13091
14595
|
keywords: string[];
|
|
13092
14596
|
message?: string | {
|
|
13093
|
-
|
|
13094
|
-
|
|
14597
|
+
name?: string | undefined;
|
|
14598
|
+
content?: string | undefined;
|
|
14599
|
+
context?: any;
|
|
14600
|
+
scheduled?: string | undefined;
|
|
14601
|
+
intent?: string | null | undefined;
|
|
14602
|
+
intentScore?: number | null | undefined;
|
|
14603
|
+
delayInSeconds?: number | null | undefined;
|
|
14604
|
+
ignoreTransform?: boolean | undefined;
|
|
14605
|
+
mediaUrls?: string[] | null | undefined;
|
|
13095
14606
|
} | undefined;
|
|
13096
14607
|
forward?: string | boolean | {
|
|
13097
14608
|
to?: string | undefined;
|
|
@@ -13141,16 +14652,69 @@ declare module '@scout9/app/schemas' {
|
|
|
13141
14652
|
overrideLock?: boolean | undefined;
|
|
13142
14653
|
} | undefined;
|
|
13143
14654
|
}[] | undefined;
|
|
14655
|
+
entityContextUpsert?: ({
|
|
14656
|
+
method: "delete";
|
|
14657
|
+
entityType: string;
|
|
14658
|
+
entityRecordId: string;
|
|
14659
|
+
} | {
|
|
14660
|
+
method: "mutate";
|
|
14661
|
+
entityType: string;
|
|
14662
|
+
entityRecordId: string;
|
|
14663
|
+
fields: Record<string, string | number | boolean | null>;
|
|
14664
|
+
})[] | undefined;
|
|
13144
14665
|
}>, z.ZodArray<z.ZodObject<{
|
|
13145
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
14666
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
14667
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14668
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
14669
|
+
content: z.ZodOptional<z.ZodString>;
|
|
14670
|
+
time: z.ZodOptional<z.ZodString>;
|
|
14671
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14672
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14673
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
14674
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
14675
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
14676
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
14677
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14678
|
+
start: z.ZodNumber;
|
|
14679
|
+
end: z.ZodNumber;
|
|
14680
|
+
type: z.ZodString;
|
|
14681
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14682
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14683
|
+
}, "strip", z.ZodTypeAny, {
|
|
14684
|
+
type: string;
|
|
14685
|
+
end: number;
|
|
14686
|
+
start: number;
|
|
14687
|
+
option?: string | null | undefined;
|
|
14688
|
+
text?: string | null | undefined;
|
|
14689
|
+
}, {
|
|
14690
|
+
type: string;
|
|
14691
|
+
end: number;
|
|
14692
|
+
start: number;
|
|
14693
|
+
option?: string | null | undefined;
|
|
14694
|
+
text?: string | null | undefined;
|
|
14695
|
+
}>, "many">>>>;
|
|
14696
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
14697
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
14698
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
14699
|
+
name?: string | undefined;
|
|
14700
|
+
content?: string | undefined;
|
|
14701
|
+
context?: any;
|
|
14702
|
+
scheduled?: string | undefined;
|
|
14703
|
+
intent?: string | null | undefined;
|
|
14704
|
+
intentScore?: number | null | undefined;
|
|
14705
|
+
delayInSeconds?: number | null | undefined;
|
|
14706
|
+
ignoreTransform?: boolean | undefined;
|
|
14707
|
+
mediaUrls?: string[] | null | undefined;
|
|
13151
14708
|
}, {
|
|
13152
|
-
|
|
13153
|
-
|
|
14709
|
+
name?: string | undefined;
|
|
14710
|
+
content?: string | undefined;
|
|
14711
|
+
context?: any;
|
|
14712
|
+
scheduled?: string | undefined;
|
|
14713
|
+
intent?: string | null | undefined;
|
|
14714
|
+
intentScore?: number | null | undefined;
|
|
14715
|
+
delayInSeconds?: number | null | undefined;
|
|
14716
|
+
ignoreTransform?: boolean | undefined;
|
|
14717
|
+
mediaUrls?: string[] | null | undefined;
|
|
13154
14718
|
}>]>>;
|
|
13155
14719
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
13156
14720
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -13326,15 +14890,58 @@ declare module '@scout9/app/schemas' {
|
|
|
13326
14890
|
persist?: boolean | undefined;
|
|
13327
14891
|
}>]>, "many">]>>;
|
|
13328
14892
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13329
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13330
|
-
|
|
13331
|
-
|
|
13332
|
-
|
|
13333
|
-
|
|
13334
|
-
|
|
14893
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
14894
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14895
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
14896
|
+
content: z.ZodOptional<z.ZodString>;
|
|
14897
|
+
time: z.ZodOptional<z.ZodString>;
|
|
14898
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14899
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14900
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
14901
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
14902
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
14903
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
14904
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14905
|
+
start: z.ZodNumber;
|
|
14906
|
+
end: z.ZodNumber;
|
|
14907
|
+
type: z.ZodString;
|
|
14908
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14909
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14910
|
+
}, "strip", z.ZodTypeAny, {
|
|
14911
|
+
type: string;
|
|
14912
|
+
end: number;
|
|
14913
|
+
start: number;
|
|
14914
|
+
option?: string | null | undefined;
|
|
14915
|
+
text?: string | null | undefined;
|
|
14916
|
+
}, {
|
|
14917
|
+
type: string;
|
|
14918
|
+
end: number;
|
|
14919
|
+
start: number;
|
|
14920
|
+
option?: string | null | undefined;
|
|
14921
|
+
text?: string | null | undefined;
|
|
14922
|
+
}>, "many">>>>;
|
|
14923
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
14924
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
14925
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
14926
|
+
name?: string | undefined;
|
|
14927
|
+
content?: string | undefined;
|
|
14928
|
+
context?: any;
|
|
14929
|
+
scheduled?: string | undefined;
|
|
14930
|
+
intent?: string | null | undefined;
|
|
14931
|
+
intentScore?: number | null | undefined;
|
|
14932
|
+
delayInSeconds?: number | null | undefined;
|
|
14933
|
+
ignoreTransform?: boolean | undefined;
|
|
14934
|
+
mediaUrls?: string[] | null | undefined;
|
|
13335
14935
|
}, {
|
|
13336
|
-
|
|
13337
|
-
|
|
14936
|
+
name?: string | undefined;
|
|
14937
|
+
content?: string | undefined;
|
|
14938
|
+
context?: any;
|
|
14939
|
+
scheduled?: string | undefined;
|
|
14940
|
+
intent?: string | null | undefined;
|
|
14941
|
+
intentScore?: number | null | undefined;
|
|
14942
|
+
delayInSeconds?: number | null | undefined;
|
|
14943
|
+
ignoreTransform?: boolean | undefined;
|
|
14944
|
+
mediaUrls?: string[] | null | undefined;
|
|
13338
14945
|
}>]>>;
|
|
13339
14946
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
13340
14947
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13445,8 +15052,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13445
15052
|
})[] | undefined;
|
|
13446
15053
|
removeInstructions?: string[] | undefined;
|
|
13447
15054
|
message?: string | {
|
|
13448
|
-
|
|
13449
|
-
|
|
15055
|
+
name?: string | undefined;
|
|
15056
|
+
content?: string | undefined;
|
|
15057
|
+
context?: any;
|
|
15058
|
+
scheduled?: string | undefined;
|
|
15059
|
+
intent?: string | null | undefined;
|
|
15060
|
+
intentScore?: number | null | undefined;
|
|
15061
|
+
delayInSeconds?: number | null | undefined;
|
|
15062
|
+
ignoreTransform?: boolean | undefined;
|
|
15063
|
+
mediaUrls?: string[] | null | undefined;
|
|
13450
15064
|
} | undefined;
|
|
13451
15065
|
secondsDelay?: number | undefined;
|
|
13452
15066
|
scheduled?: number | undefined;
|
|
@@ -13497,8 +15111,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13497
15111
|
})[] | undefined;
|
|
13498
15112
|
removeInstructions?: string[] | undefined;
|
|
13499
15113
|
message?: string | {
|
|
13500
|
-
|
|
13501
|
-
|
|
15114
|
+
name?: string | undefined;
|
|
15115
|
+
content?: string | undefined;
|
|
15116
|
+
context?: any;
|
|
15117
|
+
scheduled?: string | undefined;
|
|
15118
|
+
intent?: string | null | undefined;
|
|
15119
|
+
intentScore?: number | null | undefined;
|
|
15120
|
+
delayInSeconds?: number | null | undefined;
|
|
15121
|
+
ignoreTransform?: boolean | undefined;
|
|
15122
|
+
mediaUrls?: string[] | null | undefined;
|
|
13502
15123
|
} | undefined;
|
|
13503
15124
|
secondsDelay?: number | undefined;
|
|
13504
15125
|
scheduled?: number | undefined;
|
|
@@ -13573,15 +15194,58 @@ declare module '@scout9/app/schemas' {
|
|
|
13573
15194
|
persist?: boolean | undefined;
|
|
13574
15195
|
}>]>, "many">]>>;
|
|
13575
15196
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13576
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
15197
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
15198
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15199
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
15200
|
+
content: z.ZodOptional<z.ZodString>;
|
|
15201
|
+
time: z.ZodOptional<z.ZodString>;
|
|
15202
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15203
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15204
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
15205
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
15206
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15207
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15208
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15209
|
+
start: z.ZodNumber;
|
|
15210
|
+
end: z.ZodNumber;
|
|
15211
|
+
type: z.ZodString;
|
|
15212
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15213
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15214
|
+
}, "strip", z.ZodTypeAny, {
|
|
15215
|
+
type: string;
|
|
15216
|
+
end: number;
|
|
15217
|
+
start: number;
|
|
15218
|
+
option?: string | null | undefined;
|
|
15219
|
+
text?: string | null | undefined;
|
|
15220
|
+
}, {
|
|
15221
|
+
type: string;
|
|
15222
|
+
end: number;
|
|
15223
|
+
start: number;
|
|
15224
|
+
option?: string | null | undefined;
|
|
15225
|
+
text?: string | null | undefined;
|
|
15226
|
+
}>, "many">>>>;
|
|
15227
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
15228
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
15229
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
15230
|
+
name?: string | undefined;
|
|
15231
|
+
content?: string | undefined;
|
|
15232
|
+
context?: any;
|
|
15233
|
+
scheduled?: string | undefined;
|
|
15234
|
+
intent?: string | null | undefined;
|
|
15235
|
+
intentScore?: number | null | undefined;
|
|
15236
|
+
delayInSeconds?: number | null | undefined;
|
|
15237
|
+
ignoreTransform?: boolean | undefined;
|
|
15238
|
+
mediaUrls?: string[] | null | undefined;
|
|
13582
15239
|
}, {
|
|
13583
|
-
|
|
13584
|
-
|
|
15240
|
+
name?: string | undefined;
|
|
15241
|
+
content?: string | undefined;
|
|
15242
|
+
context?: any;
|
|
15243
|
+
scheduled?: string | undefined;
|
|
15244
|
+
intent?: string | null | undefined;
|
|
15245
|
+
intentScore?: number | null | undefined;
|
|
15246
|
+
delayInSeconds?: number | null | undefined;
|
|
15247
|
+
ignoreTransform?: boolean | undefined;
|
|
15248
|
+
mediaUrls?: string[] | null | undefined;
|
|
13585
15249
|
}>]>>;
|
|
13586
15250
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
13587
15251
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13692,8 +15356,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13692
15356
|
})[] | undefined;
|
|
13693
15357
|
removeInstructions?: string[] | undefined;
|
|
13694
15358
|
message?: string | {
|
|
13695
|
-
|
|
13696
|
-
|
|
15359
|
+
name?: string | undefined;
|
|
15360
|
+
content?: string | undefined;
|
|
15361
|
+
context?: any;
|
|
15362
|
+
scheduled?: string | undefined;
|
|
15363
|
+
intent?: string | null | undefined;
|
|
15364
|
+
intentScore?: number | null | undefined;
|
|
15365
|
+
delayInSeconds?: number | null | undefined;
|
|
15366
|
+
ignoreTransform?: boolean | undefined;
|
|
15367
|
+
mediaUrls?: string[] | null | undefined;
|
|
13697
15368
|
} | undefined;
|
|
13698
15369
|
secondsDelay?: number | undefined;
|
|
13699
15370
|
scheduled?: number | undefined;
|
|
@@ -13744,8 +15415,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13744
15415
|
})[] | undefined;
|
|
13745
15416
|
removeInstructions?: string[] | undefined;
|
|
13746
15417
|
message?: string | {
|
|
13747
|
-
|
|
13748
|
-
|
|
15418
|
+
name?: string | undefined;
|
|
15419
|
+
content?: string | undefined;
|
|
15420
|
+
context?: any;
|
|
15421
|
+
scheduled?: string | undefined;
|
|
15422
|
+
intent?: string | null | undefined;
|
|
15423
|
+
intentScore?: number | null | undefined;
|
|
15424
|
+
delayInSeconds?: number | null | undefined;
|
|
15425
|
+
ignoreTransform?: boolean | undefined;
|
|
15426
|
+
mediaUrls?: string[] | null | undefined;
|
|
13749
15427
|
} | undefined;
|
|
13750
15428
|
secondsDelay?: number | undefined;
|
|
13751
15429
|
scheduled?: number | undefined;
|
|
@@ -13799,8 +15477,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13799
15477
|
})[] | undefined;
|
|
13800
15478
|
removeInstructions?: string[] | undefined;
|
|
13801
15479
|
message?: string | {
|
|
13802
|
-
|
|
13803
|
-
|
|
15480
|
+
name?: string | undefined;
|
|
15481
|
+
content?: string | undefined;
|
|
15482
|
+
context?: any;
|
|
15483
|
+
scheduled?: string | undefined;
|
|
15484
|
+
intent?: string | null | undefined;
|
|
15485
|
+
intentScore?: number | null | undefined;
|
|
15486
|
+
delayInSeconds?: number | null | undefined;
|
|
15487
|
+
ignoreTransform?: boolean | undefined;
|
|
15488
|
+
mediaUrls?: string[] | null | undefined;
|
|
13804
15489
|
} | undefined;
|
|
13805
15490
|
secondsDelay?: number | undefined;
|
|
13806
15491
|
scheduled?: number | undefined;
|
|
@@ -13852,8 +15537,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13852
15537
|
})[] | undefined;
|
|
13853
15538
|
removeInstructions?: string[] | undefined;
|
|
13854
15539
|
message?: string | {
|
|
13855
|
-
|
|
13856
|
-
|
|
15540
|
+
name?: string | undefined;
|
|
15541
|
+
content?: string | undefined;
|
|
15542
|
+
context?: any;
|
|
15543
|
+
scheduled?: string | undefined;
|
|
15544
|
+
intent?: string | null | undefined;
|
|
15545
|
+
intentScore?: number | null | undefined;
|
|
15546
|
+
delayInSeconds?: number | null | undefined;
|
|
15547
|
+
ignoreTransform?: boolean | undefined;
|
|
15548
|
+
mediaUrls?: string[] | null | undefined;
|
|
13857
15549
|
} | undefined;
|
|
13858
15550
|
secondsDelay?: number | undefined;
|
|
13859
15551
|
scheduled?: number | undefined;
|
|
@@ -13907,8 +15599,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13907
15599
|
})[] | undefined;
|
|
13908
15600
|
removeInstructions?: string[] | undefined;
|
|
13909
15601
|
message?: string | {
|
|
13910
|
-
|
|
13911
|
-
|
|
15602
|
+
name?: string | undefined;
|
|
15603
|
+
content?: string | undefined;
|
|
15604
|
+
context?: any;
|
|
15605
|
+
scheduled?: string | undefined;
|
|
15606
|
+
intent?: string | null | undefined;
|
|
15607
|
+
intentScore?: number | null | undefined;
|
|
15608
|
+
delayInSeconds?: number | null | undefined;
|
|
15609
|
+
ignoreTransform?: boolean | undefined;
|
|
15610
|
+
mediaUrls?: string[] | null | undefined;
|
|
13912
15611
|
} | undefined;
|
|
13913
15612
|
secondsDelay?: number | undefined;
|
|
13914
15613
|
scheduled?: number | undefined;
|
|
@@ -13960,8 +15659,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13960
15659
|
})[] | undefined;
|
|
13961
15660
|
removeInstructions?: string[] | undefined;
|
|
13962
15661
|
message?: string | {
|
|
13963
|
-
|
|
13964
|
-
|
|
15662
|
+
name?: string | undefined;
|
|
15663
|
+
content?: string | undefined;
|
|
15664
|
+
context?: any;
|
|
15665
|
+
scheduled?: string | undefined;
|
|
15666
|
+
intent?: string | null | undefined;
|
|
15667
|
+
intentScore?: number | null | undefined;
|
|
15668
|
+
delayInSeconds?: number | null | undefined;
|
|
15669
|
+
ignoreTransform?: boolean | undefined;
|
|
15670
|
+
mediaUrls?: string[] | null | undefined;
|
|
13965
15671
|
} | undefined;
|
|
13966
15672
|
secondsDelay?: number | undefined;
|
|
13967
15673
|
scheduled?: number | undefined;
|
|
@@ -13996,15 +15702,58 @@ declare module '@scout9/app/schemas' {
|
|
|
13996
15702
|
} | undefined;
|
|
13997
15703
|
};
|
|
13998
15704
|
}>, z.ZodArray<z.ZodObject<{
|
|
13999
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
15705
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
15706
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15707
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
15708
|
+
content: z.ZodOptional<z.ZodString>;
|
|
15709
|
+
time: z.ZodOptional<z.ZodString>;
|
|
15710
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15711
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15712
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
15713
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
15714
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15715
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
15716
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15717
|
+
start: z.ZodNumber;
|
|
15718
|
+
end: z.ZodNumber;
|
|
15719
|
+
type: z.ZodString;
|
|
15720
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15721
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15722
|
+
}, "strip", z.ZodTypeAny, {
|
|
15723
|
+
type: string;
|
|
15724
|
+
end: number;
|
|
15725
|
+
start: number;
|
|
15726
|
+
option?: string | null | undefined;
|
|
15727
|
+
text?: string | null | undefined;
|
|
15728
|
+
}, {
|
|
15729
|
+
type: string;
|
|
15730
|
+
end: number;
|
|
15731
|
+
start: number;
|
|
15732
|
+
option?: string | null | undefined;
|
|
15733
|
+
text?: string | null | undefined;
|
|
15734
|
+
}>, "many">>>>;
|
|
15735
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
15736
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
15737
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
15738
|
+
name?: string | undefined;
|
|
15739
|
+
content?: string | undefined;
|
|
15740
|
+
context?: any;
|
|
15741
|
+
scheduled?: string | undefined;
|
|
15742
|
+
intent?: string | null | undefined;
|
|
15743
|
+
intentScore?: number | null | undefined;
|
|
15744
|
+
delayInSeconds?: number | null | undefined;
|
|
15745
|
+
ignoreTransform?: boolean | undefined;
|
|
15746
|
+
mediaUrls?: string[] | null | undefined;
|
|
14005
15747
|
}, {
|
|
14006
|
-
|
|
14007
|
-
|
|
15748
|
+
name?: string | undefined;
|
|
15749
|
+
content?: string | undefined;
|
|
15750
|
+
context?: any;
|
|
15751
|
+
scheduled?: string | undefined;
|
|
15752
|
+
intent?: string | null | undefined;
|
|
15753
|
+
intentScore?: number | null | undefined;
|
|
15754
|
+
delayInSeconds?: number | null | undefined;
|
|
15755
|
+
ignoreTransform?: boolean | undefined;
|
|
15756
|
+
mediaUrls?: string[] | null | undefined;
|
|
14008
15757
|
}>]>>;
|
|
14009
15758
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
14010
15759
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -14141,8 +15890,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14141
15890
|
}, "strip", z.ZodTypeAny, {
|
|
14142
15891
|
keywords: string[];
|
|
14143
15892
|
message?: string | {
|
|
14144
|
-
|
|
14145
|
-
|
|
15893
|
+
name?: string | undefined;
|
|
15894
|
+
content?: string | undefined;
|
|
15895
|
+
context?: any;
|
|
15896
|
+
scheduled?: string | undefined;
|
|
15897
|
+
intent?: string | null | undefined;
|
|
15898
|
+
intentScore?: number | null | undefined;
|
|
15899
|
+
delayInSeconds?: number | null | undefined;
|
|
15900
|
+
ignoreTransform?: boolean | undefined;
|
|
15901
|
+
mediaUrls?: string[] | null | undefined;
|
|
14146
15902
|
} | undefined;
|
|
14147
15903
|
forward?: string | boolean | {
|
|
14148
15904
|
to?: string | undefined;
|
|
@@ -14194,8 +15950,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14194
15950
|
}, {
|
|
14195
15951
|
keywords: string[];
|
|
14196
15952
|
message?: string | {
|
|
14197
|
-
|
|
14198
|
-
|
|
15953
|
+
name?: string | undefined;
|
|
15954
|
+
content?: string | undefined;
|
|
15955
|
+
context?: any;
|
|
15956
|
+
scheduled?: string | undefined;
|
|
15957
|
+
intent?: string | null | undefined;
|
|
15958
|
+
intentScore?: number | null | undefined;
|
|
15959
|
+
delayInSeconds?: number | null | undefined;
|
|
15960
|
+
ignoreTransform?: boolean | undefined;
|
|
15961
|
+
mediaUrls?: string[] | null | undefined;
|
|
14199
15962
|
} | undefined;
|
|
14200
15963
|
forward?: string | boolean | {
|
|
14201
15964
|
to?: string | undefined;
|
|
@@ -14245,10 +16008,45 @@ declare module '@scout9/app/schemas' {
|
|
|
14245
16008
|
overrideLock?: boolean | undefined;
|
|
14246
16009
|
} | undefined;
|
|
14247
16010
|
}>, "many">]>>;
|
|
16011
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
16012
|
+
entityType: z.ZodString;
|
|
16013
|
+
entityRecordId: z.ZodString;
|
|
16014
|
+
method: z.ZodLiteral<"delete">;
|
|
16015
|
+
}, "strip", z.ZodTypeAny, {
|
|
16016
|
+
method: "delete";
|
|
16017
|
+
entityType: string;
|
|
16018
|
+
entityRecordId: string;
|
|
16019
|
+
}, {
|
|
16020
|
+
method: "delete";
|
|
16021
|
+
entityType: string;
|
|
16022
|
+
entityRecordId: string;
|
|
16023
|
+
}>, z.ZodObject<{
|
|
16024
|
+
entityType: z.ZodString;
|
|
16025
|
+
entityRecordId: z.ZodString;
|
|
16026
|
+
method: z.ZodLiteral<"mutate">;
|
|
16027
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
16028
|
+
}, "strip", z.ZodTypeAny, {
|
|
16029
|
+
method: "mutate";
|
|
16030
|
+
entityType: string;
|
|
16031
|
+
entityRecordId: string;
|
|
16032
|
+
fields: Record<string, string | number | boolean | null>;
|
|
16033
|
+
}, {
|
|
16034
|
+
method: "mutate";
|
|
16035
|
+
entityType: string;
|
|
16036
|
+
entityRecordId: string;
|
|
16037
|
+
fields: Record<string, string | number | boolean | null>;
|
|
16038
|
+
}>]>, "many">>;
|
|
14248
16039
|
}, "strip", z.ZodTypeAny, {
|
|
14249
16040
|
message?: string | {
|
|
14250
|
-
|
|
14251
|
-
|
|
16041
|
+
name?: string | undefined;
|
|
16042
|
+
content?: string | undefined;
|
|
16043
|
+
context?: any;
|
|
16044
|
+
scheduled?: string | undefined;
|
|
16045
|
+
intent?: string | null | undefined;
|
|
16046
|
+
intentScore?: number | null | undefined;
|
|
16047
|
+
delayInSeconds?: number | null | undefined;
|
|
16048
|
+
ignoreTransform?: boolean | undefined;
|
|
16049
|
+
mediaUrls?: string[] | null | undefined;
|
|
14252
16050
|
} | undefined;
|
|
14253
16051
|
forward?: string | boolean | {
|
|
14254
16052
|
to?: string | undefined;
|
|
@@ -14317,8 +16115,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14317
16115
|
})[] | undefined;
|
|
14318
16116
|
removeInstructions?: string[] | undefined;
|
|
14319
16117
|
message?: string | {
|
|
14320
|
-
|
|
14321
|
-
|
|
16118
|
+
name?: string | undefined;
|
|
16119
|
+
content?: string | undefined;
|
|
16120
|
+
context?: any;
|
|
16121
|
+
scheduled?: string | undefined;
|
|
16122
|
+
intent?: string | null | undefined;
|
|
16123
|
+
intentScore?: number | null | undefined;
|
|
16124
|
+
delayInSeconds?: number | null | undefined;
|
|
16125
|
+
ignoreTransform?: boolean | undefined;
|
|
16126
|
+
mediaUrls?: string[] | null | undefined;
|
|
14322
16127
|
} | undefined;
|
|
14323
16128
|
secondsDelay?: number | undefined;
|
|
14324
16129
|
scheduled?: number | undefined;
|
|
@@ -14370,8 +16175,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14370
16175
|
})[] | undefined;
|
|
14371
16176
|
removeInstructions?: string[] | undefined;
|
|
14372
16177
|
message?: string | {
|
|
14373
|
-
|
|
14374
|
-
|
|
16178
|
+
name?: string | undefined;
|
|
16179
|
+
content?: string | undefined;
|
|
16180
|
+
context?: any;
|
|
16181
|
+
scheduled?: string | undefined;
|
|
16182
|
+
intent?: string | null | undefined;
|
|
16183
|
+
intentScore?: number | null | undefined;
|
|
16184
|
+
delayInSeconds?: number | null | undefined;
|
|
16185
|
+
ignoreTransform?: boolean | undefined;
|
|
16186
|
+
mediaUrls?: string[] | null | undefined;
|
|
14375
16187
|
} | undefined;
|
|
14376
16188
|
secondsDelay?: number | undefined;
|
|
14377
16189
|
scheduled?: number | undefined;
|
|
@@ -14408,8 +16220,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14408
16220
|
} | {
|
|
14409
16221
|
keywords: string[];
|
|
14410
16222
|
message?: string | {
|
|
14411
|
-
|
|
14412
|
-
|
|
16223
|
+
name?: string | undefined;
|
|
16224
|
+
content?: string | undefined;
|
|
16225
|
+
context?: any;
|
|
16226
|
+
scheduled?: string | undefined;
|
|
16227
|
+
intent?: string | null | undefined;
|
|
16228
|
+
intentScore?: number | null | undefined;
|
|
16229
|
+
delayInSeconds?: number | null | undefined;
|
|
16230
|
+
ignoreTransform?: boolean | undefined;
|
|
16231
|
+
mediaUrls?: string[] | null | undefined;
|
|
14413
16232
|
} | undefined;
|
|
14414
16233
|
forward?: string | boolean | {
|
|
14415
16234
|
to?: string | undefined;
|
|
@@ -14459,10 +16278,27 @@ declare module '@scout9/app/schemas' {
|
|
|
14459
16278
|
overrideLock?: boolean | undefined;
|
|
14460
16279
|
} | undefined;
|
|
14461
16280
|
}[] | undefined;
|
|
16281
|
+
entityContextUpsert?: ({
|
|
16282
|
+
method: "delete";
|
|
16283
|
+
entityType: string;
|
|
16284
|
+
entityRecordId: string;
|
|
16285
|
+
} | {
|
|
16286
|
+
method: "mutate";
|
|
16287
|
+
entityType: string;
|
|
16288
|
+
entityRecordId: string;
|
|
16289
|
+
fields: Record<string, string | number | boolean | null>;
|
|
16290
|
+
})[] | undefined;
|
|
14462
16291
|
}, {
|
|
14463
16292
|
message?: string | {
|
|
14464
|
-
|
|
14465
|
-
|
|
16293
|
+
name?: string | undefined;
|
|
16294
|
+
content?: string | undefined;
|
|
16295
|
+
context?: any;
|
|
16296
|
+
scheduled?: string | undefined;
|
|
16297
|
+
intent?: string | null | undefined;
|
|
16298
|
+
intentScore?: number | null | undefined;
|
|
16299
|
+
delayInSeconds?: number | null | undefined;
|
|
16300
|
+
ignoreTransform?: boolean | undefined;
|
|
16301
|
+
mediaUrls?: string[] | null | undefined;
|
|
14466
16302
|
} | undefined;
|
|
14467
16303
|
forward?: string | boolean | {
|
|
14468
16304
|
to?: string | undefined;
|
|
@@ -14531,8 +16367,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14531
16367
|
})[] | undefined;
|
|
14532
16368
|
removeInstructions?: string[] | undefined;
|
|
14533
16369
|
message?: string | {
|
|
14534
|
-
|
|
14535
|
-
|
|
16370
|
+
name?: string | undefined;
|
|
16371
|
+
content?: string | undefined;
|
|
16372
|
+
context?: any;
|
|
16373
|
+
scheduled?: string | undefined;
|
|
16374
|
+
intent?: string | null | undefined;
|
|
16375
|
+
intentScore?: number | null | undefined;
|
|
16376
|
+
delayInSeconds?: number | null | undefined;
|
|
16377
|
+
ignoreTransform?: boolean | undefined;
|
|
16378
|
+
mediaUrls?: string[] | null | undefined;
|
|
14536
16379
|
} | undefined;
|
|
14537
16380
|
secondsDelay?: number | undefined;
|
|
14538
16381
|
scheduled?: number | undefined;
|
|
@@ -14584,8 +16427,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14584
16427
|
})[] | undefined;
|
|
14585
16428
|
removeInstructions?: string[] | undefined;
|
|
14586
16429
|
message?: string | {
|
|
14587
|
-
|
|
14588
|
-
|
|
16430
|
+
name?: string | undefined;
|
|
16431
|
+
content?: string | undefined;
|
|
16432
|
+
context?: any;
|
|
16433
|
+
scheduled?: string | undefined;
|
|
16434
|
+
intent?: string | null | undefined;
|
|
16435
|
+
intentScore?: number | null | undefined;
|
|
16436
|
+
delayInSeconds?: number | null | undefined;
|
|
16437
|
+
ignoreTransform?: boolean | undefined;
|
|
16438
|
+
mediaUrls?: string[] | null | undefined;
|
|
14589
16439
|
} | undefined;
|
|
14590
16440
|
secondsDelay?: number | undefined;
|
|
14591
16441
|
scheduled?: number | undefined;
|
|
@@ -14622,8 +16472,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14622
16472
|
} | {
|
|
14623
16473
|
keywords: string[];
|
|
14624
16474
|
message?: string | {
|
|
14625
|
-
|
|
14626
|
-
|
|
16475
|
+
name?: string | undefined;
|
|
16476
|
+
content?: string | undefined;
|
|
16477
|
+
context?: any;
|
|
16478
|
+
scheduled?: string | undefined;
|
|
16479
|
+
intent?: string | null | undefined;
|
|
16480
|
+
intentScore?: number | null | undefined;
|
|
16481
|
+
delayInSeconds?: number | null | undefined;
|
|
16482
|
+
ignoreTransform?: boolean | undefined;
|
|
16483
|
+
mediaUrls?: string[] | null | undefined;
|
|
14627
16484
|
} | undefined;
|
|
14628
16485
|
forward?: string | boolean | {
|
|
14629
16486
|
to?: string | undefined;
|
|
@@ -14673,16 +16530,69 @@ declare module '@scout9/app/schemas' {
|
|
|
14673
16530
|
overrideLock?: boolean | undefined;
|
|
14674
16531
|
} | undefined;
|
|
14675
16532
|
}[] | undefined;
|
|
16533
|
+
entityContextUpsert?: ({
|
|
16534
|
+
method: "delete";
|
|
16535
|
+
entityType: string;
|
|
16536
|
+
entityRecordId: string;
|
|
16537
|
+
} | {
|
|
16538
|
+
method: "mutate";
|
|
16539
|
+
entityType: string;
|
|
16540
|
+
entityRecordId: string;
|
|
16541
|
+
fields: Record<string, string | number | boolean | null>;
|
|
16542
|
+
})[] | undefined;
|
|
14676
16543
|
}>, "many">]>>, z.ZodUnion<[z.ZodObject<{
|
|
14677
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
14682
|
-
|
|
16544
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
16545
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16546
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
16547
|
+
content: z.ZodOptional<z.ZodString>;
|
|
16548
|
+
time: z.ZodOptional<z.ZodString>;
|
|
16549
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16550
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16551
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
16552
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
16553
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
16554
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
16555
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16556
|
+
start: z.ZodNumber;
|
|
16557
|
+
end: z.ZodNumber;
|
|
16558
|
+
type: z.ZodString;
|
|
16559
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16560
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16561
|
+
}, "strip", z.ZodTypeAny, {
|
|
16562
|
+
type: string;
|
|
16563
|
+
end: number;
|
|
16564
|
+
start: number;
|
|
16565
|
+
option?: string | null | undefined;
|
|
16566
|
+
text?: string | null | undefined;
|
|
16567
|
+
}, {
|
|
16568
|
+
type: string;
|
|
16569
|
+
end: number;
|
|
16570
|
+
start: number;
|
|
16571
|
+
option?: string | null | undefined;
|
|
16572
|
+
text?: string | null | undefined;
|
|
16573
|
+
}>, "many">>>>;
|
|
16574
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
16575
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
16576
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
16577
|
+
name?: string | undefined;
|
|
16578
|
+
content?: string | undefined;
|
|
16579
|
+
context?: any;
|
|
16580
|
+
scheduled?: string | undefined;
|
|
16581
|
+
intent?: string | null | undefined;
|
|
16582
|
+
intentScore?: number | null | undefined;
|
|
16583
|
+
delayInSeconds?: number | null | undefined;
|
|
16584
|
+
ignoreTransform?: boolean | undefined;
|
|
16585
|
+
mediaUrls?: string[] | null | undefined;
|
|
14683
16586
|
}, {
|
|
14684
|
-
|
|
14685
|
-
|
|
16587
|
+
name?: string | undefined;
|
|
16588
|
+
content?: string | undefined;
|
|
16589
|
+
context?: any;
|
|
16590
|
+
scheduled?: string | undefined;
|
|
16591
|
+
intent?: string | null | undefined;
|
|
16592
|
+
intentScore?: number | null | undefined;
|
|
16593
|
+
delayInSeconds?: number | null | undefined;
|
|
16594
|
+
ignoreTransform?: boolean | undefined;
|
|
16595
|
+
mediaUrls?: string[] | null | undefined;
|
|
14686
16596
|
}>]>>;
|
|
14687
16597
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
14688
16598
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -14858,15 +16768,58 @@ declare module '@scout9/app/schemas' {
|
|
|
14858
16768
|
persist?: boolean | undefined;
|
|
14859
16769
|
}>]>, "many">]>>;
|
|
14860
16770
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14861
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14862
|
-
|
|
14863
|
-
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
|
|
16771
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
16772
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16773
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
16774
|
+
content: z.ZodOptional<z.ZodString>;
|
|
16775
|
+
time: z.ZodOptional<z.ZodString>;
|
|
16776
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16777
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16778
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
16779
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
16780
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
16781
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
16782
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16783
|
+
start: z.ZodNumber;
|
|
16784
|
+
end: z.ZodNumber;
|
|
16785
|
+
type: z.ZodString;
|
|
16786
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16787
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16788
|
+
}, "strip", z.ZodTypeAny, {
|
|
16789
|
+
type: string;
|
|
16790
|
+
end: number;
|
|
16791
|
+
start: number;
|
|
16792
|
+
option?: string | null | undefined;
|
|
16793
|
+
text?: string | null | undefined;
|
|
16794
|
+
}, {
|
|
16795
|
+
type: string;
|
|
16796
|
+
end: number;
|
|
16797
|
+
start: number;
|
|
16798
|
+
option?: string | null | undefined;
|
|
16799
|
+
text?: string | null | undefined;
|
|
16800
|
+
}>, "many">>>>;
|
|
16801
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
16802
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
16803
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
16804
|
+
name?: string | undefined;
|
|
16805
|
+
content?: string | undefined;
|
|
16806
|
+
context?: any;
|
|
16807
|
+
scheduled?: string | undefined;
|
|
16808
|
+
intent?: string | null | undefined;
|
|
16809
|
+
intentScore?: number | null | undefined;
|
|
16810
|
+
delayInSeconds?: number | null | undefined;
|
|
16811
|
+
ignoreTransform?: boolean | undefined;
|
|
16812
|
+
mediaUrls?: string[] | null | undefined;
|
|
14867
16813
|
}, {
|
|
14868
|
-
|
|
14869
|
-
|
|
16814
|
+
name?: string | undefined;
|
|
16815
|
+
content?: string | undefined;
|
|
16816
|
+
context?: any;
|
|
16817
|
+
scheduled?: string | undefined;
|
|
16818
|
+
intent?: string | null | undefined;
|
|
16819
|
+
intentScore?: number | null | undefined;
|
|
16820
|
+
delayInSeconds?: number | null | undefined;
|
|
16821
|
+
ignoreTransform?: boolean | undefined;
|
|
16822
|
+
mediaUrls?: string[] | null | undefined;
|
|
14870
16823
|
}>]>>;
|
|
14871
16824
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
14872
16825
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14977,8 +16930,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14977
16930
|
})[] | undefined;
|
|
14978
16931
|
removeInstructions?: string[] | undefined;
|
|
14979
16932
|
message?: string | {
|
|
14980
|
-
|
|
14981
|
-
|
|
16933
|
+
name?: string | undefined;
|
|
16934
|
+
content?: string | undefined;
|
|
16935
|
+
context?: any;
|
|
16936
|
+
scheduled?: string | undefined;
|
|
16937
|
+
intent?: string | null | undefined;
|
|
16938
|
+
intentScore?: number | null | undefined;
|
|
16939
|
+
delayInSeconds?: number | null | undefined;
|
|
16940
|
+
ignoreTransform?: boolean | undefined;
|
|
16941
|
+
mediaUrls?: string[] | null | undefined;
|
|
14982
16942
|
} | undefined;
|
|
14983
16943
|
secondsDelay?: number | undefined;
|
|
14984
16944
|
scheduled?: number | undefined;
|
|
@@ -15029,8 +16989,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15029
16989
|
})[] | undefined;
|
|
15030
16990
|
removeInstructions?: string[] | undefined;
|
|
15031
16991
|
message?: string | {
|
|
15032
|
-
|
|
15033
|
-
|
|
16992
|
+
name?: string | undefined;
|
|
16993
|
+
content?: string | undefined;
|
|
16994
|
+
context?: any;
|
|
16995
|
+
scheduled?: string | undefined;
|
|
16996
|
+
intent?: string | null | undefined;
|
|
16997
|
+
intentScore?: number | null | undefined;
|
|
16998
|
+
delayInSeconds?: number | null | undefined;
|
|
16999
|
+
ignoreTransform?: boolean | undefined;
|
|
17000
|
+
mediaUrls?: string[] | null | undefined;
|
|
15034
17001
|
} | undefined;
|
|
15035
17002
|
secondsDelay?: number | undefined;
|
|
15036
17003
|
scheduled?: number | undefined;
|
|
@@ -15105,15 +17072,58 @@ declare module '@scout9/app/schemas' {
|
|
|
15105
17072
|
persist?: boolean | undefined;
|
|
15106
17073
|
}>]>, "many">]>>;
|
|
15107
17074
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15108
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
17075
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
17076
|
+
id: z.ZodOptional<z.ZodString>;
|
|
17077
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
17078
|
+
content: z.ZodOptional<z.ZodString>;
|
|
17079
|
+
time: z.ZodOptional<z.ZodString>;
|
|
17080
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17081
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17082
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
17083
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
17084
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
17085
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
17086
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17087
|
+
start: z.ZodNumber;
|
|
17088
|
+
end: z.ZodNumber;
|
|
17089
|
+
type: z.ZodString;
|
|
17090
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17091
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17092
|
+
}, "strip", z.ZodTypeAny, {
|
|
17093
|
+
type: string;
|
|
17094
|
+
end: number;
|
|
17095
|
+
start: number;
|
|
17096
|
+
option?: string | null | undefined;
|
|
17097
|
+
text?: string | null | undefined;
|
|
17098
|
+
}, {
|
|
17099
|
+
type: string;
|
|
17100
|
+
end: number;
|
|
17101
|
+
start: number;
|
|
17102
|
+
option?: string | null | undefined;
|
|
17103
|
+
text?: string | null | undefined;
|
|
17104
|
+
}>, "many">>>>;
|
|
17105
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
17106
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
17107
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
17108
|
+
name?: string | undefined;
|
|
17109
|
+
content?: string | undefined;
|
|
17110
|
+
context?: any;
|
|
17111
|
+
scheduled?: string | undefined;
|
|
17112
|
+
intent?: string | null | undefined;
|
|
17113
|
+
intentScore?: number | null | undefined;
|
|
17114
|
+
delayInSeconds?: number | null | undefined;
|
|
17115
|
+
ignoreTransform?: boolean | undefined;
|
|
17116
|
+
mediaUrls?: string[] | null | undefined;
|
|
15114
17117
|
}, {
|
|
15115
|
-
|
|
15116
|
-
|
|
17118
|
+
name?: string | undefined;
|
|
17119
|
+
content?: string | undefined;
|
|
17120
|
+
context?: any;
|
|
17121
|
+
scheduled?: string | undefined;
|
|
17122
|
+
intent?: string | null | undefined;
|
|
17123
|
+
intentScore?: number | null | undefined;
|
|
17124
|
+
delayInSeconds?: number | null | undefined;
|
|
17125
|
+
ignoreTransform?: boolean | undefined;
|
|
17126
|
+
mediaUrls?: string[] | null | undefined;
|
|
15117
17127
|
}>]>>;
|
|
15118
17128
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
15119
17129
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15224,8 +17234,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15224
17234
|
})[] | undefined;
|
|
15225
17235
|
removeInstructions?: string[] | undefined;
|
|
15226
17236
|
message?: string | {
|
|
15227
|
-
|
|
15228
|
-
|
|
17237
|
+
name?: string | undefined;
|
|
17238
|
+
content?: string | undefined;
|
|
17239
|
+
context?: any;
|
|
17240
|
+
scheduled?: string | undefined;
|
|
17241
|
+
intent?: string | null | undefined;
|
|
17242
|
+
intentScore?: number | null | undefined;
|
|
17243
|
+
delayInSeconds?: number | null | undefined;
|
|
17244
|
+
ignoreTransform?: boolean | undefined;
|
|
17245
|
+
mediaUrls?: string[] | null | undefined;
|
|
15229
17246
|
} | undefined;
|
|
15230
17247
|
secondsDelay?: number | undefined;
|
|
15231
17248
|
scheduled?: number | undefined;
|
|
@@ -15276,8 +17293,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15276
17293
|
})[] | undefined;
|
|
15277
17294
|
removeInstructions?: string[] | undefined;
|
|
15278
17295
|
message?: string | {
|
|
15279
|
-
|
|
15280
|
-
|
|
17296
|
+
name?: string | undefined;
|
|
17297
|
+
content?: string | undefined;
|
|
17298
|
+
context?: any;
|
|
17299
|
+
scheduled?: string | undefined;
|
|
17300
|
+
intent?: string | null | undefined;
|
|
17301
|
+
intentScore?: number | null | undefined;
|
|
17302
|
+
delayInSeconds?: number | null | undefined;
|
|
17303
|
+
ignoreTransform?: boolean | undefined;
|
|
17304
|
+
mediaUrls?: string[] | null | undefined;
|
|
15281
17305
|
} | undefined;
|
|
15282
17306
|
secondsDelay?: number | undefined;
|
|
15283
17307
|
scheduled?: number | undefined;
|
|
@@ -15331,8 +17355,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15331
17355
|
})[] | undefined;
|
|
15332
17356
|
removeInstructions?: string[] | undefined;
|
|
15333
17357
|
message?: string | {
|
|
15334
|
-
|
|
15335
|
-
|
|
17358
|
+
name?: string | undefined;
|
|
17359
|
+
content?: string | undefined;
|
|
17360
|
+
context?: any;
|
|
17361
|
+
scheduled?: string | undefined;
|
|
17362
|
+
intent?: string | null | undefined;
|
|
17363
|
+
intentScore?: number | null | undefined;
|
|
17364
|
+
delayInSeconds?: number | null | undefined;
|
|
17365
|
+
ignoreTransform?: boolean | undefined;
|
|
17366
|
+
mediaUrls?: string[] | null | undefined;
|
|
15336
17367
|
} | undefined;
|
|
15337
17368
|
secondsDelay?: number | undefined;
|
|
15338
17369
|
scheduled?: number | undefined;
|
|
@@ -15384,8 +17415,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15384
17415
|
})[] | undefined;
|
|
15385
17416
|
removeInstructions?: string[] | undefined;
|
|
15386
17417
|
message?: string | {
|
|
15387
|
-
|
|
15388
|
-
|
|
17418
|
+
name?: string | undefined;
|
|
17419
|
+
content?: string | undefined;
|
|
17420
|
+
context?: any;
|
|
17421
|
+
scheduled?: string | undefined;
|
|
17422
|
+
intent?: string | null | undefined;
|
|
17423
|
+
intentScore?: number | null | undefined;
|
|
17424
|
+
delayInSeconds?: number | null | undefined;
|
|
17425
|
+
ignoreTransform?: boolean | undefined;
|
|
17426
|
+
mediaUrls?: string[] | null | undefined;
|
|
15389
17427
|
} | undefined;
|
|
15390
17428
|
secondsDelay?: number | undefined;
|
|
15391
17429
|
scheduled?: number | undefined;
|
|
@@ -15439,8 +17477,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15439
17477
|
})[] | undefined;
|
|
15440
17478
|
removeInstructions?: string[] | undefined;
|
|
15441
17479
|
message?: string | {
|
|
15442
|
-
|
|
15443
|
-
|
|
17480
|
+
name?: string | undefined;
|
|
17481
|
+
content?: string | undefined;
|
|
17482
|
+
context?: any;
|
|
17483
|
+
scheduled?: string | undefined;
|
|
17484
|
+
intent?: string | null | undefined;
|
|
17485
|
+
intentScore?: number | null | undefined;
|
|
17486
|
+
delayInSeconds?: number | null | undefined;
|
|
17487
|
+
ignoreTransform?: boolean | undefined;
|
|
17488
|
+
mediaUrls?: string[] | null | undefined;
|
|
15444
17489
|
} | undefined;
|
|
15445
17490
|
secondsDelay?: number | undefined;
|
|
15446
17491
|
scheduled?: number | undefined;
|
|
@@ -15492,8 +17537,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15492
17537
|
})[] | undefined;
|
|
15493
17538
|
removeInstructions?: string[] | undefined;
|
|
15494
17539
|
message?: string | {
|
|
15495
|
-
|
|
15496
|
-
|
|
17540
|
+
name?: string | undefined;
|
|
17541
|
+
content?: string | undefined;
|
|
17542
|
+
context?: any;
|
|
17543
|
+
scheduled?: string | undefined;
|
|
17544
|
+
intent?: string | null | undefined;
|
|
17545
|
+
intentScore?: number | null | undefined;
|
|
17546
|
+
delayInSeconds?: number | null | undefined;
|
|
17547
|
+
ignoreTransform?: boolean | undefined;
|
|
17548
|
+
mediaUrls?: string[] | null | undefined;
|
|
15497
17549
|
} | undefined;
|
|
15498
17550
|
secondsDelay?: number | undefined;
|
|
15499
17551
|
scheduled?: number | undefined;
|
|
@@ -15528,15 +17580,58 @@ declare module '@scout9/app/schemas' {
|
|
|
15528
17580
|
} | undefined;
|
|
15529
17581
|
};
|
|
15530
17582
|
}>, z.ZodArray<z.ZodObject<{
|
|
15531
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
15535
|
-
|
|
15536
|
-
|
|
17583
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
17584
|
+
id: z.ZodOptional<z.ZodString>;
|
|
17585
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
17586
|
+
content: z.ZodOptional<z.ZodString>;
|
|
17587
|
+
time: z.ZodOptional<z.ZodString>;
|
|
17588
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17589
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17590
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
17591
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
17592
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
17593
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
17594
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17595
|
+
start: z.ZodNumber;
|
|
17596
|
+
end: z.ZodNumber;
|
|
17597
|
+
type: z.ZodString;
|
|
17598
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17599
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17600
|
+
}, "strip", z.ZodTypeAny, {
|
|
17601
|
+
type: string;
|
|
17602
|
+
end: number;
|
|
17603
|
+
start: number;
|
|
17604
|
+
option?: string | null | undefined;
|
|
17605
|
+
text?: string | null | undefined;
|
|
17606
|
+
}, {
|
|
17607
|
+
type: string;
|
|
17608
|
+
end: number;
|
|
17609
|
+
start: number;
|
|
17610
|
+
option?: string | null | undefined;
|
|
17611
|
+
text?: string | null | undefined;
|
|
17612
|
+
}>, "many">>>>;
|
|
17613
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
17614
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
17615
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
17616
|
+
name?: string | undefined;
|
|
17617
|
+
content?: string | undefined;
|
|
17618
|
+
context?: any;
|
|
17619
|
+
scheduled?: string | undefined;
|
|
17620
|
+
intent?: string | null | undefined;
|
|
17621
|
+
intentScore?: number | null | undefined;
|
|
17622
|
+
delayInSeconds?: number | null | undefined;
|
|
17623
|
+
ignoreTransform?: boolean | undefined;
|
|
17624
|
+
mediaUrls?: string[] | null | undefined;
|
|
15537
17625
|
}, {
|
|
15538
|
-
|
|
15539
|
-
|
|
17626
|
+
name?: string | undefined;
|
|
17627
|
+
content?: string | undefined;
|
|
17628
|
+
context?: any;
|
|
17629
|
+
scheduled?: string | undefined;
|
|
17630
|
+
intent?: string | null | undefined;
|
|
17631
|
+
intentScore?: number | null | undefined;
|
|
17632
|
+
delayInSeconds?: number | null | undefined;
|
|
17633
|
+
ignoreTransform?: boolean | undefined;
|
|
17634
|
+
mediaUrls?: string[] | null | undefined;
|
|
15540
17635
|
}>]>>;
|
|
15541
17636
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
15542
17637
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -15673,8 +17768,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15673
17768
|
}, "strip", z.ZodTypeAny, {
|
|
15674
17769
|
keywords: string[];
|
|
15675
17770
|
message?: string | {
|
|
15676
|
-
|
|
15677
|
-
|
|
17771
|
+
name?: string | undefined;
|
|
17772
|
+
content?: string | undefined;
|
|
17773
|
+
context?: any;
|
|
17774
|
+
scheduled?: string | undefined;
|
|
17775
|
+
intent?: string | null | undefined;
|
|
17776
|
+
intentScore?: number | null | undefined;
|
|
17777
|
+
delayInSeconds?: number | null | undefined;
|
|
17778
|
+
ignoreTransform?: boolean | undefined;
|
|
17779
|
+
mediaUrls?: string[] | null | undefined;
|
|
15678
17780
|
} | undefined;
|
|
15679
17781
|
forward?: string | boolean | {
|
|
15680
17782
|
to?: string | undefined;
|
|
@@ -15726,8 +17828,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15726
17828
|
}, {
|
|
15727
17829
|
keywords: string[];
|
|
15728
17830
|
message?: string | {
|
|
15729
|
-
|
|
15730
|
-
|
|
17831
|
+
name?: string | undefined;
|
|
17832
|
+
content?: string | undefined;
|
|
17833
|
+
context?: any;
|
|
17834
|
+
scheduled?: string | undefined;
|
|
17835
|
+
intent?: string | null | undefined;
|
|
17836
|
+
intentScore?: number | null | undefined;
|
|
17837
|
+
delayInSeconds?: number | null | undefined;
|
|
17838
|
+
ignoreTransform?: boolean | undefined;
|
|
17839
|
+
mediaUrls?: string[] | null | undefined;
|
|
15731
17840
|
} | undefined;
|
|
15732
17841
|
forward?: string | boolean | {
|
|
15733
17842
|
to?: string | undefined;
|
|
@@ -15777,10 +17886,45 @@ declare module '@scout9/app/schemas' {
|
|
|
15777
17886
|
overrideLock?: boolean | undefined;
|
|
15778
17887
|
} | undefined;
|
|
15779
17888
|
}>, "many">]>>;
|
|
17889
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
17890
|
+
entityType: z.ZodString;
|
|
17891
|
+
entityRecordId: z.ZodString;
|
|
17892
|
+
method: z.ZodLiteral<"delete">;
|
|
17893
|
+
}, "strip", z.ZodTypeAny, {
|
|
17894
|
+
method: "delete";
|
|
17895
|
+
entityType: string;
|
|
17896
|
+
entityRecordId: string;
|
|
17897
|
+
}, {
|
|
17898
|
+
method: "delete";
|
|
17899
|
+
entityType: string;
|
|
17900
|
+
entityRecordId: string;
|
|
17901
|
+
}>, z.ZodObject<{
|
|
17902
|
+
entityType: z.ZodString;
|
|
17903
|
+
entityRecordId: z.ZodString;
|
|
17904
|
+
method: z.ZodLiteral<"mutate">;
|
|
17905
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
17906
|
+
}, "strip", z.ZodTypeAny, {
|
|
17907
|
+
method: "mutate";
|
|
17908
|
+
entityType: string;
|
|
17909
|
+
entityRecordId: string;
|
|
17910
|
+
fields: Record<string, string | number | boolean | null>;
|
|
17911
|
+
}, {
|
|
17912
|
+
method: "mutate";
|
|
17913
|
+
entityType: string;
|
|
17914
|
+
entityRecordId: string;
|
|
17915
|
+
fields: Record<string, string | number | boolean | null>;
|
|
17916
|
+
}>]>, "many">>;
|
|
15780
17917
|
}, "strip", z.ZodTypeAny, {
|
|
15781
17918
|
message?: string | {
|
|
15782
|
-
|
|
15783
|
-
|
|
17919
|
+
name?: string | undefined;
|
|
17920
|
+
content?: string | undefined;
|
|
17921
|
+
context?: any;
|
|
17922
|
+
scheduled?: string | undefined;
|
|
17923
|
+
intent?: string | null | undefined;
|
|
17924
|
+
intentScore?: number | null | undefined;
|
|
17925
|
+
delayInSeconds?: number | null | undefined;
|
|
17926
|
+
ignoreTransform?: boolean | undefined;
|
|
17927
|
+
mediaUrls?: string[] | null | undefined;
|
|
15784
17928
|
} | undefined;
|
|
15785
17929
|
forward?: string | boolean | {
|
|
15786
17930
|
to?: string | undefined;
|
|
@@ -15849,8 +17993,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15849
17993
|
})[] | undefined;
|
|
15850
17994
|
removeInstructions?: string[] | undefined;
|
|
15851
17995
|
message?: string | {
|
|
15852
|
-
|
|
15853
|
-
|
|
17996
|
+
name?: string | undefined;
|
|
17997
|
+
content?: string | undefined;
|
|
17998
|
+
context?: any;
|
|
17999
|
+
scheduled?: string | undefined;
|
|
18000
|
+
intent?: string | null | undefined;
|
|
18001
|
+
intentScore?: number | null | undefined;
|
|
18002
|
+
delayInSeconds?: number | null | undefined;
|
|
18003
|
+
ignoreTransform?: boolean | undefined;
|
|
18004
|
+
mediaUrls?: string[] | null | undefined;
|
|
15854
18005
|
} | undefined;
|
|
15855
18006
|
secondsDelay?: number | undefined;
|
|
15856
18007
|
scheduled?: number | undefined;
|
|
@@ -15902,8 +18053,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15902
18053
|
})[] | undefined;
|
|
15903
18054
|
removeInstructions?: string[] | undefined;
|
|
15904
18055
|
message?: string | {
|
|
15905
|
-
|
|
15906
|
-
|
|
18056
|
+
name?: string | undefined;
|
|
18057
|
+
content?: string | undefined;
|
|
18058
|
+
context?: any;
|
|
18059
|
+
scheduled?: string | undefined;
|
|
18060
|
+
intent?: string | null | undefined;
|
|
18061
|
+
intentScore?: number | null | undefined;
|
|
18062
|
+
delayInSeconds?: number | null | undefined;
|
|
18063
|
+
ignoreTransform?: boolean | undefined;
|
|
18064
|
+
mediaUrls?: string[] | null | undefined;
|
|
15907
18065
|
} | undefined;
|
|
15908
18066
|
secondsDelay?: number | undefined;
|
|
15909
18067
|
scheduled?: number | undefined;
|
|
@@ -15940,8 +18098,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15940
18098
|
} | {
|
|
15941
18099
|
keywords: string[];
|
|
15942
18100
|
message?: string | {
|
|
15943
|
-
|
|
15944
|
-
|
|
18101
|
+
name?: string | undefined;
|
|
18102
|
+
content?: string | undefined;
|
|
18103
|
+
context?: any;
|
|
18104
|
+
scheduled?: string | undefined;
|
|
18105
|
+
intent?: string | null | undefined;
|
|
18106
|
+
intentScore?: number | null | undefined;
|
|
18107
|
+
delayInSeconds?: number | null | undefined;
|
|
18108
|
+
ignoreTransform?: boolean | undefined;
|
|
18109
|
+
mediaUrls?: string[] | null | undefined;
|
|
15945
18110
|
} | undefined;
|
|
15946
18111
|
forward?: string | boolean | {
|
|
15947
18112
|
to?: string | undefined;
|
|
@@ -15991,10 +18156,27 @@ declare module '@scout9/app/schemas' {
|
|
|
15991
18156
|
overrideLock?: boolean | undefined;
|
|
15992
18157
|
} | undefined;
|
|
15993
18158
|
}[] | undefined;
|
|
18159
|
+
entityContextUpsert?: ({
|
|
18160
|
+
method: "delete";
|
|
18161
|
+
entityType: string;
|
|
18162
|
+
entityRecordId: string;
|
|
18163
|
+
} | {
|
|
18164
|
+
method: "mutate";
|
|
18165
|
+
entityType: string;
|
|
18166
|
+
entityRecordId: string;
|
|
18167
|
+
fields: Record<string, string | number | boolean | null>;
|
|
18168
|
+
})[] | undefined;
|
|
15994
18169
|
}, {
|
|
15995
18170
|
message?: string | {
|
|
15996
|
-
|
|
15997
|
-
|
|
18171
|
+
name?: string | undefined;
|
|
18172
|
+
content?: string | undefined;
|
|
18173
|
+
context?: any;
|
|
18174
|
+
scheduled?: string | undefined;
|
|
18175
|
+
intent?: string | null | undefined;
|
|
18176
|
+
intentScore?: number | null | undefined;
|
|
18177
|
+
delayInSeconds?: number | null | undefined;
|
|
18178
|
+
ignoreTransform?: boolean | undefined;
|
|
18179
|
+
mediaUrls?: string[] | null | undefined;
|
|
15998
18180
|
} | undefined;
|
|
15999
18181
|
forward?: string | boolean | {
|
|
16000
18182
|
to?: string | undefined;
|
|
@@ -16063,8 +18245,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16063
18245
|
})[] | undefined;
|
|
16064
18246
|
removeInstructions?: string[] | undefined;
|
|
16065
18247
|
message?: string | {
|
|
16066
|
-
|
|
16067
|
-
|
|
18248
|
+
name?: string | undefined;
|
|
18249
|
+
content?: string | undefined;
|
|
18250
|
+
context?: any;
|
|
18251
|
+
scheduled?: string | undefined;
|
|
18252
|
+
intent?: string | null | undefined;
|
|
18253
|
+
intentScore?: number | null | undefined;
|
|
18254
|
+
delayInSeconds?: number | null | undefined;
|
|
18255
|
+
ignoreTransform?: boolean | undefined;
|
|
18256
|
+
mediaUrls?: string[] | null | undefined;
|
|
16068
18257
|
} | undefined;
|
|
16069
18258
|
secondsDelay?: number | undefined;
|
|
16070
18259
|
scheduled?: number | undefined;
|
|
@@ -16116,8 +18305,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16116
18305
|
})[] | undefined;
|
|
16117
18306
|
removeInstructions?: string[] | undefined;
|
|
16118
18307
|
message?: string | {
|
|
16119
|
-
|
|
16120
|
-
|
|
18308
|
+
name?: string | undefined;
|
|
18309
|
+
content?: string | undefined;
|
|
18310
|
+
context?: any;
|
|
18311
|
+
scheduled?: string | undefined;
|
|
18312
|
+
intent?: string | null | undefined;
|
|
18313
|
+
intentScore?: number | null | undefined;
|
|
18314
|
+
delayInSeconds?: number | null | undefined;
|
|
18315
|
+
ignoreTransform?: boolean | undefined;
|
|
18316
|
+
mediaUrls?: string[] | null | undefined;
|
|
16121
18317
|
} | undefined;
|
|
16122
18318
|
secondsDelay?: number | undefined;
|
|
16123
18319
|
scheduled?: number | undefined;
|
|
@@ -16154,8 +18350,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16154
18350
|
} | {
|
|
16155
18351
|
keywords: string[];
|
|
16156
18352
|
message?: string | {
|
|
16157
|
-
|
|
16158
|
-
|
|
18353
|
+
name?: string | undefined;
|
|
18354
|
+
content?: string | undefined;
|
|
18355
|
+
context?: any;
|
|
18356
|
+
scheduled?: string | undefined;
|
|
18357
|
+
intent?: string | null | undefined;
|
|
18358
|
+
intentScore?: number | null | undefined;
|
|
18359
|
+
delayInSeconds?: number | null | undefined;
|
|
18360
|
+
ignoreTransform?: boolean | undefined;
|
|
18361
|
+
mediaUrls?: string[] | null | undefined;
|
|
16159
18362
|
} | undefined;
|
|
16160
18363
|
forward?: string | boolean | {
|
|
16161
18364
|
to?: string | undefined;
|
|
@@ -16205,16 +18408,69 @@ declare module '@scout9/app/schemas' {
|
|
|
16205
18408
|
overrideLock?: boolean | undefined;
|
|
16206
18409
|
} | undefined;
|
|
16207
18410
|
}[] | undefined;
|
|
18411
|
+
entityContextUpsert?: ({
|
|
18412
|
+
method: "delete";
|
|
18413
|
+
entityType: string;
|
|
18414
|
+
entityRecordId: string;
|
|
18415
|
+
} | {
|
|
18416
|
+
method: "mutate";
|
|
18417
|
+
entityType: string;
|
|
18418
|
+
entityRecordId: string;
|
|
18419
|
+
fields: Record<string, string | number | boolean | null>;
|
|
18420
|
+
})[] | undefined;
|
|
16208
18421
|
}>, z.ZodArray<z.ZodObject<{
|
|
16209
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
18422
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
18423
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18424
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
18425
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18426
|
+
time: z.ZodOptional<z.ZodString>;
|
|
18427
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18428
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18429
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
18430
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18431
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18432
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18433
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18434
|
+
start: z.ZodNumber;
|
|
18435
|
+
end: z.ZodNumber;
|
|
18436
|
+
type: z.ZodString;
|
|
18437
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18438
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18439
|
+
}, "strip", z.ZodTypeAny, {
|
|
18440
|
+
type: string;
|
|
18441
|
+
end: number;
|
|
18442
|
+
start: number;
|
|
18443
|
+
option?: string | null | undefined;
|
|
18444
|
+
text?: string | null | undefined;
|
|
18445
|
+
}, {
|
|
18446
|
+
type: string;
|
|
18447
|
+
end: number;
|
|
18448
|
+
start: number;
|
|
18449
|
+
option?: string | null | undefined;
|
|
18450
|
+
text?: string | null | undefined;
|
|
18451
|
+
}>, "many">>>>;
|
|
18452
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
18453
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
18454
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
18455
|
+
name?: string | undefined;
|
|
18456
|
+
content?: string | undefined;
|
|
18457
|
+
context?: any;
|
|
18458
|
+
scheduled?: string | undefined;
|
|
18459
|
+
intent?: string | null | undefined;
|
|
18460
|
+
intentScore?: number | null | undefined;
|
|
18461
|
+
delayInSeconds?: number | null | undefined;
|
|
18462
|
+
ignoreTransform?: boolean | undefined;
|
|
18463
|
+
mediaUrls?: string[] | null | undefined;
|
|
16215
18464
|
}, {
|
|
16216
|
-
|
|
16217
|
-
|
|
18465
|
+
name?: string | undefined;
|
|
18466
|
+
content?: string | undefined;
|
|
18467
|
+
context?: any;
|
|
18468
|
+
scheduled?: string | undefined;
|
|
18469
|
+
intent?: string | null | undefined;
|
|
18470
|
+
intentScore?: number | null | undefined;
|
|
18471
|
+
delayInSeconds?: number | null | undefined;
|
|
18472
|
+
ignoreTransform?: boolean | undefined;
|
|
18473
|
+
mediaUrls?: string[] | null | undefined;
|
|
16218
18474
|
}>]>>;
|
|
16219
18475
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
16220
18476
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -16390,15 +18646,58 @@ declare module '@scout9/app/schemas' {
|
|
|
16390
18646
|
persist?: boolean | undefined;
|
|
16391
18647
|
}>]>, "many">]>>;
|
|
16392
18648
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16393
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16397
|
-
|
|
16398
|
-
|
|
18649
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
18650
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18651
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
18652
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18653
|
+
time: z.ZodOptional<z.ZodString>;
|
|
18654
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18655
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18656
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
18657
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18658
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18659
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18660
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18661
|
+
start: z.ZodNumber;
|
|
18662
|
+
end: z.ZodNumber;
|
|
18663
|
+
type: z.ZodString;
|
|
18664
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18665
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18666
|
+
}, "strip", z.ZodTypeAny, {
|
|
18667
|
+
type: string;
|
|
18668
|
+
end: number;
|
|
18669
|
+
start: number;
|
|
18670
|
+
option?: string | null | undefined;
|
|
18671
|
+
text?: string | null | undefined;
|
|
18672
|
+
}, {
|
|
18673
|
+
type: string;
|
|
18674
|
+
end: number;
|
|
18675
|
+
start: number;
|
|
18676
|
+
option?: string | null | undefined;
|
|
18677
|
+
text?: string | null | undefined;
|
|
18678
|
+
}>, "many">>>>;
|
|
18679
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
18680
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
18681
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
18682
|
+
name?: string | undefined;
|
|
18683
|
+
content?: string | undefined;
|
|
18684
|
+
context?: any;
|
|
18685
|
+
scheduled?: string | undefined;
|
|
18686
|
+
intent?: string | null | undefined;
|
|
18687
|
+
intentScore?: number | null | undefined;
|
|
18688
|
+
delayInSeconds?: number | null | undefined;
|
|
18689
|
+
ignoreTransform?: boolean | undefined;
|
|
18690
|
+
mediaUrls?: string[] | null | undefined;
|
|
16399
18691
|
}, {
|
|
16400
|
-
|
|
16401
|
-
|
|
18692
|
+
name?: string | undefined;
|
|
18693
|
+
content?: string | undefined;
|
|
18694
|
+
context?: any;
|
|
18695
|
+
scheduled?: string | undefined;
|
|
18696
|
+
intent?: string | null | undefined;
|
|
18697
|
+
intentScore?: number | null | undefined;
|
|
18698
|
+
delayInSeconds?: number | null | undefined;
|
|
18699
|
+
ignoreTransform?: boolean | undefined;
|
|
18700
|
+
mediaUrls?: string[] | null | undefined;
|
|
16402
18701
|
}>]>>;
|
|
16403
18702
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
16404
18703
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16509,8 +18808,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16509
18808
|
})[] | undefined;
|
|
16510
18809
|
removeInstructions?: string[] | undefined;
|
|
16511
18810
|
message?: string | {
|
|
16512
|
-
|
|
16513
|
-
|
|
18811
|
+
name?: string | undefined;
|
|
18812
|
+
content?: string | undefined;
|
|
18813
|
+
context?: any;
|
|
18814
|
+
scheduled?: string | undefined;
|
|
18815
|
+
intent?: string | null | undefined;
|
|
18816
|
+
intentScore?: number | null | undefined;
|
|
18817
|
+
delayInSeconds?: number | null | undefined;
|
|
18818
|
+
ignoreTransform?: boolean | undefined;
|
|
18819
|
+
mediaUrls?: string[] | null | undefined;
|
|
16514
18820
|
} | undefined;
|
|
16515
18821
|
secondsDelay?: number | undefined;
|
|
16516
18822
|
scheduled?: number | undefined;
|
|
@@ -16561,8 +18867,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16561
18867
|
})[] | undefined;
|
|
16562
18868
|
removeInstructions?: string[] | undefined;
|
|
16563
18869
|
message?: string | {
|
|
16564
|
-
|
|
16565
|
-
|
|
18870
|
+
name?: string | undefined;
|
|
18871
|
+
content?: string | undefined;
|
|
18872
|
+
context?: any;
|
|
18873
|
+
scheduled?: string | undefined;
|
|
18874
|
+
intent?: string | null | undefined;
|
|
18875
|
+
intentScore?: number | null | undefined;
|
|
18876
|
+
delayInSeconds?: number | null | undefined;
|
|
18877
|
+
ignoreTransform?: boolean | undefined;
|
|
18878
|
+
mediaUrls?: string[] | null | undefined;
|
|
16566
18879
|
} | undefined;
|
|
16567
18880
|
secondsDelay?: number | undefined;
|
|
16568
18881
|
scheduled?: number | undefined;
|
|
@@ -16637,15 +18950,58 @@ declare module '@scout9/app/schemas' {
|
|
|
16637
18950
|
persist?: boolean | undefined;
|
|
16638
18951
|
}>]>, "many">]>>;
|
|
16639
18952
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16640
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
18953
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
18954
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18955
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
18956
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18957
|
+
time: z.ZodOptional<z.ZodString>;
|
|
18958
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18959
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18960
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
18961
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
18962
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18963
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18964
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18965
|
+
start: z.ZodNumber;
|
|
18966
|
+
end: z.ZodNumber;
|
|
18967
|
+
type: z.ZodString;
|
|
18968
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18969
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18970
|
+
}, "strip", z.ZodTypeAny, {
|
|
18971
|
+
type: string;
|
|
18972
|
+
end: number;
|
|
18973
|
+
start: number;
|
|
18974
|
+
option?: string | null | undefined;
|
|
18975
|
+
text?: string | null | undefined;
|
|
18976
|
+
}, {
|
|
18977
|
+
type: string;
|
|
18978
|
+
end: number;
|
|
18979
|
+
start: number;
|
|
18980
|
+
option?: string | null | undefined;
|
|
18981
|
+
text?: string | null | undefined;
|
|
18982
|
+
}>, "many">>>>;
|
|
18983
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
18984
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
18985
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
18986
|
+
name?: string | undefined;
|
|
18987
|
+
content?: string | undefined;
|
|
18988
|
+
context?: any;
|
|
18989
|
+
scheduled?: string | undefined;
|
|
18990
|
+
intent?: string | null | undefined;
|
|
18991
|
+
intentScore?: number | null | undefined;
|
|
18992
|
+
delayInSeconds?: number | null | undefined;
|
|
18993
|
+
ignoreTransform?: boolean | undefined;
|
|
18994
|
+
mediaUrls?: string[] | null | undefined;
|
|
16646
18995
|
}, {
|
|
16647
|
-
|
|
16648
|
-
|
|
18996
|
+
name?: string | undefined;
|
|
18997
|
+
content?: string | undefined;
|
|
18998
|
+
context?: any;
|
|
18999
|
+
scheduled?: string | undefined;
|
|
19000
|
+
intent?: string | null | undefined;
|
|
19001
|
+
intentScore?: number | null | undefined;
|
|
19002
|
+
delayInSeconds?: number | null | undefined;
|
|
19003
|
+
ignoreTransform?: boolean | undefined;
|
|
19004
|
+
mediaUrls?: string[] | null | undefined;
|
|
16649
19005
|
}>]>>;
|
|
16650
19006
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
16651
19007
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16756,8 +19112,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16756
19112
|
})[] | undefined;
|
|
16757
19113
|
removeInstructions?: string[] | undefined;
|
|
16758
19114
|
message?: string | {
|
|
16759
|
-
|
|
16760
|
-
|
|
19115
|
+
name?: string | undefined;
|
|
19116
|
+
content?: string | undefined;
|
|
19117
|
+
context?: any;
|
|
19118
|
+
scheduled?: string | undefined;
|
|
19119
|
+
intent?: string | null | undefined;
|
|
19120
|
+
intentScore?: number | null | undefined;
|
|
19121
|
+
delayInSeconds?: number | null | undefined;
|
|
19122
|
+
ignoreTransform?: boolean | undefined;
|
|
19123
|
+
mediaUrls?: string[] | null | undefined;
|
|
16761
19124
|
} | undefined;
|
|
16762
19125
|
secondsDelay?: number | undefined;
|
|
16763
19126
|
scheduled?: number | undefined;
|
|
@@ -16808,8 +19171,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16808
19171
|
})[] | undefined;
|
|
16809
19172
|
removeInstructions?: string[] | undefined;
|
|
16810
19173
|
message?: string | {
|
|
16811
|
-
|
|
16812
|
-
|
|
19174
|
+
name?: string | undefined;
|
|
19175
|
+
content?: string | undefined;
|
|
19176
|
+
context?: any;
|
|
19177
|
+
scheduled?: string | undefined;
|
|
19178
|
+
intent?: string | null | undefined;
|
|
19179
|
+
intentScore?: number | null | undefined;
|
|
19180
|
+
delayInSeconds?: number | null | undefined;
|
|
19181
|
+
ignoreTransform?: boolean | undefined;
|
|
19182
|
+
mediaUrls?: string[] | null | undefined;
|
|
16813
19183
|
} | undefined;
|
|
16814
19184
|
secondsDelay?: number | undefined;
|
|
16815
19185
|
scheduled?: number | undefined;
|
|
@@ -16863,8 +19233,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16863
19233
|
})[] | undefined;
|
|
16864
19234
|
removeInstructions?: string[] | undefined;
|
|
16865
19235
|
message?: string | {
|
|
16866
|
-
|
|
16867
|
-
|
|
19236
|
+
name?: string | undefined;
|
|
19237
|
+
content?: string | undefined;
|
|
19238
|
+
context?: any;
|
|
19239
|
+
scheduled?: string | undefined;
|
|
19240
|
+
intent?: string | null | undefined;
|
|
19241
|
+
intentScore?: number | null | undefined;
|
|
19242
|
+
delayInSeconds?: number | null | undefined;
|
|
19243
|
+
ignoreTransform?: boolean | undefined;
|
|
19244
|
+
mediaUrls?: string[] | null | undefined;
|
|
16868
19245
|
} | undefined;
|
|
16869
19246
|
secondsDelay?: number | undefined;
|
|
16870
19247
|
scheduled?: number | undefined;
|
|
@@ -16916,8 +19293,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16916
19293
|
})[] | undefined;
|
|
16917
19294
|
removeInstructions?: string[] | undefined;
|
|
16918
19295
|
message?: string | {
|
|
16919
|
-
|
|
16920
|
-
|
|
19296
|
+
name?: string | undefined;
|
|
19297
|
+
content?: string | undefined;
|
|
19298
|
+
context?: any;
|
|
19299
|
+
scheduled?: string | undefined;
|
|
19300
|
+
intent?: string | null | undefined;
|
|
19301
|
+
intentScore?: number | null | undefined;
|
|
19302
|
+
delayInSeconds?: number | null | undefined;
|
|
19303
|
+
ignoreTransform?: boolean | undefined;
|
|
19304
|
+
mediaUrls?: string[] | null | undefined;
|
|
16921
19305
|
} | undefined;
|
|
16922
19306
|
secondsDelay?: number | undefined;
|
|
16923
19307
|
scheduled?: number | undefined;
|
|
@@ -16971,8 +19355,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16971
19355
|
})[] | undefined;
|
|
16972
19356
|
removeInstructions?: string[] | undefined;
|
|
16973
19357
|
message?: string | {
|
|
16974
|
-
|
|
16975
|
-
|
|
19358
|
+
name?: string | undefined;
|
|
19359
|
+
content?: string | undefined;
|
|
19360
|
+
context?: any;
|
|
19361
|
+
scheduled?: string | undefined;
|
|
19362
|
+
intent?: string | null | undefined;
|
|
19363
|
+
intentScore?: number | null | undefined;
|
|
19364
|
+
delayInSeconds?: number | null | undefined;
|
|
19365
|
+
ignoreTransform?: boolean | undefined;
|
|
19366
|
+
mediaUrls?: string[] | null | undefined;
|
|
16976
19367
|
} | undefined;
|
|
16977
19368
|
secondsDelay?: number | undefined;
|
|
16978
19369
|
scheduled?: number | undefined;
|
|
@@ -17024,8 +19415,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17024
19415
|
})[] | undefined;
|
|
17025
19416
|
removeInstructions?: string[] | undefined;
|
|
17026
19417
|
message?: string | {
|
|
17027
|
-
|
|
17028
|
-
|
|
19418
|
+
name?: string | undefined;
|
|
19419
|
+
content?: string | undefined;
|
|
19420
|
+
context?: any;
|
|
19421
|
+
scheduled?: string | undefined;
|
|
19422
|
+
intent?: string | null | undefined;
|
|
19423
|
+
intentScore?: number | null | undefined;
|
|
19424
|
+
delayInSeconds?: number | null | undefined;
|
|
19425
|
+
ignoreTransform?: boolean | undefined;
|
|
19426
|
+
mediaUrls?: string[] | null | undefined;
|
|
17029
19427
|
} | undefined;
|
|
17030
19428
|
secondsDelay?: number | undefined;
|
|
17031
19429
|
scheduled?: number | undefined;
|
|
@@ -17060,15 +19458,58 @@ declare module '@scout9/app/schemas' {
|
|
|
17060
19458
|
} | undefined;
|
|
17061
19459
|
};
|
|
17062
19460
|
}>, z.ZodArray<z.ZodObject<{
|
|
17063
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
|
|
19461
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<Omit<{
|
|
19462
|
+
id: z.ZodOptional<z.ZodString>;
|
|
19463
|
+
role: z.ZodOptional<z.ZodEnum<["agent", "customer", "system"]>>;
|
|
19464
|
+
content: z.ZodOptional<z.ZodString>;
|
|
19465
|
+
time: z.ZodOptional<z.ZodString>;
|
|
19466
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19467
|
+
scheduled: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19468
|
+
context: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
19469
|
+
intent: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
19470
|
+
intentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
19471
|
+
delayInSeconds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
19472
|
+
entities: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19473
|
+
start: z.ZodNumber;
|
|
19474
|
+
end: z.ZodNumber;
|
|
19475
|
+
type: z.ZodString;
|
|
19476
|
+
option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19477
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19478
|
+
}, "strip", z.ZodTypeAny, {
|
|
19479
|
+
type: string;
|
|
19480
|
+
end: number;
|
|
19481
|
+
start: number;
|
|
19482
|
+
option?: string | null | undefined;
|
|
19483
|
+
text?: string | null | undefined;
|
|
19484
|
+
}, {
|
|
19485
|
+
type: string;
|
|
19486
|
+
end: number;
|
|
19487
|
+
start: number;
|
|
19488
|
+
option?: string | null | undefined;
|
|
19489
|
+
text?: string | null | undefined;
|
|
19490
|
+
}>, "many">>>>;
|
|
19491
|
+
ignoreTransform: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
19492
|
+
mediaUrls: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
19493
|
+
}, "time" | "id" | "role" | "entities">, "strip", z.ZodTypeAny, {
|
|
19494
|
+
name?: string | undefined;
|
|
19495
|
+
content?: string | undefined;
|
|
19496
|
+
context?: any;
|
|
19497
|
+
scheduled?: string | undefined;
|
|
19498
|
+
intent?: string | null | undefined;
|
|
19499
|
+
intentScore?: number | null | undefined;
|
|
19500
|
+
delayInSeconds?: number | null | undefined;
|
|
19501
|
+
ignoreTransform?: boolean | undefined;
|
|
19502
|
+
mediaUrls?: string[] | null | undefined;
|
|
17069
19503
|
}, {
|
|
17070
|
-
|
|
17071
|
-
|
|
19504
|
+
name?: string | undefined;
|
|
19505
|
+
content?: string | undefined;
|
|
19506
|
+
context?: any;
|
|
19507
|
+
scheduled?: string | undefined;
|
|
19508
|
+
intent?: string | null | undefined;
|
|
19509
|
+
intentScore?: number | null | undefined;
|
|
19510
|
+
delayInSeconds?: number | null | undefined;
|
|
19511
|
+
ignoreTransform?: boolean | undefined;
|
|
19512
|
+
mediaUrls?: string[] | null | undefined;
|
|
17072
19513
|
}>]>>;
|
|
17073
19514
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
17074
19515
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -17205,8 +19646,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17205
19646
|
}, "strip", z.ZodTypeAny, {
|
|
17206
19647
|
keywords: string[];
|
|
17207
19648
|
message?: string | {
|
|
17208
|
-
|
|
17209
|
-
|
|
19649
|
+
name?: string | undefined;
|
|
19650
|
+
content?: string | undefined;
|
|
19651
|
+
context?: any;
|
|
19652
|
+
scheduled?: string | undefined;
|
|
19653
|
+
intent?: string | null | undefined;
|
|
19654
|
+
intentScore?: number | null | undefined;
|
|
19655
|
+
delayInSeconds?: number | null | undefined;
|
|
19656
|
+
ignoreTransform?: boolean | undefined;
|
|
19657
|
+
mediaUrls?: string[] | null | undefined;
|
|
17210
19658
|
} | undefined;
|
|
17211
19659
|
forward?: string | boolean | {
|
|
17212
19660
|
to?: string | undefined;
|
|
@@ -17258,8 +19706,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17258
19706
|
}, {
|
|
17259
19707
|
keywords: string[];
|
|
17260
19708
|
message?: string | {
|
|
17261
|
-
|
|
17262
|
-
|
|
19709
|
+
name?: string | undefined;
|
|
19710
|
+
content?: string | undefined;
|
|
19711
|
+
context?: any;
|
|
19712
|
+
scheduled?: string | undefined;
|
|
19713
|
+
intent?: string | null | undefined;
|
|
19714
|
+
intentScore?: number | null | undefined;
|
|
19715
|
+
delayInSeconds?: number | null | undefined;
|
|
19716
|
+
ignoreTransform?: boolean | undefined;
|
|
19717
|
+
mediaUrls?: string[] | null | undefined;
|
|
17263
19718
|
} | undefined;
|
|
17264
19719
|
forward?: string | boolean | {
|
|
17265
19720
|
to?: string | undefined;
|
|
@@ -17309,10 +19764,45 @@ declare module '@scout9/app/schemas' {
|
|
|
17309
19764
|
overrideLock?: boolean | undefined;
|
|
17310
19765
|
} | undefined;
|
|
17311
19766
|
}>, "many">]>>;
|
|
19767
|
+
entityContextUpsert: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
|
|
19768
|
+
entityType: z.ZodString;
|
|
19769
|
+
entityRecordId: z.ZodString;
|
|
19770
|
+
method: z.ZodLiteral<"delete">;
|
|
19771
|
+
}, "strip", z.ZodTypeAny, {
|
|
19772
|
+
method: "delete";
|
|
19773
|
+
entityType: string;
|
|
19774
|
+
entityRecordId: string;
|
|
19775
|
+
}, {
|
|
19776
|
+
method: "delete";
|
|
19777
|
+
entityType: string;
|
|
19778
|
+
entityRecordId: string;
|
|
19779
|
+
}>, z.ZodObject<{
|
|
19780
|
+
entityType: z.ZodString;
|
|
19781
|
+
entityRecordId: z.ZodString;
|
|
19782
|
+
method: z.ZodLiteral<"mutate">;
|
|
19783
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodLiteral<"#remove">, z.ZodLiteral<"#delete">]>>;
|
|
19784
|
+
}, "strip", z.ZodTypeAny, {
|
|
19785
|
+
method: "mutate";
|
|
19786
|
+
entityType: string;
|
|
19787
|
+
entityRecordId: string;
|
|
19788
|
+
fields: Record<string, string | number | boolean | null>;
|
|
19789
|
+
}, {
|
|
19790
|
+
method: "mutate";
|
|
19791
|
+
entityType: string;
|
|
19792
|
+
entityRecordId: string;
|
|
19793
|
+
fields: Record<string, string | number | boolean | null>;
|
|
19794
|
+
}>]>, "many">>;
|
|
17312
19795
|
}, "strip", z.ZodTypeAny, {
|
|
17313
19796
|
message?: string | {
|
|
17314
|
-
|
|
17315
|
-
|
|
19797
|
+
name?: string | undefined;
|
|
19798
|
+
content?: string | undefined;
|
|
19799
|
+
context?: any;
|
|
19800
|
+
scheduled?: string | undefined;
|
|
19801
|
+
intent?: string | null | undefined;
|
|
19802
|
+
intentScore?: number | null | undefined;
|
|
19803
|
+
delayInSeconds?: number | null | undefined;
|
|
19804
|
+
ignoreTransform?: boolean | undefined;
|
|
19805
|
+
mediaUrls?: string[] | null | undefined;
|
|
17316
19806
|
} | undefined;
|
|
17317
19807
|
forward?: string | boolean | {
|
|
17318
19808
|
to?: string | undefined;
|
|
@@ -17381,8 +19871,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17381
19871
|
})[] | undefined;
|
|
17382
19872
|
removeInstructions?: string[] | undefined;
|
|
17383
19873
|
message?: string | {
|
|
17384
|
-
|
|
17385
|
-
|
|
19874
|
+
name?: string | undefined;
|
|
19875
|
+
content?: string | undefined;
|
|
19876
|
+
context?: any;
|
|
19877
|
+
scheduled?: string | undefined;
|
|
19878
|
+
intent?: string | null | undefined;
|
|
19879
|
+
intentScore?: number | null | undefined;
|
|
19880
|
+
delayInSeconds?: number | null | undefined;
|
|
19881
|
+
ignoreTransform?: boolean | undefined;
|
|
19882
|
+
mediaUrls?: string[] | null | undefined;
|
|
17386
19883
|
} | undefined;
|
|
17387
19884
|
secondsDelay?: number | undefined;
|
|
17388
19885
|
scheduled?: number | undefined;
|
|
@@ -17434,8 +19931,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17434
19931
|
})[] | undefined;
|
|
17435
19932
|
removeInstructions?: string[] | undefined;
|
|
17436
19933
|
message?: string | {
|
|
17437
|
-
|
|
17438
|
-
|
|
19934
|
+
name?: string | undefined;
|
|
19935
|
+
content?: string | undefined;
|
|
19936
|
+
context?: any;
|
|
19937
|
+
scheduled?: string | undefined;
|
|
19938
|
+
intent?: string | null | undefined;
|
|
19939
|
+
intentScore?: number | null | undefined;
|
|
19940
|
+
delayInSeconds?: number | null | undefined;
|
|
19941
|
+
ignoreTransform?: boolean | undefined;
|
|
19942
|
+
mediaUrls?: string[] | null | undefined;
|
|
17439
19943
|
} | undefined;
|
|
17440
19944
|
secondsDelay?: number | undefined;
|
|
17441
19945
|
scheduled?: number | undefined;
|
|
@@ -17472,8 +19976,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17472
19976
|
} | {
|
|
17473
19977
|
keywords: string[];
|
|
17474
19978
|
message?: string | {
|
|
17475
|
-
|
|
17476
|
-
|
|
19979
|
+
name?: string | undefined;
|
|
19980
|
+
content?: string | undefined;
|
|
19981
|
+
context?: any;
|
|
19982
|
+
scheduled?: string | undefined;
|
|
19983
|
+
intent?: string | null | undefined;
|
|
19984
|
+
intentScore?: number | null | undefined;
|
|
19985
|
+
delayInSeconds?: number | null | undefined;
|
|
19986
|
+
ignoreTransform?: boolean | undefined;
|
|
19987
|
+
mediaUrls?: string[] | null | undefined;
|
|
17477
19988
|
} | undefined;
|
|
17478
19989
|
forward?: string | boolean | {
|
|
17479
19990
|
to?: string | undefined;
|
|
@@ -17523,10 +20034,27 @@ declare module '@scout9/app/schemas' {
|
|
|
17523
20034
|
overrideLock?: boolean | undefined;
|
|
17524
20035
|
} | undefined;
|
|
17525
20036
|
}[] | undefined;
|
|
20037
|
+
entityContextUpsert?: ({
|
|
20038
|
+
method: "delete";
|
|
20039
|
+
entityType: string;
|
|
20040
|
+
entityRecordId: string;
|
|
20041
|
+
} | {
|
|
20042
|
+
method: "mutate";
|
|
20043
|
+
entityType: string;
|
|
20044
|
+
entityRecordId: string;
|
|
20045
|
+
fields: Record<string, string | number | boolean | null>;
|
|
20046
|
+
})[] | undefined;
|
|
17526
20047
|
}, {
|
|
17527
20048
|
message?: string | {
|
|
17528
|
-
|
|
17529
|
-
|
|
20049
|
+
name?: string | undefined;
|
|
20050
|
+
content?: string | undefined;
|
|
20051
|
+
context?: any;
|
|
20052
|
+
scheduled?: string | undefined;
|
|
20053
|
+
intent?: string | null | undefined;
|
|
20054
|
+
intentScore?: number | null | undefined;
|
|
20055
|
+
delayInSeconds?: number | null | undefined;
|
|
20056
|
+
ignoreTransform?: boolean | undefined;
|
|
20057
|
+
mediaUrls?: string[] | null | undefined;
|
|
17530
20058
|
} | undefined;
|
|
17531
20059
|
forward?: string | boolean | {
|
|
17532
20060
|
to?: string | undefined;
|
|
@@ -17595,8 +20123,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17595
20123
|
})[] | undefined;
|
|
17596
20124
|
removeInstructions?: string[] | undefined;
|
|
17597
20125
|
message?: string | {
|
|
17598
|
-
|
|
17599
|
-
|
|
20126
|
+
name?: string | undefined;
|
|
20127
|
+
content?: string | undefined;
|
|
20128
|
+
context?: any;
|
|
20129
|
+
scheduled?: string | undefined;
|
|
20130
|
+
intent?: string | null | undefined;
|
|
20131
|
+
intentScore?: number | null | undefined;
|
|
20132
|
+
delayInSeconds?: number | null | undefined;
|
|
20133
|
+
ignoreTransform?: boolean | undefined;
|
|
20134
|
+
mediaUrls?: string[] | null | undefined;
|
|
17600
20135
|
} | undefined;
|
|
17601
20136
|
secondsDelay?: number | undefined;
|
|
17602
20137
|
scheduled?: number | undefined;
|
|
@@ -17648,8 +20183,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17648
20183
|
})[] | undefined;
|
|
17649
20184
|
removeInstructions?: string[] | undefined;
|
|
17650
20185
|
message?: string | {
|
|
17651
|
-
|
|
17652
|
-
|
|
20186
|
+
name?: string | undefined;
|
|
20187
|
+
content?: string | undefined;
|
|
20188
|
+
context?: any;
|
|
20189
|
+
scheduled?: string | undefined;
|
|
20190
|
+
intent?: string | null | undefined;
|
|
20191
|
+
intentScore?: number | null | undefined;
|
|
20192
|
+
delayInSeconds?: number | null | undefined;
|
|
20193
|
+
ignoreTransform?: boolean | undefined;
|
|
20194
|
+
mediaUrls?: string[] | null | undefined;
|
|
17653
20195
|
} | undefined;
|
|
17654
20196
|
secondsDelay?: number | undefined;
|
|
17655
20197
|
scheduled?: number | undefined;
|
|
@@ -17686,8 +20228,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17686
20228
|
} | {
|
|
17687
20229
|
keywords: string[];
|
|
17688
20230
|
message?: string | {
|
|
17689
|
-
|
|
17690
|
-
|
|
20231
|
+
name?: string | undefined;
|
|
20232
|
+
content?: string | undefined;
|
|
20233
|
+
context?: any;
|
|
20234
|
+
scheduled?: string | undefined;
|
|
20235
|
+
intent?: string | null | undefined;
|
|
20236
|
+
intentScore?: number | null | undefined;
|
|
20237
|
+
delayInSeconds?: number | null | undefined;
|
|
20238
|
+
ignoreTransform?: boolean | undefined;
|
|
20239
|
+
mediaUrls?: string[] | null | undefined;
|
|
17691
20240
|
} | undefined;
|
|
17692
20241
|
forward?: string | boolean | {
|
|
17693
20242
|
to?: string | undefined;
|
|
@@ -17737,6 +20286,16 @@ declare module '@scout9/app/schemas' {
|
|
|
17737
20286
|
overrideLock?: boolean | undefined;
|
|
17738
20287
|
} | undefined;
|
|
17739
20288
|
}[] | undefined;
|
|
20289
|
+
entityContextUpsert?: ({
|
|
20290
|
+
method: "delete";
|
|
20291
|
+
entityType: string;
|
|
20292
|
+
entityRecordId: string;
|
|
20293
|
+
} | {
|
|
20294
|
+
method: "mutate";
|
|
20295
|
+
entityType: string;
|
|
20296
|
+
entityRecordId: string;
|
|
20297
|
+
fields: Record<string, string | number | boolean | null>;
|
|
20298
|
+
})[] | undefined;
|
|
17740
20299
|
}>, "many">]>]>>;
|
|
17741
20300
|
}
|
|
17742
20301
|
|