@scout9/app 1.0.0-alpha.0.5.9 → 1.0.0-alpha.0.6.1

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
@@ -493,6 +493,14 @@ declare module '@scout9/app' {
493
493
  initial: string | null;
494
494
  };
495
495
 
496
+ export type MessageEntity = {
497
+ start: number;
498
+ end: number;
499
+ type: string;
500
+ option?: string | null;
501
+ text?: string | null;
502
+ }
503
+
496
504
  export type Message = {
497
505
  /** Unique ID for the message */
498
506
  id: string;
@@ -511,6 +519,8 @@ declare module '@scout9/app' {
511
519
  intentScore?: (number | null) | undefined;
512
520
  /** How long to delay the message manually in seconds */
513
521
  delayInSeconds?: (number | null) | undefined;
522
+ /** Entities related to the message */
523
+ entities?: MessageEntity[] | null;
514
524
  };
515
525
 
516
526
  export type PersonaConfiguration = AgentConfiguration;
@@ -654,7 +664,6 @@ declare module '@scout9/app' {
654
664
  };
655
665
  };
656
666
 
657
-
658
667
  export type WorkflowsConfiguration = {
659
668
  /** Workflow id association, used to handle route params */
660
669
  entities: string[];
@@ -804,6 +813,13 @@ declare module '@scout9/app/spirits' {
804
813
  */
805
814
  message: any;
806
815
  customer: any;
816
+ /**
817
+ * - progress checklist for manual/auto ingress workflows
818
+ */
819
+ progress: any;
820
+ /**
821
+ * - event context
822
+ */
807
823
  context: any;
808
824
  };
809
825
  export type ParseOutput = {
@@ -1324,6 +1340,25 @@ declare module '@scout9/app/schemas' {
1324
1340
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1325
1341
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1326
1342
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1343
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1344
+ start: z.ZodNumber;
1345
+ end: z.ZodNumber;
1346
+ type: z.ZodString;
1347
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1348
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ type: string;
1351
+ end: number;
1352
+ start: number;
1353
+ option?: string | null | undefined;
1354
+ text?: string | null | undefined;
1355
+ }, {
1356
+ type: string;
1357
+ end: number;
1358
+ start: number;
1359
+ option?: string | null | undefined;
1360
+ text?: string | null | undefined;
1361
+ }>, "many">>>;
1327
1362
  }, "strip", z.ZodTypeAny, {
1328
1363
  time: string;
1329
1364
  id: string;
@@ -1335,6 +1370,13 @@ declare module '@scout9/app/schemas' {
1335
1370
  intent?: string | null | undefined;
1336
1371
  intentScore?: number | null | undefined;
1337
1372
  delayInSeconds?: number | null | undefined;
1373
+ entities?: {
1374
+ type: string;
1375
+ end: number;
1376
+ start: number;
1377
+ option?: string | null | undefined;
1378
+ text?: string | null | undefined;
1379
+ }[] | null | undefined;
1338
1380
  }, {
1339
1381
  time: string;
1340
1382
  id: string;
@@ -1346,20 +1388,36 @@ declare module '@scout9/app/schemas' {
1346
1388
  intent?: string | null | undefined;
1347
1389
  intentScore?: number | null | undefined;
1348
1390
  delayInSeconds?: number | null | undefined;
1391
+ entities?: {
1392
+ type: string;
1393
+ end: number;
1394
+ start: number;
1395
+ option?: string | null | undefined;
1396
+ text?: string | null | undefined;
1397
+ }[] | null | undefined;
1349
1398
  }>, "many">, "many">>;
1350
1399
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1351
1400
  pmt: z.ZodOptional<z.ZodObject<{
1352
1401
  tag: z.ZodOptional<z.ZodString>;
1353
1402
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
1354
1403
  llm: z.ZodOptional<z.ZodString>;
1404
+ webhookUri: z.ZodOptional<z.ZodString>;
1405
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
1406
+ watermark: z.ZodOptional<z.ZodString>;
1355
1407
  }, "strip", z.ZodTypeAny, {
1356
1408
  ingress: "auto" | "manual" | "app" | "workflow";
1357
1409
  tag?: string | undefined;
1358
1410
  llm?: string | undefined;
1411
+ webhookUri?: string | undefined;
1412
+ watermarkEnabled?: boolean | undefined;
1413
+ watermark?: string | undefined;
1359
1414
  }, {
1360
1415
  ingress: "auto" | "manual" | "app" | "workflow";
1361
1416
  tag?: string | undefined;
1362
1417
  llm?: string | undefined;
1418
+ webhookUri?: string | undefined;
1419
+ watermarkEnabled?: boolean | undefined;
1420
+ watermark?: string | undefined;
1363
1421
  }>>;
1364
1422
  }, "strip", z.ZodTypeAny, {
1365
1423
  title: string;
@@ -1392,12 +1450,22 @@ declare module '@scout9/app/schemas' {
1392
1450
  intent?: string | null | undefined;
1393
1451
  intentScore?: number | null | undefined;
1394
1452
  delayInSeconds?: number | null | undefined;
1453
+ entities?: {
1454
+ type: string;
1455
+ end: number;
1456
+ start: number;
1457
+ option?: string | null | undefined;
1458
+ text?: string | null | undefined;
1459
+ }[] | null | undefined;
1395
1460
  }[][] | undefined;
1396
1461
  audios?: any[] | undefined;
1397
1462
  pmt?: {
1398
1463
  ingress: "auto" | "manual" | "app" | "workflow";
1399
1464
  tag?: string | undefined;
1400
1465
  llm?: string | undefined;
1466
+ webhookUri?: string | undefined;
1467
+ watermarkEnabled?: boolean | undefined;
1468
+ watermark?: string | undefined;
1401
1469
  } | undefined;
1402
1470
  }, {
1403
1471
  deployed?: {
@@ -1430,12 +1498,22 @@ declare module '@scout9/app/schemas' {
1430
1498
  intent?: string | null | undefined;
1431
1499
  intentScore?: number | null | undefined;
1432
1500
  delayInSeconds?: number | null | undefined;
1501
+ entities?: {
1502
+ type: string;
1503
+ end: number;
1504
+ start: number;
1505
+ option?: string | null | undefined;
1506
+ text?: string | null | undefined;
1507
+ }[] | null | undefined;
1433
1508
  }[][] | undefined;
1434
1509
  audios?: any[] | undefined;
1435
1510
  pmt?: {
1436
1511
  ingress: "auto" | "manual" | "app" | "workflow";
1437
1512
  tag?: string | undefined;
1438
1513
  llm?: string | undefined;
1514
+ webhookUri?: string | undefined;
1515
+ watermarkEnabled?: boolean | undefined;
1516
+ watermark?: string | undefined;
1439
1517
  } | undefined;
1440
1518
  }>, "many">;
1441
1519
  entities: z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -1677,12 +1755,22 @@ declare module '@scout9/app/schemas' {
1677
1755
  intent?: string | null | undefined;
1678
1756
  intentScore?: number | null | undefined;
1679
1757
  delayInSeconds?: number | null | undefined;
1758
+ entities?: {
1759
+ type: string;
1760
+ end: number;
1761
+ start: number;
1762
+ option?: string | null | undefined;
1763
+ text?: string | null | undefined;
1764
+ }[] | null | undefined;
1680
1765
  }[][] | undefined;
1681
1766
  audios?: any[] | undefined;
1682
1767
  pmt?: {
1683
1768
  ingress: "auto" | "manual" | "app" | "workflow";
1684
1769
  tag?: string | undefined;
1685
1770
  llm?: string | undefined;
1771
+ webhookUri?: string | undefined;
1772
+ watermarkEnabled?: boolean | undefined;
1773
+ watermark?: string | undefined;
1686
1774
  } | undefined;
1687
1775
  }[];
1688
1776
  entities: {
@@ -1782,12 +1870,22 @@ declare module '@scout9/app/schemas' {
1782
1870
  intent?: string | null | undefined;
1783
1871
  intentScore?: number | null | undefined;
1784
1872
  delayInSeconds?: number | null | undefined;
1873
+ entities?: {
1874
+ type: string;
1875
+ end: number;
1876
+ start: number;
1877
+ option?: string | null | undefined;
1878
+ text?: string | null | undefined;
1879
+ }[] | null | undefined;
1785
1880
  }[][] | undefined;
1786
1881
  audios?: any[] | undefined;
1787
1882
  pmt?: {
1788
1883
  ingress: "auto" | "manual" | "app" | "workflow";
1789
1884
  tag?: string | undefined;
1790
1885
  llm?: string | undefined;
1886
+ webhookUri?: string | undefined;
1887
+ watermarkEnabled?: boolean | undefined;
1888
+ watermark?: string | undefined;
1791
1889
  } | undefined;
1792
1890
  }[];
1793
1891
  entities: {
@@ -2803,6 +2901,25 @@ declare module '@scout9/app/schemas' {
2803
2901
  input: string;
2804
2902
  output: Record<string, any>[];
2805
2903
  }>, "many">, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
2904
+ export const MessageEntitySchema: z.ZodObject<{
2905
+ start: z.ZodNumber;
2906
+ end: z.ZodNumber;
2907
+ type: z.ZodString;
2908
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2909
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2910
+ }, "strip", z.ZodTypeAny, {
2911
+ type: string;
2912
+ end: number;
2913
+ start: number;
2914
+ option?: string | null | undefined;
2915
+ text?: string | null | undefined;
2916
+ }, {
2917
+ type: string;
2918
+ end: number;
2919
+ start: number;
2920
+ option?: string | null | undefined;
2921
+ text?: string | null | undefined;
2922
+ }>;
2806
2923
  export const MessageSchema: z.ZodObject<{
2807
2924
  id: z.ZodString;
2808
2925
  role: z.ZodEnum<["agent", "customer", "system"]>;
@@ -2814,6 +2931,25 @@ declare module '@scout9/app/schemas' {
2814
2931
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2815
2932
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2816
2933
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2934
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2935
+ start: z.ZodNumber;
2936
+ end: z.ZodNumber;
2937
+ type: z.ZodString;
2938
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2939
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2940
+ }, "strip", z.ZodTypeAny, {
2941
+ type: string;
2942
+ end: number;
2943
+ start: number;
2944
+ option?: string | null | undefined;
2945
+ text?: string | null | undefined;
2946
+ }, {
2947
+ type: string;
2948
+ end: number;
2949
+ start: number;
2950
+ option?: string | null | undefined;
2951
+ text?: string | null | undefined;
2952
+ }>, "many">>>;
2817
2953
  }, "strip", z.ZodTypeAny, {
2818
2954
  time: string;
2819
2955
  id: string;
@@ -2825,6 +2961,13 @@ declare module '@scout9/app/schemas' {
2825
2961
  intent?: string | null | undefined;
2826
2962
  intentScore?: number | null | undefined;
2827
2963
  delayInSeconds?: number | null | undefined;
2964
+ entities?: {
2965
+ type: string;
2966
+ end: number;
2967
+ start: number;
2968
+ option?: string | null | undefined;
2969
+ text?: string | null | undefined;
2970
+ }[] | null | undefined;
2828
2971
  }, {
2829
2972
  time: string;
2830
2973
  id: string;
@@ -2836,6 +2979,13 @@ declare module '@scout9/app/schemas' {
2836
2979
  intent?: string | null | undefined;
2837
2980
  intentScore?: number | null | undefined;
2838
2981
  delayInSeconds?: number | null | undefined;
2982
+ entities?: {
2983
+ type: string;
2984
+ end: number;
2985
+ start: number;
2986
+ option?: string | null | undefined;
2987
+ text?: string | null | undefined;
2988
+ }[] | null | undefined;
2839
2989
  }>;
2840
2990
  export const CustomerValueSchema: z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodString]>;
2841
2991
  export const CustomerSchema: z.ZodObject<{
@@ -2932,6 +3082,25 @@ declare module '@scout9/app/schemas' {
2932
3082
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2933
3083
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2934
3084
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3085
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3086
+ start: z.ZodNumber;
3087
+ end: z.ZodNumber;
3088
+ type: z.ZodString;
3089
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3090
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3091
+ }, "strip", z.ZodTypeAny, {
3092
+ type: string;
3093
+ end: number;
3094
+ start: number;
3095
+ option?: string | null | undefined;
3096
+ text?: string | null | undefined;
3097
+ }, {
3098
+ type: string;
3099
+ end: number;
3100
+ start: number;
3101
+ option?: string | null | undefined;
3102
+ text?: string | null | undefined;
3103
+ }>, "many">>>;
2935
3104
  }, "strip", z.ZodTypeAny, {
2936
3105
  time: string;
2937
3106
  id: string;
@@ -2943,6 +3112,13 @@ declare module '@scout9/app/schemas' {
2943
3112
  intent?: string | null | undefined;
2944
3113
  intentScore?: number | null | undefined;
2945
3114
  delayInSeconds?: number | null | undefined;
3115
+ entities?: {
3116
+ type: string;
3117
+ end: number;
3118
+ start: number;
3119
+ option?: string | null | undefined;
3120
+ text?: string | null | undefined;
3121
+ }[] | null | undefined;
2946
3122
  }, {
2947
3123
  time: string;
2948
3124
  id: string;
@@ -2954,20 +3130,36 @@ declare module '@scout9/app/schemas' {
2954
3130
  intent?: string | null | undefined;
2955
3131
  intentScore?: number | null | undefined;
2956
3132
  delayInSeconds?: number | null | undefined;
3133
+ entities?: {
3134
+ type: string;
3135
+ end: number;
3136
+ start: number;
3137
+ option?: string | null | undefined;
3138
+ text?: string | null | undefined;
3139
+ }[] | null | undefined;
2957
3140
  }>, "many">, "many">>;
2958
3141
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2959
3142
  pmt: z.ZodOptional<z.ZodObject<{
2960
3143
  tag: z.ZodOptional<z.ZodString>;
2961
3144
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
2962
3145
  llm: z.ZodOptional<z.ZodString>;
3146
+ webhookUri: z.ZodOptional<z.ZodString>;
3147
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3148
+ watermark: z.ZodOptional<z.ZodString>;
2963
3149
  }, "strip", z.ZodTypeAny, {
2964
3150
  ingress: "auto" | "manual" | "app" | "workflow";
2965
3151
  tag?: string | undefined;
2966
3152
  llm?: string | undefined;
3153
+ webhookUri?: string | undefined;
3154
+ watermarkEnabled?: boolean | undefined;
3155
+ watermark?: string | undefined;
2967
3156
  }, {
2968
3157
  ingress: "auto" | "manual" | "app" | "workflow";
2969
3158
  tag?: string | undefined;
2970
3159
  llm?: string | undefined;
3160
+ webhookUri?: string | undefined;
3161
+ watermarkEnabled?: boolean | undefined;
3162
+ watermark?: string | undefined;
2971
3163
  }>>;
2972
3164
  }, "strip", z.ZodTypeAny, {
2973
3165
  title: string;
@@ -3000,12 +3192,22 @@ declare module '@scout9/app/schemas' {
3000
3192
  intent?: string | null | undefined;
3001
3193
  intentScore?: number | null | undefined;
3002
3194
  delayInSeconds?: number | null | undefined;
3195
+ entities?: {
3196
+ type: string;
3197
+ end: number;
3198
+ start: number;
3199
+ option?: string | null | undefined;
3200
+ text?: string | null | undefined;
3201
+ }[] | null | undefined;
3003
3202
  }[][] | undefined;
3004
3203
  audios?: any[] | undefined;
3005
3204
  pmt?: {
3006
3205
  ingress: "auto" | "manual" | "app" | "workflow";
3007
3206
  tag?: string | undefined;
3008
3207
  llm?: string | undefined;
3208
+ webhookUri?: string | undefined;
3209
+ watermarkEnabled?: boolean | undefined;
3210
+ watermark?: string | undefined;
3009
3211
  } | undefined;
3010
3212
  }, {
3011
3213
  deployed?: {
@@ -3038,12 +3240,22 @@ declare module '@scout9/app/schemas' {
3038
3240
  intent?: string | null | undefined;
3039
3241
  intentScore?: number | null | undefined;
3040
3242
  delayInSeconds?: number | null | undefined;
3243
+ entities?: {
3244
+ type: string;
3245
+ end: number;
3246
+ start: number;
3247
+ option?: string | null | undefined;
3248
+ text?: string | null | undefined;
3249
+ }[] | null | undefined;
3041
3250
  }[][] | undefined;
3042
3251
  audios?: any[] | undefined;
3043
3252
  pmt?: {
3044
3253
  ingress: "auto" | "manual" | "app" | "workflow";
3045
3254
  tag?: string | undefined;
3046
3255
  llm?: string | undefined;
3256
+ webhookUri?: string | undefined;
3257
+ watermarkEnabled?: boolean | undefined;
3258
+ watermark?: string | undefined;
3047
3259
  } | undefined;
3048
3260
  }>;
3049
3261
  export const PersonaSchema: z.ZodObject<{
@@ -3085,6 +3297,25 @@ declare module '@scout9/app/schemas' {
3085
3297
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3086
3298
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3087
3299
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3300
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3301
+ start: z.ZodNumber;
3302
+ end: z.ZodNumber;
3303
+ type: z.ZodString;
3304
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3305
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3306
+ }, "strip", z.ZodTypeAny, {
3307
+ type: string;
3308
+ end: number;
3309
+ start: number;
3310
+ option?: string | null | undefined;
3311
+ text?: string | null | undefined;
3312
+ }, {
3313
+ type: string;
3314
+ end: number;
3315
+ start: number;
3316
+ option?: string | null | undefined;
3317
+ text?: string | null | undefined;
3318
+ }>, "many">>>;
3088
3319
  }, "strip", z.ZodTypeAny, {
3089
3320
  time: string;
3090
3321
  id: string;
@@ -3096,6 +3327,13 @@ declare module '@scout9/app/schemas' {
3096
3327
  intent?: string | null | undefined;
3097
3328
  intentScore?: number | null | undefined;
3098
3329
  delayInSeconds?: number | null | undefined;
3330
+ entities?: {
3331
+ type: string;
3332
+ end: number;
3333
+ start: number;
3334
+ option?: string | null | undefined;
3335
+ text?: string | null | undefined;
3336
+ }[] | null | undefined;
3099
3337
  }, {
3100
3338
  time: string;
3101
3339
  id: string;
@@ -3107,20 +3345,36 @@ declare module '@scout9/app/schemas' {
3107
3345
  intent?: string | null | undefined;
3108
3346
  intentScore?: number | null | undefined;
3109
3347
  delayInSeconds?: number | null | undefined;
3348
+ entities?: {
3349
+ type: string;
3350
+ end: number;
3351
+ start: number;
3352
+ option?: string | null | undefined;
3353
+ text?: string | null | undefined;
3354
+ }[] | null | undefined;
3110
3355
  }>, "many">, "many">>;
3111
3356
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3112
3357
  pmt: z.ZodOptional<z.ZodObject<{
3113
3358
  tag: z.ZodOptional<z.ZodString>;
3114
3359
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3115
3360
  llm: z.ZodOptional<z.ZodString>;
3361
+ webhookUri: z.ZodOptional<z.ZodString>;
3362
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3363
+ watermark: z.ZodOptional<z.ZodString>;
3116
3364
  }, "strip", z.ZodTypeAny, {
3117
3365
  ingress: "auto" | "manual" | "app" | "workflow";
3118
3366
  tag?: string | undefined;
3119
3367
  llm?: string | undefined;
3368
+ webhookUri?: string | undefined;
3369
+ watermarkEnabled?: boolean | undefined;
3370
+ watermark?: string | undefined;
3120
3371
  }, {
3121
3372
  ingress: "auto" | "manual" | "app" | "workflow";
3122
3373
  tag?: string | undefined;
3123
3374
  llm?: string | undefined;
3375
+ webhookUri?: string | undefined;
3376
+ watermarkEnabled?: boolean | undefined;
3377
+ watermark?: string | undefined;
3124
3378
  }>>;
3125
3379
  }, "strip", z.ZodTypeAny, {
3126
3380
  title: string;
@@ -3153,12 +3407,22 @@ declare module '@scout9/app/schemas' {
3153
3407
  intent?: string | null | undefined;
3154
3408
  intentScore?: number | null | undefined;
3155
3409
  delayInSeconds?: number | null | undefined;
3410
+ entities?: {
3411
+ type: string;
3412
+ end: number;
3413
+ start: number;
3414
+ option?: string | null | undefined;
3415
+ text?: string | null | undefined;
3416
+ }[] | null | undefined;
3156
3417
  }[][] | undefined;
3157
3418
  audios?: any[] | undefined;
3158
3419
  pmt?: {
3159
3420
  ingress: "auto" | "manual" | "app" | "workflow";
3160
3421
  tag?: string | undefined;
3161
3422
  llm?: string | undefined;
3423
+ webhookUri?: string | undefined;
3424
+ watermarkEnabled?: boolean | undefined;
3425
+ watermark?: string | undefined;
3162
3426
  } | undefined;
3163
3427
  }, {
3164
3428
  deployed?: {
@@ -3191,12 +3455,22 @@ declare module '@scout9/app/schemas' {
3191
3455
  intent?: string | null | undefined;
3192
3456
  intentScore?: number | null | undefined;
3193
3457
  delayInSeconds?: number | null | undefined;
3458
+ entities?: {
3459
+ type: string;
3460
+ end: number;
3461
+ start: number;
3462
+ option?: string | null | undefined;
3463
+ text?: string | null | undefined;
3464
+ }[] | null | undefined;
3194
3465
  }[][] | undefined;
3195
3466
  audios?: any[] | undefined;
3196
3467
  pmt?: {
3197
3468
  ingress: "auto" | "manual" | "app" | "workflow";
3198
3469
  tag?: string | undefined;
3199
3470
  llm?: string | undefined;
3471
+ webhookUri?: string | undefined;
3472
+ watermarkEnabled?: boolean | undefined;
3473
+ watermark?: string | undefined;
3200
3474
  } | undefined;
3201
3475
  }>;
3202
3476
  export const AgentConfigurationSchema: z.ZodObject<{
@@ -3238,6 +3512,25 @@ declare module '@scout9/app/schemas' {
3238
3512
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3239
3513
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3240
3514
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3515
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3516
+ start: z.ZodNumber;
3517
+ end: z.ZodNumber;
3518
+ type: z.ZodString;
3519
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3520
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3521
+ }, "strip", z.ZodTypeAny, {
3522
+ type: string;
3523
+ end: number;
3524
+ start: number;
3525
+ option?: string | null | undefined;
3526
+ text?: string | null | undefined;
3527
+ }, {
3528
+ type: string;
3529
+ end: number;
3530
+ start: number;
3531
+ option?: string | null | undefined;
3532
+ text?: string | null | undefined;
3533
+ }>, "many">>>;
3241
3534
  }, "strip", z.ZodTypeAny, {
3242
3535
  time: string;
3243
3536
  id: string;
@@ -3249,6 +3542,13 @@ declare module '@scout9/app/schemas' {
3249
3542
  intent?: string | null | undefined;
3250
3543
  intentScore?: number | null | undefined;
3251
3544
  delayInSeconds?: number | null | undefined;
3545
+ entities?: {
3546
+ type: string;
3547
+ end: number;
3548
+ start: number;
3549
+ option?: string | null | undefined;
3550
+ text?: string | null | undefined;
3551
+ }[] | null | undefined;
3252
3552
  }, {
3253
3553
  time: string;
3254
3554
  id: string;
@@ -3260,20 +3560,36 @@ declare module '@scout9/app/schemas' {
3260
3560
  intent?: string | null | undefined;
3261
3561
  intentScore?: number | null | undefined;
3262
3562
  delayInSeconds?: number | null | undefined;
3563
+ entities?: {
3564
+ type: string;
3565
+ end: number;
3566
+ start: number;
3567
+ option?: string | null | undefined;
3568
+ text?: string | null | undefined;
3569
+ }[] | null | undefined;
3263
3570
  }>, "many">, "many">>;
3264
3571
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3265
3572
  pmt: z.ZodOptional<z.ZodObject<{
3266
3573
  tag: z.ZodOptional<z.ZodString>;
3267
3574
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3268
3575
  llm: z.ZodOptional<z.ZodString>;
3576
+ webhookUri: z.ZodOptional<z.ZodString>;
3577
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3578
+ watermark: z.ZodOptional<z.ZodString>;
3269
3579
  }, "strip", z.ZodTypeAny, {
3270
3580
  ingress: "auto" | "manual" | "app" | "workflow";
3271
3581
  tag?: string | undefined;
3272
3582
  llm?: string | undefined;
3583
+ webhookUri?: string | undefined;
3584
+ watermarkEnabled?: boolean | undefined;
3585
+ watermark?: string | undefined;
3273
3586
  }, {
3274
3587
  ingress: "auto" | "manual" | "app" | "workflow";
3275
3588
  tag?: string | undefined;
3276
3589
  llm?: string | undefined;
3590
+ webhookUri?: string | undefined;
3591
+ watermarkEnabled?: boolean | undefined;
3592
+ watermark?: string | undefined;
3277
3593
  }>>;
3278
3594
  id: z.ZodString;
3279
3595
  }, "strip", z.ZodTypeAny, {
@@ -3308,12 +3624,22 @@ declare module '@scout9/app/schemas' {
3308
3624
  intent?: string | null | undefined;
3309
3625
  intentScore?: number | null | undefined;
3310
3626
  delayInSeconds?: number | null | undefined;
3627
+ entities?: {
3628
+ type: string;
3629
+ end: number;
3630
+ start: number;
3631
+ option?: string | null | undefined;
3632
+ text?: string | null | undefined;
3633
+ }[] | null | undefined;
3311
3634
  }[][] | undefined;
3312
3635
  audios?: any[] | undefined;
3313
3636
  pmt?: {
3314
3637
  ingress: "auto" | "manual" | "app" | "workflow";
3315
3638
  tag?: string | undefined;
3316
3639
  llm?: string | undefined;
3640
+ webhookUri?: string | undefined;
3641
+ watermarkEnabled?: boolean | undefined;
3642
+ watermark?: string | undefined;
3317
3643
  } | undefined;
3318
3644
  }, {
3319
3645
  id: string;
@@ -3347,12 +3673,22 @@ declare module '@scout9/app/schemas' {
3347
3673
  intent?: string | null | undefined;
3348
3674
  intentScore?: number | null | undefined;
3349
3675
  delayInSeconds?: number | null | undefined;
3676
+ entities?: {
3677
+ type: string;
3678
+ end: number;
3679
+ start: number;
3680
+ option?: string | null | undefined;
3681
+ text?: string | null | undefined;
3682
+ }[] | null | undefined;
3350
3683
  }[][] | undefined;
3351
3684
  audios?: any[] | undefined;
3352
3685
  pmt?: {
3353
3686
  ingress: "auto" | "manual" | "app" | "workflow";
3354
3687
  tag?: string | undefined;
3355
3688
  llm?: string | undefined;
3689
+ webhookUri?: string | undefined;
3690
+ watermarkEnabled?: boolean | undefined;
3691
+ watermark?: string | undefined;
3356
3692
  } | undefined;
3357
3693
  }>;
3358
3694
  export const PersonaConfigurationSchema: z.ZodObject<{
@@ -3394,6 +3730,25 @@ declare module '@scout9/app/schemas' {
3394
3730
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3395
3731
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3396
3732
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3733
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3734
+ start: z.ZodNumber;
3735
+ end: z.ZodNumber;
3736
+ type: z.ZodString;
3737
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3738
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3739
+ }, "strip", z.ZodTypeAny, {
3740
+ type: string;
3741
+ end: number;
3742
+ start: number;
3743
+ option?: string | null | undefined;
3744
+ text?: string | null | undefined;
3745
+ }, {
3746
+ type: string;
3747
+ end: number;
3748
+ start: number;
3749
+ option?: string | null | undefined;
3750
+ text?: string | null | undefined;
3751
+ }>, "many">>>;
3397
3752
  }, "strip", z.ZodTypeAny, {
3398
3753
  time: string;
3399
3754
  id: string;
@@ -3405,6 +3760,13 @@ declare module '@scout9/app/schemas' {
3405
3760
  intent?: string | null | undefined;
3406
3761
  intentScore?: number | null | undefined;
3407
3762
  delayInSeconds?: number | null | undefined;
3763
+ entities?: {
3764
+ type: string;
3765
+ end: number;
3766
+ start: number;
3767
+ option?: string | null | undefined;
3768
+ text?: string | null | undefined;
3769
+ }[] | null | undefined;
3408
3770
  }, {
3409
3771
  time: string;
3410
3772
  id: string;
@@ -3416,20 +3778,36 @@ declare module '@scout9/app/schemas' {
3416
3778
  intent?: string | null | undefined;
3417
3779
  intentScore?: number | null | undefined;
3418
3780
  delayInSeconds?: number | null | undefined;
3781
+ entities?: {
3782
+ type: string;
3783
+ end: number;
3784
+ start: number;
3785
+ option?: string | null | undefined;
3786
+ text?: string | null | undefined;
3787
+ }[] | null | undefined;
3419
3788
  }>, "many">, "many">>;
3420
3789
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3421
3790
  pmt: z.ZodOptional<z.ZodObject<{
3422
3791
  tag: z.ZodOptional<z.ZodString>;
3423
3792
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3424
3793
  llm: z.ZodOptional<z.ZodString>;
3794
+ webhookUri: z.ZodOptional<z.ZodString>;
3795
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3796
+ watermark: z.ZodOptional<z.ZodString>;
3425
3797
  }, "strip", z.ZodTypeAny, {
3426
3798
  ingress: "auto" | "manual" | "app" | "workflow";
3427
3799
  tag?: string | undefined;
3428
3800
  llm?: string | undefined;
3801
+ webhookUri?: string | undefined;
3802
+ watermarkEnabled?: boolean | undefined;
3803
+ watermark?: string | undefined;
3429
3804
  }, {
3430
3805
  ingress: "auto" | "manual" | "app" | "workflow";
3431
3806
  tag?: string | undefined;
3432
3807
  llm?: string | undefined;
3808
+ webhookUri?: string | undefined;
3809
+ watermarkEnabled?: boolean | undefined;
3810
+ watermark?: string | undefined;
3433
3811
  }>>;
3434
3812
  id: z.ZodString;
3435
3813
  }, "strip", z.ZodTypeAny, {
@@ -3464,12 +3842,22 @@ declare module '@scout9/app/schemas' {
3464
3842
  intent?: string | null | undefined;
3465
3843
  intentScore?: number | null | undefined;
3466
3844
  delayInSeconds?: number | null | undefined;
3845
+ entities?: {
3846
+ type: string;
3847
+ end: number;
3848
+ start: number;
3849
+ option?: string | null | undefined;
3850
+ text?: string | null | undefined;
3851
+ }[] | null | undefined;
3467
3852
  }[][] | undefined;
3468
3853
  audios?: any[] | undefined;
3469
3854
  pmt?: {
3470
3855
  ingress: "auto" | "manual" | "app" | "workflow";
3471
3856
  tag?: string | undefined;
3472
3857
  llm?: string | undefined;
3858
+ webhookUri?: string | undefined;
3859
+ watermarkEnabled?: boolean | undefined;
3860
+ watermark?: string | undefined;
3473
3861
  } | undefined;
3474
3862
  }, {
3475
3863
  id: string;
@@ -3503,12 +3891,22 @@ declare module '@scout9/app/schemas' {
3503
3891
  intent?: string | null | undefined;
3504
3892
  intentScore?: number | null | undefined;
3505
3893
  delayInSeconds?: number | null | undefined;
3894
+ entities?: {
3895
+ type: string;
3896
+ end: number;
3897
+ start: number;
3898
+ option?: string | null | undefined;
3899
+ text?: string | null | undefined;
3900
+ }[] | null | undefined;
3506
3901
  }[][] | undefined;
3507
3902
  audios?: any[] | undefined;
3508
3903
  pmt?: {
3509
3904
  ingress: "auto" | "manual" | "app" | "workflow";
3510
3905
  tag?: string | undefined;
3511
3906
  llm?: string | undefined;
3907
+ webhookUri?: string | undefined;
3908
+ watermarkEnabled?: boolean | undefined;
3909
+ watermark?: string | undefined;
3512
3910
  } | undefined;
3513
3911
  }>;
3514
3912
  export const AgentsConfigurationSchema: z.ZodArray<z.ZodObject<{
@@ -3550,6 +3948,25 @@ declare module '@scout9/app/schemas' {
3550
3948
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3551
3949
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3552
3950
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3951
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3952
+ start: z.ZodNumber;
3953
+ end: z.ZodNumber;
3954
+ type: z.ZodString;
3955
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3956
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3957
+ }, "strip", z.ZodTypeAny, {
3958
+ type: string;
3959
+ end: number;
3960
+ start: number;
3961
+ option?: string | null | undefined;
3962
+ text?: string | null | undefined;
3963
+ }, {
3964
+ type: string;
3965
+ end: number;
3966
+ start: number;
3967
+ option?: string | null | undefined;
3968
+ text?: string | null | undefined;
3969
+ }>, "many">>>;
3553
3970
  }, "strip", z.ZodTypeAny, {
3554
3971
  time: string;
3555
3972
  id: string;
@@ -3561,6 +3978,13 @@ declare module '@scout9/app/schemas' {
3561
3978
  intent?: string | null | undefined;
3562
3979
  intentScore?: number | null | undefined;
3563
3980
  delayInSeconds?: number | null | undefined;
3981
+ entities?: {
3982
+ type: string;
3983
+ end: number;
3984
+ start: number;
3985
+ option?: string | null | undefined;
3986
+ text?: string | null | undefined;
3987
+ }[] | null | undefined;
3564
3988
  }, {
3565
3989
  time: string;
3566
3990
  id: string;
@@ -3572,20 +3996,36 @@ declare module '@scout9/app/schemas' {
3572
3996
  intent?: string | null | undefined;
3573
3997
  intentScore?: number | null | undefined;
3574
3998
  delayInSeconds?: number | null | undefined;
3999
+ entities?: {
4000
+ type: string;
4001
+ end: number;
4002
+ start: number;
4003
+ option?: string | null | undefined;
4004
+ text?: string | null | undefined;
4005
+ }[] | null | undefined;
3575
4006
  }>, "many">, "many">>;
3576
4007
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3577
4008
  pmt: z.ZodOptional<z.ZodObject<{
3578
4009
  tag: z.ZodOptional<z.ZodString>;
3579
4010
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3580
4011
  llm: z.ZodOptional<z.ZodString>;
4012
+ webhookUri: z.ZodOptional<z.ZodString>;
4013
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4014
+ watermark: z.ZodOptional<z.ZodString>;
3581
4015
  }, "strip", z.ZodTypeAny, {
3582
4016
  ingress: "auto" | "manual" | "app" | "workflow";
3583
4017
  tag?: string | undefined;
3584
4018
  llm?: string | undefined;
4019
+ webhookUri?: string | undefined;
4020
+ watermarkEnabled?: boolean | undefined;
4021
+ watermark?: string | undefined;
3585
4022
  }, {
3586
4023
  ingress: "auto" | "manual" | "app" | "workflow";
3587
4024
  tag?: string | undefined;
3588
4025
  llm?: string | undefined;
4026
+ webhookUri?: string | undefined;
4027
+ watermarkEnabled?: boolean | undefined;
4028
+ watermark?: string | undefined;
3589
4029
  }>>;
3590
4030
  id: z.ZodString;
3591
4031
  }, "strip", z.ZodTypeAny, {
@@ -3620,12 +4060,22 @@ declare module '@scout9/app/schemas' {
3620
4060
  intent?: string | null | undefined;
3621
4061
  intentScore?: number | null | undefined;
3622
4062
  delayInSeconds?: number | null | undefined;
4063
+ entities?: {
4064
+ type: string;
4065
+ end: number;
4066
+ start: number;
4067
+ option?: string | null | undefined;
4068
+ text?: string | null | undefined;
4069
+ }[] | null | undefined;
3623
4070
  }[][] | undefined;
3624
4071
  audios?: any[] | undefined;
3625
4072
  pmt?: {
3626
4073
  ingress: "auto" | "manual" | "app" | "workflow";
3627
4074
  tag?: string | undefined;
3628
4075
  llm?: string | undefined;
4076
+ webhookUri?: string | undefined;
4077
+ watermarkEnabled?: boolean | undefined;
4078
+ watermark?: string | undefined;
3629
4079
  } | undefined;
3630
4080
  }, {
3631
4081
  id: string;
@@ -3659,12 +4109,22 @@ declare module '@scout9/app/schemas' {
3659
4109
  intent?: string | null | undefined;
3660
4110
  intentScore?: number | null | undefined;
3661
4111
  delayInSeconds?: number | null | undefined;
4112
+ entities?: {
4113
+ type: string;
4114
+ end: number;
4115
+ start: number;
4116
+ option?: string | null | undefined;
4117
+ text?: string | null | undefined;
4118
+ }[] | null | undefined;
3662
4119
  }[][] | undefined;
3663
4120
  audios?: any[] | undefined;
3664
4121
  pmt?: {
3665
4122
  ingress: "auto" | "manual" | "app" | "workflow";
3666
4123
  tag?: string | undefined;
3667
4124
  llm?: string | undefined;
4125
+ webhookUri?: string | undefined;
4126
+ watermarkEnabled?: boolean | undefined;
4127
+ watermark?: string | undefined;
3668
4128
  } | undefined;
3669
4129
  }>, "many">;
3670
4130
  export const PersonasConfigurationSchema: z.ZodArray<z.ZodObject<{
@@ -3706,6 +4166,25 @@ declare module '@scout9/app/schemas' {
3706
4166
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3707
4167
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3708
4168
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4169
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4170
+ start: z.ZodNumber;
4171
+ end: z.ZodNumber;
4172
+ type: z.ZodString;
4173
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4174
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4175
+ }, "strip", z.ZodTypeAny, {
4176
+ type: string;
4177
+ end: number;
4178
+ start: number;
4179
+ option?: string | null | undefined;
4180
+ text?: string | null | undefined;
4181
+ }, {
4182
+ type: string;
4183
+ end: number;
4184
+ start: number;
4185
+ option?: string | null | undefined;
4186
+ text?: string | null | undefined;
4187
+ }>, "many">>>;
3709
4188
  }, "strip", z.ZodTypeAny, {
3710
4189
  time: string;
3711
4190
  id: string;
@@ -3717,6 +4196,13 @@ declare module '@scout9/app/schemas' {
3717
4196
  intent?: string | null | undefined;
3718
4197
  intentScore?: number | null | undefined;
3719
4198
  delayInSeconds?: number | null | undefined;
4199
+ entities?: {
4200
+ type: string;
4201
+ end: number;
4202
+ start: number;
4203
+ option?: string | null | undefined;
4204
+ text?: string | null | undefined;
4205
+ }[] | null | undefined;
3720
4206
  }, {
3721
4207
  time: string;
3722
4208
  id: string;
@@ -3728,20 +4214,36 @@ declare module '@scout9/app/schemas' {
3728
4214
  intent?: string | null | undefined;
3729
4215
  intentScore?: number | null | undefined;
3730
4216
  delayInSeconds?: number | null | undefined;
4217
+ entities?: {
4218
+ type: string;
4219
+ end: number;
4220
+ start: number;
4221
+ option?: string | null | undefined;
4222
+ text?: string | null | undefined;
4223
+ }[] | null | undefined;
3731
4224
  }>, "many">, "many">>;
3732
4225
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3733
4226
  pmt: z.ZodOptional<z.ZodObject<{
3734
4227
  tag: z.ZodOptional<z.ZodString>;
3735
4228
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3736
4229
  llm: z.ZodOptional<z.ZodString>;
4230
+ webhookUri: z.ZodOptional<z.ZodString>;
4231
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4232
+ watermark: z.ZodOptional<z.ZodString>;
3737
4233
  }, "strip", z.ZodTypeAny, {
3738
4234
  ingress: "auto" | "manual" | "app" | "workflow";
3739
4235
  tag?: string | undefined;
3740
4236
  llm?: string | undefined;
4237
+ webhookUri?: string | undefined;
4238
+ watermarkEnabled?: boolean | undefined;
4239
+ watermark?: string | undefined;
3741
4240
  }, {
3742
4241
  ingress: "auto" | "manual" | "app" | "workflow";
3743
4242
  tag?: string | undefined;
3744
4243
  llm?: string | undefined;
4244
+ webhookUri?: string | undefined;
4245
+ watermarkEnabled?: boolean | undefined;
4246
+ watermark?: string | undefined;
3745
4247
  }>>;
3746
4248
  id: z.ZodString;
3747
4249
  }, "strip", z.ZodTypeAny, {
@@ -3776,12 +4278,22 @@ declare module '@scout9/app/schemas' {
3776
4278
  intent?: string | null | undefined;
3777
4279
  intentScore?: number | null | undefined;
3778
4280
  delayInSeconds?: number | null | undefined;
4281
+ entities?: {
4282
+ type: string;
4283
+ end: number;
4284
+ start: number;
4285
+ option?: string | null | undefined;
4286
+ text?: string | null | undefined;
4287
+ }[] | null | undefined;
3779
4288
  }[][] | undefined;
3780
4289
  audios?: any[] | undefined;
3781
4290
  pmt?: {
3782
4291
  ingress: "auto" | "manual" | "app" | "workflow";
3783
4292
  tag?: string | undefined;
3784
4293
  llm?: string | undefined;
4294
+ webhookUri?: string | undefined;
4295
+ watermarkEnabled?: boolean | undefined;
4296
+ watermark?: string | undefined;
3785
4297
  } | undefined;
3786
4298
  }, {
3787
4299
  id: string;
@@ -3815,12 +4327,22 @@ declare module '@scout9/app/schemas' {
3815
4327
  intent?: string | null | undefined;
3816
4328
  intentScore?: number | null | undefined;
3817
4329
  delayInSeconds?: number | null | undefined;
4330
+ entities?: {
4331
+ type: string;
4332
+ end: number;
4333
+ start: number;
4334
+ option?: string | null | undefined;
4335
+ text?: string | null | undefined;
4336
+ }[] | null | undefined;
3818
4337
  }[][] | undefined;
3819
4338
  audios?: any[] | undefined;
3820
4339
  pmt?: {
3821
4340
  ingress: "auto" | "manual" | "app" | "workflow";
3822
4341
  tag?: string | undefined;
3823
4342
  llm?: string | undefined;
4343
+ webhookUri?: string | undefined;
4344
+ watermarkEnabled?: boolean | undefined;
4345
+ watermark?: string | undefined;
3824
4346
  } | undefined;
3825
4347
  }>, "many">;
3826
4348
  export const AgentsSchema: z.ZodArray<z.ZodObject<{
@@ -3862,6 +4384,25 @@ declare module '@scout9/app/schemas' {
3862
4384
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3863
4385
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3864
4386
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4387
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4388
+ start: z.ZodNumber;
4389
+ end: z.ZodNumber;
4390
+ type: z.ZodString;
4391
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4392
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4393
+ }, "strip", z.ZodTypeAny, {
4394
+ type: string;
4395
+ end: number;
4396
+ start: number;
4397
+ option?: string | null | undefined;
4398
+ text?: string | null | undefined;
4399
+ }, {
4400
+ type: string;
4401
+ end: number;
4402
+ start: number;
4403
+ option?: string | null | undefined;
4404
+ text?: string | null | undefined;
4405
+ }>, "many">>>;
3865
4406
  }, "strip", z.ZodTypeAny, {
3866
4407
  time: string;
3867
4408
  id: string;
@@ -3873,6 +4414,13 @@ declare module '@scout9/app/schemas' {
3873
4414
  intent?: string | null | undefined;
3874
4415
  intentScore?: number | null | undefined;
3875
4416
  delayInSeconds?: number | null | undefined;
4417
+ entities?: {
4418
+ type: string;
4419
+ end: number;
4420
+ start: number;
4421
+ option?: string | null | undefined;
4422
+ text?: string | null | undefined;
4423
+ }[] | null | undefined;
3876
4424
  }, {
3877
4425
  time: string;
3878
4426
  id: string;
@@ -3884,20 +4432,36 @@ declare module '@scout9/app/schemas' {
3884
4432
  intent?: string | null | undefined;
3885
4433
  intentScore?: number | null | undefined;
3886
4434
  delayInSeconds?: number | null | undefined;
4435
+ entities?: {
4436
+ type: string;
4437
+ end: number;
4438
+ start: number;
4439
+ option?: string | null | undefined;
4440
+ text?: string | null | undefined;
4441
+ }[] | null | undefined;
3887
4442
  }>, "many">, "many">>;
3888
4443
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3889
4444
  pmt: z.ZodOptional<z.ZodObject<{
3890
4445
  tag: z.ZodOptional<z.ZodString>;
3891
4446
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3892
4447
  llm: z.ZodOptional<z.ZodString>;
4448
+ webhookUri: z.ZodOptional<z.ZodString>;
4449
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4450
+ watermark: z.ZodOptional<z.ZodString>;
3893
4451
  }, "strip", z.ZodTypeAny, {
3894
4452
  ingress: "auto" | "manual" | "app" | "workflow";
3895
4453
  tag?: string | undefined;
3896
4454
  llm?: string | undefined;
4455
+ webhookUri?: string | undefined;
4456
+ watermarkEnabled?: boolean | undefined;
4457
+ watermark?: string | undefined;
3897
4458
  }, {
3898
4459
  ingress: "auto" | "manual" | "app" | "workflow";
3899
4460
  tag?: string | undefined;
3900
4461
  llm?: string | undefined;
4462
+ webhookUri?: string | undefined;
4463
+ watermarkEnabled?: boolean | undefined;
4464
+ watermark?: string | undefined;
3901
4465
  }>>;
3902
4466
  }, "strip", z.ZodTypeAny, {
3903
4467
  title: string;
@@ -3930,12 +4494,22 @@ declare module '@scout9/app/schemas' {
3930
4494
  intent?: string | null | undefined;
3931
4495
  intentScore?: number | null | undefined;
3932
4496
  delayInSeconds?: number | null | undefined;
4497
+ entities?: {
4498
+ type: string;
4499
+ end: number;
4500
+ start: number;
4501
+ option?: string | null | undefined;
4502
+ text?: string | null | undefined;
4503
+ }[] | null | undefined;
3933
4504
  }[][] | undefined;
3934
4505
  audios?: any[] | undefined;
3935
4506
  pmt?: {
3936
4507
  ingress: "auto" | "manual" | "app" | "workflow";
3937
4508
  tag?: string | undefined;
3938
4509
  llm?: string | undefined;
4510
+ webhookUri?: string | undefined;
4511
+ watermarkEnabled?: boolean | undefined;
4512
+ watermark?: string | undefined;
3939
4513
  } | undefined;
3940
4514
  }, {
3941
4515
  deployed?: {
@@ -3968,12 +4542,22 @@ declare module '@scout9/app/schemas' {
3968
4542
  intent?: string | null | undefined;
3969
4543
  intentScore?: number | null | undefined;
3970
4544
  delayInSeconds?: number | null | undefined;
4545
+ entities?: {
4546
+ type: string;
4547
+ end: number;
4548
+ start: number;
4549
+ option?: string | null | undefined;
4550
+ text?: string | null | undefined;
4551
+ }[] | null | undefined;
3971
4552
  }[][] | undefined;
3972
4553
  audios?: any[] | undefined;
3973
4554
  pmt?: {
3974
4555
  ingress: "auto" | "manual" | "app" | "workflow";
3975
4556
  tag?: string | undefined;
3976
4557
  llm?: string | undefined;
4558
+ webhookUri?: string | undefined;
4559
+ watermarkEnabled?: boolean | undefined;
4560
+ watermark?: string | undefined;
3977
4561
  } | undefined;
3978
4562
  }>, "many">;
3979
4563
  export const PersonasSchema: z.ZodArray<z.ZodObject<{
@@ -4015,6 +4599,25 @@ declare module '@scout9/app/schemas' {
4015
4599
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4016
4600
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4017
4601
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4602
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
4603
+ start: z.ZodNumber;
4604
+ end: z.ZodNumber;
4605
+ type: z.ZodString;
4606
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4607
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4608
+ }, "strip", z.ZodTypeAny, {
4609
+ type: string;
4610
+ end: number;
4611
+ start: number;
4612
+ option?: string | null | undefined;
4613
+ text?: string | null | undefined;
4614
+ }, {
4615
+ type: string;
4616
+ end: number;
4617
+ start: number;
4618
+ option?: string | null | undefined;
4619
+ text?: string | null | undefined;
4620
+ }>, "many">>>;
4018
4621
  }, "strip", z.ZodTypeAny, {
4019
4622
  time: string;
4020
4623
  id: string;
@@ -4026,6 +4629,13 @@ declare module '@scout9/app/schemas' {
4026
4629
  intent?: string | null | undefined;
4027
4630
  intentScore?: number | null | undefined;
4028
4631
  delayInSeconds?: number | null | undefined;
4632
+ entities?: {
4633
+ type: string;
4634
+ end: number;
4635
+ start: number;
4636
+ option?: string | null | undefined;
4637
+ text?: string | null | undefined;
4638
+ }[] | null | undefined;
4029
4639
  }, {
4030
4640
  time: string;
4031
4641
  id: string;
@@ -4037,20 +4647,36 @@ declare module '@scout9/app/schemas' {
4037
4647
  intent?: string | null | undefined;
4038
4648
  intentScore?: number | null | undefined;
4039
4649
  delayInSeconds?: number | null | undefined;
4650
+ entities?: {
4651
+ type: string;
4652
+ end: number;
4653
+ start: number;
4654
+ option?: string | null | undefined;
4655
+ text?: string | null | undefined;
4656
+ }[] | null | undefined;
4040
4657
  }>, "many">, "many">>;
4041
4658
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4042
4659
  pmt: z.ZodOptional<z.ZodObject<{
4043
4660
  tag: z.ZodOptional<z.ZodString>;
4044
4661
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4045
4662
  llm: z.ZodOptional<z.ZodString>;
4663
+ webhookUri: z.ZodOptional<z.ZodString>;
4664
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4665
+ watermark: z.ZodOptional<z.ZodString>;
4046
4666
  }, "strip", z.ZodTypeAny, {
4047
4667
  ingress: "auto" | "manual" | "app" | "workflow";
4048
4668
  tag?: string | undefined;
4049
4669
  llm?: string | undefined;
4670
+ webhookUri?: string | undefined;
4671
+ watermarkEnabled?: boolean | undefined;
4672
+ watermark?: string | undefined;
4050
4673
  }, {
4051
4674
  ingress: "auto" | "manual" | "app" | "workflow";
4052
4675
  tag?: string | undefined;
4053
4676
  llm?: string | undefined;
4677
+ webhookUri?: string | undefined;
4678
+ watermarkEnabled?: boolean | undefined;
4679
+ watermark?: string | undefined;
4054
4680
  }>>;
4055
4681
  }, "strip", z.ZodTypeAny, {
4056
4682
  title: string;
@@ -4083,12 +4709,22 @@ declare module '@scout9/app/schemas' {
4083
4709
  intent?: string | null | undefined;
4084
4710
  intentScore?: number | null | undefined;
4085
4711
  delayInSeconds?: number | null | undefined;
4712
+ entities?: {
4713
+ type: string;
4714
+ end: number;
4715
+ start: number;
4716
+ option?: string | null | undefined;
4717
+ text?: string | null | undefined;
4718
+ }[] | null | undefined;
4086
4719
  }[][] | undefined;
4087
4720
  audios?: any[] | undefined;
4088
4721
  pmt?: {
4089
4722
  ingress: "auto" | "manual" | "app" | "workflow";
4090
4723
  tag?: string | undefined;
4091
4724
  llm?: string | undefined;
4725
+ webhookUri?: string | undefined;
4726
+ watermarkEnabled?: boolean | undefined;
4727
+ watermark?: string | undefined;
4092
4728
  } | undefined;
4093
4729
  }, {
4094
4730
  deployed?: {
@@ -4121,12 +4757,22 @@ declare module '@scout9/app/schemas' {
4121
4757
  intent?: string | null | undefined;
4122
4758
  intentScore?: number | null | undefined;
4123
4759
  delayInSeconds?: number | null | undefined;
4760
+ entities?: {
4761
+ type: string;
4762
+ end: number;
4763
+ start: number;
4764
+ option?: string | null | undefined;
4765
+ text?: string | null | undefined;
4766
+ }[] | null | undefined;
4124
4767
  }[][] | undefined;
4125
4768
  audios?: any[] | undefined;
4126
4769
  pmt?: {
4127
4770
  ingress: "auto" | "manual" | "app" | "workflow";
4128
4771
  tag?: string | undefined;
4129
4772
  llm?: string | undefined;
4773
+ webhookUri?: string | undefined;
4774
+ watermarkEnabled?: boolean | undefined;
4775
+ watermark?: string | undefined;
4130
4776
  } | undefined;
4131
4777
  }>, "many">;
4132
4778
  export const ForwardSchema: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
@@ -4418,6 +5064,25 @@ declare module '@scout9/app/schemas' {
4418
5064
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4419
5065
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4420
5066
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5067
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5068
+ start: z.ZodNumber;
5069
+ end: z.ZodNumber;
5070
+ type: z.ZodString;
5071
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5072
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5073
+ }, "strip", z.ZodTypeAny, {
5074
+ type: string;
5075
+ end: number;
5076
+ start: number;
5077
+ option?: string | null | undefined;
5078
+ text?: string | null | undefined;
5079
+ }, {
5080
+ type: string;
5081
+ end: number;
5082
+ start: number;
5083
+ option?: string | null | undefined;
5084
+ text?: string | null | undefined;
5085
+ }>, "many">>>;
4421
5086
  }, "strip", z.ZodTypeAny, {
4422
5087
  time: string;
4423
5088
  id: string;
@@ -4429,6 +5094,13 @@ declare module '@scout9/app/schemas' {
4429
5094
  intent?: string | null | undefined;
4430
5095
  intentScore?: number | null | undefined;
4431
5096
  delayInSeconds?: number | null | undefined;
5097
+ entities?: {
5098
+ type: string;
5099
+ end: number;
5100
+ start: number;
5101
+ option?: string | null | undefined;
5102
+ text?: string | null | undefined;
5103
+ }[] | null | undefined;
4432
5104
  }, {
4433
5105
  time: string;
4434
5106
  id: string;
@@ -4440,6 +5112,13 @@ declare module '@scout9/app/schemas' {
4440
5112
  intent?: string | null | undefined;
4441
5113
  intentScore?: number | null | undefined;
4442
5114
  delayInSeconds?: number | null | undefined;
5115
+ entities?: {
5116
+ type: string;
5117
+ end: number;
5118
+ start: number;
5119
+ option?: string | null | undefined;
5120
+ text?: string | null | undefined;
5121
+ }[] | null | undefined;
4443
5122
  }>, "many">;
4444
5123
  conversation: z.ZodObject<{
4445
5124
  $id: z.ZodString;
@@ -4583,6 +5262,25 @@ declare module '@scout9/app/schemas' {
4583
5262
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4584
5263
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4585
5264
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5265
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5266
+ start: z.ZodNumber;
5267
+ end: z.ZodNumber;
5268
+ type: z.ZodString;
5269
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5270
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5271
+ }, "strip", z.ZodTypeAny, {
5272
+ type: string;
5273
+ end: number;
5274
+ start: number;
5275
+ option?: string | null | undefined;
5276
+ text?: string | null | undefined;
5277
+ }, {
5278
+ type: string;
5279
+ end: number;
5280
+ start: number;
5281
+ option?: string | null | undefined;
5282
+ text?: string | null | undefined;
5283
+ }>, "many">>>;
4586
5284
  }, "strip", z.ZodTypeAny, {
4587
5285
  time: string;
4588
5286
  id: string;
@@ -4594,6 +5292,13 @@ declare module '@scout9/app/schemas' {
4594
5292
  intent?: string | null | undefined;
4595
5293
  intentScore?: number | null | undefined;
4596
5294
  delayInSeconds?: number | null | undefined;
5295
+ entities?: {
5296
+ type: string;
5297
+ end: number;
5298
+ start: number;
5299
+ option?: string | null | undefined;
5300
+ text?: string | null | undefined;
5301
+ }[] | null | undefined;
4597
5302
  }, {
4598
5303
  time: string;
4599
5304
  id: string;
@@ -4605,6 +5310,13 @@ declare module '@scout9/app/schemas' {
4605
5310
  intent?: string | null | undefined;
4606
5311
  intentScore?: number | null | undefined;
4607
5312
  delayInSeconds?: number | null | undefined;
5313
+ entities?: {
5314
+ type: string;
5315
+ end: number;
5316
+ start: number;
5317
+ option?: string | null | undefined;
5318
+ text?: string | null | undefined;
5319
+ }[] | null | undefined;
4608
5320
  }>;
4609
5321
  agent: z.ZodObject<Omit<{
4610
5322
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -4645,6 +5357,25 @@ declare module '@scout9/app/schemas' {
4645
5357
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4646
5358
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4647
5359
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5360
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5361
+ start: z.ZodNumber;
5362
+ end: z.ZodNumber;
5363
+ type: z.ZodString;
5364
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5365
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5366
+ }, "strip", z.ZodTypeAny, {
5367
+ type: string;
5368
+ end: number;
5369
+ start: number;
5370
+ option?: string | null | undefined;
5371
+ text?: string | null | undefined;
5372
+ }, {
5373
+ type: string;
5374
+ end: number;
5375
+ start: number;
5376
+ option?: string | null | undefined;
5377
+ text?: string | null | undefined;
5378
+ }>, "many">>>;
4648
5379
  }, "strip", z.ZodTypeAny, {
4649
5380
  time: string;
4650
5381
  id: string;
@@ -4656,6 +5387,13 @@ declare module '@scout9/app/schemas' {
4656
5387
  intent?: string | null | undefined;
4657
5388
  intentScore?: number | null | undefined;
4658
5389
  delayInSeconds?: number | null | undefined;
5390
+ entities?: {
5391
+ type: string;
5392
+ end: number;
5393
+ start: number;
5394
+ option?: string | null | undefined;
5395
+ text?: string | null | undefined;
5396
+ }[] | null | undefined;
4659
5397
  }, {
4660
5398
  time: string;
4661
5399
  id: string;
@@ -4667,20 +5405,36 @@ declare module '@scout9/app/schemas' {
4667
5405
  intent?: string | null | undefined;
4668
5406
  intentScore?: number | null | undefined;
4669
5407
  delayInSeconds?: number | null | undefined;
5408
+ entities?: {
5409
+ type: string;
5410
+ end: number;
5411
+ start: number;
5412
+ option?: string | null | undefined;
5413
+ text?: string | null | undefined;
5414
+ }[] | null | undefined;
4670
5415
  }>, "many">, "many">>;
4671
5416
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4672
5417
  pmt: z.ZodOptional<z.ZodObject<{
4673
5418
  tag: z.ZodOptional<z.ZodString>;
4674
5419
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4675
5420
  llm: z.ZodOptional<z.ZodString>;
5421
+ webhookUri: z.ZodOptional<z.ZodString>;
5422
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
5423
+ watermark: z.ZodOptional<z.ZodString>;
4676
5424
  }, "strip", z.ZodTypeAny, {
4677
5425
  ingress: "auto" | "manual" | "app" | "workflow";
4678
5426
  tag?: string | undefined;
4679
5427
  llm?: string | undefined;
5428
+ webhookUri?: string | undefined;
5429
+ watermarkEnabled?: boolean | undefined;
5430
+ watermark?: string | undefined;
4680
5431
  }, {
4681
5432
  ingress: "auto" | "manual" | "app" | "workflow";
4682
5433
  tag?: string | undefined;
4683
5434
  llm?: string | undefined;
5435
+ webhookUri?: string | undefined;
5436
+ watermarkEnabled?: boolean | undefined;
5437
+ watermark?: string | undefined;
4684
5438
  }>>;
4685
5439
  id: z.ZodString;
4686
5440
  }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
@@ -4800,6 +5554,13 @@ declare module '@scout9/app/schemas' {
4800
5554
  intent?: string | null | undefined;
4801
5555
  intentScore?: number | null | undefined;
4802
5556
  delayInSeconds?: number | null | undefined;
5557
+ entities?: {
5558
+ type: string;
5559
+ end: number;
5560
+ start: number;
5561
+ option?: string | null | undefined;
5562
+ text?: string | null | undefined;
5563
+ }[] | null | undefined;
4803
5564
  };
4804
5565
  agent: {
4805
5566
  id: string;
@@ -4856,6 +5617,13 @@ declare module '@scout9/app/schemas' {
4856
5617
  intent?: string | null | undefined;
4857
5618
  intentScore?: number | null | undefined;
4858
5619
  delayInSeconds?: number | null | undefined;
5620
+ entities?: {
5621
+ type: string;
5622
+ end: number;
5623
+ start: number;
5624
+ option?: string | null | undefined;
5625
+ text?: string | null | undefined;
5626
+ }[] | null | undefined;
4859
5627
  }[];
4860
5628
  conversation: {
4861
5629
  environment: "email" | "phone" | "web";
@@ -4904,6 +5672,13 @@ declare module '@scout9/app/schemas' {
4904
5672
  intent?: string | null | undefined;
4905
5673
  intentScore?: number | null | undefined;
4906
5674
  delayInSeconds?: number | null | undefined;
5675
+ entities?: {
5676
+ type: string;
5677
+ end: number;
5678
+ start: number;
5679
+ option?: string | null | undefined;
5680
+ text?: string | null | undefined;
5681
+ }[] | null | undefined;
4907
5682
  };
4908
5683
  agent: {
4909
5684
  id: string;
@@ -4960,6 +5735,13 @@ declare module '@scout9/app/schemas' {
4960
5735
  intent?: string | null | undefined;
4961
5736
  intentScore?: number | null | undefined;
4962
5737
  delayInSeconds?: number | null | undefined;
5738
+ entities?: {
5739
+ type: string;
5740
+ end: number;
5741
+ start: number;
5742
+ option?: string | null | undefined;
5743
+ text?: string | null | undefined;
5744
+ }[] | null | undefined;
4963
5745
  }[];
4964
5746
  conversation: {
4965
5747
  environment: "email" | "phone" | "web";
@@ -9863,6 +10645,25 @@ declare module '@scout9/app/schemas' {
9863
10645
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9864
10646
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9865
10647
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10648
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10649
+ start: z.ZodNumber;
10650
+ end: z.ZodNumber;
10651
+ type: z.ZodString;
10652
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10653
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10654
+ }, "strip", z.ZodTypeAny, {
10655
+ type: string;
10656
+ end: number;
10657
+ start: number;
10658
+ option?: string | null | undefined;
10659
+ text?: string | null | undefined;
10660
+ }, {
10661
+ type: string;
10662
+ end: number;
10663
+ start: number;
10664
+ option?: string | null | undefined;
10665
+ text?: string | null | undefined;
10666
+ }>, "many">>>;
9866
10667
  }, "strip", z.ZodTypeAny, {
9867
10668
  time: string;
9868
10669
  id: string;
@@ -9874,6 +10675,13 @@ declare module '@scout9/app/schemas' {
9874
10675
  intent?: string | null | undefined;
9875
10676
  intentScore?: number | null | undefined;
9876
10677
  delayInSeconds?: number | null | undefined;
10678
+ entities?: {
10679
+ type: string;
10680
+ end: number;
10681
+ start: number;
10682
+ option?: string | null | undefined;
10683
+ text?: string | null | undefined;
10684
+ }[] | null | undefined;
9877
10685
  }, {
9878
10686
  time: string;
9879
10687
  id: string;
@@ -9885,6 +10693,13 @@ declare module '@scout9/app/schemas' {
9885
10693
  intent?: string | null | undefined;
9886
10694
  intentScore?: number | null | undefined;
9887
10695
  delayInSeconds?: number | null | undefined;
10696
+ entities?: {
10697
+ type: string;
10698
+ end: number;
10699
+ start: number;
10700
+ option?: string | null | undefined;
10701
+ text?: string | null | undefined;
10702
+ }[] | null | undefined;
9888
10703
  }>, "many">;
9889
10704
  conversation: z.ZodObject<{
9890
10705
  $id: z.ZodString;
@@ -10028,6 +10843,25 @@ declare module '@scout9/app/schemas' {
10028
10843
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10029
10844
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10030
10845
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10846
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10847
+ start: z.ZodNumber;
10848
+ end: z.ZodNumber;
10849
+ type: z.ZodString;
10850
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10851
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10852
+ }, "strip", z.ZodTypeAny, {
10853
+ type: string;
10854
+ end: number;
10855
+ start: number;
10856
+ option?: string | null | undefined;
10857
+ text?: string | null | undefined;
10858
+ }, {
10859
+ type: string;
10860
+ end: number;
10861
+ start: number;
10862
+ option?: string | null | undefined;
10863
+ text?: string | null | undefined;
10864
+ }>, "many">>>;
10031
10865
  }, "strip", z.ZodTypeAny, {
10032
10866
  time: string;
10033
10867
  id: string;
@@ -10039,6 +10873,13 @@ declare module '@scout9/app/schemas' {
10039
10873
  intent?: string | null | undefined;
10040
10874
  intentScore?: number | null | undefined;
10041
10875
  delayInSeconds?: number | null | undefined;
10876
+ entities?: {
10877
+ type: string;
10878
+ end: number;
10879
+ start: number;
10880
+ option?: string | null | undefined;
10881
+ text?: string | null | undefined;
10882
+ }[] | null | undefined;
10042
10883
  }, {
10043
10884
  time: string;
10044
10885
  id: string;
@@ -10050,6 +10891,13 @@ declare module '@scout9/app/schemas' {
10050
10891
  intent?: string | null | undefined;
10051
10892
  intentScore?: number | null | undefined;
10052
10893
  delayInSeconds?: number | null | undefined;
10894
+ entities?: {
10895
+ type: string;
10896
+ end: number;
10897
+ start: number;
10898
+ option?: string | null | undefined;
10899
+ text?: string | null | undefined;
10900
+ }[] | null | undefined;
10053
10901
  }>;
10054
10902
  agent: z.ZodObject<Omit<{
10055
10903
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -10090,6 +10938,25 @@ declare module '@scout9/app/schemas' {
10090
10938
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10091
10939
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10092
10940
  delayInSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10941
+ entities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
10942
+ start: z.ZodNumber;
10943
+ end: z.ZodNumber;
10944
+ type: z.ZodString;
10945
+ option: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10946
+ text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10947
+ }, "strip", z.ZodTypeAny, {
10948
+ type: string;
10949
+ end: number;
10950
+ start: number;
10951
+ option?: string | null | undefined;
10952
+ text?: string | null | undefined;
10953
+ }, {
10954
+ type: string;
10955
+ end: number;
10956
+ start: number;
10957
+ option?: string | null | undefined;
10958
+ text?: string | null | undefined;
10959
+ }>, "many">>>;
10093
10960
  }, "strip", z.ZodTypeAny, {
10094
10961
  time: string;
10095
10962
  id: string;
@@ -10101,6 +10968,13 @@ declare module '@scout9/app/schemas' {
10101
10968
  intent?: string | null | undefined;
10102
10969
  intentScore?: number | null | undefined;
10103
10970
  delayInSeconds?: number | null | undefined;
10971
+ entities?: {
10972
+ type: string;
10973
+ end: number;
10974
+ start: number;
10975
+ option?: string | null | undefined;
10976
+ text?: string | null | undefined;
10977
+ }[] | null | undefined;
10104
10978
  }, {
10105
10979
  time: string;
10106
10980
  id: string;
@@ -10112,20 +10986,36 @@ declare module '@scout9/app/schemas' {
10112
10986
  intent?: string | null | undefined;
10113
10987
  intentScore?: number | null | undefined;
10114
10988
  delayInSeconds?: number | null | undefined;
10989
+ entities?: {
10990
+ type: string;
10991
+ end: number;
10992
+ start: number;
10993
+ option?: string | null | undefined;
10994
+ text?: string | null | undefined;
10995
+ }[] | null | undefined;
10115
10996
  }>, "many">, "many">>;
10116
10997
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
10117
10998
  pmt: z.ZodOptional<z.ZodObject<{
10118
10999
  tag: z.ZodOptional<z.ZodString>;
10119
11000
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
10120
11001
  llm: z.ZodOptional<z.ZodString>;
11002
+ webhookUri: z.ZodOptional<z.ZodString>;
11003
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
11004
+ watermark: z.ZodOptional<z.ZodString>;
10121
11005
  }, "strip", z.ZodTypeAny, {
10122
11006
  ingress: "auto" | "manual" | "app" | "workflow";
10123
11007
  tag?: string | undefined;
10124
11008
  llm?: string | undefined;
11009
+ webhookUri?: string | undefined;
11010
+ watermarkEnabled?: boolean | undefined;
11011
+ watermark?: string | undefined;
10125
11012
  }, {
10126
11013
  ingress: "auto" | "manual" | "app" | "workflow";
10127
11014
  tag?: string | undefined;
10128
11015
  llm?: string | undefined;
11016
+ webhookUri?: string | undefined;
11017
+ watermarkEnabled?: boolean | undefined;
11018
+ watermark?: string | undefined;
10129
11019
  }>>;
10130
11020
  id: z.ZodString;
10131
11021
  }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
@@ -10245,6 +11135,13 @@ declare module '@scout9/app/schemas' {
10245
11135
  intent?: string | null | undefined;
10246
11136
  intentScore?: number | null | undefined;
10247
11137
  delayInSeconds?: number | null | undefined;
11138
+ entities?: {
11139
+ type: string;
11140
+ end: number;
11141
+ start: number;
11142
+ option?: string | null | undefined;
11143
+ text?: string | null | undefined;
11144
+ }[] | null | undefined;
10248
11145
  };
10249
11146
  agent: {
10250
11147
  id: string;
@@ -10301,6 +11198,13 @@ declare module '@scout9/app/schemas' {
10301
11198
  intent?: string | null | undefined;
10302
11199
  intentScore?: number | null | undefined;
10303
11200
  delayInSeconds?: number | null | undefined;
11201
+ entities?: {
11202
+ type: string;
11203
+ end: number;
11204
+ start: number;
11205
+ option?: string | null | undefined;
11206
+ text?: string | null | undefined;
11207
+ }[] | null | undefined;
10304
11208
  }[];
10305
11209
  conversation: {
10306
11210
  environment: "email" | "phone" | "web";
@@ -10349,6 +11253,13 @@ declare module '@scout9/app/schemas' {
10349
11253
  intent?: string | null | undefined;
10350
11254
  intentScore?: number | null | undefined;
10351
11255
  delayInSeconds?: number | null | undefined;
11256
+ entities?: {
11257
+ type: string;
11258
+ end: number;
11259
+ start: number;
11260
+ option?: string | null | undefined;
11261
+ text?: string | null | undefined;
11262
+ }[] | null | undefined;
10352
11263
  };
10353
11264
  agent: {
10354
11265
  id: string;
@@ -10405,6 +11316,13 @@ declare module '@scout9/app/schemas' {
10405
11316
  intent?: string | null | undefined;
10406
11317
  intentScore?: number | null | undefined;
10407
11318
  delayInSeconds?: number | null | undefined;
11319
+ entities?: {
11320
+ type: string;
11321
+ end: number;
11322
+ start: number;
11323
+ option?: string | null | undefined;
11324
+ text?: string | null | undefined;
11325
+ }[] | null | undefined;
10408
11326
  }[];
10409
11327
  conversation: {
10410
11328
  environment: "email" | "phone" | "web";