@roarkanalytics/sdk 5.13.0 → 5.15.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/package.json +1 -1
- package/resources/config.d.mts +180 -0
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +180 -0
- package/resources/config.d.ts.map +1 -1
- package/resources/simulation-group.d.mts +2 -2
- package/resources/simulation-group.d.ts +2 -2
- package/resources/simulation-run-plan.d.mts +214 -0
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +214 -0
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/src/resources/config.ts +264 -0
- package/src/resources/simulation-group.ts +2 -2
- package/src/resources/simulation-run-plan.ts +263 -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
|
@@ -279,6 +279,12 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
279
279
|
*/
|
|
280
280
|
noResponseRetryBackoffSeconds: number;
|
|
281
281
|
|
|
282
|
+
/**
|
|
283
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
284
|
+
* Slack channels means the plan sends none.
|
|
285
|
+
*/
|
|
286
|
+
notifications: RunPlan.Notifications;
|
|
287
|
+
|
|
282
288
|
/**
|
|
283
289
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
284
290
|
*/
|
|
@@ -448,6 +454,30 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
448
454
|
minPassRate: number | null;
|
|
449
455
|
}
|
|
450
456
|
|
|
457
|
+
/**
|
|
458
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
459
|
+
* Slack channels means the plan sends none.
|
|
460
|
+
*/
|
|
461
|
+
export interface Notifications {
|
|
462
|
+
email: Notifications.Email;
|
|
463
|
+
|
|
464
|
+
slack: Array<Notifications.Slack>;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export namespace Notifications {
|
|
468
|
+
export interface Email {
|
|
469
|
+
enabled: boolean;
|
|
470
|
+
|
|
471
|
+
recipients: Array<string>;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export interface Slack {
|
|
475
|
+
channelId: string;
|
|
476
|
+
|
|
477
|
+
channelName: string;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
451
481
|
export interface Persona {
|
|
452
482
|
id: string;
|
|
453
483
|
}
|
|
@@ -659,6 +689,12 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
659
689
|
*/
|
|
660
690
|
noResponseRetryBackoffSeconds: number;
|
|
661
691
|
|
|
692
|
+
/**
|
|
693
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
694
|
+
* Slack channels means the plan sends none.
|
|
695
|
+
*/
|
|
696
|
+
notifications: Data.Notifications;
|
|
697
|
+
|
|
662
698
|
/**
|
|
663
699
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
664
700
|
*/
|
|
@@ -828,6 +864,30 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
828
864
|
minPassRate: number | null;
|
|
829
865
|
}
|
|
830
866
|
|
|
867
|
+
/**
|
|
868
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
869
|
+
* Slack channels means the plan sends none.
|
|
870
|
+
*/
|
|
871
|
+
export interface Notifications {
|
|
872
|
+
email: Notifications.Email;
|
|
873
|
+
|
|
874
|
+
slack: Array<Notifications.Slack>;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export namespace Notifications {
|
|
878
|
+
export interface Email {
|
|
879
|
+
enabled: boolean;
|
|
880
|
+
|
|
881
|
+
recipients: Array<string>;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
export interface Slack {
|
|
885
|
+
channelId: string;
|
|
886
|
+
|
|
887
|
+
channelName: string;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
831
891
|
export interface Persona {
|
|
832
892
|
id: string;
|
|
833
893
|
}
|
|
@@ -1003,6 +1063,12 @@ export namespace SimulationRunPlanListResponse {
|
|
|
1003
1063
|
*/
|
|
1004
1064
|
noResponseRetryBackoffSeconds: number;
|
|
1005
1065
|
|
|
1066
|
+
/**
|
|
1067
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
1068
|
+
* Slack channels means the plan sends none.
|
|
1069
|
+
*/
|
|
1070
|
+
notifications: Data.Notifications;
|
|
1071
|
+
|
|
1006
1072
|
/**
|
|
1007
1073
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
1008
1074
|
*/
|
|
@@ -1172,6 +1238,30 @@ export namespace SimulationRunPlanListResponse {
|
|
|
1172
1238
|
minPassRate: number | null;
|
|
1173
1239
|
}
|
|
1174
1240
|
|
|
1241
|
+
/**
|
|
1242
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
1243
|
+
* Slack channels means the plan sends none.
|
|
1244
|
+
*/
|
|
1245
|
+
export interface Notifications {
|
|
1246
|
+
email: Notifications.Email;
|
|
1247
|
+
|
|
1248
|
+
slack: Array<Notifications.Slack>;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
export namespace Notifications {
|
|
1252
|
+
export interface Email {
|
|
1253
|
+
enabled: boolean;
|
|
1254
|
+
|
|
1255
|
+
recipients: Array<string>;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
export interface Slack {
|
|
1259
|
+
channelId: string;
|
|
1260
|
+
|
|
1261
|
+
channelName: string;
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1175
1265
|
export interface Persona {
|
|
1176
1266
|
id: string;
|
|
1177
1267
|
}
|
|
@@ -1375,6 +1465,12 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1375
1465
|
*/
|
|
1376
1466
|
noResponseRetryBackoffSeconds: number;
|
|
1377
1467
|
|
|
1468
|
+
/**
|
|
1469
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
1470
|
+
* Slack channels means the plan sends none.
|
|
1471
|
+
*/
|
|
1472
|
+
notifications: Data.Notifications;
|
|
1473
|
+
|
|
1378
1474
|
/**
|
|
1379
1475
|
* Personas included in this run plan. Only meaningful alongside `scenarios`.
|
|
1380
1476
|
*/
|
|
@@ -1544,6 +1640,30 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1544
1640
|
minPassRate: number | null;
|
|
1545
1641
|
}
|
|
1546
1642
|
|
|
1643
|
+
/**
|
|
1644
|
+
* Where each run's report announces itself once it is ready. Email off and no
|
|
1645
|
+
* Slack channels means the plan sends none.
|
|
1646
|
+
*/
|
|
1647
|
+
export interface Notifications {
|
|
1648
|
+
email: Notifications.Email;
|
|
1649
|
+
|
|
1650
|
+
slack: Array<Notifications.Slack>;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
export namespace Notifications {
|
|
1654
|
+
export interface Email {
|
|
1655
|
+
enabled: boolean;
|
|
1656
|
+
|
|
1657
|
+
recipients: Array<string>;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
export interface Slack {
|
|
1661
|
+
channelId: string;
|
|
1662
|
+
|
|
1663
|
+
channelName: string;
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1547
1667
|
export interface Persona {
|
|
1548
1668
|
id: string;
|
|
1549
1669
|
}
|
|
@@ -1785,6 +1905,13 @@ export declare namespace SimulationRunPlanCreateParams {
|
|
|
1785
1905
|
*/
|
|
1786
1906
|
noResponseRetryBackoffSeconds?: number;
|
|
1787
1907
|
|
|
1908
|
+
/**
|
|
1909
|
+
* Email and/or Slack delivery of each run's report once it is ready, with the
|
|
1910
|
+
* report PDF attached. Each run announces once, off its first report. Omitted: no
|
|
1911
|
+
* notifications.
|
|
1912
|
+
*/
|
|
1913
|
+
notifications?: CreateRunPlanFromConfig.Notifications;
|
|
1914
|
+
|
|
1788
1915
|
/**
|
|
1789
1916
|
* Personas to include in this run plan. Required with `scenarios`; ignored with
|
|
1790
1917
|
* `flows`, where each variant carries its own persona.
|
|
@@ -1976,6 +2103,48 @@ export declare namespace SimulationRunPlanCreateParams {
|
|
|
1976
2103
|
slug?: string;
|
|
1977
2104
|
}
|
|
1978
2105
|
|
|
2106
|
+
/**
|
|
2107
|
+
* Email and/or Slack delivery of each run's report once it is ready, with the
|
|
2108
|
+
* report PDF attached. Each run announces once, off its first report. Omitted: no
|
|
2109
|
+
* notifications.
|
|
2110
|
+
*/
|
|
2111
|
+
export interface Notifications {
|
|
2112
|
+
email?: Notifications.Email;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Channels in the project's connected Slack workspace to post the report to (at
|
|
2116
|
+
* most 10). Slack must be connected to the project first.
|
|
2117
|
+
*/
|
|
2118
|
+
slack?: Array<Notifications.Slack>;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
export namespace Notifications {
|
|
2122
|
+
export interface Email {
|
|
2123
|
+
/**
|
|
2124
|
+
* Whether each run's report is emailed when it is ready.
|
|
2125
|
+
*/
|
|
2126
|
+
enabled: boolean;
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* Addresses to email (at most 50), Roark users or not: the email attaches the
|
|
2130
|
+
* report PDF. Empty emails every member of the project.
|
|
2131
|
+
*/
|
|
2132
|
+
recipients?: Array<string>;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
export interface Slack {
|
|
2136
|
+
/**
|
|
2137
|
+
* The Slack channel id
|
|
2138
|
+
*/
|
|
2139
|
+
channelId: string;
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* The channel name, shown in Roark
|
|
2143
|
+
*/
|
|
2144
|
+
channelName: string;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
|
|
1979
2148
|
export interface Persona {
|
|
1980
2149
|
id: string;
|
|
1981
2150
|
}
|
|
@@ -2142,6 +2311,13 @@ export declare namespace SimulationRunPlanCreateParams {
|
|
|
2142
2311
|
*/
|
|
2143
2312
|
noResponseRetryBackoffSeconds?: number;
|
|
2144
2313
|
|
|
2314
|
+
/**
|
|
2315
|
+
* Email and/or Slack delivery of each run's report once it is ready, with the
|
|
2316
|
+
* report PDF attached. Each run announces once, off its first report. Omitted: no
|
|
2317
|
+
* notifications.
|
|
2318
|
+
*/
|
|
2319
|
+
notifications?: CreateRunPlanFromTemplate.Notifications;
|
|
2320
|
+
|
|
2145
2321
|
/**
|
|
2146
2322
|
* For `question-answer-check`: the persona that asks the questions.
|
|
2147
2323
|
*/
|
|
@@ -2332,6 +2508,48 @@ export declare namespace SimulationRunPlanCreateParams {
|
|
|
2332
2508
|
}
|
|
2333
2509
|
}
|
|
2334
2510
|
|
|
2511
|
+
/**
|
|
2512
|
+
* Email and/or Slack delivery of each run's report once it is ready, with the
|
|
2513
|
+
* report PDF attached. Each run announces once, off its first report. Omitted: no
|
|
2514
|
+
* notifications.
|
|
2515
|
+
*/
|
|
2516
|
+
export interface Notifications {
|
|
2517
|
+
email?: Notifications.Email;
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Channels in the project's connected Slack workspace to post the report to (at
|
|
2521
|
+
* most 10). Slack must be connected to the project first.
|
|
2522
|
+
*/
|
|
2523
|
+
slack?: Array<Notifications.Slack>;
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
export namespace Notifications {
|
|
2527
|
+
export interface Email {
|
|
2528
|
+
/**
|
|
2529
|
+
* Whether each run's report is emailed when it is ready.
|
|
2530
|
+
*/
|
|
2531
|
+
enabled: boolean;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* Addresses to email (at most 50), Roark users or not: the email attaches the
|
|
2535
|
+
* report PDF. Empty emails every member of the project.
|
|
2536
|
+
*/
|
|
2537
|
+
recipients?: Array<string>;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
export interface Slack {
|
|
2541
|
+
/**
|
|
2542
|
+
* The Slack channel id
|
|
2543
|
+
*/
|
|
2544
|
+
channelId: string;
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* The channel name, shown in Roark
|
|
2548
|
+
*/
|
|
2549
|
+
channelName: string;
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2335
2553
|
export interface Question {
|
|
2336
2554
|
/**
|
|
2337
2555
|
* The question the caller asks the agent.
|
|
@@ -2508,6 +2726,11 @@ export interface SimulationRunPlanUpdateParams {
|
|
|
2508
2726
|
*/
|
|
2509
2727
|
noResponseRetryBackoffSeconds?: number;
|
|
2510
2728
|
|
|
2729
|
+
/**
|
|
2730
|
+
* Where each run's report announces itself once it is ready.
|
|
2731
|
+
*/
|
|
2732
|
+
notifications?: SimulationRunPlanUpdateParams.Notifications | null;
|
|
2733
|
+
|
|
2511
2734
|
/**
|
|
2512
2735
|
* Personas to include in this run plan
|
|
2513
2736
|
*/
|
|
@@ -2699,6 +2922,46 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
2699
2922
|
slug?: string;
|
|
2700
2923
|
}
|
|
2701
2924
|
|
|
2925
|
+
/**
|
|
2926
|
+
* Where each run's report announces itself once it is ready.
|
|
2927
|
+
*/
|
|
2928
|
+
export interface Notifications {
|
|
2929
|
+
email?: Notifications.Email;
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* Channels in the project's connected Slack workspace to post the report to (at
|
|
2933
|
+
* most 10). Slack must be connected to the project first.
|
|
2934
|
+
*/
|
|
2935
|
+
slack?: Array<Notifications.Slack>;
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
export namespace Notifications {
|
|
2939
|
+
export interface Email {
|
|
2940
|
+
/**
|
|
2941
|
+
* Whether each run's report is emailed when it is ready.
|
|
2942
|
+
*/
|
|
2943
|
+
enabled: boolean;
|
|
2944
|
+
|
|
2945
|
+
/**
|
|
2946
|
+
* Addresses to email (at most 50), Roark users or not: the email attaches the
|
|
2947
|
+
* report PDF. Empty emails every member of the project.
|
|
2948
|
+
*/
|
|
2949
|
+
recipients?: Array<string>;
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
export interface Slack {
|
|
2953
|
+
/**
|
|
2954
|
+
* The Slack channel id
|
|
2955
|
+
*/
|
|
2956
|
+
channelId: string;
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* The channel name, shown in Roark
|
|
2960
|
+
*/
|
|
2961
|
+
channelName: string;
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2702
2965
|
export interface Persona {
|
|
2703
2966
|
id: string;
|
|
2704
2967
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.15.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.15.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.15.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.15.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|