@roarkanalytics/sdk 7.2.0 → 7.4.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 +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/config.d.mts +12 -0
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +12 -0
- 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/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +35 -1
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +35 -1
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.js +18 -0
- package/resources/simulation-run-plan-job.js.map +1 -1
- package/resources/simulation-run-plan-job.mjs +18 -0
- package/resources/simulation-run-plan-job.mjs.map +1 -1
- package/src/client.ts +2 -0
- package/src/resources/config.ts +24 -0
- package/src/resources/customer-flow-edge-case.ts +43 -0
- package/src/resources/customer-flow.ts +150 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/simulation-run-plan-job.ts +41 -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/src/resources/config.ts
CHANGED
|
@@ -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;
|
|
@@ -1779,6 +1783,8 @@ export namespace Bundle {
|
|
|
1779
1783
|
|
|
1780
1784
|
expectations?: Array<string>;
|
|
1781
1785
|
|
|
1786
|
+
openingLine?: string;
|
|
1787
|
+
|
|
1782
1788
|
prompt?: string;
|
|
1783
1789
|
|
|
1784
1790
|
title?: string;
|
|
@@ -1793,6 +1799,8 @@ export namespace Bundle {
|
|
|
1793
1799
|
|
|
1794
1800
|
includeFlowExpectations?: boolean;
|
|
1795
1801
|
|
|
1802
|
+
openingLine?: string;
|
|
1803
|
+
|
|
1796
1804
|
persona?: string;
|
|
1797
1805
|
|
|
1798
1806
|
prompt?: string;
|
|
@@ -3448,6 +3456,8 @@ export namespace ConfigApplyParams {
|
|
|
3448
3456
|
|
|
3449
3457
|
expectations?: Array<string>;
|
|
3450
3458
|
|
|
3459
|
+
openingLine?: string;
|
|
3460
|
+
|
|
3451
3461
|
prompt?: string;
|
|
3452
3462
|
|
|
3453
3463
|
title?: string;
|
|
@@ -3462,6 +3472,8 @@ export namespace ConfigApplyParams {
|
|
|
3462
3472
|
|
|
3463
3473
|
includeFlowExpectations?: boolean;
|
|
3464
3474
|
|
|
3475
|
+
openingLine?: string;
|
|
3476
|
+
|
|
3465
3477
|
persona?: string;
|
|
3466
3478
|
|
|
3467
3479
|
prompt?: string;
|
|
@@ -4948,6 +4960,8 @@ export namespace ConfigApplyParams {
|
|
|
4948
4960
|
|
|
4949
4961
|
expectations?: Array<string>;
|
|
4950
4962
|
|
|
4963
|
+
openingLine?: string;
|
|
4964
|
+
|
|
4951
4965
|
prompt?: string;
|
|
4952
4966
|
|
|
4953
4967
|
title?: string;
|
|
@@ -4962,6 +4976,8 @@ export namespace ConfigApplyParams {
|
|
|
4962
4976
|
|
|
4963
4977
|
includeFlowExpectations?: boolean;
|
|
4964
4978
|
|
|
4979
|
+
openingLine?: string;
|
|
4980
|
+
|
|
4965
4981
|
persona?: string;
|
|
4966
4982
|
|
|
4967
4983
|
prompt?: string;
|
|
@@ -6430,6 +6446,8 @@ export namespace ConfigDiffParams {
|
|
|
6430
6446
|
|
|
6431
6447
|
expectations?: Array<string>;
|
|
6432
6448
|
|
|
6449
|
+
openingLine?: string;
|
|
6450
|
+
|
|
6433
6451
|
prompt?: string;
|
|
6434
6452
|
|
|
6435
6453
|
title?: string;
|
|
@@ -6444,6 +6462,8 @@ export namespace ConfigDiffParams {
|
|
|
6444
6462
|
|
|
6445
6463
|
includeFlowExpectations?: boolean;
|
|
6446
6464
|
|
|
6465
|
+
openingLine?: string;
|
|
6466
|
+
|
|
6447
6467
|
persona?: string;
|
|
6448
6468
|
|
|
6449
6469
|
prompt?: string;
|
|
@@ -7930,6 +7950,8 @@ export namespace ConfigDiffParams {
|
|
|
7930
7950
|
|
|
7931
7951
|
expectations?: Array<string>;
|
|
7932
7952
|
|
|
7953
|
+
openingLine?: string;
|
|
7954
|
+
|
|
7933
7955
|
prompt?: string;
|
|
7934
7956
|
|
|
7935
7957
|
title?: string;
|
|
@@ -7944,6 +7966,8 @@ export namespace ConfigDiffParams {
|
|
|
7944
7966
|
|
|
7945
7967
|
includeFlowExpectations?: boolean;
|
|
7946
7968
|
|
|
7969
|
+
openingLine?: string;
|
|
7970
|
+
|
|
7947
7971
|
persona?: string;
|
|
7948
7972
|
|
|
7949
7973
|
prompt?: string;
|
|
@@ -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
|
*/
|
|
@@ -791,6 +791,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
791
791
|
*/
|
|
792
792
|
updatedAt: string;
|
|
793
793
|
|
|
794
|
+
openingLine?: string | null;
|
|
795
|
+
|
|
794
796
|
systemKey?: string | null;
|
|
795
797
|
}
|
|
796
798
|
|
|
@@ -1154,6 +1156,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
1154
1156
|
*/
|
|
1155
1157
|
updatedAt: string;
|
|
1156
1158
|
|
|
1159
|
+
openingLine?: string | null;
|
|
1160
|
+
|
|
1157
1161
|
systemKey?: string | null;
|
|
1158
1162
|
}
|
|
1159
1163
|
|
|
@@ -1629,6 +1633,14 @@ export namespace CustomerFlowCreateResponse {
|
|
|
1629
1633
|
*/
|
|
1630
1634
|
updatedAt: string;
|
|
1631
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
1638
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
1639
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
1640
|
+
* {{variables}}.
|
|
1641
|
+
*/
|
|
1642
|
+
openingLine?: string | null;
|
|
1643
|
+
|
|
1632
1644
|
/**
|
|
1633
1645
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
1634
1646
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -2245,6 +2257,14 @@ export namespace CustomerFlowCreateResponse {
|
|
|
2245
2257
|
*/
|
|
2246
2258
|
updatedAt: string;
|
|
2247
2259
|
|
|
2260
|
+
/**
|
|
2261
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
2262
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
2263
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
2264
|
+
* {{variables}}.
|
|
2265
|
+
*/
|
|
2266
|
+
openingLine?: string | null;
|
|
2267
|
+
|
|
2248
2268
|
/**
|
|
2249
2269
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
2250
2270
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -2943,6 +2963,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
2943
2963
|
*/
|
|
2944
2964
|
updatedAt: string;
|
|
2945
2965
|
|
|
2966
|
+
openingLine?: string | null;
|
|
2967
|
+
|
|
2946
2968
|
systemKey?: string | null;
|
|
2947
2969
|
}
|
|
2948
2970
|
|
|
@@ -3299,6 +3321,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
3299
3321
|
*/
|
|
3300
3322
|
updatedAt: string;
|
|
3301
3323
|
|
|
3324
|
+
openingLine?: string | null;
|
|
3325
|
+
|
|
3302
3326
|
systemKey?: string | null;
|
|
3303
3327
|
}
|
|
3304
3328
|
|
|
@@ -3804,6 +3828,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
3804
3828
|
*/
|
|
3805
3829
|
updatedAt: string;
|
|
3806
3830
|
|
|
3831
|
+
openingLine?: string | null;
|
|
3832
|
+
|
|
3807
3833
|
systemKey?: string | null;
|
|
3808
3834
|
}
|
|
3809
3835
|
|
|
@@ -4167,6 +4193,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
4167
4193
|
*/
|
|
4168
4194
|
updatedAt: string;
|
|
4169
4195
|
|
|
4196
|
+
openingLine?: string | null;
|
|
4197
|
+
|
|
4170
4198
|
systemKey?: string | null;
|
|
4171
4199
|
}
|
|
4172
4200
|
|
|
@@ -4642,6 +4670,14 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
4642
4670
|
*/
|
|
4643
4671
|
updatedAt: string;
|
|
4644
4672
|
|
|
4673
|
+
/**
|
|
4674
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
4675
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
4676
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
4677
|
+
* {{variables}}.
|
|
4678
|
+
*/
|
|
4679
|
+
openingLine?: string | null;
|
|
4680
|
+
|
|
4645
4681
|
/**
|
|
4646
4682
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
4647
4683
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -5258,6 +5294,14 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
5258
5294
|
*/
|
|
5259
5295
|
updatedAt: string;
|
|
5260
5296
|
|
|
5297
|
+
/**
|
|
5298
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
5299
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
5300
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
5301
|
+
* {{variables}}.
|
|
5302
|
+
*/
|
|
5303
|
+
openingLine?: string | null;
|
|
5304
|
+
|
|
5261
5305
|
/**
|
|
5262
5306
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
5263
5307
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -5956,6 +6000,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
5956
6000
|
*/
|
|
5957
6001
|
updatedAt: string;
|
|
5958
6002
|
|
|
6003
|
+
openingLine?: string | null;
|
|
6004
|
+
|
|
5959
6005
|
systemKey?: string | null;
|
|
5960
6006
|
}
|
|
5961
6007
|
|
|
@@ -6312,6 +6358,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
6312
6358
|
*/
|
|
6313
6359
|
updatedAt: string;
|
|
6314
6360
|
|
|
6361
|
+
openingLine?: string | null;
|
|
6362
|
+
|
|
6315
6363
|
systemKey?: string | null;
|
|
6316
6364
|
}
|
|
6317
6365
|
|
|
@@ -6820,6 +6868,8 @@ export namespace CustomerFlowListResponse {
|
|
|
6820
6868
|
*/
|
|
6821
6869
|
updatedAt: string;
|
|
6822
6870
|
|
|
6871
|
+
openingLine?: string | null;
|
|
6872
|
+
|
|
6823
6873
|
systemKey?: string | null;
|
|
6824
6874
|
}
|
|
6825
6875
|
|
|
@@ -7183,6 +7233,8 @@ export namespace CustomerFlowListResponse {
|
|
|
7183
7233
|
*/
|
|
7184
7234
|
updatedAt: string;
|
|
7185
7235
|
|
|
7236
|
+
openingLine?: string | null;
|
|
7237
|
+
|
|
7186
7238
|
systemKey?: string | null;
|
|
7187
7239
|
}
|
|
7188
7240
|
|
|
@@ -7658,6 +7710,14 @@ export namespace CustomerFlowListResponse {
|
|
|
7658
7710
|
*/
|
|
7659
7711
|
updatedAt: string;
|
|
7660
7712
|
|
|
7713
|
+
/**
|
|
7714
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
7715
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
7716
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
7717
|
+
* {{variables}}.
|
|
7718
|
+
*/
|
|
7719
|
+
openingLine?: string | null;
|
|
7720
|
+
|
|
7661
7721
|
/**
|
|
7662
7722
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
7663
7723
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -8274,6 +8334,14 @@ export namespace CustomerFlowListResponse {
|
|
|
8274
8334
|
*/
|
|
8275
8335
|
updatedAt: string;
|
|
8276
8336
|
|
|
8337
|
+
/**
|
|
8338
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
8339
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
8340
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
8341
|
+
* {{variables}}.
|
|
8342
|
+
*/
|
|
8343
|
+
openingLine?: string | null;
|
|
8344
|
+
|
|
8277
8345
|
/**
|
|
8278
8346
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
8279
8347
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -8972,6 +9040,8 @@ export namespace CustomerFlowListResponse {
|
|
|
8972
9040
|
*/
|
|
8973
9041
|
updatedAt: string;
|
|
8974
9042
|
|
|
9043
|
+
openingLine?: string | null;
|
|
9044
|
+
|
|
8975
9045
|
systemKey?: string | null;
|
|
8976
9046
|
}
|
|
8977
9047
|
|
|
@@ -9328,6 +9398,8 @@ export namespace CustomerFlowListResponse {
|
|
|
9328
9398
|
*/
|
|
9329
9399
|
updatedAt: string;
|
|
9330
9400
|
|
|
9401
|
+
openingLine?: string | null;
|
|
9402
|
+
|
|
9331
9403
|
systemKey?: string | null;
|
|
9332
9404
|
}
|
|
9333
9405
|
|
|
@@ -9863,6 +9935,8 @@ export namespace CustomerFlowDuplicateResponse {
|
|
|
9863
9935
|
*/
|
|
9864
9936
|
updatedAt: string;
|
|
9865
9937
|
|
|
9938
|
+
openingLine?: string | null;
|
|
9939
|
+
|
|
9866
9940
|
systemKey?: string | null;
|
|
9867
9941
|
}
|
|
9868
9942
|
|
|
@@ -10226,6 +10300,8 @@ export namespace CustomerFlowDuplicateResponse {
|
|
|
10226
10300
|
*/
|
|
10227
10301
|
updatedAt: string;
|
|
10228
10302
|
|
|
10303
|
+
openingLine?: string | null;
|
|
10304
|
+
|
|
10229
10305
|
systemKey?: string | null;
|
|
10230
10306
|
}
|
|
10231
10307
|
|
|
@@ -10701,6 +10777,14 @@ export namespace CustomerFlowDuplicateResponse {
|
|
|
10701
10777
|
*/
|
|
10702
10778
|
updatedAt: string;
|
|
10703
10779
|
|
|
10780
|
+
/**
|
|
10781
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
10782
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
10783
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
10784
|
+
* {{variables}}.
|
|
10785
|
+
*/
|
|
10786
|
+
openingLine?: string | null;
|
|
10787
|
+
|
|
10704
10788
|
/**
|
|
10705
10789
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
10706
10790
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -11317,6 +11401,14 @@ export namespace CustomerFlowDuplicateResponse {
|
|
|
11317
11401
|
*/
|
|
11318
11402
|
updatedAt: string;
|
|
11319
11403
|
|
|
11404
|
+
/**
|
|
11405
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
11406
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
11407
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
11408
|
+
* {{variables}}.
|
|
11409
|
+
*/
|
|
11410
|
+
openingLine?: string | null;
|
|
11411
|
+
|
|
11320
11412
|
/**
|
|
11321
11413
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
11322
11414
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -12015,6 +12107,8 @@ export namespace CustomerFlowDuplicateResponse {
|
|
|
12015
12107
|
*/
|
|
12016
12108
|
updatedAt: string;
|
|
12017
12109
|
|
|
12110
|
+
openingLine?: string | null;
|
|
12111
|
+
|
|
12018
12112
|
systemKey?: string | null;
|
|
12019
12113
|
}
|
|
12020
12114
|
|
|
@@ -12371,6 +12465,8 @@ export namespace CustomerFlowDuplicateResponse {
|
|
|
12371
12465
|
*/
|
|
12372
12466
|
updatedAt: string;
|
|
12373
12467
|
|
|
12468
|
+
openingLine?: string | null;
|
|
12469
|
+
|
|
12374
12470
|
systemKey?: string | null;
|
|
12375
12471
|
}
|
|
12376
12472
|
|
|
@@ -12876,6 +12972,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
12876
12972
|
*/
|
|
12877
12973
|
updatedAt: string;
|
|
12878
12974
|
|
|
12975
|
+
openingLine?: string | null;
|
|
12976
|
+
|
|
12879
12977
|
systemKey?: string | null;
|
|
12880
12978
|
}
|
|
12881
12979
|
|
|
@@ -13239,6 +13337,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
13239
13337
|
*/
|
|
13240
13338
|
updatedAt: string;
|
|
13241
13339
|
|
|
13340
|
+
openingLine?: string | null;
|
|
13341
|
+
|
|
13242
13342
|
systemKey?: string | null;
|
|
13243
13343
|
}
|
|
13244
13344
|
|
|
@@ -13714,6 +13814,14 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
13714
13814
|
*/
|
|
13715
13815
|
updatedAt: string;
|
|
13716
13816
|
|
|
13817
|
+
/**
|
|
13818
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
13819
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
13820
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
13821
|
+
* {{variables}}.
|
|
13822
|
+
*/
|
|
13823
|
+
openingLine?: string | null;
|
|
13824
|
+
|
|
13717
13825
|
/**
|
|
13718
13826
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
13719
13827
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -14330,6 +14438,14 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
14330
14438
|
*/
|
|
14331
14439
|
updatedAt: string;
|
|
14332
14440
|
|
|
14441
|
+
/**
|
|
14442
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
14443
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
14444
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
14445
|
+
* {{variables}}.
|
|
14446
|
+
*/
|
|
14447
|
+
openingLine?: string | null;
|
|
14448
|
+
|
|
14333
14449
|
/**
|
|
14334
14450
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
14335
14451
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -15028,6 +15144,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
15028
15144
|
*/
|
|
15029
15145
|
updatedAt: string;
|
|
15030
15146
|
|
|
15147
|
+
openingLine?: string | null;
|
|
15148
|
+
|
|
15031
15149
|
systemKey?: string | null;
|
|
15032
15150
|
}
|
|
15033
15151
|
|
|
@@ -15384,6 +15502,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
15384
15502
|
*/
|
|
15385
15503
|
updatedAt: string;
|
|
15386
15504
|
|
|
15505
|
+
openingLine?: string | null;
|
|
15506
|
+
|
|
15387
15507
|
systemKey?: string | null;
|
|
15388
15508
|
}
|
|
15389
15509
|
|
|
@@ -15777,6 +15897,8 @@ export namespace CustomerFlowReplaceGraphResponse {
|
|
|
15777
15897
|
*/
|
|
15778
15898
|
updatedAt: string;
|
|
15779
15899
|
|
|
15900
|
+
openingLine?: string | null;
|
|
15901
|
+
|
|
15780
15902
|
systemKey?: string | null;
|
|
15781
15903
|
}
|
|
15782
15904
|
|
|
@@ -16139,6 +16261,14 @@ export namespace CustomerFlowReplaceGraphResponse {
|
|
|
16139
16261
|
*/
|
|
16140
16262
|
updatedAt: string;
|
|
16141
16263
|
|
|
16264
|
+
/**
|
|
16265
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
16266
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
16267
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
16268
|
+
* {{variables}}.
|
|
16269
|
+
*/
|
|
16270
|
+
openingLine?: string | null;
|
|
16271
|
+
|
|
16142
16272
|
/**
|
|
16143
16273
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
16144
16274
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -16749,6 +16879,8 @@ export namespace CustomerFlowReplaceGraphResponse {
|
|
|
16749
16879
|
*/
|
|
16750
16880
|
updatedAt: string;
|
|
16751
16881
|
|
|
16882
|
+
openingLine?: string | null;
|
|
16883
|
+
|
|
16752
16884
|
systemKey?: string | null;
|
|
16753
16885
|
}
|
|
16754
16886
|
|
|
@@ -17125,6 +17257,8 @@ export namespace CustomerFlowUpdateHappyPathResponse {
|
|
|
17125
17257
|
*/
|
|
17126
17258
|
updatedAt: string;
|
|
17127
17259
|
|
|
17260
|
+
openingLine?: string | null;
|
|
17261
|
+
|
|
17128
17262
|
systemKey?: string | null;
|
|
17129
17263
|
}
|
|
17130
17264
|
|
|
@@ -17487,6 +17621,14 @@ export namespace CustomerFlowUpdateHappyPathResponse {
|
|
|
17487
17621
|
*/
|
|
17488
17622
|
updatedAt: string;
|
|
17489
17623
|
|
|
17624
|
+
/**
|
|
17625
|
+
* What the simulated customer says word for word as the call connects. Null on an
|
|
17626
|
+
* edge case inherits the happy path's; null on the happy path waits for your agent
|
|
17627
|
+
* to speak first. Ignored when a preceding flow runs first. Cannot use
|
|
17628
|
+
* {{variables}}.
|
|
17629
|
+
*/
|
|
17630
|
+
openingLine?: string | null;
|
|
17631
|
+
|
|
17490
17632
|
/**
|
|
17491
17633
|
* The brief the simulated customer improvises from. A `@{persona:<id>}` mention
|
|
17492
17634
|
* hands the phone to that persona mid-call; the sentences around the mention say
|
|
@@ -18097,6 +18239,8 @@ export namespace CustomerFlowUpdateHappyPathResponse {
|
|
|
18097
18239
|
*/
|
|
18098
18240
|
updatedAt: string;
|
|
18099
18241
|
|
|
18242
|
+
openingLine?: string | null;
|
|
18243
|
+
|
|
18100
18244
|
systemKey?: string | null;
|
|
18101
18245
|
}
|
|
18102
18246
|
|
|
@@ -18553,6 +18697,8 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
18553
18697
|
*/
|
|
18554
18698
|
additionalExpectations?: Array<HappyPath.AdditionalExpectation>;
|
|
18555
18699
|
|
|
18700
|
+
openingLine?: string | null;
|
|
18701
|
+
|
|
18556
18702
|
precededByCustomerFlowId?: string | null;
|
|
18557
18703
|
|
|
18558
18704
|
precededByCustomerFlowVariantId?: string | null;
|
|
@@ -18597,6 +18743,8 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
18597
18743
|
*/
|
|
18598
18744
|
includeFlowExpectations?: boolean;
|
|
18599
18745
|
|
|
18746
|
+
openingLine?: string | null;
|
|
18747
|
+
|
|
18600
18748
|
/**
|
|
18601
18749
|
* The persona this runs as. Omit to inherit the happy path's.
|
|
18602
18750
|
*/
|
|
@@ -18764,6 +18912,8 @@ export interface CustomerFlowUpdateHappyPathParams {
|
|
|
18764
18912
|
*/
|
|
18765
18913
|
includeFlowExpectations?: boolean;
|
|
18766
18914
|
|
|
18915
|
+
openingLine?: string | null;
|
|
18916
|
+
|
|
18767
18917
|
/**
|
|
18768
18918
|
* The persona this runs as. Null on an edge case inherits the happy path's.
|
|
18769
18919
|
*/
|
package/src/resources/index.ts
CHANGED
|
@@ -355,6 +355,7 @@ export {
|
|
|
355
355
|
export {
|
|
356
356
|
SimulationRunPlanJob,
|
|
357
357
|
type SimulationRunPlanJobListResponse,
|
|
358
|
+
type SimulationRunPlanJobDeleteResponse,
|
|
358
359
|
type SimulationRunPlanJobCancelResponse,
|
|
359
360
|
type SimulationRunPlanJobCreateDebriefResponse,
|
|
360
361
|
type SimulationRunPlanJobGetByIDResponse,
|
|
@@ -23,6 +23,25 @@ export class SimulationRunPlanJob extends APIResource {
|
|
|
23
23
|
return this._client.get('/v1/simulation/plan/jobs', { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Removes a finished run from the run history (a soft delete). The run stops
|
|
28
|
+
* appearing in run lists, counts and plan run histories, and reading it by ID
|
|
29
|
+
* returns 404.
|
|
30
|
+
*
|
|
31
|
+
* A run that is still in progress is refused with 409: cancel it first.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const simulationRunPlanJob =
|
|
36
|
+
* await client.simulationRunPlanJob.delete(
|
|
37
|
+
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
delete(jobID: string, options?: RequestOptions): APIPromise<SimulationRunPlanJobDeleteResponse> {
|
|
42
|
+
return this._client.delete(path`/v1/simulation/plan/job/${jobID}`, options);
|
|
43
|
+
}
|
|
44
|
+
|
|
26
45
|
/**
|
|
27
46
|
* Stops a run that has not finished yet. Already-finished runs are left alone.
|
|
28
47
|
*
|
|
@@ -232,6 +251,27 @@ export namespace SimulationRunPlanJobListResponse {
|
|
|
232
251
|
}
|
|
233
252
|
}
|
|
234
253
|
|
|
254
|
+
export interface SimulationRunPlanJobDeleteResponse {
|
|
255
|
+
/**
|
|
256
|
+
* Result of deleting a simulation plan job
|
|
257
|
+
*/
|
|
258
|
+
data: SimulationRunPlanJobDeleteResponse.Data;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export namespace SimulationRunPlanJobDeleteResponse {
|
|
262
|
+
/**
|
|
263
|
+
* Result of deleting a simulation plan job
|
|
264
|
+
*/
|
|
265
|
+
export interface Data {
|
|
266
|
+
/**
|
|
267
|
+
* True when the run was removed from the run history.
|
|
268
|
+
*/
|
|
269
|
+
deleted: boolean;
|
|
270
|
+
|
|
271
|
+
simulationRunPlanJobId: string;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
235
275
|
export interface SimulationRunPlanJobCancelResponse {
|
|
236
276
|
/**
|
|
237
277
|
* Result of cancelling a simulation plan job
|
|
@@ -3021,6 +3061,7 @@ export namespace SimulationRunPlanJobStartParams {
|
|
|
3021
3061
|
export declare namespace SimulationRunPlanJob {
|
|
3022
3062
|
export {
|
|
3023
3063
|
type SimulationRunPlanJobListResponse as SimulationRunPlanJobListResponse,
|
|
3064
|
+
type SimulationRunPlanJobDeleteResponse as SimulationRunPlanJobDeleteResponse,
|
|
3024
3065
|
type SimulationRunPlanJobCancelResponse as SimulationRunPlanJobCancelResponse,
|
|
3025
3066
|
type SimulationRunPlanJobCreateDebriefResponse as SimulationRunPlanJobCreateDebriefResponse,
|
|
3026
3067
|
type SimulationRunPlanJobGetByIDResponse as SimulationRunPlanJobGetByIDResponse,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '7.
|
|
1
|
+
export const VERSION = '7.4.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "7.
|
|
1
|
+
export declare const VERSION = "7.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|