@roarkanalytics/sdk 5.3.0 → 5.5.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.
- package/CHANGELOG.md +24 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/config.d.mts +422 -8
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +422 -8
- package/resources/config.d.ts.map +1 -1
- package/resources/customer-flow-edge-case.d.mts +66 -0
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +66 -0
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +228 -0
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +228 -0
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/simulation-group.d.mts +777 -0
- package/resources/simulation-group.d.mts.map +1 -0
- package/resources/simulation-group.d.ts +777 -0
- package/resources/simulation-group.d.ts.map +1 -0
- package/resources/simulation-group.js +116 -0
- package/resources/simulation-group.js.map +1 -0
- package/resources/simulation-group.mjs +112 -0
- package/resources/simulation-group.mjs.map +1 -0
- package/src/client.ts +27 -0
- package/src/resources/config.ts +768 -28
- package/src/resources/customer-flow-edge-case.ts +77 -0
- package/src/resources/customer-flow.ts +266 -0
- package/src/resources/index.ts +12 -0
- package/src/resources/simulation-group.ts +1105 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/config.ts
CHANGED
|
@@ -53,6 +53,7 @@ export interface Bundle {
|
|
|
53
53
|
| Bundle.MetricConfig
|
|
54
54
|
| Bundle.SimulationPlanConfig
|
|
55
55
|
| Bundle.QaSimulationPlanConfig
|
|
56
|
+
| Bundle.SimulationGroupConfig
|
|
56
57
|
| Bundle.AlertConfig
|
|
57
58
|
| Bundle.ToolConfig
|
|
58
59
|
| Bundle.ProjectConfig
|
|
@@ -286,6 +287,8 @@ export namespace Bundle {
|
|
|
286
287
|
|
|
287
288
|
expectations?: Array<string>;
|
|
288
289
|
|
|
290
|
+
includeFlowExpectations?: boolean;
|
|
291
|
+
|
|
289
292
|
persona?: string;
|
|
290
293
|
|
|
291
294
|
prompt?: string;
|
|
@@ -744,6 +747,126 @@ export namespace Bundle {
|
|
|
744
747
|
}
|
|
745
748
|
}
|
|
746
749
|
|
|
750
|
+
export interface SimulationGroupConfig {
|
|
751
|
+
kind: 'simulationGroup';
|
|
752
|
+
|
|
753
|
+
name: string;
|
|
754
|
+
|
|
755
|
+
plans: Array<string>;
|
|
756
|
+
|
|
757
|
+
description?: string | null;
|
|
758
|
+
|
|
759
|
+
notify?: SimulationGroupConfig.Notify;
|
|
760
|
+
|
|
761
|
+
schedule?:
|
|
762
|
+
| SimulationGroupConfig.UnionMember0
|
|
763
|
+
| SimulationGroupConfig.UnionMember1
|
|
764
|
+
| SimulationGroupConfig.UnionMember2
|
|
765
|
+
| SimulationGroupConfig.UnionMember3
|
|
766
|
+
| SimulationGroupConfig.UnionMember4
|
|
767
|
+
| SimulationGroupConfig.UnionMember5;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export namespace SimulationGroupConfig {
|
|
771
|
+
export interface Notify {
|
|
772
|
+
email?: boolean | Array<string>;
|
|
773
|
+
|
|
774
|
+
slack?: Array<Notify.Slack>;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export namespace Notify {
|
|
778
|
+
export interface Slack {
|
|
779
|
+
channelId: string;
|
|
780
|
+
|
|
781
|
+
channelName: string;
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export interface UnionMember0 {
|
|
786
|
+
type: 'hourly';
|
|
787
|
+
|
|
788
|
+
enabled?: boolean;
|
|
789
|
+
|
|
790
|
+
endDate?: string;
|
|
791
|
+
|
|
792
|
+
maxRuns?: number;
|
|
793
|
+
|
|
794
|
+
minute?: number;
|
|
795
|
+
|
|
796
|
+
timezone?: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export interface UnionMember1 {
|
|
800
|
+
everyMinutes: number;
|
|
801
|
+
|
|
802
|
+
type: 'interval';
|
|
803
|
+
|
|
804
|
+
enabled?: boolean;
|
|
805
|
+
|
|
806
|
+
endDate?: string;
|
|
807
|
+
|
|
808
|
+
maxRuns?: number;
|
|
809
|
+
|
|
810
|
+
timezone?: string;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export interface UnionMember2 {
|
|
814
|
+
time: string;
|
|
815
|
+
|
|
816
|
+
type: 'daily';
|
|
817
|
+
|
|
818
|
+
enabled?: boolean;
|
|
819
|
+
|
|
820
|
+
endDate?: string;
|
|
821
|
+
|
|
822
|
+
maxRuns?: number;
|
|
823
|
+
|
|
824
|
+
timezone?: string;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
export interface UnionMember3 {
|
|
828
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
829
|
+
|
|
830
|
+
time: string;
|
|
831
|
+
|
|
832
|
+
type: 'weekly';
|
|
833
|
+
|
|
834
|
+
enabled?: boolean;
|
|
835
|
+
|
|
836
|
+
endDate?: string;
|
|
837
|
+
|
|
838
|
+
maxRuns?: number;
|
|
839
|
+
|
|
840
|
+
timezone?: string;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
export interface UnionMember4 {
|
|
844
|
+
dayOfMonth: number;
|
|
845
|
+
|
|
846
|
+
time: string;
|
|
847
|
+
|
|
848
|
+
type: 'monthly';
|
|
849
|
+
|
|
850
|
+
enabled?: boolean;
|
|
851
|
+
|
|
852
|
+
endDate?: string;
|
|
853
|
+
|
|
854
|
+
maxRuns?: number;
|
|
855
|
+
|
|
856
|
+
timezone?: string;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export interface UnionMember5 {
|
|
860
|
+
at: string;
|
|
861
|
+
|
|
862
|
+
type: 'once';
|
|
863
|
+
|
|
864
|
+
enabled?: boolean;
|
|
865
|
+
|
|
866
|
+
timezone?: string;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
747
870
|
export interface AlertConfig {
|
|
748
871
|
kind: 'alert';
|
|
749
872
|
|
|
@@ -885,6 +1008,7 @@ export namespace Bundle {
|
|
|
885
1008
|
| ProjectConfig.MetricConfig
|
|
886
1009
|
| ProjectConfig.SimulationPlanConfig
|
|
887
1010
|
| ProjectConfig.QaSimulationPlanConfig
|
|
1011
|
+
| ProjectConfig.SimulationGroupConfig
|
|
888
1012
|
| ProjectConfig.AlertConfig
|
|
889
1013
|
| ProjectConfig.ToolConfig
|
|
890
1014
|
>;
|
|
@@ -1121,6 +1245,8 @@ export namespace Bundle {
|
|
|
1121
1245
|
|
|
1122
1246
|
expectations?: Array<string>;
|
|
1123
1247
|
|
|
1248
|
+
includeFlowExpectations?: boolean;
|
|
1249
|
+
|
|
1124
1250
|
persona?: string;
|
|
1125
1251
|
|
|
1126
1252
|
prompt?: string;
|
|
@@ -1579,6 +1705,126 @@ export namespace Bundle {
|
|
|
1579
1705
|
}
|
|
1580
1706
|
}
|
|
1581
1707
|
|
|
1708
|
+
export interface SimulationGroupConfig {
|
|
1709
|
+
kind: 'simulationGroup';
|
|
1710
|
+
|
|
1711
|
+
name: string;
|
|
1712
|
+
|
|
1713
|
+
plans: Array<string>;
|
|
1714
|
+
|
|
1715
|
+
description?: string | null;
|
|
1716
|
+
|
|
1717
|
+
notify?: SimulationGroupConfig.Notify;
|
|
1718
|
+
|
|
1719
|
+
schedule?:
|
|
1720
|
+
| SimulationGroupConfig.UnionMember0
|
|
1721
|
+
| SimulationGroupConfig.UnionMember1
|
|
1722
|
+
| SimulationGroupConfig.UnionMember2
|
|
1723
|
+
| SimulationGroupConfig.UnionMember3
|
|
1724
|
+
| SimulationGroupConfig.UnionMember4
|
|
1725
|
+
| SimulationGroupConfig.UnionMember5;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
export namespace SimulationGroupConfig {
|
|
1729
|
+
export interface Notify {
|
|
1730
|
+
email?: boolean | Array<string>;
|
|
1731
|
+
|
|
1732
|
+
slack?: Array<Notify.Slack>;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
export namespace Notify {
|
|
1736
|
+
export interface Slack {
|
|
1737
|
+
channelId: string;
|
|
1738
|
+
|
|
1739
|
+
channelName: string;
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export interface UnionMember0 {
|
|
1744
|
+
type: 'hourly';
|
|
1745
|
+
|
|
1746
|
+
enabled?: boolean;
|
|
1747
|
+
|
|
1748
|
+
endDate?: string;
|
|
1749
|
+
|
|
1750
|
+
maxRuns?: number;
|
|
1751
|
+
|
|
1752
|
+
minute?: number;
|
|
1753
|
+
|
|
1754
|
+
timezone?: string;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
export interface UnionMember1 {
|
|
1758
|
+
everyMinutes: number;
|
|
1759
|
+
|
|
1760
|
+
type: 'interval';
|
|
1761
|
+
|
|
1762
|
+
enabled?: boolean;
|
|
1763
|
+
|
|
1764
|
+
endDate?: string;
|
|
1765
|
+
|
|
1766
|
+
maxRuns?: number;
|
|
1767
|
+
|
|
1768
|
+
timezone?: string;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export interface UnionMember2 {
|
|
1772
|
+
time: string;
|
|
1773
|
+
|
|
1774
|
+
type: 'daily';
|
|
1775
|
+
|
|
1776
|
+
enabled?: boolean;
|
|
1777
|
+
|
|
1778
|
+
endDate?: string;
|
|
1779
|
+
|
|
1780
|
+
maxRuns?: number;
|
|
1781
|
+
|
|
1782
|
+
timezone?: string;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
export interface UnionMember3 {
|
|
1786
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
1787
|
+
|
|
1788
|
+
time: string;
|
|
1789
|
+
|
|
1790
|
+
type: 'weekly';
|
|
1791
|
+
|
|
1792
|
+
enabled?: boolean;
|
|
1793
|
+
|
|
1794
|
+
endDate?: string;
|
|
1795
|
+
|
|
1796
|
+
maxRuns?: number;
|
|
1797
|
+
|
|
1798
|
+
timezone?: string;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
export interface UnionMember4 {
|
|
1802
|
+
dayOfMonth: number;
|
|
1803
|
+
|
|
1804
|
+
time: string;
|
|
1805
|
+
|
|
1806
|
+
type: 'monthly';
|
|
1807
|
+
|
|
1808
|
+
enabled?: boolean;
|
|
1809
|
+
|
|
1810
|
+
endDate?: string;
|
|
1811
|
+
|
|
1812
|
+
maxRuns?: number;
|
|
1813
|
+
|
|
1814
|
+
timezone?: string;
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
export interface UnionMember5 {
|
|
1818
|
+
at: string;
|
|
1819
|
+
|
|
1820
|
+
type: 'once';
|
|
1821
|
+
|
|
1822
|
+
enabled?: boolean;
|
|
1823
|
+
|
|
1824
|
+
timezone?: string;
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1582
1828
|
export interface AlertConfig {
|
|
1583
1829
|
kind: 'alert';
|
|
1584
1830
|
|
|
@@ -1772,6 +2018,7 @@ export namespace ConfigApplyResponse {
|
|
|
1772
2018
|
| 'collector'
|
|
1773
2019
|
| 'metric'
|
|
1774
2020
|
| 'simulationPlan'
|
|
2021
|
+
| 'simulationGroup'
|
|
1775
2022
|
| 'alert'
|
|
1776
2023
|
| 'tool'
|
|
1777
2024
|
| 'project'
|
|
@@ -1831,6 +2078,7 @@ export namespace ConfigDiffResponse {
|
|
|
1831
2078
|
| 'collector'
|
|
1832
2079
|
| 'metric'
|
|
1833
2080
|
| 'simulationPlan'
|
|
2081
|
+
| 'simulationGroup'
|
|
1834
2082
|
| 'alert'
|
|
1835
2083
|
| 'tool'
|
|
1836
2084
|
| 'project'
|
|
@@ -1868,6 +2116,7 @@ export interface ConfigApplyParams {
|
|
|
1868
2116
|
| ConfigApplyParams.MetricConfig
|
|
1869
2117
|
| ConfigApplyParams.SimulationPlanConfig
|
|
1870
2118
|
| ConfigApplyParams.QaSimulationPlanConfig
|
|
2119
|
+
| ConfigApplyParams.SimulationGroupConfig
|
|
1871
2120
|
| ConfigApplyParams.AlertConfig
|
|
1872
2121
|
| ConfigApplyParams.ToolConfig
|
|
1873
2122
|
| ConfigApplyParams.ProjectConfig
|
|
@@ -2101,6 +2350,8 @@ export namespace ConfigApplyParams {
|
|
|
2101
2350
|
|
|
2102
2351
|
expectations?: Array<string>;
|
|
2103
2352
|
|
|
2353
|
+
includeFlowExpectations?: boolean;
|
|
2354
|
+
|
|
2104
2355
|
persona?: string;
|
|
2105
2356
|
|
|
2106
2357
|
prompt?: string;
|
|
@@ -2559,53 +2810,173 @@ export namespace ConfigApplyParams {
|
|
|
2559
2810
|
}
|
|
2560
2811
|
}
|
|
2561
2812
|
|
|
2562
|
-
export interface
|
|
2563
|
-
kind: '
|
|
2813
|
+
export interface SimulationGroupConfig {
|
|
2814
|
+
kind: 'simulationGroup';
|
|
2564
2815
|
|
|
2565
2816
|
name: string;
|
|
2566
2817
|
|
|
2567
|
-
|
|
2568
|
-
| AlertConfig.AlertThresholdTrigger
|
|
2569
|
-
| AlertConfig.AlertEventTrigger
|
|
2570
|
-
| AlertConfig.AlertSimulationTrigger;
|
|
2818
|
+
plans: Array<string>;
|
|
2571
2819
|
|
|
2572
|
-
|
|
2820
|
+
description?: string | null;
|
|
2573
2821
|
|
|
2574
|
-
|
|
2822
|
+
notify?: SimulationGroupConfig.Notify;
|
|
2575
2823
|
|
|
2576
|
-
|
|
2824
|
+
schedule?:
|
|
2825
|
+
| SimulationGroupConfig.UnionMember0
|
|
2826
|
+
| SimulationGroupConfig.UnionMember1
|
|
2827
|
+
| SimulationGroupConfig.UnionMember2
|
|
2828
|
+
| SimulationGroupConfig.UnionMember3
|
|
2829
|
+
| SimulationGroupConfig.UnionMember4
|
|
2830
|
+
| SimulationGroupConfig.UnionMember5;
|
|
2577
2831
|
}
|
|
2578
2832
|
|
|
2579
|
-
export namespace
|
|
2580
|
-
export interface
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
metric: string;
|
|
2833
|
+
export namespace SimulationGroupConfig {
|
|
2834
|
+
export interface Notify {
|
|
2835
|
+
email?: boolean | Array<string>;
|
|
2584
2836
|
|
|
2585
|
-
|
|
2837
|
+
slack?: Array<Notify.Slack>;
|
|
2838
|
+
}
|
|
2586
2839
|
|
|
2587
|
-
|
|
2840
|
+
export namespace Notify {
|
|
2841
|
+
export interface Slack {
|
|
2842
|
+
channelId: string;
|
|
2588
2843
|
|
|
2589
|
-
|
|
2844
|
+
channelName: string;
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2590
2847
|
|
|
2591
|
-
|
|
2848
|
+
export interface UnionMember0 {
|
|
2849
|
+
type: 'hourly';
|
|
2592
2850
|
|
|
2593
|
-
|
|
2851
|
+
enabled?: boolean;
|
|
2594
2852
|
|
|
2595
|
-
|
|
2853
|
+
endDate?: string;
|
|
2596
2854
|
|
|
2597
|
-
|
|
2855
|
+
maxRuns?: number;
|
|
2598
2856
|
|
|
2599
|
-
|
|
2857
|
+
minute?: number;
|
|
2600
2858
|
|
|
2601
|
-
|
|
2859
|
+
timezone?: string;
|
|
2602
2860
|
}
|
|
2603
2861
|
|
|
2604
|
-
export interface
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2862
|
+
export interface UnionMember1 {
|
|
2863
|
+
everyMinutes: number;
|
|
2864
|
+
|
|
2865
|
+
type: 'interval';
|
|
2866
|
+
|
|
2867
|
+
enabled?: boolean;
|
|
2868
|
+
|
|
2869
|
+
endDate?: string;
|
|
2870
|
+
|
|
2871
|
+
maxRuns?: number;
|
|
2872
|
+
|
|
2873
|
+
timezone?: string;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
export interface UnionMember2 {
|
|
2877
|
+
time: string;
|
|
2878
|
+
|
|
2879
|
+
type: 'daily';
|
|
2880
|
+
|
|
2881
|
+
enabled?: boolean;
|
|
2882
|
+
|
|
2883
|
+
endDate?: string;
|
|
2884
|
+
|
|
2885
|
+
maxRuns?: number;
|
|
2886
|
+
|
|
2887
|
+
timezone?: string;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
export interface UnionMember3 {
|
|
2891
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
2892
|
+
|
|
2893
|
+
time: string;
|
|
2894
|
+
|
|
2895
|
+
type: 'weekly';
|
|
2896
|
+
|
|
2897
|
+
enabled?: boolean;
|
|
2898
|
+
|
|
2899
|
+
endDate?: string;
|
|
2900
|
+
|
|
2901
|
+
maxRuns?: number;
|
|
2902
|
+
|
|
2903
|
+
timezone?: string;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
export interface UnionMember4 {
|
|
2907
|
+
dayOfMonth: number;
|
|
2908
|
+
|
|
2909
|
+
time: string;
|
|
2910
|
+
|
|
2911
|
+
type: 'monthly';
|
|
2912
|
+
|
|
2913
|
+
enabled?: boolean;
|
|
2914
|
+
|
|
2915
|
+
endDate?: string;
|
|
2916
|
+
|
|
2917
|
+
maxRuns?: number;
|
|
2918
|
+
|
|
2919
|
+
timezone?: string;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
export interface UnionMember5 {
|
|
2923
|
+
at: string;
|
|
2924
|
+
|
|
2925
|
+
type: 'once';
|
|
2926
|
+
|
|
2927
|
+
enabled?: boolean;
|
|
2928
|
+
|
|
2929
|
+
timezone?: string;
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
export interface AlertConfig {
|
|
2934
|
+
kind: 'alert';
|
|
2935
|
+
|
|
2936
|
+
name: string;
|
|
2937
|
+
|
|
2938
|
+
trigger:
|
|
2939
|
+
| AlertConfig.AlertThresholdTrigger
|
|
2940
|
+
| AlertConfig.AlertEventTrigger
|
|
2941
|
+
| AlertConfig.AlertSimulationTrigger;
|
|
2942
|
+
|
|
2943
|
+
actions?: AlertConfig.Actions;
|
|
2944
|
+
|
|
2945
|
+
displayName?: string;
|
|
2946
|
+
|
|
2947
|
+
enabled?: boolean;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
export namespace AlertConfig {
|
|
2951
|
+
export interface AlertThresholdTrigger {
|
|
2952
|
+
aggregation: 'COUNT' | 'RATE_PER_MINUTE' | 'MEAN';
|
|
2953
|
+
|
|
2954
|
+
metric: string;
|
|
2955
|
+
|
|
2956
|
+
operator: 'GT' | 'GTE' | 'LT' | 'LTE';
|
|
2957
|
+
|
|
2958
|
+
thresholdValue: number;
|
|
2959
|
+
|
|
2960
|
+
type: 'threshold';
|
|
2961
|
+
|
|
2962
|
+
windowMinutes: number;
|
|
2963
|
+
|
|
2964
|
+
consecutiveOpen?: number;
|
|
2965
|
+
|
|
2966
|
+
consecutiveResolve?: number;
|
|
2967
|
+
|
|
2968
|
+
grouping?: 'NONE' | 'BY_AGENT';
|
|
2969
|
+
|
|
2970
|
+
metricVariant?: string;
|
|
2971
|
+
|
|
2972
|
+
minSampleSize?: number;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
export interface AlertEventTrigger {
|
|
2976
|
+
events: Array<
|
|
2977
|
+
| 'CALL_ANALYSIS_COMPLETED'
|
|
2978
|
+
| 'CALL_ANALYSIS_FAILED'
|
|
2979
|
+
| 'CALL_ANALYSIS_CANCELLED'
|
|
2609
2980
|
| 'SIMULATION_RUN_PLAN_JOB_STARTED'
|
|
2610
2981
|
| 'SIMULATION_RUN_PLAN_JOB_COMPLETED'
|
|
2611
2982
|
| 'SIMULATION_RUN_PLAN_JOB_FAILED'
|
|
@@ -2700,6 +3071,7 @@ export namespace ConfigApplyParams {
|
|
|
2700
3071
|
| ProjectConfig.MetricConfig
|
|
2701
3072
|
| ProjectConfig.SimulationPlanConfig
|
|
2702
3073
|
| ProjectConfig.QaSimulationPlanConfig
|
|
3074
|
+
| ProjectConfig.SimulationGroupConfig
|
|
2703
3075
|
| ProjectConfig.AlertConfig
|
|
2704
3076
|
| ProjectConfig.ToolConfig
|
|
2705
3077
|
>;
|
|
@@ -2936,6 +3308,8 @@ export namespace ConfigApplyParams {
|
|
|
2936
3308
|
|
|
2937
3309
|
expectations?: Array<string>;
|
|
2938
3310
|
|
|
3311
|
+
includeFlowExpectations?: boolean;
|
|
3312
|
+
|
|
2939
3313
|
persona?: string;
|
|
2940
3314
|
|
|
2941
3315
|
prompt?: string;
|
|
@@ -3394,6 +3768,126 @@ export namespace ConfigApplyParams {
|
|
|
3394
3768
|
}
|
|
3395
3769
|
}
|
|
3396
3770
|
|
|
3771
|
+
export interface SimulationGroupConfig {
|
|
3772
|
+
kind: 'simulationGroup';
|
|
3773
|
+
|
|
3774
|
+
name: string;
|
|
3775
|
+
|
|
3776
|
+
plans: Array<string>;
|
|
3777
|
+
|
|
3778
|
+
description?: string | null;
|
|
3779
|
+
|
|
3780
|
+
notify?: SimulationGroupConfig.Notify;
|
|
3781
|
+
|
|
3782
|
+
schedule?:
|
|
3783
|
+
| SimulationGroupConfig.UnionMember0
|
|
3784
|
+
| SimulationGroupConfig.UnionMember1
|
|
3785
|
+
| SimulationGroupConfig.UnionMember2
|
|
3786
|
+
| SimulationGroupConfig.UnionMember3
|
|
3787
|
+
| SimulationGroupConfig.UnionMember4
|
|
3788
|
+
| SimulationGroupConfig.UnionMember5;
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
export namespace SimulationGroupConfig {
|
|
3792
|
+
export interface Notify {
|
|
3793
|
+
email?: boolean | Array<string>;
|
|
3794
|
+
|
|
3795
|
+
slack?: Array<Notify.Slack>;
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
export namespace Notify {
|
|
3799
|
+
export interface Slack {
|
|
3800
|
+
channelId: string;
|
|
3801
|
+
|
|
3802
|
+
channelName: string;
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
export interface UnionMember0 {
|
|
3807
|
+
type: 'hourly';
|
|
3808
|
+
|
|
3809
|
+
enabled?: boolean;
|
|
3810
|
+
|
|
3811
|
+
endDate?: string;
|
|
3812
|
+
|
|
3813
|
+
maxRuns?: number;
|
|
3814
|
+
|
|
3815
|
+
minute?: number;
|
|
3816
|
+
|
|
3817
|
+
timezone?: string;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
export interface UnionMember1 {
|
|
3821
|
+
everyMinutes: number;
|
|
3822
|
+
|
|
3823
|
+
type: 'interval';
|
|
3824
|
+
|
|
3825
|
+
enabled?: boolean;
|
|
3826
|
+
|
|
3827
|
+
endDate?: string;
|
|
3828
|
+
|
|
3829
|
+
maxRuns?: number;
|
|
3830
|
+
|
|
3831
|
+
timezone?: string;
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
export interface UnionMember2 {
|
|
3835
|
+
time: string;
|
|
3836
|
+
|
|
3837
|
+
type: 'daily';
|
|
3838
|
+
|
|
3839
|
+
enabled?: boolean;
|
|
3840
|
+
|
|
3841
|
+
endDate?: string;
|
|
3842
|
+
|
|
3843
|
+
maxRuns?: number;
|
|
3844
|
+
|
|
3845
|
+
timezone?: string;
|
|
3846
|
+
}
|
|
3847
|
+
|
|
3848
|
+
export interface UnionMember3 {
|
|
3849
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
3850
|
+
|
|
3851
|
+
time: string;
|
|
3852
|
+
|
|
3853
|
+
type: 'weekly';
|
|
3854
|
+
|
|
3855
|
+
enabled?: boolean;
|
|
3856
|
+
|
|
3857
|
+
endDate?: string;
|
|
3858
|
+
|
|
3859
|
+
maxRuns?: number;
|
|
3860
|
+
|
|
3861
|
+
timezone?: string;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
export interface UnionMember4 {
|
|
3865
|
+
dayOfMonth: number;
|
|
3866
|
+
|
|
3867
|
+
time: string;
|
|
3868
|
+
|
|
3869
|
+
type: 'monthly';
|
|
3870
|
+
|
|
3871
|
+
enabled?: boolean;
|
|
3872
|
+
|
|
3873
|
+
endDate?: string;
|
|
3874
|
+
|
|
3875
|
+
maxRuns?: number;
|
|
3876
|
+
|
|
3877
|
+
timezone?: string;
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
export interface UnionMember5 {
|
|
3881
|
+
at: string;
|
|
3882
|
+
|
|
3883
|
+
type: 'once';
|
|
3884
|
+
|
|
3885
|
+
enabled?: boolean;
|
|
3886
|
+
|
|
3887
|
+
timezone?: string;
|
|
3888
|
+
}
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3397
3891
|
export interface AlertConfig {
|
|
3398
3892
|
kind: 'alert';
|
|
3399
3893
|
|
|
@@ -3514,6 +4008,7 @@ export interface ConfigDiffParams {
|
|
|
3514
4008
|
| ConfigDiffParams.MetricConfig
|
|
3515
4009
|
| ConfigDiffParams.SimulationPlanConfig
|
|
3516
4010
|
| ConfigDiffParams.QaSimulationPlanConfig
|
|
4011
|
+
| ConfigDiffParams.SimulationGroupConfig
|
|
3517
4012
|
| ConfigDiffParams.AlertConfig
|
|
3518
4013
|
| ConfigDiffParams.ToolConfig
|
|
3519
4014
|
| ConfigDiffParams.ProjectConfig
|
|
@@ -3747,6 +4242,8 @@ export namespace ConfigDiffParams {
|
|
|
3747
4242
|
|
|
3748
4243
|
expectations?: Array<string>;
|
|
3749
4244
|
|
|
4245
|
+
includeFlowExpectations?: boolean;
|
|
4246
|
+
|
|
3750
4247
|
persona?: string;
|
|
3751
4248
|
|
|
3752
4249
|
prompt?: string;
|
|
@@ -4205,6 +4702,126 @@ export namespace ConfigDiffParams {
|
|
|
4205
4702
|
}
|
|
4206
4703
|
}
|
|
4207
4704
|
|
|
4705
|
+
export interface SimulationGroupConfig {
|
|
4706
|
+
kind: 'simulationGroup';
|
|
4707
|
+
|
|
4708
|
+
name: string;
|
|
4709
|
+
|
|
4710
|
+
plans: Array<string>;
|
|
4711
|
+
|
|
4712
|
+
description?: string | null;
|
|
4713
|
+
|
|
4714
|
+
notify?: SimulationGroupConfig.Notify;
|
|
4715
|
+
|
|
4716
|
+
schedule?:
|
|
4717
|
+
| SimulationGroupConfig.UnionMember0
|
|
4718
|
+
| SimulationGroupConfig.UnionMember1
|
|
4719
|
+
| SimulationGroupConfig.UnionMember2
|
|
4720
|
+
| SimulationGroupConfig.UnionMember3
|
|
4721
|
+
| SimulationGroupConfig.UnionMember4
|
|
4722
|
+
| SimulationGroupConfig.UnionMember5;
|
|
4723
|
+
}
|
|
4724
|
+
|
|
4725
|
+
export namespace SimulationGroupConfig {
|
|
4726
|
+
export interface Notify {
|
|
4727
|
+
email?: boolean | Array<string>;
|
|
4728
|
+
|
|
4729
|
+
slack?: Array<Notify.Slack>;
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4732
|
+
export namespace Notify {
|
|
4733
|
+
export interface Slack {
|
|
4734
|
+
channelId: string;
|
|
4735
|
+
|
|
4736
|
+
channelName: string;
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4740
|
+
export interface UnionMember0 {
|
|
4741
|
+
type: 'hourly';
|
|
4742
|
+
|
|
4743
|
+
enabled?: boolean;
|
|
4744
|
+
|
|
4745
|
+
endDate?: string;
|
|
4746
|
+
|
|
4747
|
+
maxRuns?: number;
|
|
4748
|
+
|
|
4749
|
+
minute?: number;
|
|
4750
|
+
|
|
4751
|
+
timezone?: string;
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4754
|
+
export interface UnionMember1 {
|
|
4755
|
+
everyMinutes: number;
|
|
4756
|
+
|
|
4757
|
+
type: 'interval';
|
|
4758
|
+
|
|
4759
|
+
enabled?: boolean;
|
|
4760
|
+
|
|
4761
|
+
endDate?: string;
|
|
4762
|
+
|
|
4763
|
+
maxRuns?: number;
|
|
4764
|
+
|
|
4765
|
+
timezone?: string;
|
|
4766
|
+
}
|
|
4767
|
+
|
|
4768
|
+
export interface UnionMember2 {
|
|
4769
|
+
time: string;
|
|
4770
|
+
|
|
4771
|
+
type: 'daily';
|
|
4772
|
+
|
|
4773
|
+
enabled?: boolean;
|
|
4774
|
+
|
|
4775
|
+
endDate?: string;
|
|
4776
|
+
|
|
4777
|
+
maxRuns?: number;
|
|
4778
|
+
|
|
4779
|
+
timezone?: string;
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
export interface UnionMember3 {
|
|
4783
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
4784
|
+
|
|
4785
|
+
time: string;
|
|
4786
|
+
|
|
4787
|
+
type: 'weekly';
|
|
4788
|
+
|
|
4789
|
+
enabled?: boolean;
|
|
4790
|
+
|
|
4791
|
+
endDate?: string;
|
|
4792
|
+
|
|
4793
|
+
maxRuns?: number;
|
|
4794
|
+
|
|
4795
|
+
timezone?: string;
|
|
4796
|
+
}
|
|
4797
|
+
|
|
4798
|
+
export interface UnionMember4 {
|
|
4799
|
+
dayOfMonth: number;
|
|
4800
|
+
|
|
4801
|
+
time: string;
|
|
4802
|
+
|
|
4803
|
+
type: 'monthly';
|
|
4804
|
+
|
|
4805
|
+
enabled?: boolean;
|
|
4806
|
+
|
|
4807
|
+
endDate?: string;
|
|
4808
|
+
|
|
4809
|
+
maxRuns?: number;
|
|
4810
|
+
|
|
4811
|
+
timezone?: string;
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4814
|
+
export interface UnionMember5 {
|
|
4815
|
+
at: string;
|
|
4816
|
+
|
|
4817
|
+
type: 'once';
|
|
4818
|
+
|
|
4819
|
+
enabled?: boolean;
|
|
4820
|
+
|
|
4821
|
+
timezone?: string;
|
|
4822
|
+
}
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4208
4825
|
export interface AlertConfig {
|
|
4209
4826
|
kind: 'alert';
|
|
4210
4827
|
|
|
@@ -4346,6 +4963,7 @@ export namespace ConfigDiffParams {
|
|
|
4346
4963
|
| ProjectConfig.MetricConfig
|
|
4347
4964
|
| ProjectConfig.SimulationPlanConfig
|
|
4348
4965
|
| ProjectConfig.QaSimulationPlanConfig
|
|
4966
|
+
| ProjectConfig.SimulationGroupConfig
|
|
4349
4967
|
| ProjectConfig.AlertConfig
|
|
4350
4968
|
| ProjectConfig.ToolConfig
|
|
4351
4969
|
>;
|
|
@@ -4582,6 +5200,8 @@ export namespace ConfigDiffParams {
|
|
|
4582
5200
|
|
|
4583
5201
|
expectations?: Array<string>;
|
|
4584
5202
|
|
|
5203
|
+
includeFlowExpectations?: boolean;
|
|
5204
|
+
|
|
4585
5205
|
persona?: string;
|
|
4586
5206
|
|
|
4587
5207
|
prompt?: string;
|
|
@@ -5040,6 +5660,126 @@ export namespace ConfigDiffParams {
|
|
|
5040
5660
|
}
|
|
5041
5661
|
}
|
|
5042
5662
|
|
|
5663
|
+
export interface SimulationGroupConfig {
|
|
5664
|
+
kind: 'simulationGroup';
|
|
5665
|
+
|
|
5666
|
+
name: string;
|
|
5667
|
+
|
|
5668
|
+
plans: Array<string>;
|
|
5669
|
+
|
|
5670
|
+
description?: string | null;
|
|
5671
|
+
|
|
5672
|
+
notify?: SimulationGroupConfig.Notify;
|
|
5673
|
+
|
|
5674
|
+
schedule?:
|
|
5675
|
+
| SimulationGroupConfig.UnionMember0
|
|
5676
|
+
| SimulationGroupConfig.UnionMember1
|
|
5677
|
+
| SimulationGroupConfig.UnionMember2
|
|
5678
|
+
| SimulationGroupConfig.UnionMember3
|
|
5679
|
+
| SimulationGroupConfig.UnionMember4
|
|
5680
|
+
| SimulationGroupConfig.UnionMember5;
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
export namespace SimulationGroupConfig {
|
|
5684
|
+
export interface Notify {
|
|
5685
|
+
email?: boolean | Array<string>;
|
|
5686
|
+
|
|
5687
|
+
slack?: Array<Notify.Slack>;
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
export namespace Notify {
|
|
5691
|
+
export interface Slack {
|
|
5692
|
+
channelId: string;
|
|
5693
|
+
|
|
5694
|
+
channelName: string;
|
|
5695
|
+
}
|
|
5696
|
+
}
|
|
5697
|
+
|
|
5698
|
+
export interface UnionMember0 {
|
|
5699
|
+
type: 'hourly';
|
|
5700
|
+
|
|
5701
|
+
enabled?: boolean;
|
|
5702
|
+
|
|
5703
|
+
endDate?: string;
|
|
5704
|
+
|
|
5705
|
+
maxRuns?: number;
|
|
5706
|
+
|
|
5707
|
+
minute?: number;
|
|
5708
|
+
|
|
5709
|
+
timezone?: string;
|
|
5710
|
+
}
|
|
5711
|
+
|
|
5712
|
+
export interface UnionMember1 {
|
|
5713
|
+
everyMinutes: number;
|
|
5714
|
+
|
|
5715
|
+
type: 'interval';
|
|
5716
|
+
|
|
5717
|
+
enabled?: boolean;
|
|
5718
|
+
|
|
5719
|
+
endDate?: string;
|
|
5720
|
+
|
|
5721
|
+
maxRuns?: number;
|
|
5722
|
+
|
|
5723
|
+
timezone?: string;
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
export interface UnionMember2 {
|
|
5727
|
+
time: string;
|
|
5728
|
+
|
|
5729
|
+
type: 'daily';
|
|
5730
|
+
|
|
5731
|
+
enabled?: boolean;
|
|
5732
|
+
|
|
5733
|
+
endDate?: string;
|
|
5734
|
+
|
|
5735
|
+
maxRuns?: number;
|
|
5736
|
+
|
|
5737
|
+
timezone?: string;
|
|
5738
|
+
}
|
|
5739
|
+
|
|
5740
|
+
export interface UnionMember3 {
|
|
5741
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
5742
|
+
|
|
5743
|
+
time: string;
|
|
5744
|
+
|
|
5745
|
+
type: 'weekly';
|
|
5746
|
+
|
|
5747
|
+
enabled?: boolean;
|
|
5748
|
+
|
|
5749
|
+
endDate?: string;
|
|
5750
|
+
|
|
5751
|
+
maxRuns?: number;
|
|
5752
|
+
|
|
5753
|
+
timezone?: string;
|
|
5754
|
+
}
|
|
5755
|
+
|
|
5756
|
+
export interface UnionMember4 {
|
|
5757
|
+
dayOfMonth: number;
|
|
5758
|
+
|
|
5759
|
+
time: string;
|
|
5760
|
+
|
|
5761
|
+
type: 'monthly';
|
|
5762
|
+
|
|
5763
|
+
enabled?: boolean;
|
|
5764
|
+
|
|
5765
|
+
endDate?: string;
|
|
5766
|
+
|
|
5767
|
+
maxRuns?: number;
|
|
5768
|
+
|
|
5769
|
+
timezone?: string;
|
|
5770
|
+
}
|
|
5771
|
+
|
|
5772
|
+
export interface UnionMember5 {
|
|
5773
|
+
at: string;
|
|
5774
|
+
|
|
5775
|
+
type: 'once';
|
|
5776
|
+
|
|
5777
|
+
enabled?: boolean;
|
|
5778
|
+
|
|
5779
|
+
timezone?: string;
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5782
|
+
|
|
5043
5783
|
export interface AlertConfig {
|
|
5044
5784
|
kind: 'alert';
|
|
5045
5785
|
|