@keystrokehq/sendgrid 0.0.8 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +1 -1
- package/dist/_official/index.mjs +1 -1
- package/dist/alerts.d.mts +5 -51
- package/dist/alerts.mjs +1 -1
- package/dist/api-keys.d.mts +6 -61
- package/dist/api-keys.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/domains.d.mts +3 -31
- package/dist/domains.mjs +1 -1
- package/dist/email-validation.d.mts +4 -41
- package/dist/email-validation.mjs +1 -1
- package/dist/{factory-BSL0D2L0.mjs → factory-7q6CQ75J.mjs} +1 -1
- package/dist/{integration-DpbPKcSF.d.mts → integration-Cj4Xzfq_.d.mts} +3 -12
- package/dist/{integration-37BovSeK.mjs → integration-DHWfpe0w.mjs} +1 -0
- package/dist/mail-send.d.mts +8 -81
- package/dist/mail-send.mjs +1 -1
- package/dist/marketing-contacts.d.mts +16 -161
- package/dist/marketing-contacts.mjs +1 -1
- package/dist/marketing-customfields.d.mts +3 -31
- package/dist/marketing-customfields.mjs +1 -1
- package/dist/marketing-lists.d.mts +7 -71
- package/dist/marketing-lists.mjs +1 -1
- package/dist/marketing-segments.d.mts +10 -101
- package/dist/marketing-segments.mjs +1 -1
- package/dist/marketing-singlesends.d.mts +14 -141
- package/dist/marketing-singlesends.mjs +1 -1
- package/dist/schemas/index.d.mts +3 -3
- package/dist/sender-identities.d.mts +6 -61
- package/dist/sender-identities.mjs +1 -1
- package/dist/senders.d.mts +5 -51
- package/dist/senders.mjs +1 -1
- package/dist/stats.d.mts +6 -52
- package/dist/stats.mjs +1 -1
- package/dist/suppressions.d.mts +31 -311
- package/dist/suppressions.mjs +1 -1
- package/dist/templates.d.mts +18 -118
- package/dist/templates.mjs +1 -1
- package/dist/user-account.d.mts +4 -41
- package/dist/user-account.mjs +1 -1
- package/dist/webhooks/event.d.mts +8 -81
- package/dist/webhooks/event.mjs +1 -1
- package/dist/webhooks/parse.d.mts +6 -61
- package/dist/webhooks/parse.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as sendgridOfficialIntegration, r as sendgridBundle } from "../integration-
|
|
1
|
+
import { i as sendgridOfficialIntegration, r as sendgridBundle } from "../integration-Cj4Xzfq_.mjs";
|
|
2
2
|
export { sendgridBundle, sendgridOfficialIntegration };
|
package/dist/_official/index.mjs
CHANGED
package/dist/alerts.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/alerts.d.ts
|
|
@@ -39,16 +38,7 @@ declare const createAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
39
38
|
}>>;
|
|
40
39
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
41
40
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$strip
|
|
43
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
44
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
45
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
46
|
-
global: "global";
|
|
47
|
-
eu: "eu";
|
|
48
|
-
}>>;
|
|
49
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
50
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
41
|
+
}, z.core.$strip>>], undefined>;
|
|
52
42
|
declare const updateAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
53
43
|
type: z.ZodOptional<z.ZodEnum<{
|
|
54
44
|
usage_limit: "usage_limit";
|
|
@@ -86,16 +76,7 @@ declare const updateAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
86
76
|
}>>;
|
|
87
77
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
88
78
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
89
|
-
}, z.core.$strip
|
|
90
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
91
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
92
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
93
|
-
global: "global";
|
|
94
|
-
eu: "eu";
|
|
95
|
-
}>>;
|
|
96
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
97
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
79
|
+
}, z.core.$strip>>], undefined>;
|
|
99
80
|
declare const deleteAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
100
81
|
alertId: z.ZodNumber;
|
|
101
82
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -109,16 +90,7 @@ declare const deleteAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
109
90
|
}>>;
|
|
110
91
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
111
92
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strip
|
|
113
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
114
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
115
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
116
|
-
global: "global";
|
|
117
|
-
eu: "eu";
|
|
118
|
-
}>>;
|
|
119
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
120
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
121
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
93
|
+
}, z.core.$strip>>], undefined>;
|
|
122
94
|
declare const getAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
123
95
|
alertId: z.ZodNumber;
|
|
124
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -145,16 +117,7 @@ declare const getAlert: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
145
117
|
}>>;
|
|
146
118
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
147
119
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
148
|
-
}, z.core.$strip
|
|
149
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
150
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
151
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
152
|
-
global: "global";
|
|
153
|
-
eu: "eu";
|
|
154
|
-
}>>;
|
|
155
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
156
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
120
|
+
}, z.core.$strip>>], undefined>;
|
|
158
121
|
declare const listAlerts: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
159
122
|
id: z.ZodNumber;
|
|
160
123
|
type: z.ZodEnum<{
|
|
@@ -179,15 +142,6 @@ declare const listAlerts: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject
|
|
|
179
142
|
}>>;
|
|
180
143
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
181
144
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
182
|
-
}, z.core.$strip
|
|
183
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
184
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
185
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
186
|
-
global: "global";
|
|
187
|
-
eu: "eu";
|
|
188
|
-
}>>;
|
|
189
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
190
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
191
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
145
|
+
}, z.core.$strip>>], undefined>;
|
|
192
146
|
//#endregion
|
|
193
147
|
export { createAlert, deleteAlert, getAlert, listAlerts, updateAlert };
|
package/dist/alerts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { $t as sendgridAlertFrequencySchema, en as sendgridAlertListSchema, in as sendgridEmailSchema, nn as sendgridAlertTypeSchema, tn as sendgridAlertSchema } from "./webhooks-CKdsIikb.mjs";
|
package/dist/api-keys.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/api-keys.d.ts
|
|
@@ -20,16 +19,7 @@ declare const createApiKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
20
19
|
}>>;
|
|
21
20
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
22
21
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, z.core.$strip
|
|
24
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
25
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
26
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
27
|
-
global: "global";
|
|
28
|
-
eu: "eu";
|
|
29
|
-
}>>;
|
|
30
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
31
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
22
|
+
}, z.core.$strip>>], undefined>;
|
|
33
23
|
declare const listApiKeys: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
34
24
|
result: z.ZodArray<z.ZodObject<{
|
|
35
25
|
api_key_id: z.ZodString;
|
|
@@ -45,16 +35,7 @@ declare const listApiKeys: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObjec
|
|
|
45
35
|
}>>;
|
|
46
36
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
47
37
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
48
|
-
}, z.core.$strip
|
|
49
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
50
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
51
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
52
|
-
global: "global";
|
|
53
|
-
eu: "eu";
|
|
54
|
-
}>>;
|
|
55
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
56
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
38
|
+
}, z.core.$strip>>], undefined>;
|
|
58
39
|
declare const getApiKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
59
40
|
apiKeyId: z.ZodString;
|
|
60
41
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -70,16 +51,7 @@ declare const getApiKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
70
51
|
}>>;
|
|
71
52
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
72
53
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}, z.core.$strip
|
|
74
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
75
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
76
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
77
|
-
global: "global";
|
|
78
|
-
eu: "eu";
|
|
79
|
-
}>>;
|
|
80
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
81
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
54
|
+
}, z.core.$strip>>], undefined>;
|
|
83
55
|
declare const updateApiKeyName: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
84
56
|
apiKeyId: z.ZodString;
|
|
85
57
|
name: z.ZodString;
|
|
@@ -96,16 +68,7 @@ declare const updateApiKeyName: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
96
68
|
}>>;
|
|
97
69
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
98
70
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
99
|
-
}, z.core.$strip
|
|
100
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
101
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
102
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
103
|
-
global: "global";
|
|
104
|
-
eu: "eu";
|
|
105
|
-
}>>;
|
|
106
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
107
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
108
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
109
72
|
declare const updateApiKeyNameAndScopes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
110
73
|
apiKeyId: z.ZodString;
|
|
111
74
|
name: z.ZodString;
|
|
@@ -123,16 +86,7 @@ declare const updateApiKeyNameAndScopes: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
123
86
|
}>>;
|
|
124
87
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
125
88
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
126
|
-
}, z.core.$strip
|
|
127
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
128
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
129
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
130
|
-
global: "global";
|
|
131
|
-
eu: "eu";
|
|
132
|
-
}>>;
|
|
133
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
134
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
135
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
89
|
+
}, z.core.$strip>>], undefined>;
|
|
136
90
|
declare const deleteApiKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
137
91
|
apiKeyId: z.ZodString;
|
|
138
92
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -146,15 +100,6 @@ declare const deleteApiKey: _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
|
|
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
|
//#endregion
|
|
160
105
|
export { createApiKey, deleteApiKey, getApiKey, listApiKeys, updateApiKeyName, updateApiKeyNameAndScopes };
|
package/dist/api-keys.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { Qt as sendgridApiKeyWithKeySchema, Xt as sendgridApiKeySchema, Yt as sendgridApiKeyListSchema, on as sendgridIdSchema } from "./webhooks-CKdsIikb.mjs";
|
package/dist/client.d.mts
CHANGED
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as sendgrid } from "./integration-
|
|
1
|
+
import { t as sendgrid } from "./integration-DHWfpe0w.mjs";
|
|
2
2
|
import { r as stringIfPresent, t as asRecord } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { CredentialRevokedError } from "@keystrokehq/core/errors";
|
|
4
4
|
import { createErrorNormalizingProxy } from "@keystrokehq/integration-authoring";
|
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as sendgridOfficialIntegration, n as sendgrid, t as SendGridCredentials } from "./integration-
|
|
1
|
+
import { i as sendgridOfficialIntegration, n as sendgrid, t as SendGridCredentials } from "./integration-Cj4Xzfq_.mjs";
|
|
2
2
|
export { type SendGridCredentials, sendgrid, sendgridOfficialIntegration };
|
package/dist/connection.mjs
CHANGED
package/dist/domains.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/domains.d.ts
|
|
@@ -36,16 +35,7 @@ declare const listAuthenticatedDomains: _keystrokehq_core0.Operation<z.ZodOption
|
|
|
36
35
|
}>>;
|
|
37
36
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
38
37
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip
|
|
40
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
41
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
42
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
43
|
-
global: "global";
|
|
44
|
-
eu: "eu";
|
|
45
|
-
}>>;
|
|
46
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
47
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
48
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
38
|
+
}, z.core.$strip>>], undefined>;
|
|
49
39
|
declare const getAuthenticatedDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
50
40
|
domainId: z.ZodNumber;
|
|
51
41
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -75,16 +65,7 @@ declare const getAuthenticatedDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
75
65
|
}>>;
|
|
76
66
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
77
67
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
78
|
-
}, z.core.$strip
|
|
79
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
80
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
81
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
82
|
-
global: "global";
|
|
83
|
-
eu: "eu";
|
|
84
|
-
}>>;
|
|
85
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
86
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
87
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
68
|
+
}, z.core.$strip>>], undefined>;
|
|
88
69
|
declare const validateAuthenticatedDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
89
70
|
domainId: z.ZodNumber;
|
|
90
71
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -100,15 +81,6 @@ declare const validateAuthenticatedDomain: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
100
81
|
}>>;
|
|
101
82
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
102
83
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
103
|
-
}, z.core.$strip
|
|
104
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
105
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
106
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
107
|
-
global: "global";
|
|
108
|
-
eu: "eu";
|
|
109
|
-
}>>;
|
|
110
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
111
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
84
|
+
}, z.core.$strip>>], undefined>;
|
|
113
85
|
//#endregion
|
|
114
86
|
export { getAuthenticatedDomain, listAuthenticatedDomains, validateAuthenticatedDomain };
|
package/dist/domains.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { At as sendgridAuthenticatedDomainListSchema, Nt as sendgridDomainValidateResultSchema, jt as sendgridAuthenticatedDomainSchema } from "./webhooks-CKdsIikb.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/email-validation.d.ts
|
|
@@ -31,16 +30,7 @@ declare const validateEmail: _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
|
|
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 listBulkEmailValidationJobs: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
45
35
|
result: z.ZodArray<z.ZodObject<{
|
|
46
36
|
id: z.ZodString;
|
|
@@ -60,16 +50,7 @@ declare const listBulkEmailValidationJobs: _keystrokehq_core0.Operation<z.ZodOpt
|
|
|
60
50
|
}>>;
|
|
61
51
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
62
52
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
63
|
-
}, z.core.$strip
|
|
64
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
65
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
66
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
67
|
-
global: "global";
|
|
68
|
-
eu: "eu";
|
|
69
|
-
}>>;
|
|
70
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
71
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
53
|
+
}, z.core.$strip>>], undefined>;
|
|
73
54
|
declare const getBulkEmailValidationJob: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
74
55
|
jobId: z.ZodString;
|
|
75
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -89,16 +70,7 @@ declare const getBulkEmailValidationJob: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
89
70
|
}>>;
|
|
90
71
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
91
72
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
92
|
-
}, z.core.$strip
|
|
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>>[] | undefined>], undefined>;
|
|
73
|
+
}, z.core.$strip>>], undefined>;
|
|
102
74
|
declare const createBulkEmailValidationPresignedUrl: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
103
75
|
fileType: z.ZodDefault<z.ZodEnum<{
|
|
104
76
|
csv: "csv";
|
|
@@ -120,15 +92,6 @@ declare const createBulkEmailValidationPresignedUrl: _keystrokehq_core0.Operatio
|
|
|
120
92
|
}>>;
|
|
121
93
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
122
94
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
123
|
-
}, z.core.$strip
|
|
124
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
125
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
126
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
127
|
-
global: "global";
|
|
128
|
-
eu: "eu";
|
|
129
|
-
}>>;
|
|
130
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
131
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
132
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
95
|
+
}, z.core.$strip>>], undefined>;
|
|
133
96
|
//#endregion
|
|
134
97
|
export { createBulkEmailValidationPresignedUrl, getBulkEmailValidationJob, listBulkEmailValidationJobs, validateEmail };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { Dt as sendgridEmailValidationResponseSchema, Et as sendgridBulkEmailValidationPresignedUrlSchema, Tt as sendgridBulkEmailValidationJobSchema, in as sendgridEmailSchema, on as sendgridIdSchema, wt as sendgridBulkEmailValidationJobListSchema } from "./webhooks-CKdsIikb.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
-
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
5
3
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
+
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
6
5
|
|
|
7
6
|
//#region src/integration.d.ts
|
|
8
7
|
declare const sendgridOfficialIntegration: {
|
|
9
8
|
id: "sendgrid";
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
11
|
+
credentialType: "manual";
|
|
12
12
|
auth: z.ZodObject<{
|
|
13
13
|
SENDGRID_API_KEY: z.ZodString;
|
|
14
14
|
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
@@ -42,16 +42,7 @@ declare const sendgrid: _keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z
|
|
|
42
42
|
}>>;
|
|
43
43
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
44
44
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, z.core.$strip
|
|
46
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
47
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
48
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
49
|
-
global: "global";
|
|
50
|
-
eu: "eu";
|
|
51
|
-
}>>;
|
|
52
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
53
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
54
|
-
}, z.core.$strip>>[] | undefined>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
55
46
|
type SendGridCredentials = InferCredentialSetAuth<typeof sendgrid>;
|
|
56
47
|
//#endregion
|
|
57
48
|
export { sendgridOfficialIntegration as i, sendgrid as n, sendgridBundle as r, SendGridCredentials as t };
|
|
@@ -13,6 +13,7 @@ const sendgridOfficialIntegration = {
|
|
|
13
13
|
id: "sendgrid",
|
|
14
14
|
name: "SendGrid",
|
|
15
15
|
description: "SendGrid (Twilio) transactional + marketing email, templates, contacts, lists, segments, deliverability, and webhook helpers for Keystroke workflows",
|
|
16
|
+
credentialType: "manual",
|
|
16
17
|
auth: sendgridAuthSchema,
|
|
17
18
|
proxy: { hosts: ["api.sendgrid.com", "api.eu.sendgrid.com"] }
|
|
18
19
|
};
|
package/dist/mail-send.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
3
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/mail-send.d.ts
|
|
@@ -124,16 +123,7 @@ declare const sendEmail: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
124
123
|
}>>;
|
|
125
124
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
126
125
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
127
|
-
}, z.core.$strip
|
|
128
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
129
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
130
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
131
|
-
global: "global";
|
|
132
|
-
eu: "eu";
|
|
133
|
-
}>>;
|
|
134
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
135
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
136
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
126
|
+
}, z.core.$strip>>], undefined>;
|
|
137
127
|
declare const createBatchId: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{
|
|
138
128
|
batch_id: z.ZodString;
|
|
139
129
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:sendgrid", z.ZodObject<{
|
|
@@ -145,16 +135,7 @@ declare const createBatchId: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObj
|
|
|
145
135
|
}>>;
|
|
146
136
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
147
137
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
148
|
-
}, z.core.$strip
|
|
149
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
150
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
151
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
152
|
-
global: "global";
|
|
153
|
-
eu: "eu";
|
|
154
|
-
}>>;
|
|
155
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
156
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
157
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
138
|
+
}, z.core.$strip>>], undefined>;
|
|
158
139
|
declare const validateBatchId: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
159
140
|
batchId: z.ZodString;
|
|
160
141
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -168,16 +149,7 @@ declare const validateBatchId: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
168
149
|
}>>;
|
|
169
150
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
170
151
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
171
|
-
}, z.core.$strip
|
|
172
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
173
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
174
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
175
|
-
global: "global";
|
|
176
|
-
eu: "eu";
|
|
177
|
-
}>>;
|
|
178
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
179
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
180
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
152
|
+
}, z.core.$strip>>], undefined>;
|
|
181
153
|
declare const cancelOrPauseScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
182
154
|
batchId: z.ZodString;
|
|
183
155
|
status: z.ZodEnum<{
|
|
@@ -199,16 +171,7 @@ declare const cancelOrPauseScheduledSend: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
199
171
|
}>>;
|
|
200
172
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
201
173
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
202
|
-
}, z.core.$strip
|
|
203
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
204
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
205
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
206
|
-
global: "global";
|
|
207
|
-
eu: "eu";
|
|
208
|
-
}>>;
|
|
209
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
210
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
211
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
174
|
+
}, z.core.$strip>>], undefined>;
|
|
212
175
|
declare const updateScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
213
176
|
batchId: z.ZodString;
|
|
214
177
|
status: z.ZodEnum<{
|
|
@@ -226,16 +189,7 @@ declare const updateScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
226
189
|
}>>;
|
|
227
190
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
228
191
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
229
|
-
}, z.core.$strip
|
|
230
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
231
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
232
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
233
|
-
global: "global";
|
|
234
|
-
eu: "eu";
|
|
235
|
-
}>>;
|
|
236
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
237
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
238
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
192
|
+
}, z.core.$strip>>], undefined>;
|
|
239
193
|
declare const deleteScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
240
194
|
batchId: z.ZodString;
|
|
241
195
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -249,16 +203,7 @@ declare const deleteScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
249
203
|
}>>;
|
|
250
204
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
251
205
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
252
|
-
}, z.core.$strip
|
|
253
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
254
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
255
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
256
|
-
global: "global";
|
|
257
|
-
eu: "eu";
|
|
258
|
-
}>>;
|
|
259
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
260
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
261
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
206
|
+
}, z.core.$strip>>], undefined>;
|
|
262
207
|
declare const listScheduledSends: _keystrokehq_core0.Operation<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
263
208
|
batch_id: z.ZodString;
|
|
264
209
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -274,16 +219,7 @@ declare const listScheduledSends: _keystrokehq_core0.Operation<z.ZodOptional<z.Z
|
|
|
274
219
|
}>>;
|
|
275
220
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
276
221
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
277
|
-
}, z.core.$strip
|
|
278
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
279
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
280
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
281
|
-
global: "global";
|
|
282
|
-
eu: "eu";
|
|
283
|
-
}>>;
|
|
284
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
285
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
286
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
222
|
+
}, z.core.$strip>>], undefined>;
|
|
287
223
|
declare const getScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
288
224
|
batchId: z.ZodString;
|
|
289
225
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -301,15 +237,6 @@ declare const getScheduledSend: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
301
237
|
}>>;
|
|
302
238
|
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
303
239
|
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
304
|
-
}, z.core.$strip
|
|
305
|
-
SENDGRID_API_KEY: z.ZodString;
|
|
306
|
-
SENDGRID_SUBUSER: z.ZodOptional<z.ZodString>;
|
|
307
|
-
SENDGRID_ACCOUNT_REGION: z.ZodDefault<z.ZodEnum<{
|
|
308
|
-
global: "global";
|
|
309
|
-
eu: "eu";
|
|
310
|
-
}>>;
|
|
311
|
-
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEY: z.ZodOptional<z.ZodString>;
|
|
312
|
-
SENDGRID_INBOUND_PARSE_TOKEN: z.ZodOptional<z.ZodString>;
|
|
313
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
240
|
+
}, z.core.$strip>>], undefined>;
|
|
314
241
|
//#endregion
|
|
315
242
|
export { cancelOrPauseScheduledSend, createBatchId, deleteScheduledSend, getScheduledSend, listScheduledSends, sendEmail, updateScheduledSend, validateBatchId };
|
package/dist/mail-send.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __exportAll, t as sendgridOperation } from "./factory-
|
|
1
|
+
import { n as __exportAll, t as sendgridOperation } from "./factory-7q6CQ75J.mjs";
|
|
2
2
|
import { n as omitUndefined } from "./shared-CQ8JFNXi.mjs";
|
|
3
3
|
import { createSendGridClient } from "./client.mjs";
|
|
4
4
|
import { _t as sendgridScheduledSendSchema, ft as sendgridMailSendInputSchema, gt as sendgridScheduledSendListSchema, lt as sendgridBatchIdSchema, on as sendgridIdSchema, pt as sendgridMailSendResultSchema, vt as sendgridScheduledSendStatusSchema } from "./webhooks-CKdsIikb.mjs";
|