@primitivedotdev/sdk 0.2.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +65 -2
  2. package/bin/run.js +5 -0
  3. package/dist/api/generated/client/client.gen.js +235 -0
  4. package/dist/api/generated/client/index.js +6 -0
  5. package/dist/api/generated/client/types.gen.js +2 -0
  6. package/dist/api/generated/client/utils.gen.js +228 -0
  7. package/dist/api/generated/client.gen.js +3 -0
  8. package/dist/api/generated/core/auth.gen.js +14 -0
  9. package/dist/api/generated/core/bodySerializer.gen.js +57 -0
  10. package/dist/api/generated/core/params.gen.js +100 -0
  11. package/dist/api/generated/core/pathSerializer.gen.js +106 -0
  12. package/dist/api/generated/core/queryKeySerializer.gen.js +92 -0
  13. package/dist/api/generated/core/serverSentEvents.gen.js +132 -0
  14. package/dist/api/generated/core/types.gen.js +2 -0
  15. package/dist/api/generated/core/utils.gen.js +87 -0
  16. package/dist/api/generated/index.js +2 -0
  17. package/dist/api/generated/sdk.gen.js +347 -0
  18. package/dist/api/generated/types.gen.js +2 -0
  19. package/dist/api/index.d.ts +1877 -0
  20. package/dist/api/index.js +39 -0
  21. package/dist/chunk-Cl8Af3a2.js +11 -0
  22. package/dist/contract/index.d.ts +3 -3
  23. package/dist/contract/index.js +2 -2
  24. package/dist/{index-BdRIHaXz.d.ts → index-D2OuDGVz.d.ts} +81 -5
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +2 -2
  27. package/dist/oclif/api-command.js +218 -0
  28. package/dist/oclif/fish-completion.js +87 -0
  29. package/dist/oclif/index.js +42 -0
  30. package/dist/openapi/index.d.ts +42 -0
  31. package/dist/openapi/index.js +8 -0
  32. package/dist/openapi/openapi.generated.js +2715 -0
  33. package/dist/openapi/operations.generated.js +671 -0
  34. package/dist/parser/index.d.ts +1 -1
  35. package/dist/parser/index.js +40 -25
  36. package/dist/{types-B5IgP-Zx.d.ts → types-C3ms4R0d.d.ts} +4 -0
  37. package/dist/webhook/index.d.ts +3 -3
  38. package/dist/webhook/index.js +2 -2
  39. package/dist/{webhook-Be2vM0F-.js → webhook-uSco6pyX.js} +176 -11
  40. package/oclif.manifest.json +1267 -0
  41. package/package.json +81 -13
@@ -0,0 +1,671 @@
1
+ /**
2
+ * Generated operation metadata for the Primitive API CLI and SDK tooling.
3
+ *
4
+ * AUTO-GENERATED - DO NOT EDIT
5
+ * Run `pnpm generate:openapi` to regenerate.
6
+ */
7
+ export const operationManifest = [
8
+ {
9
+ "binaryResponse": false,
10
+ "bodyRequired": false,
11
+ "command": "get-account",
12
+ "description": null,
13
+ "hasJsonBody": false,
14
+ "method": "GET",
15
+ "operationId": "getAccount",
16
+ "path": "/account",
17
+ "pathParams": [],
18
+ "queryParams": [],
19
+ "sdkName": "getAccount",
20
+ "summary": "Get account info",
21
+ "tag": "Account",
22
+ "tagCommand": "account"
23
+ },
24
+ {
25
+ "binaryResponse": false,
26
+ "bodyRequired": false,
27
+ "command": "get-storage-stats",
28
+ "description": null,
29
+ "hasJsonBody": false,
30
+ "method": "GET",
31
+ "operationId": "getStorageStats",
32
+ "path": "/account/storage",
33
+ "pathParams": [],
34
+ "queryParams": [],
35
+ "sdkName": "getStorageStats",
36
+ "summary": "Get storage usage",
37
+ "tag": "Account",
38
+ "tagCommand": "account"
39
+ },
40
+ {
41
+ "binaryResponse": false,
42
+ "bodyRequired": false,
43
+ "command": "get-webhook-secret",
44
+ "description": "Returns the webhook signing secret for your account. If no secret\nexists yet, one is generated automatically on first access.\n",
45
+ "hasJsonBody": false,
46
+ "method": "GET",
47
+ "operationId": "getWebhookSecret",
48
+ "path": "/account/webhook-secret",
49
+ "pathParams": [],
50
+ "queryParams": [],
51
+ "sdkName": "getWebhookSecret",
52
+ "summary": "Get webhook signing secret",
53
+ "tag": "Account",
54
+ "tagCommand": "account"
55
+ },
56
+ {
57
+ "binaryResponse": false,
58
+ "bodyRequired": false,
59
+ "command": "rotate-webhook-secret",
60
+ "description": "Generates a new webhook signing secret, replacing the current one.\nRate limited to once per 60 minutes.\n",
61
+ "hasJsonBody": false,
62
+ "method": "POST",
63
+ "operationId": "rotateWebhookSecret",
64
+ "path": "/account/webhook-secret/rotate",
65
+ "pathParams": [],
66
+ "queryParams": [],
67
+ "sdkName": "rotateWebhookSecret",
68
+ "summary": "Rotate webhook signing secret",
69
+ "tag": "Account",
70
+ "tagCommand": "account"
71
+ },
72
+ {
73
+ "binaryResponse": false,
74
+ "bodyRequired": true,
75
+ "command": "update-account",
76
+ "description": null,
77
+ "hasJsonBody": true,
78
+ "method": "PATCH",
79
+ "operationId": "updateAccount",
80
+ "path": "/account",
81
+ "pathParams": [],
82
+ "queryParams": [],
83
+ "sdkName": "updateAccount",
84
+ "summary": "Update account settings",
85
+ "tag": "Account",
86
+ "tagCommand": "account"
87
+ },
88
+ {
89
+ "binaryResponse": false,
90
+ "bodyRequired": true,
91
+ "command": "add-domain",
92
+ "description": "Creates an unverified domain claim. You will receive a\n`verification_token` to add as a DNS TXT record before\ncalling the verify endpoint.\n",
93
+ "hasJsonBody": true,
94
+ "method": "POST",
95
+ "operationId": "addDomain",
96
+ "path": "/domains",
97
+ "pathParams": [],
98
+ "queryParams": [],
99
+ "sdkName": "addDomain",
100
+ "summary": "Claim a new domain",
101
+ "tag": "Domains",
102
+ "tagCommand": "domains"
103
+ },
104
+ {
105
+ "binaryResponse": false,
106
+ "bodyRequired": false,
107
+ "command": "delete-domain",
108
+ "description": "Deletes a verified or unverified domain claim.",
109
+ "hasJsonBody": false,
110
+ "method": "DELETE",
111
+ "operationId": "deleteDomain",
112
+ "path": "/domains/{id}",
113
+ "pathParams": [
114
+ {
115
+ "description": "Resource UUID",
116
+ "enum": null,
117
+ "name": "id",
118
+ "required": true,
119
+ "type": "string"
120
+ }
121
+ ],
122
+ "queryParams": [],
123
+ "sdkName": "deleteDomain",
124
+ "summary": "Delete a domain",
125
+ "tag": "Domains",
126
+ "tagCommand": "domains"
127
+ },
128
+ {
129
+ "binaryResponse": false,
130
+ "bodyRequired": false,
131
+ "command": "list-domains",
132
+ "description": "Returns all verified and unverified domains for your organization,\nsorted by creation date (newest first). Each domain includes a\n`verified` boolean to distinguish between the two states.\n",
133
+ "hasJsonBody": false,
134
+ "method": "GET",
135
+ "operationId": "listDomains",
136
+ "path": "/domains",
137
+ "pathParams": [],
138
+ "queryParams": [],
139
+ "sdkName": "listDomains",
140
+ "summary": "List all domains",
141
+ "tag": "Domains",
142
+ "tagCommand": "domains"
143
+ },
144
+ {
145
+ "binaryResponse": false,
146
+ "bodyRequired": true,
147
+ "command": "update-domain",
148
+ "description": "Update a verified domain's settings. Only verified domains can be\nupdated. Per-domain spam thresholds require a Pro plan.\n",
149
+ "hasJsonBody": true,
150
+ "method": "PATCH",
151
+ "operationId": "updateDomain",
152
+ "path": "/domains/{id}",
153
+ "pathParams": [
154
+ {
155
+ "description": "Resource UUID",
156
+ "enum": null,
157
+ "name": "id",
158
+ "required": true,
159
+ "type": "string"
160
+ }
161
+ ],
162
+ "queryParams": [],
163
+ "sdkName": "updateDomain",
164
+ "summary": "Update domain settings",
165
+ "tag": "Domains",
166
+ "tagCommand": "domains"
167
+ },
168
+ {
169
+ "binaryResponse": false,
170
+ "bodyRequired": false,
171
+ "command": "verify-domain",
172
+ "description": "Checks DNS records (MX and TXT) to verify domain ownership.\nOn success, the domain is promoted from unverified to verified.\nOn failure, returns which checks passed and which failed.\n",
173
+ "hasJsonBody": false,
174
+ "method": "POST",
175
+ "operationId": "verifyDomain",
176
+ "path": "/domains/{id}/verify",
177
+ "pathParams": [
178
+ {
179
+ "description": "Resource UUID",
180
+ "enum": null,
181
+ "name": "id",
182
+ "required": true,
183
+ "type": "string"
184
+ }
185
+ ],
186
+ "queryParams": [],
187
+ "sdkName": "verifyDomain",
188
+ "summary": "Verify domain ownership",
189
+ "tag": "Domains",
190
+ "tagCommand": "domains"
191
+ },
192
+ {
193
+ "binaryResponse": false,
194
+ "bodyRequired": false,
195
+ "command": "delete-email",
196
+ "description": null,
197
+ "hasJsonBody": false,
198
+ "method": "DELETE",
199
+ "operationId": "deleteEmail",
200
+ "path": "/emails/{id}",
201
+ "pathParams": [
202
+ {
203
+ "description": "Resource UUID",
204
+ "enum": null,
205
+ "name": "id",
206
+ "required": true,
207
+ "type": "string"
208
+ }
209
+ ],
210
+ "queryParams": [],
211
+ "sdkName": "deleteEmail",
212
+ "summary": "Delete an email",
213
+ "tag": "Emails",
214
+ "tagCommand": "emails"
215
+ },
216
+ {
217
+ "binaryResponse": true,
218
+ "bodyRequired": false,
219
+ "command": "download-attachments",
220
+ "description": "Downloads all attachments as a gzip-compressed tar archive.\nAuthenticates via a signed download token (provided in webhook\npayloads) or a valid session.\n",
221
+ "hasJsonBody": false,
222
+ "method": "GET",
223
+ "operationId": "downloadAttachments",
224
+ "path": "/emails/{id}/attachments.tar.gz",
225
+ "pathParams": [
226
+ {
227
+ "description": "Resource UUID",
228
+ "enum": null,
229
+ "name": "id",
230
+ "required": true,
231
+ "type": "string"
232
+ }
233
+ ],
234
+ "queryParams": [
235
+ {
236
+ "description": "Signed download token from webhook payload",
237
+ "enum": null,
238
+ "name": "token",
239
+ "required": false,
240
+ "type": "string"
241
+ }
242
+ ],
243
+ "sdkName": "downloadAttachments",
244
+ "summary": "Download email attachments",
245
+ "tag": "Emails",
246
+ "tagCommand": "emails"
247
+ },
248
+ {
249
+ "binaryResponse": true,
250
+ "bodyRequired": false,
251
+ "command": "download-raw-email",
252
+ "description": "Downloads the raw RFC 822 email file (.eml). Authenticates via\na signed download token (provided in webhook payloads) or a\nvalid session.\n",
253
+ "hasJsonBody": false,
254
+ "method": "GET",
255
+ "operationId": "downloadRawEmail",
256
+ "path": "/emails/{id}/raw",
257
+ "pathParams": [
258
+ {
259
+ "description": "Resource UUID",
260
+ "enum": null,
261
+ "name": "id",
262
+ "required": true,
263
+ "type": "string"
264
+ }
265
+ ],
266
+ "queryParams": [
267
+ {
268
+ "description": "Signed download token from webhook payload",
269
+ "enum": null,
270
+ "name": "token",
271
+ "required": false,
272
+ "type": "string"
273
+ }
274
+ ],
275
+ "sdkName": "downloadRawEmail",
276
+ "summary": "Download raw email",
277
+ "tag": "Emails",
278
+ "tagCommand": "emails"
279
+ },
280
+ {
281
+ "binaryResponse": false,
282
+ "bodyRequired": false,
283
+ "command": "get-email",
284
+ "description": null,
285
+ "hasJsonBody": false,
286
+ "method": "GET",
287
+ "operationId": "getEmail",
288
+ "path": "/emails/{id}",
289
+ "pathParams": [
290
+ {
291
+ "description": "Resource UUID",
292
+ "enum": null,
293
+ "name": "id",
294
+ "required": true,
295
+ "type": "string"
296
+ }
297
+ ],
298
+ "queryParams": [],
299
+ "sdkName": "getEmail",
300
+ "summary": "Get email details",
301
+ "tag": "Emails",
302
+ "tagCommand": "emails"
303
+ },
304
+ {
305
+ "binaryResponse": false,
306
+ "bodyRequired": false,
307
+ "command": "list-emails",
308
+ "description": "Returns a paginated list of received emails. Supports filtering by\ndomain, status, date range, and free-text search across subject,\nsender, and recipient fields.\n",
309
+ "hasJsonBody": false,
310
+ "method": "GET",
311
+ "operationId": "listEmails",
312
+ "path": "/emails",
313
+ "pathParams": [],
314
+ "queryParams": [
315
+ {
316
+ "description": "Pagination cursor from a previous response's `meta.cursor` field.\nFormat: `{ISO-datetime}|{id}`\n",
317
+ "enum": null,
318
+ "name": "cursor",
319
+ "required": false,
320
+ "type": "string"
321
+ },
322
+ {
323
+ "description": "Number of results per page",
324
+ "enum": null,
325
+ "name": "limit",
326
+ "required": false,
327
+ "type": "integer"
328
+ },
329
+ {
330
+ "description": "Filter by domain ID",
331
+ "enum": null,
332
+ "name": "domain_id",
333
+ "required": false,
334
+ "type": "string"
335
+ },
336
+ {
337
+ "description": "Filter by email status",
338
+ "enum": [
339
+ "pending",
340
+ "accepted",
341
+ "completed",
342
+ "rejected"
343
+ ],
344
+ "name": "status",
345
+ "required": false,
346
+ "type": "string"
347
+ },
348
+ {
349
+ "description": "Search subject, sender, and recipient (case-insensitive)",
350
+ "enum": null,
351
+ "name": "search",
352
+ "required": false,
353
+ "type": "string"
354
+ },
355
+ {
356
+ "description": "Filter emails created on or after this timestamp",
357
+ "enum": null,
358
+ "name": "date_from",
359
+ "required": false,
360
+ "type": "string"
361
+ },
362
+ {
363
+ "description": "Filter emails created on or before this timestamp",
364
+ "enum": null,
365
+ "name": "date_to",
366
+ "required": false,
367
+ "type": "string"
368
+ }
369
+ ],
370
+ "sdkName": "listEmails",
371
+ "summary": "List emails",
372
+ "tag": "Emails",
373
+ "tagCommand": "emails"
374
+ },
375
+ {
376
+ "binaryResponse": false,
377
+ "bodyRequired": false,
378
+ "command": "replay-email-webhooks",
379
+ "description": "Re-delivers the webhook payload for this email to all active\nendpoints matching the email's domain. Rate limited per-email\n(short cooldown between successive replays of the same email)\nand per-org (burst + sustained windows), sharing an org-wide\nbudget with delivery replays.\n",
380
+ "hasJsonBody": false,
381
+ "method": "POST",
382
+ "operationId": "replayEmailWebhooks",
383
+ "path": "/emails/{id}/replay",
384
+ "pathParams": [
385
+ {
386
+ "description": "Resource UUID",
387
+ "enum": null,
388
+ "name": "id",
389
+ "required": true,
390
+ "type": "string"
391
+ }
392
+ ],
393
+ "queryParams": [],
394
+ "sdkName": "replayEmailWebhooks",
395
+ "summary": "Replay email webhooks",
396
+ "tag": "Emails",
397
+ "tagCommand": "emails"
398
+ },
399
+ {
400
+ "binaryResponse": false,
401
+ "bodyRequired": true,
402
+ "command": "create-endpoint",
403
+ "description": "Creates a new webhook endpoint. If a deactivated endpoint with the\nsame URL and domain exists, it is reactivated instead.\nSubject to plan limits on the number of active endpoints.\n",
404
+ "hasJsonBody": true,
405
+ "method": "POST",
406
+ "operationId": "createEndpoint",
407
+ "path": "/endpoints",
408
+ "pathParams": [],
409
+ "queryParams": [],
410
+ "sdkName": "createEndpoint",
411
+ "summary": "Create a webhook endpoint",
412
+ "tag": "Endpoints",
413
+ "tagCommand": "endpoints"
414
+ },
415
+ {
416
+ "binaryResponse": false,
417
+ "bodyRequired": false,
418
+ "command": "delete-endpoint",
419
+ "description": "Soft-deletes a webhook endpoint. The endpoint will no longer\nreceive webhook deliveries.\n",
420
+ "hasJsonBody": false,
421
+ "method": "DELETE",
422
+ "operationId": "deleteEndpoint",
423
+ "path": "/endpoints/{id}",
424
+ "pathParams": [
425
+ {
426
+ "description": "Resource UUID",
427
+ "enum": null,
428
+ "name": "id",
429
+ "required": true,
430
+ "type": "string"
431
+ }
432
+ ],
433
+ "queryParams": [],
434
+ "sdkName": "deleteEndpoint",
435
+ "summary": "Delete a webhook endpoint",
436
+ "tag": "Endpoints",
437
+ "tagCommand": "endpoints"
438
+ },
439
+ {
440
+ "binaryResponse": false,
441
+ "bodyRequired": false,
442
+ "command": "list-endpoints",
443
+ "description": "Returns all active (non-deleted) webhook endpoints.",
444
+ "hasJsonBody": false,
445
+ "method": "GET",
446
+ "operationId": "listEndpoints",
447
+ "path": "/endpoints",
448
+ "pathParams": [],
449
+ "queryParams": [],
450
+ "sdkName": "listEndpoints",
451
+ "summary": "List webhook endpoints",
452
+ "tag": "Endpoints",
453
+ "tagCommand": "endpoints"
454
+ },
455
+ {
456
+ "binaryResponse": false,
457
+ "bodyRequired": false,
458
+ "command": "test-endpoint",
459
+ "description": "Sends a sample `email.received` event to the endpoint. The request\nincludes SSRF protection (private IP rejection and DNS pinning).\nRate limited to 4 per minute and 30 per hour (non-exempt).\nSuccessful deliveries and verified-domain endpoints are exempt\nfrom the rate limit.\n",
460
+ "hasJsonBody": false,
461
+ "method": "POST",
462
+ "operationId": "testEndpoint",
463
+ "path": "/endpoints/{id}/test",
464
+ "pathParams": [
465
+ {
466
+ "description": "Resource UUID",
467
+ "enum": null,
468
+ "name": "id",
469
+ "required": true,
470
+ "type": "string"
471
+ }
472
+ ],
473
+ "queryParams": [],
474
+ "sdkName": "testEndpoint",
475
+ "summary": "Send a test webhook",
476
+ "tag": "Endpoints",
477
+ "tagCommand": "endpoints"
478
+ },
479
+ {
480
+ "binaryResponse": false,
481
+ "bodyRequired": true,
482
+ "command": "update-endpoint",
483
+ "description": "Updates an active webhook endpoint. If the URL is changed, the old\nendpoint is deactivated and a new one is created (or an existing\ndeactivated endpoint with the new URL is reactivated).\n",
484
+ "hasJsonBody": true,
485
+ "method": "PATCH",
486
+ "operationId": "updateEndpoint",
487
+ "path": "/endpoints/{id}",
488
+ "pathParams": [
489
+ {
490
+ "description": "Resource UUID",
491
+ "enum": null,
492
+ "name": "id",
493
+ "required": true,
494
+ "type": "string"
495
+ }
496
+ ],
497
+ "queryParams": [],
498
+ "sdkName": "updateEndpoint",
499
+ "summary": "Update a webhook endpoint",
500
+ "tag": "Endpoints",
501
+ "tagCommand": "endpoints"
502
+ },
503
+ {
504
+ "binaryResponse": false,
505
+ "bodyRequired": true,
506
+ "command": "create-filter",
507
+ "description": "Creates a new whitelist or blocklist filter. Per-domain filters\nrequire a Pro plan. Patterns are stored as lowercase.\n",
508
+ "hasJsonBody": true,
509
+ "method": "POST",
510
+ "operationId": "createFilter",
511
+ "path": "/filters",
512
+ "pathParams": [],
513
+ "queryParams": [],
514
+ "sdkName": "createFilter",
515
+ "summary": "Create a filter rule",
516
+ "tag": "Filters",
517
+ "tagCommand": "filters"
518
+ },
519
+ {
520
+ "binaryResponse": false,
521
+ "bodyRequired": false,
522
+ "command": "delete-filter",
523
+ "description": null,
524
+ "hasJsonBody": false,
525
+ "method": "DELETE",
526
+ "operationId": "deleteFilter",
527
+ "path": "/filters/{id}",
528
+ "pathParams": [
529
+ {
530
+ "description": "Resource UUID",
531
+ "enum": null,
532
+ "name": "id",
533
+ "required": true,
534
+ "type": "string"
535
+ }
536
+ ],
537
+ "queryParams": [],
538
+ "sdkName": "deleteFilter",
539
+ "summary": "Delete a filter rule",
540
+ "tag": "Filters",
541
+ "tagCommand": "filters"
542
+ },
543
+ {
544
+ "binaryResponse": false,
545
+ "bodyRequired": false,
546
+ "command": "list-filters",
547
+ "description": "Returns all whitelist and blocklist filter rules.",
548
+ "hasJsonBody": false,
549
+ "method": "GET",
550
+ "operationId": "listFilters",
551
+ "path": "/filters",
552
+ "pathParams": [],
553
+ "queryParams": [],
554
+ "sdkName": "listFilters",
555
+ "summary": "List filter rules",
556
+ "tag": "Filters",
557
+ "tagCommand": "filters"
558
+ },
559
+ {
560
+ "binaryResponse": false,
561
+ "bodyRequired": true,
562
+ "command": "update-filter",
563
+ "description": "Toggle a filter's enabled state.",
564
+ "hasJsonBody": true,
565
+ "method": "PATCH",
566
+ "operationId": "updateFilter",
567
+ "path": "/filters/{id}",
568
+ "pathParams": [
569
+ {
570
+ "description": "Resource UUID",
571
+ "enum": null,
572
+ "name": "id",
573
+ "required": true,
574
+ "type": "string"
575
+ }
576
+ ],
577
+ "queryParams": [],
578
+ "sdkName": "updateFilter",
579
+ "summary": "Update a filter rule",
580
+ "tag": "Filters",
581
+ "tagCommand": "filters"
582
+ },
583
+ {
584
+ "binaryResponse": false,
585
+ "bodyRequired": false,
586
+ "command": "list-deliveries",
587
+ "description": "Returns a paginated list of webhook delivery attempts. Each delivery\nincludes a nested `email` object with sender, recipient, and subject.\n",
588
+ "hasJsonBody": false,
589
+ "method": "GET",
590
+ "operationId": "listDeliveries",
591
+ "path": "/webhooks/deliveries",
592
+ "pathParams": [],
593
+ "queryParams": [
594
+ {
595
+ "description": "Pagination cursor from a previous response's `meta.cursor` field.\nFormat: `{ISO-datetime}|{id}`\n",
596
+ "enum": null,
597
+ "name": "cursor",
598
+ "required": false,
599
+ "type": "string"
600
+ },
601
+ {
602
+ "description": "Number of results per page",
603
+ "enum": null,
604
+ "name": "limit",
605
+ "required": false,
606
+ "type": "integer"
607
+ },
608
+ {
609
+ "description": "Filter by email ID",
610
+ "enum": null,
611
+ "name": "email_id",
612
+ "required": false,
613
+ "type": "string"
614
+ },
615
+ {
616
+ "description": "Filter by delivery status",
617
+ "enum": [
618
+ "pending",
619
+ "delivered",
620
+ "header_confirmed",
621
+ "failed"
622
+ ],
623
+ "name": "status",
624
+ "required": false,
625
+ "type": "string"
626
+ },
627
+ {
628
+ "description": "Filter deliveries created on or after this timestamp",
629
+ "enum": null,
630
+ "name": "date_from",
631
+ "required": false,
632
+ "type": "string"
633
+ },
634
+ {
635
+ "description": "Filter deliveries created on or before this timestamp",
636
+ "enum": null,
637
+ "name": "date_to",
638
+ "required": false,
639
+ "type": "string"
640
+ }
641
+ ],
642
+ "sdkName": "listDeliveries",
643
+ "summary": "List webhook deliveries",
644
+ "tag": "Webhook Deliveries",
645
+ "tagCommand": "webhook-deliveries"
646
+ },
647
+ {
648
+ "binaryResponse": false,
649
+ "bodyRequired": false,
650
+ "command": "replay-delivery",
651
+ "description": "Re-sends the stored webhook payload from a previous delivery attempt.\nIf the original endpoint is still active, it is targeted. If the\noriginal endpoint was deleted, the oldest active endpoint is used.\nDeactivated endpoints cannot be replayed to. Rate limited per-org,\nsharing an org-wide budget with email replays.\n",
652
+ "hasJsonBody": false,
653
+ "method": "POST",
654
+ "operationId": "replayDelivery",
655
+ "path": "/webhooks/deliveries/{id}/replay",
656
+ "pathParams": [
657
+ {
658
+ "description": "Delivery ID (numeric)",
659
+ "enum": null,
660
+ "name": "id",
661
+ "required": true,
662
+ "type": "string"
663
+ }
664
+ ],
665
+ "queryParams": [],
666
+ "sdkName": "replayDelivery",
667
+ "summary": "Replay a webhook delivery",
668
+ "tag": "Webhook Deliveries",
669
+ "tagCommand": "webhook-deliveries"
670
+ }
671
+ ];
@@ -1,4 +1,4 @@
1
- import { EmailAddress, ParsedDataComplete, WebhookAttachment } from "../types-B5IgP-Zx.js";
1
+ import { EmailAddress, ParsedDataComplete, WebhookAttachment } from "../types-C3ms4R0d.js";
2
2
 
3
3
  //#region src/parser/attachment-parser.d.ts
4
4
  interface ParsedAttachment {