@atproto/api 0.30.0 → 0.31.0

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 (45) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/client/index.d.ts +34 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +45 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +666 -196
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +346 -98
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +40 -0
  11. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -0
  12. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js +21 -0
  13. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -0
  14. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +4 -5
  15. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
  16. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
  17. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +81 -0
  18. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -0
  19. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +49 -0
  20. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -0
  21. package/dist/client/types/com/atproto/label/record.d.ts +22 -0
  22. package/dist/client/types/com/atproto/label/record.d.ts.map +1 -0
  23. package/dist/client/types/com/atproto/label/record.js +18 -0
  24. package/dist/client/types/com/atproto/label/record.js.map +1 -0
  25. package/dist/client/types/tools/ozone/inbox/defs.d.ts +12 -0
  26. package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
  27. package/dist/client/types/tools/ozone/inbox/defs.js +7 -0
  28. package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
  29. package/dist/client/types/tools/ozone/inbox/getAccountStatus.d.ts +4 -0
  30. package/dist/client/types/tools/ozone/inbox/getAccountStatus.d.ts.map +1 -1
  31. package/dist/client/types/tools/ozone/inbox/getAccountStatus.js.map +1 -1
  32. package/dist/client/types/tools/ozone/moderation/defs.d.ts +0 -40
  33. package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  34. package/dist/client/types/tools/ozone/moderation/defs.js +0 -14
  35. package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
  36. package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +2 -0
  37. package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
  38. package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
  39. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -7
  40. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  41. package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  42. package/dist/client/types/tools/ozone/report/closeReports.d.ts +2 -0
  43. package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -1
  44. package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -1
  45. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#5802](https://github.com/bluesky-social/atproto/pull/5802) [`d930c3b`](https://github.com/bluesky-social/atproto/commit/d930c3b6b401df7085b8e85f3fc83dbbc3e28605) Thanks [@foysalit](https://github.com/foysalit)! - Retire moderation subject statistics and count-based filters. Legacy count-based
8
+ sorts fall back to last reported time.
9
+
10
+ ### Patch Changes
11
+
12
+ - [#5861](https://github.com/bluesky-social/atproto/pull/5861) [`211c9e8`](https://github.com/bluesky-social/atproto/commit/211c9e8acceccca2e983b7bc8ebfc0756664c956) Thanks [@blackmichael](https://github.com/blackmichael)! - Use Iris Grain gallery recommendations in Atmosphere Explore behind `atmosphere_explore:galleries:iris:enable`, independently of article recommendations. Return the gallery recommendation ID in `photos.recIdStr`. Retain curated photos when Iris returns an empty list or fails.
13
+
14
+ Update the shared Explore contract description for recommended photo galleries.
15
+
16
+ ## 0.30.3
17
+
18
+ ### Patch Changes
19
+
20
+ - [#5817](https://github.com/bluesky-social/atproto/pull/5817) [`d4f2c91`](https://github.com/bluesky-social/atproto/commit/d4f2c919697d37af8f411f724e12b8ce2b88f922) Thanks [@foysalit](https://github.com/foysalit)! - Support linking report closures to existing moderation events and targeting all subjects owned by an account from a moderation event.
21
+ - Updated dependencies []:
22
+ - @atproto/common-web@0.5.17
23
+ - @atproto/lexicon@0.7.19
24
+ - @atproto/xrpc@0.8.18
25
+
26
+ ## 0.30.2
27
+
28
+ ### Patch Changes
29
+
30
+ - [#5809](https://github.com/bluesky-social/atproto/pull/5809) [`7b640e8`](https://github.com/bluesky-social/atproto/commit/7b640e8fee709d22a0d62262068db0ddb3106741) Thanks [@blackmichael](https://github.com/blackmichael)! - Expose optional author-declared bskyPostRef strong references beside view on unspecced Atmosphere timeline activities and Explore article and livestream items, without changing external embed schemas or fetching the referenced post.
31
+
32
+ - [#5799](https://github.com/bluesky-social/atproto/pull/5799) [`9537a65`](https://github.com/bluesky-social/atproto/commit/9537a659a9d85bbeef1bb423fcb4be9d2e618ff2) Thanks [@dholms](https://github.com/dholms)! - Add the `com.atproto.label.record` lexicon
33
+
34
+ - [#5813](https://github.com/bluesky-social/atproto/pull/5813) [`43b0be2`](https://github.com/bluesky-social/atproto/commit/43b0be2fa15e49479c11254101a056e9da137c84) Thanks [@foysalit](https://github.com/foysalit)! - Expose account enforcement and best-effort profile information in the moderation inbox.
35
+
36
+ - [#5818](https://github.com/bluesky-social/atproto/pull/5818) [`ba75afa`](https://github.com/bluesky-social/atproto/commit/ba75afad9fab6d1f5c207b1b5d12a7ecfc5b379d) Thanks [@foysalit](https://github.com/foysalit)! - Expose whether an account has active strikes in its moderation inbox status.
37
+
38
+ - [#5806](https://github.com/bluesky-social/atproto/pull/5806) [`b794e18`](https://github.com/bluesky-social/atproto/commit/b794e186bc81ce979d29de18f3ca9ab03b7e3d29) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Use geo headers instead of countryCode and regionCode query parameters when selecting curated Atmosphere Explore content.
39
+
40
+ ## 0.30.1
41
+
42
+ ### Patch Changes
43
+
44
+ - [#5801](https://github.com/bluesky-social/atproto/pull/5801) [`11f52c5`](https://github.com/bluesky-social/atproto/commit/11f52c5588279d159ab12404a1b323731a467fdd) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add getAtmosphereApps with optional category filtering and known followers in app profiles.
45
+ - Updated dependencies []:
46
+ - @atproto/common-web@0.5.16
47
+ - @atproto/lexicon@0.7.18
48
+ - @atproto/xrpc@0.8.17
49
+
3
50
  ## 0.30.0
4
51
 
5
52
  ### Minor Changes
@@ -105,8 +105,10 @@ import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/
105
105
  import * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.js';
106
106
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
107
107
  import * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
108
+ import * as AppBskyUnspeccedGetAtmosphereApps from './types/app/bsky/unspecced/getAtmosphereApps.js';
108
109
  import * as AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations from './types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js';
109
110
  import * as AppBskyUnspeccedGetAtmosphereExploreTab from './types/app/bsky/unspecced/getAtmosphereExploreTab.js';
111
+ import * as AppBskyUnspeccedGetAtmosphereTimeline from './types/app/bsky/unspecced/getAtmosphereTimeline.js';
110
112
  import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
111
113
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js';
112
114
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js';
@@ -219,6 +221,7 @@ import * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identit
219
221
  import * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js';
220
222
  import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js';
221
223
  import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js';
224
+ import * as ComAtprotoLabelRecord from './types/com/atproto/label/record.js';
222
225
  import * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js';
223
226
  import * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js';
224
227
  import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
@@ -482,8 +485,10 @@ export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/up
482
485
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
483
486
  export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js';
484
487
  export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js';
488
+ export * as AppBskyUnspeccedGetAtmosphereApps from './types/app/bsky/unspecced/getAtmosphereApps.js';
485
489
  export * as AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations from './types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js';
486
490
  export * as AppBskyUnspeccedGetAtmosphereExploreTab from './types/app/bsky/unspecced/getAtmosphereExploreTab.js';
491
+ export * as AppBskyUnspeccedGetAtmosphereTimeline from './types/app/bsky/unspecced/getAtmosphereTimeline.js';
487
492
  export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
488
493
  export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js';
489
494
  export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js';
@@ -607,6 +612,7 @@ export * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/ident
607
612
  export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js';
608
613
  export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js';
609
614
  export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js';
615
+ export * as ComAtprotoLabelRecord from './types/com/atproto/label/record.js';
610
616
  export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js';
611
617
  export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js';
612
618
  export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js';
@@ -1538,8 +1544,10 @@ export declare class AppBskyUnspeccedNS {
1538
1544
  _client: XrpcClient;
1539
1545
  constructor(client: XrpcClient);
1540
1546
  getAgeAssuranceState(params?: AppBskyUnspeccedGetAgeAssuranceState.QueryParams, opts?: AppBskyUnspeccedGetAgeAssuranceState.CallOptions): Promise<AppBskyUnspeccedGetAgeAssuranceState.Response>;
1547
+ getAtmosphereApps(params?: AppBskyUnspeccedGetAtmosphereApps.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereApps.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereApps.Response>;
1541
1548
  getAtmosphereExploreArticleRecommendations(params?: AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations.Response>;
1542
1549
  getAtmosphereExploreTab(params?: AppBskyUnspeccedGetAtmosphereExploreTab.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereExploreTab.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereExploreTab.Response>;
1550
+ getAtmosphereTimeline(params?: AppBskyUnspeccedGetAtmosphereTimeline.QueryParams, opts?: AppBskyUnspeccedGetAtmosphereTimeline.CallOptions): Promise<AppBskyUnspeccedGetAtmosphereTimeline.Response>;
1543
1551
  getConfig(params?: AppBskyUnspeccedGetConfig.QueryParams, opts?: AppBskyUnspeccedGetConfig.CallOptions): Promise<AppBskyUnspeccedGetConfig.Response>;
1544
1552
  getOnboardingSuggestedStarterPacks(params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.CallOptions): Promise<AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.Response>;
1545
1553
  getOnboardingSuggestedStarterPacksSkeleton(params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.CallOptions): Promise<AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.Response>;
@@ -1749,9 +1757,35 @@ export declare class ComAtprotoIdentityNS {
1749
1757
  }
1750
1758
  export declare class ComAtprotoLabelNS {
1751
1759
  _client: XrpcClient;
1760
+ record: ComAtprotoLabelRecordRecord;
1752
1761
  constructor(client: XrpcClient);
1753
1762
  queryLabels(params?: ComAtprotoLabelQueryLabels.QueryParams, opts?: ComAtprotoLabelQueryLabels.CallOptions): Promise<ComAtprotoLabelQueryLabels.Response>;
1754
1763
  }
1764
+ export declare class ComAtprotoLabelRecordRecord {
1765
+ _client: XrpcClient;
1766
+ constructor(client: XrpcClient);
1767
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
1768
+ cursor?: string;
1769
+ records: {
1770
+ uri: string;
1771
+ value: ComAtprotoLabelRecord.Record;
1772
+ }[];
1773
+ }>;
1774
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
1775
+ uri: string;
1776
+ cid: string;
1777
+ value: ComAtprotoLabelRecord.Record;
1778
+ }>;
1779
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<ComAtprotoLabelRecord.Record>, headers?: Record<string, string>): Promise<{
1780
+ uri: string;
1781
+ cid: string;
1782
+ }>;
1783
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<ComAtprotoLabelRecord.Record>, headers?: Record<string, string>): Promise<{
1784
+ uri: string;
1785
+ cid: string;
1786
+ }>;
1787
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1788
+ }
1755
1789
  export declare class ComAtprotoLexiconNS {
1756
1790
  _client: XrpcClient;
1757
1791
  schema: ComAtprotoLexiconSchemaRecord;