@roarkanalytics/sdk 5.4.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.
@@ -287,6 +287,8 @@ export namespace Bundle {
287
287
 
288
288
  expectations?: Array<string>;
289
289
 
290
+ includeFlowExpectations?: boolean;
291
+
290
292
  persona?: string;
291
293
 
292
294
  prompt?: string;
@@ -1243,6 +1245,8 @@ export namespace Bundle {
1243
1245
 
1244
1246
  expectations?: Array<string>;
1245
1247
 
1248
+ includeFlowExpectations?: boolean;
1249
+
1246
1250
  persona?: string;
1247
1251
 
1248
1252
  prompt?: string;
@@ -2346,6 +2350,8 @@ export namespace ConfigApplyParams {
2346
2350
 
2347
2351
  expectations?: Array<string>;
2348
2352
 
2353
+ includeFlowExpectations?: boolean;
2354
+
2349
2355
  persona?: string;
2350
2356
 
2351
2357
  prompt?: string;
@@ -3302,6 +3308,8 @@ export namespace ConfigApplyParams {
3302
3308
 
3303
3309
  expectations?: Array<string>;
3304
3310
 
3311
+ includeFlowExpectations?: boolean;
3312
+
3305
3313
  persona?: string;
3306
3314
 
3307
3315
  prompt?: string;
@@ -4234,6 +4242,8 @@ export namespace ConfigDiffParams {
4234
4242
 
4235
4243
  expectations?: Array<string>;
4236
4244
 
4245
+ includeFlowExpectations?: boolean;
4246
+
4237
4247
  persona?: string;
4238
4248
 
4239
4249
  prompt?: string;
@@ -5190,6 +5200,8 @@ export namespace ConfigDiffParams {
5190
5200
 
5191
5201
  expectations?: Array<string>;
5192
5202
 
5203
+ includeFlowExpectations?: boolean;
5204
+
5193
5205
  persona?: string;
5194
5206
 
5195
5207
  prompt?: string;
@@ -137,6 +137,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
137
137
  */
138
138
  environment: ScriptedFlowVariant.Environment | null;
139
139
 
140
+ /**
141
+ * Whether this variant is graded on the flow's agentExpectations as well as its
142
+ * additionalExpectations. False grades it on its additionalExpectations only.
143
+ * Always true on the happy path.
144
+ */
145
+ includeFlowExpectations: boolean;
146
+
140
147
  isGenerated: boolean;
141
148
 
142
149
  /**
@@ -498,6 +505,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
498
505
  */
499
506
  handoffPersonas: Array<ImprovFlowVariant.HandoffPersona>;
500
507
 
508
+ /**
509
+ * Whether this variant is graded on the flow's agentExpectations as well as its
510
+ * additionalExpectations. False grades it on its additionalExpectations only.
511
+ * Always true on the happy path.
512
+ */
513
+ includeFlowExpectations: boolean;
514
+
501
515
  isGenerated: boolean;
502
516
 
503
517
  /**
@@ -1101,6 +1115,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
1101
1115
  */
1102
1116
  environment: VoicemailFlowVariant.Environment | null;
1103
1117
 
1118
+ /**
1119
+ * Whether this variant is graded on the flow's agentExpectations as well as its
1120
+ * additionalExpectations. False grades it on its additionalExpectations only.
1121
+ * Always true on the happy path.
1122
+ */
1123
+ includeFlowExpectations: boolean;
1124
+
1104
1125
  isGenerated: boolean;
1105
1126
 
1106
1127
  /**
@@ -1463,6 +1484,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1463
1484
  */
1464
1485
  environment: ScriptedFlowVariant.Environment | null;
1465
1486
 
1487
+ /**
1488
+ * Whether this variant is graded on the flow's agentExpectations as well as its
1489
+ * additionalExpectations. False grades it on its additionalExpectations only.
1490
+ * Always true on the happy path.
1491
+ */
1492
+ includeFlowExpectations: boolean;
1493
+
1466
1494
  isGenerated: boolean;
1467
1495
 
1468
1496
  /**
@@ -1824,6 +1852,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1824
1852
  */
1825
1853
  handoffPersonas: Array<ImprovFlowVariant.HandoffPersona>;
1826
1854
 
1855
+ /**
1856
+ * Whether this variant is graded on the flow's agentExpectations as well as its
1857
+ * additionalExpectations. False grades it on its additionalExpectations only.
1858
+ * Always true on the happy path.
1859
+ */
1860
+ includeFlowExpectations: boolean;
1861
+
1827
1862
  isGenerated: boolean;
1828
1863
 
1829
1864
  /**
@@ -2427,6 +2462,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
2427
2462
  */
2428
2463
  environment: VoicemailFlowVariant.Environment | null;
2429
2464
 
2465
+ /**
2466
+ * Whether this variant is graded on the flow's agentExpectations as well as its
2467
+ * additionalExpectations. False grades it on its additionalExpectations only.
2468
+ * Always true on the happy path.
2469
+ */
2470
+ includeFlowExpectations: boolean;
2471
+
2430
2472
  isGenerated: boolean;
2431
2473
 
2432
2474
  /**
@@ -2789,6 +2831,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2789
2831
  */
2790
2832
  environment: ScriptedFlowVariant.Environment | null;
2791
2833
 
2834
+ /**
2835
+ * Whether this variant is graded on the flow's agentExpectations as well as its
2836
+ * additionalExpectations. False grades it on its additionalExpectations only.
2837
+ * Always true on the happy path.
2838
+ */
2839
+ includeFlowExpectations: boolean;
2840
+
2792
2841
  isGenerated: boolean;
2793
2842
 
2794
2843
  /**
@@ -3150,6 +3199,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
3150
3199
  */
3151
3200
  handoffPersonas: Array<ImprovFlowVariant.HandoffPersona>;
3152
3201
 
3202
+ /**
3203
+ * Whether this variant is graded on the flow's agentExpectations as well as its
3204
+ * additionalExpectations. False grades it on its additionalExpectations only.
3205
+ * Always true on the happy path.
3206
+ */
3207
+ includeFlowExpectations: boolean;
3208
+
3153
3209
  isGenerated: boolean;
3154
3210
 
3155
3211
  /**
@@ -3753,6 +3809,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
3753
3809
  */
3754
3810
  environment: VoicemailFlowVariant.Environment | null;
3755
3811
 
3812
+ /**
3813
+ * Whether this variant is graded on the flow's agentExpectations as well as its
3814
+ * additionalExpectations. False grades it on its additionalExpectations only.
3815
+ * Always true on the happy path.
3816
+ */
3817
+ includeFlowExpectations: boolean;
3818
+
3756
3819
  isGenerated: boolean;
3757
3820
 
3758
3821
  /**
@@ -4113,6 +4176,13 @@ export interface CustomerFlowEdgeCaseUpdateParams {
4113
4176
  */
4114
4177
  environmentId?: string | null;
4115
4178
 
4179
+ /**
4180
+ * Body param: Whether this edge case is graded on the flow's agentExpectations as
4181
+ * well as its own additionalExpectations. Defaults to true; false grades it on its
4182
+ * additionalExpectations only.
4183
+ */
4184
+ includeFlowExpectations?: boolean;
4185
+
4116
4186
  /**
4117
4187
  * Body param: The persona this runs as. Null on an edge case inherits the happy
4118
4188
  * path's.
@@ -4163,6 +4233,13 @@ export interface CustomerFlowEdgeCaseAddParams {
4163
4233
 
4164
4234
  environmentId?: string | null;
4165
4235
 
4236
+ /**
4237
+ * Whether this edge case is graded on the flow's agentExpectations as well as its
4238
+ * own additionalExpectations. Defaults to true; false grades it on its
4239
+ * additionalExpectations only.
4240
+ */
4241
+ includeFlowExpectations?: boolean;
4242
+
4166
4243
  /**
4167
4244
  * The persona this runs as. Omit to inherit the happy path's.
4168
4245
  */