@roarkanalytics/sdk 5.3.0 → 5.4.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.
@@ -34,7 +34,7 @@ export declare class Config extends APIResource {
34
34
  diff(body: ConfigDiffParams, options?: RequestOptions): APIPromise<ConfigDiffResponse>;
35
35
  }
36
36
  export interface Bundle {
37
- resources: Array<Bundle.AgentConfig | Bundle.HTTPRequestDefinitionConfig | Bundle.PersonaConfig | Bundle.ImprovFlowConfig | Bundle.ScriptedFlowConfig | Bundle.CollectorConfig | Bundle.MetricConfig | Bundle.SimulationPlanConfig | Bundle.QaSimulationPlanConfig | Bundle.AlertConfig | Bundle.ToolConfig | Bundle.ProjectConfig>;
37
+ resources: Array<Bundle.AgentConfig | Bundle.HTTPRequestDefinitionConfig | Bundle.PersonaConfig | Bundle.ImprovFlowConfig | Bundle.ScriptedFlowConfig | Bundle.CollectorConfig | Bundle.MetricConfig | Bundle.SimulationPlanConfig | Bundle.QaSimulationPlanConfig | Bundle.SimulationGroupConfig | Bundle.AlertConfig | Bundle.ToolConfig | Bundle.ProjectConfig>;
38
38
  prune?: boolean;
39
39
  }
40
40
  export declare namespace Bundle {
@@ -373,6 +373,74 @@ export declare namespace Bundle {
373
373
  timezone?: string;
374
374
  }
375
375
  }
376
+ interface SimulationGroupConfig {
377
+ kind: 'simulationGroup';
378
+ name: string;
379
+ plans: Array<string>;
380
+ description?: string | null;
381
+ notify?: SimulationGroupConfig.Notify;
382
+ schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
383
+ }
384
+ namespace SimulationGroupConfig {
385
+ interface Notify {
386
+ email?: boolean | Array<string>;
387
+ slack?: Array<Notify.Slack>;
388
+ }
389
+ namespace Notify {
390
+ interface Slack {
391
+ channelId: string;
392
+ channelName: string;
393
+ }
394
+ }
395
+ interface UnionMember0 {
396
+ type: 'hourly';
397
+ enabled?: boolean;
398
+ endDate?: string;
399
+ maxRuns?: number;
400
+ minute?: number;
401
+ timezone?: string;
402
+ }
403
+ interface UnionMember1 {
404
+ everyMinutes: number;
405
+ type: 'interval';
406
+ enabled?: boolean;
407
+ endDate?: string;
408
+ maxRuns?: number;
409
+ timezone?: string;
410
+ }
411
+ interface UnionMember2 {
412
+ time: string;
413
+ type: 'daily';
414
+ enabled?: boolean;
415
+ endDate?: string;
416
+ maxRuns?: number;
417
+ timezone?: string;
418
+ }
419
+ interface UnionMember3 {
420
+ days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
421
+ time: string;
422
+ type: 'weekly';
423
+ enabled?: boolean;
424
+ endDate?: string;
425
+ maxRuns?: number;
426
+ timezone?: string;
427
+ }
428
+ interface UnionMember4 {
429
+ dayOfMonth: number;
430
+ time: string;
431
+ type: 'monthly';
432
+ enabled?: boolean;
433
+ endDate?: string;
434
+ maxRuns?: number;
435
+ timezone?: string;
436
+ }
437
+ interface UnionMember5 {
438
+ at: string;
439
+ type: 'once';
440
+ enabled?: boolean;
441
+ timezone?: string;
442
+ }
443
+ }
376
444
  interface AlertConfig {
377
445
  kind: 'alert';
378
446
  name: string;
@@ -435,7 +503,7 @@ export declare namespace Bundle {
435
503
  description?: string;
436
504
  displayName?: string;
437
505
  members?: Array<ProjectConfig.Member>;
438
- resources?: Array<ProjectConfig.AgentConfig | ProjectConfig.HTTPRequestDefinitionConfig | ProjectConfig.PersonaConfig | ProjectConfig.ImprovFlowConfig | ProjectConfig.ScriptedFlowConfig | ProjectConfig.CollectorConfig | ProjectConfig.MetricConfig | ProjectConfig.SimulationPlanConfig | ProjectConfig.QaSimulationPlanConfig | ProjectConfig.AlertConfig | ProjectConfig.ToolConfig>;
506
+ resources?: Array<ProjectConfig.AgentConfig | ProjectConfig.HTTPRequestDefinitionConfig | ProjectConfig.PersonaConfig | ProjectConfig.ImprovFlowConfig | ProjectConfig.ScriptedFlowConfig | ProjectConfig.CollectorConfig | ProjectConfig.MetricConfig | ProjectConfig.SimulationPlanConfig | ProjectConfig.QaSimulationPlanConfig | ProjectConfig.SimulationGroupConfig | ProjectConfig.AlertConfig | ProjectConfig.ToolConfig>;
439
507
  }
440
508
  namespace ProjectConfig {
441
509
  interface Member {
@@ -777,6 +845,74 @@ export declare namespace Bundle {
777
845
  timezone?: string;
778
846
  }
779
847
  }
848
+ interface SimulationGroupConfig {
849
+ kind: 'simulationGroup';
850
+ name: string;
851
+ plans: Array<string>;
852
+ description?: string | null;
853
+ notify?: SimulationGroupConfig.Notify;
854
+ schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
855
+ }
856
+ namespace SimulationGroupConfig {
857
+ interface Notify {
858
+ email?: boolean | Array<string>;
859
+ slack?: Array<Notify.Slack>;
860
+ }
861
+ namespace Notify {
862
+ interface Slack {
863
+ channelId: string;
864
+ channelName: string;
865
+ }
866
+ }
867
+ interface UnionMember0 {
868
+ type: 'hourly';
869
+ enabled?: boolean;
870
+ endDate?: string;
871
+ maxRuns?: number;
872
+ minute?: number;
873
+ timezone?: string;
874
+ }
875
+ interface UnionMember1 {
876
+ everyMinutes: number;
877
+ type: 'interval';
878
+ enabled?: boolean;
879
+ endDate?: string;
880
+ maxRuns?: number;
881
+ timezone?: string;
882
+ }
883
+ interface UnionMember2 {
884
+ time: string;
885
+ type: 'daily';
886
+ enabled?: boolean;
887
+ endDate?: string;
888
+ maxRuns?: number;
889
+ timezone?: string;
890
+ }
891
+ interface UnionMember3 {
892
+ days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
893
+ time: string;
894
+ type: 'weekly';
895
+ enabled?: boolean;
896
+ endDate?: string;
897
+ maxRuns?: number;
898
+ timezone?: string;
899
+ }
900
+ interface UnionMember4 {
901
+ dayOfMonth: number;
902
+ time: string;
903
+ type: 'monthly';
904
+ enabled?: boolean;
905
+ endDate?: string;
906
+ maxRuns?: number;
907
+ timezone?: string;
908
+ }
909
+ interface UnionMember5 {
910
+ at: string;
911
+ type: 'once';
912
+ enabled?: boolean;
913
+ timezone?: string;
914
+ }
915
+ }
780
916
  interface AlertConfig {
781
917
  kind: 'alert';
782
918
  name: string;
@@ -875,7 +1011,7 @@ export declare namespace ConfigApplyResponse {
875
1011
  namespace Data {
876
1012
  interface Change {
877
1013
  configKey: string;
878
- kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'alert' | 'tool' | 'project' | 'member';
1014
+ kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'simulationGroup' | 'alert' | 'tool' | 'project' | 'member';
879
1015
  name: string;
880
1016
  op: 'create' | 'update' | 'delete' | 'noop';
881
1017
  status: 'applied' | 'skipped' | 'failed';
@@ -905,7 +1041,7 @@ export declare namespace ConfigDiffResponse {
905
1041
  namespace Data {
906
1042
  interface Change {
907
1043
  configKey: string;
908
- kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'alert' | 'tool' | 'project' | 'member';
1044
+ kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'simulationGroup' | 'alert' | 'tool' | 'project' | 'member';
909
1045
  name: string;
910
1046
  op: 'create' | 'update' | 'delete' | 'noop';
911
1047
  detail?: string;
@@ -920,7 +1056,7 @@ export declare namespace ConfigDiffResponse {
920
1056
  }
921
1057
  }
922
1058
  export interface ConfigApplyParams {
923
- resources: Array<ConfigApplyParams.AgentConfig | ConfigApplyParams.HTTPRequestDefinitionConfig | ConfigApplyParams.PersonaConfig | ConfigApplyParams.ImprovFlowConfig | ConfigApplyParams.ScriptedFlowConfig | ConfigApplyParams.CollectorConfig | ConfigApplyParams.MetricConfig | ConfigApplyParams.SimulationPlanConfig | ConfigApplyParams.QaSimulationPlanConfig | ConfigApplyParams.AlertConfig | ConfigApplyParams.ToolConfig | ConfigApplyParams.ProjectConfig>;
1059
+ resources: Array<ConfigApplyParams.AgentConfig | ConfigApplyParams.HTTPRequestDefinitionConfig | ConfigApplyParams.PersonaConfig | ConfigApplyParams.ImprovFlowConfig | ConfigApplyParams.ScriptedFlowConfig | ConfigApplyParams.CollectorConfig | ConfigApplyParams.MetricConfig | ConfigApplyParams.SimulationPlanConfig | ConfigApplyParams.QaSimulationPlanConfig | ConfigApplyParams.SimulationGroupConfig | ConfigApplyParams.AlertConfig | ConfigApplyParams.ToolConfig | ConfigApplyParams.ProjectConfig>;
924
1060
  prune?: boolean;
925
1061
  }
926
1062
  export declare namespace ConfigApplyParams {
@@ -1259,6 +1395,74 @@ export declare namespace ConfigApplyParams {
1259
1395
  timezone?: string;
1260
1396
  }
1261
1397
  }
1398
+ interface SimulationGroupConfig {
1399
+ kind: 'simulationGroup';
1400
+ name: string;
1401
+ plans: Array<string>;
1402
+ description?: string | null;
1403
+ notify?: SimulationGroupConfig.Notify;
1404
+ schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
1405
+ }
1406
+ namespace SimulationGroupConfig {
1407
+ interface Notify {
1408
+ email?: boolean | Array<string>;
1409
+ slack?: Array<Notify.Slack>;
1410
+ }
1411
+ namespace Notify {
1412
+ interface Slack {
1413
+ channelId: string;
1414
+ channelName: string;
1415
+ }
1416
+ }
1417
+ interface UnionMember0 {
1418
+ type: 'hourly';
1419
+ enabled?: boolean;
1420
+ endDate?: string;
1421
+ maxRuns?: number;
1422
+ minute?: number;
1423
+ timezone?: string;
1424
+ }
1425
+ interface UnionMember1 {
1426
+ everyMinutes: number;
1427
+ type: 'interval';
1428
+ enabled?: boolean;
1429
+ endDate?: string;
1430
+ maxRuns?: number;
1431
+ timezone?: string;
1432
+ }
1433
+ interface UnionMember2 {
1434
+ time: string;
1435
+ type: 'daily';
1436
+ enabled?: boolean;
1437
+ endDate?: string;
1438
+ maxRuns?: number;
1439
+ timezone?: string;
1440
+ }
1441
+ interface UnionMember3 {
1442
+ days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
1443
+ time: string;
1444
+ type: 'weekly';
1445
+ enabled?: boolean;
1446
+ endDate?: string;
1447
+ maxRuns?: number;
1448
+ timezone?: string;
1449
+ }
1450
+ interface UnionMember4 {
1451
+ dayOfMonth: number;
1452
+ time: string;
1453
+ type: 'monthly';
1454
+ enabled?: boolean;
1455
+ endDate?: string;
1456
+ maxRuns?: number;
1457
+ timezone?: string;
1458
+ }
1459
+ interface UnionMember5 {
1460
+ at: string;
1461
+ type: 'once';
1462
+ enabled?: boolean;
1463
+ timezone?: string;
1464
+ }
1465
+ }
1262
1466
  interface AlertConfig {
1263
1467
  kind: 'alert';
1264
1468
  name: string;
@@ -1321,7 +1525,7 @@ export declare namespace ConfigApplyParams {
1321
1525
  description?: string;
1322
1526
  displayName?: string;
1323
1527
  members?: Array<ProjectConfig.Member>;
1324
- resources?: Array<ProjectConfig.AgentConfig | ProjectConfig.HTTPRequestDefinitionConfig | ProjectConfig.PersonaConfig | ProjectConfig.ImprovFlowConfig | ProjectConfig.ScriptedFlowConfig | ProjectConfig.CollectorConfig | ProjectConfig.MetricConfig | ProjectConfig.SimulationPlanConfig | ProjectConfig.QaSimulationPlanConfig | ProjectConfig.AlertConfig | ProjectConfig.ToolConfig>;
1528
+ resources?: Array<ProjectConfig.AgentConfig | ProjectConfig.HTTPRequestDefinitionConfig | ProjectConfig.PersonaConfig | ProjectConfig.ImprovFlowConfig | ProjectConfig.ScriptedFlowConfig | ProjectConfig.CollectorConfig | ProjectConfig.MetricConfig | ProjectConfig.SimulationPlanConfig | ProjectConfig.QaSimulationPlanConfig | ProjectConfig.SimulationGroupConfig | ProjectConfig.AlertConfig | ProjectConfig.ToolConfig>;
1325
1529
  }
1326
1530
  namespace ProjectConfig {
1327
1531
  interface Member {
@@ -1663,6 +1867,74 @@ export declare namespace ConfigApplyParams {
1663
1867
  timezone?: string;
1664
1868
  }
1665
1869
  }
1870
+ interface SimulationGroupConfig {
1871
+ kind: 'simulationGroup';
1872
+ name: string;
1873
+ plans: Array<string>;
1874
+ description?: string | null;
1875
+ notify?: SimulationGroupConfig.Notify;
1876
+ schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
1877
+ }
1878
+ namespace SimulationGroupConfig {
1879
+ interface Notify {
1880
+ email?: boolean | Array<string>;
1881
+ slack?: Array<Notify.Slack>;
1882
+ }
1883
+ namespace Notify {
1884
+ interface Slack {
1885
+ channelId: string;
1886
+ channelName: string;
1887
+ }
1888
+ }
1889
+ interface UnionMember0 {
1890
+ type: 'hourly';
1891
+ enabled?: boolean;
1892
+ endDate?: string;
1893
+ maxRuns?: number;
1894
+ minute?: number;
1895
+ timezone?: string;
1896
+ }
1897
+ interface UnionMember1 {
1898
+ everyMinutes: number;
1899
+ type: 'interval';
1900
+ enabled?: boolean;
1901
+ endDate?: string;
1902
+ maxRuns?: number;
1903
+ timezone?: string;
1904
+ }
1905
+ interface UnionMember2 {
1906
+ time: string;
1907
+ type: 'daily';
1908
+ enabled?: boolean;
1909
+ endDate?: string;
1910
+ maxRuns?: number;
1911
+ timezone?: string;
1912
+ }
1913
+ interface UnionMember3 {
1914
+ days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
1915
+ time: string;
1916
+ type: 'weekly';
1917
+ enabled?: boolean;
1918
+ endDate?: string;
1919
+ maxRuns?: number;
1920
+ timezone?: string;
1921
+ }
1922
+ interface UnionMember4 {
1923
+ dayOfMonth: number;
1924
+ time: string;
1925
+ type: 'monthly';
1926
+ enabled?: boolean;
1927
+ endDate?: string;
1928
+ maxRuns?: number;
1929
+ timezone?: string;
1930
+ }
1931
+ interface UnionMember5 {
1932
+ at: string;
1933
+ type: 'once';
1934
+ enabled?: boolean;
1935
+ timezone?: string;
1936
+ }
1937
+ }
1666
1938
  interface AlertConfig {
1667
1939
  kind: 'alert';
1668
1940
  name: string;
@@ -1720,7 +1992,7 @@ export declare namespace ConfigApplyParams {
1720
1992
  }
1721
1993
  }
1722
1994
  export interface ConfigDiffParams {
1723
- resources: Array<ConfigDiffParams.AgentConfig | ConfigDiffParams.HTTPRequestDefinitionConfig | ConfigDiffParams.PersonaConfig | ConfigDiffParams.ImprovFlowConfig | ConfigDiffParams.ScriptedFlowConfig | ConfigDiffParams.CollectorConfig | ConfigDiffParams.MetricConfig | ConfigDiffParams.SimulationPlanConfig | ConfigDiffParams.QaSimulationPlanConfig | ConfigDiffParams.AlertConfig | ConfigDiffParams.ToolConfig | ConfigDiffParams.ProjectConfig>;
1995
+ resources: Array<ConfigDiffParams.AgentConfig | ConfigDiffParams.HTTPRequestDefinitionConfig | ConfigDiffParams.PersonaConfig | ConfigDiffParams.ImprovFlowConfig | ConfigDiffParams.ScriptedFlowConfig | ConfigDiffParams.CollectorConfig | ConfigDiffParams.MetricConfig | ConfigDiffParams.SimulationPlanConfig | ConfigDiffParams.QaSimulationPlanConfig | ConfigDiffParams.SimulationGroupConfig | ConfigDiffParams.AlertConfig | ConfigDiffParams.ToolConfig | ConfigDiffParams.ProjectConfig>;
1724
1996
  prune?: boolean;
1725
1997
  }
1726
1998
  export declare namespace ConfigDiffParams {
@@ -2059,6 +2331,74 @@ export declare namespace ConfigDiffParams {
2059
2331
  timezone?: string;
2060
2332
  }
2061
2333
  }
2334
+ interface SimulationGroupConfig {
2335
+ kind: 'simulationGroup';
2336
+ name: string;
2337
+ plans: Array<string>;
2338
+ description?: string | null;
2339
+ notify?: SimulationGroupConfig.Notify;
2340
+ schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
2341
+ }
2342
+ namespace SimulationGroupConfig {
2343
+ interface Notify {
2344
+ email?: boolean | Array<string>;
2345
+ slack?: Array<Notify.Slack>;
2346
+ }
2347
+ namespace Notify {
2348
+ interface Slack {
2349
+ channelId: string;
2350
+ channelName: string;
2351
+ }
2352
+ }
2353
+ interface UnionMember0 {
2354
+ type: 'hourly';
2355
+ enabled?: boolean;
2356
+ endDate?: string;
2357
+ maxRuns?: number;
2358
+ minute?: number;
2359
+ timezone?: string;
2360
+ }
2361
+ interface UnionMember1 {
2362
+ everyMinutes: number;
2363
+ type: 'interval';
2364
+ enabled?: boolean;
2365
+ endDate?: string;
2366
+ maxRuns?: number;
2367
+ timezone?: string;
2368
+ }
2369
+ interface UnionMember2 {
2370
+ time: string;
2371
+ type: 'daily';
2372
+ enabled?: boolean;
2373
+ endDate?: string;
2374
+ maxRuns?: number;
2375
+ timezone?: string;
2376
+ }
2377
+ interface UnionMember3 {
2378
+ days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
2379
+ time: string;
2380
+ type: 'weekly';
2381
+ enabled?: boolean;
2382
+ endDate?: string;
2383
+ maxRuns?: number;
2384
+ timezone?: string;
2385
+ }
2386
+ interface UnionMember4 {
2387
+ dayOfMonth: number;
2388
+ time: string;
2389
+ type: 'monthly';
2390
+ enabled?: boolean;
2391
+ endDate?: string;
2392
+ maxRuns?: number;
2393
+ timezone?: string;
2394
+ }
2395
+ interface UnionMember5 {
2396
+ at: string;
2397
+ type: 'once';
2398
+ enabled?: boolean;
2399
+ timezone?: string;
2400
+ }
2401
+ }
2062
2402
  interface AlertConfig {
2063
2403
  kind: 'alert';
2064
2404
  name: string;
@@ -2121,7 +2461,7 @@ export declare namespace ConfigDiffParams {
2121
2461
  description?: string;
2122
2462
  displayName?: string;
2123
2463
  members?: Array<ProjectConfig.Member>;
2124
- resources?: Array<ProjectConfig.AgentConfig | ProjectConfig.HTTPRequestDefinitionConfig | ProjectConfig.PersonaConfig | ProjectConfig.ImprovFlowConfig | ProjectConfig.ScriptedFlowConfig | ProjectConfig.CollectorConfig | ProjectConfig.MetricConfig | ProjectConfig.SimulationPlanConfig | ProjectConfig.QaSimulationPlanConfig | ProjectConfig.AlertConfig | ProjectConfig.ToolConfig>;
2464
+ resources?: Array<ProjectConfig.AgentConfig | ProjectConfig.HTTPRequestDefinitionConfig | ProjectConfig.PersonaConfig | ProjectConfig.ImprovFlowConfig | ProjectConfig.ScriptedFlowConfig | ProjectConfig.CollectorConfig | ProjectConfig.MetricConfig | ProjectConfig.SimulationPlanConfig | ProjectConfig.QaSimulationPlanConfig | ProjectConfig.SimulationGroupConfig | ProjectConfig.AlertConfig | ProjectConfig.ToolConfig>;
2125
2465
  }
2126
2466
  namespace ProjectConfig {
2127
2467
  interface Member {
@@ -2463,6 +2803,74 @@ export declare namespace ConfigDiffParams {
2463
2803
  timezone?: string;
2464
2804
  }
2465
2805
  }
2806
+ interface SimulationGroupConfig {
2807
+ kind: 'simulationGroup';
2808
+ name: string;
2809
+ plans: Array<string>;
2810
+ description?: string | null;
2811
+ notify?: SimulationGroupConfig.Notify;
2812
+ schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
2813
+ }
2814
+ namespace SimulationGroupConfig {
2815
+ interface Notify {
2816
+ email?: boolean | Array<string>;
2817
+ slack?: Array<Notify.Slack>;
2818
+ }
2819
+ namespace Notify {
2820
+ interface Slack {
2821
+ channelId: string;
2822
+ channelName: string;
2823
+ }
2824
+ }
2825
+ interface UnionMember0 {
2826
+ type: 'hourly';
2827
+ enabled?: boolean;
2828
+ endDate?: string;
2829
+ maxRuns?: number;
2830
+ minute?: number;
2831
+ timezone?: string;
2832
+ }
2833
+ interface UnionMember1 {
2834
+ everyMinutes: number;
2835
+ type: 'interval';
2836
+ enabled?: boolean;
2837
+ endDate?: string;
2838
+ maxRuns?: number;
2839
+ timezone?: string;
2840
+ }
2841
+ interface UnionMember2 {
2842
+ time: string;
2843
+ type: 'daily';
2844
+ enabled?: boolean;
2845
+ endDate?: string;
2846
+ maxRuns?: number;
2847
+ timezone?: string;
2848
+ }
2849
+ interface UnionMember3 {
2850
+ days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
2851
+ time: string;
2852
+ type: 'weekly';
2853
+ enabled?: boolean;
2854
+ endDate?: string;
2855
+ maxRuns?: number;
2856
+ timezone?: string;
2857
+ }
2858
+ interface UnionMember4 {
2859
+ dayOfMonth: number;
2860
+ time: string;
2861
+ type: 'monthly';
2862
+ enabled?: boolean;
2863
+ endDate?: string;
2864
+ maxRuns?: number;
2865
+ timezone?: string;
2866
+ }
2867
+ interface UnionMember5 {
2868
+ at: string;
2869
+ type: 'once';
2870
+ enabled?: boolean;
2871
+ timezone?: string;
2872
+ }
2873
+ }
2466
2874
  interface AlertConfig {
2467
2875
  kind: 'alert';
2468
2876
  name: string;