@talqing/sdk 0.22.0 → 0.22.2
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/dist/cjs/gen/sdk.gen.d.ts +2 -1
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +2 -1
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +36 -4
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.d.ts +2 -1
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +2 -1
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +36 -4
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/sdk.gen.ts +2 -1
- package/src/gen/types.gen.ts +36 -4
package/package.json
CHANGED
package/src/gen/sdk.gen.ts
CHANGED
|
@@ -577,7 +577,8 @@ export class Recipients extends HeyApiClient {
|
|
|
577
577
|
* `session_id` is that person's most recent call — pass it to `get_call` for
|
|
578
578
|
* the transcript, recording and cost, and `last_close_reason` says exactly how
|
|
579
579
|
* the attempt ended. A recipient of a cancelled batch reads as `canceled` even
|
|
580
|
-
* though their row was never touched.
|
|
580
|
+
* though their row was never touched. `collected` is what is now known about the
|
|
581
|
+
* contact that differs from their row, callbacks included; `analysis` is the latest call's.
|
|
581
582
|
*/
|
|
582
583
|
public list<ThrowOnError extends boolean = false>(parameters: {
|
|
583
584
|
batch_id: string;
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -1297,10 +1297,22 @@ export type CallBatchCounts = {
|
|
|
1297
1297
|
* CallBatchRecipientResponse
|
|
1298
1298
|
*/
|
|
1299
1299
|
export type CallBatchRecipientResponse = {
|
|
1300
|
+
/**
|
|
1301
|
+
* The latest call's post-call analysis. Null until a call is placed.
|
|
1302
|
+
*/
|
|
1303
|
+
analysis: AnalysisResponse | null;
|
|
1300
1304
|
/**
|
|
1301
1305
|
* Attempts
|
|
1302
1306
|
*/
|
|
1303
1307
|
attempts: number;
|
|
1308
|
+
/**
|
|
1309
|
+
* Collected
|
|
1310
|
+
*
|
|
1311
|
+
* The contact's userdata that differs from this row's, callbacks included.
|
|
1312
|
+
*/
|
|
1313
|
+
collected: {
|
|
1314
|
+
[key: string]: unknown;
|
|
1315
|
+
};
|
|
1304
1316
|
/**
|
|
1305
1317
|
* Id
|
|
1306
1318
|
*/
|
|
@@ -1354,7 +1366,15 @@ export type CallBatchResponse = {
|
|
|
1354
1366
|
*/
|
|
1355
1367
|
agent_name: string | null;
|
|
1356
1368
|
agent_plan?: StoredAgentPlan | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* Analysis Columns
|
|
1371
|
+
*/
|
|
1372
|
+
analysis_columns: Array<string>;
|
|
1357
1373
|
calling_window: TimeWindow | null;
|
|
1374
|
+
/**
|
|
1375
|
+
* Collected Columns
|
|
1376
|
+
*/
|
|
1377
|
+
collected_columns: Array<string>;
|
|
1358
1378
|
counts: CallBatchCounts;
|
|
1359
1379
|
/**
|
|
1360
1380
|
* Created At
|
|
@@ -1400,6 +1420,10 @@ export type CallBatchResponse = {
|
|
|
1400
1420
|
* Id
|
|
1401
1421
|
*/
|
|
1402
1422
|
id: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Input Columns
|
|
1425
|
+
*/
|
|
1426
|
+
input_columns: Array<string>;
|
|
1403
1427
|
/**
|
|
1404
1428
|
* Max Attempts
|
|
1405
1429
|
*/
|
|
@@ -3842,7 +3866,7 @@ export type CreateTelephonyAccountRequest = {
|
|
|
3842
3866
|
/**
|
|
3843
3867
|
* Provider
|
|
3844
3868
|
*/
|
|
3845
|
-
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio';
|
|
3869
|
+
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio' | 'ozonetel';
|
|
3846
3870
|
};
|
|
3847
3871
|
|
|
3848
3872
|
/**
|
|
@@ -9421,7 +9445,7 @@ export type PhoneNumberResponse = {
|
|
|
9421
9445
|
/**
|
|
9422
9446
|
* Provider
|
|
9423
9447
|
*/
|
|
9424
|
-
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio';
|
|
9448
|
+
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio' | 'ozonetel';
|
|
9425
9449
|
/**
|
|
9426
9450
|
* Provider Number Id
|
|
9427
9451
|
*/
|
|
@@ -12900,7 +12924,7 @@ export type TelephonyAccountResponse = {
|
|
|
12900
12924
|
/**
|
|
12901
12925
|
* Provider
|
|
12902
12926
|
*/
|
|
12903
|
-
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio';
|
|
12927
|
+
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio' | 'ozonetel';
|
|
12904
12928
|
/**
|
|
12905
12929
|
* Provider State
|
|
12906
12930
|
*/
|
|
@@ -12963,6 +12987,10 @@ export type TelephonyProviderSpec = {
|
|
|
12963
12987
|
* Label
|
|
12964
12988
|
*/
|
|
12965
12989
|
label: string;
|
|
12990
|
+
/**
|
|
12991
|
+
* Lists Numbers
|
|
12992
|
+
*/
|
|
12993
|
+
lists_numbers: boolean;
|
|
12966
12994
|
/**
|
|
12967
12995
|
* Logo Url
|
|
12968
12996
|
*/
|
|
@@ -12970,7 +12998,7 @@ export type TelephonyProviderSpec = {
|
|
|
12970
12998
|
/**
|
|
12971
12999
|
* Provider
|
|
12972
13000
|
*/
|
|
12973
|
-
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio';
|
|
13001
|
+
provider: 'plivo' | 'exotel' | 'vobiz' | 'twilio' | 'ozonetel';
|
|
12974
13002
|
/**
|
|
12975
13003
|
* Setup Fields
|
|
12976
13004
|
*/
|
|
@@ -12979,6 +13007,10 @@ export type TelephonyProviderSpec = {
|
|
|
12979
13007
|
* Supports Refer
|
|
12980
13008
|
*/
|
|
12981
13009
|
supports_refer: boolean;
|
|
13010
|
+
/**
|
|
13011
|
+
* Transport
|
|
13012
|
+
*/
|
|
13013
|
+
transport: 'sip' | 'stream';
|
|
12982
13014
|
};
|
|
12983
13015
|
|
|
12984
13016
|
/**
|