telnyx 3.3.3 → 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 +15 -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
|
@@ -59,290 +59,86 @@ export declare class OAuthClients extends APIResource {
|
|
|
59
59
|
*/
|
|
60
60
|
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
61
61
|
}
|
|
62
|
-
export interface
|
|
63
|
-
|
|
62
|
+
export interface OAuthClient {
|
|
63
|
+
/**
|
|
64
|
+
* OAuth client identifier
|
|
65
|
+
*/
|
|
66
|
+
client_id: string;
|
|
67
|
+
/**
|
|
68
|
+
* OAuth client type
|
|
69
|
+
*/
|
|
70
|
+
client_type: 'public' | 'confidential';
|
|
71
|
+
/**
|
|
72
|
+
* Timestamp when the client was created
|
|
73
|
+
*/
|
|
74
|
+
created_at: string;
|
|
75
|
+
/**
|
|
76
|
+
* Human-readable name for the OAuth client
|
|
77
|
+
*/
|
|
78
|
+
name: string;
|
|
79
|
+
/**
|
|
80
|
+
* Organization ID that owns this OAuth client
|
|
81
|
+
*/
|
|
82
|
+
org_id: string;
|
|
83
|
+
/**
|
|
84
|
+
* Record type identifier
|
|
85
|
+
*/
|
|
86
|
+
record_type: 'oauth_client';
|
|
87
|
+
/**
|
|
88
|
+
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
89
|
+
*/
|
|
90
|
+
require_pkce: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Timestamp when the client was last updated
|
|
93
|
+
*/
|
|
94
|
+
updated_at: string;
|
|
95
|
+
/**
|
|
96
|
+
* User ID that created this OAuth client
|
|
97
|
+
*/
|
|
98
|
+
user_id: string;
|
|
99
|
+
/**
|
|
100
|
+
* List of allowed OAuth grant types
|
|
101
|
+
*/
|
|
102
|
+
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
103
|
+
/**
|
|
104
|
+
* List of allowed OAuth scopes
|
|
105
|
+
*/
|
|
106
|
+
allowed_scopes?: Array<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Client secret (only included when available, for confidential clients)
|
|
109
|
+
*/
|
|
110
|
+
client_secret?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* URL of the client logo
|
|
113
|
+
*/
|
|
114
|
+
logo_uri?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* URL of the client's privacy policy
|
|
117
|
+
*/
|
|
118
|
+
policy_uri?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* List of allowed redirect URIs
|
|
121
|
+
*/
|
|
122
|
+
redirect_uris?: Array<string>;
|
|
123
|
+
/**
|
|
124
|
+
* URL of the client's terms of service
|
|
125
|
+
*/
|
|
126
|
+
tos_uri?: string | null;
|
|
64
127
|
}
|
|
65
|
-
export
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* OAuth client identifier
|
|
69
|
-
*/
|
|
70
|
-
client_id: string;
|
|
71
|
-
/**
|
|
72
|
-
* OAuth client type
|
|
73
|
-
*/
|
|
74
|
-
client_type: 'public' | 'confidential';
|
|
75
|
-
/**
|
|
76
|
-
* Timestamp when the client was created
|
|
77
|
-
*/
|
|
78
|
-
created_at: string;
|
|
79
|
-
/**
|
|
80
|
-
* Human-readable name for the OAuth client
|
|
81
|
-
*/
|
|
82
|
-
name: string;
|
|
83
|
-
/**
|
|
84
|
-
* Organization ID that owns this OAuth client
|
|
85
|
-
*/
|
|
86
|
-
org_id: string;
|
|
87
|
-
/**
|
|
88
|
-
* Record type identifier
|
|
89
|
-
*/
|
|
90
|
-
record_type: 'oauth_client';
|
|
91
|
-
/**
|
|
92
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
93
|
-
*/
|
|
94
|
-
require_pkce: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Timestamp when the client was last updated
|
|
97
|
-
*/
|
|
98
|
-
updated_at: string;
|
|
99
|
-
/**
|
|
100
|
-
* User ID that created this OAuth client
|
|
101
|
-
*/
|
|
102
|
-
user_id: string;
|
|
103
|
-
/**
|
|
104
|
-
* List of allowed OAuth grant types
|
|
105
|
-
*/
|
|
106
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
107
|
-
/**
|
|
108
|
-
* List of allowed OAuth scopes
|
|
109
|
-
*/
|
|
110
|
-
allowed_scopes?: Array<string>;
|
|
111
|
-
/**
|
|
112
|
-
* Client secret (only included when available, for confidential clients)
|
|
113
|
-
*/
|
|
114
|
-
client_secret?: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* URL of the client logo
|
|
117
|
-
*/
|
|
118
|
-
logo_uri?: string | null;
|
|
119
|
-
/**
|
|
120
|
-
* URL of the client's privacy policy
|
|
121
|
-
*/
|
|
122
|
-
policy_uri?: string | null;
|
|
123
|
-
/**
|
|
124
|
-
* List of allowed redirect URIs
|
|
125
|
-
*/
|
|
126
|
-
redirect_uris?: Array<string>;
|
|
127
|
-
/**
|
|
128
|
-
* URL of the client's terms of service
|
|
129
|
-
*/
|
|
130
|
-
tos_uri?: string | null;
|
|
131
|
-
}
|
|
128
|
+
export interface OAuthClientCreateResponse {
|
|
129
|
+
data?: OAuthClient;
|
|
132
130
|
}
|
|
133
131
|
export interface OAuthClientRetrieveResponse {
|
|
134
|
-
data?:
|
|
135
|
-
}
|
|
136
|
-
export declare namespace OAuthClientRetrieveResponse {
|
|
137
|
-
interface Data {
|
|
138
|
-
/**
|
|
139
|
-
* OAuth client identifier
|
|
140
|
-
*/
|
|
141
|
-
client_id: string;
|
|
142
|
-
/**
|
|
143
|
-
* OAuth client type
|
|
144
|
-
*/
|
|
145
|
-
client_type: 'public' | 'confidential';
|
|
146
|
-
/**
|
|
147
|
-
* Timestamp when the client was created
|
|
148
|
-
*/
|
|
149
|
-
created_at: string;
|
|
150
|
-
/**
|
|
151
|
-
* Human-readable name for the OAuth client
|
|
152
|
-
*/
|
|
153
|
-
name: string;
|
|
154
|
-
/**
|
|
155
|
-
* Organization ID that owns this OAuth client
|
|
156
|
-
*/
|
|
157
|
-
org_id: string;
|
|
158
|
-
/**
|
|
159
|
-
* Record type identifier
|
|
160
|
-
*/
|
|
161
|
-
record_type: 'oauth_client';
|
|
162
|
-
/**
|
|
163
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
164
|
-
*/
|
|
165
|
-
require_pkce: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* Timestamp when the client was last updated
|
|
168
|
-
*/
|
|
169
|
-
updated_at: string;
|
|
170
|
-
/**
|
|
171
|
-
* User ID that created this OAuth client
|
|
172
|
-
*/
|
|
173
|
-
user_id: string;
|
|
174
|
-
/**
|
|
175
|
-
* List of allowed OAuth grant types
|
|
176
|
-
*/
|
|
177
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
178
|
-
/**
|
|
179
|
-
* List of allowed OAuth scopes
|
|
180
|
-
*/
|
|
181
|
-
allowed_scopes?: Array<string>;
|
|
182
|
-
/**
|
|
183
|
-
* Client secret (only included when available, for confidential clients)
|
|
184
|
-
*/
|
|
185
|
-
client_secret?: string | null;
|
|
186
|
-
/**
|
|
187
|
-
* URL of the client logo
|
|
188
|
-
*/
|
|
189
|
-
logo_uri?: string | null;
|
|
190
|
-
/**
|
|
191
|
-
* URL of the client's privacy policy
|
|
192
|
-
*/
|
|
193
|
-
policy_uri?: string | null;
|
|
194
|
-
/**
|
|
195
|
-
* List of allowed redirect URIs
|
|
196
|
-
*/
|
|
197
|
-
redirect_uris?: Array<string>;
|
|
198
|
-
/**
|
|
199
|
-
* URL of the client's terms of service
|
|
200
|
-
*/
|
|
201
|
-
tos_uri?: string | null;
|
|
202
|
-
}
|
|
132
|
+
data?: OAuthClient;
|
|
203
133
|
}
|
|
204
134
|
export interface OAuthClientUpdateResponse {
|
|
205
|
-
data?:
|
|
206
|
-
}
|
|
207
|
-
export declare namespace OAuthClientUpdateResponse {
|
|
208
|
-
interface Data {
|
|
209
|
-
/**
|
|
210
|
-
* OAuth client identifier
|
|
211
|
-
*/
|
|
212
|
-
client_id: string;
|
|
213
|
-
/**
|
|
214
|
-
* OAuth client type
|
|
215
|
-
*/
|
|
216
|
-
client_type: 'public' | 'confidential';
|
|
217
|
-
/**
|
|
218
|
-
* Timestamp when the client was created
|
|
219
|
-
*/
|
|
220
|
-
created_at: string;
|
|
221
|
-
/**
|
|
222
|
-
* Human-readable name for the OAuth client
|
|
223
|
-
*/
|
|
224
|
-
name: string;
|
|
225
|
-
/**
|
|
226
|
-
* Organization ID that owns this OAuth client
|
|
227
|
-
*/
|
|
228
|
-
org_id: string;
|
|
229
|
-
/**
|
|
230
|
-
* Record type identifier
|
|
231
|
-
*/
|
|
232
|
-
record_type: 'oauth_client';
|
|
233
|
-
/**
|
|
234
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
235
|
-
*/
|
|
236
|
-
require_pkce: boolean;
|
|
237
|
-
/**
|
|
238
|
-
* Timestamp when the client was last updated
|
|
239
|
-
*/
|
|
240
|
-
updated_at: string;
|
|
241
|
-
/**
|
|
242
|
-
* User ID that created this OAuth client
|
|
243
|
-
*/
|
|
244
|
-
user_id: string;
|
|
245
|
-
/**
|
|
246
|
-
* List of allowed OAuth grant types
|
|
247
|
-
*/
|
|
248
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
249
|
-
/**
|
|
250
|
-
* List of allowed OAuth scopes
|
|
251
|
-
*/
|
|
252
|
-
allowed_scopes?: Array<string>;
|
|
253
|
-
/**
|
|
254
|
-
* Client secret (only included when available, for confidential clients)
|
|
255
|
-
*/
|
|
256
|
-
client_secret?: string | null;
|
|
257
|
-
/**
|
|
258
|
-
* URL of the client logo
|
|
259
|
-
*/
|
|
260
|
-
logo_uri?: string | null;
|
|
261
|
-
/**
|
|
262
|
-
* URL of the client's privacy policy
|
|
263
|
-
*/
|
|
264
|
-
policy_uri?: string | null;
|
|
265
|
-
/**
|
|
266
|
-
* List of allowed redirect URIs
|
|
267
|
-
*/
|
|
268
|
-
redirect_uris?: Array<string>;
|
|
269
|
-
/**
|
|
270
|
-
* URL of the client's terms of service
|
|
271
|
-
*/
|
|
272
|
-
tos_uri?: string | null;
|
|
273
|
-
}
|
|
135
|
+
data?: OAuthClient;
|
|
274
136
|
}
|
|
275
137
|
export interface OAuthClientListResponse {
|
|
276
|
-
data?: Array<
|
|
138
|
+
data?: Array<OAuthClient>;
|
|
277
139
|
meta?: OAuthClientListResponse.Meta;
|
|
278
140
|
}
|
|
279
141
|
export declare namespace OAuthClientListResponse {
|
|
280
|
-
interface Data {
|
|
281
|
-
/**
|
|
282
|
-
* OAuth client identifier
|
|
283
|
-
*/
|
|
284
|
-
client_id: string;
|
|
285
|
-
/**
|
|
286
|
-
* OAuth client type
|
|
287
|
-
*/
|
|
288
|
-
client_type: 'public' | 'confidential';
|
|
289
|
-
/**
|
|
290
|
-
* Timestamp when the client was created
|
|
291
|
-
*/
|
|
292
|
-
created_at: string;
|
|
293
|
-
/**
|
|
294
|
-
* Human-readable name for the OAuth client
|
|
295
|
-
*/
|
|
296
|
-
name: string;
|
|
297
|
-
/**
|
|
298
|
-
* Organization ID that owns this OAuth client
|
|
299
|
-
*/
|
|
300
|
-
org_id: string;
|
|
301
|
-
/**
|
|
302
|
-
* Record type identifier
|
|
303
|
-
*/
|
|
304
|
-
record_type: 'oauth_client';
|
|
305
|
-
/**
|
|
306
|
-
* Whether PKCE (Proof Key for Code Exchange) is required for this client
|
|
307
|
-
*/
|
|
308
|
-
require_pkce: boolean;
|
|
309
|
-
/**
|
|
310
|
-
* Timestamp when the client was last updated
|
|
311
|
-
*/
|
|
312
|
-
updated_at: string;
|
|
313
|
-
/**
|
|
314
|
-
* User ID that created this OAuth client
|
|
315
|
-
*/
|
|
316
|
-
user_id: string;
|
|
317
|
-
/**
|
|
318
|
-
* List of allowed OAuth grant types
|
|
319
|
-
*/
|
|
320
|
-
allowed_grant_types?: Array<'client_credentials' | 'authorization_code' | 'refresh_token'>;
|
|
321
|
-
/**
|
|
322
|
-
* List of allowed OAuth scopes
|
|
323
|
-
*/
|
|
324
|
-
allowed_scopes?: Array<string>;
|
|
325
|
-
/**
|
|
326
|
-
* Client secret (only included when available, for confidential clients)
|
|
327
|
-
*/
|
|
328
|
-
client_secret?: string | null;
|
|
329
|
-
/**
|
|
330
|
-
* URL of the client logo
|
|
331
|
-
*/
|
|
332
|
-
logo_uri?: string | null;
|
|
333
|
-
/**
|
|
334
|
-
* URL of the client's privacy policy
|
|
335
|
-
*/
|
|
336
|
-
policy_uri?: string | null;
|
|
337
|
-
/**
|
|
338
|
-
* List of allowed redirect URIs
|
|
339
|
-
*/
|
|
340
|
-
redirect_uris?: Array<string>;
|
|
341
|
-
/**
|
|
342
|
-
* URL of the client's terms of service
|
|
343
|
-
*/
|
|
344
|
-
tos_uri?: string | null;
|
|
345
|
-
}
|
|
346
142
|
interface Meta {
|
|
347
143
|
/**
|
|
348
144
|
* Current page number
|
|
@@ -469,6 +265,6 @@ export interface OAuthClientListParams {
|
|
|
469
265
|
'page[size]'?: number;
|
|
470
266
|
}
|
|
471
267
|
export declare namespace OAuthClients {
|
|
472
|
-
export { type OAuthClientCreateResponse as OAuthClientCreateResponse, type OAuthClientRetrieveResponse as OAuthClientRetrieveResponse, type OAuthClientUpdateResponse as OAuthClientUpdateResponse, type OAuthClientListResponse as OAuthClientListResponse, type OAuthClientCreateParams as OAuthClientCreateParams, type OAuthClientUpdateParams as OAuthClientUpdateParams, type OAuthClientListParams as OAuthClientListParams, };
|
|
268
|
+
export { type OAuthClient as OAuthClient, type OAuthClientCreateResponse as OAuthClientCreateResponse, type OAuthClientRetrieveResponse as OAuthClientRetrieveResponse, type OAuthClientUpdateResponse as OAuthClientUpdateResponse, type OAuthClientListResponse as OAuthClientListResponse, type OAuthClientCreateParams as OAuthClientCreateParams, type OAuthClientUpdateParams as OAuthClientUpdateParams, type OAuthClientListParams as OAuthClientListParams, };
|
|
473
269
|
}
|
|
474
270
|
//# sourceMappingURL=oauth-clients.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-clients.d.ts","sourceRoot":"","sources":["../src/resources/oauth-clients.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAItG;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAIvF;;;;;;;;;OASG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;IAIxC;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"oauth-clients.d.ts","sourceRoot":"","sources":["../src/resources/oauth-clients.ts"],"names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C;IAE7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -15,68 +15,40 @@ export declare class OAuthGrants extends APIResource {
|
|
|
15
15
|
*/
|
|
16
16
|
delete(id: string, options?: RequestOptions): APIPromise<OAuthGrantDeleteResponse>;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
19
|
-
|
|
18
|
+
export interface OAuthGrant {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the OAuth grant
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* OAuth client identifier
|
|
25
|
+
*/
|
|
26
|
+
client_id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Timestamp when the grant was created
|
|
29
|
+
*/
|
|
30
|
+
created_at: string;
|
|
31
|
+
/**
|
|
32
|
+
* Record type identifier
|
|
33
|
+
*/
|
|
34
|
+
record_type: 'oauth_grant';
|
|
35
|
+
/**
|
|
36
|
+
* List of granted OAuth scopes
|
|
37
|
+
*/
|
|
38
|
+
scopes: Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Timestamp when the grant was last used
|
|
41
|
+
*/
|
|
42
|
+
last_used_at?: string | null;
|
|
20
43
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Unique identifier for the OAuth grant
|
|
25
|
-
*/
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
* OAuth client identifier
|
|
29
|
-
*/
|
|
30
|
-
client_id: string;
|
|
31
|
-
/**
|
|
32
|
-
* Timestamp when the grant was created
|
|
33
|
-
*/
|
|
34
|
-
created_at: string;
|
|
35
|
-
/**
|
|
36
|
-
* Record type identifier
|
|
37
|
-
*/
|
|
38
|
-
record_type: 'oauth_grant';
|
|
39
|
-
/**
|
|
40
|
-
* List of granted OAuth scopes
|
|
41
|
-
*/
|
|
42
|
-
scopes: Array<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Timestamp when the grant was last used
|
|
45
|
-
*/
|
|
46
|
-
last_used_at?: string | null;
|
|
47
|
-
}
|
|
44
|
+
export interface OAuthGrantRetrieveResponse {
|
|
45
|
+
data?: OAuthGrant;
|
|
48
46
|
}
|
|
49
47
|
export interface OAuthGrantListResponse {
|
|
50
|
-
data?: Array<
|
|
48
|
+
data?: Array<OAuthGrant>;
|
|
51
49
|
meta?: OAuthGrantListResponse.Meta;
|
|
52
50
|
}
|
|
53
51
|
export declare namespace OAuthGrantListResponse {
|
|
54
|
-
interface Data {
|
|
55
|
-
/**
|
|
56
|
-
* Unique identifier for the OAuth grant
|
|
57
|
-
*/
|
|
58
|
-
id: string;
|
|
59
|
-
/**
|
|
60
|
-
* OAuth client identifier
|
|
61
|
-
*/
|
|
62
|
-
client_id: string;
|
|
63
|
-
/**
|
|
64
|
-
* Timestamp when the grant was created
|
|
65
|
-
*/
|
|
66
|
-
created_at: string;
|
|
67
|
-
/**
|
|
68
|
-
* Record type identifier
|
|
69
|
-
*/
|
|
70
|
-
record_type: 'oauth_grant';
|
|
71
|
-
/**
|
|
72
|
-
* List of granted OAuth scopes
|
|
73
|
-
*/
|
|
74
|
-
scopes: Array<string>;
|
|
75
|
-
/**
|
|
76
|
-
* Timestamp when the grant was last used
|
|
77
|
-
*/
|
|
78
|
-
last_used_at?: string | null;
|
|
79
|
-
}
|
|
80
52
|
interface Meta {
|
|
81
53
|
/**
|
|
82
54
|
* Current page number
|
|
@@ -97,35 +69,7 @@ export declare namespace OAuthGrantListResponse {
|
|
|
97
69
|
}
|
|
98
70
|
}
|
|
99
71
|
export interface OAuthGrantDeleteResponse {
|
|
100
|
-
data?:
|
|
101
|
-
}
|
|
102
|
-
export declare namespace OAuthGrantDeleteResponse {
|
|
103
|
-
interface Data {
|
|
104
|
-
/**
|
|
105
|
-
* Unique identifier for the OAuth grant
|
|
106
|
-
*/
|
|
107
|
-
id: string;
|
|
108
|
-
/**
|
|
109
|
-
* OAuth client identifier
|
|
110
|
-
*/
|
|
111
|
-
client_id: string;
|
|
112
|
-
/**
|
|
113
|
-
* Timestamp when the grant was created
|
|
114
|
-
*/
|
|
115
|
-
created_at: string;
|
|
116
|
-
/**
|
|
117
|
-
* Record type identifier
|
|
118
|
-
*/
|
|
119
|
-
record_type: 'oauth_grant';
|
|
120
|
-
/**
|
|
121
|
-
* List of granted OAuth scopes
|
|
122
|
-
*/
|
|
123
|
-
scopes: Array<string>;
|
|
124
|
-
/**
|
|
125
|
-
* Timestamp when the grant was last used
|
|
126
|
-
*/
|
|
127
|
-
last_used_at?: string | null;
|
|
128
|
-
}
|
|
72
|
+
data?: OAuthGrant;
|
|
129
73
|
}
|
|
130
74
|
export interface OAuthGrantListParams {
|
|
131
75
|
/**
|
|
@@ -138,6 +82,6 @@ export interface OAuthGrantListParams {
|
|
|
138
82
|
'page[size]'?: number;
|
|
139
83
|
}
|
|
140
84
|
export declare namespace OAuthGrants {
|
|
141
|
-
export { type OAuthGrantRetrieveResponse as OAuthGrantRetrieveResponse, type OAuthGrantListResponse as OAuthGrantListResponse, type OAuthGrantDeleteResponse as OAuthGrantDeleteResponse, type OAuthGrantListParams as OAuthGrantListParams, };
|
|
85
|
+
export { type OAuthGrant as OAuthGrant, type OAuthGrantRetrieveResponse as OAuthGrantRetrieveResponse, type OAuthGrantListResponse as OAuthGrantListResponse, type OAuthGrantDeleteResponse as OAuthGrantDeleteResponse, type OAuthGrantListParams as OAuthGrantListParams, };
|
|
142
86
|
}
|
|
143
87
|
//# sourceMappingURL=oauth-grants.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-grants.d.mts","sourceRoot":"","sources":["../src/resources/oauth-grants.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGnF;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"oauth-grants.d.mts","sourceRoot":"","sources":["../src/resources/oauth-grants.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAA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;CACH"}
|
|
@@ -15,68 +15,40 @@ export declare class OAuthGrants extends APIResource {
|
|
|
15
15
|
*/
|
|
16
16
|
delete(id: string, options?: RequestOptions): APIPromise<OAuthGrantDeleteResponse>;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
19
|
-
|
|
18
|
+
export interface OAuthGrant {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the OAuth grant
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* OAuth client identifier
|
|
25
|
+
*/
|
|
26
|
+
client_id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Timestamp when the grant was created
|
|
29
|
+
*/
|
|
30
|
+
created_at: string;
|
|
31
|
+
/**
|
|
32
|
+
* Record type identifier
|
|
33
|
+
*/
|
|
34
|
+
record_type: 'oauth_grant';
|
|
35
|
+
/**
|
|
36
|
+
* List of granted OAuth scopes
|
|
37
|
+
*/
|
|
38
|
+
scopes: Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Timestamp when the grant was last used
|
|
41
|
+
*/
|
|
42
|
+
last_used_at?: string | null;
|
|
20
43
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Unique identifier for the OAuth grant
|
|
25
|
-
*/
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
* OAuth client identifier
|
|
29
|
-
*/
|
|
30
|
-
client_id: string;
|
|
31
|
-
/**
|
|
32
|
-
* Timestamp when the grant was created
|
|
33
|
-
*/
|
|
34
|
-
created_at: string;
|
|
35
|
-
/**
|
|
36
|
-
* Record type identifier
|
|
37
|
-
*/
|
|
38
|
-
record_type: 'oauth_grant';
|
|
39
|
-
/**
|
|
40
|
-
* List of granted OAuth scopes
|
|
41
|
-
*/
|
|
42
|
-
scopes: Array<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Timestamp when the grant was last used
|
|
45
|
-
*/
|
|
46
|
-
last_used_at?: string | null;
|
|
47
|
-
}
|
|
44
|
+
export interface OAuthGrantRetrieveResponse {
|
|
45
|
+
data?: OAuthGrant;
|
|
48
46
|
}
|
|
49
47
|
export interface OAuthGrantListResponse {
|
|
50
|
-
data?: Array<
|
|
48
|
+
data?: Array<OAuthGrant>;
|
|
51
49
|
meta?: OAuthGrantListResponse.Meta;
|
|
52
50
|
}
|
|
53
51
|
export declare namespace OAuthGrantListResponse {
|
|
54
|
-
interface Data {
|
|
55
|
-
/**
|
|
56
|
-
* Unique identifier for the OAuth grant
|
|
57
|
-
*/
|
|
58
|
-
id: string;
|
|
59
|
-
/**
|
|
60
|
-
* OAuth client identifier
|
|
61
|
-
*/
|
|
62
|
-
client_id: string;
|
|
63
|
-
/**
|
|
64
|
-
* Timestamp when the grant was created
|
|
65
|
-
*/
|
|
66
|
-
created_at: string;
|
|
67
|
-
/**
|
|
68
|
-
* Record type identifier
|
|
69
|
-
*/
|
|
70
|
-
record_type: 'oauth_grant';
|
|
71
|
-
/**
|
|
72
|
-
* List of granted OAuth scopes
|
|
73
|
-
*/
|
|
74
|
-
scopes: Array<string>;
|
|
75
|
-
/**
|
|
76
|
-
* Timestamp when the grant was last used
|
|
77
|
-
*/
|
|
78
|
-
last_used_at?: string | null;
|
|
79
|
-
}
|
|
80
52
|
interface Meta {
|
|
81
53
|
/**
|
|
82
54
|
* Current page number
|
|
@@ -97,35 +69,7 @@ export declare namespace OAuthGrantListResponse {
|
|
|
97
69
|
}
|
|
98
70
|
}
|
|
99
71
|
export interface OAuthGrantDeleteResponse {
|
|
100
|
-
data?:
|
|
101
|
-
}
|
|
102
|
-
export declare namespace OAuthGrantDeleteResponse {
|
|
103
|
-
interface Data {
|
|
104
|
-
/**
|
|
105
|
-
* Unique identifier for the OAuth grant
|
|
106
|
-
*/
|
|
107
|
-
id: string;
|
|
108
|
-
/**
|
|
109
|
-
* OAuth client identifier
|
|
110
|
-
*/
|
|
111
|
-
client_id: string;
|
|
112
|
-
/**
|
|
113
|
-
* Timestamp when the grant was created
|
|
114
|
-
*/
|
|
115
|
-
created_at: string;
|
|
116
|
-
/**
|
|
117
|
-
* Record type identifier
|
|
118
|
-
*/
|
|
119
|
-
record_type: 'oauth_grant';
|
|
120
|
-
/**
|
|
121
|
-
* List of granted OAuth scopes
|
|
122
|
-
*/
|
|
123
|
-
scopes: Array<string>;
|
|
124
|
-
/**
|
|
125
|
-
* Timestamp when the grant was last used
|
|
126
|
-
*/
|
|
127
|
-
last_used_at?: string | null;
|
|
128
|
-
}
|
|
72
|
+
data?: OAuthGrant;
|
|
129
73
|
}
|
|
130
74
|
export interface OAuthGrantListParams {
|
|
131
75
|
/**
|
|
@@ -138,6 +82,6 @@ export interface OAuthGrantListParams {
|
|
|
138
82
|
'page[size]'?: number;
|
|
139
83
|
}
|
|
140
84
|
export declare namespace OAuthGrants {
|
|
141
|
-
export { type OAuthGrantRetrieveResponse as OAuthGrantRetrieveResponse, type OAuthGrantListResponse as OAuthGrantListResponse, type OAuthGrantDeleteResponse as OAuthGrantDeleteResponse, type OAuthGrantListParams as OAuthGrantListParams, };
|
|
85
|
+
export { type OAuthGrant as OAuthGrant, type OAuthGrantRetrieveResponse as OAuthGrantRetrieveResponse, type OAuthGrantListResponse as OAuthGrantListResponse, type OAuthGrantDeleteResponse as OAuthGrantDeleteResponse, type OAuthGrantListParams as OAuthGrantListParams, };
|
|
142
86
|
}
|
|
143
87
|
//# sourceMappingURL=oauth-grants.d.ts.map
|