@hostinger/mail-sdk 1.19.4 → 1.19.5
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 +202 -63
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +145 -63
- package/dist/api.js +140 -26
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +145 -63
- package/dist/esm/api.js +135 -25
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -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 +70 -0
- package/docs/MessagesApi.md +6 -6
- package/docs/SendApi.md +1 -0
- package/docs/V1FeedbackSubmitRequest.md +23 -0
- package/docs/V1FolderMessagesFlagsBulkRequest.md +2 -2
- package/docs/V1FolderMessagesFlagsRequest.md +2 -2
- package/docs/V1FolderMessagesSearchRequest.md +14 -14
- package/docs/V1SendAttachment.md +2 -2
- package/docs/V1SendRequest.md +8 -8
- package/docs/V1WebhooksCreateRequest.md +5 -5
- package/docs/V1WebhooksUpdateRequest.md +5 -5
- package/docs/WebhooksApi.md +6 -6
- package/index.ts +1 -1
- package/package.json +1 -1
package/docs/WebhooksApi.md
CHANGED
|
@@ -207,9 +207,9 @@ const configuration = new Configuration();
|
|
|
207
207
|
const apiInstance = new WebhooksApi(configuration);
|
|
208
208
|
|
|
209
209
|
let mailboxResourceId: string; //Resource ID of the managed mailbox the bearer token is authorized for. (default to undefined)
|
|
210
|
-
let status: 'active' | 'paused' | 'disabled'; // (optional) (default to undefined)
|
|
211
|
-
let page: number; // (optional) (default to 1)
|
|
212
|
-
let perPage: number; // (optional) (default to 15)
|
|
210
|
+
let status: 'active' | 'paused' | 'disabled'; //Return only webhooks with this status. (optional) (default to undefined)
|
|
211
|
+
let page: number; //Page number (1-based). (optional) (default to 1)
|
|
212
|
+
let perPage: number; //Items per page (max 1000). (optional) (default to 15)
|
|
213
213
|
|
|
214
214
|
const { status, data } = await apiInstance.listWebhooks(
|
|
215
215
|
mailboxResourceId,
|
|
@@ -224,9 +224,9 @@ const { status, data } = await apiInstance.listWebhooks(
|
|
|
224
224
|
|Name | Type | Description | Notes|
|
|
225
225
|
|------------- | ------------- | ------------- | -------------|
|
|
226
226
|
| **mailboxResourceId** | [**string**] | Resource ID of the managed mailbox the bearer token is authorized for. | defaults to undefined|
|
|
227
|
-
| **status** | [**'active' | 'paused' | 'disabled'**]**Array<'active' | 'paused' | 'disabled'>** |
|
|
228
|
-
| **page** | [**number**] |
|
|
229
|
-
| **perPage** | [**number**] |
|
|
227
|
+
| **status** | [**'active' | 'paused' | 'disabled'**]**Array<'active' | 'paused' | 'disabled'>** | Return only webhooks with this status. | (optional) defaults to undefined|
|
|
228
|
+
| **page** | [**number**] | Page number (1-based). | (optional) defaults to 1|
|
|
229
|
+
| **perPage** | [**number**] | Items per page (max 1000). | (optional) defaults to 15|
|
|
230
230
|
|
|
231
231
|
|
|
232
232
|
### Return type
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.1
|
|
6
|
+
* API Version: 1.2.1
|
|
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
|