@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/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger Mail API
5
5
  *
6
- * API Version: 1.2.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.2.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.2.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
@@ -9,7 +9,7 @@ All URIs are relative to *https://api.mail.hostinger.com*
9
9
  # **submitFeedback**
10
10
  > submitFeedback(v1FeedbackSubmitRequest)
11
11
 
12
- Report a problem or suggestion about this API or the MCP server to the Hostinger mail team. Report when a call returned 4xx/5xx or unexpected data, was too slow, when documentation was missing or unclear, or when a capability you needed does not exist. Mention the failing operation and the status code you received so the team can find the request. Never include tokens, passwords or email contents: the message is scrubbed of secrets and capped at 2000 characters. Send one report per distinct issue. A `429` (`ERR_FEEDBACK_RATE_LIMIT`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.
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
 
@@ -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 message flags|
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. Marks message as `\\Seen`.
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 about the Mail API or the MCP server. 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.
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** | How well the API served the task: 1 (poor) to 10 (excellent). | [default to undefined]
10
- **message** | **string** | What happened and what was expected, including the operation and status code involved. Never include tokens, passwords or email contents. | [default to undefined]
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
 
@@ -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.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostinger/mail-sdk",
3
- "version": "1.19.5",
3
+ "version": "1.19.7",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {