@sentdm/sentdm 0.25.4 → 0.26.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 +8 -0
- package/client.d.mts +12 -12
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -12
- 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/contacts.d.mts +488 -68
- package/resources/contacts.d.mts.map +1 -1
- package/resources/contacts.d.ts +488 -68
- package/resources/contacts.d.ts.map +1 -1
- package/resources/contacts.js +3 -3
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +3 -3
- package/resources/contacts.mjs.map +1 -1
- package/resources/index.d.mts +6 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/me.d.mts +113 -40
- package/resources/me.d.mts.map +1 -1
- package/resources/me.d.ts +113 -40
- package/resources/me.d.ts.map +1 -1
- package/resources/me.js.map +1 -1
- package/resources/me.mjs.map +1 -1
- package/resources/messages.d.mts +130 -9
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +130 -9
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs.map +1 -1
- package/resources/numbers.d.mts +42 -3
- package/resources/numbers.d.mts.map +1 -1
- package/resources/numbers.d.ts +42 -3
- package/resources/numbers.d.ts.map +1 -1
- package/resources/numbers.js.map +1 -1
- package/resources/numbers.mjs.map +1 -1
- package/resources/profiles/campaigns.d.mts +480 -147
- package/resources/profiles/campaigns.d.mts.map +1 -1
- package/resources/profiles/campaigns.d.ts +480 -147
- package/resources/profiles/campaigns.d.ts.map +1 -1
- package/resources/profiles/campaigns.js +39 -41
- package/resources/profiles/campaigns.js.map +1 -1
- package/resources/profiles/campaigns.mjs +39 -41
- package/resources/profiles/campaigns.mjs.map +1 -1
- package/resources/profiles/index.d.mts +2 -2
- package/resources/profiles/index.d.mts.map +1 -1
- package/resources/profiles/index.d.ts +2 -2
- package/resources/profiles/index.d.ts.map +1 -1
- package/resources/profiles/index.js.map +1 -1
- package/resources/profiles/index.mjs.map +1 -1
- package/resources/profiles/profiles.d.mts +1699 -391
- package/resources/profiles/profiles.d.mts.map +1 -1
- package/resources/profiles/profiles.d.ts +1699 -391
- package/resources/profiles/profiles.d.ts.map +1 -1
- package/resources/profiles/profiles.js +3 -6
- package/resources/profiles/profiles.js.map +1 -1
- package/resources/profiles/profiles.mjs +3 -6
- package/resources/profiles/profiles.mjs.map +1 -1
- package/resources/templates.d.mts +993 -172
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +993 -172
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.js +3 -3
- package/resources/templates.js.map +1 -1
- package/resources/templates.mjs +3 -3
- package/resources/templates.mjs.map +1 -1
- package/resources/users.d.mts +373 -46
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +373 -46
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -7
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -7
- package/resources/users.mjs.map +1 -1
- package/resources/webhooks.d.mts +624 -110
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +624 -110
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +6 -7
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +6 -7
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +33 -68
- package/src/resources/contacts.ts +567 -66
- package/src/resources/index.ts +17 -34
- package/src/resources/me.ts +132 -51
- package/src/resources/messages.ts +147 -9
- package/src/resources/numbers.ts +47 -3
- package/src/resources/profiles/campaigns.ts +668 -169
- package/src/resources/profiles/index.ts +5 -17
- package/src/resources/profiles/profiles.ts +2278 -545
- package/src/resources/templates.ts +1261 -206
- package/src/resources/users.ts +430 -47
- package/src/resources/webhooks.ts +742 -120
- 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,7 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as WebhooksAPI from './webhooks';
|
|
5
4
|
import { APIPromise } from '../core/api-promise';
|
|
6
5
|
import { buildHeaders } from '../internal/headers';
|
|
7
6
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -16,10 +15,10 @@ export class Webhooks extends APIResource {
|
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```ts
|
|
19
|
-
* const
|
|
18
|
+
* const webhook = await client.webhooks.create();
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
22
|
-
create(params: WebhookCreateParams, options?: RequestOptions): APIPromise<
|
|
21
|
+
create(params: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse> {
|
|
23
22
|
const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
|
|
24
23
|
return this._client.post('/v3/webhooks', {
|
|
25
24
|
body,
|
|
@@ -39,7 +38,7 @@ export class Webhooks extends APIResource {
|
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
41
40
|
* ```ts
|
|
42
|
-
* const
|
|
41
|
+
* const webhook = await client.webhooks.retrieve(
|
|
43
42
|
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
44
43
|
* );
|
|
45
44
|
* ```
|
|
@@ -48,7 +47,7 @@ export class Webhooks extends APIResource {
|
|
|
48
47
|
id: string,
|
|
49
48
|
params: WebhookRetrieveParams | null | undefined = {},
|
|
50
49
|
options?: RequestOptions,
|
|
51
|
-
): APIPromise<
|
|
50
|
+
): APIPromise<WebhookRetrieveResponse> {
|
|
52
51
|
const { 'x-profile-id': xProfileID } = params ?? {};
|
|
53
52
|
return this._client.get(path`/v3/webhooks/${id}`, {
|
|
54
53
|
...options,
|
|
@@ -64,12 +63,16 @@ export class Webhooks extends APIResource {
|
|
|
64
63
|
*
|
|
65
64
|
* @example
|
|
66
65
|
* ```ts
|
|
67
|
-
* const
|
|
66
|
+
* const webhook = await client.webhooks.update(
|
|
68
67
|
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
69
68
|
* );
|
|
70
69
|
* ```
|
|
71
70
|
*/
|
|
72
|
-
update(
|
|
71
|
+
update(
|
|
72
|
+
id: string,
|
|
73
|
+
params: WebhookUpdateParams,
|
|
74
|
+
options?: RequestOptions,
|
|
75
|
+
): APIPromise<WebhookUpdateResponse> {
|
|
73
76
|
const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
|
|
74
77
|
return this._client.put(path`/v3/webhooks/${id}`, {
|
|
75
78
|
body,
|
|
@@ -241,17 +244,16 @@ export class Webhooks extends APIResource {
|
|
|
241
244
|
*
|
|
242
245
|
* @example
|
|
243
246
|
* ```ts
|
|
244
|
-
* const
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
* );
|
|
247
|
+
* const response = await client.webhooks.toggleStatus(
|
|
248
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
249
|
+
* );
|
|
248
250
|
* ```
|
|
249
251
|
*/
|
|
250
252
|
toggleStatus(
|
|
251
253
|
id: string,
|
|
252
254
|
params: WebhookToggleStatusParams,
|
|
253
255
|
options?: RequestOptions,
|
|
254
|
-
): APIPromise<
|
|
256
|
+
): APIPromise<WebhookToggleStatusResponse> {
|
|
255
257
|
const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
|
|
256
258
|
return this._client.patch(path`/v3/webhooks/${id}/toggle-status`, {
|
|
257
259
|
body,
|
|
@@ -268,177 +270,318 @@ export class Webhooks extends APIResource {
|
|
|
268
270
|
}
|
|
269
271
|
|
|
270
272
|
/**
|
|
271
|
-
*
|
|
273
|
+
* Standard API response envelope for all v3 endpoints
|
|
272
274
|
*/
|
|
273
|
-
export interface
|
|
275
|
+
export interface WebhookCreateResponse {
|
|
276
|
+
/**
|
|
277
|
+
* The response data (null if error)
|
|
278
|
+
*/
|
|
279
|
+
data?: WebhookCreateResponse.Data | null;
|
|
280
|
+
|
|
274
281
|
/**
|
|
275
|
-
*
|
|
282
|
+
* Error information
|
|
276
283
|
*/
|
|
277
|
-
|
|
284
|
+
error?: WebhookCreateResponse.Error | null;
|
|
278
285
|
|
|
279
286
|
/**
|
|
280
|
-
*
|
|
287
|
+
* Request and response metadata
|
|
281
288
|
*/
|
|
282
|
-
|
|
289
|
+
meta?: WebhookCreateResponse.Meta;
|
|
283
290
|
|
|
284
291
|
/**
|
|
285
|
-
*
|
|
292
|
+
* Indicates whether the request was successful
|
|
286
293
|
*/
|
|
287
|
-
|
|
294
|
+
success?: boolean;
|
|
288
295
|
}
|
|
289
296
|
|
|
290
|
-
|
|
291
|
-
* Standard API response envelope for all v3 endpoints
|
|
292
|
-
*/
|
|
293
|
-
export interface APIResponseWebhook {
|
|
297
|
+
export namespace WebhookCreateResponse {
|
|
294
298
|
/**
|
|
295
299
|
* The response data (null if error)
|
|
296
300
|
*/
|
|
297
|
-
|
|
301
|
+
export interface Data {
|
|
302
|
+
id?: string;
|
|
303
|
+
|
|
304
|
+
consecutive_failures?: number;
|
|
305
|
+
|
|
306
|
+
created_at?: string;
|
|
307
|
+
|
|
308
|
+
display_name?: string;
|
|
309
|
+
|
|
310
|
+
endpoint_url?: string;
|
|
311
|
+
|
|
312
|
+
event_filters?: { [key: string]: Array<string> } | null;
|
|
313
|
+
|
|
314
|
+
event_types?: Array<string>;
|
|
315
|
+
|
|
316
|
+
is_active?: boolean;
|
|
317
|
+
|
|
318
|
+
last_delivery_attempt_at?: string | null;
|
|
319
|
+
|
|
320
|
+
last_successful_delivery_at?: string | null;
|
|
321
|
+
|
|
322
|
+
retry_count?: number;
|
|
323
|
+
|
|
324
|
+
signing_secret?: string | null;
|
|
325
|
+
|
|
326
|
+
timeout_seconds?: number;
|
|
327
|
+
|
|
328
|
+
updated_at?: string | null;
|
|
329
|
+
}
|
|
298
330
|
|
|
299
331
|
/**
|
|
300
332
|
* Error information
|
|
301
333
|
*/
|
|
302
|
-
|
|
334
|
+
export interface Error {
|
|
335
|
+
/**
|
|
336
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
337
|
+
*/
|
|
338
|
+
code?: string;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Additional validation error details (field-level errors)
|
|
342
|
+
*/
|
|
343
|
+
details?: { [key: string]: Array<string> } | null;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* URL to documentation about this error
|
|
347
|
+
*/
|
|
348
|
+
doc_url?: string | null;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Human-readable error message
|
|
352
|
+
*/
|
|
353
|
+
message?: string;
|
|
354
|
+
}
|
|
303
355
|
|
|
304
356
|
/**
|
|
305
357
|
* Request and response metadata
|
|
306
358
|
*/
|
|
307
|
-
|
|
359
|
+
export interface Meta {
|
|
360
|
+
/**
|
|
361
|
+
* Unique identifier for this request (for tracing and support)
|
|
362
|
+
*/
|
|
363
|
+
request_id?: string;
|
|
308
364
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
365
|
+
/**
|
|
366
|
+
* Server timestamp when the response was generated
|
|
367
|
+
*/
|
|
368
|
+
timestamp?: string;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* API version used for this request
|
|
372
|
+
*/
|
|
373
|
+
version?: string;
|
|
374
|
+
}
|
|
313
375
|
}
|
|
314
376
|
|
|
315
377
|
/**
|
|
316
|
-
*
|
|
378
|
+
* Standard API response envelope for all v3 endpoints
|
|
317
379
|
*/
|
|
318
|
-
export interface
|
|
380
|
+
export interface WebhookRetrieveResponse {
|
|
319
381
|
/**
|
|
320
|
-
*
|
|
382
|
+
* The response data (null if error)
|
|
321
383
|
*/
|
|
322
|
-
|
|
384
|
+
data?: WebhookRetrieveResponse.Data | null;
|
|
323
385
|
|
|
324
386
|
/**
|
|
325
|
-
*
|
|
387
|
+
* Error information
|
|
326
388
|
*/
|
|
327
|
-
|
|
389
|
+
error?: WebhookRetrieveResponse.Error | null;
|
|
328
390
|
|
|
329
391
|
/**
|
|
330
|
-
*
|
|
392
|
+
* Request and response metadata
|
|
331
393
|
*/
|
|
332
|
-
|
|
394
|
+
meta?: WebhookRetrieveResponse.Meta;
|
|
333
395
|
|
|
334
396
|
/**
|
|
335
|
-
*
|
|
397
|
+
* Indicates whether the request was successful
|
|
336
398
|
*/
|
|
337
|
-
|
|
399
|
+
success?: boolean;
|
|
338
400
|
}
|
|
339
401
|
|
|
340
|
-
export
|
|
402
|
+
export namespace WebhookRetrieveResponse {
|
|
341
403
|
/**
|
|
342
|
-
*
|
|
343
|
-
* for testing integrations without actual execution
|
|
404
|
+
* The response data (null if error)
|
|
344
405
|
*/
|
|
345
|
-
|
|
346
|
-
|
|
406
|
+
export interface Data {
|
|
407
|
+
id?: string;
|
|
408
|
+
|
|
409
|
+
consecutive_failures?: number;
|
|
410
|
+
|
|
411
|
+
created_at?: string;
|
|
412
|
+
|
|
413
|
+
display_name?: string;
|
|
414
|
+
|
|
415
|
+
endpoint_url?: string;
|
|
416
|
+
|
|
417
|
+
event_filters?: { [key: string]: Array<string> } | null;
|
|
418
|
+
|
|
419
|
+
event_types?: Array<string>;
|
|
420
|
+
|
|
421
|
+
is_active?: boolean;
|
|
422
|
+
|
|
423
|
+
last_delivery_attempt_at?: string | null;
|
|
424
|
+
|
|
425
|
+
last_successful_delivery_at?: string | null;
|
|
426
|
+
|
|
427
|
+
retry_count?: number;
|
|
428
|
+
|
|
429
|
+
signing_secret?: string | null;
|
|
430
|
+
|
|
431
|
+
timeout_seconds?: number;
|
|
432
|
+
|
|
433
|
+
updated_at?: string | null;
|
|
434
|
+
}
|
|
347
435
|
|
|
348
|
-
/**
|
|
349
|
-
* Pagination metadata for list responses
|
|
350
|
-
*/
|
|
351
|
-
export interface PaginationMeta {
|
|
352
436
|
/**
|
|
353
|
-
*
|
|
437
|
+
* Error information
|
|
354
438
|
*/
|
|
355
|
-
|
|
439
|
+
export interface Error {
|
|
440
|
+
/**
|
|
441
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
442
|
+
*/
|
|
443
|
+
code?: string;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Additional validation error details (field-level errors)
|
|
447
|
+
*/
|
|
448
|
+
details?: { [key: string]: Array<string> } | null;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* URL to documentation about this error
|
|
452
|
+
*/
|
|
453
|
+
doc_url?: string | null;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Human-readable error message
|
|
457
|
+
*/
|
|
458
|
+
message?: string;
|
|
459
|
+
}
|
|
356
460
|
|
|
357
461
|
/**
|
|
358
|
-
*
|
|
462
|
+
* Request and response metadata
|
|
359
463
|
*/
|
|
360
|
-
|
|
464
|
+
export interface Meta {
|
|
465
|
+
/**
|
|
466
|
+
* Unique identifier for this request (for tracing and support)
|
|
467
|
+
*/
|
|
468
|
+
request_id?: string;
|
|
361
469
|
|
|
470
|
+
/**
|
|
471
|
+
* Server timestamp when the response was generated
|
|
472
|
+
*/
|
|
473
|
+
timestamp?: string;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* API version used for this request
|
|
477
|
+
*/
|
|
478
|
+
version?: string;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Standard API response envelope for all v3 endpoints
|
|
484
|
+
*/
|
|
485
|
+
export interface WebhookUpdateResponse {
|
|
362
486
|
/**
|
|
363
|
-
*
|
|
487
|
+
* The response data (null if error)
|
|
364
488
|
*/
|
|
365
|
-
|
|
489
|
+
data?: WebhookUpdateResponse.Data | null;
|
|
366
490
|
|
|
367
491
|
/**
|
|
368
|
-
*
|
|
492
|
+
* Error information
|
|
369
493
|
*/
|
|
370
|
-
|
|
494
|
+
error?: WebhookUpdateResponse.Error | null;
|
|
371
495
|
|
|
372
496
|
/**
|
|
373
|
-
*
|
|
497
|
+
* Request and response metadata
|
|
374
498
|
*/
|
|
375
|
-
|
|
499
|
+
meta?: WebhookUpdateResponse.Meta;
|
|
376
500
|
|
|
377
501
|
/**
|
|
378
|
-
*
|
|
502
|
+
* Indicates whether the request was successful
|
|
379
503
|
*/
|
|
380
|
-
|
|
504
|
+
success?: boolean;
|
|
381
505
|
}
|
|
382
506
|
|
|
383
|
-
export namespace
|
|
507
|
+
export namespace WebhookUpdateResponse {
|
|
384
508
|
/**
|
|
385
|
-
*
|
|
509
|
+
* The response data (null if error)
|
|
386
510
|
*/
|
|
387
|
-
export interface
|
|
388
|
-
|
|
389
|
-
* Cursor to fetch the next page
|
|
390
|
-
*/
|
|
391
|
-
after?: string | null;
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* Cursor to fetch the previous page
|
|
395
|
-
*/
|
|
396
|
-
before?: string | null;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
511
|
+
export interface Data {
|
|
512
|
+
id?: string;
|
|
399
513
|
|
|
400
|
-
|
|
401
|
-
description?: string | null;
|
|
514
|
+
consecutive_failures?: number;
|
|
402
515
|
|
|
403
|
-
|
|
516
|
+
created_at?: string;
|
|
404
517
|
|
|
405
|
-
|
|
518
|
+
display_name?: string;
|
|
406
519
|
|
|
407
|
-
|
|
520
|
+
endpoint_url?: string;
|
|
408
521
|
|
|
409
|
-
|
|
522
|
+
event_filters?: { [key: string]: Array<string> } | null;
|
|
410
523
|
|
|
411
|
-
|
|
412
|
-
}
|
|
524
|
+
event_types?: Array<string>;
|
|
413
525
|
|
|
414
|
-
|
|
415
|
-
id?: string;
|
|
526
|
+
is_active?: boolean;
|
|
416
527
|
|
|
417
|
-
|
|
528
|
+
last_delivery_attempt_at?: string | null;
|
|
418
529
|
|
|
419
|
-
|
|
530
|
+
last_successful_delivery_at?: string | null;
|
|
420
531
|
|
|
421
|
-
|
|
532
|
+
retry_count?: number;
|
|
422
533
|
|
|
423
|
-
|
|
534
|
+
signing_secret?: string | null;
|
|
424
535
|
|
|
425
|
-
|
|
536
|
+
timeout_seconds?: number;
|
|
426
537
|
|
|
427
|
-
|
|
538
|
+
updated_at?: string | null;
|
|
539
|
+
}
|
|
428
540
|
|
|
429
|
-
|
|
541
|
+
/**
|
|
542
|
+
* Error information
|
|
543
|
+
*/
|
|
544
|
+
export interface Error {
|
|
545
|
+
/**
|
|
546
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
547
|
+
*/
|
|
548
|
+
code?: string;
|
|
430
549
|
|
|
431
|
-
|
|
550
|
+
/**
|
|
551
|
+
* Additional validation error details (field-level errors)
|
|
552
|
+
*/
|
|
553
|
+
details?: { [key: string]: Array<string> } | null;
|
|
432
554
|
|
|
433
|
-
|
|
555
|
+
/**
|
|
556
|
+
* URL to documentation about this error
|
|
557
|
+
*/
|
|
558
|
+
doc_url?: string | null;
|
|
434
559
|
|
|
435
|
-
|
|
560
|
+
/**
|
|
561
|
+
* Human-readable error message
|
|
562
|
+
*/
|
|
563
|
+
message?: string;
|
|
564
|
+
}
|
|
436
565
|
|
|
437
|
-
|
|
566
|
+
/**
|
|
567
|
+
* Request and response metadata
|
|
568
|
+
*/
|
|
569
|
+
export interface Meta {
|
|
570
|
+
/**
|
|
571
|
+
* Unique identifier for this request (for tracing and support)
|
|
572
|
+
*/
|
|
573
|
+
request_id?: string;
|
|
438
574
|
|
|
439
|
-
|
|
575
|
+
/**
|
|
576
|
+
* Server timestamp when the response was generated
|
|
577
|
+
*/
|
|
578
|
+
timestamp?: string;
|
|
440
579
|
|
|
441
|
-
|
|
580
|
+
/**
|
|
581
|
+
* API version used for this request
|
|
582
|
+
*/
|
|
583
|
+
version?: string;
|
|
584
|
+
}
|
|
442
585
|
}
|
|
443
586
|
|
|
444
587
|
/**
|
|
@@ -453,12 +596,12 @@ export interface WebhookListResponse {
|
|
|
453
596
|
/**
|
|
454
597
|
* Error information
|
|
455
598
|
*/
|
|
456
|
-
error?:
|
|
599
|
+
error?: WebhookListResponse.Error | null;
|
|
457
600
|
|
|
458
601
|
/**
|
|
459
602
|
* Request and response metadata
|
|
460
603
|
*/
|
|
461
|
-
meta?:
|
|
604
|
+
meta?: WebhookListResponse.Meta;
|
|
462
605
|
|
|
463
606
|
/**
|
|
464
607
|
* Indicates whether the request was successful
|
|
@@ -474,9 +617,138 @@ export namespace WebhookListResponse {
|
|
|
474
617
|
/**
|
|
475
618
|
* Pagination metadata for list responses
|
|
476
619
|
*/
|
|
477
|
-
pagination?:
|
|
620
|
+
pagination?: Data.Pagination;
|
|
478
621
|
|
|
479
|
-
webhooks?: Array<
|
|
622
|
+
webhooks?: Array<Data.Webhook>;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
export namespace Data {
|
|
626
|
+
/**
|
|
627
|
+
* Pagination metadata for list responses
|
|
628
|
+
*/
|
|
629
|
+
export interface Pagination {
|
|
630
|
+
/**
|
|
631
|
+
* Cursor-based pagination pointers
|
|
632
|
+
*/
|
|
633
|
+
cursors?: Pagination.Cursors | null;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Whether there are more pages after this one
|
|
637
|
+
*/
|
|
638
|
+
has_more?: boolean;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Current page number (1-indexed)
|
|
642
|
+
*/
|
|
643
|
+
page?: number;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Number of items per page
|
|
647
|
+
*/
|
|
648
|
+
page_size?: number;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Total number of items across all pages
|
|
652
|
+
*/
|
|
653
|
+
total_count?: number;
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Total number of pages
|
|
657
|
+
*/
|
|
658
|
+
total_pages?: number;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
export namespace Pagination {
|
|
662
|
+
/**
|
|
663
|
+
* Cursor-based pagination pointers
|
|
664
|
+
*/
|
|
665
|
+
export interface Cursors {
|
|
666
|
+
/**
|
|
667
|
+
* Cursor to fetch the next page
|
|
668
|
+
*/
|
|
669
|
+
after?: string | null;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Cursor to fetch the previous page
|
|
673
|
+
*/
|
|
674
|
+
before?: string | null;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export interface Webhook {
|
|
679
|
+
id?: string;
|
|
680
|
+
|
|
681
|
+
consecutive_failures?: number;
|
|
682
|
+
|
|
683
|
+
created_at?: string;
|
|
684
|
+
|
|
685
|
+
display_name?: string;
|
|
686
|
+
|
|
687
|
+
endpoint_url?: string;
|
|
688
|
+
|
|
689
|
+
event_filters?: { [key: string]: Array<string> } | null;
|
|
690
|
+
|
|
691
|
+
event_types?: Array<string>;
|
|
692
|
+
|
|
693
|
+
is_active?: boolean;
|
|
694
|
+
|
|
695
|
+
last_delivery_attempt_at?: string | null;
|
|
696
|
+
|
|
697
|
+
last_successful_delivery_at?: string | null;
|
|
698
|
+
|
|
699
|
+
retry_count?: number;
|
|
700
|
+
|
|
701
|
+
signing_secret?: string | null;
|
|
702
|
+
|
|
703
|
+
timeout_seconds?: number;
|
|
704
|
+
|
|
705
|
+
updated_at?: string | null;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Error information
|
|
711
|
+
*/
|
|
712
|
+
export interface Error {
|
|
713
|
+
/**
|
|
714
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
715
|
+
*/
|
|
716
|
+
code?: string;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Additional validation error details (field-level errors)
|
|
720
|
+
*/
|
|
721
|
+
details?: { [key: string]: Array<string> } | null;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* URL to documentation about this error
|
|
725
|
+
*/
|
|
726
|
+
doc_url?: string | null;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Human-readable error message
|
|
730
|
+
*/
|
|
731
|
+
message?: string;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Request and response metadata
|
|
736
|
+
*/
|
|
737
|
+
export interface Meta {
|
|
738
|
+
/**
|
|
739
|
+
* Unique identifier for this request (for tracing and support)
|
|
740
|
+
*/
|
|
741
|
+
request_id?: string;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Server timestamp when the response was generated
|
|
745
|
+
*/
|
|
746
|
+
timestamp?: string;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* API version used for this request
|
|
750
|
+
*/
|
|
751
|
+
version?: string;
|
|
480
752
|
}
|
|
481
753
|
}
|
|
482
754
|
|
|
@@ -492,12 +764,12 @@ export interface WebhookListEventTypesResponse {
|
|
|
492
764
|
/**
|
|
493
765
|
* Error information
|
|
494
766
|
*/
|
|
495
|
-
error?:
|
|
767
|
+
error?: WebhookListEventTypesResponse.Error | null;
|
|
496
768
|
|
|
497
769
|
/**
|
|
498
770
|
* Request and response metadata
|
|
499
771
|
*/
|
|
500
|
-
meta?:
|
|
772
|
+
meta?: WebhookListEventTypesResponse.Meta;
|
|
501
773
|
|
|
502
774
|
/**
|
|
503
775
|
* Indicates whether the request was successful
|
|
@@ -510,7 +782,68 @@ export namespace WebhookListEventTypesResponse {
|
|
|
510
782
|
* The response data (null if error)
|
|
511
783
|
*/
|
|
512
784
|
export interface Data {
|
|
513
|
-
event_types?: Array<
|
|
785
|
+
event_types?: Array<Data.EventType>;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export namespace Data {
|
|
789
|
+
export interface EventType {
|
|
790
|
+
description?: string | null;
|
|
791
|
+
|
|
792
|
+
display_name?: string;
|
|
793
|
+
|
|
794
|
+
event_type?: string | null;
|
|
795
|
+
|
|
796
|
+
is_active?: boolean;
|
|
797
|
+
|
|
798
|
+
name?: string;
|
|
799
|
+
|
|
800
|
+
sub_types?: Array<unknown> | null;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Error information
|
|
806
|
+
*/
|
|
807
|
+
export interface Error {
|
|
808
|
+
/**
|
|
809
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
810
|
+
*/
|
|
811
|
+
code?: string;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Additional validation error details (field-level errors)
|
|
815
|
+
*/
|
|
816
|
+
details?: { [key: string]: Array<string> } | null;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* URL to documentation about this error
|
|
820
|
+
*/
|
|
821
|
+
doc_url?: string | null;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Human-readable error message
|
|
825
|
+
*/
|
|
826
|
+
message?: string;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Request and response metadata
|
|
831
|
+
*/
|
|
832
|
+
export interface Meta {
|
|
833
|
+
/**
|
|
834
|
+
* Unique identifier for this request (for tracing and support)
|
|
835
|
+
*/
|
|
836
|
+
request_id?: string;
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Server timestamp when the response was generated
|
|
840
|
+
*/
|
|
841
|
+
timestamp?: string;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* API version used for this request
|
|
845
|
+
*/
|
|
846
|
+
version?: string;
|
|
514
847
|
}
|
|
515
848
|
}
|
|
516
849
|
|
|
@@ -526,12 +859,12 @@ export interface WebhookListEventsResponse {
|
|
|
526
859
|
/**
|
|
527
860
|
* Error information
|
|
528
861
|
*/
|
|
529
|
-
error?:
|
|
862
|
+
error?: WebhookListEventsResponse.Error | null;
|
|
530
863
|
|
|
531
864
|
/**
|
|
532
865
|
* Request and response metadata
|
|
533
866
|
*/
|
|
534
|
-
meta?:
|
|
867
|
+
meta?: WebhookListEventsResponse.Meta;
|
|
535
868
|
|
|
536
869
|
/**
|
|
537
870
|
* Indicates whether the request was successful
|
|
@@ -549,7 +882,7 @@ export namespace WebhookListEventsResponse {
|
|
|
549
882
|
/**
|
|
550
883
|
* Pagination metadata for list responses
|
|
551
884
|
*/
|
|
552
|
-
pagination?:
|
|
885
|
+
pagination?: Data.Pagination;
|
|
553
886
|
}
|
|
554
887
|
|
|
555
888
|
export namespace Data {
|
|
@@ -576,6 +909,103 @@ export namespace WebhookListEventsResponse {
|
|
|
576
909
|
|
|
577
910
|
response_body?: string | null;
|
|
578
911
|
}
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Pagination metadata for list responses
|
|
915
|
+
*/
|
|
916
|
+
export interface Pagination {
|
|
917
|
+
/**
|
|
918
|
+
* Cursor-based pagination pointers
|
|
919
|
+
*/
|
|
920
|
+
cursors?: Pagination.Cursors | null;
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Whether there are more pages after this one
|
|
924
|
+
*/
|
|
925
|
+
has_more?: boolean;
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Current page number (1-indexed)
|
|
929
|
+
*/
|
|
930
|
+
page?: number;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Number of items per page
|
|
934
|
+
*/
|
|
935
|
+
page_size?: number;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Total number of items across all pages
|
|
939
|
+
*/
|
|
940
|
+
total_count?: number;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Total number of pages
|
|
944
|
+
*/
|
|
945
|
+
total_pages?: number;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export namespace Pagination {
|
|
949
|
+
/**
|
|
950
|
+
* Cursor-based pagination pointers
|
|
951
|
+
*/
|
|
952
|
+
export interface Cursors {
|
|
953
|
+
/**
|
|
954
|
+
* Cursor to fetch the next page
|
|
955
|
+
*/
|
|
956
|
+
after?: string | null;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Cursor to fetch the previous page
|
|
960
|
+
*/
|
|
961
|
+
before?: string | null;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Error information
|
|
968
|
+
*/
|
|
969
|
+
export interface Error {
|
|
970
|
+
/**
|
|
971
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
972
|
+
*/
|
|
973
|
+
code?: string;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Additional validation error details (field-level errors)
|
|
977
|
+
*/
|
|
978
|
+
details?: { [key: string]: Array<string> } | null;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* URL to documentation about this error
|
|
982
|
+
*/
|
|
983
|
+
doc_url?: string | null;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Human-readable error message
|
|
987
|
+
*/
|
|
988
|
+
message?: string;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Request and response metadata
|
|
993
|
+
*/
|
|
994
|
+
export interface Meta {
|
|
995
|
+
/**
|
|
996
|
+
* Unique identifier for this request (for tracing and support)
|
|
997
|
+
*/
|
|
998
|
+
request_id?: string;
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Server timestamp when the response was generated
|
|
1002
|
+
*/
|
|
1003
|
+
timestamp?: string;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* API version used for this request
|
|
1007
|
+
*/
|
|
1008
|
+
version?: string;
|
|
579
1009
|
}
|
|
580
1010
|
}
|
|
581
1011
|
|
|
@@ -591,12 +1021,12 @@ export interface WebhookRotateSecretResponse {
|
|
|
591
1021
|
/**
|
|
592
1022
|
* Error information
|
|
593
1023
|
*/
|
|
594
|
-
error?:
|
|
1024
|
+
error?: WebhookRotateSecretResponse.Error | null;
|
|
595
1025
|
|
|
596
1026
|
/**
|
|
597
1027
|
* Request and response metadata
|
|
598
1028
|
*/
|
|
599
|
-
meta?:
|
|
1029
|
+
meta?: WebhookRotateSecretResponse.Meta;
|
|
600
1030
|
|
|
601
1031
|
/**
|
|
602
1032
|
* Indicates whether the request was successful
|
|
@@ -611,6 +1041,51 @@ export namespace WebhookRotateSecretResponse {
|
|
|
611
1041
|
export interface Data {
|
|
612
1042
|
signing_secret?: string;
|
|
613
1043
|
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Error information
|
|
1047
|
+
*/
|
|
1048
|
+
export interface Error {
|
|
1049
|
+
/**
|
|
1050
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
1051
|
+
*/
|
|
1052
|
+
code?: string;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Additional validation error details (field-level errors)
|
|
1056
|
+
*/
|
|
1057
|
+
details?: { [key: string]: Array<string> } | null;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* URL to documentation about this error
|
|
1061
|
+
*/
|
|
1062
|
+
doc_url?: string | null;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Human-readable error message
|
|
1066
|
+
*/
|
|
1067
|
+
message?: string;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Request and response metadata
|
|
1072
|
+
*/
|
|
1073
|
+
export interface Meta {
|
|
1074
|
+
/**
|
|
1075
|
+
* Unique identifier for this request (for tracing and support)
|
|
1076
|
+
*/
|
|
1077
|
+
request_id?: string;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Server timestamp when the response was generated
|
|
1081
|
+
*/
|
|
1082
|
+
timestamp?: string;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* API version used for this request
|
|
1086
|
+
*/
|
|
1087
|
+
version?: string;
|
|
1088
|
+
}
|
|
614
1089
|
}
|
|
615
1090
|
|
|
616
1091
|
/**
|
|
@@ -625,12 +1100,12 @@ export interface WebhookTestResponse {
|
|
|
625
1100
|
/**
|
|
626
1101
|
* Error information
|
|
627
1102
|
*/
|
|
628
|
-
error?:
|
|
1103
|
+
error?: WebhookTestResponse.Error | null;
|
|
629
1104
|
|
|
630
1105
|
/**
|
|
631
1106
|
* Request and response metadata
|
|
632
1107
|
*/
|
|
633
|
-
meta?:
|
|
1108
|
+
meta?: WebhookTestResponse.Meta;
|
|
634
1109
|
|
|
635
1110
|
/**
|
|
636
1111
|
* Indicates whether the request was successful
|
|
@@ -647,6 +1122,156 @@ export namespace WebhookTestResponse {
|
|
|
647
1122
|
|
|
648
1123
|
success?: boolean;
|
|
649
1124
|
}
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Error information
|
|
1128
|
+
*/
|
|
1129
|
+
export interface Error {
|
|
1130
|
+
/**
|
|
1131
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
1132
|
+
*/
|
|
1133
|
+
code?: string;
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Additional validation error details (field-level errors)
|
|
1137
|
+
*/
|
|
1138
|
+
details?: { [key: string]: Array<string> } | null;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* URL to documentation about this error
|
|
1142
|
+
*/
|
|
1143
|
+
doc_url?: string | null;
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Human-readable error message
|
|
1147
|
+
*/
|
|
1148
|
+
message?: string;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Request and response metadata
|
|
1153
|
+
*/
|
|
1154
|
+
export interface Meta {
|
|
1155
|
+
/**
|
|
1156
|
+
* Unique identifier for this request (for tracing and support)
|
|
1157
|
+
*/
|
|
1158
|
+
request_id?: string;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Server timestamp when the response was generated
|
|
1162
|
+
*/
|
|
1163
|
+
timestamp?: string;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* API version used for this request
|
|
1167
|
+
*/
|
|
1168
|
+
version?: string;
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Standard API response envelope for all v3 endpoints
|
|
1174
|
+
*/
|
|
1175
|
+
export interface WebhookToggleStatusResponse {
|
|
1176
|
+
/**
|
|
1177
|
+
* The response data (null if error)
|
|
1178
|
+
*/
|
|
1179
|
+
data?: WebhookToggleStatusResponse.Data | null;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Error information
|
|
1183
|
+
*/
|
|
1184
|
+
error?: WebhookToggleStatusResponse.Error | null;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Request and response metadata
|
|
1188
|
+
*/
|
|
1189
|
+
meta?: WebhookToggleStatusResponse.Meta;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Indicates whether the request was successful
|
|
1193
|
+
*/
|
|
1194
|
+
success?: boolean;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
export namespace WebhookToggleStatusResponse {
|
|
1198
|
+
/**
|
|
1199
|
+
* The response data (null if error)
|
|
1200
|
+
*/
|
|
1201
|
+
export interface Data {
|
|
1202
|
+
id?: string;
|
|
1203
|
+
|
|
1204
|
+
consecutive_failures?: number;
|
|
1205
|
+
|
|
1206
|
+
created_at?: string;
|
|
1207
|
+
|
|
1208
|
+
display_name?: string;
|
|
1209
|
+
|
|
1210
|
+
endpoint_url?: string;
|
|
1211
|
+
|
|
1212
|
+
event_filters?: { [key: string]: Array<string> } | null;
|
|
1213
|
+
|
|
1214
|
+
event_types?: Array<string>;
|
|
1215
|
+
|
|
1216
|
+
is_active?: boolean;
|
|
1217
|
+
|
|
1218
|
+
last_delivery_attempt_at?: string | null;
|
|
1219
|
+
|
|
1220
|
+
last_successful_delivery_at?: string | null;
|
|
1221
|
+
|
|
1222
|
+
retry_count?: number;
|
|
1223
|
+
|
|
1224
|
+
signing_secret?: string | null;
|
|
1225
|
+
|
|
1226
|
+
timeout_seconds?: number;
|
|
1227
|
+
|
|
1228
|
+
updated_at?: string | null;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Error information
|
|
1233
|
+
*/
|
|
1234
|
+
export interface Error {
|
|
1235
|
+
/**
|
|
1236
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
1237
|
+
*/
|
|
1238
|
+
code?: string;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Additional validation error details (field-level errors)
|
|
1242
|
+
*/
|
|
1243
|
+
details?: { [key: string]: Array<string> } | null;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* URL to documentation about this error
|
|
1247
|
+
*/
|
|
1248
|
+
doc_url?: string | null;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Human-readable error message
|
|
1252
|
+
*/
|
|
1253
|
+
message?: string;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Request and response metadata
|
|
1258
|
+
*/
|
|
1259
|
+
export interface Meta {
|
|
1260
|
+
/**
|
|
1261
|
+
* Unique identifier for this request (for tracing and support)
|
|
1262
|
+
*/
|
|
1263
|
+
request_id?: string;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Server timestamp when the response was generated
|
|
1267
|
+
*/
|
|
1268
|
+
timestamp?: string;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* API version used for this request
|
|
1272
|
+
*/
|
|
1273
|
+
version?: string;
|
|
1274
|
+
}
|
|
650
1275
|
}
|
|
651
1276
|
|
|
652
1277
|
export interface WebhookCreateParams {
|
|
@@ -908,18 +1533,15 @@ export interface WebhookToggleStatusParams {
|
|
|
908
1533
|
|
|
909
1534
|
export declare namespace Webhooks {
|
|
910
1535
|
export {
|
|
911
|
-
type
|
|
912
|
-
type
|
|
913
|
-
type
|
|
914
|
-
type MutationRequest as MutationRequest,
|
|
915
|
-
type PaginationMeta as PaginationMeta,
|
|
916
|
-
type WebhookEventType as WebhookEventType,
|
|
917
|
-
type WebhookResponse as WebhookResponse,
|
|
1536
|
+
type WebhookCreateResponse as WebhookCreateResponse,
|
|
1537
|
+
type WebhookRetrieveResponse as WebhookRetrieveResponse,
|
|
1538
|
+
type WebhookUpdateResponse as WebhookUpdateResponse,
|
|
918
1539
|
type WebhookListResponse as WebhookListResponse,
|
|
919
1540
|
type WebhookListEventTypesResponse as WebhookListEventTypesResponse,
|
|
920
1541
|
type WebhookListEventsResponse as WebhookListEventsResponse,
|
|
921
1542
|
type WebhookRotateSecretResponse as WebhookRotateSecretResponse,
|
|
922
1543
|
type WebhookTestResponse as WebhookTestResponse,
|
|
1544
|
+
type WebhookToggleStatusResponse as WebhookToggleStatusResponse,
|
|
923
1545
|
type WebhookCreateParams as WebhookCreateParams,
|
|
924
1546
|
type WebhookRetrieveParams as WebhookRetrieveParams,
|
|
925
1547
|
type WebhookUpdateParams as WebhookUpdateParams,
|