@sentdm/sentdm 0.7.1 → 0.14.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 +125 -0
- package/README.md +71 -34
- package/client.d.mts +49 -21
- package/client.d.mts.map +1 -1
- package/client.d.ts +49 -21
- package/client.d.ts.map +1 -1
- package/client.js +59 -38
- package/client.js.map +1 -1
- package/client.mjs +59 -38
- package/client.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +0 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +0 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +7 -1
- package/resources/contacts.d.mts +243 -49
- package/resources/contacts.d.mts.map +1 -1
- package/resources/contacts.d.ts +243 -49
- package/resources/contacts.d.ts.map +1 -1
- package/resources/contacts.js +112 -15
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +112 -15
- package/resources/contacts.mjs.map +1 -1
- package/resources/index.d.mts +8 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -1
- package/resources/index.mjs.map +1 -1
- package/resources/me.d.mts +269 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +269 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +40 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +36 -0
- package/resources/me.mjs.map +1 -0
- package/resources/messages.d.mts +239 -133
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +239 -133
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +42 -50
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +42 -50
- package/resources/messages.mjs.map +1 -1
- package/resources/numbers.d.mts +70 -0
- package/resources/numbers.d.mts.map +1 -0
- package/resources/numbers.d.ts +70 -0
- package/resources/numbers.d.ts.map +1 -0
- package/resources/numbers.js +36 -0
- package/resources/numbers.js.map +1 -0
- package/resources/numbers.mjs +32 -0
- package/resources/numbers.mjs.map +1 -0
- package/resources/profiles/campaigns.d.mts +339 -0
- package/resources/profiles/campaigns.d.mts.map +1 -0
- package/resources/profiles/campaigns.d.ts +339 -0
- package/resources/profiles/campaigns.d.ts.map +1 -0
- package/resources/profiles/campaigns.js +148 -0
- package/resources/profiles/campaigns.js.map +1 -0
- package/resources/profiles/campaigns.mjs +144 -0
- package/resources/profiles/campaigns.mjs.map +1 -0
- package/resources/profiles/index.d.mts +3 -0
- package/resources/profiles/index.d.mts.map +1 -0
- package/resources/profiles/index.d.ts +3 -0
- package/resources/profiles/index.d.ts.map +1 -0
- package/resources/profiles/index.js +9 -0
- package/resources/profiles/index.js.map +1 -0
- package/resources/profiles/index.mjs +4 -0
- package/resources/profiles/index.mjs.map +1 -0
- package/resources/profiles/profiles.d.mts +967 -0
- package/resources/profiles/profiles.d.mts.map +1 -0
- package/resources/profiles/profiles.d.ts +967 -0
- package/resources/profiles/profiles.d.ts.map +1 -0
- package/resources/profiles/profiles.js +227 -0
- package/resources/profiles/profiles.js.map +1 -0
- package/resources/profiles/profiles.mjs +222 -0
- package/resources/profiles/profiles.mjs.map +1 -0
- package/resources/profiles.d.mts +2 -0
- package/resources/profiles.d.mts.map +1 -0
- package/resources/profiles.d.ts +2 -0
- package/resources/profiles.d.ts.map +1 -0
- package/resources/profiles.js +6 -0
- package/resources/profiles.js.map +1 -0
- package/resources/profiles.mjs +3 -0
- package/resources/profiles.mjs.map +1 -0
- package/resources/templates.d.mts +327 -191
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +327 -191
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.js +80 -35
- package/resources/templates.js.map +1 -1
- package/resources/templates.mjs +80 -35
- package/resources/templates.mjs.map +1 -1
- package/resources/users.d.mts +251 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts +251 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js +124 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs +120 -0
- package/resources/users.mjs.map +1 -0
- package/resources/webhooks.d.mts +639 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +639 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +237 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +233 -0
- package/resources/webhooks.mjs.map +1 -0
- package/src/client.ts +235 -79
- package/src/internal/utils/log.ts +0 -1
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/contacts.ts +335 -57
- package/src/resources/index.ts +81 -12
- package/src/resources/me.ts +333 -0
- package/src/resources/messages.ts +306 -147
- package/src/resources/numbers.ts +102 -0
- package/src/resources/profiles/campaigns.ts +501 -0
- package/src/resources/profiles/index.ts +38 -0
- package/src/resources/profiles/profiles.ts +1302 -0
- package/src/resources/profiles.ts +3 -0
- package/src/resources/templates.ts +424 -202
- package/src/resources/users.ts +366 -0
- package/src/resources/webhooks.ts +923 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/number-lookup.d.mts +0 -59
- package/resources/number-lookup.d.mts.map +0 -1
- package/resources/number-lookup.d.ts +0 -59
- package/resources/number-lookup.d.ts.map +0 -1
- package/resources/number-lookup.js +0 -17
- package/resources/number-lookup.js.map +0 -1
- package/resources/number-lookup.mjs +0 -13
- package/resources/number-lookup.mjs.map +0 -1
- package/src/resources/number-lookup.ts +0 -80
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as WebhooksAPI from "./webhooks.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Configure webhook endpoints for real-time event delivery
|
|
7
|
+
*/
|
|
8
|
+
export declare class Webhooks extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new webhook endpoint for the authenticated customer.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const apiResponseWebhook = await client.webhooks.create();
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(params: WebhookCreateParams, options?: RequestOptions): APIPromise<APIResponseWebhook>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves a single webhook by ID for the authenticated customer.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const apiResponseWebhook = await client.webhooks.retrieve(
|
|
24
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
retrieve(id: string, params?: WebhookRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<APIResponseWebhook>;
|
|
29
|
+
/**
|
|
30
|
+
* Updates an existing webhook for the authenticated customer.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const apiResponseWebhook = await client.webhooks.update(
|
|
35
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
update(id: string, params: WebhookUpdateParams, options?: RequestOptions): APIPromise<APIResponseWebhook>;
|
|
40
|
+
/**
|
|
41
|
+
* Retrieves a paginated list of webhooks for the authenticated customer.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const webhooks = await client.webhooks.list({
|
|
46
|
+
* page: 0,
|
|
47
|
+
* page_size: 0,
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
list(params: WebhookListParams, options?: RequestOptions): APIPromise<WebhookListResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Deletes a webhook for the authenticated customer.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await client.webhooks.delete(
|
|
58
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
delete(id: string, params?: WebhookDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves all available webhook event types that can be subscribed to.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response = await client.webhooks.listEventTypes();
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
listEventTypes(params?: WebhookListEventTypesParams | null | undefined, options?: RequestOptions): APIPromise<WebhookListEventTypesResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* Retrieves a paginated list of delivery events for the specified webhook.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const response = await client.webhooks.listEvents(
|
|
78
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
79
|
+
* { page: 0, page_size: 0 },
|
|
80
|
+
* );
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
listEvents(id: string, params: WebhookListEventsParams, options?: RequestOptions): APIPromise<WebhookListEventsResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Generates a new signing secret for the specified webhook. The old secret is
|
|
86
|
+
* immediately invalidated.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```ts
|
|
90
|
+
* const response = await client.webhooks.rotateSecret(
|
|
91
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
92
|
+
* { body: {} },
|
|
93
|
+
* );
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
rotateSecret(id: string, params: WebhookRotateSecretParams, options?: RequestOptions): APIPromise<WebhookRotateSecretResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* Sends a test event to the specified webhook endpoint to verify connectivity.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```ts
|
|
102
|
+
* const response = await client.webhooks.test(
|
|
103
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
104
|
+
* );
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
test(id: string, params: WebhookTestParams, options?: RequestOptions): APIPromise<WebhookTestResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Activates or deactivates a webhook for the authenticated customer.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* const apiResponseWebhook =
|
|
114
|
+
* await client.webhooks.toggleStatus(
|
|
115
|
+
* 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
|
|
116
|
+
* );
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
toggleStatus(id: string, params: WebhookToggleStatusParams, options?: RequestOptions): APIPromise<APIResponseWebhook>;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Request and response metadata
|
|
123
|
+
*/
|
|
124
|
+
export interface APIMeta {
|
|
125
|
+
/**
|
|
126
|
+
* Unique identifier for this request (for tracing and support)
|
|
127
|
+
*/
|
|
128
|
+
request_id?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Server timestamp when the response was generated
|
|
131
|
+
*/
|
|
132
|
+
timestamp?: string;
|
|
133
|
+
/**
|
|
134
|
+
* API version used for this request
|
|
135
|
+
*/
|
|
136
|
+
version?: string;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Standard API response envelope for all v3 endpoints
|
|
140
|
+
*/
|
|
141
|
+
export interface APIResponseWebhook {
|
|
142
|
+
/**
|
|
143
|
+
* The response data (null if error)
|
|
144
|
+
*/
|
|
145
|
+
data?: WebhookResponse | null;
|
|
146
|
+
/**
|
|
147
|
+
* Error information
|
|
148
|
+
*/
|
|
149
|
+
error?: ErrorDetail | null;
|
|
150
|
+
/**
|
|
151
|
+
* Request and response metadata
|
|
152
|
+
*/
|
|
153
|
+
meta?: APIMeta;
|
|
154
|
+
/**
|
|
155
|
+
* Indicates whether the request was successful
|
|
156
|
+
*/
|
|
157
|
+
success?: boolean;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Error information
|
|
161
|
+
*/
|
|
162
|
+
export interface ErrorDetail {
|
|
163
|
+
/**
|
|
164
|
+
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
165
|
+
*/
|
|
166
|
+
code?: string;
|
|
167
|
+
/**
|
|
168
|
+
* Additional validation error details (field-level errors)
|
|
169
|
+
*/
|
|
170
|
+
details?: {
|
|
171
|
+
[key: string]: Array<string>;
|
|
172
|
+
} | null;
|
|
173
|
+
/**
|
|
174
|
+
* URL to documentation about this error
|
|
175
|
+
*/
|
|
176
|
+
doc_url?: string | null;
|
|
177
|
+
/**
|
|
178
|
+
* Human-readable error message
|
|
179
|
+
*/
|
|
180
|
+
message?: string;
|
|
181
|
+
}
|
|
182
|
+
export interface MutationRequest {
|
|
183
|
+
/**
|
|
184
|
+
* Sandbox flag - when true, the operation is simulated without side effects Useful
|
|
185
|
+
* for testing integrations without actual execution
|
|
186
|
+
*/
|
|
187
|
+
sandbox?: boolean;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Pagination metadata for list responses
|
|
191
|
+
*/
|
|
192
|
+
export interface PaginationMeta {
|
|
193
|
+
/**
|
|
194
|
+
* Cursor-based pagination pointers
|
|
195
|
+
*/
|
|
196
|
+
cursors?: PaginationMeta.Cursors | null;
|
|
197
|
+
/**
|
|
198
|
+
* Whether there are more pages after this one
|
|
199
|
+
*/
|
|
200
|
+
has_more?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Current page number (1-indexed)
|
|
203
|
+
*/
|
|
204
|
+
page?: number;
|
|
205
|
+
/**
|
|
206
|
+
* Number of items per page
|
|
207
|
+
*/
|
|
208
|
+
page_size?: number;
|
|
209
|
+
/**
|
|
210
|
+
* Total number of items across all pages
|
|
211
|
+
*/
|
|
212
|
+
total_count?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Total number of pages
|
|
215
|
+
*/
|
|
216
|
+
total_pages?: number;
|
|
217
|
+
}
|
|
218
|
+
export declare namespace PaginationMeta {
|
|
219
|
+
/**
|
|
220
|
+
* Cursor-based pagination pointers
|
|
221
|
+
*/
|
|
222
|
+
interface Cursors {
|
|
223
|
+
/**
|
|
224
|
+
* Cursor to fetch the next page
|
|
225
|
+
*/
|
|
226
|
+
after?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* Cursor to fetch the previous page
|
|
229
|
+
*/
|
|
230
|
+
before?: string | null;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
export interface WebhookResponse {
|
|
234
|
+
id?: string;
|
|
235
|
+
consecutive_failures?: number;
|
|
236
|
+
created_at?: string;
|
|
237
|
+
display_name?: string;
|
|
238
|
+
endpoint_url?: string;
|
|
239
|
+
event_types?: Array<string>;
|
|
240
|
+
is_active?: boolean;
|
|
241
|
+
last_delivery_attempt_at?: string | null;
|
|
242
|
+
last_successful_delivery_at?: string | null;
|
|
243
|
+
retry_count?: number;
|
|
244
|
+
signing_secret?: string | null;
|
|
245
|
+
timeout_seconds?: number;
|
|
246
|
+
updated_at?: string | null;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Standard API response envelope for all v3 endpoints
|
|
250
|
+
*/
|
|
251
|
+
export interface WebhookListResponse {
|
|
252
|
+
/**
|
|
253
|
+
* The response data (null if error)
|
|
254
|
+
*/
|
|
255
|
+
data?: WebhookListResponse.Data | null;
|
|
256
|
+
/**
|
|
257
|
+
* Error information
|
|
258
|
+
*/
|
|
259
|
+
error?: ErrorDetail | null;
|
|
260
|
+
/**
|
|
261
|
+
* Request and response metadata
|
|
262
|
+
*/
|
|
263
|
+
meta?: APIMeta;
|
|
264
|
+
/**
|
|
265
|
+
* Indicates whether the request was successful
|
|
266
|
+
*/
|
|
267
|
+
success?: boolean;
|
|
268
|
+
}
|
|
269
|
+
export declare namespace WebhookListResponse {
|
|
270
|
+
/**
|
|
271
|
+
* The response data (null if error)
|
|
272
|
+
*/
|
|
273
|
+
interface Data {
|
|
274
|
+
/**
|
|
275
|
+
* Pagination metadata for list responses
|
|
276
|
+
*/
|
|
277
|
+
pagination?: WebhooksAPI.PaginationMeta;
|
|
278
|
+
webhooks?: Array<WebhooksAPI.WebhookResponse>;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Standard API response envelope for all v3 endpoints
|
|
283
|
+
*/
|
|
284
|
+
export interface WebhookListEventTypesResponse {
|
|
285
|
+
/**
|
|
286
|
+
* The response data (null if error)
|
|
287
|
+
*/
|
|
288
|
+
data?: WebhookListEventTypesResponse.Data | null;
|
|
289
|
+
/**
|
|
290
|
+
* Error information
|
|
291
|
+
*/
|
|
292
|
+
error?: ErrorDetail | null;
|
|
293
|
+
/**
|
|
294
|
+
* Request and response metadata
|
|
295
|
+
*/
|
|
296
|
+
meta?: APIMeta;
|
|
297
|
+
/**
|
|
298
|
+
* Indicates whether the request was successful
|
|
299
|
+
*/
|
|
300
|
+
success?: boolean;
|
|
301
|
+
}
|
|
302
|
+
export declare namespace WebhookListEventTypesResponse {
|
|
303
|
+
/**
|
|
304
|
+
* The response data (null if error)
|
|
305
|
+
*/
|
|
306
|
+
interface Data {
|
|
307
|
+
event_types?: Array<Data.EventType>;
|
|
308
|
+
}
|
|
309
|
+
namespace Data {
|
|
310
|
+
interface EventType {
|
|
311
|
+
description?: string | null;
|
|
312
|
+
display_name?: string;
|
|
313
|
+
is_active?: boolean;
|
|
314
|
+
name?: string;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Standard API response envelope for all v3 endpoints
|
|
320
|
+
*/
|
|
321
|
+
export interface WebhookListEventsResponse {
|
|
322
|
+
/**
|
|
323
|
+
* The response data (null if error)
|
|
324
|
+
*/
|
|
325
|
+
data?: WebhookListEventsResponse.Data | null;
|
|
326
|
+
/**
|
|
327
|
+
* Error information
|
|
328
|
+
*/
|
|
329
|
+
error?: ErrorDetail | null;
|
|
330
|
+
/**
|
|
331
|
+
* Request and response metadata
|
|
332
|
+
*/
|
|
333
|
+
meta?: APIMeta;
|
|
334
|
+
/**
|
|
335
|
+
* Indicates whether the request was successful
|
|
336
|
+
*/
|
|
337
|
+
success?: boolean;
|
|
338
|
+
}
|
|
339
|
+
export declare namespace WebhookListEventsResponse {
|
|
340
|
+
/**
|
|
341
|
+
* The response data (null if error)
|
|
342
|
+
*/
|
|
343
|
+
interface Data {
|
|
344
|
+
events?: Array<Data.Event>;
|
|
345
|
+
/**
|
|
346
|
+
* Pagination metadata for list responses
|
|
347
|
+
*/
|
|
348
|
+
pagination?: WebhooksAPI.PaginationMeta;
|
|
349
|
+
}
|
|
350
|
+
namespace Data {
|
|
351
|
+
interface Event {
|
|
352
|
+
id?: string;
|
|
353
|
+
created_at?: string;
|
|
354
|
+
delivery_attempts?: number;
|
|
355
|
+
delivery_status?: string;
|
|
356
|
+
error_message?: string | null;
|
|
357
|
+
event_data?: unknown;
|
|
358
|
+
event_type?: string;
|
|
359
|
+
http_status_code?: number | null;
|
|
360
|
+
processing_completed_at?: string | null;
|
|
361
|
+
processing_started_at?: string | null;
|
|
362
|
+
response_body?: string | null;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Standard API response envelope for all v3 endpoints
|
|
368
|
+
*/
|
|
369
|
+
export interface WebhookRotateSecretResponse {
|
|
370
|
+
/**
|
|
371
|
+
* The response data (null if error)
|
|
372
|
+
*/
|
|
373
|
+
data?: WebhookRotateSecretResponse.Data | null;
|
|
374
|
+
/**
|
|
375
|
+
* Error information
|
|
376
|
+
*/
|
|
377
|
+
error?: ErrorDetail | null;
|
|
378
|
+
/**
|
|
379
|
+
* Request and response metadata
|
|
380
|
+
*/
|
|
381
|
+
meta?: APIMeta;
|
|
382
|
+
/**
|
|
383
|
+
* Indicates whether the request was successful
|
|
384
|
+
*/
|
|
385
|
+
success?: boolean;
|
|
386
|
+
}
|
|
387
|
+
export declare namespace WebhookRotateSecretResponse {
|
|
388
|
+
/**
|
|
389
|
+
* The response data (null if error)
|
|
390
|
+
*/
|
|
391
|
+
interface Data {
|
|
392
|
+
signing_secret?: string;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Standard API response envelope for all v3 endpoints
|
|
397
|
+
*/
|
|
398
|
+
export interface WebhookTestResponse {
|
|
399
|
+
/**
|
|
400
|
+
* The response data (null if error)
|
|
401
|
+
*/
|
|
402
|
+
data?: WebhookTestResponse.Data | null;
|
|
403
|
+
/**
|
|
404
|
+
* Error information
|
|
405
|
+
*/
|
|
406
|
+
error?: ErrorDetail | null;
|
|
407
|
+
/**
|
|
408
|
+
* Request and response metadata
|
|
409
|
+
*/
|
|
410
|
+
meta?: APIMeta;
|
|
411
|
+
/**
|
|
412
|
+
* Indicates whether the request was successful
|
|
413
|
+
*/
|
|
414
|
+
success?: boolean;
|
|
415
|
+
}
|
|
416
|
+
export declare namespace WebhookTestResponse {
|
|
417
|
+
/**
|
|
418
|
+
* The response data (null if error)
|
|
419
|
+
*/
|
|
420
|
+
interface Data {
|
|
421
|
+
message?: string;
|
|
422
|
+
success?: boolean;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
export interface WebhookCreateParams {
|
|
426
|
+
/**
|
|
427
|
+
* Body param
|
|
428
|
+
*/
|
|
429
|
+
display_name?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Body param
|
|
432
|
+
*/
|
|
433
|
+
endpoint_url?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Body param
|
|
436
|
+
*/
|
|
437
|
+
event_types?: Array<string>;
|
|
438
|
+
/**
|
|
439
|
+
* Body param
|
|
440
|
+
*/
|
|
441
|
+
retry_count?: number;
|
|
442
|
+
/**
|
|
443
|
+
* Body param: Sandbox flag - when true, the operation is simulated without side
|
|
444
|
+
* effects Useful for testing integrations without actual execution
|
|
445
|
+
*/
|
|
446
|
+
sandbox?: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Body param
|
|
449
|
+
*/
|
|
450
|
+
timeout_seconds?: number;
|
|
451
|
+
/**
|
|
452
|
+
* Header param: Unique key to ensure idempotent request processing. Must be 1-255
|
|
453
|
+
* alphanumeric characters, hyphens, or underscores. Responses are cached for 24
|
|
454
|
+
* hours per key per customer.
|
|
455
|
+
*/
|
|
456
|
+
'Idempotency-Key'?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
459
|
+
* organization API keys can use this header. The profile must belong to the
|
|
460
|
+
* calling organization.
|
|
461
|
+
*/
|
|
462
|
+
'x-profile-id'?: string;
|
|
463
|
+
}
|
|
464
|
+
export interface WebhookRetrieveParams {
|
|
465
|
+
/**
|
|
466
|
+
* Profile UUID to scope the request to a child profile. Only organization API keys
|
|
467
|
+
* can use this header. The profile must belong to the calling organization.
|
|
468
|
+
*/
|
|
469
|
+
'x-profile-id'?: string;
|
|
470
|
+
}
|
|
471
|
+
export interface WebhookUpdateParams {
|
|
472
|
+
/**
|
|
473
|
+
* Body param
|
|
474
|
+
*/
|
|
475
|
+
display_name?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Body param
|
|
478
|
+
*/
|
|
479
|
+
endpoint_url?: string;
|
|
480
|
+
/**
|
|
481
|
+
* Body param
|
|
482
|
+
*/
|
|
483
|
+
event_types?: Array<string>;
|
|
484
|
+
/**
|
|
485
|
+
* Body param
|
|
486
|
+
*/
|
|
487
|
+
retry_count?: number;
|
|
488
|
+
/**
|
|
489
|
+
* Body param: Sandbox flag - when true, the operation is simulated without side
|
|
490
|
+
* effects Useful for testing integrations without actual execution
|
|
491
|
+
*/
|
|
492
|
+
sandbox?: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* Body param
|
|
495
|
+
*/
|
|
496
|
+
timeout_seconds?: number;
|
|
497
|
+
/**
|
|
498
|
+
* Header param: Unique key to ensure idempotent request processing. Must be 1-255
|
|
499
|
+
* alphanumeric characters, hyphens, or underscores. Responses are cached for 24
|
|
500
|
+
* hours per key per customer.
|
|
501
|
+
*/
|
|
502
|
+
'Idempotency-Key'?: string;
|
|
503
|
+
/**
|
|
504
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
505
|
+
* organization API keys can use this header. The profile must belong to the
|
|
506
|
+
* calling organization.
|
|
507
|
+
*/
|
|
508
|
+
'x-profile-id'?: string;
|
|
509
|
+
}
|
|
510
|
+
export interface WebhookListParams {
|
|
511
|
+
/**
|
|
512
|
+
* Query param
|
|
513
|
+
*/
|
|
514
|
+
page: number;
|
|
515
|
+
/**
|
|
516
|
+
* Query param
|
|
517
|
+
*/
|
|
518
|
+
page_size: number;
|
|
519
|
+
/**
|
|
520
|
+
* Query param
|
|
521
|
+
*/
|
|
522
|
+
is_active?: boolean | null;
|
|
523
|
+
/**
|
|
524
|
+
* Query param
|
|
525
|
+
*/
|
|
526
|
+
search?: string | null;
|
|
527
|
+
/**
|
|
528
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
529
|
+
* organization API keys can use this header. The profile must belong to the
|
|
530
|
+
* calling organization.
|
|
531
|
+
*/
|
|
532
|
+
'x-profile-id'?: string;
|
|
533
|
+
}
|
|
534
|
+
export interface WebhookDeleteParams {
|
|
535
|
+
/**
|
|
536
|
+
* Profile UUID to scope the request to a child profile. Only organization API keys
|
|
537
|
+
* can use this header. The profile must belong to the calling organization.
|
|
538
|
+
*/
|
|
539
|
+
'x-profile-id'?: string;
|
|
540
|
+
}
|
|
541
|
+
export interface WebhookListEventTypesParams {
|
|
542
|
+
/**
|
|
543
|
+
* Profile UUID to scope the request to a child profile. Only organization API keys
|
|
544
|
+
* can use this header. The profile must belong to the calling organization.
|
|
545
|
+
*/
|
|
546
|
+
'x-profile-id'?: string;
|
|
547
|
+
}
|
|
548
|
+
export interface WebhookListEventsParams {
|
|
549
|
+
/**
|
|
550
|
+
* Query param
|
|
551
|
+
*/
|
|
552
|
+
page: number;
|
|
553
|
+
/**
|
|
554
|
+
* Query param
|
|
555
|
+
*/
|
|
556
|
+
page_size: number;
|
|
557
|
+
/**
|
|
558
|
+
* Query param
|
|
559
|
+
*/
|
|
560
|
+
search?: string | null;
|
|
561
|
+
/**
|
|
562
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
563
|
+
* organization API keys can use this header. The profile must belong to the
|
|
564
|
+
* calling organization.
|
|
565
|
+
*/
|
|
566
|
+
'x-profile-id'?: string;
|
|
567
|
+
}
|
|
568
|
+
export interface WebhookRotateSecretParams {
|
|
569
|
+
/**
|
|
570
|
+
* Body param
|
|
571
|
+
*/
|
|
572
|
+
body: WebhookRotateSecretParams.Body;
|
|
573
|
+
/**
|
|
574
|
+
* Header param: Unique key to ensure idempotent request processing. Must be 1-255
|
|
575
|
+
* alphanumeric characters, hyphens, or underscores. Responses are cached for 24
|
|
576
|
+
* hours per key per customer.
|
|
577
|
+
*/
|
|
578
|
+
'Idempotency-Key'?: string;
|
|
579
|
+
/**
|
|
580
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
581
|
+
* organization API keys can use this header. The profile must belong to the
|
|
582
|
+
* calling organization.
|
|
583
|
+
*/
|
|
584
|
+
'x-profile-id'?: string;
|
|
585
|
+
}
|
|
586
|
+
export declare namespace WebhookRotateSecretParams {
|
|
587
|
+
interface Body extends WebhooksAPI.MutationRequest {
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
export interface WebhookTestParams {
|
|
591
|
+
/**
|
|
592
|
+
* Body param
|
|
593
|
+
*/
|
|
594
|
+
event_type?: string;
|
|
595
|
+
/**
|
|
596
|
+
* Body param: Sandbox flag - when true, the operation is simulated without side
|
|
597
|
+
* effects Useful for testing integrations without actual execution
|
|
598
|
+
*/
|
|
599
|
+
sandbox?: boolean;
|
|
600
|
+
/**
|
|
601
|
+
* Header param: Unique key to ensure idempotent request processing. Must be 1-255
|
|
602
|
+
* alphanumeric characters, hyphens, or underscores. Responses are cached for 24
|
|
603
|
+
* hours per key per customer.
|
|
604
|
+
*/
|
|
605
|
+
'Idempotency-Key'?: string;
|
|
606
|
+
/**
|
|
607
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
608
|
+
* organization API keys can use this header. The profile must belong to the
|
|
609
|
+
* calling organization.
|
|
610
|
+
*/
|
|
611
|
+
'x-profile-id'?: string;
|
|
612
|
+
}
|
|
613
|
+
export interface WebhookToggleStatusParams {
|
|
614
|
+
/**
|
|
615
|
+
* Body param
|
|
616
|
+
*/
|
|
617
|
+
is_active?: boolean;
|
|
618
|
+
/**
|
|
619
|
+
* Body param: Sandbox flag - when true, the operation is simulated without side
|
|
620
|
+
* effects Useful for testing integrations without actual execution
|
|
621
|
+
*/
|
|
622
|
+
sandbox?: boolean;
|
|
623
|
+
/**
|
|
624
|
+
* Header param: Unique key to ensure idempotent request processing. Must be 1-255
|
|
625
|
+
* alphanumeric characters, hyphens, or underscores. Responses are cached for 24
|
|
626
|
+
* hours per key per customer.
|
|
627
|
+
*/
|
|
628
|
+
'Idempotency-Key'?: string;
|
|
629
|
+
/**
|
|
630
|
+
* Header param: Profile UUID to scope the request to a child profile. Only
|
|
631
|
+
* organization API keys can use this header. The profile must belong to the
|
|
632
|
+
* calling organization.
|
|
633
|
+
*/
|
|
634
|
+
'x-profile-id'?: string;
|
|
635
|
+
}
|
|
636
|
+
export declare namespace Webhooks {
|
|
637
|
+
export { type APIMeta as APIMeta, type APIResponseWebhook as APIResponseWebhook, type ErrorDetail as ErrorDetail, type MutationRequest as MutationRequest, type PaginationMeta as PaginationMeta, type WebhookResponse as WebhookResponse, type WebhookListResponse as WebhookListResponse, type WebhookListEventTypesResponse as WebhookListEventTypesResponse, type WebhookListEventsResponse as WebhookListEventsResponse, type WebhookRotateSecretResponse as WebhookRotateSecretResponse, type WebhookTestResponse as WebhookTestResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookRetrieveParams as WebhookRetrieveParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookListParams as WebhookListParams, type WebhookDeleteParams as WebhookDeleteParams, type WebhookListEventTypesParams as WebhookListEventTypesParams, type WebhookListEventsParams as WebhookListEventsParams, type WebhookRotateSecretParams as WebhookRotateSecretParams, type WebhookTestParams as WebhookTestParams, type WebhookToggleStatusParams as WebhookToggleStatusParams, };
|
|
638
|
+
}
|
|
639
|
+
//# sourceMappingURL=webhooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,m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