@scout9/app 1.0.0-alpha.0.5.9 → 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
@@ -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,7 +813,10 @@ declare module '@scout9/app/spirits' {
804
813
  */
805
814
  message: any;
806
815
  customer: any;
807
- 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;
808
820
  };
809
821
  export type ParseOutput = {
810
822
  messages: Array<any>;
@@ -1324,6 +1336,25 @@ declare module '@scout9/app/schemas' {
1324
1336
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1325
1337
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1326
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">>>;
1327
1358
  }, "strip", z.ZodTypeAny, {
1328
1359
  time: string;
1329
1360
  id: string;
@@ -1335,6 +1366,13 @@ declare module '@scout9/app/schemas' {
1335
1366
  intent?: string | null | undefined;
1336
1367
  intentScore?: number | null | undefined;
1337
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;
1338
1376
  }, {
1339
1377
  time: string;
1340
1378
  id: string;
@@ -1346,20 +1384,36 @@ declare module '@scout9/app/schemas' {
1346
1384
  intent?: string | null | undefined;
1347
1385
  intentScore?: number | null | undefined;
1348
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;
1349
1394
  }>, "many">, "many">>;
1350
1395
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1351
1396
  pmt: z.ZodOptional<z.ZodObject<{
1352
1397
  tag: z.ZodOptional<z.ZodString>;
1353
1398
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
1354
1399
  llm: z.ZodOptional<z.ZodString>;
1400
+ webhookUri: z.ZodOptional<z.ZodString>;
1401
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
1402
+ watermark: z.ZodOptional<z.ZodString>;
1355
1403
  }, "strip", z.ZodTypeAny, {
1356
1404
  ingress: "auto" | "manual" | "app" | "workflow";
1357
1405
  tag?: string | undefined;
1358
1406
  llm?: string | undefined;
1407
+ webhookUri?: string | undefined;
1408
+ watermarkEnabled?: boolean | undefined;
1409
+ watermark?: string | undefined;
1359
1410
  }, {
1360
1411
  ingress: "auto" | "manual" | "app" | "workflow";
1361
1412
  tag?: string | undefined;
1362
1413
  llm?: string | undefined;
1414
+ webhookUri?: string | undefined;
1415
+ watermarkEnabled?: boolean | undefined;
1416
+ watermark?: string | undefined;
1363
1417
  }>>;
1364
1418
  }, "strip", z.ZodTypeAny, {
1365
1419
  title: string;
@@ -1392,12 +1446,22 @@ declare module '@scout9/app/schemas' {
1392
1446
  intent?: string | null | undefined;
1393
1447
  intentScore?: number | null | undefined;
1394
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;
1395
1456
  }[][] | undefined;
1396
1457
  audios?: any[] | undefined;
1397
1458
  pmt?: {
1398
1459
  ingress: "auto" | "manual" | "app" | "workflow";
1399
1460
  tag?: string | undefined;
1400
1461
  llm?: string | undefined;
1462
+ webhookUri?: string | undefined;
1463
+ watermarkEnabled?: boolean | undefined;
1464
+ watermark?: string | undefined;
1401
1465
  } | undefined;
1402
1466
  }, {
1403
1467
  deployed?: {
@@ -1430,12 +1494,22 @@ declare module '@scout9/app/schemas' {
1430
1494
  intent?: string | null | undefined;
1431
1495
  intentScore?: number | null | undefined;
1432
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;
1433
1504
  }[][] | undefined;
1434
1505
  audios?: any[] | undefined;
1435
1506
  pmt?: {
1436
1507
  ingress: "auto" | "manual" | "app" | "workflow";
1437
1508
  tag?: string | undefined;
1438
1509
  llm?: string | undefined;
1510
+ webhookUri?: string | undefined;
1511
+ watermarkEnabled?: boolean | undefined;
1512
+ watermark?: string | undefined;
1439
1513
  } | undefined;
1440
1514
  }>, "many">;
1441
1515
  entities: z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -1677,12 +1751,22 @@ declare module '@scout9/app/schemas' {
1677
1751
  intent?: string | null | undefined;
1678
1752
  intentScore?: number | null | undefined;
1679
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;
1680
1761
  }[][] | undefined;
1681
1762
  audios?: any[] | undefined;
1682
1763
  pmt?: {
1683
1764
  ingress: "auto" | "manual" | "app" | "workflow";
1684
1765
  tag?: string | undefined;
1685
1766
  llm?: string | undefined;
1767
+ webhookUri?: string | undefined;
1768
+ watermarkEnabled?: boolean | undefined;
1769
+ watermark?: string | undefined;
1686
1770
  } | undefined;
1687
1771
  }[];
1688
1772
  entities: {
@@ -1782,12 +1866,22 @@ declare module '@scout9/app/schemas' {
1782
1866
  intent?: string | null | undefined;
1783
1867
  intentScore?: number | null | undefined;
1784
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;
1785
1876
  }[][] | undefined;
1786
1877
  audios?: any[] | undefined;
1787
1878
  pmt?: {
1788
1879
  ingress: "auto" | "manual" | "app" | "workflow";
1789
1880
  tag?: string | undefined;
1790
1881
  llm?: string | undefined;
1882
+ webhookUri?: string | undefined;
1883
+ watermarkEnabled?: boolean | undefined;
1884
+ watermark?: string | undefined;
1791
1885
  } | undefined;
1792
1886
  }[];
1793
1887
  entities: {
@@ -2803,6 +2897,25 @@ declare module '@scout9/app/schemas' {
2803
2897
  input: string;
2804
2898
  output: Record<string, any>[];
2805
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
+ }>;
2806
2919
  export const MessageSchema: z.ZodObject<{
2807
2920
  id: z.ZodString;
2808
2921
  role: z.ZodEnum<["agent", "customer", "system"]>;
@@ -2814,6 +2927,25 @@ declare module '@scout9/app/schemas' {
2814
2927
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2815
2928
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2816
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">>>;
2817
2949
  }, "strip", z.ZodTypeAny, {
2818
2950
  time: string;
2819
2951
  id: string;
@@ -2825,6 +2957,13 @@ declare module '@scout9/app/schemas' {
2825
2957
  intent?: string | null | undefined;
2826
2958
  intentScore?: number | null | undefined;
2827
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;
2828
2967
  }, {
2829
2968
  time: string;
2830
2969
  id: string;
@@ -2836,6 +2975,13 @@ declare module '@scout9/app/schemas' {
2836
2975
  intent?: string | null | undefined;
2837
2976
  intentScore?: number | null | undefined;
2838
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;
2839
2985
  }>;
2840
2986
  export const CustomerValueSchema: z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodString]>;
2841
2987
  export const CustomerSchema: z.ZodObject<{
@@ -2932,6 +3078,25 @@ declare module '@scout9/app/schemas' {
2932
3078
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2933
3079
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2934
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">>>;
2935
3100
  }, "strip", z.ZodTypeAny, {
2936
3101
  time: string;
2937
3102
  id: string;
@@ -2943,6 +3108,13 @@ declare module '@scout9/app/schemas' {
2943
3108
  intent?: string | null | undefined;
2944
3109
  intentScore?: number | null | undefined;
2945
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;
2946
3118
  }, {
2947
3119
  time: string;
2948
3120
  id: string;
@@ -2954,20 +3126,36 @@ declare module '@scout9/app/schemas' {
2954
3126
  intent?: string | null | undefined;
2955
3127
  intentScore?: number | null | undefined;
2956
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;
2957
3136
  }>, "many">, "many">>;
2958
3137
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2959
3138
  pmt: z.ZodOptional<z.ZodObject<{
2960
3139
  tag: z.ZodOptional<z.ZodString>;
2961
3140
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
2962
3141
  llm: z.ZodOptional<z.ZodString>;
3142
+ webhookUri: z.ZodOptional<z.ZodString>;
3143
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3144
+ watermark: z.ZodOptional<z.ZodString>;
2963
3145
  }, "strip", z.ZodTypeAny, {
2964
3146
  ingress: "auto" | "manual" | "app" | "workflow";
2965
3147
  tag?: string | undefined;
2966
3148
  llm?: string | undefined;
3149
+ webhookUri?: string | undefined;
3150
+ watermarkEnabled?: boolean | undefined;
3151
+ watermark?: string | undefined;
2967
3152
  }, {
2968
3153
  ingress: "auto" | "manual" | "app" | "workflow";
2969
3154
  tag?: string | undefined;
2970
3155
  llm?: string | undefined;
3156
+ webhookUri?: string | undefined;
3157
+ watermarkEnabled?: boolean | undefined;
3158
+ watermark?: string | undefined;
2971
3159
  }>>;
2972
3160
  }, "strip", z.ZodTypeAny, {
2973
3161
  title: string;
@@ -3000,12 +3188,22 @@ declare module '@scout9/app/schemas' {
3000
3188
  intent?: string | null | undefined;
3001
3189
  intentScore?: number | null | undefined;
3002
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;
3003
3198
  }[][] | undefined;
3004
3199
  audios?: any[] | undefined;
3005
3200
  pmt?: {
3006
3201
  ingress: "auto" | "manual" | "app" | "workflow";
3007
3202
  tag?: string | undefined;
3008
3203
  llm?: string | undefined;
3204
+ webhookUri?: string | undefined;
3205
+ watermarkEnabled?: boolean | undefined;
3206
+ watermark?: string | undefined;
3009
3207
  } | undefined;
3010
3208
  }, {
3011
3209
  deployed?: {
@@ -3038,12 +3236,22 @@ declare module '@scout9/app/schemas' {
3038
3236
  intent?: string | null | undefined;
3039
3237
  intentScore?: number | null | undefined;
3040
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;
3041
3246
  }[][] | undefined;
3042
3247
  audios?: any[] | undefined;
3043
3248
  pmt?: {
3044
3249
  ingress: "auto" | "manual" | "app" | "workflow";
3045
3250
  tag?: string | undefined;
3046
3251
  llm?: string | undefined;
3252
+ webhookUri?: string | undefined;
3253
+ watermarkEnabled?: boolean | undefined;
3254
+ watermark?: string | undefined;
3047
3255
  } | undefined;
3048
3256
  }>;
3049
3257
  export const PersonaSchema: z.ZodObject<{
@@ -3085,6 +3293,25 @@ declare module '@scout9/app/schemas' {
3085
3293
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3086
3294
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3087
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">>>;
3088
3315
  }, "strip", z.ZodTypeAny, {
3089
3316
  time: string;
3090
3317
  id: string;
@@ -3096,6 +3323,13 @@ declare module '@scout9/app/schemas' {
3096
3323
  intent?: string | null | undefined;
3097
3324
  intentScore?: number | null | undefined;
3098
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;
3099
3333
  }, {
3100
3334
  time: string;
3101
3335
  id: string;
@@ -3107,20 +3341,36 @@ declare module '@scout9/app/schemas' {
3107
3341
  intent?: string | null | undefined;
3108
3342
  intentScore?: number | null | undefined;
3109
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;
3110
3351
  }>, "many">, "many">>;
3111
3352
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3112
3353
  pmt: z.ZodOptional<z.ZodObject<{
3113
3354
  tag: z.ZodOptional<z.ZodString>;
3114
3355
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3115
3356
  llm: z.ZodOptional<z.ZodString>;
3357
+ webhookUri: z.ZodOptional<z.ZodString>;
3358
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3359
+ watermark: z.ZodOptional<z.ZodString>;
3116
3360
  }, "strip", z.ZodTypeAny, {
3117
3361
  ingress: "auto" | "manual" | "app" | "workflow";
3118
3362
  tag?: string | undefined;
3119
3363
  llm?: string | undefined;
3364
+ webhookUri?: string | undefined;
3365
+ watermarkEnabled?: boolean | undefined;
3366
+ watermark?: string | undefined;
3120
3367
  }, {
3121
3368
  ingress: "auto" | "manual" | "app" | "workflow";
3122
3369
  tag?: string | undefined;
3123
3370
  llm?: string | undefined;
3371
+ webhookUri?: string | undefined;
3372
+ watermarkEnabled?: boolean | undefined;
3373
+ watermark?: string | undefined;
3124
3374
  }>>;
3125
3375
  }, "strip", z.ZodTypeAny, {
3126
3376
  title: string;
@@ -3153,12 +3403,22 @@ declare module '@scout9/app/schemas' {
3153
3403
  intent?: string | null | undefined;
3154
3404
  intentScore?: number | null | undefined;
3155
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;
3156
3413
  }[][] | undefined;
3157
3414
  audios?: any[] | undefined;
3158
3415
  pmt?: {
3159
3416
  ingress: "auto" | "manual" | "app" | "workflow";
3160
3417
  tag?: string | undefined;
3161
3418
  llm?: string | undefined;
3419
+ webhookUri?: string | undefined;
3420
+ watermarkEnabled?: boolean | undefined;
3421
+ watermark?: string | undefined;
3162
3422
  } | undefined;
3163
3423
  }, {
3164
3424
  deployed?: {
@@ -3191,12 +3451,22 @@ declare module '@scout9/app/schemas' {
3191
3451
  intent?: string | null | undefined;
3192
3452
  intentScore?: number | null | undefined;
3193
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;
3194
3461
  }[][] | undefined;
3195
3462
  audios?: any[] | undefined;
3196
3463
  pmt?: {
3197
3464
  ingress: "auto" | "manual" | "app" | "workflow";
3198
3465
  tag?: string | undefined;
3199
3466
  llm?: string | undefined;
3467
+ webhookUri?: string | undefined;
3468
+ watermarkEnabled?: boolean | undefined;
3469
+ watermark?: string | undefined;
3200
3470
  } | undefined;
3201
3471
  }>;
3202
3472
  export const AgentConfigurationSchema: z.ZodObject<{
@@ -3238,6 +3508,25 @@ declare module '@scout9/app/schemas' {
3238
3508
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3239
3509
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3240
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">>>;
3241
3530
  }, "strip", z.ZodTypeAny, {
3242
3531
  time: string;
3243
3532
  id: string;
@@ -3249,6 +3538,13 @@ declare module '@scout9/app/schemas' {
3249
3538
  intent?: string | null | undefined;
3250
3539
  intentScore?: number | null | undefined;
3251
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;
3252
3548
  }, {
3253
3549
  time: string;
3254
3550
  id: string;
@@ -3260,20 +3556,36 @@ declare module '@scout9/app/schemas' {
3260
3556
  intent?: string | null | undefined;
3261
3557
  intentScore?: number | null | undefined;
3262
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;
3263
3566
  }>, "many">, "many">>;
3264
3567
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3265
3568
  pmt: z.ZodOptional<z.ZodObject<{
3266
3569
  tag: z.ZodOptional<z.ZodString>;
3267
3570
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3268
3571
  llm: z.ZodOptional<z.ZodString>;
3572
+ webhookUri: z.ZodOptional<z.ZodString>;
3573
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3574
+ watermark: z.ZodOptional<z.ZodString>;
3269
3575
  }, "strip", z.ZodTypeAny, {
3270
3576
  ingress: "auto" | "manual" | "app" | "workflow";
3271
3577
  tag?: string | undefined;
3272
3578
  llm?: string | undefined;
3579
+ webhookUri?: string | undefined;
3580
+ watermarkEnabled?: boolean | undefined;
3581
+ watermark?: string | undefined;
3273
3582
  }, {
3274
3583
  ingress: "auto" | "manual" | "app" | "workflow";
3275
3584
  tag?: string | undefined;
3276
3585
  llm?: string | undefined;
3586
+ webhookUri?: string | undefined;
3587
+ watermarkEnabled?: boolean | undefined;
3588
+ watermark?: string | undefined;
3277
3589
  }>>;
3278
3590
  id: z.ZodString;
3279
3591
  }, "strip", z.ZodTypeAny, {
@@ -3308,12 +3620,22 @@ declare module '@scout9/app/schemas' {
3308
3620
  intent?: string | null | undefined;
3309
3621
  intentScore?: number | null | undefined;
3310
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;
3311
3630
  }[][] | undefined;
3312
3631
  audios?: any[] | undefined;
3313
3632
  pmt?: {
3314
3633
  ingress: "auto" | "manual" | "app" | "workflow";
3315
3634
  tag?: string | undefined;
3316
3635
  llm?: string | undefined;
3636
+ webhookUri?: string | undefined;
3637
+ watermarkEnabled?: boolean | undefined;
3638
+ watermark?: string | undefined;
3317
3639
  } | undefined;
3318
3640
  }, {
3319
3641
  id: string;
@@ -3347,12 +3669,22 @@ declare module '@scout9/app/schemas' {
3347
3669
  intent?: string | null | undefined;
3348
3670
  intentScore?: number | null | undefined;
3349
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;
3350
3679
  }[][] | undefined;
3351
3680
  audios?: any[] | undefined;
3352
3681
  pmt?: {
3353
3682
  ingress: "auto" | "manual" | "app" | "workflow";
3354
3683
  tag?: string | undefined;
3355
3684
  llm?: string | undefined;
3685
+ webhookUri?: string | undefined;
3686
+ watermarkEnabled?: boolean | undefined;
3687
+ watermark?: string | undefined;
3356
3688
  } | undefined;
3357
3689
  }>;
3358
3690
  export const PersonaConfigurationSchema: z.ZodObject<{
@@ -3394,6 +3726,25 @@ declare module '@scout9/app/schemas' {
3394
3726
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3395
3727
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3396
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">>>;
3397
3748
  }, "strip", z.ZodTypeAny, {
3398
3749
  time: string;
3399
3750
  id: string;
@@ -3405,6 +3756,13 @@ declare module '@scout9/app/schemas' {
3405
3756
  intent?: string | null | undefined;
3406
3757
  intentScore?: number | null | undefined;
3407
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;
3408
3766
  }, {
3409
3767
  time: string;
3410
3768
  id: string;
@@ -3416,20 +3774,36 @@ declare module '@scout9/app/schemas' {
3416
3774
  intent?: string | null | undefined;
3417
3775
  intentScore?: number | null | undefined;
3418
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;
3419
3784
  }>, "many">, "many">>;
3420
3785
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3421
3786
  pmt: z.ZodOptional<z.ZodObject<{
3422
3787
  tag: z.ZodOptional<z.ZodString>;
3423
3788
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3424
3789
  llm: z.ZodOptional<z.ZodString>;
3790
+ webhookUri: z.ZodOptional<z.ZodString>;
3791
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
3792
+ watermark: z.ZodOptional<z.ZodString>;
3425
3793
  }, "strip", z.ZodTypeAny, {
3426
3794
  ingress: "auto" | "manual" | "app" | "workflow";
3427
3795
  tag?: string | undefined;
3428
3796
  llm?: string | undefined;
3797
+ webhookUri?: string | undefined;
3798
+ watermarkEnabled?: boolean | undefined;
3799
+ watermark?: string | undefined;
3429
3800
  }, {
3430
3801
  ingress: "auto" | "manual" | "app" | "workflow";
3431
3802
  tag?: string | undefined;
3432
3803
  llm?: string | undefined;
3804
+ webhookUri?: string | undefined;
3805
+ watermarkEnabled?: boolean | undefined;
3806
+ watermark?: string | undefined;
3433
3807
  }>>;
3434
3808
  id: z.ZodString;
3435
3809
  }, "strip", z.ZodTypeAny, {
@@ -3464,12 +3838,22 @@ declare module '@scout9/app/schemas' {
3464
3838
  intent?: string | null | undefined;
3465
3839
  intentScore?: number | null | undefined;
3466
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;
3467
3848
  }[][] | undefined;
3468
3849
  audios?: any[] | undefined;
3469
3850
  pmt?: {
3470
3851
  ingress: "auto" | "manual" | "app" | "workflow";
3471
3852
  tag?: string | undefined;
3472
3853
  llm?: string | undefined;
3854
+ webhookUri?: string | undefined;
3855
+ watermarkEnabled?: boolean | undefined;
3856
+ watermark?: string | undefined;
3473
3857
  } | undefined;
3474
3858
  }, {
3475
3859
  id: string;
@@ -3503,12 +3887,22 @@ declare module '@scout9/app/schemas' {
3503
3887
  intent?: string | null | undefined;
3504
3888
  intentScore?: number | null | undefined;
3505
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;
3506
3897
  }[][] | undefined;
3507
3898
  audios?: any[] | undefined;
3508
3899
  pmt?: {
3509
3900
  ingress: "auto" | "manual" | "app" | "workflow";
3510
3901
  tag?: string | undefined;
3511
3902
  llm?: string | undefined;
3903
+ webhookUri?: string | undefined;
3904
+ watermarkEnabled?: boolean | undefined;
3905
+ watermark?: string | undefined;
3512
3906
  } | undefined;
3513
3907
  }>;
3514
3908
  export const AgentsConfigurationSchema: z.ZodArray<z.ZodObject<{
@@ -3550,6 +3944,25 @@ declare module '@scout9/app/schemas' {
3550
3944
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3551
3945
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3552
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">>>;
3553
3966
  }, "strip", z.ZodTypeAny, {
3554
3967
  time: string;
3555
3968
  id: string;
@@ -3561,6 +3974,13 @@ declare module '@scout9/app/schemas' {
3561
3974
  intent?: string | null | undefined;
3562
3975
  intentScore?: number | null | undefined;
3563
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;
3564
3984
  }, {
3565
3985
  time: string;
3566
3986
  id: string;
@@ -3572,20 +3992,36 @@ declare module '@scout9/app/schemas' {
3572
3992
  intent?: string | null | undefined;
3573
3993
  intentScore?: number | null | undefined;
3574
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;
3575
4002
  }>, "many">, "many">>;
3576
4003
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3577
4004
  pmt: z.ZodOptional<z.ZodObject<{
3578
4005
  tag: z.ZodOptional<z.ZodString>;
3579
4006
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3580
4007
  llm: z.ZodOptional<z.ZodString>;
4008
+ webhookUri: z.ZodOptional<z.ZodString>;
4009
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4010
+ watermark: z.ZodOptional<z.ZodString>;
3581
4011
  }, "strip", z.ZodTypeAny, {
3582
4012
  ingress: "auto" | "manual" | "app" | "workflow";
3583
4013
  tag?: string | undefined;
3584
4014
  llm?: string | undefined;
4015
+ webhookUri?: string | undefined;
4016
+ watermarkEnabled?: boolean | undefined;
4017
+ watermark?: string | undefined;
3585
4018
  }, {
3586
4019
  ingress: "auto" | "manual" | "app" | "workflow";
3587
4020
  tag?: string | undefined;
3588
4021
  llm?: string | undefined;
4022
+ webhookUri?: string | undefined;
4023
+ watermarkEnabled?: boolean | undefined;
4024
+ watermark?: string | undefined;
3589
4025
  }>>;
3590
4026
  id: z.ZodString;
3591
4027
  }, "strip", z.ZodTypeAny, {
@@ -3620,12 +4056,22 @@ declare module '@scout9/app/schemas' {
3620
4056
  intent?: string | null | undefined;
3621
4057
  intentScore?: number | null | undefined;
3622
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;
3623
4066
  }[][] | undefined;
3624
4067
  audios?: any[] | undefined;
3625
4068
  pmt?: {
3626
4069
  ingress: "auto" | "manual" | "app" | "workflow";
3627
4070
  tag?: string | undefined;
3628
4071
  llm?: string | undefined;
4072
+ webhookUri?: string | undefined;
4073
+ watermarkEnabled?: boolean | undefined;
4074
+ watermark?: string | undefined;
3629
4075
  } | undefined;
3630
4076
  }, {
3631
4077
  id: string;
@@ -3659,12 +4105,22 @@ declare module '@scout9/app/schemas' {
3659
4105
  intent?: string | null | undefined;
3660
4106
  intentScore?: number | null | undefined;
3661
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;
3662
4115
  }[][] | undefined;
3663
4116
  audios?: any[] | undefined;
3664
4117
  pmt?: {
3665
4118
  ingress: "auto" | "manual" | "app" | "workflow";
3666
4119
  tag?: string | undefined;
3667
4120
  llm?: string | undefined;
4121
+ webhookUri?: string | undefined;
4122
+ watermarkEnabled?: boolean | undefined;
4123
+ watermark?: string | undefined;
3668
4124
  } | undefined;
3669
4125
  }>, "many">;
3670
4126
  export const PersonasConfigurationSchema: z.ZodArray<z.ZodObject<{
@@ -3706,6 +4162,25 @@ declare module '@scout9/app/schemas' {
3706
4162
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3707
4163
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3708
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">>>;
3709
4184
  }, "strip", z.ZodTypeAny, {
3710
4185
  time: string;
3711
4186
  id: string;
@@ -3717,6 +4192,13 @@ declare module '@scout9/app/schemas' {
3717
4192
  intent?: string | null | undefined;
3718
4193
  intentScore?: number | null | undefined;
3719
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;
3720
4202
  }, {
3721
4203
  time: string;
3722
4204
  id: string;
@@ -3728,20 +4210,36 @@ declare module '@scout9/app/schemas' {
3728
4210
  intent?: string | null | undefined;
3729
4211
  intentScore?: number | null | undefined;
3730
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;
3731
4220
  }>, "many">, "many">>;
3732
4221
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3733
4222
  pmt: z.ZodOptional<z.ZodObject<{
3734
4223
  tag: z.ZodOptional<z.ZodString>;
3735
4224
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3736
4225
  llm: z.ZodOptional<z.ZodString>;
4226
+ webhookUri: z.ZodOptional<z.ZodString>;
4227
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4228
+ watermark: z.ZodOptional<z.ZodString>;
3737
4229
  }, "strip", z.ZodTypeAny, {
3738
4230
  ingress: "auto" | "manual" | "app" | "workflow";
3739
4231
  tag?: string | undefined;
3740
4232
  llm?: string | undefined;
4233
+ webhookUri?: string | undefined;
4234
+ watermarkEnabled?: boolean | undefined;
4235
+ watermark?: string | undefined;
3741
4236
  }, {
3742
4237
  ingress: "auto" | "manual" | "app" | "workflow";
3743
4238
  tag?: string | undefined;
3744
4239
  llm?: string | undefined;
4240
+ webhookUri?: string | undefined;
4241
+ watermarkEnabled?: boolean | undefined;
4242
+ watermark?: string | undefined;
3745
4243
  }>>;
3746
4244
  id: z.ZodString;
3747
4245
  }, "strip", z.ZodTypeAny, {
@@ -3776,12 +4274,22 @@ declare module '@scout9/app/schemas' {
3776
4274
  intent?: string | null | undefined;
3777
4275
  intentScore?: number | null | undefined;
3778
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;
3779
4284
  }[][] | undefined;
3780
4285
  audios?: any[] | undefined;
3781
4286
  pmt?: {
3782
4287
  ingress: "auto" | "manual" | "app" | "workflow";
3783
4288
  tag?: string | undefined;
3784
4289
  llm?: string | undefined;
4290
+ webhookUri?: string | undefined;
4291
+ watermarkEnabled?: boolean | undefined;
4292
+ watermark?: string | undefined;
3785
4293
  } | undefined;
3786
4294
  }, {
3787
4295
  id: string;
@@ -3815,12 +4323,22 @@ declare module '@scout9/app/schemas' {
3815
4323
  intent?: string | null | undefined;
3816
4324
  intentScore?: number | null | undefined;
3817
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;
3818
4333
  }[][] | undefined;
3819
4334
  audios?: any[] | undefined;
3820
4335
  pmt?: {
3821
4336
  ingress: "auto" | "manual" | "app" | "workflow";
3822
4337
  tag?: string | undefined;
3823
4338
  llm?: string | undefined;
4339
+ webhookUri?: string | undefined;
4340
+ watermarkEnabled?: boolean | undefined;
4341
+ watermark?: string | undefined;
3824
4342
  } | undefined;
3825
4343
  }>, "many">;
3826
4344
  export const AgentsSchema: z.ZodArray<z.ZodObject<{
@@ -3862,6 +4380,25 @@ declare module '@scout9/app/schemas' {
3862
4380
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3863
4381
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3864
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">>>;
3865
4402
  }, "strip", z.ZodTypeAny, {
3866
4403
  time: string;
3867
4404
  id: string;
@@ -3873,6 +4410,13 @@ declare module '@scout9/app/schemas' {
3873
4410
  intent?: string | null | undefined;
3874
4411
  intentScore?: number | null | undefined;
3875
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;
3876
4420
  }, {
3877
4421
  time: string;
3878
4422
  id: string;
@@ -3884,20 +4428,36 @@ declare module '@scout9/app/schemas' {
3884
4428
  intent?: string | null | undefined;
3885
4429
  intentScore?: number | null | undefined;
3886
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;
3887
4438
  }>, "many">, "many">>;
3888
4439
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3889
4440
  pmt: z.ZodOptional<z.ZodObject<{
3890
4441
  tag: z.ZodOptional<z.ZodString>;
3891
4442
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
3892
4443
  llm: z.ZodOptional<z.ZodString>;
4444
+ webhookUri: z.ZodOptional<z.ZodString>;
4445
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4446
+ watermark: z.ZodOptional<z.ZodString>;
3893
4447
  }, "strip", z.ZodTypeAny, {
3894
4448
  ingress: "auto" | "manual" | "app" | "workflow";
3895
4449
  tag?: string | undefined;
3896
4450
  llm?: string | undefined;
4451
+ webhookUri?: string | undefined;
4452
+ watermarkEnabled?: boolean | undefined;
4453
+ watermark?: string | undefined;
3897
4454
  }, {
3898
4455
  ingress: "auto" | "manual" | "app" | "workflow";
3899
4456
  tag?: string | undefined;
3900
4457
  llm?: string | undefined;
4458
+ webhookUri?: string | undefined;
4459
+ watermarkEnabled?: boolean | undefined;
4460
+ watermark?: string | undefined;
3901
4461
  }>>;
3902
4462
  }, "strip", z.ZodTypeAny, {
3903
4463
  title: string;
@@ -3930,12 +4490,22 @@ declare module '@scout9/app/schemas' {
3930
4490
  intent?: string | null | undefined;
3931
4491
  intentScore?: number | null | undefined;
3932
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;
3933
4500
  }[][] | undefined;
3934
4501
  audios?: any[] | undefined;
3935
4502
  pmt?: {
3936
4503
  ingress: "auto" | "manual" | "app" | "workflow";
3937
4504
  tag?: string | undefined;
3938
4505
  llm?: string | undefined;
4506
+ webhookUri?: string | undefined;
4507
+ watermarkEnabled?: boolean | undefined;
4508
+ watermark?: string | undefined;
3939
4509
  } | undefined;
3940
4510
  }, {
3941
4511
  deployed?: {
@@ -3968,12 +4538,22 @@ declare module '@scout9/app/schemas' {
3968
4538
  intent?: string | null | undefined;
3969
4539
  intentScore?: number | null | undefined;
3970
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;
3971
4548
  }[][] | undefined;
3972
4549
  audios?: any[] | undefined;
3973
4550
  pmt?: {
3974
4551
  ingress: "auto" | "manual" | "app" | "workflow";
3975
4552
  tag?: string | undefined;
3976
4553
  llm?: string | undefined;
4554
+ webhookUri?: string | undefined;
4555
+ watermarkEnabled?: boolean | undefined;
4556
+ watermark?: string | undefined;
3977
4557
  } | undefined;
3978
4558
  }>, "many">;
3979
4559
  export const PersonasSchema: z.ZodArray<z.ZodObject<{
@@ -4015,6 +4595,25 @@ declare module '@scout9/app/schemas' {
4015
4595
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4016
4596
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4017
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">>>;
4018
4617
  }, "strip", z.ZodTypeAny, {
4019
4618
  time: string;
4020
4619
  id: string;
@@ -4026,6 +4625,13 @@ declare module '@scout9/app/schemas' {
4026
4625
  intent?: string | null | undefined;
4027
4626
  intentScore?: number | null | undefined;
4028
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;
4029
4635
  }, {
4030
4636
  time: string;
4031
4637
  id: string;
@@ -4037,20 +4643,36 @@ declare module '@scout9/app/schemas' {
4037
4643
  intent?: string | null | undefined;
4038
4644
  intentScore?: number | null | undefined;
4039
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;
4040
4653
  }>, "many">, "many">>;
4041
4654
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4042
4655
  pmt: z.ZodOptional<z.ZodObject<{
4043
4656
  tag: z.ZodOptional<z.ZodString>;
4044
4657
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4045
4658
  llm: z.ZodOptional<z.ZodString>;
4659
+ webhookUri: z.ZodOptional<z.ZodString>;
4660
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
4661
+ watermark: z.ZodOptional<z.ZodString>;
4046
4662
  }, "strip", z.ZodTypeAny, {
4047
4663
  ingress: "auto" | "manual" | "app" | "workflow";
4048
4664
  tag?: string | undefined;
4049
4665
  llm?: string | undefined;
4666
+ webhookUri?: string | undefined;
4667
+ watermarkEnabled?: boolean | undefined;
4668
+ watermark?: string | undefined;
4050
4669
  }, {
4051
4670
  ingress: "auto" | "manual" | "app" | "workflow";
4052
4671
  tag?: string | undefined;
4053
4672
  llm?: string | undefined;
4673
+ webhookUri?: string | undefined;
4674
+ watermarkEnabled?: boolean | undefined;
4675
+ watermark?: string | undefined;
4054
4676
  }>>;
4055
4677
  }, "strip", z.ZodTypeAny, {
4056
4678
  title: string;
@@ -4083,12 +4705,22 @@ declare module '@scout9/app/schemas' {
4083
4705
  intent?: string | null | undefined;
4084
4706
  intentScore?: number | null | undefined;
4085
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;
4086
4715
  }[][] | undefined;
4087
4716
  audios?: any[] | undefined;
4088
4717
  pmt?: {
4089
4718
  ingress: "auto" | "manual" | "app" | "workflow";
4090
4719
  tag?: string | undefined;
4091
4720
  llm?: string | undefined;
4721
+ webhookUri?: string | undefined;
4722
+ watermarkEnabled?: boolean | undefined;
4723
+ watermark?: string | undefined;
4092
4724
  } | undefined;
4093
4725
  }, {
4094
4726
  deployed?: {
@@ -4121,12 +4753,22 @@ declare module '@scout9/app/schemas' {
4121
4753
  intent?: string | null | undefined;
4122
4754
  intentScore?: number | null | undefined;
4123
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;
4124
4763
  }[][] | undefined;
4125
4764
  audios?: any[] | undefined;
4126
4765
  pmt?: {
4127
4766
  ingress: "auto" | "manual" | "app" | "workflow";
4128
4767
  tag?: string | undefined;
4129
4768
  llm?: string | undefined;
4769
+ webhookUri?: string | undefined;
4770
+ watermarkEnabled?: boolean | undefined;
4771
+ watermark?: string | undefined;
4130
4772
  } | undefined;
4131
4773
  }>, "many">;
4132
4774
  export const ForwardSchema: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodObject<{
@@ -4418,6 +5060,25 @@ declare module '@scout9/app/schemas' {
4418
5060
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4419
5061
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4420
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">>>;
4421
5082
  }, "strip", z.ZodTypeAny, {
4422
5083
  time: string;
4423
5084
  id: string;
@@ -4429,6 +5090,13 @@ declare module '@scout9/app/schemas' {
4429
5090
  intent?: string | null | undefined;
4430
5091
  intentScore?: number | null | undefined;
4431
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;
4432
5100
  }, {
4433
5101
  time: string;
4434
5102
  id: string;
@@ -4440,6 +5108,13 @@ declare module '@scout9/app/schemas' {
4440
5108
  intent?: string | null | undefined;
4441
5109
  intentScore?: number | null | undefined;
4442
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;
4443
5118
  }>, "many">;
4444
5119
  conversation: z.ZodObject<{
4445
5120
  $id: z.ZodString;
@@ -4583,6 +5258,25 @@ declare module '@scout9/app/schemas' {
4583
5258
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4584
5259
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4585
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">>>;
4586
5280
  }, "strip", z.ZodTypeAny, {
4587
5281
  time: string;
4588
5282
  id: string;
@@ -4594,6 +5288,13 @@ declare module '@scout9/app/schemas' {
4594
5288
  intent?: string | null | undefined;
4595
5289
  intentScore?: number | null | undefined;
4596
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;
4597
5298
  }, {
4598
5299
  time: string;
4599
5300
  id: string;
@@ -4605,6 +5306,13 @@ declare module '@scout9/app/schemas' {
4605
5306
  intent?: string | null | undefined;
4606
5307
  intentScore?: number | null | undefined;
4607
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;
4608
5316
  }>;
4609
5317
  agent: z.ZodObject<Omit<{
4610
5318
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -4645,6 +5353,25 @@ declare module '@scout9/app/schemas' {
4645
5353
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4646
5354
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4647
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">>>;
4648
5375
  }, "strip", z.ZodTypeAny, {
4649
5376
  time: string;
4650
5377
  id: string;
@@ -4656,6 +5383,13 @@ declare module '@scout9/app/schemas' {
4656
5383
  intent?: string | null | undefined;
4657
5384
  intentScore?: number | null | undefined;
4658
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;
4659
5393
  }, {
4660
5394
  time: string;
4661
5395
  id: string;
@@ -4667,20 +5401,36 @@ declare module '@scout9/app/schemas' {
4667
5401
  intent?: string | null | undefined;
4668
5402
  intentScore?: number | null | undefined;
4669
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;
4670
5411
  }>, "many">, "many">>;
4671
5412
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4672
5413
  pmt: z.ZodOptional<z.ZodObject<{
4673
5414
  tag: z.ZodOptional<z.ZodString>;
4674
5415
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
4675
5416
  llm: z.ZodOptional<z.ZodString>;
5417
+ webhookUri: z.ZodOptional<z.ZodString>;
5418
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
5419
+ watermark: z.ZodOptional<z.ZodString>;
4676
5420
  }, "strip", z.ZodTypeAny, {
4677
5421
  ingress: "auto" | "manual" | "app" | "workflow";
4678
5422
  tag?: string | undefined;
4679
5423
  llm?: string | undefined;
5424
+ webhookUri?: string | undefined;
5425
+ watermarkEnabled?: boolean | undefined;
5426
+ watermark?: string | undefined;
4680
5427
  }, {
4681
5428
  ingress: "auto" | "manual" | "app" | "workflow";
4682
5429
  tag?: string | undefined;
4683
5430
  llm?: string | undefined;
5431
+ webhookUri?: string | undefined;
5432
+ watermarkEnabled?: boolean | undefined;
5433
+ watermark?: string | undefined;
4684
5434
  }>>;
4685
5435
  id: z.ZodString;
4686
5436
  }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
@@ -4800,6 +5550,13 @@ declare module '@scout9/app/schemas' {
4800
5550
  intent?: string | null | undefined;
4801
5551
  intentScore?: number | null | undefined;
4802
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;
4803
5560
  };
4804
5561
  agent: {
4805
5562
  id: string;
@@ -4856,6 +5613,13 @@ declare module '@scout9/app/schemas' {
4856
5613
  intent?: string | null | undefined;
4857
5614
  intentScore?: number | null | undefined;
4858
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;
4859
5623
  }[];
4860
5624
  conversation: {
4861
5625
  environment: "email" | "phone" | "web";
@@ -4904,6 +5668,13 @@ declare module '@scout9/app/schemas' {
4904
5668
  intent?: string | null | undefined;
4905
5669
  intentScore?: number | null | undefined;
4906
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;
4907
5678
  };
4908
5679
  agent: {
4909
5680
  id: string;
@@ -4960,6 +5731,13 @@ declare module '@scout9/app/schemas' {
4960
5731
  intent?: string | null | undefined;
4961
5732
  intentScore?: number | null | undefined;
4962
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;
4963
5741
  }[];
4964
5742
  conversation: {
4965
5743
  environment: "email" | "phone" | "web";
@@ -9863,6 +10641,25 @@ declare module '@scout9/app/schemas' {
9863
10641
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9864
10642
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9865
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">>>;
9866
10663
  }, "strip", z.ZodTypeAny, {
9867
10664
  time: string;
9868
10665
  id: string;
@@ -9874,6 +10671,13 @@ declare module '@scout9/app/schemas' {
9874
10671
  intent?: string | null | undefined;
9875
10672
  intentScore?: number | null | undefined;
9876
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;
9877
10681
  }, {
9878
10682
  time: string;
9879
10683
  id: string;
@@ -9885,6 +10689,13 @@ declare module '@scout9/app/schemas' {
9885
10689
  intent?: string | null | undefined;
9886
10690
  intentScore?: number | null | undefined;
9887
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;
9888
10699
  }>, "many">;
9889
10700
  conversation: z.ZodObject<{
9890
10701
  $id: z.ZodString;
@@ -10028,6 +10839,25 @@ declare module '@scout9/app/schemas' {
10028
10839
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10029
10840
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10030
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">>>;
10031
10861
  }, "strip", z.ZodTypeAny, {
10032
10862
  time: string;
10033
10863
  id: string;
@@ -10039,6 +10869,13 @@ declare module '@scout9/app/schemas' {
10039
10869
  intent?: string | null | undefined;
10040
10870
  intentScore?: number | null | undefined;
10041
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;
10042
10879
  }, {
10043
10880
  time: string;
10044
10881
  id: string;
@@ -10050,6 +10887,13 @@ declare module '@scout9/app/schemas' {
10050
10887
  intent?: string | null | undefined;
10051
10888
  intentScore?: number | null | undefined;
10052
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;
10053
10897
  }>;
10054
10898
  agent: z.ZodObject<Omit<{
10055
10899
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -10090,6 +10934,25 @@ declare module '@scout9/app/schemas' {
10090
10934
  intent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10091
10935
  intentScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10092
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">>>;
10093
10956
  }, "strip", z.ZodTypeAny, {
10094
10957
  time: string;
10095
10958
  id: string;
@@ -10101,6 +10964,13 @@ declare module '@scout9/app/schemas' {
10101
10964
  intent?: string | null | undefined;
10102
10965
  intentScore?: number | null | undefined;
10103
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;
10104
10974
  }, {
10105
10975
  time: string;
10106
10976
  id: string;
@@ -10112,20 +10982,36 @@ declare module '@scout9/app/schemas' {
10112
10982
  intent?: string | null | undefined;
10113
10983
  intentScore?: number | null | undefined;
10114
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;
10115
10992
  }>, "many">, "many">>;
10116
10993
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
10117
10994
  pmt: z.ZodOptional<z.ZodObject<{
10118
10995
  tag: z.ZodOptional<z.ZodString>;
10119
10996
  ingress: z.ZodEnum<["auto", "manual", "app", "workflow"]>;
10120
10997
  llm: z.ZodOptional<z.ZodString>;
10998
+ webhookUri: z.ZodOptional<z.ZodString>;
10999
+ watermarkEnabled: z.ZodOptional<z.ZodBoolean>;
11000
+ watermark: z.ZodOptional<z.ZodString>;
10121
11001
  }, "strip", z.ZodTypeAny, {
10122
11002
  ingress: "auto" | "manual" | "app" | "workflow";
10123
11003
  tag?: string | undefined;
10124
11004
  llm?: string | undefined;
11005
+ webhookUri?: string | undefined;
11006
+ watermarkEnabled?: boolean | undefined;
11007
+ watermark?: string | undefined;
10125
11008
  }, {
10126
11009
  ingress: "auto" | "manual" | "app" | "workflow";
10127
11010
  tag?: string | undefined;
10128
11011
  llm?: string | undefined;
11012
+ webhookUri?: string | undefined;
11013
+ watermarkEnabled?: boolean | undefined;
11014
+ watermark?: string | undefined;
10129
11015
  }>>;
10130
11016
  id: z.ZodString;
10131
11017
  }, "context" | "includedLocations" | "excludedLocations" | "model" | "transcripts" | "audios" | "pmt">, "strip", z.ZodTypeAny, {
@@ -10245,6 +11131,13 @@ declare module '@scout9/app/schemas' {
10245
11131
  intent?: string | null | undefined;
10246
11132
  intentScore?: number | null | undefined;
10247
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;
10248
11141
  };
10249
11142
  agent: {
10250
11143
  id: string;
@@ -10301,6 +11194,13 @@ declare module '@scout9/app/schemas' {
10301
11194
  intent?: string | null | undefined;
10302
11195
  intentScore?: number | null | undefined;
10303
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;
10304
11204
  }[];
10305
11205
  conversation: {
10306
11206
  environment: "email" | "phone" | "web";
@@ -10349,6 +11249,13 @@ declare module '@scout9/app/schemas' {
10349
11249
  intent?: string | null | undefined;
10350
11250
  intentScore?: number | null | undefined;
10351
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;
10352
11259
  };
10353
11260
  agent: {
10354
11261
  id: string;
@@ -10405,6 +11312,13 @@ declare module '@scout9/app/schemas' {
10405
11312
  intent?: string | null | undefined;
10406
11313
  intentScore?: number | null | undefined;
10407
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;
10408
11322
  }[];
10409
11323
  conversation: {
10410
11324
  environment: "email" | "phone" | "web";