@sentdm/sentdm 0.36.0 → 0.37.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.
Files changed (106) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/client.d.mts +14 -14
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +14 -14
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/contacts.d.mts +85 -589
  10. package/resources/contacts.d.mts.map +1 -1
  11. package/resources/contacts.d.ts +85 -589
  12. package/resources/contacts.d.ts.map +1 -1
  13. package/resources/contacts.js +4 -4
  14. package/resources/contacts.js.map +1 -1
  15. package/resources/contacts.mjs +4 -4
  16. package/resources/contacts.mjs.map +1 -1
  17. package/resources/conversations.d.mts +69 -328
  18. package/resources/conversations.d.mts.map +1 -1
  19. package/resources/conversations.d.ts +69 -328
  20. package/resources/conversations.d.ts.map +1 -1
  21. package/resources/conversations.js +10 -8
  22. package/resources/conversations.js.map +1 -1
  23. package/resources/conversations.mjs +10 -8
  24. package/resources/conversations.mjs.map +1 -1
  25. package/resources/index.d.mts +7 -7
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +7 -7
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/me.d.mts +48 -129
  32. package/resources/me.d.mts.map +1 -1
  33. package/resources/me.d.ts +48 -129
  34. package/resources/me.d.ts.map +1 -1
  35. package/resources/me.js.map +1 -1
  36. package/resources/me.mjs.map +1 -1
  37. package/resources/messages.d.mts +8 -171
  38. package/resources/messages.d.mts.map +1 -1
  39. package/resources/messages.d.ts +8 -171
  40. package/resources/messages.d.ts.map +1 -1
  41. package/resources/messages.js.map +1 -1
  42. package/resources/messages.mjs.map +1 -1
  43. package/resources/numbers.d.mts +3 -42
  44. package/resources/numbers.d.mts.map +1 -1
  45. package/resources/numbers.d.ts +3 -42
  46. package/resources/numbers.d.ts.map +1 -1
  47. package/resources/numbers.js.map +1 -1
  48. package/resources/numbers.mjs.map +1 -1
  49. package/resources/profiles/campaigns.d.mts +149 -544
  50. package/resources/profiles/campaigns.d.mts.map +1 -1
  51. package/resources/profiles/campaigns.d.ts +149 -544
  52. package/resources/profiles/campaigns.d.ts.map +1 -1
  53. package/resources/profiles/index.d.mts +2 -2
  54. package/resources/profiles/index.d.mts.map +1 -1
  55. package/resources/profiles/index.d.ts +2 -2
  56. package/resources/profiles/index.d.ts.map +1 -1
  57. package/resources/profiles/index.js.map +1 -1
  58. package/resources/profiles/index.mjs.map +1 -1
  59. package/resources/profiles/profiles.d.mts +411 -1821
  60. package/resources/profiles/profiles.d.mts.map +1 -1
  61. package/resources/profiles/profiles.d.ts +411 -1821
  62. package/resources/profiles/profiles.d.ts.map +1 -1
  63. package/resources/profiles/profiles.js.map +1 -1
  64. package/resources/profiles/profiles.mjs.map +1 -1
  65. package/resources/templates.d.mts +84 -486
  66. package/resources/templates.d.mts.map +1 -1
  67. package/resources/templates.d.ts +84 -486
  68. package/resources/templates.d.ts.map +1 -1
  69. package/resources/templates.js +3 -3
  70. package/resources/templates.js.map +1 -1
  71. package/resources/templates.mjs +3 -3
  72. package/resources/templates.mjs.map +1 -1
  73. package/resources/users.d.mts +47 -437
  74. package/resources/users.d.mts.map +1 -1
  75. package/resources/users.d.ts +47 -437
  76. package/resources/users.d.ts.map +1 -1
  77. package/resources/users.js +3 -3
  78. package/resources/users.js.map +1 -1
  79. package/resources/users.mjs +3 -3
  80. package/resources/users.mjs.map +1 -1
  81. package/resources/webhooks.d.mts +166 -745
  82. package/resources/webhooks.d.mts.map +1 -1
  83. package/resources/webhooks.d.ts +166 -745
  84. package/resources/webhooks.d.ts.map +1 -1
  85. package/resources/webhooks.js +7 -6
  86. package/resources/webhooks.js.map +1 -1
  87. package/resources/webhooks.mjs +7 -6
  88. package/resources/webhooks.mjs.map +1 -1
  89. package/src/client.ts +52 -39
  90. package/src/resources/contacts.ts +88 -678
  91. package/src/resources/conversations.ts +77 -393
  92. package/src/resources/index.ts +26 -20
  93. package/src/resources/me.ts +59 -148
  94. package/src/resources/messages.ts +8 -194
  95. package/src/resources/numbers.ts +3 -47
  96. package/src/resources/profiles/campaigns.ts +174 -673
  97. package/src/resources/profiles/index.ts +14 -6
  98. package/src/resources/profiles/profiles.ts +529 -2216
  99. package/src/resources/templates.ts +100 -572
  100. package/src/resources/users.ts +48 -505
  101. package/src/resources/webhooks.ts +282 -981
  102. package/src/version.ts +1 -1
  103. package/version.d.mts +1 -1
  104. package/version.d.ts +1 -1
  105. package/version.js +1 -1
  106. package/version.mjs +1 -1
@@ -1,6 +1,7 @@
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';
4
5
  import { APIPromise } from '../core/api-promise';
5
6
  import { buildHeaders } from '../internal/headers';
6
7
  import { RequestOptions } from '../internal/request-options';
@@ -20,13 +21,17 @@ export class Conversations extends APIResource {
20
21
  *
21
22
  * @example
22
23
  * ```ts
23
- * const conversations = await client.conversations.list({
24
- * page: 0,
25
- * page_size: 0,
26
- * });
24
+ * const apiResponseOfConversationMessagesList =
25
+ * await client.conversations.list({
26
+ * page: 0,
27
+ * page_size: 0,
28
+ * });
27
29
  * ```
28
30
  */
29
- list(params: ConversationListParams, options?: RequestOptions): APIPromise<ConversationListResponse> {
31
+ list(
32
+ params: ConversationListParams,
33
+ options?: RequestOptions,
34
+ ): APIPromise<APIResponseOfConversationMessagesList> {
30
35
  const { 'x-profile-id': xProfileID, ...query } = params;
31
36
  return this._client.get('/v3/conversations', {
32
37
  query,
@@ -44,17 +49,18 @@ export class Conversations extends APIResource {
44
49
  *
45
50
  * @example
46
51
  * ```ts
47
- * const response = await client.conversations.listMessages(
48
- * '08fab313-c9e2-502c-975e-08b0356c432e',
49
- * { page: 0, page_size: 0 },
50
- * );
52
+ * const apiResponseOfConversationMessagesList =
53
+ * await client.conversations.listMessages(
54
+ * '08fab313-c9e2-502c-975e-08b0356c432e',
55
+ * { page: 0, page_size: 0 },
56
+ * );
51
57
  * ```
52
58
  */
53
59
  listMessages(
54
60
  id: string,
55
61
  params: ConversationListMessagesParams,
56
62
  options?: RequestOptions,
57
- ): APIPromise<ConversationListMessagesResponse> {
63
+ ): APIPromise<APIResponseOfConversationMessagesList> {
58
64
  const { 'x-profile-id': xProfileID, ...query } = params;
59
65
  return this._client.get(path`/v3/conversations/${id}`, {
60
66
  query,
@@ -70,21 +76,21 @@ export class Conversations extends APIResource {
70
76
  /**
71
77
  * Standard API response envelope for all v3 endpoints
72
78
  */
73
- export interface ConversationListResponse {
79
+ export interface APIResponseOfConversationMessagesList {
74
80
  /**
75
81
  * A paginated list of messages — used by both conversation read endpoints.
76
82
  */
77
- data?: ConversationListResponse.Data | null;
83
+ data?: ConversationMessagesList | null;
78
84
 
79
85
  /**
80
86
  * Error information
81
87
  */
82
- error?: ConversationListResponse.Error | null;
88
+ error?: WebhooksAPI.ErrorDetail | null;
83
89
 
84
90
  /**
85
91
  * Request and response metadata
86
92
  */
87
- meta?: ConversationListResponse.Meta;
93
+ meta?: WebhooksAPI.APIMeta;
88
94
 
89
95
  /**
90
96
  * Indicates whether the request was successful
@@ -92,424 +98,102 @@ export interface ConversationListResponse {
92
98
  success?: boolean;
93
99
  }
94
100
 
95
- export namespace ConversationListResponse {
96
- /**
97
- * A paginated list of messages — used by both conversation read endpoints.
98
- */
99
- export interface Data {
100
- /**
101
- * The messages on this page.
102
- */
103
- messages?: Array<Data.Message>;
104
-
105
- /**
106
- * Pagination metadata for list responses
107
- */
108
- pagination?: Data.Pagination;
109
- }
110
-
111
- export namespace Data {
112
- /**
113
- * Message response for v3 API — same shape as v2 with snake_case JSON conventions
114
- */
115
- export interface Message {
116
- id?: string;
117
-
118
- active_contact_price?: number | null;
119
-
120
- channel?: string;
121
-
122
- contact_id?: string;
123
-
124
- created_at?: string;
125
-
126
- customer_id?: string;
127
-
128
- direction?: string;
129
-
130
- events?: Array<Message.Event> | null;
131
-
132
- /**
133
- * Structured message body format for database storage. Preserves channel-specific
134
- * components (header, body, footer, buttons).
135
- */
136
- message_body?: Message.MessageBody | null;
137
-
138
- phone?: string;
139
-
140
- phone_international?: string;
141
-
142
- price?: number | null;
143
-
144
- region_code?: string;
145
-
146
- status?: string;
147
-
148
- template_category?: string | null;
149
-
150
- template_id?: string | null;
151
-
152
- template_name?: string | null;
153
- }
154
-
155
- export namespace Message {
156
- /**
157
- * Represents a status change event in a message's lifecycle (v3)
158
- */
159
- export interface Event {
160
- status: string;
161
-
162
- timestamp: string;
163
-
164
- description?: string | null;
165
- }
166
-
167
- /**
168
- * Structured message body format for database storage. Preserves channel-specific
169
- * components (header, body, footer, buttons).
170
- */
171
- export interface MessageBody {
172
- buttons?: Array<MessageBody.Button> | null;
173
-
174
- content?: string;
175
-
176
- footer?: string | null;
177
-
178
- header?: string | null;
179
- }
180
-
181
- export namespace MessageBody {
182
- export interface Button {
183
- postbackData?: string | null;
184
-
185
- text?: string | null;
186
-
187
- type?: string;
188
-
189
- value?: string;
190
- }
191
- }
192
- }
193
-
194
- /**
195
- * Pagination metadata for list responses
196
- */
197
- export interface Pagination {
198
- /**
199
- * @deprecated Cursor-based pagination. Never populated — see Cursors.
200
- */
201
- cursors?: Pagination.Cursors | null;
202
-
203
- /**
204
- * Whether there are more pages after this one
205
- */
206
- has_more?: boolean;
207
-
208
- /**
209
- * Current page number (1-indexed)
210
- */
211
- page?: number;
212
-
213
- /**
214
- * Number of items per page
215
- */
216
- page_size?: number;
217
-
218
- /**
219
- * Total number of items across all pages
220
- */
221
- total_count?: number;
222
-
223
- /**
224
- * Total number of pages
225
- */
226
- total_pages?: number;
227
- }
228
-
229
- export namespace Pagination {
230
- /**
231
- * @deprecated Cursor-based pagination. Never populated — see Cursors.
232
- */
233
- export interface Cursors {
234
- /**
235
- * Cursor to fetch the next page.
236
- */
237
- after?: string | null;
238
-
239
- /**
240
- * Cursor to fetch the previous page.
241
- */
242
- before?: string | null;
243
- }
244
- }
245
- }
246
-
247
- /**
248
- * Error information
249
- */
250
- export interface Error {
251
- /**
252
- * Machine-readable error code (e.g., "RESOURCE_001")
253
- */
254
- code?: string;
255
-
256
- /**
257
- * Additional validation error details (field-level errors)
258
- */
259
- details?: { [key: string]: Array<string> } | null;
260
-
261
- /**
262
- * URL to documentation about this error
263
- */
264
- doc_url?: string | null;
265
-
266
- /**
267
- * Human-readable error message
268
- */
269
- message?: string;
270
- }
271
-
272
- /**
273
- * Request and response metadata
274
- */
275
- export interface Meta {
276
- /**
277
- * Unique identifier for this request (for tracing and support)
278
- */
279
- request_id?: string;
280
-
281
- /**
282
- * Server timestamp when the response was generated
283
- */
284
- timestamp?: string;
285
-
286
- /**
287
- * API version used for this request
288
- */
289
- version?: string;
290
- }
291
- }
292
-
293
101
  /**
294
- * Standard API response envelope for all v3 endpoints
102
+ * A paginated list of messages — used by both conversation read endpoints.
295
103
  */
296
- export interface ConversationListMessagesResponse {
104
+ export interface ConversationMessagesList {
297
105
  /**
298
- * A paginated list of messages — used by both conversation read endpoints.
106
+ * The messages on this page.
299
107
  */
300
- data?: ConversationListMessagesResponse.Data | null;
108
+ messages?: Array<ConversationMessagesList.Message>;
301
109
 
302
110
  /**
303
- * Error information
304
- */
305
- error?: ConversationListMessagesResponse.Error | null;
306
-
307
- /**
308
- * Request and response metadata
309
- */
310
- meta?: ConversationListMessagesResponse.Meta;
311
-
312
- /**
313
- * Indicates whether the request was successful
111
+ * Pagination metadata for list responses
314
112
  */
315
- success?: boolean;
113
+ pagination?: WebhooksAPI.PaginationMeta;
316
114
  }
317
115
 
318
- export namespace ConversationListMessagesResponse {
116
+ export namespace ConversationMessagesList {
319
117
  /**
320
- * A paginated list of messages — used by both conversation read endpoints.
118
+ * Message response for v3 API — same shape as v2 with snake_case JSON conventions
321
119
  */
322
- export interface Data {
323
- /**
324
- * The messages on this page.
325
- */
326
- messages?: Array<Data.Message>;
327
-
328
- /**
329
- * Pagination metadata for list responses
330
- */
331
- pagination?: Data.Pagination;
332
- }
333
-
334
- export namespace Data {
335
- /**
336
- * Message response for v3 API — same shape as v2 with snake_case JSON conventions
337
- */
338
- export interface Message {
339
- id?: string;
340
-
341
- active_contact_price?: number | null;
342
-
343
- channel?: string;
344
-
345
- contact_id?: string;
346
-
347
- created_at?: string;
348
-
349
- customer_id?: string;
350
-
351
- direction?: string;
352
-
353
- events?: Array<Message.Event> | null;
354
-
355
- /**
356
- * Structured message body format for database storage. Preserves channel-specific
357
- * components (header, body, footer, buttons).
358
- */
359
- message_body?: Message.MessageBody | null;
120
+ export interface Message {
121
+ id?: string;
360
122
 
361
- phone?: string;
123
+ active_contact_price?: number | null;
362
124
 
363
- phone_international?: string;
125
+ channel?: string;
364
126
 
365
- price?: number | null;
127
+ contact_id?: string;
366
128
 
367
- region_code?: string;
129
+ created_at?: string;
368
130
 
369
- status?: string;
131
+ customer_id?: string;
370
132
 
371
- template_category?: string | null;
133
+ direction?: string;
372
134
 
373
- template_id?: string | null;
135
+ events?: Array<Message.Event> | null;
374
136
 
375
- template_name?: string | null;
376
- }
377
-
378
- export namespace Message {
379
- /**
380
- * Represents a status change event in a message's lifecycle (v3)
381
- */
382
- export interface Event {
383
- status: string;
384
-
385
- timestamp: string;
386
-
387
- description?: string | null;
388
- }
137
+ /**
138
+ * Structured message body format for database storage. Preserves channel-specific
139
+ * components (header, body, footer, buttons).
140
+ */
141
+ message_body?: Message.MessageBody | null;
389
142
 
390
- /**
391
- * Structured message body format for database storage. Preserves channel-specific
392
- * components (header, body, footer, buttons).
393
- */
394
- export interface MessageBody {
395
- buttons?: Array<MessageBody.Button> | null;
143
+ phone?: string;
396
144
 
397
- content?: string;
145
+ phone_international?: string;
398
146
 
399
- footer?: string | null;
147
+ price?: number | null;
400
148
 
401
- header?: string | null;
402
- }
149
+ region_code?: string;
403
150
 
404
- export namespace MessageBody {
405
- export interface Button {
406
- postbackData?: string | null;
151
+ status?: string;
407
152
 
408
- text?: string | null;
153
+ template_category?: string | null;
409
154
 
410
- type?: string;
155
+ template_id?: string | null;
411
156
 
412
- value?: string;
413
- }
414
- }
415
- }
157
+ template_name?: string | null;
158
+ }
416
159
 
160
+ export namespace Message {
417
161
  /**
418
- * Pagination metadata for list responses
162
+ * Represents a status change event in a message's lifecycle (v3)
419
163
  */
420
- export interface Pagination {
421
- /**
422
- * @deprecated Cursor-based pagination. Never populated — see Cursors.
423
- */
424
- cursors?: Pagination.Cursors | null;
425
-
426
- /**
427
- * Whether there are more pages after this one
428
- */
429
- has_more?: boolean;
430
-
431
- /**
432
- * Current page number (1-indexed)
433
- */
434
- page?: number;
435
-
436
- /**
437
- * Number of items per page
438
- */
439
- page_size?: number;
440
-
441
- /**
442
- * Total number of items across all pages
443
- */
444
- total_count?: number;
445
-
446
- /**
447
- * Total number of pages
448
- */
449
- total_pages?: number;
450
- }
164
+ export interface Event {
165
+ status: string;
451
166
 
452
- export namespace Pagination {
453
- /**
454
- * @deprecated Cursor-based pagination. Never populated — see Cursors.
455
- */
456
- export interface Cursors {
457
- /**
458
- * Cursor to fetch the next page.
459
- */
460
- after?: string | null;
461
-
462
- /**
463
- * Cursor to fetch the previous page.
464
- */
465
- before?: string | null;
466
- }
167
+ timestamp: string;
168
+
169
+ description?: string | null;
467
170
  }
468
- }
469
171
 
470
- /**
471
- * Error information
472
- */
473
- export interface Error {
474
172
  /**
475
- * Machine-readable error code (e.g., "RESOURCE_001")
173
+ * Structured message body format for database storage. Preserves channel-specific
174
+ * components (header, body, footer, buttons).
476
175
  */
477
- code?: string;
176
+ export interface MessageBody {
177
+ buttons?: Array<MessageBody.Button> | null;
478
178
 
479
- /**
480
- * Additional validation error details (field-level errors)
481
- */
482
- details?: { [key: string]: Array<string> } | null;
179
+ content?: string;
483
180
 
484
- /**
485
- * URL to documentation about this error
486
- */
487
- doc_url?: string | null;
181
+ footer?: string | null;
488
182
 
489
- /**
490
- * Human-readable error message
491
- */
492
- message?: string;
493
- }
183
+ header?: string | null;
184
+ }
494
185
 
495
- /**
496
- * Request and response metadata
497
- */
498
- export interface Meta {
499
- /**
500
- * Unique identifier for this request (for tracing and support)
501
- */
502
- request_id?: string;
186
+ export namespace MessageBody {
187
+ export interface Button {
188
+ postbackData?: string | null;
503
189
 
504
- /**
505
- * Server timestamp when the response was generated
506
- */
507
- timestamp?: string;
190
+ text?: string | null;
508
191
 
509
- /**
510
- * API version used for this request
511
- */
512
- version?: string;
192
+ type?: string;
193
+
194
+ value?: string;
195
+ }
196
+ }
513
197
  }
514
198
  }
515
199
 
@@ -553,8 +237,8 @@ export interface ConversationListMessagesParams {
553
237
 
554
238
  export declare namespace Conversations {
555
239
  export {
556
- type ConversationListResponse as ConversationListResponse,
557
- type ConversationListMessagesResponse as ConversationListMessagesResponse,
240
+ type APIResponseOfConversationMessagesList as APIResponseOfConversationMessagesList,
241
+ type ConversationMessagesList as ConversationMessagesList,
558
242
  type ConversationListParams as ConversationListParams,
559
243
  type ConversationListMessagesParams as ConversationListMessagesParams,
560
244
  };
@@ -2,11 +2,11 @@
2
2
 
3
3
  export {
4
4
  Contacts,
5
- type ContactCreateResponse,
6
- type ContactRetrieveResponse,
7
- type ContactUpdateResponse,
5
+ type APIResponseOfContact,
6
+ type APIResponseOfContactMessageSummary,
7
+ type ContactMessageSummary,
8
+ type ContactResponse,
8
9
  type ContactListResponse,
9
- type ContactRetrieveMessageSummaryResponse,
10
10
  type ContactCreateParams,
11
11
  type ContactRetrieveParams,
12
12
  type ContactUpdateParams,
@@ -16,12 +16,12 @@ export {
16
16
  } from './contacts';
17
17
  export {
18
18
  Conversations,
19
- type ConversationListResponse,
20
- type ConversationListMessagesResponse,
19
+ type APIResponseOfConversationMessagesList,
20
+ type ConversationMessagesList,
21
21
  type ConversationListParams,
22
22
  type ConversationListMessagesParams,
23
23
  } from './conversations';
24
- export { Me, type MeRetrieveResponse, type MeRetrieveParams } from './me';
24
+ export { Me, type ProfileSettings, type MeRetrieveResponse, type MeRetrieveParams } from './me';
25
25
  export {
26
26
  Messages,
27
27
  type MessageRetrieveActivitiesResponse,
@@ -34,12 +34,17 @@ export {
34
34
  export { Numbers, type NumberLookupResponse, type NumberLookupParams } from './numbers';
35
35
  export {
36
36
  Profiles,
37
+ type APIResponseOfProfileDetail,
38
+ type BillingContactInfo,
39
+ type BrandBusinessInfo,
40
+ type BrandComplianceInfo,
41
+ type BrandContactInfo,
42
+ type BrandsBrandData,
37
43
  type DestinationCountry,
44
+ type PaymentDetails,
45
+ type ProfileDetail,
38
46
  type TcrBrandRelationship,
39
47
  type TcrVertical,
40
- type ProfileCreateResponse,
41
- type ProfileRetrieveResponse,
42
- type ProfileUpdateResponse,
43
48
  type ProfileListResponse,
44
49
  type ProfileCompleteResponse,
45
50
  type ProfileCreateParams,
@@ -51,7 +56,9 @@ export {
51
56
  } from './profiles/profiles';
52
57
  export {
53
58
  Templates,
59
+ type APIResponseTemplate,
54
60
  type AuthenticationConfig,
61
+ type Template,
55
62
  type TemplateBody,
56
63
  type TemplateBodyContent,
57
64
  type TemplateButton,
@@ -60,9 +67,6 @@ export {
60
67
  type TemplateFooter,
61
68
  type TemplateHeader,
62
69
  type TemplateVariable,
63
- type TemplateCreateResponse,
64
- type TemplateRetrieveResponse,
65
- type TemplateUpdateResponse,
66
70
  type TemplateListResponse,
67
71
  type TemplateCreateParams,
68
72
  type TemplateRetrieveParams,
@@ -72,10 +76,9 @@ export {
72
76
  } from './templates';
73
77
  export {
74
78
  Users,
75
- type UserRetrieveResponse,
79
+ type APIResponseOfUser,
80
+ type UserResponse,
76
81
  type UserListResponse,
77
- type UserInviteResponse,
78
- type UserUpdateRoleResponse,
79
82
  type UserRetrieveParams,
80
83
  type UserListParams,
81
84
  type UserInviteParams,
@@ -84,21 +87,24 @@ export {
84
87
  } from './users';
85
88
  export {
86
89
  Webhooks,
90
+ type APIMeta,
91
+ type APIResponseWebhook,
92
+ type ErrorDetail,
87
93
  type InboundMessageEvent,
88
94
  type InboundMessageEventPayload,
89
95
  type MessageEvent,
90
96
  type MessageEventPayload,
97
+ type MutationRequest,
98
+ type PaginationMeta,
91
99
  type TemplateEvent,
92
100
  type TemplateEventPayload,
93
- type WebhookCreateResponse,
94
- type WebhookRetrieveResponse,
95
- type WebhookUpdateResponse,
101
+ type WebhookEventType,
102
+ type WebhookResponse,
96
103
  type WebhookListResponse,
97
104
  type WebhookListEventTypesResponse,
98
105
  type WebhookListEventsResponse,
99
106
  type WebhookRotateSecretResponse,
100
107
  type WebhookTestResponse,
101
- type WebhookToggleStatusResponse,
102
108
  type WebhookCreateParams,
103
109
  type WebhookRetrieveParams,
104
110
  type WebhookUpdateParams,