@ampsec/platform-client 84.24.0 → 84.25.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.
@@ -315,6 +315,21 @@ export declare const _BaseNotificationUpsertDto: z.ZodObject<z.objectUtil.extend
315
315
  content: string;
316
316
  fid?: string | undefined;
317
317
  flowContext?: Record<string, any> | undefined;
318
+ }>, z.ZodObject<{
319
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
320
+ content: z.ZodString;
321
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
322
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ kind: ContentStrategyKind.MICROTRAINING;
325
+ content: string;
326
+ flowContext?: Record<string, any> | undefined;
327
+ microTrainingSubject?: string | undefined;
328
+ }, {
329
+ kind: ContentStrategyKind.MICROTRAINING;
330
+ content: string;
331
+ flowContext?: Record<string, any> | undefined;
332
+ microTrainingSubject?: string | undefined;
318
333
  }>]>;
319
334
  fid: z.ZodOptional<z.ZodString>;
320
335
  uid: z.ZodOptional<z.ZodString>;
@@ -346,6 +361,11 @@ export declare const _BaseNotificationUpsertDto: z.ZodObject<z.objectUtil.extend
346
361
  content: string;
347
362
  fid?: string | undefined;
348
363
  flowContext?: Record<string, any> | undefined;
364
+ } | {
365
+ kind: ContentStrategyKind.MICROTRAINING;
366
+ content: string;
367
+ flowContext?: Record<string, any> | undefined;
368
+ microTrainingSubject?: string | undefined;
349
369
  };
350
370
  id?: string | undefined;
351
371
  uid?: string | undefined;
@@ -381,6 +401,11 @@ export declare const _BaseNotificationUpsertDto: z.ZodObject<z.objectUtil.extend
381
401
  content: string;
382
402
  fid?: string | undefined;
383
403
  flowContext?: Record<string, any> | undefined;
404
+ } | {
405
+ kind: ContentStrategyKind.MICROTRAINING;
406
+ content: string;
407
+ flowContext?: Record<string, any> | undefined;
408
+ microTrainingSubject?: string | undefined;
384
409
  };
385
410
  id?: string | undefined;
386
411
  uid?: string | undefined;
@@ -464,6 +489,21 @@ export declare const _SlackNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
464
489
  content: string;
465
490
  fid?: string | undefined;
466
491
  flowContext?: Record<string, any> | undefined;
492
+ }>, z.ZodObject<{
493
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
494
+ content: z.ZodString;
495
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
496
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ kind: ContentStrategyKind.MICROTRAINING;
499
+ content: string;
500
+ flowContext?: Record<string, any> | undefined;
501
+ microTrainingSubject?: string | undefined;
502
+ }, {
503
+ kind: ContentStrategyKind.MICROTRAINING;
504
+ content: string;
505
+ flowContext?: Record<string, any> | undefined;
506
+ microTrainingSubject?: string | undefined;
467
507
  }>]>;
468
508
  fid: z.ZodOptional<z.ZodString>;
469
509
  uid: z.ZodOptional<z.ZodString>;
@@ -536,6 +576,11 @@ export declare const _SlackNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
536
576
  content: string;
537
577
  fid?: string | undefined;
538
578
  flowContext?: Record<string, any> | undefined;
579
+ } | {
580
+ kind: ContentStrategyKind.MICROTRAINING;
581
+ content: string;
582
+ flowContext?: Record<string, any> | undefined;
583
+ microTrainingSubject?: string | undefined;
539
584
  };
540
585
  deliveryChannel: DeliveryStrategyKind.SLACK;
541
586
  deliveryStrategy: {
@@ -582,6 +627,11 @@ export declare const _SlackNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
582
627
  content: string;
583
628
  fid?: string | undefined;
584
629
  flowContext?: Record<string, any> | undefined;
630
+ } | {
631
+ kind: ContentStrategyKind.MICROTRAINING;
632
+ content: string;
633
+ flowContext?: Record<string, any> | undefined;
634
+ microTrainingSubject?: string | undefined;
585
635
  };
586
636
  deliveryChannel: DeliveryStrategyKind.SLACK;
587
637
  deliveryStrategy: {
@@ -677,6 +727,21 @@ export declare const _EmailNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
677
727
  content: string;
678
728
  fid?: string | undefined;
679
729
  flowContext?: Record<string, any> | undefined;
730
+ }>, z.ZodObject<{
731
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
732
+ content: z.ZodString;
733
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
734
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
735
+ }, "strip", z.ZodTypeAny, {
736
+ kind: ContentStrategyKind.MICROTRAINING;
737
+ content: string;
738
+ flowContext?: Record<string, any> | undefined;
739
+ microTrainingSubject?: string | undefined;
740
+ }, {
741
+ kind: ContentStrategyKind.MICROTRAINING;
742
+ content: string;
743
+ flowContext?: Record<string, any> | undefined;
744
+ microTrainingSubject?: string | undefined;
680
745
  }>]>;
681
746
  fid: z.ZodOptional<z.ZodString>;
682
747
  uid: z.ZodOptional<z.ZodString>;
@@ -734,6 +799,11 @@ export declare const _EmailNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
734
799
  content: string;
735
800
  fid?: string | undefined;
736
801
  flowContext?: Record<string, any> | undefined;
802
+ } | {
803
+ kind: ContentStrategyKind.MICROTRAINING;
804
+ content: string;
805
+ flowContext?: Record<string, any> | undefined;
806
+ microTrainingSubject?: string | undefined;
737
807
  };
738
808
  deliveryChannel: DeliveryStrategyKind.EMAIL;
739
809
  deliveryStrategy: {
@@ -777,6 +847,11 @@ export declare const _EmailNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
777
847
  content: string;
778
848
  fid?: string | undefined;
779
849
  flowContext?: Record<string, any> | undefined;
850
+ } | {
851
+ kind: ContentStrategyKind.MICROTRAINING;
852
+ content: string;
853
+ flowContext?: Record<string, any> | undefined;
854
+ microTrainingSubject?: string | undefined;
780
855
  };
781
856
  deliveryChannel: DeliveryStrategyKind.EMAIL;
782
857
  deliveryStrategy: {
@@ -869,6 +944,21 @@ export declare const _TeamsNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
869
944
  content: string;
870
945
  fid?: string | undefined;
871
946
  flowContext?: Record<string, any> | undefined;
947
+ }>, z.ZodObject<{
948
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
949
+ content: z.ZodString;
950
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
951
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ kind: ContentStrategyKind.MICROTRAINING;
954
+ content: string;
955
+ flowContext?: Record<string, any> | undefined;
956
+ microTrainingSubject?: string | undefined;
957
+ }, {
958
+ kind: ContentStrategyKind.MICROTRAINING;
959
+ content: string;
960
+ flowContext?: Record<string, any> | undefined;
961
+ microTrainingSubject?: string | undefined;
872
962
  }>]>;
873
963
  fid: z.ZodOptional<z.ZodString>;
874
964
  uid: z.ZodOptional<z.ZodString>;
@@ -933,6 +1023,11 @@ export declare const _TeamsNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
933
1023
  content: string;
934
1024
  fid?: string | undefined;
935
1025
  flowContext?: Record<string, any> | undefined;
1026
+ } | {
1027
+ kind: ContentStrategyKind.MICROTRAINING;
1028
+ content: string;
1029
+ flowContext?: Record<string, any> | undefined;
1030
+ microTrainingSubject?: string | undefined;
936
1031
  };
937
1032
  deliveryChannel: DeliveryStrategyKind.TEAMS;
938
1033
  deliveryStrategy: {
@@ -977,6 +1072,11 @@ export declare const _TeamsNotificationUpsertDto: z.ZodObject<z.objectUtil.exten
977
1072
  content: string;
978
1073
  fid?: string | undefined;
979
1074
  flowContext?: Record<string, any> | undefined;
1075
+ } | {
1076
+ kind: ContentStrategyKind.MICROTRAINING;
1077
+ content: string;
1078
+ flowContext?: Record<string, any> | undefined;
1079
+ microTrainingSubject?: string | undefined;
980
1080
  };
981
1081
  deliveryChannel: DeliveryStrategyKind.TEAMS;
982
1082
  deliveryStrategy: {
@@ -1070,6 +1170,21 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1070
1170
  content: string;
1071
1171
  fid?: string | undefined;
1072
1172
  flowContext?: Record<string, any> | undefined;
1173
+ }>, z.ZodObject<{
1174
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
1175
+ content: z.ZodString;
1176
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
1177
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ kind: ContentStrategyKind.MICROTRAINING;
1180
+ content: string;
1181
+ flowContext?: Record<string, any> | undefined;
1182
+ microTrainingSubject?: string | undefined;
1183
+ }, {
1184
+ kind: ContentStrategyKind.MICROTRAINING;
1185
+ content: string;
1186
+ flowContext?: Record<string, any> | undefined;
1187
+ microTrainingSubject?: string | undefined;
1073
1188
  }>]>;
1074
1189
  fid: z.ZodOptional<z.ZodString>;
1075
1190
  uid: z.ZodOptional<z.ZodString>;
@@ -1142,6 +1257,11 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1142
1257
  content: string;
1143
1258
  fid?: string | undefined;
1144
1259
  flowContext?: Record<string, any> | undefined;
1260
+ } | {
1261
+ kind: ContentStrategyKind.MICROTRAINING;
1262
+ content: string;
1263
+ flowContext?: Record<string, any> | undefined;
1264
+ microTrainingSubject?: string | undefined;
1145
1265
  };
1146
1266
  deliveryChannel: DeliveryStrategyKind.SLACK;
1147
1267
  deliveryStrategy: {
@@ -1188,6 +1308,11 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1188
1308
  content: string;
1189
1309
  fid?: string | undefined;
1190
1310
  flowContext?: Record<string, any> | undefined;
1311
+ } | {
1312
+ kind: ContentStrategyKind.MICROTRAINING;
1313
+ content: string;
1314
+ flowContext?: Record<string, any> | undefined;
1315
+ microTrainingSubject?: string | undefined;
1191
1316
  };
1192
1317
  deliveryChannel: DeliveryStrategyKind.SLACK;
1193
1318
  deliveryStrategy: {
@@ -1281,6 +1406,21 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1281
1406
  content: string;
1282
1407
  fid?: string | undefined;
1283
1408
  flowContext?: Record<string, any> | undefined;
1409
+ }>, z.ZodObject<{
1410
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
1411
+ content: z.ZodString;
1412
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
1413
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ kind: ContentStrategyKind.MICROTRAINING;
1416
+ content: string;
1417
+ flowContext?: Record<string, any> | undefined;
1418
+ microTrainingSubject?: string | undefined;
1419
+ }, {
1420
+ kind: ContentStrategyKind.MICROTRAINING;
1421
+ content: string;
1422
+ flowContext?: Record<string, any> | undefined;
1423
+ microTrainingSubject?: string | undefined;
1284
1424
  }>]>;
1285
1425
  fid: z.ZodOptional<z.ZodString>;
1286
1426
  uid: z.ZodOptional<z.ZodString>;
@@ -1338,6 +1478,11 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1338
1478
  content: string;
1339
1479
  fid?: string | undefined;
1340
1480
  flowContext?: Record<string, any> | undefined;
1481
+ } | {
1482
+ kind: ContentStrategyKind.MICROTRAINING;
1483
+ content: string;
1484
+ flowContext?: Record<string, any> | undefined;
1485
+ microTrainingSubject?: string | undefined;
1341
1486
  };
1342
1487
  deliveryChannel: DeliveryStrategyKind.EMAIL;
1343
1488
  deliveryStrategy: {
@@ -1381,6 +1526,11 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1381
1526
  content: string;
1382
1527
  fid?: string | undefined;
1383
1528
  flowContext?: Record<string, any> | undefined;
1529
+ } | {
1530
+ kind: ContentStrategyKind.MICROTRAINING;
1531
+ content: string;
1532
+ flowContext?: Record<string, any> | undefined;
1533
+ microTrainingSubject?: string | undefined;
1384
1534
  };
1385
1535
  deliveryChannel: DeliveryStrategyKind.EMAIL;
1386
1536
  deliveryStrategy: {
@@ -1471,6 +1621,21 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1471
1621
  content: string;
1472
1622
  fid?: string | undefined;
1473
1623
  flowContext?: Record<string, any> | undefined;
1624
+ }>, z.ZodObject<{
1625
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
1626
+ content: z.ZodString;
1627
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
1628
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ kind: ContentStrategyKind.MICROTRAINING;
1631
+ content: string;
1632
+ flowContext?: Record<string, any> | undefined;
1633
+ microTrainingSubject?: string | undefined;
1634
+ }, {
1635
+ kind: ContentStrategyKind.MICROTRAINING;
1636
+ content: string;
1637
+ flowContext?: Record<string, any> | undefined;
1638
+ microTrainingSubject?: string | undefined;
1474
1639
  }>]>;
1475
1640
  fid: z.ZodOptional<z.ZodString>;
1476
1641
  uid: z.ZodOptional<z.ZodString>;
@@ -1535,6 +1700,11 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1535
1700
  content: string;
1536
1701
  fid?: string | undefined;
1537
1702
  flowContext?: Record<string, any> | undefined;
1703
+ } | {
1704
+ kind: ContentStrategyKind.MICROTRAINING;
1705
+ content: string;
1706
+ flowContext?: Record<string, any> | undefined;
1707
+ microTrainingSubject?: string | undefined;
1538
1708
  };
1539
1709
  deliveryChannel: DeliveryStrategyKind.TEAMS;
1540
1710
  deliveryStrategy: {
@@ -1579,6 +1749,11 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
1579
1749
  content: string;
1580
1750
  fid?: string | undefined;
1581
1751
  flowContext?: Record<string, any> | undefined;
1752
+ } | {
1753
+ kind: ContentStrategyKind.MICROTRAINING;
1754
+ content: string;
1755
+ flowContext?: Record<string, any> | undefined;
1756
+ microTrainingSubject?: string | undefined;
1582
1757
  };
1583
1758
  deliveryChannel: DeliveryStrategyKind.TEAMS;
1584
1759
  deliveryStrategy: {
@@ -1672,6 +1847,21 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1672
1847
  content: string;
1673
1848
  fid?: string | undefined;
1674
1849
  flowContext?: Record<string, any> | undefined;
1850
+ }>, z.ZodObject<{
1851
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
1852
+ content: z.ZodString;
1853
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
1854
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ kind: ContentStrategyKind.MICROTRAINING;
1857
+ content: string;
1858
+ flowContext?: Record<string, any> | undefined;
1859
+ microTrainingSubject?: string | undefined;
1860
+ }, {
1861
+ kind: ContentStrategyKind.MICROTRAINING;
1862
+ content: string;
1863
+ flowContext?: Record<string, any> | undefined;
1864
+ microTrainingSubject?: string | undefined;
1675
1865
  }>]>;
1676
1866
  fid: z.ZodOptional<z.ZodString>;
1677
1867
  uid: z.ZodOptional<z.ZodString>;
@@ -1744,6 +1934,11 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1744
1934
  content: string;
1745
1935
  fid?: string | undefined;
1746
1936
  flowContext?: Record<string, any> | undefined;
1937
+ } | {
1938
+ kind: ContentStrategyKind.MICROTRAINING;
1939
+ content: string;
1940
+ flowContext?: Record<string, any> | undefined;
1941
+ microTrainingSubject?: string | undefined;
1747
1942
  };
1748
1943
  deliveryChannel: DeliveryStrategyKind.SLACK;
1749
1944
  deliveryStrategy: {
@@ -1790,6 +1985,11 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1790
1985
  content: string;
1791
1986
  fid?: string | undefined;
1792
1987
  flowContext?: Record<string, any> | undefined;
1988
+ } | {
1989
+ kind: ContentStrategyKind.MICROTRAINING;
1990
+ content: string;
1991
+ flowContext?: Record<string, any> | undefined;
1992
+ microTrainingSubject?: string | undefined;
1793
1993
  };
1794
1994
  deliveryChannel: DeliveryStrategyKind.SLACK;
1795
1995
  deliveryStrategy: {
@@ -1883,6 +2083,21 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1883
2083
  content: string;
1884
2084
  fid?: string | undefined;
1885
2085
  flowContext?: Record<string, any> | undefined;
2086
+ }>, z.ZodObject<{
2087
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
2088
+ content: z.ZodString;
2089
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
2090
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2091
+ }, "strip", z.ZodTypeAny, {
2092
+ kind: ContentStrategyKind.MICROTRAINING;
2093
+ content: string;
2094
+ flowContext?: Record<string, any> | undefined;
2095
+ microTrainingSubject?: string | undefined;
2096
+ }, {
2097
+ kind: ContentStrategyKind.MICROTRAINING;
2098
+ content: string;
2099
+ flowContext?: Record<string, any> | undefined;
2100
+ microTrainingSubject?: string | undefined;
1886
2101
  }>]>;
1887
2102
  fid: z.ZodOptional<z.ZodString>;
1888
2103
  uid: z.ZodOptional<z.ZodString>;
@@ -1940,6 +2155,11 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1940
2155
  content: string;
1941
2156
  fid?: string | undefined;
1942
2157
  flowContext?: Record<string, any> | undefined;
2158
+ } | {
2159
+ kind: ContentStrategyKind.MICROTRAINING;
2160
+ content: string;
2161
+ flowContext?: Record<string, any> | undefined;
2162
+ microTrainingSubject?: string | undefined;
1943
2163
  };
1944
2164
  deliveryChannel: DeliveryStrategyKind.EMAIL;
1945
2165
  deliveryStrategy: {
@@ -1983,6 +2203,11 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1983
2203
  content: string;
1984
2204
  fid?: string | undefined;
1985
2205
  flowContext?: Record<string, any> | undefined;
2206
+ } | {
2207
+ kind: ContentStrategyKind.MICROTRAINING;
2208
+ content: string;
2209
+ flowContext?: Record<string, any> | undefined;
2210
+ microTrainingSubject?: string | undefined;
1986
2211
  };
1987
2212
  deliveryChannel: DeliveryStrategyKind.EMAIL;
1988
2213
  deliveryStrategy: {
@@ -2073,6 +2298,21 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
2073
2298
  content: string;
2074
2299
  fid?: string | undefined;
2075
2300
  flowContext?: Record<string, any> | undefined;
2301
+ }>, z.ZodObject<{
2302
+ kind: z.ZodLiteral<ContentStrategyKind.MICROTRAINING>;
2303
+ content: z.ZodString;
2304
+ microTrainingSubject: z.ZodOptional<z.ZodString>;
2305
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2306
+ }, "strip", z.ZodTypeAny, {
2307
+ kind: ContentStrategyKind.MICROTRAINING;
2308
+ content: string;
2309
+ flowContext?: Record<string, any> | undefined;
2310
+ microTrainingSubject?: string | undefined;
2311
+ }, {
2312
+ kind: ContentStrategyKind.MICROTRAINING;
2313
+ content: string;
2314
+ flowContext?: Record<string, any> | undefined;
2315
+ microTrainingSubject?: string | undefined;
2076
2316
  }>]>;
2077
2317
  fid: z.ZodOptional<z.ZodString>;
2078
2318
  uid: z.ZodOptional<z.ZodString>;
@@ -2137,6 +2377,11 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
2137
2377
  content: string;
2138
2378
  fid?: string | undefined;
2139
2379
  flowContext?: Record<string, any> | undefined;
2380
+ } | {
2381
+ kind: ContentStrategyKind.MICROTRAINING;
2382
+ content: string;
2383
+ flowContext?: Record<string, any> | undefined;
2384
+ microTrainingSubject?: string | undefined;
2140
2385
  };
2141
2386
  deliveryChannel: DeliveryStrategyKind.TEAMS;
2142
2387
  deliveryStrategy: {
@@ -2181,6 +2426,11 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
2181
2426
  content: string;
2182
2427
  fid?: string | undefined;
2183
2428
  flowContext?: Record<string, any> | undefined;
2429
+ } | {
2430
+ kind: ContentStrategyKind.MICROTRAINING;
2431
+ content: string;
2432
+ flowContext?: Record<string, any> | undefined;
2433
+ microTrainingSubject?: string | undefined;
2184
2434
  };
2185
2435
  deliveryChannel: DeliveryStrategyKind.TEAMS;
2186
2436
  deliveryStrategy: {
@@ -125,7 +125,7 @@ exports._EmailDeliveryStrategy = _BaseDeliveryStrategy.merge(zod_1.z.object({
125
125
  exports._BaseNotificationUpsertDto = base_dto_1._BaseUpsertDto.merge(zod_1.z.object({
126
126
  status: zod_1.z.nativeEnum(NotificationStatus),
127
127
  // TODO when will this happen? or will it happen at all? https://github.com/colinhacks/zod/issues/2106 🤷‍♂️
128
- contentStrategy: zod_1.z.discriminatedUnion('kind', [exports._RawContentStrategy, exports._FindingContentStrategy, exports._TemplateContentStrategy, exports._CustomContentStrategy]),
128
+ contentStrategy: zod_1.z.discriminatedUnion('kind', [exports._RawContentStrategy, exports._FindingContentStrategy, exports._TemplateContentStrategy, exports._CustomContentStrategy, exports._MicrotrainingContentStrategy]),
129
129
  fid: zod_1.z.string().optional(),
130
130
  uid: zod_1.z.string().optional(),
131
131
  agentId: zod_1.z.string().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"notification.dto.js","sourceRoot":"","sources":["../../../src/dto/notification.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAA6D;AAE7D,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,mCAAa,CAAA;IACb,mCAAa,CAAA;AACf,CAAC,EANW,kBAAkB,kCAAlB,kBAAkB,QAM7B;AAED,IAAY,uBAaX;AAbD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,wEAAwE;IACxE,wCAAa,CAAA;IACb,sEAA2C,CAA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  "runkitExampleFilename": "example/main.js",
@@ -149,7 +149,7 @@ export const _BaseNotificationUpsertDto = _BaseUpsertDto.merge(
149
149
  z.object({
150
150
  status: z.nativeEnum(NotificationStatus),
151
151
  // TODO when will this happen? or will it happen at all? https://github.com/colinhacks/zod/issues/2106 🤷‍♂️
152
- contentStrategy: z.discriminatedUnion('kind', [_RawContentStrategy, _FindingContentStrategy, _TemplateContentStrategy, _CustomContentStrategy]),
152
+ contentStrategy: z.discriminatedUnion('kind', [_RawContentStrategy, _FindingContentStrategy, _TemplateContentStrategy, _CustomContentStrategy, _MicrotrainingContentStrategy]),
153
153
  fid: z.string().optional(),
154
154
  uid: z.string().optional(),
155
155
  agentId: z.string().optional(),