@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.
@@ -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** | [**&#39;active&#39; | &#39;paused&#39; | &#39;disabled&#39;**]**Array<&#39;active&#39; &#124; &#39;paused&#39; &#124; &#39;disabled&#39;>** | | (optional) defaults to undefined|
228
- | **page** | [**number**] | | (optional) defaults to 1|
229
- | **perPage** | [**number**] | | (optional) defaults to 15|
227
+ | **status** | [**&#39;active&#39; | &#39;paused&#39; | &#39;disabled&#39;**]**Array<&#39;active&#39; &#124; &#39;paused&#39; &#124; &#39;disabled&#39;>** | 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.0
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostinger/mail-sdk",
3
- "version": "1.19.4",
3
+ "version": "1.19.5",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {