@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/README.md +2 -2
- package/api.ts +86 -86
- package/base.ts +1 -1
- package/common.ts +14 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +30 -30
- package/dist/api.js +76 -76
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +7 -1
- package/dist/common.js +15 -2
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +30 -30
- package/dist/esm/api.js +77 -77
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +7 -1
- package/dist/esm/common.js +13 -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 +3 -3
- package/docs/V1FeedbackSubmitRequest.md +3 -3
- package/docs/V1SendRequest.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger Mail API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 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
|
|
@@ -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.7",
|
|
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.
|
|
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
|
|
@@ -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
|
*/
|
|
@@ -873,13 +873,13 @@ export interface V1SendRequest {
|
|
|
873
873
|
*/
|
|
874
874
|
'attachments': Array<V1SendAttachment>;
|
|
875
875
|
/**
|
|
876
|
-
* 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.
|
|
876
|
+
* 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.
|
|
877
877
|
* @type {V1SendMessageRef}
|
|
878
878
|
* @memberof V1SendRequest
|
|
879
879
|
*/
|
|
880
880
|
'inReplyTo': V1SendMessageRef;
|
|
881
881
|
/**
|
|
882
|
-
* Source message this forwards. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo.
|
|
882
|
+
* 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.
|
|
883
883
|
* @type {V1SendMessageRef}
|
|
884
884
|
* @memberof V1SendRequest
|
|
885
885
|
*/
|
|
@@ -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
|
|
@@ -1578,7 +1578,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1578
1578
|
*/
|
|
1579
1579
|
getMessageAttachment: (mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1580
1580
|
/**
|
|
1581
|
-
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
|
|
1581
|
+
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
|
|
1582
1582
|
* @summary Get message source
|
|
1583
1583
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1584
1584
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -1588,7 +1588,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1588
1588
|
*/
|
|
1589
1589
|
getMessageSource: (mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1590
1590
|
/**
|
|
1591
|
-
* Retrieve rendered text (plain + HTML) of a message.
|
|
1591
|
+
* Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
|
|
1592
1592
|
* @summary Get message text content
|
|
1593
1593
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1594
1594
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -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
|
|
@@ -1721,7 +1721,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
1721
1721
|
*/
|
|
1722
1722
|
getMessageAttachment(mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1723
1723
|
/**
|
|
1724
|
-
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
|
|
1724
|
+
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
|
|
1725
1725
|
* @summary Get message source
|
|
1726
1726
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1727
1727
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -1731,7 +1731,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
1731
1731
|
*/
|
|
1732
1732
|
getMessageSource(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1733
1733
|
/**
|
|
1734
|
-
* Retrieve rendered text (plain + HTML) of a message.
|
|
1734
|
+
* Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
|
|
1735
1735
|
* @summary Get message text content
|
|
1736
1736
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1737
1737
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -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
|
|
@@ -1864,7 +1864,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
1864
1864
|
*/
|
|
1865
1865
|
getMessageAttachment(mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1866
1866
|
/**
|
|
1867
|
-
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
|
|
1867
|
+
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
|
|
1868
1868
|
* @summary Get message source
|
|
1869
1869
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1870
1870
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -1874,7 +1874,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
1874
1874
|
*/
|
|
1875
1875
|
getMessageSource(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1876
1876
|
/**
|
|
1877
|
-
* Retrieve rendered text (plain + HTML) of a message.
|
|
1877
|
+
* Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
|
|
1878
1878
|
* @summary Get message text content
|
|
1879
1879
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
1880
1880
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -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
|
|
@@ -2014,7 +2014,7 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
2014
2014
|
*/
|
|
2015
2015
|
getMessageAttachment(mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
2016
2016
|
/**
|
|
2017
|
-
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
|
|
2017
|
+
* Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
|
|
2018
2018
|
* @summary Get message source
|
|
2019
2019
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2020
2020
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -2025,7 +2025,7 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
2025
2025
|
*/
|
|
2026
2026
|
getMessageSource(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
2027
2027
|
/**
|
|
2028
|
-
* Retrieve rendered text (plain + HTML) of a message.
|
|
2028
|
+
* Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
|
|
2029
2029
|
* @summary Get message text content
|
|
2030
2030
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2031
2031
|
* @param {string} folder Folder path (URL-encoded).
|
|
@@ -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
|
|
@@ -2177,11 +2177,11 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2177
2177
|
* Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
|
|
2178
2178
|
* @summary Send email
|
|
2179
2179
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2180
|
-
* @param {V1SendRequest
|
|
2180
|
+
* @param {V1SendRequest} v1SendRequest
|
|
2181
2181
|
* @param {*} [options] Override http request option.
|
|
2182
2182
|
* @throws {RequiredError}
|
|
2183
2183
|
*/
|
|
2184
|
-
sendEmail: (mailboxResourceId: string, v1SendRequest: V1SendRequest
|
|
2184
|
+
sendEmail: (mailboxResourceId: string, v1SendRequest: V1SendRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2185
2185
|
};
|
|
2186
2186
|
/**
|
|
2187
2187
|
* SendApi - functional programming interface
|
|
@@ -2192,11 +2192,11 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
2192
2192
|
* Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
|
|
2193
2193
|
* @summary Send email
|
|
2194
2194
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2195
|
-
* @param {V1SendRequest
|
|
2195
|
+
* @param {V1SendRequest} v1SendRequest
|
|
2196
2196
|
* @param {*} [options] Override http request option.
|
|
2197
2197
|
* @throws {RequiredError}
|
|
2198
2198
|
*/
|
|
2199
|
-
sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest
|
|
2199
|
+
sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2200
2200
|
};
|
|
2201
2201
|
/**
|
|
2202
2202
|
* SendApi - factory interface
|
|
@@ -2207,11 +2207,11 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2207
2207
|
* Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
|
|
2208
2208
|
* @summary Send email
|
|
2209
2209
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2210
|
-
* @param {V1SendRequest
|
|
2210
|
+
* @param {V1SendRequest} v1SendRequest
|
|
2211
2211
|
* @param {*} [options] Override http request option.
|
|
2212
2212
|
* @throws {RequiredError}
|
|
2213
2213
|
*/
|
|
2214
|
-
sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest
|
|
2214
|
+
sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2215
2215
|
};
|
|
2216
2216
|
/**
|
|
2217
2217
|
* SendApi - object-oriented interface
|
|
@@ -2224,12 +2224,12 @@ export declare class SendApi extends BaseAPI {
|
|
|
2224
2224
|
* Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
|
|
2225
2225
|
* @summary Send email
|
|
2226
2226
|
* @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
|
|
2227
|
-
* @param {V1SendRequest
|
|
2227
|
+
* @param {V1SendRequest} v1SendRequest
|
|
2228
2228
|
* @param {*} [options] Override http request option.
|
|
2229
2229
|
* @throws {RequiredError}
|
|
2230
2230
|
* @memberof SendApi
|
|
2231
2231
|
*/
|
|
2232
|
-
sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest
|
|
2232
|
+
sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2233
2233
|
}
|
|
2234
2234
|
/**
|
|
2235
2235
|
* WebhooksApi - axios parameter creator
|