@atproto/api 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/client/index.d.ts +10 -0
  2. package/dist/client/lexicons.d.ts +221 -0
  3. package/dist/client/types/com/atproto/admin/defs.d.ts +5 -0
  4. package/dist/client/types/com/atproto/admin/disableInviteCodes.d.ts +18 -0
  5. package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +22 -0
  6. package/dist/client/types/com/atproto/admin/searchRepos.d.ts +1 -0
  7. package/dist/client/types/com/atproto/repo/listRecords.d.ts +1 -0
  8. package/dist/client/types/com/atproto/server/createInviteCode.d.ts +1 -0
  9. package/dist/client/types/com/atproto/server/createSession.d.ts +1 -0
  10. package/dist/client/types/com/atproto/server/defs.d.ts +20 -0
  11. package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +23 -0
  12. package/dist/client/types/com/atproto/server/getSession.d.ts +1 -0
  13. package/dist/index.js +512 -203
  14. package/dist/index.js.map +4 -4
  15. package/dist/types.d.ts +1 -0
  16. package/package.json +1 -1
  17. package/src/agent.ts +4 -0
  18. package/src/client/index.ts +41 -0
  19. package/src/client/lexicons.ts +237 -7
  20. package/src/client/types/com/atproto/admin/defs.ts +5 -0
  21. package/src/client/types/com/atproto/admin/disableInviteCodes.ts +33 -0
  22. package/src/client/types/com/atproto/admin/getInviteCodes.ts +39 -0
  23. package/src/client/types/com/atproto/admin/searchRepos.ts +1 -0
  24. package/src/client/types/com/atproto/repo/listRecords.ts +1 -0
  25. package/src/client/types/com/atproto/server/createInviteCode.ts +1 -0
  26. package/src/client/types/com/atproto/server/createSession.ts +1 -0
  27. package/src/client/types/com/atproto/server/defs.ts +48 -0
  28. package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +44 -0
  29. package/src/types.ts +1 -0
  30. package/tests/agent.test.ts +2 -0
  31. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,4 +1,6 @@
1
1
  import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';
2
+ import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
3
+ import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
2
4
  import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
3
5
  import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
4
6
  import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
@@ -26,6 +28,7 @@ import * as ComAtprotoServerCreateSession from './types/com/atproto/server/creat
26
28
  import * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount';
27
29
  import * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession';
28
30
  import * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer';
31
+ import * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes';
29
32
  import * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession';
30
33
  import * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession';
31
34
  import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete';
@@ -66,6 +69,8 @@ import * as AppBskyNotificationListNotifications from './types/app/bsky/notifica
66
69
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
67
70
  import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
68
71
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
72
+ export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
73
+ export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
69
74
  export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
70
75
  export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
71
76
  export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
@@ -92,9 +97,11 @@ export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
92
97
  export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
93
98
  export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
94
99
  export * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession';
100
+ export * as ComAtprotoServerDefs from './types/com/atproto/server/defs';
95
101
  export * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount';
96
102
  export * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession';
97
103
  export * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer';
104
+ export * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes';
98
105
  export * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession';
99
106
  export * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession';
100
107
  export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete';
@@ -182,6 +189,8 @@ export declare class AtprotoNS {
182
189
  export declare class AdminNS {
183
190
  _service: AtpServiceClient;
184
191
  constructor(service: AtpServiceClient);
192
+ disableInviteCodes(data?: ComAtprotoAdminDisableInviteCodes.InputSchema, opts?: ComAtprotoAdminDisableInviteCodes.CallOptions): Promise<ComAtprotoAdminDisableInviteCodes.Response>;
193
+ getInviteCodes(params?: ComAtprotoAdminGetInviteCodes.QueryParams, opts?: ComAtprotoAdminGetInviteCodes.CallOptions): Promise<ComAtprotoAdminGetInviteCodes.Response>;
185
194
  getModerationAction(params?: ComAtprotoAdminGetModerationAction.QueryParams, opts?: ComAtprotoAdminGetModerationAction.CallOptions): Promise<ComAtprotoAdminGetModerationAction.Response>;
186
195
  getModerationActions(params?: ComAtprotoAdminGetModerationActions.QueryParams, opts?: ComAtprotoAdminGetModerationActions.CallOptions): Promise<ComAtprotoAdminGetModerationActions.Response>;
187
196
  getModerationReport(params?: ComAtprotoAdminGetModerationReport.QueryParams, opts?: ComAtprotoAdminGetModerationReport.CallOptions): Promise<ComAtprotoAdminGetModerationReport.Response>;
@@ -225,6 +234,7 @@ export declare class ServerNS {
225
234
  deleteAccount(data?: ComAtprotoServerDeleteAccount.InputSchema, opts?: ComAtprotoServerDeleteAccount.CallOptions): Promise<ComAtprotoServerDeleteAccount.Response>;
226
235
  deleteSession(data?: ComAtprotoServerDeleteSession.InputSchema, opts?: ComAtprotoServerDeleteSession.CallOptions): Promise<ComAtprotoServerDeleteSession.Response>;
227
236
  describeServer(params?: ComAtprotoServerDescribeServer.QueryParams, opts?: ComAtprotoServerDescribeServer.CallOptions): Promise<ComAtprotoServerDescribeServer.Response>;
237
+ getAccountInviteCodes(params?: ComAtprotoServerGetAccountInviteCodes.QueryParams, opts?: ComAtprotoServerGetAccountInviteCodes.CallOptions): Promise<ComAtprotoServerGetAccountInviteCodes.Response>;
228
238
  getSession(params?: ComAtprotoServerGetSession.QueryParams, opts?: ComAtprotoServerGetSession.CallOptions): Promise<ComAtprotoServerGetSession.Response>;
229
239
  refreshSession(data?: ComAtprotoServerRefreshSession.InputSchema, opts?: ComAtprotoServerRefreshSession.CallOptions): Promise<ComAtprotoServerRefreshSession.Response>;
230
240
  requestAccountDelete(data?: ComAtprotoServerRequestAccountDelete.InputSchema, opts?: ComAtprotoServerRequestAccountDelete.CallOptions): Promise<ComAtprotoServerRequestAccountDelete.Response>;
@@ -238,6 +238,17 @@ export declare const schemaDict: {
238
238
  type: string;
239
239
  ref: string;
240
240
  };
241
+ invitedBy: {
242
+ type: string;
243
+ ref: string;
244
+ };
245
+ invites: {
246
+ type: string;
247
+ items: {
248
+ type: string;
249
+ ref: string;
250
+ };
251
+ };
241
252
  };
242
253
  };
243
254
  repoViewDetail: {
@@ -269,6 +280,17 @@ export declare const schemaDict: {
269
280
  type: string;
270
281
  ref: string;
271
282
  };
283
+ invitedBy: {
284
+ type: string;
285
+ ref: string;
286
+ };
287
+ invites: {
288
+ type: string;
289
+ items: {
290
+ type: string;
291
+ ref: string;
292
+ };
293
+ };
272
294
  };
273
295
  };
274
296
  repoRef: {
@@ -444,6 +466,84 @@ export declare const schemaDict: {
444
466
  };
445
467
  };
446
468
  };
469
+ ComAtprotoAdminDisableInviteCodes: {
470
+ lexicon: number;
471
+ id: string;
472
+ defs: {
473
+ main: {
474
+ type: string;
475
+ description: string;
476
+ input: {
477
+ encoding: string;
478
+ schema: {
479
+ type: string;
480
+ properties: {
481
+ codes: {
482
+ type: string;
483
+ items: {
484
+ type: string;
485
+ };
486
+ };
487
+ accounts: {
488
+ type: string;
489
+ items: {
490
+ type: string;
491
+ };
492
+ };
493
+ };
494
+ };
495
+ };
496
+ };
497
+ };
498
+ };
499
+ ComAtprotoAdminGetInviteCodes: {
500
+ lexicon: number;
501
+ id: string;
502
+ defs: {
503
+ main: {
504
+ type: string;
505
+ description: string;
506
+ parameters: {
507
+ type: string;
508
+ properties: {
509
+ sort: {
510
+ type: string;
511
+ knownValues: string[];
512
+ default: string;
513
+ };
514
+ limit: {
515
+ type: string;
516
+ minimum: number;
517
+ maximum: number;
518
+ default: number;
519
+ };
520
+ cursor: {
521
+ type: string;
522
+ };
523
+ };
524
+ };
525
+ output: {
526
+ encoding: string;
527
+ schema: {
528
+ type: string;
529
+ required: string[];
530
+ properties: {
531
+ cursor: {
532
+ type: string;
533
+ };
534
+ codes: {
535
+ type: string;
536
+ items: {
537
+ type: string;
538
+ ref: string;
539
+ };
540
+ };
541
+ };
542
+ };
543
+ };
544
+ };
545
+ };
546
+ };
447
547
  ComAtprotoAdminGetModerationAction: {
448
548
  lexicon: number;
449
549
  id: string;
@@ -737,6 +837,9 @@ export declare const schemaDict: {
737
837
  term: {
738
838
  type: string;
739
839
  };
840
+ invitedBy: {
841
+ type: string;
842
+ };
740
843
  limit: {
741
844
  type: string;
742
845
  minimum: number;
@@ -1295,6 +1398,9 @@ export declare const schemaDict: {
1295
1398
  default: number;
1296
1399
  description: string;
1297
1400
  };
1401
+ cursor: {
1402
+ type: string;
1403
+ };
1298
1404
  rkeyStart: {
1299
1405
  type: string;
1300
1406
  description: string;
@@ -1544,6 +1650,10 @@ export declare const schemaDict: {
1544
1650
  useCount: {
1545
1651
  type: string;
1546
1652
  };
1653
+ forAccount: {
1654
+ type: string;
1655
+ format: string;
1656
+ };
1547
1657
  };
1548
1658
  };
1549
1659
  };
@@ -1605,6 +1715,9 @@ export declare const schemaDict: {
1605
1715
  type: string;
1606
1716
  format: string;
1607
1717
  };
1718
+ email: {
1719
+ type: string;
1720
+ };
1608
1721
  };
1609
1722
  };
1610
1723
  };
@@ -1614,6 +1727,58 @@ export declare const schemaDict: {
1614
1727
  };
1615
1728
  };
1616
1729
  };
1730
+ ComAtprotoServerDefs: {
1731
+ lexicon: number;
1732
+ id: string;
1733
+ defs: {
1734
+ inviteCode: {
1735
+ type: string;
1736
+ required: string[];
1737
+ properties: {
1738
+ code: {
1739
+ type: string;
1740
+ };
1741
+ available: {
1742
+ type: string;
1743
+ };
1744
+ disabled: {
1745
+ type: string;
1746
+ };
1747
+ forAccount: {
1748
+ type: string;
1749
+ };
1750
+ createdBy: {
1751
+ type: string;
1752
+ };
1753
+ createdAt: {
1754
+ type: string;
1755
+ format: string;
1756
+ };
1757
+ uses: {
1758
+ type: string;
1759
+ items: {
1760
+ type: string;
1761
+ ref: string;
1762
+ };
1763
+ };
1764
+ };
1765
+ };
1766
+ inviteCodeUse: {
1767
+ type: string;
1768
+ required: string[];
1769
+ properties: {
1770
+ usedBy: {
1771
+ type: string;
1772
+ format: string;
1773
+ };
1774
+ usedAt: {
1775
+ type: string;
1776
+ format: string;
1777
+ };
1778
+ };
1779
+ };
1780
+ };
1781
+ };
1617
1782
  ComAtprotoServerDeleteAccount: {
1618
1783
  lexicon: number;
1619
1784
  id: string;
@@ -1699,6 +1864,48 @@ export declare const schemaDict: {
1699
1864
  };
1700
1865
  };
1701
1866
  };
1867
+ ComAtprotoServerGetAccountInviteCodes: {
1868
+ lexicon: number;
1869
+ id: string;
1870
+ defs: {
1871
+ main: {
1872
+ type: string;
1873
+ description: string;
1874
+ parameters: {
1875
+ type: string;
1876
+ properties: {
1877
+ includeUsed: {
1878
+ type: string;
1879
+ default: boolean;
1880
+ };
1881
+ createAvailable: {
1882
+ type: string;
1883
+ default: boolean;
1884
+ };
1885
+ };
1886
+ };
1887
+ output: {
1888
+ encoding: string;
1889
+ schema: {
1890
+ type: string;
1891
+ required: string[];
1892
+ properties: {
1893
+ codes: {
1894
+ type: string;
1895
+ items: {
1896
+ type: string;
1897
+ ref: string;
1898
+ };
1899
+ };
1900
+ };
1901
+ };
1902
+ };
1903
+ errors: {
1904
+ name: string;
1905
+ }[];
1906
+ };
1907
+ };
1908
+ };
1702
1909
  ComAtprotoServerGetSession: {
1703
1910
  lexicon: number;
1704
1911
  id: string;
@@ -1720,6 +1927,9 @@ export declare const schemaDict: {
1720
1927
  type: string;
1721
1928
  format: string;
1722
1929
  };
1930
+ email: {
1931
+ type: string;
1932
+ };
1723
1933
  };
1724
1934
  };
1725
1935
  };
@@ -2334,6 +2544,7 @@ export declare const schemaDict: {
2334
2544
  };
2335
2545
  displayName: {
2336
2546
  type: string;
2547
+ maxGraphemes: number;
2337
2548
  maxLength: number;
2338
2549
  };
2339
2550
  avatar: {
@@ -2359,10 +2570,12 @@ export declare const schemaDict: {
2359
2570
  };
2360
2571
  displayName: {
2361
2572
  type: string;
2573
+ maxGraphemes: number;
2362
2574
  maxLength: number;
2363
2575
  };
2364
2576
  description: {
2365
2577
  type: string;
2578
+ maxGraphemes: number;
2366
2579
  maxLength: number;
2367
2580
  };
2368
2581
  avatar: {
@@ -2392,10 +2605,12 @@ export declare const schemaDict: {
2392
2605
  };
2393
2606
  displayName: {
2394
2607
  type: string;
2608
+ maxGraphemes: number;
2395
2609
  maxLength: number;
2396
2610
  };
2397
2611
  description: {
2398
2612
  type: string;
2613
+ maxGraphemes: number;
2399
2614
  maxLength: number;
2400
2615
  };
2401
2616
  avatar: {
@@ -2561,10 +2776,12 @@ export declare const schemaDict: {
2561
2776
  properties: {
2562
2777
  displayName: {
2563
2778
  type: string;
2779
+ maxGraphemes: number;
2564
2780
  maxLength: number;
2565
2781
  };
2566
2782
  description: {
2567
2783
  type: string;
2784
+ maxGraphemes: number;
2568
2785
  maxLength: number;
2569
2786
  };
2570
2787
  avatar: {
@@ -3905,6 +4122,8 @@ export declare const schemas: LexiconDoc[];
3905
4122
  export declare const lexicons: Lexicons;
3906
4123
  export declare const ids: {
3907
4124
  ComAtprotoAdminDefs: string;
4125
+ ComAtprotoAdminDisableInviteCodes: string;
4126
+ ComAtprotoAdminGetInviteCodes: string;
3908
4127
  ComAtprotoAdminGetModerationAction: string;
3909
4128
  ComAtprotoAdminGetModerationActions: string;
3910
4129
  ComAtprotoAdminGetModerationReport: string;
@@ -3931,9 +4150,11 @@ export declare const ids: {
3931
4150
  ComAtprotoServerCreateAccount: string;
3932
4151
  ComAtprotoServerCreateInviteCode: string;
3933
4152
  ComAtprotoServerCreateSession: string;
4153
+ ComAtprotoServerDefs: string;
3934
4154
  ComAtprotoServerDeleteAccount: string;
3935
4155
  ComAtprotoServerDeleteSession: string;
3936
4156
  ComAtprotoServerDescribeServer: string;
4157
+ ComAtprotoServerGetAccountInviteCodes: string;
3937
4158
  ComAtprotoServerGetSession: string;
3938
4159
  ComAtprotoServerRefreshSession: string;
3939
4160
  ComAtprotoServerRequestAccountDelete: string;
@@ -1,6 +1,7 @@
1
1
  import { ValidationResult } from '@atproto/lexicon';
2
2
  import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
3
3
  import * as ComAtprotoModerationDefs from '../moderation/defs';
4
+ import * as ComAtprotoServerDefs from '../server/defs';
4
5
  export interface ActionView {
5
6
  id: number;
6
7
  action: ActionType;
@@ -91,6 +92,8 @@ export interface RepoView {
91
92
  relatedRecords: {}[];
92
93
  indexedAt: string;
93
94
  moderation: Moderation;
95
+ invitedBy?: ComAtprotoServerDefs.InviteCode;
96
+ invites?: ComAtprotoServerDefs.InviteCode[];
94
97
  [k: string]: unknown;
95
98
  }
96
99
  export declare function isRepoView(v: unknown): v is RepoView;
@@ -102,6 +105,8 @@ export interface RepoViewDetail {
102
105
  relatedRecords: {}[];
103
106
  indexedAt: string;
104
107
  moderation: ModerationDetail;
108
+ invitedBy?: ComAtprotoServerDefs.InviteCode;
109
+ invites?: ComAtprotoServerDefs.InviteCode[];
105
110
  [k: string]: unknown;
106
111
  }
107
112
  export declare function isRepoViewDetail(v: unknown): v is RepoViewDetail;
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export interface InputSchema {
5
+ codes?: string[];
6
+ accounts?: string[];
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ encoding: 'application/json';
13
+ }
14
+ export interface Response {
15
+ success: boolean;
16
+ headers: Headers;
17
+ }
18
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,22 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ import * as ComAtprotoServerDefs from '../server/defs';
3
+ export interface QueryParams {
4
+ sort?: 'recent' | 'usage' | (string & {});
5
+ limit?: number;
6
+ cursor?: string;
7
+ }
8
+ export declare type InputSchema = undefined;
9
+ export interface OutputSchema {
10
+ cursor?: string;
11
+ codes: ComAtprotoServerDefs.InviteCode[];
12
+ [k: string]: unknown;
13
+ }
14
+ export interface CallOptions {
15
+ headers?: Headers;
16
+ }
17
+ export interface Response {
18
+ success: boolean;
19
+ headers: Headers;
20
+ data: OutputSchema;
21
+ }
22
+ export declare function toKnownErr(e: any): any;
@@ -2,6 +2,7 @@ import { Headers } from '@atproto/xrpc';
2
2
  import * as ComAtprotoAdminDefs from './defs';
3
3
  export interface QueryParams {
4
4
  term?: string;
5
+ invitedBy?: string;
5
6
  limit?: number;
6
7
  cursor?: string;
7
8
  }
@@ -4,6 +4,7 @@ export interface QueryParams {
4
4
  repo: string;
5
5
  collection: string;
6
6
  limit?: number;
7
+ cursor?: string;
7
8
  rkeyStart?: string;
8
9
  rkeyEnd?: string;
9
10
  reverse?: boolean;
@@ -3,6 +3,7 @@ export interface QueryParams {
3
3
  }
4
4
  export interface InputSchema {
5
5
  useCount: number;
6
+ forAccount?: string;
6
7
  [k: string]: unknown;
7
8
  }
8
9
  export interface OutputSchema {
@@ -11,6 +11,7 @@ export interface OutputSchema {
11
11
  refreshJwt: string;
12
12
  handle: string;
13
13
  did: string;
14
+ email?: string;
14
15
  [k: string]: unknown;
15
16
  }
16
17
  export interface CallOptions {
@@ -0,0 +1,20 @@
1
+ import { ValidationResult } from '@atproto/lexicon';
2
+ export interface InviteCode {
3
+ code: string;
4
+ available: number;
5
+ disabled: boolean;
6
+ forAccount: string;
7
+ createdBy: string;
8
+ createdAt: string;
9
+ uses: InviteCodeUse[];
10
+ [k: string]: unknown;
11
+ }
12
+ export declare function isInviteCode(v: unknown): v is InviteCode;
13
+ export declare function validateInviteCode(v: unknown): ValidationResult;
14
+ export interface InviteCodeUse {
15
+ usedBy: string;
16
+ usedAt: string;
17
+ [k: string]: unknown;
18
+ }
19
+ export declare function isInviteCodeUse(v: unknown): v is InviteCodeUse;
20
+ export declare function validateInviteCodeUse(v: unknown): ValidationResult;
@@ -0,0 +1,23 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ import * as ComAtprotoServerDefs from './defs';
3
+ export interface QueryParams {
4
+ includeUsed?: boolean;
5
+ createAvailable?: boolean;
6
+ }
7
+ export declare type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ codes: ComAtprotoServerDefs.InviteCode[];
10
+ [k: string]: unknown;
11
+ }
12
+ export interface CallOptions {
13
+ headers?: Headers;
14
+ }
15
+ export interface Response {
16
+ success: boolean;
17
+ headers: Headers;
18
+ data: OutputSchema;
19
+ }
20
+ export declare class DuplicateCreateError extends XRPCError {
21
+ constructor(src: XRPCError);
22
+ }
23
+ export declare function toKnownErr(e: any): any;
@@ -5,6 +5,7 @@ export declare type InputSchema = undefined;
5
5
  export interface OutputSchema {
6
6
  handle: string;
7
7
  did: string;
8
+ email?: string;
8
9
  [k: string]: unknown;
9
10
  }
10
11
  export interface CallOptions {