telnyx 6.70.0 → 6.72.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 +19 -0
- package/client.d.mts +13 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +13 -6
- 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/ai/ai.d.mts +1 -1
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +1 -1
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +2 -2
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +2 -2
- package/resources/ai/ai.mjs.map +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 +4 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -3
- 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/index.d.mts +3 -3
- package/resources/speech-to-text/index.d.mts.map +1 -1
- package/resources/speech-to-text/index.d.ts +3 -3
- package/resources/speech-to-text/index.d.ts.map +1 -1
- package/resources/speech-to-text/index.js +1 -5
- package/resources/speech-to-text/index.js.map +1 -1
- package/resources/speech-to-text/index.mjs +0 -2
- package/resources/speech-to-text/index.mjs.map +1 -1
- package/resources/speech-to-text/internal-base.d.mts +42 -11
- package/resources/speech-to-text/internal-base.d.mts.map +1 -1
- package/resources/speech-to-text/internal-base.d.ts +42 -11
- package/resources/speech-to-text/internal-base.d.ts.map +1 -1
- package/resources/speech-to-text/internal-base.js +5 -9
- package/resources/speech-to-text/internal-base.js.map +1 -1
- package/resources/speech-to-text/internal-base.mjs +5 -9
- package/resources/speech-to-text/internal-base.mjs.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts +79 -100
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +79 -100
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.js +16 -19
- package/resources/speech-to-text/speech-to-text.js.map +1 -1
- package/resources/speech-to-text/speech-to-text.mjs +16 -19
- package/resources/speech-to-text/speech-to-text.mjs.map +1 -1
- package/resources/speech-to-text/ws-base.d.mts +106 -0
- package/resources/speech-to-text/ws-base.d.mts.map +1 -0
- package/resources/speech-to-text/ws-base.d.ts +106 -0
- package/resources/speech-to-text/ws-base.d.ts.map +1 -0
- package/resources/speech-to-text/ws-base.js +476 -0
- package/resources/speech-to-text/ws-base.js.map +1 -0
- package/resources/speech-to-text/ws-base.mjs +472 -0
- package/resources/speech-to-text/ws-base.mjs.map +1 -0
- package/resources/speech-to-text/ws.d.mts +9 -28
- package/resources/speech-to-text/ws.d.mts.map +1 -1
- package/resources/speech-to-text/ws.d.ts +9 -28
- package/resources/speech-to-text/ws.d.ts.map +1 -1
- package/resources/speech-to-text/ws.js +17 -97
- package/resources/speech-to-text/ws.js.map +1 -1
- package/resources/speech-to-text/ws.mjs +17 -97
- package/resources/speech-to-text/ws.mjs.map +1 -1
- package/resources/speech-to-text.d.mts +2 -0
- package/resources/speech-to-text.d.mts.map +1 -0
- package/resources/speech-to-text.d.ts +2 -0
- package/resources/speech-to-text.d.ts.map +1 -0
- package/resources/speech-to-text.js +6 -0
- package/resources/speech-to-text.js.map +1 -0
- package/resources/speech-to-text.mjs +3 -0
- package/resources/speech-to-text.mjs.map +1 -0
- package/resources/texml/accounts/calls/calls.d.mts +31 -465
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +31 -465
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +7 -1
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +7 -1
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/text-to-speech/index.d.mts +1 -1
- package/resources/text-to-speech/index.d.mts.map +1 -1
- package/resources/text-to-speech/index.d.ts +1 -1
- package/resources/text-to-speech/index.d.ts.map +1 -1
- package/resources/text-to-speech/index.js.map +1 -1
- package/resources/text-to-speech/index.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +79 -13
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +79 -13
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +33 -1
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +33 -1
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- 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 +33 -4
- package/src/resources/ai/ai.ts +3 -3
- 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 +13 -2
- package/src/resources/shared.ts +7 -0
- package/src/resources/speech-to-text/index.ts +6 -9
- package/src/resources/speech-to-text/internal-base.ts +49 -22
- package/src/resources/speech-to-text/speech-to-text.ts +102 -128
- package/src/resources/speech-to-text/ws-base.ts +619 -0
- package/src/resources/speech-to-text/ws.ts +26 -111
- package/src/resources/speech-to-text.ts +3 -0
- package/src/resources/texml/accounts/calls/calls.ts +36 -564
- package/src/resources/text-to-speech/index.ts +3 -2
- package/src/resources/text-to-speech/text-to-speech.ts +100 -16
- 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.mjs";
|
|
2
|
+
import * as VoiceSDKCallReportsAPI from "./voice-sdk-call-reports.mjs";
|
|
2
3
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
4
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../core/pagination.mjs";
|
|
4
5
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
@@ -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.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-sdk-call-reports.d.mts","sourceRoot":"","sources":["../src/resources/voice-sdk-call-reports.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7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C,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"}
|
|
@@ -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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AE,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"}
|
|
@@ -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,EAA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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,WA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