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
|
@@ -89,359 +89,107 @@ export class OAuthClients extends APIResource {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export interface
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
export interface Data {
|
|
98
|
-
/**
|
|
99
|
-
* OAuth client identifier
|
|
100
|
-
*/
|
|
101
|
-
client_id: string;
|
|
92
|
+
export interface OAuthClient {
|
|
93
|
+
/**
|
|
94
|
+
* OAuth client identifier
|
|
95
|
+
*/
|
|
96
|
+
client_id: string;
|
|
102
97
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
98
|
+
/**
|
|
99
|
+
* OAuth client type
|
|
100
|
+
*/
|
|
101
|
+
client_type: 'public' | 'confidential';
|
|
107
102
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
103
|
+
/**
|
|
104
|
+
* Timestamp when the client was created
|
|
105
|
+
*/
|
|
106
|
+
created_at: string;
|
|
112
107
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
108
|
+
/**
|
|
109
|
+
* Human-readable name for the OAuth client
|
|
110
|
+
*/
|
|
111
|
+
name: string;
|
|
117
112
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
113
|
+
/**
|
|
114
|
+
* Organization ID that owns this OAuth client
|
|
115
|
+
*/
|
|
116
|
+
org_id: string;
|
|
122
117
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
118
|
+
/**
|
|
119
|
+
* Record type identifier
|
|
120
|
+
*/
|
|
121
|
+
record_type: 'oauth_client';
|
|
127
122
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
125
|
+
*/
|
|
126
|
+
require_pkce: boolean;
|
|
132
127
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
128
|
+
/**
|
|
129
|
+
* Timestamp when the client was last updated
|
|
130
|
+
*/
|
|
131
|
+
updated_at: string;
|
|
137
132
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
/**
|
|
134
|
+
* User ID that created this OAuth client
|
|
135
|
+
*/
|
|
136
|
+
user_id: string;
|
|
142
137
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
138
|
+
/**
|
|
139
|
+
* List of allowed OAuth grant types
|
|
140
|
+
*/
|
|
141
|
+
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
147
142
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
/**
|
|
144
|
+
* List of allowed OAuth scopes
|
|
145
|
+
*/
|
|
146
|
+
allowed_scopes?: Array<string>;
|
|
152
147
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
148
|
+
/**
|
|
149
|
+
* Client secret (only included when available, for confidential clients)
|
|
150
|
+
*/
|
|
151
|
+
client_secret?: string | null;
|
|
157
152
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
153
|
+
/**
|
|
154
|
+
* URL of the client logo
|
|
155
|
+
*/
|
|
156
|
+
logo_uri?: string | null;
|
|
162
157
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
158
|
+
/**
|
|
159
|
+
* URL of the client's privacy policy
|
|
160
|
+
*/
|
|
161
|
+
policy_uri?: string | null;
|
|
167
162
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
163
|
+
/**
|
|
164
|
+
* List of allowed redirect URIs
|
|
165
|
+
*/
|
|
166
|
+
redirect_uris?: Array<string>;
|
|
172
167
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
168
|
+
/**
|
|
169
|
+
* URL of the client's terms of service
|
|
170
|
+
*/
|
|
171
|
+
tos_uri?: string | null;
|
|
178
172
|
}
|
|
179
173
|
|
|
180
|
-
export interface
|
|
181
|
-
data?:
|
|
174
|
+
export interface OAuthClientCreateResponse {
|
|
175
|
+
data?: OAuthClient;
|
|
182
176
|
}
|
|
183
177
|
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* OAuth client identifier
|
|
188
|
-
*/
|
|
189
|
-
client_id: string;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* OAuth client type
|
|
193
|
-
*/
|
|
194
|
-
client_type: 'public' | 'confidential';
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Timestamp when the client was created
|
|
198
|
-
*/
|
|
199
|
-
created_at: string;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Human-readable name for the OAuth client
|
|
203
|
-
*/
|
|
204
|
-
name: string;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Organization ID that owns this OAuth client
|
|
208
|
-
*/
|
|
209
|
-
org_id: string;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Record type identifier
|
|
213
|
-
*/
|
|
214
|
-
record_type: 'oauth_client';
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
218
|
-
*/
|
|
219
|
-
require_pkce: boolean;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Timestamp when the client was last updated
|
|
223
|
-
*/
|
|
224
|
-
updated_at: string;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* User ID that created this OAuth client
|
|
228
|
-
*/
|
|
229
|
-
user_id: string;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* List of allowed OAuth grant types
|
|
233
|
-
*/
|
|
234
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* List of allowed OAuth scopes
|
|
238
|
-
*/
|
|
239
|
-
allowed_scopes?: Array<string>;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Client secret (only included when available, for confidential clients)
|
|
243
|
-
*/
|
|
244
|
-
client_secret?: string | null;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* URL of the client logo
|
|
248
|
-
*/
|
|
249
|
-
logo_uri?: string | null;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* URL of the client's privacy policy
|
|
253
|
-
*/
|
|
254
|
-
policy_uri?: string | null;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* List of allowed redirect URIs
|
|
258
|
-
*/
|
|
259
|
-
redirect_uris?: Array<string>;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* URL of the client's terms of service
|
|
263
|
-
*/
|
|
264
|
-
tos_uri?: string | null;
|
|
265
|
-
}
|
|
178
|
+
export interface OAuthClientRetrieveResponse {
|
|
179
|
+
data?: OAuthClient;
|
|
266
180
|
}
|
|
267
181
|
|
|
268
182
|
export interface OAuthClientUpdateResponse {
|
|
269
|
-
data?:
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export namespace OAuthClientUpdateResponse {
|
|
273
|
-
export interface Data {
|
|
274
|
-
/**
|
|
275
|
-
* OAuth client identifier
|
|
276
|
-
*/
|
|
277
|
-
client_id: string;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* OAuth client type
|
|
281
|
-
*/
|
|
282
|
-
client_type: 'public' | 'confidential';
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* Timestamp when the client was created
|
|
286
|
-
*/
|
|
287
|
-
created_at: string;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Human-readable name for the OAuth client
|
|
291
|
-
*/
|
|
292
|
-
name: string;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Organization ID that owns this OAuth client
|
|
296
|
-
*/
|
|
297
|
-
org_id: string;
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Record type identifier
|
|
301
|
-
*/
|
|
302
|
-
record_type: 'oauth_client';
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
306
|
-
*/
|
|
307
|
-
require_pkce: boolean;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* Timestamp when the client was last updated
|
|
311
|
-
*/
|
|
312
|
-
updated_at: string;
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* User ID that created this OAuth client
|
|
316
|
-
*/
|
|
317
|
-
user_id: string;
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* List of allowed OAuth grant types
|
|
321
|
-
*/
|
|
322
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* List of allowed OAuth scopes
|
|
326
|
-
*/
|
|
327
|
-
allowed_scopes?: Array<string>;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Client secret (only included when available, for confidential clients)
|
|
331
|
-
*/
|
|
332
|
-
client_secret?: string | null;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* URL of the client logo
|
|
336
|
-
*/
|
|
337
|
-
logo_uri?: string | null;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* URL of the client's privacy policy
|
|
341
|
-
*/
|
|
342
|
-
policy_uri?: string | null;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* List of allowed redirect URIs
|
|
346
|
-
*/
|
|
347
|
-
redirect_uris?: Array<string>;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* URL of the client's terms of service
|
|
351
|
-
*/
|
|
352
|
-
tos_uri?: string | null;
|
|
353
|
-
}
|
|
183
|
+
data?: OAuthClient;
|
|
354
184
|
}
|
|
355
185
|
|
|
356
186
|
export interface OAuthClientListResponse {
|
|
357
|
-
data?: Array<
|
|
187
|
+
data?: Array<OAuthClient>;
|
|
358
188
|
|
|
359
189
|
meta?: OAuthClientListResponse.Meta;
|
|
360
190
|
}
|
|
361
191
|
|
|
362
192
|
export namespace OAuthClientListResponse {
|
|
363
|
-
export interface Data {
|
|
364
|
-
/**
|
|
365
|
-
* OAuth client identifier
|
|
366
|
-
*/
|
|
367
|
-
client_id: string;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* OAuth client type
|
|
371
|
-
*/
|
|
372
|
-
client_type: 'public' | 'confidential';
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Timestamp when the client was created
|
|
376
|
-
*/
|
|
377
|
-
created_at: string;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Human-readable name for the OAuth client
|
|
381
|
-
*/
|
|
382
|
-
name: string;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* Organization ID that owns this OAuth client
|
|
386
|
-
*/
|
|
387
|
-
org_id: string;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Record type identifier
|
|
391
|
-
*/
|
|
392
|
-
record_type: 'oauth_client';
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
396
|
-
*/
|
|
397
|
-
require_pkce: boolean;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Timestamp when the client was last updated
|
|
401
|
-
*/
|
|
402
|
-
updated_at: string;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* User ID that created this OAuth client
|
|
406
|
-
*/
|
|
407
|
-
user_id: string;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* List of allowed OAuth grant types
|
|
411
|
-
*/
|
|
412
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* List of allowed OAuth scopes
|
|
416
|
-
*/
|
|
417
|
-
allowed_scopes?: Array<string>;
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Client secret (only included when available, for confidential clients)
|
|
421
|
-
*/
|
|
422
|
-
client_secret?: string | null;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* URL of the client logo
|
|
426
|
-
*/
|
|
427
|
-
logo_uri?: string | null;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* URL of the client's privacy policy
|
|
431
|
-
*/
|
|
432
|
-
policy_uri?: string | null;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* List of allowed redirect URIs
|
|
436
|
-
*/
|
|
437
|
-
redirect_uris?: Array<string>;
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* URL of the client's terms of service
|
|
441
|
-
*/
|
|
442
|
-
tos_uri?: string | null;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
193
|
export interface Meta {
|
|
446
194
|
/**
|
|
447
195
|
* Current page number
|
|
@@ -598,6 +346,7 @@ export interface OAuthClientListParams {
|
|
|
598
346
|
|
|
599
347
|
export declare namespace OAuthClients {
|
|
600
348
|
export {
|
|
349
|
+
type OAuthClient as OAuthClient,
|
|
601
350
|
type OAuthClientCreateResponse as OAuthClientCreateResponse,
|
|
602
351
|
type OAuthClientRetrieveResponse as OAuthClientRetrieveResponse,
|
|
603
352
|
type OAuthClientUpdateResponse as OAuthClientUpdateResponse,
|
|
@@ -31,83 +31,49 @@ export class OAuthGrants extends APIResource {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export interface
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
export interface OAuthGrant {
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier for the OAuth grant
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
*/
|
|
43
|
-
id: string;
|
|
40
|
+
/**
|
|
41
|
+
* OAuth client identifier
|
|
42
|
+
*/
|
|
43
|
+
client_id: string;
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Timestamp when the grant was created
|
|
47
|
+
*/
|
|
48
|
+
created_at: string;
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Record type identifier
|
|
52
|
+
*/
|
|
53
|
+
record_type: 'oauth_grant';
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
/**
|
|
56
|
+
* List of granted OAuth scopes
|
|
57
|
+
*/
|
|
58
|
+
scopes: Array<string>;
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Timestamp when the grant was last used
|
|
62
|
+
*/
|
|
63
|
+
last_used_at?: string | null;
|
|
64
|
+
}
|
|
64
65
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*/
|
|
68
|
-
last_used_at?: string | null;
|
|
69
|
-
}
|
|
66
|
+
export interface OAuthGrantRetrieveResponse {
|
|
67
|
+
data?: OAuthGrant;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
export interface OAuthGrantListResponse {
|
|
73
|
-
data?: Array<
|
|
71
|
+
data?: Array<OAuthGrant>;
|
|
74
72
|
|
|
75
73
|
meta?: OAuthGrantListResponse.Meta;
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
export namespace OAuthGrantListResponse {
|
|
79
|
-
export interface Data {
|
|
80
|
-
/**
|
|
81
|
-
* Unique identifier for the OAuth grant
|
|
82
|
-
*/
|
|
83
|
-
id: string;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* OAuth client identifier
|
|
87
|
-
*/
|
|
88
|
-
client_id: string;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Timestamp when the grant was created
|
|
92
|
-
*/
|
|
93
|
-
created_at: string;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Record type identifier
|
|
97
|
-
*/
|
|
98
|
-
record_type: 'oauth_grant';
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* List of granted OAuth scopes
|
|
102
|
-
*/
|
|
103
|
-
scopes: Array<string>;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Timestamp when the grant was last used
|
|
107
|
-
*/
|
|
108
|
-
last_used_at?: string | null;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
77
|
export interface Meta {
|
|
112
78
|
/**
|
|
113
79
|
* Current page number
|
|
@@ -132,41 +98,7 @@ export namespace OAuthGrantListResponse {
|
|
|
132
98
|
}
|
|
133
99
|
|
|
134
100
|
export interface OAuthGrantDeleteResponse {
|
|
135
|
-
data?:
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export namespace OAuthGrantDeleteResponse {
|
|
139
|
-
export interface Data {
|
|
140
|
-
/**
|
|
141
|
-
* Unique identifier for the OAuth grant
|
|
142
|
-
*/
|
|
143
|
-
id: string;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* OAuth client identifier
|
|
147
|
-
*/
|
|
148
|
-
client_id: string;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Timestamp when the grant was created
|
|
152
|
-
*/
|
|
153
|
-
created_at: string;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Record type identifier
|
|
157
|
-
*/
|
|
158
|
-
record_type: 'oauth_grant';
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* List of granted OAuth scopes
|
|
162
|
-
*/
|
|
163
|
-
scopes: Array<string>;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Timestamp when the grant was last used
|
|
167
|
-
*/
|
|
168
|
-
last_used_at?: string | null;
|
|
169
|
-
}
|
|
101
|
+
data?: OAuthGrant;
|
|
170
102
|
}
|
|
171
103
|
|
|
172
104
|
export interface OAuthGrantListParams {
|
|
@@ -183,6 +115,7 @@ export interface OAuthGrantListParams {
|
|
|
183
115
|
|
|
184
116
|
export declare namespace OAuthGrants {
|
|
185
117
|
export {
|
|
118
|
+
type OAuthGrant as OAuthGrant,
|
|
186
119
|
type OAuthGrantRetrieveResponse as OAuthGrantRetrieveResponse,
|
|
187
120
|
type OAuthGrantListResponse as OAuthGrantListResponse,
|
|
188
121
|
type OAuthGrantDeleteResponse as OAuthGrantDeleteResponse,
|
|
@@ -260,6 +260,12 @@ export interface VerifyProfileData {
|
|
|
260
260
|
data?: VerifyProfile;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
export interface VerifyProfileMessageTemplateResponse {
|
|
264
|
+
id?: string;
|
|
265
|
+
|
|
266
|
+
text?: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
263
269
|
/**
|
|
264
270
|
* A paginated list of Verify profiles
|
|
265
271
|
*/
|
|
@@ -282,42 +288,18 @@ export namespace VerifyProfileListResponse {
|
|
|
282
288
|
}
|
|
283
289
|
|
|
284
290
|
export interface VerifyProfileCreateTemplateResponse {
|
|
285
|
-
data?:
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export namespace VerifyProfileCreateTemplateResponse {
|
|
289
|
-
export interface Data {
|
|
290
|
-
id?: string;
|
|
291
|
-
|
|
292
|
-
text?: string;
|
|
293
|
-
}
|
|
291
|
+
data?: VerifyProfileMessageTemplateResponse;
|
|
294
292
|
}
|
|
295
293
|
|
|
296
294
|
/**
|
|
297
295
|
* A list of Verify profile message templates
|
|
298
296
|
*/
|
|
299
297
|
export interface VerifyProfileRetrieveTemplatesResponse {
|
|
300
|
-
data: Array<
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export namespace VerifyProfileRetrieveTemplatesResponse {
|
|
304
|
-
export interface Data {
|
|
305
|
-
id?: string;
|
|
306
|
-
|
|
307
|
-
text?: string;
|
|
308
|
-
}
|
|
298
|
+
data: Array<VerifyProfileMessageTemplateResponse>;
|
|
309
299
|
}
|
|
310
300
|
|
|
311
301
|
export interface VerifyProfileUpdateTemplateResponse {
|
|
312
|
-
data?:
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
export namespace VerifyProfileUpdateTemplateResponse {
|
|
316
|
-
export interface Data {
|
|
317
|
-
id?: string;
|
|
318
|
-
|
|
319
|
-
text?: string;
|
|
320
|
-
}
|
|
302
|
+
data?: VerifyProfileMessageTemplateResponse;
|
|
321
303
|
}
|
|
322
304
|
|
|
323
305
|
export interface VerifyProfileCreateParams {
|
|
@@ -599,6 +581,7 @@ export declare namespace VerifyProfiles {
|
|
|
599
581
|
export {
|
|
600
582
|
type VerifyProfile as VerifyProfile,
|
|
601
583
|
type VerifyProfileData as VerifyProfileData,
|
|
584
|
+
type VerifyProfileMessageTemplateResponse as VerifyProfileMessageTemplateResponse,
|
|
602
585
|
type VerifyProfileListResponse as VerifyProfileListResponse,
|
|
603
586
|
type VerifyProfileCreateTemplateResponse as VerifyProfileCreateTemplateResponse,
|
|
604
587
|
type VerifyProfileRetrieveTemplatesResponse as VerifyProfileRetrieveTemplatesResponse,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.4.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.4.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|