@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/resources/config.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -121,6 +121,7 @@ export declare namespace Bundle {
|
|
|
121
121
|
name: string;
|
|
122
122
|
environment?: string;
|
|
123
123
|
expectations?: Array<string>;
|
|
124
|
+
includeFlowExpectations?: boolean;
|
|
124
125
|
persona?: string;
|
|
125
126
|
prompt?: string;
|
|
126
127
|
title?: string;
|
|
@@ -373,6 +374,74 @@ export declare namespace Bundle {
|
|
|
373
374
|
timezone?: string;
|
|
374
375
|
}
|
|
375
376
|
}
|
|
377
|
+
interface SimulationGroupConfig {
|
|
378
|
+
kind: 'simulationGroup';
|
|
379
|
+
name: string;
|
|
380
|
+
plans: Array<string>;
|
|
381
|
+
description?: string | null;
|
|
382
|
+
notify?: SimulationGroupConfig.Notify;
|
|
383
|
+
schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
|
|
384
|
+
}
|
|
385
|
+
namespace SimulationGroupConfig {
|
|
386
|
+
interface Notify {
|
|
387
|
+
email?: boolean | Array<string>;
|
|
388
|
+
slack?: Array<Notify.Slack>;
|
|
389
|
+
}
|
|
390
|
+
namespace Notify {
|
|
391
|
+
interface Slack {
|
|
392
|
+
channelId: string;
|
|
393
|
+
channelName: string;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
interface UnionMember0 {
|
|
397
|
+
type: 'hourly';
|
|
398
|
+
enabled?: boolean;
|
|
399
|
+
endDate?: string;
|
|
400
|
+
maxRuns?: number;
|
|
401
|
+
minute?: number;
|
|
402
|
+
timezone?: string;
|
|
403
|
+
}
|
|
404
|
+
interface UnionMember1 {
|
|
405
|
+
everyMinutes: number;
|
|
406
|
+
type: 'interval';
|
|
407
|
+
enabled?: boolean;
|
|
408
|
+
endDate?: string;
|
|
409
|
+
maxRuns?: number;
|
|
410
|
+
timezone?: string;
|
|
411
|
+
}
|
|
412
|
+
interface UnionMember2 {
|
|
413
|
+
time: string;
|
|
414
|
+
type: 'daily';
|
|
415
|
+
enabled?: boolean;
|
|
416
|
+
endDate?: string;
|
|
417
|
+
maxRuns?: number;
|
|
418
|
+
timezone?: string;
|
|
419
|
+
}
|
|
420
|
+
interface UnionMember3 {
|
|
421
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
422
|
+
time: string;
|
|
423
|
+
type: 'weekly';
|
|
424
|
+
enabled?: boolean;
|
|
425
|
+
endDate?: string;
|
|
426
|
+
maxRuns?: number;
|
|
427
|
+
timezone?: string;
|
|
428
|
+
}
|
|
429
|
+
interface UnionMember4 {
|
|
430
|
+
dayOfMonth: number;
|
|
431
|
+
time: string;
|
|
432
|
+
type: 'monthly';
|
|
433
|
+
enabled?: boolean;
|
|
434
|
+
endDate?: string;
|
|
435
|
+
maxRuns?: number;
|
|
436
|
+
timezone?: string;
|
|
437
|
+
}
|
|
438
|
+
interface UnionMember5 {
|
|
439
|
+
at: string;
|
|
440
|
+
type: 'once';
|
|
441
|
+
enabled?: boolean;
|
|
442
|
+
timezone?: string;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
376
445
|
interface AlertConfig {
|
|
377
446
|
kind: 'alert';
|
|
378
447
|
name: string;
|
|
@@ -435,7 +504,7 @@ export declare namespace Bundle {
|
|
|
435
504
|
description?: string;
|
|
436
505
|
displayName?: string;
|
|
437
506
|
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>;
|
|
507
|
+
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
508
|
}
|
|
440
509
|
namespace ProjectConfig {
|
|
441
510
|
interface Member {
|
|
@@ -525,6 +594,7 @@ export declare namespace Bundle {
|
|
|
525
594
|
name: string;
|
|
526
595
|
environment?: string;
|
|
527
596
|
expectations?: Array<string>;
|
|
597
|
+
includeFlowExpectations?: boolean;
|
|
528
598
|
persona?: string;
|
|
529
599
|
prompt?: string;
|
|
530
600
|
title?: string;
|
|
@@ -777,6 +847,74 @@ export declare namespace Bundle {
|
|
|
777
847
|
timezone?: string;
|
|
778
848
|
}
|
|
779
849
|
}
|
|
850
|
+
interface SimulationGroupConfig {
|
|
851
|
+
kind: 'simulationGroup';
|
|
852
|
+
name: string;
|
|
853
|
+
plans: Array<string>;
|
|
854
|
+
description?: string | null;
|
|
855
|
+
notify?: SimulationGroupConfig.Notify;
|
|
856
|
+
schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
|
|
857
|
+
}
|
|
858
|
+
namespace SimulationGroupConfig {
|
|
859
|
+
interface Notify {
|
|
860
|
+
email?: boolean | Array<string>;
|
|
861
|
+
slack?: Array<Notify.Slack>;
|
|
862
|
+
}
|
|
863
|
+
namespace Notify {
|
|
864
|
+
interface Slack {
|
|
865
|
+
channelId: string;
|
|
866
|
+
channelName: string;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
interface UnionMember0 {
|
|
870
|
+
type: 'hourly';
|
|
871
|
+
enabled?: boolean;
|
|
872
|
+
endDate?: string;
|
|
873
|
+
maxRuns?: number;
|
|
874
|
+
minute?: number;
|
|
875
|
+
timezone?: string;
|
|
876
|
+
}
|
|
877
|
+
interface UnionMember1 {
|
|
878
|
+
everyMinutes: number;
|
|
879
|
+
type: 'interval';
|
|
880
|
+
enabled?: boolean;
|
|
881
|
+
endDate?: string;
|
|
882
|
+
maxRuns?: number;
|
|
883
|
+
timezone?: string;
|
|
884
|
+
}
|
|
885
|
+
interface UnionMember2 {
|
|
886
|
+
time: string;
|
|
887
|
+
type: 'daily';
|
|
888
|
+
enabled?: boolean;
|
|
889
|
+
endDate?: string;
|
|
890
|
+
maxRuns?: number;
|
|
891
|
+
timezone?: string;
|
|
892
|
+
}
|
|
893
|
+
interface UnionMember3 {
|
|
894
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
895
|
+
time: string;
|
|
896
|
+
type: 'weekly';
|
|
897
|
+
enabled?: boolean;
|
|
898
|
+
endDate?: string;
|
|
899
|
+
maxRuns?: number;
|
|
900
|
+
timezone?: string;
|
|
901
|
+
}
|
|
902
|
+
interface UnionMember4 {
|
|
903
|
+
dayOfMonth: number;
|
|
904
|
+
time: string;
|
|
905
|
+
type: 'monthly';
|
|
906
|
+
enabled?: boolean;
|
|
907
|
+
endDate?: string;
|
|
908
|
+
maxRuns?: number;
|
|
909
|
+
timezone?: string;
|
|
910
|
+
}
|
|
911
|
+
interface UnionMember5 {
|
|
912
|
+
at: string;
|
|
913
|
+
type: 'once';
|
|
914
|
+
enabled?: boolean;
|
|
915
|
+
timezone?: string;
|
|
916
|
+
}
|
|
917
|
+
}
|
|
780
918
|
interface AlertConfig {
|
|
781
919
|
kind: 'alert';
|
|
782
920
|
name: string;
|
|
@@ -875,7 +1013,7 @@ export declare namespace ConfigApplyResponse {
|
|
|
875
1013
|
namespace Data {
|
|
876
1014
|
interface Change {
|
|
877
1015
|
configKey: string;
|
|
878
|
-
kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'alert' | 'tool' | 'project' | 'member';
|
|
1016
|
+
kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'simulationGroup' | 'alert' | 'tool' | 'project' | 'member';
|
|
879
1017
|
name: string;
|
|
880
1018
|
op: 'create' | 'update' | 'delete' | 'noop';
|
|
881
1019
|
status: 'applied' | 'skipped' | 'failed';
|
|
@@ -905,7 +1043,7 @@ export declare namespace ConfigDiffResponse {
|
|
|
905
1043
|
namespace Data {
|
|
906
1044
|
interface Change {
|
|
907
1045
|
configKey: string;
|
|
908
|
-
kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'alert' | 'tool' | 'project' | 'member';
|
|
1046
|
+
kind: 'agent' | 'persona' | 'httpRequestDefinition' | 'flow' | 'collector' | 'metric' | 'simulationPlan' | 'simulationGroup' | 'alert' | 'tool' | 'project' | 'member';
|
|
909
1047
|
name: string;
|
|
910
1048
|
op: 'create' | 'update' | 'delete' | 'noop';
|
|
911
1049
|
detail?: string;
|
|
@@ -920,7 +1058,7 @@ export declare namespace ConfigDiffResponse {
|
|
|
920
1058
|
}
|
|
921
1059
|
}
|
|
922
1060
|
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>;
|
|
1061
|
+
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
1062
|
prune?: boolean;
|
|
925
1063
|
}
|
|
926
1064
|
export declare namespace ConfigApplyParams {
|
|
@@ -1007,6 +1145,7 @@ export declare namespace ConfigApplyParams {
|
|
|
1007
1145
|
name: string;
|
|
1008
1146
|
environment?: string;
|
|
1009
1147
|
expectations?: Array<string>;
|
|
1148
|
+
includeFlowExpectations?: boolean;
|
|
1010
1149
|
persona?: string;
|
|
1011
1150
|
prompt?: string;
|
|
1012
1151
|
title?: string;
|
|
@@ -1259,6 +1398,74 @@ export declare namespace ConfigApplyParams {
|
|
|
1259
1398
|
timezone?: string;
|
|
1260
1399
|
}
|
|
1261
1400
|
}
|
|
1401
|
+
interface SimulationGroupConfig {
|
|
1402
|
+
kind: 'simulationGroup';
|
|
1403
|
+
name: string;
|
|
1404
|
+
plans: Array<string>;
|
|
1405
|
+
description?: string | null;
|
|
1406
|
+
notify?: SimulationGroupConfig.Notify;
|
|
1407
|
+
schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
|
|
1408
|
+
}
|
|
1409
|
+
namespace SimulationGroupConfig {
|
|
1410
|
+
interface Notify {
|
|
1411
|
+
email?: boolean | Array<string>;
|
|
1412
|
+
slack?: Array<Notify.Slack>;
|
|
1413
|
+
}
|
|
1414
|
+
namespace Notify {
|
|
1415
|
+
interface Slack {
|
|
1416
|
+
channelId: string;
|
|
1417
|
+
channelName: string;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
interface UnionMember0 {
|
|
1421
|
+
type: 'hourly';
|
|
1422
|
+
enabled?: boolean;
|
|
1423
|
+
endDate?: string;
|
|
1424
|
+
maxRuns?: number;
|
|
1425
|
+
minute?: number;
|
|
1426
|
+
timezone?: string;
|
|
1427
|
+
}
|
|
1428
|
+
interface UnionMember1 {
|
|
1429
|
+
everyMinutes: number;
|
|
1430
|
+
type: 'interval';
|
|
1431
|
+
enabled?: boolean;
|
|
1432
|
+
endDate?: string;
|
|
1433
|
+
maxRuns?: number;
|
|
1434
|
+
timezone?: string;
|
|
1435
|
+
}
|
|
1436
|
+
interface UnionMember2 {
|
|
1437
|
+
time: string;
|
|
1438
|
+
type: 'daily';
|
|
1439
|
+
enabled?: boolean;
|
|
1440
|
+
endDate?: string;
|
|
1441
|
+
maxRuns?: number;
|
|
1442
|
+
timezone?: string;
|
|
1443
|
+
}
|
|
1444
|
+
interface UnionMember3 {
|
|
1445
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
1446
|
+
time: string;
|
|
1447
|
+
type: 'weekly';
|
|
1448
|
+
enabled?: boolean;
|
|
1449
|
+
endDate?: string;
|
|
1450
|
+
maxRuns?: number;
|
|
1451
|
+
timezone?: string;
|
|
1452
|
+
}
|
|
1453
|
+
interface UnionMember4 {
|
|
1454
|
+
dayOfMonth: number;
|
|
1455
|
+
time: string;
|
|
1456
|
+
type: 'monthly';
|
|
1457
|
+
enabled?: boolean;
|
|
1458
|
+
endDate?: string;
|
|
1459
|
+
maxRuns?: number;
|
|
1460
|
+
timezone?: string;
|
|
1461
|
+
}
|
|
1462
|
+
interface UnionMember5 {
|
|
1463
|
+
at: string;
|
|
1464
|
+
type: 'once';
|
|
1465
|
+
enabled?: boolean;
|
|
1466
|
+
timezone?: string;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1262
1469
|
interface AlertConfig {
|
|
1263
1470
|
kind: 'alert';
|
|
1264
1471
|
name: string;
|
|
@@ -1321,7 +1528,7 @@ export declare namespace ConfigApplyParams {
|
|
|
1321
1528
|
description?: string;
|
|
1322
1529
|
displayName?: string;
|
|
1323
1530
|
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>;
|
|
1531
|
+
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
1532
|
}
|
|
1326
1533
|
namespace ProjectConfig {
|
|
1327
1534
|
interface Member {
|
|
@@ -1411,6 +1618,7 @@ export declare namespace ConfigApplyParams {
|
|
|
1411
1618
|
name: string;
|
|
1412
1619
|
environment?: string;
|
|
1413
1620
|
expectations?: Array<string>;
|
|
1621
|
+
includeFlowExpectations?: boolean;
|
|
1414
1622
|
persona?: string;
|
|
1415
1623
|
prompt?: string;
|
|
1416
1624
|
title?: string;
|
|
@@ -1663,6 +1871,74 @@ export declare namespace ConfigApplyParams {
|
|
|
1663
1871
|
timezone?: string;
|
|
1664
1872
|
}
|
|
1665
1873
|
}
|
|
1874
|
+
interface SimulationGroupConfig {
|
|
1875
|
+
kind: 'simulationGroup';
|
|
1876
|
+
name: string;
|
|
1877
|
+
plans: Array<string>;
|
|
1878
|
+
description?: string | null;
|
|
1879
|
+
notify?: SimulationGroupConfig.Notify;
|
|
1880
|
+
schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
|
|
1881
|
+
}
|
|
1882
|
+
namespace SimulationGroupConfig {
|
|
1883
|
+
interface Notify {
|
|
1884
|
+
email?: boolean | Array<string>;
|
|
1885
|
+
slack?: Array<Notify.Slack>;
|
|
1886
|
+
}
|
|
1887
|
+
namespace Notify {
|
|
1888
|
+
interface Slack {
|
|
1889
|
+
channelId: string;
|
|
1890
|
+
channelName: string;
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
interface UnionMember0 {
|
|
1894
|
+
type: 'hourly';
|
|
1895
|
+
enabled?: boolean;
|
|
1896
|
+
endDate?: string;
|
|
1897
|
+
maxRuns?: number;
|
|
1898
|
+
minute?: number;
|
|
1899
|
+
timezone?: string;
|
|
1900
|
+
}
|
|
1901
|
+
interface UnionMember1 {
|
|
1902
|
+
everyMinutes: number;
|
|
1903
|
+
type: 'interval';
|
|
1904
|
+
enabled?: boolean;
|
|
1905
|
+
endDate?: string;
|
|
1906
|
+
maxRuns?: number;
|
|
1907
|
+
timezone?: string;
|
|
1908
|
+
}
|
|
1909
|
+
interface UnionMember2 {
|
|
1910
|
+
time: string;
|
|
1911
|
+
type: 'daily';
|
|
1912
|
+
enabled?: boolean;
|
|
1913
|
+
endDate?: string;
|
|
1914
|
+
maxRuns?: number;
|
|
1915
|
+
timezone?: string;
|
|
1916
|
+
}
|
|
1917
|
+
interface UnionMember3 {
|
|
1918
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
1919
|
+
time: string;
|
|
1920
|
+
type: 'weekly';
|
|
1921
|
+
enabled?: boolean;
|
|
1922
|
+
endDate?: string;
|
|
1923
|
+
maxRuns?: number;
|
|
1924
|
+
timezone?: string;
|
|
1925
|
+
}
|
|
1926
|
+
interface UnionMember4 {
|
|
1927
|
+
dayOfMonth: number;
|
|
1928
|
+
time: string;
|
|
1929
|
+
type: 'monthly';
|
|
1930
|
+
enabled?: boolean;
|
|
1931
|
+
endDate?: string;
|
|
1932
|
+
maxRuns?: number;
|
|
1933
|
+
timezone?: string;
|
|
1934
|
+
}
|
|
1935
|
+
interface UnionMember5 {
|
|
1936
|
+
at: string;
|
|
1937
|
+
type: 'once';
|
|
1938
|
+
enabled?: boolean;
|
|
1939
|
+
timezone?: string;
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1666
1942
|
interface AlertConfig {
|
|
1667
1943
|
kind: 'alert';
|
|
1668
1944
|
name: string;
|
|
@@ -1720,7 +1996,7 @@ export declare namespace ConfigApplyParams {
|
|
|
1720
1996
|
}
|
|
1721
1997
|
}
|
|
1722
1998
|
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>;
|
|
1999
|
+
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
2000
|
prune?: boolean;
|
|
1725
2001
|
}
|
|
1726
2002
|
export declare namespace ConfigDiffParams {
|
|
@@ -1807,6 +2083,7 @@ export declare namespace ConfigDiffParams {
|
|
|
1807
2083
|
name: string;
|
|
1808
2084
|
environment?: string;
|
|
1809
2085
|
expectations?: Array<string>;
|
|
2086
|
+
includeFlowExpectations?: boolean;
|
|
1810
2087
|
persona?: string;
|
|
1811
2088
|
prompt?: string;
|
|
1812
2089
|
title?: string;
|
|
@@ -2059,6 +2336,74 @@ export declare namespace ConfigDiffParams {
|
|
|
2059
2336
|
timezone?: string;
|
|
2060
2337
|
}
|
|
2061
2338
|
}
|
|
2339
|
+
interface SimulationGroupConfig {
|
|
2340
|
+
kind: 'simulationGroup';
|
|
2341
|
+
name: string;
|
|
2342
|
+
plans: Array<string>;
|
|
2343
|
+
description?: string | null;
|
|
2344
|
+
notify?: SimulationGroupConfig.Notify;
|
|
2345
|
+
schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
|
|
2346
|
+
}
|
|
2347
|
+
namespace SimulationGroupConfig {
|
|
2348
|
+
interface Notify {
|
|
2349
|
+
email?: boolean | Array<string>;
|
|
2350
|
+
slack?: Array<Notify.Slack>;
|
|
2351
|
+
}
|
|
2352
|
+
namespace Notify {
|
|
2353
|
+
interface Slack {
|
|
2354
|
+
channelId: string;
|
|
2355
|
+
channelName: string;
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
interface UnionMember0 {
|
|
2359
|
+
type: 'hourly';
|
|
2360
|
+
enabled?: boolean;
|
|
2361
|
+
endDate?: string;
|
|
2362
|
+
maxRuns?: number;
|
|
2363
|
+
minute?: number;
|
|
2364
|
+
timezone?: string;
|
|
2365
|
+
}
|
|
2366
|
+
interface UnionMember1 {
|
|
2367
|
+
everyMinutes: number;
|
|
2368
|
+
type: 'interval';
|
|
2369
|
+
enabled?: boolean;
|
|
2370
|
+
endDate?: string;
|
|
2371
|
+
maxRuns?: number;
|
|
2372
|
+
timezone?: string;
|
|
2373
|
+
}
|
|
2374
|
+
interface UnionMember2 {
|
|
2375
|
+
time: string;
|
|
2376
|
+
type: 'daily';
|
|
2377
|
+
enabled?: boolean;
|
|
2378
|
+
endDate?: string;
|
|
2379
|
+
maxRuns?: number;
|
|
2380
|
+
timezone?: string;
|
|
2381
|
+
}
|
|
2382
|
+
interface UnionMember3 {
|
|
2383
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
2384
|
+
time: string;
|
|
2385
|
+
type: 'weekly';
|
|
2386
|
+
enabled?: boolean;
|
|
2387
|
+
endDate?: string;
|
|
2388
|
+
maxRuns?: number;
|
|
2389
|
+
timezone?: string;
|
|
2390
|
+
}
|
|
2391
|
+
interface UnionMember4 {
|
|
2392
|
+
dayOfMonth: number;
|
|
2393
|
+
time: string;
|
|
2394
|
+
type: 'monthly';
|
|
2395
|
+
enabled?: boolean;
|
|
2396
|
+
endDate?: string;
|
|
2397
|
+
maxRuns?: number;
|
|
2398
|
+
timezone?: string;
|
|
2399
|
+
}
|
|
2400
|
+
interface UnionMember5 {
|
|
2401
|
+
at: string;
|
|
2402
|
+
type: 'once';
|
|
2403
|
+
enabled?: boolean;
|
|
2404
|
+
timezone?: string;
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2062
2407
|
interface AlertConfig {
|
|
2063
2408
|
kind: 'alert';
|
|
2064
2409
|
name: string;
|
|
@@ -2121,7 +2466,7 @@ export declare namespace ConfigDiffParams {
|
|
|
2121
2466
|
description?: string;
|
|
2122
2467
|
displayName?: string;
|
|
2123
2468
|
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>;
|
|
2469
|
+
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
2470
|
}
|
|
2126
2471
|
namespace ProjectConfig {
|
|
2127
2472
|
interface Member {
|
|
@@ -2211,6 +2556,7 @@ export declare namespace ConfigDiffParams {
|
|
|
2211
2556
|
name: string;
|
|
2212
2557
|
environment?: string;
|
|
2213
2558
|
expectations?: Array<string>;
|
|
2559
|
+
includeFlowExpectations?: boolean;
|
|
2214
2560
|
persona?: string;
|
|
2215
2561
|
prompt?: string;
|
|
2216
2562
|
title?: string;
|
|
@@ -2463,6 +2809,74 @@ export declare namespace ConfigDiffParams {
|
|
|
2463
2809
|
timezone?: string;
|
|
2464
2810
|
}
|
|
2465
2811
|
}
|
|
2812
|
+
interface SimulationGroupConfig {
|
|
2813
|
+
kind: 'simulationGroup';
|
|
2814
|
+
name: string;
|
|
2815
|
+
plans: Array<string>;
|
|
2816
|
+
description?: string | null;
|
|
2817
|
+
notify?: SimulationGroupConfig.Notify;
|
|
2818
|
+
schedule?: SimulationGroupConfig.UnionMember0 | SimulationGroupConfig.UnionMember1 | SimulationGroupConfig.UnionMember2 | SimulationGroupConfig.UnionMember3 | SimulationGroupConfig.UnionMember4 | SimulationGroupConfig.UnionMember5;
|
|
2819
|
+
}
|
|
2820
|
+
namespace SimulationGroupConfig {
|
|
2821
|
+
interface Notify {
|
|
2822
|
+
email?: boolean | Array<string>;
|
|
2823
|
+
slack?: Array<Notify.Slack>;
|
|
2824
|
+
}
|
|
2825
|
+
namespace Notify {
|
|
2826
|
+
interface Slack {
|
|
2827
|
+
channelId: string;
|
|
2828
|
+
channelName: string;
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
interface UnionMember0 {
|
|
2832
|
+
type: 'hourly';
|
|
2833
|
+
enabled?: boolean;
|
|
2834
|
+
endDate?: string;
|
|
2835
|
+
maxRuns?: number;
|
|
2836
|
+
minute?: number;
|
|
2837
|
+
timezone?: string;
|
|
2838
|
+
}
|
|
2839
|
+
interface UnionMember1 {
|
|
2840
|
+
everyMinutes: number;
|
|
2841
|
+
type: 'interval';
|
|
2842
|
+
enabled?: boolean;
|
|
2843
|
+
endDate?: string;
|
|
2844
|
+
maxRuns?: number;
|
|
2845
|
+
timezone?: string;
|
|
2846
|
+
}
|
|
2847
|
+
interface UnionMember2 {
|
|
2848
|
+
time: string;
|
|
2849
|
+
type: 'daily';
|
|
2850
|
+
enabled?: boolean;
|
|
2851
|
+
endDate?: string;
|
|
2852
|
+
maxRuns?: number;
|
|
2853
|
+
timezone?: string;
|
|
2854
|
+
}
|
|
2855
|
+
interface UnionMember3 {
|
|
2856
|
+
days: Array<'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'>;
|
|
2857
|
+
time: string;
|
|
2858
|
+
type: 'weekly';
|
|
2859
|
+
enabled?: boolean;
|
|
2860
|
+
endDate?: string;
|
|
2861
|
+
maxRuns?: number;
|
|
2862
|
+
timezone?: string;
|
|
2863
|
+
}
|
|
2864
|
+
interface UnionMember4 {
|
|
2865
|
+
dayOfMonth: number;
|
|
2866
|
+
time: string;
|
|
2867
|
+
type: 'monthly';
|
|
2868
|
+
enabled?: boolean;
|
|
2869
|
+
endDate?: string;
|
|
2870
|
+
maxRuns?: number;
|
|
2871
|
+
timezone?: string;
|
|
2872
|
+
}
|
|
2873
|
+
interface UnionMember5 {
|
|
2874
|
+
at: string;
|
|
2875
|
+
type: 'once';
|
|
2876
|
+
enabled?: boolean;
|
|
2877
|
+
timezone?: string;
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2466
2880
|
interface AlertConfig {
|
|
2467
2881
|
kind: 'alert';
|
|
2468
2882
|
name: string;
|