@hostinger/mail-sdk 1.19.4 → 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/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger Mail API
3
3
  *
4
- * API Version: 1.1.0
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
@@ -68,6 +68,25 @@ export interface Pagination {
68
68
  */
69
69
  'totalPages': number;
70
70
  }
71
+ /**
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
+ * @export
74
+ * @interface V1FeedbackSubmitRequest
75
+ */
76
+ export interface V1FeedbackSubmitRequest {
77
+ /**
78
+ * The user\'s rating of the Hostinger Email API: 1 (poor) to 10 (excellent).
79
+ * @type {number}
80
+ * @memberof V1FeedbackSubmitRequest
81
+ */
82
+ 'score': number;
83
+ /**
84
+ * The user\'s feedback in their own words. Never include tokens, passwords or email contents.
85
+ * @type {string}
86
+ * @memberof V1FeedbackSubmitRequest
87
+ */
88
+ 'message': string;
89
+ }
71
90
  /**
72
91
  * Paginated list of messages.
73
92
  * @export
@@ -113,13 +132,13 @@ export interface V1FolderMessagesFlagsBulkRequest {
113
132
  */
114
133
  'uids': Array<number>;
115
134
  /**
116
- *
135
+ * IMAP flags to set on every listed message, e.g. \\Seen, \\Flagged, \\Answered, $forwarded.
117
136
  * @type {Array<string>}
118
137
  * @memberof V1FolderMessagesFlagsBulkRequest
119
138
  */
120
139
  'addFlags': Array<string>;
121
140
  /**
122
- *
141
+ * IMAP flags to clear from every listed message.
123
142
  * @type {Array<string>}
124
143
  * @memberof V1FolderMessagesFlagsBulkRequest
125
144
  */
@@ -132,13 +151,13 @@ export interface V1FolderMessagesFlagsBulkRequest {
132
151
  */
133
152
  export interface V1FolderMessagesFlagsRequest {
134
153
  /**
135
- *
154
+ * IMAP flags to set on the message, e.g. \\Seen, \\Flagged, \\Answered, $forwarded.
136
155
  * @type {Array<string>}
137
156
  * @memberof V1FolderMessagesFlagsRequest
138
157
  */
139
158
  'addFlags': Array<string>;
140
159
  /**
141
- *
160
+ * IMAP flags to clear from the message.
142
161
  * @type {Array<string>}
143
162
  * @memberof V1FolderMessagesFlagsRequest
144
163
  */
@@ -375,85 +394,85 @@ export interface V1FolderMessagesResource {
375
394
  'data': V1FolderMessagesMessage;
376
395
  }
377
396
  /**
378
- * Search criteria. All fields optional; combine to narrow results.
397
+ * Search criteria. All fields optional. subject, from, to, cc and body are alternatives (a message matching any one of them qualifies); all other fields are combined with AND.
379
398
  * @export
380
399
  * @interface V1FolderMessagesSearchRequest
381
400
  */
382
401
  export interface V1FolderMessagesSearchRequest {
383
402
  /**
384
- *
403
+ * Only messages received on or after this date (YYYY-MM-DD).
385
404
  * @type {string}
386
405
  * @memberof V1FolderMessagesSearchRequest
387
406
  */
388
407
  'since': string;
389
408
  /**
390
- *
409
+ * Only messages received before this date (YYYY-MM-DD).
391
410
  * @type {string}
392
411
  * @memberof V1FolderMessagesSearchRequest
393
412
  */
394
413
  'before': string;
395
414
  /**
396
- *
415
+ * Only messages carrying all of these IMAP flags, e.g. \\Seen, \\Flagged, \\Answered, $forwarded.
397
416
  * @type {Array<string>}
398
417
  * @memberof V1FolderMessagesSearchRequest
399
418
  */
400
419
  'flags': Array<string>;
401
420
  /**
402
- *
421
+ * IMAP UID set: single UID, range (1:100), open range (100:*), or comma-separated list.
403
422
  * @type {string}
404
423
  * @memberof V1FolderMessagesSearchRequest
405
424
  */
406
425
  'uid': string;
407
426
  /**
408
- *
427
+ * Case-insensitive substring match on the Subject header. OR-combined with from/to/cc/body.
409
428
  * @type {string}
410
429
  * @memberof V1FolderMessagesSearchRequest
411
430
  */
412
431
  'subject': string;
413
432
  /**
414
- *
433
+ * Case-insensitive substring match on the From header. OR-combined with subject/to/cc/body.
415
434
  * @type {string}
416
435
  * @memberof V1FolderMessagesSearchRequest
417
436
  */
418
437
  'from': string;
419
438
  /**
420
- *
439
+ * Case-insensitive substring match on the To header. OR-combined with subject/from/cc/body.
421
440
  * @type {string}
422
441
  * @memberof V1FolderMessagesSearchRequest
423
442
  */
424
443
  'to': string;
425
444
  /**
426
- *
445
+ * Case-insensitive substring match on the Cc header. OR-combined with subject/from/to/body.
427
446
  * @type {string}
428
447
  * @memberof V1FolderMessagesSearchRequest
429
448
  */
430
449
  'cc': string;
431
450
  /**
432
- *
451
+ * Case-insensitive substring match on the message body only (headers excluded). OR-combined with subject/from/to/cc.
433
452
  * @type {string}
434
453
  * @memberof V1FolderMessagesSearchRequest
435
454
  */
436
455
  'body': string;
437
456
  /**
438
- *
457
+ * Match a specific header as Name:value, e.g. X-Custom-Header:value. Value match is a substring.
439
458
  * @type {string}
440
459
  * @memberof V1FolderMessagesSearchRequest
441
460
  */
442
461
  'header': string;
443
462
  /**
444
- *
463
+ * Only messages larger than this size in bytes.
445
464
  * @type {number}
446
465
  * @memberof V1FolderMessagesSearchRequest
447
466
  */
448
467
  'larger': number;
449
468
  /**
450
- *
469
+ * Only messages smaller than this size in bytes.
451
470
  * @type {number}
452
471
  * @memberof V1FolderMessagesSearchRequest
453
472
  */
454
473
  'smaller': number;
455
474
  /**
456
- *
475
+ * Case-insensitive substring match across headers and body.
457
476
  * @type {string}
458
477
  * @memberof V1FolderMessagesSearchRequest
459
478
  */
@@ -750,7 +769,7 @@ export interface V1QuotaResource {
750
769
  */
751
770
  export interface V1SendAttachment {
752
771
  /**
753
- *
772
+ * File name shown to the recipient, including extension.
754
773
  * @type {string}
755
774
  * @memberof V1SendAttachment
756
775
  */
@@ -762,7 +781,7 @@ export interface V1SendAttachment {
762
781
  */
763
782
  'content': string;
764
783
  /**
765
- *
784
+ * MIME type of the attachment, e.g. application/pdf. Not inferred from filename; set it explicitly so clients render the attachment correctly.
766
785
  * @type {string}
767
786
  * @memberof V1SendAttachment
768
787
  */
@@ -806,49 +825,49 @@ export interface V1SendMessageRef {
806
825
  */
807
826
  export interface V1SendRequest {
808
827
  /**
809
- *
828
+ * Primary recipient email addresses.
810
829
  * @type {Array<string>}
811
830
  * @memberof V1SendRequest
812
831
  */
813
832
  'to': Array<string>;
814
833
  /**
815
- *
834
+ * Sender display name shown in the From header alongside the mailbox address.
816
835
  * @type {string}
817
836
  * @memberof V1SendRequest
818
837
  */
819
838
  'displayName': string;
820
839
  /**
821
- *
840
+ * Carbon-copy recipient email addresses.
822
841
  * @type {Array<string>}
823
842
  * @memberof V1SendRequest
824
843
  */
825
844
  'cc': Array<string>;
826
845
  /**
827
- *
846
+ * Blind-carbon-copy recipient email addresses. Not visible to other recipients.
828
847
  * @type {Array<string>}
829
848
  * @memberof V1SendRequest
830
849
  */
831
850
  'bcc': Array<string>;
832
851
  /**
833
- *
852
+ * Message subject line.
834
853
  * @type {string}
835
854
  * @memberof V1SendRequest
836
855
  */
837
856
  'subject': string;
838
857
  /**
839
- *
858
+ * Plain-text body. Optional; if both text and html are omitted the message is sent without a body.
840
859
  * @type {string}
841
860
  * @memberof V1SendRequest
842
861
  */
843
862
  'text': string;
844
863
  /**
845
- *
864
+ * HTML body. Optional; if both text and html are omitted the message is sent without a body. Inline images are referenced via cid: URLs matching attachment cid values.
846
865
  * @type {string}
847
866
  * @memberof V1SendRequest
848
867
  */
849
868
  'html': string;
850
869
  /**
851
- *
870
+ * Files to attach. Inline images set cid; regular attachments omit it.
852
871
  * @type {Array<V1SendAttachment>}
853
872
  * @memberof V1SendRequest
854
873
  */
@@ -892,31 +911,31 @@ export interface V1WebhooksCollection {
892
911
  */
893
912
  export interface V1WebhooksCreateRequest {
894
913
  /**
895
- *
914
+ * Human-readable webhook name.
896
915
  * @type {string}
897
916
  * @memberof V1WebhooksCreateRequest
898
917
  */
899
918
  'name': string;
900
919
  /**
901
- *
920
+ * Optional free-text note about the webhook purpose.
902
921
  * @type {string}
903
922
  * @memberof V1WebhooksCreateRequest
904
923
  */
905
924
  'description': string | null;
906
925
  /**
907
- *
926
+ * Event types that trigger a delivery.
908
927
  * @type {Array<string>}
909
928
  * @memberof V1WebhooksCreateRequest
910
929
  */
911
930
  'events': Array<V1WebhooksCreateRequestEventsEnum>;
912
931
  /**
913
- *
932
+ * Initial delivery state. Only active webhooks receive events.
914
933
  * @type {string}
915
934
  * @memberof V1WebhooksCreateRequest
916
935
  */
917
936
  'status': V1WebhooksCreateRequestStatusEnum;
918
937
  /**
919
- *
938
+ * HTTPS endpoint that receives POST deliveries, authenticated with the webhook secret as `Authorization: Bearer <secret>`. Must be a public domain name (no IPs or internal hosts).
920
939
  * @type {string}
921
940
  * @memberof V1WebhooksCreateRequest
922
941
  */
@@ -1003,31 +1022,31 @@ export interface V1WebhooksTestResultData {
1003
1022
  */
1004
1023
  export interface V1WebhooksUpdateRequest {
1005
1024
  /**
1006
- *
1025
+ * Human-readable webhook name.
1007
1026
  * @type {string}
1008
1027
  * @memberof V1WebhooksUpdateRequest
1009
1028
  */
1010
1029
  'name': string;
1011
1030
  /**
1012
- *
1031
+ * Free-text note about the webhook purpose. Send null to clear.
1013
1032
  * @type {string}
1014
1033
  * @memberof V1WebhooksUpdateRequest
1015
1034
  */
1016
1035
  'description': string | null;
1017
1036
  /**
1018
- *
1037
+ * Event types that trigger a delivery. Replaces the current list.
1019
1038
  * @type {Array<string>}
1020
1039
  * @memberof V1WebhooksUpdateRequest
1021
1040
  */
1022
1041
  'events': Array<V1WebhooksUpdateRequestEventsEnum>;
1023
1042
  /**
1024
- *
1043
+ * Delivery state. Only active webhooks receive events; paused keeps config but stops deliveries.
1025
1044
  * @type {string}
1026
1045
  * @memberof V1WebhooksUpdateRequest
1027
1046
  */
1028
1047
  'status': V1WebhooksUpdateRequestStatusEnum;
1029
1048
  /**
1030
- *
1049
+ * HTTPS endpoint that receives POST deliveries, authenticated with the webhook secret as `Authorization: Bearer <secret>`. Must be a public domain name (no IPs or internal hosts).
1031
1050
  * @type {string}
1032
1051
  * @memberof V1WebhooksUpdateRequest
1033
1052
  */
@@ -1258,6 +1277,69 @@ export declare class AccountApi extends BaseAPI {
1258
1277
  */
1259
1278
  getCurrentAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1MeResource, any, {}, any>>;
1260
1279
  }
1280
+ /**
1281
+ * FeedbackApi - axios parameter creator
1282
+ * @export
1283
+ */
1284
+ export declare const FeedbackApiAxiosParamCreator: (configuration?: Configuration) => {
1285
+ /**
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
+ * @summary Submit feedback
1288
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by &#x60;GET /api/v1/me&#x60;.
1289
+ * @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
1290
+ * @param {*} [options] Override http request option.
1291
+ * @throws {RequiredError}
1292
+ */
1293
+ submitFeedback: (mailboxResourceId: string, v1FeedbackSubmitRequest: V1FeedbackSubmitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1294
+ };
1295
+ /**
1296
+ * FeedbackApi - functional programming interface
1297
+ * @export
1298
+ */
1299
+ export declare const FeedbackApiFp: (configuration?: Configuration) => {
1300
+ /**
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
+ * @summary Submit feedback
1303
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by &#x60;GET /api/v1/me&#x60;.
1304
+ * @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ */
1308
+ submitFeedback(mailboxResourceId: string, v1FeedbackSubmitRequest: V1FeedbackSubmitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1309
+ };
1310
+ /**
1311
+ * FeedbackApi - factory interface
1312
+ * @export
1313
+ */
1314
+ export declare const FeedbackApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1315
+ /**
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
+ * @summary Submit feedback
1318
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by &#x60;GET /api/v1/me&#x60;.
1319
+ * @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
1320
+ * @param {*} [options] Override http request option.
1321
+ * @throws {RequiredError}
1322
+ */
1323
+ submitFeedback(mailboxResourceId: string, v1FeedbackSubmitRequest: V1FeedbackSubmitRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1324
+ };
1325
+ /**
1326
+ * FeedbackApi - object-oriented interface
1327
+ * @export
1328
+ * @class FeedbackApi
1329
+ * @extends {BaseAPI}
1330
+ */
1331
+ export declare class FeedbackApi extends BaseAPI {
1332
+ /**
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
+ * @summary Submit feedback
1335
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the feedback is about, as returned by &#x60;GET /api/v1/me&#x60;.
1336
+ * @param {V1FeedbackSubmitRequest} v1FeedbackSubmitRequest
1337
+ * @param {*} [options] Override http request option.
1338
+ * @throws {RequiredError}
1339
+ * @memberof FeedbackApi
1340
+ */
1341
+ submitFeedback(mailboxResourceId: string, v1FeedbackSubmitRequest: V1FeedbackSubmitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1342
+ }
1261
1343
  /**
1262
1344
  * FoldersApi - axios parameter creator
1263
1345
  * @export
@@ -1564,9 +1646,9 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
1564
1646
  * @summary Search messages
1565
1647
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1566
1648
  * @param {string} folder Folder path (URL-encoded).
1567
- * @param {number} [page]
1568
- * @param {number} [perPage]
1569
- * @param {string} [sort]
1649
+ * @param {number} [page] Page number (1-based).
1650
+ * @param {number} [perPage] Items per page (max 100).
1651
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1570
1652
  * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
1571
1653
  * @param {*} [options] Override http request option.
1572
1654
  * @throws {RequiredError}
@@ -1574,7 +1656,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
1574
1656
  searchMessages: (mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1575
1657
  /**
1576
1658
  * Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
1577
- * @summary Update message flags
1659
+ * @summary Update flags on multiple messages
1578
1660
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1579
1661
  * @param {string} folder Folder path (URL-encoded).
1580
1662
  * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
@@ -1707,9 +1789,9 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
1707
1789
  * @summary Search messages
1708
1790
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1709
1791
  * @param {string} folder Folder path (URL-encoded).
1710
- * @param {number} [page]
1711
- * @param {number} [perPage]
1712
- * @param {string} [sort]
1792
+ * @param {number} [page] Page number (1-based).
1793
+ * @param {number} [perPage] Items per page (max 100).
1794
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1713
1795
  * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
1714
1796
  * @param {*} [options] Override http request option.
1715
1797
  * @throws {RequiredError}
@@ -1717,7 +1799,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
1717
1799
  searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesCollection>>;
1718
1800
  /**
1719
1801
  * Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
1720
- * @summary Update message flags
1802
+ * @summary Update flags on multiple messages
1721
1803
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1722
1804
  * @param {string} folder Folder path (URL-encoded).
1723
1805
  * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
@@ -1850,9 +1932,9 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
1850
1932
  * @summary Search messages
1851
1933
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1852
1934
  * @param {string} folder Folder path (URL-encoded).
1853
- * @param {number} [page]
1854
- * @param {number} [perPage]
1855
- * @param {string} [sort]
1935
+ * @param {number} [page] Page number (1-based).
1936
+ * @param {number} [perPage] Items per page (max 100).
1937
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1856
1938
  * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
1857
1939
  * @param {*} [options] Override http request option.
1858
1940
  * @throws {RequiredError}
@@ -1860,7 +1942,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
1860
1942
  searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesCollection>;
1861
1943
  /**
1862
1944
  * Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
1863
- * @summary Update message flags
1945
+ * @summary Update flags on multiple messages
1864
1946
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1865
1947
  * @param {string} folder Folder path (URL-encoded).
1866
1948
  * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
@@ -2006,9 +2088,9 @@ export declare class MessagesApi extends BaseAPI {
2006
2088
  * @summary Search messages
2007
2089
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2008
2090
  * @param {string} folder Folder path (URL-encoded).
2009
- * @param {number} [page]
2010
- * @param {number} [perPage]
2011
- * @param {string} [sort]
2091
+ * @param {number} [page] Page number (1-based).
2092
+ * @param {number} [perPage] Items per page (max 100).
2093
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
2012
2094
  * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
2013
2095
  * @param {*} [options] Override http request option.
2014
2096
  * @throws {RequiredError}
@@ -2017,7 +2099,7 @@ export declare class MessagesApi extends BaseAPI {
2017
2099
  searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesCollection, any, {}, any>>;
2018
2100
  /**
2019
2101
  * Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.
2020
- * @summary Update message flags
2102
+ * @summary Update flags on multiple messages
2021
2103
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2022
2104
  * @param {string} folder Folder path (URL-encoded).
2023
2105
  * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
@@ -2185,9 +2267,9 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
2185
2267
  * List webhooks for a mailbox.
2186
2268
  * @summary List webhooks
2187
2269
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2188
- * @param {ListWebhooksStatusEnum} [status]
2189
- * @param {number} [page]
2190
- * @param {number} [perPage]
2270
+ * @param {ListWebhooksStatusEnum} [status] Return only webhooks with this status.
2271
+ * @param {number} [page] Page number (1-based).
2272
+ * @param {number} [perPage] Items per page (max 1000).
2191
2273
  * @param {*} [options] Override http request option.
2192
2274
  * @throws {RequiredError}
2193
2275
  */
@@ -2257,9 +2339,9 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
2257
2339
  * List webhooks for a mailbox.
2258
2340
  * @summary List webhooks
2259
2341
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2260
- * @param {ListWebhooksStatusEnum} [status]
2261
- * @param {number} [page]
2262
- * @param {number} [perPage]
2342
+ * @param {ListWebhooksStatusEnum} [status] Return only webhooks with this status.
2343
+ * @param {number} [page] Page number (1-based).
2344
+ * @param {number} [perPage] Items per page (max 1000).
2263
2345
  * @param {*} [options] Override http request option.
2264
2346
  * @throws {RequiredError}
2265
2347
  */
@@ -2329,9 +2411,9 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
2329
2411
  * List webhooks for a mailbox.
2330
2412
  * @summary List webhooks
2331
2413
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2332
- * @param {ListWebhooksStatusEnum} [status]
2333
- * @param {number} [page]
2334
- * @param {number} [perPage]
2414
+ * @param {ListWebhooksStatusEnum} [status] Return only webhooks with this status.
2415
+ * @param {number} [page] Page number (1-based).
2416
+ * @param {number} [perPage] Items per page (max 1000).
2335
2417
  * @param {*} [options] Override http request option.
2336
2418
  * @throws {RequiredError}
2337
2419
  */
@@ -2406,9 +2488,9 @@ export declare class WebhooksApi extends BaseAPI {
2406
2488
  * List webhooks for a mailbox.
2407
2489
  * @summary List webhooks
2408
2490
  * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2409
- * @param {ListWebhooksStatusEnum} [status]
2410
- * @param {number} [page]
2411
- * @param {number} [perPage]
2491
+ * @param {ListWebhooksStatusEnum} [status] Return only webhooks with this status.
2492
+ * @param {number} [page] Page number (1-based).
2493
+ * @param {number} [perPage] Items per page (max 1000).
2412
2494
  * @param {*} [options] Override http request option.
2413
2495
  * @throws {RequiredError}
2414
2496
  * @memberof WebhooksApi