@atcute/client 2.0.9 → 3.0.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.
- package/dist/credential-manager.d.ts +4 -4
- package/dist/lexicons.d.ts +394 -148
- package/dist/rpc.d.ts +1 -1
- package/lib/credential-manager.ts +4 -4
- package/lib/lexicons.ts +314 -153
- package/lib/rpc.ts +1 -1
- package/package.json +3 -3
package/lib/lexicons.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
type ObjectOmit<T, K extends keyof any> = Omit<T, K>;
|
|
10
10
|
|
|
11
|
-
/**
|
|
11
|
+
/** handles type branding in objects */
|
|
12
12
|
export declare namespace Brand {
|
|
13
13
|
/** Symbol used to brand objects, this does not actually exist in runtime */
|
|
14
14
|
const Type: unique symbol;
|
|
@@ -23,31 +23,88 @@ export declare namespace Brand {
|
|
|
23
23
|
type Omit<T extends { [Type]?: string }> = ObjectOmit<T, typeof Type>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
/**
|
|
26
|
+
/** base AT Protocol schema types */
|
|
27
27
|
export declare namespace At {
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
28
|
+
/**
|
|
29
|
+
* represents a Content Identifier (CID) string
|
|
30
|
+
*/
|
|
31
|
+
type Cid = string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* represents a Decentralized Identifier (DID).
|
|
35
|
+
*/
|
|
36
|
+
type Did<Method extends string = string> = `did:${Method}:${string}`;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* represents an account's handle, using domains as a human-friendly
|
|
40
|
+
* identifier.
|
|
41
|
+
*/
|
|
42
|
+
type Handle = `${string}.${string}`;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* represents an account's identifier, either a {@link Did} or a
|
|
46
|
+
* {@link Handle}
|
|
47
|
+
*/
|
|
48
|
+
type Identifier = Did | Handle;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* represents a Namespace Identifier (NSID)
|
|
52
|
+
*/
|
|
53
|
+
type Nsid = `${string}.${string}.${string}`;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* represents the unique key identifying a specific record within a
|
|
57
|
+
* repository's collection. this is usually a {@link Tid}.
|
|
58
|
+
*/
|
|
59
|
+
type RecordKey = string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* represents a Timestamp Identifier (TID)
|
|
63
|
+
*/
|
|
64
|
+
type Tid = string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* represents a general AT Protocol URI, representing either an entire
|
|
68
|
+
* repository, a specific collection within a repository, or a record.
|
|
69
|
+
*
|
|
70
|
+
* it allows using handles over DIDs, but this means that it won't be stable.
|
|
71
|
+
*/
|
|
72
|
+
type ResourceUri =
|
|
73
|
+
| `at://${Identifier}`
|
|
74
|
+
| `at://${Identifier}/${Nsid}`
|
|
75
|
+
| `at://${Identifier}/${Nsid}/${RecordKey}`;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* represents a canonical AT Protocol URI for a specific record.
|
|
79
|
+
*
|
|
80
|
+
* this URI format uses the account's DID as the authority, ensuring that
|
|
81
|
+
* the URI remains valid even as the account changes handles, uniquely
|
|
82
|
+
* identifying a specific piece of record within AT Protocol.
|
|
83
|
+
*/
|
|
84
|
+
type CanonicalResourceUri = `at://${Did}/${Nsid}/${RecordKey}`;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* represents a generic URI
|
|
88
|
+
*/
|
|
89
|
+
type GenericUri = `${string}:${string}`;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* represents a Content Identifier (CID) reference
|
|
93
|
+
*/
|
|
94
|
+
interface CidLink {
|
|
95
|
+
$link: Cid;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* represents an object containing raw binary data encoded as a base64 string
|
|
100
|
+
*/
|
|
46
101
|
interface Bytes {
|
|
47
102
|
$bytes: string;
|
|
48
103
|
}
|
|
49
104
|
|
|
50
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* represents a reference to a data blob
|
|
107
|
+
*/
|
|
51
108
|
interface Blob<T extends string = string> {
|
|
52
109
|
$type: 'blob';
|
|
53
110
|
mimeType: T;
|
|
@@ -60,7 +117,7 @@ export declare namespace At {
|
|
|
60
117
|
export declare namespace ComAtprotoAdminDefs {
|
|
61
118
|
interface AccountView {
|
|
62
119
|
[Brand.Type]?: 'com.atproto.admin.defs#accountView';
|
|
63
|
-
did: At.
|
|
120
|
+
did: At.Did;
|
|
64
121
|
handle: At.Handle;
|
|
65
122
|
indexedAt: string;
|
|
66
123
|
deactivatedAt?: string;
|
|
@@ -75,13 +132,13 @@ export declare namespace ComAtprotoAdminDefs {
|
|
|
75
132
|
}
|
|
76
133
|
interface RepoBlobRef {
|
|
77
134
|
[Brand.Type]?: 'com.atproto.admin.defs#repoBlobRef';
|
|
78
|
-
cid: At.
|
|
79
|
-
did: At.
|
|
80
|
-
recordUri?: At.
|
|
135
|
+
cid: At.Cid;
|
|
136
|
+
did: At.Did;
|
|
137
|
+
recordUri?: At.ResourceUri;
|
|
81
138
|
}
|
|
82
139
|
interface RepoRef {
|
|
83
140
|
[Brand.Type]?: 'com.atproto.admin.defs#repoRef';
|
|
84
|
-
did: At.
|
|
141
|
+
did: At.Did;
|
|
85
142
|
}
|
|
86
143
|
interface StatusAttr {
|
|
87
144
|
[Brand.Type]?: 'com.atproto.admin.defs#statusAttr';
|
|
@@ -99,7 +156,7 @@ export declare namespace ComAtprotoAdminDefs {
|
|
|
99
156
|
export declare namespace ComAtprotoAdminDeleteAccount {
|
|
100
157
|
interface Params {}
|
|
101
158
|
interface Input {
|
|
102
|
-
did: At.
|
|
159
|
+
did: At.Did;
|
|
103
160
|
}
|
|
104
161
|
type Output = undefined;
|
|
105
162
|
}
|
|
@@ -108,7 +165,7 @@ export declare namespace ComAtprotoAdminDeleteAccount {
|
|
|
108
165
|
export declare namespace ComAtprotoAdminDisableAccountInvites {
|
|
109
166
|
interface Params {}
|
|
110
167
|
interface Input {
|
|
111
|
-
account: At.
|
|
168
|
+
account: At.Did;
|
|
112
169
|
/** Optional reason for disabled invites. */
|
|
113
170
|
note?: string;
|
|
114
171
|
}
|
|
@@ -129,7 +186,7 @@ export declare namespace ComAtprotoAdminDisableInviteCodes {
|
|
|
129
186
|
export declare namespace ComAtprotoAdminEnableAccountInvites {
|
|
130
187
|
interface Params {}
|
|
131
188
|
interface Input {
|
|
132
|
-
account: At.
|
|
189
|
+
account: At.Did;
|
|
133
190
|
/** Optional reason for enabled invites. */
|
|
134
191
|
note?: string;
|
|
135
192
|
}
|
|
@@ -139,7 +196,7 @@ export declare namespace ComAtprotoAdminEnableAccountInvites {
|
|
|
139
196
|
/** Get details about an account. */
|
|
140
197
|
export declare namespace ComAtprotoAdminGetAccountInfo {
|
|
141
198
|
interface Params {
|
|
142
|
-
did: At.
|
|
199
|
+
did: At.Did;
|
|
143
200
|
}
|
|
144
201
|
type Input = undefined;
|
|
145
202
|
type Output = ComAtprotoAdminDefs.AccountView;
|
|
@@ -148,7 +205,7 @@ export declare namespace ComAtprotoAdminGetAccountInfo {
|
|
|
148
205
|
/** Get details about some accounts. */
|
|
149
206
|
export declare namespace ComAtprotoAdminGetAccountInfos {
|
|
150
207
|
interface Params {
|
|
151
|
-
dids: At.
|
|
208
|
+
dids: At.Did[];
|
|
152
209
|
}
|
|
153
210
|
type Input = undefined;
|
|
154
211
|
interface Output {
|
|
@@ -179,9 +236,9 @@ export declare namespace ComAtprotoAdminGetInviteCodes {
|
|
|
179
236
|
/** Get the service-specific admin status of a subject (account, record, or blob). */
|
|
180
237
|
export declare namespace ComAtprotoAdminGetSubjectStatus {
|
|
181
238
|
interface Params {
|
|
182
|
-
blob?: At.
|
|
183
|
-
did?: At.
|
|
184
|
-
uri?: At.
|
|
239
|
+
blob?: At.Cid;
|
|
240
|
+
did?: At.Did;
|
|
241
|
+
uri?: At.ResourceUri;
|
|
185
242
|
}
|
|
186
243
|
type Input = undefined;
|
|
187
244
|
interface Output {
|
|
@@ -217,8 +274,8 @@ export declare namespace ComAtprotoAdminSendEmail {
|
|
|
217
274
|
interface Params {}
|
|
218
275
|
interface Input {
|
|
219
276
|
content: string;
|
|
220
|
-
recipientDid: At.
|
|
221
|
-
senderDid: At.
|
|
277
|
+
recipientDid: At.Did;
|
|
278
|
+
senderDid: At.Did;
|
|
222
279
|
/** Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers */
|
|
223
280
|
comment?: string;
|
|
224
281
|
subject?: string;
|
|
@@ -233,7 +290,7 @@ export declare namespace ComAtprotoAdminUpdateAccountEmail {
|
|
|
233
290
|
interface Params {}
|
|
234
291
|
interface Input {
|
|
235
292
|
/** The handle or DID of the repo. */
|
|
236
|
-
account:
|
|
293
|
+
account: At.Identifier;
|
|
237
294
|
email: string;
|
|
238
295
|
}
|
|
239
296
|
type Output = undefined;
|
|
@@ -243,7 +300,7 @@ export declare namespace ComAtprotoAdminUpdateAccountEmail {
|
|
|
243
300
|
export declare namespace ComAtprotoAdminUpdateAccountHandle {
|
|
244
301
|
interface Params {}
|
|
245
302
|
interface Input {
|
|
246
|
-
did: At.
|
|
303
|
+
did: At.Did;
|
|
247
304
|
handle: At.Handle;
|
|
248
305
|
}
|
|
249
306
|
type Output = undefined;
|
|
@@ -253,7 +310,7 @@ export declare namespace ComAtprotoAdminUpdateAccountHandle {
|
|
|
253
310
|
export declare namespace ComAtprotoAdminUpdateAccountPassword {
|
|
254
311
|
interface Params {}
|
|
255
312
|
interface Input {
|
|
256
|
-
did: At.
|
|
313
|
+
did: At.Did;
|
|
257
314
|
password: string;
|
|
258
315
|
}
|
|
259
316
|
type Output = undefined;
|
|
@@ -280,7 +337,7 @@ export declare namespace ComAtprotoAdminUpdateSubjectStatus {
|
|
|
280
337
|
export declare namespace ComAtprotoIdentityDefs {
|
|
281
338
|
interface IdentityInfo {
|
|
282
339
|
[Brand.Type]?: 'com.atproto.identity.defs#identityInfo';
|
|
283
|
-
did: At.
|
|
340
|
+
did: At.Did;
|
|
284
341
|
/** The complete DID document for the identity. */
|
|
285
342
|
didDoc: unknown;
|
|
286
343
|
/** The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document. */
|
|
@@ -305,7 +362,7 @@ export declare namespace ComAtprotoIdentityGetRecommendedDidCredentials {
|
|
|
305
362
|
export declare namespace ComAtprotoIdentityRefreshIdentity {
|
|
306
363
|
interface Params {}
|
|
307
364
|
interface Input {
|
|
308
|
-
identifier:
|
|
365
|
+
identifier: At.Identifier;
|
|
309
366
|
}
|
|
310
367
|
type Output = ComAtprotoIdentityDefs.IdentityInfo;
|
|
311
368
|
interface Errors {
|
|
@@ -326,7 +383,7 @@ export declare namespace ComAtprotoIdentityRequestPlcOperationSignature {
|
|
|
326
383
|
export declare namespace ComAtprotoIdentityResolveDid {
|
|
327
384
|
interface Params {
|
|
328
385
|
/** DID to resolve. */
|
|
329
|
-
did: At.
|
|
386
|
+
did: At.Did;
|
|
330
387
|
}
|
|
331
388
|
type Input = undefined;
|
|
332
389
|
interface Output {
|
|
@@ -347,7 +404,7 @@ export declare namespace ComAtprotoIdentityResolveHandle {
|
|
|
347
404
|
}
|
|
348
405
|
type Input = undefined;
|
|
349
406
|
interface Output {
|
|
350
|
-
did: At.
|
|
407
|
+
did: At.Did;
|
|
351
408
|
}
|
|
352
409
|
interface Errors {
|
|
353
410
|
HandleNotFound: {};
|
|
@@ -358,7 +415,7 @@ export declare namespace ComAtprotoIdentityResolveHandle {
|
|
|
358
415
|
export declare namespace ComAtprotoIdentityResolveIdentity {
|
|
359
416
|
interface Params {
|
|
360
417
|
/** Handle or DID to resolve. */
|
|
361
|
-
identifier:
|
|
418
|
+
identifier: At.Identifier;
|
|
362
419
|
}
|
|
363
420
|
type Input = undefined;
|
|
364
421
|
type Output = ComAtprotoIdentityDefs.IdentityInfo;
|
|
@@ -412,16 +469,16 @@ export declare namespace ComAtprotoLabelDefs {
|
|
|
412
469
|
/** Timestamp when this label was created. */
|
|
413
470
|
cts: string;
|
|
414
471
|
/** DID of the actor who created this label. */
|
|
415
|
-
src: At.
|
|
472
|
+
src: At.Did;
|
|
416
473
|
/** AT URI of the record, repository (account), or other resource that this label applies to. */
|
|
417
|
-
uri:
|
|
474
|
+
uri: At.GenericUri;
|
|
418
475
|
/**
|
|
419
476
|
* The short string name of the value or type of this label. \
|
|
420
477
|
* Maximum string length: 128
|
|
421
478
|
*/
|
|
422
479
|
val: string;
|
|
423
480
|
/** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */
|
|
424
|
-
cid?: At.
|
|
481
|
+
cid?: At.Cid;
|
|
425
482
|
/** Timestamp at which this label expires (no longer applies). */
|
|
426
483
|
exp?: string;
|
|
427
484
|
/** If true, this is a negation label, overwriting a previous label. */
|
|
@@ -514,7 +571,7 @@ export declare namespace ComAtprotoLabelQueryLabels {
|
|
|
514
571
|
*/
|
|
515
572
|
limit?: number;
|
|
516
573
|
/** Optional list of label sources (DIDs) to filter on. */
|
|
517
|
-
sources?: At.
|
|
574
|
+
sources?: At.Did[];
|
|
518
575
|
}
|
|
519
576
|
type Input = undefined;
|
|
520
577
|
interface Output {
|
|
@@ -563,7 +620,7 @@ export declare namespace ComAtprotoModerationCreateReport {
|
|
|
563
620
|
createdAt: string;
|
|
564
621
|
id: number;
|
|
565
622
|
reasonType: ComAtprotoModerationDefs.ReasonType;
|
|
566
|
-
reportedBy: At.
|
|
623
|
+
reportedBy: At.Did;
|
|
567
624
|
subject: Brand.Union<ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main>;
|
|
568
625
|
/**
|
|
569
626
|
* Maximum string length: 20000 \
|
|
@@ -599,10 +656,10 @@ export declare namespace ComAtprotoRepoApplyWrites {
|
|
|
599
656
|
interface Params {}
|
|
600
657
|
interface Input {
|
|
601
658
|
/** The handle or DID of the repo (aka, current account). */
|
|
602
|
-
repo:
|
|
659
|
+
repo: At.Identifier;
|
|
603
660
|
writes: Brand.Union<Create | Delete | Update>[];
|
|
604
661
|
/** If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations. */
|
|
605
|
-
swapCommit?: At.
|
|
662
|
+
swapCommit?: At.Cid;
|
|
606
663
|
/** Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons. */
|
|
607
664
|
validate?: boolean;
|
|
608
665
|
}
|
|
@@ -616,22 +673,22 @@ export declare namespace ComAtprotoRepoApplyWrites {
|
|
|
616
673
|
/** Operation which creates a new record. */
|
|
617
674
|
interface Create {
|
|
618
675
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#create';
|
|
619
|
-
collection:
|
|
676
|
+
collection: At.Nsid;
|
|
620
677
|
value: unknown;
|
|
621
678
|
/** NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility. */
|
|
622
|
-
rkey?:
|
|
679
|
+
rkey?: At.RecordKey;
|
|
623
680
|
}
|
|
624
681
|
interface CreateResult {
|
|
625
682
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#createResult';
|
|
626
|
-
cid: At.
|
|
627
|
-
uri: At.
|
|
683
|
+
cid: At.Cid;
|
|
684
|
+
uri: At.ResourceUri;
|
|
628
685
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
629
686
|
}
|
|
630
687
|
/** Operation which deletes an existing record. */
|
|
631
688
|
interface Delete {
|
|
632
689
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#delete';
|
|
633
|
-
collection:
|
|
634
|
-
rkey:
|
|
690
|
+
collection: At.Nsid;
|
|
691
|
+
rkey: At.RecordKey;
|
|
635
692
|
}
|
|
636
693
|
interface DeleteResult {
|
|
637
694
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#deleteResult';
|
|
@@ -639,14 +696,14 @@ export declare namespace ComAtprotoRepoApplyWrites {
|
|
|
639
696
|
/** Operation which updates an existing record. */
|
|
640
697
|
interface Update {
|
|
641
698
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#update';
|
|
642
|
-
collection:
|
|
643
|
-
rkey:
|
|
699
|
+
collection: At.Nsid;
|
|
700
|
+
rkey: At.RecordKey;
|
|
644
701
|
value: unknown;
|
|
645
702
|
}
|
|
646
703
|
interface UpdateResult {
|
|
647
704
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#updateResult';
|
|
648
|
-
cid: At.
|
|
649
|
-
uri: At.
|
|
705
|
+
cid: At.Cid;
|
|
706
|
+
uri: At.ResourceUri;
|
|
650
707
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
651
708
|
}
|
|
652
709
|
}
|
|
@@ -656,21 +713,21 @@ export declare namespace ComAtprotoRepoCreateRecord {
|
|
|
656
713
|
interface Params {}
|
|
657
714
|
interface Input {
|
|
658
715
|
/** The NSID of the record collection. */
|
|
659
|
-
collection:
|
|
716
|
+
collection: At.Nsid;
|
|
660
717
|
/** The record itself. Must contain a $type field. */
|
|
661
718
|
record: unknown;
|
|
662
719
|
/** The handle or DID of the repo (aka, current account). */
|
|
663
|
-
repo:
|
|
720
|
+
repo: At.Identifier;
|
|
664
721
|
/** The Record Key. */
|
|
665
|
-
rkey?:
|
|
722
|
+
rkey?: At.RecordKey;
|
|
666
723
|
/** Compare and swap with the previous commit by CID. */
|
|
667
|
-
swapCommit?: At.
|
|
724
|
+
swapCommit?: At.Cid;
|
|
668
725
|
/** Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons. */
|
|
669
726
|
validate?: boolean;
|
|
670
727
|
}
|
|
671
728
|
interface Output {
|
|
672
|
-
cid: At.
|
|
673
|
-
uri: At.
|
|
729
|
+
cid: At.Cid;
|
|
730
|
+
uri: At.ResourceUri;
|
|
674
731
|
commit?: ComAtprotoRepoDefs.CommitMeta;
|
|
675
732
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
676
733
|
}
|
|
@@ -682,8 +739,8 @@ export declare namespace ComAtprotoRepoCreateRecord {
|
|
|
682
739
|
export declare namespace ComAtprotoRepoDefs {
|
|
683
740
|
interface CommitMeta {
|
|
684
741
|
[Brand.Type]?: 'com.atproto.repo.defs#commitMeta';
|
|
685
|
-
cid: At.
|
|
686
|
-
rev:
|
|
742
|
+
cid: At.Cid;
|
|
743
|
+
rev: At.Tid;
|
|
687
744
|
}
|
|
688
745
|
}
|
|
689
746
|
|
|
@@ -692,15 +749,15 @@ export declare namespace ComAtprotoRepoDeleteRecord {
|
|
|
692
749
|
interface Params {}
|
|
693
750
|
interface Input {
|
|
694
751
|
/** The NSID of the record collection. */
|
|
695
|
-
collection:
|
|
752
|
+
collection: At.Nsid;
|
|
696
753
|
/** The handle or DID of the repo (aka, current account). */
|
|
697
|
-
repo:
|
|
754
|
+
repo: At.Identifier;
|
|
698
755
|
/** The Record Key. */
|
|
699
|
-
rkey:
|
|
756
|
+
rkey: At.RecordKey;
|
|
700
757
|
/** Compare and swap with the previous commit by CID. */
|
|
701
|
-
swapCommit?: At.
|
|
758
|
+
swapCommit?: At.Cid;
|
|
702
759
|
/** Compare and swap with the previous record by CID. */
|
|
703
|
-
swapRecord?: At.
|
|
760
|
+
swapRecord?: At.Cid;
|
|
704
761
|
}
|
|
705
762
|
interface Output {
|
|
706
763
|
commit?: ComAtprotoRepoDefs.CommitMeta;
|
|
@@ -714,13 +771,13 @@ export declare namespace ComAtprotoRepoDeleteRecord {
|
|
|
714
771
|
export declare namespace ComAtprotoRepoDescribeRepo {
|
|
715
772
|
interface Params {
|
|
716
773
|
/** The handle or DID of the repo. */
|
|
717
|
-
repo:
|
|
774
|
+
repo: At.Identifier;
|
|
718
775
|
}
|
|
719
776
|
type Input = undefined;
|
|
720
777
|
interface Output {
|
|
721
778
|
/** List of all the collections (NSIDs) for which this repo contains at least one record. */
|
|
722
|
-
collections:
|
|
723
|
-
did: At.
|
|
779
|
+
collections: At.Nsid[];
|
|
780
|
+
did: At.Did;
|
|
724
781
|
/** The complete DID document for this account. */
|
|
725
782
|
didDoc: unknown;
|
|
726
783
|
handle: At.Handle;
|
|
@@ -733,19 +790,19 @@ export declare namespace ComAtprotoRepoDescribeRepo {
|
|
|
733
790
|
export declare namespace ComAtprotoRepoGetRecord {
|
|
734
791
|
interface Params {
|
|
735
792
|
/** The NSID of the record collection. */
|
|
736
|
-
collection:
|
|
793
|
+
collection: At.Nsid;
|
|
737
794
|
/** The handle or DID of the repo. */
|
|
738
|
-
repo:
|
|
795
|
+
repo: At.Identifier;
|
|
739
796
|
/** The Record Key. */
|
|
740
|
-
rkey:
|
|
797
|
+
rkey: At.RecordKey;
|
|
741
798
|
/** The CID of the version of the record. If not specified, then return the most recent version. */
|
|
742
|
-
cid?: At.
|
|
799
|
+
cid?: At.Cid;
|
|
743
800
|
}
|
|
744
801
|
type Input = undefined;
|
|
745
802
|
interface Output {
|
|
746
|
-
uri: At.
|
|
803
|
+
uri: At.ResourceUri;
|
|
747
804
|
value: unknown;
|
|
748
|
-
cid?: At.
|
|
805
|
+
cid?: At.Cid;
|
|
749
806
|
}
|
|
750
807
|
interface Errors {
|
|
751
808
|
RecordNotFound: {};
|
|
@@ -755,7 +812,7 @@ export declare namespace ComAtprotoRepoGetRecord {
|
|
|
755
812
|
/** Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set. */
|
|
756
813
|
export declare namespace ComAtprotoRepoImportRepo {
|
|
757
814
|
interface Params {}
|
|
758
|
-
type Input = Blob |
|
|
815
|
+
type Input = Blob | BufferSource | ReadableStream;
|
|
759
816
|
type Output = undefined;
|
|
760
817
|
}
|
|
761
818
|
|
|
@@ -777,8 +834,8 @@ export declare namespace ComAtprotoRepoListMissingBlobs {
|
|
|
777
834
|
}
|
|
778
835
|
interface RecordBlob {
|
|
779
836
|
[Brand.Type]?: 'com.atproto.repo.listMissingBlobs#recordBlob';
|
|
780
|
-
cid: At.
|
|
781
|
-
recordUri: At.
|
|
837
|
+
cid: At.Cid;
|
|
838
|
+
recordUri: At.ResourceUri;
|
|
782
839
|
}
|
|
783
840
|
}
|
|
784
841
|
|
|
@@ -786,9 +843,9 @@ export declare namespace ComAtprotoRepoListMissingBlobs {
|
|
|
786
843
|
export declare namespace ComAtprotoRepoListRecords {
|
|
787
844
|
interface Params {
|
|
788
845
|
/** The NSID of the record type. */
|
|
789
|
-
collection:
|
|
846
|
+
collection: At.Nsid;
|
|
790
847
|
/** The handle or DID of the repo. */
|
|
791
|
-
repo:
|
|
848
|
+
repo: At.Identifier;
|
|
792
849
|
cursor?: string;
|
|
793
850
|
/**
|
|
794
851
|
* The number of records to return. \
|
|
@@ -807,8 +864,8 @@ export declare namespace ComAtprotoRepoListRecords {
|
|
|
807
864
|
}
|
|
808
865
|
interface Record {
|
|
809
866
|
[Brand.Type]?: 'com.atproto.repo.listRecords#record';
|
|
810
|
-
cid: At.
|
|
811
|
-
uri: At.
|
|
867
|
+
cid: At.Cid;
|
|
868
|
+
uri: At.ResourceUri;
|
|
812
869
|
value: unknown;
|
|
813
870
|
}
|
|
814
871
|
}
|
|
@@ -818,23 +875,23 @@ export declare namespace ComAtprotoRepoPutRecord {
|
|
|
818
875
|
interface Params {}
|
|
819
876
|
interface Input {
|
|
820
877
|
/** The NSID of the record collection. */
|
|
821
|
-
collection:
|
|
878
|
+
collection: At.Nsid;
|
|
822
879
|
/** The record to write. */
|
|
823
880
|
record: unknown;
|
|
824
881
|
/** The handle or DID of the repo (aka, current account). */
|
|
825
|
-
repo:
|
|
882
|
+
repo: At.Identifier;
|
|
826
883
|
/** The Record Key. */
|
|
827
|
-
rkey:
|
|
884
|
+
rkey: At.RecordKey;
|
|
828
885
|
/** Compare and swap with the previous commit by CID. */
|
|
829
|
-
swapCommit?: At.
|
|
886
|
+
swapCommit?: At.Cid;
|
|
830
887
|
/** Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation */
|
|
831
|
-
swapRecord?: At.
|
|
888
|
+
swapRecord?: At.Cid | null;
|
|
832
889
|
/** Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons. */
|
|
833
890
|
validate?: boolean;
|
|
834
891
|
}
|
|
835
892
|
interface Output {
|
|
836
|
-
cid: At.
|
|
837
|
-
uri: At.
|
|
893
|
+
cid: At.Cid;
|
|
894
|
+
uri: At.ResourceUri;
|
|
838
895
|
commit?: ComAtprotoRepoDefs.CommitMeta;
|
|
839
896
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
840
897
|
}
|
|
@@ -846,15 +903,15 @@ export declare namespace ComAtprotoRepoPutRecord {
|
|
|
846
903
|
export declare namespace ComAtprotoRepoStrongRef {
|
|
847
904
|
interface Main {
|
|
848
905
|
[Brand.Type]?: 'com.atproto.repo.strongRef';
|
|
849
|
-
cid: At.
|
|
850
|
-
uri: At.
|
|
906
|
+
cid: At.Cid;
|
|
907
|
+
uri: At.ResourceUri;
|
|
851
908
|
}
|
|
852
909
|
}
|
|
853
910
|
|
|
854
911
|
/** Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS. */
|
|
855
912
|
export declare namespace ComAtprotoRepoUploadBlob {
|
|
856
913
|
interface Params {}
|
|
857
|
-
type Input = Blob |
|
|
914
|
+
type Input = Blob | BufferSource | ReadableStream;
|
|
858
915
|
interface Output {
|
|
859
916
|
blob: At.Blob;
|
|
860
917
|
}
|
|
@@ -878,7 +935,7 @@ export declare namespace ComAtprotoServerCheckAccountStatus {
|
|
|
878
935
|
indexedRecords: number;
|
|
879
936
|
privateStateValues: number;
|
|
880
937
|
repoBlocks: number;
|
|
881
|
-
repoCommit: At.
|
|
938
|
+
repoCommit: At.Cid;
|
|
882
939
|
repoRev: string;
|
|
883
940
|
validDid: boolean;
|
|
884
941
|
}
|
|
@@ -907,7 +964,7 @@ export declare namespace ComAtprotoServerCreateAccount {
|
|
|
907
964
|
/** Requested handle for the account. */
|
|
908
965
|
handle: At.Handle;
|
|
909
966
|
/** Pre-existing atproto DID, being imported to a new account. */
|
|
910
|
-
did?: At.
|
|
967
|
+
did?: At.Did;
|
|
911
968
|
email?: string;
|
|
912
969
|
inviteCode?: string;
|
|
913
970
|
/** Initial account password. May need to meet instance-specific password strength requirements. */
|
|
@@ -923,7 +980,7 @@ export declare namespace ComAtprotoServerCreateAccount {
|
|
|
923
980
|
interface Output {
|
|
924
981
|
accessJwt: string;
|
|
925
982
|
/** The DID of the new account. */
|
|
926
|
-
did: At.
|
|
983
|
+
did: At.Did;
|
|
927
984
|
handle: At.Handle;
|
|
928
985
|
refreshJwt: string;
|
|
929
986
|
/** Complete DID document. */
|
|
@@ -967,7 +1024,7 @@ export declare namespace ComAtprotoServerCreateInviteCode {
|
|
|
967
1024
|
interface Params {}
|
|
968
1025
|
interface Input {
|
|
969
1026
|
useCount: number;
|
|
970
|
-
forAccount?: At.
|
|
1027
|
+
forAccount?: At.Did;
|
|
971
1028
|
}
|
|
972
1029
|
interface Output {
|
|
973
1030
|
code: string;
|
|
@@ -981,7 +1038,7 @@ export declare namespace ComAtprotoServerCreateInviteCodes {
|
|
|
981
1038
|
/** @default 1 */
|
|
982
1039
|
codeCount: number;
|
|
983
1040
|
useCount: number;
|
|
984
|
-
forAccounts?: At.
|
|
1041
|
+
forAccounts?: At.Did[];
|
|
985
1042
|
}
|
|
986
1043
|
interface Output {
|
|
987
1044
|
codes: AccountCodes[];
|
|
@@ -1006,7 +1063,7 @@ export declare namespace ComAtprotoServerCreateSession {
|
|
|
1006
1063
|
}
|
|
1007
1064
|
interface Output {
|
|
1008
1065
|
accessJwt: string;
|
|
1009
|
-
did: At.
|
|
1066
|
+
did: At.Did;
|
|
1010
1067
|
handle: At.Handle;
|
|
1011
1068
|
refreshJwt: string;
|
|
1012
1069
|
active?: boolean;
|
|
@@ -1047,7 +1104,7 @@ export declare namespace ComAtprotoServerDefs {
|
|
|
1047
1104
|
interface InviteCodeUse {
|
|
1048
1105
|
[Brand.Type]?: 'com.atproto.server.defs#inviteCodeUse';
|
|
1049
1106
|
usedAt: string;
|
|
1050
|
-
usedBy: At.
|
|
1107
|
+
usedBy: At.Did;
|
|
1051
1108
|
}
|
|
1052
1109
|
}
|
|
1053
1110
|
|
|
@@ -1055,7 +1112,7 @@ export declare namespace ComAtprotoServerDefs {
|
|
|
1055
1112
|
export declare namespace ComAtprotoServerDeleteAccount {
|
|
1056
1113
|
interface Params {}
|
|
1057
1114
|
interface Input {
|
|
1058
|
-
did: At.
|
|
1115
|
+
did: At.Did;
|
|
1059
1116
|
password: string;
|
|
1060
1117
|
token: string;
|
|
1061
1118
|
}
|
|
@@ -1080,7 +1137,7 @@ export declare namespace ComAtprotoServerDescribeServer {
|
|
|
1080
1137
|
interface Output {
|
|
1081
1138
|
/** List of domain suffixes that can be used in account handles. */
|
|
1082
1139
|
availableUserDomains: string[];
|
|
1083
|
-
did: At.
|
|
1140
|
+
did: At.Did;
|
|
1084
1141
|
/** Contact information */
|
|
1085
1142
|
contact?: Contact;
|
|
1086
1143
|
/** If true, an invite code must be supplied to create an account on this instance. */
|
|
@@ -1096,8 +1153,8 @@ export declare namespace ComAtprotoServerDescribeServer {
|
|
|
1096
1153
|
}
|
|
1097
1154
|
interface Links {
|
|
1098
1155
|
[Brand.Type]?: 'com.atproto.server.describeServer#links';
|
|
1099
|
-
privacyPolicy?:
|
|
1100
|
-
termsOfService?:
|
|
1156
|
+
privacyPolicy?: At.GenericUri;
|
|
1157
|
+
termsOfService?: At.GenericUri;
|
|
1101
1158
|
}
|
|
1102
1159
|
}
|
|
1103
1160
|
|
|
@@ -1125,11 +1182,11 @@ export declare namespace ComAtprotoServerGetAccountInviteCodes {
|
|
|
1125
1182
|
export declare namespace ComAtprotoServerGetServiceAuth {
|
|
1126
1183
|
interface Params {
|
|
1127
1184
|
/** The DID of the service that the token will be used to authenticate with */
|
|
1128
|
-
aud: At.
|
|
1185
|
+
aud: At.Did;
|
|
1129
1186
|
/** The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope. */
|
|
1130
1187
|
exp?: number;
|
|
1131
1188
|
/** Lexicon (XRPC) method to bind the requested token to */
|
|
1132
|
-
lxm?:
|
|
1189
|
+
lxm?: At.Nsid;
|
|
1133
1190
|
}
|
|
1134
1191
|
type Input = undefined;
|
|
1135
1192
|
interface Output {
|
|
@@ -1145,7 +1202,7 @@ export declare namespace ComAtprotoServerGetSession {
|
|
|
1145
1202
|
interface Params {}
|
|
1146
1203
|
type Input = undefined;
|
|
1147
1204
|
interface Output {
|
|
1148
|
-
did: At.
|
|
1205
|
+
did: At.Did;
|
|
1149
1206
|
handle: At.Handle;
|
|
1150
1207
|
active?: boolean;
|
|
1151
1208
|
didDoc?: unknown;
|
|
@@ -1181,7 +1238,7 @@ export declare namespace ComAtprotoServerRefreshSession {
|
|
|
1181
1238
|
type Input = undefined;
|
|
1182
1239
|
interface Output {
|
|
1183
1240
|
accessJwt: string;
|
|
1184
|
-
did: At.
|
|
1241
|
+
did: At.Did;
|
|
1185
1242
|
handle: At.Handle;
|
|
1186
1243
|
refreshJwt: string;
|
|
1187
1244
|
active?: boolean;
|
|
@@ -1231,7 +1288,7 @@ export declare namespace ComAtprotoServerReserveSigningKey {
|
|
|
1231
1288
|
interface Params {}
|
|
1232
1289
|
interface Input {
|
|
1233
1290
|
/** The DID to reserve a key for. */
|
|
1234
|
-
did?: At.
|
|
1291
|
+
did?: At.Did;
|
|
1235
1292
|
}
|
|
1236
1293
|
interface Output {
|
|
1237
1294
|
/** The public key for the reserved signing key, in did:key serialization. */
|
|
@@ -1283,9 +1340,9 @@ export declare namespace ComAtprotoServerUpdateEmail {
|
|
|
1283
1340
|
export declare namespace ComAtprotoSyncGetBlob {
|
|
1284
1341
|
interface Params {
|
|
1285
1342
|
/** The CID of the blob to fetch */
|
|
1286
|
-
cid: At.
|
|
1343
|
+
cid: At.Cid;
|
|
1287
1344
|
/** The DID of the account. */
|
|
1288
|
-
did: At.
|
|
1345
|
+
did: At.Did;
|
|
1289
1346
|
}
|
|
1290
1347
|
type Input = undefined;
|
|
1291
1348
|
type Output = Uint8Array;
|
|
@@ -1301,9 +1358,9 @@ export declare namespace ComAtprotoSyncGetBlob {
|
|
|
1301
1358
|
/** Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS. */
|
|
1302
1359
|
export declare namespace ComAtprotoSyncGetBlocks {
|
|
1303
1360
|
interface Params {
|
|
1304
|
-
cids: At.
|
|
1361
|
+
cids: At.Cid[];
|
|
1305
1362
|
/** The DID of the repo. */
|
|
1306
|
-
did: At.
|
|
1363
|
+
did: At.Did;
|
|
1307
1364
|
}
|
|
1308
1365
|
type Input = undefined;
|
|
1309
1366
|
type Output = Uint8Array;
|
|
@@ -1323,7 +1380,7 @@ export declare namespace ComAtprotoSyncGetBlocks {
|
|
|
1323
1380
|
export declare namespace ComAtprotoSyncGetCheckout {
|
|
1324
1381
|
interface Params {
|
|
1325
1382
|
/** The DID of the repo. */
|
|
1326
|
-
did: At.
|
|
1383
|
+
did: At.Did;
|
|
1327
1384
|
}
|
|
1328
1385
|
type Input = undefined;
|
|
1329
1386
|
type Output = Uint8Array;
|
|
@@ -1336,11 +1393,11 @@ export declare namespace ComAtprotoSyncGetCheckout {
|
|
|
1336
1393
|
export declare namespace ComAtprotoSyncGetHead {
|
|
1337
1394
|
interface Params {
|
|
1338
1395
|
/** The DID of the repo. */
|
|
1339
|
-
did: At.
|
|
1396
|
+
did: At.Did;
|
|
1340
1397
|
}
|
|
1341
1398
|
type Input = undefined;
|
|
1342
1399
|
interface Output {
|
|
1343
|
-
root: At.
|
|
1400
|
+
root: At.Cid;
|
|
1344
1401
|
}
|
|
1345
1402
|
interface Errors {
|
|
1346
1403
|
HeadNotFound: {};
|
|
@@ -1351,12 +1408,12 @@ export declare namespace ComAtprotoSyncGetHead {
|
|
|
1351
1408
|
export declare namespace ComAtprotoSyncGetLatestCommit {
|
|
1352
1409
|
interface Params {
|
|
1353
1410
|
/** The DID of the repo. */
|
|
1354
|
-
did: At.
|
|
1411
|
+
did: At.Did;
|
|
1355
1412
|
}
|
|
1356
1413
|
type Input = undefined;
|
|
1357
1414
|
interface Output {
|
|
1358
|
-
cid: At.
|
|
1359
|
-
rev:
|
|
1415
|
+
cid: At.Cid;
|
|
1416
|
+
rev: At.Tid;
|
|
1360
1417
|
}
|
|
1361
1418
|
interface Errors {
|
|
1362
1419
|
RepoNotFound: {};
|
|
@@ -1369,11 +1426,11 @@ export declare namespace ComAtprotoSyncGetLatestCommit {
|
|
|
1369
1426
|
/** Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth. */
|
|
1370
1427
|
export declare namespace ComAtprotoSyncGetRecord {
|
|
1371
1428
|
interface Params {
|
|
1372
|
-
collection:
|
|
1429
|
+
collection: At.Nsid;
|
|
1373
1430
|
/** The DID of the repo. */
|
|
1374
|
-
did: At.
|
|
1431
|
+
did: At.Did;
|
|
1375
1432
|
/** Record Key */
|
|
1376
|
-
rkey:
|
|
1433
|
+
rkey: At.RecordKey;
|
|
1377
1434
|
}
|
|
1378
1435
|
type Input = undefined;
|
|
1379
1436
|
type Output = Uint8Array;
|
|
@@ -1390,9 +1447,9 @@ export declare namespace ComAtprotoSyncGetRecord {
|
|
|
1390
1447
|
export declare namespace ComAtprotoSyncGetRepo {
|
|
1391
1448
|
interface Params {
|
|
1392
1449
|
/** The DID of the repo. */
|
|
1393
|
-
did: At.
|
|
1450
|
+
did: At.Did;
|
|
1394
1451
|
/** The revision ('rev') of the repo to create a diff from. */
|
|
1395
|
-
since?:
|
|
1452
|
+
since?: At.Tid;
|
|
1396
1453
|
}
|
|
1397
1454
|
type Input = undefined;
|
|
1398
1455
|
type Output = Uint8Array;
|
|
@@ -1408,14 +1465,14 @@ export declare namespace ComAtprotoSyncGetRepo {
|
|
|
1408
1465
|
export declare namespace ComAtprotoSyncGetRepoStatus {
|
|
1409
1466
|
interface Params {
|
|
1410
1467
|
/** The DID of the repo. */
|
|
1411
|
-
did: At.
|
|
1468
|
+
did: At.Did;
|
|
1412
1469
|
}
|
|
1413
1470
|
type Input = undefined;
|
|
1414
1471
|
interface Output {
|
|
1415
1472
|
active: boolean;
|
|
1416
|
-
did: At.
|
|
1473
|
+
did: At.Did;
|
|
1417
1474
|
/** Optional field, the current rev of the repo, if active=true */
|
|
1418
|
-
rev?:
|
|
1475
|
+
rev?: At.Tid;
|
|
1419
1476
|
/** If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */
|
|
1420
1477
|
status?:
|
|
1421
1478
|
| 'deactivated'
|
|
@@ -1435,7 +1492,7 @@ export declare namespace ComAtprotoSyncGetRepoStatus {
|
|
|
1435
1492
|
export declare namespace ComAtprotoSyncListBlobs {
|
|
1436
1493
|
interface Params {
|
|
1437
1494
|
/** The DID of the repo. */
|
|
1438
|
-
did: At.
|
|
1495
|
+
did: At.Did;
|
|
1439
1496
|
cursor?: string;
|
|
1440
1497
|
/**
|
|
1441
1498
|
* Minimum: 1 \
|
|
@@ -1444,11 +1501,11 @@ export declare namespace ComAtprotoSyncListBlobs {
|
|
|
1444
1501
|
*/
|
|
1445
1502
|
limit?: number;
|
|
1446
1503
|
/** Optional revision of the repo to list blobs since. */
|
|
1447
|
-
since?:
|
|
1504
|
+
since?: At.Tid;
|
|
1448
1505
|
}
|
|
1449
1506
|
type Input = undefined;
|
|
1450
1507
|
interface Output {
|
|
1451
|
-
cids: At.
|
|
1508
|
+
cids: At.Cid[];
|
|
1452
1509
|
cursor?: string;
|
|
1453
1510
|
}
|
|
1454
1511
|
interface Errors {
|
|
@@ -1477,10 +1534,10 @@ export declare namespace ComAtprotoSyncListRepos {
|
|
|
1477
1534
|
}
|
|
1478
1535
|
interface Repo {
|
|
1479
1536
|
[Brand.Type]?: 'com.atproto.sync.listRepos#repo';
|
|
1480
|
-
did: At.
|
|
1537
|
+
did: At.Did;
|
|
1481
1538
|
/** Current repo commit CID */
|
|
1482
|
-
head: At.
|
|
1483
|
-
rev:
|
|
1539
|
+
head: At.Cid;
|
|
1540
|
+
rev: At.Tid;
|
|
1484
1541
|
active?: boolean;
|
|
1485
1542
|
/** If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */
|
|
1486
1543
|
status?:
|
|
@@ -1497,7 +1554,7 @@ export declare namespace ComAtprotoSyncListRepos {
|
|
|
1497
1554
|
/** Enumerates all the DIDs which have records with the given collection NSID. */
|
|
1498
1555
|
export declare namespace ComAtprotoSyncListReposByCollection {
|
|
1499
1556
|
interface Params {
|
|
1500
|
-
collection:
|
|
1557
|
+
collection: At.Nsid;
|
|
1501
1558
|
cursor?: string;
|
|
1502
1559
|
/**
|
|
1503
1560
|
* Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists. \
|
|
@@ -1514,7 +1571,7 @@ export declare namespace ComAtprotoSyncListReposByCollection {
|
|
|
1514
1571
|
}
|
|
1515
1572
|
interface Repo {
|
|
1516
1573
|
[Brand.Type]?: 'com.atproto.sync.listReposByCollection#repo';
|
|
1517
|
-
did: At.
|
|
1574
|
+
did: At.Did;
|
|
1518
1575
|
}
|
|
1519
1576
|
}
|
|
1520
1577
|
|
|
@@ -1544,7 +1601,7 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1544
1601
|
[Brand.Type]?: 'com.atproto.sync.subscribeRepos#account';
|
|
1545
1602
|
/** Indicates that the account has a repository which can be fetched from the host that emitted this event. */
|
|
1546
1603
|
active: boolean;
|
|
1547
|
-
did: At.
|
|
1604
|
+
did: At.Did;
|
|
1548
1605
|
seq: number;
|
|
1549
1606
|
time: string;
|
|
1550
1607
|
/** If active=false, this optional field indicates a reason for why the account is not active. */
|
|
@@ -1564,11 +1621,11 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1564
1621
|
* DEPRECATED -- will soon always be empty. List of new blobs (by CID) referenced by records in this commit.
|
|
1565
1622
|
* @deprecated
|
|
1566
1623
|
*/
|
|
1567
|
-
blobs: At.
|
|
1624
|
+
blobs: At.CidLink[];
|
|
1568
1625
|
/** CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list. */
|
|
1569
1626
|
blocks: At.Bytes;
|
|
1570
1627
|
/** Repo commit object CID. */
|
|
1571
|
-
commit: At.
|
|
1628
|
+
commit: At.CidLink;
|
|
1572
1629
|
/**
|
|
1573
1630
|
* Maximum array length: 200 \
|
|
1574
1631
|
* List of repo mutation operations in this commit (eg, records created, updated, or deleted).
|
|
@@ -1580,13 +1637,13 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1580
1637
|
*/
|
|
1581
1638
|
rebase: boolean;
|
|
1582
1639
|
/** The repo this event comes from. Note that all other message types name this field 'did'. */
|
|
1583
|
-
repo: At.
|
|
1640
|
+
repo: At.Did;
|
|
1584
1641
|
/** The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event. */
|
|
1585
|
-
rev:
|
|
1642
|
+
rev: At.Tid;
|
|
1586
1643
|
/** The stream sequence number of this message. */
|
|
1587
1644
|
seq: number;
|
|
1588
1645
|
/** The rev of the last emitted commit from this repo (if any). */
|
|
1589
|
-
since:
|
|
1646
|
+
since: At.Tid | null;
|
|
1590
1647
|
/** Timestamp of when this message was originally broadcast. */
|
|
1591
1648
|
time: string;
|
|
1592
1649
|
/**
|
|
@@ -1595,12 +1652,12 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1595
1652
|
*/
|
|
1596
1653
|
tooBig: boolean;
|
|
1597
1654
|
/** The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose. */
|
|
1598
|
-
prevData?: At.
|
|
1655
|
+
prevData?: At.CidLink;
|
|
1599
1656
|
}
|
|
1600
1657
|
/** Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache. */
|
|
1601
1658
|
interface Identity {
|
|
1602
1659
|
[Brand.Type]?: 'com.atproto.sync.subscribeRepos#identity';
|
|
1603
|
-
did: At.
|
|
1660
|
+
did: At.Did;
|
|
1604
1661
|
seq: number;
|
|
1605
1662
|
time: string;
|
|
1606
1663
|
/** The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details. */
|
|
@@ -1616,10 +1673,10 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1616
1673
|
[Brand.Type]?: 'com.atproto.sync.subscribeRepos#repoOp';
|
|
1617
1674
|
action: 'create' | 'delete' | 'update' | (string & {});
|
|
1618
1675
|
/** For creates and updates, the new record CID. For deletions, null. */
|
|
1619
|
-
cid: At.
|
|
1676
|
+
cid: At.CidLink | null;
|
|
1620
1677
|
path: string;
|
|
1621
1678
|
/** For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. */
|
|
1622
|
-
prev?: At.
|
|
1679
|
+
prev?: At.CidLink;
|
|
1623
1680
|
}
|
|
1624
1681
|
/** Updates the repo to a new state, without necessarily including that state on the firehose. Used to recover from broken commit streams, data loss incidents, or in situations where upstream host does not know recent state of the repository. */
|
|
1625
1682
|
interface Sync {
|
|
@@ -1627,7 +1684,7 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1627
1684
|
/** CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'. */
|
|
1628
1685
|
blocks: At.Bytes;
|
|
1629
1686
|
/** The account this repo event corresponds to. Must match that in the commit object. */
|
|
1630
|
-
did: At.
|
|
1687
|
+
did: At.Did;
|
|
1631
1688
|
/** The rev of the commit. This value must match that in the commit object. */
|
|
1632
1689
|
rev: string;
|
|
1633
1690
|
/** The stream sequence number of this message. */
|
|
@@ -1693,129 +1750,195 @@ export declare interface Records {
|
|
|
1693
1750
|
export declare interface Queries {
|
|
1694
1751
|
'com.atproto.admin.getAccountInfo': {
|
|
1695
1752
|
params: ComAtprotoAdminGetAccountInfo.Params;
|
|
1753
|
+
/** @deprecated */
|
|
1696
1754
|
output: ComAtprotoAdminGetAccountInfo.Output;
|
|
1755
|
+
response: { json: ComAtprotoAdminGetAccountInfo.Output };
|
|
1697
1756
|
};
|
|
1698
1757
|
'com.atproto.admin.getAccountInfos': {
|
|
1699
1758
|
params: ComAtprotoAdminGetAccountInfos.Params;
|
|
1759
|
+
/** @deprecated */
|
|
1700
1760
|
output: ComAtprotoAdminGetAccountInfos.Output;
|
|
1761
|
+
response: { json: ComAtprotoAdminGetAccountInfos.Output };
|
|
1701
1762
|
};
|
|
1702
1763
|
'com.atproto.admin.getInviteCodes': {
|
|
1703
1764
|
params: ComAtprotoAdminGetInviteCodes.Params;
|
|
1765
|
+
/** @deprecated */
|
|
1704
1766
|
output: ComAtprotoAdminGetInviteCodes.Output;
|
|
1767
|
+
response: { json: ComAtprotoAdminGetInviteCodes.Output };
|
|
1705
1768
|
};
|
|
1706
1769
|
'com.atproto.admin.getSubjectStatus': {
|
|
1707
1770
|
params: ComAtprotoAdminGetSubjectStatus.Params;
|
|
1771
|
+
/** @deprecated */
|
|
1708
1772
|
output: ComAtprotoAdminGetSubjectStatus.Output;
|
|
1773
|
+
response: { json: ComAtprotoAdminGetSubjectStatus.Output };
|
|
1709
1774
|
};
|
|
1710
1775
|
'com.atproto.admin.searchAccounts': {
|
|
1711
1776
|
params: ComAtprotoAdminSearchAccounts.Params;
|
|
1777
|
+
/** @deprecated */
|
|
1712
1778
|
output: ComAtprotoAdminSearchAccounts.Output;
|
|
1779
|
+
response: { json: ComAtprotoAdminSearchAccounts.Output };
|
|
1713
1780
|
};
|
|
1714
1781
|
'com.atproto.identity.getRecommendedDidCredentials': {
|
|
1782
|
+
/** @deprecated */
|
|
1715
1783
|
output: ComAtprotoIdentityGetRecommendedDidCredentials.Output;
|
|
1784
|
+
response: { json: ComAtprotoIdentityGetRecommendedDidCredentials.Output };
|
|
1716
1785
|
};
|
|
1717
1786
|
'com.atproto.identity.resolveDid': {
|
|
1718
1787
|
params: ComAtprotoIdentityResolveDid.Params;
|
|
1788
|
+
/** @deprecated */
|
|
1719
1789
|
output: ComAtprotoIdentityResolveDid.Output;
|
|
1790
|
+
response: { json: ComAtprotoIdentityResolveDid.Output };
|
|
1720
1791
|
};
|
|
1721
1792
|
'com.atproto.identity.resolveHandle': {
|
|
1722
1793
|
params: ComAtprotoIdentityResolveHandle.Params;
|
|
1794
|
+
/** @deprecated */
|
|
1723
1795
|
output: ComAtprotoIdentityResolveHandle.Output;
|
|
1796
|
+
response: { json: ComAtprotoIdentityResolveHandle.Output };
|
|
1724
1797
|
};
|
|
1725
1798
|
'com.atproto.identity.resolveIdentity': {
|
|
1726
1799
|
params: ComAtprotoIdentityResolveIdentity.Params;
|
|
1800
|
+
/** @deprecated */
|
|
1727
1801
|
output: ComAtprotoIdentityResolveIdentity.Output;
|
|
1802
|
+
response: { json: ComAtprotoIdentityResolveIdentity.Output };
|
|
1728
1803
|
};
|
|
1729
1804
|
'com.atproto.label.queryLabels': {
|
|
1730
1805
|
params: ComAtprotoLabelQueryLabels.Params;
|
|
1806
|
+
/** @deprecated */
|
|
1731
1807
|
output: ComAtprotoLabelQueryLabels.Output;
|
|
1808
|
+
response: { json: ComAtprotoLabelQueryLabels.Output };
|
|
1732
1809
|
};
|
|
1733
1810
|
'com.atproto.repo.describeRepo': {
|
|
1734
1811
|
params: ComAtprotoRepoDescribeRepo.Params;
|
|
1812
|
+
/** @deprecated */
|
|
1735
1813
|
output: ComAtprotoRepoDescribeRepo.Output;
|
|
1814
|
+
response: { json: ComAtprotoRepoDescribeRepo.Output };
|
|
1736
1815
|
};
|
|
1737
1816
|
'com.atproto.repo.getRecord': {
|
|
1738
1817
|
params: ComAtprotoRepoGetRecord.Params;
|
|
1818
|
+
/** @deprecated */
|
|
1739
1819
|
output: ComAtprotoRepoGetRecord.Output;
|
|
1820
|
+
response: { json: ComAtprotoRepoGetRecord.Output };
|
|
1740
1821
|
};
|
|
1741
1822
|
'com.atproto.repo.listMissingBlobs': {
|
|
1742
1823
|
params: ComAtprotoRepoListMissingBlobs.Params;
|
|
1824
|
+
/** @deprecated */
|
|
1743
1825
|
output: ComAtprotoRepoListMissingBlobs.Output;
|
|
1826
|
+
response: { json: ComAtprotoRepoListMissingBlobs.Output };
|
|
1744
1827
|
};
|
|
1745
1828
|
'com.atproto.repo.listRecords': {
|
|
1746
1829
|
params: ComAtprotoRepoListRecords.Params;
|
|
1830
|
+
/** @deprecated */
|
|
1747
1831
|
output: ComAtprotoRepoListRecords.Output;
|
|
1832
|
+
response: { json: ComAtprotoRepoListRecords.Output };
|
|
1748
1833
|
};
|
|
1749
1834
|
'com.atproto.server.checkAccountStatus': {
|
|
1835
|
+
/** @deprecated */
|
|
1750
1836
|
output: ComAtprotoServerCheckAccountStatus.Output;
|
|
1837
|
+
response: { json: ComAtprotoServerCheckAccountStatus.Output };
|
|
1751
1838
|
};
|
|
1752
1839
|
'com.atproto.server.describeServer': {
|
|
1840
|
+
/** @deprecated */
|
|
1753
1841
|
output: ComAtprotoServerDescribeServer.Output;
|
|
1842
|
+
response: { json: ComAtprotoServerDescribeServer.Output };
|
|
1754
1843
|
};
|
|
1755
1844
|
'com.atproto.server.getAccountInviteCodes': {
|
|
1756
1845
|
params: ComAtprotoServerGetAccountInviteCodes.Params;
|
|
1846
|
+
/** @deprecated */
|
|
1757
1847
|
output: ComAtprotoServerGetAccountInviteCodes.Output;
|
|
1848
|
+
response: { json: ComAtprotoServerGetAccountInviteCodes.Output };
|
|
1758
1849
|
};
|
|
1759
1850
|
'com.atproto.server.getServiceAuth': {
|
|
1760
1851
|
params: ComAtprotoServerGetServiceAuth.Params;
|
|
1852
|
+
/** @deprecated */
|
|
1761
1853
|
output: ComAtprotoServerGetServiceAuth.Output;
|
|
1854
|
+
response: { json: ComAtprotoServerGetServiceAuth.Output };
|
|
1762
1855
|
};
|
|
1763
1856
|
'com.atproto.server.getSession': {
|
|
1857
|
+
/** @deprecated */
|
|
1764
1858
|
output: ComAtprotoServerGetSession.Output;
|
|
1859
|
+
response: { json: ComAtprotoServerGetSession.Output };
|
|
1765
1860
|
};
|
|
1766
1861
|
'com.atproto.server.listAppPasswords': {
|
|
1862
|
+
/** @deprecated */
|
|
1767
1863
|
output: ComAtprotoServerListAppPasswords.Output;
|
|
1864
|
+
response: { json: ComAtprotoServerListAppPasswords.Output };
|
|
1768
1865
|
};
|
|
1769
1866
|
'com.atproto.sync.getBlob': {
|
|
1770
1867
|
params: ComAtprotoSyncGetBlob.Params;
|
|
1868
|
+
/** @deprecated */
|
|
1771
1869
|
output: ComAtprotoSyncGetBlob.Output;
|
|
1870
|
+
response: {};
|
|
1772
1871
|
};
|
|
1773
1872
|
'com.atproto.sync.getBlocks': {
|
|
1774
1873
|
params: ComAtprotoSyncGetBlocks.Params;
|
|
1874
|
+
/** @deprecated */
|
|
1775
1875
|
output: ComAtprotoSyncGetBlocks.Output;
|
|
1876
|
+
response: {};
|
|
1776
1877
|
};
|
|
1777
1878
|
'com.atproto.sync.getCheckout': {
|
|
1778
1879
|
params: ComAtprotoSyncGetCheckout.Params;
|
|
1880
|
+
/** @deprecated */
|
|
1779
1881
|
output: ComAtprotoSyncGetCheckout.Output;
|
|
1882
|
+
response: {};
|
|
1780
1883
|
};
|
|
1781
1884
|
'com.atproto.sync.getHead': {
|
|
1782
1885
|
params: ComAtprotoSyncGetHead.Params;
|
|
1886
|
+
/** @deprecated */
|
|
1783
1887
|
output: ComAtprotoSyncGetHead.Output;
|
|
1888
|
+
response: { json: ComAtprotoSyncGetHead.Output };
|
|
1784
1889
|
};
|
|
1785
1890
|
'com.atproto.sync.getLatestCommit': {
|
|
1786
1891
|
params: ComAtprotoSyncGetLatestCommit.Params;
|
|
1892
|
+
/** @deprecated */
|
|
1787
1893
|
output: ComAtprotoSyncGetLatestCommit.Output;
|
|
1894
|
+
response: { json: ComAtprotoSyncGetLatestCommit.Output };
|
|
1788
1895
|
};
|
|
1789
1896
|
'com.atproto.sync.getRecord': {
|
|
1790
1897
|
params: ComAtprotoSyncGetRecord.Params;
|
|
1898
|
+
/** @deprecated */
|
|
1791
1899
|
output: ComAtprotoSyncGetRecord.Output;
|
|
1900
|
+
response: {};
|
|
1792
1901
|
};
|
|
1793
1902
|
'com.atproto.sync.getRepo': {
|
|
1794
1903
|
params: ComAtprotoSyncGetRepo.Params;
|
|
1904
|
+
/** @deprecated */
|
|
1795
1905
|
output: ComAtprotoSyncGetRepo.Output;
|
|
1906
|
+
response: {};
|
|
1796
1907
|
};
|
|
1797
1908
|
'com.atproto.sync.getRepoStatus': {
|
|
1798
1909
|
params: ComAtprotoSyncGetRepoStatus.Params;
|
|
1910
|
+
/** @deprecated */
|
|
1799
1911
|
output: ComAtprotoSyncGetRepoStatus.Output;
|
|
1912
|
+
response: { json: ComAtprotoSyncGetRepoStatus.Output };
|
|
1800
1913
|
};
|
|
1801
1914
|
'com.atproto.sync.listBlobs': {
|
|
1802
1915
|
params: ComAtprotoSyncListBlobs.Params;
|
|
1916
|
+
/** @deprecated */
|
|
1803
1917
|
output: ComAtprotoSyncListBlobs.Output;
|
|
1918
|
+
response: { json: ComAtprotoSyncListBlobs.Output };
|
|
1804
1919
|
};
|
|
1805
1920
|
'com.atproto.sync.listRepos': {
|
|
1806
1921
|
params: ComAtprotoSyncListRepos.Params;
|
|
1922
|
+
/** @deprecated */
|
|
1807
1923
|
output: ComAtprotoSyncListRepos.Output;
|
|
1924
|
+
response: { json: ComAtprotoSyncListRepos.Output };
|
|
1808
1925
|
};
|
|
1809
1926
|
'com.atproto.sync.listReposByCollection': {
|
|
1810
1927
|
params: ComAtprotoSyncListReposByCollection.Params;
|
|
1928
|
+
/** @deprecated */
|
|
1811
1929
|
output: ComAtprotoSyncListReposByCollection.Output;
|
|
1930
|
+
response: { json: ComAtprotoSyncListReposByCollection.Output };
|
|
1812
1931
|
};
|
|
1813
1932
|
'com.atproto.temp.checkSignupQueue': {
|
|
1933
|
+
/** @deprecated */
|
|
1814
1934
|
output: ComAtprotoTempCheckSignupQueue.Output;
|
|
1935
|
+
response: { json: ComAtprotoTempCheckSignupQueue.Output };
|
|
1815
1936
|
};
|
|
1816
1937
|
'com.atproto.temp.fetchLabels': {
|
|
1817
1938
|
params: ComAtprotoTempFetchLabels.Params;
|
|
1939
|
+
/** @deprecated */
|
|
1818
1940
|
output: ComAtprotoTempFetchLabels.Output;
|
|
1941
|
+
response: { json: ComAtprotoTempFetchLabels.Output };
|
|
1819
1942
|
};
|
|
1820
1943
|
}
|
|
1821
1944
|
|
|
@@ -1834,7 +1957,9 @@ export declare interface Procedures {
|
|
|
1834
1957
|
};
|
|
1835
1958
|
'com.atproto.admin.sendEmail': {
|
|
1836
1959
|
input: ComAtprotoAdminSendEmail.Input;
|
|
1960
|
+
/** @deprecated */
|
|
1837
1961
|
output: ComAtprotoAdminSendEmail.Output;
|
|
1962
|
+
response: { json: ComAtprotoAdminSendEmail.Output };
|
|
1838
1963
|
};
|
|
1839
1964
|
'com.atproto.admin.updateAccountEmail': {
|
|
1840
1965
|
input: ComAtprotoAdminUpdateAccountEmail.Input;
|
|
@@ -1847,16 +1972,22 @@ export declare interface Procedures {
|
|
|
1847
1972
|
};
|
|
1848
1973
|
'com.atproto.admin.updateSubjectStatus': {
|
|
1849
1974
|
input: ComAtprotoAdminUpdateSubjectStatus.Input;
|
|
1975
|
+
/** @deprecated */
|
|
1850
1976
|
output: ComAtprotoAdminUpdateSubjectStatus.Output;
|
|
1977
|
+
response: { json: ComAtprotoAdminUpdateSubjectStatus.Output };
|
|
1851
1978
|
};
|
|
1852
1979
|
'com.atproto.identity.refreshIdentity': {
|
|
1853
1980
|
input: ComAtprotoIdentityRefreshIdentity.Input;
|
|
1981
|
+
/** @deprecated */
|
|
1854
1982
|
output: ComAtprotoIdentityRefreshIdentity.Output;
|
|
1983
|
+
response: { json: ComAtprotoIdentityRefreshIdentity.Output };
|
|
1855
1984
|
};
|
|
1856
1985
|
'com.atproto.identity.requestPlcOperationSignature': {};
|
|
1857
1986
|
'com.atproto.identity.signPlcOperation': {
|
|
1858
1987
|
input: ComAtprotoIdentitySignPlcOperation.Input;
|
|
1988
|
+
/** @deprecated */
|
|
1859
1989
|
output: ComAtprotoIdentitySignPlcOperation.Output;
|
|
1990
|
+
response: { json: ComAtprotoIdentitySignPlcOperation.Output };
|
|
1860
1991
|
};
|
|
1861
1992
|
'com.atproto.identity.submitPlcOperation': {
|
|
1862
1993
|
input: ComAtprotoIdentitySubmitPlcOperation.Input;
|
|
@@ -1866,30 +1997,42 @@ export declare interface Procedures {
|
|
|
1866
1997
|
};
|
|
1867
1998
|
'com.atproto.moderation.createReport': {
|
|
1868
1999
|
input: ComAtprotoModerationCreateReport.Input;
|
|
2000
|
+
/** @deprecated */
|
|
1869
2001
|
output: ComAtprotoModerationCreateReport.Output;
|
|
2002
|
+
response: { json: ComAtprotoModerationCreateReport.Output };
|
|
1870
2003
|
};
|
|
1871
2004
|
'com.atproto.repo.applyWrites': {
|
|
1872
2005
|
input: ComAtprotoRepoApplyWrites.Input;
|
|
2006
|
+
/** @deprecated */
|
|
1873
2007
|
output: ComAtprotoRepoApplyWrites.Output;
|
|
2008
|
+
response: { json: ComAtprotoRepoApplyWrites.Output };
|
|
1874
2009
|
};
|
|
1875
2010
|
'com.atproto.repo.createRecord': {
|
|
1876
2011
|
input: ComAtprotoRepoCreateRecord.Input;
|
|
2012
|
+
/** @deprecated */
|
|
1877
2013
|
output: ComAtprotoRepoCreateRecord.Output;
|
|
2014
|
+
response: { json: ComAtprotoRepoCreateRecord.Output };
|
|
1878
2015
|
};
|
|
1879
2016
|
'com.atproto.repo.deleteRecord': {
|
|
1880
2017
|
input: ComAtprotoRepoDeleteRecord.Input;
|
|
2018
|
+
/** @deprecated */
|
|
1881
2019
|
output: ComAtprotoRepoDeleteRecord.Output;
|
|
2020
|
+
response: { json: ComAtprotoRepoDeleteRecord.Output };
|
|
1882
2021
|
};
|
|
1883
2022
|
'com.atproto.repo.importRepo': {
|
|
1884
2023
|
input: ComAtprotoRepoImportRepo.Input;
|
|
1885
2024
|
};
|
|
1886
2025
|
'com.atproto.repo.putRecord': {
|
|
1887
2026
|
input: ComAtprotoRepoPutRecord.Input;
|
|
2027
|
+
/** @deprecated */
|
|
1888
2028
|
output: ComAtprotoRepoPutRecord.Output;
|
|
2029
|
+
response: { json: ComAtprotoRepoPutRecord.Output };
|
|
1889
2030
|
};
|
|
1890
2031
|
'com.atproto.repo.uploadBlob': {
|
|
1891
2032
|
input: ComAtprotoRepoUploadBlob.Input;
|
|
2033
|
+
/** @deprecated */
|
|
1892
2034
|
output: ComAtprotoRepoUploadBlob.Output;
|
|
2035
|
+
response: { json: ComAtprotoRepoUploadBlob.Output };
|
|
1893
2036
|
};
|
|
1894
2037
|
'com.atproto.server.activateAccount': {};
|
|
1895
2038
|
'com.atproto.server.confirmEmail': {
|
|
@@ -1897,23 +2040,33 @@ export declare interface Procedures {
|
|
|
1897
2040
|
};
|
|
1898
2041
|
'com.atproto.server.createAccount': {
|
|
1899
2042
|
input: ComAtprotoServerCreateAccount.Input;
|
|
2043
|
+
/** @deprecated */
|
|
1900
2044
|
output: ComAtprotoServerCreateAccount.Output;
|
|
2045
|
+
response: { json: ComAtprotoServerCreateAccount.Output };
|
|
1901
2046
|
};
|
|
1902
2047
|
'com.atproto.server.createAppPassword': {
|
|
1903
2048
|
input: ComAtprotoServerCreateAppPassword.Input;
|
|
2049
|
+
/** @deprecated */
|
|
1904
2050
|
output: ComAtprotoServerCreateAppPassword.Output;
|
|
2051
|
+
response: { json: ComAtprotoServerCreateAppPassword.Output };
|
|
1905
2052
|
};
|
|
1906
2053
|
'com.atproto.server.createInviteCode': {
|
|
1907
2054
|
input: ComAtprotoServerCreateInviteCode.Input;
|
|
2055
|
+
/** @deprecated */
|
|
1908
2056
|
output: ComAtprotoServerCreateInviteCode.Output;
|
|
2057
|
+
response: { json: ComAtprotoServerCreateInviteCode.Output };
|
|
1909
2058
|
};
|
|
1910
2059
|
'com.atproto.server.createInviteCodes': {
|
|
1911
2060
|
input: ComAtprotoServerCreateInviteCodes.Input;
|
|
2061
|
+
/** @deprecated */
|
|
1912
2062
|
output: ComAtprotoServerCreateInviteCodes.Output;
|
|
2063
|
+
response: { json: ComAtprotoServerCreateInviteCodes.Output };
|
|
1913
2064
|
};
|
|
1914
2065
|
'com.atproto.server.createSession': {
|
|
1915
2066
|
input: ComAtprotoServerCreateSession.Input;
|
|
2067
|
+
/** @deprecated */
|
|
1916
2068
|
output: ComAtprotoServerCreateSession.Output;
|
|
2069
|
+
response: { json: ComAtprotoServerCreateSession.Output };
|
|
1917
2070
|
};
|
|
1918
2071
|
'com.atproto.server.deactivateAccount': {
|
|
1919
2072
|
input: ComAtprotoServerDeactivateAccount.Input;
|
|
@@ -1923,19 +2076,25 @@ export declare interface Procedures {
|
|
|
1923
2076
|
};
|
|
1924
2077
|
'com.atproto.server.deleteSession': {};
|
|
1925
2078
|
'com.atproto.server.refreshSession': {
|
|
2079
|
+
/** @deprecated */
|
|
1926
2080
|
output: ComAtprotoServerRefreshSession.Output;
|
|
2081
|
+
response: { json: ComAtprotoServerRefreshSession.Output };
|
|
1927
2082
|
};
|
|
1928
2083
|
'com.atproto.server.requestAccountDelete': {};
|
|
1929
2084
|
'com.atproto.server.requestEmailConfirmation': {};
|
|
1930
2085
|
'com.atproto.server.requestEmailUpdate': {
|
|
2086
|
+
/** @deprecated */
|
|
1931
2087
|
output: ComAtprotoServerRequestEmailUpdate.Output;
|
|
2088
|
+
response: { json: ComAtprotoServerRequestEmailUpdate.Output };
|
|
1932
2089
|
};
|
|
1933
2090
|
'com.atproto.server.requestPasswordReset': {
|
|
1934
2091
|
input: ComAtprotoServerRequestPasswordReset.Input;
|
|
1935
2092
|
};
|
|
1936
2093
|
'com.atproto.server.reserveSigningKey': {
|
|
1937
2094
|
input: ComAtprotoServerReserveSigningKey.Input;
|
|
2095
|
+
/** @deprecated */
|
|
1938
2096
|
output: ComAtprotoServerReserveSigningKey.Output;
|
|
2097
|
+
response: { json: ComAtprotoServerReserveSigningKey.Output };
|
|
1939
2098
|
};
|
|
1940
2099
|
'com.atproto.server.resetPassword': {
|
|
1941
2100
|
input: ComAtprotoServerResetPassword.Input;
|
|
@@ -1954,7 +2113,9 @@ export declare interface Procedures {
|
|
|
1954
2113
|
};
|
|
1955
2114
|
'com.atproto.temp.addReservedHandle': {
|
|
1956
2115
|
input: ComAtprotoTempAddReservedHandle.Input;
|
|
2116
|
+
/** @deprecated */
|
|
1957
2117
|
output: ComAtprotoTempAddReservedHandle.Output;
|
|
2118
|
+
response: { json: ComAtprotoTempAddReservedHandle.Output };
|
|
1958
2119
|
};
|
|
1959
2120
|
'com.atproto.temp.requestPhoneVerification': {
|
|
1960
2121
|
input: ComAtprotoTempRequestPhoneVerification.Input;
|