@formbricks/hub 0.3.0 → 0.4.1

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 (95) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/client.d.mts +15 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +15 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +28 -18
  7. package/client.js.map +1 -1
  8. package/client.mjs +28 -18
  9. package/client.mjs.map +1 -1
  10. package/internal/tslib.js +17 -17
  11. package/internal/utils/query.d.mts +5 -0
  12. package/internal/utils/query.d.mts.map +1 -0
  13. package/internal/utils/query.d.ts +5 -0
  14. package/internal/utils/query.d.ts.map +1 -0
  15. package/internal/utils/query.js +23 -0
  16. package/internal/utils/query.js.map +1 -0
  17. package/internal/utils/query.mjs +20 -0
  18. package/internal/utils/query.mjs.map +1 -0
  19. package/internal/utils.d.mts +1 -0
  20. package/internal/utils.d.ts +1 -0
  21. package/internal/utils.js +1 -0
  22. package/internal/utils.js.map +1 -1
  23. package/internal/utils.mjs +1 -0
  24. package/package.json +7 -1
  25. package/resources/feedback-records/feedback-records.d.mts +473 -0
  26. package/resources/feedback-records/feedback-records.d.mts.map +1 -0
  27. package/resources/feedback-records/feedback-records.d.ts +473 -0
  28. package/resources/feedback-records/feedback-records.d.ts.map +1 -0
  29. package/resources/feedback-records/feedback-records.js +139 -0
  30. package/resources/feedback-records/feedback-records.js.map +1 -0
  31. package/resources/feedback-records/feedback-records.mjs +134 -0
  32. package/resources/feedback-records/feedback-records.mjs.map +1 -0
  33. package/resources/feedback-records/index.d.mts +3 -0
  34. package/resources/feedback-records/index.d.mts.map +1 -0
  35. package/resources/feedback-records/index.d.ts +3 -0
  36. package/resources/feedback-records/index.d.ts.map +1 -0
  37. package/resources/feedback-records/index.js +9 -0
  38. package/resources/feedback-records/index.js.map +1 -0
  39. package/resources/feedback-records/index.mjs +4 -0
  40. package/resources/feedback-records/index.mjs.map +1 -0
  41. package/resources/feedback-records/search.d.mts +98 -0
  42. package/resources/feedback-records/search.d.mts.map +1 -0
  43. package/resources/feedback-records/search.d.ts +98 -0
  44. package/resources/feedback-records/search.d.ts.map +1 -0
  45. package/resources/feedback-records/search.js +38 -0
  46. package/resources/feedback-records/search.js.map +1 -0
  47. package/resources/feedback-records/search.mjs +34 -0
  48. package/resources/feedback-records/search.mjs.map +1 -0
  49. package/resources/feedback-records.d.mts +1 -369
  50. package/resources/feedback-records.d.mts.map +1 -1
  51. package/resources/feedback-records.d.ts +1 -369
  52. package/resources/feedback-records.d.ts.map +1 -1
  53. package/resources/feedback-records.js +2 -102
  54. package/resources/feedback-records.js.map +1 -1
  55. package/resources/feedback-records.mjs +1 -100
  56. package/resources/feedback-records.mjs.map +1 -1
  57. package/resources/health.d.mts +3 -0
  58. package/resources/health.d.mts.map +1 -1
  59. package/resources/health.d.ts +3 -0
  60. package/resources/health.d.ts.map +1 -1
  61. package/resources/health.js +3 -0
  62. package/resources/health.js.map +1 -1
  63. package/resources/health.mjs +3 -0
  64. package/resources/health.mjs.map +1 -1
  65. package/resources/index.d.mts +2 -1
  66. package/resources/index.d.mts.map +1 -1
  67. package/resources/index.d.ts +2 -1
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js +4 -2
  70. package/resources/index.js.map +1 -1
  71. package/resources/index.mjs +2 -1
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/webhooks.d.mts +338 -0
  74. package/resources/webhooks.d.mts.map +1 -0
  75. package/resources/webhooks.d.ts +338 -0
  76. package/resources/webhooks.d.ts.map +1 -0
  77. package/resources/webhooks.js +91 -0
  78. package/resources/webhooks.js.map +1 -0
  79. package/resources/webhooks.mjs +87 -0
  80. package/resources/webhooks.mjs.map +1 -0
  81. package/src/client.ts +56 -23
  82. package/src/internal/utils/query.ts +23 -0
  83. package/src/internal/utils.ts +1 -0
  84. package/src/resources/feedback-records/feedback-records.ts +601 -0
  85. package/src/resources/feedback-records/index.ts +19 -0
  86. package/src/resources/feedback-records/search.ts +126 -0
  87. package/src/resources/feedback-records.ts +1 -469
  88. package/src/resources/health.ts +3 -0
  89. package/src/resources/index.ts +13 -1
  90. package/src/resources/webhooks.ts +469 -0
  91. package/src/version.ts +1 -1
  92. package/version.d.mts +1 -1
  93. package/version.d.ts +1 -1
  94. package/version.js +1 -1
  95. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,GACpC;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,GACzC;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB"}
@@ -1,3 +1,4 @@
1
- export { FeedbackRecords, type FeedbackRecordData, type FeedbackRecordListResponse, type FeedbackRecordBulkDeleteResponse, type FeedbackRecordCreateParams, type FeedbackRecordUpdateParams, type FeedbackRecordListParams, type FeedbackRecordBulkDeleteParams, } from "./feedback-records.js";
1
+ export { FeedbackRecords, type FeedbackRecordData, type FeedbackRecordListResponse, type FeedbackRecordBulkDeleteResponse, type FeedbackRecordRetrieveSimilarResponse, type FeedbackRecordCreateParams, type FeedbackRecordUpdateParams, type FeedbackRecordListParams, type FeedbackRecordBulkDeleteParams, type FeedbackRecordRetrieveSimilarParams, } from "./feedback-records/feedback-records.js";
2
2
  export { Health, type HealthCheckResponse } from "./health.js";
3
+ export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,GACpC;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,GACzC;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB"}
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Health = exports.FeedbackRecords = void 0;
5
- var feedback_records_1 = require("./feedback-records.js");
4
+ exports.Webhooks = exports.Health = exports.FeedbackRecords = void 0;
5
+ var feedback_records_1 = require("./feedback-records/feedback-records.js");
6
6
  Object.defineProperty(exports, "FeedbackRecords", { enumerable: true, get: function () { return feedback_records_1.FeedbackRecords; } });
7
7
  var health_1 = require("./health.js");
8
8
  Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
9
+ var webhooks_1 = require("./webhooks.js");
10
+ Object.defineProperty(exports, "Webhooks", { enumerable: true, get: function () { return webhooks_1.Webhooks; } });
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAS4B;AAR1B,mHAAA,eAAe,OAAA;AASjB,sCAA4D;AAAnD,gGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2EAW6C;AAV3C,mHAAA,eAAe,OAAA;AAWjB,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,0CASoB;AARlB,oGAAA,QAAQ,OAAA"}
@@ -1,4 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { FeedbackRecords, } from "./feedback-records.mjs";
2
+ export { FeedbackRecords, } from "./feedback-records/feedback-records.mjs";
3
3
  export { Health } from "./health.mjs";
4
+ export { Webhooks, } from "./webhooks.mjs";
4
5
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,eAAe,GAQhB;OACM,EAAE,MAAM,EAA4B"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,eAAe,GAUhB;OACM,EAAE,MAAM,EAA4B;OACpC,EACL,QAAQ,GAQT"}
@@ -0,0 +1,338 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Webhook subscription management
6
+ */
7
+ export declare class Webhooks extends APIResource {
8
+ /**
9
+ * Creates a new webhook endpoint. When events occur (e.g.
10
+ * feedback*record.created), the Hub POSTs a signed payload to the webhook URL. If
11
+ * signing_key is omitted, a key is auto-generated (Standard Webhooks format,
12
+ * whsec*...). See WebhookDeliveryPayload for the payload structure sent to your
13
+ * URL.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const webhook = await client.webhooks.create({
18
+ * url: 'https://example.com/hub-events',
19
+ * enabled: true,
20
+ * event_types: [
21
+ * 'feedback_record.created',
22
+ * 'feedback_record.updated',
23
+ * 'feedback_record.deleted',
24
+ * ],
25
+ * });
26
+ * ```
27
+ */
28
+ create(body: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse>;
29
+ /**
30
+ * Retrieves a single webhook endpoint by its UUID. signing_key is omitted for
31
+ * security.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const webhook = await client.webhooks.retrieve(
36
+ * '018e1234-5678-9abc-def0-123456789abc',
37
+ * );
38
+ * ```
39
+ */
40
+ retrieve(id: string, options?: RequestOptions): APIPromise<WebhookRetrieveResponse>;
41
+ /**
42
+ * Updates specific fields of a webhook endpoint
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * const webhook = await client.webhooks.update(
47
+ * '018e1234-5678-9abc-def0-123456789abc',
48
+ * );
49
+ * ```
50
+ */
51
+ update(id: string, body: WebhookUpdateParams, options?: RequestOptions): APIPromise<WebhookUpdateResponse>;
52
+ /**
53
+ * Lists webhook endpoints with optional filters and pagination
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const webhooks = await client.webhooks.list();
58
+ * ```
59
+ */
60
+ list(query?: WebhookListParams | null | undefined, options?: RequestOptions): APIPromise<WebhookListResponse>;
61
+ /**
62
+ * Permanently deletes a webhook endpoint. It will no longer receive events.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * await client.webhooks.delete(
67
+ * '018e1234-5678-9abc-def0-123456789abc',
68
+ * );
69
+ * ```
70
+ */
71
+ delete(id: string, options?: RequestOptions): APIPromise<void>;
72
+ }
73
+ export interface WebhookCreateResponse {
74
+ /**
75
+ * Webhook ID (UUID)
76
+ */
77
+ id: string;
78
+ /**
79
+ * When the webhook was created
80
+ */
81
+ created_at: string;
82
+ /**
83
+ * Whether the webhook is active
84
+ */
85
+ enabled: boolean;
86
+ /**
87
+ * Key used to sign payloads (Standard Webhooks)
88
+ */
89
+ signing_key: string;
90
+ /**
91
+ * When the webhook was last updated
92
+ */
93
+ updated_at: string;
94
+ /**
95
+ * URL that receives webhook POSTs
96
+ */
97
+ url: string;
98
+ /**
99
+ * Read-only. When the webhook was disabled. Omitted when null. Cleared when the
100
+ * webhook is re-enabled via PATCH.
101
+ */
102
+ disabled_at?: string | null;
103
+ /**
104
+ * Read-only. Set by the system when the webhook was disabled (e.g. after 410 Gone
105
+ * or max delivery failures). Omitted when null.
106
+ */
107
+ disabled_reason?: string | null;
108
+ /**
109
+ * Event types this webhook subscribes to (empty = all)
110
+ */
111
+ event_types?: Array<'feedback_record.created' | 'feedback_record.updated' | 'feedback_record.deleted' | 'webhook.created' | 'webhook.updated' | 'webhook.deleted'>;
112
+ /**
113
+ * Tenant/organization identifier
114
+ */
115
+ tenant_id?: string;
116
+ }
117
+ /**
118
+ * Webhook data for GET and LIST responses; signing_key is omitted for security
119
+ */
120
+ export interface WebhookRetrieveResponse {
121
+ /**
122
+ * Webhook ID (UUID)
123
+ */
124
+ id: string;
125
+ /**
126
+ * When the webhook was created
127
+ */
128
+ created_at: string;
129
+ /**
130
+ * Whether the webhook is active
131
+ */
132
+ enabled: boolean;
133
+ /**
134
+ * When the webhook was last updated
135
+ */
136
+ updated_at: string;
137
+ /**
138
+ * URL that receives webhook POSTs
139
+ */
140
+ url: string;
141
+ /**
142
+ * Read-only. When the webhook was disabled. Omitted when null.
143
+ */
144
+ disabled_at?: string | null;
145
+ /**
146
+ * Read-only. Set by the system when the webhook was disabled. Omitted when null.
147
+ */
148
+ disabled_reason?: string | null;
149
+ /**
150
+ * Event types this webhook subscribes to (empty = all)
151
+ */
152
+ event_types?: Array<'feedback_record.created' | 'feedback_record.updated' | 'feedback_record.deleted' | 'webhook.created' | 'webhook.updated' | 'webhook.deleted'>;
153
+ /**
154
+ * Tenant/organization identifier
155
+ */
156
+ tenant_id?: string;
157
+ }
158
+ /**
159
+ * Webhook data for GET and LIST responses; signing_key is omitted for security
160
+ */
161
+ export interface WebhookUpdateResponse {
162
+ /**
163
+ * Webhook ID (UUID)
164
+ */
165
+ id: string;
166
+ /**
167
+ * When the webhook was created
168
+ */
169
+ created_at: string;
170
+ /**
171
+ * Whether the webhook is active
172
+ */
173
+ enabled: boolean;
174
+ /**
175
+ * When the webhook was last updated
176
+ */
177
+ updated_at: string;
178
+ /**
179
+ * URL that receives webhook POSTs
180
+ */
181
+ url: string;
182
+ /**
183
+ * Read-only. When the webhook was disabled. Omitted when null.
184
+ */
185
+ disabled_at?: string | null;
186
+ /**
187
+ * Read-only. Set by the system when the webhook was disabled. Omitted when null.
188
+ */
189
+ disabled_reason?: string | null;
190
+ /**
191
+ * Event types this webhook subscribes to (empty = all)
192
+ */
193
+ event_types?: Array<'feedback_record.created' | 'feedback_record.updated' | 'feedback_record.deleted' | 'webhook.created' | 'webhook.updated' | 'webhook.deleted'>;
194
+ /**
195
+ * Tenant/organization identifier
196
+ */
197
+ tenant_id?: string;
198
+ }
199
+ export interface WebhookListResponse {
200
+ /**
201
+ * List of webhooks (signing_key omitted for security)
202
+ */
203
+ data: Array<WebhookListResponse.Data>;
204
+ /**
205
+ * Limit used in query
206
+ */
207
+ limit: number;
208
+ /**
209
+ * Opaque cursor for the next page (keyset paging). Present only when there may be
210
+ * more results. Use as the cursor query param for the next page.
211
+ */
212
+ next_cursor?: string;
213
+ /**
214
+ * Offset used in query (present when offset-based; omitted when using cursor)
215
+ */
216
+ offset?: number;
217
+ /**
218
+ * Total count matching filters (present when offset-based; omitted when using
219
+ * cursor)
220
+ */
221
+ total?: number;
222
+ }
223
+ export declare namespace WebhookListResponse {
224
+ /**
225
+ * Webhook data for GET and LIST responses; signing_key is omitted for security
226
+ */
227
+ interface Data {
228
+ /**
229
+ * Webhook ID (UUID)
230
+ */
231
+ id: string;
232
+ /**
233
+ * When the webhook was created
234
+ */
235
+ created_at: string;
236
+ /**
237
+ * Whether the webhook is active
238
+ */
239
+ enabled: boolean;
240
+ /**
241
+ * When the webhook was last updated
242
+ */
243
+ updated_at: string;
244
+ /**
245
+ * URL that receives webhook POSTs
246
+ */
247
+ url: string;
248
+ /**
249
+ * Read-only. When the webhook was disabled. Omitted when null.
250
+ */
251
+ disabled_at?: string | null;
252
+ /**
253
+ * Read-only. Set by the system when the webhook was disabled. Omitted when null.
254
+ */
255
+ disabled_reason?: string | null;
256
+ /**
257
+ * Event types this webhook subscribes to (empty = all)
258
+ */
259
+ event_types?: Array<'feedback_record.created' | 'feedback_record.updated' | 'feedback_record.deleted' | 'webhook.created' | 'webhook.updated' | 'webhook.deleted'>;
260
+ /**
261
+ * Tenant/organization identifier
262
+ */
263
+ tenant_id?: string;
264
+ }
265
+ }
266
+ export interface WebhookCreateParams {
267
+ /**
268
+ * URL to receive webhook POSTs. Must be an HTTP or HTTPS URL. NULL bytes not
269
+ * allowed.
270
+ */
271
+ url: string;
272
+ /**
273
+ * Whether the webhook is active (default true)
274
+ */
275
+ enabled?: boolean;
276
+ /**
277
+ * Event types this webhook subscribes to. Each value must be one of
278
+ * WebhookEventType. If empty, the webhook receives all event types.
279
+ */
280
+ event_types?: Array<'feedback_record.created' | 'feedback_record.updated' | 'feedback_record.deleted' | 'webhook.created' | 'webhook.updated' | 'webhook.deleted'>;
281
+ /**
282
+ * Optional. If omitted, a key is auto-generated (whsec\_...). Used to sign
283
+ * payloads (Standard Webhooks). When provided, max 255 characters; NULL bytes not
284
+ * allowed.
285
+ */
286
+ signing_key?: string;
287
+ /**
288
+ * Tenant/organization identifier. NULL bytes not allowed.
289
+ */
290
+ tenant_id?: string;
291
+ }
292
+ export interface WebhookUpdateParams {
293
+ /**
294
+ * Enable or disable the webhook
295
+ */
296
+ enabled?: boolean;
297
+ /**
298
+ * New list of event types (use empty array to clear). Each value must be one of
299
+ * WebhookEventType.
300
+ */
301
+ event_types?: Array<'feedback_record.created' | 'feedback_record.updated' | 'feedback_record.deleted' | 'webhook.created' | 'webhook.updated' | 'webhook.deleted'>;
302
+ /**
303
+ * New signing key. NULL bytes not allowed.
304
+ */
305
+ signing_key?: string;
306
+ /**
307
+ * Omit or send null to leave unchanged. Send empty string to clear (store as
308
+ * null).
309
+ */
310
+ tenant_id?: string | null;
311
+ /**
312
+ * New webhook URL. Must be an HTTP or HTTPS URL. NULL bytes not allowed.
313
+ */
314
+ url?: string;
315
+ }
316
+ export interface WebhookListParams {
317
+ /**
318
+ * Omit for the first page. For the next page, use the exact value from the
319
+ * previous response's next_cursor. Opaque (base64-encoded); keyset pagination.
320
+ */
321
+ cursor?: string;
322
+ /**
323
+ * Filter by enabled status
324
+ */
325
+ enabled?: boolean;
326
+ /**
327
+ * Number of results to return (max 1000)
328
+ */
329
+ limit?: number;
330
+ /**
331
+ * Filter by tenant ID. NULL bytes not allowed.
332
+ */
333
+ tenant_id?: string;
334
+ }
335
+ export declare namespace Webhooks {
336
+ export { type WebhookCreateResponse as WebhookCreateResponse, type WebhookRetrieveResponse as WebhookRetrieveResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookListParams as WebhookListParams, };
337
+ }
338
+ //# sourceMappingURL=webhooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI1G;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,GAAG,EAAE,MAAM,C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