@atproto/pds 0.4.197 → 0.4.199
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 +26 -0
- package/dist/actor-store/preference/reader.d.ts.map +1 -1
- package/dist/actor-store/preference/reader.js +15 -2
- package/dist/actor-store/preference/reader.js.map +1 -1
- package/dist/actor-store/preference/transactor.d.ts.map +1 -1
- package/dist/actor-store/preference/transactor.js +3 -1
- package/dist/actor-store/preference/transactor.js.map +1 -1
- package/dist/actor-store/preference/util.d.ts +4 -0
- package/dist/actor-store/preference/util.d.ts.map +1 -1
- package/dist/actor-store/preference/util.js +20 -3
- package/dist/actor-store/preference/util.js.map +1 -1
- package/dist/lexicon/index.d.ts +21 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +52 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +812 -2
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +429 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +13 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/contact/defs.d.ts +34 -0
- package/dist/lexicon/types/app/bsky/contact/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/defs.js +34 -0
- package/dist/lexicon/types/app/bsky/contact/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts +21 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts +30 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.d.ts +23 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/sendNotification.d.ts +26 -0
- package/dist/lexicon/types/app/bsky/contact/sendNotification.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/sendNotification.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/sendNotification.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +8 -0
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/package.json +14 -14
- package/src/actor-store/preference/reader.ts +27 -3
- package/src/actor-store/preference/transactor.ts +9 -7
- package/src/actor-store/preference/util.ts +21 -3
- package/src/lexicon/index.ts +114 -0
- package/src/lexicon/lexicons.ts +456 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +22 -0
- package/src/lexicon/types/app/bsky/contact/defs.ts +71 -0
- package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/getMatches.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +39 -0
- package/src/lexicon/types/app/bsky/contact/importContacts.ts +49 -0
- package/src/lexicon/types/app/bsky/contact/removeData.ts +40 -0
- package/src/lexicon/types/app/bsky/contact/sendNotification.ts +44 -0
- package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +48 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +8 -0
- package/tests/preferences.test.ts +96 -1
- 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"];
|
|
@@ -1614,6 +1632,371 @@ export declare const schemaDict: {
|
|
|
1614
1632
|
};
|
|
1615
1633
|
};
|
|
1616
1634
|
};
|
|
1635
|
+
readonly AppBskyContactDefs: {
|
|
1636
|
+
readonly lexicon: 1;
|
|
1637
|
+
readonly id: "app.bsky.contact.defs";
|
|
1638
|
+
readonly defs: {
|
|
1639
|
+
readonly matchAndContactIndex: {
|
|
1640
|
+
readonly description: "Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match.";
|
|
1641
|
+
readonly type: "object";
|
|
1642
|
+
readonly required: ["match", "contactIndex"];
|
|
1643
|
+
readonly properties: {
|
|
1644
|
+
readonly match: {
|
|
1645
|
+
readonly description: "Profile of the matched user.";
|
|
1646
|
+
readonly type: "ref";
|
|
1647
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
1648
|
+
};
|
|
1649
|
+
readonly contactIndex: {
|
|
1650
|
+
readonly description: "The index of this match in the import contact input.";
|
|
1651
|
+
readonly type: "integer";
|
|
1652
|
+
readonly minimum: 0;
|
|
1653
|
+
readonly maximum: 999;
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
readonly syncStatus: {
|
|
1658
|
+
readonly type: "object";
|
|
1659
|
+
readonly required: ["syncedAt", "matchesCount"];
|
|
1660
|
+
readonly properties: {
|
|
1661
|
+
readonly syncedAt: {
|
|
1662
|
+
readonly description: "Last date when contacts where imported.";
|
|
1663
|
+
readonly type: "string";
|
|
1664
|
+
readonly format: "datetime";
|
|
1665
|
+
};
|
|
1666
|
+
readonly matchesCount: {
|
|
1667
|
+
readonly description: "Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match.";
|
|
1668
|
+
readonly type: "integer";
|
|
1669
|
+
readonly minimum: 0;
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
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
|
+
};
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
readonly AppBskyContactDismissMatch: {
|
|
1693
|
+
readonly lexicon: 1;
|
|
1694
|
+
readonly id: "app.bsky.contact.dismissMatch";
|
|
1695
|
+
readonly defs: {
|
|
1696
|
+
readonly main: {
|
|
1697
|
+
readonly type: "procedure";
|
|
1698
|
+
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.";
|
|
1699
|
+
readonly input: {
|
|
1700
|
+
readonly encoding: "application/json";
|
|
1701
|
+
readonly schema: {
|
|
1702
|
+
readonly type: "object";
|
|
1703
|
+
readonly required: ["subject"];
|
|
1704
|
+
readonly properties: {
|
|
1705
|
+
readonly subject: {
|
|
1706
|
+
readonly description: "The subject's DID to dismiss the match with.";
|
|
1707
|
+
readonly type: "string";
|
|
1708
|
+
readonly format: "did";
|
|
1709
|
+
};
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
readonly output: {
|
|
1714
|
+
readonly encoding: "application/json";
|
|
1715
|
+
readonly schema: {
|
|
1716
|
+
readonly type: "object";
|
|
1717
|
+
readonly properties: {};
|
|
1718
|
+
};
|
|
1719
|
+
};
|
|
1720
|
+
readonly errors: [{
|
|
1721
|
+
readonly name: "TODO";
|
|
1722
|
+
readonly description: "TODO";
|
|
1723
|
+
}];
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
readonly AppBskyContactGetMatches: {
|
|
1728
|
+
readonly lexicon: 1;
|
|
1729
|
+
readonly id: "app.bsky.contact.getMatches";
|
|
1730
|
+
readonly defs: {
|
|
1731
|
+
readonly main: {
|
|
1732
|
+
readonly type: "query";
|
|
1733
|
+
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 parameters: {
|
|
1735
|
+
readonly type: "params";
|
|
1736
|
+
readonly properties: {
|
|
1737
|
+
readonly limit: {
|
|
1738
|
+
readonly type: "integer";
|
|
1739
|
+
readonly minimum: 1;
|
|
1740
|
+
readonly maximum: 100;
|
|
1741
|
+
readonly default: 50;
|
|
1742
|
+
};
|
|
1743
|
+
readonly cursor: {
|
|
1744
|
+
readonly type: "string";
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
readonly output: {
|
|
1749
|
+
readonly encoding: "application/json";
|
|
1750
|
+
readonly schema: {
|
|
1751
|
+
readonly type: "object";
|
|
1752
|
+
readonly required: ["matches"];
|
|
1753
|
+
readonly properties: {
|
|
1754
|
+
readonly cursor: {
|
|
1755
|
+
readonly type: "string";
|
|
1756
|
+
};
|
|
1757
|
+
readonly matches: {
|
|
1758
|
+
readonly type: "array";
|
|
1759
|
+
readonly items: {
|
|
1760
|
+
readonly type: "ref";
|
|
1761
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
readonly errors: [{
|
|
1768
|
+
readonly name: "TODO";
|
|
1769
|
+
readonly description: "TODO";
|
|
1770
|
+
}];
|
|
1771
|
+
};
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
readonly AppBskyContactGetSyncStatus: {
|
|
1775
|
+
readonly lexicon: 1;
|
|
1776
|
+
readonly id: "app.bsky.contact.getSyncStatus";
|
|
1777
|
+
readonly defs: {
|
|
1778
|
+
readonly main: {
|
|
1779
|
+
readonly type: "query";
|
|
1780
|
+
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.";
|
|
1781
|
+
readonly parameters: {
|
|
1782
|
+
readonly type: "params";
|
|
1783
|
+
readonly properties: {};
|
|
1784
|
+
};
|
|
1785
|
+
readonly output: {
|
|
1786
|
+
readonly encoding: "application/json";
|
|
1787
|
+
readonly schema: {
|
|
1788
|
+
readonly type: "object";
|
|
1789
|
+
readonly properties: {
|
|
1790
|
+
readonly syncStatus: {
|
|
1791
|
+
readonly description: "If present, indicates the user has imported their contacts. If not present, indicates the user never used the feature or called `app.bsky.contact.removeData` and didn't import again since.";
|
|
1792
|
+
readonly type: "ref";
|
|
1793
|
+
readonly ref: "lex:app.bsky.contact.defs#syncStatus";
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1798
|
+
readonly errors: [{
|
|
1799
|
+
readonly name: "TODO";
|
|
1800
|
+
readonly description: "TODO";
|
|
1801
|
+
}];
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
readonly AppBskyContactImportContacts: {
|
|
1806
|
+
readonly lexicon: 1;
|
|
1807
|
+
readonly id: "app.bsky.contact.importContacts";
|
|
1808
|
+
readonly defs: {
|
|
1809
|
+
readonly main: {
|
|
1810
|
+
readonly type: "procedure";
|
|
1811
|
+
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.";
|
|
1812
|
+
readonly input: {
|
|
1813
|
+
readonly encoding: "application/json";
|
|
1814
|
+
readonly schema: {
|
|
1815
|
+
readonly type: "object";
|
|
1816
|
+
readonly required: ["token", "contacts"];
|
|
1817
|
+
readonly properties: {
|
|
1818
|
+
readonly token: {
|
|
1819
|
+
readonly description: "JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.";
|
|
1820
|
+
readonly type: "string";
|
|
1821
|
+
};
|
|
1822
|
+
readonly contacts: {
|
|
1823
|
+
readonly description: "List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`.";
|
|
1824
|
+
readonly type: "array";
|
|
1825
|
+
readonly items: {
|
|
1826
|
+
readonly type: "string";
|
|
1827
|
+
};
|
|
1828
|
+
readonly minLength: 1;
|
|
1829
|
+
readonly maxLength: 1000;
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
readonly output: {
|
|
1835
|
+
readonly encoding: "application/json";
|
|
1836
|
+
readonly schema: {
|
|
1837
|
+
readonly type: "object";
|
|
1838
|
+
readonly required: ["matchesAndContactIndexes"];
|
|
1839
|
+
readonly properties: {
|
|
1840
|
+
readonly matchesAndContactIndexes: {
|
|
1841
|
+
readonly description: "The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.";
|
|
1842
|
+
readonly type: "array";
|
|
1843
|
+
readonly items: {
|
|
1844
|
+
readonly type: "ref";
|
|
1845
|
+
readonly ref: "lex:app.bsky.contact.defs#matchAndContactIndex";
|
|
1846
|
+
};
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
};
|
|
1851
|
+
readonly errors: [{
|
|
1852
|
+
readonly name: "TODO";
|
|
1853
|
+
readonly description: "TODO";
|
|
1854
|
+
}];
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
readonly AppBskyContactRemoveData: {
|
|
1859
|
+
readonly lexicon: 1;
|
|
1860
|
+
readonly id: "app.bsky.contact.removeData";
|
|
1861
|
+
readonly defs: {
|
|
1862
|
+
readonly main: {
|
|
1863
|
+
readonly type: "procedure";
|
|
1864
|
+
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.";
|
|
1865
|
+
readonly input: {
|
|
1866
|
+
readonly encoding: "application/json";
|
|
1867
|
+
readonly schema: {
|
|
1868
|
+
readonly type: "object";
|
|
1869
|
+
readonly properties: {};
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
readonly output: {
|
|
1873
|
+
readonly encoding: "application/json";
|
|
1874
|
+
readonly schema: {
|
|
1875
|
+
readonly type: "object";
|
|
1876
|
+
readonly properties: {};
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
readonly errors: [{
|
|
1880
|
+
readonly name: "TODO";
|
|
1881
|
+
readonly description: "TODO";
|
|
1882
|
+
}];
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
readonly AppBskyContactSendNotification: {
|
|
1887
|
+
readonly lexicon: 1;
|
|
1888
|
+
readonly id: "app.bsky.contact.sendNotification";
|
|
1889
|
+
readonly defs: {
|
|
1890
|
+
readonly main: {
|
|
1891
|
+
readonly type: "procedure";
|
|
1892
|
+
readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. System endpoint to send notifications related to contact imports. Requires role authentication.";
|
|
1893
|
+
readonly input: {
|
|
1894
|
+
readonly encoding: "application/json";
|
|
1895
|
+
readonly schema: {
|
|
1896
|
+
readonly type: "object";
|
|
1897
|
+
readonly required: ["from", "to"];
|
|
1898
|
+
readonly properties: {
|
|
1899
|
+
readonly from: {
|
|
1900
|
+
readonly description: "The DID of who this notification comes from.";
|
|
1901
|
+
readonly type: "string";
|
|
1902
|
+
readonly format: "did";
|
|
1903
|
+
};
|
|
1904
|
+
readonly to: {
|
|
1905
|
+
readonly description: "The DID of who this notification should go to.";
|
|
1906
|
+
readonly type: "string";
|
|
1907
|
+
readonly format: "did";
|
|
1908
|
+
};
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
readonly output: {
|
|
1913
|
+
readonly encoding: "application/json";
|
|
1914
|
+
readonly schema: {
|
|
1915
|
+
readonly type: "object";
|
|
1916
|
+
readonly properties: {};
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1921
|
+
};
|
|
1922
|
+
readonly AppBskyContactStartPhoneVerification: {
|
|
1923
|
+
readonly lexicon: 1;
|
|
1924
|
+
readonly id: "app.bsky.contact.startPhoneVerification";
|
|
1925
|
+
readonly defs: {
|
|
1926
|
+
readonly main: {
|
|
1927
|
+
readonly type: "procedure";
|
|
1928
|
+
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.";
|
|
1929
|
+
readonly input: {
|
|
1930
|
+
readonly encoding: "application/json";
|
|
1931
|
+
readonly schema: {
|
|
1932
|
+
readonly type: "object";
|
|
1933
|
+
readonly required: ["phone"];
|
|
1934
|
+
readonly properties: {
|
|
1935
|
+
readonly phone: {
|
|
1936
|
+
readonly description: "The phone number to receive the code via SMS.";
|
|
1937
|
+
readonly type: "string";
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
readonly output: {
|
|
1943
|
+
readonly encoding: "application/json";
|
|
1944
|
+
readonly schema: {
|
|
1945
|
+
readonly type: "object";
|
|
1946
|
+
readonly properties: {};
|
|
1947
|
+
};
|
|
1948
|
+
};
|
|
1949
|
+
readonly errors: [{
|
|
1950
|
+
readonly name: "TODO";
|
|
1951
|
+
readonly description: "TODO";
|
|
1952
|
+
}];
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
readonly AppBskyContactVerifyPhone: {
|
|
1957
|
+
readonly lexicon: 1;
|
|
1958
|
+
readonly id: "app.bsky.contact.verifyPhone";
|
|
1959
|
+
readonly defs: {
|
|
1960
|
+
readonly main: {
|
|
1961
|
+
readonly type: "procedure";
|
|
1962
|
+
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.";
|
|
1963
|
+
readonly input: {
|
|
1964
|
+
readonly encoding: "application/json";
|
|
1965
|
+
readonly schema: {
|
|
1966
|
+
readonly type: "object";
|
|
1967
|
+
readonly required: ["phone", "code"];
|
|
1968
|
+
readonly properties: {
|
|
1969
|
+
readonly phone: {
|
|
1970
|
+
readonly description: "The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.";
|
|
1971
|
+
readonly type: "string";
|
|
1972
|
+
};
|
|
1973
|
+
readonly code: {
|
|
1974
|
+
readonly description: "The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.";
|
|
1975
|
+
readonly type: "string";
|
|
1976
|
+
};
|
|
1977
|
+
};
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
readonly output: {
|
|
1981
|
+
readonly encoding: "application/json";
|
|
1982
|
+
readonly schema: {
|
|
1983
|
+
readonly type: "object";
|
|
1984
|
+
readonly required: ["token"];
|
|
1985
|
+
readonly properties: {
|
|
1986
|
+
readonly token: {
|
|
1987
|
+
readonly description: "JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.";
|
|
1988
|
+
readonly type: "string";
|
|
1989
|
+
};
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
1993
|
+
readonly errors: [{
|
|
1994
|
+
readonly name: "TODO";
|
|
1995
|
+
readonly description: "TODO";
|
|
1996
|
+
}];
|
|
1997
|
+
};
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
1617
2000
|
readonly AppBskyEmbedDefs: {
|
|
1618
2001
|
readonly lexicon: 1;
|
|
1619
2002
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -4147,6 +4530,26 @@ export declare const schemaDict: {
|
|
|
4147
4530
|
readonly format: "at-uri";
|
|
4148
4531
|
readonly description: "if the actor is followed by this DID, contains the AT-URI of the follow record";
|
|
4149
4532
|
};
|
|
4533
|
+
readonly blocking: {
|
|
4534
|
+
readonly type: "string";
|
|
4535
|
+
readonly format: "at-uri";
|
|
4536
|
+
readonly description: "if the actor blocks this DID, this is the AT-URI of the block record";
|
|
4537
|
+
};
|
|
4538
|
+
readonly blockedBy: {
|
|
4539
|
+
readonly type: "string";
|
|
4540
|
+
readonly format: "at-uri";
|
|
4541
|
+
readonly description: "if the actor is blocked by this DID, contains the AT-URI of the block record";
|
|
4542
|
+
};
|
|
4543
|
+
readonly blockingByList: {
|
|
4544
|
+
readonly type: "string";
|
|
4545
|
+
readonly format: "at-uri";
|
|
4546
|
+
readonly description: "if the actor blocks this DID via a block list, this is the AT-URI of the listblock record";
|
|
4547
|
+
};
|
|
4548
|
+
readonly blockedByList: {
|
|
4549
|
+
readonly type: "string";
|
|
4550
|
+
readonly format: "at-uri";
|
|
4551
|
+
readonly description: "if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record";
|
|
4552
|
+
};
|
|
4150
4553
|
};
|
|
4151
4554
|
};
|
|
4152
4555
|
};
|
|
@@ -14287,6 +14690,7 @@ export declare const schemaDict: {
|
|
|
14287
14690
|
};
|
|
14288
14691
|
readonly comment: {
|
|
14289
14692
|
readonly type: "string";
|
|
14693
|
+
readonly minLength: 1;
|
|
14290
14694
|
readonly description: "Comment describing the reason for the override.";
|
|
14291
14695
|
};
|
|
14292
14696
|
};
|
|
@@ -14297,6 +14701,7 @@ export declare const schemaDict: {
|
|
|
14297
14701
|
readonly required: ["comment"];
|
|
14298
14702
|
readonly properties: {
|
|
14299
14703
|
readonly comment: {
|
|
14704
|
+
readonly minLength: 1;
|
|
14300
14705
|
readonly type: "string";
|
|
14301
14706
|
readonly description: "Comment describing the reason for the revocation.";
|
|
14302
14707
|
};
|
|
@@ -18307,7 +18712,7 @@ export declare const schemas: ({
|
|
|
18307
18712
|
readonly type: "array";
|
|
18308
18713
|
readonly items: {
|
|
18309
18714
|
readonly type: "union";
|
|
18310
|
-
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"];
|
|
18715
|
+
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"];
|
|
18311
18716
|
};
|
|
18312
18717
|
};
|
|
18313
18718
|
readonly adultContentPref: {
|
|
@@ -18403,6 +18808,24 @@ export declare const schemas: ({
|
|
|
18403
18808
|
};
|
|
18404
18809
|
};
|
|
18405
18810
|
};
|
|
18811
|
+
readonly declaredAgePref: {
|
|
18812
|
+
readonly type: "object";
|
|
18813
|
+
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.";
|
|
18814
|
+
readonly properties: {
|
|
18815
|
+
readonly isOverAge13: {
|
|
18816
|
+
readonly type: "boolean";
|
|
18817
|
+
readonly description: "Indicates if the user has declared that they are over 13 years of age.";
|
|
18818
|
+
};
|
|
18819
|
+
readonly isOverAge16: {
|
|
18820
|
+
readonly type: "boolean";
|
|
18821
|
+
readonly description: "Indicates if the user has declared that they are over 16 years of age.";
|
|
18822
|
+
};
|
|
18823
|
+
readonly isOverAge18: {
|
|
18824
|
+
readonly type: "boolean";
|
|
18825
|
+
readonly description: "Indicates if the user has declared that they are over 18 years of age.";
|
|
18826
|
+
};
|
|
18827
|
+
};
|
|
18828
|
+
};
|
|
18406
18829
|
readonly feedViewPref: {
|
|
18407
18830
|
readonly type: "object";
|
|
18408
18831
|
readonly required: ["feed"];
|
|
@@ -19521,6 +19944,362 @@ export declare const schemas: ({
|
|
|
19521
19944
|
};
|
|
19522
19945
|
};
|
|
19523
19946
|
};
|
|
19947
|
+
} | {
|
|
19948
|
+
readonly lexicon: 1;
|
|
19949
|
+
readonly id: "app.bsky.contact.defs";
|
|
19950
|
+
readonly defs: {
|
|
19951
|
+
readonly matchAndContactIndex: {
|
|
19952
|
+
readonly description: "Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match.";
|
|
19953
|
+
readonly type: "object";
|
|
19954
|
+
readonly required: ["match", "contactIndex"];
|
|
19955
|
+
readonly properties: {
|
|
19956
|
+
readonly match: {
|
|
19957
|
+
readonly description: "Profile of the matched user.";
|
|
19958
|
+
readonly type: "ref";
|
|
19959
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
19960
|
+
};
|
|
19961
|
+
readonly contactIndex: {
|
|
19962
|
+
readonly description: "The index of this match in the import contact input.";
|
|
19963
|
+
readonly type: "integer";
|
|
19964
|
+
readonly minimum: 0;
|
|
19965
|
+
readonly maximum: 999;
|
|
19966
|
+
};
|
|
19967
|
+
};
|
|
19968
|
+
};
|
|
19969
|
+
readonly syncStatus: {
|
|
19970
|
+
readonly type: "object";
|
|
19971
|
+
readonly required: ["syncedAt", "matchesCount"];
|
|
19972
|
+
readonly properties: {
|
|
19973
|
+
readonly syncedAt: {
|
|
19974
|
+
readonly description: "Last date when contacts where imported.";
|
|
19975
|
+
readonly type: "string";
|
|
19976
|
+
readonly format: "datetime";
|
|
19977
|
+
};
|
|
19978
|
+
readonly matchesCount: {
|
|
19979
|
+
readonly description: "Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match.";
|
|
19980
|
+
readonly type: "integer";
|
|
19981
|
+
readonly minimum: 0;
|
|
19982
|
+
};
|
|
19983
|
+
};
|
|
19984
|
+
};
|
|
19985
|
+
readonly notification: {
|
|
19986
|
+
readonly description: "A stash object to be sent via bsync representing a notification to be created.";
|
|
19987
|
+
readonly type: "object";
|
|
19988
|
+
readonly required: ["from", "to"];
|
|
19989
|
+
readonly properties: {
|
|
19990
|
+
readonly from: {
|
|
19991
|
+
readonly description: "The DID of who this notification comes from.";
|
|
19992
|
+
readonly type: "string";
|
|
19993
|
+
readonly format: "did";
|
|
19994
|
+
};
|
|
19995
|
+
readonly to: {
|
|
19996
|
+
readonly description: "The DID of who this notification should go to.";
|
|
19997
|
+
readonly type: "string";
|
|
19998
|
+
readonly format: "did";
|
|
19999
|
+
};
|
|
20000
|
+
};
|
|
20001
|
+
};
|
|
20002
|
+
};
|
|
20003
|
+
} | {
|
|
20004
|
+
readonly lexicon: 1;
|
|
20005
|
+
readonly id: "app.bsky.contact.dismissMatch";
|
|
20006
|
+
readonly defs: {
|
|
20007
|
+
readonly main: {
|
|
20008
|
+
readonly type: "procedure";
|
|
20009
|
+
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.";
|
|
20010
|
+
readonly input: {
|
|
20011
|
+
readonly encoding: "application/json";
|
|
20012
|
+
readonly schema: {
|
|
20013
|
+
readonly type: "object";
|
|
20014
|
+
readonly required: ["subject"];
|
|
20015
|
+
readonly properties: {
|
|
20016
|
+
readonly subject: {
|
|
20017
|
+
readonly description: "The subject's DID to dismiss the match with.";
|
|
20018
|
+
readonly type: "string";
|
|
20019
|
+
readonly format: "did";
|
|
20020
|
+
};
|
|
20021
|
+
};
|
|
20022
|
+
};
|
|
20023
|
+
};
|
|
20024
|
+
readonly output: {
|
|
20025
|
+
readonly encoding: "application/json";
|
|
20026
|
+
readonly schema: {
|
|
20027
|
+
readonly type: "object";
|
|
20028
|
+
readonly properties: {};
|
|
20029
|
+
};
|
|
20030
|
+
};
|
|
20031
|
+
readonly errors: [{
|
|
20032
|
+
readonly name: "TODO";
|
|
20033
|
+
readonly description: "TODO";
|
|
20034
|
+
}];
|
|
20035
|
+
};
|
|
20036
|
+
};
|
|
20037
|
+
} | {
|
|
20038
|
+
readonly lexicon: 1;
|
|
20039
|
+
readonly id: "app.bsky.contact.getMatches";
|
|
20040
|
+
readonly defs: {
|
|
20041
|
+
readonly main: {
|
|
20042
|
+
readonly type: "query";
|
|
20043
|
+
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.";
|
|
20044
|
+
readonly parameters: {
|
|
20045
|
+
readonly type: "params";
|
|
20046
|
+
readonly properties: {
|
|
20047
|
+
readonly limit: {
|
|
20048
|
+
readonly type: "integer";
|
|
20049
|
+
readonly minimum: 1;
|
|
20050
|
+
readonly maximum: 100;
|
|
20051
|
+
readonly default: 50;
|
|
20052
|
+
};
|
|
20053
|
+
readonly cursor: {
|
|
20054
|
+
readonly type: "string";
|
|
20055
|
+
};
|
|
20056
|
+
};
|
|
20057
|
+
};
|
|
20058
|
+
readonly output: {
|
|
20059
|
+
readonly encoding: "application/json";
|
|
20060
|
+
readonly schema: {
|
|
20061
|
+
readonly type: "object";
|
|
20062
|
+
readonly required: ["matches"];
|
|
20063
|
+
readonly properties: {
|
|
20064
|
+
readonly cursor: {
|
|
20065
|
+
readonly type: "string";
|
|
20066
|
+
};
|
|
20067
|
+
readonly matches: {
|
|
20068
|
+
readonly type: "array";
|
|
20069
|
+
readonly items: {
|
|
20070
|
+
readonly type: "ref";
|
|
20071
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
20072
|
+
};
|
|
20073
|
+
};
|
|
20074
|
+
};
|
|
20075
|
+
};
|
|
20076
|
+
};
|
|
20077
|
+
readonly errors: [{
|
|
20078
|
+
readonly name: "TODO";
|
|
20079
|
+
readonly description: "TODO";
|
|
20080
|
+
}];
|
|
20081
|
+
};
|
|
20082
|
+
};
|
|
20083
|
+
} | {
|
|
20084
|
+
readonly lexicon: 1;
|
|
20085
|
+
readonly id: "app.bsky.contact.getSyncStatus";
|
|
20086
|
+
readonly defs: {
|
|
20087
|
+
readonly main: {
|
|
20088
|
+
readonly type: "query";
|
|
20089
|
+
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.";
|
|
20090
|
+
readonly parameters: {
|
|
20091
|
+
readonly type: "params";
|
|
20092
|
+
readonly properties: {};
|
|
20093
|
+
};
|
|
20094
|
+
readonly output: {
|
|
20095
|
+
readonly encoding: "application/json";
|
|
20096
|
+
readonly schema: {
|
|
20097
|
+
readonly type: "object";
|
|
20098
|
+
readonly properties: {
|
|
20099
|
+
readonly syncStatus: {
|
|
20100
|
+
readonly description: "If present, indicates the user has imported their contacts. If not present, indicates the user never used the feature or called `app.bsky.contact.removeData` and didn't import again since.";
|
|
20101
|
+
readonly type: "ref";
|
|
20102
|
+
readonly ref: "lex:app.bsky.contact.defs#syncStatus";
|
|
20103
|
+
};
|
|
20104
|
+
};
|
|
20105
|
+
};
|
|
20106
|
+
};
|
|
20107
|
+
readonly errors: [{
|
|
20108
|
+
readonly name: "TODO";
|
|
20109
|
+
readonly description: "TODO";
|
|
20110
|
+
}];
|
|
20111
|
+
};
|
|
20112
|
+
};
|
|
20113
|
+
} | {
|
|
20114
|
+
readonly lexicon: 1;
|
|
20115
|
+
readonly id: "app.bsky.contact.importContacts";
|
|
20116
|
+
readonly defs: {
|
|
20117
|
+
readonly main: {
|
|
20118
|
+
readonly type: "procedure";
|
|
20119
|
+
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.";
|
|
20120
|
+
readonly input: {
|
|
20121
|
+
readonly encoding: "application/json";
|
|
20122
|
+
readonly schema: {
|
|
20123
|
+
readonly type: "object";
|
|
20124
|
+
readonly required: ["token", "contacts"];
|
|
20125
|
+
readonly properties: {
|
|
20126
|
+
readonly token: {
|
|
20127
|
+
readonly description: "JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.";
|
|
20128
|
+
readonly type: "string";
|
|
20129
|
+
};
|
|
20130
|
+
readonly contacts: {
|
|
20131
|
+
readonly description: "List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`.";
|
|
20132
|
+
readonly type: "array";
|
|
20133
|
+
readonly items: {
|
|
20134
|
+
readonly type: "string";
|
|
20135
|
+
};
|
|
20136
|
+
readonly minLength: 1;
|
|
20137
|
+
readonly maxLength: 1000;
|
|
20138
|
+
};
|
|
20139
|
+
};
|
|
20140
|
+
};
|
|
20141
|
+
};
|
|
20142
|
+
readonly output: {
|
|
20143
|
+
readonly encoding: "application/json";
|
|
20144
|
+
readonly schema: {
|
|
20145
|
+
readonly type: "object";
|
|
20146
|
+
readonly required: ["matchesAndContactIndexes"];
|
|
20147
|
+
readonly properties: {
|
|
20148
|
+
readonly matchesAndContactIndexes: {
|
|
20149
|
+
readonly description: "The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.";
|
|
20150
|
+
readonly type: "array";
|
|
20151
|
+
readonly items: {
|
|
20152
|
+
readonly type: "ref";
|
|
20153
|
+
readonly ref: "lex:app.bsky.contact.defs#matchAndContactIndex";
|
|
20154
|
+
};
|
|
20155
|
+
};
|
|
20156
|
+
};
|
|
20157
|
+
};
|
|
20158
|
+
};
|
|
20159
|
+
readonly errors: [{
|
|
20160
|
+
readonly name: "TODO";
|
|
20161
|
+
readonly description: "TODO";
|
|
20162
|
+
}];
|
|
20163
|
+
};
|
|
20164
|
+
};
|
|
20165
|
+
} | {
|
|
20166
|
+
readonly lexicon: 1;
|
|
20167
|
+
readonly id: "app.bsky.contact.removeData";
|
|
20168
|
+
readonly defs: {
|
|
20169
|
+
readonly main: {
|
|
20170
|
+
readonly type: "procedure";
|
|
20171
|
+
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.";
|
|
20172
|
+
readonly input: {
|
|
20173
|
+
readonly encoding: "application/json";
|
|
20174
|
+
readonly schema: {
|
|
20175
|
+
readonly type: "object";
|
|
20176
|
+
readonly properties: {};
|
|
20177
|
+
};
|
|
20178
|
+
};
|
|
20179
|
+
readonly output: {
|
|
20180
|
+
readonly encoding: "application/json";
|
|
20181
|
+
readonly schema: {
|
|
20182
|
+
readonly type: "object";
|
|
20183
|
+
readonly properties: {};
|
|
20184
|
+
};
|
|
20185
|
+
};
|
|
20186
|
+
readonly errors: [{
|
|
20187
|
+
readonly name: "TODO";
|
|
20188
|
+
readonly description: "TODO";
|
|
20189
|
+
}];
|
|
20190
|
+
};
|
|
20191
|
+
};
|
|
20192
|
+
} | {
|
|
20193
|
+
readonly lexicon: 1;
|
|
20194
|
+
readonly id: "app.bsky.contact.sendNotification";
|
|
20195
|
+
readonly defs: {
|
|
20196
|
+
readonly main: {
|
|
20197
|
+
readonly type: "procedure";
|
|
20198
|
+
readonly description: "WARNING: This is unstable and under active development, don't use it while this warning is here. System endpoint to send notifications related to contact imports. Requires role authentication.";
|
|
20199
|
+
readonly input: {
|
|
20200
|
+
readonly encoding: "application/json";
|
|
20201
|
+
readonly schema: {
|
|
20202
|
+
readonly type: "object";
|
|
20203
|
+
readonly required: ["from", "to"];
|
|
20204
|
+
readonly properties: {
|
|
20205
|
+
readonly from: {
|
|
20206
|
+
readonly description: "The DID of who this notification comes from.";
|
|
20207
|
+
readonly type: "string";
|
|
20208
|
+
readonly format: "did";
|
|
20209
|
+
};
|
|
20210
|
+
readonly to: {
|
|
20211
|
+
readonly description: "The DID of who this notification should go to.";
|
|
20212
|
+
readonly type: "string";
|
|
20213
|
+
readonly format: "did";
|
|
20214
|
+
};
|
|
20215
|
+
};
|
|
20216
|
+
};
|
|
20217
|
+
};
|
|
20218
|
+
readonly output: {
|
|
20219
|
+
readonly encoding: "application/json";
|
|
20220
|
+
readonly schema: {
|
|
20221
|
+
readonly type: "object";
|
|
20222
|
+
readonly properties: {};
|
|
20223
|
+
};
|
|
20224
|
+
};
|
|
20225
|
+
};
|
|
20226
|
+
};
|
|
20227
|
+
} | {
|
|
20228
|
+
readonly lexicon: 1;
|
|
20229
|
+
readonly id: "app.bsky.contact.startPhoneVerification";
|
|
20230
|
+
readonly defs: {
|
|
20231
|
+
readonly main: {
|
|
20232
|
+
readonly type: "procedure";
|
|
20233
|
+
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.";
|
|
20234
|
+
readonly input: {
|
|
20235
|
+
readonly encoding: "application/json";
|
|
20236
|
+
readonly schema: {
|
|
20237
|
+
readonly type: "object";
|
|
20238
|
+
readonly required: ["phone"];
|
|
20239
|
+
readonly properties: {
|
|
20240
|
+
readonly phone: {
|
|
20241
|
+
readonly description: "The phone number to receive the code via SMS.";
|
|
20242
|
+
readonly type: "string";
|
|
20243
|
+
};
|
|
20244
|
+
};
|
|
20245
|
+
};
|
|
20246
|
+
};
|
|
20247
|
+
readonly output: {
|
|
20248
|
+
readonly encoding: "application/json";
|
|
20249
|
+
readonly schema: {
|
|
20250
|
+
readonly type: "object";
|
|
20251
|
+
readonly properties: {};
|
|
20252
|
+
};
|
|
20253
|
+
};
|
|
20254
|
+
readonly errors: [{
|
|
20255
|
+
readonly name: "TODO";
|
|
20256
|
+
readonly description: "TODO";
|
|
20257
|
+
}];
|
|
20258
|
+
};
|
|
20259
|
+
};
|
|
20260
|
+
} | {
|
|
20261
|
+
readonly lexicon: 1;
|
|
20262
|
+
readonly id: "app.bsky.contact.verifyPhone";
|
|
20263
|
+
readonly defs: {
|
|
20264
|
+
readonly main: {
|
|
20265
|
+
readonly type: "procedure";
|
|
20266
|
+
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.";
|
|
20267
|
+
readonly input: {
|
|
20268
|
+
readonly encoding: "application/json";
|
|
20269
|
+
readonly schema: {
|
|
20270
|
+
readonly type: "object";
|
|
20271
|
+
readonly required: ["phone", "code"];
|
|
20272
|
+
readonly properties: {
|
|
20273
|
+
readonly phone: {
|
|
20274
|
+
readonly description: "The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.";
|
|
20275
|
+
readonly type: "string";
|
|
20276
|
+
};
|
|
20277
|
+
readonly code: {
|
|
20278
|
+
readonly description: "The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.";
|
|
20279
|
+
readonly type: "string";
|
|
20280
|
+
};
|
|
20281
|
+
};
|
|
20282
|
+
};
|
|
20283
|
+
};
|
|
20284
|
+
readonly output: {
|
|
20285
|
+
readonly encoding: "application/json";
|
|
20286
|
+
readonly schema: {
|
|
20287
|
+
readonly type: "object";
|
|
20288
|
+
readonly required: ["token"];
|
|
20289
|
+
readonly properties: {
|
|
20290
|
+
readonly token: {
|
|
20291
|
+
readonly description: "JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.";
|
|
20292
|
+
readonly type: "string";
|
|
20293
|
+
};
|
|
20294
|
+
};
|
|
20295
|
+
};
|
|
20296
|
+
};
|
|
20297
|
+
readonly errors: [{
|
|
20298
|
+
readonly name: "TODO";
|
|
20299
|
+
readonly description: "TODO";
|
|
20300
|
+
}];
|
|
20301
|
+
};
|
|
20302
|
+
};
|
|
19524
20303
|
} | {
|
|
19525
20304
|
readonly lexicon: 1;
|
|
19526
20305
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -22022,6 +22801,26 @@ export declare const schemas: ({
|
|
|
22022
22801
|
readonly format: "at-uri";
|
|
22023
22802
|
readonly description: "if the actor is followed by this DID, contains the AT-URI of the follow record";
|
|
22024
22803
|
};
|
|
22804
|
+
readonly blocking: {
|
|
22805
|
+
readonly type: "string";
|
|
22806
|
+
readonly format: "at-uri";
|
|
22807
|
+
readonly description: "if the actor blocks this DID, this is the AT-URI of the block record";
|
|
22808
|
+
};
|
|
22809
|
+
readonly blockedBy: {
|
|
22810
|
+
readonly type: "string";
|
|
22811
|
+
readonly format: "at-uri";
|
|
22812
|
+
readonly description: "if the actor is blocked by this DID, contains the AT-URI of the block record";
|
|
22813
|
+
};
|
|
22814
|
+
readonly blockingByList: {
|
|
22815
|
+
readonly type: "string";
|
|
22816
|
+
readonly format: "at-uri";
|
|
22817
|
+
readonly description: "if the actor blocks this DID via a block list, this is the AT-URI of the listblock record";
|
|
22818
|
+
};
|
|
22819
|
+
readonly blockedByList: {
|
|
22820
|
+
readonly type: "string";
|
|
22821
|
+
readonly format: "at-uri";
|
|
22822
|
+
readonly description: "if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record";
|
|
22823
|
+
};
|
|
22025
22824
|
};
|
|
22026
22825
|
};
|
|
22027
22826
|
};
|
|
@@ -31962,6 +32761,7 @@ export declare const schemas: ({
|
|
|
31962
32761
|
};
|
|
31963
32762
|
readonly comment: {
|
|
31964
32763
|
readonly type: "string";
|
|
32764
|
+
readonly minLength: 1;
|
|
31965
32765
|
readonly description: "Comment describing the reason for the override.";
|
|
31966
32766
|
};
|
|
31967
32767
|
};
|
|
@@ -31972,6 +32772,7 @@ export declare const schemas: ({
|
|
|
31972
32772
|
readonly required: ["comment"];
|
|
31973
32773
|
readonly properties: {
|
|
31974
32774
|
readonly comment: {
|
|
32775
|
+
readonly minLength: 1;
|
|
31975
32776
|
readonly type: "string";
|
|
31976
32777
|
readonly description: "Comment describing the reason for the revocation.";
|
|
31977
32778
|
};
|
|
@@ -35582,6 +36383,15 @@ export declare const ids: {
|
|
|
35582
36383
|
readonly AppBskyBookmarkDefs: "app.bsky.bookmark.defs";
|
|
35583
36384
|
readonly AppBskyBookmarkDeleteBookmark: "app.bsky.bookmark.deleteBookmark";
|
|
35584
36385
|
readonly AppBskyBookmarkGetBookmarks: "app.bsky.bookmark.getBookmarks";
|
|
36386
|
+
readonly AppBskyContactDefs: "app.bsky.contact.defs";
|
|
36387
|
+
readonly AppBskyContactDismissMatch: "app.bsky.contact.dismissMatch";
|
|
36388
|
+
readonly AppBskyContactGetMatches: "app.bsky.contact.getMatches";
|
|
36389
|
+
readonly AppBskyContactGetSyncStatus: "app.bsky.contact.getSyncStatus";
|
|
36390
|
+
readonly AppBskyContactImportContacts: "app.bsky.contact.importContacts";
|
|
36391
|
+
readonly AppBskyContactRemoveData: "app.bsky.contact.removeData";
|
|
36392
|
+
readonly AppBskyContactSendNotification: "app.bsky.contact.sendNotification";
|
|
36393
|
+
readonly AppBskyContactStartPhoneVerification: "app.bsky.contact.startPhoneVerification";
|
|
36394
|
+
readonly AppBskyContactVerifyPhone: "app.bsky.contact.verifyPhone";
|
|
35585
36395
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
35586
36396
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
35587
36397
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|