@ampsec/platform-client 81.6.4 → 81.8.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.
@@ -405,6 +405,43 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
405
405
  units?: string | undefined;
406
406
  }>;
407
407
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
408
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
409
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
410
+ channelId: z.ZodString;
411
+ includeUser: z.ZodDefault<z.ZodBoolean>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
414
+ channelId: string;
415
+ includeUser: boolean;
416
+ }, {
417
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
418
+ channelId: string;
419
+ includeUser?: boolean | undefined;
420
+ }>, z.ZodObject<{
421
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL>;
422
+ channelId: z.ZodString;
423
+ includeUser: z.ZodDefault<z.ZodBoolean>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
426
+ channelId: string;
427
+ includeUser: boolean;
428
+ }, {
429
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
430
+ channelId: string;
431
+ includeUser?: boolean | undefined;
432
+ }>, z.ZodObject<{
433
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL>;
434
+ channelId: z.ZodString;
435
+ includeUser: z.ZodDefault<z.ZodBoolean>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
438
+ channelId: string;
439
+ includeUser: boolean;
440
+ }, {
441
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
442
+ channelId: string;
443
+ includeUser?: boolean | undefined;
444
+ }>]>>;
408
445
  }, "strip", z.ZodTypeAny, {
409
446
  interval: {
410
447
  minutes: number;
@@ -412,6 +449,19 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
412
449
  units?: string | undefined;
413
450
  };
414
451
  engagementChannelConnectorIds: string[];
452
+ redirection?: {
453
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
454
+ channelId: string;
455
+ includeUser: boolean;
456
+ } | {
457
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
458
+ channelId: string;
459
+ includeUser: boolean;
460
+ } | {
461
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
462
+ channelId: string;
463
+ includeUser: boolean;
464
+ } | undefined;
415
465
  }, {
416
466
  interval: {
417
467
  minutes: number;
@@ -419,6 +469,112 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
419
469
  units?: string | undefined;
420
470
  };
421
471
  engagementChannelConnectorIds: string[];
472
+ redirection?: {
473
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
474
+ channelId: string;
475
+ includeUser?: boolean | undefined;
476
+ } | {
477
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
478
+ channelId: string;
479
+ includeUser?: boolean | undefined;
480
+ } | {
481
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
482
+ channelId: string;
483
+ includeUser?: boolean | undefined;
484
+ } | undefined;
485
+ }>>;
486
+ escalationToManager: z.ZodOptional<z.ZodObject<{
487
+ interval: z.ZodObject<{
488
+ minutes: z.ZodNumber;
489
+ value: z.ZodOptional<z.ZodNumber>;
490
+ units: z.ZodOptional<z.ZodString>;
491
+ }, "strip", z.ZodTypeAny, {
492
+ minutes: number;
493
+ value?: number | undefined;
494
+ units?: string | undefined;
495
+ }, {
496
+ minutes: number;
497
+ value?: number | undefined;
498
+ units?: string | undefined;
499
+ }>;
500
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
501
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
502
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
503
+ channelId: z.ZodString;
504
+ includeUser: z.ZodDefault<z.ZodBoolean>;
505
+ }, "strip", z.ZodTypeAny, {
506
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
507
+ channelId: string;
508
+ includeUser: boolean;
509
+ }, {
510
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
511
+ channelId: string;
512
+ includeUser?: boolean | undefined;
513
+ }>, z.ZodObject<{
514
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL>;
515
+ channelId: z.ZodString;
516
+ includeUser: z.ZodDefault<z.ZodBoolean>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
519
+ channelId: string;
520
+ includeUser: boolean;
521
+ }, {
522
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
523
+ channelId: string;
524
+ includeUser?: boolean | undefined;
525
+ }>, z.ZodObject<{
526
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL>;
527
+ channelId: z.ZodString;
528
+ includeUser: z.ZodDefault<z.ZodBoolean>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
531
+ channelId: string;
532
+ includeUser: boolean;
533
+ }, {
534
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
535
+ channelId: string;
536
+ includeUser?: boolean | undefined;
537
+ }>]>>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ interval: {
540
+ minutes: number;
541
+ value?: number | undefined;
542
+ units?: string | undefined;
543
+ };
544
+ engagementChannelConnectorIds: string[];
545
+ redirection?: {
546
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
547
+ channelId: string;
548
+ includeUser: boolean;
549
+ } | {
550
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
551
+ channelId: string;
552
+ includeUser: boolean;
553
+ } | {
554
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
555
+ channelId: string;
556
+ includeUser: boolean;
557
+ } | undefined;
558
+ }, {
559
+ interval: {
560
+ minutes: number;
561
+ value?: number | undefined;
562
+ units?: string | undefined;
563
+ };
564
+ engagementChannelConnectorIds: string[];
565
+ redirection?: {
566
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
567
+ channelId: string;
568
+ includeUser?: boolean | undefined;
569
+ } | {
570
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
571
+ channelId: string;
572
+ includeUser?: boolean | undefined;
573
+ } | {
574
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
575
+ channelId: string;
576
+ includeUser?: boolean | undefined;
577
+ } | undefined;
422
578
  }>>;
423
579
  redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
424
580
  kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
@@ -444,6 +600,18 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
444
600
  kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
445
601
  channelId: string;
446
602
  includeUser?: boolean | undefined;
603
+ }>, z.ZodObject<{
604
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL>;
605
+ channelId: z.ZodString;
606
+ includeUser: z.ZodDefault<z.ZodBoolean>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
609
+ channelId: string;
610
+ includeUser: boolean;
611
+ }, {
612
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
613
+ channelId: string;
614
+ includeUser?: boolean | undefined;
447
615
  }>]>>;
448
616
  rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
449
617
  isUpperBound: z.ZodBoolean;
@@ -588,6 +756,19 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
588
756
  actionLabel: string;
589
757
  }[] | undefined;
590
758
  } | undefined;
759
+ redirection?: {
760
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
761
+ channelId: string;
762
+ includeUser: boolean;
763
+ } | {
764
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
765
+ channelId: string;
766
+ includeUser: boolean;
767
+ } | {
768
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
769
+ channelId: string;
770
+ includeUser: boolean;
771
+ } | undefined;
591
772
  tone?: {
592
773
  kind?: string | undefined;
593
774
  } | undefined;
@@ -630,15 +811,40 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
630
811
  units?: string | undefined;
631
812
  };
632
813
  engagementChannelConnectorIds: string[];
814
+ redirection?: {
815
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
816
+ channelId: string;
817
+ includeUser: boolean;
818
+ } | {
819
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
820
+ channelId: string;
821
+ includeUser: boolean;
822
+ } | {
823
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
824
+ channelId: string;
825
+ includeUser: boolean;
826
+ } | undefined;
633
827
  } | undefined;
634
- redirection?: {
635
- kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
636
- channelId: string;
637
- includeUser: boolean;
638
- } | {
639
- kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
640
- channelId: string;
641
- includeUser: boolean;
828
+ escalationToManager?: {
829
+ interval: {
830
+ minutes: number;
831
+ value?: number | undefined;
832
+ units?: string | undefined;
833
+ };
834
+ engagementChannelConnectorIds: string[];
835
+ redirection?: {
836
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
837
+ channelId: string;
838
+ includeUser: boolean;
839
+ } | {
840
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
841
+ channelId: string;
842
+ includeUser: boolean;
843
+ } | {
844
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
845
+ channelId: string;
846
+ includeUser: boolean;
847
+ } | undefined;
642
848
  } | undefined;
643
849
  rewards?: {
644
850
  minutes: number;
@@ -729,6 +935,19 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
729
935
  actionLabel: string;
730
936
  }[] | undefined;
731
937
  } | undefined;
938
+ redirection?: {
939
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
940
+ channelId: string;
941
+ includeUser?: boolean | undefined;
942
+ } | {
943
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
944
+ channelId: string;
945
+ includeUser?: boolean | undefined;
946
+ } | {
947
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
948
+ channelId: string;
949
+ includeUser?: boolean | undefined;
950
+ } | undefined;
732
951
  fslStrategy?: "STANDARD" | undefined;
733
952
  tone?: {
734
953
  kind?: string | undefined;
@@ -772,15 +991,40 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
772
991
  units?: string | undefined;
773
992
  };
774
993
  engagementChannelConnectorIds: string[];
994
+ redirection?: {
995
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
996
+ channelId: string;
997
+ includeUser?: boolean | undefined;
998
+ } | {
999
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1000
+ channelId: string;
1001
+ includeUser?: boolean | undefined;
1002
+ } | {
1003
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1004
+ channelId: string;
1005
+ includeUser?: boolean | undefined;
1006
+ } | undefined;
775
1007
  } | undefined;
776
- redirection?: {
777
- kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
778
- channelId: string;
779
- includeUser?: boolean | undefined;
780
- } | {
781
- kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
782
- channelId: string;
783
- includeUser?: boolean | undefined;
1008
+ escalationToManager?: {
1009
+ interval: {
1010
+ minutes: number;
1011
+ value?: number | undefined;
1012
+ units?: string | undefined;
1013
+ };
1014
+ engagementChannelConnectorIds: string[];
1015
+ redirection?: {
1016
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1017
+ channelId: string;
1018
+ includeUser?: boolean | undefined;
1019
+ } | {
1020
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1021
+ channelId: string;
1022
+ includeUser?: boolean | undefined;
1023
+ } | {
1024
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1025
+ channelId: string;
1026
+ includeUser?: boolean | undefined;
1027
+ } | undefined;
784
1028
  } | undefined;
785
1029
  rewards?: {
786
1030
  minutes: number;
@@ -1206,6 +1450,43 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1206
1450
  units?: string | undefined;
1207
1451
  }>;
1208
1452
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1453
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1454
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
1455
+ channelId: z.ZodString;
1456
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1457
+ }, "strip", z.ZodTypeAny, {
1458
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1459
+ channelId: string;
1460
+ includeUser: boolean;
1461
+ }, {
1462
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1463
+ channelId: string;
1464
+ includeUser?: boolean | undefined;
1465
+ }>, z.ZodObject<{
1466
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL>;
1467
+ channelId: z.ZodString;
1468
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1471
+ channelId: string;
1472
+ includeUser: boolean;
1473
+ }, {
1474
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1475
+ channelId: string;
1476
+ includeUser?: boolean | undefined;
1477
+ }>, z.ZodObject<{
1478
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL>;
1479
+ channelId: z.ZodString;
1480
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1483
+ channelId: string;
1484
+ includeUser: boolean;
1485
+ }, {
1486
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1487
+ channelId: string;
1488
+ includeUser?: boolean | undefined;
1489
+ }>]>>;
1209
1490
  }, "strip", z.ZodTypeAny, {
1210
1491
  interval: {
1211
1492
  minutes: number;
@@ -1213,6 +1494,19 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1213
1494
  units?: string | undefined;
1214
1495
  };
1215
1496
  engagementChannelConnectorIds: string[];
1497
+ redirection?: {
1498
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1499
+ channelId: string;
1500
+ includeUser: boolean;
1501
+ } | {
1502
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1503
+ channelId: string;
1504
+ includeUser: boolean;
1505
+ } | {
1506
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1507
+ channelId: string;
1508
+ includeUser: boolean;
1509
+ } | undefined;
1216
1510
  }, {
1217
1511
  interval: {
1218
1512
  minutes: number;
@@ -1220,6 +1514,112 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1220
1514
  units?: string | undefined;
1221
1515
  };
1222
1516
  engagementChannelConnectorIds: string[];
1517
+ redirection?: {
1518
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1519
+ channelId: string;
1520
+ includeUser?: boolean | undefined;
1521
+ } | {
1522
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1523
+ channelId: string;
1524
+ includeUser?: boolean | undefined;
1525
+ } | {
1526
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1527
+ channelId: string;
1528
+ includeUser?: boolean | undefined;
1529
+ } | undefined;
1530
+ }>>;
1531
+ escalationToManager: z.ZodOptional<z.ZodObject<{
1532
+ interval: z.ZodObject<{
1533
+ minutes: z.ZodNumber;
1534
+ value: z.ZodOptional<z.ZodNumber>;
1535
+ units: z.ZodOptional<z.ZodString>;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ minutes: number;
1538
+ value?: number | undefined;
1539
+ units?: string | undefined;
1540
+ }, {
1541
+ minutes: number;
1542
+ value?: number | undefined;
1543
+ units?: string | undefined;
1544
+ }>;
1545
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1546
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1547
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
1548
+ channelId: z.ZodString;
1549
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1552
+ channelId: string;
1553
+ includeUser: boolean;
1554
+ }, {
1555
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1556
+ channelId: string;
1557
+ includeUser?: boolean | undefined;
1558
+ }>, z.ZodObject<{
1559
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL>;
1560
+ channelId: z.ZodString;
1561
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1564
+ channelId: string;
1565
+ includeUser: boolean;
1566
+ }, {
1567
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1568
+ channelId: string;
1569
+ includeUser?: boolean | undefined;
1570
+ }>, z.ZodObject<{
1571
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL>;
1572
+ channelId: z.ZodString;
1573
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1574
+ }, "strip", z.ZodTypeAny, {
1575
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1576
+ channelId: string;
1577
+ includeUser: boolean;
1578
+ }, {
1579
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1580
+ channelId: string;
1581
+ includeUser?: boolean | undefined;
1582
+ }>]>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ interval: {
1585
+ minutes: number;
1586
+ value?: number | undefined;
1587
+ units?: string | undefined;
1588
+ };
1589
+ engagementChannelConnectorIds: string[];
1590
+ redirection?: {
1591
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1592
+ channelId: string;
1593
+ includeUser: boolean;
1594
+ } | {
1595
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1596
+ channelId: string;
1597
+ includeUser: boolean;
1598
+ } | {
1599
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1600
+ channelId: string;
1601
+ includeUser: boolean;
1602
+ } | undefined;
1603
+ }, {
1604
+ interval: {
1605
+ minutes: number;
1606
+ value?: number | undefined;
1607
+ units?: string | undefined;
1608
+ };
1609
+ engagementChannelConnectorIds: string[];
1610
+ redirection?: {
1611
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1612
+ channelId: string;
1613
+ includeUser?: boolean | undefined;
1614
+ } | {
1615
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1616
+ channelId: string;
1617
+ includeUser?: boolean | undefined;
1618
+ } | {
1619
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1620
+ channelId: string;
1621
+ includeUser?: boolean | undefined;
1622
+ } | undefined;
1223
1623
  }>>;
1224
1624
  redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1225
1625
  kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
@@ -1245,6 +1645,18 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1245
1645
  kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1246
1646
  channelId: string;
1247
1647
  includeUser?: boolean | undefined;
1648
+ }>, z.ZodObject<{
1649
+ kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL>;
1650
+ channelId: z.ZodString;
1651
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1652
+ }, "strip", z.ZodTypeAny, {
1653
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1654
+ channelId: string;
1655
+ includeUser: boolean;
1656
+ }, {
1657
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1658
+ channelId: string;
1659
+ includeUser?: boolean | undefined;
1248
1660
  }>]>>;
1249
1661
  rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1250
1662
  isUpperBound: z.ZodBoolean;
@@ -1384,6 +1796,19 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1384
1796
  actionLabel: string;
1385
1797
  }[] | undefined;
1386
1798
  } | undefined;
1799
+ redirection?: {
1800
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1801
+ channelId: string;
1802
+ includeUser: boolean;
1803
+ } | {
1804
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1805
+ channelId: string;
1806
+ includeUser: boolean;
1807
+ } | {
1808
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1809
+ channelId: string;
1810
+ includeUser: boolean;
1811
+ } | undefined;
1387
1812
  tone?: {
1388
1813
  kind?: string | undefined;
1389
1814
  } | undefined;
@@ -1426,15 +1851,40 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1426
1851
  units?: string | undefined;
1427
1852
  };
1428
1853
  engagementChannelConnectorIds: string[];
1854
+ redirection?: {
1855
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1856
+ channelId: string;
1857
+ includeUser: boolean;
1858
+ } | {
1859
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1860
+ channelId: string;
1861
+ includeUser: boolean;
1862
+ } | {
1863
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1864
+ channelId: string;
1865
+ includeUser: boolean;
1866
+ } | undefined;
1429
1867
  } | undefined;
1430
- redirection?: {
1431
- kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1432
- channelId: string;
1433
- includeUser: boolean;
1434
- } | {
1435
- kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1436
- channelId: string;
1437
- includeUser: boolean;
1868
+ escalationToManager?: {
1869
+ interval: {
1870
+ minutes: number;
1871
+ value?: number | undefined;
1872
+ units?: string | undefined;
1873
+ };
1874
+ engagementChannelConnectorIds: string[];
1875
+ redirection?: {
1876
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1877
+ channelId: string;
1878
+ includeUser: boolean;
1879
+ } | {
1880
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1881
+ channelId: string;
1882
+ includeUser: boolean;
1883
+ } | {
1884
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1885
+ channelId: string;
1886
+ includeUser: boolean;
1887
+ } | undefined;
1438
1888
  } | undefined;
1439
1889
  rewards?: {
1440
1890
  minutes: number;
@@ -1533,6 +1983,19 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1533
1983
  actionLabel: string;
1534
1984
  }[] | undefined;
1535
1985
  } | undefined;
1986
+ redirection?: {
1987
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1988
+ channelId: string;
1989
+ includeUser?: boolean | undefined;
1990
+ } | {
1991
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1992
+ channelId: string;
1993
+ includeUser?: boolean | undefined;
1994
+ } | {
1995
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
1996
+ channelId: string;
1997
+ includeUser?: boolean | undefined;
1998
+ } | undefined;
1536
1999
  fslStrategy?: "STANDARD" | undefined;
1537
2000
  tone?: {
1538
2001
  kind?: string | undefined;
@@ -1576,15 +2039,40 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1576
2039
  units?: string | undefined;
1577
2040
  };
1578
2041
  engagementChannelConnectorIds: string[];
2042
+ redirection?: {
2043
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
2044
+ channelId: string;
2045
+ includeUser?: boolean | undefined;
2046
+ } | {
2047
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
2048
+ channelId: string;
2049
+ includeUser?: boolean | undefined;
2050
+ } | {
2051
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
2052
+ channelId: string;
2053
+ includeUser?: boolean | undefined;
2054
+ } | undefined;
1579
2055
  } | undefined;
1580
- redirection?: {
1581
- kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
1582
- channelId: string;
1583
- includeUser?: boolean | undefined;
1584
- } | {
1585
- kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
1586
- channelId: string;
1587
- includeUser?: boolean | undefined;
2056
+ escalationToManager?: {
2057
+ interval: {
2058
+ minutes: number;
2059
+ value?: number | undefined;
2060
+ units?: string | undefined;
2061
+ };
2062
+ engagementChannelConnectorIds: string[];
2063
+ redirection?: {
2064
+ kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
2065
+ channelId: string;
2066
+ includeUser?: boolean | undefined;
2067
+ } | {
2068
+ kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
2069
+ channelId: string;
2070
+ includeUser?: boolean | undefined;
2071
+ } | {
2072
+ kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
2073
+ channelId: string;
2074
+ includeUser?: boolean | undefined;
2075
+ } | undefined;
1588
2076
  } | undefined;
1589
2077
  rewards?: {
1590
2078
  minutes: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "81.6.4",
3
+ "version": "81.8.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",