@ampsec/platform-client 87.6.0 → 87.7.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.
@@ -930,6 +930,42 @@ export declare const _FlowInterval: z.ZodObject<{
930
930
  units?: string | undefined;
931
931
  }>;
932
932
  export type FlowInterval = z.infer<typeof _FlowInterval>;
933
+ export declare enum ReminderStrategyKind {
934
+ OFFICE_HOURS_ANY = "OFFICE_HOURS_ANY",
935
+ OFFICE_HOURS_ANCHORED_AM = "OFFICE_HOURS_ANCHORED_AM",
936
+ OFFICE_HOURS_ANCHORED_PM = "OFFICE_HOURS_ANCHORED_PM"
937
+ }
938
+ export declare const _ReminderStrategy: z.ZodObject<{
939
+ kind: z.ZodDefault<z.ZodNativeEnum<typeof ReminderStrategyKind>>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ kind: ReminderStrategyKind;
942
+ }, {
943
+ kind?: ReminderStrategyKind | undefined;
944
+ }>;
945
+ export type ReminderStrategy = z.infer<typeof _ReminderStrategy>;
946
+ export declare enum ReminderPresenceProviderKind {
947
+ SLACK = "SLACK",
948
+ TEAMS = "TEAMS"
949
+ }
950
+ export declare enum ReminderBusyBehaviorKind {
951
+ DEFER = "DEFER",
952
+ DO_NOT_DEFER = "DO_NOT_DEFER"
953
+ }
954
+ export declare const _ReminderPresenceConfig: z.ZodObject<{
955
+ provider: z.ZodOptional<z.ZodNativeEnum<typeof ReminderPresenceProviderKind>>;
956
+ busyBehavior: z.ZodDefault<z.ZodNativeEnum<typeof ReminderBusyBehaviorKind>>;
957
+ /** If false, runtime status gates should pass-through for this flow spec. */
958
+ statusCheckEnabled: z.ZodOptional<z.ZodBoolean>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ busyBehavior: ReminderBusyBehaviorKind;
961
+ provider?: ReminderPresenceProviderKind | undefined;
962
+ statusCheckEnabled?: boolean | undefined;
963
+ }, {
964
+ provider?: ReminderPresenceProviderKind | undefined;
965
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
966
+ statusCheckEnabled?: boolean | undefined;
967
+ }>;
968
+ export type ReminderPresenceConfig = z.infer<typeof _ReminderPresenceConfig>;
933
969
  export declare const _FlowActionButton: z.ZodObject<{
934
970
  id: z.ZodString;
935
971
  actions: z.ZodArray<z.ZodObject<{
@@ -1519,6 +1555,16 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1519
1555
  value?: number | undefined;
1520
1556
  units?: string | undefined;
1521
1557
  }>>;
1558
+ skipWaitingPeriod: z.ZodOptional<z.ZodObject<{
1559
+ enabled: z.ZodBoolean;
1560
+ ignoreBusinessHours: z.ZodDefault<z.ZodBoolean>;
1561
+ }, "strip", z.ZodTypeAny, {
1562
+ enabled: boolean;
1563
+ ignoreBusinessHours: boolean;
1564
+ }, {
1565
+ enabled: boolean;
1566
+ ignoreBusinessHours?: boolean | undefined;
1567
+ }>>;
1522
1568
  training: z.ZodOptional<z.ZodObject<{
1523
1569
  subject: z.ZodOptional<z.ZodString>;
1524
1570
  context: z.ZodOptional<z.ZodString>;
@@ -1605,6 +1651,27 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1605
1651
  value?: number | undefined;
1606
1652
  units?: string | undefined;
1607
1653
  }>>;
1654
+ reminderStrategy: z.ZodOptional<z.ZodObject<{
1655
+ kind: z.ZodDefault<z.ZodNativeEnum<typeof ReminderStrategyKind>>;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ kind: ReminderStrategyKind;
1658
+ }, {
1659
+ kind?: ReminderStrategyKind | undefined;
1660
+ }>>;
1661
+ reminderPresence: z.ZodOptional<z.ZodObject<{
1662
+ provider: z.ZodOptional<z.ZodNativeEnum<typeof ReminderPresenceProviderKind>>;
1663
+ busyBehavior: z.ZodDefault<z.ZodNativeEnum<typeof ReminderBusyBehaviorKind>>;
1664
+ /** If false, runtime status gates should pass-through for this flow spec. */
1665
+ statusCheckEnabled: z.ZodOptional<z.ZodBoolean>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ busyBehavior: ReminderBusyBehaviorKind;
1668
+ provider?: ReminderPresenceProviderKind | undefined;
1669
+ statusCheckEnabled?: boolean | undefined;
1670
+ }, {
1671
+ provider?: ReminderPresenceProviderKind | undefined;
1672
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
1673
+ statusCheckEnabled?: boolean | undefined;
1674
+ }>>;
1608
1675
  actions: z.ZodOptional<z.ZodObject<{
1609
1676
  /** @deprecated */
1610
1677
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
@@ -2271,6 +2338,10 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2271
2338
  value?: number | undefined;
2272
2339
  units?: string | undefined;
2273
2340
  } | undefined;
2341
+ skipWaitingPeriod?: {
2342
+ enabled: boolean;
2343
+ ignoreBusinessHours: boolean;
2344
+ } | undefined;
2274
2345
  training?: {
2275
2346
  context?: string | undefined;
2276
2347
  subject?: string | undefined;
@@ -2295,6 +2366,14 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2295
2366
  value?: number | undefined;
2296
2367
  units?: string | undefined;
2297
2368
  } | undefined;
2369
+ reminderStrategy?: {
2370
+ kind: ReminderStrategyKind;
2371
+ } | undefined;
2372
+ reminderPresence?: {
2373
+ busyBehavior: ReminderBusyBehaviorKind;
2374
+ provider?: ReminderPresenceProviderKind | undefined;
2375
+ statusCheckEnabled?: boolean | undefined;
2376
+ } | undefined;
2298
2377
  escalation?: {
2299
2378
  interval: {
2300
2379
  minutes: number;
@@ -2478,6 +2557,10 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2478
2557
  value?: number | undefined;
2479
2558
  units?: string | undefined;
2480
2559
  } | undefined;
2560
+ skipWaitingPeriod?: {
2561
+ enabled: boolean;
2562
+ ignoreBusinessHours?: boolean | undefined;
2563
+ } | undefined;
2481
2564
  training?: {
2482
2565
  context?: string | undefined;
2483
2566
  subject?: string | undefined;
@@ -2502,6 +2585,14 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2502
2585
  value?: number | undefined;
2503
2586
  units?: string | undefined;
2504
2587
  } | undefined;
2588
+ reminderStrategy?: {
2589
+ kind?: ReminderStrategyKind | undefined;
2590
+ } | undefined;
2591
+ reminderPresence?: {
2592
+ provider?: ReminderPresenceProviderKind | undefined;
2593
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
2594
+ statusCheckEnabled?: boolean | undefined;
2595
+ } | undefined;
2505
2596
  escalation?: {
2506
2597
  interval: {
2507
2598
  minutes: number;
@@ -2579,7 +2670,7 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2579
2670
  } | undefined;
2580
2671
  }>;
2581
2672
  export type FlowSpecDto = z.infer<typeof _FlowSpecDto>;
2582
- export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
2673
+ export declare const _FlowSpecUpsertDto: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
2583
2674
  id: z.ZodString;
2584
2675
  createdAt: z.ZodString;
2585
2676
  updatedAt: z.ZodString;
@@ -2701,6 +2792,16 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2701
2792
  value?: number | undefined;
2702
2793
  units?: string | undefined;
2703
2794
  }>>;
2795
+ skipWaitingPeriod: z.ZodOptional<z.ZodObject<{
2796
+ enabled: z.ZodBoolean;
2797
+ ignoreBusinessHours: z.ZodDefault<z.ZodBoolean>;
2798
+ }, "strip", z.ZodTypeAny, {
2799
+ enabled: boolean;
2800
+ ignoreBusinessHours: boolean;
2801
+ }, {
2802
+ enabled: boolean;
2803
+ ignoreBusinessHours?: boolean | undefined;
2804
+ }>>;
2704
2805
  training: z.ZodOptional<z.ZodObject<{
2705
2806
  subject: z.ZodOptional<z.ZodString>;
2706
2807
  context: z.ZodOptional<z.ZodString>;
@@ -2787,6 +2888,27 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2787
2888
  value?: number | undefined;
2788
2889
  units?: string | undefined;
2789
2890
  }>>;
2891
+ reminderStrategy: z.ZodOptional<z.ZodObject<{
2892
+ kind: z.ZodDefault<z.ZodNativeEnum<typeof ReminderStrategyKind>>;
2893
+ }, "strip", z.ZodTypeAny, {
2894
+ kind: ReminderStrategyKind;
2895
+ }, {
2896
+ kind?: ReminderStrategyKind | undefined;
2897
+ }>>;
2898
+ reminderPresence: z.ZodOptional<z.ZodObject<{
2899
+ provider: z.ZodOptional<z.ZodNativeEnum<typeof ReminderPresenceProviderKind>>;
2900
+ busyBehavior: z.ZodDefault<z.ZodNativeEnum<typeof ReminderBusyBehaviorKind>>;
2901
+ /** If false, runtime status gates should pass-through for this flow spec. */
2902
+ statusCheckEnabled: z.ZodOptional<z.ZodBoolean>;
2903
+ }, "strip", z.ZodTypeAny, {
2904
+ busyBehavior: ReminderBusyBehaviorKind;
2905
+ provider?: ReminderPresenceProviderKind | undefined;
2906
+ statusCheckEnabled?: boolean | undefined;
2907
+ }, {
2908
+ provider?: ReminderPresenceProviderKind | undefined;
2909
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
2910
+ statusCheckEnabled?: boolean | undefined;
2911
+ }>>;
2790
2912
  actions: z.ZodOptional<z.ZodObject<{
2791
2913
  /** @deprecated */
2792
2914
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
@@ -3458,6 +3580,432 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
3458
3580
  value?: number | undefined;
3459
3581
  units?: string | undefined;
3460
3582
  } | undefined;
3583
+ skipWaitingPeriod?: {
3584
+ enabled: boolean;
3585
+ ignoreBusinessHours: boolean;
3586
+ } | undefined;
3587
+ training?: {
3588
+ context?: string | undefined;
3589
+ subject?: string | undefined;
3590
+ } | undefined;
3591
+ triage?: {
3592
+ message: string;
3593
+ yesAction: {
3594
+ actionId: string | null;
3595
+ findingStatus?: FindingStatus | null | undefined;
3596
+ responseMessage?: string | undefined;
3597
+ actionDescriptionContext?: string | undefined;
3598
+ };
3599
+ noAction: {
3600
+ actionId: string | null;
3601
+ findingStatus?: FindingStatus | null | undefined;
3602
+ responseMessage?: string | undefined;
3603
+ actionDescriptionContext?: string | undefined;
3604
+ };
3605
+ } | undefined;
3606
+ reminderInterval?: {
3607
+ minutes: number;
3608
+ value?: number | undefined;
3609
+ units?: string | undefined;
3610
+ } | undefined;
3611
+ reminderStrategy?: {
3612
+ kind: ReminderStrategyKind;
3613
+ } | undefined;
3614
+ reminderPresence?: {
3615
+ busyBehavior: ReminderBusyBehaviorKind;
3616
+ provider?: ReminderPresenceProviderKind | undefined;
3617
+ statusCheckEnabled?: boolean | undefined;
3618
+ } | undefined;
3619
+ escalation?: {
3620
+ interval: {
3621
+ minutes: number;
3622
+ value?: number | undefined;
3623
+ units?: string | undefined;
3624
+ };
3625
+ engagementChannelConnectorIds: string[];
3626
+ redirection?: {
3627
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3628
+ channelId: string;
3629
+ includeUser: boolean;
3630
+ } | {
3631
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3632
+ channelId: string;
3633
+ includeUser: boolean;
3634
+ } | {
3635
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3636
+ channelId: string;
3637
+ includeUser: boolean;
3638
+ } | undefined;
3639
+ } | undefined;
3640
+ escalationToManager?: {
3641
+ interval: {
3642
+ minutes: number;
3643
+ value?: number | undefined;
3644
+ units?: string | undefined;
3645
+ };
3646
+ engagementChannelConnectorIds: string[];
3647
+ redirection?: {
3648
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3649
+ channelId: string;
3650
+ includeUser: boolean;
3651
+ } | {
3652
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3653
+ channelId: string;
3654
+ includeUser: boolean;
3655
+ } | {
3656
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3657
+ channelId: string;
3658
+ includeUser: boolean;
3659
+ } | undefined;
3660
+ } | undefined;
3661
+ rewards?: {
3662
+ minutes: number;
3663
+ isUpperBound: boolean;
3664
+ points: number;
3665
+ value?: number | undefined;
3666
+ units?: string | undefined;
3667
+ }[] | undefined;
3668
+ customMessage?: {
3669
+ template?: string | undefined;
3670
+ append?: boolean | undefined;
3671
+ } | undefined;
3672
+ prependCustomMessage?: {
3673
+ template?: string | undefined;
3674
+ } | undefined;
3675
+ messageTitle?: string | undefined;
3676
+ additionalContext?: {
3677
+ data?: string | undefined;
3678
+ } | undefined;
3679
+ securityTip?: {
3680
+ subject?: SecurityTipSubject | undefined;
3681
+ isConfigured?: boolean | undefined;
3682
+ } | undefined;
3683
+ scheduleConfig?: {
3684
+ required: boolean;
3685
+ } | undefined;
3686
+ }, {
3687
+ filter: {
3688
+ cohorts: ({
3689
+ inclusive: boolean;
3690
+ value: string;
3691
+ id: string;
3692
+ displayValue: string;
3693
+ kind: CohortKind;
3694
+ } | undefined)[];
3695
+ custom?: Record<string, unknown> | undefined;
3696
+ };
3697
+ name: string;
3698
+ status: FlowSpecStatusKind;
3699
+ description: string;
3700
+ tid: string;
3701
+ triggerFilter: {
3702
+ trigger: {
3703
+ id: string;
3704
+ displayValue: string;
3705
+ eventType: string;
3706
+ cid?: string | undefined;
3707
+ }[];
3708
+ custom?: Record<string, unknown> | undefined;
3709
+ };
3710
+ engagementChannelCids: string[];
3711
+ id?: string | undefined;
3712
+ createdAt?: string | undefined;
3713
+ updatedAt?: string | undefined;
3714
+ deletedAt?: string | null | undefined;
3715
+ actions?: {
3716
+ includeInstructions?: boolean | undefined;
3717
+ getInstructionsAction?: {
3718
+ includeCustomInstructions?: boolean | undefined;
3719
+ customInstructions?: string | undefined;
3720
+ includeOnlyCustomInstructions?: boolean | undefined;
3721
+ } | undefined;
3722
+ includeMarkComplete?: boolean | undefined;
3723
+ expirationActionId?: string | undefined;
3724
+ expirationAction?: {
3725
+ actionId: string | null;
3726
+ findingStatus?: FindingStatus | null | undefined;
3727
+ responseMessage?: string | undefined;
3728
+ actionDescriptionContext?: string | undefined;
3729
+ } | undefined;
3730
+ simpleTriageYesActId?: string | undefined;
3731
+ simpleTriageNoActId?: string | undefined;
3732
+ resolveNowActionId?: string | undefined;
3733
+ resolveNowAction?: {
3734
+ actionId: string | null;
3735
+ findingStatus?: FindingStatus | null | undefined;
3736
+ responseMessage?: string | undefined;
3737
+ actionDescriptionContext?: string | undefined;
3738
+ } | undefined;
3739
+ scheduleResolutionAction?: {
3740
+ actionId: string | null;
3741
+ findingStatus?: FindingStatus | null | undefined;
3742
+ responseMessage?: string | undefined;
3743
+ actionDescriptionContext?: string | undefined;
3744
+ } | undefined;
3745
+ launchAction?: {
3746
+ actionId: string | null;
3747
+ findingStatus?: FindingStatus | null | undefined;
3748
+ responseMessage?: string | undefined;
3749
+ actionDescriptionContext?: string | undefined;
3750
+ } | undefined;
3751
+ launchActionsV2?: {
3752
+ id: string;
3753
+ actions: {
3754
+ actionId: string | null;
3755
+ }[];
3756
+ findingStatus: FindingStatus | null;
3757
+ } | undefined;
3758
+ actionButtons?: {
3759
+ id: string;
3760
+ actions: {
3761
+ actionId: string | null;
3762
+ }[];
3763
+ findingStatus: FindingStatus | null;
3764
+ actionLabel: string;
3765
+ }[] | undefined;
3766
+ } | undefined;
3767
+ redirection?: {
3768
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3769
+ channelId: string;
3770
+ includeUser?: boolean | undefined;
3771
+ } | {
3772
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3773
+ channelId: string;
3774
+ includeUser?: boolean | undefined;
3775
+ } | {
3776
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3777
+ channelId: string;
3778
+ includeUser?: boolean | undefined;
3779
+ } | undefined;
3780
+ fslStrategy?: "STANDARD" | undefined;
3781
+ tone?: {
3782
+ kind?: string | undefined;
3783
+ } | undefined;
3784
+ targetResolution?: {
3785
+ minutes: number;
3786
+ value?: number | undefined;
3787
+ units?: string | undefined;
3788
+ } | undefined;
3789
+ delayEngagement?: {
3790
+ minutes: number;
3791
+ value?: number | undefined;
3792
+ units?: string | undefined;
3793
+ } | undefined;
3794
+ skipWaitingPeriod?: {
3795
+ enabled: boolean;
3796
+ ignoreBusinessHours?: boolean | undefined;
3797
+ } | undefined;
3798
+ training?: {
3799
+ context?: string | undefined;
3800
+ subject?: string | undefined;
3801
+ } | undefined;
3802
+ triage?: {
3803
+ message: string;
3804
+ yesAction: {
3805
+ actionId: string | null;
3806
+ findingStatus?: FindingStatus | null | undefined;
3807
+ responseMessage?: string | undefined;
3808
+ actionDescriptionContext?: string | undefined;
3809
+ };
3810
+ noAction: {
3811
+ actionId: string | null;
3812
+ findingStatus?: FindingStatus | null | undefined;
3813
+ responseMessage?: string | undefined;
3814
+ actionDescriptionContext?: string | undefined;
3815
+ };
3816
+ } | undefined;
3817
+ reminderInterval?: {
3818
+ minutes: number;
3819
+ value?: number | undefined;
3820
+ units?: string | undefined;
3821
+ } | undefined;
3822
+ reminderStrategy?: {
3823
+ kind?: ReminderStrategyKind | undefined;
3824
+ } | undefined;
3825
+ reminderPresence?: {
3826
+ provider?: ReminderPresenceProviderKind | undefined;
3827
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
3828
+ statusCheckEnabled?: boolean | undefined;
3829
+ } | undefined;
3830
+ escalation?: {
3831
+ interval: {
3832
+ minutes: number;
3833
+ value?: number | undefined;
3834
+ units?: string | undefined;
3835
+ };
3836
+ engagementChannelConnectorIds: string[];
3837
+ redirection?: {
3838
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3839
+ channelId: string;
3840
+ includeUser?: boolean | undefined;
3841
+ } | {
3842
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3843
+ channelId: string;
3844
+ includeUser?: boolean | undefined;
3845
+ } | {
3846
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3847
+ channelId: string;
3848
+ includeUser?: boolean | undefined;
3849
+ } | undefined;
3850
+ } | undefined;
3851
+ escalationToManager?: {
3852
+ interval: {
3853
+ minutes: number;
3854
+ value?: number | undefined;
3855
+ units?: string | undefined;
3856
+ };
3857
+ engagementChannelConnectorIds: string[];
3858
+ redirection?: {
3859
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3860
+ channelId: string;
3861
+ includeUser?: boolean | undefined;
3862
+ } | {
3863
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3864
+ channelId: string;
3865
+ includeUser?: boolean | undefined;
3866
+ } | {
3867
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3868
+ channelId: string;
3869
+ includeUser?: boolean | undefined;
3870
+ } | undefined;
3871
+ } | undefined;
3872
+ rewards?: {
3873
+ minutes: number;
3874
+ isUpperBound: boolean;
3875
+ points: number;
3876
+ value?: number | undefined;
3877
+ units?: string | undefined;
3878
+ }[] | undefined;
3879
+ customMessage?: {
3880
+ template?: string | undefined;
3881
+ append?: boolean | undefined;
3882
+ } | undefined;
3883
+ prependCustomMessage?: {
3884
+ template?: string | undefined;
3885
+ } | undefined;
3886
+ messageTitle?: string | undefined;
3887
+ additionalContext?: {
3888
+ data?: string | undefined;
3889
+ } | undefined;
3890
+ securityTip?: {
3891
+ subject?: SecurityTipSubject | undefined;
3892
+ isConfigured?: boolean | undefined;
3893
+ } | undefined;
3894
+ scheduleConfig?: {
3895
+ required: boolean;
3896
+ } | undefined;
3897
+ }>, {
3898
+ filter: {
3899
+ cohorts: ({
3900
+ inclusive: boolean;
3901
+ value: string;
3902
+ id: string;
3903
+ displayValue: string;
3904
+ kind: CohortKind;
3905
+ } | undefined)[];
3906
+ custom?: Record<string, unknown> | undefined;
3907
+ };
3908
+ name: string;
3909
+ status: FlowSpecStatusKind;
3910
+ description: string;
3911
+ tid: string;
3912
+ fslStrategy: "STANDARD";
3913
+ triggerFilter: {
3914
+ trigger: {
3915
+ id: string;
3916
+ displayValue: string;
3917
+ eventType: string;
3918
+ cid?: string | undefined;
3919
+ }[];
3920
+ custom?: Record<string, unknown> | undefined;
3921
+ };
3922
+ engagementChannelCids: string[];
3923
+ id?: string | undefined;
3924
+ createdAt?: string | undefined;
3925
+ updatedAt?: string | undefined;
3926
+ deletedAt?: string | null | undefined;
3927
+ actions?: {
3928
+ includeInstructions?: boolean | undefined;
3929
+ getInstructionsAction?: {
3930
+ includeCustomInstructions?: boolean | undefined;
3931
+ customInstructions?: string | undefined;
3932
+ includeOnlyCustomInstructions?: boolean | undefined;
3933
+ } | undefined;
3934
+ includeMarkComplete?: boolean | undefined;
3935
+ expirationActionId?: string | undefined;
3936
+ expirationAction?: {
3937
+ actionId: string | null;
3938
+ findingStatus?: FindingStatus | null | undefined;
3939
+ responseMessage?: string | undefined;
3940
+ actionDescriptionContext?: string | undefined;
3941
+ } | undefined;
3942
+ simpleTriageYesActId?: string | undefined;
3943
+ simpleTriageNoActId?: string | undefined;
3944
+ resolveNowActionId?: string | undefined;
3945
+ resolveNowAction?: {
3946
+ actionId: string | null;
3947
+ findingStatus?: FindingStatus | null | undefined;
3948
+ responseMessage?: string | undefined;
3949
+ actionDescriptionContext?: string | undefined;
3950
+ } | undefined;
3951
+ scheduleResolutionAction?: {
3952
+ actionId: string | null;
3953
+ findingStatus?: FindingStatus | null | undefined;
3954
+ responseMessage?: string | undefined;
3955
+ actionDescriptionContext?: string | undefined;
3956
+ } | undefined;
3957
+ launchAction?: {
3958
+ actionId: string | null;
3959
+ findingStatus?: FindingStatus | null | undefined;
3960
+ responseMessage?: string | undefined;
3961
+ actionDescriptionContext?: string | undefined;
3962
+ } | undefined;
3963
+ launchActionsV2?: {
3964
+ id: string;
3965
+ actions: {
3966
+ actionId: string | null;
3967
+ }[];
3968
+ findingStatus: FindingStatus | null;
3969
+ } | undefined;
3970
+ actionButtons?: {
3971
+ id: string;
3972
+ actions: {
3973
+ actionId: string | null;
3974
+ }[];
3975
+ findingStatus: FindingStatus | null;
3976
+ actionLabel: string;
3977
+ }[] | undefined;
3978
+ } | undefined;
3979
+ redirection?: {
3980
+ kind: EngagementRedirectionKind.SLACK_CHANNEL;
3981
+ channelId: string;
3982
+ includeUser: boolean;
3983
+ } | {
3984
+ kind: EngagementRedirectionKind.TEAMS_CHANNEL;
3985
+ channelId: string;
3986
+ includeUser: boolean;
3987
+ } | {
3988
+ kind: EngagementRedirectionKind.EMAIL_CHANNEL;
3989
+ channelId: string;
3990
+ includeUser: boolean;
3991
+ } | undefined;
3992
+ tone?: {
3993
+ kind?: string | undefined;
3994
+ } | undefined;
3995
+ targetResolution?: {
3996
+ minutes: number;
3997
+ value?: number | undefined;
3998
+ units?: string | undefined;
3999
+ } | undefined;
4000
+ delayEngagement?: {
4001
+ minutes: number;
4002
+ value?: number | undefined;
4003
+ units?: string | undefined;
4004
+ } | undefined;
4005
+ skipWaitingPeriod?: {
4006
+ enabled: boolean;
4007
+ ignoreBusinessHours: boolean;
4008
+ } | undefined;
3461
4009
  training?: {
3462
4010
  context?: string | undefined;
3463
4011
  subject?: string | undefined;
@@ -3482,6 +4030,14 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
3482
4030
  value?: number | undefined;
3483
4031
  units?: string | undefined;
3484
4032
  } | undefined;
4033
+ reminderStrategy?: {
4034
+ kind: ReminderStrategyKind;
4035
+ } | undefined;
4036
+ reminderPresence?: {
4037
+ busyBehavior: ReminderBusyBehaviorKind;
4038
+ provider?: ReminderPresenceProviderKind | undefined;
4039
+ statusCheckEnabled?: boolean | undefined;
4040
+ } | undefined;
3485
4041
  escalation?: {
3486
4042
  interval: {
3487
4043
  minutes: number;
@@ -3657,6 +4213,10 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
3657
4213
  value?: number | undefined;
3658
4214
  units?: string | undefined;
3659
4215
  } | undefined;
4216
+ skipWaitingPeriod?: {
4217
+ enabled: boolean;
4218
+ ignoreBusinessHours?: boolean | undefined;
4219
+ } | undefined;
3660
4220
  training?: {
3661
4221
  context?: string | undefined;
3662
4222
  subject?: string | undefined;
@@ -3681,6 +4241,14 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
3681
4241
  value?: number | undefined;
3682
4242
  units?: string | undefined;
3683
4243
  } | undefined;
4244
+ reminderStrategy?: {
4245
+ kind?: ReminderStrategyKind | undefined;
4246
+ } | undefined;
4247
+ reminderPresence?: {
4248
+ provider?: ReminderPresenceProviderKind | undefined;
4249
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
4250
+ statusCheckEnabled?: boolean | undefined;
4251
+ } | undefined;
3684
4252
  escalation?: {
3685
4253
  interval: {
3686
4254
  minutes: number;
@@ -4080,6 +4648,16 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4080
4648
  value?: number | undefined;
4081
4649
  units?: string | undefined;
4082
4650
  }>>>;
4651
+ skipWaitingPeriod: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4652
+ enabled: z.ZodBoolean;
4653
+ ignoreBusinessHours: z.ZodDefault<z.ZodBoolean>;
4654
+ }, "strip", z.ZodTypeAny, {
4655
+ enabled: boolean;
4656
+ ignoreBusinessHours: boolean;
4657
+ }, {
4658
+ enabled: boolean;
4659
+ ignoreBusinessHours?: boolean | undefined;
4660
+ }>>>;
4083
4661
  training: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4084
4662
  subject: z.ZodOptional<z.ZodString>;
4085
4663
  context: z.ZodOptional<z.ZodString>;
@@ -4166,6 +4744,27 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4166
4744
  value?: number | undefined;
4167
4745
  units?: string | undefined;
4168
4746
  }>>>;
4747
+ reminderStrategy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4748
+ kind: z.ZodDefault<z.ZodNativeEnum<typeof ReminderStrategyKind>>;
4749
+ }, "strip", z.ZodTypeAny, {
4750
+ kind: ReminderStrategyKind;
4751
+ }, {
4752
+ kind?: ReminderStrategyKind | undefined;
4753
+ }>>>;
4754
+ reminderPresence: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4755
+ provider: z.ZodOptional<z.ZodNativeEnum<typeof ReminderPresenceProviderKind>>;
4756
+ busyBehavior: z.ZodDefault<z.ZodNativeEnum<typeof ReminderBusyBehaviorKind>>;
4757
+ /** If false, runtime status gates should pass-through for this flow spec. */
4758
+ statusCheckEnabled: z.ZodOptional<z.ZodBoolean>;
4759
+ }, "strip", z.ZodTypeAny, {
4760
+ busyBehavior: ReminderBusyBehaviorKind;
4761
+ provider?: ReminderPresenceProviderKind | undefined;
4762
+ statusCheckEnabled?: boolean | undefined;
4763
+ }, {
4764
+ provider?: ReminderPresenceProviderKind | undefined;
4765
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
4766
+ statusCheckEnabled?: boolean | undefined;
4767
+ }>>>;
4169
4768
  escalation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4170
4769
  interval: z.ZodObject<{
4171
4770
  minutes: z.ZodNumber;
@@ -4532,6 +5131,10 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4532
5131
  value?: number | undefined;
4533
5132
  units?: string | undefined;
4534
5133
  } | undefined;
5134
+ skipWaitingPeriod?: {
5135
+ enabled: boolean;
5136
+ ignoreBusinessHours: boolean;
5137
+ } | undefined;
4535
5138
  training?: {
4536
5139
  context?: string | undefined;
4537
5140
  subject?: string | undefined;
@@ -4556,6 +5159,14 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4556
5159
  value?: number | undefined;
4557
5160
  units?: string | undefined;
4558
5161
  } | undefined;
5162
+ reminderStrategy?: {
5163
+ kind: ReminderStrategyKind;
5164
+ } | undefined;
5165
+ reminderPresence?: {
5166
+ busyBehavior: ReminderBusyBehaviorKind;
5167
+ provider?: ReminderPresenceProviderKind | undefined;
5168
+ statusCheckEnabled?: boolean | undefined;
5169
+ } | undefined;
4559
5170
  escalation?: {
4560
5171
  interval: {
4561
5172
  minutes: number;
@@ -4723,6 +5334,10 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4723
5334
  value?: number | undefined;
4724
5335
  units?: string | undefined;
4725
5336
  } | undefined;
5337
+ skipWaitingPeriod?: {
5338
+ enabled: boolean;
5339
+ ignoreBusinessHours?: boolean | undefined;
5340
+ } | undefined;
4726
5341
  training?: {
4727
5342
  context?: string | undefined;
4728
5343
  subject?: string | undefined;
@@ -4747,6 +5362,14 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4747
5362
  value?: number | undefined;
4748
5363
  units?: string | undefined;
4749
5364
  } | undefined;
5365
+ reminderStrategy?: {
5366
+ kind?: ReminderStrategyKind | undefined;
5367
+ } | undefined;
5368
+ reminderPresence?: {
5369
+ provider?: ReminderPresenceProviderKind | undefined;
5370
+ busyBehavior?: ReminderBusyBehaviorKind | undefined;
5371
+ statusCheckEnabled?: boolean | undefined;
5372
+ } | undefined;
4750
5373
  escalation?: {
4751
5374
  interval: {
4752
5375
  minutes: number;