@keystrokehq/sendgrid 0.0.9 → 0.0.15
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 +11 -57
- package/dist/alerts.mjs +2 -2
- package/dist/api-keys.d.mts +13 -68
- package/dist/api-keys.mjs +2 -2
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +3 -2
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/domains.d.mts +7 -35
- package/dist/domains.mjs +2 -2
- package/dist/email-validation.d.mts +10 -47
- package/dist/email-validation.mjs +2 -2
- package/dist/{factory-CToXR1jp.mjs → factory-7q6CQ75J.mjs} +2 -1
- package/dist/{integration-zx-jmybs.d.mts → integration-Cj4Xzfq_.d.mts} +6 -14
- package/dist/integration-DHWfpe0w.mjs +24 -0
- package/dist/mail-send.d.mts +17 -90
- package/dist/mail-send.mjs +2 -2
- package/dist/marketing-contacts.d.mts +33 -178
- package/dist/marketing-contacts.mjs +2 -2
- package/dist/marketing-customfields.d.mts +7 -35
- package/dist/marketing-customfields.mjs +1 -1
- package/dist/marketing-lists.d.mts +15 -79
- package/dist/marketing-lists.mjs +2 -2
- package/dist/marketing-segments.d.mts +21 -112
- package/dist/marketing-segments.mjs +2 -2
- package/dist/marketing-singlesends.d.mts +31 -158
- package/dist/marketing-singlesends.mjs +2 -2
- package/dist/schemas/index.d.mts +3 -3
- package/dist/sender-identities.d.mts +13 -68
- package/dist/sender-identities.mjs +1 -1
- package/dist/senders.d.mts +11 -57
- package/dist/senders.mjs +1 -1
- package/dist/shared-CQ8JFNXi.mjs +13 -0
- package/dist/stats.d.mts +12 -58
- package/dist/stats.mjs +2 -2
- package/dist/suppressions.d.mts +63 -343
- package/dist/suppressions.mjs +2 -2
- package/dist/templates.d.mts +30 -130
- package/dist/templates.mjs +2 -2
- package/dist/user-account.d.mts +9 -46
- package/dist/user-account.mjs +1 -1
- package/dist/webhooks/event.d.mts +17 -90
- package/dist/webhooks/event.mjs +2 -2
- package/dist/webhooks/parse.d.mts +13 -68
- package/dist/webhooks/parse.mjs +2 -2
- package/package.json +5 -5
- package/dist/integration-C9EALG65.mjs +0 -113
- package/dist/shared-BayZ0Lt6.mjs +0 -46
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/marketing-singlesends.d.ts
|
|
6
5
|
declare const createSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -62,7 +61,7 @@ declare const createSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
62
61
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
63
62
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
64
63
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
65
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
64
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
66
65
|
SENDGRID_API_KEY: z.ZodString;
|
|
67
66
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
68
67
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -71,16 +70,7 @@ declare const createSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
71
70
|
}>>;
|
|
72
71
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
73
72
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
74
|
-
}, z.core.$strip
|
|
75
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
76
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
77
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
78
|
-
global: "global";
|
|
79
|
-
eu: "eu";
|
|
80
|
-
}>>;
|
|
81
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
82
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
73
|
+
}, z.core.$strip>>], undefined>;
|
|
84
74
|
declare const updateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
85
75
|
name: z.ZodOptional<z.ZodString>;
|
|
86
76
|
categories: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -141,16 +131,7 @@ declare const updateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
141
131
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
142
132
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
143
133
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
144
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
145
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
146
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
147
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
148
|
-
global: "global";
|
|
149
|
-
eu: "eu";
|
|
150
|
-
}>>;
|
|
151
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
152
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
153
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
134
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
154
135
|
SENDGRID_API_KEY: z.ZodString;
|
|
155
136
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
156
137
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -159,7 +140,7 @@ declare const updateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
159
140
|
}>>;
|
|
160
141
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
161
142
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
162
|
-
}, z.core.$strip>>
|
|
143
|
+
}, z.core.$strip>>], undefined>;
|
|
163
144
|
declare const duplicateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
164
145
|
id: z.ZodString;
|
|
165
146
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -198,7 +179,7 @@ declare const duplicateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
198
179
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
199
180
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
200
181
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
201
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
182
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
202
183
|
SENDGRID_API_KEY: z.ZodString;
|
|
203
184
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
204
185
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -207,21 +188,12 @@ declare const duplicateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
207
188
|
}>>;
|
|
208
189
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
209
190
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
210
|
-
}, z.core.$strip
|
|
211
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
212
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
213
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
214
|
-
global: "global";
|
|
215
|
-
eu: "eu";
|
|
216
|
-
}>>;
|
|
217
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
218
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
219
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
191
|
+
}, z.core.$strip>>], undefined>;
|
|
220
192
|
declare const deleteSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
221
193
|
id: z.ZodString;
|
|
222
194
|
}, z.core.$strip>, z.ZodObject<{
|
|
223
195
|
success: z.ZodBoolean;
|
|
224
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
196
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
225
197
|
SENDGRID_API_KEY: z.ZodString;
|
|
226
198
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
227
199
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -230,21 +202,12 @@ declare const deleteSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
230
202
|
}>>;
|
|
231
203
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
232
204
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
233
|
-
}, z.core.$strip
|
|
234
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
235
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
236
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
237
|
-
global: "global";
|
|
238
|
-
eu: "eu";
|
|
239
|
-
}>>;
|
|
240
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
241
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
242
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
205
|
+
}, z.core.$strip>>], undefined>;
|
|
243
206
|
declare const bulkDeleteSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
244
207
|
ids: z.ZodArray<z.ZodString>;
|
|
245
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
246
209
|
success: z.ZodBoolean;
|
|
247
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
210
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
248
211
|
SENDGRID_API_KEY: z.ZodString;
|
|
249
212
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
250
213
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -253,16 +216,7 @@ declare const bulkDeleteSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
253
216
|
}>>;
|
|
254
217
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
255
218
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
256
|
-
}, z.core.$strip
|
|
257
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
258
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
259
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
260
|
-
global: "global";
|
|
261
|
-
eu: "eu";
|
|
262
|
-
}>>;
|
|
263
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
264
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
265
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
219
|
+
}, z.core.$strip>>], undefined>;
|
|
266
220
|
declare const getSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
267
221
|
id: z.ZodString;
|
|
268
222
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -300,7 +254,7 @@ declare const getSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
300
254
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
301
255
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
302
256
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
303
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
257
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
304
258
|
SENDGRID_API_KEY: z.ZodString;
|
|
305
259
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
306
260
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -309,16 +263,7 @@ declare const getSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
309
263
|
}>>;
|
|
310
264
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
311
265
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
312
|
-
}, z.core.$strip
|
|
313
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
314
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
315
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
316
|
-
global: "global";
|
|
317
|
-
eu: "eu";
|
|
318
|
-
}>>;
|
|
319
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
320
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
321
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
266
|
+
}, z.core.$strip>>], undefined>;
|
|
322
267
|
declare const listSingleSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
|
|
323
268
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
324
269
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
@@ -359,16 +304,7 @@ declare const listSingleSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
|
|
|
359
304
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
360
305
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
361
306
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
362
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
363
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
364
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
365
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
366
|
-
global: "global";
|
|
367
|
-
eu: "eu";
|
|
368
|
-
}>>;
|
|
369
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
370
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
371
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
307
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
372
308
|
SENDGRID_API_KEY: z.ZodString;
|
|
373
309
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
374
310
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -377,7 +313,7 @@ declare const listSingleSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
|
|
|
377
313
|
}>>;
|
|
378
314
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
379
315
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
380
|
-
}, z.core.$strip>>
|
|
316
|
+
}, z.core.$strip>>], undefined>;
|
|
381
317
|
declare const searchSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
382
318
|
name: z.ZodOptional<z.ZodString>;
|
|
383
319
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -426,16 +362,7 @@ declare const searchSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
426
362
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
427
363
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
428
364
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
429
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
430
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
431
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
432
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
433
|
-
global: "global";
|
|
434
|
-
eu: "eu";
|
|
435
|
-
}>>;
|
|
436
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
437
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
438
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
365
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
439
366
|
SENDGRID_API_KEY: z.ZodString;
|
|
440
367
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
441
368
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -444,7 +371,7 @@ declare const searchSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
444
371
|
}>>;
|
|
445
372
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
446
373
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
447
|
-
}, z.core.$strip>>
|
|
374
|
+
}, z.core.$strip>>], undefined>;
|
|
448
375
|
declare const scheduleSingleSend: _keystrokehq_core0.Operation<z.ZodIntersection<z.ZodObject<{
|
|
449
376
|
id: z.ZodString;
|
|
450
377
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -484,16 +411,7 @@ declare const scheduleSingleSend: _keystrokehq_core0.Operation<z.ZodIntersection
|
|
|
484
411
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
485
412
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
486
413
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
487
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
488
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
489
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
490
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
491
|
-
global: "global";
|
|
492
|
-
eu: "eu";
|
|
493
|
-
}>>;
|
|
494
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
495
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
496
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
414
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
497
415
|
SENDGRID_API_KEY: z.ZodString;
|
|
498
416
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
499
417
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -502,12 +420,12 @@ declare const scheduleSingleSend: _keystrokehq_core0.Operation<z.ZodIntersection
|
|
|
502
420
|
}>>;
|
|
503
421
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
504
422
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
505
|
-
}, z.core.$strip>>
|
|
423
|
+
}, z.core.$strip>>], undefined>;
|
|
506
424
|
declare const unscheduleSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
507
425
|
id: z.ZodString;
|
|
508
426
|
}, z.core.$strip>, z.ZodObject<{
|
|
509
427
|
success: z.ZodBoolean;
|
|
510
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
428
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
511
429
|
SENDGRID_API_KEY: z.ZodString;
|
|
512
430
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
513
431
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -516,16 +434,7 @@ declare const unscheduleSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
516
434
|
}>>;
|
|
517
435
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
518
436
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
519
|
-
}, z.core.$strip
|
|
520
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
521
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
522
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
523
|
-
global: "global";
|
|
524
|
-
eu: "eu";
|
|
525
|
-
}>>;
|
|
526
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
527
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
528
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
437
|
+
}, z.core.$strip>>], undefined>;
|
|
529
438
|
declare const sendTestMarketingEmail: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
530
439
|
template_id: z.ZodOptional<z.ZodString>;
|
|
531
440
|
version_id_override: z.ZodOptional<z.ZodString>;
|
|
@@ -536,7 +445,7 @@ declare const sendTestMarketingEmail: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
536
445
|
from_address: z.ZodOptional<z.ZodString>;
|
|
537
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
538
447
|
success: z.ZodBoolean;
|
|
539
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
448
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
540
449
|
SENDGRID_API_KEY: z.ZodString;
|
|
541
450
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
542
451
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -545,22 +454,13 @@ declare const sendTestMarketingEmail: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
545
454
|
}>>;
|
|
546
455
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
547
456
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
548
|
-
}, z.core.$strip
|
|
549
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
550
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
551
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
552
|
-
global: "global";
|
|
553
|
-
eu: "eu";
|
|
554
|
-
}>>;
|
|
555
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
556
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
557
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
457
|
+
}, z.core.$strip>>], undefined>;
|
|
558
458
|
declare const listSingleSendStats: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
|
|
559
459
|
aggregatedBy: z.ZodOptional<z.ZodEnum<{
|
|
460
|
+
total: "total";
|
|
560
461
|
day: "day";
|
|
561
462
|
week: "week";
|
|
562
463
|
month: "month";
|
|
563
|
-
total: "total";
|
|
564
464
|
}>>;
|
|
565
465
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
566
466
|
}, z.core.$strip>>, z.ZodObject<{
|
|
@@ -569,7 +469,7 @@ declare const listSingleSendStats: _keystrokehq_core0.Operation<z.ZodOptional<z.
|
|
|
569
469
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
570
470
|
stats: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
571
471
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
572
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
472
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
573
473
|
SENDGRID_API_KEY: z.ZodString;
|
|
574
474
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
575
475
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -578,29 +478,20 @@ declare const listSingleSendStats: _keystrokehq_core0.Operation<z.ZodOptional<z.
|
|
|
578
478
|
}>>;
|
|
579
479
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
580
480
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
581
|
-
}, z.core.$strip
|
|
582
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
583
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
584
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
585
|
-
global: "global";
|
|
586
|
-
eu: "eu";
|
|
587
|
-
}>>;
|
|
588
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
589
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
590
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
481
|
+
}, z.core.$strip>>], undefined>;
|
|
591
482
|
declare const getSingleSendStats: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
592
483
|
id: z.ZodString;
|
|
593
484
|
aggregatedBy: z.ZodOptional<z.ZodEnum<{
|
|
485
|
+
total: "total";
|
|
594
486
|
day: "day";
|
|
595
487
|
week: "week";
|
|
596
488
|
month: "month";
|
|
597
|
-
total: "total";
|
|
598
489
|
}>>;
|
|
599
490
|
}, z.core.$strip>, z.ZodObject<{
|
|
600
491
|
id: z.ZodString;
|
|
601
492
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
602
493
|
stats: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
603
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
494
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
604
495
|
SENDGRID_API_KEY: z.ZodString;
|
|
605
496
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
606
497
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -609,32 +500,14 @@ declare const getSingleSendStats: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
609
500
|
}>>;
|
|
610
501
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
611
502
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
612
|
-
}, z.core.$strip
|
|
613
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
614
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
615
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
616
|
-
global: "global";
|
|
617
|
-
eu: "eu";
|
|
618
|
-
}>>;
|
|
619
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
620
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
621
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
503
|
+
}, z.core.$strip>>], undefined>;
|
|
622
504
|
declare const getSingleSendClickStats: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
623
505
|
id: z.ZodString;
|
|
624
506
|
}, z.core.$strip>, z.ZodObject<{
|
|
625
507
|
id: z.ZodString;
|
|
626
508
|
aggregation: z.ZodOptional<z.ZodString>;
|
|
627
509
|
stats: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
628
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
629
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
630
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
631
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
632
|
-
global: "global";
|
|
633
|
-
eu: "eu";
|
|
634
|
-
}>>;
|
|
635
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
636
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
510
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
638
511
|
SENDGRID_API_KEY: z.ZodString;
|
|
639
512
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
640
513
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -643,6 +516,6 @@ declare const getSingleSendClickStats: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
643
516
|
}>>;
|
|
644
517
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
645
518
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
646
|
-
}, z.core.$strip>>
|
|
519
|
+
}, z.core.$strip>>], undefined>;
|
|
647
520
|
//#endregion
|
|
648
521
|
export { bulkDeleteSingleSends, createSingleSend, deleteSingleSend, duplicateSingleSend, getSingleSend, getSingleSendClickStats, getSingleSendStats, listSingleSendStats, listSingleSends, scheduleSingleSend, searchSingleSends, sendTestMarketingEmail, unscheduleSingleSend, updateSingleSend };
|
|
@@ -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-7q6CQ75J.mjs";
|
|
2
|
+
import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { $ as sendgridSingleSendTestInputSchema, G as sendgridSingleSendListSchema, J as sendgridSingleSendSearchInputSchema, K as sendgridSingleSendScheduleInputSchema, U as sendgridSingleSendClicksSchema, W as sendgridSingleSendEmailConfigSchema, X as sendgridSingleSendStatsListSchema, Y as sendgridSingleSendSendToSchema, Z as sendgridSingleSendStatsSchema, on as sendgridIdSchema, q as sendgridSingleSendSchema } from "./webhooks-CKdsIikb.mjs";
|
|
5
5
|
import { z } from "zod";
|
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1156,8 +1156,8 @@ declare const sendgridGroupSuppressionListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1156
1156
|
//#endregion
|
|
1157
1157
|
//#region src/schemas/templates.d.ts
|
|
1158
1158
|
declare const sendgridTemplateGenerationSchema: z.ZodEnum<{
|
|
1159
|
-
dynamic: "dynamic";
|
|
1160
1159
|
legacy: "legacy";
|
|
1160
|
+
dynamic: "dynamic";
|
|
1161
1161
|
}>;
|
|
1162
1162
|
declare const sendgridTemplateVersionSchema: z.ZodObject<{
|
|
1163
1163
|
id: z.ZodString;
|
|
@@ -1178,8 +1178,8 @@ declare const sendgridTemplateSchema: z.ZodObject<{
|
|
|
1178
1178
|
id: z.ZodString;
|
|
1179
1179
|
name: z.ZodString;
|
|
1180
1180
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
1181
|
-
dynamic: "dynamic";
|
|
1182
1181
|
legacy: "legacy";
|
|
1182
|
+
dynamic: "dynamic";
|
|
1183
1183
|
}>>;
|
|
1184
1184
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1185
1185
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1203,8 +1203,8 @@ declare const sendgridTemplateListSchema: z.ZodObject<{
|
|
|
1203
1203
|
id: z.ZodString;
|
|
1204
1204
|
name: z.ZodString;
|
|
1205
1205
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
1206
|
-
dynamic: "dynamic";
|
|
1207
1206
|
legacy: "legacy";
|
|
1207
|
+
dynamic: "dynamic";
|
|
1208
1208
|
}>>;
|
|
1209
1209
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1210
1210
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/sender-identities.d.ts
|
|
6
5
|
declare const createSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -30,7 +29,7 @@ declare const createSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
30
29
|
country: z.ZodOptional<z.ZodString>;
|
|
31
30
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
32
31
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
32
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
34
33
|
SENDGRID_API_KEY: z.ZodString;
|
|
35
34
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
36
35
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -39,16 +38,7 @@ declare const createSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
39
38
|
}>>;
|
|
40
39
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
41
40
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$strip
|
|
43
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
44
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
45
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
46
|
-
global: "global";
|
|
47
|
-
eu: "eu";
|
|
48
|
-
}>>;
|
|
49
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
50
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
41
|
+
}, z.core.$strip>>], undefined>;
|
|
52
42
|
declare const updateSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
53
43
|
nickname: z.ZodOptional<z.ZodString>;
|
|
54
44
|
from_email: z.ZodOptional<z.ZodString>;
|
|
@@ -77,7 +67,7 @@ declare const updateSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
77
67
|
country: z.ZodOptional<z.ZodString>;
|
|
78
68
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
79
69
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
70
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
81
71
|
SENDGRID_API_KEY: z.ZodString;
|
|
82
72
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
83
73
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -86,30 +76,12 @@ declare const updateSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
86
76
|
}>>;
|
|
87
77
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
88
78
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
89
|
-
}, z.core.$strip
|
|
90
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
91
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
92
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
93
|
-
global: "global";
|
|
94
|
-
eu: "eu";
|
|
95
|
-
}>>;
|
|
96
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
97
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
79
|
+
}, z.core.$strip>>], undefined>;
|
|
99
80
|
declare const deleteSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
100
81
|
id: z.ZodNumber;
|
|
101
82
|
}, z.core.$strip>, z.ZodObject<{
|
|
102
83
|
success: z.ZodBoolean;
|
|
103
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
104
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
105
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
106
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
107
|
-
global: "global";
|
|
108
|
-
eu: "eu";
|
|
109
|
-
}>>;
|
|
110
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
111
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
84
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
113
85
|
SENDGRID_API_KEY: z.ZodString;
|
|
114
86
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
115
87
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -118,7 +90,7 @@ declare const deleteSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
118
90
|
}>>;
|
|
119
91
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
120
92
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
121
|
-
}, z.core.$strip>>
|
|
93
|
+
}, z.core.$strip>>], undefined>;
|
|
122
94
|
declare const getSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
123
95
|
id: z.ZodNumber;
|
|
124
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -136,7 +108,7 @@ declare const getSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
136
108
|
country: z.ZodOptional<z.ZodString>;
|
|
137
109
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
138
110
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
111
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
140
112
|
SENDGRID_API_KEY: z.ZodString;
|
|
141
113
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
142
114
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -145,16 +117,7 @@ declare const getSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
145
117
|
}>>;
|
|
146
118
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
147
119
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
148
|
-
}, z.core.$strip
|
|
149
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
150
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
151
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
152
|
-
global: "global";
|
|
153
|
-
eu: "eu";
|
|
154
|
-
}>>;
|
|
155
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
156
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
120
|
+
}, z.core.$strip>>], undefined>;
|
|
158
121
|
declare const listSenderIdentities: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
159
122
|
results: z.ZodArray<z.ZodObject<{
|
|
160
123
|
id: z.ZodNumber;
|
|
@@ -172,7 +135,7 @@ declare const listSenderIdentities: _keystrokehq_core0.Operation<z.ZodOptional<z
|
|
|
172
135
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
173
136
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
174
137
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
175
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
138
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
176
139
|
SENDGRID_API_KEY: z.ZodString;
|
|
177
140
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
178
141
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -181,30 +144,12 @@ declare const listSenderIdentities: _keystrokehq_core0.Operation<z.ZodOptional<z
|
|
|
181
144
|
}>>;
|
|
182
145
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
183
146
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strip
|
|
185
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
186
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
187
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
188
|
-
global: "global";
|
|
189
|
-
eu: "eu";
|
|
190
|
-
}>>;
|
|
191
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
192
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
193
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
147
|
+
}, z.core.$strip>>], undefined>;
|
|
194
148
|
declare const resendSenderIdentityVerification: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
195
149
|
id: z.ZodNumber;
|
|
196
150
|
}, z.core.$strip>, z.ZodObject<{
|
|
197
151
|
success: z.ZodBoolean;
|
|
198
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
|
|
199
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
200
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
201
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
202
|
-
global: "global";
|
|
203
|
-
eu: "eu";
|
|
204
|
-
}>>;
|
|
205
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
206
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
207
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
152
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
208
153
|
SENDGRID_API_KEY: z.ZodString;
|
|
209
154
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
210
155
|
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
@@ -213,6 +158,6 @@ declare const resendSenderIdentityVerification: _keystrokehq_core0.Operation<z.Z
|
|
|
213
158
|
}>>;
|
|
214
159
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
215
160
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
216
|
-
}, z.core.$strip>>
|
|
161
|
+
}, z.core.$strip>>], undefined>;
|
|
217
162
|
//#endregion
|
|
218
163
|
export { createSenderIdentity, deleteSenderIdentity, getSenderIdentity, listSenderIdentities, resendSenderIdentityVerification, updateSenderIdentity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
|
|
2
2
|
import { createSendGridClient } from "./client.mjs";
|
|
3
3
|
import { in as sendgridEmailSchema, it as sendgridVerifiedSenderSchema, rt as sendgridVerifiedSenderListSchema } from "./webhooks-CKdsIikb.mjs";
|
|
4
4
|
import { z } from "zod";
|