@scout9/app 1.0.0-alpha.0.6.4 → 1.0.0-alpha.0.6.5

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
@@ -1,9 +1,4 @@
1
1
  declare module '@scout9/app' {
2
- /**
3
- * Scout9 App
4
- * Application platform for managing auto reply workflows from personal communication methods
5
- */
6
-
7
2
  /**
8
3
  * @param event - every workflow receives an event object
9
4
  * */
@@ -480,6 +475,21 @@ declare module '@scout9/app' {
480
475
 
481
476
  export type Followup = FollowupWithMessage | FollowupWithInstructions;
482
477
 
478
+ /**
479
+ * Metadata to provide a atomic transaction on a entity context record
480
+ * @ingress auto/manual only
481
+ */
482
+ export type EntityContextUpsert = {
483
+ entityType: string;
484
+ entityRecordId: string;
485
+ method: 'mutate' | 'delete'
486
+ } & ({
487
+ method: 'delete'
488
+ } | {
489
+ method: 'mutate';
490
+ fields: Record<string, string | number | boolean | null | '#remove' | '#delete'>;
491
+ });
492
+
483
493
  export type Forward = boolean | string | {
484
494
  to?: string | undefined;
485
495
  mode?: ("after-reply" | "immediately") | undefined;
@@ -504,6 +514,9 @@ declare module '@scout9/app' {
504
514
  export type Message = {
505
515
  /** Unique ID for the message */
506
516
  id: string;
517
+ /**
518
+ * @TODO role:agent is inaccurate it should be "persona"
519
+ */
507
520
  role: "agent" | "customer" | "system";
508
521
  content: string;
509
522
  /** Datetime ISO 8601 timestamp */
@@ -521,6 +534,10 @@ declare module '@scout9/app' {
521
534
  delayInSeconds?: (number | null) | undefined;
522
535
  /** Entities related to the message */
523
536
  entities?: EntityToken[] | null;
537
+ /** If set to true, the PMT will not transform, message will be sent as is */
538
+ ignoreTransform?: boolean;
539
+ /** Media urls to attach to the transported message */
540
+ mediaUrls?: string[];
524
541
  };
525
542
 
526
543
  export type PersonaConfiguration = AgentConfiguration;
@@ -616,27 +633,79 @@ declare module '@scout9/app' {
616
633
 
617
634
  export type Anticipate = AnticipateDid | AnticipateKeywords[];
618
635
 
636
+ export type DirectMessagePayload = {
637
+ /**
638
+ * The content
639
+ */
640
+ content: string;
641
+
642
+ /**
643
+ * If true, the PMT will transform the message into the owners own words. By default will send the message as is
644
+ */
645
+ transform?: boolean;
646
+
647
+ mediaUrls?: string[];
648
+ };
649
+
650
+ /**
651
+ * Workflow Response Slot, can use for both PMT workflow event and event macro runtimes
652
+ */
619
653
  export type WorkflowResponseSlotBase = {
620
654
  /** Forward input information of a conversation */
621
655
  forward?: Forward | undefined;
622
656
  /** Note to provide to the agent, recommend using forward object api instead */
623
657
  forwardNote?: string | undefined;
658
+
659
+ /** Instructions to send to the PMT on how to steer the conversation */
624
660
  instructions?: Instruction[] | undefined;
661
+
662
+ /** Remove instructions from memory (requires set instructions to have ids) */
625
663
  removeInstructions?: string[] | undefined;
626
- message?: string | {content: string; transform?: boolean} | undefined;
664
+
665
+ /** If provided, sends a direct message to the user */
666
+ message?: string | DirectMessagePayload | undefined;
667
+
668
+ /** Delays in seconds of instructions (if provided) to PMT and direct message (if provided) to user */
627
669
  secondsDelay?: number | undefined;
670
+
671
+ /** unix time of when to send instructions or message */
628
672
  scheduled?: number | undefined;
673
+
674
+ /** Context to upsert to the conversation */
629
675
  contextUpsert?: {
630
676
  [x: string]: any;
631
677
  } | undefined;
678
+
679
+ /** If true, resets the conversations intent value to undefined or to its initial value */
632
680
  resetIntent?: boolean | undefined;
681
+
682
+ /** Information to follow up to the client */
633
683
  followup?: Followup | undefined;
634
684
  };
635
685
 
686
+ /**
687
+ * Workflow Response Slot, only PMT workflow events
688
+ */
636
689
  export type WorkflowResponseSlot = WorkflowResponseSlotBase & {
690
+ /**
691
+ * The Anticipate API acts as a preflight to the users next response, for example:
692
+ * - did the user agree to accept the concert tickets? Then proceed with asking for their email
693
+ * - Did the user say any of these words: "cancel", "drop", or "remove"? Then cancel tickets
694
+ */
637
695
  anticipate?: Anticipate | undefined;
696
+
697
+
698
+ /**
699
+ * If provided, it will propagate entity context to your Scout9 entity context store
700
+ * @ingress auto/manual only
701
+ */
702
+ entityContextUpsert?: Array<EntityContextUpsert> | undefined;
638
703
  };
639
704
 
705
+ /**
706
+ * The JSON anticipated response for a given workflow to drive the PMT runtime
707
+ * Can either be an EventMacro or WorkflowResponseSlot
708
+ */
640
709
  export type WorkflowResponse = EventMacros | WorkflowResponseSlot | (WorkflowResponseSlot | EventMacros)[];
641
710
 
642
711
  export type WorkflowFunction = (event: WorkflowEvent) => WorkflowResponse | Promise<WorkflowResponse>;
@@ -863,6 +932,7 @@ declare module '@scout9/app/spirits' {
863
932
  context: Change<any>;
864
933
  message: Change<any>;
865
934
  followup: Array<any>;
935
+ entityContextUpsert: Array<any>;
866
936
  };
867
937
  }
868
938
 
@@ -1360,6 +1430,8 @@ declare module '@scout9/app/schemas' {
1360
1430
  option?: string | null | undefined;
1361
1431
  text?: string | null | undefined;
1362
1432
  }>, "many">>>;
1433
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
1434
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1363
1435
  }, "strip", z.ZodTypeAny, {
1364
1436
  time: string;
1365
1437
  id: string;
@@ -1378,6 +1450,8 @@ declare module '@scout9/app/schemas' {
1378
1450
  option?: string | null | undefined;
1379
1451
  text?: string | null | undefined;
1380
1452
  }[] | null | undefined;
1453
+ ignoreTransform?: boolean | undefined;
1454
+ mediaUrls?: string[] | null | undefined;
1381
1455
  }, {
1382
1456
  time: string;
1383
1457
  id: string;
@@ -1396,6 +1470,8 @@ declare module '@scout9/app/schemas' {
1396
1470
  option?: string | null | undefined;
1397
1471
  text?: string | null | undefined;
1398
1472
  }[] | null | undefined;
1473
+ ignoreTransform?: boolean | undefined;
1474
+ mediaUrls?: string[] | null | undefined;
1399
1475
  }>, "many">, "many">>;
1400
1476
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1401
1477
  pmt: z.ZodOptional<z.ZodObject<{
@@ -1459,6 +1535,8 @@ declare module '@scout9/app/schemas' {
1459
1535
  option?: string | null | undefined;
1460
1536
  text?: string | null | undefined;
1461
1537
  }[] | null | undefined;
1538
+ ignoreTransform?: boolean | undefined;
1539
+ mediaUrls?: string[] | null | undefined;
1462
1540
  }[][] | undefined;
1463
1541
  audios?: any[] | undefined;
1464
1542
  pmt?: {
@@ -1508,6 +1586,8 @@ declare module '@scout9/app/schemas' {
1508
1586
  option?: string | null | undefined;
1509
1587
  text?: string | null | undefined;
1510
1588
  }[] | null | undefined;
1589
+ ignoreTransform?: boolean | undefined;
1590
+ mediaUrls?: string[] | null | undefined;
1511
1591
  }[][] | undefined;
1512
1592
  audios?: any[] | undefined;
1513
1593
  pmt?: {
@@ -1766,6 +1846,8 @@ declare module '@scout9/app/schemas' {
1766
1846
  option?: string | null | undefined;
1767
1847
  text?: string | null | undefined;
1768
1848
  }[] | null | undefined;
1849
+ ignoreTransform?: boolean | undefined;
1850
+ mediaUrls?: string[] | null | undefined;
1769
1851
  }[][] | undefined;
1770
1852
  audios?: any[] | undefined;
1771
1853
  pmt?: {
@@ -1882,6 +1964,8 @@ declare module '@scout9/app/schemas' {
1882
1964
  option?: string | null | undefined;
1883
1965
  text?: string | null | undefined;
1884
1966
  }[] | null | undefined;
1967
+ ignoreTransform?: boolean | undefined;
1968
+ mediaUrls?: string[] | null | undefined;
1885
1969
  }[][] | undefined;
1886
1970
  audios?: any[] | undefined;
1887
1971
  pmt?: {
@@ -2955,6 +3039,8 @@ declare module '@scout9/app/schemas' {
2955
3039
  option?: string | null | undefined;
2956
3040
  text?: string | null | undefined;
2957
3041
  }>, "many">>>;
3042
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3043
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2958
3044
  }, "strip", z.ZodTypeAny, {
2959
3045
  time: string;
2960
3046
  id: string;
@@ -2973,6 +3059,8 @@ declare module '@scout9/app/schemas' {
2973
3059
  option?: string | null | undefined;
2974
3060
  text?: string | null | undefined;
2975
3061
  }[] | null | undefined;
3062
+ ignoreTransform?: boolean | undefined;
3063
+ mediaUrls?: string[] | null | undefined;
2976
3064
  }, {
2977
3065
  time: string;
2978
3066
  id: string;
@@ -2991,6 +3079,8 @@ declare module '@scout9/app/schemas' {
2991
3079
  option?: string | null | undefined;
2992
3080
  text?: string | null | undefined;
2993
3081
  }[] | null | undefined;
3082
+ ignoreTransform?: boolean | undefined;
3083
+ mediaUrls?: string[] | null | undefined;
2994
3084
  }>;
2995
3085
  export const CustomerValueSchema: z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodString]>;
2996
3086
  export const CustomerSchema: z.ZodObject<{
@@ -3107,6 +3197,8 @@ declare module '@scout9/app/schemas' {
3107
3197
  option?: string | null | undefined;
3108
3198
  text?: string | null | undefined;
3109
3199
  }>, "many">>>;
3200
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3201
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3110
3202
  }, "strip", z.ZodTypeAny, {
3111
3203
  time: string;
3112
3204
  id: string;
@@ -3125,6 +3217,8 @@ declare module '@scout9/app/schemas' {
3125
3217
  option?: string | null | undefined;
3126
3218
  text?: string | null | undefined;
3127
3219
  }[] | null | undefined;
3220
+ ignoreTransform?: boolean | undefined;
3221
+ mediaUrls?: string[] | null | undefined;
3128
3222
  }, {
3129
3223
  time: string;
3130
3224
  id: string;
@@ -3143,6 +3237,8 @@ declare module '@scout9/app/schemas' {
3143
3237
  option?: string | null | undefined;
3144
3238
  text?: string | null | undefined;
3145
3239
  }[] | null | undefined;
3240
+ ignoreTransform?: boolean | undefined;
3241
+ mediaUrls?: string[] | null | undefined;
3146
3242
  }>, "many">, "many">>;
3147
3243
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3148
3244
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3206,6 +3302,8 @@ declare module '@scout9/app/schemas' {
3206
3302
  option?: string | null | undefined;
3207
3303
  text?: string | null | undefined;
3208
3304
  }[] | null | undefined;
3305
+ ignoreTransform?: boolean | undefined;
3306
+ mediaUrls?: string[] | null | undefined;
3209
3307
  }[][] | undefined;
3210
3308
  audios?: any[] | undefined;
3211
3309
  pmt?: {
@@ -3255,6 +3353,8 @@ declare module '@scout9/app/schemas' {
3255
3353
  option?: string | null | undefined;
3256
3354
  text?: string | null | undefined;
3257
3355
  }[] | null | undefined;
3356
+ ignoreTransform?: boolean | undefined;
3357
+ mediaUrls?: string[] | null | undefined;
3258
3358
  }[][] | undefined;
3259
3359
  audios?: any[] | undefined;
3260
3360
  pmt?: {
@@ -3325,6 +3425,8 @@ declare module '@scout9/app/schemas' {
3325
3425
  option?: string | null | undefined;
3326
3426
  text?: string | null | undefined;
3327
3427
  }>, "many">>>;
3428
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3429
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3328
3430
  }, "strip", z.ZodTypeAny, {
3329
3431
  time: string;
3330
3432
  id: string;
@@ -3343,6 +3445,8 @@ declare module '@scout9/app/schemas' {
3343
3445
  option?: string | null | undefined;
3344
3446
  text?: string | null | undefined;
3345
3447
  }[] | null | undefined;
3448
+ ignoreTransform?: boolean | undefined;
3449
+ mediaUrls?: string[] | null | undefined;
3346
3450
  }, {
3347
3451
  time: string;
3348
3452
  id: string;
@@ -3361,6 +3465,8 @@ declare module '@scout9/app/schemas' {
3361
3465
  option?: string | null | undefined;
3362
3466
  text?: string | null | undefined;
3363
3467
  }[] | null | undefined;
3468
+ ignoreTransform?: boolean | undefined;
3469
+ mediaUrls?: string[] | null | undefined;
3364
3470
  }>, "many">, "many">>;
3365
3471
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3366
3472
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3424,6 +3530,8 @@ declare module '@scout9/app/schemas' {
3424
3530
  option?: string | null | undefined;
3425
3531
  text?: string | null | undefined;
3426
3532
  }[] | null | undefined;
3533
+ ignoreTransform?: boolean | undefined;
3534
+ mediaUrls?: string[] | null | undefined;
3427
3535
  }[][] | undefined;
3428
3536
  audios?: any[] | undefined;
3429
3537
  pmt?: {
@@ -3473,6 +3581,8 @@ declare module '@scout9/app/schemas' {
3473
3581
  option?: string | null | undefined;
3474
3582
  text?: string | null | undefined;
3475
3583
  }[] | null | undefined;
3584
+ ignoreTransform?: boolean | undefined;
3585
+ mediaUrls?: string[] | null | undefined;
3476
3586
  }[][] | undefined;
3477
3587
  audios?: any[] | undefined;
3478
3588
  pmt?: {
@@ -3543,6 +3653,8 @@ declare module '@scout9/app/schemas' {
3543
3653
  option?: string | null | undefined;
3544
3654
  text?: string | null | undefined;
3545
3655
  }>, "many">>>;
3656
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3657
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3546
3658
  }, "strip", z.ZodTypeAny, {
3547
3659
  time: string;
3548
3660
  id: string;
@@ -3561,6 +3673,8 @@ declare module '@scout9/app/schemas' {
3561
3673
  option?: string | null | undefined;
3562
3674
  text?: string | null | undefined;
3563
3675
  }[] | null | undefined;
3676
+ ignoreTransform?: boolean | undefined;
3677
+ mediaUrls?: string[] | null | undefined;
3564
3678
  }, {
3565
3679
  time: string;
3566
3680
  id: string;
@@ -3579,6 +3693,8 @@ declare module '@scout9/app/schemas' {
3579
3693
  option?: string | null | undefined;
3580
3694
  text?: string | null | undefined;
3581
3695
  }[] | null | undefined;
3696
+ ignoreTransform?: boolean | undefined;
3697
+ mediaUrls?: string[] | null | undefined;
3582
3698
  }>, "many">, "many">>;
3583
3699
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3584
3700
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3644,6 +3760,8 @@ declare module '@scout9/app/schemas' {
3644
3760
  option?: string | null | undefined;
3645
3761
  text?: string | null | undefined;
3646
3762
  }[] | null | undefined;
3763
+ ignoreTransform?: boolean | undefined;
3764
+ mediaUrls?: string[] | null | undefined;
3647
3765
  }[][] | undefined;
3648
3766
  audios?: any[] | undefined;
3649
3767
  pmt?: {
@@ -3694,6 +3812,8 @@ declare module '@scout9/app/schemas' {
3694
3812
  option?: string | null | undefined;
3695
3813
  text?: string | null | undefined;
3696
3814
  }[] | null | undefined;
3815
+ ignoreTransform?: boolean | undefined;
3816
+ mediaUrls?: string[] | null | undefined;
3697
3817
  }[][] | undefined;
3698
3818
  audios?: any[] | undefined;
3699
3819
  pmt?: {
@@ -3764,6 +3884,8 @@ declare module '@scout9/app/schemas' {
3764
3884
  option?: string | null | undefined;
3765
3885
  text?: string | null | undefined;
3766
3886
  }>, "many">>>;
3887
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3888
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3767
3889
  }, "strip", z.ZodTypeAny, {
3768
3890
  time: string;
3769
3891
  id: string;
@@ -3782,6 +3904,8 @@ declare module '@scout9/app/schemas' {
3782
3904
  option?: string | null | undefined;
3783
3905
  text?: string | null | undefined;
3784
3906
  }[] | null | undefined;
3907
+ ignoreTransform?: boolean | undefined;
3908
+ mediaUrls?: string[] | null | undefined;
3785
3909
  }, {
3786
3910
  time: string;
3787
3911
  id: string;
@@ -3800,6 +3924,8 @@ declare module '@scout9/app/schemas' {
3800
3924
  option?: string | null | undefined;
3801
3925
  text?: string | null | undefined;
3802
3926
  }[] | null | undefined;
3927
+ ignoreTransform?: boolean | undefined;
3928
+ mediaUrls?: string[] | null | undefined;
3803
3929
  }>, "many">, "many">>;
3804
3930
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3805
3931
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3865,6 +3991,8 @@ declare module '@scout9/app/schemas' {
3865
3991
  option?: string | null | undefined;
3866
3992
  text?: string | null | undefined;
3867
3993
  }[] | null | undefined;
3994
+ ignoreTransform?: boolean | undefined;
3995
+ mediaUrls?: string[] | null | undefined;
3868
3996
  }[][] | undefined;
3869
3997
  audios?: any[] | undefined;
3870
3998
  pmt?: {
@@ -3915,6 +4043,8 @@ declare module '@scout9/app/schemas' {
3915
4043
  option?: string | null | undefined;
3916
4044
  text?: string | null | undefined;
3917
4045
  }[] | null | undefined;
4046
+ ignoreTransform?: boolean | undefined;
4047
+ mediaUrls?: string[] | null | undefined;
3918
4048
  }[][] | undefined;
3919
4049
  audios?: any[] | undefined;
3920
4050
  pmt?: {
@@ -3985,6 +4115,8 @@ declare module '@scout9/app/schemas' {
3985
4115
  option?: string | null | undefined;
3986
4116
  text?: string | null | undefined;
3987
4117
  }>, "many">>>;
4118
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4119
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3988
4120
  }, "strip", z.ZodTypeAny, {
3989
4121
  time: string;
3990
4122
  id: string;
@@ -4003,6 +4135,8 @@ declare module '@scout9/app/schemas' {
4003
4135
  option?: string | null | undefined;
4004
4136
  text?: string | null | undefined;
4005
4137
  }[] | null | undefined;
4138
+ ignoreTransform?: boolean | undefined;
4139
+ mediaUrls?: string[] | null | undefined;
4006
4140
  }, {
4007
4141
  time: string;
4008
4142
  id: string;
@@ -4021,6 +4155,8 @@ declare module '@scout9/app/schemas' {
4021
4155
  option?: string | null | undefined;
4022
4156
  text?: string | null | undefined;
4023
4157
  }[] | null | undefined;
4158
+ ignoreTransform?: boolean | undefined;
4159
+ mediaUrls?: string[] | null | undefined;
4024
4160
  }>, "many">, "many">>;
4025
4161
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4026
4162
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4086,6 +4222,8 @@ declare module '@scout9/app/schemas' {
4086
4222
  option?: string | null | undefined;
4087
4223
  text?: string | null | undefined;
4088
4224
  }[] | null | undefined;
4225
+ ignoreTransform?: boolean | undefined;
4226
+ mediaUrls?: string[] | null | undefined;
4089
4227
  }[][] | undefined;
4090
4228
  audios?: any[] | undefined;
4091
4229
  pmt?: {
@@ -4136,6 +4274,8 @@ declare module '@scout9/app/schemas' {
4136
4274
  option?: string | null | undefined;
4137
4275
  text?: string | null | undefined;
4138
4276
  }[] | null | undefined;
4277
+ ignoreTransform?: boolean | undefined;
4278
+ mediaUrls?: string[] | null | undefined;
4139
4279
  }[][] | undefined;
4140
4280
  audios?: any[] | undefined;
4141
4281
  pmt?: {
@@ -4206,6 +4346,8 @@ declare module '@scout9/app/schemas' {
4206
4346
  option?: string | null | undefined;
4207
4347
  text?: string | null | undefined;
4208
4348
  }>, "many">>>;
4349
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4350
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4209
4351
  }, "strip", z.ZodTypeAny, {
4210
4352
  time: string;
4211
4353
  id: string;
@@ -4224,6 +4366,8 @@ declare module '@scout9/app/schemas' {
4224
4366
  option?: string | null | undefined;
4225
4367
  text?: string | null | undefined;
4226
4368
  }[] | null | undefined;
4369
+ ignoreTransform?: boolean | undefined;
4370
+ mediaUrls?: string[] | null | undefined;
4227
4371
  }, {
4228
4372
  time: string;
4229
4373
  id: string;
@@ -4242,6 +4386,8 @@ declare module '@scout9/app/schemas' {
4242
4386
  option?: string | null | undefined;
4243
4387
  text?: string | null | undefined;
4244
4388
  }[] | null | undefined;
4389
+ ignoreTransform?: boolean | undefined;
4390
+ mediaUrls?: string[] | null | undefined;
4245
4391
  }>, "many">, "many">>;
4246
4392
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4247
4393
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4307,6 +4453,8 @@ declare module '@scout9/app/schemas' {
4307
4453
  option?: string | null | undefined;
4308
4454
  text?: string | null | undefined;
4309
4455
  }[] | null | undefined;
4456
+ ignoreTransform?: boolean | undefined;
4457
+ mediaUrls?: string[] | null | undefined;
4310
4458
  }[][] | undefined;
4311
4459
  audios?: any[] | undefined;
4312
4460
  pmt?: {
@@ -4357,6 +4505,8 @@ declare module '@scout9/app/schemas' {
4357
4505
  option?: string | null | undefined;
4358
4506
  text?: string | null | undefined;
4359
4507
  }[] | null | undefined;
4508
+ ignoreTransform?: boolean | undefined;
4509
+ mediaUrls?: string[] | null | undefined;
4360
4510
  }[][] | undefined;
4361
4511
  audios?: any[] | undefined;
4362
4512
  pmt?: {
@@ -4427,6 +4577,8 @@ declare module '@scout9/app/schemas' {
4427
4577
  option?: string | null | undefined;
4428
4578
  text?: string | null | undefined;
4429
4579
  }>, "many">>>;
4580
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4581
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4430
4582
  }, "strip", z.ZodTypeAny, {
4431
4583
  time: string;
4432
4584
  id: string;
@@ -4445,6 +4597,8 @@ declare module '@scout9/app/schemas' {
4445
4597
  option?: string | null | undefined;
4446
4598
  text?: string | null | undefined;
4447
4599
  }[] | null | undefined;
4600
+ ignoreTransform?: boolean | undefined;
4601
+ mediaUrls?: string[] | null | undefined;
4448
4602
  }, {
4449
4603
  time: string;
4450
4604
  id: string;
@@ -4463,6 +4617,8 @@ declare module '@scout9/app/schemas' {
4463
4617
  option?: string | null | undefined;
4464
4618
  text?: string | null | undefined;
4465
4619
  }[] | null | undefined;
4620
+ ignoreTransform?: boolean | undefined;
4621
+ mediaUrls?: string[] | null | undefined;
4466
4622
  }>, "many">, "many">>;
4467
4623
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4468
4624
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4526,6 +4682,8 @@ declare module '@scout9/app/schemas' {
4526
4682
  option?: string | null | undefined;
4527
4683
  text?: string | null | undefined;
4528
4684
  }[] | null | undefined;
4685
+ ignoreTransform?: boolean | undefined;
4686
+ mediaUrls?: string[] | null | undefined;
4529
4687
  }[][] | undefined;
4530
4688
  audios?: any[] | undefined;
4531
4689
  pmt?: {
@@ -4575,6 +4733,8 @@ declare module '@scout9/app/schemas' {
4575
4733
  option?: string | null | undefined;
4576
4734
  text?: string | null | undefined;
4577
4735
  }[] | null | undefined;
4736
+ ignoreTransform?: boolean | undefined;
4737
+ mediaUrls?: string[] | null | undefined;
4578
4738
  }[][] | undefined;
4579
4739
  audios?: any[] | undefined;
4580
4740
  pmt?: {
@@ -4645,6 +4805,8 @@ declare module '@scout9/app/schemas' {
4645
4805
  option?: string | null | undefined;
4646
4806
  text?: string | null | undefined;
4647
4807
  }>, "many">>>;
4808
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4809
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4648
4810
  }, "strip", z.ZodTypeAny, {
4649
4811
  time: string;
4650
4812
  id: string;
@@ -4663,6 +4825,8 @@ declare module '@scout9/app/schemas' {
4663
4825
  option?: string | null | undefined;
4664
4826
  text?: string | null | undefined;
4665
4827
  }[] | null | undefined;
4828
+ ignoreTransform?: boolean | undefined;
4829
+ mediaUrls?: string[] | null | undefined;
4666
4830
  }, {
4667
4831
  time: string;
4668
4832
  id: string;
@@ -4681,6 +4845,8 @@ declare module '@scout9/app/schemas' {
4681
4845
  option?: string | null | undefined;
4682
4846
  text?: string | null | undefined;
4683
4847
  }[] | null | undefined;
4848
+ ignoreTransform?: boolean | undefined;
4849
+ mediaUrls?: string[] | null | undefined;
4684
4850
  }>, "many">, "many">>;
4685
4851
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4686
4852
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4744,6 +4910,8 @@ declare module '@scout9/app/schemas' {
4744
4910
  option?: string | null | undefined;
4745
4911
  text?: string | null | undefined;
4746
4912
  }[] | null | undefined;
4913
+ ignoreTransform?: boolean | undefined;
4914
+ mediaUrls?: string[] | null | undefined;
4747
4915
  }[][] | undefined;
4748
4916
  audios?: any[] | undefined;
4749
4917
  pmt?: {
@@ -4793,6 +4961,8 @@ declare module '@scout9/app/schemas' {
4793
4961
  option?: string | null | undefined;
4794
4962
  text?: string | null | undefined;
4795
4963
  }[] | null | undefined;
4964
+ ignoreTransform?: boolean | undefined;
4965
+ mediaUrls?: string[] | null | undefined;
4796
4966
  }[][] | undefined;
4797
4967
  audios?: any[] | undefined;
4798
4968
  pmt?: {
@@ -5112,6 +5282,8 @@ declare module '@scout9/app/schemas' {
5112
5282
  option?: string | null | undefined;
5113
5283
  text?: string | null | undefined;
5114
5284
  }>, "many">>>;
5285
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
5286
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5115
5287
  }, "strip", z.ZodTypeAny, {
5116
5288
  time: string;
5117
5289
  id: string;
@@ -5130,6 +5302,8 @@ declare module '@scout9/app/schemas' {
5130
5302
  option?: string | null | undefined;
5131
5303
  text?: string | null | undefined;
5132
5304
  }[] | null | undefined;
5305
+ ignoreTransform?: boolean | undefined;
5306
+ mediaUrls?: string[] | null | undefined;
5133
5307
  }, {
5134
5308
  time: string;
5135
5309
  id: string;
@@ -5148,6 +5322,8 @@ declare module '@scout9/app/schemas' {
5148
5322
  option?: string | null | undefined;
5149
5323
  text?: string | null | undefined;
5150
5324
  }[] | null | undefined;
5325
+ ignoreTransform?: boolean | undefined;
5326
+ mediaUrls?: string[] | null | undefined;
5151
5327
  }>, "many">;
5152
5328
  conversation: z.ZodObject<{
5153
5329
  $id: z.ZodString;
@@ -5310,6 +5486,8 @@ declare module '@scout9/app/schemas' {
5310
5486
  option?: string | null | undefined;
5311
5487
  text?: string | null | undefined;
5312
5488
  }>, "many">>>;
5489
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
5490
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5313
5491
  }, "strip", z.ZodTypeAny, {
5314
5492
  time: string;
5315
5493
  id: string;
@@ -5328,6 +5506,8 @@ declare module '@scout9/app/schemas' {
5328
5506
  option?: string | null | undefined;
5329
5507
  text?: string | null | undefined;
5330
5508
  }[] | null | undefined;
5509
+ ignoreTransform?: boolean | undefined;
5510
+ mediaUrls?: string[] | null | undefined;
5331
5511
  }, {
5332
5512
  time: string;
5333
5513
  id: string;
@@ -5346,6 +5526,8 @@ declare module '@scout9/app/schemas' {
5346
5526
  option?: string | null | undefined;
5347
5527
  text?: string | null | undefined;
5348
5528
  }[] | null | undefined;
5529
+ ignoreTransform?: boolean | undefined;
5530
+ mediaUrls?: string[] | null | undefined;
5349
5531
  }>;
5350
5532
  agent: z.ZodObject<Omit<{
5351
5533
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -5406,6 +5588,8 @@ declare module '@scout9/app/schemas' {
5406
5588
  option?: string | null | undefined;
5407
5589
  text?: string | null | undefined;
5408
5590
  }>, "many">>>;
5591
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
5592
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5409
5593
  }, "strip", z.ZodTypeAny, {
5410
5594
  time: string;
5411
5595
  id: string;
@@ -5424,6 +5608,8 @@ declare module '@scout9/app/schemas' {
5424
5608
  option?: string | null | undefined;
5425
5609
  text?: string | null | undefined;
5426
5610
  }[] | null | undefined;
5611
+ ignoreTransform?: boolean | undefined;
5612
+ mediaUrls?: string[] | null | undefined;
5427
5613
  }, {
5428
5614
  time: string;
5429
5615
  id: string;
@@ -5442,6 +5628,8 @@ declare module '@scout9/app/schemas' {
5442
5628
  option?: string | null | undefined;
5443
5629
  text?: string | null | undefined;
5444
5630
  }[] | null | undefined;
5631
+ ignoreTransform?: boolean | undefined;
5632
+ mediaUrls?: string[] | null | undefined;
5445
5633
  }>, "many">, "many">>;
5446
5634
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
5447
5635
  pmt: z.ZodOptional<z.ZodObject<{
@@ -5593,6 +5781,8 @@ declare module '@scout9/app/schemas' {
5593
5781
  option?: string | null | undefined;
5594
5782
  text?: string | null | undefined;
5595
5783
  }[] | null | undefined;
5784
+ ignoreTransform?: boolean | undefined;
5785
+ mediaUrls?: string[] | null | undefined;
5596
5786
  };
5597
5787
  agent: {
5598
5788
  id: string;
@@ -5657,6 +5847,8 @@ declare module '@scout9/app/schemas' {
5657
5847
  option?: string | null | undefined;
5658
5848
  text?: string | null | undefined;
5659
5849
  }[] | null | undefined;
5850
+ ignoreTransform?: boolean | undefined;
5851
+ mediaUrls?: string[] | null | undefined;
5660
5852
  }[];
5661
5853
  conversation: {
5662
5854
  environment: "email" | "phone" | "web";
@@ -5712,6 +5904,8 @@ declare module '@scout9/app/schemas' {
5712
5904
  option?: string | null | undefined;
5713
5905
  text?: string | null | undefined;
5714
5906
  }[] | null | undefined;
5907
+ ignoreTransform?: boolean | undefined;
5908
+ mediaUrls?: string[] | null | undefined;
5715
5909
  };
5716
5910
  agent: {
5717
5911
  id: string;
@@ -5776,6 +5970,8 @@ declare module '@scout9/app/schemas' {
5776
5970
  option?: string | null | undefined;
5777
5971
  text?: string | null | undefined;
5778
5972
  }[] | null | undefined;
5973
+ ignoreTransform?: boolean | undefined;
5974
+ mediaUrls?: string[] | null | undefined;
5779
5975
  }[];
5780
5976
  conversation: {
5781
5977
  environment: "email" | "phone" | "web";
@@ -10698,6 +10894,8 @@ declare module '@scout9/app/schemas' {
10698
10894
  option?: string | null | undefined;
10699
10895
  text?: string | null | undefined;
10700
10896
  }>, "many">>>;
10897
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
10898
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10701
10899
  }, "strip", z.ZodTypeAny, {
10702
10900
  time: string;
10703
10901
  id: string;
@@ -10716,6 +10914,8 @@ declare module '@scout9/app/schemas' {
10716
10914
  option?: string | null | undefined;
10717
10915
  text?: string | null | undefined;
10718
10916
  }[] | null | undefined;
10917
+ ignoreTransform?: boolean | undefined;
10918
+ mediaUrls?: string[] | null | undefined;
10719
10919
  }, {
10720
10920
  time: string;
10721
10921
  id: string;
@@ -10734,6 +10934,8 @@ declare module '@scout9/app/schemas' {
10734
10934
  option?: string | null | undefined;
10735
10935
  text?: string | null | undefined;
10736
10936
  }[] | null | undefined;
10937
+ ignoreTransform?: boolean | undefined;
10938
+ mediaUrls?: string[] | null | undefined;
10737
10939
  }>, "many">;
10738
10940
  conversation: z.ZodObject<{
10739
10941
  $id: z.ZodString;
@@ -10896,6 +11098,8 @@ declare module '@scout9/app/schemas' {
10896
11098
  option?: string | null | undefined;
10897
11099
  text?: string | null | undefined;
10898
11100
  }>, "many">>>;
11101
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
11102
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10899
11103
  }, "strip", z.ZodTypeAny, {
10900
11104
  time: string;
10901
11105
  id: string;
@@ -10914,6 +11118,8 @@ declare module '@scout9/app/schemas' {
10914
11118
  option?: string | null | undefined;
10915
11119
  text?: string | null | undefined;
10916
11120
  }[] | null | undefined;
11121
+ ignoreTransform?: boolean | undefined;
11122
+ mediaUrls?: string[] | null | undefined;
10917
11123
  }, {
10918
11124
  time: string;
10919
11125
  id: string;
@@ -10932,6 +11138,8 @@ declare module '@scout9/app/schemas' {
10932
11138
  option?: string | null | undefined;
10933
11139
  text?: string | null | undefined;
10934
11140
  }[] | null | undefined;
11141
+ ignoreTransform?: boolean | undefined;
11142
+ mediaUrls?: string[] | null | undefined;
10935
11143
  }>;
10936
11144
  agent: z.ZodObject<Omit<{
10937
11145
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -10992,6 +11200,8 @@ declare module '@scout9/app/schemas' {
10992
11200
  option?: string | null | undefined;
10993
11201
  text?: string | null | undefined;
10994
11202
  }>, "many">>>;
11203
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
11204
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10995
11205
  }, "strip", z.ZodTypeAny, {
10996
11206
  time: string;
10997
11207
  id: string;
@@ -11010,6 +11220,8 @@ declare module '@scout9/app/schemas' {
11010
11220
  option?: string | null | undefined;
11011
11221
  text?: string | null | undefined;
11012
11222
  }[] | null | undefined;
11223
+ ignoreTransform?: boolean | undefined;
11224
+ mediaUrls?: string[] | null | undefined;
11013
11225
  }, {
11014
11226
  time: string;
11015
11227
  id: string;
@@ -11028,6 +11240,8 @@ declare module '@scout9/app/schemas' {
11028
11240
  option?: string | null | undefined;
11029
11241
  text?: string | null | undefined;
11030
11242
  }[] | null | undefined;
11243
+ ignoreTransform?: boolean | undefined;
11244
+ mediaUrls?: string[] | null | undefined;
11031
11245
  }>, "many">, "many">>;
11032
11246
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
11033
11247
  pmt: z.ZodOptional<z.ZodObject<{
@@ -11179,6 +11393,8 @@ declare module '@scout9/app/schemas' {
11179
11393
  option?: string | null | undefined;
11180
11394
  text?: string | null | undefined;
11181
11395
  }[] | null | undefined;
11396
+ ignoreTransform?: boolean | undefined;
11397
+ mediaUrls?: string[] | null | undefined;
11182
11398
  };
11183
11399
  agent: {
11184
11400
  id: string;
@@ -11243,6 +11459,8 @@ declare module '@scout9/app/schemas' {
11243
11459
  option?: string | null | undefined;
11244
11460
  text?: string | null | undefined;
11245
11461
  }[] | null | undefined;
11462
+ ignoreTransform?: boolean | undefined;
11463
+ mediaUrls?: string[] | null | undefined;
11246
11464
  }[];
11247
11465
  conversation: {
11248
11466
  environment: "email" | "phone" | "web";
@@ -11298,6 +11516,8 @@ declare module '@scout9/app/schemas' {
11298
11516
  option?: string | null | undefined;
11299
11517
  text?: string | null | undefined;
11300
11518
  }[] | null | undefined;
11519
+ ignoreTransform?: boolean | undefined;
11520
+ mediaUrls?: string[] | null | undefined;
11301
11521
  };
11302
11522
  agent: {
11303
11523
  id: string;
@@ -11362,6 +11582,8 @@ declare module '@scout9/app/schemas' {
11362
11582
  option?: string | null | undefined;
11363
11583
  text?: string | null | undefined;
11364
11584
  }[] | null | undefined;
11585
+ ignoreTransform?: boolean | undefined;
11586
+ mediaUrls?: string[] | null | undefined;
11365
11587
  }[];
11366
11588
  conversation: {
11367
11589
  environment: "email" | "phone" | "web";