@hostinger/mail-sdk 1.19.0

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.
Files changed (78) hide show
  1. package/.github/workflows/build-release.yaml +135 -0
  2. package/CODEOWNERS +1 -0
  3. package/README.md +9 -0
  4. package/api.ts +3791 -0
  5. package/base.ts +83 -0
  6. package/common.ts +111 -0
  7. package/configuration.ts +72 -0
  8. package/dist/api.d.ts +2457 -0
  9. package/dist/api.js +2484 -0
  10. package/dist/base.d.ts +63 -0
  11. package/dist/base.js +62 -0
  12. package/dist/common.d.ts +47 -0
  13. package/dist/common.js +118 -0
  14. package/dist/configuration.d.ts +51 -0
  15. package/dist/configuration.js +37 -0
  16. package/dist/esm/api.d.ts +2457 -0
  17. package/dist/esm/api.js +2457 -0
  18. package/dist/esm/base.d.ts +63 -0
  19. package/dist/esm/base.js +57 -0
  20. package/dist/esm/common.d.ts +47 -0
  21. package/dist/esm/common.js +109 -0
  22. package/dist/esm/configuration.d.ts +51 -0
  23. package/dist/esm/configuration.js +33 -0
  24. package/dist/esm/index.d.ts +10 -0
  25. package/dist/esm/index.js +12 -0
  26. package/dist/index.d.ts +10 -0
  27. package/dist/index.js +28 -0
  28. package/docs/AccountApi.md +55 -0
  29. package/docs/Error.md +25 -0
  30. package/docs/FoldersApi.md +259 -0
  31. package/docs/MessagesApi.md +860 -0
  32. package/docs/Pagination.md +27 -0
  33. package/docs/QuotaApi.md +63 -0
  34. package/docs/SendApi.md +68 -0
  35. package/docs/V1FolderMessagesCollection.md +23 -0
  36. package/docs/V1FolderMessagesDeleteBulkRequest.md +21 -0
  37. package/docs/V1FolderMessagesFlagsBulkRequest.md +25 -0
  38. package/docs/V1FolderMessagesFlagsRequest.md +23 -0
  39. package/docs/V1FolderMessagesMessage.md +47 -0
  40. package/docs/V1FolderMessagesMessageAddress.md +23 -0
  41. package/docs/V1FolderMessagesMessageAttachment.md +31 -0
  42. package/docs/V1FolderMessagesMessageText.md +23 -0
  43. package/docs/V1FolderMessagesMessageTextResource.md +21 -0
  44. package/docs/V1FolderMessagesMoveBulkRequest.md +23 -0
  45. package/docs/V1FolderMessagesMoveRequest.md +21 -0
  46. package/docs/V1FolderMessagesResource.md +21 -0
  47. package/docs/V1FolderMessagesSearchRequest.md +45 -0
  48. package/docs/V1FolderMessagesUpdateFlagsResult.md +21 -0
  49. package/docs/V1FolderMessagesUpdateFlagsResultData.md +22 -0
  50. package/docs/V1FolderMessagesUpdateFlagsResultDataFailedInner.md +22 -0
  51. package/docs/V1FoldersCollection.md +23 -0
  52. package/docs/V1FoldersCreateRequest.md +21 -0
  53. package/docs/V1FoldersFolder.md +31 -0
  54. package/docs/V1FoldersResource.md +21 -0
  55. package/docs/V1FoldersUpdateRequest.md +21 -0
  56. package/docs/V1MeMailbox.md +23 -0
  57. package/docs/V1MeResource.md +21 -0
  58. package/docs/V1MeResourceData.md +22 -0
  59. package/docs/V1QuotaQuota.md +29 -0
  60. package/docs/V1QuotaQuotaResource.md +27 -0
  61. package/docs/V1QuotaResource.md +21 -0
  62. package/docs/V1SendAttachment.md +29 -0
  63. package/docs/V1SendMessageRef.md +23 -0
  64. package/docs/V1SendRequest.md +39 -0
  65. package/docs/V1WebhooksCollection.md +23 -0
  66. package/docs/V1WebhooksCreateRequest.md +29 -0
  67. package/docs/V1WebhooksResource.md +21 -0
  68. package/docs/V1WebhooksResourceWithSecret.md +21 -0
  69. package/docs/V1WebhooksTestResult.md +21 -0
  70. package/docs/V1WebhooksTestResultData.md +24 -0
  71. package/docs/V1WebhooksUpdateRequest.md +29 -0
  72. package/docs/V1WebhooksWebhook.md +39 -0
  73. package/docs/V1WebhooksWebhookWithSecret.md +41 -0
  74. package/docs/WebhooksApi.md +439 -0
  75. package/index.ts +15 -0
  76. package/package.json +34 -0
  77. package/tsconfig.esm.json +7 -0
  78. package/tsconfig.json +18 -0
@@ -0,0 +1,2457 @@
1
+ /**
2
+ * Hostinger Mail API
3
+ *
4
+ * API Version: 1.1.0
5
+ *
6
+ * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
+ * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
8
+ */
9
+ import type { Configuration } from './configuration';
10
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
11
+ import type { RequestArgs } from './base';
12
+ import { BaseAPI } from './base';
13
+ /**
14
+ * Standard error envelope. Frontend translations key off `code`, never off `error`.
15
+ * @export
16
+ * @interface ModelError
17
+ */
18
+ export interface ModelError {
19
+ /**
20
+ * Human-readable error message.
21
+ * @type {string}
22
+ * @memberof ModelError
23
+ */
24
+ 'error': string;
25
+ /**
26
+ * Machine-readable error code in SCREAMING_SNAKE_CASE.
27
+ * @type {string}
28
+ * @memberof ModelError
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * Additional structured context for the error. May be omitted.
33
+ * @type {{ [key: string]: any; }}
34
+ * @memberof ModelError
35
+ */
36
+ 'params': {
37
+ [key: string]: any;
38
+ };
39
+ }
40
+ /**
41
+ * Pagination metadata for paginated collections.
42
+ * @export
43
+ * @interface Pagination
44
+ */
45
+ export interface Pagination {
46
+ /**
47
+ * Current page number (1-based).
48
+ * @type {number}
49
+ * @memberof Pagination
50
+ */
51
+ 'page': number;
52
+ /**
53
+ * Items per page.
54
+ * @type {number}
55
+ * @memberof Pagination
56
+ */
57
+ 'perPage': number;
58
+ /**
59
+ * Total number of items across all pages.
60
+ * @type {number}
61
+ * @memberof Pagination
62
+ */
63
+ 'total': number;
64
+ /**
65
+ * Total number of pages.
66
+ * @type {number}
67
+ * @memberof Pagination
68
+ */
69
+ 'totalPages': number;
70
+ }
71
+ /**
72
+ * Paginated list of messages.
73
+ * @export
74
+ * @interface V1FolderMessagesCollection
75
+ */
76
+ export interface V1FolderMessagesCollection {
77
+ /**
78
+ *
79
+ * @type {Array<V1FolderMessagesMessage>}
80
+ * @memberof V1FolderMessagesCollection
81
+ */
82
+ 'data': Array<V1FolderMessagesMessage>;
83
+ /**
84
+ *
85
+ * @type {Pagination}
86
+ * @memberof V1FolderMessagesCollection
87
+ */
88
+ 'pagination': Pagination;
89
+ }
90
+ /**
91
+ * Body for permanently deleting multiple messages.
92
+ * @export
93
+ * @interface V1FolderMessagesDeleteBulkRequest
94
+ */
95
+ export interface V1FolderMessagesDeleteBulkRequest {
96
+ /**
97
+ * Message UIDs to delete. 1-100 entries, each > 0.
98
+ * @type {Array<number>}
99
+ * @memberof V1FolderMessagesDeleteBulkRequest
100
+ */
101
+ 'uids': Array<number>;
102
+ }
103
+ /**
104
+ * Add and/or remove flags on multiple messages. At least one of addFlags or removeFlags must be set.
105
+ * @export
106
+ * @interface V1FolderMessagesFlagsBulkRequest
107
+ */
108
+ export interface V1FolderMessagesFlagsBulkRequest {
109
+ /**
110
+ * Message UIDs to update. 1-100 entries, each > 0.
111
+ * @type {Array<number>}
112
+ * @memberof V1FolderMessagesFlagsBulkRequest
113
+ */
114
+ 'uids': Array<number>;
115
+ /**
116
+ *
117
+ * @type {Array<string>}
118
+ * @memberof V1FolderMessagesFlagsBulkRequest
119
+ */
120
+ 'addFlags': Array<string>;
121
+ /**
122
+ *
123
+ * @type {Array<string>}
124
+ * @memberof V1FolderMessagesFlagsBulkRequest
125
+ */
126
+ 'removeFlags': Array<string>;
127
+ }
128
+ /**
129
+ * Add and/or remove flags on a message. At least one of addFlags or removeFlags must be set.
130
+ * @export
131
+ * @interface V1FolderMessagesFlagsRequest
132
+ */
133
+ export interface V1FolderMessagesFlagsRequest {
134
+ /**
135
+ *
136
+ * @type {Array<string>}
137
+ * @memberof V1FolderMessagesFlagsRequest
138
+ */
139
+ 'addFlags': Array<string>;
140
+ /**
141
+ *
142
+ * @type {Array<string>}
143
+ * @memberof V1FolderMessagesFlagsRequest
144
+ */
145
+ 'removeFlags': Array<string>;
146
+ }
147
+ /**
148
+ * A message in a folder of the managed mailbox.
149
+ * @export
150
+ * @interface V1FolderMessagesMessage
151
+ */
152
+ export interface V1FolderMessagesMessage {
153
+ /**
154
+ *
155
+ * @type {number}
156
+ * @memberof V1FolderMessagesMessage
157
+ */
158
+ 'uid': number;
159
+ /**
160
+ *
161
+ * @type {string}
162
+ * @memberof V1FolderMessagesMessage
163
+ */
164
+ 'path': string;
165
+ /**
166
+ *
167
+ * @type {string}
168
+ * @memberof V1FolderMessagesMessage
169
+ */
170
+ 'date': string;
171
+ /**
172
+ *
173
+ * @type {Array<string>}
174
+ * @memberof V1FolderMessagesMessage
175
+ */
176
+ 'flags': Array<string>;
177
+ /**
178
+ *
179
+ * @type {boolean}
180
+ * @memberof V1FolderMessagesMessage
181
+ */
182
+ 'unseen': boolean;
183
+ /**
184
+ *
185
+ * @type {number}
186
+ * @memberof V1FolderMessagesMessage
187
+ */
188
+ 'size': number;
189
+ /**
190
+ *
191
+ * @type {string}
192
+ * @memberof V1FolderMessagesMessage
193
+ */
194
+ 'subject': string | null;
195
+ /**
196
+ *
197
+ * @type {V1FolderMessagesMessageAddress}
198
+ * @memberof V1FolderMessagesMessage
199
+ */
200
+ 'from': V1FolderMessagesMessageAddress | null;
201
+ /**
202
+ *
203
+ * @type {Array<V1FolderMessagesMessageAddress>}
204
+ * @memberof V1FolderMessagesMessage
205
+ */
206
+ 'to': Array<V1FolderMessagesMessageAddress>;
207
+ /**
208
+ *
209
+ * @type {Array<V1FolderMessagesMessageAddress>}
210
+ * @memberof V1FolderMessagesMessage
211
+ */
212
+ 'cc': Array<V1FolderMessagesMessageAddress>;
213
+ /**
214
+ *
215
+ * @type {Array<V1FolderMessagesMessageAddress>}
216
+ * @memberof V1FolderMessagesMessage
217
+ */
218
+ 'bcc': Array<V1FolderMessagesMessageAddress>;
219
+ /**
220
+ *
221
+ * @type {string}
222
+ * @memberof V1FolderMessagesMessage
223
+ */
224
+ 'messageId': string | null;
225
+ /**
226
+ *
227
+ * @type {string}
228
+ * @memberof V1FolderMessagesMessage
229
+ */
230
+ 'inReplyTo': string | null;
231
+ /**
232
+ *
233
+ * @type {Array<V1FolderMessagesMessageAttachment>}
234
+ * @memberof V1FolderMessagesMessage
235
+ */
236
+ 'attachments': Array<V1FolderMessagesMessageAttachment>;
237
+ }
238
+ /**
239
+ * A single email address with optional display name.
240
+ * @export
241
+ * @interface V1FolderMessagesMessageAddress
242
+ */
243
+ export interface V1FolderMessagesMessageAddress {
244
+ /**
245
+ *
246
+ * @type {string}
247
+ * @memberof V1FolderMessagesMessageAddress
248
+ */
249
+ 'name': string;
250
+ /**
251
+ *
252
+ * @type {string}
253
+ * @memberof V1FolderMessagesMessageAddress
254
+ */
255
+ 'address': string;
256
+ }
257
+ /**
258
+ * Attachment metadata attached to a message.
259
+ * @export
260
+ * @interface V1FolderMessagesMessageAttachment
261
+ */
262
+ export interface V1FolderMessagesMessageAttachment {
263
+ /**
264
+ * Opaque attachment identifier. Use as the {attachmentId} path parameter on the download endpoint.
265
+ * @type {string}
266
+ * @memberof V1FolderMessagesMessageAttachment
267
+ */
268
+ 'id': string;
269
+ /**
270
+ *
271
+ * @type {string}
272
+ * @memberof V1FolderMessagesMessageAttachment
273
+ */
274
+ 'contentType': string;
275
+ /**
276
+ *
277
+ * @type {number}
278
+ * @memberof V1FolderMessagesMessageAttachment
279
+ */
280
+ 'sizeBytes': number;
281
+ /**
282
+ *
283
+ * @type {boolean}
284
+ * @memberof V1FolderMessagesMessageAttachment
285
+ */
286
+ 'inline': boolean;
287
+ /**
288
+ *
289
+ * @type {string}
290
+ * @memberof V1FolderMessagesMessageAttachment
291
+ */
292
+ 'filename': string | null;
293
+ /**
294
+ *
295
+ * @type {string}
296
+ * @memberof V1FolderMessagesMessageAttachment
297
+ */
298
+ 'contentId': string | null;
299
+ }
300
+ /**
301
+ * Rendered text and HTML parts of a message.
302
+ * @export
303
+ * @interface V1FolderMessagesMessageText
304
+ */
305
+ export interface V1FolderMessagesMessageText {
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof V1FolderMessagesMessageText
310
+ */
311
+ 'text': string;
312
+ /**
313
+ *
314
+ * @type {string}
315
+ * @memberof V1FolderMessagesMessageText
316
+ */
317
+ 'html': string;
318
+ }
319
+ /**
320
+ * Single message text payload.
321
+ * @export
322
+ * @interface V1FolderMessagesMessageTextResource
323
+ */
324
+ export interface V1FolderMessagesMessageTextResource {
325
+ /**
326
+ *
327
+ * @type {V1FolderMessagesMessageText}
328
+ * @memberof V1FolderMessagesMessageTextResource
329
+ */
330
+ 'data': V1FolderMessagesMessageText;
331
+ }
332
+ /**
333
+ * Body for moving multiple messages to a target folder.
334
+ * @export
335
+ * @interface V1FolderMessagesMoveBulkRequest
336
+ */
337
+ export interface V1FolderMessagesMoveBulkRequest {
338
+ /**
339
+ * Message UIDs to move. 1-100 entries, each > 0.
340
+ * @type {Array<number>}
341
+ * @memberof V1FolderMessagesMoveBulkRequest
342
+ */
343
+ 'uids': Array<number>;
344
+ /**
345
+ * Destination folder path.
346
+ * @type {string}
347
+ * @memberof V1FolderMessagesMoveBulkRequest
348
+ */
349
+ 'targetFolder': string;
350
+ }
351
+ /**
352
+ * Body for moving a single message to a target folder.
353
+ * @export
354
+ * @interface V1FolderMessagesMoveRequest
355
+ */
356
+ export interface V1FolderMessagesMoveRequest {
357
+ /**
358
+ * Destination folder path.
359
+ * @type {string}
360
+ * @memberof V1FolderMessagesMoveRequest
361
+ */
362
+ 'targetFolder': string;
363
+ }
364
+ /**
365
+ * Single message payload.
366
+ * @export
367
+ * @interface V1FolderMessagesResource
368
+ */
369
+ export interface V1FolderMessagesResource {
370
+ /**
371
+ *
372
+ * @type {V1FolderMessagesMessage}
373
+ * @memberof V1FolderMessagesResource
374
+ */
375
+ 'data': V1FolderMessagesMessage;
376
+ }
377
+ /**
378
+ * Search criteria. All fields optional; combine to narrow results.
379
+ * @export
380
+ * @interface V1FolderMessagesSearchRequest
381
+ */
382
+ export interface V1FolderMessagesSearchRequest {
383
+ /**
384
+ *
385
+ * @type {string}
386
+ * @memberof V1FolderMessagesSearchRequest
387
+ */
388
+ 'since': string;
389
+ /**
390
+ *
391
+ * @type {string}
392
+ * @memberof V1FolderMessagesSearchRequest
393
+ */
394
+ 'before': string;
395
+ /**
396
+ *
397
+ * @type {Array<string>}
398
+ * @memberof V1FolderMessagesSearchRequest
399
+ */
400
+ 'flags': Array<string>;
401
+ /**
402
+ *
403
+ * @type {string}
404
+ * @memberof V1FolderMessagesSearchRequest
405
+ */
406
+ 'uid': string;
407
+ /**
408
+ *
409
+ * @type {string}
410
+ * @memberof V1FolderMessagesSearchRequest
411
+ */
412
+ 'subject': string;
413
+ /**
414
+ *
415
+ * @type {string}
416
+ * @memberof V1FolderMessagesSearchRequest
417
+ */
418
+ 'from': string;
419
+ /**
420
+ *
421
+ * @type {string}
422
+ * @memberof V1FolderMessagesSearchRequest
423
+ */
424
+ 'to': string;
425
+ /**
426
+ *
427
+ * @type {string}
428
+ * @memberof V1FolderMessagesSearchRequest
429
+ */
430
+ 'cc': string;
431
+ /**
432
+ *
433
+ * @type {string}
434
+ * @memberof V1FolderMessagesSearchRequest
435
+ */
436
+ 'body': string;
437
+ /**
438
+ *
439
+ * @type {string}
440
+ * @memberof V1FolderMessagesSearchRequest
441
+ */
442
+ 'header': string;
443
+ /**
444
+ *
445
+ * @type {number}
446
+ * @memberof V1FolderMessagesSearchRequest
447
+ */
448
+ 'larger': number;
449
+ /**
450
+ *
451
+ * @type {number}
452
+ * @memberof V1FolderMessagesSearchRequest
453
+ */
454
+ 'smaller': number;
455
+ /**
456
+ *
457
+ * @type {string}
458
+ * @memberof V1FolderMessagesSearchRequest
459
+ */
460
+ 'text': string;
461
+ }
462
+ /**
463
+ * Per-UID outcome of a bulk flag update. 200 when every UID succeeded, 207 when at least one failed.
464
+ * @export
465
+ * @interface V1FolderMessagesUpdateFlagsResult
466
+ */
467
+ export interface V1FolderMessagesUpdateFlagsResult {
468
+ /**
469
+ *
470
+ * @type {V1FolderMessagesUpdateFlagsResultData}
471
+ * @memberof V1FolderMessagesUpdateFlagsResult
472
+ */
473
+ 'data': V1FolderMessagesUpdateFlagsResultData;
474
+ }
475
+ /**
476
+ *
477
+ * @export
478
+ * @interface V1FolderMessagesUpdateFlagsResultData
479
+ */
480
+ export interface V1FolderMessagesUpdateFlagsResultData {
481
+ /**
482
+ *
483
+ * @type {Array<number>}
484
+ * @memberof V1FolderMessagesUpdateFlagsResultData
485
+ */
486
+ 'successful': Array<number>;
487
+ /**
488
+ *
489
+ * @type {Array<V1FolderMessagesUpdateFlagsResultDataFailedInner>}
490
+ * @memberof V1FolderMessagesUpdateFlagsResultData
491
+ */
492
+ 'failed': Array<V1FolderMessagesUpdateFlagsResultDataFailedInner>;
493
+ }
494
+ /**
495
+ *
496
+ * @export
497
+ * @interface V1FolderMessagesUpdateFlagsResultDataFailedInner
498
+ */
499
+ export interface V1FolderMessagesUpdateFlagsResultDataFailedInner {
500
+ /**
501
+ *
502
+ * @type {number}
503
+ * @memberof V1FolderMessagesUpdateFlagsResultDataFailedInner
504
+ */
505
+ 'uid': number;
506
+ /**
507
+ *
508
+ * @type {string}
509
+ * @memberof V1FolderMessagesUpdateFlagsResultDataFailedInner
510
+ */
511
+ 'reason': string;
512
+ }
513
+ /**
514
+ * Paginated list of folders.
515
+ * @export
516
+ * @interface V1FoldersCollection
517
+ */
518
+ export interface V1FoldersCollection {
519
+ /**
520
+ *
521
+ * @type {Array<V1FoldersFolder>}
522
+ * @memberof V1FoldersCollection
523
+ */
524
+ 'data': Array<V1FoldersFolder>;
525
+ /**
526
+ *
527
+ * @type {Pagination}
528
+ * @memberof V1FoldersCollection
529
+ */
530
+ 'pagination': Pagination;
531
+ }
532
+ /**
533
+ * Body for creating a folder.
534
+ * @export
535
+ * @interface V1FoldersCreateRequest
536
+ */
537
+ export interface V1FoldersCreateRequest {
538
+ /**
539
+ * Folder name. Length 1-100 after trimming.
540
+ * @type {string}
541
+ * @memberof V1FoldersCreateRequest
542
+ */
543
+ 'name': string;
544
+ }
545
+ /**
546
+ * A folder (IMAP mailbox) in the managed mailbox.
547
+ * @export
548
+ * @interface V1FoldersFolder
549
+ */
550
+ export interface V1FoldersFolder {
551
+ /**
552
+ * Full hierarchical folder path including the delimiter.
553
+ * @type {string}
554
+ * @memberof V1FoldersFolder
555
+ */
556
+ 'path': string;
557
+ /**
558
+ * Leaf name of the folder.
559
+ * @type {string}
560
+ * @memberof V1FoldersFolder
561
+ */
562
+ 'name': string;
563
+ /**
564
+ * Hierarchy delimiter used by the IMAP server.
565
+ * @type {string}
566
+ * @memberof V1FoldersFolder
567
+ */
568
+ 'delimiter': string;
569
+ /**
570
+ * IMAP SPECIAL-USE attribute (RFC 6154). `null` for regular folders.
571
+ * @type {string}
572
+ * @memberof V1FoldersFolder
573
+ */
574
+ 'specialUse': string | null;
575
+ /**
576
+ * Total number of messages in the folder.
577
+ * @type {number}
578
+ * @memberof V1FoldersFolder
579
+ */
580
+ 'messageCount': number;
581
+ /**
582
+ * Number of unread messages in the folder.
583
+ * @type {number}
584
+ * @memberof V1FoldersFolder
585
+ */
586
+ 'unreadCount': number;
587
+ }
588
+ /**
589
+ * Single folder payload.
590
+ * @export
591
+ * @interface V1FoldersResource
592
+ */
593
+ export interface V1FoldersResource {
594
+ /**
595
+ *
596
+ * @type {V1FoldersFolder}
597
+ * @memberof V1FoldersResource
598
+ */
599
+ 'data': V1FoldersFolder;
600
+ }
601
+ /**
602
+ * Body for renaming a folder.
603
+ * @export
604
+ * @interface V1FoldersUpdateRequest
605
+ */
606
+ export interface V1FoldersUpdateRequest {
607
+ /**
608
+ * New folder name. Length 1-100 after trimming.
609
+ * @type {string}
610
+ * @memberof V1FoldersUpdateRequest
611
+ */
612
+ 'name': string;
613
+ }
614
+ /**
615
+ * A mailbox the authenticated API token can manage.
616
+ * @export
617
+ * @interface V1MeMailbox
618
+ */
619
+ export interface V1MeMailbox {
620
+ /**
621
+ * Unique identifier of the mailbox.
622
+ * @type {string}
623
+ * @memberof V1MeMailbox
624
+ */
625
+ 'resourceId': string;
626
+ /**
627
+ * Email address of the mailbox.
628
+ * @type {string}
629
+ * @memberof V1MeMailbox
630
+ */
631
+ 'address': string;
632
+ }
633
+ /**
634
+ * Authenticated account payload.
635
+ * @export
636
+ * @interface V1MeResource
637
+ */
638
+ export interface V1MeResource {
639
+ /**
640
+ *
641
+ * @type {V1MeResourceData}
642
+ * @memberof V1MeResource
643
+ */
644
+ 'data': V1MeResourceData;
645
+ }
646
+ /**
647
+ *
648
+ * @export
649
+ * @interface V1MeResourceData
650
+ */
651
+ export interface V1MeResourceData {
652
+ /**
653
+ * Identifier of the order this API token is scoped to.
654
+ * @type {string}
655
+ * @memberof V1MeResourceData
656
+ */
657
+ 'orderResourceId': string;
658
+ /**
659
+ * Mailboxes that the authenticated API token can manage.
660
+ * @type {Array<V1MeMailbox>}
661
+ * @memberof V1MeResourceData
662
+ */
663
+ 'mailboxes': Array<V1MeMailbox>;
664
+ }
665
+ /**
666
+ * Storage and message quota usage for the managed mailbox.
667
+ * @export
668
+ * @interface V1QuotaQuota
669
+ */
670
+ export interface V1QuotaQuota {
671
+ /**
672
+ * Per-resource quota breakdown reported by the IMAP server.
673
+ * @type {Array<V1QuotaQuotaResource>}
674
+ * @memberof V1QuotaQuota
675
+ */
676
+ 'quotas': Array<V1QuotaQuotaResource>;
677
+ /**
678
+ * Aggregate storage usage across all resources, in bytes.
679
+ * @type {number}
680
+ * @memberof V1QuotaQuota
681
+ */
682
+ 'totalUsage': number;
683
+ /**
684
+ * Aggregate storage limit across all resources, in bytes.
685
+ * @type {number}
686
+ * @memberof V1QuotaQuota
687
+ */
688
+ 'totalLimit': number;
689
+ /**
690
+ * Aggregate storage usage as a percentage of the total limit.
691
+ * @type {number}
692
+ * @memberof V1QuotaQuota
693
+ */
694
+ 'totalPercentage': number;
695
+ /**
696
+ * Whether the IMAP server reports quota information for this mailbox.
697
+ * @type {boolean}
698
+ * @memberof V1QuotaQuota
699
+ */
700
+ 'supported': boolean;
701
+ }
702
+ /**
703
+ * Usage and limit for a single IMAP quota resource.
704
+ * @export
705
+ * @interface V1QuotaQuotaResource
706
+ */
707
+ export interface V1QuotaQuotaResource {
708
+ /**
709
+ * Name of the quota resource as reported by the IMAP server.
710
+ * @type {string}
711
+ * @memberof V1QuotaQuotaResource
712
+ */
713
+ 'resourceName': string;
714
+ /**
715
+ * Current usage of the resource (bytes for STORAGE, count for MESSAGE).
716
+ * @type {number}
717
+ * @memberof V1QuotaQuotaResource
718
+ */
719
+ 'usage': number;
720
+ /**
721
+ * Maximum allowed value for the resource (bytes for STORAGE, count for MESSAGE).
722
+ * @type {number}
723
+ * @memberof V1QuotaQuotaResource
724
+ */
725
+ 'limit': number;
726
+ /**
727
+ * Usage as a percentage of the limit.
728
+ * @type {number}
729
+ * @memberof V1QuotaQuotaResource
730
+ */
731
+ 'percentage': number;
732
+ }
733
+ /**
734
+ * Mailbox quota payload.
735
+ * @export
736
+ * @interface V1QuotaResource
737
+ */
738
+ export interface V1QuotaResource {
739
+ /**
740
+ *
741
+ * @type {V1QuotaQuota}
742
+ * @memberof V1QuotaResource
743
+ */
744
+ 'data': V1QuotaQuota;
745
+ }
746
+ /**
747
+ * Attachment payload for outgoing mail. Supports regular attachments and inline images linked via Content-ID.
748
+ * @export
749
+ * @interface V1SendAttachment
750
+ */
751
+ export interface V1SendAttachment {
752
+ /**
753
+ *
754
+ * @type {string}
755
+ * @memberof V1SendAttachment
756
+ */
757
+ 'filename': string;
758
+ /**
759
+ * Attachment body. Base64-encoded by default; set encoding to switch.
760
+ * @type {string}
761
+ * @memberof V1SendAttachment
762
+ */
763
+ 'content': string;
764
+ /**
765
+ *
766
+ * @type {string}
767
+ * @memberof V1SendAttachment
768
+ */
769
+ 'contentType': string;
770
+ /**
771
+ * Content-ID for inline images. Reference from HTML as <img src=\"cid:logo\">.
772
+ * @type {string}
773
+ * @memberof V1SendAttachment
774
+ */
775
+ 'cid': string;
776
+ /**
777
+ * Encoding of content. Defaults to base64.
778
+ * @type {string}
779
+ * @memberof V1SendAttachment
780
+ */
781
+ 'encoding': string;
782
+ }
783
+ /**
784
+ * Reference to a source message by UID within a folder, used for reply/forward threading. Both fields are required.
785
+ * @export
786
+ * @interface V1SendMessageRef
787
+ */
788
+ export interface V1SendMessageRef {
789
+ /**
790
+ * UID of the source message.
791
+ * @type {number}
792
+ * @memberof V1SendMessageRef
793
+ */
794
+ 'uid': number;
795
+ /**
796
+ * Folder containing the source message.
797
+ * @type {string}
798
+ * @memberof V1SendMessageRef
799
+ */
800
+ 'folder': string;
801
+ }
802
+ /**
803
+ * Outgoing message payload. At least one of to, cc, or bcc must be present.
804
+ * @export
805
+ * @interface V1SendRequest
806
+ */
807
+ export interface V1SendRequest {
808
+ /**
809
+ *
810
+ * @type {Array<string>}
811
+ * @memberof V1SendRequest
812
+ */
813
+ 'to': Array<string>;
814
+ /**
815
+ *
816
+ * @type {string}
817
+ * @memberof V1SendRequest
818
+ */
819
+ 'displayName': string;
820
+ /**
821
+ *
822
+ * @type {Array<string>}
823
+ * @memberof V1SendRequest
824
+ */
825
+ 'cc': Array<string>;
826
+ /**
827
+ *
828
+ * @type {Array<string>}
829
+ * @memberof V1SendRequest
830
+ */
831
+ 'bcc': Array<string>;
832
+ /**
833
+ *
834
+ * @type {string}
835
+ * @memberof V1SendRequest
836
+ */
837
+ 'subject': string;
838
+ /**
839
+ *
840
+ * @type {string}
841
+ * @memberof V1SendRequest
842
+ */
843
+ 'text': string;
844
+ /**
845
+ *
846
+ * @type {string}
847
+ * @memberof V1SendRequest
848
+ */
849
+ 'html': string;
850
+ /**
851
+ *
852
+ * @type {Array<V1SendAttachment>}
853
+ * @memberof V1SendRequest
854
+ */
855
+ 'attachments': Array<V1SendAttachment>;
856
+ /**
857
+ * 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.
858
+ * @type {V1SendMessageRef}
859
+ * @memberof V1SendRequest
860
+ */
861
+ 'inReplyTo': V1SendMessageRef;
862
+ /**
863
+ * Source message this forwards. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo.
864
+ * @type {V1SendMessageRef}
865
+ * @memberof V1SendRequest
866
+ */
867
+ 'forwardOf': V1SendMessageRef;
868
+ }
869
+ /**
870
+ * Paginated list of webhooks.
871
+ * @export
872
+ * @interface V1WebhooksCollection
873
+ */
874
+ export interface V1WebhooksCollection {
875
+ /**
876
+ *
877
+ * @type {Array<V1WebhooksWebhook>}
878
+ * @memberof V1WebhooksCollection
879
+ */
880
+ 'data': Array<V1WebhooksWebhook>;
881
+ /**
882
+ *
883
+ * @type {Pagination}
884
+ * @memberof V1WebhooksCollection
885
+ */
886
+ 'pagination': Pagination;
887
+ }
888
+ /**
889
+ * Body for creating a webhook.
890
+ * @export
891
+ * @interface V1WebhooksCreateRequest
892
+ */
893
+ export interface V1WebhooksCreateRequest {
894
+ /**
895
+ *
896
+ * @type {string}
897
+ * @memberof V1WebhooksCreateRequest
898
+ */
899
+ 'name': string;
900
+ /**
901
+ *
902
+ * @type {string}
903
+ * @memberof V1WebhooksCreateRequest
904
+ */
905
+ 'description': string | null;
906
+ /**
907
+ *
908
+ * @type {Array<string>}
909
+ * @memberof V1WebhooksCreateRequest
910
+ */
911
+ 'events': Array<V1WebhooksCreateRequestEventsEnum>;
912
+ /**
913
+ *
914
+ * @type {string}
915
+ * @memberof V1WebhooksCreateRequest
916
+ */
917
+ 'status': V1WebhooksCreateRequestStatusEnum;
918
+ /**
919
+ *
920
+ * @type {string}
921
+ * @memberof V1WebhooksCreateRequest
922
+ */
923
+ 'url': string;
924
+ }
925
+ export declare const V1WebhooksCreateRequestEventsEnum: {
926
+ readonly MessageReceived: "message.received";
927
+ };
928
+ export type V1WebhooksCreateRequestEventsEnum = typeof V1WebhooksCreateRequestEventsEnum[keyof typeof V1WebhooksCreateRequestEventsEnum];
929
+ export declare const V1WebhooksCreateRequestStatusEnum: {
930
+ readonly Active: "active";
931
+ readonly Paused: "paused";
932
+ readonly Disabled: "disabled";
933
+ };
934
+ export type V1WebhooksCreateRequestStatusEnum = typeof V1WebhooksCreateRequestStatusEnum[keyof typeof V1WebhooksCreateRequestStatusEnum];
935
+ /**
936
+ * Single webhook payload.
937
+ * @export
938
+ * @interface V1WebhooksResource
939
+ */
940
+ export interface V1WebhooksResource {
941
+ /**
942
+ *
943
+ * @type {V1WebhooksWebhook}
944
+ * @memberof V1WebhooksResource
945
+ */
946
+ 'data': V1WebhooksWebhook;
947
+ }
948
+ /**
949
+ * Single webhook payload including the one-time secret.
950
+ * @export
951
+ * @interface V1WebhooksResourceWithSecret
952
+ */
953
+ export interface V1WebhooksResourceWithSecret {
954
+ /**
955
+ *
956
+ * @type {V1WebhooksWebhookWithSecret}
957
+ * @memberof V1WebhooksResourceWithSecret
958
+ */
959
+ 'data': V1WebhooksWebhookWithSecret;
960
+ }
961
+ /**
962
+ * Result of a webhook test delivery.
963
+ * @export
964
+ * @interface V1WebhooksTestResult
965
+ */
966
+ export interface V1WebhooksTestResult {
967
+ /**
968
+ *
969
+ * @type {V1WebhooksTestResultData}
970
+ * @memberof V1WebhooksTestResult
971
+ */
972
+ 'data': V1WebhooksTestResultData;
973
+ }
974
+ /**
975
+ *
976
+ * @export
977
+ * @interface V1WebhooksTestResultData
978
+ */
979
+ export interface V1WebhooksTestResultData {
980
+ /**
981
+ *
982
+ * @type {number}
983
+ * @memberof V1WebhooksTestResultData
984
+ */
985
+ 'httpStatus': number;
986
+ /**
987
+ *
988
+ * @type {boolean}
989
+ * @memberof V1WebhooksTestResultData
990
+ */
991
+ 'success': boolean;
992
+ /**
993
+ *
994
+ * @type {string}
995
+ * @memberof V1WebhooksTestResultData
996
+ */
997
+ 'error': string | null;
998
+ }
999
+ /**
1000
+ * Body for partially updating a webhook. All fields optional; only present fields are applied.
1001
+ * @export
1002
+ * @interface V1WebhooksUpdateRequest
1003
+ */
1004
+ export interface V1WebhooksUpdateRequest {
1005
+ /**
1006
+ *
1007
+ * @type {string}
1008
+ * @memberof V1WebhooksUpdateRequest
1009
+ */
1010
+ 'name': string;
1011
+ /**
1012
+ *
1013
+ * @type {string}
1014
+ * @memberof V1WebhooksUpdateRequest
1015
+ */
1016
+ 'description': string | null;
1017
+ /**
1018
+ *
1019
+ * @type {Array<string>}
1020
+ * @memberof V1WebhooksUpdateRequest
1021
+ */
1022
+ 'events': Array<V1WebhooksUpdateRequestEventsEnum>;
1023
+ /**
1024
+ *
1025
+ * @type {string}
1026
+ * @memberof V1WebhooksUpdateRequest
1027
+ */
1028
+ 'status': V1WebhooksUpdateRequestStatusEnum;
1029
+ /**
1030
+ *
1031
+ * @type {string}
1032
+ * @memberof V1WebhooksUpdateRequest
1033
+ */
1034
+ 'url': string;
1035
+ }
1036
+ export declare const V1WebhooksUpdateRequestEventsEnum: {
1037
+ readonly MessageReceived: "message.received";
1038
+ };
1039
+ export type V1WebhooksUpdateRequestEventsEnum = typeof V1WebhooksUpdateRequestEventsEnum[keyof typeof V1WebhooksUpdateRequestEventsEnum];
1040
+ export declare const V1WebhooksUpdateRequestStatusEnum: {
1041
+ readonly Active: "active";
1042
+ readonly Paused: "paused";
1043
+ readonly Disabled: "disabled";
1044
+ };
1045
+ export type V1WebhooksUpdateRequestStatusEnum = typeof V1WebhooksUpdateRequestStatusEnum[keyof typeof V1WebhooksUpdateRequestStatusEnum];
1046
+ /**
1047
+ * Webhook configured for a managed mailbox.
1048
+ * @export
1049
+ * @interface V1WebhooksWebhook
1050
+ */
1051
+ export interface V1WebhooksWebhook {
1052
+ /**
1053
+ * Unique webhook identifier (UUID v7).
1054
+ * @type {string}
1055
+ * @memberof V1WebhooksWebhook
1056
+ */
1057
+ 'id': string;
1058
+ /**
1059
+ * Resource ID of the mailbox this webhook is attached to.
1060
+ * @type {string}
1061
+ * @memberof V1WebhooksWebhook
1062
+ */
1063
+ 'accountResourceId': string;
1064
+ /**
1065
+ * Email address of the mailbox.
1066
+ * @type {string}
1067
+ * @memberof V1WebhooksWebhook
1068
+ */
1069
+ 'mailbox': string;
1070
+ /**
1071
+ *
1072
+ * @type {string}
1073
+ * @memberof V1WebhooksWebhook
1074
+ */
1075
+ 'name': string;
1076
+ /**
1077
+ *
1078
+ * @type {string}
1079
+ * @memberof V1WebhooksWebhook
1080
+ */
1081
+ 'description': string | null;
1082
+ /**
1083
+ *
1084
+ * @type {Array<string>}
1085
+ * @memberof V1WebhooksWebhook
1086
+ */
1087
+ 'events': Array<V1WebhooksWebhookEventsEnum>;
1088
+ /**
1089
+ *
1090
+ * @type {string}
1091
+ * @memberof V1WebhooksWebhook
1092
+ */
1093
+ 'status': V1WebhooksWebhookStatusEnum;
1094
+ /**
1095
+ *
1096
+ * @type {string}
1097
+ * @memberof V1WebhooksWebhook
1098
+ */
1099
+ 'url': string;
1100
+ /**
1101
+ *
1102
+ * @type {string}
1103
+ * @memberof V1WebhooksWebhook
1104
+ */
1105
+ 'createdAt': string;
1106
+ /**
1107
+ *
1108
+ * @type {string}
1109
+ * @memberof V1WebhooksWebhook
1110
+ */
1111
+ 'updatedAt': string;
1112
+ }
1113
+ export declare const V1WebhooksWebhookEventsEnum: {
1114
+ readonly MessageReceived: "message.received";
1115
+ };
1116
+ export type V1WebhooksWebhookEventsEnum = typeof V1WebhooksWebhookEventsEnum[keyof typeof V1WebhooksWebhookEventsEnum];
1117
+ export declare const V1WebhooksWebhookStatusEnum: {
1118
+ readonly Active: "active";
1119
+ readonly Paused: "paused";
1120
+ readonly Disabled: "disabled";
1121
+ };
1122
+ export type V1WebhooksWebhookStatusEnum = typeof V1WebhooksWebhookStatusEnum[keyof typeof V1WebhooksWebhookStatusEnum];
1123
+ /**
1124
+ * Webhook payload that includes the one-time `secret`. Returned at creation and after secret regeneration. The secret is delivered as a bearer token on every webhook request (`Authorization: Bearer <secret>`); store it securely as it is not returned again.
1125
+ * @export
1126
+ * @interface V1WebhooksWebhookWithSecret
1127
+ */
1128
+ export interface V1WebhooksWebhookWithSecret {
1129
+ /**
1130
+ * Unique webhook identifier (UUID v7).
1131
+ * @type {string}
1132
+ * @memberof V1WebhooksWebhookWithSecret
1133
+ */
1134
+ 'id': string;
1135
+ /**
1136
+ * Resource ID of the mailbox this webhook is attached to.
1137
+ * @type {string}
1138
+ * @memberof V1WebhooksWebhookWithSecret
1139
+ */
1140
+ 'accountResourceId': string;
1141
+ /**
1142
+ * Email address of the mailbox.
1143
+ * @type {string}
1144
+ * @memberof V1WebhooksWebhookWithSecret
1145
+ */
1146
+ 'mailbox': string;
1147
+ /**
1148
+ *
1149
+ * @type {string}
1150
+ * @memberof V1WebhooksWebhookWithSecret
1151
+ */
1152
+ 'name': string;
1153
+ /**
1154
+ *
1155
+ * @type {string}
1156
+ * @memberof V1WebhooksWebhookWithSecret
1157
+ */
1158
+ 'description': string | null;
1159
+ /**
1160
+ *
1161
+ * @type {Array<string>}
1162
+ * @memberof V1WebhooksWebhookWithSecret
1163
+ */
1164
+ 'events': Array<V1WebhooksWebhookWithSecretEventsEnum>;
1165
+ /**
1166
+ *
1167
+ * @type {string}
1168
+ * @memberof V1WebhooksWebhookWithSecret
1169
+ */
1170
+ 'status': V1WebhooksWebhookWithSecretStatusEnum;
1171
+ /**
1172
+ *
1173
+ * @type {string}
1174
+ * @memberof V1WebhooksWebhookWithSecret
1175
+ */
1176
+ 'url': string;
1177
+ /**
1178
+ *
1179
+ * @type {string}
1180
+ * @memberof V1WebhooksWebhookWithSecret
1181
+ */
1182
+ 'createdAt': string;
1183
+ /**
1184
+ *
1185
+ * @type {string}
1186
+ * @memberof V1WebhooksWebhookWithSecret
1187
+ */
1188
+ 'updatedAt': string;
1189
+ /**
1190
+ *
1191
+ * @type {string}
1192
+ * @memberof V1WebhooksWebhookWithSecret
1193
+ */
1194
+ 'secret': string;
1195
+ }
1196
+ export declare const V1WebhooksWebhookWithSecretEventsEnum: {
1197
+ readonly MessageReceived: "message.received";
1198
+ };
1199
+ export type V1WebhooksWebhookWithSecretEventsEnum = typeof V1WebhooksWebhookWithSecretEventsEnum[keyof typeof V1WebhooksWebhookWithSecretEventsEnum];
1200
+ export declare const V1WebhooksWebhookWithSecretStatusEnum: {
1201
+ readonly Active: "active";
1202
+ readonly Paused: "paused";
1203
+ readonly Disabled: "disabled";
1204
+ };
1205
+ export type V1WebhooksWebhookWithSecretStatusEnum = typeof V1WebhooksWebhookWithSecretStatusEnum[keyof typeof V1WebhooksWebhookWithSecretStatusEnum];
1206
+ /**
1207
+ * AccountApi - axios parameter creator
1208
+ * @export
1209
+ */
1210
+ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration) => {
1211
+ /**
1212
+ * Returns the authenticated account and the mailboxes it can manage.
1213
+ * @summary Get the authenticated account
1214
+ * @param {*} [options] Override http request option.
1215
+ * @throws {RequiredError}
1216
+ */
1217
+ getCurrentAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1218
+ };
1219
+ /**
1220
+ * AccountApi - functional programming interface
1221
+ * @export
1222
+ */
1223
+ export declare const AccountApiFp: (configuration?: Configuration) => {
1224
+ /**
1225
+ * Returns the authenticated account and the mailboxes it can manage.
1226
+ * @summary Get the authenticated account
1227
+ * @param {*} [options] Override http request option.
1228
+ * @throws {RequiredError}
1229
+ */
1230
+ getCurrentAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1MeResource>>;
1231
+ };
1232
+ /**
1233
+ * AccountApi - factory interface
1234
+ * @export
1235
+ */
1236
+ export declare const AccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1237
+ /**
1238
+ * Returns the authenticated account and the mailboxes it can manage.
1239
+ * @summary Get the authenticated account
1240
+ * @param {*} [options] Override http request option.
1241
+ * @throws {RequiredError}
1242
+ */
1243
+ getCurrentAccount(options?: RawAxiosRequestConfig): AxiosPromise<V1MeResource>;
1244
+ };
1245
+ /**
1246
+ * AccountApi - object-oriented interface
1247
+ * @export
1248
+ * @class AccountApi
1249
+ * @extends {BaseAPI}
1250
+ */
1251
+ export declare class AccountApi extends BaseAPI {
1252
+ /**
1253
+ * Returns the authenticated account and the mailboxes it can manage.
1254
+ * @summary Get the authenticated account
1255
+ * @param {*} [options] Override http request option.
1256
+ * @throws {RequiredError}
1257
+ * @memberof AccountApi
1258
+ */
1259
+ getCurrentAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1MeResource, any, {}, any>>;
1260
+ }
1261
+ /**
1262
+ * FoldersApi - axios parameter creator
1263
+ * @export
1264
+ */
1265
+ export declare const FoldersApiAxiosParamCreator: (configuration?: Configuration) => {
1266
+ /**
1267
+ * Create a new folder in the managed mailbox.
1268
+ * @summary Create folder
1269
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1270
+ * @param {V1FoldersCreateRequest} v1FoldersCreateRequest
1271
+ * @param {*} [options] Override http request option.
1272
+ * @throws {RequiredError}
1273
+ */
1274
+ createFolder: (mailboxResourceId: string, v1FoldersCreateRequest: V1FoldersCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1275
+ /**
1276
+ * Delete a folder and all of its subfolders.
1277
+ * @summary Delete folder
1278
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1279
+ * @param {string} folder Folder path to delete (URL-encoded).
1280
+ * @param {*} [options] Override http request option.
1281
+ * @throws {RequiredError}
1282
+ */
1283
+ deleteFolder: (mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1284
+ /**
1285
+ * Retrieve a paginated list of folders in the managed mailbox.
1286
+ * @summary List folders
1287
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1288
+ * @param {number} [page] Page number (1-based).
1289
+ * @param {number} [perPage] Items per page (max 100).
1290
+ * @param {*} [options] Override http request option.
1291
+ * @throws {RequiredError}
1292
+ */
1293
+ listFolders: (mailboxResourceId: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1294
+ /**
1295
+ * Rename an existing folder.
1296
+ * @summary Update folder
1297
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1298
+ * @param {string} folder Current folder path (URL-encoded).
1299
+ * @param {V1FoldersUpdateRequest} v1FoldersUpdateRequest
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ */
1303
+ updateFolder: (mailboxResourceId: string, folder: string, v1FoldersUpdateRequest: V1FoldersUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1304
+ };
1305
+ /**
1306
+ * FoldersApi - functional programming interface
1307
+ * @export
1308
+ */
1309
+ export declare const FoldersApiFp: (configuration?: Configuration) => {
1310
+ /**
1311
+ * Create a new folder in the managed mailbox.
1312
+ * @summary Create folder
1313
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1314
+ * @param {V1FoldersCreateRequest} v1FoldersCreateRequest
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ createFolder(mailboxResourceId: string, v1FoldersCreateRequest: V1FoldersCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FoldersResource>>;
1319
+ /**
1320
+ * Delete a folder and all of its subfolders.
1321
+ * @summary Delete folder
1322
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1323
+ * @param {string} folder Folder path to delete (URL-encoded).
1324
+ * @param {*} [options] Override http request option.
1325
+ * @throws {RequiredError}
1326
+ */
1327
+ deleteFolder(mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1328
+ /**
1329
+ * Retrieve a paginated list of folders in the managed mailbox.
1330
+ * @summary List folders
1331
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1332
+ * @param {number} [page] Page number (1-based).
1333
+ * @param {number} [perPage] Items per page (max 100).
1334
+ * @param {*} [options] Override http request option.
1335
+ * @throws {RequiredError}
1336
+ */
1337
+ listFolders(mailboxResourceId: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FoldersCollection>>;
1338
+ /**
1339
+ * Rename an existing folder.
1340
+ * @summary Update folder
1341
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1342
+ * @param {string} folder Current folder path (URL-encoded).
1343
+ * @param {V1FoldersUpdateRequest} v1FoldersUpdateRequest
1344
+ * @param {*} [options] Override http request option.
1345
+ * @throws {RequiredError}
1346
+ */
1347
+ updateFolder(mailboxResourceId: string, folder: string, v1FoldersUpdateRequest: V1FoldersUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FoldersResource>>;
1348
+ };
1349
+ /**
1350
+ * FoldersApi - factory interface
1351
+ * @export
1352
+ */
1353
+ export declare const FoldersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1354
+ /**
1355
+ * Create a new folder in the managed mailbox.
1356
+ * @summary Create folder
1357
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1358
+ * @param {V1FoldersCreateRequest} v1FoldersCreateRequest
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ */
1362
+ createFolder(mailboxResourceId: string, v1FoldersCreateRequest: V1FoldersCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FoldersResource>;
1363
+ /**
1364
+ * Delete a folder and all of its subfolders.
1365
+ * @summary Delete folder
1366
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1367
+ * @param {string} folder Folder path to delete (URL-encoded).
1368
+ * @param {*} [options] Override http request option.
1369
+ * @throws {RequiredError}
1370
+ */
1371
+ deleteFolder(mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1372
+ /**
1373
+ * Retrieve a paginated list of folders in the managed mailbox.
1374
+ * @summary List folders
1375
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1376
+ * @param {number} [page] Page number (1-based).
1377
+ * @param {number} [perPage] Items per page (max 100).
1378
+ * @param {*} [options] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ listFolders(mailboxResourceId: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<V1FoldersCollection>;
1382
+ /**
1383
+ * Rename an existing folder.
1384
+ * @summary Update folder
1385
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1386
+ * @param {string} folder Current folder path (URL-encoded).
1387
+ * @param {V1FoldersUpdateRequest} v1FoldersUpdateRequest
1388
+ * @param {*} [options] Override http request option.
1389
+ * @throws {RequiredError}
1390
+ */
1391
+ updateFolder(mailboxResourceId: string, folder: string, v1FoldersUpdateRequest: V1FoldersUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FoldersResource>;
1392
+ };
1393
+ /**
1394
+ * FoldersApi - object-oriented interface
1395
+ * @export
1396
+ * @class FoldersApi
1397
+ * @extends {BaseAPI}
1398
+ */
1399
+ export declare class FoldersApi extends BaseAPI {
1400
+ /**
1401
+ * Create a new folder in the managed mailbox.
1402
+ * @summary Create folder
1403
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1404
+ * @param {V1FoldersCreateRequest} v1FoldersCreateRequest
1405
+ * @param {*} [options] Override http request option.
1406
+ * @throws {RequiredError}
1407
+ * @memberof FoldersApi
1408
+ */
1409
+ createFolder(mailboxResourceId: string, v1FoldersCreateRequest: V1FoldersCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FoldersResource, any, {}, any>>;
1410
+ /**
1411
+ * Delete a folder and all of its subfolders.
1412
+ * @summary Delete folder
1413
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1414
+ * @param {string} folder Folder path to delete (URL-encoded).
1415
+ * @param {*} [options] Override http request option.
1416
+ * @throws {RequiredError}
1417
+ * @memberof FoldersApi
1418
+ */
1419
+ deleteFolder(mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1420
+ /**
1421
+ * Retrieve a paginated list of folders in the managed mailbox.
1422
+ * @summary List folders
1423
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1424
+ * @param {number} [page] Page number (1-based).
1425
+ * @param {number} [perPage] Items per page (max 100).
1426
+ * @param {*} [options] Override http request option.
1427
+ * @throws {RequiredError}
1428
+ * @memberof FoldersApi
1429
+ */
1430
+ listFolders(mailboxResourceId: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FoldersCollection, any, {}, any>>;
1431
+ /**
1432
+ * Rename an existing folder.
1433
+ * @summary Update folder
1434
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1435
+ * @param {string} folder Current folder path (URL-encoded).
1436
+ * @param {V1FoldersUpdateRequest} v1FoldersUpdateRequest
1437
+ * @param {*} [options] Override http request option.
1438
+ * @throws {RequiredError}
1439
+ * @memberof FoldersApi
1440
+ */
1441
+ updateFolder(mailboxResourceId: string, folder: string, v1FoldersUpdateRequest: V1FoldersUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FoldersResource, any, {}, any>>;
1442
+ }
1443
+ /**
1444
+ * MessagesApi - axios parameter creator
1445
+ * @export
1446
+ */
1447
+ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuration) => {
1448
+ /**
1449
+ * Permanently delete every message in a folder (empty the folder).
1450
+ * @summary Delete all messages
1451
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1452
+ * @param {string} folder Folder path (URL-encoded).
1453
+ * @param {*} [options] Override http request option.
1454
+ * @throws {RequiredError}
1455
+ */
1456
+ deleteAllMessages: (mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1457
+ /**
1458
+ * Permanently delete a single message.
1459
+ * @summary Delete message
1460
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1461
+ * @param {string} folder Folder path (URL-encoded).
1462
+ * @param {number} uid Message UID.
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ deleteMessage: (mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1467
+ /**
1468
+ * Permanently delete multiple messages from a folder.
1469
+ * @summary Delete messages
1470
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1471
+ * @param {string} folder Folder path (URL-encoded).
1472
+ * @param {V1FolderMessagesDeleteBulkRequest} v1FolderMessagesDeleteBulkRequest
1473
+ * @param {*} [options] Override http request option.
1474
+ * @throws {RequiredError}
1475
+ */
1476
+ deleteMessages: (mailboxResourceId: string, folder: string, v1FolderMessagesDeleteBulkRequest: V1FolderMessagesDeleteBulkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1477
+ /**
1478
+ * Retrieve a single message by UID.
1479
+ * @summary Get message
1480
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1481
+ * @param {string} folder Folder path (URL-encoded).
1482
+ * @param {number} uid Message UID.
1483
+ * @param {*} [options] Override http request option.
1484
+ * @throws {RequiredError}
1485
+ */
1486
+ getMessage: (mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1487
+ /**
1488
+ * Download a message attachment as `application/octet-stream`.
1489
+ * @summary Download message attachment
1490
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1491
+ * @param {string} folder Folder path (URL-encoded).
1492
+ * @param {number} uid Message UID.
1493
+ * @param {string} attachmentId Attachment ID (opaque, returned by GET message).
1494
+ * @param {*} [options] Override http request option.
1495
+ * @throws {RequiredError}
1496
+ */
1497
+ getMessageAttachment: (mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1498
+ /**
1499
+ * Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1500
+ * @summary Get message source
1501
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1502
+ * @param {string} folder Folder path (URL-encoded).
1503
+ * @param {number} uid Message UID.
1504
+ * @param {*} [options] Override http request option.
1505
+ * @throws {RequiredError}
1506
+ */
1507
+ getMessageSource: (mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1508
+ /**
1509
+ * Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
1510
+ * @summary Get message text content
1511
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1512
+ * @param {string} folder Folder path (URL-encoded).
1513
+ * @param {number} uid Message UID.
1514
+ * @param {*} [options] Override http request option.
1515
+ * @throws {RequiredError}
1516
+ */
1517
+ getMessageText: (mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1518
+ /**
1519
+ * List messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with `-` for descending). Default `-uid`.
1520
+ * @summary List messages
1521
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1522
+ * @param {string} folder Folder path (URL-encoded).
1523
+ * @param {number} [page] Page number (1-based).
1524
+ * @param {number} [perPage] Items per page (max 100).
1525
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1526
+ * @param {*} [options] Override http request option.
1527
+ * @throws {RequiredError}
1528
+ */
1529
+ listMessages: (mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1530
+ /**
1531
+ * Move a single message to a target folder.
1532
+ * @summary Move message
1533
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1534
+ * @param {string} folder Source folder path (URL-encoded).
1535
+ * @param {number} uid Message UID.
1536
+ * @param {V1FolderMessagesMoveRequest} v1FolderMessagesMoveRequest
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ moveMessage: (mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesMoveRequest: V1FolderMessagesMoveRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1541
+ /**
1542
+ * Move multiple messages from a source folder to a target folder.
1543
+ * @summary Move messages
1544
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1545
+ * @param {string} folder Source folder path (URL-encoded).
1546
+ * @param {V1FolderMessagesMoveBulkRequest} v1FolderMessagesMoveBulkRequest
1547
+ * @param {*} [options] Override http request option.
1548
+ * @throws {RequiredError}
1549
+ */
1550
+ moveMessages: (mailboxResourceId: string, folder: string, v1FolderMessagesMoveBulkRequest: V1FolderMessagesMoveBulkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1551
+ /**
1552
+ * Add and/or remove flags on a single message. Returns the updated message.
1553
+ * @summary Update message flags
1554
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1555
+ * @param {string} folder Folder path (URL-encoded).
1556
+ * @param {number} uid Message UID.
1557
+ * @param {V1FolderMessagesFlagsRequest} v1FolderMessagesFlagsRequest
1558
+ * @param {*} [options] Override http request option.
1559
+ * @throws {RequiredError}
1560
+ */
1561
+ patchMessage: (mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesFlagsRequest: V1FolderMessagesFlagsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1562
+ /**
1563
+ * Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).
1564
+ * @summary Search messages
1565
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1566
+ * @param {string} folder Folder path (URL-encoded).
1567
+ * @param {number} [page]
1568
+ * @param {number} [perPage]
1569
+ * @param {string} [sort]
1570
+ * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
1571
+ * @param {*} [options] Override http request option.
1572
+ * @throws {RequiredError}
1573
+ */
1574
+ searchMessages: (mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1575
+ /**
1576
+ * 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
1578
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1579
+ * @param {string} folder Folder path (URL-encoded).
1580
+ * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
1581
+ * @param {*} [options] Override http request option.
1582
+ * @throws {RequiredError}
1583
+ */
1584
+ updateMessageFlags: (mailboxResourceId: string, folder: string, v1FolderMessagesFlagsBulkRequest: V1FolderMessagesFlagsBulkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1585
+ };
1586
+ /**
1587
+ * MessagesApi - functional programming interface
1588
+ * @export
1589
+ */
1590
+ export declare const MessagesApiFp: (configuration?: Configuration) => {
1591
+ /**
1592
+ * Permanently delete every message in a folder (empty the folder).
1593
+ * @summary Delete all messages
1594
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1595
+ * @param {string} folder Folder path (URL-encoded).
1596
+ * @param {*} [options] Override http request option.
1597
+ * @throws {RequiredError}
1598
+ */
1599
+ deleteAllMessages(mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1600
+ /**
1601
+ * Permanently delete a single message.
1602
+ * @summary Delete message
1603
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1604
+ * @param {string} folder Folder path (URL-encoded).
1605
+ * @param {number} uid Message UID.
1606
+ * @param {*} [options] Override http request option.
1607
+ * @throws {RequiredError}
1608
+ */
1609
+ deleteMessage(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1610
+ /**
1611
+ * Permanently delete multiple messages from a folder.
1612
+ * @summary Delete messages
1613
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1614
+ * @param {string} folder Folder path (URL-encoded).
1615
+ * @param {V1FolderMessagesDeleteBulkRequest} v1FolderMessagesDeleteBulkRequest
1616
+ * @param {*} [options] Override http request option.
1617
+ * @throws {RequiredError}
1618
+ */
1619
+ deleteMessages(mailboxResourceId: string, folder: string, v1FolderMessagesDeleteBulkRequest: V1FolderMessagesDeleteBulkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1620
+ /**
1621
+ * Retrieve a single message by UID.
1622
+ * @summary Get message
1623
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1624
+ * @param {string} folder Folder path (URL-encoded).
1625
+ * @param {number} uid Message UID.
1626
+ * @param {*} [options] Override http request option.
1627
+ * @throws {RequiredError}
1628
+ */
1629
+ getMessage(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesResource>>;
1630
+ /**
1631
+ * Download a message attachment as `application/octet-stream`.
1632
+ * @summary Download message attachment
1633
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1634
+ * @param {string} folder Folder path (URL-encoded).
1635
+ * @param {number} uid Message UID.
1636
+ * @param {string} attachmentId Attachment ID (opaque, returned by GET message).
1637
+ * @param {*} [options] Override http request option.
1638
+ * @throws {RequiredError}
1639
+ */
1640
+ getMessageAttachment(mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1641
+ /**
1642
+ * Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1643
+ * @summary Get message source
1644
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1645
+ * @param {string} folder Folder path (URL-encoded).
1646
+ * @param {number} uid Message UID.
1647
+ * @param {*} [options] Override http request option.
1648
+ * @throws {RequiredError}
1649
+ */
1650
+ getMessageSource(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1651
+ /**
1652
+ * Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
1653
+ * @summary Get message text content
1654
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1655
+ * @param {string} folder Folder path (URL-encoded).
1656
+ * @param {number} uid Message UID.
1657
+ * @param {*} [options] Override http request option.
1658
+ * @throws {RequiredError}
1659
+ */
1660
+ getMessageText(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesMessageTextResource>>;
1661
+ /**
1662
+ * List messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with `-` for descending). Default `-uid`.
1663
+ * @summary List messages
1664
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1665
+ * @param {string} folder Folder path (URL-encoded).
1666
+ * @param {number} [page] Page number (1-based).
1667
+ * @param {number} [perPage] Items per page (max 100).
1668
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1669
+ * @param {*} [options] Override http request option.
1670
+ * @throws {RequiredError}
1671
+ */
1672
+ listMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesCollection>>;
1673
+ /**
1674
+ * Move a single message to a target folder.
1675
+ * @summary Move message
1676
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1677
+ * @param {string} folder Source folder path (URL-encoded).
1678
+ * @param {number} uid Message UID.
1679
+ * @param {V1FolderMessagesMoveRequest} v1FolderMessagesMoveRequest
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ */
1683
+ moveMessage(mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesMoveRequest: V1FolderMessagesMoveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1684
+ /**
1685
+ * Move multiple messages from a source folder to a target folder.
1686
+ * @summary Move messages
1687
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1688
+ * @param {string} folder Source folder path (URL-encoded).
1689
+ * @param {V1FolderMessagesMoveBulkRequest} v1FolderMessagesMoveBulkRequest
1690
+ * @param {*} [options] Override http request option.
1691
+ * @throws {RequiredError}
1692
+ */
1693
+ moveMessages(mailboxResourceId: string, folder: string, v1FolderMessagesMoveBulkRequest: V1FolderMessagesMoveBulkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1694
+ /**
1695
+ * Add and/or remove flags on a single message. Returns the updated message.
1696
+ * @summary Update message flags
1697
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1698
+ * @param {string} folder Folder path (URL-encoded).
1699
+ * @param {number} uid Message UID.
1700
+ * @param {V1FolderMessagesFlagsRequest} v1FolderMessagesFlagsRequest
1701
+ * @param {*} [options] Override http request option.
1702
+ * @throws {RequiredError}
1703
+ */
1704
+ patchMessage(mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesFlagsRequest: V1FolderMessagesFlagsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesResource>>;
1705
+ /**
1706
+ * Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).
1707
+ * @summary Search messages
1708
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1709
+ * @param {string} folder Folder path (URL-encoded).
1710
+ * @param {number} [page]
1711
+ * @param {number} [perPage]
1712
+ * @param {string} [sort]
1713
+ * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
1714
+ * @param {*} [options] Override http request option.
1715
+ * @throws {RequiredError}
1716
+ */
1717
+ searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesCollection>>;
1718
+ /**
1719
+ * 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
1721
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1722
+ * @param {string} folder Folder path (URL-encoded).
1723
+ * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
1724
+ * @param {*} [options] Override http request option.
1725
+ * @throws {RequiredError}
1726
+ */
1727
+ updateMessageFlags(mailboxResourceId: string, folder: string, v1FolderMessagesFlagsBulkRequest: V1FolderMessagesFlagsBulkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1FolderMessagesUpdateFlagsResult>>;
1728
+ };
1729
+ /**
1730
+ * MessagesApi - factory interface
1731
+ * @export
1732
+ */
1733
+ export declare const MessagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1734
+ /**
1735
+ * Permanently delete every message in a folder (empty the folder).
1736
+ * @summary Delete all messages
1737
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1738
+ * @param {string} folder Folder path (URL-encoded).
1739
+ * @param {*} [options] Override http request option.
1740
+ * @throws {RequiredError}
1741
+ */
1742
+ deleteAllMessages(mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1743
+ /**
1744
+ * Permanently delete a single message.
1745
+ * @summary Delete message
1746
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1747
+ * @param {string} folder Folder path (URL-encoded).
1748
+ * @param {number} uid Message UID.
1749
+ * @param {*} [options] Override http request option.
1750
+ * @throws {RequiredError}
1751
+ */
1752
+ deleteMessage(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1753
+ /**
1754
+ * Permanently delete multiple messages from a folder.
1755
+ * @summary Delete messages
1756
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1757
+ * @param {string} folder Folder path (URL-encoded).
1758
+ * @param {V1FolderMessagesDeleteBulkRequest} v1FolderMessagesDeleteBulkRequest
1759
+ * @param {*} [options] Override http request option.
1760
+ * @throws {RequiredError}
1761
+ */
1762
+ deleteMessages(mailboxResourceId: string, folder: string, v1FolderMessagesDeleteBulkRequest: V1FolderMessagesDeleteBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1763
+ /**
1764
+ * Retrieve a single message by UID.
1765
+ * @summary Get message
1766
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1767
+ * @param {string} folder Folder path (URL-encoded).
1768
+ * @param {number} uid Message UID.
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ */
1772
+ getMessage(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesResource>;
1773
+ /**
1774
+ * Download a message attachment as `application/octet-stream`.
1775
+ * @summary Download message attachment
1776
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1777
+ * @param {string} folder Folder path (URL-encoded).
1778
+ * @param {number} uid Message UID.
1779
+ * @param {string} attachmentId Attachment ID (opaque, returned by GET message).
1780
+ * @param {*} [options] Override http request option.
1781
+ * @throws {RequiredError}
1782
+ */
1783
+ getMessageAttachment(mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1784
+ /**
1785
+ * Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1786
+ * @summary Get message source
1787
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1788
+ * @param {string} folder Folder path (URL-encoded).
1789
+ * @param {number} uid Message UID.
1790
+ * @param {*} [options] Override http request option.
1791
+ * @throws {RequiredError}
1792
+ */
1793
+ getMessageSource(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1794
+ /**
1795
+ * Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
1796
+ * @summary Get message text content
1797
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1798
+ * @param {string} folder Folder path (URL-encoded).
1799
+ * @param {number} uid Message UID.
1800
+ * @param {*} [options] Override http request option.
1801
+ * @throws {RequiredError}
1802
+ */
1803
+ getMessageText(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesMessageTextResource>;
1804
+ /**
1805
+ * List messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with `-` for descending). Default `-uid`.
1806
+ * @summary List messages
1807
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1808
+ * @param {string} folder Folder path (URL-encoded).
1809
+ * @param {number} [page] Page number (1-based).
1810
+ * @param {number} [perPage] Items per page (max 100).
1811
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1812
+ * @param {*} [options] Override http request option.
1813
+ * @throws {RequiredError}
1814
+ */
1815
+ listMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesCollection>;
1816
+ /**
1817
+ * Move a single message to a target folder.
1818
+ * @summary Move message
1819
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1820
+ * @param {string} folder Source folder path (URL-encoded).
1821
+ * @param {number} uid Message UID.
1822
+ * @param {V1FolderMessagesMoveRequest} v1FolderMessagesMoveRequest
1823
+ * @param {*} [options] Override http request option.
1824
+ * @throws {RequiredError}
1825
+ */
1826
+ moveMessage(mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesMoveRequest: V1FolderMessagesMoveRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1827
+ /**
1828
+ * Move multiple messages from a source folder to a target folder.
1829
+ * @summary Move messages
1830
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1831
+ * @param {string} folder Source folder path (URL-encoded).
1832
+ * @param {V1FolderMessagesMoveBulkRequest} v1FolderMessagesMoveBulkRequest
1833
+ * @param {*} [options] Override http request option.
1834
+ * @throws {RequiredError}
1835
+ */
1836
+ moveMessages(mailboxResourceId: string, folder: string, v1FolderMessagesMoveBulkRequest: V1FolderMessagesMoveBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1837
+ /**
1838
+ * Add and/or remove flags on a single message. Returns the updated message.
1839
+ * @summary Update message flags
1840
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1841
+ * @param {string} folder Folder path (URL-encoded).
1842
+ * @param {number} uid Message UID.
1843
+ * @param {V1FolderMessagesFlagsRequest} v1FolderMessagesFlagsRequest
1844
+ * @param {*} [options] Override http request option.
1845
+ * @throws {RequiredError}
1846
+ */
1847
+ patchMessage(mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesFlagsRequest: V1FolderMessagesFlagsRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesResource>;
1848
+ /**
1849
+ * Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).
1850
+ * @summary Search messages
1851
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1852
+ * @param {string} folder Folder path (URL-encoded).
1853
+ * @param {number} [page]
1854
+ * @param {number} [perPage]
1855
+ * @param {string} [sort]
1856
+ * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
1857
+ * @param {*} [options] Override http request option.
1858
+ * @throws {RequiredError}
1859
+ */
1860
+ searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesCollection>;
1861
+ /**
1862
+ * 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
1864
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1865
+ * @param {string} folder Folder path (URL-encoded).
1866
+ * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
1867
+ * @param {*} [options] Override http request option.
1868
+ * @throws {RequiredError}
1869
+ */
1870
+ updateMessageFlags(mailboxResourceId: string, folder: string, v1FolderMessagesFlagsBulkRequest: V1FolderMessagesFlagsBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1FolderMessagesUpdateFlagsResult>;
1871
+ };
1872
+ /**
1873
+ * MessagesApi - object-oriented interface
1874
+ * @export
1875
+ * @class MessagesApi
1876
+ * @extends {BaseAPI}
1877
+ */
1878
+ export declare class MessagesApi extends BaseAPI {
1879
+ /**
1880
+ * Permanently delete every message in a folder (empty the folder).
1881
+ * @summary Delete all messages
1882
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1883
+ * @param {string} folder Folder path (URL-encoded).
1884
+ * @param {*} [options] Override http request option.
1885
+ * @throws {RequiredError}
1886
+ * @memberof MessagesApi
1887
+ */
1888
+ deleteAllMessages(mailboxResourceId: string, folder: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1889
+ /**
1890
+ * Permanently delete a single message.
1891
+ * @summary Delete message
1892
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1893
+ * @param {string} folder Folder path (URL-encoded).
1894
+ * @param {number} uid Message UID.
1895
+ * @param {*} [options] Override http request option.
1896
+ * @throws {RequiredError}
1897
+ * @memberof MessagesApi
1898
+ */
1899
+ deleteMessage(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1900
+ /**
1901
+ * Permanently delete multiple messages from a folder.
1902
+ * @summary Delete messages
1903
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1904
+ * @param {string} folder Folder path (URL-encoded).
1905
+ * @param {V1FolderMessagesDeleteBulkRequest} v1FolderMessagesDeleteBulkRequest
1906
+ * @param {*} [options] Override http request option.
1907
+ * @throws {RequiredError}
1908
+ * @memberof MessagesApi
1909
+ */
1910
+ deleteMessages(mailboxResourceId: string, folder: string, v1FolderMessagesDeleteBulkRequest: V1FolderMessagesDeleteBulkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1911
+ /**
1912
+ * Retrieve a single message by UID.
1913
+ * @summary Get message
1914
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1915
+ * @param {string} folder Folder path (URL-encoded).
1916
+ * @param {number} uid Message UID.
1917
+ * @param {*} [options] Override http request option.
1918
+ * @throws {RequiredError}
1919
+ * @memberof MessagesApi
1920
+ */
1921
+ getMessage(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesResource, any, {}, any>>;
1922
+ /**
1923
+ * Download a message attachment as `application/octet-stream`.
1924
+ * @summary Download message attachment
1925
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1926
+ * @param {string} folder Folder path (URL-encoded).
1927
+ * @param {number} uid Message UID.
1928
+ * @param {string} attachmentId Attachment ID (opaque, returned by GET message).
1929
+ * @param {*} [options] Override http request option.
1930
+ * @throws {RequiredError}
1931
+ * @memberof MessagesApi
1932
+ */
1933
+ getMessageAttachment(mailboxResourceId: string, folder: string, uid: number, attachmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
1934
+ /**
1935
+ * Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1936
+ * @summary Get message source
1937
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1938
+ * @param {string} folder Folder path (URL-encoded).
1939
+ * @param {number} uid Message UID.
1940
+ * @param {*} [options] Override http request option.
1941
+ * @throws {RequiredError}
1942
+ * @memberof MessagesApi
1943
+ */
1944
+ getMessageSource(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
1945
+ /**
1946
+ * Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
1947
+ * @summary Get message text content
1948
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1949
+ * @param {string} folder Folder path (URL-encoded).
1950
+ * @param {number} uid Message UID.
1951
+ * @param {*} [options] Override http request option.
1952
+ * @throws {RequiredError}
1953
+ * @memberof MessagesApi
1954
+ */
1955
+ getMessageText(mailboxResourceId: string, folder: string, uid: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesMessageTextResource, any, {}, any>>;
1956
+ /**
1957
+ * List messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with `-` for descending). Default `-uid`.
1958
+ * @summary List messages
1959
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1960
+ * @param {string} folder Folder path (URL-encoded).
1961
+ * @param {number} [page] Page number (1-based).
1962
+ * @param {number} [perPage] Items per page (max 100).
1963
+ * @param {string} [sort] Sort field with optional &#x60;-&#x60; prefix for descending. Allowed: uid, date, size.
1964
+ * @param {*} [options] Override http request option.
1965
+ * @throws {RequiredError}
1966
+ * @memberof MessagesApi
1967
+ */
1968
+ listMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesCollection, any, {}, any>>;
1969
+ /**
1970
+ * Move a single message to a target folder.
1971
+ * @summary Move message
1972
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1973
+ * @param {string} folder Source folder path (URL-encoded).
1974
+ * @param {number} uid Message UID.
1975
+ * @param {V1FolderMessagesMoveRequest} v1FolderMessagesMoveRequest
1976
+ * @param {*} [options] Override http request option.
1977
+ * @throws {RequiredError}
1978
+ * @memberof MessagesApi
1979
+ */
1980
+ moveMessage(mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesMoveRequest: V1FolderMessagesMoveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1981
+ /**
1982
+ * Move multiple messages from a source folder to a target folder.
1983
+ * @summary Move messages
1984
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1985
+ * @param {string} folder Source folder path (URL-encoded).
1986
+ * @param {V1FolderMessagesMoveBulkRequest} v1FolderMessagesMoveBulkRequest
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ * @memberof MessagesApi
1990
+ */
1991
+ moveMessages(mailboxResourceId: string, folder: string, v1FolderMessagesMoveBulkRequest: V1FolderMessagesMoveBulkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1992
+ /**
1993
+ * Add and/or remove flags on a single message. Returns the updated message.
1994
+ * @summary Update message flags
1995
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
1996
+ * @param {string} folder Folder path (URL-encoded).
1997
+ * @param {number} uid Message UID.
1998
+ * @param {V1FolderMessagesFlagsRequest} v1FolderMessagesFlagsRequest
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ * @memberof MessagesApi
2002
+ */
2003
+ patchMessage(mailboxResourceId: string, folder: string, uid: number, v1FolderMessagesFlagsRequest: V1FolderMessagesFlagsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesResource, any, {}, any>>;
2004
+ /**
2005
+ * Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).
2006
+ * @summary Search messages
2007
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2008
+ * @param {string} folder Folder path (URL-encoded).
2009
+ * @param {number} [page]
2010
+ * @param {number} [perPage]
2011
+ * @param {string} [sort]
2012
+ * @param {V1FolderMessagesSearchRequest} [v1FolderMessagesSearchRequest]
2013
+ * @param {*} [options] Override http request option.
2014
+ * @throws {RequiredError}
2015
+ * @memberof MessagesApi
2016
+ */
2017
+ searchMessages(mailboxResourceId: string, folder: string, page?: number, perPage?: number, sort?: string, v1FolderMessagesSearchRequest?: V1FolderMessagesSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesCollection, any, {}, any>>;
2018
+ /**
2019
+ * 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
2021
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2022
+ * @param {string} folder Folder path (URL-encoded).
2023
+ * @param {V1FolderMessagesFlagsBulkRequest} v1FolderMessagesFlagsBulkRequest
2024
+ * @param {*} [options] Override http request option.
2025
+ * @throws {RequiredError}
2026
+ * @memberof MessagesApi
2027
+ */
2028
+ updateMessageFlags(mailboxResourceId: string, folder: string, v1FolderMessagesFlagsBulkRequest: V1FolderMessagesFlagsBulkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1FolderMessagesUpdateFlagsResult, any, {}, any>>;
2029
+ }
2030
+ /**
2031
+ * QuotaApi - axios parameter creator
2032
+ * @export
2033
+ */
2034
+ export declare const QuotaApiAxiosParamCreator: (configuration?: Configuration) => {
2035
+ /**
2036
+ * Retrieve storage and message quota usage for the managed mailbox.
2037
+ * @summary Get mailbox quota
2038
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2039
+ * @param {*} [options] Override http request option.
2040
+ * @throws {RequiredError}
2041
+ */
2042
+ getQuota: (mailboxResourceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2043
+ };
2044
+ /**
2045
+ * QuotaApi - functional programming interface
2046
+ * @export
2047
+ */
2048
+ export declare const QuotaApiFp: (configuration?: Configuration) => {
2049
+ /**
2050
+ * Retrieve storage and message quota usage for the managed mailbox.
2051
+ * @summary Get mailbox quota
2052
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2053
+ * @param {*} [options] Override http request option.
2054
+ * @throws {RequiredError}
2055
+ */
2056
+ getQuota(mailboxResourceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1QuotaResource>>;
2057
+ };
2058
+ /**
2059
+ * QuotaApi - factory interface
2060
+ * @export
2061
+ */
2062
+ export declare const QuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2063
+ /**
2064
+ * Retrieve storage and message quota usage for the managed mailbox.
2065
+ * @summary Get mailbox quota
2066
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2067
+ * @param {*} [options] Override http request option.
2068
+ * @throws {RequiredError}
2069
+ */
2070
+ getQuota(mailboxResourceId: string, options?: RawAxiosRequestConfig): AxiosPromise<V1QuotaResource>;
2071
+ };
2072
+ /**
2073
+ * QuotaApi - object-oriented interface
2074
+ * @export
2075
+ * @class QuotaApi
2076
+ * @extends {BaseAPI}
2077
+ */
2078
+ export declare class QuotaApi extends BaseAPI {
2079
+ /**
2080
+ * Retrieve storage and message quota usage for the managed mailbox.
2081
+ * @summary Get mailbox quota
2082
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2083
+ * @param {*} [options] Override http request option.
2084
+ * @throws {RequiredError}
2085
+ * @memberof QuotaApi
2086
+ */
2087
+ getQuota(mailboxResourceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1QuotaResource, any, {}, any>>;
2088
+ }
2089
+ /**
2090
+ * SendApi - axios parameter creator
2091
+ * @export
2092
+ */
2093
+ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) => {
2094
+ /**
2095
+ * Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
2096
+ * @summary Send email
2097
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2098
+ * @param {V1SendRequest | null} v1SendRequest
2099
+ * @param {*} [options] Override http request option.
2100
+ * @throws {RequiredError}
2101
+ */
2102
+ sendEmail: (mailboxResourceId: string, v1SendRequest: V1SendRequest | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2103
+ };
2104
+ /**
2105
+ * SendApi - functional programming interface
2106
+ * @export
2107
+ */
2108
+ export declare const SendApiFp: (configuration?: Configuration) => {
2109
+ /**
2110
+ * Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
2111
+ * @summary Send email
2112
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2113
+ * @param {V1SendRequest | null} v1SendRequest
2114
+ * @param {*} [options] Override http request option.
2115
+ * @throws {RequiredError}
2116
+ */
2117
+ sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2118
+ };
2119
+ /**
2120
+ * SendApi - factory interface
2121
+ * @export
2122
+ */
2123
+ export declare const SendApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2124
+ /**
2125
+ * Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
2126
+ * @summary Send email
2127
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2128
+ * @param {V1SendRequest | null} v1SendRequest
2129
+ * @param {*} [options] Override http request option.
2130
+ * @throws {RequiredError}
2131
+ */
2132
+ sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest | null, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2133
+ };
2134
+ /**
2135
+ * SendApi - object-oriented interface
2136
+ * @export
2137
+ * @class SendApi
2138
+ * @extends {BaseAPI}
2139
+ */
2140
+ export declare class SendApi extends BaseAPI {
2141
+ /**
2142
+ * Send a message from the managed mailbox. Saves a copy to INBOX.Sent.
2143
+ * @summary Send email
2144
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2145
+ * @param {V1SendRequest | null} v1SendRequest
2146
+ * @param {*} [options] Override http request option.
2147
+ * @throws {RequiredError}
2148
+ * @memberof SendApi
2149
+ */
2150
+ sendEmail(mailboxResourceId: string, v1SendRequest: V1SendRequest | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
2151
+ }
2152
+ /**
2153
+ * WebhooksApi - axios parameter creator
2154
+ * @export
2155
+ */
2156
+ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
2157
+ /**
2158
+ * Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.
2159
+ * @summary Create webhook
2160
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2161
+ * @param {V1WebhooksCreateRequest} v1WebhooksCreateRequest
2162
+ * @param {*} [options] Override http request option.
2163
+ * @throws {RequiredError}
2164
+ */
2165
+ createWebhook: (mailboxResourceId: string, v1WebhooksCreateRequest: V1WebhooksCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2166
+ /**
2167
+ * Delete a webhook.
2168
+ * @summary Delete webhook
2169
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2170
+ * @param {string} webhook Webhook identifier (UUID v7).
2171
+ * @param {*} [options] Override http request option.
2172
+ * @throws {RequiredError}
2173
+ */
2174
+ deleteWebhook: (mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2175
+ /**
2176
+ * Retrieve a single webhook by id.
2177
+ * @summary Get webhook
2178
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2179
+ * @param {string} webhook Webhook identifier (UUID v7).
2180
+ * @param {*} [options] Override http request option.
2181
+ * @throws {RequiredError}
2182
+ */
2183
+ getWebhook: (mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2184
+ /**
2185
+ * List webhooks for a mailbox.
2186
+ * @summary List webhooks
2187
+ * @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]
2191
+ * @param {*} [options] Override http request option.
2192
+ * @throws {RequiredError}
2193
+ */
2194
+ listWebhooks: (mailboxResourceId: string, status?: ListWebhooksStatusEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2195
+ /**
2196
+ * Regenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.
2197
+ * @summary Regenerate webhook secret
2198
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2199
+ * @param {string} webhook Webhook identifier (UUID v7).
2200
+ * @param {*} [options] Override http request option.
2201
+ * @throws {RequiredError}
2202
+ */
2203
+ regenerateWebhookSecret: (mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2204
+ /**
2205
+ * Send a test delivery to the webhook URL and return the upstream response.
2206
+ * @summary Test webhook
2207
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2208
+ * @param {string} webhook Webhook identifier (UUID v7).
2209
+ * @param {*} [options] Override http request option.
2210
+ * @throws {RequiredError}
2211
+ */
2212
+ testWebhook: (mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2213
+ /**
2214
+ * Partially update a webhook.
2215
+ * @summary Update webhook
2216
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2217
+ * @param {string} webhook Webhook identifier (UUID v7).
2218
+ * @param {V1WebhooksUpdateRequest} v1WebhooksUpdateRequest
2219
+ * @param {*} [options] Override http request option.
2220
+ * @throws {RequiredError}
2221
+ */
2222
+ updateWebhook: (mailboxResourceId: string, webhook: string, v1WebhooksUpdateRequest: V1WebhooksUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2223
+ };
2224
+ /**
2225
+ * WebhooksApi - functional programming interface
2226
+ * @export
2227
+ */
2228
+ export declare const WebhooksApiFp: (configuration?: Configuration) => {
2229
+ /**
2230
+ * Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.
2231
+ * @summary Create webhook
2232
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2233
+ * @param {V1WebhooksCreateRequest} v1WebhooksCreateRequest
2234
+ * @param {*} [options] Override http request option.
2235
+ * @throws {RequiredError}
2236
+ */
2237
+ createWebhook(mailboxResourceId: string, v1WebhooksCreateRequest: V1WebhooksCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1WebhooksResourceWithSecret>>;
2238
+ /**
2239
+ * Delete a webhook.
2240
+ * @summary Delete webhook
2241
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2242
+ * @param {string} webhook Webhook identifier (UUID v7).
2243
+ * @param {*} [options] Override http request option.
2244
+ * @throws {RequiredError}
2245
+ */
2246
+ deleteWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2247
+ /**
2248
+ * Retrieve a single webhook by id.
2249
+ * @summary Get webhook
2250
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2251
+ * @param {string} webhook Webhook identifier (UUID v7).
2252
+ * @param {*} [options] Override http request option.
2253
+ * @throws {RequiredError}
2254
+ */
2255
+ getWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1WebhooksResource>>;
2256
+ /**
2257
+ * List webhooks for a mailbox.
2258
+ * @summary List webhooks
2259
+ * @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]
2263
+ * @param {*} [options] Override http request option.
2264
+ * @throws {RequiredError}
2265
+ */
2266
+ listWebhooks(mailboxResourceId: string, status?: ListWebhooksStatusEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1WebhooksCollection>>;
2267
+ /**
2268
+ * Regenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.
2269
+ * @summary Regenerate webhook secret
2270
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2271
+ * @param {string} webhook Webhook identifier (UUID v7).
2272
+ * @param {*} [options] Override http request option.
2273
+ * @throws {RequiredError}
2274
+ */
2275
+ regenerateWebhookSecret(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1WebhooksResourceWithSecret>>;
2276
+ /**
2277
+ * Send a test delivery to the webhook URL and return the upstream response.
2278
+ * @summary Test webhook
2279
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2280
+ * @param {string} webhook Webhook identifier (UUID v7).
2281
+ * @param {*} [options] Override http request option.
2282
+ * @throws {RequiredError}
2283
+ */
2284
+ testWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1WebhooksTestResult>>;
2285
+ /**
2286
+ * Partially update a webhook.
2287
+ * @summary Update webhook
2288
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2289
+ * @param {string} webhook Webhook identifier (UUID v7).
2290
+ * @param {V1WebhooksUpdateRequest} v1WebhooksUpdateRequest
2291
+ * @param {*} [options] Override http request option.
2292
+ * @throws {RequiredError}
2293
+ */
2294
+ updateWebhook(mailboxResourceId: string, webhook: string, v1WebhooksUpdateRequest: V1WebhooksUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1WebhooksResource>>;
2295
+ };
2296
+ /**
2297
+ * WebhooksApi - factory interface
2298
+ * @export
2299
+ */
2300
+ export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2301
+ /**
2302
+ * Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.
2303
+ * @summary Create webhook
2304
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2305
+ * @param {V1WebhooksCreateRequest} v1WebhooksCreateRequest
2306
+ * @param {*} [options] Override http request option.
2307
+ * @throws {RequiredError}
2308
+ */
2309
+ createWebhook(mailboxResourceId: string, v1WebhooksCreateRequest: V1WebhooksCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1WebhooksResourceWithSecret>;
2310
+ /**
2311
+ * Delete a webhook.
2312
+ * @summary Delete webhook
2313
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2314
+ * @param {string} webhook Webhook identifier (UUID v7).
2315
+ * @param {*} [options] Override http request option.
2316
+ * @throws {RequiredError}
2317
+ */
2318
+ deleteWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2319
+ /**
2320
+ * Retrieve a single webhook by id.
2321
+ * @summary Get webhook
2322
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2323
+ * @param {string} webhook Webhook identifier (UUID v7).
2324
+ * @param {*} [options] Override http request option.
2325
+ * @throws {RequiredError}
2326
+ */
2327
+ getWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): AxiosPromise<V1WebhooksResource>;
2328
+ /**
2329
+ * List webhooks for a mailbox.
2330
+ * @summary List webhooks
2331
+ * @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]
2335
+ * @param {*} [options] Override http request option.
2336
+ * @throws {RequiredError}
2337
+ */
2338
+ listWebhooks(mailboxResourceId: string, status?: ListWebhooksStatusEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<V1WebhooksCollection>;
2339
+ /**
2340
+ * Regenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.
2341
+ * @summary Regenerate webhook secret
2342
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2343
+ * @param {string} webhook Webhook identifier (UUID v7).
2344
+ * @param {*} [options] Override http request option.
2345
+ * @throws {RequiredError}
2346
+ */
2347
+ regenerateWebhookSecret(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): AxiosPromise<V1WebhooksResourceWithSecret>;
2348
+ /**
2349
+ * Send a test delivery to the webhook URL and return the upstream response.
2350
+ * @summary Test webhook
2351
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2352
+ * @param {string} webhook Webhook identifier (UUID v7).
2353
+ * @param {*} [options] Override http request option.
2354
+ * @throws {RequiredError}
2355
+ */
2356
+ testWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): AxiosPromise<V1WebhooksTestResult>;
2357
+ /**
2358
+ * Partially update a webhook.
2359
+ * @summary Update webhook
2360
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2361
+ * @param {string} webhook Webhook identifier (UUID v7).
2362
+ * @param {V1WebhooksUpdateRequest} v1WebhooksUpdateRequest
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ updateWebhook(mailboxResourceId: string, webhook: string, v1WebhooksUpdateRequest: V1WebhooksUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1WebhooksResource>;
2367
+ };
2368
+ /**
2369
+ * WebhooksApi - object-oriented interface
2370
+ * @export
2371
+ * @class WebhooksApi
2372
+ * @extends {BaseAPI}
2373
+ */
2374
+ export declare class WebhooksApi extends BaseAPI {
2375
+ /**
2376
+ * Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.
2377
+ * @summary Create webhook
2378
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox the bearer token is authorized for.
2379
+ * @param {V1WebhooksCreateRequest} v1WebhooksCreateRequest
2380
+ * @param {*} [options] Override http request option.
2381
+ * @throws {RequiredError}
2382
+ * @memberof WebhooksApi
2383
+ */
2384
+ createWebhook(mailboxResourceId: string, v1WebhooksCreateRequest: V1WebhooksCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1WebhooksResourceWithSecret, any, {}, any>>;
2385
+ /**
2386
+ * Delete a webhook.
2387
+ * @summary Delete webhook
2388
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2389
+ * @param {string} webhook Webhook identifier (UUID v7).
2390
+ * @param {*} [options] Override http request option.
2391
+ * @throws {RequiredError}
2392
+ * @memberof WebhooksApi
2393
+ */
2394
+ deleteWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
2395
+ /**
2396
+ * Retrieve a single webhook by id.
2397
+ * @summary Get webhook
2398
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2399
+ * @param {string} webhook Webhook identifier (UUID v7).
2400
+ * @param {*} [options] Override http request option.
2401
+ * @throws {RequiredError}
2402
+ * @memberof WebhooksApi
2403
+ */
2404
+ getWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1WebhooksResource, any, {}, any>>;
2405
+ /**
2406
+ * List webhooks for a mailbox.
2407
+ * @summary List webhooks
2408
+ * @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]
2412
+ * @param {*} [options] Override http request option.
2413
+ * @throws {RequiredError}
2414
+ * @memberof WebhooksApi
2415
+ */
2416
+ listWebhooks(mailboxResourceId: string, status?: ListWebhooksStatusEnum, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1WebhooksCollection, any, {}, any>>;
2417
+ /**
2418
+ * Regenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.
2419
+ * @summary Regenerate webhook secret
2420
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2421
+ * @param {string} webhook Webhook identifier (UUID v7).
2422
+ * @param {*} [options] Override http request option.
2423
+ * @throws {RequiredError}
2424
+ * @memberof WebhooksApi
2425
+ */
2426
+ regenerateWebhookSecret(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1WebhooksResourceWithSecret, any, {}, any>>;
2427
+ /**
2428
+ * Send a test delivery to the webhook URL and return the upstream response.
2429
+ * @summary Test webhook
2430
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2431
+ * @param {string} webhook Webhook identifier (UUID v7).
2432
+ * @param {*} [options] Override http request option.
2433
+ * @throws {RequiredError}
2434
+ * @memberof WebhooksApi
2435
+ */
2436
+ testWebhook(mailboxResourceId: string, webhook: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1WebhooksTestResult, any, {}, any>>;
2437
+ /**
2438
+ * Partially update a webhook.
2439
+ * @summary Update webhook
2440
+ * @param {string} mailboxResourceId Resource ID of the managed mailbox.
2441
+ * @param {string} webhook Webhook identifier (UUID v7).
2442
+ * @param {V1WebhooksUpdateRequest} v1WebhooksUpdateRequest
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ * @memberof WebhooksApi
2446
+ */
2447
+ updateWebhook(mailboxResourceId: string, webhook: string, v1WebhooksUpdateRequest: V1WebhooksUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1WebhooksResource, any, {}, any>>;
2448
+ }
2449
+ /**
2450
+ * @export
2451
+ */
2452
+ export declare const ListWebhooksStatusEnum: {
2453
+ readonly Active: "active";
2454
+ readonly Paused: "paused";
2455
+ readonly Disabled: "disabled";
2456
+ };
2457
+ export type ListWebhooksStatusEnum = typeof ListWebhooksStatusEnum[keyof typeof ListWebhooksStatusEnum];