@keystrokehq/sendgrid 0.0.8 → 0.0.9

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 (49) 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 +6 -6
  4. package/dist/alerts.mjs +2 -2
  5. package/dist/api-keys.d.mts +7 -7
  6. package/dist/api-keys.mjs +2 -2
  7. package/dist/client.d.mts +1 -1
  8. package/dist/client.mjs +2 -3
  9. package/dist/connection.d.mts +1 -1
  10. package/dist/connection.mjs +1 -1
  11. package/dist/domains.d.mts +4 -4
  12. package/dist/domains.mjs +2 -2
  13. package/dist/email-validation.d.mts +6 -6
  14. package/dist/email-validation.mjs +2 -2
  15. package/dist/{factory-BSL0D2L0.mjs → factory-CToXR1jp.mjs} +1 -2
  16. package/dist/integration-C9EALG65.mjs +113 -0
  17. package/dist/{integration-DpbPKcSF.d.mts → integration-zx-jmybs.d.mts} +3 -4
  18. package/dist/mail-send.d.mts +9 -9
  19. package/dist/mail-send.mjs +2 -2
  20. package/dist/marketing-contacts.d.mts +17 -17
  21. package/dist/marketing-contacts.mjs +2 -2
  22. package/dist/marketing-customfields.d.mts +4 -4
  23. package/dist/marketing-customfields.mjs +1 -1
  24. package/dist/marketing-lists.d.mts +8 -8
  25. package/dist/marketing-lists.mjs +2 -2
  26. package/dist/marketing-segments.d.mts +11 -11
  27. package/dist/marketing-segments.mjs +2 -2
  28. package/dist/marketing-singlesends.d.mts +17 -17
  29. package/dist/marketing-singlesends.mjs +2 -2
  30. package/dist/sender-identities.d.mts +7 -7
  31. package/dist/sender-identities.mjs +1 -1
  32. package/dist/senders.d.mts +6 -6
  33. package/dist/senders.mjs +1 -1
  34. package/dist/shared-BayZ0Lt6.mjs +46 -0
  35. package/dist/stats.d.mts +6 -6
  36. package/dist/stats.mjs +2 -2
  37. package/dist/suppressions.d.mts +32 -32
  38. package/dist/suppressions.mjs +2 -2
  39. package/dist/templates.d.mts +12 -12
  40. package/dist/templates.mjs +2 -2
  41. package/dist/user-account.d.mts +5 -5
  42. package/dist/user-account.mjs +1 -1
  43. package/dist/webhooks/event.d.mts +9 -9
  44. package/dist/webhooks/event.mjs +2 -2
  45. package/dist/webhooks/parse.d.mts +7 -7
  46. package/dist/webhooks/parse.mjs +2 -2
  47. package/package.json +4 -4
  48. package/dist/integration-37BovSeK.mjs +0 -23
  49. package/dist/shared-CQ8JFNXi.mjs +0 -13
@@ -1,6 +1,6 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
1
2
  import { z } from "zod";
2
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
4
 
5
5
  //#region src/marketing-contacts.d.ts
6
6
  declare const upsertContacts: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -25,7 +25,7 @@ declare const upsertContacts: _keystrokehq_core0.Operation<z.ZodObject<{
25
25
  }, z.core.$strip>>;
26
26
  }, z.core.$strip>, z.ZodObject<{
27
27
  job_id: z.ZodString;
28
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
28
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
29
29
  SENDGRID_API_KEY: z.ZodString;
30
30
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
31
31
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -49,7 +49,7 @@ declare const deleteContacts: _keystrokehq_core0.Operation<z.ZodObject<{
49
49
  deleteAllContacts: z.ZodOptional<z.ZodBoolean>;
50
50
  }, z.core.$strip>, z.ZodObject<{
51
51
  job_id: z.ZodString;
52
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
52
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
53
53
  SENDGRID_API_KEY: z.ZodString;
54
54
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
55
55
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -91,7 +91,7 @@ declare const getContact: _keystrokehq_core0.Operation<z.ZodObject<{
91
91
  created_at: z.ZodOptional<z.ZodISODateTime>;
92
92
  updated_at: z.ZodOptional<z.ZodISODateTime>;
93
93
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
94
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
95
95
  SENDGRID_API_KEY: z.ZodString;
96
96
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
97
97
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -135,7 +135,7 @@ declare const getContactsByIds: _keystrokehq_core0.Operation<z.ZodObject<{
135
135
  updated_at: z.ZodOptional<z.ZodISODateTime>;
136
136
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
137
  }, z.core.$catchall<z.ZodUnknown>>>;
138
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
138
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
139
139
  SENDGRID_API_KEY: z.ZodString;
140
140
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
141
141
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -180,7 +180,7 @@ declare const getContactsByEmails: _keystrokehq_core0.Operation<z.ZodObject<{
180
180
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
181
  }, z.core.$catchall<z.ZodUnknown>>>;
182
182
  contact_count: z.ZodOptional<z.ZodNumber>;
183
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
183
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
184
184
  SENDGRID_API_KEY: z.ZodString;
185
185
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
186
186
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -231,7 +231,7 @@ declare const getContactsByIdentifiers: _keystrokehq_core0.Operation<z.ZodObject
231
231
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
232
  }, z.core.$catchall<z.ZodUnknown>>>;
233
233
  contact_count: z.ZodOptional<z.ZodNumber>;
234
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
234
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
235
235
  SENDGRID_API_KEY: z.ZodString;
236
236
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
237
237
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -274,7 +274,7 @@ declare const getContactSample: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
274
274
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
275
275
  }, z.core.$catchall<z.ZodUnknown>>>;
276
276
  contact_count: z.ZodOptional<z.ZodNumber>;
277
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
277
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
278
278
  SENDGRID_API_KEY: z.ZodString;
279
279
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
280
280
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -296,7 +296,7 @@ declare const getContactSample: _keystrokehq_core0.Operation<z.ZodOptional<z.Zod
296
296
  declare const getContactCount: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
297
297
  contact_count: z.ZodNumber;
298
298
  billable_count: z.ZodOptional<z.ZodNumber>;
299
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
299
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
300
300
  SENDGRID_API_KEY: z.ZodString;
301
301
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
302
302
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -341,7 +341,7 @@ declare const searchContacts: _keystrokehq_core0.Operation<z.ZodObject<{
341
341
  list_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
342
342
  }, z.core.$catchall<z.ZodUnknown>>>;
343
343
  contact_count: z.ZodOptional<z.ZodNumber>;
344
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
344
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
345
345
  SENDGRID_API_KEY: z.ZodString;
346
346
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
347
347
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -385,7 +385,7 @@ declare const createContactImport: _keystrokehq_core0.Operation<z.ZodObject<{
385
385
  header: z.ZodString;
386
386
  value: z.ZodString;
387
387
  }, z.core.$strip>>>;
388
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
388
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
389
389
  SENDGRID_API_KEY: z.ZodString;
390
390
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
391
391
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -425,7 +425,7 @@ declare const getContactImportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
425
425
  header: z.ZodString;
426
426
  value: z.ZodString;
427
427
  }, z.core.$strip>>>;
428
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
428
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
429
429
  SENDGRID_API_KEY: z.ZodString;
430
430
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
431
431
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -465,7 +465,7 @@ declare const createContactExport: _keystrokehq_core0.Operation<z.ZodObject<{
465
465
  urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
466
  message: z.ZodOptional<z.ZodString>;
467
467
  expires_at: z.ZodOptional<z.ZodString>;
468
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
468
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
469
469
  SENDGRID_API_KEY: z.ZodString;
470
470
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
471
471
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -494,7 +494,7 @@ declare const getContactExportStatus: _keystrokehq_core0.Operation<z.ZodObject<{
494
494
  urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
495
495
  message: z.ZodOptional<z.ZodString>;
496
496
  expires_at: z.ZodOptional<z.ZodString>;
497
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
497
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
498
498
  SENDGRID_API_KEY: z.ZodString;
499
499
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
500
500
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -523,7 +523,7 @@ declare const listContactExports: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
523
523
  message: z.ZodOptional<z.ZodString>;
524
524
  expires_at: z.ZodOptional<z.ZodString>;
525
525
  }, z.core.$catchall<z.ZodUnknown>>>;
526
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
526
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
527
527
  SENDGRID_API_KEY: z.ZodString;
528
528
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
529
529
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -561,7 +561,7 @@ declare const listFieldDefinitions: _keystrokehq_core0.Operation<z.ZodOptional<z
561
561
  Date: "Date";
562
562
  }>;
563
563
  }, z.core.$catchall<z.ZodUnknown>>>>;
564
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
564
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
565
565
  SENDGRID_API_KEY: z.ZodString;
566
566
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
567
567
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -584,7 +584,7 @@ declare const deleteContactIdentifier: _keystrokehq_core0.Operation<z.ZodObject<
584
584
  identifierId: z.ZodString;
585
585
  }, z.core.$strip>, z.ZodObject<{
586
586
  success: z.ZodBoolean;
587
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
587
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
588
588
  SENDGRID_API_KEY: z.ZodString;
589
589
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
590
590
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
2
- import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
+ import { n as omitUndefined } from "./shared-BayZ0Lt6.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";
5
5
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
1
2
  import { z } from "zod";
2
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
4
 
5
5
  //#region src/marketing-customfields.d.ts
6
6
  declare const createCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -18,7 +18,7 @@ declare const createCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
18
18
  Number: "Number";
19
19
  Date: "Date";
20
20
  }>;
21
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
21
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
22
22
  SENDGRID_API_KEY: z.ZodString;
23
23
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
24
24
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -48,7 +48,7 @@ declare const updateCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
48
48
  Number: "Number";
49
49
  Date: "Date";
50
50
  }>;
51
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
51
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
52
52
  SENDGRID_API_KEY: z.ZodString;
53
53
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
54
54
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -71,7 +71,7 @@ declare const deleteCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
71
71
  fieldId: z.ZodString;
72
72
  }, z.core.$strip>, z.ZodObject<{
73
73
  success: z.ZodBoolean;
74
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
74
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
75
75
  SENDGRID_API_KEY: z.ZodString;
76
76
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
77
77
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -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-CToXR1jp.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,6 +1,6 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
1
2
  import { z } from "zod";
2
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
4
 
5
5
  //#region src/marketing-lists.d.ts
6
6
  declare const createList: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -9,7 +9,7 @@ declare const createList: _keystrokehq_core0.Operation<z.ZodObject<{
9
9
  id: z.ZodString;
10
10
  name: z.ZodString;
11
11
  contact_count: z.ZodOptional<z.ZodNumber>;
12
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
12
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
13
13
  SENDGRID_API_KEY: z.ZodString;
14
14
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
15
15
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -35,7 +35,7 @@ declare const updateList: _keystrokehq_core0.Operation<z.ZodObject<{
35
35
  id: z.ZodString;
36
36
  name: z.ZodString;
37
37
  contact_count: z.ZodOptional<z.ZodNumber>;
38
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
38
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
39
39
  SENDGRID_API_KEY: z.ZodString;
40
40
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
41
41
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -63,7 +63,7 @@ declare const listMarketingLists: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
63
63
  name: z.ZodString;
64
64
  contact_count: z.ZodOptional<z.ZodNumber>;
65
65
  }, z.core.$catchall<z.ZodUnknown>>>;
66
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
66
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
67
67
  SENDGRID_API_KEY: z.ZodString;
68
68
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
69
69
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -89,7 +89,7 @@ declare const getList: _keystrokehq_core0.Operation<z.ZodObject<{
89
89
  id: z.ZodString;
90
90
  name: z.ZodString;
91
91
  contact_count: z.ZodOptional<z.ZodNumber>;
92
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
92
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
93
93
  SENDGRID_API_KEY: z.ZodString;
94
94
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
95
95
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -113,7 +113,7 @@ declare const getListContactCount: _keystrokehq_core0.Operation<z.ZodObject<{
113
113
  }, z.core.$strip>, z.ZodObject<{
114
114
  contact_count: z.ZodNumber;
115
115
  billable_count: z.ZodOptional<z.ZodNumber>;
116
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
116
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
117
117
  SENDGRID_API_KEY: z.ZodString;
118
118
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
119
119
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -137,7 +137,7 @@ declare const removeContactsFromList: _keystrokehq_core0.Operation<z.ZodObject<{
137
137
  contactIds: z.ZodArray<z.ZodString>;
138
138
  }, z.core.$strip>, z.ZodObject<{
139
139
  job_id: z.ZodString;
140
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
140
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
141
141
  SENDGRID_API_KEY: z.ZodString;
142
142
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
143
143
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -161,7 +161,7 @@ declare const deleteList: _keystrokehq_core0.Operation<z.ZodObject<{
161
161
  deleteContacts: z.ZodOptional<z.ZodBoolean>;
162
162
  }, z.core.$strip>, z.ZodObject<{
163
163
  success: z.ZodBoolean;
164
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
164
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
165
165
  SENDGRID_API_KEY: z.ZodString;
166
166
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
167
167
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
2
- import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
+ import { n as omitUndefined } from "./shared-BayZ0Lt6.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";
5
5
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
1
2
  import { z } from "zod";
2
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
4
 
5
5
  //#region src/marketing-segments.d.ts
6
6
  declare const createSegment: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -22,7 +22,7 @@ declare const createSegment: _keystrokehq_core0.Operation<z.ZodObject<{
22
22
  query_validation: z.ZodOptional<z.ZodString>;
23
23
  error_message: z.ZodOptional<z.ZodString>;
24
24
  }, z.core.$catchall<z.ZodUnknown>>>;
25
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
25
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
26
26
  SENDGRID_API_KEY: z.ZodString;
27
27
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
28
28
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -60,7 +60,7 @@ declare const updateSegment: _keystrokehq_core0.Operation<z.ZodObject<{
60
60
  query_validation: z.ZodOptional<z.ZodString>;
61
61
  error_message: z.ZodOptional<z.ZodString>;
62
62
  }, z.core.$catchall<z.ZodUnknown>>>;
63
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
63
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
64
64
  SENDGRID_API_KEY: z.ZodString;
65
65
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
66
66
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -83,7 +83,7 @@ declare const deleteSegment: _keystrokehq_core0.Operation<z.ZodObject<{
83
83
  segmentId: z.ZodString;
84
84
  }, z.core.$strip>, z.ZodObject<{
85
85
  success: z.ZodBoolean;
86
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
86
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
87
87
  SENDGRID_API_KEY: z.ZodString;
88
88
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
89
89
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -122,7 +122,7 @@ declare const listSegments: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObje
122
122
  error_message: z.ZodOptional<z.ZodString>;
123
123
  }, z.core.$catchall<z.ZodUnknown>>>;
124
124
  }, z.core.$catchall<z.ZodUnknown>>>;
125
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
125
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
126
126
  SENDGRID_API_KEY: z.ZodString;
127
127
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
128
128
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -159,7 +159,7 @@ declare const getSegment: _keystrokehq_core0.Operation<z.ZodObject<{
159
159
  query_validation: z.ZodOptional<z.ZodString>;
160
160
  error_message: z.ZodOptional<z.ZodString>;
161
161
  }, z.core.$catchall<z.ZodUnknown>>>;
162
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
162
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
163
163
  SENDGRID_API_KEY: z.ZodString;
164
164
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
165
165
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -195,7 +195,7 @@ declare const refreshSegment: _keystrokehq_core0.Operation<z.ZodObject<{
195
195
  query_validation: z.ZodOptional<z.ZodString>;
196
196
  error_message: z.ZodOptional<z.ZodString>;
197
197
  }, z.core.$catchall<z.ZodUnknown>>>;
198
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
198
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
199
199
  SENDGRID_API_KEY: z.ZodString;
200
200
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
201
201
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -233,7 +233,7 @@ declare const filterSegmentsByParents: _keystrokehq_core0.Operation<z.ZodObject<
233
233
  error_message: z.ZodOptional<z.ZodString>;
234
234
  }, z.core.$catchall<z.ZodUnknown>>>;
235
235
  }, z.core.$catchall<z.ZodUnknown>>>;
236
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
236
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
237
237
  SENDGRID_API_KEY: z.ZodString;
238
238
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
239
239
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -271,7 +271,7 @@ declare const createLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
271
271
  query_validation: z.ZodOptional<z.ZodString>;
272
272
  error_message: z.ZodOptional<z.ZodString>;
273
273
  }, z.core.$catchall<z.ZodUnknown>>>;
274
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
274
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
275
275
  SENDGRID_API_KEY: z.ZodString;
276
276
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
277
277
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -294,7 +294,7 @@ declare const deleteLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
294
294
  segmentId: z.ZodString;
295
295
  }, z.core.$strip>, z.ZodObject<{
296
296
  success: z.ZodBoolean;
297
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
297
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
298
298
  SENDGRID_API_KEY: z.ZodString;
299
299
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
300
300
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -317,7 +317,7 @@ declare const removeSegmentWithoutContacts: _keystrokehq_core0.Operation<z.ZodOb
317
317
  segmentId: z.ZodString;
318
318
  }, z.core.$strip>, z.ZodObject<{
319
319
  success: z.ZodBoolean;
320
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
320
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
321
321
  SENDGRID_API_KEY: z.ZodString;
322
322
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
323
323
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
2
- import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
+ import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
3
3
  import { createSendGridClient } from "./client.mjs";
4
4
  import { at as sendgridSegmentListSchema, on as sendgridIdSchema, ot as sendgridSegmentSchema } from "./webhooks-CKdsIikb.mjs";
5
5
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
1
2
  import { z } from "zod";
2
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
4
 
5
5
  //#region src/marketing-singlesends.d.ts
6
6
  declare const createSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -62,7 +62,7 @@ declare const createSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
62
62
  }, z.core.$catchall<z.ZodUnknown>>>;
63
63
  created_at: z.ZodOptional<z.ZodISODateTime>;
64
64
  updated_at: z.ZodOptional<z.ZodISODateTime>;
65
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
65
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
66
66
  SENDGRID_API_KEY: z.ZodString;
67
67
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
68
68
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -141,7 +141,7 @@ declare const updateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
141
141
  }, z.core.$catchall<z.ZodUnknown>>>;
142
142
  created_at: z.ZodOptional<z.ZodISODateTime>;
143
143
  updated_at: z.ZodOptional<z.ZodISODateTime>;
144
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
144
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
145
145
  SENDGRID_API_KEY: z.ZodString;
146
146
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
147
147
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -198,7 +198,7 @@ declare const duplicateSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
198
198
  }, z.core.$catchall<z.ZodUnknown>>>;
199
199
  created_at: z.ZodOptional<z.ZodISODateTime>;
200
200
  updated_at: z.ZodOptional<z.ZodISODateTime>;
201
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
201
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
202
202
  SENDGRID_API_KEY: z.ZodString;
203
203
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
204
204
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -221,7 +221,7 @@ declare const deleteSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
221
221
  id: z.ZodString;
222
222
  }, z.core.$strip>, z.ZodObject<{
223
223
  success: z.ZodBoolean;
224
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
224
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
225
225
  SENDGRID_API_KEY: z.ZodString;
226
226
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
227
227
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -244,7 +244,7 @@ declare const bulkDeleteSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
244
244
  ids: z.ZodArray<z.ZodString>;
245
245
  }, z.core.$strip>, z.ZodObject<{
246
246
  success: z.ZodBoolean;
247
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
247
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
248
248
  SENDGRID_API_KEY: z.ZodString;
249
249
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
250
250
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -300,7 +300,7 @@ declare const getSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
300
300
  }, z.core.$catchall<z.ZodUnknown>>>;
301
301
  created_at: z.ZodOptional<z.ZodISODateTime>;
302
302
  updated_at: z.ZodOptional<z.ZodISODateTime>;
303
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
303
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
304
304
  SENDGRID_API_KEY: z.ZodString;
305
305
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
306
306
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -359,7 +359,7 @@ declare const listSingleSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
359
359
  created_at: z.ZodOptional<z.ZodISODateTime>;
360
360
  updated_at: z.ZodOptional<z.ZodISODateTime>;
361
361
  }, z.core.$catchall<z.ZodUnknown>>>;
362
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
362
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
363
363
  SENDGRID_API_KEY: z.ZodString;
364
364
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
365
365
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -426,7 +426,7 @@ declare const searchSingleSends: _keystrokehq_core0.Operation<z.ZodObject<{
426
426
  created_at: z.ZodOptional<z.ZodISODateTime>;
427
427
  updated_at: z.ZodOptional<z.ZodISODateTime>;
428
428
  }, z.core.$catchall<z.ZodUnknown>>>;
429
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
429
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
430
430
  SENDGRID_API_KEY: z.ZodString;
431
431
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
432
432
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -484,7 +484,7 @@ declare const scheduleSingleSend: _keystrokehq_core0.Operation<z.ZodIntersection
484
484
  }, z.core.$catchall<z.ZodUnknown>>>;
485
485
  created_at: z.ZodOptional<z.ZodISODateTime>;
486
486
  updated_at: z.ZodOptional<z.ZodISODateTime>;
487
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
487
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
488
488
  SENDGRID_API_KEY: z.ZodString;
489
489
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
490
490
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -507,7 +507,7 @@ declare const unscheduleSingleSend: _keystrokehq_core0.Operation<z.ZodObject<{
507
507
  id: z.ZodString;
508
508
  }, z.core.$strip>, z.ZodObject<{
509
509
  success: z.ZodBoolean;
510
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
510
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
511
511
  SENDGRID_API_KEY: z.ZodString;
512
512
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
513
513
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -536,7 +536,7 @@ declare const sendTestMarketingEmail: _keystrokehq_core0.Operation<z.ZodObject<{
536
536
  from_address: z.ZodOptional<z.ZodString>;
537
537
  }, z.core.$strip>, z.ZodObject<{
538
538
  success: z.ZodBoolean;
539
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
539
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
540
540
  SENDGRID_API_KEY: z.ZodString;
541
541
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
542
542
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -557,10 +557,10 @@ declare const sendTestMarketingEmail: _keystrokehq_core0.Operation<z.ZodObject<{
557
557
  }, z.core.$strip>>[] | undefined>], undefined>;
558
558
  declare const listSingleSendStats: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
559
559
  aggregatedBy: z.ZodOptional<z.ZodEnum<{
560
- total: "total";
561
560
  day: "day";
562
561
  week: "week";
563
562
  month: "month";
563
+ total: "total";
564
564
  }>>;
565
565
  pageSize: z.ZodOptional<z.ZodNumber>;
566
566
  }, z.core.$strip>>, z.ZodObject<{
@@ -569,7 +569,7 @@ declare const listSingleSendStats: _keystrokehq_core0.Operation<z.ZodOptional<z.
569
569
  aggregation: z.ZodOptional<z.ZodString>;
570
570
  stats: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
571
571
  }, z.core.$catchall<z.ZodUnknown>>>;
572
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
572
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
573
573
  SENDGRID_API_KEY: z.ZodString;
574
574
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
575
575
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -591,16 +591,16 @@ declare const listSingleSendStats: _keystrokehq_core0.Operation<z.ZodOptional<z.
591
591
  declare const getSingleSendStats: _keystrokehq_core0.Operation<z.ZodObject<{
592
592
  id: z.ZodString;
593
593
  aggregatedBy: z.ZodOptional<z.ZodEnum<{
594
- total: "total";
595
594
  day: "day";
596
595
  week: "week";
597
596
  month: "month";
597
+ total: "total";
598
598
  }>>;
599
599
  }, z.core.$strip>, z.ZodObject<{
600
600
  id: z.ZodString;
601
601
  aggregation: z.ZodOptional<z.ZodString>;
602
602
  stats: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
603
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
603
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
604
604
  SENDGRID_API_KEY: z.ZodString;
605
605
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
606
606
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -625,7 +625,7 @@ declare const getSingleSendClickStats: _keystrokehq_core0.Operation<z.ZodObject<
625
625
  id: z.ZodString;
626
626
  aggregation: z.ZodOptional<z.ZodString>;
627
627
  stats: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
628
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
628
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
629
629
  SENDGRID_API_KEY: z.ZodString;
630
630
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
631
631
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-BSL0D2L0.mjs";
2
- import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
+ import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
3
3
  import { createSendGridClient } from "./client.mjs";
4
4
  import { $ as sendgridSingleSendTestInputSchema, G as sendgridSingleSendListSchema, J as sendgridSingleSendSearchInputSchema, K as sendgridSingleSendScheduleInputSchema, U as sendgridSingleSendClicksSchema, W as sendgridSingleSendEmailConfigSchema, X as sendgridSingleSendStatsListSchema, Y as sendgridSingleSendSendToSchema, Z as sendgridSingleSendStatsSchema, on as sendgridIdSchema, q as sendgridSingleSendSchema } from "./webhooks-CKdsIikb.mjs";
5
5
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
1
2
  import { z } from "zod";
2
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
- import * as _keystrokehq_core0 from "@keystrokehq/core";
4
4
 
5
5
  //#region src/sender-identities.d.ts
6
6
  declare const createSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -30,7 +30,7 @@ declare const createSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
30
30
  country: z.ZodOptional<z.ZodString>;
31
31
  verified: z.ZodOptional<z.ZodBoolean>;
32
32
  locked: z.ZodOptional<z.ZodBoolean>;
33
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
33
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
34
34
  SENDGRID_API_KEY: z.ZodString;
35
35
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
36
36
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -77,7 +77,7 @@ declare const updateSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
77
77
  country: z.ZodOptional<z.ZodString>;
78
78
  verified: z.ZodOptional<z.ZodBoolean>;
79
79
  locked: z.ZodOptional<z.ZodBoolean>;
80
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
80
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
81
81
  SENDGRID_API_KEY: z.ZodString;
82
82
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
83
83
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -100,7 +100,7 @@ declare const deleteSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
100
100
  id: z.ZodNumber;
101
101
  }, z.core.$strip>, z.ZodObject<{
102
102
  success: z.ZodBoolean;
103
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
103
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
104
104
  SENDGRID_API_KEY: z.ZodString;
105
105
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
106
106
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -136,7 +136,7 @@ declare const getSenderIdentity: _keystrokehq_core0.Operation<z.ZodObject<{
136
136
  country: z.ZodOptional<z.ZodString>;
137
137
  verified: z.ZodOptional<z.ZodBoolean>;
138
138
  locked: z.ZodOptional<z.ZodBoolean>;
139
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
139
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
140
140
  SENDGRID_API_KEY: z.ZodString;
141
141
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
142
142
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -172,7 +172,7 @@ declare const listSenderIdentities: _keystrokehq_core0.Operation<z.ZodOptional<z
172
172
  verified: z.ZodOptional<z.ZodBoolean>;
173
173
  locked: z.ZodOptional<z.ZodBoolean>;
174
174
  }, z.core.$catchall<z.ZodUnknown>>>;
175
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
175
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
176
176
  SENDGRID_API_KEY: z.ZodString;
177
177
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
178
178
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -195,7 +195,7 @@ declare const resendSenderIdentityVerification: _keystrokehq_core0.Operation<z.Z
195
195
  id: z.ZodNumber;
196
196
  }, z.core.$strip>, z.ZodObject<{
197
197
  success: z.ZodBoolean;
198
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
198
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
199
199
  SENDGRID_API_KEY: z.ZodString;
200
200
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
201
201
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -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-CToXR1jp.mjs";
2
2
  import { createSendGridClient } from "./client.mjs";
3
3
  import { in as sendgridEmailSchema, it as sendgridVerifiedSenderSchema, rt as sendgridVerifiedSenderListSchema } from "./webhooks-CKdsIikb.mjs";
4
4
  import { z } from "zod";