mailmeteor 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -500,6 +500,210 @@ type ContactListIdResponse200 = {
500
500
  type ContactListIdBody = {
501
501
  remove_contacts?: boolean;
502
502
  };
503
+ type ContactsBody = {
504
+ owner: string;
505
+ contact_list?: string;
506
+ };
507
+ type ContactsResponse201 = {
508
+ owner: string;
509
+ email: string;
510
+ domain: string;
511
+ created_at: number;
512
+ updated_at?: number;
513
+ deleted?: boolean;
514
+ deleted_at?: number;
515
+ blocked?: boolean;
516
+ blocked_at?: number;
517
+ unsubscribed?: boolean;
518
+ unsubscribed_at?: number;
519
+ contact_lists?: Array<string>;
520
+ properties?: {
521
+ [key: string]: string;
522
+ };
523
+ notes?: string;
524
+ metadata?: {
525
+ [key: string]: string;
526
+ };
527
+ id: string;
528
+ object: 'contact';
529
+ };
530
+ type BatchBody = {
531
+ contacts: Array<{
532
+ owner: string;
533
+ email: string;
534
+ blocked?: boolean;
535
+ unsubscribed?: boolean;
536
+ contact_lists?: Array<string>;
537
+ properties?: {
538
+ [key: string]: string;
539
+ };
540
+ notes?: string;
541
+ metadata?: {
542
+ [key: string]: string;
543
+ };
544
+ }>;
545
+ };
546
+ type BatchResponse201 = {
547
+ ok: true;
548
+ status: 'done';
549
+ message: string;
550
+ };
551
+ type BatchResponse202 = {
552
+ ok: true;
553
+ status: 'running';
554
+ message: string;
555
+ };
556
+ type BatchLegacyBody = unknown;
557
+ type BatchLegacyResponse201 = unknown;
558
+ type ContactIdParams = {
559
+ contact_id: string;
560
+ };
561
+ type ContactIdResponse200 = {
562
+ owner: string;
563
+ email: string;
564
+ domain: string;
565
+ created_at: number;
566
+ updated_at?: number;
567
+ deleted?: boolean;
568
+ deleted_at?: number;
569
+ blocked?: boolean;
570
+ blocked_at?: number;
571
+ unsubscribed?: boolean;
572
+ unsubscribed_at?: number;
573
+ contact_lists?: Array<string>;
574
+ properties?: {
575
+ [key: string]: string;
576
+ };
577
+ notes?: string;
578
+ metadata?: {
579
+ [key: string]: string;
580
+ };
581
+ id: string;
582
+ object: 'contact';
583
+ };
584
+ type ContactIdBody = {
585
+ blocked?: boolean;
586
+ unsubscribed?: boolean;
587
+ contact_lists?: Array<string>;
588
+ properties?: {
589
+ [key: string]: string;
590
+ };
591
+ notes?: string;
592
+ metadata?: {
593
+ [key: string]: string;
594
+ };
595
+ };
596
+ type BlockParams = {
597
+ contact_id: string;
598
+ };
599
+ type BlockResponse200 = {
600
+ owner: string;
601
+ email: string;
602
+ domain: string;
603
+ created_at: number;
604
+ updated_at?: number;
605
+ deleted?: boolean;
606
+ deleted_at?: number;
607
+ blocked?: boolean;
608
+ blocked_at?: number;
609
+ unsubscribed?: boolean;
610
+ unsubscribed_at?: number;
611
+ contact_lists?: Array<string>;
612
+ properties?: {
613
+ [key: string]: string;
614
+ };
615
+ notes?: string;
616
+ metadata?: {
617
+ [key: string]: string;
618
+ };
619
+ id: string;
620
+ object: 'contact';
621
+ };
622
+ type UnblockParams = {
623
+ contact_id: string;
624
+ };
625
+ type UnblockResponse200 = {
626
+ owner: string;
627
+ email: string;
628
+ domain: string;
629
+ created_at: number;
630
+ updated_at?: number;
631
+ deleted?: boolean;
632
+ deleted_at?: number;
633
+ blocked?: boolean;
634
+ blocked_at?: number;
635
+ unsubscribed?: boolean;
636
+ unsubscribed_at?: number;
637
+ contact_lists?: Array<string>;
638
+ properties?: {
639
+ [key: string]: string;
640
+ };
641
+ notes?: string;
642
+ metadata?: {
643
+ [key: string]: string;
644
+ };
645
+ id: string;
646
+ object: 'contact';
647
+ };
648
+ type ResubscribeParams = {
649
+ contact_id: string;
650
+ };
651
+ type ResubscribeResponse200 = {
652
+ owner: string;
653
+ email: string;
654
+ domain: string;
655
+ created_at: number;
656
+ updated_at?: number;
657
+ deleted?: boolean;
658
+ deleted_at?: number;
659
+ blocked?: boolean;
660
+ blocked_at?: number;
661
+ unsubscribed?: boolean;
662
+ unsubscribed_at?: number;
663
+ contact_lists?: Array<string>;
664
+ properties?: {
665
+ [key: string]: string;
666
+ };
667
+ notes?: string;
668
+ metadata?: {
669
+ [key: string]: string;
670
+ };
671
+ id: string;
672
+ object: 'contact';
673
+ };
674
+ type ContactsQuery = {
675
+ owner: string;
676
+ limit?: number;
677
+ email?: string;
678
+ unsubscribed?: boolean | null;
679
+ contact_list?: string;
680
+ };
681
+ type ContactsResponse200 = {
682
+ object: 'list';
683
+ data: Array<{
684
+ owner: string;
685
+ email: string;
686
+ domain: string;
687
+ created_at: number;
688
+ updated_at?: number;
689
+ deleted?: boolean;
690
+ deleted_at?: number;
691
+ blocked?: boolean;
692
+ blocked_at?: number;
693
+ unsubscribed?: boolean;
694
+ unsubscribed_at?: number;
695
+ contact_lists?: Array<string>;
696
+ properties?: {
697
+ [key: string]: string;
698
+ };
699
+ notes?: string;
700
+ metadata?: {
701
+ [key: string]: string;
702
+ };
703
+ id: string;
704
+ object: 'contact';
705
+ }>;
706
+ };
503
707
  type AddonsResponse200 = {
504
708
  senders?: {
505
709
  included_per_seat: number;
@@ -1152,6 +1356,476 @@ type ContactListsUpdateResponses = {
1152
1356
  };
1153
1357
  };
1154
1358
  type ContactListsUpdateResponse = ContactListsUpdateResponses[keyof ContactListsUpdateResponses];
1359
+ type ContactsDelAllData = {
1360
+ body?: {
1361
+ owner: string;
1362
+ contact_list?: string;
1363
+ };
1364
+ path?: never;
1365
+ query?: never;
1366
+ url: '/contacts';
1367
+ };
1368
+ type ContactsDelAllErrors = {
1369
+ /**
1370
+ * Error response
1371
+ */
1372
+ default: ErrorResponse;
1373
+ };
1374
+ type ContactsDelAllError = ContactsDelAllErrors[keyof ContactsDelAllErrors];
1375
+ type ContactsDelAllResponses = {
1376
+ /**
1377
+ * Response
1378
+ */
1379
+ 204: void;
1380
+ };
1381
+ type ContactsDelAllResponse = ContactsDelAllResponses[keyof ContactsDelAllResponses];
1382
+ type ContactsListData = {
1383
+ body?: never;
1384
+ path?: never;
1385
+ query: {
1386
+ owner: string;
1387
+ limit?: number;
1388
+ email?: string;
1389
+ unsubscribed?: boolean | null;
1390
+ contact_list?: string;
1391
+ };
1392
+ url: '/contacts';
1393
+ };
1394
+ type ContactsListErrors = {
1395
+ /**
1396
+ * Error response
1397
+ */
1398
+ default: ErrorResponse;
1399
+ };
1400
+ type ContactsListError = ContactsListErrors[keyof ContactsListErrors];
1401
+ type ContactsListResponses = {
1402
+ /**
1403
+ * Response
1404
+ */
1405
+ 200: {
1406
+ object: 'list';
1407
+ data: Array<{
1408
+ owner: string;
1409
+ email: string;
1410
+ domain: string;
1411
+ created_at: number;
1412
+ updated_at?: number;
1413
+ deleted?: boolean;
1414
+ deleted_at?: number;
1415
+ blocked?: boolean;
1416
+ blocked_at?: number;
1417
+ unsubscribed?: boolean;
1418
+ unsubscribed_at?: number;
1419
+ contact_lists?: Array<string>;
1420
+ properties?: {
1421
+ [key: string]: string;
1422
+ };
1423
+ notes?: string;
1424
+ metadata?: {
1425
+ [key: string]: string;
1426
+ };
1427
+ id: string;
1428
+ object: 'contact';
1429
+ }>;
1430
+ };
1431
+ };
1432
+ type ContactsListResponse = ContactsListResponses[keyof ContactsListResponses];
1433
+ type ContactsCreateData = {
1434
+ body?: {
1435
+ owner: string;
1436
+ email: string;
1437
+ blocked?: boolean;
1438
+ unsubscribed?: boolean;
1439
+ contact_lists?: Array<string>;
1440
+ properties?: {
1441
+ [key: string]: string;
1442
+ };
1443
+ notes?: string;
1444
+ metadata?: {
1445
+ [key: string]: string;
1446
+ };
1447
+ };
1448
+ path?: never;
1449
+ query?: never;
1450
+ url: '/contacts';
1451
+ };
1452
+ type ContactsCreateErrors = {
1453
+ /**
1454
+ * Error response
1455
+ */
1456
+ default: ErrorResponse;
1457
+ };
1458
+ type ContactsCreateError = ContactsCreateErrors[keyof ContactsCreateErrors];
1459
+ type ContactsCreateResponses = {
1460
+ /**
1461
+ * Response
1462
+ */
1463
+ 201: {
1464
+ owner: string;
1465
+ email: string;
1466
+ domain: string;
1467
+ created_at: number;
1468
+ updated_at?: number;
1469
+ deleted?: boolean;
1470
+ deleted_at?: number;
1471
+ blocked?: boolean;
1472
+ blocked_at?: number;
1473
+ unsubscribed?: boolean;
1474
+ unsubscribed_at?: number;
1475
+ contact_lists?: Array<string>;
1476
+ properties?: {
1477
+ [key: string]: string;
1478
+ };
1479
+ notes?: string;
1480
+ metadata?: {
1481
+ [key: string]: string;
1482
+ };
1483
+ id: string;
1484
+ object: 'contact';
1485
+ };
1486
+ };
1487
+ type ContactsCreateResponse = ContactsCreateResponses[keyof ContactsCreateResponses];
1488
+ type ContactsBatchCreateData = {
1489
+ body?: {
1490
+ contacts: Array<{
1491
+ owner: string;
1492
+ email: string;
1493
+ blocked?: boolean;
1494
+ unsubscribed?: boolean;
1495
+ contact_lists?: Array<string>;
1496
+ properties?: {
1497
+ [key: string]: string;
1498
+ };
1499
+ notes?: string;
1500
+ metadata?: {
1501
+ [key: string]: string;
1502
+ };
1503
+ }>;
1504
+ };
1505
+ path?: never;
1506
+ query?: never;
1507
+ url: '/contacts/batch';
1508
+ };
1509
+ type ContactsBatchCreateErrors = {
1510
+ /**
1511
+ * Error response
1512
+ */
1513
+ default: ErrorResponse;
1514
+ };
1515
+ type ContactsBatchCreateError = ContactsBatchCreateErrors[keyof ContactsBatchCreateErrors];
1516
+ type ContactsBatchCreateResponses = {
1517
+ /**
1518
+ * Response
1519
+ */
1520
+ 201: {
1521
+ ok: true;
1522
+ status: 'done';
1523
+ message: string;
1524
+ };
1525
+ /**
1526
+ * Response
1527
+ */
1528
+ 202: {
1529
+ ok: true;
1530
+ status: 'running';
1531
+ message: string;
1532
+ };
1533
+ };
1534
+ type ContactsBatchCreateResponse = ContactsBatchCreateResponses[keyof ContactsBatchCreateResponses];
1535
+ type ContactsBatchCreate2Data = {
1536
+ body?: unknown;
1537
+ path?: never;
1538
+ query?: never;
1539
+ url: '/contacts/batch_legacy';
1540
+ };
1541
+ type ContactsBatchCreate2Errors = {
1542
+ /**
1543
+ * Error response
1544
+ */
1545
+ default: ErrorResponse;
1546
+ };
1547
+ type ContactsBatchCreate2Error = ContactsBatchCreate2Errors[keyof ContactsBatchCreate2Errors];
1548
+ type ContactsBatchCreate2Responses = {
1549
+ /**
1550
+ * Response
1551
+ */
1552
+ 201: unknown;
1553
+ };
1554
+ type ContactsDelData = {
1555
+ body?: never;
1556
+ path: {
1557
+ contact_id: string;
1558
+ };
1559
+ query?: never;
1560
+ url: '/contacts/{contact_id}';
1561
+ };
1562
+ type ContactsDelErrors = {
1563
+ /**
1564
+ * Error response
1565
+ */
1566
+ default: ErrorResponse;
1567
+ };
1568
+ type ContactsDelError = ContactsDelErrors[keyof ContactsDelErrors];
1569
+ type ContactsDelResponses = {
1570
+ /**
1571
+ * Response
1572
+ */
1573
+ 200: {
1574
+ owner: string;
1575
+ email: string;
1576
+ domain: string;
1577
+ created_at: number;
1578
+ updated_at?: number;
1579
+ deleted?: boolean;
1580
+ deleted_at?: number;
1581
+ blocked?: boolean;
1582
+ blocked_at?: number;
1583
+ unsubscribed?: boolean;
1584
+ unsubscribed_at?: number;
1585
+ contact_lists?: Array<string>;
1586
+ properties?: {
1587
+ [key: string]: string;
1588
+ };
1589
+ notes?: string;
1590
+ metadata?: {
1591
+ [key: string]: string;
1592
+ };
1593
+ id: string;
1594
+ object: 'contact';
1595
+ };
1596
+ };
1597
+ type ContactsDelResponse = ContactsDelResponses[keyof ContactsDelResponses];
1598
+ type ContactsRetrieveData = {
1599
+ body?: never;
1600
+ path: {
1601
+ contact_id: string;
1602
+ };
1603
+ query?: never;
1604
+ url: '/contacts/{contact_id}';
1605
+ };
1606
+ type ContactsRetrieveErrors = {
1607
+ /**
1608
+ * Error response
1609
+ */
1610
+ default: ErrorResponse;
1611
+ };
1612
+ type ContactsRetrieveError = ContactsRetrieveErrors[keyof ContactsRetrieveErrors];
1613
+ type ContactsRetrieveResponses = {
1614
+ /**
1615
+ * Response
1616
+ */
1617
+ 200: {
1618
+ owner: string;
1619
+ email: string;
1620
+ domain: string;
1621
+ created_at: number;
1622
+ updated_at?: number;
1623
+ deleted?: boolean;
1624
+ deleted_at?: number;
1625
+ blocked?: boolean;
1626
+ blocked_at?: number;
1627
+ unsubscribed?: boolean;
1628
+ unsubscribed_at?: number;
1629
+ contact_lists?: Array<string>;
1630
+ properties?: {
1631
+ [key: string]: string;
1632
+ };
1633
+ notes?: string;
1634
+ metadata?: {
1635
+ [key: string]: string;
1636
+ };
1637
+ id: string;
1638
+ object: 'contact';
1639
+ };
1640
+ };
1641
+ type ContactsRetrieveResponse = ContactsRetrieveResponses[keyof ContactsRetrieveResponses];
1642
+ type ContactsUpdateData = {
1643
+ body?: {
1644
+ blocked?: boolean;
1645
+ unsubscribed?: boolean;
1646
+ contact_lists?: Array<string>;
1647
+ properties?: {
1648
+ [key: string]: string;
1649
+ };
1650
+ notes?: string;
1651
+ metadata?: {
1652
+ [key: string]: string;
1653
+ };
1654
+ };
1655
+ path: {
1656
+ contact_id: string;
1657
+ };
1658
+ query?: never;
1659
+ url: '/contacts/{contact_id}';
1660
+ };
1661
+ type ContactsUpdateErrors = {
1662
+ /**
1663
+ * Error response
1664
+ */
1665
+ default: ErrorResponse;
1666
+ };
1667
+ type ContactsUpdateError = ContactsUpdateErrors[keyof ContactsUpdateErrors];
1668
+ type ContactsUpdateResponses = {
1669
+ /**
1670
+ * Response
1671
+ */
1672
+ 200: {
1673
+ owner: string;
1674
+ email: string;
1675
+ domain: string;
1676
+ created_at: number;
1677
+ updated_at?: number;
1678
+ deleted?: boolean;
1679
+ deleted_at?: number;
1680
+ blocked?: boolean;
1681
+ blocked_at?: number;
1682
+ unsubscribed?: boolean;
1683
+ unsubscribed_at?: number;
1684
+ contact_lists?: Array<string>;
1685
+ properties?: {
1686
+ [key: string]: string;
1687
+ };
1688
+ notes?: string;
1689
+ metadata?: {
1690
+ [key: string]: string;
1691
+ };
1692
+ id: string;
1693
+ object: 'contact';
1694
+ };
1695
+ };
1696
+ type ContactsUpdateResponse = ContactsUpdateResponses[keyof ContactsUpdateResponses];
1697
+ type ContactsBlockData = {
1698
+ body?: never;
1699
+ path: {
1700
+ contact_id: string;
1701
+ };
1702
+ query?: never;
1703
+ url: '/contacts/{contact_id}/block';
1704
+ };
1705
+ type ContactsBlockErrors = {
1706
+ /**
1707
+ * Error response
1708
+ */
1709
+ default: ErrorResponse;
1710
+ };
1711
+ type ContactsBlockError = ContactsBlockErrors[keyof ContactsBlockErrors];
1712
+ type ContactsBlockResponses = {
1713
+ /**
1714
+ * Response
1715
+ */
1716
+ 200: {
1717
+ owner: string;
1718
+ email: string;
1719
+ domain: string;
1720
+ created_at: number;
1721
+ updated_at?: number;
1722
+ deleted?: boolean;
1723
+ deleted_at?: number;
1724
+ blocked?: boolean;
1725
+ blocked_at?: number;
1726
+ unsubscribed?: boolean;
1727
+ unsubscribed_at?: number;
1728
+ contact_lists?: Array<string>;
1729
+ properties?: {
1730
+ [key: string]: string;
1731
+ };
1732
+ notes?: string;
1733
+ metadata?: {
1734
+ [key: string]: string;
1735
+ };
1736
+ id: string;
1737
+ object: 'contact';
1738
+ };
1739
+ };
1740
+ type ContactsBlockResponse = ContactsBlockResponses[keyof ContactsBlockResponses];
1741
+ type ContactsUnblockData = {
1742
+ body?: never;
1743
+ path: {
1744
+ contact_id: string;
1745
+ };
1746
+ query?: never;
1747
+ url: '/contacts/{contact_id}/unblock';
1748
+ };
1749
+ type ContactsUnblockErrors = {
1750
+ /**
1751
+ * Error response
1752
+ */
1753
+ default: ErrorResponse;
1754
+ };
1755
+ type ContactsUnblockError = ContactsUnblockErrors[keyof ContactsUnblockErrors];
1756
+ type ContactsUnblockResponses = {
1757
+ /**
1758
+ * Response
1759
+ */
1760
+ 200: {
1761
+ owner: string;
1762
+ email: string;
1763
+ domain: string;
1764
+ created_at: number;
1765
+ updated_at?: number;
1766
+ deleted?: boolean;
1767
+ deleted_at?: number;
1768
+ blocked?: boolean;
1769
+ blocked_at?: number;
1770
+ unsubscribed?: boolean;
1771
+ unsubscribed_at?: number;
1772
+ contact_lists?: Array<string>;
1773
+ properties?: {
1774
+ [key: string]: string;
1775
+ };
1776
+ notes?: string;
1777
+ metadata?: {
1778
+ [key: string]: string;
1779
+ };
1780
+ id: string;
1781
+ object: 'contact';
1782
+ };
1783
+ };
1784
+ type ContactsUnblockResponse = ContactsUnblockResponses[keyof ContactsUnblockResponses];
1785
+ type ContactsResubscribeData = {
1786
+ body?: never;
1787
+ path: {
1788
+ contact_id: string;
1789
+ };
1790
+ query?: never;
1791
+ url: '/contacts/{contact_id}/resubscribe';
1792
+ };
1793
+ type ContactsResubscribeErrors = {
1794
+ /**
1795
+ * Error response
1796
+ */
1797
+ default: ErrorResponse;
1798
+ };
1799
+ type ContactsResubscribeError = ContactsResubscribeErrors[keyof ContactsResubscribeErrors];
1800
+ type ContactsResubscribeResponses = {
1801
+ /**
1802
+ * Response
1803
+ */
1804
+ 200: {
1805
+ owner: string;
1806
+ email: string;
1807
+ domain: string;
1808
+ created_at: number;
1809
+ updated_at?: number;
1810
+ deleted?: boolean;
1811
+ deleted_at?: number;
1812
+ blocked?: boolean;
1813
+ blocked_at?: number;
1814
+ unsubscribed?: boolean;
1815
+ unsubscribed_at?: number;
1816
+ contact_lists?: Array<string>;
1817
+ properties?: {
1818
+ [key: string]: string;
1819
+ };
1820
+ notes?: string;
1821
+ metadata?: {
1822
+ [key: string]: string;
1823
+ };
1824
+ id: string;
1825
+ object: 'contact';
1826
+ };
1827
+ };
1828
+ type ContactsResubscribeResponse = ContactsResubscribeResponses[keyof ContactsResubscribeResponses];
1155
1829
  type BillingAddonsGetAddonsData = {
1156
1830
  body?: never;
1157
1831
  path?: never;
@@ -1468,6 +2142,11 @@ type types_gen_d_AddonBody = AddonBody;
1468
2142
  type types_gen_d_AddonParams = AddonParams;
1469
2143
  type types_gen_d_AddonResponse200 = AddonResponse200;
1470
2144
  type types_gen_d_AddonsResponse200 = AddonsResponse200;
2145
+ type types_gen_d_BatchBody = BatchBody;
2146
+ type types_gen_d_BatchLegacyBody = BatchLegacyBody;
2147
+ type types_gen_d_BatchLegacyResponse201 = BatchLegacyResponse201;
2148
+ type types_gen_d_BatchResponse201 = BatchResponse201;
2149
+ type types_gen_d_BatchResponse202 = BatchResponse202;
1471
2150
  type types_gen_d_BillingAddonsGetAddonUsagesData = BillingAddonsGetAddonUsagesData;
1472
2151
  type types_gen_d_BillingAddonsGetAddonUsagesError = BillingAddonsGetAddonUsagesError;
1473
2152
  type types_gen_d_BillingAddonsGetAddonUsagesErrors = BillingAddonsGetAddonUsagesErrors;
@@ -1508,7 +2187,12 @@ type types_gen_d_BillingSubscriptionUpdateError = BillingSubscriptionUpdateError
1508
2187
  type types_gen_d_BillingSubscriptionUpdateErrors = BillingSubscriptionUpdateErrors;
1509
2188
  type types_gen_d_BillingSubscriptionUpdateResponse = BillingSubscriptionUpdateResponse;
1510
2189
  type types_gen_d_BillingSubscriptionUpdateResponses = BillingSubscriptionUpdateResponses;
2190
+ type types_gen_d_BlockParams = BlockParams;
2191
+ type types_gen_d_BlockResponse200 = BlockResponse200;
1511
2192
  type types_gen_d_ClientOptions = ClientOptions;
2193
+ type types_gen_d_ContactIdBody = ContactIdBody;
2194
+ type types_gen_d_ContactIdParams = ContactIdParams;
2195
+ type types_gen_d_ContactIdResponse200 = ContactIdResponse200;
1512
2196
  type types_gen_d_ContactListIdBody = ContactListIdBody;
1513
2197
  type types_gen_d_ContactListIdParams = ContactListIdParams;
1514
2198
  type types_gen_d_ContactListIdResponse200 = ContactListIdResponse200;
@@ -1534,6 +2218,64 @@ type types_gen_d_ContactListsUpdateError = ContactListsUpdateError;
1534
2218
  type types_gen_d_ContactListsUpdateErrors = ContactListsUpdateErrors;
1535
2219
  type types_gen_d_ContactListsUpdateResponse = ContactListsUpdateResponse;
1536
2220
  type types_gen_d_ContactListsUpdateResponses = ContactListsUpdateResponses;
2221
+ type types_gen_d_ContactsBatchCreate2Data = ContactsBatchCreate2Data;
2222
+ type types_gen_d_ContactsBatchCreate2Error = ContactsBatchCreate2Error;
2223
+ type types_gen_d_ContactsBatchCreate2Errors = ContactsBatchCreate2Errors;
2224
+ type types_gen_d_ContactsBatchCreate2Responses = ContactsBatchCreate2Responses;
2225
+ type types_gen_d_ContactsBatchCreateData = ContactsBatchCreateData;
2226
+ type types_gen_d_ContactsBatchCreateError = ContactsBatchCreateError;
2227
+ type types_gen_d_ContactsBatchCreateErrors = ContactsBatchCreateErrors;
2228
+ type types_gen_d_ContactsBatchCreateResponse = ContactsBatchCreateResponse;
2229
+ type types_gen_d_ContactsBatchCreateResponses = ContactsBatchCreateResponses;
2230
+ type types_gen_d_ContactsBlockData = ContactsBlockData;
2231
+ type types_gen_d_ContactsBlockError = ContactsBlockError;
2232
+ type types_gen_d_ContactsBlockErrors = ContactsBlockErrors;
2233
+ type types_gen_d_ContactsBlockResponse = ContactsBlockResponse;
2234
+ type types_gen_d_ContactsBlockResponses = ContactsBlockResponses;
2235
+ type types_gen_d_ContactsBody = ContactsBody;
2236
+ type types_gen_d_ContactsCreateData = ContactsCreateData;
2237
+ type types_gen_d_ContactsCreateError = ContactsCreateError;
2238
+ type types_gen_d_ContactsCreateErrors = ContactsCreateErrors;
2239
+ type types_gen_d_ContactsCreateResponse = ContactsCreateResponse;
2240
+ type types_gen_d_ContactsCreateResponses = ContactsCreateResponses;
2241
+ type types_gen_d_ContactsDelAllData = ContactsDelAllData;
2242
+ type types_gen_d_ContactsDelAllError = ContactsDelAllError;
2243
+ type types_gen_d_ContactsDelAllErrors = ContactsDelAllErrors;
2244
+ type types_gen_d_ContactsDelAllResponse = ContactsDelAllResponse;
2245
+ type types_gen_d_ContactsDelAllResponses = ContactsDelAllResponses;
2246
+ type types_gen_d_ContactsDelData = ContactsDelData;
2247
+ type types_gen_d_ContactsDelError = ContactsDelError;
2248
+ type types_gen_d_ContactsDelErrors = ContactsDelErrors;
2249
+ type types_gen_d_ContactsDelResponse = ContactsDelResponse;
2250
+ type types_gen_d_ContactsDelResponses = ContactsDelResponses;
2251
+ type types_gen_d_ContactsListData = ContactsListData;
2252
+ type types_gen_d_ContactsListError = ContactsListError;
2253
+ type types_gen_d_ContactsListErrors = ContactsListErrors;
2254
+ type types_gen_d_ContactsListResponse = ContactsListResponse;
2255
+ type types_gen_d_ContactsListResponses = ContactsListResponses;
2256
+ type types_gen_d_ContactsQuery = ContactsQuery;
2257
+ type types_gen_d_ContactsResponse200 = ContactsResponse200;
2258
+ type types_gen_d_ContactsResponse201 = ContactsResponse201;
2259
+ type types_gen_d_ContactsResubscribeData = ContactsResubscribeData;
2260
+ type types_gen_d_ContactsResubscribeError = ContactsResubscribeError;
2261
+ type types_gen_d_ContactsResubscribeErrors = ContactsResubscribeErrors;
2262
+ type types_gen_d_ContactsResubscribeResponse = ContactsResubscribeResponse;
2263
+ type types_gen_d_ContactsResubscribeResponses = ContactsResubscribeResponses;
2264
+ type types_gen_d_ContactsRetrieveData = ContactsRetrieveData;
2265
+ type types_gen_d_ContactsRetrieveError = ContactsRetrieveError;
2266
+ type types_gen_d_ContactsRetrieveErrors = ContactsRetrieveErrors;
2267
+ type types_gen_d_ContactsRetrieveResponse = ContactsRetrieveResponse;
2268
+ type types_gen_d_ContactsRetrieveResponses = ContactsRetrieveResponses;
2269
+ type types_gen_d_ContactsUnblockData = ContactsUnblockData;
2270
+ type types_gen_d_ContactsUnblockError = ContactsUnblockError;
2271
+ type types_gen_d_ContactsUnblockErrors = ContactsUnblockErrors;
2272
+ type types_gen_d_ContactsUnblockResponse = ContactsUnblockResponse;
2273
+ type types_gen_d_ContactsUnblockResponses = ContactsUnblockResponses;
2274
+ type types_gen_d_ContactsUpdateData = ContactsUpdateData;
2275
+ type types_gen_d_ContactsUpdateError = ContactsUpdateError;
2276
+ type types_gen_d_ContactsUpdateErrors = ContactsUpdateErrors;
2277
+ type types_gen_d_ContactsUpdateResponse = ContactsUpdateResponse;
2278
+ type types_gen_d_ContactsUpdateResponses = ContactsUpdateResponses;
1537
2279
  type types_gen_d_CurrentOrganizationBody = CurrentOrganizationBody;
1538
2280
  type types_gen_d_CurrentOrganizationParams = CurrentOrganizationParams;
1539
2281
  type types_gen_d_CurrentOrganizationResponse200 = CurrentOrganizationResponse200;
@@ -1607,8 +2349,12 @@ type types_gen_d_PreviewParams = PreviewParams;
1607
2349
  type types_gen_d_PreviewResponse200 = PreviewResponse200;
1608
2350
  type types_gen_d_PricesQuery = PricesQuery;
1609
2351
  type types_gen_d_PricesResponse200 = PricesResponse200;
2352
+ type types_gen_d_ResubscribeParams = ResubscribeParams;
2353
+ type types_gen_d_ResubscribeResponse200 = ResubscribeResponse200;
1610
2354
  type types_gen_d_SubscriptionBody = SubscriptionBody;
1611
2355
  type types_gen_d_SubscriptionResponse200 = SubscriptionResponse200;
2356
+ type types_gen_d_UnblockParams = UnblockParams;
2357
+ type types_gen_d_UnblockResponse200 = UnblockResponse200;
1612
2358
  type types_gen_d_UsersDeleteActionData = UsersDeleteActionData;
1613
2359
  type types_gen_d_UsersDeleteActionError = UsersDeleteActionError;
1614
2360
  type types_gen_d_UsersDeleteActionErrors = UsersDeleteActionErrors;
@@ -1632,7 +2378,7 @@ type types_gen_d_UsersWatchMailboxResponses = UsersWatchMailboxResponses;
1632
2378
  type types_gen_d_WatchMailboxBody = WatchMailboxBody;
1633
2379
  type types_gen_d_WatchMailboxParams = WatchMailboxParams;
1634
2380
  declare namespace types_gen_d {
1635
- export type { types_gen_d_ActionIdParams as ActionIdParams, types_gen_d_AddonBody as AddonBody, types_gen_d_AddonParams as AddonParams, types_gen_d_AddonResponse200 as AddonResponse200, types_gen_d_AddonsResponse200 as AddonsResponse200, types_gen_d_BillingAddonsGetAddonUsagesData as BillingAddonsGetAddonUsagesData, types_gen_d_BillingAddonsGetAddonUsagesError as BillingAddonsGetAddonUsagesError, types_gen_d_BillingAddonsGetAddonUsagesErrors as BillingAddonsGetAddonUsagesErrors, types_gen_d_BillingAddonsGetAddonUsagesResponse as BillingAddonsGetAddonUsagesResponse, types_gen_d_BillingAddonsGetAddonUsagesResponses as BillingAddonsGetAddonUsagesResponses, types_gen_d_BillingAddonsGetAddonsData as BillingAddonsGetAddonsData, types_gen_d_BillingAddonsGetAddonsError as BillingAddonsGetAddonsError, types_gen_d_BillingAddonsGetAddonsErrors as BillingAddonsGetAddonsErrors, types_gen_d_BillingAddonsGetAddonsResponse as BillingAddonsGetAddonsResponse, types_gen_d_BillingAddonsGetAddonsResponses as BillingAddonsGetAddonsResponses, types_gen_d_BillingAddonsPreviewUpdateData as BillingAddonsPreviewUpdateData, types_gen_d_BillingAddonsPreviewUpdateError as BillingAddonsPreviewUpdateError, types_gen_d_BillingAddonsPreviewUpdateErrors as BillingAddonsPreviewUpdateErrors, types_gen_d_BillingAddonsPreviewUpdateResponse as BillingAddonsPreviewUpdateResponse, types_gen_d_BillingAddonsPreviewUpdateResponses as BillingAddonsPreviewUpdateResponses, types_gen_d_BillingAddonsUpdateData as BillingAddonsUpdateData, types_gen_d_BillingAddonsUpdateError as BillingAddonsUpdateError, types_gen_d_BillingAddonsUpdateErrors as BillingAddonsUpdateErrors, types_gen_d_BillingAddonsUpdateResponse as BillingAddonsUpdateResponse, types_gen_d_BillingAddonsUpdateResponses as BillingAddonsUpdateResponses, types_gen_d_BillingGetPricesData as BillingGetPricesData, types_gen_d_BillingGetPricesError as BillingGetPricesError, types_gen_d_BillingGetPricesErrors as BillingGetPricesErrors, types_gen_d_BillingGetPricesResponse as BillingGetPricesResponse, types_gen_d_BillingGetPricesResponses as BillingGetPricesResponses, types_gen_d_BillingSubscriptionGetData as BillingSubscriptionGetData, types_gen_d_BillingSubscriptionGetError as BillingSubscriptionGetError, types_gen_d_BillingSubscriptionGetErrors as BillingSubscriptionGetErrors, types_gen_d_BillingSubscriptionGetResponse as BillingSubscriptionGetResponse, types_gen_d_BillingSubscriptionGetResponses as BillingSubscriptionGetResponses, types_gen_d_BillingSubscriptionPreviewUpdateData as BillingSubscriptionPreviewUpdateData, types_gen_d_BillingSubscriptionPreviewUpdateError as BillingSubscriptionPreviewUpdateError, types_gen_d_BillingSubscriptionPreviewUpdateErrors as BillingSubscriptionPreviewUpdateErrors, types_gen_d_BillingSubscriptionPreviewUpdateResponse as BillingSubscriptionPreviewUpdateResponse, types_gen_d_BillingSubscriptionPreviewUpdateResponses as BillingSubscriptionPreviewUpdateResponses, types_gen_d_BillingSubscriptionUpdateData as BillingSubscriptionUpdateData, types_gen_d_BillingSubscriptionUpdateError as BillingSubscriptionUpdateError, types_gen_d_BillingSubscriptionUpdateErrors as BillingSubscriptionUpdateErrors, types_gen_d_BillingSubscriptionUpdateResponse as BillingSubscriptionUpdateResponse, types_gen_d_BillingSubscriptionUpdateResponses as BillingSubscriptionUpdateResponses, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ContactListIdBody as ContactListIdBody, types_gen_d_ContactListIdParams as ContactListIdParams, types_gen_d_ContactListIdResponse200 as ContactListIdResponse200, types_gen_d_ContactListsBody as ContactListsBody, types_gen_d_ContactListsCreateData as ContactListsCreateData, types_gen_d_ContactListsCreateError as ContactListsCreateError, types_gen_d_ContactListsCreateErrors as ContactListsCreateErrors, types_gen_d_ContactListsCreateResponse as ContactListsCreateResponse, types_gen_d_ContactListsCreateResponses as ContactListsCreateResponses, types_gen_d_ContactListsRemoveData as ContactListsRemoveData, types_gen_d_ContactListsRemoveError as ContactListsRemoveError, types_gen_d_ContactListsRemoveErrors as ContactListsRemoveErrors, types_gen_d_ContactListsRemoveResponse as ContactListsRemoveResponse, types_gen_d_ContactListsRemoveResponses as ContactListsRemoveResponses, types_gen_d_ContactListsResponse201 as ContactListsResponse201, types_gen_d_ContactListsRetrieveData as ContactListsRetrieveData, types_gen_d_ContactListsRetrieveError as ContactListsRetrieveError, types_gen_d_ContactListsRetrieveErrors as ContactListsRetrieveErrors, types_gen_d_ContactListsRetrieveResponse as ContactListsRetrieveResponse, types_gen_d_ContactListsRetrieveResponses as ContactListsRetrieveResponses, types_gen_d_ContactListsUpdateData as ContactListsUpdateData, types_gen_d_ContactListsUpdateError as ContactListsUpdateError, types_gen_d_ContactListsUpdateErrors as ContactListsUpdateErrors, types_gen_d_ContactListsUpdateResponse as ContactListsUpdateResponse, types_gen_d_ContactListsUpdateResponses as ContactListsUpdateResponses, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_ErrorResponse as ErrorResponse, types_gen_d_GetOpenapiJsonData as GetOpenapiJsonData, types_gen_d_GetOpenapiJsonError as GetOpenapiJsonError, types_gen_d_GetOpenapiJsonErrors as GetOpenapiJsonErrors, types_gen_d_GetOpenapiJsonResponses as GetOpenapiJsonResponses, types_gen_d_MemberIdBody as MemberIdBody, types_gen_d_MemberIdParams as MemberIdParams, types_gen_d_MemberIdResponse200 as MemberIdResponse200, types_gen_d_MembersBody as MembersBody, types_gen_d_MembersParams as MembersParams, types_gen_d_MembersQuery as MembersQuery, types_gen_d_MembersResponse200 as MembersResponse200, types_gen_d_MembersResponse201 as MembersResponse201, types_gen_d_OpenapiJsonResponse200 as OpenapiJsonResponse200, types_gen_d_OrganizationCreateData as OrganizationCreateData, types_gen_d_OrganizationCreateError as OrganizationCreateError, types_gen_d_OrganizationCreateErrors as OrganizationCreateErrors, types_gen_d_OrganizationCreateResponse as OrganizationCreateResponse, types_gen_d_OrganizationCreateResponses as OrganizationCreateResponses, types_gen_d_OrganizationDeleteData as OrganizationDeleteData, types_gen_d_OrganizationDeleteError as OrganizationDeleteError, types_gen_d_OrganizationDeleteErrors as OrganizationDeleteErrors, types_gen_d_OrganizationDeleteResponse as OrganizationDeleteResponse, types_gen_d_OrganizationDeleteResponses as OrganizationDeleteResponses, types_gen_d_OrganizationIdBody as OrganizationIdBody, types_gen_d_OrganizationIdParams as OrganizationIdParams, types_gen_d_OrganizationIdResponse200 as OrganizationIdResponse200, types_gen_d_OrganizationListData as OrganizationListData, types_gen_d_OrganizationListError as OrganizationListError, types_gen_d_OrganizationListErrors as OrganizationListErrors, types_gen_d_OrganizationListResponse as OrganizationListResponse, types_gen_d_OrganizationListResponses as OrganizationListResponses, types_gen_d_OrganizationMemberCreateData as OrganizationMemberCreateData, types_gen_d_OrganizationMemberCreateError as OrganizationMemberCreateError, types_gen_d_OrganizationMemberCreateErrors as OrganizationMemberCreateErrors, types_gen_d_OrganizationMemberCreateResponse as OrganizationMemberCreateResponse, types_gen_d_OrganizationMemberCreateResponses as OrganizationMemberCreateResponses, types_gen_d_OrganizationMemberDeleteData as OrganizationMemberDeleteData, types_gen_d_OrganizationMemberDeleteError as OrganizationMemberDeleteError, types_gen_d_OrganizationMemberDeleteErrors as OrganizationMemberDeleteErrors, types_gen_d_OrganizationMemberDeleteResponse as OrganizationMemberDeleteResponse, types_gen_d_OrganizationMemberDeleteResponses as OrganizationMemberDeleteResponses, types_gen_d_OrganizationMemberListData as OrganizationMemberListData, types_gen_d_OrganizationMemberListError as OrganizationMemberListError, types_gen_d_OrganizationMemberListErrors as OrganizationMemberListErrors, types_gen_d_OrganizationMemberListResponse as OrganizationMemberListResponse, types_gen_d_OrganizationMemberListResponses as OrganizationMemberListResponses, types_gen_d_OrganizationMemberUpdateData as OrganizationMemberUpdateData, types_gen_d_OrganizationMemberUpdateError as OrganizationMemberUpdateError, types_gen_d_OrganizationMemberUpdateErrors as OrganizationMemberUpdateErrors, types_gen_d_OrganizationMemberUpdateResponse as OrganizationMemberUpdateResponse, types_gen_d_OrganizationMemberUpdateResponses as OrganizationMemberUpdateResponses, types_gen_d_OrganizationRetrieveData as OrganizationRetrieveData, types_gen_d_OrganizationRetrieveError as OrganizationRetrieveError, types_gen_d_OrganizationRetrieveErrors as OrganizationRetrieveErrors, types_gen_d_OrganizationRetrieveResponse as OrganizationRetrieveResponse, types_gen_d_OrganizationRetrieveResponses as OrganizationRetrieveResponses, types_gen_d_OrganizationUpdateData as OrganizationUpdateData, types_gen_d_OrganizationUpdateError as OrganizationUpdateError, types_gen_d_OrganizationUpdateErrors as OrganizationUpdateErrors, types_gen_d_OrganizationUpdateResponse as OrganizationUpdateResponse, types_gen_d_OrganizationUpdateResponses as OrganizationUpdateResponses, types_gen_d_OrganizationsBody as OrganizationsBody, types_gen_d_OrganizationsResponse200 as OrganizationsResponse200, types_gen_d_OrganizationsResponse201 as OrganizationsResponse201, types_gen_d_PreviewBody as PreviewBody, types_gen_d_PreviewParams as PreviewParams, types_gen_d_PreviewResponse200 as PreviewResponse200, types_gen_d_PricesQuery as PricesQuery, types_gen_d_PricesResponse200 as PricesResponse200, types_gen_d_SubscriptionBody as SubscriptionBody, types_gen_d_SubscriptionResponse200 as SubscriptionResponse200, types_gen_d_UsersDeleteActionData as UsersDeleteActionData, types_gen_d_UsersDeleteActionError as UsersDeleteActionError, types_gen_d_UsersDeleteActionErrors as UsersDeleteActionErrors, types_gen_d_UsersDeleteActionResponse as UsersDeleteActionResponse, types_gen_d_UsersDeleteActionResponses as UsersDeleteActionResponses, types_gen_d_UsersGetCurrentOrganizationData as UsersGetCurrentOrganizationData, types_gen_d_UsersGetCurrentOrganizationError as UsersGetCurrentOrganizationError, types_gen_d_UsersGetCurrentOrganizationErrors as UsersGetCurrentOrganizationErrors, types_gen_d_UsersGetCurrentOrganizationResponse as UsersGetCurrentOrganizationResponse, types_gen_d_UsersGetCurrentOrganizationResponses as UsersGetCurrentOrganizationResponses, types_gen_d_UsersSetCurrentOrganizationData as UsersSetCurrentOrganizationData, types_gen_d_UsersSetCurrentOrganizationError as UsersSetCurrentOrganizationError, types_gen_d_UsersSetCurrentOrganizationErrors as UsersSetCurrentOrganizationErrors, types_gen_d_UsersSetCurrentOrganizationResponse as UsersSetCurrentOrganizationResponse, types_gen_d_UsersSetCurrentOrganizationResponses as UsersSetCurrentOrganizationResponses, types_gen_d_UsersWatchMailboxData as UsersWatchMailboxData, types_gen_d_UsersWatchMailboxError as UsersWatchMailboxError, types_gen_d_UsersWatchMailboxErrors as UsersWatchMailboxErrors, types_gen_d_UsersWatchMailboxResponse as UsersWatchMailboxResponse, types_gen_d_UsersWatchMailboxResponses as UsersWatchMailboxResponses, types_gen_d_WatchMailboxBody as WatchMailboxBody, types_gen_d_WatchMailboxParams as WatchMailboxParams };
2381
+ export type { types_gen_d_ActionIdParams as ActionIdParams, types_gen_d_AddonBody as AddonBody, types_gen_d_AddonParams as AddonParams, types_gen_d_AddonResponse200 as AddonResponse200, types_gen_d_AddonsResponse200 as AddonsResponse200, types_gen_d_BatchBody as BatchBody, types_gen_d_BatchLegacyBody as BatchLegacyBody, types_gen_d_BatchLegacyResponse201 as BatchLegacyResponse201, types_gen_d_BatchResponse201 as BatchResponse201, types_gen_d_BatchResponse202 as BatchResponse202, types_gen_d_BillingAddonsGetAddonUsagesData as BillingAddonsGetAddonUsagesData, types_gen_d_BillingAddonsGetAddonUsagesError as BillingAddonsGetAddonUsagesError, types_gen_d_BillingAddonsGetAddonUsagesErrors as BillingAddonsGetAddonUsagesErrors, types_gen_d_BillingAddonsGetAddonUsagesResponse as BillingAddonsGetAddonUsagesResponse, types_gen_d_BillingAddonsGetAddonUsagesResponses as BillingAddonsGetAddonUsagesResponses, types_gen_d_BillingAddonsGetAddonsData as BillingAddonsGetAddonsData, types_gen_d_BillingAddonsGetAddonsError as BillingAddonsGetAddonsError, types_gen_d_BillingAddonsGetAddonsErrors as BillingAddonsGetAddonsErrors, types_gen_d_BillingAddonsGetAddonsResponse as BillingAddonsGetAddonsResponse, types_gen_d_BillingAddonsGetAddonsResponses as BillingAddonsGetAddonsResponses, types_gen_d_BillingAddonsPreviewUpdateData as BillingAddonsPreviewUpdateData, types_gen_d_BillingAddonsPreviewUpdateError as BillingAddonsPreviewUpdateError, types_gen_d_BillingAddonsPreviewUpdateErrors as BillingAddonsPreviewUpdateErrors, types_gen_d_BillingAddonsPreviewUpdateResponse as BillingAddonsPreviewUpdateResponse, types_gen_d_BillingAddonsPreviewUpdateResponses as BillingAddonsPreviewUpdateResponses, types_gen_d_BillingAddonsUpdateData as BillingAddonsUpdateData, types_gen_d_BillingAddonsUpdateError as BillingAddonsUpdateError, types_gen_d_BillingAddonsUpdateErrors as BillingAddonsUpdateErrors, types_gen_d_BillingAddonsUpdateResponse as BillingAddonsUpdateResponse, types_gen_d_BillingAddonsUpdateResponses as BillingAddonsUpdateResponses, types_gen_d_BillingGetPricesData as BillingGetPricesData, types_gen_d_BillingGetPricesError as BillingGetPricesError, types_gen_d_BillingGetPricesErrors as BillingGetPricesErrors, types_gen_d_BillingGetPricesResponse as BillingGetPricesResponse, types_gen_d_BillingGetPricesResponses as BillingGetPricesResponses, types_gen_d_BillingSubscriptionGetData as BillingSubscriptionGetData, types_gen_d_BillingSubscriptionGetError as BillingSubscriptionGetError, types_gen_d_BillingSubscriptionGetErrors as BillingSubscriptionGetErrors, types_gen_d_BillingSubscriptionGetResponse as BillingSubscriptionGetResponse, types_gen_d_BillingSubscriptionGetResponses as BillingSubscriptionGetResponses, types_gen_d_BillingSubscriptionPreviewUpdateData as BillingSubscriptionPreviewUpdateData, types_gen_d_BillingSubscriptionPreviewUpdateError as BillingSubscriptionPreviewUpdateError, types_gen_d_BillingSubscriptionPreviewUpdateErrors as BillingSubscriptionPreviewUpdateErrors, types_gen_d_BillingSubscriptionPreviewUpdateResponse as BillingSubscriptionPreviewUpdateResponse, types_gen_d_BillingSubscriptionPreviewUpdateResponses as BillingSubscriptionPreviewUpdateResponses, types_gen_d_BillingSubscriptionUpdateData as BillingSubscriptionUpdateData, types_gen_d_BillingSubscriptionUpdateError as BillingSubscriptionUpdateError, types_gen_d_BillingSubscriptionUpdateErrors as BillingSubscriptionUpdateErrors, types_gen_d_BillingSubscriptionUpdateResponse as BillingSubscriptionUpdateResponse, types_gen_d_BillingSubscriptionUpdateResponses as BillingSubscriptionUpdateResponses, types_gen_d_BlockParams as BlockParams, types_gen_d_BlockResponse200 as BlockResponse200, types_gen_d_ClientOptions as ClientOptions, types_gen_d_ContactIdBody as ContactIdBody, types_gen_d_ContactIdParams as ContactIdParams, types_gen_d_ContactIdResponse200 as ContactIdResponse200, types_gen_d_ContactListIdBody as ContactListIdBody, types_gen_d_ContactListIdParams as ContactListIdParams, types_gen_d_ContactListIdResponse200 as ContactListIdResponse200, types_gen_d_ContactListsBody as ContactListsBody, types_gen_d_ContactListsCreateData as ContactListsCreateData, types_gen_d_ContactListsCreateError as ContactListsCreateError, types_gen_d_ContactListsCreateErrors as ContactListsCreateErrors, types_gen_d_ContactListsCreateResponse as ContactListsCreateResponse, types_gen_d_ContactListsCreateResponses as ContactListsCreateResponses, types_gen_d_ContactListsRemoveData as ContactListsRemoveData, types_gen_d_ContactListsRemoveError as ContactListsRemoveError, types_gen_d_ContactListsRemoveErrors as ContactListsRemoveErrors, types_gen_d_ContactListsRemoveResponse as ContactListsRemoveResponse, types_gen_d_ContactListsRemoveResponses as ContactListsRemoveResponses, types_gen_d_ContactListsResponse201 as ContactListsResponse201, types_gen_d_ContactListsRetrieveData as ContactListsRetrieveData, types_gen_d_ContactListsRetrieveError as ContactListsRetrieveError, types_gen_d_ContactListsRetrieveErrors as ContactListsRetrieveErrors, types_gen_d_ContactListsRetrieveResponse as ContactListsRetrieveResponse, types_gen_d_ContactListsRetrieveResponses as ContactListsRetrieveResponses, types_gen_d_ContactListsUpdateData as ContactListsUpdateData, types_gen_d_ContactListsUpdateError as ContactListsUpdateError, types_gen_d_ContactListsUpdateErrors as ContactListsUpdateErrors, types_gen_d_ContactListsUpdateResponse as ContactListsUpdateResponse, types_gen_d_ContactListsUpdateResponses as ContactListsUpdateResponses, types_gen_d_ContactsBatchCreate2Data as ContactsBatchCreate2Data, types_gen_d_ContactsBatchCreate2Error as ContactsBatchCreate2Error, types_gen_d_ContactsBatchCreate2Errors as ContactsBatchCreate2Errors, types_gen_d_ContactsBatchCreate2Responses as ContactsBatchCreate2Responses, types_gen_d_ContactsBatchCreateData as ContactsBatchCreateData, types_gen_d_ContactsBatchCreateError as ContactsBatchCreateError, types_gen_d_ContactsBatchCreateErrors as ContactsBatchCreateErrors, types_gen_d_ContactsBatchCreateResponse as ContactsBatchCreateResponse, types_gen_d_ContactsBatchCreateResponses as ContactsBatchCreateResponses, types_gen_d_ContactsBlockData as ContactsBlockData, types_gen_d_ContactsBlockError as ContactsBlockError, types_gen_d_ContactsBlockErrors as ContactsBlockErrors, types_gen_d_ContactsBlockResponse as ContactsBlockResponse, types_gen_d_ContactsBlockResponses as ContactsBlockResponses, types_gen_d_ContactsBody as ContactsBody, types_gen_d_ContactsCreateData as ContactsCreateData, types_gen_d_ContactsCreateError as ContactsCreateError, types_gen_d_ContactsCreateErrors as ContactsCreateErrors, types_gen_d_ContactsCreateResponse as ContactsCreateResponse, types_gen_d_ContactsCreateResponses as ContactsCreateResponses, types_gen_d_ContactsDelAllData as ContactsDelAllData, types_gen_d_ContactsDelAllError as ContactsDelAllError, types_gen_d_ContactsDelAllErrors as ContactsDelAllErrors, types_gen_d_ContactsDelAllResponse as ContactsDelAllResponse, types_gen_d_ContactsDelAllResponses as ContactsDelAllResponses, types_gen_d_ContactsDelData as ContactsDelData, types_gen_d_ContactsDelError as ContactsDelError, types_gen_d_ContactsDelErrors as ContactsDelErrors, types_gen_d_ContactsDelResponse as ContactsDelResponse, types_gen_d_ContactsDelResponses as ContactsDelResponses, types_gen_d_ContactsListData as ContactsListData, types_gen_d_ContactsListError as ContactsListError, types_gen_d_ContactsListErrors as ContactsListErrors, types_gen_d_ContactsListResponse as ContactsListResponse, types_gen_d_ContactsListResponses as ContactsListResponses, types_gen_d_ContactsQuery as ContactsQuery, types_gen_d_ContactsResponse200 as ContactsResponse200, types_gen_d_ContactsResponse201 as ContactsResponse201, types_gen_d_ContactsResubscribeData as ContactsResubscribeData, types_gen_d_ContactsResubscribeError as ContactsResubscribeError, types_gen_d_ContactsResubscribeErrors as ContactsResubscribeErrors, types_gen_d_ContactsResubscribeResponse as ContactsResubscribeResponse, types_gen_d_ContactsResubscribeResponses as ContactsResubscribeResponses, types_gen_d_ContactsRetrieveData as ContactsRetrieveData, types_gen_d_ContactsRetrieveError as ContactsRetrieveError, types_gen_d_ContactsRetrieveErrors as ContactsRetrieveErrors, types_gen_d_ContactsRetrieveResponse as ContactsRetrieveResponse, types_gen_d_ContactsRetrieveResponses as ContactsRetrieveResponses, types_gen_d_ContactsUnblockData as ContactsUnblockData, types_gen_d_ContactsUnblockError as ContactsUnblockError, types_gen_d_ContactsUnblockErrors as ContactsUnblockErrors, types_gen_d_ContactsUnblockResponse as ContactsUnblockResponse, types_gen_d_ContactsUnblockResponses as ContactsUnblockResponses, types_gen_d_ContactsUpdateData as ContactsUpdateData, types_gen_d_ContactsUpdateError as ContactsUpdateError, types_gen_d_ContactsUpdateErrors as ContactsUpdateErrors, types_gen_d_ContactsUpdateResponse as ContactsUpdateResponse, types_gen_d_ContactsUpdateResponses as ContactsUpdateResponses, types_gen_d_CurrentOrganizationBody as CurrentOrganizationBody, types_gen_d_CurrentOrganizationParams as CurrentOrganizationParams, types_gen_d_CurrentOrganizationResponse200 as CurrentOrganizationResponse200, types_gen_d_ErrorResponse as ErrorResponse, types_gen_d_GetOpenapiJsonData as GetOpenapiJsonData, types_gen_d_GetOpenapiJsonError as GetOpenapiJsonError, types_gen_d_GetOpenapiJsonErrors as GetOpenapiJsonErrors, types_gen_d_GetOpenapiJsonResponses as GetOpenapiJsonResponses, types_gen_d_MemberIdBody as MemberIdBody, types_gen_d_MemberIdParams as MemberIdParams, types_gen_d_MemberIdResponse200 as MemberIdResponse200, types_gen_d_MembersBody as MembersBody, types_gen_d_MembersParams as MembersParams, types_gen_d_MembersQuery as MembersQuery, types_gen_d_MembersResponse200 as MembersResponse200, types_gen_d_MembersResponse201 as MembersResponse201, types_gen_d_OpenapiJsonResponse200 as OpenapiJsonResponse200, types_gen_d_OrganizationCreateData as OrganizationCreateData, types_gen_d_OrganizationCreateError as OrganizationCreateError, types_gen_d_OrganizationCreateErrors as OrganizationCreateErrors, types_gen_d_OrganizationCreateResponse as OrganizationCreateResponse, types_gen_d_OrganizationCreateResponses as OrganizationCreateResponses, types_gen_d_OrganizationDeleteData as OrganizationDeleteData, types_gen_d_OrganizationDeleteError as OrganizationDeleteError, types_gen_d_OrganizationDeleteErrors as OrganizationDeleteErrors, types_gen_d_OrganizationDeleteResponse as OrganizationDeleteResponse, types_gen_d_OrganizationDeleteResponses as OrganizationDeleteResponses, types_gen_d_OrganizationIdBody as OrganizationIdBody, types_gen_d_OrganizationIdParams as OrganizationIdParams, types_gen_d_OrganizationIdResponse200 as OrganizationIdResponse200, types_gen_d_OrganizationListData as OrganizationListData, types_gen_d_OrganizationListError as OrganizationListError, types_gen_d_OrganizationListErrors as OrganizationListErrors, types_gen_d_OrganizationListResponse as OrganizationListResponse, types_gen_d_OrganizationListResponses as OrganizationListResponses, types_gen_d_OrganizationMemberCreateData as OrganizationMemberCreateData, types_gen_d_OrganizationMemberCreateError as OrganizationMemberCreateError, types_gen_d_OrganizationMemberCreateErrors as OrganizationMemberCreateErrors, types_gen_d_OrganizationMemberCreateResponse as OrganizationMemberCreateResponse, types_gen_d_OrganizationMemberCreateResponses as OrganizationMemberCreateResponses, types_gen_d_OrganizationMemberDeleteData as OrganizationMemberDeleteData, types_gen_d_OrganizationMemberDeleteError as OrganizationMemberDeleteError, types_gen_d_OrganizationMemberDeleteErrors as OrganizationMemberDeleteErrors, types_gen_d_OrganizationMemberDeleteResponse as OrganizationMemberDeleteResponse, types_gen_d_OrganizationMemberDeleteResponses as OrganizationMemberDeleteResponses, types_gen_d_OrganizationMemberListData as OrganizationMemberListData, types_gen_d_OrganizationMemberListError as OrganizationMemberListError, types_gen_d_OrganizationMemberListErrors as OrganizationMemberListErrors, types_gen_d_OrganizationMemberListResponse as OrganizationMemberListResponse, types_gen_d_OrganizationMemberListResponses as OrganizationMemberListResponses, types_gen_d_OrganizationMemberUpdateData as OrganizationMemberUpdateData, types_gen_d_OrganizationMemberUpdateError as OrganizationMemberUpdateError, types_gen_d_OrganizationMemberUpdateErrors as OrganizationMemberUpdateErrors, types_gen_d_OrganizationMemberUpdateResponse as OrganizationMemberUpdateResponse, types_gen_d_OrganizationMemberUpdateResponses as OrganizationMemberUpdateResponses, types_gen_d_OrganizationRetrieveData as OrganizationRetrieveData, types_gen_d_OrganizationRetrieveError as OrganizationRetrieveError, types_gen_d_OrganizationRetrieveErrors as OrganizationRetrieveErrors, types_gen_d_OrganizationRetrieveResponse as OrganizationRetrieveResponse, types_gen_d_OrganizationRetrieveResponses as OrganizationRetrieveResponses, types_gen_d_OrganizationUpdateData as OrganizationUpdateData, types_gen_d_OrganizationUpdateError as OrganizationUpdateError, types_gen_d_OrganizationUpdateErrors as OrganizationUpdateErrors, types_gen_d_OrganizationUpdateResponse as OrganizationUpdateResponse, types_gen_d_OrganizationUpdateResponses as OrganizationUpdateResponses, types_gen_d_OrganizationsBody as OrganizationsBody, types_gen_d_OrganizationsResponse200 as OrganizationsResponse200, types_gen_d_OrganizationsResponse201 as OrganizationsResponse201, types_gen_d_PreviewBody as PreviewBody, types_gen_d_PreviewParams as PreviewParams, types_gen_d_PreviewResponse200 as PreviewResponse200, types_gen_d_PricesQuery as PricesQuery, types_gen_d_PricesResponse200 as PricesResponse200, types_gen_d_ResubscribeParams as ResubscribeParams, types_gen_d_ResubscribeResponse200 as ResubscribeResponse200, types_gen_d_SubscriptionBody as SubscriptionBody, types_gen_d_SubscriptionResponse200 as SubscriptionResponse200, types_gen_d_UnblockParams as UnblockParams, types_gen_d_UnblockResponse200 as UnblockResponse200, types_gen_d_UsersDeleteActionData as UsersDeleteActionData, types_gen_d_UsersDeleteActionError as UsersDeleteActionError, types_gen_d_UsersDeleteActionErrors as UsersDeleteActionErrors, types_gen_d_UsersDeleteActionResponse as UsersDeleteActionResponse, types_gen_d_UsersDeleteActionResponses as UsersDeleteActionResponses, types_gen_d_UsersGetCurrentOrganizationData as UsersGetCurrentOrganizationData, types_gen_d_UsersGetCurrentOrganizationError as UsersGetCurrentOrganizationError, types_gen_d_UsersGetCurrentOrganizationErrors as UsersGetCurrentOrganizationErrors, types_gen_d_UsersGetCurrentOrganizationResponse as UsersGetCurrentOrganizationResponse, types_gen_d_UsersGetCurrentOrganizationResponses as UsersGetCurrentOrganizationResponses, types_gen_d_UsersSetCurrentOrganizationData as UsersSetCurrentOrganizationData, types_gen_d_UsersSetCurrentOrganizationError as UsersSetCurrentOrganizationError, types_gen_d_UsersSetCurrentOrganizationErrors as UsersSetCurrentOrganizationErrors, types_gen_d_UsersSetCurrentOrganizationResponse as UsersSetCurrentOrganizationResponse, types_gen_d_UsersSetCurrentOrganizationResponses as UsersSetCurrentOrganizationResponses, types_gen_d_UsersWatchMailboxData as UsersWatchMailboxData, types_gen_d_UsersWatchMailboxError as UsersWatchMailboxError, types_gen_d_UsersWatchMailboxErrors as UsersWatchMailboxErrors, types_gen_d_UsersWatchMailboxResponse as UsersWatchMailboxResponse, types_gen_d_UsersWatchMailboxResponses as UsersWatchMailboxResponses, types_gen_d_WatchMailboxBody as WatchMailboxBody, types_gen_d_WatchMailboxParams as WatchMailboxParams };
1636
2382
  }
1637
2383
 
1638
2384
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
@@ -1710,6 +2456,69 @@ declare class ContactLists extends HeyApiClient {
1710
2456
  };
1711
2457
  }, options?: Options<never, ThrowOnError>): RequestResult<ContactListsUpdateResponses, ContactListsUpdateErrors, ThrowOnError, "data">;
1712
2458
  }
2459
+ declare class Contacts extends HeyApiClient {
2460
+ delAll<ThrowOnError extends boolean = false>(parameters?: {
2461
+ owner?: string;
2462
+ contact_list?: string;
2463
+ }, options?: Options<never, ThrowOnError>): RequestResult<ContactsDelAllResponses, ContactsDelAllErrors, ThrowOnError, "data">;
2464
+ list<ThrowOnError extends boolean = false>(parameters: {
2465
+ owner: string;
2466
+ limit?: number;
2467
+ email?: string;
2468
+ unsubscribed?: boolean | null;
2469
+ contact_list?: string;
2470
+ }, options?: Options<never, ThrowOnError>): RequestResult<ContactsListResponses, ContactsListErrors, ThrowOnError, "data">;
2471
+ create<ThrowOnError extends boolean = false>(parameters?: {
2472
+ owner?: string;
2473
+ email?: string;
2474
+ blocked?: boolean;
2475
+ unsubscribed?: boolean;
2476
+ contact_lists?: Array<string>;
2477
+ properties?: {
2478
+ [key: string]: string;
2479
+ };
2480
+ notes?: string;
2481
+ metadata?: {
2482
+ [key: string]: string;
2483
+ };
2484
+ }, options?: Options<never, ThrowOnError>): RequestResult<ContactsCreateResponses, ContactsCreateErrors, ThrowOnError, "data">;
2485
+ batchCreate<ThrowOnError extends boolean = false>(parameters?: {
2486
+ contacts?: Array<{
2487
+ owner: string;
2488
+ email: string;
2489
+ blocked?: boolean;
2490
+ unsubscribed?: boolean;
2491
+ contact_lists?: Array<string>;
2492
+ properties?: {
2493
+ [key: string]: string;
2494
+ };
2495
+ notes?: string;
2496
+ metadata?: {
2497
+ [key: string]: string;
2498
+ };
2499
+ }>;
2500
+ }, options?: Options<never, ThrowOnError>): RequestResult<ContactsBatchCreateResponses, ContactsBatchCreateErrors, ThrowOnError, "data">;
2501
+ batchCreate2<ThrowOnError extends boolean = false>(parameters?: {
2502
+ body?: unknown;
2503
+ }, options?: Options<never, ThrowOnError>): RequestResult<ContactsBatchCreate2Responses, ContactsBatchCreate2Errors, ThrowOnError, "data">;
2504
+ del<ThrowOnError extends boolean = false>(contact_id: string, options?: Options<never, ThrowOnError>): RequestResult<ContactsDelResponses, ContactsDelErrors, ThrowOnError, "data">;
2505
+ retrieve<ThrowOnError extends boolean = false>(contact_id: string, options?: Options<never, ThrowOnError>): RequestResult<ContactsRetrieveResponses, ContactsRetrieveErrors, ThrowOnError, "data">;
2506
+ update<ThrowOnError extends boolean = false>(contact_id: string, parameters?: {
2507
+ blocked?: boolean;
2508
+ unsubscribed?: boolean;
2509
+ contact_lists?: Array<string>;
2510
+ properties?: {
2511
+ [key: string]: string;
2512
+ };
2513
+ notes?: string;
2514
+ metadata?: {
2515
+ [key: string]: string;
2516
+ };
2517
+ }, options?: Options<never, ThrowOnError>): RequestResult<ContactsUpdateResponses, ContactsUpdateErrors, ThrowOnError, "data">;
2518
+ block<ThrowOnError extends boolean = false>(contact_id: string, options?: Options<never, ThrowOnError>): RequestResult<ContactsBlockResponses, ContactsBlockErrors, ThrowOnError, "data">;
2519
+ unblock<ThrowOnError extends boolean = false>(contact_id: string, options?: Options<never, ThrowOnError>): RequestResult<ContactsUnblockResponses, ContactsUnblockErrors, ThrowOnError, "data">;
2520
+ resubscribe<ThrowOnError extends boolean = false>(contact_id: string, options?: Options<never, ThrowOnError>): RequestResult<ContactsResubscribeResponses, ContactsResubscribeErrors, ThrowOnError, "data">;
2521
+ }
1713
2522
  declare class BillingAddons extends HeyApiClient {
1714
2523
  getAddons<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<BillingAddonsGetAddonsResponses, BillingAddonsGetAddonsErrors, ThrowOnError, "data">;
1715
2524
  previewUpdate<ThrowOnError extends boolean = false>(addon: 'senders' | 'email_warmups', parameters?: {
@@ -1755,6 +2564,7 @@ declare class Mailmeteor {
1755
2564
  readonly contactLists: ContactLists;
1756
2565
  readonly organizations: Organizations;
1757
2566
  readonly users: Users;
2567
+ readonly contacts: Contacts;
1758
2568
  constructor(key: string, config?: MailmeteorConfig);
1759
2569
  /**
1760
2570
  * Update the API key for authentication