@atproto/ozone 0.1.159 → 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.
- package/CHANGELOG.md +28 -0
- package/dist/api/moderation/emitEvent.d.ts.map +1 -1
- package/dist/api/moderation/emitEvent.js +29 -23
- package/dist/api/moderation/emitEvent.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 +868 -4
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +474 -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/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/mod-service/index.d.ts.map +1 -1
- package/dist/mod-service/index.js +16 -4
- package/dist/mod-service/index.js.map +1 -1
- package/dist/mod-service/views.d.ts.map +1 -1
- package/dist/mod-service/views.js +3 -1
- package/dist/mod-service/views.js.map +1 -1
- package/package.json +9 -9
- package/src/api/moderation/emitEvent.ts +33 -25
- package/src/lexicon/index.ts +114 -0
- package/src/lexicon/lexicons.ts +501 -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 +54 -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 +53 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +8 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +1 -0
- package/src/mod-service/index.ts +18 -5
- package/src/mod-service/views.ts +3 -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,398 @@ 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: "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: "InvalidDid";
|
|
1722
|
+
}, {
|
|
1723
|
+
readonly name: "InternalError";
|
|
1724
|
+
}];
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
readonly AppBskyContactGetMatches: {
|
|
1729
|
+
readonly lexicon: 1;
|
|
1730
|
+
readonly id: "app.bsky.contact.getMatches";
|
|
1731
|
+
readonly defs: {
|
|
1732
|
+
readonly main: {
|
|
1733
|
+
readonly type: "query";
|
|
1734
|
+
readonly description: "Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.";
|
|
1735
|
+
readonly parameters: {
|
|
1736
|
+
readonly type: "params";
|
|
1737
|
+
readonly properties: {
|
|
1738
|
+
readonly limit: {
|
|
1739
|
+
readonly type: "integer";
|
|
1740
|
+
readonly minimum: 1;
|
|
1741
|
+
readonly maximum: 100;
|
|
1742
|
+
readonly default: 50;
|
|
1743
|
+
};
|
|
1744
|
+
readonly cursor: {
|
|
1745
|
+
readonly type: "string";
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
readonly output: {
|
|
1750
|
+
readonly encoding: "application/json";
|
|
1751
|
+
readonly schema: {
|
|
1752
|
+
readonly type: "object";
|
|
1753
|
+
readonly required: ["matches"];
|
|
1754
|
+
readonly properties: {
|
|
1755
|
+
readonly cursor: {
|
|
1756
|
+
readonly type: "string";
|
|
1757
|
+
};
|
|
1758
|
+
readonly matches: {
|
|
1759
|
+
readonly type: "array";
|
|
1760
|
+
readonly items: {
|
|
1761
|
+
readonly type: "ref";
|
|
1762
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
};
|
|
1768
|
+
readonly errors: [{
|
|
1769
|
+
readonly name: "InvalidDid";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly name: "InvalidLimit";
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly name: "InvalidCursor";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly name: "InternalError";
|
|
1776
|
+
}];
|
|
1777
|
+
};
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
readonly AppBskyContactGetSyncStatus: {
|
|
1781
|
+
readonly lexicon: 1;
|
|
1782
|
+
readonly id: "app.bsky.contact.getSyncStatus";
|
|
1783
|
+
readonly defs: {
|
|
1784
|
+
readonly main: {
|
|
1785
|
+
readonly type: "query";
|
|
1786
|
+
readonly description: "Gets the user's current contact import status. Requires authentication.";
|
|
1787
|
+
readonly parameters: {
|
|
1788
|
+
readonly type: "params";
|
|
1789
|
+
readonly properties: {};
|
|
1790
|
+
};
|
|
1791
|
+
readonly output: {
|
|
1792
|
+
readonly encoding: "application/json";
|
|
1793
|
+
readonly schema: {
|
|
1794
|
+
readonly type: "object";
|
|
1795
|
+
readonly properties: {
|
|
1796
|
+
readonly syncStatus: {
|
|
1797
|
+
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.";
|
|
1798
|
+
readonly type: "ref";
|
|
1799
|
+
readonly ref: "lex:app.bsky.contact.defs#syncStatus";
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1804
|
+
readonly errors: [{
|
|
1805
|
+
readonly name: "InvalidDid";
|
|
1806
|
+
}, {
|
|
1807
|
+
readonly name: "InternalError";
|
|
1808
|
+
}];
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1812
|
+
readonly AppBskyContactImportContacts: {
|
|
1813
|
+
readonly lexicon: 1;
|
|
1814
|
+
readonly id: "app.bsky.contact.importContacts";
|
|
1815
|
+
readonly defs: {
|
|
1816
|
+
readonly main: {
|
|
1817
|
+
readonly type: "procedure";
|
|
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.";
|
|
1819
|
+
readonly input: {
|
|
1820
|
+
readonly encoding: "application/json";
|
|
1821
|
+
readonly schema: {
|
|
1822
|
+
readonly type: "object";
|
|
1823
|
+
readonly required: ["token", "contacts"];
|
|
1824
|
+
readonly properties: {
|
|
1825
|
+
readonly token: {
|
|
1826
|
+
readonly description: "JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.";
|
|
1827
|
+
readonly type: "string";
|
|
1828
|
+
};
|
|
1829
|
+
readonly contacts: {
|
|
1830
|
+
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`.";
|
|
1831
|
+
readonly type: "array";
|
|
1832
|
+
readonly items: {
|
|
1833
|
+
readonly type: "string";
|
|
1834
|
+
};
|
|
1835
|
+
readonly minLength: 1;
|
|
1836
|
+
readonly maxLength: 1000;
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
readonly output: {
|
|
1842
|
+
readonly encoding: "application/json";
|
|
1843
|
+
readonly schema: {
|
|
1844
|
+
readonly type: "object";
|
|
1845
|
+
readonly required: ["matchesAndContactIndexes"];
|
|
1846
|
+
readonly properties: {
|
|
1847
|
+
readonly matchesAndContactIndexes: {
|
|
1848
|
+
readonly description: "The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.";
|
|
1849
|
+
readonly type: "array";
|
|
1850
|
+
readonly items: {
|
|
1851
|
+
readonly type: "ref";
|
|
1852
|
+
readonly ref: "lex:app.bsky.contact.defs#matchAndContactIndex";
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
readonly errors: [{
|
|
1859
|
+
readonly name: "InvalidDid";
|
|
1860
|
+
}, {
|
|
1861
|
+
readonly name: "InvalidContacts";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly name: "TooManyContacts";
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly name: "InvalidToken";
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly name: "InternalError";
|
|
1868
|
+
}];
|
|
1869
|
+
};
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
readonly AppBskyContactRemoveData: {
|
|
1873
|
+
readonly lexicon: 1;
|
|
1874
|
+
readonly id: "app.bsky.contact.removeData";
|
|
1875
|
+
readonly defs: {
|
|
1876
|
+
readonly main: {
|
|
1877
|
+
readonly type: "procedure";
|
|
1878
|
+
readonly description: "Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.";
|
|
1879
|
+
readonly input: {
|
|
1880
|
+
readonly encoding: "application/json";
|
|
1881
|
+
readonly schema: {
|
|
1882
|
+
readonly type: "object";
|
|
1883
|
+
readonly properties: {};
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
readonly output: {
|
|
1887
|
+
readonly encoding: "application/json";
|
|
1888
|
+
readonly schema: {
|
|
1889
|
+
readonly type: "object";
|
|
1890
|
+
readonly properties: {};
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
readonly errors: [{
|
|
1894
|
+
readonly name: "InvalidDid";
|
|
1895
|
+
}, {
|
|
1896
|
+
readonly name: "InternalError";
|
|
1897
|
+
}];
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
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
|
+
};
|
|
1937
|
+
readonly AppBskyContactStartPhoneVerification: {
|
|
1938
|
+
readonly lexicon: 1;
|
|
1939
|
+
readonly id: "app.bsky.contact.startPhoneVerification";
|
|
1940
|
+
readonly defs: {
|
|
1941
|
+
readonly main: {
|
|
1942
|
+
readonly type: "procedure";
|
|
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.";
|
|
1944
|
+
readonly input: {
|
|
1945
|
+
readonly encoding: "application/json";
|
|
1946
|
+
readonly schema: {
|
|
1947
|
+
readonly type: "object";
|
|
1948
|
+
readonly required: ["phone"];
|
|
1949
|
+
readonly properties: {
|
|
1950
|
+
readonly phone: {
|
|
1951
|
+
readonly description: "The phone number to receive the code via SMS.";
|
|
1952
|
+
readonly type: "string";
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
readonly output: {
|
|
1958
|
+
readonly encoding: "application/json";
|
|
1959
|
+
readonly schema: {
|
|
1960
|
+
readonly type: "object";
|
|
1961
|
+
readonly properties: {};
|
|
1962
|
+
};
|
|
1963
|
+
};
|
|
1964
|
+
readonly errors: [{
|
|
1965
|
+
readonly name: "RateLimitExceeded";
|
|
1966
|
+
}, {
|
|
1967
|
+
readonly name: "InvalidDid";
|
|
1968
|
+
}, {
|
|
1969
|
+
readonly name: "InvalidPhone";
|
|
1970
|
+
}, {
|
|
1971
|
+
readonly name: "InternalError";
|
|
1972
|
+
}];
|
|
1973
|
+
};
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
readonly AppBskyContactVerifyPhone: {
|
|
1977
|
+
readonly lexicon: 1;
|
|
1978
|
+
readonly id: "app.bsky.contact.verifyPhone";
|
|
1979
|
+
readonly defs: {
|
|
1980
|
+
readonly main: {
|
|
1981
|
+
readonly type: "procedure";
|
|
1982
|
+
readonly description: "Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.";
|
|
1983
|
+
readonly input: {
|
|
1984
|
+
readonly encoding: "application/json";
|
|
1985
|
+
readonly schema: {
|
|
1986
|
+
readonly type: "object";
|
|
1987
|
+
readonly required: ["phone", "code"];
|
|
1988
|
+
readonly properties: {
|
|
1989
|
+
readonly phone: {
|
|
1990
|
+
readonly description: "The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.";
|
|
1991
|
+
readonly type: "string";
|
|
1992
|
+
};
|
|
1993
|
+
readonly code: {
|
|
1994
|
+
readonly description: "The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.";
|
|
1995
|
+
readonly type: "string";
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
readonly output: {
|
|
2001
|
+
readonly encoding: "application/json";
|
|
2002
|
+
readonly schema: {
|
|
2003
|
+
readonly type: "object";
|
|
2004
|
+
readonly required: ["token"];
|
|
2005
|
+
readonly properties: {
|
|
2006
|
+
readonly token: {
|
|
2007
|
+
readonly description: "JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.";
|
|
2008
|
+
readonly type: "string";
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
};
|
|
2013
|
+
readonly errors: [{
|
|
2014
|
+
readonly name: "RateLimitExceeded";
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly name: "InvalidDid";
|
|
2017
|
+
}, {
|
|
2018
|
+
readonly name: "InvalidPhone";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly name: "InvalidCode";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly name: "InternalError";
|
|
2023
|
+
}];
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
1617
2027
|
readonly AppBskyEmbedDefs: {
|
|
1618
2028
|
readonly lexicon: 1;
|
|
1619
2029
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -4147,6 +4557,26 @@ export declare const schemaDict: {
|
|
|
4147
4557
|
readonly format: "at-uri";
|
|
4148
4558
|
readonly description: "if the actor is followed by this DID, contains the AT-URI of the follow record";
|
|
4149
4559
|
};
|
|
4560
|
+
readonly blocking: {
|
|
4561
|
+
readonly type: "string";
|
|
4562
|
+
readonly format: "at-uri";
|
|
4563
|
+
readonly description: "if the actor blocks this DID, this is the AT-URI of the block record";
|
|
4564
|
+
};
|
|
4565
|
+
readonly blockedBy: {
|
|
4566
|
+
readonly type: "string";
|
|
4567
|
+
readonly format: "at-uri";
|
|
4568
|
+
readonly description: "if the actor is blocked by this DID, contains the AT-URI of the block record";
|
|
4569
|
+
};
|
|
4570
|
+
readonly blockingByList: {
|
|
4571
|
+
readonly type: "string";
|
|
4572
|
+
readonly format: "at-uri";
|
|
4573
|
+
readonly description: "if the actor blocks this DID via a block list, this is the AT-URI of the listblock record";
|
|
4574
|
+
};
|
|
4575
|
+
readonly blockedByList: {
|
|
4576
|
+
readonly type: "string";
|
|
4577
|
+
readonly format: "at-uri";
|
|
4578
|
+
readonly description: "if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record";
|
|
4579
|
+
};
|
|
4150
4580
|
};
|
|
4151
4581
|
};
|
|
4152
4582
|
};
|
|
@@ -5949,7 +6379,7 @@ export declare const schemaDict: {
|
|
|
5949
6379
|
readonly reason: {
|
|
5950
6380
|
readonly type: "string";
|
|
5951
6381
|
readonly description: "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.";
|
|
5952
|
-
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"];
|
|
5953
6383
|
};
|
|
5954
6384
|
readonly reasonSubject: {
|
|
5955
6385
|
readonly type: "string";
|
|
@@ -14287,6 +14717,7 @@ export declare const schemaDict: {
|
|
|
14287
14717
|
};
|
|
14288
14718
|
readonly comment: {
|
|
14289
14719
|
readonly type: "string";
|
|
14720
|
+
readonly minLength: 1;
|
|
14290
14721
|
readonly description: "Comment describing the reason for the override.";
|
|
14291
14722
|
};
|
|
14292
14723
|
};
|
|
@@ -14297,6 +14728,7 @@ export declare const schemaDict: {
|
|
|
14297
14728
|
readonly required: ["comment"];
|
|
14298
14729
|
readonly properties: {
|
|
14299
14730
|
readonly comment: {
|
|
14731
|
+
readonly minLength: 1;
|
|
14300
14732
|
readonly type: "string";
|
|
14301
14733
|
readonly description: "Comment describing the reason for the revocation.";
|
|
14302
14734
|
};
|
|
@@ -18307,7 +18739,7 @@ export declare const schemas: ({
|
|
|
18307
18739
|
readonly type: "array";
|
|
18308
18740
|
readonly items: {
|
|
18309
18741
|
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"];
|
|
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"];
|
|
18311
18743
|
};
|
|
18312
18744
|
};
|
|
18313
18745
|
readonly adultContentPref: {
|
|
@@ -18403,6 +18835,24 @@ export declare const schemas: ({
|
|
|
18403
18835
|
};
|
|
18404
18836
|
};
|
|
18405
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
|
+
};
|
|
18406
18856
|
readonly feedViewPref: {
|
|
18407
18857
|
readonly type: "object";
|
|
18408
18858
|
readonly required: ["feed"];
|
|
@@ -19521,6 +19971,389 @@ export declare const schemas: ({
|
|
|
19521
19971
|
};
|
|
19522
19972
|
};
|
|
19523
19973
|
};
|
|
19974
|
+
} | {
|
|
19975
|
+
readonly lexicon: 1;
|
|
19976
|
+
readonly id: "app.bsky.contact.defs";
|
|
19977
|
+
readonly defs: {
|
|
19978
|
+
readonly matchAndContactIndex: {
|
|
19979
|
+
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.";
|
|
19980
|
+
readonly type: "object";
|
|
19981
|
+
readonly required: ["match", "contactIndex"];
|
|
19982
|
+
readonly properties: {
|
|
19983
|
+
readonly match: {
|
|
19984
|
+
readonly description: "Profile of the matched user.";
|
|
19985
|
+
readonly type: "ref";
|
|
19986
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
19987
|
+
};
|
|
19988
|
+
readonly contactIndex: {
|
|
19989
|
+
readonly description: "The index of this match in the import contact input.";
|
|
19990
|
+
readonly type: "integer";
|
|
19991
|
+
readonly minimum: 0;
|
|
19992
|
+
readonly maximum: 999;
|
|
19993
|
+
};
|
|
19994
|
+
};
|
|
19995
|
+
};
|
|
19996
|
+
readonly syncStatus: {
|
|
19997
|
+
readonly type: "object";
|
|
19998
|
+
readonly required: ["syncedAt", "matchesCount"];
|
|
19999
|
+
readonly properties: {
|
|
20000
|
+
readonly syncedAt: {
|
|
20001
|
+
readonly description: "Last date when contacts where imported.";
|
|
20002
|
+
readonly type: "string";
|
|
20003
|
+
readonly format: "datetime";
|
|
20004
|
+
};
|
|
20005
|
+
readonly matchesCount: {
|
|
20006
|
+
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.";
|
|
20007
|
+
readonly type: "integer";
|
|
20008
|
+
readonly minimum: 0;
|
|
20009
|
+
};
|
|
20010
|
+
};
|
|
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
|
+
};
|
|
20029
|
+
};
|
|
20030
|
+
} | {
|
|
20031
|
+
readonly lexicon: 1;
|
|
20032
|
+
readonly id: "app.bsky.contact.dismissMatch";
|
|
20033
|
+
readonly defs: {
|
|
20034
|
+
readonly main: {
|
|
20035
|
+
readonly type: "procedure";
|
|
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.";
|
|
20037
|
+
readonly input: {
|
|
20038
|
+
readonly encoding: "application/json";
|
|
20039
|
+
readonly schema: {
|
|
20040
|
+
readonly type: "object";
|
|
20041
|
+
readonly required: ["subject"];
|
|
20042
|
+
readonly properties: {
|
|
20043
|
+
readonly subject: {
|
|
20044
|
+
readonly description: "The subject's DID to dismiss the match with.";
|
|
20045
|
+
readonly type: "string";
|
|
20046
|
+
readonly format: "did";
|
|
20047
|
+
};
|
|
20048
|
+
};
|
|
20049
|
+
};
|
|
20050
|
+
};
|
|
20051
|
+
readonly output: {
|
|
20052
|
+
readonly encoding: "application/json";
|
|
20053
|
+
readonly schema: {
|
|
20054
|
+
readonly type: "object";
|
|
20055
|
+
readonly properties: {};
|
|
20056
|
+
};
|
|
20057
|
+
};
|
|
20058
|
+
readonly errors: [{
|
|
20059
|
+
readonly name: "InvalidDid";
|
|
20060
|
+
}, {
|
|
20061
|
+
readonly name: "InternalError";
|
|
20062
|
+
}];
|
|
20063
|
+
};
|
|
20064
|
+
};
|
|
20065
|
+
} | {
|
|
20066
|
+
readonly lexicon: 1;
|
|
20067
|
+
readonly id: "app.bsky.contact.getMatches";
|
|
20068
|
+
readonly defs: {
|
|
20069
|
+
readonly main: {
|
|
20070
|
+
readonly type: "query";
|
|
20071
|
+
readonly description: "Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.";
|
|
20072
|
+
readonly parameters: {
|
|
20073
|
+
readonly type: "params";
|
|
20074
|
+
readonly properties: {
|
|
20075
|
+
readonly limit: {
|
|
20076
|
+
readonly type: "integer";
|
|
20077
|
+
readonly minimum: 1;
|
|
20078
|
+
readonly maximum: 100;
|
|
20079
|
+
readonly default: 50;
|
|
20080
|
+
};
|
|
20081
|
+
readonly cursor: {
|
|
20082
|
+
readonly type: "string";
|
|
20083
|
+
};
|
|
20084
|
+
};
|
|
20085
|
+
};
|
|
20086
|
+
readonly output: {
|
|
20087
|
+
readonly encoding: "application/json";
|
|
20088
|
+
readonly schema: {
|
|
20089
|
+
readonly type: "object";
|
|
20090
|
+
readonly required: ["matches"];
|
|
20091
|
+
readonly properties: {
|
|
20092
|
+
readonly cursor: {
|
|
20093
|
+
readonly type: "string";
|
|
20094
|
+
};
|
|
20095
|
+
readonly matches: {
|
|
20096
|
+
readonly type: "array";
|
|
20097
|
+
readonly items: {
|
|
20098
|
+
readonly type: "ref";
|
|
20099
|
+
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
20100
|
+
};
|
|
20101
|
+
};
|
|
20102
|
+
};
|
|
20103
|
+
};
|
|
20104
|
+
};
|
|
20105
|
+
readonly errors: [{
|
|
20106
|
+
readonly name: "InvalidDid";
|
|
20107
|
+
}, {
|
|
20108
|
+
readonly name: "InvalidLimit";
|
|
20109
|
+
}, {
|
|
20110
|
+
readonly name: "InvalidCursor";
|
|
20111
|
+
}, {
|
|
20112
|
+
readonly name: "InternalError";
|
|
20113
|
+
}];
|
|
20114
|
+
};
|
|
20115
|
+
};
|
|
20116
|
+
} | {
|
|
20117
|
+
readonly lexicon: 1;
|
|
20118
|
+
readonly id: "app.bsky.contact.getSyncStatus";
|
|
20119
|
+
readonly defs: {
|
|
20120
|
+
readonly main: {
|
|
20121
|
+
readonly type: "query";
|
|
20122
|
+
readonly description: "Gets the user's current contact import status. Requires authentication.";
|
|
20123
|
+
readonly parameters: {
|
|
20124
|
+
readonly type: "params";
|
|
20125
|
+
readonly properties: {};
|
|
20126
|
+
};
|
|
20127
|
+
readonly output: {
|
|
20128
|
+
readonly encoding: "application/json";
|
|
20129
|
+
readonly schema: {
|
|
20130
|
+
readonly type: "object";
|
|
20131
|
+
readonly properties: {
|
|
20132
|
+
readonly syncStatus: {
|
|
20133
|
+
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.";
|
|
20134
|
+
readonly type: "ref";
|
|
20135
|
+
readonly ref: "lex:app.bsky.contact.defs#syncStatus";
|
|
20136
|
+
};
|
|
20137
|
+
};
|
|
20138
|
+
};
|
|
20139
|
+
};
|
|
20140
|
+
readonly errors: [{
|
|
20141
|
+
readonly name: "InvalidDid";
|
|
20142
|
+
}, {
|
|
20143
|
+
readonly name: "InternalError";
|
|
20144
|
+
}];
|
|
20145
|
+
};
|
|
20146
|
+
};
|
|
20147
|
+
} | {
|
|
20148
|
+
readonly lexicon: 1;
|
|
20149
|
+
readonly id: "app.bsky.contact.importContacts";
|
|
20150
|
+
readonly defs: {
|
|
20151
|
+
readonly main: {
|
|
20152
|
+
readonly type: "procedure";
|
|
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.";
|
|
20154
|
+
readonly input: {
|
|
20155
|
+
readonly encoding: "application/json";
|
|
20156
|
+
readonly schema: {
|
|
20157
|
+
readonly type: "object";
|
|
20158
|
+
readonly required: ["token", "contacts"];
|
|
20159
|
+
readonly properties: {
|
|
20160
|
+
readonly token: {
|
|
20161
|
+
readonly description: "JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.";
|
|
20162
|
+
readonly type: "string";
|
|
20163
|
+
};
|
|
20164
|
+
readonly contacts: {
|
|
20165
|
+
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`.";
|
|
20166
|
+
readonly type: "array";
|
|
20167
|
+
readonly items: {
|
|
20168
|
+
readonly type: "string";
|
|
20169
|
+
};
|
|
20170
|
+
readonly minLength: 1;
|
|
20171
|
+
readonly maxLength: 1000;
|
|
20172
|
+
};
|
|
20173
|
+
};
|
|
20174
|
+
};
|
|
20175
|
+
};
|
|
20176
|
+
readonly output: {
|
|
20177
|
+
readonly encoding: "application/json";
|
|
20178
|
+
readonly schema: {
|
|
20179
|
+
readonly type: "object";
|
|
20180
|
+
readonly required: ["matchesAndContactIndexes"];
|
|
20181
|
+
readonly properties: {
|
|
20182
|
+
readonly matchesAndContactIndexes: {
|
|
20183
|
+
readonly description: "The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.";
|
|
20184
|
+
readonly type: "array";
|
|
20185
|
+
readonly items: {
|
|
20186
|
+
readonly type: "ref";
|
|
20187
|
+
readonly ref: "lex:app.bsky.contact.defs#matchAndContactIndex";
|
|
20188
|
+
};
|
|
20189
|
+
};
|
|
20190
|
+
};
|
|
20191
|
+
};
|
|
20192
|
+
};
|
|
20193
|
+
readonly errors: [{
|
|
20194
|
+
readonly name: "InvalidDid";
|
|
20195
|
+
}, {
|
|
20196
|
+
readonly name: "InvalidContacts";
|
|
20197
|
+
}, {
|
|
20198
|
+
readonly name: "TooManyContacts";
|
|
20199
|
+
}, {
|
|
20200
|
+
readonly name: "InvalidToken";
|
|
20201
|
+
}, {
|
|
20202
|
+
readonly name: "InternalError";
|
|
20203
|
+
}];
|
|
20204
|
+
};
|
|
20205
|
+
};
|
|
20206
|
+
} | {
|
|
20207
|
+
readonly lexicon: 1;
|
|
20208
|
+
readonly id: "app.bsky.contact.removeData";
|
|
20209
|
+
readonly defs: {
|
|
20210
|
+
readonly main: {
|
|
20211
|
+
readonly type: "procedure";
|
|
20212
|
+
readonly description: "Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.";
|
|
20213
|
+
readonly input: {
|
|
20214
|
+
readonly encoding: "application/json";
|
|
20215
|
+
readonly schema: {
|
|
20216
|
+
readonly type: "object";
|
|
20217
|
+
readonly properties: {};
|
|
20218
|
+
};
|
|
20219
|
+
};
|
|
20220
|
+
readonly output: {
|
|
20221
|
+
readonly encoding: "application/json";
|
|
20222
|
+
readonly schema: {
|
|
20223
|
+
readonly type: "object";
|
|
20224
|
+
readonly properties: {};
|
|
20225
|
+
};
|
|
20226
|
+
};
|
|
20227
|
+
readonly errors: [{
|
|
20228
|
+
readonly name: "InvalidDid";
|
|
20229
|
+
}, {
|
|
20230
|
+
readonly name: "InternalError";
|
|
20231
|
+
}];
|
|
20232
|
+
};
|
|
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
|
+
};
|
|
20269
|
+
} | {
|
|
20270
|
+
readonly lexicon: 1;
|
|
20271
|
+
readonly id: "app.bsky.contact.startPhoneVerification";
|
|
20272
|
+
readonly defs: {
|
|
20273
|
+
readonly main: {
|
|
20274
|
+
readonly type: "procedure";
|
|
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.";
|
|
20276
|
+
readonly input: {
|
|
20277
|
+
readonly encoding: "application/json";
|
|
20278
|
+
readonly schema: {
|
|
20279
|
+
readonly type: "object";
|
|
20280
|
+
readonly required: ["phone"];
|
|
20281
|
+
readonly properties: {
|
|
20282
|
+
readonly phone: {
|
|
20283
|
+
readonly description: "The phone number to receive the code via SMS.";
|
|
20284
|
+
readonly type: "string";
|
|
20285
|
+
};
|
|
20286
|
+
};
|
|
20287
|
+
};
|
|
20288
|
+
};
|
|
20289
|
+
readonly output: {
|
|
20290
|
+
readonly encoding: "application/json";
|
|
20291
|
+
readonly schema: {
|
|
20292
|
+
readonly type: "object";
|
|
20293
|
+
readonly properties: {};
|
|
20294
|
+
};
|
|
20295
|
+
};
|
|
20296
|
+
readonly errors: [{
|
|
20297
|
+
readonly name: "RateLimitExceeded";
|
|
20298
|
+
}, {
|
|
20299
|
+
readonly name: "InvalidDid";
|
|
20300
|
+
}, {
|
|
20301
|
+
readonly name: "InvalidPhone";
|
|
20302
|
+
}, {
|
|
20303
|
+
readonly name: "InternalError";
|
|
20304
|
+
}];
|
|
20305
|
+
};
|
|
20306
|
+
};
|
|
20307
|
+
} | {
|
|
20308
|
+
readonly lexicon: 1;
|
|
20309
|
+
readonly id: "app.bsky.contact.verifyPhone";
|
|
20310
|
+
readonly defs: {
|
|
20311
|
+
readonly main: {
|
|
20312
|
+
readonly type: "procedure";
|
|
20313
|
+
readonly description: "Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.";
|
|
20314
|
+
readonly input: {
|
|
20315
|
+
readonly encoding: "application/json";
|
|
20316
|
+
readonly schema: {
|
|
20317
|
+
readonly type: "object";
|
|
20318
|
+
readonly required: ["phone", "code"];
|
|
20319
|
+
readonly properties: {
|
|
20320
|
+
readonly phone: {
|
|
20321
|
+
readonly description: "The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.";
|
|
20322
|
+
readonly type: "string";
|
|
20323
|
+
};
|
|
20324
|
+
readonly code: {
|
|
20325
|
+
readonly description: "The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.";
|
|
20326
|
+
readonly type: "string";
|
|
20327
|
+
};
|
|
20328
|
+
};
|
|
20329
|
+
};
|
|
20330
|
+
};
|
|
20331
|
+
readonly output: {
|
|
20332
|
+
readonly encoding: "application/json";
|
|
20333
|
+
readonly schema: {
|
|
20334
|
+
readonly type: "object";
|
|
20335
|
+
readonly required: ["token"];
|
|
20336
|
+
readonly properties: {
|
|
20337
|
+
readonly token: {
|
|
20338
|
+
readonly description: "JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.";
|
|
20339
|
+
readonly type: "string";
|
|
20340
|
+
};
|
|
20341
|
+
};
|
|
20342
|
+
};
|
|
20343
|
+
};
|
|
20344
|
+
readonly errors: [{
|
|
20345
|
+
readonly name: "RateLimitExceeded";
|
|
20346
|
+
}, {
|
|
20347
|
+
readonly name: "InvalidDid";
|
|
20348
|
+
}, {
|
|
20349
|
+
readonly name: "InvalidPhone";
|
|
20350
|
+
}, {
|
|
20351
|
+
readonly name: "InvalidCode";
|
|
20352
|
+
}, {
|
|
20353
|
+
readonly name: "InternalError";
|
|
20354
|
+
}];
|
|
20355
|
+
};
|
|
20356
|
+
};
|
|
19524
20357
|
} | {
|
|
19525
20358
|
readonly lexicon: 1;
|
|
19526
20359
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -22022,6 +22855,26 @@ export declare const schemas: ({
|
|
|
22022
22855
|
readonly format: "at-uri";
|
|
22023
22856
|
readonly description: "if the actor is followed by this DID, contains the AT-URI of the follow record";
|
|
22024
22857
|
};
|
|
22858
|
+
readonly blocking: {
|
|
22859
|
+
readonly type: "string";
|
|
22860
|
+
readonly format: "at-uri";
|
|
22861
|
+
readonly description: "if the actor blocks this DID, this is the AT-URI of the block record";
|
|
22862
|
+
};
|
|
22863
|
+
readonly blockedBy: {
|
|
22864
|
+
readonly type: "string";
|
|
22865
|
+
readonly format: "at-uri";
|
|
22866
|
+
readonly description: "if the actor is blocked by this DID, contains the AT-URI of the block record";
|
|
22867
|
+
};
|
|
22868
|
+
readonly blockingByList: {
|
|
22869
|
+
readonly type: "string";
|
|
22870
|
+
readonly format: "at-uri";
|
|
22871
|
+
readonly description: "if the actor blocks this DID via a block list, this is the AT-URI of the listblock record";
|
|
22872
|
+
};
|
|
22873
|
+
readonly blockedByList: {
|
|
22874
|
+
readonly type: "string";
|
|
22875
|
+
readonly format: "at-uri";
|
|
22876
|
+
readonly description: "if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record";
|
|
22877
|
+
};
|
|
22025
22878
|
};
|
|
22026
22879
|
};
|
|
22027
22880
|
};
|
|
@@ -23786,7 +24639,7 @@ export declare const schemas: ({
|
|
|
23786
24639
|
readonly reason: {
|
|
23787
24640
|
readonly type: "string";
|
|
23788
24641
|
readonly description: "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.";
|
|
23789
|
-
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"];
|
|
23790
24643
|
};
|
|
23791
24644
|
readonly reasonSubject: {
|
|
23792
24645
|
readonly type: "string";
|
|
@@ -31962,6 +32815,7 @@ export declare const schemas: ({
|
|
|
31962
32815
|
};
|
|
31963
32816
|
readonly comment: {
|
|
31964
32817
|
readonly type: "string";
|
|
32818
|
+
readonly minLength: 1;
|
|
31965
32819
|
readonly description: "Comment describing the reason for the override.";
|
|
31966
32820
|
};
|
|
31967
32821
|
};
|
|
@@ -31972,6 +32826,7 @@ export declare const schemas: ({
|
|
|
31972
32826
|
readonly required: ["comment"];
|
|
31973
32827
|
readonly properties: {
|
|
31974
32828
|
readonly comment: {
|
|
32829
|
+
readonly minLength: 1;
|
|
31975
32830
|
readonly type: "string";
|
|
31976
32831
|
readonly description: "Comment describing the reason for the revocation.";
|
|
31977
32832
|
};
|
|
@@ -35582,6 +36437,15 @@ export declare const ids: {
|
|
|
35582
36437
|
readonly AppBskyBookmarkDefs: "app.bsky.bookmark.defs";
|
|
35583
36438
|
readonly AppBskyBookmarkDeleteBookmark: "app.bsky.bookmark.deleteBookmark";
|
|
35584
36439
|
readonly AppBskyBookmarkGetBookmarks: "app.bsky.bookmark.getBookmarks";
|
|
36440
|
+
readonly AppBskyContactDefs: "app.bsky.contact.defs";
|
|
36441
|
+
readonly AppBskyContactDismissMatch: "app.bsky.contact.dismissMatch";
|
|
36442
|
+
readonly AppBskyContactGetMatches: "app.bsky.contact.getMatches";
|
|
36443
|
+
readonly AppBskyContactGetSyncStatus: "app.bsky.contact.getSyncStatus";
|
|
36444
|
+
readonly AppBskyContactImportContacts: "app.bsky.contact.importContacts";
|
|
36445
|
+
readonly AppBskyContactRemoveData: "app.bsky.contact.removeData";
|
|
36446
|
+
readonly AppBskyContactSendNotification: "app.bsky.contact.sendNotification";
|
|
36447
|
+
readonly AppBskyContactStartPhoneVerification: "app.bsky.contact.startPhoneVerification";
|
|
36448
|
+
readonly AppBskyContactVerifyPhone: "app.bsky.contact.verifyPhone";
|
|
35585
36449
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
35586
36450
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
35587
36451
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|