@atproto/api 0.0.6 → 0.0.8
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/dist/client/index.d.ts +75 -44
- package/dist/client/lexicons.d.ts +1075 -407
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -2
- package/dist/client/types/app/bsky/actor/search.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +1 -8
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declaration.d.ts +1 -1
- package/dist/client/types/com/atproto/account/delete.d.ts +14 -2
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +23 -0
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +49 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +40 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +28 -0
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
- package/dist/client/types/com/atproto/report/create.d.ts +39 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
- package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
- package/dist/client/types/com/atproto/session/create.d.ts +5 -2
- package/dist/client/types/com/atproto/session/refresh.d.ts +4 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +15 -0
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getHead.d.ts +18 -0
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +17 -0
- package/dist/index.js +1997 -927
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +249 -142
- package/src/client/lexicons.ts +1223 -478
- package/src/client/types/app/bsky/actor/getProfile.ts +0 -2
- package/src/client/types/app/bsky/actor/search.ts +1 -1
- package/src/client/types/app/bsky/actor/searchTypeahead.ts +1 -1
- package/src/client/types/app/bsky/actor/updateProfile.ts +0 -1
- package/src/client/types/app/bsky/feed/feedViewPost.ts +1 -19
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -0
- package/src/client/types/app/bsky/notification/list.ts +1 -2
- package/src/client/types/app/bsky/system/declRef.ts +1 -4
- package/src/client/types/app/bsky/system/declaration.ts +1 -4
- package/src/client/types/com/atproto/account/delete.ts +21 -1
- package/src/client/types/com/atproto/account/requestDelete.ts +27 -0
- package/src/client/types/com/atproto/admin/getModerationAction.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationActions.ts +38 -0
- package/src/client/types/com/atproto/admin/getModerationReport.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationReports.ts +39 -0
- package/src/client/types/com/atproto/admin/getRecord.ts +32 -0
- package/src/client/types/com/atproto/admin/getRepo.ts +31 -0
- package/src/client/types/com/atproto/admin/moderationAction.ts +99 -0
- package/src/client/types/com/atproto/admin/moderationReport.ts +64 -0
- package/src/client/types/com/atproto/admin/record.ts +89 -0
- package/src/client/types/com/atproto/admin/repo.ts +103 -0
- package/src/client/types/com/atproto/admin/resolveModerationReports.ts +37 -0
- package/src/client/types/com/atproto/admin/reverseModerationAction.ts +37 -0
- package/src/client/types/com/atproto/admin/searchRepos.ts +38 -0
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +47 -0
- package/src/client/types/com/atproto/repo/recordRef.ts +25 -0
- package/src/client/types/com/atproto/repo/repoRef.ts +24 -0
- package/src/client/types/com/atproto/report/create.ts +54 -0
- package/src/client/types/com/atproto/report/reasonType.ts +16 -0
- package/src/client/types/com/atproto/report/subject.ts +66 -0
- package/src/client/types/com/atproto/session/create.ts +9 -1
- package/src/client/types/com/atproto/session/refresh.ts +7 -0
- package/src/client/types/com/atproto/sync/{updateRepo.ts → getCheckout.ts} +4 -3
- package/src/client/types/com/atproto/sync/getCommitPath.ts +39 -0
- package/src/client/types/com/atproto/sync/{getRoot.ts → getHead.ts} +0 -0
- package/src/client/types/com/atproto/sync/getRecord.ts +34 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/src/client/types/app/bsky/actor/createScene.ts +0 -55
- package/src/client/types/app/bsky/feed/trend.ts +0 -26
- package/src/client/types/app/bsky/graph/getAssertions.ts +0 -85
- package/src/client/types/app/bsky/graph/getMembers.ts +0 -62
- package/src/client/types/app/bsky/graph/getMemberships.ts +0 -62
- package/src/client/types/app/bsky/system/actorScene.ts +0 -9
package/dist/client/index.d.ts
CHANGED
|
@@ -3,8 +3,19 @@ import * as ComAtprotoAccountCreate from './types/com/atproto/account/create';
|
|
|
3
3
|
import * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
4
4
|
import * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
5
5
|
import * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
6
|
+
import * as ComAtprotoAccountRequestDelete from './types/com/atproto/account/requestDelete';
|
|
6
7
|
import * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
7
8
|
import * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
9
|
+
import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
10
|
+
import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
11
|
+
import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
12
|
+
import * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
13
|
+
import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
14
|
+
import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
15
|
+
import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
16
|
+
import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
17
|
+
import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
18
|
+
import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
8
19
|
import * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
9
20
|
import * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
10
21
|
import * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
@@ -14,15 +25,17 @@ import * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
|
|
|
14
25
|
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
15
26
|
import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
16
27
|
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
28
|
+
import * as ComAtprotoReportCreate from './types/com/atproto/report/create';
|
|
17
29
|
import * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
|
|
18
30
|
import * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
|
|
19
31
|
import * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
|
|
20
32
|
import * as ComAtprotoSessionGet from './types/com/atproto/session/get';
|
|
21
33
|
import * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
|
|
34
|
+
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
35
|
+
import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
36
|
+
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
37
|
+
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
22
38
|
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
23
|
-
import * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
|
|
24
|
-
import * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
|
|
25
|
-
import * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
|
|
26
39
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
27
40
|
import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
28
41
|
import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
@@ -37,16 +50,12 @@ import * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
|
|
|
37
50
|
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
38
51
|
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
39
52
|
import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
40
|
-
import * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
|
|
41
53
|
import * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
42
54
|
import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
43
55
|
import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
44
56
|
import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
45
|
-
import * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
|
|
46
57
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
47
58
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
48
|
-
import * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
|
|
49
|
-
import * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
|
|
50
59
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
51
60
|
import * as AppBskyGraphMute from './types/app/bsky/graph/mute';
|
|
52
61
|
import * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
|
|
@@ -58,8 +67,23 @@ export * as ComAtprotoAccountCreate from './types/com/atproto/account/create';
|
|
|
58
67
|
export * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
59
68
|
export * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
60
69
|
export * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
70
|
+
export * as ComAtprotoAccountRequestDelete from './types/com/atproto/account/requestDelete';
|
|
61
71
|
export * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
62
72
|
export * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
73
|
+
export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
74
|
+
export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
75
|
+
export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
76
|
+
export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
77
|
+
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
78
|
+
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
79
|
+
export * as ComAtprotoAdminModerationAction from './types/com/atproto/admin/moderationAction';
|
|
80
|
+
export * as ComAtprotoAdminModerationReport from './types/com/atproto/admin/moderationReport';
|
|
81
|
+
export * as ComAtprotoAdminRecord from './types/com/atproto/admin/record';
|
|
82
|
+
export * as ComAtprotoAdminRepo from './types/com/atproto/admin/repo';
|
|
83
|
+
export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
84
|
+
export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
85
|
+
export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
86
|
+
export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
63
87
|
export * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
64
88
|
export * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
65
89
|
export * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
@@ -69,16 +93,22 @@ export * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
|
|
|
69
93
|
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
70
94
|
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
71
95
|
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
96
|
+
export * as ComAtprotoRepoRecordRef from './types/com/atproto/repo/recordRef';
|
|
97
|
+
export * as ComAtprotoRepoRepoRef from './types/com/atproto/repo/repoRef';
|
|
72
98
|
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
|
|
99
|
+
export * as ComAtprotoReportCreate from './types/com/atproto/report/create';
|
|
100
|
+
export * as ComAtprotoReportReasonType from './types/com/atproto/report/reasonType';
|
|
101
|
+
export * as ComAtprotoReportSubject from './types/com/atproto/report/subject';
|
|
73
102
|
export * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
|
|
74
103
|
export * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
|
|
75
104
|
export * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
|
|
76
105
|
export * as ComAtprotoSessionGet from './types/com/atproto/session/get';
|
|
77
106
|
export * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
|
|
107
|
+
export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
108
|
+
export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
109
|
+
export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
110
|
+
export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
78
111
|
export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
79
|
-
export * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
|
|
80
|
-
export * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
|
|
81
|
-
export * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
|
|
82
112
|
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
83
113
|
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
84
114
|
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
@@ -97,34 +127,37 @@ export * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
|
|
|
97
127
|
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
98
128
|
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
99
129
|
export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
100
|
-
export * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
|
|
101
130
|
export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
102
131
|
export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
|
|
103
132
|
export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
|
|
104
133
|
export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
105
134
|
export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
106
135
|
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
107
|
-
export * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
|
|
108
136
|
export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
109
137
|
export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
110
|
-
export * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
|
|
111
|
-
export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
|
|
112
138
|
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
113
139
|
export * as AppBskyGraphMute from './types/app/bsky/graph/mute';
|
|
114
140
|
export * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
|
|
115
141
|
export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
|
|
116
142
|
export * as AppBskyNotificationList from './types/app/bsky/notification/list';
|
|
117
143
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
118
|
-
export * as AppBskySystemActorScene from './types/app/bsky/system/actorScene';
|
|
119
144
|
export * as AppBskySystemActorUser from './types/app/bsky/system/actorUser';
|
|
120
145
|
export * as AppBskySystemDeclRef from './types/app/bsky/system/declRef';
|
|
121
146
|
export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
|
|
147
|
+
export declare const COM_ATPROTO_ADMIN: {
|
|
148
|
+
ModerationActionTakedown: string;
|
|
149
|
+
ModerationActionFlag: string;
|
|
150
|
+
ModerationActionAcknowledge: string;
|
|
151
|
+
};
|
|
152
|
+
export declare const COM_ATPROTO_REPORT: {
|
|
153
|
+
ReasonTypeSpam: string;
|
|
154
|
+
ReasonTypeOther: string;
|
|
155
|
+
};
|
|
122
156
|
export declare const APP_BSKY_GRAPH: {
|
|
123
157
|
AssertCreator: string;
|
|
124
158
|
AssertMember: string;
|
|
125
159
|
};
|
|
126
160
|
export declare const APP_BSKY_SYSTEM: {
|
|
127
|
-
ActorScene: string;
|
|
128
161
|
ActorUser: string;
|
|
129
162
|
};
|
|
130
163
|
export declare class Client {
|
|
@@ -150,9 +183,11 @@ export declare class ComNS {
|
|
|
150
183
|
export declare class AtprotoNS {
|
|
151
184
|
_service: ServiceClient;
|
|
152
185
|
account: AccountNS;
|
|
186
|
+
admin: AdminNS;
|
|
153
187
|
blob: BlobNS;
|
|
154
188
|
handle: HandleNS;
|
|
155
189
|
repo: RepoNS;
|
|
190
|
+
report: ReportNS;
|
|
156
191
|
server: ServerNS;
|
|
157
192
|
session: SessionNS;
|
|
158
193
|
sync: SyncNS;
|
|
@@ -165,9 +200,24 @@ export declare class AccountNS {
|
|
|
165
200
|
createInviteCode(data?: ComAtprotoAccountCreateInviteCode.InputSchema, opts?: ComAtprotoAccountCreateInviteCode.CallOptions): Promise<ComAtprotoAccountCreateInviteCode.Response>;
|
|
166
201
|
delete(data?: ComAtprotoAccountDelete.InputSchema, opts?: ComAtprotoAccountDelete.CallOptions): Promise<ComAtprotoAccountDelete.Response>;
|
|
167
202
|
get(params?: ComAtprotoAccountGet.QueryParams, opts?: ComAtprotoAccountGet.CallOptions): Promise<ComAtprotoAccountGet.Response>;
|
|
203
|
+
requestDelete(data?: ComAtprotoAccountRequestDelete.InputSchema, opts?: ComAtprotoAccountRequestDelete.CallOptions): Promise<ComAtprotoAccountRequestDelete.Response>;
|
|
168
204
|
requestPasswordReset(data?: ComAtprotoAccountRequestPasswordReset.InputSchema, opts?: ComAtprotoAccountRequestPasswordReset.CallOptions): Promise<ComAtprotoAccountRequestPasswordReset.Response>;
|
|
169
205
|
resetPassword(data?: ComAtprotoAccountResetPassword.InputSchema, opts?: ComAtprotoAccountResetPassword.CallOptions): Promise<ComAtprotoAccountResetPassword.Response>;
|
|
170
206
|
}
|
|
207
|
+
export declare class AdminNS {
|
|
208
|
+
_service: ServiceClient;
|
|
209
|
+
constructor(service: ServiceClient);
|
|
210
|
+
getModerationAction(params?: ComAtprotoAdminGetModerationAction.QueryParams, opts?: ComAtprotoAdminGetModerationAction.CallOptions): Promise<ComAtprotoAdminGetModerationAction.Response>;
|
|
211
|
+
getModerationActions(params?: ComAtprotoAdminGetModerationActions.QueryParams, opts?: ComAtprotoAdminGetModerationActions.CallOptions): Promise<ComAtprotoAdminGetModerationActions.Response>;
|
|
212
|
+
getModerationReport(params?: ComAtprotoAdminGetModerationReport.QueryParams, opts?: ComAtprotoAdminGetModerationReport.CallOptions): Promise<ComAtprotoAdminGetModerationReport.Response>;
|
|
213
|
+
getModerationReports(params?: ComAtprotoAdminGetModerationReports.QueryParams, opts?: ComAtprotoAdminGetModerationReports.CallOptions): Promise<ComAtprotoAdminGetModerationReports.Response>;
|
|
214
|
+
getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
|
|
215
|
+
getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
|
|
216
|
+
resolveModerationReports(data?: ComAtprotoAdminResolveModerationReports.InputSchema, opts?: ComAtprotoAdminResolveModerationReports.CallOptions): Promise<ComAtprotoAdminResolveModerationReports.Response>;
|
|
217
|
+
reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>;
|
|
218
|
+
searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
|
|
219
|
+
takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
|
|
220
|
+
}
|
|
171
221
|
export declare class BlobNS {
|
|
172
222
|
_service: ServiceClient;
|
|
173
223
|
constructor(service: ServiceClient);
|
|
@@ -189,6 +239,11 @@ export declare class RepoNS {
|
|
|
189
239
|
listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
|
|
190
240
|
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
|
|
191
241
|
}
|
|
242
|
+
export declare class ReportNS {
|
|
243
|
+
_service: ServiceClient;
|
|
244
|
+
constructor(service: ServiceClient);
|
|
245
|
+
create(data?: ComAtprotoReportCreate.InputSchema, opts?: ComAtprotoReportCreate.CallOptions): Promise<ComAtprotoReportCreate.Response>;
|
|
246
|
+
}
|
|
192
247
|
export declare class ServerNS {
|
|
193
248
|
_service: ServiceClient;
|
|
194
249
|
constructor(service: ServiceClient);
|
|
@@ -205,9 +260,11 @@ export declare class SessionNS {
|
|
|
205
260
|
export declare class SyncNS {
|
|
206
261
|
_service: ServiceClient;
|
|
207
262
|
constructor(service: ServiceClient);
|
|
263
|
+
getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>;
|
|
264
|
+
getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>;
|
|
265
|
+
getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>;
|
|
266
|
+
getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
|
|
208
267
|
getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
|
|
209
|
-
getRoot(params?: ComAtprotoSyncGetRoot.QueryParams, opts?: ComAtprotoSyncGetRoot.CallOptions): Promise<ComAtprotoSyncGetRoot.Response>;
|
|
210
|
-
updateRepo(data?: ComAtprotoSyncUpdateRepo.InputSchema, opts?: ComAtprotoSyncUpdateRepo.CallOptions): Promise<ComAtprotoSyncUpdateRepo.Response>;
|
|
211
268
|
}
|
|
212
269
|
export declare class AppNS {
|
|
213
270
|
_service: ServiceClient;
|
|
@@ -228,7 +285,6 @@ export declare class ActorNS {
|
|
|
228
285
|
_service: ServiceClient;
|
|
229
286
|
profile: ProfileRecord;
|
|
230
287
|
constructor(service: ServiceClient);
|
|
231
|
-
createScene(data?: AppBskyActorCreateScene.InputSchema, opts?: AppBskyActorCreateScene.CallOptions): Promise<AppBskyActorCreateScene.Response>;
|
|
232
288
|
getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
|
|
233
289
|
getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
|
|
234
290
|
search(params?: AppBskyActorSearch.QueryParams, opts?: AppBskyActorSearch.CallOptions): Promise<AppBskyActorSearch.Response>;
|
|
@@ -264,7 +320,6 @@ export declare class FeedNS {
|
|
|
264
320
|
_service: ServiceClient;
|
|
265
321
|
post: PostRecord;
|
|
266
322
|
repost: RepostRecord;
|
|
267
|
-
trend: TrendRecord;
|
|
268
323
|
vote: VoteRecord;
|
|
269
324
|
constructor(service: ServiceClient);
|
|
270
325
|
getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
|
|
@@ -316,27 +371,6 @@ export declare class RepostRecord {
|
|
|
316
371
|
}>;
|
|
317
372
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
318
373
|
}
|
|
319
|
-
export declare class TrendRecord {
|
|
320
|
-
_service: ServiceClient;
|
|
321
|
-
constructor(service: ServiceClient);
|
|
322
|
-
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
323
|
-
cursor?: string;
|
|
324
|
-
records: {
|
|
325
|
-
uri: string;
|
|
326
|
-
value: AppBskyFeedTrend.Record;
|
|
327
|
-
}[];
|
|
328
|
-
}>;
|
|
329
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
330
|
-
uri: string;
|
|
331
|
-
cid: string;
|
|
332
|
-
value: AppBskyFeedTrend.Record;
|
|
333
|
-
}>;
|
|
334
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedTrend.Record, headers?: Record<string, string>): Promise<{
|
|
335
|
-
uri: string;
|
|
336
|
-
cid: string;
|
|
337
|
-
}>;
|
|
338
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
339
|
-
}
|
|
340
374
|
export declare class VoteRecord {
|
|
341
375
|
_service: ServiceClient;
|
|
342
376
|
constructor(service: ServiceClient);
|
|
@@ -364,11 +398,8 @@ export declare class GraphNS {
|
|
|
364
398
|
confirmation: ConfirmationRecord;
|
|
365
399
|
follow: FollowRecord;
|
|
366
400
|
constructor(service: ServiceClient);
|
|
367
|
-
getAssertions(params?: AppBskyGraphGetAssertions.QueryParams, opts?: AppBskyGraphGetAssertions.CallOptions): Promise<AppBskyGraphGetAssertions.Response>;
|
|
368
401
|
getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
|
|
369
402
|
getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
|
|
370
|
-
getMembers(params?: AppBskyGraphGetMembers.QueryParams, opts?: AppBskyGraphGetMembers.CallOptions): Promise<AppBskyGraphGetMembers.Response>;
|
|
371
|
-
getMemberships(params?: AppBskyGraphGetMemberships.QueryParams, opts?: AppBskyGraphGetMemberships.CallOptions): Promise<AppBskyGraphGetMemberships.Response>;
|
|
372
403
|
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
|
|
373
404
|
mute(data?: AppBskyGraphMute.InputSchema, opts?: AppBskyGraphMute.CallOptions): Promise<AppBskyGraphMute.Response>;
|
|
374
405
|
unmute(data?: AppBskyGraphUnmute.InputSchema, opts?: AppBskyGraphUnmute.CallOptions): Promise<AppBskyGraphUnmute.Response>;
|