@atproto/bsky 0.0.176 → 0.0.178

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