@keystrokehq/sendgrid 0.0.7 → 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 +7 -7
  5. package/dist/api-keys.d.mts +7 -7
  6. package/dist/api-keys.mjs +8 -8
  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 +5 -5
  13. package/dist/email-validation.d.mts +6 -6
  14. package/dist/email-validation.mjs +6 -6
  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 +10 -10
  20. package/dist/marketing-contacts.d.mts +17 -17
  21. package/dist/marketing-contacts.mjs +18 -18
  22. package/dist/marketing-customfields.d.mts +4 -4
  23. package/dist/marketing-customfields.mjs +4 -4
  24. package/dist/marketing-lists.d.mts +8 -8
  25. package/dist/marketing-lists.mjs +9 -9
  26. package/dist/marketing-segments.d.mts +11 -11
  27. package/dist/marketing-segments.mjs +12 -12
  28. package/dist/marketing-singlesends.d.mts +17 -17
  29. package/dist/marketing-singlesends.mjs +16 -16
  30. package/dist/sender-identities.d.mts +7 -7
  31. package/dist/sender-identities.mjs +7 -7
  32. package/dist/senders.d.mts +6 -6
  33. package/dist/senders.mjs +6 -6
  34. package/dist/shared-BayZ0Lt6.mjs +46 -0
  35. package/dist/stats.d.mts +7 -7
  36. package/dist/stats.mjs +7 -7
  37. package/dist/suppressions.d.mts +32 -32
  38. package/dist/suppressions.mjs +33 -33
  39. package/dist/templates.d.mts +12 -12
  40. package/dist/templates.mjs +13 -13
  41. package/dist/user-account.d.mts +5 -5
  42. package/dist/user-account.mjs +5 -5
  43. package/dist/webhooks/event.d.mts +9 -9
  44. package/dist/webhooks/event.mjs +10 -10
  45. package/dist/webhooks/parse.d.mts +7 -7
  46. package/dist/webhooks/parse.mjs +8 -8
  47. package/package.json +4 -4
  48. package/dist/integration-37BovSeK.mjs +0 -23
  49. package/dist/shared-CQ8JFNXi.mjs +0 -13
package/dist/senders.mjs CHANGED
@@ -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 { et as sendgridSenderAddressSchema, nt as sendgridSenderSchema, tt as sendgridSenderListSchema } from "./webhooks-CKdsIikb.mjs";
4
4
  import { z } from "zod";
@@ -13,7 +13,7 @@ var senders_exports = /* @__PURE__ */ __exportAll({
13
13
  });
14
14
  const senderId = z.number().int().positive();
15
15
  const createSender = sendgridOperation({
16
- id: "create_sender",
16
+ id: "sendgrid.create-sender",
17
17
  name: "Create Marketing Sender",
18
18
  description: "Create a Marketing Campaigns sender.",
19
19
  input: sendgridSenderAddressSchema,
@@ -28,7 +28,7 @@ const createSender = sendgridOperation({
28
28
  }
29
29
  });
30
30
  const updateSender = sendgridOperation({
31
- id: "update_sender",
31
+ id: "sendgrid.update-sender",
32
32
  name: "Update Marketing Sender",
33
33
  description: "Update a Marketing Campaigns sender.",
34
34
  input: sendgridSenderAddressSchema.partial().extend({ senderId }),
@@ -45,7 +45,7 @@ const updateSender = sendgridOperation({
45
45
  }
46
46
  });
47
47
  const deleteSender = sendgridOperation({
48
- id: "delete_sender",
48
+ id: "sendgrid.delete-sender",
49
49
  name: "Delete Marketing Sender",
50
50
  description: "Delete a Marketing Campaigns sender.",
51
51
  input: z.object({ senderId }),
@@ -57,7 +57,7 @@ const deleteSender = sendgridOperation({
57
57
  }
58
58
  });
59
59
  const getSender = sendgridOperation({
60
- id: "get_sender",
60
+ id: "sendgrid.get-sender",
61
61
  name: "Get Marketing Sender",
62
62
  description: "Retrieve a Marketing Campaigns sender by ID.",
63
63
  input: z.object({ senderId }),
@@ -68,7 +68,7 @@ const getSender = sendgridOperation({
68
68
  }
69
69
  });
70
70
  const listSenders = sendgridOperation({
71
- id: "list_senders",
71
+ id: "sendgrid.list-senders",
72
72
  name: "List Marketing Senders",
73
73
  description: "List all Marketing Campaigns senders.",
74
74
  input: z.object({}).optional(),
@@ -0,0 +1,46 @@
1
+ import { Operation } from "@keystrokehq/core";
2
+ import { z } from "zod";
3
+ import "@keystrokehq/core/trigger";
4
+
5
+ //#region ../../packages/integration-authoring/dist/index.mjs
6
+ function isThenable(value) {
7
+ return !!value && typeof value === "object" && "then" in value && typeof value.then === "function";
8
+ }
9
+ function createErrorNormalizingProxy(target, normalizeError, path = []) {
10
+ return new Proxy(target, { get(obj, property, receiver) {
11
+ const value = Reflect.get(obj, property, receiver);
12
+ if (typeof value === "function") return (...args) => {
13
+ try {
14
+ const result = value.apply(obj, args);
15
+ if (isThenable(result)) return result.then(void 0, (error) => {
16
+ throw normalizeError(error, { methodPath: [...path, String(property)].join(".") });
17
+ });
18
+ return result;
19
+ } catch (error) {
20
+ throw normalizeError(error, { methodPath: [...path, String(property)].join(".") });
21
+ }
22
+ };
23
+ if (value && typeof value === "object") return createErrorNormalizingProxy(value, normalizeError, [...path, String(property)]);
24
+ return value;
25
+ } });
26
+ }
27
+ const IntegrationConfigSchema = z.object({
28
+ id: z.string().min(1),
29
+ name: z.string().min(1),
30
+ description: z.string().optional()
31
+ });
32
+
33
+ //#endregion
34
+ //#region src/shared.ts
35
+ function asRecord(value) {
36
+ return typeof value === "object" && value !== null ? value : {};
37
+ }
38
+ function stringIfPresent(value) {
39
+ return typeof value === "string" && value.length > 0 ? value : void 0;
40
+ }
41
+ function omitUndefined(value) {
42
+ return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
43
+ }
44
+
45
+ //#endregion
46
+ export { createErrorNormalizingProxy as i, omitUndefined as n, stringIfPresent as r, asRecord as t };
package/dist/stats.d.mts CHANGED
@@ -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/stats.d.ts
6
6
  declare const getGlobalEmailStats: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -34,7 +34,7 @@ declare const getGlobalEmailStats: _keystrokehq_core0.Operation<z.ZodObject<{
34
34
  invalid_emails: z.ZodOptional<z.ZodNumber>;
35
35
  }, z.core.$catchall<z.ZodUnknown>>;
36
36
  }, z.core.$strip>>;
37
- }, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
37
+ }, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
38
38
  SENDGRID_API_KEY: z.ZodString;
39
39
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
40
40
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -85,7 +85,7 @@ declare const getCategoryStats: _keystrokehq_core0.Operation<z.ZodObject<{
85
85
  invalid_emails: z.ZodOptional<z.ZodNumber>;
86
86
  }, z.core.$catchall<z.ZodUnknown>>;
87
87
  }, z.core.$strip>>;
88
- }, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
88
+ }, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
89
89
  SENDGRID_API_KEY: z.ZodString;
90
90
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
91
91
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -107,15 +107,15 @@ declare const getCategoryStats: _keystrokehq_core0.Operation<z.ZodObject<{
107
107
  declare const listAutomationStats: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
108
108
  pageSize: z.ZodOptional<z.ZodNumber>;
109
109
  aggregatedBy: z.ZodOptional<z.ZodEnum<{
110
- total: "total";
111
110
  day: "day";
112
111
  week: "week";
113
112
  month: "month";
113
+ total: "total";
114
114
  }>>;
115
115
  }, z.core.$strip>>, z.ZodObject<{
116
116
  results: z.ZodArray<z.ZodUnknown>;
117
117
  _metadata: z.ZodOptional<z.ZodUnknown>;
118
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
118
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
119
119
  SENDGRID_API_KEY: z.ZodString;
120
120
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
121
121
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -141,7 +141,7 @@ declare const getEngagementQualityScores: _keystrokehq_core0.Operation<z.ZodObje
141
141
  account_id: z.ZodOptional<z.ZodString>;
142
142
  date: z.ZodOptional<z.ZodString>;
143
143
  metrics: z.ZodOptional<z.ZodUnknown>;
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<{
@@ -192,7 +192,7 @@ declare const listMailboxProviderStats: _keystrokehq_core0.Operation<z.ZodObject
192
192
  invalid_emails: z.ZodOptional<z.ZodNumber>;
193
193
  }, z.core.$catchall<z.ZodUnknown>>;
194
194
  }, z.core.$strip>>;
195
- }, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
195
+ }, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
196
196
  SENDGRID_API_KEY: z.ZodString;
197
197
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
198
198
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
package/dist/stats.mjs CHANGED
@@ -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 { F as sendgridAggregationSchema, I as sendgridAutomationStatsSchema, L as sendgridCategoryStatsSchema, R as sendgridEngagementQualitySchema, z as sendgridStatBucketListSchema } from "./webhooks-CKdsIikb.mjs";
5
5
  import { z } from "zod";
@@ -25,7 +25,7 @@ function mapStatsQuery(input) {
25
25
  };
26
26
  }
27
27
  const getGlobalEmailStats = sendgridOperation({
28
- id: "get_global_email_stats",
28
+ id: "sendgrid.get-global-email-stats",
29
29
  name: "Get Global Email Statistics",
30
30
  description: "Return aggregated global email stats over a date range.",
31
31
  input: statsRange,
@@ -36,7 +36,7 @@ const getGlobalEmailStats = sendgridOperation({
36
36
  }
37
37
  });
38
38
  const getCategoryStats = sendgridOperation({
39
- id: "get_category_stats",
39
+ id: "sendgrid.get-category-stats",
40
40
  name: "Get Category Stats",
41
41
  description: "Return email stats broken down by category.",
42
42
  input: statsRange.extend({ categories: z.array(z.string().min(1)).min(1).max(10) }),
@@ -50,7 +50,7 @@ const getCategoryStats = sendgridOperation({
50
50
  }
51
51
  });
52
52
  const listAutomationStats = sendgridOperation({
53
- id: "list_automation_stats",
53
+ id: "sendgrid.list-automation-stats",
54
54
  name: "List Automation Stats",
55
55
  description: "Return engagement stats for all Automations.",
56
56
  input: z.object({
@@ -72,7 +72,7 @@ const listAutomationStats = sendgridOperation({
72
72
  }
73
73
  });
74
74
  const getEngagementQualityScores = sendgridOperation({
75
- id: "get_engagement_quality_scores",
75
+ id: "sendgrid.get-engagement-quality-scores",
76
76
  name: "Get Engagement Quality Scores",
77
77
  description: "Return engagement-quality (EQ) scores for the account. Plan-gated — requires Pro+.",
78
78
  input: z.object({
@@ -89,7 +89,7 @@ const getEngagementQualityScores = sendgridOperation({
89
89
  }
90
90
  });
91
91
  const listMailboxProviderStats = sendgridOperation({
92
- id: "list_mailbox_provider_stats",
92
+ id: "sendgrid.list-mailbox-provider-stats",
93
93
  name: "List Mailbox Provider Stats",
94
94
  description: "Return email stats broken down by mailbox provider (Gmail, Outlook, etc.).",
95
95
  input: statsRange.extend({ mailboxProviders: z.array(z.string().min(1)).optional() }),
@@ -1,13 +1,13 @@
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/suppressions.d.ts
6
6
  declare const addGlobalSuppressions: _keystrokehq_core0.Operation<z.ZodObject<{
7
7
  recipientEmails: z.ZodArray<z.ZodString>;
8
8
  }, z.core.$strip>, z.ZodObject<{
9
9
  recipient_emails: z.ZodArray<z.ZodString>;
10
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
10
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
11
11
  SENDGRID_API_KEY: z.ZodString;
12
12
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
13
13
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -30,7 +30,7 @@ declare const deleteGlobalSuppression: _keystrokehq_core0.Operation<z.ZodObject<
30
30
  email: z.ZodString;
31
31
  }, z.core.$strip>, z.ZodObject<{
32
32
  success: z.ZodBoolean;
33
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
33
+ }, z.core.$strip>, 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<{
@@ -54,7 +54,7 @@ declare const getGlobalSuppression: _keystrokehq_core0.Operation<z.ZodObject<{
54
54
  }, z.core.$strip>, z.ZodObject<{
55
55
  recipient_email: z.ZodString;
56
56
  created: z.ZodOptional<z.ZodNumber>;
57
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
57
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
58
58
  SENDGRID_API_KEY: z.ZodString;
59
59
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
60
60
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -82,7 +82,7 @@ declare const listGlobalSuppressions: _keystrokehq_core0.Operation<z.ZodOptional
82
82
  }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
83
83
  recipient_email: z.ZodString;
84
84
  created: z.ZodOptional<z.ZodNumber>;
85
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
85
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
86
86
  SENDGRID_API_KEY: z.ZodString;
87
87
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
88
88
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -111,7 +111,7 @@ declare const createSuppressionGroup: _keystrokehq_core0.Operation<z.ZodObject<{
111
111
  description: z.ZodOptional<z.ZodString>;
112
112
  is_default: z.ZodOptional<z.ZodBoolean>;
113
113
  unsubscribes: z.ZodOptional<z.ZodNumber>;
114
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
114
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
115
115
  SENDGRID_API_KEY: z.ZodString;
116
116
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
117
117
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -141,7 +141,7 @@ declare const updateSuppressionGroup: _keystrokehq_core0.Operation<z.ZodObject<{
141
141
  description: z.ZodOptional<z.ZodString>;
142
142
  is_default: z.ZodOptional<z.ZodBoolean>;
143
143
  unsubscribes: z.ZodOptional<z.ZodNumber>;
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<{
@@ -164,7 +164,7 @@ declare const deleteSuppressionGroup: _keystrokehq_core0.Operation<z.ZodObject<{
164
164
  groupId: z.ZodNumber;
165
165
  }, z.core.$strip>, z.ZodObject<{
166
166
  success: z.ZodBoolean;
167
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
167
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
168
168
  SENDGRID_API_KEY: z.ZodString;
169
169
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
170
170
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -189,7 +189,7 @@ declare const listSuppressionGroups: _keystrokehq_core0.Operation<z.ZodOptional<
189
189
  description: z.ZodOptional<z.ZodString>;
190
190
  is_default: z.ZodOptional<z.ZodBoolean>;
191
191
  unsubscribes: z.ZodOptional<z.ZodNumber>;
192
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
192
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
193
193
  SENDGRID_API_KEY: z.ZodString;
194
194
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
195
195
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -216,7 +216,7 @@ declare const getSuppressionGroup: _keystrokehq_core0.Operation<z.ZodObject<{
216
216
  description: z.ZodOptional<z.ZodString>;
217
217
  is_default: z.ZodOptional<z.ZodBoolean>;
218
218
  unsubscribes: z.ZodOptional<z.ZodNumber>;
219
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
219
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
220
220
  SENDGRID_API_KEY: z.ZodString;
221
221
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
222
222
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -240,7 +240,7 @@ declare const addSuppressionsToGroup: _keystrokehq_core0.Operation<z.ZodObject<{
240
240
  recipientEmails: z.ZodArray<z.ZodString>;
241
241
  }, z.core.$strip>, z.ZodObject<{
242
242
  recipient_emails: z.ZodArray<z.ZodString>;
243
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
243
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
244
244
  SENDGRID_API_KEY: z.ZodString;
245
245
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
246
246
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -264,7 +264,7 @@ declare const deleteSuppressionFromGroup: _keystrokehq_core0.Operation<z.ZodObje
264
264
  email: z.ZodString;
265
265
  }, z.core.$strip>, z.ZodObject<{
266
266
  success: z.ZodBoolean;
267
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
267
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
268
268
  SENDGRID_API_KEY: z.ZodString;
269
269
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
270
270
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -285,7 +285,7 @@ declare const deleteSuppressionFromGroup: _keystrokehq_core0.Operation<z.ZodObje
285
285
  }, z.core.$strip>>[] | undefined>], undefined>;
286
286
  declare const listGroupSuppressions: _keystrokehq_core0.Operation<z.ZodObject<{
287
287
  groupId: z.ZodNumber;
288
- }, z.core.$strip>, z.ZodArray<z.ZodString>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
288
+ }, z.core.$strip>, z.ZodArray<z.ZodString>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
289
289
  SENDGRID_API_KEY: z.ZodString;
290
290
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
291
291
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -308,7 +308,7 @@ declare const listAllSuppressions: _keystrokehq_core0.Operation<z.ZodOptional<z.
308
308
  id: z.ZodOptional<z.ZodNumber>;
309
309
  group_id: z.ZodOptional<z.ZodNumber>;
310
310
  email: z.ZodString;
311
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
311
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
312
312
  SENDGRID_API_KEY: z.ZodString;
313
313
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
314
314
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -334,7 +334,7 @@ declare const listGroupsForEmail: _keystrokehq_core0.Operation<z.ZodObject<{
334
334
  name: z.ZodString;
335
335
  description: z.ZodOptional<z.ZodString>;
336
336
  suppressed: z.ZodOptional<z.ZodBoolean>;
337
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
337
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
338
338
  SENDGRID_API_KEY: z.ZodString;
339
339
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
340
340
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -358,7 +358,7 @@ declare const searchSuppressionsInGroup: _keystrokehq_core0.Operation<z.ZodObjec
358
358
  recipientEmails: z.ZodArray<z.ZodString>;
359
359
  }, z.core.$strip>, z.ZodObject<{
360
360
  recipient_emails: z.ZodArray<z.ZodString>;
361
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
361
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
362
362
  SENDGRID_API_KEY: z.ZodString;
363
363
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
364
364
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -387,7 +387,7 @@ declare const listBounces: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObjec
387
387
  email: z.ZodString;
388
388
  reason: z.ZodOptional<z.ZodString>;
389
389
  status: z.ZodOptional<z.ZodString>;
390
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
390
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
391
391
  SENDGRID_API_KEY: z.ZodString;
392
392
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
393
393
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -413,7 +413,7 @@ declare const getBounce: _keystrokehq_core0.Operation<z.ZodObject<{
413
413
  email: z.ZodString;
414
414
  reason: z.ZodOptional<z.ZodString>;
415
415
  status: z.ZodOptional<z.ZodString>;
416
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
416
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
417
417
  SENDGRID_API_KEY: z.ZodString;
418
418
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
419
419
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -436,7 +436,7 @@ declare const deleteBounce: _keystrokehq_core0.Operation<z.ZodObject<{
436
436
  email: z.ZodString;
437
437
  }, z.core.$strip>, z.ZodObject<{
438
438
  success: z.ZodBoolean;
439
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
439
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
440
440
  SENDGRID_API_KEY: z.ZodString;
441
441
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
442
442
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -460,7 +460,7 @@ declare const deleteBounces: _keystrokehq_core0.Operation<z.ZodObject<{
460
460
  deleteAll: z.ZodOptional<z.ZodBoolean>;
461
461
  }, z.core.$strip>, z.ZodObject<{
462
462
  success: z.ZodBoolean;
463
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
463
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
464
464
  SENDGRID_API_KEY: z.ZodString;
465
465
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
466
466
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -489,7 +489,7 @@ declare const listBlocks: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject
489
489
  email: z.ZodString;
490
490
  reason: z.ZodOptional<z.ZodString>;
491
491
  status: z.ZodOptional<z.ZodString>;
492
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
492
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
493
493
  SENDGRID_API_KEY: z.ZodString;
494
494
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
495
495
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -515,7 +515,7 @@ declare const getBlock: _keystrokehq_core0.Operation<z.ZodObject<{
515
515
  email: z.ZodString;
516
516
  reason: z.ZodOptional<z.ZodString>;
517
517
  status: z.ZodOptional<z.ZodString>;
518
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
518
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
519
519
  SENDGRID_API_KEY: z.ZodString;
520
520
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
521
521
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -538,7 +538,7 @@ declare const deleteBlock: _keystrokehq_core0.Operation<z.ZodObject<{
538
538
  email: z.ZodString;
539
539
  }, z.core.$strip>, z.ZodObject<{
540
540
  success: z.ZodBoolean;
541
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
541
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
542
542
  SENDGRID_API_KEY: z.ZodString;
543
543
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
544
544
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -562,7 +562,7 @@ declare const deleteBlocks: _keystrokehq_core0.Operation<z.ZodObject<{
562
562
  deleteAll: z.ZodOptional<z.ZodBoolean>;
563
563
  }, z.core.$strip>, z.ZodObject<{
564
564
  success: z.ZodBoolean;
565
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
565
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
566
566
  SENDGRID_API_KEY: z.ZodString;
567
567
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
568
568
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -590,7 +590,7 @@ declare const listInvalidEmails: _keystrokehq_core0.Operation<z.ZodOptional<z.Zo
590
590
  created: z.ZodNumber;
591
591
  email: z.ZodString;
592
592
  reason: z.ZodOptional<z.ZodString>;
593
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
593
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
594
594
  SENDGRID_API_KEY: z.ZodString;
595
595
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
596
596
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -615,7 +615,7 @@ declare const getInvalidEmail: _keystrokehq_core0.Operation<z.ZodObject<{
615
615
  created: z.ZodNumber;
616
616
  email: z.ZodString;
617
617
  reason: z.ZodOptional<z.ZodString>;
618
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
618
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
619
619
  SENDGRID_API_KEY: z.ZodString;
620
620
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
621
621
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -638,7 +638,7 @@ declare const deleteInvalidEmail: _keystrokehq_core0.Operation<z.ZodObject<{
638
638
  email: z.ZodString;
639
639
  }, z.core.$strip>, z.ZodObject<{
640
640
  success: z.ZodBoolean;
641
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
641
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
642
642
  SENDGRID_API_KEY: z.ZodString;
643
643
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
644
644
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -662,7 +662,7 @@ declare const deleteInvalidEmails: _keystrokehq_core0.Operation<z.ZodObject<{
662
662
  deleteAll: z.ZodOptional<z.ZodBoolean>;
663
663
  }, z.core.$strip>, z.ZodObject<{
664
664
  success: z.ZodBoolean;
665
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
665
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
666
666
  SENDGRID_API_KEY: z.ZodString;
667
667
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
668
668
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -690,7 +690,7 @@ declare const listSpamReports: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodO
690
690
  created: z.ZodNumber;
691
691
  email: z.ZodString;
692
692
  ip: z.ZodOptional<z.ZodString>;
693
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
693
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
694
694
  SENDGRID_API_KEY: z.ZodString;
695
695
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
696
696
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -715,7 +715,7 @@ declare const getSpamReport: _keystrokehq_core0.Operation<z.ZodObject<{
715
715
  created: z.ZodNumber;
716
716
  email: z.ZodString;
717
717
  ip: z.ZodOptional<z.ZodString>;
718
- }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
718
+ }, z.core.$catchall<z.ZodUnknown>>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
719
719
  SENDGRID_API_KEY: z.ZodString;
720
720
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
721
721
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -738,7 +738,7 @@ declare const deleteSpamReport: _keystrokehq_core0.Operation<z.ZodObject<{
738
738
  email: z.ZodString;
739
739
  }, z.core.$strip>, z.ZodObject<{
740
740
  success: z.ZodBoolean;
741
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
741
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
742
742
  SENDGRID_API_KEY: z.ZodString;
743
743
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
744
744
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -762,7 +762,7 @@ declare const deleteSpamReports: _keystrokehq_core0.Operation<z.ZodObject<{
762
762
  deleteAll: z.ZodOptional<z.ZodBoolean>;
763
763
  }, z.core.$strip>, z.ZodObject<{
764
764
  success: z.ZodBoolean;
765
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
765
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
766
766
  SENDGRID_API_KEY: z.ZodString;
767
767
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
768
768
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{