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