@atproto/api 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/client/index.d.ts +19 -0
- package/dist/client/lexicons.d.ts +248 -2
- package/dist/client/types/app/bsky/feed/getPosts.d.ts +19 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +3 -0
- package/dist/client/types/com/atproto/admin/updateAccountEmail.d.ts +18 -0
- package/dist/client/types/com/atproto/moderation/defs.d.ts +5 -1
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts +31 -0
- package/dist/client/types/com/atproto/server/createInviteCodes.d.ts +10 -2
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts +28 -0
- package/dist/client/types/com/atproto/server/revokeAppPassword.d.ts +17 -0
- package/dist/index.js +626 -184
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +69 -0
- package/src/client/lexicons.ts +263 -9
- package/src/client/types/app/bsky/feed/getPosts.ts +36 -0
- package/src/client/types/app/bsky/notification/getUnreadCount.ts +3 -1
- package/src/client/types/app/bsky/notification/listNotifications.ts +1 -0
- package/src/client/types/com/atproto/admin/defs.ts +3 -0
- package/src/client/types/com/atproto/admin/updateAccountEmail.ts +34 -0
- package/src/client/types/com/atproto/moderation/defs.ts +14 -2
- package/src/client/types/com/atproto/server/createAppPassword.ts +64 -0
- package/src/client/types/com/atproto/server/createInviteCodes.ts +23 -2
- package/src/client/types/com/atproto/server/listAppPasswords.ts +58 -0
- package/src/client/types/com/atproto/server/revokeAppPassword.ts +32 -0
- package/src/client/types/com/atproto/sync/getRepo.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -95,6 +95,7 @@ __export(src_exports4, {
|
|
|
95
95
|
AppBskyFeedGetAuthorFeed: () => getAuthorFeed_exports,
|
|
96
96
|
AppBskyFeedGetLikes: () => getLikes_exports,
|
|
97
97
|
AppBskyFeedGetPostThread: () => getPostThread_exports,
|
|
98
|
+
AppBskyFeedGetPosts: () => getPosts_exports,
|
|
98
99
|
AppBskyFeedGetRepostedBy: () => getRepostedBy_exports,
|
|
99
100
|
AppBskyFeedGetTimeline: () => getTimeline_exports,
|
|
100
101
|
AppBskyFeedLike: () => like_exports,
|
|
@@ -135,6 +136,7 @@ __export(src_exports4, {
|
|
|
135
136
|
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
136
137
|
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
137
138
|
ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
|
|
139
|
+
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
138
140
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
139
141
|
ComAtprotoIdentityResolveHandle: () => resolveHandle_exports,
|
|
140
142
|
ComAtprotoIdentityUpdateHandle: () => updateHandle_exports,
|
|
@@ -153,6 +155,7 @@ __export(src_exports4, {
|
|
|
153
155
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
154
156
|
ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
|
|
155
157
|
ComAtprotoServerCreateAccount: () => createAccount_exports,
|
|
158
|
+
ComAtprotoServerCreateAppPassword: () => createAppPassword_exports,
|
|
156
159
|
ComAtprotoServerCreateInviteCode: () => createInviteCode_exports,
|
|
157
160
|
ComAtprotoServerCreateInviteCodes: () => createInviteCodes_exports,
|
|
158
161
|
ComAtprotoServerCreateSession: () => createSession_exports,
|
|
@@ -162,10 +165,12 @@ __export(src_exports4, {
|
|
|
162
165
|
ComAtprotoServerDescribeServer: () => describeServer_exports,
|
|
163
166
|
ComAtprotoServerGetAccountInviteCodes: () => getAccountInviteCodes_exports,
|
|
164
167
|
ComAtprotoServerGetSession: () => getSession_exports,
|
|
168
|
+
ComAtprotoServerListAppPasswords: () => listAppPasswords_exports,
|
|
165
169
|
ComAtprotoServerRefreshSession: () => refreshSession_exports,
|
|
166
170
|
ComAtprotoServerRequestAccountDelete: () => requestAccountDelete_exports,
|
|
167
171
|
ComAtprotoServerRequestPasswordReset: () => requestPasswordReset_exports,
|
|
168
172
|
ComAtprotoServerResetPassword: () => resetPassword_exports,
|
|
173
|
+
ComAtprotoServerRevokeAppPassword: () => revokeAppPassword_exports,
|
|
169
174
|
ComAtprotoSyncGetBlob: () => getBlob_exports,
|
|
170
175
|
ComAtprotoSyncGetBlocks: () => getBlocks_exports,
|
|
171
176
|
ComAtprotoSyncGetCheckout: () => getCheckout_exports,
|
|
@@ -5338,7 +5343,57 @@ var famousAccounts = [
|
|
|
5338
5343
|
"ukraine",
|
|
5339
5344
|
"washingtonpost",
|
|
5340
5345
|
"yousuck2020",
|
|
5341
|
-
"zelenskyyua"
|
|
5346
|
+
"zelenskyyua",
|
|
5347
|
+
"akiko_lawson",
|
|
5348
|
+
"ariyoshihiroiki",
|
|
5349
|
+
"asahi",
|
|
5350
|
+
"dozle_official",
|
|
5351
|
+
"famima_now",
|
|
5352
|
+
"ff_xiv_jp",
|
|
5353
|
+
"fujitv",
|
|
5354
|
+
"gigazine",
|
|
5355
|
+
"hajimesyacho",
|
|
5356
|
+
"hikakin",
|
|
5357
|
+
"jocx",
|
|
5358
|
+
"jotx",
|
|
5359
|
+
"kiyo_saiore",
|
|
5360
|
+
"mainichi",
|
|
5361
|
+
"matsu_bouzu",
|
|
5362
|
+
"naomiosaka",
|
|
5363
|
+
"nhk",
|
|
5364
|
+
"nikkei",
|
|
5365
|
+
"nintendo",
|
|
5366
|
+
"ntv",
|
|
5367
|
+
"oowareware1945",
|
|
5368
|
+
"pamyurin",
|
|
5369
|
+
"poke_times",
|
|
5370
|
+
"rolaworld",
|
|
5371
|
+
"seikintv",
|
|
5372
|
+
"starbucksjapan",
|
|
5373
|
+
"tbs",
|
|
5374
|
+
"tbs_pr",
|
|
5375
|
+
"tvasahi",
|
|
5376
|
+
"tvtokyo",
|
|
5377
|
+
"yokoono",
|
|
5378
|
+
"yomiuri_online",
|
|
5379
|
+
"brasildefato",
|
|
5380
|
+
"claudialeitte",
|
|
5381
|
+
"correio",
|
|
5382
|
+
"em_com",
|
|
5383
|
+
"estadao",
|
|
5384
|
+
"folha",
|
|
5385
|
+
"gazetadopovo",
|
|
5386
|
+
"ivetesangalo",
|
|
5387
|
+
"jairbolsonaro",
|
|
5388
|
+
"jornaldobrasil",
|
|
5389
|
+
"jornaloglobo",
|
|
5390
|
+
"lucianohuck",
|
|
5391
|
+
"lulaoficial",
|
|
5392
|
+
"marcosmion",
|
|
5393
|
+
"paulocoelho",
|
|
5394
|
+
"portalr7",
|
|
5395
|
+
"rede_globo",
|
|
5396
|
+
"zerohora"
|
|
5342
5397
|
];
|
|
5343
5398
|
var reservedSubdomains = [
|
|
5344
5399
|
...atpSpecific,
|
|
@@ -7430,6 +7485,13 @@ var schemaDict = {
|
|
|
7430
7485
|
type: "ref",
|
|
7431
7486
|
ref: "lex:com.atproto.admin.defs#moderationDetail"
|
|
7432
7487
|
},
|
|
7488
|
+
labels: {
|
|
7489
|
+
type: "array",
|
|
7490
|
+
items: {
|
|
7491
|
+
type: "ref",
|
|
7492
|
+
ref: "lex:com.atproto.label.defs#label"
|
|
7493
|
+
}
|
|
7494
|
+
},
|
|
7433
7495
|
invitedBy: {
|
|
7434
7496
|
type: "ref",
|
|
7435
7497
|
ref: "lex:com.atproto.server.defs#inviteCode"
|
|
@@ -7527,6 +7589,13 @@ var schemaDict = {
|
|
|
7527
7589
|
ref: "lex:com.atproto.admin.defs#blobView"
|
|
7528
7590
|
}
|
|
7529
7591
|
},
|
|
7592
|
+
labels: {
|
|
7593
|
+
type: "array",
|
|
7594
|
+
items: {
|
|
7595
|
+
type: "ref",
|
|
7596
|
+
ref: "lex:com.atproto.label.defs#label"
|
|
7597
|
+
}
|
|
7598
|
+
},
|
|
7530
7599
|
indexedAt: {
|
|
7531
7600
|
type: "string",
|
|
7532
7601
|
format: "datetime"
|
|
@@ -8114,13 +8183,40 @@ var schemaDict = {
|
|
|
8114
8183
|
}
|
|
8115
8184
|
}
|
|
8116
8185
|
},
|
|
8186
|
+
ComAtprotoAdminUpdateAccountEmail: {
|
|
8187
|
+
lexicon: 1,
|
|
8188
|
+
id: "com.atproto.admin.updateAccountEmail",
|
|
8189
|
+
defs: {
|
|
8190
|
+
main: {
|
|
8191
|
+
type: "procedure",
|
|
8192
|
+
description: "Administrative action to update an account's email",
|
|
8193
|
+
input: {
|
|
8194
|
+
encoding: "application/json",
|
|
8195
|
+
schema: {
|
|
8196
|
+
type: "object",
|
|
8197
|
+
required: ["account", "email"],
|
|
8198
|
+
properties: {
|
|
8199
|
+
account: {
|
|
8200
|
+
type: "string",
|
|
8201
|
+
format: "at-identifier",
|
|
8202
|
+
description: "The handle or DID of the repo."
|
|
8203
|
+
},
|
|
8204
|
+
email: {
|
|
8205
|
+
type: "string"
|
|
8206
|
+
}
|
|
8207
|
+
}
|
|
8208
|
+
}
|
|
8209
|
+
}
|
|
8210
|
+
}
|
|
8211
|
+
}
|
|
8212
|
+
},
|
|
8117
8213
|
ComAtprotoAdminUpdateAccountHandle: {
|
|
8118
8214
|
lexicon: 1,
|
|
8119
8215
|
id: "com.atproto.admin.updateAccountHandle",
|
|
8120
8216
|
defs: {
|
|
8121
8217
|
main: {
|
|
8122
8218
|
type: "procedure",
|
|
8123
|
-
description: "Administrative action to update an
|
|
8219
|
+
description: "Administrative action to update an account's handle",
|
|
8124
8220
|
input: {
|
|
8125
8221
|
encoding: "application/json",
|
|
8126
8222
|
schema: {
|
|
@@ -8441,16 +8537,36 @@ var schemaDict = {
|
|
|
8441
8537
|
type: "string",
|
|
8442
8538
|
knownValues: [
|
|
8443
8539
|
"com.atproto.moderation.defs#reasonSpam",
|
|
8540
|
+
"com.atproto.moderation.defs#reasonViolation",
|
|
8541
|
+
"com.atproto.moderation.defs#reasonMisleading",
|
|
8542
|
+
"com.atproto.moderation.defs#reasonSexual",
|
|
8543
|
+
"com.atproto.moderation.defs#reasonRude",
|
|
8444
8544
|
"com.atproto.moderation.defs#reasonOther"
|
|
8445
8545
|
]
|
|
8446
8546
|
},
|
|
8447
8547
|
reasonSpam: {
|
|
8448
8548
|
type: "token",
|
|
8449
|
-
description: "
|
|
8549
|
+
description: "Spam: frequent unwanted promotion, replies, mentions"
|
|
8550
|
+
},
|
|
8551
|
+
reasonViolation: {
|
|
8552
|
+
type: "token",
|
|
8553
|
+
description: "Direct violation of server rules, laws, terms of service"
|
|
8554
|
+
},
|
|
8555
|
+
reasonMisleading: {
|
|
8556
|
+
type: "token",
|
|
8557
|
+
description: "Misleading identity, affiliation, or content"
|
|
8558
|
+
},
|
|
8559
|
+
reasonSexual: {
|
|
8560
|
+
type: "token",
|
|
8561
|
+
description: "Unwanted or mis-labeled sexual content"
|
|
8562
|
+
},
|
|
8563
|
+
reasonRude: {
|
|
8564
|
+
type: "token",
|
|
8565
|
+
description: "Rude, harassing, explicit, or otherwise unwelcoming behavior"
|
|
8450
8566
|
},
|
|
8451
8567
|
reasonOther: {
|
|
8452
8568
|
type: "token",
|
|
8453
|
-
description: "
|
|
8569
|
+
description: "Other: reports not falling under another report category"
|
|
8454
8570
|
}
|
|
8455
8571
|
}
|
|
8456
8572
|
},
|
|
@@ -9061,6 +9177,56 @@ var schemaDict = {
|
|
|
9061
9177
|
}
|
|
9062
9178
|
}
|
|
9063
9179
|
},
|
|
9180
|
+
ComAtprotoServerCreateAppPassword: {
|
|
9181
|
+
lexicon: 1,
|
|
9182
|
+
id: "com.atproto.server.createAppPassword",
|
|
9183
|
+
defs: {
|
|
9184
|
+
main: {
|
|
9185
|
+
type: "procedure",
|
|
9186
|
+
description: "Create an app-specific password.",
|
|
9187
|
+
input: {
|
|
9188
|
+
encoding: "application/json",
|
|
9189
|
+
schema: {
|
|
9190
|
+
type: "object",
|
|
9191
|
+
required: ["name"],
|
|
9192
|
+
properties: {
|
|
9193
|
+
name: {
|
|
9194
|
+
type: "string"
|
|
9195
|
+
}
|
|
9196
|
+
}
|
|
9197
|
+
}
|
|
9198
|
+
},
|
|
9199
|
+
output: {
|
|
9200
|
+
encoding: "application/json",
|
|
9201
|
+
schema: {
|
|
9202
|
+
type: "ref",
|
|
9203
|
+
ref: "lex:com.atproto.server.createAppPassword#appPassword"
|
|
9204
|
+
}
|
|
9205
|
+
},
|
|
9206
|
+
errors: [
|
|
9207
|
+
{
|
|
9208
|
+
name: "AccountTakedown"
|
|
9209
|
+
}
|
|
9210
|
+
]
|
|
9211
|
+
},
|
|
9212
|
+
appPassword: {
|
|
9213
|
+
type: "object",
|
|
9214
|
+
required: ["name", "password", "createdAt"],
|
|
9215
|
+
properties: {
|
|
9216
|
+
name: {
|
|
9217
|
+
type: "string"
|
|
9218
|
+
},
|
|
9219
|
+
password: {
|
|
9220
|
+
type: "string"
|
|
9221
|
+
},
|
|
9222
|
+
createdAt: {
|
|
9223
|
+
type: "string",
|
|
9224
|
+
format: "datetime"
|
|
9225
|
+
}
|
|
9226
|
+
}
|
|
9227
|
+
}
|
|
9228
|
+
}
|
|
9229
|
+
},
|
|
9064
9230
|
ComAtprotoServerCreateInviteCode: {
|
|
9065
9231
|
lexicon: 1,
|
|
9066
9232
|
id: "com.atproto.server.createInviteCode",
|
|
@@ -9119,9 +9285,12 @@ var schemaDict = {
|
|
|
9119
9285
|
useCount: {
|
|
9120
9286
|
type: "integer"
|
|
9121
9287
|
},
|
|
9122
|
-
|
|
9123
|
-
type: "
|
|
9124
|
-
|
|
9288
|
+
forAccounts: {
|
|
9289
|
+
type: "array",
|
|
9290
|
+
items: {
|
|
9291
|
+
type: "string",
|
|
9292
|
+
format: "did"
|
|
9293
|
+
}
|
|
9125
9294
|
}
|
|
9126
9295
|
}
|
|
9127
9296
|
}
|
|
@@ -9135,12 +9304,28 @@ var schemaDict = {
|
|
|
9135
9304
|
codes: {
|
|
9136
9305
|
type: "array",
|
|
9137
9306
|
items: {
|
|
9138
|
-
type: "
|
|
9307
|
+
type: "ref",
|
|
9308
|
+
ref: "lex:com.atproto.server.createInviteCodes#accountCodes"
|
|
9139
9309
|
}
|
|
9140
9310
|
}
|
|
9141
9311
|
}
|
|
9142
9312
|
}
|
|
9143
9313
|
}
|
|
9314
|
+
},
|
|
9315
|
+
accountCodes: {
|
|
9316
|
+
type: "object",
|
|
9317
|
+
required: ["account", "codes"],
|
|
9318
|
+
properties: {
|
|
9319
|
+
account: {
|
|
9320
|
+
type: "string"
|
|
9321
|
+
},
|
|
9322
|
+
codes: {
|
|
9323
|
+
type: "array",
|
|
9324
|
+
items: {
|
|
9325
|
+
type: "string"
|
|
9326
|
+
}
|
|
9327
|
+
}
|
|
9328
|
+
}
|
|
9144
9329
|
}
|
|
9145
9330
|
}
|
|
9146
9331
|
},
|
|
@@ -9425,6 +9610,50 @@ var schemaDict = {
|
|
|
9425
9610
|
}
|
|
9426
9611
|
}
|
|
9427
9612
|
},
|
|
9613
|
+
ComAtprotoServerListAppPasswords: {
|
|
9614
|
+
lexicon: 1,
|
|
9615
|
+
id: "com.atproto.server.listAppPasswords",
|
|
9616
|
+
defs: {
|
|
9617
|
+
main: {
|
|
9618
|
+
type: "query",
|
|
9619
|
+
description: "List all app-specific passwords.",
|
|
9620
|
+
output: {
|
|
9621
|
+
encoding: "application/json",
|
|
9622
|
+
schema: {
|
|
9623
|
+
type: "object",
|
|
9624
|
+
required: ["passwords"],
|
|
9625
|
+
properties: {
|
|
9626
|
+
passwords: {
|
|
9627
|
+
type: "array",
|
|
9628
|
+
items: {
|
|
9629
|
+
type: "ref",
|
|
9630
|
+
ref: "lex:com.atproto.server.listAppPasswords#appPassword"
|
|
9631
|
+
}
|
|
9632
|
+
}
|
|
9633
|
+
}
|
|
9634
|
+
}
|
|
9635
|
+
},
|
|
9636
|
+
errors: [
|
|
9637
|
+
{
|
|
9638
|
+
name: "AccountTakedown"
|
|
9639
|
+
}
|
|
9640
|
+
]
|
|
9641
|
+
},
|
|
9642
|
+
appPassword: {
|
|
9643
|
+
type: "object",
|
|
9644
|
+
required: ["name", "createdAt"],
|
|
9645
|
+
properties: {
|
|
9646
|
+
name: {
|
|
9647
|
+
type: "string"
|
|
9648
|
+
},
|
|
9649
|
+
createdAt: {
|
|
9650
|
+
type: "string",
|
|
9651
|
+
format: "datetime"
|
|
9652
|
+
}
|
|
9653
|
+
}
|
|
9654
|
+
}
|
|
9655
|
+
}
|
|
9656
|
+
},
|
|
9428
9657
|
ComAtprotoServerRefreshSession: {
|
|
9429
9658
|
lexicon: 1,
|
|
9430
9659
|
id: "com.atproto.server.refreshSession",
|
|
@@ -9528,6 +9757,28 @@ var schemaDict = {
|
|
|
9528
9757
|
}
|
|
9529
9758
|
}
|
|
9530
9759
|
},
|
|
9760
|
+
ComAtprotoServerRevokeAppPassword: {
|
|
9761
|
+
lexicon: 1,
|
|
9762
|
+
id: "com.atproto.server.revokeAppPassword",
|
|
9763
|
+
defs: {
|
|
9764
|
+
main: {
|
|
9765
|
+
type: "procedure",
|
|
9766
|
+
description: "Revoke an app-specific password by name.",
|
|
9767
|
+
input: {
|
|
9768
|
+
encoding: "application/json",
|
|
9769
|
+
schema: {
|
|
9770
|
+
type: "object",
|
|
9771
|
+
required: ["name"],
|
|
9772
|
+
properties: {
|
|
9773
|
+
name: {
|
|
9774
|
+
type: "string"
|
|
9775
|
+
}
|
|
9776
|
+
}
|
|
9777
|
+
}
|
|
9778
|
+
}
|
|
9779
|
+
}
|
|
9780
|
+
}
|
|
9781
|
+
},
|
|
9531
9782
|
ComAtprotoSyncGetBlob: {
|
|
9532
9783
|
lexicon: 1,
|
|
9533
9784
|
id: "com.atproto.sync.getBlob",
|
|
@@ -9758,7 +10009,7 @@ var schemaDict = {
|
|
|
9758
10009
|
latest: {
|
|
9759
10010
|
type: "string",
|
|
9760
10011
|
format: "cid",
|
|
9761
|
-
description: "The latest commit
|
|
10012
|
+
description: "The latest commit in the commit range (inclusive)"
|
|
9762
10013
|
}
|
|
9763
10014
|
}
|
|
9764
10015
|
},
|
|
@@ -11052,6 +11303,46 @@ var schemaDict = {
|
|
|
11052
11303
|
}
|
|
11053
11304
|
}
|
|
11054
11305
|
},
|
|
11306
|
+
AppBskyFeedGetPosts: {
|
|
11307
|
+
lexicon: 1,
|
|
11308
|
+
id: "app.bsky.feed.getPosts",
|
|
11309
|
+
defs: {
|
|
11310
|
+
main: {
|
|
11311
|
+
type: "query",
|
|
11312
|
+
description: "A view of an actor's feed.",
|
|
11313
|
+
parameters: {
|
|
11314
|
+
type: "params",
|
|
11315
|
+
required: ["uris"],
|
|
11316
|
+
properties: {
|
|
11317
|
+
uris: {
|
|
11318
|
+
type: "array",
|
|
11319
|
+
items: {
|
|
11320
|
+
type: "string",
|
|
11321
|
+
format: "at-uri"
|
|
11322
|
+
},
|
|
11323
|
+
maxLength: 25
|
|
11324
|
+
}
|
|
11325
|
+
}
|
|
11326
|
+
},
|
|
11327
|
+
output: {
|
|
11328
|
+
encoding: "application/json",
|
|
11329
|
+
schema: {
|
|
11330
|
+
type: "object",
|
|
11331
|
+
required: ["posts"],
|
|
11332
|
+
properties: {
|
|
11333
|
+
posts: {
|
|
11334
|
+
type: "array",
|
|
11335
|
+
items: {
|
|
11336
|
+
type: "ref",
|
|
11337
|
+
ref: "lex:app.bsky.feed.defs#postView"
|
|
11338
|
+
}
|
|
11339
|
+
}
|
|
11340
|
+
}
|
|
11341
|
+
}
|
|
11342
|
+
}
|
|
11343
|
+
}
|
|
11344
|
+
}
|
|
11345
|
+
},
|
|
11055
11346
|
AppBskyFeedGetRepostedBy: {
|
|
11056
11347
|
lexicon: 1,
|
|
11057
11348
|
id: "app.bsky.feed.getRepostedBy",
|
|
@@ -11529,6 +11820,15 @@ var schemaDict = {
|
|
|
11529
11820
|
defs: {
|
|
11530
11821
|
main: {
|
|
11531
11822
|
type: "query",
|
|
11823
|
+
parameters: {
|
|
11824
|
+
type: "params",
|
|
11825
|
+
properties: {
|
|
11826
|
+
seenAt: {
|
|
11827
|
+
type: "string",
|
|
11828
|
+
format: "datetime"
|
|
11829
|
+
}
|
|
11830
|
+
}
|
|
11831
|
+
},
|
|
11532
11832
|
output: {
|
|
11533
11833
|
encoding: "application/json",
|
|
11534
11834
|
schema: {
|
|
@@ -11561,6 +11861,10 @@ var schemaDict = {
|
|
|
11561
11861
|
},
|
|
11562
11862
|
cursor: {
|
|
11563
11863
|
type: "string"
|
|
11864
|
+
},
|
|
11865
|
+
seenAt: {
|
|
11866
|
+
type: "string",
|
|
11867
|
+
format: "datetime"
|
|
11564
11868
|
}
|
|
11565
11869
|
}
|
|
11566
11870
|
},
|
|
@@ -11918,12 +12222,23 @@ function toKnownErr12(e) {
|
|
|
11918
12222
|
return e;
|
|
11919
12223
|
}
|
|
11920
12224
|
|
|
12225
|
+
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
12226
|
+
var updateAccountEmail_exports = {};
|
|
12227
|
+
__export(updateAccountEmail_exports, {
|
|
12228
|
+
toKnownErr: () => toKnownErr13
|
|
12229
|
+
});
|
|
12230
|
+
function toKnownErr13(e) {
|
|
12231
|
+
if (e instanceof XRPCError) {
|
|
12232
|
+
}
|
|
12233
|
+
return e;
|
|
12234
|
+
}
|
|
12235
|
+
|
|
11921
12236
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
11922
12237
|
var updateAccountHandle_exports = {};
|
|
11923
12238
|
__export(updateAccountHandle_exports, {
|
|
11924
|
-
toKnownErr: () =>
|
|
12239
|
+
toKnownErr: () => toKnownErr14
|
|
11925
12240
|
});
|
|
11926
|
-
function
|
|
12241
|
+
function toKnownErr14(e) {
|
|
11927
12242
|
if (e instanceof XRPCError) {
|
|
11928
12243
|
}
|
|
11929
12244
|
return e;
|
|
@@ -11932,9 +12247,9 @@ function toKnownErr13(e) {
|
|
|
11932
12247
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
11933
12248
|
var resolveHandle_exports = {};
|
|
11934
12249
|
__export(resolveHandle_exports, {
|
|
11935
|
-
toKnownErr: () =>
|
|
12250
|
+
toKnownErr: () => toKnownErr15
|
|
11936
12251
|
});
|
|
11937
|
-
function
|
|
12252
|
+
function toKnownErr15(e) {
|
|
11938
12253
|
if (e instanceof XRPCError) {
|
|
11939
12254
|
}
|
|
11940
12255
|
return e;
|
|
@@ -11943,9 +12258,9 @@ function toKnownErr14(e) {
|
|
|
11943
12258
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
11944
12259
|
var updateHandle_exports = {};
|
|
11945
12260
|
__export(updateHandle_exports, {
|
|
11946
|
-
toKnownErr: () =>
|
|
12261
|
+
toKnownErr: () => toKnownErr16
|
|
11947
12262
|
});
|
|
11948
|
-
function
|
|
12263
|
+
function toKnownErr16(e) {
|
|
11949
12264
|
if (e instanceof XRPCError) {
|
|
11950
12265
|
}
|
|
11951
12266
|
return e;
|
|
@@ -11954,9 +12269,9 @@ function toKnownErr15(e) {
|
|
|
11954
12269
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
11955
12270
|
var queryLabels_exports = {};
|
|
11956
12271
|
__export(queryLabels_exports, {
|
|
11957
|
-
toKnownErr: () =>
|
|
12272
|
+
toKnownErr: () => toKnownErr17
|
|
11958
12273
|
});
|
|
11959
|
-
function
|
|
12274
|
+
function toKnownErr17(e) {
|
|
11960
12275
|
if (e instanceof XRPCError) {
|
|
11961
12276
|
}
|
|
11962
12277
|
return e;
|
|
@@ -11965,9 +12280,9 @@ function toKnownErr16(e) {
|
|
|
11965
12280
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
11966
12281
|
var createReport_exports = {};
|
|
11967
12282
|
__export(createReport_exports, {
|
|
11968
|
-
toKnownErr: () =>
|
|
12283
|
+
toKnownErr: () => toKnownErr18
|
|
11969
12284
|
});
|
|
11970
|
-
function
|
|
12285
|
+
function toKnownErr18(e) {
|
|
11971
12286
|
if (e instanceof XRPCError) {
|
|
11972
12287
|
}
|
|
11973
12288
|
return e;
|
|
@@ -11980,7 +12295,7 @@ __export(applyWrites_exports, {
|
|
|
11980
12295
|
isCreate: () => isCreate,
|
|
11981
12296
|
isDelete: () => isDelete,
|
|
11982
12297
|
isUpdate: () => isUpdate,
|
|
11983
|
-
toKnownErr: () =>
|
|
12298
|
+
toKnownErr: () => toKnownErr19,
|
|
11984
12299
|
validateCreate: () => validateCreate,
|
|
11985
12300
|
validateDelete: () => validateDelete,
|
|
11986
12301
|
validateUpdate: () => validateUpdate
|
|
@@ -12000,7 +12315,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
12000
12315
|
super(src2.status, src2.error, src2.message);
|
|
12001
12316
|
}
|
|
12002
12317
|
};
|
|
12003
|
-
function
|
|
12318
|
+
function toKnownErr19(e) {
|
|
12004
12319
|
if (e instanceof XRPCError) {
|
|
12005
12320
|
if (e.error === "InvalidSwap")
|
|
12006
12321
|
return new InvalidSwapError(e);
|
|
@@ -12030,14 +12345,14 @@ function validateDelete(v) {
|
|
|
12030
12345
|
var createRecord_exports = {};
|
|
12031
12346
|
__export(createRecord_exports, {
|
|
12032
12347
|
InvalidSwapError: () => InvalidSwapError2,
|
|
12033
|
-
toKnownErr: () =>
|
|
12348
|
+
toKnownErr: () => toKnownErr20
|
|
12034
12349
|
});
|
|
12035
12350
|
var InvalidSwapError2 = class extends XRPCError {
|
|
12036
12351
|
constructor(src2) {
|
|
12037
12352
|
super(src2.status, src2.error, src2.message);
|
|
12038
12353
|
}
|
|
12039
12354
|
};
|
|
12040
|
-
function
|
|
12355
|
+
function toKnownErr20(e) {
|
|
12041
12356
|
if (e instanceof XRPCError) {
|
|
12042
12357
|
if (e.error === "InvalidSwap")
|
|
12043
12358
|
return new InvalidSwapError2(e);
|
|
@@ -12049,14 +12364,14 @@ function toKnownErr19(e) {
|
|
|
12049
12364
|
var deleteRecord_exports = {};
|
|
12050
12365
|
__export(deleteRecord_exports, {
|
|
12051
12366
|
InvalidSwapError: () => InvalidSwapError3,
|
|
12052
|
-
toKnownErr: () =>
|
|
12367
|
+
toKnownErr: () => toKnownErr21
|
|
12053
12368
|
});
|
|
12054
12369
|
var InvalidSwapError3 = class extends XRPCError {
|
|
12055
12370
|
constructor(src2) {
|
|
12056
12371
|
super(src2.status, src2.error, src2.message);
|
|
12057
12372
|
}
|
|
12058
12373
|
};
|
|
12059
|
-
function
|
|
12374
|
+
function toKnownErr21(e) {
|
|
12060
12375
|
if (e instanceof XRPCError) {
|
|
12061
12376
|
if (e.error === "InvalidSwap")
|
|
12062
12377
|
return new InvalidSwapError3(e);
|
|
@@ -12067,9 +12382,9 @@ function toKnownErr20(e) {
|
|
|
12067
12382
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
12068
12383
|
var describeRepo_exports = {};
|
|
12069
12384
|
__export(describeRepo_exports, {
|
|
12070
|
-
toKnownErr: () =>
|
|
12385
|
+
toKnownErr: () => toKnownErr22
|
|
12071
12386
|
});
|
|
12072
|
-
function
|
|
12387
|
+
function toKnownErr22(e) {
|
|
12073
12388
|
if (e instanceof XRPCError) {
|
|
12074
12389
|
}
|
|
12075
12390
|
return e;
|
|
@@ -12078,9 +12393,9 @@ function toKnownErr21(e) {
|
|
|
12078
12393
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
12079
12394
|
var getRecord_exports2 = {};
|
|
12080
12395
|
__export(getRecord_exports2, {
|
|
12081
|
-
toKnownErr: () =>
|
|
12396
|
+
toKnownErr: () => toKnownErr23
|
|
12082
12397
|
});
|
|
12083
|
-
function
|
|
12398
|
+
function toKnownErr23(e) {
|
|
12084
12399
|
if (e instanceof XRPCError) {
|
|
12085
12400
|
}
|
|
12086
12401
|
return e;
|
|
@@ -12090,10 +12405,10 @@ function toKnownErr22(e) {
|
|
|
12090
12405
|
var listRecords_exports = {};
|
|
12091
12406
|
__export(listRecords_exports, {
|
|
12092
12407
|
isRecord: () => isRecord,
|
|
12093
|
-
toKnownErr: () =>
|
|
12408
|
+
toKnownErr: () => toKnownErr24,
|
|
12094
12409
|
validateRecord: () => validateRecord
|
|
12095
12410
|
});
|
|
12096
|
-
function
|
|
12411
|
+
function toKnownErr24(e) {
|
|
12097
12412
|
if (e instanceof XRPCError) {
|
|
12098
12413
|
}
|
|
12099
12414
|
return e;
|
|
@@ -12109,14 +12424,14 @@ function validateRecord(v) {
|
|
|
12109
12424
|
var putRecord_exports = {};
|
|
12110
12425
|
__export(putRecord_exports, {
|
|
12111
12426
|
InvalidSwapError: () => InvalidSwapError4,
|
|
12112
|
-
toKnownErr: () =>
|
|
12427
|
+
toKnownErr: () => toKnownErr25
|
|
12113
12428
|
});
|
|
12114
12429
|
var InvalidSwapError4 = class extends XRPCError {
|
|
12115
12430
|
constructor(src2) {
|
|
12116
12431
|
super(src2.status, src2.error, src2.message);
|
|
12117
12432
|
}
|
|
12118
12433
|
};
|
|
12119
|
-
function
|
|
12434
|
+
function toKnownErr25(e) {
|
|
12120
12435
|
if (e instanceof XRPCError) {
|
|
12121
12436
|
if (e.error === "InvalidSwap")
|
|
12122
12437
|
return new InvalidSwapError4(e);
|
|
@@ -12127,9 +12442,9 @@ function toKnownErr24(e) {
|
|
|
12127
12442
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
12128
12443
|
var uploadBlob_exports = {};
|
|
12129
12444
|
__export(uploadBlob_exports, {
|
|
12130
|
-
toKnownErr: () =>
|
|
12445
|
+
toKnownErr: () => toKnownErr26
|
|
12131
12446
|
});
|
|
12132
|
-
function
|
|
12447
|
+
function toKnownErr26(e) {
|
|
12133
12448
|
if (e instanceof XRPCError) {
|
|
12134
12449
|
}
|
|
12135
12450
|
return e;
|
|
@@ -12143,7 +12458,7 @@ __export(createAccount_exports, {
|
|
|
12143
12458
|
InvalidInviteCodeError: () => InvalidInviteCodeError,
|
|
12144
12459
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
12145
12460
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
12146
|
-
toKnownErr: () =>
|
|
12461
|
+
toKnownErr: () => toKnownErr27
|
|
12147
12462
|
});
|
|
12148
12463
|
var InvalidHandleError2 = class extends XRPCError {
|
|
12149
12464
|
constructor(src2) {
|
|
@@ -12170,7 +12485,7 @@ var UnsupportedDomainError = class extends XRPCError {
|
|
|
12170
12485
|
super(src2.status, src2.error, src2.message);
|
|
12171
12486
|
}
|
|
12172
12487
|
};
|
|
12173
|
-
function
|
|
12488
|
+
function toKnownErr27(e) {
|
|
12174
12489
|
if (e instanceof XRPCError) {
|
|
12175
12490
|
if (e.error === "InvalidHandle")
|
|
12176
12491
|
return new InvalidHandleError2(e);
|
|
@@ -12186,12 +12501,42 @@ function toKnownErr26(e) {
|
|
|
12186
12501
|
return e;
|
|
12187
12502
|
}
|
|
12188
12503
|
|
|
12504
|
+
// src/client/types/com/atproto/server/createAppPassword.ts
|
|
12505
|
+
var createAppPassword_exports = {};
|
|
12506
|
+
__export(createAppPassword_exports, {
|
|
12507
|
+
AccountTakedownError: () => AccountTakedownError,
|
|
12508
|
+
isAppPassword: () => isAppPassword,
|
|
12509
|
+
toKnownErr: () => toKnownErr28,
|
|
12510
|
+
validateAppPassword: () => validateAppPassword
|
|
12511
|
+
});
|
|
12512
|
+
var AccountTakedownError = class extends XRPCError {
|
|
12513
|
+
constructor(src2) {
|
|
12514
|
+
super(src2.status, src2.error, src2.message);
|
|
12515
|
+
}
|
|
12516
|
+
};
|
|
12517
|
+
function toKnownErr28(e) {
|
|
12518
|
+
if (e instanceof XRPCError) {
|
|
12519
|
+
if (e.error === "AccountTakedown")
|
|
12520
|
+
return new AccountTakedownError(e);
|
|
12521
|
+
}
|
|
12522
|
+
return e;
|
|
12523
|
+
}
|
|
12524
|
+
function isAppPassword(v) {
|
|
12525
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.server.createAppPassword#appPassword";
|
|
12526
|
+
}
|
|
12527
|
+
function validateAppPassword(v) {
|
|
12528
|
+
return lexicons.validate(
|
|
12529
|
+
"com.atproto.server.createAppPassword#appPassword",
|
|
12530
|
+
v
|
|
12531
|
+
);
|
|
12532
|
+
}
|
|
12533
|
+
|
|
12189
12534
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
12190
12535
|
var createInviteCode_exports = {};
|
|
12191
12536
|
__export(createInviteCode_exports, {
|
|
12192
|
-
toKnownErr: () =>
|
|
12537
|
+
toKnownErr: () => toKnownErr29
|
|
12193
12538
|
});
|
|
12194
|
-
function
|
|
12539
|
+
function toKnownErr29(e) {
|
|
12195
12540
|
if (e instanceof XRPCError) {
|
|
12196
12541
|
}
|
|
12197
12542
|
return e;
|
|
@@ -12200,29 +12545,40 @@ function toKnownErr27(e) {
|
|
|
12200
12545
|
// src/client/types/com/atproto/server/createInviteCodes.ts
|
|
12201
12546
|
var createInviteCodes_exports = {};
|
|
12202
12547
|
__export(createInviteCodes_exports, {
|
|
12203
|
-
|
|
12548
|
+
isAccountCodes: () => isAccountCodes,
|
|
12549
|
+
toKnownErr: () => toKnownErr30,
|
|
12550
|
+
validateAccountCodes: () => validateAccountCodes
|
|
12204
12551
|
});
|
|
12205
|
-
function
|
|
12552
|
+
function toKnownErr30(e) {
|
|
12206
12553
|
if (e instanceof XRPCError) {
|
|
12207
12554
|
}
|
|
12208
12555
|
return e;
|
|
12209
12556
|
}
|
|
12557
|
+
function isAccountCodes(v) {
|
|
12558
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.server.createInviteCodes#accountCodes";
|
|
12559
|
+
}
|
|
12560
|
+
function validateAccountCodes(v) {
|
|
12561
|
+
return lexicons.validate(
|
|
12562
|
+
"com.atproto.server.createInviteCodes#accountCodes",
|
|
12563
|
+
v
|
|
12564
|
+
);
|
|
12565
|
+
}
|
|
12210
12566
|
|
|
12211
12567
|
// src/client/types/com/atproto/server/createSession.ts
|
|
12212
12568
|
var createSession_exports = {};
|
|
12213
12569
|
__export(createSession_exports, {
|
|
12214
|
-
AccountTakedownError: () =>
|
|
12215
|
-
toKnownErr: () =>
|
|
12570
|
+
AccountTakedownError: () => AccountTakedownError2,
|
|
12571
|
+
toKnownErr: () => toKnownErr31
|
|
12216
12572
|
});
|
|
12217
|
-
var
|
|
12573
|
+
var AccountTakedownError2 = class extends XRPCError {
|
|
12218
12574
|
constructor(src2) {
|
|
12219
12575
|
super(src2.status, src2.error, src2.message);
|
|
12220
12576
|
}
|
|
12221
12577
|
};
|
|
12222
|
-
function
|
|
12578
|
+
function toKnownErr31(e) {
|
|
12223
12579
|
if (e instanceof XRPCError) {
|
|
12224
12580
|
if (e.error === "AccountTakedown")
|
|
12225
|
-
return new
|
|
12581
|
+
return new AccountTakedownError2(e);
|
|
12226
12582
|
}
|
|
12227
12583
|
return e;
|
|
12228
12584
|
}
|
|
@@ -12232,7 +12588,7 @@ var deleteAccount_exports = {};
|
|
|
12232
12588
|
__export(deleteAccount_exports, {
|
|
12233
12589
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
12234
12590
|
InvalidTokenError: () => InvalidTokenError,
|
|
12235
|
-
toKnownErr: () =>
|
|
12591
|
+
toKnownErr: () => toKnownErr32
|
|
12236
12592
|
});
|
|
12237
12593
|
var ExpiredTokenError = class extends XRPCError {
|
|
12238
12594
|
constructor(src2) {
|
|
@@ -12244,7 +12600,7 @@ var InvalidTokenError = class extends XRPCError {
|
|
|
12244
12600
|
super(src2.status, src2.error, src2.message);
|
|
12245
12601
|
}
|
|
12246
12602
|
};
|
|
12247
|
-
function
|
|
12603
|
+
function toKnownErr32(e) {
|
|
12248
12604
|
if (e instanceof XRPCError) {
|
|
12249
12605
|
if (e.error === "ExpiredToken")
|
|
12250
12606
|
return new ExpiredTokenError(e);
|
|
@@ -12257,9 +12613,9 @@ function toKnownErr30(e) {
|
|
|
12257
12613
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
12258
12614
|
var deleteSession_exports = {};
|
|
12259
12615
|
__export(deleteSession_exports, {
|
|
12260
|
-
toKnownErr: () =>
|
|
12616
|
+
toKnownErr: () => toKnownErr33
|
|
12261
12617
|
});
|
|
12262
|
-
function
|
|
12618
|
+
function toKnownErr33(e) {
|
|
12263
12619
|
if (e instanceof XRPCError) {
|
|
12264
12620
|
}
|
|
12265
12621
|
return e;
|
|
@@ -12269,10 +12625,10 @@ function toKnownErr31(e) {
|
|
|
12269
12625
|
var describeServer_exports = {};
|
|
12270
12626
|
__export(describeServer_exports, {
|
|
12271
12627
|
isLinks: () => isLinks,
|
|
12272
|
-
toKnownErr: () =>
|
|
12628
|
+
toKnownErr: () => toKnownErr34,
|
|
12273
12629
|
validateLinks: () => validateLinks
|
|
12274
12630
|
});
|
|
12275
|
-
function
|
|
12631
|
+
function toKnownErr34(e) {
|
|
12276
12632
|
if (e instanceof XRPCError) {
|
|
12277
12633
|
}
|
|
12278
12634
|
return e;
|
|
@@ -12288,14 +12644,14 @@ function validateLinks(v) {
|
|
|
12288
12644
|
var getAccountInviteCodes_exports = {};
|
|
12289
12645
|
__export(getAccountInviteCodes_exports, {
|
|
12290
12646
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
12291
|
-
toKnownErr: () =>
|
|
12647
|
+
toKnownErr: () => toKnownErr35
|
|
12292
12648
|
});
|
|
12293
12649
|
var DuplicateCreateError = class extends XRPCError {
|
|
12294
12650
|
constructor(src2) {
|
|
12295
12651
|
super(src2.status, src2.error, src2.message);
|
|
12296
12652
|
}
|
|
12297
12653
|
};
|
|
12298
|
-
function
|
|
12654
|
+
function toKnownErr35(e) {
|
|
12299
12655
|
if (e instanceof XRPCError) {
|
|
12300
12656
|
if (e.error === "DuplicateCreate")
|
|
12301
12657
|
return new DuplicateCreateError(e);
|
|
@@ -12306,29 +12662,56 @@ function toKnownErr33(e) {
|
|
|
12306
12662
|
// src/client/types/com/atproto/server/getSession.ts
|
|
12307
12663
|
var getSession_exports = {};
|
|
12308
12664
|
__export(getSession_exports, {
|
|
12309
|
-
toKnownErr: () =>
|
|
12665
|
+
toKnownErr: () => toKnownErr36
|
|
12310
12666
|
});
|
|
12311
|
-
function
|
|
12667
|
+
function toKnownErr36(e) {
|
|
12312
12668
|
if (e instanceof XRPCError) {
|
|
12313
12669
|
}
|
|
12314
12670
|
return e;
|
|
12315
12671
|
}
|
|
12316
12672
|
|
|
12673
|
+
// src/client/types/com/atproto/server/listAppPasswords.ts
|
|
12674
|
+
var listAppPasswords_exports = {};
|
|
12675
|
+
__export(listAppPasswords_exports, {
|
|
12676
|
+
AccountTakedownError: () => AccountTakedownError3,
|
|
12677
|
+
isAppPassword: () => isAppPassword2,
|
|
12678
|
+
toKnownErr: () => toKnownErr37,
|
|
12679
|
+
validateAppPassword: () => validateAppPassword2
|
|
12680
|
+
});
|
|
12681
|
+
var AccountTakedownError3 = class extends XRPCError {
|
|
12682
|
+
constructor(src2) {
|
|
12683
|
+
super(src2.status, src2.error, src2.message);
|
|
12684
|
+
}
|
|
12685
|
+
};
|
|
12686
|
+
function toKnownErr37(e) {
|
|
12687
|
+
if (e instanceof XRPCError) {
|
|
12688
|
+
if (e.error === "AccountTakedown")
|
|
12689
|
+
return new AccountTakedownError3(e);
|
|
12690
|
+
}
|
|
12691
|
+
return e;
|
|
12692
|
+
}
|
|
12693
|
+
function isAppPassword2(v) {
|
|
12694
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.server.listAppPasswords#appPassword";
|
|
12695
|
+
}
|
|
12696
|
+
function validateAppPassword2(v) {
|
|
12697
|
+
return lexicons.validate("com.atproto.server.listAppPasswords#appPassword", v);
|
|
12698
|
+
}
|
|
12699
|
+
|
|
12317
12700
|
// src/client/types/com/atproto/server/refreshSession.ts
|
|
12318
12701
|
var refreshSession_exports = {};
|
|
12319
12702
|
__export(refreshSession_exports, {
|
|
12320
|
-
AccountTakedownError: () =>
|
|
12321
|
-
toKnownErr: () =>
|
|
12703
|
+
AccountTakedownError: () => AccountTakedownError4,
|
|
12704
|
+
toKnownErr: () => toKnownErr38
|
|
12322
12705
|
});
|
|
12323
|
-
var
|
|
12706
|
+
var AccountTakedownError4 = class extends XRPCError {
|
|
12324
12707
|
constructor(src2) {
|
|
12325
12708
|
super(src2.status, src2.error, src2.message);
|
|
12326
12709
|
}
|
|
12327
12710
|
};
|
|
12328
|
-
function
|
|
12711
|
+
function toKnownErr38(e) {
|
|
12329
12712
|
if (e instanceof XRPCError) {
|
|
12330
12713
|
if (e.error === "AccountTakedown")
|
|
12331
|
-
return new
|
|
12714
|
+
return new AccountTakedownError4(e);
|
|
12332
12715
|
}
|
|
12333
12716
|
return e;
|
|
12334
12717
|
}
|
|
@@ -12336,9 +12719,9 @@ function toKnownErr35(e) {
|
|
|
12336
12719
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
12337
12720
|
var requestAccountDelete_exports = {};
|
|
12338
12721
|
__export(requestAccountDelete_exports, {
|
|
12339
|
-
toKnownErr: () =>
|
|
12722
|
+
toKnownErr: () => toKnownErr39
|
|
12340
12723
|
});
|
|
12341
|
-
function
|
|
12724
|
+
function toKnownErr39(e) {
|
|
12342
12725
|
if (e instanceof XRPCError) {
|
|
12343
12726
|
}
|
|
12344
12727
|
return e;
|
|
@@ -12347,9 +12730,9 @@ function toKnownErr36(e) {
|
|
|
12347
12730
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
12348
12731
|
var requestPasswordReset_exports = {};
|
|
12349
12732
|
__export(requestPasswordReset_exports, {
|
|
12350
|
-
toKnownErr: () =>
|
|
12733
|
+
toKnownErr: () => toKnownErr40
|
|
12351
12734
|
});
|
|
12352
|
-
function
|
|
12735
|
+
function toKnownErr40(e) {
|
|
12353
12736
|
if (e instanceof XRPCError) {
|
|
12354
12737
|
}
|
|
12355
12738
|
return e;
|
|
@@ -12360,7 +12743,7 @@ var resetPassword_exports = {};
|
|
|
12360
12743
|
__export(resetPassword_exports, {
|
|
12361
12744
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
12362
12745
|
InvalidTokenError: () => InvalidTokenError2,
|
|
12363
|
-
toKnownErr: () =>
|
|
12746
|
+
toKnownErr: () => toKnownErr41
|
|
12364
12747
|
});
|
|
12365
12748
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
12366
12749
|
constructor(src2) {
|
|
@@ -12372,7 +12755,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
12372
12755
|
super(src2.status, src2.error, src2.message);
|
|
12373
12756
|
}
|
|
12374
12757
|
};
|
|
12375
|
-
function
|
|
12758
|
+
function toKnownErr41(e) {
|
|
12376
12759
|
if (e instanceof XRPCError) {
|
|
12377
12760
|
if (e.error === "ExpiredToken")
|
|
12378
12761
|
return new ExpiredTokenError2(e);
|
|
@@ -12382,12 +12765,23 @@ function toKnownErr38(e) {
|
|
|
12382
12765
|
return e;
|
|
12383
12766
|
}
|
|
12384
12767
|
|
|
12768
|
+
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
12769
|
+
var revokeAppPassword_exports = {};
|
|
12770
|
+
__export(revokeAppPassword_exports, {
|
|
12771
|
+
toKnownErr: () => toKnownErr42
|
|
12772
|
+
});
|
|
12773
|
+
function toKnownErr42(e) {
|
|
12774
|
+
if (e instanceof XRPCError) {
|
|
12775
|
+
}
|
|
12776
|
+
return e;
|
|
12777
|
+
}
|
|
12778
|
+
|
|
12385
12779
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
12386
12780
|
var getBlob_exports = {};
|
|
12387
12781
|
__export(getBlob_exports, {
|
|
12388
|
-
toKnownErr: () =>
|
|
12782
|
+
toKnownErr: () => toKnownErr43
|
|
12389
12783
|
});
|
|
12390
|
-
function
|
|
12784
|
+
function toKnownErr43(e) {
|
|
12391
12785
|
if (e instanceof XRPCError) {
|
|
12392
12786
|
}
|
|
12393
12787
|
return e;
|
|
@@ -12396,9 +12790,9 @@ function toKnownErr39(e) {
|
|
|
12396
12790
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
12397
12791
|
var getBlocks_exports = {};
|
|
12398
12792
|
__export(getBlocks_exports, {
|
|
12399
|
-
toKnownErr: () =>
|
|
12793
|
+
toKnownErr: () => toKnownErr44
|
|
12400
12794
|
});
|
|
12401
|
-
function
|
|
12795
|
+
function toKnownErr44(e) {
|
|
12402
12796
|
if (e instanceof XRPCError) {
|
|
12403
12797
|
}
|
|
12404
12798
|
return e;
|
|
@@ -12407,9 +12801,9 @@ function toKnownErr40(e) {
|
|
|
12407
12801
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
12408
12802
|
var getCheckout_exports = {};
|
|
12409
12803
|
__export(getCheckout_exports, {
|
|
12410
|
-
toKnownErr: () =>
|
|
12804
|
+
toKnownErr: () => toKnownErr45
|
|
12411
12805
|
});
|
|
12412
|
-
function
|
|
12806
|
+
function toKnownErr45(e) {
|
|
12413
12807
|
if (e instanceof XRPCError) {
|
|
12414
12808
|
}
|
|
12415
12809
|
return e;
|
|
@@ -12418,9 +12812,9 @@ function toKnownErr41(e) {
|
|
|
12418
12812
|
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
12419
12813
|
var getCommitPath_exports = {};
|
|
12420
12814
|
__export(getCommitPath_exports, {
|
|
12421
|
-
toKnownErr: () =>
|
|
12815
|
+
toKnownErr: () => toKnownErr46
|
|
12422
12816
|
});
|
|
12423
|
-
function
|
|
12817
|
+
function toKnownErr46(e) {
|
|
12424
12818
|
if (e instanceof XRPCError) {
|
|
12425
12819
|
}
|
|
12426
12820
|
return e;
|
|
@@ -12429,9 +12823,9 @@ function toKnownErr42(e) {
|
|
|
12429
12823
|
// src/client/types/com/atproto/sync/getHead.ts
|
|
12430
12824
|
var getHead_exports = {};
|
|
12431
12825
|
__export(getHead_exports, {
|
|
12432
|
-
toKnownErr: () =>
|
|
12826
|
+
toKnownErr: () => toKnownErr47
|
|
12433
12827
|
});
|
|
12434
|
-
function
|
|
12828
|
+
function toKnownErr47(e) {
|
|
12435
12829
|
if (e instanceof XRPCError) {
|
|
12436
12830
|
}
|
|
12437
12831
|
return e;
|
|
@@ -12440,9 +12834,9 @@ function toKnownErr43(e) {
|
|
|
12440
12834
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
12441
12835
|
var getRecord_exports3 = {};
|
|
12442
12836
|
__export(getRecord_exports3, {
|
|
12443
|
-
toKnownErr: () =>
|
|
12837
|
+
toKnownErr: () => toKnownErr48
|
|
12444
12838
|
});
|
|
12445
|
-
function
|
|
12839
|
+
function toKnownErr48(e) {
|
|
12446
12840
|
if (e instanceof XRPCError) {
|
|
12447
12841
|
}
|
|
12448
12842
|
return e;
|
|
@@ -12451,9 +12845,9 @@ function toKnownErr44(e) {
|
|
|
12451
12845
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
12452
12846
|
var getRepo_exports2 = {};
|
|
12453
12847
|
__export(getRepo_exports2, {
|
|
12454
|
-
toKnownErr: () =>
|
|
12848
|
+
toKnownErr: () => toKnownErr49
|
|
12455
12849
|
});
|
|
12456
|
-
function
|
|
12850
|
+
function toKnownErr49(e) {
|
|
12457
12851
|
if (e instanceof XRPCError) {
|
|
12458
12852
|
}
|
|
12459
12853
|
return e;
|
|
@@ -12462,9 +12856,9 @@ function toKnownErr45(e) {
|
|
|
12462
12856
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
12463
12857
|
var listBlobs_exports = {};
|
|
12464
12858
|
__export(listBlobs_exports, {
|
|
12465
|
-
toKnownErr: () =>
|
|
12859
|
+
toKnownErr: () => toKnownErr50
|
|
12466
12860
|
});
|
|
12467
|
-
function
|
|
12861
|
+
function toKnownErr50(e) {
|
|
12468
12862
|
if (e instanceof XRPCError) {
|
|
12469
12863
|
}
|
|
12470
12864
|
return e;
|
|
@@ -12474,10 +12868,10 @@ function toKnownErr46(e) {
|
|
|
12474
12868
|
var listRepos_exports = {};
|
|
12475
12869
|
__export(listRepos_exports, {
|
|
12476
12870
|
isRepo: () => isRepo,
|
|
12477
|
-
toKnownErr: () =>
|
|
12871
|
+
toKnownErr: () => toKnownErr51,
|
|
12478
12872
|
validateRepo: () => validateRepo
|
|
12479
12873
|
});
|
|
12480
|
-
function
|
|
12874
|
+
function toKnownErr51(e) {
|
|
12481
12875
|
if (e instanceof XRPCError) {
|
|
12482
12876
|
}
|
|
12483
12877
|
return e;
|
|
@@ -12492,9 +12886,9 @@ function validateRepo(v) {
|
|
|
12492
12886
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
12493
12887
|
var notifyOfUpdate_exports = {};
|
|
12494
12888
|
__export(notifyOfUpdate_exports, {
|
|
12495
|
-
toKnownErr: () =>
|
|
12889
|
+
toKnownErr: () => toKnownErr52
|
|
12496
12890
|
});
|
|
12497
|
-
function
|
|
12891
|
+
function toKnownErr52(e) {
|
|
12498
12892
|
if (e instanceof XRPCError) {
|
|
12499
12893
|
}
|
|
12500
12894
|
return e;
|
|
@@ -12503,9 +12897,9 @@ function toKnownErr48(e) {
|
|
|
12503
12897
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
12504
12898
|
var requestCrawl_exports = {};
|
|
12505
12899
|
__export(requestCrawl_exports, {
|
|
12506
|
-
toKnownErr: () =>
|
|
12900
|
+
toKnownErr: () => toKnownErr53
|
|
12507
12901
|
});
|
|
12508
|
-
function
|
|
12902
|
+
function toKnownErr53(e) {
|
|
12509
12903
|
if (e instanceof XRPCError) {
|
|
12510
12904
|
}
|
|
12511
12905
|
return e;
|
|
@@ -12514,9 +12908,9 @@ function toKnownErr49(e) {
|
|
|
12514
12908
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
12515
12909
|
var getProfile_exports = {};
|
|
12516
12910
|
__export(getProfile_exports, {
|
|
12517
|
-
toKnownErr: () =>
|
|
12911
|
+
toKnownErr: () => toKnownErr54
|
|
12518
12912
|
});
|
|
12519
|
-
function
|
|
12913
|
+
function toKnownErr54(e) {
|
|
12520
12914
|
if (e instanceof XRPCError) {
|
|
12521
12915
|
}
|
|
12522
12916
|
return e;
|
|
@@ -12525,9 +12919,9 @@ function toKnownErr50(e) {
|
|
|
12525
12919
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
12526
12920
|
var getProfiles_exports = {};
|
|
12527
12921
|
__export(getProfiles_exports, {
|
|
12528
|
-
toKnownErr: () =>
|
|
12922
|
+
toKnownErr: () => toKnownErr55
|
|
12529
12923
|
});
|
|
12530
|
-
function
|
|
12924
|
+
function toKnownErr55(e) {
|
|
12531
12925
|
if (e instanceof XRPCError) {
|
|
12532
12926
|
}
|
|
12533
12927
|
return e;
|
|
@@ -12536,9 +12930,9 @@ function toKnownErr51(e) {
|
|
|
12536
12930
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
12537
12931
|
var getSuggestions_exports = {};
|
|
12538
12932
|
__export(getSuggestions_exports, {
|
|
12539
|
-
toKnownErr: () =>
|
|
12933
|
+
toKnownErr: () => toKnownErr56
|
|
12540
12934
|
});
|
|
12541
|
-
function
|
|
12935
|
+
function toKnownErr56(e) {
|
|
12542
12936
|
if (e instanceof XRPCError) {
|
|
12543
12937
|
}
|
|
12544
12938
|
return e;
|
|
@@ -12547,9 +12941,9 @@ function toKnownErr52(e) {
|
|
|
12547
12941
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
12548
12942
|
var searchActors_exports = {};
|
|
12549
12943
|
__export(searchActors_exports, {
|
|
12550
|
-
toKnownErr: () =>
|
|
12944
|
+
toKnownErr: () => toKnownErr57
|
|
12551
12945
|
});
|
|
12552
|
-
function
|
|
12946
|
+
function toKnownErr57(e) {
|
|
12553
12947
|
if (e instanceof XRPCError) {
|
|
12554
12948
|
}
|
|
12555
12949
|
return e;
|
|
@@ -12558,9 +12952,9 @@ function toKnownErr53(e) {
|
|
|
12558
12952
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
12559
12953
|
var searchActorsTypeahead_exports = {};
|
|
12560
12954
|
__export(searchActorsTypeahead_exports, {
|
|
12561
|
-
toKnownErr: () =>
|
|
12955
|
+
toKnownErr: () => toKnownErr58
|
|
12562
12956
|
});
|
|
12563
|
-
function
|
|
12957
|
+
function toKnownErr58(e) {
|
|
12564
12958
|
if (e instanceof XRPCError) {
|
|
12565
12959
|
}
|
|
12566
12960
|
return e;
|
|
@@ -12569,9 +12963,9 @@ function toKnownErr54(e) {
|
|
|
12569
12963
|
// src/client/types/app/bsky/feed/getAuthorFeed.ts
|
|
12570
12964
|
var getAuthorFeed_exports = {};
|
|
12571
12965
|
__export(getAuthorFeed_exports, {
|
|
12572
|
-
toKnownErr: () =>
|
|
12966
|
+
toKnownErr: () => toKnownErr59
|
|
12573
12967
|
});
|
|
12574
|
-
function
|
|
12968
|
+
function toKnownErr59(e) {
|
|
12575
12969
|
if (e instanceof XRPCError) {
|
|
12576
12970
|
}
|
|
12577
12971
|
return e;
|
|
@@ -12581,10 +12975,10 @@ function toKnownErr55(e) {
|
|
|
12581
12975
|
var getLikes_exports = {};
|
|
12582
12976
|
__export(getLikes_exports, {
|
|
12583
12977
|
isLike: () => isLike,
|
|
12584
|
-
toKnownErr: () =>
|
|
12978
|
+
toKnownErr: () => toKnownErr60,
|
|
12585
12979
|
validateLike: () => validateLike
|
|
12586
12980
|
});
|
|
12587
|
-
function
|
|
12981
|
+
function toKnownErr60(e) {
|
|
12588
12982
|
if (e instanceof XRPCError) {
|
|
12589
12983
|
}
|
|
12590
12984
|
return e;
|
|
@@ -12600,14 +12994,14 @@ function validateLike(v) {
|
|
|
12600
12994
|
var getPostThread_exports = {};
|
|
12601
12995
|
__export(getPostThread_exports, {
|
|
12602
12996
|
NotFoundError: () => NotFoundError,
|
|
12603
|
-
toKnownErr: () =>
|
|
12997
|
+
toKnownErr: () => toKnownErr61
|
|
12604
12998
|
});
|
|
12605
12999
|
var NotFoundError = class extends XRPCError {
|
|
12606
13000
|
constructor(src2) {
|
|
12607
13001
|
super(src2.status, src2.error, src2.message);
|
|
12608
13002
|
}
|
|
12609
13003
|
};
|
|
12610
|
-
function
|
|
13004
|
+
function toKnownErr61(e) {
|
|
12611
13005
|
if (e instanceof XRPCError) {
|
|
12612
13006
|
if (e.error === "NotFound")
|
|
12613
13007
|
return new NotFoundError(e);
|
|
@@ -12615,12 +13009,23 @@ function toKnownErr57(e) {
|
|
|
12615
13009
|
return e;
|
|
12616
13010
|
}
|
|
12617
13011
|
|
|
13012
|
+
// src/client/types/app/bsky/feed/getPosts.ts
|
|
13013
|
+
var getPosts_exports = {};
|
|
13014
|
+
__export(getPosts_exports, {
|
|
13015
|
+
toKnownErr: () => toKnownErr62
|
|
13016
|
+
});
|
|
13017
|
+
function toKnownErr62(e) {
|
|
13018
|
+
if (e instanceof XRPCError) {
|
|
13019
|
+
}
|
|
13020
|
+
return e;
|
|
13021
|
+
}
|
|
13022
|
+
|
|
12618
13023
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
12619
13024
|
var getRepostedBy_exports = {};
|
|
12620
13025
|
__export(getRepostedBy_exports, {
|
|
12621
|
-
toKnownErr: () =>
|
|
13026
|
+
toKnownErr: () => toKnownErr63
|
|
12622
13027
|
});
|
|
12623
|
-
function
|
|
13028
|
+
function toKnownErr63(e) {
|
|
12624
13029
|
if (e instanceof XRPCError) {
|
|
12625
13030
|
}
|
|
12626
13031
|
return e;
|
|
@@ -12629,9 +13034,9 @@ function toKnownErr58(e) {
|
|
|
12629
13034
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
12630
13035
|
var getTimeline_exports = {};
|
|
12631
13036
|
__export(getTimeline_exports, {
|
|
12632
|
-
toKnownErr: () =>
|
|
13037
|
+
toKnownErr: () => toKnownErr64
|
|
12633
13038
|
});
|
|
12634
|
-
function
|
|
13039
|
+
function toKnownErr64(e) {
|
|
12635
13040
|
if (e instanceof XRPCError) {
|
|
12636
13041
|
}
|
|
12637
13042
|
return e;
|
|
@@ -12640,9 +13045,9 @@ function toKnownErr59(e) {
|
|
|
12640
13045
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
12641
13046
|
var getFollowers_exports = {};
|
|
12642
13047
|
__export(getFollowers_exports, {
|
|
12643
|
-
toKnownErr: () =>
|
|
13048
|
+
toKnownErr: () => toKnownErr65
|
|
12644
13049
|
});
|
|
12645
|
-
function
|
|
13050
|
+
function toKnownErr65(e) {
|
|
12646
13051
|
if (e instanceof XRPCError) {
|
|
12647
13052
|
}
|
|
12648
13053
|
return e;
|
|
@@ -12651,9 +13056,9 @@ function toKnownErr60(e) {
|
|
|
12651
13056
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
12652
13057
|
var getFollows_exports = {};
|
|
12653
13058
|
__export(getFollows_exports, {
|
|
12654
|
-
toKnownErr: () =>
|
|
13059
|
+
toKnownErr: () => toKnownErr66
|
|
12655
13060
|
});
|
|
12656
|
-
function
|
|
13061
|
+
function toKnownErr66(e) {
|
|
12657
13062
|
if (e instanceof XRPCError) {
|
|
12658
13063
|
}
|
|
12659
13064
|
return e;
|
|
@@ -12662,9 +13067,9 @@ function toKnownErr61(e) {
|
|
|
12662
13067
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
12663
13068
|
var getMutes_exports = {};
|
|
12664
13069
|
__export(getMutes_exports, {
|
|
12665
|
-
toKnownErr: () =>
|
|
13070
|
+
toKnownErr: () => toKnownErr67
|
|
12666
13071
|
});
|
|
12667
|
-
function
|
|
13072
|
+
function toKnownErr67(e) {
|
|
12668
13073
|
if (e instanceof XRPCError) {
|
|
12669
13074
|
}
|
|
12670
13075
|
return e;
|
|
@@ -12673,9 +13078,9 @@ function toKnownErr62(e) {
|
|
|
12673
13078
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
12674
13079
|
var muteActor_exports = {};
|
|
12675
13080
|
__export(muteActor_exports, {
|
|
12676
|
-
toKnownErr: () =>
|
|
13081
|
+
toKnownErr: () => toKnownErr68
|
|
12677
13082
|
});
|
|
12678
|
-
function
|
|
13083
|
+
function toKnownErr68(e) {
|
|
12679
13084
|
if (e instanceof XRPCError) {
|
|
12680
13085
|
}
|
|
12681
13086
|
return e;
|
|
@@ -12684,9 +13089,9 @@ function toKnownErr63(e) {
|
|
|
12684
13089
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
12685
13090
|
var unmuteActor_exports = {};
|
|
12686
13091
|
__export(unmuteActor_exports, {
|
|
12687
|
-
toKnownErr: () =>
|
|
13092
|
+
toKnownErr: () => toKnownErr69
|
|
12688
13093
|
});
|
|
12689
|
-
function
|
|
13094
|
+
function toKnownErr69(e) {
|
|
12690
13095
|
if (e instanceof XRPCError) {
|
|
12691
13096
|
}
|
|
12692
13097
|
return e;
|
|
@@ -12695,9 +13100,9 @@ function toKnownErr64(e) {
|
|
|
12695
13100
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
12696
13101
|
var getUnreadCount_exports = {};
|
|
12697
13102
|
__export(getUnreadCount_exports, {
|
|
12698
|
-
toKnownErr: () =>
|
|
13103
|
+
toKnownErr: () => toKnownErr70
|
|
12699
13104
|
});
|
|
12700
|
-
function
|
|
13105
|
+
function toKnownErr70(e) {
|
|
12701
13106
|
if (e instanceof XRPCError) {
|
|
12702
13107
|
}
|
|
12703
13108
|
return e;
|
|
@@ -12707,10 +13112,10 @@ function toKnownErr65(e) {
|
|
|
12707
13112
|
var listNotifications_exports = {};
|
|
12708
13113
|
__export(listNotifications_exports, {
|
|
12709
13114
|
isNotification: () => isNotification,
|
|
12710
|
-
toKnownErr: () =>
|
|
13115
|
+
toKnownErr: () => toKnownErr71,
|
|
12711
13116
|
validateNotification: () => validateNotification
|
|
12712
13117
|
});
|
|
12713
|
-
function
|
|
13118
|
+
function toKnownErr71(e) {
|
|
12714
13119
|
if (e instanceof XRPCError) {
|
|
12715
13120
|
}
|
|
12716
13121
|
return e;
|
|
@@ -12728,9 +13133,9 @@ function validateNotification(v) {
|
|
|
12728
13133
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
12729
13134
|
var updateSeen_exports = {};
|
|
12730
13135
|
__export(updateSeen_exports, {
|
|
12731
|
-
toKnownErr: () =>
|
|
13136
|
+
toKnownErr: () => toKnownErr72
|
|
12732
13137
|
});
|
|
12733
|
-
function
|
|
13138
|
+
function toKnownErr72(e) {
|
|
12734
13139
|
if (e instanceof XRPCError) {
|
|
12735
13140
|
}
|
|
12736
13141
|
return e;
|
|
@@ -12739,9 +13144,9 @@ function toKnownErr67(e) {
|
|
|
12739
13144
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
12740
13145
|
var getPopular_exports = {};
|
|
12741
13146
|
__export(getPopular_exports, {
|
|
12742
|
-
toKnownErr: () =>
|
|
13147
|
+
toKnownErr: () => toKnownErr73
|
|
12743
13148
|
});
|
|
12744
|
-
function
|
|
13149
|
+
function toKnownErr73(e) {
|
|
12745
13150
|
if (e instanceof XRPCError) {
|
|
12746
13151
|
}
|
|
12747
13152
|
return e;
|
|
@@ -12923,10 +13328,18 @@ function validateInfo(v) {
|
|
|
12923
13328
|
// src/client/types/com/atproto/moderation/defs.ts
|
|
12924
13329
|
var defs_exports3 = {};
|
|
12925
13330
|
__export(defs_exports3, {
|
|
13331
|
+
REASONMISLEADING: () => REASONMISLEADING,
|
|
12926
13332
|
REASONOTHER: () => REASONOTHER,
|
|
12927
|
-
|
|
13333
|
+
REASONRUDE: () => REASONRUDE,
|
|
13334
|
+
REASONSEXUAL: () => REASONSEXUAL,
|
|
13335
|
+
REASONSPAM: () => REASONSPAM,
|
|
13336
|
+
REASONVIOLATION: () => REASONVIOLATION
|
|
12928
13337
|
});
|
|
12929
13338
|
var REASONSPAM = "com.atproto.moderation.defs#reasonSpam";
|
|
13339
|
+
var REASONVIOLATION = "com.atproto.moderation.defs#reasonViolation";
|
|
13340
|
+
var REASONMISLEADING = "com.atproto.moderation.defs#reasonMisleading";
|
|
13341
|
+
var REASONSEXUAL = "com.atproto.moderation.defs#reasonSexual";
|
|
13342
|
+
var REASONRUDE = "com.atproto.moderation.defs#reasonRude";
|
|
12930
13343
|
var REASONOTHER = "com.atproto.moderation.defs#reasonOther";
|
|
12931
13344
|
|
|
12932
13345
|
// src/client/types/com/atproto/repo/strongRef.ts
|
|
@@ -13380,6 +13793,10 @@ var COM_ATPROTO_ADMIN = {
|
|
|
13380
13793
|
};
|
|
13381
13794
|
var COM_ATPROTO_MODERATION = {
|
|
13382
13795
|
DefsReasonSpam: "com.atproto.moderation.defs#reasonSpam",
|
|
13796
|
+
DefsReasonViolation: "com.atproto.moderation.defs#reasonViolation",
|
|
13797
|
+
DefsReasonMisleading: "com.atproto.moderation.defs#reasonMisleading",
|
|
13798
|
+
DefsReasonSexual: "com.atproto.moderation.defs#reasonSexual",
|
|
13799
|
+
DefsReasonRude: "com.atproto.moderation.defs#reasonRude",
|
|
13383
13800
|
DefsReasonOther: "com.atproto.moderation.defs#reasonOther"
|
|
13384
13801
|
};
|
|
13385
13802
|
var AtpBaseClient = class {
|
|
@@ -13484,9 +13901,14 @@ var AdminNS = class {
|
|
|
13484
13901
|
throw toKnownErr12(e);
|
|
13485
13902
|
});
|
|
13486
13903
|
}
|
|
13904
|
+
updateAccountEmail(data, opts) {
|
|
13905
|
+
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
13906
|
+
throw toKnownErr13(e);
|
|
13907
|
+
});
|
|
13908
|
+
}
|
|
13487
13909
|
updateAccountHandle(data, opts) {
|
|
13488
13910
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
13489
|
-
throw
|
|
13911
|
+
throw toKnownErr14(e);
|
|
13490
13912
|
});
|
|
13491
13913
|
}
|
|
13492
13914
|
};
|
|
@@ -13496,12 +13918,12 @@ var IdentityNS = class {
|
|
|
13496
13918
|
}
|
|
13497
13919
|
resolveHandle(params2, opts) {
|
|
13498
13920
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
13499
|
-
throw
|
|
13921
|
+
throw toKnownErr15(e);
|
|
13500
13922
|
});
|
|
13501
13923
|
}
|
|
13502
13924
|
updateHandle(data, opts) {
|
|
13503
13925
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
13504
|
-
throw
|
|
13926
|
+
throw toKnownErr16(e);
|
|
13505
13927
|
});
|
|
13506
13928
|
}
|
|
13507
13929
|
};
|
|
@@ -13511,7 +13933,7 @@ var LabelNS = class {
|
|
|
13511
13933
|
}
|
|
13512
13934
|
queryLabels(params2, opts) {
|
|
13513
13935
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
13514
|
-
throw
|
|
13936
|
+
throw toKnownErr17(e);
|
|
13515
13937
|
});
|
|
13516
13938
|
}
|
|
13517
13939
|
};
|
|
@@ -13521,7 +13943,7 @@ var ModerationNS = class {
|
|
|
13521
13943
|
}
|
|
13522
13944
|
createReport(data, opts) {
|
|
13523
13945
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
13524
|
-
throw
|
|
13946
|
+
throw toKnownErr18(e);
|
|
13525
13947
|
});
|
|
13526
13948
|
}
|
|
13527
13949
|
};
|
|
@@ -13531,42 +13953,42 @@ var RepoNS = class {
|
|
|
13531
13953
|
}
|
|
13532
13954
|
applyWrites(data, opts) {
|
|
13533
13955
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
13534
|
-
throw
|
|
13956
|
+
throw toKnownErr19(e);
|
|
13535
13957
|
});
|
|
13536
13958
|
}
|
|
13537
13959
|
createRecord(data, opts) {
|
|
13538
13960
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
13539
|
-
throw
|
|
13961
|
+
throw toKnownErr20(e);
|
|
13540
13962
|
});
|
|
13541
13963
|
}
|
|
13542
13964
|
deleteRecord(data, opts) {
|
|
13543
13965
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
13544
|
-
throw
|
|
13966
|
+
throw toKnownErr21(e);
|
|
13545
13967
|
});
|
|
13546
13968
|
}
|
|
13547
13969
|
describeRepo(params2, opts) {
|
|
13548
13970
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
13549
|
-
throw
|
|
13971
|
+
throw toKnownErr22(e);
|
|
13550
13972
|
});
|
|
13551
13973
|
}
|
|
13552
13974
|
getRecord(params2, opts) {
|
|
13553
13975
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
13554
|
-
throw
|
|
13976
|
+
throw toKnownErr23(e);
|
|
13555
13977
|
});
|
|
13556
13978
|
}
|
|
13557
13979
|
listRecords(params2, opts) {
|
|
13558
13980
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
13559
|
-
throw
|
|
13981
|
+
throw toKnownErr24(e);
|
|
13560
13982
|
});
|
|
13561
13983
|
}
|
|
13562
13984
|
putRecord(data, opts) {
|
|
13563
13985
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
13564
|
-
throw
|
|
13986
|
+
throw toKnownErr25(e);
|
|
13565
13987
|
});
|
|
13566
13988
|
}
|
|
13567
13989
|
uploadBlob(data, opts) {
|
|
13568
13990
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
13569
|
-
throw
|
|
13991
|
+
throw toKnownErr26(e);
|
|
13570
13992
|
});
|
|
13571
13993
|
}
|
|
13572
13994
|
};
|
|
@@ -13576,67 +13998,82 @@ var ServerNS = class {
|
|
|
13576
13998
|
}
|
|
13577
13999
|
createAccount(data, opts) {
|
|
13578
14000
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
13579
|
-
throw
|
|
14001
|
+
throw toKnownErr27(e);
|
|
14002
|
+
});
|
|
14003
|
+
}
|
|
14004
|
+
createAppPassword(data, opts) {
|
|
14005
|
+
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
14006
|
+
throw toKnownErr28(e);
|
|
13580
14007
|
});
|
|
13581
14008
|
}
|
|
13582
14009
|
createInviteCode(data, opts) {
|
|
13583
14010
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
13584
|
-
throw
|
|
14011
|
+
throw toKnownErr29(e);
|
|
13585
14012
|
});
|
|
13586
14013
|
}
|
|
13587
14014
|
createInviteCodes(data, opts) {
|
|
13588
14015
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
13589
|
-
throw
|
|
14016
|
+
throw toKnownErr30(e);
|
|
13590
14017
|
});
|
|
13591
14018
|
}
|
|
13592
14019
|
createSession(data, opts) {
|
|
13593
14020
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
13594
|
-
throw
|
|
14021
|
+
throw toKnownErr31(e);
|
|
13595
14022
|
});
|
|
13596
14023
|
}
|
|
13597
14024
|
deleteAccount(data, opts) {
|
|
13598
14025
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
13599
|
-
throw
|
|
14026
|
+
throw toKnownErr32(e);
|
|
13600
14027
|
});
|
|
13601
14028
|
}
|
|
13602
14029
|
deleteSession(data, opts) {
|
|
13603
14030
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
13604
|
-
throw
|
|
14031
|
+
throw toKnownErr33(e);
|
|
13605
14032
|
});
|
|
13606
14033
|
}
|
|
13607
14034
|
describeServer(params2, opts) {
|
|
13608
14035
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
13609
|
-
throw
|
|
14036
|
+
throw toKnownErr34(e);
|
|
13610
14037
|
});
|
|
13611
14038
|
}
|
|
13612
14039
|
getAccountInviteCodes(params2, opts) {
|
|
13613
14040
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
13614
|
-
throw
|
|
14041
|
+
throw toKnownErr35(e);
|
|
13615
14042
|
});
|
|
13616
14043
|
}
|
|
13617
14044
|
getSession(params2, opts) {
|
|
13618
14045
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
13619
|
-
throw
|
|
14046
|
+
throw toKnownErr36(e);
|
|
14047
|
+
});
|
|
14048
|
+
}
|
|
14049
|
+
listAppPasswords(params2, opts) {
|
|
14050
|
+
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
14051
|
+
throw toKnownErr37(e);
|
|
13620
14052
|
});
|
|
13621
14053
|
}
|
|
13622
14054
|
refreshSession(data, opts) {
|
|
13623
14055
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
13624
|
-
throw
|
|
14056
|
+
throw toKnownErr38(e);
|
|
13625
14057
|
});
|
|
13626
14058
|
}
|
|
13627
14059
|
requestAccountDelete(data, opts) {
|
|
13628
14060
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
13629
|
-
throw
|
|
14061
|
+
throw toKnownErr39(e);
|
|
13630
14062
|
});
|
|
13631
14063
|
}
|
|
13632
14064
|
requestPasswordReset(data, opts) {
|
|
13633
14065
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
13634
|
-
throw
|
|
14066
|
+
throw toKnownErr40(e);
|
|
13635
14067
|
});
|
|
13636
14068
|
}
|
|
13637
14069
|
resetPassword(data, opts) {
|
|
13638
14070
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
13639
|
-
throw
|
|
14071
|
+
throw toKnownErr41(e);
|
|
14072
|
+
});
|
|
14073
|
+
}
|
|
14074
|
+
revokeAppPassword(data, opts) {
|
|
14075
|
+
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
14076
|
+
throw toKnownErr42(e);
|
|
13640
14077
|
});
|
|
13641
14078
|
}
|
|
13642
14079
|
};
|
|
@@ -13646,57 +14083,57 @@ var SyncNS = class {
|
|
|
13646
14083
|
}
|
|
13647
14084
|
getBlob(params2, opts) {
|
|
13648
14085
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
13649
|
-
throw
|
|
14086
|
+
throw toKnownErr43(e);
|
|
13650
14087
|
});
|
|
13651
14088
|
}
|
|
13652
14089
|
getBlocks(params2, opts) {
|
|
13653
14090
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
13654
|
-
throw
|
|
14091
|
+
throw toKnownErr44(e);
|
|
13655
14092
|
});
|
|
13656
14093
|
}
|
|
13657
14094
|
getCheckout(params2, opts) {
|
|
13658
14095
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
13659
|
-
throw
|
|
14096
|
+
throw toKnownErr45(e);
|
|
13660
14097
|
});
|
|
13661
14098
|
}
|
|
13662
14099
|
getCommitPath(params2, opts) {
|
|
13663
14100
|
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
13664
|
-
throw
|
|
14101
|
+
throw toKnownErr46(e);
|
|
13665
14102
|
});
|
|
13666
14103
|
}
|
|
13667
14104
|
getHead(params2, opts) {
|
|
13668
14105
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
13669
|
-
throw
|
|
14106
|
+
throw toKnownErr47(e);
|
|
13670
14107
|
});
|
|
13671
14108
|
}
|
|
13672
14109
|
getRecord(params2, opts) {
|
|
13673
14110
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
13674
|
-
throw
|
|
14111
|
+
throw toKnownErr48(e);
|
|
13675
14112
|
});
|
|
13676
14113
|
}
|
|
13677
14114
|
getRepo(params2, opts) {
|
|
13678
14115
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
13679
|
-
throw
|
|
14116
|
+
throw toKnownErr49(e);
|
|
13680
14117
|
});
|
|
13681
14118
|
}
|
|
13682
14119
|
listBlobs(params2, opts) {
|
|
13683
14120
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
13684
|
-
throw
|
|
14121
|
+
throw toKnownErr50(e);
|
|
13685
14122
|
});
|
|
13686
14123
|
}
|
|
13687
14124
|
listRepos(params2, opts) {
|
|
13688
14125
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
13689
|
-
throw
|
|
14126
|
+
throw toKnownErr51(e);
|
|
13690
14127
|
});
|
|
13691
14128
|
}
|
|
13692
14129
|
notifyOfUpdate(params2, opts) {
|
|
13693
14130
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", params2, void 0, opts).catch((e) => {
|
|
13694
|
-
throw
|
|
14131
|
+
throw toKnownErr52(e);
|
|
13695
14132
|
});
|
|
13696
14133
|
}
|
|
13697
14134
|
requestCrawl(params2, opts) {
|
|
13698
14135
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", params2, void 0, opts).catch((e) => {
|
|
13699
|
-
throw
|
|
14136
|
+
throw toKnownErr53(e);
|
|
13700
14137
|
});
|
|
13701
14138
|
}
|
|
13702
14139
|
};
|
|
@@ -13725,27 +14162,27 @@ var ActorNS = class {
|
|
|
13725
14162
|
}
|
|
13726
14163
|
getProfile(params2, opts) {
|
|
13727
14164
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
13728
|
-
throw
|
|
14165
|
+
throw toKnownErr54(e);
|
|
13729
14166
|
});
|
|
13730
14167
|
}
|
|
13731
14168
|
getProfiles(params2, opts) {
|
|
13732
14169
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
13733
|
-
throw
|
|
14170
|
+
throw toKnownErr55(e);
|
|
13734
14171
|
});
|
|
13735
14172
|
}
|
|
13736
14173
|
getSuggestions(params2, opts) {
|
|
13737
14174
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
13738
|
-
throw
|
|
14175
|
+
throw toKnownErr56(e);
|
|
13739
14176
|
});
|
|
13740
14177
|
}
|
|
13741
14178
|
searchActors(params2, opts) {
|
|
13742
14179
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
13743
|
-
throw
|
|
14180
|
+
throw toKnownErr57(e);
|
|
13744
14181
|
});
|
|
13745
14182
|
}
|
|
13746
14183
|
searchActorsTypeahead(params2, opts) {
|
|
13747
14184
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
13748
|
-
throw
|
|
14185
|
+
throw toKnownErr58(e);
|
|
13749
14186
|
});
|
|
13750
14187
|
}
|
|
13751
14188
|
};
|
|
@@ -13800,27 +14237,32 @@ var FeedNS = class {
|
|
|
13800
14237
|
}
|
|
13801
14238
|
getAuthorFeed(params2, opts) {
|
|
13802
14239
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
13803
|
-
throw
|
|
14240
|
+
throw toKnownErr59(e);
|
|
13804
14241
|
});
|
|
13805
14242
|
}
|
|
13806
14243
|
getLikes(params2, opts) {
|
|
13807
14244
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
13808
|
-
throw
|
|
14245
|
+
throw toKnownErr60(e);
|
|
13809
14246
|
});
|
|
13810
14247
|
}
|
|
13811
14248
|
getPostThread(params2, opts) {
|
|
13812
14249
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
13813
|
-
throw
|
|
14250
|
+
throw toKnownErr61(e);
|
|
14251
|
+
});
|
|
14252
|
+
}
|
|
14253
|
+
getPosts(params2, opts) {
|
|
14254
|
+
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
14255
|
+
throw toKnownErr62(e);
|
|
13814
14256
|
});
|
|
13815
14257
|
}
|
|
13816
14258
|
getRepostedBy(params2, opts) {
|
|
13817
14259
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
13818
|
-
throw
|
|
14260
|
+
throw toKnownErr63(e);
|
|
13819
14261
|
});
|
|
13820
14262
|
}
|
|
13821
14263
|
getTimeline(params2, opts) {
|
|
13822
14264
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
13823
|
-
throw
|
|
14265
|
+
throw toKnownErr64(e);
|
|
13824
14266
|
});
|
|
13825
14267
|
}
|
|
13826
14268
|
};
|
|
@@ -13942,27 +14384,27 @@ var GraphNS = class {
|
|
|
13942
14384
|
}
|
|
13943
14385
|
getFollowers(params2, opts) {
|
|
13944
14386
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
13945
|
-
throw
|
|
14387
|
+
throw toKnownErr65(e);
|
|
13946
14388
|
});
|
|
13947
14389
|
}
|
|
13948
14390
|
getFollows(params2, opts) {
|
|
13949
14391
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
13950
|
-
throw
|
|
14392
|
+
throw toKnownErr66(e);
|
|
13951
14393
|
});
|
|
13952
14394
|
}
|
|
13953
14395
|
getMutes(params2, opts) {
|
|
13954
14396
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
13955
|
-
throw
|
|
14397
|
+
throw toKnownErr67(e);
|
|
13956
14398
|
});
|
|
13957
14399
|
}
|
|
13958
14400
|
muteActor(data, opts) {
|
|
13959
14401
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
13960
|
-
throw
|
|
14402
|
+
throw toKnownErr68(e);
|
|
13961
14403
|
});
|
|
13962
14404
|
}
|
|
13963
14405
|
unmuteActor(data, opts) {
|
|
13964
14406
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
13965
|
-
throw
|
|
14407
|
+
throw toKnownErr69(e);
|
|
13966
14408
|
});
|
|
13967
14409
|
}
|
|
13968
14410
|
};
|
|
@@ -14009,17 +14451,17 @@ var NotificationNS = class {
|
|
|
14009
14451
|
}
|
|
14010
14452
|
getUnreadCount(params2, opts) {
|
|
14011
14453
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
14012
|
-
throw
|
|
14454
|
+
throw toKnownErr70(e);
|
|
14013
14455
|
});
|
|
14014
14456
|
}
|
|
14015
14457
|
listNotifications(params2, opts) {
|
|
14016
14458
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
14017
|
-
throw
|
|
14459
|
+
throw toKnownErr71(e);
|
|
14018
14460
|
});
|
|
14019
14461
|
}
|
|
14020
14462
|
updateSeen(data, opts) {
|
|
14021
14463
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
14022
|
-
throw
|
|
14464
|
+
throw toKnownErr72(e);
|
|
14023
14465
|
});
|
|
14024
14466
|
}
|
|
14025
14467
|
};
|
|
@@ -14034,7 +14476,7 @@ var UnspeccedNS = class {
|
|
|
14034
14476
|
}
|
|
14035
14477
|
getPopular(params2, opts) {
|
|
14036
14478
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
14037
|
-
throw
|
|
14479
|
+
throw toKnownErr73(e);
|
|
14038
14480
|
});
|
|
14039
14481
|
}
|
|
14040
14482
|
};
|