e2e-mail 0.0.6 → 0.0.8

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 (35) hide show
  1. package/dist/cypress.js.map +1 -1
  2. package/dist/index-DalPChOM.js.map +1 -1
  3. package/dist/playwright.js.map +1 -1
  4. package/dist/src/core/api/mailtm-api.d.ts +125 -0
  5. package/dist/src/core/api/mailtm-api.d.ts.map +1 -0
  6. package/dist/{core/api/types.d.ts → src/core/api/types/index.d.ts} +2 -2
  7. package/dist/src/core/api/types/index.d.ts.map +1 -0
  8. package/dist/src/core/api/types/mailtm-api.d.ts +1517 -0
  9. package/dist/src/core/api/types/mailtm-api.d.ts.map +1 -0
  10. package/dist/{core → src/core}/mailtm/index.d.ts +1 -1
  11. package/dist/src/core/mailtm/index.d.ts.map +1 -0
  12. package/dist/src/core/mailtm/types/index.d.ts +21 -0
  13. package/dist/src/core/mailtm/types/index.d.ts.map +1 -0
  14. package/dist/{core → src/core}/mailtm/utils.d.ts +1 -1
  15. package/dist/src/core/mailtm/utils.d.ts.map +1 -0
  16. package/dist/{cypress/types.d.ts → src/cypress/cypress.d.ts} +3 -3
  17. package/dist/src/cypress/cypress.d.ts.map +1 -0
  18. package/dist/src/index.d.ts +3 -0
  19. package/dist/src/index.d.ts.map +1 -0
  20. package/dist/{playwright/types.d.ts → src/playwright/playwright.d.ts} +6 -4
  21. package/dist/src/playwright/playwright.d.ts.map +1 -0
  22. package/package.json +3 -3
  23. package/dist/core/api/mailtm-api.d.ts +0 -1528
  24. package/dist/core/api/mailtm-api.d.ts.map +0 -1
  25. package/dist/core/api/types.d.ts.map +0 -1
  26. package/dist/core/mailtm/index.d.ts.map +0 -1
  27. package/dist/core/mailtm/utils.d.ts.map +0 -1
  28. package/dist/cypress/cypress.d.ts +0 -1
  29. package/dist/cypress/cypress.d.ts.map +0 -1
  30. package/dist/cypress/types.d.ts.map +0 -1
  31. package/dist/index.d.ts +0 -3
  32. package/dist/index.d.ts.map +0 -1
  33. package/dist/playwright/playwright.d.ts +0 -6
  34. package/dist/playwright/playwright.d.ts.map +0 -1
  35. package/dist/playwright/types.d.ts.map +0 -1
@@ -1,1528 +0,0 @@
1
- export interface paths {
2
- "/accounts": {
3
- parameters: {
4
- query?: never;
5
- header?: never;
6
- path?: never;
7
- cookie?: never;
8
- };
9
- get?: never;
10
- put?: never;
11
- /**
12
- * Creates a Account resource.
13
- * @description Creates a Account resource.
14
- */
15
- post: operations["api_accounts_post"];
16
- delete?: never;
17
- options?: never;
18
- head?: never;
19
- patch?: never;
20
- trace?: never;
21
- };
22
- "/accounts/{id}": {
23
- parameters: {
24
- query?: never;
25
- header?: never;
26
- path?: never;
27
- cookie?: never;
28
- };
29
- /**
30
- * Retrieves a Account resource.
31
- * @description Retrieves a Account resource.
32
- */
33
- get: operations["api_accounts_id_get"];
34
- put?: never;
35
- post?: never;
36
- /**
37
- * Removes the Account resource.
38
- * @description Removes the Account resource.
39
- */
40
- delete: operations["api_accounts_id_delete"];
41
- options?: never;
42
- head?: never;
43
- patch?: never;
44
- trace?: never;
45
- };
46
- "/domains": {
47
- parameters: {
48
- query?: never;
49
- header?: never;
50
- path?: never;
51
- cookie?: never;
52
- };
53
- /**
54
- * Retrieves the collection of Domain resources.
55
- * @description Retrieves the collection of Domain resources.
56
- */
57
- get: operations["api_domains_get_collection"];
58
- put?: never;
59
- post?: never;
60
- delete?: never;
61
- options?: never;
62
- head?: never;
63
- patch?: never;
64
- trace?: never;
65
- };
66
- "/domains/{id}": {
67
- parameters: {
68
- query?: never;
69
- header?: never;
70
- path?: never;
71
- cookie?: never;
72
- };
73
- /**
74
- * Retrieves a Domain resource.
75
- * @description Retrieves a Domain resource.
76
- */
77
- get: operations["api_domains_id_get"];
78
- put?: never;
79
- post?: never;
80
- delete?: never;
81
- options?: never;
82
- head?: never;
83
- patch?: never;
84
- trace?: never;
85
- };
86
- "/me": {
87
- parameters: {
88
- query?: never;
89
- header?: never;
90
- path?: never;
91
- cookie?: never;
92
- };
93
- /**
94
- * Retrieves a Account resource.
95
- * @description Retrieves a Account resource.
96
- */
97
- get: operations["api_me_get"];
98
- put?: never;
99
- post?: never;
100
- delete?: never;
101
- options?: never;
102
- head?: never;
103
- patch?: never;
104
- trace?: never;
105
- };
106
- "/messages": {
107
- parameters: {
108
- query?: never;
109
- header?: never;
110
- path?: never;
111
- cookie?: never;
112
- };
113
- /**
114
- * Retrieves the collection of Message resources.
115
- * @description Retrieves the collection of Message resources.
116
- */
117
- get: operations["api_messages_get_collection"];
118
- put?: never;
119
- post?: never;
120
- delete?: never;
121
- options?: never;
122
- head?: never;
123
- patch?: never;
124
- trace?: never;
125
- };
126
- "/messages/{id}": {
127
- parameters: {
128
- query?: never;
129
- header?: never;
130
- path?: never;
131
- cookie?: never;
132
- };
133
- /**
134
- * Retrieves a Message resource.
135
- * @description Retrieves a Message resource.
136
- */
137
- get: operations["api_messages_id_get"];
138
- put?: never;
139
- post?: never;
140
- /**
141
- * Removes the Message resource.
142
- * @description Removes the Message resource.
143
- */
144
- delete: operations["api_messages_id_delete"];
145
- options?: never;
146
- head?: never;
147
- /**
148
- * Updates the Message resource.
149
- * @description Updates the Message resource.
150
- */
151
- patch: operations["api_messages_id_patch"];
152
- trace?: never;
153
- };
154
- "/messages/{id}/attachment/{attachmentId}": {
155
- parameters: {
156
- query?: never;
157
- header?: never;
158
- path?: never;
159
- cookie?: never;
160
- };
161
- /**
162
- * Retrieves a Message resource.
163
- * @description Retrieves a Message resource.
164
- */
165
- get: operations["attachment"];
166
- put?: never;
167
- post?: never;
168
- delete?: never;
169
- options?: never;
170
- head?: never;
171
- patch?: never;
172
- trace?: never;
173
- };
174
- "/messages/{id}/download": {
175
- parameters: {
176
- query?: never;
177
- header?: never;
178
- path?: never;
179
- cookie?: never;
180
- };
181
- /**
182
- * Download a Message resource.
183
- * @description Retrieves a Message resource.
184
- */
185
- get: operations["download"];
186
- put?: never;
187
- post?: never;
188
- delete?: never;
189
- options?: never;
190
- head?: never;
191
- patch?: never;
192
- trace?: never;
193
- };
194
- "/sources/{id}": {
195
- parameters: {
196
- query?: never;
197
- header?: never;
198
- path?: never;
199
- cookie?: never;
200
- };
201
- /**
202
- * Retrieves a Source resource.
203
- * @description Retrieves a Source resource.
204
- */
205
- get: operations["api_sources_id_get"];
206
- put?: never;
207
- post?: never;
208
- delete?: never;
209
- options?: never;
210
- head?: never;
211
- patch?: never;
212
- trace?: never;
213
- };
214
- "/token": {
215
- parameters: {
216
- query?: never;
217
- header?: never;
218
- path?: never;
219
- cookie?: never;
220
- };
221
- get?: never;
222
- put?: never;
223
- /**
224
- * Creates a user token.
225
- * @description Creates a user token.
226
- */
227
- post: operations["login_check_post"];
228
- delete?: never;
229
- options?: never;
230
- head?: never;
231
- patch?: never;
232
- trace?: never;
233
- };
234
- }
235
- export type webhooks = Record<string, never>;
236
- export interface components {
237
- schemas: {
238
- "Account-account.read": {
239
- readonly id?: string;
240
- /** Format: email */
241
- address: string;
242
- quota?: number;
243
- used?: number;
244
- isDisabled?: boolean;
245
- isDeleted?: boolean;
246
- /** Format: date-time */
247
- createdAt?: string;
248
- /** Format: date-time */
249
- updatedAt?: string;
250
- };
251
- "Account-account.write": {
252
- readonly id?: string;
253
- /** Format: email */
254
- address: string;
255
- password?: string;
256
- };
257
- "Account.jsonapi": {
258
- data?: {
259
- id: string;
260
- type: string;
261
- attributes?: {
262
- readonly _id?: string;
263
- /** Format: email */
264
- address: string;
265
- password?: string;
266
- readonly quota?: number;
267
- readonly used?: number;
268
- readonly isDisabled?: boolean;
269
- readonly isDeleted?: boolean;
270
- /** Format: date-time */
271
- readonly createdAt?: string;
272
- /** Format: date-time */
273
- readonly updatedAt?: string;
274
- };
275
- };
276
- };
277
- "Account.jsonhal-account.read": {
278
- _links?: {
279
- self?: {
280
- /** Format: iri-reference */
281
- href?: string;
282
- };
283
- };
284
- readonly id?: string;
285
- /** Format: email */
286
- address: string;
287
- quota?: number;
288
- used?: number;
289
- isDisabled?: boolean;
290
- isDeleted?: boolean;
291
- /** Format: date-time */
292
- createdAt?: string;
293
- /** Format: date-time */
294
- updatedAt?: string;
295
- };
296
- "Account.jsonhal-account.write": {
297
- _links?: {
298
- self?: {
299
- /** Format: iri-reference */
300
- href?: string;
301
- };
302
- };
303
- readonly id?: string;
304
- /** Format: email */
305
- address: string;
306
- password?: string;
307
- };
308
- "Account.jsonld-account.read": {
309
- readonly "@context"?:
310
- | string
311
- | ({
312
- "@vocab": string;
313
- /** @enum {string} */
314
- hydra: "http://www.w3.org/ns/hydra/core#";
315
- } & {
316
- [key: string]: unknown;
317
- });
318
- readonly "@id"?: string;
319
- readonly "@type"?: string;
320
- readonly id?: string;
321
- /** Format: email */
322
- address: string;
323
- quota?: number;
324
- used?: number;
325
- isDisabled?: boolean;
326
- isDeleted?: boolean;
327
- /** Format: date-time */
328
- createdAt?: string;
329
- /** Format: date-time */
330
- updatedAt?: string;
331
- };
332
- "Account.jsonld-account.write": {
333
- readonly id?: string;
334
- /** Format: email */
335
- address: string;
336
- password?: string;
337
- };
338
- "Account.jsonopenapi-account.read": {
339
- readonly id?: string;
340
- /** Format: email */
341
- address: string;
342
- quota?: number;
343
- used?: number;
344
- isDisabled?: boolean;
345
- isDeleted?: boolean;
346
- /** Format: date-time */
347
- createdAt?: string;
348
- /** Format: date-time */
349
- updatedAt?: string;
350
- };
351
- "Account.jsonopenapi-account.write": {
352
- readonly id?: string;
353
- /** Format: email */
354
- address: string;
355
- password?: string;
356
- };
357
- Domain: {
358
- readonly id?: string;
359
- domain?: string;
360
- isActive?: boolean;
361
- isPrivate?: boolean;
362
- /** Format: date-time */
363
- createdAt?: string;
364
- /** Format: date-time */
365
- updatedAt?: string;
366
- };
367
- "Domain.jsonapi": {
368
- data?: {
369
- id: string;
370
- type: string;
371
- attributes?: {
372
- readonly _id?: string;
373
- domain?: string;
374
- isActive?: boolean;
375
- isPrivate?: boolean;
376
- /** Format: date-time */
377
- createdAt?: string;
378
- /** Format: date-time */
379
- updatedAt?: string;
380
- };
381
- };
382
- };
383
- "Domain.jsonhal": {
384
- _links?: {
385
- self?: {
386
- /** Format: iri-reference */
387
- href?: string;
388
- };
389
- };
390
- readonly id?: string;
391
- domain?: string;
392
- isActive?: boolean;
393
- isPrivate?: boolean;
394
- /** Format: date-time */
395
- createdAt?: string;
396
- /** Format: date-time */
397
- updatedAt?: string;
398
- };
399
- "Domain.jsonld": {
400
- readonly "@id"?: string;
401
- readonly "@type"?: string;
402
- readonly "@context"?:
403
- | string
404
- | ({
405
- "@vocab": string;
406
- /** @enum {string} */
407
- hydra: "http://www.w3.org/ns/hydra/core#";
408
- } & {
409
- [key: string]: unknown;
410
- });
411
- readonly id?: string;
412
- domain?: string;
413
- isActive?: boolean;
414
- isPrivate?: boolean;
415
- /** Format: date-time */
416
- createdAt?: string;
417
- /** Format: date-time */
418
- updatedAt?: string;
419
- };
420
- "Domain.jsonopenapi": {
421
- readonly id?: string;
422
- domain?: string;
423
- isActive?: boolean;
424
- isPrivate?: boolean;
425
- /** Format: date-time */
426
- createdAt?: string;
427
- /** Format: date-time */
428
- updatedAt?: string;
429
- };
430
- "Message-message.read": {
431
- readonly id?: string;
432
- msgid?: string;
433
- /**
434
- * @example {
435
- * "address": "from@example.com",
436
- * "name": "John Doe"
437
- * }
438
- */
439
- from?: unknown;
440
- /**
441
- * @example [
442
- * {
443
- * "address": "receiver@example.com",
444
- * "name": "John Doe"
445
- * }
446
- * ]
447
- */
448
- to?: unknown[][];
449
- /**
450
- * @example [
451
- * {
452
- * "address": "cc@example.com",
453
- * "name": "John Doe"
454
- * }
455
- * ]
456
- */
457
- cc?: unknown[][];
458
- /**
459
- * @example [
460
- * {
461
- * "address": "bcc@example.com",
462
- * "name": "John Doe"
463
- * }
464
- * ]
465
- */
466
- bcc?: unknown[][];
467
- subject?: string;
468
- intro?: string;
469
- seen?: boolean;
470
- flagged?: boolean;
471
- isDeleted?: boolean;
472
- verifications?: string[];
473
- retention?: boolean;
474
- /** Format: date-time */
475
- retentionDate?: string;
476
- text?: string;
477
- html?: string[];
478
- hasAttachments?: boolean;
479
- /**
480
- * @example [
481
- * {
482
- * "id": "ATTACH000001",
483
- * "filename": "happy.png",
484
- * "contentType": "image/png",
485
- * "disposition": "attachment",
486
- * "transferEncoding": "base64",
487
- * "related": false,
488
- * "size": 666,
489
- * "downloadUrl": "/messages/id/attachment/ATTACH000001"
490
- * }
491
- * ]
492
- */
493
- attachments?: unknown[][];
494
- size?: number;
495
- downloadUrl?: string;
496
- sourceUrl?: string | null;
497
- /** Format: date-time */
498
- createdAt?: string;
499
- /** Format: date-time */
500
- updatedAt?: string;
501
- /**
502
- * Format: iri-reference
503
- * @example https://example.com/
504
- */
505
- accountId?: string;
506
- };
507
- "Message-message.write": {
508
- seen?: boolean;
509
- };
510
- "Message-messages.read": {
511
- readonly id?: string;
512
- msgid?: string;
513
- /**
514
- * @example {
515
- * "address": "from@example.com",
516
- * "name": "John Doe"
517
- * }
518
- */
519
- from?: unknown;
520
- /**
521
- * @example [
522
- * {
523
- * "address": "receiver@example.com",
524
- * "name": "John Doe"
525
- * }
526
- * ]
527
- */
528
- to?: unknown[][];
529
- subject?: string;
530
- intro?: string;
531
- seen?: boolean;
532
- isDeleted?: boolean;
533
- hasAttachments?: boolean;
534
- size?: number;
535
- downloadUrl?: string;
536
- sourceUrl?: string | null;
537
- /** Format: date-time */
538
- createdAt?: string;
539
- /** Format: date-time */
540
- updatedAt?: string;
541
- /**
542
- * Format: iri-reference
543
- * @example https://example.com/
544
- */
545
- accountId?: string;
546
- };
547
- "Message.jsonapi": {
548
- data?: {
549
- id: string;
550
- type: string;
551
- attributes?: {
552
- readonly _id?: string;
553
- readonly msgid?: string;
554
- /**
555
- * @example {
556
- * "address": "from@example.com",
557
- * "name": "John Doe"
558
- * }
559
- */
560
- readonly from?: unknown;
561
- /**
562
- * @example [
563
- * {
564
- * "address": "receiver@example.com",
565
- * "name": "John Doe"
566
- * }
567
- * ]
568
- */
569
- readonly to?: unknown[][];
570
- /**
571
- * @example [
572
- * {
573
- * "address": "cc@example.com",
574
- * "name": "John Doe"
575
- * }
576
- * ]
577
- */
578
- readonly cc?: unknown[][];
579
- /**
580
- * @example [
581
- * {
582
- * "address": "bcc@example.com",
583
- * "name": "John Doe"
584
- * }
585
- * ]
586
- */
587
- readonly bcc?: unknown[][];
588
- readonly subject?: string;
589
- readonly intro?: string;
590
- seen?: boolean;
591
- readonly flagged?: boolean;
592
- readonly isDeleted?: boolean;
593
- readonly verifications?: string[];
594
- readonly retention?: boolean;
595
- /** Format: date-time */
596
- readonly retentionDate?: string;
597
- readonly text?: string;
598
- readonly html?: string[];
599
- readonly hasAttachments?: boolean;
600
- /**
601
- * @example [
602
- * {
603
- * "id": "ATTACH000001",
604
- * "filename": "happy.png",
605
- * "contentType": "image/png",
606
- * "disposition": "attachment",
607
- * "transferEncoding": "base64",
608
- * "related": false,
609
- * "size": 666,
610
- * "downloadUrl": "/messages/id/attachment/ATTACH000001"
611
- * }
612
- * ]
613
- */
614
- readonly attachments?: unknown[][];
615
- readonly size?: number;
616
- readonly downloadUrl?: string;
617
- readonly sourceUrl?: string | null;
618
- /** Format: date-time */
619
- readonly createdAt?: string;
620
- /** Format: date-time */
621
- readonly updatedAt?: string;
622
- };
623
- relationships?: {
624
- accountId?: {
625
- data?: {
626
- type?: string;
627
- /** Format: iri-reference */
628
- id?: string;
629
- };
630
- };
631
- };
632
- };
633
- /** @description Related resources requested via the "include" query parameter. */
634
- readonly included?: components["schemas"]["Message.jsonapi"][];
635
- };
636
- "Message.jsonhal-message.read": {
637
- _links?: {
638
- self?: {
639
- /** Format: iri-reference */
640
- href?: string;
641
- };
642
- };
643
- readonly id?: string;
644
- msgid?: string;
645
- /**
646
- * @example {
647
- * "address": "from@example.com",
648
- * "name": "John Doe"
649
- * }
650
- */
651
- from?: unknown;
652
- /**
653
- * @example [
654
- * {
655
- * "address": "receiver@example.com",
656
- * "name": "John Doe"
657
- * }
658
- * ]
659
- */
660
- to?: unknown[][];
661
- /**
662
- * @example [
663
- * {
664
- * "address": "cc@example.com",
665
- * "name": "John Doe"
666
- * }
667
- * ]
668
- */
669
- cc?: unknown[][];
670
- /**
671
- * @example [
672
- * {
673
- * "address": "bcc@example.com",
674
- * "name": "John Doe"
675
- * }
676
- * ]
677
- */
678
- bcc?: unknown[][];
679
- subject?: string;
680
- intro?: string;
681
- seen?: boolean;
682
- flagged?: boolean;
683
- isDeleted?: boolean;
684
- verifications?: string[];
685
- retention?: boolean;
686
- /** Format: date-time */
687
- retentionDate?: string;
688
- text?: string;
689
- html?: string[];
690
- hasAttachments?: boolean;
691
- /**
692
- * @example [
693
- * {
694
- * "id": "ATTACH000001",
695
- * "filename": "happy.png",
696
- * "contentType": "image/png",
697
- * "disposition": "attachment",
698
- * "transferEncoding": "base64",
699
- * "related": false,
700
- * "size": 666,
701
- * "downloadUrl": "/messages/id/attachment/ATTACH000001"
702
- * }
703
- * ]
704
- */
705
- attachments?: unknown[][];
706
- size?: number;
707
- downloadUrl?: string;
708
- sourceUrl?: string | null;
709
- /** Format: date-time */
710
- createdAt?: string;
711
- /** Format: date-time */
712
- updatedAt?: string;
713
- /**
714
- * Format: iri-reference
715
- * @example https://example.com/
716
- */
717
- accountId?: string;
718
- };
719
- "Message.jsonhal-message.write": {
720
- _links?: {
721
- self?: {
722
- /** Format: iri-reference */
723
- href?: string;
724
- };
725
- };
726
- seen?: boolean;
727
- };
728
- "Message.jsonhal-messages.read": {
729
- _links?: {
730
- self?: {
731
- /** Format: iri-reference */
732
- href?: string;
733
- };
734
- };
735
- readonly id?: string;
736
- msgid?: string;
737
- /**
738
- * @example {
739
- * "address": "from@example.com",
740
- * "name": "John Doe"
741
- * }
742
- */
743
- from?: unknown;
744
- /**
745
- * @example [
746
- * {
747
- * "address": "receiver@example.com",
748
- * "name": "John Doe"
749
- * }
750
- * ]
751
- */
752
- to?: unknown[][];
753
- subject?: string;
754
- intro?: string;
755
- seen?: boolean;
756
- isDeleted?: boolean;
757
- hasAttachments?: boolean;
758
- size?: number;
759
- downloadUrl?: string;
760
- sourceUrl?: string | null;
761
- /** Format: date-time */
762
- createdAt?: string;
763
- /** Format: date-time */
764
- updatedAt?: string;
765
- /**
766
- * Format: iri-reference
767
- * @example https://example.com/
768
- */
769
- accountId?: string;
770
- };
771
- "Message.jsonld-message.read": {
772
- readonly "@context"?:
773
- | string
774
- | ({
775
- "@vocab": string;
776
- /** @enum {string} */
777
- hydra: "http://www.w3.org/ns/hydra/core#";
778
- } & {
779
- [key: string]: unknown;
780
- });
781
- readonly "@id"?: string;
782
- readonly "@type"?: string;
783
- readonly id?: string;
784
- msgid?: string;
785
- /**
786
- * @example {
787
- * "address": "from@example.com",
788
- * "name": "John Doe"
789
- * }
790
- */
791
- from?: unknown;
792
- /**
793
- * @example [
794
- * {
795
- * "address": "receiver@example.com",
796
- * "name": "John Doe"
797
- * }
798
- * ]
799
- */
800
- to?: unknown[][];
801
- /**
802
- * @example [
803
- * {
804
- * "address": "cc@example.com",
805
- * "name": "John Doe"
806
- * }
807
- * ]
808
- */
809
- cc?: unknown[][];
810
- /**
811
- * @example [
812
- * {
813
- * "address": "bcc@example.com",
814
- * "name": "John Doe"
815
- * }
816
- * ]
817
- */
818
- bcc?: unknown[][];
819
- subject?: string;
820
- intro?: string;
821
- seen?: boolean;
822
- flagged?: boolean;
823
- isDeleted?: boolean;
824
- verifications?: string[];
825
- retention?: boolean;
826
- /** Format: date-time */
827
- retentionDate?: string;
828
- text?: string;
829
- html?: string[];
830
- hasAttachments?: boolean;
831
- /**
832
- * @example [
833
- * {
834
- * "id": "ATTACH000001",
835
- * "filename": "happy.png",
836
- * "contentType": "image/png",
837
- * "disposition": "attachment",
838
- * "transferEncoding": "base64",
839
- * "related": false,
840
- * "size": 666,
841
- * "downloadUrl": "/messages/id/attachment/ATTACH000001"
842
- * }
843
- * ]
844
- */
845
- attachments?: unknown[][];
846
- size?: number;
847
- downloadUrl?: string;
848
- sourceUrl?: string | null;
849
- /** Format: date-time */
850
- createdAt?: string;
851
- /** Format: date-time */
852
- updatedAt?: string;
853
- /**
854
- * Format: iri-reference
855
- * @example https://example.com/
856
- */
857
- accountId?: string;
858
- };
859
- "Message.jsonld-message.write": {
860
- readonly "@context"?:
861
- | string
862
- | ({
863
- "@vocab": string;
864
- /** @enum {string} */
865
- hydra: "http://www.w3.org/ns/hydra/core#";
866
- } & {
867
- [key: string]: unknown;
868
- });
869
- readonly "@id"?: string;
870
- readonly "@type"?: string;
871
- seen?: boolean;
872
- };
873
- "Message.jsonld-messages.read": {
874
- readonly "@context"?:
875
- | string
876
- | ({
877
- "@vocab": string;
878
- /** @enum {string} */
879
- hydra: "http://www.w3.org/ns/hydra/core#";
880
- } & {
881
- [key: string]: unknown;
882
- });
883
- readonly "@id"?: string;
884
- readonly "@type"?: string;
885
- readonly id?: string;
886
- msgid?: string;
887
- /**
888
- * @example {
889
- * "address": "from@example.com",
890
- * "name": "John Doe"
891
- * }
892
- */
893
- from?: unknown;
894
- /**
895
- * @example [
896
- * {
897
- * "address": "receiver@example.com",
898
- * "name": "John Doe"
899
- * }
900
- * ]
901
- */
902
- to?: unknown[][];
903
- subject?: string;
904
- intro?: string;
905
- seen?: boolean;
906
- isDeleted?: boolean;
907
- hasAttachments?: boolean;
908
- size?: number;
909
- downloadUrl?: string;
910
- sourceUrl?: string | null;
911
- /** Format: date-time */
912
- createdAt?: string;
913
- /** Format: date-time */
914
- updatedAt?: string;
915
- /**
916
- * Format: iri-reference
917
- * @example https://example.com/
918
- */
919
- accountId?: string;
920
- };
921
- "Message.jsonopenapi-message.read": {
922
- readonly id?: string;
923
- msgid?: string;
924
- /**
925
- * @example {
926
- * "address": "from@example.com",
927
- * "name": "John Doe"
928
- * }
929
- */
930
- from?: unknown;
931
- /**
932
- * @example [
933
- * {
934
- * "address": "receiver@example.com",
935
- * "name": "John Doe"
936
- * }
937
- * ]
938
- */
939
- to?: unknown[][];
940
- /**
941
- * @example [
942
- * {
943
- * "address": "cc@example.com",
944
- * "name": "John Doe"
945
- * }
946
- * ]
947
- */
948
- cc?: unknown[][];
949
- /**
950
- * @example [
951
- * {
952
- * "address": "bcc@example.com",
953
- * "name": "John Doe"
954
- * }
955
- * ]
956
- */
957
- bcc?: unknown[][];
958
- subject?: string;
959
- intro?: string;
960
- seen?: boolean;
961
- flagged?: boolean;
962
- isDeleted?: boolean;
963
- verifications?: string[];
964
- retention?: boolean;
965
- /** Format: date-time */
966
- retentionDate?: string;
967
- text?: string;
968
- html?: string[];
969
- hasAttachments?: boolean;
970
- /**
971
- * @example [
972
- * {
973
- * "id": "ATTACH000001",
974
- * "filename": "happy.png",
975
- * "contentType": "image/png",
976
- * "disposition": "attachment",
977
- * "transferEncoding": "base64",
978
- * "related": false,
979
- * "size": 666,
980
- * "downloadUrl": "/messages/id/attachment/ATTACH000001"
981
- * }
982
- * ]
983
- */
984
- attachments?: unknown[][];
985
- size?: number;
986
- downloadUrl?: string;
987
- sourceUrl?: string | null;
988
- /** Format: date-time */
989
- createdAt?: string;
990
- /** Format: date-time */
991
- updatedAt?: string;
992
- /**
993
- * Format: iri-reference
994
- * @example https://example.com/
995
- */
996
- accountId?: string;
997
- };
998
- "Message.jsonopenapi-message.write": {
999
- seen?: boolean;
1000
- };
1001
- "Message.jsonopenapi-messages.read": {
1002
- readonly id?: string;
1003
- msgid?: string;
1004
- /**
1005
- * @example {
1006
- * "address": "from@example.com",
1007
- * "name": "John Doe"
1008
- * }
1009
- */
1010
- from?: unknown;
1011
- /**
1012
- * @example [
1013
- * {
1014
- * "address": "receiver@example.com",
1015
- * "name": "John Doe"
1016
- * }
1017
- * ]
1018
- */
1019
- to?: unknown[][];
1020
- subject?: string;
1021
- intro?: string;
1022
- seen?: boolean;
1023
- isDeleted?: boolean;
1024
- hasAttachments?: boolean;
1025
- size?: number;
1026
- downloadUrl?: string;
1027
- sourceUrl?: string | null;
1028
- /** Format: date-time */
1029
- createdAt?: string;
1030
- /** Format: date-time */
1031
- updatedAt?: string;
1032
- /**
1033
- * Format: iri-reference
1034
- * @example https://example.com/
1035
- */
1036
- accountId?: string;
1037
- };
1038
- "Source-source.read": {
1039
- readonly id?: string;
1040
- downloadUrl?: string;
1041
- data?: string;
1042
- };
1043
- "Source.jsonapi": {
1044
- readonly id?: string;
1045
- downloadUrl?: string;
1046
- data?: string;
1047
- mime_tree?: string[];
1048
- isDeleted?: boolean;
1049
- readonly mimeTree?: string[] | null;
1050
- };
1051
- "Source.jsonhal-source.read": {
1052
- _links?: {
1053
- self?: {
1054
- /** Format: iri-reference */
1055
- href?: string;
1056
- };
1057
- };
1058
- readonly id?: string;
1059
- downloadUrl?: string;
1060
- data?: string;
1061
- };
1062
- "Source.jsonld-source.read": {
1063
- readonly "@context"?:
1064
- | string
1065
- | ({
1066
- "@vocab": string;
1067
- /** @enum {string} */
1068
- hydra: "http://www.w3.org/ns/hydra/core#";
1069
- } & {
1070
- [key: string]: unknown;
1071
- });
1072
- readonly "@id"?: string;
1073
- readonly "@type"?: string;
1074
- readonly id?: string;
1075
- downloadUrl?: string;
1076
- data?: string;
1077
- };
1078
- "Source.jsonopenapi-source.read": {
1079
- readonly id?: string;
1080
- downloadUrl?: string;
1081
- data?: string;
1082
- };
1083
- };
1084
- responses: never;
1085
- parameters: never;
1086
- requestBodies: never;
1087
- headers: never;
1088
- pathItems: never;
1089
- }
1090
- export type $defs = Record<string, never>;
1091
- export interface operations {
1092
- api_accounts_post: {
1093
- parameters: {
1094
- query?: never;
1095
- header?: never;
1096
- path?: never;
1097
- cookie?: never;
1098
- };
1099
- /** @description The new Account resource */
1100
- requestBody: {
1101
- content: {
1102
- "application/ld+json": components["schemas"]["Account.jsonld-account.write"];
1103
- "application/vnd.openapi+json": components["schemas"]["Account.jsonopenapi-account.write"];
1104
- "application/hal+json": components["schemas"]["Account.jsonhal-account.write"];
1105
- "application/vnd.api+json": components["schemas"]["Account.jsonapi"];
1106
- "application/json": components["schemas"]["Account-account.write"];
1107
- "application/xml": components["schemas"]["Account-account.write"];
1108
- "text/xml": components["schemas"]["Account-account.write"];
1109
- "application/x-yaml": components["schemas"]["Account-account.write"];
1110
- "text/csv": components["schemas"]["Account-account.write"];
1111
- };
1112
- };
1113
- responses: {
1114
- /** @description Account resource created */
1115
- 201: {
1116
- headers: {
1117
- [name: string]: unknown;
1118
- };
1119
- content: {
1120
- "application/json": components["schemas"]["Account-account.read"];
1121
- };
1122
- };
1123
- /** @description Invalid input */
1124
- 400: {
1125
- headers: {
1126
- [name: string]: unknown;
1127
- };
1128
- content?: never;
1129
- };
1130
- /** @description Unprocessable entity */
1131
- 422: {
1132
- headers: {
1133
- [name: string]: unknown;
1134
- };
1135
- content?: never;
1136
- };
1137
- };
1138
- };
1139
- api_accounts_id_get: {
1140
- parameters: {
1141
- query?: never;
1142
- header?: never;
1143
- path: {
1144
- /** @description Account identifier */
1145
- id: string;
1146
- };
1147
- cookie?: never;
1148
- };
1149
- requestBody?: never;
1150
- responses: {
1151
- /** @description Account resource */
1152
- 200: {
1153
- headers: {
1154
- [name: string]: unknown;
1155
- };
1156
- content: {
1157
- "application/json": components["schemas"]["Account-account.read"];
1158
- };
1159
- };
1160
- /** @description Resource not found */
1161
- 404: {
1162
- headers: {
1163
- [name: string]: unknown;
1164
- };
1165
- content?: never;
1166
- };
1167
- };
1168
- };
1169
- api_accounts_id_delete: {
1170
- parameters: {
1171
- query?: never;
1172
- header?: never;
1173
- path: {
1174
- /** @description Account identifier */
1175
- id: string;
1176
- };
1177
- cookie?: never;
1178
- };
1179
- requestBody?: never;
1180
- responses: {
1181
- /** @description Account resource deleted */
1182
- 204: {
1183
- headers: {
1184
- [name: string]: unknown;
1185
- };
1186
- content?: never;
1187
- };
1188
- /** @description Resource not found */
1189
- 404: {
1190
- headers: {
1191
- [name: string]: unknown;
1192
- };
1193
- content?: never;
1194
- };
1195
- };
1196
- };
1197
- api_domains_get_collection: {
1198
- parameters: {
1199
- query?: {
1200
- /** @description The collection page number */
1201
- page?: number;
1202
- };
1203
- header?: never;
1204
- path?: never;
1205
- cookie?: never;
1206
- };
1207
- requestBody?: never;
1208
- responses: {
1209
- /** @description Domain collection */
1210
- 200: {
1211
- headers: {
1212
- [name: string]: unknown;
1213
- };
1214
- content: {
1215
- "application/json": components["schemas"]["Domain"][];
1216
- };
1217
- };
1218
- };
1219
- };
1220
- api_domains_id_get: {
1221
- parameters: {
1222
- query?: never;
1223
- header?: never;
1224
- path: {
1225
- /** @description Domain identifier */
1226
- id: string;
1227
- };
1228
- cookie?: never;
1229
- };
1230
- requestBody?: never;
1231
- responses: {
1232
- /** @description Domain resource */
1233
- 200: {
1234
- headers: {
1235
- [name: string]: unknown;
1236
- };
1237
- content: {
1238
- "application/json": components["schemas"]["Domain"];
1239
- };
1240
- };
1241
- /** @description Resource not found */
1242
- 404: {
1243
- headers: {
1244
- [name: string]: unknown;
1245
- };
1246
- content?: never;
1247
- };
1248
- };
1249
- };
1250
- api_me_get: {
1251
- parameters: {
1252
- query?: never;
1253
- header?: never;
1254
- path?: never;
1255
- cookie?: never;
1256
- };
1257
- requestBody?: never;
1258
- responses: {
1259
- /** @description Account resource */
1260
- 200: {
1261
- headers: {
1262
- [name: string]: unknown;
1263
- };
1264
- content: {
1265
- "application/json": components["schemas"]["Account-account.read"];
1266
- };
1267
- };
1268
- /** @description Resource not found */
1269
- 404: {
1270
- headers: {
1271
- [name: string]: unknown;
1272
- };
1273
- content?: never;
1274
- };
1275
- };
1276
- };
1277
- api_messages_get_collection: {
1278
- parameters: {
1279
- query?: {
1280
- /** @description The collection page number */
1281
- page?: number;
1282
- };
1283
- header?: never;
1284
- path?: never;
1285
- cookie?: never;
1286
- };
1287
- requestBody?: never;
1288
- responses: {
1289
- /** @description Message collection */
1290
- 200: {
1291
- headers: {
1292
- [name: string]: unknown;
1293
- };
1294
- content: {
1295
- "application/json": components["schemas"]["Message-messages.read"][];
1296
- };
1297
- };
1298
- };
1299
- };
1300
- api_messages_id_get: {
1301
- parameters: {
1302
- query?: never;
1303
- header?: never;
1304
- path: {
1305
- /** @description Message identifier */
1306
- id: string;
1307
- };
1308
- cookie?: never;
1309
- };
1310
- requestBody?: never;
1311
- responses: {
1312
- /** @description Message resource */
1313
- 200: {
1314
- headers: {
1315
- [name: string]: unknown;
1316
- };
1317
- content: {
1318
- "application/json": components["schemas"]["Message-message.read"];
1319
- };
1320
- };
1321
- /** @description Resource not found */
1322
- 404: {
1323
- headers: {
1324
- [name: string]: unknown;
1325
- };
1326
- content?: never;
1327
- };
1328
- };
1329
- };
1330
- api_messages_id_delete: {
1331
- parameters: {
1332
- query?: never;
1333
- header?: never;
1334
- path: {
1335
- /** @description Message identifier */
1336
- id: string;
1337
- };
1338
- cookie?: never;
1339
- };
1340
- requestBody?: never;
1341
- responses: {
1342
- /** @description Message resource deleted */
1343
- 204: {
1344
- headers: {
1345
- [name: string]: unknown;
1346
- };
1347
- content?: never;
1348
- };
1349
- /** @description Resource not found */
1350
- 404: {
1351
- headers: {
1352
- [name: string]: unknown;
1353
- };
1354
- content?: never;
1355
- };
1356
- };
1357
- };
1358
- api_messages_id_patch: {
1359
- parameters: {
1360
- query?: never;
1361
- header?: never;
1362
- path: {
1363
- /** @description Message identifier */
1364
- id: string;
1365
- };
1366
- cookie?: never;
1367
- };
1368
- /** @description The updated Message resource */
1369
- requestBody: {
1370
- content: {
1371
- "application/merge-patch+json": components["schemas"]["Message-message.write"];
1372
- "application/vnd.api+json": components["schemas"]["Message.jsonapi"];
1373
- };
1374
- };
1375
- responses: {
1376
- /** @description Message resource updated */
1377
- 200: {
1378
- headers: {
1379
- [name: string]: unknown;
1380
- };
1381
- content: {
1382
- "application/json": components["schemas"]["Message-message.write"];
1383
- };
1384
- };
1385
- /** @description Invalid input */
1386
- 400: {
1387
- headers: {
1388
- [name: string]: unknown;
1389
- };
1390
- content?: never;
1391
- };
1392
- /** @description Resource not found */
1393
- 404: {
1394
- headers: {
1395
- [name: string]: unknown;
1396
- };
1397
- content?: never;
1398
- };
1399
- /** @description Unprocessable entity */
1400
- 422: {
1401
- headers: {
1402
- [name: string]: unknown;
1403
- };
1404
- content?: never;
1405
- };
1406
- };
1407
- };
1408
- attachment: {
1409
- parameters: {
1410
- query?: never;
1411
- header?: never;
1412
- path: {
1413
- /** @description Message identifier */
1414
- id: string;
1415
- /** @description Message identifier */
1416
- attachmentId: string;
1417
- };
1418
- cookie?: never;
1419
- };
1420
- requestBody?: never;
1421
- responses: {
1422
- /** @description Message resource */
1423
- 200: {
1424
- headers: {
1425
- [name: string]: unknown;
1426
- };
1427
- content: {
1428
- "application/json": components["schemas"]["Message-messages.read"];
1429
- };
1430
- };
1431
- /** @description Resource not found */
1432
- 404: {
1433
- headers: {
1434
- [name: string]: unknown;
1435
- };
1436
- content?: never;
1437
- };
1438
- };
1439
- };
1440
- download: {
1441
- parameters: {
1442
- query?: never;
1443
- header?: never;
1444
- path: {
1445
- /** @description Message identifier */
1446
- id: string;
1447
- };
1448
- cookie?: never;
1449
- };
1450
- requestBody?: never;
1451
- responses: {
1452
- /** @description Download the message */
1453
- 200: {
1454
- headers: {
1455
- [name: string]: unknown;
1456
- };
1457
- content?: never;
1458
- };
1459
- /** @description Message not found */
1460
- 404: {
1461
- headers: {
1462
- [name: string]: unknown;
1463
- };
1464
- content?: never;
1465
- };
1466
- };
1467
- };
1468
- api_sources_id_get: {
1469
- parameters: {
1470
- query?: never;
1471
- header?: never;
1472
- path: {
1473
- /** @description Source identifier */
1474
- id: string;
1475
- };
1476
- cookie?: never;
1477
- };
1478
- requestBody?: never;
1479
- responses: {
1480
- /** @description Source resource */
1481
- 200: {
1482
- headers: {
1483
- [name: string]: unknown;
1484
- };
1485
- content: {
1486
- "application/json": components["schemas"]["Source-source.read"];
1487
- };
1488
- };
1489
- /** @description Resource not found */
1490
- 404: {
1491
- headers: {
1492
- [name: string]: unknown;
1493
- };
1494
- content?: never;
1495
- };
1496
- };
1497
- };
1498
- login_check_post: {
1499
- parameters: {
1500
- query?: never;
1501
- header?: never;
1502
- path?: never;
1503
- cookie?: never;
1504
- };
1505
- /** @description The login data */
1506
- requestBody: {
1507
- content: {
1508
- "application/json": {
1509
- address: string;
1510
- password: string;
1511
- };
1512
- };
1513
- };
1514
- responses: {
1515
- /** @description User token created */
1516
- 200: {
1517
- headers: {
1518
- [name: string]: unknown;
1519
- };
1520
- content: {
1521
- "application/json": {
1522
- readonly token: string;
1523
- };
1524
- };
1525
- };
1526
- };
1527
- };
1528
- }