@keystrokehq/sendgrid 0.0.9 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/_official/index.d.mts +1 -1
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/alerts.d.mts +11 -57
  4. package/dist/alerts.mjs +2 -2
  5. package/dist/api-keys.d.mts +13 -68
  6. package/dist/api-keys.mjs +2 -2
  7. package/dist/client.d.mts +1 -1
  8. package/dist/client.mjs +3 -2
  9. package/dist/connection.d.mts +1 -1
  10. package/dist/connection.mjs +1 -1
  11. package/dist/domains.d.mts +7 -35
  12. package/dist/domains.mjs +2 -2
  13. package/dist/email-validation.d.mts +10 -47
  14. package/dist/email-validation.mjs +2 -2
  15. package/dist/{factory-CToXR1jp.mjs → factory-7q6CQ75J.mjs} +2 -1
  16. package/dist/{integration-zx-jmybs.d.mts → integration-Cj4Xzfq_.d.mts} +6 -14
  17. package/dist/integration-DHWfpe0w.mjs +24 -0
  18. package/dist/mail-send.d.mts +17 -90
  19. package/dist/mail-send.mjs +2 -2
  20. package/dist/marketing-contacts.d.mts +33 -178
  21. package/dist/marketing-contacts.mjs +2 -2
  22. package/dist/marketing-customfields.d.mts +7 -35
  23. package/dist/marketing-customfields.mjs +1 -1
  24. package/dist/marketing-lists.d.mts +15 -79
  25. package/dist/marketing-lists.mjs +2 -2
  26. package/dist/marketing-segments.d.mts +21 -112
  27. package/dist/marketing-segments.mjs +2 -2
  28. package/dist/marketing-singlesends.d.mts +31 -158
  29. package/dist/marketing-singlesends.mjs +2 -2
  30. package/dist/schemas/index.d.mts +3 -3
  31. package/dist/sender-identities.d.mts +13 -68
  32. package/dist/sender-identities.mjs +1 -1
  33. package/dist/senders.d.mts +11 -57
  34. package/dist/senders.mjs +1 -1
  35. package/dist/shared-CQ8JFNXi.mjs +13 -0
  36. package/dist/stats.d.mts +12 -58
  37. package/dist/stats.mjs +2 -2
  38. package/dist/suppressions.d.mts +63 -343
  39. package/dist/suppressions.mjs +2 -2
  40. package/dist/templates.d.mts +30 -130
  41. package/dist/templates.mjs +2 -2
  42. package/dist/user-account.d.mts +9 -46
  43. package/dist/user-account.mjs +1 -1
  44. package/dist/webhooks/event.d.mts +17 -90
  45. package/dist/webhooks/event.mjs +2 -2
  46. package/dist/webhooks/parse.d.mts +13 -68
  47. package/dist/webhooks/parse.mjs +2 -2
  48. package/package.json +5 -5
  49. package/dist/integration-C9EALG65.mjs +0 -113
  50. package/dist/shared-BayZ0Lt6.mjs +0 -46
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
- import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
2
+ import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
3
3
  import { createSendGridClient } from "./client.mjs";
4
4
  import { 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,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/marketing-customfields.d.ts
6
5
  declare const createCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -18,7 +17,7 @@ declare const createCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
18
17
  Number: "Number";
19
18
  Date: "Date";
20
19
  }>;
21
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
20
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
22
21
  SENDGRID_API_KEY: z.ZodString;
23
22
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
24
23
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -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;
@@ -48,16 +38,7 @@ declare const updateCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
48
38
  Number: "Number";
49
39
  Date: "Date";
50
40
  }>;
51
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
52
- SENDGRID_API_KEY: z.ZodString;
53
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
54
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
55
- global: "global";
56
- eu: "eu";
57
- }>>;
58
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
59
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
60
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
41
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
61
42
  SENDGRID_API_KEY: z.ZodString;
62
43
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
63
44
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -66,21 +47,12 @@ declare const updateCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
66
47
  }>>;
67
48
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
68
49
  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<{
73
54
  success: z.ZodBoolean;
74
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
75
- SENDGRID_API_KEY: z.ZodString;
76
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
77
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
78
- global: "global";
79
- eu: "eu";
80
- }>>;
81
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
82
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
83
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
55
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
84
56
  SENDGRID_API_KEY: z.ZodString;
85
57
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
86
58
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -89,6 +61,6 @@ declare const deleteCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
89
61
  }>>;
90
62
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
91
63
  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-CToXR1jp.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,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/marketing-lists.d.ts
6
5
  declare const createList: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -9,7 +8,7 @@ declare const createList: _keystrokehq_core0.Operation<z.ZodObject<{
9
8
  id: z.ZodString;
10
9
  name: z.ZodString;
11
10
  contact_count: z.ZodOptional<z.ZodNumber>;
12
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
11
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
13
12
  SENDGRID_API_KEY: z.ZodString;
14
13
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
15
14
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -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;
@@ -35,7 +25,7 @@ declare const updateList: _keystrokehq_core0.Operation<z.ZodObject<{
35
25
  id: z.ZodString;
36
26
  name: z.ZodString;
37
27
  contact_count: z.ZodOptional<z.ZodNumber>;
38
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
28
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
39
29
  SENDGRID_API_KEY: z.ZodString;
40
30
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
41
31
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -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>;
@@ -63,16 +44,7 @@ declare const listMarketingLists: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
63
44
  name: z.ZodString;
64
45
  contact_count: z.ZodOptional<z.ZodNumber>;
65
46
  }, z.core.$catchall<z.ZodUnknown>>>;
66
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
67
- SENDGRID_API_KEY: z.ZodString;
68
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
69
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
70
- global: "global";
71
- eu: "eu";
72
- }>>;
73
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
74
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
75
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
47
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
76
48
  SENDGRID_API_KEY: z.ZodString;
77
49
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
78
50
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -81,7 +53,7 @@ declare const listMarketingLists: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
81
53
  }>>;
82
54
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
83
55
  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>;
@@ -89,16 +61,7 @@ declare const getList: _keystrokehq_core0.Operation<z.ZodObject<{
89
61
  id: z.ZodString;
90
62
  name: z.ZodString;
91
63
  contact_count: z.ZodOptional<z.ZodNumber>;
92
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
93
- SENDGRID_API_KEY: z.ZodString;
94
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
95
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
96
- global: "global";
97
- eu: "eu";
98
- }>>;
99
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
100
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
101
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
64
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
102
65
  SENDGRID_API_KEY: z.ZodString;
103
66
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
104
67
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -107,13 +70,13 @@ declare const getList: _keystrokehq_core0.Operation<z.ZodObject<{
107
70
  }>>;
108
71
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
109
72
  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<{
114
77
  contact_count: z.ZodNumber;
115
78
  billable_count: z.ZodOptional<z.ZodNumber>;
116
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
79
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
117
80
  SENDGRID_API_KEY: z.ZodString;
118
81
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
119
82
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -122,22 +85,13 @@ 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>;
138
92
  }, z.core.$strip>, z.ZodObject<{
139
93
  job_id: z.ZodString;
140
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
94
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
141
95
  SENDGRID_API_KEY: z.ZodString;
142
96
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
143
97
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -146,31 +100,13 @@ 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>;
162
107
  }, z.core.$strip>, z.ZodObject<{
163
108
  success: z.ZodBoolean;
164
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
165
- SENDGRID_API_KEY: z.ZodString;
166
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
167
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
168
- global: "global";
169
- eu: "eu";
170
- }>>;
171
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
172
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
173
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
109
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
174
110
  SENDGRID_API_KEY: z.ZodString;
175
111
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
176
112
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -179,6 +115,6 @@ declare const deleteList: _keystrokehq_core0.Operation<z.ZodObject<{
179
115
  }>>;
180
116
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
181
117
  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,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
- import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
2
+ import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
3
3
  import { createSendGridClient } from "./client.mjs";
4
4
  import { 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,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/marketing-segments.d.ts
6
5
  declare const createSegment: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -22,7 +21,7 @@ declare const createSegment: _keystrokehq_core0.Operation<z.ZodObject<{
22
21
  query_validation: z.ZodOptional<z.ZodString>;
23
22
  error_message: z.ZodOptional<z.ZodString>;
24
23
  }, z.core.$catchall<z.ZodUnknown>>>;
25
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
24
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
26
25
  SENDGRID_API_KEY: z.ZodString;
27
26
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
28
27
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -31,16 +30,7 @@ declare const createSegment: _keystrokehq_core0.Operation<z.ZodObject<{
31
30
  }>>;
32
31
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
33
32
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
34
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
35
- SENDGRID_API_KEY: z.ZodString;
36
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
37
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
38
- global: "global";
39
- eu: "eu";
40
- }>>;
41
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
42
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
43
- }, z.core.$strip>>[] | undefined>], undefined>;
33
+ }, z.core.$strip>>], undefined>;
44
34
  declare const updateSegment: _keystrokehq_core0.Operation<z.ZodObject<{
45
35
  segmentId: z.ZodString;
46
36
  name: z.ZodOptional<z.ZodString>;
@@ -60,7 +50,7 @@ declare const updateSegment: _keystrokehq_core0.Operation<z.ZodObject<{
60
50
  query_validation: z.ZodOptional<z.ZodString>;
61
51
  error_message: z.ZodOptional<z.ZodString>;
62
52
  }, z.core.$catchall<z.ZodUnknown>>>;
63
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
53
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
64
54
  SENDGRID_API_KEY: z.ZodString;
65
55
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
66
56
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -69,21 +59,12 @@ declare const updateSegment: _keystrokehq_core0.Operation<z.ZodObject<{
69
59
  }>>;
70
60
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
71
61
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
72
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
73
- SENDGRID_API_KEY: z.ZodString;
74
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
75
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
76
- global: "global";
77
- eu: "eu";
78
- }>>;
79
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
80
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
81
- }, z.core.$strip>>[] | undefined>], undefined>;
62
+ }, z.core.$strip>>], undefined>;
82
63
  declare const deleteSegment: _keystrokehq_core0.Operation<z.ZodObject<{
83
64
  segmentId: z.ZodString;
84
65
  }, z.core.$strip>, z.ZodObject<{
85
66
  success: z.ZodBoolean;
86
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
67
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
87
68
  SENDGRID_API_KEY: z.ZodString;
88
69
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
89
70
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -92,16 +73,7 @@ declare const deleteSegment: _keystrokehq_core0.Operation<z.ZodObject<{
92
73
  }>>;
93
74
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
94
75
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
95
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
96
- SENDGRID_API_KEY: z.ZodString;
97
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
98
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
99
- global: "global";
100
- eu: "eu";
101
- }>>;
102
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
103
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
104
- }, z.core.$strip>>[] | undefined>], undefined>;
76
+ }, z.core.$strip>>], undefined>;
105
77
  declare const listSegments: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{
106
78
  parentListIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
79
  noParentListId: z.ZodOptional<z.ZodBoolean>;
@@ -122,16 +94,7 @@ declare const listSegments: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObje
122
94
  error_message: z.ZodOptional<z.ZodString>;
123
95
  }, z.core.$catchall<z.ZodUnknown>>>;
124
96
  }, z.core.$catchall<z.ZodUnknown>>>;
125
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", 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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
97
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
135
98
  SENDGRID_API_KEY: z.ZodString;
136
99
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
137
100
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -140,7 +103,7 @@ declare const listSegments: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObje
140
103
  }>>;
141
104
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
142
105
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
143
- }, z.core.$strip>>[] | undefined>], undefined>;
106
+ }, z.core.$strip>>], undefined>;
144
107
  declare const getSegment: _keystrokehq_core0.Operation<z.ZodObject<{
145
108
  segmentId: z.ZodString;
146
109
  contactsSample: z.ZodOptional<z.ZodBoolean>;
@@ -159,16 +122,7 @@ declare const getSegment: _keystrokehq_core0.Operation<z.ZodObject<{
159
122
  query_validation: z.ZodOptional<z.ZodString>;
160
123
  error_message: z.ZodOptional<z.ZodString>;
161
124
  }, z.core.$catchall<z.ZodUnknown>>>;
162
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
163
- SENDGRID_API_KEY: z.ZodString;
164
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
165
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
166
- global: "global";
167
- eu: "eu";
168
- }>>;
169
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
170
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
171
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
125
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
172
126
  SENDGRID_API_KEY: z.ZodString;
173
127
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
174
128
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -177,7 +131,7 @@ declare const getSegment: _keystrokehq_core0.Operation<z.ZodObject<{
177
131
  }>>;
178
132
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
179
133
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
180
- }, z.core.$strip>>[] | undefined>], undefined>;
134
+ }, z.core.$strip>>], undefined>;
181
135
  declare const refreshSegment: _keystrokehq_core0.Operation<z.ZodObject<{
182
136
  segmentId: z.ZodString;
183
137
  }, z.core.$strip>, z.ZodObject<{
@@ -195,7 +149,7 @@ declare const refreshSegment: _keystrokehq_core0.Operation<z.ZodObject<{
195
149
  query_validation: z.ZodOptional<z.ZodString>;
196
150
  error_message: z.ZodOptional<z.ZodString>;
197
151
  }, z.core.$catchall<z.ZodUnknown>>>;
198
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
152
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
199
153
  SENDGRID_API_KEY: z.ZodString;
200
154
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
201
155
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -204,16 +158,7 @@ declare const refreshSegment: _keystrokehq_core0.Operation<z.ZodObject<{
204
158
  }>>;
205
159
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
206
160
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
207
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
208
- SENDGRID_API_KEY: z.ZodString;
209
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
210
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
211
- global: "global";
212
- eu: "eu";
213
- }>>;
214
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
215
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
216
- }, z.core.$strip>>[] | undefined>], undefined>;
161
+ }, z.core.$strip>>], undefined>;
217
162
  declare const filterSegmentsByParents: _keystrokehq_core0.Operation<z.ZodObject<{
218
163
  parentListIds: z.ZodArray<z.ZodString>;
219
164
  }, z.core.$strip>, z.ZodObject<{
@@ -233,7 +178,7 @@ declare const filterSegmentsByParents: _keystrokehq_core0.Operation<z.ZodObject<
233
178
  error_message: z.ZodOptional<z.ZodString>;
234
179
  }, z.core.$catchall<z.ZodUnknown>>>;
235
180
  }, z.core.$catchall<z.ZodUnknown>>>;
236
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
181
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
237
182
  SENDGRID_API_KEY: z.ZodString;
238
183
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
239
184
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -242,16 +187,7 @@ declare const filterSegmentsByParents: _keystrokehq_core0.Operation<z.ZodObject<
242
187
  }>>;
243
188
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
244
189
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
245
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
246
- SENDGRID_API_KEY: z.ZodString;
247
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
248
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
249
- global: "global";
250
- eu: "eu";
251
- }>>;
252
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
253
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
254
- }, z.core.$strip>>[] | undefined>], undefined>;
190
+ }, z.core.$strip>>], undefined>;
255
191
  declare const createLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
256
192
  name: z.ZodString;
257
193
  parentListIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -271,7 +207,7 @@ declare const createLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
271
207
  query_validation: z.ZodOptional<z.ZodString>;
272
208
  error_message: z.ZodOptional<z.ZodString>;
273
209
  }, z.core.$catchall<z.ZodUnknown>>>;
274
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
210
+ }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
275
211
  SENDGRID_API_KEY: z.ZodString;
276
212
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
277
213
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -280,30 +216,12 @@ declare const createLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
280
216
  }>>;
281
217
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
282
218
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
283
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
284
- SENDGRID_API_KEY: z.ZodString;
285
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
286
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
287
- global: "global";
288
- eu: "eu";
289
- }>>;
290
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
291
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
292
- }, z.core.$strip>>[] | undefined>], undefined>;
219
+ }, z.core.$strip>>], undefined>;
293
220
  declare const deleteLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
294
221
  segmentId: z.ZodString;
295
222
  }, z.core.$strip>, z.ZodObject<{
296
223
  success: z.ZodBoolean;
297
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
298
- SENDGRID_API_KEY: z.ZodString;
299
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
300
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
301
- global: "global";
302
- eu: "eu";
303
- }>>;
304
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
305
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
306
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
224
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
307
225
  SENDGRID_API_KEY: z.ZodString;
308
226
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
309
227
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -312,21 +230,12 @@ declare const deleteLegacySegment: _keystrokehq_core0.Operation<z.ZodObject<{
312
230
  }>>;
313
231
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
314
232
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
315
- }, z.core.$strip>>[] | undefined>], undefined>;
233
+ }, z.core.$strip>>], undefined>;
316
234
  declare const removeSegmentWithoutContacts: _keystrokehq_core0.Operation<z.ZodObject<{
317
235
  segmentId: z.ZodString;
318
236
  }, z.core.$strip>, z.ZodObject<{
319
237
  success: z.ZodBoolean;
320
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"sendgrid", z.ZodObject<{
321
- SENDGRID_API_KEY: z.ZodString;
322
- SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
323
- SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
324
- global: "global";
325
- eu: "eu";
326
- }>>;
327
- SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
328
- SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
329
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
238
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
330
239
  SENDGRID_API_KEY: z.ZodString;
331
240
  SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
332
241
  SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
@@ -335,6 +244,6 @@ declare const removeSegmentWithoutContacts: _keystrokehq_core0.Operation<z.ZodOb
335
244
  }>>;
336
245
  SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
337
246
  SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
338
- }, z.core.$strip>>[] | undefined>], undefined>;
247
+ }, z.core.$strip>>], undefined>;
339
248
  //#endregion
340
249
  export { createLegacySegment, createSegment, deleteLegacySegment, deleteSegment, filterSegmentsByParents, getSegment, listSegments, refreshSegment, removeSegmentWithoutContacts, updateSegment };
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, t as sendgridOperation } from "./factory-CToXR1jp.mjs";
2
- import { n as omitUndefined } from "./shared-BayZ0Lt6.mjs";
1
+ import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
2
+ import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
3
3
  import { createSendGridClient } from "./client.mjs";
4
4
  import { at as sendgridSegmentListSchema, on as sendgridIdSchema, ot as sendgridSegmentSchema } from "./webhooks-CKdsIikb.mjs";
5
5
  import { z } from "zod";