@atproto/bsky 0.0.177 → 0.0.178
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 +12 -0
- package/dist/lexicon/index.d.ts +230 -230
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +687 -687
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +16808 -16808
- package/dist/lexicon/lexicons.js +9267 -9267
- package/dist/lexicon/lexicons.js.map +1 -1
- package/package.json +11 -11
- package/src/lexicon/index.ts +1235 -1235
- package/src/lexicon/lexicons.ts +9416 -9416
package/src/lexicon/index.ts
CHANGED
|
@@ -10,89 +10,6 @@ import {
|
|
|
10
10
|
createServer as createXrpcServer,
|
|
11
11
|
} from '@atproto/xrpc-server'
|
|
12
12
|
import { schemas } from './lexicons.js'
|
|
13
|
-
import * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount.js'
|
|
14
|
-
import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites.js'
|
|
15
|
-
import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes.js'
|
|
16
|
-
import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites.js'
|
|
17
|
-
import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo.js'
|
|
18
|
-
import * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos.js'
|
|
19
|
-
import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes.js'
|
|
20
|
-
import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus.js'
|
|
21
|
-
import * as ComAtprotoAdminSearchAccounts from './types/com/atproto/admin/searchAccounts.js'
|
|
22
|
-
import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.js'
|
|
23
|
-
import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.js'
|
|
24
|
-
import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.js'
|
|
25
|
-
import * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.js'
|
|
26
|
-
import * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.js'
|
|
27
|
-
import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.js'
|
|
28
|
-
import * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.js'
|
|
29
|
-
import * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.js'
|
|
30
|
-
import * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature.js'
|
|
31
|
-
import * as ComAtprotoIdentityResolveDid from './types/com/atproto/identity/resolveDid.js'
|
|
32
|
-
import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle.js'
|
|
33
|
-
import * as ComAtprotoIdentityResolveIdentity from './types/com/atproto/identity/resolveIdentity.js'
|
|
34
|
-
import * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identity/signPlcOperation.js'
|
|
35
|
-
import * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js'
|
|
36
|
-
import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js'
|
|
37
|
-
import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js'
|
|
38
|
-
import * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js'
|
|
39
|
-
import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js'
|
|
40
|
-
import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js'
|
|
41
|
-
import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js'
|
|
42
|
-
import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js'
|
|
43
|
-
import * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo.js'
|
|
44
|
-
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js'
|
|
45
|
-
import * as ComAtprotoRepoImportRepo from './types/com/atproto/repo/importRepo.js'
|
|
46
|
-
import * as ComAtprotoRepoListMissingBlobs from './types/com/atproto/repo/listMissingBlobs.js'
|
|
47
|
-
import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js'
|
|
48
|
-
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js'
|
|
49
|
-
import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob.js'
|
|
50
|
-
import * as ComAtprotoServerActivateAccount from './types/com/atproto/server/activateAccount.js'
|
|
51
|
-
import * as ComAtprotoServerCheckAccountStatus from './types/com/atproto/server/checkAccountStatus.js'
|
|
52
|
-
import * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail.js'
|
|
53
|
-
import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount.js'
|
|
54
|
-
import * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword.js'
|
|
55
|
-
import * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode.js'
|
|
56
|
-
import * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes.js'
|
|
57
|
-
import * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession.js'
|
|
58
|
-
import * as ComAtprotoServerDeactivateAccount from './types/com/atproto/server/deactivateAccount.js'
|
|
59
|
-
import * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount.js'
|
|
60
|
-
import * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession.js'
|
|
61
|
-
import * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer.js'
|
|
62
|
-
import * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes.js'
|
|
63
|
-
import * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js'
|
|
64
|
-
import * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession.js'
|
|
65
|
-
import * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords.js'
|
|
66
|
-
import * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession.js'
|
|
67
|
-
import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete.js'
|
|
68
|
-
import * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation.js'
|
|
69
|
-
import * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate.js'
|
|
70
|
-
import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset.js'
|
|
71
|
-
import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey.js'
|
|
72
|
-
import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js'
|
|
73
|
-
import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js'
|
|
74
|
-
import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js'
|
|
75
|
-
import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js'
|
|
76
|
-
import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js'
|
|
77
|
-
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout.js'
|
|
78
|
-
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead.js'
|
|
79
|
-
import * as ComAtprotoSyncGetHostStatus from './types/com/atproto/sync/getHostStatus.js'
|
|
80
|
-
import * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit.js'
|
|
81
|
-
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord.js'
|
|
82
|
-
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.js'
|
|
83
|
-
import * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.js'
|
|
84
|
-
import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.js'
|
|
85
|
-
import * as ComAtprotoSyncListHosts from './types/com/atproto/sync/listHosts.js'
|
|
86
|
-
import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.js'
|
|
87
|
-
import * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.js'
|
|
88
|
-
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.js'
|
|
89
|
-
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.js'
|
|
90
|
-
import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.js'
|
|
91
|
-
import * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'
|
|
92
|
-
import * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'
|
|
93
|
-
import * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'
|
|
94
|
-
import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
|
|
95
|
-
import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
|
|
96
13
|
import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences.js'
|
|
97
14
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.js'
|
|
98
15
|
import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.js'
|
|
@@ -197,16 +114,90 @@ import * as ChatBskyConvoUpdateRead from './types/chat/bsky/convo/updateRead.js'
|
|
|
197
114
|
import * as ChatBskyModerationGetActorMetadata from './types/chat/bsky/moderation/getActorMetadata.js'
|
|
198
115
|
import * as ChatBskyModerationGetMessageContext from './types/chat/bsky/moderation/getMessageContext.js'
|
|
199
116
|
import * as ChatBskyModerationUpdateActorAccess from './types/chat/bsky/moderation/updateActorAccess.js'
|
|
117
|
+
import * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount.js'
|
|
118
|
+
import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites.js'
|
|
119
|
+
import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes.js'
|
|
120
|
+
import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites.js'
|
|
121
|
+
import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo.js'
|
|
122
|
+
import * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos.js'
|
|
123
|
+
import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes.js'
|
|
124
|
+
import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus.js'
|
|
125
|
+
import * as ComAtprotoAdminSearchAccounts from './types/com/atproto/admin/searchAccounts.js'
|
|
126
|
+
import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.js'
|
|
127
|
+
import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.js'
|
|
128
|
+
import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.js'
|
|
129
|
+
import * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.js'
|
|
130
|
+
import * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.js'
|
|
131
|
+
import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.js'
|
|
132
|
+
import * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.js'
|
|
133
|
+
import * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.js'
|
|
134
|
+
import * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature.js'
|
|
135
|
+
import * as ComAtprotoIdentityResolveDid from './types/com/atproto/identity/resolveDid.js'
|
|
136
|
+
import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle.js'
|
|
137
|
+
import * as ComAtprotoIdentityResolveIdentity from './types/com/atproto/identity/resolveIdentity.js'
|
|
138
|
+
import * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identity/signPlcOperation.js'
|
|
139
|
+
import * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js'
|
|
140
|
+
import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js'
|
|
141
|
+
import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js'
|
|
142
|
+
import * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js'
|
|
143
|
+
import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js'
|
|
144
|
+
import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js'
|
|
145
|
+
import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js'
|
|
146
|
+
import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js'
|
|
147
|
+
import * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo.js'
|
|
148
|
+
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js'
|
|
149
|
+
import * as ComAtprotoRepoImportRepo from './types/com/atproto/repo/importRepo.js'
|
|
150
|
+
import * as ComAtprotoRepoListMissingBlobs from './types/com/atproto/repo/listMissingBlobs.js'
|
|
151
|
+
import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js'
|
|
152
|
+
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js'
|
|
153
|
+
import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob.js'
|
|
154
|
+
import * as ComAtprotoServerActivateAccount from './types/com/atproto/server/activateAccount.js'
|
|
155
|
+
import * as ComAtprotoServerCheckAccountStatus from './types/com/atproto/server/checkAccountStatus.js'
|
|
156
|
+
import * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail.js'
|
|
157
|
+
import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount.js'
|
|
158
|
+
import * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword.js'
|
|
159
|
+
import * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode.js'
|
|
160
|
+
import * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes.js'
|
|
161
|
+
import * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession.js'
|
|
162
|
+
import * as ComAtprotoServerDeactivateAccount from './types/com/atproto/server/deactivateAccount.js'
|
|
163
|
+
import * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount.js'
|
|
164
|
+
import * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession.js'
|
|
165
|
+
import * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer.js'
|
|
166
|
+
import * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes.js'
|
|
167
|
+
import * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js'
|
|
168
|
+
import * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession.js'
|
|
169
|
+
import * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords.js'
|
|
170
|
+
import * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession.js'
|
|
171
|
+
import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete.js'
|
|
172
|
+
import * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation.js'
|
|
173
|
+
import * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate.js'
|
|
174
|
+
import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset.js'
|
|
175
|
+
import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey.js'
|
|
176
|
+
import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js'
|
|
177
|
+
import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js'
|
|
178
|
+
import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js'
|
|
179
|
+
import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js'
|
|
180
|
+
import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js'
|
|
181
|
+
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout.js'
|
|
182
|
+
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead.js'
|
|
183
|
+
import * as ComAtprotoSyncGetHostStatus from './types/com/atproto/sync/getHostStatus.js'
|
|
184
|
+
import * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit.js'
|
|
185
|
+
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord.js'
|
|
186
|
+
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.js'
|
|
187
|
+
import * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.js'
|
|
188
|
+
import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.js'
|
|
189
|
+
import * as ComAtprotoSyncListHosts from './types/com/atproto/sync/listHosts.js'
|
|
190
|
+
import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.js'
|
|
191
|
+
import * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.js'
|
|
192
|
+
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.js'
|
|
193
|
+
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.js'
|
|
194
|
+
import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.js'
|
|
195
|
+
import * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js'
|
|
196
|
+
import * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js'
|
|
197
|
+
import * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js'
|
|
198
|
+
import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
|
|
199
|
+
import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
|
|
200
200
|
|
|
201
|
-
export const COM_ATPROTO_MODERATION = {
|
|
202
|
-
DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
|
|
203
|
-
DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
|
|
204
|
-
DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
|
|
205
|
-
DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
|
|
206
|
-
DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
|
|
207
|
-
DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
|
|
208
|
-
DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
|
|
209
|
-
}
|
|
210
201
|
export const APP_BSKY_ACTOR = {
|
|
211
202
|
StatusLive: 'app.bsky.actor.status#live',
|
|
212
203
|
}
|
|
@@ -231,6 +222,15 @@ export const APP_BSKY_GRAPH = {
|
|
|
231
222
|
DefsCuratelist: 'app.bsky.graph.defs#curatelist',
|
|
232
223
|
DefsReferencelist: 'app.bsky.graph.defs#referencelist',
|
|
233
224
|
}
|
|
225
|
+
export const COM_ATPROTO_MODERATION = {
|
|
226
|
+
DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
|
|
227
|
+
DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
|
|
228
|
+
DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
|
|
229
|
+
DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
|
|
230
|
+
DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
|
|
231
|
+
DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
|
|
232
|
+
DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
|
|
233
|
+
}
|
|
234
234
|
|
|
235
235
|
export function createServer(options?: XrpcOptions): Server {
|
|
236
236
|
return new Server(options)
|
|
@@ -238,2520 +238,2520 @@ export function createServer(options?: XrpcOptions): Server {
|
|
|
238
238
|
|
|
239
239
|
export class Server {
|
|
240
240
|
xrpc: XrpcServer
|
|
241
|
-
com: ComNS
|
|
242
241
|
app: AppNS
|
|
243
242
|
chat: ChatNS
|
|
243
|
+
com: ComNS
|
|
244
244
|
|
|
245
245
|
constructor(options?: XrpcOptions) {
|
|
246
246
|
this.xrpc = createXrpcServer(schemas, options)
|
|
247
|
-
this.com = new ComNS(this)
|
|
248
247
|
this.app = new AppNS(this)
|
|
249
248
|
this.chat = new ChatNS(this)
|
|
249
|
+
this.com = new ComNS(this)
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export class
|
|
253
|
+
export class AppNS {
|
|
254
254
|
_server: Server
|
|
255
|
-
|
|
255
|
+
bsky: AppBskyNS
|
|
256
256
|
|
|
257
257
|
constructor(server: Server) {
|
|
258
258
|
this._server = server
|
|
259
|
-
this.
|
|
259
|
+
this.bsky = new AppBskyNS(server)
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
export class
|
|
263
|
+
export class AppBskyNS {
|
|
264
264
|
_server: Server
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
265
|
+
actor: AppBskyActorNS
|
|
266
|
+
embed: AppBskyEmbedNS
|
|
267
|
+
feed: AppBskyFeedNS
|
|
268
|
+
graph: AppBskyGraphNS
|
|
269
|
+
labeler: AppBskyLabelerNS
|
|
270
|
+
notification: AppBskyNotificationNS
|
|
271
|
+
richtext: AppBskyRichtextNS
|
|
272
|
+
unspecced: AppBskyUnspeccedNS
|
|
273
|
+
video: AppBskyVideoNS
|
|
274
274
|
|
|
275
275
|
constructor(server: Server) {
|
|
276
276
|
this._server = server
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
277
|
+
this.actor = new AppBskyActorNS(server)
|
|
278
|
+
this.embed = new AppBskyEmbedNS(server)
|
|
279
|
+
this.feed = new AppBskyFeedNS(server)
|
|
280
|
+
this.graph = new AppBskyGraphNS(server)
|
|
281
|
+
this.labeler = new AppBskyLabelerNS(server)
|
|
282
|
+
this.notification = new AppBskyNotificationNS(server)
|
|
283
|
+
this.richtext = new AppBskyRichtextNS(server)
|
|
284
|
+
this.unspecced = new AppBskyUnspeccedNS(server)
|
|
285
|
+
this.video = new AppBskyVideoNS(server)
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
export class
|
|
289
|
+
export class AppBskyActorNS {
|
|
290
290
|
_server: Server
|
|
291
291
|
|
|
292
292
|
constructor(server: Server) {
|
|
293
293
|
this._server = server
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
|
|
296
|
+
getPreferences<A extends Auth = void>(
|
|
297
297
|
cfg: MethodConfigOrHandler<
|
|
298
298
|
A,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
AppBskyActorGetPreferences.QueryParams,
|
|
300
|
+
AppBskyActorGetPreferences.HandlerInput,
|
|
301
|
+
AppBskyActorGetPreferences.HandlerOutput
|
|
302
302
|
>,
|
|
303
303
|
) {
|
|
304
|
-
const nsid = '
|
|
304
|
+
const nsid = 'app.bsky.actor.getPreferences' // @ts-ignore
|
|
305
305
|
return this._server.xrpc.method(nsid, cfg)
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
|
|
308
|
+
getProfile<A extends Auth = void>(
|
|
309
309
|
cfg: MethodConfigOrHandler<
|
|
310
310
|
A,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
311
|
+
AppBskyActorGetProfile.QueryParams,
|
|
312
|
+
AppBskyActorGetProfile.HandlerInput,
|
|
313
|
+
AppBskyActorGetProfile.HandlerOutput
|
|
314
314
|
>,
|
|
315
315
|
) {
|
|
316
|
-
const nsid = '
|
|
316
|
+
const nsid = 'app.bsky.actor.getProfile' // @ts-ignore
|
|
317
317
|
return this._server.xrpc.method(nsid, cfg)
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
|
|
320
|
+
getProfiles<A extends Auth = void>(
|
|
321
321
|
cfg: MethodConfigOrHandler<
|
|
322
322
|
A,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
323
|
+
AppBskyActorGetProfiles.QueryParams,
|
|
324
|
+
AppBskyActorGetProfiles.HandlerInput,
|
|
325
|
+
AppBskyActorGetProfiles.HandlerOutput
|
|
326
326
|
>,
|
|
327
327
|
) {
|
|
328
|
-
const nsid = '
|
|
328
|
+
const nsid = 'app.bsky.actor.getProfiles' // @ts-ignore
|
|
329
329
|
return this._server.xrpc.method(nsid, cfg)
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
|
|
332
|
+
getSuggestions<A extends Auth = void>(
|
|
333
333
|
cfg: MethodConfigOrHandler<
|
|
334
334
|
A,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
335
|
+
AppBskyActorGetSuggestions.QueryParams,
|
|
336
|
+
AppBskyActorGetSuggestions.HandlerInput,
|
|
337
|
+
AppBskyActorGetSuggestions.HandlerOutput
|
|
338
338
|
>,
|
|
339
339
|
) {
|
|
340
|
-
const nsid = '
|
|
340
|
+
const nsid = 'app.bsky.actor.getSuggestions' // @ts-ignore
|
|
341
341
|
return this._server.xrpc.method(nsid, cfg)
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
|
|
344
|
+
putPreferences<A extends Auth = void>(
|
|
345
345
|
cfg: MethodConfigOrHandler<
|
|
346
346
|
A,
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
AppBskyActorPutPreferences.QueryParams,
|
|
348
|
+
AppBskyActorPutPreferences.HandlerInput,
|
|
349
|
+
AppBskyActorPutPreferences.HandlerOutput
|
|
350
350
|
>,
|
|
351
351
|
) {
|
|
352
|
-
const nsid = '
|
|
352
|
+
const nsid = 'app.bsky.actor.putPreferences' // @ts-ignore
|
|
353
353
|
return this._server.xrpc.method(nsid, cfg)
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
|
|
356
|
+
searchActors<A extends Auth = void>(
|
|
357
357
|
cfg: MethodConfigOrHandler<
|
|
358
358
|
A,
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
AppBskyActorSearchActors.QueryParams,
|
|
360
|
+
AppBskyActorSearchActors.HandlerInput,
|
|
361
|
+
AppBskyActorSearchActors.HandlerOutput
|
|
362
362
|
>,
|
|
363
363
|
) {
|
|
364
|
-
const nsid = '
|
|
364
|
+
const nsid = 'app.bsky.actor.searchActors' // @ts-ignore
|
|
365
365
|
return this._server.xrpc.method(nsid, cfg)
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
|
|
368
|
+
searchActorsTypeahead<A extends Auth = void>(
|
|
369
369
|
cfg: MethodConfigOrHandler<
|
|
370
370
|
A,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
371
|
+
AppBskyActorSearchActorsTypeahead.QueryParams,
|
|
372
|
+
AppBskyActorSearchActorsTypeahead.HandlerInput,
|
|
373
|
+
AppBskyActorSearchActorsTypeahead.HandlerOutput
|
|
374
374
|
>,
|
|
375
375
|
) {
|
|
376
|
-
const nsid = '
|
|
376
|
+
const nsid = 'app.bsky.actor.searchActorsTypeahead' // @ts-ignore
|
|
377
377
|
return this._server.xrpc.method(nsid, cfg)
|
|
378
378
|
}
|
|
379
|
+
}
|
|
379
380
|
|
|
380
|
-
|
|
381
|
+
export class AppBskyEmbedNS {
|
|
382
|
+
_server: Server
|
|
383
|
+
|
|
384
|
+
constructor(server: Server) {
|
|
385
|
+
this._server = server
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
export class AppBskyFeedNS {
|
|
390
|
+
_server: Server
|
|
391
|
+
|
|
392
|
+
constructor(server: Server) {
|
|
393
|
+
this._server = server
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
describeFeedGenerator<A extends Auth = void>(
|
|
381
397
|
cfg: MethodConfigOrHandler<
|
|
382
398
|
A,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
399
|
+
AppBskyFeedDescribeFeedGenerator.QueryParams,
|
|
400
|
+
AppBskyFeedDescribeFeedGenerator.HandlerInput,
|
|
401
|
+
AppBskyFeedDescribeFeedGenerator.HandlerOutput
|
|
386
402
|
>,
|
|
387
403
|
) {
|
|
388
|
-
const nsid = '
|
|
404
|
+
const nsid = 'app.bsky.feed.describeFeedGenerator' // @ts-ignore
|
|
389
405
|
return this._server.xrpc.method(nsid, cfg)
|
|
390
406
|
}
|
|
391
407
|
|
|
392
|
-
|
|
408
|
+
getActorFeeds<A extends Auth = void>(
|
|
393
409
|
cfg: MethodConfigOrHandler<
|
|
394
410
|
A,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
411
|
+
AppBskyFeedGetActorFeeds.QueryParams,
|
|
412
|
+
AppBskyFeedGetActorFeeds.HandlerInput,
|
|
413
|
+
AppBskyFeedGetActorFeeds.HandlerOutput
|
|
398
414
|
>,
|
|
399
415
|
) {
|
|
400
|
-
const nsid = '
|
|
416
|
+
const nsid = 'app.bsky.feed.getActorFeeds' // @ts-ignore
|
|
401
417
|
return this._server.xrpc.method(nsid, cfg)
|
|
402
418
|
}
|
|
403
419
|
|
|
404
|
-
|
|
420
|
+
getActorLikes<A extends Auth = void>(
|
|
405
421
|
cfg: MethodConfigOrHandler<
|
|
406
422
|
A,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
423
|
+
AppBskyFeedGetActorLikes.QueryParams,
|
|
424
|
+
AppBskyFeedGetActorLikes.HandlerInput,
|
|
425
|
+
AppBskyFeedGetActorLikes.HandlerOutput
|
|
410
426
|
>,
|
|
411
427
|
) {
|
|
412
|
-
const nsid = '
|
|
428
|
+
const nsid = 'app.bsky.feed.getActorLikes' // @ts-ignore
|
|
413
429
|
return this._server.xrpc.method(nsid, cfg)
|
|
414
430
|
}
|
|
415
431
|
|
|
416
|
-
|
|
432
|
+
getAuthorFeed<A extends Auth = void>(
|
|
417
433
|
cfg: MethodConfigOrHandler<
|
|
418
434
|
A,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
435
|
+
AppBskyFeedGetAuthorFeed.QueryParams,
|
|
436
|
+
AppBskyFeedGetAuthorFeed.HandlerInput,
|
|
437
|
+
AppBskyFeedGetAuthorFeed.HandlerOutput
|
|
422
438
|
>,
|
|
423
439
|
) {
|
|
424
|
-
const nsid = '
|
|
440
|
+
const nsid = 'app.bsky.feed.getAuthorFeed' // @ts-ignore
|
|
425
441
|
return this._server.xrpc.method(nsid, cfg)
|
|
426
442
|
}
|
|
427
443
|
|
|
428
|
-
|
|
444
|
+
getFeed<A extends Auth = void>(
|
|
429
445
|
cfg: MethodConfigOrHandler<
|
|
430
446
|
A,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
447
|
+
AppBskyFeedGetFeed.QueryParams,
|
|
448
|
+
AppBskyFeedGetFeed.HandlerInput,
|
|
449
|
+
AppBskyFeedGetFeed.HandlerOutput
|
|
434
450
|
>,
|
|
435
451
|
) {
|
|
436
|
-
const nsid = '
|
|
452
|
+
const nsid = 'app.bsky.feed.getFeed' // @ts-ignore
|
|
437
453
|
return this._server.xrpc.method(nsid, cfg)
|
|
438
454
|
}
|
|
439
455
|
|
|
440
|
-
|
|
456
|
+
getFeedGenerator<A extends Auth = void>(
|
|
441
457
|
cfg: MethodConfigOrHandler<
|
|
442
458
|
A,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
459
|
+
AppBskyFeedGetFeedGenerator.QueryParams,
|
|
460
|
+
AppBskyFeedGetFeedGenerator.HandlerInput,
|
|
461
|
+
AppBskyFeedGetFeedGenerator.HandlerOutput
|
|
446
462
|
>,
|
|
447
463
|
) {
|
|
448
|
-
const nsid = '
|
|
464
|
+
const nsid = 'app.bsky.feed.getFeedGenerator' // @ts-ignore
|
|
449
465
|
return this._server.xrpc.method(nsid, cfg)
|
|
450
466
|
}
|
|
451
467
|
|
|
452
|
-
|
|
468
|
+
getFeedGenerators<A extends Auth = void>(
|
|
453
469
|
cfg: MethodConfigOrHandler<
|
|
454
470
|
A,
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
471
|
+
AppBskyFeedGetFeedGenerators.QueryParams,
|
|
472
|
+
AppBskyFeedGetFeedGenerators.HandlerInput,
|
|
473
|
+
AppBskyFeedGetFeedGenerators.HandlerOutput
|
|
458
474
|
>,
|
|
459
475
|
) {
|
|
460
|
-
const nsid = '
|
|
476
|
+
const nsid = 'app.bsky.feed.getFeedGenerators' // @ts-ignore
|
|
461
477
|
return this._server.xrpc.method(nsid, cfg)
|
|
462
478
|
}
|
|
463
479
|
|
|
464
|
-
|
|
480
|
+
getFeedSkeleton<A extends Auth = void>(
|
|
465
481
|
cfg: MethodConfigOrHandler<
|
|
466
482
|
A,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
483
|
+
AppBskyFeedGetFeedSkeleton.QueryParams,
|
|
484
|
+
AppBskyFeedGetFeedSkeleton.HandlerInput,
|
|
485
|
+
AppBskyFeedGetFeedSkeleton.HandlerOutput
|
|
470
486
|
>,
|
|
471
487
|
) {
|
|
472
|
-
const nsid = '
|
|
488
|
+
const nsid = 'app.bsky.feed.getFeedSkeleton' // @ts-ignore
|
|
473
489
|
return this._server.xrpc.method(nsid, cfg)
|
|
474
490
|
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export class ComAtprotoIdentityNS {
|
|
478
|
-
_server: Server
|
|
479
491
|
|
|
480
|
-
|
|
481
|
-
|
|
492
|
+
getLikes<A extends Auth = void>(
|
|
493
|
+
cfg: MethodConfigOrHandler<
|
|
494
|
+
A,
|
|
495
|
+
AppBskyFeedGetLikes.QueryParams,
|
|
496
|
+
AppBskyFeedGetLikes.HandlerInput,
|
|
497
|
+
AppBskyFeedGetLikes.HandlerOutput
|
|
498
|
+
>,
|
|
499
|
+
) {
|
|
500
|
+
const nsid = 'app.bsky.feed.getLikes' // @ts-ignore
|
|
501
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
482
502
|
}
|
|
483
503
|
|
|
484
|
-
|
|
504
|
+
getListFeed<A extends Auth = void>(
|
|
485
505
|
cfg: MethodConfigOrHandler<
|
|
486
506
|
A,
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
507
|
+
AppBskyFeedGetListFeed.QueryParams,
|
|
508
|
+
AppBskyFeedGetListFeed.HandlerInput,
|
|
509
|
+
AppBskyFeedGetListFeed.HandlerOutput
|
|
490
510
|
>,
|
|
491
511
|
) {
|
|
492
|
-
const nsid = '
|
|
512
|
+
const nsid = 'app.bsky.feed.getListFeed' // @ts-ignore
|
|
493
513
|
return this._server.xrpc.method(nsid, cfg)
|
|
494
514
|
}
|
|
495
515
|
|
|
496
|
-
|
|
516
|
+
getPostThread<A extends Auth = void>(
|
|
497
517
|
cfg: MethodConfigOrHandler<
|
|
498
518
|
A,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
519
|
+
AppBskyFeedGetPostThread.QueryParams,
|
|
520
|
+
AppBskyFeedGetPostThread.HandlerInput,
|
|
521
|
+
AppBskyFeedGetPostThread.HandlerOutput
|
|
502
522
|
>,
|
|
503
523
|
) {
|
|
504
|
-
const nsid = '
|
|
524
|
+
const nsid = 'app.bsky.feed.getPostThread' // @ts-ignore
|
|
505
525
|
return this._server.xrpc.method(nsid, cfg)
|
|
506
526
|
}
|
|
507
527
|
|
|
508
|
-
|
|
528
|
+
getPosts<A extends Auth = void>(
|
|
509
529
|
cfg: MethodConfigOrHandler<
|
|
510
530
|
A,
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
531
|
+
AppBskyFeedGetPosts.QueryParams,
|
|
532
|
+
AppBskyFeedGetPosts.HandlerInput,
|
|
533
|
+
AppBskyFeedGetPosts.HandlerOutput
|
|
514
534
|
>,
|
|
515
535
|
) {
|
|
516
|
-
const nsid = '
|
|
536
|
+
const nsid = 'app.bsky.feed.getPosts' // @ts-ignore
|
|
517
537
|
return this._server.xrpc.method(nsid, cfg)
|
|
518
538
|
}
|
|
519
539
|
|
|
520
|
-
|
|
540
|
+
getQuotes<A extends Auth = void>(
|
|
521
541
|
cfg: MethodConfigOrHandler<
|
|
522
542
|
A,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
543
|
+
AppBskyFeedGetQuotes.QueryParams,
|
|
544
|
+
AppBskyFeedGetQuotes.HandlerInput,
|
|
545
|
+
AppBskyFeedGetQuotes.HandlerOutput
|
|
526
546
|
>,
|
|
527
547
|
) {
|
|
528
|
-
const nsid = '
|
|
548
|
+
const nsid = 'app.bsky.feed.getQuotes' // @ts-ignore
|
|
529
549
|
return this._server.xrpc.method(nsid, cfg)
|
|
530
550
|
}
|
|
531
551
|
|
|
532
|
-
|
|
552
|
+
getRepostedBy<A extends Auth = void>(
|
|
533
553
|
cfg: MethodConfigOrHandler<
|
|
534
554
|
A,
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
555
|
+
AppBskyFeedGetRepostedBy.QueryParams,
|
|
556
|
+
AppBskyFeedGetRepostedBy.HandlerInput,
|
|
557
|
+
AppBskyFeedGetRepostedBy.HandlerOutput
|
|
538
558
|
>,
|
|
539
559
|
) {
|
|
540
|
-
const nsid = '
|
|
560
|
+
const nsid = 'app.bsky.feed.getRepostedBy' // @ts-ignore
|
|
541
561
|
return this._server.xrpc.method(nsid, cfg)
|
|
542
562
|
}
|
|
543
563
|
|
|
544
|
-
|
|
564
|
+
getSuggestedFeeds<A extends Auth = void>(
|
|
545
565
|
cfg: MethodConfigOrHandler<
|
|
546
566
|
A,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
567
|
+
AppBskyFeedGetSuggestedFeeds.QueryParams,
|
|
568
|
+
AppBskyFeedGetSuggestedFeeds.HandlerInput,
|
|
569
|
+
AppBskyFeedGetSuggestedFeeds.HandlerOutput
|
|
550
570
|
>,
|
|
551
571
|
) {
|
|
552
|
-
const nsid = '
|
|
572
|
+
const nsid = 'app.bsky.feed.getSuggestedFeeds' // @ts-ignore
|
|
553
573
|
return this._server.xrpc.method(nsid, cfg)
|
|
554
574
|
}
|
|
555
575
|
|
|
556
|
-
|
|
576
|
+
getTimeline<A extends Auth = void>(
|
|
557
577
|
cfg: MethodConfigOrHandler<
|
|
558
578
|
A,
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
579
|
+
AppBskyFeedGetTimeline.QueryParams,
|
|
580
|
+
AppBskyFeedGetTimeline.HandlerInput,
|
|
581
|
+
AppBskyFeedGetTimeline.HandlerOutput
|
|
562
582
|
>,
|
|
563
583
|
) {
|
|
564
|
-
const nsid = '
|
|
584
|
+
const nsid = 'app.bsky.feed.getTimeline' // @ts-ignore
|
|
565
585
|
return this._server.xrpc.method(nsid, cfg)
|
|
566
586
|
}
|
|
567
587
|
|
|
568
|
-
|
|
588
|
+
searchPosts<A extends Auth = void>(
|
|
569
589
|
cfg: MethodConfigOrHandler<
|
|
570
590
|
A,
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
591
|
+
AppBskyFeedSearchPosts.QueryParams,
|
|
592
|
+
AppBskyFeedSearchPosts.HandlerInput,
|
|
593
|
+
AppBskyFeedSearchPosts.HandlerOutput
|
|
574
594
|
>,
|
|
575
595
|
) {
|
|
576
|
-
const nsid = '
|
|
596
|
+
const nsid = 'app.bsky.feed.searchPosts' // @ts-ignore
|
|
577
597
|
return this._server.xrpc.method(nsid, cfg)
|
|
578
598
|
}
|
|
579
599
|
|
|
580
|
-
|
|
600
|
+
sendInteractions<A extends Auth = void>(
|
|
581
601
|
cfg: MethodConfigOrHandler<
|
|
582
602
|
A,
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
603
|
+
AppBskyFeedSendInteractions.QueryParams,
|
|
604
|
+
AppBskyFeedSendInteractions.HandlerInput,
|
|
605
|
+
AppBskyFeedSendInteractions.HandlerOutput
|
|
586
606
|
>,
|
|
587
607
|
) {
|
|
588
|
-
const nsid = '
|
|
608
|
+
const nsid = 'app.bsky.feed.sendInteractions' // @ts-ignore
|
|
589
609
|
return this._server.xrpc.method(nsid, cfg)
|
|
590
610
|
}
|
|
591
611
|
}
|
|
592
612
|
|
|
593
|
-
export class
|
|
613
|
+
export class AppBskyGraphNS {
|
|
594
614
|
_server: Server
|
|
595
615
|
|
|
596
616
|
constructor(server: Server) {
|
|
597
617
|
this._server = server
|
|
598
618
|
}
|
|
599
619
|
|
|
600
|
-
|
|
620
|
+
getActorStarterPacks<A extends Auth = void>(
|
|
601
621
|
cfg: MethodConfigOrHandler<
|
|
602
622
|
A,
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
623
|
+
AppBskyGraphGetActorStarterPacks.QueryParams,
|
|
624
|
+
AppBskyGraphGetActorStarterPacks.HandlerInput,
|
|
625
|
+
AppBskyGraphGetActorStarterPacks.HandlerOutput
|
|
606
626
|
>,
|
|
607
627
|
) {
|
|
608
|
-
const nsid = '
|
|
628
|
+
const nsid = 'app.bsky.graph.getActorStarterPacks' // @ts-ignore
|
|
609
629
|
return this._server.xrpc.method(nsid, cfg)
|
|
610
630
|
}
|
|
611
631
|
|
|
612
|
-
|
|
613
|
-
cfg:
|
|
632
|
+
getBlocks<A extends Auth = void>(
|
|
633
|
+
cfg: MethodConfigOrHandler<
|
|
614
634
|
A,
|
|
615
|
-
|
|
616
|
-
|
|
635
|
+
AppBskyGraphGetBlocks.QueryParams,
|
|
636
|
+
AppBskyGraphGetBlocks.HandlerInput,
|
|
637
|
+
AppBskyGraphGetBlocks.HandlerOutput
|
|
617
638
|
>,
|
|
618
639
|
) {
|
|
619
|
-
const nsid = '
|
|
620
|
-
return this._server.xrpc.
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export class ComAtprotoLexiconNS {
|
|
625
|
-
_server: Server
|
|
626
|
-
|
|
627
|
-
constructor(server: Server) {
|
|
628
|
-
this._server = server
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
export class ComAtprotoModerationNS {
|
|
633
|
-
_server: Server
|
|
634
|
-
|
|
635
|
-
constructor(server: Server) {
|
|
636
|
-
this._server = server
|
|
640
|
+
const nsid = 'app.bsky.graph.getBlocks' // @ts-ignore
|
|
641
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
637
642
|
}
|
|
638
643
|
|
|
639
|
-
|
|
644
|
+
getFollowers<A extends Auth = void>(
|
|
640
645
|
cfg: MethodConfigOrHandler<
|
|
641
646
|
A,
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
647
|
+
AppBskyGraphGetFollowers.QueryParams,
|
|
648
|
+
AppBskyGraphGetFollowers.HandlerInput,
|
|
649
|
+
AppBskyGraphGetFollowers.HandlerOutput
|
|
645
650
|
>,
|
|
646
651
|
) {
|
|
647
|
-
const nsid = '
|
|
652
|
+
const nsid = 'app.bsky.graph.getFollowers' // @ts-ignore
|
|
648
653
|
return this._server.xrpc.method(nsid, cfg)
|
|
649
654
|
}
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export class ComAtprotoRepoNS {
|
|
653
|
-
_server: Server
|
|
654
|
-
|
|
655
|
-
constructor(server: Server) {
|
|
656
|
-
this._server = server
|
|
657
|
-
}
|
|
658
655
|
|
|
659
|
-
|
|
656
|
+
getFollows<A extends Auth = void>(
|
|
660
657
|
cfg: MethodConfigOrHandler<
|
|
661
658
|
A,
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
659
|
+
AppBskyGraphGetFollows.QueryParams,
|
|
660
|
+
AppBskyGraphGetFollows.HandlerInput,
|
|
661
|
+
AppBskyGraphGetFollows.HandlerOutput
|
|
665
662
|
>,
|
|
666
663
|
) {
|
|
667
|
-
const nsid = '
|
|
664
|
+
const nsid = 'app.bsky.graph.getFollows' // @ts-ignore
|
|
668
665
|
return this._server.xrpc.method(nsid, cfg)
|
|
669
666
|
}
|
|
670
667
|
|
|
671
|
-
|
|
668
|
+
getKnownFollowers<A extends Auth = void>(
|
|
672
669
|
cfg: MethodConfigOrHandler<
|
|
673
670
|
A,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
671
|
+
AppBskyGraphGetKnownFollowers.QueryParams,
|
|
672
|
+
AppBskyGraphGetKnownFollowers.HandlerInput,
|
|
673
|
+
AppBskyGraphGetKnownFollowers.HandlerOutput
|
|
677
674
|
>,
|
|
678
675
|
) {
|
|
679
|
-
const nsid = '
|
|
676
|
+
const nsid = 'app.bsky.graph.getKnownFollowers' // @ts-ignore
|
|
680
677
|
return this._server.xrpc.method(nsid, cfg)
|
|
681
678
|
}
|
|
682
679
|
|
|
683
|
-
|
|
680
|
+
getList<A extends Auth = void>(
|
|
684
681
|
cfg: MethodConfigOrHandler<
|
|
685
682
|
A,
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
683
|
+
AppBskyGraphGetList.QueryParams,
|
|
684
|
+
AppBskyGraphGetList.HandlerInput,
|
|
685
|
+
AppBskyGraphGetList.HandlerOutput
|
|
689
686
|
>,
|
|
690
687
|
) {
|
|
691
|
-
const nsid = '
|
|
688
|
+
const nsid = 'app.bsky.graph.getList' // @ts-ignore
|
|
692
689
|
return this._server.xrpc.method(nsid, cfg)
|
|
693
690
|
}
|
|
694
691
|
|
|
695
|
-
|
|
692
|
+
getListBlocks<A extends Auth = void>(
|
|
696
693
|
cfg: MethodConfigOrHandler<
|
|
697
694
|
A,
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
695
|
+
AppBskyGraphGetListBlocks.QueryParams,
|
|
696
|
+
AppBskyGraphGetListBlocks.HandlerInput,
|
|
697
|
+
AppBskyGraphGetListBlocks.HandlerOutput
|
|
701
698
|
>,
|
|
702
699
|
) {
|
|
703
|
-
const nsid = '
|
|
700
|
+
const nsid = 'app.bsky.graph.getListBlocks' // @ts-ignore
|
|
704
701
|
return this._server.xrpc.method(nsid, cfg)
|
|
705
702
|
}
|
|
706
703
|
|
|
707
|
-
|
|
704
|
+
getListMutes<A extends Auth = void>(
|
|
708
705
|
cfg: MethodConfigOrHandler<
|
|
709
706
|
A,
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
707
|
+
AppBskyGraphGetListMutes.QueryParams,
|
|
708
|
+
AppBskyGraphGetListMutes.HandlerInput,
|
|
709
|
+
AppBskyGraphGetListMutes.HandlerOutput
|
|
713
710
|
>,
|
|
714
711
|
) {
|
|
715
|
-
const nsid = '
|
|
712
|
+
const nsid = 'app.bsky.graph.getListMutes' // @ts-ignore
|
|
716
713
|
return this._server.xrpc.method(nsid, cfg)
|
|
717
714
|
}
|
|
718
715
|
|
|
719
|
-
|
|
716
|
+
getLists<A extends Auth = void>(
|
|
720
717
|
cfg: MethodConfigOrHandler<
|
|
721
718
|
A,
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
719
|
+
AppBskyGraphGetLists.QueryParams,
|
|
720
|
+
AppBskyGraphGetLists.HandlerInput,
|
|
721
|
+
AppBskyGraphGetLists.HandlerOutput
|
|
725
722
|
>,
|
|
726
723
|
) {
|
|
727
|
-
const nsid = '
|
|
724
|
+
const nsid = 'app.bsky.graph.getLists' // @ts-ignore
|
|
728
725
|
return this._server.xrpc.method(nsid, cfg)
|
|
729
726
|
}
|
|
730
727
|
|
|
731
|
-
|
|
728
|
+
getListsWithMembership<A extends Auth = void>(
|
|
732
729
|
cfg: MethodConfigOrHandler<
|
|
733
730
|
A,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
731
|
+
AppBskyGraphGetListsWithMembership.QueryParams,
|
|
732
|
+
AppBskyGraphGetListsWithMembership.HandlerInput,
|
|
733
|
+
AppBskyGraphGetListsWithMembership.HandlerOutput
|
|
737
734
|
>,
|
|
738
735
|
) {
|
|
739
|
-
const nsid = '
|
|
736
|
+
const nsid = 'app.bsky.graph.getListsWithMembership' // @ts-ignore
|
|
740
737
|
return this._server.xrpc.method(nsid, cfg)
|
|
741
738
|
}
|
|
742
739
|
|
|
743
|
-
|
|
740
|
+
getMutes<A extends Auth = void>(
|
|
744
741
|
cfg: MethodConfigOrHandler<
|
|
745
742
|
A,
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
743
|
+
AppBskyGraphGetMutes.QueryParams,
|
|
744
|
+
AppBskyGraphGetMutes.HandlerInput,
|
|
745
|
+
AppBskyGraphGetMutes.HandlerOutput
|
|
749
746
|
>,
|
|
750
747
|
) {
|
|
751
|
-
const nsid = '
|
|
748
|
+
const nsid = 'app.bsky.graph.getMutes' // @ts-ignore
|
|
752
749
|
return this._server.xrpc.method(nsid, cfg)
|
|
753
750
|
}
|
|
754
751
|
|
|
755
|
-
|
|
752
|
+
getRelationships<A extends Auth = void>(
|
|
756
753
|
cfg: MethodConfigOrHandler<
|
|
757
754
|
A,
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
755
|
+
AppBskyGraphGetRelationships.QueryParams,
|
|
756
|
+
AppBskyGraphGetRelationships.HandlerInput,
|
|
757
|
+
AppBskyGraphGetRelationships.HandlerOutput
|
|
761
758
|
>,
|
|
762
759
|
) {
|
|
763
|
-
const nsid = '
|
|
760
|
+
const nsid = 'app.bsky.graph.getRelationships' // @ts-ignore
|
|
764
761
|
return this._server.xrpc.method(nsid, cfg)
|
|
765
762
|
}
|
|
766
763
|
|
|
767
|
-
|
|
764
|
+
getStarterPack<A extends Auth = void>(
|
|
768
765
|
cfg: MethodConfigOrHandler<
|
|
769
766
|
A,
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
767
|
+
AppBskyGraphGetStarterPack.QueryParams,
|
|
768
|
+
AppBskyGraphGetStarterPack.HandlerInput,
|
|
769
|
+
AppBskyGraphGetStarterPack.HandlerOutput
|
|
773
770
|
>,
|
|
774
771
|
) {
|
|
775
|
-
const nsid = '
|
|
772
|
+
const nsid = 'app.bsky.graph.getStarterPack' // @ts-ignore
|
|
776
773
|
return this._server.xrpc.method(nsid, cfg)
|
|
777
774
|
}
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
export class ComAtprotoServerNS {
|
|
781
|
-
_server: Server
|
|
782
|
-
|
|
783
|
-
constructor(server: Server) {
|
|
784
|
-
this._server = server
|
|
785
|
-
}
|
|
786
775
|
|
|
787
|
-
|
|
776
|
+
getStarterPacks<A extends Auth = void>(
|
|
788
777
|
cfg: MethodConfigOrHandler<
|
|
789
778
|
A,
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
779
|
+
AppBskyGraphGetStarterPacks.QueryParams,
|
|
780
|
+
AppBskyGraphGetStarterPacks.HandlerInput,
|
|
781
|
+
AppBskyGraphGetStarterPacks.HandlerOutput
|
|
793
782
|
>,
|
|
794
783
|
) {
|
|
795
|
-
const nsid = '
|
|
784
|
+
const nsid = 'app.bsky.graph.getStarterPacks' // @ts-ignore
|
|
796
785
|
return this._server.xrpc.method(nsid, cfg)
|
|
797
786
|
}
|
|
798
787
|
|
|
799
|
-
|
|
788
|
+
getStarterPacksWithMembership<A extends Auth = void>(
|
|
800
789
|
cfg: MethodConfigOrHandler<
|
|
801
790
|
A,
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
791
|
+
AppBskyGraphGetStarterPacksWithMembership.QueryParams,
|
|
792
|
+
AppBskyGraphGetStarterPacksWithMembership.HandlerInput,
|
|
793
|
+
AppBskyGraphGetStarterPacksWithMembership.HandlerOutput
|
|
805
794
|
>,
|
|
806
795
|
) {
|
|
807
|
-
const nsid = '
|
|
796
|
+
const nsid = 'app.bsky.graph.getStarterPacksWithMembership' // @ts-ignore
|
|
808
797
|
return this._server.xrpc.method(nsid, cfg)
|
|
809
798
|
}
|
|
810
799
|
|
|
811
|
-
|
|
800
|
+
getSuggestedFollowsByActor<A extends Auth = void>(
|
|
812
801
|
cfg: MethodConfigOrHandler<
|
|
813
802
|
A,
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
803
|
+
AppBskyGraphGetSuggestedFollowsByActor.QueryParams,
|
|
804
|
+
AppBskyGraphGetSuggestedFollowsByActor.HandlerInput,
|
|
805
|
+
AppBskyGraphGetSuggestedFollowsByActor.HandlerOutput
|
|
817
806
|
>,
|
|
818
807
|
) {
|
|
819
|
-
const nsid = '
|
|
808
|
+
const nsid = 'app.bsky.graph.getSuggestedFollowsByActor' // @ts-ignore
|
|
820
809
|
return this._server.xrpc.method(nsid, cfg)
|
|
821
810
|
}
|
|
822
811
|
|
|
823
|
-
|
|
812
|
+
muteActor<A extends Auth = void>(
|
|
824
813
|
cfg: MethodConfigOrHandler<
|
|
825
814
|
A,
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
815
|
+
AppBskyGraphMuteActor.QueryParams,
|
|
816
|
+
AppBskyGraphMuteActor.HandlerInput,
|
|
817
|
+
AppBskyGraphMuteActor.HandlerOutput
|
|
829
818
|
>,
|
|
830
819
|
) {
|
|
831
|
-
const nsid = '
|
|
820
|
+
const nsid = 'app.bsky.graph.muteActor' // @ts-ignore
|
|
832
821
|
return this._server.xrpc.method(nsid, cfg)
|
|
833
822
|
}
|
|
834
823
|
|
|
835
|
-
|
|
824
|
+
muteActorList<A extends Auth = void>(
|
|
836
825
|
cfg: MethodConfigOrHandler<
|
|
837
826
|
A,
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
827
|
+
AppBskyGraphMuteActorList.QueryParams,
|
|
828
|
+
AppBskyGraphMuteActorList.HandlerInput,
|
|
829
|
+
AppBskyGraphMuteActorList.HandlerOutput
|
|
841
830
|
>,
|
|
842
831
|
) {
|
|
843
|
-
const nsid = '
|
|
832
|
+
const nsid = 'app.bsky.graph.muteActorList' // @ts-ignore
|
|
844
833
|
return this._server.xrpc.method(nsid, cfg)
|
|
845
834
|
}
|
|
846
835
|
|
|
847
|
-
|
|
836
|
+
muteThread<A extends Auth = void>(
|
|
848
837
|
cfg: MethodConfigOrHandler<
|
|
849
838
|
A,
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
839
|
+
AppBskyGraphMuteThread.QueryParams,
|
|
840
|
+
AppBskyGraphMuteThread.HandlerInput,
|
|
841
|
+
AppBskyGraphMuteThread.HandlerOutput
|
|
853
842
|
>,
|
|
854
843
|
) {
|
|
855
|
-
const nsid = '
|
|
844
|
+
const nsid = 'app.bsky.graph.muteThread' // @ts-ignore
|
|
856
845
|
return this._server.xrpc.method(nsid, cfg)
|
|
857
846
|
}
|
|
858
847
|
|
|
859
|
-
|
|
848
|
+
searchStarterPacks<A extends Auth = void>(
|
|
860
849
|
cfg: MethodConfigOrHandler<
|
|
861
850
|
A,
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
851
|
+
AppBskyGraphSearchStarterPacks.QueryParams,
|
|
852
|
+
AppBskyGraphSearchStarterPacks.HandlerInput,
|
|
853
|
+
AppBskyGraphSearchStarterPacks.HandlerOutput
|
|
865
854
|
>,
|
|
866
855
|
) {
|
|
867
|
-
const nsid = '
|
|
856
|
+
const nsid = 'app.bsky.graph.searchStarterPacks' // @ts-ignore
|
|
868
857
|
return this._server.xrpc.method(nsid, cfg)
|
|
869
858
|
}
|
|
870
859
|
|
|
871
|
-
|
|
860
|
+
unmuteActor<A extends Auth = void>(
|
|
872
861
|
cfg: MethodConfigOrHandler<
|
|
873
862
|
A,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
863
|
+
AppBskyGraphUnmuteActor.QueryParams,
|
|
864
|
+
AppBskyGraphUnmuteActor.HandlerInput,
|
|
865
|
+
AppBskyGraphUnmuteActor.HandlerOutput
|
|
877
866
|
>,
|
|
878
867
|
) {
|
|
879
|
-
const nsid = '
|
|
868
|
+
const nsid = 'app.bsky.graph.unmuteActor' // @ts-ignore
|
|
880
869
|
return this._server.xrpc.method(nsid, cfg)
|
|
881
870
|
}
|
|
882
871
|
|
|
883
|
-
|
|
872
|
+
unmuteActorList<A extends Auth = void>(
|
|
884
873
|
cfg: MethodConfigOrHandler<
|
|
885
874
|
A,
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
875
|
+
AppBskyGraphUnmuteActorList.QueryParams,
|
|
876
|
+
AppBskyGraphUnmuteActorList.HandlerInput,
|
|
877
|
+
AppBskyGraphUnmuteActorList.HandlerOutput
|
|
889
878
|
>,
|
|
890
879
|
) {
|
|
891
|
-
const nsid = '
|
|
880
|
+
const nsid = 'app.bsky.graph.unmuteActorList' // @ts-ignore
|
|
892
881
|
return this._server.xrpc.method(nsid, cfg)
|
|
893
882
|
}
|
|
894
883
|
|
|
895
|
-
|
|
884
|
+
unmuteThread<A extends Auth = void>(
|
|
896
885
|
cfg: MethodConfigOrHandler<
|
|
897
886
|
A,
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
887
|
+
AppBskyGraphUnmuteThread.QueryParams,
|
|
888
|
+
AppBskyGraphUnmuteThread.HandlerInput,
|
|
889
|
+
AppBskyGraphUnmuteThread.HandlerOutput
|
|
901
890
|
>,
|
|
902
891
|
) {
|
|
903
|
-
const nsid = '
|
|
892
|
+
const nsid = 'app.bsky.graph.unmuteThread' // @ts-ignore
|
|
904
893
|
return this._server.xrpc.method(nsid, cfg)
|
|
905
894
|
}
|
|
895
|
+
}
|
|
906
896
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
A,
|
|
910
|
-
ComAtprotoServerDeleteSession.QueryParams,
|
|
911
|
-
ComAtprotoServerDeleteSession.HandlerInput,
|
|
912
|
-
ComAtprotoServerDeleteSession.HandlerOutput
|
|
913
|
-
>,
|
|
914
|
-
) {
|
|
915
|
-
const nsid = 'com.atproto.server.deleteSession' // @ts-ignore
|
|
916
|
-
return this._server.xrpc.method(nsid, cfg)
|
|
917
|
-
}
|
|
897
|
+
export class AppBskyLabelerNS {
|
|
898
|
+
_server: Server
|
|
918
899
|
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
A,
|
|
922
|
-
ComAtprotoServerDescribeServer.QueryParams,
|
|
923
|
-
ComAtprotoServerDescribeServer.HandlerInput,
|
|
924
|
-
ComAtprotoServerDescribeServer.HandlerOutput
|
|
925
|
-
>,
|
|
926
|
-
) {
|
|
927
|
-
const nsid = 'com.atproto.server.describeServer' // @ts-ignore
|
|
928
|
-
return this._server.xrpc.method(nsid, cfg)
|
|
900
|
+
constructor(server: Server) {
|
|
901
|
+
this._server = server
|
|
929
902
|
}
|
|
930
903
|
|
|
931
|
-
|
|
904
|
+
getServices<A extends Auth = void>(
|
|
932
905
|
cfg: MethodConfigOrHandler<
|
|
933
906
|
A,
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
907
|
+
AppBskyLabelerGetServices.QueryParams,
|
|
908
|
+
AppBskyLabelerGetServices.HandlerInput,
|
|
909
|
+
AppBskyLabelerGetServices.HandlerOutput
|
|
937
910
|
>,
|
|
938
911
|
) {
|
|
939
|
-
const nsid = '
|
|
912
|
+
const nsid = 'app.bsky.labeler.getServices' // @ts-ignore
|
|
940
913
|
return this._server.xrpc.method(nsid, cfg)
|
|
941
914
|
}
|
|
915
|
+
}
|
|
942
916
|
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
ComAtprotoServerGetServiceAuth.HandlerOutput
|
|
949
|
-
>,
|
|
950
|
-
) {
|
|
951
|
-
const nsid = 'com.atproto.server.getServiceAuth' // @ts-ignore
|
|
952
|
-
return this._server.xrpc.method(nsid, cfg)
|
|
917
|
+
export class AppBskyNotificationNS {
|
|
918
|
+
_server: Server
|
|
919
|
+
|
|
920
|
+
constructor(server: Server) {
|
|
921
|
+
this._server = server
|
|
953
922
|
}
|
|
954
923
|
|
|
955
|
-
|
|
924
|
+
getPreferences<A extends Auth = void>(
|
|
956
925
|
cfg: MethodConfigOrHandler<
|
|
957
926
|
A,
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
927
|
+
AppBskyNotificationGetPreferences.QueryParams,
|
|
928
|
+
AppBskyNotificationGetPreferences.HandlerInput,
|
|
929
|
+
AppBskyNotificationGetPreferences.HandlerOutput
|
|
961
930
|
>,
|
|
962
931
|
) {
|
|
963
|
-
const nsid = '
|
|
932
|
+
const nsid = 'app.bsky.notification.getPreferences' // @ts-ignore
|
|
964
933
|
return this._server.xrpc.method(nsid, cfg)
|
|
965
934
|
}
|
|
966
935
|
|
|
967
|
-
|
|
936
|
+
getUnreadCount<A extends Auth = void>(
|
|
968
937
|
cfg: MethodConfigOrHandler<
|
|
969
938
|
A,
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
939
|
+
AppBskyNotificationGetUnreadCount.QueryParams,
|
|
940
|
+
AppBskyNotificationGetUnreadCount.HandlerInput,
|
|
941
|
+
AppBskyNotificationGetUnreadCount.HandlerOutput
|
|
973
942
|
>,
|
|
974
943
|
) {
|
|
975
|
-
const nsid = '
|
|
944
|
+
const nsid = 'app.bsky.notification.getUnreadCount' // @ts-ignore
|
|
976
945
|
return this._server.xrpc.method(nsid, cfg)
|
|
977
946
|
}
|
|
978
947
|
|
|
979
|
-
|
|
948
|
+
listActivitySubscriptions<A extends Auth = void>(
|
|
980
949
|
cfg: MethodConfigOrHandler<
|
|
981
950
|
A,
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
951
|
+
AppBskyNotificationListActivitySubscriptions.QueryParams,
|
|
952
|
+
AppBskyNotificationListActivitySubscriptions.HandlerInput,
|
|
953
|
+
AppBskyNotificationListActivitySubscriptions.HandlerOutput
|
|
985
954
|
>,
|
|
986
955
|
) {
|
|
987
|
-
const nsid = '
|
|
956
|
+
const nsid = 'app.bsky.notification.listActivitySubscriptions' // @ts-ignore
|
|
988
957
|
return this._server.xrpc.method(nsid, cfg)
|
|
989
958
|
}
|
|
990
959
|
|
|
991
|
-
|
|
960
|
+
listNotifications<A extends Auth = void>(
|
|
992
961
|
cfg: MethodConfigOrHandler<
|
|
993
962
|
A,
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
963
|
+
AppBskyNotificationListNotifications.QueryParams,
|
|
964
|
+
AppBskyNotificationListNotifications.HandlerInput,
|
|
965
|
+
AppBskyNotificationListNotifications.HandlerOutput
|
|
997
966
|
>,
|
|
998
967
|
) {
|
|
999
|
-
const nsid = '
|
|
968
|
+
const nsid = 'app.bsky.notification.listNotifications' // @ts-ignore
|
|
1000
969
|
return this._server.xrpc.method(nsid, cfg)
|
|
1001
970
|
}
|
|
1002
971
|
|
|
1003
|
-
|
|
972
|
+
putActivitySubscription<A extends Auth = void>(
|
|
1004
973
|
cfg: MethodConfigOrHandler<
|
|
1005
974
|
A,
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
975
|
+
AppBskyNotificationPutActivitySubscription.QueryParams,
|
|
976
|
+
AppBskyNotificationPutActivitySubscription.HandlerInput,
|
|
977
|
+
AppBskyNotificationPutActivitySubscription.HandlerOutput
|
|
1009
978
|
>,
|
|
1010
979
|
) {
|
|
1011
|
-
const nsid = '
|
|
980
|
+
const nsid = 'app.bsky.notification.putActivitySubscription' // @ts-ignore
|
|
1012
981
|
return this._server.xrpc.method(nsid, cfg)
|
|
1013
982
|
}
|
|
1014
983
|
|
|
1015
|
-
|
|
984
|
+
putPreferences<A extends Auth = void>(
|
|
1016
985
|
cfg: MethodConfigOrHandler<
|
|
1017
986
|
A,
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
987
|
+
AppBskyNotificationPutPreferences.QueryParams,
|
|
988
|
+
AppBskyNotificationPutPreferences.HandlerInput,
|
|
989
|
+
AppBskyNotificationPutPreferences.HandlerOutput
|
|
1021
990
|
>,
|
|
1022
991
|
) {
|
|
1023
|
-
const nsid = '
|
|
992
|
+
const nsid = 'app.bsky.notification.putPreferences' // @ts-ignore
|
|
1024
993
|
return this._server.xrpc.method(nsid, cfg)
|
|
1025
994
|
}
|
|
1026
995
|
|
|
1027
|
-
|
|
996
|
+
putPreferencesV2<A extends Auth = void>(
|
|
1028
997
|
cfg: MethodConfigOrHandler<
|
|
1029
998
|
A,
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
999
|
+
AppBskyNotificationPutPreferencesV2.QueryParams,
|
|
1000
|
+
AppBskyNotificationPutPreferencesV2.HandlerInput,
|
|
1001
|
+
AppBskyNotificationPutPreferencesV2.HandlerOutput
|
|
1033
1002
|
>,
|
|
1034
1003
|
) {
|
|
1035
|
-
const nsid = '
|
|
1004
|
+
const nsid = 'app.bsky.notification.putPreferencesV2' // @ts-ignore
|
|
1036
1005
|
return this._server.xrpc.method(nsid, cfg)
|
|
1037
1006
|
}
|
|
1038
1007
|
|
|
1039
|
-
|
|
1008
|
+
registerPush<A extends Auth = void>(
|
|
1040
1009
|
cfg: MethodConfigOrHandler<
|
|
1041
1010
|
A,
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1011
|
+
AppBskyNotificationRegisterPush.QueryParams,
|
|
1012
|
+
AppBskyNotificationRegisterPush.HandlerInput,
|
|
1013
|
+
AppBskyNotificationRegisterPush.HandlerOutput
|
|
1045
1014
|
>,
|
|
1046
1015
|
) {
|
|
1047
|
-
const nsid = '
|
|
1016
|
+
const nsid = 'app.bsky.notification.registerPush' // @ts-ignore
|
|
1048
1017
|
return this._server.xrpc.method(nsid, cfg)
|
|
1049
1018
|
}
|
|
1050
1019
|
|
|
1051
|
-
|
|
1020
|
+
unregisterPush<A extends Auth = void>(
|
|
1052
1021
|
cfg: MethodConfigOrHandler<
|
|
1053
1022
|
A,
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1023
|
+
AppBskyNotificationUnregisterPush.QueryParams,
|
|
1024
|
+
AppBskyNotificationUnregisterPush.HandlerInput,
|
|
1025
|
+
AppBskyNotificationUnregisterPush.HandlerOutput
|
|
1057
1026
|
>,
|
|
1058
1027
|
) {
|
|
1059
|
-
const nsid = '
|
|
1028
|
+
const nsid = 'app.bsky.notification.unregisterPush' // @ts-ignore
|
|
1060
1029
|
return this._server.xrpc.method(nsid, cfg)
|
|
1061
1030
|
}
|
|
1062
1031
|
|
|
1063
|
-
|
|
1032
|
+
updateSeen<A extends Auth = void>(
|
|
1064
1033
|
cfg: MethodConfigOrHandler<
|
|
1065
1034
|
A,
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1035
|
+
AppBskyNotificationUpdateSeen.QueryParams,
|
|
1036
|
+
AppBskyNotificationUpdateSeen.HandlerInput,
|
|
1037
|
+
AppBskyNotificationUpdateSeen.HandlerOutput
|
|
1069
1038
|
>,
|
|
1070
1039
|
) {
|
|
1071
|
-
const nsid = '
|
|
1040
|
+
const nsid = 'app.bsky.notification.updateSeen' // @ts-ignore
|
|
1072
1041
|
return this._server.xrpc.method(nsid, cfg)
|
|
1073
1042
|
}
|
|
1043
|
+
}
|
|
1074
1044
|
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
ComAtprotoServerUpdateEmail.HandlerOutput
|
|
1081
|
-
>,
|
|
1082
|
-
) {
|
|
1083
|
-
const nsid = 'com.atproto.server.updateEmail' // @ts-ignore
|
|
1084
|
-
return this._server.xrpc.method(nsid, cfg)
|
|
1045
|
+
export class AppBskyRichtextNS {
|
|
1046
|
+
_server: Server
|
|
1047
|
+
|
|
1048
|
+
constructor(server: Server) {
|
|
1049
|
+
this._server = server
|
|
1085
1050
|
}
|
|
1086
1051
|
}
|
|
1087
1052
|
|
|
1088
|
-
export class
|
|
1053
|
+
export class AppBskyUnspeccedNS {
|
|
1089
1054
|
_server: Server
|
|
1090
1055
|
|
|
1091
1056
|
constructor(server: Server) {
|
|
1092
1057
|
this._server = server
|
|
1093
1058
|
}
|
|
1094
1059
|
|
|
1095
|
-
|
|
1060
|
+
getAgeAssuranceState<A extends Auth = void>(
|
|
1096
1061
|
cfg: MethodConfigOrHandler<
|
|
1097
1062
|
A,
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1063
|
+
AppBskyUnspeccedGetAgeAssuranceState.QueryParams,
|
|
1064
|
+
AppBskyUnspeccedGetAgeAssuranceState.HandlerInput,
|
|
1065
|
+
AppBskyUnspeccedGetAgeAssuranceState.HandlerOutput
|
|
1101
1066
|
>,
|
|
1102
1067
|
) {
|
|
1103
|
-
const nsid = '
|
|
1068
|
+
const nsid = 'app.bsky.unspecced.getAgeAssuranceState' // @ts-ignore
|
|
1104
1069
|
return this._server.xrpc.method(nsid, cfg)
|
|
1105
1070
|
}
|
|
1106
1071
|
|
|
1107
|
-
|
|
1072
|
+
getConfig<A extends Auth = void>(
|
|
1108
1073
|
cfg: MethodConfigOrHandler<
|
|
1109
1074
|
A,
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1075
|
+
AppBskyUnspeccedGetConfig.QueryParams,
|
|
1076
|
+
AppBskyUnspeccedGetConfig.HandlerInput,
|
|
1077
|
+
AppBskyUnspeccedGetConfig.HandlerOutput
|
|
1113
1078
|
>,
|
|
1114
1079
|
) {
|
|
1115
|
-
const nsid = '
|
|
1080
|
+
const nsid = 'app.bsky.unspecced.getConfig' // @ts-ignore
|
|
1116
1081
|
return this._server.xrpc.method(nsid, cfg)
|
|
1117
1082
|
}
|
|
1118
1083
|
|
|
1119
|
-
|
|
1084
|
+
getPopularFeedGenerators<A extends Auth = void>(
|
|
1120
1085
|
cfg: MethodConfigOrHandler<
|
|
1121
1086
|
A,
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1087
|
+
AppBskyUnspeccedGetPopularFeedGenerators.QueryParams,
|
|
1088
|
+
AppBskyUnspeccedGetPopularFeedGenerators.HandlerInput,
|
|
1089
|
+
AppBskyUnspeccedGetPopularFeedGenerators.HandlerOutput
|
|
1125
1090
|
>,
|
|
1126
1091
|
) {
|
|
1127
|
-
const nsid = '
|
|
1092
|
+
const nsid = 'app.bsky.unspecced.getPopularFeedGenerators' // @ts-ignore
|
|
1128
1093
|
return this._server.xrpc.method(nsid, cfg)
|
|
1129
1094
|
}
|
|
1130
1095
|
|
|
1131
|
-
|
|
1096
|
+
getPostThreadOtherV2<A extends Auth = void>(
|
|
1132
1097
|
cfg: MethodConfigOrHandler<
|
|
1133
1098
|
A,
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1099
|
+
AppBskyUnspeccedGetPostThreadOtherV2.QueryParams,
|
|
1100
|
+
AppBskyUnspeccedGetPostThreadOtherV2.HandlerInput,
|
|
1101
|
+
AppBskyUnspeccedGetPostThreadOtherV2.HandlerOutput
|
|
1137
1102
|
>,
|
|
1138
1103
|
) {
|
|
1139
|
-
const nsid = '
|
|
1104
|
+
const nsid = 'app.bsky.unspecced.getPostThreadOtherV2' // @ts-ignore
|
|
1140
1105
|
return this._server.xrpc.method(nsid, cfg)
|
|
1141
1106
|
}
|
|
1142
1107
|
|
|
1143
|
-
|
|
1108
|
+
getPostThreadV2<A extends Auth = void>(
|
|
1144
1109
|
cfg: MethodConfigOrHandler<
|
|
1145
1110
|
A,
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1111
|
+
AppBskyUnspeccedGetPostThreadV2.QueryParams,
|
|
1112
|
+
AppBskyUnspeccedGetPostThreadV2.HandlerInput,
|
|
1113
|
+
AppBskyUnspeccedGetPostThreadV2.HandlerOutput
|
|
1149
1114
|
>,
|
|
1150
1115
|
) {
|
|
1151
|
-
const nsid = '
|
|
1116
|
+
const nsid = 'app.bsky.unspecced.getPostThreadV2' // @ts-ignore
|
|
1152
1117
|
return this._server.xrpc.method(nsid, cfg)
|
|
1153
1118
|
}
|
|
1154
1119
|
|
|
1155
|
-
|
|
1120
|
+
getSuggestedFeeds<A extends Auth = void>(
|
|
1156
1121
|
cfg: MethodConfigOrHandler<
|
|
1157
1122
|
A,
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1123
|
+
AppBskyUnspeccedGetSuggestedFeeds.QueryParams,
|
|
1124
|
+
AppBskyUnspeccedGetSuggestedFeeds.HandlerInput,
|
|
1125
|
+
AppBskyUnspeccedGetSuggestedFeeds.HandlerOutput
|
|
1161
1126
|
>,
|
|
1162
1127
|
) {
|
|
1163
|
-
const nsid = '
|
|
1128
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeeds' // @ts-ignore
|
|
1164
1129
|
return this._server.xrpc.method(nsid, cfg)
|
|
1165
1130
|
}
|
|
1166
1131
|
|
|
1167
|
-
|
|
1132
|
+
getSuggestedFeedsSkeleton<A extends Auth = void>(
|
|
1168
1133
|
cfg: MethodConfigOrHandler<
|
|
1169
1134
|
A,
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1135
|
+
AppBskyUnspeccedGetSuggestedFeedsSkeleton.QueryParams,
|
|
1136
|
+
AppBskyUnspeccedGetSuggestedFeedsSkeleton.HandlerInput,
|
|
1137
|
+
AppBskyUnspeccedGetSuggestedFeedsSkeleton.HandlerOutput
|
|
1173
1138
|
>,
|
|
1174
1139
|
) {
|
|
1175
|
-
const nsid = '
|
|
1140
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton' // @ts-ignore
|
|
1176
1141
|
return this._server.xrpc.method(nsid, cfg)
|
|
1177
1142
|
}
|
|
1178
1143
|
|
|
1179
|
-
|
|
1144
|
+
getSuggestedStarterPacks<A extends Auth = void>(
|
|
1180
1145
|
cfg: MethodConfigOrHandler<
|
|
1181
1146
|
A,
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1147
|
+
AppBskyUnspeccedGetSuggestedStarterPacks.QueryParams,
|
|
1148
|
+
AppBskyUnspeccedGetSuggestedStarterPacks.HandlerInput,
|
|
1149
|
+
AppBskyUnspeccedGetSuggestedStarterPacks.HandlerOutput
|
|
1185
1150
|
>,
|
|
1186
1151
|
) {
|
|
1187
|
-
const nsid = '
|
|
1152
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks' // @ts-ignore
|
|
1188
1153
|
return this._server.xrpc.method(nsid, cfg)
|
|
1189
1154
|
}
|
|
1190
1155
|
|
|
1191
|
-
|
|
1156
|
+
getSuggestedStarterPacksSkeleton<A extends Auth = void>(
|
|
1192
1157
|
cfg: MethodConfigOrHandler<
|
|
1193
1158
|
A,
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1159
|
+
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.QueryParams,
|
|
1160
|
+
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.HandlerInput,
|
|
1161
|
+
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.HandlerOutput
|
|
1197
1162
|
>,
|
|
1198
1163
|
) {
|
|
1199
|
-
const nsid = '
|
|
1164
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton' // @ts-ignore
|
|
1200
1165
|
return this._server.xrpc.method(nsid, cfg)
|
|
1201
1166
|
}
|
|
1202
1167
|
|
|
1203
|
-
|
|
1168
|
+
getSuggestedUsers<A extends Auth = void>(
|
|
1204
1169
|
cfg: MethodConfigOrHandler<
|
|
1205
1170
|
A,
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1171
|
+
AppBskyUnspeccedGetSuggestedUsers.QueryParams,
|
|
1172
|
+
AppBskyUnspeccedGetSuggestedUsers.HandlerInput,
|
|
1173
|
+
AppBskyUnspeccedGetSuggestedUsers.HandlerOutput
|
|
1209
1174
|
>,
|
|
1210
1175
|
) {
|
|
1211
|
-
const nsid = '
|
|
1176
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsers' // @ts-ignore
|
|
1212
1177
|
return this._server.xrpc.method(nsid, cfg)
|
|
1213
1178
|
}
|
|
1214
1179
|
|
|
1215
|
-
|
|
1180
|
+
getSuggestedUsersSkeleton<A extends Auth = void>(
|
|
1216
1181
|
cfg: MethodConfigOrHandler<
|
|
1217
1182
|
A,
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1183
|
+
AppBskyUnspeccedGetSuggestedUsersSkeleton.QueryParams,
|
|
1184
|
+
AppBskyUnspeccedGetSuggestedUsersSkeleton.HandlerInput,
|
|
1185
|
+
AppBskyUnspeccedGetSuggestedUsersSkeleton.HandlerOutput
|
|
1221
1186
|
>,
|
|
1222
1187
|
) {
|
|
1223
|
-
const nsid = '
|
|
1188
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton' // @ts-ignore
|
|
1224
1189
|
return this._server.xrpc.method(nsid, cfg)
|
|
1225
1190
|
}
|
|
1226
1191
|
|
|
1227
|
-
|
|
1192
|
+
getSuggestionsSkeleton<A extends Auth = void>(
|
|
1228
1193
|
cfg: MethodConfigOrHandler<
|
|
1229
1194
|
A,
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1195
|
+
AppBskyUnspeccedGetSuggestionsSkeleton.QueryParams,
|
|
1196
|
+
AppBskyUnspeccedGetSuggestionsSkeleton.HandlerInput,
|
|
1197
|
+
AppBskyUnspeccedGetSuggestionsSkeleton.HandlerOutput
|
|
1233
1198
|
>,
|
|
1234
1199
|
) {
|
|
1235
|
-
const nsid = '
|
|
1200
|
+
const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton' // @ts-ignore
|
|
1236
1201
|
return this._server.xrpc.method(nsid, cfg)
|
|
1237
1202
|
}
|
|
1238
1203
|
|
|
1239
|
-
|
|
1204
|
+
getTaggedSuggestions<A extends Auth = void>(
|
|
1240
1205
|
cfg: MethodConfigOrHandler<
|
|
1241
1206
|
A,
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1207
|
+
AppBskyUnspeccedGetTaggedSuggestions.QueryParams,
|
|
1208
|
+
AppBskyUnspeccedGetTaggedSuggestions.HandlerInput,
|
|
1209
|
+
AppBskyUnspeccedGetTaggedSuggestions.HandlerOutput
|
|
1245
1210
|
>,
|
|
1246
1211
|
) {
|
|
1247
|
-
const nsid = '
|
|
1212
|
+
const nsid = 'app.bsky.unspecced.getTaggedSuggestions' // @ts-ignore
|
|
1248
1213
|
return this._server.xrpc.method(nsid, cfg)
|
|
1249
1214
|
}
|
|
1250
1215
|
|
|
1251
|
-
|
|
1216
|
+
getTrendingTopics<A extends Auth = void>(
|
|
1252
1217
|
cfg: MethodConfigOrHandler<
|
|
1253
1218
|
A,
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1219
|
+
AppBskyUnspeccedGetTrendingTopics.QueryParams,
|
|
1220
|
+
AppBskyUnspeccedGetTrendingTopics.HandlerInput,
|
|
1221
|
+
AppBskyUnspeccedGetTrendingTopics.HandlerOutput
|
|
1257
1222
|
>,
|
|
1258
1223
|
) {
|
|
1259
|
-
const nsid = '
|
|
1224
|
+
const nsid = 'app.bsky.unspecced.getTrendingTopics' // @ts-ignore
|
|
1260
1225
|
return this._server.xrpc.method(nsid, cfg)
|
|
1261
1226
|
}
|
|
1262
1227
|
|
|
1263
|
-
|
|
1228
|
+
getTrends<A extends Auth = void>(
|
|
1264
1229
|
cfg: MethodConfigOrHandler<
|
|
1265
1230
|
A,
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1231
|
+
AppBskyUnspeccedGetTrends.QueryParams,
|
|
1232
|
+
AppBskyUnspeccedGetTrends.HandlerInput,
|
|
1233
|
+
AppBskyUnspeccedGetTrends.HandlerOutput
|
|
1269
1234
|
>,
|
|
1270
1235
|
) {
|
|
1271
|
-
const nsid = '
|
|
1236
|
+
const nsid = 'app.bsky.unspecced.getTrends' // @ts-ignore
|
|
1272
1237
|
return this._server.xrpc.method(nsid, cfg)
|
|
1273
1238
|
}
|
|
1274
1239
|
|
|
1275
|
-
|
|
1276
|
-
cfg:
|
|
1240
|
+
getTrendsSkeleton<A extends Auth = void>(
|
|
1241
|
+
cfg: MethodConfigOrHandler<
|
|
1277
1242
|
A,
|
|
1278
|
-
|
|
1279
|
-
|
|
1243
|
+
AppBskyUnspeccedGetTrendsSkeleton.QueryParams,
|
|
1244
|
+
AppBskyUnspeccedGetTrendsSkeleton.HandlerInput,
|
|
1245
|
+
AppBskyUnspeccedGetTrendsSkeleton.HandlerOutput
|
|
1280
1246
|
>,
|
|
1281
1247
|
) {
|
|
1282
|
-
const nsid = '
|
|
1283
|
-
return this._server.xrpc.
|
|
1248
|
+
const nsid = 'app.bsky.unspecced.getTrendsSkeleton' // @ts-ignore
|
|
1249
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1284
1250
|
}
|
|
1285
|
-
}
|
|
1286
1251
|
|
|
1287
|
-
|
|
1288
|
-
|
|
1252
|
+
initAgeAssurance<A extends Auth = void>(
|
|
1253
|
+
cfg: MethodConfigOrHandler<
|
|
1254
|
+
A,
|
|
1255
|
+
AppBskyUnspeccedInitAgeAssurance.QueryParams,
|
|
1256
|
+
AppBskyUnspeccedInitAgeAssurance.HandlerInput,
|
|
1257
|
+
AppBskyUnspeccedInitAgeAssurance.HandlerOutput
|
|
1258
|
+
>,
|
|
1259
|
+
) {
|
|
1260
|
+
const nsid = 'app.bsky.unspecced.initAgeAssurance' // @ts-ignore
|
|
1261
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1262
|
+
}
|
|
1289
1263
|
|
|
1290
|
-
|
|
1291
|
-
|
|
1264
|
+
searchActorsSkeleton<A extends Auth = void>(
|
|
1265
|
+
cfg: MethodConfigOrHandler<
|
|
1266
|
+
A,
|
|
1267
|
+
AppBskyUnspeccedSearchActorsSkeleton.QueryParams,
|
|
1268
|
+
AppBskyUnspeccedSearchActorsSkeleton.HandlerInput,
|
|
1269
|
+
AppBskyUnspeccedSearchActorsSkeleton.HandlerOutput
|
|
1270
|
+
>,
|
|
1271
|
+
) {
|
|
1272
|
+
const nsid = 'app.bsky.unspecced.searchActorsSkeleton' // @ts-ignore
|
|
1273
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1292
1274
|
}
|
|
1293
1275
|
|
|
1294
|
-
|
|
1276
|
+
searchPostsSkeleton<A extends Auth = void>(
|
|
1295
1277
|
cfg: MethodConfigOrHandler<
|
|
1296
1278
|
A,
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1279
|
+
AppBskyUnspeccedSearchPostsSkeleton.QueryParams,
|
|
1280
|
+
AppBskyUnspeccedSearchPostsSkeleton.HandlerInput,
|
|
1281
|
+
AppBskyUnspeccedSearchPostsSkeleton.HandlerOutput
|
|
1300
1282
|
>,
|
|
1301
1283
|
) {
|
|
1302
|
-
const nsid = '
|
|
1284
|
+
const nsid = 'app.bsky.unspecced.searchPostsSkeleton' // @ts-ignore
|
|
1303
1285
|
return this._server.xrpc.method(nsid, cfg)
|
|
1304
1286
|
}
|
|
1305
1287
|
|
|
1306
|
-
|
|
1288
|
+
searchStarterPacksSkeleton<A extends Auth = void>(
|
|
1307
1289
|
cfg: MethodConfigOrHandler<
|
|
1308
1290
|
A,
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1291
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton.QueryParams,
|
|
1292
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton.HandlerInput,
|
|
1293
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton.HandlerOutput
|
|
1312
1294
|
>,
|
|
1313
1295
|
) {
|
|
1314
|
-
const nsid = '
|
|
1296
|
+
const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton' // @ts-ignore
|
|
1315
1297
|
return this._server.xrpc.method(nsid, cfg)
|
|
1316
1298
|
}
|
|
1299
|
+
}
|
|
1317
1300
|
|
|
1318
|
-
|
|
1301
|
+
export class AppBskyVideoNS {
|
|
1302
|
+
_server: Server
|
|
1303
|
+
|
|
1304
|
+
constructor(server: Server) {
|
|
1305
|
+
this._server = server
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
getJobStatus<A extends Auth = void>(
|
|
1319
1309
|
cfg: MethodConfigOrHandler<
|
|
1320
1310
|
A,
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1311
|
+
AppBskyVideoGetJobStatus.QueryParams,
|
|
1312
|
+
AppBskyVideoGetJobStatus.HandlerInput,
|
|
1313
|
+
AppBskyVideoGetJobStatus.HandlerOutput
|
|
1324
1314
|
>,
|
|
1325
1315
|
) {
|
|
1326
|
-
const nsid = '
|
|
1316
|
+
const nsid = 'app.bsky.video.getJobStatus' // @ts-ignore
|
|
1327
1317
|
return this._server.xrpc.method(nsid, cfg)
|
|
1328
1318
|
}
|
|
1329
1319
|
|
|
1330
|
-
|
|
1320
|
+
getUploadLimits<A extends Auth = void>(
|
|
1331
1321
|
cfg: MethodConfigOrHandler<
|
|
1332
1322
|
A,
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1323
|
+
AppBskyVideoGetUploadLimits.QueryParams,
|
|
1324
|
+
AppBskyVideoGetUploadLimits.HandlerInput,
|
|
1325
|
+
AppBskyVideoGetUploadLimits.HandlerOutput
|
|
1336
1326
|
>,
|
|
1337
1327
|
) {
|
|
1338
|
-
const nsid = '
|
|
1328
|
+
const nsid = 'app.bsky.video.getUploadLimits' // @ts-ignore
|
|
1339
1329
|
return this._server.xrpc.method(nsid, cfg)
|
|
1340
1330
|
}
|
|
1341
1331
|
|
|
1342
|
-
|
|
1332
|
+
uploadVideo<A extends Auth = void>(
|
|
1343
1333
|
cfg: MethodConfigOrHandler<
|
|
1344
1334
|
A,
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1335
|
+
AppBskyVideoUploadVideo.QueryParams,
|
|
1336
|
+
AppBskyVideoUploadVideo.HandlerInput,
|
|
1337
|
+
AppBskyVideoUploadVideo.HandlerOutput
|
|
1348
1338
|
>,
|
|
1349
1339
|
) {
|
|
1350
|
-
const nsid = '
|
|
1340
|
+
const nsid = 'app.bsky.video.uploadVideo' // @ts-ignore
|
|
1351
1341
|
return this._server.xrpc.method(nsid, cfg)
|
|
1352
1342
|
}
|
|
1353
1343
|
}
|
|
1354
1344
|
|
|
1355
|
-
export class
|
|
1345
|
+
export class ChatNS {
|
|
1356
1346
|
_server: Server
|
|
1357
|
-
bsky:
|
|
1347
|
+
bsky: ChatBskyNS
|
|
1358
1348
|
|
|
1359
1349
|
constructor(server: Server) {
|
|
1360
1350
|
this._server = server
|
|
1361
|
-
this.bsky = new
|
|
1351
|
+
this.bsky = new ChatBskyNS(server)
|
|
1362
1352
|
}
|
|
1363
1353
|
}
|
|
1364
1354
|
|
|
1365
|
-
export class
|
|
1355
|
+
export class ChatBskyNS {
|
|
1366
1356
|
_server: Server
|
|
1367
|
-
actor:
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
graph: AppBskyGraphNS
|
|
1371
|
-
labeler: AppBskyLabelerNS
|
|
1372
|
-
notification: AppBskyNotificationNS
|
|
1373
|
-
richtext: AppBskyRichtextNS
|
|
1374
|
-
unspecced: AppBskyUnspeccedNS
|
|
1375
|
-
video: AppBskyVideoNS
|
|
1357
|
+
actor: ChatBskyActorNS
|
|
1358
|
+
convo: ChatBskyConvoNS
|
|
1359
|
+
moderation: ChatBskyModerationNS
|
|
1376
1360
|
|
|
1377
1361
|
constructor(server: Server) {
|
|
1378
1362
|
this._server = server
|
|
1379
|
-
this.actor = new
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1382
|
-
this.graph = new AppBskyGraphNS(server)
|
|
1383
|
-
this.labeler = new AppBskyLabelerNS(server)
|
|
1384
|
-
this.notification = new AppBskyNotificationNS(server)
|
|
1385
|
-
this.richtext = new AppBskyRichtextNS(server)
|
|
1386
|
-
this.unspecced = new AppBskyUnspeccedNS(server)
|
|
1387
|
-
this.video = new AppBskyVideoNS(server)
|
|
1363
|
+
this.actor = new ChatBskyActorNS(server)
|
|
1364
|
+
this.convo = new ChatBskyConvoNS(server)
|
|
1365
|
+
this.moderation = new ChatBskyModerationNS(server)
|
|
1388
1366
|
}
|
|
1389
1367
|
}
|
|
1390
1368
|
|
|
1391
|
-
export class
|
|
1369
|
+
export class ChatBskyActorNS {
|
|
1392
1370
|
_server: Server
|
|
1393
1371
|
|
|
1394
1372
|
constructor(server: Server) {
|
|
1395
1373
|
this._server = server
|
|
1396
1374
|
}
|
|
1397
1375
|
|
|
1398
|
-
|
|
1376
|
+
deleteAccount<A extends Auth = void>(
|
|
1399
1377
|
cfg: MethodConfigOrHandler<
|
|
1400
1378
|
A,
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1379
|
+
ChatBskyActorDeleteAccount.QueryParams,
|
|
1380
|
+
ChatBskyActorDeleteAccount.HandlerInput,
|
|
1381
|
+
ChatBskyActorDeleteAccount.HandlerOutput
|
|
1404
1382
|
>,
|
|
1405
1383
|
) {
|
|
1406
|
-
const nsid = '
|
|
1384
|
+
const nsid = 'chat.bsky.actor.deleteAccount' // @ts-ignore
|
|
1407
1385
|
return this._server.xrpc.method(nsid, cfg)
|
|
1408
1386
|
}
|
|
1409
1387
|
|
|
1410
|
-
|
|
1388
|
+
exportAccountData<A extends Auth = void>(
|
|
1411
1389
|
cfg: MethodConfigOrHandler<
|
|
1412
1390
|
A,
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1391
|
+
ChatBskyActorExportAccountData.QueryParams,
|
|
1392
|
+
ChatBskyActorExportAccountData.HandlerInput,
|
|
1393
|
+
ChatBskyActorExportAccountData.HandlerOutput
|
|
1416
1394
|
>,
|
|
1417
1395
|
) {
|
|
1418
|
-
const nsid = '
|
|
1396
|
+
const nsid = 'chat.bsky.actor.exportAccountData' // @ts-ignore
|
|
1419
1397
|
return this._server.xrpc.method(nsid, cfg)
|
|
1420
1398
|
}
|
|
1399
|
+
}
|
|
1421
1400
|
|
|
1422
|
-
|
|
1401
|
+
export class ChatBskyConvoNS {
|
|
1402
|
+
_server: Server
|
|
1403
|
+
|
|
1404
|
+
constructor(server: Server) {
|
|
1405
|
+
this._server = server
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
acceptConvo<A extends Auth = void>(
|
|
1423
1409
|
cfg: MethodConfigOrHandler<
|
|
1424
1410
|
A,
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1411
|
+
ChatBskyConvoAcceptConvo.QueryParams,
|
|
1412
|
+
ChatBskyConvoAcceptConvo.HandlerInput,
|
|
1413
|
+
ChatBskyConvoAcceptConvo.HandlerOutput
|
|
1428
1414
|
>,
|
|
1429
1415
|
) {
|
|
1430
|
-
const nsid = '
|
|
1416
|
+
const nsid = 'chat.bsky.convo.acceptConvo' // @ts-ignore
|
|
1431
1417
|
return this._server.xrpc.method(nsid, cfg)
|
|
1432
1418
|
}
|
|
1433
1419
|
|
|
1434
|
-
|
|
1420
|
+
addReaction<A extends Auth = void>(
|
|
1435
1421
|
cfg: MethodConfigOrHandler<
|
|
1436
1422
|
A,
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1423
|
+
ChatBskyConvoAddReaction.QueryParams,
|
|
1424
|
+
ChatBskyConvoAddReaction.HandlerInput,
|
|
1425
|
+
ChatBskyConvoAddReaction.HandlerOutput
|
|
1440
1426
|
>,
|
|
1441
1427
|
) {
|
|
1442
|
-
const nsid = '
|
|
1428
|
+
const nsid = 'chat.bsky.convo.addReaction' // @ts-ignore
|
|
1443
1429
|
return this._server.xrpc.method(nsid, cfg)
|
|
1444
1430
|
}
|
|
1445
1431
|
|
|
1446
|
-
|
|
1432
|
+
deleteMessageForSelf<A extends Auth = void>(
|
|
1447
1433
|
cfg: MethodConfigOrHandler<
|
|
1448
1434
|
A,
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1435
|
+
ChatBskyConvoDeleteMessageForSelf.QueryParams,
|
|
1436
|
+
ChatBskyConvoDeleteMessageForSelf.HandlerInput,
|
|
1437
|
+
ChatBskyConvoDeleteMessageForSelf.HandlerOutput
|
|
1452
1438
|
>,
|
|
1453
1439
|
) {
|
|
1454
|
-
const nsid = '
|
|
1440
|
+
const nsid = 'chat.bsky.convo.deleteMessageForSelf' // @ts-ignore
|
|
1455
1441
|
return this._server.xrpc.method(nsid, cfg)
|
|
1456
1442
|
}
|
|
1457
1443
|
|
|
1458
|
-
|
|
1444
|
+
getConvo<A extends Auth = void>(
|
|
1459
1445
|
cfg: MethodConfigOrHandler<
|
|
1460
1446
|
A,
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1447
|
+
ChatBskyConvoGetConvo.QueryParams,
|
|
1448
|
+
ChatBskyConvoGetConvo.HandlerInput,
|
|
1449
|
+
ChatBskyConvoGetConvo.HandlerOutput
|
|
1464
1450
|
>,
|
|
1465
1451
|
) {
|
|
1466
|
-
const nsid = '
|
|
1452
|
+
const nsid = 'chat.bsky.convo.getConvo' // @ts-ignore
|
|
1467
1453
|
return this._server.xrpc.method(nsid, cfg)
|
|
1468
1454
|
}
|
|
1469
1455
|
|
|
1470
|
-
|
|
1456
|
+
getConvoAvailability<A extends Auth = void>(
|
|
1471
1457
|
cfg: MethodConfigOrHandler<
|
|
1472
1458
|
A,
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1459
|
+
ChatBskyConvoGetConvoAvailability.QueryParams,
|
|
1460
|
+
ChatBskyConvoGetConvoAvailability.HandlerInput,
|
|
1461
|
+
ChatBskyConvoGetConvoAvailability.HandlerOutput
|
|
1476
1462
|
>,
|
|
1477
1463
|
) {
|
|
1478
|
-
const nsid = '
|
|
1464
|
+
const nsid = 'chat.bsky.convo.getConvoAvailability' // @ts-ignore
|
|
1479
1465
|
return this._server.xrpc.method(nsid, cfg)
|
|
1480
1466
|
}
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
export class AppBskyEmbedNS {
|
|
1484
|
-
_server: Server
|
|
1485
1467
|
|
|
1486
|
-
|
|
1487
|
-
this._server = server
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
export class AppBskyFeedNS {
|
|
1492
|
-
_server: Server
|
|
1493
|
-
|
|
1494
|
-
constructor(server: Server) {
|
|
1495
|
-
this._server = server
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
describeFeedGenerator<A extends Auth = void>(
|
|
1468
|
+
getConvoForMembers<A extends Auth = void>(
|
|
1499
1469
|
cfg: MethodConfigOrHandler<
|
|
1500
1470
|
A,
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1471
|
+
ChatBskyConvoGetConvoForMembers.QueryParams,
|
|
1472
|
+
ChatBskyConvoGetConvoForMembers.HandlerInput,
|
|
1473
|
+
ChatBskyConvoGetConvoForMembers.HandlerOutput
|
|
1504
1474
|
>,
|
|
1505
1475
|
) {
|
|
1506
|
-
const nsid = '
|
|
1476
|
+
const nsid = 'chat.bsky.convo.getConvoForMembers' // @ts-ignore
|
|
1507
1477
|
return this._server.xrpc.method(nsid, cfg)
|
|
1508
1478
|
}
|
|
1509
1479
|
|
|
1510
|
-
|
|
1480
|
+
getLog<A extends Auth = void>(
|
|
1511
1481
|
cfg: MethodConfigOrHandler<
|
|
1512
1482
|
A,
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1483
|
+
ChatBskyConvoGetLog.QueryParams,
|
|
1484
|
+
ChatBskyConvoGetLog.HandlerInput,
|
|
1485
|
+
ChatBskyConvoGetLog.HandlerOutput
|
|
1516
1486
|
>,
|
|
1517
1487
|
) {
|
|
1518
|
-
const nsid = '
|
|
1488
|
+
const nsid = 'chat.bsky.convo.getLog' // @ts-ignore
|
|
1519
1489
|
return this._server.xrpc.method(nsid, cfg)
|
|
1520
1490
|
}
|
|
1521
1491
|
|
|
1522
|
-
|
|
1492
|
+
getMessages<A extends Auth = void>(
|
|
1523
1493
|
cfg: MethodConfigOrHandler<
|
|
1524
1494
|
A,
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1495
|
+
ChatBskyConvoGetMessages.QueryParams,
|
|
1496
|
+
ChatBskyConvoGetMessages.HandlerInput,
|
|
1497
|
+
ChatBskyConvoGetMessages.HandlerOutput
|
|
1528
1498
|
>,
|
|
1529
1499
|
) {
|
|
1530
|
-
const nsid = '
|
|
1500
|
+
const nsid = 'chat.bsky.convo.getMessages' // @ts-ignore
|
|
1531
1501
|
return this._server.xrpc.method(nsid, cfg)
|
|
1532
1502
|
}
|
|
1533
1503
|
|
|
1534
|
-
|
|
1504
|
+
leaveConvo<A extends Auth = void>(
|
|
1535
1505
|
cfg: MethodConfigOrHandler<
|
|
1536
1506
|
A,
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1507
|
+
ChatBskyConvoLeaveConvo.QueryParams,
|
|
1508
|
+
ChatBskyConvoLeaveConvo.HandlerInput,
|
|
1509
|
+
ChatBskyConvoLeaveConvo.HandlerOutput
|
|
1540
1510
|
>,
|
|
1541
1511
|
) {
|
|
1542
|
-
const nsid = '
|
|
1512
|
+
const nsid = 'chat.bsky.convo.leaveConvo' // @ts-ignore
|
|
1543
1513
|
return this._server.xrpc.method(nsid, cfg)
|
|
1544
1514
|
}
|
|
1545
1515
|
|
|
1546
|
-
|
|
1516
|
+
listConvos<A extends Auth = void>(
|
|
1547
1517
|
cfg: MethodConfigOrHandler<
|
|
1548
1518
|
A,
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1519
|
+
ChatBskyConvoListConvos.QueryParams,
|
|
1520
|
+
ChatBskyConvoListConvos.HandlerInput,
|
|
1521
|
+
ChatBskyConvoListConvos.HandlerOutput
|
|
1552
1522
|
>,
|
|
1553
1523
|
) {
|
|
1554
|
-
const nsid = '
|
|
1524
|
+
const nsid = 'chat.bsky.convo.listConvos' // @ts-ignore
|
|
1555
1525
|
return this._server.xrpc.method(nsid, cfg)
|
|
1556
1526
|
}
|
|
1557
1527
|
|
|
1558
|
-
|
|
1528
|
+
muteConvo<A extends Auth = void>(
|
|
1559
1529
|
cfg: MethodConfigOrHandler<
|
|
1560
1530
|
A,
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1531
|
+
ChatBskyConvoMuteConvo.QueryParams,
|
|
1532
|
+
ChatBskyConvoMuteConvo.HandlerInput,
|
|
1533
|
+
ChatBskyConvoMuteConvo.HandlerOutput
|
|
1564
1534
|
>,
|
|
1565
1535
|
) {
|
|
1566
|
-
const nsid = '
|
|
1536
|
+
const nsid = 'chat.bsky.convo.muteConvo' // @ts-ignore
|
|
1567
1537
|
return this._server.xrpc.method(nsid, cfg)
|
|
1568
1538
|
}
|
|
1569
1539
|
|
|
1570
|
-
|
|
1540
|
+
removeReaction<A extends Auth = void>(
|
|
1571
1541
|
cfg: MethodConfigOrHandler<
|
|
1572
1542
|
A,
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1543
|
+
ChatBskyConvoRemoveReaction.QueryParams,
|
|
1544
|
+
ChatBskyConvoRemoveReaction.HandlerInput,
|
|
1545
|
+
ChatBskyConvoRemoveReaction.HandlerOutput
|
|
1576
1546
|
>,
|
|
1577
1547
|
) {
|
|
1578
|
-
const nsid = '
|
|
1548
|
+
const nsid = 'chat.bsky.convo.removeReaction' // @ts-ignore
|
|
1579
1549
|
return this._server.xrpc.method(nsid, cfg)
|
|
1580
1550
|
}
|
|
1581
1551
|
|
|
1582
|
-
|
|
1552
|
+
sendMessage<A extends Auth = void>(
|
|
1583
1553
|
cfg: MethodConfigOrHandler<
|
|
1584
1554
|
A,
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1555
|
+
ChatBskyConvoSendMessage.QueryParams,
|
|
1556
|
+
ChatBskyConvoSendMessage.HandlerInput,
|
|
1557
|
+
ChatBskyConvoSendMessage.HandlerOutput
|
|
1588
1558
|
>,
|
|
1589
1559
|
) {
|
|
1590
|
-
const nsid = '
|
|
1560
|
+
const nsid = 'chat.bsky.convo.sendMessage' // @ts-ignore
|
|
1591
1561
|
return this._server.xrpc.method(nsid, cfg)
|
|
1592
1562
|
}
|
|
1593
1563
|
|
|
1594
|
-
|
|
1564
|
+
sendMessageBatch<A extends Auth = void>(
|
|
1595
1565
|
cfg: MethodConfigOrHandler<
|
|
1596
1566
|
A,
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1567
|
+
ChatBskyConvoSendMessageBatch.QueryParams,
|
|
1568
|
+
ChatBskyConvoSendMessageBatch.HandlerInput,
|
|
1569
|
+
ChatBskyConvoSendMessageBatch.HandlerOutput
|
|
1600
1570
|
>,
|
|
1601
1571
|
) {
|
|
1602
|
-
const nsid = '
|
|
1572
|
+
const nsid = 'chat.bsky.convo.sendMessageBatch' // @ts-ignore
|
|
1603
1573
|
return this._server.xrpc.method(nsid, cfg)
|
|
1604
1574
|
}
|
|
1605
1575
|
|
|
1606
|
-
|
|
1576
|
+
unmuteConvo<A extends Auth = void>(
|
|
1607
1577
|
cfg: MethodConfigOrHandler<
|
|
1608
1578
|
A,
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1579
|
+
ChatBskyConvoUnmuteConvo.QueryParams,
|
|
1580
|
+
ChatBskyConvoUnmuteConvo.HandlerInput,
|
|
1581
|
+
ChatBskyConvoUnmuteConvo.HandlerOutput
|
|
1612
1582
|
>,
|
|
1613
1583
|
) {
|
|
1614
|
-
const nsid = '
|
|
1584
|
+
const nsid = 'chat.bsky.convo.unmuteConvo' // @ts-ignore
|
|
1615
1585
|
return this._server.xrpc.method(nsid, cfg)
|
|
1616
1586
|
}
|
|
1617
1587
|
|
|
1618
|
-
|
|
1588
|
+
updateAllRead<A extends Auth = void>(
|
|
1619
1589
|
cfg: MethodConfigOrHandler<
|
|
1620
1590
|
A,
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1591
|
+
ChatBskyConvoUpdateAllRead.QueryParams,
|
|
1592
|
+
ChatBskyConvoUpdateAllRead.HandlerInput,
|
|
1593
|
+
ChatBskyConvoUpdateAllRead.HandlerOutput
|
|
1624
1594
|
>,
|
|
1625
1595
|
) {
|
|
1626
|
-
const nsid = '
|
|
1596
|
+
const nsid = 'chat.bsky.convo.updateAllRead' // @ts-ignore
|
|
1627
1597
|
return this._server.xrpc.method(nsid, cfg)
|
|
1628
1598
|
}
|
|
1629
1599
|
|
|
1630
|
-
|
|
1600
|
+
updateRead<A extends Auth = void>(
|
|
1631
1601
|
cfg: MethodConfigOrHandler<
|
|
1632
1602
|
A,
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1603
|
+
ChatBskyConvoUpdateRead.QueryParams,
|
|
1604
|
+
ChatBskyConvoUpdateRead.HandlerInput,
|
|
1605
|
+
ChatBskyConvoUpdateRead.HandlerOutput
|
|
1636
1606
|
>,
|
|
1637
1607
|
) {
|
|
1638
|
-
const nsid = '
|
|
1608
|
+
const nsid = 'chat.bsky.convo.updateRead' // @ts-ignore
|
|
1639
1609
|
return this._server.xrpc.method(nsid, cfg)
|
|
1640
1610
|
}
|
|
1611
|
+
}
|
|
1641
1612
|
|
|
1642
|
-
|
|
1613
|
+
export class ChatBskyModerationNS {
|
|
1614
|
+
_server: Server
|
|
1615
|
+
|
|
1616
|
+
constructor(server: Server) {
|
|
1617
|
+
this._server = server
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
getActorMetadata<A extends Auth = void>(
|
|
1643
1621
|
cfg: MethodConfigOrHandler<
|
|
1644
1622
|
A,
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1623
|
+
ChatBskyModerationGetActorMetadata.QueryParams,
|
|
1624
|
+
ChatBskyModerationGetActorMetadata.HandlerInput,
|
|
1625
|
+
ChatBskyModerationGetActorMetadata.HandlerOutput
|
|
1648
1626
|
>,
|
|
1649
1627
|
) {
|
|
1650
|
-
const nsid = '
|
|
1628
|
+
const nsid = 'chat.bsky.moderation.getActorMetadata' // @ts-ignore
|
|
1651
1629
|
return this._server.xrpc.method(nsid, cfg)
|
|
1652
1630
|
}
|
|
1653
1631
|
|
|
1654
|
-
|
|
1632
|
+
getMessageContext<A extends Auth = void>(
|
|
1655
1633
|
cfg: MethodConfigOrHandler<
|
|
1656
1634
|
A,
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1635
|
+
ChatBskyModerationGetMessageContext.QueryParams,
|
|
1636
|
+
ChatBskyModerationGetMessageContext.HandlerInput,
|
|
1637
|
+
ChatBskyModerationGetMessageContext.HandlerOutput
|
|
1660
1638
|
>,
|
|
1661
1639
|
) {
|
|
1662
|
-
const nsid = '
|
|
1640
|
+
const nsid = 'chat.bsky.moderation.getMessageContext' // @ts-ignore
|
|
1663
1641
|
return this._server.xrpc.method(nsid, cfg)
|
|
1664
1642
|
}
|
|
1665
1643
|
|
|
1666
|
-
|
|
1644
|
+
updateActorAccess<A extends Auth = void>(
|
|
1667
1645
|
cfg: MethodConfigOrHandler<
|
|
1668
1646
|
A,
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1647
|
+
ChatBskyModerationUpdateActorAccess.QueryParams,
|
|
1648
|
+
ChatBskyModerationUpdateActorAccess.HandlerInput,
|
|
1649
|
+
ChatBskyModerationUpdateActorAccess.HandlerOutput
|
|
1672
1650
|
>,
|
|
1673
1651
|
) {
|
|
1674
|
-
const nsid = '
|
|
1652
|
+
const nsid = 'chat.bsky.moderation.updateActorAccess' // @ts-ignore
|
|
1675
1653
|
return this._server.xrpc.method(nsid, cfg)
|
|
1676
1654
|
}
|
|
1655
|
+
}
|
|
1677
1656
|
|
|
1678
|
-
|
|
1657
|
+
export class ComNS {
|
|
1658
|
+
_server: Server
|
|
1659
|
+
atproto: ComAtprotoNS
|
|
1660
|
+
|
|
1661
|
+
constructor(server: Server) {
|
|
1662
|
+
this._server = server
|
|
1663
|
+
this.atproto = new ComAtprotoNS(server)
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
export class ComAtprotoNS {
|
|
1668
|
+
_server: Server
|
|
1669
|
+
admin: ComAtprotoAdminNS
|
|
1670
|
+
identity: ComAtprotoIdentityNS
|
|
1671
|
+
label: ComAtprotoLabelNS
|
|
1672
|
+
lexicon: ComAtprotoLexiconNS
|
|
1673
|
+
moderation: ComAtprotoModerationNS
|
|
1674
|
+
repo: ComAtprotoRepoNS
|
|
1675
|
+
server: ComAtprotoServerNS
|
|
1676
|
+
sync: ComAtprotoSyncNS
|
|
1677
|
+
temp: ComAtprotoTempNS
|
|
1678
|
+
|
|
1679
|
+
constructor(server: Server) {
|
|
1680
|
+
this._server = server
|
|
1681
|
+
this.admin = new ComAtprotoAdminNS(server)
|
|
1682
|
+
this.identity = new ComAtprotoIdentityNS(server)
|
|
1683
|
+
this.label = new ComAtprotoLabelNS(server)
|
|
1684
|
+
this.lexicon = new ComAtprotoLexiconNS(server)
|
|
1685
|
+
this.moderation = new ComAtprotoModerationNS(server)
|
|
1686
|
+
this.repo = new ComAtprotoRepoNS(server)
|
|
1687
|
+
this.server = new ComAtprotoServerNS(server)
|
|
1688
|
+
this.sync = new ComAtprotoSyncNS(server)
|
|
1689
|
+
this.temp = new ComAtprotoTempNS(server)
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
export class ComAtprotoAdminNS {
|
|
1694
|
+
_server: Server
|
|
1695
|
+
|
|
1696
|
+
constructor(server: Server) {
|
|
1697
|
+
this._server = server
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
deleteAccount<A extends Auth = void>(
|
|
1679
1701
|
cfg: MethodConfigOrHandler<
|
|
1680
1702
|
A,
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1703
|
+
ComAtprotoAdminDeleteAccount.QueryParams,
|
|
1704
|
+
ComAtprotoAdminDeleteAccount.HandlerInput,
|
|
1705
|
+
ComAtprotoAdminDeleteAccount.HandlerOutput
|
|
1684
1706
|
>,
|
|
1685
1707
|
) {
|
|
1686
|
-
const nsid = '
|
|
1708
|
+
const nsid = 'com.atproto.admin.deleteAccount' // @ts-ignore
|
|
1687
1709
|
return this._server.xrpc.method(nsid, cfg)
|
|
1688
1710
|
}
|
|
1689
1711
|
|
|
1690
|
-
|
|
1712
|
+
disableAccountInvites<A extends Auth = void>(
|
|
1691
1713
|
cfg: MethodConfigOrHandler<
|
|
1692
1714
|
A,
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1715
|
+
ComAtprotoAdminDisableAccountInvites.QueryParams,
|
|
1716
|
+
ComAtprotoAdminDisableAccountInvites.HandlerInput,
|
|
1717
|
+
ComAtprotoAdminDisableAccountInvites.HandlerOutput
|
|
1696
1718
|
>,
|
|
1697
1719
|
) {
|
|
1698
|
-
const nsid = '
|
|
1720
|
+
const nsid = 'com.atproto.admin.disableAccountInvites' // @ts-ignore
|
|
1699
1721
|
return this._server.xrpc.method(nsid, cfg)
|
|
1700
1722
|
}
|
|
1701
1723
|
|
|
1702
|
-
|
|
1724
|
+
disableInviteCodes<A extends Auth = void>(
|
|
1703
1725
|
cfg: MethodConfigOrHandler<
|
|
1704
1726
|
A,
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1727
|
+
ComAtprotoAdminDisableInviteCodes.QueryParams,
|
|
1728
|
+
ComAtprotoAdminDisableInviteCodes.HandlerInput,
|
|
1729
|
+
ComAtprotoAdminDisableInviteCodes.HandlerOutput
|
|
1708
1730
|
>,
|
|
1709
1731
|
) {
|
|
1710
|
-
const nsid = '
|
|
1732
|
+
const nsid = 'com.atproto.admin.disableInviteCodes' // @ts-ignore
|
|
1711
1733
|
return this._server.xrpc.method(nsid, cfg)
|
|
1712
1734
|
}
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
export class AppBskyGraphNS {
|
|
1716
|
-
_server: Server
|
|
1717
|
-
|
|
1718
|
-
constructor(server: Server) {
|
|
1719
|
-
this._server = server
|
|
1720
|
-
}
|
|
1721
1735
|
|
|
1722
|
-
|
|
1736
|
+
enableAccountInvites<A extends Auth = void>(
|
|
1723
1737
|
cfg: MethodConfigOrHandler<
|
|
1724
1738
|
A,
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1739
|
+
ComAtprotoAdminEnableAccountInvites.QueryParams,
|
|
1740
|
+
ComAtprotoAdminEnableAccountInvites.HandlerInput,
|
|
1741
|
+
ComAtprotoAdminEnableAccountInvites.HandlerOutput
|
|
1728
1742
|
>,
|
|
1729
1743
|
) {
|
|
1730
|
-
const nsid = '
|
|
1744
|
+
const nsid = 'com.atproto.admin.enableAccountInvites' // @ts-ignore
|
|
1731
1745
|
return this._server.xrpc.method(nsid, cfg)
|
|
1732
1746
|
}
|
|
1733
1747
|
|
|
1734
|
-
|
|
1748
|
+
getAccountInfo<A extends Auth = void>(
|
|
1735
1749
|
cfg: MethodConfigOrHandler<
|
|
1736
1750
|
A,
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1751
|
+
ComAtprotoAdminGetAccountInfo.QueryParams,
|
|
1752
|
+
ComAtprotoAdminGetAccountInfo.HandlerInput,
|
|
1753
|
+
ComAtprotoAdminGetAccountInfo.HandlerOutput
|
|
1740
1754
|
>,
|
|
1741
1755
|
) {
|
|
1742
|
-
const nsid = '
|
|
1756
|
+
const nsid = 'com.atproto.admin.getAccountInfo' // @ts-ignore
|
|
1743
1757
|
return this._server.xrpc.method(nsid, cfg)
|
|
1744
1758
|
}
|
|
1745
1759
|
|
|
1746
|
-
|
|
1760
|
+
getAccountInfos<A extends Auth = void>(
|
|
1747
1761
|
cfg: MethodConfigOrHandler<
|
|
1748
1762
|
A,
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1763
|
+
ComAtprotoAdminGetAccountInfos.QueryParams,
|
|
1764
|
+
ComAtprotoAdminGetAccountInfos.HandlerInput,
|
|
1765
|
+
ComAtprotoAdminGetAccountInfos.HandlerOutput
|
|
1752
1766
|
>,
|
|
1753
1767
|
) {
|
|
1754
|
-
const nsid = '
|
|
1768
|
+
const nsid = 'com.atproto.admin.getAccountInfos' // @ts-ignore
|
|
1755
1769
|
return this._server.xrpc.method(nsid, cfg)
|
|
1756
1770
|
}
|
|
1757
1771
|
|
|
1758
|
-
|
|
1772
|
+
getInviteCodes<A extends Auth = void>(
|
|
1759
1773
|
cfg: MethodConfigOrHandler<
|
|
1760
1774
|
A,
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1775
|
+
ComAtprotoAdminGetInviteCodes.QueryParams,
|
|
1776
|
+
ComAtprotoAdminGetInviteCodes.HandlerInput,
|
|
1777
|
+
ComAtprotoAdminGetInviteCodes.HandlerOutput
|
|
1764
1778
|
>,
|
|
1765
1779
|
) {
|
|
1766
|
-
const nsid = '
|
|
1780
|
+
const nsid = 'com.atproto.admin.getInviteCodes' // @ts-ignore
|
|
1767
1781
|
return this._server.xrpc.method(nsid, cfg)
|
|
1768
1782
|
}
|
|
1769
1783
|
|
|
1770
|
-
|
|
1784
|
+
getSubjectStatus<A extends Auth = void>(
|
|
1771
1785
|
cfg: MethodConfigOrHandler<
|
|
1772
1786
|
A,
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1787
|
+
ComAtprotoAdminGetSubjectStatus.QueryParams,
|
|
1788
|
+
ComAtprotoAdminGetSubjectStatus.HandlerInput,
|
|
1789
|
+
ComAtprotoAdminGetSubjectStatus.HandlerOutput
|
|
1776
1790
|
>,
|
|
1777
1791
|
) {
|
|
1778
|
-
const nsid = '
|
|
1792
|
+
const nsid = 'com.atproto.admin.getSubjectStatus' // @ts-ignore
|
|
1779
1793
|
return this._server.xrpc.method(nsid, cfg)
|
|
1780
1794
|
}
|
|
1781
1795
|
|
|
1782
|
-
|
|
1796
|
+
searchAccounts<A extends Auth = void>(
|
|
1783
1797
|
cfg: MethodConfigOrHandler<
|
|
1784
1798
|
A,
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1799
|
+
ComAtprotoAdminSearchAccounts.QueryParams,
|
|
1800
|
+
ComAtprotoAdminSearchAccounts.HandlerInput,
|
|
1801
|
+
ComAtprotoAdminSearchAccounts.HandlerOutput
|
|
1788
1802
|
>,
|
|
1789
1803
|
) {
|
|
1790
|
-
const nsid = '
|
|
1804
|
+
const nsid = 'com.atproto.admin.searchAccounts' // @ts-ignore
|
|
1791
1805
|
return this._server.xrpc.method(nsid, cfg)
|
|
1792
1806
|
}
|
|
1793
1807
|
|
|
1794
|
-
|
|
1808
|
+
sendEmail<A extends Auth = void>(
|
|
1795
1809
|
cfg: MethodConfigOrHandler<
|
|
1796
1810
|
A,
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1811
|
+
ComAtprotoAdminSendEmail.QueryParams,
|
|
1812
|
+
ComAtprotoAdminSendEmail.HandlerInput,
|
|
1813
|
+
ComAtprotoAdminSendEmail.HandlerOutput
|
|
1800
1814
|
>,
|
|
1801
1815
|
) {
|
|
1802
|
-
const nsid = '
|
|
1816
|
+
const nsid = 'com.atproto.admin.sendEmail' // @ts-ignore
|
|
1803
1817
|
return this._server.xrpc.method(nsid, cfg)
|
|
1804
1818
|
}
|
|
1805
1819
|
|
|
1806
|
-
|
|
1820
|
+
updateAccountEmail<A extends Auth = void>(
|
|
1807
1821
|
cfg: MethodConfigOrHandler<
|
|
1808
1822
|
A,
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1823
|
+
ComAtprotoAdminUpdateAccountEmail.QueryParams,
|
|
1824
|
+
ComAtprotoAdminUpdateAccountEmail.HandlerInput,
|
|
1825
|
+
ComAtprotoAdminUpdateAccountEmail.HandlerOutput
|
|
1812
1826
|
>,
|
|
1813
1827
|
) {
|
|
1814
|
-
const nsid = '
|
|
1828
|
+
const nsid = 'com.atproto.admin.updateAccountEmail' // @ts-ignore
|
|
1815
1829
|
return this._server.xrpc.method(nsid, cfg)
|
|
1816
1830
|
}
|
|
1817
1831
|
|
|
1818
|
-
|
|
1832
|
+
updateAccountHandle<A extends Auth = void>(
|
|
1819
1833
|
cfg: MethodConfigOrHandler<
|
|
1820
1834
|
A,
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1835
|
+
ComAtprotoAdminUpdateAccountHandle.QueryParams,
|
|
1836
|
+
ComAtprotoAdminUpdateAccountHandle.HandlerInput,
|
|
1837
|
+
ComAtprotoAdminUpdateAccountHandle.HandlerOutput
|
|
1824
1838
|
>,
|
|
1825
1839
|
) {
|
|
1826
|
-
const nsid = '
|
|
1840
|
+
const nsid = 'com.atproto.admin.updateAccountHandle' // @ts-ignore
|
|
1827
1841
|
return this._server.xrpc.method(nsid, cfg)
|
|
1828
1842
|
}
|
|
1829
1843
|
|
|
1830
|
-
|
|
1844
|
+
updateAccountPassword<A extends Auth = void>(
|
|
1831
1845
|
cfg: MethodConfigOrHandler<
|
|
1832
1846
|
A,
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1847
|
+
ComAtprotoAdminUpdateAccountPassword.QueryParams,
|
|
1848
|
+
ComAtprotoAdminUpdateAccountPassword.HandlerInput,
|
|
1849
|
+
ComAtprotoAdminUpdateAccountPassword.HandlerOutput
|
|
1836
1850
|
>,
|
|
1837
1851
|
) {
|
|
1838
|
-
const nsid = '
|
|
1852
|
+
const nsid = 'com.atproto.admin.updateAccountPassword' // @ts-ignore
|
|
1839
1853
|
return this._server.xrpc.method(nsid, cfg)
|
|
1840
1854
|
}
|
|
1841
1855
|
|
|
1842
|
-
|
|
1856
|
+
updateAccountSigningKey<A extends Auth = void>(
|
|
1843
1857
|
cfg: MethodConfigOrHandler<
|
|
1844
1858
|
A,
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1859
|
+
ComAtprotoAdminUpdateAccountSigningKey.QueryParams,
|
|
1860
|
+
ComAtprotoAdminUpdateAccountSigningKey.HandlerInput,
|
|
1861
|
+
ComAtprotoAdminUpdateAccountSigningKey.HandlerOutput
|
|
1848
1862
|
>,
|
|
1849
1863
|
) {
|
|
1850
|
-
const nsid = '
|
|
1864
|
+
const nsid = 'com.atproto.admin.updateAccountSigningKey' // @ts-ignore
|
|
1851
1865
|
return this._server.xrpc.method(nsid, cfg)
|
|
1852
1866
|
}
|
|
1853
1867
|
|
|
1854
|
-
|
|
1868
|
+
updateSubjectStatus<A extends Auth = void>(
|
|
1855
1869
|
cfg: MethodConfigOrHandler<
|
|
1856
1870
|
A,
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1871
|
+
ComAtprotoAdminUpdateSubjectStatus.QueryParams,
|
|
1872
|
+
ComAtprotoAdminUpdateSubjectStatus.HandlerInput,
|
|
1873
|
+
ComAtprotoAdminUpdateSubjectStatus.HandlerOutput
|
|
1860
1874
|
>,
|
|
1861
1875
|
) {
|
|
1862
|
-
const nsid = '
|
|
1876
|
+
const nsid = 'com.atproto.admin.updateSubjectStatus' // @ts-ignore
|
|
1863
1877
|
return this._server.xrpc.method(nsid, cfg)
|
|
1864
1878
|
}
|
|
1879
|
+
}
|
|
1865
1880
|
|
|
1866
|
-
|
|
1881
|
+
export class ComAtprotoIdentityNS {
|
|
1882
|
+
_server: Server
|
|
1883
|
+
|
|
1884
|
+
constructor(server: Server) {
|
|
1885
|
+
this._server = server
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
getRecommendedDidCredentials<A extends Auth = void>(
|
|
1867
1889
|
cfg: MethodConfigOrHandler<
|
|
1868
1890
|
A,
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1891
|
+
ComAtprotoIdentityGetRecommendedDidCredentials.QueryParams,
|
|
1892
|
+
ComAtprotoIdentityGetRecommendedDidCredentials.HandlerInput,
|
|
1893
|
+
ComAtprotoIdentityGetRecommendedDidCredentials.HandlerOutput
|
|
1872
1894
|
>,
|
|
1873
1895
|
) {
|
|
1874
|
-
const nsid = '
|
|
1896
|
+
const nsid = 'com.atproto.identity.getRecommendedDidCredentials' // @ts-ignore
|
|
1875
1897
|
return this._server.xrpc.method(nsid, cfg)
|
|
1876
1898
|
}
|
|
1877
1899
|
|
|
1878
|
-
|
|
1900
|
+
refreshIdentity<A extends Auth = void>(
|
|
1879
1901
|
cfg: MethodConfigOrHandler<
|
|
1880
|
-
A,
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1902
|
+
A,
|
|
1903
|
+
ComAtprotoIdentityRefreshIdentity.QueryParams,
|
|
1904
|
+
ComAtprotoIdentityRefreshIdentity.HandlerInput,
|
|
1905
|
+
ComAtprotoIdentityRefreshIdentity.HandlerOutput
|
|
1884
1906
|
>,
|
|
1885
1907
|
) {
|
|
1886
|
-
const nsid = '
|
|
1908
|
+
const nsid = 'com.atproto.identity.refreshIdentity' // @ts-ignore
|
|
1887
1909
|
return this._server.xrpc.method(nsid, cfg)
|
|
1888
1910
|
}
|
|
1889
1911
|
|
|
1890
|
-
|
|
1912
|
+
requestPlcOperationSignature<A extends Auth = void>(
|
|
1891
1913
|
cfg: MethodConfigOrHandler<
|
|
1892
1914
|
A,
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1915
|
+
ComAtprotoIdentityRequestPlcOperationSignature.QueryParams,
|
|
1916
|
+
ComAtprotoIdentityRequestPlcOperationSignature.HandlerInput,
|
|
1917
|
+
ComAtprotoIdentityRequestPlcOperationSignature.HandlerOutput
|
|
1896
1918
|
>,
|
|
1897
1919
|
) {
|
|
1898
|
-
const nsid = '
|
|
1920
|
+
const nsid = 'com.atproto.identity.requestPlcOperationSignature' // @ts-ignore
|
|
1899
1921
|
return this._server.xrpc.method(nsid, cfg)
|
|
1900
1922
|
}
|
|
1901
1923
|
|
|
1902
|
-
|
|
1924
|
+
resolveDid<A extends Auth = void>(
|
|
1903
1925
|
cfg: MethodConfigOrHandler<
|
|
1904
1926
|
A,
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1927
|
+
ComAtprotoIdentityResolveDid.QueryParams,
|
|
1928
|
+
ComAtprotoIdentityResolveDid.HandlerInput,
|
|
1929
|
+
ComAtprotoIdentityResolveDid.HandlerOutput
|
|
1908
1930
|
>,
|
|
1909
1931
|
) {
|
|
1910
|
-
const nsid = '
|
|
1932
|
+
const nsid = 'com.atproto.identity.resolveDid' // @ts-ignore
|
|
1911
1933
|
return this._server.xrpc.method(nsid, cfg)
|
|
1912
1934
|
}
|
|
1913
1935
|
|
|
1914
|
-
|
|
1936
|
+
resolveHandle<A extends Auth = void>(
|
|
1915
1937
|
cfg: MethodConfigOrHandler<
|
|
1916
1938
|
A,
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1939
|
+
ComAtprotoIdentityResolveHandle.QueryParams,
|
|
1940
|
+
ComAtprotoIdentityResolveHandle.HandlerInput,
|
|
1941
|
+
ComAtprotoIdentityResolveHandle.HandlerOutput
|
|
1920
1942
|
>,
|
|
1921
1943
|
) {
|
|
1922
|
-
const nsid = '
|
|
1944
|
+
const nsid = 'com.atproto.identity.resolveHandle' // @ts-ignore
|
|
1923
1945
|
return this._server.xrpc.method(nsid, cfg)
|
|
1924
1946
|
}
|
|
1925
1947
|
|
|
1926
|
-
|
|
1948
|
+
resolveIdentity<A extends Auth = void>(
|
|
1927
1949
|
cfg: MethodConfigOrHandler<
|
|
1928
1950
|
A,
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1951
|
+
ComAtprotoIdentityResolveIdentity.QueryParams,
|
|
1952
|
+
ComAtprotoIdentityResolveIdentity.HandlerInput,
|
|
1953
|
+
ComAtprotoIdentityResolveIdentity.HandlerOutput
|
|
1932
1954
|
>,
|
|
1933
1955
|
) {
|
|
1934
|
-
const nsid = '
|
|
1956
|
+
const nsid = 'com.atproto.identity.resolveIdentity' // @ts-ignore
|
|
1935
1957
|
return this._server.xrpc.method(nsid, cfg)
|
|
1936
1958
|
}
|
|
1937
1959
|
|
|
1938
|
-
|
|
1960
|
+
signPlcOperation<A extends Auth = void>(
|
|
1939
1961
|
cfg: MethodConfigOrHandler<
|
|
1940
1962
|
A,
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1963
|
+
ComAtprotoIdentitySignPlcOperation.QueryParams,
|
|
1964
|
+
ComAtprotoIdentitySignPlcOperation.HandlerInput,
|
|
1965
|
+
ComAtprotoIdentitySignPlcOperation.HandlerOutput
|
|
1944
1966
|
>,
|
|
1945
1967
|
) {
|
|
1946
|
-
const nsid = '
|
|
1968
|
+
const nsid = 'com.atproto.identity.signPlcOperation' // @ts-ignore
|
|
1947
1969
|
return this._server.xrpc.method(nsid, cfg)
|
|
1948
1970
|
}
|
|
1949
1971
|
|
|
1950
|
-
|
|
1972
|
+
submitPlcOperation<A extends Auth = void>(
|
|
1951
1973
|
cfg: MethodConfigOrHandler<
|
|
1952
1974
|
A,
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1975
|
+
ComAtprotoIdentitySubmitPlcOperation.QueryParams,
|
|
1976
|
+
ComAtprotoIdentitySubmitPlcOperation.HandlerInput,
|
|
1977
|
+
ComAtprotoIdentitySubmitPlcOperation.HandlerOutput
|
|
1956
1978
|
>,
|
|
1957
1979
|
) {
|
|
1958
|
-
const nsid = '
|
|
1980
|
+
const nsid = 'com.atproto.identity.submitPlcOperation' // @ts-ignore
|
|
1959
1981
|
return this._server.xrpc.method(nsid, cfg)
|
|
1960
1982
|
}
|
|
1961
1983
|
|
|
1962
|
-
|
|
1984
|
+
updateHandle<A extends Auth = void>(
|
|
1963
1985
|
cfg: MethodConfigOrHandler<
|
|
1964
1986
|
A,
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1987
|
+
ComAtprotoIdentityUpdateHandle.QueryParams,
|
|
1988
|
+
ComAtprotoIdentityUpdateHandle.HandlerInput,
|
|
1989
|
+
ComAtprotoIdentityUpdateHandle.HandlerOutput
|
|
1968
1990
|
>,
|
|
1969
1991
|
) {
|
|
1970
|
-
const nsid = '
|
|
1992
|
+
const nsid = 'com.atproto.identity.updateHandle' // @ts-ignore
|
|
1971
1993
|
return this._server.xrpc.method(nsid, cfg)
|
|
1972
1994
|
}
|
|
1995
|
+
}
|
|
1973
1996
|
|
|
1974
|
-
|
|
1997
|
+
export class ComAtprotoLabelNS {
|
|
1998
|
+
_server: Server
|
|
1999
|
+
|
|
2000
|
+
constructor(server: Server) {
|
|
2001
|
+
this._server = server
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
queryLabels<A extends Auth = void>(
|
|
1975
2005
|
cfg: MethodConfigOrHandler<
|
|
1976
2006
|
A,
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
2007
|
+
ComAtprotoLabelQueryLabels.QueryParams,
|
|
2008
|
+
ComAtprotoLabelQueryLabels.HandlerInput,
|
|
2009
|
+
ComAtprotoLabelQueryLabels.HandlerOutput
|
|
1980
2010
|
>,
|
|
1981
2011
|
) {
|
|
1982
|
-
const nsid = '
|
|
2012
|
+
const nsid = 'com.atproto.label.queryLabels' // @ts-ignore
|
|
1983
2013
|
return this._server.xrpc.method(nsid, cfg)
|
|
1984
2014
|
}
|
|
1985
2015
|
|
|
1986
|
-
|
|
1987
|
-
cfg:
|
|
2016
|
+
subscribeLabels<A extends Auth = void>(
|
|
2017
|
+
cfg: StreamConfigOrHandler<
|
|
1988
2018
|
A,
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
AppBskyGraphUnmuteThread.HandlerOutput
|
|
2019
|
+
ComAtprotoLabelSubscribeLabels.QueryParams,
|
|
2020
|
+
ComAtprotoLabelSubscribeLabels.HandlerOutput
|
|
1992
2021
|
>,
|
|
1993
2022
|
) {
|
|
1994
|
-
const nsid = '
|
|
1995
|
-
return this._server.xrpc.
|
|
2023
|
+
const nsid = 'com.atproto.label.subscribeLabels' // @ts-ignore
|
|
2024
|
+
return this._server.xrpc.streamMethod(nsid, cfg)
|
|
1996
2025
|
}
|
|
1997
2026
|
}
|
|
1998
2027
|
|
|
1999
|
-
export class
|
|
2028
|
+
export class ComAtprotoLexiconNS {
|
|
2000
2029
|
_server: Server
|
|
2001
2030
|
|
|
2002
2031
|
constructor(server: Server) {
|
|
2003
2032
|
this._server = server
|
|
2004
2033
|
}
|
|
2034
|
+
}
|
|
2005
2035
|
|
|
2006
|
-
|
|
2036
|
+
export class ComAtprotoModerationNS {
|
|
2037
|
+
_server: Server
|
|
2038
|
+
|
|
2039
|
+
constructor(server: Server) {
|
|
2040
|
+
this._server = server
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
createReport<A extends Auth = void>(
|
|
2007
2044
|
cfg: MethodConfigOrHandler<
|
|
2008
2045
|
A,
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2046
|
+
ComAtprotoModerationCreateReport.QueryParams,
|
|
2047
|
+
ComAtprotoModerationCreateReport.HandlerInput,
|
|
2048
|
+
ComAtprotoModerationCreateReport.HandlerOutput
|
|
2012
2049
|
>,
|
|
2013
2050
|
) {
|
|
2014
|
-
const nsid = '
|
|
2051
|
+
const nsid = 'com.atproto.moderation.createReport' // @ts-ignore
|
|
2015
2052
|
return this._server.xrpc.method(nsid, cfg)
|
|
2016
2053
|
}
|
|
2017
2054
|
}
|
|
2018
2055
|
|
|
2019
|
-
export class
|
|
2056
|
+
export class ComAtprotoRepoNS {
|
|
2020
2057
|
_server: Server
|
|
2021
2058
|
|
|
2022
2059
|
constructor(server: Server) {
|
|
2023
2060
|
this._server = server
|
|
2024
2061
|
}
|
|
2025
2062
|
|
|
2026
|
-
|
|
2063
|
+
applyWrites<A extends Auth = void>(
|
|
2027
2064
|
cfg: MethodConfigOrHandler<
|
|
2028
2065
|
A,
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2066
|
+
ComAtprotoRepoApplyWrites.QueryParams,
|
|
2067
|
+
ComAtprotoRepoApplyWrites.HandlerInput,
|
|
2068
|
+
ComAtprotoRepoApplyWrites.HandlerOutput
|
|
2032
2069
|
>,
|
|
2033
2070
|
) {
|
|
2034
|
-
const nsid = '
|
|
2071
|
+
const nsid = 'com.atproto.repo.applyWrites' // @ts-ignore
|
|
2035
2072
|
return this._server.xrpc.method(nsid, cfg)
|
|
2036
2073
|
}
|
|
2037
2074
|
|
|
2038
|
-
|
|
2075
|
+
createRecord<A extends Auth = void>(
|
|
2039
2076
|
cfg: MethodConfigOrHandler<
|
|
2040
2077
|
A,
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2078
|
+
ComAtprotoRepoCreateRecord.QueryParams,
|
|
2079
|
+
ComAtprotoRepoCreateRecord.HandlerInput,
|
|
2080
|
+
ComAtprotoRepoCreateRecord.HandlerOutput
|
|
2044
2081
|
>,
|
|
2045
2082
|
) {
|
|
2046
|
-
const nsid = '
|
|
2083
|
+
const nsid = 'com.atproto.repo.createRecord' // @ts-ignore
|
|
2047
2084
|
return this._server.xrpc.method(nsid, cfg)
|
|
2048
2085
|
}
|
|
2049
2086
|
|
|
2050
|
-
|
|
2087
|
+
deleteRecord<A extends Auth = void>(
|
|
2051
2088
|
cfg: MethodConfigOrHandler<
|
|
2052
2089
|
A,
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2090
|
+
ComAtprotoRepoDeleteRecord.QueryParams,
|
|
2091
|
+
ComAtprotoRepoDeleteRecord.HandlerInput,
|
|
2092
|
+
ComAtprotoRepoDeleteRecord.HandlerOutput
|
|
2056
2093
|
>,
|
|
2057
2094
|
) {
|
|
2058
|
-
const nsid = '
|
|
2095
|
+
const nsid = 'com.atproto.repo.deleteRecord' // @ts-ignore
|
|
2059
2096
|
return this._server.xrpc.method(nsid, cfg)
|
|
2060
2097
|
}
|
|
2061
2098
|
|
|
2062
|
-
|
|
2099
|
+
describeRepo<A extends Auth = void>(
|
|
2063
2100
|
cfg: MethodConfigOrHandler<
|
|
2064
2101
|
A,
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2102
|
+
ComAtprotoRepoDescribeRepo.QueryParams,
|
|
2103
|
+
ComAtprotoRepoDescribeRepo.HandlerInput,
|
|
2104
|
+
ComAtprotoRepoDescribeRepo.HandlerOutput
|
|
2068
2105
|
>,
|
|
2069
2106
|
) {
|
|
2070
|
-
const nsid = '
|
|
2107
|
+
const nsid = 'com.atproto.repo.describeRepo' // @ts-ignore
|
|
2071
2108
|
return this._server.xrpc.method(nsid, cfg)
|
|
2072
2109
|
}
|
|
2073
2110
|
|
|
2074
|
-
|
|
2111
|
+
getRecord<A extends Auth = void>(
|
|
2075
2112
|
cfg: MethodConfigOrHandler<
|
|
2076
2113
|
A,
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2114
|
+
ComAtprotoRepoGetRecord.QueryParams,
|
|
2115
|
+
ComAtprotoRepoGetRecord.HandlerInput,
|
|
2116
|
+
ComAtprotoRepoGetRecord.HandlerOutput
|
|
2080
2117
|
>,
|
|
2081
2118
|
) {
|
|
2082
|
-
const nsid = '
|
|
2119
|
+
const nsid = 'com.atproto.repo.getRecord' // @ts-ignore
|
|
2083
2120
|
return this._server.xrpc.method(nsid, cfg)
|
|
2084
2121
|
}
|
|
2085
2122
|
|
|
2086
|
-
|
|
2123
|
+
importRepo<A extends Auth = void>(
|
|
2087
2124
|
cfg: MethodConfigOrHandler<
|
|
2088
2125
|
A,
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2126
|
+
ComAtprotoRepoImportRepo.QueryParams,
|
|
2127
|
+
ComAtprotoRepoImportRepo.HandlerInput,
|
|
2128
|
+
ComAtprotoRepoImportRepo.HandlerOutput
|
|
2092
2129
|
>,
|
|
2093
2130
|
) {
|
|
2094
|
-
const nsid = '
|
|
2131
|
+
const nsid = 'com.atproto.repo.importRepo' // @ts-ignore
|
|
2095
2132
|
return this._server.xrpc.method(nsid, cfg)
|
|
2096
2133
|
}
|
|
2097
2134
|
|
|
2098
|
-
|
|
2135
|
+
listMissingBlobs<A extends Auth = void>(
|
|
2099
2136
|
cfg: MethodConfigOrHandler<
|
|
2100
2137
|
A,
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2138
|
+
ComAtprotoRepoListMissingBlobs.QueryParams,
|
|
2139
|
+
ComAtprotoRepoListMissingBlobs.HandlerInput,
|
|
2140
|
+
ComAtprotoRepoListMissingBlobs.HandlerOutput
|
|
2104
2141
|
>,
|
|
2105
2142
|
) {
|
|
2106
|
-
const nsid = '
|
|
2143
|
+
const nsid = 'com.atproto.repo.listMissingBlobs' // @ts-ignore
|
|
2107
2144
|
return this._server.xrpc.method(nsid, cfg)
|
|
2108
2145
|
}
|
|
2109
2146
|
|
|
2110
|
-
|
|
2147
|
+
listRecords<A extends Auth = void>(
|
|
2111
2148
|
cfg: MethodConfigOrHandler<
|
|
2112
2149
|
A,
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2150
|
+
ComAtprotoRepoListRecords.QueryParams,
|
|
2151
|
+
ComAtprotoRepoListRecords.HandlerInput,
|
|
2152
|
+
ComAtprotoRepoListRecords.HandlerOutput
|
|
2116
2153
|
>,
|
|
2117
2154
|
) {
|
|
2118
|
-
const nsid = '
|
|
2155
|
+
const nsid = 'com.atproto.repo.listRecords' // @ts-ignore
|
|
2119
2156
|
return this._server.xrpc.method(nsid, cfg)
|
|
2120
2157
|
}
|
|
2121
2158
|
|
|
2122
|
-
|
|
2159
|
+
putRecord<A extends Auth = void>(
|
|
2123
2160
|
cfg: MethodConfigOrHandler<
|
|
2124
2161
|
A,
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2162
|
+
ComAtprotoRepoPutRecord.QueryParams,
|
|
2163
|
+
ComAtprotoRepoPutRecord.HandlerInput,
|
|
2164
|
+
ComAtprotoRepoPutRecord.HandlerOutput
|
|
2128
2165
|
>,
|
|
2129
2166
|
) {
|
|
2130
|
-
const nsid = '
|
|
2167
|
+
const nsid = 'com.atproto.repo.putRecord' // @ts-ignore
|
|
2131
2168
|
return this._server.xrpc.method(nsid, cfg)
|
|
2132
2169
|
}
|
|
2133
2170
|
|
|
2134
|
-
|
|
2171
|
+
uploadBlob<A extends Auth = void>(
|
|
2135
2172
|
cfg: MethodConfigOrHandler<
|
|
2136
2173
|
A,
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2174
|
+
ComAtprotoRepoUploadBlob.QueryParams,
|
|
2175
|
+
ComAtprotoRepoUploadBlob.HandlerInput,
|
|
2176
|
+
ComAtprotoRepoUploadBlob.HandlerOutput
|
|
2140
2177
|
>,
|
|
2141
2178
|
) {
|
|
2142
|
-
const nsid = '
|
|
2179
|
+
const nsid = 'com.atproto.repo.uploadBlob' // @ts-ignore
|
|
2143
2180
|
return this._server.xrpc.method(nsid, cfg)
|
|
2144
2181
|
}
|
|
2145
2182
|
}
|
|
2146
2183
|
|
|
2147
|
-
export class
|
|
2148
|
-
_server: Server
|
|
2149
|
-
|
|
2150
|
-
constructor(server: Server) {
|
|
2151
|
-
this._server = server
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
|
|
2155
|
-
export class AppBskyUnspeccedNS {
|
|
2184
|
+
export class ComAtprotoServerNS {
|
|
2156
2185
|
_server: Server
|
|
2157
2186
|
|
|
2158
2187
|
constructor(server: Server) {
|
|
2159
2188
|
this._server = server
|
|
2160
2189
|
}
|
|
2161
2190
|
|
|
2162
|
-
|
|
2163
|
-
cfg: MethodConfigOrHandler<
|
|
2164
|
-
A,
|
|
2165
|
-
AppBskyUnspeccedGetAgeAssuranceState.QueryParams,
|
|
2166
|
-
AppBskyUnspeccedGetAgeAssuranceState.HandlerInput,
|
|
2167
|
-
AppBskyUnspeccedGetAgeAssuranceState.HandlerOutput
|
|
2168
|
-
>,
|
|
2169
|
-
) {
|
|
2170
|
-
const nsid = 'app.bsky.unspecced.getAgeAssuranceState' // @ts-ignore
|
|
2171
|
-
return this._server.xrpc.method(nsid, cfg)
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
getConfig<A extends Auth = void>(
|
|
2191
|
+
activateAccount<A extends Auth = void>(
|
|
2175
2192
|
cfg: MethodConfigOrHandler<
|
|
2176
2193
|
A,
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2194
|
+
ComAtprotoServerActivateAccount.QueryParams,
|
|
2195
|
+
ComAtprotoServerActivateAccount.HandlerInput,
|
|
2196
|
+
ComAtprotoServerActivateAccount.HandlerOutput
|
|
2180
2197
|
>,
|
|
2181
2198
|
) {
|
|
2182
|
-
const nsid = '
|
|
2199
|
+
const nsid = 'com.atproto.server.activateAccount' // @ts-ignore
|
|
2183
2200
|
return this._server.xrpc.method(nsid, cfg)
|
|
2184
2201
|
}
|
|
2185
2202
|
|
|
2186
|
-
|
|
2203
|
+
checkAccountStatus<A extends Auth = void>(
|
|
2187
2204
|
cfg: MethodConfigOrHandler<
|
|
2188
2205
|
A,
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2206
|
+
ComAtprotoServerCheckAccountStatus.QueryParams,
|
|
2207
|
+
ComAtprotoServerCheckAccountStatus.HandlerInput,
|
|
2208
|
+
ComAtprotoServerCheckAccountStatus.HandlerOutput
|
|
2192
2209
|
>,
|
|
2193
2210
|
) {
|
|
2194
|
-
const nsid = '
|
|
2211
|
+
const nsid = 'com.atproto.server.checkAccountStatus' // @ts-ignore
|
|
2195
2212
|
return this._server.xrpc.method(nsid, cfg)
|
|
2196
2213
|
}
|
|
2197
2214
|
|
|
2198
|
-
|
|
2215
|
+
confirmEmail<A extends Auth = void>(
|
|
2199
2216
|
cfg: MethodConfigOrHandler<
|
|
2200
2217
|
A,
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2218
|
+
ComAtprotoServerConfirmEmail.QueryParams,
|
|
2219
|
+
ComAtprotoServerConfirmEmail.HandlerInput,
|
|
2220
|
+
ComAtprotoServerConfirmEmail.HandlerOutput
|
|
2204
2221
|
>,
|
|
2205
2222
|
) {
|
|
2206
|
-
const nsid = '
|
|
2223
|
+
const nsid = 'com.atproto.server.confirmEmail' // @ts-ignore
|
|
2207
2224
|
return this._server.xrpc.method(nsid, cfg)
|
|
2208
2225
|
}
|
|
2209
2226
|
|
|
2210
|
-
|
|
2227
|
+
createAccount<A extends Auth = void>(
|
|
2211
2228
|
cfg: MethodConfigOrHandler<
|
|
2212
2229
|
A,
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2230
|
+
ComAtprotoServerCreateAccount.QueryParams,
|
|
2231
|
+
ComAtprotoServerCreateAccount.HandlerInput,
|
|
2232
|
+
ComAtprotoServerCreateAccount.HandlerOutput
|
|
2216
2233
|
>,
|
|
2217
2234
|
) {
|
|
2218
|
-
const nsid = '
|
|
2235
|
+
const nsid = 'com.atproto.server.createAccount' // @ts-ignore
|
|
2219
2236
|
return this._server.xrpc.method(nsid, cfg)
|
|
2220
2237
|
}
|
|
2221
2238
|
|
|
2222
|
-
|
|
2239
|
+
createAppPassword<A extends Auth = void>(
|
|
2223
2240
|
cfg: MethodConfigOrHandler<
|
|
2224
2241
|
A,
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2242
|
+
ComAtprotoServerCreateAppPassword.QueryParams,
|
|
2243
|
+
ComAtprotoServerCreateAppPassword.HandlerInput,
|
|
2244
|
+
ComAtprotoServerCreateAppPassword.HandlerOutput
|
|
2228
2245
|
>,
|
|
2229
2246
|
) {
|
|
2230
|
-
const nsid = '
|
|
2247
|
+
const nsid = 'com.atproto.server.createAppPassword' // @ts-ignore
|
|
2231
2248
|
return this._server.xrpc.method(nsid, cfg)
|
|
2232
2249
|
}
|
|
2233
2250
|
|
|
2234
|
-
|
|
2251
|
+
createInviteCode<A extends Auth = void>(
|
|
2235
2252
|
cfg: MethodConfigOrHandler<
|
|
2236
2253
|
A,
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2254
|
+
ComAtprotoServerCreateInviteCode.QueryParams,
|
|
2255
|
+
ComAtprotoServerCreateInviteCode.HandlerInput,
|
|
2256
|
+
ComAtprotoServerCreateInviteCode.HandlerOutput
|
|
2240
2257
|
>,
|
|
2241
2258
|
) {
|
|
2242
|
-
const nsid = '
|
|
2259
|
+
const nsid = 'com.atproto.server.createInviteCode' // @ts-ignore
|
|
2243
2260
|
return this._server.xrpc.method(nsid, cfg)
|
|
2244
2261
|
}
|
|
2245
2262
|
|
|
2246
|
-
|
|
2263
|
+
createInviteCodes<A extends Auth = void>(
|
|
2247
2264
|
cfg: MethodConfigOrHandler<
|
|
2248
2265
|
A,
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2266
|
+
ComAtprotoServerCreateInviteCodes.QueryParams,
|
|
2267
|
+
ComAtprotoServerCreateInviteCodes.HandlerInput,
|
|
2268
|
+
ComAtprotoServerCreateInviteCodes.HandlerOutput
|
|
2252
2269
|
>,
|
|
2253
2270
|
) {
|
|
2254
|
-
const nsid = '
|
|
2271
|
+
const nsid = 'com.atproto.server.createInviteCodes' // @ts-ignore
|
|
2255
2272
|
return this._server.xrpc.method(nsid, cfg)
|
|
2256
2273
|
}
|
|
2257
2274
|
|
|
2258
|
-
|
|
2275
|
+
createSession<A extends Auth = void>(
|
|
2259
2276
|
cfg: MethodConfigOrHandler<
|
|
2260
2277
|
A,
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2278
|
+
ComAtprotoServerCreateSession.QueryParams,
|
|
2279
|
+
ComAtprotoServerCreateSession.HandlerInput,
|
|
2280
|
+
ComAtprotoServerCreateSession.HandlerOutput
|
|
2264
2281
|
>,
|
|
2265
2282
|
) {
|
|
2266
|
-
const nsid = '
|
|
2283
|
+
const nsid = 'com.atproto.server.createSession' // @ts-ignore
|
|
2267
2284
|
return this._server.xrpc.method(nsid, cfg)
|
|
2268
2285
|
}
|
|
2269
2286
|
|
|
2270
|
-
|
|
2287
|
+
deactivateAccount<A extends Auth = void>(
|
|
2271
2288
|
cfg: MethodConfigOrHandler<
|
|
2272
2289
|
A,
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2290
|
+
ComAtprotoServerDeactivateAccount.QueryParams,
|
|
2291
|
+
ComAtprotoServerDeactivateAccount.HandlerInput,
|
|
2292
|
+
ComAtprotoServerDeactivateAccount.HandlerOutput
|
|
2276
2293
|
>,
|
|
2277
2294
|
) {
|
|
2278
|
-
const nsid = '
|
|
2295
|
+
const nsid = 'com.atproto.server.deactivateAccount' // @ts-ignore
|
|
2279
2296
|
return this._server.xrpc.method(nsid, cfg)
|
|
2280
2297
|
}
|
|
2281
2298
|
|
|
2282
|
-
|
|
2299
|
+
deleteAccount<A extends Auth = void>(
|
|
2283
2300
|
cfg: MethodConfigOrHandler<
|
|
2284
2301
|
A,
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2302
|
+
ComAtprotoServerDeleteAccount.QueryParams,
|
|
2303
|
+
ComAtprotoServerDeleteAccount.HandlerInput,
|
|
2304
|
+
ComAtprotoServerDeleteAccount.HandlerOutput
|
|
2288
2305
|
>,
|
|
2289
2306
|
) {
|
|
2290
|
-
const nsid = '
|
|
2307
|
+
const nsid = 'com.atproto.server.deleteAccount' // @ts-ignore
|
|
2291
2308
|
return this._server.xrpc.method(nsid, cfg)
|
|
2292
2309
|
}
|
|
2293
2310
|
|
|
2294
|
-
|
|
2311
|
+
deleteSession<A extends Auth = void>(
|
|
2295
2312
|
cfg: MethodConfigOrHandler<
|
|
2296
2313
|
A,
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2314
|
+
ComAtprotoServerDeleteSession.QueryParams,
|
|
2315
|
+
ComAtprotoServerDeleteSession.HandlerInput,
|
|
2316
|
+
ComAtprotoServerDeleteSession.HandlerOutput
|
|
2300
2317
|
>,
|
|
2301
2318
|
) {
|
|
2302
|
-
const nsid = '
|
|
2319
|
+
const nsid = 'com.atproto.server.deleteSession' // @ts-ignore
|
|
2303
2320
|
return this._server.xrpc.method(nsid, cfg)
|
|
2304
2321
|
}
|
|
2305
2322
|
|
|
2306
|
-
|
|
2323
|
+
describeServer<A extends Auth = void>(
|
|
2307
2324
|
cfg: MethodConfigOrHandler<
|
|
2308
2325
|
A,
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2326
|
+
ComAtprotoServerDescribeServer.QueryParams,
|
|
2327
|
+
ComAtprotoServerDescribeServer.HandlerInput,
|
|
2328
|
+
ComAtprotoServerDescribeServer.HandlerOutput
|
|
2312
2329
|
>,
|
|
2313
2330
|
) {
|
|
2314
|
-
const nsid = '
|
|
2331
|
+
const nsid = 'com.atproto.server.describeServer' // @ts-ignore
|
|
2315
2332
|
return this._server.xrpc.method(nsid, cfg)
|
|
2316
2333
|
}
|
|
2317
2334
|
|
|
2318
|
-
|
|
2335
|
+
getAccountInviteCodes<A extends Auth = void>(
|
|
2319
2336
|
cfg: MethodConfigOrHandler<
|
|
2320
2337
|
A,
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2338
|
+
ComAtprotoServerGetAccountInviteCodes.QueryParams,
|
|
2339
|
+
ComAtprotoServerGetAccountInviteCodes.HandlerInput,
|
|
2340
|
+
ComAtprotoServerGetAccountInviteCodes.HandlerOutput
|
|
2324
2341
|
>,
|
|
2325
2342
|
) {
|
|
2326
|
-
const nsid = '
|
|
2343
|
+
const nsid = 'com.atproto.server.getAccountInviteCodes' // @ts-ignore
|
|
2327
2344
|
return this._server.xrpc.method(nsid, cfg)
|
|
2328
2345
|
}
|
|
2329
2346
|
|
|
2330
|
-
|
|
2347
|
+
getServiceAuth<A extends Auth = void>(
|
|
2331
2348
|
cfg: MethodConfigOrHandler<
|
|
2332
2349
|
A,
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2350
|
+
ComAtprotoServerGetServiceAuth.QueryParams,
|
|
2351
|
+
ComAtprotoServerGetServiceAuth.HandlerInput,
|
|
2352
|
+
ComAtprotoServerGetServiceAuth.HandlerOutput
|
|
2336
2353
|
>,
|
|
2337
2354
|
) {
|
|
2338
|
-
const nsid = '
|
|
2355
|
+
const nsid = 'com.atproto.server.getServiceAuth' // @ts-ignore
|
|
2339
2356
|
return this._server.xrpc.method(nsid, cfg)
|
|
2340
2357
|
}
|
|
2341
2358
|
|
|
2342
|
-
|
|
2359
|
+
getSession<A extends Auth = void>(
|
|
2343
2360
|
cfg: MethodConfigOrHandler<
|
|
2344
2361
|
A,
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2362
|
+
ComAtprotoServerGetSession.QueryParams,
|
|
2363
|
+
ComAtprotoServerGetSession.HandlerInput,
|
|
2364
|
+
ComAtprotoServerGetSession.HandlerOutput
|
|
2348
2365
|
>,
|
|
2349
2366
|
) {
|
|
2350
|
-
const nsid = '
|
|
2367
|
+
const nsid = 'com.atproto.server.getSession' // @ts-ignore
|
|
2351
2368
|
return this._server.xrpc.method(nsid, cfg)
|
|
2352
2369
|
}
|
|
2353
2370
|
|
|
2354
|
-
|
|
2371
|
+
listAppPasswords<A extends Auth = void>(
|
|
2355
2372
|
cfg: MethodConfigOrHandler<
|
|
2356
2373
|
A,
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2374
|
+
ComAtprotoServerListAppPasswords.QueryParams,
|
|
2375
|
+
ComAtprotoServerListAppPasswords.HandlerInput,
|
|
2376
|
+
ComAtprotoServerListAppPasswords.HandlerOutput
|
|
2360
2377
|
>,
|
|
2361
2378
|
) {
|
|
2362
|
-
const nsid = '
|
|
2379
|
+
const nsid = 'com.atproto.server.listAppPasswords' // @ts-ignore
|
|
2363
2380
|
return this._server.xrpc.method(nsid, cfg)
|
|
2364
2381
|
}
|
|
2365
2382
|
|
|
2366
|
-
|
|
2383
|
+
refreshSession<A extends Auth = void>(
|
|
2367
2384
|
cfg: MethodConfigOrHandler<
|
|
2368
2385
|
A,
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2386
|
+
ComAtprotoServerRefreshSession.QueryParams,
|
|
2387
|
+
ComAtprotoServerRefreshSession.HandlerInput,
|
|
2388
|
+
ComAtprotoServerRefreshSession.HandlerOutput
|
|
2372
2389
|
>,
|
|
2373
2390
|
) {
|
|
2374
|
-
const nsid = '
|
|
2391
|
+
const nsid = 'com.atproto.server.refreshSession' // @ts-ignore
|
|
2375
2392
|
return this._server.xrpc.method(nsid, cfg)
|
|
2376
2393
|
}
|
|
2377
2394
|
|
|
2378
|
-
|
|
2395
|
+
requestAccountDelete<A extends Auth = void>(
|
|
2379
2396
|
cfg: MethodConfigOrHandler<
|
|
2380
2397
|
A,
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2398
|
+
ComAtprotoServerRequestAccountDelete.QueryParams,
|
|
2399
|
+
ComAtprotoServerRequestAccountDelete.HandlerInput,
|
|
2400
|
+
ComAtprotoServerRequestAccountDelete.HandlerOutput
|
|
2384
2401
|
>,
|
|
2385
2402
|
) {
|
|
2386
|
-
const nsid = '
|
|
2403
|
+
const nsid = 'com.atproto.server.requestAccountDelete' // @ts-ignore
|
|
2387
2404
|
return this._server.xrpc.method(nsid, cfg)
|
|
2388
2405
|
}
|
|
2389
2406
|
|
|
2390
|
-
|
|
2407
|
+
requestEmailConfirmation<A extends Auth = void>(
|
|
2391
2408
|
cfg: MethodConfigOrHandler<
|
|
2392
2409
|
A,
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2410
|
+
ComAtprotoServerRequestEmailConfirmation.QueryParams,
|
|
2411
|
+
ComAtprotoServerRequestEmailConfirmation.HandlerInput,
|
|
2412
|
+
ComAtprotoServerRequestEmailConfirmation.HandlerOutput
|
|
2396
2413
|
>,
|
|
2397
2414
|
) {
|
|
2398
|
-
const nsid = '
|
|
2415
|
+
const nsid = 'com.atproto.server.requestEmailConfirmation' // @ts-ignore
|
|
2399
2416
|
return this._server.xrpc.method(nsid, cfg)
|
|
2400
2417
|
}
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
export class AppBskyVideoNS {
|
|
2404
|
-
_server: Server
|
|
2405
|
-
|
|
2406
|
-
constructor(server: Server) {
|
|
2407
|
-
this._server = server
|
|
2408
|
-
}
|
|
2409
2418
|
|
|
2410
|
-
|
|
2419
|
+
requestEmailUpdate<A extends Auth = void>(
|
|
2411
2420
|
cfg: MethodConfigOrHandler<
|
|
2412
2421
|
A,
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2422
|
+
ComAtprotoServerRequestEmailUpdate.QueryParams,
|
|
2423
|
+
ComAtprotoServerRequestEmailUpdate.HandlerInput,
|
|
2424
|
+
ComAtprotoServerRequestEmailUpdate.HandlerOutput
|
|
2416
2425
|
>,
|
|
2417
2426
|
) {
|
|
2418
|
-
const nsid = '
|
|
2427
|
+
const nsid = 'com.atproto.server.requestEmailUpdate' // @ts-ignore
|
|
2419
2428
|
return this._server.xrpc.method(nsid, cfg)
|
|
2420
2429
|
}
|
|
2421
2430
|
|
|
2422
|
-
|
|
2431
|
+
requestPasswordReset<A extends Auth = void>(
|
|
2423
2432
|
cfg: MethodConfigOrHandler<
|
|
2424
2433
|
A,
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2434
|
+
ComAtprotoServerRequestPasswordReset.QueryParams,
|
|
2435
|
+
ComAtprotoServerRequestPasswordReset.HandlerInput,
|
|
2436
|
+
ComAtprotoServerRequestPasswordReset.HandlerOutput
|
|
2428
2437
|
>,
|
|
2429
2438
|
) {
|
|
2430
|
-
const nsid = '
|
|
2439
|
+
const nsid = 'com.atproto.server.requestPasswordReset' // @ts-ignore
|
|
2431
2440
|
return this._server.xrpc.method(nsid, cfg)
|
|
2432
2441
|
}
|
|
2433
2442
|
|
|
2434
|
-
|
|
2443
|
+
reserveSigningKey<A extends Auth = void>(
|
|
2435
2444
|
cfg: MethodConfigOrHandler<
|
|
2436
2445
|
A,
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2446
|
+
ComAtprotoServerReserveSigningKey.QueryParams,
|
|
2447
|
+
ComAtprotoServerReserveSigningKey.HandlerInput,
|
|
2448
|
+
ComAtprotoServerReserveSigningKey.HandlerOutput
|
|
2440
2449
|
>,
|
|
2441
2450
|
) {
|
|
2442
|
-
const nsid = '
|
|
2451
|
+
const nsid = 'com.atproto.server.reserveSigningKey' // @ts-ignore
|
|
2443
2452
|
return this._server.xrpc.method(nsid, cfg)
|
|
2444
2453
|
}
|
|
2445
|
-
}
|
|
2446
|
-
|
|
2447
|
-
export class ChatNS {
|
|
2448
|
-
_server: Server
|
|
2449
|
-
bsky: ChatBskyNS
|
|
2450
|
-
|
|
2451
|
-
constructor(server: Server) {
|
|
2452
|
-
this._server = server
|
|
2453
|
-
this.bsky = new ChatBskyNS(server)
|
|
2454
|
-
}
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
|
-
export class ChatBskyNS {
|
|
2458
|
-
_server: Server
|
|
2459
|
-
actor: ChatBskyActorNS
|
|
2460
|
-
convo: ChatBskyConvoNS
|
|
2461
|
-
moderation: ChatBskyModerationNS
|
|
2462
|
-
|
|
2463
|
-
constructor(server: Server) {
|
|
2464
|
-
this._server = server
|
|
2465
|
-
this.actor = new ChatBskyActorNS(server)
|
|
2466
|
-
this.convo = new ChatBskyConvoNS(server)
|
|
2467
|
-
this.moderation = new ChatBskyModerationNS(server)
|
|
2468
|
-
}
|
|
2469
|
-
}
|
|
2470
2454
|
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2455
|
+
resetPassword<A extends Auth = void>(
|
|
2456
|
+
cfg: MethodConfigOrHandler<
|
|
2457
|
+
A,
|
|
2458
|
+
ComAtprotoServerResetPassword.QueryParams,
|
|
2459
|
+
ComAtprotoServerResetPassword.HandlerInput,
|
|
2460
|
+
ComAtprotoServerResetPassword.HandlerOutput
|
|
2461
|
+
>,
|
|
2462
|
+
) {
|
|
2463
|
+
const nsid = 'com.atproto.server.resetPassword' // @ts-ignore
|
|
2464
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
2476
2465
|
}
|
|
2477
2466
|
|
|
2478
|
-
|
|
2467
|
+
revokeAppPassword<A extends Auth = void>(
|
|
2479
2468
|
cfg: MethodConfigOrHandler<
|
|
2480
2469
|
A,
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2470
|
+
ComAtprotoServerRevokeAppPassword.QueryParams,
|
|
2471
|
+
ComAtprotoServerRevokeAppPassword.HandlerInput,
|
|
2472
|
+
ComAtprotoServerRevokeAppPassword.HandlerOutput
|
|
2484
2473
|
>,
|
|
2485
2474
|
) {
|
|
2486
|
-
const nsid = '
|
|
2475
|
+
const nsid = 'com.atproto.server.revokeAppPassword' // @ts-ignore
|
|
2487
2476
|
return this._server.xrpc.method(nsid, cfg)
|
|
2488
2477
|
}
|
|
2489
2478
|
|
|
2490
|
-
|
|
2479
|
+
updateEmail<A extends Auth = void>(
|
|
2491
2480
|
cfg: MethodConfigOrHandler<
|
|
2492
2481
|
A,
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2482
|
+
ComAtprotoServerUpdateEmail.QueryParams,
|
|
2483
|
+
ComAtprotoServerUpdateEmail.HandlerInput,
|
|
2484
|
+
ComAtprotoServerUpdateEmail.HandlerOutput
|
|
2496
2485
|
>,
|
|
2497
2486
|
) {
|
|
2498
|
-
const nsid = '
|
|
2487
|
+
const nsid = 'com.atproto.server.updateEmail' // @ts-ignore
|
|
2499
2488
|
return this._server.xrpc.method(nsid, cfg)
|
|
2500
2489
|
}
|
|
2501
2490
|
}
|
|
2502
2491
|
|
|
2503
|
-
export class
|
|
2492
|
+
export class ComAtprotoSyncNS {
|
|
2504
2493
|
_server: Server
|
|
2505
2494
|
|
|
2506
2495
|
constructor(server: Server) {
|
|
2507
2496
|
this._server = server
|
|
2508
2497
|
}
|
|
2509
2498
|
|
|
2510
|
-
|
|
2499
|
+
getBlob<A extends Auth = void>(
|
|
2511
2500
|
cfg: MethodConfigOrHandler<
|
|
2512
2501
|
A,
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2502
|
+
ComAtprotoSyncGetBlob.QueryParams,
|
|
2503
|
+
ComAtprotoSyncGetBlob.HandlerInput,
|
|
2504
|
+
ComAtprotoSyncGetBlob.HandlerOutput
|
|
2516
2505
|
>,
|
|
2517
2506
|
) {
|
|
2518
|
-
const nsid = '
|
|
2507
|
+
const nsid = 'com.atproto.sync.getBlob' // @ts-ignore
|
|
2519
2508
|
return this._server.xrpc.method(nsid, cfg)
|
|
2520
2509
|
}
|
|
2521
2510
|
|
|
2522
|
-
|
|
2511
|
+
getBlocks<A extends Auth = void>(
|
|
2523
2512
|
cfg: MethodConfigOrHandler<
|
|
2524
2513
|
A,
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2514
|
+
ComAtprotoSyncGetBlocks.QueryParams,
|
|
2515
|
+
ComAtprotoSyncGetBlocks.HandlerInput,
|
|
2516
|
+
ComAtprotoSyncGetBlocks.HandlerOutput
|
|
2528
2517
|
>,
|
|
2529
2518
|
) {
|
|
2530
|
-
const nsid = '
|
|
2519
|
+
const nsid = 'com.atproto.sync.getBlocks' // @ts-ignore
|
|
2531
2520
|
return this._server.xrpc.method(nsid, cfg)
|
|
2532
2521
|
}
|
|
2533
2522
|
|
|
2534
|
-
|
|
2523
|
+
getCheckout<A extends Auth = void>(
|
|
2535
2524
|
cfg: MethodConfigOrHandler<
|
|
2536
2525
|
A,
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2526
|
+
ComAtprotoSyncGetCheckout.QueryParams,
|
|
2527
|
+
ComAtprotoSyncGetCheckout.HandlerInput,
|
|
2528
|
+
ComAtprotoSyncGetCheckout.HandlerOutput
|
|
2540
2529
|
>,
|
|
2541
2530
|
) {
|
|
2542
|
-
const nsid = '
|
|
2531
|
+
const nsid = 'com.atproto.sync.getCheckout' // @ts-ignore
|
|
2543
2532
|
return this._server.xrpc.method(nsid, cfg)
|
|
2544
2533
|
}
|
|
2545
2534
|
|
|
2546
|
-
|
|
2535
|
+
getHead<A extends Auth = void>(
|
|
2547
2536
|
cfg: MethodConfigOrHandler<
|
|
2548
2537
|
A,
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2538
|
+
ComAtprotoSyncGetHead.QueryParams,
|
|
2539
|
+
ComAtprotoSyncGetHead.HandlerInput,
|
|
2540
|
+
ComAtprotoSyncGetHead.HandlerOutput
|
|
2552
2541
|
>,
|
|
2553
2542
|
) {
|
|
2554
|
-
const nsid = '
|
|
2543
|
+
const nsid = 'com.atproto.sync.getHead' // @ts-ignore
|
|
2555
2544
|
return this._server.xrpc.method(nsid, cfg)
|
|
2556
2545
|
}
|
|
2557
2546
|
|
|
2558
|
-
|
|
2547
|
+
getHostStatus<A extends Auth = void>(
|
|
2559
2548
|
cfg: MethodConfigOrHandler<
|
|
2560
2549
|
A,
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2550
|
+
ComAtprotoSyncGetHostStatus.QueryParams,
|
|
2551
|
+
ComAtprotoSyncGetHostStatus.HandlerInput,
|
|
2552
|
+
ComAtprotoSyncGetHostStatus.HandlerOutput
|
|
2564
2553
|
>,
|
|
2565
2554
|
) {
|
|
2566
|
-
const nsid = '
|
|
2555
|
+
const nsid = 'com.atproto.sync.getHostStatus' // @ts-ignore
|
|
2567
2556
|
return this._server.xrpc.method(nsid, cfg)
|
|
2568
2557
|
}
|
|
2569
2558
|
|
|
2570
|
-
|
|
2559
|
+
getLatestCommit<A extends Auth = void>(
|
|
2571
2560
|
cfg: MethodConfigOrHandler<
|
|
2572
2561
|
A,
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2562
|
+
ComAtprotoSyncGetLatestCommit.QueryParams,
|
|
2563
|
+
ComAtprotoSyncGetLatestCommit.HandlerInput,
|
|
2564
|
+
ComAtprotoSyncGetLatestCommit.HandlerOutput
|
|
2576
2565
|
>,
|
|
2577
2566
|
) {
|
|
2578
|
-
const nsid = '
|
|
2567
|
+
const nsid = 'com.atproto.sync.getLatestCommit' // @ts-ignore
|
|
2579
2568
|
return this._server.xrpc.method(nsid, cfg)
|
|
2580
2569
|
}
|
|
2581
2570
|
|
|
2582
|
-
|
|
2571
|
+
getRecord<A extends Auth = void>(
|
|
2583
2572
|
cfg: MethodConfigOrHandler<
|
|
2584
2573
|
A,
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2574
|
+
ComAtprotoSyncGetRecord.QueryParams,
|
|
2575
|
+
ComAtprotoSyncGetRecord.HandlerInput,
|
|
2576
|
+
ComAtprotoSyncGetRecord.HandlerOutput
|
|
2588
2577
|
>,
|
|
2589
2578
|
) {
|
|
2590
|
-
const nsid = '
|
|
2579
|
+
const nsid = 'com.atproto.sync.getRecord' // @ts-ignore
|
|
2591
2580
|
return this._server.xrpc.method(nsid, cfg)
|
|
2592
2581
|
}
|
|
2593
2582
|
|
|
2594
|
-
|
|
2583
|
+
getRepo<A extends Auth = void>(
|
|
2595
2584
|
cfg: MethodConfigOrHandler<
|
|
2596
2585
|
A,
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2586
|
+
ComAtprotoSyncGetRepo.QueryParams,
|
|
2587
|
+
ComAtprotoSyncGetRepo.HandlerInput,
|
|
2588
|
+
ComAtprotoSyncGetRepo.HandlerOutput
|
|
2600
2589
|
>,
|
|
2601
2590
|
) {
|
|
2602
|
-
const nsid = '
|
|
2591
|
+
const nsid = 'com.atproto.sync.getRepo' // @ts-ignore
|
|
2603
2592
|
return this._server.xrpc.method(nsid, cfg)
|
|
2604
2593
|
}
|
|
2605
2594
|
|
|
2606
|
-
|
|
2595
|
+
getRepoStatus<A extends Auth = void>(
|
|
2607
2596
|
cfg: MethodConfigOrHandler<
|
|
2608
2597
|
A,
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2598
|
+
ComAtprotoSyncGetRepoStatus.QueryParams,
|
|
2599
|
+
ComAtprotoSyncGetRepoStatus.HandlerInput,
|
|
2600
|
+
ComAtprotoSyncGetRepoStatus.HandlerOutput
|
|
2612
2601
|
>,
|
|
2613
2602
|
) {
|
|
2614
|
-
const nsid = '
|
|
2603
|
+
const nsid = 'com.atproto.sync.getRepoStatus' // @ts-ignore
|
|
2615
2604
|
return this._server.xrpc.method(nsid, cfg)
|
|
2616
2605
|
}
|
|
2617
2606
|
|
|
2618
|
-
|
|
2607
|
+
listBlobs<A extends Auth = void>(
|
|
2619
2608
|
cfg: MethodConfigOrHandler<
|
|
2620
2609
|
A,
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2610
|
+
ComAtprotoSyncListBlobs.QueryParams,
|
|
2611
|
+
ComAtprotoSyncListBlobs.HandlerInput,
|
|
2612
|
+
ComAtprotoSyncListBlobs.HandlerOutput
|
|
2624
2613
|
>,
|
|
2625
2614
|
) {
|
|
2626
|
-
const nsid = '
|
|
2615
|
+
const nsid = 'com.atproto.sync.listBlobs' // @ts-ignore
|
|
2627
2616
|
return this._server.xrpc.method(nsid, cfg)
|
|
2628
2617
|
}
|
|
2629
2618
|
|
|
2630
|
-
|
|
2619
|
+
listHosts<A extends Auth = void>(
|
|
2631
2620
|
cfg: MethodConfigOrHandler<
|
|
2632
2621
|
A,
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2622
|
+
ComAtprotoSyncListHosts.QueryParams,
|
|
2623
|
+
ComAtprotoSyncListHosts.HandlerInput,
|
|
2624
|
+
ComAtprotoSyncListHosts.HandlerOutput
|
|
2636
2625
|
>,
|
|
2637
2626
|
) {
|
|
2638
|
-
const nsid = '
|
|
2627
|
+
const nsid = 'com.atproto.sync.listHosts' // @ts-ignore
|
|
2639
2628
|
return this._server.xrpc.method(nsid, cfg)
|
|
2640
2629
|
}
|
|
2641
2630
|
|
|
2642
|
-
|
|
2631
|
+
listRepos<A extends Auth = void>(
|
|
2643
2632
|
cfg: MethodConfigOrHandler<
|
|
2644
2633
|
A,
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2634
|
+
ComAtprotoSyncListRepos.QueryParams,
|
|
2635
|
+
ComAtprotoSyncListRepos.HandlerInput,
|
|
2636
|
+
ComAtprotoSyncListRepos.HandlerOutput
|
|
2648
2637
|
>,
|
|
2649
2638
|
) {
|
|
2650
|
-
const nsid = '
|
|
2639
|
+
const nsid = 'com.atproto.sync.listRepos' // @ts-ignore
|
|
2651
2640
|
return this._server.xrpc.method(nsid, cfg)
|
|
2652
2641
|
}
|
|
2653
2642
|
|
|
2654
|
-
|
|
2643
|
+
listReposByCollection<A extends Auth = void>(
|
|
2655
2644
|
cfg: MethodConfigOrHandler<
|
|
2656
2645
|
A,
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2646
|
+
ComAtprotoSyncListReposByCollection.QueryParams,
|
|
2647
|
+
ComAtprotoSyncListReposByCollection.HandlerInput,
|
|
2648
|
+
ComAtprotoSyncListReposByCollection.HandlerOutput
|
|
2660
2649
|
>,
|
|
2661
2650
|
) {
|
|
2662
|
-
const nsid = '
|
|
2651
|
+
const nsid = 'com.atproto.sync.listReposByCollection' // @ts-ignore
|
|
2663
2652
|
return this._server.xrpc.method(nsid, cfg)
|
|
2664
2653
|
}
|
|
2665
2654
|
|
|
2666
|
-
|
|
2655
|
+
notifyOfUpdate<A extends Auth = void>(
|
|
2667
2656
|
cfg: MethodConfigOrHandler<
|
|
2668
2657
|
A,
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2658
|
+
ComAtprotoSyncNotifyOfUpdate.QueryParams,
|
|
2659
|
+
ComAtprotoSyncNotifyOfUpdate.HandlerInput,
|
|
2660
|
+
ComAtprotoSyncNotifyOfUpdate.HandlerOutput
|
|
2672
2661
|
>,
|
|
2673
2662
|
) {
|
|
2674
|
-
const nsid = '
|
|
2663
|
+
const nsid = 'com.atproto.sync.notifyOfUpdate' // @ts-ignore
|
|
2675
2664
|
return this._server.xrpc.method(nsid, cfg)
|
|
2676
2665
|
}
|
|
2677
2666
|
|
|
2678
|
-
|
|
2667
|
+
requestCrawl<A extends Auth = void>(
|
|
2679
2668
|
cfg: MethodConfigOrHandler<
|
|
2680
2669
|
A,
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2670
|
+
ComAtprotoSyncRequestCrawl.QueryParams,
|
|
2671
|
+
ComAtprotoSyncRequestCrawl.HandlerInput,
|
|
2672
|
+
ComAtprotoSyncRequestCrawl.HandlerOutput
|
|
2684
2673
|
>,
|
|
2685
2674
|
) {
|
|
2686
|
-
const nsid = '
|
|
2675
|
+
const nsid = 'com.atproto.sync.requestCrawl' // @ts-ignore
|
|
2687
2676
|
return this._server.xrpc.method(nsid, cfg)
|
|
2688
2677
|
}
|
|
2689
2678
|
|
|
2690
|
-
|
|
2691
|
-
cfg:
|
|
2679
|
+
subscribeRepos<A extends Auth = void>(
|
|
2680
|
+
cfg: StreamConfigOrHandler<
|
|
2692
2681
|
A,
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
ChatBskyConvoUpdateAllRead.HandlerOutput
|
|
2682
|
+
ComAtprotoSyncSubscribeRepos.QueryParams,
|
|
2683
|
+
ComAtprotoSyncSubscribeRepos.HandlerOutput
|
|
2696
2684
|
>,
|
|
2697
2685
|
) {
|
|
2698
|
-
const nsid = '
|
|
2699
|
-
return this._server.xrpc.
|
|
2686
|
+
const nsid = 'com.atproto.sync.subscribeRepos' // @ts-ignore
|
|
2687
|
+
return this._server.xrpc.streamMethod(nsid, cfg)
|
|
2700
2688
|
}
|
|
2689
|
+
}
|
|
2701
2690
|
|
|
2702
|
-
|
|
2691
|
+
export class ComAtprotoTempNS {
|
|
2692
|
+
_server: Server
|
|
2693
|
+
|
|
2694
|
+
constructor(server: Server) {
|
|
2695
|
+
this._server = server
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
addReservedHandle<A extends Auth = void>(
|
|
2703
2699
|
cfg: MethodConfigOrHandler<
|
|
2704
2700
|
A,
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2701
|
+
ComAtprotoTempAddReservedHandle.QueryParams,
|
|
2702
|
+
ComAtprotoTempAddReservedHandle.HandlerInput,
|
|
2703
|
+
ComAtprotoTempAddReservedHandle.HandlerOutput
|
|
2708
2704
|
>,
|
|
2709
2705
|
) {
|
|
2710
|
-
const nsid = '
|
|
2706
|
+
const nsid = 'com.atproto.temp.addReservedHandle' // @ts-ignore
|
|
2711
2707
|
return this._server.xrpc.method(nsid, cfg)
|
|
2712
2708
|
}
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
|
-
export class ChatBskyModerationNS {
|
|
2716
|
-
_server: Server
|
|
2717
2709
|
|
|
2718
|
-
|
|
2719
|
-
|
|
2710
|
+
checkHandleAvailability<A extends Auth = void>(
|
|
2711
|
+
cfg: MethodConfigOrHandler<
|
|
2712
|
+
A,
|
|
2713
|
+
ComAtprotoTempCheckHandleAvailability.QueryParams,
|
|
2714
|
+
ComAtprotoTempCheckHandleAvailability.HandlerInput,
|
|
2715
|
+
ComAtprotoTempCheckHandleAvailability.HandlerOutput
|
|
2716
|
+
>,
|
|
2717
|
+
) {
|
|
2718
|
+
const nsid = 'com.atproto.temp.checkHandleAvailability' // @ts-ignore
|
|
2719
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
2720
2720
|
}
|
|
2721
2721
|
|
|
2722
|
-
|
|
2722
|
+
checkSignupQueue<A extends Auth = void>(
|
|
2723
2723
|
cfg: MethodConfigOrHandler<
|
|
2724
2724
|
A,
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2725
|
+
ComAtprotoTempCheckSignupQueue.QueryParams,
|
|
2726
|
+
ComAtprotoTempCheckSignupQueue.HandlerInput,
|
|
2727
|
+
ComAtprotoTempCheckSignupQueue.HandlerOutput
|
|
2728
2728
|
>,
|
|
2729
2729
|
) {
|
|
2730
|
-
const nsid = '
|
|
2730
|
+
const nsid = 'com.atproto.temp.checkSignupQueue' // @ts-ignore
|
|
2731
2731
|
return this._server.xrpc.method(nsid, cfg)
|
|
2732
2732
|
}
|
|
2733
2733
|
|
|
2734
|
-
|
|
2734
|
+
fetchLabels<A extends Auth = void>(
|
|
2735
2735
|
cfg: MethodConfigOrHandler<
|
|
2736
2736
|
A,
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2737
|
+
ComAtprotoTempFetchLabels.QueryParams,
|
|
2738
|
+
ComAtprotoTempFetchLabels.HandlerInput,
|
|
2739
|
+
ComAtprotoTempFetchLabels.HandlerOutput
|
|
2740
2740
|
>,
|
|
2741
2741
|
) {
|
|
2742
|
-
const nsid = '
|
|
2742
|
+
const nsid = 'com.atproto.temp.fetchLabels' // @ts-ignore
|
|
2743
2743
|
return this._server.xrpc.method(nsid, cfg)
|
|
2744
2744
|
}
|
|
2745
2745
|
|
|
2746
|
-
|
|
2746
|
+
requestPhoneVerification<A extends Auth = void>(
|
|
2747
2747
|
cfg: MethodConfigOrHandler<
|
|
2748
2748
|
A,
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2749
|
+
ComAtprotoTempRequestPhoneVerification.QueryParams,
|
|
2750
|
+
ComAtprotoTempRequestPhoneVerification.HandlerInput,
|
|
2751
|
+
ComAtprotoTempRequestPhoneVerification.HandlerOutput
|
|
2752
2752
|
>,
|
|
2753
2753
|
) {
|
|
2754
|
-
const nsid = '
|
|
2754
|
+
const nsid = 'com.atproto.temp.requestPhoneVerification' // @ts-ignore
|
|
2755
2755
|
return this._server.xrpc.method(nsid, cfg)
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|