@atproto/ozone 0.1.160 → 0.1.161

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 (68) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/api/moderation/emitEvent.d.ts.map +1 -1
  3. package/dist/api/moderation/emitEvent.js +29 -23
  4. package/dist/api/moderation/emitEvent.js.map +1 -1
  5. package/dist/lexicon/index.d.ts +2 -0
  6. package/dist/lexicon/index.d.ts.map +1 -1
  7. package/dist/lexicon/index.js +4 -0
  8. package/dist/lexicon/index.js.map +1 -1
  9. package/dist/lexicon/lexicons.d.ts +242 -46
  10. package/dist/lexicon/lexicons.d.ts.map +1 -1
  11. package/dist/lexicon/lexicons.js +139 -21
  12. package/dist/lexicon/lexicons.js.map +1 -1
  13. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +13 -1
  14. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  15. package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
  16. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  17. package/dist/lexicon/types/app/bsky/contact/defs.d.ts +10 -0
  18. package/dist/lexicon/types/app/bsky/contact/defs.d.ts.map +1 -1
  19. package/dist/lexicon/types/app/bsky/contact/defs.js +9 -0
  20. package/dist/lexicon/types/app/bsky/contact/defs.js.map +1 -1
  21. package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts +1 -1
  22. package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts.map +1 -1
  23. package/dist/lexicon/types/app/bsky/contact/dismissMatch.js.map +1 -1
  24. package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts +1 -1
  25. package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts.map +1 -1
  26. package/dist/lexicon/types/app/bsky/contact/getMatches.js.map +1 -1
  27. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts +1 -1
  28. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -1
  29. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js.map +1 -1
  30. package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts +1 -1
  31. package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts.map +1 -1
  32. package/dist/lexicon/types/app/bsky/contact/importContacts.js.map +1 -1
  33. package/dist/lexicon/types/app/bsky/contact/removeData.d.ts +1 -1
  34. package/dist/lexicon/types/app/bsky/contact/removeData.d.ts.map +1 -1
  35. package/dist/lexicon/types/app/bsky/contact/removeData.js.map +1 -1
  36. package/dist/lexicon/types/app/bsky/contact/sendNotification.d.ts +26 -0
  37. package/dist/lexicon/types/app/bsky/contact/sendNotification.d.ts.map +1 -0
  38. package/dist/lexicon/types/app/bsky/contact/sendNotification.js +7 -0
  39. package/dist/lexicon/types/app/bsky/contact/sendNotification.js.map +1 -0
  40. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts +1 -1
  41. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -1
  42. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js.map +1 -1
  43. package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts +1 -1
  44. package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts.map +1 -1
  45. package/dist/lexicon/types/app/bsky/contact/verifyPhone.js.map +1 -1
  46. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +1 -1
  47. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  48. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  49. package/dist/mod-service/index.d.ts.map +1 -1
  50. package/dist/mod-service/index.js +10 -4
  51. package/dist/mod-service/index.js.map +1 -1
  52. package/package.json +5 -5
  53. package/src/api/moderation/emitEvent.ts +33 -25
  54. package/src/lexicon/index.ts +13 -0
  55. package/src/lexicon/lexicons.ts +145 -21
  56. package/src/lexicon/types/app/bsky/actor/defs.ts +22 -0
  57. package/src/lexicon/types/app/bsky/contact/defs.ts +19 -0
  58. package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +1 -1
  59. package/src/lexicon/types/app/bsky/contact/getMatches.ts +1 -1
  60. package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +1 -1
  61. package/src/lexicon/types/app/bsky/contact/importContacts.ts +6 -1
  62. package/src/lexicon/types/app/bsky/contact/removeData.ts +1 -1
  63. package/src/lexicon/types/app/bsky/contact/sendNotification.ts +44 -0
  64. package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +1 -1
  65. package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +6 -1
  66. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +1 -0
  67. package/src/mod-service/index.ts +12 -5
  68. package/tsconfig.build.tsbuildinfo +1 -1
@@ -382,7 +382,7 @@ export declare const schemaDict: {
382
382
  readonly type: "array";
383
383
  readonly items: {
384
384
  readonly type: "union";
385
- readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
385
+ readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
386
386
  };
387
387
  };
388
388
  readonly adultContentPref: {
@@ -478,6 +478,24 @@ export declare const schemaDict: {
478
478
  };
479
479
  };
480
480
  };
481
+ readonly declaredAgePref: {
482
+ readonly type: "object";
483
+ readonly description: "Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration.";
484
+ readonly properties: {
485
+ readonly isOverAge13: {
486
+ readonly type: "boolean";
487
+ readonly description: "Indicates if the user has declared that they are over 13 years of age.";
488
+ };
489
+ readonly isOverAge16: {
490
+ readonly type: "boolean";
491
+ readonly description: "Indicates if the user has declared that they are over 16 years of age.";
492
+ };
493
+ readonly isOverAge18: {
494
+ readonly type: "boolean";
495
+ readonly description: "Indicates if the user has declared that they are over 18 years of age.";
496
+ };
497
+ };
498
+ };
481
499
  readonly feedViewPref: {
482
500
  readonly type: "object";
483
501
  readonly required: ["feed"];
@@ -1652,6 +1670,23 @@ export declare const schemaDict: {
1652
1670
  };
1653
1671
  };
1654
1672
  };
1673
+ readonly notification: {
1674
+ readonly description: "A stash object to be sent via bsync representing a notification to be created.";
1675
+ readonly type: "object";
1676
+ readonly required: ["from", "to"];
1677
+ readonly properties: {
1678
+ readonly from: {
1679
+ readonly description: "The DID of who this notification comes from.";
1680
+ readonly type: "string";
1681
+ readonly format: "did";
1682
+ };
1683
+ readonly to: {
1684
+ readonly description: "The DID of who this notification should go to.";
1685
+ readonly type: "string";
1686
+ readonly format: "did";
1687
+ };
1688
+ };
1689
+ };
1655
1690
  };
1656
1691
  };
1657
1692
  readonly AppBskyContactDismissMatch: {
@@ -1660,7 +1695,7 @@ export declare const schemaDict: {
1660
1695
  readonly defs: {
1661
1696
  readonly main: {
1662
1697
  readonly type: "procedure";
1663
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.";
1698
+ readonly description: "Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.";
1664
1699
  readonly input: {
1665
1700
  readonly encoding: "application/json";
1666
1701
  readonly schema: {
@@ -1683,8 +1718,9 @@ export declare const schemaDict: {
1683
1718
  };
1684
1719
  };
1685
1720
  readonly errors: [{
1686
- readonly name: "TODO";
1687
- readonly description: "TODO";
1721
+ readonly name: "InvalidDid";
1722
+ }, {
1723
+ readonly name: "InternalError";
1688
1724
  }];
1689
1725
  };
1690
1726
  };
@@ -1695,7 +1731,7 @@ export declare const schemaDict: {
1695
1731
  readonly defs: {
1696
1732
  readonly main: {
1697
1733
  readonly type: "query";
1698
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.";
1734
+ readonly description: "Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.";
1699
1735
  readonly parameters: {
1700
1736
  readonly type: "params";
1701
1737
  readonly properties: {
@@ -1730,8 +1766,13 @@ export declare const schemaDict: {
1730
1766
  };
1731
1767
  };
1732
1768
  readonly errors: [{
1733
- readonly name: "TODO";
1734
- readonly description: "TODO";
1769
+ readonly name: "InvalidDid";
1770
+ }, {
1771
+ readonly name: "InvalidLimit";
1772
+ }, {
1773
+ readonly name: "InvalidCursor";
1774
+ }, {
1775
+ readonly name: "InternalError";
1735
1776
  }];
1736
1777
  };
1737
1778
  };
@@ -1742,7 +1783,7 @@ export declare const schemaDict: {
1742
1783
  readonly defs: {
1743
1784
  readonly main: {
1744
1785
  readonly type: "query";
1745
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Gets the user's current contact import status. Requires authentication.";
1786
+ readonly description: "Gets the user's current contact import status. Requires authentication.";
1746
1787
  readonly parameters: {
1747
1788
  readonly type: "params";
1748
1789
  readonly properties: {};
@@ -1761,8 +1802,9 @@ export declare const schemaDict: {
1761
1802
  };
1762
1803
  };
1763
1804
  readonly errors: [{
1764
- readonly name: "TODO";
1765
- readonly description: "TODO";
1805
+ readonly name: "InvalidDid";
1806
+ }, {
1807
+ readonly name: "InternalError";
1766
1808
  }];
1767
1809
  };
1768
1810
  };
@@ -1773,7 +1815,7 @@ export declare const schemaDict: {
1773
1815
  readonly defs: {
1774
1816
  readonly main: {
1775
1817
  readonly type: "procedure";
1776
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.";
1818
+ readonly description: "Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.";
1777
1819
  readonly input: {
1778
1820
  readonly encoding: "application/json";
1779
1821
  readonly schema: {
@@ -1814,8 +1856,15 @@ export declare const schemaDict: {
1814
1856
  };
1815
1857
  };
1816
1858
  readonly errors: [{
1817
- readonly name: "TODO";
1818
- readonly description: "TODO";
1859
+ readonly name: "InvalidDid";
1860
+ }, {
1861
+ readonly name: "InvalidContacts";
1862
+ }, {
1863
+ readonly name: "TooManyContacts";
1864
+ }, {
1865
+ readonly name: "InvalidToken";
1866
+ }, {
1867
+ readonly name: "InternalError";
1819
1868
  }];
1820
1869
  };
1821
1870
  };
@@ -1826,7 +1875,7 @@ export declare const schemaDict: {
1826
1875
  readonly defs: {
1827
1876
  readonly main: {
1828
1877
  readonly type: "procedure";
1829
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.";
1878
+ readonly description: "Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.";
1830
1879
  readonly input: {
1831
1880
  readonly encoding: "application/json";
1832
1881
  readonly schema: {
@@ -1842,19 +1891,56 @@ export declare const schemaDict: {
1842
1891
  };
1843
1892
  };
1844
1893
  readonly errors: [{
1845
- readonly name: "TODO";
1846
- readonly description: "TODO";
1894
+ readonly name: "InvalidDid";
1895
+ }, {
1896
+ readonly name: "InternalError";
1847
1897
  }];
1848
1898
  };
1849
1899
  };
1850
1900
  };
1901
+ readonly AppBskyContactSendNotification: {
1902
+ readonly lexicon: 1;
1903
+ readonly id: "app.bsky.contact.sendNotification";
1904
+ readonly defs: {
1905
+ readonly main: {
1906
+ readonly type: "procedure";
1907
+ readonly description: "System endpoint to send notifications related to contact imports. Requires role authentication.";
1908
+ readonly input: {
1909
+ readonly encoding: "application/json";
1910
+ readonly schema: {
1911
+ readonly type: "object";
1912
+ readonly required: ["from", "to"];
1913
+ readonly properties: {
1914
+ readonly from: {
1915
+ readonly description: "The DID of who this notification comes from.";
1916
+ readonly type: "string";
1917
+ readonly format: "did";
1918
+ };
1919
+ readonly to: {
1920
+ readonly description: "The DID of who this notification should go to.";
1921
+ readonly type: "string";
1922
+ readonly format: "did";
1923
+ };
1924
+ };
1925
+ };
1926
+ };
1927
+ readonly output: {
1928
+ readonly encoding: "application/json";
1929
+ readonly schema: {
1930
+ readonly type: "object";
1931
+ readonly properties: {};
1932
+ };
1933
+ };
1934
+ };
1935
+ };
1936
+ };
1851
1937
  readonly AppBskyContactStartPhoneVerification: {
1852
1938
  readonly lexicon: 1;
1853
1939
  readonly id: "app.bsky.contact.startPhoneVerification";
1854
1940
  readonly defs: {
1855
1941
  readonly main: {
1856
1942
  readonly type: "procedure";
1857
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.";
1943
+ readonly description: "Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.";
1858
1944
  readonly input: {
1859
1945
  readonly encoding: "application/json";
1860
1946
  readonly schema: {
@@ -1876,8 +1962,13 @@ export declare const schemaDict: {
1876
1962
  };
1877
1963
  };
1878
1964
  readonly errors: [{
1879
- readonly name: "TODO";
1880
- readonly description: "TODO";
1965
+ readonly name: "RateLimitExceeded";
1966
+ }, {
1967
+ readonly name: "InvalidDid";
1968
+ }, {
1969
+ readonly name: "InvalidPhone";
1970
+ }, {
1971
+ readonly name: "InternalError";
1881
1972
  }];
1882
1973
  };
1883
1974
  };
@@ -1888,7 +1979,7 @@ export declare const schemaDict: {
1888
1979
  readonly defs: {
1889
1980
  readonly main: {
1890
1981
  readonly type: "procedure";
1891
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.";
1982
+ readonly description: "Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.";
1892
1983
  readonly input: {
1893
1984
  readonly encoding: "application/json";
1894
1985
  readonly schema: {
@@ -1920,8 +2011,15 @@ export declare const schemaDict: {
1920
2011
  };
1921
2012
  };
1922
2013
  readonly errors: [{
1923
- readonly name: "TODO";
1924
- readonly description: "TODO";
2014
+ readonly name: "RateLimitExceeded";
2015
+ }, {
2016
+ readonly name: "InvalidDid";
2017
+ }, {
2018
+ readonly name: "InvalidPhone";
2019
+ }, {
2020
+ readonly name: "InvalidCode";
2021
+ }, {
2022
+ readonly name: "InternalError";
1925
2023
  }];
1926
2024
  };
1927
2025
  };
@@ -6281,7 +6379,7 @@ export declare const schemaDict: {
6281
6379
  readonly reason: {
6282
6380
  readonly type: "string";
6283
6381
  readonly description: "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.";
6284
- readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified", "like-via-repost", "repost-via-repost", "subscribed-post"];
6382
+ readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified", "like-via-repost", "repost-via-repost", "subscribed-post", "contact-match"];
6285
6383
  };
6286
6384
  readonly reasonSubject: {
6287
6385
  readonly type: "string";
@@ -18641,7 +18739,7 @@ export declare const schemas: ({
18641
18739
  readonly type: "array";
18642
18740
  readonly items: {
18643
18741
  readonly type: "union";
18644
- readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
18742
+ readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
18645
18743
  };
18646
18744
  };
18647
18745
  readonly adultContentPref: {
@@ -18737,6 +18835,24 @@ export declare const schemas: ({
18737
18835
  };
18738
18836
  };
18739
18837
  };
18838
+ readonly declaredAgePref: {
18839
+ readonly type: "object";
18840
+ readonly description: "Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration.";
18841
+ readonly properties: {
18842
+ readonly isOverAge13: {
18843
+ readonly type: "boolean";
18844
+ readonly description: "Indicates if the user has declared that they are over 13 years of age.";
18845
+ };
18846
+ readonly isOverAge16: {
18847
+ readonly type: "boolean";
18848
+ readonly description: "Indicates if the user has declared that they are over 16 years of age.";
18849
+ };
18850
+ readonly isOverAge18: {
18851
+ readonly type: "boolean";
18852
+ readonly description: "Indicates if the user has declared that they are over 18 years of age.";
18853
+ };
18854
+ };
18855
+ };
18740
18856
  readonly feedViewPref: {
18741
18857
  readonly type: "object";
18742
18858
  readonly required: ["feed"];
@@ -19893,6 +20009,23 @@ export declare const schemas: ({
19893
20009
  };
19894
20010
  };
19895
20011
  };
20012
+ readonly notification: {
20013
+ readonly description: "A stash object to be sent via bsync representing a notification to be created.";
20014
+ readonly type: "object";
20015
+ readonly required: ["from", "to"];
20016
+ readonly properties: {
20017
+ readonly from: {
20018
+ readonly description: "The DID of who this notification comes from.";
20019
+ readonly type: "string";
20020
+ readonly format: "did";
20021
+ };
20022
+ readonly to: {
20023
+ readonly description: "The DID of who this notification should go to.";
20024
+ readonly type: "string";
20025
+ readonly format: "did";
20026
+ };
20027
+ };
20028
+ };
19896
20029
  };
19897
20030
  } | {
19898
20031
  readonly lexicon: 1;
@@ -19900,7 +20033,7 @@ export declare const schemas: ({
19900
20033
  readonly defs: {
19901
20034
  readonly main: {
19902
20035
  readonly type: "procedure";
19903
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.";
20036
+ readonly description: "Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.";
19904
20037
  readonly input: {
19905
20038
  readonly encoding: "application/json";
19906
20039
  readonly schema: {
@@ -19923,8 +20056,9 @@ export declare const schemas: ({
19923
20056
  };
19924
20057
  };
19925
20058
  readonly errors: [{
19926
- readonly name: "TODO";
19927
- readonly description: "TODO";
20059
+ readonly name: "InvalidDid";
20060
+ }, {
20061
+ readonly name: "InternalError";
19928
20062
  }];
19929
20063
  };
19930
20064
  };
@@ -19934,7 +20068,7 @@ export declare const schemas: ({
19934
20068
  readonly defs: {
19935
20069
  readonly main: {
19936
20070
  readonly type: "query";
19937
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.";
20071
+ readonly description: "Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.";
19938
20072
  readonly parameters: {
19939
20073
  readonly type: "params";
19940
20074
  readonly properties: {
@@ -19969,8 +20103,13 @@ export declare const schemas: ({
19969
20103
  };
19970
20104
  };
19971
20105
  readonly errors: [{
19972
- readonly name: "TODO";
19973
- readonly description: "TODO";
20106
+ readonly name: "InvalidDid";
20107
+ }, {
20108
+ readonly name: "InvalidLimit";
20109
+ }, {
20110
+ readonly name: "InvalidCursor";
20111
+ }, {
20112
+ readonly name: "InternalError";
19974
20113
  }];
19975
20114
  };
19976
20115
  };
@@ -19980,7 +20119,7 @@ export declare const schemas: ({
19980
20119
  readonly defs: {
19981
20120
  readonly main: {
19982
20121
  readonly type: "query";
19983
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Gets the user's current contact import status. Requires authentication.";
20122
+ readonly description: "Gets the user's current contact import status. Requires authentication.";
19984
20123
  readonly parameters: {
19985
20124
  readonly type: "params";
19986
20125
  readonly properties: {};
@@ -19999,8 +20138,9 @@ export declare const schemas: ({
19999
20138
  };
20000
20139
  };
20001
20140
  readonly errors: [{
20002
- readonly name: "TODO";
20003
- readonly description: "TODO";
20141
+ readonly name: "InvalidDid";
20142
+ }, {
20143
+ readonly name: "InternalError";
20004
20144
  }];
20005
20145
  };
20006
20146
  };
@@ -20010,7 +20150,7 @@ export declare const schemas: ({
20010
20150
  readonly defs: {
20011
20151
  readonly main: {
20012
20152
  readonly type: "procedure";
20013
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.";
20153
+ readonly description: "Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.";
20014
20154
  readonly input: {
20015
20155
  readonly encoding: "application/json";
20016
20156
  readonly schema: {
@@ -20051,8 +20191,15 @@ export declare const schemas: ({
20051
20191
  };
20052
20192
  };
20053
20193
  readonly errors: [{
20054
- readonly name: "TODO";
20055
- readonly description: "TODO";
20194
+ readonly name: "InvalidDid";
20195
+ }, {
20196
+ readonly name: "InvalidContacts";
20197
+ }, {
20198
+ readonly name: "TooManyContacts";
20199
+ }, {
20200
+ readonly name: "InvalidToken";
20201
+ }, {
20202
+ readonly name: "InternalError";
20056
20203
  }];
20057
20204
  };
20058
20205
  };
@@ -20062,7 +20209,7 @@ export declare const schemas: ({
20062
20209
  readonly defs: {
20063
20210
  readonly main: {
20064
20211
  readonly type: "procedure";
20065
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.";
20212
+ readonly description: "Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.";
20066
20213
  readonly input: {
20067
20214
  readonly encoding: "application/json";
20068
20215
  readonly schema: {
@@ -20078,18 +20225,54 @@ export declare const schemas: ({
20078
20225
  };
20079
20226
  };
20080
20227
  readonly errors: [{
20081
- readonly name: "TODO";
20082
- readonly description: "TODO";
20228
+ readonly name: "InvalidDid";
20229
+ }, {
20230
+ readonly name: "InternalError";
20083
20231
  }];
20084
20232
  };
20085
20233
  };
20234
+ } | {
20235
+ readonly lexicon: 1;
20236
+ readonly id: "app.bsky.contact.sendNotification";
20237
+ readonly defs: {
20238
+ readonly main: {
20239
+ readonly type: "procedure";
20240
+ readonly description: "System endpoint to send notifications related to contact imports. Requires role authentication.";
20241
+ readonly input: {
20242
+ readonly encoding: "application/json";
20243
+ readonly schema: {
20244
+ readonly type: "object";
20245
+ readonly required: ["from", "to"];
20246
+ readonly properties: {
20247
+ readonly from: {
20248
+ readonly description: "The DID of who this notification comes from.";
20249
+ readonly type: "string";
20250
+ readonly format: "did";
20251
+ };
20252
+ readonly to: {
20253
+ readonly description: "The DID of who this notification should go to.";
20254
+ readonly type: "string";
20255
+ readonly format: "did";
20256
+ };
20257
+ };
20258
+ };
20259
+ };
20260
+ readonly output: {
20261
+ readonly encoding: "application/json";
20262
+ readonly schema: {
20263
+ readonly type: "object";
20264
+ readonly properties: {};
20265
+ };
20266
+ };
20267
+ };
20268
+ };
20086
20269
  } | {
20087
20270
  readonly lexicon: 1;
20088
20271
  readonly id: "app.bsky.contact.startPhoneVerification";
20089
20272
  readonly defs: {
20090
20273
  readonly main: {
20091
20274
  readonly type: "procedure";
20092
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.";
20275
+ readonly description: "Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication.";
20093
20276
  readonly input: {
20094
20277
  readonly encoding: "application/json";
20095
20278
  readonly schema: {
@@ -20111,8 +20294,13 @@ export declare const schemas: ({
20111
20294
  };
20112
20295
  };
20113
20296
  readonly errors: [{
20114
- readonly name: "TODO";
20115
- readonly description: "TODO";
20297
+ readonly name: "RateLimitExceeded";
20298
+ }, {
20299
+ readonly name: "InvalidDid";
20300
+ }, {
20301
+ readonly name: "InvalidPhone";
20302
+ }, {
20303
+ readonly name: "InternalError";
20116
20304
  }];
20117
20305
  };
20118
20306
  };
@@ -20122,7 +20310,7 @@ export declare const schemas: ({
20122
20310
  readonly defs: {
20123
20311
  readonly main: {
20124
20312
  readonly type: "procedure";
20125
- readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.";
20313
+ readonly description: "Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.";
20126
20314
  readonly input: {
20127
20315
  readonly encoding: "application/json";
20128
20316
  readonly schema: {
@@ -20154,8 +20342,15 @@ export declare const schemas: ({
20154
20342
  };
20155
20343
  };
20156
20344
  readonly errors: [{
20157
- readonly name: "TODO";
20158
- readonly description: "TODO";
20345
+ readonly name: "RateLimitExceeded";
20346
+ }, {
20347
+ readonly name: "InvalidDid";
20348
+ }, {
20349
+ readonly name: "InvalidPhone";
20350
+ }, {
20351
+ readonly name: "InvalidCode";
20352
+ }, {
20353
+ readonly name: "InternalError";
20159
20354
  }];
20160
20355
  };
20161
20356
  };
@@ -24444,7 +24639,7 @@ export declare const schemas: ({
24444
24639
  readonly reason: {
24445
24640
  readonly type: "string";
24446
24641
  readonly description: "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.";
24447
- readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified", "like-via-repost", "repost-via-repost", "subscribed-post"];
24642
+ readonly knownValues: ["like", "repost", "follow", "mention", "reply", "quote", "starterpack-joined", "verified", "unverified", "like-via-repost", "repost-via-repost", "subscribed-post", "contact-match"];
24448
24643
  };
24449
24644
  readonly reasonSubject: {
24450
24645
  readonly type: "string";
@@ -36248,6 +36443,7 @@ export declare const ids: {
36248
36443
  readonly AppBskyContactGetSyncStatus: "app.bsky.contact.getSyncStatus";
36249
36444
  readonly AppBskyContactImportContacts: "app.bsky.contact.importContacts";
36250
36445
  readonly AppBskyContactRemoveData: "app.bsky.contact.removeData";
36446
+ readonly AppBskyContactSendNotification: "app.bsky.contact.sendNotification";
36251
36447
  readonly AppBskyContactStartPhoneVerification: "app.bsky.contact.startPhoneVerification";
36252
36448
  readonly AppBskyContactVerifyPhone: "app.bsky.contact.verifyPhone";
36253
36449
  readonly AppBskyEmbedDefs: "app.bsky.embed.defs";