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