@roarkanalytics/sdk 7.1.0 → 7.3.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/agent-endpoint.d.mts +17 -13
- package/resources/agent-endpoint.d.mts.map +1 -1
- package/resources/agent-endpoint.d.ts +17 -13
- package/resources/agent-endpoint.d.ts.map +1 -1
- package/resources/agent-endpoint.js +0 -1
- package/resources/agent-endpoint.js.map +1 -1
- package/resources/agent-endpoint.mjs +0 -1
- package/resources/agent-endpoint.mjs.map +1 -1
- package/resources/config.d.mts +30 -6
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +30 -6
- package/resources/config.d.ts.map +1 -1
- package/resources/customer-flow-edge-case.d.mts +32 -0
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +32 -0
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +111 -0
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +111 -0
- package/resources/customer-flow.d.ts.map +1 -1
- package/src/resources/agent-endpoint.ts +18 -14
- package/src/resources/config.ts +60 -12
- package/src/resources/customer-flow-edge-case.ts +43 -0
- package/src/resources/customer-flow.ts +150 -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
|
@@ -14,7 +14,6 @@ export class AgentEndpoint extends APIResource {
|
|
|
14
14
|
* const agentEndpoint = await client.agentEndpoint.create({
|
|
15
15
|
* agentId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
16
16
|
* direction: 'INCOMING',
|
|
17
|
-
* value: 'value',
|
|
18
17
|
* });
|
|
19
18
|
* ```
|
|
20
19
|
*/
|
|
@@ -135,9 +134,10 @@ export namespace AgentEndpointCreateResponse {
|
|
|
135
134
|
updatedAt: string;
|
|
136
135
|
|
|
137
136
|
/**
|
|
138
|
-
* Agent endpoint value (phone number, URL, etc.)
|
|
137
|
+
* Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
|
|
138
|
+
* endpoint with no fixed calling number.
|
|
139
139
|
*/
|
|
140
|
-
value: string;
|
|
140
|
+
value: string | null;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -207,9 +207,10 @@ export namespace AgentEndpointUpdateResponse {
|
|
|
207
207
|
updatedAt: string;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* Agent endpoint value (phone number, URL, etc.)
|
|
210
|
+
* Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
|
|
211
|
+
* endpoint with no fixed calling number.
|
|
211
212
|
*/
|
|
212
|
-
value: string;
|
|
213
|
+
value: string | null;
|
|
213
214
|
}
|
|
214
215
|
}
|
|
215
216
|
|
|
@@ -278,9 +279,10 @@ export namespace AgentEndpointListResponse {
|
|
|
278
279
|
updatedAt: string;
|
|
279
280
|
|
|
280
281
|
/**
|
|
281
|
-
* Agent endpoint value (phone number, URL, etc.)
|
|
282
|
+
* Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
|
|
283
|
+
* endpoint with no fixed calling number.
|
|
282
284
|
*/
|
|
283
|
-
value: string;
|
|
285
|
+
value: string | null;
|
|
284
286
|
}
|
|
285
287
|
|
|
286
288
|
export interface Pagination {
|
|
@@ -367,9 +369,10 @@ export namespace AgentEndpointGetByIDResponse {
|
|
|
367
369
|
updatedAt: string;
|
|
368
370
|
|
|
369
371
|
/**
|
|
370
|
-
* Agent endpoint value (phone number, URL, etc.)
|
|
372
|
+
* Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
|
|
373
|
+
* endpoint with no fixed calling number.
|
|
371
374
|
*/
|
|
372
|
-
value: string;
|
|
375
|
+
value: string | null;
|
|
373
376
|
}
|
|
374
377
|
}
|
|
375
378
|
|
|
@@ -384,11 +387,6 @@ export interface AgentEndpointCreateParams {
|
|
|
384
387
|
*/
|
|
385
388
|
direction: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
386
389
|
|
|
387
|
-
/**
|
|
388
|
-
* Phone number in E.164 format (e.g., +12345678900)
|
|
389
|
-
*/
|
|
390
|
-
value: string;
|
|
391
|
-
|
|
392
390
|
/**
|
|
393
391
|
* Environment name (default: production)
|
|
394
392
|
*/
|
|
@@ -404,6 +402,12 @@ export interface AgentEndpointCreateParams {
|
|
|
404
402
|
* Outbound dial type: NONE or HTTP_REQUEST (default: NONE)
|
|
405
403
|
*/
|
|
406
404
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Phone number in E.164 format (e.g., +12345678900). Optional when direction is
|
|
408
|
+
* OUTGOING, for an agent that calls from numbers you do not know up front.
|
|
409
|
+
*/
|
|
410
|
+
value?: string | null;
|
|
407
411
|
}
|
|
408
412
|
|
|
409
413
|
export interface AgentEndpointUpdateParams {
|
package/src/resources/config.ts
CHANGED
|
@@ -85,8 +85,6 @@ export namespace Bundle {
|
|
|
85
85
|
|
|
86
86
|
export namespace AgentConfig {
|
|
87
87
|
export interface Endpoint {
|
|
88
|
-
value: string;
|
|
89
|
-
|
|
90
88
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
91
89
|
|
|
92
90
|
environment?: string;
|
|
@@ -96,6 +94,8 @@ export namespace Bundle {
|
|
|
96
94
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
97
95
|
|
|
98
96
|
type?: 'PHONE' | 'WEBSOCKET';
|
|
97
|
+
|
|
98
|
+
value?: string;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -279,6 +279,8 @@ export namespace Bundle {
|
|
|
279
279
|
|
|
280
280
|
expectations?: Array<string>;
|
|
281
281
|
|
|
282
|
+
openingLine?: string;
|
|
283
|
+
|
|
282
284
|
prompt?: string;
|
|
283
285
|
|
|
284
286
|
title?: string;
|
|
@@ -293,6 +295,8 @@ export namespace Bundle {
|
|
|
293
295
|
|
|
294
296
|
includeFlowExpectations?: boolean;
|
|
295
297
|
|
|
298
|
+
openingLine?: string;
|
|
299
|
+
|
|
296
300
|
persona?: string;
|
|
297
301
|
|
|
298
302
|
prompt?: string;
|
|
@@ -577,6 +581,8 @@ export namespace Bundle {
|
|
|
577
581
|
|
|
578
582
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
579
583
|
|
|
584
|
+
environment?: string;
|
|
585
|
+
|
|
580
586
|
value?: string;
|
|
581
587
|
}
|
|
582
588
|
|
|
@@ -761,6 +767,8 @@ export namespace Bundle {
|
|
|
761
767
|
|
|
762
768
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
763
769
|
|
|
770
|
+
environment?: string;
|
|
771
|
+
|
|
764
772
|
value?: string;
|
|
765
773
|
}
|
|
766
774
|
|
|
@@ -1581,8 +1589,6 @@ export namespace Bundle {
|
|
|
1581
1589
|
|
|
1582
1590
|
export namespace AgentConfig {
|
|
1583
1591
|
export interface Endpoint {
|
|
1584
|
-
value: string;
|
|
1585
|
-
|
|
1586
1592
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
1587
1593
|
|
|
1588
1594
|
environment?: string;
|
|
@@ -1592,6 +1598,8 @@ export namespace Bundle {
|
|
|
1592
1598
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
1593
1599
|
|
|
1594
1600
|
type?: 'PHONE' | 'WEBSOCKET';
|
|
1601
|
+
|
|
1602
|
+
value?: string;
|
|
1595
1603
|
}
|
|
1596
1604
|
}
|
|
1597
1605
|
|
|
@@ -1775,6 +1783,8 @@ export namespace Bundle {
|
|
|
1775
1783
|
|
|
1776
1784
|
expectations?: Array<string>;
|
|
1777
1785
|
|
|
1786
|
+
openingLine?: string;
|
|
1787
|
+
|
|
1778
1788
|
prompt?: string;
|
|
1779
1789
|
|
|
1780
1790
|
title?: string;
|
|
@@ -1789,6 +1799,8 @@ export namespace Bundle {
|
|
|
1789
1799
|
|
|
1790
1800
|
includeFlowExpectations?: boolean;
|
|
1791
1801
|
|
|
1802
|
+
openingLine?: string;
|
|
1803
|
+
|
|
1792
1804
|
persona?: string;
|
|
1793
1805
|
|
|
1794
1806
|
prompt?: string;
|
|
@@ -2073,6 +2085,8 @@ export namespace Bundle {
|
|
|
2073
2085
|
|
|
2074
2086
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
2075
2087
|
|
|
2088
|
+
environment?: string;
|
|
2089
|
+
|
|
2076
2090
|
value?: string;
|
|
2077
2091
|
}
|
|
2078
2092
|
|
|
@@ -2257,6 +2271,8 @@ export namespace Bundle {
|
|
|
2257
2271
|
|
|
2258
2272
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
2259
2273
|
|
|
2274
|
+
environment?: string;
|
|
2275
|
+
|
|
2260
2276
|
value?: string;
|
|
2261
2277
|
}
|
|
2262
2278
|
|
|
@@ -3246,8 +3262,6 @@ export namespace ConfigApplyParams {
|
|
|
3246
3262
|
|
|
3247
3263
|
export namespace AgentConfig {
|
|
3248
3264
|
export interface Endpoint {
|
|
3249
|
-
value: string;
|
|
3250
|
-
|
|
3251
3265
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
3252
3266
|
|
|
3253
3267
|
environment?: string;
|
|
@@ -3257,6 +3271,8 @@ export namespace ConfigApplyParams {
|
|
|
3257
3271
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
3258
3272
|
|
|
3259
3273
|
type?: 'PHONE' | 'WEBSOCKET';
|
|
3274
|
+
|
|
3275
|
+
value?: string;
|
|
3260
3276
|
}
|
|
3261
3277
|
}
|
|
3262
3278
|
|
|
@@ -3440,6 +3456,8 @@ export namespace ConfigApplyParams {
|
|
|
3440
3456
|
|
|
3441
3457
|
expectations?: Array<string>;
|
|
3442
3458
|
|
|
3459
|
+
openingLine?: string;
|
|
3460
|
+
|
|
3443
3461
|
prompt?: string;
|
|
3444
3462
|
|
|
3445
3463
|
title?: string;
|
|
@@ -3454,6 +3472,8 @@ export namespace ConfigApplyParams {
|
|
|
3454
3472
|
|
|
3455
3473
|
includeFlowExpectations?: boolean;
|
|
3456
3474
|
|
|
3475
|
+
openingLine?: string;
|
|
3476
|
+
|
|
3457
3477
|
persona?: string;
|
|
3458
3478
|
|
|
3459
3479
|
prompt?: string;
|
|
@@ -3738,6 +3758,8 @@ export namespace ConfigApplyParams {
|
|
|
3738
3758
|
|
|
3739
3759
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
3740
3760
|
|
|
3761
|
+
environment?: string;
|
|
3762
|
+
|
|
3741
3763
|
value?: string;
|
|
3742
3764
|
}
|
|
3743
3765
|
|
|
@@ -3922,6 +3944,8 @@ export namespace ConfigApplyParams {
|
|
|
3922
3944
|
|
|
3923
3945
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
3924
3946
|
|
|
3947
|
+
environment?: string;
|
|
3948
|
+
|
|
3925
3949
|
value?: string;
|
|
3926
3950
|
}
|
|
3927
3951
|
|
|
@@ -4742,8 +4766,6 @@ export namespace ConfigApplyParams {
|
|
|
4742
4766
|
|
|
4743
4767
|
export namespace AgentConfig {
|
|
4744
4768
|
export interface Endpoint {
|
|
4745
|
-
value: string;
|
|
4746
|
-
|
|
4747
4769
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
4748
4770
|
|
|
4749
4771
|
environment?: string;
|
|
@@ -4753,6 +4775,8 @@ export namespace ConfigApplyParams {
|
|
|
4753
4775
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
4754
4776
|
|
|
4755
4777
|
type?: 'PHONE' | 'WEBSOCKET';
|
|
4778
|
+
|
|
4779
|
+
value?: string;
|
|
4756
4780
|
}
|
|
4757
4781
|
}
|
|
4758
4782
|
|
|
@@ -4936,6 +4960,8 @@ export namespace ConfigApplyParams {
|
|
|
4936
4960
|
|
|
4937
4961
|
expectations?: Array<string>;
|
|
4938
4962
|
|
|
4963
|
+
openingLine?: string;
|
|
4964
|
+
|
|
4939
4965
|
prompt?: string;
|
|
4940
4966
|
|
|
4941
4967
|
title?: string;
|
|
@@ -4950,6 +4976,8 @@ export namespace ConfigApplyParams {
|
|
|
4950
4976
|
|
|
4951
4977
|
includeFlowExpectations?: boolean;
|
|
4952
4978
|
|
|
4979
|
+
openingLine?: string;
|
|
4980
|
+
|
|
4953
4981
|
persona?: string;
|
|
4954
4982
|
|
|
4955
4983
|
prompt?: string;
|
|
@@ -5234,6 +5262,8 @@ export namespace ConfigApplyParams {
|
|
|
5234
5262
|
|
|
5235
5263
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
5236
5264
|
|
|
5265
|
+
environment?: string;
|
|
5266
|
+
|
|
5237
5267
|
value?: string;
|
|
5238
5268
|
}
|
|
5239
5269
|
|
|
@@ -5418,6 +5448,8 @@ export namespace ConfigApplyParams {
|
|
|
5418
5448
|
|
|
5419
5449
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
5420
5450
|
|
|
5451
|
+
environment?: string;
|
|
5452
|
+
|
|
5421
5453
|
value?: string;
|
|
5422
5454
|
}
|
|
5423
5455
|
|
|
@@ -6220,8 +6252,6 @@ export namespace ConfigDiffParams {
|
|
|
6220
6252
|
|
|
6221
6253
|
export namespace AgentConfig {
|
|
6222
6254
|
export interface Endpoint {
|
|
6223
|
-
value: string;
|
|
6224
|
-
|
|
6225
6255
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
6226
6256
|
|
|
6227
6257
|
environment?: string;
|
|
@@ -6231,6 +6261,8 @@ export namespace ConfigDiffParams {
|
|
|
6231
6261
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
6232
6262
|
|
|
6233
6263
|
type?: 'PHONE' | 'WEBSOCKET';
|
|
6264
|
+
|
|
6265
|
+
value?: string;
|
|
6234
6266
|
}
|
|
6235
6267
|
}
|
|
6236
6268
|
|
|
@@ -6414,6 +6446,8 @@ export namespace ConfigDiffParams {
|
|
|
6414
6446
|
|
|
6415
6447
|
expectations?: Array<string>;
|
|
6416
6448
|
|
|
6449
|
+
openingLine?: string;
|
|
6450
|
+
|
|
6417
6451
|
prompt?: string;
|
|
6418
6452
|
|
|
6419
6453
|
title?: string;
|
|
@@ -6428,6 +6462,8 @@ export namespace ConfigDiffParams {
|
|
|
6428
6462
|
|
|
6429
6463
|
includeFlowExpectations?: boolean;
|
|
6430
6464
|
|
|
6465
|
+
openingLine?: string;
|
|
6466
|
+
|
|
6431
6467
|
persona?: string;
|
|
6432
6468
|
|
|
6433
6469
|
prompt?: string;
|
|
@@ -6712,6 +6748,8 @@ export namespace ConfigDiffParams {
|
|
|
6712
6748
|
|
|
6713
6749
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
6714
6750
|
|
|
6751
|
+
environment?: string;
|
|
6752
|
+
|
|
6715
6753
|
value?: string;
|
|
6716
6754
|
}
|
|
6717
6755
|
|
|
@@ -6896,6 +6934,8 @@ export namespace ConfigDiffParams {
|
|
|
6896
6934
|
|
|
6897
6935
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
6898
6936
|
|
|
6937
|
+
environment?: string;
|
|
6938
|
+
|
|
6899
6939
|
value?: string;
|
|
6900
6940
|
}
|
|
6901
6941
|
|
|
@@ -7716,8 +7756,6 @@ export namespace ConfigDiffParams {
|
|
|
7716
7756
|
|
|
7717
7757
|
export namespace AgentConfig {
|
|
7718
7758
|
export interface Endpoint {
|
|
7719
|
-
value: string;
|
|
7720
|
-
|
|
7721
7759
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
7722
7760
|
|
|
7723
7761
|
environment?: string;
|
|
@@ -7727,6 +7765,8 @@ export namespace ConfigDiffParams {
|
|
|
7727
7765
|
outboundDialType?: 'NONE' | 'HTTP_REQUEST';
|
|
7728
7766
|
|
|
7729
7767
|
type?: 'PHONE' | 'WEBSOCKET';
|
|
7768
|
+
|
|
7769
|
+
value?: string;
|
|
7730
7770
|
}
|
|
7731
7771
|
}
|
|
7732
7772
|
|
|
@@ -7910,6 +7950,8 @@ export namespace ConfigDiffParams {
|
|
|
7910
7950
|
|
|
7911
7951
|
expectations?: Array<string>;
|
|
7912
7952
|
|
|
7953
|
+
openingLine?: string;
|
|
7954
|
+
|
|
7913
7955
|
prompt?: string;
|
|
7914
7956
|
|
|
7915
7957
|
title?: string;
|
|
@@ -7924,6 +7966,8 @@ export namespace ConfigDiffParams {
|
|
|
7924
7966
|
|
|
7925
7967
|
includeFlowExpectations?: boolean;
|
|
7926
7968
|
|
|
7969
|
+
openingLine?: string;
|
|
7970
|
+
|
|
7927
7971
|
persona?: string;
|
|
7928
7972
|
|
|
7929
7973
|
prompt?: string;
|
|
@@ -8208,6 +8252,8 @@ export namespace ConfigDiffParams {
|
|
|
8208
8252
|
|
|
8209
8253
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
8210
8254
|
|
|
8255
|
+
environment?: string;
|
|
8256
|
+
|
|
8211
8257
|
value?: string;
|
|
8212
8258
|
}
|
|
8213
8259
|
|
|
@@ -8392,6 +8438,8 @@ export namespace ConfigDiffParams {
|
|
|
8392
8438
|
|
|
8393
8439
|
direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
|
|
8394
8440
|
|
|
8441
|
+
environment?: string;
|
|
8442
|
+
|
|
8395
8443
|
value?: string;
|
|
8396
8444
|
}
|
|
8397
8445
|
|
|
@@ -170,6 +170,8 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
170
170
|
*/
|
|
171
171
|
updatedAt: string;
|
|
172
172
|
|
|
173
|
+
openingLine?: string | null;
|
|
174
|
+
|
|
173
175
|
systemKey?: string | null;
|
|
174
176
|
}
|
|
175
177
|
|
|
@@ -532,6 +534,14 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
532
534
|
*/
|
|
533
535
|
updatedAt: string;
|
|
534
536
|
|
|
537
|
+
/**
|
|
538
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
539
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
540
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
541
|
+
* {{variables}}.
|
|
542
|
+
*/
|
|
543
|
+
openingLine?: string | null;
|
|
544
|
+
|
|
535
545
|
/**
|
|
536
546
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
537
547
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -1142,6 +1152,8 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
1142
1152
|
*/
|
|
1143
1153
|
updatedAt: string;
|
|
1144
1154
|
|
|
1155
|
+
openingLine?: string | null;
|
|
1156
|
+
|
|
1145
1157
|
systemKey?: string | null;
|
|
1146
1158
|
}
|
|
1147
1159
|
|
|
@@ -1517,6 +1529,8 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1517
1529
|
*/
|
|
1518
1530
|
updatedAt: string;
|
|
1519
1531
|
|
|
1532
|
+
openingLine?: string | null;
|
|
1533
|
+
|
|
1520
1534
|
systemKey?: string | null;
|
|
1521
1535
|
}
|
|
1522
1536
|
|
|
@@ -1879,6 +1893,14 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1879
1893
|
*/
|
|
1880
1894
|
updatedAt: string;
|
|
1881
1895
|
|
|
1896
|
+
/**
|
|
1897
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
1898
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
1899
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
1900
|
+
* {{variables}}.
|
|
1901
|
+
*/
|
|
1902
|
+
openingLine?: string | null;
|
|
1903
|
+
|
|
1882
1904
|
/**
|
|
1883
1905
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
1884
1906
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -2489,6 +2511,8 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
2489
2511
|
*/
|
|
2490
2512
|
updatedAt: string;
|
|
2491
2513
|
|
|
2514
|
+
openingLine?: string | null;
|
|
2515
|
+
|
|
2492
2516
|
systemKey?: string | null;
|
|
2493
2517
|
}
|
|
2494
2518
|
|
|
@@ -2864,6 +2888,8 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2864
2888
|
*/
|
|
2865
2889
|
updatedAt: string;
|
|
2866
2890
|
|
|
2891
|
+
openingLine?: string | null;
|
|
2892
|
+
|
|
2867
2893
|
systemKey?: string | null;
|
|
2868
2894
|
}
|
|
2869
2895
|
|
|
@@ -3226,6 +3252,14 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3226
3252
|
*/
|
|
3227
3253
|
updatedAt: string;
|
|
3228
3254
|
|
|
3255
|
+
/**
|
|
3256
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
3257
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
3258
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
3259
|
+
* {{variables}}.
|
|
3260
|
+
*/
|
|
3261
|
+
openingLine?: string | null;
|
|
3262
|
+
|
|
3229
3263
|
/**
|
|
3230
3264
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
3231
3265
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -3836,6 +3870,8 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3836
3870
|
*/
|
|
3837
3871
|
updatedAt: string;
|
|
3838
3872
|
|
|
3873
|
+
openingLine?: string | null;
|
|
3874
|
+
|
|
3839
3875
|
systemKey?: string | null;
|
|
3840
3876
|
}
|
|
3841
3877
|
|
|
@@ -4183,6 +4219,11 @@ export interface CustomerFlowEdgeCaseUpdateParams {
|
|
|
4183
4219
|
*/
|
|
4184
4220
|
includeFlowExpectations?: boolean;
|
|
4185
4221
|
|
|
4222
|
+
/**
|
|
4223
|
+
* Body param
|
|
4224
|
+
*/
|
|
4225
|
+
openingLine?: string | null;
|
|
4226
|
+
|
|
4186
4227
|
/**
|
|
4187
4228
|
* Body param: The persona this runs as. Null on an edge case inherits the happy
|
|
4188
4229
|
* path's.
|
|
@@ -4240,6 +4281,8 @@ export interface CustomerFlowEdgeCaseAddParams {
|
|
|
4240
4281
|
*/
|
|
4241
4282
|
includeFlowExpectations?: boolean;
|
|
4242
4283
|
|
|
4284
|
+
openingLine?: string | null;
|
|
4285
|
+
|
|
4243
4286
|
/**
|
|
4244
4287
|
* The persona this runs as. Omit to inherit the happy path's.
|
|
4245
4288
|
*/
|