telnyx 3.3.2 → 3.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 +23 -0
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- 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/calls/actions.d.mts +183 -6
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +183 -6
- 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/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.mts +41 -6
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.ts +41 -6
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/batch-detail-records.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.d.mts +4 -4
- package/resources/legacy/reporting/batch-detail-records/index.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.d.ts +4 -4
- package/resources/legacy/reporting/batch-detail-records/index.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/index.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts +29 -280
- package/resources/legacy/reporting/batch-detail-records/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts +29 -280
- package/resources/legacy/reporting/batch-detail-records/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/messaging.mjs.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts +20 -73
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts +20 -73
- package/resources/legacy/reporting/batch-detail-records/speech-to-text.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts +75 -473
- package/resources/legacy/reporting/batch-detail-records/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts +75 -473
- package/resources/legacy/reporting/batch-detail-records/voice.d.ts.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.js.map +1 -1
- package/resources/legacy/reporting/batch-detail-records/voice.mjs.map +1 -1
- package/resources/legacy/reporting/index.d.mts +1 -1
- package/resources/legacy/reporting/index.d.mts.map +1 -1
- package/resources/legacy/reporting/index.d.ts +1 -1
- package/resources/legacy/reporting/index.d.ts.map +1 -1
- package/resources/legacy/reporting/index.js.map +1 -1
- package/resources/legacy/reporting/index.mjs.map +1 -1
- package/resources/legacy/reporting/reporting.d.mts +2 -2
- package/resources/legacy/reporting/reporting.d.mts.map +1 -1
- package/resources/legacy/reporting/reporting.d.ts +2 -2
- package/resources/legacy/reporting/reporting.d.ts.map +1 -1
- package/resources/legacy/reporting/reporting.js.map +1 -1
- package/resources/legacy/reporting/reporting.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.mts +2 -2
- package/resources/legacy/reporting/usage-reports/index.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.d.ts +2 -2
- package/resources/legacy/reporting/usage-reports/index.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/index.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.mts +31 -124
- package/resources/legacy/reporting/usage-reports/messaging.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/messaging.d.ts +31 -124
- package/resources/legacy/reporting/usage-reports/messaging.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +4 -4
- package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +4 -4
- package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
- package/resources/legacy/reporting/usage-reports/usage-reports.mjs.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.mts +32 -128
- package/resources/legacy/reporting/usage-reports/voice.d.mts.map +1 -1
- package/resources/legacy/reporting/usage-reports/voice.d.ts +32 -128
- package/resources/legacy/reporting/usage-reports/voice.d.ts.map +1 -1
- package/resources/oauth-clients.d.mts +71 -275
- package/resources/oauth-clients.d.mts.map +1 -1
- package/resources/oauth-clients.d.ts +71 -275
- package/resources/oauth-clients.d.ts.map +1 -1
- package/resources/oauth-grants.d.mts +30 -86
- package/resources/oauth-grants.d.mts.map +1 -1
- package/resources/oauth-grants.d.ts +30 -86
- package/resources/oauth-grants.d.ts.map +1 -1
- package/resources/verify-profiles.d.mts +8 -22
- package/resources/verify-profiles.d.mts.map +1 -1
- package/resources/verify-profiles.d.ts +8 -22
- package/resources/verify-profiles.d.ts.map +1 -1
- package/src/client.ts +6 -0
- package/src/resources/calls/actions.ts +555 -6
- package/src/resources/index.ts +3 -0
- package/src/resources/legacy/reporting/batch-detail-records/batch-detail-records.ts +49 -0
- package/src/resources/legacy/reporting/batch-detail-records/index.ts +4 -1
- package/src/resources/legacy/reporting/batch-detail-records/messaging.ts +30 -357
- package/src/resources/legacy/reporting/batch-detail-records/speech-to-text.ts +21 -94
- package/src/resources/legacy/reporting/batch-detail-records/voice.ts +89 -572
- package/src/resources/legacy/reporting/index.ts +1 -1
- package/src/resources/legacy/reporting/reporting.ts +2 -2
- package/src/resources/legacy/reporting/usage-reports/index.ts +2 -0
- package/src/resources/legacy/reporting/usage-reports/messaging.ts +31 -159
- package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +4 -0
- package/src/resources/legacy/reporting/usage-reports/voice.ts +32 -163
- package/src/resources/oauth-clients.ts +72 -323
- package/src/resources/oauth-grants.ts +31 -98
- package/src/resources/verify-profiles.ts +10 -27
- 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,8 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { BatchDetailRecords } from './batch-detail-records';
|
|
3
|
+
export { BatchDetailRecords, type Filter } from './batch-detail-records';
|
|
4
4
|
export {
|
|
5
5
|
Messaging,
|
|
6
|
+
type MdrDetailReportResponse,
|
|
6
7
|
type MessagingCreateResponse,
|
|
7
8
|
type MessagingRetrieveResponse,
|
|
8
9
|
type MessagingListResponse,
|
|
@@ -11,6 +12,7 @@ export {
|
|
|
11
12
|
} from './messaging';
|
|
12
13
|
export {
|
|
13
14
|
SpeechToText,
|
|
15
|
+
type SttDetailReportResponse,
|
|
14
16
|
type SpeechToTextCreateResponse,
|
|
15
17
|
type SpeechToTextRetrieveResponse,
|
|
16
18
|
type SpeechToTextListResponse,
|
|
@@ -19,6 +21,7 @@ export {
|
|
|
19
21
|
} from './speech-to-text';
|
|
20
22
|
export {
|
|
21
23
|
Voice,
|
|
24
|
+
type CdrDetailedReqResponse,
|
|
22
25
|
type VoiceCreateResponse,
|
|
23
26
|
type VoiceRetrieveResponse,
|
|
24
27
|
type VoiceListResponse,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import * as BatchDetailRecordsAPI from './batch-detail-records';
|
|
4
5
|
import { APIPromise } from '../../../../core/api-promise';
|
|
5
6
|
import { RequestOptions } from '../../../../internal/request-options';
|
|
6
7
|
import { path } from '../../../../internal/utils/path';
|
|
@@ -68,262 +69,57 @@ export class Messaging extends APIResource {
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
export interface
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export interface Data {
|
|
77
|
-
/**
|
|
78
|
-
* Identifies the resource
|
|
79
|
-
*/
|
|
80
|
-
id?: string;
|
|
81
|
-
|
|
82
|
-
connections?: Array<number>;
|
|
72
|
+
export interface MdrDetailReportResponse {
|
|
73
|
+
/**
|
|
74
|
+
* Identifies the resource
|
|
75
|
+
*/
|
|
76
|
+
id?: string;
|
|
83
77
|
|
|
84
|
-
|
|
78
|
+
connections?: Array<number>;
|
|
85
79
|
|
|
86
|
-
|
|
80
|
+
created_at?: string;
|
|
87
81
|
|
|
88
|
-
|
|
82
|
+
directions?: Array<'INBOUND' | 'OUTBOUND'>;
|
|
89
83
|
|
|
90
|
-
|
|
84
|
+
end_date?: string;
|
|
91
85
|
|
|
92
|
-
|
|
93
|
-
* List of messaging profile IDs
|
|
94
|
-
*/
|
|
95
|
-
profiles?: Array<string>;
|
|
86
|
+
filters?: Array<BatchDetailRecordsAPI.Filter>;
|
|
96
87
|
|
|
97
|
-
|
|
88
|
+
/**
|
|
89
|
+
* List of messaging profile IDs
|
|
90
|
+
*/
|
|
91
|
+
profiles?: Array<string>;
|
|
98
92
|
|
|
99
|
-
|
|
93
|
+
record_type?: string;
|
|
100
94
|
|
|
101
|
-
|
|
95
|
+
record_types?: Array<'INCOMPLETE' | 'COMPLETED' | 'ERRORS'>;
|
|
102
96
|
|
|
103
|
-
|
|
97
|
+
report_name?: string;
|
|
104
98
|
|
|
105
|
-
|
|
99
|
+
report_url?: string;
|
|
106
100
|
|
|
107
|
-
|
|
101
|
+
start_date?: string;
|
|
108
102
|
|
|
109
|
-
|
|
110
|
-
}
|
|
103
|
+
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
111
104
|
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Query filter criteria. Note: The first filter object must specify filter_type as
|
|
115
|
-
* 'and'. You cannot follow an 'or' with another 'and'.
|
|
116
|
-
*/
|
|
117
|
-
export interface Filter {
|
|
118
|
-
/**
|
|
119
|
-
* Billing group UUID to filter by
|
|
120
|
-
*/
|
|
121
|
-
billing_group?: string;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Called line identification (destination number)
|
|
125
|
-
*/
|
|
126
|
-
cld?: string;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Filter type for CLD matching
|
|
130
|
-
*/
|
|
131
|
-
cld_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Calling line identification (caller ID)
|
|
135
|
-
*/
|
|
136
|
-
cli?: string;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Filter type for CLI matching
|
|
140
|
-
*/
|
|
141
|
-
cli_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Logical operator for combining filters
|
|
145
|
-
*/
|
|
146
|
-
filter_type?: 'and' | 'or';
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Tag name to filter by
|
|
150
|
-
*/
|
|
151
|
-
tags_list?: string;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
105
|
+
updated_at?: string;
|
|
154
106
|
}
|
|
155
107
|
|
|
156
|
-
export interface
|
|
157
|
-
data?:
|
|
108
|
+
export interface MessagingCreateResponse {
|
|
109
|
+
data?: MdrDetailReportResponse;
|
|
158
110
|
}
|
|
159
111
|
|
|
160
|
-
export
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Identifies the resource
|
|
164
|
-
*/
|
|
165
|
-
id?: string;
|
|
166
|
-
|
|
167
|
-
connections?: Array<number>;
|
|
168
|
-
|
|
169
|
-
created_at?: string;
|
|
170
|
-
|
|
171
|
-
directions?: Array<'INBOUND' | 'OUTBOUND'>;
|
|
172
|
-
|
|
173
|
-
end_date?: string;
|
|
174
|
-
|
|
175
|
-
filters?: Array<Data.Filter>;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* List of messaging profile IDs
|
|
179
|
-
*/
|
|
180
|
-
profiles?: Array<string>;
|
|
181
|
-
|
|
182
|
-
record_type?: string;
|
|
183
|
-
|
|
184
|
-
record_types?: Array<'INCOMPLETE' | 'COMPLETED' | 'ERRORS'>;
|
|
185
|
-
|
|
186
|
-
report_name?: string;
|
|
187
|
-
|
|
188
|
-
report_url?: string;
|
|
189
|
-
|
|
190
|
-
start_date?: string;
|
|
191
|
-
|
|
192
|
-
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
193
|
-
|
|
194
|
-
updated_at?: string;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
export namespace Data {
|
|
198
|
-
/**
|
|
199
|
-
* Query filter criteria. Note: The first filter object must specify filter_type as
|
|
200
|
-
* 'and'. You cannot follow an 'or' with another 'and'.
|
|
201
|
-
*/
|
|
202
|
-
export interface Filter {
|
|
203
|
-
/**
|
|
204
|
-
* Billing group UUID to filter by
|
|
205
|
-
*/
|
|
206
|
-
billing_group?: string;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Called line identification (destination number)
|
|
210
|
-
*/
|
|
211
|
-
cld?: string;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Filter type for CLD matching
|
|
215
|
-
*/
|
|
216
|
-
cld_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Calling line identification (caller ID)
|
|
220
|
-
*/
|
|
221
|
-
cli?: string;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Filter type for CLI matching
|
|
225
|
-
*/
|
|
226
|
-
cli_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Logical operator for combining filters
|
|
230
|
-
*/
|
|
231
|
-
filter_type?: 'and' | 'or';
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Tag name to filter by
|
|
235
|
-
*/
|
|
236
|
-
tags_list?: string;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
112
|
+
export interface MessagingRetrieveResponse {
|
|
113
|
+
data?: MdrDetailReportResponse;
|
|
239
114
|
}
|
|
240
115
|
|
|
241
116
|
export interface MessagingListResponse {
|
|
242
|
-
data?: Array<
|
|
117
|
+
data?: Array<MdrDetailReportResponse>;
|
|
243
118
|
|
|
244
119
|
meta?: MessagingListResponse.Meta;
|
|
245
120
|
}
|
|
246
121
|
|
|
247
122
|
export namespace MessagingListResponse {
|
|
248
|
-
export interface Data {
|
|
249
|
-
/**
|
|
250
|
-
* Identifies the resource
|
|
251
|
-
*/
|
|
252
|
-
id?: string;
|
|
253
|
-
|
|
254
|
-
connections?: Array<number>;
|
|
255
|
-
|
|
256
|
-
created_at?: string;
|
|
257
|
-
|
|
258
|
-
directions?: Array<'INBOUND' | 'OUTBOUND'>;
|
|
259
|
-
|
|
260
|
-
end_date?: string;
|
|
261
|
-
|
|
262
|
-
filters?: Array<Data.Filter>;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* List of messaging profile IDs
|
|
266
|
-
*/
|
|
267
|
-
profiles?: Array<string>;
|
|
268
|
-
|
|
269
|
-
record_type?: string;
|
|
270
|
-
|
|
271
|
-
record_types?: Array<'INCOMPLETE' | 'COMPLETED' | 'ERRORS'>;
|
|
272
|
-
|
|
273
|
-
report_name?: string;
|
|
274
|
-
|
|
275
|
-
report_url?: string;
|
|
276
|
-
|
|
277
|
-
start_date?: string;
|
|
278
|
-
|
|
279
|
-
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
280
|
-
|
|
281
|
-
updated_at?: string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export namespace Data {
|
|
285
|
-
/**
|
|
286
|
-
* Query filter criteria. Note: The first filter object must specify filter_type as
|
|
287
|
-
* 'and'. You cannot follow an 'or' with another 'and'.
|
|
288
|
-
*/
|
|
289
|
-
export interface Filter {
|
|
290
|
-
/**
|
|
291
|
-
* Billing group UUID to filter by
|
|
292
|
-
*/
|
|
293
|
-
billing_group?: string;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Called line identification (destination number)
|
|
297
|
-
*/
|
|
298
|
-
cld?: string;
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Filter type for CLD matching
|
|
302
|
-
*/
|
|
303
|
-
cld_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Calling line identification (caller ID)
|
|
307
|
-
*/
|
|
308
|
-
cli?: string;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Filter type for CLI matching
|
|
312
|
-
*/
|
|
313
|
-
cli_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Logical operator for combining filters
|
|
317
|
-
*/
|
|
318
|
-
filter_type?: 'and' | 'or';
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Tag name to filter by
|
|
322
|
-
*/
|
|
323
|
-
tags_list?: string;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
123
|
export interface Meta {
|
|
328
124
|
page_number?: number;
|
|
329
125
|
|
|
@@ -336,88 +132,7 @@ export namespace MessagingListResponse {
|
|
|
336
132
|
}
|
|
337
133
|
|
|
338
134
|
export interface MessagingDeleteResponse {
|
|
339
|
-
data?:
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
export namespace MessagingDeleteResponse {
|
|
343
|
-
export interface Data {
|
|
344
|
-
/**
|
|
345
|
-
* Identifies the resource
|
|
346
|
-
*/
|
|
347
|
-
id?: string;
|
|
348
|
-
|
|
349
|
-
connections?: Array<number>;
|
|
350
|
-
|
|
351
|
-
created_at?: string;
|
|
352
|
-
|
|
353
|
-
directions?: Array<'INBOUND' | 'OUTBOUND'>;
|
|
354
|
-
|
|
355
|
-
end_date?: string;
|
|
356
|
-
|
|
357
|
-
filters?: Array<Data.Filter>;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* List of messaging profile IDs
|
|
361
|
-
*/
|
|
362
|
-
profiles?: Array<string>;
|
|
363
|
-
|
|
364
|
-
record_type?: string;
|
|
365
|
-
|
|
366
|
-
record_types?: Array<'INCOMPLETE' | 'COMPLETED' | 'ERRORS'>;
|
|
367
|
-
|
|
368
|
-
report_name?: string;
|
|
369
|
-
|
|
370
|
-
report_url?: string;
|
|
371
|
-
|
|
372
|
-
start_date?: string;
|
|
373
|
-
|
|
374
|
-
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
375
|
-
|
|
376
|
-
updated_at?: string;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
export namespace Data {
|
|
380
|
-
/**
|
|
381
|
-
* Query filter criteria. Note: The first filter object must specify filter_type as
|
|
382
|
-
* 'and'. You cannot follow an 'or' with another 'and'.
|
|
383
|
-
*/
|
|
384
|
-
export interface Filter {
|
|
385
|
-
/**
|
|
386
|
-
* Billing group UUID to filter by
|
|
387
|
-
*/
|
|
388
|
-
billing_group?: string;
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* Called line identification (destination number)
|
|
392
|
-
*/
|
|
393
|
-
cld?: string;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Filter type for CLD matching
|
|
397
|
-
*/
|
|
398
|
-
cld_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Calling line identification (caller ID)
|
|
402
|
-
*/
|
|
403
|
-
cli?: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Filter type for CLI matching
|
|
407
|
-
*/
|
|
408
|
-
cli_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Logical operator for combining filters
|
|
412
|
-
*/
|
|
413
|
-
filter_type?: 'and' | 'or';
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Tag name to filter by
|
|
417
|
-
*/
|
|
418
|
-
tags_list?: string;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
135
|
+
data?: MdrDetailReportResponse;
|
|
421
136
|
}
|
|
422
137
|
|
|
423
138
|
export interface MessagingCreateParams {
|
|
@@ -446,7 +161,7 @@ export interface MessagingCreateParams {
|
|
|
446
161
|
/**
|
|
447
162
|
* List of filters to apply
|
|
448
163
|
*/
|
|
449
|
-
filters?: Array<
|
|
164
|
+
filters?: Array<BatchDetailRecordsAPI.Filter>;
|
|
450
165
|
|
|
451
166
|
/**
|
|
452
167
|
* Whether to include message body in the report
|
|
@@ -484,51 +199,9 @@ export interface MessagingCreateParams {
|
|
|
484
199
|
timezone?: string;
|
|
485
200
|
}
|
|
486
201
|
|
|
487
|
-
export namespace MessagingCreateParams {
|
|
488
|
-
/**
|
|
489
|
-
* Query filter criteria. Note: The first filter object must specify filter_type as
|
|
490
|
-
* 'and'. You cannot follow an 'or' with another 'and'.
|
|
491
|
-
*/
|
|
492
|
-
export interface Filter {
|
|
493
|
-
/**
|
|
494
|
-
* Billing group UUID to filter by
|
|
495
|
-
*/
|
|
496
|
-
billing_group?: string;
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Called line identification (destination number)
|
|
500
|
-
*/
|
|
501
|
-
cld?: string;
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* Filter type for CLD matching
|
|
505
|
-
*/
|
|
506
|
-
cld_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* Calling line identification (caller ID)
|
|
510
|
-
*/
|
|
511
|
-
cli?: string;
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Filter type for CLI matching
|
|
515
|
-
*/
|
|
516
|
-
cli_filter?: 'contains' | 'starts_with' | 'ends_with';
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Logical operator for combining filters
|
|
520
|
-
*/
|
|
521
|
-
filter_type?: 'and' | 'or';
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Tag name to filter by
|
|
525
|
-
*/
|
|
526
|
-
tags_list?: string;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
|
|
530
202
|
export declare namespace Messaging {
|
|
531
203
|
export {
|
|
204
|
+
type MdrDetailReportResponse as MdrDetailReportResponse,
|
|
532
205
|
type MessagingCreateResponse as MessagingCreateResponse,
|
|
533
206
|
type MessagingRetrieveResponse as MessagingRetrieveResponse,
|
|
534
207
|
type MessagingListResponse as MessagingListResponse,
|
|
@@ -68,116 +68,42 @@ export class SpeechToText extends APIResource {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export interface
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export interface Data {
|
|
77
|
-
/**
|
|
78
|
-
* Identifies the resource
|
|
79
|
-
*/
|
|
80
|
-
id?: string;
|
|
71
|
+
export interface SttDetailReportResponse {
|
|
72
|
+
/**
|
|
73
|
+
* Identifies the resource
|
|
74
|
+
*/
|
|
75
|
+
id?: string;
|
|
81
76
|
|
|
82
|
-
|
|
77
|
+
created_at?: string;
|
|
83
78
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
79
|
+
/**
|
|
80
|
+
* URL to download the report
|
|
81
|
+
*/
|
|
82
|
+
download_link?: string;
|
|
88
83
|
|
|
89
|
-
|
|
84
|
+
end_date?: string;
|
|
90
85
|
|
|
91
|
-
|
|
86
|
+
record_type?: string;
|
|
92
87
|
|
|
93
|
-
|
|
88
|
+
start_date?: string;
|
|
94
89
|
|
|
95
|
-
|
|
96
|
-
}
|
|
90
|
+
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
97
91
|
}
|
|
98
92
|
|
|
99
|
-
export interface
|
|
100
|
-
data?:
|
|
93
|
+
export interface SpeechToTextCreateResponse {
|
|
94
|
+
data?: SttDetailReportResponse;
|
|
101
95
|
}
|
|
102
96
|
|
|
103
|
-
export
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Identifies the resource
|
|
107
|
-
*/
|
|
108
|
-
id?: string;
|
|
109
|
-
|
|
110
|
-
created_at?: string;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* URL to download the report
|
|
114
|
-
*/
|
|
115
|
-
download_link?: string;
|
|
116
|
-
|
|
117
|
-
end_date?: string;
|
|
118
|
-
|
|
119
|
-
record_type?: string;
|
|
120
|
-
|
|
121
|
-
start_date?: string;
|
|
122
|
-
|
|
123
|
-
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
124
|
-
}
|
|
97
|
+
export interface SpeechToTextRetrieveResponse {
|
|
98
|
+
data?: SttDetailReportResponse;
|
|
125
99
|
}
|
|
126
100
|
|
|
127
101
|
export interface SpeechToTextListResponse {
|
|
128
|
-
data?: Array<
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export namespace SpeechToTextListResponse {
|
|
132
|
-
export interface Data {
|
|
133
|
-
/**
|
|
134
|
-
* Identifies the resource
|
|
135
|
-
*/
|
|
136
|
-
id?: string;
|
|
137
|
-
|
|
138
|
-
created_at?: string;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* URL to download the report
|
|
142
|
-
*/
|
|
143
|
-
download_link?: string;
|
|
144
|
-
|
|
145
|
-
end_date?: string;
|
|
146
|
-
|
|
147
|
-
record_type?: string;
|
|
148
|
-
|
|
149
|
-
start_date?: string;
|
|
150
|
-
|
|
151
|
-
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
152
|
-
}
|
|
102
|
+
data?: Array<SttDetailReportResponse>;
|
|
153
103
|
}
|
|
154
104
|
|
|
155
105
|
export interface SpeechToTextDeleteResponse {
|
|
156
|
-
data?:
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export namespace SpeechToTextDeleteResponse {
|
|
160
|
-
export interface Data {
|
|
161
|
-
/**
|
|
162
|
-
* Identifies the resource
|
|
163
|
-
*/
|
|
164
|
-
id?: string;
|
|
165
|
-
|
|
166
|
-
created_at?: string;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* URL to download the report
|
|
170
|
-
*/
|
|
171
|
-
download_link?: string;
|
|
172
|
-
|
|
173
|
-
end_date?: string;
|
|
174
|
-
|
|
175
|
-
record_type?: string;
|
|
176
|
-
|
|
177
|
-
start_date?: string;
|
|
178
|
-
|
|
179
|
-
status?: 'PENDING' | 'COMPLETE' | 'FAILED' | 'EXPIRED';
|
|
180
|
-
}
|
|
106
|
+
data?: SttDetailReportResponse;
|
|
181
107
|
}
|
|
182
108
|
|
|
183
109
|
export interface SpeechToTextCreateParams {
|
|
@@ -194,6 +120,7 @@ export interface SpeechToTextCreateParams {
|
|
|
194
120
|
|
|
195
121
|
export declare namespace SpeechToText {
|
|
196
122
|
export {
|
|
123
|
+
type SttDetailReportResponse as SttDetailReportResponse,
|
|
197
124
|
type SpeechToTextCreateResponse as SpeechToTextCreateResponse,
|
|
198
125
|
type SpeechToTextRetrieveResponse as SpeechToTextRetrieveResponse,
|
|
199
126
|
type SpeechToTextListResponse as SpeechToTextListResponse,
|