@hostinger/mail-sdk 1.19.5 → 1.19.7
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/README.md +2 -2
- package/api.ts +86 -86
- package/base.ts +1 -1
- package/common.ts +14 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +30 -30
- package/dist/api.js +76 -76
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +7 -1
- package/dist/common.js +15 -2
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +30 -30
- package/dist/esm/api.js +77 -77
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +7 -1
- package/dist/esm/common.js +13 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/FeedbackApi.md +1 -1
- package/docs/MessagesApi.md +3 -3
- package/docs/V1FeedbackSubmitRequest.md +3 -3
- package/docs/V1SendRequest.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.3.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.3.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger Mail API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.3.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/docs/FeedbackApi.md
CHANGED
|
@@ -9,7 +9,7 @@ All URIs are relative to *https://api.mail.hostinger.com*
|
|
|
9
9
|
# **submitFeedback**
|
|
10
10
|
> submitFeedback(v1FeedbackSubmitRequest)
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Send the user\'s feedback about the Hostinger Email API to the Hostinger mail team. Only call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user\'s own words; never include tokens, passwords or email contents. The message is capped at 2000 characters. A `429` (`ERR_FEEDBACK_RATE_LIMIT`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.
|
|
13
13
|
|
|
14
14
|
### Example
|
|
15
15
|
|
package/docs/MessagesApi.md
CHANGED
|
@@ -16,7 +16,7 @@ All URIs are relative to *https://api.mail.hostinger.com*
|
|
|
16
16
|
|[**moveMessages**](#movemessages) | **POST** /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move | Move messages|
|
|
17
17
|
|[**patchMessage**](#patchmessage) | **PATCH** /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} | Update message flags|
|
|
18
18
|
|[**searchMessages**](#searchmessages) | **POST** /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search | Search messages|
|
|
19
|
-
|[**updateMessageFlags**](#updatemessageflags) | **POST** /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags | Update
|
|
19
|
+
|[**updateMessageFlags**](#updatemessageflags) | **POST** /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags | Update flags on multiple messages|
|
|
20
20
|
|
|
21
21
|
# **deleteAllMessages**
|
|
22
22
|
> deleteAllMessages()
|
|
@@ -335,7 +335,7 @@ const { status, data } = await apiInstance.getMessageAttachment(
|
|
|
335
335
|
# **getMessageSource**
|
|
336
336
|
> File getMessageSource()
|
|
337
337
|
|
|
338
|
-
Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
|
|
338
|
+
Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
|
|
339
339
|
|
|
340
340
|
### Example
|
|
341
341
|
|
|
@@ -398,7 +398,7 @@ const { status, data } = await apiInstance.getMessageSource(
|
|
|
398
398
|
# **getMessageText**
|
|
399
399
|
> V1FolderMessagesMessageTextResource getMessageText()
|
|
400
400
|
|
|
401
|
-
Retrieve rendered text (plain + HTML) of a message.
|
|
401
|
+
Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
|
|
402
402
|
|
|
403
403
|
### Example
|
|
404
404
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# V1FeedbackSubmitRequest
|
|
2
2
|
|
|
3
|
-
Feedback
|
|
3
|
+
Feedback the user wants to send to the Hostinger mail team. The message is scrubbed of tokens, JWTs and key/secret/password values before validation and storage, so the length limit applies to the scrubbed text.
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**score** | **number** |
|
|
10
|
-
**message** | **string** |
|
|
9
|
+
**score** | **number** | The user\'s rating of the Hostinger Email API: 1 (poor) to 10 (excellent). | [default to undefined]
|
|
10
|
+
**message** | **string** | The user\'s feedback in their own words. Never include tokens, passwords or email contents. | [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/docs/V1SendRequest.md
CHANGED
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**text** | **string** | Plain-text body. Optional; if both text and html are omitted the message is sent without a body. | [optional] [default to undefined]
|
|
15
15
|
**html** | **string** | HTML body. Optional; if both text and html are omitted the message is sent without a body. Inline images are referenced via cid: URLs matching attachment cid values. | [optional] [default to undefined]
|
|
16
16
|
**attachments** | [**Array<V1SendAttachment>**](V1SendAttachment.md) | Files to attach. Inline images set cid; regular attachments omit it. | [optional] [default to undefined]
|
|
17
|
-
**inReplyTo** | [**V1SendMessageRef**](V1SendMessageRef.md) | Source message this is a reply to. Copies its Message-Id/References into In-Reply-To/References and flags it \\Answered. Mutually exclusive with forwardOf. | [optional] [default to undefined]
|
|
18
|
-
**forwardOf** | [**V1SendMessageRef**](V1SendMessageRef.md) | Source message this forwards. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo. | [optional] [default to undefined]
|
|
17
|
+
**inReplyTo** | [**V1SendMessageRef**](V1SendMessageRef.md) | Source message this is a reply to, as an object {uid, folder} — not the Message-ID header string. Copies its Message-Id/References into In-Reply-To/References and flags it \\Answered. Mutually exclusive with forwardOf. | [optional] [default to undefined]
|
|
18
|
+
**forwardOf** | [**V1SendMessageRef**](V1SendMessageRef.md) | Source message this forwards, as an object {uid, folder} — not the Message-ID header string. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo. | [optional] [default to undefined]
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.3.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|