@atproto/pds 0.4.21 → 0.4.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/actor-store/blob/reader.d.ts +4 -0
  3. package/dist/actor-store/blob/reader.d.ts.map +1 -1
  4. package/dist/actor-store/blob/reader.js +9 -3
  5. package/dist/actor-store/blob/reader.js.map +1 -1
  6. package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
  7. package/dist/api/com/atproto/repo/putRecord.js +19 -1
  8. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  9. package/dist/index.js +1 -1
  10. package/dist/lexicon/index.d.ts +59 -0
  11. package/dist/lexicon/index.d.ts.map +1 -1
  12. package/dist/lexicon/index.js +164 -1
  13. package/dist/lexicon/index.js.map +1 -1
  14. package/dist/lexicon/lexicons.d.ts +912 -0
  15. package/dist/lexicon/lexicons.d.ts.map +1 -1
  16. package/dist/lexicon/lexicons.js +938 -0
  17. package/dist/lexicon/lexicons.js.map +1 -1
  18. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +7 -0
  19. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  20. package/dist/lexicon/types/app/bsky/actor/defs.js +11 -1
  21. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  22. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts +11 -0
  23. package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts.map +1 -0
  24. package/dist/lexicon/types/chat/bsky/actor/declaration.js +17 -0
  25. package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -0
  26. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +21 -0
  27. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -0
  28. package/dist/lexicon/types/chat/bsky/actor/defs.js +16 -0
  29. package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -0
  30. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts +33 -0
  31. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -0
  32. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js +3 -0
  33. package/dist/lexicon/types/chat/bsky/actor/deleteAccount.js.map +1 -0
  34. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +32 -0
  35. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -0
  36. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js +3 -0
  37. package/dist/lexicon/types/chat/bsky/actor/exportAccountData.js.map +1 -0
  38. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +109 -0
  39. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -0
  40. package/dist/lexicon/types/chat/bsky/convo/defs.js +106 -0
  41. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -0
  42. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts +39 -0
  43. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -0
  44. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js +3 -0
  45. package/dist/lexicon/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -0
  46. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts +36 -0
  47. package/dist/lexicon/types/chat/bsky/convo/getConvo.d.ts.map +1 -0
  48. package/dist/lexicon/types/chat/bsky/convo/getConvo.js +3 -0
  49. package/dist/lexicon/types/chat/bsky/convo/getConvo.js.map +1 -0
  50. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +36 -0
  51. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -0
  52. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js +3 -0
  53. package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -0
  54. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +40 -0
  55. package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -0
  56. package/dist/lexicon/types/chat/bsky/convo/getLog.js +3 -0
  57. package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -0
  58. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts +42 -0
  59. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts.map +1 -0
  60. package/dist/lexicon/types/chat/bsky/convo/getMessages.js +3 -0
  61. package/dist/lexicon/types/chat/bsky/convo/getMessages.js.map +1 -0
  62. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts +41 -0
  63. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -0
  64. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js +3 -0
  65. package/dist/lexicon/types/chat/bsky/convo/leaveConvo.js.map +1 -0
  66. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +38 -0
  67. package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -0
  68. package/dist/lexicon/types/chat/bsky/convo/listConvos.js +3 -0
  69. package/dist/lexicon/types/chat/bsky/convo/listConvos.js.map +1 -0
  70. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts +41 -0
  71. package/dist/lexicon/types/chat/bsky/convo/muteConvo.d.ts.map +1 -0
  72. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js +3 -0
  73. package/dist/lexicon/types/chat/bsky/convo/muteConvo.js.map +1 -0
  74. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts +39 -0
  75. package/dist/lexicon/types/chat/bsky/convo/sendMessage.d.ts.map +1 -0
  76. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js +3 -0
  77. package/dist/lexicon/types/chat/bsky/convo/sendMessage.js.map +1 -0
  78. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts +49 -0
  79. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -0
  80. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +16 -0
  81. package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -0
  82. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts +41 -0
  83. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -0
  84. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js +3 -0
  85. package/dist/lexicon/types/chat/bsky/convo/unmuteConvo.js.map +1 -0
  86. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts +42 -0
  87. package/dist/lexicon/types/chat/bsky/convo/updateRead.d.ts.map +1 -0
  88. package/dist/lexicon/types/chat/bsky/convo/updateRead.js +3 -0
  89. package/dist/lexicon/types/chat/bsky/convo/updateRead.js.map +1 -0
  90. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts +47 -0
  91. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -0
  92. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +16 -0
  93. package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -0
  94. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts +43 -0
  95. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -0
  96. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js +3 -0
  97. package/dist/lexicon/types/chat/bsky/moderation/getMessageContext.js.map +1 -0
  98. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts +31 -0
  99. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -0
  100. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js +3 -0
  101. package/dist/lexicon/types/chat/bsky/moderation/updateActorAccess.js.map +1 -0
  102. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -1
  103. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  104. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  105. package/package.json +9 -9
  106. package/src/actor-store/blob/reader.ts +13 -4
  107. package/src/api/com/atproto/repo/putRecord.ts +34 -1
  108. package/src/index.ts +1 -1
  109. package/src/lexicon/index.ts +254 -0
  110. package/src/lexicon/lexicons.ts +940 -0
  111. package/src/lexicon/types/app/bsky/actor/defs.ts +20 -0
  112. package/src/lexicon/types/chat/bsky/actor/declaration.ts +25 -0
  113. package/src/lexicon/types/chat/bsky/actor/defs.ts +34 -0
  114. package/src/lexicon/types/chat/bsky/actor/deleteAccount.ts +42 -0
  115. package/src/lexicon/types/chat/bsky/actor/exportAccountData.ts +38 -0
  116. package/src/lexicon/types/chat/bsky/convo/defs.ts +215 -0
  117. package/src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts +48 -0
  118. package/src/lexicon/types/chat/bsky/convo/getConvo.ts +46 -0
  119. package/src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts +46 -0
  120. package/src/lexicon/types/chat/bsky/convo/getLog.ts +53 -0
  121. package/src/lexicon/types/chat/bsky/convo/getMessages.ts +53 -0
  122. package/src/lexicon/types/chat/bsky/convo/leaveConvo.ts +50 -0
  123. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +48 -0
  124. package/src/lexicon/types/chat/bsky/convo/muteConvo.ts +50 -0
  125. package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +48 -0
  126. package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +68 -0
  127. package/src/lexicon/types/chat/bsky/convo/unmuteConvo.ts +50 -0
  128. package/src/lexicon/types/chat/bsky/convo/updateRead.ts +51 -0
  129. package/src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts +67 -0
  130. package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +54 -0
  131. package/src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts +40 -0
  132. package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
  133. package/tests/crud.test.ts +30 -0
  134. package/tests/server.test.ts +1 -1
@@ -0,0 +1,36 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ members: string[];
9
+ }
10
+ export type InputSchema = undefined;
11
+ export interface OutputSchema {
12
+ convo: ChatBskyConvoDefs.ConvoView;
13
+ [k: string]: unknown;
14
+ }
15
+ export type HandlerInput = undefined;
16
+ export interface HandlerSuccess {
17
+ encoding: 'application/json';
18
+ body: OutputSchema;
19
+ headers?: {
20
+ [key: string]: string;
21
+ };
22
+ }
23
+ export interface HandlerError {
24
+ status: number;
25
+ message?: string;
26
+ }
27
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
28
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
29
+ auth: HA;
30
+ params: QueryParams;
31
+ input: HandlerInput;
32
+ req: express.Request;
33
+ res: express.Response;
34
+ };
35
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
36
+ //# sourceMappingURL=getConvoForMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConvoForMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAA;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getConvoForMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConvoForMembers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ cursor?: string;
9
+ }
10
+ export type InputSchema = undefined;
11
+ export interface OutputSchema {
12
+ cursor?: string;
13
+ logs: (ChatBskyConvoDefs.LogBeginConvo | ChatBskyConvoDefs.LogLeaveConvo | ChatBskyConvoDefs.LogCreateMessage | ChatBskyConvoDefs.LogDeleteMessage | {
14
+ $type: string;
15
+ [k: string]: unknown;
16
+ })[];
17
+ [k: string]: unknown;
18
+ }
19
+ export type HandlerInput = undefined;
20
+ export interface HandlerSuccess {
21
+ encoding: 'application/json';
22
+ body: OutputSchema;
23
+ headers?: {
24
+ [key: string]: string;
25
+ };
26
+ }
27
+ export interface HandlerError {
28
+ status: number;
29
+ message?: string;
30
+ }
31
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
32
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
33
+ auth: HA;
34
+ params: QueryParams;
35
+ input: HandlerInput;
36
+ req: express.Request;
37
+ res: express.Response;
38
+ };
39
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
40
+ //# sourceMappingURL=getLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLog.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getLog.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,CACF,iBAAiB,CAAC,aAAa,GAC/B,iBAAiB,CAAC,aAAa,GAC/B,iBAAiB,CAAC,gBAAgB,GAClC,iBAAiB,CAAC,gBAAgB,GAClC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAC1C,EAAE,CAAA;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLog.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getLog.ts"],"names":[],"mappings":""}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ convoId: string;
9
+ limit: number;
10
+ cursor?: string;
11
+ }
12
+ export type InputSchema = undefined;
13
+ export interface OutputSchema {
14
+ cursor?: string;
15
+ messages: (ChatBskyConvoDefs.MessageView | ChatBskyConvoDefs.DeletedMessageView | {
16
+ $type: string;
17
+ [k: string]: unknown;
18
+ })[];
19
+ [k: string]: unknown;
20
+ }
21
+ export type HandlerInput = undefined;
22
+ export interface HandlerSuccess {
23
+ encoding: 'application/json';
24
+ body: OutputSchema;
25
+ headers?: {
26
+ [key: string]: string;
27
+ };
28
+ }
29
+ export interface HandlerError {
30
+ status: number;
31
+ message?: string;
32
+ }
33
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
34
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
35
+ auth: HA;
36
+ params: QueryParams;
37
+ input: HandlerInput;
38
+ req: express.Request;
39
+ res: express.Response;
40
+ };
41
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
42
+ //# sourceMappingURL=getMessages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMessages.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getMessages.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,CACN,iBAAiB,CAAC,WAAW,GAC7B,iBAAiB,CAAC,kBAAkB,GACpC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAC1C,EAAE,CAAA;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getMessages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMessages.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/getMessages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ export interface QueryParams {
7
+ }
8
+ export interface InputSchema {
9
+ convoId: string;
10
+ [k: string]: unknown;
11
+ }
12
+ export interface OutputSchema {
13
+ convoId: string;
14
+ rev: string;
15
+ [k: string]: unknown;
16
+ }
17
+ export interface HandlerInput {
18
+ encoding: 'application/json';
19
+ body: InputSchema;
20
+ }
21
+ export interface HandlerSuccess {
22
+ encoding: 'application/json';
23
+ body: OutputSchema;
24
+ headers?: {
25
+ [key: string]: string;
26
+ };
27
+ }
28
+ export interface HandlerError {
29
+ status: number;
30
+ message?: string;
31
+ }
32
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
33
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
34
+ auth: HA;
35
+ params: QueryParams;
36
+ input: HandlerInput;
37
+ req: express.Request;
38
+ res: express.Response;
39
+ };
40
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
41
+ //# sourceMappingURL=leaveConvo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leaveConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/leaveConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=leaveConvo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leaveConvo.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/leaveConvo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ limit: number;
9
+ cursor?: string;
10
+ }
11
+ export type InputSchema = undefined;
12
+ export interface OutputSchema {
13
+ cursor?: string;
14
+ convos: ChatBskyConvoDefs.ConvoView[];
15
+ [k: string]: unknown;
16
+ }
17
+ export type HandlerInput = undefined;
18
+ export interface HandlerSuccess {
19
+ encoding: 'application/json';
20
+ body: OutputSchema;
21
+ headers?: {
22
+ [key: string]: string;
23
+ };
24
+ }
25
+ export interface HandlerError {
26
+ status: number;
27
+ message?: string;
28
+ }
29
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
30
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
31
+ auth: HA;
32
+ params: QueryParams;
33
+ input: HandlerInput;
34
+ req: express.Request;
35
+ res: express.Response;
36
+ };
37
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
38
+ //# sourceMappingURL=listConvos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listConvos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/listConvos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,iBAAiB,CAAC,SAAS,EAAE,CAAA;IACrC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=listConvos.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listConvos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/listConvos.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ convoId: string;
11
+ [k: string]: unknown;
12
+ }
13
+ export interface OutputSchema {
14
+ convo: ChatBskyConvoDefs.ConvoView;
15
+ [k: string]: unknown;
16
+ }
17
+ export interface HandlerInput {
18
+ encoding: 'application/json';
19
+ body: InputSchema;
20
+ }
21
+ export interface HandlerSuccess {
22
+ encoding: 'application/json';
23
+ body: OutputSchema;
24
+ headers?: {
25
+ [key: string]: string;
26
+ };
27
+ }
28
+ export interface HandlerError {
29
+ status: number;
30
+ message?: string;
31
+ }
32
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
33
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
34
+ auth: HA;
35
+ params: QueryParams;
36
+ input: HandlerInput;
37
+ req: express.Request;
38
+ res: express.Response;
39
+ };
40
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
41
+ //# sourceMappingURL=muteConvo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"muteConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/muteConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAA;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=muteConvo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"muteConvo.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/muteConvo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ convoId: string;
11
+ message: ChatBskyConvoDefs.MessageInput;
12
+ [k: string]: unknown;
13
+ }
14
+ export type OutputSchema = ChatBskyConvoDefs.MessageView;
15
+ export interface HandlerInput {
16
+ encoding: 'application/json';
17
+ body: InputSchema;
18
+ }
19
+ export interface HandlerSuccess {
20
+ encoding: 'application/json';
21
+ body: OutputSchema;
22
+ headers?: {
23
+ [key: string]: string;
24
+ };
25
+ }
26
+ export interface HandlerError {
27
+ status: number;
28
+ message?: string;
29
+ }
30
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
31
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
32
+ auth: HA;
33
+ params: QueryParams;
34
+ input: HandlerInput;
35
+ req: express.Request;
36
+ res: express.Response;
37
+ };
38
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
39
+ //# sourceMappingURL=sendMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/sendMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAAA;IACvC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,WAAW,CAAA;AAExD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sendMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendMessage.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/sendMessage.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { ValidationResult } from '@atproto/lexicon';
6
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
7
+ import * as ChatBskyConvoDefs from './defs';
8
+ export interface QueryParams {
9
+ }
10
+ export interface InputSchema {
11
+ items: BatchItem[];
12
+ [k: string]: unknown;
13
+ }
14
+ export interface OutputSchema {
15
+ items: ChatBskyConvoDefs.MessageView[];
16
+ [k: string]: unknown;
17
+ }
18
+ export interface HandlerInput {
19
+ encoding: 'application/json';
20
+ body: InputSchema;
21
+ }
22
+ export interface HandlerSuccess {
23
+ encoding: 'application/json';
24
+ body: OutputSchema;
25
+ headers?: {
26
+ [key: string]: string;
27
+ };
28
+ }
29
+ export interface HandlerError {
30
+ status: number;
31
+ message?: string;
32
+ }
33
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
34
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
35
+ auth: HA;
36
+ params: QueryParams;
37
+ input: HandlerInput;
38
+ req: express.Request;
39
+ res: express.Response;
40
+ };
41
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
42
+ export interface BatchItem {
43
+ convoId: string;
44
+ message: ChatBskyConvoDefs.MessageInput;
45
+ [k: string]: unknown;
46
+ }
47
+ export declare function isBatchItem(v: unknown): v is BatchItem;
48
+ export declare function validateBatchItem(v: unknown): ValidationResult;
49
+ //# sourceMappingURL=sendMessageBatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendMessageBatch.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,WAAW,EAAE,CAAA;IACtC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA;AAE3C,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAAA;IACvC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,SAAS,CAMtD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE9D"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validateBatchItem = exports.isBatchItem = void 0;
4
+ const lexicons_1 = require("../../../../lexicons");
5
+ const util_1 = require("../../../../util");
6
+ function isBatchItem(v) {
7
+ return ((0, util_1.isObj)(v) &&
8
+ (0, util_1.hasProp)(v, '$type') &&
9
+ v.$type === 'chat.bsky.convo.sendMessageBatch#batchItem');
10
+ }
11
+ exports.isBatchItem = isBatchItem;
12
+ function validateBatchItem(v) {
13
+ return lexicons_1.lexicons.validate('chat.bsky.convo.sendMessageBatch#batchItem', v);
14
+ }
15
+ exports.validateBatchItem = validateBatchItem;
16
+ //# sourceMappingURL=sendMessageBatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendMessageBatch.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts"],"names":[],"mappings":";;;AAKA,mDAA+C;AAC/C,2CAAiD;AAmDjD,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,4CAA4C,CACzD,CAAA;AACH,CAAC;AAND,kCAMC;AAED,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ convoId: string;
11
+ [k: string]: unknown;
12
+ }
13
+ export interface OutputSchema {
14
+ convo: ChatBskyConvoDefs.ConvoView;
15
+ [k: string]: unknown;
16
+ }
17
+ export interface HandlerInput {
18
+ encoding: 'application/json';
19
+ body: InputSchema;
20
+ }
21
+ export interface HandlerSuccess {
22
+ encoding: 'application/json';
23
+ body: OutputSchema;
24
+ headers?: {
25
+ [key: string]: string;
26
+ };
27
+ }
28
+ export interface HandlerError {
29
+ status: number;
30
+ message?: string;
31
+ }
32
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
33
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
34
+ auth: HA;
35
+ params: QueryParams;
36
+ input: HandlerInput;
37
+ req: express.Request;
38
+ res: express.Response;
39
+ };
40
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
41
+ //# sourceMappingURL=unmuteConvo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unmuteConvo.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/unmuteConvo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAA;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=unmuteConvo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unmuteConvo.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/unmuteConvo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
6
+ import * as ChatBskyConvoDefs from './defs';
7
+ export interface QueryParams {
8
+ }
9
+ export interface InputSchema {
10
+ convoId: string;
11
+ messageId?: string;
12
+ [k: string]: unknown;
13
+ }
14
+ export interface OutputSchema {
15
+ convo: ChatBskyConvoDefs.ConvoView;
16
+ [k: string]: unknown;
17
+ }
18
+ export interface HandlerInput {
19
+ encoding: 'application/json';
20
+ body: InputSchema;
21
+ }
22
+ export interface HandlerSuccess {
23
+ encoding: 'application/json';
24
+ body: OutputSchema;
25
+ headers?: {
26
+ [key: string]: string;
27
+ };
28
+ }
29
+ export interface HandlerError {
30
+ status: number;
31
+ message?: string;
32
+ }
33
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
34
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
35
+ auth: HA;
36
+ params: QueryParams;
37
+ input: HandlerInput;
38
+ req: express.Request;
39
+ res: express.Response;
40
+ };
41
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
42
+ //# sourceMappingURL=updateRead.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateRead.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/updateRead.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,iBAAiB,MAAM,QAAQ,CAAA;AAE3C,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAA;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=updateRead.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateRead.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/convo/updateRead.ts"],"names":[],"mappings":""}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import express from 'express';
5
+ import { ValidationResult } from '@atproto/lexicon';
6
+ import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
7
+ export interface QueryParams {
8
+ actor: string;
9
+ }
10
+ export type InputSchema = undefined;
11
+ export interface OutputSchema {
12
+ day: Metadata;
13
+ month: Metadata;
14
+ all: Metadata;
15
+ [k: string]: unknown;
16
+ }
17
+ export type HandlerInput = undefined;
18
+ export interface HandlerSuccess {
19
+ encoding: 'application/json';
20
+ body: OutputSchema;
21
+ headers?: {
22
+ [key: string]: string;
23
+ };
24
+ }
25
+ export interface HandlerError {
26
+ status: number;
27
+ message?: string;
28
+ }
29
+ export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
30
+ export type HandlerReqCtx<HA extends HandlerAuth = never> = {
31
+ auth: HA;
32
+ params: QueryParams;
33
+ input: HandlerInput;
34
+ req: express.Request;
35
+ res: express.Response;
36
+ };
37
+ export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
38
+ export interface Metadata {
39
+ messagesSent: number;
40
+ messagesReceived: number;
41
+ convos: number;
42
+ convosStarted: number;
43
+ [k: string]: unknown;
44
+ }
45
+ export declare function isMetadata(v: unknown): v is Metadata;
46
+ export declare function validateMetadata(v: unknown): ValidationResult;
47
+ //# sourceMappingURL=getActorMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getActorMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,QAAQ,CAAA;IACb,KAAK,EAAE,QAAQ,CAAA;IACf,GAAG,EAAE,QAAQ,CAAA;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA;AAE3C,MAAM,WAAW,QAAQ;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,QAAQ,CAMpD;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE7D"}