@atproto/api 0.20.42 → 0.20.44
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 +27 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +10 -3
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +31 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +40 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +148 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +76 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.d.ts +4 -0
- package/dist/client/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/referencelistoptout.d.ts +15 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.js +18 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.js.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.d.ts +23 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.js +14 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.js.map +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +7 -7
package/dist/client/lexicons.js
CHANGED
|
@@ -626,6 +626,11 @@ export const schemaDict = {
|
|
|
626
626
|
type: 'object',
|
|
627
627
|
required: ['tags'],
|
|
628
628
|
properties: {
|
|
629
|
+
updatedAt: {
|
|
630
|
+
type: 'string',
|
|
631
|
+
format: 'datetime',
|
|
632
|
+
description: 'The timestamp when the account owner last updated their interests.',
|
|
633
|
+
},
|
|
629
634
|
tags: {
|
|
630
635
|
type: 'array',
|
|
631
636
|
maxLength: 100,
|
|
@@ -5627,6 +5632,11 @@ export const schemaDict = {
|
|
|
5627
5632
|
type: 'ref',
|
|
5628
5633
|
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
5629
5634
|
},
|
|
5635
|
+
subjectOptedOut: {
|
|
5636
|
+
type: 'boolean',
|
|
5637
|
+
const: true,
|
|
5638
|
+
description: 'Set to true when the subject has opted out of appearing in the reference list. Only set when the viewer owns the list.',
|
|
5639
|
+
},
|
|
5630
5640
|
},
|
|
5631
5641
|
},
|
|
5632
5642
|
starterPackView: {
|
|
@@ -5763,6 +5773,11 @@ export const schemaDict = {
|
|
|
5763
5773
|
type: 'string',
|
|
5764
5774
|
format: 'at-uri',
|
|
5765
5775
|
},
|
|
5776
|
+
referenceListOptOut: {
|
|
5777
|
+
type: 'string',
|
|
5778
|
+
format: 'at-uri',
|
|
5779
|
+
description: "The authenticated viewer's app.bsky.graph.referencelistoptout record URI for this reference list. Only set for reference lists. A client can delete this record to undo the opt-out.",
|
|
5780
|
+
},
|
|
5766
5781
|
},
|
|
5767
5782
|
},
|
|
5768
5783
|
notFoundActor: {
|
|
@@ -6851,6 +6866,32 @@ export const schemaDict = {
|
|
|
6851
6866
|
},
|
|
6852
6867
|
},
|
|
6853
6868
|
},
|
|
6869
|
+
AppBskyGraphReferencelistoptout: {
|
|
6870
|
+
lexicon: 1,
|
|
6871
|
+
id: 'app.bsky.graph.referencelistoptout',
|
|
6872
|
+
defs: {
|
|
6873
|
+
main: {
|
|
6874
|
+
type: 'record',
|
|
6875
|
+
description: "Record requesting that its author be omitted from the public presentation of a reference list. This record is only enforced when the subject list's current purpose is app.bsky.graph.defs#referencelist. AppView indexes at most one record per actor and list pair, and ignores duplicate records.",
|
|
6876
|
+
key: 'tid',
|
|
6877
|
+
record: {
|
|
6878
|
+
type: 'object',
|
|
6879
|
+
required: ['subject', 'createdAt'],
|
|
6880
|
+
properties: {
|
|
6881
|
+
subject: {
|
|
6882
|
+
type: 'string',
|
|
6883
|
+
format: 'at-uri',
|
|
6884
|
+
description: 'Canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.',
|
|
6885
|
+
},
|
|
6886
|
+
createdAt: {
|
|
6887
|
+
type: 'string',
|
|
6888
|
+
format: 'datetime',
|
|
6889
|
+
},
|
|
6890
|
+
},
|
|
6891
|
+
},
|
|
6892
|
+
},
|
|
6893
|
+
},
|
|
6894
|
+
},
|
|
6854
6895
|
AppBskyGraphSearchStarterPacks: {
|
|
6855
6896
|
lexicon: 1,
|
|
6856
6897
|
id: 'app.bsky.graph.searchStarterPacks',
|
|
@@ -21680,6 +21721,39 @@ export const schemaDict = {
|
|
|
21680
21721
|
},
|
|
21681
21722
|
},
|
|
21682
21723
|
},
|
|
21724
|
+
ToolsOzoneModerationGetAccountPreferences: {
|
|
21725
|
+
lexicon: 1,
|
|
21726
|
+
id: 'tools.ozone.moderation.getAccountPreferences',
|
|
21727
|
+
defs: {
|
|
21728
|
+
main: {
|
|
21729
|
+
type: 'query',
|
|
21730
|
+
description: 'Get private preferences for an account. Requires moderator or admin auth.',
|
|
21731
|
+
parameters: {
|
|
21732
|
+
type: 'params',
|
|
21733
|
+
required: ['did'],
|
|
21734
|
+
properties: {
|
|
21735
|
+
did: {
|
|
21736
|
+
type: 'string',
|
|
21737
|
+
format: 'did',
|
|
21738
|
+
},
|
|
21739
|
+
},
|
|
21740
|
+
},
|
|
21741
|
+
output: {
|
|
21742
|
+
encoding: 'application/json',
|
|
21743
|
+
schema: {
|
|
21744
|
+
type: 'object',
|
|
21745
|
+
required: ['preferences'],
|
|
21746
|
+
properties: {
|
|
21747
|
+
preferences: {
|
|
21748
|
+
type: 'ref',
|
|
21749
|
+
ref: 'lex:app.bsky.actor.defs#preferences',
|
|
21750
|
+
},
|
|
21751
|
+
},
|
|
21752
|
+
},
|
|
21753
|
+
},
|
|
21754
|
+
},
|
|
21755
|
+
},
|
|
21756
|
+
},
|
|
21683
21757
|
ToolsOzoneModerationGetAccountTimeline: {
|
|
21684
21758
|
lexicon: 1,
|
|
21685
21759
|
id: 'tools.ozone.moderation.getAccountTimeline',
|
|
@@ -26580,6 +26654,7 @@ export const ids = {
|
|
|
26580
26654
|
AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
|
|
26581
26655
|
AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
|
|
26582
26656
|
AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
|
|
26657
|
+
AppBskyGraphReferencelistoptout: 'app.bsky.graph.referencelistoptout',
|
|
26583
26658
|
AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks',
|
|
26584
26659
|
AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2',
|
|
26585
26660
|
AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
|
|
@@ -26805,6 +26880,7 @@ export const ids = {
|
|
|
26805
26880
|
ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions',
|
|
26806
26881
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
|
26807
26882
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|
|
26883
|
+
ToolsOzoneModerationGetAccountPreferences: 'tools.ozone.moderation.getAccountPreferences',
|
|
26808
26884
|
ToolsOzoneModerationGetAccountTimeline: 'tools.ozone.moderation.getAccountTimeline',
|
|
26809
26885
|
ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent',
|
|
26810
26886
|
ToolsOzoneModerationGetRecord: 'tools.ozone.moderation.getRecord',
|