@keystrokehq/sendgrid 0.0.6-rename-t1.0 → 0.0.8

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.
@@ -44,7 +44,7 @@ function mapSingleSendBody(input) {
44
44
  });
45
45
  }
46
46
  const createSingleSend = sendgridOperation({
47
- id: "create_single_send",
47
+ id: "sendgrid.create-single-send",
48
48
  name: "Create Single Send",
49
49
  description: "Create a marketing Single Send campaign.",
50
50
  input: singleSendBody,
@@ -59,7 +59,7 @@ const createSingleSend = sendgridOperation({
59
59
  }
60
60
  });
61
61
  const updateSingleSend = sendgridOperation({
62
- id: "update_single_send",
62
+ id: "sendgrid.update-single-send",
63
63
  name: "Update Single Send",
64
64
  description: "Update a Single Send campaign.",
65
65
  input: singleSendBody.partial().extend({ id: sendgridIdSchema }),
@@ -80,7 +80,7 @@ const updateSingleSend = sendgridOperation({
80
80
  }
81
81
  });
82
82
  const duplicateSingleSend = sendgridOperation({
83
- id: "duplicate_single_send",
83
+ id: "sendgrid.duplicate-single-send",
84
84
  name: "Duplicate Single Send",
85
85
  description: "Duplicate a Single Send campaign.",
86
86
  input: z.object({
@@ -98,7 +98,7 @@ const duplicateSingleSend = sendgridOperation({
98
98
  }
99
99
  });
100
100
  const deleteSingleSend = sendgridOperation({
101
- id: "delete_single_send",
101
+ id: "sendgrid.delete-single-send",
102
102
  name: "Delete Single Send",
103
103
  description: "Delete a Single Send by ID.",
104
104
  input: z.object({ id: sendgridIdSchema }),
@@ -110,7 +110,7 @@ const deleteSingleSend = sendgridOperation({
110
110
  }
111
111
  });
112
112
  const bulkDeleteSingleSends = sendgridOperation({
113
- id: "bulk_delete_single_sends",
113
+ id: "sendgrid.bulk-delete-single-sends",
114
114
  name: "Bulk Delete Single Sends",
115
115
  description: "Delete multiple Single Sends at once.",
116
116
  input: z.object({ ids: z.array(sendgridIdSchema).min(1).max(100) }),
@@ -125,7 +125,7 @@ const bulkDeleteSingleSends = sendgridOperation({
125
125
  }
126
126
  });
127
127
  const getSingleSend = sendgridOperation({
128
- id: "get_single_send",
128
+ id: "sendgrid.get-single-send",
129
129
  name: "Get Single Send",
130
130
  description: "Retrieve a Single Send by ID.",
131
131
  input: z.object({ id: sendgridIdSchema }),
@@ -136,7 +136,7 @@ const getSingleSend = sendgridOperation({
136
136
  }
137
137
  });
138
138
  const listSingleSends = sendgridOperation({
139
- id: "list_single_sends",
139
+ id: "sendgrid.list-single-sends",
140
140
  name: "List Single Sends",
141
141
  description: "List all Single Sends on the account.",
142
142
  input: z.object({
@@ -153,7 +153,7 @@ const listSingleSends = sendgridOperation({
153
153
  }
154
154
  });
155
155
  const searchSingleSends = sendgridOperation({
156
- id: "search_single_sends",
156
+ id: "sendgrid.search-single-sends",
157
157
  name: "Search Single Sends",
158
158
  description: "Search Single Sends by name, status, or categories.",
159
159
  input: sendgridSingleSendSearchInputSchema,
@@ -171,7 +171,7 @@ const searchSingleSends = sendgridOperation({
171
171
  }
172
172
  });
173
173
  const scheduleSingleSend = sendgridOperation({
174
- id: "schedule_single_send",
174
+ id: "sendgrid.schedule-single-send",
175
175
  name: "Schedule Single Send",
176
176
  description: "Schedule a Single Send for future delivery (pass `send_at: \"now\"` to send immediately).",
177
177
  input: z.object({ id: sendgridIdSchema }).and(sendgridSingleSendScheduleInputSchema),
@@ -186,7 +186,7 @@ const scheduleSingleSend = sendgridOperation({
186
186
  }
187
187
  });
188
188
  const unscheduleSingleSend = sendgridOperation({
189
- id: "unschedule_single_send",
189
+ id: "sendgrid.unschedule-single-send",
190
190
  name: "Unschedule Single Send",
191
191
  description: "Cancel a scheduled Single Send delivery.",
192
192
  input: z.object({ id: sendgridIdSchema }),
@@ -198,7 +198,7 @@ const unscheduleSingleSend = sendgridOperation({
198
198
  }
199
199
  });
200
200
  const sendTestMarketingEmail = sendgridOperation({
201
- id: "send_test_marketing_email",
201
+ id: "sendgrid.send-test-marketing-email",
202
202
  name: "Send Test Marketing Email",
203
203
  description: "Send a Marketing Campaigns test email to the given recipients.",
204
204
  input: sendgridSingleSendTestInputSchema,
@@ -221,7 +221,7 @@ const sendTestMarketingEmail = sendgridOperation({
221
221
  }
222
222
  });
223
223
  const listSingleSendStats = sendgridOperation({
224
- id: "list_single_send_stats",
224
+ id: "sendgrid.list-single-send-stats",
225
225
  name: "List All Single Send Stats",
226
226
  description: "Return aggregated engagement stats across all Single Sends.",
227
227
  input: z.object({
@@ -243,7 +243,7 @@ const listSingleSendStats = sendgridOperation({
243
243
  }
244
244
  });
245
245
  const getSingleSendStats = sendgridOperation({
246
- id: "get_single_send_stats",
246
+ id: "sendgrid.get-single-send-stats",
247
247
  name: "Get Single Send Stats",
248
248
  description: "Return engagement stats for a single Single Send.",
249
249
  input: z.object({
@@ -262,7 +262,7 @@ const getSingleSendStats = sendgridOperation({
262
262
  }
263
263
  });
264
264
  const getSingleSendClickStats = sendgridOperation({
265
- id: "get_single_send_click_stats",
265
+ id: "sendgrid.get-single-send-click-stats",
266
266
  name: "Get Single Send Click Tracking Stats",
267
267
  description: "Return click-tracking breakdown for a Single Send.",
268
268
  input: z.object({ id: sendgridIdSchema }),
@@ -27,7 +27,7 @@ const verifiedSenderInput = z.object({
27
27
  country: z.string().optional()
28
28
  });
29
29
  const createSenderIdentity = sendgridOperation({
30
- id: "create_sender_identity",
30
+ id: "sendgrid.create-sender-identity",
31
31
  name: "Create Verified Sender Identity",
32
32
  description: "Create a verified sender identity. SendGrid emails a verification link to `from_email`.",
33
33
  input: verifiedSenderInput,
@@ -42,7 +42,7 @@ const createSenderIdentity = sendgridOperation({
42
42
  }
43
43
  });
44
44
  const updateSenderIdentity = sendgridOperation({
45
- id: "update_sender_identity",
45
+ id: "sendgrid.update-sender-identity",
46
46
  name: "Update Verified Sender Identity",
47
47
  description: "Update a verified sender identity.",
48
48
  input: verifiedSenderInput.partial().extend({ id: verifiedSenderId }),
@@ -59,7 +59,7 @@ const updateSenderIdentity = sendgridOperation({
59
59
  }
60
60
  });
61
61
  const deleteSenderIdentity = sendgridOperation({
62
- id: "delete_sender_identity",
62
+ id: "sendgrid.delete-sender-identity",
63
63
  name: "Delete Verified Sender Identity",
64
64
  description: "Delete a verified sender identity.",
65
65
  input: z.object({ id: verifiedSenderId }),
@@ -71,7 +71,7 @@ const deleteSenderIdentity = sendgridOperation({
71
71
  }
72
72
  });
73
73
  const getSenderIdentity = sendgridOperation({
74
- id: "get_sender_identity",
74
+ id: "sendgrid.get-sender-identity",
75
75
  name: "Get Verified Sender Identity",
76
76
  description: "Retrieve a verified sender identity by ID.",
77
77
  input: z.object({ id: verifiedSenderId }),
@@ -82,7 +82,7 @@ const getSenderIdentity = sendgridOperation({
82
82
  }
83
83
  });
84
84
  const listSenderIdentities = sendgridOperation({
85
- id: "list_sender_identities",
85
+ id: "sendgrid.list-sender-identities",
86
86
  name: "List Verified Sender Identities",
87
87
  description: "List all verified sender identities.",
88
88
  input: z.object({}).optional(),
@@ -93,7 +93,7 @@ const listSenderIdentities = sendgridOperation({
93
93
  }
94
94
  });
95
95
  const resendSenderIdentityVerification = sendgridOperation({
96
- id: "resend_sender_identity_verification",
96
+ id: "sendgrid.resend-sender-identity-verification",
97
97
  name: "Resend Sender Identity Verification",
98
98
  description: "Resend the verification email for a pending sender identity.",
99
99
  input: z.object({ id: verifiedSenderId }),
package/dist/senders.mjs CHANGED
@@ -13,7 +13,7 @@ var senders_exports = /* @__PURE__ */ __exportAll({
13
13
  });
14
14
  const senderId = z.number().int().positive();
15
15
  const createSender = sendgridOperation({
16
- id: "create_sender",
16
+ id: "sendgrid.create-sender",
17
17
  name: "Create Marketing Sender",
18
18
  description: "Create a Marketing Campaigns sender.",
19
19
  input: sendgridSenderAddressSchema,
@@ -28,7 +28,7 @@ const createSender = sendgridOperation({
28
28
  }
29
29
  });
30
30
  const updateSender = sendgridOperation({
31
- id: "update_sender",
31
+ id: "sendgrid.update-sender",
32
32
  name: "Update Marketing Sender",
33
33
  description: "Update a Marketing Campaigns sender.",
34
34
  input: sendgridSenderAddressSchema.partial().extend({ senderId }),
@@ -45,7 +45,7 @@ const updateSender = sendgridOperation({
45
45
  }
46
46
  });
47
47
  const deleteSender = sendgridOperation({
48
- id: "delete_sender",
48
+ id: "sendgrid.delete-sender",
49
49
  name: "Delete Marketing Sender",
50
50
  description: "Delete a Marketing Campaigns sender.",
51
51
  input: z.object({ senderId }),
@@ -57,7 +57,7 @@ const deleteSender = sendgridOperation({
57
57
  }
58
58
  });
59
59
  const getSender = sendgridOperation({
60
- id: "get_sender",
60
+ id: "sendgrid.get-sender",
61
61
  name: "Get Marketing Sender",
62
62
  description: "Retrieve a Marketing Campaigns sender by ID.",
63
63
  input: z.object({ senderId }),
@@ -68,7 +68,7 @@ const getSender = sendgridOperation({
68
68
  }
69
69
  });
70
70
  const listSenders = sendgridOperation({
71
- id: "list_senders",
71
+ id: "sendgrid.list-senders",
72
72
  name: "List Marketing Senders",
73
73
  description: "List all Marketing Campaigns senders.",
74
74
  input: z.object({}).optional(),
package/dist/stats.mjs CHANGED
@@ -25,7 +25,7 @@ function mapStatsQuery(input) {
25
25
  };
26
26
  }
27
27
  const getGlobalEmailStats = sendgridOperation({
28
- id: "get_global_email_stats",
28
+ id: "sendgrid.get-global-email-stats",
29
29
  name: "Get Global Email Statistics",
30
30
  description: "Return aggregated global email stats over a date range.",
31
31
  input: statsRange,
@@ -36,7 +36,7 @@ const getGlobalEmailStats = sendgridOperation({
36
36
  }
37
37
  });
38
38
  const getCategoryStats = sendgridOperation({
39
- id: "get_category_stats",
39
+ id: "sendgrid.get-category-stats",
40
40
  name: "Get Category Stats",
41
41
  description: "Return email stats broken down by category.",
42
42
  input: statsRange.extend({ categories: z.array(z.string().min(1)).min(1).max(10) }),
@@ -50,7 +50,7 @@ const getCategoryStats = sendgridOperation({
50
50
  }
51
51
  });
52
52
  const listAutomationStats = sendgridOperation({
53
- id: "list_automation_stats",
53
+ id: "sendgrid.list-automation-stats",
54
54
  name: "List Automation Stats",
55
55
  description: "Return engagement stats for all Automations.",
56
56
  input: z.object({
@@ -72,7 +72,7 @@ const listAutomationStats = sendgridOperation({
72
72
  }
73
73
  });
74
74
  const getEngagementQualityScores = sendgridOperation({
75
- id: "get_engagement_quality_scores",
75
+ id: "sendgrid.get-engagement-quality-scores",
76
76
  name: "Get Engagement Quality Scores",
77
77
  description: "Return engagement-quality (EQ) scores for the account. Plan-gated — requires Pro+.",
78
78
  input: z.object({
@@ -89,7 +89,7 @@ const getEngagementQualityScores = sendgridOperation({
89
89
  }
90
90
  });
91
91
  const listMailboxProviderStats = sendgridOperation({
92
- id: "list_mailbox_provider_stats",
92
+ id: "sendgrid.list-mailbox-provider-stats",
93
93
  name: "List Mailbox Provider Stats",
94
94
  description: "Return email stats broken down by mailbox provider (Gmail, Outlook, etc.).",
95
95
  input: statsRange.extend({ mailboxProviders: z.array(z.string().min(1)).optional() }),
@@ -50,7 +50,7 @@ function mapTimeQuery(range) {
50
50
  };
51
51
  }
52
52
  const addGlobalSuppressions = sendgridOperation({
53
- id: "add_global_suppressions",
53
+ id: "sendgrid.add-global-suppressions",
54
54
  name: "Add Global Suppressions",
55
55
  description: "Add email addresses to the global suppression list.",
56
56
  input: z.object({ recipientEmails: z.array(sendgridEmailSchema).min(1) }),
@@ -65,7 +65,7 @@ const addGlobalSuppressions = sendgridOperation({
65
65
  }
66
66
  });
67
67
  const deleteGlobalSuppression = sendgridOperation({
68
- id: "delete_global_suppression",
68
+ id: "sendgrid.delete-global-suppression",
69
69
  name: "Delete Global Suppression",
70
70
  description: "Remove an email from the global suppression list.",
71
71
  input: z.object({ email: sendgridEmailSchema }),
@@ -77,7 +77,7 @@ const deleteGlobalSuppression = sendgridOperation({
77
77
  }
78
78
  });
79
79
  const getGlobalSuppression = sendgridOperation({
80
- id: "get_global_suppression",
80
+ id: "sendgrid.get-global-suppression",
81
81
  name: "Get Global Suppression",
82
82
  description: "Check whether an email is on the global suppression list.",
83
83
  input: z.object({ email: sendgridEmailSchema }),
@@ -88,7 +88,7 @@ const getGlobalSuppression = sendgridOperation({
88
88
  }
89
89
  });
90
90
  const listGlobalSuppressions = sendgridOperation({
91
- id: "list_global_suppressions",
91
+ id: "sendgrid.list-global-suppressions",
92
92
  name: "List Global Unsubscribes",
93
93
  description: "List email addresses that have globally unsubscribed.",
94
94
  input: z.object({
@@ -108,7 +108,7 @@ const listGlobalSuppressions = sendgridOperation({
108
108
  }
109
109
  });
110
110
  const createSuppressionGroup = sendgridOperation({
111
- id: "create_suppression_group",
111
+ id: "sendgrid.create-suppression-group",
112
112
  name: "Create Suppression Group",
113
113
  description: "Create an unsubscribe/suppression group.",
114
114
  input: z.object({
@@ -131,7 +131,7 @@ const createSuppressionGroup = sendgridOperation({
131
131
  }
132
132
  });
133
133
  const updateSuppressionGroup = sendgridOperation({
134
- id: "update_suppression_group",
134
+ id: "sendgrid.update-suppression-group",
135
135
  name: "Update Suppression Group",
136
136
  description: "Update a suppression group.",
137
137
  input: z.object({
@@ -155,7 +155,7 @@ const updateSuppressionGroup = sendgridOperation({
155
155
  }
156
156
  });
157
157
  const deleteSuppressionGroup = sendgridOperation({
158
- id: "delete_suppression_group",
158
+ id: "sendgrid.delete-suppression-group",
159
159
  name: "Delete Suppression Group",
160
160
  description: "Delete a suppression group.",
161
161
  input: z.object({ groupId }),
@@ -167,7 +167,7 @@ const deleteSuppressionGroup = sendgridOperation({
167
167
  }
168
168
  });
169
169
  const listSuppressionGroups = sendgridOperation({
170
- id: "list_suppression_groups",
170
+ id: "sendgrid.list-suppression-groups",
171
171
  name: "List Suppression Groups",
172
172
  description: "List all suppression groups.",
173
173
  input: z.object({}).optional(),
@@ -178,7 +178,7 @@ const listSuppressionGroups = sendgridOperation({
178
178
  }
179
179
  });
180
180
  const getSuppressionGroup = sendgridOperation({
181
- id: "get_suppression_group",
181
+ id: "sendgrid.get-suppression-group",
182
182
  name: "Get Suppression Group",
183
183
  description: "Retrieve a single suppression group by ID.",
184
184
  input: z.object({ groupId }),
@@ -189,7 +189,7 @@ const getSuppressionGroup = sendgridOperation({
189
189
  }
190
190
  });
191
191
  const addSuppressionsToGroup = sendgridOperation({
192
- id: "add_suppressions_to_group",
192
+ id: "sendgrid.add-suppressions-to-group",
193
193
  name: "Add Suppressions to Group",
194
194
  description: "Add emails to a specific suppression group.",
195
195
  input: z.object({
@@ -207,7 +207,7 @@ const addSuppressionsToGroup = sendgridOperation({
207
207
  }
208
208
  });
209
209
  const deleteSuppressionFromGroup = sendgridOperation({
210
- id: "delete_suppression_from_group",
210
+ id: "sendgrid.delete-suppression-from-group",
211
211
  name: "Delete Suppression from Group",
212
212
  description: "Remove an email from a suppression group.",
213
213
  input: z.object({
@@ -222,7 +222,7 @@ const deleteSuppressionFromGroup = sendgridOperation({
222
222
  }
223
223
  });
224
224
  const listGroupSuppressions = sendgridOperation({
225
- id: "list_group_suppressions",
225
+ id: "sendgrid.list-group-suppressions",
226
226
  name: "List Group Suppressions",
227
227
  description: "List all suppressions for a single group.",
228
228
  input: z.object({ groupId }),
@@ -233,7 +233,7 @@ const listGroupSuppressions = sendgridOperation({
233
233
  }
234
234
  });
235
235
  const listAllSuppressions = sendgridOperation({
236
- id: "list_all_suppressions",
236
+ id: "sendgrid.list-all-suppressions",
237
237
  name: "List All Suppressions",
238
238
  description: "List suppressions across all groups (returns group + email pairs).",
239
239
  input: z.object({}).optional(),
@@ -244,7 +244,7 @@ const listAllSuppressions = sendgridOperation({
244
244
  }
245
245
  });
246
246
  const listGroupsForEmail = sendgridOperation({
247
- id: "list_groups_for_email",
247
+ id: "sendgrid.list-groups-for-email",
248
248
  name: "List Suppression Groups for Email",
249
249
  description: "Retrieve all suppression groups an email address is on.",
250
250
  input: z.object({ email: sendgridEmailSchema }),
@@ -266,7 +266,7 @@ const listGroupsForEmail = sendgridOperation({
266
266
  }
267
267
  });
268
268
  const searchSuppressionsInGroup = sendgridOperation({
269
- id: "search_suppressions_in_group",
269
+ id: "sendgrid.search-suppressions-in-group",
270
270
  name: "Search Suppressions in Group",
271
271
  description: "Check which of the given emails are currently suppressed in a specific group.",
272
272
  input: z.object({
@@ -283,7 +283,7 @@ const searchSuppressionsInGroup = sendgridOperation({
283
283
  }
284
284
  });
285
285
  const listBounces = sendgridOperation({
286
- id: "list_bounces",
286
+ id: "sendgrid.list-bounces",
287
287
  name: "List Bounces",
288
288
  description: "List bounce records.",
289
289
  input: timeRange.unwrap().extend({
@@ -301,7 +301,7 @@ const listBounces = sendgridOperation({
301
301
  }
302
302
  });
303
303
  const getBounce = sendgridOperation({
304
- id: "get_bounce",
304
+ id: "sendgrid.get-bounce",
305
305
  name: "Get Bounce",
306
306
  description: "Return the bounce record(s) for a specific email.",
307
307
  input: z.object({ email: sendgridEmailSchema }),
@@ -313,7 +313,7 @@ const getBounce = sendgridOperation({
313
313
  }
314
314
  });
315
315
  const deleteBounce = sendgridOperation({
316
- id: "delete_bounce",
316
+ id: "sendgrid.delete-bounce",
317
317
  name: "Delete Bounce",
318
318
  description: "Delete a bounce record for a specific email.",
319
319
  input: z.object({ email: sendgridEmailSchema }),
@@ -325,7 +325,7 @@ const deleteBounce = sendgridOperation({
325
325
  }
326
326
  });
327
327
  const deleteBounces = sendgridOperation({
328
- id: "delete_bounces",
328
+ id: "sendgrid.delete-bounces",
329
329
  name: "Delete Bounces",
330
330
  description: "Delete bounce records by email list, or delete all bounces.",
331
331
  input: z.object({
@@ -346,7 +346,7 @@ const deleteBounces = sendgridOperation({
346
346
  }
347
347
  });
348
348
  const listBlocks = sendgridOperation({
349
- id: "list_blocks",
349
+ id: "sendgrid.list-blocks",
350
350
  name: "List Blocks",
351
351
  description: "List blocks (temporary delivery rejections).",
352
352
  input: timeRange.unwrap().extend({
@@ -364,7 +364,7 @@ const listBlocks = sendgridOperation({
364
364
  }
365
365
  });
366
366
  const getBlock = sendgridOperation({
367
- id: "get_block",
367
+ id: "sendgrid.get-block",
368
368
  name: "Get Block",
369
369
  description: "Retrieve block records for a specific email.",
370
370
  input: z.object({ email: sendgridEmailSchema }),
@@ -376,7 +376,7 @@ const getBlock = sendgridOperation({
376
376
  }
377
377
  });
378
378
  const deleteBlock = sendgridOperation({
379
- id: "delete_block",
379
+ id: "sendgrid.delete-block",
380
380
  name: "Delete Block",
381
381
  description: "Delete a block record for a specific email.",
382
382
  input: z.object({ email: sendgridEmailSchema }),
@@ -388,7 +388,7 @@ const deleteBlock = sendgridOperation({
388
388
  }
389
389
  });
390
390
  const deleteBlocks = sendgridOperation({
391
- id: "delete_blocks",
391
+ id: "sendgrid.delete-blocks",
392
392
  name: "Delete Blocks",
393
393
  description: "Delete block records by email list, or delete all blocks.",
394
394
  input: z.object({
@@ -409,7 +409,7 @@ const deleteBlocks = sendgridOperation({
409
409
  }
410
410
  });
411
411
  const listInvalidEmails = sendgridOperation({
412
- id: "list_invalid_emails",
412
+ id: "sendgrid.list-invalid-emails",
413
413
  name: "List Invalid Emails",
414
414
  description: "List invalid-email suppression records.",
415
415
  input: timeRange.unwrap().extend({
@@ -427,7 +427,7 @@ const listInvalidEmails = sendgridOperation({
427
427
  }
428
428
  });
429
429
  const getInvalidEmail = sendgridOperation({
430
- id: "get_invalid_email",
430
+ id: "sendgrid.get-invalid-email",
431
431
  name: "Get Invalid Email",
432
432
  description: "Retrieve invalid-email suppression records for a specific address.",
433
433
  input: z.object({ email: sendgridEmailSchema }),
@@ -439,7 +439,7 @@ const getInvalidEmail = sendgridOperation({
439
439
  }
440
440
  });
441
441
  const deleteInvalidEmail = sendgridOperation({
442
- id: "delete_invalid_email",
442
+ id: "sendgrid.delete-invalid-email",
443
443
  name: "Delete Invalid Email",
444
444
  description: "Delete an invalid-email suppression record.",
445
445
  input: z.object({ email: sendgridEmailSchema }),
@@ -451,7 +451,7 @@ const deleteInvalidEmail = sendgridOperation({
451
451
  }
452
452
  });
453
453
  const deleteInvalidEmails = sendgridOperation({
454
- id: "delete_invalid_emails",
454
+ id: "sendgrid.delete-invalid-emails",
455
455
  name: "Delete Invalid Emails",
456
456
  description: "Delete invalid-email suppression records in bulk.",
457
457
  input: z.object({
@@ -472,7 +472,7 @@ const deleteInvalidEmails = sendgridOperation({
472
472
  }
473
473
  });
474
474
  const listSpamReports = sendgridOperation({
475
- id: "list_spam_reports",
475
+ id: "sendgrid.list-spam-reports",
476
476
  name: "List Spam Reports",
477
477
  description: "List spam-report suppression records.",
478
478
  input: timeRange.unwrap().extend({
@@ -490,7 +490,7 @@ const listSpamReports = sendgridOperation({
490
490
  }
491
491
  });
492
492
  const getSpamReport = sendgridOperation({
493
- id: "get_spam_report",
493
+ id: "sendgrid.get-spam-report",
494
494
  name: "Get Spam Report",
495
495
  description: "Retrieve spam-report suppression records for a specific email.",
496
496
  input: z.object({ email: sendgridEmailSchema }),
@@ -502,7 +502,7 @@ const getSpamReport = sendgridOperation({
502
502
  }
503
503
  });
504
504
  const deleteSpamReport = sendgridOperation({
505
- id: "delete_spam_report",
505
+ id: "sendgrid.delete-spam-report",
506
506
  name: "Delete Spam Report",
507
507
  description: "Delete a spam-report suppression record.",
508
508
  input: z.object({ email: sendgridEmailSchema }),
@@ -514,7 +514,7 @@ const deleteSpamReport = sendgridOperation({
514
514
  }
515
515
  });
516
516
  const deleteSpamReports = sendgridOperation({
517
- id: "delete_spam_reports",
517
+ id: "sendgrid.delete-spam-reports",
518
518
  name: "Delete Spam Reports",
519
519
  description: "Delete spam-report suppression records in bulk.",
520
520
  input: z.object({
@@ -22,7 +22,7 @@ function tpl(path) {
22
22
  return `/templates${path}`;
23
23
  }
24
24
  const createTemplate = sendgridOperation({
25
- id: "create_template",
25
+ id: "sendgrid.create-template",
26
26
  name: "Create Transactional Template",
27
27
  description: "Create a new transactional template.",
28
28
  input: z.object({
@@ -43,7 +43,7 @@ const createTemplate = sendgridOperation({
43
43
  }
44
44
  });
45
45
  const updateTemplate = sendgridOperation({
46
- id: "update_template",
46
+ id: "sendgrid.update-template",
47
47
  name: "Edit Transactional Template",
48
48
  description: "Rename a transactional template.",
49
49
  input: z.object({
@@ -61,7 +61,7 @@ const updateTemplate = sendgridOperation({
61
61
  }
62
62
  });
63
63
  const deleteTemplate = sendgridOperation({
64
- id: "delete_template",
64
+ id: "sendgrid.delete-template",
65
65
  name: "Delete Transactional Template",
66
66
  description: "Delete a transactional template and all its versions.",
67
67
  input: z.object({ templateId: sendgridIdSchema }),
@@ -73,7 +73,7 @@ const deleteTemplate = sendgridOperation({
73
73
  }
74
74
  });
75
75
  const duplicateTemplate = sendgridOperation({
76
- id: "duplicate_template",
76
+ id: "sendgrid.duplicate-template",
77
77
  name: "Duplicate Transactional Template",
78
78
  description: "Duplicate a transactional template. Optionally rename the copy.",
79
79
  input: z.object({
@@ -91,7 +91,7 @@ const duplicateTemplate = sendgridOperation({
91
91
  }
92
92
  });
93
93
  const getTemplate = sendgridOperation({
94
- id: "get_template",
94
+ id: "sendgrid.get-template",
95
95
  name: "Get Transactional Template",
96
96
  description: "Retrieve a single transactional template by ID.",
97
97
  input: z.object({ templateId: sendgridIdSchema }),
@@ -102,7 +102,7 @@ const getTemplate = sendgridOperation({
102
102
  }
103
103
  });
104
104
  const listTemplates = sendgridOperation({
105
- id: "list_templates",
105
+ id: "sendgrid.list-templates",
106
106
  name: "List Transactional Templates",
107
107
  description: "List transactional templates with optional generation filter and paging.",
108
108
  input: z.object({
@@ -125,7 +125,7 @@ const listTemplates = sendgridOperation({
125
125
  }
126
126
  });
127
127
  const createTemplateVersion = sendgridOperation({
128
- id: "create_template_version",
128
+ id: "sendgrid.create-template-version",
129
129
  name: "Create Template Version",
130
130
  description: "Add a new version to a transactional template.",
131
131
  input: z.object({
@@ -157,7 +157,7 @@ const createTemplateVersion = sendgridOperation({
157
157
  }
158
158
  });
159
159
  const updateTemplateVersion = sendgridOperation({
160
- id: "update_template_version",
160
+ id: "sendgrid.update-template-version",
161
161
  name: "Edit Template Version",
162
162
  description: "Update a version of a transactional template.",
163
163
  input: z.object({
@@ -190,7 +190,7 @@ const updateTemplateVersion = sendgridOperation({
190
190
  }
191
191
  });
192
192
  const deleteTemplateVersion = sendgridOperation({
193
- id: "delete_template_version",
193
+ id: "sendgrid.delete-template-version",
194
194
  name: "Delete Template Version",
195
195
  description: "Delete a specific version of a transactional template.",
196
196
  input: z.object({
@@ -205,7 +205,7 @@ const deleteTemplateVersion = sendgridOperation({
205
205
  }
206
206
  });
207
207
  const getTemplateVersion = sendgridOperation({
208
- id: "get_template_version",
208
+ id: "sendgrid.get-template-version",
209
209
  name: "Get Template Version",
210
210
  description: "Retrieve a single transactional template version.",
211
211
  input: z.object({
@@ -219,7 +219,7 @@ const getTemplateVersion = sendgridOperation({
219
219
  }
220
220
  });
221
221
  const activateTemplateVersion = sendgridOperation({
222
- id: "activate_template_version",
222
+ id: "sendgrid.activate-template-version",
223
223
  name: "Activate Template Version",
224
224
  description: "Make the specified version the active version of the template.",
225
225
  input: z.object({
@@ -11,7 +11,7 @@ var user_account_exports = /* @__PURE__ */ __exportAll({
11
11
  getUserScopes: () => getUserScopes
12
12
  });
13
13
  const getUserProfile = sendgridOperation({
14
- id: "get_user_profile",
14
+ id: "sendgrid.get-user-profile",
15
15
  name: "Get User Profile",
16
16
  description: "Retrieve the account profile (name, company, mailing address).",
17
17
  input: z.object({}).optional(),
@@ -22,7 +22,7 @@ const getUserProfile = sendgridOperation({
22
22
  }
23
23
  });
24
24
  const getAccountInfo = sendgridOperation({
25
- id: "get_account_info",
25
+ id: "sendgrid.get-account-info",
26
26
  name: "Get Account Info",
27
27
  description: "Retrieve account type + reputation score.",
28
28
  input: z.object({}).optional(),
@@ -33,7 +33,7 @@ const getAccountInfo = sendgridOperation({
33
33
  }
34
34
  });
35
35
  const getUserScopes = sendgridOperation({
36
- id: "get_user_scopes",
36
+ id: "sendgrid.get-user-scopes",
37
37
  name: "Get User Scopes",
38
38
  description: "Retrieve the list of API scopes the current API key has access to.",
39
39
  input: z.object({}).optional(),
@@ -44,7 +44,7 @@ const getUserScopes = sendgridOperation({
44
44
  }
45
45
  });
46
46
  const getCreditBalance = sendgridOperation({
47
- id: "get_credit_balance",
47
+ id: "sendgrid.get-credit-balance",
48
48
  name: "Get Credit Balance",
49
49
  description: "Retrieve the current SendGrid credit balance for the account.",
50
50
  input: z.object({}).optional(),