telnyx 6.69.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 +24 -0
- package/client.d.mts +15 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -2
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/calls/actions.d.mts +264 -251
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +264 -251
- 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 +3 -11
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +3 -11
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +3 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +6 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -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 +363 -0
- package/resources/voice-sdk-call-reports.d.mts.map +1 -0
- package/resources/voice-sdk-call-reports.d.ts +363 -0
- package/resources/voice-sdk-call-reports.d.ts.map +1 -0
- package/resources/voice-sdk-call-reports.js +30 -0
- package/resources/voice-sdk-call-reports.js.map +1 -0
- package/resources/voice-sdk-call-reports.mjs +26 -0
- package/resources/voice-sdk-call-reports.mjs.map +1 -0
- 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 +43 -0
- package/src/resources/calls/actions.ts +335 -324
- package/src/resources/calls/calls.ts +272 -0
- package/src/resources/calls/index.ts +4 -0
- package/src/resources/conferences/actions.ts +3 -12
- package/src/resources/index.ts +15 -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 +415 -0
- 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
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as VoiceSDKCallReportsAPI from "./voice-sdk-call-reports.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.js";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
+
/**
|
|
7
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
8
|
+
*/
|
|
9
|
+
export declare class VoiceSDKCallReports extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns raw call report stats JSON payloads stored for the authenticated user
|
|
12
|
+
* and `call_id`. The user is derived from Telnyx authentication, not from request
|
|
13
|
+
* parameters.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(callID: string, options?: RequestOptions): APIPromise<VoiceSDKCallReportRetrieveResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns paginated raw call report stats JSON payloads stored for the
|
|
18
|
+
* authenticated user. The user is derived from Telnyx authentication, not from
|
|
19
|
+
* request parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(query?: VoiceSDKCallReportListParams | null | undefined, options?: RequestOptions): PagePromise<VoiceSDKCallReportListResponsesDefaultFlatPagination, VoiceSDKCallReportListResponse>;
|
|
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
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Raw Voice SDK call report stats payloads as stored by voice-sdk-debug.
|
|
50
|
+
*/
|
|
51
|
+
export type VoiceSDKCallReportRetrieveResponse = Array<VoiceSDKCallReportRetrieveResponse.VoiceSDKCallReportRetrieveResponseItem>;
|
|
52
|
+
export declare namespace VoiceSDKCallReportRetrieveResponse {
|
|
53
|
+
/**
|
|
54
|
+
* A raw call report stats JSON payload. The schema is intentionally permissive
|
|
55
|
+
* because Voice SDK clients can add fields over time.
|
|
56
|
+
*/
|
|
57
|
+
interface VoiceSDKCallReportRetrieveResponseItem {
|
|
58
|
+
/**
|
|
59
|
+
* Unique call identifier.
|
|
60
|
+
*/
|
|
61
|
+
call_id?: string;
|
|
62
|
+
/**
|
|
63
|
+
* User-scoped storage grouping identifier derived from the authenticated user.
|
|
64
|
+
* This is not a unique per-call report identifier and may be shared by multiple
|
|
65
|
+
* calls for the same user.
|
|
66
|
+
*/
|
|
67
|
+
call_report_id?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Creation timestamp when present.
|
|
70
|
+
*/
|
|
71
|
+
created_at?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Reason the SDK flushed this stats report segment, for example an intermediate
|
|
74
|
+
* socket-close flush.
|
|
75
|
+
*/
|
|
76
|
+
flushReason?: {
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Raw logs payload emitted by the Voice SDK and stored without normalization. Live
|
|
81
|
+
* responses commonly return an array of log entries, but object-shaped log
|
|
82
|
+
* payloads are also allowed for compatibility.
|
|
83
|
+
*/
|
|
84
|
+
logs?: Array<VoiceSDKCallReportsAPI.VoiceSDKCallReportLogEntry> | VoiceSDKCallReportRetrieveResponseItem.Entries;
|
|
85
|
+
/**
|
|
86
|
+
* Organization associated with the stored call report when provided by the Voice
|
|
87
|
+
* SDK reporting path.
|
|
88
|
+
*/
|
|
89
|
+
organization_id?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Zero-based stats segment index when the SDK sends segmented or intermediate
|
|
92
|
+
* reports.
|
|
93
|
+
*/
|
|
94
|
+
segment?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Raw stats payload emitted by the Voice SDK and stored without normalization. The
|
|
97
|
+
* exact shape can vary by SDK platform and version. Live responses commonly return
|
|
98
|
+
* an array of interval snapshots, but object-shaped stats payloads are also
|
|
99
|
+
* allowed for compatibility.
|
|
100
|
+
*/
|
|
101
|
+
stats?: Array<{
|
|
102
|
+
[key: string]: unknown;
|
|
103
|
+
}> | VoiceSDKCallReportRetrieveResponseItem.UnionMember1;
|
|
104
|
+
/**
|
|
105
|
+
* Time when the call report was stored.
|
|
106
|
+
*/
|
|
107
|
+
stored_at?: string;
|
|
108
|
+
/**
|
|
109
|
+
* High-level call metadata.
|
|
110
|
+
*/
|
|
111
|
+
summary?: {
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Telnyx call leg identifier for correlating the report with call-control, SIP,
|
|
116
|
+
* and media troubleshooting data.
|
|
117
|
+
*/
|
|
118
|
+
telnyx_leg_id?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Telnyx RTC session identifier for correlating the report with Voice SDK
|
|
121
|
+
* signaling and media-session logs.
|
|
122
|
+
*/
|
|
123
|
+
telnyx_session_id?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Voice SDK user agent string reported by the client. This is the preferred
|
|
126
|
+
* SDK/platform/version dimension when present.
|
|
127
|
+
*/
|
|
128
|
+
user_agent?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Authenticated user that owns the call report.
|
|
131
|
+
*/
|
|
132
|
+
user_id?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Legacy SDK version value when the client reports one separately from the user
|
|
135
|
+
* agent.
|
|
136
|
+
*/
|
|
137
|
+
version?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Voice SDK instance identifier.
|
|
140
|
+
*/
|
|
141
|
+
voice_sdk_id?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Decoded Voice SDK identifier metadata emitted by voice-sdk-proxy when available.
|
|
144
|
+
*/
|
|
145
|
+
voice_sdk_id_decoded?: {
|
|
146
|
+
[key: string]: unknown;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Voice SDK session correlation identifier used to group stats segments for the
|
|
150
|
+
* same SDK session.
|
|
151
|
+
*/
|
|
152
|
+
voice_sdk_session_id?: string;
|
|
153
|
+
[k: string]: unknown;
|
|
154
|
+
}
|
|
155
|
+
namespace VoiceSDKCallReportRetrieveResponseItem {
|
|
156
|
+
/**
|
|
157
|
+
* Raw logs object emitted by the Voice SDK when logs are grouped under an entries
|
|
158
|
+
* field.
|
|
159
|
+
*/
|
|
160
|
+
interface Entries {
|
|
161
|
+
/**
|
|
162
|
+
* Raw log entries when the SDK groups logs under an entries field.
|
|
163
|
+
*/
|
|
164
|
+
entries?: Array<VoiceSDKCallReportsAPI.VoiceSDKCallReportLogEntry>;
|
|
165
|
+
[k: string]: unknown;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Raw stats object emitted by the Voice SDK.
|
|
169
|
+
*/
|
|
170
|
+
interface UnionMember1 {
|
|
171
|
+
/**
|
|
172
|
+
* Raw audio stats such as inbound/outbound packet, byte, jitter, packet-loss,
|
|
173
|
+
* bitrate, and audio-level metrics.
|
|
174
|
+
*/
|
|
175
|
+
audio?: {
|
|
176
|
+
[key: string]: unknown;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Raw connection stats such as round-trip time, packets, and bytes sent or
|
|
180
|
+
* received.
|
|
181
|
+
*/
|
|
182
|
+
connection?: {
|
|
183
|
+
[key: string]: unknown;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Raw ICE candidate-pair information, including selected pair, local/remote
|
|
187
|
+
* candidates, state, and nomination data when provided by the SDK.
|
|
188
|
+
*/
|
|
189
|
+
ice?: {
|
|
190
|
+
[key: string]: unknown;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Raw transport stats such as ICE state, DTLS state, SRTP cipher, TLS version, and
|
|
194
|
+
* selected-candidate-pair changes.
|
|
195
|
+
*/
|
|
196
|
+
transport?: {
|
|
197
|
+
[key: string]: unknown;
|
|
198
|
+
};
|
|
199
|
+
[k: string]: unknown;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* A raw call report stats JSON payload. The schema is intentionally permissive
|
|
205
|
+
* because Voice SDK clients can add fields over time.
|
|
206
|
+
*/
|
|
207
|
+
export interface VoiceSDKCallReportListResponse {
|
|
208
|
+
/**
|
|
209
|
+
* Unique call identifier.
|
|
210
|
+
*/
|
|
211
|
+
call_id?: string;
|
|
212
|
+
/**
|
|
213
|
+
* User-scoped storage grouping identifier derived from the authenticated user.
|
|
214
|
+
* This is not a unique per-call report identifier and may be shared by multiple
|
|
215
|
+
* calls for the same user.
|
|
216
|
+
*/
|
|
217
|
+
call_report_id?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Creation timestamp when present.
|
|
220
|
+
*/
|
|
221
|
+
created_at?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Reason the SDK flushed this stats report segment, for example an intermediate
|
|
224
|
+
* socket-close flush.
|
|
225
|
+
*/
|
|
226
|
+
flushReason?: {
|
|
227
|
+
[key: string]: unknown;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Raw logs payload emitted by the Voice SDK and stored without normalization. Live
|
|
231
|
+
* responses commonly return an array of log entries, but object-shaped log
|
|
232
|
+
* payloads are also allowed for compatibility.
|
|
233
|
+
*/
|
|
234
|
+
logs?: Array<VoiceSDKCallReportLogEntry> | VoiceSDKCallReportListResponse.Entries;
|
|
235
|
+
/**
|
|
236
|
+
* Organization associated with the stored call report when provided by the Voice
|
|
237
|
+
* SDK reporting path.
|
|
238
|
+
*/
|
|
239
|
+
organization_id?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Zero-based stats segment index when the SDK sends segmented or intermediate
|
|
242
|
+
* reports.
|
|
243
|
+
*/
|
|
244
|
+
segment?: number;
|
|
245
|
+
/**
|
|
246
|
+
* Raw stats payload emitted by the Voice SDK and stored without normalization. The
|
|
247
|
+
* exact shape can vary by SDK platform and version. Live responses commonly return
|
|
248
|
+
* an array of interval snapshots, but object-shaped stats payloads are also
|
|
249
|
+
* allowed for compatibility.
|
|
250
|
+
*/
|
|
251
|
+
stats?: Array<{
|
|
252
|
+
[key: string]: unknown;
|
|
253
|
+
}> | VoiceSDKCallReportListResponse.UnionMember1;
|
|
254
|
+
/**
|
|
255
|
+
* Time when the call report was stored.
|
|
256
|
+
*/
|
|
257
|
+
stored_at?: string;
|
|
258
|
+
/**
|
|
259
|
+
* High-level call metadata.
|
|
260
|
+
*/
|
|
261
|
+
summary?: {
|
|
262
|
+
[key: string]: unknown;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Telnyx call leg identifier for correlating the report with call-control, SIP,
|
|
266
|
+
* and media troubleshooting data.
|
|
267
|
+
*/
|
|
268
|
+
telnyx_leg_id?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Telnyx RTC session identifier for correlating the report with Voice SDK
|
|
271
|
+
* signaling and media-session logs.
|
|
272
|
+
*/
|
|
273
|
+
telnyx_session_id?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Voice SDK user agent string reported by the client. This is the preferred
|
|
276
|
+
* SDK/platform/version dimension when present.
|
|
277
|
+
*/
|
|
278
|
+
user_agent?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Authenticated user that owns the call report.
|
|
281
|
+
*/
|
|
282
|
+
user_id?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Legacy SDK version value when the client reports one separately from the user
|
|
285
|
+
* agent.
|
|
286
|
+
*/
|
|
287
|
+
version?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Voice SDK instance identifier.
|
|
290
|
+
*/
|
|
291
|
+
voice_sdk_id?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Decoded Voice SDK identifier metadata emitted by voice-sdk-proxy when available.
|
|
294
|
+
*/
|
|
295
|
+
voice_sdk_id_decoded?: {
|
|
296
|
+
[key: string]: unknown;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Voice SDK session correlation identifier used to group stats segments for the
|
|
300
|
+
* same SDK session.
|
|
301
|
+
*/
|
|
302
|
+
voice_sdk_session_id?: string;
|
|
303
|
+
[k: string]: unknown;
|
|
304
|
+
}
|
|
305
|
+
export declare namespace VoiceSDKCallReportListResponse {
|
|
306
|
+
/**
|
|
307
|
+
* Raw logs object emitted by the Voice SDK when logs are grouped under an entries
|
|
308
|
+
* field.
|
|
309
|
+
*/
|
|
310
|
+
interface Entries {
|
|
311
|
+
/**
|
|
312
|
+
* Raw log entries when the SDK groups logs under an entries field.
|
|
313
|
+
*/
|
|
314
|
+
entries?: Array<VoiceSDKCallReportsAPI.VoiceSDKCallReportLogEntry>;
|
|
315
|
+
[k: string]: unknown;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Raw stats object emitted by the Voice SDK.
|
|
319
|
+
*/
|
|
320
|
+
interface UnionMember1 {
|
|
321
|
+
/**
|
|
322
|
+
* Raw audio stats such as inbound/outbound packet, byte, jitter, packet-loss,
|
|
323
|
+
* bitrate, and audio-level metrics.
|
|
324
|
+
*/
|
|
325
|
+
audio?: {
|
|
326
|
+
[key: string]: unknown;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Raw connection stats such as round-trip time, packets, and bytes sent or
|
|
330
|
+
* received.
|
|
331
|
+
*/
|
|
332
|
+
connection?: {
|
|
333
|
+
[key: string]: unknown;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* Raw ICE candidate-pair information, including selected pair, local/remote
|
|
337
|
+
* candidates, state, and nomination data when provided by the SDK.
|
|
338
|
+
*/
|
|
339
|
+
ice?: {
|
|
340
|
+
[key: string]: unknown;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Raw transport stats such as ICE state, DTLS state, SRTP cipher, TLS version, and
|
|
344
|
+
* selected-candidate-pair changes.
|
|
345
|
+
*/
|
|
346
|
+
transport?: {
|
|
347
|
+
[key: string]: unknown;
|
|
348
|
+
};
|
|
349
|
+
[k: string]: unknown;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
export interface VoiceSDKCallReportListParams extends DefaultFlatPaginationParams {
|
|
353
|
+
/**
|
|
354
|
+
* Set the order of the results by creation date. `asc` and `created_at` sort
|
|
355
|
+
* oldest reports first; `desc` and `-created_at` sort newest reports first. If not
|
|
356
|
+
* given, results are sorted by creation date in descending order.
|
|
357
|
+
*/
|
|
358
|
+
sort?: 'asc' | 'desc' | 'created_at' | '-created_at';
|
|
359
|
+
}
|
|
360
|
+
export declare namespace VoiceSDKCallReports {
|
|
361
|
+
export { type VoiceSDKCallReportLogEntry as VoiceSDKCallReportLogEntry, type VoiceSDKCallReportRetrieveResponse as VoiceSDKCallReportRetrieveResponse, type VoiceSDKCallReportListResponse as VoiceSDKCallReportListResponse, type VoiceSDKCallReportListResponsesDefaultFlatPagination as VoiceSDKCallReportListResponsesDefaultFlatPagination, type VoiceSDKCallReportListParams as VoiceSDKCallReportListParams, };
|
|
362
|
+
}
|
|
363
|
+
//# sourceMappingURL=voice-sdk-call-reports.d.ts.map
|
|
@@ -0,0 +1 @@
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QACH,GAAG,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAEjC;;;WAGG;QACH,SAAS,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAEvC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB;CACF;AAED,MAAM,WAAW,4BAA6B,SAAQ,2BAA2B;IAC/E;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC;CACtD;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,oDAAoD,IAAI,oDAAoD,EACjH,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VoiceSDKCallReports = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
10
|
+
*/
|
|
11
|
+
class VoiceSDKCallReports extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns raw call report stats JSON payloads stored for the authenticated user
|
|
14
|
+
* and `call_id`. The user is derived from Telnyx authentication, not from request
|
|
15
|
+
* parameters.
|
|
16
|
+
*/
|
|
17
|
+
retrieve(callID, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/voice_sdk_call_reports/${callID}`, options);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns paginated raw call report stats JSON payloads stored for the
|
|
22
|
+
* authenticated user. The user is derived from Telnyx authentication, not from
|
|
23
|
+
* request parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(query = {}, options) {
|
|
26
|
+
return this._client.getAPIList('/voice_sdk_call_reports', (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.VoiceSDKCallReports = VoiceSDKCallReports;
|
|
30
|
+
//# sourceMappingURL=voice-sdk-call-reports.js.map
|
|
@@ -0,0 +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;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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { DefaultFlatPagination } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
7
|
+
*/
|
|
8
|
+
export class VoiceSDKCallReports extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns raw call report stats JSON payloads stored for the authenticated user
|
|
11
|
+
* and `call_id`. The user is derived from Telnyx authentication, not from request
|
|
12
|
+
* parameters.
|
|
13
|
+
*/
|
|
14
|
+
retrieve(callID, options) {
|
|
15
|
+
return this._client.get(path `/voice_sdk_call_reports/${callID}`, options);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Returns paginated raw call report stats JSON payloads stored for the
|
|
19
|
+
* authenticated user. The user is derived from Telnyx authentication, not from
|
|
20
|
+
* request parameters.
|
|
21
|
+
*/
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this._client.getAPIList('/voice_sdk_call_reports', (DefaultFlatPagination), { query, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=voice-sdk-call-reports.mjs.map
|
|
@@ -0,0 +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;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,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.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,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"}
|
|
@@ -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
|