@keystrokehq/sendgrid 0.0.8 → 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 +5 -51
- package/dist/alerts.mjs +1 -1
- package/dist/api-keys.d.mts +6 -61
- package/dist/api-keys.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/domains.d.mts +3 -31
- package/dist/domains.mjs +1 -1
- package/dist/email-validation.d.mts +4 -41
- package/dist/email-validation.mjs +1 -1
- package/dist/{factory-BSL0D2L0.mjs → factory-7q6CQ75J.mjs} +1 -1
- package/dist/{integration-DpbPKcSF.d.mts → integration-Cj4Xzfq_.d.mts} +3 -12
- package/dist/{integration-37BovSeK.mjs → integration-DHWfpe0w.mjs} +1 -0
- package/dist/mail-send.d.mts +8 -81
- package/dist/mail-send.mjs +1 -1
- package/dist/marketing-contacts.d.mts +16 -161
- package/dist/marketing-contacts.mjs +1 -1
- package/dist/marketing-customfields.d.mts +3 -31
- package/dist/marketing-customfields.mjs +1 -1
- package/dist/marketing-lists.d.mts +7 -71
- package/dist/marketing-lists.mjs +1 -1
- package/dist/marketing-segments.d.mts +10 -101
- package/dist/marketing-segments.mjs +1 -1
- package/dist/marketing-singlesends.d.mts +14 -141
- package/dist/marketing-singlesends.mjs +1 -1
- package/dist/schemas/index.d.mts +3 -3
- package/dist/sender-identities.d.mts +6 -61
- package/dist/sender-identities.mjs +1 -1
- package/dist/senders.d.mts +5 -51
- package/dist/senders.mjs +1 -1
- package/dist/stats.d.mts +6 -52
- package/dist/stats.mjs +1 -1
- package/dist/suppressions.d.mts +31 -311
- package/dist/suppressions.mjs +1 -1
- package/dist/templates.d.mts +18 -118
- package/dist/templates.mjs +1 -1
- package/dist/user-account.d.mts +4 -41
- package/dist/user-account.mjs +1 -1
- package/dist/webhooks/event.d.mts +8 -81
- package/dist/webhooks/event.mjs +1 -1
- package/dist/webhooks/parse.d.mts +6 -61
- package/dist/webhooks/parse.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/marketing-segments.d.ts
|
|
@@ -31,16 +30,7 @@ declare const createSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
31
30
|
}>>;
|
|
32
31
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
33
32
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
34
|
-
}, z.core.$strip
|
|
35
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
36
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
37
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
38
|
-
global: "global";
|
|
39
|
-
eu: "eu";
|
|
40
|
-
}>>;
|
|
41
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
42
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
43
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
33
|
+
}, z.core.$strip>>], undefined>;
|
|
44
34
|
declare const updateSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
45
35
|
segmentId: z.ZodString;
|
|
46
36
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -69,16 +59,7 @@ declare const updateSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
69
59
|
}>>;
|
|
70
60
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
71
61
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
74
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
75
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
76
|
-
global: "global";
|
|
77
|
-
eu: "eu";
|
|
78
|
-
}>>;
|
|
79
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
81
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
62
|
+
}, z.core.$strip>>], undefined>;
|
|
82
63
|
declare const deleteSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
83
64
|
segmentId: z.ZodString;
|
|
84
65
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -92,16 +73,7 @@ declare const deleteSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
92
73
|
}>>;
|
|
93
74
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
94
75
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$strip
|
|
96
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
97
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
98
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
99
|
-
global: "global";
|
|
100
|
-
eu: "eu";
|
|
101
|
-
}>>;
|
|
102
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
103
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
104
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
76
|
+
}, z.core.$strip>>], undefined>;
|
|
105
77
|
declare const listSegments: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
|
|
106
78
|
parentListIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
79
|
noParentListId: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -131,16 +103,7 @@ declare const listSegments: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObje
|
|
|
131
103
|
}>>;
|
|
132
104
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
133
105
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
134
|
-
}, z.core.$strip
|
|
135
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
136
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
137
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
138
|
-
global: "global";
|
|
139
|
-
eu: "eu";
|
|
140
|
-
}>>;
|
|
141
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
142
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
143
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
106
|
+
}, z.core.$strip>>], undefined>;
|
|
144
107
|
declare const getSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
145
108
|
segmentId: z.ZodString;
|
|
146
109
|
contactsSample: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -168,16 +131,7 @@ declare const getSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
168
131
|
}>>;
|
|
169
132
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
170
133
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
171
|
-
}, z.core.$strip
|
|
172
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
173
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
174
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
175
|
-
global: "global";
|
|
176
|
-
eu: "eu";
|
|
177
|
-
}>>;
|
|
178
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
179
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
180
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
134
|
+
}, z.core.$strip>>], undefined>;
|
|
181
135
|
declare const refreshSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
182
136
|
segmentId: z.ZodString;
|
|
183
137
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -204,16 +158,7 @@ declare const refreshSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
204
158
|
}>>;
|
|
205
159
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
206
160
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
207
|
-
}, z.core.$strip
|
|
208
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
209
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
210
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
211
|
-
global: "global";
|
|
212
|
-
eu: "eu";
|
|
213
|
-
}>>;
|
|
214
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
215
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
216
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
161
|
+
}, z.core.$strip>>], undefined>;
|
|
217
162
|
declare const filterSegmentsByParents: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
218
163
|
parentListIds: z.ZodArray<z.ZodString>;
|
|
219
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -242,16 +187,7 @@ declare const filterSegmentsByParents: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
242
187
|
}>>;
|
|
243
188
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
244
189
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
245
|
-
}, z.core.$strip
|
|
246
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
247
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
248
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
249
|
-
global: "global";
|
|
250
|
-
eu: "eu";
|
|
251
|
-
}>>;
|
|
252
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
253
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
254
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
190
|
+
}, z.core.$strip>>], undefined>;
|
|
255
191
|
declare const createLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
256
192
|
name: z.ZodString;
|
|
257
193
|
parentListIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -280,16 +216,7 @@ declare const createLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
280
216
|
}>>;
|
|
281
217
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
282
218
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
283
|
-
}, z.core.$strip
|
|
284
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
285
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
286
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
287
|
-
global: "global";
|
|
288
|
-
eu: "eu";
|
|
289
|
-
}>>;
|
|
290
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
291
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
292
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
219
|
+
}, z.core.$strip>>], undefined>;
|
|
293
220
|
declare const deleteLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
294
221
|
segmentId: z.ZodString;
|
|
295
222
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -303,16 +230,7 @@ declare const deleteLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
303
230
|
}>>;
|
|
304
231
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
305
232
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
306
|
-
}, z.core.$strip
|
|
307
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
308
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
309
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
310
|
-
global: "global";
|
|
311
|
-
eu: "eu";
|
|
312
|
-
}>>;
|
|
313
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
314
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
315
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
233
|
+
}, z.core.$strip>>], undefined>;
|
|
316
234
|
declare const removeSegmentWithoutContacts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
317
235
|
segmentId: z.ZodString;
|
|
318
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -326,15 +244,6 @@ declare const removeSegmentWithoutContacts: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
326
244
|
}>>;
|
|
327
245
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
328
246
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
329
|
-
}, z.core.$strip
|
|
330
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
331
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
332
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
333
|
-
global: "global";
|
|
334
|
-
eu: "eu";
|
|
335
|
-
}>>;
|
|
336
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
337
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
338
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
247
|
+
}, z.core.$strip>>], undefined>;
|
|
339
248
|
//#endregion
|
|
340
249
|
export { createLegacySegment, createSegment, deleteLegacySegment, deleteSegment, filterSegmentsByParents, getSegment, listSegments, refreshSegment, removeSegmentWithoutContacts, updateSegment };
|
|
@@ -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 { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { at as sendgridSegmentListSchema, on as sendgridIdSchema, ot as sendgridSegmentSchema } from "./webhooks-CKdsIikb.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/marketing-singlesends.d.ts
|
|
@@ -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>>>;
|
|
@@ -150,16 +140,7 @@ declare const updateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
150
140
|
}>>;
|
|
151
141
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
152
142
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
153
|
-
}, z.core.$strip
|
|
154
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
155
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
156
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
157
|
-
global: "global";
|
|
158
|
-
eu: "eu";
|
|
159
|
-
}>>;
|
|
160
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
161
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
162
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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>;
|
|
@@ -207,16 +188,7 @@ 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<{
|
|
@@ -230,16 +202,7 @@ 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<{
|
|
@@ -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<{
|
|
@@ -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>;
|
|
@@ -368,16 +313,7 @@ declare const listSingleSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
|
|
|
368
313
|
}>>;
|
|
369
314
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
370
315
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
371
|
-
}, z.core.$strip
|
|
372
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
373
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
374
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
375
|
-
global: "global";
|
|
376
|
-
eu: "eu";
|
|
377
|
-
}>>;
|
|
378
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
379
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
380
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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<{
|
|
@@ -435,16 +371,7 @@ declare const searchSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
435
371
|
}>>;
|
|
436
372
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
437
373
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
438
|
-
}, z.core.$strip
|
|
439
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
440
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
441
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
442
|
-
global: "global";
|
|
443
|
-
eu: "eu";
|
|
444
|
-
}>>;
|
|
445
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
446
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
447
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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<{
|
|
@@ -493,16 +420,7 @@ declare const scheduleSingleSend: _keystrokehq_core0.Operation<z.ZodIntersection
|
|
|
493
420
|
}>>;
|
|
494
421
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
495
422
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
496
|
-
}, z.core.$strip
|
|
497
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
498
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
499
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
500
|
-
global: "global";
|
|
501
|
-
eu: "eu";
|
|
502
|
-
}>>;
|
|
503
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
504
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
505
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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<{
|
|
@@ -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>;
|
|
@@ -545,16 +454,7 @@ 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<{
|
|
560
460
|
total: "total";
|
|
@@ -578,16 +478,7 @@ 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<{
|
|
@@ -609,16 +500,7 @@ 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<{
|
|
@@ -634,15 +516,6 @@ declare const getSingleSendClickStats: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
634
516
|
}>>;
|
|
635
517
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
636
518
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.core.$strip
|
|
638
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
639
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
640
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
641
|
-
global: "global";
|
|
642
|
-
eu: "eu";
|
|
643
|
-
}>>;
|
|
644
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
645
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
646
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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,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 { 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";
|
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,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/sender-identities.d.ts
|
|
@@ -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>;
|
|
@@ -86,16 +76,7 @@ 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<{
|
|
@@ -109,16 +90,7 @@ declare const deleteSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
109
90
|
}>>;
|
|
110
91
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
111
92
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strip
|
|
113
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
114
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
115
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
116
|
-
global: "global";
|
|
117
|
-
eu: "eu";
|
|
118
|
-
}>>;
|
|
119
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
120
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
121
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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<{
|
|
@@ -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;
|
|
@@ -181,16 +144,7 @@ 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<{
|
|
@@ -204,15 +158,6 @@ declare const resendSenderIdentityVerification: _keystrokehq_core0.Operation<z.Z
|
|
|
204
158
|
}>>;
|
|
205
159
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
206
160
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
207
|
-
}, z.core.$strip
|
|
208
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
209
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
210
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
211
|
-
global: "global";
|
|
212
|
-
eu: "eu";
|
|
213
|
-
}>>;
|
|
214
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
215
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
216
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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";
|