@roarkanalytics/sdk 7.6.0 → 7.7.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.
@@ -3157,6 +3157,8 @@ export interface ConfigFlowStep {
3157
3157
 
3158
3158
  dtmfDigits?: string;
3159
3159
 
3160
+ endsCall?: boolean;
3161
+
3160
3162
  flow?: string;
3161
3163
 
3162
3164
  handoffPersona?: string;
@@ -212,6 +212,12 @@ export class CustomerFlow extends APIResource {
212
212
  * music. It plays in a STRICT voice flow only: anywhere else it is a pause of the
213
213
  * same length. It sits between turns like a silence.
214
214
  *
215
+ * When an improv flow opens with a STRICT scripted flow, every path through the
216
+ * script hands over to the improv. Set `endsCall: true` on the last step of a path
217
+ * to end the call there instead, as an IVR does after saying goodbye. Sharing the
218
+ * script between improvs shares this too. A step with steps after it, or a
219
+ * `SCENARIO_LINK`, is rejected.
220
+ *
215
221
  * In a STRICT flow an `AGENT_TURN` may carry its own `offScriptPolicy`, which
216
222
  * replaces the flow-level one at that step. Omit it (or send null) to follow the
217
223
  * flow's policy. Use it where one missed step makes the rest of the call
@@ -272,6 +278,8 @@ export namespace FlowStep {
272
278
 
273
279
  content?: string | null;
274
280
 
281
+ endsCall?: boolean;
282
+
275
283
  mergeIntoNodeIds?: Array<string>;
276
284
 
277
285
  nodeId?: string;
@@ -312,6 +320,8 @@ export namespace FlowStep {
312
320
 
313
321
  content?: string | null;
314
322
 
323
+ endsCall?: boolean;
324
+
315
325
  mergeIntoNodeIds?: Array<string>;
316
326
 
317
327
  nodeId?: string;
@@ -338,6 +348,8 @@ export namespace FlowStep {
338
348
 
339
349
  content?: string | null;
340
350
 
351
+ endsCall?: boolean;
352
+
341
353
  mergeIntoNodeIds?: Array<string>;
342
354
 
343
355
  nodeId?: string;
@@ -364,6 +376,8 @@ export namespace FlowStep {
364
376
 
365
377
  content?: string | null;
366
378
 
379
+ endsCall?: boolean;
380
+
367
381
  mergeIntoNodeIds?: Array<string>;
368
382
 
369
383
  nodeId?: string;
@@ -388,6 +402,8 @@ export namespace FlowStep {
388
402
  export interface UnionMember4 {
389
403
  type: 'CUSTOMER_SILENCE';
390
404
 
405
+ endsCall?: boolean;
406
+
391
407
  mergeIntoNodeIds?: Array<string>;
392
408
 
393
409
  nodeId?: string;
@@ -426,6 +442,8 @@ export namespace FlowStep {
426
442
  | 'RINGBACK_UK'
427
443
  | null;
428
444
 
445
+ endsCall?: boolean;
446
+
429
447
  mergeIntoNodeIds?: Array<string>;
430
448
 
431
449
  nodeId?: string;
@@ -454,6 +472,8 @@ export namespace FlowStep {
454
472
 
455
473
  dtmfDigits?: string | null;
456
474
 
475
+ endsCall?: boolean;
476
+
457
477
  mergeIntoNodeIds?: Array<string>;
458
478
 
459
479
  nodeId?: string;
@@ -480,6 +500,8 @@ export namespace FlowStep {
480
500
 
481
501
  dtmfDigits?: string | null;
482
502
 
503
+ endsCall?: boolean;
504
+
483
505
  mergeIntoNodeIds?: Array<string>;
484
506
 
485
507
  nodeId?: string;
@@ -518,6 +540,8 @@ export namespace FlowStep {
518
540
  export interface UnionMember8 {
519
541
  type: 'VOICEMAIL';
520
542
 
543
+ endsCall?: boolean;
544
+
521
545
  mergeIntoNodeIds?: Array<string>;
522
546
 
523
547
  nodeId?: string;
@@ -542,6 +566,8 @@ export namespace FlowStep {
542
566
  export interface UnionMember9 {
543
567
  type: 'CUSTOMER_HANDOFF';
544
568
 
569
+ endsCall?: boolean;
570
+
545
571
  handoffPersonaId?: string | null;
546
572
 
547
573
  mergeIntoNodeIds?: Array<string>;
@@ -568,6 +594,8 @@ export namespace FlowStep {
568
594
  export interface UnionMember10 {
569
595
  type: 'SCENARIO_LINK';
570
596
 
597
+ endsCall?: boolean;
598
+
571
599
  linkedCustomerFlowId?: string | null;
572
600
 
573
601
  linkedCustomerFlowVariantId?: string | null;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.6.0'; // x-release-please-version
1
+ export const VERSION = '7.7.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.6.0";
1
+ export declare const VERSION = "7.7.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.6.0";
1
+ export declare const VERSION = "7.7.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '7.6.0'; // x-release-please-version
4
+ exports.VERSION = '7.7.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '7.6.0'; // x-release-please-version
1
+ export const VERSION = '7.7.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map