@atproto/api 0.18.6 → 0.18.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.
- package/CHANGELOG.md +14 -0
- package/dist/client/lexicons.d.ts +100 -46
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +67 -22
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/contact/dismissMatch.d.ts +4 -1
- package/dist/client/types/app/bsky/contact/dismissMatch.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/dismissMatch.js +13 -5
- package/dist/client/types/app/bsky/contact/dismissMatch.js.map +1 -1
- package/dist/client/types/app/bsky/contact/getMatches.d.ts +10 -1
- package/dist/client/types/app/bsky/contact/getMatches.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/getMatches.js +29 -5
- package/dist/client/types/app/bsky/contact/getMatches.js.map +1 -1
- package/dist/client/types/app/bsky/contact/getSyncStatus.d.ts +4 -1
- package/dist/client/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/getSyncStatus.js +13 -5
- package/dist/client/types/app/bsky/contact/getSyncStatus.js.map +1 -1
- package/dist/client/types/app/bsky/contact/importContacts.d.ts +13 -1
- package/dist/client/types/app/bsky/contact/importContacts.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/importContacts.js +37 -5
- package/dist/client/types/app/bsky/contact/importContacts.js.map +1 -1
- package/dist/client/types/app/bsky/contact/removeData.d.ts +4 -1
- package/dist/client/types/app/bsky/contact/removeData.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/removeData.js +13 -5
- package/dist/client/types/app/bsky/contact/removeData.js.map +1 -1
- package/dist/client/types/app/bsky/contact/startPhoneVerification.d.ts +10 -1
- package/dist/client/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/startPhoneVerification.js +29 -5
- package/dist/client/types/app/bsky/contact/startPhoneVerification.js.map +1 -1
- package/dist/client/types/app/bsky/contact/verifyPhone.d.ts +13 -1
- package/dist/client/types/app/bsky/contact/verifyPhone.d.ts.map +1 -1
- package/dist/client/types/app/bsky/contact/verifyPhone.js +37 -5
- package/dist/client/types/app/bsky/contact/verifyPhone.js.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/package.json +1 -1
- package/src/client/lexicons.ts +67 -22
- package/src/client/types/app/bsky/contact/dismissMatch.ts +9 -2
- package/src/client/types/app/bsky/contact/getMatches.ts +23 -2
- package/src/client/types/app/bsky/contact/getSyncStatus.ts +9 -2
- package/src/client/types/app/bsky/contact/importContacts.ts +30 -2
- package/src/client/types/app/bsky/contact/removeData.ts +9 -2
- package/src/client/types/app/bsky/contact/startPhoneVerification.ts +23 -2
- package/src/client/types/app/bsky/contact/verifyPhone.ts +30 -2
- package/src/client/types/app/bsky/notification/listNotifications.ts +1 -0
package/dist/client/lexicons.js
CHANGED
|
@@ -1748,7 +1748,7 @@ exports.schemaDict = {
|
|
|
1748
1748
|
defs: {
|
|
1749
1749
|
main: {
|
|
1750
1750
|
type: 'procedure',
|
|
1751
|
-
description: "
|
|
1751
|
+
description: "Removes a match that was found via contact import. It shouldn't appear again if the same contact is re-imported. Requires authentication.",
|
|
1752
1752
|
input: {
|
|
1753
1753
|
encoding: 'application/json',
|
|
1754
1754
|
schema: {
|
|
@@ -1772,8 +1772,10 @@ exports.schemaDict = {
|
|
|
1772
1772
|
},
|
|
1773
1773
|
errors: [
|
|
1774
1774
|
{
|
|
1775
|
-
name: '
|
|
1776
|
-
|
|
1775
|
+
name: 'InvalidDid',
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
name: 'InternalError',
|
|
1777
1779
|
},
|
|
1778
1780
|
],
|
|
1779
1781
|
},
|
|
@@ -1785,7 +1787,7 @@ exports.schemaDict = {
|
|
|
1785
1787
|
defs: {
|
|
1786
1788
|
main: {
|
|
1787
1789
|
type: 'query',
|
|
1788
|
-
description:
|
|
1790
|
+
description: 'Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.',
|
|
1789
1791
|
parameters: {
|
|
1790
1792
|
type: 'params',
|
|
1791
1793
|
properties: {
|
|
@@ -1821,8 +1823,16 @@ exports.schemaDict = {
|
|
|
1821
1823
|
},
|
|
1822
1824
|
errors: [
|
|
1823
1825
|
{
|
|
1824
|
-
name: '
|
|
1825
|
-
|
|
1826
|
+
name: 'InvalidDid',
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
name: 'InvalidLimit',
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
name: 'InvalidCursor',
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
name: 'InternalError',
|
|
1826
1836
|
},
|
|
1827
1837
|
],
|
|
1828
1838
|
},
|
|
@@ -1834,7 +1844,7 @@ exports.schemaDict = {
|
|
|
1834
1844
|
defs: {
|
|
1835
1845
|
main: {
|
|
1836
1846
|
type: 'query',
|
|
1837
|
-
description: "
|
|
1847
|
+
description: "Gets the user's current contact import status. Requires authentication.",
|
|
1838
1848
|
parameters: {
|
|
1839
1849
|
type: 'params',
|
|
1840
1850
|
properties: {},
|
|
@@ -1854,8 +1864,10 @@ exports.schemaDict = {
|
|
|
1854
1864
|
},
|
|
1855
1865
|
errors: [
|
|
1856
1866
|
{
|
|
1857
|
-
name: '
|
|
1858
|
-
|
|
1867
|
+
name: 'InvalidDid',
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
name: 'InternalError',
|
|
1859
1871
|
},
|
|
1860
1872
|
],
|
|
1861
1873
|
},
|
|
@@ -1867,7 +1879,7 @@ exports.schemaDict = {
|
|
|
1867
1879
|
defs: {
|
|
1868
1880
|
main: {
|
|
1869
1881
|
type: 'procedure',
|
|
1870
|
-
description:
|
|
1882
|
+
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.',
|
|
1871
1883
|
input: {
|
|
1872
1884
|
encoding: 'application/json',
|
|
1873
1885
|
schema: {
|
|
@@ -1909,8 +1921,19 @@ exports.schemaDict = {
|
|
|
1909
1921
|
},
|
|
1910
1922
|
errors: [
|
|
1911
1923
|
{
|
|
1912
|
-
name: '
|
|
1913
|
-
|
|
1924
|
+
name: 'InvalidDid',
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
name: 'InvalidContacts',
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
name: 'TooManyContacts',
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
name: 'InvalidToken',
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
name: 'InternalError',
|
|
1914
1937
|
},
|
|
1915
1938
|
],
|
|
1916
1939
|
},
|
|
@@ -1922,7 +1945,7 @@ exports.schemaDict = {
|
|
|
1922
1945
|
defs: {
|
|
1923
1946
|
main: {
|
|
1924
1947
|
type: 'procedure',
|
|
1925
|
-
description:
|
|
1948
|
+
description: 'Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.',
|
|
1926
1949
|
input: {
|
|
1927
1950
|
encoding: 'application/json',
|
|
1928
1951
|
schema: {
|
|
@@ -1939,8 +1962,10 @@ exports.schemaDict = {
|
|
|
1939
1962
|
},
|
|
1940
1963
|
errors: [
|
|
1941
1964
|
{
|
|
1942
|
-
name: '
|
|
1943
|
-
|
|
1965
|
+
name: 'InvalidDid',
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
name: 'InternalError',
|
|
1944
1969
|
},
|
|
1945
1970
|
],
|
|
1946
1971
|
},
|
|
@@ -1952,7 +1977,7 @@ exports.schemaDict = {
|
|
|
1952
1977
|
defs: {
|
|
1953
1978
|
main: {
|
|
1954
1979
|
type: 'procedure',
|
|
1955
|
-
description:
|
|
1980
|
+
description: 'System endpoint to send notifications related to contact imports. Requires role authentication.',
|
|
1956
1981
|
input: {
|
|
1957
1982
|
encoding: 'application/json',
|
|
1958
1983
|
schema: {
|
|
@@ -1988,7 +2013,7 @@ exports.schemaDict = {
|
|
|
1988
2013
|
defs: {
|
|
1989
2014
|
main: {
|
|
1990
2015
|
type: 'procedure',
|
|
1991
|
-
description:
|
|
2016
|
+
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.',
|
|
1992
2017
|
input: {
|
|
1993
2018
|
encoding: 'application/json',
|
|
1994
2019
|
schema: {
|
|
@@ -2011,8 +2036,16 @@ exports.schemaDict = {
|
|
|
2011
2036
|
},
|
|
2012
2037
|
errors: [
|
|
2013
2038
|
{
|
|
2014
|
-
name: '
|
|
2015
|
-
|
|
2039
|
+
name: 'RateLimitExceeded',
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
name: 'InvalidDid',
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
name: 'InvalidPhone',
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
name: 'InternalError',
|
|
2016
2049
|
},
|
|
2017
2050
|
],
|
|
2018
2051
|
},
|
|
@@ -2024,7 +2057,7 @@ exports.schemaDict = {
|
|
|
2024
2057
|
defs: {
|
|
2025
2058
|
main: {
|
|
2026
2059
|
type: 'procedure',
|
|
2027
|
-
description:
|
|
2060
|
+
description: 'Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.',
|
|
2028
2061
|
input: {
|
|
2029
2062
|
encoding: 'application/json',
|
|
2030
2063
|
schema: {
|
|
@@ -2057,8 +2090,19 @@ exports.schemaDict = {
|
|
|
2057
2090
|
},
|
|
2058
2091
|
errors: [
|
|
2059
2092
|
{
|
|
2060
|
-
name: '
|
|
2061
|
-
|
|
2093
|
+
name: 'RateLimitExceeded',
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
name: 'InvalidDid',
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
name: 'InvalidPhone',
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
name: 'InvalidCode',
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
name: 'InternalError',
|
|
2062
2106
|
},
|
|
2063
2107
|
],
|
|
2064
2108
|
},
|
|
@@ -6573,6 +6617,7 @@ exports.schemaDict = {
|
|
|
6573
6617
|
'like-via-repost',
|
|
6574
6618
|
'repost-via-repost',
|
|
6575
6619
|
'subscribed-post',
|
|
6620
|
+
'contact-match',
|
|
6576
6621
|
],
|
|
6577
6622
|
},
|
|
6578
6623
|
reasonSubject: {
|