@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.
Files changed (47) 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 +5 -51
  4. package/dist/alerts.mjs +1 -1
  5. package/dist/api-keys.d.mts +6 -61
  6. package/dist/api-keys.mjs +1 -1
  7. package/dist/client.d.mts +1 -1
  8. package/dist/client.mjs +1 -1
  9. package/dist/connection.d.mts +1 -1
  10. package/dist/connection.mjs +1 -1
  11. package/dist/domains.d.mts +3 -31
  12. package/dist/domains.mjs +1 -1
  13. package/dist/email-validation.d.mts +4 -41
  14. package/dist/email-validation.mjs +1 -1
  15. package/dist/{factory-BSL0D2L0.mjs → factory-7q6CQ75J.mjs} +1 -1
  16. package/dist/{integration-DpbPKcSF.d.mts → integration-Cj4Xzfq_.d.mts} +3 -12
  17. package/dist/{integration-37BovSeK.mjs → integration-DHWfpe0w.mjs} +1 -0
  18. package/dist/mail-send.d.mts +8 -81
  19. package/dist/mail-send.mjs +1 -1
  20. package/dist/marketing-contacts.d.mts +16 -161
  21. package/dist/marketing-contacts.mjs +1 -1
  22. package/dist/marketing-customfields.d.mts +3 -31
  23. package/dist/marketing-customfields.mjs +1 -1
  24. package/dist/marketing-lists.d.mts +7 -71
  25. package/dist/marketing-lists.mjs +1 -1
  26. package/dist/marketing-segments.d.mts +10 -101
  27. package/dist/marketing-segments.mjs +1 -1
  28. package/dist/marketing-singlesends.d.mts +14 -141
  29. package/dist/marketing-singlesends.mjs +1 -1
  30. package/dist/schemas/index.d.mts +3 -3
  31. package/dist/sender-identities.d.mts +6 -61
  32. package/dist/sender-identities.mjs +1 -1
  33. package/dist/senders.d.mts +5 -51
  34. package/dist/senders.mjs +1 -1
  35. package/dist/stats.d.mts +6 -52
  36. package/dist/stats.mjs +1 -1
  37. package/dist/suppressions.d.mts +31 -311
  38. package/dist/suppressions.mjs +1 -1
  39. package/dist/templates.d.mts +18 -118
  40. package/dist/templates.mjs +1 -1
  41. package/dist/user-account.d.mts +4 -41
  42. package/dist/user-account.mjs +1 -1
  43. package/dist/webhooks/event.d.mts +8 -81
  44. package/dist/webhooks/event.mjs +1 -1
  45. package/dist/webhooks/parse.d.mts +6 -61
  46. package/dist/webhooks/parse.mjs +1 -1
  47. 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-contacts.d.ts
@@ -34,16 +33,7 @@ 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>;
@@ -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<{
@@ -100,16 +81,7 @@ declare const getContact: _keystrokehq_core0.Operation<z.ZodObject<{
100
81
  }>>;
101
82
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
102
83
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
103
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
104
- SENDGRID_API_KEY: z.ZodString;
105
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
106
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
107
- global: "global";
108
- eu: "eu";
109
- }>>;
110
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
111
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
112
- }, z.core.$strip>>[] | 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<{
@@ -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<{
@@ -189,16 +152,7 @@ declare const getContactsByEmails: _keystrokehq_core0.Operation<z.ZodObject<{
189
152
  }>>;
190
153
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
191
154
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
192
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
193
- SENDGRID_API_KEY: z.ZodString;
194
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
195
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
196
- global: "global";
197
- eu: "eu";
198
- }>>;
199
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
200
- 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";
@@ -240,16 +194,7 @@ declare const getContactsByIdentifiers: _keystrokehq_core0.Operation<z.ZodObject
240
194
  }>>;
241
195
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
242
196
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
243
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<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>>[] | 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;
@@ -283,16 +228,7 @@ declare const getContactSample: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
283
228
  }>>;
284
229
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
285
230
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
286
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
287
- SENDGRID_API_KEY: z.ZodString;
288
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
289
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
290
- global: "global";
291
- eu: "eu";
292
- }>>;
293
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
294
- 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>;
@@ -305,16 +241,7 @@ declare const getContactCount: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
305
241
  }>>;
306
242
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
307
243
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
308
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
309
- SENDGRID_API_KEY: z.ZodString;
310
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
311
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
312
- global: "global";
313
- eu: "eu";
314
- }>>;
315
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
316
- 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<{
@@ -350,16 +277,7 @@ declare const searchContacts: _keystrokehq_core0.Operation<z.ZodObject<{
350
277
  }>>;
351
278
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
352
279
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
353
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
354
- SENDGRID_API_KEY: z.ZodString;
355
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
356
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
357
- global: "global";
358
- eu: "eu";
359
- }>>;
360
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
361
- 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";
@@ -394,16 +312,7 @@ declare const createContactImport: _keystrokehq_core0.Operation<z.ZodObject<{
394
312
  }>>;
395
313
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
396
314
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
397
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
398
- SENDGRID_API_KEY: z.ZodString;
399
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
400
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
401
- global: "global";
402
- eu: "eu";
403
- }>>;
404
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
405
- 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<{
@@ -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>>;
@@ -474,16 +374,7 @@ declare const createContactExport: _keystrokehq_core0.Operation<z.ZodObject<{
474
374
  }>>;
475
375
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
476
376
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
477
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
478
- SENDGRID_API_KEY: z.ZodString;
479
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
480
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
481
- global: "global";
482
- eu: "eu";
483
- }>>;
484
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
485
- 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<{
@@ -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;
@@ -532,16 +414,7 @@ declare const listContactExports: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
532
414
  }>>;
533
415
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
534
416
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
535
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
536
- SENDGRID_API_KEY: z.ZodString;
537
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
538
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
539
- global: "global";
540
- eu: "eu";
541
- }>>;
542
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
543
- 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;
@@ -570,16 +443,7 @@ 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<{
@@ -593,15 +457,6 @@ declare const deleteContactIdentifier: _keystrokehq_core0.Operation<z.ZodObject<
593
457
  }>>;
594
458
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
595
459
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
596
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
597
- SENDGRID_API_KEY: z.ZodString;
598
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
599
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
600
- global: "global";
601
- eu: "eu";
602
- }>>;
603
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
604
- 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 };
@@ -1,4 +1,4 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
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 { Bt as sendgridContactExportSchema, Gt as sendgridContactSearchResultSchema, Ht as sendgridContactImportSchema, It as sendgridContactBatchResultSchema, Jt as sendgridUpsertContactsResultSchema, Kt as sendgridFieldDefinitionListSchema, Lt as sendgridContactCountSchema, Rt as sendgridContactDeleteResultSchema, Ut as sendgridContactInputSchema, Wt as sendgridContactSchema, in as sendgridEmailSchema, on as sendgridIdSchema, zt as sendgridContactExportListSchema } 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-customfields.d.ts
@@ -27,16 +26,7 @@ declare const createCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
27
26
  }>>;
28
27
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
29
28
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
30
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
31
- SENDGRID_API_KEY: z.ZodString;
32
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
33
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
34
- global: "global";
35
- eu: "eu";
36
- }>>;
37
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
38
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
39
- }, z.core.$strip>>[] | undefined>], undefined>;
29
+ }, z.core.$strip>>], undefined>;
40
30
  declare const updateCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
41
31
  fieldId: z.ZodString;
42
32
  name: z.ZodString;
@@ -57,16 +47,7 @@ declare const updateCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
57
47
  }>>;
58
48
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
59
49
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
60
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
61
- SENDGRID_API_KEY: z.ZodString;
62
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
63
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
64
- global: "global";
65
- eu: "eu";
66
- }>>;
67
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
68
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
69
- }, z.core.$strip>>[] | undefined>], undefined>;
50
+ }, z.core.$strip>>], undefined>;
70
51
  declare const deleteCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
71
52
  fieldId: z.ZodString;
72
53
  }, z.core.$strip>, z.ZodObject<{
@@ -80,15 +61,6 @@ declare const deleteCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
80
61
  }>>;
81
62
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
82
63
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
83
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
84
- SENDGRID_API_KEY: z.ZodString;
85
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
86
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
87
- global: "global";
88
- eu: "eu";
89
- }>>;
90
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
91
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
92
- }, z.core.$strip>>[] | undefined>], undefined>;
64
+ }, z.core.$strip>>], undefined>;
93
65
  //#endregion
94
66
  export { createCustomField, deleteCustomField, updateCustomField };
@@ -1,4 +1,4 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
2
2
  import { createSendGridClient } from "./client.mjs";
3
3
  import { Pt as sendgridCustomFieldDefinitionSchema, on as sendgridIdSchema } 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/marketing-lists.d.ts
@@ -18,16 +17,7 @@ declare const createList: _keystrokehq_core0.Operation<z.ZodObject<{
18
17
  }>>;
19
18
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
20
19
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
21
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
22
- SENDGRID_API_KEY: z.ZodString;
23
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
24
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
25
- global: "global";
26
- eu: "eu";
27
- }>>;
28
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
29
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
30
- }, z.core.$strip>>[] | undefined>], undefined>;
20
+ }, z.core.$strip>>], undefined>;
31
21
  declare const updateList: _keystrokehq_core0.Operation<z.ZodObject<{
32
22
  listId: z.ZodString;
33
23
  name: z.ZodString;
@@ -44,16 +34,7 @@ declare const updateList: _keystrokehq_core0.Operation<z.ZodObject<{
44
34
  }>>;
45
35
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
46
36
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
47
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
48
- SENDGRID_API_KEY: z.ZodString;
49
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
50
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
51
- global: "global";
52
- eu: "eu";
53
- }>>;
54
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
55
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
56
- }, z.core.$strip>>[] | undefined>], undefined>;
37
+ }, z.core.$strip>>], undefined>;
57
38
  declare const listMarketingLists: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
58
39
  pageSize: z.ZodOptional<z.ZodNumber>;
59
40
  pageToken: z.ZodOptional<z.ZodString>;
@@ -72,16 +53,7 @@ declare const listMarketingLists: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
72
53
  }>>;
73
54
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
74
55
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
75
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
76
- SENDGRID_API_KEY: z.ZodString;
77
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
78
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
79
- global: "global";
80
- eu: "eu";
81
- }>>;
82
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
83
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
84
- }, z.core.$strip>>[] | undefined>], undefined>;
56
+ }, z.core.$strip>>], undefined>;
85
57
  declare const getList: _keystrokehq_core0.Operation<z.ZodObject<{
86
58
  listId: z.ZodString;
87
59
  contactSampleSize: z.ZodOptional<z.ZodNumber>;
@@ -98,16 +70,7 @@ declare const getList: _keystrokehq_core0.Operation<z.ZodObject<{
98
70
  }>>;
99
71
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
100
72
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
101
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
102
- SENDGRID_API_KEY: z.ZodString;
103
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
104
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
105
- global: "global";
106
- eu: "eu";
107
- }>>;
108
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
109
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
110
- }, z.core.$strip>>[] | undefined>], undefined>;
73
+ }, z.core.$strip>>], undefined>;
111
74
  declare const getListContactCount: _keystrokehq_core0.Operation<z.ZodObject<{
112
75
  listId: z.ZodString;
113
76
  }, z.core.$strip>, z.ZodObject<{
@@ -122,16 +85,7 @@ declare const getListContactCount: _keystrokehq_core0.Operation<z.ZodObject<{
122
85
  }>>;
123
86
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
124
87
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
125
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
126
- SENDGRID_API_KEY: z.ZodString;
127
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
128
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
129
- global: "global";
130
- eu: "eu";
131
- }>>;
132
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
133
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
134
- }, z.core.$strip>>[] | undefined>], undefined>;
88
+ }, z.core.$strip>>], undefined>;
135
89
  declare const removeContactsFromList: _keystrokehq_core0.Operation<z.ZodObject<{
136
90
  listId: z.ZodString;
137
91
  contactIds: z.ZodArray<z.ZodString>;
@@ -146,16 +100,7 @@ declare const removeContactsFromList: _keystrokehq_core0.Operation<z.ZodObject<{
146
100
  }>>;
147
101
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
148
102
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
150
- SENDGRID_API_KEY: z.ZodString;
151
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
152
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
153
- global: "global";
154
- eu: "eu";
155
- }>>;
156
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
157
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
158
- }, z.core.$strip>>[] | undefined>], undefined>;
103
+ }, z.core.$strip>>], undefined>;
159
104
  declare const deleteList: _keystrokehq_core0.Operation<z.ZodObject<{
160
105
  listId: z.ZodString;
161
106
  deleteContacts: z.ZodOptional<z.ZodBoolean>;
@@ -170,15 +115,6 @@ declare const deleteList: _keystrokehq_core0.Operation<z.ZodObject<{
170
115
  }>>;
171
116
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
172
117
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
173
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
174
- SENDGRID_API_KEY: z.ZodString;
175
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
176
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
177
- global: "global";
178
- eu: "eu";
179
- }>>;
180
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
181
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
182
- }, z.core.$strip>>[] | undefined>], undefined>;
118
+ }, z.core.$strip>>], undefined>;
183
119
  //#endregion
184
120
  export { createList, deleteList, getList, getListContactCount, listMarketingLists, removeContactsFromList, updateList };
@@ -1,4 +1,4 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
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 { Ct as sendgridListSchema, St as sendgridListRemoveContactsResultSchema, bt as sendgridListCollectionSchema, on as sendgridIdSchema, xt as sendgridListContactCountSchema } from "./webhooks-CKdsIikb.mjs";