@atproto/api 0.0.7 → 0.0.8

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 (186) hide show
  1. package/dist/client/index.d.ts +3 -0
  2. package/dist/client/lexicons.d.ts +32 -0
  3. package/dist/client/types/com/atproto/account/delete.d.ts +14 -2
  4. package/dist/{src/client/types/com/atproto/account/delete.d.ts → client/types/com/atproto/account/requestDelete.d.ts} +0 -0
  5. package/dist/index.js +242 -172
  6. package/dist/index.js.map +4 -4
  7. package/package.json +1 -1
  8. package/src/client/index.ts +13 -0
  9. package/src/client/lexicons.ts +50 -13
  10. package/src/client/types/com/atproto/account/delete.ts +21 -1
  11. package/src/client/types/com/atproto/account/requestDelete.ts +27 -0
  12. package/tsconfig.build.tsbuildinfo +1 -1
  13. package/dist/src/client/index.d.ts +0 -474
  14. package/dist/src/client/lexicons.d.ts +0 -3036
  15. package/dist/src/client/schemas.d.ts +0 -17
  16. package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
  17. package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
  18. package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
  19. package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
  20. package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
  21. package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
  22. package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
  23. package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
  24. package/dist/src/client/types/app/bsky/administration/moderationAction.d.ts +0 -16
  25. package/dist/src/client/types/app/bsky/administration/reverseModerationAction.d.ts +0 -22
  26. package/dist/src/client/types/app/bsky/administration/takeModerationAction.d.ts +0 -27
  27. package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
  28. package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
  29. package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
  30. package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
  31. package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
  32. package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
  33. package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
  34. package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
  35. package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
  36. package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
  37. package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
  38. package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
  39. package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
  40. package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -15
  41. package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
  42. package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
  43. package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
  44. package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
  45. package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
  46. package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
  47. package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
  48. package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
  49. package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
  50. package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
  51. package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
  52. package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
  53. package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
  54. package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
  55. package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
  56. package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
  57. package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
  58. package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
  59. package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
  60. package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
  61. package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  62. package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  63. package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
  64. package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
  65. package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
  66. package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
  67. package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
  68. package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
  69. package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
  70. package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
  71. package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
  72. package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
  73. package/dist/src/client/types/app/bsky/like.d.ts +0 -10
  74. package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
  75. package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
  76. package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
  77. package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
  78. package/dist/src/client/types/app/bsky/post.d.ts +0 -23
  79. package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
  80. package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
  81. package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
  82. package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
  83. package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
  84. package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
  85. package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
  86. package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
  87. package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
  88. package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  89. package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
  90. package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  91. package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  92. package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
  93. package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
  94. package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
  95. package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
  96. package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
  97. package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
  98. package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
  99. package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
  100. package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
  101. package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
  102. package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
  103. package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
  104. package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
  105. package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
  106. package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
  107. package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
  108. package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
  109. package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
  110. package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
  111. package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
  112. package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
  113. package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
  114. package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
  115. package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
  116. package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
  117. package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
  118. package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
  119. package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
  120. package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
  121. package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
  122. package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
  123. package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
  124. package/dist/src/client/types/com/atproto/session/create.d.ts +0 -29
  125. package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
  126. package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
  127. package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -24
  128. package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
  129. package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
  130. package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  131. package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
  132. package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
  133. package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
  134. package/dist/src/index.d.ts +0 -4
  135. package/dist/src/schemas.d.ts +0 -19
  136. package/dist/src/session.d.ts +0 -42
  137. package/dist/src/types/app/bsky/badge.d.ts +0 -22
  138. package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
  139. package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
  140. package/dist/src/types/app/bsky/declaration.d.ts +0 -6
  141. package/dist/src/types/app/bsky/follow.d.ts +0 -9
  142. package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
  143. package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
  144. package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
  145. package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
  146. package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
  147. package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
  148. package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
  149. package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
  150. package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
  151. package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
  152. package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
  153. package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
  154. package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
  155. package/dist/src/types/app/bsky/invite.d.ts +0 -10
  156. package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
  157. package/dist/src/types/app/bsky/like.d.ts +0 -10
  158. package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
  159. package/dist/src/types/app/bsky/post.d.ts +0 -23
  160. package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
  161. package/dist/src/types/app/bsky/profile.d.ts +0 -11
  162. package/dist/src/types/app/bsky/repost.d.ts +0 -10
  163. package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
  164. package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
  165. package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
  166. package/dist/src/types/com/atproto/createSession.d.ts +0 -23
  167. package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
  168. package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
  169. package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
  170. package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
  171. package/dist/src/types/com/atproto/getSession.d.ts +0 -17
  172. package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
  173. package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
  174. package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
  175. package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
  176. package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
  177. package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
  178. package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
  179. package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
  180. package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
  181. package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
  182. package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
  183. package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
  184. package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
  185. package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
  186. package/dist/tsconfig.build.tsbuildinfo +0 -1
package/dist/index.js CHANGED
@@ -130,6 +130,7 @@ __export(src_exports, {
130
130
  ComAtprotoAccountCreateInviteCode: () => createInviteCode_exports,
131
131
  ComAtprotoAccountDelete: () => delete_exports,
132
132
  ComAtprotoAccountGet: () => get_exports,
133
+ ComAtprotoAccountRequestDelete: () => requestDelete_exports,
133
134
  ComAtprotoAccountRequestPasswordReset: () => requestPasswordReset_exports,
134
135
  ComAtprotoAccountResetPassword: () => resetPassword_exports,
135
136
  ComAtprotoAdminGetModerationAction: () => getModerationAction_exports,
@@ -4430,7 +4431,33 @@ var schemaDict = {
4430
4431
  defs: {
4431
4432
  main: {
4432
4433
  type: "procedure",
4433
- description: "Delete an account."
4434
+ description: "Delete a user account with a token and password.",
4435
+ input: {
4436
+ encoding: "application/json",
4437
+ schema: {
4438
+ type: "object",
4439
+ required: ["did", "password", "token"],
4440
+ properties: {
4441
+ did: {
4442
+ type: "string"
4443
+ },
4444
+ password: {
4445
+ type: "string"
4446
+ },
4447
+ token: {
4448
+ type: "string"
4449
+ }
4450
+ }
4451
+ }
4452
+ },
4453
+ errors: [
4454
+ {
4455
+ name: "ExpiredToken"
4456
+ },
4457
+ {
4458
+ name: "InvalidToken"
4459
+ }
4460
+ ]
4434
4461
  }
4435
4462
  }
4436
4463
  },
@@ -4444,6 +4471,16 @@ var schemaDict = {
4444
4471
  }
4445
4472
  }
4446
4473
  },
4474
+ ComAtprotoAccountRequestDelete: {
4475
+ lexicon: 1,
4476
+ id: "com.atproto.account.requestDelete",
4477
+ defs: {
4478
+ main: {
4479
+ type: "procedure",
4480
+ description: "Initiate a user account deletion via email."
4481
+ }
4482
+ }
4483
+ },
4447
4484
  ComAtprotoAccountRequestPasswordReset: {
4448
4485
  lexicon: 1,
4449
4486
  id: "com.atproto.account.requestPasswordReset",
@@ -6484,16 +6521,16 @@ var schemaDict = {
6484
6521
  avatar: {
6485
6522
  type: "image",
6486
6523
  accept: ["image/png", "image/jpeg"],
6487
- maxWidth: 1e3,
6488
- maxHeight: 1e3,
6489
- maxSize: 3e5
6524
+ maxWidth: 2e3,
6525
+ maxHeight: 2e3,
6526
+ maxSize: 1e6
6490
6527
  },
6491
6528
  banner: {
6492
6529
  type: "image",
6493
6530
  accept: ["image/png", "image/jpeg"],
6494
- maxWidth: 3e3,
6495
- maxHeight: 1e3,
6496
- maxSize: 5e5
6531
+ maxWidth: 6e3,
6532
+ maxHeight: 2e3,
6533
+ maxSize: 1e6
6497
6534
  }
6498
6535
  }
6499
6536
  }
@@ -6795,9 +6832,9 @@ var schemaDict = {
6795
6832
  thumb: {
6796
6833
  type: "image",
6797
6834
  accept: ["image/*"],
6798
- maxWidth: 1e3,
6799
- maxHeight: 1e3,
6800
- maxSize: 3e5
6835
+ maxWidth: 2e3,
6836
+ maxHeight: 2e3,
6837
+ maxSize: 1e6
6801
6838
  }
6802
6839
  }
6803
6840
  },
@@ -6857,9 +6894,9 @@ var schemaDict = {
6857
6894
  image: {
6858
6895
  type: "image",
6859
6896
  accept: ["image/*"],
6860
- maxWidth: 1e3,
6861
- maxHeight: 1e3,
6862
- maxSize: 3e5
6897
+ maxWidth: 2e3,
6898
+ maxHeight: 2e3,
6899
+ maxSize: 1e6
6863
6900
  },
6864
6901
  alt: {
6865
6902
  type: "string"
@@ -8146,10 +8183,26 @@ function toKnownErr2(e) {
8146
8183
  // src/client/types/com/atproto/account/delete.ts
8147
8184
  var delete_exports = {};
8148
8185
  __export(delete_exports, {
8186
+ ExpiredTokenError: () => ExpiredTokenError,
8187
+ InvalidTokenError: () => InvalidTokenError,
8149
8188
  toKnownErr: () => toKnownErr3
8150
8189
  });
8190
+ var ExpiredTokenError = class extends XRPCError {
8191
+ constructor(src) {
8192
+ super(src.status, src.error, src.message);
8193
+ }
8194
+ };
8195
+ var InvalidTokenError = class extends XRPCError {
8196
+ constructor(src) {
8197
+ super(src.status, src.error, src.message);
8198
+ }
8199
+ };
8151
8200
  function toKnownErr3(e) {
8152
8201
  if (e instanceof XRPCError) {
8202
+ if (e.error === "ExpiredToken")
8203
+ return new ExpiredTokenError(e);
8204
+ if (e.error === "InvalidToken")
8205
+ return new InvalidTokenError(e);
8153
8206
  }
8154
8207
  return e;
8155
8208
  }
@@ -8165,12 +8218,23 @@ function toKnownErr4(e) {
8165
8218
  return e;
8166
8219
  }
8167
8220
 
8221
+ // src/client/types/com/atproto/account/requestDelete.ts
8222
+ var requestDelete_exports = {};
8223
+ __export(requestDelete_exports, {
8224
+ toKnownErr: () => toKnownErr5
8225
+ });
8226
+ function toKnownErr5(e) {
8227
+ if (e instanceof XRPCError) {
8228
+ }
8229
+ return e;
8230
+ }
8231
+
8168
8232
  // src/client/types/com/atproto/account/requestPasswordReset.ts
8169
8233
  var requestPasswordReset_exports = {};
8170
8234
  __export(requestPasswordReset_exports, {
8171
- toKnownErr: () => toKnownErr5
8235
+ toKnownErr: () => toKnownErr6
8172
8236
  });
8173
- function toKnownErr5(e) {
8237
+ function toKnownErr6(e) {
8174
8238
  if (e instanceof XRPCError) {
8175
8239
  }
8176
8240
  return e;
@@ -8179,26 +8243,26 @@ function toKnownErr5(e) {
8179
8243
  // src/client/types/com/atproto/account/resetPassword.ts
8180
8244
  var resetPassword_exports = {};
8181
8245
  __export(resetPassword_exports, {
8182
- ExpiredTokenError: () => ExpiredTokenError,
8183
- InvalidTokenError: () => InvalidTokenError,
8184
- toKnownErr: () => toKnownErr6
8246
+ ExpiredTokenError: () => ExpiredTokenError2,
8247
+ InvalidTokenError: () => InvalidTokenError2,
8248
+ toKnownErr: () => toKnownErr7
8185
8249
  });
8186
- var ExpiredTokenError = class extends XRPCError {
8250
+ var ExpiredTokenError2 = class extends XRPCError {
8187
8251
  constructor(src) {
8188
8252
  super(src.status, src.error, src.message);
8189
8253
  }
8190
8254
  };
8191
- var InvalidTokenError = class extends XRPCError {
8255
+ var InvalidTokenError2 = class extends XRPCError {
8192
8256
  constructor(src) {
8193
8257
  super(src.status, src.error, src.message);
8194
8258
  }
8195
8259
  };
8196
- function toKnownErr6(e) {
8260
+ function toKnownErr7(e) {
8197
8261
  if (e instanceof XRPCError) {
8198
8262
  if (e.error === "ExpiredToken")
8199
- return new ExpiredTokenError(e);
8263
+ return new ExpiredTokenError2(e);
8200
8264
  if (e.error === "InvalidToken")
8201
- return new InvalidTokenError(e);
8265
+ return new InvalidTokenError2(e);
8202
8266
  }
8203
8267
  return e;
8204
8268
  }
@@ -8206,9 +8270,9 @@ function toKnownErr6(e) {
8206
8270
  // src/client/types/com/atproto/admin/getModerationAction.ts
8207
8271
  var getModerationAction_exports = {};
8208
8272
  __export(getModerationAction_exports, {
8209
- toKnownErr: () => toKnownErr7
8273
+ toKnownErr: () => toKnownErr8
8210
8274
  });
8211
- function toKnownErr7(e) {
8275
+ function toKnownErr8(e) {
8212
8276
  if (e instanceof XRPCError) {
8213
8277
  }
8214
8278
  return e;
@@ -8217,9 +8281,9 @@ function toKnownErr7(e) {
8217
8281
  // src/client/types/com/atproto/admin/getModerationActions.ts
8218
8282
  var getModerationActions_exports = {};
8219
8283
  __export(getModerationActions_exports, {
8220
- toKnownErr: () => toKnownErr8
8284
+ toKnownErr: () => toKnownErr9
8221
8285
  });
8222
- function toKnownErr8(e) {
8286
+ function toKnownErr9(e) {
8223
8287
  if (e instanceof XRPCError) {
8224
8288
  }
8225
8289
  return e;
@@ -8228,9 +8292,9 @@ function toKnownErr8(e) {
8228
8292
  // src/client/types/com/atproto/admin/getModerationReport.ts
8229
8293
  var getModerationReport_exports = {};
8230
8294
  __export(getModerationReport_exports, {
8231
- toKnownErr: () => toKnownErr9
8295
+ toKnownErr: () => toKnownErr10
8232
8296
  });
8233
- function toKnownErr9(e) {
8297
+ function toKnownErr10(e) {
8234
8298
  if (e instanceof XRPCError) {
8235
8299
  }
8236
8300
  return e;
@@ -8239,9 +8303,9 @@ function toKnownErr9(e) {
8239
8303
  // src/client/types/com/atproto/admin/getModerationReports.ts
8240
8304
  var getModerationReports_exports = {};
8241
8305
  __export(getModerationReports_exports, {
8242
- toKnownErr: () => toKnownErr10
8306
+ toKnownErr: () => toKnownErr11
8243
8307
  });
8244
- function toKnownErr10(e) {
8308
+ function toKnownErr11(e) {
8245
8309
  if (e instanceof XRPCError) {
8246
8310
  }
8247
8311
  return e;
@@ -8250,9 +8314,9 @@ function toKnownErr10(e) {
8250
8314
  // src/client/types/com/atproto/admin/getRecord.ts
8251
8315
  var getRecord_exports = {};
8252
8316
  __export(getRecord_exports, {
8253
- toKnownErr: () => toKnownErr11
8317
+ toKnownErr: () => toKnownErr12
8254
8318
  });
8255
- function toKnownErr11(e) {
8319
+ function toKnownErr12(e) {
8256
8320
  if (e instanceof XRPCError) {
8257
8321
  }
8258
8322
  return e;
@@ -8261,9 +8325,9 @@ function toKnownErr11(e) {
8261
8325
  // src/client/types/com/atproto/admin/getRepo.ts
8262
8326
  var getRepo_exports = {};
8263
8327
  __export(getRepo_exports, {
8264
- toKnownErr: () => toKnownErr12
8328
+ toKnownErr: () => toKnownErr13
8265
8329
  });
8266
- function toKnownErr12(e) {
8330
+ function toKnownErr13(e) {
8267
8331
  if (e instanceof XRPCError) {
8268
8332
  }
8269
8333
  return e;
@@ -8272,9 +8336,9 @@ function toKnownErr12(e) {
8272
8336
  // src/client/types/com/atproto/admin/resolveModerationReports.ts
8273
8337
  var resolveModerationReports_exports = {};
8274
8338
  __export(resolveModerationReports_exports, {
8275
- toKnownErr: () => toKnownErr13
8339
+ toKnownErr: () => toKnownErr14
8276
8340
  });
8277
- function toKnownErr13(e) {
8341
+ function toKnownErr14(e) {
8278
8342
  if (e instanceof XRPCError) {
8279
8343
  }
8280
8344
  return e;
@@ -8283,9 +8347,9 @@ function toKnownErr13(e) {
8283
8347
  // src/client/types/com/atproto/admin/reverseModerationAction.ts
8284
8348
  var reverseModerationAction_exports = {};
8285
8349
  __export(reverseModerationAction_exports, {
8286
- toKnownErr: () => toKnownErr14
8350
+ toKnownErr: () => toKnownErr15
8287
8351
  });
8288
- function toKnownErr14(e) {
8352
+ function toKnownErr15(e) {
8289
8353
  if (e instanceof XRPCError) {
8290
8354
  }
8291
8355
  return e;
@@ -8294,9 +8358,9 @@ function toKnownErr14(e) {
8294
8358
  // src/client/types/com/atproto/admin/searchRepos.ts
8295
8359
  var searchRepos_exports = {};
8296
8360
  __export(searchRepos_exports, {
8297
- toKnownErr: () => toKnownErr15
8361
+ toKnownErr: () => toKnownErr16
8298
8362
  });
8299
- function toKnownErr15(e) {
8363
+ function toKnownErr16(e) {
8300
8364
  if (e instanceof XRPCError) {
8301
8365
  }
8302
8366
  return e;
@@ -8305,9 +8369,9 @@ function toKnownErr15(e) {
8305
8369
  // src/client/types/com/atproto/admin/takeModerationAction.ts
8306
8370
  var takeModerationAction_exports = {};
8307
8371
  __export(takeModerationAction_exports, {
8308
- toKnownErr: () => toKnownErr16
8372
+ toKnownErr: () => toKnownErr17
8309
8373
  });
8310
- function toKnownErr16(e) {
8374
+ function toKnownErr17(e) {
8311
8375
  if (e instanceof XRPCError) {
8312
8376
  }
8313
8377
  return e;
@@ -8316,9 +8380,9 @@ function toKnownErr16(e) {
8316
8380
  // src/client/types/com/atproto/blob/upload.ts
8317
8381
  var upload_exports = {};
8318
8382
  __export(upload_exports, {
8319
- toKnownErr: () => toKnownErr17
8383
+ toKnownErr: () => toKnownErr18
8320
8384
  });
8321
- function toKnownErr17(e) {
8385
+ function toKnownErr18(e) {
8322
8386
  if (e instanceof XRPCError) {
8323
8387
  }
8324
8388
  return e;
@@ -8327,9 +8391,9 @@ function toKnownErr17(e) {
8327
8391
  // src/client/types/com/atproto/handle/resolve.ts
8328
8392
  var resolve_exports = {};
8329
8393
  __export(resolve_exports, {
8330
- toKnownErr: () => toKnownErr18
8394
+ toKnownErr: () => toKnownErr19
8331
8395
  });
8332
- function toKnownErr18(e) {
8396
+ function toKnownErr19(e) {
8333
8397
  if (e instanceof XRPCError) {
8334
8398
  }
8335
8399
  return e;
@@ -8341,7 +8405,7 @@ __export(batchWrite_exports, {
8341
8405
  isCreate: () => isCreate,
8342
8406
  isDelete: () => isDelete,
8343
8407
  isUpdate: () => isUpdate,
8344
- toKnownErr: () => toKnownErr19,
8408
+ toKnownErr: () => toKnownErr20,
8345
8409
  validateCreate: () => validateCreate,
8346
8410
  validateDelete: () => validateDelete,
8347
8411
  validateUpdate: () => validateUpdate
@@ -8356,7 +8420,7 @@ function hasProp2(data, prop) {
8356
8420
  }
8357
8421
 
8358
8422
  // src/client/types/com/atproto/repo/batchWrite.ts
8359
- function toKnownErr19(e) {
8423
+ function toKnownErr20(e) {
8360
8424
  if (e instanceof XRPCError) {
8361
8425
  }
8362
8426
  return e;
@@ -8383,9 +8447,9 @@ function validateDelete(v) {
8383
8447
  // src/client/types/com/atproto/repo/createRecord.ts
8384
8448
  var createRecord_exports = {};
8385
8449
  __export(createRecord_exports, {
8386
- toKnownErr: () => toKnownErr20
8450
+ toKnownErr: () => toKnownErr21
8387
8451
  });
8388
- function toKnownErr20(e) {
8452
+ function toKnownErr21(e) {
8389
8453
  if (e instanceof XRPCError) {
8390
8454
  }
8391
8455
  return e;
@@ -8394,9 +8458,9 @@ function toKnownErr20(e) {
8394
8458
  // src/client/types/com/atproto/repo/deleteRecord.ts
8395
8459
  var deleteRecord_exports = {};
8396
8460
  __export(deleteRecord_exports, {
8397
- toKnownErr: () => toKnownErr21
8461
+ toKnownErr: () => toKnownErr22
8398
8462
  });
8399
- function toKnownErr21(e) {
8463
+ function toKnownErr22(e) {
8400
8464
  if (e instanceof XRPCError) {
8401
8465
  }
8402
8466
  return e;
@@ -8405,9 +8469,9 @@ function toKnownErr21(e) {
8405
8469
  // src/client/types/com/atproto/repo/describe.ts
8406
8470
  var describe_exports = {};
8407
8471
  __export(describe_exports, {
8408
- toKnownErr: () => toKnownErr22
8472
+ toKnownErr: () => toKnownErr23
8409
8473
  });
8410
- function toKnownErr22(e) {
8474
+ function toKnownErr23(e) {
8411
8475
  if (e instanceof XRPCError) {
8412
8476
  }
8413
8477
  return e;
@@ -8416,9 +8480,9 @@ function toKnownErr22(e) {
8416
8480
  // src/client/types/com/atproto/repo/getRecord.ts
8417
8481
  var getRecord_exports2 = {};
8418
8482
  __export(getRecord_exports2, {
8419
- toKnownErr: () => toKnownErr23
8483
+ toKnownErr: () => toKnownErr24
8420
8484
  });
8421
- function toKnownErr23(e) {
8485
+ function toKnownErr24(e) {
8422
8486
  if (e instanceof XRPCError) {
8423
8487
  }
8424
8488
  return e;
@@ -8428,10 +8492,10 @@ function toKnownErr23(e) {
8428
8492
  var listRecords_exports = {};
8429
8493
  __export(listRecords_exports, {
8430
8494
  isRecord: () => isRecord,
8431
- toKnownErr: () => toKnownErr24,
8495
+ toKnownErr: () => toKnownErr25,
8432
8496
  validateRecord: () => validateRecord
8433
8497
  });
8434
- function toKnownErr24(e) {
8498
+ function toKnownErr25(e) {
8435
8499
  if (e instanceof XRPCError) {
8436
8500
  }
8437
8501
  return e;
@@ -8446,9 +8510,9 @@ function validateRecord(v) {
8446
8510
  // src/client/types/com/atproto/repo/putRecord.ts
8447
8511
  var putRecord_exports = {};
8448
8512
  __export(putRecord_exports, {
8449
- toKnownErr: () => toKnownErr25
8513
+ toKnownErr: () => toKnownErr26
8450
8514
  });
8451
- function toKnownErr25(e) {
8515
+ function toKnownErr26(e) {
8452
8516
  if (e instanceof XRPCError) {
8453
8517
  }
8454
8518
  return e;
@@ -8457,9 +8521,9 @@ function toKnownErr25(e) {
8457
8521
  // src/client/types/com/atproto/report/create.ts
8458
8522
  var create_exports2 = {};
8459
8523
  __export(create_exports2, {
8460
- toKnownErr: () => toKnownErr26
8524
+ toKnownErr: () => toKnownErr27
8461
8525
  });
8462
- function toKnownErr26(e) {
8526
+ function toKnownErr27(e) {
8463
8527
  if (e instanceof XRPCError) {
8464
8528
  }
8465
8529
  return e;
@@ -8469,10 +8533,10 @@ function toKnownErr26(e) {
8469
8533
  var getAccountsConfig_exports = {};
8470
8534
  __export(getAccountsConfig_exports, {
8471
8535
  isLinks: () => isLinks,
8472
- toKnownErr: () => toKnownErr27,
8536
+ toKnownErr: () => toKnownErr28,
8473
8537
  validateLinks: () => validateLinks
8474
8538
  });
8475
- function toKnownErr27(e) {
8539
+ function toKnownErr28(e) {
8476
8540
  if (e instanceof XRPCError) {
8477
8541
  }
8478
8542
  return e;
@@ -8488,14 +8552,14 @@ function validateLinks(v) {
8488
8552
  var create_exports3 = {};
8489
8553
  __export(create_exports3, {
8490
8554
  AccountTakedownError: () => AccountTakedownError,
8491
- toKnownErr: () => toKnownErr28
8555
+ toKnownErr: () => toKnownErr29
8492
8556
  });
8493
8557
  var AccountTakedownError = class extends XRPCError {
8494
8558
  constructor(src) {
8495
8559
  super(src.status, src.error, src.message);
8496
8560
  }
8497
8561
  };
8498
- function toKnownErr28(e) {
8562
+ function toKnownErr29(e) {
8499
8563
  if (e instanceof XRPCError) {
8500
8564
  if (e.error === "AccountTakedown")
8501
8565
  return new AccountTakedownError(e);
@@ -8506,9 +8570,9 @@ function toKnownErr28(e) {
8506
8570
  // src/client/types/com/atproto/session/delete.ts
8507
8571
  var delete_exports2 = {};
8508
8572
  __export(delete_exports2, {
8509
- toKnownErr: () => toKnownErr29
8573
+ toKnownErr: () => toKnownErr30
8510
8574
  });
8511
- function toKnownErr29(e) {
8575
+ function toKnownErr30(e) {
8512
8576
  if (e instanceof XRPCError) {
8513
8577
  }
8514
8578
  return e;
@@ -8517,9 +8581,9 @@ function toKnownErr29(e) {
8517
8581
  // src/client/types/com/atproto/session/get.ts
8518
8582
  var get_exports2 = {};
8519
8583
  __export(get_exports2, {
8520
- toKnownErr: () => toKnownErr30
8584
+ toKnownErr: () => toKnownErr31
8521
8585
  });
8522
- function toKnownErr30(e) {
8586
+ function toKnownErr31(e) {
8523
8587
  if (e instanceof XRPCError) {
8524
8588
  }
8525
8589
  return e;
@@ -8529,14 +8593,14 @@ function toKnownErr30(e) {
8529
8593
  var refresh_exports = {};
8530
8594
  __export(refresh_exports, {
8531
8595
  AccountTakedownError: () => AccountTakedownError2,
8532
- toKnownErr: () => toKnownErr31
8596
+ toKnownErr: () => toKnownErr32
8533
8597
  });
8534
8598
  var AccountTakedownError2 = class extends XRPCError {
8535
8599
  constructor(src) {
8536
8600
  super(src.status, src.error, src.message);
8537
8601
  }
8538
8602
  };
8539
- function toKnownErr31(e) {
8603
+ function toKnownErr32(e) {
8540
8604
  if (e instanceof XRPCError) {
8541
8605
  if (e.error === "AccountTakedown")
8542
8606
  return new AccountTakedownError2(e);
@@ -8547,9 +8611,9 @@ function toKnownErr31(e) {
8547
8611
  // src/client/types/com/atproto/sync/getCheckout.ts
8548
8612
  var getCheckout_exports = {};
8549
8613
  __export(getCheckout_exports, {
8550
- toKnownErr: () => toKnownErr32
8614
+ toKnownErr: () => toKnownErr33
8551
8615
  });
8552
- function toKnownErr32(e) {
8616
+ function toKnownErr33(e) {
8553
8617
  if (e instanceof XRPCError) {
8554
8618
  }
8555
8619
  return e;
@@ -8558,9 +8622,9 @@ function toKnownErr32(e) {
8558
8622
  // src/client/types/com/atproto/sync/getCommitPath.ts
8559
8623
  var getCommitPath_exports = {};
8560
8624
  __export(getCommitPath_exports, {
8561
- toKnownErr: () => toKnownErr33
8625
+ toKnownErr: () => toKnownErr34
8562
8626
  });
8563
- function toKnownErr33(e) {
8627
+ function toKnownErr34(e) {
8564
8628
  if (e instanceof XRPCError) {
8565
8629
  }
8566
8630
  return e;
@@ -8569,9 +8633,9 @@ function toKnownErr33(e) {
8569
8633
  // src/client/types/com/atproto/sync/getHead.ts
8570
8634
  var getHead_exports = {};
8571
8635
  __export(getHead_exports, {
8572
- toKnownErr: () => toKnownErr34
8636
+ toKnownErr: () => toKnownErr35
8573
8637
  });
8574
- function toKnownErr34(e) {
8638
+ function toKnownErr35(e) {
8575
8639
  if (e instanceof XRPCError) {
8576
8640
  }
8577
8641
  return e;
@@ -8580,9 +8644,9 @@ function toKnownErr34(e) {
8580
8644
  // src/client/types/com/atproto/sync/getRecord.ts
8581
8645
  var getRecord_exports3 = {};
8582
8646
  __export(getRecord_exports3, {
8583
- toKnownErr: () => toKnownErr35
8647
+ toKnownErr: () => toKnownErr36
8584
8648
  });
8585
- function toKnownErr35(e) {
8649
+ function toKnownErr36(e) {
8586
8650
  if (e instanceof XRPCError) {
8587
8651
  }
8588
8652
  return e;
@@ -8591,9 +8655,9 @@ function toKnownErr35(e) {
8591
8655
  // src/client/types/com/atproto/sync/getRepo.ts
8592
8656
  var getRepo_exports2 = {};
8593
8657
  __export(getRepo_exports2, {
8594
- toKnownErr: () => toKnownErr36
8658
+ toKnownErr: () => toKnownErr37
8595
8659
  });
8596
- function toKnownErr36(e) {
8660
+ function toKnownErr37(e) {
8597
8661
  if (e instanceof XRPCError) {
8598
8662
  }
8599
8663
  return e;
@@ -8603,10 +8667,10 @@ function toKnownErr36(e) {
8603
8667
  var getProfile_exports = {};
8604
8668
  __export(getProfile_exports, {
8605
8669
  isMyState: () => isMyState,
8606
- toKnownErr: () => toKnownErr37,
8670
+ toKnownErr: () => toKnownErr38,
8607
8671
  validateMyState: () => validateMyState
8608
8672
  });
8609
- function toKnownErr37(e) {
8673
+ function toKnownErr38(e) {
8610
8674
  if (e instanceof XRPCError) {
8611
8675
  }
8612
8676
  return e;
@@ -8623,11 +8687,11 @@ var getSuggestions_exports = {};
8623
8687
  __export(getSuggestions_exports, {
8624
8688
  isActor: () => isActor,
8625
8689
  isMyState: () => isMyState2,
8626
- toKnownErr: () => toKnownErr38,
8690
+ toKnownErr: () => toKnownErr39,
8627
8691
  validateActor: () => validateActor,
8628
8692
  validateMyState: () => validateMyState2
8629
8693
  });
8630
- function toKnownErr38(e) {
8694
+ function toKnownErr39(e) {
8631
8695
  if (e instanceof XRPCError) {
8632
8696
  }
8633
8697
  return e;
@@ -8649,10 +8713,10 @@ function validateMyState2(v) {
8649
8713
  var search_exports = {};
8650
8714
  __export(search_exports, {
8651
8715
  isUser: () => isUser,
8652
- toKnownErr: () => toKnownErr39,
8716
+ toKnownErr: () => toKnownErr40,
8653
8717
  validateUser: () => validateUser
8654
8718
  });
8655
- function toKnownErr39(e) {
8719
+ function toKnownErr40(e) {
8656
8720
  if (e instanceof XRPCError) {
8657
8721
  }
8658
8722
  return e;
@@ -8668,10 +8732,10 @@ function validateUser(v) {
8668
8732
  var searchTypeahead_exports = {};
8669
8733
  __export(searchTypeahead_exports, {
8670
8734
  isUser: () => isUser2,
8671
- toKnownErr: () => toKnownErr40,
8735
+ toKnownErr: () => toKnownErr41,
8672
8736
  validateUser: () => validateUser2
8673
8737
  });
8674
- function toKnownErr40(e) {
8738
+ function toKnownErr41(e) {
8675
8739
  if (e instanceof XRPCError) {
8676
8740
  }
8677
8741
  return e;
@@ -8690,7 +8754,7 @@ __export(updateProfile_exports, {
8690
8754
  InvalidBlobError: () => InvalidBlobError,
8691
8755
  InvalidImageDimensionsError: () => InvalidImageDimensionsError,
8692
8756
  InvalidMimeTypeError: () => InvalidMimeTypeError,
8693
- toKnownErr: () => toKnownErr41
8757
+ toKnownErr: () => toKnownErr42
8694
8758
  });
8695
8759
  var InvalidBlobError = class extends XRPCError {
8696
8760
  constructor(src) {
@@ -8712,7 +8776,7 @@ var InvalidImageDimensionsError = class extends XRPCError {
8712
8776
  super(src.status, src.error, src.message);
8713
8777
  }
8714
8778
  };
8715
- function toKnownErr41(e) {
8779
+ function toKnownErr42(e) {
8716
8780
  if (e instanceof XRPCError) {
8717
8781
  if (e.error === "InvalidBlob")
8718
8782
  return new InvalidBlobError(e);
@@ -8729,9 +8793,9 @@ function toKnownErr41(e) {
8729
8793
  // src/client/types/app/bsky/feed/getAuthorFeed.ts
8730
8794
  var getAuthorFeed_exports = {};
8731
8795
  __export(getAuthorFeed_exports, {
8732
- toKnownErr: () => toKnownErr42
8796
+ toKnownErr: () => toKnownErr43
8733
8797
  });
8734
- function toKnownErr42(e) {
8798
+ function toKnownErr43(e) {
8735
8799
  if (e instanceof XRPCError) {
8736
8800
  }
8737
8801
  return e;
@@ -8743,7 +8807,7 @@ __export(getPostThread_exports, {
8743
8807
  NotFoundError: () => NotFoundError,
8744
8808
  isNotFoundPost: () => isNotFoundPost,
8745
8809
  isThreadViewPost: () => isThreadViewPost,
8746
- toKnownErr: () => toKnownErr43,
8810
+ toKnownErr: () => toKnownErr44,
8747
8811
  validateNotFoundPost: () => validateNotFoundPost,
8748
8812
  validateThreadViewPost: () => validateThreadViewPost
8749
8813
  });
@@ -8752,7 +8816,7 @@ var NotFoundError = class extends XRPCError {
8752
8816
  super(src.status, src.error, src.message);
8753
8817
  }
8754
8818
  };
8755
- function toKnownErr43(e) {
8819
+ function toKnownErr44(e) {
8756
8820
  if (e instanceof XRPCError) {
8757
8821
  if (e.error === "NotFound")
8758
8822
  return new NotFoundError(e);
@@ -8776,10 +8840,10 @@ function validateNotFoundPost(v) {
8776
8840
  var getRepostedBy_exports = {};
8777
8841
  __export(getRepostedBy_exports, {
8778
8842
  isRepostedBy: () => isRepostedBy,
8779
- toKnownErr: () => toKnownErr44,
8843
+ toKnownErr: () => toKnownErr45,
8780
8844
  validateRepostedBy: () => validateRepostedBy
8781
8845
  });
8782
- function toKnownErr44(e) {
8846
+ function toKnownErr45(e) {
8783
8847
  if (e instanceof XRPCError) {
8784
8848
  }
8785
8849
  return e;
@@ -8794,9 +8858,9 @@ function validateRepostedBy(v) {
8794
8858
  // src/client/types/app/bsky/feed/getTimeline.ts
8795
8859
  var getTimeline_exports = {};
8796
8860
  __export(getTimeline_exports, {
8797
- toKnownErr: () => toKnownErr45
8861
+ toKnownErr: () => toKnownErr46
8798
8862
  });
8799
- function toKnownErr45(e) {
8863
+ function toKnownErr46(e) {
8800
8864
  if (e instanceof XRPCError) {
8801
8865
  }
8802
8866
  return e;
@@ -8806,10 +8870,10 @@ function toKnownErr45(e) {
8806
8870
  var getVotes_exports = {};
8807
8871
  __export(getVotes_exports, {
8808
8872
  isVote: () => isVote,
8809
- toKnownErr: () => toKnownErr46,
8873
+ toKnownErr: () => toKnownErr47,
8810
8874
  validateVote: () => validateVote
8811
8875
  });
8812
- function toKnownErr46(e) {
8876
+ function toKnownErr47(e) {
8813
8877
  if (e instanceof XRPCError) {
8814
8878
  }
8815
8879
  return e;
@@ -8824,9 +8888,9 @@ function validateVote(v) {
8824
8888
  // src/client/types/app/bsky/feed/setVote.ts
8825
8889
  var setVote_exports = {};
8826
8890
  __export(setVote_exports, {
8827
- toKnownErr: () => toKnownErr47
8891
+ toKnownErr: () => toKnownErr48
8828
8892
  });
8829
- function toKnownErr47(e) {
8893
+ function toKnownErr48(e) {
8830
8894
  if (e instanceof XRPCError) {
8831
8895
  }
8832
8896
  return e;
@@ -8836,10 +8900,10 @@ function toKnownErr47(e) {
8836
8900
  var getFollowers_exports = {};
8837
8901
  __export(getFollowers_exports, {
8838
8902
  isFollower: () => isFollower,
8839
- toKnownErr: () => toKnownErr48,
8903
+ toKnownErr: () => toKnownErr49,
8840
8904
  validateFollower: () => validateFollower
8841
8905
  });
8842
- function toKnownErr48(e) {
8906
+ function toKnownErr49(e) {
8843
8907
  if (e instanceof XRPCError) {
8844
8908
  }
8845
8909
  return e;
@@ -8855,10 +8919,10 @@ function validateFollower(v) {
8855
8919
  var getFollows_exports = {};
8856
8920
  __export(getFollows_exports, {
8857
8921
  isFollow: () => isFollow,
8858
- toKnownErr: () => toKnownErr49,
8922
+ toKnownErr: () => toKnownErr50,
8859
8923
  validateFollow: () => validateFollow
8860
8924
  });
8861
- function toKnownErr49(e) {
8925
+ function toKnownErr50(e) {
8862
8926
  if (e instanceof XRPCError) {
8863
8927
  }
8864
8928
  return e;
@@ -8874,10 +8938,10 @@ function validateFollow(v) {
8874
8938
  var getMutes_exports = {};
8875
8939
  __export(getMutes_exports, {
8876
8940
  isMute: () => isMute,
8877
- toKnownErr: () => toKnownErr50,
8941
+ toKnownErr: () => toKnownErr51,
8878
8942
  validateMute: () => validateMute
8879
8943
  });
8880
- function toKnownErr50(e) {
8944
+ function toKnownErr51(e) {
8881
8945
  if (e instanceof XRPCError) {
8882
8946
  }
8883
8947
  return e;
@@ -8892,9 +8956,9 @@ function validateMute(v) {
8892
8956
  // src/client/types/app/bsky/graph/mute.ts
8893
8957
  var mute_exports = {};
8894
8958
  __export(mute_exports, {
8895
- toKnownErr: () => toKnownErr51
8959
+ toKnownErr: () => toKnownErr52
8896
8960
  });
8897
- function toKnownErr51(e) {
8961
+ function toKnownErr52(e) {
8898
8962
  if (e instanceof XRPCError) {
8899
8963
  }
8900
8964
  return e;
@@ -8903,9 +8967,9 @@ function toKnownErr51(e) {
8903
8967
  // src/client/types/app/bsky/graph/unmute.ts
8904
8968
  var unmute_exports = {};
8905
8969
  __export(unmute_exports, {
8906
- toKnownErr: () => toKnownErr52
8970
+ toKnownErr: () => toKnownErr53
8907
8971
  });
8908
- function toKnownErr52(e) {
8972
+ function toKnownErr53(e) {
8909
8973
  if (e instanceof XRPCError) {
8910
8974
  }
8911
8975
  return e;
@@ -8914,9 +8978,9 @@ function toKnownErr52(e) {
8914
8978
  // src/client/types/app/bsky/notification/getCount.ts
8915
8979
  var getCount_exports = {};
8916
8980
  __export(getCount_exports, {
8917
- toKnownErr: () => toKnownErr53
8981
+ toKnownErr: () => toKnownErr54
8918
8982
  });
8919
- function toKnownErr53(e) {
8983
+ function toKnownErr54(e) {
8920
8984
  if (e instanceof XRPCError) {
8921
8985
  }
8922
8986
  return e;
@@ -8926,10 +8990,10 @@ function toKnownErr53(e) {
8926
8990
  var list_exports = {};
8927
8991
  __export(list_exports, {
8928
8992
  isNotification: () => isNotification,
8929
- toKnownErr: () => toKnownErr54,
8993
+ toKnownErr: () => toKnownErr55,
8930
8994
  validateNotification: () => validateNotification
8931
8995
  });
8932
- function toKnownErr54(e) {
8996
+ function toKnownErr55(e) {
8933
8997
  if (e instanceof XRPCError) {
8934
8998
  }
8935
8999
  return e;
@@ -8944,9 +9008,9 @@ function validateNotification(v) {
8944
9008
  // src/client/types/app/bsky/notification/updateSeen.ts
8945
9009
  var updateSeen_exports = {};
8946
9010
  __export(updateSeen_exports, {
8947
- toKnownErr: () => toKnownErr55
9011
+ toKnownErr: () => toKnownErr56
8948
9012
  });
8949
- function toKnownErr55(e) {
9013
+ function toKnownErr56(e) {
8950
9014
  if (e instanceof XRPCError) {
8951
9015
  }
8952
9016
  return e;
@@ -9560,14 +9624,19 @@ var AccountNS = class {
9560
9624
  throw toKnownErr4(e);
9561
9625
  });
9562
9626
  }
9627
+ requestDelete(data, opts) {
9628
+ return this._service.xrpc.call("com.atproto.account.requestDelete", opts?.qp, data, opts).catch((e) => {
9629
+ throw toKnownErr5(e);
9630
+ });
9631
+ }
9563
9632
  requestPasswordReset(data, opts) {
9564
9633
  return this._service.xrpc.call("com.atproto.account.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
9565
- throw toKnownErr5(e);
9634
+ throw toKnownErr6(e);
9566
9635
  });
9567
9636
  }
9568
9637
  resetPassword(data, opts) {
9569
9638
  return this._service.xrpc.call("com.atproto.account.resetPassword", opts?.qp, data, opts).catch((e) => {
9570
- throw toKnownErr6(e);
9639
+ throw toKnownErr7(e);
9571
9640
  });
9572
9641
  }
9573
9642
  };
@@ -9577,52 +9646,52 @@ var AdminNS = class {
9577
9646
  }
9578
9647
  getModerationAction(params2, opts) {
9579
9648
  return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
9580
- throw toKnownErr7(e);
9649
+ throw toKnownErr8(e);
9581
9650
  });
9582
9651
  }
9583
9652
  getModerationActions(params2, opts) {
9584
9653
  return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
9585
- throw toKnownErr8(e);
9654
+ throw toKnownErr9(e);
9586
9655
  });
9587
9656
  }
9588
9657
  getModerationReport(params2, opts) {
9589
9658
  return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
9590
- throw toKnownErr9(e);
9659
+ throw toKnownErr10(e);
9591
9660
  });
9592
9661
  }
9593
9662
  getModerationReports(params2, opts) {
9594
9663
  return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
9595
- throw toKnownErr10(e);
9664
+ throw toKnownErr11(e);
9596
9665
  });
9597
9666
  }
9598
9667
  getRecord(params2, opts) {
9599
9668
  return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
9600
- throw toKnownErr11(e);
9669
+ throw toKnownErr12(e);
9601
9670
  });
9602
9671
  }
9603
9672
  getRepo(params2, opts) {
9604
9673
  return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
9605
- throw toKnownErr12(e);
9674
+ throw toKnownErr13(e);
9606
9675
  });
9607
9676
  }
9608
9677
  resolveModerationReports(data, opts) {
9609
9678
  return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
9610
- throw toKnownErr13(e);
9679
+ throw toKnownErr14(e);
9611
9680
  });
9612
9681
  }
9613
9682
  reverseModerationAction(data, opts) {
9614
9683
  return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
9615
- throw toKnownErr14(e);
9684
+ throw toKnownErr15(e);
9616
9685
  });
9617
9686
  }
9618
9687
  searchRepos(params2, opts) {
9619
9688
  return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
9620
- throw toKnownErr15(e);
9689
+ throw toKnownErr16(e);
9621
9690
  });
9622
9691
  }
9623
9692
  takeModerationAction(data, opts) {
9624
9693
  return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
9625
- throw toKnownErr16(e);
9694
+ throw toKnownErr17(e);
9626
9695
  });
9627
9696
  }
9628
9697
  };
@@ -9632,7 +9701,7 @@ var BlobNS = class {
9632
9701
  }
9633
9702
  upload(data, opts) {
9634
9703
  return this._service.xrpc.call("com.atproto.blob.upload", opts?.qp, data, opts).catch((e) => {
9635
- throw toKnownErr17(e);
9704
+ throw toKnownErr18(e);
9636
9705
  });
9637
9706
  }
9638
9707
  };
@@ -9642,7 +9711,7 @@ var HandleNS = class {
9642
9711
  }
9643
9712
  resolve(params2, opts) {
9644
9713
  return this._service.xrpc.call("com.atproto.handle.resolve", params2, void 0, opts).catch((e) => {
9645
- throw toKnownErr18(e);
9714
+ throw toKnownErr19(e);
9646
9715
  });
9647
9716
  }
9648
9717
  };
@@ -9652,37 +9721,37 @@ var RepoNS = class {
9652
9721
  }
9653
9722
  batchWrite(data, opts) {
9654
9723
  return this._service.xrpc.call("com.atproto.repo.batchWrite", opts?.qp, data, opts).catch((e) => {
9655
- throw toKnownErr19(e);
9724
+ throw toKnownErr20(e);
9656
9725
  });
9657
9726
  }
9658
9727
  createRecord(data, opts) {
9659
9728
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
9660
- throw toKnownErr20(e);
9729
+ throw toKnownErr21(e);
9661
9730
  });
9662
9731
  }
9663
9732
  deleteRecord(data, opts) {
9664
9733
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
9665
- throw toKnownErr21(e);
9734
+ throw toKnownErr22(e);
9666
9735
  });
9667
9736
  }
9668
9737
  describe(params2, opts) {
9669
9738
  return this._service.xrpc.call("com.atproto.repo.describe", params2, void 0, opts).catch((e) => {
9670
- throw toKnownErr22(e);
9739
+ throw toKnownErr23(e);
9671
9740
  });
9672
9741
  }
9673
9742
  getRecord(params2, opts) {
9674
9743
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
9675
- throw toKnownErr23(e);
9744
+ throw toKnownErr24(e);
9676
9745
  });
9677
9746
  }
9678
9747
  listRecords(params2, opts) {
9679
9748
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
9680
- throw toKnownErr24(e);
9749
+ throw toKnownErr25(e);
9681
9750
  });
9682
9751
  }
9683
9752
  putRecord(data, opts) {
9684
9753
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
9685
- throw toKnownErr25(e);
9754
+ throw toKnownErr26(e);
9686
9755
  });
9687
9756
  }
9688
9757
  };
@@ -9692,7 +9761,7 @@ var ReportNS = class {
9692
9761
  }
9693
9762
  create(data, opts) {
9694
9763
  return this._service.xrpc.call("com.atproto.report.create", opts?.qp, data, opts).catch((e) => {
9695
- throw toKnownErr26(e);
9764
+ throw toKnownErr27(e);
9696
9765
  });
9697
9766
  }
9698
9767
  };
@@ -9702,7 +9771,7 @@ var ServerNS = class {
9702
9771
  }
9703
9772
  getAccountsConfig(params2, opts) {
9704
9773
  return this._service.xrpc.call("com.atproto.server.getAccountsConfig", params2, void 0, opts).catch((e) => {
9705
- throw toKnownErr27(e);
9774
+ throw toKnownErr28(e);
9706
9775
  });
9707
9776
  }
9708
9777
  };
@@ -9712,22 +9781,22 @@ var SessionNS = class {
9712
9781
  }
9713
9782
  create(data, opts) {
9714
9783
  return this._service.xrpc.call("com.atproto.session.create", opts?.qp, data, opts).catch((e) => {
9715
- throw toKnownErr28(e);
9784
+ throw toKnownErr29(e);
9716
9785
  });
9717
9786
  }
9718
9787
  delete(data, opts) {
9719
9788
  return this._service.xrpc.call("com.atproto.session.delete", opts?.qp, data, opts).catch((e) => {
9720
- throw toKnownErr29(e);
9789
+ throw toKnownErr30(e);
9721
9790
  });
9722
9791
  }
9723
9792
  get(params2, opts) {
9724
9793
  return this._service.xrpc.call("com.atproto.session.get", params2, void 0, opts).catch((e) => {
9725
- throw toKnownErr30(e);
9794
+ throw toKnownErr31(e);
9726
9795
  });
9727
9796
  }
9728
9797
  refresh(data, opts) {
9729
9798
  return this._service.xrpc.call("com.atproto.session.refresh", opts?.qp, data, opts).catch((e) => {
9730
- throw toKnownErr31(e);
9799
+ throw toKnownErr32(e);
9731
9800
  });
9732
9801
  }
9733
9802
  };
@@ -9737,27 +9806,27 @@ var SyncNS = class {
9737
9806
  }
9738
9807
  getCheckout(params2, opts) {
9739
9808
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
9740
- throw toKnownErr32(e);
9809
+ throw toKnownErr33(e);
9741
9810
  });
9742
9811
  }
9743
9812
  getCommitPath(params2, opts) {
9744
9813
  return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
9745
- throw toKnownErr33(e);
9814
+ throw toKnownErr34(e);
9746
9815
  });
9747
9816
  }
9748
9817
  getHead(params2, opts) {
9749
9818
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
9750
- throw toKnownErr34(e);
9819
+ throw toKnownErr35(e);
9751
9820
  });
9752
9821
  }
9753
9822
  getRecord(params2, opts) {
9754
9823
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
9755
- throw toKnownErr35(e);
9824
+ throw toKnownErr36(e);
9756
9825
  });
9757
9826
  }
9758
9827
  getRepo(params2, opts) {
9759
9828
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
9760
- throw toKnownErr36(e);
9829
+ throw toKnownErr37(e);
9761
9830
  });
9762
9831
  }
9763
9832
  };
@@ -9785,27 +9854,27 @@ var ActorNS = class {
9785
9854
  }
9786
9855
  getProfile(params2, opts) {
9787
9856
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
9788
- throw toKnownErr37(e);
9857
+ throw toKnownErr38(e);
9789
9858
  });
9790
9859
  }
9791
9860
  getSuggestions(params2, opts) {
9792
9861
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
9793
- throw toKnownErr38(e);
9862
+ throw toKnownErr39(e);
9794
9863
  });
9795
9864
  }
9796
9865
  search(params2, opts) {
9797
9866
  return this._service.xrpc.call("app.bsky.actor.search", params2, void 0, opts).catch((e) => {
9798
- throw toKnownErr39(e);
9867
+ throw toKnownErr40(e);
9799
9868
  });
9800
9869
  }
9801
9870
  searchTypeahead(params2, opts) {
9802
9871
  return this._service.xrpc.call("app.bsky.actor.searchTypeahead", params2, void 0, opts).catch((e) => {
9803
- throw toKnownErr40(e);
9872
+ throw toKnownErr41(e);
9804
9873
  });
9805
9874
  }
9806
9875
  updateProfile(data, opts) {
9807
9876
  return this._service.xrpc.call("app.bsky.actor.updateProfile", opts?.qp, data, opts).catch((e) => {
9808
- throw toKnownErr41(e);
9877
+ throw toKnownErr42(e);
9809
9878
  });
9810
9879
  }
9811
9880
  };
@@ -9860,32 +9929,32 @@ var FeedNS = class {
9860
9929
  }
9861
9930
  getAuthorFeed(params2, opts) {
9862
9931
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
9863
- throw toKnownErr42(e);
9932
+ throw toKnownErr43(e);
9864
9933
  });
9865
9934
  }
9866
9935
  getPostThread(params2, opts) {
9867
9936
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
9868
- throw toKnownErr43(e);
9937
+ throw toKnownErr44(e);
9869
9938
  });
9870
9939
  }
9871
9940
  getRepostedBy(params2, opts) {
9872
9941
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
9873
- throw toKnownErr44(e);
9942
+ throw toKnownErr45(e);
9874
9943
  });
9875
9944
  }
9876
9945
  getTimeline(params2, opts) {
9877
9946
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
9878
- throw toKnownErr45(e);
9947
+ throw toKnownErr46(e);
9879
9948
  });
9880
9949
  }
9881
9950
  getVotes(params2, opts) {
9882
9951
  return this._service.xrpc.call("app.bsky.feed.getVotes", params2, void 0, opts).catch((e) => {
9883
- throw toKnownErr46(e);
9952
+ throw toKnownErr47(e);
9884
9953
  });
9885
9954
  }
9886
9955
  setVote(data, opts) {
9887
9956
  return this._service.xrpc.call("app.bsky.feed.setVote", opts?.qp, data, opts).catch((e) => {
9888
- throw toKnownErr47(e);
9957
+ throw toKnownErr48(e);
9889
9958
  });
9890
9959
  }
9891
9960
  };
@@ -10009,27 +10078,27 @@ var GraphNS = class {
10009
10078
  }
10010
10079
  getFollowers(params2, opts) {
10011
10080
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
10012
- throw toKnownErr48(e);
10081
+ throw toKnownErr49(e);
10013
10082
  });
10014
10083
  }
10015
10084
  getFollows(params2, opts) {
10016
10085
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
10017
- throw toKnownErr49(e);
10086
+ throw toKnownErr50(e);
10018
10087
  });
10019
10088
  }
10020
10089
  getMutes(params2, opts) {
10021
10090
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
10022
- throw toKnownErr50(e);
10091
+ throw toKnownErr51(e);
10023
10092
  });
10024
10093
  }
10025
10094
  mute(data, opts) {
10026
10095
  return this._service.xrpc.call("app.bsky.graph.mute", opts?.qp, data, opts).catch((e) => {
10027
- throw toKnownErr51(e);
10096
+ throw toKnownErr52(e);
10028
10097
  });
10029
10098
  }
10030
10099
  unmute(data, opts) {
10031
10100
  return this._service.xrpc.call("app.bsky.graph.unmute", opts?.qp, data, opts).catch((e) => {
10032
- throw toKnownErr52(e);
10101
+ throw toKnownErr53(e);
10033
10102
  });
10034
10103
  }
10035
10104
  };
@@ -10150,17 +10219,17 @@ var NotificationNS = class {
10150
10219
  }
10151
10220
  getCount(params2, opts) {
10152
10221
  return this._service.xrpc.call("app.bsky.notification.getCount", params2, void 0, opts).catch((e) => {
10153
- throw toKnownErr53(e);
10222
+ throw toKnownErr54(e);
10154
10223
  });
10155
10224
  }
10156
10225
  list(params2, opts) {
10157
10226
  return this._service.xrpc.call("app.bsky.notification.list", params2, void 0, opts).catch((e) => {
10158
- throw toKnownErr54(e);
10227
+ throw toKnownErr55(e);
10159
10228
  });
10160
10229
  }
10161
10230
  updateSeen(data, opts) {
10162
10231
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
10163
- throw toKnownErr55(e);
10232
+ throw toKnownErr56(e);
10164
10233
  });
10165
10234
  }
10166
10235
  };
@@ -10385,6 +10454,7 @@ var SessionManager = class extends import_events.default {
10385
10454
  ComAtprotoAccountCreateInviteCode,
10386
10455
  ComAtprotoAccountDelete,
10387
10456
  ComAtprotoAccountGet,
10457
+ ComAtprotoAccountRequestDelete,
10388
10458
  ComAtprotoAccountRequestPasswordReset,
10389
10459
  ComAtprotoAccountResetPassword,
10390
10460
  ComAtprotoAdminGetModerationAction,