@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/dist/lexicons.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Contains type declarations for AT Protocol lexicons
|
|
4
4
|
*/
|
|
5
5
|
type ObjectOmit<T, K extends keyof any> = Omit<T, K>;
|
|
6
|
-
/**
|
|
6
|
+
/** handles type branding in objects */
|
|
7
7
|
export declare namespace Brand {
|
|
8
8
|
/** Symbol used to brand objects, this does not actually exist in runtime */
|
|
9
9
|
const Type: unique symbol;
|
|
@@ -22,25 +22,73 @@ export declare namespace Brand {
|
|
|
22
22
|
[Type]?: string;
|
|
23
23
|
}> = ObjectOmit<T, typeof Type>;
|
|
24
24
|
}
|
|
25
|
-
/**
|
|
25
|
+
/** base AT Protocol schema types */
|
|
26
26
|
export declare namespace At {
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
type
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
type
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
/**
|
|
28
|
+
* represents a Content Identifier (CID) string
|
|
29
|
+
*/
|
|
30
|
+
type Cid = string;
|
|
31
|
+
/**
|
|
32
|
+
* represents a Decentralized Identifier (DID).
|
|
33
|
+
*/
|
|
34
|
+
type Did<Method extends string = string> = `did:${Method}:${string}`;
|
|
35
|
+
/**
|
|
36
|
+
* represents an account's handle, using domains as a human-friendly
|
|
37
|
+
* identifier.
|
|
38
|
+
*/
|
|
39
|
+
type Handle = `${string}.${string}`;
|
|
40
|
+
/**
|
|
41
|
+
* represents an account's identifier, either a {@link Did} or a
|
|
42
|
+
* {@link Handle}
|
|
43
|
+
*/
|
|
44
|
+
type Identifier = Did | Handle;
|
|
45
|
+
/**
|
|
46
|
+
* represents a Namespace Identifier (NSID)
|
|
47
|
+
*/
|
|
48
|
+
type Nsid = `${string}.${string}.${string}`;
|
|
49
|
+
/**
|
|
50
|
+
* represents the unique key identifying a specific record within a
|
|
51
|
+
* repository's collection. this is usually a {@link Tid}.
|
|
52
|
+
*/
|
|
53
|
+
type RecordKey = string;
|
|
54
|
+
/**
|
|
55
|
+
* represents a Timestamp Identifier (TID)
|
|
56
|
+
*/
|
|
57
|
+
type Tid = string;
|
|
58
|
+
/**
|
|
59
|
+
* represents a general AT Protocol URI, representing either an entire
|
|
60
|
+
* repository, a specific collection within a repository, or a record.
|
|
61
|
+
*
|
|
62
|
+
* it allows using handles over DIDs, but this means that it won't be stable.
|
|
63
|
+
*/
|
|
64
|
+
type ResourceUri = `at://${Identifier}` | `at://${Identifier}/${Nsid}` | `at://${Identifier}/${Nsid}/${RecordKey}`;
|
|
65
|
+
/**
|
|
66
|
+
* represents a canonical AT Protocol URI for a specific record.
|
|
67
|
+
*
|
|
68
|
+
* this URI format uses the account's DID as the authority, ensuring that
|
|
69
|
+
* the URI remains valid even as the account changes handles, uniquely
|
|
70
|
+
* identifying a specific piece of record within AT Protocol.
|
|
71
|
+
*/
|
|
72
|
+
type CanonicalResourceUri = `at://${Did}/${Nsid}/${RecordKey}`;
|
|
73
|
+
/**
|
|
74
|
+
* represents a generic URI
|
|
75
|
+
*/
|
|
76
|
+
type GenericUri = `${string}:${string}`;
|
|
77
|
+
/**
|
|
78
|
+
* represents a Content Identifier (CID) reference
|
|
79
|
+
*/
|
|
80
|
+
interface CidLink {
|
|
81
|
+
$link: Cid;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* represents an object containing raw binary data encoded as a base64 string
|
|
85
|
+
*/
|
|
40
86
|
interface Bytes {
|
|
41
87
|
$bytes: string;
|
|
42
88
|
}
|
|
43
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* represents a reference to a data blob
|
|
91
|
+
*/
|
|
44
92
|
interface Blob<T extends string = string> {
|
|
45
93
|
$type: 'blob';
|
|
46
94
|
mimeType: T;
|
|
@@ -53,7 +101,7 @@ export declare namespace At {
|
|
|
53
101
|
export declare namespace ComAtprotoAdminDefs {
|
|
54
102
|
interface AccountView {
|
|
55
103
|
[Brand.Type]?: 'com.atproto.admin.defs#accountView';
|
|
56
|
-
did: At.
|
|
104
|
+
did: At.Did;
|
|
57
105
|
handle: At.Handle;
|
|
58
106
|
indexedAt: string;
|
|
59
107
|
deactivatedAt?: string;
|
|
@@ -68,13 +116,13 @@ export declare namespace ComAtprotoAdminDefs {
|
|
|
68
116
|
}
|
|
69
117
|
interface RepoBlobRef {
|
|
70
118
|
[Brand.Type]?: 'com.atproto.admin.defs#repoBlobRef';
|
|
71
|
-
cid: At.
|
|
72
|
-
did: At.
|
|
73
|
-
recordUri?: At.
|
|
119
|
+
cid: At.Cid;
|
|
120
|
+
did: At.Did;
|
|
121
|
+
recordUri?: At.ResourceUri;
|
|
74
122
|
}
|
|
75
123
|
interface RepoRef {
|
|
76
124
|
[Brand.Type]?: 'com.atproto.admin.defs#repoRef';
|
|
77
|
-
did: At.
|
|
125
|
+
did: At.Did;
|
|
78
126
|
}
|
|
79
127
|
interface StatusAttr {
|
|
80
128
|
[Brand.Type]?: 'com.atproto.admin.defs#statusAttr';
|
|
@@ -92,7 +140,7 @@ export declare namespace ComAtprotoAdminDeleteAccount {
|
|
|
92
140
|
interface Params {
|
|
93
141
|
}
|
|
94
142
|
interface Input {
|
|
95
|
-
did: At.
|
|
143
|
+
did: At.Did;
|
|
96
144
|
}
|
|
97
145
|
type Output = undefined;
|
|
98
146
|
}
|
|
@@ -101,7 +149,7 @@ export declare namespace ComAtprotoAdminDisableAccountInvites {
|
|
|
101
149
|
interface Params {
|
|
102
150
|
}
|
|
103
151
|
interface Input {
|
|
104
|
-
account: At.
|
|
152
|
+
account: At.Did;
|
|
105
153
|
/** Optional reason for disabled invites. */
|
|
106
154
|
note?: string;
|
|
107
155
|
}
|
|
@@ -122,7 +170,7 @@ export declare namespace ComAtprotoAdminEnableAccountInvites {
|
|
|
122
170
|
interface Params {
|
|
123
171
|
}
|
|
124
172
|
interface Input {
|
|
125
|
-
account: At.
|
|
173
|
+
account: At.Did;
|
|
126
174
|
/** Optional reason for enabled invites. */
|
|
127
175
|
note?: string;
|
|
128
176
|
}
|
|
@@ -131,7 +179,7 @@ export declare namespace ComAtprotoAdminEnableAccountInvites {
|
|
|
131
179
|
/** Get details about an account. */
|
|
132
180
|
export declare namespace ComAtprotoAdminGetAccountInfo {
|
|
133
181
|
interface Params {
|
|
134
|
-
did: At.
|
|
182
|
+
did: At.Did;
|
|
135
183
|
}
|
|
136
184
|
type Input = undefined;
|
|
137
185
|
type Output = ComAtprotoAdminDefs.AccountView;
|
|
@@ -139,7 +187,7 @@ export declare namespace ComAtprotoAdminGetAccountInfo {
|
|
|
139
187
|
/** Get details about some accounts. */
|
|
140
188
|
export declare namespace ComAtprotoAdminGetAccountInfos {
|
|
141
189
|
interface Params {
|
|
142
|
-
dids: At.
|
|
190
|
+
dids: At.Did[];
|
|
143
191
|
}
|
|
144
192
|
type Input = undefined;
|
|
145
193
|
interface Output {
|
|
@@ -168,9 +216,9 @@ export declare namespace ComAtprotoAdminGetInviteCodes {
|
|
|
168
216
|
/** Get the service-specific admin status of a subject (account, record, or blob). */
|
|
169
217
|
export declare namespace ComAtprotoAdminGetSubjectStatus {
|
|
170
218
|
interface Params {
|
|
171
|
-
blob?: At.
|
|
172
|
-
did?: At.
|
|
173
|
-
uri?: At.
|
|
219
|
+
blob?: At.Cid;
|
|
220
|
+
did?: At.Did;
|
|
221
|
+
uri?: At.ResourceUri;
|
|
174
222
|
}
|
|
175
223
|
type Input = undefined;
|
|
176
224
|
interface Output {
|
|
@@ -203,8 +251,8 @@ export declare namespace ComAtprotoAdminSendEmail {
|
|
|
203
251
|
}
|
|
204
252
|
interface Input {
|
|
205
253
|
content: string;
|
|
206
|
-
recipientDid: At.
|
|
207
|
-
senderDid: At.
|
|
254
|
+
recipientDid: At.Did;
|
|
255
|
+
senderDid: At.Did;
|
|
208
256
|
/** Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers */
|
|
209
257
|
comment?: string;
|
|
210
258
|
subject?: string;
|
|
@@ -219,7 +267,7 @@ export declare namespace ComAtprotoAdminUpdateAccountEmail {
|
|
|
219
267
|
}
|
|
220
268
|
interface Input {
|
|
221
269
|
/** The handle or DID of the repo. */
|
|
222
|
-
account:
|
|
270
|
+
account: At.Identifier;
|
|
223
271
|
email: string;
|
|
224
272
|
}
|
|
225
273
|
type Output = undefined;
|
|
@@ -229,7 +277,7 @@ export declare namespace ComAtprotoAdminUpdateAccountHandle {
|
|
|
229
277
|
interface Params {
|
|
230
278
|
}
|
|
231
279
|
interface Input {
|
|
232
|
-
did: At.
|
|
280
|
+
did: At.Did;
|
|
233
281
|
handle: At.Handle;
|
|
234
282
|
}
|
|
235
283
|
type Output = undefined;
|
|
@@ -239,7 +287,7 @@ export declare namespace ComAtprotoAdminUpdateAccountPassword {
|
|
|
239
287
|
interface Params {
|
|
240
288
|
}
|
|
241
289
|
interface Input {
|
|
242
|
-
did: At.
|
|
290
|
+
did: At.Did;
|
|
243
291
|
password: string;
|
|
244
292
|
}
|
|
245
293
|
type Output = undefined;
|
|
@@ -261,7 +309,7 @@ export declare namespace ComAtprotoAdminUpdateSubjectStatus {
|
|
|
261
309
|
export declare namespace ComAtprotoIdentityDefs {
|
|
262
310
|
interface IdentityInfo {
|
|
263
311
|
[Brand.Type]?: 'com.atproto.identity.defs#identityInfo';
|
|
264
|
-
did: At.
|
|
312
|
+
did: At.Did;
|
|
265
313
|
/** The complete DID document for the identity. */
|
|
266
314
|
didDoc: unknown;
|
|
267
315
|
/** The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document. */
|
|
@@ -286,7 +334,7 @@ export declare namespace ComAtprotoIdentityRefreshIdentity {
|
|
|
286
334
|
interface Params {
|
|
287
335
|
}
|
|
288
336
|
interface Input {
|
|
289
|
-
identifier:
|
|
337
|
+
identifier: At.Identifier;
|
|
290
338
|
}
|
|
291
339
|
type Output = ComAtprotoIdentityDefs.IdentityInfo;
|
|
292
340
|
interface Errors {
|
|
@@ -306,7 +354,7 @@ export declare namespace ComAtprotoIdentityRequestPlcOperationSignature {
|
|
|
306
354
|
export declare namespace ComAtprotoIdentityResolveDid {
|
|
307
355
|
interface Params {
|
|
308
356
|
/** DID to resolve. */
|
|
309
|
-
did: At.
|
|
357
|
+
did: At.Did;
|
|
310
358
|
}
|
|
311
359
|
type Input = undefined;
|
|
312
360
|
interface Output {
|
|
@@ -326,7 +374,7 @@ export declare namespace ComAtprotoIdentityResolveHandle {
|
|
|
326
374
|
}
|
|
327
375
|
type Input = undefined;
|
|
328
376
|
interface Output {
|
|
329
|
-
did: At.
|
|
377
|
+
did: At.Did;
|
|
330
378
|
}
|
|
331
379
|
interface Errors {
|
|
332
380
|
HandleNotFound: {};
|
|
@@ -336,7 +384,7 @@ export declare namespace ComAtprotoIdentityResolveHandle {
|
|
|
336
384
|
export declare namespace ComAtprotoIdentityResolveIdentity {
|
|
337
385
|
interface Params {
|
|
338
386
|
/** Handle or DID to resolve. */
|
|
339
|
-
identifier:
|
|
387
|
+
identifier: At.Identifier;
|
|
340
388
|
}
|
|
341
389
|
type Input = undefined;
|
|
342
390
|
type Output = ComAtprotoIdentityDefs.IdentityInfo;
|
|
@@ -389,16 +437,16 @@ export declare namespace ComAtprotoLabelDefs {
|
|
|
389
437
|
/** Timestamp when this label was created. */
|
|
390
438
|
cts: string;
|
|
391
439
|
/** DID of the actor who created this label. */
|
|
392
|
-
src: At.
|
|
440
|
+
src: At.Did;
|
|
393
441
|
/** AT URI of the record, repository (account), or other resource that this label applies to. */
|
|
394
|
-
uri:
|
|
442
|
+
uri: At.GenericUri;
|
|
395
443
|
/**
|
|
396
444
|
* The short string name of the value or type of this label. \
|
|
397
445
|
* Maximum string length: 128
|
|
398
446
|
*/
|
|
399
447
|
val: string;
|
|
400
448
|
/** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */
|
|
401
|
-
cid?: At.
|
|
449
|
+
cid?: At.Cid;
|
|
402
450
|
/** Timestamp at which this label expires (no longer applies). */
|
|
403
451
|
exp?: string;
|
|
404
452
|
/** If true, this is a negation label, overwriting a previous label. */
|
|
@@ -478,7 +526,7 @@ export declare namespace ComAtprotoLabelQueryLabels {
|
|
|
478
526
|
*/
|
|
479
527
|
limit?: number;
|
|
480
528
|
/** Optional list of label sources (DIDs) to filter on. */
|
|
481
|
-
sources?: At.
|
|
529
|
+
sources?: At.Did[];
|
|
482
530
|
}
|
|
483
531
|
type Input = undefined;
|
|
484
532
|
interface Output {
|
|
@@ -525,7 +573,7 @@ export declare namespace ComAtprotoModerationCreateReport {
|
|
|
525
573
|
createdAt: string;
|
|
526
574
|
id: number;
|
|
527
575
|
reasonType: ComAtprotoModerationDefs.ReasonType;
|
|
528
|
-
reportedBy: At.
|
|
576
|
+
reportedBy: At.Did;
|
|
529
577
|
subject: Brand.Union<ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main>;
|
|
530
578
|
/**
|
|
531
579
|
* Maximum string length: 20000 \
|
|
@@ -552,10 +600,10 @@ export declare namespace ComAtprotoRepoApplyWrites {
|
|
|
552
600
|
}
|
|
553
601
|
interface Input {
|
|
554
602
|
/** The handle or DID of the repo (aka, current account). */
|
|
555
|
-
repo:
|
|
603
|
+
repo: At.Identifier;
|
|
556
604
|
writes: Brand.Union<Create | Delete | Update>[];
|
|
557
605
|
/** If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations. */
|
|
558
|
-
swapCommit?: At.
|
|
606
|
+
swapCommit?: At.Cid;
|
|
559
607
|
/** 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. */
|
|
560
608
|
validate?: boolean;
|
|
561
609
|
}
|
|
@@ -569,22 +617,22 @@ export declare namespace ComAtprotoRepoApplyWrites {
|
|
|
569
617
|
/** Operation which creates a new record. */
|
|
570
618
|
interface Create {
|
|
571
619
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#create';
|
|
572
|
-
collection:
|
|
620
|
+
collection: At.Nsid;
|
|
573
621
|
value: unknown;
|
|
574
622
|
/** NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility. */
|
|
575
|
-
rkey?:
|
|
623
|
+
rkey?: At.RecordKey;
|
|
576
624
|
}
|
|
577
625
|
interface CreateResult {
|
|
578
626
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#createResult';
|
|
579
|
-
cid: At.
|
|
580
|
-
uri: At.
|
|
627
|
+
cid: At.Cid;
|
|
628
|
+
uri: At.ResourceUri;
|
|
581
629
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
582
630
|
}
|
|
583
631
|
/** Operation which deletes an existing record. */
|
|
584
632
|
interface Delete {
|
|
585
633
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#delete';
|
|
586
|
-
collection:
|
|
587
|
-
rkey:
|
|
634
|
+
collection: At.Nsid;
|
|
635
|
+
rkey: At.RecordKey;
|
|
588
636
|
}
|
|
589
637
|
interface DeleteResult {
|
|
590
638
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#deleteResult';
|
|
@@ -592,14 +640,14 @@ export declare namespace ComAtprotoRepoApplyWrites {
|
|
|
592
640
|
/** Operation which updates an existing record. */
|
|
593
641
|
interface Update {
|
|
594
642
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#update';
|
|
595
|
-
collection:
|
|
596
|
-
rkey:
|
|
643
|
+
collection: At.Nsid;
|
|
644
|
+
rkey: At.RecordKey;
|
|
597
645
|
value: unknown;
|
|
598
646
|
}
|
|
599
647
|
interface UpdateResult {
|
|
600
648
|
[Brand.Type]?: 'com.atproto.repo.applyWrites#updateResult';
|
|
601
|
-
cid: At.
|
|
602
|
-
uri: At.
|
|
649
|
+
cid: At.Cid;
|
|
650
|
+
uri: At.ResourceUri;
|
|
603
651
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
604
652
|
}
|
|
605
653
|
}
|
|
@@ -609,21 +657,21 @@ export declare namespace ComAtprotoRepoCreateRecord {
|
|
|
609
657
|
}
|
|
610
658
|
interface Input {
|
|
611
659
|
/** The NSID of the record collection. */
|
|
612
|
-
collection:
|
|
660
|
+
collection: At.Nsid;
|
|
613
661
|
/** The record itself. Must contain a $type field. */
|
|
614
662
|
record: unknown;
|
|
615
663
|
/** The handle or DID of the repo (aka, current account). */
|
|
616
|
-
repo:
|
|
664
|
+
repo: At.Identifier;
|
|
617
665
|
/** The Record Key. */
|
|
618
|
-
rkey?:
|
|
666
|
+
rkey?: At.RecordKey;
|
|
619
667
|
/** Compare and swap with the previous commit by CID. */
|
|
620
|
-
swapCommit?: At.
|
|
668
|
+
swapCommit?: At.Cid;
|
|
621
669
|
/** 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. */
|
|
622
670
|
validate?: boolean;
|
|
623
671
|
}
|
|
624
672
|
interface Output {
|
|
625
|
-
cid: At.
|
|
626
|
-
uri: At.
|
|
673
|
+
cid: At.Cid;
|
|
674
|
+
uri: At.ResourceUri;
|
|
627
675
|
commit?: ComAtprotoRepoDefs.CommitMeta;
|
|
628
676
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
629
677
|
}
|
|
@@ -634,8 +682,8 @@ export declare namespace ComAtprotoRepoCreateRecord {
|
|
|
634
682
|
export declare namespace ComAtprotoRepoDefs {
|
|
635
683
|
interface CommitMeta {
|
|
636
684
|
[Brand.Type]?: 'com.atproto.repo.defs#commitMeta';
|
|
637
|
-
cid: At.
|
|
638
|
-
rev:
|
|
685
|
+
cid: At.Cid;
|
|
686
|
+
rev: At.Tid;
|
|
639
687
|
}
|
|
640
688
|
}
|
|
641
689
|
/** Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS. */
|
|
@@ -644,15 +692,15 @@ export declare namespace ComAtprotoRepoDeleteRecord {
|
|
|
644
692
|
}
|
|
645
693
|
interface Input {
|
|
646
694
|
/** The NSID of the record collection. */
|
|
647
|
-
collection:
|
|
695
|
+
collection: At.Nsid;
|
|
648
696
|
/** The handle or DID of the repo (aka, current account). */
|
|
649
|
-
repo:
|
|
697
|
+
repo: At.Identifier;
|
|
650
698
|
/** The Record Key. */
|
|
651
|
-
rkey:
|
|
699
|
+
rkey: At.RecordKey;
|
|
652
700
|
/** Compare and swap with the previous commit by CID. */
|
|
653
|
-
swapCommit?: At.
|
|
701
|
+
swapCommit?: At.Cid;
|
|
654
702
|
/** Compare and swap with the previous record by CID. */
|
|
655
|
-
swapRecord?: At.
|
|
703
|
+
swapRecord?: At.Cid;
|
|
656
704
|
}
|
|
657
705
|
interface Output {
|
|
658
706
|
commit?: ComAtprotoRepoDefs.CommitMeta;
|
|
@@ -665,13 +713,13 @@ export declare namespace ComAtprotoRepoDeleteRecord {
|
|
|
665
713
|
export declare namespace ComAtprotoRepoDescribeRepo {
|
|
666
714
|
interface Params {
|
|
667
715
|
/** The handle or DID of the repo. */
|
|
668
|
-
repo:
|
|
716
|
+
repo: At.Identifier;
|
|
669
717
|
}
|
|
670
718
|
type Input = undefined;
|
|
671
719
|
interface Output {
|
|
672
720
|
/** List of all the collections (NSIDs) for which this repo contains at least one record. */
|
|
673
|
-
collections:
|
|
674
|
-
did: At.
|
|
721
|
+
collections: At.Nsid[];
|
|
722
|
+
did: At.Did;
|
|
675
723
|
/** The complete DID document for this account. */
|
|
676
724
|
didDoc: unknown;
|
|
677
725
|
handle: At.Handle;
|
|
@@ -683,19 +731,19 @@ export declare namespace ComAtprotoRepoDescribeRepo {
|
|
|
683
731
|
export declare namespace ComAtprotoRepoGetRecord {
|
|
684
732
|
interface Params {
|
|
685
733
|
/** The NSID of the record collection. */
|
|
686
|
-
collection:
|
|
734
|
+
collection: At.Nsid;
|
|
687
735
|
/** The handle or DID of the repo. */
|
|
688
|
-
repo:
|
|
736
|
+
repo: At.Identifier;
|
|
689
737
|
/** The Record Key. */
|
|
690
|
-
rkey:
|
|
738
|
+
rkey: At.RecordKey;
|
|
691
739
|
/** The CID of the version of the record. If not specified, then return the most recent version. */
|
|
692
|
-
cid?: At.
|
|
740
|
+
cid?: At.Cid;
|
|
693
741
|
}
|
|
694
742
|
type Input = undefined;
|
|
695
743
|
interface Output {
|
|
696
|
-
uri: At.
|
|
744
|
+
uri: At.ResourceUri;
|
|
697
745
|
value: unknown;
|
|
698
|
-
cid?: At.
|
|
746
|
+
cid?: At.Cid;
|
|
699
747
|
}
|
|
700
748
|
interface Errors {
|
|
701
749
|
RecordNotFound: {};
|
|
@@ -705,7 +753,7 @@ export declare namespace ComAtprotoRepoGetRecord {
|
|
|
705
753
|
export declare namespace ComAtprotoRepoImportRepo {
|
|
706
754
|
interface Params {
|
|
707
755
|
}
|
|
708
|
-
type Input = Blob |
|
|
756
|
+
type Input = Blob | BufferSource | ReadableStream;
|
|
709
757
|
type Output = undefined;
|
|
710
758
|
}
|
|
711
759
|
/** Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow. */
|
|
@@ -726,17 +774,17 @@ export declare namespace ComAtprotoRepoListMissingBlobs {
|
|
|
726
774
|
}
|
|
727
775
|
interface RecordBlob {
|
|
728
776
|
[Brand.Type]?: 'com.atproto.repo.listMissingBlobs#recordBlob';
|
|
729
|
-
cid: At.
|
|
730
|
-
recordUri: At.
|
|
777
|
+
cid: At.Cid;
|
|
778
|
+
recordUri: At.ResourceUri;
|
|
731
779
|
}
|
|
732
780
|
}
|
|
733
781
|
/** List a range of records in a repository, matching a specific collection. Does not require auth. */
|
|
734
782
|
export declare namespace ComAtprotoRepoListRecords {
|
|
735
783
|
interface Params {
|
|
736
784
|
/** The NSID of the record type. */
|
|
737
|
-
collection:
|
|
785
|
+
collection: At.Nsid;
|
|
738
786
|
/** The handle or DID of the repo. */
|
|
739
|
-
repo:
|
|
787
|
+
repo: At.Identifier;
|
|
740
788
|
cursor?: string;
|
|
741
789
|
/**
|
|
742
790
|
* The number of records to return. \
|
|
@@ -755,8 +803,8 @@ export declare namespace ComAtprotoRepoListRecords {
|
|
|
755
803
|
}
|
|
756
804
|
interface Record {
|
|
757
805
|
[Brand.Type]?: 'com.atproto.repo.listRecords#record';
|
|
758
|
-
cid: At.
|
|
759
|
-
uri: At.
|
|
806
|
+
cid: At.Cid;
|
|
807
|
+
uri: At.ResourceUri;
|
|
760
808
|
value: unknown;
|
|
761
809
|
}
|
|
762
810
|
}
|
|
@@ -766,23 +814,23 @@ export declare namespace ComAtprotoRepoPutRecord {
|
|
|
766
814
|
}
|
|
767
815
|
interface Input {
|
|
768
816
|
/** The NSID of the record collection. */
|
|
769
|
-
collection:
|
|
817
|
+
collection: At.Nsid;
|
|
770
818
|
/** The record to write. */
|
|
771
819
|
record: unknown;
|
|
772
820
|
/** The handle or DID of the repo (aka, current account). */
|
|
773
|
-
repo:
|
|
821
|
+
repo: At.Identifier;
|
|
774
822
|
/** The Record Key. */
|
|
775
|
-
rkey:
|
|
823
|
+
rkey: At.RecordKey;
|
|
776
824
|
/** Compare and swap with the previous commit by CID. */
|
|
777
|
-
swapCommit?: At.
|
|
825
|
+
swapCommit?: At.Cid;
|
|
778
826
|
/** Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation */
|
|
779
|
-
swapRecord?: At.
|
|
827
|
+
swapRecord?: At.Cid | null;
|
|
780
828
|
/** 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. */
|
|
781
829
|
validate?: boolean;
|
|
782
830
|
}
|
|
783
831
|
interface Output {
|
|
784
|
-
cid: At.
|
|
785
|
-
uri: At.
|
|
832
|
+
cid: At.Cid;
|
|
833
|
+
uri: At.ResourceUri;
|
|
786
834
|
commit?: ComAtprotoRepoDefs.CommitMeta;
|
|
787
835
|
validationStatus?: 'unknown' | 'valid' | (string & {});
|
|
788
836
|
}
|
|
@@ -793,15 +841,15 @@ export declare namespace ComAtprotoRepoPutRecord {
|
|
|
793
841
|
export declare namespace ComAtprotoRepoStrongRef {
|
|
794
842
|
interface Main {
|
|
795
843
|
[Brand.Type]?: 'com.atproto.repo.strongRef';
|
|
796
|
-
cid: At.
|
|
797
|
-
uri: At.
|
|
844
|
+
cid: At.Cid;
|
|
845
|
+
uri: At.ResourceUri;
|
|
798
846
|
}
|
|
799
847
|
}
|
|
800
848
|
/** 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. */
|
|
801
849
|
export declare namespace ComAtprotoRepoUploadBlob {
|
|
802
850
|
interface Params {
|
|
803
851
|
}
|
|
804
|
-
type Input = Blob |
|
|
852
|
+
type Input = Blob | BufferSource | ReadableStream;
|
|
805
853
|
interface Output {
|
|
806
854
|
blob: At.Blob;
|
|
807
855
|
}
|
|
@@ -825,7 +873,7 @@ export declare namespace ComAtprotoServerCheckAccountStatus {
|
|
|
825
873
|
indexedRecords: number;
|
|
826
874
|
privateStateValues: number;
|
|
827
875
|
repoBlocks: number;
|
|
828
|
-
repoCommit: At.
|
|
876
|
+
repoCommit: At.Cid;
|
|
829
877
|
repoRev: string;
|
|
830
878
|
validDid: boolean;
|
|
831
879
|
}
|
|
@@ -854,7 +902,7 @@ export declare namespace ComAtprotoServerCreateAccount {
|
|
|
854
902
|
/** Requested handle for the account. */
|
|
855
903
|
handle: At.Handle;
|
|
856
904
|
/** Pre-existing atproto DID, being imported to a new account. */
|
|
857
|
-
did?: At.
|
|
905
|
+
did?: At.Did;
|
|
858
906
|
email?: string;
|
|
859
907
|
inviteCode?: string;
|
|
860
908
|
/** Initial account password. May need to meet instance-specific password strength requirements. */
|
|
@@ -870,7 +918,7 @@ export declare namespace ComAtprotoServerCreateAccount {
|
|
|
870
918
|
interface Output {
|
|
871
919
|
accessJwt: string;
|
|
872
920
|
/** The DID of the new account. */
|
|
873
|
-
did: At.
|
|
921
|
+
did: At.Did;
|
|
874
922
|
handle: At.Handle;
|
|
875
923
|
refreshJwt: string;
|
|
876
924
|
/** Complete DID document. */
|
|
@@ -914,7 +962,7 @@ export declare namespace ComAtprotoServerCreateInviteCode {
|
|
|
914
962
|
}
|
|
915
963
|
interface Input {
|
|
916
964
|
useCount: number;
|
|
917
|
-
forAccount?: At.
|
|
965
|
+
forAccount?: At.Did;
|
|
918
966
|
}
|
|
919
967
|
interface Output {
|
|
920
968
|
code: string;
|
|
@@ -928,7 +976,7 @@ export declare namespace ComAtprotoServerCreateInviteCodes {
|
|
|
928
976
|
/** @default 1 */
|
|
929
977
|
codeCount: number;
|
|
930
978
|
useCount: number;
|
|
931
|
-
forAccounts?: At.
|
|
979
|
+
forAccounts?: At.Did[];
|
|
932
980
|
}
|
|
933
981
|
interface Output {
|
|
934
982
|
codes: AccountCodes[];
|
|
@@ -953,7 +1001,7 @@ export declare namespace ComAtprotoServerCreateSession {
|
|
|
953
1001
|
}
|
|
954
1002
|
interface Output {
|
|
955
1003
|
accessJwt: string;
|
|
956
|
-
did: At.
|
|
1004
|
+
did: At.Did;
|
|
957
1005
|
handle: At.Handle;
|
|
958
1006
|
refreshJwt: string;
|
|
959
1007
|
active?: boolean;
|
|
@@ -993,7 +1041,7 @@ export declare namespace ComAtprotoServerDefs {
|
|
|
993
1041
|
interface InviteCodeUse {
|
|
994
1042
|
[Brand.Type]?: 'com.atproto.server.defs#inviteCodeUse';
|
|
995
1043
|
usedAt: string;
|
|
996
|
-
usedBy: At.
|
|
1044
|
+
usedBy: At.Did;
|
|
997
1045
|
}
|
|
998
1046
|
}
|
|
999
1047
|
/** Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth. */
|
|
@@ -1001,7 +1049,7 @@ export declare namespace ComAtprotoServerDeleteAccount {
|
|
|
1001
1049
|
interface Params {
|
|
1002
1050
|
}
|
|
1003
1051
|
interface Input {
|
|
1004
|
-
did: At.
|
|
1052
|
+
did: At.Did;
|
|
1005
1053
|
password: string;
|
|
1006
1054
|
token: string;
|
|
1007
1055
|
}
|
|
@@ -1026,7 +1074,7 @@ export declare namespace ComAtprotoServerDescribeServer {
|
|
|
1026
1074
|
interface Output {
|
|
1027
1075
|
/** List of domain suffixes that can be used in account handles. */
|
|
1028
1076
|
availableUserDomains: string[];
|
|
1029
|
-
did: At.
|
|
1077
|
+
did: At.Did;
|
|
1030
1078
|
/** Contact information */
|
|
1031
1079
|
contact?: Contact;
|
|
1032
1080
|
/** If true, an invite code must be supplied to create an account on this instance. */
|
|
@@ -1042,8 +1090,8 @@ export declare namespace ComAtprotoServerDescribeServer {
|
|
|
1042
1090
|
}
|
|
1043
1091
|
interface Links {
|
|
1044
1092
|
[Brand.Type]?: 'com.atproto.server.describeServer#links';
|
|
1045
|
-
privacyPolicy?:
|
|
1046
|
-
termsOfService?:
|
|
1093
|
+
privacyPolicy?: At.GenericUri;
|
|
1094
|
+
termsOfService?: At.GenericUri;
|
|
1047
1095
|
}
|
|
1048
1096
|
}
|
|
1049
1097
|
/** Get all invite codes for the current account. Requires auth. */
|
|
@@ -1069,11 +1117,11 @@ export declare namespace ComAtprotoServerGetAccountInviteCodes {
|
|
|
1069
1117
|
export declare namespace ComAtprotoServerGetServiceAuth {
|
|
1070
1118
|
interface Params {
|
|
1071
1119
|
/** The DID of the service that the token will be used to authenticate with */
|
|
1072
|
-
aud: At.
|
|
1120
|
+
aud: At.Did;
|
|
1073
1121
|
/** 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. */
|
|
1074
1122
|
exp?: number;
|
|
1075
1123
|
/** Lexicon (XRPC) method to bind the requested token to */
|
|
1076
|
-
lxm?:
|
|
1124
|
+
lxm?: At.Nsid;
|
|
1077
1125
|
}
|
|
1078
1126
|
type Input = undefined;
|
|
1079
1127
|
interface Output {
|
|
@@ -1089,7 +1137,7 @@ export declare namespace ComAtprotoServerGetSession {
|
|
|
1089
1137
|
}
|
|
1090
1138
|
type Input = undefined;
|
|
1091
1139
|
interface Output {
|
|
1092
|
-
did: At.
|
|
1140
|
+
did: At.Did;
|
|
1093
1141
|
handle: At.Handle;
|
|
1094
1142
|
active?: boolean;
|
|
1095
1143
|
didDoc?: unknown;
|
|
@@ -1125,7 +1173,7 @@ export declare namespace ComAtprotoServerRefreshSession {
|
|
|
1125
1173
|
type Input = undefined;
|
|
1126
1174
|
interface Output {
|
|
1127
1175
|
accessJwt: string;
|
|
1128
|
-
did: At.
|
|
1176
|
+
did: At.Did;
|
|
1129
1177
|
handle: At.Handle;
|
|
1130
1178
|
refreshJwt: string;
|
|
1131
1179
|
active?: boolean;
|
|
@@ -1175,7 +1223,7 @@ export declare namespace ComAtprotoServerReserveSigningKey {
|
|
|
1175
1223
|
}
|
|
1176
1224
|
interface Input {
|
|
1177
1225
|
/** The DID to reserve a key for. */
|
|
1178
|
-
did?: At.
|
|
1226
|
+
did?: At.Did;
|
|
1179
1227
|
}
|
|
1180
1228
|
interface Output {
|
|
1181
1229
|
/** The public key for the reserved signing key, in did:key serialization. */
|
|
@@ -1226,9 +1274,9 @@ export declare namespace ComAtprotoServerUpdateEmail {
|
|
|
1226
1274
|
export declare namespace ComAtprotoSyncGetBlob {
|
|
1227
1275
|
interface Params {
|
|
1228
1276
|
/** The CID of the blob to fetch */
|
|
1229
|
-
cid: At.
|
|
1277
|
+
cid: At.Cid;
|
|
1230
1278
|
/** The DID of the account. */
|
|
1231
|
-
did: At.
|
|
1279
|
+
did: At.Did;
|
|
1232
1280
|
}
|
|
1233
1281
|
type Input = undefined;
|
|
1234
1282
|
type Output = Uint8Array;
|
|
@@ -1243,9 +1291,9 @@ export declare namespace ComAtprotoSyncGetBlob {
|
|
|
1243
1291
|
/** Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS. */
|
|
1244
1292
|
export declare namespace ComAtprotoSyncGetBlocks {
|
|
1245
1293
|
interface Params {
|
|
1246
|
-
cids: At.
|
|
1294
|
+
cids: At.Cid[];
|
|
1247
1295
|
/** The DID of the repo. */
|
|
1248
|
-
did: At.
|
|
1296
|
+
did: At.Did;
|
|
1249
1297
|
}
|
|
1250
1298
|
type Input = undefined;
|
|
1251
1299
|
type Output = Uint8Array;
|
|
@@ -1264,7 +1312,7 @@ export declare namespace ComAtprotoSyncGetBlocks {
|
|
|
1264
1312
|
export declare namespace ComAtprotoSyncGetCheckout {
|
|
1265
1313
|
interface Params {
|
|
1266
1314
|
/** The DID of the repo. */
|
|
1267
|
-
did: At.
|
|
1315
|
+
did: At.Did;
|
|
1268
1316
|
}
|
|
1269
1317
|
type Input = undefined;
|
|
1270
1318
|
type Output = Uint8Array;
|
|
@@ -1276,11 +1324,11 @@ export declare namespace ComAtprotoSyncGetCheckout {
|
|
|
1276
1324
|
export declare namespace ComAtprotoSyncGetHead {
|
|
1277
1325
|
interface Params {
|
|
1278
1326
|
/** The DID of the repo. */
|
|
1279
|
-
did: At.
|
|
1327
|
+
did: At.Did;
|
|
1280
1328
|
}
|
|
1281
1329
|
type Input = undefined;
|
|
1282
1330
|
interface Output {
|
|
1283
|
-
root: At.
|
|
1331
|
+
root: At.Cid;
|
|
1284
1332
|
}
|
|
1285
1333
|
interface Errors {
|
|
1286
1334
|
HeadNotFound: {};
|
|
@@ -1290,12 +1338,12 @@ export declare namespace ComAtprotoSyncGetHead {
|
|
|
1290
1338
|
export declare namespace ComAtprotoSyncGetLatestCommit {
|
|
1291
1339
|
interface Params {
|
|
1292
1340
|
/** The DID of the repo. */
|
|
1293
|
-
did: At.
|
|
1341
|
+
did: At.Did;
|
|
1294
1342
|
}
|
|
1295
1343
|
type Input = undefined;
|
|
1296
1344
|
interface Output {
|
|
1297
|
-
cid: At.
|
|
1298
|
-
rev:
|
|
1345
|
+
cid: At.Cid;
|
|
1346
|
+
rev: At.Tid;
|
|
1299
1347
|
}
|
|
1300
1348
|
interface Errors {
|
|
1301
1349
|
RepoNotFound: {};
|
|
@@ -1307,11 +1355,11 @@ export declare namespace ComAtprotoSyncGetLatestCommit {
|
|
|
1307
1355
|
/** Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth. */
|
|
1308
1356
|
export declare namespace ComAtprotoSyncGetRecord {
|
|
1309
1357
|
interface Params {
|
|
1310
|
-
collection:
|
|
1358
|
+
collection: At.Nsid;
|
|
1311
1359
|
/** The DID of the repo. */
|
|
1312
|
-
did: At.
|
|
1360
|
+
did: At.Did;
|
|
1313
1361
|
/** Record Key */
|
|
1314
|
-
rkey:
|
|
1362
|
+
rkey: At.RecordKey;
|
|
1315
1363
|
}
|
|
1316
1364
|
type Input = undefined;
|
|
1317
1365
|
type Output = Uint8Array;
|
|
@@ -1327,9 +1375,9 @@ export declare namespace ComAtprotoSyncGetRecord {
|
|
|
1327
1375
|
export declare namespace ComAtprotoSyncGetRepo {
|
|
1328
1376
|
interface Params {
|
|
1329
1377
|
/** The DID of the repo. */
|
|
1330
|
-
did: At.
|
|
1378
|
+
did: At.Did;
|
|
1331
1379
|
/** The revision ('rev') of the repo to create a diff from. */
|
|
1332
|
-
since?:
|
|
1380
|
+
since?: At.Tid;
|
|
1333
1381
|
}
|
|
1334
1382
|
type Input = undefined;
|
|
1335
1383
|
type Output = Uint8Array;
|
|
@@ -1344,14 +1392,14 @@ export declare namespace ComAtprotoSyncGetRepo {
|
|
|
1344
1392
|
export declare namespace ComAtprotoSyncGetRepoStatus {
|
|
1345
1393
|
interface Params {
|
|
1346
1394
|
/** The DID of the repo. */
|
|
1347
|
-
did: At.
|
|
1395
|
+
did: At.Did;
|
|
1348
1396
|
}
|
|
1349
1397
|
type Input = undefined;
|
|
1350
1398
|
interface Output {
|
|
1351
1399
|
active: boolean;
|
|
1352
|
-
did: At.
|
|
1400
|
+
did: At.Did;
|
|
1353
1401
|
/** Optional field, the current rev of the repo, if active=true */
|
|
1354
|
-
rev?:
|
|
1402
|
+
rev?: At.Tid;
|
|
1355
1403
|
/** 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. */
|
|
1356
1404
|
status?: 'deactivated' | 'deleted' | 'desynchronized' | 'suspended' | 'takendown' | 'throttled' | (string & {});
|
|
1357
1405
|
}
|
|
@@ -1363,7 +1411,7 @@ export declare namespace ComAtprotoSyncGetRepoStatus {
|
|
|
1363
1411
|
export declare namespace ComAtprotoSyncListBlobs {
|
|
1364
1412
|
interface Params {
|
|
1365
1413
|
/** The DID of the repo. */
|
|
1366
|
-
did: At.
|
|
1414
|
+
did: At.Did;
|
|
1367
1415
|
cursor?: string;
|
|
1368
1416
|
/**
|
|
1369
1417
|
* Minimum: 1 \
|
|
@@ -1372,11 +1420,11 @@ export declare namespace ComAtprotoSyncListBlobs {
|
|
|
1372
1420
|
*/
|
|
1373
1421
|
limit?: number;
|
|
1374
1422
|
/** Optional revision of the repo to list blobs since. */
|
|
1375
|
-
since?:
|
|
1423
|
+
since?: At.Tid;
|
|
1376
1424
|
}
|
|
1377
1425
|
type Input = undefined;
|
|
1378
1426
|
interface Output {
|
|
1379
|
-
cids: At.
|
|
1427
|
+
cids: At.Cid[];
|
|
1380
1428
|
cursor?: string;
|
|
1381
1429
|
}
|
|
1382
1430
|
interface Errors {
|
|
@@ -1404,10 +1452,10 @@ export declare namespace ComAtprotoSyncListRepos {
|
|
|
1404
1452
|
}
|
|
1405
1453
|
interface Repo {
|
|
1406
1454
|
[Brand.Type]?: 'com.atproto.sync.listRepos#repo';
|
|
1407
|
-
did: At.
|
|
1455
|
+
did: At.Did;
|
|
1408
1456
|
/** Current repo commit CID */
|
|
1409
|
-
head: At.
|
|
1410
|
-
rev:
|
|
1457
|
+
head: At.Cid;
|
|
1458
|
+
rev: At.Tid;
|
|
1411
1459
|
active?: boolean;
|
|
1412
1460
|
/** 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. */
|
|
1413
1461
|
status?: 'deactivated' | 'deleted' | 'desynchronized' | 'suspended' | 'takendown' | 'throttled' | (string & {});
|
|
@@ -1416,7 +1464,7 @@ export declare namespace ComAtprotoSyncListRepos {
|
|
|
1416
1464
|
/** Enumerates all the DIDs which have records with the given collection NSID. */
|
|
1417
1465
|
export declare namespace ComAtprotoSyncListReposByCollection {
|
|
1418
1466
|
interface Params {
|
|
1419
|
-
collection:
|
|
1467
|
+
collection: At.Nsid;
|
|
1420
1468
|
cursor?: string;
|
|
1421
1469
|
/**
|
|
1422
1470
|
* Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists. \
|
|
@@ -1433,7 +1481,7 @@ export declare namespace ComAtprotoSyncListReposByCollection {
|
|
|
1433
1481
|
}
|
|
1434
1482
|
interface Repo {
|
|
1435
1483
|
[Brand.Type]?: 'com.atproto.sync.listReposByCollection#repo';
|
|
1436
|
-
did: At.
|
|
1484
|
+
did: At.Did;
|
|
1437
1485
|
}
|
|
1438
1486
|
}
|
|
1439
1487
|
/** Notify a crawling service of a recent update, and that crawling should resume. Intended use is after a gap between repo stream events caused the crawling service to disconnect. Does not require auth; implemented by Relay. DEPRECATED: just use com.atproto.sync.requestCrawl */
|
|
@@ -1462,7 +1510,7 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1462
1510
|
[Brand.Type]?: 'com.atproto.sync.subscribeRepos#account';
|
|
1463
1511
|
/** Indicates that the account has a repository which can be fetched from the host that emitted this event. */
|
|
1464
1512
|
active: boolean;
|
|
1465
|
-
did: At.
|
|
1513
|
+
did: At.Did;
|
|
1466
1514
|
seq: number;
|
|
1467
1515
|
time: string;
|
|
1468
1516
|
/** If active=false, this optional field indicates a reason for why the account is not active. */
|
|
@@ -1475,11 +1523,11 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1475
1523
|
* DEPRECATED -- will soon always be empty. List of new blobs (by CID) referenced by records in this commit.
|
|
1476
1524
|
* @deprecated
|
|
1477
1525
|
*/
|
|
1478
|
-
blobs: At.
|
|
1526
|
+
blobs: At.CidLink[];
|
|
1479
1527
|
/** 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. */
|
|
1480
1528
|
blocks: At.Bytes;
|
|
1481
1529
|
/** Repo commit object CID. */
|
|
1482
|
-
commit: At.
|
|
1530
|
+
commit: At.CidLink;
|
|
1483
1531
|
/**
|
|
1484
1532
|
* Maximum array length: 200 \
|
|
1485
1533
|
* List of repo mutation operations in this commit (eg, records created, updated, or deleted).
|
|
@@ -1491,13 +1539,13 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1491
1539
|
*/
|
|
1492
1540
|
rebase: boolean;
|
|
1493
1541
|
/** The repo this event comes from. Note that all other message types name this field 'did'. */
|
|
1494
|
-
repo: At.
|
|
1542
|
+
repo: At.Did;
|
|
1495
1543
|
/** 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. */
|
|
1496
|
-
rev:
|
|
1544
|
+
rev: At.Tid;
|
|
1497
1545
|
/** The stream sequence number of this message. */
|
|
1498
1546
|
seq: number;
|
|
1499
1547
|
/** The rev of the last emitted commit from this repo (if any). */
|
|
1500
|
-
since:
|
|
1548
|
+
since: At.Tid | null;
|
|
1501
1549
|
/** Timestamp of when this message was originally broadcast. */
|
|
1502
1550
|
time: string;
|
|
1503
1551
|
/**
|
|
@@ -1506,12 +1554,12 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1506
1554
|
*/
|
|
1507
1555
|
tooBig: boolean;
|
|
1508
1556
|
/** 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. */
|
|
1509
|
-
prevData?: At.
|
|
1557
|
+
prevData?: At.CidLink;
|
|
1510
1558
|
}
|
|
1511
1559
|
/** 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. */
|
|
1512
1560
|
interface Identity {
|
|
1513
1561
|
[Brand.Type]?: 'com.atproto.sync.subscribeRepos#identity';
|
|
1514
|
-
did: At.
|
|
1562
|
+
did: At.Did;
|
|
1515
1563
|
seq: number;
|
|
1516
1564
|
time: string;
|
|
1517
1565
|
/** 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. */
|
|
@@ -1527,10 +1575,10 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1527
1575
|
[Brand.Type]?: 'com.atproto.sync.subscribeRepos#repoOp';
|
|
1528
1576
|
action: 'create' | 'delete' | 'update' | (string & {});
|
|
1529
1577
|
/** For creates and updates, the new record CID. For deletions, null. */
|
|
1530
|
-
cid: At.
|
|
1578
|
+
cid: At.CidLink | null;
|
|
1531
1579
|
path: string;
|
|
1532
1580
|
/** For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. */
|
|
1533
|
-
prev?: At.
|
|
1581
|
+
prev?: At.CidLink;
|
|
1534
1582
|
}
|
|
1535
1583
|
/** 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. */
|
|
1536
1584
|
interface Sync {
|
|
@@ -1538,7 +1586,7 @@ export declare namespace ComAtprotoSyncSubscribeRepos {
|
|
|
1538
1586
|
/** CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'. */
|
|
1539
1587
|
blocks: At.Bytes;
|
|
1540
1588
|
/** The account this repo event corresponds to. Must match that in the commit object. */
|
|
1541
|
-
did: At.
|
|
1589
|
+
did: At.Did;
|
|
1542
1590
|
/** The rev of the commit. This value must match that in the commit object. */
|
|
1543
1591
|
rev: string;
|
|
1544
1592
|
/** The stream sequence number of this message. */
|
|
@@ -1602,129 +1650,251 @@ export declare interface Records {
|
|
|
1602
1650
|
export declare interface Queries {
|
|
1603
1651
|
'com.atproto.admin.getAccountInfo': {
|
|
1604
1652
|
params: ComAtprotoAdminGetAccountInfo.Params;
|
|
1653
|
+
/** @deprecated */
|
|
1605
1654
|
output: ComAtprotoAdminGetAccountInfo.Output;
|
|
1655
|
+
response: {
|
|
1656
|
+
json: ComAtprotoAdminGetAccountInfo.Output;
|
|
1657
|
+
};
|
|
1606
1658
|
};
|
|
1607
1659
|
'com.atproto.admin.getAccountInfos': {
|
|
1608
1660
|
params: ComAtprotoAdminGetAccountInfos.Params;
|
|
1661
|
+
/** @deprecated */
|
|
1609
1662
|
output: ComAtprotoAdminGetAccountInfos.Output;
|
|
1663
|
+
response: {
|
|
1664
|
+
json: ComAtprotoAdminGetAccountInfos.Output;
|
|
1665
|
+
};
|
|
1610
1666
|
};
|
|
1611
1667
|
'com.atproto.admin.getInviteCodes': {
|
|
1612
1668
|
params: ComAtprotoAdminGetInviteCodes.Params;
|
|
1669
|
+
/** @deprecated */
|
|
1613
1670
|
output: ComAtprotoAdminGetInviteCodes.Output;
|
|
1671
|
+
response: {
|
|
1672
|
+
json: ComAtprotoAdminGetInviteCodes.Output;
|
|
1673
|
+
};
|
|
1614
1674
|
};
|
|
1615
1675
|
'com.atproto.admin.getSubjectStatus': {
|
|
1616
1676
|
params: ComAtprotoAdminGetSubjectStatus.Params;
|
|
1677
|
+
/** @deprecated */
|
|
1617
1678
|
output: ComAtprotoAdminGetSubjectStatus.Output;
|
|
1679
|
+
response: {
|
|
1680
|
+
json: ComAtprotoAdminGetSubjectStatus.Output;
|
|
1681
|
+
};
|
|
1618
1682
|
};
|
|
1619
1683
|
'com.atproto.admin.searchAccounts': {
|
|
1620
1684
|
params: ComAtprotoAdminSearchAccounts.Params;
|
|
1685
|
+
/** @deprecated */
|
|
1621
1686
|
output: ComAtprotoAdminSearchAccounts.Output;
|
|
1687
|
+
response: {
|
|
1688
|
+
json: ComAtprotoAdminSearchAccounts.Output;
|
|
1689
|
+
};
|
|
1622
1690
|
};
|
|
1623
1691
|
'com.atproto.identity.getRecommendedDidCredentials': {
|
|
1692
|
+
/** @deprecated */
|
|
1624
1693
|
output: ComAtprotoIdentityGetRecommendedDidCredentials.Output;
|
|
1694
|
+
response: {
|
|
1695
|
+
json: ComAtprotoIdentityGetRecommendedDidCredentials.Output;
|
|
1696
|
+
};
|
|
1625
1697
|
};
|
|
1626
1698
|
'com.atproto.identity.resolveDid': {
|
|
1627
1699
|
params: ComAtprotoIdentityResolveDid.Params;
|
|
1700
|
+
/** @deprecated */
|
|
1628
1701
|
output: ComAtprotoIdentityResolveDid.Output;
|
|
1702
|
+
response: {
|
|
1703
|
+
json: ComAtprotoIdentityResolveDid.Output;
|
|
1704
|
+
};
|
|
1629
1705
|
};
|
|
1630
1706
|
'com.atproto.identity.resolveHandle': {
|
|
1631
1707
|
params: ComAtprotoIdentityResolveHandle.Params;
|
|
1708
|
+
/** @deprecated */
|
|
1632
1709
|
output: ComAtprotoIdentityResolveHandle.Output;
|
|
1710
|
+
response: {
|
|
1711
|
+
json: ComAtprotoIdentityResolveHandle.Output;
|
|
1712
|
+
};
|
|
1633
1713
|
};
|
|
1634
1714
|
'com.atproto.identity.resolveIdentity': {
|
|
1635
1715
|
params: ComAtprotoIdentityResolveIdentity.Params;
|
|
1716
|
+
/** @deprecated */
|
|
1636
1717
|
output: ComAtprotoIdentityResolveIdentity.Output;
|
|
1718
|
+
response: {
|
|
1719
|
+
json: ComAtprotoIdentityResolveIdentity.Output;
|
|
1720
|
+
};
|
|
1637
1721
|
};
|
|
1638
1722
|
'com.atproto.label.queryLabels': {
|
|
1639
1723
|
params: ComAtprotoLabelQueryLabels.Params;
|
|
1724
|
+
/** @deprecated */
|
|
1640
1725
|
output: ComAtprotoLabelQueryLabels.Output;
|
|
1726
|
+
response: {
|
|
1727
|
+
json: ComAtprotoLabelQueryLabels.Output;
|
|
1728
|
+
};
|
|
1641
1729
|
};
|
|
1642
1730
|
'com.atproto.repo.describeRepo': {
|
|
1643
1731
|
params: ComAtprotoRepoDescribeRepo.Params;
|
|
1732
|
+
/** @deprecated */
|
|
1644
1733
|
output: ComAtprotoRepoDescribeRepo.Output;
|
|
1734
|
+
response: {
|
|
1735
|
+
json: ComAtprotoRepoDescribeRepo.Output;
|
|
1736
|
+
};
|
|
1645
1737
|
};
|
|
1646
1738
|
'com.atproto.repo.getRecord': {
|
|
1647
1739
|
params: ComAtprotoRepoGetRecord.Params;
|
|
1740
|
+
/** @deprecated */
|
|
1648
1741
|
output: ComAtprotoRepoGetRecord.Output;
|
|
1742
|
+
response: {
|
|
1743
|
+
json: ComAtprotoRepoGetRecord.Output;
|
|
1744
|
+
};
|
|
1649
1745
|
};
|
|
1650
1746
|
'com.atproto.repo.listMissingBlobs': {
|
|
1651
1747
|
params: ComAtprotoRepoListMissingBlobs.Params;
|
|
1748
|
+
/** @deprecated */
|
|
1652
1749
|
output: ComAtprotoRepoListMissingBlobs.Output;
|
|
1750
|
+
response: {
|
|
1751
|
+
json: ComAtprotoRepoListMissingBlobs.Output;
|
|
1752
|
+
};
|
|
1653
1753
|
};
|
|
1654
1754
|
'com.atproto.repo.listRecords': {
|
|
1655
1755
|
params: ComAtprotoRepoListRecords.Params;
|
|
1756
|
+
/** @deprecated */
|
|
1656
1757
|
output: ComAtprotoRepoListRecords.Output;
|
|
1758
|
+
response: {
|
|
1759
|
+
json: ComAtprotoRepoListRecords.Output;
|
|
1760
|
+
};
|
|
1657
1761
|
};
|
|
1658
1762
|
'com.atproto.server.checkAccountStatus': {
|
|
1763
|
+
/** @deprecated */
|
|
1659
1764
|
output: ComAtprotoServerCheckAccountStatus.Output;
|
|
1765
|
+
response: {
|
|
1766
|
+
json: ComAtprotoServerCheckAccountStatus.Output;
|
|
1767
|
+
};
|
|
1660
1768
|
};
|
|
1661
1769
|
'com.atproto.server.describeServer': {
|
|
1770
|
+
/** @deprecated */
|
|
1662
1771
|
output: ComAtprotoServerDescribeServer.Output;
|
|
1772
|
+
response: {
|
|
1773
|
+
json: ComAtprotoServerDescribeServer.Output;
|
|
1774
|
+
};
|
|
1663
1775
|
};
|
|
1664
1776
|
'com.atproto.server.getAccountInviteCodes': {
|
|
1665
1777
|
params: ComAtprotoServerGetAccountInviteCodes.Params;
|
|
1778
|
+
/** @deprecated */
|
|
1666
1779
|
output: ComAtprotoServerGetAccountInviteCodes.Output;
|
|
1780
|
+
response: {
|
|
1781
|
+
json: ComAtprotoServerGetAccountInviteCodes.Output;
|
|
1782
|
+
};
|
|
1667
1783
|
};
|
|
1668
1784
|
'com.atproto.server.getServiceAuth': {
|
|
1669
1785
|
params: ComAtprotoServerGetServiceAuth.Params;
|
|
1786
|
+
/** @deprecated */
|
|
1670
1787
|
output: ComAtprotoServerGetServiceAuth.Output;
|
|
1788
|
+
response: {
|
|
1789
|
+
json: ComAtprotoServerGetServiceAuth.Output;
|
|
1790
|
+
};
|
|
1671
1791
|
};
|
|
1672
1792
|
'com.atproto.server.getSession': {
|
|
1793
|
+
/** @deprecated */
|
|
1673
1794
|
output: ComAtprotoServerGetSession.Output;
|
|
1795
|
+
response: {
|
|
1796
|
+
json: ComAtprotoServerGetSession.Output;
|
|
1797
|
+
};
|
|
1674
1798
|
};
|
|
1675
1799
|
'com.atproto.server.listAppPasswords': {
|
|
1800
|
+
/** @deprecated */
|
|
1676
1801
|
output: ComAtprotoServerListAppPasswords.Output;
|
|
1802
|
+
response: {
|
|
1803
|
+
json: ComAtprotoServerListAppPasswords.Output;
|
|
1804
|
+
};
|
|
1677
1805
|
};
|
|
1678
1806
|
'com.atproto.sync.getBlob': {
|
|
1679
1807
|
params: ComAtprotoSyncGetBlob.Params;
|
|
1808
|
+
/** @deprecated */
|
|
1680
1809
|
output: ComAtprotoSyncGetBlob.Output;
|
|
1810
|
+
response: {};
|
|
1681
1811
|
};
|
|
1682
1812
|
'com.atproto.sync.getBlocks': {
|
|
1683
1813
|
params: ComAtprotoSyncGetBlocks.Params;
|
|
1814
|
+
/** @deprecated */
|
|
1684
1815
|
output: ComAtprotoSyncGetBlocks.Output;
|
|
1816
|
+
response: {};
|
|
1685
1817
|
};
|
|
1686
1818
|
'com.atproto.sync.getCheckout': {
|
|
1687
1819
|
params: ComAtprotoSyncGetCheckout.Params;
|
|
1820
|
+
/** @deprecated */
|
|
1688
1821
|
output: ComAtprotoSyncGetCheckout.Output;
|
|
1822
|
+
response: {};
|
|
1689
1823
|
};
|
|
1690
1824
|
'com.atproto.sync.getHead': {
|
|
1691
1825
|
params: ComAtprotoSyncGetHead.Params;
|
|
1826
|
+
/** @deprecated */
|
|
1692
1827
|
output: ComAtprotoSyncGetHead.Output;
|
|
1828
|
+
response: {
|
|
1829
|
+
json: ComAtprotoSyncGetHead.Output;
|
|
1830
|
+
};
|
|
1693
1831
|
};
|
|
1694
1832
|
'com.atproto.sync.getLatestCommit': {
|
|
1695
1833
|
params: ComAtprotoSyncGetLatestCommit.Params;
|
|
1834
|
+
/** @deprecated */
|
|
1696
1835
|
output: ComAtprotoSyncGetLatestCommit.Output;
|
|
1836
|
+
response: {
|
|
1837
|
+
json: ComAtprotoSyncGetLatestCommit.Output;
|
|
1838
|
+
};
|
|
1697
1839
|
};
|
|
1698
1840
|
'com.atproto.sync.getRecord': {
|
|
1699
1841
|
params: ComAtprotoSyncGetRecord.Params;
|
|
1842
|
+
/** @deprecated */
|
|
1700
1843
|
output: ComAtprotoSyncGetRecord.Output;
|
|
1844
|
+
response: {};
|
|
1701
1845
|
};
|
|
1702
1846
|
'com.atproto.sync.getRepo': {
|
|
1703
1847
|
params: ComAtprotoSyncGetRepo.Params;
|
|
1848
|
+
/** @deprecated */
|
|
1704
1849
|
output: ComAtprotoSyncGetRepo.Output;
|
|
1850
|
+
response: {};
|
|
1705
1851
|
};
|
|
1706
1852
|
'com.atproto.sync.getRepoStatus': {
|
|
1707
1853
|
params: ComAtprotoSyncGetRepoStatus.Params;
|
|
1854
|
+
/** @deprecated */
|
|
1708
1855
|
output: ComAtprotoSyncGetRepoStatus.Output;
|
|
1856
|
+
response: {
|
|
1857
|
+
json: ComAtprotoSyncGetRepoStatus.Output;
|
|
1858
|
+
};
|
|
1709
1859
|
};
|
|
1710
1860
|
'com.atproto.sync.listBlobs': {
|
|
1711
1861
|
params: ComAtprotoSyncListBlobs.Params;
|
|
1862
|
+
/** @deprecated */
|
|
1712
1863
|
output: ComAtprotoSyncListBlobs.Output;
|
|
1864
|
+
response: {
|
|
1865
|
+
json: ComAtprotoSyncListBlobs.Output;
|
|
1866
|
+
};
|
|
1713
1867
|
};
|
|
1714
1868
|
'com.atproto.sync.listRepos': {
|
|
1715
1869
|
params: ComAtprotoSyncListRepos.Params;
|
|
1870
|
+
/** @deprecated */
|
|
1716
1871
|
output: ComAtprotoSyncListRepos.Output;
|
|
1872
|
+
response: {
|
|
1873
|
+
json: ComAtprotoSyncListRepos.Output;
|
|
1874
|
+
};
|
|
1717
1875
|
};
|
|
1718
1876
|
'com.atproto.sync.listReposByCollection': {
|
|
1719
1877
|
params: ComAtprotoSyncListReposByCollection.Params;
|
|
1878
|
+
/** @deprecated */
|
|
1720
1879
|
output: ComAtprotoSyncListReposByCollection.Output;
|
|
1880
|
+
response: {
|
|
1881
|
+
json: ComAtprotoSyncListReposByCollection.Output;
|
|
1882
|
+
};
|
|
1721
1883
|
};
|
|
1722
1884
|
'com.atproto.temp.checkSignupQueue': {
|
|
1885
|
+
/** @deprecated */
|
|
1723
1886
|
output: ComAtprotoTempCheckSignupQueue.Output;
|
|
1887
|
+
response: {
|
|
1888
|
+
json: ComAtprotoTempCheckSignupQueue.Output;
|
|
1889
|
+
};
|
|
1724
1890
|
};
|
|
1725
1891
|
'com.atproto.temp.fetchLabels': {
|
|
1726
1892
|
params: ComAtprotoTempFetchLabels.Params;
|
|
1893
|
+
/** @deprecated */
|
|
1727
1894
|
output: ComAtprotoTempFetchLabels.Output;
|
|
1895
|
+
response: {
|
|
1896
|
+
json: ComAtprotoTempFetchLabels.Output;
|
|
1897
|
+
};
|
|
1728
1898
|
};
|
|
1729
1899
|
}
|
|
1730
1900
|
export declare interface Procedures {
|
|
@@ -1742,7 +1912,11 @@ export declare interface Procedures {
|
|
|
1742
1912
|
};
|
|
1743
1913
|
'com.atproto.admin.sendEmail': {
|
|
1744
1914
|
input: ComAtprotoAdminSendEmail.Input;
|
|
1915
|
+
/** @deprecated */
|
|
1745
1916
|
output: ComAtprotoAdminSendEmail.Output;
|
|
1917
|
+
response: {
|
|
1918
|
+
json: ComAtprotoAdminSendEmail.Output;
|
|
1919
|
+
};
|
|
1746
1920
|
};
|
|
1747
1921
|
'com.atproto.admin.updateAccountEmail': {
|
|
1748
1922
|
input: ComAtprotoAdminUpdateAccountEmail.Input;
|
|
@@ -1755,16 +1929,28 @@ export declare interface Procedures {
|
|
|
1755
1929
|
};
|
|
1756
1930
|
'com.atproto.admin.updateSubjectStatus': {
|
|
1757
1931
|
input: ComAtprotoAdminUpdateSubjectStatus.Input;
|
|
1932
|
+
/** @deprecated */
|
|
1758
1933
|
output: ComAtprotoAdminUpdateSubjectStatus.Output;
|
|
1934
|
+
response: {
|
|
1935
|
+
json: ComAtprotoAdminUpdateSubjectStatus.Output;
|
|
1936
|
+
};
|
|
1759
1937
|
};
|
|
1760
1938
|
'com.atproto.identity.refreshIdentity': {
|
|
1761
1939
|
input: ComAtprotoIdentityRefreshIdentity.Input;
|
|
1940
|
+
/** @deprecated */
|
|
1762
1941
|
output: ComAtprotoIdentityRefreshIdentity.Output;
|
|
1942
|
+
response: {
|
|
1943
|
+
json: ComAtprotoIdentityRefreshIdentity.Output;
|
|
1944
|
+
};
|
|
1763
1945
|
};
|
|
1764
1946
|
'com.atproto.identity.requestPlcOperationSignature': {};
|
|
1765
1947
|
'com.atproto.identity.signPlcOperation': {
|
|
1766
1948
|
input: ComAtprotoIdentitySignPlcOperation.Input;
|
|
1949
|
+
/** @deprecated */
|
|
1767
1950
|
output: ComAtprotoIdentitySignPlcOperation.Output;
|
|
1951
|
+
response: {
|
|
1952
|
+
json: ComAtprotoIdentitySignPlcOperation.Output;
|
|
1953
|
+
};
|
|
1768
1954
|
};
|
|
1769
1955
|
'com.atproto.identity.submitPlcOperation': {
|
|
1770
1956
|
input: ComAtprotoIdentitySubmitPlcOperation.Input;
|
|
@@ -1774,30 +1960,54 @@ export declare interface Procedures {
|
|
|
1774
1960
|
};
|
|
1775
1961
|
'com.atproto.moderation.createReport': {
|
|
1776
1962
|
input: ComAtprotoModerationCreateReport.Input;
|
|
1963
|
+
/** @deprecated */
|
|
1777
1964
|
output: ComAtprotoModerationCreateReport.Output;
|
|
1965
|
+
response: {
|
|
1966
|
+
json: ComAtprotoModerationCreateReport.Output;
|
|
1967
|
+
};
|
|
1778
1968
|
};
|
|
1779
1969
|
'com.atproto.repo.applyWrites': {
|
|
1780
1970
|
input: ComAtprotoRepoApplyWrites.Input;
|
|
1971
|
+
/** @deprecated */
|
|
1781
1972
|
output: ComAtprotoRepoApplyWrites.Output;
|
|
1973
|
+
response: {
|
|
1974
|
+
json: ComAtprotoRepoApplyWrites.Output;
|
|
1975
|
+
};
|
|
1782
1976
|
};
|
|
1783
1977
|
'com.atproto.repo.createRecord': {
|
|
1784
1978
|
input: ComAtprotoRepoCreateRecord.Input;
|
|
1979
|
+
/** @deprecated */
|
|
1785
1980
|
output: ComAtprotoRepoCreateRecord.Output;
|
|
1981
|
+
response: {
|
|
1982
|
+
json: ComAtprotoRepoCreateRecord.Output;
|
|
1983
|
+
};
|
|
1786
1984
|
};
|
|
1787
1985
|
'com.atproto.repo.deleteRecord': {
|
|
1788
1986
|
input: ComAtprotoRepoDeleteRecord.Input;
|
|
1987
|
+
/** @deprecated */
|
|
1789
1988
|
output: ComAtprotoRepoDeleteRecord.Output;
|
|
1989
|
+
response: {
|
|
1990
|
+
json: ComAtprotoRepoDeleteRecord.Output;
|
|
1991
|
+
};
|
|
1790
1992
|
};
|
|
1791
1993
|
'com.atproto.repo.importRepo': {
|
|
1792
1994
|
input: ComAtprotoRepoImportRepo.Input;
|
|
1793
1995
|
};
|
|
1794
1996
|
'com.atproto.repo.putRecord': {
|
|
1795
1997
|
input: ComAtprotoRepoPutRecord.Input;
|
|
1998
|
+
/** @deprecated */
|
|
1796
1999
|
output: ComAtprotoRepoPutRecord.Output;
|
|
2000
|
+
response: {
|
|
2001
|
+
json: ComAtprotoRepoPutRecord.Output;
|
|
2002
|
+
};
|
|
1797
2003
|
};
|
|
1798
2004
|
'com.atproto.repo.uploadBlob': {
|
|
1799
2005
|
input: ComAtprotoRepoUploadBlob.Input;
|
|
2006
|
+
/** @deprecated */
|
|
1800
2007
|
output: ComAtprotoRepoUploadBlob.Output;
|
|
2008
|
+
response: {
|
|
2009
|
+
json: ComAtprotoRepoUploadBlob.Output;
|
|
2010
|
+
};
|
|
1801
2011
|
};
|
|
1802
2012
|
'com.atproto.server.activateAccount': {};
|
|
1803
2013
|
'com.atproto.server.confirmEmail': {
|
|
@@ -1805,23 +2015,43 @@ export declare interface Procedures {
|
|
|
1805
2015
|
};
|
|
1806
2016
|
'com.atproto.server.createAccount': {
|
|
1807
2017
|
input: ComAtprotoServerCreateAccount.Input;
|
|
2018
|
+
/** @deprecated */
|
|
1808
2019
|
output: ComAtprotoServerCreateAccount.Output;
|
|
2020
|
+
response: {
|
|
2021
|
+
json: ComAtprotoServerCreateAccount.Output;
|
|
2022
|
+
};
|
|
1809
2023
|
};
|
|
1810
2024
|
'com.atproto.server.createAppPassword': {
|
|
1811
2025
|
input: ComAtprotoServerCreateAppPassword.Input;
|
|
2026
|
+
/** @deprecated */
|
|
1812
2027
|
output: ComAtprotoServerCreateAppPassword.Output;
|
|
2028
|
+
response: {
|
|
2029
|
+
json: ComAtprotoServerCreateAppPassword.Output;
|
|
2030
|
+
};
|
|
1813
2031
|
};
|
|
1814
2032
|
'com.atproto.server.createInviteCode': {
|
|
1815
2033
|
input: ComAtprotoServerCreateInviteCode.Input;
|
|
2034
|
+
/** @deprecated */
|
|
1816
2035
|
output: ComAtprotoServerCreateInviteCode.Output;
|
|
2036
|
+
response: {
|
|
2037
|
+
json: ComAtprotoServerCreateInviteCode.Output;
|
|
2038
|
+
};
|
|
1817
2039
|
};
|
|
1818
2040
|
'com.atproto.server.createInviteCodes': {
|
|
1819
2041
|
input: ComAtprotoServerCreateInviteCodes.Input;
|
|
2042
|
+
/** @deprecated */
|
|
1820
2043
|
output: ComAtprotoServerCreateInviteCodes.Output;
|
|
2044
|
+
response: {
|
|
2045
|
+
json: ComAtprotoServerCreateInviteCodes.Output;
|
|
2046
|
+
};
|
|
1821
2047
|
};
|
|
1822
2048
|
'com.atproto.server.createSession': {
|
|
1823
2049
|
input: ComAtprotoServerCreateSession.Input;
|
|
2050
|
+
/** @deprecated */
|
|
1824
2051
|
output: ComAtprotoServerCreateSession.Output;
|
|
2052
|
+
response: {
|
|
2053
|
+
json: ComAtprotoServerCreateSession.Output;
|
|
2054
|
+
};
|
|
1825
2055
|
};
|
|
1826
2056
|
'com.atproto.server.deactivateAccount': {
|
|
1827
2057
|
input: ComAtprotoServerDeactivateAccount.Input;
|
|
@@ -1831,19 +2061,31 @@ export declare interface Procedures {
|
|
|
1831
2061
|
};
|
|
1832
2062
|
'com.atproto.server.deleteSession': {};
|
|
1833
2063
|
'com.atproto.server.refreshSession': {
|
|
2064
|
+
/** @deprecated */
|
|
1834
2065
|
output: ComAtprotoServerRefreshSession.Output;
|
|
2066
|
+
response: {
|
|
2067
|
+
json: ComAtprotoServerRefreshSession.Output;
|
|
2068
|
+
};
|
|
1835
2069
|
};
|
|
1836
2070
|
'com.atproto.server.requestAccountDelete': {};
|
|
1837
2071
|
'com.atproto.server.requestEmailConfirmation': {};
|
|
1838
2072
|
'com.atproto.server.requestEmailUpdate': {
|
|
2073
|
+
/** @deprecated */
|
|
1839
2074
|
output: ComAtprotoServerRequestEmailUpdate.Output;
|
|
2075
|
+
response: {
|
|
2076
|
+
json: ComAtprotoServerRequestEmailUpdate.Output;
|
|
2077
|
+
};
|
|
1840
2078
|
};
|
|
1841
2079
|
'com.atproto.server.requestPasswordReset': {
|
|
1842
2080
|
input: ComAtprotoServerRequestPasswordReset.Input;
|
|
1843
2081
|
};
|
|
1844
2082
|
'com.atproto.server.reserveSigningKey': {
|
|
1845
2083
|
input: ComAtprotoServerReserveSigningKey.Input;
|
|
2084
|
+
/** @deprecated */
|
|
1846
2085
|
output: ComAtprotoServerReserveSigningKey.Output;
|
|
2086
|
+
response: {
|
|
2087
|
+
json: ComAtprotoServerReserveSigningKey.Output;
|
|
2088
|
+
};
|
|
1847
2089
|
};
|
|
1848
2090
|
'com.atproto.server.resetPassword': {
|
|
1849
2091
|
input: ComAtprotoServerResetPassword.Input;
|
|
@@ -1862,7 +2104,11 @@ export declare interface Procedures {
|
|
|
1862
2104
|
};
|
|
1863
2105
|
'com.atproto.temp.addReservedHandle': {
|
|
1864
2106
|
input: ComAtprotoTempAddReservedHandle.Input;
|
|
2107
|
+
/** @deprecated */
|
|
1865
2108
|
output: ComAtprotoTempAddReservedHandle.Output;
|
|
2109
|
+
response: {
|
|
2110
|
+
json: ComAtprotoTempAddReservedHandle.Output;
|
|
2111
|
+
};
|
|
1866
2112
|
};
|
|
1867
2113
|
'com.atproto.temp.requestPhoneVerification': {
|
|
1868
2114
|
input: ComAtprotoTempRequestPhoneVerification.Input;
|