@ampsec/platform-client 81.7.0 → 81.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1116,40 +1116,11 @@ export declare const _FlowRewardsConfig: z.ZodObject<{
1116
1116
  units?: string | undefined;
1117
1117
  }>;
1118
1118
  export type FlowRewardsConfig = z.infer<typeof _FlowRewardsConfig>;
1119
- export declare const _EngagementEscalationConfig: z.ZodObject<{
1120
- interval: z.ZodObject<{
1121
- minutes: z.ZodNumber;
1122
- value: z.ZodOptional<z.ZodNumber>;
1123
- units: z.ZodOptional<z.ZodString>;
1124
- }, "strip", z.ZodTypeAny, {
1125
- minutes: number;
1126
- value?: number | undefined;
1127
- units?: string | undefined;
1128
- }, {
1129
- minutes: number;
1130
- value?: number | undefined;
1131
- units?: string | undefined;
1132
- }>;
1133
- engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1134
- }, "strip", z.ZodTypeAny, {
1135
- interval: {
1136
- minutes: number;
1137
- value?: number | undefined;
1138
- units?: string | undefined;
1139
- };
1140
- engagementChannelConnectorIds: string[];
1141
- }, {
1142
- interval: {
1143
- minutes: number;
1144
- value?: number | undefined;
1145
- units?: string | undefined;
1146
- };
1147
- engagementChannelConnectorIds: string[];
1148
- }>;
1149
1119
  export type EngagementEscalationConfig = z.infer<typeof _EngagementEscalationConfig>;
1150
1120
  export declare enum EngagementRedirectionKind {
1151
1121
  SLACK_CHANNEL = "SLACK_CHANNEL",
1152
- TEAMS_CHANNEL = "TEAMS_CHANNEL"
1122
+ TEAMS_CHANNEL = "TEAMS_CHANNEL",
1123
+ EMAIL_CHANNEL = "EMAIL_CHANNEL"
1153
1124
  }
1154
1125
  export declare const _SlackChannelRedirection: z.ZodObject<{
1155
1126
  kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
@@ -1177,8 +1148,114 @@ export declare const _TeamsChannelRedirection: z.ZodObject<{
1177
1148
  channelId: string;
1178
1149
  includeUser?: boolean | undefined;
1179
1150
  }>;
1151
+ export declare const _EmailChannelRedirection: z.ZodObject<{
1152
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
1153
+ channelId: z.ZodString;
1154
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1155
+ }, "strip", z.ZodTypeAny, {
1156
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1157
+ channelId: string;
1158
+ includeUser: boolean;
1159
+ }, {
1160
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1161
+ channelId: string;
1162
+ includeUser?: boolean | undefined;
1163
+ }>;
1180
1164
  export type SlackChannelRedirection = z.infer<typeof _SlackChannelRedirection>;
1181
1165
  export type TeamsChannelRedirection = z.infer<typeof _TeamsChannelRedirection>;
1166
+ export declare const _EngagementEscalationConfig: z.ZodObject<{
1167
+ interval: z.ZodObject<{
1168
+ minutes: z.ZodNumber;
1169
+ value: z.ZodOptional<z.ZodNumber>;
1170
+ units: z.ZodOptional<z.ZodString>;
1171
+ }, "strip", z.ZodTypeAny, {
1172
+ minutes: number;
1173
+ value?: number | undefined;
1174
+ units?: string | undefined;
1175
+ }, {
1176
+ minutes: number;
1177
+ value?: number | undefined;
1178
+ units?: string | undefined;
1179
+ }>;
1180
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1181
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1182
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
1183
+ channelId: z.ZodString;
1184
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1187
+ channelId: string;
1188
+ includeUser: boolean;
1189
+ }, {
1190
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1191
+ channelId: string;
1192
+ includeUser?: boolean | undefined;
1193
+ }>, z.ZodObject<{
1194
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
1195
+ channelId: z.ZodString;
1196
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1199
+ channelId: string;
1200
+ includeUser: boolean;
1201
+ }, {
1202
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1203
+ channelId: string;
1204
+ includeUser?: boolean | undefined;
1205
+ }>, z.ZodObject<{
1206
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
1207
+ channelId: z.ZodString;
1208
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1209
+ }, "strip", z.ZodTypeAny, {
1210
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1211
+ channelId: string;
1212
+ includeUser: boolean;
1213
+ }, {
1214
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1215
+ channelId: string;
1216
+ includeUser?: boolean | undefined;
1217
+ }>]>>;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ interval: {
1220
+ minutes: number;
1221
+ value?: number | undefined;
1222
+ units?: string | undefined;
1223
+ };
1224
+ engagementChannelConnectorIds: string[];
1225
+ redirection?: {
1226
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1227
+ channelId: string;
1228
+ includeUser: boolean;
1229
+ } | {
1230
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1231
+ channelId: string;
1232
+ includeUser: boolean;
1233
+ } | {
1234
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1235
+ channelId: string;
1236
+ includeUser: boolean;
1237
+ } | undefined;
1238
+ }, {
1239
+ interval: {
1240
+ minutes: number;
1241
+ value?: number | undefined;
1242
+ units?: string | undefined;
1243
+ };
1244
+ engagementChannelConnectorIds: string[];
1245
+ redirection?: {
1246
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1247
+ channelId: string;
1248
+ includeUser?: boolean | undefined;
1249
+ } | {
1250
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1251
+ channelId: string;
1252
+ includeUser?: boolean | undefined;
1253
+ } | {
1254
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1255
+ channelId: string;
1256
+ includeUser?: boolean | undefined;
1257
+ } | undefined;
1258
+ }>;
1182
1259
  export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1183
1260
  id: z.ZodString;
1184
1261
  createdAt: z.ZodString;
@@ -1597,6 +1674,43 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1597
1674
  units?: string | undefined;
1598
1675
  }>;
1599
1676
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1677
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1678
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
1679
+ channelId: z.ZodString;
1680
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1681
+ }, "strip", z.ZodTypeAny, {
1682
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1683
+ channelId: string;
1684
+ includeUser: boolean;
1685
+ }, {
1686
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1687
+ channelId: string;
1688
+ includeUser?: boolean | undefined;
1689
+ }>, z.ZodObject<{
1690
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
1691
+ channelId: z.ZodString;
1692
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1695
+ channelId: string;
1696
+ includeUser: boolean;
1697
+ }, {
1698
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1699
+ channelId: string;
1700
+ includeUser?: boolean | undefined;
1701
+ }>, z.ZodObject<{
1702
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
1703
+ channelId: z.ZodString;
1704
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1705
+ }, "strip", z.ZodTypeAny, {
1706
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1707
+ channelId: string;
1708
+ includeUser: boolean;
1709
+ }, {
1710
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1711
+ channelId: string;
1712
+ includeUser?: boolean | undefined;
1713
+ }>]>>;
1600
1714
  }, "strip", z.ZodTypeAny, {
1601
1715
  interval: {
1602
1716
  minutes: number;
@@ -1604,6 +1718,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1604
1718
  units?: string | undefined;
1605
1719
  };
1606
1720
  engagementChannelConnectorIds: string[];
1721
+ redirection?: {
1722
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1723
+ channelId: string;
1724
+ includeUser: boolean;
1725
+ } | {
1726
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1727
+ channelId: string;
1728
+ includeUser: boolean;
1729
+ } | {
1730
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1731
+ channelId: string;
1732
+ includeUser: boolean;
1733
+ } | undefined;
1607
1734
  }, {
1608
1735
  interval: {
1609
1736
  minutes: number;
@@ -1611,6 +1738,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1611
1738
  units?: string | undefined;
1612
1739
  };
1613
1740
  engagementChannelConnectorIds: string[];
1741
+ redirection?: {
1742
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1743
+ channelId: string;
1744
+ includeUser?: boolean | undefined;
1745
+ } | {
1746
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1747
+ channelId: string;
1748
+ includeUser?: boolean | undefined;
1749
+ } | {
1750
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1751
+ channelId: string;
1752
+ includeUser?: boolean | undefined;
1753
+ } | undefined;
1614
1754
  }>>;
1615
1755
  escalationToManager: z.ZodOptional<z.ZodObject<{
1616
1756
  interval: z.ZodObject<{
@@ -1627,6 +1767,43 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1627
1767
  units?: string | undefined;
1628
1768
  }>;
1629
1769
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1770
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1771
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
1772
+ channelId: z.ZodString;
1773
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1776
+ channelId: string;
1777
+ includeUser: boolean;
1778
+ }, {
1779
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1780
+ channelId: string;
1781
+ includeUser?: boolean | undefined;
1782
+ }>, z.ZodObject<{
1783
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
1784
+ channelId: z.ZodString;
1785
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1786
+ }, "strip", z.ZodTypeAny, {
1787
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1788
+ channelId: string;
1789
+ includeUser: boolean;
1790
+ }, {
1791
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1792
+ channelId: string;
1793
+ includeUser?: boolean | undefined;
1794
+ }>, z.ZodObject<{
1795
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
1796
+ channelId: z.ZodString;
1797
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1800
+ channelId: string;
1801
+ includeUser: boolean;
1802
+ }, {
1803
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1804
+ channelId: string;
1805
+ includeUser?: boolean | undefined;
1806
+ }>]>>;
1630
1807
  }, "strip", z.ZodTypeAny, {
1631
1808
  interval: {
1632
1809
  minutes: number;
@@ -1634,6 +1811,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1634
1811
  units?: string | undefined;
1635
1812
  };
1636
1813
  engagementChannelConnectorIds: string[];
1814
+ redirection?: {
1815
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1816
+ channelId: string;
1817
+ includeUser: boolean;
1818
+ } | {
1819
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1820
+ channelId: string;
1821
+ includeUser: boolean;
1822
+ } | {
1823
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1824
+ channelId: string;
1825
+ includeUser: boolean;
1826
+ } | undefined;
1637
1827
  }, {
1638
1828
  interval: {
1639
1829
  minutes: number;
@@ -1641,6 +1831,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1641
1831
  units?: string | undefined;
1642
1832
  };
1643
1833
  engagementChannelConnectorIds: string[];
1834
+ redirection?: {
1835
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
1836
+ channelId: string;
1837
+ includeUser?: boolean | undefined;
1838
+ } | {
1839
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1840
+ channelId: string;
1841
+ includeUser?: boolean | undefined;
1842
+ } | {
1843
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1844
+ channelId: string;
1845
+ includeUser?: boolean | undefined;
1846
+ } | undefined;
1644
1847
  }>>;
1645
1848
  redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1646
1849
  kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
@@ -1666,6 +1869,18 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1666
1869
  kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1667
1870
  channelId: string;
1668
1871
  includeUser?: boolean | undefined;
1872
+ }>, z.ZodObject<{
1873
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
1874
+ channelId: z.ZodString;
1875
+ includeUser: z.ZodDefault<z.ZodBoolean>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1878
+ channelId: string;
1879
+ includeUser: boolean;
1880
+ }, {
1881
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
1882
+ channelId: string;
1883
+ includeUser?: boolean | undefined;
1669
1884
  }>]>>;
1670
1885
  rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1671
1886
  isUpperBound: z.ZodBoolean;
@@ -1808,6 +2023,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1808
2023
  actionLabel: string;
1809
2024
  }[] | undefined;
1810
2025
  } | undefined;
2026
+ redirection?: {
2027
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2028
+ channelId: string;
2029
+ includeUser: boolean;
2030
+ } | {
2031
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2032
+ channelId: string;
2033
+ includeUser: boolean;
2034
+ } | {
2035
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2036
+ channelId: string;
2037
+ includeUser: boolean;
2038
+ } | undefined;
1811
2039
  tone?: {
1812
2040
  kind?: string | undefined;
1813
2041
  } | undefined;
@@ -1850,6 +2078,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1850
2078
  units?: string | undefined;
1851
2079
  };
1852
2080
  engagementChannelConnectorIds: string[];
2081
+ redirection?: {
2082
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2083
+ channelId: string;
2084
+ includeUser: boolean;
2085
+ } | {
2086
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2087
+ channelId: string;
2088
+ includeUser: boolean;
2089
+ } | {
2090
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2091
+ channelId: string;
2092
+ includeUser: boolean;
2093
+ } | undefined;
1853
2094
  } | undefined;
1854
2095
  escalationToManager?: {
1855
2096
  interval: {
@@ -1858,15 +2099,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1858
2099
  units?: string | undefined;
1859
2100
  };
1860
2101
  engagementChannelConnectorIds: string[];
1861
- } | undefined;
1862
- redirection?: {
1863
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
1864
- channelId: string;
1865
- includeUser: boolean;
1866
- } | {
1867
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
1868
- channelId: string;
1869
- includeUser: boolean;
2102
+ redirection?: {
2103
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2104
+ channelId: string;
2105
+ includeUser: boolean;
2106
+ } | {
2107
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2108
+ channelId: string;
2109
+ includeUser: boolean;
2110
+ } | {
2111
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2112
+ channelId: string;
2113
+ includeUser: boolean;
2114
+ } | undefined;
1870
2115
  } | undefined;
1871
2116
  rewards?: {
1872
2117
  minutes: number;
@@ -1965,6 +2210,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1965
2210
  actionLabel: string;
1966
2211
  }[] | undefined;
1967
2212
  } | undefined;
2213
+ redirection?: {
2214
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2215
+ channelId: string;
2216
+ includeUser?: boolean | undefined;
2217
+ } | {
2218
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2219
+ channelId: string;
2220
+ includeUser?: boolean | undefined;
2221
+ } | {
2222
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2223
+ channelId: string;
2224
+ includeUser?: boolean | undefined;
2225
+ } | undefined;
1968
2226
  fslStrategy?: "STANDARD" | undefined;
1969
2227
  tone?: {
1970
2228
  kind?: string | undefined;
@@ -2008,6 +2266,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2008
2266
  units?: string | undefined;
2009
2267
  };
2010
2268
  engagementChannelConnectorIds: string[];
2269
+ redirection?: {
2270
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2271
+ channelId: string;
2272
+ includeUser?: boolean | undefined;
2273
+ } | {
2274
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2275
+ channelId: string;
2276
+ includeUser?: boolean | undefined;
2277
+ } | {
2278
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2279
+ channelId: string;
2280
+ includeUser?: boolean | undefined;
2281
+ } | undefined;
2011
2282
  } | undefined;
2012
2283
  escalationToManager?: {
2013
2284
  interval: {
@@ -2016,15 +2287,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2016
2287
  units?: string | undefined;
2017
2288
  };
2018
2289
  engagementChannelConnectorIds: string[];
2019
- } | undefined;
2020
- redirection?: {
2021
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
2022
- channelId: string;
2023
- includeUser?: boolean | undefined;
2024
- } | {
2025
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2026
- channelId: string;
2027
- includeUser?: boolean | undefined;
2290
+ redirection?: {
2291
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2292
+ channelId: string;
2293
+ includeUser?: boolean | undefined;
2294
+ } | {
2295
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2296
+ channelId: string;
2297
+ includeUser?: boolean | undefined;
2298
+ } | {
2299
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2300
+ channelId: string;
2301
+ includeUser?: boolean | undefined;
2302
+ } | undefined;
2028
2303
  } | undefined;
2029
2304
  rewards?: {
2030
2305
  minutes: number;
@@ -2471,6 +2746,43 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2471
2746
  units?: string | undefined;
2472
2747
  }>;
2473
2748
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
2749
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2750
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
2751
+ channelId: z.ZodString;
2752
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2753
+ }, "strip", z.ZodTypeAny, {
2754
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2755
+ channelId: string;
2756
+ includeUser: boolean;
2757
+ }, {
2758
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2759
+ channelId: string;
2760
+ includeUser?: boolean | undefined;
2761
+ }>, z.ZodObject<{
2762
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
2763
+ channelId: z.ZodString;
2764
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2765
+ }, "strip", z.ZodTypeAny, {
2766
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2767
+ channelId: string;
2768
+ includeUser: boolean;
2769
+ }, {
2770
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2771
+ channelId: string;
2772
+ includeUser?: boolean | undefined;
2773
+ }>, z.ZodObject<{
2774
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
2775
+ channelId: z.ZodString;
2776
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2777
+ }, "strip", z.ZodTypeAny, {
2778
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2779
+ channelId: string;
2780
+ includeUser: boolean;
2781
+ }, {
2782
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2783
+ channelId: string;
2784
+ includeUser?: boolean | undefined;
2785
+ }>]>>;
2474
2786
  }, "strip", z.ZodTypeAny, {
2475
2787
  interval: {
2476
2788
  minutes: number;
@@ -2478,6 +2790,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2478
2790
  units?: string | undefined;
2479
2791
  };
2480
2792
  engagementChannelConnectorIds: string[];
2793
+ redirection?: {
2794
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2795
+ channelId: string;
2796
+ includeUser: boolean;
2797
+ } | {
2798
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2799
+ channelId: string;
2800
+ includeUser: boolean;
2801
+ } | {
2802
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2803
+ channelId: string;
2804
+ includeUser: boolean;
2805
+ } | undefined;
2481
2806
  }, {
2482
2807
  interval: {
2483
2808
  minutes: number;
@@ -2485,6 +2810,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2485
2810
  units?: string | undefined;
2486
2811
  };
2487
2812
  engagementChannelConnectorIds: string[];
2813
+ redirection?: {
2814
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2815
+ channelId: string;
2816
+ includeUser?: boolean | undefined;
2817
+ } | {
2818
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2819
+ channelId: string;
2820
+ includeUser?: boolean | undefined;
2821
+ } | {
2822
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2823
+ channelId: string;
2824
+ includeUser?: boolean | undefined;
2825
+ } | undefined;
2488
2826
  }>>;
2489
2827
  escalationToManager: z.ZodOptional<z.ZodObject<{
2490
2828
  interval: z.ZodObject<{
@@ -2501,6 +2839,43 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2501
2839
  units?: string | undefined;
2502
2840
  }>;
2503
2841
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
2842
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2843
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
2844
+ channelId: z.ZodString;
2845
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2846
+ }, "strip", z.ZodTypeAny, {
2847
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2848
+ channelId: string;
2849
+ includeUser: boolean;
2850
+ }, {
2851
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2852
+ channelId: string;
2853
+ includeUser?: boolean | undefined;
2854
+ }>, z.ZodObject<{
2855
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
2856
+ channelId: z.ZodString;
2857
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2858
+ }, "strip", z.ZodTypeAny, {
2859
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2860
+ channelId: string;
2861
+ includeUser: boolean;
2862
+ }, {
2863
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2864
+ channelId: string;
2865
+ includeUser?: boolean | undefined;
2866
+ }>, z.ZodObject<{
2867
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
2868
+ channelId: z.ZodString;
2869
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2870
+ }, "strip", z.ZodTypeAny, {
2871
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2872
+ channelId: string;
2873
+ includeUser: boolean;
2874
+ }, {
2875
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2876
+ channelId: string;
2877
+ includeUser?: boolean | undefined;
2878
+ }>]>>;
2504
2879
  }, "strip", z.ZodTypeAny, {
2505
2880
  interval: {
2506
2881
  minutes: number;
@@ -2508,6 +2883,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2508
2883
  units?: string | undefined;
2509
2884
  };
2510
2885
  engagementChannelConnectorIds: string[];
2886
+ redirection?: {
2887
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2888
+ channelId: string;
2889
+ includeUser: boolean;
2890
+ } | {
2891
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2892
+ channelId: string;
2893
+ includeUser: boolean;
2894
+ } | {
2895
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2896
+ channelId: string;
2897
+ includeUser: boolean;
2898
+ } | undefined;
2511
2899
  }, {
2512
2900
  interval: {
2513
2901
  minutes: number;
@@ -2515,6 +2903,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2515
2903
  units?: string | undefined;
2516
2904
  };
2517
2905
  engagementChannelConnectorIds: string[];
2906
+ redirection?: {
2907
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
2908
+ channelId: string;
2909
+ includeUser?: boolean | undefined;
2910
+ } | {
2911
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2912
+ channelId: string;
2913
+ includeUser?: boolean | undefined;
2914
+ } | {
2915
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2916
+ channelId: string;
2917
+ includeUser?: boolean | undefined;
2918
+ } | undefined;
2518
2919
  }>>;
2519
2920
  redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2520
2921
  kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
@@ -2540,6 +2941,18 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2540
2941
  kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2541
2942
  channelId: string;
2542
2943
  includeUser?: boolean | undefined;
2944
+ }>, z.ZodObject<{
2945
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
2946
+ channelId: z.ZodString;
2947
+ includeUser: z.ZodDefault<z.ZodBoolean>;
2948
+ }, "strip", z.ZodTypeAny, {
2949
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2950
+ channelId: string;
2951
+ includeUser: boolean;
2952
+ }, {
2953
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
2954
+ channelId: string;
2955
+ includeUser?: boolean | undefined;
2543
2956
  }>]>>;
2544
2957
  rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
2545
2958
  isUpperBound: z.ZodBoolean;
@@ -2687,6 +3100,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2687
3100
  actionLabel: string;
2688
3101
  }[] | undefined;
2689
3102
  } | undefined;
3103
+ redirection?: {
3104
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3105
+ channelId: string;
3106
+ includeUser: boolean;
3107
+ } | {
3108
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3109
+ channelId: string;
3110
+ includeUser: boolean;
3111
+ } | {
3112
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3113
+ channelId: string;
3114
+ includeUser: boolean;
3115
+ } | undefined;
2690
3116
  tone?: {
2691
3117
  kind?: string | undefined;
2692
3118
  } | undefined;
@@ -2729,6 +3155,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2729
3155
  units?: string | undefined;
2730
3156
  };
2731
3157
  engagementChannelConnectorIds: string[];
3158
+ redirection?: {
3159
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3160
+ channelId: string;
3161
+ includeUser: boolean;
3162
+ } | {
3163
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3164
+ channelId: string;
3165
+ includeUser: boolean;
3166
+ } | {
3167
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3168
+ channelId: string;
3169
+ includeUser: boolean;
3170
+ } | undefined;
2732
3171
  } | undefined;
2733
3172
  escalationToManager?: {
2734
3173
  interval: {
@@ -2737,15 +3176,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2737
3176
  units?: string | undefined;
2738
3177
  };
2739
3178
  engagementChannelConnectorIds: string[];
2740
- } | undefined;
2741
- redirection?: {
2742
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
2743
- channelId: string;
2744
- includeUser: boolean;
2745
- } | {
2746
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2747
- channelId: string;
2748
- includeUser: boolean;
3179
+ redirection?: {
3180
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3181
+ channelId: string;
3182
+ includeUser: boolean;
3183
+ } | {
3184
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3185
+ channelId: string;
3186
+ includeUser: boolean;
3187
+ } | {
3188
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3189
+ channelId: string;
3190
+ includeUser: boolean;
3191
+ } | undefined;
2749
3192
  } | undefined;
2750
3193
  rewards?: {
2751
3194
  minutes: number;
@@ -2836,6 +3279,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2836
3279
  actionLabel: string;
2837
3280
  }[] | undefined;
2838
3281
  } | undefined;
3282
+ redirection?: {
3283
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3284
+ channelId: string;
3285
+ includeUser?: boolean | undefined;
3286
+ } | {
3287
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3288
+ channelId: string;
3289
+ includeUser?: boolean | undefined;
3290
+ } | {
3291
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3292
+ channelId: string;
3293
+ includeUser?: boolean | undefined;
3294
+ } | undefined;
2839
3295
  fslStrategy?: "STANDARD" | undefined;
2840
3296
  tone?: {
2841
3297
  kind?: string | undefined;
@@ -2879,6 +3335,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2879
3335
  units?: string | undefined;
2880
3336
  };
2881
3337
  engagementChannelConnectorIds: string[];
3338
+ redirection?: {
3339
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3340
+ channelId: string;
3341
+ includeUser?: boolean | undefined;
3342
+ } | {
3343
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3344
+ channelId: string;
3345
+ includeUser?: boolean | undefined;
3346
+ } | {
3347
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3348
+ channelId: string;
3349
+ includeUser?: boolean | undefined;
3350
+ } | undefined;
2882
3351
  } | undefined;
2883
3352
  escalationToManager?: {
2884
3353
  interval: {
@@ -2887,15 +3356,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2887
3356
  units?: string | undefined;
2888
3357
  };
2889
3358
  engagementChannelConnectorIds: string[];
2890
- } | undefined;
2891
- redirection?: {
2892
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
2893
- channelId: string;
2894
- includeUser?: boolean | undefined;
2895
- } | {
2896
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
2897
- channelId: string;
2898
- includeUser?: boolean | undefined;
3359
+ redirection?: {
3360
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3361
+ channelId: string;
3362
+ includeUser?: boolean | undefined;
3363
+ } | {
3364
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3365
+ channelId: string;
3366
+ includeUser?: boolean | undefined;
3367
+ } | {
3368
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3369
+ channelId: string;
3370
+ includeUser?: boolean | undefined;
3371
+ } | undefined;
2899
3372
  } | undefined;
2900
3373
  rewards?: {
2901
3374
  minutes: number;
@@ -3130,6 +3603,43 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3130
3603
  actionLabel: string;
3131
3604
  }[] | undefined;
3132
3605
  }>>>;
3606
+ redirection: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3607
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
3608
+ channelId: z.ZodString;
3609
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3610
+ }, "strip", z.ZodTypeAny, {
3611
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3612
+ channelId: string;
3613
+ includeUser: boolean;
3614
+ }, {
3615
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3616
+ channelId: string;
3617
+ includeUser?: boolean | undefined;
3618
+ }>, z.ZodObject<{
3619
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
3620
+ channelId: z.ZodString;
3621
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3622
+ }, "strip", z.ZodTypeAny, {
3623
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3624
+ channelId: string;
3625
+ includeUser: boolean;
3626
+ }, {
3627
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3628
+ channelId: string;
3629
+ includeUser?: boolean | undefined;
3630
+ }>, z.ZodObject<{
3631
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
3632
+ channelId: z.ZodString;
3633
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3634
+ }, "strip", z.ZodTypeAny, {
3635
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3636
+ channelId: string;
3637
+ includeUser: boolean;
3638
+ }, {
3639
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3640
+ channelId: string;
3641
+ includeUser?: boolean | undefined;
3642
+ }>]>>>;
3133
3643
  fslStrategy: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["STANDARD"]>>>>;
3134
3644
  engagementChannelCids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3135
3645
  tone: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -3256,6 +3766,43 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3256
3766
  units?: string | undefined;
3257
3767
  }>;
3258
3768
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
3769
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3770
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
3771
+ channelId: z.ZodString;
3772
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3773
+ }, "strip", z.ZodTypeAny, {
3774
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3775
+ channelId: string;
3776
+ includeUser: boolean;
3777
+ }, {
3778
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3779
+ channelId: string;
3780
+ includeUser?: boolean | undefined;
3781
+ }>, z.ZodObject<{
3782
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
3783
+ channelId: z.ZodString;
3784
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3785
+ }, "strip", z.ZodTypeAny, {
3786
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3787
+ channelId: string;
3788
+ includeUser: boolean;
3789
+ }, {
3790
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3791
+ channelId: string;
3792
+ includeUser?: boolean | undefined;
3793
+ }>, z.ZodObject<{
3794
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
3795
+ channelId: z.ZodString;
3796
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3797
+ }, "strip", z.ZodTypeAny, {
3798
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3799
+ channelId: string;
3800
+ includeUser: boolean;
3801
+ }, {
3802
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3803
+ channelId: string;
3804
+ includeUser?: boolean | undefined;
3805
+ }>]>>;
3259
3806
  }, "strip", z.ZodTypeAny, {
3260
3807
  interval: {
3261
3808
  minutes: number;
@@ -3263,6 +3810,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3263
3810
  units?: string | undefined;
3264
3811
  };
3265
3812
  engagementChannelConnectorIds: string[];
3813
+ redirection?: {
3814
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3815
+ channelId: string;
3816
+ includeUser: boolean;
3817
+ } | {
3818
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3819
+ channelId: string;
3820
+ includeUser: boolean;
3821
+ } | {
3822
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3823
+ channelId: string;
3824
+ includeUser: boolean;
3825
+ } | undefined;
3266
3826
  }, {
3267
3827
  interval: {
3268
3828
  minutes: number;
@@ -3270,6 +3830,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3270
3830
  units?: string | undefined;
3271
3831
  };
3272
3832
  engagementChannelConnectorIds: string[];
3833
+ redirection?: {
3834
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3835
+ channelId: string;
3836
+ includeUser?: boolean | undefined;
3837
+ } | {
3838
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3839
+ channelId: string;
3840
+ includeUser?: boolean | undefined;
3841
+ } | {
3842
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3843
+ channelId: string;
3844
+ includeUser?: boolean | undefined;
3845
+ } | undefined;
3273
3846
  }>>>;
3274
3847
  escalationToManager: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3275
3848
  interval: z.ZodObject<{
@@ -3286,6 +3859,43 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3286
3859
  units?: string | undefined;
3287
3860
  }>;
3288
3861
  engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
3862
+ redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3863
+ kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
3864
+ channelId: z.ZodString;
3865
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3866
+ }, "strip", z.ZodTypeAny, {
3867
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3868
+ channelId: string;
3869
+ includeUser: boolean;
3870
+ }, {
3871
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3872
+ channelId: string;
3873
+ includeUser?: boolean | undefined;
3874
+ }>, z.ZodObject<{
3875
+ kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
3876
+ channelId: z.ZodString;
3877
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3878
+ }, "strip", z.ZodTypeAny, {
3879
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3880
+ channelId: string;
3881
+ includeUser: boolean;
3882
+ }, {
3883
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3884
+ channelId: string;
3885
+ includeUser?: boolean | undefined;
3886
+ }>, z.ZodObject<{
3887
+ kind: z.ZodLiteral<EngagementRedirectionKind.EMAIL_CHANNEL>;
3888
+ channelId: z.ZodString;
3889
+ includeUser: z.ZodDefault<z.ZodBoolean>;
3890
+ }, "strip", z.ZodTypeAny, {
3891
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3892
+ channelId: string;
3893
+ includeUser: boolean;
3894
+ }, {
3895
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3896
+ channelId: string;
3897
+ includeUser?: boolean | undefined;
3898
+ }>]>>;
3289
3899
  }, "strip", z.ZodTypeAny, {
3290
3900
  interval: {
3291
3901
  minutes: number;
@@ -3293,6 +3903,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3293
3903
  units?: string | undefined;
3294
3904
  };
3295
3905
  engagementChannelConnectorIds: string[];
3906
+ redirection?: {
3907
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3908
+ channelId: string;
3909
+ includeUser: boolean;
3910
+ } | {
3911
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3912
+ channelId: string;
3913
+ includeUser: boolean;
3914
+ } | {
3915
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3916
+ channelId: string;
3917
+ includeUser: boolean;
3918
+ } | undefined;
3296
3919
  }, {
3297
3920
  interval: {
3298
3921
  minutes: number;
@@ -3300,32 +3923,20 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3300
3923
  units?: string | undefined;
3301
3924
  };
3302
3925
  engagementChannelConnectorIds: string[];
3926
+ redirection?: {
3927
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3928
+ channelId: string;
3929
+ includeUser?: boolean | undefined;
3930
+ } | {
3931
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3932
+ channelId: string;
3933
+ includeUser?: boolean | undefined;
3934
+ } | {
3935
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3936
+ channelId: string;
3937
+ includeUser?: boolean | undefined;
3938
+ } | undefined;
3303
3939
  }>>>;
3304
- redirection: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3305
- kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
3306
- channelId: z.ZodString;
3307
- includeUser: z.ZodDefault<z.ZodBoolean>;
3308
- }, "strip", z.ZodTypeAny, {
3309
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
3310
- channelId: string;
3311
- includeUser: boolean;
3312
- }, {
3313
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
3314
- channelId: string;
3315
- includeUser?: boolean | undefined;
3316
- }>, z.ZodObject<{
3317
- kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
3318
- channelId: z.ZodString;
3319
- includeUser: z.ZodDefault<z.ZodBoolean>;
3320
- }, "strip", z.ZodTypeAny, {
3321
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3322
- channelId: string;
3323
- includeUser: boolean;
3324
- }, {
3325
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3326
- channelId: string;
3327
- includeUser?: boolean | undefined;
3328
- }>]>>>;
3329
3940
  rewards: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
3330
3941
  isUpperBound: z.ZodBoolean;
3331
3942
  points: z.ZodNumber;
@@ -3451,6 +4062,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3451
4062
  actionLabel: string;
3452
4063
  }[] | undefined;
3453
4064
  } | undefined;
4065
+ redirection?: {
4066
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
4067
+ channelId: string;
4068
+ includeUser: boolean;
4069
+ } | {
4070
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
4071
+ channelId: string;
4072
+ includeUser: boolean;
4073
+ } | {
4074
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
4075
+ channelId: string;
4076
+ includeUser: boolean;
4077
+ } | undefined;
3454
4078
  fslStrategy?: "STANDARD" | undefined;
3455
4079
  engagementChannelCids?: string[] | undefined;
3456
4080
  tone?: {
@@ -3495,6 +4119,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3495
4119
  units?: string | undefined;
3496
4120
  };
3497
4121
  engagementChannelConnectorIds: string[];
4122
+ redirection?: {
4123
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
4124
+ channelId: string;
4125
+ includeUser: boolean;
4126
+ } | {
4127
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
4128
+ channelId: string;
4129
+ includeUser: boolean;
4130
+ } | {
4131
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
4132
+ channelId: string;
4133
+ includeUser: boolean;
4134
+ } | undefined;
3498
4135
  } | undefined;
3499
4136
  escalationToManager?: {
3500
4137
  interval: {
@@ -3503,15 +4140,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3503
4140
  units?: string | undefined;
3504
4141
  };
3505
4142
  engagementChannelConnectorIds: string[];
3506
- } | undefined;
3507
- redirection?: {
3508
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
3509
- channelId: string;
3510
- includeUser: boolean;
3511
- } | {
3512
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3513
- channelId: string;
3514
- includeUser: boolean;
4143
+ redirection?: {
4144
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
4145
+ channelId: string;
4146
+ includeUser: boolean;
4147
+ } | {
4148
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
4149
+ channelId: string;
4150
+ includeUser: boolean;
4151
+ } | {
4152
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
4153
+ channelId: string;
4154
+ includeUser: boolean;
4155
+ } | undefined;
3515
4156
  } | undefined;
3516
4157
  rewards?: {
3517
4158
  minutes: number;
@@ -3593,6 +4234,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3593
4234
  actionLabel: string;
3594
4235
  }[] | undefined;
3595
4236
  } | undefined;
4237
+ redirection?: {
4238
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
4239
+ channelId: string;
4240
+ includeUser?: boolean | undefined;
4241
+ } | {
4242
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
4243
+ channelId: string;
4244
+ includeUser?: boolean | undefined;
4245
+ } | {
4246
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
4247
+ channelId: string;
4248
+ includeUser?: boolean | undefined;
4249
+ } | undefined;
3596
4250
  fslStrategy?: "STANDARD" | undefined;
3597
4251
  engagementChannelCids?: string[] | undefined;
3598
4252
  tone?: {
@@ -3637,6 +4291,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3637
4291
  units?: string | undefined;
3638
4292
  };
3639
4293
  engagementChannelConnectorIds: string[];
4294
+ redirection?: {
4295
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
4296
+ channelId: string;
4297
+ includeUser?: boolean | undefined;
4298
+ } | {
4299
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
4300
+ channelId: string;
4301
+ includeUser?: boolean | undefined;
4302
+ } | {
4303
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
4304
+ channelId: string;
4305
+ includeUser?: boolean | undefined;
4306
+ } | undefined;
3640
4307
  } | undefined;
3641
4308
  escalationToManager?: {
3642
4309
  interval: {
@@ -3645,15 +4312,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3645
4312
  units?: string | undefined;
3646
4313
  };
3647
4314
  engagementChannelConnectorIds: string[];
3648
- } | undefined;
3649
- redirection?: {
3650
- kind: EngagementRedirectionKind.SLACK_CHANNEL;
3651
- channelId: string;
3652
- includeUser?: boolean | undefined;
3653
- } | {
3654
- kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3655
- channelId: string;
3656
- includeUser?: boolean | undefined;
4315
+ redirection?: {
4316
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
4317
+ channelId: string;
4318
+ includeUser?: boolean | undefined;
4319
+ } | {
4320
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
4321
+ channelId: string;
4322
+ includeUser?: boolean | undefined;
4323
+ } | {
4324
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
4325
+ channelId: string;
4326
+ includeUser?: boolean | undefined;
4327
+ } | undefined;
3657
4328
  } | undefined;
3658
4329
  rewards?: {
3659
4330
  minutes: number;