telnyx 6.70.0 → 6.71.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 +11 -0
- package/client.d.mts +11 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -4
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/calls/actions.d.mts +260 -247
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +260 -247
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +210 -3
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +210 -3
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +2 -2
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +2 -2
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +1 -9
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -9
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/shared.d.mts +6 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +6 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/speech-to-text.d.mts +81 -0
- package/resources/speech-to-text.d.mts.map +1 -0
- package/resources/speech-to-text.d.ts +81 -0
- package/resources/speech-to-text.d.ts.map +1 -0
- package/resources/speech-to-text.js +36 -0
- package/resources/speech-to-text.js.map +1 -0
- package/resources/speech-to-text.mjs +32 -0
- package/resources/speech-to-text.mjs.map +1 -0
- package/resources/voice-sdk-call-reports.d.mts +30 -105
- package/resources/voice-sdk-call-reports.d.mts.map +1 -1
- package/resources/voice-sdk-call-reports.d.ts +30 -105
- package/resources/voice-sdk-call-reports.d.ts.map +1 -1
- package/resources/voice-sdk-call-reports.js.map +1 -1
- package/resources/voice-sdk-call-reports.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +1 -1
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -1
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/user-data.d.mts +16 -33
- package/resources/whatsapp/user-data.d.mts.map +1 -1
- package/resources/whatsapp/user-data.d.ts +16 -33
- package/resources/whatsapp/user-data.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +2 -2
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +2 -2
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/src/client.ts +23 -0
- package/src/resources/calls/actions.ts +331 -320
- package/src/resources/calls/calls.ts +272 -0
- package/src/resources/calls/index.ts +4 -0
- package/src/resources/conferences/actions.ts +1 -10
- package/src/resources/index.ts +8 -0
- package/src/resources/shared.ts +7 -0
- package/src/resources/speech-to-text.ts +114 -0
- package/src/resources/voice-sdk-call-reports.ts +33 -116
- package/src/resources/whatsapp/index.ts +1 -0
- package/src/resources/whatsapp/user-data.ts +17 -38
- package/src/resources/whatsapp/whatsapp.ts +2 -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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as VoiceSDKCallReportsAPI from "./voice-sdk-call-reports.js";
|
|
2
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
4
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
4
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
@@ -20,6 +21,30 @@ export declare class VoiceSDKCallReports extends APIResource {
|
|
|
20
21
|
list(query?: VoiceSDKCallReportListParams | null | undefined, options?: RequestOptions): PagePromise<VoiceSDKCallReportListResponsesDefaultFlatPagination, VoiceSDKCallReportListResponse>;
|
|
21
22
|
}
|
|
22
23
|
export type VoiceSDKCallReportListResponsesDefaultFlatPagination = DefaultFlatPagination<VoiceSDKCallReportListResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
26
|
+
*/
|
|
27
|
+
export interface VoiceSDKCallReportLogEntry {
|
|
28
|
+
/**
|
|
29
|
+
* Raw structured context attached to the log entry.
|
|
30
|
+
*/
|
|
31
|
+
context?: {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Log level emitted by the SDK.
|
|
36
|
+
*/
|
|
37
|
+
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
38
|
+
/**
|
|
39
|
+
* Log message.
|
|
40
|
+
*/
|
|
41
|
+
message?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Time when the log entry was emitted.
|
|
44
|
+
*/
|
|
45
|
+
timestamp?: string;
|
|
46
|
+
[k: string]: unknown;
|
|
47
|
+
}
|
|
23
48
|
/**
|
|
24
49
|
* Raw Voice SDK call report stats payloads as stored by voice-sdk-debug.
|
|
25
50
|
*/
|
|
@@ -56,7 +81,7 @@ export declare namespace VoiceSDKCallReportRetrieveResponse {
|
|
|
56
81
|
* responses commonly return an array of log entries, but object-shaped log
|
|
57
82
|
* payloads are also allowed for compatibility.
|
|
58
83
|
*/
|
|
59
|
-
logs?: Array<
|
|
84
|
+
logs?: Array<VoiceSDKCallReportsAPI.VoiceSDKCallReportLogEntry> | VoiceSDKCallReportRetrieveResponseItem.Entries;
|
|
60
85
|
/**
|
|
61
86
|
* Organization associated with the stored call report when provided by the Voice
|
|
62
87
|
* SDK reporting path.
|
|
@@ -128,30 +153,6 @@ export declare namespace VoiceSDKCallReportRetrieveResponse {
|
|
|
128
153
|
[k: string]: unknown;
|
|
129
154
|
}
|
|
130
155
|
namespace VoiceSDKCallReportRetrieveResponseItem {
|
|
131
|
-
/**
|
|
132
|
-
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
133
|
-
*/
|
|
134
|
-
interface UnionMember0 {
|
|
135
|
-
/**
|
|
136
|
-
* Raw structured context attached to the log entry.
|
|
137
|
-
*/
|
|
138
|
-
context?: {
|
|
139
|
-
[key: string]: unknown;
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* Log level emitted by the SDK.
|
|
143
|
-
*/
|
|
144
|
-
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
145
|
-
/**
|
|
146
|
-
* Log message.
|
|
147
|
-
*/
|
|
148
|
-
message?: string;
|
|
149
|
-
/**
|
|
150
|
-
* Time when the log entry was emitted.
|
|
151
|
-
*/
|
|
152
|
-
timestamp?: string;
|
|
153
|
-
[k: string]: unknown;
|
|
154
|
-
}
|
|
155
156
|
/**
|
|
156
157
|
* Raw logs object emitted by the Voice SDK when logs are grouped under an entries
|
|
157
158
|
* field.
|
|
@@ -160,35 +161,9 @@ export declare namespace VoiceSDKCallReportRetrieveResponse {
|
|
|
160
161
|
/**
|
|
161
162
|
* Raw log entries when the SDK groups logs under an entries field.
|
|
162
163
|
*/
|
|
163
|
-
entries?: Array<
|
|
164
|
+
entries?: Array<VoiceSDKCallReportsAPI.VoiceSDKCallReportLogEntry>;
|
|
164
165
|
[k: string]: unknown;
|
|
165
166
|
}
|
|
166
|
-
namespace Entries {
|
|
167
|
-
/**
|
|
168
|
-
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
169
|
-
*/
|
|
170
|
-
interface Entry {
|
|
171
|
-
/**
|
|
172
|
-
* Raw structured context attached to the log entry.
|
|
173
|
-
*/
|
|
174
|
-
context?: {
|
|
175
|
-
[key: string]: unknown;
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* Log level emitted by the SDK.
|
|
179
|
-
*/
|
|
180
|
-
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
181
|
-
/**
|
|
182
|
-
* Log message.
|
|
183
|
-
*/
|
|
184
|
-
message?: string;
|
|
185
|
-
/**
|
|
186
|
-
* Time when the log entry was emitted.
|
|
187
|
-
*/
|
|
188
|
-
timestamp?: string;
|
|
189
|
-
[k: string]: unknown;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
167
|
/**
|
|
193
168
|
* Raw stats object emitted by the Voice SDK.
|
|
194
169
|
*/
|
|
@@ -256,7 +231,7 @@ export interface VoiceSDKCallReportListResponse {
|
|
|
256
231
|
* responses commonly return an array of log entries, but object-shaped log
|
|
257
232
|
* payloads are also allowed for compatibility.
|
|
258
233
|
*/
|
|
259
|
-
logs?: Array<
|
|
234
|
+
logs?: Array<VoiceSDKCallReportLogEntry> | VoiceSDKCallReportListResponse.Entries;
|
|
260
235
|
/**
|
|
261
236
|
* Organization associated with the stored call report when provided by the Voice
|
|
262
237
|
* SDK reporting path.
|
|
@@ -328,30 +303,6 @@ export interface VoiceSDKCallReportListResponse {
|
|
|
328
303
|
[k: string]: unknown;
|
|
329
304
|
}
|
|
330
305
|
export declare namespace VoiceSDKCallReportListResponse {
|
|
331
|
-
/**
|
|
332
|
-
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
333
|
-
*/
|
|
334
|
-
interface UnionMember0 {
|
|
335
|
-
/**
|
|
336
|
-
* Raw structured context attached to the log entry.
|
|
337
|
-
*/
|
|
338
|
-
context?: {
|
|
339
|
-
[key: string]: unknown;
|
|
340
|
-
};
|
|
341
|
-
/**
|
|
342
|
-
* Log level emitted by the SDK.
|
|
343
|
-
*/
|
|
344
|
-
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
345
|
-
/**
|
|
346
|
-
* Log message.
|
|
347
|
-
*/
|
|
348
|
-
message?: string;
|
|
349
|
-
/**
|
|
350
|
-
* Time when the log entry was emitted.
|
|
351
|
-
*/
|
|
352
|
-
timestamp?: string;
|
|
353
|
-
[k: string]: unknown;
|
|
354
|
-
}
|
|
355
306
|
/**
|
|
356
307
|
* Raw logs object emitted by the Voice SDK when logs are grouped under an entries
|
|
357
308
|
* field.
|
|
@@ -360,35 +311,9 @@ export declare namespace VoiceSDKCallReportListResponse {
|
|
|
360
311
|
/**
|
|
361
312
|
* Raw log entries when the SDK groups logs under an entries field.
|
|
362
313
|
*/
|
|
363
|
-
entries?: Array<
|
|
314
|
+
entries?: Array<VoiceSDKCallReportsAPI.VoiceSDKCallReportLogEntry>;
|
|
364
315
|
[k: string]: unknown;
|
|
365
316
|
}
|
|
366
|
-
namespace Entries {
|
|
367
|
-
/**
|
|
368
|
-
* A raw Voice SDK log entry. Additional SDK-specific fields may be present.
|
|
369
|
-
*/
|
|
370
|
-
interface Entry {
|
|
371
|
-
/**
|
|
372
|
-
* Raw structured context attached to the log entry.
|
|
373
|
-
*/
|
|
374
|
-
context?: {
|
|
375
|
-
[key: string]: unknown;
|
|
376
|
-
};
|
|
377
|
-
/**
|
|
378
|
-
* Log level emitted by the SDK.
|
|
379
|
-
*/
|
|
380
|
-
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
381
|
-
/**
|
|
382
|
-
* Log message.
|
|
383
|
-
*/
|
|
384
|
-
message?: string;
|
|
385
|
-
/**
|
|
386
|
-
* Time when the log entry was emitted.
|
|
387
|
-
*/
|
|
388
|
-
timestamp?: string;
|
|
389
|
-
[k: string]: unknown;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
317
|
/**
|
|
393
318
|
* Raw stats object emitted by the Voice SDK.
|
|
394
319
|
*/
|
|
@@ -433,6 +358,6 @@ export interface VoiceSDKCallReportListParams extends DefaultFlatPaginationParam
|
|
|
433
358
|
sort?: 'asc' | 'desc' | 'created_at' | '-created_at';
|
|
434
359
|
}
|
|
435
360
|
export declare namespace VoiceSDKCallReports {
|
|
436
|
-
export { type VoiceSDKCallReportRetrieveResponse as VoiceSDKCallReportRetrieveResponse, type VoiceSDKCallReportListResponse as VoiceSDKCallReportListResponse, type VoiceSDKCallReportListResponsesDefaultFlatPagination as VoiceSDKCallReportListResponsesDefaultFlatPagination, type VoiceSDKCallReportListParams as VoiceSDKCallReportListParams, };
|
|
361
|
+
export { type VoiceSDKCallReportLogEntry as VoiceSDKCallReportLogEntry, type VoiceSDKCallReportRetrieveResponse as VoiceSDKCallReportRetrieveResponse, type VoiceSDKCallReportListResponse as VoiceSDKCallReportListResponse, type VoiceSDKCallReportListResponsesDefaultFlatPagination as VoiceSDKCallReportListResponsesDefaultFlatPagination, type VoiceSDKCallReportListParams as VoiceSDKCallReportListParams, };
|
|
437
362
|
}
|
|
438
363
|
//# sourceMappingURL=voice-sdk-call-reports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-sdk-call-reports.d.ts","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc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,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,oDAAoD,IAAI,oDAAoD,EACjH,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-sdk-call-reports.js","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"voice-sdk-call-reports.js","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAA0G;AAE1G,oDAA8C;AAE9C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;OAIG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,yBAAyB,EACzB,CAAA,kCAAqD,CAAA,EACrD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAzBD,kDAyBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-sdk-call-reports.mjs","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"voice-sdk-call-reports.mjs","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAE1G,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;OAIG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,yBAAyB,EACzB,CAAA,qBAAqD,CAAA,EACrD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { BusinessAccounts, type BusinessAccountRetrieveResponse, type BusinessAccountListResponse, type BusinessAccountListParams, type BusinessAccountListResponsesDefaultFlatPagination, } from "./business-accounts/index.mjs";
|
|
2
2
|
export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers/index.mjs";
|
|
3
3
|
export { Templates, type TemplateCreateResponse, type TemplateCreateParams, type TemplateListParams, } from "./templates.mjs";
|
|
4
|
-
export { UserData, type UserDataRetrieveResponse, type UserDataUpdateResponse, type UserDataUpdateParams, } from "./user-data.mjs";
|
|
4
|
+
export { UserData, type WhatsappUserData, type UserDataRetrieveResponse, type UserDataUpdateResponse, type UserDataUpdateParams, } from "./user-data.mjs";
|
|
5
5
|
export { Whatsapp } from "./whatsapp.mjs";
|
|
6
6
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,sCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,GACnD,kCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,wBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,sCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,GACnD,kCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,wBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { BusinessAccounts, type BusinessAccountRetrieveResponse, type BusinessAccountListResponse, type BusinessAccountListParams, type BusinessAccountListResponsesDefaultFlatPagination, } from "./business-accounts/index.js";
|
|
2
2
|
export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers/index.js";
|
|
3
3
|
export { Templates, type TemplateCreateResponse, type TemplateCreateParams, type TemplateListParams, } from "./templates.js";
|
|
4
|
-
export { UserData, type UserDataRetrieveResponse, type UserDataUpdateResponse, type UserDataUpdateParams, } from "./user-data.js";
|
|
4
|
+
export { UserData, type WhatsappUserData, type UserDataRetrieveResponse, type UserDataUpdateResponse, type UserDataUpdateParams, } from "./user-data.js";
|
|
5
5
|
export { Whatsapp } from "./whatsapp.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,qCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,GACnD,iCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,uBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,sBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD,qCAAkC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,GACnD,iCAA8B;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,uBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,sBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAMmC;AALjC,yGAAA,gBAAgB,OAAA;AAMlB,kDAO+B;AAN7B,qGAAA,YAAY,OAAA;AAOd,4CAKqB;AAJnB,sGAAA,SAAS,OAAA;AAKX,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAMmC;AALjC,yGAAA,gBAAgB,OAAA;AAMlB,kDAO+B;AAN7B,qGAAA,YAAY,OAAA;AAOd,4CAKqB;AAJnB,sGAAA,SAAS,OAAA;AAKX,4CAMqB;AALnB,qGAAA,QAAQ,OAAA;AAMV,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,gBAAgB,GAKjB,sCAAkC;AACnC,OAAO,EACL,YAAY,GAMb,kCAA8B;AAC/B,OAAO,EACL,SAAS,GAIV,wBAAoB;AACrB,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,gBAAgB,GAKjB,sCAAkC;AACnC,OAAO,EACL,YAAY,GAMb,kCAA8B;AAC/B,OAAO,EACL,SAAS,GAIV,wBAAoB;AACrB,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
|
|
@@ -24,41 +24,24 @@ export declare class UserData extends APIResource {
|
|
|
24
24
|
*/
|
|
25
25
|
update(body: UserDataUpdateParams, options?: RequestOptions): APIPromise<UserDataUpdateResponse>;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
28
|
-
|
|
27
|
+
export interface WhatsappUserData {
|
|
28
|
+
created_at?: string;
|
|
29
|
+
record_type?: string;
|
|
30
|
+
updated_at?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Failover URL to receive Whatsapp signup events
|
|
33
|
+
*/
|
|
34
|
+
webhook_failover_url?: string;
|
|
35
|
+
/**
|
|
36
|
+
* URL to receive Whatsapp signup events
|
|
37
|
+
*/
|
|
38
|
+
webhook_url?: string;
|
|
29
39
|
}
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
created_at?: string;
|
|
33
|
-
record_type?: string;
|
|
34
|
-
updated_at?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Failover URL to receive Whatsapp signup events
|
|
37
|
-
*/
|
|
38
|
-
webhook_failover_url?: string;
|
|
39
|
-
/**
|
|
40
|
-
* URL to receive Whatsapp signup events
|
|
41
|
-
*/
|
|
42
|
-
webhook_url?: string;
|
|
43
|
-
}
|
|
40
|
+
export interface UserDataRetrieveResponse {
|
|
41
|
+
data?: WhatsappUserData;
|
|
44
42
|
}
|
|
45
43
|
export interface UserDataUpdateResponse {
|
|
46
|
-
data?:
|
|
47
|
-
}
|
|
48
|
-
export declare namespace UserDataUpdateResponse {
|
|
49
|
-
interface Data {
|
|
50
|
-
created_at?: string;
|
|
51
|
-
record_type?: string;
|
|
52
|
-
updated_at?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Failover URL to receive Whatsapp signup events
|
|
55
|
-
*/
|
|
56
|
-
webhook_failover_url?: string;
|
|
57
|
-
/**
|
|
58
|
-
* URL to receive Whatsapp signup events
|
|
59
|
-
*/
|
|
60
|
-
webhook_url?: string;
|
|
61
|
-
}
|
|
44
|
+
data?: WhatsappUserData;
|
|
62
45
|
}
|
|
63
46
|
export interface UserDataUpdateParams {
|
|
64
47
|
/**
|
|
@@ -71,6 +54,6 @@ export interface UserDataUpdateParams {
|
|
|
71
54
|
webhook_url?: string;
|
|
72
55
|
}
|
|
73
56
|
export declare namespace UserData {
|
|
74
|
-
export { type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
57
|
+
export { type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
75
58
|
}
|
|
76
59
|
//# sourceMappingURL=user-data.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-data.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/user-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIxE;;;;;;;OAOG;IACH,MAAM,CA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sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -24,41 +24,24 @@ export declare class UserData extends APIResource {
|
|
|
24
24
|
*/
|
|
25
25
|
update(body: UserDataUpdateParams, options?: RequestOptions): APIPromise<UserDataUpdateResponse>;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
28
|
-
|
|
27
|
+
export interface WhatsappUserData {
|
|
28
|
+
created_at?: string;
|
|
29
|
+
record_type?: string;
|
|
30
|
+
updated_at?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Failover URL to receive Whatsapp signup events
|
|
33
|
+
*/
|
|
34
|
+
webhook_failover_url?: string;
|
|
35
|
+
/**
|
|
36
|
+
* URL to receive Whatsapp signup events
|
|
37
|
+
*/
|
|
38
|
+
webhook_url?: string;
|
|
29
39
|
}
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
created_at?: string;
|
|
33
|
-
record_type?: string;
|
|
34
|
-
updated_at?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Failover URL to receive Whatsapp signup events
|
|
37
|
-
*/
|
|
38
|
-
webhook_failover_url?: string;
|
|
39
|
-
/**
|
|
40
|
-
* URL to receive Whatsapp signup events
|
|
41
|
-
*/
|
|
42
|
-
webhook_url?: string;
|
|
43
|
-
}
|
|
40
|
+
export interface UserDataRetrieveResponse {
|
|
41
|
+
data?: WhatsappUserData;
|
|
44
42
|
}
|
|
45
43
|
export interface UserDataUpdateResponse {
|
|
46
|
-
data?:
|
|
47
|
-
}
|
|
48
|
-
export declare namespace UserDataUpdateResponse {
|
|
49
|
-
interface Data {
|
|
50
|
-
created_at?: string;
|
|
51
|
-
record_type?: string;
|
|
52
|
-
updated_at?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Failover URL to receive Whatsapp signup events
|
|
55
|
-
*/
|
|
56
|
-
webhook_failover_url?: string;
|
|
57
|
-
/**
|
|
58
|
-
* URL to receive Whatsapp signup events
|
|
59
|
-
*/
|
|
60
|
-
webhook_url?: string;
|
|
61
|
-
}
|
|
44
|
+
data?: WhatsappUserData;
|
|
62
45
|
}
|
|
63
46
|
export interface UserDataUpdateParams {
|
|
64
47
|
/**
|
|
@@ -71,6 +54,6 @@ export interface UserDataUpdateParams {
|
|
|
71
54
|
webhook_url?: string;
|
|
72
55
|
}
|
|
73
56
|
export declare namespace UserData {
|
|
74
|
-
export { type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
57
|
+
export { type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
75
58
|
}
|
|
76
59
|
//# sourceMappingURL=user-data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-data.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/user-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIxE;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjG;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"user-data.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/user-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIxE;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjG;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
2
2
|
import * as TemplatesAPI from "./templates.mjs";
|
|
3
3
|
import { TemplateCreateParams, TemplateCreateResponse, TemplateListParams, Templates } from "./templates.mjs";
|
|
4
4
|
import * as UserDataAPI from "./user-data.mjs";
|
|
5
|
-
import { UserData, UserDataRetrieveResponse, UserDataUpdateParams, UserDataUpdateResponse } from "./user-data.mjs";
|
|
5
|
+
import { UserData, UserDataRetrieveResponse, UserDataUpdateParams, UserDataUpdateResponse, WhatsappUserData } from "./user-data.mjs";
|
|
6
6
|
import * as BusinessAccountsAPI from "./business-accounts/business-accounts.mjs";
|
|
7
7
|
import { BusinessAccountListParams, BusinessAccountListResponse, BusinessAccountListResponsesDefaultFlatPagination, BusinessAccountRetrieveResponse, BusinessAccounts } from "./business-accounts/business-accounts.mjs";
|
|
8
8
|
import * as PhoneNumbersAPI from "./phone-numbers/phone-numbers.mjs";
|
|
@@ -17,6 +17,6 @@ export declare namespace Whatsapp {
|
|
|
17
17
|
export { BusinessAccounts as BusinessAccounts, type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse, type BusinessAccountListResponse as BusinessAccountListResponse, type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination, type BusinessAccountListParams as BusinessAccountListParams, };
|
|
18
18
|
export { Templates as Templates, type TemplateCreateResponse as TemplateCreateResponse, type TemplateCreateParams as TemplateCreateParams, type TemplateListParams as TemplateListParams, };
|
|
19
19
|
export { PhoneNumbers as PhoneNumbers, type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, };
|
|
20
|
-
export { UserData as UserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
20
|
+
export { UserData as UserData, type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=whatsapp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,SAAS,EAAE,wBAAoB;AAC1G,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"whatsapp.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,SAAS,EAAE,wBAAoB;AAC1G,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EACjB,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,iDAAiD,EACjD,+BAA+B,EAC/B,gBAAgB,EACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,6CAA6C,EAC7C,mCAAmC,EACnC,uBAAuB,EACvB,YAAY,EACb,0CAAsC;AAEvC,qBAAa,QAAS,SAAQ,WAAW;IACvC,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IACF,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;CACzE;AAOD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,gBAAgB,IAAI,gBAAgB,EACpC,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,iDAAiD,IAAI,iDAAiD,EAC3G,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../core/resource.js";
|
|
|
2
2
|
import * as TemplatesAPI from "./templates.js";
|
|
3
3
|
import { TemplateCreateParams, TemplateCreateResponse, TemplateListParams, Templates } from "./templates.js";
|
|
4
4
|
import * as UserDataAPI from "./user-data.js";
|
|
5
|
-
import { UserData, UserDataRetrieveResponse, UserDataUpdateParams, UserDataUpdateResponse } from "./user-data.js";
|
|
5
|
+
import { UserData, UserDataRetrieveResponse, UserDataUpdateParams, UserDataUpdateResponse, WhatsappUserData } from "./user-data.js";
|
|
6
6
|
import * as BusinessAccountsAPI from "./business-accounts/business-accounts.js";
|
|
7
7
|
import { BusinessAccountListParams, BusinessAccountListResponse, BusinessAccountListResponsesDefaultFlatPagination, BusinessAccountRetrieveResponse, BusinessAccounts } from "./business-accounts/business-accounts.js";
|
|
8
8
|
import * as PhoneNumbersAPI from "./phone-numbers/phone-numbers.js";
|
|
@@ -17,6 +17,6 @@ export declare namespace Whatsapp {
|
|
|
17
17
|
export { BusinessAccounts as BusinessAccounts, type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse, type BusinessAccountListResponse as BusinessAccountListResponse, type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination, type BusinessAccountListParams as BusinessAccountListParams, };
|
|
18
18
|
export { Templates as Templates, type TemplateCreateResponse as TemplateCreateResponse, type TemplateCreateParams as TemplateCreateParams, type TemplateListParams as TemplateListParams, };
|
|
19
19
|
export { PhoneNumbers as PhoneNumbers, type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, };
|
|
20
|
-
export { UserData as UserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
20
|
+
export { UserData as UserData, type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=whatsapp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,YAAY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/D,KAAK,iDAAiD,IAAI,iDAAiD,EAC3G,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.js","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,8CAA0G;AAC1G,oEAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"whatsapp.js","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,8CAA0G;AAC1G,oEAA2C;AAC3C,8CAMqB;AACrB,sGAA6E;AAC7E,gFAM+C;AAC/C,0FAAiE;AACjE,oEAOuC;AAEvC,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAPD,4BAOC;AAED,QAAQ,CAAC,gBAAgB,GAAG,oCAAgB,CAAC;AAC7C,QAAQ,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC/B,QAAQ,CAAC,YAAY,GAAG,4BAAY,CAAC;AACrC,QAAQ,CAAC,QAAQ,GAAG,oBAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAoE,SAAS,EAAE,wBAAoB;AAC1G,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"whatsapp.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAoE,SAAS,EAAE,wBAAoB;AAC1G,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EAKL,gBAAgB,GACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EAML,YAAY,GACb,0CAAsC;AAEvC,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1E,CAAC;CAAA;AAED,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAC7C,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;AAC/B,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
package/src/client.ts
CHANGED
|
@@ -819,6 +819,11 @@ import {
|
|
|
819
819
|
SiprecConnectorUpdateResponse,
|
|
820
820
|
SiprecConnectors,
|
|
821
821
|
} from './resources/siprec-connectors';
|
|
822
|
+
import {
|
|
823
|
+
SpeechToText,
|
|
824
|
+
SpeechToTextListProvidersParams,
|
|
825
|
+
SpeechToTextListProvidersResponse,
|
|
826
|
+
} from './resources/speech-to-text';
|
|
822
827
|
import {
|
|
823
828
|
SubNumberOrder,
|
|
824
829
|
SubNumberOrderCancelResponse,
|
|
@@ -962,6 +967,7 @@ import {
|
|
|
962
967
|
VoiceSDKCallReportListParams,
|
|
963
968
|
VoiceSDKCallReportListResponse,
|
|
964
969
|
VoiceSDKCallReportListResponsesDefaultFlatPagination,
|
|
970
|
+
VoiceSDKCallReportLogEntry,
|
|
965
971
|
VoiceSDKCallReportRetrieveResponse,
|
|
966
972
|
VoiceSDKCallReports,
|
|
967
973
|
} from './resources/voice-sdk-call-reports';
|
|
@@ -1176,6 +1182,8 @@ import {
|
|
|
1176
1182
|
CallDialResponse,
|
|
1177
1183
|
CallRetrieveStatusResponse,
|
|
1178
1184
|
Calls,
|
|
1185
|
+
ConversationRelayInterruptionSettings,
|
|
1186
|
+
ConversationRelayLanguage,
|
|
1179
1187
|
CustomSipHeader,
|
|
1180
1188
|
DialogflowConfig,
|
|
1181
1189
|
SipHeader,
|
|
@@ -2976,6 +2984,10 @@ export class Telnyx {
|
|
|
2976
2984
|
* UAC connection operations
|
|
2977
2985
|
*/
|
|
2978
2986
|
uacConnections: API.UacConnections = new API.UacConnections(this);
|
|
2987
|
+
/**
|
|
2988
|
+
* Discover available speech-to-text providers, models, and supported languages.
|
|
2989
|
+
*/
|
|
2990
|
+
speechToText: API.SpeechToText = new API.SpeechToText(this);
|
|
2979
2991
|
/**
|
|
2980
2992
|
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
2981
2993
|
*/
|
|
@@ -3146,6 +3158,7 @@ Telnyx.Reputation = Reputation;
|
|
|
3146
3158
|
Telnyx.TermsOfService = TermsOfService;
|
|
3147
3159
|
Telnyx.PronunciationDicts = PronunciationDicts;
|
|
3148
3160
|
Telnyx.UacConnections = UacConnections;
|
|
3161
|
+
Telnyx.SpeechToText = SpeechToText;
|
|
3149
3162
|
Telnyx.VoiceSDKCallReports = VoiceSDKCallReports;
|
|
3150
3163
|
|
|
3151
3164
|
export declare namespace Telnyx {
|
|
@@ -3499,6 +3512,8 @@ export declare namespace Telnyx {
|
|
|
3499
3512
|
export {
|
|
3500
3513
|
Calls as Calls,
|
|
3501
3514
|
type CallAssistantRequest as CallAssistantRequest,
|
|
3515
|
+
type ConversationRelayInterruptionSettings as ConversationRelayInterruptionSettings,
|
|
3516
|
+
type ConversationRelayLanguage as ConversationRelayLanguage,
|
|
3502
3517
|
type CustomSipHeader as CustomSipHeader,
|
|
3503
3518
|
type DialogflowConfig as DialogflowConfig,
|
|
3504
3519
|
type SipHeader as SipHeader,
|
|
@@ -4927,8 +4942,15 @@ export declare namespace Telnyx {
|
|
|
4927
4942
|
type UacConnectionListParams as UacConnectionListParams,
|
|
4928
4943
|
};
|
|
4929
4944
|
|
|
4945
|
+
export {
|
|
4946
|
+
SpeechToText as SpeechToText,
|
|
4947
|
+
type SpeechToTextListProvidersResponse as SpeechToTextListProvidersResponse,
|
|
4948
|
+
type SpeechToTextListProvidersParams as SpeechToTextListProvidersParams,
|
|
4949
|
+
};
|
|
4950
|
+
|
|
4930
4951
|
export {
|
|
4931
4952
|
VoiceSDKCallReports as VoiceSDKCallReports,
|
|
4953
|
+
type VoiceSDKCallReportLogEntry as VoiceSDKCallReportLogEntry,
|
|
4932
4954
|
type VoiceSDKCallReportRetrieveResponse as VoiceSDKCallReportRetrieveResponse,
|
|
4933
4955
|
type VoiceSDKCallReportListResponse as VoiceSDKCallReportListResponse,
|
|
4934
4956
|
type VoiceSDKCallReportListResponsesDefaultFlatPagination as VoiceSDKCallReportListResponsesDefaultFlatPagination,
|
|
@@ -4953,6 +4975,7 @@ export declare namespace Telnyx {
|
|
|
4953
4975
|
export type Feature = API.Feature;
|
|
4954
4976
|
export type HostedNumber = API.HostedNumber;
|
|
4955
4977
|
export type InboundMessagePayload = API.InboundMessagePayload;
|
|
4978
|
+
export type InworldVoiceSettings = API.InworldVoiceSettings;
|
|
4956
4979
|
export type MessagingFeatureSet = API.MessagingFeatureSet;
|
|
4957
4980
|
export type MessagingHostedNumberOrder = API.MessagingHostedNumberOrder;
|
|
4958
4981
|
export type MessagingPaginationMeta = API.MessagingPaginationMeta;
|