@scout9/app 1.0.0-alpha.0.6.5 → 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-6e60a643.cjs → dev-197a7adb.cjs} +3 -3
- package/dist/{index-bf3ce1b6.cjs → index-1010a60c.cjs} +7 -7
- package/dist/index.cjs +4 -4
- package/dist/{macros-1a4fd407.cjs → macros-85a033b9.cjs} +26 -6
- package/dist/{multipart-parser-13478cb7.cjs → multipart-parser-0d83aaf8.cjs} +4 -4
- package/dist/schemas.cjs +3 -1
- package/dist/{spirits-985e6711.cjs → spirits-9719ae4f.cjs} +73 -57
- package/dist/spirits.cjs +1 -1
- package/dist/testing-tools.cjs +3 -3
- package/package.json +1 -1
- package/src/public.d.ts +4 -16
- package/src/runtime/schemas/workflow.js +35 -6
- package/src/testing-tools/spirits.js +16 -6
- package/types/index.d.ts +3052 -504
- package/types/index.d.ts.map +4 -2
package/types/index.d.ts
CHANGED
|
@@ -532,7 +532,7 @@ declare module '@scout9/app' {
|
|
|
532
532
|
intentScore?: (number | null) | undefined;
|
|
533
533
|
/** How long to delay the message manually in seconds */
|
|
534
534
|
delayInSeconds?: (number | null) | undefined;
|
|
535
|
-
/** Entities related to the message */
|
|
535
|
+
/** Entities related to the message (gets set after the PMT transform) */
|
|
536
536
|
entities?: EntityToken[] | null;
|
|
537
537
|
/** If set to true, the PMT will not transform, message will be sent as is */
|
|
538
538
|
ignoreTransform?: boolean;
|
|
@@ -633,19 +633,7 @@ declare module '@scout9/app' {
|
|
|
633
633
|
|
|
634
634
|
export type Anticipate = AnticipateDid | AnticipateKeywords[];
|
|
635
635
|
|
|
636
|
-
export type
|
|
637
|
-
/**
|
|
638
|
-
* The content
|
|
639
|
-
*/
|
|
640
|
-
content: string;
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* If true, the PMT will transform the message into the owners own words. By default will send the message as is
|
|
644
|
-
*/
|
|
645
|
-
transform?: boolean;
|
|
646
|
-
|
|
647
|
-
mediaUrls?: string[];
|
|
648
|
-
};
|
|
636
|
+
export type DirectMessage = Partial<Omit<Message, 'id' | 'entities' | 'time' | 'role'>>;
|
|
649
637
|
|
|
650
638
|
/**
|
|
651
639
|
* Workflow Response Slot, can use for both PMT workflow event and event macro runtimes
|
|
@@ -653,6 +641,7 @@ declare module '@scout9/app' {
|
|
|
653
641
|
export type WorkflowResponseSlotBase = {
|
|
654
642
|
/** Forward input information of a conversation */
|
|
655
643
|
forward?: Forward | undefined;
|
|
644
|
+
|
|
656
645
|
/** Note to provide to the agent, recommend using forward object api instead */
|
|
657
646
|
forwardNote?: string | undefined;
|
|
658
647
|
|
|
@@ -663,7 +652,7 @@ declare module '@scout9/app' {
|
|
|
663
652
|
removeInstructions?: string[] | undefined;
|
|
664
653
|
|
|
665
654
|
/** If provided, sends a direct message to the user */
|
|
666
|
-
message?: string |
|
|
655
|
+
message?: string | DirectMessage | undefined;
|
|
667
656
|
|
|
668
657
|
/** Delays in seconds of instructions (if provided) to PMT and direct message (if provided) to user */
|
|
669
658
|
secondsDelay?: number | undefined;
|
|
@@ -694,7 +683,6 @@ declare module '@scout9/app' {
|
|
|
694
683
|
*/
|
|
695
684
|
anticipate?: Anticipate | undefined;
|
|
696
685
|
|
|
697
|
-
|
|
698
686
|
/**
|
|
699
687
|
* If provided, it will propagate entity context to your Scout9 entity context store
|
|
700
688
|
* @ingress auto/manual only
|
|
@@ -6009,6 +5997,59 @@ declare module '@scout9/app/schemas' {
|
|
|
6009
5997
|
context?: any;
|
|
6010
5998
|
note?: string | undefined;
|
|
6011
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
|
+
}>;
|
|
6012
6053
|
/**
|
|
6013
6054
|
* The workflow response object slot
|
|
6014
6055
|
*/
|
|
@@ -6053,15 +6094,58 @@ declare module '@scout9/app/schemas' {
|
|
|
6053
6094
|
persist?: boolean | undefined;
|
|
6054
6095
|
}>]>, "many">]>>;
|
|
6055
6096
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6056
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
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;
|
|
6062
6139
|
}, {
|
|
6063
|
-
|
|
6064
|
-
|
|
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;
|
|
6065
6149
|
}>]>>;
|
|
6066
6150
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6067
6151
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6172,8 +6256,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6172
6256
|
})[] | undefined;
|
|
6173
6257
|
removeInstructions?: string[] | undefined;
|
|
6174
6258
|
message?: string | {
|
|
6175
|
-
|
|
6176
|
-
|
|
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;
|
|
6177
6268
|
} | undefined;
|
|
6178
6269
|
secondsDelay?: number | undefined;
|
|
6179
6270
|
scheduled?: number | undefined;
|
|
@@ -6224,8 +6315,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6224
6315
|
})[] | undefined;
|
|
6225
6316
|
removeInstructions?: string[] | undefined;
|
|
6226
6317
|
message?: string | {
|
|
6227
|
-
|
|
6228
|
-
|
|
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;
|
|
6229
6327
|
} | undefined;
|
|
6230
6328
|
secondsDelay?: number | undefined;
|
|
6231
6329
|
scheduled?: number | undefined;
|
|
@@ -6259,19 +6357,90 @@ declare module '@scout9/app/schemas' {
|
|
|
6259
6357
|
overrideLock?: boolean | undefined;
|
|
6260
6358
|
} | undefined;
|
|
6261
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
|
+
}>]>;
|
|
6262
6388
|
/**
|
|
6263
6389
|
* The workflow response object slot
|
|
6264
6390
|
*/
|
|
6265
6391
|
export const WorkflowResponseSlotSchema: z.ZodObject<{
|
|
6266
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
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;
|
|
6272
6434
|
}, {
|
|
6273
|
-
|
|
6274
|
-
|
|
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;
|
|
6275
6444
|
}>]>>;
|
|
6276
6445
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
6277
6446
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -6447,15 +6616,58 @@ declare module '@scout9/app/schemas' {
|
|
|
6447
6616
|
persist?: boolean | undefined;
|
|
6448
6617
|
}>]>, "many">]>>;
|
|
6449
6618
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6450
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
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;
|
|
6456
6661
|
}, {
|
|
6457
|
-
|
|
6458
|
-
|
|
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;
|
|
6459
6671
|
}>]>>;
|
|
6460
6672
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6461
6673
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6566,8 +6778,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6566
6778
|
})[] | undefined;
|
|
6567
6779
|
removeInstructions?: string[] | undefined;
|
|
6568
6780
|
message?: string | {
|
|
6569
|
-
|
|
6570
|
-
|
|
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;
|
|
6571
6790
|
} | undefined;
|
|
6572
6791
|
secondsDelay?: number | undefined;
|
|
6573
6792
|
scheduled?: number | undefined;
|
|
@@ -6618,8 +6837,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6618
6837
|
})[] | undefined;
|
|
6619
6838
|
removeInstructions?: string[] | undefined;
|
|
6620
6839
|
message?: string | {
|
|
6621
|
-
|
|
6622
|
-
|
|
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;
|
|
6623
6849
|
} | undefined;
|
|
6624
6850
|
secondsDelay?: number | undefined;
|
|
6625
6851
|
scheduled?: number | undefined;
|
|
@@ -6694,15 +6920,58 @@ declare module '@scout9/app/schemas' {
|
|
|
6694
6920
|
persist?: boolean | undefined;
|
|
6695
6921
|
}>]>, "many">]>>;
|
|
6696
6922
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6697
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
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;
|
|
6703
6965
|
}, {
|
|
6704
|
-
|
|
6705
|
-
|
|
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;
|
|
6706
6975
|
}>]>>;
|
|
6707
6976
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6708
6977
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6813,8 +7082,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6813
7082
|
})[] | undefined;
|
|
6814
7083
|
removeInstructions?: string[] | undefined;
|
|
6815
7084
|
message?: string | {
|
|
6816
|
-
|
|
6817
|
-
|
|
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;
|
|
6818
7094
|
} | undefined;
|
|
6819
7095
|
secondsDelay?: number | undefined;
|
|
6820
7096
|
scheduled?: number | undefined;
|
|
@@ -6865,8 +7141,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6865
7141
|
})[] | undefined;
|
|
6866
7142
|
removeInstructions?: string[] | undefined;
|
|
6867
7143
|
message?: string | {
|
|
6868
|
-
|
|
6869
|
-
|
|
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;
|
|
6870
7153
|
} | undefined;
|
|
6871
7154
|
secondsDelay?: number | undefined;
|
|
6872
7155
|
scheduled?: number | undefined;
|
|
@@ -6920,8 +7203,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6920
7203
|
})[] | undefined;
|
|
6921
7204
|
removeInstructions?: string[] | undefined;
|
|
6922
7205
|
message?: string | {
|
|
6923
|
-
|
|
6924
|
-
|
|
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;
|
|
6925
7215
|
} | undefined;
|
|
6926
7216
|
secondsDelay?: number | undefined;
|
|
6927
7217
|
scheduled?: number | undefined;
|
|
@@ -6973,8 +7263,15 @@ declare module '@scout9/app/schemas' {
|
|
|
6973
7263
|
})[] | undefined;
|
|
6974
7264
|
removeInstructions?: string[] | undefined;
|
|
6975
7265
|
message?: string | {
|
|
6976
|
-
|
|
6977
|
-
|
|
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;
|
|
6978
7275
|
} | undefined;
|
|
6979
7276
|
secondsDelay?: number | undefined;
|
|
6980
7277
|
scheduled?: number | undefined;
|
|
@@ -7028,8 +7325,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7028
7325
|
})[] | undefined;
|
|
7029
7326
|
removeInstructions?: string[] | undefined;
|
|
7030
7327
|
message?: string | {
|
|
7031
|
-
|
|
7032
|
-
|
|
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;
|
|
7033
7337
|
} | undefined;
|
|
7034
7338
|
secondsDelay?: number | undefined;
|
|
7035
7339
|
scheduled?: number | undefined;
|
|
@@ -7081,8 +7385,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7081
7385
|
})[] | undefined;
|
|
7082
7386
|
removeInstructions?: string[] | undefined;
|
|
7083
7387
|
message?: string | {
|
|
7084
|
-
|
|
7085
|
-
|
|
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;
|
|
7086
7397
|
} | undefined;
|
|
7087
7398
|
secondsDelay?: number | undefined;
|
|
7088
7399
|
scheduled?: number | undefined;
|
|
@@ -7117,15 +7428,58 @@ declare module '@scout9/app/schemas' {
|
|
|
7117
7428
|
} | undefined;
|
|
7118
7429
|
};
|
|
7119
7430
|
}>, z.ZodArray<z.ZodObject<{
|
|
7120
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
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;
|
|
7126
7473
|
}, {
|
|
7127
|
-
|
|
7128
|
-
|
|
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;
|
|
7129
7483
|
}>]>>;
|
|
7130
7484
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
7131
7485
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -7262,8 +7616,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7262
7616
|
}, "strip", z.ZodTypeAny, {
|
|
7263
7617
|
keywords: string[];
|
|
7264
7618
|
message?: string | {
|
|
7265
|
-
|
|
7266
|
-
|
|
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;
|
|
7267
7628
|
} | undefined;
|
|
7268
7629
|
forward?: string | boolean | {
|
|
7269
7630
|
to?: string | undefined;
|
|
@@ -7315,8 +7676,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7315
7676
|
}, {
|
|
7316
7677
|
keywords: string[];
|
|
7317
7678
|
message?: string | {
|
|
7318
|
-
|
|
7319
|
-
|
|
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;
|
|
7320
7688
|
} | undefined;
|
|
7321
7689
|
forward?: string | boolean | {
|
|
7322
7690
|
to?: string | undefined;
|
|
@@ -7366,10 +7734,45 @@ declare module '@scout9/app/schemas' {
|
|
|
7366
7734
|
overrideLock?: boolean | undefined;
|
|
7367
7735
|
} | undefined;
|
|
7368
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">>;
|
|
7369
7765
|
}, "strip", z.ZodTypeAny, {
|
|
7370
7766
|
message?: string | {
|
|
7371
|
-
|
|
7372
|
-
|
|
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;
|
|
7373
7776
|
} | undefined;
|
|
7374
7777
|
forward?: string | boolean | {
|
|
7375
7778
|
to?: string | undefined;
|
|
@@ -7438,8 +7841,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7438
7841
|
})[] | undefined;
|
|
7439
7842
|
removeInstructions?: string[] | undefined;
|
|
7440
7843
|
message?: string | {
|
|
7441
|
-
|
|
7442
|
-
|
|
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;
|
|
7443
7853
|
} | undefined;
|
|
7444
7854
|
secondsDelay?: number | undefined;
|
|
7445
7855
|
scheduled?: number | undefined;
|
|
@@ -7491,8 +7901,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7491
7901
|
})[] | undefined;
|
|
7492
7902
|
removeInstructions?: string[] | undefined;
|
|
7493
7903
|
message?: string | {
|
|
7494
|
-
|
|
7495
|
-
|
|
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;
|
|
7496
7913
|
} | undefined;
|
|
7497
7914
|
secondsDelay?: number | undefined;
|
|
7498
7915
|
scheduled?: number | undefined;
|
|
@@ -7529,8 +7946,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7529
7946
|
} | {
|
|
7530
7947
|
keywords: string[];
|
|
7531
7948
|
message?: string | {
|
|
7532
|
-
|
|
7533
|
-
|
|
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;
|
|
7534
7958
|
} | undefined;
|
|
7535
7959
|
forward?: string | boolean | {
|
|
7536
7960
|
to?: string | undefined;
|
|
@@ -7580,10 +8004,27 @@ declare module '@scout9/app/schemas' {
|
|
|
7580
8004
|
overrideLock?: boolean | undefined;
|
|
7581
8005
|
} | undefined;
|
|
7582
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;
|
|
7583
8017
|
}, {
|
|
7584
8018
|
message?: string | {
|
|
7585
|
-
|
|
7586
|
-
|
|
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;
|
|
7587
8028
|
} | undefined;
|
|
7588
8029
|
forward?: string | boolean | {
|
|
7589
8030
|
to?: string | undefined;
|
|
@@ -7652,8 +8093,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7652
8093
|
})[] | undefined;
|
|
7653
8094
|
removeInstructions?: string[] | undefined;
|
|
7654
8095
|
message?: string | {
|
|
7655
|
-
|
|
7656
|
-
|
|
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;
|
|
7657
8105
|
} | undefined;
|
|
7658
8106
|
secondsDelay?: number | undefined;
|
|
7659
8107
|
scheduled?: number | undefined;
|
|
@@ -7705,8 +8153,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7705
8153
|
})[] | undefined;
|
|
7706
8154
|
removeInstructions?: string[] | undefined;
|
|
7707
8155
|
message?: string | {
|
|
7708
|
-
|
|
7709
|
-
|
|
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;
|
|
7710
8165
|
} | undefined;
|
|
7711
8166
|
secondsDelay?: number | undefined;
|
|
7712
8167
|
scheduled?: number | undefined;
|
|
@@ -7743,8 +8198,15 @@ declare module '@scout9/app/schemas' {
|
|
|
7743
8198
|
} | {
|
|
7744
8199
|
keywords: string[];
|
|
7745
8200
|
message?: string | {
|
|
7746
|
-
|
|
7747
|
-
|
|
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;
|
|
7748
8210
|
} | undefined;
|
|
7749
8211
|
forward?: string | boolean | {
|
|
7750
8212
|
to?: string | undefined;
|
|
@@ -7794,20 +8256,73 @@ declare module '@scout9/app/schemas' {
|
|
|
7794
8256
|
overrideLock?: boolean | undefined;
|
|
7795
8257
|
} | undefined;
|
|
7796
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;
|
|
7797
8269
|
}>;
|
|
7798
8270
|
/**
|
|
7799
8271
|
* The workflow response to send in any given workflow
|
|
7800
8272
|
*/
|
|
7801
8273
|
export const WorkflowResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
7802
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
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;
|
|
7808
8316
|
}, {
|
|
7809
|
-
|
|
7810
|
-
|
|
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;
|
|
7811
8326
|
}>]>>;
|
|
7812
8327
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
7813
8328
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -7983,15 +8498,58 @@ declare module '@scout9/app/schemas' {
|
|
|
7983
8498
|
persist?: boolean | undefined;
|
|
7984
8499
|
}>]>, "many">]>>;
|
|
7985
8500
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7986
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
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;
|
|
7992
8543
|
}, {
|
|
7993
|
-
|
|
7994
|
-
|
|
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;
|
|
7995
8553
|
}>]>>;
|
|
7996
8554
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
7997
8555
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8102,8 +8660,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8102
8660
|
})[] | undefined;
|
|
8103
8661
|
removeInstructions?: string[] | undefined;
|
|
8104
8662
|
message?: string | {
|
|
8105
|
-
|
|
8106
|
-
|
|
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;
|
|
8107
8672
|
} | undefined;
|
|
8108
8673
|
secondsDelay?: number | undefined;
|
|
8109
8674
|
scheduled?: number | undefined;
|
|
@@ -8154,8 +8719,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8154
8719
|
})[] | undefined;
|
|
8155
8720
|
removeInstructions?: string[] | undefined;
|
|
8156
8721
|
message?: string | {
|
|
8157
|
-
|
|
8158
|
-
|
|
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;
|
|
8159
8731
|
} | undefined;
|
|
8160
8732
|
secondsDelay?: number | undefined;
|
|
8161
8733
|
scheduled?: number | undefined;
|
|
@@ -8230,15 +8802,58 @@ declare module '@scout9/app/schemas' {
|
|
|
8230
8802
|
persist?: boolean | undefined;
|
|
8231
8803
|
}>]>, "many">]>>;
|
|
8232
8804
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8233
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
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;
|
|
8239
8847
|
}, {
|
|
8240
|
-
|
|
8241
|
-
|
|
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;
|
|
8242
8857
|
}>]>>;
|
|
8243
8858
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
8244
8859
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8349,8 +8964,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8349
8964
|
})[] | undefined;
|
|
8350
8965
|
removeInstructions?: string[] | undefined;
|
|
8351
8966
|
message?: string | {
|
|
8352
|
-
|
|
8353
|
-
|
|
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;
|
|
8354
8976
|
} | undefined;
|
|
8355
8977
|
secondsDelay?: number | undefined;
|
|
8356
8978
|
scheduled?: number | undefined;
|
|
@@ -8401,8 +9023,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8401
9023
|
})[] | undefined;
|
|
8402
9024
|
removeInstructions?: string[] | undefined;
|
|
8403
9025
|
message?: string | {
|
|
8404
|
-
|
|
8405
|
-
|
|
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;
|
|
8406
9035
|
} | undefined;
|
|
8407
9036
|
secondsDelay?: number | undefined;
|
|
8408
9037
|
scheduled?: number | undefined;
|
|
@@ -8456,8 +9085,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8456
9085
|
})[] | undefined;
|
|
8457
9086
|
removeInstructions?: string[] | undefined;
|
|
8458
9087
|
message?: string | {
|
|
8459
|
-
|
|
8460
|
-
|
|
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;
|
|
8461
9097
|
} | undefined;
|
|
8462
9098
|
secondsDelay?: number | undefined;
|
|
8463
9099
|
scheduled?: number | undefined;
|
|
@@ -8509,8 +9145,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8509
9145
|
})[] | undefined;
|
|
8510
9146
|
removeInstructions?: string[] | undefined;
|
|
8511
9147
|
message?: string | {
|
|
8512
|
-
|
|
8513
|
-
|
|
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;
|
|
8514
9157
|
} | undefined;
|
|
8515
9158
|
secondsDelay?: number | undefined;
|
|
8516
9159
|
scheduled?: number | undefined;
|
|
@@ -8564,8 +9207,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8564
9207
|
})[] | undefined;
|
|
8565
9208
|
removeInstructions?: string[] | undefined;
|
|
8566
9209
|
message?: string | {
|
|
8567
|
-
|
|
8568
|
-
|
|
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;
|
|
8569
9219
|
} | undefined;
|
|
8570
9220
|
secondsDelay?: number | undefined;
|
|
8571
9221
|
scheduled?: number | undefined;
|
|
@@ -8617,8 +9267,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8617
9267
|
})[] | undefined;
|
|
8618
9268
|
removeInstructions?: string[] | undefined;
|
|
8619
9269
|
message?: string | {
|
|
8620
|
-
|
|
8621
|
-
|
|
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;
|
|
8622
9279
|
} | undefined;
|
|
8623
9280
|
secondsDelay?: number | undefined;
|
|
8624
9281
|
scheduled?: number | undefined;
|
|
@@ -8653,15 +9310,58 @@ declare module '@scout9/app/schemas' {
|
|
|
8653
9310
|
} | undefined;
|
|
8654
9311
|
};
|
|
8655
9312
|
}>, z.ZodArray<z.ZodObject<{
|
|
8656
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
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;
|
|
8662
9355
|
}, {
|
|
8663
|
-
|
|
8664
|
-
|
|
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;
|
|
8665
9365
|
}>]>>;
|
|
8666
9366
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
8667
9367
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -8798,8 +9498,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8798
9498
|
}, "strip", z.ZodTypeAny, {
|
|
8799
9499
|
keywords: string[];
|
|
8800
9500
|
message?: string | {
|
|
8801
|
-
|
|
8802
|
-
|
|
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;
|
|
8803
9510
|
} | undefined;
|
|
8804
9511
|
forward?: string | boolean | {
|
|
8805
9512
|
to?: string | undefined;
|
|
@@ -8851,8 +9558,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8851
9558
|
}, {
|
|
8852
9559
|
keywords: string[];
|
|
8853
9560
|
message?: string | {
|
|
8854
|
-
|
|
8855
|
-
|
|
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;
|
|
8856
9570
|
} | undefined;
|
|
8857
9571
|
forward?: string | boolean | {
|
|
8858
9572
|
to?: string | undefined;
|
|
@@ -8902,10 +9616,45 @@ declare module '@scout9/app/schemas' {
|
|
|
8902
9616
|
overrideLock?: boolean | undefined;
|
|
8903
9617
|
} | undefined;
|
|
8904
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">>;
|
|
8905
9647
|
}, "strip", z.ZodTypeAny, {
|
|
8906
9648
|
message?: string | {
|
|
8907
|
-
|
|
8908
|
-
|
|
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;
|
|
8909
9658
|
} | undefined;
|
|
8910
9659
|
forward?: string | boolean | {
|
|
8911
9660
|
to?: string | undefined;
|
|
@@ -8974,8 +9723,15 @@ declare module '@scout9/app/schemas' {
|
|
|
8974
9723
|
})[] | undefined;
|
|
8975
9724
|
removeInstructions?: string[] | undefined;
|
|
8976
9725
|
message?: string | {
|
|
8977
|
-
|
|
8978
|
-
|
|
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;
|
|
8979
9735
|
} | undefined;
|
|
8980
9736
|
secondsDelay?: number | undefined;
|
|
8981
9737
|
scheduled?: number | undefined;
|
|
@@ -9027,8 +9783,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9027
9783
|
})[] | undefined;
|
|
9028
9784
|
removeInstructions?: string[] | undefined;
|
|
9029
9785
|
message?: string | {
|
|
9030
|
-
|
|
9031
|
-
|
|
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;
|
|
9032
9795
|
} | undefined;
|
|
9033
9796
|
secondsDelay?: number | undefined;
|
|
9034
9797
|
scheduled?: number | undefined;
|
|
@@ -9065,8 +9828,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9065
9828
|
} | {
|
|
9066
9829
|
keywords: string[];
|
|
9067
9830
|
message?: string | {
|
|
9068
|
-
|
|
9069
|
-
|
|
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;
|
|
9070
9840
|
} | undefined;
|
|
9071
9841
|
forward?: string | boolean | {
|
|
9072
9842
|
to?: string | undefined;
|
|
@@ -9116,10 +9886,27 @@ declare module '@scout9/app/schemas' {
|
|
|
9116
9886
|
overrideLock?: boolean | undefined;
|
|
9117
9887
|
} | undefined;
|
|
9118
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;
|
|
9119
9899
|
}, {
|
|
9120
9900
|
message?: string | {
|
|
9121
|
-
|
|
9122
|
-
|
|
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;
|
|
9123
9910
|
} | undefined;
|
|
9124
9911
|
forward?: string | boolean | {
|
|
9125
9912
|
to?: string | undefined;
|
|
@@ -9188,8 +9975,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9188
9975
|
})[] | undefined;
|
|
9189
9976
|
removeInstructions?: string[] | undefined;
|
|
9190
9977
|
message?: string | {
|
|
9191
|
-
|
|
9192
|
-
|
|
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;
|
|
9193
9987
|
} | undefined;
|
|
9194
9988
|
secondsDelay?: number | undefined;
|
|
9195
9989
|
scheduled?: number | undefined;
|
|
@@ -9241,8 +10035,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9241
10035
|
})[] | undefined;
|
|
9242
10036
|
removeInstructions?: string[] | undefined;
|
|
9243
10037
|
message?: string | {
|
|
9244
|
-
|
|
9245
|
-
|
|
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;
|
|
9246
10047
|
} | undefined;
|
|
9247
10048
|
secondsDelay?: number | undefined;
|
|
9248
10049
|
scheduled?: number | undefined;
|
|
@@ -9279,8 +10080,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9279
10080
|
} | {
|
|
9280
10081
|
keywords: string[];
|
|
9281
10082
|
message?: string | {
|
|
9282
|
-
|
|
9283
|
-
|
|
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;
|
|
9284
10092
|
} | undefined;
|
|
9285
10093
|
forward?: string | boolean | {
|
|
9286
10094
|
to?: string | undefined;
|
|
@@ -9330,16 +10138,69 @@ declare module '@scout9/app/schemas' {
|
|
|
9330
10138
|
overrideLock?: boolean | undefined;
|
|
9331
10139
|
} | undefined;
|
|
9332
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;
|
|
9333
10151
|
}>, z.ZodArray<z.ZodObject<{
|
|
9334
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
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;
|
|
9340
10194
|
}, {
|
|
9341
|
-
|
|
9342
|
-
|
|
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;
|
|
9343
10204
|
}>]>>;
|
|
9344
10205
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
9345
10206
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -9515,15 +10376,58 @@ declare module '@scout9/app/schemas' {
|
|
|
9515
10376
|
persist?: boolean | undefined;
|
|
9516
10377
|
}>]>, "many">]>>;
|
|
9517
10378
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9518
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
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;
|
|
9524
10421
|
}, {
|
|
9525
|
-
|
|
9526
|
-
|
|
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;
|
|
9527
10431
|
}>]>>;
|
|
9528
10432
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
9529
10433
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9634,8 +10538,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9634
10538
|
})[] | undefined;
|
|
9635
10539
|
removeInstructions?: string[] | undefined;
|
|
9636
10540
|
message?: string | {
|
|
9637
|
-
|
|
9638
|
-
|
|
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;
|
|
9639
10550
|
} | undefined;
|
|
9640
10551
|
secondsDelay?: number | undefined;
|
|
9641
10552
|
scheduled?: number | undefined;
|
|
@@ -9686,8 +10597,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9686
10597
|
})[] | undefined;
|
|
9687
10598
|
removeInstructions?: string[] | undefined;
|
|
9688
10599
|
message?: string | {
|
|
9689
|
-
|
|
9690
|
-
|
|
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;
|
|
9691
10609
|
} | undefined;
|
|
9692
10610
|
secondsDelay?: number | undefined;
|
|
9693
10611
|
scheduled?: number | undefined;
|
|
@@ -9762,15 +10680,58 @@ declare module '@scout9/app/schemas' {
|
|
|
9762
10680
|
persist?: boolean | undefined;
|
|
9763
10681
|
}>]>, "many">]>>;
|
|
9764
10682
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9765
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
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;
|
|
9771
10725
|
}, {
|
|
9772
|
-
|
|
9773
|
-
|
|
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;
|
|
9774
10735
|
}>]>>;
|
|
9775
10736
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
9776
10737
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9881,8 +10842,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9881
10842
|
})[] | undefined;
|
|
9882
10843
|
removeInstructions?: string[] | undefined;
|
|
9883
10844
|
message?: string | {
|
|
9884
|
-
|
|
9885
|
-
|
|
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;
|
|
9886
10854
|
} | undefined;
|
|
9887
10855
|
secondsDelay?: number | undefined;
|
|
9888
10856
|
scheduled?: number | undefined;
|
|
@@ -9933,8 +10901,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9933
10901
|
})[] | undefined;
|
|
9934
10902
|
removeInstructions?: string[] | undefined;
|
|
9935
10903
|
message?: string | {
|
|
9936
|
-
|
|
9937
|
-
|
|
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;
|
|
9938
10913
|
} | undefined;
|
|
9939
10914
|
secondsDelay?: number | undefined;
|
|
9940
10915
|
scheduled?: number | undefined;
|
|
@@ -9988,8 +10963,15 @@ declare module '@scout9/app/schemas' {
|
|
|
9988
10963
|
})[] | undefined;
|
|
9989
10964
|
removeInstructions?: string[] | undefined;
|
|
9990
10965
|
message?: string | {
|
|
9991
|
-
|
|
9992
|
-
|
|
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;
|
|
9993
10975
|
} | undefined;
|
|
9994
10976
|
secondsDelay?: number | undefined;
|
|
9995
10977
|
scheduled?: number | undefined;
|
|
@@ -10041,8 +11023,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10041
11023
|
})[] | undefined;
|
|
10042
11024
|
removeInstructions?: string[] | undefined;
|
|
10043
11025
|
message?: string | {
|
|
10044
|
-
|
|
10045
|
-
|
|
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;
|
|
10046
11035
|
} | undefined;
|
|
10047
11036
|
secondsDelay?: number | undefined;
|
|
10048
11037
|
scheduled?: number | undefined;
|
|
@@ -10096,8 +11085,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10096
11085
|
})[] | undefined;
|
|
10097
11086
|
removeInstructions?: string[] | undefined;
|
|
10098
11087
|
message?: string | {
|
|
10099
|
-
|
|
10100
|
-
|
|
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;
|
|
10101
11097
|
} | undefined;
|
|
10102
11098
|
secondsDelay?: number | undefined;
|
|
10103
11099
|
scheduled?: number | undefined;
|
|
@@ -10149,8 +11145,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10149
11145
|
})[] | undefined;
|
|
10150
11146
|
removeInstructions?: string[] | undefined;
|
|
10151
11147
|
message?: string | {
|
|
10152
|
-
|
|
10153
|
-
|
|
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;
|
|
10154
11157
|
} | undefined;
|
|
10155
11158
|
secondsDelay?: number | undefined;
|
|
10156
11159
|
scheduled?: number | undefined;
|
|
@@ -10185,15 +11188,58 @@ declare module '@scout9/app/schemas' {
|
|
|
10185
11188
|
} | undefined;
|
|
10186
11189
|
};
|
|
10187
11190
|
}>, z.ZodArray<z.ZodObject<{
|
|
10188
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
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;
|
|
10194
11233
|
}, {
|
|
10195
|
-
|
|
10196
|
-
|
|
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;
|
|
10197
11243
|
}>]>>;
|
|
10198
11244
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
10199
11245
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -10330,8 +11376,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10330
11376
|
}, "strip", z.ZodTypeAny, {
|
|
10331
11377
|
keywords: string[];
|
|
10332
11378
|
message?: string | {
|
|
10333
|
-
|
|
10334
|
-
|
|
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;
|
|
10335
11388
|
} | undefined;
|
|
10336
11389
|
forward?: string | boolean | {
|
|
10337
11390
|
to?: string | undefined;
|
|
@@ -10383,8 +11436,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10383
11436
|
}, {
|
|
10384
11437
|
keywords: string[];
|
|
10385
11438
|
message?: string | {
|
|
10386
|
-
|
|
10387
|
-
|
|
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;
|
|
10388
11448
|
} | undefined;
|
|
10389
11449
|
forward?: string | boolean | {
|
|
10390
11450
|
to?: string | undefined;
|
|
@@ -10434,10 +11494,45 @@ declare module '@scout9/app/schemas' {
|
|
|
10434
11494
|
overrideLock?: boolean | undefined;
|
|
10435
11495
|
} | undefined;
|
|
10436
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">>;
|
|
10437
11525
|
}, "strip", z.ZodTypeAny, {
|
|
10438
11526
|
message?: string | {
|
|
10439
|
-
|
|
10440
|
-
|
|
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;
|
|
10441
11536
|
} | undefined;
|
|
10442
11537
|
forward?: string | boolean | {
|
|
10443
11538
|
to?: string | undefined;
|
|
@@ -10506,8 +11601,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10506
11601
|
})[] | undefined;
|
|
10507
11602
|
removeInstructions?: string[] | undefined;
|
|
10508
11603
|
message?: string | {
|
|
10509
|
-
|
|
10510
|
-
|
|
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;
|
|
10511
11613
|
} | undefined;
|
|
10512
11614
|
secondsDelay?: number | undefined;
|
|
10513
11615
|
scheduled?: number | undefined;
|
|
@@ -10559,8 +11661,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10559
11661
|
})[] | undefined;
|
|
10560
11662
|
removeInstructions?: string[] | undefined;
|
|
10561
11663
|
message?: string | {
|
|
10562
|
-
|
|
10563
|
-
|
|
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;
|
|
10564
11673
|
} | undefined;
|
|
10565
11674
|
secondsDelay?: number | undefined;
|
|
10566
11675
|
scheduled?: number | undefined;
|
|
@@ -10597,8 +11706,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10597
11706
|
} | {
|
|
10598
11707
|
keywords: string[];
|
|
10599
11708
|
message?: string | {
|
|
10600
|
-
|
|
10601
|
-
|
|
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;
|
|
10602
11718
|
} | undefined;
|
|
10603
11719
|
forward?: string | boolean | {
|
|
10604
11720
|
to?: string | undefined;
|
|
@@ -10648,10 +11764,27 @@ declare module '@scout9/app/schemas' {
|
|
|
10648
11764
|
overrideLock?: boolean | undefined;
|
|
10649
11765
|
} | undefined;
|
|
10650
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;
|
|
10651
11777
|
}, {
|
|
10652
11778
|
message?: string | {
|
|
10653
|
-
|
|
10654
|
-
|
|
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;
|
|
10655
11788
|
} | undefined;
|
|
10656
11789
|
forward?: string | boolean | {
|
|
10657
11790
|
to?: string | undefined;
|
|
@@ -10720,8 +11853,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10720
11853
|
})[] | undefined;
|
|
10721
11854
|
removeInstructions?: string[] | undefined;
|
|
10722
11855
|
message?: string | {
|
|
10723
|
-
|
|
10724
|
-
|
|
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;
|
|
10725
11865
|
} | undefined;
|
|
10726
11866
|
secondsDelay?: number | undefined;
|
|
10727
11867
|
scheduled?: number | undefined;
|
|
@@ -10773,8 +11913,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10773
11913
|
})[] | undefined;
|
|
10774
11914
|
removeInstructions?: string[] | undefined;
|
|
10775
11915
|
message?: string | {
|
|
10776
|
-
|
|
10777
|
-
|
|
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;
|
|
10778
11925
|
} | undefined;
|
|
10779
11926
|
secondsDelay?: number | undefined;
|
|
10780
11927
|
scheduled?: number | undefined;
|
|
@@ -10811,8 +11958,15 @@ declare module '@scout9/app/schemas' {
|
|
|
10811
11958
|
} | {
|
|
10812
11959
|
keywords: string[];
|
|
10813
11960
|
message?: string | {
|
|
10814
|
-
|
|
10815
|
-
|
|
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;
|
|
10816
11970
|
} | undefined;
|
|
10817
11971
|
forward?: string | boolean | {
|
|
10818
11972
|
to?: string | undefined;
|
|
@@ -10862,6 +12016,16 @@ declare module '@scout9/app/schemas' {
|
|
|
10862
12016
|
overrideLock?: boolean | undefined;
|
|
10863
12017
|
} | undefined;
|
|
10864
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;
|
|
10865
12029
|
}>, "many">]>;
|
|
10866
12030
|
export const WorkflowFunctionSchema: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
10867
12031
|
messages: z.ZodArray<z.ZodObject<{
|
|
@@ -11621,15 +12785,58 @@ declare module '@scout9/app/schemas' {
|
|
|
11621
12785
|
context?: any;
|
|
11622
12786
|
note?: string | undefined;
|
|
11623
12787
|
}>], z.ZodUnknown>, z.ZodUnion<[z.ZodPromise<z.ZodUnion<[z.ZodObject<{
|
|
11624
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
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;
|
|
11630
12830
|
}, {
|
|
11631
|
-
|
|
11632
|
-
|
|
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;
|
|
11633
12840
|
}>]>>;
|
|
11634
12841
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
11635
12842
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -11805,15 +13012,58 @@ declare module '@scout9/app/schemas' {
|
|
|
11805
13012
|
persist?: boolean | undefined;
|
|
11806
13013
|
}>]>, "many">]>>;
|
|
11807
13014
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11808
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
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;
|
|
11814
13057
|
}, {
|
|
11815
|
-
|
|
11816
|
-
|
|
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;
|
|
11817
13067
|
}>]>>;
|
|
11818
13068
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
11819
13069
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11924,8 +13174,15 @@ declare module '@scout9/app/schemas' {
|
|
|
11924
13174
|
})[] | undefined;
|
|
11925
13175
|
removeInstructions?: string[] | undefined;
|
|
11926
13176
|
message?: string | {
|
|
11927
|
-
|
|
11928
|
-
|
|
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;
|
|
11929
13186
|
} | undefined;
|
|
11930
13187
|
secondsDelay?: number | undefined;
|
|
11931
13188
|
scheduled?: number | undefined;
|
|
@@ -11976,8 +13233,15 @@ declare module '@scout9/app/schemas' {
|
|
|
11976
13233
|
})[] | undefined;
|
|
11977
13234
|
removeInstructions?: string[] | undefined;
|
|
11978
13235
|
message?: string | {
|
|
11979
|
-
|
|
11980
|
-
|
|
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;
|
|
11981
13245
|
} | undefined;
|
|
11982
13246
|
secondsDelay?: number | undefined;
|
|
11983
13247
|
scheduled?: number | undefined;
|
|
@@ -12052,15 +13316,58 @@ declare module '@scout9/app/schemas' {
|
|
|
12052
13316
|
persist?: boolean | undefined;
|
|
12053
13317
|
}>]>, "many">]>>;
|
|
12054
13318
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12055
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
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;
|
|
12061
13361
|
}, {
|
|
12062
|
-
|
|
12063
|
-
|
|
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;
|
|
12064
13371
|
}>]>>;
|
|
12065
13372
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
12066
13373
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12171,8 +13478,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12171
13478
|
})[] | undefined;
|
|
12172
13479
|
removeInstructions?: string[] | undefined;
|
|
12173
13480
|
message?: string | {
|
|
12174
|
-
|
|
12175
|
-
|
|
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;
|
|
12176
13490
|
} | undefined;
|
|
12177
13491
|
secondsDelay?: number | undefined;
|
|
12178
13492
|
scheduled?: number | undefined;
|
|
@@ -12223,8 +13537,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12223
13537
|
})[] | undefined;
|
|
12224
13538
|
removeInstructions?: string[] | undefined;
|
|
12225
13539
|
message?: string | {
|
|
12226
|
-
|
|
12227
|
-
|
|
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;
|
|
12228
13549
|
} | undefined;
|
|
12229
13550
|
secondsDelay?: number | undefined;
|
|
12230
13551
|
scheduled?: number | undefined;
|
|
@@ -12278,8 +13599,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12278
13599
|
})[] | undefined;
|
|
12279
13600
|
removeInstructions?: string[] | undefined;
|
|
12280
13601
|
message?: string | {
|
|
12281
|
-
|
|
12282
|
-
|
|
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;
|
|
12283
13611
|
} | undefined;
|
|
12284
13612
|
secondsDelay?: number | undefined;
|
|
12285
13613
|
scheduled?: number | undefined;
|
|
@@ -12331,8 +13659,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12331
13659
|
})[] | undefined;
|
|
12332
13660
|
removeInstructions?: string[] | undefined;
|
|
12333
13661
|
message?: string | {
|
|
12334
|
-
|
|
12335
|
-
|
|
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;
|
|
12336
13671
|
} | undefined;
|
|
12337
13672
|
secondsDelay?: number | undefined;
|
|
12338
13673
|
scheduled?: number | undefined;
|
|
@@ -12386,8 +13721,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12386
13721
|
})[] | undefined;
|
|
12387
13722
|
removeInstructions?: string[] | undefined;
|
|
12388
13723
|
message?: string | {
|
|
12389
|
-
|
|
12390
|
-
|
|
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;
|
|
12391
13733
|
} | undefined;
|
|
12392
13734
|
secondsDelay?: number | undefined;
|
|
12393
13735
|
scheduled?: number | undefined;
|
|
@@ -12439,8 +13781,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12439
13781
|
})[] | undefined;
|
|
12440
13782
|
removeInstructions?: string[] | undefined;
|
|
12441
13783
|
message?: string | {
|
|
12442
|
-
|
|
12443
|
-
|
|
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;
|
|
12444
13793
|
} | undefined;
|
|
12445
13794
|
secondsDelay?: number | undefined;
|
|
12446
13795
|
scheduled?: number | undefined;
|
|
@@ -12475,15 +13824,58 @@ declare module '@scout9/app/schemas' {
|
|
|
12475
13824
|
} | undefined;
|
|
12476
13825
|
};
|
|
12477
13826
|
}>, z.ZodArray<z.ZodObject<{
|
|
12478
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
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;
|
|
12484
13869
|
}, {
|
|
12485
|
-
|
|
12486
|
-
|
|
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;
|
|
12487
13879
|
}>]>>;
|
|
12488
13880
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
12489
13881
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -12620,8 +14012,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12620
14012
|
}, "strip", z.ZodTypeAny, {
|
|
12621
14013
|
keywords: string[];
|
|
12622
14014
|
message?: string | {
|
|
12623
|
-
|
|
12624
|
-
|
|
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;
|
|
12625
14024
|
} | undefined;
|
|
12626
14025
|
forward?: string | boolean | {
|
|
12627
14026
|
to?: string | undefined;
|
|
@@ -12673,8 +14072,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12673
14072
|
}, {
|
|
12674
14073
|
keywords: string[];
|
|
12675
14074
|
message?: string | {
|
|
12676
|
-
|
|
12677
|
-
|
|
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;
|
|
12678
14084
|
} | undefined;
|
|
12679
14085
|
forward?: string | boolean | {
|
|
12680
14086
|
to?: string | undefined;
|
|
@@ -12724,10 +14130,45 @@ declare module '@scout9/app/schemas' {
|
|
|
12724
14130
|
overrideLock?: boolean | undefined;
|
|
12725
14131
|
} | undefined;
|
|
12726
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">>;
|
|
12727
14161
|
}, "strip", z.ZodTypeAny, {
|
|
12728
14162
|
message?: string | {
|
|
12729
|
-
|
|
12730
|
-
|
|
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;
|
|
12731
14172
|
} | undefined;
|
|
12732
14173
|
forward?: string | boolean | {
|
|
12733
14174
|
to?: string | undefined;
|
|
@@ -12796,8 +14237,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12796
14237
|
})[] | undefined;
|
|
12797
14238
|
removeInstructions?: string[] | undefined;
|
|
12798
14239
|
message?: string | {
|
|
12799
|
-
|
|
12800
|
-
|
|
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;
|
|
12801
14249
|
} | undefined;
|
|
12802
14250
|
secondsDelay?: number | undefined;
|
|
12803
14251
|
scheduled?: number | undefined;
|
|
@@ -12849,8 +14297,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12849
14297
|
})[] | undefined;
|
|
12850
14298
|
removeInstructions?: string[] | undefined;
|
|
12851
14299
|
message?: string | {
|
|
12852
|
-
|
|
12853
|
-
|
|
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;
|
|
12854
14309
|
} | undefined;
|
|
12855
14310
|
secondsDelay?: number | undefined;
|
|
12856
14311
|
scheduled?: number | undefined;
|
|
@@ -12887,8 +14342,15 @@ declare module '@scout9/app/schemas' {
|
|
|
12887
14342
|
} | {
|
|
12888
14343
|
keywords: string[];
|
|
12889
14344
|
message?: string | {
|
|
12890
|
-
|
|
12891
|
-
|
|
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;
|
|
12892
14354
|
} | undefined;
|
|
12893
14355
|
forward?: string | boolean | {
|
|
12894
14356
|
to?: string | undefined;
|
|
@@ -12938,10 +14400,27 @@ declare module '@scout9/app/schemas' {
|
|
|
12938
14400
|
overrideLock?: boolean | undefined;
|
|
12939
14401
|
} | undefined;
|
|
12940
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;
|
|
12941
14413
|
}, {
|
|
12942
14414
|
message?: string | {
|
|
12943
|
-
|
|
12944
|
-
|
|
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;
|
|
12945
14424
|
} | undefined;
|
|
12946
14425
|
forward?: string | boolean | {
|
|
12947
14426
|
to?: string | undefined;
|
|
@@ -13010,8 +14489,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13010
14489
|
})[] | undefined;
|
|
13011
14490
|
removeInstructions?: string[] | undefined;
|
|
13012
14491
|
message?: string | {
|
|
13013
|
-
|
|
13014
|
-
|
|
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;
|
|
13015
14501
|
} | undefined;
|
|
13016
14502
|
secondsDelay?: number | undefined;
|
|
13017
14503
|
scheduled?: number | undefined;
|
|
@@ -13063,8 +14549,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13063
14549
|
})[] | undefined;
|
|
13064
14550
|
removeInstructions?: string[] | undefined;
|
|
13065
14551
|
message?: string | {
|
|
13066
|
-
|
|
13067
|
-
|
|
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;
|
|
13068
14561
|
} | undefined;
|
|
13069
14562
|
secondsDelay?: number | undefined;
|
|
13070
14563
|
scheduled?: number | undefined;
|
|
@@ -13101,8 +14594,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13101
14594
|
} | {
|
|
13102
14595
|
keywords: string[];
|
|
13103
14596
|
message?: string | {
|
|
13104
|
-
|
|
13105
|
-
|
|
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;
|
|
13106
14606
|
} | undefined;
|
|
13107
14607
|
forward?: string | boolean | {
|
|
13108
14608
|
to?: string | undefined;
|
|
@@ -13152,16 +14652,69 @@ declare module '@scout9/app/schemas' {
|
|
|
13152
14652
|
overrideLock?: boolean | undefined;
|
|
13153
14653
|
} | undefined;
|
|
13154
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;
|
|
13155
14665
|
}>, z.ZodArray<z.ZodObject<{
|
|
13156
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
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;
|
|
13162
14708
|
}, {
|
|
13163
|
-
|
|
13164
|
-
|
|
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;
|
|
13165
14718
|
}>]>>;
|
|
13166
14719
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
13167
14720
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -13337,15 +14890,58 @@ declare module '@scout9/app/schemas' {
|
|
|
13337
14890
|
persist?: boolean | undefined;
|
|
13338
14891
|
}>]>, "many">]>>;
|
|
13339
14892
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13340
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13341
|
-
|
|
13342
|
-
|
|
13343
|
-
|
|
13344
|
-
|
|
13345
|
-
|
|
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;
|
|
13346
14935
|
}, {
|
|
13347
|
-
|
|
13348
|
-
|
|
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;
|
|
13349
14945
|
}>]>>;
|
|
13350
14946
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
13351
14947
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13456,8 +15052,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13456
15052
|
})[] | undefined;
|
|
13457
15053
|
removeInstructions?: string[] | undefined;
|
|
13458
15054
|
message?: string | {
|
|
13459
|
-
|
|
13460
|
-
|
|
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;
|
|
13461
15064
|
} | undefined;
|
|
13462
15065
|
secondsDelay?: number | undefined;
|
|
13463
15066
|
scheduled?: number | undefined;
|
|
@@ -13508,8 +15111,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13508
15111
|
})[] | undefined;
|
|
13509
15112
|
removeInstructions?: string[] | undefined;
|
|
13510
15113
|
message?: string | {
|
|
13511
|
-
|
|
13512
|
-
|
|
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;
|
|
13513
15123
|
} | undefined;
|
|
13514
15124
|
secondsDelay?: number | undefined;
|
|
13515
15125
|
scheduled?: number | undefined;
|
|
@@ -13584,15 +15194,58 @@ declare module '@scout9/app/schemas' {
|
|
|
13584
15194
|
persist?: boolean | undefined;
|
|
13585
15195
|
}>]>, "many">]>>;
|
|
13586
15196
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13587
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
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;
|
|
13593
15239
|
}, {
|
|
13594
|
-
|
|
13595
|
-
|
|
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;
|
|
13596
15249
|
}>]>>;
|
|
13597
15250
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
13598
15251
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13703,8 +15356,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13703
15356
|
})[] | undefined;
|
|
13704
15357
|
removeInstructions?: string[] | undefined;
|
|
13705
15358
|
message?: string | {
|
|
13706
|
-
|
|
13707
|
-
|
|
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;
|
|
13708
15368
|
} | undefined;
|
|
13709
15369
|
secondsDelay?: number | undefined;
|
|
13710
15370
|
scheduled?: number | undefined;
|
|
@@ -13755,8 +15415,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13755
15415
|
})[] | undefined;
|
|
13756
15416
|
removeInstructions?: string[] | undefined;
|
|
13757
15417
|
message?: string | {
|
|
13758
|
-
|
|
13759
|
-
|
|
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;
|
|
13760
15427
|
} | undefined;
|
|
13761
15428
|
secondsDelay?: number | undefined;
|
|
13762
15429
|
scheduled?: number | undefined;
|
|
@@ -13810,8 +15477,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13810
15477
|
})[] | undefined;
|
|
13811
15478
|
removeInstructions?: string[] | undefined;
|
|
13812
15479
|
message?: string | {
|
|
13813
|
-
|
|
13814
|
-
|
|
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;
|
|
13815
15489
|
} | undefined;
|
|
13816
15490
|
secondsDelay?: number | undefined;
|
|
13817
15491
|
scheduled?: number | undefined;
|
|
@@ -13863,8 +15537,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13863
15537
|
})[] | undefined;
|
|
13864
15538
|
removeInstructions?: string[] | undefined;
|
|
13865
15539
|
message?: string | {
|
|
13866
|
-
|
|
13867
|
-
|
|
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;
|
|
13868
15549
|
} | undefined;
|
|
13869
15550
|
secondsDelay?: number | undefined;
|
|
13870
15551
|
scheduled?: number | undefined;
|
|
@@ -13918,8 +15599,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13918
15599
|
})[] | undefined;
|
|
13919
15600
|
removeInstructions?: string[] | undefined;
|
|
13920
15601
|
message?: string | {
|
|
13921
|
-
|
|
13922
|
-
|
|
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;
|
|
13923
15611
|
} | undefined;
|
|
13924
15612
|
secondsDelay?: number | undefined;
|
|
13925
15613
|
scheduled?: number | undefined;
|
|
@@ -13971,8 +15659,15 @@ declare module '@scout9/app/schemas' {
|
|
|
13971
15659
|
})[] | undefined;
|
|
13972
15660
|
removeInstructions?: string[] | undefined;
|
|
13973
15661
|
message?: string | {
|
|
13974
|
-
|
|
13975
|
-
|
|
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;
|
|
13976
15671
|
} | undefined;
|
|
13977
15672
|
secondsDelay?: number | undefined;
|
|
13978
15673
|
scheduled?: number | undefined;
|
|
@@ -14007,15 +15702,58 @@ declare module '@scout9/app/schemas' {
|
|
|
14007
15702
|
} | undefined;
|
|
14008
15703
|
};
|
|
14009
15704
|
}>, z.ZodArray<z.ZodObject<{
|
|
14010
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
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;
|
|
14016
15747
|
}, {
|
|
14017
|
-
|
|
14018
|
-
|
|
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;
|
|
14019
15757
|
}>]>>;
|
|
14020
15758
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
14021
15759
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -14152,8 +15890,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14152
15890
|
}, "strip", z.ZodTypeAny, {
|
|
14153
15891
|
keywords: string[];
|
|
14154
15892
|
message?: string | {
|
|
14155
|
-
|
|
14156
|
-
|
|
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;
|
|
14157
15902
|
} | undefined;
|
|
14158
15903
|
forward?: string | boolean | {
|
|
14159
15904
|
to?: string | undefined;
|
|
@@ -14205,8 +15950,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14205
15950
|
}, {
|
|
14206
15951
|
keywords: string[];
|
|
14207
15952
|
message?: string | {
|
|
14208
|
-
|
|
14209
|
-
|
|
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;
|
|
14210
15962
|
} | undefined;
|
|
14211
15963
|
forward?: string | boolean | {
|
|
14212
15964
|
to?: string | undefined;
|
|
@@ -14256,10 +16008,45 @@ declare module '@scout9/app/schemas' {
|
|
|
14256
16008
|
overrideLock?: boolean | undefined;
|
|
14257
16009
|
} | undefined;
|
|
14258
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">>;
|
|
14259
16039
|
}, "strip", z.ZodTypeAny, {
|
|
14260
16040
|
message?: string | {
|
|
14261
|
-
|
|
14262
|
-
|
|
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;
|
|
14263
16050
|
} | undefined;
|
|
14264
16051
|
forward?: string | boolean | {
|
|
14265
16052
|
to?: string | undefined;
|
|
@@ -14328,8 +16115,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14328
16115
|
})[] | undefined;
|
|
14329
16116
|
removeInstructions?: string[] | undefined;
|
|
14330
16117
|
message?: string | {
|
|
14331
|
-
|
|
14332
|
-
|
|
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;
|
|
14333
16127
|
} | undefined;
|
|
14334
16128
|
secondsDelay?: number | undefined;
|
|
14335
16129
|
scheduled?: number | undefined;
|
|
@@ -14381,8 +16175,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14381
16175
|
})[] | undefined;
|
|
14382
16176
|
removeInstructions?: string[] | undefined;
|
|
14383
16177
|
message?: string | {
|
|
14384
|
-
|
|
14385
|
-
|
|
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;
|
|
14386
16187
|
} | undefined;
|
|
14387
16188
|
secondsDelay?: number | undefined;
|
|
14388
16189
|
scheduled?: number | undefined;
|
|
@@ -14419,8 +16220,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14419
16220
|
} | {
|
|
14420
16221
|
keywords: string[];
|
|
14421
16222
|
message?: string | {
|
|
14422
|
-
|
|
14423
|
-
|
|
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;
|
|
14424
16232
|
} | undefined;
|
|
14425
16233
|
forward?: string | boolean | {
|
|
14426
16234
|
to?: string | undefined;
|
|
@@ -14470,10 +16278,27 @@ declare module '@scout9/app/schemas' {
|
|
|
14470
16278
|
overrideLock?: boolean | undefined;
|
|
14471
16279
|
} | undefined;
|
|
14472
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;
|
|
14473
16291
|
}, {
|
|
14474
16292
|
message?: string | {
|
|
14475
|
-
|
|
14476
|
-
|
|
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;
|
|
14477
16302
|
} | undefined;
|
|
14478
16303
|
forward?: string | boolean | {
|
|
14479
16304
|
to?: string | undefined;
|
|
@@ -14542,8 +16367,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14542
16367
|
})[] | undefined;
|
|
14543
16368
|
removeInstructions?: string[] | undefined;
|
|
14544
16369
|
message?: string | {
|
|
14545
|
-
|
|
14546
|
-
|
|
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;
|
|
14547
16379
|
} | undefined;
|
|
14548
16380
|
secondsDelay?: number | undefined;
|
|
14549
16381
|
scheduled?: number | undefined;
|
|
@@ -14595,8 +16427,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14595
16427
|
})[] | undefined;
|
|
14596
16428
|
removeInstructions?: string[] | undefined;
|
|
14597
16429
|
message?: string | {
|
|
14598
|
-
|
|
14599
|
-
|
|
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;
|
|
14600
16439
|
} | undefined;
|
|
14601
16440
|
secondsDelay?: number | undefined;
|
|
14602
16441
|
scheduled?: number | undefined;
|
|
@@ -14633,8 +16472,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14633
16472
|
} | {
|
|
14634
16473
|
keywords: string[];
|
|
14635
16474
|
message?: string | {
|
|
14636
|
-
|
|
14637
|
-
|
|
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;
|
|
14638
16484
|
} | undefined;
|
|
14639
16485
|
forward?: string | boolean | {
|
|
14640
16486
|
to?: string | undefined;
|
|
@@ -14684,16 +16530,69 @@ declare module '@scout9/app/schemas' {
|
|
|
14684
16530
|
overrideLock?: boolean | undefined;
|
|
14685
16531
|
} | undefined;
|
|
14686
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;
|
|
14687
16543
|
}>, "many">]>>, z.ZodUnion<[z.ZodObject<{
|
|
14688
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
|
|
14693
|
-
|
|
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;
|
|
14694
16586
|
}, {
|
|
14695
|
-
|
|
14696
|
-
|
|
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;
|
|
14697
16596
|
}>]>>;
|
|
14698
16597
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
14699
16598
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -14869,15 +16768,58 @@ declare module '@scout9/app/schemas' {
|
|
|
14869
16768
|
persist?: boolean | undefined;
|
|
14870
16769
|
}>]>, "many">]>>;
|
|
14871
16770
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14872
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
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;
|
|
14878
16813
|
}, {
|
|
14879
|
-
|
|
14880
|
-
|
|
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;
|
|
14881
16823
|
}>]>>;
|
|
14882
16824
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
14883
16825
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14988,8 +16930,15 @@ declare module '@scout9/app/schemas' {
|
|
|
14988
16930
|
})[] | undefined;
|
|
14989
16931
|
removeInstructions?: string[] | undefined;
|
|
14990
16932
|
message?: string | {
|
|
14991
|
-
|
|
14992
|
-
|
|
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;
|
|
14993
16942
|
} | undefined;
|
|
14994
16943
|
secondsDelay?: number | undefined;
|
|
14995
16944
|
scheduled?: number | undefined;
|
|
@@ -15040,8 +16989,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15040
16989
|
})[] | undefined;
|
|
15041
16990
|
removeInstructions?: string[] | undefined;
|
|
15042
16991
|
message?: string | {
|
|
15043
|
-
|
|
15044
|
-
|
|
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;
|
|
15045
17001
|
} | undefined;
|
|
15046
17002
|
secondsDelay?: number | undefined;
|
|
15047
17003
|
scheduled?: number | undefined;
|
|
@@ -15116,15 +17072,58 @@ declare module '@scout9/app/schemas' {
|
|
|
15116
17072
|
persist?: boolean | undefined;
|
|
15117
17073
|
}>]>, "many">]>>;
|
|
15118
17074
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15119
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15120
|
-
|
|
15121
|
-
|
|
15122
|
-
|
|
15123
|
-
|
|
15124
|
-
|
|
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;
|
|
15125
17117
|
}, {
|
|
15126
|
-
|
|
15127
|
-
|
|
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;
|
|
15128
17127
|
}>]>>;
|
|
15129
17128
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
15130
17129
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15235,8 +17234,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15235
17234
|
})[] | undefined;
|
|
15236
17235
|
removeInstructions?: string[] | undefined;
|
|
15237
17236
|
message?: string | {
|
|
15238
|
-
|
|
15239
|
-
|
|
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;
|
|
15240
17246
|
} | undefined;
|
|
15241
17247
|
secondsDelay?: number | undefined;
|
|
15242
17248
|
scheduled?: number | undefined;
|
|
@@ -15287,8 +17293,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15287
17293
|
})[] | undefined;
|
|
15288
17294
|
removeInstructions?: string[] | undefined;
|
|
15289
17295
|
message?: string | {
|
|
15290
|
-
|
|
15291
|
-
|
|
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;
|
|
15292
17305
|
} | undefined;
|
|
15293
17306
|
secondsDelay?: number | undefined;
|
|
15294
17307
|
scheduled?: number | undefined;
|
|
@@ -15342,8 +17355,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15342
17355
|
})[] | undefined;
|
|
15343
17356
|
removeInstructions?: string[] | undefined;
|
|
15344
17357
|
message?: string | {
|
|
15345
|
-
|
|
15346
|
-
|
|
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;
|
|
15347
17367
|
} | undefined;
|
|
15348
17368
|
secondsDelay?: number | undefined;
|
|
15349
17369
|
scheduled?: number | undefined;
|
|
@@ -15395,8 +17415,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15395
17415
|
})[] | undefined;
|
|
15396
17416
|
removeInstructions?: string[] | undefined;
|
|
15397
17417
|
message?: string | {
|
|
15398
|
-
|
|
15399
|
-
|
|
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;
|
|
15400
17427
|
} | undefined;
|
|
15401
17428
|
secondsDelay?: number | undefined;
|
|
15402
17429
|
scheduled?: number | undefined;
|
|
@@ -15450,8 +17477,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15450
17477
|
})[] | undefined;
|
|
15451
17478
|
removeInstructions?: string[] | undefined;
|
|
15452
17479
|
message?: string | {
|
|
15453
|
-
|
|
15454
|
-
|
|
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;
|
|
15455
17489
|
} | undefined;
|
|
15456
17490
|
secondsDelay?: number | undefined;
|
|
15457
17491
|
scheduled?: number | undefined;
|
|
@@ -15503,8 +17537,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15503
17537
|
})[] | undefined;
|
|
15504
17538
|
removeInstructions?: string[] | undefined;
|
|
15505
17539
|
message?: string | {
|
|
15506
|
-
|
|
15507
|
-
|
|
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;
|
|
15508
17549
|
} | undefined;
|
|
15509
17550
|
secondsDelay?: number | undefined;
|
|
15510
17551
|
scheduled?: number | undefined;
|
|
@@ -15539,15 +17580,58 @@ declare module '@scout9/app/schemas' {
|
|
|
15539
17580
|
} | undefined;
|
|
15540
17581
|
};
|
|
15541
17582
|
}>, z.ZodArray<z.ZodObject<{
|
|
15542
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
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;
|
|
15548
17625
|
}, {
|
|
15549
|
-
|
|
15550
|
-
|
|
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;
|
|
15551
17635
|
}>]>>;
|
|
15552
17636
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
15553
17637
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -15684,8 +17768,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15684
17768
|
}, "strip", z.ZodTypeAny, {
|
|
15685
17769
|
keywords: string[];
|
|
15686
17770
|
message?: string | {
|
|
15687
|
-
|
|
15688
|
-
|
|
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;
|
|
15689
17780
|
} | undefined;
|
|
15690
17781
|
forward?: string | boolean | {
|
|
15691
17782
|
to?: string | undefined;
|
|
@@ -15737,8 +17828,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15737
17828
|
}, {
|
|
15738
17829
|
keywords: string[];
|
|
15739
17830
|
message?: string | {
|
|
15740
|
-
|
|
15741
|
-
|
|
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;
|
|
15742
17840
|
} | undefined;
|
|
15743
17841
|
forward?: string | boolean | {
|
|
15744
17842
|
to?: string | undefined;
|
|
@@ -15788,10 +17886,45 @@ declare module '@scout9/app/schemas' {
|
|
|
15788
17886
|
overrideLock?: boolean | undefined;
|
|
15789
17887
|
} | undefined;
|
|
15790
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">>;
|
|
15791
17917
|
}, "strip", z.ZodTypeAny, {
|
|
15792
17918
|
message?: string | {
|
|
15793
|
-
|
|
15794
|
-
|
|
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;
|
|
15795
17928
|
} | undefined;
|
|
15796
17929
|
forward?: string | boolean | {
|
|
15797
17930
|
to?: string | undefined;
|
|
@@ -15860,8 +17993,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15860
17993
|
})[] | undefined;
|
|
15861
17994
|
removeInstructions?: string[] | undefined;
|
|
15862
17995
|
message?: string | {
|
|
15863
|
-
|
|
15864
|
-
|
|
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;
|
|
15865
18005
|
} | undefined;
|
|
15866
18006
|
secondsDelay?: number | undefined;
|
|
15867
18007
|
scheduled?: number | undefined;
|
|
@@ -15913,8 +18053,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15913
18053
|
})[] | undefined;
|
|
15914
18054
|
removeInstructions?: string[] | undefined;
|
|
15915
18055
|
message?: string | {
|
|
15916
|
-
|
|
15917
|
-
|
|
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;
|
|
15918
18065
|
} | undefined;
|
|
15919
18066
|
secondsDelay?: number | undefined;
|
|
15920
18067
|
scheduled?: number | undefined;
|
|
@@ -15951,8 +18098,15 @@ declare module '@scout9/app/schemas' {
|
|
|
15951
18098
|
} | {
|
|
15952
18099
|
keywords: string[];
|
|
15953
18100
|
message?: string | {
|
|
15954
|
-
|
|
15955
|
-
|
|
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;
|
|
15956
18110
|
} | undefined;
|
|
15957
18111
|
forward?: string | boolean | {
|
|
15958
18112
|
to?: string | undefined;
|
|
@@ -16002,10 +18156,27 @@ declare module '@scout9/app/schemas' {
|
|
|
16002
18156
|
overrideLock?: boolean | undefined;
|
|
16003
18157
|
} | undefined;
|
|
16004
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;
|
|
16005
18169
|
}, {
|
|
16006
18170
|
message?: string | {
|
|
16007
|
-
|
|
16008
|
-
|
|
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;
|
|
16009
18180
|
} | undefined;
|
|
16010
18181
|
forward?: string | boolean | {
|
|
16011
18182
|
to?: string | undefined;
|
|
@@ -16074,8 +18245,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16074
18245
|
})[] | undefined;
|
|
16075
18246
|
removeInstructions?: string[] | undefined;
|
|
16076
18247
|
message?: string | {
|
|
16077
|
-
|
|
16078
|
-
|
|
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;
|
|
16079
18257
|
} | undefined;
|
|
16080
18258
|
secondsDelay?: number | undefined;
|
|
16081
18259
|
scheduled?: number | undefined;
|
|
@@ -16127,8 +18305,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16127
18305
|
})[] | undefined;
|
|
16128
18306
|
removeInstructions?: string[] | undefined;
|
|
16129
18307
|
message?: string | {
|
|
16130
|
-
|
|
16131
|
-
|
|
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;
|
|
16132
18317
|
} | undefined;
|
|
16133
18318
|
secondsDelay?: number | undefined;
|
|
16134
18319
|
scheduled?: number | undefined;
|
|
@@ -16165,8 +18350,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16165
18350
|
} | {
|
|
16166
18351
|
keywords: string[];
|
|
16167
18352
|
message?: string | {
|
|
16168
|
-
|
|
16169
|
-
|
|
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;
|
|
16170
18362
|
} | undefined;
|
|
16171
18363
|
forward?: string | boolean | {
|
|
16172
18364
|
to?: string | undefined;
|
|
@@ -16216,16 +18408,69 @@ declare module '@scout9/app/schemas' {
|
|
|
16216
18408
|
overrideLock?: boolean | undefined;
|
|
16217
18409
|
} | undefined;
|
|
16218
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;
|
|
16219
18421
|
}>, z.ZodArray<z.ZodObject<{
|
|
16220
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
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;
|
|
16226
18464
|
}, {
|
|
16227
|
-
|
|
16228
|
-
|
|
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;
|
|
16229
18474
|
}>]>>;
|
|
16230
18475
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
16231
18476
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -16401,15 +18646,58 @@ declare module '@scout9/app/schemas' {
|
|
|
16401
18646
|
persist?: boolean | undefined;
|
|
16402
18647
|
}>]>, "many">]>>;
|
|
16403
18648
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16404
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
|
|
16409
|
-
|
|
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;
|
|
16410
18691
|
}, {
|
|
16411
|
-
|
|
16412
|
-
|
|
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;
|
|
16413
18701
|
}>]>>;
|
|
16414
18702
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
16415
18703
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16520,8 +18808,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16520
18808
|
})[] | undefined;
|
|
16521
18809
|
removeInstructions?: string[] | undefined;
|
|
16522
18810
|
message?: string | {
|
|
16523
|
-
|
|
16524
|
-
|
|
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;
|
|
16525
18820
|
} | undefined;
|
|
16526
18821
|
secondsDelay?: number | undefined;
|
|
16527
18822
|
scheduled?: number | undefined;
|
|
@@ -16572,8 +18867,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16572
18867
|
})[] | undefined;
|
|
16573
18868
|
removeInstructions?: string[] | undefined;
|
|
16574
18869
|
message?: string | {
|
|
16575
|
-
|
|
16576
|
-
|
|
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;
|
|
16577
18879
|
} | undefined;
|
|
16578
18880
|
secondsDelay?: number | undefined;
|
|
16579
18881
|
scheduled?: number | undefined;
|
|
@@ -16648,15 +18950,58 @@ declare module '@scout9/app/schemas' {
|
|
|
16648
18950
|
persist?: boolean | undefined;
|
|
16649
18951
|
}>]>, "many">]>>;
|
|
16650
18952
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16651
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
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;
|
|
16657
18995
|
}, {
|
|
16658
|
-
|
|
16659
|
-
|
|
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;
|
|
16660
19005
|
}>]>>;
|
|
16661
19006
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
16662
19007
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16767,8 +19112,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16767
19112
|
})[] | undefined;
|
|
16768
19113
|
removeInstructions?: string[] | undefined;
|
|
16769
19114
|
message?: string | {
|
|
16770
|
-
|
|
16771
|
-
|
|
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;
|
|
16772
19124
|
} | undefined;
|
|
16773
19125
|
secondsDelay?: number | undefined;
|
|
16774
19126
|
scheduled?: number | undefined;
|
|
@@ -16819,8 +19171,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16819
19171
|
})[] | undefined;
|
|
16820
19172
|
removeInstructions?: string[] | undefined;
|
|
16821
19173
|
message?: string | {
|
|
16822
|
-
|
|
16823
|
-
|
|
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;
|
|
16824
19183
|
} | undefined;
|
|
16825
19184
|
secondsDelay?: number | undefined;
|
|
16826
19185
|
scheduled?: number | undefined;
|
|
@@ -16874,8 +19233,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16874
19233
|
})[] | undefined;
|
|
16875
19234
|
removeInstructions?: string[] | undefined;
|
|
16876
19235
|
message?: string | {
|
|
16877
|
-
|
|
16878
|
-
|
|
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;
|
|
16879
19245
|
} | undefined;
|
|
16880
19246
|
secondsDelay?: number | undefined;
|
|
16881
19247
|
scheduled?: number | undefined;
|
|
@@ -16927,8 +19293,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16927
19293
|
})[] | undefined;
|
|
16928
19294
|
removeInstructions?: string[] | undefined;
|
|
16929
19295
|
message?: string | {
|
|
16930
|
-
|
|
16931
|
-
|
|
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;
|
|
16932
19305
|
} | undefined;
|
|
16933
19306
|
secondsDelay?: number | undefined;
|
|
16934
19307
|
scheduled?: number | undefined;
|
|
@@ -16982,8 +19355,15 @@ declare module '@scout9/app/schemas' {
|
|
|
16982
19355
|
})[] | undefined;
|
|
16983
19356
|
removeInstructions?: string[] | undefined;
|
|
16984
19357
|
message?: string | {
|
|
16985
|
-
|
|
16986
|
-
|
|
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;
|
|
16987
19367
|
} | undefined;
|
|
16988
19368
|
secondsDelay?: number | undefined;
|
|
16989
19369
|
scheduled?: number | undefined;
|
|
@@ -17035,8 +19415,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17035
19415
|
})[] | undefined;
|
|
17036
19416
|
removeInstructions?: string[] | undefined;
|
|
17037
19417
|
message?: string | {
|
|
17038
|
-
|
|
17039
|
-
|
|
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;
|
|
17040
19427
|
} | undefined;
|
|
17041
19428
|
secondsDelay?: number | undefined;
|
|
17042
19429
|
scheduled?: number | undefined;
|
|
@@ -17071,15 +19458,58 @@ declare module '@scout9/app/schemas' {
|
|
|
17071
19458
|
} | undefined;
|
|
17072
19459
|
};
|
|
17073
19460
|
}>, z.ZodArray<z.ZodObject<{
|
|
17074
|
-
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
17075
|
-
|
|
17076
|
-
|
|
17077
|
-
|
|
17078
|
-
|
|
17079
|
-
|
|
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;
|
|
17080
19503
|
}, {
|
|
17081
|
-
|
|
17082
|
-
|
|
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;
|
|
17083
19513
|
}>]>>;
|
|
17084
19514
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
17085
19515
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -17216,8 +19646,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17216
19646
|
}, "strip", z.ZodTypeAny, {
|
|
17217
19647
|
keywords: string[];
|
|
17218
19648
|
message?: string | {
|
|
17219
|
-
|
|
17220
|
-
|
|
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;
|
|
17221
19658
|
} | undefined;
|
|
17222
19659
|
forward?: string | boolean | {
|
|
17223
19660
|
to?: string | undefined;
|
|
@@ -17269,8 +19706,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17269
19706
|
}, {
|
|
17270
19707
|
keywords: string[];
|
|
17271
19708
|
message?: string | {
|
|
17272
|
-
|
|
17273
|
-
|
|
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;
|
|
17274
19718
|
} | undefined;
|
|
17275
19719
|
forward?: string | boolean | {
|
|
17276
19720
|
to?: string | undefined;
|
|
@@ -17320,10 +19764,45 @@ declare module '@scout9/app/schemas' {
|
|
|
17320
19764
|
overrideLock?: boolean | undefined;
|
|
17321
19765
|
} | undefined;
|
|
17322
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">>;
|
|
17323
19795
|
}, "strip", z.ZodTypeAny, {
|
|
17324
19796
|
message?: string | {
|
|
17325
|
-
|
|
17326
|
-
|
|
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;
|
|
17327
19806
|
} | undefined;
|
|
17328
19807
|
forward?: string | boolean | {
|
|
17329
19808
|
to?: string | undefined;
|
|
@@ -17392,8 +19871,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17392
19871
|
})[] | undefined;
|
|
17393
19872
|
removeInstructions?: string[] | undefined;
|
|
17394
19873
|
message?: string | {
|
|
17395
|
-
|
|
17396
|
-
|
|
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;
|
|
17397
19883
|
} | undefined;
|
|
17398
19884
|
secondsDelay?: number | undefined;
|
|
17399
19885
|
scheduled?: number | undefined;
|
|
@@ -17445,8 +19931,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17445
19931
|
})[] | undefined;
|
|
17446
19932
|
removeInstructions?: string[] | undefined;
|
|
17447
19933
|
message?: string | {
|
|
17448
|
-
|
|
17449
|
-
|
|
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;
|
|
17450
19943
|
} | undefined;
|
|
17451
19944
|
secondsDelay?: number | undefined;
|
|
17452
19945
|
scheduled?: number | undefined;
|
|
@@ -17483,8 +19976,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17483
19976
|
} | {
|
|
17484
19977
|
keywords: string[];
|
|
17485
19978
|
message?: string | {
|
|
17486
|
-
|
|
17487
|
-
|
|
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;
|
|
17488
19988
|
} | undefined;
|
|
17489
19989
|
forward?: string | boolean | {
|
|
17490
19990
|
to?: string | undefined;
|
|
@@ -17534,10 +20034,27 @@ declare module '@scout9/app/schemas' {
|
|
|
17534
20034
|
overrideLock?: boolean | undefined;
|
|
17535
20035
|
} | undefined;
|
|
17536
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;
|
|
17537
20047
|
}, {
|
|
17538
20048
|
message?: string | {
|
|
17539
|
-
|
|
17540
|
-
|
|
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;
|
|
17541
20058
|
} | undefined;
|
|
17542
20059
|
forward?: string | boolean | {
|
|
17543
20060
|
to?: string | undefined;
|
|
@@ -17606,8 +20123,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17606
20123
|
})[] | undefined;
|
|
17607
20124
|
removeInstructions?: string[] | undefined;
|
|
17608
20125
|
message?: string | {
|
|
17609
|
-
|
|
17610
|
-
|
|
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;
|
|
17611
20135
|
} | undefined;
|
|
17612
20136
|
secondsDelay?: number | undefined;
|
|
17613
20137
|
scheduled?: number | undefined;
|
|
@@ -17659,8 +20183,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17659
20183
|
})[] | undefined;
|
|
17660
20184
|
removeInstructions?: string[] | undefined;
|
|
17661
20185
|
message?: string | {
|
|
17662
|
-
|
|
17663
|
-
|
|
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;
|
|
17664
20195
|
} | undefined;
|
|
17665
20196
|
secondsDelay?: number | undefined;
|
|
17666
20197
|
scheduled?: number | undefined;
|
|
@@ -17697,8 +20228,15 @@ declare module '@scout9/app/schemas' {
|
|
|
17697
20228
|
} | {
|
|
17698
20229
|
keywords: string[];
|
|
17699
20230
|
message?: string | {
|
|
17700
|
-
|
|
17701
|
-
|
|
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;
|
|
17702
20240
|
} | undefined;
|
|
17703
20241
|
forward?: string | boolean | {
|
|
17704
20242
|
to?: string | undefined;
|
|
@@ -17748,6 +20286,16 @@ declare module '@scout9/app/schemas' {
|
|
|
17748
20286
|
overrideLock?: boolean | undefined;
|
|
17749
20287
|
} | undefined;
|
|
17750
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;
|
|
17751
20299
|
}>, "many">]>]>>;
|
|
17752
20300
|
}
|
|
17753
20301
|
|