@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/dist/lexicon/index.js
CHANGED
@@ -1,21 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ToolsOzoneVerificationNS = exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneSafelinkNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneHostingNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.
|
3
|
+
exports.ToolsOzoneVerificationNS = exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneSafelinkNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneHostingNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.AppBskyLabelerNS = exports.AppBskyGraphNS = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.Server = exports.TOOLS_OZONE_TEAM = exports.TOOLS_OZONE_MODERATION = exports.COM_ATPROTO_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = void 0;
|
4
4
|
exports.createServer = createServer;
|
5
5
|
/**
|
6
6
|
* GENERATED CODE - DO NOT MODIFY
|
7
7
|
*/
|
8
8
|
const xrpc_server_1 = require("@atproto/xrpc-server");
|
9
9
|
const lexicons_js_1 = require("./lexicons.js");
|
10
|
-
exports.COM_ATPROTO_MODERATION = {
|
11
|
-
DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
|
12
|
-
DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
|
13
|
-
DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
|
14
|
-
DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
|
15
|
-
DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
|
16
|
-
DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
|
17
|
-
DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
|
18
|
-
};
|
19
10
|
exports.APP_BSKY_ACTOR = {
|
20
11
|
StatusLive: 'app.bsky.actor.status#live',
|
21
12
|
};
|
@@ -40,6 +31,15 @@ exports.APP_BSKY_GRAPH = {
|
|
40
31
|
DefsCuratelist: 'app.bsky.graph.defs#curatelist',
|
41
32
|
DefsReferencelist: 'app.bsky.graph.defs#referencelist',
|
42
33
|
};
|
34
|
+
exports.COM_ATPROTO_MODERATION = {
|
35
|
+
DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
|
36
|
+
DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
|
37
|
+
DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
|
38
|
+
DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
|
39
|
+
DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
|
40
|
+
DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
|
41
|
+
DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
|
42
|
+
};
|
43
43
|
exports.TOOLS_OZONE_MODERATION = {
|
44
44
|
DefsReviewOpen: 'tools.ozone.moderation.defs#reviewOpen',
|
45
45
|
DefsReviewEscalated: 'tools.ozone.moderation.defs#reviewEscalated',
|
@@ -66,19 +66,19 @@ class Server {
|
|
66
66
|
writable: true,
|
67
67
|
value: void 0
|
68
68
|
});
|
69
|
-
Object.defineProperty(this, "
|
69
|
+
Object.defineProperty(this, "app", {
|
70
70
|
enumerable: true,
|
71
71
|
configurable: true,
|
72
72
|
writable: true,
|
73
73
|
value: void 0
|
74
74
|
});
|
75
|
-
Object.defineProperty(this, "
|
75
|
+
Object.defineProperty(this, "chat", {
|
76
76
|
enumerable: true,
|
77
77
|
configurable: true,
|
78
78
|
writable: true,
|
79
79
|
value: void 0
|
80
80
|
});
|
81
|
-
Object.defineProperty(this, "
|
81
|
+
Object.defineProperty(this, "com", {
|
82
82
|
enumerable: true,
|
83
83
|
configurable: true,
|
84
84
|
writable: true,
|
@@ -91,14 +91,14 @@ class Server {
|
|
91
91
|
value: void 0
|
92
92
|
});
|
93
93
|
this.xrpc = (0, xrpc_server_1.createServer)(lexicons_js_1.schemas, options);
|
94
|
-
this.com = new ComNS(this);
|
95
94
|
this.app = new AppNS(this);
|
96
95
|
this.chat = new ChatNS(this);
|
96
|
+
this.com = new ComNS(this);
|
97
97
|
this.tools = new ToolsNS(this);
|
98
98
|
}
|
99
99
|
}
|
100
100
|
exports.Server = Server;
|
101
|
-
class
|
101
|
+
class AppNS {
|
102
102
|
constructor(server) {
|
103
103
|
Object.defineProperty(this, "_server", {
|
104
104
|
enumerable: true,
|
@@ -106,18 +106,18 @@ class ComNS {
|
|
106
106
|
writable: true,
|
107
107
|
value: void 0
|
108
108
|
});
|
109
|
-
Object.defineProperty(this, "
|
109
|
+
Object.defineProperty(this, "bsky", {
|
110
110
|
enumerable: true,
|
111
111
|
configurable: true,
|
112
112
|
writable: true,
|
113
113
|
value: void 0
|
114
114
|
});
|
115
115
|
this._server = server;
|
116
|
-
this.
|
116
|
+
this.bsky = new AppBskyNS(server);
|
117
117
|
}
|
118
118
|
}
|
119
|
-
exports.
|
120
|
-
class
|
119
|
+
exports.AppNS = AppNS;
|
120
|
+
class AppBskyNS {
|
121
121
|
constructor(server) {
|
122
122
|
Object.defineProperty(this, "_server", {
|
123
123
|
enumerable: true,
|
@@ -125,74 +125,74 @@ class ComAtprotoNS {
|
|
125
125
|
writable: true,
|
126
126
|
value: void 0
|
127
127
|
});
|
128
|
-
Object.defineProperty(this, "
|
128
|
+
Object.defineProperty(this, "actor", {
|
129
129
|
enumerable: true,
|
130
130
|
configurable: true,
|
131
131
|
writable: true,
|
132
132
|
value: void 0
|
133
133
|
});
|
134
|
-
Object.defineProperty(this, "
|
134
|
+
Object.defineProperty(this, "embed", {
|
135
135
|
enumerable: true,
|
136
136
|
configurable: true,
|
137
137
|
writable: true,
|
138
138
|
value: void 0
|
139
139
|
});
|
140
|
-
Object.defineProperty(this, "
|
140
|
+
Object.defineProperty(this, "feed", {
|
141
141
|
enumerable: true,
|
142
142
|
configurable: true,
|
143
143
|
writable: true,
|
144
144
|
value: void 0
|
145
145
|
});
|
146
|
-
Object.defineProperty(this, "
|
146
|
+
Object.defineProperty(this, "graph", {
|
147
147
|
enumerable: true,
|
148
148
|
configurable: true,
|
149
149
|
writable: true,
|
150
150
|
value: void 0
|
151
151
|
});
|
152
|
-
Object.defineProperty(this, "
|
152
|
+
Object.defineProperty(this, "labeler", {
|
153
153
|
enumerable: true,
|
154
154
|
configurable: true,
|
155
155
|
writable: true,
|
156
156
|
value: void 0
|
157
157
|
});
|
158
|
-
Object.defineProperty(this, "
|
158
|
+
Object.defineProperty(this, "notification", {
|
159
159
|
enumerable: true,
|
160
160
|
configurable: true,
|
161
161
|
writable: true,
|
162
162
|
value: void 0
|
163
163
|
});
|
164
|
-
Object.defineProperty(this, "
|
164
|
+
Object.defineProperty(this, "richtext", {
|
165
165
|
enumerable: true,
|
166
166
|
configurable: true,
|
167
167
|
writable: true,
|
168
168
|
value: void 0
|
169
169
|
});
|
170
|
-
Object.defineProperty(this, "
|
170
|
+
Object.defineProperty(this, "unspecced", {
|
171
171
|
enumerable: true,
|
172
172
|
configurable: true,
|
173
173
|
writable: true,
|
174
174
|
value: void 0
|
175
175
|
});
|
176
|
-
Object.defineProperty(this, "
|
176
|
+
Object.defineProperty(this, "video", {
|
177
177
|
enumerable: true,
|
178
178
|
configurable: true,
|
179
179
|
writable: true,
|
180
180
|
value: void 0
|
181
181
|
});
|
182
182
|
this._server = server;
|
183
|
-
this.
|
184
|
-
this.
|
185
|
-
this.
|
186
|
-
this.
|
187
|
-
this.
|
188
|
-
this.
|
189
|
-
this.
|
190
|
-
this.
|
191
|
-
this.
|
183
|
+
this.actor = new AppBskyActorNS(server);
|
184
|
+
this.embed = new AppBskyEmbedNS(server);
|
185
|
+
this.feed = new AppBskyFeedNS(server);
|
186
|
+
this.graph = new AppBskyGraphNS(server);
|
187
|
+
this.labeler = new AppBskyLabelerNS(server);
|
188
|
+
this.notification = new AppBskyNotificationNS(server);
|
189
|
+
this.richtext = new AppBskyRichtextNS(server);
|
190
|
+
this.unspecced = new AppBskyUnspeccedNS(server);
|
191
|
+
this.video = new AppBskyVideoNS(server);
|
192
192
|
}
|
193
193
|
}
|
194
|
-
exports.
|
195
|
-
class
|
194
|
+
exports.AppBskyNS = AppBskyNS;
|
195
|
+
class AppBskyActorNS {
|
196
196
|
constructor(server) {
|
197
197
|
Object.defineProperty(this, "_server", {
|
198
198
|
enumerable: true,
|
@@ -202,117 +202,133 @@ class ComAtprotoAdminNS {
|
|
202
202
|
});
|
203
203
|
this._server = server;
|
204
204
|
}
|
205
|
-
|
206
|
-
const nsid = '
|
205
|
+
getPreferences(cfg) {
|
206
|
+
const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
|
207
207
|
return this._server.xrpc.method(nsid, cfg);
|
208
208
|
}
|
209
|
-
|
210
|
-
const nsid = '
|
209
|
+
getProfile(cfg) {
|
210
|
+
const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
|
211
211
|
return this._server.xrpc.method(nsid, cfg);
|
212
212
|
}
|
213
|
-
|
214
|
-
const nsid = '
|
213
|
+
getProfiles(cfg) {
|
214
|
+
const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
|
215
215
|
return this._server.xrpc.method(nsid, cfg);
|
216
216
|
}
|
217
|
-
|
218
|
-
const nsid = '
|
217
|
+
getSuggestions(cfg) {
|
218
|
+
const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
|
219
219
|
return this._server.xrpc.method(nsid, cfg);
|
220
220
|
}
|
221
|
-
|
222
|
-
const nsid = '
|
221
|
+
putPreferences(cfg) {
|
222
|
+
const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
|
223
223
|
return this._server.xrpc.method(nsid, cfg);
|
224
224
|
}
|
225
|
-
|
226
|
-
const nsid = '
|
225
|
+
searchActors(cfg) {
|
226
|
+
const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
|
227
227
|
return this._server.xrpc.method(nsid, cfg);
|
228
228
|
}
|
229
|
-
|
230
|
-
const nsid = '
|
229
|
+
searchActorsTypeahead(cfg) {
|
230
|
+
const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
|
231
231
|
return this._server.xrpc.method(nsid, cfg);
|
232
232
|
}
|
233
|
-
|
234
|
-
|
233
|
+
}
|
234
|
+
exports.AppBskyActorNS = AppBskyActorNS;
|
235
|
+
class AppBskyEmbedNS {
|
236
|
+
constructor(server) {
|
237
|
+
Object.defineProperty(this, "_server", {
|
238
|
+
enumerable: true,
|
239
|
+
configurable: true,
|
240
|
+
writable: true,
|
241
|
+
value: void 0
|
242
|
+
});
|
243
|
+
this._server = server;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
exports.AppBskyEmbedNS = AppBskyEmbedNS;
|
247
|
+
class AppBskyFeedNS {
|
248
|
+
constructor(server) {
|
249
|
+
Object.defineProperty(this, "_server", {
|
250
|
+
enumerable: true,
|
251
|
+
configurable: true,
|
252
|
+
writable: true,
|
253
|
+
value: void 0
|
254
|
+
});
|
255
|
+
this._server = server;
|
256
|
+
}
|
257
|
+
describeFeedGenerator(cfg) {
|
258
|
+
const nsid = 'app.bsky.feed.describeFeedGenerator'; // @ts-ignore
|
235
259
|
return this._server.xrpc.method(nsid, cfg);
|
236
260
|
}
|
237
|
-
|
238
|
-
const nsid = '
|
261
|
+
getActorFeeds(cfg) {
|
262
|
+
const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
|
239
263
|
return this._server.xrpc.method(nsid, cfg);
|
240
264
|
}
|
241
|
-
|
242
|
-
const nsid = '
|
265
|
+
getActorLikes(cfg) {
|
266
|
+
const nsid = 'app.bsky.feed.getActorLikes'; // @ts-ignore
|
243
267
|
return this._server.xrpc.method(nsid, cfg);
|
244
268
|
}
|
245
|
-
|
246
|
-
const nsid = '
|
269
|
+
getAuthorFeed(cfg) {
|
270
|
+
const nsid = 'app.bsky.feed.getAuthorFeed'; // @ts-ignore
|
247
271
|
return this._server.xrpc.method(nsid, cfg);
|
248
272
|
}
|
249
|
-
|
250
|
-
const nsid = '
|
273
|
+
getFeed(cfg) {
|
274
|
+
const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
|
251
275
|
return this._server.xrpc.method(nsid, cfg);
|
252
276
|
}
|
253
|
-
|
254
|
-
const nsid = '
|
277
|
+
getFeedGenerator(cfg) {
|
278
|
+
const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
|
255
279
|
return this._server.xrpc.method(nsid, cfg);
|
256
280
|
}
|
257
|
-
|
258
|
-
const nsid = '
|
281
|
+
getFeedGenerators(cfg) {
|
282
|
+
const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
|
259
283
|
return this._server.xrpc.method(nsid, cfg);
|
260
284
|
}
|
261
|
-
|
262
|
-
const nsid = '
|
285
|
+
getFeedSkeleton(cfg) {
|
286
|
+
const nsid = 'app.bsky.feed.getFeedSkeleton'; // @ts-ignore
|
263
287
|
return this._server.xrpc.method(nsid, cfg);
|
264
288
|
}
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
constructor(server) {
|
269
|
-
Object.defineProperty(this, "_server", {
|
270
|
-
enumerable: true,
|
271
|
-
configurable: true,
|
272
|
-
writable: true,
|
273
|
-
value: void 0
|
274
|
-
});
|
275
|
-
this._server = server;
|
289
|
+
getLikes(cfg) {
|
290
|
+
const nsid = 'app.bsky.feed.getLikes'; // @ts-ignore
|
291
|
+
return this._server.xrpc.method(nsid, cfg);
|
276
292
|
}
|
277
|
-
|
278
|
-
const nsid = '
|
293
|
+
getListFeed(cfg) {
|
294
|
+
const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
|
279
295
|
return this._server.xrpc.method(nsid, cfg);
|
280
296
|
}
|
281
|
-
|
282
|
-
const nsid = '
|
297
|
+
getPostThread(cfg) {
|
298
|
+
const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
|
283
299
|
return this._server.xrpc.method(nsid, cfg);
|
284
300
|
}
|
285
|
-
|
286
|
-
const nsid = '
|
301
|
+
getPosts(cfg) {
|
302
|
+
const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
|
287
303
|
return this._server.xrpc.method(nsid, cfg);
|
288
304
|
}
|
289
|
-
|
290
|
-
const nsid = '
|
305
|
+
getQuotes(cfg) {
|
306
|
+
const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
|
291
307
|
return this._server.xrpc.method(nsid, cfg);
|
292
308
|
}
|
293
|
-
|
294
|
-
const nsid = '
|
309
|
+
getRepostedBy(cfg) {
|
310
|
+
const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
|
295
311
|
return this._server.xrpc.method(nsid, cfg);
|
296
312
|
}
|
297
|
-
|
298
|
-
const nsid = '
|
313
|
+
getSuggestedFeeds(cfg) {
|
314
|
+
const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
|
299
315
|
return this._server.xrpc.method(nsid, cfg);
|
300
316
|
}
|
301
|
-
|
302
|
-
const nsid = '
|
317
|
+
getTimeline(cfg) {
|
318
|
+
const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
|
303
319
|
return this._server.xrpc.method(nsid, cfg);
|
304
320
|
}
|
305
|
-
|
306
|
-
const nsid = '
|
321
|
+
searchPosts(cfg) {
|
322
|
+
const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
|
307
323
|
return this._server.xrpc.method(nsid, cfg);
|
308
324
|
}
|
309
|
-
|
310
|
-
const nsid = '
|
325
|
+
sendInteractions(cfg) {
|
326
|
+
const nsid = 'app.bsky.feed.sendInteractions'; // @ts-ignore
|
311
327
|
return this._server.xrpc.method(nsid, cfg);
|
312
328
|
}
|
313
329
|
}
|
314
|
-
exports.
|
315
|
-
class
|
330
|
+
exports.AppBskyFeedNS = AppBskyFeedNS;
|
331
|
+
class AppBskyGraphNS {
|
316
332
|
constructor(server) {
|
317
333
|
Object.defineProperty(this, "_server", {
|
318
334
|
enumerable: true,
|
@@ -322,45 +338,101 @@ class ComAtprotoLabelNS {
|
|
322
338
|
});
|
323
339
|
this._server = server;
|
324
340
|
}
|
325
|
-
|
326
|
-
const nsid = '
|
341
|
+
getActorStarterPacks(cfg) {
|
342
|
+
const nsid = 'app.bsky.graph.getActorStarterPacks'; // @ts-ignore
|
327
343
|
return this._server.xrpc.method(nsid, cfg);
|
328
344
|
}
|
329
|
-
|
330
|
-
const nsid = '
|
331
|
-
return this._server.xrpc.
|
345
|
+
getBlocks(cfg) {
|
346
|
+
const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
|
347
|
+
return this._server.xrpc.method(nsid, cfg);
|
332
348
|
}
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
constructor(server) {
|
337
|
-
Object.defineProperty(this, "_server", {
|
338
|
-
enumerable: true,
|
339
|
-
configurable: true,
|
340
|
-
writable: true,
|
341
|
-
value: void 0
|
342
|
-
});
|
343
|
-
this._server = server;
|
349
|
+
getFollowers(cfg) {
|
350
|
+
const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
|
351
|
+
return this._server.xrpc.method(nsid, cfg);
|
344
352
|
}
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
constructor(server) {
|
349
|
-
Object.defineProperty(this, "_server", {
|
350
|
-
enumerable: true,
|
351
|
-
configurable: true,
|
352
|
-
writable: true,
|
353
|
-
value: void 0
|
354
|
-
});
|
355
|
-
this._server = server;
|
353
|
+
getFollows(cfg) {
|
354
|
+
const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
|
355
|
+
return this._server.xrpc.method(nsid, cfg);
|
356
356
|
}
|
357
|
-
|
358
|
-
const nsid = '
|
357
|
+
getKnownFollowers(cfg) {
|
358
|
+
const nsid = 'app.bsky.graph.getKnownFollowers'; // @ts-ignore
|
359
|
+
return this._server.xrpc.method(nsid, cfg);
|
360
|
+
}
|
361
|
+
getList(cfg) {
|
362
|
+
const nsid = 'app.bsky.graph.getList'; // @ts-ignore
|
363
|
+
return this._server.xrpc.method(nsid, cfg);
|
364
|
+
}
|
365
|
+
getListBlocks(cfg) {
|
366
|
+
const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
|
367
|
+
return this._server.xrpc.method(nsid, cfg);
|
368
|
+
}
|
369
|
+
getListMutes(cfg) {
|
370
|
+
const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
|
371
|
+
return this._server.xrpc.method(nsid, cfg);
|
372
|
+
}
|
373
|
+
getLists(cfg) {
|
374
|
+
const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
|
375
|
+
return this._server.xrpc.method(nsid, cfg);
|
376
|
+
}
|
377
|
+
getListsWithMembership(cfg) {
|
378
|
+
const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
|
379
|
+
return this._server.xrpc.method(nsid, cfg);
|
380
|
+
}
|
381
|
+
getMutes(cfg) {
|
382
|
+
const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
|
383
|
+
return this._server.xrpc.method(nsid, cfg);
|
384
|
+
}
|
385
|
+
getRelationships(cfg) {
|
386
|
+
const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
|
387
|
+
return this._server.xrpc.method(nsid, cfg);
|
388
|
+
}
|
389
|
+
getStarterPack(cfg) {
|
390
|
+
const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
|
391
|
+
return this._server.xrpc.method(nsid, cfg);
|
392
|
+
}
|
393
|
+
getStarterPacks(cfg) {
|
394
|
+
const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
|
395
|
+
return this._server.xrpc.method(nsid, cfg);
|
396
|
+
}
|
397
|
+
getStarterPacksWithMembership(cfg) {
|
398
|
+
const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
|
399
|
+
return this._server.xrpc.method(nsid, cfg);
|
400
|
+
}
|
401
|
+
getSuggestedFollowsByActor(cfg) {
|
402
|
+
const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
|
403
|
+
return this._server.xrpc.method(nsid, cfg);
|
404
|
+
}
|
405
|
+
muteActor(cfg) {
|
406
|
+
const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
|
407
|
+
return this._server.xrpc.method(nsid, cfg);
|
408
|
+
}
|
409
|
+
muteActorList(cfg) {
|
410
|
+
const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
|
411
|
+
return this._server.xrpc.method(nsid, cfg);
|
412
|
+
}
|
413
|
+
muteThread(cfg) {
|
414
|
+
const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
|
415
|
+
return this._server.xrpc.method(nsid, cfg);
|
416
|
+
}
|
417
|
+
searchStarterPacks(cfg) {
|
418
|
+
const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
|
419
|
+
return this._server.xrpc.method(nsid, cfg);
|
420
|
+
}
|
421
|
+
unmuteActor(cfg) {
|
422
|
+
const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
|
423
|
+
return this._server.xrpc.method(nsid, cfg);
|
424
|
+
}
|
425
|
+
unmuteActorList(cfg) {
|
426
|
+
const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
|
427
|
+
return this._server.xrpc.method(nsid, cfg);
|
428
|
+
}
|
429
|
+
unmuteThread(cfg) {
|
430
|
+
const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
|
359
431
|
return this._server.xrpc.method(nsid, cfg);
|
360
432
|
}
|
361
433
|
}
|
362
|
-
exports.
|
363
|
-
class
|
434
|
+
exports.AppBskyGraphNS = AppBskyGraphNS;
|
435
|
+
class AppBskyLabelerNS {
|
364
436
|
constructor(server) {
|
365
437
|
Object.defineProperty(this, "_server", {
|
366
438
|
enumerable: true,
|
@@ -370,49 +442,65 @@ class ComAtprotoRepoNS {
|
|
370
442
|
});
|
371
443
|
this._server = server;
|
372
444
|
}
|
373
|
-
|
374
|
-
const nsid = '
|
445
|
+
getServices(cfg) {
|
446
|
+
const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
|
375
447
|
return this._server.xrpc.method(nsid, cfg);
|
376
448
|
}
|
377
|
-
|
378
|
-
|
449
|
+
}
|
450
|
+
exports.AppBskyLabelerNS = AppBskyLabelerNS;
|
451
|
+
class AppBskyNotificationNS {
|
452
|
+
constructor(server) {
|
453
|
+
Object.defineProperty(this, "_server", {
|
454
|
+
enumerable: true,
|
455
|
+
configurable: true,
|
456
|
+
writable: true,
|
457
|
+
value: void 0
|
458
|
+
});
|
459
|
+
this._server = server;
|
460
|
+
}
|
461
|
+
getPreferences(cfg) {
|
462
|
+
const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
|
379
463
|
return this._server.xrpc.method(nsid, cfg);
|
380
464
|
}
|
381
|
-
|
382
|
-
const nsid = '
|
465
|
+
getUnreadCount(cfg) {
|
466
|
+
const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
|
383
467
|
return this._server.xrpc.method(nsid, cfg);
|
384
468
|
}
|
385
|
-
|
386
|
-
const nsid = '
|
469
|
+
listActivitySubscriptions(cfg) {
|
470
|
+
const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
|
387
471
|
return this._server.xrpc.method(nsid, cfg);
|
388
472
|
}
|
389
|
-
|
390
|
-
const nsid = '
|
473
|
+
listNotifications(cfg) {
|
474
|
+
const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
|
391
475
|
return this._server.xrpc.method(nsid, cfg);
|
392
476
|
}
|
393
|
-
|
394
|
-
const nsid = '
|
477
|
+
putActivitySubscription(cfg) {
|
478
|
+
const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
|
395
479
|
return this._server.xrpc.method(nsid, cfg);
|
396
480
|
}
|
397
|
-
|
398
|
-
const nsid = '
|
481
|
+
putPreferences(cfg) {
|
482
|
+
const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
|
399
483
|
return this._server.xrpc.method(nsid, cfg);
|
400
484
|
}
|
401
|
-
|
402
|
-
const nsid = '
|
485
|
+
putPreferencesV2(cfg) {
|
486
|
+
const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
|
403
487
|
return this._server.xrpc.method(nsid, cfg);
|
404
488
|
}
|
405
|
-
|
406
|
-
const nsid = '
|
489
|
+
registerPush(cfg) {
|
490
|
+
const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
|
407
491
|
return this._server.xrpc.method(nsid, cfg);
|
408
492
|
}
|
409
|
-
|
410
|
-
const nsid = '
|
493
|
+
unregisterPush(cfg) {
|
494
|
+
const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
|
495
|
+
return this._server.xrpc.method(nsid, cfg);
|
496
|
+
}
|
497
|
+
updateSeen(cfg) {
|
498
|
+
const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
|
411
499
|
return this._server.xrpc.method(nsid, cfg);
|
412
500
|
}
|
413
501
|
}
|
414
|
-
exports.
|
415
|
-
class
|
502
|
+
exports.AppBskyNotificationNS = AppBskyNotificationNS;
|
503
|
+
class AppBskyRichtextNS {
|
416
504
|
constructor(server) {
|
417
505
|
Object.defineProperty(this, "_server", {
|
418
506
|
enumerable: true,
|
@@ -422,109 +510,197 @@ class ComAtprotoServerNS {
|
|
422
510
|
});
|
423
511
|
this._server = server;
|
424
512
|
}
|
425
|
-
|
426
|
-
|
513
|
+
}
|
514
|
+
exports.AppBskyRichtextNS = AppBskyRichtextNS;
|
515
|
+
class AppBskyUnspeccedNS {
|
516
|
+
constructor(server) {
|
517
|
+
Object.defineProperty(this, "_server", {
|
518
|
+
enumerable: true,
|
519
|
+
configurable: true,
|
520
|
+
writable: true,
|
521
|
+
value: void 0
|
522
|
+
});
|
523
|
+
this._server = server;
|
524
|
+
}
|
525
|
+
getAgeAssuranceState(cfg) {
|
526
|
+
const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
|
427
527
|
return this._server.xrpc.method(nsid, cfg);
|
428
528
|
}
|
429
|
-
|
430
|
-
const nsid = '
|
529
|
+
getConfig(cfg) {
|
530
|
+
const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
|
431
531
|
return this._server.xrpc.method(nsid, cfg);
|
432
532
|
}
|
433
|
-
|
434
|
-
const nsid = '
|
533
|
+
getPopularFeedGenerators(cfg) {
|
534
|
+
const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
|
435
535
|
return this._server.xrpc.method(nsid, cfg);
|
436
536
|
}
|
437
|
-
|
438
|
-
const nsid = '
|
537
|
+
getPostThreadOtherV2(cfg) {
|
538
|
+
const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
|
439
539
|
return this._server.xrpc.method(nsid, cfg);
|
440
540
|
}
|
441
|
-
|
442
|
-
const nsid = '
|
541
|
+
getPostThreadV2(cfg) {
|
542
|
+
const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
|
443
543
|
return this._server.xrpc.method(nsid, cfg);
|
444
544
|
}
|
445
|
-
|
446
|
-
const nsid = '
|
545
|
+
getSuggestedFeeds(cfg) {
|
546
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
|
447
547
|
return this._server.xrpc.method(nsid, cfg);
|
448
548
|
}
|
449
|
-
|
450
|
-
const nsid = '
|
549
|
+
getSuggestedFeedsSkeleton(cfg) {
|
550
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
|
451
551
|
return this._server.xrpc.method(nsid, cfg);
|
452
552
|
}
|
453
|
-
|
454
|
-
const nsid = '
|
553
|
+
getSuggestedStarterPacks(cfg) {
|
554
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
|
455
555
|
return this._server.xrpc.method(nsid, cfg);
|
456
556
|
}
|
457
|
-
|
458
|
-
const nsid = '
|
557
|
+
getSuggestedStarterPacksSkeleton(cfg) {
|
558
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
|
459
559
|
return this._server.xrpc.method(nsid, cfg);
|
460
560
|
}
|
461
|
-
|
462
|
-
const nsid = '
|
561
|
+
getSuggestedUsers(cfg) {
|
562
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
|
463
563
|
return this._server.xrpc.method(nsid, cfg);
|
464
564
|
}
|
465
|
-
|
466
|
-
const nsid = '
|
565
|
+
getSuggestedUsersSkeleton(cfg) {
|
566
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
|
467
567
|
return this._server.xrpc.method(nsid, cfg);
|
468
568
|
}
|
469
|
-
|
470
|
-
const nsid = '
|
569
|
+
getSuggestionsSkeleton(cfg) {
|
570
|
+
const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
|
471
571
|
return this._server.xrpc.method(nsid, cfg);
|
472
572
|
}
|
473
|
-
|
474
|
-
const nsid = '
|
573
|
+
getTaggedSuggestions(cfg) {
|
574
|
+
const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
|
475
575
|
return this._server.xrpc.method(nsid, cfg);
|
476
576
|
}
|
477
|
-
|
478
|
-
const nsid = '
|
577
|
+
getTrendingTopics(cfg) {
|
578
|
+
const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
|
479
579
|
return this._server.xrpc.method(nsid, cfg);
|
480
580
|
}
|
481
|
-
|
482
|
-
const nsid = '
|
581
|
+
getTrends(cfg) {
|
582
|
+
const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
|
483
583
|
return this._server.xrpc.method(nsid, cfg);
|
484
584
|
}
|
485
|
-
|
486
|
-
const nsid = '
|
585
|
+
getTrendsSkeleton(cfg) {
|
586
|
+
const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
|
487
587
|
return this._server.xrpc.method(nsid, cfg);
|
488
588
|
}
|
489
|
-
|
490
|
-
const nsid = '
|
589
|
+
initAgeAssurance(cfg) {
|
590
|
+
const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
|
491
591
|
return this._server.xrpc.method(nsid, cfg);
|
492
592
|
}
|
493
|
-
|
494
|
-
const nsid = '
|
593
|
+
searchActorsSkeleton(cfg) {
|
594
|
+
const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
|
495
595
|
return this._server.xrpc.method(nsid, cfg);
|
496
596
|
}
|
497
|
-
|
498
|
-
const nsid = '
|
597
|
+
searchPostsSkeleton(cfg) {
|
598
|
+
const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
|
499
599
|
return this._server.xrpc.method(nsid, cfg);
|
500
600
|
}
|
501
|
-
|
502
|
-
const nsid = '
|
601
|
+
searchStarterPacksSkeleton(cfg) {
|
602
|
+
const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
|
503
603
|
return this._server.xrpc.method(nsid, cfg);
|
504
604
|
}
|
505
|
-
|
506
|
-
|
605
|
+
}
|
606
|
+
exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
|
607
|
+
class AppBskyVideoNS {
|
608
|
+
constructor(server) {
|
609
|
+
Object.defineProperty(this, "_server", {
|
610
|
+
enumerable: true,
|
611
|
+
configurable: true,
|
612
|
+
writable: true,
|
613
|
+
value: void 0
|
614
|
+
});
|
615
|
+
this._server = server;
|
616
|
+
}
|
617
|
+
getJobStatus(cfg) {
|
618
|
+
const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
|
507
619
|
return this._server.xrpc.method(nsid, cfg);
|
508
620
|
}
|
509
|
-
|
510
|
-
const nsid = '
|
621
|
+
getUploadLimits(cfg) {
|
622
|
+
const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
|
511
623
|
return this._server.xrpc.method(nsid, cfg);
|
512
624
|
}
|
513
|
-
|
514
|
-
const nsid = '
|
625
|
+
uploadVideo(cfg) {
|
626
|
+
const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
|
515
627
|
return this._server.xrpc.method(nsid, cfg);
|
516
628
|
}
|
517
|
-
|
518
|
-
|
629
|
+
}
|
630
|
+
exports.AppBskyVideoNS = AppBskyVideoNS;
|
631
|
+
class ChatNS {
|
632
|
+
constructor(server) {
|
633
|
+
Object.defineProperty(this, "_server", {
|
634
|
+
enumerable: true,
|
635
|
+
configurable: true,
|
636
|
+
writable: true,
|
637
|
+
value: void 0
|
638
|
+
});
|
639
|
+
Object.defineProperty(this, "bsky", {
|
640
|
+
enumerable: true,
|
641
|
+
configurable: true,
|
642
|
+
writable: true,
|
643
|
+
value: void 0
|
644
|
+
});
|
645
|
+
this._server = server;
|
646
|
+
this.bsky = new ChatBskyNS(server);
|
647
|
+
}
|
648
|
+
}
|
649
|
+
exports.ChatNS = ChatNS;
|
650
|
+
class ChatBskyNS {
|
651
|
+
constructor(server) {
|
652
|
+
Object.defineProperty(this, "_server", {
|
653
|
+
enumerable: true,
|
654
|
+
configurable: true,
|
655
|
+
writable: true,
|
656
|
+
value: void 0
|
657
|
+
});
|
658
|
+
Object.defineProperty(this, "actor", {
|
659
|
+
enumerable: true,
|
660
|
+
configurable: true,
|
661
|
+
writable: true,
|
662
|
+
value: void 0
|
663
|
+
});
|
664
|
+
Object.defineProperty(this, "convo", {
|
665
|
+
enumerable: true,
|
666
|
+
configurable: true,
|
667
|
+
writable: true,
|
668
|
+
value: void 0
|
669
|
+
});
|
670
|
+
Object.defineProperty(this, "moderation", {
|
671
|
+
enumerable: true,
|
672
|
+
configurable: true,
|
673
|
+
writable: true,
|
674
|
+
value: void 0
|
675
|
+
});
|
676
|
+
this._server = server;
|
677
|
+
this.actor = new ChatBskyActorNS(server);
|
678
|
+
this.convo = new ChatBskyConvoNS(server);
|
679
|
+
this.moderation = new ChatBskyModerationNS(server);
|
680
|
+
}
|
681
|
+
}
|
682
|
+
exports.ChatBskyNS = ChatBskyNS;
|
683
|
+
class ChatBskyActorNS {
|
684
|
+
constructor(server) {
|
685
|
+
Object.defineProperty(this, "_server", {
|
686
|
+
enumerable: true,
|
687
|
+
configurable: true,
|
688
|
+
writable: true,
|
689
|
+
value: void 0
|
690
|
+
});
|
691
|
+
this._server = server;
|
692
|
+
}
|
693
|
+
deleteAccount(cfg) {
|
694
|
+
const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
|
519
695
|
return this._server.xrpc.method(nsid, cfg);
|
520
696
|
}
|
521
|
-
|
522
|
-
const nsid = '
|
697
|
+
exportAccountData(cfg) {
|
698
|
+
const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
|
523
699
|
return this._server.xrpc.method(nsid, cfg);
|
524
700
|
}
|
525
701
|
}
|
526
|
-
exports.
|
527
|
-
class
|
702
|
+
exports.ChatBskyActorNS = ChatBskyActorNS;
|
703
|
+
class ChatBskyConvoNS {
|
528
704
|
constructor(server) {
|
529
705
|
Object.defineProperty(this, "_server", {
|
530
706
|
enumerable: true,
|
@@ -534,73 +710,77 @@ class ComAtprotoSyncNS {
|
|
534
710
|
});
|
535
711
|
this._server = server;
|
536
712
|
}
|
537
|
-
|
538
|
-
const nsid = '
|
713
|
+
acceptConvo(cfg) {
|
714
|
+
const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
|
539
715
|
return this._server.xrpc.method(nsid, cfg);
|
540
716
|
}
|
541
|
-
|
542
|
-
const nsid = '
|
717
|
+
addReaction(cfg) {
|
718
|
+
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
543
719
|
return this._server.xrpc.method(nsid, cfg);
|
544
720
|
}
|
545
|
-
|
546
|
-
const nsid = '
|
721
|
+
deleteMessageForSelf(cfg) {
|
722
|
+
const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
|
547
723
|
return this._server.xrpc.method(nsid, cfg);
|
548
724
|
}
|
549
|
-
|
550
|
-
const nsid = '
|
725
|
+
getConvo(cfg) {
|
726
|
+
const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
|
727
|
+
return this._server.xrpc.method(nsid, cfg);
|
728
|
+
}
|
729
|
+
getConvoAvailability(cfg) {
|
730
|
+
const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
|
551
731
|
return this._server.xrpc.method(nsid, cfg);
|
552
732
|
}
|
553
|
-
|
554
|
-
const nsid = '
|
733
|
+
getConvoForMembers(cfg) {
|
734
|
+
const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
|
555
735
|
return this._server.xrpc.method(nsid, cfg);
|
556
736
|
}
|
557
|
-
|
558
|
-
const nsid = '
|
737
|
+
getLog(cfg) {
|
738
|
+
const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
|
559
739
|
return this._server.xrpc.method(nsid, cfg);
|
560
740
|
}
|
561
|
-
|
562
|
-
const nsid = '
|
741
|
+
getMessages(cfg) {
|
742
|
+
const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
|
563
743
|
return this._server.xrpc.method(nsid, cfg);
|
564
744
|
}
|
565
|
-
|
566
|
-
const nsid = '
|
745
|
+
leaveConvo(cfg) {
|
746
|
+
const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
|
567
747
|
return this._server.xrpc.method(nsid, cfg);
|
568
748
|
}
|
569
|
-
|
570
|
-
const nsid = '
|
749
|
+
listConvos(cfg) {
|
750
|
+
const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
|
571
751
|
return this._server.xrpc.method(nsid, cfg);
|
572
752
|
}
|
573
|
-
|
574
|
-
const nsid = '
|
753
|
+
muteConvo(cfg) {
|
754
|
+
const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
|
575
755
|
return this._server.xrpc.method(nsid, cfg);
|
576
756
|
}
|
577
|
-
|
578
|
-
const nsid = '
|
757
|
+
removeReaction(cfg) {
|
758
|
+
const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
|
579
759
|
return this._server.xrpc.method(nsid, cfg);
|
580
760
|
}
|
581
|
-
|
582
|
-
const nsid = '
|
761
|
+
sendMessage(cfg) {
|
762
|
+
const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
|
583
763
|
return this._server.xrpc.method(nsid, cfg);
|
584
764
|
}
|
585
|
-
|
586
|
-
const nsid = '
|
765
|
+
sendMessageBatch(cfg) {
|
766
|
+
const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
|
587
767
|
return this._server.xrpc.method(nsid, cfg);
|
588
768
|
}
|
589
|
-
|
590
|
-
const nsid = '
|
769
|
+
unmuteConvo(cfg) {
|
770
|
+
const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
|
591
771
|
return this._server.xrpc.method(nsid, cfg);
|
592
772
|
}
|
593
|
-
|
594
|
-
const nsid = '
|
773
|
+
updateAllRead(cfg) {
|
774
|
+
const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
|
595
775
|
return this._server.xrpc.method(nsid, cfg);
|
596
776
|
}
|
597
|
-
|
598
|
-
const nsid = '
|
599
|
-
return this._server.xrpc.
|
777
|
+
updateRead(cfg) {
|
778
|
+
const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
|
779
|
+
return this._server.xrpc.method(nsid, cfg);
|
600
780
|
}
|
601
781
|
}
|
602
|
-
exports.
|
603
|
-
class
|
782
|
+
exports.ChatBskyConvoNS = ChatBskyConvoNS;
|
783
|
+
class ChatBskyModerationNS {
|
604
784
|
constructor(server) {
|
605
785
|
Object.defineProperty(this, "_server", {
|
606
786
|
enumerable: true,
|
@@ -610,29 +790,21 @@ class ComAtprotoTempNS {
|
|
610
790
|
});
|
611
791
|
this._server = server;
|
612
792
|
}
|
613
|
-
|
614
|
-
const nsid = '
|
615
|
-
return this._server.xrpc.method(nsid, cfg);
|
616
|
-
}
|
617
|
-
checkHandleAvailability(cfg) {
|
618
|
-
const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
|
619
|
-
return this._server.xrpc.method(nsid, cfg);
|
620
|
-
}
|
621
|
-
checkSignupQueue(cfg) {
|
622
|
-
const nsid = 'com.atproto.temp.checkSignupQueue'; // @ts-ignore
|
793
|
+
getActorMetadata(cfg) {
|
794
|
+
const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
|
623
795
|
return this._server.xrpc.method(nsid, cfg);
|
624
796
|
}
|
625
|
-
|
626
|
-
const nsid = '
|
797
|
+
getMessageContext(cfg) {
|
798
|
+
const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
|
627
799
|
return this._server.xrpc.method(nsid, cfg);
|
628
800
|
}
|
629
|
-
|
630
|
-
const nsid = '
|
801
|
+
updateActorAccess(cfg) {
|
802
|
+
const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
|
631
803
|
return this._server.xrpc.method(nsid, cfg);
|
632
804
|
}
|
633
805
|
}
|
634
|
-
exports.
|
635
|
-
class
|
806
|
+
exports.ChatBskyModerationNS = ChatBskyModerationNS;
|
807
|
+
class ComNS {
|
636
808
|
constructor(server) {
|
637
809
|
Object.defineProperty(this, "_server", {
|
638
810
|
enumerable: true,
|
@@ -640,18 +812,18 @@ class AppNS {
|
|
640
812
|
writable: true,
|
641
813
|
value: void 0
|
642
814
|
});
|
643
|
-
Object.defineProperty(this, "
|
815
|
+
Object.defineProperty(this, "atproto", {
|
644
816
|
enumerable: true,
|
645
817
|
configurable: true,
|
646
818
|
writable: true,
|
647
819
|
value: void 0
|
648
820
|
});
|
649
821
|
this._server = server;
|
650
|
-
this.
|
822
|
+
this.atproto = new ComAtprotoNS(server);
|
651
823
|
}
|
652
824
|
}
|
653
|
-
exports.
|
654
|
-
class
|
825
|
+
exports.ComNS = ComNS;
|
826
|
+
class ComAtprotoNS {
|
655
827
|
constructor(server) {
|
656
828
|
Object.defineProperty(this, "_server", {
|
657
829
|
enumerable: true,
|
@@ -659,210 +831,74 @@ class AppBskyNS {
|
|
659
831
|
writable: true,
|
660
832
|
value: void 0
|
661
833
|
});
|
662
|
-
Object.defineProperty(this, "
|
663
|
-
enumerable: true,
|
664
|
-
configurable: true,
|
665
|
-
writable: true,
|
666
|
-
value: void 0
|
667
|
-
});
|
668
|
-
Object.defineProperty(this, "embed", {
|
669
|
-
enumerable: true,
|
670
|
-
configurable: true,
|
671
|
-
writable: true,
|
672
|
-
value: void 0
|
673
|
-
});
|
674
|
-
Object.defineProperty(this, "feed", {
|
675
|
-
enumerable: true,
|
676
|
-
configurable: true,
|
677
|
-
writable: true,
|
678
|
-
value: void 0
|
679
|
-
});
|
680
|
-
Object.defineProperty(this, "graph", {
|
681
|
-
enumerable: true,
|
682
|
-
configurable: true,
|
683
|
-
writable: true,
|
684
|
-
value: void 0
|
685
|
-
});
|
686
|
-
Object.defineProperty(this, "labeler", {
|
834
|
+
Object.defineProperty(this, "admin", {
|
687
835
|
enumerable: true,
|
688
836
|
configurable: true,
|
689
837
|
writable: true,
|
690
838
|
value: void 0
|
691
839
|
});
|
692
|
-
Object.defineProperty(this, "
|
840
|
+
Object.defineProperty(this, "identity", {
|
693
841
|
enumerable: true,
|
694
842
|
configurable: true,
|
695
843
|
writable: true,
|
696
844
|
value: void 0
|
697
845
|
});
|
698
|
-
Object.defineProperty(this, "
|
846
|
+
Object.defineProperty(this, "label", {
|
699
847
|
enumerable: true,
|
700
848
|
configurable: true,
|
701
849
|
writable: true,
|
702
850
|
value: void 0
|
703
851
|
});
|
704
|
-
Object.defineProperty(this, "
|
852
|
+
Object.defineProperty(this, "lexicon", {
|
705
853
|
enumerable: true,
|
706
854
|
configurable: true,
|
707
855
|
writable: true,
|
708
856
|
value: void 0
|
709
857
|
});
|
710
|
-
Object.defineProperty(this, "
|
858
|
+
Object.defineProperty(this, "moderation", {
|
711
859
|
enumerable: true,
|
712
860
|
configurable: true,
|
713
861
|
writable: true,
|
714
862
|
value: void 0
|
715
863
|
});
|
716
|
-
this
|
717
|
-
this.actor = new AppBskyActorNS(server);
|
718
|
-
this.embed = new AppBskyEmbedNS(server);
|
719
|
-
this.feed = new AppBskyFeedNS(server);
|
720
|
-
this.graph = new AppBskyGraphNS(server);
|
721
|
-
this.labeler = new AppBskyLabelerNS(server);
|
722
|
-
this.notification = new AppBskyNotificationNS(server);
|
723
|
-
this.richtext = new AppBskyRichtextNS(server);
|
724
|
-
this.unspecced = new AppBskyUnspeccedNS(server);
|
725
|
-
this.video = new AppBskyVideoNS(server);
|
726
|
-
}
|
727
|
-
}
|
728
|
-
exports.AppBskyNS = AppBskyNS;
|
729
|
-
class AppBskyActorNS {
|
730
|
-
constructor(server) {
|
731
|
-
Object.defineProperty(this, "_server", {
|
864
|
+
Object.defineProperty(this, "repo", {
|
732
865
|
enumerable: true,
|
733
866
|
configurable: true,
|
734
867
|
writable: true,
|
735
868
|
value: void 0
|
736
869
|
});
|
737
|
-
this
|
738
|
-
}
|
739
|
-
getPreferences(cfg) {
|
740
|
-
const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
|
741
|
-
return this._server.xrpc.method(nsid, cfg);
|
742
|
-
}
|
743
|
-
getProfile(cfg) {
|
744
|
-
const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
|
745
|
-
return this._server.xrpc.method(nsid, cfg);
|
746
|
-
}
|
747
|
-
getProfiles(cfg) {
|
748
|
-
const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
|
749
|
-
return this._server.xrpc.method(nsid, cfg);
|
750
|
-
}
|
751
|
-
getSuggestions(cfg) {
|
752
|
-
const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
|
753
|
-
return this._server.xrpc.method(nsid, cfg);
|
754
|
-
}
|
755
|
-
putPreferences(cfg) {
|
756
|
-
const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
|
757
|
-
return this._server.xrpc.method(nsid, cfg);
|
758
|
-
}
|
759
|
-
searchActors(cfg) {
|
760
|
-
const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
|
761
|
-
return this._server.xrpc.method(nsid, cfg);
|
762
|
-
}
|
763
|
-
searchActorsTypeahead(cfg) {
|
764
|
-
const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
|
765
|
-
return this._server.xrpc.method(nsid, cfg);
|
766
|
-
}
|
767
|
-
}
|
768
|
-
exports.AppBskyActorNS = AppBskyActorNS;
|
769
|
-
class AppBskyEmbedNS {
|
770
|
-
constructor(server) {
|
771
|
-
Object.defineProperty(this, "_server", {
|
870
|
+
Object.defineProperty(this, "server", {
|
772
871
|
enumerable: true,
|
773
872
|
configurable: true,
|
774
873
|
writable: true,
|
775
874
|
value: void 0
|
776
875
|
});
|
777
|
-
this
|
778
|
-
}
|
779
|
-
}
|
780
|
-
exports.AppBskyEmbedNS = AppBskyEmbedNS;
|
781
|
-
class AppBskyFeedNS {
|
782
|
-
constructor(server) {
|
783
|
-
Object.defineProperty(this, "_server", {
|
876
|
+
Object.defineProperty(this, "sync", {
|
784
877
|
enumerable: true,
|
785
878
|
configurable: true,
|
786
879
|
writable: true,
|
787
|
-
value: void 0
|
788
|
-
});
|
789
|
-
this
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
return this._server.xrpc.method(nsid, cfg);
|
806
|
-
}
|
807
|
-
getFeed(cfg) {
|
808
|
-
const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
|
809
|
-
return this._server.xrpc.method(nsid, cfg);
|
810
|
-
}
|
811
|
-
getFeedGenerator(cfg) {
|
812
|
-
const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
|
813
|
-
return this._server.xrpc.method(nsid, cfg);
|
814
|
-
}
|
815
|
-
getFeedGenerators(cfg) {
|
816
|
-
const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
|
817
|
-
return this._server.xrpc.method(nsid, cfg);
|
818
|
-
}
|
819
|
-
getFeedSkeleton(cfg) {
|
820
|
-
const nsid = 'app.bsky.feed.getFeedSkeleton'; // @ts-ignore
|
821
|
-
return this._server.xrpc.method(nsid, cfg);
|
822
|
-
}
|
823
|
-
getLikes(cfg) {
|
824
|
-
const nsid = 'app.bsky.feed.getLikes'; // @ts-ignore
|
825
|
-
return this._server.xrpc.method(nsid, cfg);
|
826
|
-
}
|
827
|
-
getListFeed(cfg) {
|
828
|
-
const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
|
829
|
-
return this._server.xrpc.method(nsid, cfg);
|
830
|
-
}
|
831
|
-
getPostThread(cfg) {
|
832
|
-
const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
|
833
|
-
return this._server.xrpc.method(nsid, cfg);
|
834
|
-
}
|
835
|
-
getPosts(cfg) {
|
836
|
-
const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
|
837
|
-
return this._server.xrpc.method(nsid, cfg);
|
838
|
-
}
|
839
|
-
getQuotes(cfg) {
|
840
|
-
const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
|
841
|
-
return this._server.xrpc.method(nsid, cfg);
|
842
|
-
}
|
843
|
-
getRepostedBy(cfg) {
|
844
|
-
const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
|
845
|
-
return this._server.xrpc.method(nsid, cfg);
|
846
|
-
}
|
847
|
-
getSuggestedFeeds(cfg) {
|
848
|
-
const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
|
849
|
-
return this._server.xrpc.method(nsid, cfg);
|
850
|
-
}
|
851
|
-
getTimeline(cfg) {
|
852
|
-
const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
|
853
|
-
return this._server.xrpc.method(nsid, cfg);
|
854
|
-
}
|
855
|
-
searchPosts(cfg) {
|
856
|
-
const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
|
857
|
-
return this._server.xrpc.method(nsid, cfg);
|
858
|
-
}
|
859
|
-
sendInteractions(cfg) {
|
860
|
-
const nsid = 'app.bsky.feed.sendInteractions'; // @ts-ignore
|
861
|
-
return this._server.xrpc.method(nsid, cfg);
|
880
|
+
value: void 0
|
881
|
+
});
|
882
|
+
Object.defineProperty(this, "temp", {
|
883
|
+
enumerable: true,
|
884
|
+
configurable: true,
|
885
|
+
writable: true,
|
886
|
+
value: void 0
|
887
|
+
});
|
888
|
+
this._server = server;
|
889
|
+
this.admin = new ComAtprotoAdminNS(server);
|
890
|
+
this.identity = new ComAtprotoIdentityNS(server);
|
891
|
+
this.label = new ComAtprotoLabelNS(server);
|
892
|
+
this.lexicon = new ComAtprotoLexiconNS(server);
|
893
|
+
this.moderation = new ComAtprotoModerationNS(server);
|
894
|
+
this.repo = new ComAtprotoRepoNS(server);
|
895
|
+
this.server = new ComAtprotoServerNS(server);
|
896
|
+
this.sync = new ComAtprotoSyncNS(server);
|
897
|
+
this.temp = new ComAtprotoTempNS(server);
|
862
898
|
}
|
863
899
|
}
|
864
|
-
exports.
|
865
|
-
class
|
900
|
+
exports.ComAtprotoNS = ComAtprotoNS;
|
901
|
+
class ComAtprotoAdminNS {
|
866
902
|
constructor(server) {
|
867
903
|
Object.defineProperty(this, "_server", {
|
868
904
|
enumerable: true,
|
@@ -872,101 +908,117 @@ class AppBskyGraphNS {
|
|
872
908
|
});
|
873
909
|
this._server = server;
|
874
910
|
}
|
875
|
-
|
876
|
-
const nsid = '
|
911
|
+
deleteAccount(cfg) {
|
912
|
+
const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
|
877
913
|
return this._server.xrpc.method(nsid, cfg);
|
878
914
|
}
|
879
|
-
|
880
|
-
const nsid = '
|
915
|
+
disableAccountInvites(cfg) {
|
916
|
+
const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
|
881
917
|
return this._server.xrpc.method(nsid, cfg);
|
882
918
|
}
|
883
|
-
|
884
|
-
const nsid = '
|
919
|
+
disableInviteCodes(cfg) {
|
920
|
+
const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
|
885
921
|
return this._server.xrpc.method(nsid, cfg);
|
886
922
|
}
|
887
|
-
|
888
|
-
const nsid = '
|
923
|
+
enableAccountInvites(cfg) {
|
924
|
+
const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
|
889
925
|
return this._server.xrpc.method(nsid, cfg);
|
890
926
|
}
|
891
|
-
|
892
|
-
const nsid = '
|
927
|
+
getAccountInfo(cfg) {
|
928
|
+
const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
|
893
929
|
return this._server.xrpc.method(nsid, cfg);
|
894
930
|
}
|
895
|
-
|
896
|
-
const nsid = '
|
931
|
+
getAccountInfos(cfg) {
|
932
|
+
const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
|
897
933
|
return this._server.xrpc.method(nsid, cfg);
|
898
934
|
}
|
899
|
-
|
900
|
-
const nsid = '
|
935
|
+
getInviteCodes(cfg) {
|
936
|
+
const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
|
901
937
|
return this._server.xrpc.method(nsid, cfg);
|
902
938
|
}
|
903
|
-
|
904
|
-
const nsid = '
|
939
|
+
getSubjectStatus(cfg) {
|
940
|
+
const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
|
905
941
|
return this._server.xrpc.method(nsid, cfg);
|
906
942
|
}
|
907
|
-
|
908
|
-
const nsid = '
|
943
|
+
searchAccounts(cfg) {
|
944
|
+
const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
|
909
945
|
return this._server.xrpc.method(nsid, cfg);
|
910
946
|
}
|
911
|
-
|
912
|
-
const nsid = '
|
947
|
+
sendEmail(cfg) {
|
948
|
+
const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
|
913
949
|
return this._server.xrpc.method(nsid, cfg);
|
914
950
|
}
|
915
|
-
|
916
|
-
const nsid = '
|
951
|
+
updateAccountEmail(cfg) {
|
952
|
+
const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
|
917
953
|
return this._server.xrpc.method(nsid, cfg);
|
918
954
|
}
|
919
|
-
|
920
|
-
const nsid = '
|
955
|
+
updateAccountHandle(cfg) {
|
956
|
+
const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
|
921
957
|
return this._server.xrpc.method(nsid, cfg);
|
922
958
|
}
|
923
|
-
|
924
|
-
const nsid = '
|
959
|
+
updateAccountPassword(cfg) {
|
960
|
+
const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
|
925
961
|
return this._server.xrpc.method(nsid, cfg);
|
926
962
|
}
|
927
|
-
|
928
|
-
const nsid = '
|
963
|
+
updateAccountSigningKey(cfg) {
|
964
|
+
const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
|
929
965
|
return this._server.xrpc.method(nsid, cfg);
|
930
966
|
}
|
931
|
-
|
932
|
-
const nsid = '
|
967
|
+
updateSubjectStatus(cfg) {
|
968
|
+
const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
|
933
969
|
return this._server.xrpc.method(nsid, cfg);
|
934
970
|
}
|
935
|
-
|
936
|
-
|
971
|
+
}
|
972
|
+
exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
|
973
|
+
class ComAtprotoIdentityNS {
|
974
|
+
constructor(server) {
|
975
|
+
Object.defineProperty(this, "_server", {
|
976
|
+
enumerable: true,
|
977
|
+
configurable: true,
|
978
|
+
writable: true,
|
979
|
+
value: void 0
|
980
|
+
});
|
981
|
+
this._server = server;
|
982
|
+
}
|
983
|
+
getRecommendedDidCredentials(cfg) {
|
984
|
+
const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
|
937
985
|
return this._server.xrpc.method(nsid, cfg);
|
938
986
|
}
|
939
|
-
|
940
|
-
const nsid = '
|
987
|
+
refreshIdentity(cfg) {
|
988
|
+
const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
|
941
989
|
return this._server.xrpc.method(nsid, cfg);
|
942
990
|
}
|
943
|
-
|
944
|
-
const nsid = '
|
991
|
+
requestPlcOperationSignature(cfg) {
|
992
|
+
const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
|
945
993
|
return this._server.xrpc.method(nsid, cfg);
|
946
994
|
}
|
947
|
-
|
948
|
-
const nsid = '
|
995
|
+
resolveDid(cfg) {
|
996
|
+
const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
|
949
997
|
return this._server.xrpc.method(nsid, cfg);
|
950
998
|
}
|
951
|
-
|
952
|
-
const nsid = '
|
999
|
+
resolveHandle(cfg) {
|
1000
|
+
const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
|
953
1001
|
return this._server.xrpc.method(nsid, cfg);
|
954
1002
|
}
|
955
|
-
|
956
|
-
const nsid = '
|
1003
|
+
resolveIdentity(cfg) {
|
1004
|
+
const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
|
957
1005
|
return this._server.xrpc.method(nsid, cfg);
|
958
1006
|
}
|
959
|
-
|
960
|
-
const nsid = '
|
1007
|
+
signPlcOperation(cfg) {
|
1008
|
+
const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
|
961
1009
|
return this._server.xrpc.method(nsid, cfg);
|
962
1010
|
}
|
963
|
-
|
964
|
-
const nsid = '
|
1011
|
+
submitPlcOperation(cfg) {
|
1012
|
+
const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
|
1013
|
+
return this._server.xrpc.method(nsid, cfg);
|
1014
|
+
}
|
1015
|
+
updateHandle(cfg) {
|
1016
|
+
const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
|
965
1017
|
return this._server.xrpc.method(nsid, cfg);
|
966
1018
|
}
|
967
1019
|
}
|
968
|
-
exports.
|
969
|
-
class
|
1020
|
+
exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
|
1021
|
+
class ComAtprotoLabelNS {
|
970
1022
|
constructor(server) {
|
971
1023
|
Object.defineProperty(this, "_server", {
|
972
1024
|
enumerable: true,
|
@@ -976,13 +1028,17 @@ class AppBskyLabelerNS {
|
|
976
1028
|
});
|
977
1029
|
this._server = server;
|
978
1030
|
}
|
979
|
-
|
980
|
-
const nsid = '
|
1031
|
+
queryLabels(cfg) {
|
1032
|
+
const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
|
981
1033
|
return this._server.xrpc.method(nsid, cfg);
|
982
1034
|
}
|
1035
|
+
subscribeLabels(cfg) {
|
1036
|
+
const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
|
1037
|
+
return this._server.xrpc.streamMethod(nsid, cfg);
|
1038
|
+
}
|
983
1039
|
}
|
984
|
-
exports.
|
985
|
-
class
|
1040
|
+
exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
|
1041
|
+
class ComAtprotoLexiconNS {
|
986
1042
|
constructor(server) {
|
987
1043
|
Object.defineProperty(this, "_server", {
|
988
1044
|
enumerable: true,
|
@@ -992,61 +1048,77 @@ class AppBskyNotificationNS {
|
|
992
1048
|
});
|
993
1049
|
this._server = server;
|
994
1050
|
}
|
995
|
-
|
996
|
-
|
1051
|
+
}
|
1052
|
+
exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
|
1053
|
+
class ComAtprotoModerationNS {
|
1054
|
+
constructor(server) {
|
1055
|
+
Object.defineProperty(this, "_server", {
|
1056
|
+
enumerable: true,
|
1057
|
+
configurable: true,
|
1058
|
+
writable: true,
|
1059
|
+
value: void 0
|
1060
|
+
});
|
1061
|
+
this._server = server;
|
1062
|
+
}
|
1063
|
+
createReport(cfg) {
|
1064
|
+
const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
|
997
1065
|
return this._server.xrpc.method(nsid, cfg);
|
998
1066
|
}
|
999
|
-
|
1000
|
-
|
1067
|
+
}
|
1068
|
+
exports.ComAtprotoModerationNS = ComAtprotoModerationNS;
|
1069
|
+
class ComAtprotoRepoNS {
|
1070
|
+
constructor(server) {
|
1071
|
+
Object.defineProperty(this, "_server", {
|
1072
|
+
enumerable: true,
|
1073
|
+
configurable: true,
|
1074
|
+
writable: true,
|
1075
|
+
value: void 0
|
1076
|
+
});
|
1077
|
+
this._server = server;
|
1078
|
+
}
|
1079
|
+
applyWrites(cfg) {
|
1080
|
+
const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
|
1001
1081
|
return this._server.xrpc.method(nsid, cfg);
|
1002
1082
|
}
|
1003
|
-
|
1004
|
-
const nsid = '
|
1083
|
+
createRecord(cfg) {
|
1084
|
+
const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
|
1005
1085
|
return this._server.xrpc.method(nsid, cfg);
|
1006
1086
|
}
|
1007
|
-
|
1008
|
-
const nsid = '
|
1087
|
+
deleteRecord(cfg) {
|
1088
|
+
const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
|
1009
1089
|
return this._server.xrpc.method(nsid, cfg);
|
1010
1090
|
}
|
1011
|
-
|
1012
|
-
const nsid = '
|
1091
|
+
describeRepo(cfg) {
|
1092
|
+
const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
|
1013
1093
|
return this._server.xrpc.method(nsid, cfg);
|
1014
1094
|
}
|
1015
|
-
|
1016
|
-
const nsid = '
|
1095
|
+
getRecord(cfg) {
|
1096
|
+
const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
|
1017
1097
|
return this._server.xrpc.method(nsid, cfg);
|
1018
1098
|
}
|
1019
|
-
|
1020
|
-
const nsid = '
|
1099
|
+
importRepo(cfg) {
|
1100
|
+
const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
|
1021
1101
|
return this._server.xrpc.method(nsid, cfg);
|
1022
1102
|
}
|
1023
|
-
|
1024
|
-
const nsid = '
|
1103
|
+
listMissingBlobs(cfg) {
|
1104
|
+
const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
|
1025
1105
|
return this._server.xrpc.method(nsid, cfg);
|
1026
1106
|
}
|
1027
|
-
|
1028
|
-
const nsid = '
|
1107
|
+
listRecords(cfg) {
|
1108
|
+
const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
|
1029
1109
|
return this._server.xrpc.method(nsid, cfg);
|
1030
1110
|
}
|
1031
|
-
|
1032
|
-
const nsid = '
|
1111
|
+
putRecord(cfg) {
|
1112
|
+
const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
|
1033
1113
|
return this._server.xrpc.method(nsid, cfg);
|
1034
1114
|
}
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
constructor(server) {
|
1039
|
-
Object.defineProperty(this, "_server", {
|
1040
|
-
enumerable: true,
|
1041
|
-
configurable: true,
|
1042
|
-
writable: true,
|
1043
|
-
value: void 0
|
1044
|
-
});
|
1045
|
-
this._server = server;
|
1115
|
+
uploadBlob(cfg) {
|
1116
|
+
const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
|
1117
|
+
return this._server.xrpc.method(nsid, cfg);
|
1046
1118
|
}
|
1047
1119
|
}
|
1048
|
-
exports.
|
1049
|
-
class
|
1120
|
+
exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
|
1121
|
+
class ComAtprotoServerNS {
|
1050
1122
|
constructor(server) {
|
1051
1123
|
Object.defineProperty(this, "_server", {
|
1052
1124
|
enumerable: true,
|
@@ -1056,185 +1128,109 @@ class AppBskyUnspeccedNS {
|
|
1056
1128
|
});
|
1057
1129
|
this._server = server;
|
1058
1130
|
}
|
1059
|
-
|
1060
|
-
const nsid = '
|
1061
|
-
return this._server.xrpc.method(nsid, cfg);
|
1062
|
-
}
|
1063
|
-
getConfig(cfg) {
|
1064
|
-
const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
|
1065
|
-
return this._server.xrpc.method(nsid, cfg);
|
1066
|
-
}
|
1067
|
-
getPopularFeedGenerators(cfg) {
|
1068
|
-
const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
|
1069
|
-
return this._server.xrpc.method(nsid, cfg);
|
1070
|
-
}
|
1071
|
-
getPostThreadOtherV2(cfg) {
|
1072
|
-
const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
|
1073
|
-
return this._server.xrpc.method(nsid, cfg);
|
1074
|
-
}
|
1075
|
-
getPostThreadV2(cfg) {
|
1076
|
-
const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
|
1131
|
+
activateAccount(cfg) {
|
1132
|
+
const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
|
1077
1133
|
return this._server.xrpc.method(nsid, cfg);
|
1078
1134
|
}
|
1079
|
-
|
1080
|
-
const nsid = '
|
1135
|
+
checkAccountStatus(cfg) {
|
1136
|
+
const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
|
1081
1137
|
return this._server.xrpc.method(nsid, cfg);
|
1082
1138
|
}
|
1083
|
-
|
1084
|
-
const nsid = '
|
1139
|
+
confirmEmail(cfg) {
|
1140
|
+
const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
|
1085
1141
|
return this._server.xrpc.method(nsid, cfg);
|
1086
1142
|
}
|
1087
|
-
|
1088
|
-
const nsid = '
|
1143
|
+
createAccount(cfg) {
|
1144
|
+
const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
|
1089
1145
|
return this._server.xrpc.method(nsid, cfg);
|
1090
1146
|
}
|
1091
|
-
|
1092
|
-
const nsid = '
|
1147
|
+
createAppPassword(cfg) {
|
1148
|
+
const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
|
1093
1149
|
return this._server.xrpc.method(nsid, cfg);
|
1094
1150
|
}
|
1095
|
-
|
1096
|
-
const nsid = '
|
1151
|
+
createInviteCode(cfg) {
|
1152
|
+
const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
|
1097
1153
|
return this._server.xrpc.method(nsid, cfg);
|
1098
1154
|
}
|
1099
|
-
|
1100
|
-
const nsid = '
|
1155
|
+
createInviteCodes(cfg) {
|
1156
|
+
const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
|
1101
1157
|
return this._server.xrpc.method(nsid, cfg);
|
1102
1158
|
}
|
1103
|
-
|
1104
|
-
const nsid = '
|
1159
|
+
createSession(cfg) {
|
1160
|
+
const nsid = 'com.atproto.server.createSession'; // @ts-ignore
|
1105
1161
|
return this._server.xrpc.method(nsid, cfg);
|
1106
1162
|
}
|
1107
|
-
|
1108
|
-
const nsid = '
|
1163
|
+
deactivateAccount(cfg) {
|
1164
|
+
const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
|
1109
1165
|
return this._server.xrpc.method(nsid, cfg);
|
1110
1166
|
}
|
1111
|
-
|
1112
|
-
const nsid = '
|
1167
|
+
deleteAccount(cfg) {
|
1168
|
+
const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
|
1113
1169
|
return this._server.xrpc.method(nsid, cfg);
|
1114
1170
|
}
|
1115
|
-
|
1116
|
-
const nsid = '
|
1171
|
+
deleteSession(cfg) {
|
1172
|
+
const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
|
1117
1173
|
return this._server.xrpc.method(nsid, cfg);
|
1118
1174
|
}
|
1119
|
-
|
1120
|
-
const nsid = '
|
1175
|
+
describeServer(cfg) {
|
1176
|
+
const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
|
1121
1177
|
return this._server.xrpc.method(nsid, cfg);
|
1122
1178
|
}
|
1123
|
-
|
1124
|
-
const nsid = '
|
1179
|
+
getAccountInviteCodes(cfg) {
|
1180
|
+
const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
|
1125
1181
|
return this._server.xrpc.method(nsid, cfg);
|
1126
1182
|
}
|
1127
|
-
|
1128
|
-
const nsid = '
|
1183
|
+
getServiceAuth(cfg) {
|
1184
|
+
const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
|
1129
1185
|
return this._server.xrpc.method(nsid, cfg);
|
1130
1186
|
}
|
1131
|
-
|
1132
|
-
const nsid = '
|
1187
|
+
getSession(cfg) {
|
1188
|
+
const nsid = 'com.atproto.server.getSession'; // @ts-ignore
|
1133
1189
|
return this._server.xrpc.method(nsid, cfg);
|
1134
1190
|
}
|
1135
|
-
|
1136
|
-
const nsid = '
|
1191
|
+
listAppPasswords(cfg) {
|
1192
|
+
const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
|
1137
1193
|
return this._server.xrpc.method(nsid, cfg);
|
1138
1194
|
}
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
constructor(server) {
|
1143
|
-
Object.defineProperty(this, "_server", {
|
1144
|
-
enumerable: true,
|
1145
|
-
configurable: true,
|
1146
|
-
writable: true,
|
1147
|
-
value: void 0
|
1148
|
-
});
|
1149
|
-
this._server = server;
|
1195
|
+
refreshSession(cfg) {
|
1196
|
+
const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
|
1197
|
+
return this._server.xrpc.method(nsid, cfg);
|
1150
1198
|
}
|
1151
|
-
|
1152
|
-
const nsid = '
|
1199
|
+
requestAccountDelete(cfg) {
|
1200
|
+
const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
|
1153
1201
|
return this._server.xrpc.method(nsid, cfg);
|
1154
1202
|
}
|
1155
|
-
|
1156
|
-
const nsid = '
|
1203
|
+
requestEmailConfirmation(cfg) {
|
1204
|
+
const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
|
1157
1205
|
return this._server.xrpc.method(nsid, cfg);
|
1158
1206
|
}
|
1159
|
-
|
1160
|
-
const nsid = '
|
1207
|
+
requestEmailUpdate(cfg) {
|
1208
|
+
const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
|
1161
1209
|
return this._server.xrpc.method(nsid, cfg);
|
1162
1210
|
}
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
constructor(server) {
|
1167
|
-
Object.defineProperty(this, "_server", {
|
1168
|
-
enumerable: true,
|
1169
|
-
configurable: true,
|
1170
|
-
writable: true,
|
1171
|
-
value: void 0
|
1172
|
-
});
|
1173
|
-
Object.defineProperty(this, "bsky", {
|
1174
|
-
enumerable: true,
|
1175
|
-
configurable: true,
|
1176
|
-
writable: true,
|
1177
|
-
value: void 0
|
1178
|
-
});
|
1179
|
-
this._server = server;
|
1180
|
-
this.bsky = new ChatBskyNS(server);
|
1211
|
+
requestPasswordReset(cfg) {
|
1212
|
+
const nsid = 'com.atproto.server.requestPasswordReset'; // @ts-ignore
|
1213
|
+
return this._server.xrpc.method(nsid, cfg);
|
1181
1214
|
}
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
constructor(server) {
|
1186
|
-
Object.defineProperty(this, "_server", {
|
1187
|
-
enumerable: true,
|
1188
|
-
configurable: true,
|
1189
|
-
writable: true,
|
1190
|
-
value: void 0
|
1191
|
-
});
|
1192
|
-
Object.defineProperty(this, "actor", {
|
1193
|
-
enumerable: true,
|
1194
|
-
configurable: true,
|
1195
|
-
writable: true,
|
1196
|
-
value: void 0
|
1197
|
-
});
|
1198
|
-
Object.defineProperty(this, "convo", {
|
1199
|
-
enumerable: true,
|
1200
|
-
configurable: true,
|
1201
|
-
writable: true,
|
1202
|
-
value: void 0
|
1203
|
-
});
|
1204
|
-
Object.defineProperty(this, "moderation", {
|
1205
|
-
enumerable: true,
|
1206
|
-
configurable: true,
|
1207
|
-
writable: true,
|
1208
|
-
value: void 0
|
1209
|
-
});
|
1210
|
-
this._server = server;
|
1211
|
-
this.actor = new ChatBskyActorNS(server);
|
1212
|
-
this.convo = new ChatBskyConvoNS(server);
|
1213
|
-
this.moderation = new ChatBskyModerationNS(server);
|
1215
|
+
reserveSigningKey(cfg) {
|
1216
|
+
const nsid = 'com.atproto.server.reserveSigningKey'; // @ts-ignore
|
1217
|
+
return this._server.xrpc.method(nsid, cfg);
|
1214
1218
|
}
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
constructor(server) {
|
1219
|
-
Object.defineProperty(this, "_server", {
|
1220
|
-
enumerable: true,
|
1221
|
-
configurable: true,
|
1222
|
-
writable: true,
|
1223
|
-
value: void 0
|
1224
|
-
});
|
1225
|
-
this._server = server;
|
1219
|
+
resetPassword(cfg) {
|
1220
|
+
const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
|
1221
|
+
return this._server.xrpc.method(nsid, cfg);
|
1226
1222
|
}
|
1227
|
-
|
1228
|
-
const nsid = '
|
1223
|
+
revokeAppPassword(cfg) {
|
1224
|
+
const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
|
1229
1225
|
return this._server.xrpc.method(nsid, cfg);
|
1230
1226
|
}
|
1231
|
-
|
1232
|
-
const nsid = '
|
1227
|
+
updateEmail(cfg) {
|
1228
|
+
const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
|
1233
1229
|
return this._server.xrpc.method(nsid, cfg);
|
1234
1230
|
}
|
1235
1231
|
}
|
1236
|
-
exports.
|
1237
|
-
class
|
1232
|
+
exports.ComAtprotoServerNS = ComAtprotoServerNS;
|
1233
|
+
class ComAtprotoSyncNS {
|
1238
1234
|
constructor(server) {
|
1239
1235
|
Object.defineProperty(this, "_server", {
|
1240
1236
|
enumerable: true,
|
@@ -1244,77 +1240,73 @@ class ChatBskyConvoNS {
|
|
1244
1240
|
});
|
1245
1241
|
this._server = server;
|
1246
1242
|
}
|
1247
|
-
|
1248
|
-
const nsid = '
|
1249
|
-
return this._server.xrpc.method(nsid, cfg);
|
1250
|
-
}
|
1251
|
-
addReaction(cfg) {
|
1252
|
-
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
1243
|
+
getBlob(cfg) {
|
1244
|
+
const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
|
1253
1245
|
return this._server.xrpc.method(nsid, cfg);
|
1254
1246
|
}
|
1255
|
-
|
1256
|
-
const nsid = '
|
1247
|
+
getBlocks(cfg) {
|
1248
|
+
const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
|
1257
1249
|
return this._server.xrpc.method(nsid, cfg);
|
1258
1250
|
}
|
1259
|
-
|
1260
|
-
const nsid = '
|
1251
|
+
getCheckout(cfg) {
|
1252
|
+
const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
|
1261
1253
|
return this._server.xrpc.method(nsid, cfg);
|
1262
1254
|
}
|
1263
|
-
|
1264
|
-
const nsid = '
|
1255
|
+
getHead(cfg) {
|
1256
|
+
const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
|
1265
1257
|
return this._server.xrpc.method(nsid, cfg);
|
1266
1258
|
}
|
1267
|
-
|
1268
|
-
const nsid = '
|
1259
|
+
getHostStatus(cfg) {
|
1260
|
+
const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
|
1269
1261
|
return this._server.xrpc.method(nsid, cfg);
|
1270
1262
|
}
|
1271
|
-
|
1272
|
-
const nsid = '
|
1263
|
+
getLatestCommit(cfg) {
|
1264
|
+
const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
|
1273
1265
|
return this._server.xrpc.method(nsid, cfg);
|
1274
1266
|
}
|
1275
|
-
|
1276
|
-
const nsid = '
|
1267
|
+
getRecord(cfg) {
|
1268
|
+
const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
|
1277
1269
|
return this._server.xrpc.method(nsid, cfg);
|
1278
1270
|
}
|
1279
|
-
|
1280
|
-
const nsid = '
|
1271
|
+
getRepo(cfg) {
|
1272
|
+
const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
|
1281
1273
|
return this._server.xrpc.method(nsid, cfg);
|
1282
1274
|
}
|
1283
|
-
|
1284
|
-
const nsid = '
|
1275
|
+
getRepoStatus(cfg) {
|
1276
|
+
const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
|
1285
1277
|
return this._server.xrpc.method(nsid, cfg);
|
1286
1278
|
}
|
1287
|
-
|
1288
|
-
const nsid = '
|
1279
|
+
listBlobs(cfg) {
|
1280
|
+
const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
|
1289
1281
|
return this._server.xrpc.method(nsid, cfg);
|
1290
1282
|
}
|
1291
|
-
|
1292
|
-
const nsid = '
|
1283
|
+
listHosts(cfg) {
|
1284
|
+
const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
|
1293
1285
|
return this._server.xrpc.method(nsid, cfg);
|
1294
1286
|
}
|
1295
|
-
|
1296
|
-
const nsid = '
|
1287
|
+
listRepos(cfg) {
|
1288
|
+
const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
|
1297
1289
|
return this._server.xrpc.method(nsid, cfg);
|
1298
1290
|
}
|
1299
|
-
|
1300
|
-
const nsid = '
|
1291
|
+
listReposByCollection(cfg) {
|
1292
|
+
const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
|
1301
1293
|
return this._server.xrpc.method(nsid, cfg);
|
1302
1294
|
}
|
1303
|
-
|
1304
|
-
const nsid = '
|
1295
|
+
notifyOfUpdate(cfg) {
|
1296
|
+
const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
|
1305
1297
|
return this._server.xrpc.method(nsid, cfg);
|
1306
1298
|
}
|
1307
|
-
|
1308
|
-
const nsid = '
|
1299
|
+
requestCrawl(cfg) {
|
1300
|
+
const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
|
1309
1301
|
return this._server.xrpc.method(nsid, cfg);
|
1310
1302
|
}
|
1311
|
-
|
1312
|
-
const nsid = '
|
1313
|
-
return this._server.xrpc.
|
1303
|
+
subscribeRepos(cfg) {
|
1304
|
+
const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
|
1305
|
+
return this._server.xrpc.streamMethod(nsid, cfg);
|
1314
1306
|
}
|
1315
1307
|
}
|
1316
|
-
exports.
|
1317
|
-
class
|
1308
|
+
exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
|
1309
|
+
class ComAtprotoTempNS {
|
1318
1310
|
constructor(server) {
|
1319
1311
|
Object.defineProperty(this, "_server", {
|
1320
1312
|
enumerable: true,
|
@@ -1324,20 +1316,28 @@ class ChatBskyModerationNS {
|
|
1324
1316
|
});
|
1325
1317
|
this._server = server;
|
1326
1318
|
}
|
1327
|
-
|
1328
|
-
const nsid = '
|
1319
|
+
addReservedHandle(cfg) {
|
1320
|
+
const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
|
1329
1321
|
return this._server.xrpc.method(nsid, cfg);
|
1330
1322
|
}
|
1331
|
-
|
1332
|
-
const nsid = '
|
1323
|
+
checkHandleAvailability(cfg) {
|
1324
|
+
const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
|
1333
1325
|
return this._server.xrpc.method(nsid, cfg);
|
1334
1326
|
}
|
1335
|
-
|
1336
|
-
const nsid = '
|
1327
|
+
checkSignupQueue(cfg) {
|
1328
|
+
const nsid = 'com.atproto.temp.checkSignupQueue'; // @ts-ignore
|
1329
|
+
return this._server.xrpc.method(nsid, cfg);
|
1330
|
+
}
|
1331
|
+
fetchLabels(cfg) {
|
1332
|
+
const nsid = 'com.atproto.temp.fetchLabels'; // @ts-ignore
|
1333
|
+
return this._server.xrpc.method(nsid, cfg);
|
1334
|
+
}
|
1335
|
+
requestPhoneVerification(cfg) {
|
1336
|
+
const nsid = 'com.atproto.temp.requestPhoneVerification'; // @ts-ignore
|
1337
1337
|
return this._server.xrpc.method(nsid, cfg);
|
1338
1338
|
}
|
1339
1339
|
}
|
1340
|
-
exports.
|
1340
|
+
exports.ComAtprotoTempNS = ComAtprotoTempNS;
|
1341
1341
|
class ToolsNS {
|
1342
1342
|
constructor(server) {
|
1343
1343
|
Object.defineProperty(this, "_server", {
|