@atproto/api 0.15.2 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +28 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +262 -6
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +146 -2
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/notification/defs.d.ts +10 -0
- package/dist/client/types/app/bsky/notification/defs.d.ts.map +1 -0
- package/dist/client/types/app/bsky/notification/defs.js +16 -0
- package/dist/client/types/app/bsky/notification/defs.js.map +1 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/client/types/chat/bsky/actor/defs.d.ts +1 -1
- package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/hosting/getAccountHistory.d.ts +68 -0
- package/dist/client/types/tools/ozone/hosting/getAccountHistory.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/hosting/getAccountHistory.js +65 -0
- package/dist/client/types/tools/ozone/hosting/getAccountHistory.js.map +1 -0
- package/package.json +1 -1
- package/src/client/index.ts +26 -0
- package/src/client/lexicons.ts +147 -2
- package/src/client/types/app/bsky/notification/defs.ts +29 -0
- package/src/client/types/app/bsky/notification/listNotifications.ts +3 -1
- package/src/client/types/chat/bsky/actor/defs.ts +1 -1
- package/src/client/types/tools/ozone/hosting/getAccountHistory.ts +149 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface RecordDeleted {
|
|
6
|
+
$type?: 'app.bsky.notification.defs#recordDeleted';
|
|
7
|
+
}
|
|
8
|
+
export declare function isRecordDeleted<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.notification.defs", "recordDeleted">;
|
|
9
|
+
export declare function validateRecordDeleted<V>(v: V): ValidationResult<RecordDeleted & V>;
|
|
10
|
+
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isRecordDeleted = isRecordDeleted;
|
|
4
|
+
exports.validateRecordDeleted = validateRecordDeleted;
|
|
5
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
6
|
+
const util_1 = require("../../../../util");
|
|
7
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
8
|
+
const id = 'app.bsky.notification.defs';
|
|
9
|
+
const hashRecordDeleted = 'recordDeleted';
|
|
10
|
+
function isRecordDeleted(v) {
|
|
11
|
+
return is$typed(v, id, hashRecordDeleted);
|
|
12
|
+
}
|
|
13
|
+
function validateRecordDeleted(v) {
|
|
14
|
+
return validate(v, id, hashRecordDeleted);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -35,8 +35,8 @@ export interface Notification {
|
|
|
35
35
|
uri: string;
|
|
36
36
|
cid: string;
|
|
37
37
|
author: AppBskyActorDefs.ProfileView;
|
|
38
|
-
/** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote',
|
|
39
|
-
reason: 'like' | 'repost' | 'follow' | 'mention' | 'reply' | 'quote' | 'starterpack-joined' | (string & {});
|
|
38
|
+
/** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', and 'unverified'. */
|
|
39
|
+
reason: 'like' | 'repost' | 'follow' | 'mention' | 'reply' | 'quote' | 'starterpack-joined' | 'verified' | 'unverified' | (string & {});
|
|
40
40
|
reasonSubject?: string;
|
|
41
41
|
record: {
|
|
42
42
|
[_ in string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAM9E,MAAM,WAAW,WAAW;IAC1B,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;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,YAAY;IAC3B,KAAK,CAAC,EAAE,sDAAsD,CAAA;IAC9D,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACpC,
|
|
1
|
+
{"version":3,"file":"listNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OA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CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;IAClC,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;CACrC;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8GAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":";;AAgDA,gCAEC;
|
|
1
|
+
{"version":3,"file":"listNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":";;AAgDA,gCAEC;AA4BD,wCAEC;AAED,oDAEC;AA9ED,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA;AA+BpD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AA0BD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,SAAgB,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC"}
|
|
@@ -13,7 +13,7 @@ export interface ProfileViewBasic {
|
|
|
13
13
|
associated?: AppBskyActorDefs.ProfileAssociated;
|
|
14
14
|
viewer?: AppBskyActorDefs.ViewerState;
|
|
15
15
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
16
|
-
/** Set to true when the actor cannot actively participate in
|
|
16
|
+
/** Set to true when the actor cannot actively participate in conversations */
|
|
17
17
|
chatDisabled?: boolean;
|
|
18
18
|
verification?: AppBskyActorDefs.VerificationState;
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAM9E,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAA;IAC/C,MAAM,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACrC,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAM9E,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAA;IAC/C,MAAM,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACrC,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,8EAA8E;IAC9E,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,YAAY,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAA;CAClD;AAID,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAEzC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0CAE/C"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap } from '@atproto/xrpc';
|
|
5
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
|
+
import { type $Typed } from '../../../../util';
|
|
7
|
+
export interface QueryParams {
|
|
8
|
+
did: string;
|
|
9
|
+
events?: 'accountCreated' | 'emailUpdated' | 'emailConfirmed' | 'passwordUpdated' | 'handleUpdated' | (string & {})[];
|
|
10
|
+
cursor?: string;
|
|
11
|
+
limit?: number;
|
|
12
|
+
}
|
|
13
|
+
export type InputSchema = undefined;
|
|
14
|
+
export interface OutputSchema {
|
|
15
|
+
cursor?: string;
|
|
16
|
+
events: Event[];
|
|
17
|
+
}
|
|
18
|
+
export interface CallOptions {
|
|
19
|
+
signal?: AbortSignal;
|
|
20
|
+
headers?: HeadersMap;
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: HeadersMap;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare function toKnownErr(e: any): any;
|
|
28
|
+
export interface Event {
|
|
29
|
+
$type?: 'tools.ozone.hosting.getAccountHistory#event';
|
|
30
|
+
details: $Typed<AccountCreated> | $Typed<EmailUpdated> | $Typed<EmailConfirmed> | $Typed<PasswordUpdated> | $Typed<HandleUpdated> | {
|
|
31
|
+
$type: string;
|
|
32
|
+
};
|
|
33
|
+
createdBy: string;
|
|
34
|
+
createdAt: string;
|
|
35
|
+
}
|
|
36
|
+
export declare function isEvent<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.hosting.getAccountHistory", "event">;
|
|
37
|
+
export declare function validateEvent<V>(v: V): ValidationResult<Event & V>;
|
|
38
|
+
export interface AccountCreated {
|
|
39
|
+
$type?: 'tools.ozone.hosting.getAccountHistory#accountCreated';
|
|
40
|
+
email?: string;
|
|
41
|
+
handle?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function isAccountCreated<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.hosting.getAccountHistory", "accountCreated">;
|
|
44
|
+
export declare function validateAccountCreated<V>(v: V): ValidationResult<AccountCreated & V>;
|
|
45
|
+
export interface EmailUpdated {
|
|
46
|
+
$type?: 'tools.ozone.hosting.getAccountHistory#emailUpdated';
|
|
47
|
+
email: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function isEmailUpdated<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.hosting.getAccountHistory", "emailUpdated">;
|
|
50
|
+
export declare function validateEmailUpdated<V>(v: V): ValidationResult<EmailUpdated & V>;
|
|
51
|
+
export interface EmailConfirmed {
|
|
52
|
+
$type?: 'tools.ozone.hosting.getAccountHistory#emailConfirmed';
|
|
53
|
+
email: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function isEmailConfirmed<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.hosting.getAccountHistory", "emailConfirmed">;
|
|
56
|
+
export declare function validateEmailConfirmed<V>(v: V): ValidationResult<EmailConfirmed & V>;
|
|
57
|
+
export interface PasswordUpdated {
|
|
58
|
+
$type?: 'tools.ozone.hosting.getAccountHistory#passwordUpdated';
|
|
59
|
+
}
|
|
60
|
+
export declare function isPasswordUpdated<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.hosting.getAccountHistory", "passwordUpdated">;
|
|
61
|
+
export declare function validatePasswordUpdated<V>(v: V): ValidationResult<PasswordUpdated & V>;
|
|
62
|
+
export interface HandleUpdated {
|
|
63
|
+
$type?: 'tools.ozone.hosting.getAccountHistory#handleUpdated';
|
|
64
|
+
handle: string;
|
|
65
|
+
}
|
|
66
|
+
export declare function isHandleUpdated<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.hosting.getAccountHistory", "handleUpdated">;
|
|
67
|
+
export declare function validateHandleUpdated<V>(v: V): ValidationResult<HandleUpdated & V>;
|
|
68
|
+
//# sourceMappingURL=getAccountHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountHistory.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/hosting/getAccountHistory.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;AAMzB,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EACH,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,CAAC,MAAM,GAAG,EAAE,CAAC,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM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AAC,EAAE,CAAC,EAAE,CAAC,sCAE3C;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,sDAAsD,CAAA;IAC9D,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8GAEvC;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wCAE7C;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,uDAAuD,CAAA;CAChE;AAID,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+GAExC;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yCAE9C;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,qDAAqD,CAAA;IAC7D,MAAM,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6GAEtC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uCAE5C"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toKnownErr = toKnownErr;
|
|
4
|
+
exports.isEvent = isEvent;
|
|
5
|
+
exports.validateEvent = validateEvent;
|
|
6
|
+
exports.isAccountCreated = isAccountCreated;
|
|
7
|
+
exports.validateAccountCreated = validateAccountCreated;
|
|
8
|
+
exports.isEmailUpdated = isEmailUpdated;
|
|
9
|
+
exports.validateEmailUpdated = validateEmailUpdated;
|
|
10
|
+
exports.isEmailConfirmed = isEmailConfirmed;
|
|
11
|
+
exports.validateEmailConfirmed = validateEmailConfirmed;
|
|
12
|
+
exports.isPasswordUpdated = isPasswordUpdated;
|
|
13
|
+
exports.validatePasswordUpdated = validatePasswordUpdated;
|
|
14
|
+
exports.isHandleUpdated = isHandleUpdated;
|
|
15
|
+
exports.validateHandleUpdated = validateHandleUpdated;
|
|
16
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
17
|
+
const util_1 = require("../../../../util");
|
|
18
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
19
|
+
const id = 'tools.ozone.hosting.getAccountHistory';
|
|
20
|
+
function toKnownErr(e) {
|
|
21
|
+
return e;
|
|
22
|
+
}
|
|
23
|
+
const hashEvent = 'event';
|
|
24
|
+
function isEvent(v) {
|
|
25
|
+
return is$typed(v, id, hashEvent);
|
|
26
|
+
}
|
|
27
|
+
function validateEvent(v) {
|
|
28
|
+
return validate(v, id, hashEvent);
|
|
29
|
+
}
|
|
30
|
+
const hashAccountCreated = 'accountCreated';
|
|
31
|
+
function isAccountCreated(v) {
|
|
32
|
+
return is$typed(v, id, hashAccountCreated);
|
|
33
|
+
}
|
|
34
|
+
function validateAccountCreated(v) {
|
|
35
|
+
return validate(v, id, hashAccountCreated);
|
|
36
|
+
}
|
|
37
|
+
const hashEmailUpdated = 'emailUpdated';
|
|
38
|
+
function isEmailUpdated(v) {
|
|
39
|
+
return is$typed(v, id, hashEmailUpdated);
|
|
40
|
+
}
|
|
41
|
+
function validateEmailUpdated(v) {
|
|
42
|
+
return validate(v, id, hashEmailUpdated);
|
|
43
|
+
}
|
|
44
|
+
const hashEmailConfirmed = 'emailConfirmed';
|
|
45
|
+
function isEmailConfirmed(v) {
|
|
46
|
+
return is$typed(v, id, hashEmailConfirmed);
|
|
47
|
+
}
|
|
48
|
+
function validateEmailConfirmed(v) {
|
|
49
|
+
return validate(v, id, hashEmailConfirmed);
|
|
50
|
+
}
|
|
51
|
+
const hashPasswordUpdated = 'passwordUpdated';
|
|
52
|
+
function isPasswordUpdated(v) {
|
|
53
|
+
return is$typed(v, id, hashPasswordUpdated);
|
|
54
|
+
}
|
|
55
|
+
function validatePasswordUpdated(v) {
|
|
56
|
+
return validate(v, id, hashPasswordUpdated);
|
|
57
|
+
}
|
|
58
|
+
const hashHandleUpdated = 'handleUpdated';
|
|
59
|
+
function isHandleUpdated(v) {
|
|
60
|
+
return is$typed(v, id, hashHandleUpdated);
|
|
61
|
+
}
|
|
62
|
+
function validateHandleUpdated(v) {
|
|
63
|
+
return validate(v, id, hashHandleUpdated);
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=getAccountHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountHistory.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/hosting/getAccountHistory.ts"],"names":[],"mappings":";;AAgDA,gCAEC;AAiBD,0BAEC;AAED,sCAEC;AAUD,4CAEC;AAED,wDAEC;AASD,wCAEC;AAED,oDAEC;AASD,4CAEC;AAED,wDAEC;AAQD,8CAEC;AAED,0DAEC;AASD,0CAEC;AAED,sDAEC;AA9ID,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,uCAAuC,CAAA;AAiClD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAeD,MAAM,SAAS,GAAG,OAAO,CAAA;AAEzB,SAAgB,OAAO,CAAI,CAAI;IAC7B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AACnC,CAAC;AAED,SAAgB,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAY,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AAC9C,CAAC;AAQD,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAE3C,SAAgB,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAA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|
|
172
172
|
import * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js'
|
|
173
173
|
import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js'
|
|
174
174
|
import * as AppBskyLabelerService from './types/app/bsky/labeler/service.js'
|
|
175
|
+
import * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js'
|
|
175
176
|
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js'
|
|
176
177
|
import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js'
|
|
177
178
|
import * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js'
|
|
@@ -229,6 +230,7 @@ import * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/
|
|
|
229
230
|
import * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js'
|
|
230
231
|
import * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js'
|
|
231
232
|
import * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js'
|
|
233
|
+
import * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js'
|
|
232
234
|
import * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js'
|
|
233
235
|
import * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js'
|
|
234
236
|
import * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent.js'
|
|
@@ -426,6 +428,7 @@ export * as AppBskyGraphVerification from './types/app/bsky/graph/verification.j
|
|
|
426
428
|
export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js'
|
|
427
429
|
export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js'
|
|
428
430
|
export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js'
|
|
431
|
+
export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js'
|
|
429
432
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js'
|
|
430
433
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js'
|
|
431
434
|
export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js'
|
|
@@ -483,6 +486,7 @@ export * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/
|
|
|
483
486
|
export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js'
|
|
484
487
|
export * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js'
|
|
485
488
|
export * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js'
|
|
489
|
+
export * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js'
|
|
486
490
|
export * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js'
|
|
487
491
|
export * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js'
|
|
488
492
|
export * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent.js'
|
|
@@ -3938,6 +3942,7 @@ export class ToolsNS {
|
|
|
3938
3942
|
export class ToolsOzoneNS {
|
|
3939
3943
|
_client: XrpcClient
|
|
3940
3944
|
communication: ToolsOzoneCommunicationNS
|
|
3945
|
+
hosting: ToolsOzoneHostingNS
|
|
3941
3946
|
moderation: ToolsOzoneModerationNS
|
|
3942
3947
|
server: ToolsOzoneServerNS
|
|
3943
3948
|
set: ToolsOzoneSetNS
|
|
@@ -3948,6 +3953,7 @@ export class ToolsOzoneNS {
|
|
|
3948
3953
|
constructor(client: XrpcClient) {
|
|
3949
3954
|
this._client = client
|
|
3950
3955
|
this.communication = new ToolsOzoneCommunicationNS(client)
|
|
3956
|
+
this.hosting = new ToolsOzoneHostingNS(client)
|
|
3951
3957
|
this.moderation = new ToolsOzoneModerationNS(client)
|
|
3952
3958
|
this.server = new ToolsOzoneServerNS(client)
|
|
3953
3959
|
this.set = new ToolsOzoneSetNS(client)
|
|
@@ -4011,6 +4017,26 @@ export class ToolsOzoneCommunicationNS {
|
|
|
4011
4017
|
}
|
|
4012
4018
|
}
|
|
4013
4019
|
|
|
4020
|
+
export class ToolsOzoneHostingNS {
|
|
4021
|
+
_client: XrpcClient
|
|
4022
|
+
|
|
4023
|
+
constructor(client: XrpcClient) {
|
|
4024
|
+
this._client = client
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
getAccountHistory(
|
|
4028
|
+
params?: ToolsOzoneHostingGetAccountHistory.QueryParams,
|
|
4029
|
+
opts?: ToolsOzoneHostingGetAccountHistory.CallOptions,
|
|
4030
|
+
): Promise<ToolsOzoneHostingGetAccountHistory.Response> {
|
|
4031
|
+
return this._client.call(
|
|
4032
|
+
'tools.ozone.hosting.getAccountHistory',
|
|
4033
|
+
params,
|
|
4034
|
+
undefined,
|
|
4035
|
+
opts,
|
|
4036
|
+
)
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4014
4040
|
export class ToolsOzoneModerationNS {
|
|
4015
4041
|
_client: XrpcClient
|
|
4016
4042
|
|
package/src/client/lexicons.ts
CHANGED
|
@@ -9606,6 +9606,16 @@ export const schemaDict = {
|
|
|
9606
9606
|
},
|
|
9607
9607
|
},
|
|
9608
9608
|
},
|
|
9609
|
+
AppBskyNotificationDefs: {
|
|
9610
|
+
lexicon: 1,
|
|
9611
|
+
id: 'app.bsky.notification.defs',
|
|
9612
|
+
defs: {
|
|
9613
|
+
recordDeleted: {
|
|
9614
|
+
type: 'object',
|
|
9615
|
+
properties: {},
|
|
9616
|
+
},
|
|
9617
|
+
},
|
|
9618
|
+
},
|
|
9609
9619
|
AppBskyNotificationGetUnreadCount: {
|
|
9610
9620
|
lexicon: 1,
|
|
9611
9621
|
id: 'app.bsky.notification.getUnreadCount',
|
|
@@ -9733,7 +9743,7 @@ export const schemaDict = {
|
|
|
9733
9743
|
reason: {
|
|
9734
9744
|
type: 'string',
|
|
9735
9745
|
description:
|
|
9736
|
-
"Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote',
|
|
9746
|
+
"Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', and 'unverified'.",
|
|
9737
9747
|
knownValues: [
|
|
9738
9748
|
'like',
|
|
9739
9749
|
'repost',
|
|
@@ -9742,6 +9752,8 @@ export const schemaDict = {
|
|
|
9742
9752
|
'reply',
|
|
9743
9753
|
'quote',
|
|
9744
9754
|
'starterpack-joined',
|
|
9755
|
+
'verified',
|
|
9756
|
+
'unverified',
|
|
9745
9757
|
],
|
|
9746
9758
|
},
|
|
9747
9759
|
reasonSubject: {
|
|
@@ -11092,7 +11104,7 @@ export const schemaDict = {
|
|
|
11092
11104
|
chatDisabled: {
|
|
11093
11105
|
type: 'boolean',
|
|
11094
11106
|
description:
|
|
11095
|
-
'Set to true when the actor cannot actively participate in
|
|
11107
|
+
'Set to true when the actor cannot actively participate in conversations',
|
|
11096
11108
|
},
|
|
11097
11109
|
verification: {
|
|
11098
11110
|
type: 'ref',
|
|
@@ -12563,6 +12575,137 @@ export const schemaDict = {
|
|
|
12563
12575
|
},
|
|
12564
12576
|
},
|
|
12565
12577
|
},
|
|
12578
|
+
ToolsOzoneHostingGetAccountHistory: {
|
|
12579
|
+
lexicon: 1,
|
|
12580
|
+
id: 'tools.ozone.hosting.getAccountHistory',
|
|
12581
|
+
defs: {
|
|
12582
|
+
main: {
|
|
12583
|
+
type: 'query',
|
|
12584
|
+
description:
|
|
12585
|
+
'Get account history, e.g. log of updated email addresses or other identity information.',
|
|
12586
|
+
parameters: {
|
|
12587
|
+
type: 'params',
|
|
12588
|
+
required: ['did'],
|
|
12589
|
+
properties: {
|
|
12590
|
+
did: {
|
|
12591
|
+
type: 'string',
|
|
12592
|
+
format: 'did',
|
|
12593
|
+
},
|
|
12594
|
+
events: {
|
|
12595
|
+
type: 'array',
|
|
12596
|
+
items: {
|
|
12597
|
+
type: 'string',
|
|
12598
|
+
knownValues: [
|
|
12599
|
+
'accountCreated',
|
|
12600
|
+
'emailUpdated',
|
|
12601
|
+
'emailConfirmed',
|
|
12602
|
+
'passwordUpdated',
|
|
12603
|
+
'handleUpdated',
|
|
12604
|
+
],
|
|
12605
|
+
},
|
|
12606
|
+
},
|
|
12607
|
+
cursor: {
|
|
12608
|
+
type: 'string',
|
|
12609
|
+
},
|
|
12610
|
+
limit: {
|
|
12611
|
+
type: 'integer',
|
|
12612
|
+
minimum: 1,
|
|
12613
|
+
maximum: 100,
|
|
12614
|
+
default: 50,
|
|
12615
|
+
},
|
|
12616
|
+
},
|
|
12617
|
+
},
|
|
12618
|
+
output: {
|
|
12619
|
+
encoding: 'application/json',
|
|
12620
|
+
schema: {
|
|
12621
|
+
type: 'object',
|
|
12622
|
+
required: ['events'],
|
|
12623
|
+
properties: {
|
|
12624
|
+
cursor: {
|
|
12625
|
+
type: 'string',
|
|
12626
|
+
},
|
|
12627
|
+
events: {
|
|
12628
|
+
type: 'array',
|
|
12629
|
+
items: {
|
|
12630
|
+
type: 'ref',
|
|
12631
|
+
ref: 'lex:tools.ozone.hosting.getAccountHistory#event',
|
|
12632
|
+
},
|
|
12633
|
+
},
|
|
12634
|
+
},
|
|
12635
|
+
},
|
|
12636
|
+
},
|
|
12637
|
+
},
|
|
12638
|
+
event: {
|
|
12639
|
+
type: 'object',
|
|
12640
|
+
required: ['details', 'createdBy', 'createdAt'],
|
|
12641
|
+
properties: {
|
|
12642
|
+
details: {
|
|
12643
|
+
type: 'union',
|
|
12644
|
+
refs: [
|
|
12645
|
+
'lex:tools.ozone.hosting.getAccountHistory#accountCreated',
|
|
12646
|
+
'lex:tools.ozone.hosting.getAccountHistory#emailUpdated',
|
|
12647
|
+
'lex:tools.ozone.hosting.getAccountHistory#emailConfirmed',
|
|
12648
|
+
'lex:tools.ozone.hosting.getAccountHistory#passwordUpdated',
|
|
12649
|
+
'lex:tools.ozone.hosting.getAccountHistory#handleUpdated',
|
|
12650
|
+
],
|
|
12651
|
+
},
|
|
12652
|
+
createdBy: {
|
|
12653
|
+
type: 'string',
|
|
12654
|
+
},
|
|
12655
|
+
createdAt: {
|
|
12656
|
+
type: 'string',
|
|
12657
|
+
format: 'datetime',
|
|
12658
|
+
},
|
|
12659
|
+
},
|
|
12660
|
+
},
|
|
12661
|
+
accountCreated: {
|
|
12662
|
+
type: 'object',
|
|
12663
|
+
required: [],
|
|
12664
|
+
properties: {
|
|
12665
|
+
email: {
|
|
12666
|
+
type: 'string',
|
|
12667
|
+
},
|
|
12668
|
+
handle: {
|
|
12669
|
+
type: 'string',
|
|
12670
|
+
format: 'handle',
|
|
12671
|
+
},
|
|
12672
|
+
},
|
|
12673
|
+
},
|
|
12674
|
+
emailUpdated: {
|
|
12675
|
+
type: 'object',
|
|
12676
|
+
required: ['email'],
|
|
12677
|
+
properties: {
|
|
12678
|
+
email: {
|
|
12679
|
+
type: 'string',
|
|
12680
|
+
},
|
|
12681
|
+
},
|
|
12682
|
+
},
|
|
12683
|
+
emailConfirmed: {
|
|
12684
|
+
type: 'object',
|
|
12685
|
+
required: ['email'],
|
|
12686
|
+
properties: {
|
|
12687
|
+
email: {
|
|
12688
|
+
type: 'string',
|
|
12689
|
+
},
|
|
12690
|
+
},
|
|
12691
|
+
},
|
|
12692
|
+
passwordUpdated: {
|
|
12693
|
+
type: 'object',
|
|
12694
|
+
required: [],
|
|
12695
|
+
properties: {},
|
|
12696
|
+
},
|
|
12697
|
+
handleUpdated: {
|
|
12698
|
+
type: 'object',
|
|
12699
|
+
required: ['handle'],
|
|
12700
|
+
properties: {
|
|
12701
|
+
handle: {
|
|
12702
|
+
type: 'string',
|
|
12703
|
+
format: 'handle',
|
|
12704
|
+
},
|
|
12705
|
+
},
|
|
12706
|
+
},
|
|
12707
|
+
},
|
|
12708
|
+
},
|
|
12566
12709
|
ToolsOzoneModerationDefs: {
|
|
12567
12710
|
lexicon: 1,
|
|
12568
12711
|
id: 'tools.ozone.moderation.defs',
|
|
@@ -15669,6 +15812,7 @@ export const ids = {
|
|
|
15669
15812
|
AppBskyLabelerDefs: 'app.bsky.labeler.defs',
|
|
15670
15813
|
AppBskyLabelerGetServices: 'app.bsky.labeler.getServices',
|
|
15671
15814
|
AppBskyLabelerService: 'app.bsky.labeler.service',
|
|
15815
|
+
AppBskyNotificationDefs: 'app.bsky.notification.defs',
|
|
15672
15816
|
AppBskyNotificationGetUnreadCount: 'app.bsky.notification.getUnreadCount',
|
|
15673
15817
|
AppBskyNotificationListNotifications:
|
|
15674
15818
|
'app.bsky.notification.listNotifications',
|
|
@@ -15740,6 +15884,7 @@ export const ids = {
|
|
|
15740
15884
|
'tools.ozone.communication.listTemplates',
|
|
15741
15885
|
ToolsOzoneCommunicationUpdateTemplate:
|
|
15742
15886
|
'tools.ozone.communication.updateTemplate',
|
|
15887
|
+
ToolsOzoneHostingGetAccountHistory: 'tools.ozone.hosting.getAccountHistory',
|
|
15743
15888
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
|
15744
15889
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|
|
15745
15890
|
ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent',
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import {
|
|
8
|
+
type $Typed,
|
|
9
|
+
is$typed as _is$typed,
|
|
10
|
+
type OmitKey,
|
|
11
|
+
} from '../../../../util'
|
|
12
|
+
|
|
13
|
+
const is$typed = _is$typed,
|
|
14
|
+
validate = _validate
|
|
15
|
+
const id = 'app.bsky.notification.defs'
|
|
16
|
+
|
|
17
|
+
export interface RecordDeleted {
|
|
18
|
+
$type?: 'app.bsky.notification.defs#recordDeleted'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const hashRecordDeleted = 'recordDeleted'
|
|
22
|
+
|
|
23
|
+
export function isRecordDeleted<V>(v: V) {
|
|
24
|
+
return is$typed(v, id, hashRecordDeleted)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export function validateRecordDeleted<V>(v: V) {
|
|
28
|
+
return validate<RecordDeleted & V>(v, id, hashRecordDeleted)
|
|
29
|
+
}
|
|
@@ -55,7 +55,7 @@ export interface Notification {
|
|
|
55
55
|
uri: string
|
|
56
56
|
cid: string
|
|
57
57
|
author: AppBskyActorDefs.ProfileView
|
|
58
|
-
/** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote',
|
|
58
|
+
/** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', and 'unverified'. */
|
|
59
59
|
reason:
|
|
60
60
|
| 'like'
|
|
61
61
|
| 'repost'
|
|
@@ -64,6 +64,8 @@ export interface Notification {
|
|
|
64
64
|
| 'reply'
|
|
65
65
|
| 'quote'
|
|
66
66
|
| 'starterpack-joined'
|
|
67
|
+
| 'verified'
|
|
68
|
+
| 'unverified'
|
|
67
69
|
| (string & {})
|
|
68
70
|
reasonSubject?: string
|
|
69
71
|
record: { [_ in string]: unknown }
|
|
@@ -25,7 +25,7 @@ export interface ProfileViewBasic {
|
|
|
25
25
|
associated?: AppBskyActorDefs.ProfileAssociated
|
|
26
26
|
viewer?: AppBskyActorDefs.ViewerState
|
|
27
27
|
labels?: ComAtprotoLabelDefs.Label[]
|
|
28
|
-
/** Set to true when the actor cannot actively participate in
|
|
28
|
+
/** Set to true when the actor cannot actively participate in conversations */
|
|
29
29
|
chatDisabled?: boolean
|
|
30
30
|
verification?: AppBskyActorDefs.VerificationState
|
|
31
31
|
}
|