@scout9/app 1.0.0-alpha.0.5.7 → 1.0.0-alpha.0.5.9
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-cd37b736.cjs → dev-8ed1e379.cjs} +263 -196
- package/dist/{index-2dbf44c5.cjs → index-4f698e67.cjs} +7 -7
- package/dist/index.cjs +4 -4
- package/dist/{macros-f855de63.cjs → macros-4bff92c7.cjs} +12 -3
- package/dist/{multipart-parser-473467a4.cjs → multipart-parser-8f894f70.cjs} +4 -4
- package/dist/schemas.cjs +1 -1
- package/dist/{spirits-2ab4d673.cjs → spirits-82575cd5.cjs} +160 -78
- package/dist/spirits.cjs +1 -1
- package/dist/testing-tools.cjs +3 -3
- package/package.json +2 -1
- package/src/core/templates/app.js +278 -179
- package/src/public.d.ts +8 -2
- package/src/runtime/macros/event.js +8 -17
- package/src/runtime/schemas/users.js +6 -1
- package/src/runtime/schemas/workflow.js +6 -2
- package/src/testing-tools/spirits.js +46 -0
- package/types/index.d.ts +1067 -171
- package/types/index.d.ts.map +1 -1
package/types/index.d.ts
CHANGED
|
@@ -309,6 +309,12 @@ declare module '@scout9/app' {
|
|
|
309
309
|
model?: ("Scout9" | "bard" | "openai");
|
|
310
310
|
transcripts?: Message[][] | undefined;
|
|
311
311
|
audios?: any[] | undefined;
|
|
312
|
+
pmt?: {
|
|
313
|
+
tag?: string;
|
|
314
|
+
ingress: "auto" | "manual" | "app" | "webhook";
|
|
315
|
+
llm?: string;
|
|
316
|
+
scout9?: string;
|
|
317
|
+
}
|
|
312
318
|
};
|
|
313
319
|
|
|
314
320
|
export type AgentConfiguration = Agent & {id: string};
|
|
@@ -580,7 +586,7 @@ declare module '@scout9/app' {
|
|
|
580
586
|
conversation: Conversation;
|
|
581
587
|
context?: any;
|
|
582
588
|
message: Message;
|
|
583
|
-
agent: Omit<AgentConfiguration, 'transcripts' | 'audios' | 'includedLocations' | 'excludedLocations' | 'model' | 'context'>;
|
|
589
|
+
agent: Omit<AgentConfiguration, 'transcripts' | 'audios' | 'includedLocations' | 'excludedLocations' | 'model' | 'context' | 'pmt'>;
|
|
584
590
|
customer: Customer;
|
|
585
591
|
intent: IntentWorkflowEvent;
|
|
586
592
|
stagnationCount: number;
|
|
@@ -607,7 +613,7 @@ declare module '@scout9/app' {
|
|
|
607
613
|
forwardNote?: string | undefined;
|
|
608
614
|
instructions?: Instruction[] | undefined;
|
|
609
615
|
removeInstructions?: string[] | undefined;
|
|
610
|
-
message?: string | undefined;
|
|
616
|
+
message?: string | {content: string; transform?: boolean} | undefined;
|
|
611
617
|
secondsDelay?: number | undefined;
|
|
612
618
|
scheduled?: number | undefined;
|
|
613
619
|
contextUpsert?: {
|
|
@@ -821,12 +827,14 @@ declare module '@scout9/app/spirits' {
|
|
|
821
827
|
export type ParseFun = (message: string, language: string | undefined) => Promise<import('@scout9/admin').ParseResponse>;
|
|
822
828
|
export type WorkflowFun = (event: any) => Promise<any>;
|
|
823
829
|
export type GenerateFun = (data: import('@scout9/admin').GenerateRequestOneOf) => Promise<import('@scout9/admin').GenerateResponse>;
|
|
830
|
+
export type TransformerFun = (data: import('@scout9/admin').PmtTransformRequest) => Promise<import('@scout9/admin').PmtTransformResponse>;
|
|
824
831
|
export type IdGeneratorFun = (prefix: any) => string;
|
|
825
832
|
export type StatusCallback = (message: string, level?: 'info' | 'warn' | 'error' | 'success' | undefined, type?: string | undefined, payload?: any | undefined) => void;
|
|
826
833
|
export type CustomerSpiritCallbacks = {
|
|
827
834
|
parser: ParseFun;
|
|
828
835
|
workflow: WorkflowFun;
|
|
829
836
|
generator: GenerateFun;
|
|
837
|
+
transformer: TransformerFun;
|
|
830
838
|
idGenerator: IdGeneratorFun;
|
|
831
839
|
progress?: StatusCallback | undefined;
|
|
832
840
|
};
|
|
@@ -996,8 +1004,8 @@ declare module '@scout9/app/schemas' {
|
|
|
996
1004
|
}>>;
|
|
997
1005
|
}, "strip", z.ZodTypeAny, {
|
|
998
1006
|
environment: "email" | "phone" | "web";
|
|
999
|
-
$agent: string;
|
|
1000
1007
|
$id: string;
|
|
1008
|
+
$agent: string;
|
|
1001
1009
|
$customer: string;
|
|
1002
1010
|
initialContexts?: string[] | undefined;
|
|
1003
1011
|
environmentProps?: {
|
|
@@ -1027,8 +1035,8 @@ declare module '@scout9/app/schemas' {
|
|
|
1027
1035
|
} | undefined;
|
|
1028
1036
|
}, {
|
|
1029
1037
|
environment: "email" | "phone" | "web";
|
|
1030
|
-
$agent: string;
|
|
1031
1038
|
$id: string;
|
|
1039
|
+
$agent: string;
|
|
1032
1040
|
$customer: string;
|
|
1033
1041
|
initialContexts?: string[] | undefined;
|
|
1034
1042
|
environmentProps?: {
|
|
@@ -1340,6 +1348,19 @@ declare module '@scout9/app/schemas' {
|
|
|
1340
1348
|
delayInSeconds?: number | null | undefined;
|
|
1341
1349
|
}>, "many">, "many">>;
|
|
1342
1350
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1351
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
1352
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
1354
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
|
1356
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
1357
|
+
tag?: string | undefined;
|
|
1358
|
+
llm?: string | undefined;
|
|
1359
|
+
}, {
|
|
1360
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
1361
|
+
tag?: string | undefined;
|
|
1362
|
+
llm?: string | undefined;
|
|
1363
|
+
}>>;
|
|
1343
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1344
1365
|
title: string;
|
|
1345
1366
|
context: string;
|
|
@@ -1373,6 +1394,11 @@ declare module '@scout9/app/schemas' {
|
|
|
1373
1394
|
delayInSeconds?: number | null | undefined;
|
|
1374
1395
|
}[][] | undefined;
|
|
1375
1396
|
audios?: any[] | undefined;
|
|
1397
|
+
pmt?: {
|
|
1398
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
1399
|
+
tag?: string | undefined;
|
|
1400
|
+
llm?: string | undefined;
|
|
1401
|
+
} | undefined;
|
|
1376
1402
|
}, {
|
|
1377
1403
|
deployed?: {
|
|
1378
1404
|
web?: string | undefined;
|
|
@@ -1406,6 +1432,11 @@ declare module '@scout9/app/schemas' {
|
|
|
1406
1432
|
delayInSeconds?: number | null | undefined;
|
|
1407
1433
|
}[][] | undefined;
|
|
1408
1434
|
audios?: any[] | undefined;
|
|
1435
|
+
pmt?: {
|
|
1436
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
1437
|
+
tag?: string | undefined;
|
|
1438
|
+
llm?: string | undefined;
|
|
1439
|
+
} | undefined;
|
|
1409
1440
|
}>, "many">;
|
|
1410
1441
|
entities: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1411
1442
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1648,6 +1679,11 @@ declare module '@scout9/app/schemas' {
|
|
|
1648
1679
|
delayInSeconds?: number | null | undefined;
|
|
1649
1680
|
}[][] | undefined;
|
|
1650
1681
|
audios?: any[] | undefined;
|
|
1682
|
+
pmt?: {
|
|
1683
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
1684
|
+
tag?: string | undefined;
|
|
1685
|
+
llm?: string | undefined;
|
|
1686
|
+
} | undefined;
|
|
1651
1687
|
}[];
|
|
1652
1688
|
entities: {
|
|
1653
1689
|
entity: string;
|
|
@@ -1748,6 +1784,11 @@ declare module '@scout9/app/schemas' {
|
|
|
1748
1784
|
delayInSeconds?: number | null | undefined;
|
|
1749
1785
|
}[][] | undefined;
|
|
1750
1786
|
audios?: any[] | undefined;
|
|
1787
|
+
pmt?: {
|
|
1788
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
1789
|
+
tag?: string | undefined;
|
|
1790
|
+
llm?: string | undefined;
|
|
1791
|
+
} | undefined;
|
|
1751
1792
|
}[];
|
|
1752
1793
|
entities: {
|
|
1753
1794
|
entity: string;
|
|
@@ -2915,6 +2956,19 @@ declare module '@scout9/app/schemas' {
|
|
|
2915
2956
|
delayInSeconds?: number | null | undefined;
|
|
2916
2957
|
}>, "many">, "many">>;
|
|
2917
2958
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2959
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
2960
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
2961
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
2962
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
}, "strip", z.ZodTypeAny, {
|
|
2964
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
2965
|
+
tag?: string | undefined;
|
|
2966
|
+
llm?: string | undefined;
|
|
2967
|
+
}, {
|
|
2968
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
2969
|
+
tag?: string | undefined;
|
|
2970
|
+
llm?: string | undefined;
|
|
2971
|
+
}>>;
|
|
2918
2972
|
}, "strip", z.ZodTypeAny, {
|
|
2919
2973
|
title: string;
|
|
2920
2974
|
context: string;
|
|
@@ -2948,6 +3002,11 @@ declare module '@scout9/app/schemas' {
|
|
|
2948
3002
|
delayInSeconds?: number | null | undefined;
|
|
2949
3003
|
}[][] | undefined;
|
|
2950
3004
|
audios?: any[] | undefined;
|
|
3005
|
+
pmt?: {
|
|
3006
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3007
|
+
tag?: string | undefined;
|
|
3008
|
+
llm?: string | undefined;
|
|
3009
|
+
} | undefined;
|
|
2951
3010
|
}, {
|
|
2952
3011
|
deployed?: {
|
|
2953
3012
|
web?: string | undefined;
|
|
@@ -2981,6 +3040,11 @@ declare module '@scout9/app/schemas' {
|
|
|
2981
3040
|
delayInSeconds?: number | null | undefined;
|
|
2982
3041
|
}[][] | undefined;
|
|
2983
3042
|
audios?: any[] | undefined;
|
|
3043
|
+
pmt?: {
|
|
3044
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3045
|
+
tag?: string | undefined;
|
|
3046
|
+
llm?: string | undefined;
|
|
3047
|
+
} | undefined;
|
|
2984
3048
|
}>;
|
|
2985
3049
|
export const PersonaSchema: z.ZodObject<{
|
|
2986
3050
|
deployed: z.ZodOptional<z.ZodObject<{
|
|
@@ -3045,6 +3109,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3045
3109
|
delayInSeconds?: number | null | undefined;
|
|
3046
3110
|
}>, "many">, "many">>;
|
|
3047
3111
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3112
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
3113
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3114
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
3115
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
}, "strip", z.ZodTypeAny, {
|
|
3117
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3118
|
+
tag?: string | undefined;
|
|
3119
|
+
llm?: string | undefined;
|
|
3120
|
+
}, {
|
|
3121
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3122
|
+
tag?: string | undefined;
|
|
3123
|
+
llm?: string | undefined;
|
|
3124
|
+
}>>;
|
|
3048
3125
|
}, "strip", z.ZodTypeAny, {
|
|
3049
3126
|
title: string;
|
|
3050
3127
|
context: string;
|
|
@@ -3078,6 +3155,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3078
3155
|
delayInSeconds?: number | null | undefined;
|
|
3079
3156
|
}[][] | undefined;
|
|
3080
3157
|
audios?: any[] | undefined;
|
|
3158
|
+
pmt?: {
|
|
3159
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3160
|
+
tag?: string | undefined;
|
|
3161
|
+
llm?: string | undefined;
|
|
3162
|
+
} | undefined;
|
|
3081
3163
|
}, {
|
|
3082
3164
|
deployed?: {
|
|
3083
3165
|
web?: string | undefined;
|
|
@@ -3111,6 +3193,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3111
3193
|
delayInSeconds?: number | null | undefined;
|
|
3112
3194
|
}[][] | undefined;
|
|
3113
3195
|
audios?: any[] | undefined;
|
|
3196
|
+
pmt?: {
|
|
3197
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3198
|
+
tag?: string | undefined;
|
|
3199
|
+
llm?: string | undefined;
|
|
3200
|
+
} | undefined;
|
|
3114
3201
|
}>;
|
|
3115
3202
|
export const AgentConfigurationSchema: z.ZodObject<{
|
|
3116
3203
|
inactive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3175,6 +3262,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3175
3262
|
delayInSeconds?: number | null | undefined;
|
|
3176
3263
|
}>, "many">, "many">>;
|
|
3177
3264
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3265
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
3266
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3267
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
3268
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
3269
|
+
}, "strip", z.ZodTypeAny, {
|
|
3270
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3271
|
+
tag?: string | undefined;
|
|
3272
|
+
llm?: string | undefined;
|
|
3273
|
+
}, {
|
|
3274
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3275
|
+
tag?: string | undefined;
|
|
3276
|
+
llm?: string | undefined;
|
|
3277
|
+
}>>;
|
|
3178
3278
|
id: z.ZodString;
|
|
3179
3279
|
}, "strip", z.ZodTypeAny, {
|
|
3180
3280
|
id: string;
|
|
@@ -3210,6 +3310,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3210
3310
|
delayInSeconds?: number | null | undefined;
|
|
3211
3311
|
}[][] | undefined;
|
|
3212
3312
|
audios?: any[] | undefined;
|
|
3313
|
+
pmt?: {
|
|
3314
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3315
|
+
tag?: string | undefined;
|
|
3316
|
+
llm?: string | undefined;
|
|
3317
|
+
} | undefined;
|
|
3213
3318
|
}, {
|
|
3214
3319
|
id: string;
|
|
3215
3320
|
inactive?: boolean | undefined;
|
|
@@ -3244,6 +3349,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3244
3349
|
delayInSeconds?: number | null | undefined;
|
|
3245
3350
|
}[][] | undefined;
|
|
3246
3351
|
audios?: any[] | undefined;
|
|
3352
|
+
pmt?: {
|
|
3353
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3354
|
+
tag?: string | undefined;
|
|
3355
|
+
llm?: string | undefined;
|
|
3356
|
+
} | undefined;
|
|
3247
3357
|
}>;
|
|
3248
3358
|
export const PersonaConfigurationSchema: z.ZodObject<{
|
|
3249
3359
|
inactive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3308,6 +3418,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3308
3418
|
delayInSeconds?: number | null | undefined;
|
|
3309
3419
|
}>, "many">, "many">>;
|
|
3310
3420
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3421
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
3422
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3423
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
3424
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
3425
|
+
}, "strip", z.ZodTypeAny, {
|
|
3426
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3427
|
+
tag?: string | undefined;
|
|
3428
|
+
llm?: string | undefined;
|
|
3429
|
+
}, {
|
|
3430
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3431
|
+
tag?: string | undefined;
|
|
3432
|
+
llm?: string | undefined;
|
|
3433
|
+
}>>;
|
|
3311
3434
|
id: z.ZodString;
|
|
3312
3435
|
}, "strip", z.ZodTypeAny, {
|
|
3313
3436
|
id: string;
|
|
@@ -3343,6 +3466,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3343
3466
|
delayInSeconds?: number | null | undefined;
|
|
3344
3467
|
}[][] | undefined;
|
|
3345
3468
|
audios?: any[] | undefined;
|
|
3469
|
+
pmt?: {
|
|
3470
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3471
|
+
tag?: string | undefined;
|
|
3472
|
+
llm?: string | undefined;
|
|
3473
|
+
} | undefined;
|
|
3346
3474
|
}, {
|
|
3347
3475
|
id: string;
|
|
3348
3476
|
inactive?: boolean | undefined;
|
|
@@ -3377,6 +3505,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3377
3505
|
delayInSeconds?: number | null | undefined;
|
|
3378
3506
|
}[][] | undefined;
|
|
3379
3507
|
audios?: any[] | undefined;
|
|
3508
|
+
pmt?: {
|
|
3509
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3510
|
+
tag?: string | undefined;
|
|
3511
|
+
llm?: string | undefined;
|
|
3512
|
+
} | undefined;
|
|
3380
3513
|
}>;
|
|
3381
3514
|
export const AgentsConfigurationSchema: z.ZodArray<z.ZodObject<{
|
|
3382
3515
|
inactive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3441,6 +3574,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3441
3574
|
delayInSeconds?: number | null | undefined;
|
|
3442
3575
|
}>, "many">, "many">>;
|
|
3443
3576
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3577
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
3578
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3579
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
3580
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
3581
|
+
}, "strip", z.ZodTypeAny, {
|
|
3582
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3583
|
+
tag?: string | undefined;
|
|
3584
|
+
llm?: string | undefined;
|
|
3585
|
+
}, {
|
|
3586
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3587
|
+
tag?: string | undefined;
|
|
3588
|
+
llm?: string | undefined;
|
|
3589
|
+
}>>;
|
|
3444
3590
|
id: z.ZodString;
|
|
3445
3591
|
}, "strip", z.ZodTypeAny, {
|
|
3446
3592
|
id: string;
|
|
@@ -3476,6 +3622,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3476
3622
|
delayInSeconds?: number | null | undefined;
|
|
3477
3623
|
}[][] | undefined;
|
|
3478
3624
|
audios?: any[] | undefined;
|
|
3625
|
+
pmt?: {
|
|
3626
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3627
|
+
tag?: string | undefined;
|
|
3628
|
+
llm?: string | undefined;
|
|
3629
|
+
} | undefined;
|
|
3479
3630
|
}, {
|
|
3480
3631
|
id: string;
|
|
3481
3632
|
inactive?: boolean | undefined;
|
|
@@ -3510,6 +3661,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3510
3661
|
delayInSeconds?: number | null | undefined;
|
|
3511
3662
|
}[][] | undefined;
|
|
3512
3663
|
audios?: any[] | undefined;
|
|
3664
|
+
pmt?: {
|
|
3665
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3666
|
+
tag?: string | undefined;
|
|
3667
|
+
llm?: string | undefined;
|
|
3668
|
+
} | undefined;
|
|
3513
3669
|
}>, "many">;
|
|
3514
3670
|
export const PersonasConfigurationSchema: z.ZodArray<z.ZodObject<{
|
|
3515
3671
|
inactive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3574,6 +3730,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3574
3730
|
delayInSeconds?: number | null | undefined;
|
|
3575
3731
|
}>, "many">, "many">>;
|
|
3576
3732
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3733
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
3734
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3735
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
3736
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
3737
|
+
}, "strip", z.ZodTypeAny, {
|
|
3738
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3739
|
+
tag?: string | undefined;
|
|
3740
|
+
llm?: string | undefined;
|
|
3741
|
+
}, {
|
|
3742
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3743
|
+
tag?: string | undefined;
|
|
3744
|
+
llm?: string | undefined;
|
|
3745
|
+
}>>;
|
|
3577
3746
|
id: z.ZodString;
|
|
3578
3747
|
}, "strip", z.ZodTypeAny, {
|
|
3579
3748
|
id: string;
|
|
@@ -3609,6 +3778,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3609
3778
|
delayInSeconds?: number | null | undefined;
|
|
3610
3779
|
}[][] | undefined;
|
|
3611
3780
|
audios?: any[] | undefined;
|
|
3781
|
+
pmt?: {
|
|
3782
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3783
|
+
tag?: string | undefined;
|
|
3784
|
+
llm?: string | undefined;
|
|
3785
|
+
} | undefined;
|
|
3612
3786
|
}, {
|
|
3613
3787
|
id: string;
|
|
3614
3788
|
inactive?: boolean | undefined;
|
|
@@ -3643,6 +3817,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3643
3817
|
delayInSeconds?: number | null | undefined;
|
|
3644
3818
|
}[][] | undefined;
|
|
3645
3819
|
audios?: any[] | undefined;
|
|
3820
|
+
pmt?: {
|
|
3821
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3822
|
+
tag?: string | undefined;
|
|
3823
|
+
llm?: string | undefined;
|
|
3824
|
+
} | undefined;
|
|
3646
3825
|
}>, "many">;
|
|
3647
3826
|
export const AgentsSchema: z.ZodArray<z.ZodObject<{
|
|
3648
3827
|
deployed: z.ZodOptional<z.ZodObject<{
|
|
@@ -3707,6 +3886,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3707
3886
|
delayInSeconds?: number | null | undefined;
|
|
3708
3887
|
}>, "many">, "many">>;
|
|
3709
3888
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3889
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
3890
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3891
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
3892
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
3893
|
+
}, "strip", z.ZodTypeAny, {
|
|
3894
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3895
|
+
tag?: string | undefined;
|
|
3896
|
+
llm?: string | undefined;
|
|
3897
|
+
}, {
|
|
3898
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3899
|
+
tag?: string | undefined;
|
|
3900
|
+
llm?: string | undefined;
|
|
3901
|
+
}>>;
|
|
3710
3902
|
}, "strip", z.ZodTypeAny, {
|
|
3711
3903
|
title: string;
|
|
3712
3904
|
context: string;
|
|
@@ -3740,6 +3932,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3740
3932
|
delayInSeconds?: number | null | undefined;
|
|
3741
3933
|
}[][] | undefined;
|
|
3742
3934
|
audios?: any[] | undefined;
|
|
3935
|
+
pmt?: {
|
|
3936
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3937
|
+
tag?: string | undefined;
|
|
3938
|
+
llm?: string | undefined;
|
|
3939
|
+
} | undefined;
|
|
3743
3940
|
}, {
|
|
3744
3941
|
deployed?: {
|
|
3745
3942
|
web?: string | undefined;
|
|
@@ -3773,6 +3970,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3773
3970
|
delayInSeconds?: number | null | undefined;
|
|
3774
3971
|
}[][] | undefined;
|
|
3775
3972
|
audios?: any[] | undefined;
|
|
3973
|
+
pmt?: {
|
|
3974
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
3975
|
+
tag?: string | undefined;
|
|
3976
|
+
llm?: string | undefined;
|
|
3977
|
+
} | undefined;
|
|
3776
3978
|
}>, "many">;
|
|
3777
3979
|
export const PersonasSchema: z.ZodArray<z.ZodObject<{
|
|
3778
3980
|
deployed: z.ZodOptional<z.ZodObject<{
|
|
@@ -3837,6 +4039,19 @@ declare module '@scout9/app/schemas' {
|
|
|
3837
4039
|
delayInSeconds?: number | null | undefined;
|
|
3838
4040
|
}>, "many">, "many">>;
|
|
3839
4041
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
4042
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
4043
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
4044
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
4045
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
4046
|
+
}, "strip", z.ZodTypeAny, {
|
|
4047
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
4048
|
+
tag?: string | undefined;
|
|
4049
|
+
llm?: string | undefined;
|
|
4050
|
+
}, {
|
|
4051
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
4052
|
+
tag?: string | undefined;
|
|
4053
|
+
llm?: string | undefined;
|
|
4054
|
+
}>>;
|
|
3840
4055
|
}, "strip", z.ZodTypeAny, {
|
|
3841
4056
|
title: string;
|
|
3842
4057
|
context: string;
|
|
@@ -3870,6 +4085,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3870
4085
|
delayInSeconds?: number | null | undefined;
|
|
3871
4086
|
}[][] | undefined;
|
|
3872
4087
|
audios?: any[] | undefined;
|
|
4088
|
+
pmt?: {
|
|
4089
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
4090
|
+
tag?: string | undefined;
|
|
4091
|
+
llm?: string | undefined;
|
|
4092
|
+
} | undefined;
|
|
3873
4093
|
}, {
|
|
3874
4094
|
deployed?: {
|
|
3875
4095
|
web?: string | undefined;
|
|
@@ -3903,6 +4123,11 @@ declare module '@scout9/app/schemas' {
|
|
|
3903
4123
|
delayInSeconds?: number | null | undefined;
|
|
3904
4124
|
}[][] | undefined;
|
|
3905
4125
|
audios?: any[] | undefined;
|
|
4126
|
+
pmt?: {
|
|
4127
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
4128
|
+
tag?: string | undefined;
|
|
4129
|
+
llm?: string | undefined;
|
|
4130
|
+
} | undefined;
|
|
3906
4131
|
}>, "many">;
|
|
3907
4132
|
export const ForwardSchema: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
3908
4133
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -4285,8 +4510,8 @@ declare module '@scout9/app/schemas' {
|
|
|
4285
4510
|
}>>;
|
|
4286
4511
|
}, "strip", z.ZodTypeAny, {
|
|
4287
4512
|
environment: "email" | "phone" | "web";
|
|
4288
|
-
$agent: string;
|
|
4289
4513
|
$id: string;
|
|
4514
|
+
$agent: string;
|
|
4290
4515
|
$customer: string;
|
|
4291
4516
|
initialContexts?: string[] | undefined;
|
|
4292
4517
|
environmentProps?: {
|
|
@@ -4316,8 +4541,8 @@ declare module '@scout9/app/schemas' {
|
|
|
4316
4541
|
} | undefined;
|
|
4317
4542
|
}, {
|
|
4318
4543
|
environment: "email" | "phone" | "web";
|
|
4319
|
-
$agent: string;
|
|
4320
4544
|
$id: string;
|
|
4545
|
+
$agent: string;
|
|
4321
4546
|
$customer: string;
|
|
4322
4547
|
initialContexts?: string[] | undefined;
|
|
4323
4548
|
environmentProps?: {
|
|
@@ -4444,8 +4669,21 @@ declare module '@scout9/app/schemas' {
|
|
|
4444
4669
|
delayInSeconds?: number | null | undefined;
|
|
4445
4670
|
}>, "many">, "many">>;
|
|
4446
4671
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
4672
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
4673
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
4674
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
4675
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
4676
|
+
}, "strip", z.ZodTypeAny, {
|
|
4677
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
4678
|
+
tag?: string | undefined;
|
|
4679
|
+
llm?: string | undefined;
|
|
4680
|
+
}, {
|
|
4681
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
4682
|
+
tag?: string | undefined;
|
|
4683
|
+
llm?: string | undefined;
|
|
4684
|
+
}>>;
|
|
4447
4685
|
id: z.ZodString;
|
|
4448
|
-
}, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios">, "strip", z.ZodTypeAny, {
|
|
4686
|
+
}, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
|
|
4449
4687
|
id: string;
|
|
4450
4688
|
title: string;
|
|
4451
4689
|
inactive?: boolean | undefined;
|
|
@@ -4621,8 +4859,8 @@ declare module '@scout9/app/schemas' {
|
|
|
4621
4859
|
}[];
|
|
4622
4860
|
conversation: {
|
|
4623
4861
|
environment: "email" | "phone" | "web";
|
|
4624
|
-
$agent: string;
|
|
4625
4862
|
$id: string;
|
|
4863
|
+
$agent: string;
|
|
4626
4864
|
$customer: string;
|
|
4627
4865
|
initialContexts?: string[] | undefined;
|
|
4628
4866
|
environmentProps?: {
|
|
@@ -4725,8 +4963,8 @@ declare module '@scout9/app/schemas' {
|
|
|
4725
4963
|
}[];
|
|
4726
4964
|
conversation: {
|
|
4727
4965
|
environment: "email" | "phone" | "web";
|
|
4728
|
-
$agent: string;
|
|
4729
4966
|
$id: string;
|
|
4967
|
+
$agent: string;
|
|
4730
4968
|
$customer: string;
|
|
4731
4969
|
initialContexts?: string[] | undefined;
|
|
4732
4970
|
environmentProps?: {
|
|
@@ -4803,7 +5041,16 @@ declare module '@scout9/app/schemas' {
|
|
|
4803
5041
|
persist?: boolean | undefined;
|
|
4804
5042
|
}>]>, "many">]>>;
|
|
4805
5043
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4806
|
-
message: z.ZodOptional<z.ZodString
|
|
5044
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5045
|
+
content: z.ZodString;
|
|
5046
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
5047
|
+
}, "strip", z.ZodTypeAny, {
|
|
5048
|
+
content: string;
|
|
5049
|
+
transform?: boolean | undefined;
|
|
5050
|
+
}, {
|
|
5051
|
+
content: string;
|
|
5052
|
+
transform?: boolean | undefined;
|
|
5053
|
+
}>]>>;
|
|
4807
5054
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
4808
5055
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
4809
5056
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -4912,7 +5159,10 @@ declare module '@scout9/app/schemas' {
|
|
|
4912
5159
|
persist?: boolean | undefined;
|
|
4913
5160
|
})[] | undefined;
|
|
4914
5161
|
removeInstructions?: string[] | undefined;
|
|
4915
|
-
message?: string |
|
|
5162
|
+
message?: string | {
|
|
5163
|
+
content: string;
|
|
5164
|
+
transform?: boolean | undefined;
|
|
5165
|
+
} | undefined;
|
|
4916
5166
|
secondsDelay?: number | undefined;
|
|
4917
5167
|
scheduled?: number | undefined;
|
|
4918
5168
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -4961,7 +5211,10 @@ declare module '@scout9/app/schemas' {
|
|
|
4961
5211
|
persist?: boolean | undefined;
|
|
4962
5212
|
})[] | undefined;
|
|
4963
5213
|
removeInstructions?: string[] | undefined;
|
|
4964
|
-
message?: string |
|
|
5214
|
+
message?: string | {
|
|
5215
|
+
content: string;
|
|
5216
|
+
transform?: boolean | undefined;
|
|
5217
|
+
} | undefined;
|
|
4965
5218
|
secondsDelay?: number | undefined;
|
|
4966
5219
|
scheduled?: number | undefined;
|
|
4967
5220
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -4998,7 +5251,16 @@ declare module '@scout9/app/schemas' {
|
|
|
4998
5251
|
* The workflow response object slot
|
|
4999
5252
|
*/
|
|
5000
5253
|
export const WorkflowResponseSlotSchema: z.ZodObject<{
|
|
5001
|
-
message: z.ZodOptional<z.ZodString
|
|
5254
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5255
|
+
content: z.ZodString;
|
|
5256
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
5257
|
+
}, "strip", z.ZodTypeAny, {
|
|
5258
|
+
content: string;
|
|
5259
|
+
transform?: boolean | undefined;
|
|
5260
|
+
}, {
|
|
5261
|
+
content: string;
|
|
5262
|
+
transform?: boolean | undefined;
|
|
5263
|
+
}>]>>;
|
|
5002
5264
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
5003
5265
|
to: z.ZodOptional<z.ZodString>;
|
|
5004
5266
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -5173,7 +5435,16 @@ declare module '@scout9/app/schemas' {
|
|
|
5173
5435
|
persist?: boolean | undefined;
|
|
5174
5436
|
}>]>, "many">]>>;
|
|
5175
5437
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5176
|
-
message: z.ZodOptional<z.ZodString
|
|
5438
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5439
|
+
content: z.ZodString;
|
|
5440
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
5441
|
+
}, "strip", z.ZodTypeAny, {
|
|
5442
|
+
content: string;
|
|
5443
|
+
transform?: boolean | undefined;
|
|
5444
|
+
}, {
|
|
5445
|
+
content: string;
|
|
5446
|
+
transform?: boolean | undefined;
|
|
5447
|
+
}>]>>;
|
|
5177
5448
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
5178
5449
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
5179
5450
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -5282,7 +5553,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5282
5553
|
persist?: boolean | undefined;
|
|
5283
5554
|
})[] | undefined;
|
|
5284
5555
|
removeInstructions?: string[] | undefined;
|
|
5285
|
-
message?: string |
|
|
5556
|
+
message?: string | {
|
|
5557
|
+
content: string;
|
|
5558
|
+
transform?: boolean | undefined;
|
|
5559
|
+
} | undefined;
|
|
5286
5560
|
secondsDelay?: number | undefined;
|
|
5287
5561
|
scheduled?: number | undefined;
|
|
5288
5562
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5331,7 +5605,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5331
5605
|
persist?: boolean | undefined;
|
|
5332
5606
|
})[] | undefined;
|
|
5333
5607
|
removeInstructions?: string[] | undefined;
|
|
5334
|
-
message?: string |
|
|
5608
|
+
message?: string | {
|
|
5609
|
+
content: string;
|
|
5610
|
+
transform?: boolean | undefined;
|
|
5611
|
+
} | undefined;
|
|
5335
5612
|
secondsDelay?: number | undefined;
|
|
5336
5613
|
scheduled?: number | undefined;
|
|
5337
5614
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5405,7 +5682,16 @@ declare module '@scout9/app/schemas' {
|
|
|
5405
5682
|
persist?: boolean | undefined;
|
|
5406
5683
|
}>]>, "many">]>>;
|
|
5407
5684
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5408
|
-
message: z.ZodOptional<z.ZodString
|
|
5685
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5686
|
+
content: z.ZodString;
|
|
5687
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
5688
|
+
}, "strip", z.ZodTypeAny, {
|
|
5689
|
+
content: string;
|
|
5690
|
+
transform?: boolean | undefined;
|
|
5691
|
+
}, {
|
|
5692
|
+
content: string;
|
|
5693
|
+
transform?: boolean | undefined;
|
|
5694
|
+
}>]>>;
|
|
5409
5695
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
5410
5696
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
5411
5697
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -5514,7 +5800,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5514
5800
|
persist?: boolean | undefined;
|
|
5515
5801
|
})[] | undefined;
|
|
5516
5802
|
removeInstructions?: string[] | undefined;
|
|
5517
|
-
message?: string |
|
|
5803
|
+
message?: string | {
|
|
5804
|
+
content: string;
|
|
5805
|
+
transform?: boolean | undefined;
|
|
5806
|
+
} | undefined;
|
|
5518
5807
|
secondsDelay?: number | undefined;
|
|
5519
5808
|
scheduled?: number | undefined;
|
|
5520
5809
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5563,7 +5852,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5563
5852
|
persist?: boolean | undefined;
|
|
5564
5853
|
})[] | undefined;
|
|
5565
5854
|
removeInstructions?: string[] | undefined;
|
|
5566
|
-
message?: string |
|
|
5855
|
+
message?: string | {
|
|
5856
|
+
content: string;
|
|
5857
|
+
transform?: boolean | undefined;
|
|
5858
|
+
} | undefined;
|
|
5567
5859
|
secondsDelay?: number | undefined;
|
|
5568
5860
|
scheduled?: number | undefined;
|
|
5569
5861
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5615,7 +5907,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5615
5907
|
persist?: boolean | undefined;
|
|
5616
5908
|
})[] | undefined;
|
|
5617
5909
|
removeInstructions?: string[] | undefined;
|
|
5618
|
-
message?: string |
|
|
5910
|
+
message?: string | {
|
|
5911
|
+
content: string;
|
|
5912
|
+
transform?: boolean | undefined;
|
|
5913
|
+
} | undefined;
|
|
5619
5914
|
secondsDelay?: number | undefined;
|
|
5620
5915
|
scheduled?: number | undefined;
|
|
5621
5916
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5665,7 +5960,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5665
5960
|
persist?: boolean | undefined;
|
|
5666
5961
|
})[] | undefined;
|
|
5667
5962
|
removeInstructions?: string[] | undefined;
|
|
5668
|
-
message?: string |
|
|
5963
|
+
message?: string | {
|
|
5964
|
+
content: string;
|
|
5965
|
+
transform?: boolean | undefined;
|
|
5966
|
+
} | undefined;
|
|
5669
5967
|
secondsDelay?: number | undefined;
|
|
5670
5968
|
scheduled?: number | undefined;
|
|
5671
5969
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5717,7 +6015,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5717
6015
|
persist?: boolean | undefined;
|
|
5718
6016
|
})[] | undefined;
|
|
5719
6017
|
removeInstructions?: string[] | undefined;
|
|
5720
|
-
message?: string |
|
|
6018
|
+
message?: string | {
|
|
6019
|
+
content: string;
|
|
6020
|
+
transform?: boolean | undefined;
|
|
6021
|
+
} | undefined;
|
|
5721
6022
|
secondsDelay?: number | undefined;
|
|
5722
6023
|
scheduled?: number | undefined;
|
|
5723
6024
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5767,7 +6068,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5767
6068
|
persist?: boolean | undefined;
|
|
5768
6069
|
})[] | undefined;
|
|
5769
6070
|
removeInstructions?: string[] | undefined;
|
|
5770
|
-
message?: string |
|
|
6071
|
+
message?: string | {
|
|
6072
|
+
content: string;
|
|
6073
|
+
transform?: boolean | undefined;
|
|
6074
|
+
} | undefined;
|
|
5771
6075
|
secondsDelay?: number | undefined;
|
|
5772
6076
|
scheduled?: number | undefined;
|
|
5773
6077
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -5801,7 +6105,16 @@ declare module '@scout9/app/schemas' {
|
|
|
5801
6105
|
} | undefined;
|
|
5802
6106
|
};
|
|
5803
6107
|
}>, z.ZodArray<z.ZodObject<{
|
|
5804
|
-
message: z.ZodOptional<z.ZodString
|
|
6108
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6109
|
+
content: z.ZodString;
|
|
6110
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
6111
|
+
}, "strip", z.ZodTypeAny, {
|
|
6112
|
+
content: string;
|
|
6113
|
+
transform?: boolean | undefined;
|
|
6114
|
+
}, {
|
|
6115
|
+
content: string;
|
|
6116
|
+
transform?: boolean | undefined;
|
|
6117
|
+
}>]>>;
|
|
5805
6118
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
5806
6119
|
to: z.ZodOptional<z.ZodString>;
|
|
5807
6120
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -5936,7 +6249,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5936
6249
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
5937
6250
|
}, "strip", z.ZodTypeAny, {
|
|
5938
6251
|
keywords: string[];
|
|
5939
|
-
message?: string |
|
|
6252
|
+
message?: string | {
|
|
6253
|
+
content: string;
|
|
6254
|
+
transform?: boolean | undefined;
|
|
6255
|
+
} | undefined;
|
|
5940
6256
|
forward?: string | boolean | {
|
|
5941
6257
|
to?: string | undefined;
|
|
5942
6258
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -5986,7 +6302,10 @@ declare module '@scout9/app/schemas' {
|
|
|
5986
6302
|
} | undefined;
|
|
5987
6303
|
}, {
|
|
5988
6304
|
keywords: string[];
|
|
5989
|
-
message?: string |
|
|
6305
|
+
message?: string | {
|
|
6306
|
+
content: string;
|
|
6307
|
+
transform?: boolean | undefined;
|
|
6308
|
+
} | undefined;
|
|
5990
6309
|
forward?: string | boolean | {
|
|
5991
6310
|
to?: string | undefined;
|
|
5992
6311
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -6036,7 +6355,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6036
6355
|
} | undefined;
|
|
6037
6356
|
}>, "many">]>>;
|
|
6038
6357
|
}, "strip", z.ZodTypeAny, {
|
|
6039
|
-
message?: string |
|
|
6358
|
+
message?: string | {
|
|
6359
|
+
content: string;
|
|
6360
|
+
transform?: boolean | undefined;
|
|
6361
|
+
} | undefined;
|
|
6040
6362
|
forward?: string | boolean | {
|
|
6041
6363
|
to?: string | undefined;
|
|
6042
6364
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -6103,7 +6425,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6103
6425
|
persist?: boolean | undefined;
|
|
6104
6426
|
})[] | undefined;
|
|
6105
6427
|
removeInstructions?: string[] | undefined;
|
|
6106
|
-
message?: string |
|
|
6428
|
+
message?: string | {
|
|
6429
|
+
content: string;
|
|
6430
|
+
transform?: boolean | undefined;
|
|
6431
|
+
} | undefined;
|
|
6107
6432
|
secondsDelay?: number | undefined;
|
|
6108
6433
|
scheduled?: number | undefined;
|
|
6109
6434
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -6153,7 +6478,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6153
6478
|
persist?: boolean | undefined;
|
|
6154
6479
|
})[] | undefined;
|
|
6155
6480
|
removeInstructions?: string[] | undefined;
|
|
6156
|
-
message?: string |
|
|
6481
|
+
message?: string | {
|
|
6482
|
+
content: string;
|
|
6483
|
+
transform?: boolean | undefined;
|
|
6484
|
+
} | undefined;
|
|
6157
6485
|
secondsDelay?: number | undefined;
|
|
6158
6486
|
scheduled?: number | undefined;
|
|
6159
6487
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -6188,7 +6516,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6188
6516
|
};
|
|
6189
6517
|
} | {
|
|
6190
6518
|
keywords: string[];
|
|
6191
|
-
message?: string |
|
|
6519
|
+
message?: string | {
|
|
6520
|
+
content: string;
|
|
6521
|
+
transform?: boolean | undefined;
|
|
6522
|
+
} | undefined;
|
|
6192
6523
|
forward?: string | boolean | {
|
|
6193
6524
|
to?: string | undefined;
|
|
6194
6525
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -6238,7 +6569,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6238
6569
|
} | undefined;
|
|
6239
6570
|
}[] | undefined;
|
|
6240
6571
|
}, {
|
|
6241
|
-
message?: string |
|
|
6572
|
+
message?: string | {
|
|
6573
|
+
content: string;
|
|
6574
|
+
transform?: boolean | undefined;
|
|
6575
|
+
} | undefined;
|
|
6242
6576
|
forward?: string | boolean | {
|
|
6243
6577
|
to?: string | undefined;
|
|
6244
6578
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -6305,7 +6639,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6305
6639
|
persist?: boolean | undefined;
|
|
6306
6640
|
})[] | undefined;
|
|
6307
6641
|
removeInstructions?: string[] | undefined;
|
|
6308
|
-
message?: string |
|
|
6642
|
+
message?: string | {
|
|
6643
|
+
content: string;
|
|
6644
|
+
transform?: boolean | undefined;
|
|
6645
|
+
} | undefined;
|
|
6309
6646
|
secondsDelay?: number | undefined;
|
|
6310
6647
|
scheduled?: number | undefined;
|
|
6311
6648
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -6355,7 +6692,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6355
6692
|
persist?: boolean | undefined;
|
|
6356
6693
|
})[] | undefined;
|
|
6357
6694
|
removeInstructions?: string[] | undefined;
|
|
6358
|
-
message?: string |
|
|
6695
|
+
message?: string | {
|
|
6696
|
+
content: string;
|
|
6697
|
+
transform?: boolean | undefined;
|
|
6698
|
+
} | undefined;
|
|
6359
6699
|
secondsDelay?: number | undefined;
|
|
6360
6700
|
scheduled?: number | undefined;
|
|
6361
6701
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -6390,7 +6730,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6390
6730
|
};
|
|
6391
6731
|
} | {
|
|
6392
6732
|
keywords: string[];
|
|
6393
|
-
message?: string |
|
|
6733
|
+
message?: string | {
|
|
6734
|
+
content: string;
|
|
6735
|
+
transform?: boolean | undefined;
|
|
6736
|
+
} | undefined;
|
|
6394
6737
|
forward?: string | boolean | {
|
|
6395
6738
|
to?: string | undefined;
|
|
6396
6739
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -6444,7 +6787,16 @@ declare module '@scout9/app/schemas' {
|
|
|
6444
6787
|
* The workflow response to send in any given workflow
|
|
6445
6788
|
*/
|
|
6446
6789
|
export const WorkflowResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
6447
|
-
message: z.ZodOptional<z.ZodString
|
|
6790
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6791
|
+
content: z.ZodString;
|
|
6792
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
6793
|
+
}, "strip", z.ZodTypeAny, {
|
|
6794
|
+
content: string;
|
|
6795
|
+
transform?: boolean | undefined;
|
|
6796
|
+
}, {
|
|
6797
|
+
content: string;
|
|
6798
|
+
transform?: boolean | undefined;
|
|
6799
|
+
}>]>>;
|
|
6448
6800
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
6449
6801
|
to: z.ZodOptional<z.ZodString>;
|
|
6450
6802
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -6619,7 +6971,16 @@ declare module '@scout9/app/schemas' {
|
|
|
6619
6971
|
persist?: boolean | undefined;
|
|
6620
6972
|
}>]>, "many">]>>;
|
|
6621
6973
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6622
|
-
message: z.ZodOptional<z.ZodString
|
|
6974
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6975
|
+
content: z.ZodString;
|
|
6976
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
6977
|
+
}, "strip", z.ZodTypeAny, {
|
|
6978
|
+
content: string;
|
|
6979
|
+
transform?: boolean | undefined;
|
|
6980
|
+
}, {
|
|
6981
|
+
content: string;
|
|
6982
|
+
transform?: boolean | undefined;
|
|
6983
|
+
}>]>>;
|
|
6623
6984
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6624
6985
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
6625
6986
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -6728,7 +7089,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6728
7089
|
persist?: boolean | undefined;
|
|
6729
7090
|
})[] | undefined;
|
|
6730
7091
|
removeInstructions?: string[] | undefined;
|
|
6731
|
-
message?: string |
|
|
7092
|
+
message?: string | {
|
|
7093
|
+
content: string;
|
|
7094
|
+
transform?: boolean | undefined;
|
|
7095
|
+
} | undefined;
|
|
6732
7096
|
secondsDelay?: number | undefined;
|
|
6733
7097
|
scheduled?: number | undefined;
|
|
6734
7098
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -6777,7 +7141,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6777
7141
|
persist?: boolean | undefined;
|
|
6778
7142
|
})[] | undefined;
|
|
6779
7143
|
removeInstructions?: string[] | undefined;
|
|
6780
|
-
message?: string |
|
|
7144
|
+
message?: string | {
|
|
7145
|
+
content: string;
|
|
7146
|
+
transform?: boolean | undefined;
|
|
7147
|
+
} | undefined;
|
|
6781
7148
|
secondsDelay?: number | undefined;
|
|
6782
7149
|
scheduled?: number | undefined;
|
|
6783
7150
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -6851,7 +7218,16 @@ declare module '@scout9/app/schemas' {
|
|
|
6851
7218
|
persist?: boolean | undefined;
|
|
6852
7219
|
}>]>, "many">]>>;
|
|
6853
7220
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6854
|
-
message: z.ZodOptional<z.ZodString
|
|
7221
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7222
|
+
content: z.ZodString;
|
|
7223
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
7224
|
+
}, "strip", z.ZodTypeAny, {
|
|
7225
|
+
content: string;
|
|
7226
|
+
transform?: boolean | undefined;
|
|
7227
|
+
}, {
|
|
7228
|
+
content: string;
|
|
7229
|
+
transform?: boolean | undefined;
|
|
7230
|
+
}>]>>;
|
|
6855
7231
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
6856
7232
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
6857
7233
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -6960,7 +7336,10 @@ declare module '@scout9/app/schemas' {
|
|
|
6960
7336
|
persist?: boolean | undefined;
|
|
6961
7337
|
})[] | undefined;
|
|
6962
7338
|
removeInstructions?: string[] | undefined;
|
|
6963
|
-
message?: string |
|
|
7339
|
+
message?: string | {
|
|
7340
|
+
content: string;
|
|
7341
|
+
transform?: boolean | undefined;
|
|
7342
|
+
} | undefined;
|
|
6964
7343
|
secondsDelay?: number | undefined;
|
|
6965
7344
|
scheduled?: number | undefined;
|
|
6966
7345
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7009,7 +7388,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7009
7388
|
persist?: boolean | undefined;
|
|
7010
7389
|
})[] | undefined;
|
|
7011
7390
|
removeInstructions?: string[] | undefined;
|
|
7012
|
-
message?: string |
|
|
7391
|
+
message?: string | {
|
|
7392
|
+
content: string;
|
|
7393
|
+
transform?: boolean | undefined;
|
|
7394
|
+
} | undefined;
|
|
7013
7395
|
secondsDelay?: number | undefined;
|
|
7014
7396
|
scheduled?: number | undefined;
|
|
7015
7397
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7061,7 +7443,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7061
7443
|
persist?: boolean | undefined;
|
|
7062
7444
|
})[] | undefined;
|
|
7063
7445
|
removeInstructions?: string[] | undefined;
|
|
7064
|
-
message?: string |
|
|
7446
|
+
message?: string | {
|
|
7447
|
+
content: string;
|
|
7448
|
+
transform?: boolean | undefined;
|
|
7449
|
+
} | undefined;
|
|
7065
7450
|
secondsDelay?: number | undefined;
|
|
7066
7451
|
scheduled?: number | undefined;
|
|
7067
7452
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7111,7 +7496,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7111
7496
|
persist?: boolean | undefined;
|
|
7112
7497
|
})[] | undefined;
|
|
7113
7498
|
removeInstructions?: string[] | undefined;
|
|
7114
|
-
message?: string |
|
|
7499
|
+
message?: string | {
|
|
7500
|
+
content: string;
|
|
7501
|
+
transform?: boolean | undefined;
|
|
7502
|
+
} | undefined;
|
|
7115
7503
|
secondsDelay?: number | undefined;
|
|
7116
7504
|
scheduled?: number | undefined;
|
|
7117
7505
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7163,7 +7551,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7163
7551
|
persist?: boolean | undefined;
|
|
7164
7552
|
})[] | undefined;
|
|
7165
7553
|
removeInstructions?: string[] | undefined;
|
|
7166
|
-
message?: string |
|
|
7554
|
+
message?: string | {
|
|
7555
|
+
content: string;
|
|
7556
|
+
transform?: boolean | undefined;
|
|
7557
|
+
} | undefined;
|
|
7167
7558
|
secondsDelay?: number | undefined;
|
|
7168
7559
|
scheduled?: number | undefined;
|
|
7169
7560
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7213,7 +7604,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7213
7604
|
persist?: boolean | undefined;
|
|
7214
7605
|
})[] | undefined;
|
|
7215
7606
|
removeInstructions?: string[] | undefined;
|
|
7216
|
-
message?: string |
|
|
7607
|
+
message?: string | {
|
|
7608
|
+
content: string;
|
|
7609
|
+
transform?: boolean | undefined;
|
|
7610
|
+
} | undefined;
|
|
7217
7611
|
secondsDelay?: number | undefined;
|
|
7218
7612
|
scheduled?: number | undefined;
|
|
7219
7613
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7247,7 +7641,16 @@ declare module '@scout9/app/schemas' {
|
|
|
7247
7641
|
} | undefined;
|
|
7248
7642
|
};
|
|
7249
7643
|
}>, z.ZodArray<z.ZodObject<{
|
|
7250
|
-
message: z.ZodOptional<z.ZodString
|
|
7644
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7645
|
+
content: z.ZodString;
|
|
7646
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
7647
|
+
}, "strip", z.ZodTypeAny, {
|
|
7648
|
+
content: string;
|
|
7649
|
+
transform?: boolean | undefined;
|
|
7650
|
+
}, {
|
|
7651
|
+
content: string;
|
|
7652
|
+
transform?: boolean | undefined;
|
|
7653
|
+
}>]>>;
|
|
7251
7654
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
7252
7655
|
to: z.ZodOptional<z.ZodString>;
|
|
7253
7656
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -7382,7 +7785,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7382
7785
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
7383
7786
|
}, "strip", z.ZodTypeAny, {
|
|
7384
7787
|
keywords: string[];
|
|
7385
|
-
message?: string |
|
|
7788
|
+
message?: string | {
|
|
7789
|
+
content: string;
|
|
7790
|
+
transform?: boolean | undefined;
|
|
7791
|
+
} | undefined;
|
|
7386
7792
|
forward?: string | boolean | {
|
|
7387
7793
|
to?: string | undefined;
|
|
7388
7794
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -7432,7 +7838,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7432
7838
|
} | undefined;
|
|
7433
7839
|
}, {
|
|
7434
7840
|
keywords: string[];
|
|
7435
|
-
message?: string |
|
|
7841
|
+
message?: string | {
|
|
7842
|
+
content: string;
|
|
7843
|
+
transform?: boolean | undefined;
|
|
7844
|
+
} | undefined;
|
|
7436
7845
|
forward?: string | boolean | {
|
|
7437
7846
|
to?: string | undefined;
|
|
7438
7847
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -7482,7 +7891,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7482
7891
|
} | undefined;
|
|
7483
7892
|
}>, "many">]>>;
|
|
7484
7893
|
}, "strip", z.ZodTypeAny, {
|
|
7485
|
-
message?: string |
|
|
7894
|
+
message?: string | {
|
|
7895
|
+
content: string;
|
|
7896
|
+
transform?: boolean | undefined;
|
|
7897
|
+
} | undefined;
|
|
7486
7898
|
forward?: string | boolean | {
|
|
7487
7899
|
to?: string | undefined;
|
|
7488
7900
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -7549,7 +7961,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7549
7961
|
persist?: boolean | undefined;
|
|
7550
7962
|
})[] | undefined;
|
|
7551
7963
|
removeInstructions?: string[] | undefined;
|
|
7552
|
-
message?: string |
|
|
7964
|
+
message?: string | {
|
|
7965
|
+
content: string;
|
|
7966
|
+
transform?: boolean | undefined;
|
|
7967
|
+
} | undefined;
|
|
7553
7968
|
secondsDelay?: number | undefined;
|
|
7554
7969
|
scheduled?: number | undefined;
|
|
7555
7970
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7599,7 +8014,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7599
8014
|
persist?: boolean | undefined;
|
|
7600
8015
|
})[] | undefined;
|
|
7601
8016
|
removeInstructions?: string[] | undefined;
|
|
7602
|
-
message?: string |
|
|
8017
|
+
message?: string | {
|
|
8018
|
+
content: string;
|
|
8019
|
+
transform?: boolean | undefined;
|
|
8020
|
+
} | undefined;
|
|
7603
8021
|
secondsDelay?: number | undefined;
|
|
7604
8022
|
scheduled?: number | undefined;
|
|
7605
8023
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7634,7 +8052,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7634
8052
|
};
|
|
7635
8053
|
} | {
|
|
7636
8054
|
keywords: string[];
|
|
7637
|
-
message?: string |
|
|
8055
|
+
message?: string | {
|
|
8056
|
+
content: string;
|
|
8057
|
+
transform?: boolean | undefined;
|
|
8058
|
+
} | undefined;
|
|
7638
8059
|
forward?: string | boolean | {
|
|
7639
8060
|
to?: string | undefined;
|
|
7640
8061
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -7684,7 +8105,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7684
8105
|
} | undefined;
|
|
7685
8106
|
}[] | undefined;
|
|
7686
8107
|
}, {
|
|
7687
|
-
message?: string |
|
|
8108
|
+
message?: string | {
|
|
8109
|
+
content: string;
|
|
8110
|
+
transform?: boolean | undefined;
|
|
8111
|
+
} | undefined;
|
|
7688
8112
|
forward?: string | boolean | {
|
|
7689
8113
|
to?: string | undefined;
|
|
7690
8114
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -7751,7 +8175,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7751
8175
|
persist?: boolean | undefined;
|
|
7752
8176
|
})[] | undefined;
|
|
7753
8177
|
removeInstructions?: string[] | undefined;
|
|
7754
|
-
message?: string |
|
|
8178
|
+
message?: string | {
|
|
8179
|
+
content: string;
|
|
8180
|
+
transform?: boolean | undefined;
|
|
8181
|
+
} | undefined;
|
|
7755
8182
|
secondsDelay?: number | undefined;
|
|
7756
8183
|
scheduled?: number | undefined;
|
|
7757
8184
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7801,7 +8228,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7801
8228
|
persist?: boolean | undefined;
|
|
7802
8229
|
})[] | undefined;
|
|
7803
8230
|
removeInstructions?: string[] | undefined;
|
|
7804
|
-
message?: string |
|
|
8231
|
+
message?: string | {
|
|
8232
|
+
content: string;
|
|
8233
|
+
transform?: boolean | undefined;
|
|
8234
|
+
} | undefined;
|
|
7805
8235
|
secondsDelay?: number | undefined;
|
|
7806
8236
|
scheduled?: number | undefined;
|
|
7807
8237
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -7836,7 +8266,10 @@ declare module '@scout9/app/schemas' {
|
|
|
7836
8266
|
};
|
|
7837
8267
|
} | {
|
|
7838
8268
|
keywords: string[];
|
|
7839
|
-
message?: string |
|
|
8269
|
+
message?: string | {
|
|
8270
|
+
content: string;
|
|
8271
|
+
transform?: boolean | undefined;
|
|
8272
|
+
} | undefined;
|
|
7840
8273
|
forward?: string | boolean | {
|
|
7841
8274
|
to?: string | undefined;
|
|
7842
8275
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -7886,7 +8319,16 @@ declare module '@scout9/app/schemas' {
|
|
|
7886
8319
|
} | undefined;
|
|
7887
8320
|
}[] | undefined;
|
|
7888
8321
|
}>, z.ZodArray<z.ZodObject<{
|
|
7889
|
-
message: z.ZodOptional<z.ZodString
|
|
8322
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8323
|
+
content: z.ZodString;
|
|
8324
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
8325
|
+
}, "strip", z.ZodTypeAny, {
|
|
8326
|
+
content: string;
|
|
8327
|
+
transform?: boolean | undefined;
|
|
8328
|
+
}, {
|
|
8329
|
+
content: string;
|
|
8330
|
+
transform?: boolean | undefined;
|
|
8331
|
+
}>]>>;
|
|
7890
8332
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
7891
8333
|
to: z.ZodOptional<z.ZodString>;
|
|
7892
8334
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -8061,7 +8503,16 @@ declare module '@scout9/app/schemas' {
|
|
|
8061
8503
|
persist?: boolean | undefined;
|
|
8062
8504
|
}>]>, "many">]>>;
|
|
8063
8505
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8064
|
-
message: z.ZodOptional<z.ZodString
|
|
8506
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8507
|
+
content: z.ZodString;
|
|
8508
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
8509
|
+
}, "strip", z.ZodTypeAny, {
|
|
8510
|
+
content: string;
|
|
8511
|
+
transform?: boolean | undefined;
|
|
8512
|
+
}, {
|
|
8513
|
+
content: string;
|
|
8514
|
+
transform?: boolean | undefined;
|
|
8515
|
+
}>]>>;
|
|
8065
8516
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
8066
8517
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
8067
8518
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -8170,7 +8621,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8170
8621
|
persist?: boolean | undefined;
|
|
8171
8622
|
})[] | undefined;
|
|
8172
8623
|
removeInstructions?: string[] | undefined;
|
|
8173
|
-
message?: string |
|
|
8624
|
+
message?: string | {
|
|
8625
|
+
content: string;
|
|
8626
|
+
transform?: boolean | undefined;
|
|
8627
|
+
} | undefined;
|
|
8174
8628
|
secondsDelay?: number | undefined;
|
|
8175
8629
|
scheduled?: number | undefined;
|
|
8176
8630
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8219,7 +8673,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8219
8673
|
persist?: boolean | undefined;
|
|
8220
8674
|
})[] | undefined;
|
|
8221
8675
|
removeInstructions?: string[] | undefined;
|
|
8222
|
-
message?: string |
|
|
8676
|
+
message?: string | {
|
|
8677
|
+
content: string;
|
|
8678
|
+
transform?: boolean | undefined;
|
|
8679
|
+
} | undefined;
|
|
8223
8680
|
secondsDelay?: number | undefined;
|
|
8224
8681
|
scheduled?: number | undefined;
|
|
8225
8682
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8293,7 +8750,16 @@ declare module '@scout9/app/schemas' {
|
|
|
8293
8750
|
persist?: boolean | undefined;
|
|
8294
8751
|
}>]>, "many">]>>;
|
|
8295
8752
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8296
|
-
message: z.ZodOptional<z.ZodString
|
|
8753
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8754
|
+
content: z.ZodString;
|
|
8755
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
8756
|
+
}, "strip", z.ZodTypeAny, {
|
|
8757
|
+
content: string;
|
|
8758
|
+
transform?: boolean | undefined;
|
|
8759
|
+
}, {
|
|
8760
|
+
content: string;
|
|
8761
|
+
transform?: boolean | undefined;
|
|
8762
|
+
}>]>>;
|
|
8297
8763
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
8298
8764
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
8299
8765
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -8402,7 +8868,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8402
8868
|
persist?: boolean | undefined;
|
|
8403
8869
|
})[] | undefined;
|
|
8404
8870
|
removeInstructions?: string[] | undefined;
|
|
8405
|
-
message?: string |
|
|
8871
|
+
message?: string | {
|
|
8872
|
+
content: string;
|
|
8873
|
+
transform?: boolean | undefined;
|
|
8874
|
+
} | undefined;
|
|
8406
8875
|
secondsDelay?: number | undefined;
|
|
8407
8876
|
scheduled?: number | undefined;
|
|
8408
8877
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8451,7 +8920,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8451
8920
|
persist?: boolean | undefined;
|
|
8452
8921
|
})[] | undefined;
|
|
8453
8922
|
removeInstructions?: string[] | undefined;
|
|
8454
|
-
message?: string |
|
|
8923
|
+
message?: string | {
|
|
8924
|
+
content: string;
|
|
8925
|
+
transform?: boolean | undefined;
|
|
8926
|
+
} | undefined;
|
|
8455
8927
|
secondsDelay?: number | undefined;
|
|
8456
8928
|
scheduled?: number | undefined;
|
|
8457
8929
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8503,7 +8975,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8503
8975
|
persist?: boolean | undefined;
|
|
8504
8976
|
})[] | undefined;
|
|
8505
8977
|
removeInstructions?: string[] | undefined;
|
|
8506
|
-
message?: string |
|
|
8978
|
+
message?: string | {
|
|
8979
|
+
content: string;
|
|
8980
|
+
transform?: boolean | undefined;
|
|
8981
|
+
} | undefined;
|
|
8507
8982
|
secondsDelay?: number | undefined;
|
|
8508
8983
|
scheduled?: number | undefined;
|
|
8509
8984
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8553,7 +9028,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8553
9028
|
persist?: boolean | undefined;
|
|
8554
9029
|
})[] | undefined;
|
|
8555
9030
|
removeInstructions?: string[] | undefined;
|
|
8556
|
-
message?: string |
|
|
9031
|
+
message?: string | {
|
|
9032
|
+
content: string;
|
|
9033
|
+
transform?: boolean | undefined;
|
|
9034
|
+
} | undefined;
|
|
8557
9035
|
secondsDelay?: number | undefined;
|
|
8558
9036
|
scheduled?: number | undefined;
|
|
8559
9037
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8605,7 +9083,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8605
9083
|
persist?: boolean | undefined;
|
|
8606
9084
|
})[] | undefined;
|
|
8607
9085
|
removeInstructions?: string[] | undefined;
|
|
8608
|
-
message?: string |
|
|
9086
|
+
message?: string | {
|
|
9087
|
+
content: string;
|
|
9088
|
+
transform?: boolean | undefined;
|
|
9089
|
+
} | undefined;
|
|
8609
9090
|
secondsDelay?: number | undefined;
|
|
8610
9091
|
scheduled?: number | undefined;
|
|
8611
9092
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8655,7 +9136,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8655
9136
|
persist?: boolean | undefined;
|
|
8656
9137
|
})[] | undefined;
|
|
8657
9138
|
removeInstructions?: string[] | undefined;
|
|
8658
|
-
message?: string |
|
|
9139
|
+
message?: string | {
|
|
9140
|
+
content: string;
|
|
9141
|
+
transform?: boolean | undefined;
|
|
9142
|
+
} | undefined;
|
|
8659
9143
|
secondsDelay?: number | undefined;
|
|
8660
9144
|
scheduled?: number | undefined;
|
|
8661
9145
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -8689,7 +9173,16 @@ declare module '@scout9/app/schemas' {
|
|
|
8689
9173
|
} | undefined;
|
|
8690
9174
|
};
|
|
8691
9175
|
}>, z.ZodArray<z.ZodObject<{
|
|
8692
|
-
message: z.ZodOptional<z.ZodString
|
|
9176
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9177
|
+
content: z.ZodString;
|
|
9178
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
9179
|
+
}, "strip", z.ZodTypeAny, {
|
|
9180
|
+
content: string;
|
|
9181
|
+
transform?: boolean | undefined;
|
|
9182
|
+
}, {
|
|
9183
|
+
content: string;
|
|
9184
|
+
transform?: boolean | undefined;
|
|
9185
|
+
}>]>>;
|
|
8693
9186
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
8694
9187
|
to: z.ZodOptional<z.ZodString>;
|
|
8695
9188
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -8824,7 +9317,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8824
9317
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
8825
9318
|
}, "strip", z.ZodTypeAny, {
|
|
8826
9319
|
keywords: string[];
|
|
8827
|
-
message?: string |
|
|
9320
|
+
message?: string | {
|
|
9321
|
+
content: string;
|
|
9322
|
+
transform?: boolean | undefined;
|
|
9323
|
+
} | undefined;
|
|
8828
9324
|
forward?: string | boolean | {
|
|
8829
9325
|
to?: string | undefined;
|
|
8830
9326
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -8874,7 +9370,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8874
9370
|
} | undefined;
|
|
8875
9371
|
}, {
|
|
8876
9372
|
keywords: string[];
|
|
8877
|
-
message?: string |
|
|
9373
|
+
message?: string | {
|
|
9374
|
+
content: string;
|
|
9375
|
+
transform?: boolean | undefined;
|
|
9376
|
+
} | undefined;
|
|
8878
9377
|
forward?: string | boolean | {
|
|
8879
9378
|
to?: string | undefined;
|
|
8880
9379
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -8924,7 +9423,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8924
9423
|
} | undefined;
|
|
8925
9424
|
}>, "many">]>>;
|
|
8926
9425
|
}, "strip", z.ZodTypeAny, {
|
|
8927
|
-
message?: string |
|
|
9426
|
+
message?: string | {
|
|
9427
|
+
content: string;
|
|
9428
|
+
transform?: boolean | undefined;
|
|
9429
|
+
} | undefined;
|
|
8928
9430
|
forward?: string | boolean | {
|
|
8929
9431
|
to?: string | undefined;
|
|
8930
9432
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -8991,7 +9493,10 @@ declare module '@scout9/app/schemas' {
|
|
|
8991
9493
|
persist?: boolean | undefined;
|
|
8992
9494
|
})[] | undefined;
|
|
8993
9495
|
removeInstructions?: string[] | undefined;
|
|
8994
|
-
message?: string |
|
|
9496
|
+
message?: string | {
|
|
9497
|
+
content: string;
|
|
9498
|
+
transform?: boolean | undefined;
|
|
9499
|
+
} | undefined;
|
|
8995
9500
|
secondsDelay?: number | undefined;
|
|
8996
9501
|
scheduled?: number | undefined;
|
|
8997
9502
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -9041,7 +9546,10 @@ declare module '@scout9/app/schemas' {
|
|
|
9041
9546
|
persist?: boolean | undefined;
|
|
9042
9547
|
})[] | undefined;
|
|
9043
9548
|
removeInstructions?: string[] | undefined;
|
|
9044
|
-
message?: string |
|
|
9549
|
+
message?: string | {
|
|
9550
|
+
content: string;
|
|
9551
|
+
transform?: boolean | undefined;
|
|
9552
|
+
} | undefined;
|
|
9045
9553
|
secondsDelay?: number | undefined;
|
|
9046
9554
|
scheduled?: number | undefined;
|
|
9047
9555
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -9076,7 +9584,10 @@ declare module '@scout9/app/schemas' {
|
|
|
9076
9584
|
};
|
|
9077
9585
|
} | {
|
|
9078
9586
|
keywords: string[];
|
|
9079
|
-
message?: string |
|
|
9587
|
+
message?: string | {
|
|
9588
|
+
content: string;
|
|
9589
|
+
transform?: boolean | undefined;
|
|
9590
|
+
} | undefined;
|
|
9080
9591
|
forward?: string | boolean | {
|
|
9081
9592
|
to?: string | undefined;
|
|
9082
9593
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -9126,7 +9637,10 @@ declare module '@scout9/app/schemas' {
|
|
|
9126
9637
|
} | undefined;
|
|
9127
9638
|
}[] | undefined;
|
|
9128
9639
|
}, {
|
|
9129
|
-
message?: string |
|
|
9640
|
+
message?: string | {
|
|
9641
|
+
content: string;
|
|
9642
|
+
transform?: boolean | undefined;
|
|
9643
|
+
} | undefined;
|
|
9130
9644
|
forward?: string | boolean | {
|
|
9131
9645
|
to?: string | undefined;
|
|
9132
9646
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -9193,7 +9707,10 @@ declare module '@scout9/app/schemas' {
|
|
|
9193
9707
|
persist?: boolean | undefined;
|
|
9194
9708
|
})[] | undefined;
|
|
9195
9709
|
removeInstructions?: string[] | undefined;
|
|
9196
|
-
message?: string |
|
|
9710
|
+
message?: string | {
|
|
9711
|
+
content: string;
|
|
9712
|
+
transform?: boolean | undefined;
|
|
9713
|
+
} | undefined;
|
|
9197
9714
|
secondsDelay?: number | undefined;
|
|
9198
9715
|
scheduled?: number | undefined;
|
|
9199
9716
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -9243,7 +9760,10 @@ declare module '@scout9/app/schemas' {
|
|
|
9243
9760
|
persist?: boolean | undefined;
|
|
9244
9761
|
})[] | undefined;
|
|
9245
9762
|
removeInstructions?: string[] | undefined;
|
|
9246
|
-
message?: string |
|
|
9763
|
+
message?: string | {
|
|
9764
|
+
content: string;
|
|
9765
|
+
transform?: boolean | undefined;
|
|
9766
|
+
} | undefined;
|
|
9247
9767
|
secondsDelay?: number | undefined;
|
|
9248
9768
|
scheduled?: number | undefined;
|
|
9249
9769
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -9278,7 +9798,10 @@ declare module '@scout9/app/schemas' {
|
|
|
9278
9798
|
};
|
|
9279
9799
|
} | {
|
|
9280
9800
|
keywords: string[];
|
|
9281
|
-
message?: string |
|
|
9801
|
+
message?: string | {
|
|
9802
|
+
content: string;
|
|
9803
|
+
transform?: boolean | undefined;
|
|
9804
|
+
} | undefined;
|
|
9282
9805
|
forward?: string | boolean | {
|
|
9283
9806
|
to?: string | undefined;
|
|
9284
9807
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -9432,8 +9955,8 @@ declare module '@scout9/app/schemas' {
|
|
|
9432
9955
|
}>>;
|
|
9433
9956
|
}, "strip", z.ZodTypeAny, {
|
|
9434
9957
|
environment: "email" | "phone" | "web";
|
|
9435
|
-
$agent: string;
|
|
9436
9958
|
$id: string;
|
|
9959
|
+
$agent: string;
|
|
9437
9960
|
$customer: string;
|
|
9438
9961
|
initialContexts?: string[] | undefined;
|
|
9439
9962
|
environmentProps?: {
|
|
@@ -9463,8 +9986,8 @@ declare module '@scout9/app/schemas' {
|
|
|
9463
9986
|
} | undefined;
|
|
9464
9987
|
}, {
|
|
9465
9988
|
environment: "email" | "phone" | "web";
|
|
9466
|
-
$agent: string;
|
|
9467
9989
|
$id: string;
|
|
9990
|
+
$agent: string;
|
|
9468
9991
|
$customer: string;
|
|
9469
9992
|
initialContexts?: string[] | undefined;
|
|
9470
9993
|
environmentProps?: {
|
|
@@ -9591,8 +10114,21 @@ declare module '@scout9/app/schemas' {
|
|
|
9591
10114
|
delayInSeconds?: number | null | undefined;
|
|
9592
10115
|
}>, "many">, "many">>;
|
|
9593
10116
|
audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
10117
|
+
pmt: z.ZodOptional<z.ZodObject<{
|
|
10118
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
10119
|
+
ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
|
|
10120
|
+
llm: z.ZodOptional<z.ZodString>;
|
|
10121
|
+
}, "strip", z.ZodTypeAny, {
|
|
10122
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
10123
|
+
tag?: string | undefined;
|
|
10124
|
+
llm?: string | undefined;
|
|
10125
|
+
}, {
|
|
10126
|
+
ingress: "auto" | "manual" | "app" | "workflow";
|
|
10127
|
+
tag?: string | undefined;
|
|
10128
|
+
llm?: string | undefined;
|
|
10129
|
+
}>>;
|
|
9594
10130
|
id: z.ZodString;
|
|
9595
|
-
}, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios">, "strip", z.ZodTypeAny, {
|
|
10131
|
+
}, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
|
|
9596
10132
|
id: string;
|
|
9597
10133
|
title: string;
|
|
9598
10134
|
inactive?: boolean | undefined;
|
|
@@ -9768,8 +10304,8 @@ declare module '@scout9/app/schemas' {
|
|
|
9768
10304
|
}[];
|
|
9769
10305
|
conversation: {
|
|
9770
10306
|
environment: "email" | "phone" | "web";
|
|
9771
|
-
$agent: string;
|
|
9772
10307
|
$id: string;
|
|
10308
|
+
$agent: string;
|
|
9773
10309
|
$customer: string;
|
|
9774
10310
|
initialContexts?: string[] | undefined;
|
|
9775
10311
|
environmentProps?: {
|
|
@@ -9872,8 +10408,8 @@ declare module '@scout9/app/schemas' {
|
|
|
9872
10408
|
}[];
|
|
9873
10409
|
conversation: {
|
|
9874
10410
|
environment: "email" | "phone" | "web";
|
|
9875
|
-
$agent: string;
|
|
9876
10411
|
$id: string;
|
|
10412
|
+
$agent: string;
|
|
9877
10413
|
$customer: string;
|
|
9878
10414
|
initialContexts?: string[] | undefined;
|
|
9879
10415
|
environmentProps?: {
|
|
@@ -9906,7 +10442,16 @@ declare module '@scout9/app/schemas' {
|
|
|
9906
10442
|
context?: any;
|
|
9907
10443
|
note?: string | undefined;
|
|
9908
10444
|
}>], z.ZodUnknown>, z.ZodUnion<[z.ZodPromise<z.ZodUnion<[z.ZodObject<{
|
|
9909
|
-
message: z.ZodOptional<z.ZodString
|
|
10445
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
10446
|
+
content: z.ZodString;
|
|
10447
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
10448
|
+
}, "strip", z.ZodTypeAny, {
|
|
10449
|
+
content: string;
|
|
10450
|
+
transform?: boolean | undefined;
|
|
10451
|
+
}, {
|
|
10452
|
+
content: string;
|
|
10453
|
+
transform?: boolean | undefined;
|
|
10454
|
+
}>]>>;
|
|
9910
10455
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
9911
10456
|
to: z.ZodOptional<z.ZodString>;
|
|
9912
10457
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -10081,7 +10626,16 @@ declare module '@scout9/app/schemas' {
|
|
|
10081
10626
|
persist?: boolean | undefined;
|
|
10082
10627
|
}>]>, "many">]>>;
|
|
10083
10628
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10084
|
-
message: z.ZodOptional<z.ZodString
|
|
10629
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
10630
|
+
content: z.ZodString;
|
|
10631
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
10632
|
+
}, "strip", z.ZodTypeAny, {
|
|
10633
|
+
content: string;
|
|
10634
|
+
transform?: boolean | undefined;
|
|
10635
|
+
}, {
|
|
10636
|
+
content: string;
|
|
10637
|
+
transform?: boolean | undefined;
|
|
10638
|
+
}>]>>;
|
|
10085
10639
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
10086
10640
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
10087
10641
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -10190,7 +10744,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10190
10744
|
persist?: boolean | undefined;
|
|
10191
10745
|
})[] | undefined;
|
|
10192
10746
|
removeInstructions?: string[] | undefined;
|
|
10193
|
-
message?: string |
|
|
10747
|
+
message?: string | {
|
|
10748
|
+
content: string;
|
|
10749
|
+
transform?: boolean | undefined;
|
|
10750
|
+
} | undefined;
|
|
10194
10751
|
secondsDelay?: number | undefined;
|
|
10195
10752
|
scheduled?: number | undefined;
|
|
10196
10753
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10239,7 +10796,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10239
10796
|
persist?: boolean | undefined;
|
|
10240
10797
|
})[] | undefined;
|
|
10241
10798
|
removeInstructions?: string[] | undefined;
|
|
10242
|
-
message?: string |
|
|
10799
|
+
message?: string | {
|
|
10800
|
+
content: string;
|
|
10801
|
+
transform?: boolean | undefined;
|
|
10802
|
+
} | undefined;
|
|
10243
10803
|
secondsDelay?: number | undefined;
|
|
10244
10804
|
scheduled?: number | undefined;
|
|
10245
10805
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10313,7 +10873,16 @@ declare module '@scout9/app/schemas' {
|
|
|
10313
10873
|
persist?: boolean | undefined;
|
|
10314
10874
|
}>]>, "many">]>>;
|
|
10315
10875
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10316
|
-
message: z.ZodOptional<z.ZodString
|
|
10876
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
10877
|
+
content: z.ZodString;
|
|
10878
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
10879
|
+
}, "strip", z.ZodTypeAny, {
|
|
10880
|
+
content: string;
|
|
10881
|
+
transform?: boolean | undefined;
|
|
10882
|
+
}, {
|
|
10883
|
+
content: string;
|
|
10884
|
+
transform?: boolean | undefined;
|
|
10885
|
+
}>]>>;
|
|
10317
10886
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
10318
10887
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
10319
10888
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -10422,7 +10991,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10422
10991
|
persist?: boolean | undefined;
|
|
10423
10992
|
})[] | undefined;
|
|
10424
10993
|
removeInstructions?: string[] | undefined;
|
|
10425
|
-
message?: string |
|
|
10994
|
+
message?: string | {
|
|
10995
|
+
content: string;
|
|
10996
|
+
transform?: boolean | undefined;
|
|
10997
|
+
} | undefined;
|
|
10426
10998
|
secondsDelay?: number | undefined;
|
|
10427
10999
|
scheduled?: number | undefined;
|
|
10428
11000
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10471,7 +11043,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10471
11043
|
persist?: boolean | undefined;
|
|
10472
11044
|
})[] | undefined;
|
|
10473
11045
|
removeInstructions?: string[] | undefined;
|
|
10474
|
-
message?: string |
|
|
11046
|
+
message?: string | {
|
|
11047
|
+
content: string;
|
|
11048
|
+
transform?: boolean | undefined;
|
|
11049
|
+
} | undefined;
|
|
10475
11050
|
secondsDelay?: number | undefined;
|
|
10476
11051
|
scheduled?: number | undefined;
|
|
10477
11052
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10523,7 +11098,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10523
11098
|
persist?: boolean | undefined;
|
|
10524
11099
|
})[] | undefined;
|
|
10525
11100
|
removeInstructions?: string[] | undefined;
|
|
10526
|
-
message?: string |
|
|
11101
|
+
message?: string | {
|
|
11102
|
+
content: string;
|
|
11103
|
+
transform?: boolean | undefined;
|
|
11104
|
+
} | undefined;
|
|
10527
11105
|
secondsDelay?: number | undefined;
|
|
10528
11106
|
scheduled?: number | undefined;
|
|
10529
11107
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10573,7 +11151,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10573
11151
|
persist?: boolean | undefined;
|
|
10574
11152
|
})[] | undefined;
|
|
10575
11153
|
removeInstructions?: string[] | undefined;
|
|
10576
|
-
message?: string |
|
|
11154
|
+
message?: string | {
|
|
11155
|
+
content: string;
|
|
11156
|
+
transform?: boolean | undefined;
|
|
11157
|
+
} | undefined;
|
|
10577
11158
|
secondsDelay?: number | undefined;
|
|
10578
11159
|
scheduled?: number | undefined;
|
|
10579
11160
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10625,7 +11206,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10625
11206
|
persist?: boolean | undefined;
|
|
10626
11207
|
})[] | undefined;
|
|
10627
11208
|
removeInstructions?: string[] | undefined;
|
|
10628
|
-
message?: string |
|
|
11209
|
+
message?: string | {
|
|
11210
|
+
content: string;
|
|
11211
|
+
transform?: boolean | undefined;
|
|
11212
|
+
} | undefined;
|
|
10629
11213
|
secondsDelay?: number | undefined;
|
|
10630
11214
|
scheduled?: number | undefined;
|
|
10631
11215
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10675,7 +11259,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10675
11259
|
persist?: boolean | undefined;
|
|
10676
11260
|
})[] | undefined;
|
|
10677
11261
|
removeInstructions?: string[] | undefined;
|
|
10678
|
-
message?: string |
|
|
11262
|
+
message?: string | {
|
|
11263
|
+
content: string;
|
|
11264
|
+
transform?: boolean | undefined;
|
|
11265
|
+
} | undefined;
|
|
10679
11266
|
secondsDelay?: number | undefined;
|
|
10680
11267
|
scheduled?: number | undefined;
|
|
10681
11268
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -10709,7 +11296,16 @@ declare module '@scout9/app/schemas' {
|
|
|
10709
11296
|
} | undefined;
|
|
10710
11297
|
};
|
|
10711
11298
|
}>, z.ZodArray<z.ZodObject<{
|
|
10712
|
-
message: z.ZodOptional<z.ZodString
|
|
11299
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11300
|
+
content: z.ZodString;
|
|
11301
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
11302
|
+
}, "strip", z.ZodTypeAny, {
|
|
11303
|
+
content: string;
|
|
11304
|
+
transform?: boolean | undefined;
|
|
11305
|
+
}, {
|
|
11306
|
+
content: string;
|
|
11307
|
+
transform?: boolean | undefined;
|
|
11308
|
+
}>]>>;
|
|
10713
11309
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
10714
11310
|
to: z.ZodOptional<z.ZodString>;
|
|
10715
11311
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -10844,7 +11440,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10844
11440
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
10845
11441
|
}, "strip", z.ZodTypeAny, {
|
|
10846
11442
|
keywords: string[];
|
|
10847
|
-
message?: string |
|
|
11443
|
+
message?: string | {
|
|
11444
|
+
content: string;
|
|
11445
|
+
transform?: boolean | undefined;
|
|
11446
|
+
} | undefined;
|
|
10848
11447
|
forward?: string | boolean | {
|
|
10849
11448
|
to?: string | undefined;
|
|
10850
11449
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -10894,7 +11493,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10894
11493
|
} | undefined;
|
|
10895
11494
|
}, {
|
|
10896
11495
|
keywords: string[];
|
|
10897
|
-
message?: string |
|
|
11496
|
+
message?: string | {
|
|
11497
|
+
content: string;
|
|
11498
|
+
transform?: boolean | undefined;
|
|
11499
|
+
} | undefined;
|
|
10898
11500
|
forward?: string | boolean | {
|
|
10899
11501
|
to?: string | undefined;
|
|
10900
11502
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -10944,7 +11546,10 @@ declare module '@scout9/app/schemas' {
|
|
|
10944
11546
|
} | undefined;
|
|
10945
11547
|
}>, "many">]>>;
|
|
10946
11548
|
}, "strip", z.ZodTypeAny, {
|
|
10947
|
-
message?: string |
|
|
11549
|
+
message?: string | {
|
|
11550
|
+
content: string;
|
|
11551
|
+
transform?: boolean | undefined;
|
|
11552
|
+
} | undefined;
|
|
10948
11553
|
forward?: string | boolean | {
|
|
10949
11554
|
to?: string | undefined;
|
|
10950
11555
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -11011,7 +11616,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11011
11616
|
persist?: boolean | undefined;
|
|
11012
11617
|
})[] | undefined;
|
|
11013
11618
|
removeInstructions?: string[] | undefined;
|
|
11014
|
-
message?: string |
|
|
11619
|
+
message?: string | {
|
|
11620
|
+
content: string;
|
|
11621
|
+
transform?: boolean | undefined;
|
|
11622
|
+
} | undefined;
|
|
11015
11623
|
secondsDelay?: number | undefined;
|
|
11016
11624
|
scheduled?: number | undefined;
|
|
11017
11625
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11061,7 +11669,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11061
11669
|
persist?: boolean | undefined;
|
|
11062
11670
|
})[] | undefined;
|
|
11063
11671
|
removeInstructions?: string[] | undefined;
|
|
11064
|
-
message?: string |
|
|
11672
|
+
message?: string | {
|
|
11673
|
+
content: string;
|
|
11674
|
+
transform?: boolean | undefined;
|
|
11675
|
+
} | undefined;
|
|
11065
11676
|
secondsDelay?: number | undefined;
|
|
11066
11677
|
scheduled?: number | undefined;
|
|
11067
11678
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11096,7 +11707,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11096
11707
|
};
|
|
11097
11708
|
} | {
|
|
11098
11709
|
keywords: string[];
|
|
11099
|
-
message?: string |
|
|
11710
|
+
message?: string | {
|
|
11711
|
+
content: string;
|
|
11712
|
+
transform?: boolean | undefined;
|
|
11713
|
+
} | undefined;
|
|
11100
11714
|
forward?: string | boolean | {
|
|
11101
11715
|
to?: string | undefined;
|
|
11102
11716
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -11146,7 +11760,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11146
11760
|
} | undefined;
|
|
11147
11761
|
}[] | undefined;
|
|
11148
11762
|
}, {
|
|
11149
|
-
message?: string |
|
|
11763
|
+
message?: string | {
|
|
11764
|
+
content: string;
|
|
11765
|
+
transform?: boolean | undefined;
|
|
11766
|
+
} | undefined;
|
|
11150
11767
|
forward?: string | boolean | {
|
|
11151
11768
|
to?: string | undefined;
|
|
11152
11769
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -11213,7 +11830,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11213
11830
|
persist?: boolean | undefined;
|
|
11214
11831
|
})[] | undefined;
|
|
11215
11832
|
removeInstructions?: string[] | undefined;
|
|
11216
|
-
message?: string |
|
|
11833
|
+
message?: string | {
|
|
11834
|
+
content: string;
|
|
11835
|
+
transform?: boolean | undefined;
|
|
11836
|
+
} | undefined;
|
|
11217
11837
|
secondsDelay?: number | undefined;
|
|
11218
11838
|
scheduled?: number | undefined;
|
|
11219
11839
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11263,7 +11883,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11263
11883
|
persist?: boolean | undefined;
|
|
11264
11884
|
})[] | undefined;
|
|
11265
11885
|
removeInstructions?: string[] | undefined;
|
|
11266
|
-
message?: string |
|
|
11886
|
+
message?: string | {
|
|
11887
|
+
content: string;
|
|
11888
|
+
transform?: boolean | undefined;
|
|
11889
|
+
} | undefined;
|
|
11267
11890
|
secondsDelay?: number | undefined;
|
|
11268
11891
|
scheduled?: number | undefined;
|
|
11269
11892
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11298,7 +11921,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11298
11921
|
};
|
|
11299
11922
|
} | {
|
|
11300
11923
|
keywords: string[];
|
|
11301
|
-
message?: string |
|
|
11924
|
+
message?: string | {
|
|
11925
|
+
content: string;
|
|
11926
|
+
transform?: boolean | undefined;
|
|
11927
|
+
} | undefined;
|
|
11302
11928
|
forward?: string | boolean | {
|
|
11303
11929
|
to?: string | undefined;
|
|
11304
11930
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -11348,7 +11974,16 @@ declare module '@scout9/app/schemas' {
|
|
|
11348
11974
|
} | undefined;
|
|
11349
11975
|
}[] | undefined;
|
|
11350
11976
|
}>, z.ZodArray<z.ZodObject<{
|
|
11351
|
-
message: z.ZodOptional<z.ZodString
|
|
11977
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11978
|
+
content: z.ZodString;
|
|
11979
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
11980
|
+
}, "strip", z.ZodTypeAny, {
|
|
11981
|
+
content: string;
|
|
11982
|
+
transform?: boolean | undefined;
|
|
11983
|
+
}, {
|
|
11984
|
+
content: string;
|
|
11985
|
+
transform?: boolean | undefined;
|
|
11986
|
+
}>]>>;
|
|
11352
11987
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
11353
11988
|
to: z.ZodOptional<z.ZodString>;
|
|
11354
11989
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -11523,7 +12158,16 @@ declare module '@scout9/app/schemas' {
|
|
|
11523
12158
|
persist?: boolean | undefined;
|
|
11524
12159
|
}>]>, "many">]>>;
|
|
11525
12160
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11526
|
-
message: z.ZodOptional<z.ZodString
|
|
12161
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12162
|
+
content: z.ZodString;
|
|
12163
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
12164
|
+
}, "strip", z.ZodTypeAny, {
|
|
12165
|
+
content: string;
|
|
12166
|
+
transform?: boolean | undefined;
|
|
12167
|
+
}, {
|
|
12168
|
+
content: string;
|
|
12169
|
+
transform?: boolean | undefined;
|
|
12170
|
+
}>]>>;
|
|
11527
12171
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
11528
12172
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
11529
12173
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -11632,7 +12276,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11632
12276
|
persist?: boolean | undefined;
|
|
11633
12277
|
})[] | undefined;
|
|
11634
12278
|
removeInstructions?: string[] | undefined;
|
|
11635
|
-
message?: string |
|
|
12279
|
+
message?: string | {
|
|
12280
|
+
content: string;
|
|
12281
|
+
transform?: boolean | undefined;
|
|
12282
|
+
} | undefined;
|
|
11636
12283
|
secondsDelay?: number | undefined;
|
|
11637
12284
|
scheduled?: number | undefined;
|
|
11638
12285
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11681,7 +12328,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11681
12328
|
persist?: boolean | undefined;
|
|
11682
12329
|
})[] | undefined;
|
|
11683
12330
|
removeInstructions?: string[] | undefined;
|
|
11684
|
-
message?: string |
|
|
12331
|
+
message?: string | {
|
|
12332
|
+
content: string;
|
|
12333
|
+
transform?: boolean | undefined;
|
|
12334
|
+
} | undefined;
|
|
11685
12335
|
secondsDelay?: number | undefined;
|
|
11686
12336
|
scheduled?: number | undefined;
|
|
11687
12337
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11755,7 +12405,16 @@ declare module '@scout9/app/schemas' {
|
|
|
11755
12405
|
persist?: boolean | undefined;
|
|
11756
12406
|
}>]>, "many">]>>;
|
|
11757
12407
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11758
|
-
message: z.ZodOptional<z.ZodString
|
|
12408
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12409
|
+
content: z.ZodString;
|
|
12410
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
12411
|
+
}, "strip", z.ZodTypeAny, {
|
|
12412
|
+
content: string;
|
|
12413
|
+
transform?: boolean | undefined;
|
|
12414
|
+
}, {
|
|
12415
|
+
content: string;
|
|
12416
|
+
transform?: boolean | undefined;
|
|
12417
|
+
}>]>>;
|
|
11759
12418
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
11760
12419
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
11761
12420
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -11864,7 +12523,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11864
12523
|
persist?: boolean | undefined;
|
|
11865
12524
|
})[] | undefined;
|
|
11866
12525
|
removeInstructions?: string[] | undefined;
|
|
11867
|
-
message?: string |
|
|
12526
|
+
message?: string | {
|
|
12527
|
+
content: string;
|
|
12528
|
+
transform?: boolean | undefined;
|
|
12529
|
+
} | undefined;
|
|
11868
12530
|
secondsDelay?: number | undefined;
|
|
11869
12531
|
scheduled?: number | undefined;
|
|
11870
12532
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11913,7 +12575,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11913
12575
|
persist?: boolean | undefined;
|
|
11914
12576
|
})[] | undefined;
|
|
11915
12577
|
removeInstructions?: string[] | undefined;
|
|
11916
|
-
message?: string |
|
|
12578
|
+
message?: string | {
|
|
12579
|
+
content: string;
|
|
12580
|
+
transform?: boolean | undefined;
|
|
12581
|
+
} | undefined;
|
|
11917
12582
|
secondsDelay?: number | undefined;
|
|
11918
12583
|
scheduled?: number | undefined;
|
|
11919
12584
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -11965,7 +12630,10 @@ declare module '@scout9/app/schemas' {
|
|
|
11965
12630
|
persist?: boolean | undefined;
|
|
11966
12631
|
})[] | undefined;
|
|
11967
12632
|
removeInstructions?: string[] | undefined;
|
|
11968
|
-
message?: string |
|
|
12633
|
+
message?: string | {
|
|
12634
|
+
content: string;
|
|
12635
|
+
transform?: boolean | undefined;
|
|
12636
|
+
} | undefined;
|
|
11969
12637
|
secondsDelay?: number | undefined;
|
|
11970
12638
|
scheduled?: number | undefined;
|
|
11971
12639
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12015,7 +12683,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12015
12683
|
persist?: boolean | undefined;
|
|
12016
12684
|
})[] | undefined;
|
|
12017
12685
|
removeInstructions?: string[] | undefined;
|
|
12018
|
-
message?: string |
|
|
12686
|
+
message?: string | {
|
|
12687
|
+
content: string;
|
|
12688
|
+
transform?: boolean | undefined;
|
|
12689
|
+
} | undefined;
|
|
12019
12690
|
secondsDelay?: number | undefined;
|
|
12020
12691
|
scheduled?: number | undefined;
|
|
12021
12692
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12067,7 +12738,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12067
12738
|
persist?: boolean | undefined;
|
|
12068
12739
|
})[] | undefined;
|
|
12069
12740
|
removeInstructions?: string[] | undefined;
|
|
12070
|
-
message?: string |
|
|
12741
|
+
message?: string | {
|
|
12742
|
+
content: string;
|
|
12743
|
+
transform?: boolean | undefined;
|
|
12744
|
+
} | undefined;
|
|
12071
12745
|
secondsDelay?: number | undefined;
|
|
12072
12746
|
scheduled?: number | undefined;
|
|
12073
12747
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12117,7 +12791,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12117
12791
|
persist?: boolean | undefined;
|
|
12118
12792
|
})[] | undefined;
|
|
12119
12793
|
removeInstructions?: string[] | undefined;
|
|
12120
|
-
message?: string |
|
|
12794
|
+
message?: string | {
|
|
12795
|
+
content: string;
|
|
12796
|
+
transform?: boolean | undefined;
|
|
12797
|
+
} | undefined;
|
|
12121
12798
|
secondsDelay?: number | undefined;
|
|
12122
12799
|
scheduled?: number | undefined;
|
|
12123
12800
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12151,7 +12828,16 @@ declare module '@scout9/app/schemas' {
|
|
|
12151
12828
|
} | undefined;
|
|
12152
12829
|
};
|
|
12153
12830
|
}>, z.ZodArray<z.ZodObject<{
|
|
12154
|
-
message: z.ZodOptional<z.ZodString
|
|
12831
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
12832
|
+
content: z.ZodString;
|
|
12833
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
12834
|
+
}, "strip", z.ZodTypeAny, {
|
|
12835
|
+
content: string;
|
|
12836
|
+
transform?: boolean | undefined;
|
|
12837
|
+
}, {
|
|
12838
|
+
content: string;
|
|
12839
|
+
transform?: boolean | undefined;
|
|
12840
|
+
}>]>>;
|
|
12155
12841
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
12156
12842
|
to: z.ZodOptional<z.ZodString>;
|
|
12157
12843
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -12286,7 +12972,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12286
12972
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
12287
12973
|
}, "strip", z.ZodTypeAny, {
|
|
12288
12974
|
keywords: string[];
|
|
12289
|
-
message?: string |
|
|
12975
|
+
message?: string | {
|
|
12976
|
+
content: string;
|
|
12977
|
+
transform?: boolean | undefined;
|
|
12978
|
+
} | undefined;
|
|
12290
12979
|
forward?: string | boolean | {
|
|
12291
12980
|
to?: string | undefined;
|
|
12292
12981
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -12336,7 +13025,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12336
13025
|
} | undefined;
|
|
12337
13026
|
}, {
|
|
12338
13027
|
keywords: string[];
|
|
12339
|
-
message?: string |
|
|
13028
|
+
message?: string | {
|
|
13029
|
+
content: string;
|
|
13030
|
+
transform?: boolean | undefined;
|
|
13031
|
+
} | undefined;
|
|
12340
13032
|
forward?: string | boolean | {
|
|
12341
13033
|
to?: string | undefined;
|
|
12342
13034
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -12386,7 +13078,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12386
13078
|
} | undefined;
|
|
12387
13079
|
}>, "many">]>>;
|
|
12388
13080
|
}, "strip", z.ZodTypeAny, {
|
|
12389
|
-
message?: string |
|
|
13081
|
+
message?: string | {
|
|
13082
|
+
content: string;
|
|
13083
|
+
transform?: boolean | undefined;
|
|
13084
|
+
} | undefined;
|
|
12390
13085
|
forward?: string | boolean | {
|
|
12391
13086
|
to?: string | undefined;
|
|
12392
13087
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -12453,7 +13148,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12453
13148
|
persist?: boolean | undefined;
|
|
12454
13149
|
})[] | undefined;
|
|
12455
13150
|
removeInstructions?: string[] | undefined;
|
|
12456
|
-
message?: string |
|
|
13151
|
+
message?: string | {
|
|
13152
|
+
content: string;
|
|
13153
|
+
transform?: boolean | undefined;
|
|
13154
|
+
} | undefined;
|
|
12457
13155
|
secondsDelay?: number | undefined;
|
|
12458
13156
|
scheduled?: number | undefined;
|
|
12459
13157
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12503,7 +13201,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12503
13201
|
persist?: boolean | undefined;
|
|
12504
13202
|
})[] | undefined;
|
|
12505
13203
|
removeInstructions?: string[] | undefined;
|
|
12506
|
-
message?: string |
|
|
13204
|
+
message?: string | {
|
|
13205
|
+
content: string;
|
|
13206
|
+
transform?: boolean | undefined;
|
|
13207
|
+
} | undefined;
|
|
12507
13208
|
secondsDelay?: number | undefined;
|
|
12508
13209
|
scheduled?: number | undefined;
|
|
12509
13210
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12538,7 +13239,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12538
13239
|
};
|
|
12539
13240
|
} | {
|
|
12540
13241
|
keywords: string[];
|
|
12541
|
-
message?: string |
|
|
13242
|
+
message?: string | {
|
|
13243
|
+
content: string;
|
|
13244
|
+
transform?: boolean | undefined;
|
|
13245
|
+
} | undefined;
|
|
12542
13246
|
forward?: string | boolean | {
|
|
12543
13247
|
to?: string | undefined;
|
|
12544
13248
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -12588,7 +13292,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12588
13292
|
} | undefined;
|
|
12589
13293
|
}[] | undefined;
|
|
12590
13294
|
}, {
|
|
12591
|
-
message?: string |
|
|
13295
|
+
message?: string | {
|
|
13296
|
+
content: string;
|
|
13297
|
+
transform?: boolean | undefined;
|
|
13298
|
+
} | undefined;
|
|
12592
13299
|
forward?: string | boolean | {
|
|
12593
13300
|
to?: string | undefined;
|
|
12594
13301
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -12655,7 +13362,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12655
13362
|
persist?: boolean | undefined;
|
|
12656
13363
|
})[] | undefined;
|
|
12657
13364
|
removeInstructions?: string[] | undefined;
|
|
12658
|
-
message?: string |
|
|
13365
|
+
message?: string | {
|
|
13366
|
+
content: string;
|
|
13367
|
+
transform?: boolean | undefined;
|
|
13368
|
+
} | undefined;
|
|
12659
13369
|
secondsDelay?: number | undefined;
|
|
12660
13370
|
scheduled?: number | undefined;
|
|
12661
13371
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12705,7 +13415,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12705
13415
|
persist?: boolean | undefined;
|
|
12706
13416
|
})[] | undefined;
|
|
12707
13417
|
removeInstructions?: string[] | undefined;
|
|
12708
|
-
message?: string |
|
|
13418
|
+
message?: string | {
|
|
13419
|
+
content: string;
|
|
13420
|
+
transform?: boolean | undefined;
|
|
13421
|
+
} | undefined;
|
|
12709
13422
|
secondsDelay?: number | undefined;
|
|
12710
13423
|
scheduled?: number | undefined;
|
|
12711
13424
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -12740,7 +13453,10 @@ declare module '@scout9/app/schemas' {
|
|
|
12740
13453
|
};
|
|
12741
13454
|
} | {
|
|
12742
13455
|
keywords: string[];
|
|
12743
|
-
message?: string |
|
|
13456
|
+
message?: string | {
|
|
13457
|
+
content: string;
|
|
13458
|
+
transform?: boolean | undefined;
|
|
13459
|
+
} | undefined;
|
|
12744
13460
|
forward?: string | boolean | {
|
|
12745
13461
|
to?: string | undefined;
|
|
12746
13462
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -12790,7 +13506,16 @@ declare module '@scout9/app/schemas' {
|
|
|
12790
13506
|
} | undefined;
|
|
12791
13507
|
}[] | undefined;
|
|
12792
13508
|
}>, "many">]>>, z.ZodUnion<[z.ZodObject<{
|
|
12793
|
-
message: z.ZodOptional<z.ZodString
|
|
13509
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13510
|
+
content: z.ZodString;
|
|
13511
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
13512
|
+
}, "strip", z.ZodTypeAny, {
|
|
13513
|
+
content: string;
|
|
13514
|
+
transform?: boolean | undefined;
|
|
13515
|
+
}, {
|
|
13516
|
+
content: string;
|
|
13517
|
+
transform?: boolean | undefined;
|
|
13518
|
+
}>]>>;
|
|
12794
13519
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
12795
13520
|
to: z.ZodOptional<z.ZodString>;
|
|
12796
13521
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -12965,7 +13690,16 @@ declare module '@scout9/app/schemas' {
|
|
|
12965
13690
|
persist?: boolean | undefined;
|
|
12966
13691
|
}>]>, "many">]>>;
|
|
12967
13692
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12968
|
-
message: z.ZodOptional<z.ZodString
|
|
13693
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13694
|
+
content: z.ZodString;
|
|
13695
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
13696
|
+
}, "strip", z.ZodTypeAny, {
|
|
13697
|
+
content: string;
|
|
13698
|
+
transform?: boolean | undefined;
|
|
13699
|
+
}, {
|
|
13700
|
+
content: string;
|
|
13701
|
+
transform?: boolean | undefined;
|
|
13702
|
+
}>]>>;
|
|
12969
13703
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
12970
13704
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
12971
13705
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -13074,7 +13808,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13074
13808
|
persist?: boolean | undefined;
|
|
13075
13809
|
})[] | undefined;
|
|
13076
13810
|
removeInstructions?: string[] | undefined;
|
|
13077
|
-
message?: string |
|
|
13811
|
+
message?: string | {
|
|
13812
|
+
content: string;
|
|
13813
|
+
transform?: boolean | undefined;
|
|
13814
|
+
} | undefined;
|
|
13078
13815
|
secondsDelay?: number | undefined;
|
|
13079
13816
|
scheduled?: number | undefined;
|
|
13080
13817
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13123,7 +13860,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13123
13860
|
persist?: boolean | undefined;
|
|
13124
13861
|
})[] | undefined;
|
|
13125
13862
|
removeInstructions?: string[] | undefined;
|
|
13126
|
-
message?: string |
|
|
13863
|
+
message?: string | {
|
|
13864
|
+
content: string;
|
|
13865
|
+
transform?: boolean | undefined;
|
|
13866
|
+
} | undefined;
|
|
13127
13867
|
secondsDelay?: number | undefined;
|
|
13128
13868
|
scheduled?: number | undefined;
|
|
13129
13869
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13197,7 +13937,16 @@ declare module '@scout9/app/schemas' {
|
|
|
13197
13937
|
persist?: boolean | undefined;
|
|
13198
13938
|
}>]>, "many">]>>;
|
|
13199
13939
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13200
|
-
message: z.ZodOptional<z.ZodString
|
|
13940
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
13941
|
+
content: z.ZodString;
|
|
13942
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
13943
|
+
}, "strip", z.ZodTypeAny, {
|
|
13944
|
+
content: string;
|
|
13945
|
+
transform?: boolean | undefined;
|
|
13946
|
+
}, {
|
|
13947
|
+
content: string;
|
|
13948
|
+
transform?: boolean | undefined;
|
|
13949
|
+
}>]>>;
|
|
13201
13950
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
13202
13951
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
13203
13952
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -13306,7 +14055,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13306
14055
|
persist?: boolean | undefined;
|
|
13307
14056
|
})[] | undefined;
|
|
13308
14057
|
removeInstructions?: string[] | undefined;
|
|
13309
|
-
message?: string |
|
|
14058
|
+
message?: string | {
|
|
14059
|
+
content: string;
|
|
14060
|
+
transform?: boolean | undefined;
|
|
14061
|
+
} | undefined;
|
|
13310
14062
|
secondsDelay?: number | undefined;
|
|
13311
14063
|
scheduled?: number | undefined;
|
|
13312
14064
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13355,7 +14107,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13355
14107
|
persist?: boolean | undefined;
|
|
13356
14108
|
})[] | undefined;
|
|
13357
14109
|
removeInstructions?: string[] | undefined;
|
|
13358
|
-
message?: string |
|
|
14110
|
+
message?: string | {
|
|
14111
|
+
content: string;
|
|
14112
|
+
transform?: boolean | undefined;
|
|
14113
|
+
} | undefined;
|
|
13359
14114
|
secondsDelay?: number | undefined;
|
|
13360
14115
|
scheduled?: number | undefined;
|
|
13361
14116
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13407,7 +14162,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13407
14162
|
persist?: boolean | undefined;
|
|
13408
14163
|
})[] | undefined;
|
|
13409
14164
|
removeInstructions?: string[] | undefined;
|
|
13410
|
-
message?: string |
|
|
14165
|
+
message?: string | {
|
|
14166
|
+
content: string;
|
|
14167
|
+
transform?: boolean | undefined;
|
|
14168
|
+
} | undefined;
|
|
13411
14169
|
secondsDelay?: number | undefined;
|
|
13412
14170
|
scheduled?: number | undefined;
|
|
13413
14171
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13457,7 +14215,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13457
14215
|
persist?: boolean | undefined;
|
|
13458
14216
|
})[] | undefined;
|
|
13459
14217
|
removeInstructions?: string[] | undefined;
|
|
13460
|
-
message?: string |
|
|
14218
|
+
message?: string | {
|
|
14219
|
+
content: string;
|
|
14220
|
+
transform?: boolean | undefined;
|
|
14221
|
+
} | undefined;
|
|
13461
14222
|
secondsDelay?: number | undefined;
|
|
13462
14223
|
scheduled?: number | undefined;
|
|
13463
14224
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13509,7 +14270,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13509
14270
|
persist?: boolean | undefined;
|
|
13510
14271
|
})[] | undefined;
|
|
13511
14272
|
removeInstructions?: string[] | undefined;
|
|
13512
|
-
message?: string |
|
|
14273
|
+
message?: string | {
|
|
14274
|
+
content: string;
|
|
14275
|
+
transform?: boolean | undefined;
|
|
14276
|
+
} | undefined;
|
|
13513
14277
|
secondsDelay?: number | undefined;
|
|
13514
14278
|
scheduled?: number | undefined;
|
|
13515
14279
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13559,7 +14323,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13559
14323
|
persist?: boolean | undefined;
|
|
13560
14324
|
})[] | undefined;
|
|
13561
14325
|
removeInstructions?: string[] | undefined;
|
|
13562
|
-
message?: string |
|
|
14326
|
+
message?: string | {
|
|
14327
|
+
content: string;
|
|
14328
|
+
transform?: boolean | undefined;
|
|
14329
|
+
} | undefined;
|
|
13563
14330
|
secondsDelay?: number | undefined;
|
|
13564
14331
|
scheduled?: number | undefined;
|
|
13565
14332
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13593,7 +14360,16 @@ declare module '@scout9/app/schemas' {
|
|
|
13593
14360
|
} | undefined;
|
|
13594
14361
|
};
|
|
13595
14362
|
}>, z.ZodArray<z.ZodObject<{
|
|
13596
|
-
message: z.ZodOptional<z.ZodString
|
|
14363
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14364
|
+
content: z.ZodString;
|
|
14365
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
14366
|
+
}, "strip", z.ZodTypeAny, {
|
|
14367
|
+
content: string;
|
|
14368
|
+
transform?: boolean | undefined;
|
|
14369
|
+
}, {
|
|
14370
|
+
content: string;
|
|
14371
|
+
transform?: boolean | undefined;
|
|
14372
|
+
}>]>>;
|
|
13597
14373
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
13598
14374
|
to: z.ZodOptional<z.ZodString>;
|
|
13599
14375
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -13728,7 +14504,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13728
14504
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
13729
14505
|
}, "strip", z.ZodTypeAny, {
|
|
13730
14506
|
keywords: string[];
|
|
13731
|
-
message?: string |
|
|
14507
|
+
message?: string | {
|
|
14508
|
+
content: string;
|
|
14509
|
+
transform?: boolean | undefined;
|
|
14510
|
+
} | undefined;
|
|
13732
14511
|
forward?: string | boolean | {
|
|
13733
14512
|
to?: string | undefined;
|
|
13734
14513
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -13778,7 +14557,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13778
14557
|
} | undefined;
|
|
13779
14558
|
}, {
|
|
13780
14559
|
keywords: string[];
|
|
13781
|
-
message?: string |
|
|
14560
|
+
message?: string | {
|
|
14561
|
+
content: string;
|
|
14562
|
+
transform?: boolean | undefined;
|
|
14563
|
+
} | undefined;
|
|
13782
14564
|
forward?: string | boolean | {
|
|
13783
14565
|
to?: string | undefined;
|
|
13784
14566
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -13828,7 +14610,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13828
14610
|
} | undefined;
|
|
13829
14611
|
}>, "many">]>>;
|
|
13830
14612
|
}, "strip", z.ZodTypeAny, {
|
|
13831
|
-
message?: string |
|
|
14613
|
+
message?: string | {
|
|
14614
|
+
content: string;
|
|
14615
|
+
transform?: boolean | undefined;
|
|
14616
|
+
} | undefined;
|
|
13832
14617
|
forward?: string | boolean | {
|
|
13833
14618
|
to?: string | undefined;
|
|
13834
14619
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -13895,7 +14680,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13895
14680
|
persist?: boolean | undefined;
|
|
13896
14681
|
})[] | undefined;
|
|
13897
14682
|
removeInstructions?: string[] | undefined;
|
|
13898
|
-
message?: string |
|
|
14683
|
+
message?: string | {
|
|
14684
|
+
content: string;
|
|
14685
|
+
transform?: boolean | undefined;
|
|
14686
|
+
} | undefined;
|
|
13899
14687
|
secondsDelay?: number | undefined;
|
|
13900
14688
|
scheduled?: number | undefined;
|
|
13901
14689
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13945,7 +14733,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13945
14733
|
persist?: boolean | undefined;
|
|
13946
14734
|
})[] | undefined;
|
|
13947
14735
|
removeInstructions?: string[] | undefined;
|
|
13948
|
-
message?: string |
|
|
14736
|
+
message?: string | {
|
|
14737
|
+
content: string;
|
|
14738
|
+
transform?: boolean | undefined;
|
|
14739
|
+
} | undefined;
|
|
13949
14740
|
secondsDelay?: number | undefined;
|
|
13950
14741
|
scheduled?: number | undefined;
|
|
13951
14742
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -13980,7 +14771,10 @@ declare module '@scout9/app/schemas' {
|
|
|
13980
14771
|
};
|
|
13981
14772
|
} | {
|
|
13982
14773
|
keywords: string[];
|
|
13983
|
-
message?: string |
|
|
14774
|
+
message?: string | {
|
|
14775
|
+
content: string;
|
|
14776
|
+
transform?: boolean | undefined;
|
|
14777
|
+
} | undefined;
|
|
13984
14778
|
forward?: string | boolean | {
|
|
13985
14779
|
to?: string | undefined;
|
|
13986
14780
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -14030,7 +14824,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14030
14824
|
} | undefined;
|
|
14031
14825
|
}[] | undefined;
|
|
14032
14826
|
}, {
|
|
14033
|
-
message?: string |
|
|
14827
|
+
message?: string | {
|
|
14828
|
+
content: string;
|
|
14829
|
+
transform?: boolean | undefined;
|
|
14830
|
+
} | undefined;
|
|
14034
14831
|
forward?: string | boolean | {
|
|
14035
14832
|
to?: string | undefined;
|
|
14036
14833
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -14097,7 +14894,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14097
14894
|
persist?: boolean | undefined;
|
|
14098
14895
|
})[] | undefined;
|
|
14099
14896
|
removeInstructions?: string[] | undefined;
|
|
14100
|
-
message?: string |
|
|
14897
|
+
message?: string | {
|
|
14898
|
+
content: string;
|
|
14899
|
+
transform?: boolean | undefined;
|
|
14900
|
+
} | undefined;
|
|
14101
14901
|
secondsDelay?: number | undefined;
|
|
14102
14902
|
scheduled?: number | undefined;
|
|
14103
14903
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14147,7 +14947,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14147
14947
|
persist?: boolean | undefined;
|
|
14148
14948
|
})[] | undefined;
|
|
14149
14949
|
removeInstructions?: string[] | undefined;
|
|
14150
|
-
message?: string |
|
|
14950
|
+
message?: string | {
|
|
14951
|
+
content: string;
|
|
14952
|
+
transform?: boolean | undefined;
|
|
14953
|
+
} | undefined;
|
|
14151
14954
|
secondsDelay?: number | undefined;
|
|
14152
14955
|
scheduled?: number | undefined;
|
|
14153
14956
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14182,7 +14985,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14182
14985
|
};
|
|
14183
14986
|
} | {
|
|
14184
14987
|
keywords: string[];
|
|
14185
|
-
message?: string |
|
|
14988
|
+
message?: string | {
|
|
14989
|
+
content: string;
|
|
14990
|
+
transform?: boolean | undefined;
|
|
14991
|
+
} | undefined;
|
|
14186
14992
|
forward?: string | boolean | {
|
|
14187
14993
|
to?: string | undefined;
|
|
14188
14994
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -14232,7 +15038,16 @@ declare module '@scout9/app/schemas' {
|
|
|
14232
15038
|
} | undefined;
|
|
14233
15039
|
}[] | undefined;
|
|
14234
15040
|
}>, z.ZodArray<z.ZodObject<{
|
|
14235
|
-
message: z.ZodOptional<z.ZodString
|
|
15041
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15042
|
+
content: z.ZodString;
|
|
15043
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
15044
|
+
}, "strip", z.ZodTypeAny, {
|
|
15045
|
+
content: string;
|
|
15046
|
+
transform?: boolean | undefined;
|
|
15047
|
+
}, {
|
|
15048
|
+
content: string;
|
|
15049
|
+
transform?: boolean | undefined;
|
|
15050
|
+
}>]>>;
|
|
14236
15051
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
14237
15052
|
to: z.ZodOptional<z.ZodString>;
|
|
14238
15053
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -14407,7 +15222,16 @@ declare module '@scout9/app/schemas' {
|
|
|
14407
15222
|
persist?: boolean | undefined;
|
|
14408
15223
|
}>]>, "many">]>>;
|
|
14409
15224
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14410
|
-
message: z.ZodOptional<z.ZodString
|
|
15225
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15226
|
+
content: z.ZodString;
|
|
15227
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
15228
|
+
}, "strip", z.ZodTypeAny, {
|
|
15229
|
+
content: string;
|
|
15230
|
+
transform?: boolean | undefined;
|
|
15231
|
+
}, {
|
|
15232
|
+
content: string;
|
|
15233
|
+
transform?: boolean | undefined;
|
|
15234
|
+
}>]>>;
|
|
14411
15235
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
14412
15236
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
14413
15237
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -14516,7 +15340,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14516
15340
|
persist?: boolean | undefined;
|
|
14517
15341
|
})[] | undefined;
|
|
14518
15342
|
removeInstructions?: string[] | undefined;
|
|
14519
|
-
message?: string |
|
|
15343
|
+
message?: string | {
|
|
15344
|
+
content: string;
|
|
15345
|
+
transform?: boolean | undefined;
|
|
15346
|
+
} | undefined;
|
|
14520
15347
|
secondsDelay?: number | undefined;
|
|
14521
15348
|
scheduled?: number | undefined;
|
|
14522
15349
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14565,7 +15392,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14565
15392
|
persist?: boolean | undefined;
|
|
14566
15393
|
})[] | undefined;
|
|
14567
15394
|
removeInstructions?: string[] | undefined;
|
|
14568
|
-
message?: string |
|
|
15395
|
+
message?: string | {
|
|
15396
|
+
content: string;
|
|
15397
|
+
transform?: boolean | undefined;
|
|
15398
|
+
} | undefined;
|
|
14569
15399
|
secondsDelay?: number | undefined;
|
|
14570
15400
|
scheduled?: number | undefined;
|
|
14571
15401
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14639,7 +15469,16 @@ declare module '@scout9/app/schemas' {
|
|
|
14639
15469
|
persist?: boolean | undefined;
|
|
14640
15470
|
}>]>, "many">]>>;
|
|
14641
15471
|
removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14642
|
-
message: z.ZodOptional<z.ZodString
|
|
15472
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15473
|
+
content: z.ZodString;
|
|
15474
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
15475
|
+
}, "strip", z.ZodTypeAny, {
|
|
15476
|
+
content: string;
|
|
15477
|
+
transform?: boolean | undefined;
|
|
15478
|
+
}, {
|
|
15479
|
+
content: string;
|
|
15480
|
+
transform?: boolean | undefined;
|
|
15481
|
+
}>]>>;
|
|
14643
15482
|
secondsDelay: z.ZodOptional<z.ZodNumber>;
|
|
14644
15483
|
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
14645
15484
|
contextUpsert: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodAny, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
|
|
@@ -14748,7 +15587,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14748
15587
|
persist?: boolean | undefined;
|
|
14749
15588
|
})[] | undefined;
|
|
14750
15589
|
removeInstructions?: string[] | undefined;
|
|
14751
|
-
message?: string |
|
|
15590
|
+
message?: string | {
|
|
15591
|
+
content: string;
|
|
15592
|
+
transform?: boolean | undefined;
|
|
15593
|
+
} | undefined;
|
|
14752
15594
|
secondsDelay?: number | undefined;
|
|
14753
15595
|
scheduled?: number | undefined;
|
|
14754
15596
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14797,7 +15639,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14797
15639
|
persist?: boolean | undefined;
|
|
14798
15640
|
})[] | undefined;
|
|
14799
15641
|
removeInstructions?: string[] | undefined;
|
|
14800
|
-
message?: string |
|
|
15642
|
+
message?: string | {
|
|
15643
|
+
content: string;
|
|
15644
|
+
transform?: boolean | undefined;
|
|
15645
|
+
} | undefined;
|
|
14801
15646
|
secondsDelay?: number | undefined;
|
|
14802
15647
|
scheduled?: number | undefined;
|
|
14803
15648
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14849,7 +15694,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14849
15694
|
persist?: boolean | undefined;
|
|
14850
15695
|
})[] | undefined;
|
|
14851
15696
|
removeInstructions?: string[] | undefined;
|
|
14852
|
-
message?: string |
|
|
15697
|
+
message?: string | {
|
|
15698
|
+
content: string;
|
|
15699
|
+
transform?: boolean | undefined;
|
|
15700
|
+
} | undefined;
|
|
14853
15701
|
secondsDelay?: number | undefined;
|
|
14854
15702
|
scheduled?: number | undefined;
|
|
14855
15703
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14899,7 +15747,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14899
15747
|
persist?: boolean | undefined;
|
|
14900
15748
|
})[] | undefined;
|
|
14901
15749
|
removeInstructions?: string[] | undefined;
|
|
14902
|
-
message?: string |
|
|
15750
|
+
message?: string | {
|
|
15751
|
+
content: string;
|
|
15752
|
+
transform?: boolean | undefined;
|
|
15753
|
+
} | undefined;
|
|
14903
15754
|
secondsDelay?: number | undefined;
|
|
14904
15755
|
scheduled?: number | undefined;
|
|
14905
15756
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -14951,7 +15802,10 @@ declare module '@scout9/app/schemas' {
|
|
|
14951
15802
|
persist?: boolean | undefined;
|
|
14952
15803
|
})[] | undefined;
|
|
14953
15804
|
removeInstructions?: string[] | undefined;
|
|
14954
|
-
message?: string |
|
|
15805
|
+
message?: string | {
|
|
15806
|
+
content: string;
|
|
15807
|
+
transform?: boolean | undefined;
|
|
15808
|
+
} | undefined;
|
|
14955
15809
|
secondsDelay?: number | undefined;
|
|
14956
15810
|
scheduled?: number | undefined;
|
|
14957
15811
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -15001,7 +15855,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15001
15855
|
persist?: boolean | undefined;
|
|
15002
15856
|
})[] | undefined;
|
|
15003
15857
|
removeInstructions?: string[] | undefined;
|
|
15004
|
-
message?: string |
|
|
15858
|
+
message?: string | {
|
|
15859
|
+
content: string;
|
|
15860
|
+
transform?: boolean | undefined;
|
|
15861
|
+
} | undefined;
|
|
15005
15862
|
secondsDelay?: number | undefined;
|
|
15006
15863
|
scheduled?: number | undefined;
|
|
15007
15864
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -15035,7 +15892,16 @@ declare module '@scout9/app/schemas' {
|
|
|
15035
15892
|
} | undefined;
|
|
15036
15893
|
};
|
|
15037
15894
|
}>, z.ZodArray<z.ZodObject<{
|
|
15038
|
-
message: z.ZodOptional<z.ZodString
|
|
15895
|
+
message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
15896
|
+
content: z.ZodString;
|
|
15897
|
+
transform: z.ZodOptional<z.ZodBoolean>;
|
|
15898
|
+
}, "strip", z.ZodTypeAny, {
|
|
15899
|
+
content: string;
|
|
15900
|
+
transform?: boolean | undefined;
|
|
15901
|
+
}, {
|
|
15902
|
+
content: string;
|
|
15903
|
+
transform?: boolean | undefined;
|
|
15904
|
+
}>]>>;
|
|
15039
15905
|
forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
|
|
15040
15906
|
to: z.ZodOptional<z.ZodString>;
|
|
15041
15907
|
mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
|
|
@@ -15170,7 +16036,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15170
16036
|
keywords: z.ZodArray<z.ZodString, "many">;
|
|
15171
16037
|
}, "strip", z.ZodTypeAny, {
|
|
15172
16038
|
keywords: string[];
|
|
15173
|
-
message?: string |
|
|
16039
|
+
message?: string | {
|
|
16040
|
+
content: string;
|
|
16041
|
+
transform?: boolean | undefined;
|
|
16042
|
+
} | undefined;
|
|
15174
16043
|
forward?: string | boolean | {
|
|
15175
16044
|
to?: string | undefined;
|
|
15176
16045
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -15220,7 +16089,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15220
16089
|
} | undefined;
|
|
15221
16090
|
}, {
|
|
15222
16091
|
keywords: string[];
|
|
15223
|
-
message?: string |
|
|
16092
|
+
message?: string | {
|
|
16093
|
+
content: string;
|
|
16094
|
+
transform?: boolean | undefined;
|
|
16095
|
+
} | undefined;
|
|
15224
16096
|
forward?: string | boolean | {
|
|
15225
16097
|
to?: string | undefined;
|
|
15226
16098
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -15270,7 +16142,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15270
16142
|
} | undefined;
|
|
15271
16143
|
}>, "many">]>>;
|
|
15272
16144
|
}, "strip", z.ZodTypeAny, {
|
|
15273
|
-
message?: string |
|
|
16145
|
+
message?: string | {
|
|
16146
|
+
content: string;
|
|
16147
|
+
transform?: boolean | undefined;
|
|
16148
|
+
} | undefined;
|
|
15274
16149
|
forward?: string | boolean | {
|
|
15275
16150
|
to?: string | undefined;
|
|
15276
16151
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -15337,7 +16212,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15337
16212
|
persist?: boolean | undefined;
|
|
15338
16213
|
})[] | undefined;
|
|
15339
16214
|
removeInstructions?: string[] | undefined;
|
|
15340
|
-
message?: string |
|
|
16215
|
+
message?: string | {
|
|
16216
|
+
content: string;
|
|
16217
|
+
transform?: boolean | undefined;
|
|
16218
|
+
} | undefined;
|
|
15341
16219
|
secondsDelay?: number | undefined;
|
|
15342
16220
|
scheduled?: number | undefined;
|
|
15343
16221
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -15387,7 +16265,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15387
16265
|
persist?: boolean | undefined;
|
|
15388
16266
|
})[] | undefined;
|
|
15389
16267
|
removeInstructions?: string[] | undefined;
|
|
15390
|
-
message?: string |
|
|
16268
|
+
message?: string | {
|
|
16269
|
+
content: string;
|
|
16270
|
+
transform?: boolean | undefined;
|
|
16271
|
+
} | undefined;
|
|
15391
16272
|
secondsDelay?: number | undefined;
|
|
15392
16273
|
scheduled?: number | undefined;
|
|
15393
16274
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -15422,7 +16303,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15422
16303
|
};
|
|
15423
16304
|
} | {
|
|
15424
16305
|
keywords: string[];
|
|
15425
|
-
message?: string |
|
|
16306
|
+
message?: string | {
|
|
16307
|
+
content: string;
|
|
16308
|
+
transform?: boolean | undefined;
|
|
16309
|
+
} | undefined;
|
|
15426
16310
|
forward?: string | boolean | {
|
|
15427
16311
|
to?: string | undefined;
|
|
15428
16312
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -15472,7 +16356,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15472
16356
|
} | undefined;
|
|
15473
16357
|
}[] | undefined;
|
|
15474
16358
|
}, {
|
|
15475
|
-
message?: string |
|
|
16359
|
+
message?: string | {
|
|
16360
|
+
content: string;
|
|
16361
|
+
transform?: boolean | undefined;
|
|
16362
|
+
} | undefined;
|
|
15476
16363
|
forward?: string | boolean | {
|
|
15477
16364
|
to?: string | undefined;
|
|
15478
16365
|
mode?: "after-reply" | "immediately" | undefined;
|
|
@@ -15539,7 +16426,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15539
16426
|
persist?: boolean | undefined;
|
|
15540
16427
|
})[] | undefined;
|
|
15541
16428
|
removeInstructions?: string[] | undefined;
|
|
15542
|
-
message?: string |
|
|
16429
|
+
message?: string | {
|
|
16430
|
+
content: string;
|
|
16431
|
+
transform?: boolean | undefined;
|
|
16432
|
+
} | undefined;
|
|
15543
16433
|
secondsDelay?: number | undefined;
|
|
15544
16434
|
scheduled?: number | undefined;
|
|
15545
16435
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -15589,7 +16479,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15589
16479
|
persist?: boolean | undefined;
|
|
15590
16480
|
})[] | undefined;
|
|
15591
16481
|
removeInstructions?: string[] | undefined;
|
|
15592
|
-
message?: string |
|
|
16482
|
+
message?: string | {
|
|
16483
|
+
content: string;
|
|
16484
|
+
transform?: boolean | undefined;
|
|
16485
|
+
} | undefined;
|
|
15593
16486
|
secondsDelay?: number | undefined;
|
|
15594
16487
|
scheduled?: number | undefined;
|
|
15595
16488
|
contextUpsert?: Record<string, any> | undefined;
|
|
@@ -15624,7 +16517,10 @@ declare module '@scout9/app/schemas' {
|
|
|
15624
16517
|
};
|
|
15625
16518
|
} | {
|
|
15626
16519
|
keywords: string[];
|
|
15627
|
-
message?: string |
|
|
16520
|
+
message?: string | {
|
|
16521
|
+
content: string;
|
|
16522
|
+
transform?: boolean | undefined;
|
|
16523
|
+
} | undefined;
|
|
15628
16524
|
forward?: string | boolean | {
|
|
15629
16525
|
to?: string | undefined;
|
|
15630
16526
|
mode?: "after-reply" | "immediately" | undefined;
|