@keystrokehq/sendgrid 0.0.7 → 0.0.9
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/dist/_official/index.d.mts +1 -1
- package/dist/_official/index.mjs +1 -1
- package/dist/alerts.d.mts +6 -6
- package/dist/alerts.mjs +7 -7
- package/dist/api-keys.d.mts +7 -7
- package/dist/api-keys.mjs +8 -8
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +2 -3
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/domains.d.mts +4 -4
- package/dist/domains.mjs +5 -5
- package/dist/email-validation.d.mts +6 -6
- package/dist/email-validation.mjs +6 -6
- package/dist/{factory-BSL0D2L0.mjs → factory-CToXR1jp.mjs} +1 -2
- package/dist/integration-C9EALG65.mjs +113 -0
- package/dist/{integration-DpbPKcSF.d.mts → integration-zx-jmybs.d.mts} +3 -4
- package/dist/mail-send.d.mts +9 -9
- package/dist/mail-send.mjs +10 -10
- package/dist/marketing-contacts.d.mts +17 -17
- package/dist/marketing-contacts.mjs +18 -18
- package/dist/marketing-customfields.d.mts +4 -4
- package/dist/marketing-customfields.mjs +4 -4
- package/dist/marketing-lists.d.mts +8 -8
- package/dist/marketing-lists.mjs +9 -9
- package/dist/marketing-segments.d.mts +11 -11
- package/dist/marketing-segments.mjs +12 -12
- package/dist/marketing-singlesends.d.mts +17 -17
- package/dist/marketing-singlesends.mjs +16 -16
- package/dist/sender-identities.d.mts +7 -7
- package/dist/sender-identities.mjs +7 -7
- package/dist/senders.d.mts +6 -6
- package/dist/senders.mjs +6 -6
- package/dist/shared-BayZ0Lt6.mjs +46 -0
- package/dist/stats.d.mts +7 -7
- package/dist/stats.mjs +7 -7
- package/dist/suppressions.d.mts +32 -32
- package/dist/suppressions.mjs +33 -33
- package/dist/templates.d.mts +12 -12
- package/dist/templates.mjs +13 -13
- package/dist/user-account.d.mts +5 -5
- package/dist/user-account.mjs +5 -5
- package/dist/webhooks/event.d.mts +9 -9
- package/dist/webhooks/event.mjs +10 -10
- package/dist/webhooks/parse.d.mts +7 -7
- package/dist/webhooks/parse.mjs +8 -8
- package/package.json +4 -4
- package/dist/integration-37BovSeK.mjs +0 -23
- package/dist/shared-CQ8JFNXi.mjs +0 -13
package/dist/suppressions.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
2
|
-
import { n as omitUndefined } from "./shared-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
|
|
2
|
+
import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { C as sendgridBounceListSchema, E as sendgridGlobalSuppressionSchema, N as sendgridSuppressionGroupListSchema, O as sendgridGroupSuppressionListSchema, P as sendgridSuppressionGroupSchema, T as sendgridGlobalSuppressionListSchema, in as sendgridEmailSchema, j as sendgridSpamReportListSchema, k as sendgridInvalidEmailListSchema, x as sendgridBlockListSchema } from "./webhooks-CKdsIikb.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -50,7 +50,7 @@ function mapTimeQuery(range) {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
const addGlobalSuppressions = sendgridOperation({
|
|
53
|
-
id: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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({
|
package/dist/templates.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/templates.d.ts
|
|
6
6
|
declare const createTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -32,7 +32,7 @@ declare const createTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
32
32
|
}>>;
|
|
33
33
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
34
34
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
35
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
35
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
36
36
|
SENDGRID_API_KEY: z.ZodString;
|
|
37
37
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
38
38
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -77,7 +77,7 @@ declare const updateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
77
77
|
}>>;
|
|
78
78
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
79
79
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
80
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
80
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
81
81
|
SENDGRID_API_KEY: z.ZodString;
|
|
82
82
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
83
83
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -100,7 +100,7 @@ declare const deleteTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
100
100
|
templateId: z.ZodString;
|
|
101
101
|
}, z.core.$strip>, z.ZodObject<{
|
|
102
102
|
success: z.ZodBoolean;
|
|
103
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
103
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
104
104
|
SENDGRID_API_KEY: z.ZodString;
|
|
105
105
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
106
106
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -145,7 +145,7 @@ declare const duplicateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
145
145
|
}>>;
|
|
146
146
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
147
147
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
148
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
148
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
149
149
|
SENDGRID_API_KEY: z.ZodString;
|
|
150
150
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
151
151
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -189,7 +189,7 @@ declare const getTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
189
189
|
}>>;
|
|
190
190
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
191
191
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
192
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
192
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
193
193
|
SENDGRID_API_KEY: z.ZodString;
|
|
194
194
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
195
195
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -241,7 +241,7 @@ declare const listTemplates: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
|
|
|
241
241
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
242
242
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
243
243
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
244
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
244
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
245
245
|
SENDGRID_API_KEY: z.ZodString;
|
|
246
246
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
247
247
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -286,7 +286,7 @@ declare const createTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
286
286
|
design: "design";
|
|
287
287
|
}>>;
|
|
288
288
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
289
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
289
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
290
290
|
SENDGRID_API_KEY: z.ZodString;
|
|
291
291
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
292
292
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -332,7 +332,7 @@ declare const updateTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
332
332
|
design: "design";
|
|
333
333
|
}>>;
|
|
334
334
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
335
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
335
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
336
336
|
SENDGRID_API_KEY: z.ZodString;
|
|
337
337
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
338
338
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -356,7 +356,7 @@ declare const deleteTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
356
356
|
versionId: z.ZodString;
|
|
357
357
|
}, z.core.$strip>, z.ZodObject<{
|
|
358
358
|
success: z.ZodBoolean;
|
|
359
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
359
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
360
360
|
SENDGRID_API_KEY: z.ZodString;
|
|
361
361
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
362
362
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -392,7 +392,7 @@ declare const getTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
392
392
|
design: "design";
|
|
393
393
|
}>>;
|
|
394
394
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
395
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
395
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
396
396
|
SENDGRID_API_KEY: z.ZodString;
|
|
397
397
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
398
398
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -428,7 +428,7 @@ declare const activateTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
428
428
|
design: "design";
|
|
429
429
|
}>>;
|
|
430
430
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
431
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
431
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
432
432
|
SENDGRID_API_KEY: z.ZodString;
|
|
433
433
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
434
434
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
package/dist/templates.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
2
|
-
import { n as omitUndefined } from "./shared-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
|
|
2
|
+
import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { _ as sendgridTemplateGenerationSchema, b as sendgridTemplateVersionSchema, on as sendgridIdSchema, v as sendgridTemplateListSchema, y as sendgridTemplateSchema } from "./webhooks-CKdsIikb.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -22,7 +22,7 @@ function tpl(path) {
|
|
|
22
22
|
return `/templates${path}`;
|
|
23
23
|
}
|
|
24
24
|
const createTemplate = sendgridOperation({
|
|
25
|
-
id: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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({
|
package/dist/user-account.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/user-account.d.ts
|
|
6
6
|
declare const getUserProfile: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
@@ -15,7 +15,7 @@ declare const getUserProfile: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodOb
|
|
|
15
15
|
state: z.ZodOptional<z.ZodString>;
|
|
16
16
|
website: z.ZodOptional<z.ZodString>;
|
|
17
17
|
zip: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
18
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
19
19
|
SENDGRID_API_KEY: z.ZodString;
|
|
20
20
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
21
21
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -37,7 +37,7 @@ declare const getUserProfile: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodOb
|
|
|
37
37
|
declare const getAccountInfo: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
38
38
|
type: z.ZodString;
|
|
39
39
|
reputation: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
40
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
41
41
|
SENDGRID_API_KEY: z.ZodString;
|
|
42
42
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
43
43
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -58,7 +58,7 @@ declare const getAccountInfo: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodOb
|
|
|
58
58
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
59
59
|
declare const getUserScopes: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
60
60
|
scopes: z.ZodArray<z.ZodString>;
|
|
61
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
61
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
62
62
|
SENDGRID_API_KEY: z.ZodString;
|
|
63
63
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
64
64
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -85,7 +85,7 @@ declare const getCreditBalance: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
|
|
|
85
85
|
last_reset: z.ZodOptional<z.ZodString>;
|
|
86
86
|
next_reset: z.ZodOptional<z.ZodString>;
|
|
87
87
|
reset_frequency: z.ZodOptional<z.ZodString>;
|
|
88
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
88
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
89
89
|
SENDGRID_API_KEY: z.ZodString;
|
|
90
90
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
91
91
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
package/dist/user-account.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
|
|
2
2
|
import { createSendGridClient } from "./client.mjs";
|
|
3
3
|
import { f as sendgridAccountInfoSchema, g as sendgridUserProfileSchema, m as sendgridScopesSchema, p as sendgridCreditBalanceSchema } from "./webhooks-CKdsIikb.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -11,7 +11,7 @@ var user_account_exports = /* @__PURE__ */ __exportAll({
|
|
|
11
11
|
getUserScopes: () => getUserScopes
|
|
12
12
|
});
|
|
13
13
|
const getUserProfile = sendgridOperation({
|
|
14
|
-
id: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
|
|
5
5
|
//#region src/webhooks/event.d.ts
|
|
6
6
|
declare const createEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -39,7 +39,7 @@ declare const createEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
39
39
|
dropped: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
oauth_client_id: z.ZodOptional<z.ZodString>;
|
|
41
41
|
oauth_token_url: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
43
43
|
SENDGRID_API_KEY: z.ZodString;
|
|
44
44
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
45
45
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -95,7 +95,7 @@ declare const updateEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
95
95
|
dropped: z.ZodOptional<z.ZodBoolean>;
|
|
96
96
|
oauth_client_id: z.ZodOptional<z.ZodString>;
|
|
97
97
|
oauth_token_url: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
98
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
99
99
|
SENDGRID_API_KEY: z.ZodString;
|
|
100
100
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
101
101
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -118,7 +118,7 @@ declare const deleteEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
118
118
|
webhookId: z.ZodString;
|
|
119
119
|
}, z.core.$strip>, z.ZodObject<{
|
|
120
120
|
success: z.ZodBoolean;
|
|
121
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
121
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
122
122
|
SENDGRID_API_KEY: z.ZodString;
|
|
123
123
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
124
124
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -158,7 +158,7 @@ declare const listEventWebhooks: _keystrokehq_core0.Operation<z.ZodOptional<z.Zo
|
|
|
158
158
|
oauth_client_id: z.ZodOptional<z.ZodString>;
|
|
159
159
|
oauth_token_url: z.ZodOptional<z.ZodString>;
|
|
160
160
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
161
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
161
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
162
162
|
SENDGRID_API_KEY: z.ZodString;
|
|
163
163
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
164
164
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -197,7 +197,7 @@ declare const getEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
197
197
|
dropped: z.ZodOptional<z.ZodBoolean>;
|
|
198
198
|
oauth_client_id: z.ZodOptional<z.ZodString>;
|
|
199
199
|
oauth_token_url: z.ZodOptional<z.ZodString>;
|
|
200
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
200
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
201
201
|
SENDGRID_API_KEY: z.ZodString;
|
|
202
202
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
203
203
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -218,7 +218,7 @@ declare const getEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
218
218
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
219
219
|
declare const getSignedPublicKey: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
220
220
|
public_key: z.ZodString;
|
|
221
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
221
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
222
222
|
SENDGRID_API_KEY: z.ZodString;
|
|
223
223
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
224
224
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -241,7 +241,7 @@ declare const toggleWebhookSignature: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
241
241
|
enabled: z.ZodBoolean;
|
|
242
242
|
}, z.core.$strip>, z.ZodObject<{
|
|
243
243
|
enabled: z.ZodBoolean;
|
|
244
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
244
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
245
245
|
SENDGRID_API_KEY: z.ZodString;
|
|
246
246
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
247
247
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -264,7 +264,7 @@ declare const testEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
264
264
|
url: z.ZodString;
|
|
265
265
|
}, z.core.$strip>, z.ZodObject<{
|
|
266
266
|
success: z.ZodBoolean;
|
|
267
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
267
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
268
268
|
SENDGRID_API_KEY: z.ZodString;
|
|
269
269
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
270
270
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|