@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.
Files changed (50) hide show
  1. package/dist/_official/index.d.mts +1 -1
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/alerts.d.mts +11 -57
  4. package/dist/alerts.mjs +2 -2
  5. package/dist/api-keys.d.mts +13 -68
  6. package/dist/api-keys.mjs +2 -2
  7. package/dist/client.d.mts +1 -1
  8. package/dist/client.mjs +3 -2
  9. package/dist/connection.d.mts +1 -1
  10. package/dist/connection.mjs +1 -1
  11. package/dist/domains.d.mts +7 -35
  12. package/dist/domains.mjs +2 -2
  13. package/dist/email-validation.d.mts +10 -47
  14. package/dist/email-validation.mjs +2 -2
  15. package/dist/{factory-CToXR1jp.mjs → factory-7q6CQ75J.mjs} +2 -1
  16. package/dist/{integration-zx-jmybs.d.mts → integration-Cj4Xzfq_.d.mts} +6 -14
  17. package/dist/integration-DHWfpe0w.mjs +24 -0
  18. package/dist/mail-send.d.mts +17 -90
  19. package/dist/mail-send.mjs +2 -2
  20. package/dist/marketing-contacts.d.mts +33 -178
  21. package/dist/marketing-contacts.mjs +2 -2
  22. package/dist/marketing-customfields.d.mts +7 -35
  23. package/dist/marketing-customfields.mjs +1 -1
  24. package/dist/marketing-lists.d.mts +15 -79
  25. package/dist/marketing-lists.mjs +2 -2
  26. package/dist/marketing-segments.d.mts +21 -112
  27. package/dist/marketing-segments.mjs +2 -2
  28. package/dist/marketing-singlesends.d.mts +31 -158
  29. package/dist/marketing-singlesends.mjs +2 -2
  30. package/dist/schemas/index.d.mts +3 -3
  31. package/dist/sender-identities.d.mts +13 -68
  32. package/dist/sender-identities.mjs +1 -1
  33. package/dist/senders.d.mts +11 -57
  34. package/dist/senders.mjs +1 -1
  35. package/dist/shared-CQ8JFNXi.mjs +13 -0
  36. package/dist/stats.d.mts +12 -58
  37. package/dist/stats.mjs +2 -2
  38. package/dist/suppressions.d.mts +63 -343
  39. package/dist/suppressions.mjs +2 -2
  40. package/dist/templates.d.mts +30 -130
  41. package/dist/templates.mjs +2 -2
  42. package/dist/user-account.d.mts +9 -46
  43. package/dist/user-account.mjs +1 -1
  44. package/dist/webhooks/event.d.mts +17 -90
  45. package/dist/webhooks/event.mjs +2 -2
  46. package/dist/webhooks/parse.d.mts +13 -68
  47. package/dist/webhooks/parse.mjs +2 -2
  48. package/package.json +5 -5
  49. package/dist/integration-C9EALG65.mjs +0 -113
  50. package/dist/shared-BayZ0Lt6.mjs +0 -46
@@ -0,0 +1,24 @@
1
+ import { defineOfficialIntegration } from "@keystrokehq/integration-authoring/official";
2
+ import { z } from "zod";
3
+
4
+ //#region src/integration.ts
5
+ const sendgridAuthSchema = z.object({
6
+ SENDGRID_API_KEY: z.string().min(1).regex(/^SG\./u, "SendGrid API keys start with \"SG.\""),
7
+ SENDGRID_SUBUSER: z.string().min(1).optional(),
8
+ SENDGRID_ACCOUNT_REGION: z.enum(["global", "eu"]).default("global"),
9
+ SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.string().min(1).optional(),
10
+ SENDGRID_INBOUND_PARSE_TOKEN: z.string().min(1).optional()
11
+ });
12
+ const sendgridOfficialIntegration = {
13
+ id: "sendgrid",
14
+ name: "SendGrid",
15
+ description: "SendGrid (Twilio) transactional + marketing email, templates, contacts, lists, segments, deliverability, and webhook helpers for Keystroke workflows",
16
+ credentialType: "manual",
17
+ auth: sendgridAuthSchema,
18
+ proxy: { hosts: ["api.sendgrid.com", "api.eu.sendgrid.com"] }
19
+ };
20
+ const sendgridBundle = defineOfficialIntegration(sendgridOfficialIntegration);
21
+ const sendgrid = sendgridBundle.credentialSet;
22
+
23
+ //#endregion
24
+ export { sendgridBundle as n, sendgridOfficialIntegration as r, sendgrid as t };
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/mail-send.d.ts
6
5
  declare const sendEmail: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -115,7 +114,7 @@ declare const sendEmail: _keystrokehq_core0.Operation<z.ZodObject<{
115
114
  }, z.core.$strip>, z.ZodObject<{
116
115
  messageId: z.ZodOptional<z.ZodString>;
117
116
  accepted: z.ZodBoolean;
118
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
117
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
119
118
  SENDGRID_API_KEY: z.ZodString;
120
119
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
121
120
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -124,19 +123,10 @@ declare const sendEmail: _keystrokehq_core0.Operation<z.ZodObject<{
124
123
  }>>;
125
124
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
126
125
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
127
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
128
- SENDGRID_API_KEY: z.ZodString;
129
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
130
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
131
- global: "global";
132
- eu: "eu";
133
- }>>;
134
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
135
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
136
- }, z.core.$strip>>[] | undefined>], undefined>;
126
+ }, z.core.$strip>>], undefined>;
137
127
  declare const createBatchId: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
138
128
  batch_id: z.ZodString;
139
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
129
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
140
130
  SENDGRID_API_KEY: z.ZodString;
141
131
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
142
132
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -145,30 +135,12 @@ declare const createBatchId: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
145
135
  }>>;
146
136
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
147
137
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
148
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
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>;
138
+ }, z.core.$strip>>], undefined>;
158
139
  declare const validateBatchId: _keystrokehq_core0.Operation<z.ZodObject<{
159
140
  batchId: z.ZodString;
160
141
  }, z.core.$strip>, z.ZodObject<{
161
142
  batch_id: z.ZodString;
162
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
163
- SENDGRID_API_KEY: z.ZodString;
164
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
165
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
166
- global: "global";
167
- eu: "eu";
168
- }>>;
169
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
170
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
171
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
143
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
172
144
  SENDGRID_API_KEY: z.ZodString;
173
145
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
174
146
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -177,7 +149,7 @@ declare const validateBatchId: _keystrokehq_core0.Operation<z.ZodObject<{
177
149
  }>>;
178
150
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
179
151
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
180
- }, z.core.$strip>>[] | undefined>], undefined>;
152
+ }, z.core.$strip>>], undefined>;
181
153
  declare const cancelOrPauseScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
182
154
  batchId: z.ZodString;
183
155
  status: z.ZodEnum<{
@@ -190,16 +162,7 @@ declare const cancelOrPauseScheduledSend: _keystrokehq_core0.Operation<z.ZodObje
190
162
  cancel: "cancel";
191
163
  pause: "pause";
192
164
  }>>;
193
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
194
- SENDGRID_API_KEY: z.ZodString;
195
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
196
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
197
- global: "global";
198
- eu: "eu";
199
- }>>;
200
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
201
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
202
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
165
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
203
166
  SENDGRID_API_KEY: z.ZodString;
204
167
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
205
168
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -208,7 +171,7 @@ declare const cancelOrPauseScheduledSend: _keystrokehq_core0.Operation<z.ZodObje
208
171
  }>>;
209
172
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
210
173
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
211
- }, z.core.$strip>>[] | undefined>], undefined>;
174
+ }, z.core.$strip>>], undefined>;
212
175
  declare const updateScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
213
176
  batchId: z.ZodString;
214
177
  status: z.ZodEnum<{
@@ -217,16 +180,7 @@ declare const updateScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
217
180
  }>;
218
181
  }, z.core.$strip>, z.ZodObject<{
219
182
  success: z.ZodBoolean;
220
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
221
- SENDGRID_API_KEY: z.ZodString;
222
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
223
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
224
- global: "global";
225
- eu: "eu";
226
- }>>;
227
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
228
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
229
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
183
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
230
184
  SENDGRID_API_KEY: z.ZodString;
231
185
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
232
186
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -235,21 +189,12 @@ declare const updateScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
235
189
  }>>;
236
190
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
237
191
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
238
- }, z.core.$strip>>[] | undefined>], undefined>;
192
+ }, z.core.$strip>>], undefined>;
239
193
  declare const deleteScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
240
194
  batchId: z.ZodString;
241
195
  }, z.core.$strip>, z.ZodObject<{
242
196
  success: z.ZodBoolean;
243
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
244
- SENDGRID_API_KEY: z.ZodString;
245
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
246
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
247
- global: "global";
248
- eu: "eu";
249
- }>>;
250
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
251
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
252
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
197
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
253
198
  SENDGRID_API_KEY: z.ZodString;
254
199
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
255
200
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -258,14 +203,14 @@ declare const deleteScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
258
203
  }>>;
259
204
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
260
205
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
261
- }, z.core.$strip>>[] | undefined>], undefined>;
206
+ }, z.core.$strip>>], undefined>;
262
207
  declare const listScheduledSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
263
208
  batch_id: z.ZodString;
264
209
  status: z.ZodOptional<z.ZodEnum<{
265
210
  cancel: "cancel";
266
211
  pause: "pause";
267
212
  }>>;
268
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
213
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
269
214
  SENDGRID_API_KEY: z.ZodString;
270
215
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
271
216
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -274,16 +219,7 @@ declare const listScheduledSends: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
274
219
  }>>;
275
220
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
276
221
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
277
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
278
- SENDGRID_API_KEY: z.ZodString;
279
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
280
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
281
- global: "global";
282
- eu: "eu";
283
- }>>;
284
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
285
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
286
- }, z.core.$strip>>[] | undefined>], undefined>;
222
+ }, z.core.$strip>>], undefined>;
287
223
  declare const getScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
288
224
  batchId: z.ZodString;
289
225
  }, z.core.$strip>, z.ZodObject<{
@@ -292,16 +228,7 @@ declare const getScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
292
228
  cancel: "cancel";
293
229
  pause: "pause";
294
230
  }>>;
295
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
296
- SENDGRID_API_KEY: z.ZodString;
297
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
298
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
299
- global: "global";
300
- eu: "eu";
301
- }>>;
302
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
303
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
304
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
231
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
305
232
  SENDGRID_API_KEY: z.ZodString;
306
233
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
307
234
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -310,6 +237,6 @@ declare const getScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
310
237
  }>>;
311
238
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
312
239
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
313
- }, z.core.$strip>>[] | undefined>], undefined>;
240
+ }, z.core.$strip>>], undefined>;
314
241
  //#endregion
315
242
  export { cancelOrPauseScheduledSend, createBatchId, deleteScheduledSend, getScheduledSend, listScheduledSends, sendEmail, updateScheduledSend, validateBatchId };
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
- import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
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 { _t as sendgridScheduledSendSchema, ft as sendgridMailSendInputSchema, gt as sendgridScheduledSendListSchema, lt as sendgridBatchIdSchema, on as sendgridIdSchema, pt as sendgridMailSendResultSchema, vt as sendgridScheduledSendStatusSchema } from "./webhooks-CKdsIikb.mjs";
5
5
  import { z } from "zod";
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/marketing-contacts.d.ts
6
5
  declare const upsertContacts: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -25,7 +24,7 @@ declare const upsertContacts: _keystrokehq_core0.Operation<z.ZodObject<{
25
24
  }, z.core.$strip>>;
26
25
  }, z.core.$strip>, z.ZodObject<{
27
26
  job_id: z.ZodString;
28
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
27
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
29
28
  SENDGRID_API_KEY: z.ZodString;
30
29
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
31
30
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -34,22 +33,13 @@ declare const upsertContacts: _keystrokehq_core0.Operation<z.ZodObject<{
34
33
  }>>;
35
34
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
36
35
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
37
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
38
- SENDGRID_API_KEY: z.ZodString;
39
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
40
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
41
- global: "global";
42
- eu: "eu";
43
- }>>;
44
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
45
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
46
- }, z.core.$strip>>[] | undefined>], undefined>;
36
+ }, z.core.$strip>>], undefined>;
47
37
  declare const deleteContacts: _keystrokehq_core0.Operation<z.ZodObject<{
48
38
  ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
39
  deleteAllContacts: z.ZodOptional<z.ZodBoolean>;
50
40
  }, z.core.$strip>, z.ZodObject<{
51
41
  job_id: z.ZodString;
52
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
42
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
53
43
  SENDGRID_API_KEY: z.ZodString;
54
44
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
55
45
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -58,16 +48,7 @@ declare const deleteContacts: _keystrokehq_core0.Operation<z.ZodObject<{
58
48
  }>>;
59
49
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
60
50
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
61
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
62
- SENDGRID_API_KEY: z.ZodString;
63
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
64
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
65
- global: "global";
66
- eu: "eu";
67
- }>>;
68
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
69
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
70
- }, z.core.$strip>>[] | undefined>], undefined>;
51
+ }, z.core.$strip>>], undefined>;
71
52
  declare const getContact: _keystrokehq_core0.Operation<z.ZodObject<{
72
53
  contactId: z.ZodString;
73
54
  }, z.core.$strip>, z.ZodObject<{
@@ -91,16 +72,7 @@ declare const getContact: _keystrokehq_core0.Operation<z.ZodObject<{
91
72
  created_at: z.ZodOptional<z.ZodISODateTime>;
92
73
  updated_at: z.ZodOptional<z.ZodISODateTime>;
93
74
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
95
- SENDGRID_API_KEY: z.ZodString;
96
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
97
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
98
- global: "global";
99
- eu: "eu";
100
- }>>;
101
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
102
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
103
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
75
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
104
76
  SENDGRID_API_KEY: z.ZodString;
105
77
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
106
78
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -109,7 +81,7 @@ declare const getContact: _keystrokehq_core0.Operation<z.ZodObject<{
109
81
  }>>;
110
82
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
111
83
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
112
- }, z.core.$strip>>[] | undefined>], undefined>;
84
+ }, z.core.$strip>>], undefined>;
113
85
  declare const getContactsByIds: _keystrokehq_core0.Operation<z.ZodObject<{
114
86
  ids: z.ZodArray<z.ZodString>;
115
87
  }, z.core.$strip>, z.ZodObject<{
@@ -135,7 +107,7 @@ declare const getContactsByIds: _keystrokehq_core0.Operation<z.ZodObject<{
135
107
  updated_at: z.ZodOptional<z.ZodISODateTime>;
136
108
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
109
  }, z.core.$catchall<z.ZodUnknown>>>;
138
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
110
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
139
111
  SENDGRID_API_KEY: z.ZodString;
140
112
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
141
113
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -144,16 +116,7 @@ declare const getContactsByIds: _keystrokehq_core0.Operation<z.ZodObject<{
144
116
  }>>;
145
117
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
146
118
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
147
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
148
- SENDGRID_API_KEY: z.ZodString;
149
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
150
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
151
- global: "global";
152
- eu: "eu";
153
- }>>;
154
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
155
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
156
- }, z.core.$strip>>[] | undefined>], undefined>;
119
+ }, z.core.$strip>>], undefined>;
157
120
  declare const getContactsByEmails: _keystrokehq_core0.Operation<z.ZodObject<{
158
121
  emails: z.ZodArray<z.ZodString>;
159
122
  }, z.core.$strip>, z.ZodObject<{
@@ -180,16 +143,7 @@ declare const getContactsByEmails: _keystrokehq_core0.Operation<z.ZodObject<{
180
143
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
144
  }, z.core.$catchall<z.ZodUnknown>>>;
182
145
  contact_count: z.ZodOptional<z.ZodNumber>;
183
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
184
- SENDGRID_API_KEY: z.ZodString;
185
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
186
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
187
- global: "global";
188
- eu: "eu";
189
- }>>;
190
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
191
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
192
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
146
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
193
147
  SENDGRID_API_KEY: z.ZodString;
194
148
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
195
149
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -198,7 +152,7 @@ declare const getContactsByEmails: _keystrokehq_core0.Operation<z.ZodObject<{
198
152
  }>>;
199
153
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
200
154
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
201
- }, z.core.$strip>>[] | undefined>], undefined>;
155
+ }, z.core.$strip>>], undefined>;
202
156
  declare const getContactsByIdentifiers: _keystrokehq_core0.Operation<z.ZodObject<{
203
157
  identifierType: z.ZodEnum<{
204
158
  whatsapp: "whatsapp";
@@ -231,16 +185,7 @@ declare const getContactsByIdentifiers: _keystrokehq_core0.Operation<z.ZodObject
231
185
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
186
  }, z.core.$catchall<z.ZodUnknown>>>;
233
187
  contact_count: z.ZodOptional<z.ZodNumber>;
234
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
235
- SENDGRID_API_KEY: z.ZodString;
236
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
237
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
238
- global: "global";
239
- eu: "eu";
240
- }>>;
241
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
242
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
243
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
188
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
244
189
  SENDGRID_API_KEY: z.ZodString;
245
190
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
246
191
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -249,7 +194,7 @@ declare const getContactsByIdentifiers: _keystrokehq_core0.Operation<z.ZodObject
249
194
  }>>;
250
195
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
251
196
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
252
- }, z.core.$strip>>[] | undefined>], undefined>;
197
+ }, z.core.$strip>>], undefined>;
253
198
  declare const getContactSample: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
254
199
  result: z.ZodArray<z.ZodObject<{
255
200
  id: z.ZodString;
@@ -274,16 +219,7 @@ declare const getContactSample: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
274
219
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
275
220
  }, z.core.$catchall<z.ZodUnknown>>>;
276
221
  contact_count: z.ZodOptional<z.ZodNumber>;
277
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
278
- SENDGRID_API_KEY: z.ZodString;
279
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
280
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
281
- global: "global";
282
- eu: "eu";
283
- }>>;
284
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
285
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
286
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
222
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
287
223
  SENDGRID_API_KEY: z.ZodString;
288
224
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
289
225
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -292,20 +228,11 @@ declare const getContactSample: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
292
228
  }>>;
293
229
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
294
230
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
295
- }, z.core.$strip>>[] | undefined>], undefined>;
231
+ }, z.core.$strip>>], undefined>;
296
232
  declare const getContactCount: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
297
233
  contact_count: z.ZodNumber;
298
234
  billable_count: z.ZodOptional<z.ZodNumber>;
299
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
300
- SENDGRID_API_KEY: z.ZodString;
301
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
302
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
303
- global: "global";
304
- eu: "eu";
305
- }>>;
306
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
307
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
308
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
235
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
309
236
  SENDGRID_API_KEY: z.ZodString;
310
237
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
311
238
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -314,7 +241,7 @@ declare const getContactCount: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
314
241
  }>>;
315
242
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
316
243
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
317
- }, z.core.$strip>>[] | undefined>], undefined>;
244
+ }, z.core.$strip>>], undefined>;
318
245
  declare const searchContacts: _keystrokehq_core0.Operation<z.ZodObject<{
319
246
  query: z.ZodString;
320
247
  }, z.core.$strip>, z.ZodObject<{
@@ -341,16 +268,7 @@ declare const searchContacts: _keystrokehq_core0.Operation<z.ZodObject<{
341
268
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
342
269
  }, z.core.$catchall<z.ZodUnknown>>>;
343
270
  contact_count: z.ZodOptional<z.ZodNumber>;
344
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
271
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
354
272
  SENDGRID_API_KEY: z.ZodString;
355
273
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
356
274
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -359,7 +277,7 @@ declare const searchContacts: _keystrokehq_core0.Operation<z.ZodObject<{
359
277
  }>>;
360
278
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
361
279
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
362
- }, z.core.$strip>>[] | undefined>], undefined>;
280
+ }, z.core.$strip>>], undefined>;
363
281
  declare const createContactImport: _keystrokehq_core0.Operation<z.ZodObject<{
364
282
  fileType: z.ZodDefault<z.ZodEnum<{
365
283
  csv: "csv";
@@ -385,16 +303,7 @@ declare const createContactImport: _keystrokehq_core0.Operation<z.ZodObject<{
385
303
  header: z.ZodString;
386
304
  value: z.ZodString;
387
305
  }, z.core.$strip>>>;
388
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
389
- SENDGRID_API_KEY: z.ZodString;
390
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
391
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
392
- global: "global";
393
- eu: "eu";
394
- }>>;
395
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
396
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
397
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
306
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
398
307
  SENDGRID_API_KEY: z.ZodString;
399
308
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
400
309
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -403,7 +312,7 @@ declare const createContactImport: _keystrokehq_core0.Operation<z.ZodObject<{
403
312
  }>>;
404
313
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
405
314
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
406
- }, z.core.$strip>>[] | undefined>], undefined>;
315
+ }, z.core.$strip>>], undefined>;
407
316
  declare const getContactImportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
408
317
  importId: z.ZodString;
409
318
  }, z.core.$strip>, z.ZodObject<{
@@ -425,7 +334,7 @@ declare const getContactImportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
425
334
  header: z.ZodString;
426
335
  value: z.ZodString;
427
336
  }, z.core.$strip>>>;
428
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
337
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
429
338
  SENDGRID_API_KEY: z.ZodString;
430
339
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
431
340
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -434,16 +343,7 @@ declare const getContactImportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
434
343
  }>>;
435
344
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
436
345
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
437
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
438
- SENDGRID_API_KEY: z.ZodString;
439
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
440
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
441
- global: "global";
442
- eu: "eu";
443
- }>>;
444
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
445
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
446
- }, z.core.$strip>>[] | undefined>], undefined>;
346
+ }, z.core.$strip>>], undefined>;
447
347
  declare const createContactExport: _keystrokehq_core0.Operation<z.ZodObject<{
448
348
  listIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
449
349
  segmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -465,16 +365,7 @@ declare const createContactExport: _keystrokehq_core0.Operation<z.ZodObject<{
465
365
  urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
366
  message: z.ZodOptional<z.ZodString>;
467
367
  expires_at: z.ZodOptional<z.ZodString>;
468
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
469
- SENDGRID_API_KEY: z.ZodString;
470
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
471
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
472
- global: "global";
473
- eu: "eu";
474
- }>>;
475
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
476
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
477
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
368
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
478
369
  SENDGRID_API_KEY: z.ZodString;
479
370
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
480
371
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -483,7 +374,7 @@ declare const createContactExport: _keystrokehq_core0.Operation<z.ZodObject<{
483
374
  }>>;
484
375
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
485
376
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
486
- }, z.core.$strip>>[] | undefined>], undefined>;
377
+ }, z.core.$strip>>], undefined>;
487
378
  declare const getContactExportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
488
379
  exportId: z.ZodString;
489
380
  }, z.core.$strip>, z.ZodObject<{
@@ -494,7 +385,7 @@ declare const getContactExportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
494
385
  urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
495
386
  message: z.ZodOptional<z.ZodString>;
496
387
  expires_at: z.ZodOptional<z.ZodString>;
497
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
388
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
498
389
  SENDGRID_API_KEY: z.ZodString;
499
390
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
500
391
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -503,16 +394,7 @@ declare const getContactExportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
503
394
  }>>;
504
395
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
505
396
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
506
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
507
- SENDGRID_API_KEY: z.ZodString;
508
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
509
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
510
- global: "global";
511
- eu: "eu";
512
- }>>;
513
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
514
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
515
- }, z.core.$strip>>[] | undefined>], undefined>;
397
+ }, z.core.$strip>>], undefined>;
516
398
  declare const listContactExports: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
517
399
  result: z.ZodArray<z.ZodObject<{
518
400
  id: z.ZodString;
@@ -523,16 +405,7 @@ declare const listContactExports: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
523
405
  message: z.ZodOptional<z.ZodString>;
524
406
  expires_at: z.ZodOptional<z.ZodString>;
525
407
  }, z.core.$catchall<z.ZodUnknown>>>;
526
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
527
- SENDGRID_API_KEY: z.ZodString;
528
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
529
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
530
- global: "global";
531
- eu: "eu";
532
- }>>;
533
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
534
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
535
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
408
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
536
409
  SENDGRID_API_KEY: z.ZodString;
537
410
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
538
411
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -541,7 +414,7 @@ declare const listContactExports: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
541
414
  }>>;
542
415
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
543
416
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
544
- }, z.core.$strip>>[] | undefined>], undefined>;
417
+ }, z.core.$strip>>], undefined>;
545
418
  declare const listFieldDefinitions: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
546
419
  custom_fields: z.ZodArray<z.ZodObject<{
547
420
  id: z.ZodString;
@@ -561,7 +434,7 @@ declare const listFieldDefinitions: _keystrokehq_core0.Operation<z.ZodOptional<z
561
434
  Date: "Date";
562
435
  }>;
563
436
  }, z.core.$catchall<z.ZodUnknown>>>>;
564
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
437
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
565
438
  SENDGRID_API_KEY: z.ZodString;
566
439
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
567
440
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -570,30 +443,12 @@ declare const listFieldDefinitions: _keystrokehq_core0.Operation<z.ZodOptional<z
570
443
  }>>;
571
444
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
572
445
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
573
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
574
- SENDGRID_API_KEY: z.ZodString;
575
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
576
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
577
- global: "global";
578
- eu: "eu";
579
- }>>;
580
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
581
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
582
- }, z.core.$strip>>[] | undefined>], undefined>;
446
+ }, z.core.$strip>>], undefined>;
583
447
  declare const deleteContactIdentifier: _keystrokehq_core0.Operation<z.ZodObject<{
584
448
  identifierId: z.ZodString;
585
449
  }, z.core.$strip>, z.ZodObject<{
586
450
  success: z.ZodBoolean;
587
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
588
- SENDGRID_API_KEY: z.ZodString;
589
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
590
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
591
- global: "global";
592
- eu: "eu";
593
- }>>;
594
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
595
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
596
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
451
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
597
452
  SENDGRID_API_KEY: z.ZodString;
598
453
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
599
454
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -602,6 +457,6 @@ declare const deleteContactIdentifier: _keystrokehq_core0.Operation<z.ZodObject<
602
457
  }>>;
603
458
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
604
459
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
605
- }, z.core.$strip>>[] | undefined>], undefined>;
460
+ }, z.core.$strip>>], undefined>;
606
461
  //#endregion
607
462
  export { createContactExport, createContactImport, deleteContactIdentifier, deleteContacts, getContact, getContactCount, getContactExportStatus, getContactImportStatus, getContactSample, getContactsByEmails, getContactsByIdentifiers, getContactsByIds, listContactExports, listFieldDefinitions, searchContacts, upsertContacts };