resend 2.53.2__tar.gz → 2.53.3__tar.gz
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.
- {resend-2.53.2 → resend-2.53.3}/PKG-INFO +1 -1
- {resend-2.53.2 → resend-2.53.3}/resend/domains/_domains.py +39 -20
- {resend-2.53.2 → resend-2.53.3}/resend/version.py +1 -1
- {resend-2.53.2 → resend-2.53.3}/resend.egg-info/PKG-INFO +1 -1
- {resend-2.53.2 → resend-2.53.3}/LICENSE.md +0 -0
- {resend-2.53.2 → resend-2.53.3}/README.md +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/_base_response.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/_path.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/api_keys/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/api_keys/_api_key.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/api_keys/_api_keys.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/api_keys/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/async_request.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/audiences/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/audiences/_audience.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/audiences/_audiences.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/audiences/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/automations/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/automations/_automation.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/automations/_automations.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/broadcasts/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/broadcasts/_broadcast.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/broadcasts/_broadcast_recipient.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/broadcasts/_broadcasts.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/broadcasts/_clicked_link.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/broadcasts/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contact_properties/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contact_properties/_contact_properties.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contact_properties/_contact_property.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/_contact.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/_contact_topic.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/_contacts.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/_topics.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/imports/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/imports/_contact_import.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/imports/_contact_imports.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/segments/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/segments/_contact_segment.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/segments/_contact_segments.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/contacts/segments/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/_domain.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/_record.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/claims/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/claims/_domain_claim.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/claims/_domain_claims.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/domains/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_attachment.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_attachments.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_batch.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_email.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_emails.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_received_email.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_receiving.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/_tag.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/emails/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/events/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/events/_event.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/events/_events.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/exceptions.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/http_client.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/http_client_async.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/http_client_httpx.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/http_client_requests.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/_inbox.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/_inboxes.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/_query.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/agent/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/agent/_inbox_agent.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/agent/_inbox_agent_settings.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/drafts/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/drafts/_inbox_draft.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/drafts/_inbox_drafts.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/labels/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/labels/_inbox_label.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/labels/_inbox_labels.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/_inbox_thread.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/_inbox_threads.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/emails/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/emails/_inbox_thread_email.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/emails/_inbox_thread_emails.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/labels/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/inboxes/threads/labels/_inbox_thread_labels.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/logs/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/logs/_log.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/logs/_logs.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/oauth_grants/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/oauth_grants/_oauth_grant.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/oauth_grants/_oauth_grants.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/oauth_grants/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/pagination_helper.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/request.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/response.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/segments/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/segments/_segment.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/segments/_segments.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/segments/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/suppressions/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/suppressions/_suppression.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/suppressions/_suppressions.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/suppressions/batch/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/suppressions/batch/_suppressions_batch.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/suppressions/py.typed +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/templates/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/templates/_template.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/templates/_templates.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/topics/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/topics/_topic.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/topics/_topics.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/usage/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/usage/_usage.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/webhooks/__init__.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/webhooks/_webhook.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/webhooks/_webhook_event.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend/webhooks/_webhooks.py +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend.egg-info/SOURCES.txt +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend.egg-info/dependency_links.txt +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend.egg-info/not-zip-safe +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend.egg-info/requires.txt +0 -0
- {resend-2.53.2 → resend-2.53.3}/resend.egg-info/top_level.txt +0 -0
- {resend-2.53.2 → resend-2.53.3}/setup.cfg +0 -0
- {resend-2.53.2 → resend-2.53.3}/setup.py +0 -0
|
@@ -117,6 +117,25 @@ class Domains:
|
|
|
117
117
|
The custom subdomain used for click and open tracking links (e.g., "links")
|
|
118
118
|
"""
|
|
119
119
|
|
|
120
|
+
class UpdateDomainResponse(BaseResponse):
|
|
121
|
+
"""Response from updating a domain."""
|
|
122
|
+
|
|
123
|
+
object: str
|
|
124
|
+
id: str
|
|
125
|
+
|
|
126
|
+
class VerifyDomainResponse(BaseResponse):
|
|
127
|
+
"""Response from requesting verification of a domain."""
|
|
128
|
+
|
|
129
|
+
object: str
|
|
130
|
+
id: str
|
|
131
|
+
|
|
132
|
+
class RemoveDomainResponse(BaseResponse):
|
|
133
|
+
"""Response from removing a domain."""
|
|
134
|
+
|
|
135
|
+
object: str
|
|
136
|
+
id: str
|
|
137
|
+
deleted: bool
|
|
138
|
+
|
|
120
139
|
class UpdateParams(TypedDict):
|
|
121
140
|
id: str
|
|
122
141
|
"""
|
|
@@ -194,7 +213,7 @@ class Domains:
|
|
|
194
213
|
return resp
|
|
195
214
|
|
|
196
215
|
@classmethod
|
|
197
|
-
def update(cls, params: UpdateParams) ->
|
|
216
|
+
def update(cls, params: UpdateParams) -> UpdateDomainResponse:
|
|
198
217
|
"""
|
|
199
218
|
Update an existing domain.
|
|
200
219
|
see more: https://resend.com/docs/api-reference/domains/update-domain
|
|
@@ -203,10 +222,10 @@ class Domains:
|
|
|
203
222
|
params (UpdateParams): The domain update parameters
|
|
204
223
|
|
|
205
224
|
Returns:
|
|
206
|
-
|
|
225
|
+
UpdateDomainResponse: The domain update acknowledgment
|
|
207
226
|
"""
|
|
208
227
|
path = f"/domains/{params['id']}"
|
|
209
|
-
resp = request.Request[
|
|
228
|
+
resp = request.Request[Domains.UpdateDomainResponse](
|
|
210
229
|
path=path, params=cast(Dict[Any, Any], params), verb="patch"
|
|
211
230
|
).perform_with_content()
|
|
212
231
|
return resp
|
|
@@ -254,7 +273,7 @@ class Domains:
|
|
|
254
273
|
return resp
|
|
255
274
|
|
|
256
275
|
@classmethod
|
|
257
|
-
def remove(cls, domain_id: str) ->
|
|
276
|
+
def remove(cls, domain_id: str) -> RemoveDomainResponse:
|
|
258
277
|
"""
|
|
259
278
|
Remove an existing domain.
|
|
260
279
|
see more: https://resend.com/docs/api-reference/domains/delete-domain
|
|
@@ -263,28 +282,28 @@ class Domains:
|
|
|
263
282
|
domain_id (str): The domain ID
|
|
264
283
|
|
|
265
284
|
Returns:
|
|
266
|
-
|
|
285
|
+
RemoveDomainResponse: The domain ID and deletion result
|
|
267
286
|
"""
|
|
268
287
|
path = f"/domains/{domain_id}"
|
|
269
|
-
resp = request.Request[
|
|
288
|
+
resp = request.Request[Domains.RemoveDomainResponse](
|
|
270
289
|
path=path, params={}, verb="delete"
|
|
271
290
|
).perform_with_content()
|
|
272
291
|
return resp
|
|
273
292
|
|
|
274
293
|
@classmethod
|
|
275
|
-
def verify(cls, domain_id: str) ->
|
|
294
|
+
def verify(cls, domain_id: str) -> VerifyDomainResponse:
|
|
276
295
|
"""
|
|
277
|
-
|
|
296
|
+
Request verification of an existing domain.
|
|
278
297
|
see more: https://resend.com/docs/api-reference/domains/verify-domain
|
|
279
298
|
|
|
280
299
|
Args:
|
|
281
300
|
domain_id (str): The domain ID
|
|
282
301
|
|
|
283
302
|
Returns:
|
|
284
|
-
|
|
303
|
+
VerifyDomainResponse: The domain verification acknowledgment
|
|
285
304
|
"""
|
|
286
305
|
path = f"/domains/{domain_id}/verify"
|
|
287
|
-
resp = request.Request[
|
|
306
|
+
resp = request.Request[Domains.VerifyDomainResponse](
|
|
288
307
|
path=path, params={}, verb="post"
|
|
289
308
|
).perform_with_content()
|
|
290
309
|
return resp
|
|
@@ -308,7 +327,7 @@ class Domains:
|
|
|
308
327
|
return resp
|
|
309
328
|
|
|
310
329
|
@classmethod
|
|
311
|
-
async def update_async(cls, params: UpdateParams) ->
|
|
330
|
+
async def update_async(cls, params: UpdateParams) -> UpdateDomainResponse:
|
|
312
331
|
"""
|
|
313
332
|
Update an existing domain (async).
|
|
314
333
|
see more: https://resend.com/docs/api-reference/domains/update-domain
|
|
@@ -317,10 +336,10 @@ class Domains:
|
|
|
317
336
|
params (UpdateParams): The domain update parameters
|
|
318
337
|
|
|
319
338
|
Returns:
|
|
320
|
-
|
|
339
|
+
UpdateDomainResponse: The domain update acknowledgment
|
|
321
340
|
"""
|
|
322
341
|
path = f"/domains/{params['id']}"
|
|
323
|
-
resp = await AsyncRequest[
|
|
342
|
+
resp = await AsyncRequest[Domains.UpdateDomainResponse](
|
|
324
343
|
path=path, params=cast(Dict[Any, Any], params), verb="patch"
|
|
325
344
|
).perform_with_content()
|
|
326
345
|
return resp
|
|
@@ -364,7 +383,7 @@ class Domains:
|
|
|
364
383
|
return resp
|
|
365
384
|
|
|
366
385
|
@classmethod
|
|
367
|
-
async def remove_async(cls, domain_id: str) ->
|
|
386
|
+
async def remove_async(cls, domain_id: str) -> RemoveDomainResponse:
|
|
368
387
|
"""
|
|
369
388
|
Remove an existing domain (async).
|
|
370
389
|
see more: https://resend.com/docs/api-reference/domains/delete-domain
|
|
@@ -373,28 +392,28 @@ class Domains:
|
|
|
373
392
|
domain_id (str): The domain ID
|
|
374
393
|
|
|
375
394
|
Returns:
|
|
376
|
-
|
|
395
|
+
RemoveDomainResponse: The domain ID and deletion result
|
|
377
396
|
"""
|
|
378
397
|
path = f"/domains/{domain_id}"
|
|
379
|
-
resp = await AsyncRequest[
|
|
398
|
+
resp = await AsyncRequest[Domains.RemoveDomainResponse](
|
|
380
399
|
path=path, params={}, verb="delete"
|
|
381
400
|
).perform_with_content()
|
|
382
401
|
return resp
|
|
383
402
|
|
|
384
403
|
@classmethod
|
|
385
|
-
async def verify_async(cls, domain_id: str) ->
|
|
404
|
+
async def verify_async(cls, domain_id: str) -> VerifyDomainResponse:
|
|
386
405
|
"""
|
|
387
|
-
|
|
406
|
+
Request verification of an existing domain (async).
|
|
388
407
|
see more: https://resend.com/docs/api-reference/domains/verify-domain
|
|
389
408
|
|
|
390
409
|
Args:
|
|
391
410
|
domain_id (str): The domain ID
|
|
392
411
|
|
|
393
412
|
Returns:
|
|
394
|
-
|
|
413
|
+
VerifyDomainResponse: The domain verification acknowledgment
|
|
395
414
|
"""
|
|
396
415
|
path = f"/domains/{domain_id}/verify"
|
|
397
|
-
resp = await AsyncRequest[
|
|
416
|
+
resp = await AsyncRequest[Domains.VerifyDomainResponse](
|
|
398
417
|
path=path, params={}, verb="post"
|
|
399
418
|
).perform_with_content()
|
|
400
419
|
return resp
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|