@atproto/api 0.20.42 → 0.21.0
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 +35 -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 +156 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +80 -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/app/bsky/notification/getUnreadCount.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.js.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +3 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/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',
|
|
@@ -7570,6 +7611,7 @@ export const schemaDict = {
|
|
|
7570
7611
|
properties: {
|
|
7571
7612
|
priority: {
|
|
7572
7613
|
type: 'boolean',
|
|
7614
|
+
description: 'Deprecated: this parameter is ignored.',
|
|
7573
7615
|
},
|
|
7574
7616
|
seenAt: {
|
|
7575
7617
|
type: 'string',
|
|
@@ -7661,6 +7703,7 @@ export const schemaDict = {
|
|
|
7661
7703
|
},
|
|
7662
7704
|
priority: {
|
|
7663
7705
|
type: 'boolean',
|
|
7706
|
+
description: 'Deprecated: this parameter is ignored.',
|
|
7664
7707
|
},
|
|
7665
7708
|
cursor: {
|
|
7666
7709
|
type: 'string',
|
|
@@ -7668,6 +7711,7 @@ export const schemaDict = {
|
|
|
7668
7711
|
seenAt: {
|
|
7669
7712
|
type: 'string',
|
|
7670
7713
|
format: 'datetime',
|
|
7714
|
+
description: 'Deprecated: this parameter is unsupported and will cause an error.',
|
|
7671
7715
|
},
|
|
7672
7716
|
},
|
|
7673
7717
|
},
|
|
@@ -7689,6 +7733,7 @@ export const schemaDict = {
|
|
|
7689
7733
|
},
|
|
7690
7734
|
priority: {
|
|
7691
7735
|
type: 'boolean',
|
|
7736
|
+
description: 'Deprecated: this field is no longer populated.',
|
|
7692
7737
|
},
|
|
7693
7738
|
seenAt: {
|
|
7694
7739
|
type: 'string',
|
|
@@ -21680,6 +21725,39 @@ export const schemaDict = {
|
|
|
21680
21725
|
},
|
|
21681
21726
|
},
|
|
21682
21727
|
},
|
|
21728
|
+
ToolsOzoneModerationGetAccountPreferences: {
|
|
21729
|
+
lexicon: 1,
|
|
21730
|
+
id: 'tools.ozone.moderation.getAccountPreferences',
|
|
21731
|
+
defs: {
|
|
21732
|
+
main: {
|
|
21733
|
+
type: 'query',
|
|
21734
|
+
description: 'Get private preferences for an account. Requires moderator or admin auth.',
|
|
21735
|
+
parameters: {
|
|
21736
|
+
type: 'params',
|
|
21737
|
+
required: ['did'],
|
|
21738
|
+
properties: {
|
|
21739
|
+
did: {
|
|
21740
|
+
type: 'string',
|
|
21741
|
+
format: 'did',
|
|
21742
|
+
},
|
|
21743
|
+
},
|
|
21744
|
+
},
|
|
21745
|
+
output: {
|
|
21746
|
+
encoding: 'application/json',
|
|
21747
|
+
schema: {
|
|
21748
|
+
type: 'object',
|
|
21749
|
+
required: ['preferences'],
|
|
21750
|
+
properties: {
|
|
21751
|
+
preferences: {
|
|
21752
|
+
type: 'ref',
|
|
21753
|
+
ref: 'lex:app.bsky.actor.defs#preferences',
|
|
21754
|
+
},
|
|
21755
|
+
},
|
|
21756
|
+
},
|
|
21757
|
+
},
|
|
21758
|
+
},
|
|
21759
|
+
},
|
|
21760
|
+
},
|
|
21683
21761
|
ToolsOzoneModerationGetAccountTimeline: {
|
|
21684
21762
|
lexicon: 1,
|
|
21685
21763
|
id: 'tools.ozone.moderation.getAccountTimeline',
|
|
@@ -26580,6 +26658,7 @@ export const ids = {
|
|
|
26580
26658
|
AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
|
|
26581
26659
|
AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
|
|
26582
26660
|
AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
|
|
26661
|
+
AppBskyGraphReferencelistoptout: 'app.bsky.graph.referencelistoptout',
|
|
26583
26662
|
AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks',
|
|
26584
26663
|
AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2',
|
|
26585
26664
|
AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
|
|
@@ -26805,6 +26884,7 @@ export const ids = {
|
|
|
26805
26884
|
ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions',
|
|
26806
26885
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
|
26807
26886
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|
|
26887
|
+
ToolsOzoneModerationGetAccountPreferences: 'tools.ozone.moderation.getAccountPreferences',
|
|
26808
26888
|
ToolsOzoneModerationGetAccountTimeline: 'tools.ozone.moderation.getAccountTimeline',
|
|
26809
26889
|
ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent',
|
|
26810
26890
|
ToolsOzoneModerationGetRecord: 'tools.ozone.moderation.getRecord',
|