@atproto/api 0.6.7 → 0.6.9

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 (56) hide show
  1. package/build.js +8 -0
  2. package/dist/agent.d.ts +25 -44
  3. package/dist/bsky-agent.d.ts +24 -0
  4. package/dist/client/index.d.ts +14 -9
  5. package/dist/client/lexicons.d.ts +103 -100
  6. package/dist/client/types/app/bsky/actor/defs.d.ts +65 -74
  7. package/dist/client/types/app/bsky/actor/getFeedSuggestions.d.ts +21 -0
  8. package/dist/client/types/app/bsky/embed/external.d.ts +23 -23
  9. package/dist/client/types/app/bsky/embed/images.d.ts +20 -20
  10. package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +20 -26
  11. package/dist/client/types/{com/atproto/sync/getCommitPath.d.ts → app/bsky/feed/getFeedSuggestions.d.ts} +5 -4
  12. package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +21 -0
  13. package/dist/client/types/app/bsky/feed/like.d.ts +7 -7
  14. package/dist/client/types/app/bsky/feed/repost.d.ts +7 -7
  15. package/dist/client/types/app/bsky/graph/block.d.ts +6 -6
  16. package/dist/client/types/app/bsky/graph/defs.d.ts +36 -36
  17. package/dist/client/types/app/bsky/graph/follow.d.ts +6 -6
  18. package/dist/client/types/app/bsky/graph/listitem.d.ts +7 -7
  19. package/dist/client/types/app/bsky/richtext/facet.d.ts +22 -26
  20. package/dist/client/types/com/atproto/label/subscribeLabels.d.ts +12 -12
  21. package/dist/client/types/com/atproto/moderation/defs.d.ts +7 -16
  22. package/dist/client/types/com/atproto/repo/strongRef.d.ts +6 -6
  23. package/dist/client/types/com/atproto/server/defs.d.ts +16 -16
  24. package/dist/client/types/com/atproto/sync/getCheckout.d.ts +0 -1
  25. package/dist/client/types/com/atproto/{admin/rebaseRepo.d.ts → sync/getLatestCommit.d.ts} +7 -9
  26. package/dist/client/types/com/atproto/sync/getRepo.d.ts +1 -2
  27. package/dist/client/types/com/atproto/sync/listBlobs.d.ts +4 -2
  28. package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +48 -46
  29. package/dist/client/types/{app/bsky/unspecced/registerPushNotification.d.ts → com/atproto/temp/upgradeRepoVersion.d.ts} +7 -5
  30. package/dist/client/util.d.ts +2 -5
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.js +1651 -1277
  33. package/dist/index.js.map +4 -4
  34. package/dist/rich-text/detection.d.ts +4 -4
  35. package/dist/rich-text/rich-text.d.ts +31 -31
  36. package/dist/rich-text/sanitization.d.ts +4 -7
  37. package/dist/rich-text/unicode.d.ts +9 -9
  38. package/dist/types.d.ts +32 -34
  39. package/package.json +24 -23
  40. package/src/bsky-agent.ts +181 -1
  41. package/src/client/index.ts +49 -39
  42. package/src/client/lexicons.ts +123 -129
  43. package/src/client/types/{com/atproto/sync/getCommitPath.ts → app/bsky/feed/getSuggestedFeeds.ts} +5 -7
  44. package/src/client/types/com/atproto/sync/getCheckout.ts +0 -2
  45. package/src/client/types/com/atproto/{admin/rebaseRepo.ts → sync/getLatestCommit.ts} +12 -17
  46. package/src/client/types/com/atproto/sync/getRepo.ts +2 -4
  47. package/src/client/types/com/atproto/sync/listBlobs.ts +5 -4
  48. package/src/client/types/com/atproto/sync/subscribeRepos.ts +5 -1
  49. package/src/client/types/com/atproto/{repo/rebaseRepo.ts → temp/upgradeRepoVersion.ts} +2 -18
  50. package/src/index.ts +1 -1
  51. package/src/types.ts +20 -0
  52. package/tests/bsky-agent.test.ts +149 -0
  53. package/update-pkg.js +14 -0
  54. package/LICENSE +0 -21
  55. package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
  56. package/tsconfig.build.tsbuildinfo +0 -1
package/build.js CHANGED
@@ -1,8 +1,16 @@
1
+ const pkgJson = require('@npmcli/package-json')
1
2
  const { nodeExternalsPlugin } = require('esbuild-node-externals')
2
3
 
3
4
  const buildShallow =
4
5
  process.argv.includes('--shallow') || process.env.ATP_BUILD_SHALLOW === 'true'
5
6
 
7
+ if (process.argv.includes('--update-main-to-dist')) {
8
+ return pkgJson
9
+ .load(__dirname)
10
+ .then((pkg) => pkg.update({ main: 'dist/index.js' }))
11
+ .then((pkg) => pkg.save())
12
+ }
13
+
6
14
  require('esbuild').build({
7
15
  logLevel: 'info',
8
16
  entryPoints: ['src/index.ts'],
package/dist/agent.d.ts CHANGED
@@ -1,46 +1,27 @@
1
- import {
2
- AtpServiceClient,
3
- ComAtprotoServerCreateAccount,
4
- ComAtprotoServerCreateSession,
5
- ComAtprotoServerGetSession,
6
- } from './client'
7
- import {
8
- AtpSessionData,
9
- AtpAgentCreateAccountOpts,
10
- AtpAgentLoginOpts,
11
- AtpAgentFetchHandler,
12
- AtpAgentGlobalOpts,
13
- AtpPersistSessionHandler,
14
- AtpAgentOpts,
15
- } from './types'
1
+ import { AtpServiceClient, ComAtprotoServerCreateAccount, ComAtprotoServerCreateSession, ComAtprotoServerGetSession } from './client';
2
+ import { AtpSessionData, AtpAgentCreateAccountOpts, AtpAgentLoginOpts, AtpAgentFetchHandler, AtpAgentGlobalOpts, AtpPersistSessionHandler, AtpAgentOpts } from './types';
16
3
  export declare class AtpAgent {
17
- service: URL
18
- api: AtpServiceClient
19
- session?: AtpSessionData
20
- private _baseClient
21
- private _persistSession?
22
- private _refreshSessionPromise
23
- get com(): import('./client').ComNS
24
- static fetch: AtpAgentFetchHandler | undefined
25
- static configure(opts: AtpAgentGlobalOpts): void
26
- constructor(opts: AtpAgentOpts)
27
- get hasSession(): boolean
28
- setPersistSessionHandler(handler?: AtpPersistSessionHandler): void
29
- createAccount(
30
- opts: AtpAgentCreateAccountOpts,
31
- ): Promise<ComAtprotoServerCreateAccount.Response>
32
- login(
33
- opts: AtpAgentLoginOpts,
34
- ): Promise<ComAtprotoServerCreateSession.Response>
35
- resumeSession(
36
- session: AtpSessionData,
37
- ): Promise<ComAtprotoServerGetSession.Response>
38
- private _addAuthHeader
39
- private _fetch
40
- private _refreshSession
41
- private _refreshSessionInner
42
- uploadBlob: typeof this.api.com.atproto.repo.uploadBlob
43
- resolveHandle: typeof this.api.com.atproto.identity.resolveHandle
44
- updateHandle: typeof this.api.com.atproto.identity.updateHandle
45
- createModerationReport: typeof this.api.com.atproto.moderation.createReport
4
+ service: URL;
5
+ api: AtpServiceClient;
6
+ session?: AtpSessionData;
7
+ private _baseClient;
8
+ private _persistSession?;
9
+ private _refreshSessionPromise;
10
+ get com(): import("./client").ComNS;
11
+ static fetch: AtpAgentFetchHandler | undefined;
12
+ static configure(opts: AtpAgentGlobalOpts): void;
13
+ constructor(opts: AtpAgentOpts);
14
+ get hasSession(): boolean;
15
+ setPersistSessionHandler(handler?: AtpPersistSessionHandler): void;
16
+ createAccount(opts: AtpAgentCreateAccountOpts): Promise<ComAtprotoServerCreateAccount.Response>;
17
+ login(opts: AtpAgentLoginOpts): Promise<ComAtprotoServerCreateSession.Response>;
18
+ resumeSession(session: AtpSessionData): Promise<ComAtprotoServerGetSession.Response>;
19
+ private _addAuthHeader;
20
+ private _fetch;
21
+ private _refreshSession;
22
+ private _refreshSessionInner;
23
+ uploadBlob: typeof this.api.com.atproto.repo.uploadBlob;
24
+ resolveHandle: typeof this.api.com.atproto.identity.resolveHandle;
25
+ updateHandle: typeof this.api.com.atproto.identity.updateHandle;
26
+ createModerationReport: typeof this.api.com.atproto.moderation.createReport;
46
27
  }
@@ -1,5 +1,6 @@
1
1
  import { AtpAgent } from './agent';
2
2
  import { AppBskyFeedPost, AppBskyActorProfile } from './client';
3
+ import { BskyPreferences, BskyLabelPreference } from './types';
3
4
  export declare class BskyAgent extends AtpAgent {
4
5
  get app(): import("./client").AppNS;
5
6
  getTimeline: typeof this.api.app.bsky.feed.getTimeline;
@@ -43,4 +44,27 @@ export declare class BskyAgent extends AtpAgent {
43
44
  mute(actor: string): Promise<import("./client/types/app/bsky/graph/muteActor").Response>;
44
45
  unmute(actor: string): Promise<import("./client/types/app/bsky/graph/unmuteActor").Response>;
45
46
  updateSeenNotifications(seenAt?: string): Promise<import("./client/types/app/bsky/notification/updateSeen").Response>;
47
+ getPreferences(): Promise<BskyPreferences>;
48
+ setSavedFeeds(saved: string[], pinned: string[]): Promise<{
49
+ saved: string[];
50
+ pinned: string[];
51
+ }>;
52
+ addSavedFeed(v: string): Promise<{
53
+ saved: string[];
54
+ pinned: string[];
55
+ }>;
56
+ removeSavedFeed(v: string): Promise<{
57
+ saved: string[];
58
+ pinned: string[];
59
+ }>;
60
+ addPinnedFeed(v: string): Promise<{
61
+ saved: string[];
62
+ pinned: string[];
63
+ }>;
64
+ removePinnedFeed(v: string): Promise<{
65
+ saved: string[];
66
+ pinned: string[];
67
+ }>;
68
+ setAdultContentEnabled(v: boolean): Promise<void>;
69
+ setContentLabelPref(key: string, value: BskyLabelPreference): Promise<void>;
46
70
  }
@@ -9,7 +9,6 @@ import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/g
9
9
  import * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
10
10
  import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
11
11
  import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
12
- import * as ComAtprotoAdminRebaseRepo from './types/com/atproto/admin/rebaseRepo';
13
12
  import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
14
13
  import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
15
14
  import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
@@ -28,7 +27,6 @@ import * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRe
28
27
  import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
29
28
  import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
30
29
  import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
31
- import * as ComAtprotoRepoRebaseRepo from './types/com/atproto/repo/rebaseRepo';
32
30
  import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
33
31
  import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
34
32
  import * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword';
@@ -49,14 +47,15 @@ import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/r
49
47
  import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob';
50
48
  import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
51
49
  import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
52
- import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
53
50
  import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
51
+ import * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit';
54
52
  import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
55
53
  import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
56
54
  import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
57
55
  import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
58
56
  import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
59
57
  import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
58
+ import * as ComAtprotoTempUpgradeRepoVersion from './types/com/atproto/temp/upgradeRepoVersion';
60
59
  import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
61
60
  import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
62
61
  import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
@@ -78,6 +77,7 @@ import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
78
77
  import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
79
78
  import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
80
79
  import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
80
+ import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds';
81
81
  import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
82
82
  import * as AppBskyFeedLike from './types/app/bsky/feed/like';
83
83
  import * as AppBskyFeedPost from './types/app/bsky/feed/post';
@@ -116,7 +116,6 @@ export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/g
116
116
  export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
117
117
  export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
118
118
  export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
119
- export * as ComAtprotoAdminRebaseRepo from './types/com/atproto/admin/rebaseRepo';
120
119
  export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
121
120
  export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
122
121
  export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
@@ -138,7 +137,6 @@ export * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRe
138
137
  export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
139
138
  export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
140
139
  export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
141
- export * as ComAtprotoRepoRebaseRepo from './types/com/atproto/repo/rebaseRepo';
142
140
  export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
143
141
  export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
144
142
  export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
@@ -161,8 +159,8 @@ export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/r
161
159
  export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob';
162
160
  export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
163
161
  export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
164
- export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
165
162
  export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
163
+ export * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit';
166
164
  export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
167
165
  export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
168
166
  export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
@@ -170,6 +168,7 @@ export * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
170
168
  export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
171
169
  export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
172
170
  export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos';
171
+ export * as ComAtprotoTempUpgradeRepoVersion from './types/com/atproto/temp/upgradeRepoVersion';
173
172
  export * as AppBskyActorDefs from './types/app/bsky/actor/defs';
174
173
  export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
175
174
  export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
@@ -197,6 +196,7 @@ export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
197
196
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
198
197
  export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
199
198
  export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
199
+ export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds';
200
200
  export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
201
201
  export * as AppBskyFeedLike from './types/app/bsky/feed/like';
202
202
  export * as AppBskyFeedPost from './types/app/bsky/feed/post';
@@ -270,6 +270,7 @@ export declare class AtprotoNS {
270
270
  repo: RepoNS;
271
271
  server: ServerNS;
272
272
  sync: SyncNS;
273
+ temp: TempNS;
273
274
  constructor(service: AtpServiceClient);
274
275
  }
275
276
  export declare class AdminNS {
@@ -285,7 +286,6 @@ export declare class AdminNS {
285
286
  getModerationReports(params?: ComAtprotoAdminGetModerationReports.QueryParams, opts?: ComAtprotoAdminGetModerationReports.CallOptions): Promise<ComAtprotoAdminGetModerationReports.Response>;
286
287
  getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
287
288
  getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
288
- rebaseRepo(data?: ComAtprotoAdminRebaseRepo.InputSchema, opts?: ComAtprotoAdminRebaseRepo.CallOptions): Promise<ComAtprotoAdminRebaseRepo.Response>;
289
289
  resolveModerationReports(data?: ComAtprotoAdminResolveModerationReports.InputSchema, opts?: ComAtprotoAdminResolveModerationReports.CallOptions): Promise<ComAtprotoAdminResolveModerationReports.Response>;
290
290
  reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>;
291
291
  searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
@@ -320,7 +320,6 @@ export declare class RepoNS {
320
320
  getRecord(params?: ComAtprotoRepoGetRecord.QueryParams, opts?: ComAtprotoRepoGetRecord.CallOptions): Promise<ComAtprotoRepoGetRecord.Response>;
321
321
  listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
322
322
  putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
323
- rebaseRepo(data?: ComAtprotoRepoRebaseRepo.InputSchema, opts?: ComAtprotoRepoRebaseRepo.CallOptions): Promise<ComAtprotoRepoRebaseRepo.Response>;
324
323
  uploadBlob(data?: ComAtprotoRepoUploadBlob.InputSchema, opts?: ComAtprotoRepoUploadBlob.CallOptions): Promise<ComAtprotoRepoUploadBlob.Response>;
325
324
  }
326
325
  export declare class ServerNS {
@@ -349,8 +348,8 @@ export declare class SyncNS {
349
348
  getBlob(params?: ComAtprotoSyncGetBlob.QueryParams, opts?: ComAtprotoSyncGetBlob.CallOptions): Promise<ComAtprotoSyncGetBlob.Response>;
350
349
  getBlocks(params?: ComAtprotoSyncGetBlocks.QueryParams, opts?: ComAtprotoSyncGetBlocks.CallOptions): Promise<ComAtprotoSyncGetBlocks.Response>;
351
350
  getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>;
352
- getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>;
353
351
  getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>;
352
+ getLatestCommit(params?: ComAtprotoSyncGetLatestCommit.QueryParams, opts?: ComAtprotoSyncGetLatestCommit.CallOptions): Promise<ComAtprotoSyncGetLatestCommit.Response>;
354
353
  getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
355
354
  getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
356
355
  listBlobs(params?: ComAtprotoSyncListBlobs.QueryParams, opts?: ComAtprotoSyncListBlobs.CallOptions): Promise<ComAtprotoSyncListBlobs.Response>;
@@ -358,6 +357,11 @@ export declare class SyncNS {
358
357
  notifyOfUpdate(data?: ComAtprotoSyncNotifyOfUpdate.InputSchema, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions): Promise<ComAtprotoSyncNotifyOfUpdate.Response>;
359
358
  requestCrawl(data?: ComAtprotoSyncRequestCrawl.InputSchema, opts?: ComAtprotoSyncRequestCrawl.CallOptions): Promise<ComAtprotoSyncRequestCrawl.Response>;
360
359
  }
360
+ export declare class TempNS {
361
+ _service: AtpServiceClient;
362
+ constructor(service: AtpServiceClient);
363
+ upgradeRepoVersion(data?: ComAtprotoTempUpgradeRepoVersion.InputSchema, opts?: ComAtprotoTempUpgradeRepoVersion.CallOptions): Promise<ComAtprotoTempUpgradeRepoVersion.Response>;
364
+ }
361
365
  export declare class AppNS {
362
366
  _service: AtpServiceClient;
363
367
  bsky: BskyNS;
@@ -430,6 +434,7 @@ export declare class FeedNS {
430
434
  getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
431
435
  getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>;
432
436
  getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
437
+ getSuggestedFeeds(params?: AppBskyFeedGetSuggestedFeeds.QueryParams, opts?: AppBskyFeedGetSuggestedFeeds.CallOptions): Promise<AppBskyFeedGetSuggestedFeeds.Response>;
433
438
  getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>;
434
439
  }
435
440
  export declare class GeneratorRecord {
@@ -916,38 +916,6 @@ export declare const schemaDict: {
916
916
  };
917
917
  };
918
918
  };
919
- ComAtprotoAdminRebaseRepo: {
920
- lexicon: number;
921
- id: string;
922
- defs: {
923
- main: {
924
- type: string;
925
- description: string;
926
- input: {
927
- encoding: string;
928
- schema: {
929
- type: string;
930
- required: string[];
931
- properties: {
932
- repo: {
933
- type: string;
934
- format: string;
935
- description: string;
936
- };
937
- swapCommit: {
938
- type: string;
939
- format: string;
940
- description: string;
941
- };
942
- };
943
- };
944
- };
945
- errors: {
946
- name: string;
947
- }[];
948
- };
949
- };
950
- };
951
919
  ComAtprotoAdminResolveModerationReports: {
952
920
  lexicon: number;
953
921
  id: string;
@@ -2042,38 +2010,6 @@ export declare const schemaDict: {
2042
2010
  };
2043
2011
  };
2044
2012
  };
2045
- ComAtprotoRepoRebaseRepo: {
2046
- lexicon: number;
2047
- id: string;
2048
- defs: {
2049
- main: {
2050
- type: string;
2051
- description: string;
2052
- input: {
2053
- encoding: string;
2054
- schema: {
2055
- type: string;
2056
- required: string[];
2057
- properties: {
2058
- repo: {
2059
- type: string;
2060
- format: string;
2061
- description: string;
2062
- };
2063
- swapCommit: {
2064
- type: string;
2065
- format: string;
2066
- description: string;
2067
- };
2068
- };
2069
- };
2070
- };
2071
- errors: {
2072
- name: string;
2073
- }[];
2074
- };
2075
- };
2076
- };
2077
2013
  ComAtprotoRepoStrongRef: {
2078
2014
  lexicon: number;
2079
2015
  id: string;
@@ -2835,11 +2771,6 @@ export declare const schemaDict: {
2835
2771
  format: string;
2836
2772
  description: string;
2837
2773
  };
2838
- commit: {
2839
- type: string;
2840
- format: string;
2841
- description: string;
2842
- };
2843
2774
  };
2844
2775
  };
2845
2776
  output: {
@@ -2848,7 +2779,7 @@ export declare const schemaDict: {
2848
2779
  };
2849
2780
  };
2850
2781
  };
2851
- ComAtprotoSyncGetCommitPath: {
2782
+ ComAtprotoSyncGetHead: {
2852
2783
  lexicon: number;
2853
2784
  id: string;
2854
2785
  defs: {
@@ -2864,16 +2795,6 @@ export declare const schemaDict: {
2864
2795
  format: string;
2865
2796
  description: string;
2866
2797
  };
2867
- latest: {
2868
- type: string;
2869
- format: string;
2870
- description: string;
2871
- };
2872
- earliest: {
2873
- type: string;
2874
- format: string;
2875
- description: string;
2876
- };
2877
2798
  };
2878
2799
  };
2879
2800
  output: {
@@ -2882,20 +2803,20 @@ export declare const schemaDict: {
2882
2803
  type: string;
2883
2804
  required: string[];
2884
2805
  properties: {
2885
- commits: {
2806
+ root: {
2886
2807
  type: string;
2887
- items: {
2888
- type: string;
2889
- format: string;
2890
- };
2808
+ format: string;
2891
2809
  };
2892
2810
  };
2893
2811
  };
2894
2812
  };
2813
+ errors: {
2814
+ name: string;
2815
+ }[];
2895
2816
  };
2896
2817
  };
2897
2818
  };
2898
- ComAtprotoSyncGetHead: {
2819
+ ComAtprotoSyncGetLatestCommit: {
2899
2820
  lexicon: number;
2900
2821
  id: string;
2901
2822
  defs: {
@@ -2919,10 +2840,13 @@ export declare const schemaDict: {
2919
2840
  type: string;
2920
2841
  required: string[];
2921
2842
  properties: {
2922
- root: {
2843
+ cid: {
2923
2844
  type: string;
2924
2845
  format: string;
2925
2846
  };
2847
+ rev: {
2848
+ type: string;
2849
+ };
2926
2850
  };
2927
2851
  };
2928
2852
  };
@@ -2984,12 +2908,7 @@ export declare const schemaDict: {
2984
2908
  format: string;
2985
2909
  description: string;
2986
2910
  };
2987
- earliest: {
2988
- type: string;
2989
- format: string;
2990
- description: string;
2991
- };
2992
- latest: {
2911
+ since: {
2993
2912
  type: string;
2994
2913
  format: string;
2995
2914
  description: string;
@@ -3018,15 +2937,19 @@ export declare const schemaDict: {
3018
2937
  format: string;
3019
2938
  description: string;
3020
2939
  };
3021
- latest: {
2940
+ since: {
3022
2941
  type: string;
3023
2942
  format: string;
3024
2943
  description: string;
3025
2944
  };
3026
- earliest: {
2945
+ limit: {
2946
+ type: string;
2947
+ minimum: number;
2948
+ maximum: number;
2949
+ default: number;
2950
+ };
2951
+ cursor: {
3027
2952
  type: string;
3028
- format: string;
3029
- description: string;
3030
2953
  };
3031
2954
  };
3032
2955
  };
@@ -3036,6 +2959,9 @@ export declare const schemaDict: {
3036
2959
  type: string;
3037
2960
  required: string[];
3038
2961
  properties: {
2962
+ cursor: {
2963
+ type: string;
2964
+ };
3039
2965
  cids: {
3040
2966
  type: string;
3041
2967
  items: {
@@ -3202,6 +3128,14 @@ export declare const schemaDict: {
3202
3128
  prev: {
3203
3129
  type: string;
3204
3130
  };
3131
+ rev: {
3132
+ type: string;
3133
+ description: string;
3134
+ };
3135
+ since: {
3136
+ type: string;
3137
+ description: string;
3138
+ };
3205
3139
  blocks: {
3206
3140
  type: string;
3207
3141
  description: string;
@@ -3319,6 +3253,32 @@ export declare const schemaDict: {
3319
3253
  };
3320
3254
  };
3321
3255
  };
3256
+ ComAtprotoTempUpgradeRepoVersion: {
3257
+ lexicon: number;
3258
+ id: string;
3259
+ defs: {
3260
+ main: {
3261
+ type: string;
3262
+ description: string;
3263
+ input: {
3264
+ encoding: string;
3265
+ schema: {
3266
+ type: string;
3267
+ required: string[];
3268
+ properties: {
3269
+ did: {
3270
+ type: string;
3271
+ format: string;
3272
+ };
3273
+ force: {
3274
+ type: string;
3275
+ };
3276
+ };
3277
+ };
3278
+ };
3279
+ };
3280
+ };
3281
+ };
3322
3282
  AppBskyActorDefs: {
3323
3283
  lexicon: number;
3324
3284
  id: string;
@@ -5009,6 +4969,49 @@ export declare const schemaDict: {
5009
4969
  };
5010
4970
  };
5011
4971
  };
4972
+ AppBskyFeedGetSuggestedFeeds: {
4973
+ lexicon: number;
4974
+ id: string;
4975
+ defs: {
4976
+ main: {
4977
+ type: string;
4978
+ description: string;
4979
+ parameters: {
4980
+ type: string;
4981
+ properties: {
4982
+ limit: {
4983
+ type: string;
4984
+ minimum: number;
4985
+ maximum: number;
4986
+ default: number;
4987
+ };
4988
+ cursor: {
4989
+ type: string;
4990
+ };
4991
+ };
4992
+ };
4993
+ output: {
4994
+ encoding: string;
4995
+ schema: {
4996
+ type: string;
4997
+ required: string[];
4998
+ properties: {
4999
+ cursor: {
5000
+ type: string;
5001
+ };
5002
+ feeds: {
5003
+ type: string;
5004
+ items: {
5005
+ type: string;
5006
+ ref: string;
5007
+ };
5008
+ };
5009
+ };
5010
+ };
5011
+ };
5012
+ };
5013
+ };
5014
+ };
5012
5015
  AppBskyFeedGetTimeline: {
5013
5016
  lexicon: number;
5014
5017
  id: string;
@@ -6297,7 +6300,6 @@ export declare const ids: {
6297
6300
  ComAtprotoAdminGetModerationReports: string;
6298
6301
  ComAtprotoAdminGetRecord: string;
6299
6302
  ComAtprotoAdminGetRepo: string;
6300
- ComAtprotoAdminRebaseRepo: string;
6301
6303
  ComAtprotoAdminResolveModerationReports: string;
6302
6304
  ComAtprotoAdminReverseModerationAction: string;
6303
6305
  ComAtprotoAdminSearchRepos: string;
@@ -6319,7 +6321,6 @@ export declare const ids: {
6319
6321
  ComAtprotoRepoGetRecord: string;
6320
6322
  ComAtprotoRepoListRecords: string;
6321
6323
  ComAtprotoRepoPutRecord: string;
6322
- ComAtprotoRepoRebaseRepo: string;
6323
6324
  ComAtprotoRepoStrongRef: string;
6324
6325
  ComAtprotoRepoUploadBlob: string;
6325
6326
  ComAtprotoServerCreateAccount: string;
@@ -6342,8 +6343,8 @@ export declare const ids: {
6342
6343
  ComAtprotoSyncGetBlob: string;
6343
6344
  ComAtprotoSyncGetBlocks: string;
6344
6345
  ComAtprotoSyncGetCheckout: string;
6345
- ComAtprotoSyncGetCommitPath: string;
6346
6346
  ComAtprotoSyncGetHead: string;
6347
+ ComAtprotoSyncGetLatestCommit: string;
6347
6348
  ComAtprotoSyncGetRecord: string;
6348
6349
  ComAtprotoSyncGetRepo: string;
6349
6350
  ComAtprotoSyncListBlobs: string;
@@ -6351,6 +6352,7 @@ export declare const ids: {
6351
6352
  ComAtprotoSyncNotifyOfUpdate: string;
6352
6353
  ComAtprotoSyncRequestCrawl: string;
6353
6354
  ComAtprotoSyncSubscribeRepos: string;
6355
+ ComAtprotoTempUpgradeRepoVersion: string;
6354
6356
  AppBskyActorDefs: string;
6355
6357
  AppBskyActorGetPreferences: string;
6356
6358
  AppBskyActorGetProfile: string;
@@ -6378,6 +6380,7 @@ export declare const ids: {
6378
6380
  AppBskyFeedGetPostThread: string;
6379
6381
  AppBskyFeedGetPosts: string;
6380
6382
  AppBskyFeedGetRepostedBy: string;
6383
+ AppBskyFeedGetSuggestedFeeds: string;
6381
6384
  AppBskyFeedGetTimeline: string;
6382
6385
  AppBskyFeedLike: string;
6383
6386
  AppBskyFeedPost: string;