@atproto/api 0.15.12 → 0.15.14

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 (40) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/client/index.d.ts +12 -6
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +20 -12
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +518 -100
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +277 -52
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/notification/defs.d.ts +40 -0
  11. package/dist/client/types/app/bsky/notification/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/notification/defs.js +36 -0
  13. package/dist/client/types/app/bsky/notification/defs.js.map +1 -1
  14. package/dist/client/types/app/bsky/notification/getPreferences.d.ts +22 -0
  15. package/dist/client/types/app/bsky/notification/getPreferences.d.ts.map +1 -0
  16. package/dist/client/types/app/bsky/notification/getPreferences.js +11 -0
  17. package/dist/client/types/app/bsky/notification/getPreferences.js.map +1 -0
  18. package/dist/client/types/app/bsky/notification/putPreferencesV2.d.ts +38 -0
  19. package/dist/client/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
  20. package/dist/client/types/app/bsky/notification/putPreferencesV2.js +11 -0
  21. package/dist/client/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
  22. package/dist/client/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
  23. package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
  24. package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js +20 -0
  25. package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
  26. package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
  27. package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client/index.ts +44 -16
  30. package/src/client/lexicons.ts +281 -54
  31. package/src/client/types/app/bsky/notification/defs.ts +76 -0
  32. package/src/client/types/app/bsky/notification/getPreferences.ts +40 -0
  33. package/src/client/types/app/bsky/notification/putPreferencesV2.ts +56 -0
  34. package/src/client/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
  35. package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
  36. package/tsconfig.build.tsbuildinfo +1 -1
  37. package/tsconfig.tests.tsbuildinfo +1 -1
  38. package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
  39. package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -20
  40. package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
@@ -7,4 +7,44 @@ export interface RecordDeleted {
7
7
  }
8
8
  export declare function isRecordDeleted<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.notification.defs", "recordDeleted">;
9
9
  export declare function validateRecordDeleted<V>(v: V): ValidationResult<RecordDeleted & V>;
10
+ export interface ChatPreference {
11
+ $type?: 'app.bsky.notification.defs#chatPreference';
12
+ filter: 'all' | 'accepted' | (string & {});
13
+ push: boolean;
14
+ }
15
+ export declare function isChatPreference<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.notification.defs", "chatPreference">;
16
+ export declare function validateChatPreference<V>(v: V): ValidationResult<ChatPreference & V>;
17
+ export interface FilterablePreference {
18
+ $type?: 'app.bsky.notification.defs#filterablePreference';
19
+ filter: 'all' | 'follows' | (string & {});
20
+ list: boolean;
21
+ push: boolean;
22
+ }
23
+ export declare function isFilterablePreference<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.notification.defs", "filterablePreference">;
24
+ export declare function validateFilterablePreference<V>(v: V): ValidationResult<FilterablePreference & V>;
25
+ export interface Preference {
26
+ $type?: 'app.bsky.notification.defs#preference';
27
+ list: boolean;
28
+ push: boolean;
29
+ }
30
+ export declare function isPreference<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.notification.defs", "preference">;
31
+ export declare function validatePreference<V>(v: V): ValidationResult<Preference & V>;
32
+ export interface Preferences {
33
+ $type?: 'app.bsky.notification.defs#preferences';
34
+ chat: ChatPreference;
35
+ follow: FilterablePreference;
36
+ like: FilterablePreference;
37
+ likeViaRepost: FilterablePreference;
38
+ mention: FilterablePreference;
39
+ quote: FilterablePreference;
40
+ reply: FilterablePreference;
41
+ repost: FilterablePreference;
42
+ repostViaRepost: FilterablePreference;
43
+ starterpackJoined: Preference;
44
+ subscribedPost: Preference;
45
+ unverified: Preference;
46
+ verified: Preference;
47
+ }
48
+ export declare function isPreferences<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.notification.defs", "preferences">;
49
+ export declare function validatePreferences<V>(v: V): ValidationResult<Preferences & V>;
10
50
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,0CAA0C,CAAA;CACnD;AAID,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kGAEtC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uCAE5C"}
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,0CAA0C,CAAA;CACnD;AAID,wBAAgB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oBAAoB,CAAA;IAC7B,KAAK,EAAE,oBAAoB,CAAA;IAC3B,KAAK,EAAE,oBAAoB,CAAA;IAC3B,MAAM,EAAE,oBAAoB,CAAA;IAC5B,eAAe,EAAE,oBAAoB,CAAA;IACrC,iBAAiB,EAAE,UAAU,CAAA;IAC7B,cAAc,EAAE,UAAU,CAAA;IAC1B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,UAAU,CAAA;CACrB;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gGAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C"}
@@ -2,6 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isRecordDeleted = isRecordDeleted;
4
4
  exports.validateRecordDeleted = validateRecordDeleted;
5
+ exports.isChatPreference = isChatPreference;
6
+ exports.validateChatPreference = validateChatPreference;
7
+ exports.isFilterablePreference = isFilterablePreference;
8
+ exports.validateFilterablePreference = validateFilterablePreference;
9
+ exports.isPreference = isPreference;
10
+ exports.validatePreference = validatePreference;
11
+ exports.isPreferences = isPreferences;
12
+ exports.validatePreferences = validatePreferences;
5
13
  const lexicons_1 = require("../../../../lexicons");
6
14
  const util_1 = require("../../../../util");
7
15
  const is$typed = util_1.is$typed, validate = lexicons_1.validate;
@@ -13,4 +21,32 @@ function isRecordDeleted(v) {
13
21
  function validateRecordDeleted(v) {
14
22
  return validate(v, id, hashRecordDeleted);
15
23
  }
24
+ const hashChatPreference = 'chatPreference';
25
+ function isChatPreference(v) {
26
+ return is$typed(v, id, hashChatPreference);
27
+ }
28
+ function validateChatPreference(v) {
29
+ return validate(v, id, hashChatPreference);
30
+ }
31
+ const hashFilterablePreference = 'filterablePreference';
32
+ function isFilterablePreference(v) {
33
+ return is$typed(v, id, hashFilterablePreference);
34
+ }
35
+ function validateFilterablePreference(v) {
36
+ return validate(v, id, hashFilterablePreference);
37
+ }
38
+ const hashPreference = 'preference';
39
+ function isPreference(v) {
40
+ return is$typed(v, id, hashPreference);
41
+ }
42
+ function validatePreference(v) {
43
+ return validate(v, id, hashPreference);
44
+ }
45
+ const hashPreferences = 'preferences';
46
+ function isPreferences(v) {
47
+ return is$typed(v, id, hashPreferences);
48
+ }
49
+ function validatePreferences(v) {
50
+ return validate(v, id, hashPreferences);
51
+ }
16
52
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/defs.ts"],"names":[],"mappings":";;AAsBA,0CAEC;AAED,sDAEC;AAvBD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA;AAMvC,MAAM,iBAAiB,GAAG,eAAe,CAAA;AAEzC,SAAgB,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC3C,CAAC;AAED,SAAgB,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAoB,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC9D,CAAC"}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/defs.ts"],"names":[],"mappings":";;AAsBA,0CAEC;AAED,sDAEC;AAUD,4CAEC;AAED,wDAEC;AAWD,wDAEC;AAED,oEAEC;AAUD,oCAEC;AAED,gDAEC;AAqBD,sCAEC;AAED,kDAEC;AAnGD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA;AAMvC,MAAM,iBAAiB,GAAG,eAAe,CAAA;AAEzC,SAAgB,eAAe,CAAI,CAAI;IACrC,OA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E,eAAe,CAAC,CAAA;AAC1D,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ import type * as AppBskyNotificationDefs from './defs.js';
6
+ export interface QueryParams {
7
+ }
8
+ export type InputSchema = undefined;
9
+ export interface OutputSchema {
10
+ preferences: AppBskyNotificationDefs.Preferences;
11
+ }
12
+ export interface CallOptions {
13
+ signal?: AbortSignal;
14
+ headers?: HeadersMap;
15
+ }
16
+ export interface Response {
17
+ success: boolean;
18
+ headers: HeadersMap;
19
+ data: OutputSchema;
20
+ }
21
+ export declare function toKnownErr(e: any): any;
22
+ //# sourceMappingURL=getPreferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPreferences.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getPreferences.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,uBAAuB,MAAM,WAAW,CAAA;AAMzD,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAA;CACjD;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ const lexicons_1 = require("../../../../lexicons");
5
+ const util_1 = require("../../../../util");
6
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
7
+ const id = 'app.bsky.notification.getPreferences';
8
+ function toKnownErr(e) {
9
+ return e;
10
+ }
11
+ //# sourceMappingURL=getPreferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPreferences.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getPreferences.ts"],"names":[],"mappings":";;AAqCA,gCAEC;AAjCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AAqBjD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ import type * as AppBskyNotificationDefs from './defs.js';
6
+ export interface QueryParams {
7
+ }
8
+ export interface InputSchema {
9
+ chat?: AppBskyNotificationDefs.ChatPreference;
10
+ follow?: AppBskyNotificationDefs.FilterablePreference;
11
+ like?: AppBskyNotificationDefs.FilterablePreference;
12
+ likeViaRepost?: AppBskyNotificationDefs.FilterablePreference;
13
+ mention?: AppBskyNotificationDefs.FilterablePreference;
14
+ quote?: AppBskyNotificationDefs.FilterablePreference;
15
+ reply?: AppBskyNotificationDefs.FilterablePreference;
16
+ repost?: AppBskyNotificationDefs.FilterablePreference;
17
+ repostViaRepost?: AppBskyNotificationDefs.FilterablePreference;
18
+ starterpackJoined?: AppBskyNotificationDefs.Preference;
19
+ subscribedPost?: AppBskyNotificationDefs.Preference;
20
+ unverified?: AppBskyNotificationDefs.Preference;
21
+ verified?: AppBskyNotificationDefs.Preference;
22
+ }
23
+ export interface OutputSchema {
24
+ preferences: AppBskyNotificationDefs.Preferences;
25
+ }
26
+ export interface CallOptions {
27
+ signal?: AbortSignal;
28
+ headers?: HeadersMap;
29
+ qp?: QueryParams;
30
+ encoding?: 'application/json';
31
+ }
32
+ export interface Response {
33
+ success: boolean;
34
+ headers: HeadersMap;
35
+ data: OutputSchema;
36
+ }
37
+ export declare function toKnownErr(e: any): any;
38
+ //# sourceMappingURL=putPreferencesV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"putPreferencesV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/putPreferencesV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,uBAAuB,MAAM,WAAW,CAAA;AAMzD,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,uBAAuB,CAAC,cAAc,CAAA;IAC7C,MAAM,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IACrD,IAAI,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IACnD,aAAa,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IAC5D,OAAO,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IACtD,KAAK,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IACpD,KAAK,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IACpD,MAAM,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IACrD,eAAe,CAAC,EAAE,uBAAuB,CAAC,oBAAoB,CAAA;IAC9D,iBAAiB,CAAC,EAAE,uBAAuB,CAAC,UAAU,CAAA;IACtD,cAAc,CAAC,EAAE,uBAAuB,CAAC,UAAU,CAAA;IACnD,UAAU,CAAC,EAAE,uBAAuB,CAAC,UAAU,CAAA;IAC/C,QAAQ,CAAC,EAAE,uBAAuB,CAAC,UAAU,CAAA;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAA;CACjD;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ const lexicons_1 = require("../../../../lexicons");
5
+ const util_1 = require("../../../../util");
6
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
7
+ const id = 'app.bsky.notification.putPreferencesV2';
8
+ function toKnownErr(e) {
9
+ return e;
10
+ }
11
+ //# sourceMappingURL=putPreferencesV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"putPreferencesV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/putPreferencesV2.ts"],"names":[],"mappings":";;AAqDA,gCAEC;AAjDD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wCAAwC,CAAA;AAqCnD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC"}
@@ -13,8 +13,8 @@ export interface QueryParams {
13
13
  }
14
14
  export type InputSchema = undefined;
15
15
  export interface OutputSchema {
16
- /** A flat list of hidden thread items. The depth of each item is indicated by the depth property inside the item. */
17
- thread: ThreadHiddenItem[];
16
+ /** A flat list of other thread items. The depth of each item is indicated by the depth property inside the item. */
17
+ thread: ThreadItem[];
18
18
  }
19
19
  export interface CallOptions {
20
20
  signal?: AbortSignal;
@@ -26,8 +26,8 @@ export interface Response {
26
26
  data: OutputSchema;
27
27
  }
28
28
  export declare function toKnownErr(e: any): any;
29
- export interface ThreadHiddenItem {
30
- $type?: 'app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem';
29
+ export interface ThreadItem {
30
+ $type?: 'app.bsky.unspecced.getPostThreadOtherV2#threadItem';
31
31
  uri: string;
32
32
  /** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */
33
33
  depth: number;
@@ -35,6 +35,6 @@ export interface ThreadHiddenItem {
35
35
  $type: string;
36
36
  };
37
37
  }
38
- export declare function isThreadHiddenItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadHiddenV2", "threadHiddenItem">;
39
- export declare function validateThreadHiddenItem<V>(v: V): ValidationResult<ThreadHiddenItem & V>;
40
- //# sourceMappingURL=getPostThreadHiddenV2.d.ts.map
38
+ export declare function isThreadItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadOtherV2", "threadItem">;
39
+ export declare function validateThreadItem<V>(v: V): ValidationResult<ThreadItem & V>;
40
+ //# sourceMappingURL=getPostThreadOtherV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostThreadOtherV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,WAAW,WAAW;IAC1B,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAA;IACd,0GAA0G;IAC1G,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,oHAAoH;IACpH,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,oDAAoD,CAAA;IAC5D,GAAG,EAAE,MAAM,CAAA;IACX,uJAAuJ;IACvJ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACvE;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4GAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ exports.isThreadItem = isThreadItem;
5
+ exports.validateThreadItem = validateThreadItem;
6
+ const lexicons_1 = require("../../../../lexicons");
7
+ const util_1 = require("../../../../util");
8
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
9
+ const id = 'app.bsky.unspecced.getPostThreadOtherV2';
10
+ function toKnownErr(e) {
11
+ return e;
12
+ }
13
+ const hashThreadItem = 'threadItem';
14
+ function isThreadItem(v) {
15
+ return is$typed(v, id, hashThreadItem);
16
+ }
17
+ function validateThreadItem(v) {
18
+ return validate(v, id, hashThreadItem);
19
+ }
20
+ //# sourceMappingURL=getPostThreadOtherV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostThreadOtherV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":";;AA2CA,gCAEC;AAYD,oCAEC;AAED,gDAEC;AAzDD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA;AA2BpD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAUD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC"}
@@ -25,8 +25,8 @@ export interface OutputSchema {
25
25
  /** A flat list of thread items. The depth of each item is indicated by the depth property inside the item. */
26
26
  thread: ThreadItem[];
27
27
  threadgate?: AppBskyFeedDefs.ThreadgateView;
28
- /** Whether this thread has hidden replies. If true, a call can be made to the `getPostThreadHiddenV2` endpoint to retrieve them. */
29
- hasHiddenReplies: boolean;
28
+ /** Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them. */
29
+ hasOtherReplies: boolean;
30
30
  }
31
31
  export interface CallOptions {
32
32
  signal?: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"getPostThreadV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAA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K,EAAE,MAAM,CAAA;IACb,KAAK,EACD,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAC3C,MAAM,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,GACxD,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,GAC/C,MAAM,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAC9C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACtB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
1
+ {"version":3,"file":"getPostThreadV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,WAAW,WAAW;IAC1B,uKAAuK;IACvK,MAAM,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sNAAsN;IACtN,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,0GAA0G;IAC1G,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,sCAAsC;IACtC,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CACnD;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,8GAA8G;IAC9G,MAAM,EAAE,UAAU,EAAE,CAAA;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC,cAAc,CAAA;IAC3C,uIAAuI;IACvI,eAAe,EAAE,OAAO,CAAA;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,+CAA+C,CAAA;IACvD,GAAG,EAAE,MAAM,CAAA;IACX,uJAAuJ;IACvJ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EACD,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAC3C,MAAM,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,GACxD,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,GAC/C,MAAM,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAC9C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACtB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.15.12",
3
+ "version": "0.15.14",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -128,8 +128,8 @@ import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
128
128
  import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js'
129
129
  import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js'
130
130
  import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js'
131
- import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
132
131
  import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
132
+ import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
133
133
  import * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js'
134
134
  import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js'
135
135
  import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js'
@@ -174,16 +174,18 @@ import * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js'
174
174
  import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js'
175
175
  import * as AppBskyLabelerService from './types/app/bsky/labeler/service.js'
176
176
  import * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js'
177
+ import * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js'
177
178
  import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js'
178
179
  import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js'
179
180
  import * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js'
181
+ import * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js'
180
182
  import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js'
181
183
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js'
182
184
  import * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js'
183
185
  import * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js'
184
186
  import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
185
187
  import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
186
- import * as AppBskyUnspeccedGetPostThreadHiddenV2 from './types/app/bsky/unspecced/getPostThreadHiddenV2.js'
188
+ import * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
187
189
  import * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
188
190
  import * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
189
191
  import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
@@ -391,8 +393,8 @@ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
391
393
  export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js'
392
394
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js'
393
395
  export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js'
394
- export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
395
396
  export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
397
+ export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
396
398
  export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js'
397
399
  export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js'
398
400
  export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js'
@@ -437,16 +439,18 @@ export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js'
437
439
  export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js'
438
440
  export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js'
439
441
  export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js'
442
+ export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js'
440
443
  export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js'
441
444
  export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js'
442
445
  export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js'
446
+ export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js'
443
447
  export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js'
444
448
  export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js'
445
449
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js'
446
450
  export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js'
447
451
  export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
448
452
  export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
449
- export * as AppBskyUnspeccedGetPostThreadHiddenV2 from './types/app/bsky/unspecced/getPostThreadHiddenV2.js'
453
+ export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
450
454
  export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
451
455
  export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
452
456
  export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
@@ -2107,6 +2111,13 @@ export class AppBskyFeedNS {
2107
2111
  })
2108
2112
  }
2109
2113
 
2114
+ getPosts(
2115
+ params?: AppBskyFeedGetPosts.QueryParams,
2116
+ opts?: AppBskyFeedGetPosts.CallOptions,
2117
+ ): Promise<AppBskyFeedGetPosts.Response> {
2118
+ return this._client.call('app.bsky.feed.getPosts', params, undefined, opts)
2119
+ }
2120
+
2110
2121
  getPostThread(
2111
2122
  params?: AppBskyFeedGetPostThread.QueryParams,
2112
2123
  opts?: AppBskyFeedGetPostThread.CallOptions,
@@ -2118,13 +2129,6 @@ export class AppBskyFeedNS {
2118
2129
  })
2119
2130
  }
2120
2131
 
2121
- getPosts(
2122
- params?: AppBskyFeedGetPosts.QueryParams,
2123
- opts?: AppBskyFeedGetPosts.CallOptions,
2124
- ): Promise<AppBskyFeedGetPosts.Response> {
2125
- return this._client.call('app.bsky.feed.getPosts', params, undefined, opts)
2126
- }
2127
-
2128
2132
  getQuotes(
2129
2133
  params?: AppBskyFeedGetQuotes.QueryParams,
2130
2134
  opts?: AppBskyFeedGetQuotes.CallOptions,
@@ -3343,6 +3347,18 @@ export class AppBskyNotificationNS {
3343
3347
  this._client = client
3344
3348
  }
3345
3349
 
3350
+ getPreferences(
3351
+ params?: AppBskyNotificationGetPreferences.QueryParams,
3352
+ opts?: AppBskyNotificationGetPreferences.CallOptions,
3353
+ ): Promise<AppBskyNotificationGetPreferences.Response> {
3354
+ return this._client.call(
3355
+ 'app.bsky.notification.getPreferences',
3356
+ params,
3357
+ undefined,
3358
+ opts,
3359
+ )
3360
+ }
3361
+
3346
3362
  getUnreadCount(
3347
3363
  params?: AppBskyNotificationGetUnreadCount.QueryParams,
3348
3364
  opts?: AppBskyNotificationGetUnreadCount.CallOptions,
@@ -3379,6 +3395,18 @@ export class AppBskyNotificationNS {
3379
3395
  )
3380
3396
  }
3381
3397
 
3398
+ putPreferencesV2(
3399
+ data?: AppBskyNotificationPutPreferencesV2.InputSchema,
3400
+ opts?: AppBskyNotificationPutPreferencesV2.CallOptions,
3401
+ ): Promise<AppBskyNotificationPutPreferencesV2.Response> {
3402
+ return this._client.call(
3403
+ 'app.bsky.notification.putPreferencesV2',
3404
+ opts?.qp,
3405
+ data,
3406
+ opts,
3407
+ )
3408
+ }
3409
+
3382
3410
  registerPush(
3383
3411
  data?: AppBskyNotificationRegisterPush.InputSchema,
3384
3412
  opts?: AppBskyNotificationRegisterPush.CallOptions,
@@ -3443,12 +3471,12 @@ export class AppBskyUnspeccedNS {
3443
3471
  )
3444
3472
  }
3445
3473
 
3446
- getPostThreadHiddenV2(
3447
- params?: AppBskyUnspeccedGetPostThreadHiddenV2.QueryParams,
3448
- opts?: AppBskyUnspeccedGetPostThreadHiddenV2.CallOptions,
3449
- ): Promise<AppBskyUnspeccedGetPostThreadHiddenV2.Response> {
3474
+ getPostThreadOtherV2(
3475
+ params?: AppBskyUnspeccedGetPostThreadOtherV2.QueryParams,
3476
+ opts?: AppBskyUnspeccedGetPostThreadOtherV2.CallOptions,
3477
+ ): Promise<AppBskyUnspeccedGetPostThreadOtherV2.Response> {
3450
3478
  return this._client.call(
3451
- 'app.bsky.unspecced.getPostThreadHiddenV2',
3479
+ 'app.bsky.unspecced.getPostThreadOtherV2',
3452
3480
  params,
3453
3481
  undefined,
3454
3482
  opts,