@ampsec/platform-client 61.0.0 → 61.2.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.
@@ -33,46 +33,57 @@ export declare const _NotificationAddress: z.ZodObject<{
33
33
  users?: (string | number)[] | undefined;
34
34
  webhooks?: string[] | undefined;
35
35
  }>;
36
+ export declare const _FlowContextKey: z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>;
37
+ export declare const _FlowContext: z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>;
36
38
  export declare const _RawContentStrategy: z.ZodObject<{
37
39
  kind: z.ZodLiteral<ContentStrategyKind.RAW>;
38
40
  content: z.ZodString;
39
41
  subject: z.ZodOptional<z.ZodString>;
40
42
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
43
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
41
44
  }, "strip", z.ZodTypeAny, {
42
45
  kind: ContentStrategyKind.RAW;
43
46
  content: string;
44
47
  subject?: string | undefined;
45
48
  context?: Record<string, string> | undefined;
49
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
46
50
  }, {
47
51
  kind: ContentStrategyKind.RAW;
48
52
  content: string;
49
53
  subject?: string | undefined;
50
54
  context?: Record<string, string> | undefined;
55
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
51
56
  }>;
52
57
  export type RawContentStrategy = z.infer<typeof _RawContentStrategy>;
53
58
  export declare const _TemplateContentStrategy: z.ZodObject<{
54
59
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
55
60
  templateId: z.ZodString;
56
61
  context: z.ZodRecord<z.ZodString, z.ZodString>;
62
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
57
63
  }, "strip", z.ZodTypeAny, {
58
64
  kind: ContentStrategyKind.TEMPLATE;
59
65
  context: Record<string, string>;
60
66
  templateId: string;
67
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
61
68
  }, {
62
69
  kind: ContentStrategyKind.TEMPLATE;
63
70
  context: Record<string, string>;
64
71
  templateId: string;
72
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
65
73
  }>;
66
74
  export type TemplateContentStrategy = z.infer<typeof _TemplateContentStrategy>;
67
75
  export declare const _FindingContentStrategy: z.ZodObject<{
68
76
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
69
77
  fid: z.ZodString;
78
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
70
79
  }, "strip", z.ZodTypeAny, {
71
80
  kind: ContentStrategyKind.FINDING;
72
81
  fid: string;
82
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
73
83
  }, {
74
84
  kind: ContentStrategyKind.FINDING;
75
85
  fid: string;
86
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
76
87
  }>;
77
88
  export type FindingContentStrategy = z.infer<typeof _FindingContentStrategy>;
78
89
  export declare const _SlackDeliveryStrategy: z.ZodObject<{
@@ -149,37 +160,46 @@ export declare const _BaseNotificationUpsertDto: z.ZodObject<{
149
160
  content: z.ZodString;
150
161
  subject: z.ZodOptional<z.ZodString>;
151
162
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
163
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
152
164
  }, "strip", z.ZodTypeAny, {
153
165
  kind: ContentStrategyKind.RAW;
154
166
  content: string;
155
167
  subject?: string | undefined;
156
168
  context?: Record<string, string> | undefined;
169
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
157
170
  }, {
158
171
  kind: ContentStrategyKind.RAW;
159
172
  content: string;
160
173
  subject?: string | undefined;
161
174
  context?: Record<string, string> | undefined;
175
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
162
176
  }>, z.ZodObject<{
163
177
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
164
178
  fid: z.ZodString;
179
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
165
180
  }, "strip", z.ZodTypeAny, {
166
181
  kind: ContentStrategyKind.FINDING;
167
182
  fid: string;
183
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
168
184
  }, {
169
185
  kind: ContentStrategyKind.FINDING;
170
186
  fid: string;
187
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
171
188
  }>, z.ZodObject<{
172
189
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
173
190
  templateId: z.ZodString;
174
191
  context: z.ZodRecord<z.ZodString, z.ZodString>;
192
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
175
193
  }, "strip", z.ZodTypeAny, {
176
194
  kind: ContentStrategyKind.TEMPLATE;
177
195
  context: Record<string, string>;
178
196
  templateId: string;
197
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
179
198
  }, {
180
199
  kind: ContentStrategyKind.TEMPLATE;
181
200
  context: Record<string, string>;
182
201
  templateId: string;
202
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
183
203
  }>]>;
184
204
  fid: z.ZodOptional<z.ZodString>;
185
205
  uid: z.ZodOptional<z.ZodString>;
@@ -191,13 +211,16 @@ export declare const _BaseNotificationUpsertDto: z.ZodObject<{
191
211
  content: string;
192
212
  subject?: string | undefined;
193
213
  context?: Record<string, string> | undefined;
214
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
194
215
  } | {
195
216
  kind: ContentStrategyKind.TEMPLATE;
196
217
  context: Record<string, string>;
197
218
  templateId: string;
219
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
198
220
  } | {
199
221
  kind: ContentStrategyKind.FINDING;
200
222
  fid: string;
223
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
201
224
  };
202
225
  id?: string | undefined;
203
226
  createdAt?: string | undefined;
@@ -213,13 +236,16 @@ export declare const _BaseNotificationUpsertDto: z.ZodObject<{
213
236
  content: string;
214
237
  subject?: string | undefined;
215
238
  context?: Record<string, string> | undefined;
239
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
216
240
  } | {
217
241
  kind: ContentStrategyKind.TEMPLATE;
218
242
  context: Record<string, string>;
219
243
  templateId: string;
244
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
220
245
  } | {
221
246
  kind: ContentStrategyKind.FINDING;
222
247
  fid: string;
248
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
223
249
  };
224
250
  id?: string | undefined;
225
251
  createdAt?: string | undefined;
@@ -242,37 +268,46 @@ export declare const _SlackNotificationUpsertDto: z.ZodObject<{
242
268
  content: z.ZodString;
243
269
  subject: z.ZodOptional<z.ZodString>;
244
270
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
271
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
245
272
  }, "strip", z.ZodTypeAny, {
246
273
  kind: ContentStrategyKind.RAW;
247
274
  content: string;
248
275
  subject?: string | undefined;
249
276
  context?: Record<string, string> | undefined;
277
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
250
278
  }, {
251
279
  kind: ContentStrategyKind.RAW;
252
280
  content: string;
253
281
  subject?: string | undefined;
254
282
  context?: Record<string, string> | undefined;
283
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
255
284
  }>, z.ZodObject<{
256
285
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
257
286
  fid: z.ZodString;
287
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
258
288
  }, "strip", z.ZodTypeAny, {
259
289
  kind: ContentStrategyKind.FINDING;
260
290
  fid: string;
291
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
261
292
  }, {
262
293
  kind: ContentStrategyKind.FINDING;
263
294
  fid: string;
295
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
264
296
  }>, z.ZodObject<{
265
297
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
266
298
  templateId: z.ZodString;
267
299
  context: z.ZodRecord<z.ZodString, z.ZodString>;
300
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
268
301
  }, "strip", z.ZodTypeAny, {
269
302
  kind: ContentStrategyKind.TEMPLATE;
270
303
  context: Record<string, string>;
271
304
  templateId: string;
305
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
272
306
  }, {
273
307
  kind: ContentStrategyKind.TEMPLATE;
274
308
  context: Record<string, string>;
275
309
  templateId: string;
310
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
276
311
  }>]>;
277
312
  agentId: z.ZodOptional<z.ZodString>;
278
313
  deliveryChannel: z.ZodLiteral<DeliveryStrategyKind.SLACK>;
@@ -321,13 +356,16 @@ export declare const _SlackNotificationUpsertDto: z.ZodObject<{
321
356
  content: string;
322
357
  subject?: string | undefined;
323
358
  context?: Record<string, string> | undefined;
359
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
324
360
  } | {
325
361
  kind: ContentStrategyKind.TEMPLATE;
326
362
  context: Record<string, string>;
327
363
  templateId: string;
364
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
328
365
  } | {
329
366
  kind: ContentStrategyKind.FINDING;
330
367
  fid: string;
368
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
331
369
  };
332
370
  deliveryChannel: DeliveryStrategyKind.SLACK;
333
371
  deliveryStrategy: {
@@ -354,13 +392,16 @@ export declare const _SlackNotificationUpsertDto: z.ZodObject<{
354
392
  content: string;
355
393
  subject?: string | undefined;
356
394
  context?: Record<string, string> | undefined;
395
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
357
396
  } | {
358
397
  kind: ContentStrategyKind.TEMPLATE;
359
398
  context: Record<string, string>;
360
399
  templateId: string;
400
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
361
401
  } | {
362
402
  kind: ContentStrategyKind.FINDING;
363
403
  fid: string;
404
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
364
405
  };
365
406
  deliveryChannel: DeliveryStrategyKind.SLACK;
366
407
  deliveryStrategy: {
@@ -395,37 +436,46 @@ export declare const _EmailNotificationUpsertDto: z.ZodObject<{
395
436
  content: z.ZodString;
396
437
  subject: z.ZodOptional<z.ZodString>;
397
438
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
439
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
398
440
  }, "strip", z.ZodTypeAny, {
399
441
  kind: ContentStrategyKind.RAW;
400
442
  content: string;
401
443
  subject?: string | undefined;
402
444
  context?: Record<string, string> | undefined;
445
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
403
446
  }, {
404
447
  kind: ContentStrategyKind.RAW;
405
448
  content: string;
406
449
  subject?: string | undefined;
407
450
  context?: Record<string, string> | undefined;
451
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
408
452
  }>, z.ZodObject<{
409
453
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
410
454
  fid: z.ZodString;
455
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
411
456
  }, "strip", z.ZodTypeAny, {
412
457
  kind: ContentStrategyKind.FINDING;
413
458
  fid: string;
459
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
414
460
  }, {
415
461
  kind: ContentStrategyKind.FINDING;
416
462
  fid: string;
463
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
417
464
  }>, z.ZodObject<{
418
465
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
419
466
  templateId: z.ZodString;
420
467
  context: z.ZodRecord<z.ZodString, z.ZodString>;
468
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
421
469
  }, "strip", z.ZodTypeAny, {
422
470
  kind: ContentStrategyKind.TEMPLATE;
423
471
  context: Record<string, string>;
424
472
  templateId: string;
473
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
425
474
  }, {
426
475
  kind: ContentStrategyKind.TEMPLATE;
427
476
  context: Record<string, string>;
428
477
  templateId: string;
478
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
429
479
  }>]>;
430
480
  agentId: z.ZodOptional<z.ZodString>;
431
481
  deliveryChannel: z.ZodLiteral<DeliveryStrategyKind.EMAIL>;
@@ -459,13 +509,16 @@ export declare const _EmailNotificationUpsertDto: z.ZodObject<{
459
509
  content: string;
460
510
  subject?: string | undefined;
461
511
  context?: Record<string, string> | undefined;
512
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
462
513
  } | {
463
514
  kind: ContentStrategyKind.TEMPLATE;
464
515
  context: Record<string, string>;
465
516
  templateId: string;
517
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
466
518
  } | {
467
519
  kind: ContentStrategyKind.FINDING;
468
520
  fid: string;
521
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
469
522
  };
470
523
  deliveryChannel: DeliveryStrategyKind.EMAIL;
471
524
  deliveryStrategy: {
@@ -489,13 +542,16 @@ export declare const _EmailNotificationUpsertDto: z.ZodObject<{
489
542
  content: string;
490
543
  subject?: string | undefined;
491
544
  context?: Record<string, string> | undefined;
545
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
492
546
  } | {
493
547
  kind: ContentStrategyKind.TEMPLATE;
494
548
  context: Record<string, string>;
495
549
  templateId: string;
550
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
496
551
  } | {
497
552
  kind: ContentStrategyKind.FINDING;
498
553
  fid: string;
554
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
499
555
  };
500
556
  deliveryChannel: DeliveryStrategyKind.EMAIL;
501
557
  deliveryStrategy: {
@@ -527,37 +583,46 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
527
583
  content: z.ZodString;
528
584
  subject: z.ZodOptional<z.ZodString>;
529
585
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
586
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
530
587
  }, "strip", z.ZodTypeAny, {
531
588
  kind: ContentStrategyKind.RAW;
532
589
  content: string;
533
590
  subject?: string | undefined;
534
591
  context?: Record<string, string> | undefined;
592
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
535
593
  }, {
536
594
  kind: ContentStrategyKind.RAW;
537
595
  content: string;
538
596
  subject?: string | undefined;
539
597
  context?: Record<string, string> | undefined;
598
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
540
599
  }>, z.ZodObject<{
541
600
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
542
601
  fid: z.ZodString;
602
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
543
603
  }, "strip", z.ZodTypeAny, {
544
604
  kind: ContentStrategyKind.FINDING;
545
605
  fid: string;
606
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
546
607
  }, {
547
608
  kind: ContentStrategyKind.FINDING;
548
609
  fid: string;
610
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
549
611
  }>, z.ZodObject<{
550
612
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
551
613
  templateId: z.ZodString;
552
614
  context: z.ZodRecord<z.ZodString, z.ZodString>;
615
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
553
616
  }, "strip", z.ZodTypeAny, {
554
617
  kind: ContentStrategyKind.TEMPLATE;
555
618
  context: Record<string, string>;
556
619
  templateId: string;
620
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
557
621
  }, {
558
622
  kind: ContentStrategyKind.TEMPLATE;
559
623
  context: Record<string, string>;
560
624
  templateId: string;
625
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
561
626
  }>]>;
562
627
  agentId: z.ZodOptional<z.ZodString>;
563
628
  deliveryChannel: z.ZodLiteral<DeliveryStrategyKind.SLACK>;
@@ -606,13 +671,16 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
606
671
  content: string;
607
672
  subject?: string | undefined;
608
673
  context?: Record<string, string> | undefined;
674
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
609
675
  } | {
610
676
  kind: ContentStrategyKind.TEMPLATE;
611
677
  context: Record<string, string>;
612
678
  templateId: string;
679
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
613
680
  } | {
614
681
  kind: ContentStrategyKind.FINDING;
615
682
  fid: string;
683
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
616
684
  };
617
685
  deliveryChannel: DeliveryStrategyKind.SLACK;
618
686
  deliveryStrategy: {
@@ -639,13 +707,16 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
639
707
  content: string;
640
708
  subject?: string | undefined;
641
709
  context?: Record<string, string> | undefined;
710
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
642
711
  } | {
643
712
  kind: ContentStrategyKind.TEMPLATE;
644
713
  context: Record<string, string>;
645
714
  templateId: string;
715
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
646
716
  } | {
647
717
  kind: ContentStrategyKind.FINDING;
648
718
  fid: string;
719
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
649
720
  };
650
721
  deliveryChannel: DeliveryStrategyKind.SLACK;
651
722
  deliveryStrategy: {
@@ -678,37 +749,46 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
678
749
  content: z.ZodString;
679
750
  subject: z.ZodOptional<z.ZodString>;
680
751
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
752
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
681
753
  }, "strip", z.ZodTypeAny, {
682
754
  kind: ContentStrategyKind.RAW;
683
755
  content: string;
684
756
  subject?: string | undefined;
685
757
  context?: Record<string, string> | undefined;
758
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
686
759
  }, {
687
760
  kind: ContentStrategyKind.RAW;
688
761
  content: string;
689
762
  subject?: string | undefined;
690
763
  context?: Record<string, string> | undefined;
764
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
691
765
  }>, z.ZodObject<{
692
766
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
693
767
  fid: z.ZodString;
768
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
694
769
  }, "strip", z.ZodTypeAny, {
695
770
  kind: ContentStrategyKind.FINDING;
696
771
  fid: string;
772
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
697
773
  }, {
698
774
  kind: ContentStrategyKind.FINDING;
699
775
  fid: string;
776
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
700
777
  }>, z.ZodObject<{
701
778
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
702
779
  templateId: z.ZodString;
703
780
  context: z.ZodRecord<z.ZodString, z.ZodString>;
781
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
704
782
  }, "strip", z.ZodTypeAny, {
705
783
  kind: ContentStrategyKind.TEMPLATE;
706
784
  context: Record<string, string>;
707
785
  templateId: string;
786
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
708
787
  }, {
709
788
  kind: ContentStrategyKind.TEMPLATE;
710
789
  context: Record<string, string>;
711
790
  templateId: string;
791
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
712
792
  }>]>;
713
793
  agentId: z.ZodOptional<z.ZodString>;
714
794
  deliveryChannel: z.ZodLiteral<DeliveryStrategyKind.EMAIL>;
@@ -742,13 +822,16 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
742
822
  content: string;
743
823
  subject?: string | undefined;
744
824
  context?: Record<string, string> | undefined;
825
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
745
826
  } | {
746
827
  kind: ContentStrategyKind.TEMPLATE;
747
828
  context: Record<string, string>;
748
829
  templateId: string;
830
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
749
831
  } | {
750
832
  kind: ContentStrategyKind.FINDING;
751
833
  fid: string;
834
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
752
835
  };
753
836
  deliveryChannel: DeliveryStrategyKind.EMAIL;
754
837
  deliveryStrategy: {
@@ -772,13 +855,16 @@ export declare const _NotificationUpsertDto: z.ZodDiscriminatedUnion<"deliveryCh
772
855
  content: string;
773
856
  subject?: string | undefined;
774
857
  context?: Record<string, string> | undefined;
858
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
775
859
  } | {
776
860
  kind: ContentStrategyKind.TEMPLATE;
777
861
  context: Record<string, string>;
778
862
  templateId: string;
863
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
779
864
  } | {
780
865
  kind: ContentStrategyKind.FINDING;
781
866
  fid: string;
867
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
782
868
  };
783
869
  deliveryChannel: DeliveryStrategyKind.EMAIL;
784
870
  deliveryStrategy: {
@@ -810,37 +896,46 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
810
896
  content: z.ZodString;
811
897
  subject: z.ZodOptional<z.ZodString>;
812
898
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
899
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
813
900
  }, "strip", z.ZodTypeAny, {
814
901
  kind: ContentStrategyKind.RAW;
815
902
  content: string;
816
903
  subject?: string | undefined;
817
904
  context?: Record<string, string> | undefined;
905
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
818
906
  }, {
819
907
  kind: ContentStrategyKind.RAW;
820
908
  content: string;
821
909
  subject?: string | undefined;
822
910
  context?: Record<string, string> | undefined;
911
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
823
912
  }>, z.ZodObject<{
824
913
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
825
914
  fid: z.ZodString;
915
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
826
916
  }, "strip", z.ZodTypeAny, {
827
917
  kind: ContentStrategyKind.FINDING;
828
918
  fid: string;
919
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
829
920
  }, {
830
921
  kind: ContentStrategyKind.FINDING;
831
922
  fid: string;
923
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
832
924
  }>, z.ZodObject<{
833
925
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
834
926
  templateId: z.ZodString;
835
927
  context: z.ZodRecord<z.ZodString, z.ZodString>;
928
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
836
929
  }, "strip", z.ZodTypeAny, {
837
930
  kind: ContentStrategyKind.TEMPLATE;
838
931
  context: Record<string, string>;
839
932
  templateId: string;
933
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
840
934
  }, {
841
935
  kind: ContentStrategyKind.TEMPLATE;
842
936
  context: Record<string, string>;
843
937
  templateId: string;
938
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
844
939
  }>]>;
845
940
  agentId: z.ZodOptional<z.ZodString>;
846
941
  deliveryChannel: z.ZodLiteral<DeliveryStrategyKind.SLACK>;
@@ -889,13 +984,16 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
889
984
  content: string;
890
985
  subject?: string | undefined;
891
986
  context?: Record<string, string> | undefined;
987
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
892
988
  } | {
893
989
  kind: ContentStrategyKind.TEMPLATE;
894
990
  context: Record<string, string>;
895
991
  templateId: string;
992
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
896
993
  } | {
897
994
  kind: ContentStrategyKind.FINDING;
898
995
  fid: string;
996
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
899
997
  };
900
998
  deliveryChannel: DeliveryStrategyKind.SLACK;
901
999
  deliveryStrategy: {
@@ -922,13 +1020,16 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
922
1020
  content: string;
923
1021
  subject?: string | undefined;
924
1022
  context?: Record<string, string> | undefined;
1023
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
925
1024
  } | {
926
1025
  kind: ContentStrategyKind.TEMPLATE;
927
1026
  context: Record<string, string>;
928
1027
  templateId: string;
1028
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
929
1029
  } | {
930
1030
  kind: ContentStrategyKind.FINDING;
931
1031
  fid: string;
1032
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
932
1033
  };
933
1034
  deliveryChannel: DeliveryStrategyKind.SLACK;
934
1035
  deliveryStrategy: {
@@ -961,37 +1062,46 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
961
1062
  content: z.ZodString;
962
1063
  subject: z.ZodOptional<z.ZodString>;
963
1064
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1065
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
964
1066
  }, "strip", z.ZodTypeAny, {
965
1067
  kind: ContentStrategyKind.RAW;
966
1068
  content: string;
967
1069
  subject?: string | undefined;
968
1070
  context?: Record<string, string> | undefined;
1071
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
969
1072
  }, {
970
1073
  kind: ContentStrategyKind.RAW;
971
1074
  content: string;
972
1075
  subject?: string | undefined;
973
1076
  context?: Record<string, string> | undefined;
1077
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
974
1078
  }>, z.ZodObject<{
975
1079
  kind: z.ZodLiteral<ContentStrategyKind.FINDING>;
976
1080
  fid: z.ZodString;
1081
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
977
1082
  }, "strip", z.ZodTypeAny, {
978
1083
  kind: ContentStrategyKind.FINDING;
979
1084
  fid: string;
1085
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
980
1086
  }, {
981
1087
  kind: ContentStrategyKind.FINDING;
982
1088
  fid: string;
1089
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
983
1090
  }>, z.ZodObject<{
984
1091
  kind: z.ZodLiteral<ContentStrategyKind.TEMPLATE>;
985
1092
  templateId: z.ZodString;
986
1093
  context: z.ZodRecord<z.ZodString, z.ZodString>;
1094
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
987
1095
  }, "strip", z.ZodTypeAny, {
988
1096
  kind: ContentStrategyKind.TEMPLATE;
989
1097
  context: Record<string, string>;
990
1098
  templateId: string;
1099
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
991
1100
  }, {
992
1101
  kind: ContentStrategyKind.TEMPLATE;
993
1102
  context: Record<string, string>;
994
1103
  templateId: string;
1104
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
995
1105
  }>]>;
996
1106
  agentId: z.ZodOptional<z.ZodString>;
997
1107
  deliveryChannel: z.ZodLiteral<DeliveryStrategyKind.EMAIL>;
@@ -1025,13 +1135,16 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1025
1135
  content: string;
1026
1136
  subject?: string | undefined;
1027
1137
  context?: Record<string, string> | undefined;
1138
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1028
1139
  } | {
1029
1140
  kind: ContentStrategyKind.TEMPLATE;
1030
1141
  context: Record<string, string>;
1031
1142
  templateId: string;
1143
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1032
1144
  } | {
1033
1145
  kind: ContentStrategyKind.FINDING;
1034
1146
  fid: string;
1147
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1035
1148
  };
1036
1149
  deliveryChannel: DeliveryStrategyKind.EMAIL;
1037
1150
  deliveryStrategy: {
@@ -1055,13 +1168,16 @@ export declare const _NotificationDto: z.ZodIntersection<z.ZodDiscriminatedUnion
1055
1168
  content: string;
1056
1169
  subject?: string | undefined;
1057
1170
  context?: Record<string, string> | undefined;
1171
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1058
1172
  } | {
1059
1173
  kind: ContentStrategyKind.TEMPLATE;
1060
1174
  context: Record<string, string>;
1061
1175
  templateId: string;
1176
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1062
1177
  } | {
1063
1178
  kind: ContentStrategyKind.FINDING;
1064
1179
  fid: string;
1180
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1065
1181
  };
1066
1182
  deliveryChannel: DeliveryStrategyKind.EMAIL;
1067
1183
  deliveryStrategy: {
@@ -1107,16 +1223,19 @@ export declare const _CreateNotificationDto: z.ZodObject<{
1107
1223
  content: z.ZodString;
1108
1224
  subject: z.ZodOptional<z.ZodString>;
1109
1225
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1226
+ flowContext: z.ZodOptional<z.ZodRecord<z.ZodEnum<["TONE", "ACTION_GET_INSTRUCTIONS_ENABLED"]>, z.ZodAny>>;
1110
1227
  }, "strip", z.ZodTypeAny, {
1111
1228
  kind: ContentStrategyKind.RAW;
1112
1229
  content: string;
1113
1230
  subject?: string | undefined;
1114
1231
  context?: Record<string, string> | undefined;
1232
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1115
1233
  }, {
1116
1234
  kind: ContentStrategyKind.RAW;
1117
1235
  content: string;
1118
1236
  subject?: string | undefined;
1119
1237
  context?: Record<string, string> | undefined;
1238
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1120
1239
  }>;
1121
1240
  options: z.ZodObject<{
1122
1241
  copySecOpsTeam: z.ZodOptional<z.ZodBoolean>;
@@ -1138,6 +1257,7 @@ export declare const _CreateNotificationDto: z.ZodObject<{
1138
1257
  content: string;
1139
1258
  subject?: string | undefined;
1140
1259
  context?: Record<string, string> | undefined;
1260
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1141
1261
  };
1142
1262
  channel: DeliveryStrategyKind;
1143
1263
  id?: string | undefined;
@@ -1158,6 +1278,7 @@ export declare const _CreateNotificationDto: z.ZodObject<{
1158
1278
  content: string;
1159
1279
  subject?: string | undefined;
1160
1280
  context?: Record<string, string> | undefined;
1281
+ flowContext?: Partial<Record<"TONE" | "ACTION_GET_INSTRUCTIONS_ENABLED", any>> | undefined;
1161
1282
  };
1162
1283
  channel: DeliveryStrategyKind;
1163
1284
  id?: string | undefined;