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