@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
package/dist/templates.d.mts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
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/templates.d.ts
|
|
6
5
|
declare const createTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
9
|
-
dynamic: "dynamic";
|
|
10
8
|
legacy: "legacy";
|
|
9
|
+
dynamic: "dynamic";
|
|
11
10
|
}>>;
|
|
12
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
13
12
|
id: z.ZodString;
|
|
14
13
|
name: z.ZodString;
|
|
15
14
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
16
|
-
dynamic: "dynamic";
|
|
17
15
|
legacy: "legacy";
|
|
16
|
+
dynamic: "dynamic";
|
|
18
17
|
}>>;
|
|
19
18
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
20
19
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -41,16 +40,7 @@ declare const createTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
41
40
|
}>>;
|
|
42
41
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
43
42
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
44
|
-
}, z.core.$strip
|
|
45
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
46
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
47
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
48
|
-
global: "global";
|
|
49
|
-
eu: "eu";
|
|
50
|
-
}>>;
|
|
51
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
52
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
53
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
43
|
+
}, z.core.$strip>>], undefined>;
|
|
54
44
|
declare const updateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
55
45
|
templateId: z.ZodString;
|
|
56
46
|
name: z.ZodString;
|
|
@@ -58,8 +48,8 @@ declare const updateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
48
|
id: z.ZodString;
|
|
59
49
|
name: z.ZodString;
|
|
60
50
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
61
|
-
dynamic: "dynamic";
|
|
62
51
|
legacy: "legacy";
|
|
52
|
+
dynamic: "dynamic";
|
|
63
53
|
}>>;
|
|
64
54
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
65
55
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -86,16 +76,7 @@ declare const updateTemplate: _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 deleteTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
100
81
|
templateId: z.ZodString;
|
|
101
82
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -109,16 +90,7 @@ declare const deleteTemplate: _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 duplicateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
123
95
|
templateId: z.ZodString;
|
|
124
96
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -126,8 +98,8 @@ declare const duplicateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
126
98
|
id: z.ZodString;
|
|
127
99
|
name: z.ZodString;
|
|
128
100
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
129
|
-
dynamic: "dynamic";
|
|
130
101
|
legacy: "legacy";
|
|
102
|
+
dynamic: "dynamic";
|
|
131
103
|
}>>;
|
|
132
104
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
133
105
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -154,24 +126,15 @@ declare const duplicateTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
154
126
|
}>>;
|
|
155
127
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
156
128
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, z.core.$strip
|
|
158
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
159
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
160
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
161
|
-
global: "global";
|
|
162
|
-
eu: "eu";
|
|
163
|
-
}>>;
|
|
164
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
165
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
166
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
129
|
+
}, z.core.$strip>>], undefined>;
|
|
167
130
|
declare const getTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
168
131
|
templateId: z.ZodString;
|
|
169
132
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
133
|
id: z.ZodString;
|
|
171
134
|
name: z.ZodString;
|
|
172
135
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
173
|
-
dynamic: "dynamic";
|
|
174
136
|
legacy: "legacy";
|
|
137
|
+
dynamic: "dynamic";
|
|
175
138
|
}>>;
|
|
176
139
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
177
140
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -198,20 +161,11 @@ declare const getTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
198
161
|
}>>;
|
|
199
162
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
200
163
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}, z.core.$strip
|
|
202
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
203
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
204
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
205
|
-
global: "global";
|
|
206
|
-
eu: "eu";
|
|
207
|
-
}>>;
|
|
208
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
209
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
210
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
164
|
+
}, z.core.$strip>>], undefined>;
|
|
211
165
|
declare const listTemplates: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
|
|
212
166
|
generations: z.ZodOptional<z.ZodEnum<{
|
|
213
|
-
dynamic: "dynamic";
|
|
214
167
|
legacy: "legacy";
|
|
168
|
+
dynamic: "dynamic";
|
|
215
169
|
"legacy,dynamic": "legacy,dynamic";
|
|
216
170
|
}>>;
|
|
217
171
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -221,8 +175,8 @@ declare const listTemplates: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
|
|
|
221
175
|
id: z.ZodString;
|
|
222
176
|
name: z.ZodString;
|
|
223
177
|
generation: z.ZodOptional<z.ZodEnum<{
|
|
224
|
-
dynamic: "dynamic";
|
|
225
178
|
legacy: "legacy";
|
|
179
|
+
dynamic: "dynamic";
|
|
226
180
|
}>>;
|
|
227
181
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
228
182
|
versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -250,16 +204,7 @@ declare const listTemplates: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
|
|
|
250
204
|
}>>;
|
|
251
205
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
252
206
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
253
|
-
}, z.core.$strip
|
|
254
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
255
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
256
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
257
|
-
global: "global";
|
|
258
|
-
eu: "eu";
|
|
259
|
-
}>>;
|
|
260
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
261
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
262
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
207
|
+
}, z.core.$strip>>], undefined>;
|
|
263
208
|
declare const createTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
264
209
|
templateId: z.ZodString;
|
|
265
210
|
name: z.ZodString;
|
|
@@ -295,16 +240,7 @@ declare const createTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
295
240
|
}>>;
|
|
296
241
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
297
242
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
298
|
-
}, z.core.$strip
|
|
299
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
300
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
301
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
302
|
-
global: "global";
|
|
303
|
-
eu: "eu";
|
|
304
|
-
}>>;
|
|
305
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
306
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
307
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
243
|
+
}, z.core.$strip>>], undefined>;
|
|
308
244
|
declare const updateTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
309
245
|
templateId: z.ZodString;
|
|
310
246
|
versionId: z.ZodString;
|
|
@@ -341,16 +277,7 @@ declare const updateTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
341
277
|
}>>;
|
|
342
278
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
343
279
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
344
|
-
}, z.core.$strip
|
|
345
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
346
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
347
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
348
|
-
global: "global";
|
|
349
|
-
eu: "eu";
|
|
350
|
-
}>>;
|
|
351
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
352
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
353
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
280
|
+
}, z.core.$strip>>], undefined>;
|
|
354
281
|
declare const deleteTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
355
282
|
templateId: z.ZodString;
|
|
356
283
|
versionId: z.ZodString;
|
|
@@ -365,16 +292,7 @@ declare const deleteTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
365
292
|
}>>;
|
|
366
293
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
367
294
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
368
|
-
}, z.core.$strip
|
|
369
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
370
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
371
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
372
|
-
global: "global";
|
|
373
|
-
eu: "eu";
|
|
374
|
-
}>>;
|
|
375
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
376
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
377
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
295
|
+
}, z.core.$strip>>], undefined>;
|
|
378
296
|
declare const getTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
379
297
|
templateId: z.ZodString;
|
|
380
298
|
versionId: z.ZodString;
|
|
@@ -401,16 +319,7 @@ declare const getTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
401
319
|
}>>;
|
|
402
320
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
403
321
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
404
|
-
}, z.core.$strip
|
|
405
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
406
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
407
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
408
|
-
global: "global";
|
|
409
|
-
eu: "eu";
|
|
410
|
-
}>>;
|
|
411
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
412
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
413
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
322
|
+
}, z.core.$strip>>], undefined>;
|
|
414
323
|
declare const activateTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
415
324
|
templateId: z.ZodString;
|
|
416
325
|
versionId: z.ZodString;
|
|
@@ -437,15 +346,6 @@ declare const activateTemplateVersion: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
437
346
|
}>>;
|
|
438
347
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
439
348
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
440
|
-
}, z.core.$strip
|
|
441
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
442
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
443
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
444
|
-
global: "global";
|
|
445
|
-
eu: "eu";
|
|
446
|
-
}>>;
|
|
447
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
448
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
449
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
349
|
+
}, z.core.$strip>>], undefined>;
|
|
450
350
|
//#endregion
|
|
451
351
|
export { activateTemplateVersion, createTemplate, createTemplateVersion, deleteTemplate, deleteTemplateVersion, duplicateTemplate, getTemplate, getTemplateVersion, listTemplates, updateTemplate, updateTemplateVersion };
|
package/dist/templates.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-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "./shared-CQ8JFNXi.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";
|
package/dist/user-account.d.mts
CHANGED
|
@@ -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/user-account.d.ts
|
|
@@ -24,16 +23,7 @@ declare const getUserProfile: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodOb
|
|
|
24
23
|
}>>;
|
|
25
24
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
26
25
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}, z.core.$strip
|
|
28
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
29
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
30
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
31
|
-
global: "global";
|
|
32
|
-
eu: "eu";
|
|
33
|
-
}>>;
|
|
34
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
35
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
36
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, z.core.$strip>>], undefined>;
|
|
37
27
|
declare const getAccountInfo: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
38
28
|
type: z.ZodString;
|
|
39
29
|
reputation: z.ZodOptional<z.ZodNumber>;
|
|
@@ -46,16 +36,7 @@ declare const getAccountInfo: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodOb
|
|
|
46
36
|
}>>;
|
|
47
37
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
48
38
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip
|
|
50
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
51
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
52
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
53
|
-
global: "global";
|
|
54
|
-
eu: "eu";
|
|
55
|
-
}>>;
|
|
56
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
57
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
58
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
39
|
+
}, z.core.$strip>>], undefined>;
|
|
59
40
|
declare const getUserScopes: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
60
41
|
scopes: z.ZodArray<z.ZodString>;
|
|
61
42
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
@@ -67,16 +48,7 @@ declare const getUserScopes: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
|
|
|
67
48
|
}>>;
|
|
68
49
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
69
50
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
70
|
-
}, z.core.$strip
|
|
71
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
72
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
73
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
74
|
-
global: "global";
|
|
75
|
-
eu: "eu";
|
|
76
|
-
}>>;
|
|
77
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
78
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
79
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
51
|
+
}, z.core.$strip>>], undefined>;
|
|
80
52
|
declare const getCreditBalance: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
81
53
|
remain: z.ZodOptional<z.ZodNumber>;
|
|
82
54
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -94,15 +66,6 @@ declare const getCreditBalance: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
|
|
|
94
66
|
}>>;
|
|
95
67
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
96
68
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
97
|
-
}, z.core.$strip
|
|
98
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
99
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
100
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
101
|
-
global: "global";
|
|
102
|
-
eu: "eu";
|
|
103
|
-
}>>;
|
|
104
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
105
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
106
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
69
|
+
}, z.core.$strip>>], undefined>;
|
|
107
70
|
//#endregion
|
|
108
71
|
export { getAccountInfo, getCreditBalance, getUserProfile, getUserScopes };
|
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-7q6CQ75J.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";
|
|
@@ -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/webhooks/event.d.ts
|
|
@@ -48,16 +47,7 @@ declare const createEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
48
47
|
}>>;
|
|
49
48
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
50
49
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip
|
|
52
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
53
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
54
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
55
|
-
global: "global";
|
|
56
|
-
eu: "eu";
|
|
57
|
-
}>>;
|
|
58
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
59
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
60
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
50
|
+
}, z.core.$strip>>], undefined>;
|
|
61
51
|
declare const updateEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
62
52
|
friendly_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
63
53
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -104,16 +94,7 @@ declare const updateEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
104
94
|
}>>;
|
|
105
95
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
106
96
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
107
|
-
}, z.core.$strip
|
|
108
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
109
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
110
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
111
|
-
global: "global";
|
|
112
|
-
eu: "eu";
|
|
113
|
-
}>>;
|
|
114
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
115
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
97
|
+
}, z.core.$strip>>], undefined>;
|
|
117
98
|
declare const deleteEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
118
99
|
webhookId: z.ZodString;
|
|
119
100
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -127,16 +108,7 @@ declare const deleteEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
127
108
|
}>>;
|
|
128
109
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
129
110
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, z.core.$strip
|
|
131
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
132
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
133
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
134
|
-
global: "global";
|
|
135
|
-
eu: "eu";
|
|
136
|
-
}>>;
|
|
137
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
138
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
139
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
111
|
+
}, z.core.$strip>>], undefined>;
|
|
140
112
|
declare const listEventWebhooks: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
141
113
|
max_allowed: z.ZodOptional<z.ZodNumber>;
|
|
142
114
|
webhooks: z.ZodArray<z.ZodObject<{
|
|
@@ -167,16 +139,7 @@ declare const listEventWebhooks: _keystrokehq_core0.Operation<z.ZodOptional<z.Zo
|
|
|
167
139
|
}>>;
|
|
168
140
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
169
141
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
170
|
-
}, z.core.$strip
|
|
171
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
172
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
173
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
174
|
-
global: "global";
|
|
175
|
-
eu: "eu";
|
|
176
|
-
}>>;
|
|
177
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
178
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
179
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
142
|
+
}, z.core.$strip>>], undefined>;
|
|
180
143
|
declare const getEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
181
144
|
webhookId: z.ZodString;
|
|
182
145
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -206,16 +169,7 @@ declare const getEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
206
169
|
}>>;
|
|
207
170
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
208
171
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
209
|
-
}, z.core.$strip
|
|
210
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
211
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
212
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
213
|
-
global: "global";
|
|
214
|
-
eu: "eu";
|
|
215
|
-
}>>;
|
|
216
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
217
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
218
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
172
|
+
}, z.core.$strip>>], undefined>;
|
|
219
173
|
declare const getSignedPublicKey: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
220
174
|
public_key: z.ZodString;
|
|
221
175
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
@@ -227,16 +181,7 @@ declare const getSignedPublicKey: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
|
|
|
227
181
|
}>>;
|
|
228
182
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
229
183
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
230
|
-
}, z.core.$strip
|
|
231
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
232
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
233
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
234
|
-
global: "global";
|
|
235
|
-
eu: "eu";
|
|
236
|
-
}>>;
|
|
237
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
238
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
239
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
184
|
+
}, z.core.$strip>>], undefined>;
|
|
240
185
|
declare const toggleWebhookSignature: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
241
186
|
enabled: z.ZodBoolean;
|
|
242
187
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -250,16 +195,7 @@ declare const toggleWebhookSignature: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
250
195
|
}>>;
|
|
251
196
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
252
197
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
253
|
-
}, z.core.$strip
|
|
254
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
255
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
256
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
257
|
-
global: "global";
|
|
258
|
-
eu: "eu";
|
|
259
|
-
}>>;
|
|
260
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
261
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
262
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
198
|
+
}, z.core.$strip>>], undefined>;
|
|
263
199
|
declare const testEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
264
200
|
url: z.ZodString;
|
|
265
201
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -273,15 +209,6 @@ declare const testEventWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
273
209
|
}>>;
|
|
274
210
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
275
211
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
276
|
-
}, z.core.$strip
|
|
277
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
278
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
279
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
280
|
-
global: "global";
|
|
281
|
-
eu: "eu";
|
|
282
|
-
}>>;
|
|
283
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
284
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
285
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
212
|
+
}, z.core.$strip>>], undefined>;
|
|
286
213
|
//#endregion
|
|
287
214
|
export { createEventWebhook, deleteEventWebhook, getEventWebhook, getSignedPublicKey, listEventWebhooks, testEventWebhook, toggleWebhookSignature, updateEventWebhook };
|
package/dist/webhooks/event.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-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "../shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "../client.mjs";
|
|
4
4
|
import { d as sendgridSignedPublicKeySchema, i as sendgridEventWebhookSettingsSchema, n as sendgridEventWebhookListSchema, u as sendgridSignatureToggleSchema } 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/webhooks/parse.d.ts
|
|
@@ -22,16 +21,7 @@ declare const createParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
22
21
|
}>>;
|
|
23
22
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
24
23
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, z.core.$strip
|
|
26
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
27
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
28
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
29
|
-
global: "global";
|
|
30
|
-
eu: "eu";
|
|
31
|
-
}>>;
|
|
32
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
33
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
34
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, z.core.$strip>>], undefined>;
|
|
35
25
|
declare const updateParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
26
|
url: z.ZodOptional<z.ZodString>;
|
|
37
27
|
spamCheck: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -51,16 +41,7 @@ declare const updateParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
51
41
|
}>>;
|
|
52
42
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
53
43
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
54
|
-
}, z.core.$strip
|
|
55
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
56
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
57
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
58
|
-
global: "global";
|
|
59
|
-
eu: "eu";
|
|
60
|
-
}>>;
|
|
61
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
62
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
44
|
+
}, z.core.$strip>>], undefined>;
|
|
64
45
|
declare const deleteParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
46
|
hostname: z.ZodString;
|
|
66
47
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -74,16 +55,7 @@ declare const deleteParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
74
55
|
}>>;
|
|
75
56
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
76
57
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
77
|
-
}, z.core.$strip
|
|
78
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
79
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
80
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
81
|
-
global: "global";
|
|
82
|
-
eu: "eu";
|
|
83
|
-
}>>;
|
|
84
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
85
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
86
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
58
|
+
}, z.core.$strip>>], undefined>;
|
|
87
59
|
declare const listParseSettings: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
88
60
|
result: z.ZodArray<z.ZodObject<{
|
|
89
61
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -100,16 +72,7 @@ declare const listParseSettings: _keystrokehq_core0.Operation<z.ZodOptional<z.Zo
|
|
|
100
72
|
}>>;
|
|
101
73
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
102
74
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
103
|
-
}, z.core.$strip
|
|
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>>[] | undefined>], undefined>;
|
|
75
|
+
}, z.core.$strip>>], undefined>;
|
|
113
76
|
declare const getParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
114
77
|
hostname: z.ZodString;
|
|
115
78
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -126,16 +89,7 @@ declare const getParseSetting: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
126
89
|
}>>;
|
|
127
90
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
128
91
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
129
|
-
}, z.core.$strip
|
|
130
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
131
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
132
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
133
|
-
global: "global";
|
|
134
|
-
eu: "eu";
|
|
135
|
-
}>>;
|
|
136
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
137
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
138
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
92
|
+
}, z.core.$strip>>], undefined>;
|
|
139
93
|
declare const getParseStats: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
|
|
140
94
|
startDate: z.ZodOptional<z.ZodISODate>;
|
|
141
95
|
endDate: z.ZodOptional<z.ZodISODate>;
|
|
@@ -158,15 +112,6 @@ declare const getParseStats: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
|
|
|
158
112
|
}>>;
|
|
159
113
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
160
114
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
161
|
-
}, z.core.$strip
|
|
162
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
163
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
164
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
165
|
-
global: "global";
|
|
166
|
-
eu: "eu";
|
|
167
|
-
}>>;
|
|
168
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
169
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
170
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
115
|
+
}, z.core.$strip>>], undefined>;
|
|
171
116
|
//#endregion
|
|
172
117
|
export { createParseSetting, deleteParseSetting, getParseSetting, getParseStats, listParseSettings, updateParseSetting };
|
package/dist/webhooks/parse.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-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "../shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "../client.mjs";
|
|
4
4
|
import { l as sendgridParseStatsSchema, o as sendgridParseSettingListSchema, s as sendgridParseSettingSchema } from "../webhooks-CKdsIikb.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sendgrid",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -116,18 +116,18 @@
|
|
|
116
116
|
"LICENSE"
|
|
117
117
|
],
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
119
|
+
"@keystrokehq/integration-authoring": "^0.0.9",
|
|
120
120
|
"zod": "^4.3.6"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
|
-
"@keystrokehq/core": ">=0.0.
|
|
123
|
+
"@keystrokehq/core": ">=0.0.13 <0.1.0"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@types/node": "^22.19.11",
|
|
127
127
|
"tsdown": "^0.20.3",
|
|
128
128
|
"typescript": "^5.9.3",
|
|
129
129
|
"vitest": "^4.0.18",
|
|
130
|
-
"@keystrokehq/core": "^0.0.
|
|
130
|
+
"@keystrokehq/core": "^0.0.13",
|
|
131
131
|
"@keystrokehq/test-utils": "0.0.0",
|
|
132
132
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
133
133
|
},
|