hostinger-mail-api-sdk 1.19.5 → 1.19.6
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 +12 -12
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +12 -12
- package/dist/api.js +9 -9
- 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 +12 -12
- package/dist/esm/api.js +9 -9
- 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 +1 -1
- package/docs/MessagesApi.md +1 -1
- package/docs/V1FeedbackSubmitRequest.md +3 -3
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -77,19 +77,19 @@ export interface Pagination {
|
|
|
77
77
|
'totalPages': number;
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
* Feedback
|
|
80
|
+
* 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.
|
|
81
81
|
* @export
|
|
82
82
|
* @interface V1FeedbackSubmitRequest
|
|
83
83
|
*/
|
|
84
84
|
export interface V1FeedbackSubmitRequest {
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* The user\'s rating of the Hostinger Email API: 1 (poor) to 10 (excellent).
|
|
87
87
|
* @type {number}
|
|
88
88
|
* @memberof V1FeedbackSubmitRequest
|
|
89
89
|
*/
|
|
90
90
|
'score': number;
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* The user\'s feedback in their own words. Never include tokens, passwords or email contents.
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @memberof V1FeedbackSubmitRequest
|
|
95
95
|
*/
|
|
@@ -1358,7 +1358,7 @@ export class AccountApi extends BaseAPI {
|
|
|
1358
1358
|
export const FeedbackApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1359
1359
|
return {
|
|
1360
1360
|
/**
|
|
1361
|
-
*
|
|
1361
|
+
* 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.
|
|
1362
1362
|
* @summary Submit feedback
|
|
1363
1363
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1364
1364
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1412,7 +1412,7 @@ export const FeedbackApiFp = function(configuration?: Configuration) {
|
|
|
1412
1412
|
const localVarAxiosParamCreator = FeedbackApiAxiosParamCreator(configuration)
|
|
1413
1413
|
return {
|
|
1414
1414
|
/**
|
|
1415
|
-
*
|
|
1415
|
+
* 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.
|
|
1416
1416
|
* @summary Submit feedback
|
|
1417
1417
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1418
1418
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1435,7 +1435,7 @@ export const FeedbackApiFactory = function (configuration?: Configuration, baseP
|
|
|
1435
1435
|
const localVarFp = FeedbackApiFp(configuration)
|
|
1436
1436
|
return {
|
|
1437
1437
|
/**
|
|
1438
|
-
*
|
|
1438
|
+
* 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.
|
|
1439
1439
|
* @summary Submit feedback
|
|
1440
1440
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1441
1441
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1456,7 +1456,7 @@ export const FeedbackApiFactory = function (configuration?: Configuration, baseP
|
|
|
1456
1456
|
*/
|
|
1457
1457
|
export class FeedbackApi extends BaseAPI {
|
|
1458
1458
|
/**
|
|
1459
|
-
*
|
|
1459
|
+
* 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.
|
|
1460
1460
|
* @summary Submit feedback
|
|
1461
1461
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1462
1462
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -2448,7 +2448,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2448
2448
|
},
|
|
2449
2449
|
/**
|
|
2450
2450
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
2451
|
-
* @summary Update
|
|
2451
|
+
* @summary Update flags on multiple messages
|
|
2452
2452
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2453
2453
|
* @param {string} folder Folder path (URL-encoded).
|
|
2454
2454
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -2681,7 +2681,7 @@ export const MessagesApiFp = function(configuration?: Configuration) {
|
|
|
2681
2681
|
},
|
|
2682
2682
|
/**
|
|
2683
2683
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
2684
|
-
* @summary Update
|
|
2684
|
+
* @summary Update flags on multiple messages
|
|
2685
2685
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2686
2686
|
* @param {string} folder Folder path (URL-encoded).
|
|
2687
2687
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -2856,7 +2856,7 @@ export const MessagesApiFactory = function (configuration?: Configuration, baseP
|
|
|
2856
2856
|
},
|
|
2857
2857
|
/**
|
|
2858
2858
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
2859
|
-
* @summary Update
|
|
2859
|
+
* @summary Update flags on multiple messages
|
|
2860
2860
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2861
2861
|
* @param {string} folder Folder path (URL-encoded).
|
|
2862
2862
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -3053,7 +3053,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
3053
3053
|
|
|
3054
3054
|
/**
|
|
3055
3055
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
3056
|
-
* @summary Update
|
|
3056
|
+
* @summary Update flags on multiple messages
|
|
3057
3057
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
3058
3058
|
* @param {string} folder Folder path (URL-encoded).
|
|
3059
3059
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-mail-typescript-sdk/1.19.
|
|
51
|
+
'User-Agent': "hostinger-mail-typescript-sdk/1.19.6",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -69,19 +69,19 @@ export interface Pagination {
|
|
|
69
69
|
'totalPages': number;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Feedback
|
|
72
|
+
* 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.
|
|
73
73
|
* @export
|
|
74
74
|
* @interface V1FeedbackSubmitRequest
|
|
75
75
|
*/
|
|
76
76
|
export interface V1FeedbackSubmitRequest {
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* The user\'s rating of the Hostinger Email API: 1 (poor) to 10 (excellent).
|
|
79
79
|
* @type {number}
|
|
80
80
|
* @memberof V1FeedbackSubmitRequest
|
|
81
81
|
*/
|
|
82
82
|
'score': number;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* The user\'s feedback in their own words. Never include tokens, passwords or email contents.
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof V1FeedbackSubmitRequest
|
|
87
87
|
*/
|
|
@@ -1283,7 +1283,7 @@ export declare class AccountApi extends BaseAPI {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
export declare const FeedbackApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1285
1285
|
/**
|
|
1286
|
-
*
|
|
1286
|
+
* 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.
|
|
1287
1287
|
* @summary Submit feedback
|
|
1288
1288
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1289
1289
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1298,7 +1298,7 @@ export declare const FeedbackApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1298
1298
|
*/
|
|
1299
1299
|
export declare const FeedbackApiFp: (configuration?: Configuration) => {
|
|
1300
1300
|
/**
|
|
1301
|
-
*
|
|
1301
|
+
* 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.
|
|
1302
1302
|
* @summary Submit feedback
|
|
1303
1303
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1304
1304
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1313,7 +1313,7 @@ export declare const FeedbackApiFp: (configuration?: Configuration) => {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
export declare const FeedbackApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1315
1315
|
/**
|
|
1316
|
-
*
|
|
1316
|
+
* 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.
|
|
1317
1317
|
* @summary Submit feedback
|
|
1318
1318
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1319
1319
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1330,7 +1330,7 @@ export declare const FeedbackApiFactory: (configuration?: Configuration, basePat
|
|
|
1330
1330
|
*/
|
|
1331
1331
|
export declare class FeedbackApi extends BaseAPI {
|
|
1332
1332
|
/**
|
|
1333
|
-
*
|
|
1333
|
+
* 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.
|
|
1334
1334
|
* @summary Submit feedback
|
|
1335
1335
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1336
1336
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1656,7 +1656,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1656
1656
|
searchMessages: (mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1659
|
-
* @summary Update
|
|
1659
|
+
* @summary Update flags on multiple messages
|
|
1660
1660
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1661
1661
|
* @param {string} folder Folder path (URL-encoded).
|
|
1662
1662
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1799,7 +1799,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
1799
1799
|
searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesCollection>>;
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1802
|
-
* @summary Update
|
|
1802
|
+
* @summary Update flags on multiple messages
|
|
1803
1803
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1804
1804
|
* @param {string} folder Folder path (URL-encoded).
|
|
1805
1805
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1942,7 +1942,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
1942
1942
|
searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesCollection>;
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1945
|
-
* @summary Update
|
|
1945
|
+
* @summary Update flags on multiple messages
|
|
1946
1946
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1947
1947
|
* @param {string} folder Folder path (URL-encoded).
|
|
1948
1948
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -2099,7 +2099,7 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
2099
2099
|
searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesCollection, any, {}, any>>;
|
|
2100
2100
|
/**
|
|
2101
2101
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
2102
|
-
* @summary Update
|
|
2102
|
+
* @summary Update flags on multiple messages
|
|
2103
2103
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2104
2104
|
* @param {string} folder Folder path (URL-encoded).
|
|
2105
2105
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger Mail API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.2.
|
|
7
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -164,7 +164,7 @@ exports.AccountApi = AccountApi;
|
|
|
164
164
|
const FeedbackApiAxiosParamCreator = function (configuration) {
|
|
165
165
|
return {
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* 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.
|
|
168
168
|
* @summary Submit feedback
|
|
169
169
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
170
170
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -211,7 +211,7 @@ const FeedbackApiFp = function (configuration) {
|
|
|
211
211
|
const localVarAxiosParamCreator = (0, exports.FeedbackApiAxiosParamCreator)(configuration);
|
|
212
212
|
return {
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
214
|
+
* 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.
|
|
215
215
|
* @summary Submit feedback
|
|
216
216
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
217
217
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -237,7 +237,7 @@ const FeedbackApiFactory = function (configuration, basePath, axios) {
|
|
|
237
237
|
const localVarFp = (0, exports.FeedbackApiFp)(configuration);
|
|
238
238
|
return {
|
|
239
239
|
/**
|
|
240
|
-
*
|
|
240
|
+
* 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.
|
|
241
241
|
* @summary Submit feedback
|
|
242
242
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
243
243
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -258,7 +258,7 @@ exports.FeedbackApiFactory = FeedbackApiFactory;
|
|
|
258
258
|
*/
|
|
259
259
|
class FeedbackApi extends base_1.BaseAPI {
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
261
|
+
* 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.
|
|
262
262
|
* @summary Submit feedback
|
|
263
263
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
264
264
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1144,7 +1144,7 @@ const MessagesApiAxiosParamCreator = function (configuration) {
|
|
|
1144
1144
|
}),
|
|
1145
1145
|
/**
|
|
1146
1146
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1147
|
-
* @summary Update
|
|
1147
|
+
* @summary Update flags on multiple messages
|
|
1148
1148
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1149
1149
|
* @param {string} folder Folder path (URL-encoded).
|
|
1150
1150
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1406,7 +1406,7 @@ const MessagesApiFp = function (configuration) {
|
|
|
1406
1406
|
},
|
|
1407
1407
|
/**
|
|
1408
1408
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1409
|
-
* @summary Update
|
|
1409
|
+
* @summary Update flags on multiple messages
|
|
1410
1410
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1411
1411
|
* @param {string} folder Folder path (URL-encoded).
|
|
1412
1412
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1584,7 +1584,7 @@ const MessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
1584
1584
|
},
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1587
|
-
* @summary Update
|
|
1587
|
+
* @summary Update flags on multiple messages
|
|
1588
1588
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1589
1589
|
* @param {string} folder Folder path (URL-encoded).
|
|
1590
1590
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1769,7 +1769,7 @@ class MessagesApi extends base_1.BaseAPI {
|
|
|
1769
1769
|
}
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1772
|
-
* @summary Update
|
|
1772
|
+
* @summary Update flags on multiple messages
|
|
1773
1773
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1774
1774
|
* @param {string} folder Folder path (URL-encoded).
|
|
1775
1775
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger Mail API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.2.
|
|
7
|
+
* API Version: 1.2.2
|
|
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/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger Mail API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.2.
|
|
7
|
+
* API Version: 1.2.2
|
|
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/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger Mail API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.2.
|
|
7
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-mail-typescript-sdk/1.19.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-mail-typescript-sdk/1.19.6" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -69,19 +69,19 @@ export interface Pagination {
|
|
|
69
69
|
'totalPages': number;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Feedback
|
|
72
|
+
* 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.
|
|
73
73
|
* @export
|
|
74
74
|
* @interface V1FeedbackSubmitRequest
|
|
75
75
|
*/
|
|
76
76
|
export interface V1FeedbackSubmitRequest {
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* The user\'s rating of the Hostinger Email API: 1 (poor) to 10 (excellent).
|
|
79
79
|
* @type {number}
|
|
80
80
|
* @memberof V1FeedbackSubmitRequest
|
|
81
81
|
*/
|
|
82
82
|
'score': number;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* The user\'s feedback in their own words. Never include tokens, passwords or email contents.
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof V1FeedbackSubmitRequest
|
|
87
87
|
*/
|
|
@@ -1283,7 +1283,7 @@ export declare class AccountApi extends BaseAPI {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
export declare const FeedbackApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1285
1285
|
/**
|
|
1286
|
-
*
|
|
1286
|
+
* 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.
|
|
1287
1287
|
* @summary Submit feedback
|
|
1288
1288
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1289
1289
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1298,7 +1298,7 @@ export declare const FeedbackApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1298
1298
|
*/
|
|
1299
1299
|
export declare const FeedbackApiFp: (configuration?: Configuration) => {
|
|
1300
1300
|
/**
|
|
1301
|
-
*
|
|
1301
|
+
* 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.
|
|
1302
1302
|
* @summary Submit feedback
|
|
1303
1303
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1304
1304
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1313,7 +1313,7 @@ export declare const FeedbackApiFp: (configuration?: Configuration) => {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
export declare const FeedbackApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1315
1315
|
/**
|
|
1316
|
-
*
|
|
1316
|
+
* 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.
|
|
1317
1317
|
* @summary Submit feedback
|
|
1318
1318
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1319
1319
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1330,7 +1330,7 @@ export declare const FeedbackApiFactory: (configuration?: Configuration, basePat
|
|
|
1330
1330
|
*/
|
|
1331
1331
|
export declare class FeedbackApi extends BaseAPI {
|
|
1332
1332
|
/**
|
|
1333
|
-
*
|
|
1333
|
+
* 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.
|
|
1334
1334
|
* @summary Submit feedback
|
|
1335
1335
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
1336
1336
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1656,7 +1656,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1656
1656
|
searchMessages: (mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1659
|
-
* @summary Update
|
|
1659
|
+
* @summary Update flags on multiple messages
|
|
1660
1660
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1661
1661
|
* @param {string} folder Folder path (URL-encoded).
|
|
1662
1662
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1799,7 +1799,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
1799
1799
|
searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesCollection>>;
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1802
|
-
* @summary Update
|
|
1802
|
+
* @summary Update flags on multiple messages
|
|
1803
1803
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1804
1804
|
* @param {string} folder Folder path (URL-encoded).
|
|
1805
1805
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1942,7 +1942,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
1942
1942
|
searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesCollection>;
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1945
|
-
* @summary Update
|
|
1945
|
+
* @summary Update flags on multiple messages
|
|
1946
1946
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1947
1947
|
* @param {string} folder Folder path (URL-encoded).
|
|
1948
1948
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -2099,7 +2099,7 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
2099
2099
|
searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesCollection, any, {}, any>>;
|
|
2100
2100
|
/**
|
|
2101
2101
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
2102
|
-
* @summary Update
|
|
2102
|
+
* @summary Update flags on multiple messages
|
|
2103
2103
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2104
2104
|
* @param {string} folder Folder path (URL-encoded).
|
|
2105
2105
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -157,7 +157,7 @@ export class AccountApi extends BaseAPI {
|
|
|
157
157
|
export const FeedbackApiAxiosParamCreator = function (configuration) {
|
|
158
158
|
return {
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* 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.
|
|
161
161
|
* @summary Submit feedback
|
|
162
162
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
163
163
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -203,7 +203,7 @@ export const FeedbackApiFp = function (configuration) {
|
|
|
203
203
|
const localVarAxiosParamCreator = FeedbackApiAxiosParamCreator(configuration);
|
|
204
204
|
return {
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* 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.
|
|
207
207
|
* @summary Submit feedback
|
|
208
208
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
209
209
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -228,7 +228,7 @@ export const FeedbackApiFactory = function (configuration, basePath, axios) {
|
|
|
228
228
|
const localVarFp = FeedbackApiFp(configuration);
|
|
229
229
|
return {
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* 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.
|
|
232
232
|
* @summary Submit feedback
|
|
233
233
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
234
234
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -248,7 +248,7 @@ export const FeedbackApiFactory = function (configuration, basePath, axios) {
|
|
|
248
248
|
*/
|
|
249
249
|
export class FeedbackApi extends BaseAPI {
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* 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.
|
|
252
252
|
* @summary Submit feedback
|
|
253
253
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by `GET /api/v1/me`.
|
|
254
254
|
* @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
|
|
@@ -1129,7 +1129,7 @@ export const MessagesApiAxiosParamCreator = function (configuration) {
|
|
|
1129
1129
|
}),
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1132
|
-
* @summary Update
|
|
1132
|
+
* @summary Update flags on multiple messages
|
|
1133
1133
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1134
1134
|
* @param {string} folder Folder path (URL-encoded).
|
|
1135
1135
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1390,7 +1390,7 @@ export const MessagesApiFp = function (configuration) {
|
|
|
1390
1390
|
},
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1393
|
-
* @summary Update
|
|
1393
|
+
* @summary Update flags on multiple messages
|
|
1394
1394
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1395
1395
|
* @param {string} folder Folder path (URL-encoded).
|
|
1396
1396
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1567,7 +1567,7 @@ export const MessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
1567
1567
|
},
|
|
1568
1568
|
/**
|
|
1569
1569
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1570
|
-
* @summary Update
|
|
1570
|
+
* @summary Update flags on multiple messages
|
|
1571
1571
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1572
1572
|
* @param {string} folder Folder path (URL-encoded).
|
|
1573
1573
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
|
@@ -1751,7 +1751,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
1751
1751
|
}
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
|
|
1754
|
-
* @summary Update
|
|
1754
|
+
* @summary Update flags on multiple messages
|
|
1755
1755
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1756
1756
|
* @param {string} folder Folder path (URL-encoded).
|
|
1757
1757
|
* @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-mail-typescript-sdk/1.19.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-mail-typescript-sdk/1.19.6" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger Mail API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.2.
|
|
4
|
+
* API Version: 1.2.2
|
|
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/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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.
|
|
4
|
+
* API Version: 1.2.2
|
|
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.
|
|
7
|
+
* API Version: 1.2.2
|
|
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()
|
|
@@ -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/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.2.
|
|
6
|
+
* API Version: 1.2.2
|
|
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
|