@atproto/pds 0.4.164 → 0.4.166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/account-manager/account-manager.js +2 -2
- package/dist/account-manager/account-manager.js.map +1 -1
- package/dist/account-manager/helpers/account-device.d.ts +4 -4
- package/dist/account-manager/helpers/account.d.ts +1 -1
- package/dist/account-manager/helpers/auth.d.ts +1 -1
- package/dist/account-manager/helpers/auth.d.ts.map +1 -1
- package/dist/account-manager/helpers/auth.js +8 -8
- package/dist/account-manager/helpers/auth.js.map +1 -1
- package/dist/account-manager/helpers/authorization-request.d.ts +1 -1
- package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
- package/dist/account-manager/helpers/authorization-request.js +16 -8
- package/dist/account-manager/helpers/authorization-request.js.map +1 -1
- package/dist/account-manager/helpers/token.d.ts +65 -65
- package/dist/actor-store/preference/reader.d.ts +2 -2
- package/dist/actor-store/preference/reader.d.ts.map +1 -1
- package/dist/actor-store/preference/reader.js +2 -2
- package/dist/actor-store/preference/reader.js.map +1 -1
- package/dist/actor-store/preference/transactor.d.ts +2 -2
- package/dist/actor-store/preference/transactor.d.ts.map +1 -1
- package/dist/actor-store/preference/transactor.js +5 -5
- package/dist/actor-store/preference/transactor.js.map +1 -1
- package/dist/actor-store/preference/util.d.ts +4 -2
- package/dist/actor-store/preference/util.d.ts.map +1 -1
- package/dist/actor-store/preference/util.js +9 -8
- package/dist/actor-store/preference/util.js.map +1 -1
- package/dist/actor-store/record/reader.d.ts +2 -2
- package/dist/api/app/bsky/actor/getPreferences.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getPreferences.js +29 -7
- package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.js +9 -1
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +9 -1
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js +30 -8
- package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +9 -1
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +9 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +8 -1
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +8 -1
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +9 -1
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.js +16 -4
- package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js +5 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +9 -2
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.js +9 -1
- package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js +5 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js +6 -1
- package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/api/com/atproto/moderation/createReport.d.ts.map +1 -1
- package/dist/api/com/atproto/moderation/createReport.js +8 -3
- package/dist/api/com/atproto/moderation/createReport.js.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.js +25 -19
- package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.js +10 -1
- package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.js +12 -1
- package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +7 -2
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.js +6 -2
- package/dist/api/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js +17 -11
- package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.js +5 -1
- package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.js +7 -1
- package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.js +5 -1
- package/dist/api/com/atproto/server/checkAccountStatus.js.map +1 -1
- package/dist/api/com/atproto/server/confirmEmail.d.ts.map +1 -1
- package/dist/api/com/atproto/server/confirmEmail.js +6 -1
- package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.js +7 -1
- package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.js +9 -2
- package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deleteSession.js +3 -1
- package/dist/api/com/atproto/server/deleteSession.js.map +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.js +8 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.js +24 -13
- package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getSession.js +12 -19
- package/dist/api/com/atproto/server/getSession.js.map +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.d.ts.map +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.js +6 -1
- package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.js +1 -1
- package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js +8 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js +6 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.js +6 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js +6 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.js +8 -1
- package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.js +7 -2
- package/dist/api/com/atproto/sync/deprecated/getCheckout.js.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.js +7 -2
- package/dist/api/com/atproto/sync/deprecated/getHead.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.js +7 -3
- package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getBlocks.js +7 -2
- package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.js +7 -2
- package/dist/api/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.js +7 -2
- package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.js +7 -3
- package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/api/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/listBlobs.js +7 -3
- package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.js +7 -3
- package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
- package/dist/auth-output.d.ts +45 -0
- package/dist/auth-output.d.ts.map +1 -0
- package/dist/auth-output.js +3 -0
- package/dist/auth-output.js.map +1 -0
- package/dist/auth-scope.d.ts +16 -0
- package/dist/auth-scope.d.ts.map +1 -0
- package/dist/auth-scope.js +40 -0
- package/dist/auth-scope.js.map +1 -0
- package/dist/auth-verifier.d.ts +50 -115
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +275 -366
- package/dist/auth-verifier.js.map +1 -1
- package/dist/config/config.d.ts +2 -1
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +2 -1
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +3 -1
- package/dist/config/env.js.map +1 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +5 -5
- package/dist/context.js.map +1 -1
- package/dist/lexicon/index.d.ts +234 -230
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +682 -674
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +17994 -17706
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +9126 -8980
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getLists.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/graph/getLists.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.js +16 -0
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.d.ts +38 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.js +16 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -0
- package/dist/pipethrough.d.ts +5 -3
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +42 -15
- package/dist/pipethrough.js.map +1 -1
- package/dist/sequencer/events.d.ts +13 -13
- package/dist/util/http.d.ts +7 -0
- package/dist/util/http.d.ts.map +1 -0
- package/dist/util/http.js +31 -0
- package/dist/util/http.js.map +1 -0
- package/dist/util/types.d.ts +5 -0
- package/dist/util/types.d.ts.map +1 -0
- package/dist/util/types.js +3 -0
- package/dist/util/types.js.map +1 -0
- package/package.json +7 -6
- package/src/account-manager/account-manager.ts +1 -1
- package/src/account-manager/helpers/auth.ts +1 -1
- package/src/account-manager/helpers/authorization-request.ts +8 -4
- package/src/actor-store/preference/reader.ts +3 -4
- package/src/actor-store/preference/transactor.ts +6 -7
- package/src/actor-store/preference/util.ts +15 -5
- package/src/api/app/bsky/actor/getPreferences.ts +33 -8
- package/src/api/app/bsky/actor/getProfile.ts +9 -1
- package/src/api/app/bsky/actor/getProfiles.ts +9 -1
- package/src/api/app/bsky/actor/putPreferences.ts +35 -12
- package/src/api/app/bsky/feed/getActorLikes.ts +9 -1
- package/src/api/app/bsky/feed/getAuthorFeed.ts +9 -1
- package/src/api/app/bsky/feed/getFeed.ts +9 -2
- package/src/api/app/bsky/feed/getPostThread.ts +8 -1
- package/src/api/app/bsky/feed/getTimeline.ts +9 -1
- package/src/api/app/bsky/notification/registerPush.ts +16 -5
- package/src/api/com/atproto/identity/getRecommendedDidCredentials.ts +5 -1
- package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +9 -2
- package/src/api/com/atproto/identity/signPlcOperation.ts +9 -1
- package/src/api/com/atproto/identity/submitPlcOperation.ts +5 -1
- package/src/api/com/atproto/identity/updateHandle.ts +6 -1
- package/src/api/com/atproto/moderation/createReport.ts +8 -3
- package/src/api/com/atproto/repo/applyWrites.ts +28 -20
- package/src/api/com/atproto/repo/createRecord.ts +12 -1
- package/src/api/com/atproto/repo/deleteRecord.ts +14 -1
- package/src/api/com/atproto/repo/importRepo.ts +9 -2
- package/src/api/com/atproto/repo/listMissingBlobs.ts +7 -2
- package/src/api/com/atproto/repo/putRecord.ts +18 -10
- package/src/api/com/atproto/repo/uploadBlob.ts +6 -2
- package/src/api/com/atproto/server/activateAccount.ts +10 -2
- package/src/api/com/atproto/server/checkAccountStatus.ts +5 -1
- package/src/api/com/atproto/server/confirmEmail.ts +6 -1
- package/src/api/com/atproto/server/createAppPassword.ts +9 -1
- package/src/api/com/atproto/server/deactivateAccount.ts +11 -2
- package/src/api/com/atproto/server/deleteSession.ts +3 -1
- package/src/api/com/atproto/server/getAccountInviteCodes.ts +11 -2
- package/src/api/com/atproto/server/getServiceAuth.ts +37 -18
- package/src/api/com/atproto/server/getSession.ts +20 -27
- package/src/api/com/atproto/server/listAppPasswords.ts +8 -1
- package/src/api/com/atproto/server/refreshSession.ts +1 -1
- package/src/api/com/atproto/server/requestAccountDelete.ts +11 -2
- package/src/api/com/atproto/server/requestEmailConfirmation.ts +6 -1
- package/src/api/com/atproto/server/requestEmailUpdate.ts +6 -1
- package/src/api/com/atproto/server/revokeAppPassword.ts +8 -1
- package/src/api/com/atproto/server/updateEmail.ts +11 -2
- package/src/api/com/atproto/sync/deprecated/getCheckout.ts +7 -6
- package/src/api/com/atproto/sync/deprecated/getHead.ts +7 -6
- package/src/api/com/atproto/sync/getBlob.ts +7 -7
- package/src/api/com/atproto/sync/getBlocks.ts +7 -6
- package/src/api/com/atproto/sync/getLatestCommit.ts +7 -6
- package/src/api/com/atproto/sync/getRecord.ts +7 -6
- package/src/api/com/atproto/sync/getRepo.ts +7 -7
- package/src/api/com/atproto/sync/listBlobs.ts +7 -7
- package/src/api/com/atproto/temp/checkSignupQueue.ts +8 -2
- package/src/auth-output.ts +51 -0
- package/src/auth-scope.ts +40 -0
- package/src/auth-verifier.ts +404 -520
- package/src/config/config.ts +7 -7
- package/src/config/env.ts +5 -1
- package/src/context.ts +6 -5
- package/src/lexicon/index.ts +1247 -1221
- package/src/lexicon/lexicons.ts +9494 -9341
- package/src/lexicon/types/app/bsky/graph/getLists.ts +2 -0
- package/src/lexicon/types/app/bsky/graph/getListsWithMembership.ts +63 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.ts +65 -0
- package/src/pipethrough.ts +61 -18
- package/src/util/http.ts +31 -0
- package/src/util/types.ts +7 -0
- package/tests/oauth.test.ts +11 -37
- package/tests/preferences.test.ts +7 -3
- package/tsconfig.build.tsbuildinfo +1 -1
package/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,209 +338,181 @@ 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
359
|
return this._server.xrpc.method(nsid, cfg);
|
360
360
|
}
|
361
|
-
|
362
|
-
|
363
|
-
class ComAtprotoRepoNS {
|
364
|
-
constructor(server) {
|
365
|
-
Object.defineProperty(this, "_server", {
|
366
|
-
enumerable: true,
|
367
|
-
configurable: true,
|
368
|
-
writable: true,
|
369
|
-
value: void 0
|
370
|
-
});
|
371
|
-
this._server = server;
|
372
|
-
}
|
373
|
-
applyWrites(cfg) {
|
374
|
-
const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
|
375
|
-
return this._server.xrpc.method(nsid, cfg);
|
376
|
-
}
|
377
|
-
createRecord(cfg) {
|
378
|
-
const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
|
379
|
-
return this._server.xrpc.method(nsid, cfg);
|
380
|
-
}
|
381
|
-
deleteRecord(cfg) {
|
382
|
-
const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
|
383
|
-
return this._server.xrpc.method(nsid, cfg);
|
384
|
-
}
|
385
|
-
describeRepo(cfg) {
|
386
|
-
const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
|
361
|
+
getList(cfg) {
|
362
|
+
const nsid = 'app.bsky.graph.getList'; // @ts-ignore
|
387
363
|
return this._server.xrpc.method(nsid, cfg);
|
388
364
|
}
|
389
|
-
|
390
|
-
const nsid = '
|
365
|
+
getListBlocks(cfg) {
|
366
|
+
const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
|
391
367
|
return this._server.xrpc.method(nsid, cfg);
|
392
368
|
}
|
393
|
-
|
394
|
-
const nsid = '
|
369
|
+
getListMutes(cfg) {
|
370
|
+
const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
|
395
371
|
return this._server.xrpc.method(nsid, cfg);
|
396
372
|
}
|
397
|
-
|
398
|
-
const nsid = '
|
373
|
+
getLists(cfg) {
|
374
|
+
const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
|
399
375
|
return this._server.xrpc.method(nsid, cfg);
|
400
376
|
}
|
401
|
-
|
402
|
-
const nsid = '
|
377
|
+
getListsWithMembership(cfg) {
|
378
|
+
const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
|
403
379
|
return this._server.xrpc.method(nsid, cfg);
|
404
380
|
}
|
405
|
-
|
406
|
-
const nsid = '
|
381
|
+
getMutes(cfg) {
|
382
|
+
const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
|
407
383
|
return this._server.xrpc.method(nsid, cfg);
|
408
384
|
}
|
409
|
-
|
410
|
-
const nsid = '
|
385
|
+
getRelationships(cfg) {
|
386
|
+
const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
|
411
387
|
return this._server.xrpc.method(nsid, cfg);
|
412
388
|
}
|
413
|
-
|
414
|
-
|
415
|
-
class ComAtprotoServerNS {
|
416
|
-
constructor(server) {
|
417
|
-
Object.defineProperty(this, "_server", {
|
418
|
-
enumerable: true,
|
419
|
-
configurable: true,
|
420
|
-
writable: true,
|
421
|
-
value: void 0
|
422
|
-
});
|
423
|
-
this._server = server;
|
424
|
-
}
|
425
|
-
activateAccount(cfg) {
|
426
|
-
const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
|
389
|
+
getStarterPack(cfg) {
|
390
|
+
const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
|
427
391
|
return this._server.xrpc.method(nsid, cfg);
|
428
392
|
}
|
429
|
-
|
430
|
-
const nsid = '
|
393
|
+
getStarterPacks(cfg) {
|
394
|
+
const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
|
431
395
|
return this._server.xrpc.method(nsid, cfg);
|
432
396
|
}
|
433
|
-
|
434
|
-
const nsid = '
|
397
|
+
getStarterPacksWithMembership(cfg) {
|
398
|
+
const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
|
435
399
|
return this._server.xrpc.method(nsid, cfg);
|
436
400
|
}
|
437
|
-
|
438
|
-
const nsid = '
|
401
|
+
getSuggestedFollowsByActor(cfg) {
|
402
|
+
const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
|
439
403
|
return this._server.xrpc.method(nsid, cfg);
|
440
404
|
}
|
441
|
-
|
442
|
-
const nsid = '
|
405
|
+
muteActor(cfg) {
|
406
|
+
const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
|
443
407
|
return this._server.xrpc.method(nsid, cfg);
|
444
408
|
}
|
445
|
-
|
446
|
-
const nsid = '
|
409
|
+
muteActorList(cfg) {
|
410
|
+
const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
|
447
411
|
return this._server.xrpc.method(nsid, cfg);
|
448
412
|
}
|
449
|
-
|
450
|
-
const nsid = '
|
413
|
+
muteThread(cfg) {
|
414
|
+
const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
|
451
415
|
return this._server.xrpc.method(nsid, cfg);
|
452
416
|
}
|
453
|
-
|
454
|
-
const nsid = '
|
417
|
+
searchStarterPacks(cfg) {
|
418
|
+
const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
|
455
419
|
return this._server.xrpc.method(nsid, cfg);
|
456
420
|
}
|
457
|
-
|
458
|
-
const nsid = '
|
421
|
+
unmuteActor(cfg) {
|
422
|
+
const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
|
459
423
|
return this._server.xrpc.method(nsid, cfg);
|
460
424
|
}
|
461
|
-
|
462
|
-
const nsid = '
|
425
|
+
unmuteActorList(cfg) {
|
426
|
+
const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
|
463
427
|
return this._server.xrpc.method(nsid, cfg);
|
464
428
|
}
|
465
|
-
|
466
|
-
const nsid = '
|
429
|
+
unmuteThread(cfg) {
|
430
|
+
const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
|
467
431
|
return this._server.xrpc.method(nsid, cfg);
|
468
432
|
}
|
469
|
-
|
470
|
-
|
471
|
-
|
433
|
+
}
|
434
|
+
exports.AppBskyGraphNS = AppBskyGraphNS;
|
435
|
+
class AppBskyLabelerNS {
|
436
|
+
constructor(server) {
|
437
|
+
Object.defineProperty(this, "_server", {
|
438
|
+
enumerable: true,
|
439
|
+
configurable: true,
|
440
|
+
writable: true,
|
441
|
+
value: void 0
|
442
|
+
});
|
443
|
+
this._server = server;
|
472
444
|
}
|
473
|
-
|
474
|
-
const nsid = '
|
445
|
+
getServices(cfg) {
|
446
|
+
const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
|
475
447
|
return this._server.xrpc.method(nsid, cfg);
|
476
448
|
}
|
477
|
-
|
478
|
-
|
479
|
-
|
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;
|
480
460
|
}
|
481
|
-
|
482
|
-
const nsid = '
|
461
|
+
getPreferences(cfg) {
|
462
|
+
const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
|
483
463
|
return this._server.xrpc.method(nsid, cfg);
|
484
464
|
}
|
485
|
-
|
486
|
-
const nsid = '
|
465
|
+
getUnreadCount(cfg) {
|
466
|
+
const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
|
487
467
|
return this._server.xrpc.method(nsid, cfg);
|
488
468
|
}
|
489
|
-
|
490
|
-
const nsid = '
|
469
|
+
listActivitySubscriptions(cfg) {
|
470
|
+
const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
|
491
471
|
return this._server.xrpc.method(nsid, cfg);
|
492
472
|
}
|
493
|
-
|
494
|
-
const nsid = '
|
473
|
+
listNotifications(cfg) {
|
474
|
+
const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
|
495
475
|
return this._server.xrpc.method(nsid, cfg);
|
496
476
|
}
|
497
|
-
|
498
|
-
const nsid = '
|
477
|
+
putActivitySubscription(cfg) {
|
478
|
+
const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
|
499
479
|
return this._server.xrpc.method(nsid, cfg);
|
500
480
|
}
|
501
|
-
|
502
|
-
const nsid = '
|
481
|
+
putPreferences(cfg) {
|
482
|
+
const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
|
503
483
|
return this._server.xrpc.method(nsid, cfg);
|
504
484
|
}
|
505
|
-
|
506
|
-
const nsid = '
|
485
|
+
putPreferencesV2(cfg) {
|
486
|
+
const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
|
507
487
|
return this._server.xrpc.method(nsid, cfg);
|
508
488
|
}
|
509
|
-
|
510
|
-
const nsid = '
|
489
|
+
registerPush(cfg) {
|
490
|
+
const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
|
511
491
|
return this._server.xrpc.method(nsid, cfg);
|
512
492
|
}
|
513
|
-
|
514
|
-
const nsid = '
|
493
|
+
unregisterPush(cfg) {
|
494
|
+
const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
|
515
495
|
return this._server.xrpc.method(nsid, cfg);
|
516
496
|
}
|
517
|
-
|
518
|
-
const nsid = '
|
497
|
+
updateSeen(cfg) {
|
498
|
+
const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
|
519
499
|
return this._server.xrpc.method(nsid, cfg);
|
520
500
|
}
|
521
|
-
|
522
|
-
|
523
|
-
|
501
|
+
}
|
502
|
+
exports.AppBskyNotificationNS = AppBskyNotificationNS;
|
503
|
+
class AppBskyRichtextNS {
|
504
|
+
constructor(server) {
|
505
|
+
Object.defineProperty(this, "_server", {
|
506
|
+
enumerable: true,
|
507
|
+
configurable: true,
|
508
|
+
writable: true,
|
509
|
+
value: void 0
|
510
|
+
});
|
511
|
+
this._server = server;
|
524
512
|
}
|
525
513
|
}
|
526
|
-
exports.
|
527
|
-
class
|
514
|
+
exports.AppBskyRichtextNS = AppBskyRichtextNS;
|
515
|
+
class AppBskyUnspeccedNS {
|
528
516
|
constructor(server) {
|
529
517
|
Object.defineProperty(this, "_server", {
|
530
518
|
enumerable: true,
|
@@ -534,73 +522,89 @@ class ComAtprotoSyncNS {
|
|
534
522
|
});
|
535
523
|
this._server = server;
|
536
524
|
}
|
537
|
-
|
538
|
-
const nsid = '
|
525
|
+
getAgeAssuranceState(cfg) {
|
526
|
+
const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
|
539
527
|
return this._server.xrpc.method(nsid, cfg);
|
540
528
|
}
|
541
|
-
|
542
|
-
const nsid = '
|
529
|
+
getConfig(cfg) {
|
530
|
+
const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
|
543
531
|
return this._server.xrpc.method(nsid, cfg);
|
544
532
|
}
|
545
|
-
|
546
|
-
const nsid = '
|
533
|
+
getPopularFeedGenerators(cfg) {
|
534
|
+
const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
|
547
535
|
return this._server.xrpc.method(nsid, cfg);
|
548
536
|
}
|
549
|
-
|
550
|
-
const nsid = '
|
537
|
+
getPostThreadOtherV2(cfg) {
|
538
|
+
const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
|
551
539
|
return this._server.xrpc.method(nsid, cfg);
|
552
540
|
}
|
553
|
-
|
554
|
-
const nsid = '
|
541
|
+
getPostThreadV2(cfg) {
|
542
|
+
const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
|
555
543
|
return this._server.xrpc.method(nsid, cfg);
|
556
544
|
}
|
557
|
-
|
558
|
-
const nsid = '
|
545
|
+
getSuggestedFeeds(cfg) {
|
546
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
|
559
547
|
return this._server.xrpc.method(nsid, cfg);
|
560
548
|
}
|
561
|
-
|
562
|
-
const nsid = '
|
549
|
+
getSuggestedFeedsSkeleton(cfg) {
|
550
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
|
563
551
|
return this._server.xrpc.method(nsid, cfg);
|
564
552
|
}
|
565
|
-
|
566
|
-
const nsid = '
|
553
|
+
getSuggestedStarterPacks(cfg) {
|
554
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
|
567
555
|
return this._server.xrpc.method(nsid, cfg);
|
568
556
|
}
|
569
|
-
|
570
|
-
const nsid = '
|
557
|
+
getSuggestedStarterPacksSkeleton(cfg) {
|
558
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
|
571
559
|
return this._server.xrpc.method(nsid, cfg);
|
572
560
|
}
|
573
|
-
|
574
|
-
const nsid = '
|
561
|
+
getSuggestedUsers(cfg) {
|
562
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
|
575
563
|
return this._server.xrpc.method(nsid, cfg);
|
576
564
|
}
|
577
|
-
|
578
|
-
const nsid = '
|
565
|
+
getSuggestedUsersSkeleton(cfg) {
|
566
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
|
579
567
|
return this._server.xrpc.method(nsid, cfg);
|
580
568
|
}
|
581
|
-
|
582
|
-
const nsid = '
|
569
|
+
getSuggestionsSkeleton(cfg) {
|
570
|
+
const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
|
583
571
|
return this._server.xrpc.method(nsid, cfg);
|
584
572
|
}
|
585
|
-
|
586
|
-
const nsid = '
|
573
|
+
getTaggedSuggestions(cfg) {
|
574
|
+
const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
|
587
575
|
return this._server.xrpc.method(nsid, cfg);
|
588
576
|
}
|
589
|
-
|
590
|
-
const nsid = '
|
577
|
+
getTrendingTopics(cfg) {
|
578
|
+
const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
|
591
579
|
return this._server.xrpc.method(nsid, cfg);
|
592
580
|
}
|
593
|
-
|
594
|
-
const nsid = '
|
581
|
+
getTrends(cfg) {
|
582
|
+
const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
|
595
583
|
return this._server.xrpc.method(nsid, cfg);
|
596
584
|
}
|
597
|
-
|
598
|
-
const nsid = '
|
599
|
-
return this._server.xrpc.
|
585
|
+
getTrendsSkeleton(cfg) {
|
586
|
+
const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
|
587
|
+
return this._server.xrpc.method(nsid, cfg);
|
588
|
+
}
|
589
|
+
initAgeAssurance(cfg) {
|
590
|
+
const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
|
591
|
+
return this._server.xrpc.method(nsid, cfg);
|
592
|
+
}
|
593
|
+
searchActorsSkeleton(cfg) {
|
594
|
+
const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
|
595
|
+
return this._server.xrpc.method(nsid, cfg);
|
596
|
+
}
|
597
|
+
searchPostsSkeleton(cfg) {
|
598
|
+
const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
|
599
|
+
return this._server.xrpc.method(nsid, cfg);
|
600
|
+
}
|
601
|
+
searchStarterPacksSkeleton(cfg) {
|
602
|
+
const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
|
603
|
+
return this._server.xrpc.method(nsid, cfg);
|
600
604
|
}
|
601
605
|
}
|
602
|
-
exports.
|
603
|
-
class
|
606
|
+
exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
|
607
|
+
class AppBskyVideoNS {
|
604
608
|
constructor(server) {
|
605
609
|
Object.defineProperty(this, "_server", {
|
606
610
|
enumerable: true,
|
@@ -610,29 +614,21 @@ class ComAtprotoTempNS {
|
|
610
614
|
});
|
611
615
|
this._server = server;
|
612
616
|
}
|
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
|
617
|
+
getJobStatus(cfg) {
|
618
|
+
const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
|
623
619
|
return this._server.xrpc.method(nsid, cfg);
|
624
620
|
}
|
625
|
-
|
626
|
-
const nsid = '
|
621
|
+
getUploadLimits(cfg) {
|
622
|
+
const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
|
627
623
|
return this._server.xrpc.method(nsid, cfg);
|
628
624
|
}
|
629
|
-
|
630
|
-
const nsid = '
|
625
|
+
uploadVideo(cfg) {
|
626
|
+
const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
|
631
627
|
return this._server.xrpc.method(nsid, cfg);
|
632
628
|
}
|
633
629
|
}
|
634
|
-
exports.
|
635
|
-
class
|
630
|
+
exports.AppBskyVideoNS = AppBskyVideoNS;
|
631
|
+
class ChatNS {
|
636
632
|
constructor(server) {
|
637
633
|
Object.defineProperty(this, "_server", {
|
638
634
|
enumerable: true,
|
@@ -647,11 +643,11 @@ class AppNS {
|
|
647
643
|
value: void 0
|
648
644
|
});
|
649
645
|
this._server = server;
|
650
|
-
this.bsky = new
|
646
|
+
this.bsky = new ChatBskyNS(server);
|
651
647
|
}
|
652
648
|
}
|
653
|
-
exports.
|
654
|
-
class
|
649
|
+
exports.ChatNS = ChatNS;
|
650
|
+
class ChatBskyNS {
|
655
651
|
constructor(server) {
|
656
652
|
Object.defineProperty(this, "_server", {
|
657
653
|
enumerable: true,
|
@@ -665,68 +661,26 @@ class AppBskyNS {
|
|
665
661
|
writable: true,
|
666
662
|
value: void 0
|
667
663
|
});
|
668
|
-
Object.defineProperty(this, "
|
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", {
|
687
|
-
enumerable: true,
|
688
|
-
configurable: true,
|
689
|
-
writable: true,
|
690
|
-
value: void 0
|
691
|
-
});
|
692
|
-
Object.defineProperty(this, "notification", {
|
693
|
-
enumerable: true,
|
694
|
-
configurable: true,
|
695
|
-
writable: true,
|
696
|
-
value: void 0
|
697
|
-
});
|
698
|
-
Object.defineProperty(this, "richtext", {
|
699
|
-
enumerable: true,
|
700
|
-
configurable: true,
|
701
|
-
writable: true,
|
702
|
-
value: void 0
|
703
|
-
});
|
704
|
-
Object.defineProperty(this, "unspecced", {
|
664
|
+
Object.defineProperty(this, "convo", {
|
705
665
|
enumerable: true,
|
706
666
|
configurable: true,
|
707
667
|
writable: true,
|
708
668
|
value: void 0
|
709
669
|
});
|
710
|
-
Object.defineProperty(this, "
|
670
|
+
Object.defineProperty(this, "moderation", {
|
711
671
|
enumerable: true,
|
712
672
|
configurable: true,
|
713
673
|
writable: true,
|
714
674
|
value: void 0
|
715
675
|
});
|
716
676
|
this._server = server;
|
717
|
-
this.actor = new
|
718
|
-
this.
|
719
|
-
this.
|
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);
|
677
|
+
this.actor = new ChatBskyActorNS(server);
|
678
|
+
this.convo = new ChatBskyConvoNS(server);
|
679
|
+
this.moderation = new ChatBskyModerationNS(server);
|
726
680
|
}
|
727
681
|
}
|
728
|
-
exports.
|
729
|
-
class
|
682
|
+
exports.ChatBskyNS = ChatBskyNS;
|
683
|
+
class ChatBskyActorNS {
|
730
684
|
constructor(server) {
|
731
685
|
Object.defineProperty(this, "_server", {
|
732
686
|
enumerable: true,
|
@@ -736,49 +690,17 @@ class AppBskyActorNS {
|
|
736
690
|
});
|
737
691
|
this._server = server;
|
738
692
|
}
|
739
|
-
|
740
|
-
const nsid = '
|
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
|
693
|
+
deleteAccount(cfg) {
|
694
|
+
const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
|
761
695
|
return this._server.xrpc.method(nsid, cfg);
|
762
696
|
}
|
763
|
-
|
764
|
-
const nsid = '
|
697
|
+
exportAccountData(cfg) {
|
698
|
+
const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
|
765
699
|
return this._server.xrpc.method(nsid, cfg);
|
766
700
|
}
|
767
701
|
}
|
768
|
-
exports.
|
769
|
-
class
|
770
|
-
constructor(server) {
|
771
|
-
Object.defineProperty(this, "_server", {
|
772
|
-
enumerable: true,
|
773
|
-
configurable: true,
|
774
|
-
writable: true,
|
775
|
-
value: void 0
|
776
|
-
});
|
777
|
-
this._server = server;
|
778
|
-
}
|
779
|
-
}
|
780
|
-
exports.AppBskyEmbedNS = AppBskyEmbedNS;
|
781
|
-
class AppBskyFeedNS {
|
702
|
+
exports.ChatBskyActorNS = ChatBskyActorNS;
|
703
|
+
class ChatBskyConvoNS {
|
782
704
|
constructor(server) {
|
783
705
|
Object.defineProperty(this, "_server", {
|
784
706
|
enumerable: true,
|
@@ -788,81 +710,77 @@ class AppBskyFeedNS {
|
|
788
710
|
});
|
789
711
|
this._server = server;
|
790
712
|
}
|
791
|
-
|
792
|
-
const nsid = '
|
793
|
-
return this._server.xrpc.method(nsid, cfg);
|
794
|
-
}
|
795
|
-
getActorFeeds(cfg) {
|
796
|
-
const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
|
713
|
+
acceptConvo(cfg) {
|
714
|
+
const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
|
797
715
|
return this._server.xrpc.method(nsid, cfg);
|
798
716
|
}
|
799
|
-
|
800
|
-
const nsid = '
|
717
|
+
addReaction(cfg) {
|
718
|
+
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
801
719
|
return this._server.xrpc.method(nsid, cfg);
|
802
720
|
}
|
803
|
-
|
804
|
-
const nsid = '
|
721
|
+
deleteMessageForSelf(cfg) {
|
722
|
+
const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
|
805
723
|
return this._server.xrpc.method(nsid, cfg);
|
806
724
|
}
|
807
|
-
|
808
|
-
const nsid = '
|
725
|
+
getConvo(cfg) {
|
726
|
+
const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
|
809
727
|
return this._server.xrpc.method(nsid, cfg);
|
810
728
|
}
|
811
|
-
|
812
|
-
const nsid = '
|
729
|
+
getConvoAvailability(cfg) {
|
730
|
+
const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
|
813
731
|
return this._server.xrpc.method(nsid, cfg);
|
814
732
|
}
|
815
|
-
|
816
|
-
const nsid = '
|
733
|
+
getConvoForMembers(cfg) {
|
734
|
+
const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
|
817
735
|
return this._server.xrpc.method(nsid, cfg);
|
818
736
|
}
|
819
|
-
|
820
|
-
const nsid = '
|
737
|
+
getLog(cfg) {
|
738
|
+
const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
|
821
739
|
return this._server.xrpc.method(nsid, cfg);
|
822
740
|
}
|
823
|
-
|
824
|
-
const nsid = '
|
741
|
+
getMessages(cfg) {
|
742
|
+
const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
|
825
743
|
return this._server.xrpc.method(nsid, cfg);
|
826
744
|
}
|
827
|
-
|
828
|
-
const nsid = '
|
745
|
+
leaveConvo(cfg) {
|
746
|
+
const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
|
829
747
|
return this._server.xrpc.method(nsid, cfg);
|
830
748
|
}
|
831
|
-
|
832
|
-
const nsid = '
|
749
|
+
listConvos(cfg) {
|
750
|
+
const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
|
833
751
|
return this._server.xrpc.method(nsid, cfg);
|
834
752
|
}
|
835
|
-
|
836
|
-
const nsid = '
|
753
|
+
muteConvo(cfg) {
|
754
|
+
const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
|
837
755
|
return this._server.xrpc.method(nsid, cfg);
|
838
756
|
}
|
839
|
-
|
840
|
-
const nsid = '
|
757
|
+
removeReaction(cfg) {
|
758
|
+
const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
|
841
759
|
return this._server.xrpc.method(nsid, cfg);
|
842
760
|
}
|
843
|
-
|
844
|
-
const nsid = '
|
761
|
+
sendMessage(cfg) {
|
762
|
+
const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
|
845
763
|
return this._server.xrpc.method(nsid, cfg);
|
846
764
|
}
|
847
|
-
|
848
|
-
const nsid = '
|
765
|
+
sendMessageBatch(cfg) {
|
766
|
+
const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
|
849
767
|
return this._server.xrpc.method(nsid, cfg);
|
850
768
|
}
|
851
|
-
|
852
|
-
const nsid = '
|
769
|
+
unmuteConvo(cfg) {
|
770
|
+
const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
|
853
771
|
return this._server.xrpc.method(nsid, cfg);
|
854
772
|
}
|
855
|
-
|
856
|
-
const nsid = '
|
773
|
+
updateAllRead(cfg) {
|
774
|
+
const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
|
857
775
|
return this._server.xrpc.method(nsid, cfg);
|
858
776
|
}
|
859
|
-
|
860
|
-
const nsid = '
|
777
|
+
updateRead(cfg) {
|
778
|
+
const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
|
861
779
|
return this._server.xrpc.method(nsid, cfg);
|
862
780
|
}
|
863
781
|
}
|
864
|
-
exports.
|
865
|
-
class
|
782
|
+
exports.ChatBskyConvoNS = ChatBskyConvoNS;
|
783
|
+
class ChatBskyModerationNS {
|
866
784
|
constructor(server) {
|
867
785
|
Object.defineProperty(this, "_server", {
|
868
786
|
enumerable: true,
|
@@ -872,109 +790,187 @@ class AppBskyGraphNS {
|
|
872
790
|
});
|
873
791
|
this._server = server;
|
874
792
|
}
|
875
|
-
|
876
|
-
const nsid = '
|
877
|
-
return this._server.xrpc.method(nsid, cfg);
|
878
|
-
}
|
879
|
-
getBlocks(cfg) {
|
880
|
-
const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
|
881
|
-
return this._server.xrpc.method(nsid, cfg);
|
882
|
-
}
|
883
|
-
getFollowers(cfg) {
|
884
|
-
const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
|
885
|
-
return this._server.xrpc.method(nsid, cfg);
|
886
|
-
}
|
887
|
-
getFollows(cfg) {
|
888
|
-
const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
|
793
|
+
getActorMetadata(cfg) {
|
794
|
+
const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
|
889
795
|
return this._server.xrpc.method(nsid, cfg);
|
890
796
|
}
|
891
|
-
|
892
|
-
const nsid = '
|
797
|
+
getMessageContext(cfg) {
|
798
|
+
const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
|
893
799
|
return this._server.xrpc.method(nsid, cfg);
|
894
800
|
}
|
895
|
-
|
896
|
-
const nsid = '
|
801
|
+
updateActorAccess(cfg) {
|
802
|
+
const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
|
897
803
|
return this._server.xrpc.method(nsid, cfg);
|
898
804
|
}
|
899
|
-
|
900
|
-
|
901
|
-
|
805
|
+
}
|
806
|
+
exports.ChatBskyModerationNS = ChatBskyModerationNS;
|
807
|
+
class ComNS {
|
808
|
+
constructor(server) {
|
809
|
+
Object.defineProperty(this, "_server", {
|
810
|
+
enumerable: true,
|
811
|
+
configurable: true,
|
812
|
+
writable: true,
|
813
|
+
value: void 0
|
814
|
+
});
|
815
|
+
Object.defineProperty(this, "atproto", {
|
816
|
+
enumerable: true,
|
817
|
+
configurable: true,
|
818
|
+
writable: true,
|
819
|
+
value: void 0
|
820
|
+
});
|
821
|
+
this._server = server;
|
822
|
+
this.atproto = new ComAtprotoNS(server);
|
902
823
|
}
|
903
|
-
|
904
|
-
|
905
|
-
|
824
|
+
}
|
825
|
+
exports.ComNS = ComNS;
|
826
|
+
class ComAtprotoNS {
|
827
|
+
constructor(server) {
|
828
|
+
Object.defineProperty(this, "_server", {
|
829
|
+
enumerable: true,
|
830
|
+
configurable: true,
|
831
|
+
writable: true,
|
832
|
+
value: void 0
|
833
|
+
});
|
834
|
+
Object.defineProperty(this, "admin", {
|
835
|
+
enumerable: true,
|
836
|
+
configurable: true,
|
837
|
+
writable: true,
|
838
|
+
value: void 0
|
839
|
+
});
|
840
|
+
Object.defineProperty(this, "identity", {
|
841
|
+
enumerable: true,
|
842
|
+
configurable: true,
|
843
|
+
writable: true,
|
844
|
+
value: void 0
|
845
|
+
});
|
846
|
+
Object.defineProperty(this, "label", {
|
847
|
+
enumerable: true,
|
848
|
+
configurable: true,
|
849
|
+
writable: true,
|
850
|
+
value: void 0
|
851
|
+
});
|
852
|
+
Object.defineProperty(this, "lexicon", {
|
853
|
+
enumerable: true,
|
854
|
+
configurable: true,
|
855
|
+
writable: true,
|
856
|
+
value: void 0
|
857
|
+
});
|
858
|
+
Object.defineProperty(this, "moderation", {
|
859
|
+
enumerable: true,
|
860
|
+
configurable: true,
|
861
|
+
writable: true,
|
862
|
+
value: void 0
|
863
|
+
});
|
864
|
+
Object.defineProperty(this, "repo", {
|
865
|
+
enumerable: true,
|
866
|
+
configurable: true,
|
867
|
+
writable: true,
|
868
|
+
value: void 0
|
869
|
+
});
|
870
|
+
Object.defineProperty(this, "server", {
|
871
|
+
enumerable: true,
|
872
|
+
configurable: true,
|
873
|
+
writable: true,
|
874
|
+
value: void 0
|
875
|
+
});
|
876
|
+
Object.defineProperty(this, "sync", {
|
877
|
+
enumerable: true,
|
878
|
+
configurable: true,
|
879
|
+
writable: true,
|
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);
|
906
898
|
}
|
907
|
-
|
908
|
-
|
899
|
+
}
|
900
|
+
exports.ComAtprotoNS = ComAtprotoNS;
|
901
|
+
class ComAtprotoAdminNS {
|
902
|
+
constructor(server) {
|
903
|
+
Object.defineProperty(this, "_server", {
|
904
|
+
enumerable: true,
|
905
|
+
configurable: true,
|
906
|
+
writable: true,
|
907
|
+
value: void 0
|
908
|
+
});
|
909
|
+
this._server = server;
|
910
|
+
}
|
911
|
+
deleteAccount(cfg) {
|
912
|
+
const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
|
909
913
|
return this._server.xrpc.method(nsid, cfg);
|
910
914
|
}
|
911
|
-
|
912
|
-
const nsid = '
|
915
|
+
disableAccountInvites(cfg) {
|
916
|
+
const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
|
913
917
|
return this._server.xrpc.method(nsid, cfg);
|
914
918
|
}
|
915
|
-
|
916
|
-
const nsid = '
|
919
|
+
disableInviteCodes(cfg) {
|
920
|
+
const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
|
917
921
|
return this._server.xrpc.method(nsid, cfg);
|
918
922
|
}
|
919
|
-
|
920
|
-
const nsid = '
|
923
|
+
enableAccountInvites(cfg) {
|
924
|
+
const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
|
921
925
|
return this._server.xrpc.method(nsid, cfg);
|
922
926
|
}
|
923
|
-
|
924
|
-
const nsid = '
|
927
|
+
getAccountInfo(cfg) {
|
928
|
+
const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
|
925
929
|
return this._server.xrpc.method(nsid, cfg);
|
926
930
|
}
|
927
|
-
|
928
|
-
const nsid = '
|
931
|
+
getAccountInfos(cfg) {
|
932
|
+
const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
|
929
933
|
return this._server.xrpc.method(nsid, cfg);
|
930
934
|
}
|
931
|
-
|
932
|
-
const nsid = '
|
935
|
+
getInviteCodes(cfg) {
|
936
|
+
const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
|
933
937
|
return this._server.xrpc.method(nsid, cfg);
|
934
938
|
}
|
935
|
-
|
936
|
-
const nsid = '
|
939
|
+
getSubjectStatus(cfg) {
|
940
|
+
const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
|
937
941
|
return this._server.xrpc.method(nsid, cfg);
|
938
942
|
}
|
939
|
-
|
940
|
-
const nsid = '
|
943
|
+
searchAccounts(cfg) {
|
944
|
+
const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
|
941
945
|
return this._server.xrpc.method(nsid, cfg);
|
942
946
|
}
|
943
|
-
|
944
|
-
const nsid = '
|
947
|
+
sendEmail(cfg) {
|
948
|
+
const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
|
945
949
|
return this._server.xrpc.method(nsid, cfg);
|
946
950
|
}
|
947
|
-
|
948
|
-
const nsid = '
|
951
|
+
updateAccountEmail(cfg) {
|
952
|
+
const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
|
949
953
|
return this._server.xrpc.method(nsid, cfg);
|
950
954
|
}
|
951
|
-
|
952
|
-
const nsid = '
|
955
|
+
updateAccountHandle(cfg) {
|
956
|
+
const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
|
953
957
|
return this._server.xrpc.method(nsid, cfg);
|
954
958
|
}
|
955
|
-
|
956
|
-
const nsid = '
|
959
|
+
updateAccountPassword(cfg) {
|
960
|
+
const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
|
957
961
|
return this._server.xrpc.method(nsid, cfg);
|
958
962
|
}
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
constructor(server) {
|
963
|
-
Object.defineProperty(this, "_server", {
|
964
|
-
enumerable: true,
|
965
|
-
configurable: true,
|
966
|
-
writable: true,
|
967
|
-
value: void 0
|
968
|
-
});
|
969
|
-
this._server = server;
|
963
|
+
updateAccountSigningKey(cfg) {
|
964
|
+
const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
|
965
|
+
return this._server.xrpc.method(nsid, cfg);
|
970
966
|
}
|
971
|
-
|
972
|
-
const nsid = '
|
967
|
+
updateSubjectStatus(cfg) {
|
968
|
+
const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
|
973
969
|
return this._server.xrpc.method(nsid, cfg);
|
974
970
|
}
|
975
971
|
}
|
976
|
-
exports.
|
977
|
-
class
|
972
|
+
exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
|
973
|
+
class ComAtprotoIdentityNS {
|
978
974
|
constructor(server) {
|
979
975
|
Object.defineProperty(this, "_server", {
|
980
976
|
enumerable: true,
|
@@ -984,49 +980,65 @@ class AppBskyNotificationNS {
|
|
984
980
|
});
|
985
981
|
this._server = server;
|
986
982
|
}
|
987
|
-
|
988
|
-
const nsid = '
|
983
|
+
getRecommendedDidCredentials(cfg) {
|
984
|
+
const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
|
989
985
|
return this._server.xrpc.method(nsid, cfg);
|
990
986
|
}
|
991
|
-
|
992
|
-
const nsid = '
|
987
|
+
refreshIdentity(cfg) {
|
988
|
+
const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
|
993
989
|
return this._server.xrpc.method(nsid, cfg);
|
994
990
|
}
|
995
|
-
|
996
|
-
const nsid = '
|
991
|
+
requestPlcOperationSignature(cfg) {
|
992
|
+
const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
|
997
993
|
return this._server.xrpc.method(nsid, cfg);
|
998
994
|
}
|
999
|
-
|
1000
|
-
const nsid = '
|
995
|
+
resolveDid(cfg) {
|
996
|
+
const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
|
1001
997
|
return this._server.xrpc.method(nsid, cfg);
|
1002
998
|
}
|
1003
|
-
|
1004
|
-
const nsid = '
|
999
|
+
resolveHandle(cfg) {
|
1000
|
+
const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
|
1005
1001
|
return this._server.xrpc.method(nsid, cfg);
|
1006
1002
|
}
|
1007
|
-
|
1008
|
-
const nsid = '
|
1003
|
+
resolveIdentity(cfg) {
|
1004
|
+
const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
|
1009
1005
|
return this._server.xrpc.method(nsid, cfg);
|
1010
1006
|
}
|
1011
|
-
|
1012
|
-
const nsid = '
|
1007
|
+
signPlcOperation(cfg) {
|
1008
|
+
const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
|
1013
1009
|
return this._server.xrpc.method(nsid, cfg);
|
1014
1010
|
}
|
1015
|
-
|
1016
|
-
const nsid = '
|
1011
|
+
submitPlcOperation(cfg) {
|
1012
|
+
const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
|
1017
1013
|
return this._server.xrpc.method(nsid, cfg);
|
1018
1014
|
}
|
1019
|
-
|
1020
|
-
const nsid = '
|
1015
|
+
updateHandle(cfg) {
|
1016
|
+
const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
|
1021
1017
|
return this._server.xrpc.method(nsid, cfg);
|
1022
1018
|
}
|
1023
|
-
|
1024
|
-
|
1019
|
+
}
|
1020
|
+
exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
|
1021
|
+
class ComAtprotoLabelNS {
|
1022
|
+
constructor(server) {
|
1023
|
+
Object.defineProperty(this, "_server", {
|
1024
|
+
enumerable: true,
|
1025
|
+
configurable: true,
|
1026
|
+
writable: true,
|
1027
|
+
value: void 0
|
1028
|
+
});
|
1029
|
+
this._server = server;
|
1030
|
+
}
|
1031
|
+
queryLabels(cfg) {
|
1032
|
+
const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
|
1025
1033
|
return this._server.xrpc.method(nsid, cfg);
|
1026
1034
|
}
|
1035
|
+
subscribeLabels(cfg) {
|
1036
|
+
const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
|
1037
|
+
return this._server.xrpc.streamMethod(nsid, cfg);
|
1038
|
+
}
|
1027
1039
|
}
|
1028
|
-
exports.
|
1029
|
-
class
|
1040
|
+
exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
|
1041
|
+
class ComAtprotoLexiconNS {
|
1030
1042
|
constructor(server) {
|
1031
1043
|
Object.defineProperty(this, "_server", {
|
1032
1044
|
enumerable: true,
|
@@ -1037,8 +1049,8 @@ class AppBskyRichtextNS {
|
|
1037
1049
|
this._server = server;
|
1038
1050
|
}
|
1039
1051
|
}
|
1040
|
-
exports.
|
1041
|
-
class
|
1052
|
+
exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
|
1053
|
+
class ComAtprotoModerationNS {
|
1042
1054
|
constructor(server) {
|
1043
1055
|
Object.defineProperty(this, "_server", {
|
1044
1056
|
enumerable: true,
|
@@ -1048,185 +1060,177 @@ class AppBskyUnspeccedNS {
|
|
1048
1060
|
});
|
1049
1061
|
this._server = server;
|
1050
1062
|
}
|
1051
|
-
|
1052
|
-
const nsid = '
|
1063
|
+
createReport(cfg) {
|
1064
|
+
const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
|
1053
1065
|
return this._server.xrpc.method(nsid, cfg);
|
1054
1066
|
}
|
1055
|
-
|
1056
|
-
|
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
|
1057
1081
|
return this._server.xrpc.method(nsid, cfg);
|
1058
1082
|
}
|
1059
|
-
|
1060
|
-
const nsid = '
|
1083
|
+
createRecord(cfg) {
|
1084
|
+
const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
|
1061
1085
|
return this._server.xrpc.method(nsid, cfg);
|
1062
1086
|
}
|
1063
|
-
|
1064
|
-
const nsid = '
|
1087
|
+
deleteRecord(cfg) {
|
1088
|
+
const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
|
1065
1089
|
return this._server.xrpc.method(nsid, cfg);
|
1066
1090
|
}
|
1067
|
-
|
1068
|
-
const nsid = '
|
1091
|
+
describeRepo(cfg) {
|
1092
|
+
const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
|
1069
1093
|
return this._server.xrpc.method(nsid, cfg);
|
1070
1094
|
}
|
1071
|
-
|
1072
|
-
const nsid = '
|
1095
|
+
getRecord(cfg) {
|
1096
|
+
const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
|
1073
1097
|
return this._server.xrpc.method(nsid, cfg);
|
1074
1098
|
}
|
1075
|
-
|
1076
|
-
const nsid = '
|
1099
|
+
importRepo(cfg) {
|
1100
|
+
const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
|
1101
|
+
return this._server.xrpc.method(nsid, cfg);
|
1102
|
+
}
|
1103
|
+
listMissingBlobs(cfg) {
|
1104
|
+
const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
|
1105
|
+
return this._server.xrpc.method(nsid, cfg);
|
1106
|
+
}
|
1107
|
+
listRecords(cfg) {
|
1108
|
+
const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
|
1109
|
+
return this._server.xrpc.method(nsid, cfg);
|
1110
|
+
}
|
1111
|
+
putRecord(cfg) {
|
1112
|
+
const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
|
1113
|
+
return this._server.xrpc.method(nsid, cfg);
|
1114
|
+
}
|
1115
|
+
uploadBlob(cfg) {
|
1116
|
+
const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
|
1117
|
+
return this._server.xrpc.method(nsid, cfg);
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
|
1121
|
+
class ComAtprotoServerNS {
|
1122
|
+
constructor(server) {
|
1123
|
+
Object.defineProperty(this, "_server", {
|
1124
|
+
enumerable: true,
|
1125
|
+
configurable: true,
|
1126
|
+
writable: true,
|
1127
|
+
value: void 0
|
1128
|
+
});
|
1129
|
+
this._server = server;
|
1130
|
+
}
|
1131
|
+
activateAccount(cfg) {
|
1132
|
+
const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
|
1133
|
+
return this._server.xrpc.method(nsid, cfg);
|
1134
|
+
}
|
1135
|
+
checkAccountStatus(cfg) {
|
1136
|
+
const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
|
1137
|
+
return this._server.xrpc.method(nsid, cfg);
|
1138
|
+
}
|
1139
|
+
confirmEmail(cfg) {
|
1140
|
+
const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
|
1077
1141
|
return this._server.xrpc.method(nsid, cfg);
|
1078
1142
|
}
|
1079
|
-
|
1080
|
-
const nsid = '
|
1143
|
+
createAccount(cfg) {
|
1144
|
+
const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
|
1081
1145
|
return this._server.xrpc.method(nsid, cfg);
|
1082
1146
|
}
|
1083
|
-
|
1084
|
-
const nsid = '
|
1147
|
+
createAppPassword(cfg) {
|
1148
|
+
const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
|
1085
1149
|
return this._server.xrpc.method(nsid, cfg);
|
1086
1150
|
}
|
1087
|
-
|
1088
|
-
const nsid = '
|
1151
|
+
createInviteCode(cfg) {
|
1152
|
+
const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
|
1089
1153
|
return this._server.xrpc.method(nsid, cfg);
|
1090
1154
|
}
|
1091
|
-
|
1092
|
-
const nsid = '
|
1155
|
+
createInviteCodes(cfg) {
|
1156
|
+
const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
|
1093
1157
|
return this._server.xrpc.method(nsid, cfg);
|
1094
1158
|
}
|
1095
|
-
|
1096
|
-
const nsid = '
|
1159
|
+
createSession(cfg) {
|
1160
|
+
const nsid = 'com.atproto.server.createSession'; // @ts-ignore
|
1097
1161
|
return this._server.xrpc.method(nsid, cfg);
|
1098
1162
|
}
|
1099
|
-
|
1100
|
-
const nsid = '
|
1163
|
+
deactivateAccount(cfg) {
|
1164
|
+
const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
|
1101
1165
|
return this._server.xrpc.method(nsid, cfg);
|
1102
1166
|
}
|
1103
|
-
|
1104
|
-
const nsid = '
|
1167
|
+
deleteAccount(cfg) {
|
1168
|
+
const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
|
1105
1169
|
return this._server.xrpc.method(nsid, cfg);
|
1106
1170
|
}
|
1107
|
-
|
1108
|
-
const nsid = '
|
1171
|
+
deleteSession(cfg) {
|
1172
|
+
const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
|
1109
1173
|
return this._server.xrpc.method(nsid, cfg);
|
1110
1174
|
}
|
1111
|
-
|
1112
|
-
const nsid = '
|
1175
|
+
describeServer(cfg) {
|
1176
|
+
const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
|
1113
1177
|
return this._server.xrpc.method(nsid, cfg);
|
1114
1178
|
}
|
1115
|
-
|
1116
|
-
const nsid = '
|
1179
|
+
getAccountInviteCodes(cfg) {
|
1180
|
+
const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
|
1117
1181
|
return this._server.xrpc.method(nsid, cfg);
|
1118
1182
|
}
|
1119
|
-
|
1120
|
-
const nsid = '
|
1183
|
+
getServiceAuth(cfg) {
|
1184
|
+
const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
|
1121
1185
|
return this._server.xrpc.method(nsid, cfg);
|
1122
1186
|
}
|
1123
|
-
|
1124
|
-
const nsid = '
|
1187
|
+
getSession(cfg) {
|
1188
|
+
const nsid = 'com.atproto.server.getSession'; // @ts-ignore
|
1125
1189
|
return this._server.xrpc.method(nsid, cfg);
|
1126
1190
|
}
|
1127
|
-
|
1128
|
-
const nsid = '
|
1191
|
+
listAppPasswords(cfg) {
|
1192
|
+
const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
|
1129
1193
|
return this._server.xrpc.method(nsid, cfg);
|
1130
1194
|
}
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
constructor(server) {
|
1135
|
-
Object.defineProperty(this, "_server", {
|
1136
|
-
enumerable: true,
|
1137
|
-
configurable: true,
|
1138
|
-
writable: true,
|
1139
|
-
value: void 0
|
1140
|
-
});
|
1141
|
-
this._server = server;
|
1195
|
+
refreshSession(cfg) {
|
1196
|
+
const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
|
1197
|
+
return this._server.xrpc.method(nsid, cfg);
|
1142
1198
|
}
|
1143
|
-
|
1144
|
-
const nsid = '
|
1199
|
+
requestAccountDelete(cfg) {
|
1200
|
+
const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
|
1145
1201
|
return this._server.xrpc.method(nsid, cfg);
|
1146
1202
|
}
|
1147
|
-
|
1148
|
-
const nsid = '
|
1203
|
+
requestEmailConfirmation(cfg) {
|
1204
|
+
const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
|
1149
1205
|
return this._server.xrpc.method(nsid, cfg);
|
1150
1206
|
}
|
1151
|
-
|
1152
|
-
const nsid = '
|
1207
|
+
requestEmailUpdate(cfg) {
|
1208
|
+
const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
|
1153
1209
|
return this._server.xrpc.method(nsid, cfg);
|
1154
1210
|
}
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
constructor(server) {
|
1159
|
-
Object.defineProperty(this, "_server", {
|
1160
|
-
enumerable: true,
|
1161
|
-
configurable: true,
|
1162
|
-
writable: true,
|
1163
|
-
value: void 0
|
1164
|
-
});
|
1165
|
-
Object.defineProperty(this, "bsky", {
|
1166
|
-
enumerable: true,
|
1167
|
-
configurable: true,
|
1168
|
-
writable: true,
|
1169
|
-
value: void 0
|
1170
|
-
});
|
1171
|
-
this._server = server;
|
1172
|
-
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);
|
1173
1214
|
}
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
constructor(server) {
|
1178
|
-
Object.defineProperty(this, "_server", {
|
1179
|
-
enumerable: true,
|
1180
|
-
configurable: true,
|
1181
|
-
writable: true,
|
1182
|
-
value: void 0
|
1183
|
-
});
|
1184
|
-
Object.defineProperty(this, "actor", {
|
1185
|
-
enumerable: true,
|
1186
|
-
configurable: true,
|
1187
|
-
writable: true,
|
1188
|
-
value: void 0
|
1189
|
-
});
|
1190
|
-
Object.defineProperty(this, "convo", {
|
1191
|
-
enumerable: true,
|
1192
|
-
configurable: true,
|
1193
|
-
writable: true,
|
1194
|
-
value: void 0
|
1195
|
-
});
|
1196
|
-
Object.defineProperty(this, "moderation", {
|
1197
|
-
enumerable: true,
|
1198
|
-
configurable: true,
|
1199
|
-
writable: true,
|
1200
|
-
value: void 0
|
1201
|
-
});
|
1202
|
-
this._server = server;
|
1203
|
-
this.actor = new ChatBskyActorNS(server);
|
1204
|
-
this.convo = new ChatBskyConvoNS(server);
|
1205
|
-
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);
|
1206
1218
|
}
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
constructor(server) {
|
1211
|
-
Object.defineProperty(this, "_server", {
|
1212
|
-
enumerable: true,
|
1213
|
-
configurable: true,
|
1214
|
-
writable: true,
|
1215
|
-
value: void 0
|
1216
|
-
});
|
1217
|
-
this._server = server;
|
1219
|
+
resetPassword(cfg) {
|
1220
|
+
const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
|
1221
|
+
return this._server.xrpc.method(nsid, cfg);
|
1218
1222
|
}
|
1219
|
-
|
1220
|
-
const nsid = '
|
1223
|
+
revokeAppPassword(cfg) {
|
1224
|
+
const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
|
1221
1225
|
return this._server.xrpc.method(nsid, cfg);
|
1222
1226
|
}
|
1223
|
-
|
1224
|
-
const nsid = '
|
1227
|
+
updateEmail(cfg) {
|
1228
|
+
const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
|
1225
1229
|
return this._server.xrpc.method(nsid, cfg);
|
1226
1230
|
}
|
1227
1231
|
}
|
1228
|
-
exports.
|
1229
|
-
class
|
1232
|
+
exports.ComAtprotoServerNS = ComAtprotoServerNS;
|
1233
|
+
class ComAtprotoSyncNS {
|
1230
1234
|
constructor(server) {
|
1231
1235
|
Object.defineProperty(this, "_server", {
|
1232
1236
|
enumerable: true,
|
@@ -1236,77 +1240,73 @@ class ChatBskyConvoNS {
|
|
1236
1240
|
});
|
1237
1241
|
this._server = server;
|
1238
1242
|
}
|
1239
|
-
|
1240
|
-
const nsid = '
|
1241
|
-
return this._server.xrpc.method(nsid, cfg);
|
1242
|
-
}
|
1243
|
-
addReaction(cfg) {
|
1244
|
-
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
1243
|
+
getBlob(cfg) {
|
1244
|
+
const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
|
1245
1245
|
return this._server.xrpc.method(nsid, cfg);
|
1246
1246
|
}
|
1247
|
-
|
1248
|
-
const nsid = '
|
1247
|
+
getBlocks(cfg) {
|
1248
|
+
const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
|
1249
1249
|
return this._server.xrpc.method(nsid, cfg);
|
1250
1250
|
}
|
1251
|
-
|
1252
|
-
const nsid = '
|
1251
|
+
getCheckout(cfg) {
|
1252
|
+
const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
|
1253
1253
|
return this._server.xrpc.method(nsid, cfg);
|
1254
1254
|
}
|
1255
|
-
|
1256
|
-
const nsid = '
|
1255
|
+
getHead(cfg) {
|
1256
|
+
const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
|
1257
1257
|
return this._server.xrpc.method(nsid, cfg);
|
1258
1258
|
}
|
1259
|
-
|
1260
|
-
const nsid = '
|
1259
|
+
getHostStatus(cfg) {
|
1260
|
+
const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
|
1261
1261
|
return this._server.xrpc.method(nsid, cfg);
|
1262
1262
|
}
|
1263
|
-
|
1264
|
-
const nsid = '
|
1263
|
+
getLatestCommit(cfg) {
|
1264
|
+
const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
|
1265
1265
|
return this._server.xrpc.method(nsid, cfg);
|
1266
1266
|
}
|
1267
|
-
|
1268
|
-
const nsid = '
|
1267
|
+
getRecord(cfg) {
|
1268
|
+
const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
|
1269
1269
|
return this._server.xrpc.method(nsid, cfg);
|
1270
1270
|
}
|
1271
|
-
|
1272
|
-
const nsid = '
|
1271
|
+
getRepo(cfg) {
|
1272
|
+
const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
|
1273
1273
|
return this._server.xrpc.method(nsid, cfg);
|
1274
1274
|
}
|
1275
|
-
|
1276
|
-
const nsid = '
|
1275
|
+
getRepoStatus(cfg) {
|
1276
|
+
const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
|
1277
1277
|
return this._server.xrpc.method(nsid, cfg);
|
1278
1278
|
}
|
1279
|
-
|
1280
|
-
const nsid = '
|
1279
|
+
listBlobs(cfg) {
|
1280
|
+
const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
|
1281
1281
|
return this._server.xrpc.method(nsid, cfg);
|
1282
1282
|
}
|
1283
|
-
|
1284
|
-
const nsid = '
|
1283
|
+
listHosts(cfg) {
|
1284
|
+
const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
|
1285
1285
|
return this._server.xrpc.method(nsid, cfg);
|
1286
1286
|
}
|
1287
|
-
|
1288
|
-
const nsid = '
|
1287
|
+
listRepos(cfg) {
|
1288
|
+
const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
|
1289
1289
|
return this._server.xrpc.method(nsid, cfg);
|
1290
1290
|
}
|
1291
|
-
|
1292
|
-
const nsid = '
|
1291
|
+
listReposByCollection(cfg) {
|
1292
|
+
const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
|
1293
1293
|
return this._server.xrpc.method(nsid, cfg);
|
1294
1294
|
}
|
1295
|
-
|
1296
|
-
const nsid = '
|
1295
|
+
notifyOfUpdate(cfg) {
|
1296
|
+
const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
|
1297
1297
|
return this._server.xrpc.method(nsid, cfg);
|
1298
1298
|
}
|
1299
|
-
|
1300
|
-
const nsid = '
|
1299
|
+
requestCrawl(cfg) {
|
1300
|
+
const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
|
1301
1301
|
return this._server.xrpc.method(nsid, cfg);
|
1302
1302
|
}
|
1303
|
-
|
1304
|
-
const nsid = '
|
1305
|
-
return this._server.xrpc.
|
1303
|
+
subscribeRepos(cfg) {
|
1304
|
+
const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
|
1305
|
+
return this._server.xrpc.streamMethod(nsid, cfg);
|
1306
1306
|
}
|
1307
1307
|
}
|
1308
|
-
exports.
|
1309
|
-
class
|
1308
|
+
exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
|
1309
|
+
class ComAtprotoTempNS {
|
1310
1310
|
constructor(server) {
|
1311
1311
|
Object.defineProperty(this, "_server", {
|
1312
1312
|
enumerable: true,
|
@@ -1316,20 +1316,28 @@ class ChatBskyModerationNS {
|
|
1316
1316
|
});
|
1317
1317
|
this._server = server;
|
1318
1318
|
}
|
1319
|
-
|
1320
|
-
const nsid = '
|
1319
|
+
addReservedHandle(cfg) {
|
1320
|
+
const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
|
1321
1321
|
return this._server.xrpc.method(nsid, cfg);
|
1322
1322
|
}
|
1323
|
-
|
1324
|
-
const nsid = '
|
1323
|
+
checkHandleAvailability(cfg) {
|
1324
|
+
const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
|
1325
1325
|
return this._server.xrpc.method(nsid, cfg);
|
1326
1326
|
}
|
1327
|
-
|
1328
|
-
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
|
1329
1337
|
return this._server.xrpc.method(nsid, cfg);
|
1330
1338
|
}
|
1331
1339
|
}
|
1332
|
-
exports.
|
1340
|
+
exports.ComAtprotoTempNS = ComAtprotoTempNS;
|
1333
1341
|
class ToolsNS {
|
1334
1342
|
constructor(server) {
|
1335
1343
|
Object.defineProperty(this, "_server", {
|