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

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 */
@@ -519,8 +532,12 @@ declare module '@scout9/app' {
519
532
  intentScore?: (number | null) | undefined;
520
533
  /** How long to delay the message manually in seconds */
521
534
  delayInSeconds?: (number | null) | undefined;
522
- /** Entities related to the message */
535
+ /** Entities related to the message (gets set after the PMT transform) */
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,68 @@ declare module '@scout9/app' {
616
633
 
617
634
  export type Anticipate = AnticipateDid | AnticipateKeywords[];
618
635
 
636
+ export type DirectMessage = Partial<Omit<Message, 'id' | 'entities' | 'time' | 'role'>>;
637
+
638
+ /**
639
+ * Workflow Response Slot, can use for both PMT workflow event and event macro runtimes
640
+ */
619
641
  export type WorkflowResponseSlotBase = {
620
642
  /** Forward input information of a conversation */
621
643
  forward?: Forward | undefined;
644
+
622
645
  /** Note to provide to the agent, recommend using forward object api instead */
623
646
  forwardNote?: string | undefined;
647
+
648
+ /** Instructions to send to the PMT on how to steer the conversation */
624
649
  instructions?: Instruction[] | undefined;
650
+
651
+ /** Remove instructions from memory (requires set instructions to have ids) */
625
652
  removeInstructions?: string[] | undefined;
626
- message?: string | {content: string; transform?: boolean} | undefined;
653
+
654
+ /** If provided, sends a direct message to the user */
655
+ message?: string | DirectMessage | undefined;
656
+
657
+ /** Delays in seconds of instructions (if provided) to PMT and direct message (if provided) to user */
627
658
  secondsDelay?: number | undefined;
659
+
660
+ /** unix time of when to send instructions or message */
628
661
  scheduled?: number | undefined;
662
+
663
+ /** Context to upsert to the conversation */
629
664
  contextUpsert?: {
630
665
  [x: string]: any;
631
666
  } | undefined;
667
+
668
+ /** If true, resets the conversations intent value to undefined or to its initial value */
632
669
  resetIntent?: boolean | undefined;
670
+
671
+ /** Information to follow up to the client */
633
672
  followup?: Followup | undefined;
634
673
  };
635
674
 
675
+ /**
676
+ * Workflow Response Slot, only PMT workflow events
677
+ */
636
678
  export type WorkflowResponseSlot = WorkflowResponseSlotBase & {
679
+ /**
680
+ * The Anticipate API acts as a preflight to the users next response, for example:
681
+ * - did the user agree to accept the concert tickets? Then proceed with asking for their email
682
+ * - Did the user say any of these words: "cancel", "drop", or "remove"? Then cancel tickets
683
+ */
637
684
  anticipate?: Anticipate | undefined;
685
+
686
+
687
+ /**
688
+ * If provided, it will propagate entity context to your Scout9 entity context store
689
+ * @ingress auto/manual only
690
+ */
691
+ entityContextUpsert?: Array<EntityContextUpsert> | undefined;
638
692
  };
639
693
 
694
+ /**
695
+ * The JSON anticipated response for a given workflow to drive the PMT runtime
696
+ * Can either be an EventMacro or WorkflowResponseSlot
697
+ */
640
698
  export type WorkflowResponse = EventMacros | WorkflowResponseSlot | (WorkflowResponseSlot | EventMacros)[];
641
699
 
642
700
  export type WorkflowFunction = (event: WorkflowEvent) => WorkflowResponse | Promise<WorkflowResponse>;
@@ -863,6 +921,7 @@ declare module '@scout9/app/spirits' {
863
921
  context: Change<any>;
864
922
  message: Change<any>;
865
923
  followup: Array<any>;
924
+ entityContextUpsert: Array<any>;
866
925
  };
867
926
  }
868
927
 
@@ -1360,6 +1419,8 @@ declare module '@scout9/app/schemas' {
1360
1419
  option?: string | null | undefined;
1361
1420
  text?: string | null | undefined;
1362
1421
  }>, "many">>>;
1422
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
1423
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1363
1424
  }, "strip", z.ZodTypeAny, {
1364
1425
  time: string;
1365
1426
  id: string;
@@ -1378,6 +1439,8 @@ declare module '@scout9/app/schemas' {
1378
1439
  option?: string | null | undefined;
1379
1440
  text?: string | null | undefined;
1380
1441
  }[] | null | undefined;
1442
+ ignoreTransform?: boolean | undefined;
1443
+ mediaUrls?: string[] | null | undefined;
1381
1444
  }, {
1382
1445
  time: string;
1383
1446
  id: string;
@@ -1396,6 +1459,8 @@ declare module '@scout9/app/schemas' {
1396
1459
  option?: string | null | undefined;
1397
1460
  text?: string | null | undefined;
1398
1461
  }[] | null | undefined;
1462
+ ignoreTransform?: boolean | undefined;
1463
+ mediaUrls?: string[] | null | undefined;
1399
1464
  }>, "many">, "many">>;
1400
1465
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1401
1466
  pmt: z.ZodOptional<z.ZodObject<{
@@ -1459,6 +1524,8 @@ declare module '@scout9/app/schemas' {
1459
1524
  option?: string | null | undefined;
1460
1525
  text?: string | null | undefined;
1461
1526
  }[] | null | undefined;
1527
+ ignoreTransform?: boolean | undefined;
1528
+ mediaUrls?: string[] | null | undefined;
1462
1529
  }[][] | undefined;
1463
1530
  audios?: any[] | undefined;
1464
1531
  pmt?: {
@@ -1508,6 +1575,8 @@ declare module '@scout9/app/schemas' {
1508
1575
  option?: string | null | undefined;
1509
1576
  text?: string | null | undefined;
1510
1577
  }[] | null | undefined;
1578
+ ignoreTransform?: boolean | undefined;
1579
+ mediaUrls?: string[] | null | undefined;
1511
1580
  }[][] | undefined;
1512
1581
  audios?: any[] | undefined;
1513
1582
  pmt?: {
@@ -1766,6 +1835,8 @@ declare module '@scout9/app/schemas' {
1766
1835
  option?: string | null | undefined;
1767
1836
  text?: string | null | undefined;
1768
1837
  }[] | null | undefined;
1838
+ ignoreTransform?: boolean | undefined;
1839
+ mediaUrls?: string[] | null | undefined;
1769
1840
  }[][] | undefined;
1770
1841
  audios?: any[] | undefined;
1771
1842
  pmt?: {
@@ -1882,6 +1953,8 @@ declare module '@scout9/app/schemas' {
1882
1953
  option?: string | null | undefined;
1883
1954
  text?: string | null | undefined;
1884
1955
  }[] | null | undefined;
1956
+ ignoreTransform?: boolean | undefined;
1957
+ mediaUrls?: string[] | null | undefined;
1885
1958
  }[][] | undefined;
1886
1959
  audios?: any[] | undefined;
1887
1960
  pmt?: {
@@ -2955,6 +3028,8 @@ declare module '@scout9/app/schemas' {
2955
3028
  option?: string | null | undefined;
2956
3029
  text?: string | null | undefined;
2957
3030
  }>, "many">>>;
3031
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3032
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2958
3033
  }, "strip", z.ZodTypeAny, {
2959
3034
  time: string;
2960
3035
  id: string;
@@ -2973,6 +3048,8 @@ declare module '@scout9/app/schemas' {
2973
3048
  option?: string | null | undefined;
2974
3049
  text?: string | null | undefined;
2975
3050
  }[] | null | undefined;
3051
+ ignoreTransform?: boolean | undefined;
3052
+ mediaUrls?: string[] | null | undefined;
2976
3053
  }, {
2977
3054
  time: string;
2978
3055
  id: string;
@@ -2991,6 +3068,8 @@ declare module '@scout9/app/schemas' {
2991
3068
  option?: string | null | undefined;
2992
3069
  text?: string | null | undefined;
2993
3070
  }[] | null | undefined;
3071
+ ignoreTransform?: boolean | undefined;
3072
+ mediaUrls?: string[] | null | undefined;
2994
3073
  }>;
2995
3074
  export const CustomerValueSchema: z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodString]>;
2996
3075
  export const CustomerSchema: z.ZodObject<{
@@ -3107,6 +3186,8 @@ declare module '@scout9/app/schemas' {
3107
3186
  option?: string | null | undefined;
3108
3187
  text?: string | null | undefined;
3109
3188
  }>, "many">>>;
3189
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3190
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3110
3191
  }, "strip", z.ZodTypeAny, {
3111
3192
  time: string;
3112
3193
  id: string;
@@ -3125,6 +3206,8 @@ declare module '@scout9/app/schemas' {
3125
3206
  option?: string | null | undefined;
3126
3207
  text?: string | null | undefined;
3127
3208
  }[] | null | undefined;
3209
+ ignoreTransform?: boolean | undefined;
3210
+ mediaUrls?: string[] | null | undefined;
3128
3211
  }, {
3129
3212
  time: string;
3130
3213
  id: string;
@@ -3143,6 +3226,8 @@ declare module '@scout9/app/schemas' {
3143
3226
  option?: string | null | undefined;
3144
3227
  text?: string | null | undefined;
3145
3228
  }[] | null | undefined;
3229
+ ignoreTransform?: boolean | undefined;
3230
+ mediaUrls?: string[] | null | undefined;
3146
3231
  }>, "many">, "many">>;
3147
3232
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3148
3233
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3206,6 +3291,8 @@ declare module '@scout9/app/schemas' {
3206
3291
  option?: string | null | undefined;
3207
3292
  text?: string | null | undefined;
3208
3293
  }[] | null | undefined;
3294
+ ignoreTransform?: boolean | undefined;
3295
+ mediaUrls?: string[] | null | undefined;
3209
3296
  }[][] | undefined;
3210
3297
  audios?: any[] | undefined;
3211
3298
  pmt?: {
@@ -3255,6 +3342,8 @@ declare module '@scout9/app/schemas' {
3255
3342
  option?: string | null | undefined;
3256
3343
  text?: string | null | undefined;
3257
3344
  }[] | null | undefined;
3345
+ ignoreTransform?: boolean | undefined;
3346
+ mediaUrls?: string[] | null | undefined;
3258
3347
  }[][] | undefined;
3259
3348
  audios?: any[] | undefined;
3260
3349
  pmt?: {
@@ -3325,6 +3414,8 @@ declare module '@scout9/app/schemas' {
3325
3414
  option?: string | null | undefined;
3326
3415
  text?: string | null | undefined;
3327
3416
  }>, "many">>>;
3417
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3418
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3328
3419
  }, "strip", z.ZodTypeAny, {
3329
3420
  time: string;
3330
3421
  id: string;
@@ -3343,6 +3434,8 @@ declare module '@scout9/app/schemas' {
3343
3434
  option?: string | null | undefined;
3344
3435
  text?: string | null | undefined;
3345
3436
  }[] | null | undefined;
3437
+ ignoreTransform?: boolean | undefined;
3438
+ mediaUrls?: string[] | null | undefined;
3346
3439
  }, {
3347
3440
  time: string;
3348
3441
  id: string;
@@ -3361,6 +3454,8 @@ declare module '@scout9/app/schemas' {
3361
3454
  option?: string | null | undefined;
3362
3455
  text?: string | null | undefined;
3363
3456
  }[] | null | undefined;
3457
+ ignoreTransform?: boolean | undefined;
3458
+ mediaUrls?: string[] | null | undefined;
3364
3459
  }>, "many">, "many">>;
3365
3460
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3366
3461
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3424,6 +3519,8 @@ declare module '@scout9/app/schemas' {
3424
3519
  option?: string | null | undefined;
3425
3520
  text?: string | null | undefined;
3426
3521
  }[] | null | undefined;
3522
+ ignoreTransform?: boolean | undefined;
3523
+ mediaUrls?: string[] | null | undefined;
3427
3524
  }[][] | undefined;
3428
3525
  audios?: any[] | undefined;
3429
3526
  pmt?: {
@@ -3473,6 +3570,8 @@ declare module '@scout9/app/schemas' {
3473
3570
  option?: string | null | undefined;
3474
3571
  text?: string | null | undefined;
3475
3572
  }[] | null | undefined;
3573
+ ignoreTransform?: boolean | undefined;
3574
+ mediaUrls?: string[] | null | undefined;
3476
3575
  }[][] | undefined;
3477
3576
  audios?: any[] | undefined;
3478
3577
  pmt?: {
@@ -3543,6 +3642,8 @@ declare module '@scout9/app/schemas' {
3543
3642
  option?: string | null | undefined;
3544
3643
  text?: string | null | undefined;
3545
3644
  }>, "many">>>;
3645
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3646
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3546
3647
  }, "strip", z.ZodTypeAny, {
3547
3648
  time: string;
3548
3649
  id: string;
@@ -3561,6 +3662,8 @@ declare module '@scout9/app/schemas' {
3561
3662
  option?: string | null | undefined;
3562
3663
  text?: string | null | undefined;
3563
3664
  }[] | null | undefined;
3665
+ ignoreTransform?: boolean | undefined;
3666
+ mediaUrls?: string[] | null | undefined;
3564
3667
  }, {
3565
3668
  time: string;
3566
3669
  id: string;
@@ -3579,6 +3682,8 @@ declare module '@scout9/app/schemas' {
3579
3682
  option?: string | null | undefined;
3580
3683
  text?: string | null | undefined;
3581
3684
  }[] | null | undefined;
3685
+ ignoreTransform?: boolean | undefined;
3686
+ mediaUrls?: string[] | null | undefined;
3582
3687
  }>, "many">, "many">>;
3583
3688
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3584
3689
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3644,6 +3749,8 @@ declare module '@scout9/app/schemas' {
3644
3749
  option?: string | null | undefined;
3645
3750
  text?: string | null | undefined;
3646
3751
  }[] | null | undefined;
3752
+ ignoreTransform?: boolean | undefined;
3753
+ mediaUrls?: string[] | null | undefined;
3647
3754
  }[][] | undefined;
3648
3755
  audios?: any[] | undefined;
3649
3756
  pmt?: {
@@ -3694,6 +3801,8 @@ declare module '@scout9/app/schemas' {
3694
3801
  option?: string | null | undefined;
3695
3802
  text?: string | null | undefined;
3696
3803
  }[] | null | undefined;
3804
+ ignoreTransform?: boolean | undefined;
3805
+ mediaUrls?: string[] | null | undefined;
3697
3806
  }[][] | undefined;
3698
3807
  audios?: any[] | undefined;
3699
3808
  pmt?: {
@@ -3764,6 +3873,8 @@ declare module '@scout9/app/schemas' {
3764
3873
  option?: string | null | undefined;
3765
3874
  text?: string | null | undefined;
3766
3875
  }>, "many">>>;
3876
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
3877
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3767
3878
  }, "strip", z.ZodTypeAny, {
3768
3879
  time: string;
3769
3880
  id: string;
@@ -3782,6 +3893,8 @@ declare module '@scout9/app/schemas' {
3782
3893
  option?: string | null | undefined;
3783
3894
  text?: string | null | undefined;
3784
3895
  }[] | null | undefined;
3896
+ ignoreTransform?: boolean | undefined;
3897
+ mediaUrls?: string[] | null | undefined;
3785
3898
  }, {
3786
3899
  time: string;
3787
3900
  id: string;
@@ -3800,6 +3913,8 @@ declare module '@scout9/app/schemas' {
3800
3913
  option?: string | null | undefined;
3801
3914
  text?: string | null | undefined;
3802
3915
  }[] | null | undefined;
3916
+ ignoreTransform?: boolean | undefined;
3917
+ mediaUrls?: string[] | null | undefined;
3803
3918
  }>, "many">, "many">>;
3804
3919
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3805
3920
  pmt: z.ZodOptional<z.ZodObject<{
@@ -3865,6 +3980,8 @@ declare module '@scout9/app/schemas' {
3865
3980
  option?: string | null | undefined;
3866
3981
  text?: string | null | undefined;
3867
3982
  }[] | null | undefined;
3983
+ ignoreTransform?: boolean | undefined;
3984
+ mediaUrls?: string[] | null | undefined;
3868
3985
  }[][] | undefined;
3869
3986
  audios?: any[] | undefined;
3870
3987
  pmt?: {
@@ -3915,6 +4032,8 @@ declare module '@scout9/app/schemas' {
3915
4032
  option?: string | null | undefined;
3916
4033
  text?: string | null | undefined;
3917
4034
  }[] | null | undefined;
4035
+ ignoreTransform?: boolean | undefined;
4036
+ mediaUrls?: string[] | null | undefined;
3918
4037
  }[][] | undefined;
3919
4038
  audios?: any[] | undefined;
3920
4039
  pmt?: {
@@ -3985,6 +4104,8 @@ declare module '@scout9/app/schemas' {
3985
4104
  option?: string | null | undefined;
3986
4105
  text?: string | null | undefined;
3987
4106
  }>, "many">>>;
4107
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4108
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3988
4109
  }, "strip", z.ZodTypeAny, {
3989
4110
  time: string;
3990
4111
  id: string;
@@ -4003,6 +4124,8 @@ declare module '@scout9/app/schemas' {
4003
4124
  option?: string | null | undefined;
4004
4125
  text?: string | null | undefined;
4005
4126
  }[] | null | undefined;
4127
+ ignoreTransform?: boolean | undefined;
4128
+ mediaUrls?: string[] | null | undefined;
4006
4129
  }, {
4007
4130
  time: string;
4008
4131
  id: string;
@@ -4021,6 +4144,8 @@ declare module '@scout9/app/schemas' {
4021
4144
  option?: string | null | undefined;
4022
4145
  text?: string | null | undefined;
4023
4146
  }[] | null | undefined;
4147
+ ignoreTransform?: boolean | undefined;
4148
+ mediaUrls?: string[] | null | undefined;
4024
4149
  }>, "many">, "many">>;
4025
4150
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4026
4151
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4086,6 +4211,8 @@ declare module '@scout9/app/schemas' {
4086
4211
  option?: string | null | undefined;
4087
4212
  text?: string | null | undefined;
4088
4213
  }[] | null | undefined;
4214
+ ignoreTransform?: boolean | undefined;
4215
+ mediaUrls?: string[] | null | undefined;
4089
4216
  }[][] | undefined;
4090
4217
  audios?: any[] | undefined;
4091
4218
  pmt?: {
@@ -4136,6 +4263,8 @@ declare module '@scout9/app/schemas' {
4136
4263
  option?: string | null | undefined;
4137
4264
  text?: string | null | undefined;
4138
4265
  }[] | null | undefined;
4266
+ ignoreTransform?: boolean | undefined;
4267
+ mediaUrls?: string[] | null | undefined;
4139
4268
  }[][] | undefined;
4140
4269
  audios?: any[] | undefined;
4141
4270
  pmt?: {
@@ -4206,6 +4335,8 @@ declare module '@scout9/app/schemas' {
4206
4335
  option?: string | null | undefined;
4207
4336
  text?: string | null | undefined;
4208
4337
  }>, "many">>>;
4338
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4339
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4209
4340
  }, "strip", z.ZodTypeAny, {
4210
4341
  time: string;
4211
4342
  id: string;
@@ -4224,6 +4355,8 @@ declare module '@scout9/app/schemas' {
4224
4355
  option?: string | null | undefined;
4225
4356
  text?: string | null | undefined;
4226
4357
  }[] | null | undefined;
4358
+ ignoreTransform?: boolean | undefined;
4359
+ mediaUrls?: string[] | null | undefined;
4227
4360
  }, {
4228
4361
  time: string;
4229
4362
  id: string;
@@ -4242,6 +4375,8 @@ declare module '@scout9/app/schemas' {
4242
4375
  option?: string | null | undefined;
4243
4376
  text?: string | null | undefined;
4244
4377
  }[] | null | undefined;
4378
+ ignoreTransform?: boolean | undefined;
4379
+ mediaUrls?: string[] | null | undefined;
4245
4380
  }>, "many">, "many">>;
4246
4381
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4247
4382
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4307,6 +4442,8 @@ declare module '@scout9/app/schemas' {
4307
4442
  option?: string | null | undefined;
4308
4443
  text?: string | null | undefined;
4309
4444
  }[] | null | undefined;
4445
+ ignoreTransform?: boolean | undefined;
4446
+ mediaUrls?: string[] | null | undefined;
4310
4447
  }[][] | undefined;
4311
4448
  audios?: any[] | undefined;
4312
4449
  pmt?: {
@@ -4357,6 +4494,8 @@ declare module '@scout9/app/schemas' {
4357
4494
  option?: string | null | undefined;
4358
4495
  text?: string | null | undefined;
4359
4496
  }[] | null | undefined;
4497
+ ignoreTransform?: boolean | undefined;
4498
+ mediaUrls?: string[] | null | undefined;
4360
4499
  }[][] | undefined;
4361
4500
  audios?: any[] | undefined;
4362
4501
  pmt?: {
@@ -4427,6 +4566,8 @@ declare module '@scout9/app/schemas' {
4427
4566
  option?: string | null | undefined;
4428
4567
  text?: string | null | undefined;
4429
4568
  }>, "many">>>;
4569
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4570
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4430
4571
  }, "strip", z.ZodTypeAny, {
4431
4572
  time: string;
4432
4573
  id: string;
@@ -4445,6 +4586,8 @@ declare module '@scout9/app/schemas' {
4445
4586
  option?: string | null | undefined;
4446
4587
  text?: string | null | undefined;
4447
4588
  }[] | null | undefined;
4589
+ ignoreTransform?: boolean | undefined;
4590
+ mediaUrls?: string[] | null | undefined;
4448
4591
  }, {
4449
4592
  time: string;
4450
4593
  id: string;
@@ -4463,6 +4606,8 @@ declare module '@scout9/app/schemas' {
4463
4606
  option?: string | null | undefined;
4464
4607
  text?: string | null | undefined;
4465
4608
  }[] | null | undefined;
4609
+ ignoreTransform?: boolean | undefined;
4610
+ mediaUrls?: string[] | null | undefined;
4466
4611
  }>, "many">, "many">>;
4467
4612
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4468
4613
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4526,6 +4671,8 @@ declare module '@scout9/app/schemas' {
4526
4671
  option?: string | null | undefined;
4527
4672
  text?: string | null | undefined;
4528
4673
  }[] | null | undefined;
4674
+ ignoreTransform?: boolean | undefined;
4675
+ mediaUrls?: string[] | null | undefined;
4529
4676
  }[][] | undefined;
4530
4677
  audios?: any[] | undefined;
4531
4678
  pmt?: {
@@ -4575,6 +4722,8 @@ declare module '@scout9/app/schemas' {
4575
4722
  option?: string | null | undefined;
4576
4723
  text?: string | null | undefined;
4577
4724
  }[] | null | undefined;
4725
+ ignoreTransform?: boolean | undefined;
4726
+ mediaUrls?: string[] | null | undefined;
4578
4727
  }[][] | undefined;
4579
4728
  audios?: any[] | undefined;
4580
4729
  pmt?: {
@@ -4645,6 +4794,8 @@ declare module '@scout9/app/schemas' {
4645
4794
  option?: string | null | undefined;
4646
4795
  text?: string | null | undefined;
4647
4796
  }>, "many">>>;
4797
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
4798
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4648
4799
  }, "strip", z.ZodTypeAny, {
4649
4800
  time: string;
4650
4801
  id: string;
@@ -4663,6 +4814,8 @@ declare module '@scout9/app/schemas' {
4663
4814
  option?: string | null | undefined;
4664
4815
  text?: string | null | undefined;
4665
4816
  }[] | null | undefined;
4817
+ ignoreTransform?: boolean | undefined;
4818
+ mediaUrls?: string[] | null | undefined;
4666
4819
  }, {
4667
4820
  time: string;
4668
4821
  id: string;
@@ -4681,6 +4834,8 @@ declare module '@scout9/app/schemas' {
4681
4834
  option?: string | null | undefined;
4682
4835
  text?: string | null | undefined;
4683
4836
  }[] | null | undefined;
4837
+ ignoreTransform?: boolean | undefined;
4838
+ mediaUrls?: string[] | null | undefined;
4684
4839
  }>, "many">, "many">>;
4685
4840
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4686
4841
  pmt: z.ZodOptional<z.ZodObject<{
@@ -4744,6 +4899,8 @@ declare module '@scout9/app/schemas' {
4744
4899
  option?: string | null | undefined;
4745
4900
  text?: string | null | undefined;
4746
4901
  }[] | null | undefined;
4902
+ ignoreTransform?: boolean | undefined;
4903
+ mediaUrls?: string[] | null | undefined;
4747
4904
  }[][] | undefined;
4748
4905
  audios?: any[] | undefined;
4749
4906
  pmt?: {
@@ -4793,6 +4950,8 @@ declare module '@scout9/app/schemas' {
4793
4950
  option?: string | null | undefined;
4794
4951
  text?: string | null | undefined;
4795
4952
  }[] | null | undefined;
4953
+ ignoreTransform?: boolean | undefined;
4954
+ mediaUrls?: string[] | null | undefined;
4796
4955
  }[][] | undefined;
4797
4956
  audios?: any[] | undefined;
4798
4957
  pmt?: {
@@ -5112,6 +5271,8 @@ declare module '@scout9/app/schemas' {
5112
5271
  option?: string | null | undefined;
5113
5272
  text?: string | null | undefined;
5114
5273
  }>, "many">>>;
5274
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
5275
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5115
5276
  }, "strip", z.ZodTypeAny, {
5116
5277
  time: string;
5117
5278
  id: string;
@@ -5130,6 +5291,8 @@ declare module '@scout9/app/schemas' {
5130
5291
  option?: string | null | undefined;
5131
5292
  text?: string | null | undefined;
5132
5293
  }[] | null | undefined;
5294
+ ignoreTransform?: boolean | undefined;
5295
+ mediaUrls?: string[] | null | undefined;
5133
5296
  }, {
5134
5297
  time: string;
5135
5298
  id: string;
@@ -5148,6 +5311,8 @@ declare module '@scout9/app/schemas' {
5148
5311
  option?: string | null | undefined;
5149
5312
  text?: string | null | undefined;
5150
5313
  }[] | null | undefined;
5314
+ ignoreTransform?: boolean | undefined;
5315
+ mediaUrls?: string[] | null | undefined;
5151
5316
  }>, "many">;
5152
5317
  conversation: z.ZodObject<{
5153
5318
  $id: z.ZodString;
@@ -5310,6 +5475,8 @@ declare module '@scout9/app/schemas' {
5310
5475
  option?: string | null | undefined;
5311
5476
  text?: string | null | undefined;
5312
5477
  }>, "many">>>;
5478
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
5479
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5313
5480
  }, "strip", z.ZodTypeAny, {
5314
5481
  time: string;
5315
5482
  id: string;
@@ -5328,6 +5495,8 @@ declare module '@scout9/app/schemas' {
5328
5495
  option?: string | null | undefined;
5329
5496
  text?: string | null | undefined;
5330
5497
  }[] | null | undefined;
5498
+ ignoreTransform?: boolean | undefined;
5499
+ mediaUrls?: string[] | null | undefined;
5331
5500
  }, {
5332
5501
  time: string;
5333
5502
  id: string;
@@ -5346,6 +5515,8 @@ declare module '@scout9/app/schemas' {
5346
5515
  option?: string | null | undefined;
5347
5516
  text?: string | null | undefined;
5348
5517
  }[] | null | undefined;
5518
+ ignoreTransform?: boolean | undefined;
5519
+ mediaUrls?: string[] | null | undefined;
5349
5520
  }>;
5350
5521
  agent: z.ZodObject<Omit<{
5351
5522
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -5406,6 +5577,8 @@ declare module '@scout9/app/schemas' {
5406
5577
  option?: string | null | undefined;
5407
5578
  text?: string | null | undefined;
5408
5579
  }>, "many">>>;
5580
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
5581
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5409
5582
  }, "strip", z.ZodTypeAny, {
5410
5583
  time: string;
5411
5584
  id: string;
@@ -5424,6 +5597,8 @@ declare module '@scout9/app/schemas' {
5424
5597
  option?: string | null | undefined;
5425
5598
  text?: string | null | undefined;
5426
5599
  }[] | null | undefined;
5600
+ ignoreTransform?: boolean | undefined;
5601
+ mediaUrls?: string[] | null | undefined;
5427
5602
  }, {
5428
5603
  time: string;
5429
5604
  id: string;
@@ -5442,6 +5617,8 @@ declare module '@scout9/app/schemas' {
5442
5617
  option?: string | null | undefined;
5443
5618
  text?: string | null | undefined;
5444
5619
  }[] | null | undefined;
5620
+ ignoreTransform?: boolean | undefined;
5621
+ mediaUrls?: string[] | null | undefined;
5445
5622
  }>, "many">, "many">>;
5446
5623
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
5447
5624
  pmt: z.ZodOptional<z.ZodObject<{
@@ -5593,6 +5770,8 @@ declare module '@scout9/app/schemas' {
5593
5770
  option?: string | null | undefined;
5594
5771
  text?: string | null | undefined;
5595
5772
  }[] | null | undefined;
5773
+ ignoreTransform?: boolean | undefined;
5774
+ mediaUrls?: string[] | null | undefined;
5596
5775
  };
5597
5776
  agent: {
5598
5777
  id: string;
@@ -5657,6 +5836,8 @@ declare module '@scout9/app/schemas' {
5657
5836
  option?: string | null | undefined;
5658
5837
  text?: string | null | undefined;
5659
5838
  }[] | null | undefined;
5839
+ ignoreTransform?: boolean | undefined;
5840
+ mediaUrls?: string[] | null | undefined;
5660
5841
  }[];
5661
5842
  conversation: {
5662
5843
  environment: "email" | "phone" | "web";
@@ -5712,6 +5893,8 @@ declare module '@scout9/app/schemas' {
5712
5893
  option?: string | null | undefined;
5713
5894
  text?: string | null | undefined;
5714
5895
  }[] | null | undefined;
5896
+ ignoreTransform?: boolean | undefined;
5897
+ mediaUrls?: string[] | null | undefined;
5715
5898
  };
5716
5899
  agent: {
5717
5900
  id: string;
@@ -5776,6 +5959,8 @@ declare module '@scout9/app/schemas' {
5776
5959
  option?: string | null | undefined;
5777
5960
  text?: string | null | undefined;
5778
5961
  }[] | null | undefined;
5962
+ ignoreTransform?: boolean | undefined;
5963
+ mediaUrls?: string[] | null | undefined;
5779
5964
  }[];
5780
5965
  conversation: {
5781
5966
  environment: "email" | "phone" | "web";
@@ -10698,6 +10883,8 @@ declare module '@scout9/app/schemas' {
10698
10883
  option?: string | null | undefined;
10699
10884
  text?: string | null | undefined;
10700
10885
  }>, "many">>>;
10886
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
10887
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10701
10888
  }, "strip", z.ZodTypeAny, {
10702
10889
  time: string;
10703
10890
  id: string;
@@ -10716,6 +10903,8 @@ declare module '@scout9/app/schemas' {
10716
10903
  option?: string | null | undefined;
10717
10904
  text?: string | null | undefined;
10718
10905
  }[] | null | undefined;
10906
+ ignoreTransform?: boolean | undefined;
10907
+ mediaUrls?: string[] | null | undefined;
10719
10908
  }, {
10720
10909
  time: string;
10721
10910
  id: string;
@@ -10734,6 +10923,8 @@ declare module '@scout9/app/schemas' {
10734
10923
  option?: string | null | undefined;
10735
10924
  text?: string | null | undefined;
10736
10925
  }[] | null | undefined;
10926
+ ignoreTransform?: boolean | undefined;
10927
+ mediaUrls?: string[] | null | undefined;
10737
10928
  }>, "many">;
10738
10929
  conversation: z.ZodObject<{
10739
10930
  $id: z.ZodString;
@@ -10896,6 +11087,8 @@ declare module '@scout9/app/schemas' {
10896
11087
  option?: string | null | undefined;
10897
11088
  text?: string | null | undefined;
10898
11089
  }>, "many">>>;
11090
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
11091
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10899
11092
  }, "strip", z.ZodTypeAny, {
10900
11093
  time: string;
10901
11094
  id: string;
@@ -10914,6 +11107,8 @@ declare module '@scout9/app/schemas' {
10914
11107
  option?: string | null | undefined;
10915
11108
  text?: string | null | undefined;
10916
11109
  }[] | null | undefined;
11110
+ ignoreTransform?: boolean | undefined;
11111
+ mediaUrls?: string[] | null | undefined;
10917
11112
  }, {
10918
11113
  time: string;
10919
11114
  id: string;
@@ -10932,6 +11127,8 @@ declare module '@scout9/app/schemas' {
10932
11127
  option?: string | null | undefined;
10933
11128
  text?: string | null | undefined;
10934
11129
  }[] | null | undefined;
11130
+ ignoreTransform?: boolean | undefined;
11131
+ mediaUrls?: string[] | null | undefined;
10935
11132
  }>;
10936
11133
  agent: z.ZodObject<Omit<{
10937
11134
  inactive: z.ZodOptional<z.ZodBoolean>;
@@ -10992,6 +11189,8 @@ declare module '@scout9/app/schemas' {
10992
11189
  option?: string | null | undefined;
10993
11190
  text?: string | null | undefined;
10994
11191
  }>, "many">>>;
11192
+ ignoreTransform: z.ZodOptional<z.ZodBoolean>;
11193
+ mediaUrls: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10995
11194
  }, "strip", z.ZodTypeAny, {
10996
11195
  time: string;
10997
11196
  id: string;
@@ -11010,6 +11209,8 @@ declare module '@scout9/app/schemas' {
11010
11209
  option?: string | null | undefined;
11011
11210
  text?: string | null | undefined;
11012
11211
  }[] | null | undefined;
11212
+ ignoreTransform?: boolean | undefined;
11213
+ mediaUrls?: string[] | null | undefined;
11013
11214
  }, {
11014
11215
  time: string;
11015
11216
  id: string;
@@ -11028,6 +11229,8 @@ declare module '@scout9/app/schemas' {
11028
11229
  option?: string | null | undefined;
11029
11230
  text?: string | null | undefined;
11030
11231
  }[] | null | undefined;
11232
+ ignoreTransform?: boolean | undefined;
11233
+ mediaUrls?: string[] | null | undefined;
11031
11234
  }>, "many">, "many">>;
11032
11235
  audios: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
11033
11236
  pmt: z.ZodOptional<z.ZodObject<{
@@ -11179,6 +11382,8 @@ declare module '@scout9/app/schemas' {
11179
11382
  option?: string | null | undefined;
11180
11383
  text?: string | null | undefined;
11181
11384
  }[] | null | undefined;
11385
+ ignoreTransform?: boolean | undefined;
11386
+ mediaUrls?: string[] | null | undefined;
11182
11387
  };
11183
11388
  agent: {
11184
11389
  id: string;
@@ -11243,6 +11448,8 @@ declare module '@scout9/app/schemas' {
11243
11448
  option?: string | null | undefined;
11244
11449
  text?: string | null | undefined;
11245
11450
  }[] | null | undefined;
11451
+ ignoreTransform?: boolean | undefined;
11452
+ mediaUrls?: string[] | null | undefined;
11246
11453
  }[];
11247
11454
  conversation: {
11248
11455
  environment: "email" | "phone" | "web";
@@ -11298,6 +11505,8 @@ declare module '@scout9/app/schemas' {
11298
11505
  option?: string | null | undefined;
11299
11506
  text?: string | null | undefined;
11300
11507
  }[] | null | undefined;
11508
+ ignoreTransform?: boolean | undefined;
11509
+ mediaUrls?: string[] | null | undefined;
11301
11510
  };
11302
11511
  agent: {
11303
11512
  id: string;
@@ -11362,6 +11571,8 @@ declare module '@scout9/app/schemas' {
11362
11571
  option?: string | null | undefined;
11363
11572
  text?: string | null | undefined;
11364
11573
  }[] | null | undefined;
11574
+ ignoreTransform?: boolean | undefined;
11575
+ mediaUrls?: string[] | null | undefined;
11365
11576
  }[];
11366
11577
  conversation: {
11367
11578
  environment: "email" | "phone" | "web";