Skip to content

Commit b6d7cc5

Browse files
chore: sdk update
1 parent 4456352 commit b6d7cc5

9 files changed

Lines changed: 26 additions & 26 deletions

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## @hostinger/sdk@2.14.0
1+
## @hostinger/sdk@2.14.1
22

33
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
44

55
### Usage
66

77
```
8-
npm install @hostinger/sdk@2.14.0 --save
8+
npm install @hostinger/sdk@2.14.1 --save
99
```

‎api.ts‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.14.0
6+
* API Version: 2.14.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -11307,7 +11307,7 @@ export interface MailV1ApiTokensApiTokenCreatedResource {
1130711307
*/
1130811308
'id': string;
1130911309
/**
11310-
* Plaintext API token, returned only in this response. Grants access to the [Hostinger Email API](https://api.mail.hostinger.com/) for mailbox provisioning and management.
11310+
* Plaintext API token, returned only in this response. Grants access to the mailboxes it is scoped to through the [Hostinger Mail API](https://api.mail.hostinger.com/).
1131111311
* @type {string}
1131211312
* @memberof MailV1ApiTokensApiTokenCreatedResource
1131311313
*/
@@ -40262,7 +40262,7 @@ export type ListWebsitesV1WebsiteTypesEnum = typeof ListWebsitesV1WebsiteTypesEn
4026240262
export const MailAPITokensApiAxiosParamCreator = function (configuration?: Configuration) {
4026340263
return {
4026440264
/**
40265-
* Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
40265+
* Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
4026640266
* @summary Create API token
4026740267
* @param {string} orderId Order resource ID
4026840268
* @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -40306,7 +40306,7 @@ export const MailAPITokensApiAxiosParamCreator = function (configuration?: Confi
4030640306
};
4030740307
},
4030840308
/**
40309-
* Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
40309+
* Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
4031040310
* @summary List API tokens
4031140311
* @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
4031240312
* @param {number} [page] Page number
@@ -40355,7 +40355,7 @@ export const MailAPITokensApiAxiosParamCreator = function (configuration?: Confi
4035540355
};
4035640356
},
4035740357
/**
40358-
* Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
40358+
* Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
4035940359
* @summary Revoke API token
4036040360
* @param {string} tokenId API token ID (returned when the token was created)
4036140361
* @param {*} [options] Override http request option.
@@ -40403,7 +40403,7 @@ export const MailAPITokensApiFp = function(configuration?: Configuration) {
4040340403
const localVarAxiosParamCreator = MailAPITokensApiAxiosParamCreator(configuration)
4040440404
return {
4040540405
/**
40406-
* Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
40406+
* Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
4040740407
* @summary Create API token
4040840408
* @param {string} orderId Order resource ID
4040940409
* @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -40416,7 +40416,7 @@ export const MailAPITokensApiFp = function(configuration?: Configuration) {
4041640416
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4041740417
},
4041840418
/**
40419-
* Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
40419+
* Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
4042040420
* @summary List API tokens
4042140421
* @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
4042240422
* @param {number} [page] Page number
@@ -40430,7 +40430,7 @@ export const MailAPITokensApiFp = function(configuration?: Configuration) {
4043040430
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4043140431
},
4043240432
/**
40433-
* Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
40433+
* Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
4043440434
* @summary Revoke API token
4043540435
* @param {string} tokenId API token ID (returned when the token was created)
4043640436
* @param {*} [options] Override http request option.
@@ -40452,7 +40452,7 @@ export const MailAPITokensApiFactory = function (configuration?: Configuration,
4045240452
const localVarFp = MailAPITokensApiFp(configuration)
4045340453
return {
4045440454
/**
40455-
* Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
40455+
* Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
4045640456
* @summary Create API token
4045740457
* @param {string} orderId Order resource ID
4045840458
* @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -40463,7 +40463,7 @@ export const MailAPITokensApiFactory = function (configuration?: Configuration,
4046340463
return localVarFp.createAPITokenV1(orderId, mailV1SchemaCreateApiTokenRequestSchema, options).then((request) => request(axios, basePath));
4046440464
},
4046540465
/**
40466-
* Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
40466+
* Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
4046740467
* @summary List API tokens
4046840468
* @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
4046940469
* @param {number} [page] Page number
@@ -40475,7 +40475,7 @@ export const MailAPITokensApiFactory = function (configuration?: Configuration,
4047540475
return localVarFp.listAPITokensV1(orderId, page, perPage, options).then((request) => request(axios, basePath));
4047640476
},
4047740477
/**
40478-
* Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
40478+
* Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
4047940479
* @summary Revoke API token
4048040480
* @param {string} tokenId API token ID (returned when the token was created)
4048140481
* @param {*} [options] Override http request option.
@@ -40495,7 +40495,7 @@ export const MailAPITokensApiFactory = function (configuration?: Configuration,
4049540495
*/
4049640496
export class MailAPITokensApi extends BaseAPI {
4049740497
/**
40498-
* Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
40498+
* Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
4049940499
* @summary Create API token
4050040500
* @param {string} orderId Order resource ID
4050140501
* @param {MailV1SchemaCreateApiTokenRequestSchema} mailV1SchemaCreateApiTokenRequestSchema
@@ -40508,7 +40508,7 @@ export class MailAPITokensApi extends BaseAPI {
4050840508
}
4050940509

4051040510
/**
40511-
* Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
40511+
* Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
4051240512
* @summary List API tokens
4051340513
* @param {string | null} [orderId] Filter tokens by order resource ID. Single value or comma-separated list.
4051440514
* @param {number} [page] Page number
@@ -40522,7 +40522,7 @@ export class MailAPITokensApi extends BaseAPI {
4052240522
}
4052340523

4052440524
/**
40525-
* Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
40525+
* Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
4052640526
* @summary Revoke API token
4052740527
* @param {string} tokenId API token ID (returned when the token was created)
4052840528
* @param {*} [options] Override http request option.

‎base.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.14.0
6+
* API Version: 2.14.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.14.0
6+
* API Version: 2.14.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎configuration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.14.0
6+
* API Version: 2.14.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -48,7 +48,7 @@ export class Configuration {
4848
this.baseOptions = {
4949
...param.baseOptions,
5050
headers: {
51-
'User-Agent': "hostinger-typescript-sdk/2.14.0",
51+
'User-Agent': "hostinger-typescript-sdk/2.14.1",
5252
...param.baseOptions?.headers,
5353
},
5454
};

‎docs/MailAPITokensApi.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ All URIs are relative to *https://developers.hostinger.com*
1111
# **createAPITokenV1**
1212
> MailV1ApiTokensApiTokenCreatedResource createAPITokenV1(mailV1SchemaCreateApiTokenRequestSchema)
1313
14-
Create an API token for the given mail order. The token grants access to the [Hostinger Email API](https://api.mail.hostinger.com/), where you can provision and manage the mailboxes it is scoped to. The plaintext token is returned only in this response, never again. A maximum of 10 tokens can exist per order. Use `scope.has_all_mailboxes` to cover all current and future mailboxes, or list specific mailboxes in `scope.mailbox_ids`.
14+
Create an API token for the given mail order. Through the [Hostinger Mail API](https://api.mail.hostinger.com/), the token grants access to the mailboxes it is scoped to (for example, to read, search, send and organise email messages), without signing in with a mailbox password over IMAP, SMTP or webmail. A token covers either all mailboxes of the order or only the ones you choose. Set `scope.has_all_mailboxes` to `true` to cover all current and future mailboxes, or to `false` and list specific mailboxes in `scope.mailbox_ids`. The plaintext token is returned only in this response, never again. Store it securely, because anyone who has it gets the same access. A maximum of 10 tokens can exist per order.
1515

1616
### Example
1717

@@ -71,7 +71,7 @@ const { status, data } = await apiInstance.createAPITokenV1(
7171
# **listAPITokensV1**
7272
> MailListAPITokensV1200Response listAPITokensV1()
7373
74-
Retrieve a paginated list of [Hostinger Email API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
74+
Retrieve a paginated list of [Hostinger Mail API](https://api.mail.hostinger.com/) tokens across all your mail orders, optionally filtered by order. Plaintext tokens are never included; they are returned only when a token is created.
7575

7676
### Example
7777

@@ -131,7 +131,7 @@ const { status, data } = await apiInstance.listAPITokensV1(
131131
# **revokeAPITokenV1**
132132
> CommonSuccessEmptyResource revokeAPITokenV1()
133133
134-
Revoke an API token. The token immediately loses access to the [Hostinger Email API](https://api.mail.hostinger.com/). This action cannot be undone.
134+
Revoke an API token. The token immediately loses access to the [Hostinger Mail API](https://api.mail.hostinger.com/). This action cannot be undone.
135135

136136
### Example
137137

‎docs/MailV1ApiTokensApiTokenCreatedResource.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **string** | Unique API token identifier | [optional] [default to undefined]
9-
**token** | **string** | Plaintext API token, returned only in this response. Grants access to the [Hostinger Email API](https://api.mail.hostinger.com/) for mailbox provisioning and management. | [optional] [default to undefined]
9+
**token** | **string** | Plaintext API token, returned only in this response. Grants access to the mailboxes it is scoped to through the [Hostinger Mail API](https://api.mail.hostinger.com/). | [optional] [default to undefined]
1010
**name** | **string** | Human-readable label for this token | [optional] [default to undefined]
1111
**scope** | [**MailV1ApiTokensApiTokenScopeResource**](MailV1ApiTokensApiTokenScopeResource.md) | | [optional] [default to undefined]
1212
**created_at** | **string** | | [optional] [default to undefined]

‎index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.14.0
6+
* API Version: 2.14.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hostinger/sdk",
3-
"version": "2.14.0",
3+
"version": "2.14.1",
44
"description": "Hostinger API TypeScript SDK",
55
"author": "Hostinger",
66
"repository": {

0 commit comments

Comments
 (0)