@keystrokehq/resend 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.
- package/dist/_official/index.d.mts +1 -1
- package/dist/_official/index.mjs +1 -1
- package/dist/api-keys.d.mts +7 -17
- package/dist/api-keys.mjs +1 -1
- package/dist/broadcasts.d.mts +13 -32
- package/dist/broadcasts.mjs +1 -1
- package/dist/client.d.mts +2 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contact-properties.d.mts +11 -27
- package/dist/contact-properties.mjs +1 -1
- package/dist/contacts.d.mts +21 -52
- package/dist/contacts.mjs +1 -1
- package/dist/domains.d.mts +13 -32
- package/dist/domains.mjs +1 -1
- package/dist/emails-receiving.d.mts +9 -22
- package/dist/emails-receiving.mjs +1 -1
- package/dist/emails.d.mts +17 -42
- package/dist/emails.mjs +1 -1
- package/dist/factory-C91g4Zm2.mjs +8 -0
- package/dist/{integration-C00bEk7H.d.mts → integration-DEgw-tXs.d.mts} +6 -8
- package/dist/integration-DXosbRPM.mjs +29 -0
- package/dist/logs.d.mts +5 -12
- package/dist/logs.mjs +1 -1
- package/dist/segments.d.mts +11 -27
- package/dist/segments.mjs +1 -1
- package/dist/templates.d.mts +15 -37
- package/dist/templates.mjs +1 -1
- package/dist/topics.d.mts +11 -27
- package/dist/topics.mjs +1 -1
- package/dist/webhooks.d.mts +11 -27
- package/dist/webhooks.mjs +1 -1
- package/package.json +6 -6
- package/dist/factory-CE4vHYLx.mjs +0 -7
- package/dist/http-BLe4ICIc.mjs +0 -84
- package/dist/integration-C5YM61yl.mjs +0 -118
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resendOfficialIntegration, i as resendBundle } from "../integration-
|
|
1
|
+
import { a as resendOfficialIntegration, i as resendBundle } from "../integration-DEgw-tXs.mjs";
|
|
2
2
|
export { resendBundle, resendOfficialIntegration };
|
package/dist/_official/index.mjs
CHANGED
package/dist/api-keys.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/api-keys.d.ts
|
|
6
5
|
declare const apiKeySummarySchema: z.ZodObject<{
|
|
@@ -22,13 +21,10 @@ declare const createApiKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
22
21
|
}, z.core.$strip>, z.ZodObject<{
|
|
23
22
|
id: z.ZodString;
|
|
24
23
|
token: z.ZodString;
|
|
25
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
26
|
-
RESEND_API_KEY: z.ZodString;
|
|
27
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
24
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
29
25
|
RESEND_API_KEY: z.ZodString;
|
|
30
26
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
31
|
-
}, z.core.$strip>>
|
|
27
|
+
}, z.core.$strip>>], undefined>;
|
|
32
28
|
declare const listApiKeys: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
33
29
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
34
30
|
after: z.ZodOptional<z.ZodString>;
|
|
@@ -41,26 +37,20 @@ declare const listApiKeys: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
41
37
|
name: z.ZodOptional<z.ZodString>;
|
|
42
38
|
created_at: z.ZodOptional<z.ZodString>;
|
|
43
39
|
}, z.core.$loose>>;
|
|
44
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
40
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
45
41
|
RESEND_API_KEY: z.ZodString;
|
|
46
42
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
47
|
-
}, z.core.$strip
|
|
48
|
-
RESEND_API_KEY: z.ZodString;
|
|
49
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
50
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
43
|
+
}, z.core.$strip>>], undefined>;
|
|
51
44
|
declare const deleteApiKey: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
45
|
id: z.ZodString;
|
|
53
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
47
|
object: z.ZodOptional<z.ZodLiteral<"api_key">>;
|
|
55
48
|
id: z.ZodString;
|
|
56
49
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
58
|
-
RESEND_API_KEY: z.ZodString;
|
|
59
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
60
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
50
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
61
51
|
RESEND_API_KEY: z.ZodString;
|
|
62
52
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
63
|
-
}, z.core.$strip>>
|
|
53
|
+
}, z.core.$strip>>], undefined>;
|
|
64
54
|
type ResendApiKeySummary = z.infer<typeof apiKeySummarySchema>;
|
|
65
55
|
type ResendApiKeyCreated = z.infer<typeof apiKeyCreatedSchema>;
|
|
66
56
|
//#endregion
|
package/dist/api-keys.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createResendClient } from "./client.mjs";
|
|
2
2
|
import { paginationQuerySchema, resendApiKeyPermissionSchema, resendListEnvelope } from "./schemas.mjs";
|
|
3
|
-
import { t as resendOperation } from "./factory-
|
|
3
|
+
import { t as resendOperation } from "./factory-C91g4Zm2.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/api-keys.ts
|
package/dist/broadcasts.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/broadcasts.d.ts
|
|
6
5
|
declare const broadcastSummarySchema: z.ZodObject<{
|
|
@@ -86,13 +85,10 @@ declare const createBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
86
85
|
preview_text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
87
86
|
html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
88
87
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
89
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
90
|
-
RESEND_API_KEY: z.ZodString;
|
|
91
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
92
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
88
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
93
89
|
RESEND_API_KEY: z.ZodString;
|
|
94
90
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
95
|
-
}, z.core.$strip>>
|
|
91
|
+
}, z.core.$strip>>], undefined>;
|
|
96
92
|
declare const listBroadcasts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
97
93
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
98
94
|
after: z.ZodOptional<z.ZodString>;
|
|
@@ -119,13 +115,10 @@ declare const listBroadcasts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
119
115
|
scheduled_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
120
116
|
sent_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
121
117
|
}, z.core.$loose>>;
|
|
122
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
118
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
123
119
|
RESEND_API_KEY: z.ZodString;
|
|
124
120
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
125
|
-
}, z.core.$strip
|
|
126
|
-
RESEND_API_KEY: z.ZodString;
|
|
127
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
128
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
121
|
+
}, z.core.$strip>>], undefined>;
|
|
129
122
|
declare const retrieveBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
130
123
|
id: z.ZodString;
|
|
131
124
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -152,13 +145,10 @@ declare const retrieveBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
152
145
|
preview_text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
153
146
|
html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
154
147
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
155
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
156
|
-
RESEND_API_KEY: z.ZodString;
|
|
157
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
158
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
148
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
159
149
|
RESEND_API_KEY: z.ZodString;
|
|
160
150
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
161
|
-
}, z.core.$strip>>
|
|
151
|
+
}, z.core.$strip>>], undefined>;
|
|
162
152
|
declare const updateBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
163
153
|
id: z.ZodString;
|
|
164
154
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -199,39 +189,30 @@ declare const updateBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
199
189
|
preview_text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
200
190
|
html: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
201
191
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
202
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
203
|
-
RESEND_API_KEY: z.ZodString;
|
|
204
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
205
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
192
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
206
193
|
RESEND_API_KEY: z.ZodString;
|
|
207
194
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
208
|
-
}, z.core.$strip>>
|
|
195
|
+
}, z.core.$strip>>], undefined>;
|
|
209
196
|
declare const sendBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
210
197
|
id: z.ZodString;
|
|
211
198
|
scheduled_at: z.ZodOptional<z.ZodString>;
|
|
212
199
|
}, z.core.$strip>, z.ZodObject<{
|
|
213
200
|
id: z.ZodString;
|
|
214
201
|
object: z.ZodOptional<z.ZodLiteral<"broadcast">>;
|
|
215
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
202
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
216
203
|
RESEND_API_KEY: z.ZodString;
|
|
217
204
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
218
|
-
}, z.core.$strip
|
|
219
|
-
RESEND_API_KEY: z.ZodString;
|
|
220
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
221
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
205
|
+
}, z.core.$strip>>], undefined>;
|
|
222
206
|
declare const deleteBroadcast: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
223
207
|
id: z.ZodString;
|
|
224
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
225
209
|
object: z.ZodOptional<z.ZodLiteral<"broadcast">>;
|
|
226
210
|
id: z.ZodString;
|
|
227
211
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
229
|
-
RESEND_API_KEY: z.ZodString;
|
|
230
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
212
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
232
213
|
RESEND_API_KEY: z.ZodString;
|
|
233
214
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
234
|
-
}, z.core.$strip>>
|
|
215
|
+
}, z.core.$strip>>], undefined>;
|
|
235
216
|
type ResendBroadcastSummary = z.infer<typeof broadcastSummarySchema>;
|
|
236
217
|
type ResendBroadcastDetail = z.infer<typeof broadcastDetailSchema>;
|
|
237
218
|
//#endregion
|
package/dist/broadcasts.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createResendClient } from "./client.mjs";
|
|
2
2
|
import { paginationQuerySchema, resendListEnvelope } from "./schemas.mjs";
|
|
3
|
-
import { t as resendOperation } from "./factory-
|
|
3
|
+
import { t as resendOperation } from "./factory-C91g4Zm2.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/broadcasts.ts
|
package/dist/client.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t as ResendCredentials } from "./integration-
|
|
1
|
+
import { t as ResendCredentials } from "./integration-DEgw-tXs.mjs";
|
|
2
|
+
import { JsonRestClient, JsonRestRequestOptions } from "@keystrokehq/integration-authoring/http";
|
|
2
3
|
|
|
3
4
|
//#region src/client.d.ts
|
|
4
5
|
declare const RESEND_BASE_URL = "https://api.resend.com";
|
package/dist/client.mjs
CHANGED
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resendOfficialIntegration, n as resend, r as resendAuthSchema, t as ResendCredentials } from "./integration-
|
|
1
|
+
import { a as resendOfficialIntegration, n as resend, r as resendAuthSchema, t as ResendCredentials } from "./integration-DEgw-tXs.mjs";
|
|
2
2
|
export { type ResendCredentials, resend, resendAuthSchema, resendOfficialIntegration };
|
package/dist/connection.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as resendOfficialIntegration, n as resendAuthSchema, t as resend } from "./integration-
|
|
1
|
+
import { i as resendOfficialIntegration, n as resendAuthSchema, t as resend } from "./integration-DXosbRPM.mjs";
|
|
2
2
|
|
|
3
3
|
export { resend, resendAuthSchema, resendOfficialIntegration };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/contact-properties.d.ts
|
|
6
5
|
declare const contactPropertyTypeSchema: z.ZodEnum<{
|
|
@@ -43,13 +42,10 @@ declare const createContactProperty: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
43
42
|
label: z.ZodOptional<z.ZodString>;
|
|
44
43
|
created_at: z.ZodOptional<z.ZodString>;
|
|
45
44
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
47
|
-
RESEND_API_KEY: z.ZodString;
|
|
48
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
49
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
45
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
50
46
|
RESEND_API_KEY: z.ZodString;
|
|
51
47
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52
|
-
}, z.core.$strip>>
|
|
48
|
+
}, z.core.$strip>>], undefined>;
|
|
53
49
|
declare const listContactProperties: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
54
50
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
55
51
|
after: z.ZodOptional<z.ZodString>;
|
|
@@ -70,13 +66,10 @@ declare const listContactProperties: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
70
66
|
created_at: z.ZodOptional<z.ZodString>;
|
|
71
67
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
72
68
|
}, z.core.$loose>>;
|
|
73
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
74
|
-
RESEND_API_KEY: z.ZodString;
|
|
75
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
76
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
69
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
77
70
|
RESEND_API_KEY: z.ZodString;
|
|
78
71
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
79
|
-
}, z.core.$strip>>
|
|
72
|
+
}, z.core.$strip>>], undefined>;
|
|
80
73
|
declare const retrieveContactProperty: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
81
74
|
id: z.ZodString;
|
|
82
75
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -91,13 +84,10 @@ declare const retrieveContactProperty: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
91
84
|
label: z.ZodOptional<z.ZodString>;
|
|
92
85
|
created_at: z.ZodOptional<z.ZodString>;
|
|
93
86
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
94
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
87
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
95
88
|
RESEND_API_KEY: z.ZodString;
|
|
96
89
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
97
|
-
}, z.core.$strip
|
|
98
|
-
RESEND_API_KEY: z.ZodString;
|
|
99
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
100
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
90
|
+
}, z.core.$strip>>], undefined>;
|
|
101
91
|
declare const updateContactProperty: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
102
92
|
id: z.ZodString;
|
|
103
93
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -113,26 +103,20 @@ declare const updateContactProperty: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
113
103
|
label: z.ZodOptional<z.ZodString>;
|
|
114
104
|
created_at: z.ZodOptional<z.ZodString>;
|
|
115
105
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
117
|
-
RESEND_API_KEY: z.ZodString;
|
|
118
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
119
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
106
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
120
107
|
RESEND_API_KEY: z.ZodString;
|
|
121
108
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
122
|
-
}, z.core.$strip>>
|
|
109
|
+
}, z.core.$strip>>], undefined>;
|
|
123
110
|
declare const deleteContactProperty: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
124
111
|
id: z.ZodString;
|
|
125
112
|
}, z.core.$strip>, z.ZodObject<{
|
|
126
113
|
object: z.ZodOptional<z.ZodLiteral<"contact_property">>;
|
|
127
114
|
id: z.ZodString;
|
|
128
115
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
130
|
-
RESEND_API_KEY: z.ZodString;
|
|
131
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
132
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
116
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
133
117
|
RESEND_API_KEY: z.ZodString;
|
|
134
118
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
135
|
-
}, z.core.$strip>>
|
|
119
|
+
}, z.core.$strip>>], undefined>;
|
|
136
120
|
type ResendContactProperty = z.infer<typeof contactPropertySchema>;
|
|
137
121
|
type ResendContactPropertyType = z.infer<typeof contactPropertyTypeSchema>;
|
|
138
122
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createResendClient } from "./client.mjs";
|
|
2
2
|
import { paginationQuerySchema, resendListEnvelope } from "./schemas.mjs";
|
|
3
|
-
import { t as resendOperation } from "./factory-
|
|
3
|
+
import { t as resendOperation } from "./factory-C91g4Zm2.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/contact-properties.ts
|
package/dist/contacts.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/contacts.d.ts
|
|
6
5
|
declare const contactSummarySchema: z.ZodObject<{
|
|
@@ -47,13 +46,10 @@ declare const createContact: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
47
46
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
48
47
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
49
48
|
segment_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
51
|
-
RESEND_API_KEY: z.ZodString;
|
|
52
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
49
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
54
50
|
RESEND_API_KEY: z.ZodString;
|
|
55
51
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
56
|
-
}, z.core.$strip>>
|
|
52
|
+
}, z.core.$strip>>], undefined>;
|
|
57
53
|
declare const listContacts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
58
54
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
59
55
|
after: z.ZodOptional<z.ZodString>;
|
|
@@ -71,13 +67,10 @@ declare const listContacts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
71
67
|
created_at: z.ZodOptional<z.ZodString>;
|
|
72
68
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
73
69
|
}, z.core.$loose>>;
|
|
74
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
75
|
-
RESEND_API_KEY: z.ZodString;
|
|
76
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
77
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
70
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
78
71
|
RESEND_API_KEY: z.ZodString;
|
|
79
72
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
80
|
-
}, z.core.$strip>>
|
|
73
|
+
}, z.core.$strip>>], undefined>;
|
|
81
74
|
declare const retrieveContact: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
82
75
|
id: z.ZodString;
|
|
83
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -90,13 +83,10 @@ declare const retrieveContact: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
90
83
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
91
84
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
92
85
|
segment_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
93
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
86
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
94
87
|
RESEND_API_KEY: z.ZodString;
|
|
95
88
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
96
|
-
}, z.core.$strip
|
|
97
|
-
RESEND_API_KEY: z.ZodString;
|
|
98
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
99
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
89
|
+
}, z.core.$strip>>], undefined>;
|
|
100
90
|
declare const updateContact: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
101
91
|
id: z.ZodString;
|
|
102
92
|
email: z.ZodOptional<z.ZodEmail>;
|
|
@@ -114,46 +104,34 @@ declare const updateContact: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
114
104
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
115
105
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
116
106
|
segment_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
107
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
118
108
|
RESEND_API_KEY: z.ZodString;
|
|
119
109
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
120
|
-
}, z.core.$strip
|
|
121
|
-
RESEND_API_KEY: z.ZodString;
|
|
122
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
123
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
110
|
+
}, z.core.$strip>>], undefined>;
|
|
124
111
|
declare const deleteContact: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
125
112
|
id: z.ZodString;
|
|
126
113
|
}, z.core.$strip>, z.ZodObject<{
|
|
127
114
|
object: z.ZodOptional<z.ZodLiteral<"contact">>;
|
|
128
115
|
id: z.ZodString;
|
|
129
116
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
131
|
-
RESEND_API_KEY: z.ZodString;
|
|
132
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
133
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
117
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
134
118
|
RESEND_API_KEY: z.ZodString;
|
|
135
119
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
136
|
-
}, z.core.$strip>>
|
|
120
|
+
}, z.core.$strip>>], undefined>;
|
|
137
121
|
declare const addContactToSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
138
122
|
contact_id: z.ZodString;
|
|
139
123
|
segment_id: z.ZodString;
|
|
140
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
141
|
-
RESEND_API_KEY: z.ZodString;
|
|
142
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
143
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
144
125
|
RESEND_API_KEY: z.ZodString;
|
|
145
126
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
146
|
-
}, z.core.$strip>>
|
|
127
|
+
}, z.core.$strip>>], undefined>;
|
|
147
128
|
declare const removeContactFromSegment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
148
129
|
contact_id: z.ZodString;
|
|
149
130
|
segment_id: z.ZodString;
|
|
150
|
-
}, z.core.$strip>, z.ZodObject<{}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
151
132
|
RESEND_API_KEY: z.ZodString;
|
|
152
133
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
153
|
-
}, z.core.$strip
|
|
154
|
-
RESEND_API_KEY: z.ZodString;
|
|
155
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
156
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
134
|
+
}, z.core.$strip>>], undefined>;
|
|
157
135
|
declare const listContactSegments: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
158
136
|
contact_id: z.ZodString;
|
|
159
137
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -164,13 +142,10 @@ declare const listContactSegments: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
164
142
|
name: z.ZodOptional<z.ZodString>;
|
|
165
143
|
created_at: z.ZodOptional<z.ZodString>;
|
|
166
144
|
}, z.core.$loose>>;
|
|
167
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
145
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
168
146
|
RESEND_API_KEY: z.ZodString;
|
|
169
147
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
170
|
-
}, z.core.$strip
|
|
171
|
-
RESEND_API_KEY: z.ZodString;
|
|
172
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
173
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
148
|
+
}, z.core.$strip>>], undefined>;
|
|
174
149
|
declare const getContactTopics: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
175
150
|
contact_id: z.ZodString;
|
|
176
151
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -181,13 +156,10 @@ declare const getContactTopics: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
181
156
|
opt_out: "opt_out";
|
|
182
157
|
}>;
|
|
183
158
|
}, z.core.$loose>>;
|
|
184
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
185
|
-
RESEND_API_KEY: z.ZodString;
|
|
186
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
187
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
159
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
188
160
|
RESEND_API_KEY: z.ZodString;
|
|
189
161
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
190
|
-
}, z.core.$strip>>
|
|
162
|
+
}, z.core.$strip>>], undefined>;
|
|
191
163
|
declare const updateContactTopics: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
192
164
|
contact_id: z.ZodString;
|
|
193
165
|
subscriptions: z.ZodArray<z.ZodObject<{
|
|
@@ -205,13 +177,10 @@ declare const updateContactTopics: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
205
177
|
opt_out: "opt_out";
|
|
206
178
|
}>;
|
|
207
179
|
}, z.core.$loose>>;
|
|
208
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
209
|
-
RESEND_API_KEY: z.ZodString;
|
|
210
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
211
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
180
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
212
181
|
RESEND_API_KEY: z.ZodString;
|
|
213
182
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
214
|
-
}, z.core.$strip>>
|
|
183
|
+
}, z.core.$strip>>], undefined>;
|
|
215
184
|
type ResendContactSummary = z.infer<typeof contactSummarySchema>;
|
|
216
185
|
type ResendContactDetail = z.infer<typeof contactDetailSchema>;
|
|
217
186
|
//#endregion
|
package/dist/contacts.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createResendClient } from "./client.mjs";
|
|
2
2
|
import { paginationQuerySchema, resendListEnvelope } from "./schemas.mjs";
|
|
3
|
-
import { t as resendOperation } from "./factory-
|
|
3
|
+
import { t as resendOperation } from "./factory-C91g4Zm2.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/contacts.ts
|
package/dist/domains.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/domains.d.ts
|
|
6
5
|
declare const domainSummarySchema: z.ZodObject<{
|
|
@@ -118,13 +117,10 @@ declare const createDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
118
117
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
119
118
|
status: z.ZodOptional<z.ZodString>;
|
|
120
119
|
}, z.core.$loose>>>;
|
|
121
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
122
|
-
RESEND_API_KEY: z.ZodString;
|
|
123
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
124
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
120
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
125
121
|
RESEND_API_KEY: z.ZodString;
|
|
126
122
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
127
|
-
}, z.core.$strip>>
|
|
123
|
+
}, z.core.$strip>>], undefined>;
|
|
128
124
|
declare const listDomains: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
129
125
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
130
126
|
after: z.ZodOptional<z.ZodString>;
|
|
@@ -144,13 +140,10 @@ declare const listDomains: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
144
140
|
status: z.ZodOptional<z.ZodString>;
|
|
145
141
|
created_at: z.ZodOptional<z.ZodString>;
|
|
146
142
|
}, z.core.$loose>>;
|
|
147
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
143
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
148
144
|
RESEND_API_KEY: z.ZodString;
|
|
149
145
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
150
|
-
}, z.core.$strip
|
|
151
|
-
RESEND_API_KEY: z.ZodString;
|
|
152
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
153
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
146
|
+
}, z.core.$strip>>], undefined>;
|
|
154
147
|
declare const retrieveDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
155
148
|
id: z.ZodString;
|
|
156
149
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -191,13 +184,10 @@ declare const retrieveDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
191
184
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
192
185
|
status: z.ZodOptional<z.ZodString>;
|
|
193
186
|
}, z.core.$loose>>>;
|
|
194
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
195
|
-
RESEND_API_KEY: z.ZodString;
|
|
196
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
197
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
187
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
198
188
|
RESEND_API_KEY: z.ZodString;
|
|
199
189
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
|
-
}, z.core.$strip>>
|
|
190
|
+
}, z.core.$strip>>], undefined>;
|
|
201
191
|
declare const updateDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
202
192
|
id: z.ZodString;
|
|
203
193
|
open_tracking: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -255,38 +245,29 @@ declare const updateDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
255
245
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
256
246
|
status: z.ZodOptional<z.ZodString>;
|
|
257
247
|
}, z.core.$loose>>>;
|
|
258
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
259
|
-
RESEND_API_KEY: z.ZodString;
|
|
260
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
261
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
248
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
262
249
|
RESEND_API_KEY: z.ZodString;
|
|
263
250
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
264
|
-
}, z.core.$strip>>
|
|
251
|
+
}, z.core.$strip>>], undefined>;
|
|
265
252
|
declare const verifyDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
266
253
|
id: z.ZodString;
|
|
267
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
268
255
|
id: z.ZodString;
|
|
269
256
|
object: z.ZodOptional<z.ZodLiteral<"domain">>;
|
|
270
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
257
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
271
258
|
RESEND_API_KEY: z.ZodString;
|
|
272
259
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
273
|
-
}, z.core.$strip
|
|
274
|
-
RESEND_API_KEY: z.ZodString;
|
|
275
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
276
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
260
|
+
}, z.core.$strip>>], undefined>;
|
|
277
261
|
declare const deleteDomain: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
278
262
|
id: z.ZodString;
|
|
279
263
|
}, z.core.$strip>, z.ZodObject<{
|
|
280
264
|
object: z.ZodOptional<z.ZodLiteral<"domain">>;
|
|
281
265
|
id: z.ZodString;
|
|
282
266
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"resend", z.ZodObject<{
|
|
284
|
-
RESEND_API_KEY: z.ZodString;
|
|
285
|
-
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
286
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
267
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:resend", z.ZodObject<{
|
|
287
268
|
RESEND_API_KEY: z.ZodString;
|
|
288
269
|
RESEND_WEBHOOK_SIGNING_SECRETS: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
289
|
-
}, z.core.$strip>>
|
|
270
|
+
}, z.core.$strip>>], undefined>;
|
|
290
271
|
type ResendDomainSummary = z.infer<typeof domainSummarySchema>;
|
|
291
272
|
type ResendDomainDetail = z.infer<typeof domainDetailSchema>;
|
|
292
273
|
//#endregion
|
package/dist/domains.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createResendClient } from "./client.mjs";
|
|
2
2
|
import { paginationQuerySchema, resendCapabilityStateSchema, resendListEnvelope, resendRegionSchema, resendTlsPolicySchema } from "./schemas.mjs";
|
|
3
|
-
import { t as resendOperation } from "./factory-
|
|
3
|
+
import { t as resendOperation } from "./factory-C91g4Zm2.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/domains.ts
|