@atproto/api 0.21.0 → 0.23.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 +40 -0
- package/dist/client/index.d.ts +12 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +22 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +1658 -22
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +890 -11
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +4 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts +4 -0
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getQuotes.d.ts +2 -0
- package/dist/client/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +4 -0
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +234 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js +189 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.d.ts +65 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.js +65 -0
- package/dist/client/types/tools/ozone/inbox/appealActionedSubject.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +68 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.js +38 -0
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -0
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts +2 -0
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +2 -0
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts +5 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.js +7 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts +49 -9
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
- package/package.json +7 -7
package/dist/client/index.js
CHANGED
|
@@ -110,6 +110,7 @@ import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices
|
|
|
110
110
|
import * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
|
|
111
111
|
import * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js';
|
|
112
112
|
import * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
|
|
113
|
+
import * as AppBskyNotificationGetGroupedNotifications from './types/app/bsky/notification/getGroupedNotifications.js';
|
|
113
114
|
import * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
|
|
114
115
|
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
|
|
115
116
|
import * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js';
|
|
@@ -320,6 +321,8 @@ import * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/comm
|
|
|
320
321
|
import * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js';
|
|
321
322
|
import * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js';
|
|
322
323
|
import * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js';
|
|
324
|
+
import * as ToolsOzoneInboxAppealActionedSubject from './types/tools/ozone/inbox/appealActionedSubject.js';
|
|
325
|
+
import * as ToolsOzoneInboxDefs from './types/tools/ozone/inbox/defs.js';
|
|
323
326
|
import * as ToolsOzoneModerationCancelScheduledActions from './types/tools/ozone/moderation/cancelScheduledActions.js';
|
|
324
327
|
import * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js';
|
|
325
328
|
import * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js';
|
|
@@ -497,6 +500,7 @@ export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices
|
|
|
497
500
|
export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
|
|
498
501
|
export * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js';
|
|
499
502
|
export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
|
|
503
|
+
export * as AppBskyNotificationGetGroupedNotifications from './types/app/bsky/notification/getGroupedNotifications.js';
|
|
500
504
|
export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
|
|
501
505
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
|
|
502
506
|
export * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js';
|
|
@@ -707,6 +711,8 @@ export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/comm
|
|
|
707
711
|
export * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js';
|
|
708
712
|
export * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js';
|
|
709
713
|
export * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js';
|
|
714
|
+
export * as ToolsOzoneInboxAppealActionedSubject from './types/tools/ozone/inbox/appealActionedSubject.js';
|
|
715
|
+
export * as ToolsOzoneInboxDefs from './types/tools/ozone/inbox/defs.js';
|
|
710
716
|
export * as ToolsOzoneModerationCancelScheduledActions from './types/tools/ozone/moderation/cancelScheduledActions.js';
|
|
711
717
|
export * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js';
|
|
712
718
|
export * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js';
|
|
@@ -1861,6 +1867,9 @@ export class AppBskyNotificationNS {
|
|
|
1861
1867
|
this._client = client;
|
|
1862
1868
|
this.declaration = new AppBskyNotificationDeclarationRecord(client);
|
|
1863
1869
|
}
|
|
1870
|
+
getGroupedNotifications(params, opts) {
|
|
1871
|
+
return this._client.call('app.bsky.notification.getGroupedNotifications', params, undefined, opts);
|
|
1872
|
+
}
|
|
1864
1873
|
getPreferences(params, opts) {
|
|
1865
1874
|
return this._client.call('app.bsky.notification.getPreferences', params, undefined, opts);
|
|
1866
1875
|
}
|
|
@@ -2995,6 +3004,7 @@ export class ToolsOzoneNS {
|
|
|
2995
3004
|
this._client = client;
|
|
2996
3005
|
this.communication = new ToolsOzoneCommunicationNS(client);
|
|
2997
3006
|
this.hosting = new ToolsOzoneHostingNS(client);
|
|
3007
|
+
this.inbox = new ToolsOzoneInboxNS(client);
|
|
2998
3008
|
this.moderation = new ToolsOzoneModerationNS(client);
|
|
2999
3009
|
this.queue = new ToolsOzoneQueueNS(client);
|
|
3000
3010
|
this.report = new ToolsOzoneReportNS(client);
|
|
@@ -3040,6 +3050,18 @@ export class ToolsOzoneHostingNS {
|
|
|
3040
3050
|
return this._client.call('tools.ozone.hosting.getAccountHistory', params, undefined, opts);
|
|
3041
3051
|
}
|
|
3042
3052
|
}
|
|
3053
|
+
export class ToolsOzoneInboxNS {
|
|
3054
|
+
constructor(client) {
|
|
3055
|
+
this._client = client;
|
|
3056
|
+
}
|
|
3057
|
+
appealActionedSubject(data, opts) {
|
|
3058
|
+
return this._client
|
|
3059
|
+
.call('tools.ozone.inbox.appealActionedSubject', opts?.qp, data, opts)
|
|
3060
|
+
.catch((e) => {
|
|
3061
|
+
throw ToolsOzoneInboxAppealActionedSubject.toKnownErr(e);
|
|
3062
|
+
});
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3043
3065
|
export class ToolsOzoneModerationNS {
|
|
3044
3066
|
constructor(client) {
|
|
3045
3067
|
this._client = client;
|