@scout9/app 1.0.0-alpha.0.5.8 → 1.0.0-alpha.0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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};
@@ -487,6 +493,14 @@ declare module '@scout9/app' {
487
493
  initial: string | null;
488
494
  };
489
495
 
496
+ export type MessageEntity = {
497
+ start: number;
498
+ end: number;
499
+ type: string;
500
+ option?: string | null;
501
+ text?: string | null;
502
+ }
503
+
490
504
  export type Message = {
491
505
  /** Unique ID for the message */
492
506
  id: string;
@@ -505,6 +519,8 @@ declare module '@scout9/app' {
505
519
  intentScore?: (number | null) | undefined;
506
520
  /** How long to delay the message manually in seconds */
507
521
  delayInSeconds?: (number | null) | undefined;
522
+ /** Entities related to the message */
523
+ entities?: MessageEntity[] | null;
508
524
  };
509
525
 
510
526
  export type PersonaConfiguration = AgentConfiguration;
@@ -580,7 +596,7 @@ declare module '@scout9/app' {
580
596
  conversation: Conversation;
581
597
  context?: any;
582
598
  message: Message;
583
- agent: Omit<AgentConfiguration, 'transcripts' | 'audios' | 'includedLocations' | 'excludedLocations' | 'model' | 'context'>;
599
+ agent: Omit<AgentConfiguration, 'transcripts' | 'audios' | 'includedLocations' | 'excludedLocations' | 'model' | 'context' | 'pmt'>;
584
600
  customer: Customer;
585
601
  intent: IntentWorkflowEvent;
586
602
  stagnationCount: number;
@@ -607,7 +623,7 @@ declare module '@scout9/app' {
607
623
  forwardNote?: string | undefined;
608
624
  instructions?: Instruction[] | undefined;
609
625
  removeInstructions?: string[] | undefined;
610
- message?: string | undefined;
626
+ message?: string | {content: string; transform?: boolean} | undefined;
611
627
  secondsDelay?: number | undefined;
612
628
  scheduled?: number | undefined;
613
629
  contextUpsert?: {
@@ -648,7 +664,6 @@ declare module '@scout9/app' {
648
664
  };
649
665
  };
650
666
 
651
-
652
667
  export type WorkflowsConfiguration = {
653
668
  /** Workflow id association, used to handle route params */
654
669
  entities: string[];
@@ -798,7 +813,10 @@ declare module '@scout9/app/spirits' {
798
813
  */
799
814
  message: any;
800
815
  customer: any;
801
- context: any;
816
+ /**
817
+ * - progress checklist for manual/auto ingress workflows (needed if conversation progress is not managed by external webhooks or
818
+ */
819
+ progress: any;
802
820
  };
803
821
  export type ParseOutput = {
804
822
  messages: Array<any>;
@@ -821,12 +839,14 @@ declare module '@scout9/app/spirits' {
821
839
  export type ParseFun = (message: string, language: string | undefined) => Promise<import('@scout9/admin').ParseResponse>;
822
840
  export type WorkflowFun = (event: any) => Promise<any>;
823
841
  export type GenerateFun = (data: import('@scout9/admin').GenerateRequestOneOf) => Promise<import('@scout9/admin').GenerateResponse>;
842
+ export type TransformerFun = (data: import('@scout9/admin').PmtTransformRequest) => Promise<import('@scout9/admin').PmtTransformResponse>;
824
843
  export type IdGeneratorFun = (prefix: any) => string;
825
844
  export type StatusCallback = (message: string, level?: 'info' | 'warn' | 'error' | 'success' | undefined, type?: string | undefined, payload?: any | undefined) => void;
826
845
  export type CustomerSpiritCallbacks = {
827
846
  parser: ParseFun;
828
847
  workflow: WorkflowFun;
829
848
  generator: GenerateFun;
849
+ transformer: TransformerFun;
830
850
  idGenerator: IdGeneratorFun;
831
851
  progress?: StatusCallback | undefined;
832
852
  };
@@ -1316,6 +1336,25 @@ declare module '@scout9/app/schemas' {
1316
1336
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1317
1337
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1318
1338
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1339
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1340
+ start: z.ZodNumber;
1341
+ end: z.ZodNumber;
1342
+ type: z.ZodString;
1343
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1344
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1345
+ }, "strip", z.ZodTypeAny, {
1346
+ type: string;
1347
+ end: number;
1348
+ start: number;
1349
+ option?: string | null | undefined;
1350
+ text?: string | null | undefined;
1351
+ }, {
1352
+ type: string;
1353
+ end: number;
1354
+ start: number;
1355
+ option?: string | null | undefined;
1356
+ text?: string | null | undefined;
1357
+ }>, "many">>>;
1319
1358
  }, "strip", z.ZodTypeAny, {
1320
1359
  time: string;
1321
1360
  id: string;
@@ -1327,6 +1366,13 @@ declare module '@scout9/app/schemas' {
1327
1366
  intent?: string | null | undefined;
1328
1367
  intentScore?: number | null | undefined;
1329
1368
  delayInSeconds?: number | null | undefined;
1369
+ entities?: {
1370
+ type: string;
1371
+ end: number;
1372
+ start: number;
1373
+ option?: string | null | undefined;
1374
+ text?: string | null | undefined;
1375
+ }[] | null | undefined;
1330
1376
  }, {
1331
1377
  time: string;
1332
1378
  id: string;
@@ -1338,8 +1384,37 @@ declare module '@scout9/app/schemas' {
1338
1384
  intent?: string | null | undefined;
1339
1385
  intentScore?: number | null | undefined;
1340
1386
  delayInSeconds?: number | null | undefined;
1387
+ entities?: {
1388
+ type: string;
1389
+ end: number;
1390
+ start: number;
1391
+ option?: string | null | undefined;
1392
+ text?: string | null | undefined;
1393
+ }[] | null | undefined;
1341
1394
  }>, "many">, "many">>;
1342
1395
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1396
+ pmt: z.ZodOptional<z.ZodObject<{
1397
+ tag: z.ZodOptional<z.ZodString>;
1398
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
1399
+ llm: z.ZodOptional<z.ZodString>;
1400
+ webhookUri: z.ZodOptional<z.ZodString>;
1401
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
1402
+ watermark: z.ZodOptional<z.ZodString>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ ingress: "auto" | "manual" | "app" | "workflow";
1405
+ tag?: string | undefined;
1406
+ llm?: string | undefined;
1407
+ webhookUri?: string | undefined;
1408
+ watermarkEnabled?: boolean | undefined;
1409
+ watermark?: string | undefined;
1410
+ }, {
1411
+ ingress: "auto" | "manual" | "app" | "workflow";
1412
+ tag?: string | undefined;
1413
+ llm?: string | undefined;
1414
+ webhookUri?: string | undefined;
1415
+ watermarkEnabled?: boolean | undefined;
1416
+ watermark?: string | undefined;
1417
+ }>>;
1343
1418
  }, "strip", z.ZodTypeAny, {
1344
1419
  title: string;
1345
1420
  context: string;
@@ -1371,8 +1446,23 @@ declare module '@scout9/app/schemas' {
1371
1446
  intent?: string | null | undefined;
1372
1447
  intentScore?: number | null | undefined;
1373
1448
  delayInSeconds?: number | null | undefined;
1449
+ entities?: {
1450
+ type: string;
1451
+ end: number;
1452
+ start: number;
1453
+ option?: string | null | undefined;
1454
+ text?: string | null | undefined;
1455
+ }[] | null | undefined;
1374
1456
  }[][] | undefined;
1375
1457
  audios?: any[] | undefined;
1458
+ pmt?: {
1459
+ ingress: "auto" | "manual" | "app" | "workflow";
1460
+ tag?: string | undefined;
1461
+ llm?: string | undefined;
1462
+ webhookUri?: string | undefined;
1463
+ watermarkEnabled?: boolean | undefined;
1464
+ watermark?: string | undefined;
1465
+ } | undefined;
1376
1466
  }, {
1377
1467
  deployed?: {
1378
1468
  web?: string | undefined;
@@ -1404,8 +1494,23 @@ declare module '@scout9/app/schemas' {
1404
1494
  intent?: string | null | undefined;
1405
1495
  intentScore?: number | null | undefined;
1406
1496
  delayInSeconds?: number | null | undefined;
1497
+ entities?: {
1498
+ type: string;
1499
+ end: number;
1500
+ start: number;
1501
+ option?: string | null | undefined;
1502
+ text?: string | null | undefined;
1503
+ }[] | null | undefined;
1407
1504
  }[][] | undefined;
1408
1505
  audios?: any[] | undefined;
1506
+ pmt?: {
1507
+ ingress: "auto" | "manual" | "app" | "workflow";
1508
+ tag?: string | undefined;
1509
+ llm?: string | undefined;
1510
+ webhookUri?: string | undefined;
1511
+ watermarkEnabled?: boolean | undefined;
1512
+ watermark?: string | undefined;
1513
+ } | undefined;
1409
1514
  }>, "many">;
1410
1515
  entities: z.ZodArray<z.ZodEffects<z.ZodObject<{
1411
1516
  id: z.ZodOptional<z.ZodString>;
@@ -1646,8 +1751,23 @@ declare module '@scout9/app/schemas' {
1646
1751
  intent?: string | null | undefined;
1647
1752
  intentScore?: number | null | undefined;
1648
1753
  delayInSeconds?: number | null | undefined;
1754
+ entities?: {
1755
+ type: string;
1756
+ end: number;
1757
+ start: number;
1758
+ option?: string | null | undefined;
1759
+ text?: string | null | undefined;
1760
+ }[] | null | undefined;
1649
1761
  }[][] | undefined;
1650
1762
  audios?: any[] | undefined;
1763
+ pmt?: {
1764
+ ingress: "auto" | "manual" | "app" | "workflow";
1765
+ tag?: string | undefined;
1766
+ llm?: string | undefined;
1767
+ webhookUri?: string | undefined;
1768
+ watermarkEnabled?: boolean | undefined;
1769
+ watermark?: string | undefined;
1770
+ } | undefined;
1651
1771
  }[];
1652
1772
  entities: {
1653
1773
  entity: string;
@@ -1746,8 +1866,23 @@ declare module '@scout9/app/schemas' {
1746
1866
  intent?: string | null | undefined;
1747
1867
  intentScore?: number | null | undefined;
1748
1868
  delayInSeconds?: number | null | undefined;
1869
+ entities?: {
1870
+ type: string;
1871
+ end: number;
1872
+ start: number;
1873
+ option?: string | null | undefined;
1874
+ text?: string | null | undefined;
1875
+ }[] | null | undefined;
1749
1876
  }[][] | undefined;
1750
1877
  audios?: any[] | undefined;
1878
+ pmt?: {
1879
+ ingress: "auto" | "manual" | "app" | "workflow";
1880
+ tag?: string | undefined;
1881
+ llm?: string | undefined;
1882
+ webhookUri?: string | undefined;
1883
+ watermarkEnabled?: boolean | undefined;
1884
+ watermark?: string | undefined;
1885
+ } | undefined;
1751
1886
  }[];
1752
1887
  entities: {
1753
1888
  entity: string;
@@ -2762,6 +2897,25 @@ declare module '@scout9/app/schemas' {
2762
2897
  input: string;
2763
2898
  output: Record<string, any>[];
2764
2899
  }>, "many">, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
2900
+ export const MessageEntitySchema: z.ZodObject<{
2901
+ start: z.ZodNumber;
2902
+ end: z.ZodNumber;
2903
+ type: z.ZodString;
2904
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2905
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2906
+ }, "strip", z.ZodTypeAny, {
2907
+ type: string;
2908
+ end: number;
2909
+ start: number;
2910
+ option?: string | null | undefined;
2911
+ text?: string | null | undefined;
2912
+ }, {
2913
+ type: string;
2914
+ end: number;
2915
+ start: number;
2916
+ option?: string | null | undefined;
2917
+ text?: string | null | undefined;
2918
+ }>;
2765
2919
  export const MessageSchema: z.ZodObject<{
2766
2920
  id: z.ZodString;
2767
2921
  role: z.ZodEnum<["agent", "customer", "system"]>;
@@ -2773,6 +2927,25 @@ declare module '@scout9/app/schemas' {
2773
2927
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2774
2928
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2775
2929
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2930
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2931
+ start: z.ZodNumber;
2932
+ end: z.ZodNumber;
2933
+ type: z.ZodString;
2934
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2935
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2936
+ }, "strip", z.ZodTypeAny, {
2937
+ type: string;
2938
+ end: number;
2939
+ start: number;
2940
+ option?: string | null | undefined;
2941
+ text?: string | null | undefined;
2942
+ }, {
2943
+ type: string;
2944
+ end: number;
2945
+ start: number;
2946
+ option?: string | null | undefined;
2947
+ text?: string | null | undefined;
2948
+ }>, "many">>>;
2776
2949
  }, "strip", z.ZodTypeAny, {
2777
2950
  time: string;
2778
2951
  id: string;
@@ -2784,6 +2957,13 @@ declare module '@scout9/app/schemas' {
2784
2957
  intent?: string | null | undefined;
2785
2958
  intentScore?: number | null | undefined;
2786
2959
  delayInSeconds?: number | null | undefined;
2960
+ entities?: {
2961
+ type: string;
2962
+ end: number;
2963
+ start: number;
2964
+ option?: string | null | undefined;
2965
+ text?: string | null | undefined;
2966
+ }[] | null | undefined;
2787
2967
  }, {
2788
2968
  time: string;
2789
2969
  id: string;
@@ -2795,6 +2975,13 @@ declare module '@scout9/app/schemas' {
2795
2975
  intent?: string | null | undefined;
2796
2976
  intentScore?: number | null | undefined;
2797
2977
  delayInSeconds?: number | null | undefined;
2978
+ entities?: {
2979
+ type: string;
2980
+ end: number;
2981
+ start: number;
2982
+ option?: string | null | undefined;
2983
+ text?: string | null | undefined;
2984
+ }[] | null | undefined;
2798
2985
  }>;
2799
2986
  export const CustomerValueSchema: z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodString]>;
2800
2987
  export const CustomerSchema: z.ZodObject<{
@@ -2891,6 +3078,25 @@ declare module '@scout9/app/schemas' {
2891
3078
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2892
3079
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2893
3080
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3081
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3082
+ start: z.ZodNumber;
3083
+ end: z.ZodNumber;
3084
+ type: z.ZodString;
3085
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3086
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3087
+ }, "strip", z.ZodTypeAny, {
3088
+ type: string;
3089
+ end: number;
3090
+ start: number;
3091
+ option?: string | null | undefined;
3092
+ text?: string | null | undefined;
3093
+ }, {
3094
+ type: string;
3095
+ end: number;
3096
+ start: number;
3097
+ option?: string | null | undefined;
3098
+ text?: string | null | undefined;
3099
+ }>, "many">>>;
2894
3100
  }, "strip", z.ZodTypeAny, {
2895
3101
  time: string;
2896
3102
  id: string;
@@ -2902,6 +3108,13 @@ declare module '@scout9/app/schemas' {
2902
3108
  intent?: string | null | undefined;
2903
3109
  intentScore?: number | null | undefined;
2904
3110
  delayInSeconds?: number | null | undefined;
3111
+ entities?: {
3112
+ type: string;
3113
+ end: number;
3114
+ start: number;
3115
+ option?: string | null | undefined;
3116
+ text?: string | null | undefined;
3117
+ }[] | null | undefined;
2905
3118
  }, {
2906
3119
  time: string;
2907
3120
  id: string;
@@ -2913,8 +3126,37 @@ declare module '@scout9/app/schemas' {
2913
3126
  intent?: string | null | undefined;
2914
3127
  intentScore?: number | null | undefined;
2915
3128
  delayInSeconds?: number | null | undefined;
3129
+ entities?: {
3130
+ type: string;
3131
+ end: number;
3132
+ start: number;
3133
+ option?: string | null | undefined;
3134
+ text?: string | null | undefined;
3135
+ }[] | null | undefined;
2916
3136
  }>, "many">, "many">>;
2917
3137
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3138
+ pmt: z.ZodOptional<z.ZodObject<{
3139
+ tag: z.ZodOptional<z.ZodString>;
3140
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3141
+ llm: z.ZodOptional<z.ZodString>;
3142
+ webhookUri: z.ZodOptional<z.ZodString>;
3143
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3144
+ watermark: z.ZodOptional<z.ZodString>;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ ingress: "auto" | "manual" | "app" | "workflow";
3147
+ tag?: string | undefined;
3148
+ llm?: string | undefined;
3149
+ webhookUri?: string | undefined;
3150
+ watermarkEnabled?: boolean | undefined;
3151
+ watermark?: string | undefined;
3152
+ }, {
3153
+ ingress: "auto" | "manual" | "app" | "workflow";
3154
+ tag?: string | undefined;
3155
+ llm?: string | undefined;
3156
+ webhookUri?: string | undefined;
3157
+ watermarkEnabled?: boolean | undefined;
3158
+ watermark?: string | undefined;
3159
+ }>>;
2918
3160
  }, "strip", z.ZodTypeAny, {
2919
3161
  title: string;
2920
3162
  context: string;
@@ -2946,8 +3188,23 @@ declare module '@scout9/app/schemas' {
2946
3188
  intent?: string | null | undefined;
2947
3189
  intentScore?: number | null | undefined;
2948
3190
  delayInSeconds?: number | null | undefined;
3191
+ entities?: {
3192
+ type: string;
3193
+ end: number;
3194
+ start: number;
3195
+ option?: string | null | undefined;
3196
+ text?: string | null | undefined;
3197
+ }[] | null | undefined;
2949
3198
  }[][] | undefined;
2950
3199
  audios?: any[] | undefined;
3200
+ pmt?: {
3201
+ ingress: "auto" | "manual" | "app" | "workflow";
3202
+ tag?: string | undefined;
3203
+ llm?: string | undefined;
3204
+ webhookUri?: string | undefined;
3205
+ watermarkEnabled?: boolean | undefined;
3206
+ watermark?: string | undefined;
3207
+ } | undefined;
2951
3208
  }, {
2952
3209
  deployed?: {
2953
3210
  web?: string | undefined;
@@ -2979,8 +3236,23 @@ declare module '@scout9/app/schemas' {
2979
3236
  intent?: string | null | undefined;
2980
3237
  intentScore?: number | null | undefined;
2981
3238
  delayInSeconds?: number | null | undefined;
3239
+ entities?: {
3240
+ type: string;
3241
+ end: number;
3242
+ start: number;
3243
+ option?: string | null | undefined;
3244
+ text?: string | null | undefined;
3245
+ }[] | null | undefined;
2982
3246
  }[][] | undefined;
2983
3247
  audios?: any[] | undefined;
3248
+ pmt?: {
3249
+ ingress: "auto" | "manual" | "app" | "workflow";
3250
+ tag?: string | undefined;
3251
+ llm?: string | undefined;
3252
+ webhookUri?: string | undefined;
3253
+ watermarkEnabled?: boolean | undefined;
3254
+ watermark?: string | undefined;
3255
+ } | undefined;
2984
3256
  }>;
2985
3257
  export const PersonaSchema: z.ZodObject<{
2986
3258
  deployed: z.ZodOptional<z.ZodObject<{
@@ -3021,6 +3293,25 @@ declare module '@scout9/app/schemas' {
3021
3293
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3022
3294
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3023
3295
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3296
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3297
+ start: z.ZodNumber;
3298
+ end: z.ZodNumber;
3299
+ type: z.ZodString;
3300
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3301
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3302
+ }, "strip", z.ZodTypeAny, {
3303
+ type: string;
3304
+ end: number;
3305
+ start: number;
3306
+ option?: string | null | undefined;
3307
+ text?: string | null | undefined;
3308
+ }, {
3309
+ type: string;
3310
+ end: number;
3311
+ start: number;
3312
+ option?: string | null | undefined;
3313
+ text?: string | null | undefined;
3314
+ }>, "many">>>;
3024
3315
  }, "strip", z.ZodTypeAny, {
3025
3316
  time: string;
3026
3317
  id: string;
@@ -3032,6 +3323,13 @@ declare module '@scout9/app/schemas' {
3032
3323
  intent?: string | null | undefined;
3033
3324
  intentScore?: number | null | undefined;
3034
3325
  delayInSeconds?: number | null | undefined;
3326
+ entities?: {
3327
+ type: string;
3328
+ end: number;
3329
+ start: number;
3330
+ option?: string | null | undefined;
3331
+ text?: string | null | undefined;
3332
+ }[] | null | undefined;
3035
3333
  }, {
3036
3334
  time: string;
3037
3335
  id: string;
@@ -3043,8 +3341,37 @@ declare module '@scout9/app/schemas' {
3043
3341
  intent?: string | null | undefined;
3044
3342
  intentScore?: number | null | undefined;
3045
3343
  delayInSeconds?: number | null | undefined;
3344
+ entities?: {
3345
+ type: string;
3346
+ end: number;
3347
+ start: number;
3348
+ option?: string | null | undefined;
3349
+ text?: string | null | undefined;
3350
+ }[] | null | undefined;
3046
3351
  }>, "many">, "many">>;
3047
3352
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3353
+ pmt: z.ZodOptional<z.ZodObject<{
3354
+ tag: z.ZodOptional<z.ZodString>;
3355
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3356
+ llm: z.ZodOptional<z.ZodString>;
3357
+ webhookUri: z.ZodOptional<z.ZodString>;
3358
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3359
+ watermark: z.ZodOptional<z.ZodString>;
3360
+ }, "strip", z.ZodTypeAny, {
3361
+ ingress: "auto" | "manual" | "app" | "workflow";
3362
+ tag?: string | undefined;
3363
+ llm?: string | undefined;
3364
+ webhookUri?: string | undefined;
3365
+ watermarkEnabled?: boolean | undefined;
3366
+ watermark?: string | undefined;
3367
+ }, {
3368
+ ingress: "auto" | "manual" | "app" | "workflow";
3369
+ tag?: string | undefined;
3370
+ llm?: string | undefined;
3371
+ webhookUri?: string | undefined;
3372
+ watermarkEnabled?: boolean | undefined;
3373
+ watermark?: string | undefined;
3374
+ }>>;
3048
3375
  }, "strip", z.ZodTypeAny, {
3049
3376
  title: string;
3050
3377
  context: string;
@@ -3076,8 +3403,23 @@ declare module '@scout9/app/schemas' {
3076
3403
  intent?: string | null | undefined;
3077
3404
  intentScore?: number | null | undefined;
3078
3405
  delayInSeconds?: number | null | undefined;
3406
+ entities?: {
3407
+ type: string;
3408
+ end: number;
3409
+ start: number;
3410
+ option?: string | null | undefined;
3411
+ text?: string | null | undefined;
3412
+ }[] | null | undefined;
3079
3413
  }[][] | undefined;
3080
3414
  audios?: any[] | undefined;
3415
+ pmt?: {
3416
+ ingress: "auto" | "manual" | "app" | "workflow";
3417
+ tag?: string | undefined;
3418
+ llm?: string | undefined;
3419
+ webhookUri?: string | undefined;
3420
+ watermarkEnabled?: boolean | undefined;
3421
+ watermark?: string | undefined;
3422
+ } | undefined;
3081
3423
  }, {
3082
3424
  deployed?: {
3083
3425
  web?: string | undefined;
@@ -3109,8 +3451,23 @@ declare module '@scout9/app/schemas' {
3109
3451
  intent?: string | null | undefined;
3110
3452
  intentScore?: number | null | undefined;
3111
3453
  delayInSeconds?: number | null | undefined;
3454
+ entities?: {
3455
+ type: string;
3456
+ end: number;
3457
+ start: number;
3458
+ option?: string | null | undefined;
3459
+ text?: string | null | undefined;
3460
+ }[] | null | undefined;
3112
3461
  }[][] | undefined;
3113
3462
  audios?: any[] | undefined;
3463
+ pmt?: {
3464
+ ingress: "auto" | "manual" | "app" | "workflow";
3465
+ tag?: string | undefined;
3466
+ llm?: string | undefined;
3467
+ webhookUri?: string | undefined;
3468
+ watermarkEnabled?: boolean | undefined;
3469
+ watermark?: string | undefined;
3470
+ } | undefined;
3114
3471
  }>;
3115
3472
  export const AgentConfigurationSchema: z.ZodObject<{
3116
3473
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -3151,6 +3508,25 @@ declare module '@scout9/app/schemas' {
3151
3508
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3152
3509
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3153
3510
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3511
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3512
+ start: z.ZodNumber;
3513
+ end: z.ZodNumber;
3514
+ type: z.ZodString;
3515
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3516
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3517
+ }, "strip", z.ZodTypeAny, {
3518
+ type: string;
3519
+ end: number;
3520
+ start: number;
3521
+ option?: string | null | undefined;
3522
+ text?: string | null | undefined;
3523
+ }, {
3524
+ type: string;
3525
+ end: number;
3526
+ start: number;
3527
+ option?: string | null | undefined;
3528
+ text?: string | null | undefined;
3529
+ }>, "many">>>;
3154
3530
  }, "strip", z.ZodTypeAny, {
3155
3531
  time: string;
3156
3532
  id: string;
@@ -3162,6 +3538,13 @@ declare module '@scout9/app/schemas' {
3162
3538
  intent?: string | null | undefined;
3163
3539
  intentScore?: number | null | undefined;
3164
3540
  delayInSeconds?: number | null | undefined;
3541
+ entities?: {
3542
+ type: string;
3543
+ end: number;
3544
+ start: number;
3545
+ option?: string | null | undefined;
3546
+ text?: string | null | undefined;
3547
+ }[] | null | undefined;
3165
3548
  }, {
3166
3549
  time: string;
3167
3550
  id: string;
@@ -3173,8 +3556,37 @@ declare module '@scout9/app/schemas' {
3173
3556
  intent?: string | null | undefined;
3174
3557
  intentScore?: number | null | undefined;
3175
3558
  delayInSeconds?: number | null | undefined;
3559
+ entities?: {
3560
+ type: string;
3561
+ end: number;
3562
+ start: number;
3563
+ option?: string | null | undefined;
3564
+ text?: string | null | undefined;
3565
+ }[] | null | undefined;
3176
3566
  }>, "many">, "many">>;
3177
3567
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3568
+ pmt: z.ZodOptional<z.ZodObject<{
3569
+ tag: z.ZodOptional<z.ZodString>;
3570
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3571
+ llm: z.ZodOptional<z.ZodString>;
3572
+ webhookUri: z.ZodOptional<z.ZodString>;
3573
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3574
+ watermark: z.ZodOptional<z.ZodString>;
3575
+ }, "strip", z.ZodTypeAny, {
3576
+ ingress: "auto" | "manual" | "app" | "workflow";
3577
+ tag?: string | undefined;
3578
+ llm?: string | undefined;
3579
+ webhookUri?: string | undefined;
3580
+ watermarkEnabled?: boolean | undefined;
3581
+ watermark?: string | undefined;
3582
+ }, {
3583
+ ingress: "auto" | "manual" | "app" | "workflow";
3584
+ tag?: string | undefined;
3585
+ llm?: string | undefined;
3586
+ webhookUri?: string | undefined;
3587
+ watermarkEnabled?: boolean | undefined;
3588
+ watermark?: string | undefined;
3589
+ }>>;
3178
3590
  id: z.ZodString;
3179
3591
  }, "strip", z.ZodTypeAny, {
3180
3592
  id: string;
@@ -3208,8 +3620,23 @@ declare module '@scout9/app/schemas' {
3208
3620
  intent?: string | null | undefined;
3209
3621
  intentScore?: number | null | undefined;
3210
3622
  delayInSeconds?: number | null | undefined;
3623
+ entities?: {
3624
+ type: string;
3625
+ end: number;
3626
+ start: number;
3627
+ option?: string | null | undefined;
3628
+ text?: string | null | undefined;
3629
+ }[] | null | undefined;
3211
3630
  }[][] | undefined;
3212
3631
  audios?: any[] | undefined;
3632
+ pmt?: {
3633
+ ingress: "auto" | "manual" | "app" | "workflow";
3634
+ tag?: string | undefined;
3635
+ llm?: string | undefined;
3636
+ webhookUri?: string | undefined;
3637
+ watermarkEnabled?: boolean | undefined;
3638
+ watermark?: string | undefined;
3639
+ } | undefined;
3213
3640
  }, {
3214
3641
  id: string;
3215
3642
  inactive?: boolean | undefined;
@@ -3242,8 +3669,23 @@ declare module '@scout9/app/schemas' {
3242
3669
  intent?: string | null | undefined;
3243
3670
  intentScore?: number | null | undefined;
3244
3671
  delayInSeconds?: number | null | undefined;
3672
+ entities?: {
3673
+ type: string;
3674
+ end: number;
3675
+ start: number;
3676
+ option?: string | null | undefined;
3677
+ text?: string | null | undefined;
3678
+ }[] | null | undefined;
3245
3679
  }[][] | undefined;
3246
3680
  audios?: any[] | undefined;
3681
+ pmt?: {
3682
+ ingress: "auto" | "manual" | "app" | "workflow";
3683
+ tag?: string | undefined;
3684
+ llm?: string | undefined;
3685
+ webhookUri?: string | undefined;
3686
+ watermarkEnabled?: boolean | undefined;
3687
+ watermark?: string | undefined;
3688
+ } | undefined;
3247
3689
  }>;
3248
3690
  export const PersonaConfigurationSchema: z.ZodObject<{
3249
3691
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -3284,6 +3726,25 @@ declare module '@scout9/app/schemas' {
3284
3726
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3285
3727
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3286
3728
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3729
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3730
+ start: z.ZodNumber;
3731
+ end: z.ZodNumber;
3732
+ type: z.ZodString;
3733
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3734
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3735
+ }, "strip", z.ZodTypeAny, {
3736
+ type: string;
3737
+ end: number;
3738
+ start: number;
3739
+ option?: string | null | undefined;
3740
+ text?: string | null | undefined;
3741
+ }, {
3742
+ type: string;
3743
+ end: number;
3744
+ start: number;
3745
+ option?: string | null | undefined;
3746
+ text?: string | null | undefined;
3747
+ }>, "many">>>;
3287
3748
  }, "strip", z.ZodTypeAny, {
3288
3749
  time: string;
3289
3750
  id: string;
@@ -3295,6 +3756,13 @@ declare module '@scout9/app/schemas' {
3295
3756
  intent?: string | null | undefined;
3296
3757
  intentScore?: number | null | undefined;
3297
3758
  delayInSeconds?: number | null | undefined;
3759
+ entities?: {
3760
+ type: string;
3761
+ end: number;
3762
+ start: number;
3763
+ option?: string | null | undefined;
3764
+ text?: string | null | undefined;
3765
+ }[] | null | undefined;
3298
3766
  }, {
3299
3767
  time: string;
3300
3768
  id: string;
@@ -3306,8 +3774,37 @@ declare module '@scout9/app/schemas' {
3306
3774
  intent?: string | null | undefined;
3307
3775
  intentScore?: number | null | undefined;
3308
3776
  delayInSeconds?: number | null | undefined;
3777
+ entities?: {
3778
+ type: string;
3779
+ end: number;
3780
+ start: number;
3781
+ option?: string | null | undefined;
3782
+ text?: string | null | undefined;
3783
+ }[] | null | undefined;
3309
3784
  }>, "many">, "many">>;
3310
3785
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3786
+ pmt: z.ZodOptional<z.ZodObject<{
3787
+ tag: z.ZodOptional<z.ZodString>;
3788
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3789
+ llm: z.ZodOptional<z.ZodString>;
3790
+ webhookUri: z.ZodOptional<z.ZodString>;
3791
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3792
+ watermark: z.ZodOptional<z.ZodString>;
3793
+ }, "strip", z.ZodTypeAny, {
3794
+ ingress: "auto" | "manual" | "app" | "workflow";
3795
+ tag?: string | undefined;
3796
+ llm?: string | undefined;
3797
+ webhookUri?: string | undefined;
3798
+ watermarkEnabled?: boolean | undefined;
3799
+ watermark?: string | undefined;
3800
+ }, {
3801
+ ingress: "auto" | "manual" | "app" | "workflow";
3802
+ tag?: string | undefined;
3803
+ llm?: string | undefined;
3804
+ webhookUri?: string | undefined;
3805
+ watermarkEnabled?: boolean | undefined;
3806
+ watermark?: string | undefined;
3807
+ }>>;
3311
3808
  id: z.ZodString;
3312
3809
  }, "strip", z.ZodTypeAny, {
3313
3810
  id: string;
@@ -3341,8 +3838,23 @@ declare module '@scout9/app/schemas' {
3341
3838
  intent?: string | null | undefined;
3342
3839
  intentScore?: number | null | undefined;
3343
3840
  delayInSeconds?: number | null | undefined;
3841
+ entities?: {
3842
+ type: string;
3843
+ end: number;
3844
+ start: number;
3845
+ option?: string | null | undefined;
3846
+ text?: string | null | undefined;
3847
+ }[] | null | undefined;
3344
3848
  }[][] | undefined;
3345
3849
  audios?: any[] | undefined;
3850
+ pmt?: {
3851
+ ingress: "auto" | "manual" | "app" | "workflow";
3852
+ tag?: string | undefined;
3853
+ llm?: string | undefined;
3854
+ webhookUri?: string | undefined;
3855
+ watermarkEnabled?: boolean | undefined;
3856
+ watermark?: string | undefined;
3857
+ } | undefined;
3346
3858
  }, {
3347
3859
  id: string;
3348
3860
  inactive?: boolean | undefined;
@@ -3375,8 +3887,23 @@ declare module '@scout9/app/schemas' {
3375
3887
  intent?: string | null | undefined;
3376
3888
  intentScore?: number | null | undefined;
3377
3889
  delayInSeconds?: number | null | undefined;
3890
+ entities?: {
3891
+ type: string;
3892
+ end: number;
3893
+ start: number;
3894
+ option?: string | null | undefined;
3895
+ text?: string | null | undefined;
3896
+ }[] | null | undefined;
3378
3897
  }[][] | undefined;
3379
3898
  audios?: any[] | undefined;
3899
+ pmt?: {
3900
+ ingress: "auto" | "manual" | "app" | "workflow";
3901
+ tag?: string | undefined;
3902
+ llm?: string | undefined;
3903
+ webhookUri?: string | undefined;
3904
+ watermarkEnabled?: boolean | undefined;
3905
+ watermark?: string | undefined;
3906
+ } | undefined;
3380
3907
  }>;
3381
3908
  export const AgentsConfigurationSchema: z.ZodArray<z.ZodObject<{
3382
3909
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -3417,6 +3944,25 @@ declare module '@scout9/app/schemas' {
3417
3944
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3418
3945
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3419
3946
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3947
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3948
+ start: z.ZodNumber;
3949
+ end: z.ZodNumber;
3950
+ type: z.ZodString;
3951
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3952
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3953
+ }, "strip", z.ZodTypeAny, {
3954
+ type: string;
3955
+ end: number;
3956
+ start: number;
3957
+ option?: string | null | undefined;
3958
+ text?: string | null | undefined;
3959
+ }, {
3960
+ type: string;
3961
+ end: number;
3962
+ start: number;
3963
+ option?: string | null | undefined;
3964
+ text?: string | null | undefined;
3965
+ }>, "many">>>;
3420
3966
  }, "strip", z.ZodTypeAny, {
3421
3967
  time: string;
3422
3968
  id: string;
@@ -3428,6 +3974,13 @@ declare module '@scout9/app/schemas' {
3428
3974
  intent?: string | null | undefined;
3429
3975
  intentScore?: number | null | undefined;
3430
3976
  delayInSeconds?: number | null | undefined;
3977
+ entities?: {
3978
+ type: string;
3979
+ end: number;
3980
+ start: number;
3981
+ option?: string | null | undefined;
3982
+ text?: string | null | undefined;
3983
+ }[] | null | undefined;
3431
3984
  }, {
3432
3985
  time: string;
3433
3986
  id: string;
@@ -3439,8 +3992,37 @@ declare module '@scout9/app/schemas' {
3439
3992
  intent?: string | null | undefined;
3440
3993
  intentScore?: number | null | undefined;
3441
3994
  delayInSeconds?: number | null | undefined;
3995
+ entities?: {
3996
+ type: string;
3997
+ end: number;
3998
+ start: number;
3999
+ option?: string | null | undefined;
4000
+ text?: string | null | undefined;
4001
+ }[] | null | undefined;
3442
4002
  }>, "many">, "many">>;
3443
4003
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4004
+ pmt: z.ZodOptional<z.ZodObject<{
4005
+ tag: z.ZodOptional<z.ZodString>;
4006
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4007
+ llm: z.ZodOptional<z.ZodString>;
4008
+ webhookUri: z.ZodOptional<z.ZodString>;
4009
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4010
+ watermark: z.ZodOptional<z.ZodString>;
4011
+ }, "strip", z.ZodTypeAny, {
4012
+ ingress: "auto" | "manual" | "app" | "workflow";
4013
+ tag?: string | undefined;
4014
+ llm?: string | undefined;
4015
+ webhookUri?: string | undefined;
4016
+ watermarkEnabled?: boolean | undefined;
4017
+ watermark?: string | undefined;
4018
+ }, {
4019
+ ingress: "auto" | "manual" | "app" | "workflow";
4020
+ tag?: string | undefined;
4021
+ llm?: string | undefined;
4022
+ webhookUri?: string | undefined;
4023
+ watermarkEnabled?: boolean | undefined;
4024
+ watermark?: string | undefined;
4025
+ }>>;
3444
4026
  id: z.ZodString;
3445
4027
  }, "strip", z.ZodTypeAny, {
3446
4028
  id: string;
@@ -3474,8 +4056,23 @@ declare module '@scout9/app/schemas' {
3474
4056
  intent?: string | null | undefined;
3475
4057
  intentScore?: number | null | undefined;
3476
4058
  delayInSeconds?: number | null | undefined;
4059
+ entities?: {
4060
+ type: string;
4061
+ end: number;
4062
+ start: number;
4063
+ option?: string | null | undefined;
4064
+ text?: string | null | undefined;
4065
+ }[] | null | undefined;
3477
4066
  }[][] | undefined;
3478
4067
  audios?: any[] | undefined;
4068
+ pmt?: {
4069
+ ingress: "auto" | "manual" | "app" | "workflow";
4070
+ tag?: string | undefined;
4071
+ llm?: string | undefined;
4072
+ webhookUri?: string | undefined;
4073
+ watermarkEnabled?: boolean | undefined;
4074
+ watermark?: string | undefined;
4075
+ } | undefined;
3479
4076
  }, {
3480
4077
  id: string;
3481
4078
  inactive?: boolean | undefined;
@@ -3508,8 +4105,23 @@ declare module '@scout9/app/schemas' {
3508
4105
  intent?: string | null | undefined;
3509
4106
  intentScore?: number | null | undefined;
3510
4107
  delayInSeconds?: number | null | undefined;
4108
+ entities?: {
4109
+ type: string;
4110
+ end: number;
4111
+ start: number;
4112
+ option?: string | null | undefined;
4113
+ text?: string | null | undefined;
4114
+ }[] | null | undefined;
3511
4115
  }[][] | undefined;
3512
4116
  audios?: any[] | undefined;
4117
+ pmt?: {
4118
+ ingress: "auto" | "manual" | "app" | "workflow";
4119
+ tag?: string | undefined;
4120
+ llm?: string | undefined;
4121
+ webhookUri?: string | undefined;
4122
+ watermarkEnabled?: boolean | undefined;
4123
+ watermark?: string | undefined;
4124
+ } | undefined;
3513
4125
  }>, "many">;
3514
4126
  export const PersonasConfigurationSchema: z.ZodArray<z.ZodObject<{
3515
4127
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -3550,6 +4162,25 @@ declare module '@scout9/app/schemas' {
3550
4162
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3551
4163
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3552
4164
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4165
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4166
+ start: z.ZodNumber;
4167
+ end: z.ZodNumber;
4168
+ type: z.ZodString;
4169
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4170
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4171
+ }, "strip", z.ZodTypeAny, {
4172
+ type: string;
4173
+ end: number;
4174
+ start: number;
4175
+ option?: string | null | undefined;
4176
+ text?: string | null | undefined;
4177
+ }, {
4178
+ type: string;
4179
+ end: number;
4180
+ start: number;
4181
+ option?: string | null | undefined;
4182
+ text?: string | null | undefined;
4183
+ }>, "many">>>;
3553
4184
  }, "strip", z.ZodTypeAny, {
3554
4185
  time: string;
3555
4186
  id: string;
@@ -3561,6 +4192,13 @@ declare module '@scout9/app/schemas' {
3561
4192
  intent?: string | null | undefined;
3562
4193
  intentScore?: number | null | undefined;
3563
4194
  delayInSeconds?: number | null | undefined;
4195
+ entities?: {
4196
+ type: string;
4197
+ end: number;
4198
+ start: number;
4199
+ option?: string | null | undefined;
4200
+ text?: string | null | undefined;
4201
+ }[] | null | undefined;
3564
4202
  }, {
3565
4203
  time: string;
3566
4204
  id: string;
@@ -3572,8 +4210,37 @@ declare module '@scout9/app/schemas' {
3572
4210
  intent?: string | null | undefined;
3573
4211
  intentScore?: number | null | undefined;
3574
4212
  delayInSeconds?: number | null | undefined;
4213
+ entities?: {
4214
+ type: string;
4215
+ end: number;
4216
+ start: number;
4217
+ option?: string | null | undefined;
4218
+ text?: string | null | undefined;
4219
+ }[] | null | undefined;
3575
4220
  }>, "many">, "many">>;
3576
4221
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4222
+ pmt: z.ZodOptional<z.ZodObject<{
4223
+ tag: z.ZodOptional<z.ZodString>;
4224
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4225
+ llm: z.ZodOptional<z.ZodString>;
4226
+ webhookUri: z.ZodOptional<z.ZodString>;
4227
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4228
+ watermark: z.ZodOptional<z.ZodString>;
4229
+ }, "strip", z.ZodTypeAny, {
4230
+ ingress: "auto" | "manual" | "app" | "workflow";
4231
+ tag?: string | undefined;
4232
+ llm?: string | undefined;
4233
+ webhookUri?: string | undefined;
4234
+ watermarkEnabled?: boolean | undefined;
4235
+ watermark?: string | undefined;
4236
+ }, {
4237
+ ingress: "auto" | "manual" | "app" | "workflow";
4238
+ tag?: string | undefined;
4239
+ llm?: string | undefined;
4240
+ webhookUri?: string | undefined;
4241
+ watermarkEnabled?: boolean | undefined;
4242
+ watermark?: string | undefined;
4243
+ }>>;
3577
4244
  id: z.ZodString;
3578
4245
  }, "strip", z.ZodTypeAny, {
3579
4246
  id: string;
@@ -3607,8 +4274,23 @@ declare module '@scout9/app/schemas' {
3607
4274
  intent?: string | null | undefined;
3608
4275
  intentScore?: number | null | undefined;
3609
4276
  delayInSeconds?: number | null | undefined;
4277
+ entities?: {
4278
+ type: string;
4279
+ end: number;
4280
+ start: number;
4281
+ option?: string | null | undefined;
4282
+ text?: string | null | undefined;
4283
+ }[] | null | undefined;
3610
4284
  }[][] | undefined;
3611
4285
  audios?: any[] | undefined;
4286
+ pmt?: {
4287
+ ingress: "auto" | "manual" | "app" | "workflow";
4288
+ tag?: string | undefined;
4289
+ llm?: string | undefined;
4290
+ webhookUri?: string | undefined;
4291
+ watermarkEnabled?: boolean | undefined;
4292
+ watermark?: string | undefined;
4293
+ } | undefined;
3612
4294
  }, {
3613
4295
  id: string;
3614
4296
  inactive?: boolean | undefined;
@@ -3641,8 +4323,23 @@ declare module '@scout9/app/schemas' {
3641
4323
  intent?: string | null | undefined;
3642
4324
  intentScore?: number | null | undefined;
3643
4325
  delayInSeconds?: number | null | undefined;
4326
+ entities?: {
4327
+ type: string;
4328
+ end: number;
4329
+ start: number;
4330
+ option?: string | null | undefined;
4331
+ text?: string | null | undefined;
4332
+ }[] | null | undefined;
3644
4333
  }[][] | undefined;
3645
4334
  audios?: any[] | undefined;
4335
+ pmt?: {
4336
+ ingress: "auto" | "manual" | "app" | "workflow";
4337
+ tag?: string | undefined;
4338
+ llm?: string | undefined;
4339
+ webhookUri?: string | undefined;
4340
+ watermarkEnabled?: boolean | undefined;
4341
+ watermark?: string | undefined;
4342
+ } | undefined;
3646
4343
  }>, "many">;
3647
4344
  export const AgentsSchema: z.ZodArray<z.ZodObject<{
3648
4345
  deployed: z.ZodOptional<z.ZodObject<{
@@ -3683,6 +4380,25 @@ declare module '@scout9/app/schemas' {
3683
4380
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3684
4381
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3685
4382
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4383
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4384
+ start: z.ZodNumber;
4385
+ end: z.ZodNumber;
4386
+ type: z.ZodString;
4387
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4388
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4389
+ }, "strip", z.ZodTypeAny, {
4390
+ type: string;
4391
+ end: number;
4392
+ start: number;
4393
+ option?: string | null | undefined;
4394
+ text?: string | null | undefined;
4395
+ }, {
4396
+ type: string;
4397
+ end: number;
4398
+ start: number;
4399
+ option?: string | null | undefined;
4400
+ text?: string | null | undefined;
4401
+ }>, "many">>>;
3686
4402
  }, "strip", z.ZodTypeAny, {
3687
4403
  time: string;
3688
4404
  id: string;
@@ -3694,6 +4410,13 @@ declare module '@scout9/app/schemas' {
3694
4410
  intent?: string | null | undefined;
3695
4411
  intentScore?: number | null | undefined;
3696
4412
  delayInSeconds?: number | null | undefined;
4413
+ entities?: {
4414
+ type: string;
4415
+ end: number;
4416
+ start: number;
4417
+ option?: string | null | undefined;
4418
+ text?: string | null | undefined;
4419
+ }[] | null | undefined;
3697
4420
  }, {
3698
4421
  time: string;
3699
4422
  id: string;
@@ -3705,8 +4428,37 @@ declare module '@scout9/app/schemas' {
3705
4428
  intent?: string | null | undefined;
3706
4429
  intentScore?: number | null | undefined;
3707
4430
  delayInSeconds?: number | null | undefined;
4431
+ entities?: {
4432
+ type: string;
4433
+ end: number;
4434
+ start: number;
4435
+ option?: string | null | undefined;
4436
+ text?: string | null | undefined;
4437
+ }[] | null | undefined;
3708
4438
  }>, "many">, "many">>;
3709
4439
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4440
+ pmt: z.ZodOptional<z.ZodObject<{
4441
+ tag: z.ZodOptional<z.ZodString>;
4442
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4443
+ llm: z.ZodOptional<z.ZodString>;
4444
+ webhookUri: z.ZodOptional<z.ZodString>;
4445
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4446
+ watermark: z.ZodOptional<z.ZodString>;
4447
+ }, "strip", z.ZodTypeAny, {
4448
+ ingress: "auto" | "manual" | "app" | "workflow";
4449
+ tag?: string | undefined;
4450
+ llm?: string | undefined;
4451
+ webhookUri?: string | undefined;
4452
+ watermarkEnabled?: boolean | undefined;
4453
+ watermark?: string | undefined;
4454
+ }, {
4455
+ ingress: "auto" | "manual" | "app" | "workflow";
4456
+ tag?: string | undefined;
4457
+ llm?: string | undefined;
4458
+ webhookUri?: string | undefined;
4459
+ watermarkEnabled?: boolean | undefined;
4460
+ watermark?: string | undefined;
4461
+ }>>;
3710
4462
  }, "strip", z.ZodTypeAny, {
3711
4463
  title: string;
3712
4464
  context: string;
@@ -3738,8 +4490,23 @@ declare module '@scout9/app/schemas' {
3738
4490
  intent?: string | null | undefined;
3739
4491
  intentScore?: number | null | undefined;
3740
4492
  delayInSeconds?: number | null | undefined;
4493
+ entities?: {
4494
+ type: string;
4495
+ end: number;
4496
+ start: number;
4497
+ option?: string | null | undefined;
4498
+ text?: string | null | undefined;
4499
+ }[] | null | undefined;
3741
4500
  }[][] | undefined;
3742
4501
  audios?: any[] | undefined;
4502
+ pmt?: {
4503
+ ingress: "auto" | "manual" | "app" | "workflow";
4504
+ tag?: string | undefined;
4505
+ llm?: string | undefined;
4506
+ webhookUri?: string | undefined;
4507
+ watermarkEnabled?: boolean | undefined;
4508
+ watermark?: string | undefined;
4509
+ } | undefined;
3743
4510
  }, {
3744
4511
  deployed?: {
3745
4512
  web?: string | undefined;
@@ -3771,8 +4538,23 @@ declare module '@scout9/app/schemas' {
3771
4538
  intent?: string | null | undefined;
3772
4539
  intentScore?: number | null | undefined;
3773
4540
  delayInSeconds?: number | null | undefined;
4541
+ entities?: {
4542
+ type: string;
4543
+ end: number;
4544
+ start: number;
4545
+ option?: string | null | undefined;
4546
+ text?: string | null | undefined;
4547
+ }[] | null | undefined;
3774
4548
  }[][] | undefined;
3775
4549
  audios?: any[] | undefined;
4550
+ pmt?: {
4551
+ ingress: "auto" | "manual" | "app" | "workflow";
4552
+ tag?: string | undefined;
4553
+ llm?: string | undefined;
4554
+ webhookUri?: string | undefined;
4555
+ watermarkEnabled?: boolean | undefined;
4556
+ watermark?: string | undefined;
4557
+ } | undefined;
3776
4558
  }>, "many">;
3777
4559
  export const PersonasSchema: z.ZodArray<z.ZodObject<{
3778
4560
  deployed: z.ZodOptional<z.ZodObject<{
@@ -3813,6 +4595,25 @@ declare module '@scout9/app/schemas' {
3813
4595
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3814
4596
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3815
4597
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4598
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4599
+ start: z.ZodNumber;
4600
+ end: z.ZodNumber;
4601
+ type: z.ZodString;
4602
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4603
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4604
+ }, "strip", z.ZodTypeAny, {
4605
+ type: string;
4606
+ end: number;
4607
+ start: number;
4608
+ option?: string | null | undefined;
4609
+ text?: string | null | undefined;
4610
+ }, {
4611
+ type: string;
4612
+ end: number;
4613
+ start: number;
4614
+ option?: string | null | undefined;
4615
+ text?: string | null | undefined;
4616
+ }>, "many">>>;
3816
4617
  }, "strip", z.ZodTypeAny, {
3817
4618
  time: string;
3818
4619
  id: string;
@@ -3824,6 +4625,13 @@ declare module '@scout9/app/schemas' {
3824
4625
  intent?: string | null | undefined;
3825
4626
  intentScore?: number | null | undefined;
3826
4627
  delayInSeconds?: number | null | undefined;
4628
+ entities?: {
4629
+ type: string;
4630
+ end: number;
4631
+ start: number;
4632
+ option?: string | null | undefined;
4633
+ text?: string | null | undefined;
4634
+ }[] | null | undefined;
3827
4635
  }, {
3828
4636
  time: string;
3829
4637
  id: string;
@@ -3835,8 +4643,37 @@ declare module '@scout9/app/schemas' {
3835
4643
  intent?: string | null | undefined;
3836
4644
  intentScore?: number | null | undefined;
3837
4645
  delayInSeconds?: number | null | undefined;
4646
+ entities?: {
4647
+ type: string;
4648
+ end: number;
4649
+ start: number;
4650
+ option?: string | null | undefined;
4651
+ text?: string | null | undefined;
4652
+ }[] | null | undefined;
3838
4653
  }>, "many">, "many">>;
3839
4654
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4655
+ pmt: z.ZodOptional<z.ZodObject<{
4656
+ tag: z.ZodOptional<z.ZodString>;
4657
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4658
+ llm: z.ZodOptional<z.ZodString>;
4659
+ webhookUri: z.ZodOptional<z.ZodString>;
4660
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4661
+ watermark: z.ZodOptional<z.ZodString>;
4662
+ }, "strip", z.ZodTypeAny, {
4663
+ ingress: "auto" | "manual" | "app" | "workflow";
4664
+ tag?: string | undefined;
4665
+ llm?: string | undefined;
4666
+ webhookUri?: string | undefined;
4667
+ watermarkEnabled?: boolean | undefined;
4668
+ watermark?: string | undefined;
4669
+ }, {
4670
+ ingress: "auto" | "manual" | "app" | "workflow";
4671
+ tag?: string | undefined;
4672
+ llm?: string | undefined;
4673
+ webhookUri?: string | undefined;
4674
+ watermarkEnabled?: boolean | undefined;
4675
+ watermark?: string | undefined;
4676
+ }>>;
3840
4677
  }, "strip", z.ZodTypeAny, {
3841
4678
  title: string;
3842
4679
  context: string;
@@ -3868,8 +4705,23 @@ declare module '@scout9/app/schemas' {
3868
4705
  intent?: string | null | undefined;
3869
4706
  intentScore?: number | null | undefined;
3870
4707
  delayInSeconds?: number | null | undefined;
4708
+ entities?: {
4709
+ type: string;
4710
+ end: number;
4711
+ start: number;
4712
+ option?: string | null | undefined;
4713
+ text?: string | null | undefined;
4714
+ }[] | null | undefined;
3871
4715
  }[][] | undefined;
3872
4716
  audios?: any[] | undefined;
4717
+ pmt?: {
4718
+ ingress: "auto" | "manual" | "app" | "workflow";
4719
+ tag?: string | undefined;
4720
+ llm?: string | undefined;
4721
+ webhookUri?: string | undefined;
4722
+ watermarkEnabled?: boolean | undefined;
4723
+ watermark?: string | undefined;
4724
+ } | undefined;
3873
4725
  }, {
3874
4726
  deployed?: {
3875
4727
  web?: string | undefined;
@@ -3901,8 +4753,23 @@ declare module '@scout9/app/schemas' {
3901
4753
  intent?: string | null | undefined;
3902
4754
  intentScore?: number | null | undefined;
3903
4755
  delayInSeconds?: number | null | undefined;
4756
+ entities?: {
4757
+ type: string;
4758
+ end: number;
4759
+ start: number;
4760
+ option?: string | null | undefined;
4761
+ text?: string | null | undefined;
4762
+ }[] | null | undefined;
3904
4763
  }[][] | undefined;
3905
4764
  audios?: any[] | undefined;
4765
+ pmt?: {
4766
+ ingress: "auto" | "manual" | "app" | "workflow";
4767
+ tag?: string | undefined;
4768
+ llm?: string | undefined;
4769
+ webhookUri?: string | undefined;
4770
+ watermarkEnabled?: boolean | undefined;
4771
+ watermark?: string | undefined;
4772
+ } | undefined;
3906
4773
  }>, "many">;
3907
4774
  export const ForwardSchema: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
3908
4775
  to: z.ZodOptional<z.ZodString>;
@@ -4193,6 +5060,25 @@ declare module '@scout9/app/schemas' {
4193
5060
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4194
5061
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4195
5062
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5063
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5064
+ start: z.ZodNumber;
5065
+ end: z.ZodNumber;
5066
+ type: z.ZodString;
5067
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5068
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5069
+ }, "strip", z.ZodTypeAny, {
5070
+ type: string;
5071
+ end: number;
5072
+ start: number;
5073
+ option?: string | null | undefined;
5074
+ text?: string | null | undefined;
5075
+ }, {
5076
+ type: string;
5077
+ end: number;
5078
+ start: number;
5079
+ option?: string | null | undefined;
5080
+ text?: string | null | undefined;
5081
+ }>, "many">>>;
4196
5082
  }, "strip", z.ZodTypeAny, {
4197
5083
  time: string;
4198
5084
  id: string;
@@ -4204,6 +5090,13 @@ declare module '@scout9/app/schemas' {
4204
5090
  intent?: string | null | undefined;
4205
5091
  intentScore?: number | null | undefined;
4206
5092
  delayInSeconds?: number | null | undefined;
5093
+ entities?: {
5094
+ type: string;
5095
+ end: number;
5096
+ start: number;
5097
+ option?: string | null | undefined;
5098
+ text?: string | null | undefined;
5099
+ }[] | null | undefined;
4207
5100
  }, {
4208
5101
  time: string;
4209
5102
  id: string;
@@ -4215,6 +5108,13 @@ declare module '@scout9/app/schemas' {
4215
5108
  intent?: string | null | undefined;
4216
5109
  intentScore?: number | null | undefined;
4217
5110
  delayInSeconds?: number | null | undefined;
5111
+ entities?: {
5112
+ type: string;
5113
+ end: number;
5114
+ start: number;
5115
+ option?: string | null | undefined;
5116
+ text?: string | null | undefined;
5117
+ }[] | null | undefined;
4218
5118
  }>, "many">;
4219
5119
  conversation: z.ZodObject<{
4220
5120
  $id: z.ZodString;
@@ -4358,6 +5258,25 @@ declare module '@scout9/app/schemas' {
4358
5258
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4359
5259
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4360
5260
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5261
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5262
+ start: z.ZodNumber;
5263
+ end: z.ZodNumber;
5264
+ type: z.ZodString;
5265
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5266
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5267
+ }, "strip", z.ZodTypeAny, {
5268
+ type: string;
5269
+ end: number;
5270
+ start: number;
5271
+ option?: string | null | undefined;
5272
+ text?: string | null | undefined;
5273
+ }, {
5274
+ type: string;
5275
+ end: number;
5276
+ start: number;
5277
+ option?: string | null | undefined;
5278
+ text?: string | null | undefined;
5279
+ }>, "many">>>;
4361
5280
  }, "strip", z.ZodTypeAny, {
4362
5281
  time: string;
4363
5282
  id: string;
@@ -4369,6 +5288,13 @@ declare module '@scout9/app/schemas' {
4369
5288
  intent?: string | null | undefined;
4370
5289
  intentScore?: number | null | undefined;
4371
5290
  delayInSeconds?: number | null | undefined;
5291
+ entities?: {
5292
+ type: string;
5293
+ end: number;
5294
+ start: number;
5295
+ option?: string | null | undefined;
5296
+ text?: string | null | undefined;
5297
+ }[] | null | undefined;
4372
5298
  }, {
4373
5299
  time: string;
4374
5300
  id: string;
@@ -4380,6 +5306,13 @@ declare module '@scout9/app/schemas' {
4380
5306
  intent?: string | null | undefined;
4381
5307
  intentScore?: number | null | undefined;
4382
5308
  delayInSeconds?: number | null | undefined;
5309
+ entities?: {
5310
+ type: string;
5311
+ end: number;
5312
+ start: number;
5313
+ option?: string | null | undefined;
5314
+ text?: string | null | undefined;
5315
+ }[] | null | undefined;
4383
5316
  }>;
4384
5317
  agent: z.ZodObject<Omit<{
4385
5318
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -4420,6 +5353,25 @@ declare module '@scout9/app/schemas' {
4420
5353
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4421
5354
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4422
5355
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5356
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5357
+ start: z.ZodNumber;
5358
+ end: z.ZodNumber;
5359
+ type: z.ZodString;
5360
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5361
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5362
+ }, "strip", z.ZodTypeAny, {
5363
+ type: string;
5364
+ end: number;
5365
+ start: number;
5366
+ option?: string | null | undefined;
5367
+ text?: string | null | undefined;
5368
+ }, {
5369
+ type: string;
5370
+ end: number;
5371
+ start: number;
5372
+ option?: string | null | undefined;
5373
+ text?: string | null | undefined;
5374
+ }>, "many">>>;
4423
5375
  }, "strip", z.ZodTypeAny, {
4424
5376
  time: string;
4425
5377
  id: string;
@@ -4431,6 +5383,13 @@ declare module '@scout9/app/schemas' {
4431
5383
  intent?: string | null | undefined;
4432
5384
  intentScore?: number | null | undefined;
4433
5385
  delayInSeconds?: number | null | undefined;
5386
+ entities?: {
5387
+ type: string;
5388
+ end: number;
5389
+ start: number;
5390
+ option?: string | null | undefined;
5391
+ text?: string | null | undefined;
5392
+ }[] | null | undefined;
4434
5393
  }, {
4435
5394
  time: string;
4436
5395
  id: string;
@@ -4442,10 +5401,39 @@ declare module '@scout9/app/schemas' {
4442
5401
  intent?: string | null | undefined;
4443
5402
  intentScore?: number | null | undefined;
4444
5403
  delayInSeconds?: number | null | undefined;
5404
+ entities?: {
5405
+ type: string;
5406
+ end: number;
5407
+ start: number;
5408
+ option?: string | null | undefined;
5409
+ text?: string | null | undefined;
5410
+ }[] | null | undefined;
4445
5411
  }>, "many">, "many">>;
4446
5412
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
5413
+ pmt: z.ZodOptional<z.ZodObject<{
5414
+ tag: z.ZodOptional<z.ZodString>;
5415
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
5416
+ llm: z.ZodOptional<z.ZodString>;
5417
+ webhookUri: z.ZodOptional<z.ZodString>;
5418
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
5419
+ watermark: z.ZodOptional<z.ZodString>;
5420
+ }, "strip", z.ZodTypeAny, {
5421
+ ingress: "auto" | "manual" | "app" | "workflow";
5422
+ tag?: string | undefined;
5423
+ llm?: string | undefined;
5424
+ webhookUri?: string | undefined;
5425
+ watermarkEnabled?: boolean | undefined;
5426
+ watermark?: string | undefined;
5427
+ }, {
5428
+ ingress: "auto" | "manual" | "app" | "workflow";
5429
+ tag?: string | undefined;
5430
+ llm?: string | undefined;
5431
+ webhookUri?: string | undefined;
5432
+ watermarkEnabled?: boolean | undefined;
5433
+ watermark?: string | undefined;
5434
+ }>>;
4447
5435
  id: z.ZodString;
4448
- }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios">, "strip", z.ZodTypeAny, {
5436
+ }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
4449
5437
  id: string;
4450
5438
  title: string;
4451
5439
  inactive?: boolean | undefined;
@@ -4562,6 +5550,13 @@ declare module '@scout9/app/schemas' {
4562
5550
  intent?: string | null | undefined;
4563
5551
  intentScore?: number | null | undefined;
4564
5552
  delayInSeconds?: number | null | undefined;
5553
+ entities?: {
5554
+ type: string;
5555
+ end: number;
5556
+ start: number;
5557
+ option?: string | null | undefined;
5558
+ text?: string | null | undefined;
5559
+ }[] | null | undefined;
4565
5560
  };
4566
5561
  agent: {
4567
5562
  id: string;
@@ -4618,6 +5613,13 @@ declare module '@scout9/app/schemas' {
4618
5613
  intent?: string | null | undefined;
4619
5614
  intentScore?: number | null | undefined;
4620
5615
  delayInSeconds?: number | null | undefined;
5616
+ entities?: {
5617
+ type: string;
5618
+ end: number;
5619
+ start: number;
5620
+ option?: string | null | undefined;
5621
+ text?: string | null | undefined;
5622
+ }[] | null | undefined;
4621
5623
  }[];
4622
5624
  conversation: {
4623
5625
  environment: "email" | "phone" | "web";
@@ -4666,6 +5668,13 @@ declare module '@scout9/app/schemas' {
4666
5668
  intent?: string | null | undefined;
4667
5669
  intentScore?: number | null | undefined;
4668
5670
  delayInSeconds?: number | null | undefined;
5671
+ entities?: {
5672
+ type: string;
5673
+ end: number;
5674
+ start: number;
5675
+ option?: string | null | undefined;
5676
+ text?: string | null | undefined;
5677
+ }[] | null | undefined;
4669
5678
  };
4670
5679
  agent: {
4671
5680
  id: string;
@@ -4722,6 +5731,13 @@ declare module '@scout9/app/schemas' {
4722
5731
  intent?: string | null | undefined;
4723
5732
  intentScore?: number | null | undefined;
4724
5733
  delayInSeconds?: number | null | undefined;
5734
+ entities?: {
5735
+ type: string;
5736
+ end: number;
5737
+ start: number;
5738
+ option?: string | null | undefined;
5739
+ text?: string | null | undefined;
5740
+ }[] | null | undefined;
4725
5741
  }[];
4726
5742
  conversation: {
4727
5743
  environment: "email" | "phone" | "web";
@@ -4803,7 +5819,16 @@ declare module '@scout9/app/schemas' {
4803
5819
  persist?: boolean | undefined;
4804
5820
  }>]>, "many">]>>;
4805
5821
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4806
- message: z.ZodOptional<z.ZodString>;
5822
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5823
+ content: z.ZodString;
5824
+ transform: z.ZodOptional<z.ZodBoolean>;
5825
+ }, "strip", z.ZodTypeAny, {
5826
+ content: string;
5827
+ transform?: boolean | undefined;
5828
+ }, {
5829
+ content: string;
5830
+ transform?: boolean | undefined;
5831
+ }>]>>;
4807
5832
  secondsDelay: z.ZodOptional<z.ZodNumber>;
4808
5833
  scheduled: z.ZodOptional<z.ZodNumber>;
4809
5834
  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 +5937,10 @@ declare module '@scout9/app/schemas' {
4912
5937
  persist?: boolean | undefined;
4913
5938
  })[] | undefined;
4914
5939
  removeInstructions?: string[] | undefined;
4915
- message?: string | undefined;
5940
+ message?: string | {
5941
+ content: string;
5942
+ transform?: boolean | undefined;
5943
+ } | undefined;
4916
5944
  secondsDelay?: number | undefined;
4917
5945
  scheduled?: number | undefined;
4918
5946
  contextUpsert?: Record<string, any> | undefined;
@@ -4961,7 +5989,10 @@ declare module '@scout9/app/schemas' {
4961
5989
  persist?: boolean | undefined;
4962
5990
  })[] | undefined;
4963
5991
  removeInstructions?: string[] | undefined;
4964
- message?: string | undefined;
5992
+ message?: string | {
5993
+ content: string;
5994
+ transform?: boolean | undefined;
5995
+ } | undefined;
4965
5996
  secondsDelay?: number | undefined;
4966
5997
  scheduled?: number | undefined;
4967
5998
  contextUpsert?: Record<string, any> | undefined;
@@ -4998,7 +6029,16 @@ declare module '@scout9/app/schemas' {
4998
6029
  * The workflow response object slot
4999
6030
  */
5000
6031
  export const WorkflowResponseSlotSchema: z.ZodObject<{
5001
- message: z.ZodOptional<z.ZodString>;
6032
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6033
+ content: z.ZodString;
6034
+ transform: z.ZodOptional<z.ZodBoolean>;
6035
+ }, "strip", z.ZodTypeAny, {
6036
+ content: string;
6037
+ transform?: boolean | undefined;
6038
+ }, {
6039
+ content: string;
6040
+ transform?: boolean | undefined;
6041
+ }>]>>;
5002
6042
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
5003
6043
  to: z.ZodOptional<z.ZodString>;
5004
6044
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -5173,7 +6213,16 @@ declare module '@scout9/app/schemas' {
5173
6213
  persist?: boolean | undefined;
5174
6214
  }>]>, "many">]>>;
5175
6215
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5176
- message: z.ZodOptional<z.ZodString>;
6216
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6217
+ content: z.ZodString;
6218
+ transform: z.ZodOptional<z.ZodBoolean>;
6219
+ }, "strip", z.ZodTypeAny, {
6220
+ content: string;
6221
+ transform?: boolean | undefined;
6222
+ }, {
6223
+ content: string;
6224
+ transform?: boolean | undefined;
6225
+ }>]>>;
5177
6226
  secondsDelay: z.ZodOptional<z.ZodNumber>;
5178
6227
  scheduled: z.ZodOptional<z.ZodNumber>;
5179
6228
  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 +6331,10 @@ declare module '@scout9/app/schemas' {
5282
6331
  persist?: boolean | undefined;
5283
6332
  })[] | undefined;
5284
6333
  removeInstructions?: string[] | undefined;
5285
- message?: string | undefined;
6334
+ message?: string | {
6335
+ content: string;
6336
+ transform?: boolean | undefined;
6337
+ } | undefined;
5286
6338
  secondsDelay?: number | undefined;
5287
6339
  scheduled?: number | undefined;
5288
6340
  contextUpsert?: Record<string, any> | undefined;
@@ -5331,7 +6383,10 @@ declare module '@scout9/app/schemas' {
5331
6383
  persist?: boolean | undefined;
5332
6384
  })[] | undefined;
5333
6385
  removeInstructions?: string[] | undefined;
5334
- message?: string | undefined;
6386
+ message?: string | {
6387
+ content: string;
6388
+ transform?: boolean | undefined;
6389
+ } | undefined;
5335
6390
  secondsDelay?: number | undefined;
5336
6391
  scheduled?: number | undefined;
5337
6392
  contextUpsert?: Record<string, any> | undefined;
@@ -5405,7 +6460,16 @@ declare module '@scout9/app/schemas' {
5405
6460
  persist?: boolean | undefined;
5406
6461
  }>]>, "many">]>>;
5407
6462
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5408
- message: z.ZodOptional<z.ZodString>;
6463
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6464
+ content: z.ZodString;
6465
+ transform: z.ZodOptional<z.ZodBoolean>;
6466
+ }, "strip", z.ZodTypeAny, {
6467
+ content: string;
6468
+ transform?: boolean | undefined;
6469
+ }, {
6470
+ content: string;
6471
+ transform?: boolean | undefined;
6472
+ }>]>>;
5409
6473
  secondsDelay: z.ZodOptional<z.ZodNumber>;
5410
6474
  scheduled: z.ZodOptional<z.ZodNumber>;
5411
6475
  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 +6578,10 @@ declare module '@scout9/app/schemas' {
5514
6578
  persist?: boolean | undefined;
5515
6579
  })[] | undefined;
5516
6580
  removeInstructions?: string[] | undefined;
5517
- message?: string | undefined;
6581
+ message?: string | {
6582
+ content: string;
6583
+ transform?: boolean | undefined;
6584
+ } | undefined;
5518
6585
  secondsDelay?: number | undefined;
5519
6586
  scheduled?: number | undefined;
5520
6587
  contextUpsert?: Record<string, any> | undefined;
@@ -5563,7 +6630,10 @@ declare module '@scout9/app/schemas' {
5563
6630
  persist?: boolean | undefined;
5564
6631
  })[] | undefined;
5565
6632
  removeInstructions?: string[] | undefined;
5566
- message?: string | undefined;
6633
+ message?: string | {
6634
+ content: string;
6635
+ transform?: boolean | undefined;
6636
+ } | undefined;
5567
6637
  secondsDelay?: number | undefined;
5568
6638
  scheduled?: number | undefined;
5569
6639
  contextUpsert?: Record<string, any> | undefined;
@@ -5615,7 +6685,10 @@ declare module '@scout9/app/schemas' {
5615
6685
  persist?: boolean | undefined;
5616
6686
  })[] | undefined;
5617
6687
  removeInstructions?: string[] | undefined;
5618
- message?: string | undefined;
6688
+ message?: string | {
6689
+ content: string;
6690
+ transform?: boolean | undefined;
6691
+ } | undefined;
5619
6692
  secondsDelay?: number | undefined;
5620
6693
  scheduled?: number | undefined;
5621
6694
  contextUpsert?: Record<string, any> | undefined;
@@ -5665,7 +6738,10 @@ declare module '@scout9/app/schemas' {
5665
6738
  persist?: boolean | undefined;
5666
6739
  })[] | undefined;
5667
6740
  removeInstructions?: string[] | undefined;
5668
- message?: string | undefined;
6741
+ message?: string | {
6742
+ content: string;
6743
+ transform?: boolean | undefined;
6744
+ } | undefined;
5669
6745
  secondsDelay?: number | undefined;
5670
6746
  scheduled?: number | undefined;
5671
6747
  contextUpsert?: Record<string, any> | undefined;
@@ -5717,7 +6793,10 @@ declare module '@scout9/app/schemas' {
5717
6793
  persist?: boolean | undefined;
5718
6794
  })[] | undefined;
5719
6795
  removeInstructions?: string[] | undefined;
5720
- message?: string | undefined;
6796
+ message?: string | {
6797
+ content: string;
6798
+ transform?: boolean | undefined;
6799
+ } | undefined;
5721
6800
  secondsDelay?: number | undefined;
5722
6801
  scheduled?: number | undefined;
5723
6802
  contextUpsert?: Record<string, any> | undefined;
@@ -5767,7 +6846,10 @@ declare module '@scout9/app/schemas' {
5767
6846
  persist?: boolean | undefined;
5768
6847
  })[] | undefined;
5769
6848
  removeInstructions?: string[] | undefined;
5770
- message?: string | undefined;
6849
+ message?: string | {
6850
+ content: string;
6851
+ transform?: boolean | undefined;
6852
+ } | undefined;
5771
6853
  secondsDelay?: number | undefined;
5772
6854
  scheduled?: number | undefined;
5773
6855
  contextUpsert?: Record<string, any> | undefined;
@@ -5801,7 +6883,16 @@ declare module '@scout9/app/schemas' {
5801
6883
  } | undefined;
5802
6884
  };
5803
6885
  }>, z.ZodArray<z.ZodObject<{
5804
- message: z.ZodOptional<z.ZodString>;
6886
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6887
+ content: z.ZodString;
6888
+ transform: z.ZodOptional<z.ZodBoolean>;
6889
+ }, "strip", z.ZodTypeAny, {
6890
+ content: string;
6891
+ transform?: boolean | undefined;
6892
+ }, {
6893
+ content: string;
6894
+ transform?: boolean | undefined;
6895
+ }>]>>;
5805
6896
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
5806
6897
  to: z.ZodOptional<z.ZodString>;
5807
6898
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -5936,7 +7027,10 @@ declare module '@scout9/app/schemas' {
5936
7027
  keywords: z.ZodArray<z.ZodString, "many">;
5937
7028
  }, "strip", z.ZodTypeAny, {
5938
7029
  keywords: string[];
5939
- message?: string | undefined;
7030
+ message?: string | {
7031
+ content: string;
7032
+ transform?: boolean | undefined;
7033
+ } | undefined;
5940
7034
  forward?: string | boolean | {
5941
7035
  to?: string | undefined;
5942
7036
  mode?: "after-reply" | "immediately" | undefined;
@@ -5986,7 +7080,10 @@ declare module '@scout9/app/schemas' {
5986
7080
  } | undefined;
5987
7081
  }, {
5988
7082
  keywords: string[];
5989
- message?: string | undefined;
7083
+ message?: string | {
7084
+ content: string;
7085
+ transform?: boolean | undefined;
7086
+ } | undefined;
5990
7087
  forward?: string | boolean | {
5991
7088
  to?: string | undefined;
5992
7089
  mode?: "after-reply" | "immediately" | undefined;
@@ -6036,7 +7133,10 @@ declare module '@scout9/app/schemas' {
6036
7133
  } | undefined;
6037
7134
  }>, "many">]>>;
6038
7135
  }, "strip", z.ZodTypeAny, {
6039
- message?: string | undefined;
7136
+ message?: string | {
7137
+ content: string;
7138
+ transform?: boolean | undefined;
7139
+ } | undefined;
6040
7140
  forward?: string | boolean | {
6041
7141
  to?: string | undefined;
6042
7142
  mode?: "after-reply" | "immediately" | undefined;
@@ -6103,7 +7203,10 @@ declare module '@scout9/app/schemas' {
6103
7203
  persist?: boolean | undefined;
6104
7204
  })[] | undefined;
6105
7205
  removeInstructions?: string[] | undefined;
6106
- message?: string | undefined;
7206
+ message?: string | {
7207
+ content: string;
7208
+ transform?: boolean | undefined;
7209
+ } | undefined;
6107
7210
  secondsDelay?: number | undefined;
6108
7211
  scheduled?: number | undefined;
6109
7212
  contextUpsert?: Record<string, any> | undefined;
@@ -6153,7 +7256,10 @@ declare module '@scout9/app/schemas' {
6153
7256
  persist?: boolean | undefined;
6154
7257
  })[] | undefined;
6155
7258
  removeInstructions?: string[] | undefined;
6156
- message?: string | undefined;
7259
+ message?: string | {
7260
+ content: string;
7261
+ transform?: boolean | undefined;
7262
+ } | undefined;
6157
7263
  secondsDelay?: number | undefined;
6158
7264
  scheduled?: number | undefined;
6159
7265
  contextUpsert?: Record<string, any> | undefined;
@@ -6188,7 +7294,10 @@ declare module '@scout9/app/schemas' {
6188
7294
  };
6189
7295
  } | {
6190
7296
  keywords: string[];
6191
- message?: string | undefined;
7297
+ message?: string | {
7298
+ content: string;
7299
+ transform?: boolean | undefined;
7300
+ } | undefined;
6192
7301
  forward?: string | boolean | {
6193
7302
  to?: string | undefined;
6194
7303
  mode?: "after-reply" | "immediately" | undefined;
@@ -6238,7 +7347,10 @@ declare module '@scout9/app/schemas' {
6238
7347
  } | undefined;
6239
7348
  }[] | undefined;
6240
7349
  }, {
6241
- message?: string | undefined;
7350
+ message?: string | {
7351
+ content: string;
7352
+ transform?: boolean | undefined;
7353
+ } | undefined;
6242
7354
  forward?: string | boolean | {
6243
7355
  to?: string | undefined;
6244
7356
  mode?: "after-reply" | "immediately" | undefined;
@@ -6305,7 +7417,10 @@ declare module '@scout9/app/schemas' {
6305
7417
  persist?: boolean | undefined;
6306
7418
  })[] | undefined;
6307
7419
  removeInstructions?: string[] | undefined;
6308
- message?: string | undefined;
7420
+ message?: string | {
7421
+ content: string;
7422
+ transform?: boolean | undefined;
7423
+ } | undefined;
6309
7424
  secondsDelay?: number | undefined;
6310
7425
  scheduled?: number | undefined;
6311
7426
  contextUpsert?: Record<string, any> | undefined;
@@ -6355,7 +7470,10 @@ declare module '@scout9/app/schemas' {
6355
7470
  persist?: boolean | undefined;
6356
7471
  })[] | undefined;
6357
7472
  removeInstructions?: string[] | undefined;
6358
- message?: string | undefined;
7473
+ message?: string | {
7474
+ content: string;
7475
+ transform?: boolean | undefined;
7476
+ } | undefined;
6359
7477
  secondsDelay?: number | undefined;
6360
7478
  scheduled?: number | undefined;
6361
7479
  contextUpsert?: Record<string, any> | undefined;
@@ -6390,7 +7508,10 @@ declare module '@scout9/app/schemas' {
6390
7508
  };
6391
7509
  } | {
6392
7510
  keywords: string[];
6393
- message?: string | undefined;
7511
+ message?: string | {
7512
+ content: string;
7513
+ transform?: boolean | undefined;
7514
+ } | undefined;
6394
7515
  forward?: string | boolean | {
6395
7516
  to?: string | undefined;
6396
7517
  mode?: "after-reply" | "immediately" | undefined;
@@ -6444,7 +7565,16 @@ declare module '@scout9/app/schemas' {
6444
7565
  * The workflow response to send in any given workflow
6445
7566
  */
6446
7567
  export const WorkflowResponseSchema: z.ZodUnion<[z.ZodObject<{
6447
- message: z.ZodOptional<z.ZodString>;
7568
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
7569
+ content: z.ZodString;
7570
+ transform: z.ZodOptional<z.ZodBoolean>;
7571
+ }, "strip", z.ZodTypeAny, {
7572
+ content: string;
7573
+ transform?: boolean | undefined;
7574
+ }, {
7575
+ content: string;
7576
+ transform?: boolean | undefined;
7577
+ }>]>>;
6448
7578
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
6449
7579
  to: z.ZodOptional<z.ZodString>;
6450
7580
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -6619,7 +7749,16 @@ declare module '@scout9/app/schemas' {
6619
7749
  persist?: boolean | undefined;
6620
7750
  }>]>, "many">]>>;
6621
7751
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6622
- message: z.ZodOptional<z.ZodString>;
7752
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
7753
+ content: z.ZodString;
7754
+ transform: z.ZodOptional<z.ZodBoolean>;
7755
+ }, "strip", z.ZodTypeAny, {
7756
+ content: string;
7757
+ transform?: boolean | undefined;
7758
+ }, {
7759
+ content: string;
7760
+ transform?: boolean | undefined;
7761
+ }>]>>;
6623
7762
  secondsDelay: z.ZodOptional<z.ZodNumber>;
6624
7763
  scheduled: z.ZodOptional<z.ZodNumber>;
6625
7764
  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 +7867,10 @@ declare module '@scout9/app/schemas' {
6728
7867
  persist?: boolean | undefined;
6729
7868
  })[] | undefined;
6730
7869
  removeInstructions?: string[] | undefined;
6731
- message?: string | undefined;
7870
+ message?: string | {
7871
+ content: string;
7872
+ transform?: boolean | undefined;
7873
+ } | undefined;
6732
7874
  secondsDelay?: number | undefined;
6733
7875
  scheduled?: number | undefined;
6734
7876
  contextUpsert?: Record<string, any> | undefined;
@@ -6777,7 +7919,10 @@ declare module '@scout9/app/schemas' {
6777
7919
  persist?: boolean | undefined;
6778
7920
  })[] | undefined;
6779
7921
  removeInstructions?: string[] | undefined;
6780
- message?: string | undefined;
7922
+ message?: string | {
7923
+ content: string;
7924
+ transform?: boolean | undefined;
7925
+ } | undefined;
6781
7926
  secondsDelay?: number | undefined;
6782
7927
  scheduled?: number | undefined;
6783
7928
  contextUpsert?: Record<string, any> | undefined;
@@ -6851,7 +7996,16 @@ declare module '@scout9/app/schemas' {
6851
7996
  persist?: boolean | undefined;
6852
7997
  }>]>, "many">]>>;
6853
7998
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6854
- message: z.ZodOptional<z.ZodString>;
7999
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
8000
+ content: z.ZodString;
8001
+ transform: z.ZodOptional<z.ZodBoolean>;
8002
+ }, "strip", z.ZodTypeAny, {
8003
+ content: string;
8004
+ transform?: boolean | undefined;
8005
+ }, {
8006
+ content: string;
8007
+ transform?: boolean | undefined;
8008
+ }>]>>;
6855
8009
  secondsDelay: z.ZodOptional<z.ZodNumber>;
6856
8010
  scheduled: z.ZodOptional<z.ZodNumber>;
6857
8011
  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 +8114,10 @@ declare module '@scout9/app/schemas' {
6960
8114
  persist?: boolean | undefined;
6961
8115
  })[] | undefined;
6962
8116
  removeInstructions?: string[] | undefined;
6963
- message?: string | undefined;
8117
+ message?: string | {
8118
+ content: string;
8119
+ transform?: boolean | undefined;
8120
+ } | undefined;
6964
8121
  secondsDelay?: number | undefined;
6965
8122
  scheduled?: number | undefined;
6966
8123
  contextUpsert?: Record<string, any> | undefined;
@@ -7009,7 +8166,10 @@ declare module '@scout9/app/schemas' {
7009
8166
  persist?: boolean | undefined;
7010
8167
  })[] | undefined;
7011
8168
  removeInstructions?: string[] | undefined;
7012
- message?: string | undefined;
8169
+ message?: string | {
8170
+ content: string;
8171
+ transform?: boolean | undefined;
8172
+ } | undefined;
7013
8173
  secondsDelay?: number | undefined;
7014
8174
  scheduled?: number | undefined;
7015
8175
  contextUpsert?: Record<string, any> | undefined;
@@ -7061,7 +8221,10 @@ declare module '@scout9/app/schemas' {
7061
8221
  persist?: boolean | undefined;
7062
8222
  })[] | undefined;
7063
8223
  removeInstructions?: string[] | undefined;
7064
- message?: string | undefined;
8224
+ message?: string | {
8225
+ content: string;
8226
+ transform?: boolean | undefined;
8227
+ } | undefined;
7065
8228
  secondsDelay?: number | undefined;
7066
8229
  scheduled?: number | undefined;
7067
8230
  contextUpsert?: Record<string, any> | undefined;
@@ -7111,7 +8274,10 @@ declare module '@scout9/app/schemas' {
7111
8274
  persist?: boolean | undefined;
7112
8275
  })[] | undefined;
7113
8276
  removeInstructions?: string[] | undefined;
7114
- message?: string | undefined;
8277
+ message?: string | {
8278
+ content: string;
8279
+ transform?: boolean | undefined;
8280
+ } | undefined;
7115
8281
  secondsDelay?: number | undefined;
7116
8282
  scheduled?: number | undefined;
7117
8283
  contextUpsert?: Record<string, any> | undefined;
@@ -7163,7 +8329,10 @@ declare module '@scout9/app/schemas' {
7163
8329
  persist?: boolean | undefined;
7164
8330
  })[] | undefined;
7165
8331
  removeInstructions?: string[] | undefined;
7166
- message?: string | undefined;
8332
+ message?: string | {
8333
+ content: string;
8334
+ transform?: boolean | undefined;
8335
+ } | undefined;
7167
8336
  secondsDelay?: number | undefined;
7168
8337
  scheduled?: number | undefined;
7169
8338
  contextUpsert?: Record<string, any> | undefined;
@@ -7213,7 +8382,10 @@ declare module '@scout9/app/schemas' {
7213
8382
  persist?: boolean | undefined;
7214
8383
  })[] | undefined;
7215
8384
  removeInstructions?: string[] | undefined;
7216
- message?: string | undefined;
8385
+ message?: string | {
8386
+ content: string;
8387
+ transform?: boolean | undefined;
8388
+ } | undefined;
7217
8389
  secondsDelay?: number | undefined;
7218
8390
  scheduled?: number | undefined;
7219
8391
  contextUpsert?: Record<string, any> | undefined;
@@ -7247,7 +8419,16 @@ declare module '@scout9/app/schemas' {
7247
8419
  } | undefined;
7248
8420
  };
7249
8421
  }>, z.ZodArray<z.ZodObject<{
7250
- message: z.ZodOptional<z.ZodString>;
8422
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
8423
+ content: z.ZodString;
8424
+ transform: z.ZodOptional<z.ZodBoolean>;
8425
+ }, "strip", z.ZodTypeAny, {
8426
+ content: string;
8427
+ transform?: boolean | undefined;
8428
+ }, {
8429
+ content: string;
8430
+ transform?: boolean | undefined;
8431
+ }>]>>;
7251
8432
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
7252
8433
  to: z.ZodOptional<z.ZodString>;
7253
8434
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -7382,7 +8563,10 @@ declare module '@scout9/app/schemas' {
7382
8563
  keywords: z.ZodArray<z.ZodString, "many">;
7383
8564
  }, "strip", z.ZodTypeAny, {
7384
8565
  keywords: string[];
7385
- message?: string | undefined;
8566
+ message?: string | {
8567
+ content: string;
8568
+ transform?: boolean | undefined;
8569
+ } | undefined;
7386
8570
  forward?: string | boolean | {
7387
8571
  to?: string | undefined;
7388
8572
  mode?: "after-reply" | "immediately" | undefined;
@@ -7432,7 +8616,10 @@ declare module '@scout9/app/schemas' {
7432
8616
  } | undefined;
7433
8617
  }, {
7434
8618
  keywords: string[];
7435
- message?: string | undefined;
8619
+ message?: string | {
8620
+ content: string;
8621
+ transform?: boolean | undefined;
8622
+ } | undefined;
7436
8623
  forward?: string | boolean | {
7437
8624
  to?: string | undefined;
7438
8625
  mode?: "after-reply" | "immediately" | undefined;
@@ -7482,7 +8669,10 @@ declare module '@scout9/app/schemas' {
7482
8669
  } | undefined;
7483
8670
  }>, "many">]>>;
7484
8671
  }, "strip", z.ZodTypeAny, {
7485
- message?: string | undefined;
8672
+ message?: string | {
8673
+ content: string;
8674
+ transform?: boolean | undefined;
8675
+ } | undefined;
7486
8676
  forward?: string | boolean | {
7487
8677
  to?: string | undefined;
7488
8678
  mode?: "after-reply" | "immediately" | undefined;
@@ -7549,7 +8739,10 @@ declare module '@scout9/app/schemas' {
7549
8739
  persist?: boolean | undefined;
7550
8740
  })[] | undefined;
7551
8741
  removeInstructions?: string[] | undefined;
7552
- message?: string | undefined;
8742
+ message?: string | {
8743
+ content: string;
8744
+ transform?: boolean | undefined;
8745
+ } | undefined;
7553
8746
  secondsDelay?: number | undefined;
7554
8747
  scheduled?: number | undefined;
7555
8748
  contextUpsert?: Record<string, any> | undefined;
@@ -7599,7 +8792,10 @@ declare module '@scout9/app/schemas' {
7599
8792
  persist?: boolean | undefined;
7600
8793
  })[] | undefined;
7601
8794
  removeInstructions?: string[] | undefined;
7602
- message?: string | undefined;
8795
+ message?: string | {
8796
+ content: string;
8797
+ transform?: boolean | undefined;
8798
+ } | undefined;
7603
8799
  secondsDelay?: number | undefined;
7604
8800
  scheduled?: number | undefined;
7605
8801
  contextUpsert?: Record<string, any> | undefined;
@@ -7634,7 +8830,10 @@ declare module '@scout9/app/schemas' {
7634
8830
  };
7635
8831
  } | {
7636
8832
  keywords: string[];
7637
- message?: string | undefined;
8833
+ message?: string | {
8834
+ content: string;
8835
+ transform?: boolean | undefined;
8836
+ } | undefined;
7638
8837
  forward?: string | boolean | {
7639
8838
  to?: string | undefined;
7640
8839
  mode?: "after-reply" | "immediately" | undefined;
@@ -7684,7 +8883,10 @@ declare module '@scout9/app/schemas' {
7684
8883
  } | undefined;
7685
8884
  }[] | undefined;
7686
8885
  }, {
7687
- message?: string | undefined;
8886
+ message?: string | {
8887
+ content: string;
8888
+ transform?: boolean | undefined;
8889
+ } | undefined;
7688
8890
  forward?: string | boolean | {
7689
8891
  to?: string | undefined;
7690
8892
  mode?: "after-reply" | "immediately" | undefined;
@@ -7751,7 +8953,10 @@ declare module '@scout9/app/schemas' {
7751
8953
  persist?: boolean | undefined;
7752
8954
  })[] | undefined;
7753
8955
  removeInstructions?: string[] | undefined;
7754
- message?: string | undefined;
8956
+ message?: string | {
8957
+ content: string;
8958
+ transform?: boolean | undefined;
8959
+ } | undefined;
7755
8960
  secondsDelay?: number | undefined;
7756
8961
  scheduled?: number | undefined;
7757
8962
  contextUpsert?: Record<string, any> | undefined;
@@ -7801,7 +9006,10 @@ declare module '@scout9/app/schemas' {
7801
9006
  persist?: boolean | undefined;
7802
9007
  })[] | undefined;
7803
9008
  removeInstructions?: string[] | undefined;
7804
- message?: string | undefined;
9009
+ message?: string | {
9010
+ content: string;
9011
+ transform?: boolean | undefined;
9012
+ } | undefined;
7805
9013
  secondsDelay?: number | undefined;
7806
9014
  scheduled?: number | undefined;
7807
9015
  contextUpsert?: Record<string, any> | undefined;
@@ -7836,7 +9044,10 @@ declare module '@scout9/app/schemas' {
7836
9044
  };
7837
9045
  } | {
7838
9046
  keywords: string[];
7839
- message?: string | undefined;
9047
+ message?: string | {
9048
+ content: string;
9049
+ transform?: boolean | undefined;
9050
+ } | undefined;
7840
9051
  forward?: string | boolean | {
7841
9052
  to?: string | undefined;
7842
9053
  mode?: "after-reply" | "immediately" | undefined;
@@ -7886,7 +9097,16 @@ declare module '@scout9/app/schemas' {
7886
9097
  } | undefined;
7887
9098
  }[] | undefined;
7888
9099
  }>, z.ZodArray<z.ZodObject<{
7889
- message: z.ZodOptional<z.ZodString>;
9100
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
9101
+ content: z.ZodString;
9102
+ transform: z.ZodOptional<z.ZodBoolean>;
9103
+ }, "strip", z.ZodTypeAny, {
9104
+ content: string;
9105
+ transform?: boolean | undefined;
9106
+ }, {
9107
+ content: string;
9108
+ transform?: boolean | undefined;
9109
+ }>]>>;
7890
9110
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
7891
9111
  to: z.ZodOptional<z.ZodString>;
7892
9112
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -8061,7 +9281,16 @@ declare module '@scout9/app/schemas' {
8061
9281
  persist?: boolean | undefined;
8062
9282
  }>]>, "many">]>>;
8063
9283
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8064
- message: z.ZodOptional<z.ZodString>;
9284
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
9285
+ content: z.ZodString;
9286
+ transform: z.ZodOptional<z.ZodBoolean>;
9287
+ }, "strip", z.ZodTypeAny, {
9288
+ content: string;
9289
+ transform?: boolean | undefined;
9290
+ }, {
9291
+ content: string;
9292
+ transform?: boolean | undefined;
9293
+ }>]>>;
8065
9294
  secondsDelay: z.ZodOptional<z.ZodNumber>;
8066
9295
  scheduled: z.ZodOptional<z.ZodNumber>;
8067
9296
  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 +9399,10 @@ declare module '@scout9/app/schemas' {
8170
9399
  persist?: boolean | undefined;
8171
9400
  })[] | undefined;
8172
9401
  removeInstructions?: string[] | undefined;
8173
- message?: string | undefined;
9402
+ message?: string | {
9403
+ content: string;
9404
+ transform?: boolean | undefined;
9405
+ } | undefined;
8174
9406
  secondsDelay?: number | undefined;
8175
9407
  scheduled?: number | undefined;
8176
9408
  contextUpsert?: Record<string, any> | undefined;
@@ -8219,7 +9451,10 @@ declare module '@scout9/app/schemas' {
8219
9451
  persist?: boolean | undefined;
8220
9452
  })[] | undefined;
8221
9453
  removeInstructions?: string[] | undefined;
8222
- message?: string | undefined;
9454
+ message?: string | {
9455
+ content: string;
9456
+ transform?: boolean | undefined;
9457
+ } | undefined;
8223
9458
  secondsDelay?: number | undefined;
8224
9459
  scheduled?: number | undefined;
8225
9460
  contextUpsert?: Record<string, any> | undefined;
@@ -8293,7 +9528,16 @@ declare module '@scout9/app/schemas' {
8293
9528
  persist?: boolean | undefined;
8294
9529
  }>]>, "many">]>>;
8295
9530
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8296
- message: z.ZodOptional<z.ZodString>;
9531
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
9532
+ content: z.ZodString;
9533
+ transform: z.ZodOptional<z.ZodBoolean>;
9534
+ }, "strip", z.ZodTypeAny, {
9535
+ content: string;
9536
+ transform?: boolean | undefined;
9537
+ }, {
9538
+ content: string;
9539
+ transform?: boolean | undefined;
9540
+ }>]>>;
8297
9541
  secondsDelay: z.ZodOptional<z.ZodNumber>;
8298
9542
  scheduled: z.ZodOptional<z.ZodNumber>;
8299
9543
  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 +9646,10 @@ declare module '@scout9/app/schemas' {
8402
9646
  persist?: boolean | undefined;
8403
9647
  })[] | undefined;
8404
9648
  removeInstructions?: string[] | undefined;
8405
- message?: string | undefined;
9649
+ message?: string | {
9650
+ content: string;
9651
+ transform?: boolean | undefined;
9652
+ } | undefined;
8406
9653
  secondsDelay?: number | undefined;
8407
9654
  scheduled?: number | undefined;
8408
9655
  contextUpsert?: Record<string, any> | undefined;
@@ -8451,7 +9698,10 @@ declare module '@scout9/app/schemas' {
8451
9698
  persist?: boolean | undefined;
8452
9699
  })[] | undefined;
8453
9700
  removeInstructions?: string[] | undefined;
8454
- message?: string | undefined;
9701
+ message?: string | {
9702
+ content: string;
9703
+ transform?: boolean | undefined;
9704
+ } | undefined;
8455
9705
  secondsDelay?: number | undefined;
8456
9706
  scheduled?: number | undefined;
8457
9707
  contextUpsert?: Record<string, any> | undefined;
@@ -8503,7 +9753,10 @@ declare module '@scout9/app/schemas' {
8503
9753
  persist?: boolean | undefined;
8504
9754
  })[] | undefined;
8505
9755
  removeInstructions?: string[] | undefined;
8506
- message?: string | undefined;
9756
+ message?: string | {
9757
+ content: string;
9758
+ transform?: boolean | undefined;
9759
+ } | undefined;
8507
9760
  secondsDelay?: number | undefined;
8508
9761
  scheduled?: number | undefined;
8509
9762
  contextUpsert?: Record<string, any> | undefined;
@@ -8553,7 +9806,10 @@ declare module '@scout9/app/schemas' {
8553
9806
  persist?: boolean | undefined;
8554
9807
  })[] | undefined;
8555
9808
  removeInstructions?: string[] | undefined;
8556
- message?: string | undefined;
9809
+ message?: string | {
9810
+ content: string;
9811
+ transform?: boolean | undefined;
9812
+ } | undefined;
8557
9813
  secondsDelay?: number | undefined;
8558
9814
  scheduled?: number | undefined;
8559
9815
  contextUpsert?: Record<string, any> | undefined;
@@ -8605,7 +9861,10 @@ declare module '@scout9/app/schemas' {
8605
9861
  persist?: boolean | undefined;
8606
9862
  })[] | undefined;
8607
9863
  removeInstructions?: string[] | undefined;
8608
- message?: string | undefined;
9864
+ message?: string | {
9865
+ content: string;
9866
+ transform?: boolean | undefined;
9867
+ } | undefined;
8609
9868
  secondsDelay?: number | undefined;
8610
9869
  scheduled?: number | undefined;
8611
9870
  contextUpsert?: Record<string, any> | undefined;
@@ -8655,7 +9914,10 @@ declare module '@scout9/app/schemas' {
8655
9914
  persist?: boolean | undefined;
8656
9915
  })[] | undefined;
8657
9916
  removeInstructions?: string[] | undefined;
8658
- message?: string | undefined;
9917
+ message?: string | {
9918
+ content: string;
9919
+ transform?: boolean | undefined;
9920
+ } | undefined;
8659
9921
  secondsDelay?: number | undefined;
8660
9922
  scheduled?: number | undefined;
8661
9923
  contextUpsert?: Record<string, any> | undefined;
@@ -8689,7 +9951,16 @@ declare module '@scout9/app/schemas' {
8689
9951
  } | undefined;
8690
9952
  };
8691
9953
  }>, z.ZodArray<z.ZodObject<{
8692
- message: z.ZodOptional<z.ZodString>;
9954
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
9955
+ content: z.ZodString;
9956
+ transform: z.ZodOptional<z.ZodBoolean>;
9957
+ }, "strip", z.ZodTypeAny, {
9958
+ content: string;
9959
+ transform?: boolean | undefined;
9960
+ }, {
9961
+ content: string;
9962
+ transform?: boolean | undefined;
9963
+ }>]>>;
8693
9964
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
8694
9965
  to: z.ZodOptional<z.ZodString>;
8695
9966
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -8824,8 +10095,11 @@ declare module '@scout9/app/schemas' {
8824
10095
  keywords: z.ZodArray<z.ZodString, "many">;
8825
10096
  }, "strip", z.ZodTypeAny, {
8826
10097
  keywords: string[];
8827
- message?: string | undefined;
8828
- forward?: string | boolean | {
10098
+ message?: string | {
10099
+ content: string;
10100
+ transform?: boolean | undefined;
10101
+ } | undefined;
10102
+ forward?: string | boolean | {
8829
10103
  to?: string | undefined;
8830
10104
  mode?: "after-reply" | "immediately" | undefined;
8831
10105
  note?: string | undefined;
@@ -8874,7 +10148,10 @@ declare module '@scout9/app/schemas' {
8874
10148
  } | undefined;
8875
10149
  }, {
8876
10150
  keywords: string[];
8877
- message?: string | undefined;
10151
+ message?: string | {
10152
+ content: string;
10153
+ transform?: boolean | undefined;
10154
+ } | undefined;
8878
10155
  forward?: string | boolean | {
8879
10156
  to?: string | undefined;
8880
10157
  mode?: "after-reply" | "immediately" | undefined;
@@ -8924,7 +10201,10 @@ declare module '@scout9/app/schemas' {
8924
10201
  } | undefined;
8925
10202
  }>, "many">]>>;
8926
10203
  }, "strip", z.ZodTypeAny, {
8927
- message?: string | undefined;
10204
+ message?: string | {
10205
+ content: string;
10206
+ transform?: boolean | undefined;
10207
+ } | undefined;
8928
10208
  forward?: string | boolean | {
8929
10209
  to?: string | undefined;
8930
10210
  mode?: "after-reply" | "immediately" | undefined;
@@ -8991,7 +10271,10 @@ declare module '@scout9/app/schemas' {
8991
10271
  persist?: boolean | undefined;
8992
10272
  })[] | undefined;
8993
10273
  removeInstructions?: string[] | undefined;
8994
- message?: string | undefined;
10274
+ message?: string | {
10275
+ content: string;
10276
+ transform?: boolean | undefined;
10277
+ } | undefined;
8995
10278
  secondsDelay?: number | undefined;
8996
10279
  scheduled?: number | undefined;
8997
10280
  contextUpsert?: Record<string, any> | undefined;
@@ -9041,7 +10324,10 @@ declare module '@scout9/app/schemas' {
9041
10324
  persist?: boolean | undefined;
9042
10325
  })[] | undefined;
9043
10326
  removeInstructions?: string[] | undefined;
9044
- message?: string | undefined;
10327
+ message?: string | {
10328
+ content: string;
10329
+ transform?: boolean | undefined;
10330
+ } | undefined;
9045
10331
  secondsDelay?: number | undefined;
9046
10332
  scheduled?: number | undefined;
9047
10333
  contextUpsert?: Record<string, any> | undefined;
@@ -9076,7 +10362,10 @@ declare module '@scout9/app/schemas' {
9076
10362
  };
9077
10363
  } | {
9078
10364
  keywords: string[];
9079
- message?: string | undefined;
10365
+ message?: string | {
10366
+ content: string;
10367
+ transform?: boolean | undefined;
10368
+ } | undefined;
9080
10369
  forward?: string | boolean | {
9081
10370
  to?: string | undefined;
9082
10371
  mode?: "after-reply" | "immediately" | undefined;
@@ -9126,7 +10415,10 @@ declare module '@scout9/app/schemas' {
9126
10415
  } | undefined;
9127
10416
  }[] | undefined;
9128
10417
  }, {
9129
- message?: string | undefined;
10418
+ message?: string | {
10419
+ content: string;
10420
+ transform?: boolean | undefined;
10421
+ } | undefined;
9130
10422
  forward?: string | boolean | {
9131
10423
  to?: string | undefined;
9132
10424
  mode?: "after-reply" | "immediately" | undefined;
@@ -9193,7 +10485,10 @@ declare module '@scout9/app/schemas' {
9193
10485
  persist?: boolean | undefined;
9194
10486
  })[] | undefined;
9195
10487
  removeInstructions?: string[] | undefined;
9196
- message?: string | undefined;
10488
+ message?: string | {
10489
+ content: string;
10490
+ transform?: boolean | undefined;
10491
+ } | undefined;
9197
10492
  secondsDelay?: number | undefined;
9198
10493
  scheduled?: number | undefined;
9199
10494
  contextUpsert?: Record<string, any> | undefined;
@@ -9243,7 +10538,10 @@ declare module '@scout9/app/schemas' {
9243
10538
  persist?: boolean | undefined;
9244
10539
  })[] | undefined;
9245
10540
  removeInstructions?: string[] | undefined;
9246
- message?: string | undefined;
10541
+ message?: string | {
10542
+ content: string;
10543
+ transform?: boolean | undefined;
10544
+ } | undefined;
9247
10545
  secondsDelay?: number | undefined;
9248
10546
  scheduled?: number | undefined;
9249
10547
  contextUpsert?: Record<string, any> | undefined;
@@ -9278,7 +10576,10 @@ declare module '@scout9/app/schemas' {
9278
10576
  };
9279
10577
  } | {
9280
10578
  keywords: string[];
9281
- message?: string | undefined;
10579
+ message?: string | {
10580
+ content: string;
10581
+ transform?: boolean | undefined;
10582
+ } | undefined;
9282
10583
  forward?: string | boolean | {
9283
10584
  to?: string | undefined;
9284
10585
  mode?: "after-reply" | "immediately" | undefined;
@@ -9340,6 +10641,25 @@ declare module '@scout9/app/schemas' {
9340
10641
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9341
10642
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9342
10643
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10644
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10645
+ start: z.ZodNumber;
10646
+ end: z.ZodNumber;
10647
+ type: z.ZodString;
10648
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10649
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10650
+ }, "strip", z.ZodTypeAny, {
10651
+ type: string;
10652
+ end: number;
10653
+ start: number;
10654
+ option?: string | null | undefined;
10655
+ text?: string | null | undefined;
10656
+ }, {
10657
+ type: string;
10658
+ end: number;
10659
+ start: number;
10660
+ option?: string | null | undefined;
10661
+ text?: string | null | undefined;
10662
+ }>, "many">>>;
9343
10663
  }, "strip", z.ZodTypeAny, {
9344
10664
  time: string;
9345
10665
  id: string;
@@ -9351,6 +10671,13 @@ declare module '@scout9/app/schemas' {
9351
10671
  intent?: string | null | undefined;
9352
10672
  intentScore?: number | null | undefined;
9353
10673
  delayInSeconds?: number | null | undefined;
10674
+ entities?: {
10675
+ type: string;
10676
+ end: number;
10677
+ start: number;
10678
+ option?: string | null | undefined;
10679
+ text?: string | null | undefined;
10680
+ }[] | null | undefined;
9354
10681
  }, {
9355
10682
  time: string;
9356
10683
  id: string;
@@ -9362,6 +10689,13 @@ declare module '@scout9/app/schemas' {
9362
10689
  intent?: string | null | undefined;
9363
10690
  intentScore?: number | null | undefined;
9364
10691
  delayInSeconds?: number | null | undefined;
10692
+ entities?: {
10693
+ type: string;
10694
+ end: number;
10695
+ start: number;
10696
+ option?: string | null | undefined;
10697
+ text?: string | null | undefined;
10698
+ }[] | null | undefined;
9365
10699
  }>, "many">;
9366
10700
  conversation: z.ZodObject<{
9367
10701
  $id: z.ZodString;
@@ -9505,6 +10839,25 @@ declare module '@scout9/app/schemas' {
9505
10839
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9506
10840
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9507
10841
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10842
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10843
+ start: z.ZodNumber;
10844
+ end: z.ZodNumber;
10845
+ type: z.ZodString;
10846
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10847
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10848
+ }, "strip", z.ZodTypeAny, {
10849
+ type: string;
10850
+ end: number;
10851
+ start: number;
10852
+ option?: string | null | undefined;
10853
+ text?: string | null | undefined;
10854
+ }, {
10855
+ type: string;
10856
+ end: number;
10857
+ start: number;
10858
+ option?: string | null | undefined;
10859
+ text?: string | null | undefined;
10860
+ }>, "many">>>;
9508
10861
  }, "strip", z.ZodTypeAny, {
9509
10862
  time: string;
9510
10863
  id: string;
@@ -9516,6 +10869,13 @@ declare module '@scout9/app/schemas' {
9516
10869
  intent?: string | null | undefined;
9517
10870
  intentScore?: number | null | undefined;
9518
10871
  delayInSeconds?: number | null | undefined;
10872
+ entities?: {
10873
+ type: string;
10874
+ end: number;
10875
+ start: number;
10876
+ option?: string | null | undefined;
10877
+ text?: string | null | undefined;
10878
+ }[] | null | undefined;
9519
10879
  }, {
9520
10880
  time: string;
9521
10881
  id: string;
@@ -9527,6 +10887,13 @@ declare module '@scout9/app/schemas' {
9527
10887
  intent?: string | null | undefined;
9528
10888
  intentScore?: number | null | undefined;
9529
10889
  delayInSeconds?: number | null | undefined;
10890
+ entities?: {
10891
+ type: string;
10892
+ end: number;
10893
+ start: number;
10894
+ option?: string | null | undefined;
10895
+ text?: string | null | undefined;
10896
+ }[] | null | undefined;
9530
10897
  }>;
9531
10898
  agent: z.ZodObject<Omit<{
9532
10899
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -9567,6 +10934,25 @@ declare module '@scout9/app/schemas' {
9567
10934
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9568
10935
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9569
10936
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10937
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10938
+ start: z.ZodNumber;
10939
+ end: z.ZodNumber;
10940
+ type: z.ZodString;
10941
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10942
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10943
+ }, "strip", z.ZodTypeAny, {
10944
+ type: string;
10945
+ end: number;
10946
+ start: number;
10947
+ option?: string | null | undefined;
10948
+ text?: string | null | undefined;
10949
+ }, {
10950
+ type: string;
10951
+ end: number;
10952
+ start: number;
10953
+ option?: string | null | undefined;
10954
+ text?: string | null | undefined;
10955
+ }>, "many">>>;
9570
10956
  }, "strip", z.ZodTypeAny, {
9571
10957
  time: string;
9572
10958
  id: string;
@@ -9578,6 +10964,13 @@ declare module '@scout9/app/schemas' {
9578
10964
  intent?: string | null | undefined;
9579
10965
  intentScore?: number | null | undefined;
9580
10966
  delayInSeconds?: number | null | undefined;
10967
+ entities?: {
10968
+ type: string;
10969
+ end: number;
10970
+ start: number;
10971
+ option?: string | null | undefined;
10972
+ text?: string | null | undefined;
10973
+ }[] | null | undefined;
9581
10974
  }, {
9582
10975
  time: string;
9583
10976
  id: string;
@@ -9589,10 +10982,39 @@ declare module '@scout9/app/schemas' {
9589
10982
  intent?: string | null | undefined;
9590
10983
  intentScore?: number | null | undefined;
9591
10984
  delayInSeconds?: number | null | undefined;
10985
+ entities?: {
10986
+ type: string;
10987
+ end: number;
10988
+ start: number;
10989
+ option?: string | null | undefined;
10990
+ text?: string | null | undefined;
10991
+ }[] | null | undefined;
9592
10992
  }>, "many">, "many">>;
9593
10993
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
10994
+ pmt: z.ZodOptional<z.ZodObject<{
10995
+ tag: z.ZodOptional<z.ZodString>;
10996
+ ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
10997
+ llm: z.ZodOptional<z.ZodString>;
10998
+ webhookUri: z.ZodOptional<z.ZodString>;
10999
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
11000
+ watermark: z.ZodOptional<z.ZodString>;
11001
+ }, "strip", z.ZodTypeAny, {
11002
+ ingress: "auto" | "manual" | "app" | "workflow";
11003
+ tag?: string | undefined;
11004
+ llm?: string | undefined;
11005
+ webhookUri?: string | undefined;
11006
+ watermarkEnabled?: boolean | undefined;
11007
+ watermark?: string | undefined;
11008
+ }, {
11009
+ ingress: "auto" | "manual" | "app" | "workflow";
11010
+ tag?: string | undefined;
11011
+ llm?: string | undefined;
11012
+ webhookUri?: string | undefined;
11013
+ watermarkEnabled?: boolean | undefined;
11014
+ watermark?: string | undefined;
11015
+ }>>;
9594
11016
  id: z.ZodString;
9595
- }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios">, "strip", z.ZodTypeAny, {
11017
+ }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
9596
11018
  id: string;
9597
11019
  title: string;
9598
11020
  inactive?: boolean | undefined;
@@ -9709,6 +11131,13 @@ declare module '@scout9/app/schemas' {
9709
11131
  intent?: string | null | undefined;
9710
11132
  intentScore?: number | null | undefined;
9711
11133
  delayInSeconds?: number | null | undefined;
11134
+ entities?: {
11135
+ type: string;
11136
+ end: number;
11137
+ start: number;
11138
+ option?: string | null | undefined;
11139
+ text?: string | null | undefined;
11140
+ }[] | null | undefined;
9712
11141
  };
9713
11142
  agent: {
9714
11143
  id: string;
@@ -9765,6 +11194,13 @@ declare module '@scout9/app/schemas' {
9765
11194
  intent?: string | null | undefined;
9766
11195
  intentScore?: number | null | undefined;
9767
11196
  delayInSeconds?: number | null | undefined;
11197
+ entities?: {
11198
+ type: string;
11199
+ end: number;
11200
+ start: number;
11201
+ option?: string | null | undefined;
11202
+ text?: string | null | undefined;
11203
+ }[] | null | undefined;
9768
11204
  }[];
9769
11205
  conversation: {
9770
11206
  environment: "email" | "phone" | "web";
@@ -9813,6 +11249,13 @@ declare module '@scout9/app/schemas' {
9813
11249
  intent?: string | null | undefined;
9814
11250
  intentScore?: number | null | undefined;
9815
11251
  delayInSeconds?: number | null | undefined;
11252
+ entities?: {
11253
+ type: string;
11254
+ end: number;
11255
+ start: number;
11256
+ option?: string | null | undefined;
11257
+ text?: string | null | undefined;
11258
+ }[] | null | undefined;
9816
11259
  };
9817
11260
  agent: {
9818
11261
  id: string;
@@ -9869,6 +11312,13 @@ declare module '@scout9/app/schemas' {
9869
11312
  intent?: string | null | undefined;
9870
11313
  intentScore?: number | null | undefined;
9871
11314
  delayInSeconds?: number | null | undefined;
11315
+ entities?: {
11316
+ type: string;
11317
+ end: number;
11318
+ start: number;
11319
+ option?: string | null | undefined;
11320
+ text?: string | null | undefined;
11321
+ }[] | null | undefined;
9872
11322
  }[];
9873
11323
  conversation: {
9874
11324
  environment: "email" | "phone" | "web";
@@ -9906,7 +11356,16 @@ declare module '@scout9/app/schemas' {
9906
11356
  context?: any;
9907
11357
  note?: string | undefined;
9908
11358
  }>], z.ZodUnknown>, z.ZodUnion<[z.ZodPromise<z.ZodUnion<[z.ZodObject<{
9909
- message: z.ZodOptional<z.ZodString>;
11359
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11360
+ content: z.ZodString;
11361
+ transform: z.ZodOptional<z.ZodBoolean>;
11362
+ }, "strip", z.ZodTypeAny, {
11363
+ content: string;
11364
+ transform?: boolean | undefined;
11365
+ }, {
11366
+ content: string;
11367
+ transform?: boolean | undefined;
11368
+ }>]>>;
9910
11369
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
9911
11370
  to: z.ZodOptional<z.ZodString>;
9912
11371
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -10081,7 +11540,16 @@ declare module '@scout9/app/schemas' {
10081
11540
  persist?: boolean | undefined;
10082
11541
  }>]>, "many">]>>;
10083
11542
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10084
- message: z.ZodOptional<z.ZodString>;
11543
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11544
+ content: z.ZodString;
11545
+ transform: z.ZodOptional<z.ZodBoolean>;
11546
+ }, "strip", z.ZodTypeAny, {
11547
+ content: string;
11548
+ transform?: boolean | undefined;
11549
+ }, {
11550
+ content: string;
11551
+ transform?: boolean | undefined;
11552
+ }>]>>;
10085
11553
  secondsDelay: z.ZodOptional<z.ZodNumber>;
10086
11554
  scheduled: z.ZodOptional<z.ZodNumber>;
10087
11555
  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 +11658,10 @@ declare module '@scout9/app/schemas' {
10190
11658
  persist?: boolean | undefined;
10191
11659
  })[] | undefined;
10192
11660
  removeInstructions?: string[] | undefined;
10193
- message?: string | undefined;
11661
+ message?: string | {
11662
+ content: string;
11663
+ transform?: boolean | undefined;
11664
+ } | undefined;
10194
11665
  secondsDelay?: number | undefined;
10195
11666
  scheduled?: number | undefined;
10196
11667
  contextUpsert?: Record<string, any> | undefined;
@@ -10239,7 +11710,10 @@ declare module '@scout9/app/schemas' {
10239
11710
  persist?: boolean | undefined;
10240
11711
  })[] | undefined;
10241
11712
  removeInstructions?: string[] | undefined;
10242
- message?: string | undefined;
11713
+ message?: string | {
11714
+ content: string;
11715
+ transform?: boolean | undefined;
11716
+ } | undefined;
10243
11717
  secondsDelay?: number | undefined;
10244
11718
  scheduled?: number | undefined;
10245
11719
  contextUpsert?: Record<string, any> | undefined;
@@ -10313,7 +11787,16 @@ declare module '@scout9/app/schemas' {
10313
11787
  persist?: boolean | undefined;
10314
11788
  }>]>, "many">]>>;
10315
11789
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10316
- message: z.ZodOptional<z.ZodString>;
11790
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
11791
+ content: z.ZodString;
11792
+ transform: z.ZodOptional<z.ZodBoolean>;
11793
+ }, "strip", z.ZodTypeAny, {
11794
+ content: string;
11795
+ transform?: boolean | undefined;
11796
+ }, {
11797
+ content: string;
11798
+ transform?: boolean | undefined;
11799
+ }>]>>;
10317
11800
  secondsDelay: z.ZodOptional<z.ZodNumber>;
10318
11801
  scheduled: z.ZodOptional<z.ZodNumber>;
10319
11802
  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 +11905,10 @@ declare module '@scout9/app/schemas' {
10422
11905
  persist?: boolean | undefined;
10423
11906
  })[] | undefined;
10424
11907
  removeInstructions?: string[] | undefined;
10425
- message?: string | undefined;
11908
+ message?: string | {
11909
+ content: string;
11910
+ transform?: boolean | undefined;
11911
+ } | undefined;
10426
11912
  secondsDelay?: number | undefined;
10427
11913
  scheduled?: number | undefined;
10428
11914
  contextUpsert?: Record<string, any> | undefined;
@@ -10471,7 +11957,10 @@ declare module '@scout9/app/schemas' {
10471
11957
  persist?: boolean | undefined;
10472
11958
  })[] | undefined;
10473
11959
  removeInstructions?: string[] | undefined;
10474
- message?: string | undefined;
11960
+ message?: string | {
11961
+ content: string;
11962
+ transform?: boolean | undefined;
11963
+ } | undefined;
10475
11964
  secondsDelay?: number | undefined;
10476
11965
  scheduled?: number | undefined;
10477
11966
  contextUpsert?: Record<string, any> | undefined;
@@ -10523,7 +12012,10 @@ declare module '@scout9/app/schemas' {
10523
12012
  persist?: boolean | undefined;
10524
12013
  })[] | undefined;
10525
12014
  removeInstructions?: string[] | undefined;
10526
- message?: string | undefined;
12015
+ message?: string | {
12016
+ content: string;
12017
+ transform?: boolean | undefined;
12018
+ } | undefined;
10527
12019
  secondsDelay?: number | undefined;
10528
12020
  scheduled?: number | undefined;
10529
12021
  contextUpsert?: Record<string, any> | undefined;
@@ -10573,7 +12065,10 @@ declare module '@scout9/app/schemas' {
10573
12065
  persist?: boolean | undefined;
10574
12066
  })[] | undefined;
10575
12067
  removeInstructions?: string[] | undefined;
10576
- message?: string | undefined;
12068
+ message?: string | {
12069
+ content: string;
12070
+ transform?: boolean | undefined;
12071
+ } | undefined;
10577
12072
  secondsDelay?: number | undefined;
10578
12073
  scheduled?: number | undefined;
10579
12074
  contextUpsert?: Record<string, any> | undefined;
@@ -10625,7 +12120,10 @@ declare module '@scout9/app/schemas' {
10625
12120
  persist?: boolean | undefined;
10626
12121
  })[] | undefined;
10627
12122
  removeInstructions?: string[] | undefined;
10628
- message?: string | undefined;
12123
+ message?: string | {
12124
+ content: string;
12125
+ transform?: boolean | undefined;
12126
+ } | undefined;
10629
12127
  secondsDelay?: number | undefined;
10630
12128
  scheduled?: number | undefined;
10631
12129
  contextUpsert?: Record<string, any> | undefined;
@@ -10675,7 +12173,10 @@ declare module '@scout9/app/schemas' {
10675
12173
  persist?: boolean | undefined;
10676
12174
  })[] | undefined;
10677
12175
  removeInstructions?: string[] | undefined;
10678
- message?: string | undefined;
12176
+ message?: string | {
12177
+ content: string;
12178
+ transform?: boolean | undefined;
12179
+ } | undefined;
10679
12180
  secondsDelay?: number | undefined;
10680
12181
  scheduled?: number | undefined;
10681
12182
  contextUpsert?: Record<string, any> | undefined;
@@ -10709,7 +12210,16 @@ declare module '@scout9/app/schemas' {
10709
12210
  } | undefined;
10710
12211
  };
10711
12212
  }>, z.ZodArray<z.ZodObject<{
10712
- message: z.ZodOptional<z.ZodString>;
12213
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
12214
+ content: z.ZodString;
12215
+ transform: z.ZodOptional<z.ZodBoolean>;
12216
+ }, "strip", z.ZodTypeAny, {
12217
+ content: string;
12218
+ transform?: boolean | undefined;
12219
+ }, {
12220
+ content: string;
12221
+ transform?: boolean | undefined;
12222
+ }>]>>;
10713
12223
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
10714
12224
  to: z.ZodOptional<z.ZodString>;
10715
12225
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -10844,7 +12354,10 @@ declare module '@scout9/app/schemas' {
10844
12354
  keywords: z.ZodArray<z.ZodString, "many">;
10845
12355
  }, "strip", z.ZodTypeAny, {
10846
12356
  keywords: string[];
10847
- message?: string | undefined;
12357
+ message?: string | {
12358
+ content: string;
12359
+ transform?: boolean | undefined;
12360
+ } | undefined;
10848
12361
  forward?: string | boolean | {
10849
12362
  to?: string | undefined;
10850
12363
  mode?: "after-reply" | "immediately" | undefined;
@@ -10894,7 +12407,10 @@ declare module '@scout9/app/schemas' {
10894
12407
  } | undefined;
10895
12408
  }, {
10896
12409
  keywords: string[];
10897
- message?: string | undefined;
12410
+ message?: string | {
12411
+ content: string;
12412
+ transform?: boolean | undefined;
12413
+ } | undefined;
10898
12414
  forward?: string | boolean | {
10899
12415
  to?: string | undefined;
10900
12416
  mode?: "after-reply" | "immediately" | undefined;
@@ -10944,7 +12460,10 @@ declare module '@scout9/app/schemas' {
10944
12460
  } | undefined;
10945
12461
  }>, "many">]>>;
10946
12462
  }, "strip", z.ZodTypeAny, {
10947
- message?: string | undefined;
12463
+ message?: string | {
12464
+ content: string;
12465
+ transform?: boolean | undefined;
12466
+ } | undefined;
10948
12467
  forward?: string | boolean | {
10949
12468
  to?: string | undefined;
10950
12469
  mode?: "after-reply" | "immediately" | undefined;
@@ -11011,7 +12530,10 @@ declare module '@scout9/app/schemas' {
11011
12530
  persist?: boolean | undefined;
11012
12531
  })[] | undefined;
11013
12532
  removeInstructions?: string[] | undefined;
11014
- message?: string | undefined;
12533
+ message?: string | {
12534
+ content: string;
12535
+ transform?: boolean | undefined;
12536
+ } | undefined;
11015
12537
  secondsDelay?: number | undefined;
11016
12538
  scheduled?: number | undefined;
11017
12539
  contextUpsert?: Record<string, any> | undefined;
@@ -11061,7 +12583,10 @@ declare module '@scout9/app/schemas' {
11061
12583
  persist?: boolean | undefined;
11062
12584
  })[] | undefined;
11063
12585
  removeInstructions?: string[] | undefined;
11064
- message?: string | undefined;
12586
+ message?: string | {
12587
+ content: string;
12588
+ transform?: boolean | undefined;
12589
+ } | undefined;
11065
12590
  secondsDelay?: number | undefined;
11066
12591
  scheduled?: number | undefined;
11067
12592
  contextUpsert?: Record<string, any> | undefined;
@@ -11096,7 +12621,10 @@ declare module '@scout9/app/schemas' {
11096
12621
  };
11097
12622
  } | {
11098
12623
  keywords: string[];
11099
- message?: string | undefined;
12624
+ message?: string | {
12625
+ content: string;
12626
+ transform?: boolean | undefined;
12627
+ } | undefined;
11100
12628
  forward?: string | boolean | {
11101
12629
  to?: string | undefined;
11102
12630
  mode?: "after-reply" | "immediately" | undefined;
@@ -11146,7 +12674,10 @@ declare module '@scout9/app/schemas' {
11146
12674
  } | undefined;
11147
12675
  }[] | undefined;
11148
12676
  }, {
11149
- message?: string | undefined;
12677
+ message?: string | {
12678
+ content: string;
12679
+ transform?: boolean | undefined;
12680
+ } | undefined;
11150
12681
  forward?: string | boolean | {
11151
12682
  to?: string | undefined;
11152
12683
  mode?: "after-reply" | "immediately" | undefined;
@@ -11213,7 +12744,10 @@ declare module '@scout9/app/schemas' {
11213
12744
  persist?: boolean | undefined;
11214
12745
  })[] | undefined;
11215
12746
  removeInstructions?: string[] | undefined;
11216
- message?: string | undefined;
12747
+ message?: string | {
12748
+ content: string;
12749
+ transform?: boolean | undefined;
12750
+ } | undefined;
11217
12751
  secondsDelay?: number | undefined;
11218
12752
  scheduled?: number | undefined;
11219
12753
  contextUpsert?: Record<string, any> | undefined;
@@ -11263,7 +12797,10 @@ declare module '@scout9/app/schemas' {
11263
12797
  persist?: boolean | undefined;
11264
12798
  })[] | undefined;
11265
12799
  removeInstructions?: string[] | undefined;
11266
- message?: string | undefined;
12800
+ message?: string | {
12801
+ content: string;
12802
+ transform?: boolean | undefined;
12803
+ } | undefined;
11267
12804
  secondsDelay?: number | undefined;
11268
12805
  scheduled?: number | undefined;
11269
12806
  contextUpsert?: Record<string, any> | undefined;
@@ -11298,7 +12835,10 @@ declare module '@scout9/app/schemas' {
11298
12835
  };
11299
12836
  } | {
11300
12837
  keywords: string[];
11301
- message?: string | undefined;
12838
+ message?: string | {
12839
+ content: string;
12840
+ transform?: boolean | undefined;
12841
+ } | undefined;
11302
12842
  forward?: string | boolean | {
11303
12843
  to?: string | undefined;
11304
12844
  mode?: "after-reply" | "immediately" | undefined;
@@ -11348,7 +12888,16 @@ declare module '@scout9/app/schemas' {
11348
12888
  } | undefined;
11349
12889
  }[] | undefined;
11350
12890
  }>, z.ZodArray<z.ZodObject<{
11351
- message: z.ZodOptional<z.ZodString>;
12891
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
12892
+ content: z.ZodString;
12893
+ transform: z.ZodOptional<z.ZodBoolean>;
12894
+ }, "strip", z.ZodTypeAny, {
12895
+ content: string;
12896
+ transform?: boolean | undefined;
12897
+ }, {
12898
+ content: string;
12899
+ transform?: boolean | undefined;
12900
+ }>]>>;
11352
12901
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
11353
12902
  to: z.ZodOptional<z.ZodString>;
11354
12903
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -11523,7 +13072,16 @@ declare module '@scout9/app/schemas' {
11523
13072
  persist?: boolean | undefined;
11524
13073
  }>]>, "many">]>>;
11525
13074
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11526
- message: z.ZodOptional<z.ZodString>;
13075
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
13076
+ content: z.ZodString;
13077
+ transform: z.ZodOptional<z.ZodBoolean>;
13078
+ }, "strip", z.ZodTypeAny, {
13079
+ content: string;
13080
+ transform?: boolean | undefined;
13081
+ }, {
13082
+ content: string;
13083
+ transform?: boolean | undefined;
13084
+ }>]>>;
11527
13085
  secondsDelay: z.ZodOptional<z.ZodNumber>;
11528
13086
  scheduled: z.ZodOptional<z.ZodNumber>;
11529
13087
  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 +13190,10 @@ declare module '@scout9/app/schemas' {
11632
13190
  persist?: boolean | undefined;
11633
13191
  })[] | undefined;
11634
13192
  removeInstructions?: string[] | undefined;
11635
- message?: string | undefined;
13193
+ message?: string | {
13194
+ content: string;
13195
+ transform?: boolean | undefined;
13196
+ } | undefined;
11636
13197
  secondsDelay?: number | undefined;
11637
13198
  scheduled?: number | undefined;
11638
13199
  contextUpsert?: Record<string, any> | undefined;
@@ -11681,7 +13242,10 @@ declare module '@scout9/app/schemas' {
11681
13242
  persist?: boolean | undefined;
11682
13243
  })[] | undefined;
11683
13244
  removeInstructions?: string[] | undefined;
11684
- message?: string | undefined;
13245
+ message?: string | {
13246
+ content: string;
13247
+ transform?: boolean | undefined;
13248
+ } | undefined;
11685
13249
  secondsDelay?: number | undefined;
11686
13250
  scheduled?: number | undefined;
11687
13251
  contextUpsert?: Record<string, any> | undefined;
@@ -11755,7 +13319,16 @@ declare module '@scout9/app/schemas' {
11755
13319
  persist?: boolean | undefined;
11756
13320
  }>]>, "many">]>>;
11757
13321
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11758
- message: z.ZodOptional<z.ZodString>;
13322
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
13323
+ content: z.ZodString;
13324
+ transform: z.ZodOptional<z.ZodBoolean>;
13325
+ }, "strip", z.ZodTypeAny, {
13326
+ content: string;
13327
+ transform?: boolean | undefined;
13328
+ }, {
13329
+ content: string;
13330
+ transform?: boolean | undefined;
13331
+ }>]>>;
11759
13332
  secondsDelay: z.ZodOptional<z.ZodNumber>;
11760
13333
  scheduled: z.ZodOptional<z.ZodNumber>;
11761
13334
  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 +13437,10 @@ declare module '@scout9/app/schemas' {
11864
13437
  persist?: boolean | undefined;
11865
13438
  })[] | undefined;
11866
13439
  removeInstructions?: string[] | undefined;
11867
- message?: string | undefined;
13440
+ message?: string | {
13441
+ content: string;
13442
+ transform?: boolean | undefined;
13443
+ } | undefined;
11868
13444
  secondsDelay?: number | undefined;
11869
13445
  scheduled?: number | undefined;
11870
13446
  contextUpsert?: Record<string, any> | undefined;
@@ -11913,7 +13489,10 @@ declare module '@scout9/app/schemas' {
11913
13489
  persist?: boolean | undefined;
11914
13490
  })[] | undefined;
11915
13491
  removeInstructions?: string[] | undefined;
11916
- message?: string | undefined;
13492
+ message?: string | {
13493
+ content: string;
13494
+ transform?: boolean | undefined;
13495
+ } | undefined;
11917
13496
  secondsDelay?: number | undefined;
11918
13497
  scheduled?: number | undefined;
11919
13498
  contextUpsert?: Record<string, any> | undefined;
@@ -11965,7 +13544,10 @@ declare module '@scout9/app/schemas' {
11965
13544
  persist?: boolean | undefined;
11966
13545
  })[] | undefined;
11967
13546
  removeInstructions?: string[] | undefined;
11968
- message?: string | undefined;
13547
+ message?: string | {
13548
+ content: string;
13549
+ transform?: boolean | undefined;
13550
+ } | undefined;
11969
13551
  secondsDelay?: number | undefined;
11970
13552
  scheduled?: number | undefined;
11971
13553
  contextUpsert?: Record<string, any> | undefined;
@@ -12015,7 +13597,10 @@ declare module '@scout9/app/schemas' {
12015
13597
  persist?: boolean | undefined;
12016
13598
  })[] | undefined;
12017
13599
  removeInstructions?: string[] | undefined;
12018
- message?: string | undefined;
13600
+ message?: string | {
13601
+ content: string;
13602
+ transform?: boolean | undefined;
13603
+ } | undefined;
12019
13604
  secondsDelay?: number | undefined;
12020
13605
  scheduled?: number | undefined;
12021
13606
  contextUpsert?: Record<string, any> | undefined;
@@ -12067,7 +13652,10 @@ declare module '@scout9/app/schemas' {
12067
13652
  persist?: boolean | undefined;
12068
13653
  })[] | undefined;
12069
13654
  removeInstructions?: string[] | undefined;
12070
- message?: string | undefined;
13655
+ message?: string | {
13656
+ content: string;
13657
+ transform?: boolean | undefined;
13658
+ } | undefined;
12071
13659
  secondsDelay?: number | undefined;
12072
13660
  scheduled?: number | undefined;
12073
13661
  contextUpsert?: Record<string, any> | undefined;
@@ -12117,7 +13705,10 @@ declare module '@scout9/app/schemas' {
12117
13705
  persist?: boolean | undefined;
12118
13706
  })[] | undefined;
12119
13707
  removeInstructions?: string[] | undefined;
12120
- message?: string | undefined;
13708
+ message?: string | {
13709
+ content: string;
13710
+ transform?: boolean | undefined;
13711
+ } | undefined;
12121
13712
  secondsDelay?: number | undefined;
12122
13713
  scheduled?: number | undefined;
12123
13714
  contextUpsert?: Record<string, any> | undefined;
@@ -12151,7 +13742,16 @@ declare module '@scout9/app/schemas' {
12151
13742
  } | undefined;
12152
13743
  };
12153
13744
  }>, z.ZodArray<z.ZodObject<{
12154
- message: z.ZodOptional<z.ZodString>;
13745
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
13746
+ content: z.ZodString;
13747
+ transform: z.ZodOptional<z.ZodBoolean>;
13748
+ }, "strip", z.ZodTypeAny, {
13749
+ content: string;
13750
+ transform?: boolean | undefined;
13751
+ }, {
13752
+ content: string;
13753
+ transform?: boolean | undefined;
13754
+ }>]>>;
12155
13755
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
12156
13756
  to: z.ZodOptional<z.ZodString>;
12157
13757
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -12286,7 +13886,10 @@ declare module '@scout9/app/schemas' {
12286
13886
  keywords: z.ZodArray<z.ZodString, "many">;
12287
13887
  }, "strip", z.ZodTypeAny, {
12288
13888
  keywords: string[];
12289
- message?: string | undefined;
13889
+ message?: string | {
13890
+ content: string;
13891
+ transform?: boolean | undefined;
13892
+ } | undefined;
12290
13893
  forward?: string | boolean | {
12291
13894
  to?: string | undefined;
12292
13895
  mode?: "after-reply" | "immediately" | undefined;
@@ -12336,7 +13939,10 @@ declare module '@scout9/app/schemas' {
12336
13939
  } | undefined;
12337
13940
  }, {
12338
13941
  keywords: string[];
12339
- message?: string | undefined;
13942
+ message?: string | {
13943
+ content: string;
13944
+ transform?: boolean | undefined;
13945
+ } | undefined;
12340
13946
  forward?: string | boolean | {
12341
13947
  to?: string | undefined;
12342
13948
  mode?: "after-reply" | "immediately" | undefined;
@@ -12386,7 +13992,10 @@ declare module '@scout9/app/schemas' {
12386
13992
  } | undefined;
12387
13993
  }>, "many">]>>;
12388
13994
  }, "strip", z.ZodTypeAny, {
12389
- message?: string | undefined;
13995
+ message?: string | {
13996
+ content: string;
13997
+ transform?: boolean | undefined;
13998
+ } | undefined;
12390
13999
  forward?: string | boolean | {
12391
14000
  to?: string | undefined;
12392
14001
  mode?: "after-reply" | "immediately" | undefined;
@@ -12453,7 +14062,10 @@ declare module '@scout9/app/schemas' {
12453
14062
  persist?: boolean | undefined;
12454
14063
  })[] | undefined;
12455
14064
  removeInstructions?: string[] | undefined;
12456
- message?: string | undefined;
14065
+ message?: string | {
14066
+ content: string;
14067
+ transform?: boolean | undefined;
14068
+ } | undefined;
12457
14069
  secondsDelay?: number | undefined;
12458
14070
  scheduled?: number | undefined;
12459
14071
  contextUpsert?: Record<string, any> | undefined;
@@ -12503,7 +14115,10 @@ declare module '@scout9/app/schemas' {
12503
14115
  persist?: boolean | undefined;
12504
14116
  })[] | undefined;
12505
14117
  removeInstructions?: string[] | undefined;
12506
- message?: string | undefined;
14118
+ message?: string | {
14119
+ content: string;
14120
+ transform?: boolean | undefined;
14121
+ } | undefined;
12507
14122
  secondsDelay?: number | undefined;
12508
14123
  scheduled?: number | undefined;
12509
14124
  contextUpsert?: Record<string, any> | undefined;
@@ -12538,7 +14153,10 @@ declare module '@scout9/app/schemas' {
12538
14153
  };
12539
14154
  } | {
12540
14155
  keywords: string[];
12541
- message?: string | undefined;
14156
+ message?: string | {
14157
+ content: string;
14158
+ transform?: boolean | undefined;
14159
+ } | undefined;
12542
14160
  forward?: string | boolean | {
12543
14161
  to?: string | undefined;
12544
14162
  mode?: "after-reply" | "immediately" | undefined;
@@ -12588,7 +14206,10 @@ declare module '@scout9/app/schemas' {
12588
14206
  } | undefined;
12589
14207
  }[] | undefined;
12590
14208
  }, {
12591
- message?: string | undefined;
14209
+ message?: string | {
14210
+ content: string;
14211
+ transform?: boolean | undefined;
14212
+ } | undefined;
12592
14213
  forward?: string | boolean | {
12593
14214
  to?: string | undefined;
12594
14215
  mode?: "after-reply" | "immediately" | undefined;
@@ -12655,7 +14276,10 @@ declare module '@scout9/app/schemas' {
12655
14276
  persist?: boolean | undefined;
12656
14277
  })[] | undefined;
12657
14278
  removeInstructions?: string[] | undefined;
12658
- message?: string | undefined;
14279
+ message?: string | {
14280
+ content: string;
14281
+ transform?: boolean | undefined;
14282
+ } | undefined;
12659
14283
  secondsDelay?: number | undefined;
12660
14284
  scheduled?: number | undefined;
12661
14285
  contextUpsert?: Record<string, any> | undefined;
@@ -12705,7 +14329,10 @@ declare module '@scout9/app/schemas' {
12705
14329
  persist?: boolean | undefined;
12706
14330
  })[] | undefined;
12707
14331
  removeInstructions?: string[] | undefined;
12708
- message?: string | undefined;
14332
+ message?: string | {
14333
+ content: string;
14334
+ transform?: boolean | undefined;
14335
+ } | undefined;
12709
14336
  secondsDelay?: number | undefined;
12710
14337
  scheduled?: number | undefined;
12711
14338
  contextUpsert?: Record<string, any> | undefined;
@@ -12740,7 +14367,10 @@ declare module '@scout9/app/schemas' {
12740
14367
  };
12741
14368
  } | {
12742
14369
  keywords: string[];
12743
- message?: string | undefined;
14370
+ message?: string | {
14371
+ content: string;
14372
+ transform?: boolean | undefined;
14373
+ } | undefined;
12744
14374
  forward?: string | boolean | {
12745
14375
  to?: string | undefined;
12746
14376
  mode?: "after-reply" | "immediately" | undefined;
@@ -12790,7 +14420,16 @@ declare module '@scout9/app/schemas' {
12790
14420
  } | undefined;
12791
14421
  }[] | undefined;
12792
14422
  }>, "many">]>>, z.ZodUnion<[z.ZodObject<{
12793
- message: z.ZodOptional<z.ZodString>;
14423
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
14424
+ content: z.ZodString;
14425
+ transform: z.ZodOptional<z.ZodBoolean>;
14426
+ }, "strip", z.ZodTypeAny, {
14427
+ content: string;
14428
+ transform?: boolean | undefined;
14429
+ }, {
14430
+ content: string;
14431
+ transform?: boolean | undefined;
14432
+ }>]>>;
12794
14433
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
12795
14434
  to: z.ZodOptional<z.ZodString>;
12796
14435
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -12965,7 +14604,16 @@ declare module '@scout9/app/schemas' {
12965
14604
  persist?: boolean | undefined;
12966
14605
  }>]>, "many">]>>;
12967
14606
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12968
- message: z.ZodOptional<z.ZodString>;
14607
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
14608
+ content: z.ZodString;
14609
+ transform: z.ZodOptional<z.ZodBoolean>;
14610
+ }, "strip", z.ZodTypeAny, {
14611
+ content: string;
14612
+ transform?: boolean | undefined;
14613
+ }, {
14614
+ content: string;
14615
+ transform?: boolean | undefined;
14616
+ }>]>>;
12969
14617
  secondsDelay: z.ZodOptional<z.ZodNumber>;
12970
14618
  scheduled: z.ZodOptional<z.ZodNumber>;
12971
14619
  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 +14722,10 @@ declare module '@scout9/app/schemas' {
13074
14722
  persist?: boolean | undefined;
13075
14723
  })[] | undefined;
13076
14724
  removeInstructions?: string[] | undefined;
13077
- message?: string | undefined;
14725
+ message?: string | {
14726
+ content: string;
14727
+ transform?: boolean | undefined;
14728
+ } | undefined;
13078
14729
  secondsDelay?: number | undefined;
13079
14730
  scheduled?: number | undefined;
13080
14731
  contextUpsert?: Record<string, any> | undefined;
@@ -13123,7 +14774,10 @@ declare module '@scout9/app/schemas' {
13123
14774
  persist?: boolean | undefined;
13124
14775
  })[] | undefined;
13125
14776
  removeInstructions?: string[] | undefined;
13126
- message?: string | undefined;
14777
+ message?: string | {
14778
+ content: string;
14779
+ transform?: boolean | undefined;
14780
+ } | undefined;
13127
14781
  secondsDelay?: number | undefined;
13128
14782
  scheduled?: number | undefined;
13129
14783
  contextUpsert?: Record<string, any> | undefined;
@@ -13197,7 +14851,16 @@ declare module '@scout9/app/schemas' {
13197
14851
  persist?: boolean | undefined;
13198
14852
  }>]>, "many">]>>;
13199
14853
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13200
- message: z.ZodOptional<z.ZodString>;
14854
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
14855
+ content: z.ZodString;
14856
+ transform: z.ZodOptional<z.ZodBoolean>;
14857
+ }, "strip", z.ZodTypeAny, {
14858
+ content: string;
14859
+ transform?: boolean | undefined;
14860
+ }, {
14861
+ content: string;
14862
+ transform?: boolean | undefined;
14863
+ }>]>>;
13201
14864
  secondsDelay: z.ZodOptional<z.ZodNumber>;
13202
14865
  scheduled: z.ZodOptional<z.ZodNumber>;
13203
14866
  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 +14969,10 @@ declare module '@scout9/app/schemas' {
13306
14969
  persist?: boolean | undefined;
13307
14970
  })[] | undefined;
13308
14971
  removeInstructions?: string[] | undefined;
13309
- message?: string | undefined;
14972
+ message?: string | {
14973
+ content: string;
14974
+ transform?: boolean | undefined;
14975
+ } | undefined;
13310
14976
  secondsDelay?: number | undefined;
13311
14977
  scheduled?: number | undefined;
13312
14978
  contextUpsert?: Record<string, any> | undefined;
@@ -13355,7 +15021,10 @@ declare module '@scout9/app/schemas' {
13355
15021
  persist?: boolean | undefined;
13356
15022
  })[] | undefined;
13357
15023
  removeInstructions?: string[] | undefined;
13358
- message?: string | undefined;
15024
+ message?: string | {
15025
+ content: string;
15026
+ transform?: boolean | undefined;
15027
+ } | undefined;
13359
15028
  secondsDelay?: number | undefined;
13360
15029
  scheduled?: number | undefined;
13361
15030
  contextUpsert?: Record<string, any> | undefined;
@@ -13407,7 +15076,10 @@ declare module '@scout9/app/schemas' {
13407
15076
  persist?: boolean | undefined;
13408
15077
  })[] | undefined;
13409
15078
  removeInstructions?: string[] | undefined;
13410
- message?: string | undefined;
15079
+ message?: string | {
15080
+ content: string;
15081
+ transform?: boolean | undefined;
15082
+ } | undefined;
13411
15083
  secondsDelay?: number | undefined;
13412
15084
  scheduled?: number | undefined;
13413
15085
  contextUpsert?: Record<string, any> | undefined;
@@ -13457,7 +15129,10 @@ declare module '@scout9/app/schemas' {
13457
15129
  persist?: boolean | undefined;
13458
15130
  })[] | undefined;
13459
15131
  removeInstructions?: string[] | undefined;
13460
- message?: string | undefined;
15132
+ message?: string | {
15133
+ content: string;
15134
+ transform?: boolean | undefined;
15135
+ } | undefined;
13461
15136
  secondsDelay?: number | undefined;
13462
15137
  scheduled?: number | undefined;
13463
15138
  contextUpsert?: Record<string, any> | undefined;
@@ -13509,7 +15184,10 @@ declare module '@scout9/app/schemas' {
13509
15184
  persist?: boolean | undefined;
13510
15185
  })[] | undefined;
13511
15186
  removeInstructions?: string[] | undefined;
13512
- message?: string | undefined;
15187
+ message?: string | {
15188
+ content: string;
15189
+ transform?: boolean | undefined;
15190
+ } | undefined;
13513
15191
  secondsDelay?: number | undefined;
13514
15192
  scheduled?: number | undefined;
13515
15193
  contextUpsert?: Record<string, any> | undefined;
@@ -13559,7 +15237,10 @@ declare module '@scout9/app/schemas' {
13559
15237
  persist?: boolean | undefined;
13560
15238
  })[] | undefined;
13561
15239
  removeInstructions?: string[] | undefined;
13562
- message?: string | undefined;
15240
+ message?: string | {
15241
+ content: string;
15242
+ transform?: boolean | undefined;
15243
+ } | undefined;
13563
15244
  secondsDelay?: number | undefined;
13564
15245
  scheduled?: number | undefined;
13565
15246
  contextUpsert?: Record<string, any> | undefined;
@@ -13593,7 +15274,16 @@ declare module '@scout9/app/schemas' {
13593
15274
  } | undefined;
13594
15275
  };
13595
15276
  }>, z.ZodArray<z.ZodObject<{
13596
- message: z.ZodOptional<z.ZodString>;
15277
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
15278
+ content: z.ZodString;
15279
+ transform: z.ZodOptional<z.ZodBoolean>;
15280
+ }, "strip", z.ZodTypeAny, {
15281
+ content: string;
15282
+ transform?: boolean | undefined;
15283
+ }, {
15284
+ content: string;
15285
+ transform?: boolean | undefined;
15286
+ }>]>>;
13597
15287
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
13598
15288
  to: z.ZodOptional<z.ZodString>;
13599
15289
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -13728,7 +15418,10 @@ declare module '@scout9/app/schemas' {
13728
15418
  keywords: z.ZodArray<z.ZodString, "many">;
13729
15419
  }, "strip", z.ZodTypeAny, {
13730
15420
  keywords: string[];
13731
- message?: string | undefined;
15421
+ message?: string | {
15422
+ content: string;
15423
+ transform?: boolean | undefined;
15424
+ } | undefined;
13732
15425
  forward?: string | boolean | {
13733
15426
  to?: string | undefined;
13734
15427
  mode?: "after-reply" | "immediately" | undefined;
@@ -13778,7 +15471,10 @@ declare module '@scout9/app/schemas' {
13778
15471
  } | undefined;
13779
15472
  }, {
13780
15473
  keywords: string[];
13781
- message?: string | undefined;
15474
+ message?: string | {
15475
+ content: string;
15476
+ transform?: boolean | undefined;
15477
+ } | undefined;
13782
15478
  forward?: string | boolean | {
13783
15479
  to?: string | undefined;
13784
15480
  mode?: "after-reply" | "immediately" | undefined;
@@ -13828,7 +15524,10 @@ declare module '@scout9/app/schemas' {
13828
15524
  } | undefined;
13829
15525
  }>, "many">]>>;
13830
15526
  }, "strip", z.ZodTypeAny, {
13831
- message?: string | undefined;
15527
+ message?: string | {
15528
+ content: string;
15529
+ transform?: boolean | undefined;
15530
+ } | undefined;
13832
15531
  forward?: string | boolean | {
13833
15532
  to?: string | undefined;
13834
15533
  mode?: "after-reply" | "immediately" | undefined;
@@ -13895,7 +15594,10 @@ declare module '@scout9/app/schemas' {
13895
15594
  persist?: boolean | undefined;
13896
15595
  })[] | undefined;
13897
15596
  removeInstructions?: string[] | undefined;
13898
- message?: string | undefined;
15597
+ message?: string | {
15598
+ content: string;
15599
+ transform?: boolean | undefined;
15600
+ } | undefined;
13899
15601
  secondsDelay?: number | undefined;
13900
15602
  scheduled?: number | undefined;
13901
15603
  contextUpsert?: Record<string, any> | undefined;
@@ -13945,7 +15647,10 @@ declare module '@scout9/app/schemas' {
13945
15647
  persist?: boolean | undefined;
13946
15648
  })[] | undefined;
13947
15649
  removeInstructions?: string[] | undefined;
13948
- message?: string | undefined;
15650
+ message?: string | {
15651
+ content: string;
15652
+ transform?: boolean | undefined;
15653
+ } | undefined;
13949
15654
  secondsDelay?: number | undefined;
13950
15655
  scheduled?: number | undefined;
13951
15656
  contextUpsert?: Record<string, any> | undefined;
@@ -13980,7 +15685,10 @@ declare module '@scout9/app/schemas' {
13980
15685
  };
13981
15686
  } | {
13982
15687
  keywords: string[];
13983
- message?: string | undefined;
15688
+ message?: string | {
15689
+ content: string;
15690
+ transform?: boolean | undefined;
15691
+ } | undefined;
13984
15692
  forward?: string | boolean | {
13985
15693
  to?: string | undefined;
13986
15694
  mode?: "after-reply" | "immediately" | undefined;
@@ -14030,7 +15738,10 @@ declare module '@scout9/app/schemas' {
14030
15738
  } | undefined;
14031
15739
  }[] | undefined;
14032
15740
  }, {
14033
- message?: string | undefined;
15741
+ message?: string | {
15742
+ content: string;
15743
+ transform?: boolean | undefined;
15744
+ } | undefined;
14034
15745
  forward?: string | boolean | {
14035
15746
  to?: string | undefined;
14036
15747
  mode?: "after-reply" | "immediately" | undefined;
@@ -14097,7 +15808,10 @@ declare module '@scout9/app/schemas' {
14097
15808
  persist?: boolean | undefined;
14098
15809
  })[] | undefined;
14099
15810
  removeInstructions?: string[] | undefined;
14100
- message?: string | undefined;
15811
+ message?: string | {
15812
+ content: string;
15813
+ transform?: boolean | undefined;
15814
+ } | undefined;
14101
15815
  secondsDelay?: number | undefined;
14102
15816
  scheduled?: number | undefined;
14103
15817
  contextUpsert?: Record<string, any> | undefined;
@@ -14147,7 +15861,10 @@ declare module '@scout9/app/schemas' {
14147
15861
  persist?: boolean | undefined;
14148
15862
  })[] | undefined;
14149
15863
  removeInstructions?: string[] | undefined;
14150
- message?: string | undefined;
15864
+ message?: string | {
15865
+ content: string;
15866
+ transform?: boolean | undefined;
15867
+ } | undefined;
14151
15868
  secondsDelay?: number | undefined;
14152
15869
  scheduled?: number | undefined;
14153
15870
  contextUpsert?: Record<string, any> | undefined;
@@ -14182,7 +15899,10 @@ declare module '@scout9/app/schemas' {
14182
15899
  };
14183
15900
  } | {
14184
15901
  keywords: string[];
14185
- message?: string | undefined;
15902
+ message?: string | {
15903
+ content: string;
15904
+ transform?: boolean | undefined;
15905
+ } | undefined;
14186
15906
  forward?: string | boolean | {
14187
15907
  to?: string | undefined;
14188
15908
  mode?: "after-reply" | "immediately" | undefined;
@@ -14232,7 +15952,16 @@ declare module '@scout9/app/schemas' {
14232
15952
  } | undefined;
14233
15953
  }[] | undefined;
14234
15954
  }>, z.ZodArray<z.ZodObject<{
14235
- message: z.ZodOptional<z.ZodString>;
15955
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
15956
+ content: z.ZodString;
15957
+ transform: z.ZodOptional<z.ZodBoolean>;
15958
+ }, "strip", z.ZodTypeAny, {
15959
+ content: string;
15960
+ transform?: boolean | undefined;
15961
+ }, {
15962
+ content: string;
15963
+ transform?: boolean | undefined;
15964
+ }>]>>;
14236
15965
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
14237
15966
  to: z.ZodOptional<z.ZodString>;
14238
15967
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -14407,7 +16136,16 @@ declare module '@scout9/app/schemas' {
14407
16136
  persist?: boolean | undefined;
14408
16137
  }>]>, "many">]>>;
14409
16138
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14410
- message: z.ZodOptional<z.ZodString>;
16139
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
16140
+ content: z.ZodString;
16141
+ transform: z.ZodOptional<z.ZodBoolean>;
16142
+ }, "strip", z.ZodTypeAny, {
16143
+ content: string;
16144
+ transform?: boolean | undefined;
16145
+ }, {
16146
+ content: string;
16147
+ transform?: boolean | undefined;
16148
+ }>]>>;
14411
16149
  secondsDelay: z.ZodOptional<z.ZodNumber>;
14412
16150
  scheduled: z.ZodOptional<z.ZodNumber>;
14413
16151
  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 +16254,10 @@ declare module '@scout9/app/schemas' {
14516
16254
  persist?: boolean | undefined;
14517
16255
  })[] | undefined;
14518
16256
  removeInstructions?: string[] | undefined;
14519
- message?: string | undefined;
16257
+ message?: string | {
16258
+ content: string;
16259
+ transform?: boolean | undefined;
16260
+ } | undefined;
14520
16261
  secondsDelay?: number | undefined;
14521
16262
  scheduled?: number | undefined;
14522
16263
  contextUpsert?: Record<string, any> | undefined;
@@ -14565,7 +16306,10 @@ declare module '@scout9/app/schemas' {
14565
16306
  persist?: boolean | undefined;
14566
16307
  })[] | undefined;
14567
16308
  removeInstructions?: string[] | undefined;
14568
- message?: string | undefined;
16309
+ message?: string | {
16310
+ content: string;
16311
+ transform?: boolean | undefined;
16312
+ } | undefined;
14569
16313
  secondsDelay?: number | undefined;
14570
16314
  scheduled?: number | undefined;
14571
16315
  contextUpsert?: Record<string, any> | undefined;
@@ -14639,7 +16383,16 @@ declare module '@scout9/app/schemas' {
14639
16383
  persist?: boolean | undefined;
14640
16384
  }>]>, "many">]>>;
14641
16385
  removeInstructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14642
- message: z.ZodOptional<z.ZodString>;
16386
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
16387
+ content: z.ZodString;
16388
+ transform: z.ZodOptional<z.ZodBoolean>;
16389
+ }, "strip", z.ZodTypeAny, {
16390
+ content: string;
16391
+ transform?: boolean | undefined;
16392
+ }, {
16393
+ content: string;
16394
+ transform?: boolean | undefined;
16395
+ }>]>>;
14643
16396
  secondsDelay: z.ZodOptional<z.ZodNumber>;
14644
16397
  scheduled: z.ZodOptional<z.ZodNumber>;
14645
16398
  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 +16501,10 @@ declare module '@scout9/app/schemas' {
14748
16501
  persist?: boolean | undefined;
14749
16502
  })[] | undefined;
14750
16503
  removeInstructions?: string[] | undefined;
14751
- message?: string | undefined;
16504
+ message?: string | {
16505
+ content: string;
16506
+ transform?: boolean | undefined;
16507
+ } | undefined;
14752
16508
  secondsDelay?: number | undefined;
14753
16509
  scheduled?: number | undefined;
14754
16510
  contextUpsert?: Record<string, any> | undefined;
@@ -14797,7 +16553,10 @@ declare module '@scout9/app/schemas' {
14797
16553
  persist?: boolean | undefined;
14798
16554
  })[] | undefined;
14799
16555
  removeInstructions?: string[] | undefined;
14800
- message?: string | undefined;
16556
+ message?: string | {
16557
+ content: string;
16558
+ transform?: boolean | undefined;
16559
+ } | undefined;
14801
16560
  secondsDelay?: number | undefined;
14802
16561
  scheduled?: number | undefined;
14803
16562
  contextUpsert?: Record<string, any> | undefined;
@@ -14849,7 +16608,10 @@ declare module '@scout9/app/schemas' {
14849
16608
  persist?: boolean | undefined;
14850
16609
  })[] | undefined;
14851
16610
  removeInstructions?: string[] | undefined;
14852
- message?: string | undefined;
16611
+ message?: string | {
16612
+ content: string;
16613
+ transform?: boolean | undefined;
16614
+ } | undefined;
14853
16615
  secondsDelay?: number | undefined;
14854
16616
  scheduled?: number | undefined;
14855
16617
  contextUpsert?: Record<string, any> | undefined;
@@ -14899,7 +16661,10 @@ declare module '@scout9/app/schemas' {
14899
16661
  persist?: boolean | undefined;
14900
16662
  })[] | undefined;
14901
16663
  removeInstructions?: string[] | undefined;
14902
- message?: string | undefined;
16664
+ message?: string | {
16665
+ content: string;
16666
+ transform?: boolean | undefined;
16667
+ } | undefined;
14903
16668
  secondsDelay?: number | undefined;
14904
16669
  scheduled?: number | undefined;
14905
16670
  contextUpsert?: Record<string, any> | undefined;
@@ -14951,7 +16716,10 @@ declare module '@scout9/app/schemas' {
14951
16716
  persist?: boolean | undefined;
14952
16717
  })[] | undefined;
14953
16718
  removeInstructions?: string[] | undefined;
14954
- message?: string | undefined;
16719
+ message?: string | {
16720
+ content: string;
16721
+ transform?: boolean | undefined;
16722
+ } | undefined;
14955
16723
  secondsDelay?: number | undefined;
14956
16724
  scheduled?: number | undefined;
14957
16725
  contextUpsert?: Record<string, any> | undefined;
@@ -15001,7 +16769,10 @@ declare module '@scout9/app/schemas' {
15001
16769
  persist?: boolean | undefined;
15002
16770
  })[] | undefined;
15003
16771
  removeInstructions?: string[] | undefined;
15004
- message?: string | undefined;
16772
+ message?: string | {
16773
+ content: string;
16774
+ transform?: boolean | undefined;
16775
+ } | undefined;
15005
16776
  secondsDelay?: number | undefined;
15006
16777
  scheduled?: number | undefined;
15007
16778
  contextUpsert?: Record<string, any> | undefined;
@@ -15035,7 +16806,16 @@ declare module '@scout9/app/schemas' {
15035
16806
  } | undefined;
15036
16807
  };
15037
16808
  }>, z.ZodArray<z.ZodObject<{
15038
- message: z.ZodOptional<z.ZodString>;
16809
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
16810
+ content: z.ZodString;
16811
+ transform: z.ZodOptional<z.ZodBoolean>;
16812
+ }, "strip", z.ZodTypeAny, {
16813
+ content: string;
16814
+ transform?: boolean | undefined;
16815
+ }, {
16816
+ content: string;
16817
+ transform?: boolean | undefined;
16818
+ }>]>>;
15039
16819
  forward: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
15040
16820
  to: z.ZodOptional<z.ZodString>;
15041
16821
  mode: z.ZodOptional<z.ZodEnum<["after-reply", "immediately"]>>;
@@ -15170,7 +16950,10 @@ declare module '@scout9/app/schemas' {
15170
16950
  keywords: z.ZodArray<z.ZodString, "many">;
15171
16951
  }, "strip", z.ZodTypeAny, {
15172
16952
  keywords: string[];
15173
- message?: string | undefined;
16953
+ message?: string | {
16954
+ content: string;
16955
+ transform?: boolean | undefined;
16956
+ } | undefined;
15174
16957
  forward?: string | boolean | {
15175
16958
  to?: string | undefined;
15176
16959
  mode?: "after-reply" | "immediately" | undefined;
@@ -15220,7 +17003,10 @@ declare module '@scout9/app/schemas' {
15220
17003
  } | undefined;
15221
17004
  }, {
15222
17005
  keywords: string[];
15223
- message?: string | undefined;
17006
+ message?: string | {
17007
+ content: string;
17008
+ transform?: boolean | undefined;
17009
+ } | undefined;
15224
17010
  forward?: string | boolean | {
15225
17011
  to?: string | undefined;
15226
17012
  mode?: "after-reply" | "immediately" | undefined;
@@ -15270,7 +17056,10 @@ declare module '@scout9/app/schemas' {
15270
17056
  } | undefined;
15271
17057
  }>, "many">]>>;
15272
17058
  }, "strip", z.ZodTypeAny, {
15273
- message?: string | undefined;
17059
+ message?: string | {
17060
+ content: string;
17061
+ transform?: boolean | undefined;
17062
+ } | undefined;
15274
17063
  forward?: string | boolean | {
15275
17064
  to?: string | undefined;
15276
17065
  mode?: "after-reply" | "immediately" | undefined;
@@ -15337,7 +17126,10 @@ declare module '@scout9/app/schemas' {
15337
17126
  persist?: boolean | undefined;
15338
17127
  })[] | undefined;
15339
17128
  removeInstructions?: string[] | undefined;
15340
- message?: string | undefined;
17129
+ message?: string | {
17130
+ content: string;
17131
+ transform?: boolean | undefined;
17132
+ } | undefined;
15341
17133
  secondsDelay?: number | undefined;
15342
17134
  scheduled?: number | undefined;
15343
17135
  contextUpsert?: Record<string, any> | undefined;
@@ -15387,7 +17179,10 @@ declare module '@scout9/app/schemas' {
15387
17179
  persist?: boolean | undefined;
15388
17180
  })[] | undefined;
15389
17181
  removeInstructions?: string[] | undefined;
15390
- message?: string | undefined;
17182
+ message?: string | {
17183
+ content: string;
17184
+ transform?: boolean | undefined;
17185
+ } | undefined;
15391
17186
  secondsDelay?: number | undefined;
15392
17187
  scheduled?: number | undefined;
15393
17188
  contextUpsert?: Record<string, any> | undefined;
@@ -15422,7 +17217,10 @@ declare module '@scout9/app/schemas' {
15422
17217
  };
15423
17218
  } | {
15424
17219
  keywords: string[];
15425
- message?: string | undefined;
17220
+ message?: string | {
17221
+ content: string;
17222
+ transform?: boolean | undefined;
17223
+ } | undefined;
15426
17224
  forward?: string | boolean | {
15427
17225
  to?: string | undefined;
15428
17226
  mode?: "after-reply" | "immediately" | undefined;
@@ -15472,7 +17270,10 @@ declare module '@scout9/app/schemas' {
15472
17270
  } | undefined;
15473
17271
  }[] | undefined;
15474
17272
  }, {
15475
- message?: string | undefined;
17273
+ message?: string | {
17274
+ content: string;
17275
+ transform?: boolean | undefined;
17276
+ } | undefined;
15476
17277
  forward?: string | boolean | {
15477
17278
  to?: string | undefined;
15478
17279
  mode?: "after-reply" | "immediately" | undefined;
@@ -15539,7 +17340,10 @@ declare module '@scout9/app/schemas' {
15539
17340
  persist?: boolean | undefined;
15540
17341
  })[] | undefined;
15541
17342
  removeInstructions?: string[] | undefined;
15542
- message?: string | undefined;
17343
+ message?: string | {
17344
+ content: string;
17345
+ transform?: boolean | undefined;
17346
+ } | undefined;
15543
17347
  secondsDelay?: number | undefined;
15544
17348
  scheduled?: number | undefined;
15545
17349
  contextUpsert?: Record<string, any> | undefined;
@@ -15589,7 +17393,10 @@ declare module '@scout9/app/schemas' {
15589
17393
  persist?: boolean | undefined;
15590
17394
  })[] | undefined;
15591
17395
  removeInstructions?: string[] | undefined;
15592
- message?: string | undefined;
17396
+ message?: string | {
17397
+ content: string;
17398
+ transform?: boolean | undefined;
17399
+ } | undefined;
15593
17400
  secondsDelay?: number | undefined;
15594
17401
  scheduled?: number | undefined;
15595
17402
  contextUpsert?: Record<string, any> | undefined;
@@ -15624,7 +17431,10 @@ declare module '@scout9/app/schemas' {
15624
17431
  };
15625
17432
  } | {
15626
17433
  keywords: string[];
15627
- message?: string | undefined;
17434
+ message?: string | {
17435
+ content: string;
17436
+ transform?: boolean | undefined;
17437
+ } | undefined;
15628
17438
  forward?: string | boolean | {
15629
17439
  to?: string | undefined;
15630
17440
  mode?: "after-reply" | "immediately" | undefined;